var Bu=e=>{throw TypeError(e)};var bi=(e,t,n)=>t.has(e)||Bu("Cannot "+n);var k=(e,t,n)=>(bi(e,t,"read from private field"),n?n.call(e):t.get(e)),Z=(e,t,n)=>t.has(e)?Bu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),U=(e,t,n,r)=>(bi(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),je=(e,t,n)=>(bi(e,t,"access private method"),n);var Ea=(e,t,n,r)=>({set _(o){U(e,t,o,n)},get _(){return k(e,t,r)}});function Cy(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 a of o)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();function Qf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Kf={exports:{}},qs={},Gf={exports:{}},K={};/** * @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 ua=Symbol.for("react.element"),Ey=Symbol.for("react.portal"),Sy=Symbol.for("react.fragment"),Py=Symbol.for("react.strict_mode"),ky=Symbol.for("react.profiler"),Ny=Symbol.for("react.provider"),jy=Symbol.for("react.context"),Ry=Symbol.for("react.forward_ref"),Ty=Symbol.for("react.suspense"),Ay=Symbol.for("react.memo"),zy=Symbol.for("react.lazy"),Vu=Symbol.iterator;function Oy(e){return e===null||typeof e!="object"?null:(e=Vu&&e[Vu]||e["@@iterator"],typeof e=="function"?e:null)}var Yf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xf=Object.assign,Zf={};function oo(e,t,n){this.props=e,this.context=t,this.refs=Zf,this.updater=n||Yf}oo.prototype.isReactComponent={};oo.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")};oo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Jf(){}Jf.prototype=oo.prototype;function mc(e,t,n){this.props=e,this.context=t,this.refs=Zf,this.updater=n||Yf}var hc=mc.prototype=new Jf;hc.constructor=mc;Xf(hc,oo.prototype);hc.isPureReactComponent=!0;var Wu=Array.isArray,ep=Object.prototype.hasOwnProperty,gc={current:null},tp={key:!0,ref:!0,__self:!0,__source:!0};function np(e,t,n){var r,o={},a=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(a=""+t.key),t)ep.call(t,r)&&!tp.hasOwnProperty(r)&&(o[r]=t[r]);var i=arguments.length-2;if(i===1)o.children=n;else if(1>>1,D=N[V];if(0>>1;Vo(ge,L))Neo(J,ge)?(N[V]=J,N[Ne]=L,V=Ne):(N[V]=ge,N[Y]=L,V=Y);else if(Neo(J,L))N[V]=J,N[Ne]=L,V=Ne;else break e}}return j}function o(N,j){var L=N.sortIndex-j.sortIndex;return L!==0?L:N.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,i=s.now();e.unstable_now=function(){return s.now()-i}}var l=[],c=[],d=1,f=null,h=3,p=!1,b=!1,v=!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 y(N){for(var j=n(c);j!==null;){if(j.callback===null)r(c);else if(j.startTime<=N)r(c),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(c)}}function C(N){if(v=!1,y(N),!b)if(n(l)!==null)b=!0,q(E);else{var j=n(c);j!==null&&B(C,j.startTime-N)}}function E(N,j){b=!1,v&&(v=!1,g(R),R=-1),p=!0;var L=h;try{for(y(j),f=n(l);f!==null&&(!(f.expirationTime>j)||N&&!F());){var V=f.callback;if(typeof V=="function"){f.callback=null,h=f.priorityLevel;var D=V(f.expirationTime<=j);j=e.unstable_now(),typeof D=="function"?f.callback=D:f===n(l)&&r(l),y(j)}else r(l);f=n(l)}if(f!==null)var Q=!0;else{var Y=n(c);Y!==null&&B(C,Y.startTime-j),Q=!1}return Q}finally{f=null,h=L,p=!1}}var S=!1,P=null,R=-1,O=5,z=-1;function F(){return!(e.unstable_now()-zN||125V?(N.sortIndex=L,t(c,N),n(l)===null&&N===n(c)&&(v?(g(R),R=-1):v=!0,B(C,L-V))):(N.sortIndex=D,t(l,N),b||p||(b=!0,q(E))),N},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(N){var j=h;return function(){var L=h;h=j;try{return N.apply(this,arguments)}finally{h=L}}}})(ip);sp.exports=ip;var Vy=sp.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 Wy=x,Xe=Vy;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"),nl=Object.prototype.hasOwnProperty,Hy=/^[: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]*$/,Qu={},Ku={};function Qy(e){return nl.call(Ku,e)?!0:nl.call(Qu,e)?!1:Hy.test(e)?Ku[e]=!0:(Qu[e]=!0,!1)}function Ky(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 Gy(e,t,n,r){if(t===null||typeof t>"u"||Ky(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 Fe(e,t,n,r,o,a,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ke[e]=new Fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ke[t]=new Fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ke[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ke[e]=new Fe(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){ke[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ke[e]=new Fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ke[e]=new Fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ke[e]=new Fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ke[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var xc=/[\-:]([a-z])/g;function wc(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(xc,wc);ke[t]=new Fe(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(xc,wc);ke[t]=new Fe(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(xc,wc);ke[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ke[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)});ke.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ke[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function bc(e,t,n,r){var o=ke.hasOwnProperty(t)?ke[t]:null;(o!==null?o.type!==0:r||!(2i||o[s]!==a[i]){var l=` `+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=i);break}}}finally{Si=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Po(e):""}function Yy(e){switch(e.tag){case 5:return Po(e.type);case 16:return Po("Lazy");case 13:return Po("Suspense");case 19:return Po("SuspenseList");case 0:case 2:case 15:return e=Pi(e.type,!1),e;case 11:return e=Pi(e.type.render,!1),e;case 1:return e=Pi(e.type,!0),e;default:return""}}function sl(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 br:return"Fragment";case wr:return"Portal";case rl:return"Profiler";case Cc:return"StrictMode";case ol:return"Suspense";case al:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case up:return(e.displayName||"Context")+".Consumer";case cp:return(e._context.displayName||"Context")+".Provider";case Ec:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sc:return t=e.displayName||null,t!==null?t:sl(e.type)||"Memo";case fn:t=e._payload,e=e._init;try{return sl(e(t))}catch{}}return null}function Xy(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 sl(t);case 8:return t===Cc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function On(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Zy(e){var t=fp(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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,a.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ka(e){e._valueTracker||(e._valueTracker=Zy(e))}function pp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=fp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ls(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 il(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Yu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=On(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function mp(e,t){t=t.checked,t!=null&&bc(e,"checked",t,!1)}function ll(e,t){mp(e,t);var n=On(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?cl(e,t.type,n):t.hasOwnProperty("defaultValue")&&cl(e,t.type,On(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Xu(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 cl(e,t,n){(t!=="number"||ls(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ko=Array.isArray;function Or(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Na.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function qo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ro={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},Jy=["Webkit","ms","Moz","O"];Object.keys(Ro).forEach(function(e){Jy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ro[t]=Ro[e]})});function vp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ro.hasOwnProperty(e)&&Ro[e]?(""+t).trim():t+"px"}function xp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=vp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var ev=ue({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 fl(e,t){if(t){if(ev[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 pl(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 ml=null;function Pc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hl=null,_r=null,Lr=null;function ed(e){if(e=pa(e)){if(typeof hl!="function")throw Error(A(280));var t=e.stateNode;t&&(t=Ws(t),hl(e.stateNode,e.type,t))}}function wp(e){_r?Lr?Lr.push(e):Lr=[e]:_r=e}function bp(){if(_r){var e=_r,t=Lr;if(Lr=_r=null,ed(e),t)for(e=0;e>>=0,e===0?32:31-(dv(e)/fv|0)|0}var ja=64,Ra=4194304;function No(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 fs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,s=n&268435455;if(s!==0){var i=s&~o;i!==0?r=No(i):(a&=s,a!==0&&(r=No(a)))}else s=n&~o,s!==0?r=No(s):a!==0&&(r=No(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,a=t&-t,o>=a||o===16&&(a&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 da(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-wt(t),e[t]=n}function gv(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=Ao),cd=" ",ud=!1;function $p(e,t){switch(e){case"keyup":return Vv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Up(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Cr=!1;function Hv(e,t){switch(e){case"compositionend":return Up(t);case"keypress":return t.which!==32?null:(ud=!0,cd);case"textInput":return e=t.data,e===cd&&ud?null:e;default:return null}}function Qv(e,t){if(Cr)return e==="compositionend"||!Oc&&$p(e,t)?(e=Fp(),Ga=Tc=bn=null,Cr=!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=md(n)}}function Hp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qp(){for(var e=window,t=ls();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ls(e.document)}return t}function _c(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 n0(e){var t=Qp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Hp(n.ownerDocument.documentElement,n)){if(r!==null&&_c(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,a=Math.min(r.start,o);r=r.end===void 0?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=hd(n,a);var s=hd(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Er=null,bl=null,Oo=null,Cl=!1;function gd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Cl||Er==null||Er!==ls(r)||(r=Er,"selectionStart"in r&&_c(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}),Oo&&Ho(Oo,r)||(Oo=r,r=hs(bl,"onSelect"),0kr||(e.current=jl[kr],jl[kr]=null,kr--)}function ne(e,t){kr++,jl[kr]=e.current,e.current=t}var _n={},Oe=Fn(_n),Be=Fn(!1),or=_n;function Yr(e,t){var n=e.type.contextTypes;if(!n)return _n;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ve(e){return e=e.childContextTypes,e!=null}function ys(){ae(Be),ae(Oe)}function Ed(e,t,n){if(Oe.current!==_n)throw Error(A(168));ne(Oe,t),ne(Be,n)}function nm(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,Xy(e)||"Unknown",o));return ue({},n,r)}function vs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_n,or=Oe.current,ne(Oe,e),ne(Be,Be.current),!0}function Sd(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=nm(e,t,or),r.__reactInternalMemoizedMergedChildContext=e,ae(Be),ae(Oe),ne(Oe,e)):ae(Be),ne(Be,n)}var Bt=null,Hs=!1,Fi=!1;function rm(e){Bt===null?Bt=[e]:Bt.push(e)}function m0(e){Hs=!0,rm(e)}function qn(){if(!Fi&&Bt!==null){Fi=!0;var e=0,t=ee;try{var n=Bt;for(ee=1;e>=s,o-=s,Wt=1<<32-wt(t)+o|n<R?(O=P,P=null):O=P.sibling;var z=h(g,P,y[R],C);if(z===null){P===null&&(P=O);break}e&&P&&z.alternate===null&&t(g,P),m=a(z,m,R),S===null?E=z:S.sibling=z,S=z,P=O}if(R===y.length)return n(g,P),ie&&Wn(g,R),E;if(P===null){for(;RR?(O=P,P=null):O=P.sibling;var F=h(g,P,z.value,C);if(F===null){P===null&&(P=O);break}e&&P&&F.alternate===null&&t(g,P),m=a(F,m,R),S===null?E=F:S.sibling=F,S=F,P=O}if(z.done)return n(g,P),ie&&Wn(g,R),E;if(P===null){for(;!z.done;R++,z=y.next())z=f(g,z.value,C),z!==null&&(m=a(z,m,R),S===null?E=z:S.sibling=z,S=z);return ie&&Wn(g,R),E}for(P=r(g,P);!z.done;R++,z=y.next())z=p(P,g,R,z.value,C),z!==null&&(e&&z.alternate!==null&&P.delete(z.key===null?R:z.key),m=a(z,m,R),S===null?E=z:S.sibling=z,S=z);return e&&P.forEach(function(M){return t(g,M)}),ie&&Wn(g,R),E}function w(g,m,y,C){if(typeof y=="object"&&y!==null&&y.type===br&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Pa:e:{for(var E=y.key,S=m;S!==null;){if(S.key===E){if(E=y.type,E===br){if(S.tag===7){n(g,S.sibling),m=o(S,y.props.children),m.return=g,g=m;break e}}else if(S.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===fn&&Nd(E)===S.type){n(g,S.sibling),m=o(S,y.props),m.ref=wo(g,S,y),m.return=g,g=m;break e}n(g,S);break}else t(g,S);S=S.sibling}y.type===br?(m=rr(y.props.children,g.mode,C,y.key),m.return=g,g=m):(C=rs(y.type,y.key,y.props,null,g.mode,C),C.ref=wo(g,m,y),C.return=g,g=C)}return s(g);case wr:e:{for(S=y.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(g,m.sibling),m=o(m,y.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=Qi(y,g.mode,C),m.return=g,g=m}return s(g);case fn:return S=y._init,w(g,m,S(y._payload),C)}if(ko(y))return b(g,m,y,C);if(ho(y))return v(g,m,y,C);Ia(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(g,m.sibling),m=o(m,y),m.return=g,g=m):(n(g,m),m=Hi(y,g.mode,C),m.return=g,g=m),s(g)):n(g,m)}return w}var Zr=im(!0),lm=im(!1),bs=Fn(null),Cs=null,Rr=null,Dc=null;function Fc(){Dc=Rr=Cs=null}function qc(e){var t=bs.current;ae(bs),e._currentValue=t}function Al(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 Mr(e,t){Cs=e,Dc=Rr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ue=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if(Dc!==e)if(e={context:e,memoizedValue:t,next:null},Rr===null){if(Cs===null)throw Error(A(308));Rr=e,Cs.dependencies={lanes:0,firstContext:e}}else Rr=Rr.next=e;return t}var Kn=null;function $c(e){Kn===null?Kn=[e]:Kn.push(e)}function cm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,$c(t)):(n.next=o.next,o.next=n),t.interleaved=n,Yt(e,r)}function Yt(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 pn=!1;function Uc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function um(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 Qt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jn(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,Yt(e,n)}return o=r.interleaved,o===null?(t.next=t,$c(r)):(t.next=o.next,o.next=t),r.interleaved=t,Yt(e,n)}function Xa(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,Nc(e,n)}}function jd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?o=a=s:a=a.next=s,n=n.next}while(n!==null);a===null?o=a=t:a=a.next=t}else o=a=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,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 Es(e,t,n,r){var o=e.updateQueue;pn=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,i=o.shared.pending;if(i!==null){o.shared.pending=null;var l=i,c=l.next;l.next=null,s===null?a=c:s.next=c,s=l;var d=e.alternate;d!==null&&(d=d.updateQueue,i=d.lastBaseUpdate,i!==s&&(i===null?d.firstBaseUpdate=c:i.next=c,d.lastBaseUpdate=l))}if(a!==null){var f=o.baseState;s=0,d=c=l=null,i=a;do{var h=i.lane,p=i.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var b=e,v=i;switch(h=t,p=n,v.tag){case 1:if(b=v.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=v.payload,h=typeof b=="function"?b.call(p,f,h):b,h==null)break e;f=ue({},f,h);break e;case 2:pn=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[i]:h.push(i))}else p={eventTime:p,lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},d===null?(c=d=p,l=f):d=d.next=p,s|=h;if(i=i.next,i===null){if(i=o.shared.pending,i===null)break;h=i,i=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(d===null&&(l=f),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);ir|=s,e.lanes=s,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=$i.transition;$i.transition={};try{e(!1),t()}finally{ee=n,$i.transition=r}}function Nm(){return lt().memoizedState}function v0(e,t,n){var r=Tn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},jm(e))Rm(t,n);else if(n=cm(e,t,n,r),n!==null){var o=Me();bt(n,e,r,o),Tm(n,t,r)}}function x0(e,t,n){var r=Tn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(jm(e))Rm(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,i=a(s,n);if(o.hasEagerState=!0,o.eagerState=i,Ct(i,s)){var l=t.interleaved;l===null?(o.next=o,$c(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=cm(e,t,o,r),n!==null&&(o=Me(),bt(n,e,r,o),Tm(n,t,r))}}function jm(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function Rm(e,t){_o=Ps=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Tm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Nc(e,n)}}var ks={readContext:it,useCallback:Re,useContext:Re,useEffect:Re,useImperativeHandle:Re,useInsertionEffect:Re,useLayoutEffect:Re,useMemo:Re,useReducer:Re,useRef:Re,useState:Re,useDebugValue:Re,useDeferredValue:Re,useTransition:Re,useMutableSource:Re,useSyncExternalStore:Re,useId:Re,unstable_isNewReconciler:!1},w0={readContext:it,useCallback:function(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:Ad,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ja(4194308,4,Cm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ja(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ja(4,2,e,t)},useMemo:function(e,t){var n=Nt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Nt();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=v0.bind(null,ce,e),[r.memoizedState,e]},useRef:function(e){var t=Nt();return e={current:e},t.memoizedState=e},useState:Td,useDebugValue:Yc,useDeferredValue:function(e){return Nt().memoizedState=e},useTransition:function(){var e=Td(!1),t=e[0];return e=y0.bind(null,e[1]),Nt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ce,o=Nt();if(ie){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),Ee===null)throw Error(A(349));sr&30||mm(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ad(gm.bind(null,r,a,e),[e]),r.flags|=2048,ea(9,hm.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Nt(),t=Ee.identifierPrefix;if(ie){var n=Ht,r=Wt;n=(r&~(1<<32-wt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[At]=t,e[Go]=r,qm(e,t,!1,!1),t.stateNode=e;e:{switch(s=pl(n,r),n){case"dialog":oe("cancel",e),oe("close",e),o=r;break;case"iframe":case"object":case"embed":oe("load",e),o=r;break;case"video":case"audio":for(o=0;oto&&(t.flags|=128,r=!0,bo(a,!1),t.lanes=4194304)}else{if(!r)if(e=Ss(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bo(a,!0),a.tail===null&&a.tailMode==="hidden"&&!s.alternate&&!ie)return Te(t),null}else 2*me()-a.renderingStartTime>to&&n!==1073741824&&(t.flags|=128,r=!0,bo(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(n=a.last,n!==null?n.sibling=s:t.child=s,a.last=s)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=me(),t.sibling=null,n=le.current,ne(le,r?n&1|2:n&1),t):(Te(t),null);case 22:case 23:return nu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(Te(t),t.subtreeFlags&6&&(t.flags|=8192)):Te(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function j0(e,t){switch(Ic(t),t.tag){case 1:return Ve(t.type)&&ys(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jr(),ae(Be),ae(Oe),Wc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Vc(t),null;case 13:if(ae(le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));Xr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(le),null;case 4:return Jr(),null;case 10:return qc(t.type._context),null;case 22:case 23:return nu(),null;case 24:return null;default:return null}}var Da=!1,ze=!1,R0=typeof WeakSet=="function"?WeakSet:Set,I=null;function Tr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){fe(e,t,r)}else n.current=null}function ql(e,t,n){try{n()}catch(r){fe(e,t,r)}}var Ud=!1;function T0(e,t){if(El=ps,e=Qp(),_c(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,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var s=0,i=-1,l=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(i=s+o),f!==a||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===o&&(i=s),h===a&&++d===r&&(l=s),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=i===-1||l===-1?null:{start:i,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Sl={focusedElem:e,selectionRange:n},ps=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;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 v=b.memoizedProps,w=b.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:mt(t.type,v),w);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(C){fe(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return b=Ud,Ud=!1,b}function Lo(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 a=o.destroy;o.destroy=void 0,a!==void 0&&ql(t,n,a)}o=o.next}while(o!==r)}}function Gs(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 $l(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 Bm(e){var t=e.alternate;t!==null&&(e.alternate=null,Bm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[At],delete t[Go],delete t[Nl],delete t[f0],delete t[p0])),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 Vm(e){return e.tag===5||e.tag===3||e.tag===4}function Bd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vm(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 Ul(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=gs));else if(r!==4&&(e=e.child,e!==null))for(Ul(e,t,n),e=e.sibling;e!==null;)Ul(e,t,n),e=e.sibling}function Bl(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(Bl(e,t,n),e=e.sibling;e!==null;)Bl(e,t,n),e=e.sibling}var Se=null,vt=!1;function ln(e,t,n){for(n=n.child;n!==null;)Wm(e,t,n),n=n.sibling}function Wm(e,t,n){if(Ot&&typeof Ot.onCommitFiberUnmount=="function")try{Ot.onCommitFiberUnmount($s,n)}catch{}switch(n.tag){case 5:ze||Tr(n,t);case 6:var r=Se,o=vt;Se=null,ln(e,t,n),Se=r,vt=o,Se!==null&&(vt?(e=Se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Se.removeChild(n.stateNode));break;case 18:Se!==null&&(vt?(e=Se,n=n.stateNode,e.nodeType===8?Di(e.parentNode,n):e.nodeType===1&&Di(e,n),Vo(e)):Di(Se,n.stateNode));break;case 4:r=Se,o=vt,Se=n.stateNode.containerInfo,vt=!0,ln(e,t,n),Se=r,vt=o;break;case 0:case 11:case 14:case 15:if(!ze&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var a=o,s=a.destroy;a=a.tag,s!==void 0&&(a&2||a&4)&&ql(n,t,s),o=o.next}while(o!==r)}ln(e,t,n);break;case 1:if(!ze&&(Tr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){fe(n,t,i)}ln(e,t,n);break;case 21:ln(e,t,n);break;case 22:n.mode&1?(ze=(r=ze)||n.memoizedState!==null,ln(e,t,n),ze=r):ln(e,t,n);break;default:ln(e,t,n)}}function Vd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new R0),t.forEach(function(r){var o=F0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function ft(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~a}if(r=o,r=me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*z0(r/1960))-r,10e?16:e,Cn===null)var r=!1;else{if(e=Cn,Cn=null,Rs=0,X&6)throw Error(A(331));var o=X;for(X|=4,I=e.current;I!==null;){var a=I,s=a.child;if(I.flags&16){var i=a.deletions;if(i!==null){for(var l=0;lme()-eu?nr(e,0):Jc|=n),We(e,t)}function Jm(e,t){t===0&&(e.mode&1?(t=Ra,Ra<<=1,!(Ra&130023424)&&(Ra=4194304)):t=1);var n=Me();e=Yt(e,t),e!==null&&(da(e,t,n),We(e,n))}function D0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jm(e,n)}function F0(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),Jm(e,n)}var eh;eh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Be.current)Ue=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ue=!1,k0(e,t,n);Ue=!!(e.flags&131072)}else Ue=!1,ie&&t.flags&1048576&&om(t,ws,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;es(e,t),e=t.pendingProps;var o=Yr(t,Oe.current);Mr(t,n),o=Qc(null,t,r,e,o,n);var a=Kc();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,Ve(r)?(a=!0,vs(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Uc(t),o.updater=Ks,t.stateNode=o,o._reactInternals=t,Ol(t,r,e,n),t=Il(null,t,r,!0,a,n)):(t.tag=0,ie&&a&&Lc(t),Le(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(es(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=$0(r),e=mt(r,e),o){case 0:t=Ll(null,t,r,e,n);break e;case 1:t=Fd(null,t,r,e,n);break e;case 11:t=Md(null,t,r,e,n);break e;case 14:t=Dd(null,t,r,mt(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:mt(r,o),Ll(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Fd(e,t,r,o,n);case 3:e:{if(Mm(t),e===null)throw Error(A(387));r=t.pendingProps,a=t.memoizedState,o=a.element,um(e,t),Es(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=eo(Error(A(423)),t),t=qd(e,t,r,n,o);break e}else if(r!==o){o=eo(Error(A(424)),t),t=qd(e,t,r,n,o);break e}else for(Ke=Nn(t.stateNode.containerInfo.firstChild),Ge=t,ie=!0,xt=null,n=lm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Xr(),r===o){t=Xt(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return dm(t),e===null&&Tl(t),r=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,s=o.children,Pl(r,o)?s=null:a!==null&&Pl(r,a)&&(t.flags|=32),Im(e,t),Le(e,t,s,n),t.child;case 6:return e===null&&Tl(t),null;case 13:return Dm(e,t,n);case 4:return Bc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Zr(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Md(e,t,r,o,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,ne(bs,r._currentValue),r._currentValue=s,a!==null)if(Ct(a.value,s)){if(a.children===o.children&&!Be.current){t=Xt(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var i=a.dependencies;if(i!==null){s=a.child;for(var l=i.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=Qt(-1,n&-n),l.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Al(a.return,n,t),i.lanes|=n;break}l=l.next}}else if(a.tag===10)s=a.type===t.type?null:a.child;else if(a.tag===18){if(s=a.return,s===null)throw Error(A(341));s.lanes|=n,i=s.alternate,i!==null&&(i.lanes|=n),Al(s,n,t),s=a.sibling}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===t){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}Le(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Mr(t,n),o=it(o),r=r(o),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,o=mt(r,t.pendingProps),o=mt(r.type,o),Dd(e,t,r,o,n);case 15:return _m(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),es(e,t),t.tag=1,Ve(r)?(e=!0,vs(t)):e=!1,Mr(t,n),Am(t,r,o),Ol(t,r,o,n),Il(null,t,r,!0,e,n);case 19:return Fm(e,t,n);case 22:return Lm(e,t,n)}throw Error(A(156,t.tag))};function th(e,t){return jp(e,t)}function q0(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 at(e,t,n,r){return new q0(e,t,n,r)}function ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $0(e){if(typeof e=="function")return ou(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ec)return 11;if(e===Sc)return 14}return 2}function An(e,t){var n=e.alternate;return n===null?(n=at(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 rs(e,t,n,r,o,a){var s=2;if(r=e,typeof e=="function")ou(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case br:return rr(n.children,o,a,t);case Cc:s=8,o|=8;break;case rl:return e=at(12,n,t,o|2),e.elementType=rl,e.lanes=a,e;case ol:return e=at(13,n,t,o),e.elementType=ol,e.lanes=a,e;case al:return e=at(19,n,t,o),e.elementType=al,e.lanes=a,e;case dp:return Xs(n,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case cp:s=10;break e;case up:s=9;break e;case Ec:s=11;break e;case Sc:s=14;break e;case fn:s=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=at(s,n,t,o),t.elementType=e,t.type=r,t.lanes=a,t}function rr(e,t,n,r){return e=at(7,e,r,t),e.lanes=n,e}function Xs(e,t,n,r){return e=at(22,e,r,t),e.elementType=dp,e.lanes=n,e.stateNode={isHidden:!1},e}function Hi(e,t,n){return e=at(6,e,null,t),e.lanes=n,e}function Qi(e,t,n){return t=at(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function U0(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=Ni(0),this.expirationTimes=Ni(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ni(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function au(e,t,n,r,o,a,s,i,l){return e=new U0(e,t,n,i,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=at(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Uc(a),e}function B0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ah)}catch(e){console.error(e)}}ah(),ap.exports=Je;var ha=ap.exports;const sh=Qf(ha);var ih,Zd=ha;ih=Zd.createRoot,Zd.hydrateRoot;var ni=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(){}},ri=typeof window>"u"||"Deno"in globalThis;function ht(){}function K0(e,t){return typeof e=="function"?e(t):e}function G0(e){return typeof e=="number"&&e>=0&&e!==1/0}function Y0(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Kl(e,t){return typeof e=="function"?e(t):e}function X0(e,t){return typeof e=="function"?e(t):e}function Jd(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:a,queryKey:s,stale:i}=e;if(s){if(r){if(t.queryHash!==cu(s,t.options))return!1}else if(!ra(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof i=="boolean"&&t.isStale()!==i||o&&o!==t.state.fetchStatus||a&&!a(t))}function ef(e,t){const{exact:n,status:r,predicate:o,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(na(t.options.mutationKey)!==na(a))return!1}else if(!ra(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function cu(e,t){return((t==null?void 0:t.queryKeyHashFn)||na)(e)}function na(e){return JSON.stringify(e,(t,n)=>Gl(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function ra(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ra(e[n],t[n])):!1}function lh(e,t){if(e===t)return e;const n=tf(e)&&tf(t);if(n||Gl(e)&&Gl(t)){const r=n?e:Object.keys(e),o=r.length,a=n?t:Object.keys(t),s=a.length,i=n?[]:{},l=new Set(r);let c=0;for(let d=0;d{setTimeout(t,e)})}function J0(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?lh(e,t):t}function ex(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function tx(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var uu=Symbol();function ch(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===uu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Yn,gn,$r,Ff,nx=(Ff=class extends ni{constructor(){super();Z(this,Yn);Z(this,gn);Z(this,$r);U(this,$r,t=>{if(!ri&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){k(this,gn)||this.setEventListener(k(this,$r))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,gn))==null||t.call(this),U(this,gn,void 0))}setEventListener(t){var n;U(this,$r,t),(n=k(this,gn))==null||n.call(this),U(this,gn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){k(this,Yn)!==t&&(U(this,Yn,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof k(this,Yn)=="boolean"?k(this,Yn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Yn=new WeakMap,gn=new WeakMap,$r=new WeakMap,Ff),uh=new nx,Ur,yn,Br,qf,rx=(qf=class extends ni{constructor(){super();Z(this,Ur,!0);Z(this,yn);Z(this,Br);U(this,Br,t=>{if(!ri&&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(){k(this,yn)||this.setEventListener(k(this,Br))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,yn))==null||t.call(this),U(this,yn,void 0))}setEventListener(t){var n;U(this,Br,t),(n=k(this,yn))==null||n.call(this),U(this,yn,t(this.setOnline.bind(this)))}setOnline(t){k(this,Ur)!==t&&(U(this,Ur,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return k(this,Ur)}},Ur=new WeakMap,yn=new WeakMap,Br=new WeakMap,qf),zs=new rx;function ox(){let e,t;const n=new Promise((o,a)=>{e=o,t=a});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 ax(e){return Math.min(1e3*2**e,3e4)}function dh(e){return(e??"online")==="online"?zs.isOnline():!0}var fh=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ki(e){return e instanceof fh}function ph(e){let t=!1,n=0,r=!1,o;const a=ox(),s=v=>{var w;r||(h(new fh(v)),(w=e.abort)==null||w.call(e))},i=()=>{t=!0},l=()=>{t=!1},c=()=>uh.isFocused()&&(e.networkMode==="always"||zs.isOnline())&&e.canRun(),d=()=>dh(e.networkMode)&&e.canRun(),f=v=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,v),o==null||o(),a.resolve(v))},h=v=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,v),o==null||o(),a.reject(v))},p=()=>new Promise(v=>{var w;o=g=>{(r||c())&&v(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),b=()=>{if(r)return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(g){v=Promise.reject(g)}Promise.resolve(v).then(f).catch(g=>{var S;if(r)return;const m=e.retry??(ri?0:3),y=e.retryDelay??ax,C=typeof y=="function"?y(n,g):y,E=m===!0||typeof m=="number"&&nc()?void 0:p()).then(()=>{t?h(g):b()})})};return{promise:a,cancel:s,continue:()=>(o==null||o(),a),cancelRetry:i,continueRetry:l,canStart:d,start:()=>(d()?b():p().then(b),a)}}var sx=e=>setTimeout(e,0);function ix(){let e=[],t=0,n=i=>{i()},r=i=>{i()},o=sx;const a=i=>{t?e.push(i):o(()=>{n(i)})},s=()=>{const i=e;e=[],i.length&&o(()=>{r(()=>{i.forEach(l=>{n(l)})})})};return{batch:i=>{let l;t++;try{l=i()}finally{t--,t||s()}return l},batchCalls:i=>(...l)=>{a(()=>{i(...l)})},schedule:a,setNotifyFunction:i=>{n=i},setBatchNotifyFunction:i=>{r=i},setScheduler:i=>{o=i}}}var Ie=ix(),Xn,$f,mh=($f=class{constructor(){Z(this,Xn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),G0(this.gcTime)&&U(this,Xn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ri?1/0:5*60*1e3))}clearGcTimeout(){k(this,Xn)&&(clearTimeout(k(this,Xn)),U(this,Xn,void 0))}},Xn=new WeakMap,$f),Vr,Zn,nt,Jn,Ae,la,er,gt,$t,Uf,lx=(Uf=class extends mh{constructor(t){super();Z(this,gt);Z(this,Vr);Z(this,Zn);Z(this,nt);Z(this,Jn);Z(this,Ae);Z(this,la);Z(this,er);U(this,er,!1),U(this,la,t.defaultOptions),this.setOptions(t.options),this.observers=[],U(this,Jn,t.client),U(this,nt,k(this,Jn).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,U(this,Vr,ux(this.options)),this.state=t.state??k(this,Vr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=k(this,Ae))==null?void 0:t.promise}setOptions(t){this.options={...k(this,la),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&k(this,nt).remove(this)}setData(t,n){const r=J0(this.state.data,t,this.options);return je(this,gt,$t).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){je(this,gt,$t).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=k(this,Ae))==null?void 0:r.promise;return(o=k(this,Ae))==null||o.cancel(t),n?n.then(ht).catch(ht):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(k(this,Vr))}isActive(){return this.observers.some(t=>X0(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===uu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Kl(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:!Y0(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=k(this,Ae))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=k(this,Ae))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),k(this,nt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(k(this,Ae)&&(k(this,er)?k(this,Ae).cancel({revert:!0}):k(this,Ae).cancelRetry()),this.scheduleGc()),k(this,nt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,gt,$t).call(this,{type:"invalidate"})}fetch(t,n){var c,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(k(this,Ae))return k(this,Ae).continueRetry(),k(this,Ae).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,er,!0),r.signal)})},a=()=>{const h=ch(this.options,n),b=(()=>{const v={client:k(this,Jn),queryKey:this.queryKey,meta:this.meta};return o(v),v})();return U(this,er,!1),this.options.persister?this.options.persister(h,b,this):h(b)},i=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:k(this,Jn),state:this.state,fetchFn:a};return o(h),h})();(c=this.options.behavior)==null||c.onFetch(i,this),U(this,Zn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=i.fetchOptions)==null?void 0:d.meta))&&je(this,gt,$t).call(this,{type:"fetch",meta:(f=i.fetchOptions)==null?void 0:f.meta});const l=h=>{var p,b,v,w;Ki(h)&&h.silent||je(this,gt,$t).call(this,{type:"error",error:h}),Ki(h)||((b=(p=k(this,nt).config).onError)==null||b.call(p,h,this),(w=(v=k(this,nt).config).onSettled)==null||w.call(v,this.state.data,h,this)),this.scheduleGc()};return U(this,Ae,ph({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,b,v,w;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){l(g);return}(b=(p=k(this,nt).config).onSuccess)==null||b.call(p,h,this),(w=(v=k(this,nt).config).onSettled)==null||w.call(v,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{je(this,gt,$t).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{je(this,gt,$t).call(this,{type:"pause"})},onContinue:()=>{je(this,gt,$t).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),k(this,Ae).start()}},Vr=new WeakMap,Zn=new WeakMap,nt=new WeakMap,Jn=new WeakMap,Ae=new WeakMap,la=new WeakMap,er=new WeakMap,gt=new WeakSet,$t=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,...cx(r.data,this.options),fetchMeta:t.meta??null};case"success":return U(this,Zn,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 Ki(o)&&o.revert&&k(this,Zn)?{...k(this,Zn),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),Ie.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),k(this,nt).notify({query:this,type:"updated",action:t})})},Uf);function cx(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dh(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ux(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 jt,Bf,dx=(Bf=class extends ni{constructor(t={}){super();Z(this,jt);this.config=t,U(this,jt,new Map)}build(t,n,r){const o=n.queryKey,a=n.queryHash??cu(o,n);let s=this.get(a);return s||(s=new lx({client:t,queryKey:o,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){k(this,jt).has(t.queryHash)||(k(this,jt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=k(this,jt).get(t.queryHash);n&&(t.destroy(),n===t&&k(this,jt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ie.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return k(this,jt).get(t)}getAll(){return[...k(this,jt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Jd(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Jd(t,r)):n}notify(t){Ie.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ie.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ie.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},jt=new WeakMap,Bf),Rt,_e,tr,Tt,dn,Vf,fx=(Vf=class extends mh{constructor(t){super();Z(this,Tt);Z(this,Rt);Z(this,_e);Z(this,tr);this.mutationId=t.mutationId,U(this,_e,t.mutationCache),U(this,Rt,[]),this.state=t.state||px(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){k(this,Rt).includes(t)||(k(this,Rt).push(t),this.clearGcTimeout(),k(this,_e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){U(this,Rt,k(this,Rt).filter(n=>n!==t)),this.scheduleGc(),k(this,_e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){k(this,Rt).length||(this.state.status==="pending"?this.scheduleGc():k(this,_e).remove(this))}continue(){var t;return((t=k(this,tr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,s,i,l,c,d,f,h,p,b,v,w,g,m,y,C,E,S,P,R;const n=()=>{je(this,Tt,dn).call(this,{type:"continue"})};U(this,tr,ph({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(O,z)=>{je(this,Tt,dn).call(this,{type:"failed",failureCount:O,error:z})},onPause:()=>{je(this,Tt,dn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>k(this,_e).canRun(this)}));const r=this.state.status==="pending",o=!k(this,tr).canStart();try{if(r)n();else{je(this,Tt,dn).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(a=k(this,_e).config).onMutate)==null?void 0:s.call(a,t,this));const z=await((l=(i=this.options).onMutate)==null?void 0:l.call(i,t));z!==this.state.context&&je(this,Tt,dn).call(this,{type:"pending",context:z,variables:t,isPaused:o})}const O=await k(this,tr).start();return await((d=(c=k(this,_e).config).onSuccess)==null?void 0:d.call(c,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=k(this,_e).config).onSettled)==null?void 0:b.call(p,O,null,this.state.variables,this.state.context,this)),await((w=(v=this.options).onSettled)==null?void 0:w.call(v,O,null,t,this.state.context)),je(this,Tt,dn).call(this,{type:"success",data:O}),O}catch(O){try{throw await((m=(g=k(this,_e).config).onError)==null?void 0:m.call(g,O,t,this.state.context,this)),await((C=(y=this.options).onError)==null?void 0:C.call(y,O,t,this.state.context)),await((S=(E=k(this,_e).config).onSettled)==null?void 0:S.call(E,void 0,O,this.state.variables,this.state.context,this)),await((R=(P=this.options).onSettled)==null?void 0:R.call(P,void 0,O,t,this.state.context)),O}finally{je(this,Tt,dn).call(this,{type:"error",error:O})}}finally{k(this,_e).runNext(this)}}},Rt=new WeakMap,_e=new WeakMap,tr=new WeakMap,Tt=new WeakSet,dn=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),Ie.batch(()=>{k(this,Rt).forEach(r=>{r.onMutationUpdate(t)}),k(this,_e).notify({mutation:this,type:"updated",action:t})})},Vf);function px(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Vt,yt,ca,Wf,mx=(Wf=class extends ni{constructor(t={}){super();Z(this,Vt);Z(this,yt);Z(this,ca);this.config=t,U(this,Vt,new Set),U(this,yt,new Map),U(this,ca,0)}build(t,n,r){const o=new fx({mutationCache:this,mutationId:++Ea(this,ca)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){k(this,Vt).add(t);const n=$a(t);if(typeof n=="string"){const r=k(this,yt).get(n);r?r.push(t):k(this,yt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(k(this,Vt).delete(t)){const n=$a(t);if(typeof n=="string"){const r=k(this,yt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&k(this,yt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=$a(t);if(typeof n=="string"){const r=k(this,yt).get(n),o=r==null?void 0:r.find(a=>a.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=$a(t);if(typeof n=="string"){const o=(r=k(this,yt).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ie.batch(()=>{k(this,Vt).forEach(t=>{this.notify({type:"removed",mutation:t})}),k(this,Vt).clear(),k(this,yt).clear()})}getAll(){return Array.from(k(this,Vt))}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){Ie.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ie.batch(()=>Promise.all(t.map(n=>n.continue().catch(ht))))}},Vt=new WeakMap,yt=new WeakMap,ca=new WeakMap,Wf);function $a(e){var t;return(t=e.options.scope)==null?void 0:t.id}function rf(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,a=((p=t.state.data)==null?void 0:p.pages)||[],s=((b=t.state.data)==null?void 0:b.pageParams)||[];let i={pages:[],pageParams:[]},l=0;const c=async()=>{let v=!1;const w=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},g=ch(t.options,t.fetchOptions),m=async(y,C,E)=>{if(v)return Promise.reject();if(C==null&&y.pages.length)return Promise.resolve(y);const P=(()=>{const F={client:t.client,queryKey:t.queryKey,pageParam:C,direction:E?"backward":"forward",meta:t.options.meta};return w(F),F})(),R=await g(P),{maxPages:O}=t.options,z=E?tx:ex;return{pages:z(y.pages,R,O),pageParams:z(y.pageParams,C,O)}};if(o&&a.length){const y=o==="backward",C=y?hx:of,E={pages:a,pageParams:s},S=C(r,E);i=await m(E,S,y)}else{const y=e??a.length;do{const C=l===0?s[0]??r.initialPageParam:of(r,i);if(l>0&&C==null)break;i=await m(i,C),l++}while(l{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function of(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 hx(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 de,vn,xn,Wr,Hr,wn,Qr,Kr,Hf,gx=(Hf=class{constructor(e={}){Z(this,de);Z(this,vn);Z(this,xn);Z(this,Wr);Z(this,Hr);Z(this,wn);Z(this,Qr);Z(this,Kr);U(this,de,e.queryCache||new dx),U(this,vn,e.mutationCache||new mx),U(this,xn,e.defaultOptions||{}),U(this,Wr,new Map),U(this,Hr,new Map),U(this,wn,0)}mount(){Ea(this,wn)._++,k(this,wn)===1&&(U(this,Qr,uh.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,de).onFocus())})),U(this,Kr,zs.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,de).onOnline())})))}unmount(){var e,t;Ea(this,wn)._--,k(this,wn)===0&&((e=k(this,Qr))==null||e.call(this),U(this,Qr,void 0),(t=k(this,Kr))==null||t.call(this),U(this,Kr,void 0))}isFetching(e){return k(this,de).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return k(this,vn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=k(this,de).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=k(this,de).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Kl(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return k(this,de).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=k(this,de).get(r.queryHash),a=o==null?void 0:o.state.data,s=K0(t,a);if(s!==void 0)return k(this,de).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Ie.batch(()=>k(this,de).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=k(this,de).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=k(this,de);Ie.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=k(this,de);return Ie.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ie.batch(()=>k(this,de).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(ht).catch(ht)}invalidateQueries(e,t={}){return Ie.batch(()=>(k(this,de).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=Ie.batch(()=>k(this,de).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let a=o.fetch(void 0,n);return n.throwOnError||(a=a.catch(ht)),o.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(ht)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=k(this,de).build(this,t);return n.isStaleByTime(Kl(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ht).catch(ht)}fetchInfiniteQuery(e){return e.behavior=rf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ht).catch(ht)}ensureInfiniteQueryData(e){return e.behavior=rf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return zs.isOnline()?k(this,vn).resumePausedMutations():Promise.resolve()}getQueryCache(){return k(this,de)}getMutationCache(){return k(this,vn)}getDefaultOptions(){return k(this,xn)}setDefaultOptions(e){U(this,xn,e)}setQueryDefaults(e,t){k(this,Wr).set(na(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...k(this,Wr).values()],n={};return t.forEach(r=>{ra(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){k(this,Hr).set(na(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...k(this,Hr).values()],n={};return t.forEach(r=>{ra(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...k(this,xn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=cu(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===uu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...k(this,xn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){k(this,de).clear(),k(this,vn).clear()}},de=new WeakMap,vn=new WeakMap,xn=new WeakMap,Wr=new WeakMap,Hr=new WeakMap,wn=new WeakMap,Qr=new WeakMap,Kr=new WeakMap,Hf),yx=x.createContext(void 0),vx=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),u.jsx(yx.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 oa(){return oa=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function hh(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function wx(){return Math.random().toString(36).substr(2,8)}function sf(e,t){return{usr:e.state,key:e.key,idx:t}}function Yl(e,t,n,r){return n===void 0&&(n=null),oa({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?io(t):t,{state:n,key:t&&t.key||r||wx()})}function Os(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 io(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 bx(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:a=!1}=r,s=o.history,i=En.Pop,l=null,c=d();c==null&&(c=0,s.replaceState(oa({},s.state,{idx:c}),""));function d(){return(s.state||{idx:null}).idx}function f(){i=En.Pop;let w=d(),g=w==null?null:w-c;c=w,l&&l({action:i,location:v.location,delta:g})}function h(w,g){i=En.Push;let m=Yl(v.location,w,g);c=d()+1;let y=sf(m,c),C=v.createHref(m);try{s.pushState(y,"",C)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(C)}a&&l&&l({action:i,location:v.location,delta:1})}function p(w,g){i=En.Replace;let m=Yl(v.location,w,g);c=d();let y=sf(m,c),C=v.createHref(m);s.replaceState(y,"",C),a&&l&&l({action:i,location:v.location,delta:0})}function b(w){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof w=="string"?w:Os(w);return m=m.replace(/ $/,"%20"),ve(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let v={get action(){return i},get location(){return e(o,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(af,f),l=w,()=>{o.removeEventListener(af,f),l=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 s.go(w)}};return v}var lf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(lf||(lf={}));function Cx(e,t,n){return n===void 0&&(n="/"),Ex(e,t,n,!1)}function Ex(e,t,n,r){let o=typeof t=="string"?io(t):t,a=du(o.pathname||"/",n);if(a==null)return null;let s=gh(e);Sx(s);let i=null;for(let l=0;i==null&&l{let l={relativePath:i===void 0?a.path||"":i,caseSensitive:a.caseSensitive===!0,childrenIndex:s,route:a};l.relativePath.startsWith("/")&&(ve(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=zn([r,l.relativePath]),d=n.concat(l);a.children&&a.children.length>0&&(ve(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),gh(a.children,t,d,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:Ax(c,a.index),routesMeta:d})};return e.forEach((a,s)=>{var i;if(a.path===""||!((i=a.path)!=null&&i.includes("?")))o(a,s);else for(let l of yh(a.path))o(a,s,l)}),t}function yh(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return o?[a,""]:[a];let s=yh(r.join("/")),i=[];return i.push(...s.map(l=>l===""?a:[a,l].join("/"))),o&&i.push(...s),i.map(l=>e.startsWith("/")&&l===""?"/":l)}function Sx(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:zx(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Px=/^:[\w-]+$/,kx=3,Nx=2,jx=1,Rx=10,Tx=-2,cf=e=>e==="*";function Ax(e,t){let n=e.split("/"),r=n.length;return n.some(cf)&&(r+=Tx),t&&(r+=Nx),n.filter(o=>!cf(o)).reduce((o,a)=>o+(Px.test(a)?kx:a===""?jx:Rx),r)}function zx(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 Ox(e,t,n){let{routesMeta:r}=e,o={},a="/",s=[];for(let i=0;i{let{paramName:h,isOptional:p}=d;if(h==="*"){let v=i[f]||"";s=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}const b=i[f];return p&&!b?c[h]=void 0:c[h]=(b||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:s,pattern:e}}function _x(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),hh(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,(s,i,l)=>(r.push({paramName:i,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Lx(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return hh(!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 Ix(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?io(e):e;return{pathname:n?n.startsWith("/")?n:Mx(n,t):t,search:qx(r),hash:$x(o)}}function Mx(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 Gi(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 Dx(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function vh(e,t){let n=Dx(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function xh(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=io(e):(o=oa({},e),ve(!o.pathname||!o.pathname.includes("?"),Gi("?","pathname","search",o)),ve(!o.pathname||!o.pathname.includes("#"),Gi("#","pathname","hash",o)),ve(!o.search||!o.search.includes("#"),Gi("#","search","hash",o)));let a=e===""||o.pathname==="",s=a?"/":o.pathname,i;if(s==null)i=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),f-=1;o.pathname=h.join("/")}i=f>=0?t[f]:"/"}let l=Ix(o,i),c=s&&s!=="/"&&s.endsWith("/"),d=(a||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}const zn=e=>e.join("/").replace(/\/\/+/g,"/"),Fx=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),qx=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$x=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Ux(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const wh=["post","put","patch","delete"];new Set(wh);const Bx=["get",...wh];new Set(Bx);/** * 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 aa(){return aa=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.current=!0}),x.useCallback(function(c,d){if(d===void 0&&(d={}),!i.current)return;if(typeof c=="number"){r.go(c);return}let f=xh(c,JSON.parse(s),a,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:zn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,s,a,e])}function Kx(){let{matches:e}=x.useContext($n),t=e[e.length-1];return t?t.params:{}}function Eh(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(fr),{matches:o}=x.useContext($n),{pathname:a}=ya(),s=JSON.stringify(vh(o,r.v7_relativeSplatPath));return x.useMemo(()=>xh(e,JSON.parse(s),a,n==="path"),[e,s,a,n])}function Gx(e,t){return Yx(e,t)}function Yx(e,t,n,r){ga()||ve(!1);let{navigator:o}=x.useContext(fr),{matches:a}=x.useContext($n),s=a[a.length-1],i=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let c=ya(),d;if(t){var f;let w=typeof t=="string"?io(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||ve(!1),d=w}else d=c;let h=d.pathname||"/",p=h;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=Cx(e,{pathname:p}),v=t1(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},i,w.params),pathname:zn([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:zn([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),a,n,r);return t&&v?x.createElement(oi.Provider,{value:{location:aa({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:En.Pop}},v):v}function Xx(){let e=a1(),t=Ux(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 x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const Zx=x.createElement(Xx,null);class Jx extends x.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?x.createElement($n.Provider,{value:this.props.routeContext},x.createElement(bh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function e1(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(fu);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement($n.Provider,{value:t},r)}function t1(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,i=(o=n)==null?void 0:o.errors;if(i!=null){let d=s.findIndex(f=>f.route.id&&(i==null?void 0:i[f.route.id])!==void 0);d>=0||ve(!1),s=s.slice(0,Math.min(s.length,d+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((d,f,h)=>{let p,b=!1,v=null,w=null;n&&(p=i&&f.route.id?i[f.route.id]:void 0,v=f.route.errorElement||Zx,l&&(c<0&&h===0?(b=!0,w=null):c===h&&(b=!0,w=f.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,h+1)),m=()=>{let y;return p?y=v:b?y=w:f.route.Component?y=x.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=d,x.createElement(e1,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:y})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?x.createElement(Jx,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Sh=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Sh||{}),_s=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}(_s||{});function n1(e){let t=x.useContext(fu);return t||ve(!1),t}function r1(e){let t=x.useContext(Vx);return t||ve(!1),t}function o1(e){let t=x.useContext($n);return t||ve(!1),t}function Ph(e){let t=o1(),n=t.matches[t.matches.length-1];return n.route.id||ve(!1),n.route.id}function a1(){var e;let t=x.useContext(bh),n=r1(_s.UseRouteError),r=Ph(_s.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function s1(){let{router:e}=n1(Sh.UseNavigateStable),t=Ph(_s.UseNavigateStable),n=x.useRef(!1);return Ch(()=>{n.current=!0}),x.useCallback(function(o,a){a===void 0&&(a={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,aa({fromRouteId:t},a)))},[e,t])}function i1(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function os(e){ve(!1)}function l1(e){let{basename:t="/",children:n=null,location:r,navigationType:o=En.Pop,navigator:a,static:s=!1,future:i}=e;ga()&&ve(!1);let l=t.replace(/^\/*/,"/"),c=x.useMemo(()=>({basename:l,navigator:a,static:s,future:aa({v7_relativeSplatPath:!1},i)}),[l,i,a,s]);typeof r=="string"&&(r=io(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:b="default"}=r,v=x.useMemo(()=>{let w=du(d,l);return w==null?null:{location:{pathname:w,search:f,hash:h,state:p,key:b},navigationType:o}},[l,d,f,h,p,b,o]);return v==null?null:x.createElement(fr.Provider,{value:c},x.createElement(oi.Provider,{children:n,value:v}))}function c1(e){let{children:t,location:n}=e;return Gx(Xl(t),n)}new Promise(()=>{});function Xl(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let a=[...t,o];if(r.type===x.Fragment){n.push.apply(n,Xl(r.props.children,a));return}r.type!==os&&ve(!1),!r.props.index||!r.props.children||ve(!1);let s={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Xl(r.props.children,a)),n.push(s)}),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 Zl(){return Zl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function d1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function f1(e,t){return e.button===0&&(!t||t==="_self")&&!d1(e)}const p1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],m1="6";try{window.__reactRouterVersion=m1}catch{}const h1="startTransition",df=vc[h1];function g1(e){let{basename:t,children:n,future:r,window:o}=e,a=x.useRef();a.current==null&&(a.current=xx({window:o,v5Compat:!0}));let s=a.current,[i,l]=x.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},d=x.useCallback(f=>{c&&df?df(()=>l(f)):l(f)},[l,c]);return x.useLayoutEffect(()=>s.listen(d),[s,d]),x.useEffect(()=>i1(r),[r]),x.createElement(l1,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:s,future:r})}const y1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",v1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zr=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:a,replace:s,state:i,target:l,to:c,preventScrollReset:d,viewTransition:f}=t,h=u1(t,p1),{basename:p}=x.useContext(fr),b,v=!1;if(typeof c=="string"&&v1.test(c)&&(b=c,y1))try{let y=new URL(window.location.href),C=c.startsWith("//")?new URL(y.protocol+c):new URL(c),E=du(C.pathname,p);C.origin===y.origin&&E!=null?c=E+C.search+C.hash:v=!0}catch{}let w=Wx(c,{relative:o}),g=x1(c,{replace:s,state:i,target:l,preventScrollReset:d,relative:o,viewTransition:f});function m(y){r&&r(y),y.defaultPrevented||g(y)}return x.createElement("a",Zl({},h,{href:b||w,onClick:v||a?r:m,ref:n,target:l}))});var ff;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ff||(ff={}));var pf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(pf||(pf={}));function x1(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:s,viewTransition:i}=t===void 0?{}:t,l=Hx(),c=ya(),d=Eh(e,{relative:s});return x.useCallback(f=>{if(f1(f,n)){f.preventDefault();let h=r!==void 0?r:Os(c)===Os(d);l(e,{replace:h,state:o,preventScrollReset:a,relative:s,viewTransition:i})}},[c,l,d,r,o,n,e,a,s,i])}var mf=["light","dark"],w1="(prefers-color-scheme: dark)",b1=x.createContext(void 0),C1={setTheme:e=>{},themes:[]},E1=()=>{var e;return(e=x.useContext(b1))!=null?e:C1};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:a,value:s,attrs:i,nonce:l})=>{let c=a==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${i.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?mf.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(b,v=!1,w=!0)=>{let g=s?s[b]:b,m=v?b+"|| ''":`'${g}'`,y="";return o&&w&&!v&&mf.includes(b)&&(y+=`d.style.colorScheme = '${b}';`),n==="class"?v||g?y+=`c.add(${m})`:y+="null":g&&(y+=`d[s](n,${m})`),y},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${w1}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}${c?"":"else{"+h(a,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}else{${h(a,!1,!1)};}${f}}catch(t){}}();`;return x.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var S1=e=>{switch(e){case"success":return N1;case"info":return R1;case"warning":return j1;case"error":return T1;default:return null}},P1=Array(12).fill(0),k1=({visible:e,className:t})=>T.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},T.createElement("div",{className:"sonner-spinner"},P1.map((n,r)=>T.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),N1=T.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},T.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"})),j1=T.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},T.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"})),R1=T.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},T.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"})),T1=T.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},T.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"})),A1=T.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"},T.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),T.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),z1=()=>{let[e,t]=T.useState(document.hidden);return T.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Jl=1,O1=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:Jl++,a=this.toasts.find(i=>i.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),a?this.toasts=this.toasts.map(i=>i.id===o?(this.publish({...i,...e,id:o,title:n}),{...i,...e,id:o,dismissible:s,title:n}):i):this.addToast({title:n,...r,dismissible:s,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,a,s=r.then(async l=>{if(a=["resolve",l],T.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(L1(l)&&!l.ok){o=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:c,description:d})}else if(t.success!==void 0){o=!1;let c=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:c,description:d})}}).catch(async l=>{if(a=["reject",l],t.error!==void 0){o=!1;let c=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:c,description:d})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),i=()=>new Promise((l,c)=>s.then(()=>a[0]==="reject"?c(a[1]):l(a[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:i}:Object.assign(n,{unwrap:i})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Jl++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},qe=new O1,_1=(e,t)=>{let n=(t==null?void 0:t.id)||Jl++;return qe.addToast({title:e,...t,id:n}),n},L1=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",I1=_1,M1=()=>qe.toasts,D1=()=>qe.getActiveToasts();Object.assign(I1,{success:qe.success,info:qe.info,warning:qe.warning,error:qe.error,custom:qe.custom,message:qe.message,promise:qe.promise,dismiss:qe.dismiss,loading:qe.loading},{getHistory:M1,getToasts:D1});function F1(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))}F1(`: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 Ua(e){return e.label!==void 0}var q1=3,$1="32px",U1="16px",hf=4e3,B1=356,V1=14,W1=20,H1=200;function pt(...e){return e.filter(Boolean).join(" ")}function Q1(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var K1=e=>{var t,n,r,o,a,s,i,l,c,d,f;let{invert:h,toast:p,unstyled:b,interacting:v,setHeights:w,visibleToasts:g,heights:m,index:y,toasts:C,expanded:E,removeToast:S,defaultRichColors:P,closeButton:R,style:O,cancelButtonStyle:z,actionButtonStyle:F,className:M="",descriptionClassName:H="",duration:_,position:G,gap:q,loadingIcon:B,expandByDefault:N,classNames:j,icons:L,closeButtonAriaLabel:V="Close toast",pauseWhenPageIsHidden:D}=e,[Q,Y]=T.useState(null),[ge,Ne]=T.useState(null),[J,pr]=T.useState(!1),[tn,Un]=T.useState(!1),[nn,mr]=T.useState(!1),[rn,wa]=T.useState(!1),[yi,ba]=T.useState(!1),[vi,po]=T.useState(0),[hr,Mu]=T.useState(0),mo=T.useRef(p.duration||_||hf),Du=T.useRef(null),Bn=T.useRef(null),py=y===0,my=y+1<=g,tt=p.type,gr=p.dismissible!==!1,hy=p.className||"",gy=p.descriptionClassName||"",Ca=T.useMemo(()=>m.findIndex($=>$.toastId===p.id)||0,[m,p.id]),yy=T.useMemo(()=>{var $;return($=p.closeButton)!=null?$:R},[p.closeButton,R]),Fu=T.useMemo(()=>p.duration||_||hf,[p.duration,_]),xi=T.useRef(0),yr=T.useRef(0),qu=T.useRef(0),vr=T.useRef(null),[vy,xy]=G.split("-"),$u=T.useMemo(()=>m.reduce(($,te,se)=>se>=Ca?$:$+te.height,0),[m,Ca]),Uu=z1(),wy=p.invert||h,wi=tt==="loading";yr.current=T.useMemo(()=>Ca*q+$u,[Ca,$u]),T.useEffect(()=>{mo.current=Fu},[Fu]),T.useEffect(()=>{pr(!0)},[]),T.useEffect(()=>{let $=Bn.current;if($){let te=$.getBoundingClientRect().height;return Mu(te),w(se=>[{toastId:p.id,height:te,position:p.position},...se]),()=>w(se=>se.filter(ct=>ct.toastId!==p.id))}},[w,p.id]),T.useLayoutEffect(()=>{if(!J)return;let $=Bn.current,te=$.style.height;$.style.height="auto";let se=$.getBoundingClientRect().height;$.style.height=te,Mu(se),w(ct=>ct.find(ut=>ut.toastId===p.id)?ct.map(ut=>ut.toastId===p.id?{...ut,height:se}:ut):[{toastId:p.id,height:se,position:p.position},...ct])},[J,p.title,p.description,w,p.id]);let on=T.useCallback(()=>{Un(!0),po(yr.current),w($=>$.filter(te=>te.toastId!==p.id)),setTimeout(()=>{S(p)},H1)},[p,S,w,yr]);T.useEffect(()=>{if(p.promise&&tt==="loading"||p.duration===1/0||p.type==="loading")return;let $;return E||v||D&&Uu?(()=>{if(qu.current{var te;(te=p.onAutoClose)==null||te.call(p,p),on()},mo.current)),()=>clearTimeout($)},[E,v,p,tt,D,Uu,on]),T.useEffect(()=>{p.delete&&on()},[on,p.delete]);function by(){var $,te,se;return L!=null&&L.loading?T.createElement("div",{className:pt(j==null?void 0:j.loader,($=p==null?void 0:p.classNames)==null?void 0:$.loader,"sonner-loader"),"data-visible":tt==="loading"},L.loading):B?T.createElement("div",{className:pt(j==null?void 0:j.loader,(te=p==null?void 0:p.classNames)==null?void 0:te.loader,"sonner-loader"),"data-visible":tt==="loading"},B):T.createElement(k1,{className:pt(j==null?void 0:j.loader,(se=p==null?void 0:p.classNames)==null?void 0:se.loader),visible:tt==="loading"})}return T.createElement("li",{tabIndex:0,ref:Bn,className:pt(M,hy,j==null?void 0:j.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,j==null?void 0:j.default,j==null?void 0:j[tt],(n=p==null?void 0:p.classNames)==null?void 0:n[tt]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:P,"data-styled":!(p.jsx||p.unstyled||b),"data-mounted":J,"data-promise":!!p.promise,"data-swiped":yi,"data-removed":tn,"data-visible":my,"data-y-position":vy,"data-x-position":xy,"data-index":y,"data-front":py,"data-swiping":nn,"data-dismissible":gr,"data-type":tt,"data-invert":wy,"data-swipe-out":rn,"data-swipe-direction":ge,"data-expanded":!!(E||N&&J),style:{"--index":y,"--toasts-before":y,"--z-index":C.length-y,"--offset":`${tn?vi:yr.current}px`,"--initial-height":N?"auto":`${hr}px`,...O,...p.style},onDragEnd:()=>{mr(!1),Y(null),vr.current=null},onPointerDown:$=>{wi||!gr||(Du.current=new Date,po(yr.current),$.target.setPointerCapture($.pointerId),$.target.tagName!=="BUTTON"&&(mr(!0),vr.current={x:$.clientX,y:$.clientY}))},onPointerUp:()=>{var $,te,se,ct;if(rn||!gr)return;vr.current=null;let ut=Number((($=Bn.current)==null?void 0:$.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),an=Number(((te=Bn.current)==null?void 0:te.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Vn=new Date().getTime()-((se=Du.current)==null?void 0:se.getTime()),dt=Q==="x"?ut:an,sn=Math.abs(dt)/Vn;if(Math.abs(dt)>=W1||sn>.11){po(yr.current),(ct=p.onDismiss)==null||ct.call(p,p),Ne(Q==="x"?ut>0?"right":"left":an>0?"down":"up"),on(),wa(!0),ba(!1);return}mr(!1),Y(null)},onPointerMove:$=>{var te,se,ct,ut;if(!vr.current||!gr||((te=window.getSelection())==null?void 0:te.toString().length)>0)return;let an=$.clientY-vr.current.y,Vn=$.clientX-vr.current.x,dt=(se=e.swipeDirections)!=null?se:Q1(G);!Q&&(Math.abs(Vn)>1||Math.abs(an)>1)&&Y(Math.abs(Vn)>Math.abs(an)?"x":"y");let sn={x:0,y:0};Q==="y"?(dt.includes("top")||dt.includes("bottom"))&&(dt.includes("top")&&an<0||dt.includes("bottom")&&an>0)&&(sn.y=an):Q==="x"&&(dt.includes("left")||dt.includes("right"))&&(dt.includes("left")&&Vn<0||dt.includes("right")&&Vn>0)&&(sn.x=Vn),(Math.abs(sn.x)>0||Math.abs(sn.y)>0)&&ba(!0),(ct=Bn.current)==null||ct.style.setProperty("--swipe-amount-x",`${sn.x}px`),(ut=Bn.current)==null||ut.style.setProperty("--swipe-amount-y",`${sn.y}px`)}},yy&&!p.jsx?T.createElement("button",{"aria-label":V,"data-disabled":wi,"data-close-button":!0,onClick:wi||!gr?()=>{}:()=>{var $;on(),($=p.onDismiss)==null||$.call(p,p)},className:pt(j==null?void 0:j.closeButton,(o=p==null?void 0:p.classNames)==null?void 0:o.closeButton)},(a=L==null?void 0:L.close)!=null?a:A1):null,p.jsx||x.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:T.createElement(T.Fragment,null,tt||p.icon||p.promise?T.createElement("div",{"data-icon":"",className:pt(j==null?void 0:j.icon,(s=p==null?void 0:p.classNames)==null?void 0:s.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||by():null,p.type!=="loading"?p.icon||(L==null?void 0:L[tt])||S1(tt):null):null,T.createElement("div",{"data-content":"",className:pt(j==null?void 0:j.content,(i=p==null?void 0:p.classNames)==null?void 0:i.content)},T.createElement("div",{"data-title":"",className:pt(j==null?void 0:j.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?T.createElement("div",{"data-description":"",className:pt(H,gy,j==null?void 0:j.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),x.isValidElement(p.cancel)?p.cancel:p.cancel&&Ua(p.cancel)?T.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||z,onClick:$=>{var te,se;Ua(p.cancel)&&gr&&((se=(te=p.cancel).onClick)==null||se.call(te,$),on())},className:pt(j==null?void 0:j.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,x.isValidElement(p.action)?p.action:p.action&&Ua(p.action)?T.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||F,onClick:$=>{var te,se;Ua(p.action)&&((se=(te=p.action).onClick)==null||se.call(te,$),!$.defaultPrevented&&on())},className:pt(j==null?void 0:j.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function gf(){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 G1(e,t){let n={};return[e,t].forEach((r,o)=>{let a=o===1,s=a?"--mobile-offset":"--offset",i=a?U1:$1;function l(c){["top","right","bottom","left"].forEach(d=>{n[`${s}-${d}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${s}-${c}`]=i:n[`${s}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(i)}),n}var Y1=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:a,closeButton:s,className:i,offset:l,mobileOffset:c,theme:d="light",richColors:f,duration:h,style:p,visibleToasts:b=q1,toastOptions:v,dir:w=gf(),gap:g=V1,loadingIcon:m,icons:y,containerAriaLabel:C="Notifications",pauseWhenPageIsHidden:E}=e,[S,P]=T.useState([]),R=T.useMemo(()=>Array.from(new Set([r].concat(S.filter(D=>D.position).map(D=>D.position)))),[S,r]),[O,z]=T.useState([]),[F,M]=T.useState(!1),[H,_]=T.useState(!1),[G,q]=T.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=T.useRef(null),N=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=T.useRef(null),L=T.useRef(!1),V=T.useCallback(D=>{P(Q=>{var Y;return(Y=Q.find(ge=>ge.id===D.id))!=null&&Y.delete||qe.dismiss(D.id),Q.filter(({id:ge})=>ge!==D.id)})},[]);return T.useEffect(()=>qe.subscribe(D=>{if(D.dismiss){P(Q=>Q.map(Y=>Y.id===D.id?{...Y,delete:!0}:Y));return}setTimeout(()=>{sh.flushSync(()=>{P(Q=>{let Y=Q.findIndex(ge=>ge.id===D.id);return Y!==-1?[...Q.slice(0,Y),{...Q[Y],...D},...Q.slice(Y+1)]:[D,...Q]})})})}),[]),T.useEffect(()=>{if(d!=="system"){q(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?q("dark"):q("light")),typeof window>"u")return;let D=window.matchMedia("(prefers-color-scheme: dark)");try{D.addEventListener("change",({matches:Q})=>{q(Q?"dark":"light")})}catch{D.addListener(({matches:Y})=>{try{q(Y?"dark":"light")}catch(ge){console.error(ge)}})}},[d]),T.useEffect(()=>{S.length<=1&&M(!1)},[S]),T.useEffect(()=>{let D=Q=>{var Y,ge;o.every(Ne=>Q[Ne]||Q.code===Ne)&&(M(!0),(Y=B.current)==null||Y.focus()),Q.code==="Escape"&&(document.activeElement===B.current||(ge=B.current)!=null&&ge.contains(document.activeElement))&&M(!1)};return document.addEventListener("keydown",D),()=>document.removeEventListener("keydown",D)},[o]),T.useEffect(()=>{if(B.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,L.current=!1)}},[B.current]),T.createElement("section",{ref:t,"aria-label":`${C} ${N}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},R.map((D,Q)=>{var Y;let[ge,Ne]=D.split("-");return S.length?T.createElement("ol",{key:D,dir:w==="auto"?gf():w,tabIndex:-1,ref:B,className:i,"data-sonner-toaster":!0,"data-theme":G,"data-y-position":ge,"data-lifted":F&&S.length>1&&!a,"data-x-position":Ne,style:{"--front-toast-height":`${((Y=O[0])==null?void 0:Y.height)||0}px`,"--width":`${B1}px`,"--gap":`${g}px`,...p,...G1(l,c)},onBlur:J=>{L.current&&!J.currentTarget.contains(J.relatedTarget)&&(L.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||L.current||(L.current=!0,j.current=J.relatedTarget)},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{H||M(!1)},onDragEnd:()=>M(!1),onPointerDown:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||_(!0)},onPointerUp:()=>_(!1)},S.filter(J=>!J.position&&Q===0||J.position===D).map((J,pr)=>{var tn,Un;return T.createElement(K1,{key:J.id,icons:y,index:pr,toast:J,defaultRichColors:f,duration:(tn=v==null?void 0:v.duration)!=null?tn:h,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:b,closeButton:(Un=v==null?void 0:v.closeButton)!=null?Un:s,interacting:H,position:D,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:V,toasts:S.filter(nn=>nn.position==J.position),heights:O.filter(nn=>nn.position==J.position),setHeights:z,expandByDefault:a,gap:g,loadingIcon:m,expanded:F,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const X1=({...e})=>{const{theme:t="system"}=E1();return u.jsx(Y1,{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})},Z1=1,J1=1e6;let Yi=0;function ew(){return Yi=(Yi+1)%Number.MAX_SAFE_INTEGER,Yi.toString()}const Xi=new Map,yf=e=>{if(Xi.has(e))return;const t=setTimeout(()=>{Xi.delete(e),Do({type:"REMOVE_TOAST",toastId:e})},J1);Xi.set(e,t)},tw=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Z1)};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?yf(n):e.toasts.forEach(r=>{yf(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)}}},as=[];let ss={toasts:[]};function Do(e){ss=tw(ss,e),as.forEach(t=>{t(ss)})}function nw({...e}){const t=ew(),n=o=>Do({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Do({type:"DISMISS_TOAST",toastId:t});return Do({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function rw(){const[e,t]=x.useState(ss);return x.useEffect(()=>(as.push(t),()=>{const n=as.indexOf(t);n>-1&&as.splice(n,1)}),[e]),{...e,toast:nw,dismiss:n=>Do({type:"DISMISS_TOAST",toastId:n})}}function he(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 vf(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function kh(...e){return t=>{let n=!1;const r=e.map(o=>{const a=vf(o,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let o=0;o{var g;const{scope:h,children:p,...b}=f,v=((g=h==null?void 0:h[e])==null?void 0:g[l])||i,w=x.useMemo(()=>b,Object.values(b));return u.jsx(v.Provider,{value:w,children:p})};c.displayName=a+"Provider";function d(f,h){var v;const p=((v=h==null?void 0:h[e])==null?void 0:v[l])||i,b=x.useContext(p);if(b)return b;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[c,d]}const o=()=>{const a=n.map(s=>x.createContext(s));return function(i){const l=(i==null?void 0:i[e])||a;return x.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return o.scopeName=e,[r,ow(o,...t)]}function ow(...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(a){const s=r.reduce((i,{useScope:l,scopeName:c})=>{const f=l(a)[`__scope${c}`];return{...i,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function ec(e){const t=aw(e),n=x.forwardRef((r,o)=>{const{children:a,...s}=r,i=x.Children.toArray(a),l=i.find(iw);if(l){const c=l.props.children,d=i.map(f=>f===l?x.Children.count(c)>1?x.Children.only(null):x.isValidElement(c)?c.props.children:null:f);return u.jsx(t,{...s,ref:o,children:x.isValidElement(c)?x.cloneElement(c,void 0,d):null})}return u.jsx(t,{...s,ref:o,children:a})});return n.displayName=`${e}.Slot`,n}function aw(e){const t=x.forwardRef((n,r)=>{const{children:o,...a}=n;if(x.isValidElement(o)){const s=cw(o),i=lw(a,o.props);return o.type!==x.Fragment&&(i.ref=r?kh(r,s):s),x.cloneElement(o,i)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Nh=Symbol("radix.slottable");function sw(e){const t=({children:n})=>u.jsx(u.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Nh,t}function iw(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Nh}function lw(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...i)=>{const l=a(...i);return o(...i),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function cw(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 jh(e){const t=e+"CollectionProvider",[n,r]=lo(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=v=>{const{scope:w,children:g}=v,m=T.useRef(null),y=T.useRef(new Map).current;return u.jsx(o,{scope:w,itemMap:y,collectionRef:m,children:g})};s.displayName=t;const i=e+"CollectionSlot",l=ec(i),c=T.forwardRef((v,w)=>{const{scope:g,children:m}=v,y=a(i,g),C=Ze(w,y.collectionRef);return u.jsx(l,{ref:C,children:m})});c.displayName=i;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=ec(d),p=T.forwardRef((v,w)=>{const{scope:g,children:m,...y}=v,C=T.useRef(null),E=Ze(w,C),S=a(d,g);return T.useEffect(()=>(S.itemMap.set(C,{ref:C,...y}),()=>void S.itemMap.delete(C))),u.jsx(h,{[f]:"",ref:E,children:m})});p.displayName=d;function b(v){const w=a(e+"CollectionConsumer",v);return T.useCallback(()=>{const m=w.collectionRef.current;if(!m)return[];const y=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((S,P)=>y.indexOf(S.ref.current)-y.indexOf(P.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:c,ItemSlot:p},b,r]}var uw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],be=uw.reduce((e,t)=>{const n=ec(`Primitive.${t}`),r=x.forwardRef((o,a)=>{const{asChild:s,...i}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(l,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Rh(e,t){e&&ha.flushSync(()=>e.dispatchEvent(t))}function Ln(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function dw(e,t=globalThis==null?void 0:globalThis.document){const n=Ln(e);x.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 fw="DismissableLayer",tc="dismissableLayer.update",pw="dismissableLayer.pointerDownOutside",mw="dismissableLayer.focusOutside",xf,Th=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),pu=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:i,...l}=e,c=x.useContext(Th),[d,f]=x.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=x.useState({}),b=Ze(t,P=>f(P)),v=Array.from(c.layers),[w]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(w),m=d?v.indexOf(d):-1,y=c.layersWithOutsidePointerEventsDisabled.size>0,C=m>=g,E=gw(P=>{const R=P.target,O=[...c.branches].some(z=>z.contains(R));!C||O||(o==null||o(P),s==null||s(P),P.defaultPrevented||i==null||i())},h),S=yw(P=>{const R=P.target;[...c.branches].some(z=>z.contains(R))||(a==null||a(P),s==null||s(P),P.defaultPrevented||i==null||i())},h);return dw(P=>{m===c.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&i&&(P.preventDefault(),i()))},h),x.useEffect(()=>{if(d)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(xf=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),wf(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=xf)}},[d,h,n,c]),x.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),wf())},[d,c]),x.useEffect(()=>{const P=()=>p({});return document.addEventListener(tc,P),()=>document.removeEventListener(tc,P)},[]),u.jsx(be.div,{...l,ref:b,style:{pointerEvents:y?C?"auto":"none":void 0,...e.style},onFocusCapture:he(e.onFocusCapture,S.onFocusCapture),onBlurCapture:he(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:he(e.onPointerDownCapture,E.onPointerDownCapture)})});pu.displayName=fw;var hw="DismissableLayerBranch",Ah=x.forwardRef((e,t)=>{const n=x.useContext(Th),r=x.useRef(null),o=Ze(t,r);return x.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),u.jsx(be.div,{...e,ref:o})});Ah.displayName=hw;function gw(e,t=globalThis==null?void 0:globalThis.document){const n=Ln(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const a=i=>{if(i.target&&!r.current){let l=function(){zh(pw,n,c,{discrete:!0})};const c={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function yw(e,t=globalThis==null?void 0:globalThis.document){const n=Ln(e),r=x.useRef(!1);return x.useEffect(()=>{const o=a=>{a.target&&!r.current&&zh(mw,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function wf(){const e=new CustomEvent(tc);document.dispatchEvent(e)}function zh(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Rh(o,a):o.dispatchEvent(a)}var vw=pu,xw=Ah,It=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},ww="Portal",Oh=x.forwardRef((e,t)=>{var i;const{container:n,...r}=e,[o,a]=x.useState(!1);It(()=>a(!0),[]);const s=n||o&&((i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body);return s?sh.createPortal(u.jsx(be.div,{...r,ref:t}),s):null});Oh.displayName=ww;function bw(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var ai=e=>{const{present:t,children:n}=e,r=Cw(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),a=Ze(r.ref,Ew(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:a}):null};ai.displayName="Presence";function Cw(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),a=x.useRef("none"),s=e?"mounted":"unmounted",[i,l]=bw(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const c=Ba(r.current);a.current=i==="mounted"?c:"none"},[i]),It(()=>{const c=r.current,d=o.current;if(d!==e){const h=a.current,p=Ba(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),It(()=>{if(t){let c;const d=t.ownerDocument.defaultView??window,f=p=>{const v=Ba(r.current).includes(p.animationName);if(p.target===t&&v&&(l("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",c=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=p=>{p.target===t&&(a.current=Ba(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(c),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:x.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Ba(e){return(e==null?void 0:e.animationName)||"none"}function Ew(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 Sw=vc[" useInsertionEffect ".trim().toString()]||It;function si({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,a,s]=Pw({defaultProp:t,onChange:n}),i=e!==void 0,l=i?e:o;{const d=x.useRef(e!==void 0);x.useEffect(()=>{const f=d.current;f!==i&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${i?"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=i},[i,r])}const c=x.useCallback(d=>{var f;if(i){const h=kw(d)?d(e):d;h!==e&&((f=s.current)==null||f.call(s,h))}else a(d)},[i,e,a,s]);return[l,c]}function Pw({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),o=x.useRef(n),a=x.useRef(t);return Sw(()=>{a.current=t},[t]),x.useEffect(()=>{var s;o.current!==n&&((s=a.current)==null||s.call(a,n),o.current=n)},[n,o]),[n,r,a]}function kw(e){return typeof e=="function"}var Nw=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"}),jw="VisuallyHidden",ii=x.forwardRef((e,t)=>u.jsx(be.span,{...e,ref:t,style:{...Nw,...e.style}}));ii.displayName=jw;var Rw=ii,mu="ToastProvider",[hu,Tw,Aw]=jh("Toast"),[_h,IS]=lo("Toast",[Aw]),[zw,li]=_h(mu),Lh=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:s}=e,[i,l]=x.useState(null),[c,d]=x.useState(0),f=x.useRef(!1),h=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${mu}\`. Expected non-empty \`string\`.`),u.jsx(hu.Provider,{scope:t,children:u.jsx(zw,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:a,toastCount:c,viewport:i,onViewportChange:l,onToastAdd:x.useCallback(()=>d(p=>p+1),[]),onToastRemove:x.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:s})})};Lh.displayName=mu;var Ih="ToastViewport",Ow=["F8"],nc="toast.viewportPause",rc="toast.viewportResume",Mh=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=Ow,label:o="Notifications ({hotkey})",...a}=e,s=li(Ih,n),i=Tw(n),l=x.useRef(null),c=x.useRef(null),d=x.useRef(null),f=x.useRef(null),h=Ze(t,f,s.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=s.toastCount>0;x.useEffect(()=>{const w=g=>{var y;r.length!==0&&r.every(C=>g[C]||g.code===C)&&((y=f.current)==null||y.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),x.useEffect(()=>{const w=l.current,g=f.current;if(b&&w&&g){const m=()=>{if(!s.isClosePausedRef.current){const S=new CustomEvent(nc);g.dispatchEvent(S),s.isClosePausedRef.current=!0}},y=()=>{if(s.isClosePausedRef.current){const S=new CustomEvent(rc);g.dispatchEvent(S),s.isClosePausedRef.current=!1}},C=S=>{!w.contains(S.relatedTarget)&&y()},E=()=>{w.contains(document.activeElement)||y()};return w.addEventListener("focusin",m),w.addEventListener("focusout",C),w.addEventListener("pointermove",m),w.addEventListener("pointerleave",E),window.addEventListener("blur",m),window.addEventListener("focus",y),()=>{w.removeEventListener("focusin",m),w.removeEventListener("focusout",C),w.removeEventListener("pointermove",m),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",m),window.removeEventListener("focus",y)}}},[b,s.isClosePausedRef]);const v=x.useCallback(({tabbingDirection:w})=>{const m=i().map(y=>{const C=y.ref.current,E=[C,...Hw(C)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?m.reverse():m).flat()},[i]);return x.useEffect(()=>{const w=f.current;if(w){const g=m=>{var E,S,P;const y=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!y){const R=document.activeElement,O=m.shiftKey;if(m.target===w&&O){(E=c.current)==null||E.focus();return}const M=v({tabbingDirection:O?"backwards":"forwards"}),H=M.findIndex(_=>_===R);Zi(M.slice(H+1))?m.preventDefault():O?(S=c.current)==null||S.focus():(P=d.current)==null||P.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[i,v]),u.jsxs(xw,{ref:l,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&u.jsx(oc,{ref:c,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});Zi(w)}}),u.jsx(hu.Slot,{scope:n,children:u.jsx(be.ol,{tabIndex:-1,...a,ref:h})}),b&&u.jsx(oc,{ref:d,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});Zi(w)}})]})});Mh.displayName=Ih;var Dh="ToastFocusProxy",oc=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,a=li(Dh,n);return u.jsx(ii,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var c;const i=s.relatedTarget;!((c=a.viewport)!=null&&c.contains(i))&&r()}})});oc.displayName=Dh;var va="Toast",_w="toast.swipeStart",Lw="toast.swipeMove",Iw="toast.swipeCancel",Mw="toast.swipeEnd",Fh=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:a,...s}=e,[i,l]=si({prop:r,defaultProp:o??!0,onChange:a,caller:va});return u.jsx(ai,{present:n||i,children:u.jsx(qw,{open:i,...s,ref:t,onClose:()=>l(!1),onPause:Ln(e.onPause),onResume:Ln(e.onResume),onSwipeStart:he(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:he(e.onSwipeMove,c=>{const{x:d,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:he(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:he(e.onSwipeEnd,c=>{const{x:d,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});Fh.displayName=va;var[Dw,Fw]=_h(va,{onClose(){}}),qw=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:a,onClose:s,onEscapeKeyDown:i,onPause:l,onResume:c,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...b}=e,v=li(va,n),[w,g]=x.useState(null),m=Ze(t,_=>g(_)),y=x.useRef(null),C=x.useRef(null),E=o||v.duration,S=x.useRef(0),P=x.useRef(E),R=x.useRef(0),{onToastAdd:O,onToastRemove:z}=v,F=Ln(()=>{var G;(w==null?void 0:w.contains(document.activeElement))&&((G=v.viewport)==null||G.focus()),s()}),M=x.useCallback(_=>{!_||_===1/0||(window.clearTimeout(R.current),S.current=new Date().getTime(),R.current=window.setTimeout(F,_))},[F]);x.useEffect(()=>{const _=v.viewport;if(_){const G=()=>{M(P.current),c==null||c()},q=()=>{const B=new Date().getTime()-S.current;P.current=P.current-B,window.clearTimeout(R.current),l==null||l()};return _.addEventListener(nc,q),_.addEventListener(rc,G),()=>{_.removeEventListener(nc,q),_.removeEventListener(rc,G)}}},[v.viewport,E,l,c,M]),x.useEffect(()=>{a&&!v.isClosePausedRef.current&&M(E)},[a,E,v.isClosePausedRef,M]),x.useEffect(()=>(O(),()=>z()),[O,z]);const H=x.useMemo(()=>w?Hh(w):null,[w]);return v.viewport?u.jsxs(u.Fragment,{children:[H&&u.jsx($w,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),u.jsx(Dw,{scope:n,onClose:F,children:ha.createPortal(u.jsx(hu.ItemSlot,{scope:n,children:u.jsx(vw,{asChild:!0,onEscapeKeyDown:he(i,()=>{v.isFocusedToastEscapeKeyDownRef.current||F(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:u.jsx(be.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":v.swipeDirection,...b,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:he(e.onKeyDown,_=>{_.key==="Escape"&&(i==null||i(_.nativeEvent),_.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:he(e.onPointerDown,_=>{_.button===0&&(y.current={x:_.clientX,y:_.clientY})}),onPointerMove:he(e.onPointerMove,_=>{if(!y.current)return;const G=_.clientX-y.current.x,q=_.clientY-y.current.y,B=!!C.current,N=["left","right"].includes(v.swipeDirection),j=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,L=N?j(0,G):0,V=N?0:j(0,q),D=_.pointerType==="touch"?10:2,Q={x:L,y:V},Y={originalEvent:_,delta:Q};B?(C.current=Q,Va(Lw,f,Y,{discrete:!1})):bf(Q,v.swipeDirection,D)?(C.current=Q,Va(_w,d,Y,{discrete:!1}),_.target.setPointerCapture(_.pointerId)):(Math.abs(G)>D||Math.abs(q)>D)&&(y.current=null)}),onPointerUp:he(e.onPointerUp,_=>{const G=C.current,q=_.target;if(q.hasPointerCapture(_.pointerId)&&q.releasePointerCapture(_.pointerId),C.current=null,y.current=null,G){const B=_.currentTarget,N={originalEvent:_,delta:G};bf(G,v.swipeDirection,v.swipeThreshold)?Va(Mw,p,N,{discrete:!0}):Va(Iw,h,N,{discrete:!0}),B.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),$w=e=>{const{__scopeToast:t,children:n,...r}=e,o=li(va,t),[a,s]=x.useState(!1),[i,l]=x.useState(!1);return Vw(()=>s(!0)),x.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),i?null:u.jsx(Oh,{asChild:!0,children:u.jsx(ii,{...r,children:a&&u.jsxs(u.Fragment,{children:[o.label," ",n]})})})},Uw="ToastTitle",qh=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(be.div,{...r,ref:t})});qh.displayName=Uw;var Bw="ToastDescription",$h=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(be.div,{...r,ref:t})});$h.displayName=Bw;var Uh="ToastAction",Bh=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?u.jsx(Wh,{altText:n,asChild:!0,children:u.jsx(gu,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Uh}\`. Expected non-empty \`string\`.`),null)});Bh.displayName=Uh;var Vh="ToastClose",gu=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Fw(Vh,n);return u.jsx(Wh,{asChild:!0,children:u.jsx(be.button,{type:"button",...r,ref:t,onClick:he(e.onClick,o.onClose)})})});gu.displayName=Vh;var Wh=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return u.jsx(be.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Hh(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Ww(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!o)if(a){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Hh(r))}}),t}function Va(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Rh(o,a):o.dispatchEvent(a)}var bf=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),a=r>o;return t==="left"||t==="right"?a&&r>n:!a&&o>n};function Vw(e=()=>{}){const t=Ln(e);It(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Ww(e){return e.nodeType===e.ELEMENT_NODE}function Hw(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 Zi(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Qw=Lh,Qh=Mh,Kh=Fh,Gh=qh,Yh=$h,Xh=Bh,Zh=gu;function Jh(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,Ef=eg,Kw=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Ef(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:a}=t,s=Object.keys(o).map(c=>{const d=n==null?void 0:n[c],f=a==null?void 0:a[c];if(d===null)return null;const h=Cf(d)||Cf(f);return o[c][h]}),i=n&&Object.entries(n).reduce((c,d)=>{let[f,h]=d;return h===void 0||(c[f]=h),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(b=>{let[v,w]=b;return Array.isArray(w)?w.includes({...a,...i}[v]):{...a,...i}[v]===w})?[...c,f,h]:c},[]);return Ef(e,s,l,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 Gw=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),tg=(...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 Yw={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 Xw=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:a,iconNode:s,...i},l)=>x.createElement("svg",{ref:l,...Yw,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:tg("lucide",o),...i},[...s.map(([c,d])=>x.createElement(c,d)),...Array.isArray(a)?a:[a]]));/** * @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 pe=(e,t)=>{const n=x.forwardRef(({className:r,...o},a)=>x.createElement(Xw,{ref:a,iconNode:t,className:tg(`lucide-${Gw(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 Zw=pe("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 Jw=pe("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 eb=pe("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** * @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 tb=pe("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);/** * @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 nb=pe("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** * @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 rb=pe("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 ob=pe("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @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 ab=pe("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** * @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 ng=pe("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** * @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 sb=pe("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 ib=pe("Cog",[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]]);/** * @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 lb=pe("Factory",[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]]);/** * @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 rg=pe("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/** * @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 cb=pe("HeartPulse",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]]);/** * @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 ub=pe("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 db=pe("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** * @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 fb=pe("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 pb=pe("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 mb=pe("PenTool",[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);/** * @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 hb=pe("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** * @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 gb=pe("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 og=pe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),yu="-",yb=e=>{const t=xb(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const i=s.split(yu);return i[0]===""&&i.length!==1&&i.shift(),ag(i,t)||vb(s)},getConflictingClassGroupIds:(s,i)=>{const l=n[s]||[];return i&&r[s]?[...l,...r[s]]:l}}},ag=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?ag(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const a=e.join(yu);return(s=t.validators.find(({validator:i})=>i(a)))==null?void 0:s.classGroupId},Sf=/^\[(.+)\]$/,vb=e=>{if(Sf.test(e)){const t=Sf.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},xb=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return bb(Object.entries(e.classGroups),n).forEach(([a,s])=>{ac(s,r,a,t)}),r},ac=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const a=o===""?t:Pf(t,o);a.classGroupId=n;return}if(typeof o=="function"){if(wb(o)){ac(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([a,s])=>{ac(s,Pf(t,a),n,r)})})},Pf=(e,t)=>{let n=e;return t.split(yu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},wb=e=>e.isThemeGetter,bb=(e,t)=>t?e.map(([n,r])=>{const o=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,i])=>[t+s,i])):a);return[n,o]}):e,Cb=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(a,s)=>{n.set(a,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let s=n.get(a);if(s!==void 0)return s;if((s=r.get(a))!==void 0)return o(a,s),s},set(a,s){n.has(a)?n.set(a,s):o(a,s)}}},sg="!",Eb=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],a=t.length,s=i=>{const l=[];let c=0,d=0,f;for(let w=0;wd?f-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:v}};return n?i=>n({className:i,parseClassName:s}):s},Sb=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},Pb=e=>({cache:Cb(e.cacheSize),parseClassName:Eb(e),...yb(e)}),kb=/\s+/,Nb=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,a=[],s=e.trim().split(kb);let i="";for(let l=s.length-1;l>=0;l-=1){const c=s[l],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(c);let b=!!p,v=r(b?h.substring(0,p):h);if(!v){if(!b){i=c+(i.length>0?" "+i:i);continue}if(v=r(h),!v){i=c+(i.length>0?" "+i:i);continue}b=!1}const w=Sb(d).join(":"),g=f?w+sg:w,m=g+v;if(a.includes(m))continue;a.push(m);const y=o(v,b);for(let C=0;C0?" "+i:i)}return i};function jb(){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=Pb(c),r=n.cache.get,o=n.cache.set,a=i,i(l)}function i(l){const c=r(l);if(c)return c;const d=Nb(l,n);return o(l,d),d}return function(){return a(jb.apply(null,arguments))}}const re=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},lg=/^\[(?:([a-z-]+):)?(.+)\]$/i,Tb=/^\d+\/\d+$/,Ab=new Set(["px","full","screen"]),zb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ob=/\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$/,_b=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Lb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ib=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qt=e=>Fr(e)||Ab.has(e)||Tb.test(e),cn=e=>co(e,"length",Vb),Fr=e=>!!e&&!Number.isNaN(Number(e)),Ji=e=>co(e,"number",Fr),Eo=e=>!!e&&Number.isInteger(Number(e)),Mb=e=>e.endsWith("%")&&Fr(e.slice(0,-1)),W=e=>lg.test(e),un=e=>zb.test(e),Db=new Set(["length","size","percentage"]),Fb=e=>co(e,Db,cg),qb=e=>co(e,"position",cg),$b=new Set(["image","url"]),Ub=e=>co(e,$b,Hb),Bb=e=>co(e,"",Wb),So=()=>!0,co=(e,t,n)=>{const r=lg.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Vb=e=>Ob.test(e)&&!_b.test(e),cg=()=>!1,Wb=e=>Lb.test(e),Hb=e=>Ib.test(e),Qb=()=>{const e=re("colors"),t=re("spacing"),n=re("blur"),r=re("brightness"),o=re("borderColor"),a=re("borderRadius"),s=re("borderSpacing"),i=re("borderWidth"),l=re("contrast"),c=re("grayscale"),d=re("hueRotate"),f=re("invert"),h=re("gap"),p=re("gradientColorStops"),b=re("gradientColorStopPositions"),v=re("inset"),w=re("margin"),g=re("opacity"),m=re("padding"),y=re("saturate"),C=re("scale"),E=re("sepia"),S=re("skew"),P=re("space"),R=re("translate"),O=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",W,t],M=()=>[W,t],H=()=>["",qt,cn],_=()=>["auto",Fr,W],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",W],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[Fr,W];return{cacheSize:500,separator:":",theme:{colors:[So],spacing:[qt,cn],blur:["none","",un,W],brightness:V(),borderColor:[e],borderRadius:["none","","full",un,W],borderSpacing:M(),borderWidth:H(),contrast:V(),grayscale:j(),hueRotate:V(),invert:j(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[Mb,cn],inset:F(),margin:F(),opacity:V(),padding:M(),saturate:V(),scale:V(),sepia:j(),skew:V(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",W]}],container:["container"],columns:[{columns:[un]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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:[...G(),W]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Eo,W]}],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",W]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",Eo,W]}],"grid-cols":[{"grid-cols":[So]}],"col-start-end":[{col:["auto",{span:["full",Eo,W]},W]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[So]}],"row-start-end":[{row:["auto",{span:[Eo,W]},W]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",W]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",W]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"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":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",W,t]}],"min-w":[{"min-w":[W,t,"min","max","fit"]}],"max-w":[{"max-w":[W,t,"none","full","min","max","fit","prose",{screen:[un]},un]}],h:[{h:[W,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[W,t,"auto","min","max","fit"]}],"font-size":[{text:["base",un,cn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ji]}],"font-family":[{font:[So]}],"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",W]}],"line-clamp":[{"line-clamp":["none",Fr,Ji]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",qt,W]}],"list-image":[{"list-image":["none",W]}],"list-style-type":[{list:["none","disc","decimal",W]}],"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:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",qt,cn]}],"underline-offset":[{"underline-offset":["auto",qt,W]}],"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:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W]}],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",W]}],"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:[...G(),qb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Fb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ub]}],"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:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:q()}],"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:["",...q()]}],"outline-offset":[{"outline-offset":[qt,W]}],"outline-w":[{outline:[qt,cn]}],"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":[qt,cn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",un,Bb]}],"shadow-color":[{shadow:[So]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",un,W]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[y]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",W]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",W]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",W]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Eo,W]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",W]}],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",W]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"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",W]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[qt,cn,Ji]}],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"]}}},Kb=Rb(Qb);function Dt(...e){return Kb(eg(e))}const Gb=Qw,ug=x.forwardRef(({className:e,...t},n)=>u.jsx(Qh,{ref:n,className:Dt("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}));ug.displayName=Qh.displayName;const Yb=Kw("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"}}),dg=x.forwardRef(({className:e,variant:t,...n},r)=>u.jsx(Kh,{ref:r,className:Dt(Yb({variant:t}),e),...n}));dg.displayName=Kh.displayName;const Xb=x.forwardRef(({className:e,...t},n)=>u.jsx(Xh,{ref:n,className:Dt("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}));Xb.displayName=Xh.displayName;const fg=x.forwardRef(({className:e,...t},n)=>u.jsx(Zh,{ref:n,className:Dt("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:u.jsx(og,{className:"h-4 w-4"})}));fg.displayName=Zh.displayName;const pg=x.forwardRef(({className:e,...t},n)=>u.jsx(Gh,{ref:n,className:Dt("text-sm font-semibold",e),...t}));pg.displayName=Gh.displayName;const mg=x.forwardRef(({className:e,...t},n)=>u.jsx(Yh,{ref:n,className:Dt("text-sm opacity-90",e),...t}));mg.displayName=Yh.displayName;function Zb(){const{toasts:e}=rw();return u.jsxs(Gb,{children:[e.map(function({id:t,title:n,description:r,action:o,...a}){return u.jsxs(dg,{...a,children:[u.jsxs("div",{className:"grid gap-1",children:[n&&u.jsx(pg,{children:n}),r&&u.jsx(mg,{children:r})]}),o,u.jsx(fg,{})]},t)}),u.jsx(ug,{})]})}var Jb=vc[" useId ".trim().toString()]||(()=>{}),eC=0;function hg(e){const[t,n]=x.useState(Jb());return It(()=>{n(r=>r??String(eC++))},[e]),t?`radix-${t}`:""}const tC=["top","right","bottom","left"],In=Math.min,Qe=Math.max,Ls=Math.round,Wa=Math.floor,Lt=e=>({x:e,y:e}),nC={left:"right",right:"left",bottom:"top",top:"bottom"},rC={start:"end",end:"start"};function sc(e,t,n){return Qe(e,In(t,n))}function Zt(e,t){return typeof e=="function"?e(t):e}function Jt(e){return e.split("-")[0]}function uo(e){return e.split("-")[1]}function vu(e){return e==="x"?"y":"x"}function xu(e){return e==="y"?"height":"width"}const oC=new Set(["top","bottom"]);function zt(e){return oC.has(Jt(e))?"y":"x"}function wu(e){return vu(zt(e))}function aC(e,t,n){n===void 0&&(n=!1);const r=uo(e),o=wu(e),a=xu(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Is(s)),[s,Is(s)]}function sC(e){const t=Is(e);return[ic(e),t,ic(t)]}function ic(e){return e.replace(/start|end/g,t=>rC[t])}const kf=["left","right"],Nf=["right","left"],iC=["top","bottom"],lC=["bottom","top"];function cC(e,t,n){switch(e){case"top":case"bottom":return n?t?Nf:kf:t?kf:Nf;case"left":case"right":return t?iC:lC;default:return[]}}function uC(e,t,n,r){const o=uo(e);let a=cC(Jt(e),n==="start",r);return o&&(a=a.map(s=>s+"-"+o),t&&(a=a.concat(a.map(ic)))),a}function Is(e){return e.replace(/left|right|bottom|top/g,t=>nC[t])}function dC(e){return{top:0,right:0,bottom:0,left:0,...e}}function gg(e){return typeof e!="number"?dC(e):{top:e,right:e,bottom:e,left:e}}function Ms(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 jf(e,t,n){let{reference:r,floating:o}=e;const a=zt(t),s=wu(t),i=xu(s),l=Jt(t),c=a==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,h=r[i]/2-o[i]/2;let p;switch(l){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(uo(t)){case"start":p[s]-=h*(n&&c?-1:1);break;case"end":p[s]+=h*(n&&c?-1:1);break}return p}const fC=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:s}=n,i=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=jf(c,r,l),h=r,p={},b=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:s,elements:i,middlewareData:l}=t,{element:c,padding:d=0}=Zt(e,t)||{};if(c==null)return{};const f=gg(d),h={x:n,y:r},p=wu(o),b=xu(p),v=await s.getDimensions(c),w=p==="y",g=w?"top":"left",m=w?"bottom":"right",y=w?"clientHeight":"clientWidth",C=a.reference[b]+a.reference[p]-h[p]-a.floating[b],E=h[p]-a.reference[p],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let P=S?S[y]:0;(!P||!await(s.isElement==null?void 0:s.isElement(S)))&&(P=i.floating[y]||a.floating[b]);const R=C/2-E/2,O=P/2-v[b]/2-1,z=In(f[g],O),F=In(f[m],O),M=z,H=P-v[b]-F,_=P/2-v[b]/2+R,G=sc(M,_,H),q=!l.arrow&&uo(o)!=null&&_!==G&&a.reference[b]/2-(__<=0)){var F,M;const _=(((F=a.flip)==null?void 0:F.index)||0)+1,G=P[_];if(G&&(!(f==="alignment"?m!==zt(G):!1)||z.every(N=>N.overflows[0]>0&&zt(N.placement)===m)))return{data:{index:_,overflows:z},reset:{placement:G}};let q=(M=z.filter(B=>B.overflows[0]<=0).sort((B,N)=>B.overflows[1]-N.overflows[1])[0])==null?void 0:M.placement;if(!q)switch(p){case"bestFit":{var H;const B=(H=z.filter(N=>{if(S){const j=zt(N.placement);return j===m||j==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(j=>j>0).reduce((j,L)=>j+L,0)]).sort((N,j)=>N[1]-j[1])[0])==null?void 0:H[0];B&&(q=B);break}case"initialPlacement":q=i;break}if(o!==q)return{reset:{placement:q}}}return{}}}};function Rf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Tf(e){return tC.some(t=>e[t]>=0)}const hC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Zt(e,t);switch(r){case"referenceHidden":{const a=await sa(t,{...o,elementContext:"reference"}),s=Rf(a,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Tf(s)}}}case"escaped":{const a=await sa(t,{...o,altBoundary:!0}),s=Rf(a,n.floating);return{data:{escapedOffsets:s,escaped:Tf(s)}}}default:return{}}}}},yg=new Set(["left","top"]);async function gC(e,t){const{placement:n,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Jt(n),i=uo(n),l=zt(n)==="y",c=yg.has(s)?-1:1,d=a&&l?-1:1,f=Zt(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 i&&typeof b=="number"&&(p=i==="end"?b*-1:b),l?{x:p*d,y:h*c}:{x:h*c,y:p*d}}const yC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:s,middlewareData:i}=t,l=await gC(t,e);return s===((n=i.offset)==null?void 0:n.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:s}}}}},vC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:i={fn:w=>{let{x:g,y:m}=w;return{x:g,y:m}}},...l}=Zt(e,t),c={x:n,y:r},d=await sa(t,l),f=zt(Jt(o)),h=vu(f);let p=c[h],b=c[f];if(a){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=p+d[w],y=p-d[g];p=sc(m,p,y)}if(s){const w=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=b+d[w],y=b-d[g];b=sc(m,b,y)}const v=i.fn({...t,[h]:p,[f]:b});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[h]:a,[f]:s}}}}}},xC=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:s}=t,{offset:i=0,mainAxis:l=!0,crossAxis:c=!0}=Zt(e,t),d={x:n,y:r},f=zt(o),h=vu(f);let p=d[h],b=d[f];const v=Zt(i,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const y=h==="y"?"height":"width",C=a.reference[h]-a.floating[y]+w.mainAxis,E=a.reference[h]+a.reference[y]-w.mainAxis;pE&&(p=E)}if(c){var g,m;const y=h==="y"?"width":"height",C=yg.has(Jt(o)),E=a.reference[f]-a.floating[y]+(C&&((g=s.offset)==null?void 0:g[f])||0)+(C?0:w.crossAxis),S=a.reference[f]+a.reference[y]+(C?0:((m=s.offset)==null?void 0:m[f])||0)-(C?w.crossAxis:0);bS&&(b=S)}return{[h]:p,[f]:b}}}},wC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:a,platform:s,elements:i}=t,{apply:l=()=>{},...c}=Zt(e,t),d=await sa(t,c),f=Jt(o),h=uo(o),p=zt(o)==="y",{width:b,height:v}=a.floating;let w,g;f==="top"||f==="bottom"?(w=f,g=h===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(g=f,w=h==="end"?"top":"bottom");const m=v-d.top-d.bottom,y=b-d.left-d.right,C=In(v-d[w],m),E=In(b-d[g],y),S=!t.middlewareData.shift;let P=C,R=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=m),S&&!h){const z=Qe(d.left,0),F=Qe(d.right,0),M=Qe(d.top,0),H=Qe(d.bottom,0);p?R=b-2*(z!==0||F!==0?z+F:Qe(d.left,d.right)):P=v-2*(M!==0||H!==0?M+H:Qe(d.top,d.bottom))}await l({...t,availableWidth:R,availableHeight:P});const O=await s.getDimensions(i.floating);return b!==O.width||v!==O.height?{reset:{rects:!0}}:{}}}};function ci(){return typeof window<"u"}function fo(e){return vg(e)?(e.nodeName||"").toLowerCase():"#document"}function Ye(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ft(e){var t;return(t=(vg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function vg(e){return ci()?e instanceof Node||e instanceof Ye(e).Node:!1}function Et(e){return ci()?e instanceof Element||e instanceof Ye(e).Element:!1}function Mt(e){return ci()?e instanceof HTMLElement||e instanceof Ye(e).HTMLElement:!1}function Af(e){return!ci()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ye(e).ShadowRoot}const bC=new Set(["inline","contents"]);function xa(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=St(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!bC.has(o)}const CC=new Set(["table","td","th"]);function EC(e){return CC.has(fo(e))}const SC=[":popover-open",":modal"];function ui(e){return SC.some(t=>{try{return e.matches(t)}catch{return!1}})}const PC=["transform","translate","scale","rotate","perspective"],kC=["transform","translate","scale","rotate","perspective","filter"],NC=["paint","layout","strict","content"];function bu(e){const t=Cu(),n=Et(e)?St(e):e;return PC.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)||kC.some(r=>(n.willChange||"").includes(r))||NC.some(r=>(n.contain||"").includes(r))}function jC(e){let t=Mn(e);for(;Mt(t)&&!no(t);){if(bu(t))return t;if(ui(t))return null;t=Mn(t)}return null}function Cu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const RC=new Set(["html","body","#document"]);function no(e){return RC.has(fo(e))}function St(e){return Ye(e).getComputedStyle(e)}function di(e){return Et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mn(e){if(fo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Af(e)&&e.host||Ft(e);return Af(t)?t.host:t}function xg(e){const t=Mn(e);return no(t)?e.ownerDocument?e.ownerDocument.body:e.body:Mt(t)&&xa(t)?t:xg(t)}function ia(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=xg(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),s=Ye(o);if(a){const i=lc(s);return t.concat(s,s.visualViewport||[],xa(o)?o:[],i&&n?ia(i):[])}return t.concat(o,ia(o,[],n))}function lc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function wg(e){const t=St(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Mt(e),a=o?e.offsetWidth:n,s=o?e.offsetHeight:r,i=Ls(n)!==a||Ls(r)!==s;return i&&(n=a,r=s),{width:n,height:r,$:i}}function Eu(e){return Et(e)?e:e.contextElement}function qr(e){const t=Eu(e);if(!Mt(t))return Lt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=wg(t);let s=(a?Ls(n.width):n.width)/r,i=(a?Ls(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const TC=Lt(0);function bg(e){const t=Ye(e);return!Cu()||!t.visualViewport?TC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function AC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ye(e)?!1:t}function cr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=Eu(e);let s=Lt(1);t&&(r?Et(r)&&(s=qr(r)):s=qr(e));const i=AC(a,n,r)?bg(a):Lt(0);let l=(o.left+i.x)/s.x,c=(o.top+i.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(a){const h=Ye(a),p=r&&Et(r)?Ye(r):r;let b=h,v=lc(b);for(;v&&r&&p!==b;){const w=qr(v),g=v.getBoundingClientRect(),m=St(v),y=g.left+(v.clientLeft+parseFloat(m.paddingLeft))*w.x,C=g.top+(v.clientTop+parseFloat(m.paddingTop))*w.y;l*=w.x,c*=w.y,d*=w.x,f*=w.y,l+=y,c+=C,b=Ye(v),v=lc(b)}}return Ms({width:d,height:f,x:l,y:c})}function Su(e,t){const n=di(e).scrollLeft;return t?t.left+n:cr(Ft(e)).left+n}function Cg(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Su(e,r)),a=r.top+t.scrollTop;return{x:o,y:a}}function zC(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a=o==="fixed",s=Ft(r),i=t?ui(t.floating):!1;if(r===s||i&&a)return n;let l={scrollLeft:0,scrollTop:0},c=Lt(1);const d=Lt(0),f=Mt(r);if((f||!f&&!a)&&((fo(r)!=="body"||xa(s))&&(l=di(r)),Mt(r))){const p=cr(r);c=qr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=s&&!f&&!a?Cg(s,l,!0):Lt(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-l.scrollTop*c.y+d.y+h.y}}function OC(e){return Array.from(e.getClientRects())}function _C(e){const t=Ft(e),n=di(e),r=e.ownerDocument.body,o=Qe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Qe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Su(e);const i=-n.scrollTop;return St(r).direction==="rtl"&&(s+=Qe(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:s,y:i}}function LC(e,t){const n=Ye(e),r=Ft(e),o=n.visualViewport;let a=r.clientWidth,s=r.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;const c=Cu();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:i,y:l}}const IC=new Set(["absolute","fixed"]);function MC(e,t){const n=cr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=Mt(e)?qr(e):Lt(1),s=e.clientWidth*a.x,i=e.clientHeight*a.y,l=o*a.x,c=r*a.y;return{width:s,height:i,x:l,y:c}}function zf(e,t,n){let r;if(t==="viewport")r=LC(e,n);else if(t==="document")r=_C(Ft(e));else if(Et(t))r=MC(t,n);else{const o=bg(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ms(r)}function Eg(e,t){const n=Mn(e);return n===t||!Et(n)||no(n)?!1:St(n).position==="fixed"||Eg(n,t)}function DC(e,t){const n=t.get(e);if(n)return n;let r=ia(e,[],!1).filter(i=>Et(i)&&fo(i)!=="body"),o=null;const a=St(e).position==="fixed";let s=a?Mn(e):e;for(;Et(s)&&!no(s);){const i=St(s),l=bu(s);!l&&i.position==="fixed"&&(o=null),(a?!l&&!o:!l&&i.position==="static"&&!!o&&IC.has(o.position)||xa(s)&&!l&&Eg(e,s))?r=r.filter(d=>d!==s):o=i,s=Mn(s)}return t.set(e,r),r}function FC(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?ui(t)?[]:DC(t,this._c):[].concat(n),r],i=s[0],l=s.reduce((c,d)=>{const f=zf(t,d,o);return c.top=Qe(f.top,c.top),c.right=In(f.right,c.right),c.bottom=In(f.bottom,c.bottom),c.left=Qe(f.left,c.left),c},zf(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function qC(e){const{width:t,height:n}=wg(e);return{width:t,height:n}}function $C(e,t,n){const r=Mt(t),o=Ft(t),a=n==="fixed",s=cr(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const l=Lt(0);function c(){l.x=Su(o)}if(r||!r&&!a)if((fo(t)!=="body"||xa(o))&&(i=di(t)),r){const p=cr(t,!0,a,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&c();a&&!r&&o&&c();const d=o&&!r&&!a?Cg(o,i):Lt(0),f=s.left+i.scrollLeft-l.x-d.x,h=s.top+i.scrollTop-l.y-d.y;return{x:f,y:h,width:s.width,height:s.height}}function el(e){return St(e).position==="static"}function Of(e,t){if(!Mt(e)||St(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ft(e)===n&&(n=n.ownerDocument.body),n}function Sg(e,t){const n=Ye(e);if(ui(e))return n;if(!Mt(e)){let o=Mn(e);for(;o&&!no(o);){if(Et(o)&&!el(o))return o;o=Mn(o)}return n}let r=Of(e,t);for(;r&&EC(r)&&el(r);)r=Of(r,t);return r&&no(r)&&el(r)&&!bu(r)?n:r||jC(e)||n}const UC=async function(e){const t=this.getOffsetParent||Sg,n=this.getDimensions,r=await n(e.floating);return{reference:$C(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function BC(e){return St(e).direction==="rtl"}const VC={convertOffsetParentRelativeRectToViewportRelativeRect:zC,getDocumentElement:Ft,getClippingRect:FC,getOffsetParent:Sg,getElementRects:UC,getClientRects:OC,getDimensions:qC,getScale:qr,isElement:Et,isRTL:BC};function Pg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function WC(e,t){let n=null,r;const o=Ft(e);function a(){var i;clearTimeout(r),(i=n)==null||i.disconnect(),n=null}function s(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),a();const c=e.getBoundingClientRect(),{left:d,top:f,width:h,height:p}=c;if(i||t(),!h||!p)return;const b=Wa(f),v=Wa(o.clientWidth-(d+h)),w=Wa(o.clientHeight-(f+p)),g=Wa(d),y={rootMargin:-b+"px "+-v+"px "+-w+"px "+-g+"px",threshold:Qe(0,In(1,l))||1};let C=!0;function E(S){const P=S[0].intersectionRatio;if(P!==l){if(!C)return s();P?s(!1,P):r=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!Pg(c,e.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(E,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,y)}n.observe(e)}return s(!0),a}function HC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Eu(e),d=o||a?[...c?ia(c):[],...ia(t)]:[];d.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),a&&g.addEventListener("resize",n)});const f=c&&i?WC(c,n):null;let h=-1,p=null;s&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let b,v=l?cr(e):null;l&&w();function w(){const g=cr(e);v&&!Pg(v,g)&&n(),v=g,b=requestAnimationFrame(w)}return n(),()=>{var g;d.forEach(m=>{o&&m.removeEventListener("scroll",n),a&&m.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(b)}}const QC=yC,KC=vC,GC=mC,YC=wC,XC=hC,_f=pC,ZC=xC,JC=(e,t,n)=>{const r=new Map,o={platform:VC,...n},a={...o.platform,_c:r};return fC(e,t,{...o,platform:a})};var eE=typeof document<"u",tE=function(){},is=eE?x.useLayoutEffect:tE;function Ds(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(!Ds(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 a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!Ds(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function kg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Lf(e,t){const n=kg(e);return Math.round(t*n)/n}function tl(e){const t=x.useRef(e);return is(()=>{t.current=e}),t}function nE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:s}={},transform:i=!0,whileElementsMounted:l,open:c}=e,[d,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=x.useState(r);Ds(h,r)||p(r);const[b,v]=x.useState(null),[w,g]=x.useState(null),m=x.useCallback(N=>{N!==S.current&&(S.current=N,v(N))},[]),y=x.useCallback(N=>{N!==P.current&&(P.current=N,g(N))},[]),C=a||b,E=s||w,S=x.useRef(null),P=x.useRef(null),R=x.useRef(d),O=l!=null,z=tl(l),F=tl(o),M=tl(c),H=x.useCallback(()=>{if(!S.current||!P.current)return;const N={placement:t,strategy:n,middleware:h};F.current&&(N.platform=F.current),JC(S.current,P.current,N).then(j=>{const L={...j,isPositioned:M.current!==!1};_.current&&!Ds(R.current,L)&&(R.current=L,ha.flushSync(()=>{f(L)}))})},[h,t,n,F,M]);is(()=>{c===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,f(N=>({...N,isPositioned:!1})))},[c]);const _=x.useRef(!1);is(()=>(_.current=!0,()=>{_.current=!1}),[]),is(()=>{if(C&&(S.current=C),E&&(P.current=E),C&&E){if(z.current)return z.current(C,E,H);H()}},[C,E,H,z,O]);const G=x.useMemo(()=>({reference:S,floating:P,setReference:m,setFloating:y}),[m,y]),q=x.useMemo(()=>({reference:C,floating:E}),[C,E]),B=x.useMemo(()=>{const N={position:n,left:0,top:0};if(!q.floating)return N;const j=Lf(q.floating,d.x),L=Lf(q.floating,d.y);return i?{...N,transform:"translate("+j+"px, "+L+"px)",...kg(q.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:L}},[n,i,q.floating,d.x,d.y]);return x.useMemo(()=>({...d,update:H,refs:G,elements:q,floatingStyles:B}),[d,H,G,q,B])}const rE=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?_f({element:r.current,padding:o}).fn(n):{}:r?_f({element:r,padding:o}).fn(n):{}}}},oE=(e,t)=>({...QC(e),options:[e,t]}),aE=(e,t)=>({...KC(e),options:[e,t]}),sE=(e,t)=>({...ZC(e),options:[e,t]}),iE=(e,t)=>({...GC(e),options:[e,t]}),lE=(e,t)=>({...YC(e),options:[e,t]}),cE=(e,t)=>({...XC(e),options:[e,t]}),uE=(e,t)=>({...rE(e),options:[e,t]});var dE="Arrow",Ng=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return u.jsx(be.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:u.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ng.displayName=dE;var fE=Ng;function pE(e){const[t,n]=x.useState(void 0);return It(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let s,i;if("borderBoxSize"in a){const l=a.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,i=c.blockSize}else s=e.offsetWidth,i=e.offsetHeight;n({width:s,height:i})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var jg="Popper",[Rg,Tg]=lo(jg),[MS,Ag]=Rg(jg),zg="PopperAnchor",Og=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=Ag(zg,n),s=x.useRef(null),i=Ze(t,s);return x.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:u.jsx(be.div,{...o,ref:i})});Og.displayName=zg;var Pu="PopperContent",[mE,hE]=Rg(Pu),_g=x.forwardRef((e,t)=>{var J,pr,tn,Un,nn,mr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:a="center",alignOffset:s=0,arrowPadding:i=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:b,...v}=e,w=Ag(Pu,n),[g,m]=x.useState(null),y=Ze(t,rn=>m(rn)),[C,E]=x.useState(null),S=pE(C),P=(S==null?void 0:S.width)??0,R=(S==null?void 0:S.height)??0,O=r+(a!=="center"?"-"+a:""),z=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},F=Array.isArray(c)?c:[c],M=F.length>0,H={padding:z,boundary:F.filter(yE),altBoundary:M},{refs:_,floatingStyles:G,placement:q,isPositioned:B,middlewareData:N}=nE({strategy:"fixed",placement:O,whileElementsMounted:(...rn)=>HC(...rn,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[oE({mainAxis:o+R,alignmentAxis:s}),l&&aE({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?sE():void 0,...H}),l&&iE({...H}),lE({...H,apply:({elements:rn,rects:wa,availableWidth:yi,availableHeight:ba})=>{const{width:vi,height:po}=wa.reference,hr=rn.floating.style;hr.setProperty("--radix-popper-available-width",`${yi}px`),hr.setProperty("--radix-popper-available-height",`${ba}px`),hr.setProperty("--radix-popper-anchor-width",`${vi}px`),hr.setProperty("--radix-popper-anchor-height",`${po}px`)}}),C&&uE({element:C,padding:i}),vE({arrowWidth:P,arrowHeight:R}),h&&cE({strategy:"referenceHidden",...H})]}),[j,L]=Mg(q),V=Ln(b);It(()=>{B&&(V==null||V())},[B,V]);const D=(J=N.arrow)==null?void 0:J.x,Q=(pr=N.arrow)==null?void 0:pr.y,Y=((tn=N.arrow)==null?void 0:tn.centerOffset)!==0,[ge,Ne]=x.useState();return It(()=>{g&&Ne(window.getComputedStyle(g).zIndex)},[g]),u.jsx("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:B?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,"--radix-popper-transform-origin":[(Un=N.transformOrigin)==null?void 0:Un.x,(nn=N.transformOrigin)==null?void 0:nn.y].join(" "),...((mr=N.hide)==null?void 0:mr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(mE,{scope:n,placedSide:j,onArrowChange:E,arrowX:D,arrowY:Q,shouldHideArrow:Y,children:u.jsx(be.div,{"data-side":j,"data-align":L,...v,ref:y,style:{...v.style,animation:B?void 0:"none"}})})})});_g.displayName=Pu;var Lg="PopperArrow",gE={top:"bottom",right:"left",bottom:"top",left:"right"},Ig=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,a=hE(Lg,r),s=gE[a.placedSide];return u.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:u.jsx(fE,{...o,ref:n,style:{...o.style,display:"block"}})})});Ig.displayName=Lg;function yE(e){return e!==null}var vE=e=>({name:"transformOrigin",options:e,fn(t){var w,g,m;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,i=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[c,d]=Mg(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((g=o.arrow)==null?void 0:g.x)??0)+i/2,p=(((m=o.arrow)==null?void 0:m.y)??0)+l/2;let b="",v="";return c==="bottom"?(b=s?f:`${h}px`,v=`${-l}px`):c==="top"?(b=s?f:`${h}px`,v=`${r.floating.height+l}px`):c==="right"?(b=`${-l}px`,v=s?f:`${p}px`):c==="left"&&(b=`${r.floating.width+l}px`,v=s?f:`${p}px`),{data:{x:b,y:v}}}});function Mg(e){const[t,n="center"]=e.split("-");return[t,n]}var xE=Og,wE=_g,bE=Ig,[fi,DS]=lo("Tooltip",[Tg]),ku=Tg(),Dg="TooltipProvider",CE=700,If="tooltip.open",[EE,Fg]=fi(Dg),qg=e=>{const{__scopeTooltip:t,delayDuration:n=CE,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:a}=e,s=x.useRef(!0),i=x.useRef(!1),l=x.useRef(0);return x.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),u.jsx(EE,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:i,onPointerInTransitChange:x.useCallback(c=>{i.current=c},[]),disableHoverableContent:o,children:a})};qg.displayName=Dg;var $g="Tooltip",[FS,pi]=fi($g),cc="TooltipTrigger",SE=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=pi(cc,n),a=Fg(cc,n),s=ku(n),i=x.useRef(null),l=Ze(t,i,o.onTriggerChange),c=x.useRef(!1),d=x.useRef(!1),f=x.useCallback(()=>c.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),u.jsx(xE,{asChild:!0,...s,children:u.jsx(be.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:he(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:he(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:he(e.onPointerDown,()=>{o.open&&o.onClose(),c.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:he(e.onFocus,()=>{c.current||o.onOpen()}),onBlur:he(e.onBlur,o.onClose),onClick:he(e.onClick,o.onClose)})})});SE.displayName=cc;var PE="TooltipPortal",[qS,kE]=fi(PE,{forceMount:void 0}),ro="TooltipContent",Ug=x.forwardRef((e,t)=>{const n=kE(ro,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,s=pi(ro,e.__scopeTooltip);return u.jsx(ai,{present:r||s.open,children:s.disableHoverableContent?u.jsx(Bg,{side:o,...a,ref:t}):u.jsx(NE,{side:o,...a,ref:t})})}),NE=x.forwardRef((e,t)=>{const n=pi(ro,e.__scopeTooltip),r=Fg(ro,e.__scopeTooltip),o=x.useRef(null),a=Ze(t,o),[s,i]=x.useState(null),{trigger:l,onClose:c}=n,d=o.current,{onPointerInTransitChange:f}=r,h=x.useCallback(()=>{i(null),f(!1)},[f]),p=x.useCallback((b,v)=>{const w=b.currentTarget,g={x:b.clientX,y:b.clientY},m=zE(g,w.getBoundingClientRect()),y=OE(g,m),C=_E(v.getBoundingClientRect()),E=IE([...y,...C]);i(E),f(!0)},[f]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(l&&d){const b=w=>p(w,d),v=w=>p(w,l);return l.addEventListener("pointerleave",b),d.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",v)}}},[l,d,p,h]),x.useEffect(()=>{if(s){const b=v=>{const w=v.target,g={x:v.clientX,y:v.clientY},m=(l==null?void 0:l.contains(w))||(d==null?void 0:d.contains(w)),y=!LE(g,s);m?h():y&&(h(),c())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,d,s,c,h]),u.jsx(Bg,{...e,ref:a})}),[jE,RE]=fi($g,{isInside:!1}),TE=sw("TooltipContent"),Bg=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:s,...i}=e,l=pi(ro,n),c=ku(n),{onClose:d}=l;return x.useEffect(()=>(document.addEventListener(If,d),()=>document.removeEventListener(If,d)),[d]),x.useEffect(()=>{if(l.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),u.jsx(pu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:u.jsxs(wE,{"data-state":l.stateAttribute,...c,...i,ref:t,style:{...i.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:[u.jsx(TE,{children:r}),u.jsx(jE,{scope:n,isInside:!0,children:u.jsx(Rw,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Ug.displayName=ro;var Vg="TooltipArrow",AE=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=ku(n);return RE(Vg,n).isInside?null:u.jsx(bE,{...o,...r,ref:t})});AE.displayName=Vg;function zE(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function OE(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 _E(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 LE(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,s=t.length-1;ar!=h>r&&n<(f-c)*(r-d)/(h-d)+c&&(o=!o)}return o}function IE(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),ME(t)}function ME(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const a=t[t.length-1],s=t[t.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.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 a=n[n.length-1],s=n[n.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.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 DE=qg,Wg=Ug;const FE=DE,qE=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>u.jsx(Wg,{ref:r,sideOffset:t,className:Dt("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}));qE.displayName=Wg.displayName;const $E="/assets/logo-interseguros-OyyyEgQF.png",Mf=[{label:"Inicio",href:"/#inicio"},{label:"Nosotros",href:"/#nosotros"},{label:"Seguros",href:"/#servicios"},{label:"Blog",href:"/#blog"},{label:"Contacto",href:"/#contacto"}];function uc(){const[e,t]=x.useState(!1);return u.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-card/95 backdrop-blur-sm border-b border-border",children:[u.jsxs("div",{className:"max-w-7xl mx-auto flex items-center justify-between px-6 py-3",children:[u.jsx(zr,{to:"/",className:"flex items-center",children:u.jsx("img",{src:$E,alt:"Interseguros - Corredores y Asesores",className:"h-[106px]"})}),u.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[Mf.map(n=>u.jsx("a",{href:n.href,className:"text-sm font-bold text-muted-foreground hover:text-primary transition-colors duration-200",children:n.label},n.label)),u.jsx("a",{href:"/#contacto",className:"text-sm font-semibold bg-primary text-primary-foreground px-5 py-2.5 rounded-md hover:opacity-90 transition-opacity active:scale-[0.97]",children:"Solicitar Cotización"})]}),u.jsx("button",{onClick:()=>t(!e),className:"md:hidden text-foreground","aria-label":"Menú",children:e?u.jsx(og,{size:24}):u.jsx(fb,{size:24})})]}),e&&u.jsxs("div",{className:"md:hidden bg-card border-b border-border px-6 pb-6 space-y-4",children:[Mf.map(n=>u.jsx("a",{href:n.href,onClick:()=>t(!1),className:"block text-sm font-bold text-muted-foreground hover:text-primary",children:n.label},n.label)),u.jsx("a",{href:"/#contacto",onClick:()=>t(!1),className:"block text-sm font-semibold bg-primary text-primary-foreground px-5 py-2.5 rounded-md text-center",children:"Solicitar Cotización"})]})]})}const Nu="/assets/logo-interseguros-white--GRe5exx.png";function dc(){return u.jsxs("footer",{className:"bg-accent text-accent-foreground",id:"contacto",children:[u.jsx("div",{className:"h-1 bg-primary"}),u.jsxs("div",{className:"max-w-7xl mx-auto section-padding pt-16 pb-10",children:[u.jsx("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-6 mb-14",children:u.jsxs("div",{className:"flex items-center gap-4",children:[u.jsx("img",{src:Nu,alt:"Interseguros",className:"h-12 opacity-90"}),u.jsxs("div",{className:"border-l border-accent-foreground/20 pl-4",children:[u.jsx("p",{className:"text-sm font-semibold text-accent-foreground/90",children:"Corredores de Seguros"}),u.jsx("p",{className:"text-xs text-accent-foreground/50",children:"Servicio 360 · Paraguay"})]})]})}),u.jsxs("div",{className:"grid md:grid-cols-3 gap-12 mb-14",children:[u.jsxs("div",{children:[u.jsx("h4",{className:"text-xs font-bold uppercase tracking-[0.2em] text-accent-foreground/60 mb-5",children:"Autorización"}),u.jsxs("p",{className:"text-sm text-accent-foreground/80 leading-relaxed",children:["Corredor de Seguros autorizado por el ",u.jsx("strong",{className:"text-accent-foreground/95",children:"BANCO CENTRAL DE PARAGUAY"}),", con Matrícula 118."]}),u.jsxs("p",{className:"text-sm text-accent-foreground/80 leading-relaxed mt-3",children:["Representante Legal: ",u.jsx("strong",{className:"text-accent-foreground/95",children:"Sr. Rodrigo Fernández Echazú"}),", con Matrícula 2918."]})]}),u.jsxs("div",{children:[u.jsx("h4",{className:"text-xs font-bold uppercase tracking-[0.2em] text-accent-foreground/60 mb-5",children:"Seguros"}),u.jsx("ul",{className:"space-y-3 text-sm",children:[{label:"Seguro de Construcción CAR/EAR",href:"/#servicio-0"},{label:"Fianzas y Cauciones",href:"/#servicio-1"},{label:"Seguros Industriales",href:"/#servicio-2"},{label:"Seguro de Maquinaria",href:"/#servicio-3"},{label:"Seguro Automotor",href:"/#servicio-4"},{label:"Accidentes Personales",href:"/#servicio-5"}].map(e=>u.jsx("li",{children:u.jsxs("a",{href:e.href,className:"text-accent-foreground/70 hover:text-primary transition-colors duration-200 inline-flex items-center gap-2",children:[u.jsx("span",{className:"w-1 h-1 rounded-full bg-primary flex-shrink-0"}),e.label]})},e.href))})]}),u.jsxs("div",{children:[u.jsx("h4",{className:"text-xs font-bold uppercase tracking-[0.2em] text-accent-foreground/60 mb-5",children:"Contacto"}),u.jsxs("div",{className:"space-y-4 text-sm",children:[u.jsxs("div",{className:"flex items-start gap-3",children:[u.jsx(db,{className:"w-4 h-4 text-primary flex-shrink-0 mt-0.5"}),u.jsxs("div",{className:"text-accent-foreground/80 leading-relaxed",children:[u.jsx("p",{children:"Avda. Aviadores del Chaco 2351"}),u.jsx("p",{children:"Esq. Campos Cervera"}),u.jsx("p",{children:"Edificio Plaza Center 7° Piso"}),u.jsx("p",{className:"font-semibold text-accent-foreground/90 mt-1",children:"Asunción – Paraguay"})]})]}),u.jsxs("a",{href:"https://wa.me/595991478468",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 text-accent-foreground/80 hover:text-primary transition-colors duration-200",children:[u.jsx(hb,{className:"w-4 h-4 text-primary flex-shrink-0"}),"+595 991 478468"]}),u.jsxs("a",{href:"mailto:rfernandez@interseguros360.com",className:"flex items-center gap-3 text-accent-foreground/80 hover:text-primary transition-colors duration-200",children:[u.jsx(ub,{className:"w-4 h-4 text-primary flex-shrink-0"}),"rfernandez@interseguros360.com"]})]})]})]}),u.jsxs("div",{className:"border-t border-accent-foreground/10 pt-8 flex flex-col md:flex-row md:items-center md:justify-between gap-4",children:[u.jsxs("p",{className:"text-xs text-accent-foreground/40",children:["© ",new Date().getFullYear()," Interseguros S.A. Todos los derechos reservados."]}),u.jsx("p",{className:"text-xs text-accent-foreground/30",children:"Matrícula BCP N° 118 · Asunción, Paraguay"})]})]})]})}function UE(){return u.jsxs("a",{href:"https://wa.me/595991478468?text=Hola%2C%20me%20interesa%20recibir%20asesor%C3%ADa%20sobre%20seguros.",target:"_blank",rel:"noopener noreferrer","aria-label":"Contactar por WhatsApp",className:"fixed bottom-6 right-6 z-50 flex items-center gap-2 bg-[#25D366] text-white font-semibold px-5 py-3 rounded-full shadow-lg hover:shadow-xl hover:scale-105 transition-all duration-200 active:scale-95",children:[u.jsx(pb,{className:"w-5 h-5",fill:"white",strokeWidth:0}),u.jsx("span",{className:"hidden sm:inline text-sm",children:"WhatsApp"})]})}const Hg="/assets/hero-construction-Baq62kFD.jpg";function BE(){return u.jsxs("section",{id:"inicio",className:"relative min-h-[90vh] flex items-center overflow-hidden",children:[u.jsxs("div",{className:"absolute inset-0",children:[u.jsx("img",{src:Hg,alt:"Ingenieros en obra de construcción en Paraguay",className:"w-full h-full object-cover img-matte",loading:"eager",fetchPriority:"high",width:1920,height:1080}),u.jsx("div",{className:"absolute inset-0 bg-accent/80"})]}),u.jsx("div",{className:"relative z-10 max-w-7xl mx-auto section-padding py-32 pt-44",children:u.jsxs("div",{className:"max-w-2xl",children:[u.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-accent-foreground leading-[1.08] mb-6",children:"Corredor de Seguros en Paraguay – Construcción, Fianzas e Industria"}),u.jsxs("p",{className:"text-lg md:text-xl text-accent-foreground/85 mb-10 max-w-xl leading-relaxed",children:["Interseguros S.A. es un ",u.jsx("strong",{children:"corredor de seguros independiente"})," experto en ",u.jsx("strong",{children:"seguros de construcción"}),", ",u.jsx("strong",{children:"fianzas y cauciones"}),", ",u.jsx("strong",{children:"seguros industriales"})," y ",u.jsx("strong",{children:"seguro de maquinaria"}),". A diferencia de un ",u.jsx("strong",{children:"agente"})," de seguros, analizamos riesgos, comparamos aseguradoras y estructuramos la cobertura óptima para su proyecto."]}),u.jsx("a",{href:"#contacto",className:"inline-block bg-primary text-primary-foreground font-semibold px-8 py-4 rounded-md text-base hover:opacity-90 transition-opacity active:scale-[0.97]",children:"Solicitar Cotización"})]})})]})}const VE="/assets/about-360-service-BckHxDSV.jpg";function WE(){return u.jsx("section",{id:"nosotros",className:"py-24 bg-card",children:u.jsx("div",{className:"max-w-7xl mx-auto section-padding",children:u.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[u.jsxs("div",{className:"reveal",children:[u.jsx("p",{className:"text-sm font-semibold text-accent uppercase tracking-wider mb-3",children:"Quiénes somos"}),u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6 leading-tight",children:"Interseguros | Corredores de Seguros en Paraguay"}),u.jsxs("p",{className:"text-muted-foreground leading-relaxed mb-4",children:["Interseguros es un ",u.jsx("strong",{children:"corredor de seguros independiente"})," especializado en análisis de riesgos, estructuración de coberturas y asesoría técnica para el sector de ",u.jsx("strong",{children:"construcción"}),", ",u.jsx("strong",{children:"industria"})," y proyectos de infraestructura en ",u.jsx("strong",{children:"Paraguay"}),"."]}),u.jsxs("p",{className:"text-muted-foreground leading-relaxed mb-4",children:["Autorizado por el ",u.jsx("strong",{children:"Banco Central del Paraguay"})," con Matrícula 118, brindamos un servicio integral 360 a empresas, contratistas e industrias que requieren coberturas técnicamente estructuradas."]}),u.jsxs("p",{className:"text-muted-foreground leading-relaxed mb-8",children:["Nuestro enfoque consultivo nos diferencia: no vendemos pólizas como un ",u.jsx("strong",{children:"agente de seguros"}),", ",u.jsx("strong",{children:"diseñamos soluciones de seguros"}),". Comparamos las principales ",u.jsx("strong",{children:"aseguradoras en Paraguay"})," para garantizar que cada cliente obtenga la cobertura óptima al mejor costo, especialmente en ",u.jsx("strong",{children:"seguros de construcción"})," y riesgos técnicos."]})]}),u.jsxs("div",{className:"reveal relative overflow-hidden rounded-lg shadow-lg",style:{transitionDelay:"120ms"},children:[u.jsx("img",{src:VE,alt:"Equipo de asesores de seguros de Interseguros en Asunción Paraguay",className:"w-full object-cover aspect-[4/3] img-matte",loading:"lazy"}),u.jsx("div",{className:"absolute inset-0 bg-primary/25 mix-blend-multiply"}),u.jsx("img",{src:Nu,alt:"",className:"absolute bottom-4 right-4 h-16 opacity-40 pointer-events-none select-none","aria-hidden":"true"})]})]})})})}function HE(){return u.jsx("section",{className:"py-24 bg-warm-gray",children:u.jsx("div",{className:"max-w-7xl mx-auto section-padding",children:u.jsxs("div",{className:"max-w-3xl mx-auto reveal",children:[u.jsx("p",{className:"text-sm font-semibold text-accent uppercase tracking-wider mb-3 text-center",children:"Educación"}),u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-8 text-center leading-tight",children:"Diferencia entre Agente de Seguros y Corredor de Seguros en Paraguay"}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mb-10",children:[u.jsxs("div",{className:"bg-card p-8 rounded-lg shadow-sm border border-border",children:[u.jsx("h3",{className:"text-lg font-bold text-foreground mb-3",children:"Agente de Seguros"}),u.jsxs("p",{className:"text-muted-foreground text-sm leading-relaxed",children:["Un ",u.jsx("strong",{children:"agente de seguros en Paraguay"})," representa normalmente a una compañía aseguradora específica. Su función es vender los productos establecidos de esa aseguradora, por lo que su asesoramiento está limitado a las opciones que ofrece dicha empresa."]})]}),u.jsxs("div",{className:"bg-primary p-8 rounded-lg shadow-md ring-2 ring-accent/40 scale-[1.02]",children:[u.jsx("h3",{className:"text-xl font-extrabold text-primary-foreground mb-3",children:"Corredor de Seguros"}),u.jsxs("p",{className:"text-primary-foreground font-semibold text-[0.938rem] leading-relaxed",children:["Un ",u.jsx("strong",{children:"corredor de seguros"})," representa al cliente. Analiza el mercado completo, compara múltiples aseguradoras y diseña la cobertura óptima para cada situación. Interseguros opera como corredor independiente."]})]})]}),u.jsxs("div",{className:"bg-accent/10 p-6 rounded-lg border border-accent/30",children:[u.jsx("h3",{className:"text-base font-bold text-foreground mb-2",children:"Diferencia clave"}),u.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed",children:["Mientras que un ",u.jsx("strong",{children:"agente de seguros en Paraguay"})," normalmente vende productos de una aseguradora; un ",u.jsx("strong",{children:"corredor de seguros en Paraguay"})," estructura coberturas, compara el mercado y diseña la mejor solución."]})]})]})})})}const QE=[{title:"Acceso a múltiples aseguradoras",desc:"Comparamos opciones de las principales compañías de seguros en Paraguay para encontrar la mejor relación costo-beneficio."},{title:"Coberturas técnicamente estructuradas",desc:"Diseñamos cada póliza según el riesgo real de su proyecto, evitando coberturas genéricas o insuficientes."},{title:"Optimización de costos",desc:"Mediante análisis comparativo entre aseguradoras, logramos condiciones más competitivas sin sacrificar protección."},{title:"Asesoría técnica especializada",desc:"Nuestro equipo domina seguros de construcción, fianzas, maquinaria e industria con conocimiento profundo del mercado paraguayo."},{title:"Gestión profesional de siniestros",desc:"Acompañamos cada reclamo de principio a fin, defendiendo los intereses del cliente ante la aseguradora."},{title:"Servicio 360",desc:"Nosotros no solo lo contactamos cuando se aproxima la renovación de su programa de seguro, estamos con ud. 365 días del año con un servicio integral 360."}];function KE(){return u.jsx("section",{className:"py-24 bg-card",children:u.jsxs("div",{className:"max-w-7xl mx-auto section-padding",children:[u.jsxs("div",{className:"max-w-3xl mx-auto reveal",children:[u.jsx("p",{className:"text-sm font-semibold text-accent uppercase tracking-wider mb-3 text-center",children:"Educación"}),u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-10 text-center leading-tight",children:"Corredor de Seguros vs Compañía de Seguros en Paraguay"}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mb-10",children:[u.jsxs("div",{className:"bg-secondary p-8 rounded-lg border border-border",children:[u.jsx("h3",{className:"text-lg font-bold text-foreground mb-3",children:"¿Qué es una compañía de seguros?"}),u.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:"Una compañía de seguros es la entidad que asume el riesgo, emite pólizas y paga siniestros. Su función principal es ofrecer productos de seguro bajo condiciones previamente definidas."})]}),u.jsxs("div",{className:"bg-primary p-8 rounded-lg shadow-md ring-2 ring-accent/40 scale-[1.02]",children:[u.jsx("h3",{className:"text-xl font-extrabold text-primary-foreground mb-3",children:"¿Qué es un corredor de seguros?"}),u.jsxs("p",{className:"text-primary-foreground font-semibold text-[0.938rem] leading-relaxed",children:["Un ",u.jsx("strong",{children:"corredor de seguros en Paraguay"})," es un asesor independiente que trabaja para el cliente, no para la aseguradora."]}),u.jsx("p",{className:"text-primary-foreground font-semibold text-[0.938rem] leading-relaxed mt-3",children:"Su función es analizar los riesgos, comparar distintas compañías de seguros y estructurar la cobertura más adecuada según las necesidades de cada proyecto o empresa."})]})]}),u.jsxs("div",{className:"bg-secondary p-6 rounded-lg border border-border mb-10",children:[u.jsx("h3",{className:"text-base font-bold text-foreground mb-2",children:"Diferencia clave"}),u.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed",children:["Mientras la aseguradora ofrece sus propios productos, el ",u.jsx("strong",{children:"mejor corredor de seguros en Paraguay"})," analiza el mercado completo y diseña una solución óptima, defendiendo siempre los intereses del cliente."]})]})]}),u.jsxs("div",{className:"max-w-4xl mx-auto reveal mt-6",children:[u.jsx("p",{className:"text-sm font-semibold text-accent uppercase tracking-wider mb-3 text-center",children:"Ventajas"}),u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-10 text-center leading-tight",children:"¿Por qué trabajar con Interseguros?"}),u.jsx("div",{className:"grid sm:grid-cols-2 gap-6 mb-10",children:QE.map(e=>u.jsxs("div",{className:"bg-secondary p-6 rounded-lg border border-border",children:[u.jsxs("div",{className:"flex items-start gap-3 mb-2",children:[u.jsx(ng,{className:"w-5 h-5 text-accent flex-shrink-0 mt-0.5",strokeWidth:2.5}),u.jsx("h3",{className:"text-base font-bold text-foreground",children:e.title})]}),u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed pl-8",children:e.desc})]},e.title))}),u.jsx("div",{className:"bg-secondary p-6 rounded-lg border border-accent/30 text-justify mb-8",children:u.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed",children:["Si estás buscando el ",u.jsx("strong",{children:"mejor seguro en Paraguay"}),", en realidad lo que necesitas es asesoría profesional para elegir correctamente. Un ",u.jsx("strong",{children:"corredor de seguros"})," te permite tomar una mejor decisión, comparando opciones del mercado que un ",u.jsx("strong",{children:"agente de seguros"})," o una sola ",u.jsx("strong",{children:"compañía de seguros en Paraguay"})," no puede ofrecer."]})}),u.jsx("div",{className:"text-center",children:u.jsx("a",{href:"#contacto",className:"inline-block bg-primary text-primary-foreground font-semibold px-8 py-4 rounded-md hover:opacity-90 transition-opacity active:scale-[0.97]",children:"Solicitar Asesoría Especializada"})})]})]})})}var mi="Collapsible",[GE,Qg]=lo(mi),[YE,ju]=GE(mi),Kg=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:a,onOpenChange:s,...i}=e,[l,c]=si({prop:r,defaultProp:o??!1,onChange:s,caller:mi});return u.jsx(YE,{scope:n,disabled:a,contentId:hg(),open:l,onOpenToggle:x.useCallback(()=>c(d=>!d),[c]),children:u.jsx(be.div,{"data-state":Tu(l),"data-disabled":a?"":void 0,...i,ref:t})})});Kg.displayName=mi;var Gg="CollapsibleTrigger",Yg=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=ju(Gg,n);return u.jsx(be.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Tu(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:he(e.onClick,o.onOpenToggle)})});Yg.displayName=Gg;var Ru="CollapsibleContent",Xg=x.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ju(Ru,e.__scopeCollapsible);return u.jsx(ai,{present:n||o.open,children:({present:a})=>u.jsx(XE,{...r,ref:t,present:a})})});Xg.displayName=Ru;var XE=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...a}=e,s=ju(Ru,n),[i,l]=x.useState(r),c=x.useRef(null),d=Ze(t,c),f=x.useRef(0),h=f.current,p=x.useRef(0),b=p.current,v=s.open||i,w=x.useRef(v),g=x.useRef(void 0);return x.useEffect(()=>{const m=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(m)},[]),It(()=>{const m=c.current;if(m){g.current=g.current||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const y=m.getBoundingClientRect();f.current=y.height,p.current=y.width,w.current||(m.style.transitionDuration=g.current.transitionDuration,m.style.animationName=g.current.animationName),l(r)}},[s.open,r]),u.jsx(be.div,{"data-state":Tu(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!v,...a,ref:d,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:v&&o})});function Tu(e){return e?"open":"closed"}var ZE=Kg,JE=Yg,eS=Xg,tS=x.createContext(void 0);function nS(e){const t=x.useContext(tS);return e||t||"ltr"}var Pt="Accordion",rS=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Au,oS,aS]=jh(Pt),[hi,$S]=lo(Pt,[aS,Qg]),zu=Qg(),Zg=T.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,a=r;return u.jsx(Au.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?u.jsx(cS,{...a,ref:t}):u.jsx(lS,{...o,ref:t})})});Zg.displayName=Pt;var[Jg,sS]=hi(Pt),[ey,iS]=hi(Pt,{collapsible:!1}),lS=T.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:a=!1,...s}=e,[i,l]=si({prop:n,defaultProp:r??"",onChange:o,caller:Pt});return u.jsx(Jg,{scope:e.__scopeAccordion,value:T.useMemo(()=>i?[i]:[],[i]),onItemOpen:l,onItemClose:T.useCallback(()=>a&&l(""),[a,l]),children:u.jsx(ey,{scope:e.__scopeAccordion,collapsible:a,children:u.jsx(ty,{...s,ref:t})})})}),cS=T.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[s,i]=si({prop:n,defaultProp:r??[],onChange:o,caller:Pt}),l=T.useCallback(d=>i((f=[])=>[...f,d]),[i]),c=T.useCallback(d=>i((f=[])=>f.filter(h=>h!==d)),[i]);return u.jsx(Jg,{scope:e.__scopeAccordion,value:s,onItemOpen:l,onItemClose:c,children:u.jsx(ey,{scope:e.__scopeAccordion,collapsible:!0,children:u.jsx(ty,{...a,ref:t})})})}),[uS,gi]=hi(Pt),ty=T.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:a="vertical",...s}=e,i=T.useRef(null),l=Ze(i,t),c=oS(n),f=nS(o)==="ltr",h=he(e.onKeyDown,p=>{var R;if(!rS.includes(p.key))return;const b=p.target,v=c().filter(O=>{var z;return!((z=O.ref.current)!=null&&z.disabled)}),w=v.findIndex(O=>O.ref.current===b),g=v.length;if(w===-1)return;p.preventDefault();let m=w;const y=0,C=g-1,E=()=>{m=w+1,m>C&&(m=y)},S=()=>{m=w-1,m{const{__scopeAccordion:n,value:r,...o}=e,a=gi(Fs,n),s=sS(Fs,n),i=zu(n),l=hg(),c=r&&s.value.includes(r)||!1,d=a.disabled||e.disabled;return u.jsx(dS,{scope:n,open:c,disabled:d,triggerId:l,children:u.jsx(ZE,{"data-orientation":a.orientation,"data-state":ly(c),...i,...o,ref:t,disabled:d,open:c,onOpenChange:f=>{f?s.onItemOpen(r):s.onItemClose(r)}})})});ny.displayName=Fs;var ry="AccordionHeader",oy=T.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=gi(Pt,n),a=Ou(ry,n);return u.jsx(be.h3,{"data-orientation":o.orientation,"data-state":ly(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:t})});oy.displayName=ry;var fc="AccordionTrigger",ay=T.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=gi(Pt,n),a=Ou(fc,n),s=iS(fc,n),i=zu(n);return u.jsx(Au.ItemSlot,{scope:n,children:u.jsx(JE,{"aria-disabled":a.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...i,...r,ref:t})})});ay.displayName=fc;var sy="AccordionContent",iy=T.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=gi(Pt,n),a=Ou(sy,n),s=zu(n);return u.jsx(eS,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...s,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});iy.displayName=sy;function ly(e){return e?"open":"closed"}var fS=Zg,pS=ny,mS=oy,cy=ay,uy=iy;const dy=fS,_u=x.forwardRef(({className:e,...t},n)=>u.jsx(pS,{ref:n,className:Dt("border-b",e),...t}));_u.displayName="AccordionItem";const Lu=x.forwardRef(({className:e,children:t,...n},r)=>u.jsx(mS,{className:"flex",children:u.jsxs(cy,{ref:r,className:Dt("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,u.jsx(rb,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));Lu.displayName=cy.displayName;const Iu=x.forwardRef(({className:e,children:t,...n},r)=>u.jsx(uy,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:u.jsx("div",{className:Dt("pb-4 pt-0",e),children:t})}));Iu.displayName=uy.displayName;const hS="/assets/bonds-handshake-xxfQ5dKc.jpg",gS="/assets/industrial-D-U_MBws.jpg",yS="/assets/machinery-equipment-BtQRQ3fz.jpg",vS="/assets/automotor-D0Z_G8fL.jpg",xS="/assets/accidentes-personales-C5R9Slox.jpg",wS=[{icon:eb,title:"Seguro de Construcción en Paraguay (CAR y EAR)",img:Hg,imgAlt:"Obra de construcción asegurada en Paraguay",description:`El seguro de construcción en Paraguay, bajo las modalidades CAR (Contractor's All Risks) y EAR (Erection All Risks), protege obras civiles y proyectos de montaje industrial contra daños materiales imprevistos durante su ejecución. Estas pólizas cubren riesgos como errores constructivos, riesgos de diseño (cuando se incluyen coberturas adicionales o extensiones específicas), eventos naturales, robo y daños accidentales, incluyendo además la responsabilidad civil frente a terceros dentro del proyecto. › Solicite asesoría técnica con Interseguros para estructurar correctamente su seguro de construcción en Paraguay.`,faqs:[{q:"¿Qué es un seguro de construcción CAR en Paraguay?",a:'Un seguro CAR (Construction All Risks) en Paraguay es una póliza "todo riesgo" diseñada para proteger proyectos de construcción civil durante su ejecución. Cubre daños materiales accidentales a la obra, eventos naturales, robo de materiales y responsabilidad civil frente a terceros. Es requerido en licitaciones públicas y altamente recomendado en proyectos privados.'},{q:"¿Qué cubre un seguro CAR en Paraguay?",a:`Un seguro CAR cubre, de forma integral: ✅ Daños materiales accidentales en la obra ✅ Riesgos de diseño (mediante endosos específicos) ✅ Eventos naturales (lluvia, viento, inundación) ✅ Robo de materiales en obra ✅ Responsabilidad civil a terceros ✅ Daños a equipos asociados al proyecto 👉 Es una cobertura "todo riesgo": cubre todo lo no excluido expresamente.`},{q:"¿Qué NO cubre un seguro de construcción?",a:`Las exclusiones típicas de un seguro CAR incluyen: ❌ Desgaste normal y deterioro gradual ❌ Vicios ocultos de diseño (salvo extensión específica) ❌ Daños por guerra o conflicto armado ❌ Penalidades contractuales ❌ Daños intencionales 📌 Es clave revisar las exclusiones con un corredor de seguros especializado.`},{q:"¿Cuánto cuesta un seguro de construcción en Paraguay?",a:`La prima de un seguro de construcción en Paraguay oscila entre 0.15% y 0.5% del valor total del proyecto. El costo depende de: ✅ Valor total de la obra ✅ Tipo de construcción ✅ Duración del proyecto ✅ Ubicación y nivel de riesgo ✅ Coberturas adicionales 📌 Recomendación: una correcta estructuración evita subasegurar la obra y previene pérdidas significativas.`},{q:"Errores comunes al contratar un seguro de construcción",a:`Los errores más frecuentes al asegurar una obra en Paraguay: ❌ Subasegurar el valor de la obra ❌ No incluir responsabilidad civil ❌ No evaluar riesgos de diseño ❌ No asegurar el período de mantenimiento ❌ No trabajar con un corredor especializado`}]},{icon:rg,title:"Fianzas y Cauciones en Paraguay (Seguro de Caución)",img:hS,imgAlt:"Firma de contrato de fianza y caución en Paraguay",description:`Las fianzas en Paraguay son garantías legales que aseguran el cumplimiento de obligaciones contractuales, especialmente en licitaciones públicas pero también contratos privados de construcción, servicios y suministros. En el ámbito asegurador, esta garantía se instrumenta como una póliza de caución, utilizada para respaldar compromisos contractuales en proyectos públicos y privados. La emisión de fianzas y pólizas de caución en Paraguay requiere un análisis técnico, legal y financiero del contratista, incluyendo la entrega de documentación legal, técnica y financiera. Una correcta estructuración es clave para evitar rechazos o demoras, por lo que es fundamental contar con un corredor de seguros en Paraguay con experiencia en cauciones, que compare aseguradoras y diseñe la mejor solución según el riesgo y el tipo de contrato. › Solicite asesoría técnica con Interseguros para estructurar correctamente sus líneas de caución en Paraguay.`,faqs:[{q:"¿Qué es una fianza en Paraguay?",a:"Una fianza en Paraguay es un contrato de garantía mediante el cual una compañía aseguradora respalda el cumplimiento de una obligación contractual asumida por una empresa o contratista. Si el contratista incumple, la aseguradora responde ante el beneficiario por el monto garantizado. Es un instrumento fundamental en licitaciones públicas y contratos de obra."},{q:"¿Qué cubre una fianza o caución?",a:`Una fianza en Paraguay garantiza obligaciones como: ✅ Mantenimiento de oferta en licitaciones ✅ Cumplimiento de contrato ✅ Correcta inversión de anticipos ✅ Fondo de reparo (garantía de buena ejecución) ✅ Garantías aduaneras`},{q:"¿Qué NO cubre una fianza?",a:`Las fianzas en Paraguay no cubren: ❌ Incumplimiento del contratante (beneficiario) ❌ Eventos de fuerza mayor no previstos en el contrato ❌ Daños a terceros (requiere seguro de responsabilidad civil) ❌ Situaciones donde el incumplimiento se debe a acciones del propio beneficiario`},{q:"¿Cuánto tarda una fianza en Paraguay?",a:"Con documentación completa, la emisión toma entre 3 y 5 días hábiles. Esto depende de la evaluación financiera del solicitante, análisis del contrato y línea de crédito aprobada con la aseguradora."},{q:"¿Qué tipos de fianzas se utilizan en Paraguay?",a:`Los tipos más utilizados son: ✅ Fianza de licitación ✅ Fianza de cumplimiento de contrato ✅ Fianza de anticipo ✅ Fianza de fondo de reparo`}]},{icon:lb,title:"Seguros Industriales en Paraguay",img:gS,imgAlt:"Planta industrial asegurada en Paraguay",description:`Los seguros industriales en Paraguay protegen plantas de producción, maquinaria, inventarios y operaciones contra todo riesgo operativo, incluyendo incendio, explosión, avería de maquinaria y lucro cesante. Son esenciales para manufactura, agroindustria, industria alimentaria, sector energético y logística. Complementan el seguro de maquinaria en Paraguay para una protección integral de sus activos productivos. › Solicite asesoría técnica con Interseguros para estructurar correctamente su seguro industrial en Paraguay.`,faqs:[{q:"¿Qué es un seguro industrial en Paraguay?",a:"Un seguro industrial en Paraguay es una póliza diseñada para proteger plantas de producción, fábricas y operaciones industriales contra riesgos como incendio, explosión, avería de maquinaria, daños por agua y fenómenos naturales. Es fundamental para empresas manufactureras, agroindustriales y del sector energético que operan en Paraguay."},{q:"¿Qué cubre un seguro industrial en Paraguay?",a:`Un seguro industrial cubre: ✅ Daños a instalaciones y edificios ✅ Maquinaria y equipos industriales ✅ Materias primas y productos terminados ✅ Responsabilidad civil ✅ Lucro cesante (pérdida de ingresos) ✅ Avería de maquinaria ✅ Riesgos ambientales`},{q:"¿Qué NO cubre un seguro industrial?",a:`Las exclusiones típicas incluyen: ❌ Desgaste normal por uso ❌ Daños intencionales ❌ Falta de mantenimiento comprobada ❌ Guerra y conflictos armados ❌ Contaminación gradual (salvo extensión) 📌 Cada industria tiene riesgos específicos que requieren análisis especializado.`},{q:"¿Qué es un seguro todo riesgo operativo?",a:"Es una póliza integral que cubre todos los riesgos no específicamente excluidos en una planta industrial. Ofrece la protección más amplia para operaciones industriales en Paraguay, cubriendo daños materiales a instalaciones, maquinaria y existencias, responsabilidad civil y lucro cesante (pérdida de ingresos) en una sola póliza."},{q:"Errores comunes al contratar seguros industriales",a:`Los errores más frecuentes: ❌ No incluir lucro cesante ❌ Subvalorar inventarios ❌ No realizar inspecciones de riesgo ❌ Ignorar riesgos ambientales ❌ No actualizar coberturas al crecer la operación`}]},{icon:ib,title:"Seguro de Maquinaria en Paraguay (Equipo Pesado y Contratistas)",img:yS,imgAlt:"Excavadora y maquinaria pesada asegurada en Paraguay",description:`El seguro de maquinaria en Paraguay protege equipos móviles y maquinaria pesada contra daños físicos imprevistos durante su operación, traslado o reposo. Es una cobertura clave para constructoras, contratistas y empresas industriales. Esta póliza complementa el seguro de construcción en Paraguay y puede combinarse con fianzas en Paraguay para una protección integral de su proyecto. › Solicite asesoría técnica con Interseguros para estructurar correctamente su seguro de maquinaria en Paraguay.`,faqs:[{q:"¿Qué es un seguro de maquinaria en Paraguay?",a:'Un seguro de maquinaria en Paraguay es una póliza "todo riesgo" que protege equipos pesados y maquinaria móvil contra daños accidentales durante su operación, traslado o reposo. Cubre excavadoras, grúas, retroexcavadoras, motoniveladoras, cargadores frontales y todo equipo utilizado en obras de construcción e industria.'},{q:"¿Qué cubre un seguro de maquinaria en Paraguay?",a:`Un seguro de maquinaria cubre: ✅ Daños por vuelco, colisión o impacto ✅ Incendio y explosión ✅ Robo total o parcial ✅ Daños por operación incorrecta ✅ Daños durante transporte ✅ Eventos naturales ✅ Daños internos accidentales (rotura súbita)`},{q:"¿Qué NO cubre un seguro de maquinaria?",a:`Las exclusiones típicas incluyen: ❌ Desgaste normal por uso ❌ Fallas mecánicas progresivas ❌ Deterioro gradual ❌ Mantenimiento deficiente ❌ Vicios ocultos de fabricación ❌ Daños intencionales 📌 Incluir daños internos accidentales amplía significativamente la protección.`},{q:"¿El seguro de maquinaria cubre fallas mecánicas?",a:"No cubre desgaste normal ni fallas progresivas. Sin embargo, puede cubrir daños internos accidentales (rotura súbita de piezas), según la estructura de la póliza."},{q:"¿Cuánto cuesta un seguro de maquinaria en Paraguay?",a:`La prima oscila entre 1% y 4% anual del valor del equipo. El costo depende de: ✅ Valor del equipo ✅ Tipo y uso de la maquinaria ✅ Antigüedad del equipo ✅ Ubicación de operación ✅ Coberturas contratadas`},{q:"¿Qué maquinaria se puede asegurar?",a:`Se puede asegurar todo tipo de equipo pesado: ✅ Excavadoras ✅ Retroexcavadoras ✅ Grúas ✅ Motoniveladoras ✅ Cargadores frontales ✅ Equipos industriales y de montaje 👉 Cualquier maquinaria con valor asegurable puede ser cubierta.`},{q:"Errores comunes al asegurar maquinaria",a:`Los errores más frecuentes: ❌ No incluir daños internos accidentales ❌ Subvaluar los equipos (genera infraseguro) ❌ No cubrir el transporte entre obras ❌ Ignorar exclusiones de la póliza ❌ No trabajar con un corredor especializado`}]},{icon:tb,title:"Seguro Automotor en Paraguay",img:vS,imgAlt:"Vehículo asegurado con seguro automotor en Paraguay",description:`El seguro automotor en Paraguay protege vehículos particulares, flotas empresariales y utilitarios contra daños propios, robo, responsabilidad civil y accidentes de tránsito. Es una cobertura fundamental para empresas constructoras y contratistas que operan flotas de vehículos en sus proyectos. Complementa el seguro de maquinaria en Paraguay para proteger todos sus activos móviles. › Solicite asesoría técnica con Interseguros para estructurar correctamente su seguro automotor en Paraguay.`,faqs:[{q:"¿Qué es un seguro automotor en Paraguay?",a:"Un seguro automotor en Paraguay es una póliza que protege vehículos contra daños propios, robo, incendio, responsabilidad civil y accidentes de tránsito. Puede contratarse como cobertura básica (solo responsabilidad civil frente a terceros) o como póliza todo riesgo que incluye daños propios, robo y coberturas adicionales."},{q:"¿Qué cubre un seguro automotor en Paraguay?",a:`Un seguro automotor puede cubrir: ✅ Daños propios por colisión o vuelco ✅ Robo total y parcial ✅ Incendio ✅ Responsabilidad civil a terceros ✅ Daños a pasajeros ✅ Asistencia en ruta ✅ Granizo y eventos naturales ✅ Destrucción total`},{q:"¿Qué NO cubre un seguro automotor?",a:`Las exclusiones típicas incluyen: ❌ Desgaste normal y mantenimiento ❌ Conducción bajo efectos de alcohol o drogas ❌ Uso del vehículo para fines no declarados ❌ Daños intencionales ❌ Carreras o competiciones ❌ Conductor sin licencia válida`},{q:"¿Cuánto cuesta un seguro automotor en Paraguay?",a:`El costo depende del valor del vehículo, marca, modelo, año, uso, zona de circulación y tipo de cobertura. Generalmente oscila entre 2% y 6% anual del valor del vehículo. 📌 Flotas empresariales obtienen descuentos por volumen.`},{q:"Errores comunes al contratar seguro automotor",a:`Los errores más frecuentes: ❌ No declarar el uso real del vehículo ❌ Elegir cobertura insuficiente por ahorrar ❌ No incluir responsabilidad civil adecuada ❌ No actualizar el valor asegurado anualmente ❌ Desconocer las exclusiones de la póliza 👉 Cotice su seguro automotor en Paraguay con Interseguros.`}]},{icon:cb,title:"Seguro de Accidentes Personales en Paraguay",img:xS,imgAlt:"Trabajador protegido con seguro de accidentes personales en Paraguay",description:`El seguro de accidentes personales en Paraguay brinda protección financiera ante lesiones corporales causadas por accidentes, cubriendo gastos médicos, incapacidad temporal o permanente y fallecimiento accidental. Es especialmente relevante para empresas del sector de construcción e industria, donde los trabajadores están expuestos a riesgos físicos significativos. Complementa los seguros de construcción en Paraguay y seguros industriales. › Solicite asesoría técnica con Interseguros para estructurar correctamente su seguro de accidentes personales en Paraguay.`,faqs:[{q:"¿Qué es un seguro de accidentes personales en Paraguay?",a:"Un seguro de accidentes personales en Paraguay es una póliza que indemniza al asegurado o sus beneficiarios ante lesiones corporales, incapacidad o fallecimiento causados por un accidente. Cubre tanto accidentes laborales como extralaborales, siendo especialmente importante para trabajadores del sector de construcción e industria."},{q:"¿Qué cubre un seguro de accidentes personales?",a:`Un seguro de accidentes personales cubre: ✅ Fallecimiento accidental ✅ Incapacidad total y permanente ✅ Incapacidad parcial y permanente ✅ Gastos médicos por accidente ✅ Gastos de sepelio ✅ Indemnización diaria por hospitalización`},{q:"¿Qué NO cubre un seguro de accidentes personales?",a:`Las exclusiones típicas incluyen: ❌ Enfermedades (no son accidentes) ❌ Lesiones autoinfligidas ❌ Participación en actividades ilegales ❌ Efectos de alcohol o drogas ❌ Deportes extremos (salvo extensión) ❌ Condiciones preexistentes`},{q:"¿Cuánto cuesta un seguro de accidentes personales en Paraguay?",a:`El costo depende del capital asegurado, la actividad profesional del asegurado (riesgo ocupacional), la edad y la cantidad de personas cubiertas. Para grupos empresariales, se otorgan tarifas preferenciales. 📌 Empresas del sector construcción e industria deben considerar esta cobertura como complemento esencial.`},{q:"Errores comunes al contratar seguro de accidentes personales",a:`Los errores más frecuentes: ❌ No incluir incapacidad parcial y permanente ❌ Contratar capitales insuficientes ❌ No cubrir gastos médicos ❌ Desconocer el alcance de las exclusiones ❌ No actualizar la nómina de asegurados 👉 Proteja a su equipo con Interseguros: cotice su seguro de accidentes personales en Paraguay.`}]}],Df={"✅":{icon:ng,className:"text-accent"},"❌":{icon:sb,className:"text-muted-foreground/60"},"👉":{icon:ob,className:"text-primary"},"📌":{icon:ab,className:"text-primary"}};function bS({text:e}){const t=e.split(` `);return u.jsx("div",{className:"space-y-1.5",children:t.map((n,r)=>{const o=n.trim();if(!o)return null;const a=Object.keys(Df).find(s=>o.startsWith(s));if(a){const{icon:s,className:i}=Df[a],l=o.slice(a.length).trim();return u.jsxs("div",{className:"flex items-start gap-2",children:[u.jsx(s,{className:`w-4 h-4 flex-shrink-0 mt-0.5 ${i}`,strokeWidth:2}),u.jsx("span",{className:"text-sm text-muted-foreground leading-relaxed",children:l})]},r)}return u.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:o},r)})})}function CS(){return u.jsx("section",{id:"servicios",className:"py-24 bg-card",children:u.jsxs("div",{className:"max-w-7xl mx-auto section-padding",children:[u.jsxs("div",{className:"text-center mb-16 reveal",children:[u.jsx("p",{className:"text-sm font-semibold text-accent uppercase tracking-wider mb-3",children:"Nuestros seguros"}),u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground leading-tight",children:"Seguros especializados en Paraguay"})]}),u.jsx("div",{className:"space-y-20",children:wS.map((e,t)=>u.jsxs("div",{id:`servicio-${t}`,children:[u.jsxs("div",{className:"reveal grid lg:grid-cols-2 gap-12 items-start",style:{transitionDelay:`${t*80}ms`},children:[u.jsxs("div",{className:t%2===1?"lg:order-2":"",children:[u.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[u.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/10 border border-primary/20 flex items-center justify-center",children:u.jsx(e.icon,{className:"w-6 h-6 text-primary",strokeWidth:1.8})}),u.jsx("h3",{className:"text-2xl font-bold text-primary",children:e.title})]}),u.jsx("div",{className:"text-muted-foreground leading-relaxed mb-6",children:e.description.split(` `).map((n,r)=>{const o=n.startsWith("›");return u.jsx("p",{className:`${r>0?"mt-4":""} ${o?"font-bold text-foreground":""}`,children:n},r)})}),u.jsx(dy,{type:"single",collapsible:!0,className:"w-full",children:e.faqs.map((n,r)=>u.jsxs(_u,{value:`faq-${t}-${r}`,children:[u.jsx(Lu,{className:"text-sm font-medium text-foreground text-left",children:n.q}),u.jsx(Iu,{className:"text-sm text-muted-foreground leading-relaxed",children:u.jsx(bS,{text:n.a})})]},r))})]}),u.jsxs("div",{className:`relative overflow-hidden rounded-lg shadow-md ${t%2===1?"lg:order-1":""}`,children:[u.jsx("img",{src:e.img,alt:e.imgAlt,className:"w-full object-cover aspect-[16/10] img-matte",loading:"lazy"}),u.jsx("div",{className:`absolute inset-0 ${t%6===0?"bg-accent/40":t%6===1?"bg-primary/30":t%6===2?"bg-accent/35":t%6===3?"bg-primary/25":t%6===4?"bg-accent/30":"bg-primary/35"} mix-blend-multiply`}),u.jsx("img",{src:Nu,alt:"",className:"absolute bottom-4 right-4 h-16 opacity-40 pointer-events-none select-none","aria-hidden":"true"})]})]}),u.jsx("div",{className:"text-center mt-12 reveal",children:u.jsx("a",{href:"#contacto",className:"inline-block bg-primary text-primary-foreground font-bold text-lg px-10 py-4 rounded-lg hover:opacity-90 transition-opacity active:scale-[0.97] shadow-md",children:"Solicitar Asesoría Especializada"})})]},e.title))})]})})}const ES=[{icon:gb,text:"Analizamos riesgos técnicos"},{icon:mb,text:"Diseñamos coberturas óptimas"},{icon:nb,text:"Comparamos aseguradoras en Paraguay"},{icon:rg,text:"Gestionamos siniestros y reclamos"}];function SS(){return u.jsxs("section",{className:"py-24 bg-accent relative overflow-hidden",children:[u.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:"radial-gradient(circle at 1px 1px, hsl(var(--primary-foreground)) 1px, transparent 0)",backgroundSize:"32px 32px"}}),u.jsx("div",{className:"max-w-5xl mx-auto section-padding relative z-10",children:u.jsxs("div",{className:"reveal text-center",children:[u.jsx("p",{className:"text-sm font-semibold text-primary uppercase tracking-[0.25em] mb-4",children:"¿Por qué elegirnos?"}),u.jsxs("h2",{className:"text-5xl md:text-6xl lg:text-7xl font-bold text-primary-foreground tracking-tight mb-4",children:["SERVICIO ",u.jsx("span",{className:"text-primary",children:"360"})]}),u.jsx("p",{className:"text-accent-foreground/70 text-base md:text-lg max-w-xl mx-auto mb-14",children:"Acompañamiento integral en cada etapa de su seguro"}),u.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-6 md:gap-8",children:ES.map((e,t)=>u.jsxs("div",{className:"reveal flex flex-col items-center text-center gap-4",style:{transitionDelay:`${t*100}ms`},children:[u.jsx("div",{className:"w-14 h-14 rounded-full bg-primary/15 border border-primary/30 flex items-center justify-center",children:u.jsx(e.icon,{className:"w-6 h-6 text-primary"})}),u.jsx("p",{className:"text-sm md:text-base font-semibold text-primary-foreground leading-snug",children:e.text})]},t))})]})})]})}const fy=[{q:"¿Qué cubre un seguro CAR en Paraguay?",a:'Un seguro CAR (Construction All Risks) en Paraguay cubre daños materiales accidentales a la obra en construcción, incluyendo eventos naturales, robo de materiales, errores constructivos y responsabilidad civil frente a terceros. Es una póliza "todo riesgo" que protege durante toda la ejecución del proyecto.'},{q:"¿Cuánto cuesta un seguro de construcción en Paraguay?",a:"La prima de un seguro de construcción en Paraguay oscila entre el 0.15% y el 0.5% del valor total del proyecto. El costo depende del tipo de obra, duración, ubicación, nivel de riesgo y coberturas adicionales contratadas."},{q:"¿El seguro de maquinaria cubre fallas mecánicas?",a:"No. El seguro de maquinaria no cubre desgaste normal ni fallas mecánicas progresivas. Sin embargo, puede cubrir daños internos accidentales como la rotura súbita de piezas, siempre que se incluya esta extensión en la póliza."},{q:"¿Qué es una fianza en Paraguay?",a:"Una fianza es un contrato de garantía donde una aseguradora respalda el cumplimiento de obligaciones contractuales. Si el contratista incumple, la aseguradora responde ante el beneficiario. Se utiliza ampliamente en licitaciones públicas y contratos de obra."},{q:"¿Cuánto tarda una caución en Paraguay?",a:"Con documentación completa (estados financieros, contrato, RUC e información legal), la emisión de una fianza en Paraguay toma entre 3 y 5 días hábiles. Empresas con línea de crédito preaprobada pueden obtener emisión en menor tiempo."},{q:"¿Qué cubre un seguro industrial en Paraguay?",a:"Un seguro industrial cubre daños a instalaciones, maquinaria, inventarios, responsabilidad civil, lucro cesante y avería de maquinaria. Protege plantas de producción, fábricas y operaciones contra incendio, explosión, eventos naturales y riesgos operativos."},{q:"¿Qué cubre un seguro automotor en Paraguay?",a:"Un seguro automotor en Paraguay puede cubrir daños propios por colisión, robo total y parcial, incendio, responsabilidad civil a terceros, daños a pasajeros, asistencia en ruta y destrucción total. La cobertura varía según el plan contratado."},{q:"¿Qué cubre un seguro de accidentes personales en Paraguay?",a:"Cubre fallecimiento accidental, incapacidad total y permanente, incapacidad parcial, gastos médicos por accidente, gastos de sepelio e indemnización diaria por hospitalización. No cubre enfermedades ni condiciones preexistentes."},{q:"¿Cuál es la diferencia entre agente y corredor de seguros?",a:"Un agente representa a una aseguradora específica y vende sus productos. Un corredor de seguros representa al cliente, compara múltiples aseguradoras y recomienda la mejor opción. Interseguros opera como corredor independiente autorizado por el Banco Central del Paraguay."},{q:"¿Cómo cotizar un seguro en Paraguay?",a:"Contacte a un corredor de seguros independiente como Interseguros. Proporciónele la información de su proyecto o necesidad (valor, tipo, plazo, ubicación) y recibirá cotizaciones comparativas de múltiples aseguradoras en menos de 24 horas."},{q:"¿Qué es un seguro todo riesgo operativo en Paraguay?",a:"Es una póliza integral que cubre todos los riesgos no específicamente excluidos en plantas industriales, incluyendo daños materiales, responsabilidad civil, lucro cesante y avería de maquinaria. Ofrece la protección más amplia para operaciones productivas."},{q:"¿Qué seguros necesita una empresa constructora en Paraguay?",a:"Una empresa constructora en Paraguay necesita un programa integral: seguro de construcción CAR/EAR para cada obra, fianzas para licitaciones públicas, seguro de maquinaria para equipos pesados, seguro de accidentes personales para trabajadores, seguro automotor para la flota y seguro de responsabilidad civil. Un corredor como Interseguros diseña el programa completo."},{q:"¿Cómo elegir el mejor corredor de seguros en Paraguay?",a:"Evalúe su independencia (que no represente a una sola aseguradora), su autorización del Banco Central del Paraguay, su experiencia en su sector, la cantidad de aseguradoras con las que trabaja y su capacidad de asesoría técnica en siniestros. Un buen corredor analiza riesgos y diseña soluciones, no solo vende pólizas."},{q:"¿Qué es un seguro de maquinaria de construcción en Paraguay?",a:"Es una póliza todo riesgo que protege equipos pesados como excavadoras, grúas, retroexcavadoras y cargadores frontales contra daños accidentales, robo, incendio y eventos naturales durante su operación, traslado o reposo en obra."},{q:"¿Qué es un seguro de caución en Paraguay?",a:"Es una garantía emitida por una aseguradora que respalda el cumplimiento de obligaciones contractuales. Se utiliza en licitaciones públicas para garantizar mantenimiento de oferta, cumplimiento de contrato, correcta inversión de anticipos y fondo de reparo."},{q:"¿Cuánto cuesta un seguro de maquinaria en Paraguay?",a:"La prima de un seguro de maquinaria en Paraguay oscila entre el 1% y el 4% anual del valor del equipo. El costo depende del tipo de maquinaria, antigüedad, uso previsto, ubicación y coberturas adicionales. Trabajar con un corredor permite obtener las mejores condiciones del mercado."},{q:"¿Qué es un seguro de responsabilidad civil en Paraguay?",a:"Es una póliza que protege al asegurado contra reclamaciones de terceros por daños corporales o materiales causados involuntariamente. Es esencial para constructoras, industrias y profesionales. Cubre gastos legales, indemnizaciones y costos de defensa."},{q:"¿Qué fianzas se necesitan para licitaciones públicas en Paraguay?",a:"Para licitaciones públicas en Paraguay se requieren: fianza de mantenimiento de oferta (5% del monto), fianza de cumplimiento de contrato (10% del monto), fianza de anticipo (100% del adelanto) y seguro de construcción CAR antes de iniciar la obra."}];function PS(){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:fy.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))}}function kS(){return x.useEffect(()=>{const e="global-faq-schema";if(!document.getElementById(e)){const n=document.createElement("script");n.id=e,n.type="application/ld+json",n.textContent=JSON.stringify(PS()),document.head.appendChild(n)}return()=>{const n=document.getElementById(e);n&&n.remove()}},[]),u.jsx("section",{id:"preguntas-frecuentes",className:"py-24 bg-warm-gray",children:u.jsxs("div",{className:"max-w-3xl mx-auto section-padding",children:[u.jsxs("div",{className:"text-center mb-16 reveal",children:[u.jsx("p",{className:"text-sm font-semibold text-accent uppercase tracking-wider mb-3",children:"Preguntas frecuentes"}),u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground leading-tight",children:"Preguntas Frecuentes sobre Seguros en Paraguay"})]}),u.jsx(dy,{type:"single",collapsible:!0,className:"w-full reveal",children:fy.map((e,t)=>u.jsxs(_u,{value:`global-faq-${t}`,children:[u.jsx(Lu,{className:"text-sm font-medium text-foreground text-left",children:e.q}),u.jsx(Iu,{className:"text-sm text-muted-foreground leading-relaxed",children:e.a})]},t))}),u.jsxs("div",{className:"text-center mt-12 reveal",children:[u.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"¿Tiene otra consulta? Nuestro equipo de especialistas está listo para ayudarle."}),u.jsx("a",{href:"#contacto",className:"inline-block bg-primary text-primary-foreground font-semibold px-8 py-4 rounded-md hover:opacity-90 transition-opacity active:scale-[0.97]",children:"Solicitar Cotización"})]})]})})}const pc=[{slug:"que-es-seguro-car-paraguay",title:"Qué es un Seguro CAR en Paraguay",category:"Construcción",metaDescription:"Conozca qué es un seguro CAR (Construction All Risks) en Paraguay, qué cubre, quién lo necesita y cómo contratarlo con un corredor de seguros.",sections:[{heading:"Definición del Seguro CAR",content:"El seguro CAR (Construction All Risks) es una póliza diseñada específicamente para proteger proyectos de construcción durante su ejecución. En Paraguay, este seguro es frecuentemente requerido por entidades públicas y privadas como condición para iniciar obras de infraestructura. Cubre daños materiales a la obra, materiales de construcción, equipo y maquinaria en el sitio, así como responsabilidad civil frente a terceros."},{heading:"¿Quién necesita un seguro CAR?",content:"Todo contratista, desarrollador inmobiliario o empresa constructora que ejecute obras civiles en Paraguay debería contar con un seguro CAR. Es obligatorio en licitaciones públicas y altamente recomendado en proyectos privados. Protege tanto al contratista como al propietario de la obra contra pérdidas financieras por eventos imprevistos como incendios, inundaciones, sismos, robos y accidentes en obra."},{heading:"Coberturas principales",content:"Las coberturas típicas incluyen: daños a la obra en construcción, daños a materiales y suministros almacenados en el sitio, daños a equipo de construcción, gastos de remoción de escombros, responsabilidad civil frente a terceros y extensión de mantenimiento. Algunas pólizas también cubren huelgas, conmoción civil y terrorismo."},{heading:"¿Cómo contratar un seguro CAR en Paraguay?",content:"Lo más recomendable es trabajar con un corredor de seguros independiente como Interseguros, que analice su proyecto específico, compare opciones entre múltiples aseguradoras y negocie las mejores condiciones. El proceso incluye la evaluación del proyecto, cotización comparativa, selección de la mejor opción y emisión de la póliza."}]},{slug:"cuanto-cuesta-seguro-construccion",title:"Cuánto Cuesta un Seguro de Construcción en Paraguay",category:"Construcción",metaDescription:"Descubra los factores que determinan el costo de un seguro de construcción en Paraguay y cómo obtener la mejor cotización.",sections:[{heading:"Factores que determinan el costo",content:"El precio de un seguro de construcción en Paraguay depende de múltiples factores: el valor total de la obra, el tipo de construcción (residencial, comercial, industrial, vial), la ubicación geográfica, el plazo de ejecución, la experiencia del contratista, las coberturas solicitadas y los deducibles elegidos."},{heading:"Rangos de precios típicos",content:"En general, la prima de un seguro de construcción en Paraguay oscila entre el 0.15% y el 0.5% del valor total del proyecto. Para obras residenciales sencillas, el costo tiende a estar en el extremo inferior. Proyectos de infraestructura complejos, como puentes, represas o plantas industriales, pueden superar el 0.5% dependiendo de los riesgos involucrados."},{heading:"Cómo reducir el costo del seguro",content:"Trabajar con un corredor de seguros permite comparar cotizaciones de múltiples aseguradoras y negociar mejores condiciones. Otros factores que ayudan a reducir la prima incluyen: implementar medidas de seguridad en obra, contar con un historial de siniestralidad favorable, elegir deducibles más altos y contratar pólizas con coberturas ajustadas a las necesidades reales del proyecto."},{heading:"Solicite su cotización",content:"En Interseguros realizamos un análisis detallado de su proyecto para ofrecerle la cotización más competitiva del mercado paraguayo. Contacte a nuestro equipo para recibir una propuesta personalizada sin compromiso."}]},{slug:"requisitos-fianzas-paraguay",title:"Requisitos para Fianzas en Paraguay",category:"Fianzas",metaDescription:"Guía completa sobre los requisitos para obtener fianzas y cauciones en Paraguay: documentación, plazos y proceso.",sections:[{heading:"¿Qué son las fianzas en Paraguay?",content:"Las fianzas son instrumentos de garantía que aseguran el cumplimiento de obligaciones contractuales. En Paraguay, son ampliamente utilizadas en licitaciones públicas, contratos de obra y acuerdos comerciales. Las aseguradoras emiten estas garantías a favor del contratante, asegurando que si el contratista no cumple, la aseguradora responde hasta el monto de la fianza."},{heading:"Documentación requerida",content:"Para obtener una fianza en Paraguay generalmente se requiere: estados financieros auditados, referencias comerciales y bancarias, contrato o pliego de condiciones, experiencia demostrada en proyectos similares, cédula tributaria vigente y formulario de solicitud de la aseguradora. Los requisitos específicos pueden variar según el monto y tipo de fianza."},{heading:"Tipos de fianzas disponibles",content:"Los tipos más comunes incluyen: fianza de mantenimiento de oferta (para licitaciones), fianza de cumplimiento de contrato, fianza de anticipo, fianza de vicios ocultos y garantía de buena ejecución. Cada tipo tiene requisitos y condiciones específicas."},{heading:"Proceso y plazos de emisión",content:"Con un corredor de seguros como Interseguros, el proceso se agiliza significativamente. Una vez recibida la documentación completa, la evaluación crediticia toma entre 2 y 3 días hábiles, y la emisión de la fianza entre 1 y 2 días adicionales. En total, el proceso puede completarse en 3 a 5 días hábiles."}]},{slug:"que-es-seguro-industrial",title:"Qué es un Seguro Industrial en Paraguay",category:"Industria",metaDescription:"Todo sobre seguros industriales en Paraguay: coberturas, tipos de pólizas y cómo proteger su planta de producción.",sections:[{heading:"Definición del seguro industrial",content:"Un seguro industrial es una póliza diseñada para proteger plantas de producción, fábricas, almacenes y operaciones industriales contra riesgos como incendio, explosión, avería de maquinaria, daños por agua, fenómenos naturales y responsabilidad civil. En Paraguay, donde el sector industrial ha crecido significativamente, estas coberturas son cada vez más importantes."},{heading:"Coberturas disponibles",content:"Las coberturas principales incluyen: incendio y riesgos aliados, todo riesgo operativo, avería de maquinaria, rotura de equipos electrónicos, responsabilidad civil, lucro cesante (pérdida de ingresos), transporte de mercaderías y riesgos ambientales. La combinación de coberturas se adapta al tipo de industria y sus riesgos específicos."},{heading:"Sectores que necesitan seguros industriales",content:"Manufactura, agroindustria, industria alimentaria, sector energético, minería, industria química, logística y almacenamiento. Cada sector tiene riesgos particulares que requieren un análisis especializado para determinar las coberturas adecuadas."},{heading:"La importancia de un corredor especializado",content:"Un corredor de seguros como Interseguros entiende las particularidades de cada industria y puede diseñar programas de seguro que cubran todos los riesgos relevantes sin pagar por coberturas innecesarias. Nuestro enfoque incluye visitas técnicas a las instalaciones y recomendaciones de prevención."}]},{slug:"diferencia-agente-corredor-seguros",title:"Diferencia entre Agente y Corredor de Seguros en Paraguay",category:"Educación",metaDescription:"Entienda la diferencia clave entre un agente de seguros y un corredor de seguros en Paraguay, y por qué un corredor le conviene más.",sections:[{heading:"¿Qué es un agente de seguros?",content:"Un agente de seguros en Paraguay es un intermediario que representa a una compañía aseguradora específica. Su función principal es comercializar los productos de esa aseguradora. Está vinculado contractualmente a una o pocas compañías, por lo que su oferta está limitada a los productos de esas empresas."},{heading:"¿Qué es un corredor de seguros?",content:"Un corredor de seguros es un profesional independiente que representa al cliente, no a la aseguradora. Tiene acceso a todo el mercado asegurador y su función es analizar los riesgos del cliente, comparar las opciones disponibles entre múltiples aseguradoras y recomendar la mejor solución en términos de cobertura y costo."},{heading:"Ventajas de trabajar con un corredor",content:"El corredor ofrece imparcialidad (no tiene compromiso con ninguna aseguradora), acceso amplio al mercado, asesoría técnica especializada, negociación de mejores condiciones, asistencia en siniestros representando sus intereses, y continuidad en el servicio independientemente de cambios en las aseguradoras."},{heading:"Interseguros: su corredor de confianza",content:"En Interseguros operamos como corredor de seguros independiente en Paraguay. Esto significa que trabajamos exclusivamente para usted. Analizamos su situación, comparamos todas las opciones del mercado y le recomendamos la cobertura más adecuada. Si busca un agente de seguros, lo que realmente necesita es un corredor que defienda sus intereses."}]},{slug:"como-asegurar-obra-paraguay",title:"Cómo Asegurar una Obra en Paraguay",category:"Construcción",metaDescription:"Guía paso a paso para asegurar una obra de construcción en Paraguay: tipos de seguros, requisitos y proceso de contratación.",sections:[{heading:"¿Por qué asegurar una obra?",content:"Asegurar una obra de construcción en Paraguay protege su inversión contra riesgos imprevistos que pueden generar pérdidas financieras significativas. Además de ser requisito en licitaciones públicas, un seguro de construcción brinda tranquilidad y credibilidad ante clientes e inversionistas."},{heading:"Tipos de seguros para obras",content:"Los principales seguros para obras en Paraguay incluyen: Seguro CAR (Construction All Risks) para obras civiles, Seguro EAR (Erection All Risks) para montajes industriales, Seguro de Responsabilidad Civil, Seguro de Equipo y Maquinaria de Construcción, y Fianzas de cumplimiento de contrato."},{heading:"Proceso paso a paso",content:"1) Defina el alcance del proyecto y su valor total. 2) Identifique los riesgos específicos de la obra. 3) Contacte a un corredor de seguros especializado como Interseguros. 4) Proporcione la documentación del proyecto (planos, presupuesto, cronograma). 5) Reciba y compare cotizaciones. 6) Seleccione la mejor opción. 7) Emita la póliza antes de iniciar la obra."},{heading:"Errores comunes al asegurar una obra",content:"Los errores más frecuentes incluyen: subasegurar el valor de la obra para ahorrar prima (esto puede resultar en coberturas insuficientes), no incluir responsabilidad civil, no asegurar el período de mantenimiento, no actualizar la póliza ante cambios en el proyecto y no trabajar con un corredor especializado que conozca los riesgos específicos del sector."}]},{slug:"que-cubre-fianza",title:"Qué Cubre una Fianza en Paraguay",category:"Fianzas",metaDescription:"Conozca qué cubre una fianza, los tipos de fianzas disponibles en Paraguay y cómo protegen al contratante en licitaciones y contratos.",sections:[{heading:"Concepto de fianza",content:"Una fianza es un contrato de garantía mediante el cual una aseguradora (fiador) se compromete ante un beneficiario (contratante) a responder por las obligaciones del tomador (contratista) en caso de incumplimiento. En Paraguay, las fianzas son fundamentales en el ámbito de la contratación pública y privada."},{heading:"Tipos de fianzas y su cobertura",content:"Fianza de mantenimiento de oferta: garantiza que el oferente mantenga su propuesta en una licitación. Fianza de cumplimiento: asegura la ejecución del contrato según los términos acordados. Fianza de anticipo: garantiza el buen uso del anticipo entregado por el contratante. Fianza de vicios ocultos: cubre defectos que puedan manifestarse después de terminada la obra."},{heading:"¿Qué no cubre una fianza?",content:"Las fianzas no cubren el incumplimiento del contratante, eventos de fuerza mayor no previstos en el contrato, daños a terceros (para eso existe el seguro de responsabilidad civil), ni situaciones donde el incumplimiento se deba a acciones del propio beneficiario."},{heading:"Proceso de ejecución",content:"Si el contratista incumple, el beneficiario notifica a la aseguradora presentando evidencia del incumplimiento. La aseguradora evalúa el reclamo y, si procede, paga el monto garantizado. Luego, la aseguradora tiene derecho de repetición contra el contratista para recuperar el monto pagado."}]},{slug:"como-funcionan-seguros-industriales",title:"Cómo Funcionan los Seguros Industriales en Paraguay",category:"Industria",metaDescription:"Guía completa sobre el funcionamiento de los seguros industriales en Paraguay: proceso de contratación, coberturas y gestión de siniestros.",sections:[{heading:"Evaluación de riesgos industriales",content:"El primer paso para contratar un seguro industrial en Paraguay es realizar una evaluación exhaustiva de los riesgos. Esto incluye inspección de las instalaciones, análisis de los procesos productivos, evaluación de las medidas de seguridad existentes, revisión del historial de siniestros y valoración de los activos a asegurar."},{heading:"Diseño del programa de seguros",content:"Con base en la evaluación de riesgos, el corredor de seguros diseña un programa que combine las coberturas necesarias: todo riesgo operativo para la planta, avería de maquinaria para equipos críticos, lucro cesante para proteger ingresos, responsabilidad civil para proteger contra reclamos de terceros y coberturas especiales según la industria."},{heading:"Gestión de siniestros",content:"En caso de siniestro, el proceso incluye: notificación inmediata a la aseguradora, documentación de los daños, inspección por parte del ajustador de seguros, presentación del reclamo formal con documentación de respaldo y liquidación del siniestro. Un corredor de seguros profesional acompaña al cliente durante todo este proceso."},{heading:"Prevención y reducción de riesgos",content:"Un buen programa de seguros industriales va más allá de la cobertura: incluye recomendaciones de prevención. En Interseguros realizamos auditorías de riesgo periódicas, proponemos mejoras en seguridad industrial y ayudamos a implementar protocolos que reduzcan la probabilidad de siniestros, lo que también contribuye a reducir las primas de seguro."}]},{slug:"seguro-maquinaria-construccion-paraguay",title:"Seguro para Maquinaria de Construcción en Paraguay",category:"Maquinaria",metaDescription:"Todo sobre el seguro de maquinaria de construcción en Paraguay: coberturas, costos, equipos asegurables y errores comunes al contratar.",sections:[{heading:"¿Qué cubre el seguro para maquinaria?",content:'El seguro de maquinaria en Paraguay protege equipos pesados como excavadoras, grúas, retroexcavadoras y cargadores contra daños accidentales, robo, incendio y eventos naturales. Es una cobertura "todo riesgo" que cubre todo lo no excluido expresamente en la póliza, incluyendo daños durante operación, traslado y reposo del equipo.'},{heading:"¿Cubre excavadoras y equipos pesados?",content:"Sí. El seguro de maquinaria en Paraguay cubre todo tipo de equipo pesado: excavadoras, retroexcavadoras, grúas, motoniveladoras, cargadores frontales, rodillos compactadores y equipos de montaje industrial. Cada equipo se asegura individualmente con su valor de reposición o valor real, según la estructura de la póliza."},{heading:"¿Cuánto cuesta asegurar maquinaria en Paraguay?",content:"La prima de un seguro de maquinaria en Paraguay oscila entre el 1% y el 4% anual del valor del equipo. El costo depende del tipo de maquinaria, su antigüedad, uso previsto, ubicación de operación y coberturas adicionales contratadas. Trabajar con un corredor de seguros como Interseguros permite obtener las mejores condiciones del mercado."},{heading:"Errores comunes al asegurar maquinaria",content:"Los errores más frecuentes incluyen: subvaluar los equipos (genera infraseguro y cobros parciales en siniestros), no incluir cobertura de daños internos accidentales, no cubrir el transporte entre obras, ignorar las exclusiones de la póliza y no trabajar con un corredor especializado en riesgos de construcción."},{heading:"Respuesta rápida",content:"El seguro de maquinaria en Paraguay cubre daños accidentales, robo e incendio de equipos pesados durante operación, traslado o reposo. No cubre desgaste normal ni fallas mecánicas progresivas. La prima oscila entre 1% y 4% anual del valor del equipo."}]},{slug:"seguro-maquinaria-cubre-fallas-mecanicas",title:"¿El Seguro de Maquinaria Cubre Fallas Mecánicas?",category:"Maquinaria",metaDescription:"Descubra si el seguro de maquinaria en Paraguay cubre fallas mecánicas, qué sí cubre, qué no cubre y cómo estructurar correctamente la cobertura.",sections:[{heading:"Respuesta directa",content:"No, el seguro de maquinaria no cubre desgaste normal ni fallas mecánicas progresivas. Sin embargo, sí puede cubrir daños internos accidentales, como la rotura súbita de piezas, siempre que se incluya esta cobertura específica en la póliza."},{heading:"Qué sí cubre el seguro de maquinaria",content:"El seguro de maquinaria en Paraguay cubre: daños por vuelco, colisión o impacto; incendio y explosión; robo total o parcial; daños por operación incorrecta; daños durante transporte; eventos naturales como inundación o tormenta; y daños internos accidentales (rotura súbita) cuando se incluye en la póliza."},{heading:"Qué no cubre el seguro de maquinaria",content:"Las exclusiones típicas incluyen: desgaste normal por uso; fallas mecánicas progresivas; deterioro gradual; mantenimiento deficiente o falta de mantenimiento; vicios ocultos de fabricación (cubiertos por garantía del fabricante); y daños intencionales."},{heading:"Cómo estructurar correctamente la cobertura",content:"Para obtener la máxima protección, es fundamental: incluir la cobertura de daños internos accidentales; asegurar el equipo por su valor real o de reposición; cubrir el transporte entre obras; y revisar cuidadosamente las exclusiones. Un corredor de seguros especializado como Interseguros puede diseñar la estructura de póliza más adecuada para su flota de maquinaria."}]},{slug:"cuanto-cuesta-seguro-maquinaria-paraguay",title:"¿Cuánto Cuesta un Seguro de Maquinaria en Paraguay?",category:"Maquinaria",metaDescription:"Conozca el precio del seguro de maquinaria en Paraguay: rangos de prima, factores que afectan el costo y consejos para reducir la inversión.",sections:[{heading:"Precio del seguro de maquinaria",content:"La prima de un seguro de maquinaria en Paraguay oscila entre el 1% y el 4% anual del valor del equipo. Por ejemplo, para una excavadora valorada en USD 150.000, la prima anual podría estar entre USD 1.500 y USD 6.000, dependiendo de las coberturas y el perfil de riesgo."},{heading:"Factores que afectan el costo",content:"Los principales factores que determinan el precio son: valor del equipo asegurado; tipo de maquinaria y uso previsto; antigüedad y estado de mantenimiento; ubicación geográfica de operación; historial de siniestros del asegurado; coberturas adicionales contratadas (daños internos, transporte); y deducibles elegidos."},{heading:"Cómo reducir el costo del seguro",content:"Estrategias para optimizar la inversión en seguro de maquinaria: mantener un programa de mantenimiento preventivo documentado; implementar medidas de seguridad (GPS, sistemas antirrobo); elegir deducibles más altos si la empresa puede absorber pérdidas menores; asegurar toda la flota con una misma aseguradora para obtener descuentos por volumen; y trabajar con un corredor que negocie las mejores condiciones del mercado."},{heading:"Respuesta rápida",content:"El seguro de maquinaria en Paraguay cuesta entre 1% y 4% anual del valor del equipo. El precio depende del tipo de maquinaria, antigüedad, uso, ubicación y coberturas. Solicite una cotización personalizada con Interseguros para obtener el mejor precio del mercado paraguayo."}]},{slug:"mejores-aseguradoras-paraguay",title:"Mejores Aseguradoras en Paraguay – Cómo Elegir la Correcta",category:"Educación",metaDescription:"Conozca las principales compañías de seguros en Paraguay y cómo un corredor independiente le ayuda a elegir la mejor opción para su empresa o proyecto.",sections:[{heading:"Panorama del mercado asegurador en Paraguay",content:"Paraguay cuenta con más de 30 compañías de seguros autorizadas por el Banco Central del Paraguay. Cada aseguradora tiene fortalezas en diferentes ramos: algunas se especializan en seguros patrimoniales, otras en seguros de personas, y varias en riesgos técnicos como construcción e industria. Conocer el mercado es clave para tomar decisiones informadas."},{heading:"¿Cómo comparar aseguradoras en Paraguay?",content:"Los criterios fundamentales para comparar compañías de seguros en Paraguay incluyen: solidez financiera y respaldo patrimonial, rapidez en la atención de siniestros, amplitud de coberturas ofrecidas, competitividad de primas, red de servicios (talleres, clínicas, proveedores) y experiencia en el ramo específico que usted necesita."},{heading:"El rol del corredor de seguros en la elección",content:"Un corredor de seguros independiente como Interseguros accede a todo el mercado asegurador paraguayo. A diferencia de un agente que representa a una sola compañía, el corredor compara objetivamente las opciones y recomienda la aseguradora que mejor se adapte a su perfil de riesgo, necesidades de cobertura y presupuesto."},{heading:"Recomendación profesional",content:"No existe una 'mejor aseguradora' universal. La mejor opción depende de su sector, tipo de riesgo y necesidades específicas. En Interseguros analizamos su situación particular y le presentamos una comparativa técnica y económica de las mejores opciones del mercado paraguayo para que usted tome la mejor decisión."}]},{slug:"seguro-responsabilidad-civil-paraguay",title:"Seguro de Responsabilidad Civil en Paraguay",category:"Industria",metaDescription:"Todo sobre el seguro de responsabilidad civil en Paraguay: qué cubre, quién lo necesita, tipos de pólizas y cómo contratarlo con un corredor especializado.",sections:[{heading:"¿Qué es un seguro de responsabilidad civil?",content:"El seguro de responsabilidad civil en Paraguay protege al asegurado contra reclamaciones de terceros por daños corporales o materiales causados involuntariamente durante el ejercicio de su actividad profesional o empresarial. Es una cobertura esencial para empresas constructoras, industrias, profesionales y cualquier negocio que interactúe con el público."},{heading:"Tipos de responsabilidad civil",content:"Existen varios tipos de seguros de responsabilidad civil en Paraguay: Responsabilidad Civil General (cubre operaciones habituales), Responsabilidad Civil Profesional (para profesionales como ingenieros, arquitectos y consultores), Responsabilidad Civil de Productos (para fabricantes y distribuidores), y Responsabilidad Civil Patronal (por accidentes laborales de empleados)."},{heading:"¿Quién necesita este seguro?",content:"Toda empresa que pueda causar daños a terceros necesita un seguro de responsabilidad civil. Es especialmente crítico para: empresas constructoras (daños a vecinos, peatones o propiedades), industrias (contaminación, emisiones, productos defectuosos), empresas de servicios (errores profesionales) y comercios (accidentes de clientes en el local)."},{heading:"Cómo contratar con Interseguros",content:"En Interseguros evaluamos su exposición a riesgos de responsabilidad civil y diseñamos la cobertura adecuada. Comparamos las opciones de múltiples aseguradoras en Paraguay para obtener la protección más amplia al mejor costo. La responsabilidad civil complementa los seguros de construcción, industriales y automotor."}]},{slug:"seguro-para-empresa-constructora-paraguay",title:"Seguros para Empresas Constructoras en Paraguay – Guía Completa",category:"Construcción",metaDescription:"Guía completa de seguros que necesita una empresa constructora en Paraguay: CAR, fianzas, maquinaria, accidentes personales, automotor y responsabilidad civil.",sections:[{heading:"¿Qué seguros necesita una constructora en Paraguay?",content:"Una empresa constructora en Paraguay necesita un programa integral de seguros que cubra todos los riesgos de su operación: seguro de construcción CAR/EAR para cada obra, fianzas para licitaciones y contratos, seguro de maquinaria para equipos pesados, seguro de accidentes personales para trabajadores, seguro automotor para la flota de vehículos y seguro de responsabilidad civil."},{heading:"Seguro de construcción CAR/EAR",content:"El seguro CAR (Construction All Risks) es obligatorio en licitaciones públicas y protege la obra durante su ejecución contra daños materiales accidentales. El seguro EAR (Erection All Risks) cubre específicamente proyectos de montaje industrial. Ambas pólizas incluyen responsabilidad civil frente a terceros y pueden extenderse al período de mantenimiento."},{heading:"Fianzas y seguros de maquinaria",content:"Las fianzas de licitación, cumplimiento, anticipo y fondo de reparo son esenciales para participar en licitaciones públicas en Paraguay. El seguro de maquinaria protege excavadoras, grúas y equipos pesados contra daños accidentales, robo e incendio. Ambas coberturas requieren una estructuración técnica especializada."},{heading:"Programa integral con Interseguros",content:"En Interseguros diseñamos programas de seguros integrales para constructoras, cubriendo todos los riesgos en una estructura coordinada. Esto permite optimizar costos, evitar vacíos de cobertura y contar con un solo interlocutor para la gestión de todas sus pólizas y siniestros en Paraguay."}]},{slug:"licitaciones-publicas-seguros-paraguay",title:"Seguros y Fianzas para Licitaciones Públicas en Paraguay",category:"Fianzas",metaDescription:"Requisitos de seguros y fianzas para participar en licitaciones públicas en Paraguay: tipos de garantías, documentación y plazos de emisión.",sections:[{heading:"Requisitos de seguros en licitaciones públicas",content:"Para participar en licitaciones públicas en Paraguay, las empresas deben presentar diferentes tipos de garantías según la etapa del proceso: fianza de mantenimiento de oferta al momento de la licitación, fianza de cumplimiento al adjudicarse el contrato, fianza de anticipo al recibir pagos adelantados, y seguro de construcción CAR/EAR antes de iniciar la obra."},{heading:"Fianza de mantenimiento de oferta",content:"Esta garantía asegura que el oferente mantendrá su propuesta durante el período de evaluación. Generalmente equivale al 5% del monto de la oferta. Si el oferente retira su propuesta o no firma el contrato al ser adjudicado, la aseguradora paga al contratante el monto garantizado."},{heading:"Fianza de cumplimiento y anticipo",content:"La fianza de cumplimiento garantiza la ejecución del contrato según los términos acordados (usualmente 10% del monto del contrato). La fianza de anticipo garantiza la correcta inversión del adelanto recibido (100% del monto anticipado). Ambas son requisitos obligatorios en la contratación pública paraguaya."},{heading:"Agilice sus garantías con Interseguros",content:"En Interseguros gestionamos fianzas y seguros para licitaciones públicas en Paraguay con la máxima agilidad. Contamos con líneas de crédito preaprobadas en múltiples aseguradoras, lo que permite emitir garantías en el menor tiempo posible. Estructuramos su capacidad de caución para que pueda participar en múltiples licitaciones simultáneas."}]},{slug:"cotizar-seguro-paraguay",title:"Cómo Cotizar un Seguro en Paraguay – Guía Paso a Paso",category:"Educación",metaDescription:"Aprenda cómo cotizar un seguro en Paraguay: proceso paso a paso, qué información necesita y por qué trabajar con un corredor independiente.",sections:[{heading:"¿Cómo funciona la cotización de seguros?",content:"Cotizar un seguro en Paraguay implica solicitar propuestas a una o varias compañías de seguros para conocer el costo y las condiciones de cobertura. El proceso incluye proporcionar información sobre el riesgo a asegurar, recibir propuestas comparativas y seleccionar la mejor opción en términos de cobertura, precio y servicio."},{heading:"Información necesaria para cotizar",content:"Dependiendo del tipo de seguro, necesitará: para seguros de construcción (valor de la obra, tipo, plazo, ubicación), para fianzas (estados financieros, contrato, documentación legal), para maquinaria (valor, tipo y uso del equipo), para automotor (datos del vehículo) y para accidentes personales (actividad y cantidad de personas)."},{heading:"Ventajas de cotizar con un corredor",content:"Cotizar directamente con una aseguradora le da acceso solo a los productos de esa compañía. Un corredor de seguros como Interseguros cotiza simultáneamente con múltiples aseguradoras en Paraguay, comparando coberturas y precios para presentarle la mejor opción objetiva. Además, el corredor negocia condiciones especiales que un cliente directo difícilmente obtiene."},{heading:"Solicite su cotización con Interseguros",content:"En Interseguros el proceso es simple: contáctenos con la información básica de su necesidad, nosotros solicitamos cotizaciones a las principales aseguradoras de Paraguay, le presentamos una comparativa técnica y económica, y usted elige la mejor opción con nuestro asesoramiento profesional. Respuesta en menos de 24 horas."}]}];function NS(){return u.jsx("section",{id:"blog",className:"py-24 bg-card",children:u.jsxs("div",{className:"max-w-7xl mx-auto section-padding",children:[u.jsxs("div",{className:"text-center mb-16 reveal",children:[u.jsx("p",{className:"text-sm font-semibold text-accent uppercase tracking-wider mb-3",children:"Blog"}),u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground leading-tight",children:"Recursos y guías sobre seguros en Paraguay"})]}),u.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:pc.map((e,t)=>u.jsxs(zr,{to:`/blog/${e.slug}`,className:"reveal group bg-secondary rounded-lg p-6 hover:shadow-md transition-shadow duration-300 border border-transparent hover:border-border",style:{transitionDelay:`${t*60}ms`},children:[u.jsx("p",{className:"text-xs text-muted-foreground mb-3 uppercase tracking-wider",children:e.category}),u.jsx("h3",{className:"text-sm font-bold text-foreground mb-3 leading-snug group-hover:text-accent transition-colors",children:e.title}),u.jsx("p",{className:"text-xs text-muted-foreground mb-3 line-clamp-2",children:e.metaDescription}),u.jsxs("span",{className:"inline-flex items-center gap-1 text-xs font-semibold text-accent",children:["Leer más ",u.jsx(Jw,{className:"w-3 h-3"})]})]},e.slug))})]})})}function jS(){return u.jsx("section",{className:"py-20 bg-accent",children:u.jsxs("div",{className:"max-w-3xl mx-auto section-padding text-center reveal",children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-accent-foreground mb-4 leading-tight",children:"PROTÉGETE ADECUADAMENTE, CONTRATA UN CORREDOR DE SEGUROS EXPERTO"}),u.jsx("p",{className:"text-accent-foreground/80 mb-8 max-w-xl mx-auto",children:"Solicite una cotización sin compromiso. Nuestro equipo de especialistas le responderá en menos de 24 horas."}),u.jsx("a",{href:"#contacto",className:"inline-block bg-primary text-primary-foreground font-semibold px-8 py-4 rounded-md hover:opacity-90 transition-opacity active:scale-[0.97]",children:"Solicitar Cotización"})]})})}function RS(){x.useEffect(()=>{const e=new IntersectionObserver(t=>{t.forEach(n=>{n.isIntersecting&&n.target.classList.add("visible")})},{threshold:.15});return document.querySelectorAll(".reveal").forEach(t=>e.observe(t)),()=>e.disconnect()},[])}const TS=()=>(RS(),u.jsxs(u.Fragment,{children:[u.jsx(uc,{}),u.jsxs("main",{children:[u.jsx(BE,{}),u.jsx(WE,{}),u.jsx(HE,{}),u.jsx(KE,{}),u.jsx(CS,{}),u.jsx(SS,{}),u.jsx(kS,{}),u.jsx(NS,{}),u.jsx(jS,{})]}),u.jsx(dc,{}),u.jsx(UE,{})]}));function AS(){const{slug:e}=Kx(),t=pc.find(o=>o.slug===e);if(x.useEffect(()=>{window.scrollTo(0,0)},[e]),x.useEffect(()=>{if(t){document.title=`${t.title} | Interseguros Paraguay`;const o=document.querySelector('meta[name="description"]');o&&o.setAttribute("content",t.metaDescription);let a=document.querySelector('link[rel="canonical"]');a&&(a.href=`https://interseguros.com.py/blog/${t.slug}`);const s="breadcrumb-schema",i=document.getElementById(s);i&&i.remove();const l=document.createElement("script");l.id=s,l.type="application/ld+json",l.textContent=JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Inicio",item:"https://interseguros.com.py/"},{"@type":"ListItem",position:2,name:"Blog",item:"https://interseguros.com.py/#blog"},{"@type":"ListItem",position:3,name:t.title,item:`https://interseguros.com.py/blog/${t.slug}`}]}),document.head.appendChild(l)}return()=>{document.title="Interseguros | Corredor de Seguros en Paraguay – Construcción, Fianzas e Industria";const o=document.querySelector('meta[name="description"]');o&&o.setAttribute("content","Interseguros: corredor de seguros autorizado por el Banco Central del Paraguay. Especialistas en seguros de construcción CAR/EAR, fianzas, cauciones y riesgos industriales. Solicite su cotización.");let a=document.querySelector('link[rel="canonical"]');a&&(a.href="https://interseguros.com.py/");const s=document.getElementById("breadcrumb-schema");s&&s.remove()}},[t]),!t)return u.jsxs(u.Fragment,{children:[u.jsx(uc,{}),u.jsx("div",{className:"min-h-screen flex items-center justify-center pt-20",children:u.jsxs("div",{className:"text-center",children:[u.jsx("h1",{className:"text-2xl font-bold text-foreground mb-4",children:"Artículo no encontrado"}),u.jsx(zr,{to:"/",className:"text-accent hover:underline",children:"Volver al inicio"})]})}),u.jsx(dc,{})]});const n={"@context":"https://schema.org","@type":"Article",headline:t.title,description:t.metaDescription,datePublished:"2025-01-15",dateModified:"2026-03-29",author:{"@type":"Organization",name:"Interseguros",url:"https://interseguros.com.py",description:"Corredor de seguros independiente autorizado por el Banco Central del Paraguay"},publisher:{"@type":"Organization",name:"Interseguros",url:"https://interseguros.com.py"},mainEntityOfPage:{"@type":"WebPage","@id":`https://interseguros.com.py/blog/${t.slug}`},inLanguage:"es",about:{"@type":"Thing",name:`${t.category} en Paraguay`},keywords:`${t.title}, seguros Paraguay, corredor de seguros Paraguay, ${t.category.toLowerCase()} Paraguay`,articleSection:t.category,wordCount:t.sections.reduce((o,a)=>o+a.content.split(" ").length+a.heading.split(" ").length,0)},r=pc.filter(o=>o.slug!==e).sort((o,a)=>o.category===t.category&&a.category!==t.category?-1:o.category!==t.category&&a.category===t.category?1:0).slice(0,4);return u.jsxs(u.Fragment,{children:[u.jsx(uc,{}),u.jsx("article",{className:"pt-28 pb-24",children:u.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[u.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}}),u.jsx("nav",{"aria-label":"Breadcrumb",className:"mb-6",children:u.jsxs("ol",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[u.jsx("li",{children:u.jsx(zr,{to:"/",className:"hover:text-accent transition-colors",children:"Inicio"})}),u.jsx("li",{children:"/"}),u.jsx("li",{children:u.jsx("a",{href:"/#blog",className:"hover:text-accent transition-colors",children:"Blog"})}),u.jsx("li",{children:"/"}),u.jsx("li",{className:"text-foreground font-medium truncate max-w-[200px]",children:t.title})]})}),u.jsxs(zr,{to:"/#blog",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-accent transition-colors mb-8",children:[u.jsx(Zw,{className:"w-4 h-4"})," Volver al blog"]}),u.jsx("p",{className:"text-xs text-accent font-semibold uppercase tracking-wider mb-3",children:t.category}),u.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground leading-tight mb-8",children:t.title}),u.jsx("div",{className:"space-y-10",children:t.sections.map((o,a)=>u.jsxs("section",{children:[u.jsx("h2",{className:"text-xl font-bold text-foreground mb-3",children:o.heading}),u.jsx("p",{className:"text-muted-foreground leading-relaxed",children:o.content})]},a))}),u.jsxs("div",{className:"mt-16 p-8 bg-primary rounded-lg text-center",children:[u.jsx("h3",{className:"text-xl font-bold text-primary-foreground mb-3",children:"¿Necesita asesoría profesional?"}),u.jsx("p",{className:"text-primary-foreground/80 mb-6 text-sm",children:"Solicite una cotización personalizada con un corredor de seguros en Paraguay. Respuesta en menos de 24 horas."}),u.jsx("a",{href:"/#contacto",className:"inline-block bg-accent text-accent-foreground font-semibold px-6 py-3 rounded-md hover:opacity-90 transition-opacity active:scale-[0.97] text-sm",children:"Solicitar Cotización"})]}),u.jsxs("div",{className:"mt-12 border-t border-border pt-8",children:[u.jsx("h3",{className:"text-sm font-bold text-foreground mb-4",children:"Artículos relacionados"}),u.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:r.map(o=>u.jsxs(zr,{to:`/blog/${o.slug}`,className:"p-4 bg-secondary rounded-md hover:bg-muted transition-colors",children:[u.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:o.category}),u.jsx("p",{className:"text-sm font-semibold text-foreground",children:o.title})]},o.slug))})]})]})}),u.jsx(dc,{})]})}const zS=()=>{const e=ya();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),u.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:u.jsxs("div",{className:"text-center",children:[u.jsx("h1",{className:"mb-4 text-4xl font-bold text-foreground",children:"404"}),u.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Página no encontrada"}),u.jsx("p",{className:"mb-6 text-sm text-muted-foreground max-w-md mx-auto",children:"La página que busca no existe o fue movida. Vuelva al inicio para encontrar lo que necesita."}),u.jsx("a",{href:"/",className:"inline-block bg-primary text-primary-foreground font-semibold px-6 py-3 rounded-md hover:opacity-90 transition-opacity",children:"Volver al Inicio"})]})})},OS=new gx,_S=()=>u.jsx(vx,{client:OS,children:u.jsxs(FE,{children:[u.jsx(Zb,{}),u.jsx(X1,{}),u.jsx(g1,{children:u.jsxs(c1,{children:[u.jsx(os,{path:"/",element:u.jsx(TS,{})}),u.jsx(os,{path:"/blog/:slug",element:u.jsx(AS,{})}),u.jsx(os,{path:"*",element:u.jsx(zS,{})})]})})]})});ih(document.getElementById("root")).render(u.jsx(_S,{}));