PageSourceSearch

https://ayudas-aislamiento.lovable.app/assets/index-DWoWimnQ.js

js ayudas-aislamiento.lovable.app collected 2026-10-03 03:23:18 UTC 696,649 bytes, 2,365 lines download raw bytes

vendor: 6,285 bytes, lines 1-9
1var V1=Object.defineProperty;var lf=e=>{throw TypeError(e)};var H1=(e,t,n)=>t in e?V1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var un=(e,t,n)=>H1(e,typeof t!="symbol"?t+"":t,n),Wl=(e,t,n)=>t.has(e)||lf("Cannot "+n);var R=(e,t,n)=>(Wl(e,t,"read from private field"),n?n.call(e):t.get(e)),se=(e,t,n)=>t.has(e)?lf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Z=(e,t,n,r)=>(Wl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ue=(e,t,n)=>(Wl(e,t,"access private method"),n);var js=(e,t,n,r)=>({set _(a){Z(e,t,a,n)},get _(){return R(e,t,r)}});function W1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(r,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>r[a]})}}}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 a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();function ds(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zh={exports:{}},nl={},Fh={exports:{}},ee={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var us=Symbol.for("react.element"),G1=Symbol.for("react.portal"),K1=Symbol.for("react.fragment"),Q1=Symbol.for("react.strict_mode"),Y1=Symbol.for("react.profiler"),X1=Symbol.for("react.provider"),Z1=Symbol.for("react.context"),J1=Symbol.for("react.forward_ref"),ew=Symbol.for("react.suspense"),tw=Symbol.for("react.memo"),nw=Symbol.for("react.lazy"),cf=Symbol.iterator;function rw(e){return e===null||typeof e!="object"?null:(e=cf&&e[cf]||e["@@iterator"],typeof e=="function"?e:null)}var qh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$h=Object.assign,Bh={};function Fa(e,t,n){this.props=e,this.context=t,this.refs=Bh,this.updater=n||qh}Fa.prototype.isReactComponent={};Fa.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")};Fa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Uh(){}Uh.prototype=Fa.prototype;function pu(e,t,n){this.props=e,this.context=t,this.refs=Bh,this.updater=n||qh}var fu=pu.prototype=new Uh;fu.constructor=pu;$h(fu,Fa.prototype);fu.isPureReactComponent=!0;var df=Array.isArray,Vh=Object.prototype.hasOwnProperty,mu={current:null},Hh={key:!0,ref:!0,__self:!0,__source:!0};function Wh(e,t,n){var r,a={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Vh.call(t,r)&&!Hh.hasOwnProperty(r)&&(a[r]=t[r]);var i=arguments.length-2;if(i===1)a.children=n;else if(1<i){for(var c=Array(i),d=0;d<i;d++)c[d]=arguments[d+2];a.children=c}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)a[r]===void 0&&(a[r]=i[r]);return{$$typeof:us,type:e,key:o,ref:s,props:a,_owner:mu.current}}function aw(e,t){return{$$typeof:us,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function hu(e){return typeof e=="object"&&e!==null&&e.$$typeof===us}function ow(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var uf=/\/+/g;function Gl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ow(""+e.key):t.toString(36)}function ri(e,t,n,r,a){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case us:case G1:s=!0}}if(s)return s=e,a=a(s),e=r===""?"."+Gl(s,0):r,df(a)?(n="",e!=null&&(n=e.replace(uf,"$&/")+"/"),ri(a,t,n,"",function(d){return d})):a!=null&&(hu(a)&&(a=aw(a,n+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(uf,"$&/")+"/")+e)),t.push(a)),1;if(s=0,r=r===""?".":r+":",df(e))for(var i=0;i<e.length;i++){o=e[i];var c=r+Gl(o,i);s+=ri(o,t,n,c,a)}else if(c=rw(e),typeof c=="function")for(e=c.call(e),i=0;!(o=e.next()).done;)o=o.value,c=r+Gl(o,i++),s+=ri(o,t,n,c,a);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Ns(e,t,n){if(e==null)return e;var r=[],a=0;return ri(e,r,"","",function(o){return t.call(n,o,a++)}),r}function sw(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var tt={current:null},ai={transition:null},iw={ReactCurrentDispatcher:tt,ReactCurrentBatchConfig:ai,ReactCurrentOwner:mu};function Gh(){throw Error("act(...) is not supported in production builds of React.")}ee.Children={map:Ns,forEach:function(e,t,n){Ns(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ns(e,function(){t++}),t},toArray:function(e){return Ns(e,function(t){return t})||[]},only:function(e){if(!hu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ee.Component=Fa;ee.Fragment=K1;ee.Profiler=Y1;ee.PureComponent=pu;ee.StrictMode=Q1;ee.Suspense=ew;
vendor: 9,001 bytes, lines 9-33
9ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iw;ee.act=Gh;ee.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=$h({},e.props),a=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=mu.current),t.key!==void 0&&(a=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(c in t)Vh.call(t,c)&&!Hh.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&i!==void 0?i[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){i=Array(c);for(var d=0;d<c;d++)i[d]=arguments[d+2];r.children=i}return{$$typeof:us,type:e.type,key:a,ref:o,props:r,_owner:s}};ee.createContext=function(e){return e={$$typeof:Z1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:X1,_context:e},e.Consumer=e};ee.createElement=Wh;ee.createFactory=function(e){var t=Wh.bind(null,e);return t.type=e,t};ee.createRef=function(){return{current:null}};ee.forwardRef=function(e){return{$$typeof:J1,render:e}};ee.isValidElement=hu;ee.lazy=function(e){return{$$typeof:nw,_payload:{_status:-1,_result:e},_init:sw}};ee.memo=function(e,t){return{$$typeof:tw,type:e,compare:t===void 0?null:t}};ee.startTransition=function(e){var t=ai.transition;ai.transition={};try{e()}finally{ai.transition=t}};ee.unstable_act=Gh;ee.useCallback=function(e,t){return tt.current.useCallback(e,t)};ee.useContext=function(e){return tt.current.useContext(e)};ee.useDebugValue=function(){};ee.useDeferredValue=function(e){return tt.current.useDeferredValue(e)};ee.useEffect=function(e,t){return tt.current.useEffect(e,t)};ee.useId=function(){return tt.current.useId()};ee.useImperativeHandle=function(e,t,n){return tt.current.useImperativeHandle(e,t,n)};ee.useInsertionEffect=function(e,t){return tt.current.useInsertionEffect(e,t)};ee.useLayoutEffect=function(e,t){return tt.current.useLayoutEffect(e,t)};ee.useMemo=function(e,t){return tt.current.useMemo(e,t)};ee.useReducer=function(e,t,n){return tt.current.useReducer(e,t,n)};ee.useRef=function(e){return tt.current.useRef(e)};ee.useState=function(e){return tt.current.useState(e)};ee.useSyncExternalStore=function(e,t,n){return tt.current.useSyncExternalStore(e,t,n)};ee.useTransition=function(){return tt.current.useTransition()};ee.version="18.3.1";Fh.exports=ee;var m=Fh.exports;const M=ds(m),Kh=W1({__proto__:null,default:M},[m]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var lw=m,cw=Symbol.for("react.element"),dw=Symbol.for("react.fragment"),uw=Object.prototype.hasOwnProperty,pw=lw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,fw={key:!0,ref:!0,__self:!0,__source:!0};function Qh(e,t,n){var r,a={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)uw.call(t,r)&&!fw.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)a[r]===void 0&&(a[r]=t[r]);return{$$typeof:cw,type:e,key:o,ref:s,props:a,_owner:pw.current}}nl.Fragment=dw;nl.jsx=Qh;nl.jsxs=Qh;zh.exports=nl;var l=zh.exports,Yh={exports:{}},Ct={},Xh={exports:{}},Zh={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(A,P){var z=A.length;A.push(P);e:for(;0<z;){var D=z-1>>>1,F=A[D];if(0<a(F,P))A[D]=P,A[z]=F,z=D;else break e}}function n(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var P=A[0],z=A.pop();if(z!==P){A[0]=z;e:for(var D=0,F=A.length,G=F>>>1;D<G;){var J=2*(D+1)-1,Ne=A[J],Y=J+1,oe=A[Y];if(0>a(Ne,z))Y<F&&0>a(oe,Ne)?(A[D]=oe,A[Y]=z,D=Y):(A[D]=Ne,A[J]=z,D=J);else if(Y<F&&0>a(oe,z))A[D]=oe,A[Y]=z,D=Y;else break e}}return P}function a(A,P){var z=A.sortIndex-P.sortIndex;return z!==0?z:A.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,i=s.now();e.unstable_now=function(){return s.now()-i}}var c=[],d=[],f=1,u=null,p=3,y=!1,b=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(A){for(var P=n(d);P!==null;){if(P.callback===null)r(d);else if(P.startTime<=A)r(d),P.sortIndex=P.expirationTime,t(c,P);else break;P=n(d)}}function E(A){if(v=!1,x(A),!b)if(n(c)!==null)b=!0,B(C);else{var P=n(d);P!==null&&W(E,P.startTime-A)}}function C(A,P){b=!1,v&&(v=!1,h(j),j=-1),y=!0;var z=p;try{for(x(P),u=n(c);u!==null&&(!(u.expirationTime>P)||A&&!I());){var D=u.callback;if(typeof D=="function"){u.callback=null,p=u.priorityLevel;var F=D(u.expirationTime<=P);P=e.unstable_now(),typeof F=="function"?u.callback=F:u===n(c)&&r(c),x(P)}else r(c);u=n(c)}if(u!==null)var G=!0;else{var J=n(d);J!==null&&W(E,J.startTime-P),G=!1}return G}finally{u=null,p=z,y=!1}}var N=!1,S=null,j=-1,T=5,k=-1;function I(){return!(e.unstable_now()-k<T)}function _(){if(S!==null){var A=e.unstable_now();k=A;var P=!0;try{P=S(!0,A)}finally{P?V():(N=!1,S=null)}}else N=!1}var V;if(typeof g=="function")V=function(){g(_)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,H=O.port2;O.port1.onmessage=_,V=function(){H.postMessage(null)}}else V=function(){w(_,0)};function B(A){S=A,N||(N=!0,V())}function W(A,P){j=w(function(){A(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(A){A.callback=null},e.unstable_continueExecution=function(){b||y||(b=!0,B(C))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(A){switch(p){case 1:case 2:case 3:var P=3;break;default:P=p}var z=p;p=P;try{return A()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,P){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var z=p;p=A;try{return P()}finally{p=z}},e.unstable_scheduleCallback=function(A,P,z){var D=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?D+z:D):z=D,A){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=z+F,A={id:f++,callback:P,priorityLevel:A,startTime:z,expirationTime:F,sortIndex:-1},z>D?(A.sortIndex=z,t(d,A),n(c)===null&&A===n(d)&&(v?(h(j),j=-1):v=!0,W(E,z-D))):(A.sortIndex=F,t(c,A),b||y||(b=!0,B(C))),A},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(A){var P=p;return function(){var z=p;p=P;try{return A.apply(this,arguments)}finally{p=z}}}})(Zh);Xh.exports=Zh;var mw=Xh.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var hw=m,Et=mw;function L(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Jh=new Set,Lo={};function _r(e,t){Ta(e,t),Ta(e+"Capture",t)}function Ta(e,t){for(Lo[e]=t,e=0;e<t.length;e++)Jh.add(t[e])}var xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uc=Object.prototype.hasOwnProperty,gw=/^[: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]*$/,pf={},ff={};function vw(e){return Uc.call(ff,e)?!0:Uc.call(pf,e)?!1:gw.test(e)?ff[e]=!0:(pf[e]=!0,!1)}function bw(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 yw(e,t,n,r){if(t===null||typeof t>"u"||bw(e,t,n,r))return!0;
vendor: 5,200 bytes, lines 33-34
33if(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 nt(e,t,n,r,a,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Be={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Be[e]=new nt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Be[t]=new nt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Be[e]=new nt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Be[e]=new nt(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){Be[e]=new nt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Be[e]=new nt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Be[e]=new nt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Be[e]=new nt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Be[e]=new nt(e,5,!1,e.toLowerCase(),null,!1,!1)});var gu=/[\-:]([a-z])/g;function vu(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(gu,vu);Be[t]=new nt(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(gu,vu);Be[t]=new nt(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(gu,vu);Be[t]=new nt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Be[e]=new nt(e,1,!1,e.toLowerCase(),null,!1,!1)});Be.xlinkHref=new nt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Be[e]=new nt(e,1,!1,e.toLowerCase(),null,!0,!0)});function bu(e,t,n,r){var a=Be.hasOwnProperty(t)?Be[t]:null;(a!==null?a.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(yw(t,n,a,r)&&(n=null),r||a===null?vw(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=n===null?a.type===3?!1:"":n:(t=a.attributeName,r=a.attributeNamespace,n===null?e.removeAttribute(t):(a=a.type,n=a===3||a===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Nn=hw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,As=Symbol.for("react.element"),Xr=Symbol.for("react.portal"),Zr=Symbol.for("react.fragment"),yu=Symbol.for("react.strict_mode"),Vc=Symbol.for("react.profiler"),eg=Symbol.for("react.provider"),tg=Symbol.for("react.context"),xu=Symbol.for("react.forward_ref"),Hc=Symbol.for("react.suspense"),Wc=Symbol.for("react.suspense_list"),wu=Symbol.for("react.memo"),On=Symbol.for("react.lazy"),ng=Symbol.for("react.offscreen"),mf=Symbol.iterator;function eo(e){return e===null||typeof e!="object"?null:(e=mf&&e[mf]||e["@@iterator"],typeof e=="function"?e:null)}var je=Object.assign,Kl;function fo(e){if(Kl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Kl=t&&t[1]||""}return`
34`+Kl+e}var Ql=!1;function Yl(e,t){if(!e||Ql)return"";Ql=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(d){var r=d}Reflect.construct(e,[],t)}else{try{t.call()}catch(d){r=d}e.call(t.prototype)}else{try{throw Error()}catch(d){r=d}e()}}
vendor: 3,667 bytes, lines 34-37
34catch(d){if(d&&r&&typeof d.stack=="string"){for(var a=d.stack.split(`
35`),o=r.stack.split(`
36`),s=a.length-1,i=o.length-1;1<=s&&0<=i&&a[s]!==o[i];)i--;for(;1<=s&&0<=i;s--,i--)if(a[s]!==o[i]){if(s!==1||i!==1)do if(s--,i--,0>i||a[s]!==o[i]){var c=`
37`+a[s].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=s&&0<=i);break}}}finally{Ql=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?fo(e):""}function xw(e){switch(e.tag){case 5:return fo(e.type);case 16:return fo("Lazy");case 13:return fo("Suspense");case 19:return fo("SuspenseList");case 0:case 2:case 15:return e=Yl(e.type,!1),e;case 11:return e=Yl(e.type.render,!1),e;case 1:return e=Yl(e.type,!0),e;default:return""}}function Gc(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 Zr:return"Fragment";case Xr:return"Portal";case Vc:return"Profiler";case yu:return"StrictMode";case Hc:return"Suspense";case Wc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case tg:return(e.displayName||"Context")+".Consumer";case eg:return(e._context.displayName||"Context")+".Provider";case xu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wu:return t=e.displayName||null,t!==null?t:Gc(e.type)||"Memo";case On:t=e._payload,e=e._init;try{return Gc(e(t))}catch{}}return null}function ww(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 Gc(t);case 8:return t===yu?"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 nr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function rg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ew(e){var t=rg(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 a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ps(e){e._valueTracker||(e._valueTracker=Ew(e))}function ag(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=rg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xi(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 Kc(e,t){var n=t.checked;return je({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;
vendor: 13,070 bytes, line 37
37n=nr(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 og(e,t){t=t.checked,t!=null&&bu(e,"checked",t,!1)}function Qc(e,t){og(e,t);var n=nr(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")?Yc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yc(e,t.type,nr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gf(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 Yc(e,t,n){(t!=="number"||xi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var mo=Array.isArray;function ca(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+nr(n),t=null,a=0;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function Xc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(L(91));return je({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function vf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(L(92));if(mo(n)){if(1<n.length)throw Error(L(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:nr(n)}}function sg(e,t){var n=nr(t.value),r=nr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function bf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ig(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Zc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ig(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ts,lg=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,a){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,a)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ts=Ts||document.createElement("div"),Ts.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ts.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Do(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yo={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},Cw=["Webkit","ms","Moz","O"];Object.keys(yo).forEach(function(e){Cw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),yo[t]=yo[e]})});function cg(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||yo.hasOwnProperty(e)&&yo[e]?(""+t).trim():t+"px"}function dg(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=cg(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var Sw=je({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Jc(e,t){if(t){if(Sw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function ed(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 td=null;function Eu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var nd=null,da=null,ua=null;function yf(e){if(e=ms(e)){if(typeof nd!="function")throw Error(L(280));var t=e.stateNode;t&&(t=il(t),nd(e.stateNode,e.type,t))}}function ug(e){da?ua?ua.push(e):ua=[e]:da=e}function pg(){if(da){var e=da,t=ua;if(ua=da=null,yf(e),t)for(e=0;e<t.length;e++)yf(t[e])}}function fg(e,t){return e(t)}function mg(){}var Xl=!1;function hg(e,t,n){if(Xl)return e(t,n);Xl=!0;try{return fg(e,t,n)}finally{Xl=!1,(da!==null||ua!==null)&&(mg(),pg())}}function Oo(e,t){var n=e.stateNode;if(n===null)return null;var r=il(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(L(231,t,typeof n));return n}var rd=!1;if(xn)try{var to={};Object.defineProperty(to,"passive",{get:function(){rd=!0}}),window.addEventListener("test",to,to),window.removeEventListener("test",to,to)}catch{rd=!1}function jw(e,t,n,r,a,o,s,i,c){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(f){this.onError(f)}}var xo=!1,wi=null,Ei=!1,ad=null,Nw={onError:function(e){xo=!0,wi=e}};function Aw(e,t,n,r,a,o,s,i,c){xo=!1,wi=null,jw.apply(Nw,arguments)}function Pw(e,t,n,r,a,o,s,i,c){if(Aw.apply(this,arguments),xo){if(xo){var d=wi;xo=!1,wi=null}else throw Error(L(198));Ei||(Ei=!0,ad=d)}}function zr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function gg(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function xf(e){if(zr(e)!==e)throw Error(L(188))}function Tw(e){var t=e.alternate;if(!t){if(t=zr(e),t===null)throw Error(L(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return xf(a),e;if(o===r)return xf(a),t;o=o.sibling}throw Error(L(188))}if(n.return!==r.return)n=a,r=o;else{for(var s=!1,i=a.child;i;){if(i===n){s=!0,n=a,r=o;break}if(i===r){s=!0,r=a,n=o;break}i=i.sibling}if(!s){for(i=o.child;i;){if(i===n){s=!0,n=o,r=a;break}if(i===r){s=!0,r=o,n=a;break}i=i.sibling}if(!s)throw Error(L(189))}}if(n.alternate!==r)throw Error(L(190))}if(n.tag!==3)throw Error(L(188));return n.stateNode.current===n?e:t}function vg(e){return e=Tw(e),e!==null?bg(e):null}function bg(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=bg(e);if(t!==null)return t;e=e.sibling}return null}var yg=Et.unstable_scheduleCallback,wf=Et.unstable_cancelCallback,kw=Et.unstable_shouldYield,Rw=Et.unstable_requestPaint,Te=Et.unstable_now,Mw=Et.unstable_getCurrentPriorityLevel,Cu=Et.unstable_ImmediatePriority,xg=Et.unstable_UserBlockingPriority,Ci=Et.unstable_NormalPriority,Lw=Et.unstable_LowPriority,wg=Et.unstable_IdlePriority,rl=null,on=null;function Dw(e){if(on&&typeof on.onCommitFiberRoot=="function")try{on.onCommitFiberRoot(rl,e,void 0,(e.current.flags&128)===128)}catch{}}var Vt=Math.clz32?Math.clz32:_w,Ow=Math.log,Iw=Math.LN2;function _w(e){return e>>>=0,e===0?32:31-(Ow(e)/Iw|0)|0}var ks=64,Rs=4194304;function ho(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 Si(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var i=s&~a;i!==0?r=ho(i):(o&=s,o!==0&&(r=ho(o)))}else s=n&~a,s!==0?r=ho(s):o!==0&&(r=ho(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&a)&&(a=r&-r,o=t&-t,a>=o||a===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Vt(t),a=1<<n,r|=e[n],t&=~a;return r}function zw(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fw(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-Vt(o),i=1<<s,c=a[s];c===-1?(!(i&n)||i&r)&&(a[s]=zw(i,t)):c<=t&&(e.expiredLanes|=i),o&=~i}}function od(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Eg(){var e=ks;return ks<<=1,!(ks&4194240)&&(ks=64),e}function Zl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ps(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Vt(t),e[t]=n}function qw(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-Vt(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}function Su(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Vt(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var le=0;function Cg(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Sg,ju,jg,Ng,Ag,sd=!1,Ms=[],Gn=null,Kn=null,Qn=null,Io=new Map,_o=new Map,_n=[],$w="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ef(e,t){switch(e){case"focusin":case"focusout":Gn=null;break;case"dragenter":case"dragleave":Kn=null;break;case"mouseover":case"mouseout":Qn=null;break;case"pointerover":case"pointerout":Io.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_o.delete(t.pointerId)}}function no(e,t,n,r,a,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},t!==null&&(t=ms(t),t!==null&&ju(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function Bw(e,t,n,r,a){switch(t){case"focusin":return Gn=no(Gn,e,t,n,r,a),!0;case"dragenter":return Kn=no(Kn,e,t,n,r,a),!0;case"mouseover":return Qn=no(Qn,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Io.set(o,no(Io.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,_o.set(o,no(_o.get(o)||null,e,t,n,r,a)),!0}return!1}function Pg(e){var t=br(e.target);if(t!==null){var n=zr(t);if(n!==null){if(t=n.tag,t===13){if(t=gg(n),t!==null){e.blockedOn=t,Ag(e.priority,function(){jg(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function oi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=id(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);td=r,n.target.dispatchEvent(r),td=null}else return t=ms(n),t!==null&&ju(t),e.blockedOn=n,!1;t.shift()}return!0}function Cf(e,t,n){oi(e)&&n.delete(t)}function Uw(){sd=!1,Gn!==null&&oi(Gn)&&(Gn=null),Kn!==null&&oi(Kn)&&(Kn=null),Qn!==null&&oi(Qn)&&(Qn=null),Io.forEac
vendor: 11,841 bytes, line 37
37h(Cf),_o.forEach(Cf)}function ro(e,t){e.blockedOn===t&&(e.blockedOn=null,sd||(sd=!0,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,Uw)))}function zo(e){function t(a){return ro(a,e)}if(0<Ms.length){ro(Ms[0],e);for(var n=1;n<Ms.length;n++){var r=Ms[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Gn!==null&&ro(Gn,e),Kn!==null&&ro(Kn,e),Qn!==null&&ro(Qn,e),Io.forEach(t),_o.forEach(t),n=0;n<_n.length;n++)r=_n[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<_n.length&&(n=_n[0],n.blockedOn===null);)Pg(n),n.blockedOn===null&&_n.shift()}var pa=Nn.ReactCurrentBatchConfig,ji=!0;function Vw(e,t,n,r){var a=le,o=pa.transition;pa.transition=null;try{le=1,Nu(e,t,n,r)}finally{le=a,pa.transition=o}}function Hw(e,t,n,r){var a=le,o=pa.transition;pa.transition=null;try{le=4,Nu(e,t,n,r)}finally{le=a,pa.transition=o}}function Nu(e,t,n,r){if(ji){var a=id(e,t,n,r);if(a===null)lc(e,t,r,Ni,n),Ef(e,r);else if(Bw(a,e,t,n,r))r.stopPropagation();else if(Ef(e,r),t&4&&-1<$w.indexOf(e)){for(;a!==null;){var o=ms(a);if(o!==null&&Sg(o),o=id(e,t,n,r),o===null&&lc(e,t,r,Ni,n),o===a)break;a=o}a!==null&&r.stopPropagation()}else lc(e,t,r,null,n)}}var Ni=null;function id(e,t,n,r){if(Ni=null,e=Eu(r),e=br(e),e!==null)if(t=zr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=gg(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ni=e,null}function Tg(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Mw()){case Cu:return 1;case xg:return 4;case Ci:case Lw:return 16;case wg:return 536870912;default:return 16}default:return 16}}var Vn=null,Au=null,si=null;function kg(){if(si)return si;var e,t=Au,n=t.length,r,a="value"in Vn?Vn.value:Vn.textContent,o=a.length;for(e=0;e<n&&t[e]===a[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===a[o-r];r++);return si=a.slice(e,1<r?1-r:void 0)}function ii(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ls(){return!0}function Sf(){return!1}function St(e){function t(n,r,a,o,s){this._reactName=n,this._targetInst=a,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(o):o[i]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ls:Sf,this.isPropagationStopped=Sf,this}return je(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ls)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ls)},persist:function(){},isPersistent:Ls}),t}var qa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pu=St(qa),fs=je({},qa,{view:0,detail:0}),Ww=St(fs),Jl,ec,ao,al=je({},fs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ao&&(ao&&e.type==="mousemove"?(Jl=e.screenX-ao.screenX,ec=e.screenY-ao.screenY):ec=Jl=0,ao=e),Jl)},movementY:function(e){return"movementY"in e?e.movementY:ec}}),jf=St(al),Gw=je({},al,{dataTransfer:0}),Kw=St(Gw),Qw=je({},fs,{relatedTarget:0}),tc=St(Qw),Yw=je({},qa,{animationName:0,elapsedTime:0,pseudoElement:0}),Xw=St(Yw),Zw=je({},qa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jw=St(Zw),eE=je({},qa,{data:0}),Nf=St(eE),tE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nE={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function aE(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=rE[e])?!!t[e]:!1}function Tu(){return aE}var oE=je({},fs,{key:function(e){if(e.key){var t=tE[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ii(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?nE[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tu,charCode:function(e){return e.type==="keypress"?ii(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ii(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),sE=St(oE),iE=je({},al,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Af=St(iE),lE=je({},fs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tu}),cE=St(lE),dE=je({},qa,{propertyName:0,elapsedTime:0,pseudoElement:0}),uE=St(dE),pE=je({},al,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),fE=St(pE),mE=[9,13,27,32],ku=xn&&"CompositionEvent"in window,wo=null;xn&&"documentMode"in document&&(wo=document.documentMode);var hE=xn&&"TextEvent"in window&&!wo,Rg=xn&&(!ku||wo&&8<wo&&11>=wo),Pf=" ",Tf=!1;function Mg(e,t){switch(e){case"keyup":return mE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jr=!1;function gE(e,t){switch(e){case"compositionend":return Lg(t);case"keypress":return t.which!==32?null:(Tf=!0,Pf);case"textInput":return e=t.data,e===Pf&&Tf?null:e;default:return null}}function vE(e,t){if(Jr)return e==="compositionend"||!ku&&Mg(e,t)?(e=kg(),si=Au=Vn=null,Jr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rg&&t.locale!=="ko"?null:t.data;default:return null}}var bE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function kf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!bE[e.type]:t==="textarea"}function Dg(e,t,n,r){ug(r),t=Ai(t,"onChange"),0<t.length&&(n=new Pu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Eo=null,Fo=null;function yE(e){Hg(e,0)}function ol(e){var t=na(e);if(ag(t))return e}function xE(e,t){if(e==="change")return t}var Og=!1;if(xn){var nc;if(xn){var rc="oninput"in document;if(!rc){var Rf=document.createElement("div");Rf.setAttribute("oninput","return;"),rc=typeof Rf.oninput=="function"}nc=rc}else nc=!1;Og=nc&&(!document.documentMode||9<document.documentMode)}function Mf(){Eo&&(Eo.detachEvent("onpropertychange",Ig),Fo=Eo=null)}function Ig(e){if(e.propertyName==="value"&&ol(Fo)){var t=[];Dg(t,Fo,e,Eu(e)),hg(yE,t)}}function wE(e,t,n){e==="focusin"?(Mf(),Eo=t,Fo=n,Eo.attachEvent("onpropertychange",Ig)):e==="focusout"&&Mf()}function EE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ol(Fo)}function CE(e,t){if(e==="click")return ol(t)}function SE(e,t){if(e==="input"||e==="change")return ol(t)}function jE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gt=typeof Object.is=="function"?Object.is:jE;function qo(e,t){if(Gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!Uc.call(t,a)||!Gt(e[a],t[a]))return!1}return!0}function Lf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Df(e,t){var n=Lf(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Lf(n)}}function _g(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_g(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zg(){for(var e=window,t=xi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xi(e.document)}return t}function Ru(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 NE(e){var t=zg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_g(n.ownerDocument.documentElement,n)){if(r!==null&&Ru(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 a=n.textContent.length,o=Math.min(r.start,a);r=r.end===void 0?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=Df(n,o);var s=Df(n,r);a&&s&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var AE=xn&&"documentMode"in document&&11>=document.documentMode,ea=null,ld=null,Co=null,cd=!1;function Of(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cd||ea==null||ea!==xi(r)||(r=ea,"selectionStart"in r&&Ru(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Co&&qo(Co,r)||(Co=r,r=Ai(ld,"onSelect"),0<r.length&&(t=new Pu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ea)))}function Ds(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ta={animationend:Ds("Animation","AnimationEnd"),animationiteration:Ds("Animation","AnimationIteration"),animationstart:Ds("Animation","AnimationStart"),transitionend:Ds("Transition","TransitionEnd")},ac={},Fg={};xn&&(Fg=document.createElement("div").style,"AnimationEvent"in window||(delete ta.animationend.animation,delete ta.animationiteration.animation,delete ta.animationstart.animation),"TransitionEvent"in window||delete ta.transitionend.transition);function sl(e){if(ac[e])return ac[e];if(!ta[e])return e;var t=ta[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Fg)return ac[e]=t[n];return e}var qg=sl("animationend"),$g=sl("animationiteration"),Bg=sl("animationstart"),Ug=sl("transitionend"),Vg=new Map,If="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function lr(e,t){Vg.set(e,t),_r(t,[e])}for(var oc=0;oc<If.length;oc++){var sc=If[oc],PE=sc.toLowerCase(),TE=sc[0].toUpperCase()+sc.slice(1);lr(PE,"on"+TE)}lr(qg,"onAnimationEnd");lr($g,"onAnimationIteration");lr(Bg,"onAnimationStart");lr("dblclick","onDoubleClick");lr("focusin","onFocus");lr("focusout","onBlur");lr(Ug,"onTransitionEnd");Ta("onMouseEnter",["mouseout","mouseover"]);Ta("onMouseLeave",["mouseout","mouseover"]);Ta("onPointerEnter",["pointerout","pointerover"]);Ta("onPointerLeave",["pointerout","pointerover"]);_r("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));_r("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));_r("onBeforeInput",["compositionend","keypress","textInput","paste"]);_r("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));_r("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));_r("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var go="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),kE=new Set("cancel close invalid load scroll toggle".split(" ").concat(go));function _f(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Pw(r,t,void 0,e),e.currentTarget=null}function Hg(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var i=r[s],c=i.instance,d=i.currentTarget;if(i=i.listener,c!==o&&a.isPropagationStopped())break e;_f(a,i,d),o=c}else for(s=0;s<r.length;s++){if(i=r[s],c=i.instance,d=i.currentTarget,i=i.listener,c!==o&&a.isPropagationStopped())break e;_f(a,i,d),o=c}}}if(Ei)throw e=ad,Ei=!1,ad=null,e}function be(e,t){var n=t[md];n===void 0&&(n=t[md]=new Set);var r=e+"__bubble";n.has(r)||(Wg(t,e,2,!1),n.add(r))}function ic(e,t,n){var r=0;t&&(r|=4),Wg(n,e,r,t)}var Os="_reactListening"+Math.random().toString(36).slice(2);function $o(e){if(!e[Os]){e[Os]=!0,Jh.forEach(function(n){n!=="selectionchange"&&(kE.has(n)||ic(n,!1,e),ic(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Os]||(t[Os]=!0,ic("selectionchange",!1,t))}}function Wg(e,t,n,r){switch(Tg(t)){case 1:var a=Vw;break;case 4:a=Hw;break;default:a=Nu}n=a.bind(null,t,n,e),a=void 0,!rd||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),r?a!==void 0?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):a!==void 0?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function lc(e,t,n,r,a){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var i=r.stateNode.containerInfo;
vendor: 4,435 bytes, line 37
37if(i===a||i.nodeType===8&&i.parentNode===a)break;if(s===4)for(s=r.return;s!==null;){var c=s.tag;if((c===3||c===4)&&(c=s.stateNode.containerInfo,c===a||c.nodeType===8&&c.parentNode===a))return;s=s.return}for(;i!==null;){if(s=br(i),s===null)return;if(c=s.tag,c===5||c===6){r=o=s;continue e}i=i.parentNode}}r=r.return}hg(function(){var d=o,f=Eu(n),u=[];e:{var p=Vg.get(e);if(p!==void 0){var y=Pu,b=e;switch(e){case"keypress":if(ii(n)===0)break e;case"keydown":case"keyup":y=sE;break;case"focusin":b="focus",y=tc;break;case"focusout":b="blur",y=tc;break;case"beforeblur":case"afterblur":y=tc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=jf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=Kw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=cE;break;case qg:case $g:case Bg:y=Xw;break;case Ug:y=uE;break;case"scroll":y=Ww;break;case"wheel":y=fE;break;case"copy":case"cut":case"paste":y=Jw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=Af}var v=(t&4)!==0,w=!v&&e==="scroll",h=v?p!==null?p+"Capture":null:p;v=[];for(var g=d,x;g!==null;){x=g;var E=x.stateNode;if(x.tag===5&&E!==null&&(x=E,h!==null&&(E=Oo(g,h),E!=null&&v.push(Bo(g,E,x)))),w)break;g=g.return}0<v.length&&(p=new y(p,b,null,n,f),u.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",p&&n!==td&&(b=n.relatedTarget||n.fromElement)&&(br(b)||b[wn]))break e;if((y||p)&&(p=f.window===f?f:(p=f.ownerDocument)?p.defaultView||p.parentWindow:window,y?(b=n.relatedTarget||n.toElement,y=d,b=b?br(b):null,b!==null&&(w=zr(b),b!==w||b.tag!==5&&b.tag!==6)&&(b=null)):(y=null,b=d),y!==b)){if(v=jf,E="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(v=Af,E="onPointerLeave",h="onPointerEnter",g="pointer"),w=y==null?p:na(y),x=b==null?p:na(b),p=new v(E,g+"leave",y,n,f),p.target=w,p.relatedTarget=x,E=null,br(f)===d&&(v=new v(h,g+"enter",b,n,f),v.target=x,v.relatedTarget=w,E=v),w=E,y&&b)t:{for(v=y,h=b,g=0,x=v;x;x=Vr(x))g++;for(x=0,E=h;E;E=Vr(E))x++;for(;0<g-x;)v=Vr(v),g--;for(;0<x-g;)h=Vr(h),x--;for(;g--;){if(v===h||h!==null&&v===h.alternate)break t;v=Vr(v),h=Vr(h)}v=null}else v=null;y!==null&&zf(u,p,y,v,!1),b!==null&&w!==null&&zf(u,w,b,v,!0)}}e:{if(p=d?na(d):window,y=p.nodeName&&p.nodeName.toLowerCase(),y==="select"||y==="input"&&p.type==="file")var C=xE;else if(kf(p))if(Og)C=SE;else{C=EE;var N=wE}else(y=p.nodeName)&&y.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(C=CE);if(C&&(C=C(e,d))){Dg(u,C,n,f);break e}N&&N(e,p,d),e==="focusout"&&(N=p._wrapperState)&&N.controlled&&p.type==="number"&&Yc(p,"number",p.value)}switch(N=d?na(d):window,e){case"focusin":(kf(N)||N.contentEditable==="true")&&(ea=N,ld=d,Co=null);break;case"focusout":Co=ld=ea=null;break;case"mousedown":cd=!0;break;case"contextmenu":case"mouseup":case"dragend":cd=!1,Of(u,n,f);break;case"selectionchange":if(AE)break;case"keydown":case"keyup":Of(u,n,f)}var S;if(ku)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else Jr?Mg(e,n)&&(j="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(j="onCompositionStart");j&&(Rg&&n.locale!=="ko"&&(Jr||j!=="onCompositionStart"?j==="onCompositionEnd"&&Jr&&(S=kg()):(Vn=f,Au="value"in Vn?Vn.value:Vn.textContent,Jr=!0)),N=Ai(d,j),0<N.length&&(j=new Nf(j,e,null,n,f),u.push({event:j,listeners:N}),S?j.data=S:(S=Lg(n),S!==null&&(j.data=S)))),(S=hE?gE(e,n):vE(e,n))&&(d=Ai(d,"onBeforeInput"),0<d.length&&(f=new Nf("onBeforeInput","beforeinput",null,n,f),u.push({event:f,listeners:d}),f.data=S))}Hg(u,t)})}function Bo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ai(e,t){for(var n=t+"Capture",r=[];e!==null;){var a=e,o=a.stateNode;a.tag===5&&o!==null&&(a=o,o=Oo(e,n),o!=null&&r.unshift(Bo(e,o,a)),o=Oo(e,t),o!=null&&r.push(Bo(e,o,a))),e=e.return}return r}function Vr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function zf(e,t,n,r,a){for(var o=t._reactName,s=[];n!==null&&n!==r;){var i=n,c=i.alternate,d=i.stateNode;if(c!==null&&c===r)break;
vendor: 4,464 bytes, lines 37-38
37i.tag===5&&d!==null&&(i=d,a?(c=Oo(n,o),c!=null&&s.unshift(Bo(n,c,i))):a||(c=Oo(n,o),c!=null&&s.push(Bo(n,c,i)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var RE=/\r\n?/g,ME=/\u0000|\uFFFD/g;function Ff(e){return(typeof e=="string"?e:""+e).replace(RE,`
38`).replace(ME,"")}function Is(e,t,n){if(t=Ff(t),Ff(e)!==t&&n)throw Error(L(425))}function Pi(){}var dd=null,ud=null;function pd(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var fd=typeof setTimeout=="function"?setTimeout:void 0,LE=typeof clearTimeout=="function"?clearTimeout:void 0,qf=typeof Promise=="function"?Promise:void 0,DE=typeof queueMicrotask=="function"?queueMicrotask:typeof qf<"u"?function(e){return qf.resolve(null).then(e).catch(OE)}:fd;function OE(e){setTimeout(function(){throw e})}function cc(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(r===0){e.removeChild(a),zo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=a}while(n);zo(t)}function Yn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function $f(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var $a=Math.random().toString(36).slice(2),an="__reactFiber$"+$a,Uo="__reactProps$"+$a,wn="__reactContainer$"+$a,md="__reactEvents$"+$a,IE="__reactListeners$"+$a,_E="__reactHandles$"+$a;function br(e){var t=e[an];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wn]||n[an]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=$f(e);e!==null;){if(n=e[an])return n;e=$f(e)}return t}e=n,n=e.parentNode}return null}function ms(e){return e=e[an]||e[wn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function na(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(L(33))}function il(e){return e[Uo]||null}var hd=[],ra=-1;function cr(e){return{current:e}}function ye(e){0>ra||(e.current=hd[ra],hd[ra]=null,ra--)}function ge(e,t){ra++,hd[ra]=e.current,e.current=t}var rr={},Qe=cr(rr),it=cr(!1),Pr=rr;function ka(e,t){var n=e.type.contextTypes;if(!n)return rr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in n)a[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function lt(e){return e=e.childContextTypes,e!=null}function Ti(){ye(it),ye(Qe)}function Bf(e,t,n){if(Qe.current!==rr)throw Error(L(168));ge(Qe,t),ge(it,n)}function Gg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(L(108,ww(e)||"Unknown",a));return je({},n,r)}function ki(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rr,Pr=Qe.current,ge(Qe,e),ge(it,it.current),!0}function Uf(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=Gg(e,t,Pr),r.__reactInternalMemoizedMergedChildContext=e,ye(it),ye(Qe),ge(Qe,e)):ye(it),ge(it,n)}var hn=null,ll=!1,dc=!1;function Kg(e){hn===null?hn=[e]:hn.push(e)}function zE(e){ll=!0,Kg(e)}function dr(){if(!dc&&hn!==null){dc=!0;var e=0,t=le;try{var n=hn;for(le=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}hn=null,ll=!1}catch(a){throw hn!==null&&(hn=hn.slice(e+1)),yg(Cu,dr),a}finally{le=t,dc=!1}}return null}var aa=[],oa=0,Ri=null,Mi=0,Pt=[],Tt=0,Tr=null,gn=1,vn="";function gr(e,t){aa[oa++]=Mi,aa[oa++]=Ri,Ri=e,Mi=t}function Qg(e,t,n){Pt[Tt++]=gn,Pt[Tt++]=vn,Pt[Tt++]=Tr,Tr=e;var r=gn;e=vn;var a=32-Vt(r)-1;r&=~(1<<a),n+=1;var o=32-Vt(t)+a;if(30<o){var s=a-a%5;o=(r&(1<<s)-1).toString(32),r>>=s,a-=s,gn=1<<32-Vt(t)+a|n<<a|r,vn=o+e}else gn=1<<o|n<<a|r,vn=e}function Mu(e){e.return!==null&&(gr(e,1),Qg(e,1,0))}function Lu(e){for(;e===Ri;)Ri=aa[--oa],aa[oa]=null,Mi=aa[--oa],aa[oa]=null;for(;e===Tr;)Tr=Pt[--Tt],Pt[Tt]=null,vn=Pt[--Tt],Pt[Tt]=null,gn=Pt[--Tt],Pt[Tt]=null}var xt=null,bt=null,we=!1,Bt=null;function Yg(e,t){var n=kt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Vf(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 26,837 bytes, lines 38-40
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,xt=e,bt=Yn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,xt=e,bt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Tr!==null?{id:gn,overflow:vn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=kt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,xt=e,bt=null,!0):!1;default:return!1}}function gd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function vd(e){if(we){var t=bt;if(t){var n=t;if(!Vf(e,t)){if(gd(e))throw Error(L(418));t=Yn(n.nextSibling);var r=xt;t&&Vf(e,t)?Yg(r,n):(e.flags=e.flags&-4097|2,we=!1,xt=e)}}else{if(gd(e))throw Error(L(418));e.flags=e.flags&-4097|2,we=!1,xt=e}}}function Hf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;xt=e}function _s(e){if(e!==xt)return!1;if(!we)return Hf(e),we=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!pd(e.type,e.memoizedProps)),t&&(t=bt)){if(gd(e))throw Xg(),Error(L(418));for(;t;)Yg(e,t),t=Yn(t.nextSibling)}if(Hf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(L(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){bt=Yn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}bt=null}}else bt=xt?Yn(e.stateNode.nextSibling):null;return!0}function Xg(){for(var e=bt;e;)e=Yn(e.nextSibling)}function Ra(){bt=xt=null,we=!1}function Du(e){Bt===null?Bt=[e]:Bt.push(e)}var FE=Nn.ReactCurrentBatchConfig;function oo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(L(309));var r=n.stateNode}if(!r)throw Error(L(147,e));var a=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var i=a.refs;s===null?delete i[o]:i[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(L(284));if(!n._owner)throw Error(L(290,e))}return e}function zs(e,t){throw e=Object.prototype.toString.call(t),Error(L(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Wf(e){var t=e._init;return t(e._payload)}function Zg(e){function t(h,g){if(e){var x=h.deletions;x===null?(h.deletions=[g],h.flags|=16):x.push(g)}}function n(h,g){if(!e)return null;for(;g!==null;)t(h,g),g=g.sibling;return null}function r(h,g){for(h=new Map;g!==null;)g.key!==null?h.set(g.key,g):h.set(g.index,g),g=g.sibling;return h}function a(h,g){return h=er(h,g),h.index=0,h.sibling=null,h}function o(h,g,x){return h.index=x,e?(x=h.alternate,x!==null?(x=x.index,x<g?(h.flags|=2,g):x):(h.flags|=2,g)):(h.flags|=1048576,g)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function i(h,g,x,E){return g===null||g.tag!==6?(g=vc(x,h.mode,E),g.return=h,g):(g=a(g,x),g.return=h,g)}function c(h,g,x,E){var C=x.type;return C===Zr?f(h,g,x.props.children,E,x.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===On&&Wf(C)===g.type)?(E=a(g,x.props),E.ref=oo(h,g,x),E.return=h,E):(E=mi(x.type,x.key,x.props,null,h.mode,E),E.ref=oo(h,g,x),E.return=h,E)}function d(h,g,x,E){return g===null||g.tag!==4||g.stateNode.containerInfo!==x.containerInfo||g.stateNode.implementation!==x.implementation?(g=bc(x,h.mode,E),g.return=h,g):(g=a(g,x.children||[]),g.return=h,g)}function f(h,g,x,E,C){return g===null||g.tag!==7?(g=Ar(x,h.mode,E,C),g.return=h,g):(g=a(g,x),g.return=h,g)}function u(h,g,x){if(typeof g=="string"&&g!==""||typeof g=="number")return g=vc(""+g,h.mode,x),g.return=h,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case As:return x=mi(g.type,g.key,g.props,null,h.mode,x),x.ref=oo(h,null,g),x.return=h,x;case Xr:return g=bc(g,h.mode,x),g.return=h,g;case On:var E=g._init;return u(h,E(g._payload),x)}if(mo(g)||eo(g))return g=Ar(g,h.mode,x,null),g.return=h,g;zs(h,g)}return null}function p(h,g,x,E){var C=g!==null?g.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return C!==null?null:i(h,g,""+x,E);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case As:return x.key===C?c(h,g,x,E):null;case Xr:return x.key===C?d(h,g,x,E):null;case On:return C=x._init,p(h,g,C(x._payload),E)}if(mo(x)||eo(x))return C!==null?null:f(h,g,x,E,null);zs(h,x)}return null}function y(h,g,x,E,C){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(x)||null,i(g,h,""+E,C);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case As:return h=h.get(E.key===null?x:E.key)||null,c(g,h,E,C);case Xr:return h=h.get(E.key===null?x:E.key)||null,d(g,h,E,C);case On:var N=E._init;return y(h,g,x,N(E._payload),C)}if(mo(E)||eo(E))return h=h.get(x)||null,f(g,h,E,C,null);zs(g,E)}return null}function b(h,g,x,E){for(var C=null,N=null,S=g,j=g=0,T=null;S!==null&&j<x.length;j++){S.index>j?(T=S,S=null):T=S.sibling;var k=p(h,S,x[j],E);if(k===null){S===null&&(S=T);break}e&&S&&k.alternate===null&&t(h,S),g=o(k,g,j),N===null?C=k:N.sibling=k,N=k,S=T}if(j===x.length)return n(h,S),we&&gr(h,j),C;if(S===null){for(;j<x.length;j++)S=u(h,x[j],E),S!==null&&(g=o(S,g,j),N===null?C=S:N.sibling=S,N=S);return we&&gr(h,j),C}for(S=r(h,S);j<x.length;j++)T=y(S,h,j,x[j],E),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?j:T.key),g=o(T,g,j),N===null?C=T:N.sibling=T,N=T);return e&&S.forEach(function(I){return t(h,I)}),we&&gr(h,j),C}function v(h,g,x,E){var C=eo(x);if(typeof C!="function")throw Error(L(150));if(x=C.call(x),x==null)throw Error(L(151));for(var N=C=null,S=g,j=g=0,T=null,k=x.next();S!==null&&!k.done;j++,k=x.next()){S.index>j?(T=S,S=null):T=S.sibling;var I=p(h,S,k.value,E);if(I===null){S===null&&(S=T);break}e&&S&&I.alternate===null&&t(h,S),g=o(I,g,j),N===null?C=I:N.sibling=I,N=I,S=T}if(k.done)return n(h,S),we&&gr(h,j),C;if(S===null){for(;!k.done;j++,k=x.next())k=u(h,k.value,E),k!==null&&(g=o(k,g,j),N===null?C=k:N.sibling=k,N=k);return we&&gr(h,j),C}for(S=r(h,S);!k.done;j++,k=x.next())k=y(S,h,j,k.value,E),k!==null&&(e&&k.alternate!==null&&S.delete(k.key===null?j:k.key),g=o(k,g,j),N===null?C=k:N.sibling=k,N=k);return e&&S.forEach(function(_){return t(h,_)}),we&&gr(h,j),C}function w(h,g,x,E){if(typeof x=="object"&&x!==null&&x.type===Zr&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case As:e:{for(var C=x.key,N=g;N!==null;){if(N.key===C){if(C=x.type,C===Zr){if(N.tag===7){n(h,N.sibling),g=a(N,x.props.children),g.return=h,h=g;break e}}else if(N.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===On&&Wf(C)===N.type){n(h,N.sibling),g=a(N,x.props),g.ref=oo(h,N,x),g.return=h,h=g;break e}n(h,N);break}else t(h,N);N=N.sibling}x.type===Zr?(g=Ar(x.props.children,h.mode,E,x.key),g.return=h,h=g):(E=mi(x.type,x.key,x.props,null,h.mode,E),E.ref=oo(h,g,x),E.return=h,h=E)}return s(h);case Xr:e:{for(N=x.key;g!==null;){if(g.key===N)if(g.tag===4&&g.stateNode.containerInfo===x.containerInfo&&g.stateNode.implementation===x.implementation){n(h,g.sibling),g=a(g,x.children||[]),g.return=h,h=g;break e}else{n(h,g);break}else t(h,g);g=g.sibling}g=bc(x,h.mode,E),g.return=h,h=g}return s(h);case On:return N=x._init,w(h,g,N(x._payload),E)}if(mo(x))return b(h,g,x,E);if(eo(x))return v(h,g,x,E);zs(h,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,g!==null&&g.tag===6?(n(h,g.sibling),g=a(g,x),g.return=h,h=g):(n(h,g),g=vc(x,h.mode,E),g.return=h,h=g),s(h)):n(h,g)}return w}var Ma=Zg(!0),Jg=Zg(!1),Li=cr(null),Di=null,sa=null,Ou=null;function Iu(){Ou=sa=Di=null}function _u(e){var t=Li.current;ye(Li),e._currentValue=t}function bd(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 fa(e,t){Di=e,Ou=sa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(st=!0),e.firstContext=null)}function Lt(e){var t=e._currentValue;if(Ou!==e)if(e={context:e,memoizedValue:t,next:null},sa===null){if(Di===null)throw Error(L(308));sa=e,Di.dependencies={lanes:0,firstContext:e}}else sa=sa.next=e;return t}var yr=null;function zu(e){yr===null?yr=[e]:yr.push(e)}function ev(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,zu(t)):(n.next=a.next,a.next=n),t.interleaved=n,En(e,r)}function En(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var In=!1;function Fu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function tv(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 bn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ae&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,En(e,n)}return a=r.interleaved,a===null?(t.next=t,zu(r)):(t.next=a.next,a.next=t),r.interleaved=t,En(e,n)}function li(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,Su(e,n)}}function Gf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var a=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?a=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Oi(e,t,n,r){var a=e.updateQueue;In=!1;var o=a.firstBaseUpdate,s=a.lastBaseUpdate,i=a.shared.pending;if(i!==null){a.shared.pending=null;var c=i,d=c.next;c.next=null,s===null?o=d:s.next=d,s=c;var f=e.alternate;f!==null&&(f=f.updateQueue,i=f.lastBaseUpdate,i!==s&&(i===null?f.firstBaseUpdate=d:i.next=d,f.lastBaseUpdate=c))}if(o!==null){var u=a.baseState;s=0,f=d=c=null,i=o;do{var p=i.lane,y=i.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:y,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var b=e,v=i;switch(p=t,y=n,v.tag){case 1:if(b=v.payload,typeof b=="function"){u=b.call(y,u,p);break e}u=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=v.payload,p=typeof b=="function"?b.call(y,u,p):b,p==null)break e;u=je({},u,p);break e;case 2:In=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,p=a.effects,p===null?a.effects=[i]:p.push(i))}else y={eventTime:y,lane:p,tag:i.tag,payload:i.payload,callback:i.callback,next:null},f===null?(d=f=y,c=u):f=f.next=y,s|=p;if(i=i.next,i===null){if(i=a.shared.pending,i===null)break;p=i,i=p.next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}while(!0);if(f===null&&(c=u),a.baseState=c,a.firstBaseUpdate=d,a.lastBaseUpdate=f,t=a.shared.interleaved,t!==null){a=t;do s|=a.lane,a=a.next;while(a!==t)}else o===null&&(a.shared.lanes=0);Rr|=s,e.lanes=s,e.memoizedState=u}}function Kf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(a!==null){if(r.callback=null,r=n,typeof a!="function")throw Error(L(191,a));a.call(r)}}}var hs={},sn=cr(hs),Vo=cr(hs),Ho=cr(hs);function xr(e){if(e===hs)throw Error(L(174));return e}function qu(e,t){switch(ge(Ho,t),ge(Vo,e),ge(sn,hs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zc(t,e)}ye(sn),ge(sn,t)}function La(){ye(sn),ye(Vo),ye(Ho)}function nv(e){xr(Ho.current);var t=xr(sn.current),n=Zc(t,e.type);t!==n&&(ge(Vo,e),ge(sn,n))}function $u(e){Vo.current===e&&(ye(sn),ye(Vo))}var Ee=cr(0);function Ii(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var uc=[];function Bu(){for(var e=0;e<uc.length;e++)uc[e]._workInProgressVersionPrimary=null;uc.length=0}var ci=Nn.ReactCurrentDispatcher,pc=Nn.ReactCurrentBatchConfig,kr=0,Se=null,De=null,ze=null,_i=!1,So=!1,Wo=0,qE=0;function Ve(){throw Error(L(321))}function Uu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Gt(e[n],t[n]))return!1;return!0}function Vu(e,t,n,r,a,o){if(kr=o,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ci.current=e===null||e.memoizedState===null?VE:HE,e=n(r,a),So){o=0;do{if(So=!1,Wo=0,25<=o)throw Error(L(301));o+=1,ze=De=null,t.updateQueue=null,ci.current=WE,e=n(r,a)}while(So)}if(ci.current=zi,t=De!==null&&De.next!==null,kr=0,ze=De=Se=null,_i=!1,t)throw Error(L(300));return e}function Hu(){var e=Wo!==0;return Wo=0,e}function en(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ze===null?Se.memoizedState=ze=e:ze=ze.next=e,ze}function Dt(){if(De===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=De.next;var t=ze===null?Se.memoizedState:ze.next;if(t!==null)ze=t,De=e;else{if(e===null)throw Error(L(310));De=e,e={memoizedState:De.memoizedState,baseState:De.baseState,baseQueue:De.baseQueue,queue:De.queue,next:null},ze===null?Se.memoizedState=ze=e:ze=ze.next=e}return ze}function Go(e,t){return typeof t=="function"?t(e):t}function fc(e){var t=Dt(),n=t.queue;if(n===null)throw Error(L(311));n.lastRenderedReducer=e;var r=De,a=r.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}r.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,r=r.baseState;var i=s=null,c=null,d=o;do{var f=d.lane;if((kr&f)===f)c!==null&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var u={lane:f,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};c===null?(i=c=u,s=r):c=c.next=u,Se.lanes|=f,Rr|=f}d=d.next}while(d!==null&&d!==o);c===null?s=r:c.next=i,Gt(r,t.memoizedState)||(st=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){a=e;do o=a.lane,Se.lanes|=o,Rr|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function mc(e){var t=Dt(),n=t.queue;if(n===null)throw Error(L(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Gt(o,t.memoizedState)||(st=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function rv(){}function av(e,t){var n=Se,r=Dt(),a=t(),o=!Gt(r.memoizedState,a);if(o&&(r.memoizedState=a,st=!0),r=r.queue,Wu(iv.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ze!==null&&ze.memoizedState.tag&1){if(n.flags|=2048,Ko(9,sv.bind(null,n,r,a,t),void 0,null),Fe===null)throw Error(L(349));kr&30||ov(n,t,a)}return a}function ov(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Se.updateQueue,t===null?(t={lastEffect:null,stores:null},Se.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function sv(e,t,n,r){t.value=n,t.getSnapshot=r,lv(t)&&cv(e)}function iv(e,t,n){return n(function(){lv(t)&&cv(e)})}function lv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gt(e,n)}catch{return!0}}function cv(e){var t=En(e,1);t!==null&&Ht(t,e,1,-1)}function Qf(e){var t=en();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Go,lastRenderedState:e},t.queue=e,e=e.dispatch=UE.bind(null,Se,e),[t.memoizedState,e]}function Ko(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Se.updateQueue,t===null?(t={lastEffect:null,stores:null},Se.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function dv(){return Dt().memoizedState}function di(e,t,n,r){var a=en();Se.flags|=e,a.memoizedState=Ko(1|t,n,void 0,r===void 0?null:r)}function cl(e,t,n,r){var a=Dt();r=r===void 0?null:r;var o=void 0;if(De!==null){var s=De.memoizedState;if(o=s.destroy,r!==null&&Uu(r,s.deps)){a.memoizedState=Ko(t,n,o,r);return}}Se.flags|=e,a.memoizedState=Ko(1|t,n,o,r)}function Yf(e,t){return di(8390656,8,e,t)}function Wu(e,t){return cl(2048,8,e,t)}function uv(e,t){return cl(4,2,e,t)}function pv(e,t){return cl(4,4,e,t)}function fv(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function mv(e,t,n){return n=n!=null?n.concat([e]):null,cl(4,4,fv.bind(null,t,e),n)}function Gu(){}function hv(e,t){var n=Dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function gv(e,t){var n=Dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function vv(e,t,n){return kr&21?(Gt(n,t)||(n=Eg(),Se.lanes|=n,Rr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,st=!0),e.memoizedState=n)}function $E(e,t){var n=le;le=n!==0&&4>n?n:4,e(!0);var r=pc.transition;pc.transition={};try{e(!1),t()}finally{le=n,pc.transition=r}}function bv(){return Dt().memoizedState}function BE(e,t,n){var r=Jn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yv(e))xv(t,n);else if(n=ev(e,t,n,r),n!==null){var a=Je();Ht(n,e,r,a),wv(n,t,r)}}function UE(e,t,n){var r=Jn(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yv(e))xv(t,a);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,i=o(s,n);if(a.hasEagerState=!0,a.eagerState=i,Gt(i,s)){var c=t.interleaved;c===null?(a.next=a,zu(t)):(a.next=c.next,c.next=a),t.interleaved=a;return}}catch{}finally{}n=ev(e,t,a,r),n!==null&&(a=Je(),Ht(n,e,r,a),wv(n,t,r))}}function yv(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function xv(e,t){So=_i=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function wv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Su(e,n)}}var zi={readContext:Lt,useCallback:Ve,useContext:Ve,useEffect:Ve,useImperativeHandle:Ve,useInsertionEffect:Ve,useLayoutEffect:Ve,useMemo:Ve,useReducer:Ve,useRef:Ve,useState:Ve,useDebugValue:Ve,useDeferredValue:Ve,useTransition:Ve,useMutableSource:Ve,useSyncExternalStore:Ve,useId:Ve,unstable_isNewReconciler:!1},VE={readContext:Lt,useCallback:function(e,t){return en().memoizedState=[e,t===void 0?null:t],e},useContext:Lt,useEffect:Yf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,di(4194308,4,fv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return di(4194308,4,e,t)},useInsertionEffect:function(e,t){return di(4,2,e,t)},useMemo:function(e,t){var n=en();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=en();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=BE.bind(null,Se,e),[r.memoizedState,e]},useRef:function(e){var t=en();return e={current:e},t.memoizedState=e},useState:Qf,useDebugValue:Gu,useDeferredValue:function(e){return en().memoizedState=e},useTransition:function(){var e=Qf(!1),t=e[0];return e=$E.bind(null,e[1]),en().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Se,a=en();if(we){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),Fe===null)throw Error(L(349));kr&30||ov(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Yf(iv.bind(null,r,o,e),[e]),r.flags|=2048,Ko(9,sv.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=en(),t=Fe.identifierPrefix;if(we){var n=vn,r=gn;n=(r&~(1<<32-Vt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=qE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},HE={readContext:Lt,useCallback:hv,useContext:Lt,useEffect:Wu,useImperativeHandle:mv,useInsertionEffect:uv,useLayoutEffect:pv,useMemo:gv,useReducer:fc,useRef:dv,useState:function(){return fc(Go)},useDebugValue:Gu,useDeferredValue:function(e){var t=Dt();return vv(t,De.memoizedState,e)},useTransition:function(){var e=fc(Go)[0],t=Dt().memoizedState;return[e,t]},useMutableSource:rv,useSyncExternalStore:av,useId:bv,unstable_isNewReconciler:!1},WE={readContext:Lt,useCallback:hv,useContext:Lt,useEffect:Wu,useImperativeHandle:mv,useInsertionEffect:uv,useLayoutEffect:pv,useMemo:gv,useReducer:mc,useRef:dv,useState:function(){return mc(Go)},useDebugValue:Gu,useDeferredValue:function(e){var t=Dt();return De===null?t.memoizedState=e:vv(t,De.memoizedState,e)},useTransition:function(){var e=mc(Go)[0],t=Dt().memoizedState;return[e,t]},useMutableSource:rv,useSyncExternalStore:av,useId:bv,unstable_isNewReconciler:!1};function zt(e,t){if(e&&e.defaultProps){t=je({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function yd(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:je({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var dl={isMounted:function(e){return(e=e._reactInternals)?zr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Je(),a=Jn(e),o=bn(r,a);o.payload=t,n!=null&&(o.callback=n),t=Xn(e,o,a),t!==null&&(Ht(t,e,a,r),li(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Je(),a=Jn(e),o=bn(r,a);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Xn(e,o,a),t!==null&&(Ht(t,e,a,r),li(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Je(),r=Jn(e),a=bn(n,r);a.tag=2,t!=null&&(a.callback=t),t=Xn(e,a,r),t!==null&&(Ht(t,e,r,n),li(t,e,r))}};function Xf(e,t,n,r,a,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!qo(n,r)||!qo(a,o):!0}function Ev(e,t,n){var r=!1,a=rr,o=t.contextType;return typeof o=="object"&&o!==null?o=Lt(o):(a=lt(t)?Pr:Qe.current,r=t.contextTypes,o=(r=r!=null)?ka(e,a):rr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=dl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Zf(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&dl.enqueueReplaceState(t,t.state,null)}function xd(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Fu(e);var o=t.contextType;typeof o=="object"&&o!==null?a.context=Lt(o):(o=lt(t)?Pr:Qe.current,a.context=ka(e,o)),a.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(yd(e,t,o,n),a.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(t=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),t!==a.state&&dl.enqueueReplaceState(a,a.state,null),Oi(e,n,a,r),a.state=e.memoizedState),typeof a.componentDidMount=="function"&&(e.flags|=4194308)}function Da(e,t){try{var n="",r=t;do n+=xw(r),r=r.return;while(r);var a=n}catch(o){a=`
39Error generating stack: `+o.message+`
40`+o.stack}return{value:e,source:t,stack:a,digest:null}}function hc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function wd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var GE=typeof WeakMap=="function"?WeakMap:Map;function Cv(e,t,n){n=bn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qi||(qi=!0,Rd=r),wd(e,t)},n}function Sv(e,t,n){n=bn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){wd(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){wd(e,t),typeof r!="function"&&(Zn===null?Zn=new Set([this]):Zn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Jf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new GE;var a=new Set;r.set(t,a)}else a=r.get(t),a===void 0&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=i2.bind(null,e,t,n),t.then(e,e))}function em(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function tm(e,t,n,r,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=bn(-1,1),t.tag=2,Xn(n,t,1))),n.lanes|=1),e)}var KE=Nn.ReactCurrentOwner,st=!1;function Xe(e,t,n,r){t.child=e===null?Jg(t,null,n,r):Ma(t,e.child,n,r)}function nm(e,t,n,r,a){n=n.render;var o=t.ref;return fa(t,a),r=Vu(e,t,n,r,o,a),n=Hu(),e!==null&&!st?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Cn(e,t,a)):(we&&n&&Mu(t),t.flags|=1,Xe(e,t,r,a),t.child)}function rm(e,t,n,r,a){if(e===null){var o=n.type;return typeof o=="function"&&!tp(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,jv(e,t,o,r,a)):(e=mi(n.type,null,r,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&a)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:qo,n(s,r)&&e.ref===t.ref)return Cn(e,t,a)}return t.flags|=1,e=er(o,r),e.ref=t.ref,e.return=t,t.child=e}function jv(e,t,n,r,a){if(e!==null){var o=e.memoizedProps;if(qo(o,r)&&e.ref===t.ref)if(st=!1,t.pendingProps=r=o,(e.lanes&a)!==0)e.flags&131072&&(st=!0);else return t.lanes=e.lanes,Cn(e,t,a)}return Ed(e,t,n,r,a)}function Nv(e,t,n){var r=t.pendingProps,a=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ge(la,gt),gt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ge(la,gt),gt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ge(la,gt),gt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ge(la,gt),gt|=r;return Xe(e,t,a,n),t.child}function Av(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 3,551 bytes, line 40
40function Ed(e,t,n,r,a){var o=lt(n)?Pr:Qe.current;return o=ka(t,o),fa(t,a),n=Vu(e,t,n,r,o,a),r=Hu(),e!==null&&!st?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Cn(e,t,a)):(we&&r&&Mu(t),t.flags|=1,Xe(e,t,n,a),t.child)}function am(e,t,n,r,a){if(lt(n)){var o=!0;ki(t)}else o=!1;if(fa(t,a),t.stateNode===null)ui(e,t),Ev(t,n,r),xd(t,n,r,a),r=!0;else if(e===null){var s=t.stateNode,i=t.memoizedProps;s.props=i;var c=s.context,d=n.contextType;typeof d=="object"&&d!==null?d=Lt(d):(d=lt(n)?Pr:Qe.current,d=ka(t,d));var f=n.getDerivedStateFromProps,u=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function";u||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(i!==r||c!==d)&&Zf(t,s,r,d),In=!1;var p=t.memoizedState;s.state=p,Oi(t,r,s,a),c=t.memoizedState,i!==r||p!==c||it.current||In?(typeof f=="function"&&(yd(t,n,f,r),c=t.memoizedState),(i=In||Xf(t,n,i,r,p,c,d))?(u||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),s.props=r,s.state=c,s.context=d,r=i):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,tv(e,t),i=t.memoizedProps,d=t.type===t.elementType?i:zt(t.type,i),s.props=d,u=t.pendingProps,p=s.context,c=n.contextType,typeof c=="object"&&c!==null?c=Lt(c):(c=lt(n)?Pr:Qe.current,c=ka(t,c));var y=n.getDerivedStateFromProps;(f=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(i!==u||p!==c)&&Zf(t,s,r,c),In=!1,p=t.memoizedState,s.state=p,Oi(t,r,s,a);var b=t.memoizedState;i!==u||p!==b||it.current||In?(typeof y=="function"&&(yd(t,n,y,r),b=t.memoizedState),(d=In||Xf(t,n,d,r,p,b,c)||!1)?(f||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,b,c),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,b,c)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),s.props=r,s.state=b,s.context=c,r=d):(typeof s.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Cd(e,t,n,r,o,a)}function Cd(e,t,n,r,a,o){Av(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return a&&Uf(t,n,!1),Cn(e,t,o);r=t.stateNode,KE.current=t;var i=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Ma(t,e.child,null,o),t.child=Ma(t,null,i,o)):Xe(e,t,i,o),t.memoizedState=r.state,a&&Uf(t,n,!0),t.child}function Pv(e){var t=e.stateNode;t.pendingContext?Bf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Bf(e,t.context,!1),qu(e,t.containerInfo)}function om(e,t,n,r,a){return Ra(),Du(a),t.flags|=256,Xe(e,t,n,r),t.child}var Sd={dehydrated:null,treeContext:null,retryLane:0};
vendor: 4,627 bytes, line 40
40function jd(e){return{baseLanes:e,cachePool:null,transitions:null}}function Tv(e,t,n){var r=t.pendingProps,a=Ee.current,o=!1,s=(t.flags&128)!==0,i;if((i=s)||(i=e!==null&&e.memoizedState===null?!1:(a&2)!==0),i?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),ge(Ee,a&1),e===null)return vd(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=fl(s,r,0,null),e=Ar(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=jd(n),t.memoizedState=Sd,e):Ku(t,s));if(a=e.memoizedState,a!==null&&(i=a.dehydrated,i!==null))return QE(e,t,s,r,i,a,n);if(o){o=r.fallback,s=t.mode,a=e.child,i=a.sibling;var c={mode:"hidden",children:r.children};return!(s&1)&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=er(a,c),r.subtreeFlags=a.subtreeFlags&14680064),i!==null?o=er(i,o):(o=Ar(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?jd(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Sd,r}return o=e.child,e=o.sibling,r=er(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ku(e,t){return t=fl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Fs(e,t,n,r){return r!==null&&Du(r),Ma(t,e.child,null,n),e=Ku(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function QE(e,t,n,r,a,o,s){if(n)return t.flags&256?(t.flags&=-257,r=hc(Error(L(422))),Fs(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=fl({mode:"visible",children:r.children},a,0,null),o=Ar(o,a,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Ma(t,e.child,null,s),t.child.memoizedState=jd(s),t.memoizedState=Sd,o);if(!(t.mode&1))return Fs(e,t,s,null);if(a.data==="$!"){if(r=a.nextSibling&&a.nextSibling.dataset,r)var i=r.dgst;return r=i,o=Error(L(419)),r=hc(o,r,void 0),Fs(e,t,s,r)}if(i=(s&e.childLanes)!==0,st||i){if(r=Fe,r!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=a&(r.suspendedLanes|s)?0:a,a!==0&&a!==o.retryLane&&(o.retryLane=a,En(e,a),Ht(r,e,a,-1))}return ep(),r=hc(Error(L(421))),Fs(e,t,s,r)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=l2.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,bt=Yn(a.nextSibling),xt=t,we=!0,Bt=null,e!==null&&(Pt[Tt++]=gn,Pt[Tt++]=vn,Pt[Tt++]=Tr,gn=e.id,vn=e.overflow,Tr=t),t=Ku(t,r.children),t.flags|=4096,t)}function sm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),bd(e.return,t,n)}function gc(e,t,n,r,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function kv(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Xe(e,t,r.children,n),r=Ee.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&sm(e,n,t);else if(e.tag===19)sm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ge(Ee,r),!(t.mode&1))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;n!==null;)e=n.alternate,e!==null&&Ii(e)===null&&(a=n),n=n.sibling;n=a,n===null?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),gc(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&Ii(e)===null){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}gc(t,!0,n,null,o);break;case"together":gc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ui(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Cn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Rr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(L(153));
vendor: 5,451 bytes, line 40
40if(t.child!==null){for(e=t.child,n=er(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=er(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function YE(e,t,n){switch(t.tag){case 3:Pv(t),Ra();break;case 5:nv(t);break;case 1:lt(t.type)&&ki(t);break;case 4:qu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;ge(Li,r._currentValue),r._currentValue=a;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ge(Ee,Ee.current&1),t.flags|=128,null):n&t.child.childLanes?Tv(e,t,n):(ge(Ee,Ee.current&1),e=Cn(e,t,n),e!==null?e.sibling:null);ge(Ee,Ee.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return kv(e,t,n);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),ge(Ee,Ee.current),r)break;return null;case 22:case 23:return t.lanes=0,Nv(e,t,n)}return Cn(e,t,n)}var Rv,Nd,Mv,Lv;Rv=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Nd=function(){};Mv=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,xr(sn.current);var o=null;switch(n){case"input":a=Kc(e,a),r=Kc(e,r),o=[];break;case"select":a=je({},a,{value:void 0}),r=je({},r,{value:void 0}),o=[];break;case"textarea":a=Xc(e,a),r=Xc(e,r),o=[];break;default:typeof a.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Pi)}Jc(n,r);var s;n=null;for(d in a)if(!r.hasOwnProperty(d)&&a.hasOwnProperty(d)&&a[d]!=null)if(d==="style"){var i=a[d];for(s in i)i.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Lo.hasOwnProperty(d)?o||(o=[]):(o=o||[]).push(d,null));for(d in r){var c=r[d];if(i=a!=null?a[d]:void 0,r.hasOwnProperty(d)&&c!==i&&(c!=null||i!=null))if(d==="style")if(i){for(s in i)!i.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in c)c.hasOwnProperty(s)&&i[s]!==c[s]&&(n||(n={}),n[s]=c[s])}else n||(o||(o=[]),o.push(d,n)),n=c;else d==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,i=i?i.__html:void 0,c!=null&&i!==c&&(o=o||[]).push(d,c)):d==="children"?typeof c!="string"&&typeof c!="number"||(o=o||[]).push(d,""+c):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Lo.hasOwnProperty(d)?(c!=null&&d==="onScroll"&&be("scroll",e),o||i===c||(o=[])):(o=o||[]).push(d,c))}n&&(o=o||[]).push("style",n);var d=o;(t.updateQueue=d)&&(t.flags|=4)}};Lv=function(e,t,n,r){n!==r&&(t.flags|=4)};function so(e,t){if(!we)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function He(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&14680064,r|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function XE(e,t,n){var r=t.pendingProps;switch(Lu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return He(t),null;case 1:return lt(t.type)&&Ti(),He(t),null;case 3:return r=t.stateNode,La(),ye(it),ye(Qe),Bu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(_s(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Bt!==null&&(Dd(Bt),Bt=null))),Nd(e,t),He(t),null;case 5:$u(t);var a=xr(Ho.current);if(n=t.type,e!==null&&t.stateNode!=null)Mv(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(L(166));return He(t),null}if(e=xr(sn.current),_s(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[an]=t,r[Uo]=o,e=(t.mode&1)!==0,n){case"dialog":be("cancel",r),be("close",r);break;case"iframe":case"object":case"embed":be("load",r);break;case"video":case"audio":for(a=0;a<go.length;a++)be(go[a],r);break;case"source":be("error",r);break;case"img":case"image":case"link":be("error",r),be("load",r);break;case"details":be("toggle",r);break;case"input":hf(r,o),be("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},be("invalid",r);break;case"textarea":vf(r,o),be("invalid",r)}Jc(n,o),a=null;for(var s in o)if(o.hasOwnProperty(s)){var i=o[s];s==="children"?typeof i=="string"?r.textContent!==i&&(o.suppressHydrationWarning!==!0&&Is(r.textContent,i,e),a=["children",i]):typeof i=="number"&&r.textContent!==""+i&&(o.suppressHydrationWarning!==!0&&Is(r.textContent,i,e),a=["children",""+i]):Lo.hasOwnProperty(s)&&i!=null&&s==="onScroll"&&be("scroll",r)}switch(n){case"input":Ps(r),gf(r,o,!0);break;case"textarea":Ps(r),bf(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Pi)}r=a,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=a.nodeType===9?a:a.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ig(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>
40",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[an]=t,e[Uo]=r,Rv(e,t,!1,!1),t.stateNode=e;e:{switch(s=ed(n,r),n){case"dialog":be("cancel",e),be("close",e),a=r;break;case"iframe":case"object":case"embed":be("load",e),a=r;break;case"video":case"audio":for(a=0;a<go.length;a++)be(go[a],e);a=r;break;case"source":be("error",e),a=r;break;case"img":case"image":case"link":be("error",e),be("load",e),a=r;break;case"details":be("toggle",e),a=r;break;case"input":hf(e,r),a=Kc(e,r),be("invalid",e);break;case"option":a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=je({},r,{value:void 0}),be("invalid",e);break;case"textarea":vf(e,r),a=Xc(e,r),be("invalid",e);break;default:a=r}Jc(n,a),i=a;for(o in i)if(i.hasOwnProperty(o)){var c=i[o];o==="style"?dg(e,c):o==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&lg(e,c)):o==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Do(e,c):typeof c=="number"&&Do(e,""+c):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Lo.hasOwnProperty(o)?c!=null&&o==="onScroll"&&be("scroll",e):c!=null&&bu(e,o,c,s))}switch(n){case"input":Ps(e),gf(e,r,!1);break;case"textarea":Ps(e),bf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+nr(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?ca(e,!!r.multiple,o,!1):r.defaultValue!=null&&ca(e,!!r.multiple,r.defaultValue,!0);break;default:typeof a.onClick=="function"&&(e.onclick=Pi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return He(t),null;case 6:if(e&&t.stateNode!=null)Lv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(L(166));if(n=xr(Ho.current),xr(sn.current),_s(t)){if(r=t.stateNode,n=t.memoizedProps,r[an]=t,(o=r.nodeValue!==n)&&(e=xt,e!==null))switch(e.tag){case 3:Is(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Is(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[an]=t,t.stateNode=r}return He(t),null;case 13:if(ye(Ee),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(we&&bt!==null&&t.mode&1&&!(t.flags&128))Xg(),Ra(),t.flags|=98560,o=!1;else if(o=_s(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(L(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(L(317));o[an]=t}else Ra(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;He(t),o=!1}else Bt!==null&&(Dd(Bt),Bt=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ee.current&1?Ie===0&&(Ie=3):ep())),t.updateQueue!==null&&(t.flags|=4),He(t),null);case 4:return La(),Nd(e,t),e===null&&$o(t.stateNode.containerInfo),He(t),null;case 10:return _u(t.type._context),He(t),null;case 17:return lt(t.type)&&Ti(),He(t),null;case 19:if(ye(Ee),o=t.memoizedState,o===null)return He(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)so(o,!1);else{if(Ie!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Ii(e),s!==null){for(t.flags|=128,so(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ge(Ee,Ee.current&1|2),t.child}e=e.sibling}o.tail!==null&&Te()>Oa&&(t.flags|=128,r=!0,so(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ii(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),so(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!we)return He(t),null}else 2*Te()-o.renderingStartTime>Oa&&n!==1073741824&&(t.flags|=128,r=!0,so(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Te(),t.sibling=null,n=Ee.current,ge(Ee,r?n&1|2:n&1),t):(He(t),null);case 22:case 23:return Ju(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?gt&1073741824&&(He(t),t.subtreeFlags&6&&(t.flags|=8192)):He(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function ZE(e,t){switch(Lu(t),t.tag){case 1:return lt(t.type)&&Ti(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 25,347 bytes, line 40
40case 3:return La(),ye(it),ye(Qe),Bu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $u(t),null;case 13:if(ye(Ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));Ra()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ye(Ee),null;case 4:return La(),null;case 10:return _u(t.type._context),null;case 22:case 23:return Ju(),null;case 24:return null;default:return null}}var qs=!1,Ge=!1,JE=typeof WeakSet=="function"?WeakSet:Set,q=null;function ia(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Pe(e,t,r)}else n.current=null}function Ad(e,t,n){try{n()}catch(r){Pe(e,t,r)}}var im=!1;function e2(e,t){if(dd=ji,e=zg(),Ru(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 a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,i=-1,c=-1,d=0,f=0,u=e,p=null;t:for(;;){for(var y;u!==n||a!==0&&u.nodeType!==3||(i=s+a),u!==o||r!==0&&u.nodeType!==3||(c=s+r),u.nodeType===3&&(s+=u.nodeValue.length),(y=u.firstChild)!==null;)p=u,u=y;for(;;){if(u===e)break t;if(p===n&&++d===a&&(i=s),p===o&&++f===r&&(c=s),(y=u.nextSibling)!==null)break;u=p,p=u.parentNode}u=y}n=i===-1||c===-1?null:{start:i,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ud={focusedElem:e,selectionRange:n},ji=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;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,h=t.stateNode,g=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:zt(t.type,v),w);h.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(E){Pe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return b=im,im=!1,b}function jo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,o!==void 0&&Ad(t,n,o)}a=a.next}while(a!==r)}}function ul(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 Pd(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 Dv(e){var t=e.alternate;t!==null&&(e.alternate=null,Dv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[an],delete t[Uo],delete t[md],delete t[IE],delete t[_E])),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 Ov(e){return e.tag===5||e.tag===3||e.tag===4}function lm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ov(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 Td(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=Pi));else if(r!==4&&(e=e.child,e!==null))for(Td(e,t,n),e=e.sibling;e!==null;)Td(e,t,n),e=e.sibling}function kd(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(kd(e,t,n),e=e.sibling;e!==null;)kd(e,t,n),e=e.sibling}var qe=null,$t=!1;function kn(e,t,n){for(n=n.child;n!==null;)Iv(e,t,n),n=n.sibling}function Iv(e,t,n){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(rl,n)}catch{}switch(n.tag){case 5:Ge||ia(n,t);case 6:var r=qe,a=$t;qe=null,kn(e,t,n),qe=r,$t=a,qe!==null&&($t?(e=qe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):qe.removeChild(n.stateNode));break;case 18:qe!==null&&($t?(e=qe,n=n.stateNode,e.nodeType===8?cc(e.parentNode,n):e.nodeType===1&&cc(e,n),zo(e)):cc(qe,n.stateNode));break;case 4:r=qe,a=$t,qe=n.stateNode.containerInfo,$t=!0,kn(e,t,n),qe=r,$t=a;break;case 0:case 11:case 14:case 15:if(!Ge&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){a=r=r.next;do{var o=a,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Ad(n,t,s),a=a.next}while(a!==r)}kn(e,t,n);break;case 1:if(!Ge&&(ia(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){Pe(n,t,i)}kn(e,t,n);break;case 21:kn(e,t,n);break;case 22:n.mode&1?(Ge=(r=Ge)||n.memoizedState!==null,kn(e,t,n),Ge=r):kn(e,t,n);break;default:kn(e,t,n)}}function cm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new JE),t.forEach(function(r){var a=c2.bind(null,e,r);n.has(r)||(n.add(r),r.then(a,a))})}}function It(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r];try{var o=e,s=t,i=s;e:for(;i!==null;){switch(i.tag){case 5:qe=i.stateNode,$t=!1;break e;case 3:qe=i.stateNode.containerInfo,$t=!0;break e;case 4:qe=i.stateNode.containerInfo,$t=!0;break e}i=i.return}if(qe===null)throw Error(L(160));Iv(o,s,a),qe=null,$t=!1;var c=a.alternate;c!==null&&(c.return=null),a.return=null}catch(d){Pe(a,t,d)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)_v(t,e),t=t.sibling}function _v(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(It(t,e),Jt(e),r&4){try{jo(3,e,e.return),ul(3,e)}catch(v){Pe(e,e.return,v)}try{jo(5,e,e.return)}catch(v){Pe(e,e.return,v)}}break;case 1:It(t,e),Jt(e),r&512&&n!==null&&ia(n,n.return);break;case 5:if(It(t,e),Jt(e),r&512&&n!==null&&ia(n,n.return),e.flags&32){var a=e.stateNode;try{Do(a,"")}catch(v){Pe(e,e.return,v)}}if(r&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,i=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{i==="input"&&o.type==="radio"&&o.name!=null&&og(a,o),ed(i,s);var d=ed(i,o);for(s=0;s<c.length;s+=2){var f=c[s],u=c[s+1];f==="style"?dg(a,u):f==="dangerouslySetInnerHTML"?lg(a,u):f==="children"?Do(a,u):bu(a,f,u,d)}switch(i){case"input":Qc(a,o);break;case"textarea":sg(a,o);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var y=o.value;y!=null?ca(a,!!o.multiple,y,!1):p!==!!o.multiple&&(o.defaultValue!=null?ca(a,!!o.multiple,o.defaultValue,!0):ca(a,!!o.multiple,o.multiple?[]:"",!1))}a[Uo]=o}catch(v){Pe(e,e.return,v)}}break;case 6:if(It(t,e),Jt(e),r&4){if(e.stateNode===null)throw Error(L(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(v){Pe(e,e.return,v)}}break;case 3:if(It(t,e),Jt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{zo(t.containerInfo)}catch(v){Pe(e,e.return,v)}break;case 4:It(t,e),Jt(e);break;case 13:It(t,e),Jt(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(Xu=Te())),r&4&&cm(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Ge=(d=Ge)||f,It(t,e),Ge=d):It(t,e),Jt(e),r&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!f&&e.mode&1)for(q=e,f=e.child;f!==null;){for(u=q=f;q!==null;){switch(p=q,y=p.child,p.tag){case 0:case 11:case 14:case 15:jo(4,p,p.return);break;case 1:ia(p,p.return);var b=p.stateNode;if(typeof b.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(v){Pe(r,n,v)}}break;case 5:ia(p,p.return);break;case 22:if(p.memoizedState!==null){um(u);continue}}y!==null?(y.return=p,q=y):um(u)}f=f.sibling}e:for(f=null,u=e;;){if(u.tag===5){if(f===null){f=u;try{a=u.stateNode,d?(o=a.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(i=u.stateNode,c=u.memoizedProps.style,s=c!=null&&c.hasOwnProperty("display")?c.display:null,i.style.display=cg("display",s))}catch(v){Pe(e,e.return,v)}}}else if(u.tag===6){if(f===null)try{u.stateNode.nodeValue=d?"":u.memoizedProps}catch(v){Pe(e,e.return,v)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break e;for(;u.sibling===null;){if(u.return===null||u.return===e)break e;f===u&&(f=null),u=u.return}f===u&&(f=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:It(t,e),Jt(e),r&4&&cm(e);break;case 21:break;default:It(t,e),Jt(e)}}function Jt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ov(n)){var r=n;break e}n=n.return}throw Error(L(160))}switch(r.tag){case 5:var a=r.stateNode;r.flags&32&&(Do(a,""),r.flags&=-33);var o=lm(e);kd(e,o,a);break;case 3:case 4:var s=r.stateNode.containerInfo,i=lm(e);Td(e,i,s);break;default:throw Error(L(161))}}catch(c){Pe(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function t2(e,t,n){q=e,zv(e)}function zv(e,t,n){for(var r=(e.mode&1)!==0;q!==null;){var a=q,o=a.child;if(a.tag===22&&r){var s=a.memoizedState!==null||qs;if(!s){var i=a.alternate,c=i!==null&&i.memoizedState!==null||Ge;i=qs;var d=Ge;if(qs=s,(Ge=c)&&!d)for(q=a;q!==null;)s=q,c=s.child,s.tag===22&&s.memoizedState!==null?pm(a):c!==null?(c.return=s,q=c):pm(a);for(;o!==null;)q=o,zv(o),o=o.sibling;q=a,qs=i,Ge=d}dm(e)}else a.subtreeFlags&8772&&o!==null?(o.return=a,q=o):dm(e)}}function dm(e){for(;q!==null;){var t=q;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ge||ul(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ge)if(n===null)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:zt(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Kf(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Kf(t,s,n)}break;case 5:var i=t.stateNode;if(n===null&&t.flags&4){n=i;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var d=t.alternate;if(d!==null){var f=d.memoizedState;if(f!==null){var u=f.dehydrated;u!==null&&zo(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(L(163))}Ge||t.flags&512&&Pd(t)}catch(p){Pe(t,t.return,p)}}if(t===e){q=null;break}if(n=t.sibling,n!==null){n.return=t.return,q=n;break}q=t.return}}function um(e){for(;q!==null;){var t=q;if(t===e){q=null;break}var n=t.sibling;if(n!==null){n.return=t.return,q=n;break}q=t.return}}function pm(e){for(;q!==null;){var t=q;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ul(4,t)}catch(c){Pe(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var a=t.return;try{r.componentDidMount()}catch(c){Pe(t,a,c)}}var o=t.return;try{Pd(t)}catch(c){Pe(t,o,c)}break;case 5:var s=t.return;try{Pd(t)}catch(c){Pe(t,s,c)}}}catch(c){Pe(t,t.return,c)}if(t===e){q=null;break}var i=t.sibling;if(i!==null){i.return=t.return,q=i;break}q=t.return}}var n2=Math.ceil,Fi=Nn.ReactCurrentDispatcher,Qu=Nn.ReactCurrentOwner,Rt=Nn.ReactCurrentBatchConfig,ae=0,Fe=null,Re=null,$e=0,gt=0,la=cr(0),Ie=0,Qo=null,Rr=0,pl=0,Yu=0,No=null,ot=null,Xu=0,Oa=1/0,mn=null,qi=!1,Rd=null,Zn=null,$s=!1,Hn=null,$i=0,Ao=0,Md=null,pi=-1,fi=0;function Je(){return ae&6?Te():pi!==-1?pi:pi=Te()}function Jn(e){return e.mode&1?ae&2&&$e!==0?$e&-$e:FE.transition!==null?(fi===0&&(fi=Eg()),fi):(e=le,e!==0||(e=window.event,e=e===void 0?16:Tg(e.type)),e):1}function Ht(e,t,n,r){if(50<Ao)throw Ao=0,Md=null,Error(L(185));ps(e,n,r),(!(ae&2)||e!==Fe)&&(e===Fe&&(!(ae&2)&&(pl|=n),Ie===4&&zn(e,$e)),ct(e,r),n===1&&ae===0&&!(t.mode&1)&&(Oa=Te()+500,ll&&dr()))}function ct(e,t){var n=e.callbackNode;Fw(e,t);var r=Si(e,e===Fe?$e:0);if(r===0)n!==null&&wf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&wf(n),t===1)e.tag===0?zE(fm.bind(null,e)):Kg(fm.bind(null,e)),DE(function(){!(ae&6)&&dr()}),n=null;else{switch(Cg(r)){case 1:n=Cu;break;case 4:n=xg;break;case 16:n=Ci;break;case 536870912:n=wg;break;default:n=Ci}n=Wv(n,Fv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Fv(e,t){if(pi=-1,fi=0,ae&6)throw Error(L(327));var n=e.callbackNode;if(ma()&&e.callbackNode!==n)return null;var r=Si(e,e===Fe?$e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Bi(e,r);else{t=r;var a=ae;ae|=2;var o=$v();(Fe!==e||$e!==t)&&(mn=null,Oa=Te()+500,Nr(e,t));do try{o2();break}catch(i){qv(e,i)}while(!0);Iu(),Fi.current=o,ae=a,Re!==null?t=0:(Fe=null,$e=0,t=Ie)}if(t!==0){if(t===2&&(a=od(e),a!==0&&(r=a,t=Ld(e,a))),t===1)throw n=Qo,Nr(e,0),zn(e,r),ct(e,Te()),n;if(t===6)zn(e,r);else{if(a=e.current.alternate,!(r&30)&&!r2(a)&&(t=Bi(e,r),t===2&&(o=od(e),o!==0&&(r=o,t=Ld(e,o))),t===1))throw n=Qo,Nr(e,0),zn(e,r),ct(e,Te()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(L(345));case 2:vr(e,ot,mn);break;case 3:if(zn(e,r),(r&130023424)===r&&(t=Xu+500-Te(),10<t)){if(Si(e,0)!==0)break;if(a=e.suspendedLanes,(a&r)!==r){Je(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=fd(vr.bind(null,e,ot,mn),t);break}vr(e,ot,mn);break;case 4:if(zn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-Vt(r);o=1<<s,s=t[s],s>a&&(a=s),r&=~o}if(r=a,r=Te()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*n2(r/1960))-r,10<r){e.timeoutHandle=fd(vr.bind(null,e,ot,mn),r);break}vr(e,ot,mn);break;case 5:vr(e,ot,mn);break;default:throw Error(L(329))}}}return ct(e,Te()),e.callbackNode===n?Fv.bind(null,e):null}function Ld(e,t){var n=No;return e.current.memoizedState.isDehydrated&&(Nr(e,t).flags|=256),e=Bi(e,t),e!==2&&(t=ot,ot=n,t!==null&&Dd(t)),e}function Dd(e){ot===null?ot=e:ot.push.apply(ot,e)}function r2(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!Gt(o(),a))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function zn(e,t){for(t&=~Yu,t&=~pl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vt(t),r=1<<n;e[n]=-1,t&=~r}}function fm(e){if(ae&6)throw Error(L(327));ma();var t=Si(e,0);if(!(t&1))return ct(e,Te()),null;var n=Bi(e,t);if(e.tag!==0&&n===2){var r=od(e);r!==0&&(t=r,n=Ld(e,r))}if(n===1)throw n=Qo,Nr(e,0),zn(e,t),ct(e,Te()),n;if(n===6)throw Error(L(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,vr(e,ot,mn),ct(e,Te()),null}function Zu(e,t){var n=ae;ae|=1;try{return e(t)}finally{ae=n,ae===0&&(Oa=Te()+500,ll&&dr())}}function Mr(e){Hn!==null&&Hn.tag===0&&!(ae&6)&&ma();var t=ae;ae|=1;var n=Rt.transition,r=le;try{if(Rt.transition=null,le=1,e)return e()}finally{le=r,Rt.transition=n,ae=t,!(ae&6)&&dr()}}function Ju(){gt=la.current,ye(la)}function Nr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,LE(n)),Re!==null)for(n=Re.return;n!==null;){var r=n;switch(Lu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ti();break;case 3:La(),ye(it),ye(Qe),Bu();break;case 5:$u(r);break;case 4:La();break;case 13:ye(Ee);break;case 19:ye(Ee);break;case 10:_u(r.type._context);break;case 22:case 23:Ju()}n=n.return}if(Fe=e,Re=e=er(e.current,null),$e=gt=t,Ie=0,Qo=null,Yu=pl=Rr=0,ot=No=null,yr!==null){for(t=0;t<yr.length;t++)if(n=yr[t],r=n.interleaved,r!==null){n.interleaved=null;var a=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=a,r.next=s}n.pending=r}yr=null}return e}function qv(e,t){do{var n=Re;try{if(Iu(),ci.current=zi,_i){for(var r=Se.memoizedState;r!==null;){var a=r.queue;a!==null&&(a.pending=null),r=r.next}_i=!1}if(kr=0,ze=De=Se=null,So=!1,Wo=0,Qu.current=null,n===null||n.return===null){Ie=1,Qo=t,Re=null;break}e:{var o=e,s=n.return,i=n,c=t;if(t=$e,i.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var d=c,f=i,u=f.tag;if(!(f.mode&1)&&(u===0||u===11||u===15)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var y=em(s);if(y!==null){y.flags&=-257,tm(y,s,i,o,t),y.mode&1&&Jf(o,d,t),t=y,c=d;var b=t.updateQueue;if(b===null){var v=new Set;v.add(c),t.updateQueue=v}else b.add(c);break e}else{if(!(t&1)){Jf(o,d,t),ep();break e}c=Error(L(426))}}else if(we&&i.mode&1){var w=em(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),tm(w,s,i,o,t),Du(Da(c,i));break e}}o=c=Da(c,i),Ie!==4&&(Ie=2),No===null?No=[o]:No.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=Cv(o,c,t);Gf(o,h);break e;case 1:i=c;var g=o.type,x=o.stateNode;if(!(o.flags&128)&&(typeof g.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Zn===null||!Zn.has(x)))){o.flags|=65536,t&=-t,o.lanes|=t;var E=Sv(o,i,t);Gf(o,E);break e}}o=o.return}while(o!==null)}Uv(n)}catch(C){t=C,Re===n&&n!==null&&(Re=n=n.return);continue}break}while(!0)}function $v(){var e=Fi.current;return Fi.current=zi,e===null?zi:e}function ep(){(Ie===0||Ie===3||Ie===2)&&(Ie=4),Fe===null||!(Rr&268435455)&&!(pl&268435455)||zn(Fe,$e)}function Bi(e,t){var n=ae;ae|=2;var r=$v();(Fe!==e||$e!==t)&&(mn=null,Nr(e,t));do try{a2();break}catch(a){qv(e,a)}while(!0);if(Iu(),ae=n,Fi.current=r,Re!==null)throw Error(L(261));return Fe=null,$e=0,Ie}function a2(){for(;Re!==null;)Bv(Re)}function o2(){for(;Re!==null&&!kw();)Bv(Re)}function Bv(e){var t=Hv(e.alternate,e,gt);e.memoizedProps=e.pendingProps,t===null?Uv(e):Re=t,Qu.current=null}function Uv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=ZE(n,t),n!==null){n.flags&=32767,Re=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ie=6,Re=null;return}}else if(n=XE(n,t,gt),n!==null){Re=n;return}if(t=t.sibling,t!==null){Re=t;return}Re=t=e}while(t!==null);Ie===0&&(Ie=5)}function vr(e,t,n){var r=le,a=Rt.transition;try{Rt.transition=null,le=1,s2(e,t,n,r)}finally{Rt.transition=a,le=r}return null}function s2(e,t,n,r){do ma();while(Hn!==null);if(ae&6)throw Error(L(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(L(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(qw(e,o),e===Fe&&(Re=Fe=null,$e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||$s||($s=!0,Wv(Ci,function(){return ma(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Rt.transition,Rt.transition=null;var s=le;le=1;var i=ae;ae|=4,Qu.current=null,e2(e,n),_v(n,e),NE(ud),ji=!!dd,ud=dd=null,e.current=n,t2(n),Rw(),ae=i,le=s,Rt.transition=o}else e.current=n;if($s&&($s=!1,Hn=e,$i=a),o=e.pendingLanes,o===0&&(Zn=null),Dw(n.stateNode),ct(e,Te()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(qi)throw qi=!1,e=Rd,Rd=null,e;return $i&1&&e.tag!==0&&ma(),o=e.pendingLanes,o&1?e===Md?Ao++:(Ao=0,Md=e):Ao=0,dr(),null}function ma(){if(Hn!==null){var e=Cg($i),t=Rt.transition,n=le;try{if(Rt.transition=null,le=16>e?16:e,Hn===null)var r=!1;else{if(e=Hn,Hn=null,$i=0,ae&6)throw Error(L(331));var a=ae;for(ae|=4,q=e.current;q!==null;){var o=q,s=o.child;if(q.flags&16){var i=o.deletions;if(i!==null){for(var c=0;c<i.length;c++){var d=i[c];for(q=d;q!==null;){var f=q;switch(f.tag){case 0:case 11:case 15:jo(8,f,o)}var u=f.child;if(u!==null)u.return=f,q=u;else for(;q!==null;){f=q;var p=f.sibling,y=f.return;if(Dv(f),f===d){q=null;break}if(p!==null){p.return=y,q=p;break}q=y}}}var b=o.alternate;if(b!==null){var v=b.child;if(v!==null){b.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}q=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,q=s;else e:for(;q!==null;){if(o=q,o.flags&2048)switch(o.tag){case 0:case 11:case 15:jo(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,q=h;break e}q=o.return}}var g=e.current;for(q=g;q!==null;){s=q;var x=s.child;if(s.subtreeFlags&2064&&x!==null)x.return=s,q=x;else e:for(s=g;q!==null;){if(i=q,i.flags&2048)try{switch(i.tag){case 0:case 11:case 15:ul(9,i)}}catch(C){Pe(i,i.return,C)}if(i===s){q=null;break e}var E=i.sibling;if(E!==null){E.return=i.return,q=E;break e}q=i.return}}if(ae=a,dr(),on&&typeof on.onPostCommitFiberRoot=="function")try{on.onPostCommitFiberRoot(rl,e)}catch{}r=!0}return r}finally{le=n,Rt.transition=t}}return!1}function mm(e,t,n){t=Da(n,t),t=Cv(e,t,1),e=Xn(e,t,1),t=Je(),e!==null&&(ps(e,1,t),ct(e,t))}function Pe(e,t,n){if(e.tag===3)mm(e,e,n);else for(;t!==null;){if(t.tag===3){mm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Zn===null||!Zn.has(r))){e=Da(n,e),e=Sv(t,e,1),t=Xn(t,e,1),e=Je(),t!==null&&(ps(t,1,e),ct(t,e));break}}t=t.return}}function i2(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Je(),e.pingedLanes|=e.suspendedLanes&n,Fe===e&&($e&n)===n&&(Ie===4||Ie===3&&($e&130023424)===$e&&500>Te()-Xu?Nr(e,0):Yu|=n),ct(e,t)}function Vv(e,t){t===0&&(e.mode&1?(t=Rs,Rs<<=1,!(Rs&130023424)&&(Rs=4194304)):t=1);var n=Je();e=En(e,t),e!==null&&(ps(e,t,n),ct(e,n))}function l2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Vv(e,n)}function c2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(L(314))}r!==null&&r.delete(t),Vv(e,n)}var Hv;Hv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||it.current)st=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return st=!1,YE(e,t,n);st=!!(e.flags&131072)}else st=!1,we&&t.flags&1048576&&Qg(t,Mi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ui(e,t),e=t.pendingProps;var a=ka(t,Qe.current);fa(t,n),a=Vu(null,t,r,e,a,n);var o=Hu();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,lt(r)?(o=!0,ki(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,Fu(t),a.updater=dl,t.stateNode=a,a._reactInternals=t,xd(t,r,e,n),t=Cd(null,t,r,!0,o,n)):(t.tag=0,we&&o&&Mu(t),Xe(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ui(e,t),e=t.pendingProps,a=r._init,r=a(r._payload),t.type=r,a=t.tag=u2(r),e=zt(r,e),a){case 0:t=Ed(null,t,r,e,n);break e;case 1:t=am(null,t,r,e,n);break e;case 11:t=nm(null,t,r,e,n);break e;case 14:t=rm(null,t,r,zt(r.type,e),n);break e}throw Error(L(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:zt(r,a),Ed(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:zt(r,a),am(e,t,r,a,n);case 3:e:{if(Pv(t),e===null)throw Error(L(387));r=t.pendingProps,o=t.memoizedState,a=o.element,tv(e,t),Oi(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Da(Error(L(423)),t),t=om(e,t,r,n,a);break e}else if(r!==a){a=Da(Error(L(424)),t),t=om(e,t,r,n,a);break e}else for(bt=Yn(t.stateNode.containerInfo.firstChild),xt=t,we=!0,Bt=null,n=Jg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ra(),r===a){t=Cn(e,t,n);break e}Xe(e,t,r,n)}t=t.child}return t;case 5:return nv(t),e===null&&vd(t),r=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,s=a.children,pd(r,a)?s=null:o!==null&&pd(r,o)&&(t.flags|=32),Av(e,t),Xe(e,t,s,n),t.child;case 6:return e===null&&vd(t),null;case 13:return Tv(e,t,n);case 4:return qu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ma(t,null,r,n):Xe(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:zt(r,a),nm(e,t,r,a,n);case 7:return Xe(e,t,t.pendingProps,n),t.child;case 8:return Xe(e,t,t.pendingProps.children,n),t.child;case 12:return Xe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,ge(Li,r._currentValue),r._currentValue=s,o!==null)if(Gt(o.value,s)){if(o.children===a.children&&!it.current){t=Cn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var i=o.dependencies;if(i!==null){s=o.child;for(var c=i.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=bn(-1,n&-n),c.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var f=d.pending;f===null?c.next=c:(c.next=f.next,f.next=c),d.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),bd(o.return,n,t),i.lanes|=n;break}c=c.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(L(341));s.lanes|=n,i=s.alternate,i!==null&&(i.lanes|=n),bd(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Xe(e,t,a.children,n),t=t.child}return t;
vendor: 5,885 bytes, line 40
40case 9:return a=t.type,r=t.pendingProps.children,fa(t,n),a=Lt(a),r=r(a),t.flags|=1,Xe(e,t,r,n),t.child;case 14:return r=t.type,a=zt(r,t.pendingProps),a=zt(r.type,a),rm(e,t,r,a,n);case 15:return jv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:zt(r,a),ui(e,t),t.tag=1,lt(r)?(e=!0,ki(t)):e=!1,fa(t,n),Ev(t,r,a),xd(t,r,a,n),Cd(null,t,r,!0,e,n);case 19:return kv(e,t,n);case 22:return Nv(e,t,n)}throw Error(L(156,t.tag))};function Wv(e,t){return yg(e,t)}function d2(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 kt(e,t,n,r){return new d2(e,t,n,r)}function tp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function u2(e){if(typeof e=="function")return tp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xu)return 11;if(e===wu)return 14}return 2}function er(e,t){var n=e.alternate;return n===null?(n=kt(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 mi(e,t,n,r,a,o){var s=2;if(r=e,typeof e=="function")tp(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Zr:return Ar(n.children,a,o,t);case yu:s=8,a|=8;break;case Vc:return e=kt(12,n,t,a|2),e.elementType=Vc,e.lanes=o,e;case Hc:return e=kt(13,n,t,a),e.elementType=Hc,e.lanes=o,e;case Wc:return e=kt(19,n,t,a),e.elementType=Wc,e.lanes=o,e;case ng:return fl(n,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case eg:s=10;break e;case tg:s=9;break e;case xu:s=11;break e;case wu:s=14;break e;case On:s=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=kt(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Ar(e,t,n,r){return e=kt(7,e,r,t),e.lanes=n,e}function fl(e,t,n,r){return e=kt(22,e,r,t),e.elementType=ng,e.lanes=n,e.stateNode={isHidden:!1},e}function vc(e,t,n){return e=kt(6,e,null,t),e.lanes=n,e}function bc(e,t,n){return t=kt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function p2(e,t,n,r,a){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=Zl(0),this.expirationTimes=Zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zl(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function np(e,t,n,r,a,o,s,i,c){return e=new p2(e,t,n,i,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=kt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fu(o),e}function f2(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Xr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Gv(e){if(!e)return rr;e=e._reactInternals;e:{if(zr(e)!==e||e.tag!==1)throw Error(L(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(lt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(L(171))}if(e.tag===1){var n=e.type;if(lt(n))return Gg(e,n,t)}return t}function Kv(e,t,n,r,a,o,s,i,c){return e=np(n,r,!0,e,a,o,s,i,c),e.context=Gv(null),n=e.current,r=Je(),a=Jn(n),o=bn(r,a),o.callback=t??null,Xn(n,o,a),e.current.lanes=a,ps(e,a,r),ct(e,r),e}function ml(e,t,n,r){var a=t.current,o=Je(),s=Jn(a);return n=Gv(n),t.context===null?t.context=n:t.pendingContext=n,t=bn(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Xn(a,t,s),e!==null&&(Ht(e,a,s,o),li(e,a,s)),s}function Ui(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function hm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function rp(e,t){hm(e,t),(e=e.alternate)&&hm(e,t)}function m2(){return null}var Qv=typeof reportError=="function"?reportError:function(e){console.error(e)};function ap(e){this._internalRoot=e}hl.prototype.render=ap.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(L(409));ml(e,t,null,null)};hl.prototype.unmount=ap.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Mr(function(){ml(null,e,null,null)}),t[wn]=null}};function hl(e){this._internalRoot=e}hl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ng();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_n.length&&t!==0&&t<_n[n].priority;n++);_n.splice(n,0,e),n===0&&Pg(e)}};function op(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function gl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function gm(){}function h2(e,t,n,r,a){if(a){if(typeof r=="function"){var o=r;r=function(){var d=Ui(s);o.call(d)}}var s=Kv(t,r,e,0,null,!1,!1,"",gm);return e._reactRootContainer=s,e[wn]=s.current,$o(e.nodeType===8?e.parentNode:e),Mr(),s}for(;
vendor: 4,857 bytes, line 40
40a=e.lastChild;)e.removeChild(a);if(typeof r=="function"){var i=r;r=function(){var d=Ui(c);i.call(d)}}var c=np(e,0,!1,null,null,!1,!1,"",gm);return e._reactRootContainer=c,e[wn]=c.current,$o(e.nodeType===8?e.parentNode:e),Mr(function(){ml(t,c,n,r)}),c}function vl(e,t,n,r,a){var o=n._reactRootContainer;if(o){var s=o;if(typeof a=="function"){var i=a;a=function(){var c=Ui(s);i.call(c)}}ml(t,s,e,a)}else s=h2(n,t,e,a,r);return Ui(s)}Sg=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ho(t.pendingLanes);n!==0&&(Su(t,n|1),ct(t,Te()),!(ae&6)&&(Oa=Te()+500,dr()))}break;case 13:Mr(function(){var r=En(e,1);if(r!==null){var a=Je();Ht(r,e,1,a)}}),rp(e,1)}};ju=function(e){if(e.tag===13){var t=En(e,134217728);if(t!==null){var n=Je();Ht(t,e,134217728,n)}rp(e,134217728)}};jg=function(e){if(e.tag===13){var t=Jn(e),n=En(e,t);if(n!==null){var r=Je();Ht(n,e,t,r)}rp(e,t)}};Ng=function(){return le};Ag=function(e,t){var n=le;try{return le=e,t()}finally{le=n}};nd=function(e,t,n){switch(t){case"input":if(Qc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=il(r);if(!a)throw Error(L(90));ag(r),Qc(r,a)}}}break;case"textarea":sg(e,n);break;case"select":t=n.value,t!=null&&ca(e,!!n.multiple,t,!1)}};fg=Zu;mg=Mr;var g2={usingClientEntryPoint:!1,Events:[ms,na,il,ug,pg,Zu]},io={findFiberByHostInstance:br,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},v2={bundleType:io.bundleType,version:io.version,rendererPackageName:io.rendererPackageName,rendererConfig:io.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Nn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=vg(e),e===null?null:e.stateNode},findFiberByHostInstance:io.findFiberByHostInstance||m2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bs.isDisabled&&Bs.supportsFiber)try{rl=Bs.inject(v2),on=Bs}catch{}}Ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=g2;Ct.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!op(t))throw Error(L(200));return f2(e,t,null,n)};Ct.createRoot=function(e,t){if(!op(e))throw Error(L(299));var n=!1,r="",a=Qv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=np(e,1,!1,null,null,n,!1,r,a),e[wn]=t.current,$o(e.nodeType===8?e.parentNode:e),new ap(t)};Ct.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(L(188)):(e=Object.keys(e).join(","),Error(L(268,e)));return e=vg(t),e=e===null?null:e.stateNode,e};Ct.flushSync=function(e){return Mr(e)};Ct.hydrate=function(e,t,n){if(!gl(t))throw Error(L(200));return vl(null,e,t,!0,n)};Ct.hydrateRoot=function(e,t,n){if(!op(e))throw Error(L(405));var r=n!=null&&n.hydratedSources||null,a=!1,o="",s=Qv;if(n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Kv(t,null,e,1,n??null,a,!1,o,s),e[wn]=t.current,$o(e),r)for(e=0;e<r.length;e++)n=r[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new hl(t)};Ct.render=function(e,t,n){if(!gl(t))throw Error(L(200));return vl(null,e,t,!1,n)};Ct.unmountComponentAtNode=function(e){if(!gl(e))throw Error(L(40));return e._reactRootContainer?(Mr(function(){vl(null,null,e,!1,function(){e._reactRootContainer=null,e[wn]=null})}),!0):!1};Ct.unstable_batchedUpdates=Zu;Ct.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!gl(n))throw Error(L(200));if(e==null||e._reactInternals===void 0)throw Error(L(38));return vl(e,t,n,!1,r)};Ct.version="18.3.1-next-f1338f8080-20240426";function Yv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Yv)}catch(e){console.error(e)}}Yv(),Yh.exports=Ct;var Ba=Yh.exports;const bl=ds(Ba);var Xv,vm=Ba;Xv=vm.createRoot,vm.hydrateRoot;var b2=typeof Element<"u",y2=typeof Map=="function",x2=typeof Set=="function",w2=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function hi(e,t){if(e===t)return!0;
40if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,a;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!hi(e[r],t[r]))return!1;return!0}var o;if(y2&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!hi(r.value[1],t.get(r.value[0])))return!1;return!0}if(x2&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(w2&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[r]))return!1;if(b2&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((a[r]==="_owner"||a[r]==="__v"||a[r]==="__o")&&e.$$typeof)&&!hi(e[a[r]],t[a[r]]))return!1;return!0}return e!==e&&t!==t}var E2=function(t,n){try{return hi(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const C2=ds(E2);var S2=function(e,t,n,r,a,o,s,i){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,r,a,o,s,i],f=0;c=new Error(t.replace(/%s/g,function(){return d[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},j2=S2;const bm=ds(j2);var N2=function(t,n,r,a){var o=r?r.call(a,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var s=Object.keys(t),i=Object.keys(n);if(s.length!==i.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),d=0;d<s.length;d++){var f=s[d];if(!c(f))return!1;var u=t[f],p=n[f];if(o=r?r.call(a,u,p,f):void 0,o===!1||o===void 0&&u!==p)return!1}return!0};const A2=ds(N2);var Zv=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(Zv||{}),yc={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},ym=Object.values(Zv),sp={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},P2=Object.entries(sp).reduce((e,[t,n])=>(e[n]=t,e),{}),Ut="data-rh",ha={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},ga=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},T2=e=>{let t=ga(e,"title");const n=ga(e,ha.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=ga(e,ha.DEFAULT_TITLE);return t||r||void 0},k2=e=>ga(e,ha.ON_CHANGE_CLIENT_STATE)||(()=>{}),xc=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),R2=(e,t)=>
40t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const a=Object.keys(r);for(let o=0;o<a.length;o+=1){const i=a[o].toLowerCase();if(e.indexOf(i)!==-1&&r[i])return n.concat(r)}}return n},[]),M2=e=>console&&typeof console.warn=="function"&&console.warn(e),lo=(e,t,n)=>{const r={};return n.filter(a=>Array.isArray(a[e])?!0:(typeof a[e]<"u"&&M2(`Helmet: ${e} should be of type "Array". Instead found type "${typeof a[e]}"`),!1)).map(a=>a[e]).reverse().reduce((a,o)=>{const s={};o.filter(c=>{let d;const f=Object.keys(c);for(let p=0;p<f.length;p+=1){const y=f[p],b=y.toLowerCase();t.indexOf(b)!==-1&&!(d==="rel"&&c[d].toLowerCase()==="canonical")&&!(b==="rel"&&c[b].toLowerCase()==="stylesheet")&&(d=b),t.indexOf(y)!==-1&&(y==="innerHTML"||y==="cssText"||y==="itemprop")&&(d=y)}if(!d||!c[d])return!1;const u=c[d].toLowerCase();return r[d]||(r[d]={}),s[d]||(s[d]={}),r[d][u]?!1:(s[d][u]=!0,!0)}).reverse().forEach(c=>a.push(c));const i=Object.keys(s);for(let c=0;c<i.length;c+=1){const d=i[c],f={...r[d],...s[d]};r[d]=f}return a},[]).reverse()},L2=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},D2=e=>({baseTag:R2(["href"],e),bodyAttributes:xc("bodyAttributes",e),defer:ga(e,ha.DEFER),encode:ga(e,ha.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:xc("htmlAttributes",e),linkTags:lo("link",["rel","href"],e),metaTags:lo("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:lo("noscript",["innerHTML"],e),onChangeClientState:k2(e),scriptTags:lo("script",["src","innerHTML"],e),styleTags:lo("style",["cssText"],e),title:T2(e),titleAttributes:xc("titleAttributes",e),prioritizeSeoTags:L2(e,ha.PRIORITIZE_SEO_TAGS)}),Jv=e=>Array.isArray(e)?e.join(""):e,O2=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},wc=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(O2(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},xm=(e,t)=>({...e,[t]:void 0}),I2=["noscript","script","style"],Od=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),eb=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),_2=(e,t,n,r)=>{const a=eb(n),o=Jv(t);return a?`<${e} ${Ut}="true" ${a}>${Od(o,r)}</${e}>`:`<${e} ${Ut}="true">${Od(o,r)}</${e}>`},z2=(e,t,n=!0)=>t.reduce((r,a)=>{const o=a,s=Object.keys(o).filter(d=>!(d==="innerHTML"||d==="cssText")).reduce((d,f)=>{const u=typeof o[f]>"u"?f:`${f}="${Od(o[f],n)}"`;return d?`${d} ${u}`:u},""),i=o.innerHTML||o.cssText||"",c=I2.indexOf(e)===-1;return`${r}<${e} ${Ut}="true" ${s}${c?"/>":`>${i}</${e}>`}`},""),tb=(e,t={})=>Object.keys(e).reduce((n,r)=>{const a=sp[r];return n[a||r]=e[r],n},t),F2=(e,t,n)=>{const r={key:t,[Ut]:!0},a=tb(n,r);return[M.createElement("title",a,t)]},gi=(e,t)=>t.map((n,r)=>{const a={key:r,[Ut]:!0};return Object.keys(n).forEach(o=>{const i=sp[o]||o;if(i==="innerHTML"||i==="cssText"){const c=n.innerHTML||n.cssText;a.dangerouslySetInnerHTML={__html:c}}else a[i]=n[o]}),M.createElement(e,a)}),Nt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>F2(e,t.title,t.titleAttributes),toString:()=>_2(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>tb(t),toString:()=>eb(t)};default:return{toComponent:()=>gi(e,t),toString:()=>z2(e,t,n)}}},q2=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const a=wc(e,yc.meta),o=wc(t,yc.link),s=wc(n,yc.script);return{priorityMethods:{toComponent:()=>[...gi("meta",a.priority),...gi("link",o.priority),...gi("script",s.priority)],toString:()=>`${Nt("meta",a.priority,r)} ${Nt("link",o.priority,r)} ${Nt("script",s.priority,r)}`},metaTags:a.default,linkTags:o.default,scriptTags:s.default}},$2=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:a,noscriptTags:o,styleTags:s,title:i="",titleAttributes:c,prioritizeSeoTags:d}=e;let{linkTags:f,metaTags:u,scriptTags:p}=e,y={toComponent:()=>{},toString:()=>""};return d&&({priorityMethods:y,linkTags:f,metaTags:u,scriptTags:p}=q2(e)),{priority:y,base:Nt("base",t,r),bodyAttributes:Nt("bodyAttributes",n,r),htmlAttributes:Nt("htmlAttributes",a,r),link:Nt("link",f,r),meta:Nt("meta",u,r),noscript:Nt("noscript",o,r),script:Nt("script",p,r),style:Nt("style",s,r),title:Nt("title",{title:i,titleAttributes:c},r)}},Id=$2,Us=[],nb=!!(typeof window<"u"&&window.document&&window.document.createElement),_d=class{constructor(e,t){un(this,"instances",[]);un(this,"canUseDOM",nb);un(this,"context");un(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Us:this.instances,add:e=>{(this.canUseDOM?Us:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Us:this.instances).indexOf(e);(this.canUseDOM?Us:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Id({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},B2={},rb=M.createContext(B2),wr,ab=(wr=class extends m.Component{constructor(n){super(n);un(this,"helmetData");this.helmetData=new _d(this.props.context||{},wr.canUseDOM)}render(){return M.createElement(rb.Provider,{value:this.helmetData.value},this.props.children)}},un(wr,"canUseDOM",nb),wr),Hr=(e,t)=>
40{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Ut}]`),a=[].slice.call(r),o=[];let s;return t&&t.length&&t.forEach(i=>{const c=document.createElement(e);for(const d in i)if(Object.prototype.hasOwnProperty.call(i,d))if(d==="innerHTML")c.innerHTML=i.innerHTML;else if(d==="cssText")c.styleSheet?c.styleSheet.cssText=i.cssText:c.appendChild(document.createTextNode(i.cssText));else{const f=d,u=typeof i[f]>"u"?"":i[f];c.setAttribute(d,u)}c.setAttribute(Ut,"true"),a.some((d,f)=>(s=f,c.isEqualNode(d)))?a.splice(s,1):o.push(c)}),a.forEach(i=>{var c;return(c=i.parentNode)==null?void 0:c.removeChild(i)}),o.forEach(i=>n.appendChild(i)),{oldTags:a,newTags:o}},zd=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Ut),a=r?r.split(","):[],o=[...a],s=Object.keys(t);for(const i of s){const c=t[i]||"";n.getAttribute(i)!==c&&n.setAttribute(i,c),a.indexOf(i)===-1&&a.push(i);const d=o.indexOf(i);d!==-1&&o.splice(d,1)}for(let i=o.length-1;i>=0;i-=1)n.removeAttribute(o[i]);a.length===o.length?n.removeAttribute(Ut):n.getAttribute(Ut)!==s.join(",")&&n.setAttribute(Ut,s.join(","))},U2=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=Jv(e)),zd("title",t)},wm=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:a,linkTags:o,metaTags:s,noscriptTags:i,onChangeClientState:c,scriptTags:d,styleTags:f,title:u,titleAttributes:p}=e;zd("body",r),zd("html",a),U2(u,p);const y={baseTag:Hr("base",n),linkTags:Hr("link",o),metaTags:Hr("meta",s),noscriptTags:Hr("noscript",i),scriptTags:Hr("script",d),styleTags:Hr("style",f)},b={},v={};Object.keys(y).forEach(w=>{const{newTags:h,oldTags:g}=y[w];h.length&&(b[w]=h),g.length&&(v[w]=y[w].oldTags)}),t&&t(),c(e,b,v)},co=null,V2=e=>{co&&cancelAnimationFrame(co),e.defer?co=requestAnimationFrame(()=>{wm(e,()=>{co=null})}):(wm(e),co=null)},H2=V2,Em=class extends m.Component{constructor(){super(...arguments);un(this,"rendered",!1)}shouldComponentUpdate(t){return!A2(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const a=D2(t.get().map(o=>{const s={...o.props};return delete s.context,s}));ab.canUseDOM?H2(a):Id&&(r=Id(a)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Bc,ip=(Bc=class extends m.Component{shouldComponentUpdate(e){return!C2(xm(this.props,"helmetData"),xm(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return bm(ym.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${ym.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),bm(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return M.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:a,...o}=r.props,s=Object.keys(o).reduce((c,d)=>(c[P2[d]||d]=o[d],c),{});let{type:i}=r;
40switch(typeof i=="symbol"?i=i.toString():this.warnOnInvalidChildren(r,a),i){case"Symbol(react.fragment)":t=this.mapChildrenToProps(a,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,s,a);break;default:t=this.mapObjectTypeChildren(r,t,s,a);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof _d)){const a=r;r=new _d(a.context,!0),delete n.helmetData}return r?M.createElement(Em,{...n,context:r.value}):M.createElement(rb.Consumer,null,a=>M.createElement(Em,{...n,context:a}))}},un(Bc,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Bc);const W2="modulepreload",G2=function(e){return"/"+e},Cm={},K2=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));a=Promise.allSettled(n.map(c=>{if(c=G2(c),c in Cm)return;Cm[c]=!0;const d=c.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const u=document.createElement("link");if(u.rel=d?"stylesheet":W2,d||(u.as="script"),u.crossOrigin="",u.href=c,i&&u.setAttribute("nonce",i),document.head.appendChild(u),d)return new Promise((p,y)=>{u.addEventListener("load",p),u.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(s){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s}return a.then(s=>{for(const i of s||[])i.status==="rejected"&&o(i.reason);return t().catch(o)})},Q2=1,Y2=1e6;let Ec=0;function X2(){return Ec=(Ec+1)%Number.MAX_SAFE_INTEGER,Ec.toString()}const Cc=new Map,Sm=e=>{if(Cc.has(e))return;const t=setTimeout(()=>{Cc.delete(e),Po({type:"REMOVE_TOAST",toastId:e})},Y2);Cc.set(e,t)},Z2=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Q2)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Sm(n):e.toasts.forEach(r=>{Sm(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},vi=[];let bi={toasts:[]};function Po(e){bi=Z2(bi,e),vi.forEach(t=>{t(bi)})}function J2({...e}){const t=X2(),n=a=>Po({type:"UPDATE_TOAST",toast:{...a,id:t}}),r=()=>Po({type:"DISMISS_TOAST",toastId:t});return Po({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||r()}}}),{id:t,dismiss:r,update:n}}function eC(){const[e,t]=m.useState(bi);return m.useEffect(()=>(vi.push(t),()=>{const n=vi.indexOf(t);n>-1&&vi.splice(n,1)}),[e]),{...e,toast:J2,dismiss:n=>Po({type:"DISMISS_TOAST",toastId:n})}}function $(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e==null||e(a),n===!1||!a.defaultPrevented)return t==null?void 0:t(a)}}function tC(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function yl(...e){return t=>e.forEach(n=>tC(n,t))}function ce(...e){return m.useCallback(yl(...e),e)}function An(e,t=[]){let n=[];function r(o,s){const i=m.createContext(s),c=n.length;n=[...n,s];function d(u){const{scope:p,children:y,...b}=u,v=(p==null?void 0:p[e][c])||i,w=m.useMemo(()=>b,Object.values(b));return l.jsx(v.Provider,{value:w,children:y})}function f(u,p){const y=(p==null?void 0:p[e][c])||i,b=m.useContext(y);if(b)return b;if(s!==void 0)return s;throw new Error(`\`${u}\` must be used within \`${o}\``)}return d.displayName=o+"Provider",[d,f]}const a=()=>{const o=n.map(s=>m.createContext(s));return function(i){const c=(i==null?void 0:i[e])||o;return m.useMemo(()=>({[`__scope${e}`]:{...i,[e]:c}}),[i,c])}};return a.scopeName=e,[r,nC(a,...t)]}function nC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const s=r.reduce((i,{useScope:c,scopeName:d})=>{const u=c(o)[`__scope${d}`];return{...i,...u}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var Lr=m.forwardRef((e,t)=>
vendor: 9,355 bytes, line 40
40{const{children:n,...r}=e,a=m.Children.toArray(n),o=a.find(rC);if(o){const s=o.props.children,i=a.map(c=>c===o?m.Children.count(s)>1?m.Children.only(null):m.isValidElement(s)?s.props.children:null:c);return l.jsx(Fd,{...r,ref:t,children:m.isValidElement(s)?m.cloneElement(s,void 0,i):null})}return l.jsx(Fd,{...r,ref:t,children:n})});Lr.displayName="Slot";var Fd=m.forwardRef((e,t)=>{const{children:n,...r}=e;if(m.isValidElement(n)){const a=oC(n);return m.cloneElement(n,{...aC(r,n.props),ref:t?yl(t,a):a})}return m.Children.count(n)>1?m.Children.only(null):null});Fd.displayName="SlotClone";var ob=({children:e})=>l.jsx(l.Fragment,{children:e});function rC(e){return m.isValidElement(e)&&e.type===ob}function aC(e,t){const n={...t};for(const r in t){const a=e[r],o=t[r];/^on[A-Z]/.test(r)?a&&o?n[r]=(...i)=>{o(...i),a(...i)}:a&&(n[r]=a):r==="style"?n[r]={...a,...o}:r==="className"&&(n[r]=[a,o].filter(Boolean).join(" "))}return{...e,...n}}function oC(e){var r,a;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=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function xl(e){const t=e+"CollectionProvider",[n,r]=An(t),[a,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=y=>{const{scope:b,children:v}=y,w=M.useRef(null),h=M.useRef(new Map).current;return l.jsx(a,{scope:b,itemMap:h,collectionRef:w,children:v})};s.displayName=t;const i=e+"CollectionSlot",c=M.forwardRef((y,b)=>{const{scope:v,children:w}=y,h=o(i,v),g=ce(b,h.collectionRef);return l.jsx(Lr,{ref:g,children:w})});c.displayName=i;const d=e+"CollectionItemSlot",f="data-radix-collection-item",u=M.forwardRef((y,b)=>{const{scope:v,children:w,...h}=y,g=M.useRef(null),x=ce(b,g),E=o(d,v);return M.useEffect(()=>(E.itemMap.set(g,{ref:g,...h}),()=>void E.itemMap.delete(g))),l.jsx(Lr,{[f]:"",ref:x,children:w})});u.displayName=d;function p(y){const b=o(e+"CollectionConsumer",y);return M.useCallback(()=>{const w=b.collectionRef.current;if(!w)return[];const h=Array.from(w.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((E,C)=>h.indexOf(E.ref.current)-h.indexOf(C.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:s,Slot:c,ItemSlot:u},p,r]}var sC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Q=sC.reduce((e,t)=>{const n=m.forwardRef((r,a)=>{const{asChild:o,...s}=r,i=o?Lr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(i,{...s,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function gs(e,t){e&&Ba.flushSync(()=>e.dispatchEvent(t))}function _e(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function lp(e,t=globalThis==null?void 0:globalThis.document){const n=_e(e);m.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var iC="DismissableLayer",qd="dismissableLayer.update",lC="dismissableLayer.pointerDownOutside",cC="dismissableLayer.focusOutside",jm,sb=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ib=m.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:i,...c}=e,d=m.useContext(sb),[f,u]=m.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=m.useState({}),b=ce(t,S=>u(S)),v=Array.from(d.layers),[w]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),h=v.indexOf(w),g=f?v.indexOf(f):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,E=g>=h,C=uC(S=>{const j=S.target,T=[...d.branches].some(k=>k.contains(j));!E||T||(a==null||a(S),s==null||s(S),S.defaultPrevented||i==null||i())},p),N=pC(S=>{const j=S.target;[...d.branches].some(k=>k.contains(j))||(o==null||o(S),s==null||s(S),S.defaultPrevented||i==null||i())},p);return lp(S=>{g===d.layers.size-1&&(r==null||r(S),!S.defaultPrevented&&i&&(S.preventDefault(),i()))},p),m.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(jm=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Nm(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=jm)}},[f,p,n,d]),m.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Nm())},[f,d]),m.useEffect(()=>{const S=()=>y({});return document.addEventListener(qd,S),()=>document.removeEventListener(qd,S)},[]),l.jsx(Q.div,{...c,ref:b,style:{pointerEvents:x?E?"auto":"none":void 0,...e.style},onFocusCapture:$(e.onFocusCapture,N.onFocusCapture),onBlurCapture:$(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:$(e.onPointerDownCapture,C.onPointerDownCapture)})});ib.displayName=iC;var dC="DismissableLayerBranch",lb=m.forwardRef((e,t)=>{const n=m.useContext(sb),r=m.useRef(null),a=ce(t,r);return m.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),l.jsx(Q.div,{...e,ref:a})});lb.displayName=dC;function uC(e,t=globalThis==null?void 0:globalThis.document){const n=_e(e),r=m.useRef(!1),a=m.useRef(()=>{});return m.useEffect(()=>{const o=i=>{if(i.target&&!r.current){let c=function(){cb(lC,n,d,{discrete:!0})};const d={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function pC(e,t=globalThis==null?void 0:globalThis.document){const n=_e(e),r=m.useRef(!1);return m.useEffect(()=>{const a=o=>{o.target&&!r.current&&cb(cC,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Nm(){const e=new CustomEvent(qd);document.dispatchEvent(e)}function cb(e,t,n,{discrete:r}){const a=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?gs(a,o):a.dispatchEvent(o)}var fC=ib,mC=lb,et=globalThis!=null&&globalThis.document?m.useLayoutEffect:()=>{},hC="Portal",db=m.forwardRef((e,t)=>{var i;const{container:n,...r}=e,[a,o]=m.useState(!1);et(()=>o(!0),[]);const s=n||a&&((i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body);return s?bl.createPortal(l.jsx(Q.div,{...r,ref:t}),s):null});db.displayName=hC;function gC(e,t){return m.useReducer((n,r)=>t[n][r]??n,e)}var ur=e=>{const{present:t,children:n}=e,r=vC(t),a=typeof n=="function"?n({present:r.isPresent}):m.Children.only(n),o=ce(r.ref,bC(a));return typeof n=="function"||r.isPresent?m.cloneElement(a,{ref:o}):null};ur.displayName="Presence";function vC(e){const[t,n]=m.useState(),r=m.useRef({}),a=m.useRef(e),o=m.useRef("none"),s=e?"mounted":"unmounted",[i,c]=gC(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.useEffect(()=>{const d=Vs(r.current);o.current=i==="mounted"?d:"none"},[i]),et(()=>{const d=r.current,f=a.current;if(f!==e){const p=o.current,y=Vs(d);e?c("MOUNT"):y==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&p!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),et(()=>{if(t){const d=u=>{const y=Vs(r.current).includes(u.animationName);u.target===t&&y&&Ba.flushSync(()=>c("ANIMATION_END"))},f=u=>{u.target===t&&(o.current=Vs(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:m.useCallback(d=>{d&&(r.current=getComputedStyle(d)),n(d)},[])}}function Vs(e){return(e==null?void 0:e.animationName)||"none"}function bC(e){var r,a;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=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function pr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,a]=yC({defaultProp:t,onChange:n}),o=e!==void 0,s=o?e:r,i=_e(n),c=m.useCallback(d=>{if(o){const u=typeof d=="function"?d(e):d;u!==e&&i(u)}else a(d)},[o,e,a,i]);return[s,c]}function yC({defaultProp:e,onChange:t}){const n=m.useState(e),[r]=n,a=m.useRef(r),o=_e(t);return m.useEffect(()=>{a.current!==r&&(o(r),a.current=r)},[r,a,o]),n}var xC="VisuallyHidden",wl=m.forwardRef((e,t)=>l.jsx(Q.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));
40wl.displayName=xC;var wC=wl,cp="ToastProvider",[dp,EC,CC]=xl("Toast"),[ub,sR]=An("Toast",[CC]),[SC,El]=ub(cp),pb=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:a="right",swipeThreshold:o=50,children:s}=e,[i,c]=m.useState(null),[d,f]=m.useState(0),u=m.useRef(!1),p=m.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${cp}\`. Expected non-empty \`string\`.`),l.jsx(dp.Provider,{scope:t,children:l.jsx(SC,{scope:t,label:n,duration:r,swipeDirection:a,swipeThreshold:o,toastCount:d,viewport:i,onViewportChange:c,onToastAdd:m.useCallback(()=>f(y=>y+1),[]),onToastRemove:m.useCallback(()=>f(y=>y-1),[]),isFocusedToastEscapeKeyDownRef:u,isClosePausedRef:p,children:s})})};pb.displayName=cp;var fb="ToastViewport",jC=["F8"],$d="toast.viewportPause",Bd="toast.viewportResume",mb=m.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=jC,label:a="Notifications ({hotkey})",...o}=e,s=El(fb,n),i=EC(n),c=m.useRef(null),d=m.useRef(null),f=m.useRef(null),u=m.useRef(null),p=ce(t,u,s.onViewportChange),y=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=s.toastCount>0;m.useEffect(()=>{const w=h=>{var x;r.every(E=>h[E]||h.code===E)&&((x=u.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),m.useEffect(()=>{const w=c.current,h=u.current;if(b&&w&&h){const g=()=>{if(!s.isClosePausedRef.current){const N=new CustomEvent($d);h.dispatchEvent(N),s.isClosePausedRef.current=!0}},x=()=>{if(s.isClosePausedRef.current){const N=new CustomEvent(Bd);h.dispatchEvent(N),s.isClosePausedRef.current=!1}},E=N=>{!w.contains(N.relatedTarget)&&x()},C=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",g),w.addEventListener("focusout",E),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",C),window.addEventListener("blur",g),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",E),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",C),window.removeEventListener("blur",g),window.removeEventListener("focus",x)}}},[b,s.isClosePausedRef]);const v=m.useCallback(({tabbingDirection:w})=>{const g=i().map(x=>{const E=x.ref.current,C=[E,...zC(E)];return w==="forwards"?C:C.reverse()});return(w==="forwards"?g.reverse():g).flat()},[i]);return m.useEffect(()=>{const w=u.current;if(w){const h=g=>{var C,N,S;const x=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!x){const j=document.activeElement,T=g.shiftKey;if(g.target===w&&T){(C=d.current)==null||C.focus();return}const _=v({tabbingDirection:T?"backwards":"forwards"}),V=_.findIndex(O=>O===j);Sc(_.slice(V+1))?g.preventDefault():T?(N=d.current)==null||N.focus():(S=f.current)==null||S.focus()}};return w.addEventListener("keydown",h),()=>w.removeEventListener("keydown",h)}},[i,v]),l.jsxs(mC,{ref:c,role:"region","aria-label":a.replace("{hotkey}",y),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&l.jsx(Ud,{ref:d,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});Sc(w)}}),l.jsx(dp.Slot,{scope:n,children:l.jsx(Q.ol,{tabIndex:-1,...o,ref:p})}),b&&l.jsx(Ud,{ref:f,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});Sc(w)}})]})});mb.displayName=fb;var hb="ToastFocusProxy",Ud=m.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...a}=e,o=El(hb,n);return l.jsx(wl,{"aria-hidden":!0,tabIndex:0,...a,ref:t,style:{position:"fixed"},onFocus:s=>{var d;const i=s.relatedTarget;!((d=o.viewport)!=null&&d.contains(i))&&r()}})});Ud.displayName=hb;var Cl="Toast",NC="toast.swipeStart",AC="toast.swipeMove",PC="toast.swipeCancel",TC="toast.swipeEnd",gb=m.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:a,onOpenChange:o,...s}=e,[i=!0,c]=pr({prop:r,defaultProp:a,onChange:o});return l.jsx(ur,{present:n||i,children:l.jsx(MC,{open:i,...s,ref:t,onClose:()=>c(!1),onPause:_e(e.onPause),onResume:_e(e.onResume),onSwipeStart:$(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:$(e.onSwipeMove,d=>{const{x:f,y:u}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${u}px`)}),onSwipeCancel:$(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:$(e.onSwipeEnd,d=>{const{x:f,y:u}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${u}px`),c(!1)})})})});gb.displayName=Cl;var[kC,RC]=ub(Cl,{onClose(){}}),MC=m.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:a,open:o,onClose:s,onEscapeKeyDown:i,onPause:c,onResume:d,onSwipeStart:f,onSwipeMove:u,onSwipeCancel:p,onSwipeEnd:y,...b}=e,v=El(Cl,n),[w,h]=m.useState(null),g=ce(t,O=>h(O)),x=m.useRef(null),E=m.useRef(null),C=a||v.duration,N=m.useRef(0),S=m.useRef(C),j=m.useRef(0),{onToastAdd:T,onToastRemove:k}=v,I=_e(()=>{var H;(w==null?void 0:w.contains(document.activeElement))&&((H=v.viewport)==null||H.focus()),s()}),_=m.useCallback(O=>{!O||O===1/0||(window.clearTimeout(j.current),N.current=new Date().getTime(),j.current=window.setTimeout(I,O))},[I]);m.useEffect(()=>{const O=v.viewport;if(O){const H=()=>{_(S.current),d==null||d()},B=()=>{const W=new Date().getTime()-N.current;S.current=S.current-W,window.clearTimeout(j.current),c==null||c()};return O.addEventListener($d,B),O.addEventListener(Bd,H),()=>{O.removeEventListener($d,B),O.removeEventListener(Bd,H)}}},[v.viewport,C,c,d,_]),m.useEffect(()=>{o&&!v.isClosePausedRef.current&&_(C)},[o,C,v.isClosePausedRef,_]),m.useEffect(()=>(T(),()=>k()),[T,k]);const V=m.useMemo(()=>w?Cb(w):null,[w]);return v.viewport?l.jsxs(l.Fragment,{children:[V&&l.jsx(LC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:V}),l.jsx(kC,{scope:n,onClose:I,children:Ba.createPortal(l.jsx(dp.ItemSlot,{scope:n,children:l.jsx(fC,{asChild:!0,onEscapeKeyDown:$(i,()=>{v.isFocusedToastEscapeKeyDownRef.current||I(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(Q.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":v.swipeDirection,...b,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:$(e.onKeyDown,O=>{O.key==="Escape"&&(i==null||i(O.nativeEvent),O.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,I()))}),onPointerDown:$(e.onPointerDown,O=>{O.button===0&&(x.current={x:O.clientX,y:O.clientY})}),onPointerMove:$(e.onPointerMove,O=>{if(!x.current)return;const H=O.clientX-x.current.x,B=O.clientY-x.current.y,W=!!E.current,A=["left","right"].includes(v.swipeDirection),P=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,z=A?P(0,H):0,D=A?0:P(0,B),F=O.pointerType==="touch"?10:2,G={x:z,y:D},J={originalEvent:O,delta:G};W?(E.current=G,Hs(AC,u,J,{discrete:!1})):Am(G,v.swipeDirection,F)?(E.current=G,Hs(NC,f,J,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(H)>F||Math.abs(B)>F)&&(x.current=null)}),onPointerUp:$(e.onPointerUp,O=>{const H=E.current,B=O.target;if(B.hasPointerCapture(O.pointerId)&&B.releasePointerCapture(O.pointerId),E.current=null,x.current=null,H){const W=O.currentTarget,A={originalEvent:O,delta:H};Am(H,v.swipeDirection,v.swipeThreshold)?Hs(TC,y,A,{discrete:!0}):Hs(PC,p,A,{discrete:!0}),W.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),LC=e=>{const{__scopeToast:t,children:n,...r}=e,a=El(Cl,t),[o,s]=m.useState(!1),[i,c]=m.useState(!1);return IC(()=>s(!0)),m.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),i?null:l.jsx(db,{asChild:!0,children:l.jsx(wl,{...r,children:o&&l.jsxs(l.Fragment,{children:[a.label," ",n]})})})},DC="ToastTitle",vb=m.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(Q.div,{...r,ref:t})});vb.displayName=DC;var OC="ToastDescription",bb=m.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(Q.div,{...r,ref:t})});bb.displayName=OC;var yb="ToastAction",xb=m.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx(Eb,{altText:n,asChild:!0,children:l.jsx(up,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${yb}\`. Expected non-empty \`string\`.`),null)});xb.displayName=yb;var wb="ToastClose",up=m.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,a=RC(wb,n);return l.jsx(Eb,{asChild:!0,children:l.jsx(Q.button,{type:"button",...r,ref:t,onClick:$(e.onClick,a.onClose)})})});up.displayName=wb;var Eb=m.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...a}=e;return l.jsx(Q.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...a,ref:t})});function Cb(e){const t=[];
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),_C(r)){const a=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!a)if(o){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Cb(r))}}),t}function Hs(e,t,n,{discrete:r}){const a=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?gs(a,o):a.dispatchEvent(o)}var Am=(e,t,n=0)=>{const r=Math.abs(e.x),a=Math.abs(e.y),o=r>a;return t==="left"||t==="right"?o&&r>n:!o&&a>n};function IC(e=()=>{}){const t=_e(e);et(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function _C(e){return e.nodeType===e.ELEMENT_NODE}function zC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Sc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var FC=pb,Sb=mb,jb=gb,Nb=vb,Ab=bb,Pb=xb,Tb=up;function kb(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=kb(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Rb(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=kb(e))&&(r&&(r+=" "),r+=t);return r}const Pm=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Tm=Rb,Mb=(e,t)=>
vendor: 12,099 bytes, lines 40-195
40n=>{var r;if((t==null?void 0:t.variants)==null)return Tm(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:o}=t,s=Object.keys(a).map(d=>{const f=n==null?void 0:n[d],u=o==null?void 0:o[d];if(f===null)return null;const p=Pm(f)||Pm(u);return a[d][p]}),i=n&&Object.entries(n).reduce((d,f)=>{let[u,p]=f;return p===void 0||(d[u]=p),d},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,f)=>{let{class:u,className:p,...y}=f;return Object.entries(y).every(b=>{let[v,w]=b;return Array.isArray(w)?w.includes({...o,...i}[v]):{...o,...i}[v]===w})?[...d,u,p]:d},[]);return Tm(e,s,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const qC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Lb=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var $C={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const BC=m.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:o,iconNode:s,...i},c)=>m.createElement("svg",{ref:c,...$C,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Lb("lucide",a),...i},[...s.map(([d,f])=>m.createElement(d,f)),...Array.isArray(o)?o:[o]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const ne=(e,t)=>{const n=m.forwardRef(({className:r,...a},o)=>m.createElement(BC,{ref:o,iconNode:t,className:Lb(`lucide-${qC(e)}`,r),...a}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Db=ne("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const yt=ne("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const UC=ne("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const VC=ne("CalendarCheck",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const Vd=ne("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const Ob=ne("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const To=ne("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const Ib=ne("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const _b=ne("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const HC=ne("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const zb=ne("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const WC=ne("Euro",[["path",{d:"M4 10h12",key:"1y6xl8"}],["path",{d:"M4 14h9",key:"1loblj"}],["path",{d:"M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2",key:"1j6lzo"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const GC=ne("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const Fb=ne("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const km=ne("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const KC=ne("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const QC=ne("Hourglass",[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const YC=ne("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const qb=ne("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"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const $b=ne("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"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const XC=ne("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"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const ZC=ne("PhoneCall",[["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"}],["path",{d:"M14.05 2a9 9 0 0 1 8 7.94",key:"vmijpz"}],["path",{d:"M14.05 6A5 5 0 0 1 18 10",key:"13nbpp"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const JC=ne("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"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const e3=ne("PiggyBank",[["path",{d:"M19 5c-1.5 0-2.8 1.4-3 2-3.5-1.5-11-.3-11 5 0 1.8 0 3 2 4.5V20h4v-2h3v2h4v-4c1-.5 1.7-1 2-2h2v-4h-2c0-1-.5-1.5-1-2V5z",key:"1ivx2i"}],["path",{d:"M2 9v1c0 1.1.9 2 2 2h1",key:"nm575m"}],["path",{d:"M16 11h.01",key:"xkw8gn"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const Yo=ne("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const t3=ne("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const n3=ne("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 4,223 bytes, lines 195-240
195y:"oel41y"}]]);/**
196 * @license lucide-react v0.462.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const Bb=ne("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
201 * @license lucide-react v0.462.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const r3=ne("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
206 * @license lucide-react v0.462.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const Ub=ne("ThermometerSnowflake",[["path",{d:"M2 12h10",key:"19562f"}],["path",{d:"M9 4v16",key:"81ygyz"}],["path",{d:"m3 9 3 3-3 3",key:"1sas0l"}],["path",{d:"M12 6 9 9 6 6",key:"pfrgxu"}],["path",{d:"m6 18 3-3 1.5 1.5",key:"1e277p"}],["path",{d:"M20 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"iof6y5"}]]);/**
211 * @license lucide-react v0.462.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const a3=ne("ThermometerSun",[["path",{d:"M12 9a4 4 0 0 0-2 7.5",key:"1jvsq6"}],["path",{d:"M12 3v2",key:"1w22ol"}],["path",{d:"m6.6 18.4-1.4 1.4",key:"w2yidj"}],["path",{d:"M20 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"iof6y5"}],["path",{d:"M4 13H2",key:"118le4"}],["path",{d:"M6.34 7.34 4.93 5.93",key:"1brd51"}]]);/**
216 * @license lucide-react v0.462.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const Vb=ne("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);/**
221 * @license lucide-react v0.462.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const Hb=ne("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
226 * @license lucide-react v0.462.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const o3=ne("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
231 * @license lucide-react v0.462.0 - ISC
232 *
233 * This source code is licensed under the ISC license.
234 * See the LICENSE file in the root directory of this source tree.
235 */const pp=ne("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
236 * @license lucide-react v0.462.0 - ISC
237 *
238 * This source code is licensed under the ISC license.
239 * See the LICENSE file in the root directory of this source tree.
240 */const s3=ne("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),fp="-",i3=e=>{const t=c3(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const i=s.split(fp);return i[0]===""&&i.length!==1&&i.shift(),Wb(i,t)||l3(s)},getConflictingClassGroupIds:(s,i)=>{const c=n[s]||[];return i&&r[s]?[...c,...r[s]]:c}}},Wb=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?Wb(e.slice(1),r):void 0;if(a)return a;
vendor: 5,792 bytes, line 240
240if(t.validators.length===0)return;const o=e.join(fp);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},Rm=/^\[(.+)\]$/,l3=e=>{if(Rm.test(e)){const t=Rm.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},c3=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return u3(Object.entries(e.classGroups),n).forEach(([o,s])=>{Hd(s,r,o,t)}),r},Hd=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const o=a===""?t:Mm(t,a);o.classGroupId=n;return}if(typeof a=="function"){if(d3(a)){Hd(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([o,s])=>{Hd(s,Mm(t,o),n,r)})})},Mm=(e,t)=>{let n=e;return t.split(fp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},d3=e=>e.isThemeGetter,u3=(e,t)=>t?e.map(([n,r])=>{const a=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,i])=>[t+s,i])):o);return[n,a]}):e,p3=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return a(o,s),s},set(o,s){n.has(o)?n.set(o,s):a(o,s)}}},Gb="!",f3=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,a=t[0],o=t.length,s=i=>{const c=[];let d=0,f=0,u;for(let w=0;w<i.length;w++){let h=i[w];if(d===0){if(h===a&&(r||i.slice(w,w+o)===t)){c.push(i.slice(f,w)),f=w+o;continue}if(h==="/"){u=w;continue}}h==="["?d++:h==="]"&&d--}const p=c.length===0?i:i.substring(f),y=p.startsWith(Gb),b=y?p.substring(1):p,v=u&&u>f?u-f:void 0;return{modifiers:c,hasImportantModifier:y,baseClassName:b,maybePostfixModifierPosition:v}};return n?i=>n({className:i,parseClassName:s}):s},m3=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},h3=e=>({cache:p3(e.cacheSize),parseClassName:f3(e),...i3(e)}),g3=/\s+/,v3=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a}=t,o=[],s=e.trim().split(g3);let i="";for(let c=s.length-1;c>=0;c-=1){const d=s[c],{modifiers:f,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:y}=n(d);let b=!!y,v=r(b?p.substring(0,y):p);if(!v){if(!b){i=d+(i.length>0?" "+i:i);continue}if(v=r(p),!v){i=d+(i.length>0?" "+i:i);continue}b=!1}const w=m3(f).join(":"),h=u?w+Gb:w,g=h+v;if(o.includes(g))continue;o.push(g);const x=a(v,b);for(let E=0;E<x.length;++E){const C=x[E];o.push(h+C)}i=d+(i.length>0?" "+i:i)}return i};function b3(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Kb(t))&&(r&&(r+=" "),r+=n);return r}const Kb=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Kb(e[r]))&&(n&&(n+=" "),n+=t);return n};function y3(e,...t){let n,r,a,o=s;function s(c){const d=t.reduce((f,u)=>u(f),e());return n=h3(d),r=n.cache.get,a=n.cache.set,o=i,i(c)}function i(c){const d=r(c);if(d)return d;const f=v3(c,n);return a(c,f),f}return function(){return o(b3.apply(null,arguments))}}const ve=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Qb=/^\[(?:([a-z-]+):)?(.+)\]$/i,x3=/^\d+\/\d+$/,w3=new Set(["px","full","screen"]),E3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C3=/\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$/,S3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,j3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,N3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pn=e=>va(e)||w3.has(e)||x3.test(e),Rn=e=>Ua(e,"length",D3),va=e=>!!e&&!Number.isNaN(Number(e)),jc=e=>Ua(e,"number",va),uo=e=>!!e&&Number.isInteger(Number(e)),A3=e=>e.endsWith("%")&&va(e.slice(0,-1)),X=e=>Qb.test(e),Mn=e=>E3.test(e),P3=new Set(["length","size","percentage"]),T3=e=>Ua(e,P3,Yb),k3=e=>Ua(e,"position",Yb),R3=new Set(["image","url"]),M3=e=>Ua(e,R3,I3),L3=e=>Ua(e,"",O3),po=()=>!0,Ua=(e,t,n)=>{const r=Qb.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},D3=e=>C3.test(e)&&!S3.test(e),Yb=()=>!1,O3=e=>j3.test(e),I3=e=>N3.test(e),_3=()=>{const e=ve("colors"),t=ve("spacing"),n=ve("blur"),r=ve("brightness"),a=ve("borderColor"),o=ve("borderRadius"),s=ve("borderSpacing"),i=ve("borderWidth"),c=ve("contrast"),d=ve("grayscale"),f=ve("hueRotate"),u=ve("invert"),p=ve("gap"),y=ve("gradientColorStops"),b=ve("gradientColorStopPositions"),v=ve("inset"),w=ve("margin"),h=ve("opacity"),g=ve("padding"),x=ve("saturate"),E=ve("scale"),C=ve("sepia"),N=ve("skew"),S=ve("space"),j=ve("translate"),T=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto",X,t],_=()=>[X,t],V=()=>["",pn,Rn],O=()=>["auto",va,X],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",X],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[va,X];return{cacheSize:500,separator:":",theme:{colors:[po],spacing:[pn,Rn],blur:["none","",Mn,X],brightness:D(),borderColor:[e],borderRadius:["none","","full",Mn,X],borderSpacing:_(),borderWidth:V(),contrast:D(),grayscale:P(),hueRotate:D(),invert:P(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[A3,Rn],inset:I(),margin:I(),opacity:D(),padding:_(),saturate:D(),scale:D(),sepia:P(),skew:D(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",X]}
vendor: 11,074 bytes, line 240
240],container:["container"],columns:[{columns:[Mn]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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:[...H(),X]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],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",uo,X]}],basis:[{basis:I()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",X]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",uo,X]}],"grid-cols":[{"grid-cols":[po]}],"col-start-end":[{col:["auto",{span:["full",uo,X]},X]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[po]}],"row-start-end":[{row:["auto",{span:[uo,X]},X]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",X]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",X]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...A()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...A(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...A(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],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":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",X,t]}],"min-w":[{"min-w":[X,t,"min","max","fit"]}],"max-w":[{"max-w":[X,t,"none","full","min","max","fit","prose",{screen:[Mn]},Mn]}],h:[{h:[X,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[X,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Mn,Rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",jc]}],"font-family":[{font:[po]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",X]}],"line-clamp":[{"line-clamp":["none",va,jc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",pn,X]}],"list-image":[{"list-image":["none",X]}],"list-style-type":[{list:["none","disc","decimal",X]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",pn,Rn]}],"underline-offset":[{"underline-offset":["auto",pn,X]}],"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:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X]}],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",X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),k3]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",T3]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},M3]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[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":[h]}],"border-style":[{border:[...B(),"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":[h]}],"divide-style":[{divide:B()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[pn,X]}],"outline-w":[{outline:[pn,Rn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[pn,Rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Mn,L3]}],"shadow-color":[{shadow:[po]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Mn,X]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[u]}],saturate:[{saturate:[x]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"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",X]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",X]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",X]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[uo,X]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",X]}],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",X]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,612 bytes, line 240
240],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",X]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[pn,Rn,jc]}],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-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"]}}},z3=y3(_3);function te(...e){return z3(Rb(e))}const F3=FC,Xb=m.forwardRef(({className:e,...t},n)=>l.jsx(Sb,{ref:n,className:te("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}));Xb.displayName=Sb.displayName;const q3=Mb("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"}}),Zb=m.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(jb,{ref:r,className:te(q3({variant:t}),e),...n}));Zb.displayName=jb.displayName;const $3=m.forwardRef(({className:e,...t},n)=>l.jsx(Pb,{ref:n,className:te("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));$3.displayName=Pb.displayName;const Jb=m.forwardRef(({className:e,...t},n)=>l.jsx(Tb,{ref:n,className:te("absolute right-2 top-2 rounded-md p-1 text-foreground
240/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(pp,{className:"h-4 w-4"})}));Jb.displayName=Tb.displayName;const ey=m.forwardRef(({className:e,...t},n)=>l.jsx(Nb,{ref:n,className:te("text-sm font-semibold",e),...t}));ey.displayName=Nb.displayName;const ty=m.forwardRef(({className:e,...t},n)=>l.jsx(Ab,{ref:n,className:te("text-sm opacity-90",e),...t}));ty.displayName=Ab.displayName;function B3(){const{toasts:e}=eC();return l.jsxs(F3,{children:[e.map(function({id:t,title:n,description:r,action:a,...o}){return l.jsxs(Zb,{...o,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(ey,{children:n}),r&&l.jsx(ty,{children:r})]}),a,l.jsx(Jb,{})]},t)}),l.jsx(Xb,{})]})}var Lm=["light","dark"],U3="(prefers-color-scheme: dark)",V3=m.createContext(void 0),H3={setTheme:e=>{},themes:[]},W3=()=>{var e;return(e=m.useContext(V3))!=null?e:H3};m.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:o,value:s,attrs:i,nonce:c})=>{let d=o==="system",f=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${i.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,u=a?Lm.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(b,v=!1,w=!0)=>{let h=s?s[b]:b,g=v?b+"|| ''":`'${h}'`,x="";return a&&w&&!v&&Lm.includes(b)&&(x+=`d.style.colorScheme = '${b}';`),n==="class"?v||h?x+=`c.add(${g})`:x+="null":h&&(x+=`d[s](n,${g})`),x},y=e?`!function(){${f}${p(e)}}()`:r?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='${U3}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${p(s?"x[e]":"e",!0)}}${d?"":"else{"+p(o,!1,!1)+"}"}${u}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${p(s?"x[e]":"e",!0)}}else{${p(o,!1,!1)};}${u}}catch(t){}}();`;return m.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:y}})});var G3=e=>{switch(e){case"success":return Y3;case"info":return Z3;case"warning":return X3;case"error":return J3;default:return null}},K3=Array(12).fill(0),Q3=({visible:e})=>M.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},M.createElement("div",{className:"sonner-spinner"},K3.map((t,n)=>M.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Y3=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.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"})),X3=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},M.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"})),Z3=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.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"})),J3=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.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"})),eS=()=>
240{let[e,t]=M.useState(document.hidden);return M.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Wd=1,tS=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,a=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Wd++,o=this.toasts.find(i=>i.id===a),s=e.dismissible===void 0?!0:e.dismissible;return o?this.toasts=this.toasts.map(i=>i.id===a?(this.publish({...i,...e,id:a,title:n}),{...i,...e,id:a,dismissible:s,title:n}):i):this.addToast({title:n,...r,dismissible:s,id:a}),a},this.dismiss=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)=>
240this.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(),a=n!==void 0;return r.then(async o=>{if(rS(o)&&!o.ok){a=!1;let s=typeof t.error=="function"?await t.error(`HTTP error! status: ${o.status}`):t.error,i=typeof t.description=="function"?await t.description(`HTTP error! status: ${o.status}`):t.description;this.create({id:n,type:"error",message:s,description:i})}else if(t.success!==void 0){a=!1;let s=typeof t.success=="function"?await t.success(o):t.success,i=typeof t.description=="function"?await t.description(o):t.description;this.create({id:n,type:"success",message:s,description:i})}}).catch(async o=>{if(t.error!==void 0){a=!1;let s=typeof t.error=="function"?await t.error(o):t.error,i=typeof t.description=="function"?await t.description(o):t.description;this.create({id:n,type:"error",message:s,description:i})}}).finally(()=>{var o;a&&(this.dismiss(n),n=void 0),(o=t.finally)==null||o.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Wd++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},ht=new tS,nS=(e,t)=>{let n=(t==null?void 0:t.id)||Wd++;return ht.addToast({title:e,...t,id:n}),n},rS=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",aS=nS,oS=()=>ht.toasts;Object.assign(aS,{success:ht.success,info:ht.info,warning:ht.warning,error:ht.error,custom:ht.custom,message:ht.message,promise:ht.promise,dismiss:ht.dismiss,loading:ht.loading},{getHistory:oS});function sS(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))}sS(`: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}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-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;
240left: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;background:var(--gray1);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}: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:0;right:0;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}
240: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, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);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-border: hsl(0, 0%, 20%);--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-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%)}
241`);function Ws(e){return e.label!==void 0}var iS=3,lS="32px",cS=4e3,dS=356,uS=14,pS=20,fS=200;function mS(...e){return e.filter(Boolean).join(" ")}var hS=e=>{var t,n,r,a,o,s,i,c,d,f;let{invert:u,toast:p,unstyled:y,interacting:b,setHeights:v,visibleToasts:w,heights:h,index:g,toasts:x,expanded:E,removeToast:C,defaultRichColors:N,closeButton:S,style:j,cancelButtonStyle:T,actionButtonStyle:k,className:I="",descriptionClassName:_="",duration:V,position:O,gap:H,loadingIcon:B,expandByDefault:W,classNames:A,icons:P,closeButtonAriaLabel:z="Close toast",pauseWhenPageIsHidden:D,cn:F}
241=e,[G,J]=M.useState(!1),[Ne,Y]=M.useState(!1),[oe,pe]=M.useState(!1),[de,xe]=M.useState(!1),[ue,U]=M.useState(0),[re,me]=M.useState(0),ke=M.useRef(null),Le=M.useRef(null),ut=g===0,jt=g+1<=w,he=p.type,at=p.dismissible!==!1,mr=p.className||"",Ka=p.descriptionClassName||"",Tn=M.useMemo(()=>h.findIndex(K=>K.toastId===p.id)||0,[h,p.id]),Es=M.useMemo(()=>{var K;return(K=p.closeButton)!=null?K:S},[p.closeButton,S]),Qa=M.useMemo(()=>p.duration||V||cS,[p.duration,V]),Ya=M.useRef(0),dn=M.useRef(0),Cs=M.useRef(0),Xt=M.useRef(null),[Ot,Xa]=O.split("-"),Br=M.useMemo(()=>h.reduce((K,fe,ie)=>ie>=Tn?K:K+fe.height,0),[h,Tn]),hr=eS(),Za=p.invert||u,Ja=he==="loading";dn.current=M.useMemo(()=>Tn*H+Br,[Tn,Br]),M.useEffect(()=>{J(!0)},[]),M.useLayoutEffect(()=>{if(!G)return;let K=Le.current,fe=K.style.height;K.style.height="auto";let ie=K.getBoundingClientRect().height;K.style.height=fe,me(ie),v(pt=>pt.find(ft=>ft.toastId===p.id)?pt.map(ft=>ft.toastId===p.id?{...ft,height:ie}:ft):[{toastId:p.id,height:ie,position:p.position},...pt])},[G,p.title,p.description,v,p.id]);let Zt=M.useCallback(()=>{Y(!0),U(dn.current),v(K=>K.filter(fe=>fe.toastId!==p.id)),setTimeout(()=>{C(p)},fS)},[p,C,v,dn]);M.useEffect(()=>{if(p.promise&&he==="loading"||p.duration===1/0||p.type==="loading")return;let K,fe=Qa;return E||b||D&&hr?(()=>{if(Cs.current<Ya.current){let ie=new Date().getTime()-Ya.current;fe=fe-ie}Cs.current=new Date().getTime()})():fe!==1/0&&(Ya.current=new Date().getTime(),K=setTimeout(()=>{var ie;(ie=p.onAutoClose)==null||ie.call(p,p),Zt()},fe)),()=>clearTimeout(K)},[E,b,W,p,Qa,Zt,p.promise,he,D,hr]),M.useEffect(()=>{let K=Le.current;if(K){let fe=K.getBoundingClientRect().height;return me(fe),v(ie=>[{toastId:p.id,height:fe,position:p.position},...ie]),()=>v(ie=>ie.filter(pt=>pt.toastId!==p.id))}},[v,p.id]),M.useEffect(()=>{p.delete&&Zt()},[Zt,p.delete]);function Hl(){return P!=null&&P.loading?M.createElement("div",{className:"sonner-loader","data-visible":he==="loading"},P.loading):B?M.createElement("div",{className:"sonner-loader","data-visible":he==="loading"},B):M.createElement(Q3,{visible:he==="loading"})}return M.createElement("li",{"aria-live":p.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Le,className:F(I,mr,A==null?void 0:A.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,A==null?void 0:A.default,A==null?void 0:A[he],(n=p==null?void 0:p.classNames)==null?void 0:n[he]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:N,"data-styled":!(p.jsx||p.unstyled||y),"data-mounted":G,"data-promise":!!p.promise,"data-removed":Ne,"data-visible":jt,"data-y-position":Ot,"data-x-position":Xa,"data-index":g,"data-front":ut,"data-swiping":oe,"data-dismissible":at,"data-type":he,"data-invert":Za,"data-swipe-out":de,"data-expanded":!!(E||W&&G),style:{"--index":g,"--toasts-before":g,"--z-index":x.length-g,"--offset":`${Ne?ue:dn.current}px`,"--initial-height":W?"auto":`${re}px`,...j,...p.style},onPointerDown:K=>{Ja||!at||(ke.current=new Date,U(dn.current),K.target.setPointerCapture(K.pointerId),K.target.tagName!=="BUTTON"&&(pe(!0),Xt.current={x:K.clientX,y:K.clientY}))},onPointerUp:()=>{var K,fe,ie,pt;if(de||!at)return;Xt.current=null;let ft=Number(((K=Le.current)==null?void 0:K.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Ur=new Date().getTime()-((fe=ke.current)==null?void 0:fe.getTime()),Ss=Math.abs(ft)/Ur;if(Math.abs(ft)>=pS||Ss>.11){U(dn.current),(ie=p.onDismiss)==null||ie.call(p,p),Zt(),xe(!0);return}(pt=Le.current)==null||pt.style.setProperty("--swipe-amount","0px"),pe(!1)},onPointerMove:K=>{var fe;if(!Xt.current||!at)return;let ie=K.clientY-Xt.current.y,pt=K.clientX-Xt.current.x,ft=(Ot==="top"?Math.min:Math.max)(0,ie),Ur=K.pointerType==="touch"?10:2;Math.abs(ft)>Ur?(fe=Le.current)==null||fe.style.setProperty("--swipe-amount",`${ie}px`):Math.abs(pt)>Ur&&(Xt.current=null)}},Es&&!p.jsx?M.createElement("button",{"aria-label":z,"data-disabled":Ja,"data-close-button":!0,onClick:Ja||!at?()=>{}:()=>{var K;Zt(),(K=p.onDismiss)==null||K.call(p,p)},className:F(A==null?void 0:A.closeButton,(a=p==null?void 0:p.classNames)==null?void 0:a.closeButton)},M.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"},M.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),M.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,p.jsx||M.isValidElement(p.title)?p.jsx||p.title:M.createElement(M.Fragment,null,he||p.icon||p.promise?M.createElement("div",{"data-icon":"",className:F(A==null?void 0:A.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)}
241,p.promise||p.type==="loading"&&!p.icon?p.icon||Hl():null,p.type!=="loading"?p.icon||(P==null?void 0:P[he])||G3(he):null):null,M.createElement("div",{"data-content":"",className:F(A==null?void 0:A.content,(s=p==null?void 0:p.classNames)==null?void 0:s.content)},M.createElement("div",{"data-title":"",className:F(A==null?void 0:A.title,(i=p==null?void 0:p.classNames)==null?void 0:i.title)},p.title),p.description?M.createElement("div",{"data-description":"",className:F(_,Ka,A==null?void 0:A.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},p.description):null),M.isValidElement(p.cancel)?p.cancel:p.cancel&&Ws(p.cancel)?M.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||T,onClick:K=>{var fe,ie;Ws(p.cancel)&&at&&((ie=(fe=p.cancel).onClick)==null||ie.call(fe,K),Zt())},className:F(A==null?void 0:A.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,M.isValidElement(p.action)?p.action:p.action&&Ws(p.action)?M.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||k,onClick:K=>{var fe,ie;Ws(p.action)&&(K.defaultPrevented||((ie=(fe=p.action).onClick)==null||ie.call(fe,K),Zt()))},className:F(A==null?void 0:A.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function Dm(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var gS=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:a,closeButton:o,className:s,offset:i,theme:c="light",richColors:d,duration:f,style:u,visibleToasts:p=iS,toastOptions:y,dir:b=Dm(),gap:v=uS,loadingIcon:w,icons:h,containerAriaLabel:g="Notifications",pauseWhenPageIsHidden:x,cn:E=mS}=e,[C,N]=M.useState([]),S=M.useMemo(()=>Array.from(new Set([n].concat(C.filter(D=>D.position).map(D=>D.position)))),[C,n]),[j,T]=M.useState([]),[k,I]=M.useState(!1),[_,V]=M.useState(!1),[O,H]=M.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=M.useRef(null),W=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=M.useRef(null),P=M.useRef(!1),z=M.useCallback(D=>{var F;(F=C.find(G=>G.id===D.id))!=null&&F.delete||ht.dismiss(D.id),N(G=>G.filter(({id:J})=>J!==D.id))},[C]);return M.useEffect(()=>ht.subscribe(D=>{if(D.dismiss){N(F=>F.map(G=>G.id===D.id?{...G,delete:!0}:G));return}setTimeout(()=>{bl.flushSync(()=>{N(F=>{let G=F.findIndex(J=>J.id===D.id);return G!==-1?[...F.slice(0,G),{...F[G],...D},...F.slice(G+1)]:[D,...F]})})})}),[]),M.useEffect(()=>{if(c!=="system"){H(c);return}c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:D})=>{H(D?"dark":"light")})},[c]),M.useEffect(()=>{C.length<=1&&I(!1)},[C]),M.useEffect(()=>{let D=F=>{var G,J;r.every(Ne=>F[Ne]||F.code===Ne)&&(I(!0),(G=B.current)==null||G.focus()),F.code==="Escape"&&(document.activeElement===B.current||(J=B.current)!=null&&J.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",D),()=>document.removeEventListener("keydown",D)},[r]),M.useEffect(()=>{if(B.current)return()=>{A.current&&(A.current.focus({preventScroll:!0}),A.current=null,P.current=!1)}},[B.current]),C.length?M.createElement("section",{"aria-label":`${g} ${W}`,tabIndex:-1},S.map((D,F)=>{var G;let[J,Ne]=D.split("-");return M.createElement("ol",{key:D,dir:b==="auto"?Dm():b,tabIndex:-1,ref:B,className:s,"data-sonner-toaster":!0,"data-theme":O,"data-y-position":J,"data-x-position":Ne,style:{"--front-toast-height":`${((G=j[0])==null?void 0:G.height)||0}px`,"--offset":typeof i=="number"?`${i}px`:i||lS,"--width":`${dS}px`,"--gap":`${v}px`,...u},onBlur:Y=>{P.current&&!Y.currentTarget.contains(Y.relatedTarget)&&(P.current=!1,A.current&&(A.current.focus({preventScroll:!0}),A.current=null))},onFocus:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||P.current||(P.current=!0,A.current=Y.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{_||I(!1)},onPointerDown:Y=>{Y.target instanceof HTMLElement&&Y.target.dataset.dismissible==="false"||V(!0)},onPointerUp:()=>V(!1)},C.filter(Y=>!Y.position&&F===0||Y.position===D).map((Y,oe)=>{var pe,de;return M.createElement(hS,{key:Y.id,icons:h,index:oe,toast:Y,defaultRichColors:d,duration:(pe=y==null?void 0:y.duration)!=null?pe
vendor: 17,509 bytes, line 241
241:f,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:t,visibleToasts:p,closeButton:(de=y==null?void 0:y.closeButton)!=null?de:o,interacting:_,position:D,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:z,toasts:C.filter(xe=>xe.position==Y.position),heights:j.filter(xe=>xe.position==Y.position),setHeights:T,expandByDefault:a,gap:v,loadingIcon:w,expanded:k,pauseWhenPageIsHidden:x,cn:E})}))})):null};const vS=({...e})=>{const{theme:t="system"}=W3();return l.jsx(gS,{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})};function bS(e,t=[]){let n=[];function r(o,s){const i=m.createContext(s),c=n.length;n=[...n,s];const d=u=>{var h;const{scope:p,children:y,...b}=u,v=((h=p==null?void 0:p[e])==null?void 0:h[c])||i,w=m.useMemo(()=>b,Object.values(b));return l.jsx(v.Provider,{value:w,children:y})};d.displayName=o+"Provider";function f(u,p){var v;const y=((v=p==null?void 0:p[e])==null?void 0:v[c])||i,b=m.useContext(y);if(b)return b;if(s!==void 0)return s;throw new Error(`\`${u}\` must be used within \`${o}\``)}return[d,f]}const a=()=>{const o=n.map(s=>m.createContext(s));return function(i){const c=(i==null?void 0:i[e])||o;return m.useMemo(()=>({[`__scope${e}`]:{...i,[e]:c}}),[i,c])}};return a.scopeName=e,[r,yS(a,...t)]}function yS(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const s=r.reduce((i,{useScope:c,scopeName:d})=>{const u=c(o)[`__scope${d}`];return{...i,...u}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var xS="DismissableLayer",Gd="dismissableLayer.update",wS="dismissableLayer.pointerDownOutside",ES="dismissableLayer.focusOutside",Om,ny=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),mp=m.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:i,...c}=e,d=m.useContext(ny),[f,u]=m.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=m.useState({}),b=ce(t,S=>u(S)),v=Array.from(d.layers),[w]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),h=v.indexOf(w),g=f?v.indexOf(f):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,E=g>=h,C=jS(S=>{const j=S.target,T=[...d.branches].some(k=>k.contains(j));!E||T||(a==null||a(S),s==null||s(S),S.defaultPrevented||i==null||i())},p),N=NS(S=>{const j=S.target;[...d.branches].some(k=>k.contains(j))||(o==null||o(S),s==null||s(S),S.defaultPrevented||i==null||i())},p);return lp(S=>{g===d.layers.size-1&&(r==null||r(S),!S.defaultPrevented&&i&&(S.preventDefault(),i()))},p),m.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Om=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Im(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Om)}},[f,p,n,d]),m.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Im())},[f,d]),m.useEffect(()=>{const S=()=>y({});return document.addEventListener(Gd,S),()=>document.removeEventListener(Gd,S)},[]),l.jsx(Q.div,{...c,ref:b,style:{pointerEvents:x?E?"auto":"none":void 0,...e.style},onFocusCapture:$(e.onFocusCapture,N.onFocusCapture),onBlurCapture:$(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:$(e.onPointerDownCapture,C.onPointerDownCapture)})});mp.displayName=xS;var CS="DismissableLayerBranch",SS=m.forwardRef((e,t)=>{const n=m.useContext(ny),r=m.useRef(null),a=ce(t,r);return m.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),l.jsx(Q.div,{...e,ref:a})});SS.displayName=CS;function jS(e,t=globalThis==null?void 0:globalThis.document){const n=_e(e),r=m.useRef(!1),a=m.useRef(()=>{});return m.useEffect(()=>{const o=i=>{if(i.target&&!r.current){let c=function(){ry(wS,n,d,{discrete:!0})};const d={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function NS(e,t=globalThis==null?void 0:globalThis.document){const n=_e(e),r=m.useRef(!1);return m.useEffect(()=>{const a=o=>{o.target&&!r.current&&ry(ES,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Im(){const e=new CustomEvent(Gd);document.dispatchEvent(e)}function ry(e,t,n,{discrete:r}){const a=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?gs(a,o):a.dispatchEvent(o)}var AS=Kh.useId||(()=>{}),PS=0;function yn(e){const[t,n]=m.useState(AS());return et(()=>{n(r=>r??String(PS++))},[e]),t?`radix-${t}`:""}const TS=["top","right","bottom","left"],ar=Math.min,vt=Math.max,Vi=Math.round,Gs=Math.floor,or=e=>({x:e,y:e}),kS={left:"right",right:"left",bottom:"top",top:"bottom"},RS={start:"end",end:"start"};function Kd(e,t,n){return vt(e,ar(t,n))}function Sn(e,t){return typeof e=="function"?e(t):e}function jn(e){return e.split("-")[0]}function Va(e){return e.split("-")[1]}function hp(e){return e==="x"?"y":"x"}function gp(e){return e==="y"?"height":"width"}function sr(e){return["top","bottom"].includes(jn(e))?"y":"x"}function vp(e){return hp(sr(e))}function MS(e,t,n){n===void 0&&(n=!1);const r=Va(e),a=vp(e),o=gp(a);let s=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Hi(s)),[s,Hi(s)]}function LS(e){const t=Hi(e);return[Qd(e),t,Qd(t)]}function Qd(e){return e.replace(/start|end/g,t=>RS[t])}function DS(e,t,n){const r=["left","right"],a=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?o:s;default:return[]}}function OS(e,t,n,r){const a=Va(e);let o=DS(jn(e),n==="start",r);return a&&(o=o.map(s=>s+"-"+a),t&&(o=o.concat(o.map(Qd)))),o}function Hi(e){return e.replace(/left|right|bottom|top/g,t=>kS[t])}function IS(e){return{top:0,right:0,bottom:0,left:0,...e}}function ay(e){return typeof e!="number"?IS(e):{top:e,right:e,bottom:e,left:e}}function Wi(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function _m(e,t,n){let{reference:r,floating:a}=e;const o=sr(t),s=vp(t),i=gp(s),c=jn(t),d=o==="y",f=r.x+r.width/2-a.width/2,u=r.y+r.height/2-a.height/2,p=r[i]/2-a[i]/2;let y;switch(c){case"top":y={x:f,y:r.y-a.height};break;case"bottom":y={x:f,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:u};break;case"left":y={x:r.x-a.width,y:u};break;default:y={x:r.x,y:r.y}}switch(Va(t)){case"start":y[s]-=p*(n&&d?-1:1);break;case"end":y[s]+=p*(n&&d?-1:1);break}return y}const _S=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:s}=n,i=o.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:u}=_m(d,r,c),p=r,y={},b=0;for(let v=0;v<i.length;v++){const{name:w,fn:h}=i[v],{x:g,y:x,data:E,reset:C}=await h({x:f,y:u,initialPlacement:r,placement:p,strategy:a,middlewareData:y,rects:d,platform:s,elements:{reference:e,floating:t}});f=g??f,u=x??u,y={...y,[w]:{...y[w],...E}},C&&b<=50&&(b++,typeof C=="object"&&(C.placement&&(p=C.placement),C.rects&&(d=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):C.rects),{x:f,y:u}=_m(d,p,c)),v=-1)}return{x:f,y:u,placement:p,strategy:a,middlewareData:y}};async function Xo(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:o,rects:s,elements:i,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:p=!1,padding:y=0}=Sn(t,e),b=ay(y),w=i[p?u==="floating"?"reference":"floating":u],h=Wi(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(i.floating)),boundary:d,rootBoundary:f,strategy:c})),g=u==="floating"?{x:r,y:a,width:s.floating.width,height:s.floating.height}:s.reference,x=await(o.getOffsetParent==null?void 0:o.getOffsetParent(i.floating)),E=await(o.isElement==null?void 0:o.isElement(x))?await(o.getScale==null?void 0:o.getScale(x))||{x:1,y:1}:{x:1,y:1},C=Wi(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:g,offsetParent:x,strategy:c}):g);return{top:(h.top-C.top+b.top)/E.y,bottom:(C.bottom-h.bottom+b.bottom)/E.y,left:(h.left-C.left+b.left)/E.x,right:(C.right-h.right+b.right)/E.x}}const zS=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:o,platform:s,elements:i,middlewareData:c}=t,{element:d,padding:f=0}=Sn(e,t)||{};if(d==null)return{};const u=ay(f),p={x:n,y:r},y=vp(a),b=gp(y),v=await s.getDimensions(d),w=y==="y",h=w?"top":"left",g=w?"bottom":"right",x=w?"clientHeight":"clientWidth",E=o.reference[b]+o.reference[y]-p[y]-o.floating[b],C=p[y]-o.reference[y],N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let S=N?N[x]:0;(!S||!await(s.isElement==null?void 0:s.isElement(N)))&&(S=i.floating[x]||o.floating[b]);const j=E/2-C/2,T=S/2-v[b]/2-1,k=ar(u[h],T),I=ar(u[g],T),_=k,V=S-v[b]-I,O=S/2-v[b]/2+j,H=Kd(_,O,V),B=!c.arrow&&Va(a)!=null&&O!==H&&o.reference[b]/2-(O<_?k:I)-v[b]/2<0,W=B?O<_?O-_:O-V:0;return{[y]:p[y]+W,data:{[y]:H,centerOffset:O-H-W,...B&&{alignmentOffset:W}},reset:B}}}),FS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:o,rects:s,initialPlacement:i,platform:c,elements:d}=t,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0,...w}=Sn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const h=jn(a),g=sr(i),x=jn(i)===i,E=await(c.isRTL==null?void 0:c.isRTL(d.floating)),C=p||(x||!v?[Hi(i)]:LS(i)),N=b!=="none";!p&&N&&C.push(...OS(i,v,b,E));const S=[i,...C],j=await Xo(t,w),T=[];let k=((r=o.flip)==null?void 0:r.overflows)||[];if(f&&T.push(j[h]),u){const O=MS(a,s,E);T.push(j[O[0]],j[O[1]])}if(k=[...k,{placement:a,overflows:T}],!T.every(O=>O<=0)){var I,_;const O=(((I=o.flip)==null?void 0:I.index)||0)+1,H=S[O];if(H)return{data:{index:O,overflows:k},reset:{placement:H}};let B=(_=k.filter(W=>W.overflows[0]<=0).sort((W,A)=>W.overflows[1]-A.overflows[1])[0])==null?void 0:_.placement;if(!B)switch(y){case"bestFit":{var V;const W=(V=k.filter(A=>{if(N){const P=sr(A.placement);return P===g||P==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(P=>P>0).reduce((P,z)=>P+z,0)]).sort((A,P)=>A[1]-P[1])[0])==null?void 0:V[0];W&&(B=W);break}case"initialPlacement":B=i;break}if(a!==B)return{reset:{placement:B}}}return{}}}};function zm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Fm(e){return TS.some(t=>e[t]>=0)}const qS=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Sn(e,t);switch(r){case"referenceHidden":{const o=await Xo(t,{...a,elementContext:"reference"}),s=zm(o,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Fm(s)}}}case"escaped":{const o=await Xo(t,{...a,altBoundary:!0}),s=zm(o,n.floating);return{data:{escapedOffsets:s,escaped:Fm(s)}}}default:return{}}}}};async function $S(e,t){const{placement:n,platform:r,elements:a}=e,o=await(r.isRTL==null?void 0:r.isRTL(a.floating)),s=jn(n),i=Va(n),c=sr(n)==="y",d=["left","top"].includes(s)?-1:1,f=o&&c?-1:1,u=Sn(t,e);let{mainAxis:p,crossAxis:y,alignmentAxis:b}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return i&&typeof b=="number"&&(y=i==="end"?b*-1:b),c?{x:y*f,y:p*d}:{x:p*d,y:y*f}}const BS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:o,placement:s,middlewareData:i}=t,c=await $S(t,e);return s===((n=i.offset)==null?void 0:n.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:a+c.x,y:o+c.y,data:{...c,placement:s}}}}},US=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:i={fn:w=>{let{x:h,y:g}=w;return{x:h,y:g}}},...c}=Sn(e,t),d={x:n,y:r},f=await Xo(t,c),u=sr(jn(a)),p=hp(u);let y=d[p],b=d[u];if(o){const w=p==="y"?"top":"left",h=p==="y"?"bottom":"right",g=y+f[w],x=y-f[h];y=Kd(g,y,x)}if(s){const w=u==="y"?"top":"left",h=u==="y"?"bottom":"right",g=b+f[w],x=b-f[h];b=Kd(g,b,x)}const v=i.fn({...t,[p]:y,[u]:b});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[p]:o,[u]:s}}}}}},VS=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:o,middlewareData:s}=t,{offset:i=0,mainAxis:c=!0,crossAxis:d=!0}=Sn(e,t),f={x:n,y:r},u=sr(a),p=hp(u);let y=f[p],b=f[u];const v=Sn(i,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const x=p==="y"?"height":"width",E=o.reference[p]-o.floating[x]+w.mainAxis,C=o.reference[p]+o.reference[x]-w.mainAxis;y<E?y=E:y>C&&(y=C)}if(d){var h,g;const x=p==="y"?"width":"height",E=["top","left"].includes(jn(a)),C=o.reference[u]-o.floating[x]+(E&&((h=s.offset)==null?void 0:h[u])||0)+(E?0:w.crossAxis),N=o.reference[u]+o.reference[x]+(E?0:((g=s.offset)==null?void 0:g[u])||0)-(E?w.crossAxis:0);b<C?b=C:b>N&&(b=N)}return{[p]:y,[u]:b}}}},HS=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:o,platform:s,elements:i}=t,{apply:c=()=>{},...d}=Sn(e,t),f=await Xo(t,d),u=jn(a),p=Va(a),y=sr(a)==="y",{width:b,height:v}=o.floating;let w,h;u==="top"||u==="bottom"?(w=u,h=p===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(h=u,w=p==="end"?"top":"bottom");const g=v-f.top-f.bottom,x=b-f.left-f.right,E=ar(v-f[w],g),C=ar(b-f[h],x),N=!t.middlewareData.shift;let S=E,j=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(j=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=g),N&&!p){const k=vt(f.left,0),I=vt(f.right,0),_=vt(f.top,0),V=vt(f.bottom,0);y?j=b-2*(k!==0||I!==0?k+I:vt(f.left,f.right)):S=v-2*(_!==0||V!==0?_+V:vt(f.top,f.bottom))}await c({...t,availableWidth:j,availableHeight:S});const T=await s.getDimensions(i.floating);return b!==T.width||v!==T.height?{reset:{rects:!0}}:{}}}};function Sl(){return typeof window<"u"}function Ha(e){return oy(e)?(e.nodeName||"").toLowerCase():"#document"}function wt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function cn(e){var t;return(t=(oy(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function oy(e){return Sl()?e instanceof Node||e instanceof wt(e).Node:!1}function Kt(e){return Sl()?e instanceof Element||e instanceof wt(e).Element:!1}function ln(e){return Sl()?e instanceof HTMLElement||e instanceof wt(e).HTMLElement:!1}function qm(e){return!Sl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof wt(e).ShadowRoot}function vs(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=Qt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function WS(e){return["table","td","th"].includes(Ha(e))}function jl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function bp(e){const t=yp(),n=Kt(e)?Qt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function GS(e){let t=ir(e);for(;ln(t)&&!Ia(t);){if(bp(t))return t;if(jl(t))return null;t=ir(t)}return null}function yp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ia(e){return["html","body","#document"].includes(Ha(e))}function Qt(e){return wt(e).getComputedStyle(e)}function Nl(e){return Kt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ir(e){if(Ha(e)==="html")return e;const t=e.assignedSlot||e.parentNode||qm(e)&&e.host||cn(e);return qm(t)?t.host:t}function sy(e){const t=ir(e);return Ia(t)?e.ownerDocument?e.ownerDocument.body:e.body:ln(t)&&vs(t)?t:sy(t)}function Zo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=sy(e),o=a===((r=e.ownerDocument)==null?void 0:r.body),s=wt(a);if(o){const i=Yd(s);
vendor: 7,125 bytes, line 241
241return t.concat(s,s.visualViewport||[],vs(a)?a:[],i&&n?Zo(i):[])}return t.concat(a,Zo(a,[],n))}function Yd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function iy(e){const t=Qt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=ln(e),o=a?e.offsetWidth:n,s=a?e.offsetHeight:r,i=Vi(n)!==o||Vi(r)!==s;return i&&(n=o,r=s),{width:n,height:r,$:i}}function xp(e){return Kt(e)?e:e.contextElement}function ba(e){const t=xp(e);if(!ln(t))return or(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:o}=iy(t);let s=(o?Vi(n.width):n.width)/r,i=(o?Vi(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const KS=or(0);function ly(e){const t=wt(e);return!yp()||!t.visualViewport?KS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function QS(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==wt(e)?!1:t}function Dr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),o=xp(e);let s=or(1);t&&(r?Kt(r)&&(s=ba(r)):s=ba(e));const i=QS(o,n,r)?ly(o):or(0);let c=(a.left+i.x)/s.x,d=(a.top+i.y)/s.y,f=a.width/s.x,u=a.height/s.y;if(o){const p=wt(o),y=r&&Kt(r)?wt(r):r;let b=p,v=Yd(b);for(;v&&r&&y!==b;){const w=ba(v),h=v.getBoundingClientRect(),g=Qt(v),x=h.left+(v.clientLeft+parseFloat(g.paddingLeft))*w.x,E=h.top+(v.clientTop+parseFloat(g.paddingTop))*w.y;c*=w.x,d*=w.y,f*=w.x,u*=w.y,c+=x,d+=E,b=wt(v),v=Yd(b)}}return Wi({width:f,height:u,x:c,y:d})}function YS(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const o=a==="fixed",s=cn(r),i=t?jl(t.floating):!1;if(r===s||i&&o)return n;let c={scrollLeft:0,scrollTop:0},d=or(1);const f=or(0),u=ln(r);if((u||!u&&!o)&&((Ha(r)!=="body"||vs(s))&&(c=Nl(r)),ln(r))){const p=Dr(r);d=ba(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+f.x,y:n.y*d.y-c.scrollTop*d.y+f.y}}function XS(e){return Array.from(e.getClientRects())}function Xd(e,t){const n=Nl(e).scrollLeft;return t?t.left+n:Dr(cn(e)).left+n}function ZS(e){const t=cn(e),n=Nl(e),r=e.ownerDocument.body,a=vt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=vt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Xd(e);const i=-n.scrollTop;return Qt(r).direction==="rtl"&&(s+=vt(t.clientWidth,r.clientWidth)-a),{width:a,height:o,x:s,y:i}}function JS(e,t){const n=wt(e),r=cn(e),a=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,i=0,c=0;if(a){o=a.width,s=a.height;const d=yp();(!d||d&&t==="fixed")&&(i=a.offsetLeft,c=a.offsetTop)}return{width:o,height:s,x:i,y:c}}function ej(e,t){const n=Dr(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=ln(e)?ba(e):or(1),s=e.clientWidth*o.x,i=e.clientHeight*o.y,c=a*o.x,d=r*o.y;return{width:s,height:i,x:c,y:d}}function $m(e,t,n){let r;if(t==="viewport")r=JS(e,n);else if(t==="document")r=ZS(cn(e));else if(Kt(t))r=ej(t,n);else{const a=ly(e);r={...t,x:t.x-a.x,y:t.y-a.y}}return Wi(r)}function cy(e,t){const n=ir(e);return n===t||!Kt(n)||Ia(n)?!1:Qt(n).position==="fixed"||cy(n,t)}function tj(e,t){const n=t.get(e);if(n)return n;let r=Zo(e,[],!1).filter(i=>Kt(i)&&Ha(i)!=="body"),a=null;const o=Qt(e).position==="fixed";let s=o?ir(e):e;for(;Kt(s)&&!Ia(s);){const i=Qt(s),c=bp(s);!c&&i.position==="fixed"&&(a=null),(o?!c&&!a:!c&&i.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||vs(s)&&!c&&cy(e,s))?r=r.filter(f=>f!==s):a=i,s=ir(s)}return t.set(e,r),r}function nj(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const s=[...n==="clippingAncestors"?jl(t)?[]:tj(t,this._c):[].concat(n),r],i=s[0],c=s.reduce((d,f)=>{const u=$m(t,f,a);return d.top=vt(u.top,d.top),d.right=ar(u.right,d.right),d.bottom=ar(u.bottom,d.bottom),d.left=vt(u.left,d.left),d},$m(t,i,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function rj(e){const{width:t,height:n}=iy(e);return{width:t,height:n}}function aj(e,t,n){const r=ln(t),a=cn(t),o=n==="fixed",s=Dr(e,!0,o,t);let i={scrollLeft:0,scrollTop:0};const c=or(0);if(r||!r&&!o)if((Ha(t)!=="body"||vs(a))&&(i=Nl(t)),r){const y=Dr(t,!0,o,t);c.x=y.x+t.clientLeft,c.y=y.y+t.clientTop}else a&&(c.x=Xd(a));let d=0,f=0;if(a&&!r&&!o){const y=a.getBoundingClientRect();f=y.top+i.scrollTop,d=y.left+i.scrollLeft-Xd(a,y)}const u=s.left+i.scrollLeft-c.x-d,p=s.top+i.scrollTop-c.y-f;return{x:u,y:p,width:s.width,height:s.height}}function Nc(e){return Qt(e).position==="static"}function Bm(e,t){if(!ln(e)||Qt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return cn(e)===n&&(n=n.ownerDocument.body),n}function dy(e,t){const n=wt(e);if(jl(e))return n;if(!ln(e)){let a=ir(e);for(;a&&!Ia(a);){if(Kt(a)&&!Nc(a))return a;a=ir(a)}return n}let r=Bm(e,t);for(;r&&WS(r)&&Nc(r);)r=Bm(r,t);return r&&Ia(r)&&Nc(r)&&!bp(r)?n:r||GS(e)||n}const oj=async function(e){const t=this.getOffsetParent||dy,n=this.getDimensions,r=await n(e.floating);return{reference:aj(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function sj(e){return Qt(e).direction==="rtl"}const ij={convertOffsetParentRelativeRectToViewportRelativeRect:YS,getDocumentElement:cn,getClippingRect:nj,getOffsetParent:dy,getElementRects:oj,getClientRects:XS,getDimensions:rj,getScale:ba,isElement:Kt,isRTL:sj};function lj(e,t){let n=null,r;const a=cn(e);function o(){var i;clearTimeout(r),(i=n)==null||i.disconnect(),n=null}function s(i,c){i===void 0&&(i=!1),c===void 0&&(c=1),o();const{left:d,top:f,width:u,height:p}=e.getBoundingClientRect();if(i||t(),!u||!p)return;const y=Gs(f),b=Gs(a.clientWidth-(d+u)),v=Gs(a.clientHeight-(f+p)),w=Gs(d),g={rootMargin:-y+"px "+-b+"px "+-v+"px "+-w+"px",threshold:vt(0,ar(1,c))||1};let x=!0;function E(C){const N=C[0].intersectionRatio;if(N!==c){if(!x)return s();N?s(!1,N):r=setTimeout(()=>{s(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(E,{...g,root:a.ownerDocument})}catch{n=new IntersectionObserver(E,g)}n.observe(e)}return s(!0),o}function cj(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,d=xp(e),f=a||o?[...d?Zo(d):[],...Zo(t)]:[];f.forEach(h=>{a&&h.addEventListener("scroll",n,{passive:!0}),o&&h.addEventListener("resize",n)});const u=d&&i?lj(d,n):null;let p=-1,y=null;s&&(y=new ResizeObserver(h=>{let[g]=h;g&&g.target===d&&y&&(y.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=y)==null||x.observe(t)})),n()}),d&&!c&&y.observe(d),y.observe(t));let b,v=c?Dr(e):null;c&&w();function w(){const h=Dr(e);v&&(h.x!==v.x||h.y!==v.y||h.width!==v.width||h.height!==v.height)&&n(),v=h,b=requestAnimationFrame(w)}return n(),()=>{var h;f.forEach(g=>{a&&g.removeEventListener("scroll",n),o&&g.removeEventListener("resize",n)}),u==null||u(),(h=y)==null||h.disconnect(),y=null,c&&cancelAnimationFrame(b)}}const dj=BS,uj=US,pj=FS,fj=HS,mj=qS,Um=zS,hj=VS,gj=(e,t,n)=>{const r=new Map,a={platform:ij,...n},o={...a.platform,_c:r};return _S(e,t,{...a,platform:o})};var yi=typeof document<"u"?m.useLayoutEffect:m.useEffect;function Gi(e,t){if(e===t)return!0;
vendor: 4,141 bytes, line 241
241if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,a;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(!Gi(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;r--!==0;){const o=a[r];if(!(o==="_owner"&&e.$$typeof)&&!Gi(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function uy(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vm(e,t){const n=uy(e);return Math.round(t*n)/n}function Ac(e){const t=m.useRef(e);return yi(()=>{t.current=e}),t}function vj(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:o,floating:s}={},transform:i=!0,whileElementsMounted:c,open:d}=e,[f,u]=m.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,y]=m.useState(r);Gi(p,r)||y(r);const[b,v]=m.useState(null),[w,h]=m.useState(null),g=m.useCallback(A=>{A!==N.current&&(N.current=A,v(A))},[]),x=m.useCallback(A=>{A!==S.current&&(S.current=A,h(A))},[]),E=o||b,C=s||w,N=m.useRef(null),S=m.useRef(null),j=m.useRef(f),T=c!=null,k=Ac(c),I=Ac(a),_=Ac(d),V=m.useCallback(()=>{if(!N.current||!S.current)return;const A={placement:t,strategy:n,middleware:p};I.current&&(A.platform=I.current),gj(N.current,S.current,A).then(P=>{const z={...P,isPositioned:_.current!==!1};O.current&&!Gi(j.current,z)&&(j.current=z,Ba.flushSync(()=>{u(z)}))})},[p,t,n,I,_]);yi(()=>{d===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[d]);const O=m.useRef(!1);yi(()=>(O.current=!0,()=>{O.current=!1}),[]),yi(()=>{if(E&&(N.current=E),C&&(S.current=C),E&&C){if(k.current)return k.current(E,C,V);V()}},[E,C,V,k,T]);const H=m.useMemo(()=>({reference:N,floating:S,setReference:g,setFloating:x}),[g,x]),B=m.useMemo(()=>({reference:E,floating:C}),[E,C]),W=m.useMemo(()=>{const A={position:n,left:0,top:0};if(!B.floating)return A;const P=Vm(B.floating,f.x),z=Vm(B.floating,f.y);return i?{...A,transform:"translate("+P+"px, "+z+"px)",...uy(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:z}},[n,i,B.floating,f.x,f.y]);return m.useMemo(()=>({...f,update:V,refs:H,elements:B,floatingStyles:W}),[f,V,H,B,W])}const bj=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:a}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Um({element:r.current,padding:a}).fn(n):{}:r?Um({element:r,padding:a}).fn(n):{}}}},yj=(e,t)=>({...dj(e),options:[e,t]}),xj=(e,t)=>({...uj(e),options:[e,t]}),wj=(e,t)=>({...hj(e),options:[e,t]}),Ej=(e,t)=>({...pj(e),options:[e,t]}),Cj=(e,t)=>({...fj(e),options:[e,t]}),Sj=(e,t)=>({...mj(e),options:[e,t]}),jj=(e,t)=>({...bj(e),options:[e,t]});var Nj="Arrow",py=m.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...o}=e;return l.jsx(Q.svg,{...o,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});py.displayName=Nj;var Aj=py;function Pj(e){const[t,n]=m.useState(void 0);return et(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const o=a[0];let s,i;if("borderBoxSize"in o){const c=o.borderBoxSize,d=Array.isArray(c)?c[0]:c;s=d.inlineSize,i=d.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 wp="Popper",[fy,Al]=An(wp),[Tj,my]=fy(wp),hy=e=>{const{__scopePopper:t,children:n}=e,[r,a]=m.useState(null);return l.jsx(Tj,{scope:t,anchor:r,onAnchorChange:a,children:n})};hy.displayName=wp;var gy="PopperAnchor",vy=m.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...a}=e,o=my(gy,n),s=m.useRef(null),i=ce(t,s);return m.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:l.jsx(Q.div,{...a,ref:i})});vy.displayName=gy;var Ep="PopperContent",[kj,Rj]=fy(Ep),by=m.forwardRef((e,t)=>
vendor: 6,744 bytes, line 241
241{var oe,pe,de,xe,ue,U;const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:o="center",alignOffset:s=0,arrowPadding:i=0,avoidCollisions:c=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:p=!1,updatePositionStrategy:y="optimized",onPlaced:b,...v}=e,w=my(Ep,n),[h,g]=m.useState(null),x=ce(t,re=>g(re)),[E,C]=m.useState(null),N=Pj(E),S=(N==null?void 0:N.width)??0,j=(N==null?void 0:N.height)??0,T=r+(o!=="center"?"-"+o:""),k=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},I=Array.isArray(d)?d:[d],_=I.length>0,V={padding:k,boundary:I.filter(Lj),altBoundary:_},{refs:O,floatingStyles:H,placement:B,isPositioned:W,middlewareData:A}=vj({strategy:"fixed",placement:T,whileElementsMounted:(...re)=>cj(...re,{animationFrame:y==="always"}),elements:{reference:w.anchor},middleware:[yj({mainAxis:a+j,alignmentAxis:s}),c&&xj({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?wj():void 0,...V}),c&&Ej({...V}),Cj({...V,apply:({elements:re,rects:me,availableWidth:ke,availableHeight:Le})=>{const{width:ut,height:jt}=me.reference,he=re.floating.style;he.setProperty("--radix-popper-available-width",`${ke}px`),he.setProperty("--radix-popper-available-height",`${Le}px`),he.setProperty("--radix-popper-anchor-width",`${ut}px`),he.setProperty("--radix-popper-anchor-height",`${jt}px`)}}),E&&jj({element:E,padding:i}),Dj({arrowWidth:S,arrowHeight:j}),p&&Sj({strategy:"referenceHidden",...V})]}),[P,z]=wy(B),D=_e(b);et(()=>{W&&(D==null||D())},[W,D]);const F=(oe=A.arrow)==null?void 0:oe.x,G=(pe=A.arrow)==null?void 0:pe.y,J=((de=A.arrow)==null?void 0:de.centerOffset)!==0,[Ne,Y]=m.useState();return et(()=>{h&&Y(window.getComputedStyle(h).zIndex)},[h]),l.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:W?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ne,"--radix-popper-transform-origin":[(xe=A.transformOrigin)==null?void 0:xe.x,(ue=A.transformOrigin)==null?void 0:ue.y].join(" "),...((U=A.hide)==null?void 0:U.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(kj,{scope:n,placedSide:P,onArrowChange:C,arrowX:F,arrowY:G,shouldHideArrow:J,children:l.jsx(Q.div,{"data-side":P,"data-align":z,...v,ref:x,style:{...v.style,animation:W?void 0:"none"}})})})});by.displayName=Ep;var yy="PopperArrow",Mj={top:"bottom",right:"left",bottom:"top",left:"right"},xy=m.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,o=Rj(yy,r),s=Mj[o.placedSide];return l.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:l.jsx(Aj,{...a,ref:n,style:{...a.style,display:"block"}})})});xy.displayName=yy;function Lj(e){return e!==null}var Dj=e=>({name:"transformOrigin",options:e,fn(t){var w,h,g;const{placement:n,rects:r,middlewareData:a}=t,s=((w=a.arrow)==null?void 0:w.centerOffset)!==0,i=s?0:e.arrowWidth,c=s?0:e.arrowHeight,[d,f]=wy(n),u={start:"0%",center:"50%",end:"100%"}[f],p=(((h=a.arrow)==null?void 0:h.x)??0)+i/2,y=(((g=a.arrow)==null?void 0:g.y)??0)+c/2;let b="",v="";return d==="bottom"?(b=s?u:`${p}px`,v=`${-c}px`):d==="top"?(b=s?u:`${p}px`,v=`${r.floating.height+c}px`):d==="right"?(b=`${-c}px`,v=s?u:`${y}px`):d==="left"&&(b=`${r.floating.width+c}px`,v=s?u:`${y}px`),{data:{x:b,y:v}}}});function wy(e){const[t,n="center"]=e.split("-");return[t,n]}var Oj=hy,Ey=vy,Cy=by,Sy=xy,Ij="Portal",jy=m.forwardRef((e,t)=>{var i;const{container:n,...r}=e,[a,o]=m.useState(!1);et(()=>o(!0),[]);const s=n||a&&((i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body);return s?bl.createPortal(l.jsx(Q.div,{...r,ref:t}),s):null});jy.displayName=Ij;function _j(e,t){return m.useReducer((n,r)=>t[n][r]??n,e)}var Ny=e=>{const{present:t,children:n}=e,r=zj(t),a=typeof n=="function"?n({present:r.isPresent}):m.Children.only(n),o=ce(r.ref,Fj(a));return typeof n=="function"||r.isPresent?m.cloneElement(a,{ref:o}):null};Ny.displayName="Presence";function zj(e){const[t,n]=m.useState(),r=m.useRef({}),a=m.useRef(e),o=m.useRef("none"),s=e?"mounted":"unmounted",[i,c]=_j(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.useEffect(()=>{const d=Ks(r.current);o.current=i==="mounted"?d:"none"},[i]),et(()=>{const d=r.current,f=a.current;if(f!==e){const p=o.current,y=Ks(d);e?c("MOUNT"):y==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&p!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),et(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,u=y=>{const v=Ks(r.current).includes(y.animationName);if(y.target===t&&v&&(c("ANIMATION_END"),!a.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},p=y=>{y.target===t&&(o.current=Ks(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:m.useCallback(d=>{d&&(r.current=getComputedStyle(d)),n(d)},[])}}function Ks(e){return(e==null?void 0:e.animationName)||"none"}function Fj(e){var r,a;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=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var[Pl,iR]=bS("Tooltip",[Al]),Cp=Al(),Ay="TooltipProvider",qj=700,Hm="tooltip.open",[$j,Py]=Pl(Ay),Ty=e=>{const{__scopeTooltip:t,delayDuration:n=qj,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:o}=e,[s,i]=m.useState(!0),c=m.useRef(!1),d=m.useRef(0);return m.useEffect(()=>{const f=d.current;return()=>window.clearTimeout(f)},[]),l.jsx($j,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:m.useCallback(()=>{window.clearTimeout(d.current),i(!1)},[]),onClose:m.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>i(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:m.useCallback(f=>{c.current=f},[]),disableHoverableContent:a,children:o})};Ty.displayName=Ay;var ky="Tooltip",[lR,Tl]=Pl(ky),Zd="TooltipTrigger",Bj=m.forwardRef((e,t)=>
vendor: 5,546 bytes, line 241
241{const{__scopeTooltip:n,...r}=e,a=Tl(Zd,n),o=Py(Zd,n),s=Cp(n),i=m.useRef(null),c=ce(t,i,a.onTriggerChange),d=m.useRef(!1),f=m.useRef(!1),u=m.useCallback(()=>d.current=!1,[]);return m.useEffect(()=>()=>document.removeEventListener("pointerup",u),[u]),l.jsx(Ey,{asChild:!0,...s,children:l.jsx(Q.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:c,onPointerMove:$(e.onPointerMove,p=>{p.pointerType!=="touch"&&!f.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),f.current=!0)}),onPointerLeave:$(e.onPointerLeave,()=>{a.onTriggerLeave(),f.current=!1}),onPointerDown:$(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",u,{once:!0})}),onFocus:$(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:$(e.onBlur,a.onClose),onClick:$(e.onClick,a.onClose)})})});Bj.displayName=Zd;var Uj="TooltipPortal",[cR,Vj]=Pl(Uj,{forceMount:void 0}),_a="TooltipContent",Ry=m.forwardRef((e,t)=>{const n=Vj(_a,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...o}=e,s=Tl(_a,e.__scopeTooltip);return l.jsx(Ny,{present:r||s.open,children:s.disableHoverableContent?l.jsx(My,{side:a,...o,ref:t}):l.jsx(Hj,{side:a,...o,ref:t})})}),Hj=m.forwardRef((e,t)=>{const n=Tl(_a,e.__scopeTooltip),r=Py(_a,e.__scopeTooltip),a=m.useRef(null),o=ce(t,a),[s,i]=m.useState(null),{trigger:c,onClose:d}=n,f=a.current,{onPointerInTransitChange:u}=r,p=m.useCallback(()=>{i(null),u(!1)},[u]),y=m.useCallback((b,v)=>{const w=b.currentTarget,h={x:b.clientX,y:b.clientY},g=Qj(h,w.getBoundingClientRect()),x=Yj(h,g),E=Xj(v.getBoundingClientRect()),C=Jj([...x,...E]);i(C),u(!0)},[u]);return m.useEffect(()=>()=>p(),[p]),m.useEffect(()=>{if(c&&f){const b=w=>y(w,f),v=w=>y(w,c);return c.addEventListener("pointerleave",b),f.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",v)}}},[c,f,y,p]),m.useEffect(()=>{if(s){const b=v=>{const w=v.target,h={x:v.clientX,y:v.clientY},g=(c==null?void 0:c.contains(w))||(f==null?void 0:f.contains(w)),x=!Zj(h,s);g?p():x&&(p(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,f,s,d,p]),l.jsx(My,{...e,ref:o})}),[Wj,Gj]=Pl(ky,{isInside:!1}),My=m.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:s,...i}=e,c=Tl(_a,n),d=Cp(n),{onClose:f}=c;return m.useEffect(()=>(document.addEventListener(Hm,f),()=>document.removeEventListener(Hm,f)),[f]),m.useEffect(()=>{if(c.trigger){const u=p=>{const y=p.target;y!=null&&y.contains(c.trigger)&&f()};return window.addEventListener("scroll",u,{capture:!0}),()=>window.removeEventListener("scroll",u,{capture:!0})}},[c.trigger,f]),l.jsx(mp,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:u=>u.preventDefault(),onDismiss:f,children:l.jsxs(Cy,{"data-state":c.stateAttribute,...d,...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:[l.jsx(ob,{children:r}),l.jsx(Wj,{scope:n,isInside:!0,children:l.jsx(wC,{id:c.contentId,role:"tooltip",children:a||r})})]})})});Ry.displayName=_a;var Ly="TooltipArrow",Kj=m.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=Cp(n);return Gj(Ly,n).isInside?null:l.jsx(Sy,{...a,...r,ref:t})});Kj.displayName=Ly;function Qj(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,a,o)){case o:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Yj(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 Xj(e){const{top:t,right:n,bottom:r,left:a}=e;return[{x:a,y:t},{x:n,y:t},{x:n,y:r},{x:a,y:r}]}function Zj(e,t){const{x:n,y:r}=e;let a=!1;for(let o=0,s=t.length-1;o<t.length;s=o++){const i=t[o].x,c=t[o].y,d=t[s].x,f=t[s].y;c>r!=f>r&&n<(d-i)*(r-c)/(f-c)+i&&(a=!a)}return a}function Jj(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),eN(t)}function eN(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const a=e[r];for(;t.length>=2;){const o=t[t.length-1],s=t[t.length-2];if((o.x-s.x)*(a.y-s.y)>=(o.y-s.y)*(a.x-s.x))t.pop();else break}t.push(a)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const a=e[r];for(;n.length>=2;){const o=n[n.length-1],s=n[n.length-2];if((o.x-s.x)*(a.y-s.y)>=(o.y-s.y)*(a.x-s.x))n.pop();else break}n.push(a)}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 tN=Ty,Dy=Ry;const nN=tN,rN=m.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(Dy,{ref:r,sideOffset:t,className:te("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]:sli
241de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));rN.displayName=Dy.displayName;var kl=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(){}},Rl=typeof window>"u"||"Deno"in globalThis;function Ft(){}function aN(e,t){return typeof e=="function"?e(t):e}function oN(e){return typeof e=="number"&&e>=0&&e!==1/0}function sN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Wm(e,t){return typeof e=="function"?e(t):e}function iN(e,t){return typeof e=="function"?e(t):e}function Gm(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:o,queryKey:s,stale:i}=e;if(s){if(r){if(t.queryHash!==Sp(s,t.options))return!1}else if(!es(t.queryKey,s))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof i=="boolean"&&t.isStale()!==i||a&&a!==t.state.fetchStatus||o&&!o(t))}function Km(e,t){const{exact:n,status:r,predicate:a,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Jo(t.options.mutationKey)!==Jo(o))return!1}else if(!es(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||a&&!a(t))}function Sp(e,t){return((t==null?void 0:t.queryKeyHashFn)||Jo)(e)}function Jo(e){return JSON.stringify(e,(t,n)=>Jd(n)?Object.keys(n).sort().reduce((r,a)=>(r[a]=n[a],r),{}):n)}function es(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!es(e[n],t[n])):!1}function Oy(e,t){if(e===t)return e;const n=Qm(e)&&Qm(t);if(n||Jd(e)&&Jd(t)){const r=n?e:Object.keys(e),a=r.length,o=n?t:Object.keys(t),s=o.length,i=n?[]:{};let c=0;for(let d=0;d<s;d++){const f=n?d:o[d];(!n&&r.includes(f)||n)&&e[f]===void 0&&t[f]===void 0?(i[f]=void 0,c++):(i[f]=Oy(e[f],t[f]),i[f]===e[f]&&e[f]!==void 0&&c++)}return a===s&&c===a?e:i}return t}function Qm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Jd(e){if(!Ym(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ym(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ym(e){return Object.prototype.toString.call(e)==="[object Object]"}function lN(e){return new Promise(t=>{setTimeout(t,e)})}function cN(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Oy(e,t):t}function dN(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function uN(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Iy=Symbol();function _y(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Iy?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Er,Fn,xa,kh,pN=(kh=class extends kl{constructor(){super();se(this,Er);se(this,Fn);se(this,xa);Z(this,xa,t=>{if(!Rl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,Fn)||this.setEventListener(R(this,xa))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Fn))==null||t.call(this),Z(this,Fn,void 0))}setEventListener(t){var n;Z(this,xa,t),(n=R(this,Fn))==null||n.call(this),Z(this,Fn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,Er)!==t&&(Z(this,Er,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,Er)=="boolean"?R(this,Er):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Er=new WeakMap,Fn=new WeakMap,xa=new WeakMap,kh),zy=new pN,wa,qn,Ea,Rh,fN=(Rh=class extends kl{constructor(){super();se(this,wa,!0);se(this,qn);se(this,Ea);Z(this,Ea,t=>{if(!Rl&&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(){R(this,qn)||this.setEventListener(R(this,Ea))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,qn))==null||t.call(this),Z(this,qn,void 0))}setEventListener(t){var n;Z(this,Ea,t),(n=R(this,qn))==null||n.call(this),Z(this,qn,t(this.setOnline.bind(this)))}setOnline(t){R(this,wa)!==t&&(Z(this,wa,t),this.listeners.forEac
vendor: 18,544 bytes, line 241
241h(r=>{r(t)}))}isOnline(){return R(this,wa)}},wa=new WeakMap,qn=new WeakMap,Ea=new WeakMap,Rh),Ki=new fN;function mN(e){return Math.min(1e3*2**e,3e4)}function Fy(e){return(e??"online")==="online"?Ki.isOnline():!0}var qy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Pc(e){return e instanceof qy}function $y(e){let t=!1,n=0,r=!1,a,o,s;const i=new Promise((h,g)=>{o=h,s=g}),c=h=>{var g;r||(b(new qy(h)),(g=e.abort)==null||g.call(e))},d=()=>{t=!0},f=()=>{t=!1},u=()=>zy.isFocused()&&(e.networkMode==="always"||Ki.isOnline())&&e.canRun(),p=()=>Fy(e.networkMode)&&e.canRun(),y=h=>{var g;r||(r=!0,(g=e.onSuccess)==null||g.call(e,h),a==null||a(),o(h))},b=h=>{var g;r||(r=!0,(g=e.onError)==null||g.call(e,h),a==null||a(),s(h))},v=()=>new Promise(h=>{var g;a=x=>{(r||u())&&h(x)},(g=e.onPause)==null||g.call(e)}).then(()=>{var h;a=void 0,r||(h=e.onContinue)==null||h.call(e)}),w=()=>{if(r)return;let h;const g=n===0?e.initialPromise:void 0;try{h=g??e.fn()}catch(x){h=Promise.reject(x)}Promise.resolve(h).then(y).catch(x=>{var j;if(r)return;const E=e.retry??(Rl?0:3),C=e.retryDelay??mN,N=typeof C=="function"?C(n,x):C,S=E===!0||typeof E=="number"&&n<E||typeof E=="function"&&E(n,x);if(t||!S){b(x);return}n++,(j=e.onFail)==null||j.call(e,n,x),lN(N).then(()=>u()?void 0:v()).then(()=>{t?b(x):w()})})};return{promise:i,cancel:c,continue:()=>(a==null||a(),i),cancelRetry:d,continueRetry:f,canStart:p,start:()=>(p()?w():v().then(w),i)}}function hN(){let e=[],t=0,n=i=>{i()},r=i=>{i()},a=i=>setTimeout(i,0);const o=i=>{t?e.push(i):a(()=>{n(i)})},s=()=>{const i=e;e=[],i.length&&a(()=>{r(()=>{i.forEach(c=>{n(c)})})})};return{batch:i=>{let c;t++;try{c=i()}finally{t--,t||s()}return c},batchCalls:i=>(...c)=>{o(()=>{i(...c)})},schedule:o,setNotifyFunction:i=>{n=i},setBatchNotifyFunction:i=>{r=i},setScheduler:i=>{a=i}}}var Ze=hN(),Cr,Mh,By=(Mh=class{constructor(){se(this,Cr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),oN(this.gcTime)&&Z(this,Cr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Rl?1/0:5*60*1e3))}clearGcTimeout(){R(this,Cr)&&(clearTimeout(R(this,Cr)),Z(this,Cr,void 0))}},Cr=new WeakMap,Mh),Ca,Sa,At,We,ls,Sr,qt,fn,Lh,gN=(Lh=class extends By{constructor(t){super();se(this,qt);se(this,Ca);se(this,Sa);se(this,At);se(this,We);se(this,ls);se(this,Sr);Z(this,Sr,!1),Z(this,ls,t.defaultOptions),this.setOptions(t.options),this.observers=[],Z(this,At,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Z(this,Ca,bN(this.options)),this.state=t.state??R(this,Ca),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,We))==null?void 0:t.promise}setOptions(t){this.options={...R(this,ls),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,At).remove(this)}setData(t,n){const r=cN(this.state.data,t,this.options);return Ue(this,qt,fn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ue(this,qt,fn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,a;const n=(r=R(this,We))==null?void 0:r.promise;return(a=R(this,We))==null||a.cancel(t),n?n.then(Ft).catch(Ft):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,Ca))}isActive(){return this.observers.some(t=>iN(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!sN(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,We))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,We))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,At).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,We)&&(R(this,Sr)?R(this,We).cancel({revert:!0}):R(this,We).cancelRetry()),this.scheduleGc()),R(this,At).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ue(this,qt,fn).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(R(this,We))return R(this,We).continueRetry(),R(this,We).promise}if(t&&this.setOptions(t),!this.options.queryFn){const u=this.observers.find(p=>p.options.queryFn);u&&this.setOptions(u.options)}const r=new AbortController,a=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(Z(this,Sr,!0),r.signal)})},o=()=>{const u=_y(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return a(p),Z(this,Sr,!1),this.options.persister?this.options.persister(u,p,this):u(p)},s={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};a(s),(c=this.options.behavior)==null||c.onFetch(s,this),Z(this,Sa,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=s.fetchOptions)==null?void 0:d.meta))&&Ue(this,qt,fn).call(this,{type:"fetch",meta:(f=s.fetchOptions)==null?void 0:f.meta});const i=u=>{var p,y,b,v;Pc(u)&&u.silent||Ue(this,qt,fn).call(this,{type:"error",error:u}),Pc(u)||((y=(p=R(this,At).config).onError)==null||y.call(p,u,this),(v=(b=R(this,At).config).onSettled)==null||v.call(b,this.state.data,u,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Z(this,We,$y({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:u=>{var p,y,b,v;if(u===void 0){i(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(u)}catch(w){i(w);return}(y=(p=R(this,At).config).onSuccess)==null||y.call(p,u,this),(v=(b=R(this,At).config).onSettled)==null||v.call(b,u,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:i,onFail:(u,p)=>{Ue(this,qt,fn).call(this,{type:"failed",failureCount:u,error:p})},onPause:()=>{Ue(this,qt,fn).call(this,{type:"pause"})},onContinue:()=>{Ue(this,qt,fn).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),R(this,We).start()}},Ca=new WeakMap,Sa=new WeakMap,At=new WeakMap,We=new WeakMap,ls=new WeakMap,Sr=new WeakMap,qt=new WeakSet,fn=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,...vN(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...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 a=t.error;return Pc(a)&&a.revert&&R(this,Sa)?{...R(this,Sa),fetchStatus:"idle"}:{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ze.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,At).notify({query:this,type:"updated",action:t})})},Lh);function vN(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Fy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function bN(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 tn,Dh,yN=(Dh=class extends kl{constructor(t={}){super();se(this,tn);this.config=t,Z(this,tn,new Map)}build(t,n,r){const a=n.queryKey,o=n.queryHash??Sp(a,n);let s=this.get(o);return s||(s=new gN({cache:this,queryKey:a,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(a)}),this.add(s)),s}add(t){R(this,tn).has(t.queryHash)||(R(this,tn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,tn).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,tn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,tn).get(t)}getAll(){return[...R(this,tn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Gm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Gm(t,r)):n}notify(t){Ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},tn=new WeakMap,Dh),nn,Ye,jr,rn,Ln,Oh,xN=(Oh=class extends By{constructor(t){super();se(this,rn);se(this,nn);se(this,Ye);se(this,jr);this.mutationId=t.mutationId,Z(this,Ye,t.mutationCache),Z(this,nn,[]),this.state=t.state||wN(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,nn).includes(t)||(R(this,nn).push(t),this.clearGcTimeout(),R(this,Ye).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Z(this,nn,R(this,nn).filter(n=>n!==t)),this.scheduleGc(),R(this,Ye).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,nn).length||(this.state.status==="pending"?this.scheduleGc():R(this,Ye).remove(this))}continue(){var t;return((t=R(this,jr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,o,s,i,c,d,f,u,p,y,b,v,w,h,g,x,E,C,N,S;Z(this,jr,$y({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(j,T)=>{Ue(this,rn,Ln).call(this,{type:"failed",failureCount:j,error:T})},onPause:()=>{Ue(this,rn,Ln).call(this,{type:"pause"})},onContinue:()=>{Ue(this,rn,Ln).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,Ye).canRun(this)}));const n=this.state.status==="pending",r=!R(this,jr).canStart();try{if(!n){Ue(this,rn,Ln).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(a=R(this,Ye).config).onMutate)==null?void 0:o.call(a,t,this));const T=await((i=(s=this.options).onMutate)==null?void 0:i.call(s,t));T!==this.state.context&&Ue(this,rn,Ln).call(this,{type:"pending",context:T,variables:t,isPaused:r})}const j=await R(this,jr).start();return await((d=(c=R(this,Ye).config).onSuccess)==null?void 0:d.call(c,j,t,this.state.context,this)),await((u=(f=this.options).onSuccess)==null?void 0:u.call(f,j,t,this.state.context)),await((y=(p=R(this,Ye).config).onSettled)==null?void 0:y.call(p,j,null,this.state.variables,this.state.context,this)),await((v=(b=this.options).onSettled)==null?void 0:v.call(b,j,null,t,this.state.context)),Ue(this,rn,Ln).call(this,{type:"success",data:j}),j}catch(j){try{throw await((h=(w=R(this,Ye).config).onError)==null?void 0:h.call(w,j,t,this.state.context,this)),await((x=(g=this.options).onError)==null?void 0:x.call(g,j,t,this.state.context)),await((C=(E=R(this,Ye).config).onSettled)==null?void 0:C.call(E,void 0,j,this.state.variables,this.state.context,this)),await((S=(N=this.options).onSettled)==null?void 0:S.call(N,void 0,j,t,this.state.context)),j}finally{Ue(this,rn,Ln).call(this,{type:"error",error:j})}}finally{R(this,Ye).runNext(this)}}},nn=new WeakMap,Ye=new WeakMap,jr=new WeakMap,rn=new WeakSet,Ln=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),Ze.batch(()=>{R(this,nn).forEach(r=>{r.onMutationUpdate(t)}),R(this,Ye).notify({mutation:this,type:"updated",action:t})})},Oh);function wN(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var mt,cs,Ih,EN=(Ih=class extends kl{constructor(t={}){super();se(this,mt);se(this,cs);this.config=t,Z(this,mt,new Map),Z(this,cs,Date.now())}build(t,n,r){const a=new xN({mutationCache:this,mutationId:++js(this,cs)._,options:t.defaultMutationOptions(n),state:r});return this.add(a),a}add(t){const n=Qs(t),r=R(this,mt).get(n)??[];r.push(t),R(this,mt).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Qs(t);if(R(this,mt).has(n)){const a=(r=R(this,mt).get(n))==null?void 0:r.filter(o=>o!==t);a&&(a.length===0?R(this,mt).delete(n):R(this,mt).set(n,a))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=R(this,mt).get(Qs(t)))==null?void 0:r.find(a=>a.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=R(this,mt).get(Qs(t)))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...R(this,mt).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Km(n,r))}findAll(t={}){return this.getAll().filter(n=>Km(t,n))}notify(t){Ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(Ft))))}},mt=new WeakMap,cs=new WeakMap,Ih);function Qs(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Xm(e){return{onFetch:(t,n)=>{var f,u,p,y,b;const r=t.options,a=(p=(u=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:u.fetchMore)==null?void 0:p.direction,o=((y=t.state.data)==null?void 0:y.pages)||[],s=((b=t.state.data)==null?void 0:b.pageParams)||[];let i={pages:[],pageParams:[]},c=0;const d=async()=>{let v=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},h=_y(t.options,t.fetchOptions),g=async(x,E,C)=>{if(v)return Promise.reject();if(E==null&&x.pages.length)return Promise.resolve(x);const N={queryKey:t.queryKey,pageParam:E,direction:C?"backward":"forward",meta:t.options.meta};w(N);const S=await h(N),{maxPages:j}=t.options,T=C?uN:dN;return{pages:T(x.pages,S,j),pageParams:T(x.pageParams,E,j)}};if(a&&o.length){const x=a==="backward",E=x?CN:Zm,C={pages:o,pageParams:s},N=E(r,C);i=await g(C,N,x)}else{const x=e??o.length;do{const E=c===0?s[0]??r.initialPageParam:Zm(r,i);if(c>0&&E==null)break;i=await g(i,E),c++}while(c<x)}return i};t.options.persister?t.fetchFn=()=>{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,d,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=d}}}function Zm(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 CN(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 Ae,$n,Bn,ja,Na,Un,Aa,Pa,_h,SN=(_h=class{constructor(e={}){se(this,Ae);se(this,$n);se(this,Bn);se(this,ja);se(this,Na);se(this,Un);se(this,Aa);se(this,Pa);Z(this,Ae,e.queryCache||new yN),Z(this,$n,e.mutationCache||new EN),Z(this,Bn,e.defaultOptions||{}),Z(this,ja,new Map),Z(this,Na,new Map),Z(this,Un,0)}mount(){js(this,Un)._++,R(this,Un)===1&&(Z(this,Aa,zy.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,Ae).onFocus())})),Z(this,Pa,Ki.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,Ae).onOnline())})))}unmount(){var e,t;js(this,Un)._--,R(this,Un)===0&&((e=R(this,Aa))==null||e.call(this),Z(this,Aa,void 0),(t=R(this,Pa))==null||t.call(this),Z(this,Pa,void 0))}isFetching(e){return R(this,Ae).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,$n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,Ae).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=R(this,Ae).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(Wm(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return R(this,Ae).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),a=R(this,Ae).get(r.queryHash),o=a==null?void 0:a.state.data,s=aN(t,o);if(s!==void 0)return R(this,Ae).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Ze.batch(()=>R(this,Ae).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,Ae).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,Ae);Ze.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,Ae),r={type:"active",...e};return Ze.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Ze.batch(()=>R(this,Ae).findAll(e).map(a=>a.cancel(n)));return Promise.all(r).then(Ft).catch(Ft)}invalidateQueries(e={},t={}){return Ze.batch(()=>
241{if(R(this,Ae).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Ze.batch(()=>R(this,Ae).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let o=a.fetch(void 0,n);return n.throwOnError||(o=o.catch(Ft)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Ft)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,Ae).build(this,t);return n.isStaleByTime(Wm(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ft).catch(Ft)}fetchInfiniteQuery(e){return e.behavior=Xm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ft).catch(Ft)}ensureInfiniteQueryData(e){return e.behavior=Xm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ki.isOnline()?R(this,$n).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,Ae)}getMutationCache(){return R(this,$n)}getDefaultOptions(){return R(this,Bn)}setDefaultOptions(e){Z(this,Bn,e)}setQueryDefaults(e,t){R(this,ja).set(Jo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,ja).values()];let n={};return t.forEach(r=>{es(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){R(this,Na).set(Jo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,Na).values()];let n={};return t.forEach(r=>{es(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,Bn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Sp(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.enabled!==!0&&t.queryFn===Iy&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,Bn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,Ae).clear(),R(this,$n).clear()}},Ae=new WeakMap,$n=new WeakMap,Bn=new WeakMap,ja=new WeakMap,Na=new WeakMap,Un=new WeakMap,Aa=new WeakMap,Pa=new WeakMap,_h),jN=m.createContext(void 0),NN=({client:e,children:t})=>(m.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(jN.Provider,{value:e,children:t}));/**
242 * @remix-run/router v1.19.2
243 *
244 * Copyright (c) Remix Software Inc.
245 *
246 * This source code is licensed under the MIT license found in the
247 * LICENSE.md file in the root directory of this source tree.
248 *
249 * @license MIT
250 */function ts(){return ts=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ts.apply(this,arguments)}var Wn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Wn||(Wn={}));const Jm="popstate";function AN(e){e===void 0&&(e={});function t(r,a){let{pathname:o,search:s,hash:i}=r.location;return eu("",{pathname:o,search:s,hash:i},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(r,a){return typeof a=="string"?a:Qi(a)}return TN(t,n,null,e)}function Me(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Uy(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function PN(){return Math.random().toString(36).substr(2,8)}function eh(e,t){return{usr:e.state,key:e.key,idx:t}}function eu(e,t,n,r){return n===void 0&&(n=null),ts({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Wa(t):t,{state:n,key:t&&t.key||r||PN()})}function Qi(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 Wa(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 TN(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,i=Wn.Pop,c=null,d=f();d==null&&(d=0,s.replaceState(ts({},s.state,{idx:d}),""));function f(){return(s.state||{idx:null}).idx}function u(){i=Wn.Pop;let w=f(),h=w==null?null:w-d;d=w,c&&c({action:i,location:v.location,delta:h})}function p(w,h){i=Wn.Push;let g=eu(v.location,w,h);d=f()+1;let x=eh(g,d),E=v.createHref(g);
vendor: 3,348 bytes, line 250
250try{s.pushState(x,"",E)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;a.location.assign(E)}o&&c&&c({action:i,location:v.location,delta:1})}function y(w,h){i=Wn.Replace;let g=eu(v.location,w,h);d=f();let x=eh(g,d),E=v.createHref(g);s.replaceState(x,"",E),o&&c&&c({action:i,location:v.location,delta:0})}function b(w){let h=a.location.origin!=="null"?a.location.origin:a.location.href,g=typeof w=="string"?w:Qi(w);return g=g.replace(/ $/,"%20"),Me(h,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,h)}let v={get action(){return i},get location(){return e(a,s)},listen(w){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(Jm,u),c=w,()=>{a.removeEventListener(Jm,u),c=null}},createHref(w){return t(a,w)},createURL:b,encodeLocation(w){let h=b(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:p,replace:y,go(w){return s.go(w)}};return v}var th;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(th||(th={}));function kN(e,t,n){return n===void 0&&(n="/"),RN(e,t,n,!1)}function RN(e,t,n,r){let a=typeof t=="string"?Wa(t):t,o=jp(a.pathname||"/",n);if(o==null)return null;let s=Vy(e);MN(s);let i=null;for(let c=0;i==null&&c<s.length;++c){let d=UN(o);i=$N(s[c],d,r)}return i}function Vy(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let a=(o,s,i)=>{let c={relativePath:i===void 0?o.path||"":i,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(Me(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let d=tr([r,c.relativePath]),f=n.concat(c);o.children&&o.children.length>0&&(Me(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),Vy(o.children,t,f,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:FN(d,o.index),routesMeta:f})};return e.forEach((o,s)=>{var i;if(o.path===""||!((i=o.path)!=null&&i.includes("?")))a(o,s);else for(let c of Hy(o.path))a(o,s,c)}),t}function Hy(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let s=Hy(r.join("/")),i=[];return i.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&i.push(...s),i.map(c=>e.startsWith("/")&&c===""?"/":c)}function MN(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:qN(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const LN=/^:[\w-]+$/,DN=3,ON=2,IN=1,_N=10,zN=-2,nh=e=>e==="*";function FN(e,t){let n=e.split("/"),r=n.length;return n.some(nh)&&(r+=zN),t&&(r+=ON),n.filter(a=>!nh(a)).reduce((a,o)=>a+(LN.test(o)?DN:o===""?IN:_N),r)}function qN(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function $N(e,t,n){let{routesMeta:r}=e,a={},o="/",s=[];for(let i=0;i<r.length;++i){let c=r[i],d=i===r.length-1,f=o==="/"?t:t.slice(o.length)||"/",u=rh({path:c.relativePath,caseSensitive:c.caseSensitive,end:d},f),p=c.route;if(!u&&d&&n&&!r[r.length-1].route.index&&(u=rh({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},f)),!u)return null;
vendor: 6,917 bytes, lines 250-259
250Object.assign(a,u.params),s.push({params:a,pathname:tr([o,u.pathname]),pathnameBase:GN(tr([o,u.pathnameBase])),route:p}),u.pathnameBase!=="/"&&(o=tr([o,u.pathnameBase]))}return s}function rh(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=BN(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let o=a[0],s=o.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce((d,f,u)=>{let{paramName:p,isOptional:y}=f;if(p==="*"){let v=i[u]||"";s=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const b=i[u];return y&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function BN(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Uy(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=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,i,c)=>(r.push({paramName:i,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function UN(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Uy(!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 jp(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 VN(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?Wa(e):e;return{pathname:n?n.startsWith("/")?n:HN(n,t):t,search:KN(r),hash:QN(a)}}function HN(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Tc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function WN(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Wy(e,t){let n=WN(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Gy(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=Wa(e):(a=ts({},e),Me(!a.pathname||!a.pathname.includes("?"),Tc("?","pathname","search",a)),Me(!a.pathname||!a.pathname.includes("#"),Tc("#","pathname","hash",a)),Me(!a.search||!a.search.includes("#"),Tc("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,i;if(s==null)i=n;else{let u=t.length-1;if(!r&&s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),u-=1;a.pathname=p.join("/")}i=u>=0?t[u]:"/"}let c=VN(a,i),d=s&&s!=="/"&&s.endsWith("/"),f=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||f)&&(c.pathname+="/"),c}const tr=e=>e.join("/").replace(/\/\/+/g,"/"),GN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),KN=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,QN=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function YN(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ky=["post","put","patch","delete"];new Set(Ky);const XN=["get",...Ky];new Set(XN);/**
251 * React Router v6.26.2
252 *
253 * Copyright (c) Remix Software Inc.
254 *
255 * This source code is licensed under the MIT license found in the
256 * LICENSE.md file in the root directory of this source tree.
257 *
258 * @license MIT
259 */function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ns.apply(this,arguments)}const Np=m.createContext(null),ZN=m.createContext(null),Fr=m.createContext(null),Ml=m.createContext(null),fr=m.createContext({outlet:null,matches:[],isDataRoute:!1}),Qy=m.createContext(null);function JN(e,t){let{relative:n}=t===void 0?{}:t;bs()||Me(!1);let{basename:r,navigator:a}=m.useContext(Fr),{hash:o,pathname:s,search:i}=Zy(e,{relative:n}),c=s;return r!=="/"&&(c=s==="/"?r:tr([r,s])),a.createHref({pathname:c,search:i,hash:o})}function bs(){return m.useContext(Ml)!=null}function Ga(){return bs()||Me(!1),m.useContext(Ml).location}function Yy(e){m.useContext(Fr).static||m.useLayoutEffect(e)}function eA(){let{isDataRoute:e}=m.useContext(fr);return e?fA():tA()}function tA(){bs()||Me(!1);let e=m.useContext(Np),{basename:t,future:n,navigator:r}=m.useContext(Fr),{matches:a}=m.useContext(fr),{pathname:o}=Ga(),s=JSON.stringify(Wy(a,n.v7_relativeSplatPath)),i=m.useRef(!1);return Yy(()=>{i.current=!0}),m.useCallback(function(d,f){if(f===void 0&&(f={}),!i.current)return;if(typeof d=="number"){r.go(d);return}let u=Gy(d,JSON.parse(s),o,f.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:tr([t,u.pathname])),(f.replace?r.replace:r.push)(u,f.state,f)},[t,r,s,o,e])}function Xy(){let{matches:e}=m.useContext(fr),t=e[e.length-1];return t?t.params:{}}function Zy(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=m.useContext(Fr),{matches:a}=m.useContext(fr),{pathname:o}=Ga(),s=JSON.stringify(Wy(a,r.v7_relativeSplatPath));return m.useMemo(()=>Gy(e,JSON.parse(s),o,n==="path"),[e,s,o,n])}function nA(e,t){return rA(e,t)}function rA(e,t,n,r){bs()||Me(!1);let{navigator:a}=m.useContext(Fr),{matches:o}=m.useContext(fr),s=o[o.length-1],i=s?s.params:{};s&&s.pathname;let c=s?s.pathnameBase:"/";s&&s.route;let d=Ga(),f;if(t){var u;let w=typeof t=="string"?Wa(t):t;c==="/"||(u=w.pathname)!=null&&u.startsWith(c)||Me(!1),f=w}else f=d;let p=f.pathname||"/",y=p;if(c!=="/"){let w=c.replace(/^\//,"").split("/");y="/"+p.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=kN(e,{pathname:y}),v=lA(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},i,w.params),pathname:tr([c,a.encodeLocation?a.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:tr([c,a.encodeLocation?a.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,n,r);return t&&v?m.createElement(Ml.Provider,{value:{location:ns({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Wn.Pop}},v):v}function aA(){let e=pA(),t=YN(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application 
259Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},t),n?m.createElement("pre",{style:a},n):null,null)}const oA=m.createElement(aA,null);class sA extends m.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?m.createElement(fr.Provider,{value:this.props.routeContext},m.createElement(Qy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function iA(e){let{routeContext:t,match:n,children:r}=e,a=m.useContext(Np);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),m.createElement(fr.Provider,{value:t},r)}function lA(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,i=(a=n)==null?void 0:a.errors;if(i!=null){let f=s.findIndex(u=>u.route.id&&(i==null?void 0:i[u.route.id])!==void 0);f>=0||Me(!1),s=s.slice(0,Math.min(s.length,f+1))}let c=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<s.length;f++){let u=s[f];if((u.route.HydrateFallback||u.route.hydrateFallbackElement)&&(d=f),u.route.id){let{loaderData:p,errors:y}=n,b=u.route.loader&&p[u.route.id]===void 0&&(!y||y[u.route.id]===void 0);if(u.route.lazy||b){c=!0,d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}return s.reduceRight((f,u,p)=>{let y,b=!1,v=null,w=null;n&&(y=i&&u.route.id?i[u.route.id]:void 0,v=u.route.errorElement||oA,c&&(d<0&&p===0?(b=!0,w=null):d===p&&(b=!0,w=u.route.hydrateFallbackElement||null)));let h=t.concat(s.slice(0,p+1)),g=()=>{let x;return y?x=v:b?x=w:u.route.Component?x=m.createElement(u.route.Component,null):u.route.element?x=u.route.element:x=f,m.createElement(iA,{match:u,routeContext:{outlet:f,matches:h,isDataRoute:n!=null},children:x})};return n&&(u.route.ErrorBoundary||u.route.errorElement||p===0)?m.createElement(sA,{location:n.location,revalidation:n.revalidation,component:v,error:y,children:g(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):g()},null)}var Jy=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Jy||{}),Yi=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}(Yi||{});function cA(e){let t=m.useContext(Np);return t||Me(!1),t}function dA(e){let t=m.useContext(ZN);return t||Me(!1),t}function uA(e){let t=m.useContext(fr);return t||Me(!1),t}function e0(e){let t=uA(),n=t.matches[t.matches.length-1];return n.route.id||Me(!1),n.route.id}function pA(){var e;let t=m.useContext(Qy),n=dA(Yi.UseRouteError),r=e0(Yi.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function fA(){let{router:e}=cA(Jy.UseNavigateStable),t=e0(Yi.UseNavigateStable),n=m.useRef(!1);return Yy(()=>{n.current=!0}),m.useCallback(function(a,o){o===void 0&&(o={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,ns({fromRouteId:t},o)))},[e,t])}function _t(e){Me(!1)}function mA(e){let{basename:t="/",children:n=null,location:r,navigationType:a=Wn.Pop,navigator:o,static:s=!1,future:i}=e;bs()&&Me(!1);let c=t.replace(/^\/*/,"/"),d=m.useMemo(()=>({basename:c,navigator:o,static:s,future:ns({v7_relativeSplatPath:!1},i)}),[c,i,o,s]);typeof r=="string"&&(r=Wa(r));let{pathname:f="/",search:u="",hash:p="",state:y=null,key:b="default"}=r,v=m.useMemo(()=>{let w=jp(f,c);return w==null?null:{location:{pathname:w,search:u,hash:p,state:y,key:b},navigationType:a}},[c,f,u,p,y,b,a]);return v==null?null:m.createElement(Fr.Provider,{value:d},m.createElement(Ml.Provider,{children:n,value:v}))}function hA(e){let{children:t,location:n}=e;return nA(tu(t),n)}new Promise(()=>{});function tu(e,t){t===void 0&&(t=[]);let n=[];
259return m.Children.forEach(e,(r,a)=>{if(!m.isValidElement(r))return;let o=[...t,a];if(r.type===m.Fragment){n.push.apply(n,tu(r.props.children,o));return}r.type!==_t&&Me(!1),!r.props.index||!r.props.children||Me(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=tu(r.props.children,o)),n.push(s)}),n}/**
260 * React Router DOM v6.26.2
261 *
262 * Copyright (c) Remix Software Inc.
263 *
264 * This source code is licensed under the MIT license found in the
265 * LICENSE.md file in the root directory of this source tree.
266 *
267 * @license MIT
268 */function nu(){return nu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nu.apply(this,arguments)}function gA(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function vA(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function bA(e,t){return e.button===0&&(!t||t==="_self")&&!vA(e)}const yA=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],xA="6";try{window.__reactRouterVersion=xA}catch{}const wA="startTransition",ah=Kh[wA];function EA(e){let{basename:t,children:n,future:r,window:a}=e,o=m.useRef();o.current==null&&(o.current=AN({window:a,v5Compat:!0}));let s=o.current,[i,c]=m.useState({action:s.action,location:s.location}),{v7_startTransition:d}=r||{},f=m.useCallback(u=>{d&&ah?ah(()=>c(u)):c(u)},[c,d]);return m.useLayoutEffect(()=>s.listen(f),[s,f]),m.createElement(mA,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:s,future:r})}const CA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",SA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Oe=m.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:o,replace:s,state:i,target:c,to:d,preventScrollReset:f,unstable_viewTransition:u}=t,p=gA(t,yA),{basename:y}=m.useContext(Fr),b,v=!1;if(typeof d=="string"&&SA.test(d)&&(b=d,CA))try{let x=new URL(window.location.href),E=d.startsWith("//")?new URL(x.protocol+d):new URL(d),C=jp(E.pathname,y);E.origin===x.origin&&C!=null?d=C+E.search+E.hash:v=!0}catch{}let w=JN(d,{relative:a}),h=jA(d,{replace:s,state:i,target:c,preventScrollReset:f,relative:a,unstable_viewTransition:u});function g(x){r&&r(x),x.defaultPrevented||h(x)}return m.createElement("a",nu({},p,{href:b||w,onClick:v||o?r:g,ref:n,target:c}))});var oh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(oh||(oh={}));var sh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(sh||(sh={}));function jA(e,t){let{target:n,replace:r,state:a,preventScrollReset:o,relative:s,unstable_viewTransition:i}=t===void 0?{}:t,c=eA(),d=Ga(),f=Zy(e,{relative:s});return m.useCallback(u=>{if(bA(u,n)){u.preventDefault();let p=r!==void 0?r:Qi(d)===Qi(f);c(e,{replace:p,state:a,preventScrollReset:o,relative:s,unstable_viewTransition:i})}},[d,c,f,r,a,n,e,o,s,i])}const ih=e=>{let t;const n=new Set,r=(d,f)=>{const u=typeof d=="function"?d(t):d;if(!Object.is(u,t)){const p=t;t=f??(typeof u!="object"||u===null)?u:Object.assign({},t,u),n.forEach(y=>y(t,p))}},a=()=>t,i={setState:r,getState:a,getInitialState:()=>c,subscribe:d=>(n.add(d),()=>n.delete(d))},c=t=e(r,a,i);return i},NA=e=>e?ih(e):ih,AA=e=>e;function PA(e,t=AA){const n=M.useSyncExternalStore(e.subscribe,M.useCallback(()=>t(e.getState()),[e,t]),M.useCallback(()=>t(e.getInitialState()),[e,t]));return M.useDebugValue(n),n}
vendor: 9,137 bytes, line 268
268const lh=e=>{const t=NA(e),n=r=>PA(t,r);return Object.assign(n,t),n},TA=e=>e?lh(e):lh,dt=TA(e=>({formOpen:!1,setFormOpen:t=>e({formOpen:t})})),kA=Object.freeze(Object.defineProperty({__proto__:null,useStore:dt},Symbol.toStringTag,{value:"Module"}));var RA=m.createContext(void 0);function Ll(e){const t=m.useContext(RA);return e||t||"ltr"}var MA="DismissableLayer",ru="dismissableLayer.update",LA="dismissableLayer.pointerDownOutside",DA="dismissableLayer.focusOutside",ch,t0=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),n0=m.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:i,...c}=e,d=m.useContext(t0),[f,u]=m.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=m.useState({}),b=ce(t,S=>u(S)),v=Array.from(d.layers),[w]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),h=v.indexOf(w),g=f?v.indexOf(f):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,E=g>=h,C=_A(S=>{const j=S.target,T=[...d.branches].some(k=>k.contains(j));!E||T||(a==null||a(S),s==null||s(S),S.defaultPrevented||i==null||i())},p),N=zA(S=>{const j=S.target;[...d.branches].some(k=>k.contains(j))||(o==null||o(S),s==null||s(S),S.defaultPrevented||i==null||i())},p);return lp(S=>{g===d.layers.size-1&&(r==null||r(S),!S.defaultPrevented&&i&&(S.preventDefault(),i()))},p),m.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(ch=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),dh(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=ch)}},[f,p,n,d]),m.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),dh())},[f,d]),m.useEffect(()=>{const S=()=>y({});return document.addEventListener(ru,S),()=>document.removeEventListener(ru,S)},[]),l.jsx(Q.div,{...c,ref:b,style:{pointerEvents:x?E?"auto":"none":void 0,...e.style},onFocusCapture:$(e.onFocusCapture,N.onFocusCapture),onBlurCapture:$(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:$(e.onPointerDownCapture,C.onPointerDownCapture)})});n0.displayName=MA;var OA="DismissableLayerBranch",IA=m.forwardRef((e,t)=>{const n=m.useContext(t0),r=m.useRef(null),a=ce(t,r);return m.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),l.jsx(Q.div,{...e,ref:a})});IA.displayName=OA;function _A(e,t=globalThis==null?void 0:globalThis.document){const n=_e(e),r=m.useRef(!1),a=m.useRef(()=>{});return m.useEffect(()=>{const o=i=>{if(i.target&&!r.current){let c=function(){r0(LA,n,d,{discrete:!0})};const d={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function zA(e,t=globalThis==null?void 0:globalThis.document){const n=_e(e),r=m.useRef(!1);return m.useEffect(()=>{const a=o=>{o.target&&!r.current&&r0(DA,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function dh(){const e=new CustomEvent(ru);document.dispatchEvent(e)}function r0(e,t,n,{discrete:r}){const a=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?gs(a,o):a.dispatchEvent(o)}var kc=0;function FA(){m.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??uh()),document.body.insertAdjacentElement("beforeend",e[1]??uh()),kc++,()=>{kc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),kc--}},[])}function uh(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Rc="focusScope.autoFocusOnMount",Mc="focusScope.autoFocusOnUnmount",ph={bubbles:!1,cancelable:!0},qA="FocusScope",Ap=m.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...s}=e,[i,c]=m.useState(null),d=_e(a),f=_e(o),u=m.useRef(null),p=ce(t,v=>c(v)),y=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(r){let v=function(x){if(y.paused||!i)return;const E=x.target;i.contains(E)?u.current=E:Dn(u.current,{select:!0})},w=function(x){if(y.paused||!i)return;const E=x.relatedTarget;E!==null&&(i.contains(E)||Dn(u.current,{select:!0}))},h=function(x){if(document.activeElement===document.body)for(const C of x)C.removedNodes.length>0&&Dn(i)};document.addEventListener("focusin",v),document.addEventListener("focusout",w);const g=new MutationObserver(h);return i&&g.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",w),g.disconnect()}}},[r,i,y.paused]),m.useEffect(()=>{if(i){mh.add(y);const v=document.activeElement;if(!i.contains(v)){const h=new CustomEvent(Rc,ph);i.addEventListener(Rc,d),i.dispatchEvent(h),h.defaultPrevented||($A(WA(a0(i)),{select:!0}),document.activeElement===v&&Dn(i))}return()=>{i.removeEventListener(Rc,d),setTimeout(()=>{const h=new CustomEvent(Mc,ph);i.addEventListener(Mc,f),i.dispatchEvent(h),h.defaultPrevented||Dn(v??document.body,{select:!0}),i.removeEventListener(Mc,f),mh.remove(y)},0)}}},[i,d,f,y]);const b=m.useCallback(v=>{if(!n&&!r||y.paused)return;const w=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,h=document.activeElement;if(w&&h){const g=v.currentTarget,[x,E]=BA(g);x&&E?!v.shiftKey&&h===E?(v.preventDefault(),n&&Dn(x,{select:!0})):v.shiftKey&&h===x&&(v.preventDefault(),n&&Dn(E,{select:!0})):h===g&&v.preventDefault()}},[n,r,y.paused]);return l.jsx(Q.div,{tabIndex:-1,...s,ref:p,onKeyDown:b})});Ap.displayName=qA;function $A(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Dn(r,{select:t}),document.activeElement!==n)return}function BA(e){const t=a0(e),n=fh(t,e),r=fh(t.reverse(),e);return[n,r]}function a0(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function fh(e,t){for(const n of e)if(!UA(n,{upTo:t}))return n}function UA(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function VA(e){return e instanceof HTMLInputElement&&"select"in e}function Dn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&VA(e)&&t&&e.select()}}var mh=HA();function HA(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=hh(e,t),e.unshift(t)},remove(t){var n;e=hh(e,t),(n=e[0])==null||n.resume()}}}function hh(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function WA(e){return e.filter(t=>t.tagName!=="A")}var GA="Portal",o0=m.forwardRef((e,t)=>{var i;const{container:n,...r}=e,[a,o]=m.useState(!1);et(()=>o(!0),[]);const s=n||a&&((i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body);return s?bl.createPortal(l.jsx(Q.div,{...r,ref:t}),s):null});o0.displayName=GA;var Lc="rovingFocusGroup.onEntryFocus",KA={bubbles:!1,cancelable:!0},Dl="RovingFocusGroup",[au,s0,QA]=xl(Dl),[YA,Ol]=An(Dl,[QA]),[XA,ZA]=YA(Dl),i0=m.forwardRef((e,t)=>l.jsx(au.Provider,{scope:e.__scopeRovingFocusGroup,children:l.jsx(au.Slot,{scope:e.__scopeRovingFocusGroup,children:l.jsx(JA,{...e,ref:t})})}));i0.displayName=Dl;var JA=m.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:c,onEntryFocus:d,preventScrollOnEntryFocus:f=!1,...u}=e,p=m.useRef(null),y=ce(t,p),b=Ll(o),[v=null,w]=pr({prop:s,defaultProp:i,onChange:c}),[h,g]=m.useState(!1),x=_e(d),E=s0(n),C=m.useRef(!1),[N,S]=m.useState(0);return m.useEffect(()=>{const j=p.current;if(j)return j.addEventListener(Lc,x),()=>j.removeEventListener(Lc,x)},[x]),l.jsx(XA,{scope:n,orientation:r,dir:b,loop:a,currentTabStopId:v,onItemFocus:m.useCallback(j=>w(j),[w]),onItemShiftTab:m.useCallback(()=>g(!0),[]),onFocusableItemAdd:m.useCallback(()=>S(j=>j+1),[]),onFocusableItemRemove:m.useCallback(()=>S(j=>j-1),[]),children:l.jsx(Q.div,{tabIndex:h||N===0?-1:0,"data-orientation":r,...u,ref:y,style:{outline:"none",...e.style},onMouseDown:$(e.onMouseDown,()=>{C.current=!0}),onFocus:$(e.onFocus,j=>{const T=!C.current;if(j.target===j.currentTarget&&T&&!h){const k=new CustomEvent(Lc,KA);
vendor: 9,829 bytes, lines 268-305
268if(j.currentTarget.dispatchEvent(k),!k.defaultPrevented){const I=E().filter(B=>B.focusable),_=I.find(B=>B.active),V=I.find(B=>B.id===v),H=[_,V,...I].filter(Boolean).map(B=>B.ref.current);d0(H,f)}}C.current=!1}),onBlur:$(e.onBlur,()=>g(!1))})})}),l0="RovingFocusGroupItem",c0=m.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...s}=e,i=yn(),c=o||i,d=ZA(l0,n),f=d.currentTabStopId===c,u=s0(n),{onFocusableItemAdd:p,onFocusableItemRemove:y}=d;return m.useEffect(()=>{if(r)return p(),()=>y()},[r,p,y]),l.jsx(au.ItemSlot,{scope:n,id:c,focusable:r,active:a,children:l.jsx(Q.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...s,ref:t,onMouseDown:$(e.onMouseDown,b=>{r?d.onItemFocus(c):b.preventDefault()}),onFocus:$(e.onFocus,()=>d.onItemFocus(c)),onKeyDown:$(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){d.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const v=nP(b,d.orientation,d.dir);if(v!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let h=u().filter(g=>g.focusable).map(g=>g.ref.current);if(v==="last")h.reverse();else if(v==="prev"||v==="next"){v==="prev"&&h.reverse();const g=h.indexOf(b.currentTarget);h=d.loop?rP(h,g+1):h.slice(g+1)}setTimeout(()=>d0(h))}})})})});c0.displayName=l0;var eP={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tP(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function nP(e,t,n){const r=tP(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return eP[r]}function d0(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function rP(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var u0=i0,p0=c0,aP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Wr=new WeakMap,Ys=new WeakMap,Xs={},Dc=0,f0=function(e){return e&&(e.host||f0(e.parentNode))},oP=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=f0(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},sP=function(e,t,n,r){var a=oP(t,Array.isArray(e)?e:[e]);Xs[n]||(Xs[n]=new WeakMap);var o=Xs[n],s=[],i=new Set,c=new Set(a),d=function(u){!u||i.has(u)||(i.add(u),d(u.parentNode))};a.forEach(d);var f=function(u){!u||c.has(u)||Array.prototype.forEach.call(u.children,function(p){if(i.has(p))f(p);else try{var y=p.getAttribute(r),b=y!==null&&y!=="false",v=(Wr.get(p)||0)+1,w=(o.get(p)||0)+1;Wr.set(p,v),o.set(p,w),s.push(p),v===1&&b&&Ys.set(p,!0),w===1&&p.setAttribute(n,"true"),b||p.setAttribute(r,"true")}catch(h){console.error("aria-hidden: cannot operate on ",p,h)}})};return f(t),i.clear(),Dc++,function(){s.forEach(function(u){var p=Wr.get(u)-1,y=o.get(u)-1;Wr.set(u,p),o.set(u,y),p||(Ys.has(u)||u.removeAttribute(r),Ys.delete(u)),y||u.removeAttribute(n)}),Dc--,Dc||(Wr=new WeakMap,Wr=new WeakMap,Ys=new WeakMap,Xs={})}},m0=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=aP(e);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live]"))),sP(r,a,n,"aria-hidden")):function(){return null}},Ke=function(){return Ke=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ke.apply(this,arguments)};function Pp(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function h0(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var ko="right-scroll-bar-position",Ro="width-before-scroll-bar",iP="with-scroll-bars-hidden",lP="--removed-body-scroll-bar-size";function Oc(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function cP(e,t){var n=m.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var a=n.value;a!==r&&(n.value=r,n.callback(r,a))}}}})[0];return n.callback=t,n.facade}var dP=typeof window<"u"?m.useLayoutEffect:m.useEffect,gh=new WeakMap;function g0(e,t){var n=cP(null,function(r){return e.forEach(function(a){return Oc(a,r)})});return dP(function(){var r=gh.get(n);if(r){var a=new Set(r),o=new Set(e),s=n.current;a.forEach(function(i){o.has(i)||Oc(i,null)}),o.forEach(function(i){a.has(i)||Oc(i,s)})}gh.set(n,e)},[e]),n}function uP(e){return e}function pP(e,t){t===void 0&&(t=uP);var n=[],r=!1,a={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var s=t(o,r);return n.push(s),function(){n=n.filter(function(i){return i!==s})}},assignSyncMedium:function(o){for(r=!0;n.length;){var s=n;n=[],s.forEach(o)}n={push:function(i){return o(i)},filter:function(){return n}}},assignMedium:function(o){r=!0;var s=[];if(n.length){var i=n;n=[],i.forEach(o),s=n}var c=function(){var f=s;s=[],f.forEach(o)},d=function(){return Promise.resolve().then(c)};d(),n={push:function(f){s.push(f),d()},filter:function(f){return s=s.filter(f),n}}}};return a}function v0(e){e===void 0&&(e={});var t=pP(null);return t.options=Ke({async:!0,ssr:!1},e),t}var b0=function(e){var t=e.sideCar,n=Pp(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return m.createElement(r,Ke({},n))};b0.isSideCarExport=!0;function y0(e,t){return e.useMedium(t),b0}var x0=v0(),Ic=function(){},Il=m.forwardRef(function(e,t){var n=m.useRef(null),r=m.useState({onScrollCapture:Ic,onWheelCapture:Ic,onTouchMoveCapture:Ic}),a=r[0],o=r[1],s=e.forwardProps,i=e.children,c=e.className,d=e.removeScrollBar,f=e.enabled,u=e.shards,p=e.sideCar,y=e.noIsolation,b=e.inert,v=e.allowPinchZoom,w=e.as,h=w===void 0?"div":w,g=e.gapMode,x=Pp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=p,C=g0([n,t]),N=Ke(Ke({},x),a);return m.createElement(m.Fragment,null,f&&m.createElement(E,{sideCar:x0,removeScrollBar:d,shards:u,noIsolation:y,inert:b,setCallbacks:o,allowPinchZoom:!!v,lockRef:n,gapMode:g}),s?m.cloneElement(m.Children.only(i),Ke(Ke({},N),{ref:C})):m.createElement(h,Ke({},N,{className:c,ref:C}),i))});Il.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Il.classNames={fullWidth:Ro,zeroRight:ko};var fP=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function mP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=fP();return t&&e.setAttribute("nonce",t),e}function hP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function gP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var vP=function(){var e=0,t=null;return{add:function(n){e==0&&(t=mP())&&(hP(t,n),gP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},bP=function(){var e=vP();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Tp=function(){var e=bP(),t=function(n){var r=n.styles,a=n.dynamic;return e(r,a),null};return t},yP={left:0,top:0,right:0,gap:0},_c=function(e){return parseInt(e||"",10)||0},xP=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[_c(n),_c(r),_c(a)]},wP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return yP;var t=xP(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},EP=Tp(),ya="data-scroll-locked",CP=function(e,t,n,r){var a=e.left,o=e.top,s=e.right,i=e.gap;return n===void 0&&(n="margin"),`
269  .`.concat(iP,` {
270   overflow: hidden `).concat(r,`;
271   padding-right: `).concat(i,"px ").concat(r,`;
272  }
273  body[`).concat(ya,`] {
274    overflow: hidden `).concat(r,`;
275    overscroll-behavior: contain;
276    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
277    padding-left: `.concat(a,`px;
278    padding-top: `).concat(o,`px;
279    padding-right: `).concat(s,`px;
280    margin-left:0;
281    margin-top:0;
282    margin-right: `).concat(i,"px ").concat(r,`;
283    `),n==="padding"&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),`
284  }
285  
286  .`).concat(ko,` {
287    right: `).concat(i,"px ").concat(r,`;
288  }
289  
290  .`).concat(Ro,` {
291    margin-right: `).concat(i,"px ").concat(r,`;
292  }
293  
294  .`).concat(ko," .").concat(ko,` {
295    right: 0 `).concat(r,`;
296  }
297  
298  .`).concat(Ro," .").concat(Ro,` {
299    margin-right: 0 `).concat(r,`;
300  }
301  
302  body[`).concat(ya,`] {
303    `).concat(lP,": ").concat(i,`px;
304  }
305`)},vh=function(){var e=parseInt(document.body.getAttribute(ya)||"0",10);return isFinite(e)?e:0},SP=function(){m.useEffect(function(){return document.body.setAttribute(ya,(vh()+1).toString()),function(){var e=vh()-1;e<=0?document.body.removeAttribute(ya):document.body.setAttribute(ya,e.toString())}},[])},w0=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=r===void 0?"margin":r;SP();var o=m.useMemo(function(){return wP(a)},[a]);return m.createElement(EP,{styles:CP(o,!t,a,n?"":"!important")})}
vendor: 22,523 bytes, lines 305-308
305,ou=!1;if(typeof window<"u")try{var Zs=Object.defineProperty({},"passive",{get:function(){return ou=!0,!0}});window.addEventListener("test",Zs,Zs),window.removeEventListener("test",Zs,Zs)}catch{ou=!1}var Gr=ou?{passive:!1}:!1,jP=function(e){return e.tagName==="TEXTAREA"},E0=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!jP(e)&&n[t]==="visible")},NP=function(e){return E0(e,"overflowY")},AP=function(e){return E0(e,"overflowX")},bh=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=C0(e,r);if(a){var o=S0(e,r),s=o[1],i=o[2];if(s>i)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},PP=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},TP=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},C0=function(e,t){return e==="v"?NP(t):AP(t)},S0=function(e,t){return e==="v"?PP(t):TP(t)},kP=function(e,t){return e==="h"&&t==="rtl"?-1:1},RP=function(e,t,n,r,a){var o=kP(e,window.getComputedStyle(t).direction),s=o*r,i=n.target,c=t.contains(i),d=!1,f=s>0,u=0,p=0;do{var y=S0(e,i),b=y[0],v=y[1],w=y[2],h=v-w-o*b;(b||h)&&C0(e,i)&&(u+=h,p+=b),i instanceof ShadowRoot?i=i.host:i=i.parentNode}while(!c&&i!==document.body||c&&(t.contains(i)||t===i));return(f&&(Math.abs(u)<1||!a)||!f&&(Math.abs(p)<1||!a))&&(d=!0),d},Js=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},yh=function(e){return[e.deltaX,e.deltaY]},xh=function(e){return e&&"current"in e?e.current:e},MP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},LP=function(e){return`
306  .block-interactivity-`.concat(e,` {pointer-events: none;}
307  .allow-interactivity-`).concat(e,` {pointer-events: all;}
308`)},DP=0,Kr=[];function OP(e){var t=m.useRef([]),n=m.useRef([0,0]),r=m.useRef(),a=m.useState(DP++)[0],o=m.useState(Tp)[0],s=m.useRef(e);m.useEffect(function(){s.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var v=h0([e.lockRef.current],(e.shards||[]).map(xh),!0).filter(Boolean);return v.forEach(function(w){return w.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),v.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var i=m.useCallback(function(v,w){if("touches"in v&&v.touches.length===2)return!s.current.allowPinchZoom;var h=Js(v),g=n.current,x="deltaX"in v?v.deltaX:g[0]-h[0],E="deltaY"in v?v.deltaY:g[1]-h[1],C,N=v.target,S=Math.abs(x)>Math.abs(E)?"h":"v";if("touches"in v&&S==="h"&&N.type==="range")return!1;var j=bh(S,N);if(!j)return!0;if(j?C=S:(C=S==="v"?"h":"v",j=bh(S,N)),!j)return!1;if(!r.current&&"changedTouches"in v&&(x||E)&&(r.current=C),!C)return!0;var T=r.current||C;return RP(T,w,v,T==="h"?x:E,!0)},[]),c=m.useCallback(function(v){var w=v;if(!(!Kr.length||Kr[Kr.length-1]!==o)){var h="deltaY"in w?yh(w):Js(w),g=t.current.filter(function(C){return C.name===w.type&&(C.target===w.target||w.target===C.shadowParent)&&MP(C.delta,h)})[0];if(g&&g.should){w.cancelable&&w.preventDefault();return}if(!g){var x=(s.current.shards||[]).map(xh).filter(Boolean).filter(function(C){return C.contains(w.target)}),E=x.length>0?i(w,x[0]):!s.current.noIsolation;E&&w.cancelable&&w.preventDefault()}}},[]),d=m.useCallback(function(v,w,h,g){var x={name:v,delta:w,target:h,should:g,shadowParent:IP(h)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(E){return E!==x})},1)},[]),f=m.useCallback(function(v){n.current=Js(v),r.current=void 0},[]),u=m.useCallback(function(v){d(v.type,yh(v),v.target,i(v,e.lockRef.current))},[]),p=m.useCallback(function(v){d(v.type,Js(v),v.target,i(v,e.lockRef.current))},[]);m.useEffect(function(){return Kr.push(o),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Gr),document.addEventListener("touchmove",c,Gr),document.addEventListener("touchstart",f,Gr),function(){Kr=Kr.filter(function(v){return v!==o}),document.removeEventListener("wheel",c,Gr),document.removeEventListener("touchmove",c,Gr),document.removeEventListener("touchstart",f,Gr)}},[]);var y=e.removeScrollBar,b=e.inert;return m.createElement(m.Fragment,null,b?m.createElement(o,{styles:LP(a)}):null,y?m.createElement(w0,{gapMode:e.gapMode}):null)}function IP(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const _P=y0(x0,OP);var j0=m.forwardRef(function(e,t){return m.createElement(Il,Ke({},e,{ref:t,sideCar:_P}))});j0.classNames=Il.classNames;var su=["Enter"," "],zP=["ArrowDown","PageUp","Home"],N0=["ArrowUp","PageDown","End"],FP=[...zP,...N0],qP={ltr:[...su,"ArrowRight"],rtl:[...su,"ArrowLeft"]},$P={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ys="Menu",[rs,BP,UP]=xl(ys),[qr,A0]=An(ys,[UP,Al,Ol]),_l=Al(),P0=Ol(),[VP,$r]=qr(ys),[HP,xs]=qr(ys),T0=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:a,onOpenChange:o,modal:s=!0}=e,i=_l(t),[c,d]=m.useState(null),f=m.useRef(!1),u=_e(o),p=Ll(a);return m.useEffect(()=>{const y=()=>{f.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>f.current=!1;return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),l.jsx(Oj,{...i,children:l.jsx(VP,{scope:t,open:n,onOpenChange:u,content:c,onContentChange:d,children:l.jsx(HP,{scope:t,onClose:m.useCallback(()=>u(!1),[u]),isUsingKeyboardRef:f,dir:p,modal:s,children:r})})})};T0.displayName=ys;var WP="MenuAnchor",kp=m.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,a=_l(n);return l.jsx(Ey,{...a,...r,ref:t})});kp.displayName=WP;var Rp="MenuPortal",[GP,k0]=qr(Rp,{forceMount:void 0}),R0=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:a}=e,o=$r(Rp,t);return l.jsx(GP,{scope:t,forceMount:n,children:l.jsx(ur,{present:n||o.open,children:l.jsx(o0,{asChild:!0,container:a,children:r})})})};R0.displayName=Rp;var Mt="MenuContent",[KP,Mp]=qr(Mt),M0=m.forwardRef((e,t)=>{const n=k0(Mt,e.__scopeMenu),{forceMount:r=n.forceMount,...a}=e,o=$r(Mt,e.__scopeMenu),s=xs(Mt,e.__scopeMenu);return l.jsx(rs.Provider,{scope:e.__scopeMenu,children:l.jsx(ur,{present:r||o.open,children:l.jsx(rs.Slot,{scope:e.__scopeMenu,children:s.modal?l.jsx(QP,{...a,ref:t}):l.jsx(YP,{...a,ref:t})})})})}),QP=m.forwardRef((e,t)=>{const n=$r(Mt,e.__scopeMenu),r=m.useRef(null),a=ce(t,r);return m.useEffect(()=>{const o=r.current;if(o)return m0(o)},[]),l.jsx(Lp,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:$(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),YP=m.forwardRef((e,t)=>{const n=$r(Mt,e.__scopeMenu);return l.jsx(Lp,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Lp=m.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEntryFocus:c,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:u,onInteractOutside:p,onDismiss:y,disableOutsideScroll:b,...v}=e,w=$r(Mt,n),h=xs(Mt,n),g=_l(n),x=P0(n),E=BP(n),[C,N]=m.useState(null),S=m.useRef(null),j=ce(t,S,w.onContentChange),T=m.useRef(0),k=m.useRef(""),I=m.useRef(0),_=m.useRef(null),V=m.useRef("right"),O=m.useRef(0),H=b?j0:m.Fragment,B=b?{as:Lr,allowPinchZoom:!0}:void 0,W=P=>{var oe,pe;const z=k.current+P,D=E().filter(de=>!de.disabled),F=document.activeElement,G=(oe=D.find(de=>de.ref.current===F))==null?void 0:oe.textValue,J=D.map(de=>de.textValue),Ne=lT(J,z,G),Y=(pe=D.find(de=>de.textValue===Ne))==null?void 0:pe.ref.current;(function de(xe){k.current=xe,window.clearTimeout(T.current),xe!==""&&(T.current=window.setTimeout(()=>de(""),1e3))})(z),Y&&setTimeout(()=>Y.focus())};m.useEffect(()=>()=>window.clearTimeout(T.current),[]),FA();const A=m.useCallback(P=>{var D,F;return V.current===((D=_.current)==null?void 0:D.side)&&dT(P,(F=_.current)==null?void 0:F.area)},[]);return l.jsx(KP,{scope:n,searchRef:k,onItemEnter:m.useCallback(P=>{A(P)&&P.preventDefault()},[A]),onItemLeave:m.useCallback(P=>{var z;A(P)||((z=S.current)==null||z.focus(),N(null))},[A]),onTriggerLeave:m.useCallback(P=>{A(P)&&P.preventDefault()},[A]),pointerGraceTimerRef:I,onPointerGraceIntentChange:m.useCallback(P=>{_.current=P},[]),children:l.jsx(H,{...B,children:l.jsx(Ap,{asChild:!0,trapped:a,onMountAutoFocus:$(o,P=>{var z;P.preventDefault(),(z=S.current)==null||z.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:l.jsx(n0,{asChild:!0,disableOutsidePointerEvents:i,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:u,onInteractOutside:p,onDismiss:y,children:l.jsx(u0,{asChild:!0,...x,dir:h.dir,orientation:"vertical",loop:r,currentTabStopId:C,onCurrentTabStopIdChange:N,onEntryFocus:$(c,P=>{h.isUsingKeyboardRef.current||P.preventDefault()}),preventScrollOnEntryFocus:!0,children:l.jsx(Cy,{role:"menu","aria-orientation":"vertical","data-state":K0(w.open),"data-radix-menu-content":"",dir:h.dir,...g,...v,ref:j,style:{outline:"none",...v.style},onKeyDown:$(v.onKeyDown,P=>{const D=P.target.closest("[data-radix-menu-content]")===P.currentTarget,F=P.ctrlKey||P.altKey||P.metaKey,G=P.key.length===1;D&&(P.key==="Tab"&&P.preventDefault(),!F&&G&&W(P.key));const J=S.current;if(P.target!==J||!FP.includes(P.key))return;P.preventDefault();const Y=E().filter(oe=>!oe.disabled).map(oe=>oe.ref.current);N0.includes(P.key)&&Y.reverse(),sT(Y)}),onBlur:$(e.onBlur,P=>{P.currentTarget.contains(P.target)||(window.clearTimeout(T.current),k.current="")}),onPointerMove:$(e.onPointerMove,as(P=>{const z=P.target,D=O.current!==P.clientX;if(P.currentTarget.contains(z)&&D){const F=P.clientX>O.current?"right":"left";V.current=F,O.current=P.clientX}}))})})})})})})});M0.displayName=Mt;var XP="MenuGroup",Dp=m.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return l.jsx(Q.div,{role:"group",...r,ref:t})});Dp.displayName=XP;var ZP="MenuLabel",L0=m.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return l.jsx(Q.div,{...r,ref:t})});L0.displayName=ZP;var Xi="MenuItem",wh="menu.itemSelect",zl=m.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...a}=e,o=m.useRef(null),s=xs(Xi,e.__scopeMenu),i=Mp(Xi,e.__scopeMenu),c=ce(t,o),d=m.useRef(!1),f=()=>{const u=o.current;if(!n&&u){const p=new CustomEvent(wh,{bubbles:!0,cancelable:!0});u.addEventListener(wh,y=>r==null?void 0:r(y),{once:!0}),gs(u,p),p.defaultPrevented?d.current=!1:s.onClose()}};return l.jsx(D0,{...a,ref:c,disabled:n,onClick:$(e.onClick,f),onPointerDown:u=>{var p;(p=e.onPointerDown)==null||p.call(e,u),d.current=!0},onPointerUp:$(e.onPointerUp,u=>{var p;d.current||(p=u.currentTarget)==null||p.click()}),onKeyDown:$(e.onKeyDown,u=>{const p=i.searchRef.current!=="";n||p&&u.key===" "||su.includes(u.key)&&(u.currentTarget.click(),u.preventDefault())})})});zl.displayName=Xi;var D0=m.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:a,...o}=e,s=Mp(Xi,n),i=P0(n),c=m.useRef(null),d=ce(t,c),[f,u]=m.useState(!1),[p,y]=m.useState("");return m.useEffect(()=>{const b=c.current;b&&y((b.textContent??"").trim())},[o.children]),l.jsx(rs.ItemSlot,{scope:n,disabled:r,textValue:a??p,children:l.jsx(p0,{asChild:!0,...i,focusable:!r,children:l.jsx(Q.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...o,ref:d,onPointerMove:$(e.onPointerMove,as(b=>{r?s.onItemLeave(b):(s.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:$(e.onPointerLeave,as(b=>s.onItemLeave(b))),onFocus:$(e.onFocus,()=>u(!0)),onBlur:$(e.onBlur,()=>u(!1))})})})}),JP="MenuCheckboxItem",O0=m.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...a}=e;return l.jsx(q0,{scope:e.__scopeMenu,checked:n,children:l.jsx(zl,{role:"menuitemcheckbox","aria-checked":Zi(n)?"mixed":n,...a,ref:t,"data-state":Ip(n),onSelect:$(a.onSelect,()=>r==null?void 0:r(Zi(n)?!0:!n),{checkForDefaultPrevented:!1})})})});O0.displayName=JP;var I0="MenuRadioGroup",[eT,tT]=qr(I0,{value:void 0,onValueChange:()=>{}}),_0=m.forwardRef((e,t)=>{const{value:n,onValueChange:r,...a}=e,o=_e(r);return l.jsx(eT,{scope:e.__scopeMenu,value:n,onValueChange:o,children:l.jsx(Dp,{...a,ref:t})})});_0.displayName=I0;var z0="MenuRadioItem",F0=m.forwardRef((e,t)=>{const{value:n,...r}=e,a=tT(z0,e.__scopeMenu),o=n===a.value;return l.jsx(q0,{scope:e.__scopeMenu,checked:o,children:l.jsx(zl,{role:"menuitemradio","aria-checked":o,...r,ref:t,"data-state":Ip(o),onSelect:$(r.onSelect,()=>{var s;return(s=a.onValueChange)==null?void 0:s.call(a,n)},{checkForDefaultPrevented:!1})})})});F0.displayName=z0;var Op="MenuItemIndicator",[q0,nT]=qr(Op,{checked:!1}),$0=m.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...a}=e,o=nT(Op,n);return l.jsx(ur,{present:r||Zi(o.checked)||o.checked===!0,children:l.jsx(Q.span,{...a,ref:t,"data-state":Ip(o.checked)})})});$0.displayName=Op;var rT="MenuSeparator",B0=m.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return l.jsx(Q.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});B0.displayName=rT;var aT="MenuArrow",U0=m.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,a=_l(n);return l.jsx(Sy,{...a,...r,ref:t})});U0.displayName=aT;var oT="MenuSub",[dR,V0]=qr(oT),vo="MenuSubTrigger",H0=m.forwardRef((e,t)=>{const n=$r(vo,e.__scopeMenu),r=xs(vo,e.__scopeMenu),a=V0(vo,e.__scopeMenu),o=Mp(vo,e.__scopeMenu),s=m.useRef(null),{pointerGraceTimerRef:i,onPointerGraceIntentChange:c}=o,d={__scopeMenu:e.__scopeMenu},f=m.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return m.useEffect(()=>f,[f]),m.useEffect(()=>{const u=i.current;return()=>{window.clearTimeout(u),c(null)}},[i,c]),l.jsx(kp,{asChild:!0,...d,children:l.jsx(D0,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":a.contentId,"data-state":K0(n.open),...e,ref:yl(t,a.onTriggerChange),onClick:u=>{var p;(p=e.onClick)==null||p.call(e,u),!(e.disabled||u.defaultPrevented)&&(u.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:$(e.onPointerMove,as(u=>{o.onItemEnter(u),!u.defaultPrevented&&!e.disabled&&!n.open&&!s.current&&(o.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:$(e.onPointerLeave,as(u=>{var y,b;f();const p=(y=n.content)==null?void 0:y.getBoundingClientRect();if(p){const v=(b=n.content)==null?void 0:b.dataset.side,w=v==="right",h=w?-5:5,g=p[w?"left":"right"],x=p[w?"right":"left"];o.onPointerGraceIntentChange({area:[{x:u.clientX+h,y:u.clientY},{x:g,y:p.top},{x,y:p.top},{x,y:p.bottom},{x:g,y:p.bottom}],side:v}),window.clearTimeout(i.current),i.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(u),u.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:$(e.onKeyDown,u=>{var y;const p=o.searchRef.current!=="";e.disabled||p&&u.key===" "||qP[r.dir].includes(u.key)&&(n.onOpenChange(!0),(y=n.content)==null||y.focus(),u.preventDefault())})})})});H0.displayName=vo;var W0="MenuSubContent",G0=m.forwardRef((e,t)=>{const n=k0(Mt,e.__scopeMenu),{forceMount:r=n.forceMount,...a}=e,o=$r(Mt,e.__scopeMenu),s=xs(Mt,e.__scopeMenu),i=V0(W0,e.__scopeMenu),c=m.useRef(null),d=ce(t,c);return l.jsx(rs.Provider,{scope:e.__scopeMenu,children:l.jsx(ur,{present:r||o.open,children:l.jsx(rs.Slot,{scope:e.__scopeMenu,children:l.jsx(Lp,{id:i.contentId,"aria-labelledby":i.triggerId,...a,ref:d,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var u;s.isUsingKeyboardRef.current&&((u=c.current)==null||u.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:$(e.onFocusOutside,f=>{f.target!==i.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:$(e.onEscapeKeyDown,f=>{s.onClose(),f.preventDefault()}),onKeyDown:$(e.onKeyDown,f=>{var y;const u=f.currentTarget.contains(f.target),p=$P[s.dir].includes(f.key);u&&p&&(o.onOpenChange(!1),(y=i.trigger)==null||y.focus(),f.preventDefault())})})})})})});G0.displayName=W0;function K0(e){return e?"open":"closed"}function Zi(e){return e==="indeterminate"}function Ip(e){return Zi(e)?"indeterminate":e?"checked":"unchecked"}function sT(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function iT(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function lT(e,t,n){const a=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let s=iT(e,Math.max(o,0));a.length===1&&(s=s.filter(d=>d!==n));const c=s.find(d=>d.toLowerCase().startsWith(a.toLowerCase()));return c!==n?c:void 0}function cT(e,t){const{x:n,y:r}=e;let a=!1;for(let o=0,s=t.length-1;o<t.length;s=o++){const i=t[o].x,c=t[o].y,d=t[s].x,f=t[s].y;c>r!=f>r&&n<(d-i)*(r-c)/(f-c)+i&&(a=!a)}return a}function dT(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return cT(n,t)}function as(e){return t=>t.pointerType==="mouse"?e(t):void 0}var uT=T0,pT=kp,fT=R0,mT=M0,hT=Dp,gT=L0,vT=zl,bT=O0,yT=_0,xT=F0,wT=$0,ET=B0,CT=U0,ST=H0,jT=G0,_p="DropdownMenu",[NT,uR]=An(_p,[A0]),rt=A0(),[AT,Q0]=NT(_p),Y0=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:a,defaultOpen:o,onOpenChange:s,modal:i=!0}=e,c=rt(t),d=m.useRef(null),[f=!1,u]=pr({prop:a,defaultProp:o,onChange:s});return l.jsx(AT,{scope:t,triggerId:yn(),triggerRef:d,contentId:yn(),open:f,onOpenChange:u,onOpenToggle:m.useCallback(()=>u(p=>!p),[u]),modal:i,children:l.jsx(uT,{...c,open:f,onOpenChange:u,dir:r,modal:i,children:n})})};Y0.displayName=_p;var X0="DropdownMenuTrigger",Z0=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...a}=e,o=Q0(X0,n),s=rt(n);return l.jsx(pT,{asChild:!0,...s,children:l.jsx(Q.button,{type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...a,ref:yl(t,o.triggerRef),onPointerDown:$(e.onPointerDown,i=>{!r&&i.button===0&&i.ctrlKey===!1&&(o.onOpenToggle(),o.open||i.preventDefault())}),onKeyDown:$(e.onKeyDown,i=>{r||(["Enter"," "].includes(i.key)&&o.onOpenToggle(),i.key==="ArrowDown"&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())})})})});Z0.displayName=X0;var PT="DropdownMenuPortal",J0=e=>{const{__scopeDropdownMenu:t,...n}=e,r=rt(t);return l.jsx(fT,{...r,...n})};J0.displayName=PT;var ex="DropdownMenuContent",tx=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Q0(ex,n),o=rt(n),s=m.useRef(!1);return l.jsx(mT,{id:a.contentId,"aria-labelledby":a.triggerId,...o,...r,ref:t,onCloseAutoFocus:$(e.onCloseAutoFocus,i=>{var c;s.current||(c=a.triggerRef.current)==null||c.focus(),s.current=!1,i.preventDefault()}),onInteractOutside:$(e.onInteractOutside,i=>{const c=i.detail.originalEvent,d=c.button===0&&c.ctrlKey===!0,f=c.button===2||d;(!a.modal||f)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});tx.displayName=ex;var TT="DropdownMenuGroup",kT=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(hT,{...a,...r,ref:t})});kT.displayName=TT;var RT="DropdownMenuLabel",nx=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(gT,{...a,...r,ref:t})});nx.displayName=RT;var MT="DropdownMenuItem",rx=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(vT,{...a,...r,ref:t})});rx.displayName=MT;var LT="DropdownMenuCheckboxItem",ax=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(bT,{...a,...r,ref:t})});ax.displayName=LT;var DT="DropdownMenuRadioGroup",OT=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(yT,{...a,...r,ref:t})});OT.displayName=DT;var IT="DropdownMenuRadioItem",ox=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(xT,{...a,...r,ref:t})});ox.displayName=IT;var _T="DropdownMenuItemIndicator",sx=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(wT,{...a,...r,ref:t})});sx.displayName=_T;var zT="DropdownMenuSeparator",ix=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(ET,{...a,...r,ref:t})});ix.displayName=zT;var FT="DropdownMenuArrow",qT=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(CT,{...a,...r,ref:t})});qT.displayName=FT;var $T="DropdownMenuSubTrigger",lx=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(ST,{...a,...r,ref:t})});lx.displayName=$T;var BT="DropdownMenuSubContent",cx=m.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=rt(n);return l.jsx(jT,{...a,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});cx.displayName=BT;var UT=Y0,VT=Z0,HT=J0,dx=tx,ux=nx,px=rx,fx=ax,mx=ox,hx=sx,gx=ix,vx=lx,bx=cx;const WT=UT,GT=VT,KT=m.forwardRef(({className:e,inset:t,children:n,...r},a)=>l.jsxs(vx,{ref:a,className:te("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,l.jsx(To,{className:"ml-auto h-4 w-4"})]}));KT.displayName=vx.displayName;const QT=m.forwardRef(({className:e,...t},n)=>l.jsx(bx,{ref:n,className:te("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
308de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));QT.displayName=bx.displayName;const yx=m.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(HT,{children:l.jsx(dx,{ref:r,sideOffset:t,className:te("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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})}));yx.displayName=dx.displayName;const iu=m.forwardRef(({className:e,inset:t,...n},r)=>l.jsx(px,{ref:r,className:te("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));iu.displayName=px.displayName;const YT=m.forwardRef(({className:e,children:t,checked:n,...r},a)=>l.jsxs(fx,{ref:a,className:te("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(hx,{children:l.jsx(Vd,{className:"h-4 w-4"})})}),t]}));YT.displayName=fx.displayName;const XT=m.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(mx,{ref:r,className:te("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(hx,{children:l.jsx(HC,{className:"h-2 w-2 fill-current"})})}),t]}));XT.displayName=mx.displayName;const ZT=m.forwardRef(({className:e,inset:t,...n},r)=>l.jsx(ux,{ref:r,className:te("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));ZT.displayName=ux.displayName;const JT=m.forwardRef(({className:e,...t},n)=>l.jsx(gx,{ref:n,className:te("-mx-1 my-1 h-px bg-muted",e),...t}));JT.displayName=gx.displayName;const zc=768;function e4(){const[e,t]=m.useState(void 0);return m.useEffect(()=>{const n=window.matchMedia(`(max-width: ${zc-1}px)`),r=()=>{t(window.innerWidth<zc)};return n.addEventListener("change",r),t(window.innerWidth<zc),()=>n.removeEventListener("change",r)},[]),!!e}const t4=()=>{const[e,t]=m.useState(!1),[n,r]=m.useState(!1),a=Ga(),{setFormOpen:o}=dt();e4();const s=()=>t(!e);m.useEffect(()=>{const d=()=>{window.scrollY>20?r(!0):r(!1)};return window.addEventListener("scroll",d),()=>window.removeEventListener("scroll",d)},[]),m.useEffect(()=>{t(!1)},[a.pathname]);const c=[{to:"/",text:"Inicio"},{to:"/blog",text:"Blog"},{to:"/programa",text:"Programa"},{to:"/profesional",text:"Profesional",dropdown:!0,items:[{category:"aislamiento-residencial",items:[{slug:"desvans-perdidos",name:"Desvans Perdidos"},{slug:"sotano",name:"Sótano"},{slug:"muros-exteriores",name:"Muros Exteriores"}]},{category:"aislamiento-terciario",items:[{slug:"calorifugo",name:"Calorífugo"},{slug:"desestratificador",name:"Desestratificador de Aire"},{slug:"puntos-singulares",name:"Puntos Singulares"}]},{category:"luminarias-led",items:[{slug:"luminarias-comerciales",name:"Luminarias Comerciales"},{slug:"tubos-led",name:"Tubos LED Hemisféricos"},{slug:"lamparas-led",name:"Lámparas LED Clase A+"}]}]},{to:"/patrocinio",text:"Patrocinio"},{to:"/contacto",text:"Contacto"}];return l.jsxs("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${n?"bg-white/90 backdrop-blur-md shadow-md py-2":"bg-transparent py-4"}`,children:[l.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[l.jsxs(Oe,{to:"/",className:"flex items-center space-x-2",children:[l.jsx("img",{src:"/favicon.png",alt:"Ayudas Aislamiento - Mejorando tu hogar",className:"h-10 w-auto object-contain"}),l.jsx("span",{className:"text-2xl font-display font-bold text-brand-blue",children:"ayudas-aislamiento.com"})]}),l.jsxs("nav",{className:"hidden md:flex items-center space-x-8",children:[c.map(d=>{var f;return d.dropdown?l.jsxs(WT,{children:[l.jsxs(GT,{className:`font-medium transition-colors hover:text-brand-blue flex items-center gap-1 ${a.pathname.includes(d.to)?"text-brand-blue":"text-foreground"}`,children:[d.text," ",l.jsx(Ob,{size:16})]}),l.jsxs(yx,{children:[l.jsx(iu,{asChild:!0,children:l.jsx(Oe,{to:d.to,className:"w-full",children:"Visión General"})}),(f=d.items)==null?void 0:f.map(u=>u.items.map(p=>l.jsx(iu,{asChild:!0,children:l.jsx(Oe,{to:`${d.to}/${u.category}/${p.slug}`,className:"w-full",children:p.name})},`${u.category}-${p.slug}`)))]})]},d.to):l.jsx(Oe,{to:d.to,className:`font-medium transition-colors hover:text-brand-blue ${a.pathname===d.to?"text-brand-blue":"text-foreground"}`,children:d.text},d.to)}),l.jsxs("button",{onClick:()=>o(!0),className:"secondary-button flex items-center gap-2",children:[l.jsx(Yo,{size:18}),"Solicitar Info"]})]}
308),l.jsx("button",{className:"md:hidden focus:outline-none",onClick:s,"aria-label":"Toggle menu",children:e?l.jsx(pp,{size:24}):l.jsx(XC,{size:24})})]}),e&&l.jsx("div",{className:"md:hidden bg-white/95 backdrop-blur-md shadow-lg animate-slide-down",children:l.jsxs("nav",{className:"container mx-auto px-4 py-4 flex flex-col space-y-4",children:[c.map(d=>{var f;return d.dropdown?l.jsxs("div",{className:"flex flex-col space-y-2",children:[l.jsx(Oe,{to:d.to,className:`text-lg font-medium py-2 transition-colors hover:text-brand-blue ${a.pathname===d.to?"text-brand-blue":"text-foreground"}`,children:d.text}),l.jsx("div",{className:"pl-4 flex flex-col space-y-2 border-l-2 border-gray-200 max-h-60 overflow-y-auto",children:(f=d.items)==null?void 0:f.map(u=>l.jsxs("div",{className:"mb-2",children:[l.jsxs("div",{className:"text-sm text-gray-500 font-medium mb-1 capitalize",children:[u.category.replace(/-/g," "),":"]}),l.jsx("div",{className:"space-y-1",children:u.items.map(p=>l.jsx(Oe,{to:`${d.to}/${u.category}/${p.slug}`,className:"text-md py-1 transition-colors hover:text-brand-blue block",children:p.name},`mobile-${u.category}-${p.slug}`))})]},u.category))})]},d.to):l.jsx(Oe,{to:d.to,className:`text-lg font-medium py-2 transition-colors hover:text-brand-blue ${a.pathname===d.to?"text-brand-blue":"text-foreground"}`,children:d.text},d.to)}),l.jsxs("button",{onClick:()=>{o(!0),t(!1)},className:"secondary-button flex items-center justify-center gap-2 mt-4",children:[l.jsx(Yo,{size:18}),"Solicitar Info"]})]})})]})},xx=()=>{const{setFormOpen:e}=dt(),t=new Date().getFullYear();return l.jsx("footer",{className:"bg-brand-dark text-white pt-16 pb-8",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold",children:"ayudas-aislamiento.com"}),l.jsx("p",{className:"text-gray-300",children:"Especialistas en aislamiento térmico de áticos a 1€. Mejora el confort de tu hogar y reduce tu factura energética hasta un 40%."}),l.jsxs("div",{className:"flex space-x-4 pt-2",children:[l.jsx("a",{href:"https://www.facebook.com/profile.php?id=61573921667367",target:"_blank",rel:"noopener noreferrer",className:"text-white hover:text-brand-orange transition-colors","aria-label":"Facebook",children:l.jsx(Fb,{size:20})}),l.jsx("a",{href:"https://www.tiktok.com/@eco_aislamiento",target:"_blank",rel:"noopener noreferrer",className:"text-white hover:text-brand-orange transition-colors","aria-label":"TikTok",children:l.jsx(GC,{size:20})})]}),l.jsxs("div",{className:"mt-6 p-4 bg-white/10 rounded-lg",children:[l.jsxs("div",{className:"flex items-center",children:[l.jsx("div",{className:"flex text-[#00B67A]",children:[...Array(5)].map((n,r)=>l.jsx(Bb,{size:18,fill:r<4||r===4?"#00B67A":"none",className:r<4||r===4?"text-[#00B67A]":"text-gray-300"},r))}),l.jsx("span",{className:"ml-2 text-white font-bold",children:"4,7"})]}),l.jsxs("p",{className:"text-sm mt-1 text-gray-300",children:["Basado en 257 reseñas en",l.jsx("span",{className:"font-semibold text-white ml-1",children:"Trustpilot"})]})]})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold",children:"Enlaces"}),l.jsxs("ul",{className:"space-y-2",children:[l.jsx("li",{children:l.jsxs(Oe,{to:"/",className:"text-gray-300 hover:text-white flex items-center gap-1 transition-colors",children:[l.jsx(yt,{size:14}),"Inicio"]})}),l.jsx("li",{children:l.jsxs(Oe,{to:"/blog",className:"text-gray-300 hover:text-white flex items-center gap-1 transition-colors",children:[l.jsx(yt,{size:14}),"Blog"]})}),l.jsx("li",{children:l.jsxs(Oe,{to:"/programa",className:"text-gray-300 hover:text-white flex items-center gap-1 transition-colors",children:[l.jsx(yt,{size:14}),"Programa"]})}),l.jsx("li",{children:l.jsxs(Oe,{to:"/contacto",className:"text-gray-300 hover:text-white flex items-center gap-1 transition-colors",children:[l.jsx(yt,{size:14}),"Contacto"]})})]})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold",children:"Contacto"}),l.jsxs("ul",{className:"space-y-3",children:[l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(qb,{size:18,className:"text-brand-orange mt-1"}),l.jsx("span",{children:"[email protected]"})]}),l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx($b,{size:18,className:"text-brand-orange mt-1"}),l.jsx("span",{children:"Madrid, España"})]})]})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-xl font-bold",children:"¿Tienes dudas?"}),l.jsx("p",{className:"text-gray-300",children:"Contáctanos para obtener más información sobre nuestros servicios de aislamiento."}),l.jsx("button",{onClick:()=>e(!0),className:"cta-button w-full text-center",children:"Solicitar Información"})]})]}),l.jsxs("div",{className:"border-t border-gray-700 mt-12 pt-8 text-center text-gray-400",children:[l.jsxs("p",{children:["© ",t," ayudas-aislamiento.com. Todos los derechos reservados."]}),l.jsxs("p",{className:"mt-2 text-sm flex items-center justify-center gap-1",children:["Hecho con ",l.jsx(KC,{size:14,className:"text-brand-red"}
308)," en España"]})]})]})})},n4=()=>{const{setFormOpen:e}=dt();return l.jsx("section",{className:"pt-28 pb-20 md:pt-36 md:pb-28 bg-gradient-to-br from-white to-blue-50",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[l.jsxs("div",{className:"space-y-6 animate-slide-up",children:[l.jsx("div",{className:"inline-block",children:l.jsxs("span",{className:"bg-brand-blue/10 text-brand-blue font-medium py-1 px-3 rounded-full text-sm flex items-center",children:[l.jsx(Ub,{size:16,className:"mr-1"}),"Ayudas CAE · Aislamiento 1 Euro"]})}),l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold leading-tight",children:["Ayudas CAE: aislamiento de tu ático ",l.jsx("span",{className:"text-brand-blue",children:"por solo 1 euro"})]}),l.jsx("p",{className:"text-lg text-gray-600 max-w-xl",children:"Accede al programa oficial de Certificados de Ahorro Energético (CAE) y consigue el aislamiento 1 euro de tu buhardilla. Ahorra hasta un 40 % en tu factura energética en solo 2 horas de instalación."}),l.jsx("ul",{className:"space-y-3",children:["Instalación rápida en 2 horas","Ahorro del 40% en tu factura energética","Solo 1€ gracias al programa CAE","Mayor confort en todas las estaciones"].map((t,n)=>l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx(Ib,{size:20,className:"text-brand-green flex-shrink-0"}),l.jsx("span",{children:t})]},n))}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 pt-2",children:[l.jsx("button",{onClick:()=>e(!0),className:"cta-button",children:"Solicitar Subvención para Aislamiento"}),l.jsx("a",{href:"#beneficios",className:`bg-white text-brand-blue font-bold py-3 px-6 rounded-lg border border-brand-blue
309                          hover:bg-brand-blue hover:text-white transition-colors duration-300 text-center`,children:"Ver Beneficios"})]})]}),l.jsxs("div",{className:"relative animate-slide-right",children:[l.jsx("div",{className:"relative rounded-2xl overflow-hidden shadow-2xl aspect-video bg-black",children:l.jsx("iframe",{src:"https://www.youtube.com/embed/Dw1jlYaOUpc?rel=0&modestbranding=1",title:"Aislamiento térmico de áticos con ayudas CAE",className:"absolute inset-0 w-full h-full",frameBorder:0,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})}),l.jsx("div",{className:"absolute -top-6 -right-6 w-32 h-32 bg-brand-orange/10 rounded-full blur-2xl z-[-1]"}),l.jsx("div",{className:"absolute -bottom-8 -left-8 w-40 h-40 bg-brand-blue/10 rounded-full blur-3xl z-[-1]"})]})]})})})},wx=()=>{const e=[{icon:l.jsx(a3,{size:28,className:"text-brand-orange"}),title:"Confort Todo el Año",description:"Mantén una temperatura agradable en tu hogar tanto en invierno como en verano."},{icon:l.jsx(WC,{size:28,className:"text-brand-green"}),title:"Ahorro Económico",description:"Reduce tu factura energética hasta un 40% mensual con nuestro aislamiento."},{icon:l.jsx(QC,{size:28,className:"text-brand-blue"}),title:"Instalación Rápida",description:"Todo el proceso de aislamiento completo en tan solo 2 horas."},{icon:l.jsx(n3,{size:28,className:"text-brand-red"}),title:"Mayor Durabilidad",description:"Protege tu vivienda y prolonga su vida útil al evitar condensaciones y humedades."},{icon:l.jsx(s3,{size:28,className:"text-brand-orange"}),title:"Eficiencia Energética",description:"Mejora la certificación energética de tu vivienda y reduce tu huella de carbono."}];
309return l.jsx("section",{id:"beneficios",className:"py-20 bg-gradient-to-br from-blue-50 to-white",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[l.jsx("span",{className:"bg-brand-blue/10 text-brand-blue font-medium py-1 px-3 rounded-full text-sm",children:"Ventajas"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mt-4 mb-5",children:"Beneficios del Aislamiento Térmico"}),l.jsx("p",{className:"text-gray-600",children:"Descubre por qué miles de hogares en España ya han confiado en nosotros para mejorar la eficiencia energética de sus viviendas."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>l.jsxs("div",{className:"glass-card p-6 transition-all duration-300 hover:shadow-xl hover:-translate-y-1",children:[l.jsx("div",{className:"w-14 h-14 flex items-center justify-center bg-white rounded-xl shadow-md mb-5",children:t.icon}),l.jsx("h3",{className:"text-xl font-bold mb-3",children:t.title}),l.jsx("p",{className:"text-gray-600",children:t.description})]},n))})]})})},r4=()=>{const{setFormOpen:e}=dt(),t=[{icon:l.jsx(ZC,{size:24,className:"text-brand-blue"}),title:"Solicita Información",description:"Completa el formulario para solicitar información sin compromiso."},{icon:l.jsx(VC,{size:24,className:"text-brand-blue"}),title:"Programamos la Visita",description:"Nuestros técnicos se pondrán en contacto para programar una visita."},{icon:l.jsx(YC,{size:24,className:"text-brand-blue"}),title:"Instalación Rápida",description:"Realizamos la instalación completa en solo 2 horas."},{icon:l.jsx(Vb,{size:24,className:"text-brand-blue"}),title:"Disfruta los Beneficios",description:"Comienza a ahorrar en tu factura energética desde el primer día."}];return l.jsx("section",{className:"py-20 bg-white",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[l.jsx("span",{className:"bg-brand-green/10 text-brand-green font-medium py-1 px-3 rounded-full text-sm",children:"Proceso Sencillo"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mt-4 mb-5",children:"Aislamiento en 4 Pasos Simples"}),l.jsx("p",{className:"text-gray-600",children:"Nuestro proceso está diseña
309do para ser lo más sencillo y eficiente posible, con mínimas molestias para ti y tu familia."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:t.map((n,r)=>l.jsxs("div",{className:"relative",children:[l.jsxs("div",{className:"glass-card p-6 h-full flex flex-col",children:[l.jsx("div",{className:"w-12 h-12 flex items-center justify-center bg-white rounded-full shadow-md mb-5",children:n.icon}),l.jsx("div",{className:"absolute top-6 left-6 w-12 h-12 flex items-center justify-center",children:l.jsx("span",{className:"absolute text-xs font-bold text-brand-blue",children:r+1})}),l.jsx("h3",{className:"text-xl font-bold mb-3",children:n.title}),l.jsx("p",{className:"text-gray-600 flex-1",children:n.description}),r===0&&l.jsxs("button",{onClick:()=>e(!0),className:"mt-4 text-brand-blue font-medium flex items-center gap-1 hover:underline",children:["Solicitar ahora ",l.jsx(_b,{size:16})]})]}),r<t.length-1&&l.jsx("div",{className:"hidden lg:block absolute top-1/2 right-0 transform translate-x-1/2 -translate-y-1/2 z-10",children:l.jsx("div",{className:"w-10 border-t-2 border-dashed border-brand-blue/30"})})]},r))})]})})},Ex=()=>{const e=[{name:"María González",location:"Madrid",rating:5,text:"Increíble servicio. Instalaron el aislamiento en mi ático en menos de 2 horas y desde entonces noto la diferencia en las facturas de luz. Lo mejor: ¡solo pagué 1€!"},{name:"Antonio Rodríguez",location:"Barcelona",rating:5,text:"No podía creer que el aislamiento costara solo 1€. Pensé que habría algún truco, pero realmente fue así. Profesionales, rápidos y mi casa ahora mantiene mejor la temperatura."},{name:"Carmen Martínez",location:"Valencia",rating:5,text:"Excelente trabajo. Los técnicos fueron muy profesionales y dejaron todo impecable. Ya no tengo que poner la calefacción tan alta en invierno. Muy recomendable."}];return l.jsx("section",{className:"py-20 bg-gray-50",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[l.jsx("span",{className:"bg-brand-orange/10 text-brand-orange font-medium py-1 px-3 rounded-full text-sm",children:"Testimonios"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mt-4 mb-5",children:"Lo Que Dicen Nuestros Clientes"}),l.jsx("p",{className:"text-gray-600",children:"Miles de hogares en España ya disfrutan de un mayor confort y ahorro energético gracias a nuestro servicio de aislamiento."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:e.map((t,n)=>l.jsxs("div",{className:"glass-card p-6 h-full flex flex-col transition-all duration-300 hover:shadow-xl",children:[l.jsx("div",{className:"flex mb-4",children:[...Array(t.rating)].map((r,a)=>l.jsx(Bb,{size:18,className:"text-yellow-400 fill-yellow-400"},a))}),l.jsxs("p",{className:"text-gray-600 italic mb-6 flex-1",children:['"',t.text,'"']}),l.jsxs("div",{className:"flex items-center mt-auto",children:[l.jsx("div",{className:"w-10 h-10 bg-brand-blue/10 rounded-full flex items-center justify-center mr-3",children:l.jsx(Hb,{size:20,className:"text-brand-blue"})}),l.jsxs("div",{children:[l.jsx("p",{className:"font-bold",children:t.name}),l.jsx("p",{className:"text-sm text-gray-500",children:t.location})]})]})]},n))})]})})},Cx=()=>{const{setFormOpen:e}=dt();return l.jsx("section",{className:"py-20 bg-brand-blue",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"bg-white/10 backdrop-blur-sm rounded-2xl p-8 md:p-12 relative overflow-hidden",children:[l.jsx("div",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-br from-brand-blue/0 to-brand-blue/30 z-0"}),l.jsxs("div",{className:"relative z-10 grid grid-cols-1 lg:grid-cols-5 gap-10 items-center",children:[l.jsxs("div",{className:"lg:col-span-3 space-y-6",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white",children:"¿Listo para reducir tus facturas de energía a partir de mañana?"}),l.jsx("p",{className:"text-white/80 text-lg",children:"Solicita información ahora y nuestro equipo te contactará hoy mismo. El aislamiento podría realizarse en los próximos días."}),l.jsx("ul",{className:"space-y-3",children:["Servicio en toda España","Equipo profesional certificado","Materiales de alta calidad","Garantía de satisfacción"].map((t,n)=>l.jsxs("li",{className:"flex items-center text-white",children:[l.jsx(To,{size:18,className:"text-brand-orange mr-2"}),t]},n))})]}),l.jsxs("div",{className:"lg:col-span-2 bg-white p-6 md:p-8 rounded-xl shadow-xl",children:[l.jsx("h3",{className:"text-2xl font-bold mb-4",children:"¡Por solo 1€!"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"Completa el formulario para solicitar tu aislamiento de ático por solo 1€ gracias al programa CAE."}),l.jsxs("button",{onClick:()=>e(!0),className:"cta-button w-full flex items-center justify-center gap-2",children:["Solicitar Ahora ",l.jsx(yt,{size:18})]}),l.jsx("p",{className:"text-sm text-gray-500 mt-4 text-center",children:"Sin compromiso. Respuesta garantizada en menos de 24h."})]})]})]})})})};var zp="Collapsible",[a4,Sx]=An(zp),[o4,Fp]=a4(zp),jx=m.forwardRef((e,t)=>
vendor: 4,511 bytes, line 309
309{const{__scopeCollapsible:n,open:r,defaultOpen:a,disabled:o,onOpenChange:s,...i}=e,[c=!1,d]=pr({prop:r,defaultProp:a,onChange:s});return l.jsx(o4,{scope:n,disabled:o,contentId:yn(),open:c,onOpenToggle:m.useCallback(()=>d(f=>!f),[d]),children:l.jsx(Q.div,{"data-state":$p(c),"data-disabled":o?"":void 0,...i,ref:t})})});jx.displayName=zp;var Nx="CollapsibleTrigger",Ax=m.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,a=Fp(Nx,n);return l.jsx(Q.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":$p(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:t,onClick:$(e.onClick,a.onOpenToggle)})});Ax.displayName=Nx;var qp="CollapsibleContent",Px=m.forwardRef((e,t)=>{const{forceMount:n,...r}=e,a=Fp(qp,e.__scopeCollapsible);return l.jsx(ur,{present:n||a.open,children:({present:o})=>l.jsx(s4,{...r,ref:t,present:o})})});Px.displayName=qp;var s4=m.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:a,...o}=e,s=Fp(qp,n),[i,c]=m.useState(r),d=m.useRef(null),f=ce(t,d),u=m.useRef(0),p=u.current,y=m.useRef(0),b=y.current,v=s.open||i,w=m.useRef(v),h=m.useRef();return m.useEffect(()=>{const g=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(g)},[]),et(()=>{const g=d.current;if(g){h.current=h.current||{transitionDuration:g.style.transitionDuration,animationName:g.style.animationName},g.style.transitionDuration="0s",g.style.animationName="none";const x=g.getBoundingClientRect();u.current=x.height,y.current=x.width,w.current||(g.style.transitionDuration=h.current.transitionDuration,g.style.animationName=h.current.animationName),c(r)}},[s.open,r]),l.jsx(Q.div,{"data-state":$p(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!v,...o,ref:f,style:{"--radix-collapsible-content-height":p?`${p}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:v&&a})});function $p(e){return e?"open":"closed"}var i4=jx,l4=Ax,c4=Px,Pn="Accordion",d4=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Bp,u4,p4]=xl(Pn),[Fl,pR]=An(Pn,[p4,Sx]),Up=Sx(),Tx=M.forwardRef((e,t)=>{const{type:n,...r}=e,a=r,o=r;return l.jsx(Bp.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?l.jsx(g4,{...o,ref:t}):l.jsx(h4,{...a,ref:t})})});Tx.displayName=Pn;var[kx,f4]=Fl(Pn),[Rx,m4]=Fl(Pn,{collapsible:!1}),h4=M.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:a=()=>{},collapsible:o=!1,...s}=e,[i,c]=pr({prop:n,defaultProp:r,onChange:a});return l.jsx(kx,{scope:e.__scopeAccordion,value:i?[i]:[],onItemOpen:c,onItemClose:M.useCallback(()=>o&&c(""),[o,c]),children:l.jsx(Rx,{scope:e.__scopeAccordion,collapsible:o,children:l.jsx(Mx,{...s,ref:t})})})}),g4=M.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:a=()=>{},...o}=e,[s=[],i]=pr({prop:n,defaultProp:r,onChange:a}),c=M.useCallback(f=>i((u=[])=>[...u,f]),[i]),d=M.useCallback(f=>i((u=[])=>u.filter(p=>p!==f)),[i]);return l.jsx(kx,{scope:e.__scopeAccordion,value:s,onItemOpen:c,onItemClose:d,children:l.jsx(Rx,{scope:e.__scopeAccordion,collapsible:!0,children:l.jsx(Mx,{...o,ref:t})})})}),[v4,ql]=Fl(Pn),Mx=M.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:a,orientation:o="vertical",...s}=e,i=M.useRef(null),c=ce(i,t),d=u4(n),u=Ll(a)==="ltr",p=$(e.onKeyDown,y=>{var j;if(!d4.includes(y.key))return;const b=y.target,v=d().filter(T=>{var k;return!((k=T.ref.current)!=null&&k.disabled)}),w=v.findIndex(T=>T.ref.current===b),h=v.length;if(w===-1)return;y.preventDefault();let g=w;const x=0,E=h-1,C=()=>{g=w+1,g>E&&(g=x)},N=()=>{g=w-1,g<x&&(g=E)};switch(y.key){case"Home":g=x;break;case"End":g=E;break;case"ArrowRight":o==="horizontal"&&(u?C():N());break;case"ArrowDown":o==="vertical"&&C();break;case"ArrowLeft":o==="horizontal"&&(u?N():C());break;case"ArrowUp":o==="vertical"&&N();break}const S=g%h;(j=v[S].ref.current)==null||j.focus()});return l.jsx(v4,{scope:n,disabled:r,direction:a,orientation:o,children:l.jsx(Bp.Slot,{scope:n,children:l.jsx(Q.div,{...s,"data-orientation":o,ref:c,onKeyDown:r?void 0:p})})})}),Ji="AccordionItem",[b4,Vp]=Fl(Ji),Lx=M.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...a}=e,o=ql(Ji,n),s=f4(Ji,n),i=Up(n),c=yn(),d=r&&s.value.includes(r)||!1,f=o.disabled||e.disabled;return l.jsx(b4,{scope:n,open:d,disabled:f,triggerId:c,children:l.jsx(i4,{"data-orientation":o.orientation,"data-state":Fx(d),...i,...a,ref:t,disabled:f,open:d,onOpenChange:u=>{u?s.onItemOpen(r):s.onItemClose(r)}})})});Lx.displayName=Ji;var Dx="AccordionHeader",Ox=M.forwardRef((e,t)=>
309{const{__scopeAccordion:n,...r}=e,a=ql(Pn,n),o=Vp(Dx,n);return l.jsx(Q.h3,{"data-orientation":a.orientation,"data-state":Fx(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});Ox.displayName=Dx;var lu="AccordionTrigger",Ix=M.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,a=ql(Pn,n),o=Vp(lu,n),s=m4(lu,n),i=Up(n);return l.jsx(Bp.ItemSlot,{scope:n,children:l.jsx(l4,{"aria-disabled":o.open&&!s.collapsible||void 0,"data-orientation":a.orientation,id:o.triggerId,...i,...r,ref:t})})});Ix.displayName=lu;var _x="AccordionContent",zx=M.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,a=ql(Pn,n),o=Vp(_x,n),s=Up(n);return l.jsx(c4,{role:"region","aria-labelledby":o.triggerId,"data-orientation":a.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}})});zx.displayName=_x;function Fx(e){return e?"open":"closed"}var y4=Tx,x4=Lx,w4=Ox,qx=Ix,$x=zx;const Bx=y4,Hp=m.forwardRef(({className:e,...t},n)=>l.jsx(x4,{ref:n,className:te("border-b",e),...t}));Hp.displayName="AccordionItem";const Wp=m.forwardRef(({className:e,children:t,...n},r)=>l.jsx(w4,{className:"flex",children:l.jsxs(qx,{ref:r,className:te("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,l.jsx(Ob,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));Wp.displayName=qx.displayName;const Gp=m.forwardRef(({className:e,children:t,...n},r)=>l.jsx($x,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:l.jsx("div",{className:te("pb-4 pt-0",e),children:t})}));Gp.displayName=$x.displayName;const E4=()=>{const{setFormOpen:e}=dt(),t=[{question:"¿Realmente solo cuesta 1€ o hay costes ocultos?",answer:"Sí, el servicio de aislamiento realmente cuesta solo 1€ gracias al programa CAE, que está financiado por las compañías energéticas. No hay costes ocultos ni letras pequeñas. El precio final para ti es de 1€, sin excepciones."},{question:"¿Cuánto tiempo tarda la instalación?",answer:"El proceso de instalación del aislamiento en el ático tarda aproximadamente 2 horas. Trabajamos de manera eficiente para minimizar las molestias en tu hogar."},{question:"¿Qué ahorro real puedo esperar en mi factura?",answer:"La mayoría de nuestros clientes experimentan un ahorro de entre el 30% y el 40% en sus facturas energéticas. El monto exacto dependerá de factores como el tamaño de tu vivienda, el estado previo del aislamiento y tus hábitos de consumo."},{question:"¿Cuáles son los requisitos para acceder al programa de 1€?",answer:"Para acceder al programa, la vivienda debe tener un ático sin aislar o con aislamiento deficiente, y debe ser tu residencia habitual. No hay requisitos de ingresos ni limitaciones por tipo de vivienda."},{question:"¿Qué material utilizan para el aislamiento?",answer:"Utilizamos materiales de alta calidad, principalmente lana de roca y celulosa proyectada, que ofrecen excelentes propiedades aislantes tanto térmicas como acústicas, además de ser resistentes al fuego."},{question:"¿El servicio incluye garantía?",answer:"Sí, todos nuestros trabajos incluyen una garantía de 5 años que cubre cualquier defecto en la instalación o en los materiales utilizados."}];return l.jsx("section",{className:"py-20 bg-white",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[l.jsx("span",{className:"bg-brand-blue/10 text-brand-blue font-medium py-1 px-3 rounded-full text-sm",children:"Preguntas Frecuentes"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mt-4 mb-5",children:"Resolvemos Tus Dudas"}),l.jsx("p",{className:"text-gray-600",children:"Encuentra respuestas a las preguntas más comunes sobre nuestro servicio de aislamiento térmico a 1€."})]}),l.jsxs("div",{className:"max-w-3xl mx-auto",children:[l.jsx(Bx,{type:"single",collapsible:!0,className:"space-y-4",children:t.map((n,r)=>l.jsxs(Hp,{value:`item-${r}`,className:"border rounded-lg p-1",children:[l.jsx(Wp,{className:"px-4 py-2 hover:no-underline text-left font-medium",children:n.question}),l.jsx(Gp,{className:"px-4 pb-4 pt-1 text-gray-600",children:n.answer})]},r))}),l.jsxs("div",{className:"mt-12 text-center",children:[l.jsx("p",{className:"text-gray-600 mb-6",children:"¿Tienes más preguntas? No dudes en contactarnos."}),l.jsx("button",{onClick:()=>e(!0),className:"secondary-button",children:"Solicitar Información"})]})]})]})})},C4=()=>(m.useEffect(()=>{window.scrollTo(0,0)},[]),l.jsxs("div",{className:"page-transition",children:[l.jsx(n4,{}),l.jsx(wx,{}),l.jsx(r4,{}),l.jsx(Ex,{}),l.jsx(E4,{}),l.jsx(Cx,{})]})),S4=()=>{const{setFormOpen:e}=dt();m.useEffect(()=>{window.scrollTo(0,0)},[]);const t=[{id:"como-saber-si-vivienda-elegible-cae-buhardilla",title:"Cómo saber si tu vivienda es elegible para aislar la buhardilla con ayudas CAE",excerpt:"Antigüedad, tipo de cubierta, certificado energético, ubicación... Te explicamos los criterios reales que se evalúan antes de aprobar una actuación CAE en una buhardilla.",image:"https://images.unsplash.com/photo-1518780664697-55e3ad937233?auto=format&fit=crop&w=1470&q=80",date:"20 de Marzo, 2024",category:"Elegibilidad"},{id:"cuanto-calor-se-escapa-tejado-buhardilla",title:"¿Cuánto calor se escapa realmente por el tejado de una buhardilla sin aislar?",excerpt:"Datos del IDAE, mediciones reales y ejemplos de viviendas en Castilla y León. Hasta el 30% del calor se pierde por la cubierta. Aquí lo demostramos.",image:"https://images.unsplash.com/photo-1448630360428-65456885c650?auto=format&fit=crop&w=1470&q=80",date:"18 de Marzo, 2024",category:"Eficiencia Energética"},{id:"aislamiento-cubierta-vs-falso-techo",title:"Aislamiento bajo cubierta o falso techo: qué solución elegir y cuál financian las CAE",excerpt:"Dos técnicas, dos costes, dos resultados muy distintos. Comparativa honesta para decidir qué actuación encaja mejor en tu vivienda y en el programa CAE.",image:"https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1470&q=80",date:"16 de Marzo, 2024",category:"Aislamiento"},{id:"humedad-condensacion-buhardilla-soluciones",title:"Humedad y condensación en la buhardilla: por qué aparecen y cómo eliminarlas con un buen aislamiento",excerpt:"Manchas oscuras, moho, goteos en invierno... La mayoría de problemas de humedad en buhardillas se deben al aislamiento, no a las filtraciones. Aquí te explicamos por qué.",image:"https://images.unsplash.com/photo-1556909114-44e3e9399a2e?auto=format&fit=crop&w=1470&q=80",date:"14 de Marzo, 2024",category:"Patologías"},{id:"ayudas-europeas-cae-rehabilitacion-vivienda",title:"Fondos europeos, ayudas autonómicas y CAE: cómo se 
309combinan para rehabilitar tu vivienda",excerpt:"Programa MIVAU, Next Generation, ayudas de Castilla y León y Madrid, certificados CAE... Te explicamos cómo encajan y cómo aprovecharlos sin perder oportunidades.",image:"https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1470&q=80",date:"12 de Marzo, 2024",category:"Subvenciones"},{id:"aislar-cubierta-inclinada-casas-rurales-norte",title:"Aislar la cubierta inclinada en casas rurales del norte: la inversión que más ahorra",excerpt:"En Asturias, Cantabria, Galicia o el norte de Castilla y León, la cubierta inclinada es el principal foco de pérdida térmica. Cómo aislarla bien y por qué cambia la factura.",image:"https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1470&q=80",date:"10 de Marzo, 2024",category:"Aislamiento"},{id:"detectar-puentes-termicos-vivienda",title:"Cómo detectar puentes térmicos en tu vivienda (y por qué disparan tu factura)",excerpt:"Manchas, humedades, paredes frías, esquinas con condensación… Aprende a identificar los puentes térmicos que te están costando cientos de euros al año.",image:"https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1470&q=80",date:"8 de Marzo, 2024",category:"Diagnóstico"},{id:"lana-mineral-celulosa-eps-comparativa",title:"Lana mineral, celulosa o EPS: qué material elegir para aislar tu buhardilla",excerpt:"Comparativa técnica honesta entre los tres materiales más usados en España para aislar buhardillas y desvanes: precio, prestaciones, durabilidad y comportamiento real.",image:"https://images.unsplash.com/photo-1597176116047-876a32798fcc?auto=format&fit=crop&w=1470&q=80",date:"6 de Marzo, 2024",category:"Materiales"},{id:"calefaccion-pellets-vs-gas-castilla-leon",title:"Pellets, gas o bomba de calor en Castilla y León: ¿qué calefacción combina mejor con un buen aislamiento?",excerpt:"Aislar es el primer paso, pero ¿qué sistema de calefacción rentabiliza más la inversión en climas fríos como los de León, Burgos o Soria? Análisis sin sesgos.",image:"https://images.unsplash.com/photo-1581094288338-2314dddb7ece?auto=format&fit=crop&w=1470&q=80",date:"3 de Marzo, 2024",category:"Calefacción"},{id:"rehabilitacion-energetica-hoja-ruta-viviendas-antiguas",title:"Rehabilitación energética 2026: hoja de ruta para una vivienda antigua en España",excerpt:"Por dónde empezar, qué obras priorizar y cómo combinar ayudas CAE con otras subvenciones para transformar una casa antigua sin malgastar dinero.",image:"https://images.unsplash.com/photo-1572120360610-d971b9d7767c?auto=format&fit=crop&w=1470&q=80",date:"1 de Marzo, 2024",category:"Rehabilitación"},{id:"ayudas-subvenciones-cae-espana",title:"Ayudas y Subvenciones CAE en España: Guía Completa 2024",excerpt:"Todo lo que necesitas saber sobre los Certificados de Ahorro Energético (CAE): qué son, quién los financia, cómo solicitarlos y por qué permiten aislar tu vivienda casi gratis.",image:"https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"5 de Marzo, 2024",category:"Subvenciones"},{id:"ventajas-aislamiento-buhardillas",title:"Ventajas del Aislamiento de Buhardillas: Confort, Ahorro y Valor",excerpt:"Descubre por qué aislar la buhardilla es la inversión energética con mayor retorno: hasta un 30% de ahorro, mejor confort térmico y revalorización de tu vivienda.",image:"https://images.unsplash.com/photo-1503594384566-461fe158e797?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"28 de Febrero, 2024",category:"Aislamiento"},{id:"ahorro-energia-aislamiento-espana",title:"Ahorro de Energía con el Aislamiento en España: Cifras Reales",excerpt:"Datos oficiales del IDAE, casos reales y simulaciones: cuánto puedes ahorrar realmente en calefacción y aire acondicionado tras aislar tu vivienda.",image:"https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"20 de Febrero, 2024",category:"Ahorro Energético"}
309,{id:"ayudas-cae-aislamiento-castilla-leon",title:"Ayudas CAE para aislamiento térmico en Castilla y León: guía completa",excerpt:"Cómo funcionan los Certificados de Ahorro Energético en Castilla y León, qué viviendas pueden beneficiarse y por qué el clima frío del norte hace prioritario aislar.",image:"https://images.unsplash.com/photo-1542621334-a254cf47733d?auto=format&fit=crop&w=1470&q=80",date:"18 de Febrero, 2024",category:"Subvenciones"},{id:"aislar-buhardilla-desvan-ahorro-calefaccion",title:"Aislar la buhardilla o el desván: una de las formas más rápidas de ahorrar calefacción",excerpt:"Hasta el 30% del calor se pierde por la cubierta. Descubre por qué aislar buhardillas, desvanes y áticos es la medida con mayor retorno energético.",image:"https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1470&q=80",date:"16 de Febrero, 2024",category:"Aislamiento"},{id:"mejorar-certificado-energetico-aislamiento",title:"Cómo mejorar el certificado energético de una vivienda con aislamiento térmico",excerpt:"Subir letras en el certificado energético es posible: relación entre aislamiento, consumo, confort y revalorización del inmueble.",image:"https://images.unsplash.com/photo-1605497788044-5a32c7078486?auto=format&fit=crop&w=1374&q=80",date:"14 de Febrero, 2024",category:"Certificación"},{id:"errores-evitar-aislar-vivienda-cae",title:"Errores que debes evitar antes de aislar tu vivienda con ayudas CAE",excerpt:"Confundir subvención con CAE, no comprobar la elegibilidad, olvidar la ventilación... Los fallos más frecuentes y cómo prevenirlos.",image:"https://images.unsplash.com/photo-1581094288338-2314dddb7ece?auto=format&fit=crop&w=1470&q=80",date:"12 de Febrero, 2024",category:"Consejos"},{id:"casas-antiguas-norte-espana-perdidas-energia",title:"Casas antiguas en el norte de España: por qué pierden tanta energía y cómo solucionarlo",excerpt:"Tejados sin aislar, muros fríos, puentes térmicos, humedad... Diagnóstico y soluciones para viviendas antiguas en Castilla y León y el norte pe
309ninsular.",image:"https://images.unsplash.com/photo-1519999482648-25049ddd37b1?auto=format&fit=crop&w=1470&q=80",date:"11 de Febrero, 2024",category:"Información"},{id:"tips-reducir-factura-energetica",title:"10 Tips Eficaces para Reducir tu Factura Energética en Casa",excerpt:"Consejos prácticos y avalados por expertos para bajar la factura de luz y gas hasta un 40% sin renunciar al confort de tu hogar.",image:"https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1470&q=80",date:"15 de Febrero, 2024",category:"Consejos"},{id:"como-beneficiarse-ayudas-cae",title:"Cómo Beneficiarse de las Ayudas CAE en España Paso a Paso",excerpt:"Guía práctica y detallada para acceder a las subvenciones CAE en 2024: requisitos, documentación, plazos y trucos para no perder tu plaza.",image:"https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1470&q=80",date:"10 de Febrero, 2024",category:"Subvenciones"},{id:"errores-evitar-aislamiento-aticos",title:"7 Errores que Debes Evitar al Aislar tu Ático o Buhardilla",excerpt:"Materiales inadecuados, mala ejecución, falta de ventilación... Descubre los errores más comunes y cómo evitarlos para garantizar un aislamiento eficaz.",image:"https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1470&q=80",date:"5 de Febrero, 2024",category:"Consejos"},{id:"edificios-antiguos-perdidas-energia",title:"¿Por qué los Edificios Antiguos Pierden Tanta Energía en España?",excerpt:"El 60% del parque de viviendas español es anterior a 1980. Analizamos por qué consumen tanto y cómo el aislamiento puede transformarlos.",image:"https://images.unsplash.com/photo-1464146072230-91cabc968266?auto=format&fit=crop&w=1470&q=80",date:"30 de Enero, 2024",category:"Información"},{id:"mejores-soluciones-aislamiento-espana",title:"Las Mejores Soluciones de Aislamiento Térmico en España",excerpt:"Lana mineral, celulosa, poliuretano, EPS... Comparativa completa de los materiales y técnicas más eficaces para aislar viviendas en España.",image:"https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1470&q=80",date:"25 de Enero, 2024",category:"Información"},{id:"ventajas-aislamiento-termico",title:"Ventajas del Aislamiento Térmico en tu Hogar",excerpt:"Descubre cómo el aislamiento térmico puede transformar tu hogar, mejorando el confort y reduciendo las facturas energéticas.",image:"https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",date:"15 de Mayo, 2023",category:"Ahorro Energético"},{id:"aislamiento-en-2-horas",title:"Aislamiento Completo en Solo 2 Horas: ¿Cómo lo Hacemos?",excerpt:"Te explicamos el proceso que nos permite realizar un aislamiento profesional de tu ático en tan solo 2 horas.",image:"https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",date:"3 de Junio, 2023",category:"Servicios"},{id:"programa-aislamiento-1-euro",title:"Todo Sobre el Programa de Aislamiento a 1€",excerpt:"Analizamos en detalle el programa CAE que permite aislar tu ático por solo 1€ y cómo puedes beneficiarte.",image:"https://images.unsplash.com/photo-1583407733101-aa3826c598d7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",date:"20 de Junio, 2023",category:"Programas"},{id:"ahorrar-calefaccion-invierno",title:"Cómo Ahorrar en Calefacción Este Invierno",excerpt:"Consejos prácticos y soluciones efectivas para reducir tu consumo de calefacción sin sacrificar el confort.",image:"https://images.unsplash.com/photo-1610817198605-4743ffd496a8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",date:"5 de Octubre, 2023",category:"Consejos"},{id:"certificacion-energetica",title:"Mejora la Certificación Energética de tu Vivienda",excerpt:"Cómo el aislamiento térmico puede mejorar la calificación energética de tu vivienda y aumentar su valor en el mercado.",image:"https://images.unsplash.com/photo-1605497788044-5a32c7078486?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80",date:"12 de Noviembre, 2023",category:"Certificación"},{id:"mitos-aislamiento-termico",title:"5 Mitos Sobre el Aislamiento Térmico Desmentidos",excerpt:"Analizamos y desmontamos los conceptos erróneos más comunes sobre el aislamiento térmico y su instalación.",image:"https://images.unsplash.com/photo-1489171078254-c3365d6e359f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80",date:"28 de Noviembre, 2023",category:"Información"}
vendor: 4,469 bytes, line 309
309,{id:"requisitos-cae-aislamiento",title:"¿Quién puede beneficiarse del aislamiento gratuito con los CAE?",excerpt:"Te explicamos los requisitos para acceder al programa de Certificados de Ahorro Energético y aislar tu ático por solo 1€.",image:"https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"10 de Enero, 2024",category:"Programas"},{id:"como-funcionan-cae",title:"¿Cómo funcionan los CAE y por qué financian tu aislamiento?",excerpt:"Descubre el mecanismo de los Certificados de Ahorro Energético y por qué las compañías energéticas pagan tu aislamiento.",image:"https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"25 de Enero, 2024",category:"Programas"}];return l.jsx("div",{className:"page-transition pt-28 pb-20",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[l.jsx("span",{className:"bg-brand-blue/10 text-brand-blue font-medium py-1 px-3 rounded-full text-sm",children:"Artículos"}),l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mt-4 mb-5",children:"Blog Ayudas CAE y Aislamiento 1 Euro"}),l.jsx("p",{className:"text-gray-600",children:"Guías, consejos y novedades sobre las ayudas CAE, el aislamiento 1 euro y la eficiencia energética de tu vivienda en España."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:t.map(n=>l.jsx("article",{className:"glass-card overflow-hidden transition-all duration-300 hover:shadow-xl",children:l.jsxs(Oe,{to:`/blog/${n.id}`,className:"block",children:[l.jsxs("div",{className:"relative h-52 overflow-hidden",children:[l.jsx("img",{src:n.image,alt:n.title,className:"w-full h-full object-cover transition-transform duration-500 hover:scale-105"}),l.jsx("div",{className:"absolute top-4 left-4",children:l.jsx("span",{className:"bg-brand-blue text-white text-xs font-medium py-1 px-2 rounded",children:n.category})})]}),l.jsxs("div",{className:"p-6",children:[l.jsx("p",{className:"text-sm text-gray-500 mb-2",children:n.date}),l.jsx("h2",{className:"text-xl font-bold mb-3 hover:text-brand-blue transition-colors",children:n.title}),l.jsx("p",{className:"text-gray-600 mb-4",children:n.excerpt}),l.jsxs("div",{className:"flex items-center text-brand-blue font-medium hover:underline",children:["Leer más ",l.jsx(yt,{size:16,className:"ml-1"})]})]})]})},n.id))}),l.jsxs("div",{className:"mt-16 bg-brand-blue/5 rounded-xl p-8 text-center",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4",children:"¿Quieres saber más sobre cómo ahorrar energía?"}),l.jsx("p",{className:"text-gray-600 mb-6 max-w-2xl mx-auto",children:"Nuestros expertos pueden asesorarte sobre la mejor solución de aislamiento para tu hogar. Solicita información sin compromiso."}),l.jsx("button",{onClick:()=>e(!0),className:"secondary-button",children:"Consultar con un Experto"})]})]})})};var Kp="Tabs",[j4,fR]=An(Kp,[Ol]),Ux=Ol(),[N4,Qp]=j4(Kp),Vx=m.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:s="horizontal",dir:i,activationMode:c="automatic",...d}=e,f=Ll(i),[u,p]=pr({prop:r,onChange:a,defaultProp:o});return l.jsx(N4,{scope:n,baseId:yn(),value:u,onValueChange:p,orientation:s,dir:f,activationMode:c,children:l.jsx(Q.div,{dir:f,"data-orientation":s,...d,ref:t})})});Vx.displayName=Kp;var Hx="TabsList",Wx=m.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=Qp(Hx,n),s=Ux(n);return l.jsx(u0,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:r,children:l.jsx(Q.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})});Wx.displayName=Hx;var Gx="TabsTrigger",Kx=m.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,s=Qp(Gx,n),i=Ux(n),c=Xx(s.baseId,r),d=Zx(s.baseId,r),f=r===s.value;return l.jsx(p0,{asChild:!0,...i,focusable:!a,active:f,children:l.jsx(Q.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:c,...o,ref:t,onMouseDown:$(e.onMouseDown,u=>{!a&&u.button===0&&u.ctrlKey===!1?s.onValueChange(r):u.preventDefault()}),onKeyDown:$(e.onKeyDown,u=>{[" ","Enter"].includes(u.key)&&s.onValueChange(r)}),onFocus:$(e.onFocus,()=>{const u=s.activationMode!=="manual";!f&&!a&&u&&s.onValueChange(r)})})})});Kx.displayName=Gx;var Qx="TabsContent",Yx=m.forwardRef((e,t)=>
309{const{__scopeTabs:n,value:r,forceMount:a,children:o,...s}=e,i=Qp(Qx,n),c=Xx(i.baseId,r),d=Zx(i.baseId,r),f=r===i.value,u=m.useRef(f);return m.useEffect(()=>{const p=requestAnimationFrame(()=>u.current=!1);return()=>cancelAnimationFrame(p)},[]),l.jsx(ur,{present:a||f,children:({present:p})=>l.jsx(Q.div,{"data-state":f?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":c,hidden:!p,id:d,tabIndex:0,...s,ref:t,style:{...e.style,animationDuration:u.current?"0s":void 0},children:p&&o})})});Yx.displayName=Qx;function Xx(e,t){return`${e}-trigger-${t}`}function Zx(e,t){return`${e}-content-${t}`}var A4=Vx,Jx=Wx,e1=Kx,t1=Yx;const P4=A4,n1=m.forwardRef(({className:e,...t},n)=>l.jsx(Jx,{ref:n,className:te("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));n1.displayName=Jx.displayName;const r1=m.forwardRef(({className:e,...t},n)=>l.jsx(e1,{ref:n,className:te("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));r1.displayName=e1.displayName;const a1=m.forwardRef(({className:e,...t},n)=>l.jsx(t1,{ref:n,className:te("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));a1.displayName=t1.displayName;const Yp=m.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:te("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Yp.displayName="Card";const o1=m.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:te("flex flex-col space-y-1.5 p-6",e),...t}));o1.displayName="CardHeader";const s1=m.forwardRef(({className:e,...t},n)=>l.jsx("h3",{ref:n,className:te("text-2xl font-semibold leading-none tracking-tight",e),...t}));s1.displayName="CardTitle";const T4=m.forwardRef(({className:e,...t},n)=>l.jsx("p",{ref:n,className:te("text-sm text-muted-foreground",e),...t}));T4.displayName="CardDescription";const Xp=m.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:te("p-6 pt-0",e),...t}));Xp.displayName="CardContent";const i1=m.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:te("flex items-center p-6 pt-0",e),...t}));i1.displayName="CardFooter";const k4=Mb("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),za=m.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...a},o)=>{const s=r?Lr:"button";return l.jsx(s,{className:te(k4({variant:t,size:n,className:e})),ref:o,...a})});za.displayName="Button";const R4=()=>{const{setFormOpen:e}=dt();m.useEffect(()=>{window.scrollTo(0,0)},[]);const t=[{id:"agrario",title:"Agrario",description:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.",url:"https://www.miteco.gob.es/es/energia/eficiencia/cae/catalogo-de-fichas/catalogo-vigente-de-fichas/transporte1.html"},{id:"industrial",title:"Industrial",description:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.",url:"https://www.miteco.gob.es/es/energia/eficie
309ncia/cae/catalogo-de-fichas/catalogo-vigente-de-fichas/industria.html"},{id:"terciario",title:"Terciario",description:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.",url:"https://www.miteco.gob.es/es/energia/eficiencia/cae/catalogo-de-fichas/catalogo-vigente-de-fichas/terciario.html"},{id:"residencial",title:"Residencial",description:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.",url:"https://www.miteco.gob.es/es/energia/eficiencia/cae/catalogo-de-fichas/catalogo-vigente-de-fichas/residencial.html"},{id:"transporte",title:"Transporte",description:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.",url:"https://www.miteco.gob.es/es/energia/eficiencia/cae/catalogo-de-fichas/catalogo-vigente-de-fichas/transporte.html"}],n=[{question:"¿Qué es el programa CAE?",answer:"El programa CAE (Certificado de Ahorro Energético) es una iniciativa que obliga a las compañías energéticas a financiar mejoras en la eficiencia energética de los hogares. Esto permite ofrecer servicios como el aislamiento térmico por solo 1€ al usuario final."},{question:"¿Quién puede beneficiarse del programa?",answer:"Pueden beneficiarse todos los propietarios de viviendas que necesiten mejorar el aislamiento de su ático. No hay requisitos de ingresos ni otras limitaciones socioeconómicas para acceder al programa."},{question:"¿Por qué las empresas energéticas financian esto?",answer:"Las empresas energéticas están obligadas por ley a contribuir a la reducción del consumo energético como parte de los compromisos de España con la Unión Europea en materia de eficiencia energética y reducción de emisiones de CO2."},{question:"¿Cuánto dura el programa?",answer:"El programa tiene una duración limitada y está sujeto a la disponibilidad de fondos. Por eso recomendamos solicitar el servicio lo antes posible para asegurar que puedes beneficiarte de esta oportunidad."}];return l.jsx("div",{className:"page-transition pt-28 pb-20",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-8",children:[l.jsx("span",{className:"bg-brand-blue/10 text-brand-blue font-medium py-1 px-3 rounded-full text-sm",children:"Programa Ayudas CAE"}),l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mt-4 mb-5",children:"Ayudas CAE: Aislamiento 1 Euro en España"}),l.jsx("p",{className:"text-lg text-gray-600",children:"Descubre cómo funcionan las ayudas CAE (Certificados de Ahorro Energético) y consigue el aislamiento 1 euro de tu vivienda, financiado por las compañías energéticas obligadas por el Estado."}),l.jsxs("div",{className:"flex justify-center gap-4 mt-6",children:[l.jsx("a",{href:"https://www.facebook.com/profile.php?id=61573921667367",target:"_blank",rel:"noopener noreferrer",className:"p-2 bg-blue-600 text-white rounded-full hover:bg-blue-700 transition-colors","aria-label":"Facebook",children:l.jsx(Fb,{size:20})}),l.jsx("a",{href:"https://wa.me/34865410051",target:"_blank",rel:"noopener noreferrer",className:"p-2 bg-green-500 text-white rounded-full hover:bg-green-600 transition-colors","aria-label":"WhatsApp",children:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("path",{d:"M3 21l1.65-3.8a9 9 0 1 1 3.4 2.9L3 21"}),l.jsx("path",{d:"M9 10a.5.5 0 0 0 1 0V9a.5.5 0 0 0-1 0v1Z"}),l.jsx("path",{d:"M14 10a.5.5 0 0 0 1 0V9a.5.5 0 0 0-1 0v1Z"}),l.jsx("path",{d:"M9.5 13.5c.5 1 1.5 1.5 2.5 1.5s2-.5 2.5-1.5"})]})}),l.jsx("a",{href:"https://www.tiktok.com/@eco_aislamiento?is_from_webapp=1&sender_device=pc",target:"_blank",rel:"noopener noreferrer",className:"p-2 bg-black text-white rounded-full hover:bg-gray-800 transition-colors","aria-label":"TikTok",children:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("path",{d:"M9 12a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"}),l.jsx("path",{d:"M20 9V4a1 1 0 0 0-1-1h-5"}),l.jsx("path",{d:"M15 5.5V13a4 4 0 0 1-4 4"}),l.jsx("path",{d:"M19 9a7 7 0 0 1-4 2"})]})})]})]}),l.jsxs("div",{className:"mb-16",children:[l.jsx("h2",{className:"text-2xl font-bold mb-6 text-center",children:"Fichas Estandarizadas"}),l.jsxs(P4,{defaultValue:"agrario",className:"w-full mb-8",children:[l.jsx(n1,{className:"grid grid-cols-5 mb-8",children:t.map(r=>
309l.jsx(r1,{value:r.id,children:r.title},r.id))}),t.map(r=>l.jsx(a1,{value:r.id,children:l.jsxs(Yp,{children:[l.jsx(o1,{children:l.jsxs(s1,{children:["Fichas Estandarizadas - ",r.title]})}),l.jsx(Xp,{}),l.jsx(i1,{children:l.jsx(za,{asChild:!0,children:l.jsxs("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",children:["Ver Fichas ",l.jsx(yt,{className:"ml-2",size:16})]})})})]})},r.id))]})]}),l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 mb-16",children:[l.jsx("div",{className:"rounded-xl overflow-hidden shadow-xl",children:l.jsx("img",{src:"https://www.bioaisla.com/sites/default/files/aislamiento-soplado-bioaisla-1.jpg",alt:"Programa de aislamiento térmico a 1€ en España",className:"w-full h-auto"})}),l.jsxs("div",{className:"space-y-6",children:[l.jsx("h2",{className:"text-3xl font-bold",children:"¿Cómo funciona el programa CAE de aislamiento térmico?"}),l.jsx("p",{className:"text-lg text-gray-600",children:"El programa de Certificados de Ahorro Energético (CAE) permite que puedas beneficiarte de un aislamiento térmico profesional pagando solo 1€, ya que el resto está financiado por las compañías energéticas como parte de sus obligaciones legales."}),l.jsx("ul",{className:"space-y-4",children:["Ahorro de hasta un 30% en la factura de energía","Mayor confort en invierno y verano","Instalación rápida en un solo día","100% financiado, sin coste alguno para ti más allá de 1€"].map((r,a)=>l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(_b,{size:22,className:"text-brand-green mt-1 flex-shrink-0"}),l.jsx("span",{className:"text-lg",children:r})]},a))}),l.jsxs("button",{onClick:()=>e(!0),className:"cta-button mt-4 flex items-center gap-2",children:["Solicitar aislamiento térmico a 1€ ",l.jsx(yt,{size:18})]})]})]}),l.jsxs("div",{className:"bg-gray-50 rounded-2xl p-8 md:p-12 mb-16",children:[l.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-12",children:[l.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Proceso Sencillo para Conseguir Subvenciones de Aislamiento"}),l.jsx("p",{className:"text-gray-600",children:"Acceder al programa de aislamiento a 1€ con subvenciones estatales es muy sencillo. Solo tienes que seguir estos pasos:"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[{title:"Solicita Información",description:"Completa el formulario de solicitud para verificar que tu vivienda cumple los requisitos básicos para el aislamiento térmico gratuito.",icon:"📋"},{title:"Visita Técnica",description:"Un técnico visitará tu hogar para evaluar las necesidades específicas de aislamiento y confirmar la elegibilidad para las ayudas CAE.",icon:"🔍"},{title:"Instalación",description:"Realizamos la instalación del aislamiento térmico en el día y hora acordados, en aproximadamente 2 horas.",icon:"🏠"}].map((r,a)=>l.jsxs("div",{className:"bg-white p-6 rounded-xl shadow-md",children:[l.jsx("div",{className:"text-4xl mb-4",children:r.icon}),l.jsxs("h3",{className:"text-xl font-bold mb-2",children:[l.jsxs("span",{className:"text-brand-blue mr-2",children:[a+1,"."]})," ",r.title]}),l.jsx("p",{className:"text-gray-600",children:r.description})]},a))})]}),l.jsxs("div",{className:"max-w-3xl mx-auto",children:[l.jsx("h2",{className:"text-3xl font-bold mb-8 text-center",children:"Preguntas Frecuentes sobre el Programa de Ayudas para Aislamiento"}),l.jsx(Bx,{type:"single",collapsible:!0,className:"space-y-4",children:n.map((r,a)=>l.jsxs(Hp,{value:`item-${a}`,className:"border rounded-lg p-1",children:[l.jsx(Wp,{className:"px-4 py-2 hover:no-underline text-left font-medium",children:r.question}),l.jsx(Gp,{className:"px-4 pb-4 pt-1 text-gray-600",children:r.answer})]},a))}),l.jsxs("div",{className:"mt-12 text-center",children:[l.jsx("p",{className:"text-gray-600 mb-6",children:"No pierdas esta oportunidad. El programa de subvenciones para aislamiento térmico tiene plazas limitadas."}),l.jsx("button",{onClick:()=>e(!0),className:"cta-button",children:"Solicitar Aislamiento a 1€"})]})]})]})})},M4=()=>{const{setFormOpen:e}=dt();return m.useEffect(()=>{window.scrollTo(0,0)},[]),l.jsx("div",{className:"page-transition pt-28 pb-20",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[l.jsx("span",{className:"bg-brand-orange/10 text-brand-orange font-medium py-1 px-3 rounded-full text-sm",children:"Contacto"}),l.jsx("h1",{className:"text-4xl md:text-5xl font-bold mt-4 mb-5",children:"Solicita tus Ayudas CAE para el Aislamiento 1 Euro"}),l.jsx("p",{className:"text-lg text-gray-600",children:"¿Tienes preguntas sobre las ayudas CAE o el aislamiento 1 euro de tu buhardilla? Nuestro equipo te acompaña en cada paso para tramitar tu solicitud."})]}),l.jsx("div",{className:"mb-10 max-w-2xl mx-auto",children:l.jsxs("button",{onClick:()=>e(!0),className:`flex items-center justify-center gap-3 bg-brand-blue text-white font-bold py-4 px-6 rounded-xl shadow-lg 
310              hover:shadow-xl transition-all duration-300 hover:scale-105 transform w-full text-lg`,children:[l.jsx(Yo,{size:24}),"Solicitar Información"]})}),l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 mb-16",children:[l.jsx("div",{className:"rounded-xl overflow-hidden shadow-xl",children:l.jsx("img",{src:"https://www.bi
310oaisla.com/sites/default/files/aislamiento-soplado-bioaisla-1.jpg",alt:"Atención al cliente",className:"w-full h-auto"})}),l.jsxs("div",{className:"flex flex-col justify-center",children:[l.jsx("h2",{className:"text-3xl font-bold mb-8",children:"Información de Contacto"}),l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 bg-brand-green/10 rounded-full flex items-center justify-center flex-shrink-0",children:l.jsx(qb,{className:"text-brand-green"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold",children:"Correo Electrónico"}),l.jsx("p",{className:"text-lg text-gray-600",children:"[email protected]"}),l.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Respuesta en menos de 24 horas"})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 bg-brand-orange/10 rounded-full flex items-center justify-center flex-shrink-0",children:l.jsx($b,{className:"text-brand-orange"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold",children:"Ubicación"}),l.jsx("p",{className:"text-lg text-gray-600",children:"Madrid, España"}),l.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Servicio disponible en toda España"})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 bg-brand-red/10 rounded-full flex items-center justify-center flex-shrink-0",children:l.jsx(zb,{className:"text-brand-red"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold",children:"Horario de Atención"}),l.jsx("p",{className:"text-lg text-gray-600",children:"Lunes a Viernes: 9:00 - 18:00"}),l.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Sábados: 10:00 - 14:00"})]})]})]})]})]}),l.jsxs("div",{className:"bg-gray-50 rounded-2xl p-8 md:p-12",children:[l.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-8",children:[l.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Solicita Información"}),l.jsx("p",{className:"text-gray-600",children:"Completa el formulario y te contactaremos lo antes posible para brindarte toda la información sobre el programa de aislamiento a 1€."})]}),l.jsxs("div",{className:"bg-white p-8 rounded-xl shadow-md max-w-3xl mx-auto",children:[l.jsxs("button",{onClick:()=>e(!0),className:"cta-button w-full flex items-center justify-center gap-2 py-4",children:["Abrir Formulario ",l.jsx(Yo,{size:18})]}),l.jsxs("div",{className:"mt-8 p-6 border border-gray-200 rounded-lg",children:[l.jsx("h3",{className:"text-xl font-semibold mb-4 text-center",children:"Datos de Contacto Directo"}),l.jsx("div",{className:"grid grid-cols-1 gap-4 text-center",children:l.jsxs("div",{className:"p-4",children:[l.jsx("p",{className:"font-bold",children:"Email:"}),l.jsx("p",{className:"text-brand-blue text-lg",children:"[email protected]"})]})})]})]})]})]})})},L4=()=>{const{postId:e}=Xy(),{setFormOpen:t}=dt();m.useEffect(()=>{window.scrollTo(0,0)},[]);const n={"como-saber-si-vivienda-elegible-cae-buhardilla":{title:"Cómo saber si tu vivienda es elegible para aislar la buhardilla con ayudas CAE",image:"https://images.unsplash.com/photo-1518780664697-55e3ad937233?auto=format&fit=crop&w=1470&q=80",date:"20 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Elegibilidad",content:`
311        <p class="lead">Una de las preguntas que más recibimos en el día a día es: <em>“¿mi vivienda puede acogerse a las <strong>ayudas CAE</strong> para aislar la buhardilla?”</em>. La respuesta corta es que muchas viviendas pueden beneficiarse, pero la elegibilidad real depende de varios factores técnicos. En esta guía te explicamos, sin promesas vacías, cómo se evalúa una vivienda y qué condiciones suelen marcar la diferencia.</p>
312
313        <div class="my-8 rounded-xl overflow-hidden shadow">
314          <img src="https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1470&q=80" alt="Vivienda unifamiliar antigua con buhardilla en un pueblo de Castilla y León" />
315        </div>
316
317        <h2>Qué son los Certificados de Ahorro Energético (CAE)</h2>
318        <p>Los <strong>CAE</strong> son un mecanismo regulado por el <em>Ministerio para la Transición Ecológica</em> que obliga a las grandes comercializadoras de energía a justificar un volumen anual de ahorro energético. Para conseguirlo, financian total o parcialmente actuaciones de eficiencia, como el aislamiento de cubiertas y buhardillas. El sistema convive con otros programas de rehabilitación, como las ayudas del <a href="https://www.mivau.gob.es/vivienda/ayudas-europeas-rehabilitacion-edificios-viviendas" target="_blank" rel="noopener">MIVAU</a> en el marco del PRTR, las ayudas autonómicas (por ejemplo, las de la <a href="https://vivienda.jcyl.es/web/es/rehabilitacion-urbana/ayudas-rehabilitacion-eficiencia-sostenibilidad.html" target="_blank" rel="noopener">Junta de Castilla y León</a> o de la <a href="https://www.comunidad.madrid/vivienda/ayudas-actuaciones-rehabilitacion-energetica-edificios-residenciales-viviendas-prtr" target="_blank" rel="noopener">Comunidad de Madrid</a>) o el <a href="https://www.mivau.gob.es/ministerio/proyectos-singulares/prtr/vivienda-y-agenda-urbana/programa-de-ayuda-las-actuaciones-de-mejora-de-la-eficiencia-energetica-en-viviendas" target="_blank" rel="noopener">programa de mejora de la eficiencia energética en viviendas</a>.</p>
319
320        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
321          <p class="m-0"><strong>Dato importante:</strong> los CAE no son una subvención clásica. Son un mecanismo de mercado en el que la compañía energética financia parte de la actuación a cambio del ahorro energético generado.</p>
322        </div>
323
324        <h2>Los 6 criterios reales que se evalúan</h2>
325        <h3>1. Antigüedad de la vivienda</h3>
326        <p>La normativa térmica española (NBE-CT-79 y posteriormente CTE) marcó un antes y un después. Las viviendas anteriores a 1980 suelen carecer de aislamiento en cubierta. Son las que tienen mayor margen de ahorro y, por tanto, las que mejor encajan en el programa CAE.</p>
327        <h3>2. Tipo de cubierta y existencia de buhardilla</h3>
328        <p>Cubierta inclinada con desván no habitable, buhardilla habitable, falso techo accesible, cubierta plana transitable… Cada tipología admite soluciones distintas. La accesibilidad influye en el coste y, por tanto, en el encaje del proyecto.</p>
329        <h3>3. Estado actual del aislamiento</h3>
330        <p>Cuanto peor sea el aislamiento previo, mayor es el ahorro generado por la actuación. En viviendas con cubierta totalmente desnuda el potencial es muy alto. En viviendas ya aisladas con espes
330ores antiguos, el margen es más limitado.</p>
331        <h3>4. Certificado energético</h3>
332        <p>Las viviendas con calificación E, F o G son candidatas claras. Mejorar a una letra D o C suele ser perfectamente alcanzable con una intervención en cubierta bien ejecutada.</p>
333        <h3>5. Uso de la vivienda</h3>
334        <p>El programa CAE se centra principalmente en residencia habitual. Las segundas viviendas o las viviendas con uso muy esporádico pueden estudiarse, pero la prioridad y el ahorro real son menores.</p>
335        <h3>6. Ubicación geográfica</h3>
336        <p>La zona climática influye en el cálculo de ahorro. En <strong>Castilla y León, Asturias, Cantabria, Galicia, La Rioja, Navarra y País Vasco</strong>, las temperaturas invernales hacen que el ahorro generado por aislar la cubierta sea especialmente alto.</p>
337
338        <h2>Tabla orientativa de elegibilidad</h2>
339        <div class="overflow-x-auto my-6">
340          <table class="w-full border-collapse text-left text-sm">
341            <thead class="bg-brand-blue/10">
342              <tr><th class="p-3 border">Perfil de vivienda</th><th class="p-3 border">Antigüedad</th><th class="p-3 border">Aislamiento previo</th><th class="p-3 border">Encaje CAE</th></tr>
343            </thead>
344            <tbody>
345              <tr><td class="p-3 border">Casa de pueblo en León</td><td class="p-3 border">1950-1979</td><td class="p-3 border">Inexistente</td><td class="p-3 border">Muy alto</td></tr>
346              <tr><td class="p-3 border">Vivienda unifamiliar Burgos</td><td class="p-3 border">1980-2000</td><td class="p-3 border">Mínimo</td><td class="p-3 border">Alto</td></tr>
347              <tr><td class="p-3 border">Piso bajo cubierta Valladolid</td><td class="p-3 border">1970-1985</td><td class="p-3 border">Inexistente</td><td class="p-3 border">Alto</td></tr>
348              <tr><td class="p-3 border">Vivienda nueva Salamanca</td><td class="p-3 border">Posterior a 2007</td><td class="p-3 border">Conforme CTE</td><td class="p-3 border">Limitado</td></tr>
349              <tr><td class="p-3 border">Casa rural Galicia</td><td class="p-3 border">Anterior a 1980</td><td class="p-3 border">Inexistente</td><td class="p-3 border">Muy alto</td></tr>
350            </tbody>
351          </table>
352        </div>
353
354        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
355          <p class="m-0"><strong>Consejo del experto:</strong> antes de aceptar cualquier propuesta, exige un <em>estudio técnico previo</em> con visita a la vivienda. Sin pisar la buhardilla nadie puede confirmar la elegibilidad real.</p>
356        </div>
357
358        <h2>¿Sabías que…?</h2>
359        <p>Según datos del MIVAU y del IDAE, más del <strong>50 % del parque residencial español</strong> es anterior a 1980. La inmensa mayoría de esas viviendas no cumple los estándares térmicos actuales y, por tanto, son potencialmente elegibles para actuaciones de eficiencia energética.</p>
360
361        <h2>Mini caso real: vivienda en Burgos</h2>
362        <p>Vivienda unifamiliar de 130 m² construida en 1972, con desván no habitable y certificado F. Tras visita técnica, se confirmó elegibilidad. La actuación consistió en proyectar lana mineral sobre el forjado del desván. La factura de gas natural se redujo de forma significativa el primer invierno y la calificación energética subió a D.</p>
363
364        <h2>Errores frecuentes al evaluar la elegibilidad</h2>
365        <ul>
366          <li>Pensar que basta con la antigüedad de la vivienda.</li>
367          <li>No contar con el certificado energético actualizado.</li>
368          <li>Olvidar verificar la accesibilidad real al desván o buhardilla.</li>
369          <li>Confundir CAE con subvención directa.</li>
370        </ul>
371
372        <h2>Antes / Después: cómo cambia la elegibilidad de un vecino</h2>
373        <ul>
374          <li><strong>Antes:</strong> propietario sin información, factura de calefacción de 1.800 €/año, vivienda fría en invierno, calificación F.</li>
375          <li><strong>Después del estudio técnico:</strong> elegibilidad confirmada, ejecución de la obra en una mañana, ahorro estimado del 25-30 % en consumo y mejora del confort interior.</li>
376        </ul>
377
378        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
379          <p class="font-semibold mb-3">Verifica si tu vivienda cumple los requisitos para aislar la buhardilla con CAE</p>
380          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar estudio de elegibilidad</button>
381        </div>
382
383        <h2>Preguntas frecuentes</h2>
384        <h3>¿Necesito tener certificado energético para acceder a las CAE?</h3>
385        <p>No siempre es obligatorio de inicio, pero ayuda a justificar el ahorro generado y suele exigirse al final del proceso.</p>
386        <h3>¿Mi piso bajo cubierta puede beneficiarse?</h3>
387        <p>Sí, si la última planta tiene cubierta inclinada o falso techo accesible.</p>
388        <h3>¿Las viviendas nuevas son elegibles?</h3>
389        <p>Su margen de ahorro es bajo, por lo que rara vez encajan en el programa.</p>
390        <h3>
390¿Puedo combinar CAE con ayudas europeas o autonómicas?</h3>
391        <p>En muchos casos sí, aunque no siempre con la misma actuación. Hay que estudiar cada programa por separado.</p>
392        <h3>¿Cuánto tarda el estudio de elegibilidad?</h3>
393        <p>Tras la visita técnica, normalmente entre 24 y 72 horas.</p>
394      `},"cuanto-calor-se-escapa-tejado-buhardilla":{title:"¿Cuánto calor se escapa realmente por el tejado de una buhardilla sin aislar?",image:"https://images.unsplash.com/photo-1448630360428-65456885c650?auto=format&fit=crop&w=1470&q=80",date:"18 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Eficiencia Energética",content:`
395        <p class="lead">Si tu casa nunca termina de calentarse, si la calefacción funciona sin parar y si la factura no baja, hay una causa muy probable: el calor se escapa por el tejado. En las viviendas españolas con buhardilla o desván sin aislar, las pérdidas térmicas por la cubierta pueden representar una parte enorme del consumo total. Y, sin embargo, es una de las patologías más fáciles de corregir.</p>
396
397        <div class="my-8 rounded-xl overflow-hidden shadow">
398          <img src="https://images.unsplash.com/photo-1542621334-a254cf47733d?auto=format&fit=crop&w=1470&q=80" alt="Tejado tradicional español de teja árabe en un pueblo de León" />
399        </div>
400
401        <h2>Por qué el calor se va por el techo (literalmente)</h2>
402        <p>Es un fenómeno físico simple: el aire caliente es menos denso que el frío y tiende a subir. En una vivienda con calefacción encendida, el aire más cálido se acumula en la parte alta. Si la cubierta no está aislada, ese calor atraviesa el forjado, las vigas y las tejas, y se pierde en la atmósfera.</p>
403        <p>El resultado es doble: la caldera trabaja más para reponer el calor perdido, y la temperatura nunca llega a estabilizarse. En climas como los de <strong>Castilla y León</strong>, donde el invierno se prolonga durante muchos meses, el coste acumulado puede ser muy alto.</p>
404
405        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
406          <p class="m-0"><strong>Dato importante:</strong> según el <strong>IDAE</strong>, en una vivienda mal aislada hasta el <strong>30 % del calor</strong> se pierde por la cubierta. La fachada y las ventanas se reparten el resto.</p>
407        </div>
408
409        <h2>Distribución típica de las pérdidas térmicas</h2>
410        <div class="overflow-x-auto my-6">
411          <table class="w-full border-collapse text-left">
412            <thead class="bg-brand-blue/10">
413              <tr><th class="p-3 border">Elemento</th><th class="p-3 border">% pérdidas</th></tr>
414            </thead>
415            <tbody>
416              <tr><td class="p-3 border">Cubierta / buhardilla</td><td class="p-3 border">25-30 %</td></tr>
417              <tr><td class="p-3 border">Fachada</td><td class="p-3 border">20-25 %</td></tr>
418              <tr><td class="p-3 border">Ventanas y puentes térmicos</td><td class="p-3 border">15-20 %</td></tr>
419              <tr><td class="p-3 border">Renovación de aire</td><td class="p-3 border">15-20 %</td></tr>
420              <tr><td class="p-3 border">Suelo</td><td class="p-3 border">7-10 %</td></tr>
421            </tbody>
422          </table>
423        </div>
424
425        <h2>Lo que se mide en una visita técnica</h2>
426        <ul>
427          <li>Temperatura interior y exterior.</li>
428          <li>Temperatura superficial del techo del último piso.</li>
429          <li>Diferencias térmicas con cámara termográfica.</li>
430          <li>Estado del aislamiento existente, si lo hay.</li>
431          <li>Presencia de humedad o condensación bajo cubierta.</li>
432        </ul>
433
434        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
435          <p class="m-0"><strong>Consejo del experto:</strong> si en invierno tocas el techo y notas que está claramente más frío que la pared, hay un problema de aislamiento. Es el indicio más sencillo de detectar sin instrumentos.</p>
436        </div>
437
438        <h2>¿Sabías que…?</h2>
439        <p>En una vivienda de 100 m² ubicada en Burgos, las pérdidas anuales por una cubierta 
439sin aislar pueden equivaler al consumo eléctrico de un electrodoméstico encendido todo el día durante meses. Es energía que se pierde sin haber sido aprovechada.</p>
440
441        <h2>Mini caso real: vivienda en Palencia</h2>
442        <p>Vivienda unifamiliar de 110 m² construida en 1968. Antes de la actuación, el termostato del salón marcaba 20 °C, pero la sensación térmica era de 17 °C debido al techo frío. Tras aislar el suelo del desván con celulosa insuflada, la temperatura percibida se igualó con la real y el consumo de gas natural cayó cerca del 32 % en el primer invierno.</p>
443
444        <h2>Antes / Después en una buhardilla en León</h2>
445        <ul>
446          <li><strong>Antes:</strong> techo a 12 °C, sensación de frío permanente, factura mensual de gas en enero superior a 180 €.</li>
447          <li><strong>Después:</strong> techo a 18-19 °C, confort estable, factura reducida a 110-120 €.</li>
448        </ul>
449
450        <h2>Errores frecuentes al diagnosticar pérdidas por cubierta</h2>
451        <ul>
452          <li>Confundir la sensación de frío con un problema de la caldera.</li>
453          <li>Cambiar las ventanas antes de aislar la cubierta.</li>
454          <li>Pensar que con un falso techo de pladur ya basta.</li>
455          <li>Ignorar la condensación bajo cubierta como síntoma.</li>
456        </ul>
457
458        <h2>Cómo se reducen las pérdidas con CAE</h2>
459        <p>Las <strong>ayudas CAE</strong> están diseñadas precisamente para financiar este tipo de actuaciones. La compañía energética obligada cubre una parte importante del coste a cambio del ahorro energético generado. La obra suele ejecutarse en pocas horas, sin derribar nada y sin alterar la vida diaria del propietario.</p>
460
461        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
462          <p class="font-semibold mb-3">¿Quieres saber cuánto calor se está escapando por tu tejado?</p>
463          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar diagnóstico térmico</button>
464        </div>
465
466        <h2>Preguntas frecuentes</h2>
467        <h3>¿Cuánto se ahorra al aislar la cubierta?</h3>
468        <p>De forma orientativa, entre un 20 % y un 35 % del consumo de calefacción, en función de la vivienda.</p>
469        <h3>¿Es necesario hacer obra grande?</h3>
470        <p>No. En la mayoría de buhardillas y desvanes basta con proyectar o insuflar el aislante.</p>
471        <h3>¿Qué pasa si tengo humedad bajo cubierta?</h3>
472        <p>El estudio técnico debe valorarla antes de aislar, para evitar que el material absorba agua.</p>
473        <h3>¿Las pérdidas son iguales en toda España?</h3>
474        <p>No. En el norte y en el interior las pérdidas relativas son mayores por las temperaturas exteriores más bajas.</p>
475        <h3>¿Cuánto dura el material aislante?</h3>
476        <p>La lana mineral o la celulosa correctamente instaladas mantienen su rendimiento durante décadas.</p>
477      `},"aislamiento-cubierta-vs-falso-techo":{title:"Aislamiento bajo cubierta o falso techo: qué solución elegir y cuál financian las CAE",image:"https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1470&q=80",date:"16 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Aislamiento",content:`
478        <p class="lead">Cuando un propietario decide actuar sobre su vivienda, suele dudar entre dos opciones: aislar bajo la cubierta o trabajar sobre el falso techo del último piso. Ambas son válidas, pero responden a situaciones distintas y tienen un encaje diferente en el programa de <strong>ayudas CAE</strong>. Esta guía aclara las diferencias para que decidas con criterio.</p>
479
480        <div class="my-8 rounded-xl overflow-hidden shadow">
481          <img src="https://images.unsplash.com/photo-1503594384566-461fe158e797?auto=format&fit=crop&w=1470&q=80" alt="Buhardilla habitable con vigas de madera vistas en una casa rural española" />
482        </div>
483
484        <h2>Las dos técnicas, en pocas palabras</h2>
485        <h3>Aislamiento bajo cubierta</h3>
486        <p>Consiste en colocar el aislante directamente bajo el faldón del tejado, entre cabios o sobre el entablado. Se utiliza cuando el desván o la buhardilla son habitables y se quiere mantener su uso como estancia.</p>
487        <h3>Aislamiento sobre falso techo o forjado</h3>
488        <p>Consiste en proyectar o insuflar aislante encima del último forjado habitable. El desván queda convert
488ido en una zona “fría”, ya no aporta volumen útil pero gana eficiencia energética.</p>
489
490        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
491          <p class="m-0"><strong>Dato importante:</strong> en una vivienda donde el desván no se utiliza, aislar el suelo del desván es casi siempre la opción con mejor relación inversión/ahorro.</p>
492        </div>
493
494        <h2>Comparativa técnica</h2>
495        <div class="overflow-x-auto my-6">
496          <table class="w-full border-collapse text-left text-sm">
497            <thead class="bg-brand-blue/10">
498              <tr><th class="p-3 border">Criterio</th><th class="p-3 border">Bajo cubierta</th><th class="p-3 border">Falso techo / forjado</th></tr>
499            </thead>
500            <tbody>
501              <tr><td class="p-3 border">Coste relativo</td><td class="p-3 border">Medio-alto</td><td class="p-3 border">Bajo-medio</td></tr>
502              <tr><td class="p-3 border">Tiempo de obra</td><td class="p-3 border">1-3 días</td><td class="p-3 border">2-6 horas</td></tr>
503              <tr><td class="p-3 border">Mantiene uso del desván</td><td class="p-3 border">Sí</td><td class="p-3 border">No (queda zona fría)</td></tr>
504              <tr><td class="p-3 border">Eficacia térmica</td><td class="p-3 border">Alta</td><td class="p-3 border">Muy alta</td></tr>
505              <tr><td class="p-3 border">Encaje habitual en CAE</td><td class="p-3 border">Sí, según proyecto</td><td class="p-3 border">Muy frecuente</td></tr>
506            </tbody>
507          </table>
508        </div>
509
510        <h2>¿Cuándo conviene cada una?</h2>
511        <ul>
512          <li><strong>Bajo cubierta:</strong> buhardillas habitables, áticos transformados en dormitorios, casas con vigas vistas que se quieren conservar.</li>
513          <li><strong>Sobre forjado / falso techo:</strong> casas con desván no habitable, viviendas de pueblo en León o Palencia con altillo de almacén, pisos en última planta con cámara accesible.</li>
514        </ul>
515
516        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
517          <p class="m-0"><strong>Consejo del experto:</strong> si tu desván solo se utiliza para guardar trastos o tender ropa puntualmente, aísla por el suelo. El ahorro será mayor y la obra mucho más sencilla.</p>
518        </div>
519
520        <h2>¿Sabías que…?</h2>
521        <p>Aislar el forjado del desván suele ejecutarse en una mañana con celulosa insuflada o lana mineral proyectada. La vivienda no necesita desalojarse y el polvo generado es mínimo si se trabaja con equipo adecuado.</p>
522
523        <h2>Mini caso real: vivienda en Salamanca</h2>
524        <p>Casa de pueblo de dos plantas con desván no habitable. La propietaria dudaba entre transformar el desván en habitación (con aislamiento bajo cubierta) o aislar el suelo. Tras evaluar uso real y presupuesto, se optó por aislar sobre forjado con celulosa. Resultado: 4 horas de obra, ahorro estimado del 28 % en gas y mejora notable del confort en el dormitorio principal.</p>
525
526        <h2>Antes / Después en un piso bajo cubierta en Madrid</h2>
527        <ul>
528          <li><strong>Antes:</strong> techos fríos, condensación en invierno, factura energética elevada.</li>
529          <li><strong>Después de aislar la cubierta inclinada por dentro:</strong> temperaturas estables, condensación desaparecida, factura reducida en torno a un 25 %.</li>
530        </ul>
531
532        <h2>Errores frecuentes</h2>
533        <ul>
534          <li>Aislar bajo cubierta cuando el desván no se va a usar: se gasta más sin ganar nada.</li>
535          <li>Olvidar la ventilación del espacio bajo cubierta.</li>
536          <li>Combinar materiales incompatibles que generan condensación interior.</li>
537          <li>Confiar la obra a un instalador sin homologación CAE.</li>
538        </ul>
539
540        <h2>¿Cuál financian mejor las ayudas CAE?</h2>
541        <p>El programa CAE no impone una técnica concreta. Lo que se valora es el <strong>ahorro energético generado</strong>. En la práctica, las actuaciones sobre forjado/falso techo suelen tener un excelente encaje porque consiguen mucho ahorro con una inversión razonable. Las soluciones bajo cubierta también son perfectamente financiables cuando el desván es habitable.</p>
542
543        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
544          <p class="font-semibold mb-3">¿No sabes qué solución encaja mejor en tu vivienda?</p>
545          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar análisis personalizado</button>
546        </div>
547
548        <h2>Preguntas frecuentes</h2>
549        <h3>¿Pierdo altura útil si aíslo bajo cubierta?</h3>
550        <p>Sí, unos centímetros, según el espesor del aislante y del trasdosado.</p>
551        <h3>¿Aislar el forjado es compatible con un desván habitable?</h3>
552        <p>No, porque dejas el desván sin aislar. En ese caso conviene aislar bajo cubierta.</p>
553        <h3>¿Cuál es más rápido?</h3>
554        <p>
554Aislar el forjado del desván: en muchas viviendas, 2-4 horas.</p>
555        <h3>¿Qué material se utiliza en cada caso?</h3>
556        <p>En forjado: celulosa o lana mineral. Bajo cubierta: lana mineral en panel o rollo, a veces poliuretano proyectado.</p>
557        <h3>¿La actuación afecta al certificado energético?</h3>
558        <p>Sí, para mejor. Suele suponer la subida de una o dos letras.</p>
559      `},"humedad-condensacion-buhardilla-soluciones":{title:"Humedad y condensación en la buhardilla: por qué aparecen y cómo eliminarlas con un buen aislamiento",image:"https://images.unsplash.com/photo-1556909114-44e3e9399a2e?auto=format&fit=crop&w=1470&q=80",date:"14 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Patologías",content:`
560        <p class="lead">Manchas oscuras en el techo, moho en las esquinas, gotas en las vigas, olor a humedad… La mayoría de propietarios asume que se trata de una filtración del tejado. En la práctica, en una proporción muy alta de casos, el origen no es el agua que entra desde fuera, sino la <strong>condensación interior provocada por un aislamiento insuficiente</strong>. Y eso es exactamente lo que las <strong>ayudas CAE</strong> están diseñadas para corregir.</p>
561
562        <div class="my-8 rounded-xl overflow-hidden shadow">
563          <img src="https://images.unsplash.com/photo-1572120360610-d971b9d7767c?auto=format&fit=crop&w=1470&q=80" alt="Vigas de madera bajo cubierta con marcas de humedad y condensación en una casa antigua del norte de España" />
564        </div>
565
566        <h2>Filtración o condensación: cómo distinguirlas</h2>
567        <p>Las dos producen humedad, pero su origen es muy distinto. Una <strong>filtración</strong> ocurre cuando el agua de lluvia atraviesa el tejado por una rotura, una junta defectuosa o una teja desplazada. Suele aparecer poco después de un episodio de lluvia intensa y se localiza en un punto concreto.</p>
568        <p>La <strong>condensación</strong>, en cambio, aparece de forma generalizada en superficies frías. El vapor de agua del interior de la vivienda asciende hacia la cubierta, encuentra un techo frío y se condensa. En invierno, en regiones como <strong>Galicia, Asturias o el interior de Castilla y León</strong>, este fenómeno es muy habitual.</p>
569
570        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
571          <p class="m-0"><strong>Dato importante:</strong> el aire interior de una vivienda contiene mucho vapor: cocinar, ducharse, secar ropa o simplemente respirar generan humedad. Sin un aislamiento correcto, ese vapor se transforma en agua sobre las superficies frías.</p>
572        </div>
573
574        <h2>Por qué un buen aislamiento elimina la condensación</h2>
575        <p>Cuando se aísla la cubierta, la temperatura interior del techo sube. Al estar más cálido, el vapor de agua deja de condensar sobre él. La humedad sigue presente en el aire, pero se evacúa con la ventilación normal de la vivienda en lugar de acumularse en las superficies.</p>
576
577        <h2>Síntomas claros de condensación bajo cubierta</h2>
578        <ul>
579          <li>Manchas oscuras circulares en el techo del último piso.</li>
580          <li>Moho en esquinas, especialmente en orientación norte.</li>
581          <li>Vigas con marcas de humedad concentradas en su base.</li>
582          <li>Cristales empañados con frecuencia en habitaciones altas.</li>
583          <li>Olor a humedad persistente, sobre todo en invierno.</li>
584        </ul>
585
586        <h2>Tabla: filtración vs. condensación</h2>
587        <div class="overflow-x-auto my-6">
588          <table class="w-full border-collapse text-left text-sm">
589            <thead class="bg-brand-blue/10">
590              <tr><th class="p-3 border">Característica</th><th class="p-3 border">Filtración</th><th class="p-3 border">Condensación</th></tr>
591            </thead>
592            <tbody>
593              <tr><td class="p-3 border">Aparece tras lluvia</td><td class="p-3 border">Sí, con rapidez</td><td class="p-3 border">No directamente</td></tr>
594              <tr><td class="p-3 border">Localización</td><td class="p-3 border">Puntual</td><td class="p-3 border">Generalizada</td></tr>
595              <tr><td class="p-3 border">Empeora en invierno</td><td class="p-3 border">No siempre</td><td class="p-3 border">Sí, claramente</td></tr>
596              <tr><td class="p-3 border">Solución habitual</td><td class="p-3 border">Reparar tejado</td><td class="p-3 border">Aislar y ventilar</td></tr>
597            </tbody>
598          </table>
599        </div>
600
601        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
602          <p class="m-0"><strong>Consejo del experto:</strong> si las manchas aparecen año tras año en invierno y la lluvia no las activa, casi seguro estás ante un problema de condensación. Reparar el tejado no lo solucionará.</p>
603        </div>
604
605        <h2>¿Sabías que…?</h2>
606        <p>El moho que aparece en techos y esquinas no es solo un problema estético: puede provocar problemas respiratorios, agravar alergias y deteriorar la calidad del aire interior. Solucionarlo no es un capricho, es una cuestión de salud.</p>
607
608        <h2>Mini caso real: casa de piedra en Lugo</h2>
609        <p>Vivienda de piedra construida a principios del siglo XX, con desván abuhardillado. La propietaria pintaba el techo cada año para tapar las manchas de moho. Tras estudio técnico, se confirmó que el origen era condensación, no filtración. Se proyectó celulosa sobre el forjado del desván y se garantizó la ventilación de la cámara. Tres inviernos después, las manchas no han vuelto a aparecer.</p>
610
611        <h2>Antes / Después en una buhardilla en Asturias</h2>
612        <ul>
613          <li><strong>Antes:</strong> moho recurrente, sensación de humedad permanente, gasto en deshumidificadores y pintura cada año.</li>
614          <li><strong>Después de aislar y ventilar:</strong> ambiente seco, sin moho ni manchas, mejor calidad de aire y reducción del consumo de calefacción.</li>
615        </ul>
616
617        <h2>Errores frecuentes</h2>
618        <ul>
619          <li>Pintar el techo sin tratar la causa de la humedad.</li>
620          <li>Cerrar todas las rejillas de ventilación pensando que entra frío.</li>
621          <li>Aislar sin colocar barrera de vapor cuando es necesaria.</li>
622          <li>Confundir el problema con una filtración y reformar el tejado sin necesidad.</li>
623        </ul>
624
625        <h2>Cómo encaja la solución en el programa CAE</h2>
626        <p>El aislamiento de cubierta o de buhardilla es exactamente el tipo de actuación que el programa CAE busca financiar: reduce la demanda energética, mejora el confort y, como efecto colateral, elimina la condensación. La compañía energética obligada cubre parte del c
626oste a cambio del ahorro energético generado, en función de la elegibilidad de la vivienda.</p>
627
628        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
629          <p class="font-semibold mb-3">¿Tu buhardilla tiene humedad o moho recurrente?</p>
630          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar diagnóstico técnico</button>
631        </div>
632
633        <h2>Preguntas frecuentes</h2>
634        <h3>¿Cómo sé si mi humedad es por condensación?</h3>
635        <p>Aparece en invierno, no se activa con la lluvia y se localiza en zonas frías como techos y esquinas exteriores.</p>
636        <h3>¿Aislar elimina toda la humedad?</h3>
637        <p>Elimina la causada por condensación. Las filtraciones requieren reparar el tejado.</p>
638        <h3>¿Es peligroso vivir con moho?</h3>
639        <p>Sí. Puede provocar alergias, irritaciones y problemas respiratorios.</p>
640        <h3>¿Qué pasa si aíslo sin ventilar?</h3>
641        <p>El vapor seguirá generándose y puede acumularse. La ventilación adecuada es imprescindible.</p>
642        <h3>¿Las CAE cubren actuaciones contra la humedad?</h3>
643        <p>Cubren actuaciones de aislamiento que mejoran la eficiencia energética. La eliminación de condensaciones suele ser una consecuencia directa.</p>
644      `},"ayudas-europeas-cae-rehabilitacion-vivienda":{title:"Fondos europeos, ayudas autonómicas y CAE: cómo se combinan para rehabilitar tu vivienda",image:"https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1470&q=80",date:"12 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Subvenciones",content:`
645        <p class="lead">El propietario que decide rehabilitar su vivienda en España se encuentra con un panorama de ayudas amplio pero confuso: fondos europeos canalizados por el Ministerio, programas autonómicos, certificados de ahorro energético, deducciones fiscales… Esta guía pone orden y explica, con fuentes oficiales, cómo encajan entre sí y cómo aprovecharlos sin perder oportunidades.</p>
646
647        <div class="my-8 rounded-xl overflow-hidden shadow">
648          <img src="https://images.unsplash.com/photo-1605497788044-5a32c7078486?auto=format&fit=crop&w=1374&q=80" alt="Edificio residencial rehabilitado en una ciudad de Castilla y León" />
649        </div>
650
651        <h2>El marco general: PRTR y rehabilitación energética</h2>
652        <p>El <strong>Plan de Recuperación, Transformación y Resiliencia</strong> (PRTR) ha movilizado fondos europeos para impulsar la rehabilitación energética del parque residencial español. El <a href="https://www.mivau.gob.es/vivienda/ayudas-europeas-rehabilitacion-edificios-viviendas" target="_blank" rel="noopener">Ministerio de Vivienda y Agenda Urbana (MIVAU)</a> coordina varios programas, gestionados por las comunidades autónomas. Entre ellos de
652staca el <a href="https://www.mivau.gob.es/ministerio/proyectos-singulares/prtr/vivienda-y-agenda-urbana/programa-de-ayuda-las-actuaciones-de-mejora-de-la-eficiencia-energetica-en-viviendas" target="_blank" rel="noopener">programa de ayuda a las actuaciones de mejora de la eficiencia energética en viviendas</a>.</p>
653
654        <h2>Las CAE: un mecanismo distinto pero complementario</h2>
655        <p>Los <strong>Certificados de Ahorro Energético</strong> no son una subvención clásica. Son un sistema de mercado en el que las grandes comercializadoras de energía financian actuaciones de eficiencia para cumplir su cuota de ahorro obligatoria. El propietario no rellena un expediente público: trabaja con un instalador homologado que canaliza la actuación.</p>
656
657        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
658          <p class="m-0"><strong>Dato importante:</strong> las CAE son compatibles con muchas otras ayudas, pero no siempre con la misma actuación. Hay que diseñar el plan de obra teniendo en cuenta cada programa.</p>
659        </div>
660
661        <h2>Programas autonómicos de referencia</h2>
662        <h3>Castilla y León</h3>
663        <p>La <a href="https://vivienda.jcyl.es/web/es/rehabilitacion-urbana/ayudas-rehabilitacion-eficiencia-sostenibilidad.html" target="_blank" rel="noopener">Junta de Castilla y León</a> gestiona ayudas para actuaciones de rehabilitación energética en edificios y viviendas, dentro del marco del PRTR. Pueden financiar mejoras en envolvente, instalaciones y accesibilidad.</p>
664        <h3>Comunidad de Madrid</h3>
665        <p>La <a href="https://www.comunidad.madrid/vivienda/ayudas-actuaciones-rehabilitacion-energetica-edificios-residenciales-viviendas-prtr" target="_blank" rel="noopener">Comunidad de Madrid</a> publica convocatorias específicas para actuaciones de rehabilitación energética en edificios residenciales y viviendas, con porcentajes de financiación variables según la mejora energética conseguida.</p>
666        <h3>Otras comunidades</h3>
667        <p>Asturias, Cantabria, Galicia, La Rioja, Navarra y País Vasco mantienen programas equivalentes con sus propias convocatorias. Conviene consultar siempre la convocatoria autonómica vigente.</p>
668
669        <h2>Tabla: comparativa de mecanismos</h2>
670        <div class="overflow-x-auto my-6">
671          <table class="w-full border-collapse text-left text-sm">
672            <thead class="bg-brand-blue/10">
673              <tr><th class="p-3 border">Mecanismo</th><th class="p-3 border">Origen</th><th class="p-3 border">Tipo</th><th class="p-3 border">Tramitación</th></tr>
674            </thead>
675            <tbody>
676              <tr><td class="p-3 border">CAE</td><td class="p-3 border">Sujeto obligado (comercializadora)</td><td class="p-3 border">Financiación de actuación</td><td class="p-3 border">A través de instalador</td></tr>
677              <tr><td class="p-3 border">PRTR / MIVAU</td><td class="p-3 border">Fondos europeos</td><td class="p-3 border">Subvención</td><td class="p-3 border">CCAA y agentes rehabilitadores</td></tr>
678              <tr><td class="p-3 border">Ayudas autonómicas</td><td class="p-3 border">Comunidad autónoma</td><td class="p-3 border">Subvención</td><td class="p-3 border">Convocatoria pública</td></tr>
679              <tr><td class="p-3 border">Deducciones IRPF</td><td class="p-3 border">Estado</td><td class="p-3 border">Beneficio fiscal</td><td class="p-3 border">Declaración de la renta</td></tr>
680            </tbody>
681          </table>
682        </div>
683
684        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
685          <p class="m-0"><strong>Consejo del experto:</strong> antes de elegir, evalúa qué actuaciones quieres acometer y en qué orden. Cubierta, fachada, ventanas e instalaciones tienen tratamientos distintos en cada programa.</p>
686        </div>
687
688        <h2>Estrategias habituales de combinación</h2>
689        <ul>
690          <li><strong>CAE para aislar la cubierta o buhardilla</strong>, ayudas autonómicas para sustituir ventanas o reformar fachada.</li>
691          <li><strong>PRTR para una rehabilitación integral</strong>, complementada con deducciones fiscales si procede.</li>
692          <li><strong>CAE como puerta de entrada:</strong> intervención rápida y de bajo coste para mejorar el certificado y acceder después a otras ayudas.</li>
693        </ul>
694
695        <h2>¿Sabías que…?</h2>
696        <p>El MIVAU vincula buena parte de las ayudas a la <strong>mejora de la calificación energética</strong>. Si la rehabilitación consigue subir varias letras, los porcentajes de subvención pueden ser sensiblemente mayores. Los datos detallados están disponibles en su <a href="https://www.mivau.gob.es/vivienda/ayudas-europeas-rehabilitacion-edificios-viviendas" target="_blank" rel="noopener">portal oficial</a>.</p>
697
698        <h2>Mini caso real: vivienda en Valladolid</h2>
699        <p>Vivienda unifamiliar de 145 m² construida en 1975, calificación F. Se aisló la cubierta con una actuación financiada parcialmente por CAE, se cambiaron tres ventanas con apoyo de la convocatoria autonómica 
699y se solicitó la deducción fiscal correspondiente. Resultado final: calificación C, ahorro energético cercano al 50 % y coste neto para el propietario muy inferior al de una rehabilitación sin ayudas.</p>
700
701        <h2>Antes / Después: cómo cambia el escenario económico</h2>
702        <ul>
703          <li><strong>Sin combinar ayudas:</strong> el propietario asume el 100 % del coste de cada actuación.</li>
704          <li><strong>Combinando CAE + autonómica + fiscal:</strong> el coste neto puede reducirse de forma muy significativa, en función de la elegibilidad de cada programa.</li>
705        </ul>
706
707        <h2>Errores frecuentes</h2>
708        <ul>
709          <li>Solicitar una ayuda sin comprobar incompatibilidades con otras.</li>
710          <li>Empezar la obra antes de tener la subvención aprobada (en programas que lo exigen).</li>
711          <li>Ignorar la deducción fiscal del IRPF por mejora de la eficiencia energética.</li>
712          <li>No actualizar el certificado energético al finalizar la obra.</li>
713        </ul>
714
715        <h2>Cómo planificarlo bien</h2>
716        <ol>
717          <li>Solicita un <strong>certificado energético inicial</strong>.</li>
718          <li>Diseña un <strong>plan de actuaciones</strong> con un técnico cualificado.</li>
719          <li>Identifica qué ayudas encajan con cada actuación.</li>
720          <li>Coordina la ejecución para no perder plazos ni compatibilidades.</li>
721          <li>Actualiza el certificado tras la obra y solicita las deducciones aplicables.</li>
722        </ol>
723
724        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
725          <p class="font-semibold mb-3">¿Quieres saber qué ayudas puedes combinar en tu caso?</p>
726          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar plan de ayudas personalizado</button>
727        </div>
728
729        <h2>Preguntas frecuentes</h2>
730        <h3>¿Las CAE son compatibles con las ayudas del MIVAU?</h3>
731        <p>En muchos casos sí, aunque no sobre la misma actuación. Hay que estudiar cada combinación.</p>
732        <h3>¿Qué ayuda es más rápida de obtener?</h3>
733        <p>Generalmente, la financiación vía CAE, porque no depende de convocatorias públicas.</p>
734        <h3>¿Las subvenciones cubren toda la obra?</h3>
735        <p>No. Cubren un porcentaje variable según el programa y la mejora energética conseguida.</p>
736        <h3>¿Tengo que adelantar el dinero?</h3>
737        <p>Suele ser así en programas autonómicos. Las CAE, en cambio, suelen aplicarse como descuento directo.</p>
738        <h3>¿Dónde puedo consultar las convocatorias oficiales?</h3>
739        <p>En el portal del <a href="https://www.mivau.gob.es/vivienda/ayudas-europeas-rehabilitacion-edificios-viviendas" target="_blank" rel="noopener">MIVAU</a> y en las webs de vivienda de cada comunidad autónoma.</p>
740      `},"aislar-cubierta-inclinada-casas-rurales-norte":{title:"Aislar la cubierta inclinada en casas rurales del norte: la inversión que más ahorra",image:"https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1470&q=80",date:"10 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Aislamiento",content:`
741        <p class="lead">En las casas rurales del norte de España —Asturias, Cantabria, Galicia, País Vasco, La Rioja, Navarra y buena parte de Castilla y León— la <strong>cubierta inclinada</strong> es, casi siempre, el punto más débil del envolvente térmico. Aislarla bien suele ser la actuación con mayor retorno energético posible y, en muchos casos, puede estar parcialmente financiada por las <strong>ayudas CAE</strong>, en función de la elegibilidad de la vivienda.</p>
742
743        <h2>Por qué la cubierta inclinada es el principal foco de pérdidas</h2>
744        <p>El calor sube. Es física pura. En una vivienda con cubierta inclinada sin aislar, el aire caliente generado por la calefacción se acumula bajo el tejado y se disipa a través de las tejas, los rastreles y los huecos del entablado. En invierno, el resultado es claro: la caldera funciona más horas para mantener una temperatura que nunca termina de estabilizarse.</p>
745        <p>En zonas como el interior de Lugo, los valles de Cantabria o las montañas de León, el termómetro puede mantenerse bajo cero durante semanas. Cada grado perdido por la cubierta 
745se traduce en gasto.</p>
746
747        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
748          <p class="m-0"><strong>Dato clave:</strong> en una vivienda rural antigua del norte, hasta el <strong>30 % del calor</strong> generado por la calefacción puede escaparse por la cubierta inclinada.</p>
749        </div>
750
751        <h2>Tipos de cubierta inclinada en el norte de España</h2>
752        <ul>
753          <li><strong>Cubierta de teja cerámica</strong> sobre tablero de madera: muy habitual en Galicia y Asturias.</li>
754          <li><strong>Cubierta de pizarra</strong> con rastreles: común en León, Lugo y Ourense.</li>
755          <li><strong>Cubierta de teja con desván habitable</strong>: típica en pueblos de Burgos, Palencia o Soria.</li>
756          <li><strong>Cubierta mixta con buhardilla acondicionada</strong>: cada vez más frecuente en rehabilitaciones rurales.</li>
757        </ul>
758        <p>Cada tipología requiere una solución distinta. No es lo mismo aislar por el suelo del desván que insuflar material entre los cabios.</p>
759
760        <h2>Tres soluciones técnicas habituales</h2>
761        <h3>1. Aislamiento del suelo del desván no habitable</h3>
762        <p>Es la opción más rápida y económica. Se proyecta o se extiende un material aislante (lana mineral, celulosa) directamente sobre el forjado del último techo habitado. La obra puede ejecutarse en pocas horas y prácticamente sin molestias.</p>
763        <h3>2. Aislamiento bajo cubierta por el interior</h3>
764        <p>Se usa cuando el desván o la buhardilla son habitables. Se coloca el aislante entre cabios o se proyecta poliuretano. Es más invasiva y suele requerir un trasdosado posterior.</p>
765        <h3>3. Aislamiento por el exterior (sarking)</h3>
766        <p>Reservado a rehabilitaciones de cubierta. Permite eliminar puentes térmicos, pero implica retirar la teja. Muy eficaz en casas de piedra antiguas.</p>
767
768        <h2>Tabla comparativa</h2>
769        <div class="overflow-x-auto my-6">
770          <table class="w-full border-collapse text-left">
771            <thead class="bg-brand-blue/10">
772              <tr><th class="p-3 border">Solución</th><th class="p-3 border">Coste relativo</th><th class="p-3 border">Eficacia</th><th class="p-3 border">Tiempo de obra</th></tr>
773            </thead>
774            <tbody>
775              <tr><td class="p-3 border">Suelo del desván</td><td class="p-3 border">€</td><td class="p-3 border">Alta</td><td class="p-3 border">2-4 h</td></tr>
776              <tr><td class="p-3 border">Bajo cubierta interior</td><td class="p-3 border">€€</td><td class="p-3 border">Alta</td><td class="p-3 border">1-3 días</td></tr>
777              <tr><td class="p-3 border">Sarking exterior</td><td class="p-3 border">€€€</td><td class="p-3 border">Muy alta</td><td class="p-3 border">1-2 semanas</td></tr>
778            </tbody>
779          </table>
780        </div>
781
782        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
783          <p class="m-0"><strong>Consejo de experto:</strong> en una casa rural habitada todo el año, el aislamiento del suelo del desván no habitable suele ser la mejor relación inversión/ahorro. Si el espacio se usa, conviene plantear el aislamiento bajo cubierta.</p>
784        </div>
785
786        <h2>Antes / Después en una casa de piedra en Cantabria</h2>
787        <ul>
788          <li><strong>Antes:</strong> 18 °C en el salón con caldera de gasoil al máximo, condensación bajo el tejado, consumo anual de 2.000 € en gasoil.</li>
789          <li><strong>Después:</strong> 21 °C estables, ausencia de condensación, consumo reducido aproximadamente un 35 % según el primer año post-obra.</li>
790        </ul>
791
792        <h2>Errores frecuentes al aislar una cubierta rural</h2>
793        <ul>
794          <li>Olvidar la <strong>ventilación</strong> de la cámara bajo cubierta.</li>
795          <li>Elegir un material por precio sin valorar su comportamiento frente a la humedad.</li>
796          <li>No tratar los <strong>puentes térmicos</strong> en encuentros con muros.</li>
797          <li>Confiar la obra a quien no es <strong>instalador homologado CAE</strong>.</li>
798        </ul>
799
800        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
801          <p class="font-semibold mb-3">¿Tu cubierta inclinada está sin aislar o con aislamiento deficiente?</p>
802          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar estudio técnico sin compromiso</button>
803        </div>
804
805        <h2>Preguntas frecuentes</h2>
806        <h3>
806¿Puedo aislar la cubierta sin retirar las tejas?</h3>
807        <p>Sí. La mayoría de actuaciones financiables con CAE se ejecutan por el interior, sin tocar la teja.</p>
808        <h3>¿Cuánto tarda la obra en una casa rural?</h3>
809        <p>Si se aísla el suelo del desván, normalmente entre 2 y 4 horas. Si se actúa bajo cubierta habitable, de 1 a 3 días.</p>
810        <h3>¿Qué material funciona mejor en zonas húmedas como Galicia o Asturias?</h3>
811        <p>La <strong>lana mineral</strong> y la <strong>celulosa</strong> tratada se comportan muy bien si se garantiza la ventilación de la cámara.</p>
812        <h3>¿Es compatible con tejados de pizarra?</h3>
813        <p>Sí, siempre que el aislamiento se ejecute en el plano horizontal del último forjado o entre cabios desde el interior.</p>
814        <h3>¿Las ayudas CAE cubren toda la obra?</h3>
815        <p>Cubren una parte importante en función del ahorro energético generado y de la elegibilidad de la vivienda. No existe la “gratuidad garantizada”.</p>
816      `},"detectar-puentes-termicos-vivienda":{title:"Cómo detectar puentes térmicos en tu vivienda (y por qué disparan tu factura)",image:"https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1470&q=80",date:"8 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Diagnóstico",content:`
817        <p class="lead">Si cada invierno la calefacción funciona a tope y la casa nunca termina de calentarse, lo más probable es que tu vivienda tenga <strong>puentes térmicos</strong>. Son zonas concretas del envolvente por las que el calor escapa con mucha más facilidad que por el resto. Detectarlos es el primer paso para actuar y, en muchos casos, las medidas correctoras pueden estar parcialmente financiadas por las <strong>ayudas CAE</strong>.</p>
818
819        <h2>¿Qué es exactamente un puente térmico?</h2>
820        <p>Un puente térmico es una discontinuidad en el aislamiento. Puede deberse al diseño constructivo (un pilar de hormigón que atraviesa la fachada) o a una ejecución deficiente (una junta mal sellada, un encuentro entre cubierta y muro sin aislar). El resultado es siempre el mismo: pérdida de calor en invierno, entrada de calor en verano y, con frecuencia, condensaciones y humedades.</p>
821
822        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
823          <p class="m-0"><strong>Dato clave:</strong> los puentes térmicos pueden representar entre el <strong>10 % y el 30 %</strong> de las pérdidas energéticas totales de una vivienda mal aislada.</p>
824        </div>
825
826        <h2>Señales que delatan un puente térmico</h2>
827        <ul>
828          <li>Manchas oscuras en esquinas, alrededor de ventanas o en el encuentro techo-pared.</li>
829          <li>Sensación de pared fría al tacto en una zona concreta.</li>
830          <li>Condensación recurrente en cristales o marcos.</li>
831          <li>Moho que aparece siempre en el mismo punto.</li>
832          <li>Diferencia clara de temperatura entre habitaciones.</li>
833          <li>Goteos o humedades en la última planta bajo cubierta.</li>
834        </ul>
835
836        <h2>Zonas habituales en viviendas españolas</h2>
837        <h3>Encuentro fachada-cubierta</h3>
838        <p>Muy común en casas antiguas de Castilla y León y norte peninsular. La cubierta no está aislada y la fachada termina “fría” en su parte alta.</p>
839        <h3>Pilares y cantos de forjado</h3>
840        <p>Frecuentes en edificios de los años 60 a 90. El hormigón conduce el calor con facilidad.</p>
841        <h3>Cajas de persiana</h3>
842        <p>Una caja de persiana sin aislar puede equivaler a tener una ventana abierta de varios centímetros.</p>
843        <h3>Suelos sobre espacios no calefactados</h3>
844        <p>Suelo sobre garaje, sobre porche o sobre lonja. Sin aislar, el suelo siempre estará frío.</p>
845
846        <h2>Cómo se detectan: del método casero al diagnóstico profesional</h2>
847        <ol>
848          <li><strong>Inspección visual:</strong> manchas, humedades, moho.</li>
849          <li><strong>Termómetro infrarrojo:</strong> permite ver diferencias de temperatura entre superficies.</li>
850          <li><strong>Cámara termográfica:</strong> es la herramienta más fiable; un técnico cualificado puede mapear toda la vivienda.</li>
851          <li><strong>
851Test blower-door:</strong> mide infiltraciones de aire reales.</li>
852        </ol>
853
854        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
855          <p class="m-0"><strong>Consejo de experto:</strong> antes de invertir en cambiar ventanas, comprueba que el problema no esté en la cubierta o en los encuentros. Muchas veces aislar la buhardilla soluciona más que sustituir carpinterías.</p>
856        </div>
857
858        <h2>Tabla: puente térmico vs. solución habitual</h2>
859        <div class="overflow-x-auto my-6">
860          <table class="w-full border-collapse text-left">
861            <thead class="bg-brand-blue/10">
862              <tr><th class="p-3 border">Puente térmico</th><th class="p-3 border">Solución</th><th class="p-3 border">Encajable en CAE</th></tr>
863            </thead>
864            <tbody>
865              <tr><td class="p-3 border">Encuentro cubierta-fachada</td><td class="p-3 border">Aislamiento de cubierta</td><td class="p-3 border">Sí, según elegibilidad</td></tr>
866              <tr><td class="p-3 border">Caja de persiana</td><td class="p-3 border">Aislamiento puntual o sustitución</td><td class="p-3 border">Parcial</td></tr>
867              <tr><td class="p-3 border">Pilares de fachada</td><td class="p-3 border">SATE / trasdosado interior</td><td class="p-3 border">Sí, según elegibilidad</td></tr>
868              <tr><td class="p-3 border">Suelo sobre espacio frío</td><td class="p-3 border">Aislamiento por debajo</td><td class="p-3 border">Sí, según elegibilidad</td></tr>
869            </tbody>
870          </table>
871        </div>
872
873        <h2>Antes / Después en un piso de Valladolid</h2>
874        <ul>
875          <li><strong>Antes:</strong> condensación recurrente en esquinas del salón, paredes a 14 °C con la calefacción a 21 °C, factura de gas en enero superior a 200 €.</li>
876          <li><strong>Después de aislar cubierta y trasdosar muro norte:</strong> paredes a 19 °C, condensación desaparecida, factura mensual reducida de forma notable.</li>
877        </ul>
878
879        <h2>Errores frecuentes</h2>
880        <ul>
881          <li>Tapar la mancha sin tratar la causa.</li>
882          <li>Cambiar la caldera sin haber aislado.</li>
883          <li>Cerrar rejillas de ventilación pensando que ahorra.</li>
884          <li>Confiar en un “experto” que no realiza diagnóstico técnico.</li>
885        </ul>
886
887        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
888          <p class="font-semibold mb-3">¿Sospechas que tu vivienda tiene puentes térmicos importantes?</p>
889          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar diagnóstico personalizado</button>
890        </div>
891
892        <h2>Preguntas frecuentes</h2>
893        <h3>¿Es normal que una pared esté fría al tacto en invierno?</h3>
894        <p>No debería estarlo de forma marcada. Si lo está, hay un problema de aislamiento.</p>
895        <h3>¿Las humedades siempre indican un puente térmico?</h3>
896        <p>Las humedades por condensación, sí, en la mayoría de casos. Las de filtración tienen otro origen.</p>
897        <h3>¿Puedo medir los puentes térmicos yo mismo?</h3>
898        <p>De forma orientativa con un termómetro infrarrojo, sí. Para un diagnóstico fiable se necesita una cámara termográfica.</p>
899        <h3>¿Aislar la cubierta elimina los puentes térmicos del muro?</h3>
900        <p>Reduce los del encuentro cubierta-fachada. Para los de muro hace falta una actuación específica.</p>
901        <h3>¿Existen ayudas para corregir puentes térmicos?</h3>
902        <p>Sí. Las actuaciones de aislamiento que reducen la demanda energética pueden encajar en el programa CAE, en función del ahorro generado.</p>
903      `},"lana-mineral-celulosa-eps-comparativa":{title:"Lana mineral, celulosa o EPS: qué material elegir para aislar tu buhardilla",image:"https://images.unsplash.com/photo-1597176116047-876a32798fcc?auto=format&fit=crop&w=1470&q=80",date:"6 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Materiales",content:`
904        <p class="lead">A la hora de aislar una buhardilla o un desván, la elección del material condiciona el rendimiento térmico durante décadas. <strong>Lana mineral</strong>, <strong>celulosa insuflada</strong> y <strong>EPS</strong> son los tres materiales más utilizados en España. Cada uno tiene ventajas reales y limitaciones que conviene conocer antes de firmar un presupuesto.</p>
905
906        <h2>Tres familias, tres comportamientos</h2>
907        <h3>Lana mineral (lana de roca y lana de vidrio)</h3>
908        <p>Es el material más utilizado en rehabilitación residencial. Aporta excelente comportamiento térmico, buen aislamiento acústico y un comportamiento al fuego de los más altos del mercado.</p>
909        <h3>Celulosa insuflada</h3>
910        <p>Fabricada a partir de papel reciclado tratado. Se proyecta o se insufla en buhardillas, desvanes y cámaras. Muy buena gestión de la humedad y excelente desempeño en climas fríos como los del norte pe
910ninsular.</p>
911        <h3>Poliestireno expandido (EPS)</h3>
912        <p>El “corcho blanco” de toda la vida. Ligero, económico y fácil de instalar en placas. Más usado en cubiertas planas que en buhardillas tradicionales.</p>
913
914        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
915          <p class="m-0"><strong>Dato clave:</strong> en una buhardilla típica de 80 m², una lana mineral o celulosa de espesor adecuado puede reducir las pérdidas por cubierta en torno a un <strong>70-80 %</strong>.</p>
916        </div>
917
918        <h2>Tabla comparativa técnica</h2>
919        <div class="overflow-x-auto my-6">
920          <table class="w-full border-collapse text-left text-sm">
921            <thead class="bg-brand-blue/10">
922              <tr>
923                <th class="p-3 border">Material</th>
924                <th class="p-3 border">Conductividad λ (W/mK)</th>
925                <th class="p-3 border">Reacción al fuego</th>
926                <th class="p-3 border">Acústica</th>
927                <th class="p-3 border">Humedad</th>
928                <th class="p-3 border">Coste</th>
929              </tr>
930            </thead>
931            <tbody>
932              <tr><td class="p-3 border">Lana mineral</td><td class="p-3 border">0,032 - 0,040</td><td class="p-3 border">A1 (no combustible)</td><td class="p-3 border">Muy buena</td><td class="p-3 border">Buena con barrera</td><td class="p-3 border">€€</td></tr>
933              <tr><td class="p-3 border">Celulosa</td><td class="p-3 border">0,038 - 0,042</td><td class="p-3 border">B-s2,d0</td><td class="p-3 border">Excelente</td><td class="p-3 border">Muy buena (regula vapor)</td><td class="p-3 border">€€</td></tr>
934              <tr><td class="p-3 border">EPS</td><td class="p-3 border">0,033 - 0,038</td><td class="p-3 border">E</td><td class="p-3 border">Limitada</td><td class="p-3 border">Buena (no absorbe)</td><td class="p-3 border">€</td></tr>
935            </tbody>
936          </table>
937        </div>
938
939        <h2>¿Cuál elegir según tu caso?</h2>
940        <ul>
941          <li><strong>Vivienda antigua del norte con humedad ambiental alta:</strong> celulosa o lana mineral con barrera de vapor.</li>
942          <li><strong>Buhardilla con vigas vistas y ruido del tejado:</strong> lana mineral por su comportamiento acústico.</li>
943          <li><strong>Cubierta plana de bloque de pisos:</strong> EPS o XPS por su resistencia mecánica.</li>
944          <li><strong>Desván no habitable de fácil acceso:</strong> celulosa insuflada, rapidísima de aplicar.</li>
945        </ul>
946
947        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
948          <p class="m-0"><strong>Consejo de experto:</strong> el material correcto sin un buen instalador no sirve de nada. Pide siempre a tu instalador CAE el espesor previsto, la marca y la ficha técnica.</p>
949        </div>
950
951        <h2>Antes / Después con cada material</h2>
952        <ul>
953          <li><strong>Buhardilla con lana mineral en Burgos:</strong> reducción de la demanda de calefacción cercana al 30 %.</li>
954          <li><strong>Desván con celulosa insuflada en Lugo:</strong> desaparición de la condensación bajo cubierta y mejora de confort acústico.</li>
955          <li><strong>Cubierta plana con EPS en Valladolid:</strong> reducción del consumo de aire acondicionado en verano.</li>
956        </ul>
957
958        <h2>Errores frecuentes al elegir material</h2>
959        <ul>
960          <li>Comparar materiales por precio por m² sin tener en cuenta el espesor.</li>
961          <li>Olvidar la <strong>conductividad real</strong> y el espesor instalado.</li>
962          <li>Renunciar a la barrera de vapor cuando es necesaria.</li>
963          <li>No exigir factura ni ficha técnica del producto.</li>
964        </ul>
965
966        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
967          <p class="font-semibold mb-3">¿Quieres saber qué material es ideal para tu buhardilla?</p>
968          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar análisis energético personalizado</button>
969        </div>
970
971        <h2>Preguntas frecuentes</h2>
972        <h3>¿Cuál aísla más por centímetro?</h3>
973        <p>La lana mineral de alta densidad y algunos EPS optimizados están a la cabeza, con conductividades cercanas a 0,032.</p>
974        <h3>¿Cuál es más ecológico?</h3>
975        <p>La celulosa, fabricada con papel reciclado, suele tener la huella de carbono más baja.</p>
976        <h3>¿Pueden combinarse materiales?</h3>
977        <p>Sí. Es habitual combinar lana mineral con paneles rígidos en cubiertas complejas.</p>
978        <h3>¿Qué espesor mínimo se recomienda en el norte de España?</h3>
979        <p>Como referencia, 18-22 cm en cubierta para alcanzar valores eficientes. El proyecto técnico lo concreta.<
979/p>
980        <h3>¿Las ayudas CAE imponen el material?</h3>
981        <p>No. Imponen un nivel de ahorro energético. El instalador propone el material y el espesor que lo consiguen.</p>
982      `},"calefaccion-pellets-vs-gas-castilla-leon":{title:"Pellets, gas o bomba de calor en Castilla y León: ¿qué calefacción combina mejor con un buen aislamiento?",image:"https://images.unsplash.com/photo-1581094288338-2314dddb7ece?auto=format&fit=crop&w=1470&q=80",date:"3 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Calefacción",content:`
983        <p class="lead">Aislar es siempre el primer paso. Pero, una vez reducidas las pérdidas, la pregunta lógica es: ¿qué sistema de calefacción rentabiliza mejor la inversión en climas tan exigentes como los de <strong>Castilla y León</strong>? Aquí entra el debate entre <strong>pellets, gas natural, gasoil y bomba de calor</strong>.</p>
984
985        <h2>El contexto climático: invierno largo y duro</h2>
986        <p>Provincias como Soria, Ávila, Burgos, Segovia o el norte de León acumulan más de 3.000 grados-día de calefacción al año. Es decir, el sistema de calefacción funciona durante muchas horas y, por tanto, su eficiencia tiene impacto directo en la factura.</p>
987
988        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
989          <p class="m-0"><strong>Dato clave:</strong> en una vivienda bien aislada, un cambio de sistema de calefacción puede suponer entre un <strong>20 % y un 45 %</strong> de ahorro adicional.</p>
990        </div>
991
992        <h2>Repaso honesto a cada sistema</h2>
993        <h3>Caldera de gasoil</h3>
994        <p>Muy implantada en zonas rurales sin gas natural. Coste energético elevado y muy expuesto a la volatilidad del precio del crudo.</p>
995        <h3>Caldera de gas natural</h3>
996        <p>Estable, eficiente con caldera de condensación, dependiente de la red de distribución. Muy común en cabeceras de comarca.</p>
997        <h3>Caldera o estufa de pellets</h3>
998        <p>Renovable, precio del combustible más estable, requiere espacio para silo y mantenimiento periódico. Excelente combinación con aislamiento de cubierta en casas rurales.</p>
999        <h3>Bomba de calor aerotérmica</h3>
1000        <p>Eficiencia altísima cuando el aislamiento es bueno. Su rendimiento (COP) cae si la vivienda pierde calor. Por eso aislar primero es clave.</p>
1001
1002        <h2>Tabla comparativa orientativa</h2>
1003        <div class="overflow-x-auto my-6">
1004          <table class="w-full border-collapse text-left text-sm">
1005            <thead class="bg-brand-blue/10">
1006              <tr><th class="p-3 border">Sistema</th><th class="p-3 border">Inversión</th><th class="p-3 border">Coste energético</th><th class="p-3 border">Encaja con aislamiento</th><th class="p-3 border">Mantenimiento</th></tr>
1007            </thead>
1008            <tbody>
1009              <tr><td class="p-3 border">Gasoil</td><td class="p-3 border">€€</td><td class="p-3 border">Alto y volátil</td><td class="p-3 border">Sí, pero menos rentable</td><td class="p-3 border">Anual</td></tr>
1010              <tr><td class="p-3 border">Gas natural</td><td class="p-3 border">€€</td><td class="p-3 border">Medio</td><td class="p-3 border">Sí</td><td class="p-3 border">Anual</td></tr>
1011              <tr><td class="p-3 border">Pellets</td><td class="p-3 border">€€€</td><td class="p-3 border">Medio-bajo</td><td class="p-3 border">Muy bien</td><td class="p-3 border">Periódico</td></tr>
1012              <tr><td class="p-3 border">Aerotermia</td><td class="p-3 border">€€€</td><td class="p-3 border">Bajo si COP alto</td><td class="p-3 border">Excelente</td><td class="p-3 border">Bajo</td></tr>
1013            </tbody>
1014          </table>
1015        </div>
1016
1017        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
1018          <p class="m-0"><strong>Consejo de experto:</strong> instalar aerotermia en una vivienda mal aislada es tirar dinero. Primero aísla la cubierta y elimina puentes térmicos; después, plantea el cambio de sistema.</p>
1019        </div>
1020
1021        <h2>Antes / Después en una vivienda en Burgos</h2>
1022        <ul>
1023          <li><strong>Antes:</strong> caldera de gasoil, vivienda sin aislar, gasto anual de 2.300 € en combustible.</li>
1024          <li><strong>Después:</strong> aislamiento de buhardilla con CAE + aerotermia, gasto reducido aproximadamente a la mitad y mejor confort.</li>
1025        </ul>
1026
1027        <h2>Errores frecuentes</h2>
1028        <ul>
1029          <li>Cambiar de caldera sin haber aislado.</li>
1030          <li>Sobredimensionar la potencia del nuevo sistema.</li>
1031          <li>Olvidar la regulación: termostatos por estancia y programación horaria.</li>
1032          <li>Comparar sistemas solo por inversión, sin mirar la factura anual.</li>
1033        </ul>
1034
1035        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
1036          <p class="font-semibold mb-3">Reduce el gasto en calefacción este invierno</p>
1037          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar estudio de ahorro</button>
1038        </div>
1039
1040        <h2>Preguntas frecuentes</h2>
1041        <h3>¿Es rentable cambiar de gasoil a pellets en una casa rural?</h3>
1042        <p>En la mayoría de casos, sí, sobre todo si la vivienda se aísla previamente.</p>
1043        <h3>¿Funciona la aerotermia con -8 °C en Soria?</h3>
1044        <p>Funciona, pero su COP baja. Por eso un buen aislamiento es imprescindible.</p>
1045        <h3>
1045¿Puedo combinar pellets y aerotermia?</h3>
1046        <p>Sí. En sistemas híbridos suelen complementarse muy bien en climas fríos.</p>
1047        <h3>¿Las ayudas CAE se aplican al cambio de caldera?</h3>
1048        <p>Algunas actuaciones de mejora de la generación pueden encajar, pero el grueso de los CAE se centra en aislamiento e iluminación eficiente.</p>
1049        <h3>¿Cuánto tarda en amortizarse un cambio de sistema?</h3>
1050        <p>Depende del coste del combustible anterior y del nivel de aislamiento. Entre 5 y 10 años es lo habitual.</p>
1051      `},"rehabilitacion-energetica-hoja-ruta-viviendas-antiguas":{title:"Rehabilitación energética 2026: hoja de ruta para una vivienda antigua en España",image:"https://images.unsplash.com/photo-1572120360610-d971b9d7767c?auto=format&fit=crop&w=1470&q=80",date:"1 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Rehabilitación",content:`
1052        <p class="lead">Rehabilitar una vivienda antigua sin un orden lógico suele acabar en una factura desproporcionada y resultados decepcionantes. Esta es una <strong>hoja de ruta realista</strong> para mejorar la eficiencia energética de una casa con muchos años en España, combinando <strong>ayudas CAE</strong> con otras subvenciones y priorizando lo que realmente cambia el día a día.</p>
1053
1054        <h2>Por qué importa el orden</h2>
1055        <p>Cambiar la caldera antes de aislar es uno de los errores más caros y más frecuentes. La lógica energética dice: primero reducir la demanda, después optimizar la generación, por último aprovechar renovables. En una casa antigua de Salamanca, Palencia o La Rioja, esa secuencia puede marcar la diferencia entre un ahorro real del 50 % o uno simbólico del 10 %.</p>
1056
1057        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
1058          <p class="m-0"><strong>Dato clave:</strong> en una vivienda anterior a 1980 sin reformas, la demanda de calefacción puede ser hasta <strong>3 veces superior</strong> a la de una vivienda equivalente bien aislada.</p>
1059        </div>
1060
1061        <h2>Fase 1 — Diagnóstico</h2>
1062        <ul>
1063          <li>Certificado energético actualizado.</li>
1064          <li>Inspección termográfica si es posible.</li>
1065          <li>Análisis de facturas reales de los últimos 12 meses.</li>
1066          <li>Listado priorizado de patologías (humedades, puentes térmicos, infiltraciones).</li>
1067        </ul>
1068
1069        <h2>Fase 2 — Reducir la demanda (aislamiento y carpinterías)</h2>
1070        <ul>
1071          <li>Aislamiento de cubierta o buhardilla — <strong>la actuación con mayor retorno</strong>.</li>
1072          <li>Aislamiento de fachada por el interior o SATE en el exterior.</li>
1073          <li>Sustitución de ventanas si su estado es muy deficiente.</li>
1074          <li>Mejora de la estanqueidad y de la ventilación controlada.</li>
1075        </ul>
1076
1077        <h2>Fase 3 — Optimizar la generación</h2>
1078        <ul>
1079          <li>Sustitución de calderas obsoletas por equipos de condensación, aerotermia o biomasa.</li>
1080          <li>Termostatos inteligentes y zonificación.</li>
1081          <li>Sustitución de radiadores si son antiguos y mal dimensionados.</li>
1082        </ul>
1083
1084        <h2>Fase 4 — Aprovechar renovables</h2>
1085        <ul>
1086          <li>Autoconsumo fotovoltaico para apoyar la aerotermia.</li>
1087          <li>Solar térmica para ACS donde tenga sentido.</li>
1088        </ul>
1089
1090        <h2>Tabla: prioridad vs. retorno</h2>
1091        <div class="overflow-x-auto my-6">
1092          <table class="w-full border-collapse text-left text-sm">
1093            <thead class="bg-brand-blue/10">
1094              <tr><th class="p-3 border">Actuación</th><th class="p-3 border">Inversión</th><th class="p-3 border">Ahorro estimado</th><th class="p-3 border">Tiempo de obra</th></tr>
1095            </thead>
1096            <tbody>
1097              <tr><td class="p-3 border">Aislamiento de cubierta</td><td class="p-3 border">€</td><td class="p-3 border">Hasta 30 %</td><td class="p-3 border">Horas</td></tr>
1098              <tr><td class="p-3 border">SATE en fachada</td><td class="p-3 border">
1098€€€</td><td class="p-3 border">15-25 %</td><td class="p-3 border">Semanas</td></tr>
1099              <tr><td class="p-3 border">Sustitución ventanas</td><td class="p-3 border">€€</td><td class="p-3 border">5-15 %</td><td class="p-3 border">Días</td></tr>
1100              <tr><td class="p-3 border">Aerotermia</td><td class="p-3 border">€€€</td><td class="p-3 border">20-40 % adicional</td><td class="p-3 border">Días</td></tr>
1101              <tr><td class="p-3 border">Fotovoltaica</td><td class="p-3 border">€€€</td><td class="p-3 border">Variable</td><td class="p-3 border">Días</td></tr>
1102            </tbody>
1103          </table>
1104        </div>
1105
1106        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
1107          <p class="m-0"><strong>Consejo de experto:</strong> empieza siempre por la cubierta. Es la actuación más rápida, menos invasiva y la que mejor encaja en el programa CAE en la mayoría de viviendas antiguas.</p>
1108        </div>
1109
1110        <h2>Cómo combinar ayudas</h2>
1111        <p>Las <strong>ayudas CAE</strong> pueden cubrir total o parcialmente actuaciones de aislamiento. Otras líneas, como las gestionadas por las comunidades autónomas o los fondos europeos Next Generation, pueden complementar inversiones más amplias (rehabilitación integral, instalación de renovables). La compatibilidad depende del programa concreto y siempre debe verificarse caso por caso.</p>
1112
1113        <h2>Antes / Después en una casa de pueblo en Palencia</h2>
1114        <ul>
1115          <li><strong>Antes:</strong> certificado G, gasto anual en calefacción superior a 2.000 €, sensación de frío permanente.</li>
1116          <li><strong>Después de fases 1-3:</strong> certificado D, gasto reducido en torno al 50 %, confort interior estable todo el invierno.</li>
1117        </ul>
1118
1119        <h2>Errores frecuentes en rehabilitaciones</h2>
1120        <ul>
1121          <li>Empezar por las ventanas en lugar de por la cubierta.</li>
1122          <li>Instalar fotovoltaica sin haber aislado.</li>
1123          <li>No actualizar el certificado energético tras las obras.</li>
1124          <li>Renunciar a las ayudas por desconocimiento.</li>
1125        </ul>
1126
1127        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
1128          <p class="font-semibold mb-3">¿Tu vivienda antigua merece una hoja de ruta personalizada?</p>
1129          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar plan de rehabilitación energética</button>
1130        </div>
1131
1132        <h2>Preguntas frecuentes</h2>
1133        <h3>¿Por dónde debe empezar siempre una rehabilitación energética?</h3>
1134        <p>Por reducir la demanda: aislamiento de cubierta, fachada y, si procede, ventanas.</p>
1135        <h3>¿Las ayudas CAE son compatibles con otras subvenciones?</h3>
1136        <p>En muchos casos sí, aunque no siempre con la misma actuación. Hay que verificar cada programa.</p>
1137        <h3>¿Cuánto puede mejorar el certificado energético?</h3>
1138        <p>Una rehabilitación completa puede subir 2 o incluso 3 letras.</p>
1139        <h3>¿Hace falta vaciar la casa para rehabilitar?</h3>
1140        <p>No. Muchas actuaciones, como el aislamiento de cubierta, se ejecutan sin afectar al uso diario.</p>
1141        <h3>¿Cuánto tarda en recuperarse la inversión?</h3>
1142        <p>Depende del paquete de obras, pero los plazos típicos están entre 5 y 12 años, con beneficios de confort inmediatos.</p>
1143      `},"ayudas-cae-aislamiento-castilla-leon":{title:"Ayudas CAE para aislamiento térmico en Castilla y León: guía completa",image:"https://images.unsplash.com/photo-1542621334-a254cf47733d?auto=format&fit=crop&w=1470&q=80",date:"18 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Subvenciones",content:`
1144        <p class="lead">Las <strong>ayudas CAE para aislamiento térmico</strong> se han convertido en uno de los mecanismos más eficaces para que las familias de <strong>Castilla y León</strong> y el norte de España puedan mejorar el confort de su vivienda y reducir significativamente el coste de la calefacción. Gracias a los <strong>Certificados de Ahorro Energético</strong>, una parte importante de la inversión puede estar financiada por las compañías energéticas obligadas, en función del ah
1144orro energético generado por la actuación.</p>
1145
1146        <div class="my-8 rounded-xl overflow-hidden shadow">
1147          <img src="https://images.unsplash.com/photo-1518780664697-55e3ad937233?auto=format&fit=crop&w=1470&q=80" alt="Vivienda rural en Castilla y León con tejado tradicional" />
1148        </div>
1149
1150        <h2>¿Qué son los Certificados de Ahorro Energético (CAE)?</h2>
1151        <p>Los <strong>CAE</strong> son un mecanismo regulado a nivel estatal que obliga a las grandes comercializadoras de energía a justificar un volumen anual de ahorro energético. Para conseguirlo, financian total o parcialmente actuaciones de eficiencia energética en viviendas y empresas: <strong>aislamiento térmico</strong>, sustitución de calderas, mejora de cerramientos, etc.</p>
1152        <p>El sistema beneficia a tres partes:</p>
1153        <ul>
1154          <li>El propietario, que reduce el coste del aislamiento de su vivienda.</li>
1155          <li>La empresa instaladora homologada, que ejecuta la obra.</li>
1156          <li>La comercializadora obligada, que cumple su cuota de ahorro.</li>
1157        </ul>
1158
1159        <h2>Por qué Castilla y León es una zona prioritaria</h2>
1160        <p>El clima continental de provincias como <strong>León, Burgos, Valladolid, Palencia, Zamora, Salamanca, Segovia, Soria y Ávila</strong> implica inviernos largos y temperaturas que pueden situarse muy por debajo de los 0 °C durante meses. A esto se suma un parque inmobiliario antiguo: gran parte de las viviendas son anteriores a 1980 y carecen de aislamiento adecuado en cubiertas y buhardillas.</p>
1161        <p>El resultado es una <strong>factura de calefacción</strong> que puede duplicar la media nacional. Aislar la cubierta o el desván es, en este contexto, la medida con mayor retorno energético y económico.</p>
1162
1163        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
1164          <p class="m-0"><strong>Dato clave:</strong> en una vivienda mal aislada del norte de España, hasta el <strong>30 % del calor</strong> generado por la calefacción se escapa por el tejado.</p>
1165        </div>
1166
1167        <h2>¿Qué viviendas pueden beneficiarse de las ayudas CAE?</h2>
1168        <ul>
1169          <li>Viviendas unifamiliares con buhardilla, desván o ático sin aislar.</li>
1170          <li>Pisos en última planta bajo cubierta inclinada.</li>
1171          <li>Viviendas con falso techo accesible.</li>
1172          <li>Inmuebles antiguos con elevado consumo de calefacción.</li>
1173        </ul>
1174        <p>Cada caso es distinto. Lo más sensato es <strong>solicitar un estudio de elegibilidad</strong> para verificar si la vivienda cumple los requisitos técnicos.</p>
1175
1176        <h2>Tabla comparativa: vivienda sin aislar vs. vivienda aislada con CAE</h2>
1177        <div class="overflow-x-auto my-6">
1178          <table class="w-full border-collapse text-left">
1179            <thead class="bg-brand-blue/10">
1180              <tr><th class="p-3 border">Concepto</th><th class="p-3 border">Sin aislar</th><th class="p-3 border">Con aislamiento CAE</th></tr>
1181            </thead>
1182            <tbody>
1183              <tr><td class="p-3 border">Pérdidas por la cubierta</td><td class="p-3 border">25-30 %</td><td class="p-3 border">5-8 %</td></tr>
1184              <tr><td class="p-3 border">Factura calefacción anual</td><td class="p-3 border">1.400-1.800 €</td><td class="p-3 border">800-1.100 €</td></tr>
1185              <tr><td class="p-3 border">Confort térmico invierno</td><td class="p-3 border">Bajo</td><td class="p-3 border">Alto</td></tr>
1186              <tr><td class="p-3 border">Certificado energético</td><td class="p-3 border">E / F / G</td><td class="p-3 border">C / D</td></tr>
1187            </tbody>
1188          </table>
1189        </div>
1190
1191        <h2>¿Cuánto cuesta aislar la vivienda con ayudas CAE?</h2>
1192        <p>El precio depende de la superficie, el tipo de cubierta y el material elegido (lana mineral, celulosa, EPS…). En muchos casos, gracias a los CAE, <strong>el coste para el propietario puede reducirse drásticamente</strong>, llegando incluso a cantidades simbólicas según elegibilidad y volumen de ahorro generado.</p>
1193
1194        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
1195          <p class="m-0"><strong>Consejo de experto:</strong> desconfía de las promesas de “gratis garantizado”. Lo correcto es decir que la actuación <em>puede estar financiada</em>
1195 en función del ahorro energético generado y de la elegibilidad de la vivienda.</p>
1196        </div>
1197
1198        <h2>Antes / Después de aislar la cubierta en una vivienda en León</h2>
1199        <ul>
1200          <li><strong>Antes:</strong> 19 °C en el salón con la caldera al máximo, condensación en muros, factura mensual de gas superior a 180 € en enero.</li>
1201          <li><strong>Después:</strong> 21 °C estables, ausencia de condensación, factura mensual de gas reducida a 95-110 €.</li>
1202        </ul>
1203
1204        <h2>Cómo solicitar las ayudas CAE para aislamiento</h2>
1205        <ol>
1206          <li>Solicita un <strong>estudio gratuito de elegibilidad</strong>.</li>
1207          <li>Visita técnica para evaluar la cubierta o buhardilla.</li>
1208          <li>Presupuesto ajustado al programa CAE.</li>
1209          <li>Firma del contrato y cesión del ahorro energético generado.</li>
1210          <li>Ejecución de la obra (en muchos casos en pocas horas).</li>
1211        </ol>
1212
1213        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
1214          <p class="font-semibold mb-3">Comprueba si tu vivienda puede beneficiarse de las ayudas CAE</p>
1215          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar estudio de elegibilidad</button>
1216        </div>
1217
1218        <h2>Preguntas frecuentes</h2>
1219        <h3>¿Las ayudas CAE están disponibles en toda Castilla y León?</h3>
1220        <p>Sí, los CAE son un mecanismo estatal y aplican en todas las provincias, incluidas León, Burgos, Valladolid, Palencia, Zamora, Salamanca, Segovia, Soria y Ávila.</p>
1221        <h3>¿Hay que devolver el dinero?</h3>
1222        <p>No. La aportación procede de las comercializadoras obligadas a cambio del ahorro energético generado por la obra.</p>
1223        <h3>¿Qué documentación necesito?</h3>
1224        <p>DNI, recibo de suministro y datos básicos de la vivienda. La empresa instaladora se encarga del resto.</p>
1225        <h3>¿Cuánto tarda la obra?</h3>
1226        <p>El aislamiento de buhardillas y desvanes mediante insuflado puede completarse, en muchos casos, en una sola jornada.</p>
1227        <h3>¿Puedo combinar CAE con otras subvenciones?</h3>
1228        <p>Depende de cada programa autonómico. Conviene consultarlo antes de iniciar la obra.</p>
1229      `},"aislar-buhardilla-desvan-ahorro-calefaccion":{title:"Aislar la buhardilla o el desván: una de las formas más rápidas de ahorrar calefacción",image:"https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1470&q=80",date:"16 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Aislamiento",content:`
1230        <p class="lead">Si buscas una forma rápida y eficaz de <strong>ahorrar en calefacción</strong>, aislar la <strong>buhardilla, el desván o el ático</strong> es probablemente la mejor decisión que puedes tomar. La cubierta es la principal vía de pérdida de calor en una vivienda, especialmente en zonas frías como <strong>Castilla y León</strong>, Asturias, Cantabria o el País Vasco.</p>
1231
1232        <div class="my-8 rounded-xl overflow-hidden shadow">
1233          <img src="https://images.unsplash.com/photo-1503594384566-461fe158e797?auto=format&fit=crop&w=1470&q=80" alt="Buhardilla de madera antes de aislamiento térmico" />
1234        </div>
1235
1236        <h2>Tu casa pierde calor por el tejado: por qué ocurre</h2>
1237        <p>El aire caliente sube. Si la cubierta no está bien aislada, ese calor —generado con tu caldera, bomba de calor o radiadores eléctricos— se escapa al exterior. En viviendas antiguas del norte de España es habitual encontrar buhardillas <strong>sin ningún tipo de aislamiento</strong>, lo que dispara el consumo y reduce el confort.</p>
1238
1239        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
1240          <p class="m-0"><strong>Dato clave:</strong> aislar correctamente la cubierta puede reducir entre un <strong>25 % y un 35 %</strong> el consumo de calefacción anual.</p>
1241        </div>
1242
1243        <h2>Ventajas del aislamiento de buhardillas, desvanes y áticos</h2>
1244        <ul>
1245          <li><strong>Reducción inmediata</strong> de la factura de calefacción.</li>
1246          <li>Mayor <strong>confort térmico</strong> en invierno y verano.</li>
1247          <li>Mejora del <strong>certificado energético</strong> de la vivienda.</li>
1248          <li><strong>Revalorización</strong> del inmueble en el mercado.</li>
1249          <li>Obras rápidas y, en muchos casos, sin necesidad de gran reforma.</li>
1250        </ul>
1251
1252        <h2>Tipos de aislamiento más utilizados</h2>
1253        <div class="overflow-x-auto my-6">
1254          <table class="w-full border-collapse text-left">
1255            <thead class="bg-brand-blue/10">
1256              <tr><th class="p-3 border">Material</th><th class="p-3 border">Aplicación</th><th class="p-3 border">Ventaja principal</th></tr>
1257            </thead>
1258            <tbody>
1259              <tr><td class="p-3 border">Lana mineral insuflada</td><td class="p-3 border">Suelo de buhardilla / falso techo</td><td class="p-3 border">Sin obras, alta eficacia</td></tr>
1260              <tr><td class="p-3 border">Celulosa proyectada</td><td class="p-3 border">Desvanes accesibles</td><td class="p-3 border">Ecológica, gran inercia</td></tr>
1261              <tr><td class="p-3 border">EPS / XPS</td><td class="p-3 border">Bajo cubierta</td><td class="p-3 border">Resistencia mecánica</td></tr>
1262              <tr><td class="p-3 border">Poliuretano proyectado</td><td class="p-3 border">Cubierta inclinada</td><td class="p-3 border">Sella puentes térmicos</td></tr>
1263            </tbody>
1264          </table>
1265        </div>
1266
1267        <h2>Aislamiento sin obras: el método más utilizado</h2>
1268        <p>El insuflado de lana mineral o celulosa permite aislar buhardillas y falsos techos <strong>sin levantar suelos ni romper paredes</strong>. Se realiza desde pequeños orificios y la obra puede completarse en pocas horas, dejando la vivienda lista para usar el mismo día.</p>
1269
1270        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
1271          <p class="m-0"><strong>Consejo de experto:</strong> antes de aislar, verifica que la cubierta esté en buen estado. Aislar sobre humedades activas puede causar problemas a medio plazo.</p>
1272        </div>
1273
1274        <h2>Antes / Después: caso real en Burgos</h2>
1275        <ul>
1276          <li><strong>Antes:</strong> vivienda de 110 m² en última planta, factura de gas en enero de 210 €, sensación de frío permanente.</li>
1277          <li><strong>Después:</strong> tras aislar el desván con lana mineral insuflada, la factura bajó a 130 € y la temperatura se mantiene estable a 21 °C.</li>
1278        </ul>
1279
1280        <h2>Ayudas CAE para aislar buhardillas y áticos</h2>
1281        <p>Las <strong>ayudas CAE</strong>
1281 permiten que parte del coste del aislamiento esté financiado por las compañías energéticas obligadas, en función del ahorro energético generado. La <strong>posibilidad de reducir significativamente el coste</strong> es real para muchas viviendas del norte de España.</p>
1282
1283        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
1284          <p class="font-semibold mb-3">Verifica si tu buhardilla, desván o cubierta puede aislarse con ayudas</p>
1285          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar estudio gratuito</button>
1286        </div>
1287
1288        <h2>Preguntas frecuentes</h2>
1289        <h3>¿Cuánto se tarda en aislar una buhardilla?</h3>
1290        <p>Entre 3 y 6 horas en la mayoría de los casos.</p>
1291        <h3>¿Hay que vaciar el desván?</h3>
1292        <p>No siempre. El método de insuflado se adapta a buhardillas con poca accesibilidad.</p>
1293        <h3>¿Cuánto se ahorra realmente?</h3>
1294        <p>Entre un 25 % y un 35 % de la factura de calefacción según vivienda y zona climática.</p>
1295        <h3>¿Sirve también para el verano?</h3>
1296        <p>Sí. Reduce las altas temperaturas interiores y disminuye el uso del aire acondicionado.</p>
1297        <h3>¿Qué pasa si mi vivienda es alquilada?</h3>
1298        <p>Se requiere autorización del propietario para acceder al programa CAE.</p>
1299      `},"mejorar-certificado-energetico-aislamiento":{title:"Cómo mejorar el certificado energético de una vivienda con aislamiento térmico",image:"https://images.unsplash.com/photo-1605497788044-5a32c7078486?auto=format&fit=crop&w=1374&q=80",date:"14 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Certificación",content:`
1300        <p class="lead">El <strong>certificado energético</strong> es obligatorio para vender o alquilar una vivienda en España, pero también es un termómetro fiable de su consumo y confort. <strong>Mejorar la calificación energética</strong> mediante <strong>aislamiento térmico</strong> es una de las formas más eficaces de aumentar el valor del inmueble y reducir la factura de calefacción, especialmente en regiones frías como <strong>Castilla y León</strong> y el norte de España.</p>
1301
1302        <div class="my-8 rounded-xl overflow-hidden shadow">
1303          <img src="https://images.unsplash.com/photo-1581094288338-2314dddb7ece?auto=format&fit=crop&w=1470&q=80" alt="Etiqueta de eficiencia energética de una vivienda" />
1304        </div>
1305
1306        <h2>¿Qué es el certificado energético?</h2>
1307        <p>Es un documento oficial que califica una vivienda en una escala de la <strong>A (más eficiente)</strong> a la <strong>G (menos eficiente)</strong>, en función de su consumo energético y emisiones de CO₂. La mayoría de viviendas antiguas en España se sitúan entre las letras <strong>E, F y G</strong>.</p>
1308
1309        <h2>Relación entre aislamiento y eficiencia energética</h2>
1310        <p>El aislamiento es el factor que más influye en la calificación. Una vivienda mal aislada necesita <strong>más energía</strong> para mantener una temperatura confortable, lo que se traduce automáticamente en peor letra. Aislar la cubierta, las buhardilllas o las fachadas <strong>reduce la demanda</strong> y mejora el certificado.</p>
1311
1312        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
1313          <p class="m-0"><strong>Dato clave:</strong> aislar la cubierta puede permitir <strong>subir 1 o 2 letras</strong> en el certificado energético.</p>
1314        </div>
1315
1316        <h2>Tabla: impacto del aislamiento en el certificado</h2>
1317        <div class="overflow-x-auto my-6">
1318          <table class="w-full border-collapse text-left">
1319            <thead class="bg-brand-blue/10">
1320              <tr><th class="p-3 border">Actuación</th><th class="p-3 border">Mejora típica</th><th class="p-3 border">Ahorro factura</th></tr>
1321            </thead>
1322            <tbody>
1323              <tr><td class="p-3 border">Aislar cubierta / buhardilla</td><td class="p-3 border">+1 a +2 letras</td><td class="p-3 border">25-35 %</td></tr>
1324              <tr><td class="p-3 border">Cambio de ventanas</td><td class="p-3 border">+1 letra</td><td class="p-3 border">10-15 %</td></tr>
1325              <tr><td class="p-3 border">Aislamiento de fachada</td><td class="p-3 border">+1 a +2 letras</td><td class="p-3 border">20-30 %</td></tr>
1326              <tr><td class="p-3 border">Caldera de condensación</td><td class="p-3 border">+1 letra</td><td class="p-3 border">15-20 %</td></tr>
1327            </tbody>
1328          </table>
1329        </div>
1330
1331        <h2>Beneficios de mejorar el certificado energético</h2>
1332        <ul>
1333          <li><strong>Revalorización</strong> del inmueble (hasta un 7-10 % de media).</li>
1334          <li>Mayor facilidad para vender o alquilar.</li>
1335          <li>Menor factura de calefacción y aire acondicionado.</li>
1336          <li>Mayor confort y reducción de humedades.</li>
1337          <li>Acceso preferente a determinadas ayudas y financiación.</li>
1338        </ul>
1339
1340        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
1341          <p class="m-0"><strong>Consejo de experto:</strong> realiza el certificado <em>después</em> de las obras de aislamiento. Así reflejará la mejora real y aumentará el valor del inmueble.</p>
1342        </div>
1343
1344        <h2>Antes / Después en una vivienda de Valladolid</h2>
1345        <ul>
1346          <li><strong>Antes:</strong> calificación F, factura energética anual de 1.650 €.</li>
1347          <li><strong>Después de aislar buhardilla y cambiar ventanas:</strong> calificación C, factura anual de 1.020 €.</li>
1348        </ul>
1349
1350        <h2>Aislamiento con ayudas CAE: la vía más eficiente</h2>
1351        <p>Las <strong>ayudas CAE</strong> permiten ejecutar el aislamiento térmico con un coste reducido para el propietario, en función del ah
1351orro energético generado. Es una de las formas más sensatas de mejorar el certificado sin grandes desembolsos.</p>
1352
1353        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
1354          <p class="font-semibold mb-3">Mejora el certificado energético de tu vivienda</p>
1355          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar estudio de elegibilidad</button>
1356        </div>
1357
1358        <h2>Preguntas frecuentes</h2>
1359        <h3>¿Cuánto cuesta un certificado energético?</h3>
1360        <p>Entre 80 y 200 € según vivienda y comunidad autónoma.</p>
1361        <h3>¿Caduca el certificado?</h3>
1362        <p>Sí, tiene validez de 10 años, salvo calificación G, que es de 5.</p>
1363        <h3>¿Mejorar el aislamiento garantiza subir de letra?</h3>
1364        <p>En la mayoría de los casos sí, pero el resultado final depende del estado global de la vivienda.</p>
1365        <h3>¿Se puede pedir CAE solo para mejorar la calificación?</h3>
1366        <p>Las CAE financian la actuación de aislamiento; la mejora del certificado es una consecuencia directa.</p>
1367        <h3>¿Vale la pena para alquilar?</h3>
1368        <p>Sí. Una mejor letra suele permitir aumentar el precio del alquiler y reducir vacancia.</p>
1369      `},"errores-evitar-aislar-vivienda-cae":{title:"Errores que debes evitar antes de aislar tu vivienda con ayudas CAE",image:"https://images.unsplash.com/photo-1581094288338-2314dddb7ece?auto=format&fit=crop&w=1470&q=80",date:"12 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Consejos",content:`
1370        <p class="lead">Aislar la vivienda con <strong>ayudas CAE</strong> es una excelente decisión, pero hay <strong>errores frecuentes</strong> que pueden reducir el ahorro, comprometer la durabilidad o incluso impedir el acceso al programa. En este artículo repasamos los más habituales para que no caigas en ellos.</p>
1371
1372        <div class="my-8 rounded-xl overflow-hidden shadow">
1373          <img src="https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1470&q=80" alt="Operario revisando una buhardilla antes de aislar" />
1374        </div>
1375
1376        <h2>1. Confundir “subvención” con CAE</h2>
1377        <p>Las <strong>subvenciones públicas</strong> y los <strong>Certificados de Ahorro Energético</strong> no son lo mismo. Las CAE son una obligación de las comercializadoras de energía y financian la obra a cambio del ahorro energético generado. No requieren convocatoria pública.</p>
1378
1379        <h2>2. No comprobar la elegibilidad de la vivienda</h2>
1380        <p>No todas las viviendas son aptas. Antes de avanzar conviene <strong>verificar si tu vivienda cumple los requisitos</strong> mediante un estudio gratuito.</p>
1381
1382        <h2>3. Aislar la zona incorrecta</h2>
1383        <p>En muchas viviendas del norte, la principal pérdida está en la cubierta. Aislar primero las fachadas sin tocar el techo puede ofrecer resultados decepcionantes.</p>
1384
1385        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
1386          <p class="m-0"><strong>Dato clave:</strong> el <strong>30 %</strong> del calor se escapa por el tejado, frente al 20 % por las fachadas.</p>
1387        </div>
1388
1389        <h2>4. Elegir mal el material aislante</h2>
1390        <p>No todos los materiales son aptos para todos los espacios. Una buhardilla húmeda, por ejemplo, no admite los mismos productos que un falso techo seco.</p>
1391
1392        <h2>5. Olvidar la ventilación</h2>
1393        <p>Una vivienda muy aislada sin ventilación adecuada puede sufrir condensaciones y humedades. La mejora térmica debe combinarse con una buena renovación del aire.</p>
1394
1395        <h2>6. Aceptar promesas demasiado bonitas</h2>
1396        <p>Frases como <em>“100 % gratis garantizado”</em> son comercialmente arriesgadas y suelen esconder letra pequeña. Lo correcto es decir que la actuación <strong>puede estar financiada según elegibilidad</strong>.</p>
1397
1398        <h2>7. No solicitar un diagnóstico previo</h2>
1399        <p>Aislar sin un diagnóstico previo es como tomar medicación sin diagnóstico. Una visita técnica gratuita permite identificar puentes térmicos, humedades y zonas críticas.</p>
1400
1401        <div class="overflow-x-auto my-6">
1402          <table class="w-full border-collapse text-left">
1403            <thead class="bg-brand-blue/10">
1404              <tr><th class="p-3 border">Error</th><th class="p-3 border">Consecuencia</th><th class="p-3 border">Solución</th></tr>
1405            </thead>
1406            <tbody>
1407              <tr><td class="p-3 border">No verificar elegibilidad</td><td class="p-3 border">Pérdida de tiempo</td><td class="p-3 border">Estudio previo gratuito</td></tr>
1408              <tr><td class="p-3 border">Aislar zona equivocada</td><td class="p-3 border">Bajo ahorro real</td><td class="p-3 border">Diagnóstico técnico</td></tr>
1409              <tr><td class="p-3 border">Material inadecuado</td><td class="p-3 border">Durabilidad reducida</td><td class="p-3 border">Asesoramiento profesional</td></tr>
1410              <tr><td class="p-3 border">Sin ventilación</td><td class="p-3 border">Humedades</td><td class="p-3 border">Sistema de ventilación adecuado</td></tr>
1411            </tbody>
1412          </table>
1413        </div>
1414
1415        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
1416          <p class="m-0"><strong>Consejo de experto:</strong> exige siempre por escrito qué parte de la obra está financiada, en qué condiciones y con qué garantías.</p>
1417        </div>
1418
1419        <h2>Antes / Después de hacer las cosas bien</h2>
1420        <ul>
1421          <li><strong>Mal hecho:</strong> obra rápida sin diagnóstico, materiales genéricos, ahorro inferior al esperado.</li>
1422          <li><strong>Bien hecho:</strong> visita técnica, materiales adecuados, ahorro del 30 %, confort estable y sin humedades.</li>
1423        </ul>
1424
1425        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
1426          <p class="font-semibold mb-3">Contacta con un asesor energético especializado en CAE</p>
1427          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Solicitar diagnóstico gratuito</button>
1428        </div>
1429
1430        <h2>Preguntas frecuentes</h2>
1431        <h3>¿Puedo solicitar CAE si ya tengo otra ayuda?</h3>
1432        <p>Depende del programa autonómico. Conviene comprobarlo antes de iniciar la obra.</p>
1433        <h3>¿Es obligatorio el diagnóstico previo?</h3>
1434        <p>Sí, las empresas serias lo realizan siempre antes de presupuestar.</p>
1435        <h3>¿Cuánto cuesta el estudio de elegibilidad?</h3>
1436        <p>En la mayoría de los casos es gratuito y sin compromiso.</p>
1437        <h3>¿Qué garantía tienen los materiales?</h3>
1438        <p>Los aislantes homologados ofrecen entre 25 y 50 años de vida útil.</p>
1439        <h3>¿Y si mi vivienda no es elegible?</h3>
1440        <p>Existen alternativas privadas con financiación que también pueden ser interesantes.</p>
1441      `},"casas-antiguas-norte-espana-perdidas-energia":{title:"Casas antiguas en el norte de España: por qué pierden tanta energía y cómo 
1441solucionarlo",image:"https://images.unsplash.com/photo-1519999482648-25049ddd37b1?auto=format&fit=crop&w=1470&q=80",date:"11 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Información",content:`
1442        <p class="lead">Gran parte del parque inmobiliario del <strong>norte de España</strong> y de <strong>Castilla y León</strong> es anterior a 1980, una época en la que el <strong>aislamiento térmico</strong> apenas se contemplaba en la construcción. El resultado son <strong>casas antiguas</strong> con un consumo de calefacción muy elevado, frías en invierno y, paradójicamente, calurosas en verano. La buena noticia: la mayoría tienen solución.</p>
1443
1444        <div class="my-8 rounded-xl overflow-hidden shadow">
1445          <img src="https://images.unsplash.com/photo-1464146072230-91cabc968266?auto=format&fit=crop&w=1470&q=80" alt="Casa antigua de piedra en el norte de España" />
1446        </div>
1447
1448        <h2>Por qué las casas antiguas pierden tanta energía</h2>
1449        <ul>
1450          <li><strong>Tejados sin aislar:</strong> la causa número uno de pérdida de calor.</li>
1451          <li><strong>Muros fríos:</strong> piedra o ladrillo macizo sin cámara aislante.</li>
1452          <li><strong>Puentes térmicos</strong> en uniones, cantos de forjado y pilares.</li>
1453          <li><strong>Buhardillas sin aislamiento.</strong></li>
1454          <li><strong>Ventanas antiguas</strong> con vidrio simple y carpintería filtrante.</li>
1455          <li><strong>Falta de ventilación controlada,</strong> que provoca humedades.</li>
1456        </ul>
1457
1458        <div class="my-6 p-5 bg-brand-blue/10 border-l-4 border-brand-blue rounded">
1459          <p class="m-0"><strong>Dato clave:</strong> una vivienda anterior a 1980 puede consumir <strong>3 veces más energía</strong> que una vivienda nueva equivalente.</p>
1460        </div>
1461
1462        <h2>Provincias más afectadas</h2>
1463        <p>El problema es especialmente intenso en provincias frías y con elevado porcentaje de vivienda antigua: <strong>León, Burgos, Palencia, Soria, Ávila, Segovia, Valladolid, Zamora y Salamanca</strong>, además de Asturias, Cantabria, Galicia, País Vasco, Navarra y La Rioja.</p>
1464
1465        <h2>Tabla: consumo medio según antigüedad de la vivienda</h2>
1466        <div class="overflow-x-auto my-6">
1467          <table class="w-full border-collapse text-left">
1468            <thead class="bg-brand-blue/10">
1469              <tr><th class="p-3 border">Antigüedad</th><th class="p-3 border">Consumo calefacción (kWh/m²·año)</th><th class="p-3 border">Calificación típica</th></tr>
1470            </thead>
1471            <tbody>
1472              <tr><td class="p-3 border">Antes de 1960</td><td class="p-3 border">200-280</td><td class="p-3 border">F / G</td></tr>
1473              <tr><td class="p-3 border">1960-1980</td><td class="p-3 border">150-220</td><td class="p-3 border">E / F</td></tr>
1474              <tr><td class="p-3 border">1980-2006</td><td class="p-3 border">100-160</td><td class="p-3 border">D / E</td></tr>
1475              <tr><td class="p-3 border">Después de 2006</td><td class="p-3 border">60-100</td><td class="p-3 border">B / C</td></tr>
1476            </tbody>
1477          </table>
1478        </div>
1479
1480        <h2>Soluciones eficaces (y rápidas)</h2>
1481        <h3>1. Aislar la cubierta o la buhardilla</h3>
1482        <p>Es la actuación con mayor retorno. Mediante insuflado se ejecuta en pocas horas y sin obras importantes.</p>
1483        <h3>2. Aislar fachadas por el interior o exterior (SATE)</h3>
1484        <p>Reduce muros fríos y elimina puentes térmicos. Especialmente útil en viviendas de piedra.</p>
1485        <h3>3. Cambiar ventanas</h3>
1486        <p>Doble acristalamiento con rotura de puente térmico mejora el confort y reduce ruidos.</p>
1487        <h3>4. Mejorar la ventilación</h3>
1488        <p>Imprescindible tras aislar. Evita humedades y mantiene la calidad del aire.</p>
1489
1490        <div class="my-6 p-5 bg-amber-50 border-l-4 border-amber-400 rounded">
1491          <p class="m-0"><strong>Consejo de experto:</strong> empieza siempre por la cubierta. Es la zona donde una pequeña inversión genera el mayor ahorro.</p>
1492        </div>
1493
1494        <h2>Antes / Después: vivienda en Soria</h2>
1495        <ul>
1496          <li><strong>Antes:</strong> casa de piedra de 1955, sensación de frío constante, factura mensual de gas en invierno superior a 240 €, humedad en techos.</li>
1497          <li><strong>Después:</strong> aislamiento de buhardilla y mejora de ventanas, factura reducida a 140 €, desaparición de humedades, confort estable.</li>
1498        </ul>
1499
1500        <h2>Ayudas CAE: el aliado perfecto para casas antiguas</h2>
1501        <p>Las <strong>ayudas CAE</strong> son especialmente atractivas para viviendas antiguas, ya que el ahorro energético generado por el aislamiento es muy alto. Esto significa que el coste para el propietario <strong>puede reducirse significativamente</strong>, según elegibilidad.</p>
1502
1503        <div class="my-8 p-6 bg-brand-blue/5 rounded-xl text-center">
1504          <p class="font-semibold mb-3">Reduce tu factura de calefacción mejorando el aislamiento de tu vivienda</p>
1505          <button onclick="window.dispatchEvent(new Event('open-form'))" class="cta-button">Verificar elegibilidad</button>
1506        </div>
1507
1508        <h2>Preguntas frecuentes</h2>
1509        <h3>¿Mi casa de piedra puede aislarse?</h3>
1510        <p>Sí. Existen soluciones específicas que respetan el carácter del muro y mejoran el comportamiento térmico.</p>
1511        <h3>¿Es necesario abandonar la vivienda durante la obra?</h3>
1512        <p>En la mayoría de los casos no. El insuflado es muy poco invasivo.</p>
1513        <h3>¿Cuánto puedo ahorrar en una casa de los años 60?</h3>
1514        <p>Entre el 30 % y el 45 % de la factura de calefacción.</p>
1515        <h3>¿La ayuda CAE cubre todo tipo de viviendas antiguas?</h3>
1516        <p>No siempre. Por eso es esencial solicitar un estudio de elegibilidad previo.</p>
1517        <h3>¿Y si la vivienda tiene humedades?</h3>
1518        <p>Primero hay que tratarlas. Aislar sobre humedades activas es contraproducente.</p>
1519      `},"tips-reducir-factura-energetica":{title:"10 Tips Eficaces para Reducir tu Factura Energética en Casa",image:"https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1470&q=80",date:"15 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Consejos",content:`
1520        <p class="lead">La <strong>factura energética</strong>
1520 de las familias españolas se ha disparado en los últimos años. Según datos del <strong>IDAE</strong>, un hogar medio gasta <strong>más de 1.500 € al año</strong> en luz y gas. La buena noticia es que con pequeños cambios y algunas inversiones inteligentes puedes reducir ese gasto hasta un <strong>40 %</strong>. En este artículo te damos 10 consejos prácticos y avalados por expertos para ahorrar energía sin renunciar al confort.</p>
1521
1522        <div class="my-8 rounded-xl overflow-hidden shadow">
1523          <img src="https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=1470&q=80" alt="Termostato inteligente para ahorrar energía" />
1524        </div>
1525
1526        <h2>1. Aísla la cubierta y los muros de tu vivienda</h2>
1527        <p>Es, sin discusión, la medida con mayor retorno. El <strong>30 % del calor</strong> se escapa por el techo. Un buen aislamiento puede reducir entre un 30 y un 40 % la factura de calefacción y refrigeración. Gracias al programa <strong>CAE</strong>, puedes hacerlo prácticamente gratis (1 €).</p>
1528
1529        <h2>2. Ajusta el termostato unos grados</h2>
1530        <p>Cada grado de menos en invierno (o de más en verano) supone un <strong>
15307 % de ahorro energético</strong>. La temperatura ideal es de <strong>20-21 °C en invierno</strong> y <strong>25-26 °C en verano</strong>.</p>
1531
1532        <h2>3. Cambia tus electrodomésticos por modelos clase A</h2>
1533        <p>Un frigorífico antiguo puede consumir 3 veces más que uno moderno. Las clases <strong>A, B y C</strong> garantizan el menor consumo posible.</p>
1534
1535        <h2>4. Sustituye todas las bombillas por LED</h2>
1536        <p>Las LED consumen <strong>hasta un 85 % menos</strong> que las incandescentes y duran 25 veces más. Inversión que se recupera en menos de un año.</p>
1537
1538        <h2>5. Revisa puertas, ventanas y rendijas</h2>
1539        <p>Las infiltraciones de aire pueden suponer hasta un <strong>20 % del gasto en climatización</strong>. Burletes, espumas y ventanas con doble acristalamiento marcan una gran diferencia.</p>
1540
1541        <h2>6. Apaga (de verdad) los aparatos en standby</h2>
1542        <p>El consumo fantasma representa entre el <strong>5 y el 10 %</strong> del consumo eléctrico anual de un hogar. Usa regletas con interruptor.</p>
1543
1544        <h2>7. Optimiza el uso de la lavadora y el lavavajillas</h2>
1545        <ul>
1546          <li>Llénalos siempre al máximo.</li>
1547          <li>Usa programas eco y agua fría siempre que sea posible.</li>
1548          <li>Aprovecha las tarifas valle (noches y fines de semana).</li>
1549        </ul>
1550
1551        <h2>8. Instala un termostato programable o inteligente</h2>
1552        <p>Permite ajustar la calefacción a tu rutina y evitar consumos innecesarios. Ahorro estimado: <strong>10-15 %</strong>.</p>
1553
1554        <h2>9. Cierra persianas y cortinas en las horas críticas</h2>
1555        <p>En verano, mantenerlas cerradas durante el día reduce hasta <strong>5 °C</strong> la temperatura interior. En invierno, ciérralas al anochecer para conservar el calor.</p>
1556
1557        <h2>10. Solicita una auditoría energética gratuita</h2>
1558        <p>Detectar las pérdidas de tu vivienda es el primer paso para corregirlas. Muchas empresas, junto con los programas CAE, ofrecen <strong>visitas técnicas gratuitas</strong> para diagnosticar el estado de tu hogar.</p>
1559
1560        <h2>Tabla resumen: ahorro estimado por medida</h2>
1561        <div class="overflow-x-auto my-6">
1562          <table class="w-full border-collapse text-left">
1563            <thead class="bg-brand-blue/10">
1564              <tr><th class="p-3 border">Medida</th><th class="p-3 border">Ahorro anual estimado</th><th class="p-3 border">Inversión</th></tr>
1565            </thead>
1566            <tbody>
1567              <tr><td class="p-3 border">Aislamiento de ático</td><td class="p-3 border"><strong>30-40 %</strong></td><td class="p-3 border">1 € (vía CAE)</td></tr>
1568              <tr><td class="p-3 border">LEDs</td><td class="p-3 border">8-10 %</td><td class="p-3 border">Baja</td></tr>
1569              <tr><td class="p-3 border">Termostato inteligente</td><td class="p-3 border">10-15 %</td><td class="p-3 border">Media</td></tr>
1570              <tr><td class="p-3 border">Electrodomésticos clase A</td><td class="p-3 border">15-20 %</td><td class="p-3 border">Alta</td></tr>
1571              <tr><td class="p-3 border">Eliminar standby</td><td class="p-3 border">5-10 %</td><td class="p-3 border">Nula</td></tr>
1572            </tbody>
1573          </table>
1574        </div>
1575
1576        <div class="my-8 p-6 rounded-xl border-l-4 border-brand-blue bg-brand-blue/5">
1577          <h3 class="mt-0">💡 Consejo de experto</h3>
1578          <p class="mb-0">No empieces por lo más caro. Aísla primero y luego invierte en sistemas de climatización: una vivienda bien aislada permite que cualquier sistema funcione con menos potencia y, por tanto, con mucho menos consumo.</p>
1579        </div>
1580
1581        <h2>Preguntas frecuentes</h2>
1582        <h3>¿Cuál es la medida con mayor retorno?</h3>
1583        <p>El aislamiento térmico de la cubierta. Combina alto ahorro con coste prácticamente nulo gracias a las ayudas CAE.</p>
1584        <h3>¿Cuánto tarda en notarse el ahorro?</h3>
1585        <p>Desde la primera factura tras la instalación o el cambio de hábitos.</p>
1586        <h3>¿Vale la pena cambiar todas las bombillas a LED?</h3>
1587        <p>Sí. La inversión se amortiza en menos de un año y la vida útil supera las 25.000 horas.</p>
1588
1589        <div class="my-8 p-6 rounded-xl bg-brand-blue text-white text-center">
1590          <h3 class="mt-0 text-white">Empieza por lo que más ahorra</h3>
1591          <p class="mb-0">Aísla tu ático por solo 1 € y reduce tu factura desde el primer mes.</p>
1592        </div>
1593      `},"como-beneficiarse-ayudas-cae":{title:"Cómo Beneficiarse de las Ayudas CAE en España Paso a Paso",image:"https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1470&q=80",date:"10 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Subvenciones",content:`
1594        <p class="lead">Las <strong>ayudas CAE</strong> (Certificados de Ahorro Energético) son la forma más rápida y económica de mejorar la eficiencia energética de tu vivienda en España. Sin embargo, muchos propietarios no saben exactamente cómo solicitarlas. En esta guía paso a paso te explicamos todo el proceso para beneficiarte de las subvenciones CAE en <strong>2024</strong>, sin perder tu plaza ni dinero.</p>
1595
1596        <div class="my-8 rounded-xl overflow-hidden shadow">
1597          <img src="https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1470&q=80" alt="Documentación y trámites para subvenciones energéticas" />
1598        </div>
1599
1600        <h2>¿Quién puede acceder a las ayudas CAE?</h2>
1601        <ul>
1602          <li>Propietarios de viviendas en territorio español.</li>
1603          <li>Comunidades de vecinos (zonas comunes).</li>
1604          <li>Empresas y autónomos con locales propios.</li>
1605          <li>Administraciones públicas.</li>
1606        </ul>
1607        <p>No hay limitaciones de renta y se aplica tanto a primera como a segunda residencia.</p>
1608
1609        <h2>Los 6 pasos para beneficiarte de los CAE</h2>
1610
1611        <h3>Paso 1: Comprobación inicial de elegibilidad</h3>
1612        <p>Rellena un formulario online indicando tipo de vivienda, ubicación y estado del ático/cubierta. En menos de 24 h te c
1612onfirmamos si tu caso entra en el programa.</p>
1613
1614        <h3>Paso 2: Visita técnica gratuita</h3>
1615        <p>Un técnico certificado se desplaza a tu domicilio para:</p>
1616        <ul>
1617          <li>Medir la superficie a aislar.</li>
1618          <li>Comprobar el estado de la cubierta y la accesibilidad.</li>
1619          <li>Calcular el ahorro energético previsto en kWh/año.</li>
1620        </ul>
1621
1622        <h3>Paso 3: Firma del contrato y cesión del CAE</h3>
1623        <p>Firmas un documento por el que cedes el certificado al sujeto delegado. A cambio, asumen el coste íntegro de la obra. <strong>Tú solo pagas 1 €.</strong></p>
1624
1625        <h3>Paso 4: Ejecución de la obra</h3>
1626        <p>La instalación se realiza en aproximadamente <strong>2 horas</strong> mediante insuflado de material aislante (lana mineral o celulosa). Sin obras, sin escombros, sin tener que abandonar la vivienda.</p>
1627
1628        <h3>Paso 5: Verificación y registro</h3>
1629        <p>Tras la obra se emite un acta y se registra el certificado en el sistema oficial del MITECO/IDAE.</p>
1630
1631        <h3>Paso 6: Disfruta del ahorro</h3>
1632        <p>Desde la primera factura notarás la mejora en confort y la reducción del gasto energético, que puede llegar al <strong>40 %</strong>.</p>
1633
1634        <h2>Documentación necesaria</h2>
1635        <ul>
1636          <li>DNI/NIE del titular.</li>
1637          <li>Recibo reciente de la luz o el gas.</li>
1638          <li>Escritura o nota simple de la vivienda (en algunos casos).</li>
1639          <li>Autorización del propietario si eres inquilino.</li>
1640        </ul>
1641
1642        <h2>Tabla: plazos típicos del proceso</h2>
1643        <div class="overflow-x-auto my-6">
1644          <table class="w-full border-collapse text-left">
1645            <thead class="bg-brand-blue/10">
1646              <tr><th class="p-3 border">Etapa</th><th class="p-3 border">Plazo</th></tr>
1647            </thead>
1648            <tbody>
1649              <tr><td class="p-3 border">Verificación de elegibilidad</td><td class="p-3 border">24-48 h</td></tr>
1650              <tr><td class="p-3 border">Visita técnica</td><td class="p-3 border">3-7 días</td></tr>
1651              <tr><td class="p-3 border">Firma y planificación</td><td class="p-3 border">1 semana</td></tr>
1652              <tr><td class="p-3 border">Ejecución de la obra</td><td class="p-3 border">2 horas</td></tr>
1653              <tr><td class="p-3 border">Registro del certificado</td><td class="p-3 border">2-4 semanas</td></tr>
1654            </tbody>
1655          </table>
1656        </div>
1657
1658        <div class="my-8 p-6 rounded-xl border-l-4 border-brand-blue bg-brand-blue/5">
1659          <h3 class="mt-0">⚠️ Atención a las cuotas anuales</h3>
1660          <p class="mb-0">Las compañías energéticas tienen un cupo anual de CAE. Cuando se agota, hay que esperar al ejercicio siguiente. Solicita tu plaza cuanto antes para asegurar tu aislamiento por 1 €.</p>
1661        </div>
1662
1663        <h2>Errores frecuentes al solicitar los CAE</h2>
1664        <ul>
1665          <li>Pagar por adelantado a empresas no homologadas.</li>
1666          <li>Aceptar instalaciones sin contrato CAE firmado.</li>
1667          <li>Firmar sin leer la cesión del certificado.</li>
1668          <li>Dejarlo para “más adelante” y quedarse sin cuota.</li>
1669        </ul>
1670
1671        <h2>Preguntas frecuentes</h2>
1672        <h3>¿Tengo que adelantar dinero?</h3>
1673        <p>No. Solo se abona 1 € al finalizar la obra.</p>
1674        <h3>¿Y si mi compañía energética no participa en los CAE?</h3>
1675        <p>El sujeto delegado trabaja con varias compañías obligadas, así que no depende de tu comercializadora.</p>
1676        <h3>¿Hay riesgo de que me reclamen algo después?</h3>
1677        <p>No. Una vez emitido el certificado y firmada la cesión, no hay obligaciones futuras.</p>
1678
1679        <div class="my-8 p-6 rounded-xl bg-brand-blue text-white text-center">
1680          <h3 class="mt-0 text-white">Solicita tu CAE en menos de 1 minuto</h3>
1681          <p class="mb-0">Comprueba si cumples los requisitos y reserva tu plaza antes de que se agote.</p>
1682        </div>
1683      `},"errores-evitar-aislamiento-aticos":{title:"7 Errores que Debes Evitar al Aislar tu Ático o Buhardilla",image:"https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1470&q=80",date:"5 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Consejos",content:`
1684        <p class="lead">Aislar el <strong>ático o la buhardilla</strong> es la mejor inversión energética que puedes hacer en tu vivienda. Pero un trabajo mal ejecutado puede reducir drásticamente sus beneficios o incluso generar problemas de humedad. En este artículo te explicamos los <strong>
16847 errores más frecuentes</strong> que debes evitar a toda costa.</p>
1685
1686        <div class="my-8 rounded-xl overflow-hidden shadow">
1687          <img src="https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?auto=format&fit=crop&w=1470&q=80" alt="Trabajos de aislamiento en una vivienda" />
1688        </div>
1689
1690        <h2>Error 1: Elegir un material inadecuado</h2>
1691        <p>No todos los materiales sirven para todas las cubiertas. La <strong>lana mineral</strong>, la <strong>celulosa</strong> y la <strong>lana de roca</strong> son ideales para el insuflado en áticos no transitables. El poliuretano se reserva para otras aplicaciones. Un mal material reduce la eficacia y la durabilidad.</p>
1692
1693        <h2>Error 2: Espesor insuficiente</h2>
1694        <p>Para cumplir con el CTE y con los requisitos del programa CAE, el espesor mínimo recomendado en la mayoría de zonas climáticas españolas es de <strong>20-30 cm</strong>. Menos de eso compromete el rendimiento.</p>
1695
1696        <h2>Error 3: No respetar la ventilación bajo cubierta</h2>
1697        <p>La cubierta debe seguir ventilando para evitar condensaciones. Tapar las rejillas o los pasos de aire genera humedades y, a medio plazo, puede dañar la madera de la estructura.</p>
1698
1699        <h2>Error 4: Cubrir cables, focos y conductos</h2>
1700        <p>Los focos halógenos, los cables eléctricos y los conductos de extracción deben quedar protegidos. Cubrirlos con material aislante puede provocar sobrecalentamientos e incluso incendios.</p>
1701
1702        <h2>Error 5: Contratar a empresas no homologadas</h2>
1703        <p>Las ayudas CAE solo son válidas si la actuación la ejecuta un <strong>sujeto delegado autorizado por el MITECO</strong>. Trabajar con empresas no homologadas implica perder la subvención y carecer de garantías.</p>
1704
1705        <h2>Error 6: Olvidar la barrera de vapor cuando es necesaria</h2>
1706        <p>En zonas frías o con alta humedad, omitir la barrera de vapor puede generar condensaciones intersticiales. Un buen estudio previo evita este problema.</p>
1707
1708        <h2>Error 7: Aceptar precios “demasiado bajos” sin contrato CAE</h2>
1709        <p>Si una empresa te ofrece aislamiento a precio simbólico sin firmar la cesión del CAE, desconfía. Probablemente esté usando materiales de baja calidad o ejecutará la obra sin garantías.</p>
1710
1711        <h2>Tabla comparativa de materiales</h2>
1712        <div class="overflow-x-auto my-6">
1713          <table class="w-full border-collapse text-left">
1714            <thead class="bg-brand-blue/10">
1715              <tr>
1716                <th class="p-3 border">Material</th>
1717                <th class="p-3 border">Conductividad (λ)</th>
1718                <th class="p-3 border">Reacción al fuego</th>
1719                <th class="p-3 border">Recomendado para</th>
1720              </tr>
1721            </thead>
1722            <tbody>
1723              <tr><td class="p-3 border">Lana mineral</td><td class="p-3 border">0,035 W/m·K</td><td class="p-3 border">A1 (no combustible)</td><td class="p-3 border">Áticos no transitables</td></tr>
1724              <tr><td class="p-3 border">Celulosa insuflada</td><td class="p-3 border">0,038 W/m·K</td><td class="p-3 border">B-s2,d0</td><td class="p-3 border">Cubiertas accesibles</td></tr>
1725              <tr><td class="p-3 border">Lana de roca</td><td class="p-3 border">0,036 W/m·K</td><td class="p-3 border">A1</td><td class="p-3 border">Zonas húmedas</td></tr>
1726              <tr><td class="p-3 border">EPS</td><td class="p-3 border">0,034 W/m·K</td><td class="p-3 border">E</td><td class="p-3 border">Suelos y muros</td></tr>
1727            </tbody>
1728          </table>
1729        </div>
1730
1731        <div class="my-8 p-6 rounded-xl border-l-4 border-brand-blue bg-brand-blue/5">
1732          <h3 class="mt-0">💡 Consejo de experto</h3>
1733          <p class="mb-0">Antes de aceptar cualquier presupuesto, exige siempre: ficha técnica del material, espesor previsto, contrato CAE firmado y certificado de garantía postobra.</p>
1734        </div>
1735
1736        <h2>Cómo asegurarte de que el trabajo se hace bien</h2>
1737        <ul>
1738          <li>Comprueba que la empresa esté inscrita como sujeto delegado.</li>
1739          <li>Pide el proyecto técnico o memoria de la actuación.</li>
1740          <li>Solicita fotografías del antes y después.</li>
1741          <li>Reclama el certificado CAE registrado en el sistema oficial.</li>
1742        </ul>
1743
1744        <h2>Preguntas frecuentes</h2>
1745        <h3>¿Puedo aislar yo mismo el ático?</h3>
1746        <p>No es recomendable. Necesitas maquinaria específica (insuflador) y formación. Además, una autoinstalación no genera CAE.</p>
1747        <h3>¿Cuánto dura un buen aislamiento?</h3>
1748        <p>Más de <strong>50 años</strong> si los materiales son los adecuados y la ejecución correcta.</p>
1749        <h3>¿Y si ya tengo aislamiento antiguo?</h3>
1750        <p>Puede reforzarse insuflando material adicional sobre el existente, siempre que no esté degradado.</p>
1751
1752        <div class="my-8 p-6 rounded-xl bg-brand-blue text-white text-center">
1753          <h3 class="mt-0 text-white">Aísla tu ático con garantías</h3>
1754          <p class="mb-0">Empresa homologada, materiales certificados y precio final: 1 €.</p>
1755        </div>
1756      `},"edificios-antiguos-perdidas-energia":{title:"¿Por qué los Edificios Antiguos P
1756ierden Tanta Energía en España?",image:"https://images.unsplash.com/photo-1464146072230-91cabc968266?auto=format&fit=crop&w=1470&q=80",date:"30 de Enero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Información",content:`
1757        <p class="lead">Más del <strong>60 % de las viviendas españolas</strong> son anteriores a 1980 y se construyeron <strong>sin ningún criterio de eficiencia energética</strong>. El resultado: facturas elevadas, escaso confort y un fuerte impacto ambiental. En este artículo analizamos por qué los edificios antiguos pierden tanta energía y qué soluciones existen para revertir la situación.</p>
1758
1759        <div class="my-8 rounded-xl overflow-hidden shadow">
1760          <img src="https://images.unsplash.com/photo-1518780664697-55e3ad937233?auto=format&fit=crop&w=1470&q=80" alt="Edificio residencial antiguo en España" />
1761        </div>
1762
1763        <h2>El parque edificatorio español: una realidad ineficiente</h2>
1764        <p>Datos del <strong>Ministerio de Transportes, Movilidad y Agenda Urbana</strong>:</p>
1765        <ul>
1766          <li>El 81 % de los edificios tienen calificación E, F o G.</li>
1767          <li>El 55 % se construyeron antes de 1980.</li>
1768          <li>El 23 % son anteriores a 1960.</li>
1769        </ul>
1770        <p>Estos edificios consumen una media de <strong>250-300 kWh/m²·año</strong>, frente a los <strong>50-90 kWh/m²·año</strong> de las construcciones modernas eficientes.</p>
1771
1772        <h2>Las 5 grandes causas de las pérdidas energéticas</h2>
1773
1774        <h3>1. Ausencia de aislamiento térmico</h3>
1775        <p>Hasta 2007 (entrada en vigor del CTE), los muros no se aislaban o lo hacían con grosores muy bajos. La cubierta solía dejarse sin tratar.</p>
1776
1777        <h3>2. Ventanas obsoletas</h3>
1778        <p>Carpinterías de aluminio sin rotura de puente térmico y vidrios simples permiten enormes pérdidas, hasta el 25 % en algunas viviendas.</p>
1779
1780        <h3>3. Puentes térmicos en pilares y forjados</h3>
1781        <p>Las uniones entre muros y forjados generan zonas frías donde se condensa la humedad y el calor escapa con facilidad.</p>
1782
1783        <h3>4. Sistemas de calefacción ineficientes</h3>
1784        <p>Calderas de gasoil antiguas, radiadores eléctricos sobredimensionados o estufas de butano son frecuentes y muy costosos energéticamente.</p>
1785
1786        <h3>5. Infiltraciones y falta de hermeticidad</h3>
1787        <p>Persianas, cajones de persiana, marcos y rendijas dejan pasar el aire continuamente, obligando al sistema de climatización a trabajar más.</p>
1788
1789        <h2>Tabla: consumo energético según año de construcción</h2>
1790        <div class="overflow-x-auto my-6">
1791          <table class="w-full border-collapse text-left">
1792            <thead class="bg-brand-blue/10">
1793              <tr><th class="p-3 border">Año de construcción</th><th class="p-3 border">Consumo medio (kWh/m²·año)</th><th class="p-3 border">Calificación típica</th></tr>
1794            </thead>
1795            <tbody>
1796              <tr><td class="p-3 border">Antes de 1960</td><td class="p-3 border">280-340</td><td class="p-3 border">G</td></tr>
1797              <tr><td class="p-3 border">1960-1979</td><td class="p-3 border">230-280</td><td class="p-3 border">F</td></tr>
1798              <tr><td class="p-3 border">1980-2006</td><td class="p-3 border">160-220</td><td class="p-3 border">E</td></tr>
1799              <tr><td class="p-3 border">2007-2019</td><td class="p-3 border">90-150</td><td class="p-3 border">D / C</td></tr>
1800              <tr><td class="p-3 border">Desde 2020 (CTE actualizado)</td><td class="p-3 border">50-90</td><td class="p-3 border">B / A</td></tr>
1801            </tbody>
1802          </table>
1803        </div>
1804
1805        <h2>Soluciones para edificios antiguos</h2>
1806        <ul>
1807          <li><strong>Aislamiento de cubierta por insuflado</strong> (ideal y rápido).</li>
1808          <li><strong>Aislamiento de fachada por el interior</strong> (trasdosado).</li>
1809          <li><strong>Inyección de aislante en cámaras</strong> de muros.</li>
1810          <li>Sustitución de ventanas por modelos con rotura de puente térmico.</li>
1811          <li>Instalación de aerotermia o calderas de condensación.</li>
1812        </ul>
1813        <p>La <strong>actuación más rentable</strong> y rápida sigue siendo el aislamiento de la cubierta, que se puede ejecutar en 2 horas y financiar al 100 % con los CAE.</p>
1814
1815        <div class="my-8 p-6 rounded-xl border-l-4 border-brand-blue bg-brand-blue/5">
1816          <h3 class="mt-0">📌 Dato</h3>
1817          <p class="mb-0">Aislar la cubierta de una vivienda antigua puede mejorar 1 o 2 letras la calificación energética y reducir el consumo hasta un 40 %.</p>
1818        </div>
1819
1820        <h2>Beneficios de rehabilitar energéticamente</h2>
1821        <ul>
1822          <li>💰 Ahorro económico inmediato.</li>
1823          <li>🏠 Mayor confort y eliminación de humedades.</li>
1824          <li>📈 Revalorización del inmueble.</li>
1825          <li>🌍 Reducción de emisiones de CO₂.</li>
1826        </ul>
1827
1828        <h2>Preguntas frecuentes</h2>
1829        <h3>¿Puedo aislar un edificio protegido?</h3>
1830        <p>Sí, en la mayoría de los casos por el interior. Es necesario consultar la normativa local de patrimonio.</p>
1831        <h3>¿Es obligatorio rehabilitar energéticamente?</h3>
1832        <p>La UE empuja hacia ello. La <strong>Directiva EPBD 2024</strong> establecerá obligaciones progresivas para las viviendas peor calificadas.</p>
1833        <h3>¿Por dónde empezar?</h3>
1834        <p>Por la cubierta. Es la actuación con mayor retorno y la más sencilla de ejecutar.</p>
1835
1836        <div class="my-8 p-6 rounded-xl bg-brand-blue text-white text-center">
1837          <h3 class="mt-0 text-white">
1837Convierte tu vivienda antigua en eficiente</h3>
1838          <p class="mb-0">Aprovecha las ayudas CAE y aísla por 1 €.</p>
1839        </div>
1840      `},"mejores-soluciones-aislamiento-espana":{title:"Las Mejores Soluciones de Aislamiento Térmico en España",image:"https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1470&q=80",date:"25 de Enero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Información",content:`
1841        <p class="lead">Elegir el <strong>sistema de aislamiento térmico</strong> adecuado es clave para maximizar el confort y el ahorro energético. En España, el clima varía enormemente entre regiones, por lo que no existe una única solución universal. En este artículo analizamos las <strong>mejores soluciones de aislamiento térmico</strong> disponibles en el mercado español, sus ventajas, sus inconvenientes y para qué tipo de vivienda son ideales.</p>
1842
1843        <div class="my-8 rounded-xl overflow-hidden shadow">
1844          <img src="https://images.unsplash.com/photo-1572120360610-d971b9d7767c?auto=format&fit=crop&w=1470&q=80" alt="Materiales de aislamiento térmico" />
1845        </div>
1846
1847        <h2>1. Aislamiento por insuflado en cubiertas y áticos</h2>
1848        <p>El método estrella del programa CAE. Se introduce material aislante (lana mineral o celulosa) en el espacio bajo cubierta mediante una máquina insufladora. Ventajas:</p>
1849        <ul>
1850          <li>Sin obras ni escombros.</li>
1851          <li>
1851Instalación en 2 horas.</li>
1852          <li>Excelente relación calidad/precio.</li>
1853          <li>100 % financiado con los CAE (1 € para el usuario).</li>
1854        </ul>
1855
1856        <h2>2. SATE (Sistema de Aislamiento Térmico por el Exterior)</h2>
1857        <p>Consiste en colocar paneles aislantes en la fachada exterior y revestirlos con mortero. Ofrece <strong>el mejor rendimiento global</strong>, eliminando puentes térmicos. Inconvenientes: requiere andamios y supone una inversión más elevada.</p>
1858
1859        <h2>3. Trasdosado interior</h2>
1860        <p>Se instala una pared interior con aislante en su interior. Ideal para viviendas en edificios protegidos donde no se puede actuar por el exterior. Reduce ligeramente la superficie útil.</p>
1861
1862        <h2>4. Inyección en cámaras de aire</h2>
1863        <p>Se inyecta espuma o lana en la cámara entre dos hojas de muro. Solución rápida y económica para muros con cámara existente.</p>
1864
1865        <h2>5. Aislamiento de suelos</h2>
1866        <p>Especialmente útil en viviendas con sótanos o aparcamientos sin calefactar debajo. Suele ejecutarse desde el techo del local inferior.</p>
1867
1868        <h2>Tabla comparativa de soluciones</h2>
1869        <div class="overflow-x-auto my-6">
1870          <table class="w-full border-collapse text-left">
1871            <thead class="bg-brand-blue/10">
1872              <tr>
1873                <th class="p-3 border">Solución</th>
1874                <th class="p-3 border">Eficacia</th>
1875                <th class="p-3 border">Coste</th>
1876                <th class="p-3 border">Ideal para</th>
1877              </tr>
1878            </thead>
1879            <tbody>
1880              <tr><td class="p-3 border">Insuflado en cubierta</td><td class="p-3 border">⭐⭐⭐⭐⭐</td><td class="p-3 border"><strong>1 € (CAE)</strong></td><td class="p-3 border">Áticos y desvanes</td></tr>
1881              <tr><td class="p-3 border">SATE</td><td class="p-3 border">⭐⭐⭐⭐⭐</td><td class="p-3 border">Alto</td><td class="p-3 border">Rehabilitación integral</td></tr>
1882              <tr><td class="p-3 border">Trasdosado interior</td><td class="p-3 border">⭐⭐⭐⭐</td><td class="p-3 border">Medio</td><td class="p-3 border">Edificios protegidos</td></tr>
1883              <tr><td class="p-3 border">Inyección en cámara</td><td class="p-3 border">⭐⭐⭐</td><td class="p-3 border">Bajo</td><td class="p-3 border">Muros con cámara</td></tr>
1884              <tr><td class="p-3 border">Aislamiento de suelo</td><td class="p-3 border">⭐⭐⭐</td><td class="p-3 border">Medio</td><td class="p-3 border">Viviendas sobre garajes</td></tr>
1885            </tbody>
1886          </table>
1887        </div>
1888
1889        <h2>¿Qué material elegir?</h2>
1890        <ul>
1891          <li><strong>Lana mineral:</strong> versátil, ignífuga y económica.</li>
1892          <li><strong>Celulosa:</strong> ecológica, alto poder aislante.</li>
1893          <li><strong>Lana de roca:</strong> resistente a humedad y fuego.</li>
1894          <li><strong>Poliuretano proyectado:</strong> excelente aislante, sella perfectamente.</li>
1895          <li><strong>EPS / XPS:</strong> ideal para suelos y SATE.</li>
1896        </ul>
1897
1898        <div class="my-8 rounded-xl overflow-hidden shadow">
1899          <img src="https://images.unsplash.com/photo-1519642918688-7e43b19245d8?auto=format&fit=crop&w=1470&q=80" alt="Operario instalando aislamiento" />
1900        </div>
1901
1902        <h2>Adaptación al clima español</h2>
1903        <p>El CTE divide España en <strong>5 zonas climáticas</strong> (de A a E). Cuanto más fría es la zona, mayor espesor de aislante se requiere:</p>
1904        <div class="overflow-x-auto my-6">
1905          <table class="w-full border-collapse text-left">
1906            <thead class="bg-brand-blue/10">
1907              <tr><th class="p-3 border">Zona</th><th class="p-3 border">Ejemplo</th><th class="p-3 border">Espesor recomendado</th></tr>
1908            </thead>
1909            <tbody>
1910              <tr><td class="p-3 border">A</td><td class="p-3 border">Cádiz, Almería</td><td class="p-3 border">15-20 cm</td></tr>
1911              <tr><td class="p-3 border">B</td><td class="p-3 border">Valencia, Sevilla</td><td class="p-3 border">20 cm</td></tr>
1912              <tr><td class="p-3 border">C</td><td class="p-3 border">Barcelona, Tarragona</td><td class="p-3 border">22 cm</td></tr>
1913              <tr><td class="p-3 border">D</td><td class="p-3 border">Madrid, Zaragoza</td><td class="p-3 border">25-28 cm</td></tr>
1914              <tr><td class="p-3 border">E</td><td class="p-3 border">Burgos, León, Soria</td><td class="p-3 border">30 cm o más</td></tr>
1915            </tbody>
1916          </table>
1917        </div>
1918
1919        <div class="my-8 p-6 rounded-xl border-l-4 border-brand-blue bg-brand-blue/5">
1920          <h3 class="mt-0">💡 Consejo de experto</h3>
1921          <p class="mb-0">No te quedes corto con el espesor. La diferencia de coste entre 20 y 30 cm es mínima, pero el ahorro en consumo a lo largo de la vida del aislamiento es enorme.</p>
1922        </div>
1923
1924        <h2>Preguntas frecuentes</h2>
1925        <h3>¿Cuál es la solución más rentable?</h3>
1926        <p>El insuflado en cubierta, sin lugar a dudas. Coste mínimo, instalación rápida y ahorro inmediato.</p>
1927        <h3>¿Las soluciones son compatibles entre sí?</h3>
1928        <p>Sí. Lo ideal es combinar cubierta + fachada + ventanas para conseguir una vivienda nZEB (consumo casi nulo).</p>
1929        <h3>¿Qué solución dura más?</h3>
1930        <p>Todas, bien instaladas, superan los 50 años de vida útil sin pérdida significativa de prestaciones.</p>
1931
1932        <div class="my-8 p-6 rounded-xl bg-brand-blue text-white text-center">
1933          <h3 class="mt-0 text-white">Empieza por la cubierta: 1 € y resultados inmediatos</h3>
1934          <p class="mb-0">Verifica si tu vivienda cumple los requisitos del programa CAE 2024.</p>
1935        </div>
1936      `},"ayudas-subvenciones-cae-espana":{title:"Ayudas y Subvenciones CAE en España: Guía Completa 2024",image:"https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"5 de Marzo, 2024",author:"Equipo ayudas-aislamiento.com",category:"Subvenciones",content:`
1937        <p class="lead"><strong>Los Certificados de Ahorro Energético (CAE)</strong> son el sistema de ayudas más potente que existe hoy en España para mejorar la eficiencia energética de las viviendas. Gracias a este mecanismo, miles de familias están aislando sus áticos, buhardillas y cubiertas pagando solo <strong>1 €</strong>. En esta guía completa te explicamos qué son los CAE, quién los financia, qué requisitos exigen y cómo 
1937solicitarlos paso a paso en 2024.</p>
1938
1939        <div class="my-8 rounded-xl overflow-hidden shadow">
1940          <img src="https://images.unsplash.com/photo-1518709268805-4e9042af2176?auto=format&fit=crop&w=1470&q=80" alt="Eficiencia energética en España" />
1941        </div>
1942
1943        <h2>¿Qué son los Certificados de Ahorro Energético (CAE)?</h2>
1944        <p>Los CAE son un instrumento creado por el <strong>Real Decreto 36/2023</strong>, en cumplimiento de la <em>Directiva Europea 2012/27/UE</em> sobre eficiencia energética. Su objetivo es muy concreto: obligar a las compañías comercializadoras de energía (eléctricas, gasistas y de carburantes) a financiar actuaciones reales de ahorro energético en hogares, empresas y administraciones.</p>
1945        <p>Cada vez que una compañía financia una obra (por ejemplo, el aislamiento de un ático), se genera un certificado que acredita los kWh ahorrados. Este certificado se entrega al Ministerio para la Transición Ecológica y el Reto Demográfico (MITECO), que lo contabiliza dentro de los objetivos nacionales de ahorro.</p>
1946
1947        <h3>¿Quién financia las ayudas CAE?</h3>
1948        <ul>
1949          <li><strong>Las compañías energéticas obligadas</strong> (Iberdrola, Endesa, Naturgy, Repsol, Cepsa, etc.).</li>
1950          <li><strong>Sujetos delegados</strong> autorizados por el MITECO, que ejecutan las obras y emiten los certificados.</li>
1951          <li><strong>El Estado</strong> regula, supervisa y valida las actuaciones a través del IDAE.</li>
1952        </ul>
1953        <p>El usuario final, es decir tú, no tiene que adelantar dinero ni pelear con la administración: el sujeto delegado se encarga de toda la gestión.</p>
1954
1955        <h2>¿Qué actuaciones cubren las ayudas CAE?</h2>
1956        <p>El catálogo oficial publicado por el MITECO recoge más de 130 fichas estandarizadas. Las más demandadas en vivienda son:</p>
1957        <ul>
1958          <li>Aislamiento térmico de cubiertas, áticos y buhardillas mediante insuflado.</li>
1959          <li>Aislamiento de muros por el interior o por inyección en cámara.</li>
1960          <li>Sustitución de ventanas por modelos de alta eficiencia.</li>
1961          <li>Instalación de aerotermia, bombas de calor y calderas de condensación.</li>
1962          <li>Iluminación LED de alta eficiencia.</li>
1963        </ul>
1964
1965        <h3>Tabla comparativa: CAE frente a otras ayudas</h3>
1966        <div class="overflow-x-auto my-6">
1967          <table class="w-full border-collapse text-left">
1968            <thead class="bg-brand-blue/10">
1969              <tr>
1970                <th class="p-3 border">Característica</th>
1971                <th class="p-3 border">Ayudas CAE</th>
1972                <th class="p-3 border">Fondos Next Generation</th>
1973                <th class="p-3 border">Deducción IRPF</th>
1974              </tr>
1975            </thead>
1976            <tbody>
1977              <tr>
1978                <td class="p-3 border">Coste para el usuario</td>
1979                <td class="p-3 border"><strong>Desde 1 €</strong></td>
1980                <td class="p-3 border">40-80% subvencionado</td>
1981                <td class="p-3 border">Devolución vía declaración</td>
1982              </tr>
1983              <tr>
1984                <td class="p-3 border">Trámites</td>
1985                <td class="p-3 border">Mínimos, los hace el sujeto delegado</td>
1986                <td class="p-3 border">Complejos (proyecto, técnico, justificación)</td>
1987                <td class="p-3 border">Declaración + certificado energético</td>
1988              </tr>
1989              <tr>
1990                <td class="p-3 border">Plazos de cobro</td>
1991                <td class="p-3 border">Inmediatos (descuento directo)</td>
1992                <td class="p-3 border">Meses o años</td>
1993                <td class="p-3 border">Año fiscal siguiente</td>
1994              </tr>
1995              <tr>
1996                <td class="p-3 border">Requisitos de renta</td>
1997                <td class="p-3 border">No</td>
1998                <td class="p-3 border">A veces sí</td>
1999                <td class="p-3 border">No</td>
2000              </tr>
2001            </tbody>
2002          </table>
2003        </div>
2004
2005        <h2>Requisitos para solicitar las ayudas CAE</h2>
2006        <p>Una de las grandes ventajas de los CAE es la <strong>simplicidad de acceso</strong>. Los requisitos generales son:</p>
2007        <ul>
2008          <li>Vivienda situada en el territorio español.</li>
2009          <li>Actuación incluida en el catálogo oficial del MITECO.</li>
2010          <li>Que la obra genere un ahorro energético real, medible y verificable.</li>
2011          <li>Que el usuario ceda el certificado al sujeto delegado que financia la actuación.</li>
2012        </ul>
2013        <p><strong>No existen límites de renta</strong>, no hay que estar empadronado de una manera concreta y se puede aplicar tanto a primera vivienda como a segunda residencia.</p>
2014
2015        <div class="my-8 p-6 rounded-xl border-l-4 border-brand-blue bg-brand-blue/5">
2016          <h3 class="mt-0">💡 Dato clave</h3>
2017          <p class="mb-0">España debe ahorrar <strong>8.000 GWh adicionales cada año</strong> hasta 2030 mediante el sistema CAE. Esto significa que las compañías energéticas necesitan financiar miles de obras al año… y por eso pueden ofrecerte el aislamiento por solo 1 €.</p>
2018        </div>
2019
2020        <h2>¿Cómo solicitar las ayudas CAE paso a paso?</h2>
2021        <ol>
2022          <li><strong>Comprobación de elegibilidad:</strong> rellenas un formulario con los datos básicos de tu vivienda.</li>
2023          <li><strong>Visita técnica gratuita:</strong> un técnico verifica el estado del ático y mide la superficie a aislar.</li>
2024          <li><strong>Firma de la cesión del CAE:</strong> autorizas al sujeto delegado a registrar el certificado a su nombre.</li>
2025          <li><strong>Ejecución de la obra:</strong>
2025 instalación profesional en aproximadamente 2 horas.</li>
2026          <li><strong>Validación y registro</strong> del certificado en el sistema oficial del MITECO.</li>
2027        </ol>
2028
2029        <h2>Beneficios reales para el usuario</h2>
2030        <ul>
2031          <li>💰 Ahorro de hasta el 40 % en la factura energética.</li>
2032          <li>🏠 Mayor confort térmico en invierno y verano.</li>
2033          <li>🌱 Reducción de la huella de carbono del hogar.</li>
2034          <li>📈 Revalorización de la vivienda y mejor calificación energética.</li>
2035        </ul>
2036
2037        <h2>Preguntas frecuentes sobre los CAE</h2>
2038        <h3>¿Las ayudas CAE son compatibles con otras subvenciones?</h3>
2039        <p>En la mayoría de los casos sí, siempre que no se cubra dos veces la misma actuación. Tu técnico te informará del encaje legal en función de tu provincia.</p>
2040        <h3>¿Hay letra pequeña o costes ocultos?</h3>
2041        <p>No. El precio final es de 1 € y el resto lo cubre la compañía energética obligada a través del sujeto delegado.</p>
2042        <h3>¿Cuánto tarda el proceso?</h3>
2043        <p>Desde la solicitud hasta la ejecución suelen pasar entre 2 y 4 semanas, en función de la disponibilidad de cuotas CAE.</p>
2044        <h3>¿Puedo perder la ayuda si tardo en decidirme?</h3>
2045        <p>Sí. Las cuotas anuales son limitadas y, una vez agotadas, hay que esperar al siguiente ejercicio. Por eso recomendamos solicitar la ayuda cuanto antes.</p>
2046
2047        <div class="my-8 p-6 rounded-xl bg-brand-blue text-white text-center">
2048          <h3 class="mt-0 text-white">¿Listo para aislar tu ático por 1 €?</h3>
2049          <p>Verifica en menos de 1 minuto si tu vivienda cumple los requisitos del programa CAE 2024.</p>
2050        </div>
2051      `},"ventajas-aislamiento-buhardillas":{title:"Ventajas del Aislamiento de Buhardillas: Confort, Ahorro y Valor",image:"https://images.unsplash.com/photo-1503594384566-461fe158e797?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"28 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Aislamiento",content:`
2052        <p class="lead">El <strong>aislamiento de buhardillas</strong> (también llamadas desvanes, áticos o cubiertas bajo tejado) es, según el <strong>IDAE</strong>, la actuación de eficiencia energética con mayor retorno por euro invertido en una vivienda española. Hasta el <strong>30 % del calor</strong> que escapa de un hogar lo hace por el techo. En este artículo te contamos por qué aislar la buhardilla cambia radicalmente el confort, la factura y el valor de tu vivienda.</p>
2053
2054        <div class="my-8 rounded-xl overflow-hidden shadow">
2055          <img src="https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1470&q=80" alt="Buhardilla aislada en una vivienda española" />
2056        </div>
2057
2058        <h2>¿Por qué aislar la buhardilla es prioritario?</h2>
2059        <p>El aire caliente sube. Es física básica. En invierno, el calor que genera tu calefacción asciende y, si la cubierta no está aislada, se pierde directamente hacia el exterior. En verano ocurre lo contrario: el tejado se calienta hasta los 70 °C y transmite ese calor al interior de la vivienda.</p>
2060        <p>Aislar la buhardilla actúa como un <strong>“abrigo permanente”</strong> para tu casa, manteniéndola caliente en invierno y fresca en verano sin necesidad de forzar los sistemas de climatización.</p>
2061
2062        <h3>Las 7 ventajas principales del aislamiento de buhardillas</h3>
2063        <ol>
2064          <li><strong>Ahorro energético de hasta el 30-40 %</strong> en la factura anual.</li>
2065          <li><strong>Confort térmico estable</strong> en todas las habitaciones, incluso las más frías.</li>
2066          <li><strong>Eliminación de puentes térmicos</strong> y zonas frías cerca de techos.</li>
2067          <li><strong>Mayor aislamiento acústico</strong> frente a lluvia, granizo y ruidos exteriores.</li>
2068          <li><strong>Prevención de humedades y condensaciones</strong> bajo cubierta.</li>
2069          <li><strong>Revalorización de la vivienda</strong> y mejora de la calificación energética.</li>
2070          <li><strong>Reducción de emisiones de CO₂</strong> y contribución a la transición ecológica.</li>
2071        </ol>
2072
2073        <h2>Antes y después del aislamiento</h2>
2074        <div class="overflow-x-auto my-6">
2075          <table class="w-full border-collapse text-left">
2076            <thead class="bg-brand-blue/10">
2077              <tr>
2078                <th class="p-3 border">Indicador</th>
2079                <th class="p-3 border">Antes del aislamiento</th>
2080                <th class="p-3 border">Después del aislamiento</th>
2081              </tr>
2082            </thead>
2083            <tbody>
2084              <tr><td class="p-3 border">Temperatura interior en invierno</td><td class="p-3 border">17 - 19 °C</td><td class="p-3 border"><strong>20 - 22 °C</strong></td></tr>
2085              <tr><td class="p-3 border">Temperatura interior en verano</td><td class="p-3 border">28 - 32 °C</td><td class="p-3 border"><strong>24 - 26 °C</strong></td></tr>
2086              <tr><td class="p-3 border">Consumo de calefacción</td><td class="p-3 border">100 %</td><td class="p-3 border"><strong>-30 a -40 %</strong></td></tr>
2087              <tr><td class="p-3 border">Calificación energética</td><td class="p-3 border">E / F</td><td class="p-3 border"><strong>C / D</strong></td></tr>
2088              <tr><td class="p-3 border">Ruido exterior</td><td class="p-3 border">Alto</td><td class="p-3 border">Reducido</td></tr>
2089            </tbody>
2090          </table>
2091        </div>
2092
2093        <h2>¿Qué materiales se utilizan?</h2>
2094        <p>Los profesionales del programa CAE trabajan con materiales certificados, ignífugos y de alto rendimiento térmico:</p>
2095        <ul>
2096          <li><strong>Lana mineral insuflada:</strong> excelente comportamiento térmico y acústico, resistente al fuego.</li>
2097          <li><strong>Celulosa proyectada:</strong> ecológica, fabricada a partir de papel reciclado, gran capacidad de relleno.</li>
2098          <li><strong>Lana de roca:</strong>
2098 ideal para zonas con riesgo de humedad y excelente aislante acústico.</li>
2099        </ul>
2100        <p>El método más utilizado es el <strong>insuflado mecánico</strong>, que permite cubrir toda la superficie sin obras, sin polvo y sin tener que pisar la cubierta.</p>
2101
2102        <div class="my-8 rounded-xl overflow-hidden shadow">
2103          <img src="https://images.unsplash.com/photo-1581094482593-a4d3a4a96f6a?auto=format&fit=crop&w=1470&q=80" alt="Instalación profesional de aislamiento por insuflado" />
2104        </div>
2105
2106        <h2>Instalación profesional en solo 2 horas</h2>
2107        <p>Una de las grandes ventajas del aislamiento de buhardillas mediante insuflado es la rapidez. El proceso típico se desarrolla así:</p>
2108        <ol>
2109          <li>Inspección y protección de instalaciones (15 min).</li>
2110          <li>Conexión de la máquina insufladora (10 min).</li>
2111          <li>Aplicación uniforme del material (60-90 min).</li>
2112          <li>Verificación del espesor y limpieza final (15 min).</li>
2113        </ol>
2114        <p>Sin obras, sin escombros, sin tener que mudarte. Tu hogar queda aislado el mismo día.</p>
2115
2116        <h2>¿Cuánto se ahorra realmente?</h2>
2117        <p>Según los datos del IDAE y de las auditorías energéticas realizadas tras la aplicación del programa CAE, una vivienda media de 90 m² puede pasar de gastar <strong>1.400 €/año</strong> en climatización a unos <strong>900 €/año</strong>, lo que supone un ahorro acumulado superior a <strong>5.000 € en 10 años</strong>.</p>
2118
2119        <h3>Cifras clave</h3>
2120        <div class="grid grid-cols-1 md:grid-cols-3 gap-4 my-6">
2121          <div class="p-6 rounded-xl bg-brand-blue/10 text-center">
2122            <div class="text-4xl font-bold text-brand-blue">30%</div>
2123            <p class="mb-0">de las pérdidas térmicas se producen por el techo</p>
2124          </div>
2125          <div class="p-6 rounded-xl bg-brand-blue/10 text-center">
2126            <div class="text-4xl font-bold text-brand-blue">2 h</div>
2127            <p class="mb-0">duración media de la instalación</p>
2128          </div>
2129          <div class="p-6 rounded-xl bg-brand-blue/10 text-center">
2130            <div class="text-4xl font-bold text-brand-blue">1 €</div>
2131            <p class="mb-0">coste para el usuario gracias a los CAE</p>
2132          </div>
2133        </div>
2134
2135        <h2>Preguntas frecuentes</h2>
2136        <h3>¿El aislamiento de la buhardilla afecta a la estructura?</h3>
2137        <p>No. El insuflado se realiza sobre el forjado existente sin modificar elementos estructurales ni alterar el tejado.</p>
2138        <h3>¿Es válido para casas antiguas?</h3>
2139        <p>Sí. De hecho, las viviendas anteriores a 2007 (antes del CTE) son las que más se benefician.</p>
2140        <h3>¿Y si mi buhardilla es habitable?</h3>
2141        <p>En ese caso se aplican técnicas distintas (aislamiento bajo cubierta inclinada). Nuestro técnico te asesora gratis.</p>
2142
2143        <div class="my-8 p-6 rounded-xl bg-brand-blue text-white text-center">
2144          <h3 class="mt-0 text-white">Comprueba si puedes aislar tu buhardilla por 1 €</h3>
2145          <p class="mb-0">Más de 10.000 viviendas ya lo han hecho. Solicita tu estudio gratuito hoy.</p>
2146        </div>
2147      `},"ahorro-energia-aislamiento-espana":{title:"Ahorro de Energía con el Aislamiento en España: Cifras Reales",image:"https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"20 de Febrero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Ahorro Energético",content:`
2148        <p class="lead">El <strong>parque de viviendas español</strong> es uno de los menos eficientes de Europa: el <strong>81 %</strong> de los edificios tienen una calificación energética E, F o G. Esto se traduce en facturas eléctricas y de gas mucho más altas de lo necesario. La buena noticia es que mejorar el <strong>aislamiento térmico</strong> permite recortar drásticamente el consumo. En este artículo analizamos cifras reales, casos prácticos y simulaciones del ahorro que puedes lograr.</p>
2149
2150        <div class="my-8 rounded-xl overflow-hidden shadow">
2151          <img src="https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1470&q=80" alt="Vista aérea de viviendas en España con paneles térmicos" />
2152        </div>
2153
2154        <h2>El contexto energético en España</h2>
2155        <p>Según el <strong>IDAE (Instituto para la Diversificación y Ahorro de la Energía)</strong>, el sector residencial representa el <strong>17 % del consumo final de energía</strong> del país. De ese consumo, casi la mitad se destina a <strong>calefacción y refrigeración</strong>. La causa principal es la mala envolvente térmica de los edificios: muros, ventanas y, sobre todo, cubiertas mal aisladas.</p>
2156
2157        <h3>Tabla: distribución del consumo energético en una vivienda media</h3>
2158        <div class="overflow-x-auto my-6">
2159          <table class="w-full border-collapse text-left">
2160            <thead class="bg-brand-blue/10">
2161              <tr><th class="p-3 border">Uso</th><th class="p-3 border">% del consumo</th><th class="p-3 border">Coste anual aprox.</th></tr>
2162            </thead>
2163            <tbody>
2164              <tr><td class="p-3 border">Calefacción</td><td class="p-3 border">42 %</td><td class="p-3 border">≈ 700 €</td></tr>
2165              <tr><td class="p-3 border">Agua caliente sanitaria</td><td class="p-3 border">18 %</td><td class="p-3 border">≈ 300 €</td></tr>
2166              <tr><td class="p-3 border">Electrodomésticos</td><td class="p-3 border">19 %</td><td class="p-3 border">≈ 320 €</td></tr>
2167              <tr><td class="p-3 border">Refrigeración</td><td class="p-3 border">8 %</td><td class="p-3 border">≈ 130 €</td></tr>
2168              <tr><td class="p-3 border">Iluminación y otros</td><td class="p-3 border">13 %</td><td class="p-3 border">≈ 220 €</td></tr>
2169            </tbody>
2170          </table>
2171        </div>
2172
2173        <h2>¿Cuánto se ahorra realmente con el aislamiento?</h2>
2174        <p>Las pérdidas energéticas de una vivienda mal aislada se reparten así:</p>
2175        <ul>
2176          <li><strong>30 %</strong>
2176 a través del techo y la cubierta.</li>
2177          <li><strong>25 %</strong> a través de los muros.</li>
2178          <li><strong>20 %</strong> por ventilación e infiltraciones.</li>
2179          <li><strong>13 %</strong> por las ventanas.</li>
2180          <li><strong>7 %</strong> a través del suelo.</li>
2181          <li><strong>5 %</strong> por puentes térmicos.</li>
2182        </ul>
2183        <p>Aislar la cubierta es, por tanto, la actuación que <strong>elimina la mayor fuente de fugas</strong> con la inversión más baja.</p>
2184
2185        <h3>Casos reales de ahorro tras aislar el ático</h3>
2186        <div class="overflow-x-auto my-6">
2187          <table class="w-full border-collapse text-left">
2188            <thead class="bg-brand-blue/10">
2189              <tr>
2190                <th class="p-3 border">Tipo de vivienda</th>
2191                <th class="p-3 border">Zona climática</th>
2192                <th class="p-3 border">Ahorro anual</th>
2193                <th class="p-3 border">CO₂ evitado</th>
2194              </tr>
2195            </thead>
2196            <tbody>
2197              <tr><td class="p-3 border">Chalet 120 m²</td><td class="p-3 border">Madrid (D3)</td><td class="p-3 border"><strong>620 €</strong></td><td class="p-3 border">1,4 t/año</td></tr>
2198              <tr><td class="p-3 border">Casa pareada 90 m²</td><td class="p-3 border">Valladolid (E1)</td><td class="p-3 border"><strong>740 €</strong></td><td class="p-3 border">1,7 t/año</td></tr>
2199              <tr><td class="p-3 border">Ático en bloque 75 m²</td><td class="p-3 border">Valencia (B3)</td><td class="p-3 border"><strong>410 €</strong></td><td class="p-3 border">0,9 t/año</td></tr>
2200              <tr><td class="p-3 border">Vivienda rural 100 m²</td><td class="p-3 border">León (E1)</td><td class="p-3 border"><strong>820 €</strong></td><td class="p-3 border">1,9 t/año</td></tr>
2201            </tbody>
2202          </table>
2203        </div>
2204
2205        <h2>El impacto en la factura mes a mes</h2>
2206        <p>Para una vivienda media en zona D (Madrid, Zaragoza, Toledo), las cifras antes y después del aislamiento son:</p>
2207        <div class="grid grid-cols-1 md:grid-cols-2 gap-6 my-6">
2208          <div class="p-6 rounded-xl border bg-red-50">
2209            <h3 class="mt-0">Antes del aislamiento</h3>
2210            <ul class="mb-0">
2211              <li>Factura invierno: 180 €/mes</li>
2212              <li>Factura verano: 110 €/mes</li>
2213              <li>Total anual: ≈ 1.700 €</li>
2214              <li>Confort térmico: bajo</li>
2215            </ul>
2216          </div>
2217          <div class="p-6 rounded-xl border bg-green-50">
2218            <h3 class="mt-0">Después del aislamiento</h3>
2219            <ul class="mb-0">
2220              <li>Factura invierno: 110 €/mes</li>
2221              <li>Factura verano: 75 €/mes</li>
2222              <li>Total anual: ≈ 1.100 €</li>
2223              <li>Confort térmico: alto</li>
2224            </ul>
2225          </div>
2226        </div>
2227
2228        <h2>Más allá del ahorro: beneficios indirectos</h2>
2229        <ul>
2230          <li><strong>Mejora de la calificación energética:</strong> revaloriza la vivienda hasta un 8 % según fotocasa.</li>
2231          <li><strong>Reducción del impacto ambiental:</strong> menos emisiones, menos dependencia de combustibles fósiles.</li>
2232          <li><strong>Salud y bienestar:</strong> menos humedades, mejor calidad del aire interior.</li>
2233          <li><strong>Protección frente a la inflación energética:</strong> consumes menos, los aumentos de precio te afectan menos.</li>
2234        </ul>
2235
2236        <div class="my-8 rounded-xl overflow-hidden shadow">
2237          <img src="https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1470&q=80" alt="Medición y eficiencia energética" />
2238        </div>
2239
2240        <h2>Cómo conseguir el aislamiento sin coste real</h2>
2241        <p>Gracias al programa <strong>CAE (Certificados de Ahorro Energético)</strong>, las compañías energéticas obligadas asumen el coste íntegro del aislamiento de tu cubierta a cambio del certificado. El usuario solo aporta <strong>1 € simbólico</strong>. Es la fórmula más rápida y económica para reducir tu consumo desde el primer mes.</p>
2242
2243        <h2>Preguntas frecuentes</h2>
2244        <h3>¿En cuánto tiempo se nota el ahorro?</h3>
2245        <p>Desde la primera factura. Muchos clientes detectan reducciones del 20-30 % al mes siguiente de la instalación.</p>
2246        <h3>¿El ahorro depende de la zona climática?</h3>
2247        <p>Sí. Las zonas más frías (D y E del CTE) son las que más ahorran, aunque también las zonas cálidas notan beneficios en refrigeración.</p>
2248        <h3>
2248¿Puedo combinar el aislamiento con aerotermia o placas solares?</h3>
2249        <p>Por supuesto. De hecho, aislar primero hace que las placas y la aerotermia rindan mucho mejor.</p>
2250        <h3>¿Qué pasa si vendo o alquilo la vivienda?</h3>
2251        <p>Una mejor calificación energética se traduce en un mayor precio de venta o alquiler y un cierre más rápido de la operación.</p>
2252
2253        <div class="my-8 p-6 rounded-xl bg-brand-blue text-white text-center">
2254          <h3 class="mt-0 text-white">Empieza a ahorrar desde el próximo mes</h3>
2255          <p class="mb-0">Solicita tu aislamiento por 1 € y reduce tu factura energética hasta un 40 %.</p>
2256        </div>
2257      `},"ventajas-aislamiento-termico":{title:"Ventajas del Aislamiento Térmico en tu Hogar",image:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQb8QKrhD0AmdaSBdnfedgHg49FkOAjo1DhCA&s",date:"15 de Mayo, 2023",author:"Carlos Méndez",category:"Ahorro Energético",content:`
2258        <p>El aislamiento térmico es una de las mejoras más efectivas que puedes realizar en tu hogar para aumentar el confort y reducir el consumo energético. En este artículo, exploraremos las principales ventajas que ofrece un buen aislamiento térmico y por qué deberías considerarlo como una inversión prioritaria.</p>
2259        
2260        <h2>Mayor confort durante todo el año</h2>
2261        <p>Un hogar bien aislado mantiene una temperatura más estable y agradable en todas las estaciones. En invierno, el calor generado por la calefacción permanece más tiempo en el interior, mientras que en verano, el aislamiento ayuda a mantener el fresco, reduciendo la necesidad de aire acondicionado.</p>
2262        
2263        <h2>Ahorro significativo en la factura energética</h2>
2264        <p>La mejora del aislamiento térmico puede reducir el consumo de energía para calefacción y refrigeración hasta en un 40%. Esto se traduce en un ahorro considerable en tus facturas mensuales, recuperando la inversión en pocos años.</p>
2265        
2266        <h2>Reducción de la huella de carbono</h2>
2267        <p>Al consumir menos energía, estás contribuyendo directamente a la reducción de emisiones de CO2, ayudando a combatir el cambio climático y proteger el medio ambiente para futuras generaciones.</p>
2268        
2269        <h2>Mejora de la calificación energética</h2>
2270        <p>Las viviendas con mejor aislamiento obtienen una calificación energética más alta, lo que aumenta su valor en el mercado inmobiliario. Si estás pensando en vender o alquilar tu propiedad en el futuro, un buen aislamiento puede ser un factor diferencial.</p>
2271        
2272        <h2>Eliminación de problemas de humedad y condensación</h2>
2273        <p>Un aislamiento adecuado ayuda a prevenir la condensación en paredes y techos, reduciendo el riesgo de aparición de moho y humedades que pueden afectar tanto a la estructura de la vivienda como a la salud de sus habitantes.</p>
2274        
2275        <h2>Mayor calidad de vida</h2>
2276        <p>Además del confort térmico, el aislamiento también proporciona aislamiento acústico, reduciendo el ruido exterior y creando un ambiente más tranquilo y relajante en el hogar.</p>
2277        
2278        <h2>Conclusión</h2>
2279        <p>Invertir en el aislamiento térmico de tu hogar es una decisión inteligente que mejora tu calidad de vida, reduce tus gastos y contribuye a la sostenibilidad ambiental. Con el programa de aislamiento a 1€, nunca ha sido tan accesible disfrutar de todos estos beneficios.</p>
2280      `},"aislamiento-en-2-horas":{title:"Aislamiento Completo en Solo 2 Horas: ¿Cómo lo Hacemos?",image:"https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",date:"3 de Junio, 2023",author:"Elena Torres",category:"Servicios",content:`
2281        <p>Uno de los aspectos más destacados de nuestro servicio de aislamiento térmico es la rapidez con la que realizamos la instalación: ¡solo 2 horas! Muchos clientes se sorprenden al saber que un trabajo de tanta importancia puede completarse en tan poco tiempo. En este artículo, te explicamos cómo lo conseguimos.</p>
2282        
2283        <h2>Tecnología avanzada de soplado</h2>
2284        <p>Utilizamos sistemas de soplado de última generación que permiten aplicar el material aislante de forma rápida y uniforme. Esta tecnología nos permite cubrir grandes superficies en poco tiempo, manteniendo la máxima calidad en la instalación.</p>
2285        
2286        <h2>Equipo altamente especializado</h2>
2287        <p>Nuestros técnicos están formados específicamente en la instalación rápida de aislamiento térmico. Su experiencia les permite trabajar con precisión y eficiencia, optimizando cada paso del proceso para reducir el tiempo total de instalación.</p>
2288        
2289        <h2>Preparación previa minuciosa</h2>
2290        <p>Antes del día de la instalación, realizamos una evaluación detallada del espacio a aislar. Esto nos permite planificar cada aspecto del trabajo, prever posibles complicaciones y asegurar que tenemos todos los materiales y herramientas necesarios.</p>
2291        
2292        <h2>Proceso optimizado paso a paso</h2>
2293        <p>Hemos desarrollado un protocolo de trabajo que optimiza cada fase de la instalación:</p>
2294        <ol>
2295          <li>Inspección inicial y preparación del espacio (15 minutos)</li>
2296          <li>Protección de áreas sensibles como instalaciones eléctricas (15 minutos)</li>
2297          <li>Aplicación del material aislante mediante soplado (60 minutos)</li>
2298          <li>Verificación de la cobertura y espesor (15 minutos)</li>
2299          <li>Limpieza final y confirmación con el cliente (15 minutos)</li>
2300        </ol>
2301        
2302        <h2>Mínimas molestias para el cliente</h2>
2303        <p>Al completar el trabajo en solo 2 horas, las molestias para ti y tu familia son mínimas. No es necesario desalojar la vivienda, y la mayoría de nuestros clientes apenas notan que estamos trabajando en el ático.</p>
2304        
2305        <h2>Resultados inmediatos</h2>
2306        <p>Lo mejor de todo es que los beneficios del aislamiento comienzan a notarse de inmediato. Muchos clientes reportan una mejora en el confort térmico de su hogar desde el mismo día de la instalación.</p>
2307        
2308        <h2>Conclusión</h2>
2309        <p>Nuestro proceso de aislamiento en 2 horas es el resultado de años de experiencia, formación especializada y tecnología avanzada. Ofrecemos una solución rápida y eficaz que minimiza las molestias y maximiza los beneficios para nuestros clientes.</p>
2310      `}
2310,"requisitos-cae-aislamiento":{title:"¿Quién puede beneficiarse del aislamiento gratuito con los CAE?",image:"https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"10 de Enero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Programas",content:`
2311        <p>El programa de Certificados de Ahorro Energético (CAE) permite a miles de hogares españoles aislar su ático por solo 1€. Pero, ¿quién puede realmente beneficiarse de esta ayuda? En este artículo te aclaramos los requisitos.</p>
2312
2313        <h2>¿Qué son los CAE?</h2>
2314        <p>Los Certificados de Ahorro Energético son un mecanismo creado por el Estado español que obliga a las compañías energéticas a financiar actuaciones que ahorren energía a los consumidores finales, como el aislamiento térmico.</p>
2315
2316        <h2>Requisitos principales para acceder al programa</h2>
2317        <ul>
2318          <li><strong>Vivienda situada en España</strong>: el programa cubre todo el territorio nacional.</li>
2319          <li><strong>Ático o desván sin aislar</strong> o con un aislamiento deficiente que pueda mejorarse.</li>
2320          <li><strong>Acceso al espacio bajo cubierta</strong> para que nuestros técnicos puedan realizar la instalación por insuflado.</li>
2321          <li><strong>Ser propietario</strong> de la vivienda o contar con la autorización del propietario.</li>
2322        </ul>
2323
2324        <h2>¿Hay límites de ingresos?</h2>
2325        <p>No. A diferencia de otras ayudas públicas, los CAE no exigen condiciones de renta. Cualquier hogar que cumpla los requisitos técnicos puede beneficiarse, independientemente de su nivel de ingresos.</p>
2326
2327        <h2>¿Qué tipos de vivienda son válidos?</h2>
2328        <p>Casas unifamiliares, chalets, áticos en edificios y, en general, cualquier vivienda con un espacio bajo cubierta accesible. Si tienes dudas sobre tu caso, podemos verificar tu elegibilidad de forma gratuita.</p>
2329
2330        <h2>¿Cómo solicitarlo?</h2>
2331        <p>Solo tienes que completar nuestro formulario online. Te confirmaremos en pocas horas si tu vivienda cumple los requisitos y te explicaremos los siguientes pasos. Recuerda: el coste final para ti es de solo 1€.</p>
2332      `},"como-funcionan-cae":{title:"¿Cómo funcionan los CAE y por qué financian tu aislamiento?",image:"https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80",date:"25 de Enero, 2024",author:"Equipo ayudas-aislamiento.com",category:"Programas",content:`
2333        <p>
2333Muchos clientes nos preguntan cómo es posible que el aislamiento de su ático cueste solo 1€. La respuesta está en el sistema de Certificados de Ahorro Energético (CAE), una herramienta clave de la transición energética en España.</p>
2334
2335        <h2>El origen: la directiva europea de eficiencia energética</h2>
2336        <p>La Unión Europea exige a sus estados miembros reducir el consumo energético. España ha trasladado esta obligación a las compañías comercializadoras de energía mediante el sistema CAE, regulado por el Real Decreto 36/2023.</p>
2337
2338        <h2>¿Cómo funciona el mecanismo?</h2>
2339        <ol>
2340          <li>Las compañías energéticas tienen una obligación anual de ahorro energético.</li>
2341          <li>Para cumplirla, financian actuaciones reales en hogares y empresas, como el aislamiento térmico.</li>
2342          <li>Cada actuación genera certificados (CAE) que las compañías presentan al Estado como prueba del ahorro logrado.</li>
2343          <li>El usuario final recibe la obra prácticamente gratis, ya que la compañía cubre el coste a cambio del certificado.</li>
2344        </ol>
2345
2346        <h2>¿Por qué el aislamiento de áticos?</h2>
2347        <p>Hasta el 30% de las pérdidas térmicas de una vivienda se producen por el techo. Aislar el ático es una de las medidas con mejor relación entre ahorro generado y coste, por lo que es una de las actuaciones más valoradas dentro del sistema CAE.</p>
2348
2349        <h2>¿Es realmente gratis?</h2>
2350        <p>El usuario solo paga 1€ simbólico para formalizar la operación. El resto del coste lo asume la compañía energética que adquiere el certificado. No hay letra pequeña ni cargos posteriores.</p>
2351
2352        <h2>Una oportunidad limitada en el tiempo</h2>
2353        <p>Las cuotas anuales de CAE son limitadas. Cuando se agotan, el programa cierra hasta el siguiente ejercicio. Por eso recomendamos solicitar tu aislamiento cuanto antes para asegurar tu plaza.</p>
2354      `},default:{title:"Artículo del Blog",image:"https://www.iko.com/na/wp-content/uploads/sites/8/loose-fill-blown-in-insulation-4.webp",date:"2023",author:"Equipo ayudas-aislamiento.com",category:"Información",content:`
2355        <p>Este artículo está en desarrollo. Pronto podrás encontrar aquí información detallada sobre aislamiento térmico y eficiencia energética.</p>
2356        
2357        <p>Mientras tanto, no dudes en explorar otros artículos de nuestro blog o contactar con nosotros para obtener más información sobre nuestros servicios de aislamiento a 1€.</p>
2358      `}},r=n[e||""]||n.default;return l.jsx("div",{className:"page-transition pt-28 pb-20",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"max-w-4xl mx-auto",children:[l.jsxs(Oe,{to:"/blog",className:"inline-flex items-center text-brand-blue hover:underline mb-8",children:[l.jsx(Db,{size:18,className:"mr-1"}),"Volver al Blog"]}),l.jsxs("div",{className:"mb-8",children:[l.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-6",children:r.title}),l.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600 mb-8",children:[l.jsxs("div",{className:"flex items-center",children:[l.jsx(Hb,{size:16,className:"mr-1"}),l.jsx("span",{children:r.author})]}),l.jsxs("div",{className:"flex items-center",children:[l.jsx(zb,{size:16,className:"mr-1"}),l.jsx("span",{children:r.date})]}),l.jsxs("div",{className:"flex items-center",children:[l.jsx(r3,{size:16,className:"mr-1"}),l.jsx("span",{children:r.category})]})]})]}),l.jsx("div",{className:"rounded-xl overflow-hidden mb-10",children:l.jsx("img",{src:r.image,alt:r.title,className:"w-full h-auto"})}),l.jsx("article",{className:"prose prose-lg max-w-none mb-16",children:l.jsx("div",{dangerouslySetInnerHTML:{__html:r.content}})}),l.jsxs("div",{className:"flex justify-between items-center py-6 border-t border-gray-200",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("span",{className:"text-gray-600",children:"Compartir:"}),l.jsx("button",{className:"w-8 h-8 flex items-center justify-center bg-blue-500 text-white rounded-full",children:l.jsx(t3,{size:16})})]}),l.jsx("button",{onClick:()=>t(!0),className:"secondary-button",children:"Solicitar Más Información"})]})]}),l.jsxs("div",{className:"max-w-4xl mx-auto mt-20 bg-brand-blue/5 rounded-xl p-8 text-center",children:[l.jsx("h2",{className:"text-2xl font-bold mb-4",children:"¿Quieres mejorar la eficiencia energética de tu hogar?"}),l.jsx("p",{className:"text-gray-600 mb-6 max-w-2xl mx-auto",children:"Contáctanos hoy mismo para descubrir cómo puedes beneficiarte del programa de aislamiento a 1€."}),l.jsx("button",{onClick:()=>t(!0),className:"cta-button",children:"Solicitar Aislamiento a 1€"})]})]})})};function D4(e,t){const n=m.createContext(t),r=o=>{const{children:s,...i}=o,c=m.useMemo(()=>i,Object.values(i));return l.jsx(n.Provider,{value:c,children:s})};r.displayName=e+"Provider";function a(o){const s=m.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,a]}function O4(e,t=[]){let n=[];function r(o,s){const i=m.createContext(s),c=n.length;n=[...n,s];const d=u=>{var h;const{scope:p,children:y,...b}=u,v=((h=p==null?void 0:p[e])==null?void 0:h[c])||i,w=m.useMemo(()=>b,Object.values(b));return l.jsx(v.Provider,{value:w,children:y})};d.displayName=o+"Provider";function f(u,p){var v;const y=((v=p==null?void 0:p[e])==null?void 0:v[c])||i,b=m.useContext(y);if(b)return b;if(s!==void 0)return s;throw new Error(`\`${u}\` must be used within \`${o}\``)}return[d,f]}const a=()=>{const o=n.map(s=>m.createContext(s));return function(i){const c=(i==null?void 0:i[e])||o;return m.useMemo(()=>({[`__scope${e}`]:{...i,[e]:c}}),[i,c])}};return a.scopeName=e,[r,I4(a,...t)]}function I4(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const s=r.reduce((i,{useScope:c,scopeName:d})=>{const u=c(o)[`__scope${d}`];return{...i,...u}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function _4(e,t){return m.useReducer((n,r)=>t[n][r]??n,e)}var $l=e=>{const{present:t,children:n}=e,r=z4(t),a=typeof n=="function"?n({present:r.isPresent}):m.Children.only(n),o=ce(r.ref,F4(a));return typeof n=="function"||r.isPresent?m.cloneElement(a,{ref:o}):null};$l.displayName="Presence";function z4(e){const[t,n]=m.useState(),r=m.useRef({}),a=m.useRef(e),o=m.useRef("none"),s=e?"mounted":"unmounted",[i,c]=_4(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.useEffect(()=>{const d=ei(r.current);o.current=i==="mounted"?d:"none"},[i]),et(()=>{const d=r.current,f=a.current;if(f!==e){const p=o.current,y=ei(d);e?c("MOUNT"):y==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&p!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),et(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,u=y=>{const v=ei(r.current).includes(y.animationName);if(y.target===t&&v&&(c("ANIMATION_END"),!a.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},p=y=>{y.target===t&&(o.current=ei(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:m.useCallback(d=>{d&&(r.current=getComputedStyle(d)),n(d)},[])}}function ei(e){return(e==null?void 0:e.animationName)||"none"}
vendor: 12,442 bytes, lines 2358-2365
2358function F4(e){var r,a;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=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Fc=0;function q4(){m.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Eh()),document.body.insertAdjacentElement("beforeend",e[1]??Eh()),Fc++,()=>{Fc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Fc--}},[])}function Eh(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var l1=v0(),qc=function(){},Bl=m.forwardRef(function(e,t){var n=m.useRef(null),r=m.useState({onScrollCapture:qc,onWheelCapture:qc,onTouchMoveCapture:qc}),a=r[0],o=r[1],s=e.forwardProps,i=e.children,c=e.className,d=e.removeScrollBar,f=e.enabled,u=e.shards,p=e.sideCar,y=e.noIsolation,b=e.inert,v=e.allowPinchZoom,w=e.as,h=w===void 0?"div":w,g=e.gapMode,x=Pp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=p,C=g0([n,t]),N=Ke(Ke({},x),a);return m.createElement(m.Fragment,null,f&&m.createElement(E,{sideCar:l1,removeScrollBar:d,shards:u,noIsolation:y,inert:b,setCallbacks:o,allowPinchZoom:!!v,lockRef:n,gapMode:g}),s?m.cloneElement(m.Children.only(i),Ke(Ke({},N),{ref:C})):m.createElement(h,Ke({},N,{className:c,ref:C}),i))});Bl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Bl.classNames={fullWidth:Ro,zeroRight:ko};var cu=!1;if(typeof window<"u")try{var ti=Object.defineProperty({},"passive",{get:function(){return cu=!0,!0}});window.addEventListener("test",ti,ti),window.removeEventListener("test",ti,ti)}catch{cu=!1}var Qr=cu?{passive:!1}:!1,$4=function(e){return e.tagName==="TEXTAREA"},c1=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!$4(e)&&n[t]==="visible")},B4=function(e){return c1(e,"overflowY")},U4=function(e){return c1(e,"overflowX")},Ch=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=d1(e,r);if(a){var o=u1(e,r),s=o[1],i=o[2];if(s>i)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},V4=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},H4=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},d1=function(e,t){return e==="v"?B4(t):U4(t)},u1=function(e,t){return e==="v"?V4(t):H4(t)},W4=function(e,t){return e==="h"&&t==="rtl"?-1:1},G4=function(e,t,n,r,a){var o=W4(e,window.getComputedStyle(t).direction),s=o*r,i=n.target,c=t.contains(i),d=!1,f=s>0,u=0,p=0;do{var y=u1(e,i),b=y[0],v=y[1],w=y[2],h=v-w-o*b;(b||h)&&d1(e,i)&&(u+=h,p+=b),i instanceof ShadowRoot?i=i.host:i=i.parentNode}while(!c&&i!==document.body||c&&(t.contains(i)||t===i));return(f&&(Math.abs(u)<1||!a)||!f&&(Math.abs(p)<1||!a))&&(d=!0),d},ni=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Sh=function(e){return[e.deltaX,e.deltaY]},jh=function(e){return e&&"current"in e?e.current:e},K4=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Q4=function(e){return`
2359  .block-interactivity-`.concat(e,` {pointer-events: none;}
2360  .allow-interactivity-`).concat(e,` {pointer-events: all;}
2361`)},Y4=0,Yr=[];function X4(e){var t=m.useRef([]),n=m.useRef([0,0]),r=m.useRef(),a=m.useState(Y4++)[0],o=m.useState(Tp)[0],s=m.useRef(e);m.useEffect(function(){s.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var v=h0([e.lockRef.current],(e.shards||[]).map(jh),!0).filter(Boolean);return v.forEach(function(w){return w.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),v.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var i=m.useCallback(function(v,w){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!s.current.allowPinchZoom;var h=ni(v),g=n.current,x="deltaX"in v?v.deltaX:g[0]-h[0],E="deltaY"in v?v.deltaY:g[1]-h[1],C,N=v.target,S=Math.abs(x)>Math.abs(E)?"h":"v";if("touches"in v&&S==="h"&&N.type==="range")return!1;var j=Ch(S,N);if(!j)return!0;if(j?C=S:(C=S==="v"?"h":"v",j=Ch(S,N)),!j)return!1;if(!r.current&&"changedTouches"in v&&(x||E)&&(r.current=C),!C)return!0;var T=r.current||C;return G4(T,w,v,T==="h"?x:E,!0)},[]),c=m.useCallback(function(v){var w=v;if(!(!Yr.length||Yr[Yr.length-1]!==o)){var h="deltaY"in w?Sh(w):ni(w),g=t.current.filter(function(C){return C.name===w.type&&(C.target===w.target||w.target===C.shadowParent)&&K4(C.delta,h)})[0];if(g&&g.should){w.cancelable&&w.preventDefault();return}if(!g){var x=(s.current.shards||[]).map(jh).filter(Boolean).filter(function(C){return C.contains(w.target)}),E=x.length>0?i(w,x[0]):!s.current.noIsolation;E&&w.cancelable&&w.preventDefault()}}},[]),d=m.useCallback(function(v,w,h,g){var x={name:v,delta:w,target:h,should:g,shadowParent:Z4(h)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(E){return E!==x})},1)},[]),f=m.useCallback(function(v){n.current=ni(v),r.current=void 0},[]),u=m.useCallback(function(v){d(v.type,Sh(v),v.target,i(v,e.lockRef.current))},[]),p=m.useCallback(function(v){d(v.type,ni(v),v.target,i(v,e.lockRef.current))},[]);m.useEffect(function(){return Yr.push(o),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Qr),document.addEventListener("touchmove",c,Qr),document.addEventListener("touchstart",f,Qr),function(){Yr=Yr.filter(function(v){return v!==o}),document.removeEventListener("wheel",c,Qr),document.removeEventListener("touchmove",c,Qr),document.removeEventListener("touchstart",f,Qr)}},[]);var y=e.removeScrollBar,b=e.inert;return m.createElement(m.Fragment,null,b?m.createElement(o,{styles:Q4(a)}):null,y?m.createElement(w0,{gapMode:e.gapMode}):null)}function Z4(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const J4=y0(l1,X4);var p1=m.forwardRef(function(e,t){return m.createElement(Bl,Ke({},e,{ref:t,sideCar:J4}))});p1.classNames=Bl.classNames;var Zp="Dialog",[f1,mR]=O4(Zp),[ek,Yt]=f1(Zp),m1=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,i=m.useRef(null),c=m.useRef(null),[d=!1,f]=pr({prop:r,defaultProp:a,onChange:o});return l.jsx(ek,{scope:t,triggerRef:i,contentRef:c,contentId:yn(),titleId:yn(),descriptionId:yn(),open:d,onOpenChange:f,onOpenToggle:m.useCallback(()=>f(u=>!u),[f]),modal:s,children:n})};m1.displayName=Zp;var h1="DialogTrigger",tk=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Yt(h1,n),o=ce(t,a.triggerRef);return l.jsx(Q.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":tf(a.open),...r,ref:o,onClick:$(e.onClick,a.onOpenToggle)})});tk.displayName=h1;var Jp="DialogPortal",[nk,g1]=f1(Jp,{forceMount:void 0}),v1=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:a}=e,o=Yt(Jp,t);return l.jsx(nk,{scope:t,forceMount:n,children:m.Children.map(r,s=>l.jsx($l,{present:n||o.open,children:l.jsx(jy,{asChild:!0,container:a,children:s})}))})};v1.displayName=Jp;var el="DialogOverlay",b1=m.forwardRef((e,t)=>{const n=g1(el,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=Yt(el,e.__scopeDialog);return o.modal?l.jsx($l,{present:r||o.open,children:l.jsx(rk,{...a,ref:t})}):null});b1.displayName=el;var rk=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Yt(el,n);return l.jsx(p1,{as:Lr,allowPinchZoom:!0,shards:[a.contentRef],children:l.jsx(Q.div,{"data-state":tf(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Or="DialogContent",y1=m.forwardRef((e,t)=>{const n=g1(Or,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=Yt(Or,e.__scopeDialog);return l.jsx($l,{present:r||o.open,children:o.modal?l.jsx(ak,{...a,ref:t}):l.jsx(ok,{...a,ref:t})})});y1.displayName=Or;var ak=m.forwardRef((e,t)=>{const n=Yt(Or,e.__scopeDialog),r=m.useRef(null),a=ce(t,n.contentRef,r);return m.useEffect(()=>{const o=r.current;if(o)return m0(o)},[]),l.jsx(x1,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:$(e.onCloseAutoFocus,o=>{var s;o.preventDefault(),(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:$(e.onPointerDownOutside,o=>{const s=o.detail.originalEvent,i=s.button===0&&s.ctrlKey===!0;(s.button===2||i)&&o.preventDefault()}),onFocusOutside:$(e.onFocusOutside,o=>o.preventDefault())})}),ok=m.forwardRef((e,t)=>{const n=Yt(Or,e.__scopeDialog),r=m.useRef(!1),a=m.useRef(!1);return l.jsx(x1,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var s,i;(s=e.onCloseAutoFocus)==null||s.call(e,o),o.defaultPrevented||(r.current||(i=n.triggerRef.current)==null||i.focus(),o.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:o=>{var c,d;(c=e.onInteractOutside)==null||c.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const s=o.target;((d=n.triggerRef.current)==null?void 0:d.contains(s))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()}})}),x1=m.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:o,...s}=e,i=Yt(Or,n),c=m.useRef(null),d=ce(t,c);return q4(),l.jsxs(l.Fragment,{children:[l.jsx(Ap,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:o,children:l.jsx(mp,{role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":tf(i.open),...s,ref:d,onDismiss:()=>i.onOpenChange(!1)})}),l.jsxs(l.Fragment,{children:[l.jsx(sk,{titleId:i.titleId}),l.jsx(lk,{contentRef:c,descriptionId:i.descriptionId})]})]})}),ef="DialogTitle",w1=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Yt(ef,n);return l.jsx(Q.h2,{id:a.titleId,...r,ref:t})});w1.displayName=ef;var E1="DialogDescription",C1=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Yt(E1,n);return l.jsx(Q.p,{id:a.descriptionId,...r,ref:t})});C1.displayName=E1;var S1="DialogClose",j1=m.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Yt(S1,n);return l.jsx(Q.button,{type:"button",...r,ref:t,onClick:$(e.onClick,()=>a.onOpenChange(!1))})});j1.displayName=S1;function tf(e){return e?"open":"closed"}var N1="DialogTitleWarning",[hR,A1]=D4(N1,{contentName:Or,titleName:ef,docsSlug:"dialog"}),sk=({titleId:e})=>{const t=A1(N1),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2362
2363If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
2364
2365For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return m.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},ik="DialogDescriptionWarning",lk=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${A1(ik).contentName}}.`;return m.useEffect(()=>{var o;const a=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},ck=m1,dk=v1,P1=b1,T1=y1,k1=w1,R1=C1,uk=j1;const pk=ck,fk=dk,M1=m.forwardRef(({className:e,...t},n)=>l.jsx(P1,{ref:n,className:te("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));M1.displayName=P1.displayName;const L1=m.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(fk,{children:[l.jsx(M1,{}),l.jsxs(T1,{ref:r,className:te("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
2365nded-lg",e),...n,children:[t,l.jsxs(uk,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[l.jsx(pp,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));L1.displayName=T1.displayName;const mk=m.forwardRef(({className:e,...t},n)=>l.jsx(k1,{ref:n,className:te("text-lg font-semibold leading-none tracking-tight",e),...t}));mk.displayName=k1.displayName;const hk=m.forwardRef(({className:e,...t},n)=>l.jsx(R1,{ref:n,className:te("text-sm text-muted-foreground",e),...t}));hk.displayName=R1.displayName;const gk=()=>{const{formOpen:e,setFormOpen:t}=dt();return m.useEffect(()=>{if(e){if(!document.getElementById("fillout-script")){const r=document.createElement("script");return r.id="fillout-script",r.src="https://server.fillout.com/embed/v1/",r.async=!0,document.body.appendChild(r),()=>{document.getElementById("fillout-script")&&document.body.removeChild(document.getElementById("fillout-script"))}}const n=setTimeout(()=>{window.Fillout&&window.Fillout.resetForm&&window.Fillout.resetForm("n7L2enerknus")},500);return()=>clearTimeout(n)}},[e]),l.jsx(pk,{open:e,onOpenChange:t,children:l.jsx(L1,{className:"sm:max-w-[600px] p-0",children:l.jsx("div",{className:"relative",children:l.jsx("div",{style:{width:"100%",height:"500px"},"data-fillout-id":"n7L2enerknus","data-fillout-embed-type":"standard","data-fillout-inherit-parameters":!0,"data-fillout-dynamic-resize":!0})})})})},vk=()=>{const e=Ga();return m.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:l.jsxs("div",{className:"text-center",children:[l.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),l.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),l.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},bk=()=>(m.useEffect(()=>{window.scrollTo(0,0)},[]),l.jsxs("div",{className:"page-transition pt-28 pb-20",children:[l.jsxs(ip,{children:[l.jsx("title",{children:"Servicios Profesionales | Ayudas Aislamiento"}),l.jsx("meta",{name:"description",content:"Servicios profesionales de aislamiento térmico para residencias y espacios comerciales. Descubra nuestras soluciones para ahorrar energía."})]}),l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-center mb-12",children:["Soluciones ",l.jsx("span",{className:"text-brand-blue",children:"Profesionales"})]}),l.jsx("div",{className:"max-w-4xl mx-auto mb-16",children:l.jsx("p",{className:"text-lg text-center text-gray-700",children:"Ayudas Aislamiento ofrece soluciones profesionales de aislamiento térmico para maximizar la eficiencia energética y el confort en espacios residenciales y comerciales."})}),l.jsxs("section",{className:"mb-20",children:[l.jsx("h2",{className:"text-3xl font-bold mb-10 text-brand-dark text-center",children:"1. Aislamiento térmico residencial"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[l.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105",children:[l.jsx("div",{className:"h-60 overflow-hidden",children:l.jsx("img",{src:"https://i.pinimg.com/736x/8f/52/d6/8f52d6c065add657cb7283780495fe07.jpg",alt:"Desvans perdidos",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6",children:[l.jsx("h3",{className:"text-xl font-bold mb-3 text-brand-blue",children:"Desvans perdidos"}),l.jsx("p",{className:"text-gray-700",children:"Aislamiento térmico especializado para combles perdus, mejorando significativamente la eficiencia energética de la vivienda."})]})]}),l.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105",children:[l.jsx("div",{className:"h-60 overflow-hidden",children:l.jsx("img",{src:"https://i.pinimg.com/736x/52/89/3d/52893d8d6f12fb9ddd0c3012c8727a3a.jpg",alt:"Sótano",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6",children:[l.jsx("h3",{className:"text-xl font-bold mb-3 text-brand-blue",children:"Sótano"}),l.jsx("p",{className:"text-gray-700",children:"Soluciones de aislamiento para sous-sol, creando espacios habitables más confortables y reduciendo la pérdida de calor."})]})]}),l.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105",children:[l.jsx("div",{className:"h-60 overflow-hidden",children:l.jsx("img",{src:"https://i.pinimg.com/736x/58/84/be/5884be17c774633f699ebbac8e4c05dd.jpg",alt:"Isolation des murs extérieurs",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6",children:[l.jsx("h3",{className:"text-xl font-bold mb-3 text-brand-blue",children:"Muros exteriores"}),l.jsx("p",{className:"text-gray-700",children:"Aislamiento de paredes exteriores, mejorando el rendimiento térmico general del edificio y reduciendo los costes energéticos."})]})]})]})]}),l.jsxs("section",{className:"mb-20",children:[l.jsx("h2",{className:"text-3xl font-bold mb-10 text-brand-dark text-center",children:"2. Aislamiento térmico terciario"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[l.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105",children:[l.jsx("div",{className:"h-60 overflow-hidden",children:l.jsx("img",{src:"https://www.onyvu.com/global/uploads/business_files/cie_59/cie_about/31082021_093127_8152728466459167207489_i.jpg",alt:"Calorífugo",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6",children:[l.jsx("h3",{className:"text-xl font-bold mb-3 text-brand-blue",children:"Calorífugo"}),l.jsx("p",{className:"text-gray-700",children:"Aislamiento térmico para instalaciones industriales, maximizando la eficiencia energética y reduciendo las pérdidas de calor."})]})]}),l.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105",children:[l.jsx("div",{className:"h-60 overflow-hidden",children:l.jsx("img",{src:"https://www.airius.solutions/wp-content/uploads/Modele-PEARL-NV-fond-plafond-rectangle.png",alt:"Desestratificador de aire",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6",children:[l.jsx("h3",{className:"text-xl font-bold mb-3 text-brand-blue",children:"Desestratificador de aire"}),l.jsx("p",{className:"text-gray-700",children:"Sistemas de désestratificateur d'air que optimizan la distribución del calor y reducen los costes de calefacción en espacios amplios."})]})]}),l.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105",children:[l.jsx("div",{className:"h-60 overflow-hidden",children:l.jsx("img",{src:"https://bureauecologie.fr/wp-content/uploads/2024/04/importance-de-lisolation-des-points-singuliers-3.webp",alt:"Puntos Singulares",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6",children:[l.jsx("h3",{className:"text-xl font-bold mb-3 text-brand-blue",children:"Puntos Singulares"}),l.jsx("p",{className:"text-gray-700",children:"Tratamiento de points singuliers que requieren una atención especial para garantizar un aislamiento eficaz y completo."})]})]})]})]}),l.jsxs("section",{className:"mb-20",children:[l.jsx("h2",{className:"text-3xl font-bold mb-10 text-brand-dark text-center",children:"3. Luminarias modulares LED"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[l.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105",children:[l.jsx("div",{className:"h-60 overflow-hidden",children:l.jsx("img",{src:"https://www.eclairage-pro.fr/images/Image/Image/direct%20indirect.jpg?1518616674398",alt:"Luminarias comerciales",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6",children:[l.jsx("h3",{className:"text-xl font-bold mb-3 text-brand-blue",children:"Luminarias para espacios comerciales"}),l.jsx("p",{className:"text-gray-700",children:"Soluciones de iluminación LED modulares diseña
2365das específicamente para entornos comerciales y oficinas."})]})]}),l.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105",children:[l.jsx("div",{className:"h-60 overflow-hidden",children:l.jsx("img",{src:"https://m.media-amazon.com/images/I/61Bp2sYA3OL.jpg",alt:"Tubos LED",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6",children:[l.jsx("h3",{className:"text-xl font-bold mb-3 text-brand-blue",children:"Tubos LED hemisféricos"}),l.jsx("p",{className:"text-gray-700",children:"Tubos LED con iluminación hemisférica que proporcionan una distribución uniforme de la luz y mayor eficiencia energética."})]})]}),l.jsxs("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105",children:[l.jsx("div",{className:"h-60 overflow-hidden",children:l.jsx("img",{src:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT7xnf8Y6z8tEokkQTitPwxpLBbm89tjOV6CQ&s",alt:"Lámparas LED clase A+",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6",children:[l.jsx("h3",{className:"text-xl font-bold mb-3 text-brand-blue",children:"Lámparas LED clase A+ (Ultramar)"}),l.jsx("p",{className:"text-gray-700",children:"Lampadaires LED de alta eficiencia energética (clase A+) que ofrecen una iluminación óptima con un consumo mínimo."})]})]})]})]}),l.jsx("section",{className:"bg-brand-blue text-white p-8 md:p-12 rounded-xl shadow-lg",children:l.jsxs("div",{className:"text-center max-w-3xl mx-auto",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4",children:"¿Interesado en nuestras soluciones profesionales?"}),l.jsx("p",{className:"text-lg mb-6",children:"Nuestro equipo de expertos está listo para asesorarle y ofrecerle la mejor solución para sus necesidades."}),l.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:l.jsx("button",{onClick:()=>window.location.href="/contacto",className:"cta-button w-full sm:w-auto",children:"Contactar ahora"})})]})})]})]})),$c={"aislamiento-residencial":{"desvans-perdidos":{slug:"desvans-perdidos",name:"Desvans Perdidos",description:"Optimice la eficiencia energética de su hogar con nuestro sistema de aislamiento para desvanes perdidos. Nuestra solución proporciona una barrera térmica superior que reduce significativamente la pérdida de calor a través del techo, manteniendo su hogar más cálido en invierno y más fresco en verano. Utilizamos materiales de alta calidad que no solo mejoran el confort térmico sino que también contribuyen a reducir el consumo energético y las emisiones de CO2.",benefits:["Reduce las pérdidas de calor hasta un 30%","Mejora el confort térmico de la vivienda","Disminuye el consumo energético y las facturas","Instalación rápida y sin obras complejas","Excelente relación calidad-precio"],applications:["Viviendas unifamiliares con desvanes no habitables","Edificios residenciales antiguos con aislamiento deficiente","Casas de campo o segundas residencias","Rehabilitaciones energéticas","Construcciones con cubiertas inclinadas"],image:"https://i.pinimg.com/736x/8f/52/d6/8f52d6c065add657cb7283780495fe07.jpg",category:"aislamiento-residencial",categoryName:"Aislamiento Residencial"},sotano:{slug:"sotano",name:"Sótano",description:"Nuestro sistema de aislamiento para sótanos proporciona una solución integral para espacios subterráneos, eliminando problemas de humedad y mejorando la eficiencia térmica. Aplicamos tecnologías avanzadas que crean una barrera efectiva contra la humedad y el frío, transformando su sótano en un espacio confortable y energéticamente eficiente. Ideal para ampliar el espacio habitable de su vivienda o proteger áreas de almacenamiento.",benefits:["Elimina problemas de humedad y condensación","Mejora la temperatura interior del sótano","Ahorro energético significativo","Previene la aparición de moho y hongos","Aumenta el valor de su propiedad"],applications:["Sótanos habitables o en proceso de acondicionamiento","Bodegas y espacios de almacenamiento","Salas de instalaciones técnicas","Garajes subterráneos","Espacios comerciales bajo rasante"],image:"https://i.pinimg.com/736x/52/89/3d/52893d8d6f12fb9ddd0c3012c8727a3a.jpg",category:"aislamiento-residencial",categoryName:"Aislamiento Residencial"},"muros-exteriores":{slug:"muros-exteriores",name:"Muros Exteriores",description:"El aislamiento de muros exteriores es fundamental para lograr una envolvente térmica eficiente en su vivienda. Nuestro sistema SATE (Sistema de Aislamiento Térmico por el Exterior) proporciona una capa continua de aislamiento que elimina puentes térmicos y protege la estructura del edificio. Esta solución no solo mejora el rendimiento energético sino que también renueva la estética de la fachada y aumenta la vida útil del inmueble.",benefits:["Elimina puentes térmicos y reduce pérdidas energéticas","Protege la estructura del edificio de dilataciones térmicas","Mejora la inercia térmica de los muros","Renueva la estética de la fachada","Solución duradera con bajo mantenimiento"],applications:["Edificios residenciales (unifamiliares y plurifamiliares)","Rehabilitaciones energéticas integrales","Inmuebles con problemas de humedades o condensaciones","E
2365dificios con fachadas deterioradas","Construcciones en zonas climáticas extremas"],image:"https://i.pinimg.com/736x/58/84/be/5884be17c774633f699ebbac8e4c05dd.jpg",category:"aislamiento-residencial",categoryName:"Aislamiento Residencial"}},"aislamiento-terciario":{calorifugo:{slug:"calorifugo",name:"Calorífugo",description:"Nuestras soluciones calorífugas proporcionan un aislamiento térmico óptimo para instalaciones industriales y comerciales, especialmente en sistemas de tuberías, equipos y depósitos. Utilizamos materiales de alta resistencia térmica que minimizan las pérdidas de calor, optimizan el rendimiento energético y reducen los costes operativos. Nuestros sistemas están diseñados para adaptarse a las condiciones más exigentes, incluyendo altas temperaturas y entornos corrosivos.",benefits:["Reducción significativa de pérdidas térmicas","Optimización de procesos industriales y ahorro energético","Prevención de condensaciones y corrosión","Mejora de la seguridad laboral evitando contactos con superficies calientes","Soluciones a medida según especificaciones técnicas"],applications:["Industria alimentaria y farmacéutica","Instalaciones HVAC en edificios comerciales","Sistemas de generación y distribución de energía","Refinerías y plantas petroquímicas","Industria papelera y textil"],image:"https://www.onyvu.com/global/uploads/business_files/cie_59/cie_about/31082021_093127_8152728466459167207489_i.jpg",category:"aislamiento-terciario",categoryName:"Aislamiento Terciario"},desestratificador:{slug:"desestratificador",name:"Desestratificador de Aire",description:"Nuestros desestratificadores de aire son la solución ideal para espacios con techos altos donde el aire caliente tiende a acumularse en las zonas superiores. Estos sistemas redistribuyen eficientemente el aire caliente desde el techo hacia el nivel del suelo, eliminando la estratificación térmica y proporcionando una temperatura uniforme en todo el espacio. El resultado es un mayor confort y un ahorro energético sustancial de hasta un 30% en costes de calefacción.",benefits:["Ahorro energético de hasta un 30% en calefacción","Distribución uniforme de la temperatura","Reducción de condensación en cubiertas","Rápido retorno de la inversión","Instalación sencilla y bajo mantenimiento"],applications:["Naves industriales y almacenes","Instalaciones deportivas","Centros comerciales","Espacios de exhibición","Hangares y grandes espacios diáfanos"],image:"https://www.airius.solutions/wp-content/uploads/Modele-PEARL-NV-fond-plafond-rectangle.png",category:"aislamiento-terciario",categoryName:"Aislamiento Terciario"},"puntos-singulares":{slug:"puntos-singulares",name:"Puntos Singulares",description:"Nuestro servicio especializado en aislamiento de puntos singulares aborda de manera eficaz aquellas zonas críticas donde se producen los mayores puentes térmicos en edificaciones comerciales e industriales. Desarrollamos soluciones a medida para cajas de persianas, encuentros de forjados, pilares, contornos de ventanas y otros elementos arquitectónicos que requieren un tratamiento específico. Un correcto aislamiento de estos puntos es fundamental para garantizar la eficiencia energética global del edificio.",benefits:["Eliminación efectiva de puentes térmicos","Prevención de condensaciones y moho","Mejora del confort térmico interior","Complemento ideal para rehabilitaciones energéticas integrales","Adaptación a cada caso particular"],applications:["Edificios de oficinas","Centros educativos y sanitarios","Hoteles y complejos turísticos","Centros comerciales y de ocio","Edificios públicos y administrativos"],image:"https://bureauecologie.fr/wp-content/uploads/2024/04/importance-de-lisolation-des-points-singuliers-3.webp",category:"aislamiento-terciario",categoryName:"Aislamiento Terciario"}},"luminarias-led":{"luminarias-comerciales":{slug:"luminarias-comerciales",name:"Luminarias Comerciales",description:"Nuestras luminarias LED para espacios comerciales ofrecen una iluminación óptima con un consumo energético mínimo. Diseñadas específicamente para entornos comerciales y de trabajo, estas soluciones proporcionan una luz uniforme y de alta calidad que mejora la experiencia del cliente y el rendimiento de los empleados. Con una vida útil excepcional y un mantenimiento reducido, representan la opción más eficiente y sostenible para la iluminación comercial moderna.",benefits:["Ahorro energético de hasta un 70% respecto a sistemas tradicionales","Luz de alta calidad con excelente reproducción cromática","Vida útil superior a 50.000 horas","Múltiples opciones de temperatura de color y flujo luminoso","Control y regulación avanzados compatibles con sistemas domóticos"],applications:["Tiendas y establecimientos comerciales","Oficinas y espacios de trabajo","Restaurantes y hostelería","Centros educativos","Espacios sanitarios"],image:"https://www.eclairage-pro.fr/images/Image/Image/direct%20indirect.jpg?1518616674398",category:"luminarias-led",categoryName:"Luminarias LED"},"tubos-led":{slug:"tubos-led",name:"Tubos LED Hemisféricos",description:"Nuestros innovadores tubos 
2365LED hemisféricos representan la evolución definitiva de la iluminación lineal. Con un diseño que proporciona una distribución de luz de 180°, eliminan zonas de sombra y ofrecen una iluminación envolvente y uniforme. Son la solución perfecta para reemplazar tubos fluorescentes convencionales, ofreciendo mayor eficiencia, mejor calidad de luz y una vida útil significativamente superior. Disponibles en diferentes temperaturas de color para adaptarse a cada ambiente.",benefits:["Distribución luminosa hemisférica de 180°","Conexión directa sin necesidad de balastos o cebadores","Encendido instantáneo y sin parpadeos","Ausencia de radiación UV e IR","Resistentes a vibraciones y encendidos frecuentes"],applications:["Sustitución directa de tubos fluorescentes","Pasillos y zonas de tránsito","Áreas de producción y trabajo","Estanterías y expositores","Garajes y zonas técnicas"],image:"https://m.media-amazon.com/images/I/61Bp2sYA3OL.jpg",category:"luminarias-led",categoryName:"Luminarias LED"},"lamparas-led":{slug:"lamparas-led",name:"Lámparas LED Clase A+",description:"Nuestra gama de lámparas LED de clase A+ representa lo último en eficiencia energética para iluminación. Diseñadas para sustituir directamente las bombillas tradicionales, estas lámparas combinan un consumo ultrareducido con una calidad de luz excepcional. Su tecnología avanzada proporciona una iluminación inmediata, sin tiempos de calentamiento, y una reproducción cromática superior que realza los colores naturales. Con formatos adaptados a cualquier necesidad, son la elección perfecta para una iluminación sostenible y de calidad.",benefits:["Máxima clasificación energética (A+)","Reducción de hasta un 90% en el consumo eléctrico","Luz de calidad con IRC>90","Múltiples formatos compatibles con luminarias existentes","Amortización rápida de la inversión"],applications:["Iluminación general en todo tipo de espacios","Iluminación decorativa y de acento","Zonas con iluminación permanente","Áreas con encendidos frecuentes","Espacios donde la calidad de luz es esencial"],image:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT7xnf8Y6z8tEokkQTitPwxpLBbm89tjOV6CQ&s",category:"luminarias-led",categoryName:"Luminarias LED"}}},yk=()=>{const{category:e,slug:t}=Xy(),[n,r]=m.useState(null),{setFormOpen:a}=dt();return m.useEffect(()=>{if(e&&t){const o=e;$c[o]&&$c[o][t]&&r($c[o][t])}},[e,t]),n?l.jsxs(l.Fragment,{children:[l.jsxs(ip,{children:[l.jsxs("title",{children:[n.name," | Ayudas Aislamiento"]}),l.jsx("meta",{name:"description",content:n.description.substring(0,160)})]}),l.jsxs("div",{className:"pt-28 pb-20",children:[l.jsx("div",{className:"container mx-auto px-4 mb-6",children:l.jsxs("div",{className:"flex items-center text-sm text-gray-600",children:[l.jsx(Oe,{to:"/",className:"hover:text-brand-blue",children:"Inicio"}),l.jsx(To,{size:16,className:"mx-2"}),l.jsx(Oe,{to:"/profesional",className:"hover:text-brand-blue",children:"Profesional"}),l.jsx(To,{size:16,className:"mx-2"}),l.jsx(Oe,{to:`/profesional/${n.category}`,className:"hover:text-brand-blue",children:n.categoryName}),l.jsx(To,{size:16,className:"mx-2"}),l.jsx("span",{className:"text-brand-blue font-medium",children:n.name})]})}),l.jsx("div",{className:"container mx-auto px-4",children:l.jsx("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden",children:l.jsxs("div",{className:"md:flex",children:[l.jsx("div",{className:"md:w-1/2 h-64 md:h-auto",children:l.jsx("img",{src:n.image,alt:n.name,className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"md:w-1/2 p-6 md:p-8",children:[l.jsx("h1",{className:"text-3xl font-bold text-gray-900 mb-3",children:n.name}),l.jsx("div",{className:"inline-block px-3 py-1 mb-4 text-sm font-medium bg-brand-blue/10 text-brand-blue rounded-full",children:n.categoryName}),l.jsx("p",{className:"text-gray-700 mb-6 leading-relaxed",children:n.description}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mt-4",children:[l.jsx(Oe,{to:"/contacto",className:"secondary-button inline-flex justify-center",children:"Contactar"}),l.jsxs("button",{onClick:()=>a(!0),className:"secondary-button flex items-center justify-center gap-2",children:[l.jsx(JC,{size:18}),"Solicitar Info"]})]})]})]})})}),l.jsx("div",{className:"container mx-auto px-4 mt-12",children:l.jsxs("div",{className:"md:flex gap-6",children:[l.jsxs("div",{className:"md:w-1/2 bg-white rounded-xl shadow-lg p-6 mb-6 md:mb-0",children:[l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Beneficios"}),l.jsx("ul",{className:"space-y-3",children:n.benefits.map((o,s)=>l.jsxs("li",{className:"flex items-start",children:[l.jsx(Vd,{className:"text-brand-green shrink-0 mr-2 mt-1",size:18}),l.jsx("span",{children:o})]},s))})]}),l.jsxs("div",{className:"md:w-1/2 bg-white rounded-xl shadow-lg p-6",children:[l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Aplicaciones"}),l.jsx("ul",{className:"space-y-3",children:n.applications.map((o,s)=>l.jsxs("li",{className:"flex items-start",children:[l.jsx(Vd,{className:"text-brand-blue shrink-0 mr-2 mt-1",size:18}),l.jsx("span",{children:o})]},s))})]})]})}),l.jsx("div",{className:"container mx-auto px-4 mt-16",children:l.jsxs("div",{className:"bg-gradient-to-r from-brand-blue to-brand-green text-white rounded-xl shadow-lg p-8 text-center",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4",children:"¿Interesado en este producto?"}),l.jsx("p",{className:"text-white/90 mb-8 max-w-2xl mx-auto",children:"Nuestros expertos pueden ayudarle a encontrar la solución perfecta para sus necesidades específicas. Contacte con nosotros hoy mismo para recibir asesoramiento personalizado y un presupuesto sin compromiso."}),l.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[l.jsx(Oe,{to:"/contacto",className:"bg-white text-brand-blue font-bold py-3 px-6 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 transform",children:"Contactar ahora"}),l.jsxs("button",{onClick:()=>a(!0),className:"bg-brand-orange text-white font-bold py-3 px-6 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 transform flex items-center justify-center gap-2",children:[l.jsx(Yo,{size:18}),"Solicitar presupuesto"]})]})]})})]})]}):l.jsxs("div",{className:"container mx-auto px-4 py-32 text-center",children:[l.jsx("h1",{className:"text-2xl font-bold mb-4",children:"Producto no encontrado"}),l.jsx("p",{className:"mb-8",children:"Lo sentimos, el producto que buscas no existe o no está disponible."}),l.jsx(Oe,{to:"/profesional",className:"secondary-button inline-block",children:"Volver a Profesional"})]})},xk=()=>{const{setFormOpen:e}=dt();return l.jsxs(l.Fragment,{children:[l.jsxs(ip,{children:[l.jsx("title",{children:"Programa de Patrocinio - Consigue Regalos Por Recomendar | aisladoramigo"}),l.jsx("meta",{name:"description",content:"Participa en nuestro programa de patrocinio. Recomienda a 5 amigos para el aislamiento térmico gratuito y recibe un regalo. ¡Totalmente financiado por el estado!"})]}),l.jsx("section",{className:"pt-32 pb-12 md:pb-20 bg-gradient-to-b from-brand-blue/10 to-white",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"text-center max-w-3xl mx-auto",children:[l.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-6 text-brand-dark",children:"Programa de Patrocinio"}),l.jsx("p",{className:"text-lg md:text-xl text-gray-700 mb-8",children:"Recomiende a sus amigos y familiares y reciba regalos exclusivos"}),l.jsx(za,{onClick:()=>e(!0),size:"lg",className:"bg-brand-orange hover:bg-brand-orange/90 text-white font-bold px-8 py-6 text-lg",children:"Qu
2365iero Participar"})]})})}),l.jsx("section",{className:"py-16 bg-white",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-12",children:"¿Cómo Funciona?"}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-8 max-w-5xl mx-auto",children:[l.jsxs("div",{className:"bg-gray-50 p-6 rounded-xl shadow-md text-center",children:[l.jsx("div",{className:"w-16 h-16 bg-brand-blue rounded-full flex items-center justify-center mx-auto mb-4",children:l.jsx(o3,{className:"text-white w-8 h-8"})}),l.jsx("h3",{className:"text-xl font-bold mb-3",children:"1. Recomiende"}),l.jsx("p",{className:"text-gray-600",children:"Recomiende a 5 amigos o familiares que puedan beneficiarse del aislamiento térmico gratuito."})]}),l.jsxs("div",{className:"bg-gray-50 p-6 rounded-xl shadow-md text-center",children:[l.jsx("div",{className:"w-16 h-16 bg-brand-green rounded-full flex items-center justify-center mx-auto mb-4",children:l.jsx(UC,{className:"text-white w-8 h-8"})}),l.jsx("h3",{className:"text-xl font-bold mb-3",children:"2. Instalación"}),l.jsx("p",{className:"text-gray-600",children:"Cuando sus 5 referidos completen la instalación del aislamiento en sus hogares."})]}),l.jsxs("div",{className:"bg-gray-50 p-6 rounded-xl shadow-md text-center",children:[l.jsx("div",{className:"w-16 h-16 bg-brand-orange rounded-full flex items-center justify-center mx-auto mb-4",children:l.jsx(km,{className:"text-white w-8 h-8"})}),l.jsx("h3",{className:"text-xl font-bold mb-3",children:"3. Reciba su Regalo"}),l.jsx("p",{className:"text-gray-600",children:"Usted recibirá un regalo exclusivo como agradecimiento por ayudar a difundir este beneficio."})]})]})]})}),l.jsx("section",{className:"py-16 bg-gray-50",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-12",children:"¿Por Qué Es Tan Fácil Recomendar?"}),l.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:[l.jsxs("div",{className:"flex items-start space-x-4",children:[l.jsx("div",{className:"bg-brand-blue rounded-full p-3 mt-1 flex-shrink-0",children:l.jsx(Vb,{className:"text-white w-5 h-5"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold mb-2",children:"Producto Eficaz"}),l.jsx("p",{className:"text-gray-600",children:"El aislamiento térmico mejora significativamente el confort de la vivienda y reduce el ruido exterior."})]})]}),l.jsxs("div",{className:"flex items-start space-x-4",children:[l.jsx("div",{className:"bg-brand-green rounded-full p-3 mt-1 flex-shrink-0",children:l.jsx(e3,{className:"text-white w-5 h-5"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold mb-2",children:"Ahorro Garantizado"}),l.jsx("p",{className:"text-gray-600",children:"Reduce hasta un 40% en la factura energética, un argumento muy convincente para sus conocidos."})]})]}),l.jsxs("div",{className:"flex items-start space-x-4",children:[l.jsx("div",{className:"bg-brand-orange rounded-full p-3 mt-1 flex-shrink-0",children:l.jsx(km,{className:"text-white w-5 h-5"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-bold mb-2",children:"Regalo Exclusivo"}),l.jsx("p",{className:"text-gray-600",children:"Usted recibe un regalo por ayudar a otros a mejorar su calidad de vida y ahorrar energía."})]})]}),l.jsxs("div",{className:"md:col-span-2 lg:col-span-3 bg-white p-6 rounded-xl shadow-sm border border-brand-blue/20 mt-6",children:[l.jsx("h3",{className:"text-xl md:text-2xl font-bold text-center text-brand-blue mb-4",children:"Lo Más Importante: ¡Es TOTALMENTE GRATUITO!"}),l.jsx("p",{className:"text-center text-lg",children:"La instalación está 100% financiada por el Estado a través del programa de Certificados de Ahorro Energético (CAE). Sus amigos obtendrán todos los beneficios sin coste alguno."})]})]})]})}),l.jsx("section",{className:"py-16 bg-white",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-12",children:"Lo Que Dicen Nuestros Participantes"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-8 max-w-4xl mx-auto",children:[l.jsxs("div",{className:"bg-gray-50 p-6 rounded-xl shadow-md",children:[l.jsx("p",{className:"italic mb-4",children:'"Recomendé el servicio a mi familia porque mi experiencia fue excelente. El aislamiento ha reducido mi factura energética significativamente y el proceso fue muy sencillo."'}),l.jsxs("div",{className:"flex items-center",children:[l.jsx("div",{className:"w-12 h-12 bg-gray-300 rounded-full mr-4"}),l.jsxs("div",{children:[l.jsx("p",{className:"font-bold",children:"María González"}),l.jsx("p",{className:"text-sm text-gray-600",children:"Madrid"})]})]})]}),l.jsxs("div",{className:"bg-gray-50 p-6 rounded-xl shadow-md",children:[l.jsx("p",{className:"italic mb-4",children:'"No podía creer que fuera gratis. Mis vecinos también lo han instalado gracias a mi recomendación y todos estamos encantados con los resultados. ¡Y encima recibí un regalo!"'}),l.jsxs("div",{className:"flex items-center",children:[l.jsx("div",{className:"w-12 h-12 bg-gray-300 rounded-full mr-4"}),l.jsxs("div",{children:[l.jsx("p",{className:"font-bold",children:"Carlos Rodríguez"}),l.jsx("p",{className:"text-sm text-gray-600",children:"Barcelona"})]})]})]})]})]})}),l.jsx("section",{className:"py-16 bg-brand-blue text-white",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-6",children:"¿Listo para Participar en Nuestro Programa de Patrocinio?"}),l.jsx("p",{className:"max-w-2xl mx-auto mb-8 text-lg",children:"Haga que sus amigos y familiares se beneficien del aislamiento térmico gratuito y reciba fantásticos regalos. ¡Todos ganan!"}),l.jsx(za,{onClick:()=>e(!0),size:"lg",className:"bg-brand-orange hover:bg-brand-orange/90 text-white font-bold px-8 py-6 text-lg",children:"Comenzar Ahora"})]})})]})},wk=()=>l.jsx("section",{className:"pt-28 pb-20 md:pt-36 md:pb-28 bg-gradient-to-br from-white to-blue-50",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[l.jsxs("div",{className:"space-y-6 animate-slide-up",children:[l.jsx("div",{className:"inline-block",children:l.jsxs("span",{className:"bg-brand-blue/10 text-brand-blue font-medium py-1 px-3 rounded-full text-sm flex items-center",children:[l.jsx(Ub,{size:16,className:"mr-1"}),"Ayudas CAE · Aislamiento 1 Euro"]})}),l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold leading-tight",children:["Ayudas CAE: aislamiento de buhardillas ",l.jsx("span",{className:"text-brand-blue",children:"por 1 euro"})]}),l.jsx("p",{className:"text-lg text-gray-600 max-w-xl",children:"Solicita las ayudas CAE y benefíciate del aislamiento 1 euro de tu ático o buhardilla. Programa oficial subvencionado. Ahorra hasta un 40 % en tu factura energética."}),l.jsx("ul",{className:"space-y-3",children:["🏠 Instalación profesional en 2 horas","💰 100% subvencionado - ¡GRATIS!","📊 Ahorra hasta 40% en tu factura","✨ Mayor confort garantizado"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx(Ib,{size:20,className:"text-brand-blue flex-shrink-0"}),l.jsx("span",{className:"font-medium",children:e})]},t))}),l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("p",{className:"font-bold text-2xl text-brand-blue",children:"¡Últimas plazas disponibles!"}),l.jsx(yt,{size:24,className:"text-brand-blue animate-bounce"})]})]}),l.jsxs("div",{className:"relative",children:[l.jsx("div",{className:"absolute -inset-4 bg-brand-blue/20 rounded-2xl blur-lg animate-pulse"}),l.jsx("div",{className:"glass-card p-6 rounded-xl shadow-xl animate-slide-right relative",children:l.jsxs("div",{className:"bg-white rounded-lg p-4",children:[l.jsx("h3",{className:"text-2xl font-bold mb-4 text-center text-brand-blue",children:"¡Solicita tu aislamiento GRATIS ahora!"}),l.jsx("div",{"data-fillout-id":"n7L2enerknus","data-fillout-embed-type":"standard","data-fillout-inherit-parameters":!0,"data-fillout-dynamic-resize":!0,style:{width:"100%",height:"500px"}})]})})]})]})})});function Ek(e){return Object.prototype.toString.call(e)==="[object Object]"}function Nh(e){return Ek(e)||Array.isArray(e)}function Ck(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function nf(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const a=JSON.stringify(Object.keys(e.breakpoints||{})),o=JSON.stringify(Object.keys(t.breakpoints||{}));return a!==o?!1:n.every(s=>{const i=e[s],c=t[s];return typeof i=="function"?`${i}`==`${c}`:!Nh(i)||!Nh(c)?i===c:nf(i,c)})}function Ah(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function Sk(e,t){if(e.length!==t.length)return!1;const n=Ah(e),r=Ah(t);return n.every((a,o)=>{const s=r[o];return nf(a,s)})}function rf(e){return typeof e=="number"}function du(e){return typeof e=="string"}function Ul(e){return typeof e=="boolean"}function Ph(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ce(e){return Math.abs(e)}function af(e){return Math.sign(e)}function Mo(e,t){return Ce(e-t)}function jk(e,t){if(e===0||t===0||Ce(e)<=Ce(t))return 0;const n=Mo(Ce(e),Ce(t));return Ce(n/e)}function os(e){return ss(e).map(Number)}function Wt(e){return e[ws(e)]}function ws(e){return Math.max(0,e.length-1)}function of(e,t){return t===ws(e)}function Th(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function ss(e){return Object.keys(e)}function D1(e,t){return[e,t].reduce((n,r)=>(ss(r).forEach(a=>{const o=n[a],s=r[a],i=Ph(o)&&Ph(s);n[a]=i?D1(o,s):s}),n),{})}function uu(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function Nk(e,t){const n={start:r,center:a,end:o};function r(){return 0}function a(c){return o(c)/2}function o(c){return t-c}function s(c,d){return du(e)?n[e](c):e(t,c,d)}return{measure:s}}function is(){let e=[];function t(a,o,s,i={passive:!0}){let c;if("addEventListener"in a)a.addEventListener(o,s,i),c=()=>a.removeEventListener(o,s,i);else{const d=a;d.addListener(s),c=()=>d.removeListener(s)}return e.push(c),r}function n(){e=e.filter(a=>a())}const r={add:t,clear:n};return r}function Ak(e,t,n,r){const a=is(),o=1e3/60;let s=null,i=0,c=0;function d(){a.add(e,"visibilitychange",()=>{e.hidden&&b()})}function f(){y(),a.clear()}function u(w){if(!c)return;s||(s=w);const h=w-s;for(s=w,i+=h;i>=o;)n(o),i-=o;const g=i/o;r(g),c&&t.requestAnimationFrame(u)}function p(){c||(c=t.requestAnimationFrame(u))}function y(){t.cancelAnimationFrame(c),s=null,i=0,c=0}function b(){s=null,i=0}return{init:d,destroy:f,start:p,stop:y,update:()=>n(o),render:r}}function Pk(e,t){const n=t==="rtl",r=e==="y",a=r?"y":"x",o=r?"x":"y",s=!r&&n?-1:1,i=f(),c=u();function d(b){const{height:v,width:w}=b;return r?v:w}function f(){return r?"top":n?"right":"left"}function u(){return r?"bottom":n?"left":"right"}function p(b){return b*s}return{scroll:a,cross:o,startEdge:i,endEdge:c,measureSize:d,direction:p}}function Ir(e=0,t=0){const n=Ce(e-t);function r(d){return d<e}function a(d){return d>t}function o(d){return r(d)||a(d)}function s(d){return o(d)?r(d)?e:t:d}function i(d){return n?d-n*Math.ceil((d-t)/n):d}return{length:n,max:t,min:e,constrain:s,reachedAny:o,reachedMax:a,reachedMin:r,removeOffset:i}}
vendor: 16,110 bytes, line 2365
2365function O1(e,t,n){const{constrain:r}=Ir(0,e),a=e+1;let o=s(t);function s(p){return n?Ce((a+p)%a):r(p)}function i(){return o}function c(p){return o=s(p),u}function d(p){return f().set(i()+p)}function f(){return O1(e,i(),n)}const u={get:i,set:c,add:d,clone:f};return u}function Tk(e,t,n,r,a,o,s,i,c,d,f,u,p,y,b,v,w,h,g){const{cross:x,direction:E}=e,C=["INPUT","SELECT","TEXTAREA"],N={passive:!1},S=is(),j=is(),T=Ir(50,225).constrain(y.measure(20)),k={mouse:300,touch:400},I={mouse:500,touch:600},_=b?43:25;let V=!1,O=0,H=0,B=!1,W=!1,A=!1,P=!1;function z(U){if(!g)return;function re(ke){(Ul(g)||g(U,ke))&&Y(ke)}const me=t;S.add(me,"dragstart",ke=>ke.preventDefault(),N).add(me,"touchmove",()=>{},N).add(me,"touchend",()=>{}).add(me,"touchstart",re).add(me,"mousedown",re).add(me,"touchcancel",pe).add(me,"contextmenu",pe).add(me,"click",de,!0)}function D(){S.clear(),j.clear()}function F(){const U=P?n:t;j.add(U,"touchmove",oe,N).add(U,"touchend",pe).add(U,"mousemove",oe,N).add(U,"mouseup",pe)}function G(U){const re=U.nodeName||"";return C.includes(re)}function J(){return(b?I:k)[P?"mouse":"touch"]}function Ne(U,re){const me=u.add(af(U)*-1),ke=f.byDistance(U,!b).distance;return b||Ce(U)<T?ke:w&&re?ke*.5:f.byIndex(me.get(),0).distance}function Y(U){const re=uu(U,r);P=re,A=b&&re&&!U.buttons&&V,V=Mo(a.get(),s.get())>=2,!(re&&U.button!==0)&&(G(U.target)||(B=!0,o.pointerDown(U),d.useFriction(0).useDuration(0),a.set(s),F(),O=o.readPoint(U),H=o.readPoint(U,x),p.emit("pointerDown")))}function oe(U){if(!uu(U,r)&&U.touches.length>=2)return pe(U);const me=o.readPoint(U),ke=o.readPoint(U,x),Le=Mo(me,O),ut=Mo(ke,H);if(!W&&!P&&(!U.cancelable||(W=Le>ut,!W)))return pe(U);const jt=o.pointerMove(U);Le>v&&(A=!0),d.useFriction(.3).useDuration(.75),i.start(),a.add(E(jt)),U.preventDefault()}function pe(U){const me=f.byDistance(0,!1).index!==u.get(),ke=o.pointerUp(U)*J(),Le=Ne(E(ke),me),ut=jk(ke,Le),jt=_-10*ut,he=h+ut/50;W=!1,B=!1,j.clear(),d.useDuration(jt).useFriction(he),c.distance(Le,!b),P=!1,p.emit("pointerUp")}function de(U){A&&(U.stopPropagation(),U.preventDefault(),A=!1)}function xe(){return B}return{init:z,destroy:D,pointerDown:xe}}function kk(e,t){let r,a;function o(u){return u.timeStamp}function s(u,p){const b=`client${(p||e.scroll)==="x"?"X":"Y"}`;return(uu(u,t)?u:u.touches[0])[b]}function i(u){return r=u,a=u,s(u)}function c(u){const p=s(u)-s(a),y=o(u)-o(r)>170;return a=u,y&&(r=u),p}function d(u){if(!r||!a)return 0;const p=s(a)-s(r),y=o(u)-o(r),b=o(u)-o(a)>170,v=p/y;return y&&!b&&Ce(v)>.1?v:0}return{pointerDown:i,pointerMove:c,pointerUp:d,readPoint:s}}function Rk(){function e(n){const{offsetTop:r,offsetLeft:a,offsetWidth:o,offsetHeight:s}=n;return{top:r,right:a+o,bottom:r+s,left:a,width:o,height:s}}return{measure:e}}function Mk(e){function t(r){return e*(r/100)}return{measure:t}}function Lk(e,t,n,r,a,o,s){const i=[e].concat(r);let c,d,f=[],u=!1;function p(w){return a.measureSize(s.measure(w))}function y(w){if(!o)return;d=p(e),f=r.map(p);function h(g){for(const x of g){if(u)return;const E=x.target===e,C=r.indexOf(x.target),N=E?d:f[C],S=p(E?e:r[C]);if(Ce(S-N)>=.5){w.reInit(),t.emit("resize");break}}}c=new ResizeObserver(g=>{(Ul(o)||o(w,g))&&h(g)}),n.requestAnimationFrame(()=>{i.forEach(g=>c.observe(g))})}function b(){u=!0,c&&c.disconnect()}return{init:y,destroy:b}}function Dk(e,t,n,r,a,o){let s=0,i=0,c=a,d=o,f=e.get(),u=0;function p(N){const S=N/1e3,j=c*S,T=r.get()-e.get(),k=!c;let I=0;return k?(s=0,n.set(r),e.set(r),I=T):(n.set(e),s+=T/j,s*=d,f+=s,e.add(s*S),I=f-u),i=af(I),u=f,C}function y(){const N=r.get()-t.get();return Ce(N)<.001}function b(){return c}function v(){return i}function w(){return s}function h(){return x(a)}function g(){return E(o)}function x(N){return c=N,C}function E(N){return d=N,C}const C={direction:v,duration:b,velocity:w,seek:p,settled:y,useBaseFriction:g,useBaseDuration:h,useFriction:E,useDuration:x};return C}function Ok(e,t,n,r,a){const o=a.measure(10),s=a.measure(50),i=Ir(.1,.99);let c=!1;function d(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function f(y){if(!d())return;const b=e.reachedMin(t.get())?"min":"max",v=Ce(e[b]-t.get()),w=n.get()-t.get(),h=i.constrain(v/s);n.subtract(w*h),!y&&Ce(w)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function u(y){c=!y}return{shouldConstrain:d,constrain:f,toggleActive:u}}function Ik(e,t,n,r,a){const o=Ir(-t+e,0),s=u(),i=f(),c=p();function d(b,v){return Mo(b,v)<1}function f(){const b=s[0],v=Wt(s),w=s.lastIndexOf(b),h=s.indexOf(v)+1;return Ir(w,h)}function u(){return n.map((b,v)=>{const{min:w,max:h}=o,g=o.constrain(b),x=!v,E=of(n,v);return x?h:E||d(w,g)?w:d(h,g)?h:g}).map(b=>parseFloat(b.toFixed(3)))}function p(){if(t<=e+a)return[o.max];if(r==="keepSnaps")return s;const{min:b,max:v}=i;return s.slice(b,v)}return{snapsContained:c,scrollContainLimit:i}}function _k(e,t,n){const r=t[0],a=n?r-e:Wt(t);return{limit:Ir(a,r)}}function zk(e,t,n,r){const o=t.min+.1,s=t.max+.1,{reachedMin:i,reachedMax:c}=Ir(o,s);function d(p){return p===1?c(n.get()):p===-1?i(n.get()):!1}function f(p){if(!d(p))return;const y=e*(p*-1);r.forEach(b=>b.add(y))}return{loop:f}}function Fk(e){const{max:t,length:n}=e;function r(o){const s=o-t;return n?s/-n:0}return{get:r}}function qk(e,t,n,r,a){const{startEdge:o,endEdge:s}=e,{groupSlides:i}=a,c=u().map(t.measure),d=p(),f=y();function u(){return i(r).map(v=>Wt(v)[s]-v[0][o]).map(Ce)}function p(){return r.map(v=>n[o]-v[o]).map(v=>-Ce(v))}function y(){return i(d).map(v=>v[0]).map((v,w)=>v+c[w])}return{snaps:d,snapsAligned:f}}function $k(e,t,n,r,a,o){const{groupSlides:s}=a,{min:i,max:c}=r,d=f();function f(){const p=s(o),y=!e||t==="keepSnaps";return n.length===1?[o]:y?p:p.slice(i,c).map((b,v,w)=>{const h=!v,g=of(w,v);if(h){const x=Wt(w[0])+1;return Th(x)}if(g){const x=ws(o)-Wt(w)[0]+1;return Th(x,Wt(w)[0])}return b})}return{slideRegistry:d}}function Bk(e,t,n,r,a){const{reachedAny:o,removeOffset:s,constrain:i}=r;function c(b){return b.concat().sort((v,w)=>Ce(v)-Ce(w))[0]}function d(b){const v=e?s(b):i(b),w=t.map((g,x)=>({diff:f(g-v,0),index:x})).sort((g,x)=>Ce(g.diff)-Ce(x.diff)),{index:h}=w[0];return{index:h,distance:v}}function f(b,v){const w=[b,b+n,b-n];if(!e)return b;if(!v)return c(w);const h=w.filter(g=>af(g)===v);return h.length?c(h):Wt(w)-n}function u(b,v){const w=t[b]-a.get(),h=f(w,v);return{index:b,distance:h}}function p(b,v){const w=a.get()+b,{index:h,distance:g}=d(w),x=!e&&o(w);if(!v||x)return{index:h,distance:b};const E=t[h]-g,C=b+f(E,0);return{index:h,distance:C}}return{byDistance:p,byIndex:u,shortcut:f}}function Uk(e,t,n,r,a,o,s){function i(u){const p=u.distance,y=u.index!==t.get();o.add(p),p&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),y&&(n.set(t.get()),t.set(u.index),s.emit("select"))}function c(u,p){const y=a.byDistance(u,p);i(y)}function d(u,p){const y=t.clone().set(u),b=a.byIndex(y.get(),p);i(b)}return{distance:c,index:d}}function Vk(e,t,n,r,a,o,s,i){const c={passive:!0,capture:!0};let d=0;function f(y){if(!i)return;function b(v){if(new Date().getTime()-d>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;const g=n.findIndex(x=>x.includes(v));rf(g)&&(a.useDuration(0),r.index(g,0),s.emit("slideFocus"))}o.add(document,"keydown",u,!1),t.forEach((v,w)=>{o.add(v,"focus",h=>{(Ul(i)||i(y,h))&&b(w)},c)})}function u(y){y.code==="Tab"&&(d=new Date().getTime())}return{init:f}}function bo(e){let t=e;function n(){return t}function r(c){t=s(c)}function a(c){t+=s(c)}function o(c){t-=s(c)}function s(c){return rf(c)?c:c.get()}return{get:n,set:r,add:a,subtract:o}}function I1(e,t){const n=e.scroll==="x"?o:s,r=t.style;let a=!1;function o(u){return`translate3d(${u}px,0px,0px)`}function s(u){return`translate3d(0px,${u}px,0px)`}function i(u){a||(r.transform=n(e.direction(u)))}function c(u){a=!u}function d(){a||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:d,to:i,toggleActive:c}}function Hk(e,t,n,r,a,o,s,i,c){const f=os(a),u=os(a).reverse(),p=h().concat(g());function y(S,j){return S.reduce((T,k)=>T-a[k],j)}function b(S,j){return S.reduce((T,k)=>y(T,j)>0?T.concat([k]):T,[])}function v(S){return o.map((j,T)=>({start:j-r[T]+.5+S,end:j+t-.5+S}))}function w(S,j,T){const k=v(j);return S.map(I=>{const _=T?0:-n,V=T?n:0,O=T?"end":"start",H=k[I][O];return{index:I,loopPoint:H,slideLocation:bo(-1),translate:I1(e,c[I]),target:()=>i.get()>H?_:V}})}function h(){const S=s[0],j=b(u,S);return w(j,n,!1)}function g(){const S=t-s[0]-1,j=b(f,S);return w(j,-n,!0)}function x(){return p.every(({index:S})=>{const j=f.filter(T=>T!==S);return y(j,t)<=.1})}function E(){p.forEach(S=>{const{target:j,translate:T,slideLocation:k}=S,I=j();I!==k.get()&&(T.to(I),k.set(I))})}function C(){p.forEach(S=>S.translate.clear())}return{canLoop:x,clear:C,loop:E,loopPoints:p}}function Wk(e,t,n){let r,a=!1;function o(c){if(!n)return;function d(f){for(const u of f)if(u.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(f=>{a||(Ul(n)||n(c,f))&&d(f)}),r.observe(e,{childList:!0})}function s(){r&&r.disconnect(),a=!0}return{init:o,destroy:s}}function Gk(e,t,n,r){const a={};let o=null,s=null,i,c=!1;function d(){i=new IntersectionObserver(b=>{c||(b.forEach(v=>{const w=t.indexOf(v.target);a[w]=v}),o=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(b=>i.observe(b))}function f(){i&&i.disconnect(),c=!0}function u(b){return ss(a).reduce((v,w)=>{const h=parseInt(w),{isIntersecting:g}=a[h];return(b&&g||!b&&!g)&&v.push(h),v},[])}function p(b=!0){if(b&&o)return o;if(!b&&s)return s;const v=u(b);return b&&(o=v),b||(s=v),v}return{init:d,destroy:f,get:p}}function Kk(e,t,n,r,a,o){const{measureSize:s,startEdge:i,endEdge:c}=e,d=n[0]&&a,f=b(),u=v(),p=n.map(s),y=w();function b(){if(!d)return 0;const g=n[0];return Ce(t[i]-g[i])}function v(){if(!d)return 0;const g=o.getComputedStyle(Wt(r));return parseFloat(g.getPropertyValue(`margin-${c}`))}function w(){return n.map((g,x,E)=>{const C=!x,N=of(E,x);return C?p[x]+f:N?p[x]+u:E[x+1][i]-g[i]}).map(Ce)}return{slideSizes:p,slideSizesWithGaps:y,startGap:f,endGap:u}}function Qk(e,t,n,r,a,o,s,i,c){const{startEdge:d,endEdge:f,direction:u}=e,p=rf(n);function y(h,g){return os(h).filter(x=>x%g===0).map(x=>h.slice(x,x+g))}function b(h){return h.length?os(h).reduce((g,x,E)=>{const C=Wt(g)||0,N=C===0,S=x===ws(h),j=a[d]-o[C][d],T=a[d]-o[x][f],k=!r&&N?u(s):0,I=!r&&S?u(i):0,_=Ce(T-I-(j+k));return E&&_>t+c&&g.push(x),S&&g.push(h.length),g},[]).map((g,x,E)=>{const C=Math.max(E[x-1]||0);return h.slice(C,g)}):[]}function v(h){return p?y(h,n):b(h)}return{groupSlides:v}}function Yk(e,t,n,r,a,o,s){const{align:i,axis:c,direction:d,startIndex:f,loop:u,duration:p,dragFree:y,dragThreshold:b,inViewThreshold:v,slidesToScroll:w,skipSnaps:h,containScroll:g,watchResize:x,watchSlides:E,watchDrag:C,watchFocus:N}=o,S=2,j=Rk(),T=j.measure(t),k=n.map(j.measure),I=Pk(c,d),_=I.measureSize(T),V=Mk(_),O=Nk(i,_),H=!u&&!!g,B=u||!!g,{slideSizes:W,slideSizesWithGaps:A,startGap:P,endGap:z}=Kk(I,T,k,n,B,a),D=Qk(I,_,w,u,T,k,P,z,S),{snaps:F,snapsAligned:G}=qk(I,O,T,k,D),J=-Wt(F)+Wt(A),{snapsContained:Ne,scrollContainLimit:Y}=Ik(_,J,G,g,S),oe=H?Ne:G,{limit:pe}=_k(J,oe,u),de=O1(ws(oe),f,u),xe=de.clone(),ue=os(n),U=({dragHandler:Ot,scrollBody:Xa,scrollBounds:Br,options:{loop:hr}},Za)=>{hr||Br.constrain(Ot.pointerDown()),Xa.seek(Za)},re=({scrollBody:Ot,translate:Xa,location:Br,offsetLocation:hr,scrollLooper:Za,slideLooper:Ja,dragHandler:Zt,animation:Hl,eventHandler:K,scrollBounds:fe,options:{loop:ie}},pt)=>{const ft=Ot.settled(),Ur=!fe.shouldConstrain(),Ss=ie?ft:ft&&Ur;Ss&&!Zt.pointerDown()&&(Hl.stop(),K.emit("settle")),Ss||K.emit("scroll");const U1=Br.get()*pt+jt.get()*(1-pt);hr.set(U1),ie&&(Za.loop(Ot.direction()),Ja.loop()),Xa.to(hr.get())},me=Ak(r,a,Ot=>U(Xt,Ot),Ot=>re(Xt,Ot)),ke=.68,Le=oe[de.get()],ut=bo(Le),jt=bo(Le),he=bo(Le),at=bo(Le),mr=Dk(ut,he,jt,at,p,ke),Ka=Bk(u,oe,J,pe,at),Tn=Uk(me,de,xe,mr,Ka,at,s),Es=Fk(pe),Qa=is(),Ya=Gk(t,n,s,v),{slideRegistry:dn}=$k(H,g,oe,Y,D,ue),Cs=Vk(e,n,dn,Tn,mr,Qa,s,N),Xt={ownerDocument:r,ownerWindow:a,eventHandler:s,containerRect:T,slideRects:k,animation:me,axis:I,dragHandler:Tk(I,e,r,a,at,kk(I,a),ut,me,Tn,mr,Ka,de,s,V,y,b,h,ke,C),eventStore:Qa,percentOfView:V,index:de,indexPrevious:xe,limit:pe,location:ut,offsetLocation:he,previousLocation:jt,options:o,resizeHandler:Lk(t,s,a,n,I,x,j),scrollBody:mr,scrollBounds:Ok(pe,he,at,mr,V),scrollLooper:zk(J,pe,he,[ut,he,jt,at]),scrollProgress:Es,scrollSnapList:oe.map(Es.get),scrollSnaps:oe,scrollTarget:Ka,scrollTo:Tn,slideLooper:Hk(I,_,J,W,A,F,oe,he,n),slideFocus:Cs,slidesHandler:Wk(t,s,E),slidesInView:Ya,slideIndexes:ue,slideRegistry:dn,slidesToScroll:D,target:at,translate:I1(I,t)};return Xt}function Xk(){let e={},t;function n(d){t=d}function r(d){return e[d]||[]}function a(d){return r(d).forEach(f=>f(t,d)),c}function o(d,f){return e[d]=r(d).concat([f]),c}function s(d,f){return e[d]=r(d).filter(u=>u!==f),c}function i(){e={}}const c={init:n,emit:a,off:s,on:o,clear:i};return c}const Zk={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Jk(e){function t(o,s){return D1(o,s||{})}function n(o){const s=o.breakpoints||{},i=ss(s).filter(c=>e.matchMedia(c).matches).map(c=>s[c]).reduce((c,d)=>t(c,d),{});return t(o,i)}function r(o){return o.map(s=>ss(s.breakpoints||{})).reduce((s,i)=>s.concat(i),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function eR(e){let t=[];function n(o,s){return t=s.filter(({options:i})=>e.optionsAtMedia(i).active!==!1),t.forEach(i=>i.init(o,e)),s.reduce((i,c)=>Object.assign(i,{[c.name]:c}),{})}function r(){t=t.filter(o=>o.destroy())}return{init:n,destroy:r}}function tl(e,t,n){const r=e.ownerDocument,a=r.defaultView,o=Jk(a),s=eR(o),i=is(),c=Xk(),{mergeOptions:d,optionsAtMedia:f,optionsMediaQueries:u}=o,{on:p,off:y,emit:b}=c,v=I;let w=!1,h,g=d(Zk,tl.globalOptions),x=d(g),E=[],C,N,S;function j(){const{container:ue,slides:U}=x;N=(du(ue)?e.querySelector(ue):ue)||e.children[0];const me=du(U)?N.querySelectorAll(U):U;S=[].slice.call(me||N.children)}function T(ue){const U=Yk(e,N,S,r,a,ue,c);if(ue.loop&&!U.slideLooper.canLoop()){const re=Object.assign({},ue,{loop:!1});return T(re)}return U}function k(ue,U){w||(g=d(g,ue),x=f(g),E=U||E,j(),h=T(x),u([g,...E.map(({options:re})=>re)]).forEach(re=>i.add(re,"change",I)),x.active&&(h.translate.to(h.location.get()),h.animation.init(),h.slidesInView.init(),h.slideFocus.init(xe),h.eventHandler.init(xe),h.resizeHandler.init(xe),h.slidesHandler.init(xe),h.options.loop&&h.slideLooper.loop(),N.offsetParent&&S.length&&h.dragHandler.init(xe),C=s.init(xe,E)))}function I(ue,U){const re=D();_(),k(d({startIndex:re},ue),U),c.emit("reInit")}function _(){h.dragHandler.destroy(),h.eventStore.clear(),h.translate.clear(),h.slideLooper.clear(),h.resizeHandler.destroy(),h.slidesHandler.destroy(),h.slidesInView.destroy(),h.animation.destroy(),s.destroy(),i.clear()}function V(){w||(w=!0,i.clear(),_(),c.emit("destroy"),c.clear())}function O(ue,U,re){!x.active||w||(h.scrollBody.useBaseFriction().useDuration(U===!0?0:x.duration),h.scrollTo.index(ue,re||0))}function H(ue){const U=h.index.add(1).get();O(U,ue,-1)}function B(ue){const U=h.index.add(-1).get();O(U,ue,1)}function W(){return h.index.add(1).get()!==D()}function A(){return h.index.add(-1).get()!==D()}function P(){return h.scrollSnapList}function z(){return h.scrollProgress.get(h.location.get())}function D(){return h.index.get()}function F(){return h.indexPrevious.get()}function G(){return h.slidesInView.get()}function J(){return h.slidesInView.get(!1)}function Ne(){return C}function Y(){return h}function oe(){return e}function pe(){return N}function de(){return S}const xe={canScrollNext:W,canScrollPrev:A,containerNode:pe,internalEngine:Y,destroy:V,off:y,on:p,emit:b,plugins:Ne,previousScrollSnap:F,reInit:v,rootNode:oe,scrollNext:H,scrollPrev:B,scrollProgress:z,scrollSnapList:P,scrollTo:O,selectedScrollSnap:D,slideNodes:de,slidesInView:G,slidesNotInView:J};
2365return k(t,n),setTimeout(()=>c.emit("init"),0),xe}tl.globalOptions=void 0;function sf(e={},t=[]){const n=m.useRef(e),r=m.useRef(t),[a,o]=m.useState(),[s,i]=m.useState(),c=m.useCallback(()=>{a&&a.reInit(n.current,r.current)},[a]);return m.useEffect(()=>{nf(n.current,e)||(n.current=e,c())},[e,c]),m.useEffect(()=>{Sk(r.current,t)||(r.current=t,c())},[t,c]),m.useEffect(()=>{if(Ck()&&s){tl.globalOptions=sf.globalOptions;const d=tl(s,n.current,r.current);return o(d),()=>d.destroy()}else o(void 0)},[s,o]),[i,a]}sf.globalOptions=void 0;const _1=m.createContext(null);function Vl(){const e=m.useContext(_1);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const z1=m.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:a,children:o,...s},i)=>{const[c,d]=sf({...t,axis:e==="horizontal"?"x":"y"},r),[f,u]=m.useState(!1),[p,y]=m.useState(!1),b=m.useCallback(g=>{g&&(u(g.canScrollPrev()),y(g.canScrollNext()))},[]),v=m.useCallback(()=>{d==null||d.scrollPrev()},[d]),w=m.useCallback(()=>{d==null||d.scrollNext()},[d]),h=m.useCallback(g=>{g.key==="ArrowLeft"?(g.preventDefault(),v()):g.key==="ArrowRight"&&(g.preventDefault(),w())},[v,w]);return m.useEffect(()=>{!d||!n||n(d)},[d,n]),m.useEffect(()=>{if(d)return b(d),d.on("reInit",b),d.on("select",b),()=>{d==null||d.off("select",b)}},[d,b]),l.jsx(_1.Provider,{value:{carouselRef:c,api:d,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:w,canScrollPrev:f,canScrollNext:p},children:l.jsx("div",{ref:i,onKeyDownCapture:h,className:te("relative",a),role:"region","aria-roledescription":"carousel",...s,children:o})})});z1.displayName="Carousel";const F1=m.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:a}=Vl();return l.jsx("div",{ref:r,className:"overflow-hidden",children:l.jsx("div",{ref:n,className:te("flex",a==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});F1.displayName="CarouselContent";const q1=m.forwardRef(({className:e,...t},n)=>{const{orientation:r}=Vl();return l.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:te("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});q1.displayName="CarouselItem";const $1=m.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},a)=>{const{orientation:o,scrollPrev:s,canScrollPrev:i}=Vl();return l.jsxs(za,{ref:a,variant:t,size:n,className:te("absolute  h-8 w-8 rounded-full",o==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!i,onClick:s,...r,children:[l.jsx(Db,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Previous slide"})]})});$1.displayName="CarouselPrevious";const B1=m.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},a)=>{const{orientation:o,scrollNext:s,canScrollNext:i}=Vl();return l.jsxs(za,{ref:a,variant:t,size:n,className:te("absolute h-8 w-8 rounded-full",o==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!i,onClick:s,...r,children:[l.jsx(yt,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Next slide"})]})});B1.displayName="CarouselNext";const tR=()=>{const e=[{src:"/lovable-uploads/84946dc8-c587-40ab-8894-7ac3268257ef.png",alt:"Ático sin aislar antes de la instalación",description:"Ático sin aislar - Antes"},{src:"/lovable-uploads/f5f314f5-e5c3-46b0-906e-ef374511ba26.png",alt:"Instalación de aislamiento en proceso",description:"Durante la instalación"},{src:"/lovable-uploads/43991c8c-59a4-4173-8873-d48dc86c1645.png",alt:"Aislamiento de ático completado",description:"Resultado final"},{src:"/lovable-uploads/8c7b7dfc-5d81-4e6d-bea5-eae429d80aa3.png",alt:"Instalador profesional trabajando",description:"Nuestros profesionales en acción"}];return l.jsx("section",{className:"py-16 bg-gray-50",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-8",children:"Nuestras Realizaciones"}),l.jsx("div",{className:"relative",children:l.jsxs(z1,{className:"w-full max-w-4xl mx-auto",children:[l.jsx(F1,{children:e.map((t,n)=>l.jsx(q1,{children:l.jsx(Yp,{className:"border-none",children:l.jsxs(Xp,{className:"p-0",children:[l.jsx("div",{className:"relative aspect-[16/9] overflow-hidden rounded-xl",children:l.jsx("img",{src:t.src,alt:t.alt,className:"object-cover w-full h-full"})}),l.jsx("p",{className:"text-center mt-4 text-lg font-medium",children:t.description})]})})},n))}),l.jsx($1,{className:"left-0"}),l.jsx(B1,{className:"right-0"})]})})]})})},nR=()=>{m.useEffect(()=>{window.scrollTo(0,0)},[]),m.useEffect(()=>{if(!document.getElementById("fillout-landing-script")){const t=document.createElement("script");t.id="fillout-landing-script",t.src="https://server.fillout.com/embed/v1/",t.async=!0,document.body.appendChild(t)}},[]);const e=()=>{const t=document.querySelector("#landing-hero");t&&t.scrollIntoView({behavior:"smooth"})};return l.jsx("div",{className:"page-transition min-h-screen",children:l.jsxs("main",{children:[l.jsx("div",{id:"landing-hero",children:l.jsx(wk,{})}),l.jsx("div",{className:"container mx-auto px-4 py-8",children:l.jsxs("div",{className:"flex flex-wrap gap-4 justify-center",children:[l.jsxs("button",{onClick:e,className:"animate-bounce hover:scale-105 transition-transform duration-300 bg-brand-blue text-white font-bold py-3 px-6 rounded-lg shadow-lg hover:shadow-xl flex items-center gap-2",children:["Verificar Elegibilidad Ahora",l.jsx(yt,{size:20})]}),l.jsxs("button",{onClick:e,className:"animate-pulse hover:scale-105 transition-transform duration-300 bg-brand-blue text-white font-bold py-3 px-6 rounded-lg shadow-lg hover:shadow-xl flex items-center gap-2",children:["¡Quiero Beneficiarme!",l.jsx(yt,{size:20})]})]})}),l.jsx(wx,{}),l.jsx(tR,{}),l.jsx("div",{className:"container mx-auto px-4 py-8",children:l.jsx("div",{className:"flex flex-wrap gap-4 justify-center",children:l.jsxs("button",{onClick:e,className:"animate-bounce hover:scale-105 transition-transform duration-300 bg-brand-blue text-white font-bold py-3 px-6 rounded-lg shadow-lg hover:shadow-xl flex items-center gap-2",children:["Solicitar Información Gratuita",l.jsx(yt,{size:20})]})})}),l.jsx(Ex,{}),l.jsx(Cx,{}),l.jsx(xx,{})]})})},rR=new SN,aR=()=>(m.useEffect(()=>{const e=document.createElement("script");return e.id="fillout-global-script",e.src="https://server.fillout.com/embed/v1/",e.async=!0,document.body.appendChild(e),e.onload=()=>{console.log("Fillout script loaded successfully")},e.onerror=()=>{console.error("Error loading Fillout script")},()=>{document.getElementById("fillout-global-script")&&document.body.removeChild(document.getElementById("fillout-global-script"))}},[]),m.useEffect(()=>{const e=()=>{K2(async()=>{const{useStore:t}=await Promise.resolve().then(()=>kA);return{useStore:t}},void 0).then(({useStore:t})=>{t.getState().setFormOpen(!0)})};return window.addEventListener("open-form",e),()=>window.removeEventListener("open-form",e)},[]),l.jsx(NN,{client:rR,children:l.jsxs(nN,{children:[l.jsx(B3,{}),l.jsx(vS,{}),l.jsx(EA,{children:l.jsxs("div",{className:"flex flex-col min-h-screen",children:[l.jsx(t4,{}),l.jsx("main",{className:"flex-1",children:l.jsxs(hA,{children:[l.jsx(_t,{path:"/",element:l.jsx(C4,{})}),l.jsx(_t,{path:"/landing",element:l.jsx(nR,{})}),l.jsx(_t,{path:"/blog",element:l.jsx(S4,{})}),l.jsx(_t,{path:"/blog/:postId",element:l.jsx(L4,{})}),l.jsx(_t,{path:"/programa",element:l.jsx(R4,{})}),l.jsx(_t,{path:"/profesional",element:l.jsx(bk,{})}),l.jsx(_t,{path:"/profesional/:category/:slug",element:l.jsx(yk,{})}),l.jsx(_t,{path:"/patrocinio",element:l.jsx(xk,{})}),l.jsx(_t,{path:"/contacto",element:l.jsx(M4,{})}),l.jsx(_t,{path:"*",element:l.jsx(vk,{})})]})}),l.jsx(xx,{}),l.jsx(gk,{})]})})]})}));Xv(document.getElementById("root")).render(l.jsx(ab,{children:l.jsx(aR,{})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.