ape-accessibility 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +188 -157
- package/dist/auto.cjs +199 -264
- package/dist/auto.global.js +201 -201
- package/dist/auto.js +199 -264
- package/dist/index.cjs +199 -264
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.global.js +208 -208
- package/dist/index.js +199 -264
- package/package.json +78 -73
package/dist/index.cjs
CHANGED
|
@@ -1,276 +1,211 @@
|
|
|
1
|
-
"use strict";var W2=Object.create;var ti=Object.defineProperty;var F2=Object.getOwnPropertyDescriptor;var $2=Object.getOwnPropertyNames;var I2=Object.getPrototypeOf,P2=Object.prototype.hasOwnProperty;var ue=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),tm=(t,e)=>{for(var l in e)ti(t,l,{get:e[l],enumerable:!0})},Io=(t,e,l,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of $2(e))!P2.call(t,a)&&a!==l&&ti(t,a,{get:()=>e[a],enumerable:!(n=F2(e,a))||n.enumerable});return t};var _=(t,e,l)=>(l=t!=null?W2(I2(t)):{},Io(e||!t||!t.__esModule?ti(l,"default",{value:t,enumerable:!0}):l,t)),em=t=>Io(ti({},"__esModule",{value:!0}),t);var fs=ue($=>{"use strict";function Pu(t,e){var l=t.length;t.push(e);t:for(;0<l;){var n=l-1>>>1,a=t[n];if(0<ei(a,e))t[n]=e,t[l]=a,l=n;else break t}}function ce(t){return t.length===0?null:t[0]}function ni(t){if(t.length===0)return null;var e=t[0],l=t.pop();if(l!==e){t[0]=l;t:for(var n=0,a=t.length,i=a>>>1;n<i;){var u=2*(n+1)-1,c=t[u],f=u+1,r=t[f];if(0>ei(c,l))f<a&&0>ei(r,c)?(t[n]=r,t[f]=l,n=f):(t[n]=c,t[u]=l,n=u);else if(f<a&&0>ei(r,l))t[n]=r,t[f]=l,n=f;else break t}}return e}function ei(t,e){var l=t.sortIndex-e.sortIndex;return l!==0?l:t.id-e.id}$.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Po=performance,$.unstable_now=function(){return Po.now()}):(Fu=Date,ts=Fu.now(),$.unstable_now=function(){return Fu.now()-ts});var Po,Fu,ts,ye=[],Ze=[],lm=1,wt=null,bt=3,tc=!1,Fn=!1,$n=!1,ec=!1,ns=typeof setTimeout=="function"?setTimeout:null,as=typeof clearTimeout=="function"?clearTimeout:null,es=typeof setImmediate<"u"?setImmediate:null;function li(t){for(var e=ce(Ze);e!==null;){if(e.callback===null)ni(Ze);else if(e.startTime<=t)ni(Ze),e.sortIndex=e.expirationTime,Pu(ye,e);else break;e=ce(Ze)}}function lc(t){if($n=!1,li(t),!Fn)if(ce(ye)!==null)Fn=!0,Il||(Il=!0,$l());else{var e=ce(Ze);e!==null&&nc(lc,e.startTime-t)}}var Il=!1,In=-1,is=5,us=-1;function cs(){return ec?!0:!($.unstable_now()-us<is)}function $u(){if(ec=!1,Il){var t=$.unstable_now();us=t;var e=!0;try{t:{Fn=!1,$n&&($n=!1,as(In),In=-1),tc=!0;var l=bt;try{e:{for(li(t),wt=ce(ye);wt!==null&&!(wt.expirationTime>t&&cs());){var n=wt.callback;if(typeof n=="function"){wt.callback=null,bt=wt.priorityLevel;var a=n(wt.expirationTime<=t);if(t=$.unstable_now(),typeof a=="function"){wt.callback=a,li(t),e=!0;break e}wt===ce(ye)&&ni(ye),li(t)}else ni(ye);wt=ce(ye)}if(wt!==null)e=!0;else{var i=ce(Ze);i!==null&&nc(lc,i.startTime-t),e=!1}}break t}finally{wt=null,bt=l,tc=!1}e=void 0}}finally{e?$l():Il=!1}}}var $l;typeof es=="function"?$l=function(){es($u)}:typeof MessageChannel<"u"?(Iu=new MessageChannel,ls=Iu.port2,Iu.port1.onmessage=$u,$l=function(){ls.postMessage(null)}):$l=function(){ns($u,0)};var Iu,ls;function nc(t,e){In=ns(function(){t($.unstable_now())},e)}$.unstable_IdlePriority=5;$.unstable_ImmediatePriority=1;$.unstable_LowPriority=4;$.unstable_NormalPriority=3;$.unstable_Profiling=null;$.unstable_UserBlockingPriority=2;$.unstable_cancelCallback=function(t){t.callback=null};$.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):is=0<t?Math.floor(1e3/t):5};$.unstable_getCurrentPriorityLevel=function(){return bt};$.unstable_next=function(t){switch(bt){case 1:case 2:case 3:var e=3;break;default:e=bt}var l=bt;bt=e;try{return t()}finally{bt=l}};$.unstable_requestPaint=function(){ec=!0};$.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var l=bt;bt=t;try{return e()}finally{bt=l}};$.unstable_scheduleCallback=function(t,e,l){var n=$.unstable_now();switch(typeof l=="object"&&l!==null?(l=l.delay,l=typeof l=="number"&&0<l?n+l:n):l=n,t){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return a=l+a,t={id:lm++,callback:e,priorityLevel:t,startTime:l,expirationTime:a,sortIndex:-1},l>n?(t.sortIndex=l,Pu(Ze,t),ce(ye)===null&&t===ce(Ze)&&($n?(as(In),In=-1):$n=!0,nc(lc,l-n))):(t.sortIndex=a,Pu(ye,t),Fn||tc||(Fn=!0,Il||(Il=!0,$l()))),t};$.unstable_shouldYield=cs;$.unstable_wrapCallback=function(t){var e=bt;return function(){var l=bt;bt=e;try{return t.apply(this,arguments)}finally{bt=l}}}});var ss=ue((qv,os)=>{"use strict";os.exports=fs()});var As=ue(T=>{"use strict";var uc=Symbol.for("react.transitional.element"),nm=Symbol.for("react.portal"),am=Symbol.for("react.fragment"),im=Symbol.for("react.strict_mode"),um=Symbol.for("react.profiler"),cm=Symbol.for("react.consumer"),fm=Symbol.for("react.context"),om=Symbol.for("react.forward_ref"),sm=Symbol.for("react.suspense"),rm=Symbol.for("react.memo"),ys=Symbol.for("react.lazy"),dm=Symbol.for("react.activity"),rs=Symbol.iterator;function mm(t){return t===null||typeof t!="object"?null:(t=rs&&t[rs]||t["@@iterator"],typeof t=="function"?t:null)}var vs={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},hs=Object.assign,Ss={};function tn(t,e,l){this.props=t,this.context=e,this.refs=Ss,this.updater=l||vs}tn.prototype.isReactComponent={};tn.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};tn.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function ps(){}ps.prototype=tn.prototype;function cc(t,e,l){this.props=t,this.context=e,this.refs=Ss,this.updater=l||vs}var fc=cc.prototype=new ps;fc.constructor=cc;hs(fc,tn.prototype);fc.isPureReactComponent=!0;var ds=Array.isArray;function ic(){}var J={H:null,A:null,T:null,S:null},bs=Object.prototype.hasOwnProperty;function oc(t,e,l){var n=l.ref;return{$$typeof:uc,type:t,key:e,ref:n!==void 0?n:null,props:l}}function gm(t,e){return oc(t.type,e,t.props)}function sc(t){return typeof t=="object"&&t!==null&&t.$$typeof===uc}function ym(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(l){return e[l]})}var ms=/\/+/g;function ac(t,e){return typeof t=="object"&&t!==null&&t.key!=null?ym(""+t.key):e.toString(36)}function vm(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(ic,ic):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function Pl(t,e,l,n,a){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var u=!1;if(t===null)u=!0;else switch(i){case"bigint":case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case uc:case nm:u=!0;break;case ys:return u=t._init,Pl(u(t._payload),e,l,n,a)}}if(u)return a=a(t),u=n===""?"."+ac(t,0):n,ds(a)?(l="",u!=null&&(l=u.replace(ms,"$&/")+"/"),Pl(a,e,l,"",function(r){return r})):a!=null&&(sc(a)&&(a=gm(a,l+(a.key==null||t&&t.key===a.key?"":(""+a.key).replace(ms,"$&/")+"/")+u)),e.push(a)),1;u=0;var c=n===""?".":n+":";if(ds(t))for(var f=0;f<t.length;f++)n=t[f],i=c+ac(n,f),u+=Pl(n,e,l,i,a);else if(f=mm(t),typeof f=="function")for(t=f.call(t),f=0;!(n=t.next()).done;)n=n.value,i=c+ac(n,f++),u+=Pl(n,e,l,i,a);else if(i==="object"){if(typeof t.then=="function")return Pl(vm(t),e,l,n,a);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return u}function ai(t,e,l){if(t==null)return t;var n=[],a=0;return Pl(t,n,"","",function(i){return e.call(l,i,a++)}),n}function hm(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(l){(t._status===0||t._status===-1)&&(t._status=1,t._result=l)},function(l){(t._status===0||t._status===-1)&&(t._status=2,t._result=l)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var gs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Sm={map:ai,forEach:function(t,e,l){ai(t,function(){e.apply(this,arguments)},l)},count:function(t){var e=0;return ai(t,function(){e++}),e},toArray:function(t){return ai(t,function(e){return e})||[]},only:function(t){if(!sc(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};T.Activity=dm;T.Children=Sm;T.Component=tn;T.Fragment=am;T.Profiler=um;T.PureComponent=cc;T.StrictMode=im;T.Suspense=sm;T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=J;T.__COMPILER_RUNTIME={__proto__:null,c:function(t){return J.H.useMemoCache(t)}};T.cache=function(t){return function(){return t.apply(null,arguments)}};T.cacheSignal=function(){return null};T.cloneElement=function(t,e,l){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var n=hs({},t.props),a=t.key;if(e!=null)for(i in e.key!==void 0&&(a=""+e.key),e)!bs.call(e,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&e.ref===void 0||(n[i]=e[i]);var i=arguments.length-2;if(i===1)n.children=l;else if(1<i){for(var u=Array(i),c=0;c<i;c++)u[c]=arguments[c+2];n.children=u}return oc(t.type,a,n)};T.createContext=function(t){return t={$$typeof:fm,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:cm,_context:t},t};T.createElement=function(t,e,l){var n,a={},i=null;if(e!=null)for(n in e.key!==void 0&&(i=""+e.key),e)bs.call(e,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(a[n]=e[n]);var u=arguments.length-2;if(u===1)a.children=l;else if(1<u){for(var c=Array(u),f=0;f<u;f++)c[f]=arguments[f+2];a.children=c}if(t&&t.defaultProps)for(n in u=t.defaultProps,u)a[n]===void 0&&(a[n]=u[n]);return oc(t,i,a)};T.createRef=function(){return{current:null}};T.forwardRef=function(t){return{$$typeof:om,render:t}};T.isValidElement=sc;T.lazy=function(t){return{$$typeof:ys,_payload:{_status:-1,_result:t},_init:hm}};T.memo=function(t,e){return{$$typeof:rm,type:t,compare:e===void 0?null:e}};T.startTransition=function(t){var e=J.T,l={};J.T=l;try{var n=t(),a=J.S;a!==null&&a(l,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(ic,gs)}catch(i){gs(i)}finally{e!==null&&l.types!==null&&(e.types=l.types),J.T=e}};T.unstable_useCacheRefresh=function(){return J.H.useCacheRefresh()};T.use=function(t){return J.H.use(t)};T.useActionState=function(t,e,l){return J.H.useActionState(t,e,l)};T.useCallback=function(t,e){return J.H.useCallback(t,e)};T.useContext=function(t){return J.H.useContext(t)};T.useDebugValue=function(){};T.useDeferredValue=function(t,e){return J.H.useDeferredValue(t,e)};T.useEffect=function(t,e){return J.H.useEffect(t,e)};T.useEffectEvent=function(t){return J.H.useEffectEvent(t)};T.useId=function(){return J.H.useId()};T.useImperativeHandle=function(t,e,l){return J.H.useImperativeHandle(t,e,l)};T.useInsertionEffect=function(t,e){return J.H.useInsertionEffect(t,e)};T.useLayoutEffect=function(t,e){return J.H.useLayoutEffect(t,e)};T.useMemo=function(t,e){return J.H.useMemo(t,e)};T.useOptimistic=function(t,e){return J.H.useOptimistic(t,e)};T.useReducer=function(t,e,l){return J.H.useReducer(t,e,l)};T.useRef=function(t){return J.H.useRef(t)};T.useState=function(t){return J.H.useState(t)};T.useSyncExternalStore=function(t,e,l){return J.H.useSyncExternalStore(t,e,l)};T.useTransition=function(){return J.H.useTransition()};T.version="19.2.4"});var I=ue((Gv,Es)=>{"use strict";Es.exports=As()});var Ms=ue(Et=>{"use strict";var pm=I();function Cs(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Qe(){}var At={d:{f:Qe,r:function(){throw Error(Cs(522))},D:Qe,C:Qe,L:Qe,m:Qe,X:Qe,S:Qe,M:Qe},p:0,findDOMNode:null},bm=Symbol.for("react.portal");function Am(t,e,l){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:bm,key:n==null?null:""+n,children:t,containerInfo:e,implementation:l}}var Pn=pm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function ii(t,e){if(t==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}Et.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=At;Et.createPortal=function(t,e){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(Cs(299));return Am(t,e,null,l)};Et.flushSync=function(t){var e=Pn.T,l=At.p;try{if(Pn.T=null,At.p=2,t)return t()}finally{Pn.T=e,At.p=l,At.d.f()}};Et.preconnect=function(t,e){typeof t=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,At.d.C(t,e))};Et.prefetchDNS=function(t){typeof t=="string"&&At.d.D(t)};Et.preinit=function(t,e){if(typeof t=="string"&&e&&typeof e.as=="string"){var l=e.as,n=ii(l,e.crossOrigin),a=typeof e.integrity=="string"?e.integrity:void 0,i=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;l==="style"?At.d.S(t,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:n,integrity:a,fetchPriority:i}):l==="script"&&At.d.X(t,{crossOrigin:n,integrity:a,fetchPriority:i,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};Et.preinitModule=function(t,e){if(typeof t=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var l=ii(e.as,e.crossOrigin);At.d.M(t,{crossOrigin:l,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&At.d.M(t)};Et.preload=function(t,e){if(typeof t=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var l=e.as,n=ii(l,e.crossOrigin);At.d.L(t,l,{crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};Et.preloadModule=function(t,e){if(typeof t=="string")if(e){var l=ii(e.as,e.crossOrigin);At.d.m(t,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:l,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else At.d.m(t)};Et.requestFormReset=function(t){At.d.r(t)};Et.unstable_batchedUpdates=function(t,e){return t(e)};Et.useFormState=function(t,e,l){return Pn.H.useFormState(t,e,l)};Et.useFormStatus=function(){return Pn.H.useHostTransitionStatus()};Et.version="19.2.4"});var xs=ue((jv,zs)=>{"use strict";function Ts(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ts)}catch(t){console.error(t)}}Ts(),zs.exports=Ms()});var Gd=ue(Lu=>{"use strict";var ot=ss(),Pr=I(),Em=xs();function p(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function t1(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Ga(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function e1(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function l1(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function _s(t){if(Ga(t)!==t)throw Error(p(188))}function Cm(t){var e=t.alternate;if(!e){if(e=Ga(t),e===null)throw Error(p(188));return e!==t?null:t}for(var l=t,n=e;;){var a=l.return;if(a===null)break;var i=a.alternate;if(i===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===l)return _s(a),t;if(i===n)return _s(a),e;i=i.sibling}throw Error(p(188))}if(l.return!==n.return)l=a,n=i;else{for(var u=!1,c=a.child;c;){if(c===l){u=!0,l=a,n=i;break}if(c===n){u=!0,n=a,l=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===l){u=!0,l=i,n=a;break}if(c===n){u=!0,n=i,l=a;break}c=c.sibling}if(!u)throw Error(p(189))}}if(l.alternate!==n)throw Error(p(190))}if(l.tag!==3)throw Error(p(188));return l.stateNode.current===l?t:e}function n1(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=n1(t),e!==null)return e;t=t.sibling}return null}var F=Object.assign,Mm=Symbol.for("react.element"),ui=Symbol.for("react.transitional.element"),ca=Symbol.for("react.portal"),cn=Symbol.for("react.fragment"),a1=Symbol.for("react.strict_mode"),wc=Symbol.for("react.profiler"),i1=Symbol.for("react.consumer"),Ce=Symbol.for("react.context"),Xf=Symbol.for("react.forward_ref"),Vc=Symbol.for("react.suspense"),Kc=Symbol.for("react.suspense_list"),jf=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),Jc=Symbol.for("react.activity"),Tm=Symbol.for("react.memo_cache_sentinel"),Os=Symbol.iterator;function ta(t){return t===null||typeof t!="object"?null:(t=Os&&t[Os]||t["@@iterator"],typeof t=="function"?t:null)}var zm=Symbol.for("react.client.reference");function kc(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===zm?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case cn:return"Fragment";case wc:return"Profiler";case a1:return"StrictMode";case Vc:return"Suspense";case Kc:return"SuspenseList";case Jc:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case ca:return"Portal";case Ce:return t.displayName||"Context";case i1:return(t._context.displayName||"Context")+".Consumer";case Xf:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case jf:return e=t.displayName||null,e!==null?e:kc(t.type)||"Memo";case we:e=t._payload,t=t._init;try{return kc(t(e))}catch{}}return null}var fa=Array.isArray,M=Pr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Em.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xl={pending:!1,data:null,method:null,action:null},Wc=[],fn=-1;function de(t){return{current:t}}function dt(t){0>fn||(t.current=Wc[fn],Wc[fn]=null,fn--)}function K(t,e){fn++,Wc[fn]=t.current,t.current=e}var re=de(null),Ta=de(null),el=de(null),Gi=de(null);function Xi(t,e){switch(K(el,e),K(Ta,t),K(re,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Br(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Br(e),t=Td(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}dt(re),K(re,t)}function zn(){dt(re),dt(Ta),dt(el)}function Fc(t){t.memoizedState!==null&&K(Gi,t);var e=re.current,l=Td(e,t.type);e!==l&&(K(Ta,t),K(re,l))}function ji(t){Ta.current===t&&(dt(re),dt(Ta)),Gi.current===t&&(dt(Gi),Ba._currentValue=xl)}var rc,Ls;function Cl(t){if(rc===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);rc=e&&e[1]||"",Ls=-1<l.stack.indexOf(`
|
|
2
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+rc+t+Ls}var dc=!1;function mc(t,e){if(!t||dc)return"";dc=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(e){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(v){var g=v}Reflect.construct(t,[],h)}else{try{h.call()}catch(v){g=v}t.call(h.prototype)}}else{try{throw Error()}catch(v){g=v}(h=t())&&typeof h.catch=="function"&&h.catch(function(){})}}catch(v){if(v&&g&&typeof v.stack=="string")return[v.stack,g.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),u=i[0],c=i[1];if(u&&c){var f=u.split(`
|
|
4
|
-
`),r=c.split(`
|
|
5
|
-
`);for(a=n=0;n<f.length&&!f[n].includes("DetermineComponentFrameRoot");)n++;for(;a<r.length&&!r[a].includes("DetermineComponentFrameRoot");)a++;if(n===f.length||a===r.length)for(n=f.length-1,a=r.length-1;1<=n&&0<=a&&f[n]!==r[a];)a--;for(;1<=n&&0<=a;n--,a--)if(f[n]!==r[a]){if(n!==1||a!==1)do if(n--,a--,0>a||f[n]!==r[a]){var y=`
|
|
6
|
-
`+f[n].replace(" at new "," at ");return t.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",t.displayName)),y}while(1<=n&&0<=a);break}}}finally{dc=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Cl(l):""}function xm(t,e){switch(t.tag){case 26:case 27:case 5:return Cl(t.type);case 16:return Cl("Lazy");case 13:return t.child!==e&&e!==null?Cl("Suspense Fallback"):Cl("Suspense");case 19:return Cl("SuspenseList");case 0:case 15:return mc(t.type,!1);case 11:return mc(t.type.render,!1);case 1:return mc(t.type,!0);case 31:return Cl("Activity");default:return""}}function Ns(t){try{var e="",l=null;do e+=xm(t,l),l=t,t=t.return;while(t);return e}catch(n){return`
|
|
7
|
-
Error generating stack: `+n.message+`
|
|
8
|
-
`+n.stack}}var $c=Object.prototype.hasOwnProperty,Zf=ot.unstable_scheduleCallback,gc=ot.unstable_cancelCallback,_m=ot.unstable_shouldYield,Om=ot.unstable_requestPaint,Bt=ot.unstable_now,Lm=ot.unstable_getCurrentPriorityLevel,u1=ot.unstable_ImmediatePriority,c1=ot.unstable_UserBlockingPriority,Zi=ot.unstable_NormalPriority,Nm=ot.unstable_LowPriority,f1=ot.unstable_IdlePriority,Dm=ot.log,Hm=ot.unstable_setDisableYieldValue,Xa=null,qt=null;function Fe(t){if(typeof Dm=="function"&&Hm(t),qt&&typeof qt.setStrictMode=="function")try{qt.setStrictMode(Xa,t)}catch{}}var Yt=Math.clz32?Math.clz32:Bm,Um=Math.log,Rm=Math.LN2;function Bm(t){return t>>>=0,t===0?32:31-(Um(t)/Rm|0)|0}var ci=256,fi=262144,oi=4194304;function Ml(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function gu(t,e,l){var n=t.pendingLanes;if(n===0)return 0;var a=0,i=t.suspendedLanes,u=t.pingedLanes;t=t.warmLanes;var c=n&134217727;return c!==0?(n=c&~i,n!==0?a=Ml(n):(u&=c,u!==0?a=Ml(u):l||(l=c&~t,l!==0&&(a=Ml(l))))):(c=n&~i,c!==0?a=Ml(c):u!==0?a=Ml(u):l||(l=n&~t,l!==0&&(a=Ml(l)))),a===0?0:e!==0&&e!==a&&(e&i)===0&&(i=a&-a,l=e&-e,i>=l||i===32&&(l&4194048)!==0)?e:a}function ja(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function qm(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32: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+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function o1(){var t=oi;return oi<<=1,(oi&62914560)===0&&(oi=4194304),t}function yc(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Za(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Ym(t,e,l,n,a,i){var u=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var c=t.entanglements,f=t.expirationTimes,r=t.hiddenUpdates;for(l=u&~l;0<l;){var y=31-Yt(l),h=1<<y;c[y]=0,f[y]=-1;var g=r[y];if(g!==null)for(r[y]=null,y=0;y<g.length;y++){var v=g[y];v!==null&&(v.lane&=-536870913)}l&=~h}n!==0&&s1(t,n,0),i!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=i&~(u&~e))}function s1(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-Yt(e);t.entangledLanes|=e,t.entanglements[n]=t.entanglements[n]|1073741824|l&261930}function r1(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var n=31-Yt(l),a=1<<n;a&e|t[n]&e&&(t[n]|=e),l&=~a}}function d1(t,e){var l=e&-e;return l=(l&42)!==0?1:Qf(l),(l&(t.suspendedLanes|e))!==0?0:l}function Qf(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function wf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function m1(){var t=X.p;return t!==0?t:(t=window.event,t===void 0?32:Bd(t.type))}function Ds(t,e){var l=X.p;try{return X.p=t,e()}finally{X.p=l}}var gl=Math.random().toString(36).slice(2),yt="__reactFiber$"+gl,Ot="__reactProps$"+gl,qn="__reactContainer$"+gl,Ic="__reactEvents$"+gl,Gm="__reactListeners$"+gl,Xm="__reactHandles$"+gl,Hs="__reactResources$"+gl,Qa="__reactMarker$"+gl;function Vf(t){delete t[yt],delete t[Ot],delete t[Ic],delete t[Gm],delete t[Xm]}function on(t){var e=t[yt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[qn]||l[yt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=jr(t);t!==null;){if(l=t[yt])return l;t=jr(t)}return e}t=l,l=t.parentNode}return null}function Yn(t){if(t=t[yt]||t[qn]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function oa(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(p(33))}function pn(t){var e=t[Hs];return e||(e=t[Hs]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function rt(t){t[Qa]=!0}var g1=new Set,y1={};function ql(t,e){xn(t,e),xn(t+"Capture",e)}function xn(t,e){for(y1[t]=e,t=0;t<e.length;t++)g1.add(e[t])}var jm=RegExp("^[: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]*$"),Us={},Rs={};function Zm(t){return $c.call(Rs,t)?!0:$c.call(Us,t)?!1:jm.test(t)?Rs[t]=!0:(Us[t]=!0,!1)}function Mi(t,e,l){if(Zm(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function si(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function ve(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}function Kt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function v1(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Qm(t,e,l){var n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(u){l=""+u,i.call(this,u)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(u){l=""+u},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Pc(t){if(!t._valueTracker){var e=v1(t)?"checked":"value";t._valueTracker=Qm(t,e,""+t[e])}}function h1(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=v1(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function Qi(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var wm=/[\n"\\]/g;function Wt(t){return t.replace(wm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tf(t,e,l,n,a,i,u,c){t.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?t.type=u:t.removeAttribute("type"),e!=null?u==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Kt(e)):t.value!==""+Kt(e)&&(t.value=""+Kt(e)):u!=="submit"&&u!=="reset"||t.removeAttribute("value"),e!=null?ef(t,u,Kt(e)):l!=null?ef(t,u,Kt(l)):n!=null&&t.removeAttribute("value"),a==null&&i!=null&&(t.defaultChecked=!!i),a!=null&&(t.checked=a&&typeof a!="function"&&typeof a!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.name=""+Kt(c):t.removeAttribute("name")}function S1(t,e,l,n,a,i,u,c){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.type=i),e!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||e!=null)){Pc(t);return}l=l!=null?""+Kt(l):"",e=e!=null?""+Kt(e):l,c||e===t.value||(t.value=e),t.defaultValue=e}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=c?t.checked:!!n,t.defaultChecked=!!n,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.name=u),Pc(t)}function ef(t,e,l){e==="number"&&Qi(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function bn(t,e,l,n){if(t=t.options,e){e={};for(var a=0;a<l.length;a++)e["$"+l[a]]=!0;for(l=0;l<t.length;l++)a=e.hasOwnProperty("$"+t[l].value),t[l].selected!==a&&(t[l].selected=a),a&&n&&(t[l].defaultSelected=!0)}else{for(l=""+Kt(l),e=null,a=0;a<t.length;a++){if(t[a].value===l){t[a].selected=!0,n&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}function p1(t,e,l){if(e!=null&&(e=""+Kt(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Kt(l):""}function b1(t,e,l,n){if(e==null){if(n!=null){if(l!=null)throw Error(p(92));if(fa(n)){if(1<n.length)throw Error(p(93));n=n[0]}l=n}l==null&&(l=""),e=l}l=Kt(e),t.defaultValue=l,n=t.textContent,n===l&&n!==""&&n!==null&&(t.value=n),Pc(t)}function _n(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Vm=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Bs(t,e,l){var n=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":n?t.setProperty(e,l):typeof l!="number"||l===0||Vm.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function A1(t,e,l){if(e!=null&&typeof e!="object")throw Error(p(62));if(t=t.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||e!=null&&e.hasOwnProperty(n)||(n.indexOf("--")===0?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="");for(var a in e)n=e[a],e.hasOwnProperty(a)&&l[a]!==n&&Bs(t,a,n)}else for(var i in e)e.hasOwnProperty(i)&&Bs(t,i,e[i])}function Kf(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Km=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Jm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ti(t){return Jm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Me(){}var lf=null;function Jf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var sn=null,An=null;function qs(t){var e=Yn(t);if(e&&(t=e.stateNode)){var l=t[Ot]||null;t:switch(t=e.stateNode,e.type){case"input":if(tf(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Wt(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var n=l[e];if(n!==t&&n.form===t.form){var a=n[Ot]||null;if(!a)throw Error(p(90));tf(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<l.length;e++)n=l[e],n.form===t.form&&h1(n)}break t;case"textarea":p1(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&bn(t,!!l.multiple,e,!1)}}}var vc=!1;function E1(t,e,l){if(vc)return t(e,l);vc=!0;try{var n=t(e);return n}finally{if(vc=!1,(sn!==null||An!==null)&&(zu(),sn&&(e=sn,t=An,An=sn=null,qs(e),t)))for(e=0;e<t.length;e++)qs(t[e])}}function za(t,e){var l=t.stateNode;if(l===null)return null;var n=l[Ot]||null;if(n===null)return null;l=n[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(p(231,e,typeof l));return l}var Oe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nf=!1;if(Oe)try{en={},Object.defineProperty(en,"passive",{get:function(){nf=!0}}),window.addEventListener("test",en,en),window.removeEventListener("test",en,en)}catch{nf=!1}var en,$e=null,kf=null,zi=null;function C1(){if(zi)return zi;var t,e=kf,l=e.length,n,a="value"in $e?$e.value:$e.textContent,i=a.length;for(t=0;t<l&&e[t]===a[t];t++);var u=l-t;for(n=1;n<=u&&e[l-n]===a[i-n];n++);return zi=a.slice(t,1<n?1-n:void 0)}function xi(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function ri(){return!0}function Ys(){return!1}function Lt(t){function e(l,n,a,i,u){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=i,this.target=u,this.currentTarget=null;for(var c in t)t.hasOwnProperty(c)&&(l=t[c],this[c]=l?l(i):i[c]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ri:Ys,this.isPropagationStopped=Ys,this}return F(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ri)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ri)},persist:function(){},isPersistent:ri}),e}var Yl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yu=Lt(Yl),wa=F({},Yl,{view:0,detail:0}),km=Lt(wa),hc,Sc,ea,vu=F({},wa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wf,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ea&&(ea&&t.type==="mousemove"?(hc=t.screenX-ea.screenX,Sc=t.screenY-ea.screenY):Sc=hc=0,ea=t),hc)},movementY:function(t){return"movementY"in t?t.movementY:Sc}}),Gs=Lt(vu),Wm=F({},vu,{dataTransfer:0}),Fm=Lt(Wm),$m=F({},wa,{relatedTarget:0}),pc=Lt($m),Im=F({},Yl,{animationName:0,elapsedTime:0,pseudoElement:0}),Pm=Lt(Im),tg=F({},Yl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),eg=Lt(tg),lg=F({},Yl,{data:0}),Xs=Lt(lg),ng={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ag={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"},ig={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ug(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=ig[t])?!!e[t]:!1}function Wf(){return ug}var cg=F({},wa,{key:function(t){if(t.key){var e=ng[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=xi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?ag[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wf,charCode:function(t){return t.type==="keypress"?xi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?xi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),fg=Lt(cg),og=F({},vu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),js=Lt(og),sg=F({},wa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wf}),rg=Lt(sg),dg=F({},Yl,{propertyName:0,elapsedTime:0,pseudoElement:0}),mg=Lt(dg),gg=F({},vu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),yg=Lt(gg),vg=F({},Yl,{newState:0,oldState:0}),hg=Lt(vg),Sg=[9,13,27,32],Ff=Oe&&"CompositionEvent"in window,da=null;Oe&&"documentMode"in document&&(da=document.documentMode);var pg=Oe&&"TextEvent"in window&&!da,M1=Oe&&(!Ff||da&&8<da&&11>=da),Zs=" ",Qs=!1;function T1(t,e){switch(t){case"keyup":return Sg.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function z1(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var rn=!1;function bg(t,e){switch(t){case"compositionend":return z1(e);case"keypress":return e.which!==32?null:(Qs=!0,Zs);case"textInput":return t=e.data,t===Zs&&Qs?null:t;default:return null}}function Ag(t,e){if(rn)return t==="compositionend"||!Ff&&T1(t,e)?(t=C1(),zi=kf=$e=null,rn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return M1&&e.locale!=="ko"?null:e.data;default:return null}}var Eg={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 ws(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Eg[t.type]:e==="textarea"}function x1(t,e,l,n){sn?An?An.push(n):An=[n]:sn=n,e=cu(e,"onChange"),0<e.length&&(l=new yu("onChange","change",null,l,n),t.push({event:l,listeners:e}))}var ma=null,xa=null;function Cg(t){Ed(t,0)}function hu(t){var e=oa(t);if(h1(e))return t}function Vs(t,e){if(t==="change")return e}var _1=!1;Oe&&(Oe?(mi="oninput"in document,mi||(bc=document.createElement("div"),bc.setAttribute("oninput","return;"),mi=typeof bc.oninput=="function"),di=mi):di=!1,_1=di&&(!document.documentMode||9<document.documentMode));var di,mi,bc;function Ks(){ma&&(ma.detachEvent("onpropertychange",O1),xa=ma=null)}function O1(t){if(t.propertyName==="value"&&hu(xa)){var e=[];x1(e,xa,t,Jf(t)),E1(Cg,e)}}function Mg(t,e,l){t==="focusin"?(Ks(),ma=e,xa=l,ma.attachEvent("onpropertychange",O1)):t==="focusout"&&Ks()}function Tg(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return hu(xa)}function zg(t,e){if(t==="click")return hu(e)}function xg(t,e){if(t==="input"||t==="change")return hu(e)}function _g(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Xt=typeof Object.is=="function"?Object.is:_g;function _a(t,e){if(Xt(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),n=Object.keys(e);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!$c.call(e,a)||!Xt(t[a],e[a]))return!1}return!0}function Js(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ks(t,e){var l=Js(t);t=0;for(var n;l;){if(l.nodeType===3){if(n=t+l.textContent.length,t<=e&&n>=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Js(l)}}function L1(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?L1(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function N1(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Qi(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Qi(t.document)}return e}function $f(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Og=Oe&&"documentMode"in document&&11>=document.documentMode,dn=null,af=null,ga=null,uf=!1;function Ws(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;uf||dn==null||dn!==Qi(n)||(n=dn,"selectionStart"in n&&$f(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ga&&_a(ga,n)||(ga=n,n=cu(af,"onSelect"),0<n.length&&(e=new yu("onSelect","select",null,e,l),t.push({event:e,listeners:n}),e.target=dn)))}function El(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var mn={animationend:El("Animation","AnimationEnd"),animationiteration:El("Animation","AnimationIteration"),animationstart:El("Animation","AnimationStart"),transitionrun:El("Transition","TransitionRun"),transitionstart:El("Transition","TransitionStart"),transitioncancel:El("Transition","TransitionCancel"),transitionend:El("Transition","TransitionEnd")},Ac={},D1={};Oe&&(D1=document.createElement("div").style,"AnimationEvent"in window||(delete mn.animationend.animation,delete mn.animationiteration.animation,delete mn.animationstart.animation),"TransitionEvent"in window||delete mn.transitionend.transition);function Gl(t){if(Ac[t])return Ac[t];if(!mn[t])return t;var e=mn[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in D1)return Ac[t]=e[l];return t}var H1=Gl("animationend"),U1=Gl("animationiteration"),R1=Gl("animationstart"),Lg=Gl("transitionrun"),Ng=Gl("transitionstart"),Dg=Gl("transitioncancel"),B1=Gl("transitionend"),q1=new Map,cf="abort auxClick beforeToggle 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(" ");cf.push("scrollEnd");function ne(t,e){q1.set(t,e),ql(e,[t])}var wi=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Vt=[],gn=0,If=0;function Su(){for(var t=gn,e=If=gn=0;e<t;){var l=Vt[e];Vt[e++]=null;var n=Vt[e];Vt[e++]=null;var a=Vt[e];Vt[e++]=null;var i=Vt[e];if(Vt[e++]=null,n!==null&&a!==null){var u=n.pending;u===null?a.next=a:(a.next=u.next,u.next=a),n.pending=a}i!==0&&Y1(l,a,i)}}function pu(t,e,l,n){Vt[gn++]=t,Vt[gn++]=e,Vt[gn++]=l,Vt[gn++]=n,If|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function Pf(t,e,l,n){return pu(t,e,l,n),Vi(t)}function Xl(t,e){return pu(t,null,null,e),Vi(t)}function Y1(t,e,l){t.lanes|=l;var n=t.alternate;n!==null&&(n.lanes|=l);for(var a=!1,i=t.return;i!==null;)i.childLanes|=l,n=i.alternate,n!==null&&(n.childLanes|=l),i.tag===22&&(t=i.stateNode,t===null||t._visibility&1||(a=!0)),t=i,i=i.return;return t.tag===3?(i=t.stateNode,a&&e!==null&&(a=31-Yt(l),t=i.hiddenUpdates,n=t[a],n===null?t[a]=[e]:n.push(e),e.lane=l|536870912),i):null}function Vi(t){if(50<Ca)throw Ca=0,_f=null,Error(p(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var yn={};function Hg(t,e,l,n){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(t,e,l,n){return new Hg(t,e,l,n)}function to(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ze(t,e){var l=t.alternate;return l===null?(l=Ut(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function G1(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function _i(t,e,l,n,a,i){var u=0;if(n=t,typeof t=="function")to(t)&&(u=1);else if(typeof t=="string")u=By(t,l,re.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Jc:return t=Ut(31,l,e,a),t.elementType=Jc,t.lanes=i,t;case cn:return _l(l.children,a,i,e);case a1:u=8,a|=24;break;case wc:return t=Ut(12,l,e,a|2),t.elementType=wc,t.lanes=i,t;case Vc:return t=Ut(13,l,e,a),t.elementType=Vc,t.lanes=i,t;case Kc:return t=Ut(19,l,e,a),t.elementType=Kc,t.lanes=i,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Ce:u=10;break t;case i1:u=9;break t;case Xf:u=11;break t;case jf:u=14;break t;case we:u=16,n=null;break t}u=29,l=Error(p(130,t===null?"null":typeof t,"")),n=null}return e=Ut(u,l,e,a),e.elementType=t,e.type=n,e.lanes=i,e}function _l(t,e,l,n){return t=Ut(7,t,n,e),t.lanes=l,t}function Ec(t,e,l){return t=Ut(6,t,null,e),t.lanes=l,t}function X1(t){var e=Ut(18,null,null,0);return e.stateNode=t,e}function Cc(t,e,l){return e=Ut(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Fs=new WeakMap;function Ft(t,e){if(typeof t=="object"&&t!==null){var l=Fs.get(t);return l!==void 0?l:(e={value:t,source:e,stack:Ns(e)},Fs.set(t,e),e)}return{value:t,source:e,stack:Ns(e)}}var vn=[],hn=0,Ki=null,Oa=0,Jt=[],kt=0,sl=null,fe=1,oe="";function Ae(t,e){vn[hn++]=Oa,vn[hn++]=Ki,Ki=t,Oa=e}function j1(t,e,l){Jt[kt++]=fe,Jt[kt++]=oe,Jt[kt++]=sl,sl=t;var n=fe;t=oe;var a=32-Yt(n)-1;n&=~(1<<a),l+=1;var i=32-Yt(e)+a;if(30<i){var u=a-a%5;i=(n&(1<<u)-1).toString(32),n>>=u,a-=u,fe=1<<32-Yt(e)+a|l<<a|n,oe=i+t}else fe=1<<i|l<<a|n,oe=t}function eo(t){t.return!==null&&(Ae(t,1),j1(t,1,0))}function lo(t){for(;t===Ki;)Ki=vn[--hn],vn[hn]=null,Oa=vn[--hn],vn[hn]=null;for(;t===sl;)sl=Jt[--kt],Jt[kt]=null,oe=Jt[--kt],Jt[kt]=null,fe=Jt[--kt],Jt[kt]=null}function Z1(t,e){Jt[kt++]=fe,Jt[kt++]=oe,Jt[kt++]=sl,fe=e.id,oe=e.overflow,sl=t}var vt=null,W=null,B=!1,ll=null,$t=!1,ff=Error(p(519));function rl(t){var e=Error(p(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw La(Ft(e,t)),ff}function $s(t){var e=t.stateNode,l=t.type,n=t.memoizedProps;switch(e[yt]=t,e[Ot]=n,l){case"dialog":N("cancel",e),N("close",e);break;case"iframe":case"object":case"embed":N("load",e);break;case"video":case"audio":for(l=0;l<Ua.length;l++)N(Ua[l],e);break;case"source":N("error",e);break;case"img":case"image":case"link":N("error",e),N("load",e);break;case"details":N("toggle",e);break;case"input":N("invalid",e),S1(e,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":N("invalid",e);break;case"textarea":N("invalid",e),b1(e,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||n.suppressHydrationWarning===!0||Md(e.textContent,l)?(n.popover!=null&&(N("beforetoggle",e),N("toggle",e)),n.onScroll!=null&&N("scroll",e),n.onScrollEnd!=null&&N("scrollend",e),n.onClick!=null&&(e.onclick=Me),e=!0):e=!1,e||rl(t,!0)}function Is(t){for(vt=t.return;vt;)switch(vt.tag){case 5:case 31:case 13:$t=!1;return;case 27:case 3:$t=!0;return;default:vt=vt.return}}function ln(t){if(t!==vt)return!1;if(!B)return Is(t),B=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Hf(t.type,t.memoizedProps)),l=!l),l&&W&&rl(t),Is(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(p(317));W=Xr(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(p(317));W=Xr(t)}else e===27?(e=W,yl(t.type)?(t=qf,qf=null,W=t):W=e):W=vt?Pt(t.stateNode.nextSibling):null;return!0}function Dl(){W=vt=null,B=!1}function Mc(){var t=ll;return t!==null&&(xt===null?xt=t:xt.push.apply(xt,t),ll=null),t}function La(t){ll===null?ll=[t]:ll.push(t)}var of=de(null),jl=null,Te=null;function Ke(t,e,l){K(of,e._currentValue),e._currentValue=l}function xe(t){t._currentValue=of.current,dt(of)}function sf(t,e,l){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===l)break;t=t.return}}function rf(t,e,l,n){var a=t.child;for(a!==null&&(a.return=t);a!==null;){var i=a.dependencies;if(i!==null){var u=a.child;i=i.firstContext;t:for(;i!==null;){var c=i;i=a;for(var f=0;f<e.length;f++)if(c.context===e[f]){i.lanes|=l,c=i.alternate,c!==null&&(c.lanes|=l),sf(i.return,l,t),n||(u=null);break t}i=c.next}}else if(a.tag===18){if(u=a.return,u===null)throw Error(p(341));u.lanes|=l,i=u.alternate,i!==null&&(i.lanes|=l),sf(u,l,t),u=null}else u=a.child;if(u!==null)u.return=a;else for(u=a;u!==null;){if(u===t){u=null;break}if(a=u.sibling,a!==null){a.return=u.return,u=a;break}u=u.return}a=u}}function Gn(t,e,l,n){t=null;for(var a=e,i=!1;a!==null;){if(!i){if((a.flags&524288)!==0)i=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var u=a.alternate;if(u===null)throw Error(p(387));if(u=u.memoizedProps,u!==null){var c=a.type;Xt(a.pendingProps.value,u.value)||(t!==null?t.push(c):t=[c])}}else if(a===Gi.current){if(u=a.alternate,u===null)throw Error(p(387));u.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(t!==null?t.push(Ba):t=[Ba])}a=a.return}t!==null&&rf(e,t,l,n),e.flags|=262144}function Ji(t){for(t=t.firstContext;t!==null;){if(!Xt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Hl(t){jl=t,Te=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ht(t){return Q1(jl,t)}function gi(t,e){return jl===null&&Hl(t),Q1(t,e)}function Q1(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Te===null){if(t===null)throw Error(p(308));Te=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Te=Te.next=e;return l}var Ug=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},Rg=ot.unstable_scheduleCallback,Bg=ot.unstable_NormalPriority,ut={$$typeof:Ce,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function no(){return{controller:new Ug,data:new Map,refCount:0}}function Va(t){t.refCount--,t.refCount===0&&Rg(Bg,function(){t.controller.abort()})}var ya=null,df=0,On=0,En=null;function qg(t,e){if(ya===null){var l=ya=[];df=0,On=Oo(),En={status:"pending",value:void 0,then:function(n){l.push(n)}}}return df++,e.then(Ps,Ps),e}function Ps(){if(--df===0&&ya!==null){En!==null&&(En.status="fulfilled");var t=ya;ya=null,On=0,En=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Yg(t,e){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var a=0;a<l.length;a++)(0,l[a])(e)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var tr=M.S;M.S=function(t,e){nd=Bt(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&qg(t,e),tr!==null&&tr(t,e)};var Ol=de(null);function ao(){var t=Ol.current;return t!==null?t:V.pooledCache}function Oi(t,e){e===null?K(Ol,Ol.current):K(Ol,e.pool)}function w1(){var t=ao();return t===null?null:{parent:ut._currentValue,pool:t}}var Xn=Error(p(460)),io=Error(p(474)),bu=Error(p(542)),ki={then:function(){}};function er(t){return t=t.status,t==="fulfilled"||t==="rejected"}function V1(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Me,Me),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,nr(t),t;default:if(typeof e.status=="string")e.then(Me,Me);else{if(t=V,t!==null&&100<t.shellSuspendCounter)throw Error(p(482));t=e,t.status="pending",t.then(function(n){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=n}},function(n){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=n}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,nr(t),t}throw Ll=e,Xn}}function Tl(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Ll=l,Xn):l}}var Ll=null;function lr(){if(Ll===null)throw Error(p(459));var t=Ll;return Ll=null,t}function nr(t){if(t===Xn||t===bu)throw Error(p(483))}var Cn=null,Na=0;function yi(t){var e=Na;return Na+=1,Cn===null&&(Cn=[]),V1(Cn,t,e)}function la(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function vi(t,e){throw e.$$typeof===Mm?Error(p(525)):(t=Object.prototype.toString.call(e),Error(p(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function K1(t){function e(s,o){if(t){var d=s.deletions;d===null?(s.deletions=[o],s.flags|=16):d.push(o)}}function l(s,o){if(!t)return null;for(;o!==null;)e(s,o),o=o.sibling;return null}function n(s){for(var o=new Map;s!==null;)s.key!==null?o.set(s.key,s):o.set(s.index,s),s=s.sibling;return o}function a(s,o){return s=ze(s,o),s.index=0,s.sibling=null,s}function i(s,o,d){return s.index=d,t?(d=s.alternate,d!==null?(d=d.index,d<o?(s.flags|=67108866,o):d):(s.flags|=67108866,o)):(s.flags|=1048576,o)}function u(s){return t&&s.alternate===null&&(s.flags|=67108866),s}function c(s,o,d,S){return o===null||o.tag!==6?(o=Ec(d,s.mode,S),o.return=s,o):(o=a(o,d),o.return=s,o)}function f(s,o,d,S){var b=d.type;return b===cn?y(s,o,d.props.children,S,d.key):o!==null&&(o.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===we&&Tl(b)===o.type)?(o=a(o,d.props),la(o,d),o.return=s,o):(o=_i(d.type,d.key,d.props,null,s.mode,S),la(o,d),o.return=s,o)}function r(s,o,d,S){return o===null||o.tag!==4||o.stateNode.containerInfo!==d.containerInfo||o.stateNode.implementation!==d.implementation?(o=Cc(d,s.mode,S),o.return=s,o):(o=a(o,d.children||[]),o.return=s,o)}function y(s,o,d,S,b){return o===null||o.tag!==7?(o=_l(d,s.mode,S,b),o.return=s,o):(o=a(o,d),o.return=s,o)}function h(s,o,d){if(typeof o=="string"&&o!==""||typeof o=="number"||typeof o=="bigint")return o=Ec(""+o,s.mode,d),o.return=s,o;if(typeof o=="object"&&o!==null){switch(o.$$typeof){case ui:return d=_i(o.type,o.key,o.props,null,s.mode,d),la(d,o),d.return=s,d;case ca:return o=Cc(o,s.mode,d),o.return=s,o;case we:return o=Tl(o),h(s,o,d)}if(fa(o)||ta(o))return o=_l(o,s.mode,d,null),o.return=s,o;if(typeof o.then=="function")return h(s,yi(o),d);if(o.$$typeof===Ce)return h(s,gi(s,o),d);vi(s,o)}return null}function g(s,o,d,S){var b=o!==null?o.key:null;if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return b!==null?null:c(s,o,""+d,S);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case ui:return d.key===b?f(s,o,d,S):null;case ca:return d.key===b?r(s,o,d,S):null;case we:return d=Tl(d),g(s,o,d,S)}if(fa(d)||ta(d))return b!==null?null:y(s,o,d,S,null);if(typeof d.then=="function")return g(s,o,yi(d),S);if(d.$$typeof===Ce)return g(s,o,gi(s,d),S);vi(s,d)}return null}function v(s,o,d,S,b){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return s=s.get(d)||null,c(o,s,""+S,b);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ui:return s=s.get(S.key===null?d:S.key)||null,f(o,s,S,b);case ca:return s=s.get(S.key===null?d:S.key)||null,r(o,s,S,b);case we:return S=Tl(S),v(s,o,d,S,b)}if(fa(S)||ta(S))return s=s.get(d)||null,y(o,s,S,b,null);if(typeof S.then=="function")return v(s,o,d,yi(S),b);if(S.$$typeof===Ce)return v(s,o,d,gi(o,S),b);vi(o,S)}return null}function A(s,o,d,S){for(var b=null,H=null,E=o,x=o=0,U=null;E!==null&&x<d.length;x++){E.index>x?(U=E,E=null):U=E.sibling;var Y=g(s,E,d[x],S);if(Y===null){E===null&&(E=U);break}t&&E&&Y.alternate===null&&e(s,E),o=i(Y,o,x),H===null?b=Y:H.sibling=Y,H=Y,E=U}if(x===d.length)return l(s,E),B&&Ae(s,x),b;if(E===null){for(;x<d.length;x++)E=h(s,d[x],S),E!==null&&(o=i(E,o,x),H===null?b=E:H.sibling=E,H=E);return B&&Ae(s,x),b}for(E=n(E);x<d.length;x++)U=v(E,s,x,d[x],S),U!==null&&(t&&U.alternate!==null&&E.delete(U.key===null?x:U.key),o=i(U,o,x),H===null?b=U:H.sibling=U,H=U);return t&&E.forEach(function(je){return e(s,je)}),B&&Ae(s,x),b}function C(s,o,d,S){if(d==null)throw Error(p(151));for(var b=null,H=null,E=o,x=o=0,U=null,Y=d.next();E!==null&&!Y.done;x++,Y=d.next()){E.index>x?(U=E,E=null):U=E.sibling;var je=g(s,E,Y.value,S);if(je===null){E===null&&(E=U);break}t&&E&&je.alternate===null&&e(s,E),o=i(je,o,x),H===null?b=je:H.sibling=je,H=je,E=U}if(Y.done)return l(s,E),B&&Ae(s,x),b;if(E===null){for(;!Y.done;x++,Y=d.next())Y=h(s,Y.value,S),Y!==null&&(o=i(Y,o,x),H===null?b=Y:H.sibling=Y,H=Y);return B&&Ae(s,x),b}for(E=n(E);!Y.done;x++,Y=d.next())Y=v(E,s,x,Y.value,S),Y!==null&&(t&&Y.alternate!==null&&E.delete(Y.key===null?x:Y.key),o=i(Y,o,x),H===null?b=Y:H.sibling=Y,H=Y);return t&&E.forEach(function(k2){return e(s,k2)}),B&&Ae(s,x),b}function L(s,o,d,S){if(typeof d=="object"&&d!==null&&d.type===cn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case ui:t:{for(var b=d.key;o!==null;){if(o.key===b){if(b=d.type,b===cn){if(o.tag===7){l(s,o.sibling),S=a(o,d.props.children),S.return=s,s=S;break t}}else if(o.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===we&&Tl(b)===o.type){l(s,o.sibling),S=a(o,d.props),la(S,d),S.return=s,s=S;break t}l(s,o);break}else e(s,o);o=o.sibling}d.type===cn?(S=_l(d.props.children,s.mode,S,d.key),S.return=s,s=S):(S=_i(d.type,d.key,d.props,null,s.mode,S),la(S,d),S.return=s,s=S)}return u(s);case ca:t:{for(b=d.key;o!==null;){if(o.key===b)if(o.tag===4&&o.stateNode.containerInfo===d.containerInfo&&o.stateNode.implementation===d.implementation){l(s,o.sibling),S=a(o,d.children||[]),S.return=s,s=S;break t}else{l(s,o);break}else e(s,o);o=o.sibling}S=Cc(d,s.mode,S),S.return=s,s=S}return u(s);case we:return d=Tl(d),L(s,o,d,S)}if(fa(d))return A(s,o,d,S);if(ta(d)){if(b=ta(d),typeof b!="function")throw Error(p(150));return d=b.call(d),C(s,o,d,S)}if(typeof d.then=="function")return L(s,o,yi(d),S);if(d.$$typeof===Ce)return L(s,o,gi(s,d),S);vi(s,d)}return typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint"?(d=""+d,o!==null&&o.tag===6?(l(s,o.sibling),S=a(o,d),S.return=s,s=S):(l(s,o),S=Ec(d,s.mode,S),S.return=s,s=S),u(s)):l(s,o)}return function(s,o,d,S){try{Na=0;var b=L(s,o,d,S);return Cn=null,b}catch(E){if(E===Xn||E===bu)throw E;var H=Ut(29,E,null,s.mode);return H.lanes=S,H.return=s,H}}}var Ul=K1(!0),J1=K1(!1),Ve=!1;function uo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mf(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function nl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function al(t,e,l){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(G&2)!==0){var a=n.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),n.pending=e,e=Vi(t),Y1(t,null,l),e}return pu(t,n,e,l),Vi(t)}function va(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,r1(t,l)}}function Tc(t,e){var l=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var u={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?a=i=u:i=i.next=u,l=l.next}while(l!==null);i===null?a=i=e:i=i.next=e}else a=i=e;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var gf=!1;function ha(){if(gf){var t=En;if(t!==null)throw t}}function Sa(t,e,l,n){gf=!1;var a=t.updateQueue;Ve=!1;var i=a.firstBaseUpdate,u=a.lastBaseUpdate,c=a.shared.pending;if(c!==null){a.shared.pending=null;var f=c,r=f.next;f.next=null,u===null?i=r:u.next=r,u=f;var y=t.alternate;y!==null&&(y=y.updateQueue,c=y.lastBaseUpdate,c!==u&&(c===null?y.firstBaseUpdate=r:c.next=r,y.lastBaseUpdate=f))}if(i!==null){var h=a.baseState;u=0,y=r=f=null,c=i;do{var g=c.lane&-536870913,v=g!==c.lane;if(v?(R&g)===g:(n&g)===g){g!==0&&g===On&&(gf=!0),y!==null&&(y=y.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var A=t,C=c;g=e;var L=l;switch(C.tag){case 1:if(A=C.payload,typeof A=="function"){h=A.call(L,h,g);break t}h=A;break t;case 3:A.flags=A.flags&-65537|128;case 0:if(A=C.payload,g=typeof A=="function"?A.call(L,h,g):A,g==null)break t;h=F({},h,g);break t;case 2:Ve=!0}}g=c.callback,g!==null&&(t.flags|=64,v&&(t.flags|=8192),v=a.callbacks,v===null?a.callbacks=[g]:v.push(g))}else v={lane:g,tag:c.tag,payload:c.payload,callback:c.callback,next:null},y===null?(r=y=v,f=h):y=y.next=v,u|=g;if(c=c.next,c===null){if(c=a.shared.pending,c===null)break;v=c,c=v.next,v.next=null,a.lastBaseUpdate=v,a.shared.pending=null}}while(!0);y===null&&(f=h),a.baseState=f,a.firstBaseUpdate=r,a.lastBaseUpdate=y,i===null&&(a.shared.lanes=0),ml|=u,t.lanes=u,t.memoizedState=h}}function k1(t,e){if(typeof t!="function")throw Error(p(191,t));t.call(e)}function W1(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)k1(l[t],e)}var Ln=de(null),Wi=de(0);function ar(t,e){t=He,K(Wi,t),K(Ln,e),He=t|e.baseLanes}function yf(){K(Wi,He),K(Ln,Ln.current)}function co(){He=Wi.current,dt(Ln),dt(Wi)}var jt=de(null),It=null;function Je(t){var e=t.alternate;K(lt,lt.current&1),K(jt,t),It===null&&(e===null||Ln.current!==null||e.memoizedState!==null)&&(It=t)}function vf(t){K(lt,lt.current),K(jt,t),It===null&&(It=t)}function F1(t){t.tag===22?(K(lt,lt.current),K(jt,t),It===null&&(It=t)):ke(t)}function ke(){K(lt,lt.current),K(jt,jt.current)}function Ht(t){dt(jt),It===t&&(It=null),dt(lt)}var lt=de(0);function Fi(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Rf(l)||Bf(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Le=0,z=null,w=null,at=null,$i=!1,Mn=!1,Rl=!1,Ii=0,Da=0,Tn=null,Gg=0;function tt(){throw Error(p(321))}function fo(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!Xt(t[l],e[l]))return!1;return!0}function oo(t,e,l,n,a,i){return Le=i,z=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,M.H=t===null||t.memoizedState===null?x0:Ao,Rl=!1,i=l(n,a),Rl=!1,Mn&&(i=I1(e,l,n,a)),$1(t),i}function $1(t){M.H=Ha;var e=w!==null&&w.next!==null;if(Le=0,at=w=z=null,$i=!1,Da=0,Tn=null,e)throw Error(p(300));t===null||ct||(t=t.dependencies,t!==null&&Ji(t)&&(ct=!0))}function I1(t,e,l,n){z=t;var a=0;do{if(Mn&&(Tn=null),Da=0,Mn=!1,25<=a)throw Error(p(301));if(a+=1,at=w=null,t.updateQueue!=null){var i=t.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}M.H=_0,i=e(l,n)}while(Mn);return i}function Xg(){var t=M.H,e=t.useState()[0];return e=typeof e.then=="function"?Ka(e):e,t=t.useState()[0],(w!==null?w.memoizedState:null)!==t&&(z.flags|=1024),e}function so(){var t=Ii!==0;return Ii=0,t}function ro(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function mo(t){if($i){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}$i=!1}Le=0,at=w=z=null,Mn=!1,Da=Ii=0,Tn=null}function Ct(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?z.memoizedState=at=t:at=at.next=t,at}function nt(){if(w===null){var t=z.alternate;t=t!==null?t.memoizedState:null}else t=w.next;var e=at===null?z.memoizedState:at.next;if(e!==null)at=e,w=t;else{if(t===null)throw z.alternate===null?Error(p(467)):Error(p(310));w=t,t={memoizedState:w.memoizedState,baseState:w.baseState,baseQueue:w.baseQueue,queue:w.queue,next:null},at===null?z.memoizedState=at=t:at=at.next=t}return at}function Au(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ka(t){var e=Da;return Da+=1,Tn===null&&(Tn=[]),t=V1(Tn,t,e),e=z,(at===null?e.memoizedState:at.next)===null&&(e=e.alternate,M.H=e===null||e.memoizedState===null?x0:Ao),t}function Eu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ka(t);if(t.$$typeof===Ce)return ht(t)}throw Error(p(438,String(t)))}function go(t){var e=null,l=z.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var n=z.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(e={data:n.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=Au(),z.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),n=0;n<t;n++)l[n]=Tm;return e.index++,l}function Ne(t,e){return typeof e=="function"?e(t):e}function Li(t){var e=nt();return yo(e,w,t)}function yo(t,e,l){var n=t.queue;if(n===null)throw Error(p(311));n.lastRenderedReducer=l;var a=t.baseQueue,i=n.pending;if(i!==null){if(a!==null){var u=a.next;a.next=i.next,i.next=u}e.baseQueue=a=i,n.pending=null}if(i=t.baseState,a===null)t.memoizedState=i;else{e=a.next;var c=u=null,f=null,r=e,y=!1;do{var h=r.lane&-536870913;if(h!==r.lane?(R&h)===h:(Le&h)===h){var g=r.revertLane;if(g===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null}),h===On&&(y=!0);else if((Le&g)===g){r=r.next,g===On&&(y=!0);continue}else h={lane:0,revertLane:r.revertLane,gesture:null,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null},f===null?(c=f=h,u=i):f=f.next=h,z.lanes|=g,ml|=g;h=r.action,Rl&&l(i,h),i=r.hasEagerState?r.eagerState:l(i,h)}else g={lane:h,revertLane:r.revertLane,gesture:r.gesture,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null},f===null?(c=f=g,u=i):f=f.next=g,z.lanes|=h,ml|=h;r=r.next}while(r!==null&&r!==e);if(f===null?u=i:f.next=c,!Xt(i,t.memoizedState)&&(ct=!0,y&&(l=En,l!==null)))throw l;t.memoizedState=i,t.baseState=u,t.baseQueue=f,n.lastRenderedState=i}return a===null&&(n.lanes=0),[t.memoizedState,n.dispatch]}function zc(t){var e=nt(),l=e.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=t;var n=l.dispatch,a=l.pending,i=e.memoizedState;if(a!==null){l.pending=null;var u=a=a.next;do i=t(i,u.action),u=u.next;while(u!==a);Xt(i,e.memoizedState)||(ct=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),l.lastRenderedState=i}return[i,n]}function P1(t,e,l){var n=z,a=nt(),i=B;if(i){if(l===void 0)throw Error(p(407));l=l()}else l=e();var u=!Xt((w||a).memoizedState,l);if(u&&(a.memoizedState=l,ct=!0),a=a.queue,vo(l0.bind(null,n,a,t),[t]),a.getSnapshot!==e||u||at!==null&&at.memoizedState.tag&1){if(n.flags|=2048,Nn(9,{destroy:void 0},e0.bind(null,n,a,l,e),null),V===null)throw Error(p(349));i||(Le&127)!==0||t0(n,e,l)}return l}function t0(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=z.updateQueue,e===null?(e=Au(),z.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function e0(t,e,l,n){e.value=l,e.getSnapshot=n,n0(e)&&a0(t)}function l0(t,e,l){return l(function(){n0(e)&&a0(t)})}function n0(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!Xt(t,l)}catch{return!0}}function a0(t){var e=Xl(t,2);e!==null&&_t(e,t,2)}function hf(t){var e=Ct();if(typeof t=="function"){var l=t;if(t=l(),Rl){Fe(!0);try{l()}finally{Fe(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ne,lastRenderedState:t},e}function i0(t,e,l,n){return t.baseState=l,yo(t,w,typeof n=="function"?n:Ne)}function jg(t,e,l,n,a){if(Mu(t))throw Error(p(485));if(t=e.action,t!==null){var i={payload:a,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){i.listeners.push(u)}};M.T!==null?l(!0):i.isTransition=!1,n(i),l=e.pending,l===null?(i.next=e.pending=i,u0(e,i)):(i.next=l.next,e.pending=l.next=i)}}function u0(t,e){var l=e.action,n=e.payload,a=t.state;if(e.isTransition){var i=M.T,u={};M.T=u;try{var c=l(a,n),f=M.S;f!==null&&f(u,c),ir(t,e,c)}catch(r){Sf(t,e,r)}finally{i!==null&&u.types!==null&&(i.types=u.types),M.T=i}}else try{i=l(a,n),ir(t,e,i)}catch(r){Sf(t,e,r)}}function ir(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){ur(t,e,n)},function(n){return Sf(t,e,n)}):ur(t,e,l)}function ur(t,e,l){e.status="fulfilled",e.value=l,c0(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,u0(t,l)))}function Sf(t,e,l){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=l,c0(e),e=e.next;while(e!==n)}t.action=null}function c0(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function f0(t,e){return e}function cr(t,e){if(B){var l=V.formState;if(l!==null){t:{var n=z;if(B){if(W){e:{for(var a=W,i=$t;a.nodeType!==8;){if(!i){a=null;break e}if(a=Pt(a.nextSibling),a===null){a=null;break e}}i=a.data,a=i==="F!"||i==="F"?a:null}if(a){W=Pt(a.nextSibling),n=a.data==="F!";break t}}rl(n)}n=!1}n&&(e=l[0])}}return l=Ct(),l.memoizedState=l.baseState=e,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:f0,lastRenderedState:e},l.queue=n,l=M0.bind(null,z,n),n.dispatch=l,n=hf(!1),i=bo.bind(null,z,!1,n.queue),n=Ct(),a={state:e,dispatch:null,action:t,pending:null},n.queue=a,l=jg.bind(null,z,a,i,l),a.dispatch=l,n.memoizedState=t,[e,l,!1]}function fr(t){var e=nt();return o0(e,w,t)}function o0(t,e,l){if(e=yo(t,e,f0)[0],t=Li(Ne)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=Ka(e)}catch(u){throw u===Xn?bu:u}else n=e;e=nt();var a=e.queue,i=a.dispatch;return l!==e.memoizedState&&(z.flags|=2048,Nn(9,{destroy:void 0},Zg.bind(null,a,l),null)),[n,i,t]}function Zg(t,e){t.action=e}function or(t){var e=nt(),l=w;if(l!==null)return o0(e,l,t);nt(),e=e.memoizedState,l=nt();var n=l.queue.dispatch;return l.memoizedState=t,[e,n,!1]}function Nn(t,e,l,n){return t={tag:t,create:l,deps:n,inst:e,next:null},e=z.updateQueue,e===null&&(e=Au(),z.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(n=l.next,l.next=t,t.next=n,e.lastEffect=t),t}function s0(){return nt().memoizedState}function Ni(t,e,l,n){var a=Ct();z.flags|=t,a.memoizedState=Nn(1|e,{destroy:void 0},l,n===void 0?null:n)}function Cu(t,e,l,n){var a=nt();n=n===void 0?null:n;var i=a.memoizedState.inst;w!==null&&n!==null&&fo(n,w.memoizedState.deps)?a.memoizedState=Nn(e,i,l,n):(z.flags|=t,a.memoizedState=Nn(1|e,i,l,n))}function sr(t,e){Ni(8390656,8,t,e)}function vo(t,e){Cu(2048,8,t,e)}function Qg(t){z.flags|=4;var e=z.updateQueue;if(e===null)e=Au(),z.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function r0(t){var e=nt().memoizedState;return Qg({ref:e,nextImpl:t}),function(){if((G&2)!==0)throw Error(p(440));return e.impl.apply(void 0,arguments)}}function d0(t,e){return Cu(4,2,t,e)}function m0(t,e){return Cu(4,4,t,e)}function g0(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function y0(t,e,l){l=l!=null?l.concat([t]):null,Cu(4,4,g0.bind(null,e,t),l)}function ho(){}function v0(t,e){var l=nt();e=e===void 0?null:e;var n=l.memoizedState;return e!==null&&fo(e,n[1])?n[0]:(l.memoizedState=[t,e],t)}function h0(t,e){var l=nt();e=e===void 0?null:e;var n=l.memoizedState;if(e!==null&&fo(e,n[1]))return n[0];if(n=t(),Rl){Fe(!0);try{t()}finally{Fe(!1)}}return l.memoizedState=[n,e],n}function So(t,e,l){return l===void 0||(Le&1073741824)!==0&&(R&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=id(),z.lanes|=t,ml|=t,l)}function S0(t,e,l,n){return Xt(l,e)?l:Ln.current!==null?(t=So(t,l,n),Xt(t,e)||(ct=!0),t):(Le&42)===0||(Le&1073741824)!==0&&(R&261930)===0?(ct=!0,t.memoizedState=l):(t=id(),z.lanes|=t,ml|=t,e)}function p0(t,e,l,n,a){var i=X.p;X.p=i!==0&&8>i?i:8;var u=M.T,c={};M.T=c,bo(t,!1,e,l);try{var f=a(),r=M.S;if(r!==null&&r(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var y=Yg(f,n);pa(t,e,y,Gt(t))}else pa(t,e,n,Gt(t))}catch(h){pa(t,e,{then:function(){},status:"rejected",reason:h},Gt())}finally{X.p=i,u!==null&&c.types!==null&&(u.types=c.types),M.T=u}}function wg(){}function pf(t,e,l,n){if(t.tag!==5)throw Error(p(476));var a=b0(t).queue;p0(t,a,e,xl,l===null?wg:function(){return A0(t),l(n)})}function b0(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:xl,baseState:xl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ne,lastRenderedState:xl},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ne,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function A0(t){var e=b0(t);e.next===null&&(e=t.alternate.memoizedState),pa(t,e.next.queue,{},Gt())}function po(){return ht(Ba)}function E0(){return nt().memoizedState}function C0(){return nt().memoizedState}function Vg(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Gt();t=nl(l);var n=al(e,t,l);n!==null&&(_t(n,e,l),va(n,e,l)),e={cache:no()},t.payload=e;return}e=e.return}}function Kg(t,e,l){var n=Gt();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Mu(t)?T0(e,l):(l=Pf(t,e,l,n),l!==null&&(_t(l,t,n),z0(l,e,n)))}function M0(t,e,l){var n=Gt();pa(t,e,l,n)}function pa(t,e,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Mu(t))T0(e,a);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var u=e.lastRenderedState,c=i(u,l);if(a.hasEagerState=!0,a.eagerState=c,Xt(c,u))return pu(t,e,a,0),V===null&&Su(),!1}catch{}if(l=Pf(t,e,a,n),l!==null)return _t(l,t,n),z0(l,e,n),!0}return!1}function bo(t,e,l,n){if(n={lane:2,revertLane:Oo(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Mu(t)){if(e)throw Error(p(479))}else e=Pf(t,l,n,2),e!==null&&_t(e,t,2)}function Mu(t){var e=t.alternate;return t===z||e!==null&&e===z}function T0(t,e){Mn=$i=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function z0(t,e,l){if((l&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,r1(t,l)}}var Ha={readContext:ht,use:Eu,useCallback:tt,useContext:tt,useEffect:tt,useImperativeHandle:tt,useLayoutEffect:tt,useInsertionEffect:tt,useMemo:tt,useReducer:tt,useRef:tt,useState:tt,useDebugValue:tt,useDeferredValue:tt,useTransition:tt,useSyncExternalStore:tt,useId:tt,useHostTransitionStatus:tt,useFormState:tt,useActionState:tt,useOptimistic:tt,useMemoCache:tt,useCacheRefresh:tt};Ha.useEffectEvent=tt;var x0={readContext:ht,use:Eu,useCallback:function(t,e){return Ct().memoizedState=[t,e===void 0?null:e],t},useContext:ht,useEffect:sr,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Ni(4194308,4,g0.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Ni(4194308,4,t,e)},useInsertionEffect:function(t,e){Ni(4,2,t,e)},useMemo:function(t,e){var l=Ct();e=e===void 0?null:e;var n=t();if(Rl){Fe(!0);try{t()}finally{Fe(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=Ct();if(l!==void 0){var a=l(e);if(Rl){Fe(!0);try{l(e)}finally{Fe(!1)}}}else a=e;return n.memoizedState=n.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},n.queue=t,t=t.dispatch=Kg.bind(null,z,t),[n.memoizedState,t]},useRef:function(t){var e=Ct();return t={current:t},e.memoizedState=t},useState:function(t){t=hf(t);var e=t.queue,l=M0.bind(null,z,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:ho,useDeferredValue:function(t,e){var l=Ct();return So(l,t,e)},useTransition:function(){var t=hf(!1);return t=p0.bind(null,z,t.queue,!0,!1),Ct().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=z,a=Ct();if(B){if(l===void 0)throw Error(p(407));l=l()}else{if(l=e(),V===null)throw Error(p(349));(R&127)!==0||t0(n,e,l)}a.memoizedState=l;var i={value:l,getSnapshot:e};return a.queue=i,sr(l0.bind(null,n,i,t),[t]),n.flags|=2048,Nn(9,{destroy:void 0},e0.bind(null,n,i,l,e),null),l},useId:function(){var t=Ct(),e=V.identifierPrefix;if(B){var l=oe,n=fe;l=(n&~(1<<32-Yt(n)-1)).toString(32)+l,e="_"+e+"R_"+l,l=Ii++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=Gg++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:po,useFormState:cr,useActionState:cr,useOptimistic:function(t){var e=Ct();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=bo.bind(null,z,!0,l),l.dispatch=e,[t,e]},useMemoCache:go,useCacheRefresh:function(){return Ct().memoizedState=Vg.bind(null,z)},useEffectEvent:function(t){var e=Ct(),l={impl:t};return e.memoizedState=l,function(){if((G&2)!==0)throw Error(p(440));return l.impl.apply(void 0,arguments)}}},Ao={readContext:ht,use:Eu,useCallback:v0,useContext:ht,useEffect:vo,useImperativeHandle:y0,useInsertionEffect:d0,useLayoutEffect:m0,useMemo:h0,useReducer:Li,useRef:s0,useState:function(){return Li(Ne)},useDebugValue:ho,useDeferredValue:function(t,e){var l=nt();return S0(l,w.memoizedState,t,e)},useTransition:function(){var t=Li(Ne)[0],e=nt().memoizedState;return[typeof t=="boolean"?t:Ka(t),e]},useSyncExternalStore:P1,useId:E0,useHostTransitionStatus:po,useFormState:fr,useActionState:fr,useOptimistic:function(t,e){var l=nt();return i0(l,w,t,e)},useMemoCache:go,useCacheRefresh:C0};Ao.useEffectEvent=r0;var _0={readContext:ht,use:Eu,useCallback:v0,useContext:ht,useEffect:vo,useImperativeHandle:y0,useInsertionEffect:d0,useLayoutEffect:m0,useMemo:h0,useReducer:zc,useRef:s0,useState:function(){return zc(Ne)},useDebugValue:ho,useDeferredValue:function(t,e){var l=nt();return w===null?So(l,t,e):S0(l,w.memoizedState,t,e)},useTransition:function(){var t=zc(Ne)[0],e=nt().memoizedState;return[typeof t=="boolean"?t:Ka(t),e]},useSyncExternalStore:P1,useId:E0,useHostTransitionStatus:po,useFormState:or,useActionState:or,useOptimistic:function(t,e){var l=nt();return w!==null?i0(l,w,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:go,useCacheRefresh:C0};_0.useEffectEvent=r0;function xc(t,e,l,n){e=t.memoizedState,l=l(n,e),l=l==null?e:F({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var bf={enqueueSetState:function(t,e,l){t=t._reactInternals;var n=Gt(),a=nl(n);a.payload=e,l!=null&&(a.callback=l),e=al(t,a,n),e!==null&&(_t(e,t,n),va(e,t,n))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var n=Gt(),a=nl(n);a.tag=1,a.payload=e,l!=null&&(a.callback=l),e=al(t,a,n),e!==null&&(_t(e,t,n),va(e,t,n))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Gt(),n=nl(l);n.tag=2,e!=null&&(n.callback=e),e=al(t,n,l),e!==null&&(_t(e,t,l),va(e,t,l))}};function rr(t,e,l,n,a,i,u){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,i,u):e.prototype&&e.prototype.isPureReactComponent?!_a(l,n)||!_a(a,i):!0}function dr(t,e,l,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,n),e.state!==t&&bf.enqueueReplaceState(e,e.state,null)}function Bl(t,e){var l=e;if("ref"in e){l={};for(var n in e)n!=="ref"&&(l[n]=e[n])}if(t=t.defaultProps){l===e&&(l=F({},l));for(var a in t)l[a]===void 0&&(l[a]=t[a])}return l}function O0(t){wi(t)}function L0(t){console.error(t)}function N0(t){wi(t)}function Pi(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function mr(t,e,l){try{var n=t.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function Af(t,e,l){return l=nl(l),l.tag=3,l.payload={element:null},l.callback=function(){Pi(t,e)},l}function D0(t){return t=nl(t),t.tag=3,t}function H0(t,e,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var i=n.value;t.payload=function(){return a(i)},t.callback=function(){mr(e,l,n)}}var u=l.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(t.callback=function(){mr(e,l,n),typeof a!="function"&&(il===null?il=new Set([this]):il.add(this));var c=n.stack;this.componentDidCatch(n.value,{componentStack:c!==null?c:""})})}function Jg(t,e,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(e=l.alternate,e!==null&&Gn(e,l,a,!0),l=jt.current,l!==null){switch(l.tag){case 31:case 13:return It===null?au():l.alternate===null&&et===0&&(et=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===ki?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([n]):e.add(n),Yc(t,n,a)),!1;case 22:return l.flags|=65536,n===ki?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([n]):l.add(n)),Yc(t,n,a)),!1}throw Error(p(435,l.tag))}return Yc(t,n,a),au(),!1}if(B)return e=jt.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,n!==ff&&(t=Error(p(422),{cause:n}),La(Ft(t,l)))):(n!==ff&&(e=Error(p(423),{cause:n}),La(Ft(e,l))),t=t.current.alternate,t.flags|=65536,a&=-a,t.lanes|=a,n=Ft(n,l),a=Af(t.stateNode,n,a),Tc(t,a),et!==4&&(et=2)),!1;var i=Error(p(520),{cause:n});if(i=Ft(i,l),Ea===null?Ea=[i]:Ea.push(i),et!==4&&(et=2),e===null)return!0;n=Ft(n,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=a&-a,l.lanes|=t,t=Af(l.stateNode,n,t),Tc(l,t),!1;case 1:if(e=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(il===null||!il.has(i))))return l.flags|=65536,a&=-a,l.lanes|=a,a=D0(a),H0(a,t,l,n),Tc(l,a),!1}l=l.return}while(l!==null);return!1}var Eo=Error(p(461)),ct=!1;function gt(t,e,l,n){e.child=t===null?J1(e,null,l,n):Ul(e,t.child,l,n)}function gr(t,e,l,n,a){l=l.render;var i=e.ref;if("ref"in n){var u={};for(var c in n)c!=="ref"&&(u[c]=n[c])}else u=n;return Hl(e),n=oo(t,e,l,u,i,a),c=so(),t!==null&&!ct?(ro(t,e,a),De(t,e,a)):(B&&c&&eo(e),e.flags|=1,gt(t,e,n,a),e.child)}function yr(t,e,l,n,a){if(t===null){var i=l.type;return typeof i=="function"&&!to(i)&&i.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=i,U0(t,e,i,n,a)):(t=_i(l.type,null,n,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!Co(t,a)){var u=i.memoizedProps;if(l=l.compare,l=l!==null?l:_a,l(u,n)&&t.ref===e.ref)return De(t,e,a)}return e.flags|=1,t=ze(i,n),t.ref=e.ref,t.return=e,e.child=t}function U0(t,e,l,n,a){if(t!==null){var i=t.memoizedProps;if(_a(i,n)&&t.ref===e.ref)if(ct=!1,e.pendingProps=n=i,Co(t,a))(t.flags&131072)!==0&&(ct=!0);else return e.lanes=t.lanes,De(t,e,a)}return Ef(t,e,l,n,a)}function R0(t,e,l,n){var a=n.children,i=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((e.flags&128)!==0){if(i=i!==null?i.baseLanes|l:l,t!==null){for(n=e.child=t.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~i}else n=0,e.child=null;return vr(t,e,i,l,n)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Oi(e,i!==null?i.cachePool:null),i!==null?ar(e,i):yf(),F1(e);else return n=e.lanes=536870912,vr(t,e,i!==null?i.baseLanes|l:l,l,n)}else i!==null?(Oi(e,i.cachePool),ar(e,i),ke(e),e.memoizedState=null):(t!==null&&Oi(e,null),yf(),ke(e));return gt(t,e,a,l),e.child}function sa(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function vr(t,e,l,n,a){var i=ao();return i=i===null?null:{parent:ut._currentValue,pool:i},e.memoizedState={baseLanes:l,cachePool:i},t!==null&&Oi(e,null),yf(),F1(e),t!==null&&Gn(t,e,n,!0),e.childLanes=a,null}function Di(t,e){return e=tu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function hr(t,e,l){return Ul(e,t.child,null,l),t=Di(e,e.pendingProps),t.flags|=2,Ht(e),e.memoizedState=null,t}function kg(t,e,l){var n=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(B){if(n.mode==="hidden")return t=Di(e,n),e.lanes=536870912,sa(null,t);if(vf(e),(t=W)?(t=xd(t,$t),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:sl!==null?{id:fe,overflow:oe}:null,retryLane:536870912,hydrationErrors:null},l=X1(t),l.return=e,e.child=l,vt=e,W=null)):t=null,t===null)throw rl(e);return e.lanes=536870912,null}return Di(e,n)}var i=t.memoizedState;if(i!==null){var u=i.dehydrated;if(vf(e),a)if(e.flags&256)e.flags&=-257,e=hr(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(p(558));else if(ct||Gn(t,e,l,!1),a=(l&t.childLanes)!==0,ct||a){if(n=V,n!==null&&(u=d1(n,l),u!==0&&u!==i.retryLane))throw i.retryLane=u,Xl(t,u),_t(n,t,u),Eo;au(),e=hr(t,e,l)}else t=i.treeContext,W=Pt(u.nextSibling),vt=e,B=!0,ll=null,$t=!1,t!==null&&Z1(e,t),e=Di(e,n),e.flags|=4096;return e}return t=ze(t.child,{mode:n.mode,children:n.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Hi(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(p(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Ef(t,e,l,n,a){return Hl(e),l=oo(t,e,l,n,void 0,a),n=so(),t!==null&&!ct?(ro(t,e,a),De(t,e,a)):(B&&n&&eo(e),e.flags|=1,gt(t,e,l,a),e.child)}function Sr(t,e,l,n,a,i){return Hl(e),e.updateQueue=null,l=I1(e,n,l,a),$1(t),n=so(),t!==null&&!ct?(ro(t,e,i),De(t,e,i)):(B&&n&&eo(e),e.flags|=1,gt(t,e,l,i),e.child)}function pr(t,e,l,n,a){if(Hl(e),e.stateNode===null){var i=yn,u=l.contextType;typeof u=="object"&&u!==null&&(i=ht(u)),i=new l(n,i),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=bf,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=n,i.state=e.memoizedState,i.refs={},uo(e),u=l.contextType,i.context=typeof u=="object"&&u!==null?ht(u):yn,i.state=e.memoizedState,u=l.getDerivedStateFromProps,typeof u=="function"&&(xc(e,l,u,n),i.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(u=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),u!==i.state&&bf.enqueueReplaceState(i,i.state,null),Sa(e,n,i,a),ha(),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308),n=!0}else if(t===null){i=e.stateNode;var c=e.memoizedProps,f=Bl(l,c);i.props=f;var r=i.context,y=l.contextType;u=yn,typeof y=="object"&&y!==null&&(u=ht(y));var h=l.getDerivedStateFromProps;y=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function",c=e.pendingProps!==c,y||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c||r!==u)&&dr(e,i,n,u),Ve=!1;var g=e.memoizedState;i.state=g,Sa(e,n,i,a),ha(),r=e.memoizedState,c||g!==r||Ve?(typeof h=="function"&&(xc(e,l,h,n),r=e.memoizedState),(f=Ve||rr(e,l,f,n,g,r,u))?(y||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(e.flags|=4194308)):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=r),i.props=n,i.state=r,i.context=u,n=f):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{i=e.stateNode,mf(t,e),u=e.memoizedProps,y=Bl(l,u),i.props=y,h=e.pendingProps,g=i.context,r=l.contextType,f=yn,typeof r=="object"&&r!==null&&(f=ht(r)),c=l.getDerivedStateFromProps,(r=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==h||g!==f)&&dr(e,i,n,f),Ve=!1,g=e.memoizedState,i.state=g,Sa(e,n,i,a),ha();var v=e.memoizedState;u!==h||g!==v||Ve||t!==null&&t.dependencies!==null&&Ji(t.dependencies)?(typeof c=="function"&&(xc(e,l,c,n),v=e.memoizedState),(y=Ve||rr(e,l,y,n,g,v,f)||t!==null&&t.dependencies!==null&&Ji(t.dependencies))?(r||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,v,f),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,v,f)),typeof i.componentDidUpdate=="function"&&(e.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===t.memoizedProps&&g===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&g===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=v),i.props=n,i.state=v,i.context=f,n=y):(typeof i.componentDidUpdate!="function"||u===t.memoizedProps&&g===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&g===t.memoizedState||(e.flags|=1024),n=!1)}return i=n,Hi(t,e),n=(e.flags&128)!==0,i||n?(i=e.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:i.render(),e.flags|=1,t!==null&&n?(e.child=Ul(e,t.child,null,a),e.child=Ul(e,null,l,a)):gt(t,e,l,a),e.memoizedState=i.state,t=e.child):t=De(t,e,a),t}function br(t,e,l,n){return Dl(),e.flags|=256,gt(t,e,l,n),e.child}var _c={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Oc(t){return{baseLanes:t,cachePool:w1()}}function Lc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Rt),t}function B0(t,e,l){var n=e.pendingProps,a=!1,i=(e.flags&128)!==0,u;if((u=i)||(u=t!==null&&t.memoizedState===null?!1:(lt.current&2)!==0),u&&(a=!0,e.flags&=-129),u=(e.flags&32)!==0,e.flags&=-33,t===null){if(B){if(a?Je(e):ke(e),(t=W)?(t=xd(t,$t),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:sl!==null?{id:fe,overflow:oe}:null,retryLane:536870912,hydrationErrors:null},l=X1(t),l.return=e,e.child=l,vt=e,W=null)):t=null,t===null)throw rl(e);return Bf(t)?e.lanes=32:e.lanes=536870912,null}var c=n.children;return n=n.fallback,a?(ke(e),a=e.mode,c=tu({mode:"hidden",children:c},a),n=_l(n,a,l,null),c.return=e,n.return=e,c.sibling=n,e.child=c,n=e.child,n.memoizedState=Oc(l),n.childLanes=Lc(t,u,l),e.memoizedState=_c,sa(null,n)):(Je(e),Cf(e,c))}var f=t.memoizedState;if(f!==null&&(c=f.dehydrated,c!==null)){if(i)e.flags&256?(Je(e),e.flags&=-257,e=Nc(t,e,l)):e.memoizedState!==null?(ke(e),e.child=t.child,e.flags|=128,e=null):(ke(e),c=n.fallback,a=e.mode,n=tu({mode:"visible",children:n.children},a),c=_l(c,a,l,null),c.flags|=2,n.return=e,c.return=e,n.sibling=c,e.child=n,Ul(e,t.child,null,l),n=e.child,n.memoizedState=Oc(l),n.childLanes=Lc(t,u,l),e.memoizedState=_c,e=sa(null,n));else if(Je(e),Bf(c)){if(u=c.nextSibling&&c.nextSibling.dataset,u)var r=u.dgst;u=r,n=Error(p(419)),n.stack="",n.digest=u,La({value:n,source:null,stack:null}),e=Nc(t,e,l)}else if(ct||Gn(t,e,l,!1),u=(l&t.childLanes)!==0,ct||u){if(u=V,u!==null&&(n=d1(u,l),n!==0&&n!==f.retryLane))throw f.retryLane=n,Xl(t,n),_t(u,t,n),Eo;Rf(c)||au(),e=Nc(t,e,l)}else Rf(c)?(e.flags|=192,e.child=t.child,e=null):(t=f.treeContext,W=Pt(c.nextSibling),vt=e,B=!0,ll=null,$t=!1,t!==null&&Z1(e,t),e=Cf(e,n.children),e.flags|=4096);return e}return a?(ke(e),c=n.fallback,a=e.mode,f=t.child,r=f.sibling,n=ze(f,{mode:"hidden",children:n.children}),n.subtreeFlags=f.subtreeFlags&65011712,r!==null?c=ze(r,c):(c=_l(c,a,l,null),c.flags|=2),c.return=e,n.return=e,n.sibling=c,e.child=n,sa(null,n),n=e.child,c=t.child.memoizedState,c===null?c=Oc(l):(a=c.cachePool,a!==null?(f=ut._currentValue,a=a.parent!==f?{parent:f,pool:f}:a):a=w1(),c={baseLanes:c.baseLanes|l,cachePool:a}),n.memoizedState=c,n.childLanes=Lc(t,u,l),e.memoizedState=_c,sa(t.child,n)):(Je(e),l=t.child,t=l.sibling,l=ze(l,{mode:"visible",children:n.children}),l.return=e,l.sibling=null,t!==null&&(u=e.deletions,u===null?(e.deletions=[t],e.flags|=16):u.push(t)),e.child=l,e.memoizedState=null,l)}function Cf(t,e){return e=tu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function tu(t,e){return t=Ut(22,t,null,e),t.lanes=0,t}function Nc(t,e,l){return Ul(e,t.child,null,l),t=Cf(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Ar(t,e,l){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),sf(t.return,e,l)}function Dc(t,e,l,n,a,i){var u=t.memoizedState;u===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:i}:(u.isBackwards=e,u.rendering=null,u.renderingStartTime=0,u.last=n,u.tail=l,u.tailMode=a,u.treeForkCount=i)}function q0(t,e,l){var n=e.pendingProps,a=n.revealOrder,i=n.tail;n=n.children;var u=lt.current,c=(u&2)!==0;if(c?(u=u&1|2,e.flags|=128):u&=1,K(lt,u),gt(t,e,n,l),n=B?Oa:0,!c&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ar(t,l,e);else if(t.tag===19)Ar(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(a){case"forwards":for(l=e.child,a=null;l!==null;)t=l.alternate,t!==null&&Fi(t)===null&&(a=l),l=l.sibling;l=a,l===null?(a=e.child,e.child=null):(a=l.sibling,l.sibling=null),Dc(e,!1,a,l,i,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,a=e.child,e.child=null;a!==null;){if(t=a.alternate,t!==null&&Fi(t)===null){e.child=a;break}t=a.sibling,a.sibling=l,l=a,a=t}Dc(e,!0,l,null,i,n);break;case"together":Dc(e,!1,null,null,void 0,n);break;default:e.memoizedState=null}return e.child}function De(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),ml|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(Gn(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(p(153));if(e.child!==null){for(t=e.child,l=ze(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=ze(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function Co(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Ji(t)))}function Wg(t,e,l){switch(e.tag){case 3:Xi(e,e.stateNode.containerInfo),Ke(e,ut,t.memoizedState.cache),Dl();break;case 27:case 5:Fc(e);break;case 4:Xi(e,e.stateNode.containerInfo);break;case 10:Ke(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,vf(e),null;break;case 13:var n=e.memoizedState;if(n!==null)return n.dehydrated!==null?(Je(e),e.flags|=128,null):(l&e.child.childLanes)!==0?B0(t,e,l):(Je(e),t=De(t,e,l),t!==null?t.sibling:null);Je(e);break;case 19:var a=(t.flags&128)!==0;if(n=(l&e.childLanes)!==0,n||(Gn(t,e,l,!1),n=(l&e.childLanes)!==0),a){if(n)return q0(t,e,l);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),K(lt,lt.current),n)break;return null;case 22:return e.lanes=0,R0(t,e,l,e.pendingProps);case 24:Ke(e,ut,t.memoizedState.cache)}return De(t,e,l)}function Y0(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)ct=!0;else{if(!Co(t,l)&&(e.flags&128)===0)return ct=!1,Wg(t,e,l);ct=(t.flags&131072)!==0}else ct=!1,B&&(e.flags&1048576)!==0&&j1(e,Oa,e.index);switch(e.lanes=0,e.tag){case 16:t:{var n=e.pendingProps;if(t=Tl(e.elementType),e.type=t,typeof t=="function")to(t)?(n=Bl(t,n),e.tag=1,e=pr(null,e,t,n,l)):(e.tag=0,e=Ef(null,e,t,n,l));else{if(t!=null){var a=t.$$typeof;if(a===Xf){e.tag=11,e=gr(null,e,t,n,l);break t}else if(a===jf){e.tag=14,e=yr(null,e,t,n,l);break t}}throw e=kc(t)||t,Error(p(306,e,""))}}return e;case 0:return Ef(t,e,e.type,e.pendingProps,l);case 1:return n=e.type,a=Bl(n,e.pendingProps),pr(t,e,n,a,l);case 3:t:{if(Xi(e,e.stateNode.containerInfo),t===null)throw Error(p(387));n=e.pendingProps;var i=e.memoizedState;a=i.element,mf(t,e),Sa(e,n,null,l);var u=e.memoizedState;if(n=u.cache,Ke(e,ut,n),n!==i.cache&&rf(e,[ut],l,!0),ha(),n=u.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:u.cache},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){e=br(t,e,n,l);break t}else if(n!==a){a=Ft(Error(p(424)),e),La(a),e=br(t,e,n,l);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,W=Pt(t.firstChild),vt=e,B=!0,ll=null,$t=!0,l=J1(e,null,n,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Dl(),n===a){e=De(t,e,l);break t}gt(t,e,n,l)}e=e.child}return e;case 26:return Hi(t,e),t===null?(l=Qr(e.type,null,e.pendingProps,null))?e.memoizedState=l:B||(l=e.type,t=e.pendingProps,n=fu(el.current).createElement(l),n[yt]=e,n[Ot]=t,St(n,l,t),rt(n),e.stateNode=n):e.memoizedState=Qr(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Fc(e),t===null&&B&&(n=e.stateNode=_d(e.type,e.pendingProps,el.current),vt=e,$t=!0,a=W,yl(e.type)?(qf=a,W=Pt(n.firstChild)):W=a),gt(t,e,e.pendingProps.children,l),Hi(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&B&&((a=n=W)&&(n=Cy(n,e.type,e.pendingProps,$t),n!==null?(e.stateNode=n,vt=e,W=Pt(n.firstChild),$t=!1,a=!0):a=!1),a||rl(e)),Fc(e),a=e.type,i=e.pendingProps,u=t!==null?t.memoizedProps:null,n=i.children,Hf(a,i)?n=null:u!==null&&Hf(a,u)&&(e.flags|=32),e.memoizedState!==null&&(a=oo(t,e,Xg,null,null,l),Ba._currentValue=a),Hi(t,e),gt(t,e,n,l),e.child;case 6:return t===null&&B&&((t=l=W)&&(l=My(l,e.pendingProps,$t),l!==null?(e.stateNode=l,vt=e,W=null,t=!0):t=!1),t||rl(e)),null;case 13:return B0(t,e,l);case 4:return Xi(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=Ul(e,null,n,l):gt(t,e,n,l),e.child;case 11:return gr(t,e,e.type,e.pendingProps,l);case 7:return gt(t,e,e.pendingProps,l),e.child;case 8:return gt(t,e,e.pendingProps.children,l),e.child;case 12:return gt(t,e,e.pendingProps.children,l),e.child;case 10:return n=e.pendingProps,Ke(e,e.type,n.value),gt(t,e,n.children,l),e.child;case 9:return a=e.type._context,n=e.pendingProps.children,Hl(e),a=ht(a),n=n(a),e.flags|=1,gt(t,e,n,l),e.child;case 14:return yr(t,e,e.type,e.pendingProps,l);case 15:return U0(t,e,e.type,e.pendingProps,l);case 19:return q0(t,e,l);case 31:return kg(t,e,l);case 22:return R0(t,e,l,e.pendingProps);case 24:return Hl(e),n=ht(ut),t===null?(a=ao(),a===null&&(a=V,i=no(),a.pooledCache=i,i.refCount++,i!==null&&(a.pooledCacheLanes|=l),a=i),e.memoizedState={parent:n,cache:a},uo(e),Ke(e,ut,a)):((t.lanes&l)!==0&&(mf(t,e),Sa(e,null,null,l),ha()),a=t.memoizedState,i=e.memoizedState,a.parent!==n?(a={parent:n,cache:n},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),Ke(e,ut,n)):(n=i.cache,Ke(e,ut,n),n!==a.cache&&rf(e,[ut],l,!0))),gt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(p(156,e.tag))}function he(t){t.flags|=4}function Hc(t,e,l,n,a){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(a&335544128)===a)if(t.stateNode.complete)t.flags|=8192;else if(fd())t.flags|=8192;else throw Ll=ki,io}else t.flags&=-16777217}function Er(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Nd(e))if(fd())t.flags|=8192;else throw Ll=ki,io}function hi(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?o1():536870912,t.lanes|=e,Dn|=e)}function na(t,e){if(!B)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function k(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,n=0;if(e)for(var a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=n,t.childLanes=l,e}function Fg(t,e,l){var n=e.pendingProps;switch(lo(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return k(e),null;case 1:return k(e),null;case 3:return l=e.stateNode,n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),xe(ut),zn(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(ln(e)?he(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Mc())),k(e),null;case 26:var a=e.type,i=e.memoizedState;return t===null?(he(e),i!==null?(k(e),Er(e,i)):(k(e),Hc(e,a,null,n,l))):i?i!==t.memoizedState?(he(e),k(e),Er(e,i)):(k(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&he(e),k(e),Hc(e,a,t,n,l)),null;case 27:if(ji(e),l=el.current,a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&he(e);else{if(!n){if(e.stateNode===null)throw Error(p(166));return k(e),null}t=re.current,ln(e)?$s(e,t):(t=_d(a,n,l),e.stateNode=t,he(e))}return k(e),null;case 5:if(ji(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&he(e);else{if(!n){if(e.stateNode===null)throw Error(p(166));return k(e),null}if(i=re.current,ln(e))$s(e,i);else{var u=fu(el.current);switch(i){case 1:i=u.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=u.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":i=u.createElement("div"),i.innerHTML="<script></script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?u.createElement("select",{is:n.is}):u.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?u.createElement(a,{is:n.is}):u.createElement(a)}}i[yt]=e,i[Ot]=n;t:for(u=e.child;u!==null;){if(u.tag===5||u.tag===6)i.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break t;for(;u.sibling===null;){if(u.return===null||u.return===e)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}e.stateNode=i;t:switch(St(i,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&he(e)}}return k(e),Hc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&he(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(p(166));if(t=el.current,ln(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,a=vt,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}t[yt]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||Md(t.nodeValue,l)),t||rl(e,!0)}else t=fu(t).createTextNode(n),t[yt]=e,e.stateNode=t}return k(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(n=ln(e),l!==null){if(t===null){if(!n)throw Error(p(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(p(557));t[yt]=e}else Dl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;k(e),t=!1}else l=Mc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(Ht(e),e):(Ht(e),null);if((e.flags&128)!==0)throw Error(p(558))}return k(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=ln(e),n!==null&&n.dehydrated!==null){if(t===null){if(!a)throw Error(p(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(p(317));a[yt]=e}else Dl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;k(e),a=!1}else a=Mc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),a=!0;if(!a)return e.flags&256?(Ht(e),e):(Ht(e),null)}return Ht(e),(e.flags&128)!==0?(e.lanes=l,e):(l=n!==null,t=t!==null&&t.memoizedState!==null,l&&(n=e.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==a&&(n.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),hi(e,e.updateQueue),k(e),null);case 4:return zn(),t===null&&Lo(e.stateNode.containerInfo),k(e),null;case 10:return xe(e.type),k(e),null;case 19:if(dt(lt),n=e.memoizedState,n===null)return k(e),null;if(a=(e.flags&128)!==0,i=n.rendering,i===null)if(a)na(n,!1);else{if(et!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(i=Fi(t),i!==null){for(e.flags|=128,na(n,!1),t=i.updateQueue,e.updateQueue=t,hi(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)G1(l,t),l=l.sibling;return K(lt,lt.current&1|2),B&&Ae(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&Bt()>lu&&(e.flags|=128,a=!0,na(n,!1),e.lanes=4194304)}else{if(!a)if(t=Fi(i),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,hi(e,t),na(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!B)return k(e),null}else 2*Bt()-n.renderingStartTime>lu&&l!==536870912&&(e.flags|=128,a=!0,na(n,!1),e.lanes=4194304);n.isBackwards?(i.sibling=e.child,e.child=i):(t=n.last,t!==null?t.sibling=i:e.child=i,n.last=i)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Bt(),t.sibling=null,l=lt.current,K(lt,a?l&1|2:l&1),B&&Ae(e,n.treeForkCount),t):(k(e),null);case 22:case 23:return Ht(e),co(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(l&536870912)!==0&&(e.flags&128)===0&&(k(e),e.subtreeFlags&6&&(e.flags|=8192)):k(e),l=e.updateQueue,l!==null&&hi(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&dt(Ol),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),xe(ut),k(e),null;case 25:return null;case 30:return null}throw Error(p(156,e.tag))}function $g(t,e){switch(lo(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return xe(ut),zn(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return ji(e),null;case 31:if(e.memoizedState!==null){if(Ht(e),e.alternate===null)throw Error(p(340));Dl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ht(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(p(340));Dl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return dt(lt),null;case 4:return zn(),null;case 10:return xe(e.type),null;case 22:case 23:return Ht(e),co(),t!==null&&dt(Ol),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return xe(ut),null;case 25:return null;default:return null}}function G0(t,e){switch(lo(e),e.tag){case 3:xe(ut),zn();break;case 26:case 27:case 5:ji(e);break;case 4:zn();break;case 31:e.memoizedState!==null&&Ht(e);break;case 13:Ht(e);break;case 19:dt(lt);break;case 10:xe(e.type);break;case 22:case 23:Ht(e),co(),t!==null&&dt(Ol);break;case 24:xe(ut)}}function Ja(t,e){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&t)===t){n=void 0;var i=l.create,u=l.inst;n=i(),u.destroy=n}l=l.next}while(l!==a)}}catch(c){Z(e,e.return,c)}}function dl(t,e,l){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&t)===t){var u=n.inst,c=u.destroy;if(c!==void 0){u.destroy=void 0,a=e;var f=l,r=c;try{r()}catch(y){Z(a,f,y)}}}n=n.next}while(n!==i)}}catch(y){Z(e,e.return,y)}}function X0(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{W1(e,l)}catch(n){Z(t,t.return,n)}}}function j0(t,e,l){l.props=Bl(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(n){Z(t,e,n)}}function ba(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof l=="function"?t.refCleanup=l(n):l.current=n}}catch(a){Z(t,e,a)}}function se(t,e){var l=t.ref,n=t.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){Z(t,e,a)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){Z(t,e,a)}else l.current=null}function Z0(t){var e=t.type,l=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break t;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){Z(t,t.return,a)}}function Uc(t,e,l){try{var n=t.stateNode;hy(n,t.type,l,e),n[Ot]=e}catch(a){Z(t,t.return,a)}}function Q0(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&yl(t.type)||t.tag===4}function Rc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Q0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&yl(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Mf(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=Me));else if(n!==4&&(n===27&&yl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Mf(t,e,l),t=t.sibling;t!==null;)Mf(t,e,l),t=t.sibling}function eu(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(n!==4&&(n===27&&yl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(eu(t,e,l),t=t.sibling;t!==null;)eu(t,e,l),t=t.sibling}function w0(t){var e=t.stateNode,l=t.memoizedProps;try{for(var n=t.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);St(e,n,l),e[yt]=t,e[Ot]=l}catch(i){Z(t,t.return,i)}}var Ee=!1,it=!1,Bc=!1,Cr=typeof WeakSet=="function"?WeakSet:Set,st=null;function Ig(t,e){if(t=t.containerInfo,Nf=du,t=N1(t),$f(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break t}var u=0,c=-1,f=-1,r=0,y=0,h=t,g=null;e:for(;;){for(var v;h!==l||a!==0&&h.nodeType!==3||(c=u+a),h!==i||n!==0&&h.nodeType!==3||(f=u+n),h.nodeType===3&&(u+=h.nodeValue.length),(v=h.firstChild)!==null;)g=h,h=v;for(;;){if(h===t)break e;if(g===l&&++r===a&&(c=u),g===i&&++y===n&&(f=u),(v=h.nextSibling)!==null)break;h=g,g=h.parentNode}h=v}l=c===-1||f===-1?null:{start:c,end:f}}else l=null}l=l||{start:0,end:0}}else l=null;for(Df={focusedElem:t,selectionRange:l},du=!1,st=e;st!==null;)if(e=st,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,st=t;else for(;st!==null;){switch(e=st,i=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)a=t[l],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&i!==null){t=void 0,l=e,a=i.memoizedProps,i=i.memoizedState,n=l.stateNode;try{var A=Bl(l.type,a);t=n.getSnapshotBeforeUpdate(A,i),n.__reactInternalSnapshotBeforeUpdate=t}catch(C){Z(l,l.return,C)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Uf(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Uf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(p(163))}if(t=e.sibling,t!==null){t.return=e.return,st=t;break}st=e.return}}function V0(t,e,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:pe(t,l),n&4&&Ja(5,l);break;case 1:if(pe(t,l),n&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(u){Z(l,l.return,u)}else{var a=Bl(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(a,e,t.__reactInternalSnapshotBeforeUpdate)}catch(u){Z(l,l.return,u)}}n&64&&X0(l),n&512&&ba(l,l.return);break;case 3:if(pe(t,l),n&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{W1(t,e)}catch(u){Z(l,l.return,u)}}break;case 27:e===null&&n&4&&w0(l);case 26:case 5:pe(t,l),e===null&&n&4&&Z0(l),n&512&&ba(l,l.return);break;case 12:pe(t,l);break;case 31:pe(t,l),n&4&&k0(t,l);break;case 13:pe(t,l),n&4&&W0(t,l),n&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=cy.bind(null,l),Ty(t,l))));break;case 22:if(n=l.memoizedState!==null||Ee,!n){e=e!==null&&e.memoizedState!==null||it,a=Ee;var i=it;Ee=n,(it=e)&&!i?be(t,l,(l.subtreeFlags&8772)!==0):pe(t,l),Ee=a,it=i}break;case 30:break;default:pe(t,l)}}function K0(t){var e=t.alternate;e!==null&&(t.alternate=null,K0(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Vf(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var P=null,zt=!1;function Se(t,e,l){for(l=l.child;l!==null;)J0(t,e,l),l=l.sibling}function J0(t,e,l){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(Xa,l)}catch{}switch(l.tag){case 26:it||se(l,e),Se(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:it||se(l,e);var n=P,a=zt;yl(l.type)&&(P=l.stateNode,zt=!1),Se(t,e,l),Ma(l.stateNode),P=n,zt=a;break;case 5:it||se(l,e);case 6:if(n=P,a=zt,P=null,Se(t,e,l),P=n,zt=a,P!==null)if(zt)try{(P.nodeType===9?P.body:P.nodeName==="HTML"?P.ownerDocument.body:P).removeChild(l.stateNode)}catch(i){Z(l,e,i)}else try{P.removeChild(l.stateNode)}catch(i){Z(l,e,i)}break;case 18:P!==null&&(zt?(t=P,Yr(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Bn(t)):Yr(P,l.stateNode));break;case 4:n=P,a=zt,P=l.stateNode.containerInfo,zt=!0,Se(t,e,l),P=n,zt=a;break;case 0:case 11:case 14:case 15:dl(2,l,e),it||dl(4,l,e),Se(t,e,l);break;case 1:it||(se(l,e),n=l.stateNode,typeof n.componentWillUnmount=="function"&&j0(l,e,n)),Se(t,e,l);break;case 21:Se(t,e,l);break;case 22:it=(n=it)||l.memoizedState!==null,Se(t,e,l),it=n;break;default:Se(t,e,l)}}function k0(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Bn(t)}catch(l){Z(e,e.return,l)}}}function W0(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Bn(t)}catch(l){Z(e,e.return,l)}}function Pg(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Cr),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Cr),e;default:throw Error(p(435,t.tag))}}function Si(t,e){var l=Pg(t);e.forEach(function(n){if(!l.has(n)){l.add(n);var a=fy.bind(null,t,n);n.then(a,a)}})}function Mt(t,e){var l=e.deletions;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n],i=t,u=e,c=u;t:for(;c!==null;){switch(c.tag){case 27:if(yl(c.type)){P=c.stateNode,zt=!1;break t}break;case 5:P=c.stateNode,zt=!1;break t;case 3:case 4:P=c.stateNode.containerInfo,zt=!0;break t}c=c.return}if(P===null)throw Error(p(160));J0(i,u,a),P=null,zt=!1,i=a.alternate,i!==null&&(i.return=null),a.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)F0(e,t),e=e.sibling}var le=null;function F0(t,e){var l=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Mt(e,t),Tt(t),n&4&&(dl(3,t,t.return),Ja(3,t),dl(5,t,t.return));break;case 1:Mt(e,t),Tt(t),n&512&&(it||l===null||se(l,l.return)),n&64&&Ee&&(t=t.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var a=le;if(Mt(e,t),Tt(t),n&512&&(it||l===null||se(l,l.return)),n&4){var i=l!==null?l.memoizedState:null;if(n=t.memoizedState,l===null)if(n===null)if(t.stateNode===null){t:{n=t.type,l=t.memoizedProps,a=a.ownerDocument||a;e:switch(n){case"title":i=a.getElementsByTagName("title")[0],(!i||i[Qa]||i[yt]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=a.createElement(n),a.head.insertBefore(i,a.querySelector("head > title"))),St(i,n,l),i[yt]=t,rt(i),n=i;break t;case"link":var u=Vr("link","href",a).get(n+(l.href||""));if(u){for(var c=0;c<u.length;c++)if(i=u[c],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){u.splice(c,1);break e}}i=a.createElement(n),St(i,n,l),a.head.appendChild(i);break;case"meta":if(u=Vr("meta","content",a).get(n+(l.content||""))){for(c=0;c<u.length;c++)if(i=u[c],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){u.splice(c,1);break e}}i=a.createElement(n),St(i,n,l),a.head.appendChild(i);break;default:throw Error(p(468,n))}i[yt]=t,rt(i),n=i}t.stateNode=n}else Kr(a,t.type,t.stateNode);else t.stateNode=wr(a,n,t.memoizedProps);else i!==n?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,n===null?Kr(a,t.type,t.stateNode):wr(a,n,t.memoizedProps)):n===null&&t.stateNode!==null&&Uc(t,t.memoizedProps,l.memoizedProps)}break;case 27:Mt(e,t),Tt(t),n&512&&(it||l===null||se(l,l.return)),l!==null&&n&4&&Uc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Mt(e,t),Tt(t),n&512&&(it||l===null||se(l,l.return)),t.flags&32){a=t.stateNode;try{_n(a,"")}catch(A){Z(t,t.return,A)}}n&4&&t.stateNode!=null&&(a=t.memoizedProps,Uc(t,a,l!==null?l.memoizedProps:a)),n&1024&&(Bc=!0);break;case 6:if(Mt(e,t),Tt(t),n&4){if(t.stateNode===null)throw Error(p(162));n=t.memoizedProps,l=t.stateNode;try{l.nodeValue=n}catch(A){Z(t,t.return,A)}}break;case 3:if(Bi=null,a=le,le=ou(e.containerInfo),Mt(e,t),le=a,Tt(t),n&4&&l!==null&&l.memoizedState.isDehydrated)try{Bn(e.containerInfo)}catch(A){Z(t,t.return,A)}Bc&&(Bc=!1,$0(t));break;case 4:n=le,le=ou(t.stateNode.containerInfo),Mt(e,t),Tt(t),le=n;break;case 12:Mt(e,t),Tt(t);break;case 31:Mt(e,t),Tt(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Si(t,n)));break;case 13:Mt(e,t),Tt(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Tu=Bt()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Si(t,n)));break;case 22:a=t.memoizedState!==null;var f=l!==null&&l.memoizedState!==null,r=Ee,y=it;if(Ee=r||a,it=y||f,Mt(e,t),it=y,Ee=r,Tt(t),n&8192)t:for(e=t.stateNode,e._visibility=a?e._visibility&-2:e._visibility|1,a&&(l===null||f||Ee||it||zl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){f=l=e;try{if(i=f.stateNode,a)u=i.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{c=f.stateNode;var h=f.memoizedProps.style,g=h!=null&&h.hasOwnProperty("display")?h.display:null;c.style.display=g==null||typeof g=="boolean"?"":(""+g).trim()}}catch(A){Z(f,f.return,A)}}}else if(e.tag===6){if(l===null){f=e;try{f.stateNode.nodeValue=a?"":f.memoizedProps}catch(A){Z(f,f.return,A)}}}else if(e.tag===18){if(l===null){f=e;try{var v=f.stateNode;a?Gr(v,!0):Gr(f.stateNode,!1)}catch(A){Z(f,f.return,A)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}n&4&&(n=t.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,Si(t,l))));break;case 19:Mt(e,t),Tt(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Si(t,n)));break;case 30:break;case 21:break;default:Mt(e,t),Tt(t)}}function Tt(t){var e=t.flags;if(e&2){try{for(var l,n=t.return;n!==null;){if(Q0(n)){l=n;break}n=n.return}if(l==null)throw Error(p(160));switch(l.tag){case 27:var a=l.stateNode,i=Rc(t);eu(t,i,a);break;case 5:var u=l.stateNode;l.flags&32&&(_n(u,""),l.flags&=-33);var c=Rc(t);eu(t,c,u);break;case 3:case 4:var f=l.stateNode.containerInfo,r=Rc(t);Mf(t,r,f);break;default:throw Error(p(161))}}catch(y){Z(t,t.return,y)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function $0(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;$0(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function pe(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)V0(t,e.alternate,e),e=e.sibling}function zl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:dl(4,e,e.return),zl(e);break;case 1:se(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&j0(e,e.return,l),zl(e);break;case 27:Ma(e.stateNode);case 26:case 5:se(e,e.return),zl(e);break;case 22:e.memoizedState===null&&zl(e);break;case 30:zl(e);break;default:zl(e)}t=t.sibling}}function be(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var n=e.alternate,a=t,i=e,u=i.flags;switch(i.tag){case 0:case 11:case 15:be(a,i,l),Ja(4,i);break;case 1:if(be(a,i,l),n=i,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(r){Z(n,n.return,r)}if(n=i,a=n.updateQueue,a!==null){var c=n.stateNode;try{var f=a.shared.hiddenCallbacks;if(f!==null)for(a.shared.hiddenCallbacks=null,a=0;a<f.length;a++)k1(f[a],c)}catch(r){Z(n,n.return,r)}}l&&u&64&&X0(i),ba(i,i.return);break;case 27:w0(i);case 26:case 5:be(a,i,l),l&&n===null&&u&4&&Z0(i),ba(i,i.return);break;case 12:be(a,i,l);break;case 31:be(a,i,l),l&&u&4&&k0(a,i);break;case 13:be(a,i,l),l&&u&4&&W0(a,i);break;case 22:i.memoizedState===null&&be(a,i,l),ba(i,i.return);break;case 30:break;default:be(a,i,l)}e=e.sibling}}function Mo(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Va(l))}function To(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Va(t))}function ee(t,e,l,n){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)I0(t,e,l,n),e=e.sibling}function I0(t,e,l,n){var a=e.flags;switch(e.tag){case 0:case 11:case 15:ee(t,e,l,n),a&2048&&Ja(9,e);break;case 1:ee(t,e,l,n);break;case 3:ee(t,e,l,n),a&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Va(t)));break;case 12:if(a&2048){ee(t,e,l,n),t=e.stateNode;try{var i=e.memoizedProps,u=i.id,c=i.onPostCommit;typeof c=="function"&&c(u,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(f){Z(e,e.return,f)}}else ee(t,e,l,n);break;case 31:ee(t,e,l,n);break;case 13:ee(t,e,l,n);break;case 23:break;case 22:i=e.stateNode,u=e.alternate,e.memoizedState!==null?i._visibility&2?ee(t,e,l,n):Aa(t,e):i._visibility&2?ee(t,e,l,n):(i._visibility|=2,an(t,e,l,n,(e.subtreeFlags&10256)!==0||!1)),a&2048&&Mo(u,e);break;case 24:ee(t,e,l,n),a&2048&&To(e.alternate,e);break;default:ee(t,e,l,n)}}function an(t,e,l,n,a){for(a=a&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var i=t,u=e,c=l,f=n,r=u.flags;switch(u.tag){case 0:case 11:case 15:an(i,u,c,f,a),Ja(8,u);break;case 23:break;case 22:var y=u.stateNode;u.memoizedState!==null?y._visibility&2?an(i,u,c,f,a):Aa(i,u):(y._visibility|=2,an(i,u,c,f,a)),a&&r&2048&&Mo(u.alternate,u);break;case 24:an(i,u,c,f,a),a&&r&2048&&To(u.alternate,u);break;default:an(i,u,c,f,a)}e=e.sibling}}function Aa(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,n=e,a=n.flags;switch(n.tag){case 22:Aa(l,n),a&2048&&Mo(n.alternate,n);break;case 24:Aa(l,n),a&2048&&To(n.alternate,n);break;default:Aa(l,n)}e=e.sibling}}var ra=8192;function nn(t,e,l){if(t.subtreeFlags&ra)for(t=t.child;t!==null;)P0(t,e,l),t=t.sibling}function P0(t,e,l){switch(t.tag){case 26:nn(t,e,l),t.flags&ra&&t.memoizedState!==null&&qy(l,le,t.memoizedState,t.memoizedProps);break;case 5:nn(t,e,l);break;case 3:case 4:var n=le;le=ou(t.stateNode.containerInfo),nn(t,e,l),le=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=ra,ra=16777216,nn(t,e,l),ra=n):nn(t,e,l));break;default:nn(t,e,l)}}function td(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function aa(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];st=n,ld(n,t)}td(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ed(t),t=t.sibling}function ed(t){switch(t.tag){case 0:case 11:case 15:aa(t),t.flags&2048&&dl(9,t,t.return);break;case 3:aa(t);break;case 12:aa(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Ui(t)):aa(t);break;default:aa(t)}}function Ui(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];st=n,ld(n,t)}td(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:dl(8,e,e.return),Ui(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Ui(e));break;default:Ui(e)}t=t.sibling}}function ld(t,e){for(;st!==null;){var l=st;switch(l.tag){case 0:case 11:case 15:dl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Va(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,st=n;else t:for(l=t;st!==null;){n=st;var a=n.sibling,i=n.return;if(K0(n),n===l){st=null;break t}if(a!==null){a.return=i,st=a;break t}st=i}}}var ty={getCacheForType:function(t){var e=ht(ut),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return ht(ut).controller.signal}},ey=typeof WeakMap=="function"?WeakMap:Map,G=0,V=null,D=null,R=0,j=0,Dt=null,Ie=!1,jn=!1,zo=!1,He=0,et=0,ml=0,Nl=0,xo=0,Rt=0,Dn=0,Ea=null,xt=null,Tf=!1,Tu=0,nd=0,lu=1/0,nu=null,il=null,ft=0,ul=null,Hn=null,_e=0,zf=0,xf=null,ad=null,Ca=0,_f=null;function Gt(){return(G&2)!==0&&R!==0?R&-R:M.T!==null?Oo():m1()}function id(){if(Rt===0)if((R&536870912)===0||B){var t=fi;fi<<=1,(fi&3932160)===0&&(fi=262144),Rt=t}else Rt=536870912;return t=jt.current,t!==null&&(t.flags|=32),Rt}function _t(t,e,l){(t===V&&(j===2||j===9)||t.cancelPendingCommit!==null)&&(Un(t,0),Pe(t,R,Rt,!1)),Za(t,l),((G&2)===0||t!==V)&&(t===V&&((G&2)===0&&(Nl|=l),et===4&&Pe(t,R,Rt,!1)),me(t))}function ud(t,e,l){if((G&6)!==0)throw Error(p(327));var n=!l&&(e&127)===0&&(e&t.expiredLanes)===0||ja(t,e),a=n?ay(t,e):qc(t,e,!0),i=n;do{if(a===0){jn&&!n&&Pe(t,e,0,!1);break}else{if(l=t.current.alternate,i&&!ly(l)){a=qc(t,e,!1),i=!1;continue}if(a===2){if(i=e,t.errorRecoveryDisabledLanes&i)var u=0;else u=t.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){e=u;t:{var c=t;a=Ea;var f=c.current.memoizedState.isDehydrated;if(f&&(Un(c,u).flags|=256),u=qc(c,u,!1),u!==2){if(zo&&!f){c.errorRecoveryDisabledLanes|=i,Nl|=i,a=4;break t}i=xt,xt=a,i!==null&&(xt===null?xt=i:xt.push.apply(xt,i))}a=u}if(i=!1,a!==2)continue}}if(a===1){Un(t,0),Pe(t,e,0,!0);break}t:{switch(n=t,i=a,i){case 0:case 1:throw Error(p(345));case 4:if((e&4194048)!==e)break;case 6:Pe(n,e,Rt,!Ie);break t;case 2:xt=null;break;case 3:case 5:break;default:throw Error(p(329))}if((e&62914560)===e&&(a=Tu+300-Bt(),10<a)){if(Pe(n,e,Rt,!Ie),gu(n,0,!0)!==0)break t;_e=e,n.timeoutHandle=zd(Mr.bind(null,n,l,xt,nu,Tf,e,Rt,Nl,Dn,Ie,i,"Throttled",-0,0),a);break t}Mr(n,l,xt,nu,Tf,e,Rt,Nl,Dn,Ie,i,null,-0,0)}}break}while(!0);me(t)}function Mr(t,e,l,n,a,i,u,c,f,r,y,h,g,v){if(t.timeoutHandle=-1,h=e.subtreeFlags,h&8192||(h&16785408)===16785408){h={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Me},P0(e,i,h);var A=(i&62914560)===i?Tu-Bt():(i&4194048)===i?nd-Bt():0;if(A=Yy(h,A),A!==null){_e=i,t.cancelPendingCommit=A(zr.bind(null,t,e,i,l,n,a,u,c,f,y,h,null,g,v)),Pe(t,i,u,!r);return}}zr(t,e,i,l,n,a,u,c,f)}function ly(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var a=l[n],i=a.getSnapshot;a=a.value;try{if(!Xt(i(),a))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Pe(t,e,l,n){e&=~xo,e&=~Nl,t.suspendedLanes|=e,t.pingedLanes&=~e,n&&(t.warmLanes|=e),n=t.expirationTimes;for(var a=e;0<a;){var i=31-Yt(a),u=1<<i;n[i]=-1,a&=~u}l!==0&&s1(t,l,e)}function zu(){return(G&6)===0?(ka(0,!1),!1):!0}function _o(){if(D!==null){if(j===0)var t=D.return;else t=D,Te=jl=null,mo(t),Cn=null,Na=0,t=D;for(;t!==null;)G0(t.alternate,t),t=t.return;D=null}}function Un(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,by(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),_e=0,_o(),V=t,D=l=ze(t.current,null),R=e,j=0,Dt=null,Ie=!1,jn=ja(t,e),zo=!1,Dn=Rt=xo=Nl=ml=et=0,xt=Ea=null,Tf=!1,(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var a=31-Yt(n),i=1<<a;e|=t[a],n&=~i}return He=e,Su(),l}function cd(t,e){z=null,M.H=Ha,e===Xn||e===bu?(e=lr(),j=3):e===io?(e=lr(),j=4):j=e===Eo?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Dt=e,D===null&&(et=1,Pi(t,Ft(e,t.current)))}function fd(){var t=jt.current;return t===null?!0:(R&4194048)===R?It===null:(R&62914560)===R||(R&536870912)!==0?t===It:!1}function od(){var t=M.H;return M.H=Ha,t===null?Ha:t}function sd(){var t=M.A;return M.A=ty,t}function au(){et=4,Ie||(R&4194048)!==R&&jt.current!==null||(jn=!0),(ml&134217727)===0&&(Nl&134217727)===0||V===null||Pe(V,R,Rt,!1)}function qc(t,e,l){var n=G;G|=2;var a=od(),i=sd();(V!==t||R!==e)&&(nu=null,Un(t,e)),e=!1;var u=et;t:do try{if(j!==0&&D!==null){var c=D,f=Dt;switch(j){case 8:_o(),u=6;break t;case 3:case 2:case 9:case 6:jt.current===null&&(e=!0);var r=j;if(j=0,Dt=null,Sn(t,c,f,r),l&&jn){u=0;break t}break;default:r=j,j=0,Dt=null,Sn(t,c,f,r)}}ny(),u=et;break}catch(y){cd(t,y)}while(!0);return e&&t.shellSuspendCounter++,Te=jl=null,G=n,M.H=a,M.A=i,D===null&&(V=null,R=0,Su()),u}function ny(){for(;D!==null;)rd(D)}function ay(t,e){var l=G;G|=2;var n=od(),a=sd();V!==t||R!==e?(nu=null,lu=Bt()+500,Un(t,e)):jn=ja(t,e);t:do try{if(j!==0&&D!==null){e=D;var i=Dt;e:switch(j){case 1:j=0,Dt=null,Sn(t,e,i,1);break;case 2:case 9:if(er(i)){j=0,Dt=null,Tr(e);break}e=function(){j!==2&&j!==9||V!==t||(j=7),me(t)},i.then(e,e);break t;case 3:j=7;break t;case 4:j=5;break t;case 7:er(i)?(j=0,Dt=null,Tr(e)):(j=0,Dt=null,Sn(t,e,i,7));break;case 5:var u=null;switch(D.tag){case 26:u=D.memoizedState;case 5:case 27:var c=D;if(u?Nd(u):c.stateNode.complete){j=0,Dt=null;var f=c.sibling;if(f!==null)D=f;else{var r=c.return;r!==null?(D=r,xu(r)):D=null}break e}}j=0,Dt=null,Sn(t,e,i,5);break;case 6:j=0,Dt=null,Sn(t,e,i,6);break;case 8:_o(),et=6;break t;default:throw Error(p(462))}}iy();break}catch(y){cd(t,y)}while(!0);return Te=jl=null,M.H=n,M.A=a,G=l,D!==null?0:(V=null,R=0,Su(),et)}function iy(){for(;D!==null&&!_m();)rd(D)}function rd(t){var e=Y0(t.alternate,t,He);t.memoizedProps=t.pendingProps,e===null?xu(t):D=e}function Tr(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=Sr(l,e,e.pendingProps,e.type,void 0,R);break;case 11:e=Sr(l,e,e.pendingProps,e.type.render,e.ref,R);break;case 5:mo(e);default:G0(l,e),e=D=G1(e,He),e=Y0(l,e,He)}t.memoizedProps=t.pendingProps,e===null?xu(t):D=e}function Sn(t,e,l,n){Te=jl=null,mo(e),Cn=null,Na=0;var a=e.return;try{if(Jg(t,a,e,l,R)){et=1,Pi(t,Ft(l,t.current)),D=null;return}}catch(i){if(a!==null)throw D=a,i;et=1,Pi(t,Ft(l,t.current)),D=null;return}e.flags&32768?(B||n===1?t=!0:jn||(R&536870912)!==0?t=!1:(Ie=t=!0,(n===2||n===9||n===3||n===6)&&(n=jt.current,n!==null&&n.tag===13&&(n.flags|=16384))),dd(e,t)):xu(e)}function xu(t){var e=t;do{if((e.flags&32768)!==0){dd(e,Ie);return}t=e.return;var l=Fg(e.alternate,e,He);if(l!==null){D=l;return}if(e=e.sibling,e!==null){D=e;return}D=e=t}while(e!==null);et===0&&(et=5)}function dd(t,e){do{var l=$g(t.alternate,t);if(l!==null){l.flags&=32767,D=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){D=t;return}D=t=l}while(t!==null);et=6,D=null}function zr(t,e,l,n,a,i,u,c,f){t.cancelPendingCommit=null;do _u();while(ft!==0);if((G&6)!==0)throw Error(p(327));if(e!==null){if(e===t.current)throw Error(p(177));if(i=e.lanes|e.childLanes,i|=If,Ym(t,l,i,u,c,f),t===V&&(D=V=null,R=0),Hn=e,ul=t,_e=l,zf=i,xf=a,ad=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,oy(Zi,function(){return hd(),null})):(t.callbackNode=null,t.callbackPriority=0),n=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||n){n=M.T,M.T=null,a=X.p,X.p=2,u=G,G|=4;try{Ig(t,e,l)}finally{G=u,X.p=a,M.T=n}}ft=1,md(),gd(),yd()}}function md(){if(ft===1){ft=0;var t=ul,e=Hn,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=M.T,M.T=null;var n=X.p;X.p=2;var a=G;G|=4;try{F0(e,t);var i=Df,u=N1(t.containerInfo),c=i.focusedElem,f=i.selectionRange;if(u!==c&&c&&c.ownerDocument&&L1(c.ownerDocument.documentElement,c)){if(f!==null&&$f(c)){var r=f.start,y=f.end;if(y===void 0&&(y=r),"selectionStart"in c)c.selectionStart=r,c.selectionEnd=Math.min(y,c.value.length);else{var h=c.ownerDocument||document,g=h&&h.defaultView||window;if(g.getSelection){var v=g.getSelection(),A=c.textContent.length,C=Math.min(f.start,A),L=f.end===void 0?C:Math.min(f.end,A);!v.extend&&C>L&&(u=L,L=C,C=u);var s=ks(c,C),o=ks(c,L);if(s&&o&&(v.rangeCount!==1||v.anchorNode!==s.node||v.anchorOffset!==s.offset||v.focusNode!==o.node||v.focusOffset!==o.offset)){var d=h.createRange();d.setStart(s.node,s.offset),v.removeAllRanges(),C>L?(v.addRange(d),v.extend(o.node,o.offset)):(d.setEnd(o.node,o.offset),v.addRange(d))}}}}for(h=[],v=c;v=v.parentNode;)v.nodeType===1&&h.push({element:v,left:v.scrollLeft,top:v.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<h.length;c++){var S=h[c];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}du=!!Nf,Df=Nf=null}finally{G=a,X.p=n,M.T=l}}t.current=e,ft=2}}function gd(){if(ft===2){ft=0;var t=ul,e=Hn,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=M.T,M.T=null;var n=X.p;X.p=2;var a=G;G|=4;try{V0(t,e.alternate,e)}finally{G=a,X.p=n,M.T=l}}ft=3}}function yd(){if(ft===4||ft===3){ft=0,Om();var t=ul,e=Hn,l=_e,n=ad;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ft=5:(ft=0,Hn=ul=null,vd(t,t.pendingLanes));var a=t.pendingLanes;if(a===0&&(il=null),wf(l),e=e.stateNode,qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(Xa,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=M.T,a=X.p,X.p=2,M.T=null;try{for(var i=t.onRecoverableError,u=0;u<n.length;u++){var c=n[u];i(c.value,{componentStack:c.stack})}}finally{M.T=e,X.p=a}}(_e&3)!==0&&_u(),me(t),a=t.pendingLanes,(l&261930)!==0&&(a&42)!==0?t===_f?Ca++:(Ca=0,_f=t):Ca=0,ka(0,!1)}}function vd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Va(e)))}function _u(){return md(),gd(),yd(),hd()}function hd(){if(ft!==5)return!1;var t=ul,e=zf;zf=0;var l=wf(_e),n=M.T,a=X.p;try{X.p=32>l?32:l,M.T=null,l=xf,xf=null;var i=ul,u=_e;if(ft=0,Hn=ul=null,_e=0,(G&6)!==0)throw Error(p(331));var c=G;if(G|=4,ed(i.current),I0(i,i.current,u,l),G=c,ka(0,!1),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(Xa,i)}catch{}return!0}finally{X.p=a,M.T=n,vd(t,e)}}function xr(t,e,l){e=Ft(l,e),e=Af(t.stateNode,e,2),t=al(t,e,2),t!==null&&(Za(t,2),me(t))}function Z(t,e,l){if(t.tag===3)xr(t,t,l);else for(;e!==null;){if(e.tag===3){xr(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(il===null||!il.has(n))){t=Ft(l,t),l=D0(2),n=al(e,l,2),n!==null&&(H0(l,n,e,t),Za(n,2),me(n));break}}e=e.return}}function Yc(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new ey;var a=new Set;n.set(e,a)}else a=n.get(e),a===void 0&&(a=new Set,n.set(e,a));a.has(l)||(zo=!0,a.add(l),t=uy.bind(null,t,e,l),e.then(t,t))}function uy(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,V===t&&(R&l)===l&&(et===4||et===3&&(R&62914560)===R&&300>Bt()-Tu?(G&2)===0&&Un(t,0):xo|=l,Dn===R&&(Dn=0)),me(t)}function Sd(t,e){e===0&&(e=o1()),t=Xl(t,e),t!==null&&(Za(t,e),me(t))}function cy(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Sd(t,l)}function fy(t,e){var l=0;switch(t.tag){case 31:case 13:var n=t.stateNode,a=t.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(p(314))}n!==null&&n.delete(e),Sd(t,l)}function oy(t,e){return Zf(t,e)}var iu=null,un=null,Of=!1,uu=!1,Gc=!1,tl=0;function me(t){t!==un&&t.next===null&&(un===null?iu=un=t:un=un.next=t),uu=!0,Of||(Of=!0,ry())}function ka(t,e){if(!Gc&&uu){Gc=!0;do for(var l=!1,n=iu;n!==null;){if(!e)if(t!==0){var a=n.pendingLanes;if(a===0)var i=0;else{var u=n.suspendedLanes,c=n.pingedLanes;i=(1<<31-Yt(42|t)+1)-1,i&=a&~(u&~c),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,_r(n,i))}else i=R,i=gu(n,n===V?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||ja(n,i)||(l=!0,_r(n,i));n=n.next}while(l);Gc=!1}}function sy(){pd()}function pd(){uu=Of=!1;var t=0;tl!==0&&py()&&(t=tl);for(var e=Bt(),l=null,n=iu;n!==null;){var a=n.next,i=bd(n,e);i===0?(n.next=null,l===null?iu=a:l.next=a,a===null&&(un=l)):(l=n,(t!==0||(i&3)!==0)&&(uu=!0)),n=a}ft!==0&&ft!==5||ka(t,!1),tl!==0&&(tl=0)}function bd(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,a=t.expirationTimes,i=t.pendingLanes&-62914561;0<i;){var u=31-Yt(i),c=1<<u,f=a[u];f===-1?((c&l)===0||(c&n)!==0)&&(a[u]=qm(c,e)):f<=e&&(t.expiredLanes|=c),i&=~c}if(e=V,l=R,l=gu(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n=t.callbackNode,l===0||t===e&&(j===2||j===9)||t.cancelPendingCommit!==null)return n!==null&&n!==null&&gc(n),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||ja(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(n!==null&&gc(n),wf(l)){case 2:case 8:l=c1;break;case 32:l=Zi;break;case 268435456:l=f1;break;default:l=Zi}return n=Ad.bind(null,t),l=Zf(l,n),t.callbackPriority=e,t.callbackNode=l,e}return n!==null&&n!==null&&gc(n),t.callbackPriority=2,t.callbackNode=null,2}function Ad(t,e){if(ft!==0&&ft!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(_u()&&t.callbackNode!==l)return null;var n=R;return n=gu(t,t===V?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(ud(t,n,e),bd(t,Bt()),t.callbackNode!=null&&t.callbackNode===l?Ad.bind(null,t):null)}function _r(t,e){if(_u())return null;ud(t,e,!0)}function ry(){Ay(function(){(G&6)!==0?Zf(u1,sy):pd()})}function Oo(){if(tl===0){var t=On;t===0&&(t=ci,ci<<=1,(ci&261888)===0&&(ci=256)),tl=t}return tl}function Or(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ti(""+t)}function Lr(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function dy(t,e,l,n,a){if(e==="submit"&&l&&l.stateNode===a){var i=Or((a[Ot]||null).action),u=n.submitter;u&&(e=(e=u[Ot]||null)?Or(e.formAction):u.getAttribute("formAction"),e!==null&&(i=e,u=null));var c=new yu("action","action",null,n,a);t.push({event:c,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(tl!==0){var f=u?Lr(a,u):new FormData(a);pf(l,{pending:!0,data:f,method:a.method,action:i},null,f)}}else typeof i=="function"&&(c.preventDefault(),f=u?Lr(a,u):new FormData(a),pf(l,{pending:!0,data:f,method:a.method,action:i},i,f))},currentTarget:a}]})}}for(pi=0;pi<cf.length;pi++)bi=cf[pi],Nr=bi.toLowerCase(),Dr=bi[0].toUpperCase()+bi.slice(1),ne(Nr,"on"+Dr);var bi,Nr,Dr,pi;ne(H1,"onAnimationEnd");ne(U1,"onAnimationIteration");ne(R1,"onAnimationStart");ne("dblclick","onDoubleClick");ne("focusin","onFocus");ne("focusout","onBlur");ne(Lg,"onTransitionRun");ne(Ng,"onTransitionStart");ne(Dg,"onTransitionCancel");ne(B1,"onTransitionEnd");xn("onMouseEnter",["mouseout","mouseover"]);xn("onMouseLeave",["mouseout","mouseover"]);xn("onPointerEnter",["pointerout","pointerover"]);xn("onPointerLeave",["pointerout","pointerover"]);ql("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ql("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ql("onBeforeInput",["compositionend","keypress","textInput","paste"]);ql("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ql("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ql("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ua="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(" "),my=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ua));function Ed(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var n=t[l],a=n.event;n=n.listeners;t:{var i=void 0;if(e)for(var u=n.length-1;0<=u;u--){var c=n[u],f=c.instance,r=c.currentTarget;if(c=c.listener,f!==i&&a.isPropagationStopped())break t;i=c,a.currentTarget=r;try{i(a)}catch(y){wi(y)}a.currentTarget=null,i=f}else for(u=0;u<n.length;u++){if(c=n[u],f=c.instance,r=c.currentTarget,c=c.listener,f!==i&&a.isPropagationStopped())break t;i=c,a.currentTarget=r;try{i(a)}catch(y){wi(y)}a.currentTarget=null,i=f}}}}function N(t,e){var l=e[Ic];l===void 0&&(l=e[Ic]=new Set);var n=t+"__bubble";l.has(n)||(Cd(e,t,2,!1),l.add(n))}function Xc(t,e,l){var n=0;e&&(n|=4),Cd(l,t,n,e)}var Ai="_reactListening"+Math.random().toString(36).slice(2);function Lo(t){if(!t[Ai]){t[Ai]=!0,g1.forEach(function(l){l!=="selectionchange"&&(my.has(l)||Xc(l,!1,t),Xc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ai]||(e[Ai]=!0,Xc("selectionchange",!1,e))}}function Cd(t,e,l,n){switch(Bd(e)){case 2:var a=jy;break;case 8:a=Zy;break;default:a=Uo}l=a.bind(null,e,l,t),a=void 0,!nf||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),n?a!==void 0?t.addEventListener(e,l,{capture:!0,passive:a}):t.addEventListener(e,l,!0):a!==void 0?t.addEventListener(e,l,{passive:a}):t.addEventListener(e,l,!1)}function jc(t,e,l,n,a){var i=n;if((e&1)===0&&(e&2)===0&&n!==null)t:for(;;){if(n===null)return;var u=n.tag;if(u===3||u===4){var c=n.stateNode.containerInfo;if(c===a)break;if(u===4)for(u=n.return;u!==null;){var f=u.tag;if((f===3||f===4)&&u.stateNode.containerInfo===a)return;u=u.return}for(;c!==null;){if(u=on(c),u===null)return;if(f=u.tag,f===5||f===6||f===26||f===27){n=i=u;continue t}c=c.parentNode}}n=n.return}E1(function(){var r=i,y=Jf(l),h=[];t:{var g=q1.get(t);if(g!==void 0){var v=yu,A=t;switch(t){case"keypress":if(xi(l)===0)break t;case"keydown":case"keyup":v=fg;break;case"focusin":A="focus",v=pc;break;case"focusout":A="blur",v=pc;break;case"beforeblur":case"afterblur":v=pc;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=Gs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Fm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=rg;break;case H1:case U1:case R1:v=Pm;break;case B1:v=mg;break;case"scroll":case"scrollend":v=km;break;case"wheel":v=yg;break;case"copy":case"cut":case"paste":v=eg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=js;break;case"toggle":case"beforetoggle":v=hg}var C=(e&4)!==0,L=!C&&(t==="scroll"||t==="scrollend"),s=C?g!==null?g+"Capture":null:g;C=[];for(var o=r,d;o!==null;){var S=o;if(d=S.stateNode,S=S.tag,S!==5&&S!==26&&S!==27||d===null||s===null||(S=za(o,s),S!=null&&C.push(Ra(o,S,d))),L)break;o=o.return}0<C.length&&(g=new v(g,A,null,l,y),h.push({event:g,listeners:C}))}}if((e&7)===0){t:{if(g=t==="mouseover"||t==="pointerover",v=t==="mouseout"||t==="pointerout",g&&l!==lf&&(A=l.relatedTarget||l.fromElement)&&(on(A)||A[qn]))break t;if((v||g)&&(g=y.window===y?y:(g=y.ownerDocument)?g.defaultView||g.parentWindow:window,v?(A=l.relatedTarget||l.toElement,v=r,A=A?on(A):null,A!==null&&(L=Ga(A),C=A.tag,A!==L||C!==5&&C!==27&&C!==6)&&(A=null)):(v=null,A=r),v!==A)){if(C=Gs,S="onMouseLeave",s="onMouseEnter",o="mouse",(t==="pointerout"||t==="pointerover")&&(C=js,S="onPointerLeave",s="onPointerEnter",o="pointer"),L=v==null?g:oa(v),d=A==null?g:oa(A),g=new C(S,o+"leave",v,l,y),g.target=L,g.relatedTarget=d,S=null,on(y)===r&&(C=new C(s,o+"enter",A,l,y),C.target=d,C.relatedTarget=L,S=C),L=S,v&&A)e:{for(C=gy,s=v,o=A,d=0,S=s;S;S=C(S))d++;S=0;for(var b=o;b;b=C(b))S++;for(;0<d-S;)s=C(s),d--;for(;0<S-d;)o=C(o),S--;for(;d--;){if(s===o||o!==null&&s===o.alternate){C=s;break e}s=C(s),o=C(o)}C=null}else C=null;v!==null&&Hr(h,g,v,C,!1),A!==null&&L!==null&&Hr(h,L,A,C,!0)}}t:{if(g=r?oa(r):window,v=g.nodeName&&g.nodeName.toLowerCase(),v==="select"||v==="input"&&g.type==="file")var H=Vs;else if(ws(g))if(_1)H=xg;else{H=Tg;var E=Mg}else v=g.nodeName,!v||v.toLowerCase()!=="input"||g.type!=="checkbox"&&g.type!=="radio"?r&&Kf(r.elementType)&&(H=Vs):H=zg;if(H&&(H=H(t,r))){x1(h,H,l,y);break t}E&&E(t,g,r),t==="focusout"&&r&&g.type==="number"&&r.memoizedProps.value!=null&&ef(g,"number",g.value)}switch(E=r?oa(r):window,t){case"focusin":(ws(E)||E.contentEditable==="true")&&(dn=E,af=r,ga=null);break;case"focusout":ga=af=dn=null;break;case"mousedown":uf=!0;break;case"contextmenu":case"mouseup":case"dragend":uf=!1,Ws(h,l,y);break;case"selectionchange":if(Og)break;case"keydown":case"keyup":Ws(h,l,y)}var x;if(Ff)t:{switch(t){case"compositionstart":var U="onCompositionStart";break t;case"compositionend":U="onCompositionEnd";break t;case"compositionupdate":U="onCompositionUpdate";break t}U=void 0}else rn?T1(t,l)&&(U="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(U="onCompositionStart");U&&(M1&&l.locale!=="ko"&&(rn||U!=="onCompositionStart"?U==="onCompositionEnd"&&rn&&(x=C1()):($e=y,kf="value"in $e?$e.value:$e.textContent,rn=!0)),E=cu(r,U),0<E.length&&(U=new Xs(U,t,null,l,y),h.push({event:U,listeners:E}),x?U.data=x:(x=z1(l),x!==null&&(U.data=x)))),(x=pg?bg(t,l):Ag(t,l))&&(U=cu(r,"onBeforeInput"),0<U.length&&(E=new Xs("onBeforeInput","beforeinput",null,l,y),h.push({event:E,listeners:U}),E.data=x)),dy(h,t,r,l,y)}Ed(h,e)})}function Ra(t,e,l){return{instance:t,listener:e,currentTarget:l}}function cu(t,e){for(var l=e+"Capture",n=[];t!==null;){var a=t,i=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||i===null||(a=za(t,l),a!=null&&n.unshift(Ra(t,a,i)),a=za(t,e),a!=null&&n.push(Ra(t,a,i))),t.tag===3)return n;t=t.return}return[]}function gy(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Hr(t,e,l,n,a){for(var i=e._reactName,u=[];l!==null&&l!==n;){var c=l,f=c.alternate,r=c.stateNode;if(c=c.tag,f!==null&&f===n)break;c!==5&&c!==26&&c!==27||r===null||(f=r,a?(r=za(l,i),r!=null&&u.unshift(Ra(l,r,f))):a||(r=za(l,i),r!=null&&u.push(Ra(l,r,f)))),l=l.return}u.length!==0&&t.push({event:e,listeners:u})}var yy=/\r\n?/g,vy=/\u0000|\uFFFD/g;function Ur(t){return(typeof t=="string"?t:""+t).replace(yy,`
|
|
9
|
-
`).replace(vy,"")}function Md(t,e){return e=Ur(e),Ur(t)===e}function Q(t,e,l,n,a,i){switch(l){case"children":typeof n=="string"?e==="body"||e==="textarea"&&n===""||_n(t,n):(typeof n=="number"||typeof n=="bigint")&&e!=="body"&&_n(t,""+n);break;case"className":si(t,"class",n);break;case"tabIndex":si(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":si(t,l,n);break;case"style":A1(t,n,i);break;case"data":if(e!=="object"){si(t,"data",n);break}case"src":case"href":if(n===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=Ti(""+n),t.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(l==="formAction"?(e!=="input"&&Q(t,e,"name",a.name,a,null),Q(t,e,"formEncType",a.formEncType,a,null),Q(t,e,"formMethod",a.formMethod,a,null),Q(t,e,"formTarget",a.formTarget,a,null)):(Q(t,e,"encType",a.encType,a,null),Q(t,e,"method",a.method,a,null),Q(t,e,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=Ti(""+n),t.setAttribute(l,n);break;case"onClick":n!=null&&(t.onclick=Me);break;case"onScroll":n!=null&&N("scroll",t);break;case"onScrollEnd":n!=null&&N("scrollend",t);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(p(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(p(60));t.innerHTML=l}}break;case"multiple":t.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":t.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){t.removeAttribute("xlink:href");break}l=Ti(""+n),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""+n):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":n===!0?t.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,n):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?t.setAttribute(l,n):t.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?t.removeAttribute(l):t.setAttribute(l,n);break;case"popover":N("beforetoggle",t),N("toggle",t),Mi(t,"popover",n);break;case"xlinkActuate":ve(t,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":ve(t,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":ve(t,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":ve(t,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":ve(t,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":ve(t,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":ve(t,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":ve(t,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":ve(t,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Mi(t,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Km.get(l)||l,Mi(t,l,n))}}function Lf(t,e,l,n,a,i){switch(l){case"style":A1(t,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(p(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(p(60));t.innerHTML=l}}break;case"children":typeof n=="string"?_n(t,n):(typeof n=="number"||typeof n=="bigint")&&_n(t,""+n);break;case"onScroll":n!=null&&N("scroll",t);break;case"onScrollEnd":n!=null&&N("scrollend",t);break;case"onClick":n!=null&&(t.onclick=Me);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!y1.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),e=l.slice(2,a?l.length-7:void 0),i=t[Ot]||null,i=i!=null?i[l]:null,typeof i=="function"&&t.removeEventListener(e,i,a),typeof n=="function")){typeof i!="function"&&i!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,n,a);break t}l in t?t[l]=n:n===!0?t.setAttribute(l,""):Mi(t,l,n)}}}function St(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":N("error",t),N("load",t);var n=!1,a=!1,i;for(i in l)if(l.hasOwnProperty(i)){var u=l[i];if(u!=null)switch(i){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(p(137,e));default:Q(t,e,i,u,l,null)}}a&&Q(t,e,"srcSet",l.srcSet,l,null),n&&Q(t,e,"src",l.src,l,null);return;case"input":N("invalid",t);var c=i=u=a=null,f=null,r=null;for(n in l)if(l.hasOwnProperty(n)){var y=l[n];if(y!=null)switch(n){case"name":a=y;break;case"type":u=y;break;case"checked":f=y;break;case"defaultChecked":r=y;break;case"value":i=y;break;case"defaultValue":c=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(p(137,e));break;default:Q(t,e,n,y,l,null)}}S1(t,i,c,f,r,u,a,!1);return;case"select":N("invalid",t),n=u=i=null;for(a in l)if(l.hasOwnProperty(a)&&(c=l[a],c!=null))switch(a){case"value":i=c;break;case"defaultValue":u=c;break;case"multiple":n=c;default:Q(t,e,a,c,l,null)}e=i,l=u,t.multiple=!!n,e!=null?bn(t,!!n,e,!1):l!=null&&bn(t,!!n,l,!0);return;case"textarea":N("invalid",t),i=a=n=null;for(u in l)if(l.hasOwnProperty(u)&&(c=l[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":a=c;break;case"children":i=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(p(91));break;default:Q(t,e,u,c,l,null)}b1(t,n,a,i);return;case"option":for(f in l)l.hasOwnProperty(f)&&(n=l[f],n!=null)&&(f==="selected"?t.selected=n&&typeof n!="function"&&typeof n!="symbol":Q(t,e,f,n,l,null));return;case"dialog":N("beforetoggle",t),N("toggle",t),N("cancel",t),N("close",t);break;case"iframe":case"object":N("load",t);break;case"video":case"audio":for(n=0;n<Ua.length;n++)N(Ua[n],t);break;case"image":N("error",t),N("load",t);break;case"details":N("toggle",t);break;case"embed":case"source":case"link":N("error",t),N("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(r in l)if(l.hasOwnProperty(r)&&(n=l[r],n!=null))switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(p(137,e));default:Q(t,e,r,n,l,null)}return;default:if(Kf(e)){for(y in l)l.hasOwnProperty(y)&&(n=l[y],n!==void 0&&Lf(t,e,y,n,l,void 0));return}}for(c in l)l.hasOwnProperty(c)&&(n=l[c],n!=null&&Q(t,e,c,n,l,null))}function hy(t,e,l,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,u=null,c=null,f=null,r=null,y=null;for(v in l){var h=l[v];if(l.hasOwnProperty(v)&&h!=null)switch(v){case"checked":break;case"value":break;case"defaultValue":f=h;default:n.hasOwnProperty(v)||Q(t,e,v,null,n,h)}}for(var g in n){var v=n[g];if(h=l[g],n.hasOwnProperty(g)&&(v!=null||h!=null))switch(g){case"type":i=v;break;case"name":a=v;break;case"checked":r=v;break;case"defaultChecked":y=v;break;case"value":u=v;break;case"defaultValue":c=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(p(137,e));break;default:v!==h&&Q(t,e,g,v,n,h)}}tf(t,u,c,f,r,y,i,a);return;case"select":v=u=c=g=null;for(i in l)if(f=l[i],l.hasOwnProperty(i)&&f!=null)switch(i){case"value":break;case"multiple":v=f;default:n.hasOwnProperty(i)||Q(t,e,i,null,n,f)}for(a in n)if(i=n[a],f=l[a],n.hasOwnProperty(a)&&(i!=null||f!=null))switch(a){case"value":g=i;break;case"defaultValue":c=i;break;case"multiple":u=i;default:i!==f&&Q(t,e,a,i,n,f)}e=c,l=u,n=v,g!=null?bn(t,!!l,g,!1):!!n!=!!l&&(e!=null?bn(t,!!l,e,!0):bn(t,!!l,l?[]:"",!1));return;case"textarea":v=g=null;for(c in l)if(a=l[c],l.hasOwnProperty(c)&&a!=null&&!n.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:Q(t,e,c,null,n,a)}for(u in n)if(a=n[u],i=l[u],n.hasOwnProperty(u)&&(a!=null||i!=null))switch(u){case"value":g=a;break;case"defaultValue":v=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(p(91));break;default:a!==i&&Q(t,e,u,a,n,i)}p1(t,g,v);return;case"option":for(var A in l)g=l[A],l.hasOwnProperty(A)&&g!=null&&!n.hasOwnProperty(A)&&(A==="selected"?t.selected=!1:Q(t,e,A,null,n,g));for(f in n)g=n[f],v=l[f],n.hasOwnProperty(f)&&g!==v&&(g!=null||v!=null)&&(f==="selected"?t.selected=g&&typeof g!="function"&&typeof g!="symbol":Q(t,e,f,g,n,v));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var C in l)g=l[C],l.hasOwnProperty(C)&&g!=null&&!n.hasOwnProperty(C)&&Q(t,e,C,null,n,g);for(r in n)if(g=n[r],v=l[r],n.hasOwnProperty(r)&&g!==v&&(g!=null||v!=null))switch(r){case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(p(137,e));break;default:Q(t,e,r,g,n,v)}return;default:if(Kf(e)){for(var L in l)g=l[L],l.hasOwnProperty(L)&&g!==void 0&&!n.hasOwnProperty(L)&&Lf(t,e,L,void 0,n,g);for(y in n)g=n[y],v=l[y],!n.hasOwnProperty(y)||g===v||g===void 0&&v===void 0||Lf(t,e,y,g,n,v);return}}for(var s in l)g=l[s],l.hasOwnProperty(s)&&g!=null&&!n.hasOwnProperty(s)&&Q(t,e,s,null,n,g);for(h in n)g=n[h],v=l[h],!n.hasOwnProperty(h)||g===v||g==null&&v==null||Q(t,e,h,g,n,v)}function Rr(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Sy(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],i=a.transferSize,u=a.initiatorType,c=a.duration;if(i&&c&&Rr(u)){for(u=0,c=a.responseEnd,n+=1;n<l.length;n++){var f=l[n],r=f.startTime;if(r>c)break;var y=f.transferSize,h=f.initiatorType;y&&Rr(h)&&(f=f.responseEnd,u+=y*(f<c?1:(c-r)/(f-r)))}if(--n,e+=8*(i+u)/(a.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Nf=null,Df=null;function fu(t){return t.nodeType===9?t:t.ownerDocument}function Br(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Td(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Hf(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Zc=null;function py(){var t=window.event;return t&&t.type==="popstate"?t===Zc?!1:(Zc=t,!0):(Zc=null,!1)}var zd=typeof setTimeout=="function"?setTimeout:void 0,by=typeof clearTimeout=="function"?clearTimeout:void 0,qr=typeof Promise=="function"?Promise:void 0,Ay=typeof queueMicrotask=="function"?queueMicrotask:typeof qr<"u"?function(t){return qr.resolve(null).then(t).catch(Ey)}:zd;function Ey(t){setTimeout(function(){throw t})}function yl(t){return t==="head"}function Yr(t,e){var l=e,n=0;do{var a=l.nextSibling;if(t.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){t.removeChild(a),Bn(e);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")Ma(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Ma(l);for(var i=l.firstChild;i;){var u=i.nextSibling,c=i.nodeName;i[Qa]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=u}}else l==="body"&&Ma(t.ownerDocument.body);l=a}while(l);Bn(e)}function Gr(t,e){var l=t;t=0;do{var n=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=n}while(l)}function Uf(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Uf(l),Vf(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function Cy(t,e,l,n){for(;t.nodeType===1;){var a=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!n&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(n){if(!t[Qa])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(i=t.getAttribute("rel"),i==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(i!==a.rel||t.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||t.getAttribute("title")!==(a.title==null?null:a.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(i=t.getAttribute("src"),(i!==(a.src==null?null:a.src)||t.getAttribute("type")!==(a.type==null?null:a.type)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&i&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var i=a.name==null?null:""+a.name;if(a.type==="hidden"&&t.getAttribute("name")===i)return t}else return t;if(t=Pt(t.nextSibling),t===null)break}return null}function My(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Pt(t.nextSibling),t===null))return null;return t}function xd(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Pt(t.nextSibling),t===null))return null;return t}function Rf(t){return t.data==="$?"||t.data==="$~"}function Bf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Ty(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var n=function(){e(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}function Pt(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var qf=null;function Xr(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return Pt(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function jr(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function _d(t,e,l){switch(e=fu(l),t){case"html":if(t=e.documentElement,!t)throw Error(p(452));return t;case"head":if(t=e.head,!t)throw Error(p(453));return t;case"body":if(t=e.body,!t)throw Error(p(454));return t;default:throw Error(p(451))}}function Ma(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Vf(t)}var te=new Map,Zr=new Set;function ou(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Ue=X.d;X.d={f:zy,r:xy,D:_y,C:Oy,L:Ly,m:Ny,X:Hy,S:Dy,M:Uy};function zy(){var t=Ue.f(),e=zu();return t||e}function xy(t){var e=Yn(t);e!==null&&e.tag===5&&e.type==="form"?A0(e):Ue.r(t)}var Zn=typeof document>"u"?null:document;function Od(t,e,l){var n=Zn;if(n&&typeof e=="string"&&e){var a=Wt(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),Zr.has(a)||(Zr.add(a),t={rel:t,crossOrigin:l,href:e},n.querySelector(a)===null&&(e=n.createElement("link"),St(e,"link",t),rt(e),n.head.appendChild(e)))}}function _y(t){Ue.D(t),Od("dns-prefetch",t,null)}function Oy(t,e){Ue.C(t,e),Od("preconnect",t,e)}function Ly(t,e,l){Ue.L(t,e,l);var n=Zn;if(n&&t&&e){var a='link[rel="preload"][as="'+Wt(e)+'"]';e==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+Wt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+Wt(l.imageSizes)+'"]')):a+='[href="'+Wt(t)+'"]';var i=a;switch(e){case"style":i=Rn(t);break;case"script":i=Qn(t)}te.has(i)||(t=F({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),te.set(i,t),n.querySelector(a)!==null||e==="style"&&n.querySelector(Wa(i))||e==="script"&&n.querySelector(Fa(i))||(e=n.createElement("link"),St(e,"link",t),rt(e),n.head.appendChild(e)))}}function Ny(t,e){Ue.m(t,e);var l=Zn;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+Wt(n)+'"][href="'+Wt(t)+'"]',i=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Qn(t)}if(!te.has(i)&&(t=F({rel:"modulepreload",href:t},e),te.set(i,t),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Fa(i)))return}n=l.createElement("link"),St(n,"link",t),rt(n),l.head.appendChild(n)}}}function Dy(t,e,l){Ue.S(t,e,l);var n=Zn;if(n&&t){var a=pn(n).hoistableStyles,i=Rn(t);e=e||"default";var u=a.get(i);if(!u){var c={loading:0,preload:null};if(u=n.querySelector(Wa(i)))c.loading=5;else{t=F({rel:"stylesheet",href:t,"data-precedence":e},l),(l=te.get(i))&&No(t,l);var f=u=n.createElement("link");rt(f),St(f,"link",t),f._p=new Promise(function(r,y){f.onload=r,f.onerror=y}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Ri(u,e,n)}u={type:"stylesheet",instance:u,count:1,state:c},a.set(i,u)}}}function Hy(t,e){Ue.X(t,e);var l=Zn;if(l&&t){var n=pn(l).hoistableScripts,a=Qn(t),i=n.get(a);i||(i=l.querySelector(Fa(a)),i||(t=F({src:t,async:!0},e),(e=te.get(a))&&Do(t,e),i=l.createElement("script"),rt(i),St(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function Uy(t,e){Ue.M(t,e);var l=Zn;if(l&&t){var n=pn(l).hoistableScripts,a=Qn(t),i=n.get(a);i||(i=l.querySelector(Fa(a)),i||(t=F({src:t,async:!0,type:"module"},e),(e=te.get(a))&&Do(t,e),i=l.createElement("script"),rt(i),St(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function Qr(t,e,l,n){var a=(a=el.current)?ou(a):null;if(!a)throw Error(p(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Rn(l.href),l=pn(a).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Rn(l.href);var i=pn(a).hoistableStyles,u=i.get(t);if(u||(a=a.ownerDocument||a,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(t,u),(i=a.querySelector(Wa(t)))&&!i._p&&(u.instance=i,u.state.loading=5),te.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},te.set(t,l),i||Ry(a,t,l,u.state))),e&&n===null)throw Error(p(528,""));return u}if(e&&n!==null)throw Error(p(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Qn(l),l=pn(a).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(p(444,t))}}function Rn(t){return'href="'+Wt(t)+'"'}function Wa(t){return'link[rel="stylesheet"]['+t+"]"}function Ld(t){return F({},t,{"data-precedence":t.precedence,precedence:null})}function Ry(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),St(e,"link",l),rt(e),t.head.appendChild(e))}function Qn(t){return'[src="'+Wt(t)+'"]'}function Fa(t){return"script[async]"+t}function wr(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+Wt(l.href)+'"]');if(n)return e.instance=n,rt(n),n;var a=F({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),rt(n),St(n,"style",a),Ri(n,l.precedence,t),e.instance=n;case"stylesheet":a=Rn(l.href);var i=t.querySelector(Wa(a));if(i)return e.state.loading|=4,e.instance=i,rt(i),i;n=Ld(l),(a=te.get(a))&&No(n,a),i=(t.ownerDocument||t).createElement("link"),rt(i);var u=i;return u._p=new Promise(function(c,f){u.onload=c,u.onerror=f}),St(i,"link",n),e.state.loading|=4,Ri(i,l.precedence,t),e.instance=i;case"script":return i=Qn(l.src),(a=t.querySelector(Fa(i)))?(e.instance=a,rt(a),a):(n=l,(a=te.get(i))&&(n=F({},l),Do(n,a)),t=t.ownerDocument||t,a=t.createElement("script"),rt(a),St(a,"link",n),t.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(p(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,Ri(n,l.precedence,t));return e.instance}function Ri(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,i=a,u=0;u<n.length;u++){var c=n[u];if(c.dataset.precedence===e)i=c;else if(i!==a)break}i?i.parentNode.insertBefore(t,i.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function No(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Do(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Bi=null;function Vr(t,e,l){if(Bi===null){var n=new Map,a=Bi=new Map;a.set(l,n)}else a=Bi,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(t))return n;for(n.set(t,null),l=l.getElementsByTagName(t),a=0;a<l.length;a++){var i=l[a];if(!(i[Qa]||i[yt]||t==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var u=i.getAttribute(e)||"";u=t+u;var c=n.get(u);c?c.push(i):n.set(u,[i])}}return n}function Kr(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function By(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Nd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function qy(t,e,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=Rn(n.href),i=e.querySelector(Wa(a));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=su.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=i,rt(i);return}i=e.ownerDocument||e,n=Ld(n),(a=te.get(a))&&No(n,a),i=i.createElement("link"),rt(i);var u=i;u._p=new Promise(function(c,f){u.onload=c,u.onerror=f}),St(i,"link",n),l.instance=i}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=su.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var Qc=0;function Yy(t,e){return t.stylesheets&&t.count===0&&qi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var n=setTimeout(function(){if(t.stylesheets&&qi(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4+e);0<t.imgBytes&&Qc===0&&(Qc=62500*Sy());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&qi(t,t.stylesheets),t.unsuspend)){var i=t.unsuspend;t.unsuspend=null,i()}},(t.imgBytes>Qc?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function su(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ru=null;function qi(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ru=new Map,e.forEach(Gy,t),ru=null,su.call(t))}function Gy(t,e){if(!(e.state.loading&4)){var l=ru.get(t);if(l)var n=l.get(null);else{l=new Map,ru.set(t,l);for(var a=t.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var u=a[i];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(l.set(u.dataset.precedence,u),n=u)}n&&l.set(null,n)}a=e.instance,u=a.getAttribute("data-precedence"),i=l.get(u)||n,i===n&&l.set(null,a),l.set(u,a),this.count++,n=su.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),i?i.parentNode.insertBefore(a,i.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(a,t.firstChild)),e.state.loading|=4}}var Ba={$$typeof:Ce,Provider:null,Consumer:null,_currentValue:xl,_currentValue2:xl,_threadCount:0};function Xy(t,e,l,n,a,i,u,c,f){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=yc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yc(0),this.hiddenUpdates=yc(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function Dd(t,e,l,n,a,i,u,c,f,r,y,h){return t=new Xy(t,e,l,u,f,r,y,h,c),e=1,i===!0&&(e|=24),i=Ut(3,null,null,e),t.current=i,i.stateNode=t,e=no(),e.refCount++,t.pooledCache=e,e.refCount++,i.memoizedState={element:n,isDehydrated:l,cache:e},uo(i),t}function Hd(t){return t?(t=yn,t):yn}function Ud(t,e,l,n,a,i){a=Hd(a),n.context===null?n.context=a:n.pendingContext=a,n=nl(e),n.payload={element:l},i=i===void 0?null:i,i!==null&&(n.callback=i),l=al(t,n,e),l!==null&&(_t(l,t,e),va(l,t,e))}function Jr(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Ho(t,e){Jr(t,e),(t=t.alternate)&&Jr(t,e)}function Rd(t){if(t.tag===13||t.tag===31){var e=Xl(t,67108864);e!==null&&_t(e,t,67108864),Ho(t,67108864)}}function kr(t){if(t.tag===13||t.tag===31){var e=Gt();e=Qf(e);var l=Xl(t,e);l!==null&&_t(l,t,e),Ho(t,e)}}var du=!0;function jy(t,e,l,n){var a=M.T;M.T=null;var i=X.p;try{X.p=2,Uo(t,e,l,n)}finally{X.p=i,M.T=a}}function Zy(t,e,l,n){var a=M.T;M.T=null;var i=X.p;try{X.p=8,Uo(t,e,l,n)}finally{X.p=i,M.T=a}}function Uo(t,e,l,n){if(du){var a=Yf(n);if(a===null)jc(t,e,n,mu,l),Wr(t,n);else if(wy(a,t,e,l,n))n.stopPropagation();else if(Wr(t,n),e&4&&-1<Qy.indexOf(t)){for(;a!==null;){var i=Yn(a);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var u=Ml(i.pendingLanes);if(u!==0){var c=i;for(c.pendingLanes|=2,c.entangledLanes|=2;u;){var f=1<<31-Yt(u);c.entanglements[1]|=f,u&=~f}me(i),(G&6)===0&&(lu=Bt()+500,ka(0,!1))}}break;case 31:case 13:c=Xl(i,2),c!==null&&_t(c,i,2),zu(),Ho(i,2)}if(i=Yf(n),i===null&&jc(t,e,n,mu,l),i===a)break;a=i}a!==null&&n.stopPropagation()}else jc(t,e,n,null,l)}}function Yf(t){return t=Jf(t),Ro(t)}var mu=null;function Ro(t){if(mu=null,t=on(t),t!==null){var e=Ga(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=e1(e),t!==null)return t;t=null}else if(l===31){if(t=l1(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return mu=t,null}function Bd(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Lm()){case u1:return 2;case c1:return 8;case Zi:case Nm:return 32;case f1:return 268435456;default:return 32}default:return 32}}var Gf=!1,cl=null,fl=null,ol=null,qa=new Map,Ya=new Map,We=[],Qy="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".split(" ");function Wr(t,e){switch(t){case"focusin":case"focusout":cl=null;break;case"dragenter":case"dragleave":fl=null;break;case"mouseover":case"mouseout":ol=null;break;case"pointerover":case"pointerout":qa.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ya.delete(e.pointerId)}}function ia(t,e,l,n,a,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:l,eventSystemFlags:n,nativeEvent:i,targetContainers:[a]},e!==null&&(e=Yn(e),e!==null&&Rd(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t)}function wy(t,e,l,n,a){switch(e){case"focusin":return cl=ia(cl,t,e,l,n,a),!0;case"dragenter":return fl=ia(fl,t,e,l,n,a),!0;case"mouseover":return ol=ia(ol,t,e,l,n,a),!0;case"pointerover":var i=a.pointerId;return qa.set(i,ia(qa.get(i)||null,t,e,l,n,a)),!0;case"gotpointercapture":return i=a.pointerId,Ya.set(i,ia(Ya.get(i)||null,t,e,l,n,a)),!0}return!1}function qd(t){var e=on(t.target);if(e!==null){var l=Ga(e);if(l!==null){if(e=l.tag,e===13){if(e=e1(l),e!==null){t.blockedOn=e,Ds(t.priority,function(){kr(l)});return}}else if(e===31){if(e=l1(l),e!==null){t.blockedOn=e,Ds(t.priority,function(){kr(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Yi(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Yf(t.nativeEvent);if(l===null){l=t.nativeEvent;var n=new l.constructor(l.type,l);lf=n,l.target.dispatchEvent(n),lf=null}else return e=Yn(l),e!==null&&Rd(e),t.blockedOn=l,!1;e.shift()}return!0}function Fr(t,e,l){Yi(t)&&l.delete(e)}function Vy(){Gf=!1,cl!==null&&Yi(cl)&&(cl=null),fl!==null&&Yi(fl)&&(fl=null),ol!==null&&Yi(ol)&&(ol=null),qa.forEach(Fr),Ya.forEach(Fr)}function Ei(t,e){t.blockedOn===e&&(t.blockedOn=null,Gf||(Gf=!0,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,Vy)))}var Ci=null;function $r(t){Ci!==t&&(Ci=t,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,function(){Ci===t&&(Ci=null);for(var e=0;e<t.length;e+=3){var l=t[e],n=t[e+1],a=t[e+2];if(typeof n!="function"){if(Ro(n||l)===null)continue;break}var i=Yn(l);i!==null&&(t.splice(e,3),e-=3,pf(i,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function Bn(t){function e(f){return Ei(f,t)}cl!==null&&Ei(cl,t),fl!==null&&Ei(fl,t),ol!==null&&Ei(ol,t),qa.forEach(e),Ya.forEach(e);for(var l=0;l<We.length;l++){var n=We[l];n.blockedOn===t&&(n.blockedOn=null)}for(;0<We.length&&(l=We[0],l.blockedOn===null);)qd(l),l.blockedOn===null&&We.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],i=l[n+1],u=a[Ot]||null;if(typeof i=="function")u||$r(l);else if(u){var c=null;if(i&&i.hasAttribute("formAction")){if(a=i,u=i[Ot]||null)c=u.formAction;else if(Ro(a)!==null)continue}else c=u.action;typeof c=="function"?l[n+1]=c:(l.splice(n,3),n-=3),$r(l)}}}function Yd(){function t(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(u){return a=u})},focusReset:"manual",scroll:"manual"})}function e(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}function Bo(t){this._internalRoot=t}Ou.prototype.render=Bo.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(p(409));var l=e.current,n=Gt();Ud(l,n,t,e,null,null)};Ou.prototype.unmount=Bo.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Ud(t.current,2,null,t,null,null),zu(),e[qn]=null}};function Ou(t){this._internalRoot=t}Ou.prototype.unstable_scheduleHydration=function(t){if(t){var e=m1();t={blockedOn:null,target:t,priority:e};for(var l=0;l<We.length&&e!==0&&e<We[l].priority;l++);We.splice(l,0,t),l===0&&qd(t)}};var Ir=Pr.version;if(Ir!=="19.2.4")throw Error(p(527,Ir,"19.2.4"));X.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(p(188)):(t=Object.keys(t).join(","),Error(p(268,t)));return t=Cm(e),t=t!==null?n1(t):null,t=t===null?null:t.stateNode,t};var Ky={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(ua=__REACT_DEVTOOLS_GLOBAL_HOOK__,!ua.isDisabled&&ua.supportsFiber))try{Xa=ua.inject(Ky),qt=ua}catch{}var ua;Lu.createRoot=function(t,e){if(!t1(t))throw Error(p(299));var l=!1,n="",a=O0,i=L0,u=N0;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(u=e.onRecoverableError)),e=Dd(t,1,!1,null,null,l,n,null,a,i,u,Yd),t[qn]=e.current,Lo(t),new Bo(e)};Lu.hydrateRoot=function(t,e,l){if(!t1(t))throw Error(p(299));var n=!1,a="",i=O0,u=L0,c=N0,f=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(u=l.onCaughtError),l.onRecoverableError!==void 0&&(c=l.onRecoverableError),l.formState!==void 0&&(f=l.formState)),e=Dd(t,1,!0,e,l??null,n,a,f,i,u,c,Yd),e.context=Hd(null),l=e.current,n=Gt(),n=Qf(n),a=nl(n),a.callback=null,al(l,a,n),l=n,e.current.lanes=l,Za(e,l),me(e),t[qn]=e.current,Lo(t),new Ou(e)};Lu.version="19.2.4"});var Zd=ue((Qv,jd)=>{"use strict";function Xd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Xd)}catch(t){console.error(t)}}Xd(),jd.exports=Gd()});var Kd=ue(Nu=>{"use strict";var ky=Symbol.for("react.transitional.element"),Wy=Symbol.for("react.fragment");function Vd(t,e,l){var n=null;if(l!==void 0&&(n=""+l),e.key!==void 0&&(n=""+e.key),"key"in e){l={};for(var a in e)a!=="key"&&(l[a]=e[a])}else l=e;return e=l.ref,{$$typeof:ky,type:t,key:n,ref:e!==void 0?e:null,props:l}}Nu.Fragment=Wy;Nu.jsx=Vd;Nu.jsxs=Vd});var pt=ue((kv,Jd)=>{"use strict";Jd.exports=Kd()});var Uv={};tm(Uv,{accessibility:()=>J2,configure:()=>Fo,destroy:()=>ko,getConfig:()=>Wu,getSettings:()=>Wo,init:()=>Jo,resetAllSettings:()=>$o});module.exports=em(Uv);var w2=_(Zd(),1);var ku=_(I(),1);var kd=_(I(),1);function Qd(t){var e,l,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(l=Qd(t[e]))&&(n&&(n+=" "),n+=l)}else for(l in t)t[l]&&(n&&(n+=" "),n+=l);return n}function Jy(){for(var t,e,l=0,n="",a=arguments.length;l<a;l++)(t=arguments[l])&&(e=Qd(t))&&(n&&(n+=" "),n+=e);return n}var wd=Jy;function ge(...t){return wd(t)}var vl=_(pt(),1),qo=kd.default.forwardRef(({children:t,className:e,size:l="lg",leftIcon:n,rightIcon:a,disabled:i,...u},c)=>{let f=!!t,h=!f&&!!n!==!!a,g=l==="sm"?"text-sm px-3 py-2":"text-lg px-5 py-3",v=h?ge("rounded-full",l==="sm"?"w-[40px] h-[40px] p-0":"w-[60px] h-[60px] p-0"):"rounded-[30px] py-2 px-5";return(0,vl.jsxs)("button",{ref:c,className:ge("group cursor-pointer inline-flex items-center justify-center transition-all ease-in-out duration-200 relative overflow-hidden","apea-gradient text-white bg-blue-500 hover:ring-2 hover:ring-yellow-500 hover:font-semibold",g,v,i?"opacity-50 cursor-not-allowed":"active:scale-90",e),disabled:i,...u,children:[n&&(0,vl.jsx)("span",{className:ge(f&&"mr-2"),children:n}),f&&(0,vl.jsxs)("span",{className:"relative inline-flex items-center whitespace-nowrap",children:[(0,vl.jsx)("span",{className:"invisible font-bold","aria-hidden":"true",children:t}),(0,vl.jsx)("span",{className:"absolute inset-0 transition-all duration-200",children:t})]}),a&&(0,vl.jsx)("span",{className:ge(f&&"ml-2"),children:a})]})});qo.displayName="Button";var wn=_(pt(),1);function Wd({size:t=24,color:e="currentColor",className:l,...n}){return(0,wn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 26 30",fill:e,className:l,"aria-hidden":"true",focusable:"false",...n,children:[(0,wn.jsx)("mask",{id:"path-1-inside-1_2435_12083",fill:"white",children:(0,wn.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4917 0.0390191C10.9891 0.276653 9.83951 1.43644 9.61036 2.94578C9.45194 3.98907 9.82094 5.09148 10.5813 5.84664C11.935 7.19114 14.0664 7.19114 15.4201 5.84664C16.7606 4.51534 16.7599 2.35948 15.4184 1.00802C14.6598 0.24369 13.5405 -0.126872 12.4917 0.0390191ZM12.706 1.73821C12.3594 1.80312 12.0529 1.96654 11.7962 2.22334C11.5927 2.42688 11.4709 2.62091 11.3736 2.8966L11.3042 3.09318V3.42818V3.76317L11.3736 3.95975C11.4709 4.23544 11.5927 4.42947 11.7962 4.63302C11.9997 4.83659 12.1937 4.95842 12.4693 5.05578L12.6658 5.12519H13.0007H13.3356L13.5321 5.05578C13.8077 4.95842 14.0017 4.83659 14.2052 4.63302C14.4087 4.42947 14.5305 4.23544 14.6278 3.95975L14.6972 3.76317V3.42818V3.09318L14.6278 2.8966C14.5305 2.62091 14.4087 2.42688 14.2052 2.22334C13.8866 1.90463 13.5251 1.74475 13.0811 1.72625C12.9411 1.72041 12.7723 1.7258 12.706 1.73821ZM2.25726 6.41702C2.03505 6.46277 1.77857 6.56493 1.57407 6.68923C0.660849 7.24423 0.26669 8.37245 0.639978 9.36291C0.842577 9.90052 1.26101 10.3605 1.76161 10.5958C1.86476 10.6442 3.47127 11.225 5.3316 11.8863L8.71405 13.0887V15.9233V18.7579L7.62872 23.1003C7.0318 25.4885 6.53337 27.5356 6.5211 27.6494C6.40938 28.6853 7.0643 29.6429 8.08672 29.9387L8.29878 30L8.64707 29.998C9.06199 29.9955 9.23847 29.9553 9.5888 29.7832C10.0024 29.58 10.368 29.2187 10.5625 28.821C10.6057 28.7326 11.169 27.0715 11.8142 25.1297C12.4594 23.188 12.9933 21.5993 13.0007 21.5993C13.0081 21.5993 13.542 23.188 14.1872 25.1297C14.8324 27.0715 15.3957 28.7326 15.439 28.821C15.6334 29.2187 15.999 29.58 16.4126 29.7832C16.763 29.9553 16.9394 29.9955 17.3544 29.998L17.7026 30L17.9147 29.9387C18.9371 29.6429 19.5921 28.6853 19.4803 27.6494C19.4681 27.5356 18.9696 25.4885 18.3727 23.1003L17.2874 18.7579V15.9233V13.0887L20.6698 11.8863C22.5302 11.225 24.1367 10.6442 24.2398 10.5958C25.1725 10.1573 25.6811 9.08532 25.4407 8.06454C25.3872 7.83741 25.2031 7.44981 25.0524 7.24699C24.8326 6.95136 24.4552 6.66642 24.0925 6.5224C23.7068 6.36927 23.1663 6.33116 22.7663 6.4289C22.6484 6.45768 21.1414 6.95206 19.4174 7.5275L16.283 8.57374H13.0007H9.71847L6.58398 7.5275C4.86001 6.95206 3.35304 6.45768 3.23515 6.4289L3.02082 6.37653L2.72611 6.37886C2.56402 6.38015 2.35304 6.39733 2.25726 6.41702ZM2.50479 8.13564C2.30015 8.23654 2.17455 8.4846 2.2258 8.68659C2.25602 8.80572 2.34248 8.94165 2.42955 9.00696C2.46227 9.03151 4.27547 9.68767 6.45889 10.4651L10.4287 11.8786V15.4254V18.9723L9.33026 23.3672C8.7261 25.7844 8.2318 27.8136 8.2318 27.8766C8.2318 28.0357 8.30837 28.1644 8.44648 28.2374C8.63659 28.338 8.82523 28.3031 8.96045 28.1424L9.03019 28.0595L10.6277 23.2679L12.2253 18.4763L12.3139 18.3555C12.4162 18.2158 12.5635 18.1109 12.7427 18.05C13.0769 17.9365 13.4748 18.0652 13.6876 18.3555L13.7761 18.4763L15.3737 23.2679L16.9712 28.0595L17.041 28.1424C17.1762 28.3031 17.3648 28.338 17.5549 28.2374C17.6931 28.1644 17.7696 28.0357 17.7696 27.8766C17.7696 27.8136 17.2753 25.7844 16.6712 23.3672L15.5727 18.9723V15.4254V11.8785L19.5518 10.4618L23.531 9.04509L23.6127 8.96515C23.732 8.84849 23.781 8.73869 23.7817 8.58604C23.7826 8.42537 23.7211 8.30671 23.5763 8.18967L23.4754 8.10809L23.3218 8.09826L23.1681 8.08842L19.8729 9.18869L16.5776 10.2889H13.0007H9.42379L6.12865 9.19013L2.83352 8.09134L2.71285 8.09196C2.64646 8.09228 2.55285 8.11195 2.50479 8.13564Z"})}),(0,wn.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4917 0.0390191C10.9891 0.276653 9.83951 1.43644 9.61036 2.94578C9.45194 3.98907 9.82094 5.09148 10.5813 5.84664C11.935 7.19114 14.0664 7.19114 15.4201 5.84664C16.7606 4.51534 16.7599 2.35948 15.4184 1.00802C14.6598 0.24369 13.5405 -0.126872 12.4917 0.0390191ZM12.706 1.73821C12.3594 1.80312 12.0529 1.96654 11.7962 2.22334C11.5927 2.42688 11.4709 2.62091 11.3736 2.8966L11.3042 3.09318V3.42818V3.76317L11.3736 3.95975C11.4709 4.23544 11.5927 4.42947 11.7962 4.63302C11.9997 4.83659 12.1937 4.95842 12.4693 5.05578L12.6658 5.12519H13.0007H13.3356L13.5321 5.05578C13.8077 4.95842 14.0017 4.83659 14.2052 4.63302C14.4087 4.42947 14.5305 4.23544 14.6278 3.95975L14.6972 3.76317V3.42818V3.09318L14.6278 2.8966C14.5305 2.62091 14.4087 2.42688 14.2052 2.22334C13.8866 1.90463 13.5251 1.74475 13.0811 1.72625C12.9411 1.72041 12.7723 1.7258 12.706 1.73821ZM2.25726 6.41702C2.03505 6.46277 1.77857 6.56493 1.57407 6.68923C0.660849 7.24423 0.26669 8.37245 0.639978 9.36291C0.842577 9.90052 1.26101 10.3605 1.76161 10.5958C1.86476 10.6442 3.47127 11.225 5.3316 11.8863L8.71405 13.0887V15.9233V18.7579L7.62872 23.1003C7.0318 25.4885 6.53337 27.5356 6.5211 27.6494C6.40938 28.6853 7.0643 29.6429 8.08672 29.9387L8.29878 30L8.64707 29.998C9.06199 29.9955 9.23847 29.9553 9.5888 29.7832C10.0024 29.58 10.368 29.2187 10.5625 28.821C10.6057 28.7326 11.169 27.0715 11.8142 25.1297C12.4594 23.188 12.9933 21.5993 13.0007 21.5993C13.0081 21.5993 13.542 23.188 14.1872 25.1297C14.8324 27.0715 15.3957 28.7326 15.439 28.821C15.6334 29.2187 15.999 29.58 16.4126 29.7832C16.763 29.9553 16.9394 29.9955 17.3544 29.998L17.7026 30L17.9147 29.9387C18.9371 29.6429 19.5921 28.6853 19.4803 27.6494C19.4681 27.5356 18.9696 25.4885 18.3727 23.1003L17.2874 18.7579V15.9233V13.0887L20.6698 11.8863C22.5302 11.225 24.1367 10.6442 24.2398 10.5958C25.1725 10.1573 25.6811 9.08532 25.4407 8.06454C25.3872 7.83741 25.2031 7.44981 25.0524 7.24699C24.8326 6.95136 24.4552 6.66642 24.0925 6.5224C23.7068 6.36927 23.1663 6.33116 22.7663 6.4289C22.6484 6.45768 21.1414 6.95206 19.4174 7.5275L16.283 8.57374H13.0007H9.71847L6.58398 7.5275C4.86001 6.95206 3.35304 6.45768 3.23515 6.4289L3.02082 6.37653L2.72611 6.37886C2.56402 6.38015 2.35304 6.39733 2.25726 6.41702ZM2.50479 8.13564C2.30015 8.23654 2.17455 8.4846 2.2258 8.68659C2.25602 8.80572 2.34248 8.94165 2.42955 9.00696C2.46227 9.03151 4.27547 9.68767 6.45889 10.4651L10.4287 11.8786V15.4254V18.9723L9.33026 23.3672C8.7261 25.7844 8.2318 27.8136 8.2318 27.8766C8.2318 28.0357 8.30837 28.1644 8.44648 28.2374C8.63659 28.338 8.82523 28.3031 8.96045 28.1424L9.03019 28.0595L10.6277 23.2679L12.2253 18.4763L12.3139 18.3555C12.4162 18.2158 12.5635 18.1109 12.7427 18.05C13.0769 17.9365 13.4748 18.0652 13.6876 18.3555L13.7761 18.4763L15.3737 23.2679L16.9712 28.0595L17.041 28.1424C17.1762 28.3031 17.3648 28.338 17.5549 28.2374C17.6931 28.1644 17.7696 28.0357 17.7696 27.8766C17.7696 27.8136 17.2753 25.7844 16.6712 23.3672L15.5727 18.9723V15.4254V11.8785L19.5518 10.4618L23.531 9.04509L23.6127 8.96515C23.732 8.84849 23.781 8.73869 23.7817 8.58604C23.7826 8.42537 23.7211 8.30671 23.5763 8.18967L23.4754 8.10809L23.3218 8.09826L23.1681 8.08842L19.8729 9.18869L16.5776 10.2889H13.0007H9.42379L6.12865 9.19013L2.83352 8.09134L2.71285 8.09196C2.64646 8.09228 2.55285 8.11195 2.50479 8.13564Z",strokeWidth:"0.354242",mask:"url(#path-1-inside-1_2435_12083)"})]})}var Qt=_(I(),1);var Fd=["p","span","div","h1","h2","h3","h4","h5","h6","a","li","td","th","label","input","textarea","select","button","blockquote","pre","code"],Fy={normal:null,high:{styles:{filter:"contrast(125%)"}},dark:{styles:{color:"#FFF",fill:"#FFF","background-color":"#000"},childrenSelector:Fd},light:{styles:{color:"#000",fill:"#000","background-color":"#FFF"},childrenSelector:Fd}};function $y(t){let{styles:e,selector:l,childrenSelector:n}=t,a="";if(e){let u=Object.keys(e).map(c=>`${c}: ${e[c]} !important;`).join(" ");a+=`${l} { ${u} }`,n&&n.forEach(c=>{a+=`${l} ${c} { ${u} }`})}return a}function Iy({css:t,id:e}){let l=document.getElementById(e);l&&l.remove();let n=document.createElement("style");n.id=e,n.textContent=t,document.head.appendChild(n)}function Du(t){let e=Fy[t],l="ape-accessibility-contrast",n="ape-contrast-active";if(!e){let i=document.getElementById(l);i&&i.remove(),document.documentElement.classList.remove(n);return}let a=$y({...e,selector:`html.${n}`});Iy({css:a,id:l}),document.documentElement.classList.add(n)}var Yo="ape-accessibility-settings";function $d(t,e,l=30){let n=new Date;n.setTime(n.getTime()+l*24*60*60*1e3),document.cookie=`${t}=${e};expires=${n.toUTCString()};path=/`}function Py(t){let e=t+"=",l=document.cookie.split(";");for(let n=0;n<l.length;n++){let a=l[n];for(;a?.charAt(0)===" ";)a=a?.substring(1,a?.length);if(a?.indexOf(e)===0)return a.substring(e.length,a.length)}return null}function tv(t,e){let l=JSON.stringify(e);try{localStorage.setItem(t,l)}catch(n){console.error("Error saving storage data:",n),$d(t,l)}}function ev(t){let e=null;try{e=localStorage.getItem(t)}catch(l){console.error("Error getting storage data:",l),e=Py(t)}if(!e)return null;try{return JSON.parse(e)}catch(l){return console.error("Error parsing storage data:",l),null}}function lv(t){try{localStorage.removeItem(t)}catch(e){$d(t,"",-1),console.error("Error clearing storage data:",e)}}var Go=class{getSettings(){return ev(Yo)}saveSettings(e){let l={...e,updatedAt:new Date};tv(Yo,l)}clearSettings(){lv(Yo)}},Hu=new Go;var ae={fontSize:100,contrast:"normal",language:"es",colorblindMode:"normal",saturationMode:"normal",dyslexiaFont:!1,letterSpacing:0,lineHeight:0,fontWeight:!1,highlightMode:"none",readingGuide:!1,stopAnimations:!1,bigCursor:!1,hideImages:!1,textAlign:"default",ttsActive:!1},Zt={...ae};function nv(){let t=Hu.getSettings();return t&&(Zt={...ae,...t}),Zt}function O(){return{...Zt}}function Xo(t){return Zt={...Zt,...t,updatedAt:new Date},Hu.saveSettings(Zt),Id("update",Zt),Zt}function Vn(){return Zt={...ae},Hu.saveSettings(Zt),Id("reset",Zt),Zt}function q(t,e){return Xo({[t]:e})}function Id(t,e){let l=new CustomEvent("accessibilitySettingsChanged",{detail:{type:t,settings:e,timestamp:new Date}});window.dispatchEvent(l)}function Pd(t=Zt){return t.fontSize!==ae.fontSize||t.contrast!==ae.contrast||t.colorblindMode!==ae.colorblindMode||t.saturationMode!==ae.saturationMode||t.dyslexiaFont===!0||(t.letterSpacing??0)>0||(t.lineHeight??0)>0||t.fontWeight===!0||t.highlightMode!==ae.highlightMode||t.readingGuide===!0||t.stopAnimations===!0||t.bigCursor===!0||t.hideImages===!0||t.textAlign!==ae.textAlign||t.ttsActive===!0}typeof window<"u"&&nv();function t2(){let[t,e]=(0,Qt.useState)(()=>O().contrast||"normal");(0,Qt.useEffect)(()=>{Du(t)},[]),(0,Qt.useEffect)(()=>{let y=h=>{let{settings:g}=h.detail,v=g.contrast||"normal";v!==t&&(e(v),Du(v))};return window.addEventListener("accessibilitySettingsChanged",y),()=>{window.removeEventListener("accessibilitySettingsChanged",y)}},[t]);let l=(0,Qt.useCallback)(y=>{e(y),Du(y),q("contrast",y),window.dispatchEvent(new CustomEvent("accessibilityContrastChanged",{detail:{mode:y,isActive:y!=="normal"}}))},[]),n=(0,Qt.useCallback)(()=>{l(t==="normal"?"high":"normal")},[t,l]),a=(0,Qt.useCallback)(y=>{l(y)},[l]),i=(0,Qt.useCallback)(()=>{l(t==="high"?"normal":"high")},[t,l]),u=(0,Qt.useCallback)(()=>{l(t==="dark"?"normal":"dark")},[t,l]),c=(0,Qt.useCallback)(()=>{l(t==="light"?"normal":"light")},[t,l]),f=(0,Qt.useCallback)(()=>{switch(t){case"high":return"Alto contraste";case"dark":return"Contraste oscuro";case"light":return"Contraste claro";default:return"Normal"}},[t]);return{contrastMode:t,isActive:t!=="normal",getContrastDescription:f,setContrastMode:a,updateContrast:l,toggleContrast:n,toggleHighContrast:i,toggleDarkContrast:u,toggleLightContrast:c,isHighContrast:t==="high",isDarkContrast:t==="dark",isLightContrast:t==="light"}}var Nt=_(I(),1);var e2=['i[class*="icon"]','i[class*="fa-"]',".icon",".fa",".material-icons","[data-icon]","svg"],av="h1,h2,h3,h4,h5,h6,p,a,dl,dt,li,ol,th,td,span,blockquote,.asw-text",l2={};e2.forEach(t=>{l2[t]=!0});function iv(t=1){document.querySelectorAll(av).forEach(e=>{let l=e;if(Array.prototype.slice.call(l.classList).some(u=>l2[`.${u}`])||e2.some(u=>l.matches(u)))return;let a=Number(l.dataset.apeOrgFontSize)||parseInt(window.getComputedStyle(l).fontSize);l.dataset.apeOrgFontSize||(l.dataset.apeOrgFontSize=String(a));let i=a*t;l.style.fontSize=`${i}px`})}function uv(){document.querySelectorAll("[data-ape-org-font-size]").forEach(t=>{let e=t,l=e.dataset.apeOrgFontSize;l&&(e.style.fontSize=`${l}px`,delete e.dataset.apeOrgFontSize)})}function cv(t){return t/100}function Uu(t){let e=cv(t);t===100?uv():iv(e)}function n2(){let[a,i]=(0,Nt.useState)(()=>O().fontSize||100),[u,c]=(0,Nt.useState)(!1);(0,Nt.useEffect)(()=>{Uu(a)},[]),(0,Nt.useEffect)(()=>{let s=o=>{let{settings:d}=o.detail,S=d.fontSize||100;S!==a&&(i(S),Uu(S))};return window.addEventListener("accessibilitySettingsChanged",s),()=>{window.removeEventListener("accessibilitySettingsChanged",s)}},[a]);let f=(0,Nt.useCallback)(s=>{i(s),Uu(s),q("fontSize",s),window.dispatchEvent(new CustomEvent("accessibilityTextSizeChanged",{detail:{percentage:s,isActive:s!==100}}))},[]),r=(0,Nt.useCallback)(()=>{let s=Math.min(a+5,120);s!==a&&f(s)},[a,f]),y=(0,Nt.useCallback)(()=>{let s=Math.max(a-5,90);s!==a&&f(s)},[a,f]),h=(0,Nt.useCallback)(()=>{f(100)},[f]),g=(0,Nt.useCallback)(s=>{s>=90&&s<=120&&f(s)},[f]),v=(0,Nt.useCallback)(()=>{c(!u)},[u]),A=(0,Nt.useCallback)(()=>a===100?"Normal":a<100?`Reducido ${a}%`:`Aumentado ${a}%`,[a]),C=a<120,L=a>90;return{textSizePercentage:a,increaseTextSize:r,decreaseTextSize:y,resetTextSize:h,canIncrease:C,canDecrease:L,getTextSizeDescription:A,isActive:a!==100,toggleTextSizeOptions:v,setSpecificTextSize:g,isOptionsOpen:u,setIsOptionsOpen:c,MIN_SIZE:90,MAX_SIZE:120,NORMAL_SIZE:100,INCREMENT:5}}var Re=_(I(),1);function a2(){let[t,e]=(0,Re.useState)(()=>O().language||"es");(0,Re.useEffect)(()=>{let u=c=>{let{settings:f}=c.detail,r=f.language||"es";r!==t&&e(r)};return window.addEventListener("accessibilitySettingsChanged",u),()=>{window.removeEventListener("accessibilitySettingsChanged",u)}},[t]);let l=(0,Re.useCallback)(u=>{e(u),q("language",u),window.dispatchEvent(new CustomEvent("accessibilityLanguageChanged",{detail:{mode:u,isActive:u!=="es"}}))},[]),n=(0,Re.useCallback)(()=>{l(t==="es"?"en":"es")},[t,l]),a=(0,Re.useCallback)(u=>{l(u)},[l]),i=(0,Re.useCallback)(()=>t==="en"?"English":"Espa\xF1ol",[t]);return{languageMode:t,isActive:t!=="es",toggleLanguage:n,setSpecificLanguage:a,getLanguageDescription:i,updateLanguage:l,isEnglish:t==="en",isSpanish:t==="es"}}var Zl=_(I(),1);function Ru(t){let e=document.documentElement;t==="normal"?e.removeAttribute("data-colorblind-mode"):e.setAttribute("data-colorblind-mode",t)}function i2(){let[t,e]=(0,Zl.useState)(()=>O().colorblindMode??"normal");(0,Zl.useEffect)(()=>{Ru(t)},[]),(0,Zl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.colorblindMode??"normal";u!==t&&(e(u),Ru(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Zl.useCallback)(n=>{e(n),Ru(n),q("colorblindMode",n),window.dispatchEvent(new CustomEvent("accessibilityColorblindChanged",{detail:{mode:n}}))},[]);return{colorblindMode:t,setColorblindMode:l,isActive:t!=="normal"}}var Ql=_(I(),1);var u2={normal:null,high:"accessibility-saturation-high",low:"accessibility-saturation-low",mono:"accessibility-saturation-mono"},fv=Object.values(u2).filter(Boolean);function Bu(t){let e=document.documentElement;fv.forEach(n=>e.classList.remove(n));let l=u2[t];l&&e.classList.add(l)}function c2(){let[t,e]=(0,Ql.useState)(()=>O().saturationMode??"normal");(0,Ql.useEffect)(()=>{Bu(t)},[]),(0,Ql.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.saturationMode??"normal";u!==t&&(e(u),Bu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Ql.useCallback)(n=>{e(n),Bu(n),q("saturationMode",n),window.dispatchEvent(new CustomEvent("accessibilitySaturationChanged",{detail:{mode:n}}))},[]);return{saturationMode:t,setSaturationMode:l,isActive:t!=="normal"}}var wl=_(I(),1);var f2="accessibility-dyslexia";function qu(t){let e=document.documentElement;t?e.classList.add(f2):e.classList.remove(f2)}function o2(){let[t,e]=(0,wl.useState)(()=>O().dyslexiaFont??!1);(0,wl.useEffect)(()=>{qu(t)},[]),(0,wl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.dyslexiaFont??!1;u!==t&&(e(u),qu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,wl.useCallback)(()=>{let n=!t;e(n),qu(n),q("dyslexiaFont",n),window.dispatchEvent(new CustomEvent("accessibilityDyslexiaChanged",{detail:{isActive:n}}))},[t]);return{isActive:t,toggle:l}}var Be=_(I(),1);var s2="accessibility-letter-spacing",r2="accessibility-line-height",d2="accessibility-font-weight";function Kn(t){let e=document.documentElement;e.style.setProperty("--accessibility-letter-spacing",String(t)),t>0?e.classList.add(s2):e.classList.remove(s2)}function Jn(t){let e=document.documentElement;e.style.setProperty("--accessibility-line-height",String(t)),t>0?e.classList.add(r2):e.classList.remove(r2)}function Yu(t){let e=document.documentElement;t?e.classList.add(d2):e.classList.remove(d2)}var m2=3;function g2(){let[t,e]=(0,Be.useState)(()=>O().letterSpacing??0);(0,Be.useEffect)(()=>{Kn(t)},[]),(0,Be.useEffect)(()=>{let i=u=>{let{settings:c}=u.detail,f=c.letterSpacing??0;f!==t&&(e(f),Kn(f))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[t]);let l=(0,Be.useCallback)(()=>{let i=Math.min(t+1,m2);e(i),Kn(i),q("letterSpacing",i)},[t]),n=(0,Be.useCallback)(()=>{let i=Math.max(t-1,0);e(i),Kn(i),q("letterSpacing",i)},[t]),a=(0,Be.useCallback)(()=>{e(0),Kn(0),q("letterSpacing",0)},[]);return{level:t,increase:l,decrease:n,reset:a,isActive:t>0,canIncrease:t<m2,canDecrease:t>0}}var qe=_(I(),1);var y2=3;function v2(){let[t,e]=(0,qe.useState)(()=>O().lineHeight??0);(0,qe.useEffect)(()=>{Jn(t)},[]),(0,qe.useEffect)(()=>{let i=u=>{let{settings:c}=u.detail,f=c.lineHeight??0;f!==t&&(e(f),Jn(f))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[t]);let l=(0,qe.useCallback)(()=>{let i=Math.min(t+1,y2);e(i),Jn(i),q("lineHeight",i)},[t]),n=(0,qe.useCallback)(()=>{let i=Math.max(t-1,0);e(i),Jn(i),q("lineHeight",i)},[t]),a=(0,qe.useCallback)(()=>{e(0),Jn(0),q("lineHeight",0)},[]);return{level:t,increase:l,decrease:n,reset:a,isActive:t>0,canIncrease:t<y2,canDecrease:t>0}}var Vl=_(I(),1);function h2(){let[t,e]=(0,Vl.useState)(()=>O().fontWeight??!1);(0,Vl.useEffect)(()=>{Yu(t)},[]),(0,Vl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.fontWeight??!1;u!==t&&(e(u),Yu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Vl.useCallback)(()=>{let n=!t;e(n),Yu(n),q("fontWeight",n)},[t]);return{isBold:t,toggle:l,isActive:t}}var Ye=_(I(),1);function Gu(t){let e=document.documentElement;t==="none"?e.removeAttribute("data-highlight"):e.setAttribute("data-highlight",t)}function S2(){let[t,e]=(0,Ye.useState)(()=>O().highlightMode??"none");(0,Ye.useEffect)(()=>{Gu(t)},[]),(0,Ye.useEffect)(()=>{let i=u=>{let{settings:c}=u.detail,f=c.highlightMode??"none";f!==t&&(e(f),Gu(f))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[t]);let l=(0,Ye.useCallback)(i=>{e(i),Gu(i),q("highlightMode",i)},[]),n=(0,Ye.useCallback)(()=>{l(t==="titles"?"none":t==="links"?"both":t==="both"?"links":"titles")},[t,l]),a=(0,Ye.useCallback)(()=>{l(t==="links"?"none":t==="titles"?"both":t==="both"?"titles":"links")},[t,l]);return{highlightMode:t,setHighlightMode:l,toggleTitles:n,toggleLinks:a,isTitlesActive:t==="titles"||t==="both",isLinksActive:t==="links"||t==="both",isActive:t!=="none"}}var Kl=_(I(),1);var p2="accessibility-stop-animations",b2="accessibility-big-cursor";function Xu(t){t?ov():sv()}function ju(t){let e=document.documentElement;t?e.classList.add(p2):e.classList.remove(p2)}function Zu(t){let e=document.documentElement;t?e.classList.add(b2):e.classList.remove(b2)}var A2=`
|
|
1
|
+
"use strict";var Xt=Object.create;var de=Object.defineProperty;var Kt=Object.getOwnPropertyDescriptor;var Yt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Qt=(e,t)=>{for(var n in t)de(e,n,{get:t[n],enumerable:!0})},Ze=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Yt(t))!Jt.call(e,s)&&s!==n&&de(e,s,{get:()=>t[s],enumerable:!(o=Kt(t,s))||o.enumerable});return e};var je=(e,t,n)=>(n=e!=null?Xt(qt(e)):{},Ze(t||!e||!e.__esModule?de(n,"default",{value:e,enumerable:!0}):n,e)),ei=e=>Ze(de({},"__esModule",{value:!0}),e);var Fi={};Qt(Fi,{AccessibilityWidget:()=>Ut,accessibility:()=>le,configure:()=>Ge,destroy:()=>Be,getConfig:()=>ke,getSettings:()=>Ve,init:()=>De,resetAllSettings:()=>$e});module.exports=ei(Fi);var $t=require("react-dom/client");var Me=require("react");var Xe=je(require("react"),1);var Ue=je(require("clsx"),1);function E(...e){return(0,Ue.default)(e)}var H=require("react/jsx-runtime"),Ne=Xe.default.forwardRef(({children:e,className:t,size:n="lg",leftIcon:o,rightIcon:s,disabled:r,...a},c)=>{let l=!!e,L=!l&&!!o!==!!s,w=n==="sm"?"text-sm px-3 py-2":"text-lg px-5 py-3",S=L?E("rounded-full",n==="sm"?"w-[40px] h-[40px] p-0":"w-[60px] h-[60px] p-0"):"rounded-[30px] py-2 px-5";return(0,H.jsxs)("button",{ref:c,className:E("group cursor-pointer inline-flex items-center justify-center transition-all ease-in-out duration-200 relative overflow-hidden","apea-gradient text-white bg-blue-500 hover:ring-2 hover:ring-yellow-500 hover:font-semibold",w,S,r?"opacity-50 cursor-not-allowed":"active:scale-90",t),disabled:r,...a,children:[o&&(0,H.jsx)("span",{className:E(l&&"mr-2"),children:o}),l&&(0,H.jsxs)("span",{className:"relative inline-flex items-center whitespace-nowrap",children:[(0,H.jsx)("span",{className:"invisible font-bold","aria-hidden":"true",children:e}),(0,H.jsx)("span",{className:"absolute inset-0 transition-all duration-200",children:e})]}),s&&(0,H.jsx)("span",{className:E(l&&"ml-2"),children:s})]})});Ne.displayName="Button";var Q=require("react/jsx-runtime");function Ke({size:e=24,color:t="currentColor",className:n,...o}){return(0,Q.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 26 30",fill:t,className:n,"aria-hidden":"true",focusable:"false",...o,children:[(0,Q.jsx)("mask",{id:"path-1-inside-1_2435_12083",fill:"white",children:(0,Q.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4917 0.0390191C10.9891 0.276653 9.83951 1.43644 9.61036 2.94578C9.45194 3.98907 9.82094 5.09148 10.5813 5.84664C11.935 7.19114 14.0664 7.19114 15.4201 5.84664C16.7606 4.51534 16.7599 2.35948 15.4184 1.00802C14.6598 0.24369 13.5405 -0.126872 12.4917 0.0390191ZM12.706 1.73821C12.3594 1.80312 12.0529 1.96654 11.7962 2.22334C11.5927 2.42688 11.4709 2.62091 11.3736 2.8966L11.3042 3.09318V3.42818V3.76317L11.3736 3.95975C11.4709 4.23544 11.5927 4.42947 11.7962 4.63302C11.9997 4.83659 12.1937 4.95842 12.4693 5.05578L12.6658 5.12519H13.0007H13.3356L13.5321 5.05578C13.8077 4.95842 14.0017 4.83659 14.2052 4.63302C14.4087 4.42947 14.5305 4.23544 14.6278 3.95975L14.6972 3.76317V3.42818V3.09318L14.6278 2.8966C14.5305 2.62091 14.4087 2.42688 14.2052 2.22334C13.8866 1.90463 13.5251 1.74475 13.0811 1.72625C12.9411 1.72041 12.7723 1.7258 12.706 1.73821ZM2.25726 6.41702C2.03505 6.46277 1.77857 6.56493 1.57407 6.68923C0.660849 7.24423 0.26669 8.37245 0.639978 9.36291C0.842577 9.90052 1.26101 10.3605 1.76161 10.5958C1.86476 10.6442 3.47127 11.225 5.3316 11.8863L8.71405 13.0887V15.9233V18.7579L7.62872 23.1003C7.0318 25.4885 6.53337 27.5356 6.5211 27.6494C6.40938 28.6853 7.0643 29.6429 8.08672 29.9387L8.29878 30L8.64707 29.998C9.06199 29.9955 9.23847 29.9553 9.5888 29.7832C10.0024 29.58 10.368 29.2187 10.5625 28.821C10.6057 28.7326 11.169 27.0715 11.8142 25.1297C12.4594 23.188 12.9933 21.5993 13.0007 21.5993C13.0081 21.5993 13.542 23.188 14.1872 25.1297C14.8324 27.0715 15.3957 28.7326 15.439 28.821C15.6334 29.2187 15.999 29.58 16.4126 29.7832C16.763 29.9553 16.9394 29.9955 17.3544 29.998L17.7026 30L17.9147 29.9387C18.9371 29.6429 19.5921 28.6853 19.4803 27.6494C19.4681 27.5356 18.9696 25.4885 18.3727 23.1003L17.2874 18.7579V15.9233V13.0887L20.6698 11.8863C22.5302 11.225 24.1367 10.6442 24.2398 10.5958C25.1725 10.1573 25.6811 9.08532 25.4407 8.06454C25.3872 7.83741 25.2031 7.44981 25.0524 7.24699C24.8326 6.95136 24.4552 6.66642 24.0925 6.5224C23.7068 6.36927 23.1663 6.33116 22.7663 6.4289C22.6484 6.45768 21.1414 6.95206 19.4174 7.5275L16.283 8.57374H13.0007H9.71847L6.58398 7.5275C4.86001 6.95206 3.35304 6.45768 3.23515 6.4289L3.02082 6.37653L2.72611 6.37886C2.56402 6.38015 2.35304 6.39733 2.25726 6.41702ZM2.50479 8.13564C2.30015 8.23654 2.17455 8.4846 2.2258 8.68659C2.25602 8.80572 2.34248 8.94165 2.42955 9.00696C2.46227 9.03151 4.27547 9.68767 6.45889 10.4651L10.4287 11.8786V15.4254V18.9723L9.33026 23.3672C8.7261 25.7844 8.2318 27.8136 8.2318 27.8766C8.2318 28.0357 8.30837 28.1644 8.44648 28.2374C8.63659 28.338 8.82523 28.3031 8.96045 28.1424L9.03019 28.0595L10.6277 23.2679L12.2253 18.4763L12.3139 18.3555C12.4162 18.2158 12.5635 18.1109 12.7427 18.05C13.0769 17.9365 13.4748 18.0652 13.6876 18.3555L13.7761 18.4763L15.3737 23.2679L16.9712 28.0595L17.041 28.1424C17.1762 28.3031 17.3648 28.338 17.5549 28.2374C17.6931 28.1644 17.7696 28.0357 17.7696 27.8766C17.7696 27.8136 17.2753 25.7844 16.6712 23.3672L15.5727 18.9723V15.4254V11.8785L19.5518 10.4618L23.531 9.04509L23.6127 8.96515C23.732 8.84849 23.781 8.73869 23.7817 8.58604C23.7826 8.42537 23.7211 8.30671 23.5763 8.18967L23.4754 8.10809L23.3218 8.09826L23.1681 8.08842L19.8729 9.18869L16.5776 10.2889H13.0007H9.42379L6.12865 9.19013L2.83352 8.09134L2.71285 8.09196C2.64646 8.09228 2.55285 8.11195 2.50479 8.13564Z"})}),(0,Q.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4917 0.0390191C10.9891 0.276653 9.83951 1.43644 9.61036 2.94578C9.45194 3.98907 9.82094 5.09148 10.5813 5.84664C11.935 7.19114 14.0664 7.19114 15.4201 5.84664C16.7606 4.51534 16.7599 2.35948 15.4184 1.00802C14.6598 0.24369 13.5405 -0.126872 12.4917 0.0390191ZM12.706 1.73821C12.3594 1.80312 12.0529 1.96654 11.7962 2.22334C11.5927 2.42688 11.4709 2.62091 11.3736 2.8966L11.3042 3.09318V3.42818V3.76317L11.3736 3.95975C11.4709 4.23544 11.5927 4.42947 11.7962 4.63302C11.9997 4.83659 12.1937 4.95842 12.4693 5.05578L12.6658 5.12519H13.0007H13.3356L13.5321 5.05578C13.8077 4.95842 14.0017 4.83659 14.2052 4.63302C14.4087 4.42947 14.5305 4.23544 14.6278 3.95975L14.6972 3.76317V3.42818V3.09318L14.6278 2.8966C14.5305 2.62091 14.4087 2.42688 14.2052 2.22334C13.8866 1.90463 13.5251 1.74475 13.0811 1.72625C12.9411 1.72041 12.7723 1.7258 12.706 1.73821ZM2.25726 6.41702C2.03505 6.46277 1.77857 6.56493 1.57407 6.68923C0.660849 7.24423 0.26669 8.37245 0.639978 9.36291C0.842577 9.90052 1.26101 10.3605 1.76161 10.5958C1.86476 10.6442 3.47127 11.225 5.3316 11.8863L8.71405 13.0887V15.9233V18.7579L7.62872 23.1003C7.0318 25.4885 6.53337 27.5356 6.5211 27.6494C6.40938 28.6853 7.0643 29.6429 8.08672 29.9387L8.29878 30L8.64707 29.998C9.06199 29.9955 9.23847 29.9553 9.5888 29.7832C10.0024 29.58 10.368 29.2187 10.5625 28.821C10.6057 28.7326 11.169 27.0715 11.8142 25.1297C12.4594 23.188 12.9933 21.5993 13.0007 21.5993C13.0081 21.5993 13.542 23.188 14.1872 25.1297C14.8324 27.0715 15.3957 28.7326 15.439 28.821C15.6334 29.2187 15.999 29.58 16.4126 29.7832C16.763 29.9553 16.9394 29.9955 17.3544 29.998L17.7026 30L17.9147 29.9387C18.9371 29.6429 19.5921 28.6853 19.4803 27.6494C19.4681 27.5356 18.9696 25.4885 18.3727 23.1003L17.2874 18.7579V15.9233V13.0887L20.6698 11.8863C22.5302 11.225 24.1367 10.6442 24.2398 10.5958C25.1725 10.1573 25.6811 9.08532 25.4407 8.06454C25.3872 7.83741 25.2031 7.44981 25.0524 7.24699C24.8326 6.95136 24.4552 6.66642 24.0925 6.5224C23.7068 6.36927 23.1663 6.33116 22.7663 6.4289C22.6484 6.45768 21.1414 6.95206 19.4174 7.5275L16.283 8.57374H13.0007H9.71847L6.58398 7.5275C4.86001 6.95206 3.35304 6.45768 3.23515 6.4289L3.02082 6.37653L2.72611 6.37886C2.56402 6.38015 2.35304 6.39733 2.25726 6.41702ZM2.50479 8.13564C2.30015 8.23654 2.17455 8.4846 2.2258 8.68659C2.25602 8.80572 2.34248 8.94165 2.42955 9.00696C2.46227 9.03151 4.27547 9.68767 6.45889 10.4651L10.4287 11.8786V15.4254V18.9723L9.33026 23.3672C8.7261 25.7844 8.2318 27.8136 8.2318 27.8766C8.2318 28.0357 8.30837 28.1644 8.44648 28.2374C8.63659 28.338 8.82523 28.3031 8.96045 28.1424L9.03019 28.0595L10.6277 23.2679L12.2253 18.4763L12.3139 18.3555C12.4162 18.2158 12.5635 18.1109 12.7427 18.05C13.0769 17.9365 13.4748 18.0652 13.6876 18.3555L13.7761 18.4763L15.3737 23.2679L16.9712 28.0595L17.041 28.1424C17.1762 28.3031 17.3648 28.338 17.5549 28.2374C17.6931 28.1644 17.7696 28.0357 17.7696 27.8766C17.7696 27.8136 17.2753 25.7844 16.6712 23.3672L15.5727 18.9723V15.4254V11.8785L19.5518 10.4618L23.531 9.04509L23.6127 8.96515C23.732 8.84849 23.781 8.73869 23.7817 8.58604C23.7826 8.42537 23.7211 8.30671 23.5763 8.18967L23.4754 8.10809L23.3218 8.09826L23.1681 8.08842L19.8729 9.18869L16.5776 10.2889H13.0007H9.42379L6.12865 9.19013L2.83352 8.09134L2.71285 8.09196C2.64646 8.09228 2.55285 8.11195 2.50479 8.13564Z",strokeWidth:"0.354242",mask:"url(#path-1-inside-1_2435_12083)"})]})}var v=require("react");var Ye=["p","span","div","h1","h2","h3","h4","h5","h6","a","li","td","th","label","input","textarea","select","button","blockquote","pre","code"],ti={normal:null,high:{styles:{filter:"contrast(125%)"}},dark:{styles:{color:"#FFF",fill:"#FFF","background-color":"#000"},childrenSelector:Ye},light:{styles:{color:"#000",fill:"#000","background-color":"#FFF"},childrenSelector:Ye}};function ii(e){let{styles:t,selector:n,childrenSelector:o}=e,s="";if(t){let a=Object.keys(t).map(c=>`${c}: ${t[c]} !important;`).join(" ");s+=`${n} { ${a} }`,o&&o.forEach(c=>{s+=`${n} ${c} { ${a} }`})}return s}function ni({css:e,id:t}){let n=document.getElementById(t);n&&n.remove();let o=document.createElement("style");o.id=t,o.textContent=e,document.head.appendChild(o)}function ue(e){let t=ti[e],n="ape-accessibility-contrast",o="ape-contrast-active";if(!t){let r=document.getElementById(n);r&&r.remove(),document.documentElement.classList.remove(o);return}let s=ii({...t,selector:`html.${o}`});ni({css:s,id:n}),document.documentElement.classList.add(o)}var Te="ape-accessibility-settings";function qe(e,t,n=30){let o=new Date;o.setTime(o.getTime()+n*24*60*60*1e3),document.cookie=`${e}=${t};expires=${o.toUTCString()};path=/`}function oi(e){let t=e+"=",n=document.cookie.split(";");for(let o=0;o<n.length;o++){let s=n[o];for(;s?.charAt(0)===" ";)s=s?.substring(1,s?.length);if(s?.indexOf(t)===0)return s.substring(t.length,s.length)}return null}function si(e,t){let n=JSON.stringify(t);try{localStorage.setItem(e,n)}catch(o){console.error("Error saving storage data:",o),qe(e,n)}}function ri(e){let t=null;try{t=localStorage.getItem(e)}catch(n){console.error("Error getting storage data:",n),t=oi(e)}if(!t)return null;try{return JSON.parse(t)}catch(n){return console.error("Error parsing storage data:",n),null}}function ai(e){try{localStorage.removeItem(e)}catch(t){qe(e,"",-1),console.error("Error clearing storage data:",t)}}var Re=class{getSettings(){return ri(Te)}saveSettings(t){let n={...t,updatedAt:new Date};si(Te,n)}clearSettings(){ai(Te)}},ge=new Re;var x={fontSize:100,contrast:"normal",language:"es",colorblindMode:"normal",saturationMode:"normal",dyslexiaFont:!1,letterSpacing:0,lineHeight:0,fontWeight:!1,highlightMode:"none",readingGuide:!1,stopAnimations:!1,bigCursor:!1,hideImages:!1,textAlign:"default",ttsActive:!1},y={...x};function ci(){let e=ge.getSettings();return e&&(y={...x,...e}),y}function d(){return{...y}}function Pe(e){return y={...y,...e,updatedAt:new Date},ge.saveSettings(y),Je("update",y),y}function ee(){return y={...x},ge.saveSettings(y),Je("reset",y),y}function u(e,t){return Pe({[e]:t})}function Je(e,t){let n=new CustomEvent("accessibilitySettingsChanged",{detail:{type:e,settings:t,timestamp:new Date}});window.dispatchEvent(n)}function Qe(e=y){return e.fontSize!==x.fontSize||e.contrast!==x.contrast||e.colorblindMode!==x.colorblindMode||e.saturationMode!==x.saturationMode||e.dyslexiaFont===!0||(e.letterSpacing??0)>0||(e.lineHeight??0)>0||e.fontWeight===!0||e.highlightMode!==x.highlightMode||e.readingGuide===!0||e.stopAnimations===!0||e.bigCursor===!0||e.hideImages===!0||e.textAlign!==x.textAlign||e.ttsActive===!0}typeof window<"u"&&ci();function et(){let[e,t]=(0,v.useState)(()=>d().contrast||"normal");(0,v.useEffect)(()=>{ue(e)},[]),(0,v.useEffect)(()=>{let g=L=>{let{settings:w}=L.detail,S=w.contrast||"normal";S!==e&&(t(S),ue(S))};return window.addEventListener("accessibilitySettingsChanged",g),()=>{window.removeEventListener("accessibilitySettingsChanged",g)}},[e]);let n=(0,v.useCallback)(g=>{t(g),ue(g),u("contrast",g),window.dispatchEvent(new CustomEvent("accessibilityContrastChanged",{detail:{mode:g,isActive:g!=="normal"}}))},[]),o=(0,v.useCallback)(()=>{n(e==="normal"?"high":"normal")},[e,n]),s=(0,v.useCallback)(g=>{n(g)},[n]),r=(0,v.useCallback)(()=>{n(e==="high"?"normal":"high")},[e,n]),a=(0,v.useCallback)(()=>{n(e==="dark"?"normal":"dark")},[e,n]),c=(0,v.useCallback)(()=>{n(e==="light"?"normal":"light")},[e,n]),l=(0,v.useCallback)(()=>{switch(e){case"high":return"Alto contraste";case"dark":return"Contraste oscuro";case"light":return"Contraste claro";default:return"Normal"}},[e]);return{contrastMode:e,isActive:e!=="normal",getContrastDescription:l,setContrastMode:s,updateContrast:n,toggleContrast:o,toggleHighContrast:r,toggleDarkContrast:a,toggleLightContrast:c,isHighContrast:e==="high",isDarkContrast:e==="dark",isLightContrast:e==="light"}}var b=require("react");var tt=['i[class*="icon"]','i[class*="fa-"]',".icon",".fa",".material-icons","[data-icon]","svg"],li="h1,h2,h3,h4,h5,h6,p,a,dl,dt,li,ol,th,td,span,blockquote,.asw-text",it={};tt.forEach(e=>{it[e]=!0});function di(e=1){document.querySelectorAll(li).forEach(t=>{let n=t;if(Array.prototype.slice.call(n.classList).some(a=>it[`.${a}`])||tt.some(a=>n.matches(a)))return;let s=Number(n.dataset.apeOrgFontSize)||parseInt(window.getComputedStyle(n).fontSize);n.dataset.apeOrgFontSize||(n.dataset.apeOrgFontSize=String(s));let r=s*e;n.style.fontSize=`${r}px`})}function ui(){document.querySelectorAll("[data-ape-org-font-size]").forEach(e=>{let t=e,n=t.dataset.apeOrgFontSize;n&&(t.style.fontSize=`${n}px`,delete t.dataset.apeOrgFontSize)})}function gi(e){return e/100}function pe(e){let t=gi(e);e===100?ui():di(t)}function nt(){let[s,r]=(0,b.useState)(()=>d().fontSize||100),[a,c]=(0,b.useState)(!1);(0,b.useEffect)(()=>{pe(s)},[]),(0,b.useEffect)(()=>{let p=B=>{let{settings:C}=B.detail,J=C.fontSize||100;J!==s&&(r(J),pe(J))};return window.addEventListener("accessibilitySettingsChanged",p),()=>{window.removeEventListener("accessibilitySettingsChanged",p)}},[s]);let l=(0,b.useCallback)(p=>{r(p),pe(p),u("fontSize",p),window.dispatchEvent(new CustomEvent("accessibilityTextSizeChanged",{detail:{percentage:p,isActive:p!==100}}))},[]),m=(0,b.useCallback)(()=>{let p=Math.min(s+5,120);p!==s&&l(p)},[s,l]),g=(0,b.useCallback)(()=>{let p=Math.max(s-5,90);p!==s&&l(p)},[s,l]),L=(0,b.useCallback)(()=>{l(100)},[l]),w=(0,b.useCallback)(p=>{p>=90&&p<=120&&l(p)},[l]),S=(0,b.useCallback)(()=>{c(!a)},[a]),P=(0,b.useCallback)(()=>s===100?"Normal":s<100?`Reducido ${s}%`:`Aumentado ${s}%`,[s]),q=s<120,_=s>90;return{textSizePercentage:s,increaseTextSize:m,decreaseTextSize:g,resetTextSize:L,canIncrease:q,canDecrease:_,getTextSizeDescription:P,isActive:s!==100,toggleTextSizeOptions:S,setSpecificTextSize:w,isOptionsOpen:a,setIsOptionsOpen:c,MIN_SIZE:90,MAX_SIZE:120,NORMAL_SIZE:100,INCREMENT:5}}var M=require("react");function ot(){let[e,t]=(0,M.useState)(()=>d().language||"es");(0,M.useEffect)(()=>{let a=c=>{let{settings:l}=c.detail,m=l.language||"es";m!==e&&t(m)};return window.addEventListener("accessibilitySettingsChanged",a),()=>{window.removeEventListener("accessibilitySettingsChanged",a)}},[e]);let n=(0,M.useCallback)(a=>{t(a),u("language",a),window.dispatchEvent(new CustomEvent("accessibilityLanguageChanged",{detail:{mode:a,isActive:a!=="es"}}))},[]),o=(0,M.useCallback)(()=>{n(e==="es"?"en":"es")},[e,n]),s=(0,M.useCallback)(a=>{n(a)},[n]),r=(0,M.useCallback)(()=>e==="en"?"English":"Espa\xF1ol",[e]);return{languageMode:e,isActive:e!=="es",toggleLanguage:o,setSpecificLanguage:s,getLanguageDescription:r,updateLanguage:n,isEnglish:e==="en",isSpanish:e==="es"}}var V=require("react");function fe(e){let t=document.documentElement;e==="normal"?t.removeAttribute("data-colorblind-mode"):t.setAttribute("data-colorblind-mode",e)}function st(){let[e,t]=(0,V.useState)(()=>d().colorblindMode??"normal");(0,V.useEffect)(()=>{fe(e)},[]),(0,V.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.colorblindMode??"normal";a!==e&&(t(a),fe(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,V.useCallback)(o=>{t(o),fe(o),u("colorblindMode",o),window.dispatchEvent(new CustomEvent("accessibilityColorblindChanged",{detail:{mode:o}}))},[]);return{colorblindMode:e,setColorblindMode:n,isActive:e!=="normal"}}var G=require("react");var rt={normal:null,high:"accessibility-saturation-high",low:"accessibility-saturation-low",mono:"accessibility-saturation-mono"},pi=Object.values(rt).filter(Boolean);function me(e){let t=document.documentElement;pi.forEach(o=>t.classList.remove(o));let n=rt[e];n&&t.classList.add(n)}function at(){let[e,t]=(0,G.useState)(()=>d().saturationMode??"normal");(0,G.useEffect)(()=>{me(e)},[]),(0,G.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.saturationMode??"normal";a!==e&&(t(a),me(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,G.useCallback)(o=>{t(o),me(o),u("saturationMode",o),window.dispatchEvent(new CustomEvent("accessibilitySaturationChanged",{detail:{mode:o}}))},[]);return{saturationMode:e,setSaturationMode:n,isActive:e!=="normal"}}var $=require("react");var ct="accessibility-dyslexia";function he(e){let t=document.documentElement;e?t.classList.add(ct):t.classList.remove(ct)}function lt(){let[e,t]=(0,$.useState)(()=>d().dyslexiaFont??!1);(0,$.useEffect)(()=>{he(e)},[]),(0,$.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.dyslexiaFont??!1;a!==e&&(t(a),he(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,$.useCallback)(()=>{let o=!e;t(o),he(o),u("dyslexiaFont",o),window.dispatchEvent(new CustomEvent("accessibilityDyslexiaChanged",{detail:{isActive:o}}))},[e]);return{isActive:e,toggle:n}}var k=require("react");var dt="accessibility-letter-spacing",ut="accessibility-line-height",gt="accessibility-font-weight";function te(e){let t=document.documentElement;t.style.setProperty("--accessibility-letter-spacing",String(e)),e>0?t.classList.add(dt):t.classList.remove(dt)}function ie(e){let t=document.documentElement;t.style.setProperty("--accessibility-line-height",String(e)),e>0?t.classList.add(ut):t.classList.remove(ut)}function be(e){let t=document.documentElement;e?t.classList.add(gt):t.classList.remove(gt)}var pt=3;function ft(){let[e,t]=(0,k.useState)(()=>d().letterSpacing??0);(0,k.useEffect)(()=>{te(e)},[]),(0,k.useEffect)(()=>{let r=a=>{let{settings:c}=a.detail,l=c.letterSpacing??0;l!==e&&(t(l),te(l))};return window.addEventListener("accessibilitySettingsChanged",r),()=>window.removeEventListener("accessibilitySettingsChanged",r)},[e]);let n=(0,k.useCallback)(()=>{let r=Math.min(e+1,pt);t(r),te(r),u("letterSpacing",r)},[e]),o=(0,k.useCallback)(()=>{let r=Math.max(e-1,0);t(r),te(r),u("letterSpacing",r)},[e]),s=(0,k.useCallback)(()=>{t(0),te(0),u("letterSpacing",0)},[]);return{level:e,increase:n,decrease:o,reset:s,isActive:e>0,canIncrease:e<pt,canDecrease:e>0}}var I=require("react");var mt=3;function ht(){let[e,t]=(0,I.useState)(()=>d().lineHeight??0);(0,I.useEffect)(()=>{ie(e)},[]),(0,I.useEffect)(()=>{let r=a=>{let{settings:c}=a.detail,l=c.lineHeight??0;l!==e&&(t(l),ie(l))};return window.addEventListener("accessibilitySettingsChanged",r),()=>window.removeEventListener("accessibilitySettingsChanged",r)},[e]);let n=(0,I.useCallback)(()=>{let r=Math.min(e+1,mt);t(r),ie(r),u("lineHeight",r)},[e]),o=(0,I.useCallback)(()=>{let r=Math.max(e-1,0);t(r),ie(r),u("lineHeight",r)},[e]),s=(0,I.useCallback)(()=>{t(0),ie(0),u("lineHeight",0)},[]);return{level:e,increase:n,decrease:o,reset:s,isActive:e>0,canIncrease:e<mt,canDecrease:e>0}}var Z=require("react");function bt(){let[e,t]=(0,Z.useState)(()=>d().fontWeight??!1);(0,Z.useEffect)(()=>{be(e)},[]),(0,Z.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.fontWeight??!1;a!==e&&(t(a),be(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,Z.useCallback)(()=>{let o=!e;t(o),be(o),u("fontWeight",o)},[e]);return{isBold:e,toggle:n,isActive:e}}var N=require("react");function ye(e){let t=document.documentElement;e==="none"?t.removeAttribute("data-highlight"):t.setAttribute("data-highlight",e)}function yt(){let[e,t]=(0,N.useState)(()=>d().highlightMode??"none");(0,N.useEffect)(()=>{ye(e)},[]),(0,N.useEffect)(()=>{let r=a=>{let{settings:c}=a.detail,l=c.highlightMode??"none";l!==e&&(t(l),ye(l))};return window.addEventListener("accessibilitySettingsChanged",r),()=>window.removeEventListener("accessibilitySettingsChanged",r)},[e]);let n=(0,N.useCallback)(r=>{t(r),ye(r),u("highlightMode",r)},[]),o=(0,N.useCallback)(()=>{n(e==="titles"?"none":e==="links"?"both":e==="both"?"links":"titles")},[e,n]),s=(0,N.useCallback)(()=>{n(e==="links"?"none":e==="titles"?"both":e==="both"?"titles":"links")},[e,n]);return{highlightMode:e,setHighlightMode:n,toggleTitles:o,toggleLinks:s,isTitlesActive:e==="titles"||e==="both",isLinksActive:e==="links"||e==="both",isActive:e!=="none"}}var j=require("react");var vt="accessibility-stop-animations",St="accessibility-big-cursor";function ve(e){e?fi():mi()}function Se(e){let t=document.documentElement;e?t.classList.add(vt):t.classList.remove(vt)}function Ce(e){let t=document.documentElement;e?t.classList.add(St):t.classList.remove(St)}var Ct=`
|
|
10
2
|
position: fixed;
|
|
11
3
|
left: 0;
|
|
12
4
|
right: 0;
|
|
13
5
|
background: rgba(0, 0, 0, 0.65);
|
|
14
6
|
pointer-events: none;
|
|
15
7
|
z-index: 9998;
|
|
16
|
-
`,Ge=null,hl=null;function ov(){Ge||(Ge=document.createElement("div"),Ge.id="ape-reading-guide-top",Ge.style.cssText=A2+"top: 0;",hl=document.createElement("div"),hl.id="ape-reading-guide-bottom",hl.style.cssText=A2+"bottom: 0;",document.body.appendChild(Ge),document.body.appendChild(hl),C2(window.innerHeight/2),document.addEventListener("mousemove",E2))}function sv(){document.removeEventListener("mousemove",E2),Ge?.remove(),hl?.remove(),Ge=null,hl=null}function E2(t){C2(t.clientY)}function C2(t){let l=Math.max(0,t-40),n=t+40;Ge&&(Ge.style.height=`${l}px`),hl&&(hl.style.top=`${n}px`)}function M2(){let[t,e]=(0,Kl.useState)(()=>O().stopAnimations??!1);(0,Kl.useEffect)(()=>{ju(t)},[]),(0,Kl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.stopAnimations??!1;u!==t&&(e(u),ju(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Kl.useCallback)(()=>{let n=!t;e(n),ju(n),q("stopAnimations",n)},[t]);return{isActive:t,toggle:l}}var Jl=_(I(),1);function T2(){let[t,e]=(0,Jl.useState)(()=>O().bigCursor??!1);(0,Jl.useEffect)(()=>{Zu(t)},[]),(0,Jl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.bigCursor??!1;u!==t&&(e(u),Zu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Jl.useCallback)(()=>{let n=!t;e(n),Zu(n),q("bigCursor",n)},[t]);return{isActive:t,toggle:l}}var kl=_(I(),1);function z2(){let[t,e]=(0,kl.useState)(()=>O().readingGuide??!1);(0,kl.useEffect)(()=>{Xu(t)},[]),(0,kl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.readingGuide??!1;u!==t&&(e(u),Xu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,kl.useCallback)(()=>{let n=!t;e(n),Xu(n),q("readingGuide",n)},[t]);return{isActive:t,toggle:l}}var Wl=_(I(),1);var x2="accessibility-hide-images";function Qu(t){let e=document.documentElement;t?e.classList.add(x2):e.classList.remove(x2)}function _2(){let[t,e]=(0,Wl.useState)(()=>O().hideImages??!1);(0,Wl.useEffect)(()=>{Qu(t)},[]),(0,Wl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.hideImages??!1;u!==t&&(e(u),Qu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Wl.useCallback)(()=>{let n=!t;e(n),Qu(n),q("hideImages",n)},[t]);return{isActive:t,toggle:l}}var Sl=_(I(),1);function $a(t){let e=document.documentElement;t==="default"?e.removeAttribute("data-text-align"):e.setAttribute("data-text-align",t)}var jo=["default","left","center","right"];function O2(){let[t,e]=(0,Sl.useState)(()=>O().textAlign??"default");(0,Sl.useEffect)(()=>{$a(t)},[]),(0,Sl.useEffect)(()=>{let a=i=>{let{settings:u}=i.detail,c=u.textAlign??"default";c!==t&&(e(c),$a(c))};return window.addEventListener("accessibilitySettingsChanged",a),()=>window.removeEventListener("accessibilitySettingsChanged",a)},[t]);let l=(0,Sl.useCallback)(()=>{let a=jo.indexOf(t),i=jo[(a+1)%jo.length]??"default";e(i),$a(i),q("textAlign",i)},[t]),n=(0,Sl.useCallback)(a=>{e(a),$a(a),q("textAlign",a)},[]);return{mode:t,cycle:l,setMode:n,isActive:t!=="default",label:t==="default"?"Por defecto":t==="left"?"Izquierda":t==="center"?"Centrado":"Derecha"}}var pl=_(I(),1);var kn=null;function wu(){return typeof window<"u"&&"speechSynthesis"in window}function L2(t="es"){if(!wu())return;Ia();let l=(document.querySelector("main")??document.body).innerText;l.trim()&&(kn=new SpeechSynthesisUtterance(l),kn.lang=t==="es"?"es-ES":"en-US",kn.rate=1,window.speechSynthesis.speak(kn))}function Ia(){wu()&&(window.speechSynthesis.cancel(),kn=null)}function N2(){return kn}function D2(){let[t,e]=(0,pl.useState)(!1),[l]=(0,pl.useState)(()=>wu());(0,pl.useEffect)(()=>()=>{Ia()},[]),(0,pl.useEffect)(()=>{let a=()=>{Ia(),e(!1)};return window.addEventListener("accessibilityReset",a),()=>window.removeEventListener("accessibilityReset",a)},[]);let n=(0,pl.useCallback)(()=>{if(t)Ia(),e(!1);else{let a=O().language??"es";L2(a),e(!0);let i=N2();i&&(i.onend=()=>e(!1),i.onerror=()=>e(!1))}},[t]);return{isReading:t,isSupported:l,toggle:n}}var Fl=_(I(),1);var H2={visionImpaired:{contrast:"high",fontSize:120,highlightMode:"both",bigCursor:!0},cognitive:{dyslexiaFont:!0,lineHeight:2,letterSpacing:1,stopAnimations:!0},motorImpaired:{bigCursor:!0,stopAnimations:!0,fontSize:110},seniorFriendly:{fontSize:120,lineHeight:2,contrast:"high",bigCursor:!0}},Zo={visionImpaired:"Visi\xF3n reducida",cognitive:"Cognitivo",motorImpaired:"Motor",seniorFriendly:"Adulto mayor"};function Qo(t){for(let[e,l]of Object.entries(H2))if(Object.entries(l).every(([a,i])=>t[a]===i))return e;return"none"}function U2(t){return t==="none"?{...ae}:H2[t]}function R2(){let[t,e]=(0,Fl.useState)(()=>Qo(O()));(0,Fl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail;e(Qo(i))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[]),(0,Fl.useEffect)(()=>{let n=()=>e("none");return window.addEventListener("accessibilityReset",n),()=>window.removeEventListener("accessibilityReset",n)},[]);let l=(0,Fl.useCallback)(n=>{if(n===t){Vn(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}));return}let a=U2(n);Xo(a)},[t]);return{activeProfile:t,applyProfile:l}}var bl=_(I(),1);var rv=["H1","H2","H3","H4","H5","H6"],dv=["main","nav","aside","footer","header",'[role="banner"]','[role="navigation"]','[role="main"]','[role="complementary"]','[role="contentinfo"]'];function B2(){let t=[],e=new Set;return document.querySelectorAll(dv.join(",")).forEach(a=>{if(e.has(a))return;e.add(a);let i=a.getAttribute("role")||a.tagName.toLowerCase(),u=a.getAttribute("aria-label")||i;t.push({tag:i,text:u,level:0,element:a})}),document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(a=>{let i=a.tagName;if(!rv.includes(i))return;let u=parseInt(i.charAt(1),10),c=(a.textContent??"").trim().slice(0,80);c&&t.push({tag:i.toLowerCase(),text:c,level:u,element:a})}),t}function q2(t){t.scrollIntoView({behavior:"smooth",block:"center"}),t.focus({preventScroll:!0})}function Y2(){let[t,e]=(0,bl.useState)(!1),[l,n]=(0,bl.useState)([]),a=(0,bl.useCallback)(()=>{n(B2()),e(!0)},[]),i=(0,bl.useCallback)(()=>{e(!1)},[]),u=(0,bl.useCallback)(()=>{t?i():a()},[t,a,i]),c=(0,bl.useCallback)(f=>{q2(f.element)},[]);return{isOpen:t,structure:l,toggle:u,open:a,close:i,navigateTo:c}}function Vu(){let t=t2(),e=n2(),l=a2(),n=i2(),a=c2(),i=o2(),u=g2(),c=v2(),f=h2(),r=S2(),y=M2(),h=T2(),g=z2(),v=_2(),A=O2(),C=D2(),L=R2(),s=Y2(),o=O(),d=Pd(o);return{contrast:t,textSize:e,language:l,colorblind:n,saturation:a,dyslexia:i,letterSpacing:u,lineHeight:c,fontWeight:f,highlight:r,animations:y,cursor:h,readingGuide:g,hideImages:v,textAlign:A,tts:C,profiles:L,pageStructure:s,hasActiveFeatures:d,resetAllFeatures:()=>{Vn(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))},currentSettings:o}}var j2=_(I(),1);var Ju=_(pt(),1);function Ku({title:t,children:e}){return(0,Ju.jsxs)("section",{className:"px-4 py-3",children:[(0,Ju.jsx)("h3",{className:"text-xs font-semibold text-blue-700 uppercase tracking-wider mb-3",children:t}),e]})}var Pa=_(pt(),1);function mt({icon:t,label:e,isActive:l,onClick:n,disabled:a=!1,className:i}){return(0,Pa.jsxs)("button",{type:"button",onClick:a?void 0:n,disabled:a,"aria-pressed":l,"aria-label":e,className:ge("flex flex-col items-center justify-center gap-1.5 rounded-3xl p-3 shadow-lg text-center cursor-pointer transition-all","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-1 focus:bg-blue-50",l?"ring-2 ring-green-500 bg-green-50 text-blue-900":"border-gray-200 bg-white text-gray-700 hover:ring-2 hover:ring-blue-300 hover:bg-blue-50",a&&"cursor-not-allowed opacity-40",i),children:[(0,Pa.jsx)("span",{className:ge("h-6 w-6",l?"text-blue-700":"text-gray-500"),children:t}),(0,Pa.jsx)("span",{className:"text-base font-medium leading-tight",children:e})]})}var Wn=_(pt(),1);function G2({percentage:t,onIncrease:e,onDecrease:l,onReset:n,canIncrease:a,canDecrease:i}){return(0,Wn.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Wn.jsx)("button",{type:"button",onClick:l,disabled:!i,"aria-label":"Reducir tama\xF1o de texto",className:"flex h-9 w-9 items-center justify-center rounded-lg border border-gray-200 bg-white text-lg font-bold text-blue-700 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:"\u2212"}),(0,Wn.jsxs)("button",{type:"button",onClick:n,"aria-label":"Restablecer tama\xF1o de texto",className:"flex-1 rounded-lg border border-gray-200 bg-white py-2 text-center text-sm font-semibold text-blue-900 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:[t,"%"]}),(0,Wn.jsx)("button",{type:"button",onClick:e,disabled:!a,"aria-label":"Aumentar tama\xF1o de texto",className:"flex h-9 w-9 items-center justify-center rounded-lg border border-gray-200 bg-white text-lg font-bold text-blue-700 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:"+"})]})}var m=_(pt(),1);function Z2({onClose:t}){let[e,l]=(0,j2.useState)(!1),{contrast:n,textSize:a,saturation:i,dyslexia:u,letterSpacing:c,lineHeight:f,fontWeight:r,highlight:y,animations:h,cursor:g,readingGuide:v,colorblind:A,hideImages:C,textAlign:L,tts:s,profiles:o,pageStructure:d,resetAllFeatures:S}=Vu();return(0,m.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":"Men\xFA de Accesibilidad",className:"flex flex-col h-full overflow-hidden",style:{backgroundColor:"var(--apea-color-panel-bg, #f9fafb)"},children:[(0,m.jsxs)("div",{className:"flex items-center justify-between apea-gradient px-4 py-3 shrink-0",children:[(0,m.jsx)("h2",{className:"text-sm font-bold text-white tracking-wide",children:"Men\xFA de Accesibilidad"}),(0,m.jsx)("div",{className:"flex items-center gap-2",children:(0,m.jsx)("button",{type:"button",onClick:t,"aria-label":"Cerrar men\xFA de accesibilidad",className:"flex h-8 w-8 items-center justify-center rounded-full border border-white/30 text-white cursor-pointer transition hover:bg-white/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white",children:(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.2,className:"h-4 w-4","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M18 6 6 18M6 6l12 12",strokeLinecap:"round",strokeLinejoin:"round"})})})})]}),(0,m.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[(0,m.jsxs)("section",{className:"px-4 py-3",children:[(0,m.jsxs)("button",{type:"button",onClick:()=>l(b=>!b),"aria-expanded":e,className:"flex w-full items-center justify-between text-xs font-semibold text-blue-700 uppercase tracking-wider cursor-pointer",children:["Perfiles de accesibilidad",(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:`h-4 w-4 transition-transform duration-300 ease-in-out ${e?"rotate-180":""}`,"data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M6 9l6 6 6-6",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,m.jsx)("div",{className:`grid transition-[grid-template-rows] duration-300 ease-in-out ${e?"grid-rows-[1fr]":"grid-rows-[0fr]"}`,children:(0,m.jsx)("div",{className:"overflow-hidden pb-5 px-2 -mx-2",children:(0,m.jsx)("div",{className:`grid grid-cols-2 gap-2 pt-3 transition-opacity duration-300 ease-in-out ${e?"opacity-100":"opacity-0"}`,children:Object.keys(Zo).map(b=>(0,m.jsx)(mt,{icon:(0,m.jsx)(Nv,{profile:b}),label:Zo[b],isActive:o.activeProfile===b,onClick:()=>o.applyProfile(b)},b))})})})]}),(0,m.jsxs)(Ku,{title:"Ajustes de contenido",children:[(0,m.jsxs)("div",{className:"mb-3 rounded-xl border border-gray-200 bg-white p-3",children:[(0,m.jsxs)("div",{className:"mb-2 flex items-center gap-2 text-sm font-medium text-gray-700",children:[(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-4 w-4 shrink-0","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M4 7V4h16v3M9 20h6M12 4v16",strokeLinecap:"round",strokeLinejoin:"round"})}),"Tama\xF1o de fuente"]}),(0,m.jsx)(G2,{percentage:a.textSizePercentage,onIncrease:a.increaseTextSize,onDecrease:a.decreaseTextSize,onReset:a.resetTextSize,canIncrease:a.canIncrease,canDecrease:a.canDecrease})]}),(0,m.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,m.jsx)(mt,{icon:(0,m.jsx)(mv,{}),label:"Resaltar t\xEDtulos",isActive:y.isTitlesActive,onClick:y.toggleTitles}),(0,m.jsx)(mt,{icon:(0,m.jsx)(gv,{}),label:"Resaltar enlaces",isActive:y.isLinksActive,onClick:y.toggleLinks}),(0,m.jsx)(mt,{icon:(0,m.jsx)(yv,{}),label:"Fuente dislexia",isActive:u.isActive,onClick:u.toggle}),(0,m.jsx)(X2,{icon:(0,m.jsx)(vv,{}),label:"Esp. de letras",level:c.level,onIncrease:c.increase,onDecrease:c.decrease,canIncrease:c.canIncrease,canDecrease:c.canDecrease}),(0,m.jsx)(X2,{icon:(0,m.jsx)(hv,{}),label:"Interlineado",level:f.level,onIncrease:f.increase,onDecrease:f.decrease,canIncrease:f.canIncrease,canDecrease:f.canDecrease}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Sv,{}),label:"Fuente negrita",isActive:r.isBold,onClick:r.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(zv,{}),label:"Ocultar im\xE1genes",isActive:C.isActive,onClick:C.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(xv,{mode:L.mode}),label:`Alinear: ${L.label}`,isActive:L.isActive,onClick:L.cycle})]})]}),(0,m.jsxs)(Ku,{title:"Ajustes de color",children:[(0,m.jsxs)("div",{className:"grid grid-cols-3 gap-2 mb-3",children:[(0,m.jsx)(mt,{icon:(0,m.jsx)(pv,{}),label:"Alto contraste",isActive:n.isHighContrast,onClick:()=>n.setContrastMode(n.isHighContrast?"normal":"high")}),(0,m.jsx)(mt,{icon:(0,m.jsx)(bv,{}),label:"Alta saturaci\xF3n",isActive:i.saturationMode==="high",onClick:()=>i.setSaturationMode(i.saturationMode==="high"?"normal":"high")}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Av,{}),label:"Baja saturaci\xF3n",isActive:i.saturationMode==="low",onClick:()=>i.setSaturationMode(i.saturationMode==="low"?"normal":"low")}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Ev,{}),label:"Monocromo",isActive:i.saturationMode==="mono",onClick:()=>i.setSaturationMode(i.saturationMode==="mono"?"normal":"mono")})]}),(0,m.jsx)("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide hidden",children:"Daltonismo"}),(0,m.jsx)("div",{className:"grid grid-cols-2 gap-2 hidden",children:[["protanopia","Protanop\xEDa"],["deuteranopia","Deuteranop\xEDa"],["tritanopia","Tritanop\xEDa"],["achromatopsia","Acromatopsia"]].map(([b,H])=>(0,m.jsx)(mt,{icon:(0,m.jsx)(Lv,{mode:b}),label:H,isActive:A.colorblindMode===b,onClick:()=>A.setColorblindMode(A.colorblindMode===b?"normal":b)},b))})]}),(0,m.jsxs)(Ku,{title:"Herramientas",children:[(0,m.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,m.jsx)(mt,{icon:(0,m.jsx)(Cv,{}),label:"Gu\xEDa de lectura",isActive:v.isActive,onClick:v.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Mv,{}),label:"Pausar animaciones",isActive:h.isActive,onClick:h.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Tv,{}),label:"Cursor grande",isActive:g.isActive,onClick:g.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(_v,{}),label:s.isReading?"Detener lectura":"Leer p\xE1gina",isActive:s.isReading,onClick:s.toggle,disabled:!s.isSupported}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Ov,{}),label:"Estructura",isActive:d.isOpen,onClick:d.toggle})]}),d.isOpen&&d.structure.length>0&&(0,m.jsxs)("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3 max-h-60 overflow-y-auto",children:[(0,m.jsx)("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide",children:"Estructura de la p\xE1gina"}),(0,m.jsx)("ul",{className:"space-y-1",children:d.structure.map((b,H)=>(0,m.jsx)("li",{children:(0,m.jsxs)("button",{type:"button",onClick:()=>d.navigateTo(b),className:"w-full text-left px-2 py-1.5 rounded-lg text-sm hover:bg-blue-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 transition-colors",style:{paddingLeft:`${(b.level||1)*12}px`},children:[(0,m.jsx)("span",{className:"inline-block mr-2 text-xs font-mono text-blue-600 bg-blue-100 px-1.5 py-0.5 rounded",children:b.tag}),(0,m.jsx)("span",{className:"text-gray-700",children:b.text})]})},`${b.tag}-${H}`))})]}),d.isOpen&&d.structure.length===0&&(0,m.jsx)("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3",children:(0,m.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"No se encontraron encabezados"})})]})]}),(0,m.jsx)("section",{className:"px-4 pb-6 pt-2",children:(0,m.jsx)("button",{type:"button",onClick:S,className:"w-full rounded-xl apea-gradient py-3 text-sm font-semibold text-white cursor-pointer transition hover:bg-none hover:bg-green-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",children:"Restablecer configuraci\xF3n"})})]})}function X2({icon:t,label:e,level:l,onIncrease:n,onDecrease:a,canIncrease:i,canDecrease:u}){let c=l>0;return(0,m.jsxs)("div",{className:`flex flex-col items-center justify-between gap-1 rounded-3xl border p-2 shadow-md/20 text-center transition-all ${c?"border-yellow-500 bg-yellow-50 text-blue-900":"border-gray-200 bg-white text-gray-700"}`,children:[(0,m.jsx)("span",{className:"h-5 w-5 text-gray-500",children:t}),(0,m.jsx)("span",{className:"text-sm font-medium leading-tight",children:e}),(0,m.jsxs)("div",{className:"flex items-center gap-1 w-full justify-center",children:[(0,m.jsx)("button",{type:"button",onClick:a,disabled:!u,"aria-label":`Reducir ${e}`,className:"flex h-5 w-5 items-center justify-center rounded text-xs font-bold text-blue-700 cursor-pointer hover:bg-blue-100 disabled:opacity-30 focus-visible:outline-none",children:"\u2212"}),(0,m.jsx)("span",{className:"w-4 text-center text-sm font-semibold tabular-nums",children:l}),(0,m.jsx)("button",{type:"button",onClick:n,disabled:!i,"aria-label":`Aumentar ${e}`,className:"flex h-5 w-5 items-center justify-center rounded text-xs font-bold text-blue-700 cursor-pointer hover:bg-blue-100 disabled:opacity-30 focus-visible:outline-none",children:"+"})]})]})}function mv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M4 6h16M4 12h8M4 18h12",strokeLinecap:"round"}),(0,m.jsx)("path",{d:"M15 14l5 5M20 14l-5 5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function gv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",strokeLinecap:"round",strokeLinejoin:"round"}),(0,m.jsx)("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",strokeLinecap:"round",strokeLinejoin:"round"})]})}function yv(){return(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M4 7l4 10 4-10M20 7v10M17 7h6",strokeLinecap:"round",strokeLinejoin:"round"})})}function vv(){return(0,m.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"m20.003 16.975-2.027 2.028m.113-3.943 1.914 1.915m-16.006 0 2.027-2.029m-.113 3.944-1.914-1.915m0 0h16.006m-2-5.975L15.16 4.997 12.317 11m.568-1.2h4.547M4.997 4.997 7.84 11l2.843-6.003",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})}function hv(){return(0,m.jsxs)("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M12.754 4a.75.75 0 0 1 .75-.75H20.5a.75.75 0 0 1 0 1.5h-6.996a.75.75 0 0 1-.75-.75m7.746 9.917h-6.996a.75.75 0 0 0 0 1.5H20.5a.75.75 0 0 0 0-1.5m-6.996 5.333a.75.75 0 0 0 0 1.5H20.5a.75.75 0 0 0 0-1.5zm6.996-9.167h-6.996a.75.75 0 0 1 0-1.5H20.5a.75.75 0 0 1 0 1.5",opacity:.4,fill:"#323544"}),(0,m.jsx)("path",{d:"m9.974 16.47-1.722 1.72V5.81l1.722 1.72a.75.75 0 0 0 1.06-1.06l-3.002-3a.75.75 0 0 0-1.06 0l-3.002 3a.75.75 0 0 0 1.06 1.06l1.722-1.72v12.38L5.03 16.47a.75.75 0 0 0-1.06 1.06l3.002 3a.75.75 0 0 0 1.06 0l3.002-3a.75.75 0 0 0-1.06-1.06",fill:"#323544"})]})}function Sv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"}),(0,m.jsx)("path",{d:"M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"})]})}function pv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,m.jsx)("path",{d:"M12 3v18"}),(0,m.jsx)("path",{d:"M12 3a9 9 0 0 1 0 18V3z",fill:"currentColor",stroke:"none"})]})}function bv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"8"}),(0,m.jsx)("path",{d:"M12 4v16M8 8l8 8M4 12h16",strokeLinecap:"round",strokeOpacity:.4}),(0,m.jsx)("circle",{cx:"12",cy:"12",r:"4",fill:"currentColor"})]})}function Av(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"8"}),(0,m.jsx)("circle",{cx:"12",cy:"12",r:"3",strokeDasharray:"2 2"})]})}function Ev(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),(0,m.jsx)("path",{d:"M3 12h18M12 5v14"}),(0,m.jsx)("path",{d:"M3 5h9v14H3z",fill:"currentColor",fillOpacity:.15,stroke:"none"})]})}function Cv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M4 6h16M4 10h16M4 14h10",strokeLinecap:"round"}),(0,m.jsx)("path",{d:"M3 18h18",strokeWidth:3,strokeLinecap:"round"})]})}function Mv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,m.jsx)("rect",{x:"9",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"}),(0,m.jsx)("rect",{x:"13",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"})]})}function Tv(){return(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M5 3l14 9-7.5 1.5L9 20l-4-17z"})})}function zv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,m.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:"currentColor",stroke:"none"}),(0,m.jsx)("path",{d:"M21 15l-5-5L5 21",strokeLinecap:"round",strokeLinejoin:"round"}),(0,m.jsx)("path",{d:"M2 2l20 20",strokeLinecap:"round",strokeWidth:2.5})]})}function xv({mode:t}){return t==="center"?(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M6 6h12M8 10h8M6 14h12M8 18h8",strokeLinecap:"round"})}):t==="right"?(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M4 6h16M8 10h12M4 14h16M8 18h12",strokeLinecap:"round"})}):(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M4 6h16M4 10h12M4 14h16M4 18h12",strokeLinecap:"round"})})}function _v(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M11 5L6 9H2v6h4l5 4V5z",fill:"currentColor",stroke:"none"}),(0,m.jsx)("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07",strokeLinecap:"round"}),(0,m.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14",strokeLinecap:"round"})]})}function Ov(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M4 6h16M4 10h12M8 14h12M8 18h8",strokeLinecap:"round"}),(0,m.jsx)("circle",{cx:"4",cy:"14",r:"1",fill:"currentColor",stroke:"none"}),(0,m.jsx)("circle",{cx:"4",cy:"18",r:"1",fill:"currentColor",stroke:"none"})]})}function Lv({mode:t}){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,m.jsx)("path",{d:"M12 3c-3 4-3 10 0 18",strokeLinecap:"round"}),(0,m.jsx)("path",{d:"M12 3c3 4 3 10 0 18",strokeLinecap:"round"}),t==="achromatopsia"?(0,m.jsx)("path",{d:"M3 12h18"}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("path",{d:"M4 8h16",strokeOpacity:.4}),(0,m.jsx)("path",{d:"M4 16h16",strokeOpacity:.4})]})]})}function Nv({profile:t}){switch(t){case"visionImpaired":return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),(0,m.jsx)("circle",{cx:"12",cy:"12",r:"3",fill:"currentColor"})]});case"cognitive":return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M12 2a7 7 0 0 1 7 7c0 3-2 5-3 7h-8c-1-2-3-4-3-7a7 7 0 0 1 7-7z"}),(0,m.jsx)("path",{d:"M9 16v2a3 3 0 0 0 6 0v-2"})]});case"motorImpaired":return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),(0,m.jsx)("path",{d:"M12 6v6l4 4M12 12l-4 4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,m.jsx)("circle",{cx:"8",cy:"20",r:"2"}),(0,m.jsx)("circle",{cx:"16",cy:"20",r:"2"})]});case"seniorFriendly":return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),(0,m.jsx)("path",{d:"M12 6v8M12 14l-3 6M12 14l3 6M12 10h-2l-3 4M12 10h2",strokeLinecap:"round",strokeLinejoin:"round"})]});default:return null}}var ie=_(pt(),1);function wo({position:t="bottom-left",className:e}={}){let[l,n]=(0,ku.useState)(!0),{hasActiveFeatures:a}=Vu();(0,ku.useEffect)(()=>{if(!l)return;let c=f=>{f.key==="Escape"&&n(!1)};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[l]);let i=l||a?"var(--apea-color-fab-active, #FFD54F)":"var(--apea-color-fab-inactive, #F6F6F6)";return(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)("div",{className:ge("fixed z-50 apea-fab",t==="bottom-right"?"bottom-8 right-5":"bottom-8 left-5",e),style:{filter:a?"drop-shadow(0 4px 12px rgba(255, 213, 79, 0.3))":"none"},onClick:()=>n(c=>!c),children:(0,ie.jsx)(qo,{size:"lg","aria-expanded":l,"aria-haspopup":"dialog","aria-label":`Accesibilidad - ${a?"Funciones activas":"Sin funciones activas"}`,leftIcon:(0,ie.jsx)(Wd,{className:"w-full z-50",color:i,stroke:i})})}),(0,ie.jsx)("div",{className:"fixed inset-0 z-40 apea-backdrop",style:{backgroundColor:"var(--apea-color-backdrop, rgba(0, 0, 0, 0.2))"},"data-visible":l?"true":"false",onClick:()=>n(!1),"aria-hidden":"true"}),(0,ie.jsx)("div",{role:"none",className:"fixed inset-y-0 right-0 z-50 w-full max-w-sm shadow-2xl apea-panel","data-open":l?"true":"false",children:(0,ie.jsx)(Z2,{onClose:()=>n(!1)})})]})}var Ko=_(pt(),1),Dv={primary500:"#005dca",primary600:"#004faf",primary700:"#003b8a",panelBackground:"#f9fafb",fabActive:"#ffd54f",fabInactive:"#f6f6f6",backdrop:"rgba(0, 0, 0, 0.2)"};function Vo(t){return{...Dv,...t}}function Hv(t,e){return{...t,...e,theme:{...t.theme??{},...e.theme??{}}}}function Q2(t,e){t.style.setProperty("--apea-color-primary-500",e.primary500),t.style.setProperty("--apea-color-primary-600",e.primary600),t.style.setProperty("--apea-color-primary-700",e.primary700),t.style.setProperty("--apea-color-panel-bg",e.panelBackground),t.style.setProperty("--apea-color-fab-active",e.fabActive),t.style.setProperty("--apea-color-fab-inactive",e.fabInactive),t.style.setProperty("--apea-color-backdrop",e.backdrop)}function V2(t={}){let e={position:t.position||"bottom-left",zIndex:t.zIndex||9999,containerId:t.containerId||"ape-accessibility-root",theme:Vo(t.theme)},l=Vo(e.theme),n=e.containerId||"ape-accessibility-root";if(document.getElementById(n))return console.warn("[ape-accessibility] Widget already mounted. Call destroy() first."),{destroy:()=>{},updateConfig:()=>{},config:t};let a=document.createElement("style");a.id="ape-accessibility-tools-css",a.textContent=`/* ============================================= */\r
|
|
17
|
-
/* Accessibility Feature Styles
|
|
18
|
-
/* =============================================
|
|
19
|
-
\r
|
|
20
|
-
/* High Contrast Mode */\r
|
|
21
|
-
.high-contrast {\r
|
|
22
|
-
--color-background: #000000;\r
|
|
23
|
-
--color-foreground: #ffffff;\r
|
|
24
|
-
}\r
|
|
25
|
-
\r
|
|
26
|
-
.high-contrast * {\r
|
|
27
|
-
border-color: currentColor !important;\r
|
|
28
|
-
}\r
|
|
29
|
-
\r
|
|
30
|
-
.high-contrast button,\r
|
|
31
|
-
.high-contrast input,\r
|
|
32
|
-
.high-contrast select,\r
|
|
33
|
-
.high-contrast textarea {\r
|
|
34
|
-
background-color: #000000 !important;\r
|
|
35
|
-
color: #ffffff !important;\r
|
|
36
|
-
border: 2px solid #ffffff !important;\r
|
|
37
|
-
}\r
|
|
38
|
-
\r
|
|
39
|
-
.high-contrast a {\r
|
|
40
|
-
color: #ffff00 !important;\r
|
|
41
|
-
text-decoration: underline !important;\r
|
|
42
|
-
}\r
|
|
43
|
-
\r
|
|
44
|
-
/* Text Size Scaling */\r
|
|
45
|
-
:root {\r
|
|
46
|
-
--accessibility-text-scale: 1;\r
|
|
47
|
-
--accessibility-letter-spacing: 0;\r
|
|
48
|
-
--accessibility-line-height: 0;\r
|
|
49
|
-
}\r
|
|
50
|
-
\r
|
|
51
|
-
.accessibility-text-scaled * {\r
|
|
52
|
-
font-size: calc(1em * var(--accessibility-text-scale)) !important;\r
|
|
53
|
-
line-height: calc(1.4 * var(--accessibility-text-scale)) !important;\r
|
|
54
|
-
}\r
|
|
55
|
-
\r
|
|
56
|
-
/* Colorblind Modes */\r
|
|
57
|
-
:root[data-colorblind-mode='protanopia'],\r
|
|
58
|
-
:root[data-colorblind-mode='deuteranopia'] {\r
|
|
59
|
-
--color-blue-500: #0072b2;\r
|
|
60
|
-
--color-green-500: #009e73;\r
|
|
61
|
-
--color-yellow-500: #e69f00;\r
|
|
62
|
-
--color-red-500: #d55e00;\r
|
|
63
|
-
}\r
|
|
64
|
-
\r
|
|
65
|
-
:root[data-colorblind-mode='tritanopia'] {\r
|
|
66
|
-
--color-blue-500: #9b2335;\r
|
|
67
|
-
--color-yellow-500: #cc79a7;\r
|
|
68
|
-
--color-green-500: #009e73;\r
|
|
69
|
-
}\r
|
|
70
|
-
\r
|
|
71
|
-
:root[data-colorblind-mode='achromatopsia'] {\r
|
|
72
|
-
filter: grayscale(1);\r
|
|
73
|
-
}\r
|
|
74
|
-
\r
|
|
75
|
-
/* Saturation Modes */\r
|
|
76
|
-
.accessibility-saturation-high {\r
|
|
77
|
-
filter: saturate(2);\r
|
|
78
|
-
}\r
|
|
79
|
-
\r
|
|
80
|
-
.accessibility-saturation-low {\r
|
|
81
|
-
filter: saturate(0.3);\r
|
|
82
|
-
}\r
|
|
83
|
-
\r
|
|
84
|
-
.accessibility-saturation-mono {\r
|
|
85
|
-
filter: grayscale(1) contrast(1.2);\r
|
|
86
|
-
}\r
|
|
87
|
-
\r
|
|
88
|
-
/* Dyslexia Font */\r
|
|
89
|
-
@font-face {\r
|
|
90
|
-
font-family: OpenDyslexic3;\r
|
|
91
|
-
src: url('https://website-widgets.pages.dev/fonts/OpenDyslexic3-Regular.woff') format('woff');\r
|
|
92
|
-
font-display: swap;\r
|
|
93
|
-
}\r
|
|
94
|
-
\r
|
|
95
|
-
.accessibility-dyslexia,\r
|
|
96
|
-
.accessibility-dyslexia * {\r
|
|
97
|
-
font-family: OpenDyslexic3, 'Comic Sans MS', Arial, sans-serif !important;\r
|
|
98
|
-
}\r
|
|
99
|
-
\r
|
|
100
|
-
/* Letter Spacing & Line Height */\r
|
|
101
|
-
.accessibility-letter-spacing * {\r
|
|
102
|
-
letter-spacing: calc(0.1em * var(--accessibility-letter-spacing)) !important;\r
|
|
103
|
-
}\r
|
|
104
|
-
\r
|
|
105
|
-
.accessibility-line-height * {\r
|
|
106
|
-
line-height: calc(1.4 + 0.3 * var(--accessibility-line-height)) !important;\r
|
|
107
|
-
}\r
|
|
108
|
-
\r
|
|
109
|
-
.accessibility-font-weight * {\r
|
|
110
|
-
font-weight: 700 !important;\r
|
|
111
|
-
}\r
|
|
112
|
-
\r
|
|
113
|
-
/* Highlight Titles & Links */\r
|
|
114
|
-
:root[data-highlight='titles'] h1,\r
|
|
115
|
-
:root[data-highlight='titles'] h2,\r
|
|
116
|
-
:root[data-highlight='titles'] h3,\r
|
|
117
|
-
:root[data-highlight='titles'] h4,\r
|
|
118
|
-
:root[data-highlight='titles'] h5,\r
|
|
119
|
-
:root[data-highlight='titles'] h6,\r
|
|
120
|
-
:root[data-highlight='both'] h1,\r
|
|
121
|
-
:root[data-highlight='both'] h2,\r
|
|
122
|
-
:root[data-highlight='both'] h3,\r
|
|
123
|
-
:root[data-highlight='both'] h4,\r
|
|
124
|
-
:root[data-highlight='both'] h5,\r
|
|
125
|
-
:root[data-highlight='both'] h6 {\r
|
|
126
|
-
background-color: rgba(254, 201, 5, 0.2) !important;\r
|
|
127
|
-
border-radius: 2px;\r
|
|
128
|
-
padding: 0 2px;\r
|
|
129
|
-
}\r
|
|
130
|
-
\r
|
|
131
|
-
:root[data-highlight='links'] a,\r
|
|
132
|
-
:root[data-highlight='both'] a {\r
|
|
133
|
-
background-color: rgba(0, 93, 202, 0.12) !important;\r
|
|
134
|
-
text-decoration: underline !important;\r
|
|
135
|
-
}\r
|
|
136
|
-
\r
|
|
137
|
-
/* Stop Animations */\r
|
|
138
|
-
.accessibility-stop-animations *,\r
|
|
139
|
-
.accessibility-stop-animations *::before,\r
|
|
140
|
-
.accessibility-stop-animations *::after {\r
|
|
141
|
-
animation: none !important;\r
|
|
142
|
-
transition: none !important;\r
|
|
143
|
-
}\r
|
|
144
|
-
\r
|
|
145
|
-
/* Big Cursor */\r
|
|
146
|
-
.accessibility-big-cursor,\r
|
|
147
|
-
.accessibility-big-cursor * {\r
|
|
148
|
-
cursor:\r
|
|
149
|
-
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M6 2L6 26L12 20L16 30L19 29L15 19L24 19Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")\r
|
|
150
|
-
6 2,\r
|
|
151
|
-
auto !important;\r
|
|
152
|
-
}\r
|
|
153
|
-
\r
|
|
154
|
-
/* Hide Images */\r
|
|
155
|
-
.accessibility-hide-images img,\r
|
|
156
|
-
.accessibility-hide-images svg:not([data-a11y-icon]),\r
|
|
157
|
-
.accessibility-hide-images video,\r
|
|
158
|
-
.accessibility-hide-images picture {\r
|
|
159
|
-
visibility: hidden !important;\r
|
|
160
|
-
}\r
|
|
161
|
-
\r
|
|
162
|
-
/* Text Alignment */\r
|
|
163
|
-
:root[data-text-align='left'] * {\r
|
|
164
|
-
text-align: left !important;\r
|
|
165
|
-
}\r
|
|
166
|
-
\r
|
|
167
|
-
:root[data-text-align='center'] * {\r
|
|
168
|
-
text-align: center !important;\r
|
|
169
|
-
}\r
|
|
170
|
-
\r
|
|
171
|
-
:root[data-text-align='right'] * {\r
|
|
172
|
-
text-align: right !important;\r
|
|
173
|
-
}\r
|
|
174
|
-
`,document.head.appendChild(a);let i=document.createElement("div");i.id=n,i.setAttribute("data-a11y-icon",""),i.style.position="fixed",i.style.zIndex=String(e.zIndex||9999),i.style.top="0",i.style.left="0",i.style.width="0",i.style.height="0",i.style.overflow="visible",Q2(i,l),document.body.appendChild(i);let u=i.attachShadow({mode:"open"}),c=document.createElement("style");c.textContent=`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
175
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-500:#fec905;--color-green-50:oklch(98.2% .018 155.826);--color-green-500:#0a0;--color-blue-50:#eef5ff;--color-blue-100:#cfe5ff;--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#7cb8ff;--color-blue-500:#005dca;--color-blue-600:#004faf;--color-blue-700:#003b8a;--color-blue-900:#002e64;--color-gray-200:oklch(92.8% .006 264.531);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--radius-lg:.5rem;--radius-xl:.75rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.right-0{right:calc(var(--spacing) * 0)}.right-5{right:calc(var(--spacing) * 5)}.bottom-8{bottom:calc(var(--spacing) * 8)}.left-5{left:calc(var(--spacing) * 5)}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-\\[40px\\]{height:40px}.h-\\[60px\\]{height:60px}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing) * 60)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-\\[40px\\]{width:40px}.w-\\[60px\\]{width:60px}.w-full{width:100%}.max-w-sm{max-width:var(--container-sm)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.rotate-180{rotate:180deg}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[30px\\]{border-radius:30px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-gray-200{border-color:var(--color-gray-200)}.border-white\\/30{border-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.border-white\\/30{border-color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-green-50{background-color:var(--color-green-50)}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.p-0{padding:calc(var(--spacing) * 0)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-nowrap{white-space:nowrap}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-900{color:var(--color-blue-900)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-md\\/20{--tw-shadow-alpha:20%;--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,oklab(0% 0 0/.2)), 0 2px 4px -2px var(--tw-shadow-color,oklab(0% 0 0/.2));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-green-500{--tw-ring-color:var(--color-green-500)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media (hover:hover){.hover\\:border-blue-400:hover{border-color:var(--color-blue-400)}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-green-500:hover{background-color:var(--color-green-500)}.hover\\:bg-white\\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/20:hover{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.hover\\:bg-none:hover{background-image:none}.hover\\:font-semibold:hover{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.hover\\:ring-2:hover{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:ring-blue-300:hover{--tw-ring-color:var(--color-blue-300)}.hover\\:ring-yellow-500:hover{--tw-ring-color:var(--color-yellow-500)}}.focus\\:bg-blue-50:focus{background-color:var(--color-blue-50)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-blue-500:focus-visible{--tw-ring-color:var(--color-blue-500)}.focus-visible\\:ring-white:focus-visible{--tw-ring-color:var(--color-white)}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-90:active{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
|
|
176
|
-
/* Widget animation styles */\r
|
|
177
|
-
\r
|
|
178
|
-
/* FAB button */\r
|
|
179
|
-
.apea-fab {\r
|
|
180
|
-
transition: transform 0.15s ease, filter 0.2s ease;\r
|
|
181
|
-
}\r
|
|
182
|
-
.apea-fab:hover {\r
|
|
183
|
-
transform: scale(1.05);\r
|
|
184
|
-
}\r
|
|
185
|
-
.apea-fab:active {\r
|
|
186
|
-
transform: scale(0.95);\r
|
|
187
|
-
}\r
|
|
188
|
-
\r
|
|
189
|
-
/* Backdrop */\r
|
|
190
|
-
.apea-backdrop {\r
|
|
191
|
-
opacity: 0;\r
|
|
192
|
-
transition: opacity 0.25s ease;\r
|
|
193
|
-
pointer-events: none;\r
|
|
194
|
-
}\r
|
|
195
|
-
.apea-backdrop[data-visible='true'] {\r
|
|
196
|
-
opacity: 1;\r
|
|
197
|
-
pointer-events: auto;\r
|
|
198
|
-
}\r
|
|
199
|
-
\r
|
|
200
|
-
/* Slide-in panel */\r
|
|
201
|
-
.apea-panel {\r
|
|
202
|
-
transform: translateX(100%);\r
|
|
203
|
-
transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);\r
|
|
204
|
-
}\r
|
|
205
|
-
.apea-panel[data-open='true'] {\r
|
|
206
|
-
transform: translateX(0);\r
|
|
207
|
-
}\r
|
|
208
|
-
\r
|
|
209
|
-
/* Blue gradient for FAB button */\r
|
|
210
|
-
.apea-gradient {\r
|
|
211
|
-
background-image: linear-gradient(\r
|
|
212
|
-
135deg,\r
|
|
213
|
-
var(--apea-color-primary-500, var(--color-blue-500)) 0%,\r
|
|
214
|
-
var(--apea-color-primary-600, var(--color-blue-600)) 50%,\r
|
|
215
|
-
var(--apea-color-primary-700, var(--color-blue-700)) 80%\r
|
|
216
|
-
);\r
|
|
217
|
-
}\r
|
|
218
|
-
`,u.appendChild(c);let f=document.createElement("div");u.appendChild(f);let r=(0,w2.createRoot)(f);return r.render((0,Ko.jsx)(wo,{position:e.position})),{updateConfig(y){e=Hv(e,y),l=Vo(e.theme),i.style.zIndex=String(e.zIndex||9999),Q2(i,l),r&&r.render((0,Ko.jsx)(wo,{position:e.position}))},destroy(){r&&(r.unmount(),r=null),i.remove(),a.remove()},get config(){return e}}}var Xe=null,Al={};function K2(t,e){return{...t,...e,theme:{...t.theme??{},...e.theme??{}}}}function Jo(t={}){return Xe?(console.warn("[ape-accessibility] Already initialized. Call destroy() first."),Xe):(Al=K2(Al,t),Xe=V2(Al),Xe)}function ko(){Xe&&(Xe.destroy(),Xe=null)}function Wo(){return O()}function Fo(t={}){return Al=K2(Al,t),Xe&&Xe.updateConfig(Al),Wu()}function Wu(){return{...Al,theme:{...Al.theme??{}}}}function $o(){Vn(),typeof window<"u"&&window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))}var J2={init:Jo,destroy:ko,getSettings:Wo,resetAllSettings:$o,configure:Fo,getConfig:Wu};0&&(module.exports={accessibility,configure,destroy,getConfig,getSettings,init,resetAllSettings});
|
|
219
|
-
/*! Bundled license information:
|
|
8
|
+
`,T=null,W=null;function fi(){T||(T=document.createElement("div"),T.id="ape-reading-guide-top",T.style.cssText=Ct+"top: 0;",W=document.createElement("div"),W.id="ape-reading-guide-bottom",W.style.cssText=Ct+"bottom: 0;",document.body.appendChild(T),document.body.appendChild(W),At(window.innerHeight/2),document.addEventListener("mousemove",xt))}function mi(){document.removeEventListener("mousemove",xt),T?.remove(),W?.remove(),T=null,W=null}function xt(e){At(e.clientY)}function At(e){let n=Math.max(0,e-40),o=e+40;T&&(T.style.height=`${n}px`),W&&(W.style.top=`${o}px`)}function Lt(){let[e,t]=(0,j.useState)(()=>d().stopAnimations??!1);(0,j.useEffect)(()=>{Se(e)},[]),(0,j.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.stopAnimations??!1;a!==e&&(t(a),Se(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,j.useCallback)(()=>{let o=!e;t(o),Se(o),u("stopAnimations",o)},[e]);return{isActive:e,toggle:n}}var U=require("react");function wt(){let[e,t]=(0,U.useState)(()=>d().bigCursor??!1);(0,U.useEffect)(()=>{Ce(e)},[]),(0,U.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.bigCursor??!1;a!==e&&(t(a),Ce(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,U.useCallback)(()=>{let o=!e;t(o),Ce(o),u("bigCursor",o)},[e]);return{isActive:e,toggle:n}}var X=require("react");function Et(){let[e,t]=(0,X.useState)(()=>d().readingGuide??!1);(0,X.useEffect)(()=>{ve(e)},[]),(0,X.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.readingGuide??!1;a!==e&&(t(a),ve(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,X.useCallback)(()=>{let o=!e;t(o),ve(o),u("readingGuide",o)},[e]);return{isActive:e,toggle:n}}var K=require("react");var Mt="accessibility-hide-images";function xe(e){let t=document.documentElement;e?t.classList.add(Mt):t.classList.remove(Mt)}function kt(){let[e,t]=(0,K.useState)(()=>d().hideImages??!1);(0,K.useEffect)(()=>{xe(e)},[]),(0,K.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.hideImages??!1;a!==e&&(t(a),xe(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,K.useCallback)(()=>{let o=!e;t(o),xe(o),u("hideImages",o)},[e]);return{isActive:e,toggle:n}}var O=require("react");function re(e){let t=document.documentElement;e==="default"?t.removeAttribute("data-text-align"):t.setAttribute("data-text-align",e)}var _e=["default","left","center","right"];function It(){let[e,t]=(0,O.useState)(()=>d().textAlign??"default");(0,O.useEffect)(()=>{re(e)},[]),(0,O.useEffect)(()=>{let s=r=>{let{settings:a}=r.detail,c=a.textAlign??"default";c!==e&&(t(c),re(c))};return window.addEventListener("accessibilitySettingsChanged",s),()=>window.removeEventListener("accessibilitySettingsChanged",s)},[e]);let n=(0,O.useCallback)(()=>{let s=_e.indexOf(e),r=_e[(s+1)%_e.length]??"default";t(r),re(r),u("textAlign",r)},[e]),o=(0,O.useCallback)(s=>{t(s),re(s),u("textAlign",s)},[]);return{mode:e,cycle:n,setMode:o,isActive:e!=="default",label:e==="default"?"Por defecto":e==="left"?"Izquierda":e==="center"?"Centrado":"Derecha"}}var z=require("react");var ne=null;function Ae(){return typeof window<"u"&&"speechSynthesis"in window}function Nt(e="es"){if(!Ae())return;ae();let n=(document.querySelector("main")??document.body).innerText;n.trim()&&(ne=new SpeechSynthesisUtterance(n),ne.lang=e==="es"?"es-ES":"en-US",ne.rate=1,window.speechSynthesis.speak(ne))}function ae(){Ae()&&(window.speechSynthesis.cancel(),ne=null)}function Tt(){return ne}function Rt(){let[e,t]=(0,z.useState)(!1),[n]=(0,z.useState)(()=>Ae());(0,z.useEffect)(()=>()=>{ae()},[]),(0,z.useEffect)(()=>{let s=()=>{ae(),t(!1)};return window.addEventListener("accessibilityReset",s),()=>window.removeEventListener("accessibilityReset",s)},[]);let o=(0,z.useCallback)(()=>{if(e)ae(),t(!1);else{let s=d().language??"es";Nt(s),t(!0);let r=Tt();r&&(r.onend=()=>t(!1),r.onerror=()=>t(!1))}},[e]);return{isReading:e,isSupported:n,toggle:o}}var Y=require("react");var Pt={visionImpaired:{contrast:"high",fontSize:120,highlightMode:"both",bigCursor:!0},cognitive:{dyslexiaFont:!0,lineHeight:2,letterSpacing:1,stopAnimations:!0},motorImpaired:{bigCursor:!0,stopAnimations:!0,fontSize:110},seniorFriendly:{fontSize:120,lineHeight:2,contrast:"high",bigCursor:!0}},He={visionImpaired:"Visi\xF3n reducida",cognitive:"Cognitivo",motorImpaired:"Motor",seniorFriendly:"Adulto mayor"};function We(e){for(let[t,n]of Object.entries(Pt))if(Object.entries(n).every(([s,r])=>e[s]===r))return t;return"none"}function _t(e){return e==="none"?{...x}:Pt[e]}function Ht(){let[e,t]=(0,Y.useState)(()=>We(d()));(0,Y.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail;t(We(r))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[]),(0,Y.useEffect)(()=>{let o=()=>t("none");return window.addEventListener("accessibilityReset",o),()=>window.removeEventListener("accessibilityReset",o)},[]);let n=(0,Y.useCallback)(o=>{if(o===e){ee(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}));return}let s=_t(o);Pe(s)},[e]);return{activeProfile:e,applyProfile:n}}var F=require("react");var hi=["H1","H2","H3","H4","H5","H6"],bi=["main","nav","aside","footer","header",'[role="banner"]','[role="navigation"]','[role="main"]','[role="complementary"]','[role="contentinfo"]'];function Wt(){let e=[],t=new Set;return document.querySelectorAll(bi.join(",")).forEach(s=>{if(t.has(s))return;t.add(s);let r=s.getAttribute("role")||s.tagName.toLowerCase(),a=s.getAttribute("aria-label")||r;e.push({tag:r,text:a,level:0,element:s})}),document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(s=>{let r=s.tagName;if(!hi.includes(r))return;let a=parseInt(r.charAt(1),10),c=(s.textContent??"").trim().slice(0,80);c&&e.push({tag:r.toLowerCase(),text:c,level:a,element:s})}),e}function Ot(e){e.scrollIntoView({behavior:"smooth",block:"center"}),e.focus({preventScroll:!0})}function zt(){let[e,t]=(0,F.useState)(!1),[n,o]=(0,F.useState)([]),s=(0,F.useCallback)(()=>{o(Wt()),t(!0)},[]),r=(0,F.useCallback)(()=>{t(!1)},[]),a=(0,F.useCallback)(()=>{e?r():s()},[e,s,r]),c=(0,F.useCallback)(l=>{Ot(l.element)},[]);return{isOpen:e,structure:n,toggle:a,open:s,close:r,navigateTo:c}}function Le(){let e=et(),t=nt(),n=ot(),o=st(),s=at(),r=lt(),a=ft(),c=ht(),l=bt(),m=yt(),g=Lt(),L=wt(),w=Et(),S=kt(),P=It(),q=Rt(),_=Ht(),p=zt(),B=d(),C=Qe(B);return{contrast:e,textSize:t,language:n,colorblind:o,saturation:s,dyslexia:r,letterSpacing:a,lineHeight:c,fontWeight:l,highlight:m,animations:g,cursor:L,readingGuide:w,hideImages:S,textAlign:P,tts:q,profiles:_,pageStructure:p,hasActiveFeatures:C,resetAllFeatures:()=>{ee(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))},currentSettings:B}}var Bt=require("react");var Ee=require("react/jsx-runtime");function we({title:e,children:t}){return(0,Ee.jsxs)("section",{className:"px-4 py-3",children:[(0,Ee.jsx)("h3",{className:"text-xs font-semibold text-blue-700 uppercase tracking-wider mb-3",children:e}),t]})}var ce=require("react/jsx-runtime");function h({icon:e,label:t,isActive:n,onClick:o,disabled:s=!1,className:r}){return(0,ce.jsxs)("button",{type:"button",onClick:s?void 0:o,disabled:s,"aria-pressed":n,"aria-label":t,className:E("flex flex-col items-center justify-center gap-1.5 rounded-3xl p-3 shadow-lg text-center cursor-pointer transition-all","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-1 focus:bg-blue-50",n?"ring-2 ring-green-500 bg-green-50 text-blue-900":"border-gray-200 bg-white text-gray-700 hover:ring-2 hover:ring-blue-300 hover:bg-blue-50",s&&"cursor-not-allowed opacity-40",r),children:[(0,ce.jsx)("span",{className:E("h-6 w-6",n?"text-blue-700":"text-gray-500"),children:e}),(0,ce.jsx)("span",{className:"text-base font-medium leading-tight",children:t})]})}var oe=require("react/jsx-runtime");function Ft({percentage:e,onIncrease:t,onDecrease:n,onReset:o,canIncrease:s,canDecrease:r}){return(0,oe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,oe.jsx)("button",{type:"button",onClick:n,disabled:!r,"aria-label":"Reducir tama\xF1o de texto",className:"flex h-9 w-9 items-center justify-center rounded-lg border border-gray-200 bg-white text-lg font-bold text-blue-700 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:"\u2212"}),(0,oe.jsxs)("button",{type:"button",onClick:o,"aria-label":"Restablecer tama\xF1o de texto",className:"flex-1 rounded-lg border border-gray-200 bg-white py-2 text-center text-sm font-semibold text-blue-900 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:[e,"%"]}),(0,oe.jsx)("button",{type:"button",onClick:t,disabled:!s,"aria-label":"Aumentar tama\xF1o de texto",className:"flex h-9 w-9 items-center justify-center rounded-lg border border-gray-200 bg-white text-lg font-bold text-blue-700 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:"+"})]})}var i=require("react/jsx-runtime");function Vt({onClose:e}){let[t,n]=(0,Bt.useState)(!1),{contrast:o,textSize:s,saturation:r,dyslexia:a,letterSpacing:c,lineHeight:l,fontWeight:m,highlight:g,animations:L,cursor:w,readingGuide:S,colorblind:P,hideImages:q,textAlign:_,tts:p,profiles:B,pageStructure:C,resetAllFeatures:J}=Le();return(0,i.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":"Men\xFA de Accesibilidad",className:"flex flex-col h-full overflow-hidden",style:{backgroundColor:"var(--apea-color-panel-bg, #f9fafb)"},children:[(0,i.jsxs)("div",{className:"flex items-center justify-between apea-gradient px-4 py-3 shrink-0",children:[(0,i.jsx)("h2",{className:"text-sm font-bold text-white tracking-wide",children:"Men\xFA de Accesibilidad"}),(0,i.jsx)("div",{className:"flex items-center gap-2",children:(0,i.jsx)("button",{type:"button",onClick:e,"aria-label":"Cerrar men\xFA de accesibilidad",className:"flex h-8 w-8 items-center justify-center rounded-full border border-white/30 text-white cursor-pointer transition hover:bg-white/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white",children:(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.2,className:"h-4 w-4","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M18 6 6 18M6 6l12 12",strokeLinecap:"round",strokeLinejoin:"round"})})})})]}),(0,i.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[(0,i.jsxs)("section",{className:"px-4 py-3",children:[(0,i.jsxs)("button",{type:"button",onClick:()=>n(f=>!f),"aria-expanded":t,className:"flex w-full items-center justify-between text-xs font-semibold text-blue-700 uppercase tracking-wider cursor-pointer",children:["Perfiles de accesibilidad",(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:`h-4 w-4 transition-transform duration-300 ease-in-out ${t?"rotate-180":""}`,"data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M6 9l6 6 6-6",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,i.jsx)("div",{className:`grid transition-[grid-template-rows] duration-300 ease-in-out ${t?"grid-rows-[1fr]":"grid-rows-[0fr]"}`,children:(0,i.jsx)("div",{className:"overflow-hidden pb-5 px-2 -mx-2",children:(0,i.jsx)("div",{className:`grid grid-cols-2 gap-2 pt-3 transition-opacity duration-300 ease-in-out ${t?"opacity-100":"opacity-0"}`,children:Object.keys(He).map(f=>(0,i.jsx)(h,{icon:(0,i.jsx)(Wi,{profile:f}),label:He[f],isActive:B.activeProfile===f,onClick:()=>B.applyProfile(f)},f))})})})]}),(0,i.jsxs)(we,{title:"Ajustes de contenido",children:[(0,i.jsxs)("div",{className:"mb-3 rounded-xl border border-gray-200 bg-white p-3",children:[(0,i.jsxs)("div",{className:"mb-2 flex items-center gap-2 text-sm font-medium text-gray-700",children:[(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-4 w-4 shrink-0","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M4 7V4h16v3M9 20h6M12 4v16",strokeLinecap:"round",strokeLinejoin:"round"})}),"Tama\xF1o de fuente"]}),(0,i.jsx)(Ft,{percentage:s.textSizePercentage,onIncrease:s.increaseTextSize,onDecrease:s.decreaseTextSize,onReset:s.resetTextSize,canIncrease:s.canIncrease,canDecrease:s.canDecrease})]}),(0,i.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,i.jsx)(h,{icon:(0,i.jsx)(yi,{}),label:"Resaltar t\xEDtulos",isActive:g.isTitlesActive,onClick:g.toggleTitles}),(0,i.jsx)(h,{icon:(0,i.jsx)(vi,{}),label:"Resaltar enlaces",isActive:g.isLinksActive,onClick:g.toggleLinks}),(0,i.jsx)(h,{icon:(0,i.jsx)(Si,{}),label:"Fuente dislexia",isActive:a.isActive,onClick:a.toggle}),(0,i.jsx)(Dt,{icon:(0,i.jsx)(Ci,{}),label:"Esp. de letras",level:c.level,onIncrease:c.increase,onDecrease:c.decrease,canIncrease:c.canIncrease,canDecrease:c.canDecrease}),(0,i.jsx)(Dt,{icon:(0,i.jsx)(xi,{}),label:"Interlineado",level:l.level,onIncrease:l.increase,onDecrease:l.decrease,canIncrease:l.canIncrease,canDecrease:l.canDecrease}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ai,{}),label:"Fuente negrita",isActive:m.isBold,onClick:m.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ti,{}),label:"Ocultar im\xE1genes",isActive:q.isActive,onClick:q.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ri,{mode:_.mode}),label:`Alinear: ${_.label}`,isActive:_.isActive,onClick:_.cycle})]})]}),(0,i.jsxs)(we,{title:"Ajustes de color",children:[(0,i.jsxs)("div",{className:"grid grid-cols-3 gap-2 mb-3",children:[(0,i.jsx)(h,{icon:(0,i.jsx)(Li,{}),label:"Alto contraste",isActive:o.isHighContrast,onClick:()=>o.setContrastMode(o.isHighContrast?"normal":"high")}),(0,i.jsx)(h,{icon:(0,i.jsx)(wi,{}),label:"Alta saturaci\xF3n",isActive:r.saturationMode==="high",onClick:()=>r.setSaturationMode(r.saturationMode==="high"?"normal":"high")}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ei,{}),label:"Baja saturaci\xF3n",isActive:r.saturationMode==="low",onClick:()=>r.setSaturationMode(r.saturationMode==="low"?"normal":"low")}),(0,i.jsx)(h,{icon:(0,i.jsx)(Mi,{}),label:"Monocromo",isActive:r.saturationMode==="mono",onClick:()=>r.setSaturationMode(r.saturationMode==="mono"?"normal":"mono")})]}),(0,i.jsx)("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide hidden",children:"Daltonismo"}),(0,i.jsx)("div",{className:"grid grid-cols-2 gap-2 hidden",children:[["protanopia","Protanop\xEDa"],["deuteranopia","Deuteranop\xEDa"],["tritanopia","Tritanop\xEDa"],["achromatopsia","Acromatopsia"]].map(([f,Ie])=>(0,i.jsx)(h,{icon:(0,i.jsx)(Hi,{mode:f}),label:Ie,isActive:P.colorblindMode===f,onClick:()=>P.setColorblindMode(P.colorblindMode===f?"normal":f)},f))})]}),(0,i.jsxs)(we,{title:"Herramientas",children:[(0,i.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,i.jsx)(h,{icon:(0,i.jsx)(ki,{}),label:"Gu\xEDa de lectura",isActive:S.isActive,onClick:S.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ii,{}),label:"Pausar animaciones",isActive:L.isActive,onClick:L.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ni,{}),label:"Cursor grande",isActive:w.isActive,onClick:w.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Pi,{}),label:p.isReading?"Detener lectura":"Leer p\xE1gina",isActive:p.isReading,onClick:p.toggle,disabled:!p.isSupported}),(0,i.jsx)(h,{icon:(0,i.jsx)(_i,{}),label:"Estructura",isActive:C.isOpen,onClick:C.toggle})]}),C.isOpen&&C.structure.length>0&&(0,i.jsxs)("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3 max-h-60 overflow-y-auto",children:[(0,i.jsx)("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide",children:"Estructura de la p\xE1gina"}),(0,i.jsx)("ul",{className:"space-y-1",children:C.structure.map((f,Ie)=>(0,i.jsx)("li",{children:(0,i.jsxs)("button",{type:"button",onClick:()=>C.navigateTo(f),className:"w-full text-left px-2 py-1.5 rounded-lg text-sm hover:bg-blue-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 transition-colors",style:{paddingLeft:`${(f.level||1)*12}px`},children:[(0,i.jsx)("span",{className:"inline-block mr-2 text-xs font-mono text-blue-600 bg-blue-100 px-1.5 py-0.5 rounded",children:f.tag}),(0,i.jsx)("span",{className:"text-gray-700",children:f.text})]})},`${f.tag}-${Ie}`))})]}),C.isOpen&&C.structure.length===0&&(0,i.jsx)("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3",children:(0,i.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"No se encontraron encabezados"})})]})]}),(0,i.jsx)("section",{className:"px-4 pb-6 pt-2",children:(0,i.jsx)("button",{type:"button",onClick:J,className:"w-full rounded-xl apea-gradient py-3 text-sm font-semibold text-white cursor-pointer transition hover:bg-none hover:bg-green-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",children:"Restablecer configuraci\xF3n"})})]})}function Dt({icon:e,label:t,level:n,onIncrease:o,onDecrease:s,canIncrease:r,canDecrease:a}){let c=n>0;return(0,i.jsxs)("div",{className:`flex flex-col items-center justify-between gap-1 rounded-3xl border p-2 shadow-md/20 text-center transition-all ${c?"border-yellow-500 bg-yellow-50 text-blue-900":"border-gray-200 bg-white text-gray-700"}`,children:[(0,i.jsx)("span",{className:"h-5 w-5 text-gray-500",children:e}),(0,i.jsx)("span",{className:"text-sm font-medium leading-tight",children:t}),(0,i.jsxs)("div",{className:"flex items-center gap-1 w-full justify-center",children:[(0,i.jsx)("button",{type:"button",onClick:s,disabled:!a,"aria-label":`Reducir ${t}`,className:"flex h-5 w-5 items-center justify-center rounded text-xs font-bold text-blue-700 cursor-pointer hover:bg-blue-100 disabled:opacity-30 focus-visible:outline-none",children:"\u2212"}),(0,i.jsx)("span",{className:"w-4 text-center text-sm font-semibold tabular-nums",children:n}),(0,i.jsx)("button",{type:"button",onClick:o,disabled:!r,"aria-label":`Aumentar ${t}`,className:"flex h-5 w-5 items-center justify-center rounded text-xs font-bold text-blue-700 cursor-pointer hover:bg-blue-100 disabled:opacity-30 focus-visible:outline-none",children:"+"})]})]})}function yi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M4 6h16M4 12h8M4 18h12",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M15 14l5 5M20 14l-5 5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function vi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Si(){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M4 7l4 10 4-10M20 7v10M17 7h6",strokeLinecap:"round",strokeLinejoin:"round"})})}function Ci(){return(0,i.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"m20.003 16.975-2.027 2.028m.113-3.943 1.914 1.915m-16.006 0 2.027-2.029m-.113 3.944-1.914-1.915m0 0h16.006m-2-5.975L15.16 4.997 12.317 11m.568-1.2h4.547M4.997 4.997 7.84 11l2.843-6.003",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})}function xi(){return(0,i.jsxs)("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M12.754 4a.75.75 0 0 1 .75-.75H20.5a.75.75 0 0 1 0 1.5h-6.996a.75.75 0 0 1-.75-.75m7.746 9.917h-6.996a.75.75 0 0 0 0 1.5H20.5a.75.75 0 0 0 0-1.5m-6.996 5.333a.75.75 0 0 0 0 1.5H20.5a.75.75 0 0 0 0-1.5zm6.996-9.167h-6.996a.75.75 0 0 1 0-1.5H20.5a.75.75 0 0 1 0 1.5",opacity:.4,fill:"#323544"}),(0,i.jsx)("path",{d:"m9.974 16.47-1.722 1.72V5.81l1.722 1.72a.75.75 0 0 0 1.06-1.06l-3.002-3a.75.75 0 0 0-1.06 0l-3.002 3a.75.75 0 0 0 1.06 1.06l1.722-1.72v12.38L5.03 16.47a.75.75 0 0 0-1.06 1.06l3.002 3a.75.75 0 0 0 1.06 0l3.002-3a.75.75 0 0 0-1.06-1.06",fill:"#323544"})]})}function Ai(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"}),(0,i.jsx)("path",{d:"M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"})]})}function Li(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,i.jsx)("path",{d:"M12 3v18"}),(0,i.jsx)("path",{d:"M12 3a9 9 0 0 1 0 18V3z",fill:"currentColor",stroke:"none"})]})}function wi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"8"}),(0,i.jsx)("path",{d:"M12 4v16M8 8l8 8M4 12h16",strokeLinecap:"round",strokeOpacity:.4}),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"4",fill:"currentColor"})]})}function Ei(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"8"}),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"3",strokeDasharray:"2 2"})]})}function Mi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),(0,i.jsx)("path",{d:"M3 12h18M12 5v14"}),(0,i.jsx)("path",{d:"M3 5h9v14H3z",fill:"currentColor",fillOpacity:.15,stroke:"none"})]})}function ki(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M4 6h16M4 10h16M4 14h10",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M3 18h18",strokeWidth:3,strokeLinecap:"round"})]})}function Ii(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,i.jsx)("rect",{x:"9",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"}),(0,i.jsx)("rect",{x:"13",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"})]})}function Ni(){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M5 3l14 9-7.5 1.5L9 20l-4-17z"})})}function Ti(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,i.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:"currentColor",stroke:"none"}),(0,i.jsx)("path",{d:"M21 15l-5-5L5 21",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M2 2l20 20",strokeLinecap:"round",strokeWidth:2.5})]})}function Ri({mode:e}){return e==="center"?(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M6 6h12M8 10h8M6 14h12M8 18h8",strokeLinecap:"round"})}):e==="right"?(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M4 6h16M8 10h12M4 14h16M8 18h12",strokeLinecap:"round"})}):(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M4 6h16M4 10h12M4 14h16M4 18h12",strokeLinecap:"round"})})}function Pi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M11 5L6 9H2v6h4l5 4V5z",fill:"currentColor",stroke:"none"}),(0,i.jsx)("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14",strokeLinecap:"round"})]})}function _i(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M4 6h16M4 10h12M8 14h12M8 18h8",strokeLinecap:"round"}),(0,i.jsx)("circle",{cx:"4",cy:"14",r:"1",fill:"currentColor",stroke:"none"}),(0,i.jsx)("circle",{cx:"4",cy:"18",r:"1",fill:"currentColor",stroke:"none"})]})}function Hi({mode:e}){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,i.jsx)("path",{d:"M12 3c-3 4-3 10 0 18",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M12 3c3 4 3 10 0 18",strokeLinecap:"round"}),e==="achromatopsia"?(0,i.jsx)("path",{d:"M3 12h18"}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("path",{d:"M4 8h16",strokeOpacity:.4}),(0,i.jsx)("path",{d:"M4 16h16",strokeOpacity:.4})]})]})}function Wi({profile:e}){switch(e){case"visionImpaired":return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"3",fill:"currentColor"})]});case"cognitive":return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M12 2a7 7 0 0 1 7 7c0 3-2 5-3 7h-8c-1-2-3-4-3-7a7 7 0 0 1 7-7z"}),(0,i.jsx)("path",{d:"M9 16v2a3 3 0 0 0 6 0v-2"})]});case"motorImpaired":return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),(0,i.jsx)("path",{d:"M12 6v6l4 4M12 12l-4 4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("circle",{cx:"8",cy:"20",r:"2"}),(0,i.jsx)("circle",{cx:"16",cy:"20",r:"2"})]});case"seniorFriendly":return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),(0,i.jsx)("path",{d:"M12 6v8M12 14l-3 6M12 14l3 6M12 10h-2l-3 4M12 10h2",strokeLinecap:"round",strokeLinejoin:"round"})]});default:return null}}var A=require("react/jsx-runtime");function Oe({position:e="bottom-left",className:t}={}){let[n,o]=(0,Me.useState)(!0),{hasActiveFeatures:s}=Le();(0,Me.useEffect)(()=>{if(!n)return;let c=l=>{l.key==="Escape"&&o(!1)};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[n]);let r=n||s?"var(--apea-color-fab-active, #FFD54F)":"var(--apea-color-fab-inactive, #F6F6F6)";return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:E("fixed z-50 apea-fab",e==="bottom-right"?"bottom-8 right-5":"bottom-8 left-5",t),style:{filter:s?"drop-shadow(0 4px 12px rgba(255, 213, 79, 0.3))":"none"},onClick:()=>o(c=>!c),children:(0,A.jsx)(Ne,{size:"lg","aria-expanded":n,"aria-haspopup":"dialog","aria-label":`Accesibilidad - ${s?"Funciones activas":"Sin funciones activas"}`,leftIcon:(0,A.jsx)(Ke,{className:"w-full z-50",color:r,stroke:r})})}),(0,A.jsx)("div",{className:"fixed inset-0 z-40 apea-backdrop",style:{backgroundColor:"var(--apea-color-backdrop, rgba(0, 0, 0, 0.2))"},"data-visible":n?"true":"false",onClick:()=>o(!1),"aria-hidden":"true"}),(0,A.jsx)("div",{role:"none",className:"fixed inset-y-0 right-0 z-50 w-full max-w-sm shadow-2xl apea-panel","data-open":n?"true":"false",children:(0,A.jsx)(Vt,{onClose:()=>o(!1)})})]})}var Fe=require("react/jsx-runtime"),Oi={primary500:"#005dca",primary600:"#004faf",primary700:"#003b8a",panelBackground:"#f9fafb",fabActive:"#ffd54f",fabInactive:"#f6f6f6",backdrop:"rgba(0, 0, 0, 0.2)"};function ze(e){return{...Oi,...e}}function zi(e,t){return{...e,...t,theme:{...e.theme??{},...t.theme??{}}}}function Gt(e,t){e.style.setProperty("--apea-color-primary-500",t.primary500),e.style.setProperty("--apea-color-primary-600",t.primary600),e.style.setProperty("--apea-color-primary-700",t.primary700),e.style.setProperty("--apea-color-panel-bg",t.panelBackground),e.style.setProperty("--apea-color-fab-active",t.fabActive),e.style.setProperty("--apea-color-fab-inactive",t.fabInactive),e.style.setProperty("--apea-color-backdrop",t.backdrop)}function Zt(e={}){let t={position:e.position||"bottom-left",zIndex:e.zIndex||9999,containerId:e.containerId||"ape-accessibility-root",theme:ze(e.theme)},n=ze(t.theme),o=t.containerId||"ape-accessibility-root";if(document.getElementById(o))return console.warn("[ape-accessibility] Widget already mounted. Call destroy() first."),{destroy:()=>{},updateConfig:()=>{},config:e};let s=document.createElement("style");s.id="ape-accessibility-tools-css",s.textContent=`/* ============================================= */
|
|
9
|
+
/* Accessibility Feature Styles */
|
|
10
|
+
/* ============================================= */
|
|
220
11
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
227
|
-
*
|
|
228
|
-
* This source code is licensed under the MIT license found in the
|
|
229
|
-
* LICENSE file in the root directory of this source tree.
|
|
230
|
-
*)
|
|
12
|
+
/* High Contrast Mode */
|
|
13
|
+
.high-contrast {
|
|
14
|
+
--color-background: #000000;
|
|
15
|
+
--color-foreground: #ffffff;
|
|
16
|
+
}
|
|
231
17
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
* react.production.js
|
|
236
|
-
*
|
|
237
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
238
|
-
*
|
|
239
|
-
* This source code is licensed under the MIT license found in the
|
|
240
|
-
* LICENSE file in the root directory of this source tree.
|
|
241
|
-
*)
|
|
18
|
+
.high-contrast * {
|
|
19
|
+
border-color: currentColor !important;
|
|
20
|
+
}
|
|
242
21
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
* LICENSE file in the root directory of this source tree.
|
|
252
|
-
*)
|
|
22
|
+
.high-contrast button,
|
|
23
|
+
.high-contrast input,
|
|
24
|
+
.high-contrast select,
|
|
25
|
+
.high-contrast textarea {
|
|
26
|
+
background-color: #000000 !important;
|
|
27
|
+
color: #ffffff !important;
|
|
28
|
+
border: 2px solid #ffffff !important;
|
|
29
|
+
}
|
|
253
30
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
*
|
|
259
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
260
|
-
*
|
|
261
|
-
* This source code is licensed under the MIT license found in the
|
|
262
|
-
* LICENSE file in the root directory of this source tree.
|
|
263
|
-
*)
|
|
31
|
+
.high-contrast a {
|
|
32
|
+
color: #ffff00 !important;
|
|
33
|
+
text-decoration: underline !important;
|
|
34
|
+
}
|
|
264
35
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
36
|
+
/* Text Size Scaling */
|
|
37
|
+
:root {
|
|
38
|
+
--accessibility-text-scale: 1;
|
|
39
|
+
--accessibility-letter-spacing: 0;
|
|
40
|
+
--accessibility-line-height: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.accessibility-text-scaled * {
|
|
44
|
+
font-size: calc(1em * var(--accessibility-text-scale)) !important;
|
|
45
|
+
line-height: calc(1.4 * var(--accessibility-text-scale)) !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Colorblind Modes */
|
|
49
|
+
:root[data-colorblind-mode='protanopia'],
|
|
50
|
+
:root[data-colorblind-mode='deuteranopia'] {
|
|
51
|
+
--color-blue-500: #0072b2;
|
|
52
|
+
--color-green-500: #009e73;
|
|
53
|
+
--color-yellow-500: #e69f00;
|
|
54
|
+
--color-red-500: #d55e00;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:root[data-colorblind-mode='tritanopia'] {
|
|
58
|
+
--color-blue-500: #9b2335;
|
|
59
|
+
--color-yellow-500: #cc79a7;
|
|
60
|
+
--color-green-500: #009e73;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:root[data-colorblind-mode='achromatopsia'] {
|
|
64
|
+
filter: grayscale(1);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Saturation Modes */
|
|
68
|
+
.accessibility-saturation-high {
|
|
69
|
+
filter: saturate(2);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.accessibility-saturation-low {
|
|
73
|
+
filter: saturate(0.3);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.accessibility-saturation-mono {
|
|
77
|
+
filter: grayscale(1) contrast(1.2);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Dyslexia Font */
|
|
81
|
+
@font-face {
|
|
82
|
+
font-family: OpenDyslexic3;
|
|
83
|
+
src: url('https://website-widgets.pages.dev/fonts/OpenDyslexic3-Regular.woff') format('woff');
|
|
84
|
+
font-display: swap;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.accessibility-dyslexia,
|
|
88
|
+
.accessibility-dyslexia * {
|
|
89
|
+
font-family: OpenDyslexic3, 'Comic Sans MS', Arial, sans-serif !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Letter Spacing & Line Height */
|
|
93
|
+
.accessibility-letter-spacing * {
|
|
94
|
+
letter-spacing: calc(0.1em * var(--accessibility-letter-spacing)) !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.accessibility-line-height * {
|
|
98
|
+
line-height: calc(1.4 + 0.3 * var(--accessibility-line-height)) !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.accessibility-font-weight * {
|
|
102
|
+
font-weight: 700 !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Highlight Titles & Links */
|
|
106
|
+
:root[data-highlight='titles'] h1,
|
|
107
|
+
:root[data-highlight='titles'] h2,
|
|
108
|
+
:root[data-highlight='titles'] h3,
|
|
109
|
+
:root[data-highlight='titles'] h4,
|
|
110
|
+
:root[data-highlight='titles'] h5,
|
|
111
|
+
:root[data-highlight='titles'] h6,
|
|
112
|
+
:root[data-highlight='both'] h1,
|
|
113
|
+
:root[data-highlight='both'] h2,
|
|
114
|
+
:root[data-highlight='both'] h3,
|
|
115
|
+
:root[data-highlight='both'] h4,
|
|
116
|
+
:root[data-highlight='both'] h5,
|
|
117
|
+
:root[data-highlight='both'] h6 {
|
|
118
|
+
background-color: rgba(254, 201, 5, 0.2) !important;
|
|
119
|
+
border-radius: 2px;
|
|
120
|
+
padding: 0 2px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:root[data-highlight='links'] a,
|
|
124
|
+
:root[data-highlight='both'] a {
|
|
125
|
+
background-color: rgba(0, 93, 202, 0.12) !important;
|
|
126
|
+
text-decoration: underline !important;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Stop Animations */
|
|
130
|
+
.accessibility-stop-animations *,
|
|
131
|
+
.accessibility-stop-animations *::before,
|
|
132
|
+
.accessibility-stop-animations *::after {
|
|
133
|
+
animation: none !important;
|
|
134
|
+
transition: none !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* Big Cursor */
|
|
138
|
+
.accessibility-big-cursor,
|
|
139
|
+
.accessibility-big-cursor * {
|
|
140
|
+
cursor:
|
|
141
|
+
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M6 2L6 26L12 20L16 30L19 29L15 19L24 19Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")
|
|
142
|
+
6 2,
|
|
143
|
+
auto !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Hide Images */
|
|
147
|
+
.accessibility-hide-images img,
|
|
148
|
+
.accessibility-hide-images svg:not([data-a11y-icon]),
|
|
149
|
+
.accessibility-hide-images video,
|
|
150
|
+
.accessibility-hide-images picture {
|
|
151
|
+
visibility: hidden !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Text Alignment */
|
|
155
|
+
:root[data-text-align='left'] * {
|
|
156
|
+
text-align: left !important;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:root[data-text-align='center'] * {
|
|
160
|
+
text-align: center !important;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:root[data-text-align='right'] * {
|
|
164
|
+
text-align: right !important;
|
|
165
|
+
}
|
|
166
|
+
`,document.head.appendChild(s);let r=document.createElement("div");r.id=o,r.setAttribute("data-a11y-icon",""),r.style.position="fixed",r.style.zIndex=String(t.zIndex||9999),r.style.top="0",r.style.left="0",r.style.width="0",r.style.height="0",r.style.overflow="visible",Gt(r,n),document.body.appendChild(r);let a=r.attachShadow({mode:"open"}),c=document.createElement("style");c.textContent=`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
167
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-500:#fec905;--color-green-50:oklch(98.2% .018 155.826);--color-green-500:#0a0;--color-blue-50:#eef5ff;--color-blue-100:#cfe5ff;--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#7cb8ff;--color-blue-500:#005dca;--color-blue-600:#004faf;--color-blue-700:#003b8a;--color-blue-900:#002e64;--color-gray-200:oklch(92.8% .006 264.531);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--radius-lg:.5rem;--radius-xl:.75rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.right-0{right:calc(var(--spacing) * 0)}.right-5{right:calc(var(--spacing) * 5)}.bottom-8{bottom:calc(var(--spacing) * 8)}.left-5{left:calc(var(--spacing) * 5)}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-\\[40px\\]{height:40px}.h-\\[60px\\]{height:60px}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing) * 60)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-\\[40px\\]{width:40px}.w-\\[60px\\]{width:60px}.w-full{width:100%}.max-w-sm{max-width:var(--container-sm)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.rotate-180{rotate:180deg}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[30px\\]{border-radius:30px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-gray-200{border-color:var(--color-gray-200)}.border-white\\/30{border-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.border-white\\/30{border-color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-green-50{background-color:var(--color-green-50)}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.p-0{padding:calc(var(--spacing) * 0)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-nowrap{white-space:nowrap}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-900{color:var(--color-blue-900)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-md\\/20{--tw-shadow-alpha:20%;--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,oklab(0% 0 0/.2)), 0 2px 4px -2px var(--tw-shadow-color,oklab(0% 0 0/.2));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-green-500{--tw-ring-color:var(--color-green-500)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media (hover:hover){.hover\\:border-blue-400:hover{border-color:var(--color-blue-400)}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-green-500:hover{background-color:var(--color-green-500)}.hover\\:bg-white\\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/20:hover{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.hover\\:bg-none:hover{background-image:none}.hover\\:font-semibold:hover{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.hover\\:ring-2:hover{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:ring-blue-300:hover{--tw-ring-color:var(--color-blue-300)}.hover\\:ring-yellow-500:hover{--tw-ring-color:var(--color-yellow-500)}}.focus\\:bg-blue-50:focus{background-color:var(--color-blue-50)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-blue-500:focus-visible{--tw-ring-color:var(--color-blue-500)}.focus-visible\\:ring-white:focus-visible{--tw-ring-color:var(--color-white)}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-90:active{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
|
|
168
|
+
/* Widget animation styles */
|
|
169
|
+
|
|
170
|
+
/* FAB button */
|
|
171
|
+
.apea-fab {
|
|
172
|
+
transition: transform 0.15s ease, filter 0.2s ease;
|
|
173
|
+
}
|
|
174
|
+
.apea-fab:hover {
|
|
175
|
+
transform: scale(1.05);
|
|
176
|
+
}
|
|
177
|
+
.apea-fab:active {
|
|
178
|
+
transform: scale(0.95);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* Backdrop */
|
|
182
|
+
.apea-backdrop {
|
|
183
|
+
opacity: 0;
|
|
184
|
+
transition: opacity 0.25s ease;
|
|
185
|
+
pointer-events: none;
|
|
186
|
+
}
|
|
187
|
+
.apea-backdrop[data-visible='true'] {
|
|
188
|
+
opacity: 1;
|
|
189
|
+
pointer-events: auto;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/* Slide-in panel */
|
|
193
|
+
.apea-panel {
|
|
194
|
+
transform: translateX(100%);
|
|
195
|
+
transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
|
|
196
|
+
}
|
|
197
|
+
.apea-panel[data-open='true'] {
|
|
198
|
+
transform: translateX(0);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* Blue gradient for FAB button */
|
|
202
|
+
.apea-gradient {
|
|
203
|
+
background-image: linear-gradient(
|
|
204
|
+
135deg,
|
|
205
|
+
var(--apea-color-primary-500, var(--color-blue-500)) 0%,
|
|
206
|
+
var(--apea-color-primary-600, var(--color-blue-600)) 50%,
|
|
207
|
+
var(--apea-color-primary-700, var(--color-blue-700)) 80%
|
|
208
|
+
);
|
|
209
|
+
}
|
|
210
|
+
`,a.appendChild(c);let l=document.createElement("div");a.appendChild(l);let m=(0,$t.createRoot)(l);return m.render((0,Fe.jsx)(Oe,{position:t.position})),{updateConfig(g){t=zi(t,g),n=ze(t.theme),r.style.zIndex=String(t.zIndex||9999),Gt(r,n),m&&m.render((0,Fe.jsx)(Oe,{position:t.position}))},destroy(){m&&(m.unmount(),m=null),r.remove(),s.remove()},get config(){return t}}}var R=null,D={};function jt(e,t){return{...e,...t,theme:{...e.theme??{},...t.theme??{}}}}function De(e={}){return R?(console.warn("[ape-accessibility] Already initialized. Call destroy() first."),R):(D=jt(D,e),R=Zt(D),R)}function Be(){R&&(R.destroy(),R=null)}function Ve(){return d()}function Ge(e={}){return D=jt(D,e),R&&R.updateConfig(D),ke()}function ke(){return{...D,theme:{...D.theme??{}}}}function $e(){ee(),typeof window<"u"&&window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))}var le={init:De,destroy:Be,getSettings:Ve,resetAllSettings:$e,configure:Ge,getConfig:ke};var se=require("react");function Ut({config:e={}}){let t=(0,se.useRef)(null),n=(0,se.useRef)(!1);return(0,se.useEffect)(()=>(n.current=!1,t.current=le.init(e),()=>{n.current=!0,t.current?.destroy(),t.current=null}),[]),(0,se.useEffect)(()=>{n.current||le.configure(e)},[e]),null}0&&(module.exports={AccessibilityWidget,accessibility,configure,destroy,getConfig,getSettings,init,resetAllSettings});
|
|
276
211
|
//# sourceMappingURL=index.cjs.map
|