vendor: 4,031 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ConcursosPublicos-Ccelud3M.js","assets/ConcursosPublicos-BFAUS2Fo.css","assets/Alcalde-BgccX6I_.js","assets/Alcalde-BkICiSqZ.css","assets/ConcejoMunicipal-DNt6xVNm.js","assets/file-text-DpRiPPEA.js","assets/ConcejoMunicipal-DotZWyak.css","assets/SesionesConcejoMunicipal-CLVZBZ8U.js","assets/fetch-BVnQBUVs.js","assets/SesionesConcejoMunicipal-DtUeha_J.css","assets/Organigrama-Bk28VxOI.js","assets/Organigrama-Bjq22O5X.css","assets/Corporacion-BG82oNV_.js","assets/Corporacion-CQAs88cB.css","assets/Ubicacion-DOMmJ81r.js","assets/Ubicacion-ERM8CIeA.css","assets/CuentasPublicas-CMLSvLMA.js","assets/CuentasPublicas-CF08icN_.css","assets/Departments-D-2CsWxP.js","assets/departmentsServices-BjGa5irL.js","assets/Departments-DolF_AZ9.css","assets/DepartmentDetail-Bx2E4OuI.js","assets/DepartmentDetail-7XDDlnX9.css","assets/Historia-B5JqjUKf.js","assets/Historia-5pyPPv38.css","assets/Poblacion-CqPxHYCE.js","assets/Poblacion-ComhLDa-.css","assets/Superficie-Bd897eGg.js","assets/Superficie-YlaxA45c.css","assets/Turismo-DOdM20Wh.js","assets/Turismo-7k1QZ7My.css","assets/Biblioteca-C0PInbaP.js","assets/Biblioteca-D1vns0E8.css","assets/Noticias-BIfeKobd.js","assets/Noticias-luUE8Cf9.css","assets/Home-DpxgTSrQ.js","assets/Home-CErR1i4s.css","assets/CondicionesUso-D6WpKrz_.js","assets/CondicionesUso-BGcp0s8B.css","assets/PoliticasPrivacidad-BM2sBzwc.js","assets/PoliticasPrivacidad-DXn6CdMK.css"])))=>i.map(i=>d[i]); 2(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const h of d)if(h.type==="childList")for(const g of h.addedNodes)g.tagName==="LINK"&&g.rel==="modulepreload"&&c(g)}).observe(document,{childList:!0,subtree:!0});function o(d){const h={};return d.integrity&&(h.integrity=d.integrity),d.referrerPolicy&&(h.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?h.credentials="include":d.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function c(d){if(d.ep)return;d.ep=!0;const h=o(d);fetch(d.href,h)}})();function th(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Dc={exports:{}},jo={},Mc={exports:{}},Xe={};/** 3 * @license React 4 * react.production.min.js 5 * 6 * Copyright (c) Facebook, Inc. and its affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var kf;function wp(){if(kf)return Xe;kf=1;var s=Symbol.for("react.element"),u=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),g=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),E=Symbol.iterator;function L(T){return T===null||typeof T!="object"?null:(T=E&&T[E]||T["@@iterator"],typeof T=="function"?T:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,F={};function q(T,Q,be){this.props=T,this.context=Q,this.refs=F,this.updater=be||O}q.prototype.isReactComponent={},q.prototype.setState=function(T,Q){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,Q,"setState")},q.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function U(){}U.prototype=q.prototype;function V(T,Q,be){this.props=T,this.context=Q,this.refs=F,this.updater=be||O}var Y=V.prototype=new U;Y.constructor=V,A(Y,q.prototype),Y.isPureReactComponent=!0;var ye=Array.isArray,oe=Object.prototype.hasOwnProperty,le={current:null},we={key:!0,ref:!0,__self:!0,__source:!0};
vendor: 11,000 bytes, lines 10-34
10function ae(T,Q,be){var je,Ie={},Te=null,et=null;if(Q!=null)for(je in Q.ref!==void 0&&(et=Q.ref),Q.key!==void 0&&(Te=""+Q.key),Q)oe.call(Q,je)&&!we.hasOwnProperty(je)&&(Ie[je]=Q[je]);var ne=arguments.length-2;if(ne===1)Ie.children=be;else if(1<ne){for(var tt=Array(ne),St=0;St<ne;St++)tt[St]=arguments[St+2];Ie.children=tt}if(T&&T.defaultProps)for(je in ne=T.defaultProps,ne)Ie[je]===void 0&&(Ie[je]=ne[je]);return{$$typeof:s,type:T,key:Te,ref:et,props:Ie,_owner:le.current}}function ue(T,Q){return{$$typeof:s,type:T.type,key:Q,ref:T.ref,props:T.props,_owner:T._owner}}function he(T){return typeof T=="object"&&T!==null&&T.$$typeof===s}function Be(T){var Q={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(be){return Q[be]})}var Qe=/\/+/g;function Ge(T,Q){return typeof T=="object"&&T!==null&&T.key!=null?Be(""+T.key):Q.toString(36)}function Ke(T,Q,be,je,Ie){var Te=typeof T;(Te==="undefined"||Te==="boolean")&&(T=null);var et=!1;if(T===null)et=!0;else switch(Te){case"string":case"number":et=!0;break;case"object":switch(T.$$typeof){case s:case u:et=!0}}if(et)return et=T,Ie=Ie(et),T=je===""?"."+Ge(et,0):je,ye(Ie)?(be="",T!=null&&(be=T.replace(Qe,"$&/")+"/"),Ke(Ie,Q,be,"",function(St){return St})):Ie!=null&&(he(Ie)&&(Ie=ue(Ie,be+(!Ie.key||et&&et.key===Ie.key?"":(""+Ie.key).replace(Qe,"$&/")+"/")+T)),Q.push(Ie)),1;if(et=0,je=je===""?".":je+":",ye(T))for(var ne=0;ne<T.length;ne++){Te=T[ne];var tt=je+Ge(Te,ne);et+=Ke(Te,Q,be,tt,Ie)}else if(tt=L(T),typeof tt=="function")for(T=tt.call(T),ne=0;!(Te=T.next()).done;)Te=Te.value,tt=je+Ge(Te,ne++),et+=Ke(Te,Q,be,tt,Ie);else if(Te==="object")throw Q=String(T),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.");return et}function it(T,Q,be){if(T==null)return T;var je=[],Ie=0;return Ke(T,je,"","",function(Te){return Q.call(be,Te,Ie++)}),je}function qe(T){if(T._status===-1){var Q=T._result;Q=Q(),Q.then(function(be){(T._status===0||T._status===-1)&&(T._status=1,T._result=be)},function(be){(T._status===0||T._status===-1)&&(T._status=2,T._result=be)}),T._status===-1&&(T._status=0,T._result=Q)}if(T._status===1)return T._result.default;throw T._result}var Ue={current:null},te={transition:null},ce={ReactCurrentDispatcher:Ue,ReactCurrentBatchConfig:te,ReactCurrentOwner:le};function N(){throw Error("act(...) is not supported in production builds of React.")}return Xe.Children={map:it,forEach:function(T,Q,be){it(T,function(){Q.apply(this,arguments)},be)},count:function(T){var Q=0;return it(T,function(){Q++}),Q},toArray:function(T){return it(T,function(Q){return Q})||[]},only:function(T){if(!he(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},Xe.Component=q,Xe.Fragment=o,Xe.Profiler=d,Xe.PureComponent=V,Xe.StrictMode=c,Xe.Suspense=x,Xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ce,Xe.act=N,Xe.cloneElement=function(T,Q,be){if(T==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var je=A({},T.props),Ie=T.key,Te=T.ref,et=T._owner;if(Q!=null){if(Q.ref!==void 0&&(Te=Q.ref,et=le.current),Q.key!==void 0&&(Ie=""+Q.key),T.type&&T.type.defaultProps)var ne=T.type.defaultProps;for(tt in Q)oe.call(Q,tt)&&!we.hasOwnProperty(tt)&&(je[tt]=Q[tt]===void 0&&ne!==void 0?ne[tt]:Q[tt])}var tt=arguments.length-2;if(tt===1)je.children=be;else if(1<tt){ne=Array(tt);for(var St=0;St<tt;St++)ne[St]=arguments[St+2];je.children=ne}return{$$typeof:s,type:T.type,key:Ie,ref:Te,props:je,_owner:et}},Xe.createContext=function(T){return T={$$typeof:g,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},T.Provider={$$typeof:h,_context:T},T.Consumer=T},Xe.createElement=ae,Xe.createFactory=function(T){var Q=ae.bind(null,T);return Q.type=T,Q},Xe.createRef=function(){return{current:null}},Xe.forwardRef=function(T){return{$$typeof:v,render:T}},Xe.isValidElement=he,Xe.lazy=function(T){return{$$typeof:S,_payload:{_status:-1,_result:T},_init:qe}},Xe.memo=function(T,Q){return{$$typeof:b,type:T,compare:Q===void 0?null:Q}},Xe.startTransition=function(T){var Q=te.transition;te.transition={};try{T()}finally{te.transition=Q}},Xe.unstable_act=N,Xe.useCallback=function(T,Q){return Ue.current.useCallback(T,Q)},Xe.useContext=function(T){return Ue.current.useContext(T)},Xe.useDebugValue=function(){},Xe.useDeferredValue=function(T){return Ue.current.useDeferredValue(T)},Xe.useEffect=function(T,Q){return Ue.current.useEffect(T,Q)},Xe.useId=function(){return Ue.current.useId()},Xe.useImperativeHandle=function(T,Q,be){return Ue.current.useImperativeHandle(T,Q,be)},Xe.useInsertionEffect=function(T,Q){return Ue.current.useInsertionEffect(T,Q)},Xe.useLayoutEffect=function(T,Q){return Ue.current.useLayoutEffect(T,Q)},Xe.useMemo=function(T,Q){return Ue.current.useMemo(T,Q)},Xe.useReducer=function(T,Q,be){return Ue.current.useReducer(T,Q,be)},Xe.useRef=function(T){return Ue.current.useRef(T)},Xe.useState=function(T){return Ue.current.useState(T)},Xe.useSyncExternalStore=function(T,Q,be){return Ue.current.useSyncExternalStore(T,Q,be)},Xe.useTransition=function(){return Ue.current.useTransition()},Xe.version="18.3.1",Xe}var Ef;function gu(){return Ef||(Ef=1,Mc.exports=wp()),Mc.exports}/** 11 * @license React 12 * react-jsx-runtime.production.min.js 13 * 14 * Copyright (c) Facebook, Inc. and its affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var Nf;function jp(){if(Nf)return jo;Nf=1;var s=gu(),u=Symbol.for("react.element"),o=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,d=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function g(v,x,b){var S,E={},L=null,O=null;b!==void 0&&(L=""+b),x.key!==void 0&&(L=""+x.key),x.ref!==void 0&&(O=x.ref);for(S in x)c.call(x,S)&&!h.hasOwnProperty(S)&&(E[S]=x[S]);if(v&&v.defaultProps)for(S in x=v.defaultProps,x)E[S]===void 0&&(E[S]=x[S]);return{$$typeof:u,type:v,key:L,ref:O,props:E,_owner:d.current}}return jo.Fragment=o,jo.jsx=g,jo.jsxs=g,jo}var Pf;function Cp(){return Pf||(Pf=1,Dc.exports=jp()),Dc.exports}var a=Cp(),j=gu();const rn=th(j);var Zl={},Fc={exports:{}},Fn={},zc={exports:{}},$c={};/** 19 * @license React 20 * scheduler.production.min.js 21 * 22 * Copyright (c) Facebook, Inc. and its affiliates. 23 * 24 * This source code is licensed under the MIT license found in the 25 * LICENSE file in the root directory of this source tree. 26 */var Of;function Sp(){return Of||(Of=1,function(s){function u(te,ce){var N=te.length;te.push(ce);e:for(;0<N;){var T=N-1>>>1,Q=te[T];if(0<d(Q,ce))te[T]=ce,te[N]=Q,N=T;else break e}}function o(te){return te.length===0?null:te[0]}function c(te){if(te.length===0)return null;var ce=te[0],N=te.pop();if(N!==ce){te[0]=N;e:for(var T=0,Q=te.length,be=Q>>>1;T<be;){var je=2*(T+1)-1,Ie=te[je],Te=je+1,et=te[Te];if(0>d(Ie,N))Te<Q&&0>d(et,Ie)?(te[T]=et,te[Te]=N,T=Te):(te[T]=Ie,te[je]=N,T=je);else if(Te<Q&&0>d(et,N))te[T]=et,te[Te]=N,T=Te;else break e}}return ce}function d(te,ce){var N=te.sortIndex-ce.sortIndex;return N!==0?N:te.id-ce.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;s.unstable_now=function(){return h.now()}}else{var g=Date,v=g.now();s.unstable_now=function(){return g.now()-v}}var x=[],b=[],S=1,E=null,L=3,O=!1,A=!1,F=!1,q=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Y(te){for(var ce=o(b);ce!==null;){if(ce.callback===null)c(b);else if(ce.startTime<=te)c(b),ce.sortIndex=ce.expirationTime,u(x,ce);else break;ce=o(b)}}function ye(te){if(F=!1,Y(te),!A)if(o(x)!==null)A=!0,qe(oe);else{var ce=o(b);ce!==null&&Ue(ye,ce.startTime-te)}}function oe(te,ce){A=!1,F&&(F=!1,U(ae),ae=-1),O=!0;var N=L;try{for(Y(ce),E=o(x);E!==null&&(!(E.expirationTime>ce)||te&&!Be());){var T=E.callback;if(typeof T=="function"){E.callback=null,L=E.priorityLevel;var Q=T(E.expirationTime<=ce);ce=s.unstable_now(),typeof Q=="function"?E.callback=Q:E===o(x)&&c(x),Y(ce)}else c(x);E=o(x)}if(E!==null)var be=!0;else{var je=o(b);je!==null&&Ue(ye,je.startTime-ce),be=!1}return be}finally{E=null,L=N,O=!1}}var le=!1,we=null,ae=-1,ue=5,he=-1;function Be(){return!(s.unstable_now()-he<ue)}function Qe(){if(we!==null){var te=s.unstable_now();he=te;var ce=!0;try{ce=we(!0,te)}finally{ce?Ge():(le=!1,we=null)}}else le=!1}var Ge;if(typeof V=="function")Ge=function(){V(Qe)};else if(typeof MessageChannel<"u"){var Ke=new MessageChannel,it=Ke.port2;Ke.port1.onmessage=Qe,Ge=function(){it.postMessage(null)}}else Ge=function(){q(Qe,0)};function qe(te){we=te,le||(le=!0,Ge())}function Ue(te,ce){ae=q(function(){te(s.unstable_now())},ce)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(te){te.callback=null},s.unstable_continueExecution=function(){A||O||(A=!0,qe(oe))},s.unstable_forceFrameRate=function(te){0>te||125<te?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ue=0<te?Math.floor(1e3/te):5},s.unstable_getCurrentPriorityLevel=function(){return L},s.unstable_getFirstCallbackNode=function(){return o(x)},s.unstable_next=function(te){switch(L){case 1:case 2:case 3:var ce=3;break;default:ce=L}var N=L;L=ce;try{return te()}finally{L=N}},s.unstable_pauseExecution=function(){},s.unstable_requestPaint=function(){},s.unstable_runWithPriority=function(te,ce){switch(te){case 1:case 2:case 3:case 4:case 5:break;default:te=3}var N=L;L=te;try{return ce()}finally{L=N}},s.unstable_scheduleCallback=function(te,ce,N){var T=s.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?T+N:T):N=T,te){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=N+Q,te={id:S++,callback:ce,priorityLevel:te,startTime:N,expirationTime:Q,sortIndex:-1},N>T?(te.sortIndex=N,u(b,te),o(x)===null&&te===o(b)&&(F?(U(ae),ae=-1):F=!0,Ue(ye,N-T))):(te.sortIndex=Q,u(x,te),A||O||(A=!0,qe(oe))),te},s.unstable_shouldYield=Be,s.unstable_wrapCallback=function(te){var ce=L;return function(){var N=L;L=ce;try{return te.apply(this,arguments)}finally{L=N}}}}($c)),$c}var Tf;function kp(){return Tf||(Tf=1,zc.exports=Sp()),zc.exports}/** 27 * @license React 28 * react-dom.production.min.js 29 * 30 * Copyright (c) Facebook, Inc. and its affiliates. 31 * 32 * This source code is licensed under the MIT license found in the 33 * LICENSE file in the root directory of this source tree. 34 */var Lf;function Ep(){if(Lf)return Fn;Lf=1;
vendor: 9,448 bytes, lines 34-38
34var s=gu(),u=kp();function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=new Set,d={};function h(e,t){g(e,t),g(e+"Capture",t)}function g(e,t){for(d[e]=t,e=0;e<t.length;e++)c.add(t[e])}var v=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),x=Object.prototype.hasOwnProperty,b=/^[: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]*$/,S={},E={};function L(e){return x.call(E,e)?!0:x.call(S,e)?!1:b.test(e)?E[e]=!0:(S[e]=!0,!1)}function O(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function A(e,t,n,r){if(t===null||typeof t>"u"||O(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function F(e,t,n,r,l,f,y){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=y}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new F(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];q[t]=new F(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new F(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new F(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new F(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){q[e]=new F(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){q[e]=new F(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){q[e]=new F(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){q[e]=new F(e,5,!1,e.toLowerCase(),null,!1,!1)});var U=/[\-:]([a-z])/g;function V(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(U,V);q[t]=new F(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(U,V);q[t]=new F(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(U,V);q[t]=new F(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){q[e]=new F(e,1,!1,e.toLowerCase(),null,!1,!1)}),q.xlinkHref=new F("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){q[e]=new F(e,1,!1,e.toLowerCase(),null,!0,!0)});function Y(e,t,n,r){var l=q.hasOwnProperty(t)?q[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(A(t,n,l,r)&&(n=null),r||l===null?L(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var ye=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,oe=Symbol.for("react.element"),le=Symbol.for("react.portal"),we=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),Be=Symbol.for("react.context"),Qe=Symbol.for("react.forward_ref"),Ge=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),it=Symbol.for("react.memo"),qe=Symbol.for("react.lazy"),Ue=Symbol.for("react.offscreen"),te=Symbol.iterator;function ce(e){return e===null||typeof e!="object"?null:(e=te&&e[te]||e["@@iterator"],typeof e=="function"?e:null)}var N=Object.assign,T;function Q(e){if(T===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);T=t&&t[1]||""}return` 35`+T+e}var be=!1;function je(e,t){if(!e||be)return"";be=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(z){var r=z}Reflect.construct(e,[],t)}else{try{t.call()}catch(z){r=z}e.call(t.prototype)}else{try{throw Error()}catch(z){r=z}e()}}catch(z){if(z&&r&&typeof z.stack=="string"){for(var l=z.stack.split(` 36`),f=r.stack.split(` 37`),y=l.length-1,w=f.length-1;1<=y&&0<=w&&l[y]!==f[w];)w--;for(;1<=y&&0<=w;y--,w--)if(l[y]!==f[w]){if(y!==1||w!==1)do if(y--,w--,0>w||l[y]!==f[w]){var C=` 38`+l[y].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),C}while(1<=y&&0<=w);break}}}finally{be=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Q(e):""}function Ie(e){switch(e.tag){case 5:return Q(e.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return e=je(e.type,!1),e;case 11:return e=je(e.type.render,!1),e;case 1:return e=je(e.type,!0),e;default:return""}}function Te(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case we:return"Fragment";case le:return"Portal";case ue:return"Profiler";case ae:return"StrictMode";case Ge:return"Suspense";case Ke:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Be:return(e.displayName||"Context")+".Consumer";case he:return(e._context.displayName||"Context")+".Provider";case Qe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case it:return t=e.displayName||null,t!==null?t:Te(e.type)||"Memo";case qe:t=e._payload,e=e._init;try{return Te(e(t))}catch{}}return null}function et(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Te(t);case 8:return t===ae?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ne(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function St(e){var t=tt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,f=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(y){r=""+y,f.call(this,y)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(y){r=""+y}
vendor: 5,483 bytes, line 38
38,stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Pt(e){e._valueTracker||(e._valueTracker=St(e))}function an(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tt(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function kt(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function bi(e,t){var n=t.checked;return N({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function fr(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ne(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Qn(e,t){t=t.checked,t!=null&&Y(e,"checked",t,!1)}function aa(e,t){Qn(e,t);var n=ne(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?sa(e,t.type,n):t.hasOwnProperty("defaultValue")&&sa(e,t.type,ne(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Xr(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function sa(e,t,n){(t!=="number"||kt(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Nr=Array.isArray;function Hn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ne(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Pr(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(o(91));return N({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xi(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(o(92));if(Nr(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ne(n)}}function Jr(e,t){var n=ne(t.value),r=ne(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function K(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function D(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function X(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?D(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var J,Me=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(J=J||document.createElement("div"),J.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=J.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Je={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},B=["Webkit","ms","Moz","O"];Object.keys(Je).forEach(function(e){B.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Je[t]=Je[e]})});function W(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Je.hasOwnProperty(e)&&Je[e]?(""+t).trim():t+"px"}function xe(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=W(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var ve=N({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function de(e,t){if(t){if(ve[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(o(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(t.style!=null&&typeof t.style!="object")throw Error(o(62))}}function He(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
38ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var yt=null;function pt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var nt=null,xt=null,mt=null;function Dt(e){if(e=fi(e)){if(typeof nt!="function")throw Error(o(280));var t=e.stateNode;t&&(t=rr(t),nt(e.stateNode,e.type,t))}}function hr(e){xt?mt?mt.push(e):mt=[e]:xt=e}function Wn(){if(xt){var e=xt,t=mt;if(mt=xt=null,Dt(e),t)for(e=0;e<t.length;e++)Dt(t[e])}}function Zr(e,t){return e(t)}function Kn(){}var Gn=!1;function Ao(e,t,n){if(Gn)return e(t,n);Gn=!0;try{return Zr(e,t,n)}finally{Gn=!1,(xt!==null||mt!==null)&&(Kn(),Wn())}}function oa(e,t){var n=e.stateNode;if(n===null)return null;var r=rr(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(o(231,t,typeof n));return n}var Rs=!1;if(v)try{var la={};Object.defineProperty(la,"passive",{get:function(){Rs=!0}}),window.addEventListener("test",la,la),window.removeEventListener("test",la,la)}catch{Rs=!1}function xu(e,t,n,r,l,f,y,w,C){var z=Array.prototype.slice.call(arguments,3);try{t.apply(n,z)}catch(Z){this.onError(Z)}}var ei=!1,pr=null,ti=!1,Ds=null,Ms={onError:function(e){ei=!0,pr=e}};function wu(e,t,n,r,l,f,y,w,C){ei=!1,pr=null,xu.apply(Ms,arguments)}function ju(e,t,n,r,l,f,y,w,C){if(wu.apply(this,arguments),ei){if(ei){var z=pr;ei=!1,pr=null}else throw Error(o(198));ti||(ti=!0,Ds=z)}}function kn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Kt(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function dn(e){if(kn(e)!==e)throw Error(o(188))}function vn(e){var t=e.alternate;if(!t){if(t=kn(e),t===null)throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var f=l.alternate;if(f===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===f.child){for(f=l.child;f;){if(f===n)return dn(l),e;if(f===r)return dn(l),t;f=f.sibling}throw Error(o(188))}if(n.return!==r.return)n=l,r=f;else{for(var y=!1,w=l.child;w;){if(w===n){y=!0,n=l,r=f;break}if(w===r){y=!0,r=l,n=f;break}w=w.sibling}if(!y){for(w=f.child;w;){if(w===n){y=!0,n=f,r=l;break}if(w===r){y=!0,r=f,n=l;break}w=w.sibling}if(!y)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:t}function Gt(e){return e=vn(e),e!==null?ua(e):null}function ua(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ua(e);if(t!==null)return t;e=e.sibling}return null}var ni=u.unstable_scheduleCallback,Or=u.unstable_cancelCallback,wi=u.unstable_shouldYield,Ro=u.unstable_requestPaint,Et=u.unstable_now,ji=u.unstable_getCurrentPriorityLevel,Wa=u.unstable_ImmediatePriority,Ka=u.unstable_UserBlockingPriority,Ci=u.unstable_NormalPriority,Do=u.unstable_LowPriority,Fs=u.unstable_IdlePriority,ca=null,Bn=null;function Mo(e){if(Bn&&typeof Bn.onCommitFiberRoot=="function")try{Bn.onCommitFiberRoot(ca,e,void 0,(e.current.flags&128)===128)}catch{}}var En=Math.clz32?Math.clz32:$o,Fo=Math.log,zo=Math.LN2;function $o(e){return e>>>=0,e===0?32:31-(Fo(e)/zo|0)|0}var da=64,_n=4194304;function qt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Yn(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,f=e.pingedLanes,y=n&268435455;if(y!==0){var w=y&~l;w!==0?r=qt(w):(f&=y,f!==0&&(r=qt(f)))}else y=n&~l,y!==0?r=qt(y):f!==0&&(r=qt(f));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,f=t&-t,l>=f||l===16&&(f&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-En(t),l=1<<n,r|=e[n],t&=~l;return r}function Nn(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function zs(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,f=e.pendingLanes;0<f;){var y=31-En(f),w=1<<y,C=l[y];C===-1?(!(w&n)||w&r)&&(l[y]=Nn(w,t)):C<=t&&(e.expiredLanes|=w),f&=~w}}function fa(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function qn(){var e=da;return da<<=1,!(da&4194240)&&(da=64),e}function mr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Tr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-En(t),e[t]=n}function Si(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-En(n),f=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~f}}function ha(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-En(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var ot=0;function ri(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ga,Ya,Xn,Bo,gr,ki=!1,pa=[],Pn=null,Jn=null,On=null,Ei=new Map,Ni=new Map,yr=[],Pi="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function qo(e,t){switch(e){case"focusin":case"focusout":Pn=null;break;case"dragenter":case"dragleave":Jn=null;break;case"mouseover":case"mouseout":On=null;break;case"pointerover":case"pointerout":Ei.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ni.delete(t.pointerId)}}function Oi(e,t,n,r,l,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:f,targetContainers:[l]},t!==null&&(t=fi(t),t!==null&&Ya(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function $s(e,t,n,r,l){switch(t){case"focusin":return Pn=Oi(Pn,e,t,n,r,l),!0;case"dragenter":return Jn=Oi(Jn,e,t,n,r,l),!0;case"mouseover":return On=Oi(On,e,t,n,r,l),!0;case"pointerover":var f=l.pointerId;return Ei.set(f,Oi(Ei.get(f)||null,e,t,n,r,l)),!0;case"gotpointercapture":return f=l.pointerId,Ni.set(f,Oi(Ni.get(f)||null,e,t,n,r,l)),!0}return!1}function ma(e){var t=zr(e.target);if(t!==null){var n=kn(t);if(n!==null){if(t=n.tag,t===13){if(t=Kt(n),t!==null){e.blockedOn=t,gr(e.priority,function(){Xn(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ti(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ja(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);yt=r,n.target.dispatchEvent(r),yt=null}else return t=fi(n),t!==null&&Ya(t),e.blockedOn=n,!1;t.shift()}return!0}function Uo(e,t,n){Ti(e)&&n.delete(t)}function Xa(){ki=!1,Pn!==null&&Ti(Pn)&&(Pn=null),Jn!==null&&Ti(Jn)&&(Jn=null),On!==null&&Ti(On)&&(On=null),Ei.forEach(Uo),Ni.forEach(Uo)}function ga(e,t){e.blockedOn===t&&(e.blockedOn=null,ki||(ki=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Xa)))}function Li(e){function t(l){return ga(l,e)}if(0<pa.length){ga(pa[0],e);for(var n=1;n<pa.length;n++){var r=pa[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Pn!==null&&ga(Pn,e),Jn!==null&&ga(Jn,e),On!==null&&ga(On,e),Ei.forEach(t),Ni.forEach(t),n=0;n<yr.length;n++)r=yr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<yr.length&&(n=yr[0],n.blockedOn===null);)ma(n),n.blockedOn===null&&yr.shift()}var Lr=ye.ReactCurrentBatchConfig,Ii=!0;function Bs(e,t,n,r){var l=ot,f=Lr.transition;Lr.transition=null;try{ot=1,ii(e,t,n,r)}finally{ot=l,Lr.transition=f}}function Vo(e,t,n,r){var l=ot,f=Lr.transition;Lr.transition=null;try{ot=4,ii(e,t,n,r)}finally{ot=l,Lr.transition=f}}function ii(e,t,n,r){if(Ii){var l=Ja(e,t,n,r);if(l===null)no(e,t,r,Ai,n),qo(e,r);else if($s(l,e,t,n,r))r.stopPropagation();else if(qo(e,r),t&4&&-1<Pi.indexOf(e)){for(;l!==null;){var f=fi(l);if(f!==null&&Ga(f),f=Ja(e,t,n,r),f===null&&no(e,t,r,Ai,n),f===l)break;l=f}l!==null&&r.stopPropagation()}else no(e,t,r,null,n)}}var Ai=null;function Ja(e,t,n,r){if(Ai=null,e=pt(r),e=zr(e),e!==null)if(t=kn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Kt(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ai=e,null}
vendor: 10,380 bytes, line 38
38function qs(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ji()){case Wa:return 1;case Ka:return 4;case Ci:case Do:return 16;case Fs:return 536870912;default:return 16}default:return 16}}var bn=null,Us=null,ya=null;function Vs(){if(ya)return ya;var e,t=Us,n=t.length,r,l="value"in bn?bn.value:bn.textContent,f=l.length;for(e=0;e<n&&t[e]===l[e];e++);var y=n-e;for(r=1;r<=y&&t[n-r]===l[f-r];r++);return ya=l.slice(e,1<r?1-r:void 0)}function va(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function _a(){return!0}function Qs(){return!1}function sn(e){function t(n,r,l,f,y){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=f,this.target=y,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(n=e[w],this[w]=n?n(f):f[w]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?_a:Qs,this.isPropagationStopped=Qs,this}return N(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=_a)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=_a)},persist:function(){},isPersistent:_a}),t}var ai={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hs=sn(ai),ba=N({},ai,{view:0,detail:0}),Qo=sn(ba),Za,Ri,xa,es=N({},ba,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==xa&&(xa&&e.type==="mousemove"?(Za=e.screenX-xa.screenX,Ri=e.screenY-xa.screenY):Ri=Za=0,xa=e),Za)},movementY:function(e){return"movementY"in e?e.movementY:Ri}}),ts=sn(es),Ho=N({},es,{dataTransfer:0}),Wo=sn(Ho),si=N({},ba,{relatedTarget:0}),wa=sn(si),Cu=N({},ai,{animationName:0,elapsedTime:0,pseudoElement:0}),Ko=sn(Cu),Su=N({},ai,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ku=sn(Su),Eu=N({},ai,{data:0}),Go=sn(Eu),Yo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xo={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"},Nu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Di(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Nu[e])?!!t[e]:!1}function vr(){return Di}var Pu=N({},ba,{key:function(e){if(e.key){var t=Yo[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=va(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Xo[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vr,charCode:function(e){return e.type==="keypress"?va(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?va(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ns=sn(Pu),Ou=N({},es,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jo=sn(Ou),Tu=N({},ba,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vr}),Lu=sn(Tu),Iu=N({},ai,{propertyName:0,elapsedTime:0,pseudoElement:0}),Au=sn(Iu),Ru=N({},es,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Du=sn(Ru),Un=[9,13,27,32],rs=v&&"CompositionEvent"in window,Mi=null;v&&"documentMode"in document&&(Mi=document.documentMode);var Zo=v&&"TextEvent"in window&&!Mi,el=v&&(!rs||Mi&&8<Mi&&11>=Mi),tl=" ",Ws=!1;function ja(e,t){switch(e){case"keyup":return Un.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nl(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Fi=!1;function rl(e,t){switch(e){case"compositionend":return nl(t);case"keypress":return t.which!==32?null:(Ws=!0,tl);case"textInput":return e=t.data,e===tl&&Ws?null:e;default:return null}}function Mu(e,t){if(Fi)return e==="compositionend"||!rs&&ja(e,t)?(e=Vs(),ya=Us=bn=null,Fi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return el&&t.locale!=="ko"?null:t.data;default:return null}}var Fu={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 Ks(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Fu[e.type]:t==="textarea"}function Gs(e,t,n,r){hr(r),t=tr(t,"onChange"),0<t.length&&(n=new Hs("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var zi=null,Ir=null;function il(e){Sa(e,0)}function $i(e){var t=hi(e);if(an(t))return e}function Tn(e,t){if(e==="change")return t}var al=!1;if(v){var Ys;if(v){var is="oninput"in document;if(!is){var Xs=document.createElement("div");Xs.setAttribute("oninput","return;"),is=typeof Xs.oninput=="function"}Ys=is}else Ys=!1;al=Ys&&(!document.documentMode||9<document.documentMode)}function sl(){zi&&(zi.detachEvent("onpropertychange",ol),Ir=zi=null)}function ol(e){if(e.propertyName==="value"&&$i(Ir)){var t=[];Gs(t,Ir,e,pt(e)),Ao(il,t)}}function zu(e,t,n){e==="focusin"?(sl(),zi=t,Ir=n,zi.attachEvent("onpropertychange",ol)):e==="focusout"&&sl()}function $u(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $i(Ir)}function Bu(e,t){if(e==="click")return $i(t)}function qu(e,t){if(e==="input"||e==="change")return $i(t)}function ll(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ln=typeof Object.is=="function"?Object.is:ll;function oi(e,t){if(Ln(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!x.call(t,l)||!Ln(e[l],t[l]))return!1}return!0}function ul(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cl(e,t){var n=ul(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ul(n)}}function Ar(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ar(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Zn(){for(var e=window,t=kt();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=kt(e.document)}return t}function as(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Uu(e){var t=Zn(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ar(n.ownerDocument.documentElement,n)){if(r!==null&&as(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,f=Math.min(r.start,l);r=r.end===void 0?f:Math.min(r.end,l),!e.extend&&f>r&&(l=r,r=f,f=l),l=cl(n,f);var y=cl(n,r);l&&y&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),f>r?(e.addRange(t),e.extend(y.node,y.offset)):(t.setEnd(y.node,y.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var dl=v&&"documentMode"in document&&11>=document.documentMode,li=null,ss=null,Bi=null,Js=!1;function fl(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Js||li==null||li!==kt(r)||(r=li,"selectionStart"in r&&as(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 7,126 bytes, line 38
38sNode:r.focusNode,focusOffset:r.focusOffset}),Bi&&oi(Bi,r)||(Bi=r,r=tr(ss,"onSelect"),0<r.length&&(t=new Hs("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=li)))}function os(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ui={animationend:os("Animation","AnimationEnd"),animationiteration:os("Animation","AnimationIteration"),animationstart:os("Animation","AnimationStart"),transitionend:os("Transition","TransitionEnd")},ls={},hl={};v&&(hl=document.createElement("div").style,"AnimationEvent"in window||(delete ui.animationend.animation,delete ui.animationiteration.animation,delete ui.animationstart.animation),"TransitionEvent"in window||delete ui.transitionend.transition);function us(e){if(ls[e])return ls[e];if(!ui[e])return e;var t=ui[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in hl)return ls[e]=t[n];return e}var pl=us("animationend"),ml=us("animationiteration"),gl=us("animationstart"),er=us("transitionend"),Zs=new Map,yl="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rr(e,t){Zs.set(e,t),h(t,[e])}for(var eo=0;eo<yl.length;eo++){var to=yl[eo],Vu=to.toLowerCase(),Qu=to[0].toUpperCase()+to.slice(1);Rr(Vu,"on"+Qu)}Rr(pl,"onAnimationEnd"),Rr(ml,"onAnimationIteration"),Rr(gl,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(er,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ca="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(" "),Hu=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ca));function cs(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,ju(r,t,void 0,e),e.currentTarget=null}function Sa(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var f=void 0;if(t)for(var y=r.length-1;0<=y;y--){var w=r[y],C=w.instance,z=w.currentTarget;if(w=w.listener,C!==f&&l.isPropagationStopped())break e;cs(l,w,z),f=C}else for(y=0;y<r.length;y++){if(w=r[y],C=w.instance,z=w.currentTarget,w=w.listener,C!==f&&l.isPropagationStopped())break e;cs(l,w,z),f=C}}}if(ti)throw e=Ds,ti=!1,Ds=null,e}function bt(e,t){var n=t[so];n===void 0&&(n=t[so]=new Set);var r=e+"__bubble";n.has(r)||(vl(t,e,2,!1),n.add(r))}function ds(e,t,n){var r=0;t&&(r|=4),vl(n,e,r,t)}var Dr="_reactListening"+Math.random().toString(36).slice(2);function ci(e){if(!e[Dr]){e[Dr]=!0,c.forEach(function(n){n!=="selectionchange"&&(Hu.has(n)||ds(n,!1,e),ds(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Dr]||(t[Dr]=!0,ds("selectionchange",!1,t))}}function vl(e,t,n,r){switch(qs(t)){case 1:var l=Bs;break;case 4:l=Vo;break;default:l=ii}n=l.bind(null,t,n,e),l=void 0,!Rs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function no(e,t,n,r,l){var f=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var y=r.tag;if(y===3||y===4){var w=r.stateNode.containerInfo;if(w===l||w.nodeType===8&&w.parentNode===l)break;if(y===4)for(y=r.return;y!==null;){var C=y.tag;if((C===3||C===4)&&(C=y.stateNode.containerInfo,C===l||C.nodeType===8&&C.parentNode===l))return;y=y.return}for(;w!==null;){if(y=zr(w),y===null)return;if(C=y.tag,C===5||C===6){r=f=y;continue e}w=w.parentNode}}r=r.return}Ao(function(){var z=f,Z=pt(n),ee=[];e:{var G=Zs.get(e);if(G!==void 0){var fe=Hs,Ce=e;switch(e){case"keypress":if(va(n)===0)break e;case"keydown":case"keyup":fe=ns;break;case"focusin":Ce="focus",fe=wa;break;case"focusout":Ce="blur",fe=wa;break;case"beforeblur":case"afterblur":fe=wa;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":fe=ts;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":fe=Wo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":fe=Lu;break;case pl:case ml:case gl:fe=Ko;break;case er:fe=Au;break;case"scroll":fe=Qo;break;case"wheel":fe=Du;break;case"copy":case"cut":case"paste":fe=ku;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":fe=Jo}var ke=(t&4)!==0,Ft=!ke&&e==="scroll",R=ke?G!==null?G+"Capture":null:G;ke=[];for(var P=z,M;P!==null;){M=P;var ie=M.stateNode;if(M.tag===5&&ie!==null&&(M=ie,R!==null&&(ie=oa(P,R),ie!=null&&ke.push(ka(P,ie,M)))),Ft)break;P=P.return}0<ke.length&&(G=new fe(G,Ce,null,n,Z),ee.push({event:G,listeners:ke}))}}if(!(t&7)){e:{if(G=e==="mouseover"||e==="pointerover",fe=e==="mouseout"||e==="pointerout",G&&n!==yt&&(Ce=n.relatedTarget||n.fromElement)&&(zr(Ce)||Ce[_r]))break e;if((fe||G)&&(G=Z.window===Z?Z:(G=Z.ownerDocument)?G.defaultView||G.parentWindow:window,fe?(Ce=n.relatedTarget||n.toElement,fe=z,Ce=Ce?zr(Ce):null,Ce!==null&&(Ft=kn(Ce),Ce!==Ft||Ce.tag!==5&&Ce.tag!==6)&&(Ce=null)):(fe=null,Ce=z),fe!==Ce)){if(ke=ts,ie="onMouseLeave",R="onMouseEnter",P="mouse",(e==="pointerout"||e==="pointerover")&&(ke=Jo,ie="onPointerLeave",R="onPointerEnter",P="pointer"),Ft=fe==null?G:hi(fe),M=Ce==null?G:hi(Ce),G=new ke(ie,P+"leave",fe,n,Z),G.target=Ft,G.relatedTarget=M,ie=null,zr(Z)===z&&(ke=new ke(R,P+"enter",Ce,n,Z),ke.target=M,ke.relatedTarget=Ft,ie=ke),Ft=ie,fe&&Ce)t:{for(ke=fe,R=Ce,P=0,M=ke;M;M=qi(M))P++;for(M=0,ie=R;ie;ie=qi(ie))M++;for(;0<P-M;)ke=qi(ke),P--;for(;0<M-P;)R=qi(R),M--;for(;P--;){if(ke===R||R!==null&&ke===R.alternate)break t;ke=qi(ke),R=qi(R)}ke=null}else ke=null;fe!==null&&_l(ee,G,fe,ke,!1),Ce!==null&&Ft!==null&&_l(ee,Ft,Ce,ke,!0)}}
vendor: 5,460 bytes, lines 38-39
38e:{if(G=z?hi(z):window,fe=G.nodeName&&G.nodeName.toLowerCase(),fe==="select"||fe==="input"&&G.type==="file")var Ee=Tn;else if(Ks(G))if(al)Ee=qu;else{Ee=$u;var Ae=zu}else(fe=G.nodeName)&&fe.toLowerCase()==="input"&&(G.type==="checkbox"||G.type==="radio")&&(Ee=Bu);if(Ee&&(Ee=Ee(e,z))){Gs(ee,Ee,n,Z);break e}Ae&&Ae(e,G,z),e==="focusout"&&(Ae=G._wrapperState)&&Ae.controlled&&G.type==="number"&&sa(G,"number",G.value)}switch(Ae=z?hi(z):window,e){case"focusin":(Ks(Ae)||Ae.contentEditable==="true")&&(li=Ae,ss=z,Bi=null);break;case"focusout":Bi=ss=li=null;break;case"mousedown":Js=!0;break;case"contextmenu":case"mouseup":case"dragend":Js=!1,fl(ee,n,Z);break;case"selectionchange":if(dl)break;case"keydown":case"keyup":fl(ee,n,Z)}var Re;if(rs)e:{switch(e){case"compositionstart":var $e="onCompositionStart";break e;case"compositionend":$e="onCompositionEnd";break e;case"compositionupdate":$e="onCompositionUpdate";break e}$e=void 0}else Fi?ja(e,n)&&($e="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&($e="onCompositionStart");$e&&(el&&n.locale!=="ko"&&(Fi||$e!=="onCompositionStart"?$e==="onCompositionEnd"&&Fi&&(Re=Vs()):(bn=Z,Us="value"in bn?bn.value:bn.textContent,Fi=!0)),Ae=tr(z,$e),0<Ae.length&&($e=new Go($e,e,null,n,Z),ee.push({event:$e,listeners:Ae}),Re?$e.data=Re:(Re=nl(n),Re!==null&&($e.data=Re)))),(Re=Zo?rl(e,n):Mu(e,n))&&(z=tr(z,"onBeforeInput"),0<z.length&&(Z=new Go("onBeforeInput","beforeinput",null,n,Z),ee.push({event:Z,listeners:z}),Z.data=Re))}Sa(ee,t)})}function ka(e,t,n){return{instance:e,listener:t,currentTarget:n}}function tr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,f=l.stateNode;l.tag===5&&f!==null&&(l=f,f=oa(e,n),f!=null&&r.unshift(ka(e,f,l)),f=oa(e,t),f!=null&&r.push(ka(e,f,l))),e=e.return}return r}function qi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _l(e,t,n,r,l){for(var f=t._reactName,y=[];n!==null&&n!==r;){var w=n,C=w.alternate,z=w.stateNode;if(C!==null&&C===r)break;w.tag===5&&z!==null&&(w=z,l?(C=oa(n,f),C!=null&&y.unshift(ka(n,C,w))):l||(C=oa(n,f),C!=null&&y.push(ka(n,C,w)))),n=n.return}y.length!==0&&e.push({event:t,listeners:y})}var fs=/\r\n?/g,ro=/\u0000|\uFFFD/g;function bl(e){return(typeof e=="string"?e:""+e).replace(fs,` 39`).replace(ro,"")}function Ea(e,t,n){if(t=bl(t),bl(e)!==t&&n)throw Error(o(425))}function hs(){}var Mr=null,Na=null;function ps(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var io=typeof setTimeout=="function"?setTimeout:void 0,Wu=typeof clearTimeout=="function"?clearTimeout:void 0,xl=typeof Promise=="function"?Promise:void 0,Pa=typeof queueMicrotask=="function"?queueMicrotask:typeof xl<"u"?function(e){return xl.resolve(null).then(e).catch(di)}:io;function di(e){setTimeout(function(){throw e})}function ao(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Li(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Li(t)}function Fr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function wl(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ui=Math.random().toString(36).slice(2),nr="__reactFiber$"+Ui,Oa="__reactProps$"+Ui,_r="__reactContainer$"+Ui,so="__reactEvents$"+Ui,jl="__reactListeners$"+Ui,Ku="__reactHandles$"+Ui;function zr(e){var t=e[nr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_r]||n[nr]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wl(e);e!==null;){if(n=e[nr])return n;e=wl(e)}return t}e=n,n=e.parentNode}return null}function fi(e){return e=e[nr]||e[_r],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function hi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function rr(e){return e[Oa]||null}var ms=[],$r=-1;function br(e){return{current:e}}function vt(e){0>$r||(e.current=ms[$r],ms[$r]=null,$r--)}function _t(e,t){$r++,ms[$r]=e.current,e.current=t}var ir={},Yt=br(ir),Lt=br(!1),fn=ir;function Vi(e,t){var n=e.type.contextTypes;if(!n)return ir;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},f;for(f in n)l[f]=t[f];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function hn(e){return e=e.childContextTypes,e!=null}function gs(){vt(Lt),vt(Yt)}function Cl(e,t,n){if(Yt.current!==ir)throw Error(o(168));_t(Yt,t),_t(Lt,n)}function Sl(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(o(108,et(e)||"Unknown",l));return N({},n,r)}function ys(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ir,fn=Yt.current,_t(Yt,e),_t(Lt,Lt.current),!0}function kl(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Sl(e,t,fn),r.__reactInternalMemoizedMergedChildContext=e,vt(Lt),vt(Yt),_t(Yt,e)):vt(Lt),_t(Lt,n)}var xr=null,Ta=!1,Qi=!1;function La(e){xr===null?xr=[e]:xr.push(e)}function Gu(e){Ta=!0,La(e)}function Br(){if(!Qi&&xr!==null){Qi=!0;var e=0,t=ot;try{var n=xr;
vendor: 14,542 bytes, line 39
39for(ot=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}xr=null,Ta=!1}catch(l){throw xr!==null&&(xr=xr.slice(e+1)),ni(Wa,Br),l}finally{ot=t,Qi=!1}}return null}var ar=[],m=0,i=null,p=0,_=[],k=0,I=null,$=1,H="";function re(e,t){ar[m++]=p,ar[m++]=i,i=e,p=t}function pe(e,t,n){_[k++]=$,_[k++]=H,_[k++]=I,I=e;var r=$;e=H;var l=32-En(r)-1;r&=~(1<<l),n+=1;var f=32-En(t)+l;if(30<f){var y=l-l%5;f=(r&(1<<y)-1).toString(32),r>>=y,l-=y,$=1<<32-En(t)+l|n<<l|r,H=f+e}else $=1<<f|n<<l|r,H=e}function me(e){e.return!==null&&(re(e,1),pe(e,1,0))}function se(e){for(;e===i;)i=ar[--m],ar[m]=null,p=ar[--m],ar[m]=null;for(;e===I;)I=_[--k],_[k]=null,H=_[--k],_[k]=null,$=_[--k],_[k]=null}var Le=null,Se=null,ge=!1,Pe=null;function ze(e,t){var n=ur(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function ct(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Le=e,Se=Fr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Le=e,Se=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=I!==null?{id:$,overflow:H}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ur(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Le=e,Se=null,!0):!1;default:return!1}}function gt(e){return(e.mode&1)!==0&&(e.flags&128)===0}function We(e){if(ge){var t=Se;if(t){var n=t;if(!ct(e,t)){if(gt(e))throw Error(o(418));t=Fr(n.nextSibling);var r=Le;t&&ct(e,t)?ze(r,n):(e.flags=e.flags&-4097|2,ge=!1,Le=e)}}else{if(gt(e))throw Error(o(418));e.flags=e.flags&-4097|2,ge=!1,Le=e}}}function rt(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Le=e}function Ve(e){if(e!==Le)return!1;if(!ge)return rt(e),ge=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ps(e.type,e.memoizedProps)),t&&(t=Se)){if(gt(e))throw Ye(),Error(o(418));for(;t;)ze(e,t),t=Fr(t.nextSibling)}if(rt(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Se=Fr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Se=null}}else Se=Le?Fr(e.stateNode.nextSibling):null;return!0}function Ye(){for(var e=Se;e;)e=Fr(e.nextSibling)}function Ze(){Se=Le=null,ge=!1}function lt(e){Pe===null?Pe=[e]:Pe.push(e)}var dt=ye.ReactCurrentBatchConfig;function wt(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var l=r,f=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===f?t.ref:(t=function(y){var w=l.refs;y===null?delete w[f]:w[f]=y},t._stringRef=f,t)}if(typeof e!="string")throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Xt(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function In(e){var t=e._init;return t(e._payload)}function Jt(e){function t(R,P){if(e){var M=R.deletions;M===null?(R.deletions=[P],R.flags|=16):M.push(P)}}function n(R,P){if(!e)return null;for(;P!==null;)t(R,P),P=P.sibling;return null}function r(R,P){for(R=new Map;P!==null;)P.key!==null?R.set(P.key,P):R.set(P.index,P),P=P.sibling;return R}function l(R,P){return R=Ji(R,P),R.index=0,R.sibling=null,R}function f(R,P,M){return R.index=M,e?(M=R.alternate,M!==null?(M=M.index,M<P?(R.flags|=2,P):M):(R.flags|=2,P)):(R.flags|=1048576,P)}function y(R){return e&&R.alternate===null&&(R.flags|=2),R}function w(R,P,M,ie){return P===null||P.tag!==6?(P=Oc(M,R.mode,ie),P.return=R,P):(P=l(P,M),P.return=R,P)}function C(R,P,M,ie){var Ee=M.type;return Ee===we?Z(R,P,M.props.children,ie,M.key):P!==null&&(P.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===qe&&In(Ee)===P.type)?(ie=l(P,M.props),ie.ref=wt(R,P,M),ie.return=R,ie):(ie=Ql(M.type,M.key,M.props,null,R.mode,ie),ie.ref=wt(R,P,M),ie.return=R,ie)}function z(R,P,M,ie){return P===null||P.tag!==4||P.stateNode.containerInfo!==M.containerInfo||P.stateNode.implementation!==M.implementation?(P=Tc(M,R.mode,ie),P.return=R,P):(P=l(P,M.children||[]),P.return=R,P)}function Z(R,P,M,ie,Ee){return P===null||P.tag!==7?(P=Ua(M,R.mode,ie,Ee),P.return=R,P):(P=l(P,M),P.return=R,P)}function ee(R,P,M){if(typeof P=="string"&&P!==""||typeof P=="number")return P=Oc(""+P,R.mode,M),P.return=R,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case oe:return M=Ql(P.type,P.key,P.props,null,R.mode,M),M.ref=wt(R,null,P),M.return=R,M;case le:return P=Tc(P,R.mode,M),P.return=R,P;case qe:var ie=P._init;return ee(R,ie(P._payload),M)}if(Nr(P)||ce(P))return P=Ua(P,R.mode,M,null),P.return=R,P;Xt(R,P)}return null}function G(R,P,M,ie){var Ee=P!==null?P.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return Ee!==null?null:w(R,P,""+M,ie);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case oe:return M.key===Ee?C(R,P,M,ie):null;case le:return M.key===Ee?z(R,P,M,ie):null;case qe:return Ee=M._init,G(R,P,Ee(M._payload),ie)}if(Nr(M)||ce(M))return Ee!==null?null:Z(R,P,M,ie,null);Xt(R,M)}return null}function fe(R,P,M,ie,Ee){if(typeof ie=="string"&&ie!==""||typeof ie=="number")return R=R.get(M)||null,w(P,R,""+ie,Ee);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case oe:return R=R.get(ie.key===null?M:ie.key)||null,C(P,R,ie,Ee);case le:return R=R.get(ie.key===null?M:ie.key)||null,z(P,R,ie,Ee);case qe:var Ae=ie._init;return fe(R,P,M,Ae(ie._payload),Ee)}if(Nr(ie)||ce(ie))return R=R.get(M)||null,Z(P,R,ie,Ee,null);Xt(P,ie)}return null}function Ce(R,P,M,ie){for(var Ee=null,Ae=null,Re=P,$e=P=0,nn=null;Re!==null&&$e<M.length;$e++){Re.index>$e?(nn=Re,Re=null):nn=Re.sibling;var ut=G(R,Re,M[$e],ie);if(ut===null){Re===null&&(Re=nn);break}e&&Re&&ut.alternate===null&&t(R,Re),P=f(ut,P,$e),Ae===null?Ee=ut:Ae.sibling=ut,Ae=ut,Re=nn}if($e===M.length)return n(R,Re),ge&&re(R,$e),Ee;if(Re===null){for(;$e<M.length;$e++)Re=ee(R,M[$e],ie),Re!==null&&(P=f(Re,P,$e),Ae===null?Ee=Re:Ae.sibling=Re,Ae=Re);return ge&&re(R,$e),Ee}for(Re=r(R,Re);$e<M.length;$e++)nn=fe(Re,R,$e,M[$e],ie),nn!==null&&(e&&nn.alternate!==null&&Re.delete(nn.key===null?$e:nn.key),P=f(nn,P,$e),Ae===null?Ee=nn:Ae.sibling=nn,Ae=nn);return e&&Re.forEach(function(Zi){return t(R,Zi)}),ge&&re(R,$e),Ee}function ke(R,P,M,ie){var Ee=ce(M);if(typeof Ee!="function")throw Error(o(150));if(M=Ee.call(M),M==null)throw Error(o(151));for(var Ae=Ee=null,Re=P,$e=P=0,nn=null,ut=M.next();Re!==null&&!ut.done;$e++,ut=M.next()){Re.index>$e?(nn=Re,Re=null):nn=Re.sibling;var Zi=G(R,Re,ut.value,ie);if(Zi===null){Re===null&&(Re=nn);break}e&&Re&&Zi.alternate===null&&t(R,Re),P=f(Zi,P,$e),Ae===null?Ee=Zi:Ae.sibling=Zi,Ae=Zi,Re=nn}if(ut.done)return n(R,Re),ge&&re(R,$e),Ee;if(Re===null){for(;!ut.done;$e++,ut=M.next())ut=ee(R,ut.value,ie),ut!==null&&(P=f(ut,P,$e),Ae===null?Ee=ut:Ae.sibling=ut,Ae=ut);return ge&&re(R,$e),Ee}for(Re=r(R,Re);!ut.done;$e++,ut=M.next())ut=fe(Re,R,$e,ut.value,ie),ut!==null&&(e&&ut.alternate!==null&&Re.delete(ut.key===null?$e:ut.key),P=f(ut,P,$e),Ae===null?Ee=ut:Ae.sibling=ut,Ae=ut);return e&&Re.forEach(function(xp){return t(R,xp)}),ge&&re(R,$e),Ee}function Ft(R,P,M,ie){if(typeof M=="object"&&M!==null&&M.type===we&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case oe:e:{for(var Ee=M.key,Ae=P;Ae!==null;){if(Ae.key===Ee){if(Ee=M.type,Ee===we){if(Ae.tag===7){n(R,Ae.sibling),P=l(Ae,M.props.children),P.return=R,R=P;break e}}else if(Ae.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===qe&&In(Ee)===Ae.type){n(R,Ae.sibling),P=l(Ae,M.props),P.ref=wt(R,Ae,M),P.return=R,R=P;break e}n(R,Ae);break}else t(R,Ae);Ae=Ae.sibling}M.type===we?(P=Ua(M.props.children,R.mode,ie,M.key),P.return=R,R=P):(ie=Ql(M.type,M.key,M.props,null,R.mode,ie),ie.ref=wt(R,P,M),ie.return=R,R=ie)}return y(R);case le:e:{for(Ae=M.key;P!==null;){if(P.key===Ae)if(P.tag===4&&P.stateNode.containerInfo===M.containerInfo&&P.stateNode.implementation===M.implementation){n(R,P.sibling),P=l(P,M.children||[]),P.return=R,R=P;break e}else{n(R,P);break}else t(R,P);P=P.sibling}P=Tc(M,R.mode,ie),P.return=R,R=P}return y(R);case qe:return Ae=M._init,Ft(R,P,Ae(M._payload),ie)}if(Nr(M))return Ce(R,P,M,ie);if(ce(M))return ke(R,P,M,ie);Xt(R,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,P!==null&&P.tag===6?(n(R,P.sibling),P=l(P,M),P.return=R,R=P):(n(R,P),P=Oc(M,R.mode,ie),P.return=R,R=P),y(R)):n(R,P)}return Ft}var Ut=Jt(!0),xn=Jt(!1),jt=br(null),wn=null,on=null,qr=null;function It(){qr=on=wn=null}function ft(e){var t=jt.current;vt(jt),e._currentValue=t}function Vt(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qt(e,t){wn=e,qr=on=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Rn=!0),e.firstContext=null)}function Mt(e){var t=e._currentValue;if(qr!==e)if(e={context:e,memoizedValue:t,next:null},on===null){if(wn===null)throw Error(o(308));on=e,wn.dependencies={lanes:0,firstContext:e}}else on=on.next=e;return t}var sr=null;function vs(e){sr===null?sr=[e]:sr.push(e)}function oo(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,vs(t)):(n.next=l.next,l.next=n),t.interleaved=n,An(e,r)}function An(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ur=!1;function lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _s(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function wr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,at&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,An(e,n)}return l=r.interleaved,l===null?(t.next=t,vs(r)):(t.next=l.next,l.next=t),r.interleaved=t,An(e,n)}function bs(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ha(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,f=null;if(n=n.firstBaseUpdate,n!==null){do{var y={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};f===null?l=f=y:f=f.next=y,n=n.next}while(n!==null);f===null?l=f=t:f=f.next=t}else l=f=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:f,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ia(e,t,n,r){var l=e.updateQueue;Ur=!1;var f=l.firstBaseUpdate,y=l.lastBaseUpdate,w=l.shared.pending;if(w!==null){l.shared.pending=null;var C=w,z=C.next;C.next=null,y===null?f=z:y.next=z,y=C;var Z=e.alternate;Z!==null&&(Z=Z.updateQueue,w=Z.lastBaseUpdate,w!==y&&(w===null?Z.firstBaseUpdate=z:w.next=z,Z.lastBaseUpdate=C))}if(f!==null){var ee=l.baseState;y=0,Z=z=C=null,w=f;do{var G=w.lane,fe=w.eventTime;if((r&G)===G){Z!==null&&(Z=Z.next={eventTime:fe,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var Ce=e,ke=w;switch(G=t,fe=n,ke.tag){case 1:if(Ce=ke.payload,typeof Ce=="function"){ee=Ce.call(fe,ee,G);break e}ee=Ce;break e;case 3:Ce.flags=Ce.flags&-65537|128;case 0:if(Ce=ke.payload,G=typeof Ce=="function"?Ce.call(fe,ee,G):Ce,G==null)break e;ee=N({},ee,G);break e;case 2:Ur=!0}}w.callback!==null&&w.lane!==0&&(e.flags|=64,G=l.effects,G===null?l.effects=[w]:G.push(w))}else fe={eventTime:fe,lane:G,tag:w.tag,payload:w.payload,callback:w.callback,next:null},Z===null?(z=Z=fe,C=ee):Z=Z.next=fe,y|=G;if(w=w.next,w===null){if(w=l.shared.pending,w===null)break;G=w,w=G.next,G.next=null,l.lastBaseUpdate=G,l.shared.pending=null}}while(!0);if(Z===null&&(C=ee),l.baseState=C,l.firstBaseUpdate=z,l.lastBaseUpdate=Z,t=l.shared.interleaved,t!==null){l=t;do y|=l.lane,l=l.next;while(l!==t)}else f===null&&(l.shared.lanes=0);za|=y,e.lanes=y,e.memoizedState=ee}}function El(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(o(191,l));l.call(r)}}}var Aa={},Zt=br(Aa),Vr=br(Aa),Hi=br(Aa);function Qr(e){if(e===Aa)throw Error(o(174));return e}function Ra(e,t){switch(_t(Hi,t),_t(Vr,e),_t(Zt,Aa),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:X(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=X(t,e)}vt(Zt),_t(Zt,t)}function pi(){vt(Zt),vt(Vr),vt(Hi)}function co(e){Qr(Hi.current);var t=Qr(Zt.current),n=X(t,e.type);t!==n&&(_t(Vr,e),_t(Zt,n))}function xs(e){Vr.current===e&&(vt(Zt),vt(Vr))}var Ct=br(0);function ws(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var fo=[];function Da(){for(var e=0;e<fo.length;e++)fo[e]._workInProgressVersionPrimary=null;fo.length=0}var Ma=ye.ReactCurrentDispatcher,Yu=ye.ReactCurrentBatchConfig,Fa=0,Ot=null,Ht=null,en=null,Nl=!1,ho=!1,po=0,Vh=0;function pn(){throw Error(o(321))}function Xu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ln(e[n],t[n]))return!1;return!0}function Ju(e,t,n,r,l,f){if(Fa=f,Ot=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ma.current=e===null||e.memoizedState===null?Kh:Gh,e=n(r,l),ho){f=0;do{if(ho=!1,po=0,25<=f)throw Error(o(301));f+=1,en=Ht=null,t.updateQueue=null,Ma.current=Yh,e=n(r,l)}while(ho)}if(Ma.current=Tl,t=Ht!==null&&Ht.next!==null,Fa=0,en=Ht=Ot=null,Nl=!1,t)throw Error(o(300));return e}function Zu(){var e=po!==0;return po=0,e}function Hr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return en===null?Ot.memoizedState=en=e:en=en.next=e,en}function or(){if(Ht===null){var e=Ot.alternate;e=e!==null?e.memoizedState:null}
vendor: 6,116 bytes, line 39
39else e=Ht.next;var t=en===null?Ot.memoizedState:en.next;if(t!==null)en=t,Ht=e;else{if(e===null)throw Error(o(310));Ht=e,e={memoizedState:Ht.memoizedState,baseState:Ht.baseState,baseQueue:Ht.baseQueue,queue:Ht.queue,next:null},en===null?Ot.memoizedState=en=e:en=en.next=e}return en}function mo(e,t){return typeof t=="function"?t(e):t}function ec(e){var t=or(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var r=Ht,l=r.baseQueue,f=n.pending;if(f!==null){if(l!==null){var y=l.next;l.next=f.next,f.next=y}r.baseQueue=l=f,n.pending=null}if(l!==null){f=l.next,r=r.baseState;var w=y=null,C=null,z=f;do{var Z=z.lane;if((Fa&Z)===Z)C!==null&&(C=C.next={lane:0,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),r=z.hasEagerState?z.eagerState:e(r,z.action);else{var ee={lane:Z,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null};C===null?(w=C=ee,y=r):C=C.next=ee,Ot.lanes|=Z,za|=Z}z=z.next}while(z!==null&&z!==f);C===null?y=r:C.next=w,Ln(r,t.memoizedState)||(Rn=!0),t.memoizedState=r,t.baseState=y,t.baseQueue=C,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do f=l.lane,Ot.lanes|=f,za|=f,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function tc(e){var t=or(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,f=t.memoizedState;if(l!==null){n.pending=null;var y=l=l.next;do f=e(f,y.action),y=y.next;while(y!==l);Ln(f,t.memoizedState)||(Rn=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),n.lastRenderedState=f}return[f,r]}function cd(){}function dd(e,t){var n=Ot,r=or(),l=t(),f=!Ln(r.memoizedState,l);if(f&&(r.memoizedState=l,Rn=!0),r=r.queue,nc(pd.bind(null,n,r,e),[e]),r.getSnapshot!==t||f||en!==null&&en.memoizedState.tag&1){if(n.flags|=2048,go(9,hd.bind(null,n,r,l,t),void 0,null),tn===null)throw Error(o(349));Fa&30||fd(n,t,l)}return l}function fd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ot.updateQueue,t===null?(t={lastEffect:null,stores:null},Ot.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function hd(e,t,n,r){t.value=n,t.getSnapshot=r,md(t)&&gd(e)}function pd(e,t,n){return n(function(){md(t)&&gd(e)})}function md(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ln(e,n)}catch{return!0}}function gd(e){var t=An(e,1);t!==null&&Er(t,e,1,-1)}function yd(e){var t=Hr();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:mo,lastRenderedState:e},t.queue=e,e=e.dispatch=Wh.bind(null,Ot,e),[t.memoizedState,e]}function go(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ot.updateQueue,t===null?(t={lastEffect:null,stores:null},Ot.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function vd(){return or().memoizedState}function Pl(e,t,n,r){var l=Hr();Ot.flags|=e,l.memoizedState=go(1|t,n,void 0,r===void 0?null:r)}function Ol(e,t,n,r){var l=or();r=r===void 0?null:r;var f=void 0;if(Ht!==null){var y=Ht.memoizedState;if(f=y.destroy,r!==null&&Xu(r,y.deps)){l.memoizedState=go(t,n,f,r);return}}Ot.flags|=e,l.memoizedState=go(1|t,n,f,r)}function _d(e,t){return Pl(8390656,8,e,t)}function nc(e,t){return Ol(2048,8,e,t)}function bd(e,t){return Ol(4,2,e,t)}function xd(e,t){return Ol(4,4,e,t)}function wd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function jd(e,t,n){return n=n!=null?n.concat([e]):null,Ol(4,4,wd.bind(null,t,e),n)}function rc(){}function Cd(e,t){var n=or();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Xu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Sd(e,t){var n=or();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Xu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function kd(e,t,n){return Fa&21?(Ln(n,t)||(n=qn(),Ot.lanes|=n,za|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Rn=!0),e.memoizedState=n)}function Qh(e,t){var n=ot;ot=n!==0&&4>n?n:4,e(!0);var r=Yu.transition;Yu.transition={};try{e(!1),t()}finally{ot=n,Yu.transition=r}}function Ed(){return or().memoizedState}function Hh(e,t,n){var r=Yi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Nd(e))Pd(t,n);else if(n=oo(e,t,n,r),n!==null){var l=Cn();Er(n,e,r,l),Od(n,t,r)}}function Wh(e,t,n){var r=Yi(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Nd(e))Pd(t,l);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null))try{var y=t.lastRenderedState,w=f(y,n);if(l.hasEagerState=!0,l.eagerState=w,Ln(w,y)){var C=t.interleaved;C===null?(l.next=l,vs(t)):(l.next=C.next,C.next=l),t.interleaved=l;return}}catch{}finally{}n=oo(e,t,l,r),n!==null&&(l=Cn(),Er(n,e,r,l),Od(n,t,r))}}function Nd(e){var t=e.alternate;return e===Ot||t!==null&&t===Ot}function Pd(e,t){ho=Nl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Od(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ha(e,n)}}var Tl={readContext:Mt,useCallback:pn,useContext:pn,useEffect:pn,useImperativeHandle:pn,useInsertionEffect:pn,useLayoutEffect:pn,useMemo:pn,useReducer:pn,useRef:pn,useState:pn,useDebugValue:pn,useDeferredValue:pn,useTransition:pn,useMutableSource:pn,useSyncExternalStore:pn,useId:pn,unstable_isNewReconciler:!1},Kh={readContext:Mt,useCallback:function(e,t){return Hr().memoizedState=[e,t===void 0?null:t],e},useContext:Mt,useEffect:_d,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pl(4194308,4,wd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pl(4,2,e,t)},useMemo:function(e,t){var n=Hr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Hr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Hh.bind(null,Ot,e),[r.memoizedState,e]}
vendor: 4,762 bytes, lines 39-41
39,useRef:function(e){var t=Hr();return e={current:e},t.memoizedState=e},useState:yd,useDebugValue:rc,useDeferredValue:function(e){return Hr().memoizedState=e},useTransition:function(){var e=yd(!1),t=e[0];return e=Qh.bind(null,e[1]),Hr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ot,l=Hr();if(ge){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),tn===null)throw Error(o(349));Fa&30||fd(r,t,n)}l.memoizedState=n;var f={value:n,getSnapshot:t};return l.queue=f,_d(pd.bind(null,r,f,e),[e]),r.flags|=2048,go(9,hd.bind(null,r,f,n,t),void 0,null),n},useId:function(){var e=Hr(),t=tn.identifierPrefix;if(ge){var n=H,r=$;n=(r&~(1<<32-En(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=po++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Vh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Gh={readContext:Mt,useCallback:Cd,useContext:Mt,useEffect:nc,useImperativeHandle:jd,useInsertionEffect:bd,useLayoutEffect:xd,useMemo:Sd,useReducer:ec,useRef:vd,useState:function(){return ec(mo)},useDebugValue:rc,useDeferredValue:function(e){var t=or();return kd(t,Ht.memoizedState,e)},useTransition:function(){var e=ec(mo)[0],t=or().memoizedState;return[e,t]},useMutableSource:cd,useSyncExternalStore:dd,useId:Ed,unstable_isNewReconciler:!1},Yh={readContext:Mt,useCallback:Cd,useContext:Mt,useEffect:nc,useImperativeHandle:jd,useInsertionEffect:bd,useLayoutEffect:xd,useMemo:Sd,useReducer:tc,useRef:vd,useState:function(){return tc(mo)},useDebugValue:rc,useDeferredValue:function(e){var t=or();return Ht===null?t.memoizedState=e:kd(t,Ht.memoizedState,e)},useTransition:function(){var e=tc(mo)[0],t=or().memoizedState;return[e,t]},useMutableSource:cd,useSyncExternalStore:dd,useId:Ed,unstable_isNewReconciler:!1};function Cr(e,t){if(e&&e.defaultProps){t=N({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ic(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:N({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ll={isMounted:function(e){return(e=e._reactInternals)?kn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Cn(),l=Yi(e),f=wr(r,l);f.payload=t,n!=null&&(f.callback=n),t=jr(e,f,l),t!==null&&(Er(t,e,l,r),bs(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Cn(),l=Yi(e),f=wr(r,l);f.tag=1,f.payload=t,n!=null&&(f.callback=n),t=jr(e,f,l),t!==null&&(Er(t,e,l,r),bs(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Cn(),r=Yi(e),l=wr(n,r);l.tag=2,t!=null&&(l.callback=t),t=jr(e,l,r),t!==null&&(Er(t,e,r,n),bs(t,e,r))}};function Td(e,t,n,r,l,f,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,f,y):t.prototype&&t.prototype.isPureReactComponent?!oi(n,r)||!oi(l,f):!0}function Ld(e,t,n){var r=!1,l=ir,f=t.contextType;return typeof f=="object"&&f!==null?f=Mt(f):(l=hn(t)?fn:Yt.current,r=t.contextTypes,f=(r=r!=null)?Vi(e,l):ir),t=new t(n,f),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ll,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=f),t}function Id(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ll.enqueueReplaceState(t,t.state,null)}function ac(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},lo(e);var f=t.contextType;typeof f=="object"&&f!==null?l.context=Mt(f):(f=hn(t)?fn:Yt.current,l.context=Vi(e,f)),l.state=e.memoizedState,f=t.getDerivedStateFromProps,typeof f=="function"&&(ic(e,t,f,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Ll.enqueueReplaceState(l,l.state,null),Ia(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function js(e,t){try{var n="",r=t;do n+=Ie(r),r=r.return;while(r);var l=n}catch(f){l=` 40Error generating stack: `+f.message+` 41`+f.stack}return{value:e,source:t,stack:l,digest:null}}function sc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function oc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Xh=typeof WeakMap=="function"?WeakMap:Map;function Ad(e,t,n){n=wr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zl||(zl=!0,wc=r),oc(e,t)},n}
vendor: 48,238 bytes, line 41
41function Rd(e,t,n){n=wr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){oc(e,t)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(n.callback=function(){oc(e,t),typeof r!="function"&&(Ki===null?Ki=new Set([this]):Ki.add(this));var y=t.stack;this.componentDidCatch(t.value,{componentStack:y!==null?y:""})}),n}function Dd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Xh;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=dp.bind(null,e,t,n),t.then(e,e))}function Md(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Fd(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wr(-1,1),t.tag=2,jr(n,t,1))),n.lanes|=1),e)}var Jh=ye.ReactCurrentOwner,Rn=!1;function jn(e,t,n,r){t.child=e===null?xn(t,null,n,r):Ut(t,e.child,n,r)}function zd(e,t,n,r,l){n=n.render;var f=t.ref;return Qt(t,l),r=Ju(e,t,n,r,f,l),n=Zu(),e!==null&&!Rn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,mi(e,t,l)):(ge&&n&&me(t),t.flags|=1,jn(e,t,r,l),t.child)}function $d(e,t,n,r,l){if(e===null){var f=n.type;return typeof f=="function"&&!Pc(f)&&f.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=f,Bd(e,t,f,r,l)):(e=Ql(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!(e.lanes&l)){var y=f.memoizedProps;if(n=n.compare,n=n!==null?n:oi,n(y,r)&&e.ref===t.ref)return mi(e,t,l)}return t.flags|=1,e=Ji(f,r),e.ref=t.ref,e.return=t,t.child=e}function Bd(e,t,n,r,l){if(e!==null){var f=e.memoizedProps;if(oi(f,r)&&e.ref===t.ref)if(Rn=!1,t.pendingProps=r=f,(e.lanes&l)!==0)e.flags&131072&&(Rn=!0);else return t.lanes=e.lanes,mi(e,t,l)}return lc(e,t,n,r,l)}function qd(e,t,n){var r=t.pendingProps,l=r.children,f=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_t(Ss,Vn),Vn|=n;else{if(!(n&1073741824))return e=f!==null?f.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_t(Ss,Vn),Vn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=f!==null?f.baseLanes:n,_t(Ss,Vn),Vn|=r}else f!==null?(r=f.baseLanes|n,t.memoizedState=null):r=n,_t(Ss,Vn),Vn|=r;return jn(e,t,l,n),t.child}function Ud(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function lc(e,t,n,r,l){var f=hn(n)?fn:Yt.current;return f=Vi(t,f),Qt(t,l),n=Ju(e,t,n,r,f,l),r=Zu(),e!==null&&!Rn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,mi(e,t,l)):(ge&&r&&me(t),t.flags|=1,jn(e,t,n,l),t.child)}function Vd(e,t,n,r,l){if(hn(n)){var f=!0;ys(t)}else f=!1;if(Qt(t,l),t.stateNode===null)Al(e,t),Ld(t,n,r),ac(t,n,r,l),r=!0;else if(e===null){var y=t.stateNode,w=t.memoizedProps;y.props=w;var C=y.context,z=n.contextType;typeof z=="object"&&z!==null?z=Mt(z):(z=hn(n)?fn:Yt.current,z=Vi(t,z));var Z=n.getDerivedStateFromProps,ee=typeof Z=="function"||typeof y.getSnapshotBeforeUpdate=="function";ee||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==r||C!==z)&&Id(t,y,r,z),Ur=!1;var G=t.memoizedState;y.state=G,Ia(t,r,y,l),C=t.memoizedState,w!==r||G!==C||Lt.current||Ur?(typeof Z=="function"&&(ic(t,n,Z,r),C=t.memoizedState),(w=Ur||Td(t,n,w,r,G,C,z))?(ee||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(t.flags|=4194308)):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=C),y.props=r,y.state=C,y.context=z,r=w):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{y=t.stateNode,_s(e,t),w=t.memoizedProps,z=t.type===t.elementType?w:Cr(t.type,w),y.props=z,ee=t.pendingProps,G=y.context,C=n.contextType,typeof C=="object"&&C!==null?C=Mt(C):(C=hn(n)?fn:Yt.current,C=Vi(t,C));var fe=n.getDerivedStateFromProps;(Z=typeof fe=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==ee||G!==C)&&Id(t,y,r,C),Ur=!1,G=t.memoizedState,y.state=G,Ia(t,r,y,l);var Ce=t.memoizedState;w!==ee||G!==Ce||Lt.current||Ur?(typeof fe=="function"&&(ic(t,n,fe,r),Ce=t.memoizedState),(z=Ur||Td(t,n,z,r,G,Ce,C)||!1)?(Z||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(r,Ce,C),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(r,Ce,C)),typeof y.componentDidUpdate=="function"&&(t.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof y.componentDidUpdate!="function"||w===e.memoizedProps&&G===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&G===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=Ce),y.props=r,y.state=Ce,y.context=C,r=z):(typeof y.componentDidUpdate!="function"||w===e.memoizedProps&&G===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&G===e.memoizedState||(t.flags|=1024),r=!1)}return uc(e,t,n,r,f,l)}function uc(e,t,n,r,l,f){Ud(e,t);var y=(t.flags&128)!==0;if(!r&&!y)return l&&kl(t,n,!1),mi(e,t,f);r=t.stateNode,Jh.current=t;var w=y&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&y?(t.child=Ut(t,e.child,null,f),t.child=Ut(t,null,w,f)):jn(e,t,w,f),t.memoizedState=r.state,l&&kl(t,n,!0),t.child}function Qd(e){var t=e.stateNode;t.pendingContext?Cl(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Cl(e,t.context,!1),Ra(e,t.containerInfo)}function Hd(e,t,n,r,l){return Ze(),lt(l),t.flags|=256,jn(e,t,n,r),t.child}var cc={dehydrated:null,treeContext:null,retryLane:0};function dc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Wd(e,t,n){var r=t.pendingProps,l=Ct.current,f=!1,y=(t.flags&128)!==0,w;if((w=y)||(w=e!==null&&e.memoizedState===null?!1:(l&2)!==0),w?(f=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),_t(Ct,l&1),e===null)return We(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(y=r.children,e=r.fallback,f?(r=t.mode,f=t.child,y={mode:"hidden",children:y},!(r&1)&&f!==null?(f.childLanes=0,f.pendingProps=y):f=Hl(y,r,0,null),e=Ua(e,r,n,null),f.return=t,e.return=t,f.sibling=e,t.child=f,t.child.memoizedState=dc(n),t.memoizedState=cc,e):fc(t,y));if(l=e.memoizedState,l!==null&&(w=l.dehydrated,w!==null))return Zh(e,t,y,r,w,l,n);if(f){f=r.fallback,y=t.mode,l=e.child,w=l.sibling;var C={mode:"hidden",children:r.children};return!(y&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=C,t.deletions=null):(r=Ji(l,C),r.subtreeFlags=l.subtreeFlags&14680064),w!==null?f=Ji(w,f):(f=Ua(f,y,n,null),f.flags|=2),f.return=t,r.return=t,r.sibling=f,t.child=r,r=f,f=t.child,y=e.child.memoizedState,y=y===null?dc(n):{baseLanes:y.baseLanes|n,cachePool:null,transitions:y.transitions},f.memoizedState=y,f.childLanes=e.childLanes&~n,t.memoizedState=cc,r}return f=e.child,e=f.sibling,r=Ji(f,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function fc(e,t){return t=Hl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Il(e,t,n,r){return r!==null&<(r),Ut(t,e.child,null,n),e=fc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Zh(e,t,n,r,l,f,y){if(n)return t.flags&256?(t.flags&=-257,r=sc(Error(o(422))),Il(e,t,y,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(f=r.fallback,l=t.mode,r=Hl({mode:"visible",children:r.children},l,0,null),f=Ua(f,l,y,null),f.flags|=2,r.return=t,f.return=t,r.sibling=f,t.child=r,t.mode&1&&Ut(t,e.child,null,y),t.child.memoizedState=dc(y),t.memoizedState=cc,f);if(!(t.mode&1))return Il(e,t,y,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var w=r.dgst;return r=w,f=Error(o(419)),r=sc(f,r,void 0),Il(e,t,y,r)}if(w=(y&e.childLanes)!==0,Rn||w){if(r=tn,r!==null){switch(y&-y){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|y)?0:l,l!==0&&l!==f.retryLane&&(f.retryLane=l,An(e,l),Er(r,e,l,-1))}return Nc(),r=sc(Error(o(421))),Il(e,t,y,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=fp.bind(null,e),l._reactRetry=t,null):(e=f.treeContext,Se=Fr(l.nextSibling),Le=t,ge=!0,Pe=null,e!==null&&(_[k++]=$,_[k++]=H,_[k++]=I,$=e.id,H=e.overflow,I=t),t=fc(t,r.children),t.flags|=4096,t)}function Kd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Vt(e.return,t,n)}function hc(e,t,n,r,l){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=r,f.tail=n,f.tailMode=l)}function Gd(e,t,n){var r=t.pendingProps,l=r.revealOrder,f=r.tail;if(jn(e,t,r.children,n),r=Ct.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Kd(e,n,t);else if(e.tag===19)Kd(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_t(Ct,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&ws(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),hc(t,!1,l,n,f);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&ws(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}hc(t,!0,n,null,f);break;case"together":hc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Al(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function mi(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),za|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,n=Ji(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ji(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ep(e,t,n){switch(t.tag){case 3:Qd(t),Ze();break;case 5:co(t);break;case 1:hn(t.type)&&ys(t);break;case 4:Ra(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;_t(jt,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(_t(Ct,Ct.current&1),t.flags|=128,null):n&t.child.childLanes?Wd(e,t,n):(_t(Ct,Ct.current&1),e=mi(e,t,n),e!==null?e.sibling:null);_t(Ct,Ct.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Gd(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),_t(Ct,Ct.current),r)break;return null;case 22:case 23:return t.lanes=0,qd(e,t,n)}return mi(e,t,n)}var Yd,pc,Xd,Jd;Yd=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},pc=function(){},Xd=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Qr(Zt.current);var f=null;switch(n){case"input":l=bi(e,l),r=bi(e,r),f=[];break;case"select":l=N({},l,{value:void 0}),r=N({},r,{value:void 0}),f=[];break;case"textarea":l=Pr(e,l),r=Pr(e,r),f=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=hs)}de(n,r);var y;n=null;for(z in l)if(!r.hasOwnProperty(z)&&l.hasOwnProperty(z)&&l[z]!=null)if(z==="style"){var w=l[z];for(y in w)w.hasOwnProperty(y)&&(n||(n={}),n[y]="")}else z!=="dangerouslySetInnerHTML"&&z!=="children"&&z!=="suppressContentEditableWarning"&&z!=="suppressHydrationWarning"&&z!=="autoFocus"&&(d.hasOwnProperty(z)?f||(f=[]):(f=f||[]).push(z,null));for(z in r){var C=r[z];if(w=l!=null?l[z]:void 0,r.hasOwnProperty(z)&&C!==w&&(C!=null||w!=null))if(z==="style")if(w){for(y in w)!w.hasOwnProperty(y)||C&&C.hasOwnProperty(y)||(n||(n={}),n[y]="");for(y in C)C.hasOwnProperty(y)&&w[y]!==C[y]&&(n||(n={}),n[y]=C[y])}else n||(f||(f=[]),f.push(z,n)),n=C;else z==="dangerouslySetInnerHTML"?(C=C?C.__html:void 0,w=w?w.__html:void 0,C!=null&&w!==C&&(f=f||[]).push(z,C)):z==="children"?typeof C!="string"&&typeof C!="number"||(f=f||[]).push(z,""+C):z!=="suppressContentEditableWarning"&&z!=="suppressHydrationWarning"&&(d.hasOwnProperty(z)?(C!=null&&z==="onScroll"&&bt("scroll",e),f||w===C||(f=[])):(f=f||[]).push(z,C))}n&&(f=f||[]).push("style",n);var z=f;(t.updateQueue=z)&&(t.flags|=4)}},Jd=function(e,t,n,r){n!==r&&(t.flags|=4)};function yo(e,t){if(!ge)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function mn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function tp(e,t,n){var r=t.pendingProps;switch(se(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mn(t),null;case 1:return hn(t.type)&&gs(),mn(t),null;case 3:return r=t.stateNode,pi(),vt(Lt),vt(Yt),Da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ve(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Pe!==null&&(Sc(Pe),Pe=null))),pc(e,t),mn(t),null;case 5:xs(t);var l=Qr(Hi.current);if(n=t.type,e!==null&&t.stateNode!=null)Xd(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(o(166));return mn(t),null}if(e=Qr(Zt.current),Ve(t)){r=t.stateNode,n=t.type;var f=t.memoizedProps;switch(r[nr]=t,r[Oa]=f,e=(t.mode&1)!==0,n){case"dialog":bt("cancel",r),bt("close",r);break;case"iframe":case"object":case"embed":bt("load",r);break;case"video":case"audio":for(l=0;l<Ca.length;l++)bt(Ca[l],r);break;case"source":bt("error",r);break;case"img":case"image":case"link":bt("error",r),bt("load",r);break;case"details":bt("toggle",r);break;case"input":fr(r,f),bt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!f.multiple},bt("invalid",r);break;case"textarea":xi(r,f),bt("invalid",r)}de(n,f),l=null;for(var y in f)if(f.hasOwnProperty(y)){var w=f[y];y==="children"?typeof w=="string"?r.textContent!==w&&(f.suppressHydrationWarning!==!0&&Ea(r.textContent,w,e),l=["children",w]):typeof w=="number"&&r.textContent!==""+w&&(f.suppressHydrationWarning!==!0&&Ea(r.textContent,w,e),l=["children",""+w]):d.hasOwnProperty(y)&&w!=null&&y==="onScroll"&&bt("scroll",r)}switch(n){case"input":Pt(r),Xr(r,f,!0);break;case"textarea":Pt(r),K(r);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(r.onclick=hs)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{y=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=D(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=y.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=y.createElement(n,{is:r.is}):(e=y.createElement(n),n==="select"&&(y=e,r.multiple?y.multiple=!0:r.size&&(y.size=r.size))):e=y.createElementNS(e,n),e[nr]=t,e[Oa]=r,Yd(e,t,!1,!1),t.stateNode=e;e:{switch(y=He(n,r),n){case"dialog":bt("cancel",e),bt("close",e),l=r;break;case"iframe":case"object":case"embed":bt("load",e),l=r;break;case"video":case"audio":for(l=0;l<Ca.length;l++)bt(Ca[l],e);l=r;break;case"source":bt("error",e),l=r;break;case"img":case"image":case"link":bt("error",e),bt("load",e),l=r;break;case"details":bt("toggle",e),l=r;break;case"input":fr(e,r),l=bi(e,r),bt("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=N({},r,{value:void 0}),bt("invalid",e);break;case"textarea":xi(e,r),l=Pr(e,r),bt("invalid",e);break;default:l=r}de(n,l),w=l;for(f in w)if(w.hasOwnProperty(f)){var C=w[f];f==="style"?xe(e,C):f==="dangerouslySetInnerHTML"?(C=C?C.__html:void 0,C!=null&&Me(e,C)):f==="children"?typeof C=="string"?(n!=="textarea"||C!=="")&&Fe(e,C):typeof C=="number"&&Fe(e,""+C):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(d.hasOwnProperty(f)?C!=null&&f==="onScroll"&&bt("scroll",e):C!=null&&Y(e,f,C,y))}switch(n){case"input":Pt(e),Xr(e,r,!1);break;case"textarea":Pt(e),K(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ne(r.value));break;case"select":e.multiple=!!r.multiple,f=r.value,f!=null?Hn(e,!!r.multiple,f,!1):r.defaultValue!=null&&Hn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=hs)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return mn(t),null;case 6:if(e&&t.stateNode!=null)Jd(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(o(166));if(n=Qr(Hi.current),Qr(Zt.current),Ve(t)){if(r=t.stateNode,n=t.memoizedProps,r[nr]=t,(f=r.nodeValue!==n)&&(e=Le,e!==null))switch(e.tag){case 3:Ea(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ea(r.nodeValue,n,(e.mode&1)!==0)}f&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[nr]=t,t.stateNode=r}return mn(t),null;case 13:if(vt(Ct),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ge&&Se!==null&&t.mode&1&&!(t.flags&128))Ye(),Ze(),t.flags|=98560,f=!1;else if(f=Ve(t),r!==null&&r.dehydrated!==null){if(e===null){if(!f)throw Error(o(318));if(f=t.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(o(317));f[nr]=t}else Ze(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;mn(t),f=!1}else Pe!==null&&(Sc(Pe),Pe=null),f=!0;if(!f)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ct.current&1?Wt===0&&(Wt=3):Nc())),t.updateQueue!==null&&(t.flags|=4),mn(t),null);case 4:return pi(),pc(e,t),e===null&&ci(t.stateNode.containerInfo),mn(t),null;case 10:return ft(t.type._context),mn(t),null;case 17:return hn(t.type)&&gs(),mn(t),null;case 19:if(vt(Ct),f=t.memoizedState,f===null)return mn(t),null;if(r=(t.flags&128)!==0,y=f.rendering,y===null)if(r)yo(f,!1);else{if(Wt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(y=ws(e),y!==null){for(t.flags|=128,yo(f,!1),r=y.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)f=n,e=r,f.flags&=14680066,y=f.alternate,y===null?(f.childLanes=0,f.lanes=e,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=y.childLanes,f.lanes=y.lanes,f.child=y.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=y.memoizedProps,f.memoizedState=y.memoizedState,f.updateQueue=y.updateQueue,f.type=y.type,e=y.dependencies,f.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _t(Ct,Ct.current&1|2),t.child}e=e.sibling}f.tail!==null&&Et()>ks&&(t.flags|=128,r=!0,yo(f,!1),t.lanes=4194304)}else{if(!r)if(e=ws(y),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yo(f,!0),f.tail===null&&f.tailMode==="hidden"&&!y.alternate&&!ge)return mn(t),null}else 2*Et()-f.renderingStartTime>ks&&n!==1073741824&&(t.flags|=128,r=!0,yo(f,!1),t.lanes=4194304);f.isBackwards?(y.sibling=t.child,t.child=y):(n=f.last,n!==null?n.sibling=y:t.child=y,f.last=y)}return f.tail!==null?(t=f.tail,f.rendering=t,f.tail=t.sibling,f.renderingStartTime=Et(),t.sibling=null,n=Ct.current,_t(Ct,r?n&1|2:n&1),t):(mn(t),null);case 22:case 23:return Ec(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Vn&1073741824&&(mn(t),t.subtreeFlags&6&&(t.flags|=8192)):mn(t),null;case 24:return null;case 25:return null}throw Error(o(156,t.tag))}function np(e,t){switch(se(t),t.tag){case 1:return hn(t.type)&&gs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pi(),vt(Lt),vt(Yt),Da(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return xs(t),null;case 13:if(vt(Ct),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Ze()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return vt(Ct),null;case 4:return pi(),null;case 10:return ft(t.type._context),null;case 22:case 23:return Ec(),null;case 24:return null;default:return null}}var Rl=!1,gn=!1,rp=typeof WeakSet=="function"?WeakSet:Set,_e=null;function Cs(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){At(e,t,r)}else n.current=null}function mc(e,t,n){try{n()}catch(r){At(e,t,r)}}var Zd=!1;function ip(e,t){if(Mr=Ii,e=Zn(),as(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,f=r.focusNode;r=r.focusOffset;try{n.nodeType,f.nodeType}catch{n=null;break e}var y=0,w=-1,C=-1,z=0,Z=0,ee=e,G=null;t:for(;;){for(var fe;ee!==n||l!==0&&ee.nodeType!==3||(w=y+l),ee!==f||r!==0&&ee.nodeType!==3||(C=y+r),ee.nodeType===3&&(y+=ee.nodeValue.length),(fe=ee.firstChild)!==null;)G=ee,ee=fe;for(;;){if(ee===e)break t;if(G===n&&++z===l&&(w=y),G===f&&++Z===r&&(C=y),(fe=ee.nextSibling)!==null)break;ee=G,G=ee.parentNode}ee=fe}n=w===-1||C===-1?null:{start:w,end:C}}else n=null}n=n||{start:0,end:0}}else n=null;for(Na={focusedElem:e,selectionRange:n},Ii=!1,_e=t;_e!==null;)if(t=_e,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_e=e;else for(;_e!==null;){t=_e;try{var Ce=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(Ce!==null){var ke=Ce.memoizedProps,Ft=Ce.memoizedState,R=t.stateNode,P=R.getSnapshotBeforeUpdate(t.elementType===t.type?ke:Cr(t.type,ke),Ft);R.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var M=t.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(ie){At(t,t.return,ie)}if(e=t.sibling,e!==null){e.return=t.return,_e=e;break}_e=t.return}return Ce=Zd,Zd=!1,Ce}function vo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var f=l.destroy;l.destroy=void 0,f!==void 0&&mc(t,n,f)}l=l.next}while(l!==r)}}function Dl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function gc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ef(e){var t=e.alternate;t!==null&&(e.alternate=null,ef(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nr],delete t[Oa],delete t[so],delete t[jl],delete t[Ku])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function tf(e){return e.tag===5||e.tag===3||e.tag===4}function nf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function yc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=hs));else if(r!==4&&(e=e.child,e!==null))for(yc(e,t,n),e=e.sibling;e!==null;)yc(e,t,n),e=e.sibling}function vc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(vc(e,t,n),e=e.sibling;e!==null;)vc(e,t,n),e=e.sibling}var ln=null,Sr=!1;function Wi(e,t,n){for(n=n.child;n!==null;)rf(e,t,n),n=n.sibling}function rf(e,t,n){if(Bn&&typeof Bn.onCommitFiberUnmount=="function")try{Bn.onCommitFiberUnmount(ca,n)}catch{}switch(n.tag){case 5:gn||Cs(n,t);case 6:var r=ln,l=Sr;ln=null,Wi(e,t,n),ln=r,Sr=l,ln!==null&&(Sr?(e=ln,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ln.removeChild(n.stateNode));break;case 18:ln!==null&&(Sr?(e=ln,n=n.stateNode,e.nodeType===8?ao(e.parentNode,n):e.nodeType===1&&ao(e,n),Li(e)):ao(ln,n.stateNode));break;case 4:r=ln,l=Sr,ln=n.stateNode.containerInfo,Sr=!0,Wi(e,t,n),ln=r,Sr=l;break;case 0:case 11:case 14:case 15:if(!gn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var f=l,y=f.destroy;f=f.tag,y!==void 0&&(f&2||f&4)&&mc(n,t,y),l=l.next}while(l!==r)}Wi(e,t,n);break;case 1:if(!gn&&(Cs(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(w){At(n,t,w)}Wi(e,t,n);break;case 21:Wi(e,t,n);break;case 22:n.mode&1?(gn=(r=gn)||n.memoizedState!==null,Wi(e,t,n),gn=r):Wi(e,t,n);break;default:Wi(e,t,n)}}function af(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new rp),t.forEach(function(r){var l=hp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function kr(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var f=e,y=t,w=y;e:for(;w!==null;){switch(w.tag){case 5:ln=w.stateNode,Sr=!1;break e;case 3:ln=w.stateNode.containerInfo,Sr=!0;break e;case 4:ln=w.stateNode.containerInfo,Sr=!0;break e}w=w.return}if(ln===null)throw Error(o(160));rf(f,y,l),ln=null,Sr=!1;var C=l.alternate;C!==null&&(C.return=null),l.return=null}catch(z){At(l,t,z)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)sf(t,e),t=t.sibling}function sf(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(kr(t,e),Wr(e),r&4){try{vo(3,e,e.return),Dl(3,e)}catch(ke){At(e,e.return,ke)}try{vo(5,e,e.return)}catch(ke){At(e,e.return,ke)}}break;case 1:kr(t,e),Wr(e),r&512&&n!==null&&Cs(n,n.return);break;case 5:if(kr(t,e),Wr(e),r&512&&n!==null&&Cs(n,n.return),e.flags&32){var l=e.stateNode;try{Fe(l,"")}catch(ke){At(e,e.return,ke)}}if(r&4&&(l=e.stateNode,l!=null)){var f=e.memoizedProps,y=n!==null?n.memoizedProps:f,w=e.type,C=e.updateQueue;if(e.updateQueue=null,C!==null)try{w==="input"&&f.type==="radio"&&f.name!=null&&Qn(l,f),He(w,y);var z=He(w,f);for(y=0;y<C.length;y+=2){var Z=C[y],ee=C[y+1];Z==="style"?xe(l,ee):Z==="dangerouslySetInnerHTML"?Me(l,ee):Z==="children"?Fe(l,ee):Y(l,Z,ee,z)}switch(w){case"input":aa(l,f);break;case"textarea":Jr(l,f);break;case"select":var G=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!f.multiple;var fe=f.value;fe!=null?Hn(l,!!f.multiple,fe,!1):G!==!!f.multiple&&(f.defaultValue!=null?Hn(l,!!f.multiple,f.defaultValue,!0):Hn(l,!!f.multiple,f.multiple?[]:"",!1))}l[Oa]=f}catch(ke){At(e,e.return,ke)}}break;case 6:if(kr(t,e),Wr(e),r&4){if(e.stateNode===null)throw Error(o(162));l=e.stateNode,f=e.memoizedProps;try{l.nodeValue=f}catch(ke){At(e,e.return,ke)}}break;case 3:if(kr(t,e),Wr(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Li(t.containerInfo)}catch(ke){At(e,e.return,ke)}break;case 4:kr(t,e),Wr(e);break;case 13:kr(t,e),Wr(e),l=e.child,l.flags&8192&&(f=l.memoizedState!==null,l.stateNode.isHidden=f,!f||l.alternate!==null&&l.alternate.memoizedState!==null||(xc=Et())),r&4&&af(e);break;case 22:if(Z=n!==null&&n.memoizedState!==null,e.mode&1?(gn=(z=gn)||Z,kr(t,e),gn=z):kr(t,e),Wr(e),r&8192){if(z=e.memoizedState!==null,(e.stateNode.isHidden=z)&&!Z&&e.mode&1)for(_e=e,Z=e.child;Z!==null;){for(ee=_e=Z;_e!==null;){switch(G=_e,fe=G.child,G.tag){case 0:case 11:case 14:case 15:vo(4,G,G.return);break;case 1:Cs(G,G.return);var Ce=G.stateNode;if(typeof Ce.componentWillUnmount=="function"){r=G,n=G.return;try{t=r,Ce.props=t.memoizedProps,Ce.state=t.memoizedState,Ce.componentWillUnmount()}catch(ke){At(r,n,ke)}}break;case 5:Cs(G,G.return);break;case 22:if(G.memoizedState!==null){uf(ee);continue}}fe!==null?(fe.return=G,_e=fe):uf(ee)}Z=Z.sibling}e:for(Z=null,ee=e;;){if(ee.tag===5){if(Z===null){Z=ee;try{l=ee.stateNode,z?(f=l.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(w=ee.stateNode,C=ee.memoizedProps.style,y=C!=null&&C.hasOwnProperty("display")?C.display:null,w.style.display=W("display",y))}catch(ke){At(e,e.return,ke)}}}else if(ee.tag===6){if(Z===null)try{ee.stateNode.nodeValue=z?"":ee.memoizedProps}catch(ke){At(e,e.return,ke)}}else if((ee.tag!==22&&ee.tag!==23||ee.memoizedState===null||ee===e)&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===e)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===e)break e;Z===ee&&(Z=null),ee=ee.return}Z===ee&&(Z=null),ee.sibling.return=ee.return,ee=ee.sibling}}break;case 19:kr(t,e),Wr(e),r&4&&af(e);break;case 21:break;default:kr(t,e),Wr(e)}}function Wr(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(tf(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Fe(l,""),r.flags&=-33);var f=nf(e);vc(e,f,l);break;case 3:case 4:var y=r.stateNode.containerInfo,w=nf(e);yc(e,w,y);break;default:throw Error(o(161))}}catch(C){At(e,e.return,C)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ap(e,t,n){_e=e,of(e)}function of(e,t,n){for(var r=(e.mode&1)!==0;_e!==null;){var l=_e,f=l.child;if(l.tag===22&&r){var y=l.memoizedState!==null||Rl;if(!y){var w=l.alternate,C=w!==null&&w.memoizedState!==null||gn;w=Rl;var z=gn;if(Rl=y,(gn=C)&&!z)for(_e=l;_e!==null;)y=_e,C=y.child,y.tag===22&&y.memoizedState!==null?cf(l):C!==null?(C.return=y,_e=C):cf(l);for(;f!==null;)_e=f,of(f),f=f.sibling;_e=l,Rl=w,gn=z}lf(e)}else l.subtreeFlags&8772&&f!==null?(f.return=l,_e=f):lf(e)}}function lf(e){for(;_e!==null;){var t=_e;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:gn||Dl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!gn)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Cr(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var f=t.updateQueue;f!==null&&El(t,f,r);break;case 3:var y=t.updateQueue;if(y!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}El(t,y,n)}break;case 5:var w=t.stateNode;if(n===null&&t.flags&4){n=w;var C=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":C.autoFocus&&n.focus();break;case"img":C.src&&(n.src=C.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var z=t.alternate;if(z!==null){var Z=z.memoizedState;if(Z!==null){var ee=Z.dehydrated;ee!==null&&Li(ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}gn||t.flags&512&&gc(t)}catch(G){At(t,t.return,G)}}if(t===e){_e=null;break}if(n=t.sibling,n!==null){n.return=t.return,_e=n;break}_e=t.return}}function uf(e){for(;_e!==null;){var t=_e;if(t===e){_e=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_e=n;break}_e=t.return}}function cf(e){for(;_e!==null;){var t=_e;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Dl(4,t)}catch(C){At(t,n,C)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(C){At(t,l,C)}}var f=t.return;try{gc(t)}catch(C){At(t,f,C)}break;case 5:var y=t.return;try{gc(t)}catch(C){At(t,y,C)}}}catch(C){At(t,t.return,C)}if(t===e){_e=null;break}var w=t.sibling;if(w!==null){w.return=t.return,_e=w;break}_e=t.return}}var sp=Math.ceil,Ml=ye.ReactCurrentDispatcher,_c=ye.ReactCurrentOwner,lr=ye.ReactCurrentBatchConfig,at=0,tn=null,zt=null,un=0,Vn=0,Ss=br(0),Wt=0,_o=null,za=0,Fl=0,bc=0,bo=null,Dn=null,xc=0,ks=1/0,gi=null,zl=!1,wc=null,Ki=null,$l=!1,Gi=null,Bl=0,xo=0,jc=null,ql=-1,Ul=0;function Cn(){return at&6?Et():ql!==-1?ql:ql=Et()}function Yi(e){return e.mode&1?at&2&&un!==0?un&-un:dt.transition!==null?(Ul===0&&(Ul=qn()),Ul):(e=ot,e!==0||(e=window.event,e=e===void 0?16:qs(e.type)),e):1}function Er(e,t,n,r){if(50<xo)throw xo=0,jc=null,Error(o(185));Tr(e,n,r),(!(at&2)||e!==tn)&&(e===tn&&(!(at&2)&&(Fl|=n),Wt===4&&Xi(e,un)),Mn(e,r),n===1&&at===0&&!(t.mode&1)&&(ks=Et()+500,Ta&&Br()))}function Mn(e,t){var n=e.callbackNode;zs(e,t);var r=Yn(e,e===tn?un:0);if(r===0)n!==null&&Or(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Or(n),t===1)e.tag===0?Gu(ff.bind(null,e)):La(ff.bind(null,e)),Pa(function(){!(at&6)&&Br()}),n=null;else{switch(ri(r)){case 1:n=Wa;break;case 4:n=Ka;break;case 16:n=Ci;break;case 536870912:n=Fs;break;default:n=Ci}n=bf(n,df.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function df(e,t){if(ql=-1,Ul=0,at&6)throw Error(o(327));var n=e.callbackNode;if(Es()&&e.callbackNode!==n)return null;var r=Yn(e,e===tn?un:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Vl(e,r);else{t=r;var l=at;at|=2;var f=pf();(tn!==e||un!==t)&&(gi=null,ks=Et()+500,Ba(e,t));do try{up();break}catch(w){hf(e,w)}while(!0);It(),Ml.current=f,at=l,zt!==null?t=0:(tn=null,un=0,t=Wt)}if(t!==0){if(t===2&&(l=fa(e),l!==0&&(r=l,t=Cc(e,l))),t===1)throw n=_o,Ba(e,0),Xi(e,r),Mn(e,Et()),n;if(t===6)Xi(e,r);else{if(l=e.current.alternate,!(r&30)&&!op(l)&&(t=Vl(e,r),t===2&&(f=fa(e),f!==0&&(r=f,t=Cc(e,f))),t===1))throw n=_o,Ba(e,0),Xi(e,r),Mn(e,Et()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:qa(e,Dn,gi);break;case 3:if(Xi(e,r),(r&130023424)===r&&(t=xc+500-Et(),10<t)){if(Yn(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){Cn(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=io(qa.bind(null,e,Dn,gi),t);break}qa(e,Dn,gi);break;case 4:if(Xi(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var y=31-En(r);f=1<<y,y=t[y],y>l&&(l=y),r&=~f}if(r=l,r=Et()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*sp(r/1960))-r,10<r){e.timeoutHandle=io(qa.bind(null,e,Dn,gi),r);break}qa(e,Dn,gi);break;case 5:qa(e,Dn,gi);break;default:throw Error(o(329))}}}return Mn(e,Et()),e.callbackNode===n?df.bind(null,e):null}function Cc(e,t){var n=bo;return e.current.memoizedState.isDehydrated&&(Ba(e,t).flags|=256),e=Vl(e,t),e!==2&&(t=Dn,Dn=n,t!==null&&Sc(t)),e}function Sc(e){Dn===null?Dn=e:Dn.push.apply(Dn,e)}function op(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],f=l.getSnapshot;l=l.value;try{if(!Ln(f(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Xi(e,t){for(t&=~bc,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-En(t),r=1<<n;e[n]=-1,t&=~r}}function ff(e){if(at&6)throw Error(o(327));Es();var t=Yn(e,0);if(!(t&1))return Mn(e,Et()),null;var n=Vl(e,t);if(e.tag!==0&&n===2){var r=fa(e);r!==0&&(t=r,n=Cc(e,r))}if(n===1)throw n=_o,Ba(e,0),Xi(e,t),Mn(e,Et()),n;if(n===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,qa(e,Dn,gi),Mn(e,Et()),null}function kc(e,t){var n=at;at|=1;try{return e(t)}finally{at=n,at===0&&(ks=Et()+500,Ta&&Br())}}function $a(e){Gi!==null&&Gi.tag===0&&!(at&6)&&Es();var t=at;at|=1;var n=lr.transition,r=ot;try{if(lr.transition=null,ot=1,e)return e()}finally{ot=r,lr.transition=n,at=t,!(at&6)&&Br()}}function Ec(){Vn=Ss.current,vt(Ss)}function Ba(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Wu(n)),zt!==null)for(n=zt.return;n!==null;){var r=n;switch(se(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&gs();break;case 3:pi(),vt(Lt),vt(Yt),Da();break;case 5:xs(r);break;case 4:pi();break;case 13:vt(Ct);break;case 19:vt(Ct);break;case 10:ft(r.type._context);break;case 22:case 23:Ec()}n=n.return}if(tn=e,zt=e=Ji(e.current,null),un=Vn=t,Wt=0,_o=null,bc=Fl=za=0,Dn=bo=null,sr!==null){for(t=0;t<sr.length;t++)if(n=sr[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,f=n.pending;if(f!==null){var y=f.next;f.next=l,r.next=y}n.pending=r}sr=null}return e}function hf(e,t){do{var n=zt;try{if(It(),Ma.current=Tl,Nl){for(var r=Ot.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Nl=!1}if(Fa=0,en=Ht=Ot=null,ho=!1,po=0,_c.current=null,n===null||n.return===null){Wt=1,_o=t,zt=null;break}e:{var f=e,y=n.return,w=n,C=t;if(t=un,w.flags|=32768,C!==null&&typeof C=="object"&&typeof C.then=="function"){var z=C,Z=w,ee=Z.tag;if(!(Z.mode&1)&&(ee===0||ee===11||ee===15)){var G=Z.alternate;G?(Z.updateQueue=G.updateQueue,Z.memoizedState=G.memoizedState,Z.lanes=G.lanes):(Z.updateQueue=null,Z.memoizedState=null)}var fe=Md(y);if(fe!==null){fe.flags&=-257,Fd(fe,y,w,f,t),fe.mode&1&&Dd(f,z,t),t=fe,C=z;var Ce=t.updateQueue;if(Ce===null){var ke=new Set;ke.add(C),t.updateQueue=ke}else Ce.add(C);break e}else{if(!(t&1)){Dd(f,z,t),Nc();break e}C=Error(o(426))}}else if(ge&&w.mode&1){var Ft=Md(y);if(Ft!==null){!(Ft.flags&65536)&&(Ft.flags|=256),Fd(Ft,y,w,f,t),lt(js(C,w));break e}}f=C=js(C,w),Wt!==4&&(Wt=2),bo===null?bo=[f]:bo.push(f),f=y;do{switch(f.tag){case 3:f.flags|=65536,t&=-t,f.lanes|=t;var R=Ad(f,C,t);uo(f,R);break e;case 1:w=C;var P=f.type,M=f.stateNode;if(!(f.flags&128)&&(typeof P.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(Ki===null||!Ki.has(M)))){f.flags|=65536,t&=-t,f.lanes|=t;var ie=Rd(f,w,t);uo(f,ie);break e}}f=f.return}while(f!==null)}gf(n)}catch(Ee){t=Ee,zt===n&&n!==null&&(zt=n=n.return);continue}break}while(!0)}function pf(){var e=Ml.current;return Ml.current=Tl,e===null?Tl:e}function Nc(){(Wt===0||Wt===3||Wt===2)&&(Wt=4),tn===null||!(za&268435455)&&!(Fl&268435455)||Xi(tn,un)}function Vl(e,t){var n=at;at|=2;var r=pf();(tn!==e||un!==t)&&(gi=null,Ba(e,t));do try{lp();break}catch(l){hf(e,l)}while(!0);if(It(),at=n,Ml.current=r,zt!==null)throw Error(o(261));return tn=null,un=0,Wt}function lp(){for(;zt!==null;)mf(zt)}function up(){for(;zt!==null&&!wi();)mf(zt)}function mf(e){var t=_f(e.alternate,e,Vn);e.memoizedProps=e.pendingProps,t===null?gf(e):zt=t,_c.current=null}function gf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=np(n,t),n!==null){n.flags&=32767,zt=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Wt=6,zt=null;return}}else if(n=tp(n,t,Vn),n!==null){zt=n;return}if(t=t.sibling,t!==null){zt=t;return}zt=t=e}while(t!==null);Wt===0&&(Wt=5)}function qa(e,t,n){var r=ot,l=lr.transition;try{lr.transition=null,ot=1,cp(e,t,n,r)}finally{lr.transition=l,ot=r}return null}function cp(e,t,n,r){do Es();while(Gi!==null);if(at&6)throw Error(o(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var f=n.lanes|n.childLanes;if(Si(e,f),e===tn&&(zt=tn=null,un=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||$l||($l=!0,bf(Ci,function(){return Es(),null})),f=(n.flags&15990)!==0,n.subtreeFlags&15990||f){f=lr.transition,lr.transition=null;var y=ot;ot=1;var w=at;at|=4,_c.current=null,ip(e,n),sf(n,e),Uu(Na),Ii=!!Mr,Na=Mr=null,e.current=n,ap(n),Ro(),at=w,ot=y,lr.transition=f}else e.current=n;if($l&&($l=!1,Gi=e,Bl=l),f=e.pendingLanes,f===0&&(Ki=null),Mo(n.stateNode),Mn(e,Et()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(zl)throw zl=!1,e=wc,wc=null,e;return Bl&1&&e.tag!==0&&Es(),f=e.pendingLanes,f&1?e===jc?xo++:(xo=0,jc=e):xo=0,Br(),null}function Es(){if(Gi!==null){var e=ri(Bl),t=lr.transition,n=ot;try{if(lr.transition=null,ot=16>e?16:e,Gi===null)var r=!1;else{if(e=Gi,Gi=null,Bl=0,at&6)throw Error(o(331));var l=at;for(at|=4,_e=e.current;_e!==null;){var f=_e,y=f.child;if(_e.flags&16){var w=f.deletions;if(w!==null){for(var C=0;C<w.length;C++){var z=w[C];for(_e=z;_e!==null;){var Z=_e;switch(Z.tag){case 0:case 11:case 15:vo(8,Z,f)}var ee=Z.child;if(ee!==null)ee.return=Z,_e=ee;else for(;_e!==null;){Z=_e;var G=Z.sibling,fe=Z.return;if(ef(Z),Z===z){_e=null;break}if(G!==null){G.return=fe,_e=G;break}_e=fe}}}var Ce=f.alternate;if(Ce!==null){var ke=Ce.child;if(ke!==null){Ce.child=null;do{var Ft=ke.sibling;ke.sibling=null,ke=Ft}while(ke!==null)}}_e=f}}if(f.subtreeFlags&2064&&y!==null)y.return=f,_e=y;else e:for(;_e!==null;){if(f=_e,f.flags&2048)switch(f.tag){case 0:case 11:case 15:vo(9,f,f.return)}var R=f.sibling;if(R!==null){R.return=f.return,_e=R;break e}_e=f.return}}var P=e.current;for(_e=P;_e!==null;){y=_e;var M=y.child;if(y.subtreeFlags&2064&&M!==null)M.return=y,_e=M;else e:for(y=P;_e!==null;){if(w=_e,w.flags&2048)try{switch(w.tag){case 0:case 11:case 15:Dl(9,w)}}catch(Ee){At(w,w.return,Ee)}if(w===y){_e=null;break e}var ie=w.sibling;if(ie!==null){ie.return=w.return,_e=ie;break e}_e=w.return}}if(at=l,Br(),Bn&&typeof Bn.onPostCommitFiberRoot=="function")try{Bn.onPostCommitFiberRoot(ca,e)}catch{}r=!0}return r}finally{ot=n,lr.transition=t}}return!1}function yf(e,t,n){t=js(n,t),t=Ad(e,t,1),e=jr(e,t,1),t=Cn(),e!==null&&(Tr(e,1,t),Mn(e,t))}function At(e,t,n){if(e.tag===3)yf(e,e,n);else for(;t!==null;){if(t.tag===3){yf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ki===null||!Ki.has(r))){e=js(n,e),e=Rd(t,e,1),t=jr(t,e,1),e=Cn(),t!==null&&(Tr(t,1,e),Mn(t,e));break}}t=t.return}}function dp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Cn(),e.pingedLanes|=e.suspendedLanes&n,tn===e&&(un&n)===n&&(Wt===4||Wt===3&&(un&130023424)===un&&500>Et()-xc?Ba(e,0):bc|=n),Mn(e,t)}function vf(e,t){t===0&&(e.mode&1?(t=_n,_n<<=1,!(_n&130023424)&&(_n=4194304)):t=1);var n=Cn();e=An(e,t),e!==null&&(Tr(e,t,n),Mn(e,n))}function fp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vf(e,n)}function hp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}r!==null&&r.delete(t),vf(e,n)}var _f;_f=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Lt.current)Rn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Rn=!1,ep(e,t,n);Rn=!!(e.flags&131072)}else Rn=!1,ge&&t.flags&1048576&&pe(t,p,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Al(e,t),e=t.pendingProps;var l=Vi(t,Yt.current);Qt(t,n),l=Ju(null,t,r,e,l,n);var f=Zu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,hn(r)?(f=!0,ys(t)):f=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,lo(t),l.updater=Ll,t.stateNode=l,l._reactInternals=t,ac(t,r,e,n),t=uc(null,t,r,!0,f,n)):(t.tag=0,ge&&f&&me(t),jn(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Al(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=mp(r),e=Cr(r,e),l){case 0:t=lc(null,t,r,e,n);break e;case 1:t=Vd(null,t,r,e,n);break e;case 11:t=zd(null,t,r,e,n);break e;case 14:t=$d(null,t,r,Cr(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Cr(r,l),lc(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Cr(r,l),Vd(e,t,r,l,n);case 3:e:{if(Qd(t),e===null)throw Error(o(387));r=t.pendingProps,f=t.memoizedState,l=f.element,_s(e,t),Ia(t,r,null,n);var y=t.memoizedState;if(r=y.element,f.isDehydrated)if(f={element:r,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){l=js(Error(o(423)),t),t=Hd(e,t,r,n,l);break e}else if(r!==l){l=js(Error(o(424)),t),t=Hd(e,t,r,n,l);break e}else for(Se=Fr(t.stateNode.containerInfo.firstChild),Le=t,ge=!0,Pe=null,n=xn(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ze(),r===l){t=mi(e,t,n);break e}jn(e,t,r,n)}t=t.child}return t;case 5:return co(t),e===null&&We(t),r=t.type,l=t.pendingProps,f=e!==null?e.memoizedProps:null,y=l.children,ps(r,l)?y=null:f!==null&&ps(r,f)&&(t.flags|=32),Ud(e,t),jn(e,t,y,n),t.child;case 6:return e===null&&We(t),null;case 13:return Wd(e,t,n);case 4:return Ra(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ut(t,null,r,n):jn(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Cr(r,l),zd(e,t,r,l,n);case 7:return jn(e,t,t.pendingProps,n),t.child;case 8:return jn(e,t,t.pendingProps.children,n),t.child;case 12:return jn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,f=t.memoizedProps,y=l.value,_t(jt,r._currentValue),r._currentValue=y,f!==null)if(Ln(f.value,y)){if(f.children===l.children&&!Lt.current){t=mi(e,t,n);break e}}else for(f=t.child,f!==null&&(f.return=t);f!==null;){var w=f.dependencies;if(w!==null){y=f.child;for(var C=w.firstContext;C!==null;){if(C.context===r){if(f.tag===1){C=wr(-1,n&-n),C.tag=2;var z=f.updateQueue;if(z!==null){z=z.shared;var Z=z.pending;Z===null?C.next=C:(C.next=Z.next,Z.next=C),z.pending=C}}f.lanes|=n,C=f.alternate,C!==null&&(C.lanes|=n),Vt(f.return,n,t),w.lanes|=n;break}C=C.next}}else if(f.tag===10)y=f.type===t.type?null:f.child;else if(f.tag===18){if(y=f.return,y===null)throw Error(o(341));y.lanes|=n,w=y.alternate,w!==null&&(w.lanes|=n),Vt(y,n,t),y=f.sibling}else y=f.child;if(y!==null)y.return=f;else for(y=f;y!==null;){if(y===t){y=null;break}if(f=y.sibling,f!==null){f.return=y.return,y=f;break}y=y.return}f=y}jn(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Qt(t,n),l=Mt(l),r=r(l),t.flags|=1,jn(e,t,r,n),t.child;case 14:return r=t.type,l=Cr(r,t.pendingProps),l=Cr(r.type,l),$d(e,t,r,l,n);case 15:return Bd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Cr(r,l),Al(e,t),t.tag=1,hn(r)?(e=!0,ys(t)):e=!1,Qt(t,n),Ld(t,r,l),ac(t,r,l,n),uc(null,t,r,!0,e,n);case 19:return Gd(e,t,n);case 22:return qd(e,t,n)}throw Error(o(156,t.tag))};function bf(e,t){return ni(e,t)}function pp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ur(e,t,n,r){return new pp(e,t,n,r)}function Pc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function mp(e){if(typeof e=="function")return Pc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Qe)return 11;if(e===it)return 14}return 2}function Ji(e,t){var n=e.alternate;return n===null?(n=ur(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deleti
vendor: 6,795 bytes, line 41
41ons=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ql(e,t,n,r,l,f){var y=2;if(r=e,typeof e=="function")Pc(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case we:return Ua(n.children,l,f,t);case ae:y=8,l|=8;break;case ue:return e=ur(12,n,t,l|2),e.elementType=ue,e.lanes=f,e;case Ge:return e=ur(13,n,t,l),e.elementType=Ge,e.lanes=f,e;case Ke:return e=ur(19,n,t,l),e.elementType=Ke,e.lanes=f,e;case Ue:return Hl(n,l,f,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case he:y=10;break e;case Be:y=9;break e;case Qe:y=11;break e;case it:y=14;break e;case qe:y=16,r=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return t=ur(y,n,t,l),t.elementType=e,t.type=r,t.lanes=f,t}function Ua(e,t,n,r){return e=ur(7,e,r,t),e.lanes=n,e}function Hl(e,t,n,r){return e=ur(22,e,r,t),e.elementType=Ue,e.lanes=n,e.stateNode={isHidden:!1},e}function Oc(e,t,n){return e=ur(6,e,null,t),e.lanes=n,e}function Tc(e,t,n){return t=ur(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mr(0),this.expirationTimes=mr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mr(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Lc(e,t,n,r,l,f,y,w,C){return e=new gp(e,t,n,w,C),t===1?(t=1,f===!0&&(t|=8)):t=0,f=ur(3,null,null,t),e.current=f,f.stateNode=e,f.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lo(f),e}function yp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:le,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function xf(e){if(!e)return ir;e=e._reactInternals;e:{if(kn(e)!==e||e.tag!==1)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(hn(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(o(171))}if(e.tag===1){var n=e.type;if(hn(n))return Sl(e,n,t)}return t}function wf(e,t,n,r,l,f,y,w,C){return e=Lc(n,r,!0,e,l,f,y,w,C),e.context=xf(null),n=e.current,r=Cn(),l=Yi(n),f=wr(r,l),f.callback=t??null,jr(n,f,l),e.current.lanes=l,Tr(e,l,r),Mn(e,r),e}function Wl(e,t,n,r){var l=t.current,f=Cn(),y=Yi(l);return n=xf(n),t.context===null?t.context=n:t.pendingContext=n,t=wr(f,y),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=jr(l,t,y),e!==null&&(Er(e,l,y,f),bs(e,l,y)),y}function Kl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function jf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ic(e,t){jf(e,t),(e=e.alternate)&&jf(e,t)}var Cf=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ac(e){this._internalRoot=e}Gl.prototype.render=Ac.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));Wl(e,t,null,null)},Gl.prototype.unmount=Ac.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$a(function(){Wl(null,e,null,null)}),t[_r]=null}};function Gl(e){this._internalRoot=e}Gl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Bo();e={blockedOn:null,target:e,priority:t};for(var n=0;n<yr.length&&t!==0&&t<yr[n].priority;n++);yr.splice(n,0,e),n===0&&ma(e)}};function Rc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Yl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Sf(){}function vp(e,t,n,r,l){if(l){if(typeof r=="function"){var f=r;r=function(){var z=Kl(y);f.call(z)}}var y=wf(t,r,e,0,null,!1,!1,"",Sf);return e._reactRootContainer=y,e[_r]=y.current,ci(e.nodeType===8?e.parentNode:e),$a(),y}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var w=r;r=function(){var z=Kl(C);w.call(z)}}var C=Lc(e,0,!1,null,null,!1,!1,"",Sf);return e._reactRootContainer=C,e[_r]=C.current,ci(e.nodeType===8?e.parentNode:e),$a(function(){Wl(t,C,n,r)}),C}function Xl(e,t,n,r,l){var f=n._reactRootContainer;if(f){var y=f;if(typeof l=="function"){var w=l;l=function(){var C=Kl(y);w.call(C)}}Wl(t,y,e,l)}else y=vp(n,t,e,l,r);return Kl(y)}Ga=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=qt(t.pendingLanes);n!==0&&(ha(t,n|1),Mn(t,Et()),!(at&6)&&(ks=Et()+500,Br()))}break;case 13:$a(function(){var r=An(e,1);if(r!==null){var l=Cn();Er(r,e,1,l)}}),Ic(e,1)}},Ya=function(e){if(e.tag===13){var t=An(e,134217728);if(t!==null){var n=Cn();Er(t,e,134217728,n)}Ic(e,134217728)}},Xn=function(e){if(e.tag===13){var t=Yi(e),n=An(e,t);if(n!==null){var r=Cn();Er(n,e,t,r)}Ic(e,t)}},Bo=function(){return ot},gr=function(e,t){var n=ot;try{return ot=e,t()}finally{ot=n}},nt=function(e,t,n){switch(t){case"input":if(aa(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=rr(r);if(!l)throw Error(o(90));an(r),aa(r,l)}}}break;case"textarea":Jr(e,n);break;case"select":t=n.value,t!=null&&Hn(e,!!n.multiple,t,!1)}},Zr=kc,Kn=$a;var _p={usingClientEntryPoint:!1,Events:[fi,hi,rr,hr,Wn,kc]},wo={findFiberByHostInstance:zr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},bp={bundleType:wo.bundleType,version:wo.version,rendererPackageName:wo.rendererPackageName,rendererConfig:wo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ye.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Gt(e),e===null?null:e.stateNode},findFiberByHostInstance:wo.findFiberByHostInstance,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
41if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Jl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jl.isDisabled&&Jl.supportsFiber)try{ca=Jl.inject(bp),Bn=Jl}catch{}}return Fn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_p,Fn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Rc(t))throw Error(o(200));return yp(e,t,null,n)},Fn.createRoot=function(e,t){if(!Rc(e))throw Error(o(299));var n=!1,r="",l=Cf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Lc(e,1,!1,null,null,n,!1,r,l),e[_r]=t.current,ci(e.nodeType===8?e.parentNode:e),new Ac(t)},Fn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=Gt(t),e=e===null?null:e.stateNode,e},Fn.flushSync=function(e){return $a(e)},Fn.hydrate=function(e,t,n){if(!Yl(t))throw Error(o(200));return Xl(null,e,t,!0,n)},Fn.hydrateRoot=function(e,t,n){if(!Rc(e))throw Error(o(405));var r=n!=null&&n.hydratedSources||null,l=!1,f="",y=Cf;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(f=n.identifierPrefix),n.onRecoverableError!==void 0&&(y=n.onRecoverableError)),t=wf(t,null,e,1,n??null,l,!1,f,y),e[_r]=t.current,ci(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Gl(t)},Fn.render=function(e,t,n){if(!Yl(t))throw Error(o(200));return Xl(null,e,t,!1,n)},Fn.unmountComponentAtNode=function(e){if(!Yl(e))throw Error(o(40));return e._reactRootContainer?($a(function(){Xl(null,null,e,!1,function(){e._reactRootContainer=null,e[_r]=null})}),!0):!1},Fn.unstable_batchedUpdates=kc,Fn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Yl(n))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return Xl(e,t,n,!1,r)},Fn.version="18.3.1-next-f1338f8080-20240426",Fn}var If;function nh(){if(If)return Fc.exports;If=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(u){console.error(u)}}return s(),Fc.exports=Ep(),Fc.exports}var Af;function Np(){if(Af)return Zl;Af=1;var s=nh();return Zl.createRoot=s.createRoot,Zl.hydrateRoot=s.hydrateRoot,Zl}var Pp=Np();function Kc(s,u){return Kc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,c){return o.__proto__=c,o},Kc(s,u)}function Po(s,u){s.prototype=Object.create(u.prototype),s.prototype.constructor=s,Kc(s,u)}var Oo=function(){function s(){this.listeners=[]}var u=s.prototype;return u.subscribe=function(c){var d=this,h=c||function(){};return this.listeners.push(h),this.onSubscribe(),function(){d.listeners=d.listeners.filter(function(g){return g!==h}),d.onUnsubscribe()}},u.hasListeners=function(){return this.listeners.length>0},u.onSubscribe=function(){},u.onUnsubscribe=function(){},s}();function ht(){return ht=Object.assign?Object.assign.bind():function(s){for(var u=1;u<arguments.length;u++){var o=arguments[u];for(var c in o)({}).hasOwnProperty.call(o,c)&&(s[c]=o[c])}return s},ht.apply(null,arguments)}var ou=typeof window>"u";function yn(){}function Op(s,u){return typeof s=="function"?s(u):s}function Gc(s){return typeof s=="number"&&s>=0&&s!==1/0}function lu(s){return Array.isArray(s)?s:[s]}function rh(s,u){return Math.max(s+(u||0)-Date.now(),0)}function tu(s,u,o){return yu(s)?typeof u=="function"?ht({},o,{queryKey:s,queryFn:u}):ht({},u,{queryKey:s}):s}function na(s,u,o){return yu(s)?[ht({},u,{queryKey:s}),o]:[s||{},u]}function Tp(s,u){if(s===!0&&u===!0||s==null&&u==null)return"all";if(s===!1&&u===!1)return"none";var o=s??!u;return o?"active":"inactive"}function Rf(s,u){var o=s.active,c=s.exact,d=s.fetching,h=s.inactive,g=s.predicate,v=s.queryKey,x=s.stale;if(yu(v)){if(c){if(u.queryHash!==ed(v,u.options))return!1}else if(!uu(u.queryKey,v))return!1}var b=Tp(o,h);if(b==="none")return!1;if(b!=="all"){var S=u.isActive();if(b==="active"&&!S||b==="inactive"&&S)return!1}return!(typeof x=="boolean"&&u.isStale()!==x||typeof d=="boolean"&&u.isFetching()!==d||g&&!g(u))}function Df(s,u){var o=s.exact,c=s.fetching,d=s.predicate,h=s.mutationKey;if(yu(h)){if(!u.options.mutationKey)return!1;if(o){if(Qa(u.options.mutationKey)!==Qa(h))return!1}else if(!uu(u.options.mutationKey,h))return!1}return!(typeof c=="boolean"&&u.state.status==="loading"!==c||d&&!d(u))}
41function ed(s,u){var o=(u==null?void 0:u.queryKeyHashFn)||Qa;return o(s)}function Qa(s){var u=lu(s);return Lp(u)}function Lp(s){return JSON.stringify(s,function(u,o){return Yc(o)?Object.keys(o).sort().reduce(function(c,d){return c[d]=o[d],c},{}):o})}function uu(s,u){return ih(lu(s),lu(u))}function ih(s,u){return s===u?!0:typeof s!=typeof u?!1:s&&u&&typeof s=="object"&&typeof u=="object"?!Object.keys(u).some(function(o){return!ih(s[o],u[o])}):!1}function cu(s,u){if(s===u)return s;var o=Array.isArray(s)&&Array.isArray(u);if(o||Yc(s)&&Yc(u)){for(var c=o?s.length:Object.keys(s).length,d=o?u:Object.keys(u),h=d.length,g=o?[]:{},v=0,x=0;x<h;x++){var b=o?x:d[x];g[b]=cu(s[b],u[b]),g[b]===s[b]&&v++}return c===h&&v===c?s:g}return u}function Ip(s,u){if(s&&!u||u&&!s)return!1;for(var o in s)if(s[o]!==u[o])return!1;return!0}function Yc(s){if(!Mf(s))return!1;var u=s.constructor;if(typeof u>"u")return!0;var o=u.prototype;return!(!Mf(o)||!o.hasOwnProperty("isPrototypeOf"))}function Mf(s){return Object.prototype.toString.call(s)==="[object Object]"}function yu(s){return typeof s=="string"||Array.isArray(s)}function Ap(s){return new Promise(function(u){setTimeout(u,s)})}function Ff(s){Promise.resolve().then(s).catch(function(u){return setTimeout(function(){throw u})})}function ah(){if(typeof AbortController=="function")return new AbortController}var Rp=function(s){Po(u,s);function u(){var c;return c=s.call(this)||this,c.setup=function(d){var h;if(!ou&&((h=window)!=null&&h.addEventListener)){var g=function(){return d()};return window.addEventListener("visibilitychange",g,!1),window.addEventListener("focus",g,!1),function(){window.removeEventListener("visibilitychange",g),window.removeEventListener("focus",g)}}},c}var o=u.prototype;return o.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},o.onUnsubscribe=function(){if(!this.hasListeners()){var d;(d=this.cleanup)==null||d.call(this),this.cleanup=void 0}},o.setEventListener=function(d){var h,g=this;this.setup=d,(h=this.cleanup)==null||h.call(this),this.cleanup=d(function(v){typeof v=="boolean"?g.setFocused(v):g.onFocus()})},o.setFocused=function(d){this.focused=d,d&&this.onFocus()},o.onFocus=function(){this.listeners.forEach(function(d){d()})},o.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},u}(Oo),Eo=new Rp,Dp=function(s){Po(u,s);function u(){var c;return c=s.call(this)||this,c.setup=function(d){var h;if(!ou&&((h=window)!=null&&h.addEventListener)){var g=function(){return d()};return window.addEventListener("online",g,!1),window.addEventListener("offline",g,!1),function(){window.removeEventListener("online",g),window.removeEventListener("offline",g)}}},c}var o=u.prototype;return o.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},o.onUnsubscribe=function(){if(!this.hasListeners()){var d;(d=this.cleanup)==null||d.call(this),this.cleanup=void 0}},o.setEventListener=function(d){var h,g=this;this.setup=d,(h=this.cleanup)==null||h.call(this),this.cleanup=d(function(v){typeof v=="boolean"?g.setOnline(v):g.onOnline()})},o.setOnline=function(d){this.online=d,d&&this.onOnline()},o.onOnline=function(){this.listeners.forEach(function(d){d()})},o.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},u}(Oo),nu=new Dp;function Mp(s){return Math.min(1e3*Math.pow(2,s),3e4)}function du(s){return typeof(s==null?void 0:s.cancel)=="function"}var sh=function(u){this.revert=u==null?void 0:u.revert,this.silent=u==null?void 0:u.silent};function ru(s){return s instanceof sh}var oh=function(u){var o=this,c=!1,d,h,g,v;this.abort=u.abort,this.cancel=function(L){return d==null?void 0:d(L)},this.cancelRetry=function(){c=!0},this.continueRetry=function(){c=!1},this.continue=function(){return h==null?void 0:h()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(L,O){g=L,v=O});var x=function(O){o.isResolved||(o.isResolved=!0,u.onSuccess==null||u.onSuccess(O),h==null||h(),g(O))},b=function(O){o.isResolved||(o.isResolved=!0,u.onError==null||u.onError(O),h==null||h(),v(O))},S=function(){return new Promise(function(O){h=O,o.isPaused=!0,u.onPause==null||u.onPause()}).then(function(){h=void 0,o.isPaused=!1,u.onContinue==null||u.onContinue()})},E=function L(){if(!o.isResolved){var O;try{O=u.fn()}catch(A){O=Promise.reject(A)}d=function(F){if(!o.isResolved&&(b(new sh(F)),o.abort==null||o.abort(),du(O)))try{O.cancel()}catch{}},o.isTransportCancelable=du(O),Promise.resolve(O).then(x).catch(function(A){var F,q;if(!o.isResolved){var U=(F=u.retry)!=null?F:3,V=(q=u.retryDelay)!=null?q:Mp,Y=typeof V=="function"?V(o.failureCount,A):V,ye=U===!0||typeof U=="number"&&o.failureCount<U||typeof U=="function"&&U(o.failureCount,A);if(c||!ye){b(A);return}o.failureCount++,u.onFail==null||u.onFail(o.failureCount,A),Ap(Y).then(function(){if(!Eo.isFocused()||!nu.isOnline())return S()}).then(function(){c?b(A):L()})}})}};E()},Fp=function(){function s(){this.queue=[],this.transactions=0,this.notifyFn=function(o){o()},this.batchNotifyFn=function(o){o()}}var u=s.prototype;return u.batch=function(c){var d;this.transactions++;try{d=c()}finally{this.transactions--,this.transactions||this.flush()}return d},u.schedule=function(c){var d=this;this.transactions?this.queue.push(c):Ff(function(){d.notifyFn(c)})},u.batchCalls=function(c){var d=this;return function(){for(var h=arguments.length,g=new Array(h),v=0;v<h;v++)g[v]=arguments[v];d.schedule(function(){c.apply(void 0,g)})}},u.flush=function(){var c=this,d=this.queue;this.queue=[],d.length&&Ff(function(){c.batchNotifyFn(function(){d.forEach(function(h){c.notifyFn(h
41)})})})},u.setNotifyFunction=function(c){this.notifyFn=c},u.setBatchNotifyFunction=function(c){this.batchNotifyFn=c},s}(),Rt=new Fp,lh=console;function fu(){return lh}function zp(s){lh=s}var $p=function(){function s(o){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=o.defaultOptions,this.setOptions(o.options),this.observers=[],this.cache=o.cache,this.queryKey=o.queryKey,this.queryHash=o.queryHash,this.initialState=o.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=o.meta,this.scheduleGc()}var u=s.prototype;return u.setOptions=function(c){var d;this.options=ht({},this.defaultOptions,c),this.meta=c==null?void 0:c.meta,this.cacheTime=Math.max(this.cacheTime||0,(d=this.options.cacheTime)!=null?d:5*60*1e3)},u.setDefaultOptions=function(c){this.defaultOptions=c},u.scheduleGc=function(){var c=this;this.clearGcTimeout(),Gc(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){c.optionalRemove()},this.cacheTime))},u.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},u.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},u.setData=function(c,d){var h,g,v=this.state.data,x=Op(c,v);return(h=(g=this.options).isDataEqual)!=null&&h.call(g,v,x)?x=v:this.options.structuralSharing!==!1&&(x=cu(v,x)),this.dispatch({data:x,type:"success",dataUpdatedAt:d==null?void 0:d.updatedAt}),x},u.setState=function(c,d){this.dispatch({type:"setState",state:c,setStateOptions:d})},u.cancel=function(c){var d,h=this.promise;return(d=this.retryer)==null||d.cancel(c),h?h.then(yn).catch(yn):Promise.resolve()},u.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},u.reset=function(){this.destroy(),this.setState(this.initialState)},u.isActive=function(){return this.observers.some(function(c){return c.options.enabled!==!1})},u.isFetching=function(){return this.state.isFetching},u.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(c){return c.getCurrentResult().isStale})},u.isStaleByTime=function(c){return c===void 0&&(c=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!rh(this.state.dataUpdatedAt,c)},u.onFocus=function(){var c,d=this.observers.find(function(h){return h.shouldFetchOnWindowFocus()});d&&d.refetch(),(c=this.retryer)==null||c.continue()},u.onOnline=function(){var c,d=this.observers.find(function(h){return h.shouldFetchOnReconnect()});d&&d.refetch(),(c=this.retryer)==null||c.continue()},u.addObserver=function(c){this.observers.indexOf(c)===-1&&(this.observers.push(c),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:c}))},u.removeObserver=function(c){this.observers.indexOf(c)!==-1&&(this.observers=this.observers.filter(function(d){return d!==c}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:c}))},u.getObserversCount=function(){return this.observers.length}
41,u.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},u.fetch=function(c,d){var h=this,g,v,x;if(this.state.isFetching){if(this.state.dataUpdatedAt&&(d!=null&&d.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var b;return(b=this.retryer)==null||b.continueRetry(),this.promise}}if(c&&this.setOptions(c),!this.options.queryFn){var S=this.observers.find(function(V){return V.options.queryFn});S&&this.setOptions(S.options)}var E=lu(this.queryKey),L=ah(),O={queryKey:E,pageParam:void 0,meta:this.meta};Object.defineProperty(O,"signal",{enumerable:!0,get:function(){if(L)return h.abortSignalConsumed=!0,L.signal}});var A=function(){return h.options.queryFn?(h.abortSignalConsumed=!1,h.options.queryFn(O)):Promise.reject("Missing queryFn")},F={fetchOptions:d,options:this.options,queryKey:E,state:this.state,fetchFn:A,meta:this.meta};if((g=this.options.behavior)!=null&&g.onFetch){var q;(q=this.options.behavior)==null||q.onFetch(F)}if(this.revertState=this.state,!this.state.isFetching||this.state.fetchMeta!==((v=F.fetchOptions)==null?void 0:v.meta)){var U;this.dispatch({type:"fetch",meta:(U=F.fetchOptions)==null?void 0:U.meta})}return this.retryer=new oh({fn:F.fetchFn,abort:L==null||(x=L.abort)==null?void 0:x.bind(L),onSuccess:function(Y){h.setData(Y),h.cache.config.onSuccess==null||h.cache.config.onSuccess(Y,h),h.cacheTime===0&&h.optionalRemove()},onError:function(Y){ru(Y)&&Y.silent||h.dispatch({type:"error",error:Y}),ru(Y)||(h.cache.config.onError==null||h.cache.config.onError(Y,h),fu().error(Y)),h.cacheTime===0&&h.optionalRemove()},onFail:function(){h.dispatch({type:"failed"})},onPause:function(){h.dispatch({type:"pause"})},onContinue:function(){h.dispatch({type:"continue"})},retry:F.options.retry,retryDelay:F.options.retryDelay}),this.promise=this.retryer.promise,this.promise},u.dispatch=function(c){var d=this;this.state=this.reducer(this.state,c),Rt.batch(function(){d.observers.forEach(function(h){h.onQueryUpdate(c)}),d.cache.notify({query:d,type:"queryUpdated",action:c})})},u.getDefaultState=function(c){var d=typeof c.initialData=="function"?c.initialData():c.initialData,h=typeof c.initialData<"u",g=h?typeof c.initialDataUpdatedAt=="function"?c.initialDataUpdatedAt():c.initialDataUpdatedAt:0,v=typeof d<"u";return{data:d,dataUpdateCount:0,dataUpdatedAt:v?g??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:v?"success":"idle"}},u.reducer=function(c,d){var h,g;switch(d.type){case"failed":return ht({},c,{fetchFailureCount:c.fetchFailureCount+1});case"pause":return ht({},c,{isPaused:!0});case"continue":return ht({},c,{isPaused:!1});case"fetch":return ht({},c,{fetchFailureCount:0,fetchMeta:(h=d.meta)!=null?h:null,isFetching:!0,isPaused:!1},!c.dataUpdatedAt&&{error:null,status:"loading"});case"success":return ht({},c,{data:d.data,dataUpdateCount:c.dataUpdateCount+1,dataUpdatedAt:(g=d.dataUpdatedAt)!=null?g:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var v=d.error;return ru(v)&&v.revert&&this.revertState?ht({},this.revertState):ht({},c,{error:v,errorUpdateCount:c.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:c.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return ht({},c,{isInvalidated:!0});case"setState":return ht({},c,d.state);default:return c}},s}(),Bp=function(s){Po(u,s);function u(c){var d;return d=s.call(this)||this,d.config=c||{},d.queries=[],d.queriesMap={},d}var o=u.prototype;return o.build=function(d,h,g){var v,x=h.queryKey,b=(v=h.queryHash)!=null?v:ed(x,h),S=this.get(b);return S||(S=new $p({cache:this,queryKey:x,queryHash:b,options:d.defaultQueryOptions(h),state:g,defaultOptions:d.getQueryDefaults(x),meta:h.meta}),this.add(S)),S},o.add=function(d){this.queriesMap[d.queryHash]||(this.queriesMap[d.queryHash]=d,this.queries.push(d),this.notify({type:"queryAdded",query:d}))},o.remove=function(d){var h=this.queriesMap[d.queryHash];h&&(d.destroy(),this.queries=this.queries.filter(function(g){return g!==d}),h===d&&delete this.queriesMap[d.queryHash],this.notify({type:"queryRemoved",query:d}))},o.clear=function(){var d=this;
41Rt.batch(function(){d.queries.forEach(function(h){d.remove(h)})})},o.get=function(d){return this.queriesMap[d]},o.getAll=function(){return this.queries},o.find=function(d,h){var g=na(d,h),v=g[0];return typeof v.exact>"u"&&(v.exact=!0),this.queries.find(function(x){return Rf(v,x)})},o.findAll=function(d,h){var g=na(d,h),v=g[0];return Object.keys(v).length>0?this.queries.filter(function(x){return Rf(v,x)}):this.queries},o.notify=function(d){var h=this;Rt.batch(function(){h.listeners.forEach(function(g){g(d)})})},o.onFocus=function(){var d=this;Rt.batch(function(){d.queries.forEach(function(h){h.onFocus()})})},o.onOnline=function(){var d=this;Rt.batch(function(){d.queries.forEach(function(h){h.onOnline()})})},u}(Oo),qp=function(){function s(o){this.options=ht({},o.defaultOptions,o.options),this.mutationId=o.mutationId,this.mutationCache=o.mutationCache,this.observers=[],this.state=o.state||Up(),this.meta=o.meta}var u=s.prototype;return u.setState=function(c){this.dispatch({type:"setState",state:c})},u.addObserver=function(c){this.observers.indexOf(c)===-1&&this.observers.push(c)},u.removeObserver=function(c){this.observers=this.observers.filter(function(d){return d!==c})},u.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(yn).catch(yn)):Promise.resolve()},u.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},u.execute=function(){var c=this,d,h=this.state.status==="loading",g=Promise.resolve();return h||(this.dispatch({type:"loading",variables:this.options.variables}),g=g.then(function(){c.mutationCache.config.onMutate==null||c.mutationCache.config.onMutate(c.state.variables,c)}).then(function(){return c.options.onMutate==null?void 0:c.options.onMutate(c.state.variables)}).then(function(v){v!==c.state.context&&c.dispatch({type:"loading",context:v,variables:c.state.variables})})),g.then(function(){return c.executeMutation()}).then(function(v){d=v,c.mutationCache.config.onSuccess==null||c.mutationCache.config.onSuccess(d,c.state.variables,c.state.context,c)}).then(function(){return c.options.onSuccess==null?void 0:c.options.onSuccess(d,c.state.variables,c.state.context)}).then(function(){return c.options.onSettled==null?void 0:c.options.onSettled(d,null,c.state.variables,c.state.context)}).then(function(){return c.dispatch({type:"success",data:d}),d}).catch(function(v){return c.mutationCache.config.onError==null||c.mutationCache.config.onError(v,c.state.variables,c.state.context,c),fu().error(v),Promise.resolve().then(function(){return c.options.onError==null?void 0:c.options.onError(v,c.state.variables,c.state.context)}).then(function(){return c.options.onSettled==null?void 0:c.options.onSettled(void 0,v,c.state.variables,c.state.context)}).then(function(){throw c.dispatch({type:"error",error:v}),v})})},u.executeMutation=function(){var c=this,d;return this.retryer=new oh({fn:function(){return c.options.mutationFn?c.options.mutationFn(c.state.variables):Promise.reject("No mutationFn found")},onFail:function(){c.dispatch({type:"failed"})},onPause:function(){c.dispatch({type:"pause"})},onContinue:function(){c.dispatch({type:"continue"})},retry:(d=this.options.retry)!=null?d:0,retryDelay:this.options.retryDelay}),this.retryer.promise},u.dispatch=function(c){var d=this;this.state=Vp(this.state,c),Rt.batch(function(){d.observers.forEach(function(h){h.onMutationUpdate(c)}),d.mutationCache.notify(d)})},s}();function Up(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function Vp(s,u){switch(u.type){case"failed":return ht({},s,{failureCount:s.failureCount+1});case"pause":return ht({},s,{isPaused:!0});case"continue":return ht({},s,{isPaused:!1});case"loading":return ht({},s,{context:u.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:u.variables});case"success":return ht({},s,{data:u.data,error:null,status:"success",isPaused:!1});case"error":return ht({},s,{data:void 0,error:u.error,failureCount:s.failureCount+1,isPaused:!1,status:"error"});case"setState":return ht({},s,u.state);default:return s}}var Qp=function(s){Po(u,s);function u(c){var d;return d=s.call(this)||this,d.config=c||{},d.mutations=[],d.mutationId=0,d}var o=u.prototype;return o.build=function(d,h,g){var v=new qp({mutationCache:this,mutationId:++this.mutationId,options:d.defaultMutationOptions(h),state:g,defaultOptions:h.mutationKey?d.getMutationDefaults(h.mutationKey):void 0,meta:h.meta});return this.add(v),v},o.add=function(d){this.mutations.push(d),this.notify(d)},o.remove=function(d){this.mutations=this.mutations.filter(function(h){return h!==d}),d.cancel(),this.notify(d)},o.clear=function(){var d=this;Rt.batch(function(){d.mutations.forEach(function(h){d.remove(h)})})},o.getAll=function(){return this.mutations},o.find=function(d){return typeof d.exact>"u"&&(d.exact=!0),this.mutations.find(function(h){return Df(d,h)})},o.findAll=function(d){return this.mutations.filter(function(h){return Df(d,h)})},o.notify=function(d){var h=this;
41Rt.batch(function(){h.listeners.forEach(function(g){g(d)})})},o.onFocus=function(){this.resumePausedMutations()},o.onOnline=function(){this.resumePausedMutations()},o.resumePausedMutations=function(){var d=this.mutations.filter(function(h){return h.state.isPaused});return Rt.batch(function(){return d.reduce(function(h,g){return h.then(function(){return g.continue().catch(yn)})},Promise.resolve())})},u}(Oo);function Hp(){return{onFetch:function(u){u.fetchFn=function(){var o,c,d,h,g,v,x=(o=u.fetchOptions)==null||(c=o.meta)==null?void 0:c.refetchPage,b=(d=u.fetchOptions)==null||(h=d.meta)==null?void 0:h.fetchMore,S=b==null?void 0:b.pageParam,E=(b==null?void 0:b.direction)==="forward",L=(b==null?void 0:b.direction)==="backward",O=((g=u.state.data)==null?void 0:g.pages)||[],A=((v=u.state.data)==null?void 0:v.pageParams)||[],F=ah(),q=F==null?void 0:F.signal,U=A,V=!1,Y=u.options.queryFn||function(){return Promise.reject("Missing queryFn")},ye=function(Ke,it,qe,Ue){return U=Ue?[it].concat(U):[].concat(U,[it]),Ue?[qe].concat(Ke):[].concat(Ke,[qe])},oe=function(Ke,it,qe,Ue){if(V)return Promise.reject("Cancelled");if(typeof qe>"u"&&!it&&Ke.length)return Promise.resolve(Ke);var te={queryKey:u.queryKey,signal:q,pageParam:qe,meta:u.meta},ce=Y(te),N=Promise.resolve(ce).then(function(Q){return ye(Ke,qe,Q,Ue)});if(du(ce)){var T=N;T.cancel=ce.cancel}return N},le;if(!O.length)le=oe([]);else if(E){var we=typeof S<"u",ae=we?S:zf(u.options,O);le=oe(O,we,ae)}else if(L){var ue=typeof S<"u",he=ue?S:Wp(u.options,O);le=oe(O,ue,he,!0)}else(function(){U=[];var Ge=typeof u.options.getNextPageParam>"u",Ke=x&&O[0]?x(O[0],0,O):!0;le=Ke?oe([],Ge,A[0]):Promise.resolve(ye([],A[0],O[0]));for(var it=function(te){le=le.then(function(ce){var N=x&&O[te]?x(O[te],te,O):!0;if(N){var T=Ge?A[te]:zf(u.options,ce);return oe(ce,Ge,T)}return Promise.resolve(ye(ce,A[te],O[te]))})},qe=1;qe<O.length;qe++)it(qe)})();var Be=le.then(function(Ge){return{pages:Ge,pageParams:U}}),Qe=Be;return Qe.cancel=function(){V=!0,F==null||F.abort(),du(le)&&le.cancel()},Be}}}}function zf(s,u){return s.getNextPageParam==null?void 0:s.getNextPageParam(u[u.length-1],u)}function Wp(s,u){return s.getPreviousPageParam==null?void 0:s.getPreviousPageParam(u[0],u)}var uh=function(){function s(o){o===void 0&&(o={}),this.queryCache=o.queryCache||new Bp,this.mutationCache=o.mutationCache||new Qp,this.defaultOptions=o.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var u=s.prototype;return u.mount=function(){var c=this;this.unsubscribeFocus=Eo.subscribe(function(){Eo.isFocused()&&nu.isOnline()&&(c.mutationCache.onFocus(),c.queryCache.onFocus())}),this.unsubscribeOnline=nu.subscribe(function(){Eo.isFocused()&&nu.isOnline()&&(c.mutationCache.onOnline(),c.queryCache.onOnline())})},u.unmount=function(){var c,d;(c=this.unsubscribeFocus)==null||c.call(this),(d=this.unsubscribeOnline)==null||d.call(this)},u.isFetching=function(c,d){var h=na(c,d),g=h[0];return g.fetching=!0,this.queryCache.findAll(g).length},u.isMutating=function(c){return this.mutationCache.findAll(ht({},c,{fetching:!0})).length},u.getQueryData=function(c,d){var h;return(h=this.queryCache.find(c,d))==null?void 0:h.state.data},u.getQueriesData=function(c){return this.getQueryCache().findAll(c).map(function(d){var h=d.queryKey,g=d.state,v=g.data;return[h,v]})},u.setQueryData=function(c,d,h){var g=tu(c),v=this.defaultQueryOptions(g);return this.queryCache.build(this,v).setData(d,h)},u.setQueriesData=function(c,d,h){var g=this;return Rt.batch(function(){return g.getQueryCache().findAll(c).map(function(v){var x=v.queryKey;return[x,g.setQueryData(x,d,h)]})})},u.getQueryState=function(c,d){var h;return(h=this.queryCache.find(c,d))==null?void 0:h.state},u.removeQueries=function(c,d){var h=na(c,d),g=h[0],v=this.queryCache;Rt.batch(function(){v.findAll(g).forEach(function(x){v.remove(x)})})},u.resetQueries=function(c,d,h){var g=this,v=na(c,d,h),x=v[0],b=v[1],S=this.queryCache,E=ht({},x,{active:!0});return Rt.batch(function(){return S.findAll(x).forEach(function(L){L.reset()}),g.refetchQueries(E,b)})},u.cancelQueries=function(c,d,h){var g=this,v=na(c,d,h),x=v[0],b=v[1],S=b===void 0?{}:b;typeof S.revert>"u"&&(S.revert=!0);var E=Rt.batch(function(){return g.queryCache.findAll(x).map(function(L){return L.cancel(S)})});return Promise.all(E).then(yn).catch(yn)}
41,u.invalidateQueries=function(c,d,h){var g,v,x,b=this,S=na(c,d,h),E=S[0],L=S[1],O=ht({},E,{active:(g=(v=E.refetchActive)!=null?v:E.active)!=null?g:!0,inactive:(x=E.refetchInactive)!=null?x:!1});return Rt.batch(function(){return b.queryCache.findAll(E).forEach(function(A){A.invalidate()}),b.refetchQueries(O,L)})},u.refetchQueries=function(c,d,h){var g=this,v=na(c,d,h),x=v[0],b=v[1],S=Rt.batch(function(){return g.queryCache.findAll(x).map(function(L){return L.fetch(void 0,ht({},b,{meta:{refetchPage:x==null?void 0:x.refetchPage}}))})}),E=Promise.all(S).then(yn);return b!=null&&b.throwOnError||(E=E.catch(yn)),E},u.fetchQuery=function(c,d,h){var g=tu(c,d,h),v=this.defaultQueryOptions(g);typeof v.retry>"u"&&(v.retry=!1);var x=this.queryCache.build(this,v);return x.isStaleByTime(v.staleTime)?x.fetch(v):Promise.resolve(x.state.data)},u.prefetchQuery=function(c,d,h){return this.fetchQuery(c,d,h).then(yn).catch(yn)},u.fetchInfiniteQuery=function(c,d,h){var g=tu(c,d,h);return g.behavior=Hp(),this.fetchQuery(g)},u.prefetchInfiniteQuery=function(c,d,h){return this.fetchInfiniteQuery(c,d,h).then(yn).catch(yn)},u.cancelMutations=function(){var c=this,d=Rt.batch(function(){return c.mutationCache.getAll().map(function(h){return h.cancel()})});return Promise.all(d).then(yn).catch(yn)},u.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},u.executeMutation=function(c){return this.mutationCache.build(this,c).execute()},u.getQueryCache=function(){return this.queryCache},u.getMutationCache=function(){return this.mutationCache},u.getDefaultOptions=function(){return this.defaultOptions},u.setDefaultOptions=function(c){this.defaultOptions=c},u.setQueryDefaults=function(c,d){var h=this.queryDefaults.find(function(g){return Qa(c)===Qa(g.queryKey)});h?h.defaultOptions=d:this.queryDefaults.push({queryKey:c,defaultOptions:d})},u.getQueryDefaults=function(c){var d;return c?(d=this.queryDefaults.find(function(h){return uu(c,h.queryKey)}))==null?void 0:d.defaultOptions:void 0},u.setMutationDefaults=function(c,d){var h=this.mutationDefaults.find(function(g){return Qa(c)===Qa(g.mutationKey)});h?h.defaultOptions=d:this.mutationDefaults.push({mutationKey:c,defaultOptions:d})},u.getMutationDefaults=function(c){var d;return c?(d=this.mutationDefaults.find(function(h){return uu(c,h.mutationKey)}))==null?void 0:d.defaultOptions:void 0},u.defaultQueryOptions=function(c){if(c!=null&&c._defaulted)return c;var d=ht({},this.defaultOptions.queries,this.getQueryDefaults(c==null?void 0:c.queryKey),c,{_defaulted:!0});return!d.queryHash&&d.queryKey&&(d.queryHash=ed(d.queryKey,d)),d},u.defaultQueryObserverOptions=function(c){return this.defaultQueryOptions(c)},u.defaultMutationOptions=function(c){return c!=null&&c._defaulted?c:ht({},this.defaultOptions.mutations,this.getMutationDefaults(c==null?void 0:c.mutationKey),c,{_defaulted:!0})},u.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},s}(),Kp=function(s){Po(u,s);function u(c,d){var h;return h=s.call(this)||this,h.client=c,h.options=d,h.trackedProps=[],h.selectError=null,h.bindMethods(),h.setOptions(d),h}var o=u.prototype;return o.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},o.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),$f(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},o.onUnsubscribe=function(){this.listeners.length||this.destroy()},o.shouldFetchOnReconnect=function(){return Xc(this.currentQuery,this.options,this.options.refetchOnReconnect)},o.shouldFetchOnWindowFocus=function(){return Xc(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},o.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},o.setOptions=function(d,h){var g=this.options,v=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(d),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=g.queryKey),this.updateQuery();var x=this.hasListeners();x&&Bf(this.currentQuery,v,this.options,g)&&this.executeFetch(),this.updateResult(h),x&&(this.currentQuery!==v||this.options.enabled!==g.enabled||this.options.staleTime!==g.staleTime)&&this.updateStaleTimeout();var b=this.computeRefetchInterval();x&&(this.currentQuery!==v||this.options.enabled!==g.enabled||b!==this.currentRefetchInterval)&&this.updateRefetchInterval(b)}
41,o.getOptimisticResult=function(d){var h=this.client.defaultQueryObserverOptions(d),g=this.client.getQueryCache().build(this.client,h);return this.createResult(g,h)},o.getCurrentResult=function(){return this.currentResult},o.trackResult=function(d,h){var g=this,v={},x=function(S){g.trackedProps.includes(S)||g.trackedProps.push(S)};return Object.keys(d).forEach(function(b){Object.defineProperty(v,b,{configurable:!1,enumerable:!0,get:function(){return x(b),d[b]}})}),(h.useErrorBoundary||h.suspense)&&x("error"),v},o.getNextResult=function(d){var h=this;return new Promise(function(g,v){var x=h.subscribe(function(b){b.isFetching||(x(),b.isError&&(d!=null&&d.throwOnError)?v(b.error):g(b))})})},o.getCurrentQuery=function(){return this.currentQuery},o.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},o.refetch=function(d){return this.fetch(ht({},d,{meta:{refetchPage:d==null?void 0:d.refetchPage}}))},o.fetchOptimistic=function(d){var h=this,g=this.client.defaultQueryObserverOptions(d),v=this.client.getQueryCache().build(this.client,g);return v.fetch().then(function(){return h.createResult(v,g)})},o.fetch=function(d){var h=this;return this.executeFetch(d).then(function(){return h.updateResult(),h.currentResult})},o.executeFetch=function(d){this.updateQuery();var h=this.currentQuery.fetch(this.options,d);return d!=null&&d.throwOnError||(h=h.catch(yn)),h},o.updateStaleTimeout=function(){var d=this;if(this.clearStaleTimeout(),!(ou||this.currentResult.isStale||!Gc(this.options.staleTime))){var h=rh(this.currentResult.dataUpdatedAt,this.options.staleTime),g=h+1;this.staleTimeoutId=setTimeout(function(){d.currentResult.isStale||d.updateResult()},g)}},o.computeRefetchInterval=function(){var d;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(d=this.options.refetchInterval)!=null?d:!1},o.updateRefetchInterval=function(d){var h=this;this.clearRefetchInterval(),this.currentRefetchInterval=d,!(ou||this.options.enabled===!1||!Gc(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(h.options.refetchIntervalInBackground||Eo.isFocused())&&h.executeFetch()},this.currentRefetchInterval))},o.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},o.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},o.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},o.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},o.createResult=function(d,h){var g=this.currentQuery,v=this.options,x=this.currentResult,b=this.currentResultState,S=this.currentResultOptions,E=d!==g,L=E?d.state:this.currentQueryInitialState,O=E?this.currentResult:this.previousQueryResult,A=d.state,F=A.dataUpdatedAt,q=A.error,U=A.errorUpdatedAt,V=A.isFetching,Y=A.status,ye=!1,oe=!1,le;if(h.optimisticResults){var we=this.hasListeners(),ae=!we&&$f(d,h),ue=we&&Bf(d,g,h,v);(ae||ue)&&(V=!0,F||(Y="loading"))}if(h.keepPreviousData&&!A.dataUpdateCount&&(O!=null&&O.isSuccess)&&Y!=="error")le=O.data,F=O.dataUpdatedAt,Y=O.status,ye=!0;else if(h.select&&typeof A.data<"u")if(x&&A.data===(b==null?void 0:b.data)&&h.select===this.selectFn)le=this.selectResult;else try{this.selectFn=h.select,le=h.select(A.data),h.structuralSharing!==!1&&(le=cu(x==null?void 0:x.data,le)),this.selectResult=le,this.selectError=null}catch(Qe){fu().error(Qe),this.selectError=Qe}else le=A.data;if(typeof h.placeholderData<"u"&&typeof le>"u"&&(Y==="loading"||Y==="idle")){var he;if(x!=null&&x.isPlaceholderData&&h.placeholderData===(S==null?void 0:S.placeholderData))he=x.data;else if(he=typeof h.placeholderData=="function"?h.placeholderData():h.placeholderData,h.select&&typeof he<"u")try{he=h.select(he),h.structuralSharing!==!1&&(he=cu(x==null?void 0:x.data,he)),this.selectError=null}catch(Qe){fu().error(Qe),this.selectError=Qe}typeof he<"u"&&(Y="success",le=he,oe=!0)}this.selectError&&(q=this.selectError,le=this.selectResult,U=Date.now(),Y="error");
41var Be={status:Y,isLoading:Y==="loading",isSuccess:Y==="success",isError:Y==="error",isIdle:Y==="idle",data:le,dataUpdatedAt:F,error:q,errorUpdatedAt:U,failureCount:A.fetchFailureCount,errorUpdateCount:A.errorUpdateCount,isFetched:A.dataUpdateCount>0||A.errorUpdateCount>0,isFetchedAfterMount:A.dataUpdateCount>L.dataUpdateCount||A.errorUpdateCount>L.errorUpdateCount,isFetching:V,isRefetching:V&&Y!=="loading",isLoadingError:Y==="error"&&A.dataUpdatedAt===0,isPlaceholderData:oe,isPreviousData:ye,isRefetchError:Y==="error"&&A.dataUpdatedAt!==0,isStale:td(d,h),refetch:this.refetch,remove:this.remove};return Be},o.shouldNotifyListeners=function(d,h){if(!h)return!0;var g=this.options,v=g.notifyOnChangeProps,x=g.notifyOnChangePropsExclusions;if(!v&&!x||v==="tracked"&&!this.trackedProps.length)return!0;var b=v==="tracked"?this.trackedProps:v;return Object.keys(d).some(function(S){var E=S,L=d[E]!==h[E],O=b==null?void 0:b.some(function(F){return F===S}),A=x==null?void 0:x.some(function(F){return F===S});return L&&!A&&(!b||O)})},o.updateResult=function(d){var h=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!Ip(this.currentResult,h)){var g={cache:!0};(d==null?void 0:d.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,h)&&(g.listeners=!0),this.notify(ht({},g,d))}},o.updateQuery=function(){var d=this.client.getQueryCache().build(this.client,this.options);if(d!==this.currentQuery){var h=this.currentQuery;this.currentQuery=d,this.currentQueryInitialState=d.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(h==null||h.removeObserver(this),d.addObserver(this))}},o.onQueryUpdate=function(d){var h={};d.type==="success"?h.onSuccess=!0:d.type==="error"&&!ru(d.error)&&(h.onError=!0),this.updateResult(h),this.hasListeners()&&this.updateTimers()},o.notify=function(d){var h=this;Rt.batch(function(){d.onSuccess?(h.options.onSuccess==null||h.options.onSuccess(h.currentResult.data),h.options.onSettled==null||h.options.onSettled(h.currentResult.data,null)):d.onError&&(h.options.onError==null||h.options.onError(h.currentResult.error),h.options.onSettled==null||h.options.onSettled(void 0,h.currentResult.error)),d.listeners&&h.listeners.forEach(function(g){g(h.currentResult)}),d.cache&&h.client.getQueryCache().notify({query:h.currentQuery,type:"observerResultsUpdated"})})},u}(Oo);function Gp(s,u){return u.enabled!==!1&&!s.state.dataUpdatedAt&&!(s.state.status==="error"&&u.retryOnMount===!1)}function $f(s,u){return Gp(s,u)||s.state.dataUpdatedAt>0&&Xc(s,u,u.refetchOnMount)}function Xc(s,u,o){if(u.enabled!==!1){var c=typeof o=="function"?o(s):o;return c==="always"||c!==!1&&td(s,u)}return!1}function Bf(s,u,o,c){return o.enabled!==!1&&(s!==u||c.enabled===!1)&&(!o.suspense||s.state.status!=="error")&&td(s,o)}function td(s,u){return s.isStaleByTime(u.staleTime)}var Yp=nh();const Xp=th(Yp);var Jp=Xp.unstable_batchedUpdates;Rt.setBatchNotifyFunction(Jp);var Zp=console;zp(Zp);var qf=rn.createContext(void 0),ch=rn.createContext(!1);function dh(s){return s&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=qf),window.ReactQueryClientContext):qf}var em=function(){var u=rn.useContext(dh(rn.useContext(ch)));if(!u)throw new Error("No QueryClient set, use QueryClientProvider to set one");return u},fh=function(u){var o=u.client,c=u.contextSharing,d=c===void 0?!1:c,h=u.children;rn.useEffect(function(){return o.mount(),function(){o.unmount()}},[o]);var g=dh(d);return rn.createElement(ch.Provider,{value:d},rn.createElement(g.Provider,{value:o},h))};function tm(){var s=!1;return{clearReset:function(){s=!1},reset:function(){s=!0},isReset:function(){return s}}}var nm=rn.createContext(tm()),rm=function(){return rn.useContext(nm)};function im(s,u,o){return typeof u=="function"?u.apply(void 0,o):typeof u=="boolean"?u:!!s}function am(s,u){var o=rn.useRef(!1),c=rn.useState(0),d=c[1],h=em(),g=rm(),v=h.defaultQueryObserverOptions(s);v.optimisticResults=!0,v.onError&&(v.onError=Rt.batchCalls(v.onError)),v.onSuccess&&(v.onSuccess=Rt.batchCalls(v.onSuccess)),v.onSettled&&(v.onSettled=Rt.batchCalls(v.onSettled)),v.suspense&&(typeof v.staleTime!="number"&&(v.staleTime=1e3),v.cacheTime===0&&(v.cac
41heTime=1)),(v.suspense||v.useErrorBoundary)&&(g.isReset()||(v.retryOnMount=!1));var x=rn.useState(function(){return new u(h,v)}),b=x[0],S=b.getOptimisticResult(v);if(rn.useEffect(function(){o.current=!0,g.clearReset();var E=b.subscribe(Rt.batchCalls(function(){o.current&&d(function(L){return L+1})}));return b.updateResult(),function(){o.current=!1,E()}},[g,b]),rn.useEffect(function(){b.setOptions(v,{listeners:!1})},[v,b]),v.suspense&&S.isLoading)throw b.fetchOptimistic(v).then(function(E){var L=E.data;v.onSuccess==null||v.onSuccess(L),v.onSettled==null||v.onSettled(L,null)}).catch(function(E){g.clearReset(),v.onError==null||v.onError(E),v.onSettled==null||v.onSettled(void 0,E)});if(S.isError&&!g.isReset()&&!S.isFetching&&im(v.suspense,v.useErrorBoundary,[S.error,b.getCurrentQuery()]))throw S.error;return v.notifyOnChangeProps==="tracked"&&(S=b.trackResult(S,v)),S}function sm(s,u,o){var c=tu(s,u,o);return am(c,Kp)}var Co={},Uf;function om(){if(Uf)return Co;Uf=1,Object.defineProperty(Co,"__esModule",{value:!0}),Co.parse=g,Co.serialize=b;const s=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,u=/^[\u0021-\u003A\u003C-\u007E]*$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,c=/^[\u0020-\u003A\u003D-\u007E]*$/,d=Object.prototype.toString,h=(()=>{const L=function(){};return L.prototype=Object.create(null),L})();function g(L,O){const A=new h,F=L.length;if(F<2)return A;const q=(O==null?void 0:O.decode)||S;let U=0;do{const V=L.indexOf("=",U);if(V===-1)break;const Y=L.indexOf(";",U),ye=Y===-1?F:Y;if(V>ye){U=L.lastIndexOf(";",V-1)+1;continue}const oe=v(L,U,V),le=x(L,V,oe),we=L.slice(oe,le);if(A[we]===void 0){let ae=v(L,V+1,ye),ue=x(L,ye,ae);const he=q(L.slice(ae,ue));A[we]=he}U=ye+1}while(U<F);return A}function v(L,O,A){do{const F=L.charCodeAt(O);if(F!==32&&F!==9)return O}while(++O<A);return A}function x(L,O,A){for(;O>A;){const F=L.charCodeAt(--O);if(F!==32&&F!==9)return O+1}return A}function b(L,O,A){const F=(A==null?void 0:A.encode)||encodeURIComponent;if(!s.test(L))throw new TypeError(`argument name is invalid: ${L}`);const q=F(O);if(!u.test(q))throw new TypeError(`argument val is invalid: ${O}`);let U=L+"="+q;if(!A)return U;if(A.maxAge!==void 0){if(!Number.isInteger(A.maxAge))throw new TypeError(`option maxAge is invalid: ${A.maxAge}`);U+="; Max-Age="+A.maxAge}if(A.domain){if(!o.test(A.domain))throw new TypeError(`option domain is invalid: ${A.domain}`);U+="; Domain="+A.domain}if(A.path){if(!c.test(A.path))throw new TypeError(`option path is invalid: ${A.path}`);U+="; Path="+A.path}if(A.expires){if(!E(A.expires)||!Number.isFinite(A.expires.valueOf()))throw new TypeError(`option expires is invali
41d: ${A.expires}`);U+="; Expires="+A.expires.toUTCString()}if(A.httpOnly&&(U+="; HttpOnly"),A.secure&&(U+="; Secure"),A.partitioned&&(U+="; Partitioned"),A.priority)switch(typeof A.priority=="string"?A.priority.toLowerCase():void 0){case"low":U+="; Priority=Low";break;case"medium":U+="; Priority=Medium";break;case"high":U+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${A.priority}`)}if(A.sameSite)switch(typeof A.sameSite=="string"?A.sameSite.toLowerCase():A.sameSite){case!0:case"strict":U+="; SameSite=Strict";break;case"lax":U+="; SameSite=Lax";break;case"none":U+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${A.sameSite}`)}return U}function S(L){if(L.indexOf("%")===-1)return L;try{return decodeURIComponent(L)}catch{return L}}function E(L){return d.call(L)==="[object Date]"}return Co}om();/** 42 * react-router v7.1.3 43 * 44 * Copyright (c) Remix Software Inc. 45 * 46 * This source code is licensed under the MIT license found in the 47 * LICENSE.md file in the root directory of this source tree. 48 * 49 * @license MIT 50 */var Vf="popstate";function lm(s={}){function u(c,d){let{pathname:h,search:g,hash:v}=c.location;return Jc("",{pathname:h,search:g,hash:v},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function o(c,d){return typeof d=="string"?d:No(d)}return cm(u,o,null,s)}function Tt(s,u){if(s===!1||s===null||typeof s>"u")throw new Error(u)}function Kr(s,u){if(!s){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function um(){return Math.random().toString(36).substring(2,10)}function Qf(s,u){return{usr:s.state,key:s.key,idx:u}}function Jc(s,u,o=null,c){return{pathname:typeof s=="string"?s:s.pathname,search:"",hash:"",...typeof u=="string"?Ls(u):u,state:o,key:u&&u.key||c||um()}}function No({pathname:s="/",search:u="",hash:o=""}){return u&&u!=="?"&&(s+=u.charAt(0)==="?"?u:"?"+u),o&&o!=="#"&&(s+=o.charAt(0)==="#"?o:"#"+o),s}function Ls(s){let u={};if(s){let o=s.indexOf("#");o>=0&&(u.hash=s.substring(o),s=s.substring(0,o));let c=s.indexOf("?");c>=0&&(u.search=s.substring(c),s=s.substring(0,c)),s&&(u.pathname=s)}return u}function cm(s,u,o,c={}){let{window:d=document.defaultView,v5Compat:h=!1}=c,g=d.history,v="POP",x=null,b=S();b==null&&(b=0,g.replaceState({...g.state,idx:b},""));function S(){return(g.state||{idx:null}).idx}function E(){v="POP";let q=S(),U=q==null?null:q-b;b=q,x&&x({action:v,location:F.location,delta:U})}function L(q,U){v="PUSH";let V=Jc(F.location,q,U);b=S()+1;let Y=Qf(V,b),ye=F.createHref(V);try{g.pushState(Y,"",ye)}catch(oe){if(oe instanceof DOMException&&oe.name==="DataCloneError")throw oe;d.location.assign(ye)}h&&x&&x({action:v,location:F.location,delta:1})}function O(q,U){v="REPLACE";let V=Jc(F.location,q,U);b=S();let Y=Qf(V,b),ye=F.createHref(V);g.replaceState(Y,"",ye),h&&x&&x({action:v,location:F.location,delta:0})}function A(q){let U=d.location.origin!=="null"?d.location.origin:d.location.href,V=typeof q=="string"?q:No(q);return V=V.replace(/ $/,"%20"),Tt(U,`No window.location.(origin|href) available to create URL for href: ${V}`),new URL(V,U)}let F={get action(){return v},get location(){return s(d,g)},listen(q){if(x)throw new Error("A history only accepts one active listener");return d.addEventListener(Vf,E),x=q,()=>{d.removeEventListener(Vf,E),x=null}},createHref(q){return u(d,q)},createURL:A,encodeLocation(q){let U=A(q);return{pathname:U.pathname,search:U.search,hash:U.hash}},push:L,replace:O,go(q){return g.go(q)}};return F}function hh(s,u,o="/"){return dm(s,u,o,!1)}function dm(s,u,o,c){let d=typeof u=="string"?Ls(u):u,h=ra(d.pathname||"/",o);if(h==null)return null;let g=ph(s);fm(g);let v=null;for(let x=0;v==null&&x<g.length;++x){let b=jm(h);v=xm(g[x],b,c)}return v}function ph(s,u=[],o=[],c=""){let d=(h,g,v)=>{let x={relativePath:v===void 0?h.path||"":v,caseSensitive:h.caseSensitive===!0,childrenIndex:g,route:h};x.relativePath.startsWith("/")&&(Tt(x.relativePath.startsWith(c),`Absolute route path "${x.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(c.length));let b=vi([c,x.relativePath]),S=o.concat(x);h.children&&h.children.length>0&&(Tt(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),ph(h.children,u,S,b)),!(h.path==null&&!h.index)&&u.push({path:b,score:_m(b,h.index),routesMeta:S})};
vendor: 1,237 bytes, line 50
50return s.forEach((h,g)=>{var v;if(h.path===""||!((v=h.path)!=null&&v.includes("?")))d(h,g);else for(let x of mh(h.path))d(h,g,x)}),u}function mh(s){let u=s.split("/");if(u.length===0)return[];let[o,...c]=u,d=o.endsWith("?"),h=o.replace(/\?$/,"");if(c.length===0)return d?[h,""]:[h];let g=mh(c.join("/")),v=[];return v.push(...g.map(x=>x===""?h:[h,x].join("/"))),d&&v.push(...g),v.map(x=>s.startsWith("/")&&x===""?"/":x)}function fm(s){s.sort((u,o)=>u.score!==o.score?o.score-u.score:bm(u.routesMeta.map(c=>c.childrenIndex),o.routesMeta.map(c=>c.childrenIndex)))}var hm=/^:[\w-]+$/,pm=3,mm=2,gm=1,ym=10,vm=-2,Hf=s=>s==="*";function _m(s,u){let o=s.split("/"),c=o.length;return o.some(Hf)&&(c+=vm),u&&(c+=mm),o.filter(d=>!Hf(d)).reduce((d,h)=>d+(hm.test(h)?pm:h===""?gm:ym),c)}function bm(s,u){return s.length===u.length&&s.slice(0,-1).every((c,d)=>c===u[d])?s[s.length-1]-u[u.length-1]:0}function xm(s,u,o=!1){let{routesMeta:c}=s,d={},h="/",g=[];for(let v=0;v<c.length;++v){let x=c[v],b=v===c.length-1,S=h==="/"?u:u.slice(h.length)||"/",E=hu({path:x.relativePath,caseSensitive:x.caseSensitive,end:b},S),L=x.route;if(!E&&b&&o&&!c[c.length-1].route.index&&(E=hu({path:x.relativePath,caseSensitive:x.caseSensitive,end:!1},S)),!E)return null;
50Object.assign(d,E.params),g.push({params:d,pathname:vi([h,E.pathname]),pathnameBase:Em(vi([h,E.pathnameBase])),route:L}),E.pathnameBase!=="/"&&(h=vi([h,E.pathnameBase]))}return g}function hu(s,u){typeof s=="string"&&(s={path:s,caseSensitive:!1,end:!0});let[o,c]=wm(s.path,s.caseSensitive,s.end),d=u.match(o);if(!d)return null;let h=d[0],g=h.replace(/(.)\/+$/,"$1"),v=d.slice(1);return{params:c.reduce((b,{paramName:S,isOptional:E},L)=>{if(S==="*"){let A=v[L]||"";g=h.slice(0,h.length-A.length).replace(/(.)\/+$/,"$1")}const O=v[L];return E&&!O?b[S]=void 0:b[S]=(O||"").replace(/%2F/g,"/"),b},{}),pathname:h,pathnameBase:g,pattern:s}}function wm(s,u=!1,o=!0){Kr(s==="*"||!s.endsWith("*")||s.endsWith("/*"),`Route path "${s}" will be treated as if it were "${s.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${s.replace(/\*$/,"/*")}".`);let c=[],d="^"+s.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(g,v,x)=>(c.push({paramName:v,isOptional:x!=null}),x?"/?([^\\/]+)?":"/([^\\/]+)"));return s.endsWith("*")?(c.push({paramName:"*"}),d+=s==="*"||s==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?d+="\\/*$":s!==""&&s!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,u?void 0:"i"),c]}function jm(s){try{return s.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return Kr(!1,`The URL path "${s}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${u}).`),s}}function ra(s,u){if(u==="/")return s;if(!s.toLowerCase().startsWith(u.toLowerCase()))return null;let o=u.endsWith("/")?u.length-1:u.length,c=s.charAt(o);return c&&c!=="/"?null:s.slice(o)||"/"}function Cm(s,u="/"){let{pathname:o,search:c="",hash:d=""}=typeof s=="string"?Ls(s):s;return{pathname:o?o.startsWith("/")?o:Sm(o,u):u,search:Nm(c),hash:Pm(d)}}function Sm(s,u){let o=u.replace(/\/+$/,"").split("/");return s.split("/").forEach(d=>{d===".."?o.length>1&&o.pop():d!=="."&&o.push(d)}),o.length>1?o.join("/"):"/"}function Bc(s,u,o,c){return`Cannot include a '${s}' character in a manually specified \`to.${u}\` field [${JSON.stringify(c)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function km(s){return s.filter((u,o)=>o===0||u.route.path&&u.route.path.length>0)}function gh(s){let u=km(s);return u.map((o,c)=>c===u.length-1?o.pathname:o.pathnameBase)}function yh(s,u,o,c=!1){let d;typeof s=="string"?d=Ls(s):(d={...s},Tt(!d.pathname||!d.pathname.includes("?"),Bc("?","pathname","search",d)),Tt(!d.pathname||!d.pathname.includes("#"),Bc("#","pathname","hash",d)),Tt(!d.search||!d.search.includes("#"),Bc("#","search","hash",d)));let h=s===""||d.pathname==="",g=h?"/":d.pathname,v;if(g==null)v=o;else{let E=u.length-1;if(!c&&g.startsWith("..")){let L=g.split("/");for(;L[0]==="..";)L.shift(),E-=1;d.pathname=L.join("/")}v=E>=0?u[E]:"/"}let x=Cm(d,v),b=g&&g!=="/"&&g.endsWith("/"),S=(h||g===".")&&o.endsWith("/");return!x.pathname.endsWith("/")&&(b||S)&&(x.pathname+="/"),x}var vi=s=>s.join("/").replace(/\/\/+/g,"/"),Em=s=>s.replace(/\/+$/,"").replace(/^\/*/,"/"),Nm=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,Pm=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s;function Om(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}var vh=["POST","PUT","PATCH","DELETE"];new Set(vh);var Tm=["GET",...vh];new Set(Tm);var Is=j.createContext(null);Is.displayName="DataRouter";var vu=j.createContext(null);vu.displayName="DataRouterState";var _h=j.createContext({isTransitioning:!1});_h.displayName="ViewTransition";var Lm=j.createContext(new Map);Lm.displayName="Fetchers";var Im=j.createContext(null);Im.displayName="Await";var Gr=j.createContext(null);Gr.displayName="Navigation";var To=j.createContext(null);To.displayName="Location";var Yr=j.createContext({outlet:null,matches:[],isDataRoute:!1});Yr.displayName="Route";var nd=j.createContext(null);nd.displayName="RouteError";function Am(s,{relative:u}={}){Tt(Lo(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:c}=j.useContext(Gr),{hash:d,pathname:h,search:g}=Io(s,{relative:u}),v=h;return o!=="/"&&(v=h==="/"?o:vi([o,h])),c.createHref({pathname:v,search:g,hash:d})}function Lo(){return j.useContext(To)!=null}function _i(){return Tt(Lo(),"useLocation() may be used only in the context of a <Router> component."),j.useContext(To).location}var bh="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function xh(s){j.useContext(Gr).static||j.useLayoutEffect(s)}function Rm(){let{isDataRoute:s}=j.useContext(Yr);return s?Km():Dm()}function Dm(){Tt(Lo(),"useNavigate() may be used only in the context of a <Router> component.");let s=j.useContext(Is),{basename:u,navigator:o}=j.useContext(Gr),{matches:c}=j.useContext(Yr),{pathname:d}=_i(),h=JSON.stringify(gh(c)),g=j.useRef(!1);return xh(()=>{g.current=!0}),j.useCallback((x,b={})=>
50{if(Kr(g.current,bh),!g.current)return;if(typeof x=="number"){o.go(x);return}let S=yh(x,JSON.parse(h),d,b.relative==="path");s==null&&u!=="/"&&(S.pathname=S.pathname==="/"?u:vi([u,S.pathname])),(b.replace?o.replace:o.push)(S,b.state,b)},[u,o,h,d,s])}j.createContext(null);function wh(){let{matches:s}=j.useContext(Yr),u=s[s.length-1];return u?u.params:{}}function Io(s,{relative:u}={}){let{matches:o}=j.useContext(Yr),{pathname:c}=_i(),d=JSON.stringify(gh(o));return j.useMemo(()=>yh(s,JSON.parse(d),c,u==="path"),[s,d,c,u])}function Mm(s,u){return jh(s,u)}function jh(s,u,o,c){var U;Tt(Lo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:d}=j.useContext(Gr),{matches:h}=j.useContext(Yr),g=h[h.length-1],v=g?g.params:{},x=g?g.pathname:"/",b=g?g.pathnameBase:"/",S=g&&g.route;{let V=S&&S.path||"";Ch(x,!S||V.endsWith("*")||V.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${x}" (under <Route path="${V}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 51 52Please change the parent <Route path="${V}"> to <Route path="${V==="/"?"*":`${V}/*`}">.`)}let E=_i(),L;if(u){let V=typeof u=="string"?Ls(u):u;Tt(b==="/"||((U=V.pathname)==null?void 0:U.startsWith(b)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${b}" but pathname "${V.pathname}" was given in the \`location\` prop.`),L=V}else L=E;let O=L.pathname||"/",A=O;if(b!=="/"){let V=b.replace(/^\//,"").split("/");A="/"+O.replace(/^\//,"").split("/").slice(V.length).join("/")}let F=hh(s,{pathname:A});Kr(S||F!=null,`No routes matched location "${L.pathname}${L.search}${L.hash}" `),Kr(F==null||F[F.length-1].route.element!==void 0||F[F.length-1].route.Component!==void 0||F[F.length-1].route.lazy!==void 0,`Matched leaf route at location "${L.pathname}${L.search}${L.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let q=qm(F&&F.map(V=>Object.assign({},V,{params:Object.assign({},v,V.params),pathname:vi([b,d.encodeLocation?d.encodeLocation(V.pathname).pathname:V.pathname]),pathnameBase:V.pathnameBase==="/"?b:vi([b,d.encodeLocation?d.encodeLocation(V.pathnameBase).pathname:V.pathnameBase])})),h,o,c);return u&&q?j.createElement(To.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...L},navigationType:"POP"}},q):q}function Fm(){let s=Wm(),u=Om(s)?`${s.status} ${s.statusText}`:s instanceof Error?s.message:JSON.stringify(s),o=s instanceof Error?s.stack:null,c="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:c},h={padding:"2px 4px",backgroundColor:c},g=null;return console.error("Error handled by React Router default ErrorBoundary:",s),g=j.createElement(j.Fragment,null,j.createElement("p",null,"ð¿ Hey developer ð"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:h},"ErrorBoundary")," or"," ",j.createElement("code",{style:h},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},u),o?j.createElement("pre",{style:d},o):null,g)}var zm=j.createElement(Fm,null),$m=class extends j.Component{constructor(s){super(s),this.state={location:s.location,revalidation:s.revalidation,error:s.error}}static getDerivedStateFromError(s){return{error:s}}static getDerivedStateFromProps(s,u){return u.location!==s.location||u.revalidation!=="idle"&&s.revalidation==="idle"?{error:s.error,location:s.location,revalidation:s.revalidation}:{error:s.error!==void 0?s.error:u.error,location:u.location,revalidation:s.revalidation||u.revalidation}}componentDidCatch(s,u){console.error("React Router caught the following error during render",s,u)}render(){return this.state.error!==void 0?j.createElement(Yr.Provider,{value:this.props.routeContext},j.createElement(nd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Bm({routeContext:s,match:u,children:o}){let c=j.useContext(Is);return c&&c.static&&c.staticContext&&(u.route.errorElement||u.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=u.route.id),j.createElement(Yr.Provider,{value:s},o)}function qm(s,u=[],o=null,c=null){if(s==null){if(!o)return null;if(o.errors)s=o.matches;else if(u.length===0&&!o.initialized&&o.matches.length>0)s=o.matches;else return null}let d=s,h=o==null?void 0:o.errors;if(h!=null){let x=d.findIndex(b=>b.route.id&&(h==null?void 0:h[b.route.id])!==void 0);Tt(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),d=d.slice(0,Math.min(d.length,x+1))}let g=!1,v=-1;if(o)for(let x=0;x<d.length;x++){let b=d[x];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(v=x),b.route.id){let{loaderData:S,errors:E}
52=o,L=b.route.loader&&!S.hasOwnProperty(b.route.id)&&(!E||E[b.route.id]===void 0);if(b.route.lazy||L){g=!0,v>=0?d=d.slice(0,v+1):d=[d[0]];break}}}return d.reduceRight((x,b,S)=>{let E,L=!1,O=null,A=null;o&&(E=h&&b.route.id?h[b.route.id]:void 0,O=b.route.errorElement||zm,g&&(v<0&&S===0?(Ch("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),L=!0,A=null):v===S&&(L=!0,A=b.route.hydrateFallbackElement||null)));let F=u.concat(d.slice(0,S+1)),q=()=>{let U;return E?U=O:L?U=A:b.route.Component?U=j.createElement(b.route.Component,null):b.route.element?U=b.route.element:U=x,j.createElement(Bm,{match:b,routeContext:{outlet:x,matches:F,isDataRoute:o!=null},children:U})};return o&&(b.route.ErrorBoundary||b.route.errorElement||S===0)?j.createElement($m,{location:o.location,revalidation:o.revalidation,component:O,error:E,children:q(),routeContext:{outlet:null,matches:F,isDataRoute:!0}}):q()},null)}function rd(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Um(s){let u=j.useContext(Is);return Tt(u,rd(s)),u}function Vm(s){let u=j.useContext(vu);return Tt(u,rd(s)),u}function Qm(s){let u=j.useContext(Yr);return Tt(u,rd(s)),u}function id(s){let u=Qm(s),o=u.matches[u.matches.length-1];return Tt(o.route.id,`${s} can only be used on routes that contain a unique "id"`),o.route.id}function Hm(){return id("useRouteId")}function Wm(){var c;let s=j.useContext(nd),u=Vm("useRouteError"),o=id("useRouteError");return s!==void 0?s:(c=u.errors)==null?void 0:c[o]}function Km(){let{router:s}=Um("useNavigate"),u=id("useNavigate"),o=j.useRef(!1);return xh(()=>{o.current=!0}),j.useCallback(async(d,h={})=>{Kr(o.current,bh),o.current&&(typeof d=="number"?s.navigate(d):await s.navigate(d,{fromRouteId:u,...h}))},[s,u])}var Wf={};function Ch(s,u,o){!u&&!Wf[s]&&(Wf[s]=!0,Kr(!1,o))}j.memo(Gm);function Gm({routes:s,future:u,state:o}){return jh(s,void 0,o,u)}function De(s){Tt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Ym({basename:s="/",children:u=null,location:o,navigationType:c="POP",navigator:d,static:h=!1}){Tt(!Lo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let g=s.replace(/^\/*/,"/"),v=j.useMemo(()=>({basename:g,navigator:d,static:h,future:{}}),[g,d,h]);typeof o=="string"&&(o=Ls(o));let{pathname:x="/",search:b="",hash:S="",state:E=null,key:L="default"}=o,O=j.useMemo(()=>{let A=ra(x,g);return A==null?null:{location:{pathname:A,search:b,hash:S,state:E,key:L},navigationType:c}},[g,x,b,S,E,L,c]);return Kr(O!=null,`<Router basename="${g}"> is not able to match the URL "${x}${b}${S}" because it does not start with the basename, so the <Router> won't render anything.`),O==null?null:j.createElement(Gr.Provider,{value:v},j.createElement(To.Provider,{children:u,value:O}))}function Ha({children:s,location:u}){return Mm(Zc(s),u)}function Zc(s,u=[]){let o=[];return j.Children.forEach(s,(c,d)=>{if(!j.isValidElement(c))return;let h=[...u,d];if(c.type===j.Fragment){o.push.apply(o,Zc(c.props.children,h));return}Tt(c.type===De,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Tt(!c.props.index||!c.props.children,"An index route cannot have child routes.");let g={id:c.props.id||h.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(g.children=Zc(c.props.children,h)),o.push(g)}),o}var iu="get",au="application/x-www-form-urlencoded";function _u(s){return s!=null&&typeof s.tagName=="string"}function Xm(s){return _u(s)&&s.tagName.toLowerCase()==="button"}function Jm(s){return _u(s)&&s.tagName.toLowerCase()==="form"}function Zm(s){return _u(s)&&s.tagName.toLowerCase()==="input"}function eg(s){return!!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)}function tg(s,u){return s.button===0&&(!u||u==="_self")&&!eg(s)}var eu=null;function ng(){if(eu===null)try{new FormData(document.createElement("form"),0),eu=!1}catch{eu=!0}return eu}var rg=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function qc(s){return s!=null&&!rg.has(s)?(Kr(!1,`"${s}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${au}"`),null):s}function ig(s,u){let o,c,d,h,g;if(Jm(s)){let v=s.getAttribute("action");c=v?ra(v,u):null,o=s.getAttribute("method")||iu,d=qc(s.getAttribute("enctype"))||au,h=new FormData(s)}else if(Xm(s)||Zm(s)&&(s.type==="submit"||s.type==="image")){let v=s.form;if(v==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let x=s.getAttribute("formaction")||v.getAttribute("action");if(c=x?ra(x,u):null,o=s.getAttribute("formmethod")||v.getAttribute("method")||iu,d=qc(s.getAttribute("formenctype"))||qc(v.getAttribute("enctype"))||au,h=new FormData(v,s),!ng()){let{name:b,type:S,value:E}=s;if(S==="image"){let L=b?`${b}.`:"";h.append(`${L}x`,"0"),h.append(`${L}y`,"0")}else b&&h.append(b,E)}}else{if(_u(s))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=iu,c=null,d=au,g=s}return h&&d==="text/plain"&&(g=h,h=void 0),{action:c,method:o.toLowerCase(),encType:d,formData:h,body:g}}function ad(s,u){if(s===!1||s===null||typeof s>"u")throw new Error(u)}async function ag(s,u){if(s.id in u)return u[s.id];try{let o=await import(s.module);return u[s.id]=o,o}catch(o){return console.error(`Error loading route module \`${s.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.
52isSpaMode,window.location.reload(),new Promise(()=>{})}}function sg(s){return s==null?!1:s.href==null?s.rel==="preload"&&typeof s.imageSrcSet=="string"&&typeof s.imageSizes=="string":typeof s.rel=="string"&&typeof s.href=="string"}async function og(s,u,o){let c=await Promise.all(s.map(async d=>{let h=u.routes[d.route.id];if(h){let g=await ag(h,o);return g.links?g.links():[]}return[]}));return dg(c.flat(1).filter(sg).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function Kf(s,u,o,c,d,h){let g=(x,b)=>o[b]?x.route.id!==o[b].route.id:!0,v=(x,b)=>{var S;return o[b].pathname!==x.pathname||((S=o[b].route.path)==null?void 0:S.endsWith("*"))&&o[b].params["*"]!==x.params["*"]};return h==="assets"?u.filter((x,b)=>g(x,b)||v(x,b)):h==="data"?u.filter((x,b)=>{var E;let S=c.routes[x.route.id];if(!S||!S.hasLoader)return!1;if(g(x,b)||v(x,b))return!0;if(x.route.shouldRevalidate){let L=x.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:((E=o[0])==null?void 0:E.params)||{},nextUrl:new URL(s,window.origin),nextParams:x.params,defaultShouldRevalidate:!0});if(typeof L=="boolean")return L}return!0}):[]}function lg(s,u){return ug(s.map(o=>{let c=u.routes[o.route.id];if(!c)return[];let d=[c.module];return c.imports&&(d=d.concat(c.imports)),d}).flat(1))}function ug(s){return[...new Set(s)]}function cg(s){let u={},o=Object.keys(s).sort();for(let c of o)u[c]=s[c];return u}function dg(s,u){let o=new Set;return new Set(u),s.reduce((c,d)=>{let h=JSON.stringify(cg(d));return o.has(h)||(o.add(h),c.push({key:h,link:d})),c},[])}function fg(s){let u=typeof s=="string"?new URL(s,typeof window>"u"?"server://singlefetch/":window.location.origin):s;return u.pathname==="/"?u.pathname="_root.data":u.pathname=`${u.pathname.replace(/\/$/,"")}.data`,u}function hg(){let s=j.useContext(Is);return ad(s,"You must render this element inside a <DataRouterContext.Provider> element"),s}function pg(){let s=j.useContext(vu);return ad(s,"You must render this element inside a <DataRouterStateContext.Provider> element"),s}var sd=j.createContext(void 0);sd.displayName="FrameworkContext";function Sh(){let s=j.useContext(sd);return ad(s,"You must render this element inside a <HydratedRouter> element"),s}function mg(s,u){let o=j.useContext(sd),[c,d]=j.useState(!1),[h,g]=j.useState(!1),{onFocus:v,onBlur:x,onMouseEnter:b,onMouseLeave:S,onTouchStart:E}=u,L=j.useRef(null);j.useEffect(()=>{if(s==="render"&&g(!0),s==="viewport"){let F=U=>{U.forEach(V=>{g(V.isIntersecting)})},q=new IntersectionObserver(F,{threshold:.5});return L.current&&q.observe(L.current),()=>{q.disconnect()}}},[s]),j.useEffect(()=>{if(c){let F=setTimeout(()=>{g(!0)},100);return()=>{clearTimeout(F)}}},[c]);let O=()=>{d(!0)},A=()=>{d(!1),g(!1)};return o?s!=="intent"?[h,L,{}]:[h,L,{onFocus:So(v,O),onBlur:So(x,A),onMouseEnter:So(b,O),onMouseLeave:So(S,A),onTouchStart:So(E,O)}]:[!1,L,{}]}function So(s,u){return o=>{s&&s(o),o.defaultPrevented||u(o)}}function gg({page:s,...u}){let{router:o}=hg(),c=j.useMemo(()=>hh(o.routes,s,o.basename),[o.routes,s,o.basename]);return c?j.createElement(vg,{page:s,matches:c,...u}):null}function yg(s){let{manifest:u,routeModules:o}=Sh(),[c,d]=j.useState([]);return j.useEffect(()=>{let h=!1;return og(s,u,o).then(g=>{h||d(g)}),()=>{h=!0}},[s,u,o]),c}function vg({page:s,matches:u,...o}){let c=_i(),{manifest:d,routeModules:h}=Sh(),{loaderData:g,matches:v}=pg(),x=j.useMemo(()=>Kf(s,u,v,d,c,"data"),[s,u,v,d,c]),b=j.useMemo(()=>Kf(s,u,v,d,c,"assets"),[s,u,v,d,c]),S=j.useMemo(()=>{if(s===c.pathname+c.search+c.hash)return[];let O=new Set,A=!1;if(u.forEach(q=>{var V;let U=d.routes[q.route.id];!U||!U.hasLoader||(!x.some(Y=>Y.route.id===q.route.id)&&q.route.id in g&&((V=h[q.route.id])!=null&&V.shouldRevalidate)||U.hasClientLoader?A=!0:O.add(q.route.id))}),O.size===0)return[];let F=fg(s);return A&&O.size>0&&F.searchParams.set("_routes",u.filter(q=>O.has(q.route.id)).map(q=>q.route.id).join(",")),[F.pathname+F.search]},[g,c,d,x,u,s,h]),E=j.useMemo(()=>lg(b,d),[b,d]),L=yg(b);return j.createElement(j.Fragment,null,S.map(O=>j.createElement("link",{key:O,rel:"prefetch",as:"fetch",href:O,...o})),E.map(O=>j.createElement("link",{key:O,rel:"modulepreload",href:O,...o})),L.map(({key:O,link:A})=>j.createElement("link",{key:O,...A})))}function _g(...s){return u=>
52{s.forEach(o=>{typeof o=="function"?o(u):o!=null&&(o.current=u)})}}var kh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{kh&&(window.__reactRouterVersion="7.1.3")}catch{}function bg({basename:s,children:u,window:o}){let c=j.useRef();c.current==null&&(c.current=lm({window:o,v5Compat:!0}));let d=c.current,[h,g]=j.useState({action:d.action,location:d.location}),v=j.useCallback(x=>{j.startTransition(()=>g(x))},[g]);return j.useLayoutEffect(()=>d.listen(v),[d,v]),j.createElement(Ym,{basename:s,children:u,location:h.location,navigationType:h.action,navigator:d})}var Eh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$n=j.forwardRef(function({onClick:u,discover:o="render",prefetch:c="none",relative:d,reloadDocument:h,replace:g,state:v,target:x,to:b,preventScrollReset:S,viewTransition:E,...L},O){let{basename:A}=j.useContext(Gr),F=typeof b=="string"&&Eh.test(b),q,U=!1;if(typeof b=="string"&&F&&(q=b,kh))try{let ue=new URL(window.location.href),he=b.startsWith("//")?new URL(ue.protocol+b):new URL(b),Be=ra(he.pathname,A);he.origin===ue.origin&&Be!=null?b=Be+he.search+he.hash:U=!0}catch{Kr(!1,`<Link to="${b}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let V=Am(b,{relative:d}),[Y,ye,oe]=mg(c,L),le=Cg(b,{replace:g,state:v,target:x,preventScrollReset:S,relative:d,viewTransition:E});function we(ue){u&&u(ue),ue.defaultPrevented||le(ue)}let ae=j.createElement("a",{...L,...oe,href:q||V,onClick:U||h?u:we,ref:_g(O,ye),target:x,"data-discover":!F&&o==="render"?"true":void 0});return Y&&!F?j.createElement(j.Fragment,null,ae,j.createElement(gg,{page:V})):ae});$n.displayName="Link";var xg=j.forwardRef(function({"aria-current":u="page",caseSensitive:o=!1,className:c="",end:d=!1,style:h,to:g,viewTransition:v,children:x,...b},S){let E=Io(g,{relative:b.relative}),L=_i(),O=j.useContext(vu),{navigator:A,basename:F}=j.useContext(Gr),q=O!=null&&Pg(E)&&v===!0,U=A.encodeLocation?A.encodeLocation(E).pathname:E.pathname,V=L.pathname,Y=O&&O.navigation&&O.navigation.location?O.navigation.location.pathname:null;o||(V=V.toLowerCase(),Y=Y?Y.toLowerCase():null,U=U.toLowerCase()),Y&&F&&(Y=ra(Y,F)||Y);const ye=U!=="/"&&U.endsWith("/")?U.length-1:U.length;let oe=V===U||!d&&V.startsWith(U)&&V.charAt(ye)==="/",le=Y!=null&&(Y===U||!d&&Y.startsWith(U)&&Y.charAt(U.length)==="/"),we={isActive:oe,isPending:le,isTransitioning:q},ae=oe?u:void 0,ue;typeof c=="function"?ue=c(we):ue=[c,oe?"active":null,le?"pending":null,q?"transitioning":null].filter(Boolean).join(" ");let he=typeof h=="function"?h(we):h;return j.createElement($n,{...b,"aria-current":ae,className:ue,ref:S,style:he,to:g,viewTransition:v},typeof x=="function"?x(we):x)});xg.displayName="NavLink";var wg=j.forwardRef(({discover:s="render",fetcherKey:u,navigate:o,reloadDocument:c,replace:d,state:h,method:g=iu,action:v,onSubmit:x,relative:b,preventScrollReset:S,viewTransition:E,...L},O)=>{let A=Eg(),F=Ng(v,{relative:b}),q=g.toLowerCase()==="get"?"get":"post",U=typeof v=="string"&&Eh.test(v),V=Y=>{if(x&&x(Y),Y.defaultPrevented)return;Y.preventDefault();let ye=Y.nativeEvent.submitter,oe=(ye==null?void 0:ye.getAttribute("formmethod"))||g;A(ye||Y.currentTarget,{fetcherKey:u,method:oe,navigate:o,replace:d,state:h,relative:b,preventScrollReset:S,viewTransition:E})};return j.createElement("form",{ref:O,method:q,action:F,onSubmit:c?x:V,...L,"data-discover":!U&&s==="render"?"true":void 0})});wg.displayName="Form";function jg(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Nh(s){let u=j.useContext(Is);return Tt(u,jg(s)),u}function Cg(s,{target:u,replace:o,state:c,preventScrollReset:d,relative:h,viewTransition:g}={}){let v=Rm(),x=_i(),b=Io(s,{relative:h});return j.useCallback(S=>{if(tg(S,u)){S.preventDefault();let E=o!==void 0?o:No(x)===No(b);v(s,{replace:E,state:c,preventScrollReset:d,relative:h,viewTransition:g})}},[x,v,b,o,c,u,s,d,h,g])}var Sg=0,kg=()=>`__${String(++Sg)}__`;function Eg(){let{router:s}=Nh("useSubmit"),{basename:u}=j.useContext(Gr),o=Hm();return j.useCallback(async(c,d={})=>{let{action:h,method:g,encType:v,formData:x,body:b}=ig(c,u);if(d.navigate===!1){let S=d.fetcherKey||kg();await s.fetch(S,o,d.action||h,{preventScrollReset:d.preventScrollReset,formData:x,body:b,formMethod:d.method||g,formEncType:d.encType||v,flushSync:d.flushSync})}else await s.navigate(d.action||h,{preventScrollReset:d.preventScrollReset,formData:x,body:b,formMethod:d.method||g,formEncType:d.encType||v,replace:d.replace,state:d.state,fromRouteId:o,flushSync:d.flushSync,viewTransition:d.viewTransition})},[s,u,o])}function Ng(s,{relative:u}={}){let{basename:o}=j.useContext(Gr),c=j.useContext(Yr);Tt(c,"useFormAction must be used inside a RouteContext");let[d]=c.matches.slice(-1),h={...Io(s||".",{relative:u})},g=_i();if(s==null){h.search=g.search;let v=new URLSearchParams(h.search),x=v.getAll("index");if(x.some(S=>S==="")){v.delete("index"),x.filter(E=>
52E).forEach(E=>v.append("index",E));let S=v.toString();h.search=S?`?${S}`:""}}return(!s||s===".")&&d.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(h.pathname=h.pathname==="/"?o:vi([o,h.pathname])),No(h)}function Pg(s,u={}){let o=j.useContext(_h);Tt(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=Nh("useViewTransitionState"),d=Io(s,{relative:u.relative});if(!o.isTransitioning)return!1;let h=ra(o.currentLocation.pathname,c)||o.currentLocation.pathname,g=ra(o.nextLocation.pathname,c)||o.nextLocation.pathname;return hu(d.pathname,g)!=null||hu(d.pathname,h)!=null}new TextEncoder;const bu=j.createContext(),Og="light",Tg=({children:s})=>{const[u,o]=j.useState(Og),d={theme:u,handleTheme:()=>{o(h=>h==="light"?"dark":"light")}};return a.jsx(bu.Provider,{value:d,children:s})},Lg="modulepreload",Ig=function(s){return"/"+s},Gf={},$t=function(u,o,c){let d=Promise.resolve();if(o&&o.length>0){document.getElementsByTagName("link");const g=document.querySelector("meta[property=csp-nonce]"),v=(g==null?void 0:g.nonce)||(g==null?void 0:g.getAttribute("nonce"));d=Promise.allSettled(o.map(x=>{if(x=Ig(x),x in Gf)return;Gf[x]=!0;const b=x.endsWith(".css"),S=b?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${x}"]${S}`))return;const E=document.createElement("link");if(E.rel=b?"stylesheet":Lg,b||(E.as="script"),E.crossOrigin="",E.href=x,v&&E.setAttribute("nonce",v),document.head.appendChild(E),b)return new Promise((L,O)=>{E.addEventListener("load",L),E.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${x}`)))})}))}function h(g){const v=new Event("vite:preloadError",{cancelable:!0});if(v.payload=g,window.dispatchEvent(v),!v.defaultPrevented)throw g}return d.then(g=>{for(const v of g||[])v.status==="rejected"&&h(v.reason);return u().catch(h)})},ia=()=>a.jsx("div",{className:"page-404",children:a.jsxs("div",{className:"content",children:[a.jsx("h1",{className:"error-code",children:"404"}),a.jsx("p",{className:"error-message",children:"Página no encontrada"}),a.jsx("p",{className:"error-description",children:"Lo sentimos, la página que estás buscando no existe o fue movida."}),a.jsx($n,{to:"/",className:"back-home",children:"Volver al inicio"})]})}),dr=()=>a.jsx("div",{className:"loader",children:a.jsx("div",{className:"loader__spinner"})}),Ag=({theme:s,handleTheme:u})=>{const o=s==="dark";return a.jsxs("button",{id:"button-switch-mode",className:`button-switch-mode button-switch-mode--${s}`,onClick:u,role:"switch","aria-checked":o,"aria-label":`Modo oscuro: ${o?"activado":"desactivado"}. Presione para cambiar a ${o?"modo claro":"modo oscuro"}`,type:"button",children:[a.jsxs("div",{className:"button-switch-mode__icons-track","aria-hidden":"true",children:[a.jsx("img",{className:"button-switch-mode__track-icon button-switch-mode__track-icon--sun",src:"/iconos/sol-icon.png",alt:""}),a.jsx("img",{className:"button-switch-mode__track-icon button-switch-mode__track-icon--moon",src:"/iconos/moon-icon.png",alt:""})]}),a.jsx("div",{className:"button-switch-mode__toggle","aria-hidden":"true",children:a.jsx("img",{className:"button-switch-mode__toggle-icon",src:o?"/iconos/moon-icon.png":"/iconos/sol-icon.png",alt:""})})]})};/** 53 * @license lucide-react v0.562.0 - ISC 54 * 55 * This source code is licensed under the ISC license. 56 * See the LICENSE file in the root directory of this source tree. 57 */const Rg=s=>s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Dg=s=>s.replace(/^([A-Z])|[\s-_]+(\w)/g,(u,o,c)=>c?c.toUpperCase():o.toLowerCase()),Yf=s=>{const u=Dg(s);return u.charAt(0).toUpperCase()+u.slice(1)},Ph=(...s)=>s.filter((u,o,c)=>!!u&&u.trim()!==""&&c.indexOf(u)===o).join(" ").trim(),Mg=s=>{for(const u in s)if(u.startsWith("aria-")||u==="role"||u==="title")return!0};/** 58 * @license lucide-react v0.562.0 - ISC 59 * 60 * This source code is licensed under the ISC license. 61 * See the LICENSE file in the root directory of this source tree. 62 */var Fg={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 63 * @license lucide-react v0.562.0 - ISC 64 * 65 * This source code is licensed under the ISC license. 66 * See the LICENSE file in the root directory of this source tree. 67 */const zg=j.forwardRef(({color:s="currentColor",size:u=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:d="",children:h,iconNode:g,...v},x)=>j.createElement("svg",{ref:x,...Fg,width:u,height:u,stroke:s,strokeWidth:c?Number(o)*24/Number(u):o,className:Ph("lucide",d),...!h&&!Mg(v)&&{"aria-hidden":"true"},...v},[...g.map(([b,S])=>j.createElement(b,S)),...Array.isArray(h)?h:[h]]));/** 68 * @license lucide-react v0.562.0 - ISC 69 * 70 * This source code is licensed under the ISC license. 71 * See the LICENSE file in the root directory of this source tree. 72 */const Bt=(s,u)=>{const o=j.forwardRef(({className:c,...d},h)=>j.createElement(zg,{ref:h,iconNode:u,className:Ph(`lucide-${Rg(Yf(s))}`,`lucide-${s}`,c),...d}));return o.displayName=Yf(s),o};/** 73 * @license lucide-react v0.562.0 - ISC 74 * 75 * This source code is licensed under the ISC license. 76 * See the LICENSE file in the root directory of this source tree. 77 */const $g=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Bg=Bt("book-open",$g);/** 78 * @license lucide-react v0.562.0 - ISC 79 * 80 * This source code is licensed under the ISC license. 81 * See the LICENSE file in the root directory of this source tree. 82 */const qg=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Ug=Bt("chevron-left",qg);/** 83 * @license lucide-react v0.562.0 - ISC 84 * 85 * This source code is licensed under the ISC license. 86 * See the LICENSE file in the root directory of this source tree. 87 */const Vg=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Qg=Bt("chevron-right",Vg);/** 88 * @license lucide-react v0.562.0 - ISC 89 * 90 * This source code is licensed under the ISC license. 91 * See the LICENSE file in the root directory of this source tree. 92 */const Hg=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Xf=Bt("clock",Hg);/** 93 * @license lucide-react v0.562.0 - ISC 94 * 95 * This source code is licensed under the ISC license. 96 * See the LICENSE file in the root directory of this source tree. 97 */const Wg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 18a6 6 0 0 0 0-12v12z",key:"j4l70d"}]],Kg=Bt("contrast",Wg);/** 98 * @license lucide-react v0.562.0 - ISC 99 * 100 * This source code is licensed under the ISC license. 101 * See the LICENSE file in the root directory of this source tree. 102 */const Gg=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Oh=Bt("download",Gg);/** 103 * @license lucide-react v0.562.0 - ISC 104 * 105 * This source code is licensed under the ISC license. 106 * See the LICENSE file in the root directory of this source tree. 107 */const Yg=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Th=Bt("external-link",Yg);/** 108 * @license lucide-react v0.562.0 - ISC 109 * 110 * This source code is licensed under the ISC license. 111 * See the LICENSE file in the root directory of this source tree. 112 */const Xg=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Jg=Bt("facebook",Xg);/** 113 * @license lucide-react v0.562.0 - ISC 114 * 115 * This source code is licensed under the ISC license. 116 * See the LICENSE file in the root directory of this source tree. 117 */const Zg=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],od=Bt("instagram",Zg);/** 118 * @license lucide-react v0.562.0 - ISC 119 * 120 * This source code is licensed under the ISC license. 121 * See the LICENSE file in the root directory of this source tree. 122 */const ey=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],ty=Bt("link",ey);/** 123 * @license lucide-react v0.562.0 - ISC 124 * 125 * This source code is licensed under the ISC license. 126 * See the LICENSE file in the root directory of this source tree. 127 */const ny=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],ry=Bt("mail",ny);/** 128 * @license lucide-react v0.562.0 - ISC 129 * 130 * This source code is licensed under the ISC license. 131 * See the LICENSE file in the root directory of this source tree. 132 */const iy=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],ay=Bt("map-pin",iy);/** 133 * @license lucide-react v0.562.0 - ISC 134 * 135 * This source code is licensed under the ISC license. 136 * See the LICENSE file in the root directory of this source tree. 137 */const sy=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],oy=Bt("palette",sy);/** 138 * @license lucide-react v0.562.0 - ISC 139 * 140 * This source code is licensed under the ISC license. 141 * See the LICENSE file in the root directory of this source tree. 142 */const ly=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2
1420 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],uy=Bt("phone",ly);/** 143 * @license lucide-react v0.562.0 - ISC 144 * 145 * This source code is licensed under the ISC license. 146 * See the LICENSE file in the root directory of this source tree. 147 */const cy=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],dy=Bt("rotate-ccw",cy);/** 148 * @license lucide-react v0.562.0 - ISC 149 * 150 * This source code is licensed under the ISC license. 151 * See the LICENSE file in the root directory of this source tree. 152 */const fy=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],hy=Bt("shield",fy);/** 153 * @license lucide-react v0.562.0 - ISC 154 * 155 * This source code is licensed under the ISC license. 156 * See the LICENSE file in the root directory of this source tree. 157 */const py=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],my=Bt("type",py);/** 158 * @license lucide-react v0.562.0 - ISC 159 * 160 * This source code is licensed under the ISC license. 161 * See the LICENSE file in the root directory of this source tree. 162 */const gy=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Lh=Bt("x",gy);/** 163 * @license lucide-react v0.562.0 - ISC 164 * 165 * This source code is licensed under the ISC license. 166 * See the LICENSE file in the root directory of this source tree. 167 */const yy=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],vy=Bt("zoom-in",yy);/** 168 * @license lucide-react v0.562.0 - ISC 169 * 170 * This source code is licensed under the ISC license. 171 * See the LICENSE file in the root directory of this source tree. 172 */const _y=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],by=Bt("zoom-out",_y),xy=({widthButton:s})=>{const{theme:u,handleTheme:o}=j.useContext(bu);return a.jsxs("nav",{className:"toolbar-article","aria-label":"Enlaces rápidos y portales municipales",children:[a.jsx("a",{href:"#main-content",className:"skip-link",children:" Saltar al contenido principal "}),a.jsx("h2",{className:"visually-hidden",children:"Enlaces Rápidos y Transparencia"}),a.jsx("div",{className:"toolbar-transparencia-wrapper",children:a.jsxs("div",{className:"toolbar-transparencia-group",children:[a.jsxs("a",{href:"https://www.portaltransparencia.cl/PortalPdT/web/guest/directorio-de-organismos-regulados?p_p_id=pdtorganismos_WAR_pdtorganismosportlet&orgcode=bdc21c61fb6fb66de62a9ada5ad3facf",target:"_blank",rel:"noopener noreferrer",className:"toolbar-transp-link","aria-label":"Solicitar información de la Ley de Transparencia (se abre en una nueva pestaña)",children:[a.jsx("img",{className:"svg-doc",src:"/iconos/doc.svg",alt:"","aria-hidden":"true"}),a.jsxs("div",{children:["Solicitar Información",a.jsx("span",{children:"Ley de transparencia"})]})]}),a.jsxs("a",{href:"https://www.portaltransparencia.cl/PortalPdT/pdtta?codOrganismo=MU303",target:"_blank",rel:"noopener noreferrer",className:"toolbar-transp-link","aria-label":"Transparencia Activa de la Ley de Transparencia (se abre en una nueva pestaña)",children:[a.jsx("img",{className:"svg-info",src:"/iconos/info.svg",alt:"","aria-hidden":"true"}),a.jsxs("div",{children:["Transparencia activa",a.jsx("span",{children:"Ley de transparencia"})]})]})]})}),a.jsxs("div",{className:"toolbar-portales-group",children:[a.jsxs("a",{href:"https://cdd.municipalidadsanvicente.cl",target:"_blank",rel:"noopener noreferrer",className:"toolbar-pill-btn toolbar-tab-cdd","aria-label":"Ir al Centro de Documentos Digitales (se abre en una nueva pestaña)",children:[a.jsx("div",{className:"toolbar-pill-icon-wrapper","aria-hidden":"true",children:a.jsx("img",{src:"/imagenes/cdd/cdd_icon.png",alt:"",className:"toolbar-pill-img-icon"})}),a.jsxs("div",{className:"toolbar-pill-text",children:[a.jsx("span",{className:"toolbar-pill-title",children:"Centro de Documentos"}),a.jsx("span",{className:"toolbar-pill-sub",children:"Digitales"})]})]}
172),a.jsxs("a",{href:"https://mascotas.municipalidadsanvicente.cl",target:"_blank",rel:"noopener noreferrer",className:"toolbar-pill-btn toolbar-tab-mascotas","aria-label":"Ir al Portal de Mascotas y Adopción (se abre en una nueva pestaña)",children:[a.jsx("div",{className:"toolbar-pill-icon-wrapper","aria-hidden":"true",children:a.jsx("img",{src:"/imagenes/mascotas/icon_mascotas.png",alt:"",className:"toolbar-pill-img-icon"})}),a.jsxs("div",{className:"toolbar-pill-text",children:[a.jsx("span",{className:"toolbar-pill-title",children:"Portal Mascotas"}),a.jsx("span",{className:"toolbar-pill-sub",children:"Adopción"})]})]}),a.jsxs("a",{href:"https://wa.me/56953539268",target:"_blank",rel:"noopener noreferrer",className:"toolbar-pill-btn toolbar-tab-seguridad","aria-label":"Contactar a Seguridad 24/7 por WhatsApp al número +56 9 5353 9268 (se abre en una nueva pestaña)",children:[a.jsx("div",{className:"toolbar-pill-icon-wrapper","aria-hidden":"true",children:a.jsx(hy,{size:22,strokeWidth:2.4,"aria-hidden":"true"})}),a.jsxs("div",{className:"toolbar-pill-text",children:[a.jsx("span",{className:"toolbar-pill-title",children:"Seguridad 24/7"}),a.jsx("span",{className:"toolbar-pill-sub",children:"+569 5353 9268"})]})]}),s&&a.jsx("div",{className:"toolbar-tab-switch-right",children:a.jsx(Ag,{theme:u,handleTheme:o})})]})]})},wy="_footerContent_xthqx_1",jy="_footerSection_xthqx_10",Cy="_footerBottom_xthqx_59",Sy="_footerAlcalde_xthqx_70",ky="_alcaldeAvatar_xthqx_78",Ey="_alcaldeName_xthqx_94",Ny="_alcaldeTitle_xthqx_101",Py="_icon_xthqx_109",Sn={footerContent:wy,footerSection:jy,footerBottom:Cy,footerAlcalde:Sy,alcaldeAvatar:ky,alcaldeName:Ey,alcaldeTitle:Ny,icon:Py},Oy=()=>a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:Sn.footerContent,children:[a.jsxs("section",{className:Sn.footerAlcalde,children:[a.jsx("div",{className:Sn.alcaldeAvatar,children:a.jsx("img",{src:"/imagenes/footer/alcalde.jpeg",alt:"Guido Carreño Reyes - Alcalde"})}),a.jsx("h3",{className:Sn.alcaldeName,children:"Guido Carreño Reyes"}),a.jsx("span",{className:Sn.alcaldeTitle,children:"Alcalde"})]}),a.jsxs("section",{className:Sn.footerSection,"aria-labelledby":"footer-municipalidad",children:[a.jsx("h2",{id:"footer-municipalidad",children:"Municipalidad"}),a.jsxs("ul",{children:[a.jsx("li",{children:a.jsxs("p",{children:[a.jsx(uy,{size:16,className:Sn.icon,"aria-hidden":"true"}),a.jsx("span",{children:"(72) 232 6800"})]})}),a.jsx("li",{children:a.jsxs("p",{children:[a.jsx(ry,{size:16,className:Sn.icon,"aria-hidden":"true"}),a.jsx("span",{children:"[email protected]"})]})}),a.jsx("li",{children:a.jsxs("p",{children:[a.jsx(ay,{size:16,className:Sn.icon,"aria-hidden":"true"}),a.jsx("span",{children:"Tagua Tagua 222, 2970009 San Vicente de Tagua Tagua, O'Higgins"})]})}),a.jsx("li",{children:a.jsxs("p",{children:[a.jsx(Xf,{size:16,className:Sn.icon,"aria-hidden":"true"}),a.jsx("span",{children:"Lunes - Jueves 08:30 a 13:30 hrs y 15:00 - 16:30 hrs."})]})}),a.jsx("li",{children:a.jsxs("p",{children:[a.jsx(Xf,{size:16,className:Sn.icon,"aria-hidden":"true"}),a.jsx("span",{children:"Viernes 08:30 a 14:00 hrs."})]})})]})]}),a.jsxs("section",{className:`${Sn.footerSection} ${Sn.footerLinks}`,"aria-labelledby":"footer-enlaces",children:[a.jsx("h2",{id:"footer-enlaces",children:"Enlaces Ãtiles"}),a.jsxs("ul",{children:[a.jsx("li",{children:a.jsx($n,{to:"/",children:"Inicio"})}),a.jsx("li",{children:a.jsx($n,{to:"/nuestra-comuna/historia",children:"Historia"})}),a.jsx("li",{children:a.jsx($n,{to:"/",children:"Planificación"})}),a.jsx("li",{children:a.jsx("a",{href:"https://sanvicente.vecinodigital.cl/Vecino_Digital/",target:"_blank",rel:"noopener noreferrer","aria-label":"Ir a la plataforma de vecino digital (se abre en una nueva ventana)",children:"Trámites"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.portaltransparencia.cl/PortalPdT/web/guest/directorio-de-organismos-regulados?p_p_id=pdtorganismos_WAR_pdtorganismosportlet&orgcode=bdc21c61fb6fb66de62a9ada5ad3facf",target:"_blank",rel:"noopener noreferrer","aria-label":"Ir a la solicitud de información de la ley de transparencia (se abre en una nueva ventana)",children:"Transparencia"})}),a.jsx("li",{children:a.jsx($n,{to:"/condiciones-uso",children:"Condiciones de uso"})}),a.jsx("li",{children:a.jsx($n,{to:"/politicas-privacidad",children:"PolÃticas de privacidad"})})]})]}),a.jsxs("div",{className:Sn.footerSection,"aria-labelledby":"footer-siguenos",children:[a.jsx("h2",{id:"footer-siguenos",children:"SÃguenos"}),a.jsxs("ul",{children:[a.jsx("li",{children:a.jsx("a",{href:"https://www.facebook.com/municipalida
172dsanvicentedetaguatagua/?locale=es_LA",target:"_blank",rel:"noopener noreferrer","aria-label":"Ir a la cuenta de facebook de la municipalidad (se abre en una nueva ventana)",children:"Facebook"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.youtube.com/user/sanvicenteoficial",target:"_blank",rel:"noopener noreferrer","aria-label":"Ir a la cuenta de youtube de la municipalidad (se abre en una nueva ventana)",children:"Youtube"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.instagram.com/municipalidaddesanvicente/?hl=es",target:"_blank",rel:"noopener noreferrer","aria-label":"Ir a la cuenta de instagram de la municipalidad (se abre en una nueva ventana)",children:"Instagram"})})]})]})]}),a.jsx("div",{className:Sn.footerBottom,children:a.jsxs("p",{role:"contentinfo",children:["© ",a.jsx("span",{children:new Date().getFullYear()})," Municipalidad San Vicente de Tagua Tagua. Todos los derechos reservados.",a.jsx("span",{className:"visually-hidden",children:"Todos los derechos reservados"})]})})]}),Ty="_navWrapper_1tiau_4",Ly="_navContainer_1tiau_16",Iy="_navbarLogo_1tiau_33",Ay="_desktopMenu_1tiau_65",Ry="_navItem_1tiau_75",Dy="_navLink_1tiau_80",My="_navLinkActive_1tiau_110",Fy="_chevron_1tiau_117",zy="_chevronRotate_1tiau_127",$y="_megaMenu_1tiau_136",By="_slideDown_1tiau_1",qy="_megaMenuInner_1tiau_165",Uy="_megaLeft_1tiau_186",Vy="_megaLeftBg_1tiau_191",Qy="_megaLeftLabel_1tiau_229",Hy="_categoryTitle_1tiau_238",Wy="_megaLeftDots_1tiau_251",Ky="_linksGrid_1tiau_272",Gy="_subLinkItem_1tiau_282",Yy="_subLinkArrow_1tiau_297",Xy="_subLinkText_1tiau_306",Jy="_highlightedSubLink_1tiau_331",Zy="_highlightedMobileSubLink_1tiau_348",ev="_megaImage_1tiau_359",tv="_menuImage_1tiau_365",nv="_megaImageOverlay_1tiau_373",rv="_megaImageCaption_1tiau_382",iv="_megaImageSub_1tiau_390",av="_closeBtn_1tiau_399",sv="_mobileToggler_1tiau_430",ov="_hamburgerIcon_1tiau_452",lv="_mobileMenu_1tiau_468",uv="_slideDownMobile_1tiau_1",cv="_mobileFeaturedGroup_1tiau_523",dv="_mobileFeaturedCard_1tiau_532",fv="_mobileFeaturedIcon_1tiau_551",hv="_mobileFeaturedText_1tiau_571",pv="_mobileFeaturedTitle_1tiau_579",mv="_mobileFeaturedSub_1tiau_587",gv="_mobileFeaturedBadge_1tiau_593",yv="_mobileMenuList_1tiau_605",vv="_mobileItem_1tiau_613",_v="_mobileLink_1tiau_621",bv="_mobileAccordion_1tiau_649",xv="_mobileAccordionOpen_1tiau_656",wv="_mobileSubList_1tiau_661",jv="_mobileSubLink_1tiau_670",Ne={navWrapper:Ty,navContainer:Ly,navbarLogo:Iy,desktopMenu:Ay,navItem:Ry,navLink:Dy,navLinkActive:My,chevron:Fy,chevronRotate:zy,megaMenu:$y,slideDown:By,megaMenuInner:qy,megaLeft:Uy,megaLeftBg:Vy,megaLeftLabel:Qy,categoryTitle:Hy,megaLeftDots:Wy,linksGrid:Ky,subLinkItem:Gy,subLinkArrow:Yy,subLinkText:Xy,highlightedSubLink:Jy,highlightedMobileSubLink:Zy,megaImage:ev,menuImage:tv,megaImageOverlay:nv,megaImageCaption:rv,megaImageSub:iv,closeBtn:av,mobileToggler:sv,hamburgerIcon:ov,mobileMenu:lv,slideDownMobile:uv,mobileFeaturedGroup:cv,mobileFeaturedCard:dv,mobileFeaturedIcon:fv,mobileFeaturedText:hv,mobileFeaturedTitle:pv,mobileFeaturedSub:mv,mobileFeaturedBadge:gv,mobileMenuList:yv,mobileItem:vv,mobileLink:_v,mobileAccordion:bv,mobileAccordionOpen:xv,mobileSubList:wv,mobileSubLink:jv},Ns="Región del Libertador General Bernardo O'Higgins",Ps="San Vicente de Tagua Tagua",Uc=[{type:"item",label:"Inicio",url:"/"},{type:"dropdown",label:"Municipalidad",image:{src:"/imagenes/menu/municipalidad.webp",alt:"Municipalidad de San Vicente",caption:Ps,sub:Ns},children:[{type:"link",label:"Centro de Documentos Digitales",url:"https://cdd.municipalidadsanvicente.cl",highlighted:!0},{label:"Ubicación",url:"/municipalidad/ubicacion"},{label:"Alcalde",url:"/municipalidad/alcalde"},{label:"Concejo Municipal",url:"/municipalidad/concejo"},{label:"Sesiones Concejo",url:"/municipalidad/concejo/sesiones"},{label:"Organigrama general",url:"/municipalidad/organigrama"},{label:"Departamentos",url:"/municipalidad/departamentos",highlighted:!0},{label:"Llamados a concursos",url:"/municipalidad/concursos-publicos",highlighted:!0},{label:"Cuentas Públicas",url:"/municipalidad/cuentas-publicas"},{label:"Corporación de educación municipal",url:"/municipalida
172d/corporacion"},{label:"CCOSOC",url:"/municipalidad/ccsoc"}]},{type:"dropdown",label:"Nuestra comuna",image:{src:"/imagenes/menu/nuestra-comuna.webp",alt:"Nuestra Comuna - San Vicente",caption:Ps,sub:Ns},children:[{label:"Turismo",url:"/nuestra-comuna/turismo",highlighted:!0},{label:"Historia",url:"/nuestra-comuna/historia"},{label:"Alcaldes",url:"/nuestra-comuna/alcaldes"},{label:"Población",url:"/nuestra-comuna/poblacion"},{label:"Superficie",url:"/nuestra-comuna/superficie"}]},{type:"dropdown",label:"San Vicente hoy",image:{src:"/imagenes/menu/san-vicente-hoy.webp",alt:"San Vicente Hoy",caption:Ps,sub:Ns},children:[{label:"Noticias",url:"/san-vicente/noticias",highlighted:!0},{label:"GalerÃas",url:"/san-vicente/galeria",highlighted:!0}]},{type:"dropdown",label:"Transparencia",image:{src:"/imagenes/menu/transparencia.webp",alt:"Transparencia Municipal",caption:Ps,sub:Ns},children:[{type:"link",label:"Portal Transparencia",url:"https://www.portaltransparencia.cl/PortalPdT/directorio-de-organismos-regulados/?org=MU303"},{type:"link",label:"Mercado Público",url:"https://www.mercadopublico.cl/Portal/Modules/Site/Busquedas/BuscadorAvanzado.aspx?qs=1"},{type:"link",label:"ContralorÃa",url:"https://www.declaracionjurada.cl/pubsistema/patrimonio.web.publico/pu/index.html?sid=528"},{label:"Transferencia de fondos públicos",url:"/transparencia/fondos-publicos"},{type:"link",label:"Actos y resoluciones",url:"https://www.portaltransparencia.cl/PortalPdT/directorio-de-organismos-regulados/?org=MU303&pagina=58608004"},{type:"link",label:"Plan regulador y pladeco",url:"https://www.portaltransparencia.cl/PortalPdT/directorio-de-organismos-regulados/?org=MU303&pagina=58607820"},{label:"Ley del lobby",url:"/transparencia/lobby"}]},{type:"dropdown",label:"Trámites",image:{src:"/imagenes/menu/tramites.jpg",alt:"Trámites y Servicios",caption:Ps,sub:Ns},children:[{type:"link",label:"Pago en lÃnea",url:"https://sanvicente.vecinodigital.cl/Vecino_Digital/",highlighted:!0},{label:"Atención al vecino",url:"/tramites/atencion-al-vecino"},{label:"Convocatorias en lÃnea",url:"/tramites/postulaciones"},{label:"Licencia de conducir",url:"/tramites/licencia-de-conducir"}]},{type:"dropdown",label:"Servicios",image:{src:"/sanvicente-day.jpg",alt:"Servicios Municipales",caption:Ps,sub:Ns},children:[{label:"Biblioteca",url:"/servicios/biblioteca"}]}],Cv=()=>{const[s,u]=j.useState(!1),[o,c]=j.useState(null),d=_i(),h=j.useRef(null),g=j.useRef({});j.useEffect(()=>{c(null),u(!1)},[d]),j.useEffect(()=>{const b=S=>{h.current&&!h.current.contains(S.target)&&c(null)};return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[]),j.useEffect(()=>{const b=S=>{if(S.key==="Escape"){if(o){const E=o;c(null),g.current[E]&&g.current[E].focus()}u(!1)}};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[o]);const v=b=>{c(S=>S===b?null:b)},x=Uc.find(b=>b.label===o);return a.jsxs("nav",{className:Ne.navWrapper,ref:h,"aria-label":"Navegación principal",onMouseLeave:()=>c(null),children:[a.jsx("img",{src:"/logos/logo-sanvicente.png",alt:"Logo San Vicente",className:Ne.navbarLogo}),a.jsxs("div",{className:Ne.navContainer,children:[a.jsx("ul",{className:Ne.desktopMenu,children:Uc.map((b,S)=>{if(b.type==="item")return a.jsx("li",{className:Ne.navItem,children:a.jsx($n,{to:b.url,className:Ne.navLink,children:b.label})},S);if(b.type==="dropdown"){const E=o===b.label;return a.jsx("li",{className:Ne.navItem,children:a.jsxs("button",{ref:L=>g.current[b.label]=L,type:"button",className:`${Ne.navLink} ${E?Ne.navLinkActive:""}`,onClick:()=>v(b.label),"aria-expanded":E,"aria-haspopup":"menu","aria-controls":`dropdown-${b.label.replace(/\s+/g,"-")}`,children:[b.label,a.jsx("svg",{className:`${Ne.chevron} ${E?Ne.chevronRotate:""}`,viewBox:"0 0 24 24","aria-hidden":"true",children:a.jsx("polyline",{points:"6 9 12 15 18 9"})})]})},S)}return null})}),a.jsx("button",{type:"button",className:Ne.mobileToggler,onClick:()=>u(b=>!b),"aria-expanded":s,"aria-label":s?"Cerrar menú de navegación":"Abrir menú de navegación",children:s?a.jsxs("svg",{className:Ne.hamburgerIcon,viewBox:"0 0 24 24","aria-hidden":"true",children:[a.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),a.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}):a.jsxs("svg",{className:Ne.hamburgerIcon,viewBox:"0 0 24 24","aria-hidden":"true",children:[a.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),a.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),a.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})})]}),o&&x&&a.jsx("div",{id:`dropdown-${o.replace(/\s+/g,"-")}`,className:Ne.megaMenu,role:"navigation","aria-label":`Menú expandido: ${o}`,children:a.jsxs("div",{className:Ne.megaMenuInner,children:[a.jsx("div",{className:Ne.megaLeft,children:a.jsxs("div",{className:Ne.megaLeftBg,children:[a.jsx("span",{className:Ne.megaLeftLabel,children:"EXPLORA"}),a.jsx("h3",{className:Ne.categoryTitle,children:o})]})}),a.jsx("div",{className:Ne.linksGrid,children:(x.children||[]).map((b,S)=>{const E=`${Ne.subLinkItem} ${b.highlighted?Ne.highlightedSubLink:""}`;return b.type==="link"?a.jsxs("a",{href:b.url,className:E,target:"_blank",rel:"noopener noreferrer",children:[a.jsx("span",{className:Ne.subLinkArrow,"aria-hidden":"true",children:"â"}),a.jsx("span",{className:Ne.subLinkText,children:b.label})]}
172,S):a.jsxs($n,{to:b.url,className:E,children:[a.jsx("span",{className:Ne.subLinkArrow,"aria-hidden":"true",children:"â"}),a.jsx("span",{className:Ne.subLinkText,children:b.label})]},S)})}),x.image&&a.jsxs("div",{className:Ne.megaImage,children:[a.jsx("img",{src:x.image.src,alt:x.image.alt,className:Ne.menuImage}),a.jsxs("div",{className:Ne.megaImageOverlay,children:[a.jsx("p",{className:Ne.megaImageCaption,children:x.image.caption}),a.jsx("span",{className:Ne.megaImageSub,children:x.image.sub})]})]}),a.jsx("button",{type:"button",className:Ne.closeBtn,onClick:()=>c(null),"aria-label":"Cerrar submenú",children:a.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round","aria-hidden":"true",children:[a.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),a.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]})}),s&&a.jsxs("div",{className:Ne.mobileMenu,children:[a.jsxs("div",{className:Ne.mobileFeaturedGroup,children:[a.jsxs("a",{href:"https://cdd.municipalidadsanvicente.cl",target:"_blank",rel:"noopener noreferrer",className:Ne.mobileFeaturedCard,"aria-label":"Ir al Centro de Documentos Digitales (se abre en una nueva pestaña)",children:[a.jsx("div",{className:Ne.mobileFeaturedIcon,children:a.jsx("img",{src:"/imagenes/cdd/cdd_icon.png",alt:"Logo CDD"})}),a.jsxs("div",{className:Ne.mobileFeaturedText,children:[a.jsx("span",{className:Ne.mobileFeaturedTitle,children:"Centro de Documentos"}),a.jsx("span",{className:Ne.mobileFeaturedSub,children:"Digitales"})]}),a.jsx("span",{className:Ne.mobileFeaturedBadge,children:"Portal"})]}),a.jsxs("a",{href:"https://mascotas.municipalidadsanvicente.cl",target:"_blank",rel:"noopener noreferrer",className:Ne.mobileFeaturedCard,"aria-label":"Ir al Portal de Mascotas y Adopción (se abre en una nueva pestaña)",children:[a.jsx("div",{className:Ne.mobileFeaturedIcon,children:a.jsx("img",{src:"/imagenes/mascotas/icon_mascotas.png",alt:"Logo Mascotas"})}),a.jsxs("div",{className:Ne.mobileFeaturedText,children:[a.jsx("span",{className:Ne.mobileFeaturedTitle,children:"Portal Mascotas"}),a.jsx("span",{className:Ne.mobileFeaturedSub,children:"Adopción"})]}),a.jsx("span",{className:Ne.mobileFeaturedBadge,children:"Portal"})]})]}),a.jsx("ul",{className:Ne.mobileMenuList,children:Uc.map((b,S)=>{if(b.type==="item")return a.jsx("li",{className:Ne.mobileItem,children:a.jsx($n,{to:b.url,className:Ne.mobileLink,children:b.label})},S);if(b.type==="dropdown"){const E=o===b.label;return a.jsxs("li",{className:Ne.mobileItem,children:[a.jsxs("button",{type:"button",className:Ne.mobileLink,onClick:()=>v(b.label),"aria-expanded":E,children:[b.label,a.jsx("svg",{className:`${Ne.chevron} ${E?Ne.chevronRotate:""}`,viewBox:"0 0 24 24","aria-hidden":"true",children:a.jsx("polyline",{points:"6 9 12 15 18 9"})})]}),a.jsx("div",{className:`${Ne.mobileAccordion} ${E?Ne.mobileAccordionOpen:""}`,children:a.jsx("ul",{className:Ne.mobileSubList,children:(b.children||[]).map((L,O)=>{const A=`${Ne.mobileSubLink} ${L.highlighted?Ne.highlightedMobileSubLink:""}`;return a.jsx("li",{children:L.type==="link"?a.jsx("a",{href:L.url,className:A,target:"_blank",rel:"noopener noreferrer",children:L.label}):a.jsx($n,{to:L.url,className:A,children:L.label})},O)})})})]},S)}return null})})]})]})},Sv="_menuAccesibilidad_zdz3m_1",kv="_button_zdz3m_7",Ev="_content_zdz3m_25",Nv="_closed_zdz3m_37",Pv="_open_zdz3m_42",Ov="_header_zdz3m_46",Tv="_closeButton_zdz3m_61",Lv="_list_zdz3m_85",Iv="_active_zdz3m_108",zn={menuAccesibilidad:Sv,button:kv,content:Ev,closed:Nv,open:Pv,header:Ov,closeButton:Tv,list:Lv,active:Iv};let Vc=null,pu=0;const Av=s=>{const u=document.documentElement;Vc===null&&(Vc=parseFloat(getComputedStyle(u).fontSize));const o=pu+s;o>2||o<-2||(pu=o,u.style.fontSize=`${Vc+o*2}px`)},Rv=()=>pu,Dv=()=>{const s=document.documentElement;s.style.fontSize="",pu=0,document.body.classList.remove("readable-font","high-contrast","no-images","highlight-links"),s.classList.remove("gray-scale")},Mv=s=>{document.body.classList.toggle("readable-font",s)},Fv=s=>{document.documentElement.classList.toggle("gray-scale",s)},zv=s=>{document.body.classList.toggle("high-contrast",s)},$v=s=>{document.body.classList.toggle("highlight-links",s)},Bv=({open:s,setOpen:u})=>{const[o,c]=j.useState(0),[d,h]=j.useState(!1),[g,v]=j.useState(!1),[x,b]=j.useState(!1),[S,E]=j.useState(!1),L=A=>{Av(A),c(Rv())},O=()=>{Dv(),c(0),h(!1),v(!1),b(!1),E(!1)};return a.jsxs("aside",{className:`${zn.menuAccesibilidad} ${s?zn.open:zn.closed}`,"aria-label":"Menú de accesibilidad",children:[!s&&a.jsxs("button",{className:zn.button,onClick:()=>u(!0),"aria-expanded":s,"aria-label":"Abrir menú de accesibilidad",children:[a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[a.jsx("circle",{cx:"12",cy:"12",r:"10"}),a.jsx("circle",{cx:"12",cy:"8",r:"1.5"}),a.jsx("line",{x1:"7",y1:"11",x2:"17",y2:"11"}),a.jsx("line",{x1:"12",y1:"9.5",x2:"12",y2:"16"}),a.jsx("line",{x1:"12",y1:"16",x2:"9",y2:"20"}),a.jsx("line",{x1:"12",y1:"16",x2:"15",y2:"20"})]}),a.jsx("span",{className:"visually-hidden",children:"Menú accesibilidad"})]}
172),a.jsxs("div",{className:zn.content,children:[a.jsxs("div",{className:zn.header,children:[a.jsx("h2",{children:"Herramientas de accesibilidad"}),a.jsx("button",{className:zn.closeButton,onClick:()=>u(!1),"aria-label":"Cerrar menú",children:a.jsx(Lh,{"aria-hidden":"true"})})]}),a.jsxs("ul",{className:zn.list,children:[a.jsx("li",{children:a.jsxs("button",{onClick:()=>L(1),disabled:o>=2,className:o>0?zn.active:"",children:[a.jsx(vy,{"aria-hidden":"true"}),"Aumentar letra"]})}),a.jsx("li",{children:a.jsxs("button",{onClick:()=>L(-1),disabled:o<=-2,className:o<0?zn.active:"",children:[a.jsx(by,{"aria-hidden":"true"}),"Disminuir letra"]})}),a.jsx("li",{children:a.jsxs("button",{onClick:()=>{const A=!d;Mv(A),h(A)},className:d?zn.active:"",children:[a.jsx(my,{"aria-hidden":"true"}),"Fuente legible"]})}),a.jsx("li",{children:a.jsxs("button",{onClick:()=>{const A=!g;Fv(A),v(A)},className:g?zn.active:"",children:[a.jsx(oy,{"aria-hidden":"true"}),"Escala de grises"]})}),a.jsx("li",{children:a.jsxs("button",{onClick:()=>{const A=!x;zv(A),b(A)},className:x?zn.active:"",children:[a.jsx(Kg,{"aria-hidden":"true"}),"Contraste alto"]})}),a.jsx("li",{children:a.jsxs("button",{onClick:()=>{const A=!S;$v(A),E(A)},className:S?zn.active:"",children:[a.jsx(ty,{"aria-hidden":"true"}),"Resaltar enlaces"]})}),a.jsx("li",{children:a.jsxs("button",{onClick:O,children:[a.jsx(dy,{"aria-hidden":"true"}),"Reiniciar"]})})]})]})]})},qv="_menuAsideContainer_985fi_1",Uv={menuAsideContainer:qv},Vv=()=>{const[s,u]=j.useState(!1);return a.jsx("div",{className:Uv.menuAsideContainer,children:a.jsx(Bv,{open:s,setOpen:u})})},Qv="_main_18z25_1",Hv="_footer_18z25_12",Wv="_dividerFooter_18z25_21",Qc={main:Qv,footer:Hv,dividerFooter:Wv},cn=({children:s})=>a.jsxs(a.Fragment,{children:[a.jsx("header",{children:a.jsx(xy,{widthButton:!0})}),a.jsx(Cv,{}),a.jsx(Vv,{}),a.jsx("main",{className:Qc.main,id:"main-content",children:s}),a.jsx("article",{className:Qc.dividerFooter,"aria-hidden":"true"}),a.jsx("footer",{className:Qc.footer,children:a.jsx(Oy,{})})]}),As=(s="main-content")=>{j.useEffect(()=>{const u=document.getElementById(s);
172u&&(u.focus(),u.tabIndex=-1)},[s])},Kv="_controlsSection_1iemy_4",Gv="_filterBar_1iemy_18",Yv="_filterButton_1iemy_24",Xv="_activeFilter_1iemy_49",Jv="_counterBadge_1iemy_54",Zv="_categoriesContainer_1iemy_70",e_="_categorySection_1iemy_77",t_="_categoryHeader_1iemy_83",n_="_categoryTitle_1iemy_91",r_="_categoryCount_1iemy_100",i_="_grid_1iemy_107",a_="_card_1iemy_126",s_="_cardHeader_1iemy_150",o_="_orgName_1iemy_154",l_="_cardBody_1iemy_162",u_="_presidentLabel_1iemy_170",c_="_presidentName_1iemy_180",d_="_cardFooter_1iemy_188",f_="_badge_1iemy_195",h_="_badgeJuntas_1iemy_204",p_="_badgeFuncionales_1iemy_210",m_="_badgeInteres_1iemy_216",Oe={controlsSection:Kv,filterBar:Gv,filterButton:Yv,activeFilter:Xv,counterBadge:Jv,categoriesContainer:Zv,categorySection:e_,categoryHeader:t_,categoryTitle:n_,categoryCount:r_,grid:i_,card:a_,cardHeader:s_,orgName:o_,cardBody:l_,presidentLabel:u_,presidentName:c_,cardFooter:d_,badge:f_,badgeJuntas:h_,badgeFuncionales:p_,badgeInteres:m_},Os=[{id:1,name:"Junta de Vecinos Toscana 1",president:"MarÃa Angélica Fuentes Lara",category:"juntas-vecinos",categoryLabel:"Junta de Vecinos",type:"Titular"},{id:2,name:"Junta de Vecinos Barrio Norte",president:"Juan José González Segura",category:"juntas-vecinos",categoryLabel:"Junta de Vecinos",type:"Titular"},{id:3,name:"Junta de Vecinos Villa El Esfuerzo de Zúñiga",president:"Ivonne del Rosario Molina Rojas",category:"juntas-vecinos",categoryLabel:"Junta de Vecinos",type:"Titular"},{id:4,name:"Junta de Vecinos Zúñiga",president:"Luis Adán López López",category:"juntas-vecinos",categoryLabel:"Junta de Vecinos",type:"Titular"},{id:5,name:"Junta de Vecinos de Toquihua",president:"Olaya Alejandra Acevedo Arce",category:"juntas-vecinos",categoryLabel:"Junta de Vecinos",type:"Titular"},{id:6,name:"Junta de Vecinos Villa La Dehesa",president:"Oscar Eugenio Marambio Barrera",category:"juntas-vecinos",categoryLabel:"Junta de Vecinos",type:"Titular"},{id:7,name:"Club Adulto Mayor Rayito de Sol",president:"Alba Luisa RamÃrez Romero",category:"organizaciones-funcionales",categoryLabel:"Organización Funcional",type:"Titular"},{id:8,name:"Taller de la Mujer Las Golondrinas",president:"Eglantina del Rosario Gamboa Aguilar",category:"organizaciones-funcionales",categoryLabel:"Organización Funcional",type:"Titular"},{id:9,name:"Agrupación Guatita Delantal",president:"Sandra Margarita Araya Pino",category:"organizaciones-funcionales",categoryLabel:"Organización Funcional",type:"Titular"},{id:10,name:"Comité A.P.R. San José de Pataguas",president:"Juan Eduardo RamÃrez Donoso",category:"organizaciones-funcionales",categoryLabel:"Organización Funcional",type:"Titular"},{id:11,name:"Taller de la Mujer Rayito de Luna",president:"MarÃa Neri Nilo Aedo",category:"organizaciones-funcionales",categoryLabel:"Organización Funcional",type:"Titular"},{id:12,name:"Club Adulto Mayor Pascual González",president:"Juan Peña Zenteno",category:"interes-publico",categoryLabel:"Organización de Interés Público",type:"Titular"},{id:13,name:"Agrupación Cuidadores de Pacientes Postrados San Vicente de Tagua Tagua (ACUPAPOS)",president:"MarÃa Elena de la Barra Marchant",category:"interes-publico",categoryLabel:"Organización de Interés Público",type:"Titular"},{id:14,name:"Agrupación Animalista San Vicente",president:"Ivonne del Carmen Bustamante Cornejo",category:"interes-publico",categoryLabel:"Organización de Interés Público",type:"Titular"},{id:15,name:"Unión Comunal de Clubes Adulto Mayor San Vicente T.T.",president:"Vicente Ricardo Rivera Puentes",category:"interes-publico",categoryLabel:"Organización de Interés Público",type:"Titular"},{id:16,name:"Fundación Cultural José Riveros",president:"Fidelina del Carmen Donoso Jiménez",category:"interes-publico",categoryLabel:"Organización de Interés Público",type:"Titular"},{id:17,name:"Comité Ambiental Comunal San Vicente de Tagua Tagua",president:"Miguel MatÃas Espinoza Peña",category:"interes-publico",categoryLabel:"Organización de Interés Público",type:"Titular"}],g_=()=>{As();const[s,u]=j.useState("all"),o=j.useMemo(()=>Os.filter(v=>s==="all"||v.category===s),[s]),c=j.useMemo(()=>({all:Os.length,"juntas-vecinos":Os.filter(v=>v.category==="juntas-vecinos").length,"organizaciones-funcionales":Os.filter(v=>v.category==="organizaciones-funcionales").length,"interes-publico":Os.filter(v=>v.category==="interes-publico").length}),[]),d=j.useMemo(()=>o.filter(v=>v.category==="juntas-vecinos"),[o]),h=j.useMemo(()=>o.filter(v=>v.category==="organizaciones-funcionales"),[o]),g=j.useMemo(()=>o.filter(v=>v.category==="interes-publico"),[o]);return a.jsx(cn,{children:a.jsxs("article",{className:"container-sm py-5",children:[a.jsxs("header",{"aria-labelledby":"
172ccosoc-title ccosoc-subtitle",className:"mb-4",children:[a.jsx("h2",{className:"pb-1 atencion-title",id:"ccosoc-title",children:"Consejo Comunal de Organizaciones de la Sociedad Civil (CCOSOC)"}),a.jsx("p",{className:"pb-1 atencion-subtitle",id:"ccosoc-subtitle",children:"PerÃodo 2022 - 2026"})]}),a.jsx("section",{className:Oe.controlsSection,"aria-label":"Filtros",children:a.jsxs("div",{className:Oe.filterBar,role:"group","aria-label":"Filtrar por tipo de organización",children:[a.jsxs("button",{type:"button",className:`${Oe.filterButton} ${s==="all"?Oe.activeFilter:""}`,onClick:()=>u("all"),"aria-pressed":s==="all",children:["Todas ",a.jsx("span",{className:Oe.counterBadge,children:c.all})]}),a.jsxs("button",{type:"button",className:`${Oe.filterButton} ${s==="juntas-vecinos"?Oe.activeFilter:""}`,onClick:()=>u("juntas-vecinos"),"aria-pressed":s==="juntas-vecinos",children:["Juntas de Vecinos ",a.jsx("span",{className:Oe.counterBadge,children:c["juntas-vecinos"]})]}),a.jsxs("button",{type:"button",className:`${Oe.filterButton} ${s==="organizaciones-funcionales"?Oe.activeFilter:""}`,onClick:()=>u("organizaciones-funcionales"),"aria-pressed":s==="organizaciones-funcionales",children:["Organizaciones Funcionales ",a.jsx("span",{className:Oe.counterBadge,children:c["organizaciones-funcionales"]})]}),a.jsxs("button",{type:"button",className:`${Oe.filterButton} ${s==="interes-publico"?Oe.activeFilter:""}`,onClick:()=>u("interes-publico"),"aria-pressed":s==="interes-publico",children:["Interés Público ",a.jsx("span",{className:Oe.counterBadge,children:c["interes-publico"]})]})]})}),a.jsx("div",{"aria-live":"polite",className:"visually-hidden",children:s!=="all"?`Se muestran las ${o.length} organizaciones de la categorÃa seleccionada.`:`Se muestran las ${Os.length} organizaciones.`}),a.jsxs("div",{className:Oe.categoriesContainer,children:[(s==="all"||s==="juntas-vecinos")&&d.length>0&&a.jsxs("section",{className:Oe.categorySection,"aria-labelledby":"section-juntas",children:[a.jsxs("div",{className:Oe.categoryHeader,children:[a.jsx("h3",{id:"section-juntas",className:Oe.categoryTitle,children:"Juntas de Vecinos"}),a.jsxs("span",{className:Oe.categoryCount,children:["(",d.length,")"]})]}),a.jsx("div",{className:Oe.grid,children:d.map(v=>a.jsxs("article",{className:Oe.card,tabIndex:"0","aria-label":`Organización: ${v.name}. Presidente: ${v.president}. Tipo: ${v.categoryLabel}.`,children:[a.jsx("div",{className:Oe.cardHeader,children:a.jsx("h4",{className:Oe.orgName,children:v.name})}),a.jsxs("div",{className:Oe.cardBody,children:[a.jsx("span",{className:Oe.presidentLabel,children:"Presidente"}),a.jsx("p",{className:Oe.presidentName,children:v.president})]}),a.jsx("div",{className:Oe.cardFooter,children:a.jsx("span",{className:`${Oe.badge} ${Oe.badgeJuntas}`,children:v.categoryLabel})})]},v.id))})]}),(s==="all"||s==="organizaciones-funcionales")&&h.length>0&&a.jsxs("section",{className:Oe.categorySection,"aria-labelledby":"section-funcionales",children:[a.jsxs("div",{className:Oe.categoryHeader,children:[a.jsx("h3",{id:"section-funcionales",className:Oe.categoryTitle,children:"Organizaciones Funcionales"}),a.jsxs("span",{className:Oe.categoryCount,children:["(",h.length,")"]})]}),a.jsx("div",{className:Oe.grid,children:h.map(v=>a.jsxs("article",{className:Oe.card,tabIndex:"0","aria-label":`Organización: ${v.name}. Presidente: ${v.president}. Tipo: ${v.categoryLabel}.`,children:[a.jsx("div",{className:Oe.cardHeader,children:a.jsx("h4",{className:Oe.orgName,children:v.name})}),a.jsxs("div",{className:Oe.cardBody,children:[a.jsx("span",{className:Oe.presidentLabel,children:"Presidente"}),a.jsx("p",{className:Oe.presidentName,children:v.president})]}),a.jsx("div",{className:Oe.cardFooter,children:a.jsx("span",{className:`${Oe.badge} ${Oe.badgeFuncionales}`,children:v.categoryLabel})})]},v.id))})]}),(s==="all"||s==="interes-publico")&&g.length>0&&a.jsxs("section",{className:Oe.categorySection,"aria-labelledby":"section-interes",children:[a.jsxs("div",{className:Oe.categoryHeader,children:[a.jsx("h3",{id:"section-interes",className:Oe.categoryTitle,children:"Organizaciones de Interés Público"}),a.jsxs("span",{className:Oe.categoryCount,children:["(",g.length,")"]})]}),a.jsx("div",{className:Oe.grid,children:g.map(v=>a.jsxs("article",{className:Oe.card,tabIndex:"0","aria-label":`Organización: ${v.name}. Presidente o representante: ${v.president}. Tipo: ${v.categoryLabel}.`,children:[a.jsx("div",{className:Oe.cardHeader,children:a.jsx("h4",{className:Oe.orgName,children:v.name})}),a.jsxs("div",{className:Oe.cardBody,children:[a.jsx("span",{className:Oe.presidentLabel,children:"Presidente y/o Representante"}),a.jsx("p",{className:Oe.presidentName,children:v.president})]}),a.jsx("div",{className:Oe.cardFooter,children:a.jsx("span",{className:`${Oe.badge} ${Oe.badgeInteres}`,children:v.categoryLabel})})]},v.id))})]})]})]})})},y_=j.lazy(()=>$t(()=>import("./ConcursosPublicos-Ccelud3M.js"),__vite__mapDeps([0,1]))),v_=j.lazy(()=>$t(()=>import("./Alcalde-BgccX6I_.js"),__vite__mapDeps([2,3]))),__=j.lazy(()=>$t(()=>import("./ConcejoMunicipal-DNt6xVNm.js"),__vite__mapDeps([4,5,6]))),b_=j.lazy(()=>$t(()=>import("./SesionesConcejoMunicipal-CLVZBZ8U.js"),__vite__mapDeps([7,8,9]))),x_=j.lazy(()=>$t(()=>import("./Organigrama-Bk28VxOI.js"),__vite__mapDeps([10,11]))),w_=j.lazy(()=>$t(()=>import("./Corporacion-BG82oNV_.js"),__vite__mapDeps([12,13]))),j_=j.lazy(()=>$t(()=>
172import("./Ubicacion-DOMmJ81r.js"),__vite__mapDeps([14,15]))),C_=j.lazy(()=>$t(()=>import("./CuentasPublicas-CMLSvLMA.js"),__vite__mapDeps([16,5,17]))),S_=j.lazy(()=>$t(()=>import("./Departments-D-2CsWxP.js"),__vite__mapDeps([18,19,8,20]))),k_=j.lazy(()=>$t(()=>import("./DepartmentDetail-Bx2E4OuI.js"),__vite__mapDeps([21,19,8,22]))),E_=()=>a.jsx(j.Suspense,{fallback:a.jsx(dr,{}),children:a.jsxs(Ha,{children:[a.jsx(De,{path:"ubicacion",element:a.jsx(j_,{})}),a.jsx(De,{path:"alcalde",element:a.jsx(v_,{})}),a.jsx(De,{path:"concejo",element:a.jsx(__,{})}),a.jsx(De,{path:"concejo/sesiones",element:a.jsx(b_,{})}),a.jsx(De,{path:"organigrama",element:a.jsx(x_,{})}),a.jsx(De,{path:"concursos-publicos",element:a.jsx(y_,{})}),a.jsx(De,{path:"cuentas-publicas",element:a.jsx(C_,{})}),a.jsx(De,{path:"departamentos",element:a.jsx(S_,{})}),a.jsx(De,{path:"ccsoc",element:a.jsx(g_,{})}),a.jsx(De,{path:"departamentos/:slug",element:a.jsx(k_,{})}),a.jsx(De,{path:"corporacion",element:a.jsx(w_,{})}),a.jsx(De,{path:"*",element:a.jsx(ia,{})})]})}),N_=j.lazy(()=>$t(()=>import("./Historia-B5JqjUKf.js"),__vite__mapDeps([23,24]))),P_=j.lazy(()=>$t(()=>import("./Alcaldes-DN0p87yp.js"),[])),O_=j.lazy(()=>$t(()=>import("./Poblacion-CqPxHYCE.js"),__vite__mapDeps([25,26]))),T_=j.lazy(()=>$t(()=>import("./Superficie-Bd897eGg.js"),__vite__mapDeps([27,28]))),L_=j.lazy(()=>$t(()=>import("./Turismo-DOdM20Wh.js"),__vite__mapDeps([29,30]))),I_=()=>a.jsx(j.Suspense,{fallback:a.jsx(dr,{}),children:a.jsxs(Ha,{children:[a.jsx(De,{path:"turismo",element:a.jsx(L_,{})}),a.jsx(De,{path:"historia",element:a.jsx(N_,{})}),a.jsx(De,{path:"alcaldes",element:a.jsx(P_,{})}),a.jsx(De,{path:"poblacion",element:a.jsx(O_,{})}),a.jsx(De,{path:"superficie",element:a.jsx(T_,{})}),a.jsx(De,{path:"*",element:a.jsx(ia,{})})]})}),A_=j.lazy(()=>$t(()=>import("./Biblioteca-C0PInbaP.js"),__vite__mapDeps([31,32]))),R_=()=>a.jsx(j.Suspense,{fallback:a.jsx(dr,{}),children:a.jsxs(Ha,{children:[a.jsx(De,{path:"biblioteca",element:a.jsx(A_,{})}),a.jsx(De,{path:"*",element:a.jsx(ia,{})})]})}),Ih="https://bsv.municipalidadsanvicente.cl",Ts="https://municipalidadsanvicente.cl",Lw=s=>{if(!s)return"";if(s.startsWith("http://")||s.startsWith("https://")||s.startsWith("blob:")||s.startsWith("data:"))return s;const u=s.startsWith("/")?s:`/${s}`;return u.startsWith("/uploads")?`${Ts.endsWith("/")?Ts.slice(0,-1):Ts}${u}`:u},Ah=`${Ih}/galerias`,D_=async(s={})=>{try{const u=new URLSearchParams(s).toString();return await(await fetch(`${Ah}?${u}`)).json()??{data:[],meta:{}}}catch{return{success:!1,data:[]}}},M_=async s=>{try{return await(await fetch(`${Ah}/${s}`)).json()??null}catch{return null}},Rh=()=>{const[s,u]=j.useState([]),[o,c]=j.useState({}),[d,h]=j.useState(!1),[g,v]=j.useState(null),[x,b]=j.useState({page:1,limit:9,totalPages:0,totalItems:0}),S=j.useCallback(async(L={},O=1)=>{h(!0),v(null);try{const A=await D_({...L,page:O,limit:9});A.data?(u(A.data),b({page:A.meta.currentPage,limit:A.meta.itemsPerPage,totalPages:A.meta.totalPages,totalItems:A.meta.totalItems})):u([])}catch{v("No se pudieron obtener las galerias.")}finally{h(!1)}},[]),E=j.useCallback(async L=>{h(!0),v(null);try{const O=await M_(L);c(O)}catch{v("No se pudo obtener la galeria.")}finally{h(!1)}},[]);return{fetchGalerias:S,fetchGaleriaPorId:E,galerias:s,galeria:o,pagination:x,loading:d,error:g}},yi=s=>{if(!s)return"";if(s.startsWith("http://")||s.startsWith("https://")||s.startsWith("blob:")||s.startsWith("data:"))return s;const u=s.startsWith("/")?s:`/${s}`;return u.startsWith("/uploads")?`${Ts.endsWith("/")?Ts.slice(0,-1):Ts}${u}`:u},F_=()=>{const{fetchGalerias:s,galerias:u,pagination:o,loading:c,error:d}=Rh(),[h,g]=j.useState({title:"",sort:"desc"});j.useEffect(()=>{s(h,(o==null?void 0:o.page)||1)},[s,o==null?void 0:o.page]),As();const v=E=>{const{name:L,value:O}=E.target;g(A=>({...A,[L]:O}))},x=()=>{g({title:"",sort:"desc"}),s({title:"",sort:"desc"},1)},b=E=>{E.preventDefault(),s(h,1)},S=E=>{E>=1&&E<=o.totalPages&&(window.scrollTo({top:0,behavior:"smooth"}),s(h,E))};return c?a.jsx(dr,{}):a.jsxs(cn,{children:[a.jsx("header",{className:"gal-header pt-4","aria-labelledby":"gal-title gal-description",children:a.jsxs("div",{className:"container-sm d-flex justify-content-between align-items-center",children:[a.jsxs("div",{className:"gal-header--info",children:[a.jsx("h1",{className:"gal-title",id:"gal-title",children:"GalerÃas"}),a.jsx("p",{className:"gal-description",id:"gal-description",children:"Revive en fotografÃas los proyectos, eventos y actividades de la comuna."})]}),a.jsx("div",{className:"gal-header--image","aria-hidden":"true",children:a.jsx("img",{src:"/imagenes/headers/galerias.png",alt:"","aria-hidden":"true"})})]})}),a.jsxs("section",{className:"galeria-container container-sm","aria-label":"Galerias de la comuna de San Vicente de Tagua Tagua",role:"region",children:[a.jsx("div",{className:"galeria-filters mb-5 p-4 bg-white rounded shadow-sm",children:a.jsxs("form",{onSubmit:b,className:"row g-3 align-items-end",children:[a.jsxs("div",{className:"col-md-5 col-lg-5",children:[a.jsx("label",{htmlFor:"title",className:"form-label fw-bold",children:"Buscar galerÃa"}),a.jsx("input",{type:"text",className:"form-control",id:"title",name:"title",value:h.title,onChange:v,placeholder:"Ej: Aniversario comunal..."})]}),a.jsxs("div",{className:"col-md-4 col-lg-3",children:[a.jsx("label",{htmlFor:"sort",className:"form-label fw-bold",children:"Ordenar por fecha"}),a.jsxs("select",{className:"form-select",id:"sort",name:"sort",value:h.sort,onChange:v,children:[a.jsx("option",{value:"desc",children:"Más recientes"}),a.jsx("option",{value:"asc",children:"Más antiguas"})]})]}),a.jsxs("div",{className:"col-md-3 col-lg-4 d-flex gap-2",children:[a.jsx("button",{type:"submit",className:"btn btn-primary w-100 fw-bold",children:"ð Bu
172scar"}),a.jsx("button",{type:"button",className:"btn btn-secondary w-100 fw-bold",onClick:x,children:"ð§¹ Limpiar"})]})]})}),d?a.jsx("p",{className:"text-error",role:"alert",children:d}):u&&u.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"galerias-grid",children:u.map(E=>a.jsxs("article",{className:"galeria-card",children:[a.jsxs("header",{className:"galeria-card--header",children:[a.jsx("div",{className:"galeria-card--header-img",style:{backgroundImage:`url('${yi(E.image_main)}')`}}),a.jsx("img",{src:yi(E.image_main),alt:`Imagen principal de la galeria ${E.main_title}`,className:"visually-hidden"})]}),a.jsxs("section",{className:"galeria-card--body",children:[a.jsx("h4",{className:"galeria-card--body-title",children:E.main_title}),a.jsx("p",{className:"galeria-card--body-description",children:E.description}),a.jsxs("p",{className:"galeria-card--body-date",children:["Fecha: ",new Date(E.gallery_date).toLocaleDateString("es-CL",{day:"2-digit",month:"2-digit",year:"numeric"})]}),a.jsx($n,{className:"galeria-card--body-button",to:`/san-vicente/galeria/${E.id}
172`,"aria-label":`Ver fotos de la galeria ${E.main_title} (abre en nueva ventana)`,children:"Ver Fotos"})]})]},E.id))}),o.totalPages>1&&a.jsx("nav",{"aria-label":"Navegación de páginas",className:"my-5 d-flex justify-content-center",children:a.jsxs("ul",{className:"pagination pagination-lg",children:[a.jsx("li",{className:`page-item ${o.page===1?"disabled":""}`,children:a.jsx("button",{className:"page-link",onClick:()=>S(o.page-1),disabled:o.page===1,"aria-label":"Página anterior",children:"« Anterior"})}),a.jsx("li",{className:"page-item disabled",children:a.jsxs("span",{className:"page-link text-dark",children:[o.page," de ",o.totalPages]})}),a.jsx("li",{className:`page-item ${o.page===o.totalPages?"disabled":""}`,children:a.jsx("button",{className:"page-link",onClick:()=>S(o.page+1),disabled:o.page===o.totalPages,"aria-label":"Página siguiente",children:"Siguiente »"})})]})})]}):a.jsxs("div",{className:"alert alert-info text-center p-5",role:"alert",children:[a.jsx("h3",{children:"No se encontraron galerÃas"}),a.jsx("p",{children:"Intenta cambiar los filtros de búsqueda."})]})]})]})};function z_(s,u){if(s==null)return{};var o=$_(s,u),c,d;if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(s);for(d=0;d<h.length;d++)c=h[d],!(u.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(s,c)&&(o[c]=s[c])}return o}function $_(s,u){if(s==null)return{};var o={},c=Object.keys(s),d,h;for(h=0;h<c.length;h++)d=c[h],!(u.indexOf(d)>=0)&&(o[d]=s[d]);return o}function mu(){return mu=Object.assign||function(s){for(var u=1;u<arguments.length;u++){var o=arguments[u];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(s[c]=o[c])}return s},mu.apply(this,arguments)}function Jf(s,u){var o=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);u&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(s,d).enumerable})),o.push.apply(o,c)}return o}function ko(s){for(var u=1;u<arguments.length;u++){var o=arguments[u]!=null?arguments[u]:{};u%2?Jf(Object(o),!0).forEach(function(c){B_(s,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(o)):Jf(Object(o)).forEach(function(c){Object.defineProperty(s,c,Object.getOwnPropertyDescriptor(o,c))})}return s}function B_(s,u,o){return u in s?Object.defineProperty(s,u,{value:o,enumerable:!0,configurable:!0,writable:!0}):s[u]=o,s}const q_={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0},Hc=2;class Dh extends rn.Component{constructor(u){super(u),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this);let o;this.props.breakpointCols&&this.props.breakpointCols.default?o=this.props.breakpointCols.default:o=parseInt(this.props.breakpointCols)||Hc,this.state={columnCount:o}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){if(!window||!window.requestAnimationFrame){this.reCalculateColumnCount();return}window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame(()=>{this.reCalculateColumnCount()})}reCalculateColumnCount(){const u=window&&window.innerWidth||1/0;let o=this.props.breakpointCols;typeof o!="object"&&(o={default:parseInt(o)||Hc});let c=1/0,d=o.default||Hc;for(let h in o){const g=parseInt(h);g>0&&u<=g&&g<c&&(c=g,d=o[h])}d=Math.max(1,parseInt(d)||1),this.state.columnCount!==d&&this.setState({columnCount:d})}itemsInColumns(){const u=this.state.columnCount,o=new Array(u),c=rn.Children.toArray(this.props.children);for(let d=0;d<c.length;d++){const h=d%u;o[h]||(o[h]=[]),o[h].push(c[d])}return o}renderColumns(){const{column:u,columnAttrs:o={},columnClassName:c}=this.props,d=this.itemsInColumns(),h=`${100/d.length}%`;let g=c;g&&typeof g!="string"&&(this.logDeprecated('The property "columnClassName" requires a string'),typeof g>"u"&&(g="my-masonry-grid_column"));const v=ko(ko(ko({},u),o),{},{style:ko(ko({},o.style),{},{width:h}),className:g});return d.map((x,b)=>rn.createElement("div",mu({},v,{key:b}),x))}logDeprecated(u){console.error("[Masonry]",u)}render(){const u=this.props,{children:o,breakpointCols:c,columnClassName:d,columnAttrs:h,c
172olumn:g,className:v}=u,x=z_(u,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let b=v;return typeof v!="string"&&(this.logDeprecated('The property "className" requires a string'),typeof v>"u"&&(b="my-masonry-grid")),rn.createElement("div",mu({},x,{className:b}),this.renderColumns())}}Dh.defaultProps=q_;var Wc={exports:{}},Zf;function U_(){return Zf||(Zf=1,(()=>{var s={296:(d,h,g)=>{var v=/^\s+|\s+$/g,x=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,S=/^0o[0-7]+$/i,E=parseInt,L=typeof g.g=="object"&&g.g&&g.g.Object===Object&&g.g,O=typeof self=="object"&&self&&self.Object===Object&&self,A=L||O||Function("return this")(),F=Object.prototype.toString,q=Math.max,U=Math.min,V=function(){return A.Date.now()};function Y(oe){var le=typeof oe;return!!oe&&(le=="object"||le=="function")}function ye(oe){if(typeof oe=="number")return oe;if(function(ae){return typeof ae=="symbol"||function(ue){return!!ue&&typeof ue=="object"}(ae)&&F.call(ae)=="[object Symbol]"}(oe))return NaN;if(Y(oe)){var le=typeof oe.valueOf=="function"?oe.valueOf():oe;oe=Y(le)?le+"":le}if(typeof oe!="string")return oe===0?oe:+oe;oe=oe.replace(v,"");var we=b.test(oe);return we||S.test(oe)?E(oe.slice(2),we?2:8):x.test(oe)?NaN:+oe}d.exports=function(oe,le,we){var ae,ue,he,Be,Qe,Ge,Ke=0,it=!1,qe=!1,Ue=!0;if(typeof oe!="function")throw new TypeError("Expected a function");function te(be){var je=ae,Ie=ue;return ae=ue=void 0,Ke=be,Be=oe.apply(Ie,je)}function ce(be){var je=be-Ge;return Ge===void 0||je>=le||je<0||qe&&be-Ke>=he}function N(){var be=V();if(ce(be))return T(be);Qe=setTimeout(N,function(je){var Ie=le-(je-Ge);return qe?U(Ie,he-(je-Ke)):Ie}(be))}function T(be){return Qe=void 0,Ue&&ae?te(be):(ae=ue=void 0,Be)}function Q(){var be=V(),je=ce(be);if(ae=arguments,ue=this,Ge=be,je){if(Qe===void 0)return function(Ie){return Ke=Ie,Qe=setTimeout(N,le),it?te(Ie):Be}(Ge);if(qe)return Qe=setTimeout(N,le),te(Ge)}return Qe===void 0&&(Qe=setTimeout(N,le)),Be}return le=ye(le)||0,Y(we)&&(it=!!we.leading,he=(qe="maxWait"in we)?q(ye(we.maxWait)||0,le):he,Ue="trailing"in we?!!we.trailing:Ue),Q.cancel=function(){Qe!==void 0&&clearTimeout(Qe),Ke=0,ae=Ge=ue=Qe=void 0},Q.flush=function(){return Qe===void 0?Be:T(V())},Q}},96:(d,h,g)=>{var v="Expected a function",x=NaN,b="[object Symbol]",S=/^\s+|\s+$/g,E=/^[-+]0x[0-9a-f]+$/i,L=/^0b[01]+$/i,O=/^0o[0-7]+$/i,A=parseInt,F=typeof g.g=="object"&&g.g&&g.g.Object===Object&&g.g,q=typeof self=="object"&&self&&self.Object===Object&&self,U=F||q||Function("return this")(),V=Object.prototype.toString,Y=Math.max,ye=Math.min,oe=function(){return U.Date.now()};function le(ae){var ue=typeof ae;return!!ae&&(ue=="object"||ue=="function")}function we(ae){if(typeof ae=="number")return ae;if(function(Be){return typeof Be=="symbol"||function(Qe){return!!Qe&&typeof Qe=="object"}(Be)&&V.call(Be)==b}(ae))return x;if(le(ae)){var ue=typeof ae.valueOf=="function"?ae.valueOf():ae;ae=le(ue)?ue+"":ue}if(typeof ae!="string")return ae===0?ae:+ae;ae=ae.replace(S,"");var he=L.test(ae);return he||O.test(ae)?A(ae.slice(2),he?2:8):E.test(ae)?x:+ae}d.exports=function(ae,ue,he){var Be=!0,Qe=!0;if(typeof ae!="function")throw new TypeError(v);return le(he)&&(Be="leading"in he?!!he.leading:Be,Qe="trailing"in he?!!he.trailing:Qe),function(Ge,Ke,it){var qe,Ue,te,ce,N,T,Q=0,be=!1,je=!1,Ie=!0;if(typeof Ge!="function")throw new TypeError(v);function Te(Pt){var an=qe,kt=Ue;return qe=Ue=void 0,Q=Pt,ce=Ge.apply(kt,an)}function et(Pt){var an=Pt-T;return T===void 0||an>=Ke||an<0||je&&Pt-Q>=te}function ne(){var Pt=oe();if(et(Pt))return tt(Pt);N=setTimeout(ne,function(an){var kt=Ke-(an-T);return je?ye(kt,te-(an-Q)):kt}(Pt))}function tt(Pt){return N=void 0,Ie&&qe?Te(Pt):(qe=Ue=void 0,ce)}function St(){var Pt=oe(),an=et(Pt);if(qe=arguments,Ue=this,T=Pt,an){if(N===void 0)return function(kt){return Q=kt,N=setTimeout(ne,Ke),be?Te(kt):ce}(T);if(je)return N=setTimeout(ne,Ke),Te(T)}return N===void 0&&(N=setTimeout(ne,Ke)),ce}return Ke=we(Ke)||0,le(it)&&(be=!!it.leading,te=(je="maxWait"in it)?Y(we(it.maxWait)||0,Ke):te,Ie="trailing"in it?!!it.trailing:Ie),St.cancel=function(){N!==void 0&&clearTimeout(N),Q=0,qe=T=Ue=N=void 0},St.flush=function(){return N===void 0?ce:tt(oe())},St}(ae,ue,{leading:Be,maxWait:ue,trailing:Qe})}},703:(d,h,g)=>{var v=g(414);function x(){}function b(){}b.resetWarningCache=x,d.exports=function(){function S(O,A,F,q,U,V){if(V!==v){var Y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw Y.name="Invariant Violation",Y}}function E(){return S}S.isRequired=S;var L={array:S,bigint:S,bool:S,func:S,number:S,object:S,string:S,symbol:S,any:S,arrayOf:E,element:S,elementType:S,instanceOf:E,node:S,objectOf:E,oneOf:E,oneOfType:E,shape:E,exact:E,checkPropTypes:b,resetWarningCache:x};return L.PropTypes=L,L}},697:(d,h,g)=>{d.exports=g(703)()},414:d=>{d.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},u={};function o(d){var h=u[d];if(h!==void 0)return h.exports;var g=u[d]={exports:{}};
172return s[d](g,g.exports,o),g.exports}o.n=d=>{var h=d&&d.__esModule?()=>d.default:()=>d;return o.d(h,{a:h}),h},o.d=(d,h)=>{for(var g in h)o.o(h,g)&&!o.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:h[g]})},o.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),o.o=(d,h)=>Object.prototype.hasOwnProperty.call(d,h),o.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var c={};(()=>{o.r(c),o.d(c,{LazyLoadComponent:()=>an,LazyLoadImage:()=>Jr,trackWindowScroll:()=>ce});const d=gu();var h=o.n(d),g=o(697);function v(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function x(K){return x=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},x(K)}function b(K,D){var X=Object.keys(K);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(K);D&&(J=J.filter(function(Me){return Object.getOwnPropertyDescriptor(K,Me).enumerable})),X.push.apply(X,J)}return X}function S(K,D,X){return(D=L(D))in K?Object.defineProperty(K,D,{value:X,enumerable:!0,configurable:!0,writable:!0}):K[D]=X,K}function E(K,D){for(var X=0;X<D.length;X++){var J=D[X];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(K,L(J.key),J)}}function L(K){var D=function(X,J){if(x(X)!=="object"||X===null)return X;var Me=X[Symbol.toPrimitive];if(Me!==void 0){var Fe=Me.call(X,"string");if(x(Fe)!=="object")return Fe;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(X)}(K);return x(D)==="symbol"?D:String(D)}function O(K,D){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(X,J){return X.__proto__=J,X},O(K,D)}function A(K){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(D){return D.__proto__||Object.getPrototypeOf(D)},A(K)}var F=function(K){K.forEach(function(D){D.isIntersecting&&D.target.onVisible()})},q={},U=function(K){(function(B,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(W&&W.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),Object.defineProperty(B,"prototype",{writable:!1}),W&&O(B,W)})(Je,K);var D,X,J,Me,Fe=(J=Je,Me=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var B,W=A(J);if(Me){var xe=A(this).constructor;B=Reflect.construct(W,arguments,xe)}else B=W.apply(this,arguments);return function(ve,de){if(de&&(x(de)==="object"||typeof de=="function"))return de;if(de!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(He){if(He===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return He}(ve)}(this,B)});function Je(B){var W;if(function(ve,de){if(!(ve instanceof de))throw new TypeError("Cannot call a class as a function")}(this,Je),(W=Fe.call(this,B)).supportsObserver=!B.scrollPosition&&B.useIntersectionObserver&&v(),W.supportsObserver){var xe=B.threshold;W.observer=function(ve){return q[ve]=q[ve]||new IntersectionObserver(F,{rootMargin:ve+"px"}),q[ve]}(xe)}return W}return D=Je,X=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,W=this.placeholder.getBoundingClientRect(),xe=this.placeholder.style,ve=parseInt(xe.getPropertyValue("margin-left"),10)||0,de=parseInt(xe.getPropertyValue("margin-top"),10)||0;return{bottom:B.y+W.bottom+de,left:B.x+W.left+ve,right:B.x+W.right+ve,top:B.y+W.top+de}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var B=this.props,W=B.scrollPosition,xe=B.threshold,ve=this.getPlaceholderBoundingBox(W),de=W.y+window.innerHeight,He=W.x,yt=W.x+window.innerWidth,pt=W.y;return pt-xe<=ve.bottom&&de+xe>=ve.top&&He-xe<=ve.right&&yt+xe>=ve.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var B=this,W=this.props,xe=W.className,ve=W.height,de=W.placeholder,He=W.style,yt=W.width;if(de&&typeof de.type!="function")return h().cloneElement(de,{ref:function(nt){return B.placeholder=nt}});var pt=function(nt){for(var xt=1;xt<arguments.length;xt++){var mt=arguments[xt]!=null?arguments[xt]:{};
172xt%2?b(Object(mt),!0).forEach(function(Dt){S(nt,Dt,mt[Dt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(nt,Object.getOwnPropertyDescriptors(mt)):b(Object(mt)).forEach(function(Dt){Object.defineProperty(nt,Dt,Object.getOwnPropertyDescriptor(mt,Dt))})}return nt}({display:"inline-block"},He);return yt!==void 0&&(pt.width=yt),ve!==void 0&&(pt.height=ve),h().createElement("span",{className:xe,ref:function(nt){return B.placeholder=nt},style:pt},de)}}],X&&E(D.prototype,X),Object.defineProperty(D,"prototype",{writable:!1}),Je}(h().Component);U.propTypes={onVisible:g.PropTypes.func.isRequired,className:g.PropTypes.string,height:g.PropTypes.oneOfType([g.PropTypes.number,g.PropTypes.string]),placeholder:g.PropTypes.element,threshold:g.PropTypes.number,useIntersectionObserver:g.PropTypes.bool,scrollPosition:g.PropTypes.shape({x:g.PropTypes.number.isRequired,y:g.PropTypes.number.isRequired}),width:g.PropTypes.oneOfType([g.PropTypes.number,g.PropTypes.string])},U.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const V=U;var Y=o(296),ye=o.n(Y),oe=o(96),le=o.n(oe),we=function(K){var D=getComputedStyle(K,null);return D.getPropertyValue("overflow")+D.getPropertyValue("overflow-y")+D.getPropertyValue("overflow-x")};const ae=function(K){if(!(K instanceof HTMLElement))return window;for(var D=K;D&&D instanceof HTMLElement;){if(/(scroll|auto)/.test(we(D)))return D;D=D.parentNode}return window};function ue(K){return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},ue(K)}var he=["delayMethod","delayTime"];function Be(){return Be=Object.assign?Object.assign.bind():function(K){for(var D=1;D<arguments.length;D++){var X=arguments[D];for(var J in X)Object.prototype.hasOwnProperty.call(X,J)&&(K[J]=X[J])}return K},Be.apply(this,arguments)}function Qe(K,D){for(var X=0;X<D.length;X++){var J=D[X];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(K,(Me=function(Fe,Je){if(ue(Fe)!=="object"||Fe===null)return Fe;var B=Fe[Symbol.toPrimitive];if(B!==void 0){var W=B.call(Fe,"string");if(ue(W)!=="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Fe)}(J.key),ue(Me)==="symbol"?Me:String(Me)),J)}var Me}function Ge(K,D){return Ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(X,J){return X.__proto__=J,X},Ge(K,D)}function Ke(K,D){if(D&&(ue(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return it(K)}function it(K){if(K===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return K}function qe(K){return qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(D){return D.__proto__||Object.getPrototypeOf(D)},qe(K)}var Ue=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},te=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const ce=function(K){var D=function(X){(function(xe,ve){if(typeof ve!="function"&&ve!==null)throw new TypeError("Super expression must either be null or a function");xe.prototype=Object.create(ve&&ve.prototype,{constructor:{value:xe,writable:!0,configurable:!0}}),Object.defineProperty(xe,"prototype",{writable:!1}),ve&&Ge(xe,ve)})(W,X);var J,Me,Fe,Je,B=(Fe=W,Je=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var xe,ve=qe(Fe);if(Je){var de=qe(this).constructor;xe=Reflect.construct(ve,arguments,de)}else xe=ve.apply(this,arguments);return Ke(this,xe)});function W(xe){var ve;if(function(He,yt){if(!(He instanceof yt))throw new TypeError("Cannot call a class as a function")}(this,W),(ve=B.call(this,xe)).useIntersectionObserver=xe.useIntersectionObserver&&v(),ve.useIntersectionObserver)return Ke(ve);var de=ve.onChangeScroll.bind(it(ve));return xe.delayMethod==="debounce"?ve.delayedScroll=ye()(de,xe.delayTime):xe.delayMethod==="throttle"&&(ve.delayedScroll=le()(de,xe.delayTime)),ve.state={scrollPosition:{x:Ue(),y:te()}},ve.baseComponentRef=h().createRef(),ve}return J=W,(Me=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||ae(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=ae(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:Ue(),y:te()}})}},{key:"render",value:function(){var xe=this.props,ve=(xe.delayMethod,xe.delayTime,function(He,yt){if(He==null)return{};var pt,nt,xt=function(Dt,hr){if(Dt==null)return{};var Wn,Zr,Kn={},Gn=Object.keys(Dt);for(Zr=0;Zr<Gn.length;Zr++)Wn=Gn[Zr],hr.indexOf(Wn)>=0||(Kn[Wn]=Dt[Wn]);return Kn}(He,yt);if(Object.getOwnPropertySymbols){var mt=Object.getOwnPropertySymbols(He);for(nt=0;nt<mt.length;nt++)pt=mt[nt],yt.indexOf(pt)>=0||Object.prototype.propertyIsEnumerable.call(He,pt)&&(xt[pt]=He[pt])}return xt}(xe,he)),de=this.useIntersectionObserver?null:this.state.scrollPosition;return h().createElement(K,Be({forwardRef:this.baseComponentRef,scrollPosition:de},ve))}}])&&Qe(J.prototype,Me),Object.defineProperty(J,"prototype",{writable:!1}),W}(h().Component);return D.propTypes={delayMethod:g.PropTypes.oneOf(["debounce","throttle"]),delayTime:g.PropTypes.number,useIntersectionObserver:g.PropTypes.bool},D.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},D};function N(K){return N=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},N(K)}function T(K,D){for(var X=0;X<D.length;X++){var J=D[X];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(K,(Me=function(Fe,Je){if(N(Fe)!=="object"||Fe===null)return Fe;var B=Fe[Symbol.toPrimitive];if(B!==void 0){var W=B.call(Fe,"string");if(N(W)!=="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Fe)}(J.key),N(Me)==="symbol"?Me:String(Me)),J)}var Me}
172function Q(K,D){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(X,J){return X.__proto__=J,X},Q(K,D)}function be(K){return be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(D){return D.__proto__||Object.getPrototypeOf(D)},be(K)}var je=function(K){(function(B,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(W&&W.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),Object.defineProperty(B,"prototype",{writable:!1}),W&&Q(B,W)})(Je,K);var D,X,J,Me,Fe=(J=Je,Me=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var B,W=be(J);if(Me){var xe=be(this).constructor;B=Reflect.construct(W,arguments,xe)}else B=W.apply(this,arguments);return function(ve,de){if(de&&(N(de)==="object"||typeof de=="function"))return de;if(de!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(He){if(He===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return He}(ve)}(this,B)});function Je(B){return function(W,xe){if(!(W instanceof xe))throw new TypeError("Cannot call a class as a function")}(this,Je),Fe.call(this,B)}return D=Je,(X=[{key:"render",value:function(){return h().createElement(V,this.props)}}])&&T(D.prototype,X),Object.defineProperty(D,"prototype",{writable:!1}),Je}(h().Component);const Ie=ce(je);function Te(K){return Te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},Te(K)}function et(K,D){for(var X=0;X<D.length;X++){var J=D[X];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(K,(Me=function(Fe,Je){if(Te(Fe)!=="object"||Fe===null)return Fe;var B=Fe[Symbol.toPrimitive];if(B!==void 0){var W=B.call(Fe,"string");if(Te(W)!=="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Fe)}(J.key),Te(Me)==="symbol"?Me:String(Me)),J)}var Me}function ne(K,D){return ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(X,J){return X.__proto__=J,X},ne(K,D)}function tt(K){if(K===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return K}function St(K){return St=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(D){return D.__proto__||Object.getPrototypeOf(D)},St(K)}var Pt=function(K){(function(B,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(W&&W.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),Object.defineProperty(B,"prototype",{writable:!1}),W&&ne(B,W)})(Je,K);var D,X,J,Me,Fe=(J=Je,Me=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var B,W=St(J);if(Me){var xe=St(this).constructor;B=Reflect.construct(W,arguments,xe)}else B=W.apply(this,arguments);return function(ve,de){if(de&&(Te(de)==="object"||typeof de=="function"))return de;if(de!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tt(ve)}(this,B)});function Je(B){var W;(function(yt,pt){if(!(yt instanceof pt))throw new TypeError("Cannot call a class as a function")})(this,Je),W=Fe.call(this,B);var xe=B.afterLoad,ve=B.beforeLoad,de=B.scrollPosition,He=B.visibleByDefault;return W.state={visible:He},He&&(ve(),xe()),W.onVisible=W.onVisible.bind(tt(W)),W.isScrollTracked=!!(de&&Number.isFinite(de.x)&&de.x>=0&&Number.isFinite(de.y)&&de.y>=0),W}return D=Je,(X=[{key:"componentDidUpdate",value:function(B,W){W.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var B=this.props,W=B.className,xe=B.delayMethod,ve=B.delayTime,de=B.height,He=B.placeholder,yt=B.scrollPosition,pt=B.style,nt=B.threshold,xt=B.useIntersectionObserver,mt=B.width;return this.isScrollTracked||xt&&v()?h().createElement(V,{className:W,height:de,onVisible:this.onVisible,placeholder:He,scrollPosition:yt,style:pt,threshold:nt,useIntersectionObserver:xt,width:mt}):h().createElement(Ie,{className:W,delayMethod:xe,delayTime:ve,height:de,onVisible:this.onVisible,placeholder:He,style:pt,threshold:nt,width:mt})}}])&&et(D.prototype,X),Object.defineProperty(D,"prototype",{writable:!1}),Je}(h().Component);Pt.propTypes={afterLoad:g.PropTypes.func,beforeLoad:g.PropTypes.func,useIntersectionObserver:g.PropTypes.bool,visibleByDefault:g.PropTypes.bool},Pt.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const an=Pt;function kt(K){return kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},kt(K)}var bi=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function fr(K,D){var X=Object.keys(K);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(K);D&&(J=J.filter(function(Me){return Object.getOwnPropertyDescriptor(K,Me).enumerable})),X.push.apply(X,J)}return X}function Qn(K){for(var D=1;D<arguments.length;D++){var X=arguments[D]!=null?arguments[D]:{};
172D%2?fr(Object(X),!0).forEach(function(J){aa(K,J,X[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(K,Object.getOwnPropertyDescriptors(X)):fr(Object(X)).forEach(function(J){Object.defineProperty(K,J,Object.getOwnPropertyDescriptor(X,J))})}return K}function aa(K,D,X){return(D=Nr(D))in K?Object.defineProperty(K,D,{value:X,enumerable:!0,configurable:!0,writable:!0}):K[D]=X,K}function Xr(){return Xr=Object.assign?Object.assign.bind():function(K){for(var D=1;D<arguments.length;D++){var X=arguments[D];for(var J in X)Object.prototype.hasOwnProperty.call(X,J)&&(K[J]=X[J])}return K},Xr.apply(this,arguments)}function sa(K,D){for(var X=0;X<D.length;X++){var J=D[X];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(K,Nr(J.key),J)}}function Nr(K){var D=function(X,J){if(kt(X)!=="object"||X===null)return X;var Me=X[Symbol.toPrimitive];if(Me!==void 0){var Fe=Me.call(X,"string");if(kt(Fe)!=="object")return Fe;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(X)}(K);return kt(D)==="symbol"?D:String(D)}function Hn(K,D){return Hn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(X,J){return X.__proto__=J,X},Hn(K,D)}function Pr(K){return Pr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(D){return D.__proto__||Object.getPrototypeOf(D)},Pr(K)}var xi=function(K){(function(B,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(W&&W.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),Object.defineProperty(B,"prototype",{writable:!1}),W&&Hn(B,W)})(Je,K);var D,X,J,Me,Fe=(J=Je,Me=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var B,W=Pr(J);if(Me){var xe=Pr(this).constructor;B=Reflect.construct(W,arguments,xe)}else B=W.apply(this,arguments);return function(ve,de){if(de&&(kt(de)==="object"||typeof de=="function"))return de;if(de!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(He){if(He===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return He}(ve)}(this,B)});function Je(B){var W;return function(xe,ve){if(!(xe instanceof ve))throw new TypeError("Cannot call a class as a function")}(this,Je),(W=Fe.call(this,B)).state={loaded:!1},W}return D=Je,(X=[{key:"onImageLoad",value:function(){var B=this;return this.state.loaded?null:function(W){B.props.onLoad(W),B.props.afterLoad(),B.setState({loaded:!0})}}},{key:"getImg",value:function(){var B=this.props,W=(B.afterLoad,B.beforeLoad,B.delayMethod,B.delayTime,B.effect,B.placeholder,B.placeholderSrc,B.scrollPosition,B.threshold,B.useIntersectionObserver,B.visibleByDefault,B.wrapperClassName,B.wrapperProps,function(xe,ve){if(xe==null)return{};var de,He,yt=function(nt,xt){if(nt==null)return{};var mt,Dt,hr={},Wn=Object.keys(nt);for(Dt=0;Dt<Wn.length;Dt++)mt=Wn[Dt],xt.indexOf(mt)>=0||(hr[mt]=nt[mt]);return hr}(xe,ve);if(Object.getOwnPropertySymbols){var pt=Object.getOwnPropertySymbols(xe);for(He=0;He<pt.length;He++)de=pt[He],ve.indexOf(de)>=0||Object.prototype.propertyIsEnumerable.call(xe,de)&&(yt[de]=xe[de])}return yt}(B,bi));return h().createElement("img",Xr({},W,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var B=this.props,W=B.beforeLoad,xe=B.className,ve=B.delayMethod,de=B.delayTime,He=B.height,yt=B.placeholder,pt=B.scrollPosition,nt=B.style,xt=B.threshold,mt=B.useIntersectionObserver,Dt=B.visibleByDefault,hr=B.width;return h().createElement(an,{beforeLoad:W,className:xe,delayMethod:ve,delayTime:de,height:He,placeholder:yt,scrollPosition:pt,style:nt,threshold:xt,useIntersectionObserver:mt,visibleByDefault:Dt,width:hr},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(B){var W=this.props,xe=W.effect,ve=W.height,de=W.placeholderSrc,He=W.width,yt=W.wrapperClassName,pt=W.wrapperProps,nt=this.state.loaded,xt=nt?" lazy-load-image-loaded":"",mt=nt||!de?{}:{backgroundImage:"url(".concat(de,")"),backgroundSize:"100% 100%"};return h().createElement("span",Xr({className:yt+" lazy-load-image-background "+xe+xt,style:Qn(Qn({},mt),{},{color:"transparent",display:"inline-block",height:ve,width:He})},pt),B)}},{key:"render",value:function(){var B=this.props,W=B.effect,xe=B.placeholderSrc,ve=B.visibleByDefault,de=B.wrapperClassName,He=B.wrapperProps,yt=this.getLazyLoadImage();return(W||xe)&&!ve||de||He?this.getWrappedLazyLoadImage(yt):yt}}])&&sa(D.prototype,X),Object.defineProperty(D,"prototype",{writable:!1}),Je}(h().Component);xi.propTypes={onLoad:g.PropTypes.func,afterLoad:g.PropTypes.func,beforeLoad:g.PropTypes.func,delayMethod:g.PropTypes.string,delayTime:g.PropTypes.number,effect:g.PropTypes.string,placeholderSrc:g.PropTypes.string,threshold:g.PropTypes.number,useIntersectionObserver:g.PropTypes.bool,visibleByDefault:g.PropTypes.bool,wrapperClassName:g.PropTypes.string,wrapperProps:g.PropTypes.object},xi.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const Jr=xi})(),Wc.exports=c})()),Wc.exports}var V_=U_();const Q_=s=>s.replace(/^https:\/\/storage\.googleapis\.com\/san-vicente-bucket\//,"https://san-vicente-bucket.storage.googleapis.com/"),H_=({images:s,currentIndex:u,onClose:o,onNavigate:c})=>{j.useEffect(()=>(document.body.style.overflow="hidden",()=>{document.body.style.overflow="auto"}),[]),j.useEffect(()=>{const h=g=>{g.key==="Escape"&&o(),g.key==="ArrowLeft"&&c("prev"),g.key==="ArrowRight"&&c("next")};return window.addEventListener("keydown",h),()=>window.removeEventListener("keydown",h)},[o,c]);const d=async()=>{try{let h=s[u];h=Q_(h);const g=await fetch(h,{mode:"cors"});
172if(!g.ok)throw new Error("Error al descargar la imagen");const v=await g.blob(),x=URL.createObjectURL(v),b=document.createElement("a");b.href=x,b.download=`imagen-${u+1}.jpg`,document.body.appendChild(b),b.click(),document.body.removeChild(b),URL.revokeObjectURL(x)}catch(h){console.error("Descarga fallida:",h)}};return a.jsxs("div",{className:"gallery-image-modal",children:[a.jsx("div",{className:"gallery-modal-overlay",onClick:o}),a.jsx("button",{className:"gallery-modal-download",onClick:d,"aria-label":"Descargar imagen",children:a.jsx("img",{src:"/iconos/download.png",alt:"Icono de descarga"})}),a.jsx("button",{className:"gallery-modal-close",onClick:o,"aria-label":"Cerrar visor de imagen",children:"Ã"}),a.jsx("button",{className:"gallery-modal-nav gallery-prev",onClick:()=>c("prev"),"aria-label":"Imagen anterior",children:"â®"}),a.jsxs("div",{className:"gallery-modal-content",children:[a.jsx("img",{src:s[u],alt:`Imagen ${u+1} de ${s.length}`,className:"gallery-modal-image"}),a.jsxs("div",{className:"gallery-image-counter",children:[u+1," / ",s.length]})]}),a.jsx("button",{className:"gallery-modal-nav gallery-next",onClick:()=>c("next"),"aria-label":"Imagen siguiente",children:"â¯"})]})},W_={default:4,1100:3,700:2,500:1},K_=()=>{var oe,le;const[u,o]=j.useState([]),[c,d]=j.useState(1),[h,g]=j.useState(!0),[v,x]=j.useState(null),[b,S]=j.useState(0),E=j.useRef(!1),{fetchGaleriaPorId:L,galeria:O,loading:A,error:F}=Rh(),{id:q}=wh();j.useEffect(()=>{L(q)},[L,q]),j.useEffect(()=>{O.imagenesGaleria&&O.imagenesGaleria.length>0&&u.length===0&&U()},[O]);const U=j.useCallback(()=>{if(E.current||!O.imagenesGaleria||O.imagenesGaleria.length===0||!h)return;E.current=!0;const we=(c-1)*20,ae=we+20,ue=O.imagenesGaleria.slice(we,ae);o(he=>[...he,...ue]),d(he=>he+1),g(ae<O.imagenesGaleria.length),E.current=!1},[c,h,O]);j.useEffect(()=>{if(!h||!O.imagenesGaleria||O.imagenesGaleria.length===0)return;const we=new IntersectionObserver(ue=>{ue[0].isIntersecting&&!E.current&&U()},{threshold:.5,rootMargin:"200px"}),ae=document.querySelector(".load-more-sentinel");return ae&&we.observe(ae),()=>we.disconnect()},[U,h,O]),j.useEffect(()=>{u.length>0&&O.imagenesGaleria&&O.imagenesGaleria.slice(u.length,u.length+5).forEach(ae=>{const ue=new Image;ue.src=yi(ae.file_path)})},[u,O]);const V=we=>{S(we),x(O!=null&&O.imagenesGaleria?O.imagenesGaleria[we]:u[we])},Y=()=>x(null),ye=we=>{const ae=(O==null?void 0:O.imagenesGaleria)||[],ue=ae.length;if(ue===0)return;let he=b+(we==="next"?1:-1);if(he<0&&(he=ue-1),he>=ue&&(he=0),S(he),x(ae[he]),he>=u.length){const Be=Math.min(he+1+20,ue);o(ae.slice(0,Be)),d(Math.ceil(Be/20)),g(Be<ue)}[he-2,he-1,he+1,he+2].forEach(Be=>{if(Be>=0&&Be<ue){const Qe=new Image;Qe.src=yi(ae[Be].file_path)}})};return A||!(O!=null&&O.galeria)?a.jsx(dr,{}):a.jsxs(cn,{children:[a.jsxs("header",{className:"gallery-detalle--header","aria-labelledby":"gallery-detalle--title gallery-detalle--subtitle",children:[a.jsx("h1",{className:"gallery-detalle--title",id:"gallery-detalle--title",children:(oe=O==null?void 0:O.galeria)==null?void 0:oe.main_title}),a.jsx("p",{className:"gallery-detalle--subtitle",id:"gallery-detalle--subtitle",children:(le=O==null?void 0:O.galeria)==null?void 0:le.description})]}),a.jsx("article",{className:"gallery-container container-sm","aria-live":"polite",children:F?a.jsx("p",{className:"text-error",role:"alert",children:F}):O.imagenesGaleria&&O.imagenesGaleria.length===0?a.jsx("p",{className:"no-images-message",role:"alert",children:"No se encontraron imágenes en esta galerÃa"}):u.length>0?a.jsxs(a.Fragment,{children:[a.jsx(Dh,{breakpointCols:W_,className:"masonry-grid",columnClassName:"masonry-grid-column",children:u.map((we,ae)=>{var ue,he;return a.jsx(V_.LazyLoadImage,{className:"gallery-image",src:yi(we.file_path),alt:`${(ue=O==null?void 0:O.galeria)==null?void 0:ue.main_title} - Imagen ${ae+1} de ${((he=O==null?void 0:O.imagenesGaleria)==null?void 0:he.length)||u.length}`,effect:"blur",onClick:()=>V(ae),width:"100%",height:"auto",placeholderSrc:"/placeholder.jpg",threshold:300,role:"button",tabIndex:"0",onKeyDown:Be=>Be.key==="Enter"&&V(ae)},`${we.id}-${ae}`)})}),a.jsx("div",{className:"load-more-sentinel"}),h&&a.jsxs("div",{className:"loading-indicator",role:"status","aria-label":"Cargando más
172imágenes",children:[a.jsx("div",{className:"spinner","aria-hidden":"true"}),a.jsx("p",{children:"Cargando más imágenes..."})]})]}):a.jsx(dr,{})}),v&&a.jsx(H_,{images:((O==null?void 0:O.imagenesGaleria)||[]).map(we=>yi(we.file_path)),currentIndex:b,onClose:Y,onNavigate:ye})]})},G_=s=>{if(!s)return null;if(s instanceof Date)return s;if(typeof s=="string"){const u=s.trim();if(/^\d{4}-\d{2}-\d{2}$/.test(u)){const[o,c,d]=u.split("-").map(Number);return new Date(o,c-1,d,12,0,0)}if(/^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}(:\d{2})?/.test(u))return new Date(u.replace(" ","T"))}return new Date(s)},Mh=s=>{if(!s)return"Fecha no disponible";const u=G_(s);return!u||isNaN(u.getTime())?"Fecha inválida":new Intl.DateTimeFormat("es-CL",{timeZone:"America/Santiago",day:"2-digit",month:"long",year:"numeric"}).format(u)},Fh=({id:s,img:u,category:o,date:c,readTime:d,title:h,description:g,location:v,buttonContent:x})=>{const b=`/san-vicente/noticias/${s}`,S=encodeURI(yi(u));return a.jsxs("article",{className:"noticia-card","aria-labelledby":`card-title-${s}`,children:[a.jsx("div",{"aria-hidden":"true",className:"noticia-card__image",style:{backgroundImage:`url("${S}")`}}),a.jsxs("div",{className:"noticia-card__content",children:[a.jsxs("div",{className:"noticia-card__meta","aria-label":"Detalles de la noticia",children:[a.jsx("span",{className:"noticia-card__category",children:o}),a.jsx("span",{className:"noticia-card__date",children:Mh(c)}),a.jsx("span",{className:"noticia-card__read-time",children:d})]}),a.jsx("h4",{id:`card-title-${s}`,className:"noticia-card__title",children:h}),a.jsx("p",{className:"noticia-card__description",children:g}),a.jsx($n,{className:"noticia-card__btn",to:b,"aria-label":"Leer más sobre la noticia",children:x}),a.jsx("div",{className:"noticia-card__author",children:a.jsx("span",{children:v})})]})]})},Iw=Object.freeze(Object.defineProperty({__proto__:null,default:Fh},Symbol.toStringTag,{value:"Module"})),ld=({segments:s,height:u=10,width:o})=>a.jsx("div",{className:"color-divider","aria-hidden":"true",children:s.map((c,d)=>a.jsx("div",{className:"color-segment",style:{backgroundColor:c.color,flex:c.flex,maxWidth:`${o}%`,height:`${u}px`}},d))}),zh=j.createContext(),Y_=({children:s})=>{const[u,o]=j.useState([]),[c,d]=j.useState(!1);return a.jsx(zh.Provider,{value:{noticias:u,setNoticias:o,noticiasCargadas:c,setNoticiasCargadas:d},children:s})},X_=()=>j.useContext(zh),$h=`${Ih}/nuevasNoticias`,J_=async(s={})=>{const u=new URLSearchParams(s).toString();try{const c=await(await fetch(`${$h}?${u}`)).json();if(!c.success)throw new Error("Error al obtener noticias");return c||{success:!1,message:"Error de red o inesperado. Contacte al administrador"}}catch{return[]}},Z_=async s=>{try{const u=await fetch(`${$h}/${s}`);if(!u.ok)throw new Error("No se encontró la noticia.");return await u.json()}catch(u){return console.error("Error al obtener noticia:",u),null}},eb=()=>{const{setNoticias:s,setNoticiasCargadas:u}=X_(),[o,c]=j.useState(null),[d,h]=j.useState({page:1,limit:9,sort:"created_at",order:"desc",status:"all",search:"",category_id:"",location:"",department:""}),[g,v]=j.useState({totalItems:0,totalPages:1,currentPage:1,itemsPerPage:10,nextPage:1,prevPage:1}),{data:x,isLoading:b,error:S,refetch:E}=sm(["noticias",d],async()=>{const Y=await J_(d);if(Y.success===!1)throw new Error(Y.message);return v(Y.pagination),Y.data},{staleTime:5*60*1e3,cacheTime:10*60*1e3,onSuccess:Y=>{s(Y),u(!0)},onError:Y=>{console.error("No se pudieron obtener las noticias:",Y)},refetchOnWindowFocus:!1,refetchOnMount:!1}),L=Y=>{h(ye=>({...ye,...Y,page:1}))},O=Y=>{h(ye=>({...ye,page:Y}))},[A,F]=j.useState(!1),[q,U]=j.useState(null),V=j.useCallback(async Y=>{F(!0),U(null),c(null);try{const ye=await Z_(Y);if(ye.success===!1)throw new Error(ye.message);c(ye.data)}catch(ye){console.error("No se pudo obtener la noticia:",ye),U(ye.message)}finally{F(!1)}},[c]);return{fetchNoticias:E,fetchNoticiaPorId:V,noticia:o,noticias:x||[],loading:b,loadingId:A,error:(S==null?void 0:S.message)||null,errorId:q,filtros:d,pagination:g,updateFiltros:L,changePage:O}},tb=()=>{const{noticiaSlug:s}=wh(),u=s,{fetchNoticias:o,fetchNoticiaPorId:c,noticias:d,noticia:h,loading:g,loadingId:v,error:x,errorId:b}=eb();if(j.useEffect(()=>{o()},[o]),j.useEffect(()=>{c(u)},[u,c]),g||v)return a.jsx(dr,{});if(x)return a.jsxs("div",{role:"alert",children:["Error: ",x]});if(b)return a.jsx(ia,{});if(!h)return a.jsx(dr,{});const S=[{color:"#6499ef",flex:2},{color:"#a0a0a0",flex:3},{color:"#000000",flex:1},{color:"#c4c4c4",flex:1}];return a.jsxs(cn,{children:[a.jsxs("article",{className:"noticia-detalle-article container-sm","aria-labelledby":"noticia-detalle-title noticia-detalle-description",children:[a.jsxs("header",{className:"noticia-detalle-header",children:[a.jsxs("div",{className:"noticia-detalle-header--content",children:[a.jsx("p",{className:"noticia-detalle-header--date",children:Mh(h.date)}),a.jsx("h2",{className:"noticia-detalle-header--title",id:"noticia-detalle-title",children:h.title}),a.jsx("p",{className:"noticia-detalle-header--description",id:"noticia-detalle-description",children:h.description})]}),a.jsxs("figure",{className:"noticia-detalle-header--img",children:[a.jsx("img",{src:encodeURI(yi(h.image)),alt:`Imagen de la noticia ${h.title}`,loading:"lazy"}),a.jsx("figcaption",{className:"visually-hidden",children:h.title})]})]}),a.jsxs("section",{className:"noticia-detalle-content","aria-labelledby":"noticia-content-title",children:[a.jsx("h2",{id:"noticia-content-title",className:"visually-hidden",children:"Contenido de la noticia"}),a.jsx("div",{dangerouslySetInnerHTML:{__html:h.content}})]}),h.video&&a.jsx("section",{className:"noticia-detalle-video--container",children:a.jsxs("div",{className:"noticia-detalle-video",children:[a.jsx("h4",{className:"noticia-detalle-video--title",children:"Video relacionado"}),a.jsx("video",{src:encodeURI(yi(h.video)),className:"noticia-detalle-video--player",controls:!0,preload:"metadata",children:"Tu navegador no soporta el video"})]})})]}),a.jsx("div",{className:"container-sm",children:a.jsx(ld,{segments:S,height:5,width:30})}),a.jsxs("aside",{className:"noticia-detalle-relacionados container-sm mt-5",children:[a.jsx("header",{className:"noticia-detalle-relacionados--header",children:a.jsx("h3",{className:"noticia-detalle-relacionados--h3",children:"Noticias Relacionadas"})}),a.jsx("div",{className:"noticia-detalle-relacionados--content",role:"list",children:d&&d.filter(E=>E.id!==u).slice(0,3).map(E=>{var L,O;return a.jsx(Fh,{id:E.id,img:(L=E.images[0])==null?void 0:L.file_path,category:(O=E.category)==null?void 0:O.name,date:E.date,readTime:E.read_time,title:E.title,de
172scription:E.description,location:E.location,buttonContent:"Leer más ð"},E.id)})})]})]})},nb=j.lazy(()=>$t(()=>import("./Noticias-BIfeKobd.js"),__vite__mapDeps([33,34]))),rb=()=>a.jsx(j.Suspense,{fallback:a.jsx(dr,{}),children:a.jsxs(Ha,{children:[a.jsx(De,{path:"noticias",element:a.jsx(nb,{})}),a.jsx(De,{path:"noticias/:noticiaSlug",element:a.jsx(tb,{})}),a.jsx(De,{path:"galeria",element:a.jsx(F_,{})}),a.jsx(De,{path:"galeria/:id",element:a.jsx(K_,{})}),a.jsx(De,{path:"*",element:a.jsx(ia,{})})]})}),Bh=(s,u)=>{if(navigator.clipboard&&window.isSecureContext)navigator.clipboard.writeText(s).then(()=>{alert(u||"Copiado al portapapeles")}).catch(o=>{console.error("Error al copiar el número: ",o)});else{const o=document.createElement("textarea");o.value=s,o.style.position="fixed",o.style.left="-999999px",o.style.top="-999999px",document.body.appendChild(o),o.focus(),o.select();try{document.execCommand("copy"),alert("Número copiado al portapapeles")}catch(c){console.error("Error al copiar el número: ",c)}document.body.removeChild(o)}},ib=()=>{As();const s=(u,o)=>{Bh(u,o)};return a.jsx(cn,{children:a.jsxs("article",{className:"container-sm py-5",children:[a.jsxs("header",{"aria-labelledby":"atencion-title atencion-subtitle",children:[a.jsx("h2",{className:"pb-1 atencion-title",id:"atencion-title",children:"Atención al vecino"}),a.jsx("p",{className:"pb-1 atencion-subtitle",id:"atencion-subtitle",children:"Porque la participación ciudadana comienza con una respuesta oportuna, impulsamos canales de atención accesibles, confiables y pensados para facilitar la comunicación entre los vecinos y la Municipalidad."})]}),a.jsxs("section",{className:"atencion-section py-4",children:[a.jsxs("div",{className:"atencion-card",children:[a.jsxs("header",{className:"atencion-card--content",children:[a.jsx("h3",{children:"Atención en lÃnea"}),a.jsx("p",{children:"Canal de comunicación vÃa correo electrónico donde podrás enviar tus consultas."})]}),a.jsx("div",{className:"atencion-card--image","aria-hidden":"true ",children:a.jsx("img",{src:"/imagenes/atencion_al_vecino/atencion-online.png",alt:"Imagen de atención en linea","aria-hidden":"true"})}),a.jsx("button",{onClick:()=>s("[email protected]","Correo copiado al portapapeles"),className:"atencion-button","aria-label":"Copiar correo (se copiará al portapapeles)",children:"Copiar Correo"})]}),a.jsxs("div",{className:"atencion-card",children:[a.jsxs("header",{className:"atencion-card--content",children:[a.jsx("h3",{children:"Atención telefónica"}),a.jsxs("p",{children:["Canal de comunicación telefónico donde podrás llamar en los siguientes horarios:",a.jsx("br",{}),"Lunes a Jueves de 8:30 a 13:30 y de 15:00 a 16:30",a.jsx("br",{}),"Viernes de 8:30 a 14:00"]})]}),a.jsx("div",{className:"atencion-card--image","aria-hidden":"true",children:a.jsx("img",{src:"/imagenes/atencion_al_vecino/atencion-telefonica.png",alt:"Imagen de atención vÃa telefónica","aria-hidden":"true"})}),a.jsx("button",{onClick:()=>s("(72) 232 6800","Número copiado al portapapeles"),className:"atencion-button","aria-label":"Copiar número (se copiará al portapapeles)",children:"Copiar número"})]}),a.jsxs("div",{className:"atencion-card",children:[a.jsxs("header",{className:"atencion-card--content",children:[a.jsx("h3",{children:"Atención presencial"}),a.jsx("p",{children:"También puedes acercarte a nuestras dependencias fÃsicas para realizar tus reclamos, sugerencias y consultas."})]}),a.jsx("div",{className:"atencion-card--image","aria-hidden":"true",children:a.jsx("img",{src:"/imagenes/atencion_al_vecino/atencion-presencial.png",alt:"Imagen de atención presencial","aria-hidden":"true"})}),a.jsx("a",{className:"atencion-button",href:"https://maps.app.goo.gl/WjX8i79reiGTVYda7",target:"_blank",rel:"noopener noreferrer",role:"button","aria-label":"Ir a la ubicación (abre en una nueva ventana)",children:"¿Cómo llegar?"})]})]})]})})},ab=()=>{const[s,u]=j.useState(null),o=j.useRef();As(),j.useEffect(()=>{const g=v=>{s&&o.current&&!o.current.contains(v.target)&&u(null)};return document.addEventListener("mousedown",g),()=>{document.removeEventListener("mousedown",g)}},[s]);const c=()=>{Bh("[email protected]","Correo copiado al portapapeles")},d={primeraLicencia:{title:"Requisitos de Primera Licencia",label:"Conoce los requisitos para la obtención de la primera licencia de conducir ð",content:a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Ser mayor de 18 anÌos"}),a.jsx("p",{children:"En el caso de tener 17 años, se puede optar a licencia B, sin embargo, deben haber aprobado un curso en una Escuela de Conductores, y ser debida y expresamente autorizados por sus padres, apoderados o representantes legales."})]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Solicitud de licencia"}),a.jsx("p",{children:a.jsx("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/tramite-licencia-conducir/4d3af22b-8fad-4341-bad2-830043176aaf.doc",target:"_blank",rel:"noreferrer","aria-label":"Descargar solicitud de licencia (se abre en nueva ventana)",children:"Descargar aquÃ"})})]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Declaración jurada"}),a.jsx("p",{children:a.jsx("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/tramite-licencia-conducir/ab798ed1-75df-4afc-9f2f-c37d088c6db5.docx",target:"_blank",rel:"noreferrer","aria-label":"Descargar declaración jurada (se abre en nueva ventana)",children:"Descargar aquÃ"})})]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Anexo 1 Declaración de salud"}),a.jsx("p",{children:a.jsx("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/tramite-licencia-conducir/e4973930-7232-47c7-b0c4-d8f37633e365.pdf",target:"_blank",rel:"noreferrer","aria-label":"Descargar anexo 1 declaración de salud (se abre en nueva ventana)",children:"Descargar aquÃ"})})]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Cédula de identidad"}),a.jsx("p",{children:"Fotocopia de la cédula de identidad vigente por ambos lados"})]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Certificado de residencia"}),a.jsx("p",{children:"Debe acreditar el domicilio en la comuna (Art. 11 Ley 18.290)"})]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Certificado de estudios"}),a.jsx("p",{children:"Que acredite como mÃnimo la enseñanza básica completa, para esto se aceptará solamente el que entrega el MINEDUC. (Este requisito no será exigible para solicitar clase D)"}),a.jsx("a",{href:"https://certificados.mineduc.cl/",target:"_blank",rel:"noreferrer","aria-label":"Ir a página del MINEDUC (se abre en nueva ventana)",children:"Página MINEDUC"})]})]})},renovacion:{title:"Renovación de Licencia",label:"Conoce los requisitos para la renovación de la licencia de conducir ð",content:a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Solicitud de licencia"}),a.jsx("p",{children:a.jsx("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/tramite-licencia-conducir/4d3af22b-8fad-4341-bad2-830043176aaf.doc",target:"_blank",rel:"noreferrer","aria-label":"Descargar solicitud de licencia (se abre en nueva ventana)",children:"Descargar aqui"})})]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Declaración jurada"}),a.jsx("p",{children:a.jsx("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/tramite-licencia-conducir/ab798ed1-75df-4afc-9f2f-c37d088c6db5.docx",target:"_blank",rel:"noreferrer","aria-label":"Descargar declaración jurada (se abre en nueva ventana)",children:"Descargar aqui"})})]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Anexo 1 Declaración de salud"}),a.jsx("p",{children:a.jsx("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/tramite-licencia-conducir/e4973930-7232-47c7-b0c4-d8f37633e365.pdf",target:"_blank",rel:"noreferrer","aria-label":"Descargar anexo 1 declaración de salud (se abre en nueva ventana)",children:"Descargar aqui"})})]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Cédula de identidad"}),a.jsx("p",{children:"Fotocopia de la cédula de identidad vigente por ambos lados"})]})]})},otrosTramites:{title:"Otros Trámites",label:"Conoce otros traÌmites relacionados con la licencia de conducir",content:a.jsxs("p",{children:["Para cualquier otro trámite, se debe enviar un correo a ",a.jsx("span",{children:"[email protected]"}),", indicando el respectivo requerimiento."]})}},h=({children:g,title:v,label:x,onClose:b})=>a.jsx("div",{className:"licencia-modal",id:"licenciaModal",tabIndex:"-1",role:"dialog","aria-labelledby":"licenciaModalLabel","aria-modal":"true",children:a.jsx("div",{className:"licencia-modal-dialog",ref:o,role:"document",children:a.jsxs("div",{className:"licencia-modal-content",children:[a.jsxs("div",{className:"licencia-modal-header",children:[a.jsx("h5",{className:"licencia-modal-title",id:"licenciaModalLabel",children:v}),a.jsx("p",{className:"licencia-modal-subtitle",children:x}),a.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Cerrar modal",onClick:b})]}),a.jsx("div",{className:"licencia-modal-body",children:g}),a.jsx("div",{className:"licencia-modal-footer",children:a.jsx("button",{type:"button",className:"btn btn-secondary","data-bs-dismiss":"modal",onClick:b,"aria-label":"Cerrar modal",children:"Cerrar"})})]})})});return a.jsxs(cn,{children:[a.jsx("header",{className:"licencia-header pt-4","aria-labelledby":"licencia-title licencia-subtitle",children:a.jsxs("div",{className:"container-sm d-flex justify-content-between align-items-center",children:[a.jsxs("div",{className:"licencia-header--info",children:[a.jsx("h1",{className:"licencia-title",id:"licencia-title",children:"Licencia de Conducir"}),a.jsx("p",{className:"licencia-subtitle",id:"licencia-subtitle",children:"Conoce aquà los requisitos para la tramitación de la licencia de conducir"})]}),a.jsx("div",{className:"licencia-header--image","aria-hidden":"true",children:a.jsx("img",{src:"/imagenes/headers/licencias.png",alt:"","aria-hidden":"true"})})]})}),a.jsxs("article",{className:"licencia-article container-sm pt-4","aria-labelledby":"licencia-article--title",children:[a.jsx("h2",{className:"licencia-article--title",id:"licencia-article--title",children:"Alternativas"}),a.jsxs("div",{className:"licencia-article--subtitle",children:[a.jsxs("p",{children:[a.jsx("img",{src:"/iconos/advertencia.png",alt:"Icono de advertencia",className:"me-2",width:20,height:20}),"Las solicitudes de licencia de conducir deben ser realizadas mediante el correo electrónico: ",a.jsxs("span",{children:[" [email protected] ",a.jsx("img",{src:"/iconos/copy.png",alt:"Copiar correo electrónico",onClick:c,role:"button","aria-label":"Copiar correo electrónico al portapapeles"})]})]}),a.jsx("p",{children:"Debes adjuntar los documentos solicitados al correo electrónico indicado. Luego de procesar tu solicitud, se tomará contacto por el mismo medio."})]}),a.jsxs("div",{className:"licencia-alternativas",children:[a.jsxs("div",{className:"licencia-alternativa",children:[a.jsx("h3",{children:"Obtención de Primera Licencia de Conducir"}),a.jsx("button",{"aria-label":"Ver Requisitos de Primera Licencia",onClick:()=>{u("primeraLicencia")},children:"Ver Requisitos"})]}),a.jsxs("div",{className:"licencia-alternativa",children:[a.jsx("h3",{children:"Control o Re
172novación de Licencia de Conducir"}),a.jsx("button",{"aria-label":"Ver Requisitos de Control o Renovación de Licencia",onClick:()=>{u("renovacion")},children:"Ver Requisitos"})]}),a.jsxs("div",{className:"licencia-alternativa",children:[a.jsx("h3",{children:"Otros trámites (Cambios de Domicilios, Duplicados, Ampliación de Clase, etc)"}),a.jsx("button",{"aria-label":"Ver Detalles de Otros Trámites",onClick:()=>{u("otrosTramites")},children:"Ver Detalles"})]})]})]}),s&&a.jsx(h,{title:d[s].title,label:d[s].label,onClose:()=>u(null),children:d[s].content})]})},sb=()=>a.jsx(cn,{children:a.jsxs("main",{className:"fc-container",children:[a.jsxs("header",{className:"fc-header",children:[a.jsx("h2",{className:"fc-title",children:"Aportes deportistas"}),a.jsx("p",{className:"fc-subtitle",children:"Documentos oficiales para participantes"})]}),a.jsx("section",{className:"fc-documents","aria-label":"Listado de documentos",children:a.jsxs("ul",{className:"fc-document-list",children:[a.jsx("li",{className:"fc-document-item",children:a.jsxs("div",{className:"fc-document-info",children:[a.jsx("h2",{className:"fc-document-title",children:"Bases Postulación"}),a.jsxs("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/aporte-deportistas-2025/d0830a9a-1f04-4486-a189-47a37ed4222b.pdf",className:"fc-document-link",target:"_blank",rel:"noopener noreferrer","aria-label":"Descargar Bases Postulación",children:["Descargar AquÃ",a.jsx("span",{"aria-hidden":"true",children:" â"})]})]})}),a.jsx("li",{className:"fc-document-item",children:a.jsxs("div",{className:"fc-document-info",children:[a.jsx("h2",{className:"fc-document-title",children:"Ficha Postulación"}),a.jsxs("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/aporte-deportistas-2025/29622586-3843-4fe5-9336-999a2b18a4de.pdf",className:"fc-document-link",target:"_blank",rel:"noopener noreferrer","aria-label":"Descargar Ficha Postulación",children:["Descargar AquÃ",a.jsx("span",{"aria-hidden":"true",children:" â"})]})]})}),a.jsx("li",{className:"fc-document-item",children:a.jsxs("div",{className:"fc-document-info",children:[a.jsx("h2",{className:"fc-document-title",children:"Decreto N° 11.333"}),a.jsxs("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/aporte-deportistas-2025/fab1598d-a51c-4067-92b9-612b851c6ffa.pdf",className:"fc-document-link",target:"_blank",rel:"noopener noreferrer","aria-label":"Descargar Decreto N° 11.333",children:["Descargar AquÃ",a.jsx("span",{"aria-hidden":"true",children:" â"})]})]})})]})})]})}),ob="_header_1e4o6_3",lb="_headerContainer_1e4o6_23",ub="_headerInfo_1e4o6_37",cb="_headerImage_1e4o6_47",db="_title_1e4o6_75",fb="_headerDescription_1e4o6_91",hb="_infoSection_1e4o6_107",pb="_infoContent_1e4o6_117",mb="_howToTitle_1e4o6_129",gb="_description_1e4o6_143",yb="_ctaButton_1e4o6_159",vb="_subDescription_1e4o6_199",_b="_convocatoriasSection_1e4o6_219",bb="_sectionTitle_1e4o6_227",xb="_calendarContainer_1e4o6_271",wb="_dateCard_1e4o6_287",jb="_dateBox_1e4o6_317",Cb="_dateDay_1e4o6_343",Sb="_dateMonth_1e4o6_357",kb="_eventsList_1e4o6_371",Eb="_eventItem_1e4o6_387",Nb="_eventNumber_1e4o6_415",cr={header:ob,headerContainer:lb,headerInfo:ub,headerImage:cb,title:db,headerDescription:fb,infoSection:hb,infoContent:pb,howToTitle:mb,description:gb,ctaButton:yb,subDescription:vb,convocatoriasSection:_b,sectionTitle:bb,calendarContainer:xb,dateCard:wb,dateBox:jb,dateDay:Cb,dateMonth:Sb,eventsList:kb,eventItem:Eb,eventNumber:Nb},Pb=()=>(As(),a.jsxs(cn,{children:[a.jsx("header",{className:cr.header,"aria-labelledby":"postulaciones-title",children:a.jsxs("div",{className:`container-sm ${cr.headerContainer}`,children:[a.jsxs("div",{className:cr.headerInfo,children:[a.jsx("h1",{className:cr.title,id:"postulaciones-title",children:"Convocatorias en lÃnea"}),a.jsx("p",{className:cr.headerDescription,children:"Conoce las convocatorias disponibles para participar en lÃnea"})]}),a.jsx("div",{className:cr.headerImage,"aria-hidden":"true",children:a.jsx("img",{src:"/imagenes/headers/postulaciones.png",alt:"","aria-hidden":"true"})})]})}),a.jsx("section",{className:`container-sm ${cr.infoSection}`,"aria-label":"Información de postulación",children:a.jsxs("div",{className:cr.infoContent,children:[a.jsx("h2",{className:cr.howToTitle,children:"¿Cómo postular en lÃnea?"}),a.jsx("p",{className:cr.description,children:"Para participar en una convocatoria, primero debes ingresar al portal oficial. Ahà podrás seleccionar el trámite de tu interés, ingresar tu RUT y correo electrónico. Recibirás un enlace de acceso único (válido por 24 horas) para completar tu postulación de forma segura."}),new Date>=new Date("2026-02-02T08:00:00-03:00")&&a.jsx("a",{href:"https://convocatorias.municipalida
172dsanvicente.cl/",target:"_blank",rel:"noopener noreferrer",className:cr.ctaButton,children:"Haz click aquà para ir al portal de convocatorias"}),a.jsx("p",{className:cr.subDescription,children:"Si necesitas retomar una solicitud en proceso, ingresa nuevamente tu RUT en el portal y recibirás un nuevo enlace de acceso."})]})})]})),Ob=()=>a.jsx(j.Suspense,{fallback:a.jsx(dr,{}),children:a.jsxs(Ha,{children:[a.jsx(De,{path:"postulaciones",element:a.jsx(Pb,{})}),a.jsx(De,{path:"atencion-al-vecino",element:a.jsx(ib,{})}),a.jsx(De,{path:"licencia-de-conducir",element:a.jsx(ab,{})}),a.jsx(De,{path:"aporte-deportistas",element:a.jsx(sb,{})}),a.jsx(De,{path:"*",element:a.jsx(ia,{})})]})}),Tb=[{color:"red",flex:2},{color:"black",flex:3},{color:"green",flex:1},{color:"orange",flex:1}],ud=({children:s,titulo:u,subtitulo:o})=>{const{theme:c}=j.useContext(bu),d=j.useRef(null);j.useEffect(()=>{d.current&&d.current.focus()},[]);const h={backgroundColor:c==="light"?"#f1f5f8":"#000",color:c==="light"?"#000":"#f1f5f8"},g={backgroundColor:c==="light"?"#fff":"#202020",color:c==="light"?"#000":"#fff",border:c==="light"?"none":"1px solid #fff"};return a.jsx("article",{className:"content-container",style:h,ref:d,tabIndex:"-1","aria-labelledby":"lyt-content-title",children:a.jsxs("article",{className:"content-article container-sm",style:g,"aria-label":"Contenido principal",children:[a.jsxs("header",{className:"content-article--header",children:[a.jsx("h2",{id:"lyt-content-title",className:"content-article--h2",children:u}),a.jsx(ld,{segments:Tb,height:5,width:30,"aria-hidden":"true"}),o&&a.jsx("p",{className:"content-article--p","aria-describedby":"lyt-content-title",children:o})]}),a.jsx("section",{"aria-labelledby":"lyt-content-title",children:s})]})})},Lb=[{color:"black",flex:2},{color:"orange",flex:1},{color:"red",flex:3},{color:"green",flex:1}],Ib=()=>a.jsx(cn,{children:a.jsx(ud,{titulo:"Transferencia de fondos públicos",subtitulo:"Ãltima actualización: 27 de septiembre del 2014",children:a.jsxs("section",{className:"fondos-section",children:[a.jsx("p",{className:"fondos-text",children:"Transferencias de fondos públicos efectuadas, incluyendo todo aporte económico entregado a personas jurÃdicas o naturales, directamente o mediante procedimientos concursales, sin que éstas o aquéllas realicen una contraprestación recÃproca en bienes o servicios."}),a.jsx("p",{className:"fondos-text",children:"El Registro Central de Colaboradores del Estado tiene como finalidad el recopilar y publicar las transferencias de fondos públicos que se efectúan desde la administración del Estado a instituciones, fundaciones, corporaciones, organizaciones sin fines de lucro y otras personas jurÃdicas."}),a.jsx("p",{className:"fondos-text",children:"Se incluyen en este registro las donaciones sujetas a franquicias tributarias que señala el Art. 2º de la ley Nº 19862."}),a.jsx("p",{className:"fondos-text",children:"La ley Nº 19862 y su reglamento, establecen la obligación de crear registros institucionales a todos los servicios, instituciones públicas y municipalidades que efectúan transferencias de fondos."}),a.jsx("p",{className:"fondos-text",children:"Además la ley contiene la obligación de crear un Registro Central que recopile y haga pública esta información a quien desee consultarla."}),a.jsx(ld,{segments:Lb,height:5,width:30}),a.jsxs("table",{className:"table mt-3",children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{scope:"col",children:"Descripción"}),a.jsx("th",{scope:"col",children:"Link"})]})}),a.jsx("tbody",{children:a.jsxs("tr",{children:[a.jsx("td",{children:"Acceso al portal de Transferencias reguladas por la Ley Nº 19.862"}),a.jsx("td",{children:a.jsx("a",{className:"fondos-link",href:"https://www.registros19862.cl/institucion/69081000",target:"_blank",rel:"noopener noreferrer",children:"Click aqui ðï¸"})})]})})]})]})})}),Ab=()=>a.jsx(cn,{children:a.jsx(ud,{titulo:"Estados financieros",subtitulo:"Municipalidad de San Vicente de Tagua Tagua",children:"Estados"})}),Rb=[{id:"lobby1",question:"¿Qué se entiende por lobby?",answer:`Lobby son las gestiones o actividades pagadas que hacen personas o entidades, chilenas o extranjeras, para promover, defender o representar cualquier interés particular o para influir en las decisiones que en el ejercicio de sus funciones, deban adoptar algunas autoridades y funcionarios. 173 Los lobistas buscan influir en la toma de decisiones y en los cambios a las polÃticas públicas y los planes o programas que están en discusión o en desarrollo, o sobre cualquier medida implementada o materia que deba ser resuelta por el funcionario, la autoridad o el organismo público correspondiente, o bien para evitar tales decisiones, cambios y medidas.`},{id:"lobby2",question:"¿Qué se busca a través de la Ley del lobby?",answer:"Se busca regular la actividad de lobby y demás gestiones que representen intereses particulares, con el objeto de fortalecer la transparencia y probidad."},{id:"lobby3",question:"¿Qué es un lobbista?",answer:"Es la persona natural (hombre o mujer) o persona jurÃdica (entidad), chilena o extranjera, remunerada, que hace lobby. Si no recibe pago se llama gestor de intereses particulares, sean éstos individuales o colectivos."},{id:"lobby4",question:"¿Quiénes son contactados para ser objeto de lobby?",answer:`Las personas que en razón de su función o cargo tienen atribuciones para tomar decisiones relevantes y las personas que puedan influir decisivamente en quienes tienen esas atribuciones y que reciben regularmente una remuneración. La ley señala los siguientes cargos: ministros, subsecretarios, jefes de servicios, directores regionales de los servicios públicos, intendentes y gobernadores, secretarios regionales ministeriales y los embajadores, además de los jefes de gabinete de esas mismas autoridades. 174 Entre los funcionarios de la administración local, reciben lobby los consejeros regionales, los alcaldes, los concejales, los secretarios ejecutivos de los consejos regionales, los directores de obras municipales y los secretarios municipales. 175 Las instituciones que menciona la ley podrán agregar sujetos pasivos (es decir, los que reciben lobby) mediante resoluciones o acuerdos propios, informados en una resolución que se publique anualmente en los sitios web de esas entidades.`},{id:"lobby5",question:"¿Qué actividades quedan reguladas?",answer:`Se regulan actividades como la dictación, modificación y derogación de actos administrativos y leyes, y de decisiones de las autoridades y funcionarios. También las decisiones que adopta el Congreso Nacional, sus integrantes y sus comisiones, asà como la celebración, modificación o el término de contratos y el diseño, implementación y evaluación de polÃticas, planes y programas. 176 La ley considera también aquellas actividades destinadas a buscar que no se tomen esas mismas decisiones.`},{id:"lobby6",question:"¿Hay actividades que no quedan reguladas por la ley del lobby?",answer:`No quedan reguladas por la ley del lobby, los planteamientos o las peticiones realizados en reuniones o asambleas públicas y aquellos que tengan estricta relación con el trabajo en terreno propio de las tareas de representación realizadas por una autoridad, además de las declaraciones, actuaciones o comunicaciones que hagan los funcionarios o autoridades en el ejercicio de sus funciones. 177 Tampoco son materia de la ley, las peticiones verbales o escritas que se hagan a la autoridad o funcionario para obtener información sobre un procedimiento. Tampoco es tema de la ley si una autoridad o funcionario pide información para tomar una determinación en el ámbito de su competencia. 178 Tampoco son lobby algunas actuaciones que hacen las personas o sus parientes en procesos administrativos ni las asesorÃas contratadas a profesionales e investigadores de asociaciones sin fines de lucro, corporaciones, fundaciones, universidades, centros de estudios y de cualquier otra entidad análoga, asà como las invitaciones que dichas instituciones extiendan a cualquier funcionario de un órgano del Estado. 179 No es lobby la defensa en un juicio ni el patrocinio de causas judiciales. No lo son tampoco las declaraciones hechas ante una comisión parlamentaria y las invitaciones que funcionarios y autoridades hacen a reuniones técnicas a profesionales de asociaciones sin fines de lucro, corporaciones, fundaciones, universidades, centros de estudios y de cualquier otra entidad análoga.`},{id:"lobby7",question:"¿Se obliga a las autoridades a dar a conocer sus agendas?",answer:"Las instituciones y entidades que reciben el lobby deben mantener un registro público de sus agendas públicas, audiencias y reuniones."},{id:"lobby8",question:"¿Qué pasa con los viajes de las autoridades y funcionarios?",answer:`Debe registrarse los viajes realizados en el ejercicio de sus funciones por las autoridades y funcionarios señalados por la ley asà como de los donativos oficiales y protocolares que reciban. 180 Sólo queda exceptuada la difusión de los viajes cuando afecte el interés general de la Nación o la seguridad nacional.`},{id:"lobby9",question:"¿Qué se entiende por igualdad de trato?",answer:"Significa que las autoridades y funcionarios señalados deben mantener igualdad de trato respecto de las personas, organizaciones y entidades que soliciten audiencias sobre una misma materia."},{id:"lobby10",question:"¿Qué obligaciones tienen las personas y entidades que hacen lobby?",answer:`Deben entregar de manera oportuna y veraz a las autoridades y funcionarios respectivos, la información que se les pida, tanto para solicitar audiencias o reuniones, como para efectos de su publicación. Además, deben informar a quien solicitan la reunión o audie
180ncia, el nombre de las personas a quienes representan y si reciben remuneración por las gestiones. 181 Cuando quien hace el lobby es una persona jurÃdica (empresa o entidad) debe proporcionar la información que se le solicite respecto de su estructura y conformación. 182 Se multará a quien no entregue la información o entregue datos falsos o inexactos.`},{id:"lobby11",question:"¿Qué es el registro público de lobistas?",answer:"El registro público de lobbistas y de gestores de intereses particulares es un documento que debe tener cada uno de los órganos e instituciones que señala la ley. El registro será administrado por éstos y a él se incorporarán las personas naturales o jurÃdicas, chilenas o extranjeras, que desempeñen las actividades de lobby. A esos registros pueden ingresar quienes ejercen el lobby inscribiéndose o automáticamente en cuanto realicen una actividad de lobby ante una autoridad o funcionario."},{id:"lobby12",question:"¿Cuándo rige la ley?",answer:"El reglamento de la ley del Lobby fue publicado el 28 de agosto de 2014, con la firma de la Presidenta de la República. A partir de esa fecha, hay un plazo de tres meses para que comience a regir la ley."},{id:"lobby13",question:"¿Qué dice la ley sobre sanciones?",answer:`La infracción de las normas de la ley del lobby hará incurrir en responsabilidad y traerá consigo las sanciones administrativas que la ley determina. Los procedimientos son distintos, según la naturaleza del organismo. Se contemplan sanciones tanto para quienes reciben el lobby como para las personas o entidades que lo ejercen. 183 Las sanciones a los funcionarios quedan en su hoja de vida y deben ser publicadas en los sitios web de los organismos públicos.`}];var su={exports:{}};/*! 184 * Bootstrap v5.3.3 (https://getbootstrap.com/) 185 * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 186 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 187 */var Db=su.exports,eh;function Mb(){return eh||(eh=1,function(s,u){(function(o,c){s.exports=c()})(Db,function(){const o=new Map,c={set(m,i,p){o.has(m)||o.set(m,new Map);const _=o.get(m);_.has(i)||_.size===0?_.set(i,p):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(_.keys())[0]}.`)},get:(m,i)=>o.has(m)&&o.get(m).get(i)||null,remove(m,i){if(!o.has(m))return;const p=o.get(m);p.delete(i),p.size===0&&o.delete(m)}},d="transitionend",h=m=>(m&&window.CSS&&window.CSS.escape&&(m=m.replace(/#([^\s"#']+)/g,(i,p)=>`#${CSS.escape(p)}`)),m),g=m=>{m.dispatchEvent(new Event(d))},v=m=>!(!m||typeof m!="object")&&(m.jquery!==void 0&&(m=m[0]),m.nodeType!==void 0),x=m=>v(m)?m.jquery?m[0]:m:typeof m=="string"&&m.length>0?document.querySelector(h(m)):null,b=m=>{if(!v(m)||m.getClientRects().length===0)return!1;const i=getComputedStyle(m).getPropertyValue("visibility")==="visible",p=m.closest("details:not([open])");if(!p)return i;if(p!==m){const _=m.closest("summary");if(_&&_.parentNode!==p||_===null)return!1}return i},S=m=>!m||m.nodeType!==Node.ELEMENT_NODE||!!m.classList.contains("disabled")||(m.disabled!==void 0?m.disabled:m.hasAttribute("disabled")&&m.getAttribute("disabled")!=="false"),E=m=>{if(!document.documentElement.attachShadow)return null;if(typeof m.getRootNode=="function"){const i=m.getRootNode();return i instanceof ShadowRoot?i:null}return m instanceof ShadowRoot?m:m.parentNode?E(m.parentNode):null},L=()=>{},O=m=>{m.offsetHeight},A=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,F=[],q=()=>document.documentElement.dir==="rtl",U=m=>{var i;i=()=>{const p=A();if(p){const _=m.NAME,k=p.fn[_];p.fn[_]=m.jQueryInterface,p.fn[_].Constructor=m,p.fn[_].noConflict=()=>(p.fn[_]=k,m.jQueryInterface)}},document.readyState==="loading"?(F.length||document.addEventListener("DOMContentLoaded",()=>{for(const p of F)p()}),F.push(i)):i()},V=(m,i=[],p=m)=>typeof m=="function"?m(...i):p,Y=(m,i,p=!0)=>{if(!p)return void V(m);const _=($=>{if(!$)return 0;let{transitionDuration:H,transitionDelay:re}=window.getComputedStyle($);const pe=Number.parseFloat(H),me=Number.parseFloat(re);return pe||me?(H=H.split(",")[0],re=re.split(",")[0],1e3*(Number.parseFloat(H)+Number.parseFloat(re))):0})(i)+5;let k=!1;const I=({target:$})=>{$===i&&(k=!0,i.removeEventListener(d,I),V(m))};i.addEventListener(d,I),setTimeout(()=>{k||g(i)},_)},ye=(m,i,p,_)=>{const k=m.length;let I=m.indexOf(i);
vendor: 14,440 bytes, line 187
187return I===-1?!p&&_?m[k-1]:m[0]:(I+=p?1:-1,_&&(I=(I+k)%k),m[Math.max(0,Math.min(I,k-1))])},oe=/[^.]*(?=\..*)\.|.*/,le=/\..*/,we=/::\d+$/,ae={};let ue=1;const he={mouseenter:"mouseover",mouseleave:"mouseout"},Be=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Qe(m,i){return i&&`${i}::${ue++}`||m.uidEvent||ue++}function Ge(m){const i=Qe(m);return m.uidEvent=i,ae[i]=ae[i]||{},ae[i]}function Ke(m,i,p=null){return Object.values(m).find(_=>_.callable===i&&_.delegationSelector===p)}function it(m,i,p){const _=typeof i=="string",k=_?p:i||p;let I=ce(m);return Be.has(I)||(I=m),[_,k,I]}function qe(m,i,p,_,k){if(typeof i!="string"||!m)return;let[I,$,H]=it(i,p,_);i in he&&($=(ge=>function(Pe){if(!Pe.relatedTarget||Pe.relatedTarget!==Pe.delegateTarget&&!Pe.delegateTarget.contains(Pe.relatedTarget))return ge.call(this,Pe)})($));const re=Ge(m),pe=re[H]||(re[H]={}),me=Ke(pe,$,I?p:null);if(me)return void(me.oneOff=me.oneOff&&k);const se=Qe($,i.replace(oe,"")),Le=I?function(Se,ge,Pe){return function ze(ct){const gt=Se.querySelectorAll(ge);for(let{target:We}=ct;We&&We!==this;We=We.parentNode)for(const rt of gt)if(rt===We)return T(ct,{delegateTarget:We}),ze.oneOff&&N.off(Se,ct.type,ge,Pe),Pe.apply(We,[ct])}}(m,p,$):function(Se,ge){return function Pe(ze){return T(ze,{delegateTarget:Se}),Pe.oneOff&&N.off(Se,ze.type,ge),ge.apply(Se,[ze])}}(m,$);Le.delegationSelector=I?p:null,Le.callable=$,Le.oneOff=k,Le.uidEvent=se,pe[se]=Le,m.addEventListener(H,Le,I)}function Ue(m,i,p,_,k){const I=Ke(i[p],_,k);I&&(m.removeEventListener(p,I,!!k),delete i[p][I.uidEvent])}function te(m,i,p,_){const k=i[p]||{};for(const[I,$]of Object.entries(k))I.includes(_)&&Ue(m,i,p,$.callable,$.delegationSelector)}function ce(m){return m=m.replace(le,""),he[m]||m}const N={on(m,i,p,_){qe(m,i,p,_,!1)},one(m,i,p,_){qe(m,i,p,_,!0)},off(m,i,p,_){if(typeof i!="string"||!m)return;const[k,I,$]=it(i,p,_),H=$!==i,re=Ge(m),pe=re[$]||{},me=i.startsWith(".");if(I===void 0){if(me)for(const se of Object.keys(re))te(m,re,se,i.slice(1));for(const[se,Le]of Object.entries(pe)){const Se=se.replace(we,"");H&&!i.includes(Se)||Ue(m,re,$,Le.callable,Le.delegationSelector)}}else{if(!Object.keys(pe).length)return;Ue(m,re,$,I,k?p:null)}},trigger(m,i,p){if(typeof i!="string"||!m)return null;const _=A();let k=null,I=!0,$=!0,H=!1;i!==ce(i)&&_&&(k=_.Event(i,p),_(m).trigger(k),I=!k.isPropagationStopped(),$=!k.isImmediatePropagationStopped(),H=k.isDefaultPrevented());const re=T(new Event(i,{bubbles:I,cancelable:!0}),p);return H&&re.preventDefault(),$&&m.dispatchEvent(re),re.defaultPrevented&&k&&k.preventDefault(),re}};function T(m,i={}){for(const[p,_]of Object.entries(i))try{m[p]=_}catch{Object.defineProperty(m,p,{configurable:!0,get:()=>_})}return m}function Q(m){if(m==="true")return!0;if(m==="false")return!1;if(m===Number(m).toString())return Number(m);if(m===""||m==="null")return null;if(typeof m!="string")return m;try{return JSON.parse(decodeURIComponent(m))}catch{return m}}function be(m){return m.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const je={setDataAttribute(m,i,p){m.setAttribute(`data-bs-${be(i)}`,p)},removeDataAttribute(m,i){m.removeAttribute(`data-bs-${be(i)}`)},getDataAttributes(m){if(!m)return{};const i={},p=Object.keys(m.dataset).filter(_=>_.startsWith("bs")&&!_.startsWith("bsConfig"));for(const _ of p){let k=_.replace(/^bs/,"");k=k.charAt(0).toLowerCase()+k.slice(1,k.length),i[k]=Q(m.dataset[_])}return i},getDataAttribute:(m,i)=>Q(m.getAttribute(`data-bs-${be(i)}`))};class Ie{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,p){const _=v(p)?je.getDataAttribute(p,"config"):{};return{...this.constructor.Default,...typeof _=="object"?_:{},...v(p)?je.getDataAttributes(p):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,p=this.constructor.DefaultType){for(const[k,I]of Object.entries(p)){const $=i[k],H=v($)?"element":(_=$)==null?`${_}`:Object.prototype.toString.call(_).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(I).test(H))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${k}" provided type "${H}" but expected type "${I}".`)}var _}}class Te extends Ie{constructor(i,p){super(),(i=x(i))&&(this._element=i,this._config=this._getConfig(p),c.set(this._element,this.constructor.DATA_KEY,this))}dispose(){c.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,p,_=!0){Y(i,p,_)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return c.get(x(i),this.DATA_KEY)}static getOrCreateInstance(i,p={}){return this.getInstance(i)||new this(i,typeof p=="object"?p:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(i){return`${i}${this.EVENT_KEY}`}}const et=m=>{let i=m.getAttribute("data-bs-target");if(!i||i==="#"){let p=m.getAttribute("href");if(!p||!p.includes("#")&&!p.startsWith("."))return null;p.includes("#")&&!p.startsWith("#")&&(p=`#${p.split("#")[1]}`),i=p&&p!=="#"?p.trim():null}return i?i.split(",").map(p=>h(p)).join(","):null},ne={find:(m,i=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(i,m)),findOne:(m,i=document.documentElement)=>Element.prototype.querySelector.call(i,m),children:(m,i)=>[].concat(...m.children).filter(p=>p.matches(i)),parents(m,i){const p=[];let _=m.parentNode.closest(i);for(;_;)p.push(_),_=_.parentNode.closest(i);return p},prev(m,i){let p=m.previousElementSibling;for(;p;){if(p.matches(i))return[p];p=p.previousElementSibling}return[]},next(m,i){let p=m.nextElementSibling;for(;p;){if(p.matches(i))return[p];p=p.nextElementSibling}return[]},focusableChildren(m){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(p=>`${p}:not([tabindex^="-"])`).join(",");return this.find(i,m).filter(p=>!S(p)&&b(p))},getSelectorFromElement(m){const i=et(m);return i&&ne.findOne(i)?i:null},getElementFromSelector(m){const i=et(m);return i?ne.findOne(i):null},getMultipleElementsFromSelector(m){const i=et(m);return i?ne.find(i):[]}},tt=(m,i="hide")=>{const p=`click.dismiss${m.EVENT_KEY}`,_=m.NAME;N.on(document,p,`[data-bs-dismiss="${_}"]`,function(k){if(["A","AREA"].includes(this.tagName)&&k.preventDefault(),S(this))return;const I=ne.getElementFromSelector(this)||this.closest(`.${_}`);m.getOrCreateInstance(I)[i]()})},St=".bs.alert",Pt=`close${St}`,an=`closed${St}`;class kt extends Te{static get NAME(){return"alert"}close(){if(N.trigger(this._element,Pt).defaultPrevented)return;this._element.classList.remove("show");const i=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,i)}_destroyElement(){this._element.remove(),N.trigger(this._element,an),this.dispose()}static jQueryInterface(i){return this.each(function(){const p=kt.getOrCreateInstance(this);if(typeof i=="string"){if(p[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);p[i](this)}})}}tt(kt,"close"),U(kt);const bi='[data-bs-toggle="button"]';class fr extends Te{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(i){return this.each(function(){const p=fr.getOrCreateInstance(this);i==="toggle"&&p[i]()})}}N.on(document,"click.bs.button.data-api",bi,m=>{m.preventDefault();const i=m.target.closest(bi);fr.getOrCreateInstance(i).toggle()}),U(fr);const Qn=".bs.swipe",aa=`touchstart${Qn}`,Xr=`touchmove${Qn}`,sa=`touchend${Qn}`,Nr=`pointerdown${Qn}`,Hn=`pointerup${Qn}`,Pr={endCallback:null,leftCallback:null,rightCallback:null},xi={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Jr extends Ie{constructor(i,p){super(),this._element=i,i&&Jr.isSupported()&&(this._config=this._getConfig(p),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Pr}static get DefaultType(){return xi}static get NAME(){return"swipe"}dispose(){N.off(this._element,Qn)}_start(i){this._supportPointerEvents?this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX):this._deltaX=i.touches[0].clientX}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),V(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=40)return;const p=i/this._deltaX;this._deltaX=0,p&&V(p>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(N.on(this._element,Nr,i=>this._start(i)),N.on(this._element,Hn,i=>this._end(i)),this._element.classList.add("pointer-event")):(N.on(this._element,aa,i=>this._start(i)),N.on(this._element,Xr,i=>this._move(i)),N.on(this._element,sa,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType==="pen"||i.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const K=".bs.carousel",D=".data-api",X="next",J="prev",Me="left",Fe="right",Je=`slide${K}`,B=`slid${K}`,W=`keydown${K}`,xe=`mouseenter${K}`,ve=`mouseleave${K}`,de=`dragstart${K}`,He=`load${K}${D}`,yt=`click${K}${D}`,pt="carousel",nt="active",xt=".active",mt=".carousel-item",Dt=xt+mt,hr={ArrowLeft:Fe,ArrowRight:Me},Wn={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Zr={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Kn extends Te{constructor(i,p){super(i,p),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ne.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===pt&&this.cycle()}static get Default(){return Wn}static get DefaultType(){return Zr}static get NAME(){return"carousel"}next(){this._slide(X)}nextWhenVisible(){!document.hidden&&b(this._element)&&this.next()}prev(){this._slide(J)}pause(){this._isSliding&&g(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?N.one(this._element,B,()=>this.cycle()):this.cycle())}to(i){const p=this._getItems();if(i>p.length-1||i<0)return;if(this._isSliding)return void N.one(this._element,B,()=>this.to(i));const _=this._getItemIndex(this._getActive());if(_===i)return;const k=i>_?X:J;this._slide(k,p[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&N.on(this._element,W,i=>this._keydown(i)),this._config.pause==="hover"&&(N.on(this._element,xe,()=>this.pause()),N.on(this._element,ve,()=>this._maybeEnableCycle())),this._config.touch&&Jr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const p of ne.find(".carousel-item img",this._element))N.on(p,de,_=>_.preventDefault());const i={leftCallback:()=>this._slide(this._directionToOrder(Me)),rightCallback:()=>this._slide(this._directionToOrder(Fe)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Jr(this._element,i)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const p=hr[i.key];p&&(i.preventDefault(),this._slide(this._directionToOrder(p)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const p=ne.findOne(xt,this._indicatorsElement);p.classList.remove(nt),p.removeAttribute("aria-current");const _=ne.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);_&&(_.classList.add(nt),_.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const p=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=p||this._config.defaultInterval}_slide(i,p=null){if(this._isSliding)return;const _=this._getActive(),k=i===X,I=p||ye(this._getItems(),_,k,this._config.wrap);if(I===_)return;const $=this._getItemIndex(I),H=se=>N.trigger(this._element,se,{relatedTarget:I,direction:this._orderToDirection(i),from:this._getItemIndex(_),to:$});if(H(Je).defaultPrevented||!_||!I)return;const re=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement($),this._activeElement=I;const pe=k?"carousel-item-start":"carousel-item-end",me=k?"carousel-item-next":"carousel-item-prev";I.classList.add(me),O(I),_.classList.add(pe),I.classList.add(pe),this._queueCallback(()=>{I.classList.remove(pe,me),I.classList.add(nt),_.classList.remove(nt,me,pe),this._isSliding=!1,H(B)},_,this._isAnimated()),re&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return ne.findOne(Dt,this._element)}_getItems(){return ne.find(mt,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return q()?i===Me?J:X:i===Me?X:J}_orderToDirection(i){return q()?i===J?Me:Fe:i===J?Fe:Me}static jQueryInterface(i){return this.each(function(){const p=Kn.getOrCreateInstance(this,i);if(typeof i!="number"){if(typeof i=="string"){if(p[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method n
187amed "${i}"`);p[i]()}}else p.to(i)})}}N.on(document,yt,"[data-bs-slide], [data-bs-slide-to]",function(m){const i=ne.getElementFromSelector(this);if(!i||!i.classList.contains(pt))return;m.preventDefault();const p=Kn.getOrCreateInstance(i),_=this.getAttribute("data-bs-slide-to");return _?(p.to(_),void p._maybeEnableCycle()):je.getDataAttribute(this,"slide")==="next"?(p.next(),void p._maybeEnableCycle()):(p.prev(),void p._maybeEnableCycle())}),N.on(window,He,()=>{const m=ne.find('[data-bs-ride="carousel"]');for(const i of m)Kn.getOrCreateInstance(i)}),U(Kn);const Gn=".bs.collapse",Ao=`show${Gn}`,oa=`shown${Gn}`,Rs=`hide${Gn}`,la=`hidden${Gn}`,xu=`click${Gn}.data-api`,ei="show",pr="collapse",ti="collapsing",Ds=`:scope .${pr} .${pr}`,Ms='[data-bs-toggle="collapse"]',wu={parent:null,toggle:!0},ju={parent:"(null|element)",toggle:"boolean"};class kn extends Te{constructor(i,p){super(i,p),this._isTransitioning=!1,this._triggerArray=[];const _=ne.find(Ms);for(const k of _){const I=ne.getSelectorFromElement(k),$=ne.find(I).filter(H=>H===this._element);I!==null&&$.length&&this._triggerArray.push(k)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return wu}static get DefaultType(){return ju}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(k=>k!==this._element).map(k=>kn.getOrCreateInstance(k,{toggle:!1}))),i.length&&i[0]._isTransitioning||N.trigger(this._element,Ao).defaultPrevented)return;for(const k of i)k.hide();const p=this._getDimension();this._element.classList.remove(pr),this._element.classList.add(ti),this._element.style[p]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const _=`scroll${p[0].toUpperCase()+p.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ti),this._element.classList.add(pr,ei),this._element.style[p]="",N.trigger(this._element,oa)},this._element,!0),this._element.style[p]=`${this._element[_]}px`}hide(){if(this._isTransitioning||!this._isShown()||N.trigger(this._element,Rs).defaultPrevented)return;const i=this._getDimension();this._element.style[i]=`${this._element.getBoundingClientRect()[i]}px`,O(this._element),this._element.classList.add(ti),this._element.classList.remove(pr,ei);for(const p of this._triggerArray){const _=ne.getElementFromSelector(p);_&&!this._isShown(_)&&this._addAriaAndCollapsedClass([p],!1)}this._isTransitioning=!0,this._element.style[i]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ti),this._element.classList.add(pr),N.trigger(this._element,la)},this._element,!0)}_isShown(i=this._element){return i.classList.contains(ei)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=x(i.parent),i}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(Ms);for(const p of i){const _=ne.getElementFromSelector(p);_&&this._addAriaAndCollapsedClass([p],this._isShown(_))}}_getFirstLevelChildren(i){const p=ne.find(Ds,this._config.parent);return ne.find(i,this._config.parent).filter(_=>!p.includes(_))}_addAriaAndCollapsedClass(i,p){if(i.length)for(const _ of i)_.classList.toggle("collapsed",!p),_.setAttribute("aria-expanded",p)}static jQueryInterface(i){const p={};return typeof i=="string"&&/show|hide/.test(i)&&(p.toggle=!1),this.each(function(){const _=kn.getOrCreateInstance(this,p);if(typeof i=="string"){if(_[i]===void 0)throw new TypeError(`No method named "${i}"`);_[i]()}})}}N.on(document,xu,Ms,function(m){(m.target.tagName==="A"||m.delegateTarget&&m.delegateTarget.tagName==="A")&&m.preventDefault();for(const i of ne.getMultipleElementsFromSelector(this))kn.getOrCreateInstance(i,{toggle:!1}).toggle()}),U(kn);var Kt="top",dn="bottom",vn="right",Gt="left",ua="auto",ni=[Kt,dn,vn,Gt],Or="start",wi="end",Ro="clippingParents",Et="viewport",ji="popper",Wa="reference",Ka=ni.reduce(function(m,i){return m.concat([i+"-"+Or,i+"-"+wi])},[]),Ci=[].concat(ni,[ua]).reduce(function(m,i){return m.concat([i,i+"-"+Or,i+"-"+wi])},[]),Do="beforeRead",Fs="read",ca="afterRead",Bn="beforeMain",Mo="main",En="afterMain",Fo="beforeWrite",zo="write",$o="afterWrite",da=[Do,Fs,ca,Bn,Mo,En,Fo,zo,$o];function _n(m){return m?(m.nodeName||"").toLowerCase():null}function qt(m){if(m==null)return window;if(m.toString()!=="[object Window]"){var i=m.ownerDocument;return i&&i.defaultView||window}return m}function Yn(m){return m instanceof qt(m).Element||m instanceof Element}function Nn(m){return m instanceof qt(m).HTMLElement||m instanceof HTMLElement}function zs(m){return typeof ShadowRoot<"u"&&(m instanceof qt(m).ShadowRoot||m instanceof ShadowRoot)}const fa={name:"applyStyles",enabled:!0,phase:"write",fn:function(m){var i=m.state;
vendor: 1,909 bytes, line 187
187Object.keys(i.elements).forEach(function(p){var _=i.styles[p]||{},k=i.attributes[p]||{},I=i.elements[p];Nn(I)&&_n(I)&&(Object.assign(I.style,_),Object.keys(k).forEach(function($){var H=k[$];H===!1?I.removeAttribute($):I.setAttribute($,H===!0?"":H)}))})},effect:function(m){var i=m.state,p={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,p.popper),i.styles=p,i.elements.arrow&&Object.assign(i.elements.arrow.style,p.arrow),function(){Object.keys(i.elements).forEach(function(_){var k=i.elements[_],I=i.attributes[_]||{},$=Object.keys(i.styles.hasOwnProperty(_)?i.styles[_]:p[_]).reduce(function(H,re){return H[re]="",H},{});Nn(k)&&_n(k)&&(Object.assign(k.style,$),Object.keys(I).forEach(function(H){k.removeAttribute(H)}))})}},requires:["computeStyles"]};function qn(m){return m.split("-")[0]}var mr=Math.max,Tr=Math.min,Si=Math.round;function ha(){var m=navigator.userAgentData;return m!=null&&m.brands&&Array.isArray(m.brands)?m.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function ot(){return!/^((?!chrome|android).)*safari/i.test(ha())}function ri(m,i,p){i===void 0&&(i=!1),p===void 0&&(p=!1);var _=m.getBoundingClientRect(),k=1,I=1;i&&Nn(m)&&(k=m.offsetWidth>0&&Si(_.width)/m.offsetWidth||1,I=m.offsetHeight>0&&Si(_.height)/m.offsetHeight||1);var $=(Yn(m)?qt(m):window).visualViewport,H=!ot()&&p,re=(_.left+(H&&$?$.offsetLeft:0))/k,pe=(_.top+(H&&$?$.offsetTop:0))/I,me=_.width/k,se=_.height/I;return{width:me,height:se,top:pe,right:re+me,bottom:pe+se,left:re,x:re,y:pe}}function Ga(m){var i=ri(m),p=m.offsetWidth,_=m.offsetHeight;return Math.abs(i.width-p)<=1&&(p=i.width),Math.abs(i.height-_)<=1&&(_=i.height),{x:m.offsetLeft,y:m.offsetTop,width:p,height:_}}function Ya(m,i){var p=i.getRootNode&&i.getRootNode();if(m.contains(i))return!0;if(p&&zs(p)){var _=i;
187do{if(_&&m.isSameNode(_))return!0;_=_.parentNode||_.host}while(_)}return!1}function Xn(m){return qt(m).getComputedStyle(m)}function Bo(m){return["table","td","th"].indexOf(_n(m))>=0}function gr(m){return((Yn(m)?m.ownerDocument:m.document)||window.document).documentElement}function ki(m){return _n(m)==="html"?m:m.assignedSlot||m.parentNode||(zs(m)?m.host:null)||gr(m)}function pa(m){return Nn(m)&&Xn(m).position!=="fixed"?m.offsetParent:null}function Pn(m){for(var i=qt(m),p=pa(m);p&&Bo(p)&&Xn(p).position==="static";)p=pa(p);return p&&(_n(p)==="html"||_n(p)==="body"&&Xn(p).position==="static")?i:p||function(_){var k=/firefox/i.test(ha());if(/Trident/i.test(ha())&&Nn(_)&&Xn(_).position==="fixed")return null;var I=ki(_);for(zs(I)&&(I=I.host);Nn(I)&&["html","body"].indexOf(_n(I))<0;){var $=Xn(I);if($.transform!=="none"||$.perspective!=="none"||$.contain==="paint"||["transform","perspective"].indexOf($.willChange)!==-1||k&&$.willChange==="filter"||k&&$.filter&&$.filter!=="none")return I;I=I.parentNode}return null}(m)||i}function Jn(m){return["top","bottom"].indexOf(m)>=0?"x":"y"}function On(m,i,p){return mr(m,Tr(i,p))}function Ei(m){return Object.assign({},{top:0,right:0,bottom:0,left:0},m)}function Ni(m,i){return i.reduce(function(p,_){return p[_]=m,p},{})}const yr={name:"arrow",enabled:!0,phase:"main",fn:function(m){var i,p=m.state,_=m.name,k=m.options,I=p.elements.arrow,$=p.modifiersData.popperOffsets,H=qn(p.placement),re=Jn(H),pe=[Gt,vn].indexOf(H)>=0?"height":"width";if(I&&$){var me=function(lt,dt){return Ei(typeof(lt=typeof lt=="function"?lt(Object.assign({},dt.rects,{placement:dt.placement})):lt)!="number"?lt:Ni(lt,ni))}(k.padding,p),se=Ga(I),Le=re==="y"?Kt:Gt,Se=re==="y"?dn:vn,ge=p.rects.reference[pe]+p.rects.reference[re]-$[re]-p.rects.popper[pe],Pe=$[re]-p.rects.reference[re],ze=Pn(I),ct=ze?re==="y"?ze.clientHeight||0:ze.clientWidth||0:0,gt=ge/2-Pe/2,We=me[Le],rt=ct-se[pe]-me[Se],Ve=ct/2-se[pe]/2+gt,Ye=On(We,Ve,rt),Ze=re;p.modifiersData[_]=((i={})[Ze]=Ye,i.centerOffset=Ye-Ve,i)}},effect:function(m){var i=m.state,p=m.options.element,_=p===void 0?"[data-popper-arrow]":p;_!=null&&(typeof _!="string"||(_=i.elements.popper.querySelector(_)))&&Ya(i.elements.popper,_)&&(i.elements.arrow=_)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Pi(m){return m.split("-")[1]}var qo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Oi(m){var i,p=m.popper,_=m.popperRect,k=m.placement,I=m.variation,$=m.offsets,H=m.position,re=m.gpuAcceleration,pe=m.adaptive,me=m.roundOffsets,se=m.isFixed,Le=$.x,Se=Le===void 0?0:Le,ge=$.y,Pe=ge===void 0?0:ge,ze=typeof me=="function"?me({x:Se,y:Pe}):{x:Se,y:Pe};Se=ze.x,Pe=ze.y;var ct=$.hasOwnProperty("x"),gt=$.hasOwnProperty("y"),We=Gt,rt=Kt,Ve=window;if(pe){var Ye=Pn(p),Ze="clientHeight",lt="clientWidth";Ye===qt(p)&&Xn(Ye=gr(p)).position!=="static"&&H==="absolute"&&(Ze="scrollHeight",lt="scrollWidth"),(k===Kt||(k===Gt||k===vn)&&I===wi)&&(rt=dn,Pe-=(se&&Ye===Ve&&Ve.visualViewport?Ve.visualViewport.height:Ye[Ze])-_.height,Pe*=re?1:-1),k!==Gt&&(k!==Kt&&k!==dn||I!==wi)||(We=vn,Se-=(se&&Ye===Ve&&Ve.visualViewport?Ve.visualViewport.width:Ye[lt])-_.width,Se*=re?1:-1)}var dt,wt=Object.assign({position:H},pe&&qo),Xt=me===!0?function(In,Jt){var Ut=In.x,xn=In.y,jt=Jt.devicePixelRatio||1;return{x:Si(Ut*jt)/jt||0,y:Si(xn*jt)/jt||0}}({x:Se,y:Pe},qt(p)):{x:Se,y:Pe};return Se=Xt.x,Pe=Xt.y,re?Object.assign({},wt,((dt={})[rt]=gt?"0":"",dt[We]=ct?"0":"",dt.transform=(Ve.devicePixelRatio||1)<=1?"translate("+Se+"px, "+Pe+"px)":"translate3d("+Se+"px, "+Pe+"px, 0)",dt)):Object.assign({},wt,((i={})[rt]=gt?Pe+"px":"",i[We]=ct?Se+"px":"",i.transform="",i))}const $s={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(m){var i=m.state,p=m.options,_=p.gpuAcceleration,k=_===void 0||_,I=p.adaptive,$=I===void 0||I,H=p.roundOffsets,re=H===void 0||H,pe={placement:qn(i.placement),variation:Pi(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:k,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,Oi(Object.assign({},pe,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:$,roundOffsets:re})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,Oi(Object.assign({},pe,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:re})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})},data:{}};var ma={passive:!0};const Ti={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(m){var i=m.state,p=m.instance,_=m.options,k=_.scroll,I=k===void 0||k,$=_.resize,H=$===void 0||$,re=qt(i.elements.popper),pe=[].concat(i.scrollParents.reference,i.scrollParents.popper);return I&&pe.forEach(function(me){me.addEventListener("scroll",p.update,ma)}),H&&re.addEventListener("resize",p.update,ma),function(){I&&pe.forEach(function(me){me.removeEventListener("scroll",p.update,ma)}),H&&re.removeEventListener("resize",p.update,ma)}},data:{}};
vendor: 5,420 bytes, line 187
187var Uo={left:"right",right:"left",bottom:"top",top:"bottom"};function Xa(m){return m.replace(/left|right|bottom|top/g,function(i){return Uo[i]})}var ga={start:"end",end:"start"};function Li(m){return m.replace(/start|end/g,function(i){return ga[i]})}function Lr(m){var i=qt(m);return{scrollLeft:i.pageXOffset,scrollTop:i.pageYOffset}}function Ii(m){return ri(gr(m)).left+Lr(m).scrollLeft}function Bs(m){var i=Xn(m),p=i.overflow,_=i.overflowX,k=i.overflowY;return/auto|scroll|overlay|hidden/.test(p+k+_)}function Vo(m){return["html","body","#document"].indexOf(_n(m))>=0?m.ownerDocument.body:Nn(m)&&Bs(m)?m:Vo(ki(m))}function ii(m,i){var p;i===void 0&&(i=[]);var _=Vo(m),k=_===((p=m.ownerDocument)==null?void 0:p.body),I=qt(_),$=k?[I].concat(I.visualViewport||[],Bs(_)?_:[]):_,H=i.concat($);return k?H:H.concat(ii(ki($)))}function Ai(m){return Object.assign({},m,{left:m.x,top:m.y,right:m.x+m.width,bottom:m.y+m.height})}function Ja(m,i,p){return i===Et?Ai(function(_,k){var I=qt(_),$=gr(_),H=I.visualViewport,re=$.clientWidth,pe=$.clientHeight,me=0,se=0;if(H){re=H.width,pe=H.height;var Le=ot();(Le||!Le&&k==="fixed")&&(me=H.offsetLeft,se=H.offsetTop)}return{width:re,height:pe,x:me+Ii(_),y:se}}(m,p)):Yn(i)?function(_,k){var I=ri(_,!1,k==="fixed");return I.top=I.top+_.clientTop,I.left=I.left+_.clientLeft,I.bottom=I.top+_.clientHeight,I.right=I.left+_.clientWidth,I.width=_.clientWidth,I.height=_.clientHeight,I.x=I.left,I.y=I.top,I}(i,p):Ai(function(_){var k,I=gr(_),$=Lr(_),H=(k=_.ownerDocument)==null?void 0:k.body,re=mr(I.scrollWidth,I.clientWidth,H?H.scrollWidth:0,H?H.clientWidth:0),pe=mr(I.scrollHeight,I.clientHeight,H?H.scrollHeight:0,H?H.clientHeight:0),me=-$.scrollLeft+Ii(_),se=-$.scrollTop;return Xn(H||I).direction==="rtl"&&(me+=mr(I.clientWidth,H?H.clientWidth:0)-re),{width:re,height:pe,x:me,y:se}}(gr(m)))}function qs(m){var i,p=m.reference,_=m.element,k=m.placement,I=k?qn(k):null,$=k?Pi(k):null,H=p.x+p.width/2-_.width/2,re=p.y+p.height/2-_.height/2;switch(I){case Kt:i={x:H,y:p.y-_.height};break;case dn:i={x:H,y:p.y+p.height};break;case vn:i={x:p.x+p.width,y:re};break;case Gt:i={x:p.x-_.width,y:re};break;default:i={x:p.x,y:p.y}}var pe=I?Jn(I):null;if(pe!=null){var me=pe==="y"?"height":"width";switch($){case Or:i[pe]=i[pe]-(p[me]/2-_[me]/2);break;case wi:i[pe]=i[pe]+(p[me]/2-_[me]/2)}}return i}function bn(m,i){i===void 0&&(i={});var p=i,_=p.placement,k=_===void 0?m.placement:_,I=p.strategy,$=I===void 0?m.strategy:I,H=p.boundary,re=H===void 0?Ro:H,pe=p.rootBoundary,me=pe===void 0?Et:pe,se=p.elementContext,Le=se===void 0?ji:se,Se=p.altBoundary,ge=Se!==void 0&&Se,Pe=p.padding,ze=Pe===void 0?0:Pe,ct=Ei(typeof ze!="number"?ze:Ni(ze,ni)),gt=Le===ji?Wa:ji,We=m.rects.popper,rt=m.elements[ge?gt:Le],Ve=function(Jt,Ut,xn,jt){var wn=Ut==="clippingParents"?function(ft){var Vt=ii(ki(ft)),Qt=["absolute","fixed"].indexOf(Xn(ft).position)>=0&&Nn(ft)?Pn(ft):ft;return Yn(Qt)?Vt.filter(function(Mt){return Yn(Mt)&&Ya(Mt,Qt)&&_n(Mt)!=="body"}):[]}(Jt):[].concat(Ut),on=[].concat(wn,[xn]),qr=on[0],It=on.reduce(function(ft,Vt){var Qt=Ja(Jt,Vt,jt);return ft.top=mr(Qt.top,ft.top),ft.right=Tr(Qt.right,ft.right),ft.bottom=Tr(Qt.bottom,ft.bottom),ft.left=mr(Qt.left,ft.left),ft},Ja(Jt,qr,jt));return It.width=It.right-It.left,It.height=It.bottom-It.top,It.x=It.left,It.y=It.top,It}(Yn(rt)?rt:rt.contextElement||gr(m.elements.popper),re,me,$),Ye=ri(m.elements.reference),Ze=qs({reference:Ye,element:We,strategy:"absolute",placement:k}),lt=Ai(Object.assign({},We,Ze)),dt=Le===ji?lt:Ye,wt={top:Ve.top-dt.top+ct.top,bottom:dt.bottom-Ve.bottom+ct.bottom,left:Ve.left-dt.left+ct.left,right:dt.right-Ve.right+ct.right},Xt=m.modifiersData.offset;if(Le===ji&&Xt){var In=Xt[k];Object.keys(wt).forEach(function(Jt){var Ut=[vn,dn].indexOf(Jt)>=0?1:-1,xn=[Kt,dn].indexOf(Jt)>=0?"y":"x";wt[Jt]+=In[xn]*Ut})}return wt}function Us(m,i){i===void 0&&(i={});var p=i,_=p.placement,k=p.boundary,I=p.rootBoundary,$=p.padding,H=p.flipVariations,re=p.allowedAutoPlacements,pe=re===void 0?Ci:re,me=Pi(_),se=me?H?Ka:Ka.filter(function(ge){return Pi(ge)===me}):ni,Le=se.filter(function(ge){return pe.indexOf(ge)>=0});Le.length===0&&(Le=se);var Se=Le.reduce(function(ge,Pe){return ge[Pe]=bn(m,{placement:Pe,boundary:k,rootBoundary:I,padding:$})[qn(Pe)],ge},{});return Object.keys(Se).sort(function(ge,Pe){return Se[ge]-Se[Pe]})}const ya={name:"flip",enabled:!0,phase:"main",fn:function(m){var i=m.state,p=m.options,_=m.name;if(!i.modifiersData[_]._skip){for(var k=p.mainAxis,I=k===void 0||k,$=p.altAxis,H=$===void 0||$,re=p.fallbackPlacements,pe=p.padding,me=p.boundary,se=p.rootBoundary,Le=p.altBoundary,Se=p.flipVariations,ge=Se===void 0||Se,Pe=p.allowedAutoPlacements,ze=i.options.placement,ct=qn(ze),gt=re||(ct!==ze&&ge?function(ft){if(qn(ft)===ua)return[];var Vt=Xa(ft);return[Li(ft),Vt,Li(Vt)]}(ze):[Xa(ze)]),We=[ze].concat(gt).reduce(function(ft,Vt){return ft.concat(qn(Vt)===ua?Us(i,{placement:Vt,boundary:me,rootBoundary:se,padding:pe,flipVariations:ge,allowedAutoPlacements:Pe}):Vt)},[]),rt=i.rects.reference,Ve=i.rects.popper,Ye=new Map,Ze=!0,lt=We[0],dt=0;dt<We.length;dt++){var wt=We[dt],Xt=qn(wt),In=Pi(wt)===Or,Jt=[Kt,dn].indexOf(Xt)>=0,Ut=Jt?"width":"height",xn=bn(i,{placement:wt,boundary:me,rootBoundary:se,altBoundary:Le,padding:pe}),jt=Jt?In?vn:Gt:In?dn:Kt;rt[Ut]>Ve[Ut]&&(jt=Xa(jt));var wn=Xa(jt),on=[];if(I&&on.push(xn[Xt]<=0),H&&on.push(xn[jt]<=0,xn[wn]<=0),on.every(function(ft){return ft})){lt=wt,Ze=!1;break}
187Ye.set(wt,on)}if(Ze)for(var qr=function(ft){var Vt=We.find(function(Qt){var Mt=Ye.get(Qt);if(Mt)return Mt.slice(0,ft).every(function(sr){return sr})});if(Vt)return lt=Vt,"break"},It=ge?3:1;It>0&&qr(It)!=="break";It--);i.placement!==lt&&(i.modifiersData[_]._skip=!0,i.placement=lt,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Vs(m,i,p){return p===void 0&&(p={x:0,y:0}),{top:m.top-i.height-p.y,right:m.right-i.width+p.x,bottom:m.bottom-i.height+p.y,left:m.left-i.width-p.x}}function va(m){return[Kt,vn,dn,Gt].some(function(i){return m[i]>=0})}const _a={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(m){var i=m.state,p=m.name,_=i.rects.reference,k=i.rects.popper,I=i.modifiersData.preventOverflow,$=bn(i,{elementContext:"reference"}),H=bn(i,{altBoundary:!0}),re=Vs($,_),pe=Vs(H,k,I),me=va(re),se=va(pe);i.modifiersData[p]={referenceClippingOffsets:re,popperEscapeOffsets:pe,isReferenceHidden:me,hasPopperEscaped:se},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":me,"data-popper-escaped":se})}},Qs={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(m){var i=m.state,p=m.options,_=m.name,k=p.offset,I=k===void 0?[0,0]:k,$=Ci.reduce(function(me,se){return me[se]=function(Le,Se,ge){var Pe=qn(Le),ze=[Gt,Kt].indexOf(Pe)>=0?-1:1,ct=typeof ge=="function"?ge(Object.assign({},Se,{placement:Le})):ge,gt=ct[0],We=ct[1];return gt=gt||0,We=(We||0)*ze,[Gt,vn].indexOf(Pe)>=0?{x:We,y:gt}:{x:gt,y:We}}(se,i.rects,I),me},{}),H=$[i.placement],re=H.x,pe=H.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=re,i.modifiersData.popperOffsets.y+=pe),i.modifiersData[_]=$}},sn={name:"popperOffsets",enabled:!0,phase:"read",fn:function(m){var i=m.state,p=m.name;i.modifiersData[p]=qs({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})},data:{}},ai={name:"preventOverflow",enabled:!0,phase:"main",fn:function(m){var i=m.state,p=m.options,_=m.name,k=p.mainAxis,I=k===void 0||k,$=p.altAxis,H=$!==void 0&&$,re=p.boundary,pe=p.rootBoundary,me=p.altBoundary,se=p.padding,Le=p.tether,Se=Le===void 0||Le,ge=p.tetherOffset,Pe=ge===void 0?0:ge,ze=bn(i,{boundary:re,rootBoundary:pe,padding:se,altBoundary:me}),ct=qn(i.placement),gt=Pi(i.placement),We=!gt,rt=Jn(ct),Ve=rt==="x"?"y":"x",Ye=i.modifiersData.popperOffsets,Ze=i.rects.reference,lt=i.rects.popper,dt=typeof Pe=="function"?Pe(Object.assign({},i.rects,{placement:i.placement})):Pe,wt=typeof dt=="number"?{mainAxis:dt,altAxis:dt}:Object.assign({mainAxis:0,altAxis:0},dt),Xt=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,In={x:0,y:0};if(Ye){if(I){var Jt,Ut=rt==="y"?Kt:Gt,xn=rt==="y"?dn:vn,jt=rt==="y"?"height":"width",wn=Ye[rt],on=wn+ze[Ut],qr=wn-ze[xn],It=Se?-lt[jt]/2:0,ft=gt===Or?Ze[jt]:lt[jt],Vt=gt===Or?-lt[jt]:-Ze[jt],Qt=i.elements.arrow,Mt=Se&&Qt?Ga(Qt):{width:0,height:0},sr=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},vs=sr[Ut],oo=sr[xn],An=On(0,Ze[jt],Mt[jt]),Ur=We?Ze[jt]/2-It-An-vs-wt.mainAxis:ft-An-vs-wt.mainAxis,lo=We?-Ze[jt]/2+It+An+oo+wt.mainAxis:Vt+An+oo+wt.mainAxis,_s=i.elements.arrow&&Pn(i.elements.arrow),wr=_s?rt==="y"?_s.clientTop||0:_s.clientLeft||0:0,jr=(Jt=Xt==null?void 0:Xt[rt])!=null?Jt:0,bs=wn+lo-jr,uo=On(Se?Tr(on,wn+Ur-jr-wr):on,wn,Se?mr(qr,bs):qr);Ye[rt]=uo,In[rt]=uo-wn}if(H){var Ia,El=rt==="x"?Kt:Gt,Aa=rt==="x"?dn:vn,Zt=Ye[Ve],Vr=Ve==="y"?"height":"width",Hi=Zt+ze[El],Qr=Zt-ze[Aa],Ra=[Kt,Gt].indexOf(ct)!==-1,pi=(Ia=Xt==null?void 0:Xt[Ve])!=null?Ia:0,co=Ra?Hi:Zt-Ze[Vr]-lt[Vr]-pi+wt.altAxis,xs=Ra?Zt+Ze[Vr]+lt[Vr]-pi-wt.altAxis:Qr,Ct=Se&&Ra?function(ws,fo,Da){var Ma=On(ws,fo,Da);return Ma>Da?Da:Ma}(co,Zt,xs):On(Se?co:Hi,Zt,Se?xs:Qr);Ye[Ve]=Ct,In[Ve]=Ct-Zt}i.modifiersData[_]=In}},requiresIfExists:["offset"]};function Hs(m,i,p){p===void 0&&(p=!1);var _,k,I=Nn(i),$=Nn(i)&&function(se){var Le=se.getBoundingClientRect(),Se=Si(Le.width)/se.offsetWidth||1,ge=Si(Le.height)/se.offsetHeight||1;return Se!==1||ge!==1}(i),H=gr(i),re=ri(m,$,p),pe={scrollLeft:0,scrollTop:0},me={x:0,y:0};
vendor: 4,473 bytes, line 187
187return(I||!I&&!p)&&((_n(i)!=="body"||Bs(H))&&(pe=(_=i)!==qt(_)&&Nn(_)?{scrollLeft:(k=_).scrollLeft,scrollTop:k.scrollTop}:Lr(_)),Nn(i)?((me=ri(i,!0)).x+=i.clientLeft,me.y+=i.clientTop):H&&(me.x=Ii(H))),{x:re.left+pe.scrollLeft-me.x,y:re.top+pe.scrollTop-me.y,width:re.width,height:re.height}}function ba(m){var i=new Map,p=new Set,_=[];function k(I){p.add(I.name),[].concat(I.requires||[],I.requiresIfExists||[]).forEach(function($){if(!p.has($)){var H=i.get($);H&&k(H)}}),_.push(I)}return m.forEach(function(I){i.set(I.name,I)}),m.forEach(function(I){p.has(I.name)||k(I)}),_}var Qo={placement:"bottom",modifiers:[],strategy:"absolute"};function Za(){for(var m=arguments.length,i=new Array(m),p=0;p<m;p++)i[p]=arguments[p];return!i.some(function(_){return!(_&&typeof _.getBoundingClientRect=="function")})}function Ri(m){m===void 0&&(m={});var i=m,p=i.defaultModifiers,_=p===void 0?[]:p,k=i.defaultOptions,I=k===void 0?Qo:k;return function($,H,re){re===void 0&&(re=I);var pe,me,se={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qo,I),modifiersData:{},elements:{reference:$,popper:H},attributes:{},styles:{}},Le=[],Se=!1,ge={state:se,setOptions:function(ze){var ct=typeof ze=="function"?ze(se.options):ze;Pe(),se.options=Object.assign({},I,se.options,ct),se.scrollParents={reference:Yn($)?ii($):$.contextElement?ii($.contextElement):[],popper:ii(H)};var gt,We,rt=function(Ve){var Ye=ba(Ve);return da.reduce(function(Ze,lt){return Ze.concat(Ye.filter(function(dt){return dt.phase===lt}))},[])}((gt=[].concat(_,se.options.modifiers),We=gt.reduce(function(Ve,Ye){var Ze=Ve[Ye.name];return Ve[Ye.name]=Ze?Object.assign({},Ze,Ye,{options:Object.assign({},Ze.options,Ye.options),data:Object.assign({},Ze.data,Ye.data)}):Ye,Ve},{}),Object.keys(We).map(function(Ve){return We[Ve]})));return se.orderedModifiers=rt.filter(function(Ve){return Ve.enabled}),se.orderedModifiers.forEach(function(Ve){var Ye=Ve.name,Ze=Ve.options,lt=Ze===void 0?{}:Ze,dt=Ve.effect;if(typeof dt=="function"){var wt=dt({state:se,name:Ye,instance:ge,options:lt});Le.push(wt||function(){})}}),ge.update()},forceUpdate:function(){if(!Se){var ze=se.elements,ct=ze.reference,gt=ze.popper;if(Za(ct,gt)){se.rects={reference:Hs(ct,Pn(gt),se.options.strategy==="fixed"),popper:Ga(gt)},se.reset=!1,se.placement=se.options.placement,se.orderedModifiers.forEach(function(dt){return se.modifiersData[dt.name]=Object.assign({},dt.data)});for(var We=0;We<se.orderedModifiers.length;We++)if(se.reset!==!0){var rt=se.orderedModifiers[We],Ve=rt.fn,Ye=rt.options,Ze=Ye===void 0?{}:Ye,lt=rt.name;typeof Ve=="function"&&(se=Ve({state:se,options:Ze,name:lt,instance:ge})||se)}else se.reset=!1,We=-1}}},update:(pe=function(){return new Promise(function(ze){ge.forceUpdate(),ze(se)})},function(){return me||(me=new Promise(function(ze){Promise.resolve().then(function(){me=void 0,ze(pe())})})),me}),destroy:function(){Pe(),Se=!0}};if(!Za($,H))return ge;function Pe(){Le.forEach(function(ze){return ze()}),Le=[]}return ge.setOptions(re).then(function(ze){!Se&&re.onFirstUpdate&&re.onFirstUpdate(ze)}),ge}}var xa=Ri(),es=Ri({defaultModifiers:[Ti,sn,$s,fa]}),ts=Ri({defaultModifiers:[Ti,sn,$s,fa,Qs,ya,ai,yr,_a]});const Ho=Object.freeze(Object.defineProperty({__proto__:null,afterMain:En,afterRead:ca,afterWrite:$o,applyStyles:fa,arrow:yr,auto:ua,basePlacements:ni,beforeMain:Bn,beforeRead:Do,beforeWrite:Fo,bottom:dn,clippingParents:Ro,computeStyles:$s,createPopper:ts,createPopperBase:xa,createPopperLite:es,detectOverflow:bn,end:wi,eventListeners:Ti,flip:ya,hide:_a,left:Gt,main:Mo,modifierPhases:da,offset:Qs,placements:Ci,popper:ji,popperGenerator:Ri,popperOffsets:sn,preventOverflow:ai,read:Fs,reference:Wa,right:vn,start:Or,top:Kt,variationPlacements:Ka,viewport:Et,write:zo},Symbol.toStringTag,{value:"Module"})),Wo="dropdown",si=".bs.dropdown",wa=".data-api",Cu="ArrowUp",Ko="ArrowDown",Su=`hide${si}`,ku=`hidden${si}`,Eu=`show${si}`,Go=`shown${si}`,Yo=`click${si}${wa}`,Xo=`keydown${si}${wa}`,Nu=`keyup${si}${wa}`,Di="show",vr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Pu=`${vr}.${Di}`,ns=".dropdown-menu",Ou=q()?"top-end":"top-start",Jo=q()?"top-start":"top-end",Tu=q()?"bottom-end":"bottom-start",Lu=q()?"bottom-start":"bottom-end",Iu=q()?"left-start":"right-start",Au=q()?"right-start":"left-start",Ru={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Du={autoClose:"(boolean|string)",boundary:"(string|element)",display:"str
187ing",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Un extends Te{constructor(i,p){super(i,p),this._popper=null,this._parent=this._element.parentNode,this._menu=ne.next(this._element,ns)[0]||ne.prev(this._element,ns)[0]||ne.findOne(ns,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ru}static get DefaultType(){return Du}static get NAME(){return Wo}toggle(){return this._isShown()?this.hide():this.show()}show(){if(S(this._element)||this._isShown())return;const i={relatedTarget:this._element};if(!N.trigger(this._element,Eu,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const p of[].concat(...document.body.children))N.on(p,"mouseover",L);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Di),this._element.classList.add(Di),N.trigger(this._element,Go,i)}}hide(){if(S(this._element)||!this._isShown())return;const i={relatedTarget:this._element};this._completeHide(i)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(i){if(!N.trigger(this._element,Su,i).defaultPrevented){if("ontouchstart"in document.documentElement)for(const p of[].concat(...document.body.children))N.off(p,"mouseover",L);this._popper&&this._popper.destroy(),this._menu.classList.remove(Di),this._element.classList.remove(Di),this._element.setAttribute("aria-expanded","false"),je.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,ku,i)}}_getConfig(i){if(typeof(i=super._getConfig(i)).reference=="object"&&!v(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${Wo.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(Ho===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;this._config.reference==="parent"?i=this._parent:v(this._config.reference)?i=x(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const p=this._getPopperConfig();this._popper=ts(i,this._menu,p)}_isShown(){return this._menu.classList.contains(Di)}_getPlacement(){const i=this._parent;if(i.classList.contains("dropend"))return Iu;if(i.classList.contains("dropstart"))return Au;if(i.classList.contains("dropup-center"))return"top";if(i.classList.contains("dropdown-center"))return"bottom";const p=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains("dropup")?p?Jo:Ou:p?Lu:Tu}
187_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(p=>Number.parseInt(p,10)):typeof i=="function"?p=>i(p,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(je.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...V(this._config.popperConfig,[i])}}_selectMenuItem({key:i,target:p}){const _=ne.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(k=>b(k));_.length&&ye(_,p,i===Ko,!_.includes(p)).focus()}static jQueryInterface(i){return this.each(function(){const p=Un.getOrCreateInstance(this,i);if(typeof i=="string"){if(p[i]===void 0)throw new TypeError(`No method named "${i}"`);p[i]()}})}static clearMenus(i){if(i.button===2||i.type==="keyup"&&i.key!=="Tab")return;const p=ne.find(Pu);for(const _ of p){const k=Un.getInstance(_);if(!k||k._config.autoClose===!1)continue;const I=i.composedPath(),$=I.includes(k._menu);if(I.includes(k._element)||k._config.autoClose==="inside"&&!$||k._config.autoClose==="outside"&&$||k._menu.contains(i.target)&&(i.type==="keyup"&&i.key==="Tab"||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const H={relatedTarget:k._element};i.type==="click"&&(H.clickEvent=i),k._completeHide(H)}}static dataApiKeydownHandler(i){const p=/input|textarea/i.test(i.target.tagName),_=i.key==="Escape",k=[Cu,Ko].includes(i.key);if(!k&&!_||p&&!_)return;i.preventDefault();const I=this.matches(vr)?this:ne.prev(this,vr)[0]||ne.next(this,vr)[0]||ne.findOne(vr,i.delegateTarget.parentNode),$=Un.getOrCreateInstance(I);if(k)return i.stopPropagation(),$.show(),void $._selectMenuItem(i);$._isShown()&&(i.stopPropagation(),$.hide(),I.focus())}}N.on(document,Xo,vr,Un.dataApiKeydownHandler),N.on(document,Xo,ns,Un.dataApiKeydownHandler),N.on(document,Yo,Un.clearMenus),N.on(document,Nu,Un.clearMenus),N.on(document,Yo,vr,function(m){m.preventDefault(),Un.getOrCreateInstance(this).toggle()}),U(Un);const rs="backdrop",Mi="show",Zo=`mousedown.bs.${rs}`,el={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},tl={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ws extends Ie{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return el}static get DefaultType(){return tl}static get NAME(){return rs}show(i){if(!this._config.isVisible)return void V(i);this._append();const p=this._getElement();this._config.isAnimated&&O(p),p.classList.add(Mi),this._emulateAnimation(()=>{V(i)})}hide(i){this._config.isVisible?(this._getElement().classList.remove(Mi),this._emulateAnimation(()=>{this.dispose(),V(i)})):V(i)}dispose(){this._isAppended&&(N.off(this._element,Zo),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add("fade"),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=x(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),N.on(i,Zo,()=>{V(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){Y(i,this._getElement(),this._config.isAnimated)}}const ja=".bs.focustrap",nl=`focusin${ja}`,Fi=`keydown.tab${ja}`,rl="backward",Mu={autofocus:!0,trapElement:null},Fu={autofocus:"boolean",trapElement:"element"};class Ks extends Ie{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Mu}static get DefaultType(){return Fu}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,ja),N.on(document,nl,i=>this._handleFocusin(i)),N.on(document,Fi,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,ja))}_handleFocusin(i){const{trapElement:p}=this._config;if(i.target===document||i.target===p||p.contains(i.target))return;const _=ne.focusableChildren(p);_.length===0?p.focus():this._lastTabNavDirection===rl?_[_.length-1].focus():_[0].focus()}_handleKeydown(i){i.key==="Tab"&&(this._lastTabNavDirection=i.shiftKey?rl:"forward")}}const Gs=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",zi=".sticky-top",Ir="padding-right",il="margin-right";class $i{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ir,p=>p+i),this._setElementAttributes(Gs,Ir,p=>p+i),this._setElementAttributes(zi,il,p=>p-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ir),this._resetElementAttributes(Gs,Ir),this._resetElementAttributes(zi,il)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,p,_){const k=this.getWidth();this._applyManipulationCallback(i,I=>{if(I!==this._element&&window.innerWidth>I.clientWidth+k)return;this._saveInitialAttribute(I,p);const $=window.getComputedStyle(I).getPropertyValue(p);I.style.setProperty(p,`${_(Number.parseFloat($))}px`)}
vendor: 4,522 bytes, line 187
187)}_saveInitialAttribute(i,p){const _=i.style.getPropertyValue(p);_&&je.setDataAttribute(i,p,_)}_resetElementAttributes(i,p){this._applyManipulationCallback(i,_=>{const k=je.getDataAttribute(_,p);k!==null?(je.removeDataAttribute(_,p),_.style.setProperty(p,k)):_.style.removeProperty(p)})}_applyManipulationCallback(i,p){if(v(i))p(i);else for(const _ of ne.find(i,this._element))p(_)}}const Tn=".bs.modal",al=`hide${Tn}`,Ys=`hidePrevented${Tn}`,is=`hidden${Tn}`,Xs=`show${Tn}`,sl=`shown${Tn}`,ol=`resize${Tn}`,zu=`click.dismiss${Tn}`,$u=`mousedown.dismiss${Tn}`,Bu=`keydown.dismiss${Tn}`,qu=`click${Tn}.data-api`,ll="modal-open",Ln="show",oi="modal-static",ul={backdrop:!0,focus:!0,keyboard:!0},cl={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ar extends Te{constructor(i,p){super(i,p),this._dialog=ne.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new $i,this._addEventListeners()}static get Default(){return ul}static get DefaultType(){return cl}static get NAME(){return"modal"}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||N.trigger(this._element,Xs,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ll),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){this._isShown&&!this._isTransitioning&&(N.trigger(this._element,al).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Ln),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){N.off(window,Tn),N.off(this._dialog,Tn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ws({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ks({trapElement:this._element})}_showElement(i){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const p=ne.findOne(".modal-body",this._dialog);p&&(p.scrollTop=0),O(this._element),this._element.classList.add(Ln),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,sl,{relatedTarget:i})},this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,Bu,i=>{i.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),N.on(window,ol,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),N.on(this._element,$u,i=>{N.one(this._element,zu,p=>{this._element===i.target&&this._element===p.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ll),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,is)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(N.trigger(this._element,Ys).defaultPrevented)return;const i=this._element.scrollHeight>document.documentElement.clientHeight,p=this._element.style.overflowY;p==="hidden"||this._element.classList.contains(oi)||(i||(this._element.style.overflowY="hidden"),this._element.classList.add(oi),this._queueCallback(()=>{this._element.classList.remove(oi),this._queueCallback(()=>{this._element.style.overflowY=p},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,p=this._scrollBar.getWidth(),_=p>0;if(_&&!i){const k=q()?"paddingLeft":"paddingRight";this._element.style[k]=`${p}px`}if(!_&&i){const k=q()?"paddingRight":"paddingLeft";this._element.style[k]=`${p}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,p){return this.each(function(){const _=Ar.getOrCreateInstance(this,i);if(typeof i=="string"){if(_[i]===void 0)throw new TypeError(`No method n
187amed "${i}"`);_[i](p)}})}}N.on(document,qu,'[data-bs-toggle="modal"]',function(m){const i=ne.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&m.preventDefault(),N.one(i,Xs,_=>{_.defaultPrevented||N.one(i,is,()=>{b(this)&&this.focus()})});const p=ne.findOne(".modal.show");p&&Ar.getInstance(p).hide(),Ar.getOrCreateInstance(i).toggle(this)}),tt(Ar),U(Ar);const Zn=".bs.offcanvas",as=".data-api",Uu=`load${Zn}${as}`,dl="show",li="showing",ss="hiding",Bi=".offcanvas.show",Js=`show${Zn}`,fl=`shown${Zn}`,os=`hide${Zn}`,ui=`hidePrevented${Zn}`,ls=`hidden${Zn}`,hl=`resize${Zn}`,us=`click${Zn}${as}`,pl=`keydown.dismiss${Zn}`,ml={backdrop:!0,keyboard:!0,scroll:!1},gl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class er extends Te{constructor(i,p){super(i,p),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ml}static get DefaultType(){return gl}static get NAME(){return"offcanvas"}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||N.trigger(this._element,Js,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new $i().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(li),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(dl),this._element.classList.remove(li),N.trigger(this._element,fl,{relatedTarget:i})},this._element,!0))}hide(){this._isShown&&(N.trigger(this._element,os).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ss),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(dl,ss),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new $i().reset(),N.trigger(this._element,ls)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=!!this._config.backdrop;return new Ws({className:"offcanvas-backdrop",isVisible:i,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:i?()=>{this._config.backdrop!=="static"?this.hide():N.trigger(this._element,ui)}:null})}_initializeFocusTrap(){return new Ks({trapElement:this._element})}_addEventListeners(){N.on(this._element,pl,i=>{i.key==="Escape"&&(this._config.keyboard?this.hide():N.trigger(this._element,ui))})}static jQueryInterface(i){return this.each(function(){const p=er.getOrCreateInstance(this,i);if(typeof i=="string"){if(p[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);p[i](this)}})}}N.on(document,us,'[data-bs-toggle="offcanvas"]',function(m){const i=ne.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&m.preventDefault(),S(this))return;N.one(i,ls,()=>{b(this)&&this.focus()});const p=ne.findOne(Bi);p&&p!==i&&er.getInstance(p).hide(),er.getOrCreateInstance(i).toggle(this)}),N.on(window,Uu,()=>{for(const m of ne.find(Bi))er.getOrCreateInstance(m).show()}),N.on(window,hl,()=>{for(const m of ne.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(m).position!=="fixed"&&er.getOrCreateInstance(m).hide()}),tt(er),U(er);const Zs={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},yl=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Rr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,eo=(m,i)=>{const p=m.nodeName.toLowerCase();return i.includes(p)?!yl.has(p)||!!Rr.test(m.nodeValue):i.filter(_=>_ instanceof RegExp).some(_=>_.test(p))},to={allowList:Zs,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Vu={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Qu={entry:"(string|element|function|null)",selector:"(string|element)"};class Ca extends Ie{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return to}static get DefaultType(){return Vu}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(i=>
vendor: 4,616 bytes, line 187
187this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[k,I]of Object.entries(this._config.content))this._setContent(i,I,k);const p=i.children[0],_=this._resolvePossibleFunction(this._config.extraClass);return _&&p.classList.add(..._.split(" ")),p}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[p,_]of Object.entries(i))super._typeCheckConfig({selector:p,entry:_},Qu)}_setContent(i,p,_){const k=ne.findOne(_,i);k&&((p=this._resolvePossibleFunction(p))?v(p)?this._putElementInTemplate(x(p),k):this._config.html?k.innerHTML=this._maybeSanitize(p):k.textContent=p:k.remove())}_maybeSanitize(i){return this._config.sanitize?function(p,_,k){if(!p.length)return p;if(k&&typeof k=="function")return k(p);const I=new window.DOMParser().parseFromString(p,"text/html"),$=[].concat(...I.body.querySelectorAll("*"));for(const H of $){const re=H.nodeName.toLowerCase();if(!Object.keys(_).includes(re)){H.remove();continue}const pe=[].concat(...H.attributes),me=[].concat(_["*"]||[],_[re]||[]);for(const se of pe)eo(se,me)||H.removeAttribute(se.nodeName)}return I.body.innerHTML}(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return V(i,[this])}_putElementInTemplate(i,p){if(this._config.html)return p.innerHTML="",void p.append(i);p.textContent=i.textContent}}const Hu=new Set(["sanitize","allowList","sanitizeFn"]),cs="fade",Sa="show",bt=".modal",ds="hide.bs.modal",Dr="hover",ci="focus",vl={AUTO:"auto",TOP:"top",RIGHT:q()?"left":"right",BOTTOM:"bottom",LEFT:q()?"right":"left"},no={allowList:Zs,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},ka={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class tr extends Te{constructor(i,p){if(Ho===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(i,p),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return no}static get DefaultType(){return ka}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(bt),ds,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const i=N.trigger(this._element,this.constructor.eventName("show")),p=(E(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!p)return;this._disposePopper();const _=this._getTipElement();this._element.setAttribute("aria-describedby",_.getAttribute("id"));const{container:k}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(k.append(_),N.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(_),_.classList.add(Sa),"ontouchstart"in document.documentElement)for(const I of[].concat(...document.body.children))N.on(I,"mouseover",L);this._queueCallback(()=>{N.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}
vendor: 5,375 bytes, line 187
187hide(){if(this._isShown()&&!N.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Sa),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))N.off(i,"mouseover",L);this._activeTrigger.click=!1,this._activeTrigger[ci]=!1,this._activeTrigger[Dr]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(i){const p=this._getTemplateFactory(i).toHtml();if(!p)return null;p.classList.remove(cs,Sa),p.classList.add(`bs-${this.constructor.NAME}-auto`);const _=(k=>{do k+=Math.floor(1e6*Math.random());while(document.getElementById(k));return k})(this.constructor.NAME).toString();return p.setAttribute("id",_),this._isAnimated()&&p.classList.add(cs),p}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new Ca({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(cs)}_isShown(){return this.tip&&this.tip.classList.contains(Sa)}_createPopper(i){const p=V(this._config.placement,[this,i,this._element]),_=vl[p.toUpperCase()];return ts(this._element,i,this._getPopperConfig(_))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(p=>Number.parseInt(p,10)):typeof i=="function"?p=>i(p,this._element):i}_resolvePossibleFunction(i){return V(i,[this._element])}_getPopperConfig(i){const p={placement:i,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:_=>{this._getTipElement().setAttribute("data-popper-placement",_.state.placement)}}]};return{...p,...V(this._config.popperConfig,[p])}}_setListeners(){const i=this._config.trigger.split(" ");for(const p of i)if(p==="click")N.on(this._element,this.constructor.eventName("click"),this._config.selector,_=>{this._initializeOnDelegatedTarget(_).toggle()});else if(p!=="manual"){const _=p===Dr?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),k=p===Dr?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");N.on(this._element,_,this._config.selector,I=>{const $=this._initializeOnDelegatedTarget(I);$._activeTrigger[I.type==="focusin"?ci:Dr]=!0,$._enter()}),N.on(this._element,k,this._config.selector,I=>{const $=this._initializeOnDelegatedTarget(I);$._activeTrigger[I.type==="focusout"?ci:Dr]=$._element.contains(I.relatedTarget),$._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(bt),ds,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(i,p){clearTimeout(this._timeout),this._timeout=setTimeout(i,p)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const p=je.getDataAttributes(this._element);for(const _ of Object.keys(p))Hu.has(_)&&delete p[_];return i={...p,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:x(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[p,_]of Object.entries(this._config))this.constructor.Default[p]!==_&&(i[p]=_);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const p=tr.getOrCreateInstance(this,i);if(typeof i=="string"){if(p[i]===void 0)throw new TypeError(`No method n
187amed "${i}"`);p[i]()}})}}U(tr);const qi={...tr.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},_l={...tr.DefaultType,content:"(null|string|element|function)"};class fs extends tr{static get Default(){return qi}static get DefaultType(){return _l}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const p=fs.getOrCreateInstance(this,i);if(typeof i=="string"){if(p[i]===void 0)throw new TypeError(`No method named "${i}"`);p[i]()}})}}U(fs);const ro=".bs.scrollspy",bl=`activate${ro}`,Ea=`click${ro}`,hs=`load${ro}.data-api`,Mr="active",Na="[href]",ps=".nav-link",io=`${ps}, .nav-item > ${ps}, .list-group-item`,Wu={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},xl={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Pa extends Te{constructor(i,p){super(i,p),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Wu}static get DefaultType(){return xl}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=x(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(p=>Number.parseFloat(p))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(N.off(this._config.target,Ea),N.on(this._config.target,Ea,Na,i=>{const p=this._observableSections.get(i.target.hash);if(p){i.preventDefault();const _=this._rootElement||window,k=p.offsetTop-this._element.offsetTop;if(_.scrollTo)return void _.scrollTo({top:k,behavior:"smooth"});_.scrollTop=k}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(p=>this._observerCallback(p),i)}_observerCallback(i){const p=$=>this._targetLinks.get(`#${$.target.id}`),_=$=>{this._previousScrollData.visibleEntryTop=$.target.offsetTop,this._process(p($))},k=(this._rootElement||document.documentElement).scrollTop,I=k>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=k;for(const $ of i){if(!$.isIntersecting){this._activeTarget=null,this._clearActiveClass(p($));continue}const H=$.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(I&&H){if(_($),!k)return}else I||H||_($)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=ne.find(Na,this._config.target);for(const p of i){if(!p.hash||S(p))continue;const _=ne.findOne(decodeURI(p.hash),this._element);b(_)&&(this._targetLinks.set(decodeURI(p.hash),p),this._observableSections.set(p.hash,_))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Mr),this._activateParents(i),N.trigger(this._element,bl,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains("dropdown-item"))ne.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(Mr);else for(const p of ne.parents(i,".nav, .list-group"))for(const _ of ne.prev(p,io))_.classList.add(Mr)}_clearActiveClass(i){i.classList.remove(Mr);const p=ne.find(`${Na}.${Mr}`,i);for(const _ of p)_.classList.remove(Mr)}static jQueryInterface(i){return this.each(function(){const p=Pa.getOrCreateInstance(this,i);if(typeof i=="string"){if(p[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method n
187amed "${i}"`);p[i]()}})}}N.on(window,hs,()=>{for(const m of ne.find('[data-bs-spy="scroll"]'))Pa.getOrCreateInstance(m)}),U(Pa);const di=".bs.tab",ao=`hide${di}`,Fr=`hidden${di}`,wl=`show${di}`,Ui=`shown${di}`,nr=`click${di}`,Oa=`keydown${di}`,_r=`load${di}`,so="ArrowLeft",jl="ArrowRight",Ku="ArrowUp",zr="ArrowDown",fi="Home",hi="End",rr="active",ms="fade",$r="show",br=".dropdown-toggle",vt=`:not(${br})`,_t='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ir=`.nav-link${vt}, .list-group-item${vt}, [role="tab"]${vt}, ${_t}`,Yt=`.${rr}[data-bs-toggle="tab"], .${rr}[data-bs-toggle="pill"], .${rr}[data-bs-toggle="list"]`;class Lt extends Te{constructor(i){super(i),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,Oa,p=>this._keydown(p)))}static get NAME(){return"tab"}show(){const i=this._element;if(this._elemIsActive(i))return;const p=this._getActiveElem(),_=p?N.trigger(p,ao,{relatedTarget:i}):null;N.trigger(i,wl,{relatedTarget:p}).defaultPrevented||_&&_.defaultPrevented||(this._deactivate(p,i),this._activate(i,p))}_activate(i,p){i&&(i.classList.add(rr),this._activate(ne.getElementFromSelector(i)),this._queueCallback(()=>{i.getAttribute("role")==="tab"?(i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),N.trigger(i,Ui,{relatedTarget:p})):i.classList.add($r)},i,i.classList.contains(ms)))}_deactivate(i,p){i&&(i.classList.remove(rr),i.blur(),this._deactivate(ne.getElementFromSelector(i)),this._queueCallback(()=>{i.getAttribute("role")==="tab"?(i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),N.trigger(i,Fr,{relatedTarget:p})):i.classList.remove($r)},i,i.classList.contains(ms)))}_keydown(i){if(![so,jl,Ku,zr,fi,hi].includes(i.key))return;i.stopPropagation(),i.preventDefault();const p=this._getChildren().filter(k=>!S(k));let _;if([fi,hi].includes(i.key))_=p[i.key===fi?0:p.length-1];
vendor: 4,381 bytes, line 187
187else{const k=[jl,zr].includes(i.key);_=ye(p,i.target,k,!0)}_&&(_.focus({preventScroll:!0}),Lt.getOrCreateInstance(_).show())}_getChildren(){return ne.find(ir,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,p){this._setAttributeIfNotExists(i,"role","tablist");for(const _ of p)this._setInitialAttributesOnChild(_)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const p=this._elemIsActive(i),_=this._getOuterElement(i);i.setAttribute("aria-selected",p),_!==i&&this._setAttributeIfNotExists(_,"role","presentation"),p||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const p=ne.getElementFromSelector(i);p&&(this._setAttributeIfNotExists(p,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(p,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,p){const _=this._getOuterElement(i);if(!_.classList.contains("dropdown"))return;const k=(I,$)=>{const H=ne.findOne(I,_);H&&H.classList.toggle($,p)};k(br,rr),k(".dropdown-menu",$r),_.setAttribute("aria-expanded",p)}_setAttributeIfNotExists(i,p,_){i.hasAttribute(p)||i.setAttribute(p,_)}_elemIsActive(i){return i.classList.contains(rr)}_getInnerElement(i){return i.matches(ir)?i:ne.findOne(ir,i)}_getOuterElement(i){return i.closest(".nav-item, .list-group-item")||i}static jQueryInterface(i){return this.each(function(){const p=Lt.getOrCreateInstance(this);if(typeof i=="string"){if(p[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);p[i]()}})}}N.on(document,nr,_t,function(m){["A","AREA"].includes(this.tagName)&&m.preventDefault(),S(this)||Lt.getOrCreateInstance(this).show()}),N.on(window,_r,()=>{for(const m of ne.find(Yt))Lt.getOrCreateInstance(m)}),U(Lt);const fn=".bs.toast",Vi=`mouseover${fn}`,hn=`mouseout${fn}`,gs=`focusin${fn}`,Cl=`focusout${fn}`,Sl=`hide${fn}`,ys=`hidden${fn}`,kl=`show${fn}`,xr=`shown${fn}`,Ta="hide",Qi="show",La="showing",Gu={animation:"boolean",autohide:"boolean",delay:"number"},Br={animation:!0,autohide:!0,delay:5e3};class ar extends Te{constructor(i,p){super(i,p),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Br}static get DefaultType(){return Gu}static get NAME(){return"toast"}show(){N.trigger(this._element,kl).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Ta),O(this._element),this._element.classList.add(Qi,La),this._queueCallback(()=>{this._element.classList.remove(La),N.trigger(this._element,xr),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(N.trigger(this._element,Sl).defaultPrevented||(this._element.classList.add(La),this._queueCallback(()=>{this._element.classList.add(Ta),this._element.classList.remove(La,Qi),N.trigger(this._element,ys)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Qi),super.dispose()}isShown(){return this._element.classList.contains(Qi)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,p){switch(i.type){case"mouseover":case"mouseout":this._hasMouseInteraction=p;break;case"focusin":case"focusout":this._hasKeyboardInteraction=p}if(p)return void this._clearTimeout();const _=i.relatedTarget;this._element===_||this._element.contains(_)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,Vi,i=>this._onInteraction(i,!0)),N.on(this._element,hn,i=>this._onInteraction(i,!1)),N.on(this._element,gs,i=>this._onInteraction(i,!0)),N.on(this._element,Cl,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const p=ar.getOrCreateInstance(this,i);if(typeof i=="string"){if(p[i]===void 0)throw new TypeError(`No method named "${i}"`);p[i](this)}})}}return tt(ar),U(ar),{Alert:kt,Button:fr,Carousel:Kn,Collapse:kn,Dropdown:Un,Modal:Ar,Offcanvas:er,Popover:fs,ScrollSpy:Pa,Tab:Lt,Toast:ar,Tooltip:tr}})}(su)),su.exports}Mb();const Fb=()=>a.jsx(cn,{children:a.jsx(ud,{titulo:"Ley de Lobby",subtitulo:"Municipalida
187d de San Vicente de Tagua Tagua",children:a.jsxs("section",{className:"lobby-section",children:[a.jsx("div",{className:"lobby-enlace",children:a.jsx("a",{className:"lobby-enlace--link",href:"https://www.leylobby.gob.cl/instituciones/MU303",target:"_blank",rel:"noopener noreferrer",children:"Haz click aquà para conocer más sobre la Ley de Lobby directamente desde la plataforma del gobierno ðï¸"})}),a.jsx("div",{className:"lobby-content",children:a.jsx("div",{className:"accordion",id:"lobbyAccordion",children:Rb.map((s,u)=>a.jsxs("div",{className:"accordion-item",children:[a.jsx("h2",{className:"accordion-header",id:`heading${u}`,children:a.jsx("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#collapse${u}`,"aria-expanded":"false","aria-controls":`collapse${u}`,children:s.question})}),a.jsx("div",{id:`collapse${u}`,className:"accordion-collapse collapse","aria-labelledby":`heading${u}`,"data-bs-parent":"#lobbyAccordion",children:a.jsx("div",{className:"accordion-body",children:s.answer})})]},s.id))})}),a.jsx("div",{className:"lobby-iframe",children:a.jsx("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/6cLz23GTw-4?si=C9XgW791zIi_ovG3",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0})})]})})}),qh=({children:s,title:u,description:o})=>a.jsx(cn,{children:a.jsxs("article",{className:"layout-general-main px-4 py-4","aria-labelledby":"layout-general-title layout-general-description",children:[a.jsxs("header",{className:"layout-general-header container-sm",children:[a.jsx("h1",{className:"layout-general-title",id:"layout-general-title",children:u}),a.jsx("p",{className:"layout-general-description",id:"layout-general-description",children:o})]}),a.jsx("section",{className:"layout-general-content container-sm pt-4",children:s})]})}),zb=()=>a.jsx(qh,{title:"Plan comunal de seguridad puÌblica",description:"Descubre el Plan Comunal de Seguridad Pública (PCSP) de la Municipalidad de San Vicente, donde se detallan las medidas de seguridad y prevención de riesgos para la comunidad.",children:a.jsxs("div",{className:"pcs-card",children:[a.jsx("header",{className:"pcs-header",children:a.jsxs("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos/plan_comunal_de_seguridad_publica/San_Vicente_PlanComunal_plan_comunal_actualizacio%CC%81n_2024.pdf",target:"_blank",rel:"noopener noreferrer","aria-label":"Descargar Plan Comunal de Seguridad Pública 2022-2026, Actualización noviembre 2024 (PDF, abre en nueva ventana)",children:[a.jsx("img",{src:"/plan_comunal_seguridad/plan-comunal-2025-06.png",alt:"",className:"pcs-img","aria-hidden":"true"}),a.jsx("span",{className:"visually-hidden",children:"Descargar documento"})]})}),a.jsxs("div",{className:"pcs-content",children:[a.jsx("h3",{children:"Plan Comunal de Seguridad Pública"}),a.jsx("span",{children:"2022-2026"}),a.jsx("p",{children:"Actualización noviembre 2024 para año 2025 versión I"})]})]})}),$b=()=>(As(),a.jsx(cn,{children:a.jsxs("article",{className:"layout-general-main px-4 py-4","aria-labelledby":"layout-general-title layout-general-description",children:[a.jsxs("header",{className:"layout-general-header container-sm",children:[a.jsx("h1",{className:"layout-general-title",id:"layout-general-title",children:"Plan de Desarrollo TurÃstico (PLADETUR)"}),a.jsx("p",{className:"layout-general-description",id:"layout-general-description",children:"Descubre el Plan de Desarrollo TurÃstico de San Vicente de Tagua Tagua, donde se detallan las estrategias para potenciar las fortalezas turÃsticas de la comuna."})]}),a.jsx("section",{className:"layout-general-content container-sm pt-4",children:a.jsxs("div",{className:"pladetur-card",children:[a.jsx("header",{className:"pladetur-header",children:a.jsxs("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos/plan_de_desarrollo_turistico/Plan_de_desarrollo_turistico.pdf",target:"_blank",rel:"noopener noreferrer","aria-label":"Descargar Plan de Desarrollo TurÃstico, abre en nueva ventana",children:[a.jsx("img",{src:"/plan_desarrollo_turistico/pladetur.png",alt:"",className:"pladetur-img","aria-hidden":"true"}),a.jsx("span",{className:"visually-hidden",children:"Descargar documento"})]})}),a.jsxs("div",{className:"pladetur-content",children:[a.jsx("h3",{children:"Plan de Desarrollo TurÃstico"}),a.jsx("p",{children:"PerÃodo: 2025-2028"}),a.jsx("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/plan-desarrollo-turistico/dcf306e8-532d-496c-a30b-885978f9ccad.pdf",target:"_blank",rel:"noopener noreferrer","aria-label":"Descargar Plan de Desarrollo TurÃstico, abre en nueva ventana",children:"Descargar Plan de Desarrollo TurÃstico"}),a.jsx("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/plan-desarrollo-turistico/273ad231-8447-48bd-9b46-cc938bc3e317.pdf",target:"_blank",rel:"noopener noreferrer","aria-label":"Descargar decreto del concejo municipal, abre en nueva ventana",children:"Descargar decreto del concejo municipal"})]})]})})]})})),Bb="_pcsCard_6qu56_1",qb="_light_6qu56_11",Ub="_dark_6qu56_17",Vb="_pcsHeader_6qu56_28",Qb="_pcsImg_6qu56_34",Hb="_pcsContent_6qu56_40",Wb="_downloadBtn_6qu56_88",Va={pcsCard:Bb,light:qb,dark:Ub,pcsHeader:Vb,pcsImg:Qb,pcsContent:Hb,downloadBtn:Wb},Kb=()=>{const{theme:s}=j.useContext(bu);return a.jsx(qh,{title:"Plan de Acción Comunal de Cambio Climático",description:"Te invitamos a conocer y descargar el Plan de Acción Comunal de Cambio Climático (PACCC) de nuestra comuna.",children:a.jsxs("div",{className:`${Va.pcsCard} ${s==="dark"?Va.dark:Va.light}`,children:[a.jsx("header",{className:Va.pcsHeader,children:a.jsx("a",{href:"/plan_comunal_cambio_climatico/PACCC_SAN VICENTE12062026.pdf",target:"_blank",rel:"noopener noreferrer","aria-label":"Descargar Plan de Acción Comunal de Cambio Climático 12-06-2026 (PDF, abre en nueva ventana)",children:a.jsx("img",{src:"/plan_comunal_cambio_climatico/caratula.png",alt:"Carátula de Plan de Acción Comunal de Cambio Climático",className:Va.pcsImg})})}),a.jsxs("div",{className:Va.pcsContent,children:[a.jsx("h3",{children:"Plan de Acción Comunal de Cambio Climático"}),a.jsx("span",{children:"PACCC San Vicente"}),a.jsx("p",{children:"Instrumento de gestión local de Cambio Climático"}),a.jsxs("a",{href:"/plan_comunal_cambio_climatico/PACCC_SAN VICENTE12062026.pdf",download:"PACCC_SAN_VICENTE_12062026.pdf",className:Va.downloadBtn,"aria-label":"Descargar ar
187chivo PDF del Plan de Acción Comunal de Cambio Climático",children:[a.jsx(Oh,{size:16}),a.jsx("span",{children:"Descargar"})]})]})]})})},Gb=()=>a.jsx(j.Suspense,{fallback:a.jsx(dr,{}),children:a.jsxs(Ha,{children:[a.jsx(De,{path:"fondos-publicos",element:a.jsx(Ib,{})}),a.jsx(De,{path:"estados-financieros",element:a.jsx(Ab,{})}),a.jsx(De,{path:"lobby",element:a.jsx(Fb,{})}),a.jsx(De,{path:"plan-comunal-seguridad-publica",element:a.jsx(zb,{})}),a.jsx(De,{path:"plan-desarrollo-turistico",element:a.jsx($b,{})}),a.jsx(De,{path:"plan-accion-comunal-cambio-climatico",element:a.jsx(Kb,{})}),a.jsx(De,{path:"*",element:a.jsx(ia,{})})]})}),Yb="_container_12ec7_1",Xb="_title_12ec7_13",Jb="_grid_12ec7_29",Zb="_card_12ec7_43",ex="_cardContent_12ec7_81",tx="_iconWrapper_12ec7_93",nx="_name_12ec7_113",rx="_actionIcon_12ec7_127",ea={container:Yb,title:Xb,grid:Jb,card:Zb,cardContent:ex,iconWrapper:tx,name:nx,actionIcon:rx},ix=[{name:"Monterekewa",url:"https://www.instagram.com/monte_rekewa/"},{name:"Viña Casa Acosta",url:"https://www.instagram.com/vinacasaacosta/"},{name:"Vinos Andariego (Daniel Escobar)",url:"https://www.instagram.com/vinosandariego/"},{name:"Viña VIK",url:"https://www.instagram.com/vik_wine/"},{name:"Bodegas Tagua Tagua",url:"https://www.instagram.com/bodegastaguatagua/"},{name:"Vinos Tawa",url:"https://www.instagram.com/vinostawa/"},{name:"Observatorio Tagua Tagua",url:"https://www.instagram.com/observatoriotaguatagua/"}],ax=()=>a.jsx(cn,{children:a.jsxs("div",{className:ea.container,children:[a.jsx("h1",{className:ea.title,children:"Conoce más sobre las viñas de nuestra comuna"}),a.jsx("div",{className:ea.grid,children:ix.map(s=>a.jsxs("a",{href:s.url,target:"_blank",rel:"noopener noreferrer",className:ea.card,"aria-label":`Visitar Instagram de ${s.name}`,children:[a.jsxs("div",{className:ea.cardContent,children:[a.jsx("div",{className:ea.iconWrapper,children:a.jsx(od,{size:24})}),a.jsx("span",{className:ea.name,children:s.name})]}),a.jsx(Th,{size:20,className:ea.actionIcon})]},s.name))})]})}),sx="_container_12ec7_1",ox="_title_12ec7_13",lx="_grid_12ec7_29",ux="_card_12ec7_43",cx="_cardContent_12ec7_81",dx="_iconWrapper_12ec7_93",fx="_name_12ec7_113",hx="_actionIcon_12ec7_127",ta={container:sx,title:ox,grid:lx,card:ux,cardContent:cx,iconWrapper:dx,name:fx,actionIcon:hx},px=[{name:"Custos Beer",url:"https://www.instagram.com/custosbeer.cl/"},{name:"Dawulko",url:"https://www.instagram.com/dawullko/"},{name:"Agua y Sol",url:"https://www.instagram.com/aguaysolchile/"}],mx=()=>a.jsx(cn,{children:a.jsxs("div",{className:ta.container,children:[a.jsx("h1",{className:ta.title,children:"Conoce más sobre las cervezas artesanales de nuestra comuna"}),a.jsx("div",{className:ta.grid,children:px.map(s=>a.jsxs("a",{href:s.url,target:"_blank",rel:"noopener noreferrer",className:ta.card,"aria-label":`Visitar Instagram de ${s.name}`,children:[a.jsxs("div",{className:ta.cardContent,children:[a.jsx("div",{className:ta.iconWrapper,children:a.jsx(od,{size:24})}),a.jsx("span",{className:ta.name,children:s.name})]}),a.jsx(Th,{size:20,className:ta.actionIcon})]},s.name))})]})}),gx="_container_szyo3_1",yx="_title_szyo3_13",vx="_pagoButton_szyo3_31",_x="_twoColumns_szyo3_81",bx="_leftColumn_szyo3_93",xx="_rightColumn_szyo3_95",wx="_card_szyo3_109",jx="_cardTitle_szyo3_121",Cx="_subtitle_szyo3_139",Sx="_cuotasList_szyo3_155",kx="_cuotaItem_szyo3_167",Ex="_cuotaNumero_szyo3_183",Nx="_cuotaFecha_szyo3_197",Px="_cuotaMonto_szyo3_211",Ox="_horariosList_szyo3_227",Tx="_horarioItem_szyo3_239",Lx="_dia_szyo3_255",Ix="_legalText_szyo3_283",Ax="_quote_szyo3_297",Nt={container:gx,title:yx,pagoButton:vx,twoColumns:_x,leftColumn:bx,rightColumn:xx,card:wx,cardTitle:jx,subtitle:Cx,cuotasList:Sx,cuotaItem:kx,cuotaNumero:Ex,cuotaFecha:Nx,cuotaMonto:Px,horariosList:Ox,horarioItem:Tx,dia:Lx,legalText:Ix,quote:Ax},Rx=()=>{const s=[{numero:1,vencimiento:"30 abril",monto:"$ 23.991"},{numero:2,vencimiento:"30 junio",monto:"$ 23.991"}];return a.jsx(cn,{children:a.jsxs("div",{className:Nt.container,children:[a.jsx("h1",{className:Nt.title,children:"Derechos de Aseo"}),a.jsx("a",{href:"https://sanvicente.vecinodigital.cl/Vecino_Digital/",target:"_blank",rel:"noopener noreferrer",className:Nt.pagoButton,children:"HAZ CLICK AQUà PARA PAGAR EN LÃNEA"}),a.jsxs("div",{className:Nt.twoColumns,children:[a.jsxs("div",{className:Nt.leftColumn,children:[a.jsxs("div",{className:Nt.card,children:[a.jsx("h2",{className:Nt.cardTitle,children:"Fechas de Vencimiento"}),a.jsx("p",{className:Nt.subtitle,children:"4 cuotas: abril, junio, septiembre y noviembre"}),a.jsx("div",{className:Nt.cuotasList,children:s.map(u=>a.jsxs("div",{className:Nt.cuotaItem,children:[a.jsxs("span",{className:Nt.cuotaNumero,children:["Cuota ",u.numero]}),a.jsxs("span",{className:Nt.cuotaFecha,children:["Vence ",u.vencimiento]}),a.jsx("span",{className:Nt.cuotaMonto,children:u.monto})]},u.numero))})]}),a.jsxs("div",{className:Nt.card,children:[a.jsx("h2",{className:Nt.cardTitle,children:"Horarios de Atención"}),a.jsxs("div",{className:Nt.horariosList,children:[a.jsxs("div",{className:Nt.horarioItem,children:[a.jsx("span",{className:Nt.dia,children:"Lunes a Jueves"}),a.jsx("span",{children:"08:30 a 13:30 hrs / 15:00 a 16:30 hrs"})]}),a.jsxs("div",{className:Nt.horarioItem,children:[a.jsx("span",{className:Nt.dia,children:"Viernes"}),a.jsx("span",{children:"08:30 a 14:00 hrs"})]})]})]})]}),a.jsx("div",{className:Nt.rightColumn,children:a.jsxs("div",{className:Nt.card,children:[a.jsx("h2",{className:Nt.cardTitle,children:"Base Legal"}),a.jsx("p",{className:Nt.legalText,children:"De acuerdo a lo establecido en Ordenanza aprobada por Decreto Nro. 3150 de fecha 23 abril 2020, según artÃculo 4°:"}),a.jsx("blockquote",{className:Nt.quote,children:'"La determinación del costo del servicio comprenderá los gastos reales que se realicen a través del Departamento de Aseo y otros departamentos a que estén relacionados con el cálculo, emisión, cobro y control de pago, correspondientes a las funciones de recolección, transporte, etapas intermedias y disposición final de la basura".'})]})})]})]})})},Dx="_wrapper_z44jn_13",Mx="_card_z44jn_37",Fx="_coverWrapper_z44jn_69",zx="_coverImage_z44jn_83",$x="_socialRow_z44jn_101",Bx="_socialLabel_z44jn_117",qx="_socialIcons_z44jn_131",Ux="_socialLink_z44jn_141",Vx="_infoColumn_z44jn_187",Qx="_yearBadge_z44jn_209",Hx="_title_z44jn_237",Wx="_subtitle_z44jn_253",Kx="_divider_z44jn_271",Gx="_description_z44jn_291",Yx="_btnContainer_z44jn_313",Xx="_actions_z44jn_327",Jx="_btn_z44jn_313",Zx="_btnPrimary_z44jn_389",ew="_btnSecondary_z44jn_417",tw="_btnOutline_z44jn_439",nw="_flipbookOverlay_z44jn_605",rw="_fadeIn_z44jn_1",iw="_flipbookHeader_z44jn_661",aw="_pageIndicator_z44jn_687",sw="_closeBtn_z44jn_703",ow="_flipbookViewport_z44jn_745",lw="_book_z44jn_767",uw="_page_z44jn_687",cw="_active_z44jn_815",dw="_isPrevious_z44jn_827",fw="_isNext_z44jn_837",hw="_pageFront_z44jn_847",pw="_pageImage_z44jn_875",mw="_flipped_z44jn_895",gw="_flipbookControls_z44jn_915",yw="_navBtn_z44jn_933",st={wrapper:Dx,card:Mx,coverWrapper:Fx,coverImage:zx,socialRow:$x,socialLabel:Bx,socialIcons:qx,socialLink:Ux,infoColumn:Vx,yearBadge:Qx,title:Hx,subtitle:Wx,divider:Kx,description:Gx,btnContainer:Yx,actions:Xx,btn:Jx,btnPrimary:Zx,btnSecondary:ew,btnOutline:tw,flipbookOverlay:nw,fadeIn:rw,flipbookHeader:iw,pageIndicator:aw,closeBtn:sw,flipbookViewport:ow,book:lw,page:uw,active:cw,isPrevious:dw,isNext:fw,pageFront:hw,pageImage:pw,flipped:mw,flipbookControls:gw,navBtn:yw},vw=()=>{const[s,u]=j.useState(!1),[o,c]=j.useState(0),[d,h]=j.useState(!1),g=52;j.useEffect(()=>{const F=()=>h(window.innerWidth<=768);return F(),window.addEventListener("resize",F),()=>window.removeEventListener("resize",F)},[]);const v=j.useRef(0),x=j.useRef(0),b=()=>{o<g-1&&c(F=>F+1)},S=()=>{o>0&&c(F=>F-1)},E=F=>{v.current=F.targetTouches[0].clientX},L=F=>{x.current=F.targetTouches[0].clientX},O=()=>{if(!v.current||!x.current)return;const F=v.current-x.current,q=F>50,U=F<-50;q&&b(),U&&S(),v.current=0,x.current=0};j.useEffect(()=>{const F=q=>
187{s&&(q.key==="ArrowRight"&&b(),q.key==="ArrowLeft"&&S(),q.key==="Escape"&&u(!1))};return window.addEventListener("keydown",F),()=>window.removeEventListener("keydown",F)},[s,o]),j.useEffect(()=>{s?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[s]);const A=Array.from({length:g},(F,q)=>q);return a.jsxs(cn,{children:[a.jsx("section",{className:st.wrapper,children:a.jsxs("div",{className:st.card,children:[a.jsxs("div",{className:st.infoColumn,children:[a.jsx("h1",{className:st.title,children:"Revista Cuenta Pública 2025"}),a.jsx("p",{className:st.subtitle,children:"Municipalidad de San Vicente de Tagua Tagua"}),a.jsx("div",{className:st.divider,"aria-hidden":"true"}),a.jsx("div",{className:st.coverWrapper,children:a.jsx("img",{src:"/cuentas_publicas/2025.jpeg",alt:"Portada Cuenta Pública 2025",className:st.coverImage})}),a.jsxs("div",{className:st.btnContainer,children:[a.jsxs("button",{onClick:()=>u(!0),className:`${st.btn} ${st.btnPrimary}`,children:[a.jsx(Bg,{size:18}),"Leer Revista"]}),a.jsxs("a",{href:"https://storage.googleapis.com/san-vicente-bucket/archivos_portal/revistas/4ffc9125-ed63-4c35-9554-7ce7ab34a934.pdf",target:"_blank",rel:"noopener noreferrer",className:`${st.btn} ${st.btnOutline}`,children:[a.jsx(Oh,{size:18}),"Descargar"]})]})]}),a.jsxs("div",{className:st.socialRow,children:[a.jsx("span",{className:st.socialLabel,children:"SÃguenos en"}),a.jsxs("div",{className:st.socialIcons,children:[a.jsx("a",{href:"https://www.facebook.com/municipalidadsanvicentedetaguatagua",target:"_blank",rel:"noopener noreferrer",className:st.socialLink,"aria-label":"Facebook",children:a.jsx(Jg,{size:20})}),a.jsx("a",{href:"https://www.instagram.com/municipalidaddesanvicente/",target:"_blank",rel:"noopener noreferrer",className:st.socialLink,"aria-label":"Instagram",children:a.jsx(od,{size:20})})]})]})]})}),s&&a.jsxs("div",{className:st.flipbookOverlay,children:[a.jsxs("div",{className:st.flipbookHeader,children:[a.jsxs("span",{className:st.pageIndicator,children:["Página ",o+1," de ",g]}),a.jsx("button",{className:st.closeBtn,onClick:()=>u(!1),"aria-label":"Cerrar",children:a.jsx(Lh,{size:28})})]}),a.jsx("div",{className:st.flipbookViewport,onClick:()=>{d||u(!1)},onTouchStart:E,onTouchMove:L,onTouchEnd:O,children:a.jsx("div",{className:st.book,onClick:F=>F.stopPropagation(),children:A.map(F=>{const q=F===o,U=F<o,V=F>o;return Math.abs(F-o)>1?null:a.jsx("div",{className:` 188 ${st.page} 189 ${q?st.active:""} 190 ${U?st.isPrevious:""} 191 ${V?st.isNext:""} 192 `,children:a.jsx("div",{className:st.pageFront,children:a.jsx("img",{src:`/cuentas_publicas/revista_2025/${F}.jpg`,alt:`Página ${F}`,className:st.pageImage,loading:q?"eager":"lazy"})})},F)})})}),a.jsxs("div",{className:st.flipbookControls,children:[a.jsx("button",{className:st.navBtn,onClick:F=>{F.stopPropagation(),S()},disabled:o===0,"aria-label":"Anterior",children:a.jsx(Ug,{size:32})}),a.jsx("button",{className:st.navBtn,onClick:F=>{F.stopPropagation(),b()},disabled:o>=g-1,"aria-label":"Siguiente",children:a.jsx(Qg,{size:32})})]})]})]})},_w=j.lazy(()=>$t(()=>import("./Home-DpxgTSrQ.js"),__vite__mapDeps([35,5,36]))),bw=j.lazy(()=>$t(()=>import("./CondicionesUso-D6WpKrz_.js"),__vite__mapDeps([37,38]))),xw=j.lazy(()=>$t(()=>import("./PoliticasPrivacidad-BM2sBzwc.js"),__vite__mapDeps([39,40]))),ww=()=>a.jsx(j.Suspense,{fallback:a.jsx(dr,{}),children:a.jsxs(Ha,{children:[a.jsx(De,{path:"/",element:a.jsx(_w,{})}),a.jsx(De,{path:"/municipalidad/*",element:a.jsx(E_,{})}),a.jsx(De,{path:"/nuestra-comuna/*",element:a.jsx(I_,{})}),a.jsx(De,{path:"/san-vicente/*",element:a.jsx(rb,{})}),a.jsx(De,{path:"/transparencia/*",element:a.jsx(Gb,{})}),a.jsx(De,{path:"/tramites/*",element:a.jsx(Ob,{})}),a.jsx(De,{path:"/servicios/*",element:a.jsx(R_,{})}),a.jsx(De,{path:"/cuenta-publica/2025",element:a.jsx(vw,{})}),a.jsx(De,{path:"/derecho-aseo",element:a.jsx(Rx,{})}),a.jsx(De,{path:"/vinas",element:a.jsx(ax,{})}),a.jsx(De,{path:"/cervezas",element:a.jsx(mx,{})}),a.jsx(De,{path:"/condiciones-uso",element:a.jsx(bw,{})}),a.jsx(De,{path:"/politicas-privacidad",element:a.jsx(xw,{})}),a.jsx(De,{path:"*",element:a.jsx(ia,{})})]})}),jw=()=>{const s=_i();return j.useEffect(()=>{window.scrollTo(0,0)},[s]),null},Cw=j.createContext(),Sw=({children:s})=>{const u=j.useRef(null);return a.jsx(Cw.Provider,{value:u,children:s})},kw=j.createContext(),Ew=({children:s})=>{const[u,o]=j.useState(!1);return a.jsx(kw.Provider,{value:{heroContentCargado:u,setHeroContentCargado:o},children:s})},Uh=j.createContext(),Nw=({children:s})=>{const[u,o]=j.useState([]),[c,d]=j.useState(!1);return a.jsx(Uh.Provider,{value:{categorias:u,setCategorias:o,categoriasCargadas:c,setCategoriasCargadas:d},children:s})},Aw=()=>j.useContext(Uh),Pw=new uh,Ow=()=>a.jsx(fh,{client:Pw,children:a.jsx(Tg,{children:a.jsx(Sw,{children:a.jsx(Ew,{children:a.jsx(Y_,{children:a.jsx(Nw,{children:a.jsxs(bg,{children:[a.jsx(jw,{}),a.jsx(ww,{})]})})})})})})}),Tw=new uh({defaultOptions:{queries:{refetchOnWindowFocus:!1,staleTime:5*60*1e3,retry:1}}});Pp.createRoot(document.getElementById("root")).render(a.jsx(j.Str
192ictMode,{children:a.jsx(fh,{client:Tw,children:a.jsx(Ow,{})})}));export{Ih as A,Ug as C,Oh as D,Th as E,cn as L,ay as M,Xp as R,bu as T,$t as _,Lw as a,Qg as b,Bt as c,dr as d,yi as e,$n as f,th as g,Mh as h,ud as i,a as j,sm as k,Rm as l,wh as m,Aw as n,eb as o,ld as p,Fh as q,j as r,Iw as s,As as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.