vendor: 20,354 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/IntranetArea-DMSU3zgB.js","assets/api-DAetr5Kz.js","assets/api-CXbbUGgy.css","assets/IntranetArea-law5_OA7.css","assets/UserPortalArea-TyT0HS5I.js","assets/UserPortalArea-BY-ngUt_.css"])))=>i.map(i=>d[i]); 2var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.7`})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),h=s(((e,t)=>{t.exports=m()})),g=s((e=>{var t=p();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;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.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.7`})),_=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=s((e=>{var t=h(),n=p(),r=_();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;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.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(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 s(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 c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,m=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=Symbol.for(`react.activity`),A=Symbol.for(`react.memo_cache_sentinel`),j=Symbol.iterator;function M(e){return typeof e!=`object`||!e?null:(e=j&&e[j]||e[`@@iterator`],typeof e==`function`?e:null)}var N=Symbol.for(`react.client.reference`);function P(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===N?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case T:return`Suspense`;case E:return`SuspenseList`;case k:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case D:return t=e.displayName||null,t===null?P(e.type)||`Memo`:t;case O:t=e._payload,e=e._init;try{return P(e(t))}catch{}}return null}var F=Array.isArray,I=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},ee=[],z=-1;function B(e){return{current:e}}function te(e){0>z||(e.current=ee[z],ee[z]=null,z--)}function V(e,t){z++,ee[z]=e.current,e.current=t}var ne=B(null),re=B(null),ie=B(null),ae=B(null);function oe(e,t){switch(V(ie,t),V(re,e),V(ne,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Yd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Yd(t),e=Xd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}te(ne),V(ne,e)}function H(){te(ne),te(re),te(ie)}function se(e){e.memoizedState!==null&&V(ae,e);var t=ne.current,n=Xd(t,e.type);t!==n&&(V(re,e),V(ne,n))}function ce(e){re.current===e&&(te(ne),te(re)),ae.current===e&&(te(ae),op._currentValue=R
vendor: 2,541 bytes, lines 2-9
2)}var le,ue;function de(e){if(le===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);le=t&&t[1]||``,ue=-1<e.stack.indexOf(` 3 at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return` 4`+le+e+ue}var fe=!1;function pe(e,t){if(!e||fe)return``;fe=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(` 5`),l=s.split(` 6`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=` 7`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{fe=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?de(n):``}function me(e,t){switch(e.tag){case 26:case 27:case 5:return de(e.type);case 16:return de(`Lazy`);case 13:return e.child!==t&&t!==null?de(`Suspense Fallback`):de(`Suspense`);case 19:return de(`SuspenseList`);case 0:case 15:return pe(e.type,!1);case 11:return pe(e.type.render,!1);case 1:return pe(e.type,!0);case 31:return de(`Activity`);default:return``}}function he(e){try{var t=``,n=null;do t+=me(e,n),n=e,e=e.return;while(e);return t}catch(e){return` 8Error generating stack: `+e.message+` 9`+e.stack}}var ge=Object.prototype.hasOwnProperty,_e=t.unstable_scheduleCallback,ve=t.unstable_cancelCallback,ye=t.unstable_shouldYield,be=t.unstable_requestPaint,xe=t.unstable_now,Se=t.unstable_getCurrentPriorityLevel,Ce=t.unstable_ImmediatePriority,
vendor: 18,424 bytes, line 9
9we=t.unstable_UserBlockingPriority,Te=t.unstable_NormalPriority,Ee=t.unstable_LowPriority,De=t.unstable_IdlePriority,Oe=t.log,ke=t.unstable_setDisableYieldValue,Ae=null,je=null;function Me(e){if(typeof Oe==`function`&&ke(e),je&&typeof je.setStrictMode==`function`)try{je.setStrictMode(Ae,e)}catch{}}var Ne=Math.clz32?Math.clz32:Ie,Pe=Math.log,Fe=Math.LN2;function Ie(e){return e>>>=0,e===0?32:31-(Pe(e)/Fe|0)|0}var Le=256,Re=262144,ze=4194304;function Be(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ve(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Be(n))):i=Be(o):i=Be(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Be(n))):i=Be(o)):i=Be(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function He(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ue(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function We(){var e=ze;return ze<<=1,!(ze&62914560)&&(ze=4194304),e}function Ge(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ke(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function qe(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ne(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Je(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Je(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ne(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Ye(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ne(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Xe(e,t){var n=t&-t;return n=n&42?1:Ze(n),(n&(e.suspendedLanes|t))===0?n:0}function Ze(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Qe(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function $e(){var e=L.p;return e===0?(e=window.event,e===void 0?32:Sp(e.type)):e}function et(e,t){var n=L.p;try{return L.p=e,t()}finally{L.p=n}}var tt=Math.random().toString(36).slice(2),nt=`__reactFiber$`+tt,rt=`__reactProps$`+tt,it=`__reactContainer$`+tt,at=`__reactEvents$`+tt,ot=`__reactListeners$`+tt,st=`__reactHandles$`+tt,ct=`__reactResources$`+tt,lt=`__reactMarker$`+tt;function ut(e){delete e[nt],delete e[rt],delete e[at],delete e[ot],delete e[st]}function dt(e){var t=e[nt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[it]||n[nt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=yf(e);e!==null;){if(n=e[nt])return n;e=yf(e)}return t}e=n,n=e.parentNode}return null}function ft(e){if(e=e[nt]||e[it]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function pt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function mt(e){var t=e[ct];return t||=e[ct]={hoistableStyles:new Map,hoistableScripts:new Map},t}function ht(e){e[lt]=!0}var gt=new Set,_t={};function vt(e,t){yt(e,t),yt(e+`Capture`,t)}function yt(e,t){for(_t[e]=t,e=0;e<t.length;e++)gt.add(t[e])}var bt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),xt={},St={};function Ct(e){return ge.call(St,e)?!0:ge.call(xt,e)?!1:bt.test(e)?St[e]=!0:(xt[e]=!0,!1)}function wt(e,t,n){if(Ct(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Tt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Et(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Dt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ot(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function kt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function At(e){if(!e._valueTracker){var t=Ot(e)?`checked`:`value`;e._valueTracker=kt(e,t,``+e[t])}}function jt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ot(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Mt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Nt=/[\n"\\]/g;function Pt(e){return e.replace(Nt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Ft(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Dt(t)):e.value!==``+Dt(t)&&(e.value=``+Dt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Lt(e,o,Dt(n)):Lt(e,o,Dt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Dt(s):e.removeAttribute(`name`)}function It(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){At(e);return}n=n==null?``:``+Dt(n),t=t==null?n:``+Dt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),At(e)}function Lt(e,t,n){t===`number`&&Mt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Rt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Dt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function zt(e,t,n){if(t!=null&&(t=``+Dt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Dt(n)}function Bt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(F(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Dt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),At(e)}function Vt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ht=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function Ut(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Ht.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Wt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Ut(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Ut(e,o,t[o])}function Gt(e){if(e.indexOf(`-`)===-1)return!1;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 Kt=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),qt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Jt(e){return qt.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Yt(){}var Xt=null;function Zt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qt=null,$t=null;function en(e){var t=ft(e);if(t&&(e=t.stateNode)){var n=e[rt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Ft(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Pt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[rt]||null;if(!a)throw Error(i(90));Ft(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&jt(r)}break a;case`textarea`:zt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Rt(e,!!n.multiple,t,!1)}}}var tn=!1;function nn(e,t,n){if(tn)return e(t,n);tn=!0;try{return e(t)}finally{if(tn=!1,(Qt!==null||$t!==null)&&(Eu(),Qt&&(t=Qt,e=$t,$t=Qt=null,en(t),e)))for(t=0;t<e.length;t++)en(e[t])}}function rn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[rt]||null;if(r===null)return null;n=r[t];a: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 a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var an=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),on=!1;if(an)try{var sn={};Object.defineProperty(sn,"passive",{get:function(){on=!0}}),window.addEventListener(`test`,sn,sn),window.removeEventListener(`test`,sn,sn)}catch{on=!1}var cn=null,ln=null,un=null;function dn(){if(un)return un;var e,t=ln,n=t.length,r,i=`value`in cn?cn.value:cn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return un=i.slice(e,1<r?1-r:void 0)}function fn(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 pn(){return!0}function mn(){return!1}function hn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?pn:mn,this.isPropagationStopped=mn,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=pn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=pn)},persist:function(){},isPersistent:pn}),t}var gn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_n=hn(gn),vn=f({},gn,{view:0,detail:0}),yn=hn(vn),bn,xn,Sn,Cn=f({},vn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,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!==Sn&&(Sn&&e.type===`mousemove`?(bn=e.screenX-Sn.screenX,xn=e.screenY-Sn.screenY):xn=bn=0,Sn=e),bn)},movementY:function(e){return`movementY`in e?e.movementY:xn}}),wn=hn(Cn),Tn=hn(f({},Cn,{dataTransfer:0})),En=hn(f({},vn,{relatedTarget:0})),Dn=hn(f({},gn,{animationName:0,elapsedTime:0,pseudoElement:0})),On=hn(f({},gn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),kn=hn(f({},gn,{data:0})),An={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},jn={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:`F
95`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Mn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Nn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Mn[e])?!!t[e]:!1}function Pn(){return Nn}var Fn=hn(f({},vn,{key:function(e){if(e.key){var t=An[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=fn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?jn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCode:function(e){return e.type===`keypress`?fn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?fn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),In=hn(f({},Cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=hn(f({},vn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),Rn=hn(f({},gn,{propertyName:0,elapsedTime:0,pseudoElement:0})),zn=hn(f({},Cn,{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})),Bn=hn(f({},gn,{newState:0,oldState:0})),Vn=[9,13,27,32],Hn=an&&`CompositionEvent`in window,Un=null;an&&`documentMode`in document&&(Un=document.documentMode);var Wn=an&&`TextEvent`in window&&!Un,Gn=an&&(!Hn||Un&&8<Un&&11>=Un),Kn=` `,qn=!1;function Jn(e,t){switch(e){case`keyup`:return Vn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Yn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Xn=!1;function Zn(e,t){switch(e){case`compositionend`:return Yn(t);case`keypress`:return t.which===32?(qn=!0,Kn):null;case`textInput`:return e=t.data,e===Kn&&qn?null:e;default:return null}}function Qn(e,t){if(Xn)return e===`compositionend`||!Hn&&Jn(e,t)?(e=dn(),un=ln=cn=null,Xn=!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 Gn&&t.locale!==`ko`?null:t.data;default:return null}}var $n={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 er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!$n[e.type]:t===`textarea`}function tr(e,t,n,r){Qt?$t?$t.push(r):$t=[r]:Qt=r,t=Nd(t,`onChange`),0<t.length&&(n=new _n(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var nr=null,rr=null;function ir(e){Td(e,0)}function ar(e){if(jt(pt(e)))return e}function or(e,t){if(e===`change`)return t}var sr=!1;if(an){var cr;if(an){var lr=`oninput`in document;if(!lr){var ur=document.createElement(`div`);ur.setAttribute(`oninput`,`return;`),lr=typeof ur.oninput==`function`}cr=lr}else cr=!1;sr=cr&&(!document.documentMode||9<document.documentMode)}function dr(){nr&&(nr.detachEvent(`onpropertychange`,fr),rr=nr=null)}function fr(e){if(e.propertyName===`value`&&ar(rr)){var t=[];tr(t,rr,e,Zt(e)),nn(ir,t)}}function pr(e,t,n){e===`focusin`?(dr(),nr=t,rr=n,nr.attachEvent(`onpropertychange`,fr)):e===`focusout`&&dr()}function mr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return ar(rr)}function hr(e,t){if(e===`click`)return ar(t)}function gr(e,t){if(e===`input`||e===`change`)return ar(t)}function _r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var vr=typeof Object.is==`function`?Object.is:_r;function yr(e,t){if(vr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)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 i=n[r];if(!ge.call(t,i)||!vr(e[i],t[i]))return!1}return!0}function br(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xr(e,t){var n=br(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}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=br(n)}}function Sr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Mt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mt(e.document)}return t}function wr(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`)}var Tr=an&&`documentMode`in document&&11>=document.documentMode,Er=null,Dr=null,Or=null,kr=!1;function Ar(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;kr||Er==null||Er!==Mt(r)||(r=Er,`selectionStart`in r&&wr(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: 72,426 bytes, line 9
9sNode:r.focusNode,focusOffset:r.focusOffset}),Or&&yr(Or,r)||(Or=r,r=Nd(Dr,`onSelect`),0<r.length&&(t=new _n(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Er)))}function jr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Mr={animationend:jr(`Animation`,`AnimationEnd`),animationiteration:jr(`Animation`,`AnimationIteration`),animationstart:jr(`Animation`,`AnimationStart`),transitionrun:jr(`Transition`,`TransitionRun`),transitionstart:jr(`Transition`,`TransitionStart`),transitioncancel:jr(`Transition`,`TransitionCancel`),transitionend:jr(`Transition`,`TransitionEnd`)},Nr={},Pr={};an&&(Pr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Mr.animationend.animation,delete Mr.animationiteration.animation,delete Mr.animationstart.animation),`TransitionEvent`in window||delete Mr.transitionend.transition);function Fr(e){if(Nr[e])return Nr[e];if(!Mr[e])return e;var t=Mr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Pr)return Nr[e]=t[n];return e}var Ir=Fr(`animationend`),Lr=Fr(`animationiteration`),Rr=Fr(`animationstart`),zr=Fr(`transitionrun`),Br=Fr(`transitionstart`),Vr=Fr(`transitioncancel`),Hr=Fr(`transitionend`),Ur=new Map,Wr=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);Wr.push(`scrollEnd`);function Gr(e,t){Ur.set(e,t),vt(t,[e])}var Kr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},qr=[],Jr=0,Yr=0;function Xr(){for(var e=Jr,t=Yr=Jr=0;t<e;){var n=qr[t];qr[t++]=null;var r=qr[t];qr[t++]=null;var i=qr[t];qr[t++]=null;var a=qr[t];if(qr[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&ei(n,i,a)}}function Zr(e,t,n,r){qr[Jr++]=e,qr[Jr++]=t,qr[Jr++]=n,qr[Jr++]=r,Yr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Qr(e,t,n,r){return Zr(e,t,n,r),ti(e)}function $r(e,t){return Zr(e,null,null,t),ti(e)}function ei(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ne(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ti(e){if(50<_u)throw _u=0,vu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ni={};function ri(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.refCleanup=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 ii(e,t,n,r){return new ri(e,t,n,r)}function ai(e){return e=e.prototype,!(!e||!e.isReactComponent)}function oi(e,t){var n=e.alternate;return n===null?(n=ii(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,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.refCleanup=e.refCleanup,n}function si(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ci(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)ai(e)&&(s=1);else if(typeof e==`string`)s=Zf(e,n,ne.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case k:return e=ii(31,n,t,a),e.elementType=k,e.lanes=o,e;case y:return li(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=ii(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case T:return e=ii(13,n,t,a),e.elementType=T,e.lanes=o,e;case E:return e=ii(19,n,t,a),e.elementType=E,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case D:s=14;break a;case O:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=ii(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function li(e,t,n,r){return e=ii(7,e,r,t),e.lanes=n,e}function ui(e,t,n){return e=ii(6,e,null,t),e.lanes=n,e}function di(e){var t=ii(18,null,null,0);return t.stateNode=e,t}function fi(e,t,n){return t=ii(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var pi=new WeakMap;function mi(e,t){if(typeof e==`object`&&e){var n=pi.get(e);return n===void 0?(t={value:e,source:t,stack:he(t)},pi.set(e,t),t):n}return{value:e,source:t,stack:he(t)}}var hi=[],gi=0,_i=null,vi=0,yi=[],bi=0,xi=null,Si=1,Ci=``;function wi(e,t){hi[gi++]=vi,hi[gi++]=_i,_i=e,vi=t}function Ti(e,t,n){yi[bi++]=Si,yi[bi++]=Ci,yi[bi++]=xi,xi=e;var r=Si;e=Ci;var i=32-Ne(r)-1;r&=~(1<<i),n+=1;var a=32-Ne(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Si=1<<32-Ne(t)+i|n<<i|r,Ci=a+e}else Si=1<<a|n<<i|r,Ci=e}function Ei(e){e.return!==null&&(wi(e,1),Ti(e,1,0))}function Di(e){for(;e===_i;)_i=hi[--gi],hi[gi]=null,vi=hi[--gi],hi[gi]=null;for(;e===xi;)xi=yi[--bi],yi[bi]=null,Ci=yi[--bi],yi[bi]=null,Si=yi[--bi],yi[bi]=null}function Oi(e,t){yi[bi++]=Si,yi[bi++]=Ci,yi[bi++]=xi,Si=t.id,Ci=t.overflow,xi=e}var ki=null,Ai=null,ji=!1,Mi=null,Ni=!1,Pi=Error(i(519));function Fi(e){throw Vi(mi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Pi}function Ii(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[nt]=e,t[rt]=r,n){case`dialog`:Ed(`cancel`,t),Ed(`close`,t);break;case`iframe`:case`object`:case`embed`:Ed(`load`,t);break;case`video`:case`audio`:for(n=0;n<Cd.length;n++)Ed(Cd[n],t);break;case`source`:Ed(`error`,t);break;case`img`:case`image`:case`link`:Ed(`error`,t),Ed(`load`,t);break;case`details`:Ed(`toggle`,t);break;case`input`:Ed(`invalid`,t),It(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Ed(`invalid`,t);break;case`textarea`:Ed(`invalid`,t),Bt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||zd(t.textContent,n)?(r.popover!=null&&(Ed(`beforetoggle`,t),Ed(`toggle`,t)),r.onScroll!=null&&Ed(`scroll`,t),r.onScrollEnd!=null&&Ed(`scrollend`,t),r.onClick!=null&&(t.onclick=Yt),t=!0):t=!1,t||Fi(e,!0)}function Li(e){for(ki=e.return;ki;)switch(ki.tag){case 5:case 31:case 13:Ni=!1;return;case 27:case 3:Ni=!0;return;default:ki=ki.return}}function Ri(e){if(e!==ki)return!1;if(!ji)return Li(e),ji=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Zd(e.type,e.memoizedProps)),n=!n),n&&Ai&&Fi(e),Li(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ai=vf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ai=vf(e)}else t===27?(t=Ai,of(e.type)?(e=_f,_f=null,Ai=e):Ai=t):Ai=ki?gf(e.stateNode.nextSibling):null;return!0}function zi(){Ai=ki=null,ji=!1}function Bi(){var e=Mi;return e!==null&&(ru===null?ru=e:ru.push.apply(ru,e),Mi=null),e}function Vi(e){Mi===null?Mi=[e]:Mi.push(e)}var Hi=B(null),Ui=null,Wi=null;function Gi(e,t,n){V(Hi,t._currentValue),t._currentValue=n}function Ki(e){e._currentValue=Hi.current,te(Hi)}function qi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Ji(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),qi(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),qi(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Yi(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;vr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ae.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[op]:e.push(op))}a=a.return}e!==null&&Ji(t,e,n,r),t.flags|=262144}function Xi(e){for(e=e.firstContext;e!==null;){if(!vr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Zi(e){Ui=e,Wi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Qi(e){return ea(Ui,e)}function $i(e,t){return Ui===null&&Zi(e),ea(e,t)}function ea(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Wi===null){if(e===null)throw Error(i(308));Wi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Wi=Wi.next=t;return n}var ta=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},na=t.unstable_scheduleCallback,ra=t.unstable_NormalPriority,ia={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function aa(){return{controller:new ta,data:new Map,refCount:0}}function oa(e){e.refCount--,e.refCount===0&&na(ra,function(){e.controller.abort()})}var sa=null,ca=0,la=0,ua=null;function da(e,t){if(sa===null){var n=sa=[];ca=0,la=_d(),ua={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ca++,t.then(fa,fa),t}function fa(){if(--ca===0&&sa!==null){ua!==null&&(ua.status=`fulfilled`);var e=sa;sa=null,la=0,ua=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function pa(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ma=I.S;I.S=function(e,t){ou=xe(),typeof t==`object`&&t&&typeof t.then==`function`&&da(e,t),ma!==null&&ma(e,t)};var ha=B(null);function ga(){var e=ha.current;return e===null?Vl.pooledCache:e}function _a(e,t){t===null?V(ha,ha.current):V(ha,t.pool)}function va(){var e=ga();return e===null?null:{parent:ia._currentValue,pool:e}}var ya=Error(i(460)),ba=Error(i(474)),xa=Error(i(542)),Sa={then:function(){}};function Ca(e){return e=e.status,e===`fulfilled`||e===`rejected`}function wa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Yt,Yt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Oa(e),e;default:if(typeof t.status==`string`)t.then(Yt,Yt);else{if(e=Vl,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Oa(e),e}throw Ea=t,ya}}function Ta(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Ea=e,ya):e}}var Ea=null;function Da(){if(Ea===null)throw Error(i(459));var e=Ea;return Ea=null,e}function Oa(e){if(e===ya||e===xa)throw Error(i(483))}var ka=null,Aa=0;function ja(e){var t=Aa;return Aa+=1,ka===null&&(ka=[]),wa(ka,e,t)}function Ma(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Na(e,t){throw t.$$typeof===m?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Pa(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=oi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=ui(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===O&&Ta(i)===t.type)?(t=a(t,n.props),Ma(t,n),t.return=e,t):(t=ci(n.type,n.key,n.props,null,e.mode,r),Ma(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=fi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=li(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=ui(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=ci(t.type,t.key,t.props,null,e.mode,n),Ma(n,t),n.return=e,n;case v:return t=fi(t,e.mode,n),t.return=e,t;case O:return t=Ta(t),f(e,t,n)}if(F(t)||M(t))return t=li(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,ja(t),n);if(t.$$typeof===C)return f(e,$i(e,t),n);Na(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case g:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case O:return n=Ta(n),p(e,t,n,r)}if(F(n)||M(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,ja(n),r);if(n.$$typeof===C)return p(e,t,$i(e,n),r);Na(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case O:return r=Ta(r),m(e,t,n,r,i)}if(F(r)||M(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,ja(r),i);if(r.$$typeof===C)return m(e,t,n,$i(t,r),i);Na(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),ji&&wi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return ji&&wi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),ji&&wi(i,h),l}function _(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),ji&&wi(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return ji&&wi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),ji&&wi(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case g:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&Ta(l)===r.type){n(e,r.sibling),c=a(r,o.props),Ma(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=li(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ci(o.type,o.key,o.props,null,e.mode,c),Ma(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=fi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=Ta(o),b(e,r,o,c)}if(F(o))return h(e,r,o,c);if(M(o)){if(l=M(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),_(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,ja(o),c);if(o.$$typeof===C)return b(e,r,$i(e,o),c);Na(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=ui(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Aa=0;var i=b(e,t,n,r);return ka=null,i}catch(t){if(t===ya||t===xa)throw t;var a=ii(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Fa=Pa(!0),Ia=Pa(!1),La=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function za(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ba(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Va(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Bl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ti(e),ei(e,null,n),t}return Zr(e,r,t,n),ti(e)}function Ha(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ye(e,n)}}function Ua(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Wa=!1;function Ga(){if(Wa){var e=ua;if(e!==null)throw e}}function Ka(e,t,n,r){Wa=!1;var i=e.updateQueue;La=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(Ul&p)===p:(r&p)===p){p!==0&&p===la&&(Wa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:La=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Zl|=o,e.lanes=o,e.memoizedState=d}}function qa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ja(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)qa(n[e],t)}var Ya=B(null),Xa=B(0);function Za(e,t){e=Yl,V(Xa,e),V(Ya,t),Yl=e|t.baseLanes}function Qa(){V(Xa,Yl),V(Ya,Ya.current)}function $a(){Yl=Xa.current,te(Ya),te(Xa)}var eo=B(null),to=null;function no(e){var t=e.alternate;V(so,so.current&1),V(eo,e),to===null&&(t===null||Ya.current!==null||t.memoizedState!==null)&&(to=e)}function ro(e){V(so,so.current),V(eo,e),to===null&&(to=e)}function io(e){e.tag===22?(V(so,so.current),V(eo,e),to===null&&(to=e)):ao(e)}function ao(){V(so,so.current),V(eo,eo.current)}function oo(e){te(eo),to===e&&(to=null),te(so)}var so=B(0);function co(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||pf(n)||mf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){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 lo=0,uo=null,fo=null,po=null,mo=!1,ho=!1,go=!1,_o=0,vo=0,yo=null,bo=0;function xo(){throw Error(i(321))}function So(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vr(e[n],t[n]))return!1;return!0}function Co(e,t,n,r,i,a){return lo=a,uo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,I.H=e===null||e.memoizedState===null?Rs:zs,go=!1,a=n(r,i),go=!1,ho&&(a=To(t,n,r,i)),wo(e),a}function wo(e){I.H=Ls;var t=fo!==null&&fo.next!==null;if(lo=0,po=fo=uo=null,mo=!1,vo=0,yo=null,t)throw Error(i(300));e===null||nc||(e=e.dependencies,e!==null&&Xi(e)&&(nc=!0))}function To(e,t,n,r){uo=e;var a=0;do{if(ho&&(yo=null),vo=0,ho=!1,25<=a)throw Error(i(301));if(a+=1,po=fo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}I.H=Bs,o=t(n,r)}while(ho);return o}function Eo(){var e=I.H,t=e.useState()[0];return t=typeof t.then==`function`?Mo(t):t,e=e.useState()[0],(fo===null?null:fo.memoizedState)!==e&&(uo.flags|=1024),t}function Do(){var e=_o!==0;return _o=0,e}function Oo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ko(e){if(mo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}mo=!1}lo=0,po=fo=uo=null,ho=!1,vo=_o=0,yo=null}function Ao(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return po===null?uo.memoizedState=po=e:po=po.next=e,po}function jo(){if(fo===null){var e=uo.alternate;e=e===null?null:e.memoizedState}else e=fo.next;var t=po===null?uo.memoizedState:po.next;if(t!==null)po=t,fo=e;else{if(e===null)throw uo.alternate===null?Error(i(467)):Error(i(310));fo=e,e={memoizedState:fo.memoizedState,baseState:fo.baseState,baseQueue:fo.baseQueue,queue:fo.queue,next:null},po===null?uo.memoizedState=po=e:po=po.next=e}return po}function U(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Mo(e){var t=vo;return vo+=1,yo===null&&(yo=[]),e=wa(yo,e,t),t=uo,(po===null?t.memoizedState:po.next)===null&&(t=t.alternate,I.H=t===null||t.memoizedState===null?Rs:zs),e}function No(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Mo(e);if(e.$$typeof===C)return Qi(e)}throw Error(i(438,String(e)))}function Po(e){var t=null,n=uo.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=uo.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=U(),uo.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=A;return t.index++,n}function Fo(e,t){return typeof t==`function`?t(e):t}function Io(e){return Lo(jo(),fo,e)}function Lo(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(lo&f)===f:(Ul&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===la&&(d=!0);else if((lo&p)===p){u=u.next,p===la&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,uo.lanes|=p,Zl|=p;f=u.action,go&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,uo.lanes|=f,Zl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!vr(o,e.memoizedState)&&(nc=!0,d&&(n=ua,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ro(e){var t=jo(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);vr(o,t.memoizedState)||(nc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function zo(e,t,n){var r=uo,a=jo(),o=ji;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!vr((fo||a).memoizedState,n);if(s&&(a.memoizedState=n,nc=!0),a=a.queue,ls(Ho.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||po!==null&&po.memoizedState.tag&1){if(r.flags|=2048,is(9,{destroy:void 0},Vo.bind(null,r,a,n,t),null),Vl===null)throw Error(i(349));o||lo&127||Bo(r,t,n)}return n}function Bo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=uo.updateQueue,t===null?(t=U(),uo.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vo(e,t,n,r){t.value=n,t.getSnapshot=r,Uo(t)&&Wo(e)}function Ho(e,t,n){return n(function(){Uo(t)&&Wo(e)})}function Uo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vr(e,n)}catch{return!0}}function Wo(e){var t=$r(e,2);t!==null&&xu(t,e,2)}function Go(e){var t=Ao();if(typeof e==`function`){var n=e;if(e=n(),go){Me(!0);try{n()}finally{Me(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fo,lastRenderedState:e},t}function Ko(e,t,n,r){return e.baseState=n,Lo(e,fo,typeof r==`function`?r:Fo)}function qo(e,t,n,r,a){if(Ps(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};I.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Jo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Jo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=I.T,o={};I.T=o;try{var s=n(i,r),c=I.S;c!==null&&c(o,s),Yo(e,t,s)}catch(n){Zo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),I.T=a}}else try{a=n(i,r),Yo(e,t,a)}catch(n){Zo(e,t,n)}}function Yo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Xo(e,t,n)},function(n){return Zo(e,t,n)}):Xo(e,t,n)}function Xo(e,t,n){t.status=`fulfilled`,t.value=n,Qo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Jo(e,n)))}function Zo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Qo(t),t=t.next;while(t!==r)}e.action=null}function Qo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function $o(e,t){return t}function es(e,t){if(ji){var n=Vl.formState;if(n!==null){a:{var r=uo;if(ji){if(Ai){b:{for(var i=Ai,a=Ni;i.nodeType!==8;){if(!a){i=null;break b}if(i=gf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ai=gf(i.nextSibling),r=i.data===`F!`;break a}}Fi(r)}r=!1}r&&(t=n[0])}}return n=Ao(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$o,lastRenderedState:t},n.queue=r,n=js.bind(null,uo,r),r.dispatch=n,r=Go(!1),a=Ns.bind(null,uo,!1,r.queue),r=Ao(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=qo.bind(null,uo,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ts(e){return W(jo(),fo,e)}function W(e,t,n){if(t=Lo(e,t,$o)[0],e=Io(Fo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Mo(t)}catch(e){throw e===ya?xa:e}else r=t;t=jo();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(uo.flags|=2048,is(9,{destroy:void 0},ns.bind(null,i,n),null)),[r,a,e]}function ns(e,t){e.action=t}function rs(e){var t=jo(),n=fo;if(n!==null)return W(t,n,e);jo(),t=t.memoizedState,n=jo();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function is(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=uo.updateQueue,t===null&&(t=U(),uo.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function as(){return jo().memoizedState}function os(e,t,n,r){var i=Ao();uo.flags|=e,i.memoizedState=is(1|t,{destroy:void 0},n,r===void 0?null:r)}function ss(e,t,n,r){var i=jo();r=r===void 0?null:r;var a=i.memoizedState.inst;fo!==null&&r!==null&&So(r,fo.memoizedState.deps)?i.memoizedState=is(t,a,n,r):(uo.flags|=e,i.memoizedState=is(1|t,a,n,r))}function cs(e,t){os(8390656,8,e,t)}function ls(e,t){ss(2048,8,e,t)}function us(e){uo.flags|=4;var t=uo.updateQueue;if(t===null)t=U(),uo.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ds(e){var t=jo().memoizedState;return us({ref:t,nextImpl:e}),function(){if(Bl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function fs(e,t){return ss(4,2,e,t)}function ps(e,t){return ss(4,4,e,t)}function ms(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function hs(e,t,n){n=n==null?null:n.concat([e]),ss(4,4,ms.bind(null,t,e),n)}function gs(){}function _s(e,t){var n=jo();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&So(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function vs(e,t){var n=jo();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&So(t,r[1]))return r[0];if(r=e(),go){Me(!0);try{e()}finally{Me(!1)}}return n.memoizedState=[r,t],r}function ys(e,t,n){return n===void 0||lo&1073741824&&!(Ul&261930)?e.memoizedState=t:(e.memoizedState=n,e=bu(),uo.lanes|=e,Zl|=e,n)}function bs(e,t,n,r){return vr(n,t)?n:Ya.current===null?!(lo&42)||lo&1073741824&&!(Ul&261930)?(nc=!0,e.memoizedState=n):(e=bu(),uo.lanes|=e,Zl|=e,t):(e=ys(e,n,r),vr(e,t)||(nc=!0),e)}function xs(e,t,n,r,i){var a=L.p;L.p=a!==0&&8>a?a:8;var o=I.T,s={};I.T=s,Ns(e,!1,t,n);try{var c=i(),l=I.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ms(e,t,pa(c,r),yu(e)):Ms(e,t,r,yu(e))}catch(n){Ms(e,t,{then:function(){},status:`rejected`,reason:n},yu())}finally{L.p=a,o!==null&&s.types!==null&&(o.types=s.types),I.T=o}}function Ss(){}function Cs(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ws(e).queue;xs(e,a,t,R,n===null?Ss:function(){return Ts(e),n(r)})}function ws(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fo,lastRenderedState:R},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ts(e){var t=ws(e);t.next===null&&(t=e.alternate.memoizedState),Ms(e,t.next.queue,{},yu())}function Es(){return Qi(op)}function Ds(){return jo().memoizedState}function Os(){return jo().memoizedState}function ks(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=yu();e=Ba(n);var r=Va(t,e,n);r!==null&&(xu(r,t,n),Ha(r,t,n)),t={cache:aa()},e.payload=t;return}t=t.return}}function As(e,t,n){var r=yu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ps(e)?Fs(t,n):(n=Qr(e,t,n,r),n!==null&&(xu(n,e,r),Is(n,t,r)))}function js(e,t,n){Ms(e,t,n,yu())}function Ms(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ps(e))Fs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,vr(s,o))return Zr(e,t,i,0),Vl===null&&Xr(),!1}catch{}if(n=Qr(e,t,i,r),n!==null)return xu(n,e,r),Is(n,t,r),!0}return!1}function Ns(e,t,n,r){if(r={lane:2,revertLane:_d(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ps(e)){if(t)throw Error(i(479))}else t=Qr(e,n,r,2),t!==null&&xu(t,e,2)}function Ps(e){var t=e.alternate;return e===uo||t!==null&&t===uo}function Fs(e,t){ho=mo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Is(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ye(e,n)}}var Ls={readContext:Qi,use:No,useCallback:xo,useContext:xo,useEffect:xo,useImperativeHandle:xo,useLayoutEffect:xo,useInsertionEffect:xo,useMemo:xo,useReducer:xo,useRef:xo,useState:xo,useDebugValue:xo,useDeferredValue:xo,useTransition:xo,useSyncExternalStore:xo,useId:xo,useHostTransitionStatus:xo,useFormState:xo,useActionState:xo,useOptimistic:xo,useMemoCache:xo,useCacheRefresh:xo};Ls.useEffectEvent=xo;var Rs={readContext:Qi,use:No,useCallback:function(e,t){return Ao().memoizedState=[e,t===void 0?null:t],e},useContext:Qi,useEffect:cs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),os(4194308,4,ms.bind(null,t,e),n)},useLayoutEffect:function(e,t){return os(4194308,4,e,t)},useInsertionEffect:function(e,t){os(4,2,e,t)},useMemo:function(e,t){var n=Ao();t=t===void 0?null:t;var r=e();if(go){Me(!0);try{e()}finally{Me(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Ao();if(n!==void 0){var i=n(t);if(go){Me(!0);try{n(t)}finally{Me(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=As.bind(null,uo,e),[r.memoizedState,e]},useRef:function(e){var t=Ao();return e={current:e},t.memoizedState=e},useState:function(e){e=Go(e);var t=e.queue,n=js.bind(null,uo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:gs,useDeferredValue:function(e,t){return ys(Ao(),e,t)},useTransition:function(){var e=Go(!1);return e=xs.bind(null,uo,e.queue,!0,!1),Ao().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=uo,a=Ao();if(ji){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Vl===null)throw Error(i(349));Ul&127||Bo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,cs(Ho.bind(null,r,o,e),[e]),r.flags|=2048,is(9,{destroy:void 0},Vo.bind(null,r,o,n,t),null),n},useId:function(){var e=Ao(),t=Vl.identifierPrefix;if(ji){var n=Ci,r=Si;n=(r&~(1<<32-Ne(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=_o++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=bo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Es,useFormState:es,useActionState:es,useOptimistic:function(e){var t=Ao();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ns.bind(null,uo,!0,n),n.dispatch=t,[e,t]},useMemoCache:Po,useCacheRefresh:function(){return Ao().memoizedState=ks.bind(null,uo)},useEffectEvent:function(e){var t=Ao(),n={impl:e};return t.memoizedState=n,function(){if(Bl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},zs={readContext:Qi,use:No,useCallback:_s,useContext:Qi,useEffect:ls,useImperativeHandle:hs,useInsertionEffect:fs,useLayoutEffect:ps,useMemo:vs,useReducer:Io,useRef:as,useState:function(){return Io(Fo)},useDebugValue:gs,useDeferredValue:function(e,t){return bs(jo(),fo.memoizedState,e,t)},useTransition:function(){var e=Io(Fo)[0],t=jo().memoizedState;return[typeof e==`boolean`?e:Mo(e),t]},useSyncExternalStore:zo,useId:Ds,useHostTransitionStatus:Es,useFormState:ts,useActionState:ts,useOptimistic:function(e,t){return Ko(jo(),fo,e,t)},useMemoCache:Po,useCacheRefresh:Os};zs.useEffectEvent=ds;var Bs={readContext:Qi,use:No,useCallback:_s,useContext:Qi,useEffect:ls,useImperativeHandle:hs,useInsertionEffect:fs,useLayoutEffect:ps,useMemo:vs,useReducer:Ro,useRef:as,useState:function(){return Ro(Fo)},useDebugValue:gs,useDeferredValue:function(e,t){var n=jo();return fo===null?ys(n,e,t):bs(n,fo.memoizedState,e,t)},useTransition:function(){var e=Ro(Fo)[0],t=jo().memoizedState;return[typeof e==`boolean`?e:Mo(e),t]},useSyncExternalStore:zo,useId:Ds,useHostTransitionStatus:Es,useFormState:rs,useActionState:rs,useOptimistic:function(e,t){var n=jo();return fo===null?(n.baseState=e,[e,n.queue.dispatch]):Ko(n,fo,e,t)},useMemoCache:Po,useCacheRefresh:Os};Bs.useEffectEvent=ds;function Vs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Hs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=yu(),i=Ba(r);i.payload=t,n!=null&&(i.callback=n),t=Va(e,i,r),t!==null&&(xu(t,e,r),Ha(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=yu(),i=Ba(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Va(e,i,r),t!==null&&(xu(t,e,r),Ha(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=yu(),r=Ba(n);r.tag=2,t!=null&&(r.callback=t),t=Va(e,r,n),t!==null&&(xu(t,e,n),Ha(t,e,n))}};function Us(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!yr(n,r)||!yr(i,a):!0}function Ws(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&&Hs.enqueueReplaceState(t,t.state,null)}function Gs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Ks(e){Kr(e)}function qs(e){console.error(e)}function Js(e){Kr(e)}function Ys(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Xs(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Zs(e,t,n){return n=Ba(n),n.tag=3,n.payload={element:null},n.callback=function(){Ys(e,t)},n}function Qs(e){return e=Ba(e),e.tag=3,e}function $s(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Xs(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Xs(t,n,r),typeof i!=`function`&&(lu===null?lu=new Set([this]):lu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function ec(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Yi(t,n,a,!0),n=eo.current,n!==null){switch(n.tag){case 31:case 13:return to===null?Nu():n.alternate===null&&Xl===0&&(Xl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Sa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Zu(e,r,a)),!1;case 22:return n.flags|=65536,r===Sa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Zu(e,r,a)),!1}throw Error(i(435,n.tag))}return Zu(e,r,a),Nu(),!1}if(ji)return t=eo.current,t===null?(r!==Pi&&(t=Error(i(423),{cause:r}),Vi(mi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=mi(r,n),a=Zs(e.stateNode,r,a),Ua(e,a),Xl!==4&&(Xl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Pi&&(e=Error(i(422),{cause:r}),Vi(mi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=mi(o,n),nu===null?nu=[o]:nu.push(o),Xl!==4&&(Xl=2),t===null)return!0;r=mi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Zs(n.stateNode,r,e),Ua(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(lu===null||!lu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Qs(a),$s(a,e,n,r),Ua(n,a),!1}n=n.return}while(n!==null);return!1}var tc=Error(i(461)),nc=!1;function rc(e,t,n,r){t.child=e===null?Ia(t,null,n,r):Fa(t,e.child,n,r)}function ic(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Zi(t),r=Co(e,t,n,o,a,i),s=Do(),e!==null&&!nc?(Oo(e,t,i),Oc(e,t,i)):(ji&&s&&Ei(t),t.flags|=1,rc(e,t,r,i),t.child)}function ac(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ai(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,oc(e,t,a,r,i)):(e=ci(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!kc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?yr:n,n(o,r)&&e.ref===t.ref)return Oc(e,t,i)}return t.flags|=1,e=oi(a,r),e.ref=t.ref,e.return=t,t.child=e}function oc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(yr(a,r)&&e.ref===t.ref)if(nc=!1,t.pendingProps=r=a,kc(e,i))e.flags&131072&&(nc=!0);else return t.lanes=e.lanes,Oc(e,t,i)}return mc(e,t,n,r,i)}function sc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return lc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&_a(t,a===null?null:a.cachePool),a===null?Qa():Za(t,a),io(t);else return r=t.lanes=536870912,lc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&_a(t,null),Qa(),ao(t)):(_a(t,a.cachePool),Za(t,a),ao(t),t.memoizedState=null);return rc(e,t,i,n),t.child}function cc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function lc(e,t,n,r,i){var a=ga();return a=a===null?null:{parent:ia._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&_a(t,null),Qa(),io(t),e!==null&&Yi(e,t,r,!0),t.childLanes=i,null}function uc(e,t){return t=Cc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function dc(e,t,n){return Fa(t,e.child,null,n),e=uc(t,t.pendingProps),e.flags|=2,oo(t),t.memoizedState=null,e}function fc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(ji){if(r.mode===`hidden`)return e=uc(t,r),t.lanes=536870912,cc(null,e);if(ro(t),(e=Ai)?(e=ff(e,Ni),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:xi===null?null:{id:Si,overflow:Ci},retryLane:536870912,hydrationErrors:null},n=di(e),n.return=t,t.child=n,ki=t,Ai=null)):e=null,e===null)throw Fi(t);return t.lanes=536870912,null}return uc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(ro(t),a)if(t.flags&256)t.flags&=-257,t=dc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(nc||Yi(e,t,n,!1),a=(n&e.childLanes)!==0,nc||a){if(r=Vl,r!==null&&(s=Xe(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,$r(e,s),xu(r,e,s),tc;Nu(),t=dc(e,t,n)}else e=o.treeContext,Ai=gf(s.nextSibling),ki=t,ji=!0,Mi=null,Ni=!1,e!==null&&Oi(t,e),t=uc(t,r),t.flags|=4096;return t}return e=oi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function pc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function mc(e,t,n,r,i){return Zi(t),n=Co(e,t,n,r,void 0,i),r=Do(),e!==null&&!nc?(Oo(e,t,i),Oc(e,t,i)):(ji&&r&&Ei(t),t.flags|=1,rc(e,t,n,i),t.child)}function hc(e,t,n,r,i,a){return Zi(t),t.updateQueue=null,n=To(t,r,n,i),wo(e),r=Do(),e!==null&&!nc?(Oo(e,t,a),Oc(e,t,a)):(ji&&r&&Ei(t),t.flags|=1,rc(e,t,n,a),t.child)}function gc(e,t,n,r,i){if(Zi(t),t.stateNode===null){var a=ni,o=n.contextType;typeof o==`object`&&o&&(a=Qi(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Hs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ra(t),o=n.contextType,a.context=typeof o==`object`&&o?Qi(o):ni,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Vs(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Hs.enqueueReplaceState(a,a.state,null),Ka(t,r,a,i),Ga(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Gs(n,s);a.props=c;var l=a.context,u=n.contextType;o=ni,typeof u==`object`&&u&&(o=Qi(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ws(t,a,r,o),La=!1;var f=t.memoizedState;a.state=f,Ka(t,r,a,i),Ga(),l=t.memoizedState,s||f!==l||La?(typeof d==`function`&&(Vs(t,n,d,r),l=t.memoizedState),(c=La||Us(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,za(e,t),o=t.memoizedProps,u=Gs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ni,typeof l==`object`&&l&&(c=Qi(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ws(t,a,r,c),La=!1,f=t.memoizedState,a.state=f,Ka(t,r,a,i),Ga();var p=t.memoizedState;o!==d||f!==p||La||e!==null&&e.dependencies!==null&&Xi(e.dependencies)?(typeof s==`function`&&(Vs(t,n,s,r),p=t.memoizedState),(u=La||Us(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Xi(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,pc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Fa(t,e.child,null,i),t.child=Fa(t,null,n,i)):rc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Oc(e,t,i),e}function _c(e,t,n,r){return zi(),t.flags|=256,rc(e,t,n,r),t.child}var vc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function yc(e){return{baseLanes:e,cachePool:va()}}function bc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=eu),e}function xc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(so.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(ji){if(a?no(t):ao(t),(e=Ai)?(e=ff(e,Ni),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:xi===null?null:{id:Si,overflow:Ci},retryLane:536870912,hydrationErrors:null},n=di(e),n.return=t,t.child=n,ki=t,Ai=null)):e=null,e===null)throw Fi(t);return mf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(ao(t),a=t.mode,c=Cc({mode:`hidden`,children:c},a),r=li(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=yc(n),r.childLanes=bc(e,s,n),t.memoizedState=vc,cc(null,r)):(no(t),Sc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(no(t),t.flags&=-257,t=wc(e,t,n)):t.memoizedState===null?(ao(t),c=r.fallback,a=t.mode,r=Cc({mode:`visible`,children:r.children},a),c=li(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Fa(t,e.child,null,n),r=t.child,r.memoizedState=yc(n),r.childLanes=bc(e,s,n),t.memoizedState=vc,t=cc(null,r)):(ao(t),t.child=e.child,t.flags|=128,t=null);else if(no(t),mf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Vi({value:r,source:null,stack:null}),t=wc(e,t,n)}else if(nc||Yi(e,t,n,!1),s=(n&e.childLanes)!==0,nc||s){if(s=Vl,s!==null&&(r=Xe(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,$r(e,r),xu(s,e,r),tc;pf(c)||Nu(),t=wc(e,t,n)}else pf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ai=gf(c.nextSibling),ki=t,ji=!0,Mi=null,Ni=!1,e!==null&&Oi(t,e),t=Sc(t,r.children),t.flags|=4096);return t}return a?(ao(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=oi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=li(c,a,n,null),c.flags|=2):c=oi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,cc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=yc(n):(a=c.cachePool,a===null?a=va():(l=ia._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=bc(e,s,n),t.memoizedState=vc,cc(e.child,r)):(no(t),n=e.child,e=n.sibling,n=oi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Sc(e,t){return t=Cc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Cc(e,t){return e=ii(22,e,null,t),e.lanes=0,e}function wc(e,t,n){return Fa(t,e.child,null,n),e=Sc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Tc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qi(e.return,t,n)}function Ec(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Dc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=so.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,V(so,o),rc(e,t,r,n),r=ji?vi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Tc(e,n,t);else if(e.tag===19)Tc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&co(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ec(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&co(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ec(t,!0,n,null,a,r);break;case`together`:Ec(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Oc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Zl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Yi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=oi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=oi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function kc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Xi(e))):!0}function Ac(e,t,n){switch(t.tag){case 3:oe(t,t.stateNode.containerInfo),Gi(t,ia,e.memoizedState.cache),zi();break;case 27:case 5:se(t);break;case 4:oe(t,t.stateNode.containerInfo);break;case 10:Gi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ro(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(no(t),e=Oc(e,t,n),e===null?null:e.sibling):xc(e,t,n):(no(t),t.flags|=128,null);no(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Yi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Dc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),V(so,so.current),r)break;return null;case 22:return t.lanes=0,sc(e,t,n,t.pendingProps);case 24:Gi(t,ia,e.memoizedState.cache)}return Oc(e,t,n)}function jc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)nc=!0;else{if(!kc(e,n)&&!(t.flags&128))return nc=!1,Ac(e,t,n);nc=!!(e.flags&131072)}else nc=!1,ji&&t.flags&1048576&&Ti(t,vi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ta(t.elementType),t.type=e,typeof e==`function`)ai(e)?(r=Gs(e,r),t.tag=1,t=gc(null,t,e,r,n)):(t.tag=0,t=mc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=ic(null,t,e,r,n);break a}else if(a===D){t.tag=14,t=ac(null,t,e,r,n);break a}}throw t=P(e)||e,Error(i(306,t,``))}}return t;case 0:return mc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Gs(r,t.pendingProps),gc(e,t,r,a,n);case 3:a:{if(oe(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,za(e,t),Ka(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Gi(t,ia,r),r!==o.cache&&Ji(t,[ia],n,!0),Ga(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=_c(e,t,r,n);break a}else if(r!==a){a=mi(Error(i(424)),t),Vi(a),t=_c(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Ai=gf(e.firstChild),ki=t,ji=!0,Mi=null,Ni=!0,n=Ia(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(zi(),r===a){t=Oc(e,t,n);break a}rc(e,t,r,n)}t=t.child}return t;case 26:return pc(e,t),e===null?(n=Lf(t.type,null,t.pendingProps,null))?t.memoizedState=n:ji||(n=t.type,e=t.pendingProps,r=Jd(ie.current).createElement(n),r[nt]=t,r[rt]=e,Hd(r,n,e),ht(r),t.stateNode=r):t.memoizedState=Lf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&ji&&(r=t.stateNode=bf(t.type,t.pendingProps,ie.current),ki=t,Ni=!0,a=Ai,of(t.type)?(_f=a,Ai=gf(r.firstChild)):Ai=a),rc(e,t,t.pendingProps.children,n),pc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ji&&((a=r=Ai)&&(r=uf(r,t.type,t.pendingProps,Ni),r===null?a=!1:(t.stateNode=r,ki=t,Ai=gf(r.firstChild),Ni=!1,a=!0)),a||Fi(t)),se(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Zd(a,o)?r=null:s!==null&&Zd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Co(e,t,Eo,null,null,n),op._currentValue=a),pc(e,t),rc(e,t,r,n),t.child;case 6:return e===null&&ji&&((e=n=Ai)&&(n=df(n,t.pendingProps,Ni),n===null?e=!1:(t.stateNode=n,ki=t,Ai=null,e=!0)),e||Fi(t)),null;case 13:return xc(e,t,n);case 4:return oe(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fa(t,null,r,n):rc(e,t,r,n),t.child;case 11:return ic(e,t,t.type,t.pendingProps,n);case 7:return rc(e,t,t.pendingProps,n),t.child;case 8:return rc(e,t,t.pendingProps.children,n),t.child;case 12:return rc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Gi(t,t.type,r.value),rc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,Zi(t),a=Qi(a),r=r(a),t.flags|=1,rc(e,t,r,n),t.child;case 14:return ac(e,t,t.type,t.pendingProps,n);case 15:return oc(e,t,t.type,t.pendingProps,n);case 19:return Dc(e,t,n);case 31:return fc(e,t,n);case 22:return sc(e,t,n,t.pendingProps);case 24:return Zi(t),r=Qi(ia),e===null?(a=ga(),a===null&&(a=Vl,o=aa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ra(t),Gi(t,ia,a)):((e.lanes&n)!==0&&(za(e,t),Ka(t,null,null,n),Ga()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Gi(t,ia,r),r!==a.cache&&Ji(t,[ia],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Gi(t,ia,r))),rc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Mc(e){e.flags|=4}function Nc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Au())e.flags|=8192;else throw Ea=Sa,ba}else e.flags&=-16777217}function Pc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Qf(t))if(Au())e.flags|=8192;else throw Ea=Sa,ba}function Fc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:We(),e.lanes|=t,tu|=t)}function Ic(e,t){if(!ji)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 Lc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Rc(e,t,n){var r=t.pendingProps;switch(Di(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lc(t),null;case 1:return Lc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ki(ia),H(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ri(t)?Mc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Bi())),Lc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Mc(t),o===null?(Lc(t),Nc(t,a,null,r,n)):(Lc(t),Pc(t,o))):o?o===e.memoizedState?(Lc(t),t.flags&=-16777217):(Mc(t),Lc(t),Pc(t,o)):(e=e.memoizedProps,e!==r&&Mc(t),Lc(t),Nc(t,a,e,r,n)),null;case 27:if(ce(t),n=ie.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Mc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Lc(t),null}e=ne.current,Ri(t)?Ii(t,e):(e=bf(a,r,n),t.stateNode=e,Mc(t))}return Lc(t),null;case 5:if(ce(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Mc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Lc(t),null}if(o=ne.current,Ri(t))Ii(t,o);else{var s=Jd(ie.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[nt]=t,o[rt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Hd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Mc(t)}}return Lc(t),Nc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Mc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ie.current,Ri(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=ki,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[nt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||zd(e.nodeValue,n)),e||Fi(t,!0)}else e=Jd(e).createTextNode(r),e[nt]=t,t.stateNode=e}return Lc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ri(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[nt]=t}else zi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Lc(t),e=!1}else n=Bi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(oo(t),t):(oo(t),null);if(t.flags&128)throw Error(i(558))}return Lc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ri(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[nt]=t}else zi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Lc(t),a=!1}else a=Bi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(oo(t),t):(oo(t),null)}return oo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Fc(t,t.updateQueue),Lc(t),null);case 4:return H(),e===null&&kd(t.stateNode.containerInfo),Lc(t),null;case 10:return Ki(t.type),Lc(t),null;case 19:if(te(so),r=t.memoizedState,r===null)return Lc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Ic(r,!1);else{if(Xl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=co(e),o!==null){for(t.flags|=128,Ic(r,!1),e=o.updateQueue,t.updateQueue=e,Fc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)si(n,e),n=n.sibling;return V(so,so.current&1|2),ji&&wi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&xe()>su&&(t.flags|=128,a=!0,Ic(r,!1),t.lanes=4194304)}else{if(!a)if(e=co(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Fc(t,e),Ic(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!ji)return Lc(t),null}else 2*xe()-r.renderingStartTime>su&&n!==536870912&&(t.flags|=128,a=!0,Ic(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Lc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=xe(),e.sibling=null,n=so.current,V(so,a?n&1|2:n&1),ji&&wi(t,r.treeForkCount),e);case 22:case 23:return oo(t),$a(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Lc(t),t.subtreeFlags&6&&(t.flags|=8192)):Lc(t),n=t.updateQueue,n!==null&&Fc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&te(ha),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ki(ia),Lc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function zc(e,t){switch(Di(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ki(ia),H(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ce(t),null;case 31:if(t.memoizedState!==null){if(oo(t),t.alternate===null)throw Error(i(340));zi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(oo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));zi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return te(so),null;case 4:return H(),null;case 10:return Ki(t.type),null;case 22:case 23:return oo(t),$a(),e!==null&&te(ha),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ki(ia),null;case 25:return null;default:return null}}function Bc(e,t){switch(Di(t),t.tag){case 3:Ki(ia),H();break;case 26:case 27:case 5:ce(t);break;case 4:H();break;case 31:t.memoizedState!==null&&oo(t);break;case 13:oo(t);break;case 19:te(so);break;case 10:Ki(t.type);break;case 22:case 23:oo(t),$a(),e!==null&&te(ha);break;case 24:Ki(ia)}}function Vc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Xu(t,t.return,e)}}function Hc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Xu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Xu(t,t.return,e)}}function Uc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ja(t,n)}catch(t){Xu(e,e.return,t)}}}function Wc(e,t,n){n.props=Gs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Xu(e,t,n)}}function Gc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Xu(e,t,n)}}function Kc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Xu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Xu(e,t,n)}else n.current=null}function qc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Xu(e,e.return,t)}}function Jc(e,t,n){try{var r=e.stateNode;Ud(r,e.type,n,t),r[rt]=t}catch(t){Xu(e,e.return,t)}}function Yc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&of(e.type)||e.tag===4}function Xc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Yc(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.tag===27&&of(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Zc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Yt));else if(r!==4&&(r===27&&of(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Zc(e,t,n),e=e.sibling;e!==null;)Zc(e,t,n),e=e.sibling}function Qc(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&&(r===27&&of(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function $c(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Hd(t,r,n),t[nt]=e,t[rt]=n}catch(t){Xu(e,e.return,t)}}var el=!1,tl=!1,nl=!1,rl=typeof WeakSet==`function`?WeakSet:Set,il=null;function al(e,t){if(e=e.containerInfo,Kd=hp,e=Cr(e),wr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(qd={focusedElem:e,selectionRange:n},hp=!1,il=t;il!==null;)if(t=il,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,il=e;else for(;il!==null;){switch(t=il,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Gs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Xu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)lf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:lf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,il=e;break}il=t.return}}function ol(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:xl(e,n),r&4&&Vc(5,n);break;case 1:if(xl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Xu(n,n.return,e)}else{var i=Gs(n.type,t.memoizedProps);t=t.memoizedState;
vendor: 5,412 bytes, line 9
9try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Xu(n,n.return,e)}}r&64&&Uc(n),r&512&&Gc(n,n.return);break;case 3:if(xl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Ja(e,t)}catch(e){Xu(n,n.return,e)}}break;case 27:t===null&&r&4&&$c(n);case 26:case 5:xl(e,n),t===null&&r&4&&qc(n),r&512&&Gc(n,n.return);break;case 12:xl(e,n);break;case 31:xl(e,n),r&4&&fl(e,n);break;case 13:xl(e,n),r&4&&pl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=ed.bind(null,n),hf(e,n))));break;case 22:if(r=n.memoizedState!==null||el,!r){t=t!==null&&t.memoizedState!==null||tl,i=el;var a=tl;el=r,(tl=t)&&!a?Cl(e,n,(n.subtreeFlags&8772)!=0):xl(e,n),el=i,tl=a}break;case 30:break;default:xl(e,n)}}function sl(e){var t=e.alternate;t!==null&&(e.alternate=null,sl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ut(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var cl=null,ll=!1;function ul(e,t,n){for(n=n.child;n!==null;)dl(e,t,n),n=n.sibling}function dl(e,t,n){if(je&&typeof je.onCommitFiberUnmount==`function`)try{je.onCommitFiberUnmount(Ae,n)}catch{}switch(n.tag){case 26:tl||Kc(n,t),ul(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:tl||Kc(n,t);var r=cl,i=ll;of(n.type)&&(cl=n.stateNode,ll=!1),ul(e,t,n),xf(n.stateNode),cl=r,ll=i;break;case 5:tl||Kc(n,t);case 6:if(r=cl,i=ll,cl=null,ul(e,t,n),cl=r,ll=i,cl!==null)if(ll)try{(cl.nodeType===9?cl.body:cl.nodeName===`HTML`?cl.ownerDocument.body:cl).removeChild(n.stateNode)}catch(e){Xu(n,t,e)}else try{cl.removeChild(n.stateNode)}catch(e){Xu(n,t,e)}break;case 18:cl!==null&&(ll?(e=cl,sf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Vp(e)):sf(cl,n.stateNode));break;case 4:r=cl,i=ll,cl=n.stateNode.containerInfo,ll=!0,ul(e,t,n),cl=r,ll=i;break;case 0:case 11:case 14:case 15:Hc(2,n,t),tl||Hc(4,n,t),ul(e,t,n);break;case 1:tl||(Kc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Wc(n,t,r)),ul(e,t,n);break;case 21:ul(e,t,n);break;case 22:tl=(r=tl)||n.memoizedState!==null,ul(e,t,n),tl=r;break;default:ul(e,t,n)}}function fl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Vp(e)}catch(e){Xu(t,t.return,e)}}}function pl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Vp(e)}catch(e){Xu(t,t.return,e)}}function ml(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new rl),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new rl),t;default:throw Error(i(435,e.tag))}}function hl(e,t){var n=ml(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=td.bind(null,e,t);t.then(r,r)}})}function gl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(of(c.type)){cl=c.stateNode,ll=!1;break a}break;case 5:cl=c.stateNode,ll=!1;break a;case 3:case 4:cl=c.stateNode.containerInfo,ll=!0;break a}c=c.return}if(cl===null)throw Error(i(160));dl(o,s,a),cl=null,ll=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)vl(t,e),t=t.sibling}var _l=null;function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:gl(t,e),yl(e),r&4&&(Hc(3,e,e.return),Vc(3,e),Hc(5,e,e.return));break;case 1:gl(t,e),yl(e),r&512&&(tl||n===null||Kc(n,n.return)),r&64&&el&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=_l;if(gl(t,e),yl(e),r&512&&(tl||n===null||Kc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[lt]||o[nt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Hd(o,r,n),o[nt]=e,ht(o),r=o;break a;case`link`:var s=Yf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Hd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Yf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Hd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[nt]=e,ht(o),r=o}e.stateNode=r}else Xf(a,e.type,e.stateNode);else e.stateNode=Wf(a,r,e.memoizedProps);
vendor: 28,265 bytes, line 9
9else o===r?r===null&&e.stateNode!==null&&Jc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Xf(a,e.type,e.stateNode):Wf(a,r,e.memoizedProps))}break;case 27:gl(t,e),yl(e),r&512&&(tl||n===null||Kc(n,n.return)),n!==null&&r&4&&Jc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(gl(t,e),yl(e),r&512&&(tl||n===null||Kc(n,n.return)),e.flags&32){a=e.stateNode;try{Vt(a,``)}catch(t){Xu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Jc(e,a,n===null?a:n.memoizedProps)),r&1024&&(nl=!0);break;case 6:if(gl(t,e),yl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Xu(e,e.return,t)}}break;case 3:if(Jf=null,a=_l,_l=wf(t.containerInfo),gl(t,e),_l=a,yl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Vp(t.containerInfo)}catch(t){Xu(e,e.return,t)}nl&&(nl=!1,bl(e));break;case 4:r=_l,_l=wf(e.stateNode.containerInfo),gl(t,e),yl(e),_l=r;break;case 12:gl(t,e),yl(e);break;case 31:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 13:gl(t,e),yl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(au=xe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=el,d=tl;if(el=u||a,tl=d||l,gl(t,e),tl=d,el=u,yl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||el||tl||Sl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Xu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Xu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?cf(m,!0):cf(l.stateNode,!1)}catch(e){Xu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,hl(e,n))));break;case 19:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 30:break;case 21:break;default:gl(t,e),yl(e)}}function yl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Yc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;Qc(e,Xc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Vt(o,``),n.flags&=-33),Qc(e,Xc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Zc(e,Xc(e),s);break;default:throw Error(i(161))}}catch(t){Xu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;bl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function xl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ol(e,t.alternate,t),t=t.sibling}function Sl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Hc(4,t,t.return),Sl(t);break;case 1:Kc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Wc(t,t.return,n),Sl(t);break;case 27:xf(t.stateNode);case 26:case 5:Kc(t,t.return),Sl(t);break;case 22:t.memoizedState===null&&Sl(t);break;case 30:Sl(t);break;default:Sl(t)}e=e.sibling}}function Cl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Cl(i,a,n),Vc(4,a);break;case 1:if(Cl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Xu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)qa(c[i],s)}catch(e){Xu(r,r.return,e)}}n&&o&64&&Uc(a),Gc(a,a.return);break;case 27:$c(a);case 26:case 5:Cl(i,a,n),n&&r===null&&o&4&&qc(a),Gc(a,a.return);break;case 12:Cl(i,a,n);break;case 31:Cl(i,a,n),n&&o&4&&fl(i,a);break;case 13:Cl(i,a,n),n&&o&4&&pl(i,a);break;case 22:a.memoizedState===null&&Cl(i,a,n),Gc(a,a.return);break;case 30:break;default:Cl(i,a,n)}t=t.sibling}}function wl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&oa(n))}function Tl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&oa(e))}function El(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dl(e,t,n,r),t=t.sibling}function Dl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:El(e,t,n,r),i&2048&&Vc(9,t);break;case 1:El(e,t,n,r);break;case 3:El(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&oa(e)));break;case 12:if(i&2048){El(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Xu(t,t.return,e)}}else El(e,t,n,r);break;case 31:El(e,t,n,r);break;case 13:El(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?El(e,t,n,r):(a._visibility|=2,Ol(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?El(e,t,n,r):kl(e,t),i&2048&&wl(o,t);break;case 24:El(e,t,n,r),i&2048&&Tl(t.alternate,t);break;default:El(e,t,n,r)}}function Ol(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Ol(a,o,s,c,i),Vc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Ol(a,o,s,c,i)):u._visibility&2?Ol(a,o,s,c,i):kl(a,o),i&&l&2048&&wl(o.alternate,o);break;case 24:Ol(a,o,s,c,i),i&&l&2048&&Tl(o.alternate,o);break;default:Ol(a,o,s,c,i)}t=t.sibling}}function kl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:kl(n,r),i&2048&&wl(r.alternate,r);break;case 24:kl(n,r),i&2048&&Tl(r.alternate,r);break;default:kl(n,r)}t=t.sibling}}var Al=8192;function jl(e,t,n){if(e.subtreeFlags&Al)for(e=e.child;e!==null;)Ml(e,t,n),e=e.sibling}function Ml(e,t,n){switch(e.tag){case 26:jl(e,t,n),e.flags&Al&&e.memoizedState!==null&&$f(n,_l,e.memoizedState,e.memoizedProps);break;case 5:jl(e,t,n);break;case 3:case 4:var r=_l;_l=wf(e.stateNode.containerInfo),jl(e,t,n),_l=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Al,Al=16777216,jl(e,t,n),Al=r):jl(e,t,n));break;default:jl(e,t,n)}}function Nl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Pl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];il=r,Ll(r,e)}Nl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fl(e),e=e.sibling}function Fl(e){switch(e.tag){case 0:case 11:case 15:Pl(e),e.flags&2048&&Hc(9,e,e.return);break;case 3:Pl(e);break;case 12:Pl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Il(e)):Pl(e);break;default:Pl(e)}}function Il(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];il=r,Ll(r,e)}Nl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Hc(8,t,t.return),Il(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Il(t));break;default:Il(t)}e=e.sibling}}function Ll(e,t){for(;il!==null;){var n=il;switch(n.tag){case 0:case 11:case 15:Hc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:oa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,il=r;else a:for(n=e;il!==null;){r=il;var i=r.sibling,a=r.return;if(sl(r),r===n){il=null;break a}if(i!==null){i.return=a,il=i;break a}il=a}}}var Rl={getCacheForType:function(e){var t=Qi(ia),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Qi(ia).controller.signal}},zl=typeof WeakMap==`function`?WeakMap:Map,Bl=0,Vl=null,Hl=null,Ul=0,Wl=0,Gl=null,Kl=!1,ql=!1,Jl=!1,Yl=0,Xl=0,Zl=0,Ql=0,$l=0,eu=0,tu=0,nu=null,ru=null,iu=!1,au=0,ou=0,su=1/0,cu=null,lu=null,uu=0,du=null,fu=null,pu=0,mu=0,hu=null,gu=null,_u=0,vu=null;function yu(){return Bl&2&&Ul!==0?Ul&-Ul:I.T===null?$e():_d()}function bu(){if(eu===0)if(!(Ul&536870912)||ji){var e=Re;Re<<=1,!(Re&3932160)&&(Re=262144),eu=e}else eu=536870912;return e=eo.current,e!==null&&(e.flags|=32),eu}function xu(e,t,n){(e===Vl&&(Wl===2||Wl===9)||e.cancelPendingCommit!==null)&&(Ou(e,0),Tu(e,Ul,eu,!1)),Ke(e,n),(!(Bl&2)||e!==Vl)&&(e===Vl&&(!(Bl&2)&&(Ql|=n),Xl===4&&Tu(e,Ul,eu,!1)),ld(e))}function Su(e,t,n){if(Bl&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||He(e,t),a=r?Iu(e,t):Pu(e,t,!0),o=r;do{if(a===0){ql&&!r&&Tu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!wu(n)){a=Pu(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=nu;var l=c.current.memoizedState.isDehydrated;if(l&&(Ou(c,s).flags|=256),s=Pu(c,s,!1),s!==2){if(Jl&&!l){c.errorRecoveryDisabledLanes|=o,Ql|=o,a=4;break a}o=ru,ru=a,o!==null&&(ru===null?ru=o:ru.push.apply(ru,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Ou(e,0),Tu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:Tu(r,t,eu,!Kl);break a;case 2:ru=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=au+300-xe(),10<a)){if(Tu(r,t,eu,!Kl),Ve(r,0,!0)!==0)break a;pu=t,r.timeoutHandle=ef(Cu.bind(null,r,n,ru,cu,iu,t,eu,Ql,tu,Kl,o,`Throttled`,-0,0),a);break a}Cu(r,n,ru,cu,iu,t,eu,Ql,tu,Kl,o,null,-0,0)}}break}while(1);ld(e)}function Cu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yt},Ml(t,a,d);var m=(a&62914560)===a?au-xe():(a&4194048)===a?ou-xe():0;if(m=tp(d,m),m!==null){pu=a,e.cancelPendingCommit=m(Hu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Tu(e,a,o,!l);return}}Hu(e,t,a,n,r,i,o,s,c)}function wu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!vr(a(),i))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 Tu(e,t,n,r){t&=~$l,t&=~Ql,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ne(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Je(e,n,t)}function Eu(){return Bl&6?!0:(ud(0,!1),!1)}function Du(){if(Hl!==null){if(Wl===0)var e=Hl.return;else e=Hl,Wi=Ui=null,ko(e),ka=null,Aa=0,e=Hl;for(;e!==null;)Bc(e.alternate,e),e=e.return;Hl=null}}function Ou(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,tf(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),pu=0,Du(),Vl=e,Hl=n=oi(e.current,null),Ul=t,Wl=0,Gl=null,Kl=!1,ql=He(e,t),Jl=!1,tu=eu=$l=Ql=Zl=Xl=0,ru=nu=null,iu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ne(r),a=1<<i;t|=e[i],r&=~a}return Yl=t,Xr(),n}function ku(e,t){uo=null,I.H=Ls,t===ya||t===xa?(t=Da(),Wl=3):t===ba?(t=Da(),Wl=4):Wl=t===tc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Gl=t,Hl===null&&(Xl=1,Ys(e,mi(t,e.current)))}function Au(){var e=eo.current;return e===null?!0:(Ul&4194048)===Ul?to===null:(Ul&62914560)===Ul||Ul&536870912?e===to:!1}function ju(){var e=I.H;return I.H=Ls,e===null?Ls:e}function Mu(){var e=I.A;return I.A=Rl,e}function Nu(){Xl=4,Kl||(Ul&4194048)!==Ul&&eo.current!==null||(ql=!0),!(Zl&134217727)&&!(Ql&134217727)||Vl===null||Tu(Vl,Ul,eu,!1)}function Pu(e,t,n){var r=Bl;Bl|=2;var i=ju(),a=Mu();(Vl!==e||Ul!==t)&&(cu=null,Ou(e,t)),t=!1;var o=Xl;a:do try{if(Wl!==0&&Hl!==null){var s=Hl,c=Gl;switch(Wl){case 8:Du(),o=6;break a;case 3:case 2:case 9:case 6:eo.current===null&&(t=!0);var l=Wl;if(Wl=0,Gl=null,zu(e,s,c,l),n&&ql){o=0;break a}break;default:l=Wl,Wl=0,Gl=null,zu(e,s,c,l)}}Fu(),o=Xl;break}catch(t){ku(e,t)}while(1);return t&&e.shellSuspendCounter++,Wi=Ui=null,Bl=r,I.H=i,I.A=a,Hl===null&&(Vl=null,Ul=0,Xr()),o}function Fu(){for(;Hl!==null;)Ru(Hl)}function Iu(e,t){var n=Bl;Bl|=2;var r=ju(),a=Mu();Vl!==e||Ul!==t?(cu=null,su=xe()+500,Ou(e,t)):ql=He(e,t);a:do try{if(Wl!==0&&Hl!==null){t=Hl;var o=Gl;b:switch(Wl){case 1:Wl=0,Gl=null,zu(e,t,o,1);break;case 2:case 9:if(Ca(o)){Wl=0,Gl=null,G(t);break}t=function(){Wl!==2&&Wl!==9||Vl!==e||(Wl=7),ld(e)},o.then(t,t);break a;case 3:Wl=7;break a;case 4:Wl=5;break a;case 7:Ca(o)?(Wl=0,Gl=null,G(t)):(Wl=0,Gl=null,zu(e,t,o,7));break;case 5:var s=null;switch(Hl.tag){case 26:s=Hl.memoizedState;case 5:case 27:var c=Hl;if(s?Qf(s):c.stateNode.complete){Wl=0,Gl=null;var l=c.sibling;if(l!==null)Hl=l;else{var u=c.return;u===null?Hl=null:(Hl=u,Bu(u))}break b}}Wl=0,Gl=null,zu(e,t,o,5);break;case 6:Wl=0,Gl=null,zu(e,t,o,6);break;case 8:Du(),Xl=6;break a;default:throw Error(i(462))}}Lu();break}catch(t){ku(e,t)}while(1);return Wi=Ui=null,I.H=r,I.A=a,Bl=n,Hl===null?(Vl=null,Ul=0,Xr(),Xl):0}function Lu(){for(;Hl!==null&&!ye();)Ru(Hl)}function Ru(e){var t=jc(e.alternate,e,Yl);e.memoizedProps=e.pendingProps,t===null?Bu(e):Hl=t}function G(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=hc(n,t,t.pendingProps,t.type,void 0,Ul);break;case 11:t=hc(n,t,t.pendingProps,t.type.render,t.ref,Ul);break;case 5:ko(t);default:Bc(n,t),t=Hl=si(t,Yl),t=jc(n,t,Yl)}e.memoizedProps=e.pendingProps,t===null?Bu(e):Hl=t}function zu(e,t,n,r){Wi=Ui=null,ko(t),ka=null,Aa=0;var i=t.return;try{if(ec(e,i,t,n,Ul)){Xl=1,Ys(e,mi(n,e.current)),Hl=null;return}}catch(t){if(i!==null)throw Hl=i,t;Xl=1,Ys(e,mi(n,e.current)),Hl=null;return}t.flags&32768?(ji||r===1?e=!0:ql||Ul&536870912?e=!1:(Kl=e=!0,(r===2||r===9||r===3||r===6)&&(r=eo.current,r!==null&&r.tag===13&&(r.flags|=16384))),Vu(t,e)):Bu(t)}function Bu(e){var t=e;do{if(t.flags&32768){Vu(t,Kl);return}e=t.return;var n=Rc(t.alternate,t,Yl);if(n!==null){Hl=n;return}if(t=t.sibling,t!==null){Hl=t;return}Hl=t=e}while(t!==null);Xl===0&&(Xl=5)}function Vu(e,t){do{var n=zc(e.alternate,e);if(n!==null){n.flags&=32767,Hl=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Hl=e;return}Hl=e=n}while(e!==null);Xl=6,Hl=null}function Hu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do qu();while(uu!==0);if(Bl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=Yr,qe(e,n,o,s,c,l),e===Vl&&(Hl=Vl=null,Ul=0),fu=t,du=e,pu=n,mu=o,hu=a,gu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,nd(Te,function(){return Ju(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=I.T,I.T=null,a=L.p,L.p=2,s=Bl,Bl|=4;try{al(e,t,n)}finally{Bl=s,L.p=a,I.T=r}}uu=1,Uu(),Wu(),Gu()}}function Uu(){if(uu===1){uu=0;var e=du,t=fu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=I.T,I.T=null;var r=L.p;L.p=2;var i=Bl;Bl|=4;try{vl(t,e);var a=qd,o=Cr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Sr(s.ownerDocument.documentElement,s)){if(c!==null&&wr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=xr(s,h),v=xr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}hp=!!Kd,qd=Kd=null}finally{Bl=i,L.p=r,I.T=n}}e.current=t,uu=2}}function Wu(){if(uu===2){uu=0;var e=du,t=fu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=I.T,I.T=null;var r=L.p;L.p=2;var i=Bl;Bl|=4;try{ol(e,t.alternate,t)}finally{Bl=i,L.p=r,I.T=n}}uu=3}}function Gu(){if(uu===4||uu===3){uu=0,be();var e=du,t=fu,n=pu,r=gu;t.subtreeFlags&10256||t.flags&10256?uu=5:(uu=0,fu=du=null,Ku(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(lu=null),Qe(n),t=t.stateNode,je&&typeof je.onCommitFiberRoot==`function`)try{je.onCommitFiberRoot(Ae,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=I.T,i=L.p,L.p=2,I.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{I.T=t,L.p=i}}pu&3&&qu(),ld(e),i=e.pendingLanes,n&261930&&i&42?e===vu?_u++:(_u=0,vu=e):_u=0,ud(0,!1)}}function Ku(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,oa(t)))}function qu(){return Uu(),Wu(),Gu(),Ju()}function Ju(){if(uu!==5)return!1;var e=du,t=mu;mu=0;var n=Qe(pu),r=I.T,a=L.p;try{L.p=32>n?32:n,I.T=null,n=hu,hu=null;var o=du,s=pu;if(uu=0,fu=du=null,pu=0,Bl&6)throw Error(i(331));var c=Bl;if(Bl|=4,Fl(o.current),Dl(o,o.current,s,n),Bl=c,ud(0,!1),je&&typeof je.onPostCommitFiberRoot==`function`)try{je.onPostCommitFiberRoot(Ae,o)}catch{}return!0}finally{L.p=a,I.T=r,Ku(e,t)}}function Yu(e,t,n){t=mi(n,t),t=Zs(e.stateNode,t,2),e=Va(e,t,2),e!==null&&(Ke(e,2),ld(e))}function Xu(e,t,n){if(e.tag===3)Yu(e,e,n);else for(;t!==null;){if(t.tag===3){Yu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(lu===null||!lu.has(r))){e=mi(n,e),n=Qs(2),r=Va(t,n,2),r!==null&&($s(n,r,t,e),Ke(r,2),ld(r));break}}t=t.return}}function Zu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Jl=!0,i.add(n),e=Qu.bind(null,e,t,n),t.then(e,e))}function Qu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Vl===e&&(Ul&n)===n&&(Xl===4||Xl===3&&(Ul&62914560)===Ul&&300>xe()-au?!(Bl&2)&&Ou(e,0):$l|=n,tu===Ul&&(tu=0)),ld(e)}function $u(e,t){t===0&&(t=We()),e=$r(e,t),e!==null&&(Ke(e,t),ld(e))}function ed(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),$u(e,n)}function td(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),$u(e,n)}function nd(e,t){return _e(e,t)}var rd=null,id=null,ad=!1,od=!1,sd=!1,cd=0;function ld(e){e!==id&&e.next===null&&(id===null?rd=id=e:id=id.next=e),od=!0,ad||(ad=!0,gd())}function ud(e,t){if(!sd&&od){sd=!0;do for(var n=!1,r=rd;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ne(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,hd(r,a))}else a=Ul,a=Ve(r,r===Vl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||He(r,a)||(n=!0,hd(r,a));r=r.next}while(n);sd=!1}}function dd(){fd()}function fd(){od=ad=!1;var e=0;cd!==0&&$d()&&(e=cd);for(var t=xe(),n=null,r=rd;r!==null;){var i=r.next,a=pd(r,t);a===0?(r.next=null,n===null?rd=i:n.next=i,i===null&&(id=n)):(n=r,(e!==0||a&3)&&(od=!0)),r=i}uu!==0&&uu!==5||ud(e,!1),cd!==0&&(cd=0)}function pd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ne(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ue(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Vl,n=Ul,n=Ve(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Wl===2||Wl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&ve(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||He(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&ve(r),Qe(n)){case 2:case 8:n=we;break;case 32:n=Te;break;case 268435456:n=De;break;default:n=Te}return r=md.bind(null,e),n=_e(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&ve(r),e.callbackPriority=2,e.callbackNode=null,2}function md(e,t){if(uu!==0&&uu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(qu()&&e.callbackNode!==n)return null;var r=Ul;return r=Ve(e,e===Vl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Su(e,r,t),pd(e,xe()),e.callbackNode!=null&&e.callbackNode===n?md.bind(null,e):null)}function hd(e,t){if(qu())return null;Su(e,t,!0)}function gd(){rf(function(){Bl&6?_e(Ce,dd):fd()})}function _d(){if(cd===0){var e=la;e===0&&(e=Le,Le<<=1,!(Le&261888)&&(Le=256)),cd=e}return cd}function vd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Jt(``+e)}function yd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function bd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=vd((i[rt]||null).action),o=r.submitter;o&&(t=(t=o[rt]||null)?vd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new _n(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(cd!==0){var e=o?yd(i,o):new FormData(i);Cs(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?yd(i,o):new FormData(i),Cs(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var xd=0;xd<Wr.length;xd++){var Sd=Wr[xd];Gr(Sd.toLowerCase(),`on`+(Sd[0].toUpperCase()+Sd.slice(1)))}Gr(Ir,`onAnimationEnd`),Gr(Lr,`onAnimationIteration`),Gr(Rr,`onAnimationStart`),Gr(`dblclick`,`onDoubleClick`),Gr(`focusin`,`onFocus`),Gr(`focusout`,`onBlur`),Gr(zr,`onTransitionRun`),Gr(Br,`onTransitionStart`),Gr(Vr,`onTransitionCancel`),Gr(Hr,`onTransitionEnd`),yt(`onMouseEnter`,[`mouseout`,`mouseover`]),yt(`onMouseLeave`,[`mouseout`,`mouseover`]),yt(`onPointerEnter`,[`pointerout`,`pointerover`]),yt(`onPointerLeave`,[`pointerout`,`pointerover`]),vt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),vt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),vt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),vt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),vt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),vt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var Cd=`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(` `),wd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(Cd));function Td(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Kr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Kr(e)}i.currentTarget=null,a=c}}}}function Ed(e,t){var n=t[at];n===void 0&&(n=t[at]=new Set);var r=e+`__bubble`;n.has(r)||(Ad(t,e,2,!1),n.add(r))}function Dd(e,t,n){var r=0;t&&(r|=4),Ad(n,e,r,t)}var Od=`_reactListening`+Math.random().toString(36).slice(2);function kd(e){if(!e[Od]){e[Od]=!0,gt.forEach(function(t){t!==`selectionchange`&&(wd.has(t)||Dd(t,!1,e),Dd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Od]||(t[Od]=!0,Dd(`selectionchange`,!1,t))}}function Ad(e,t,n,r){switch(Sp(t)){case 2:var i=gp;break;case 8:i=_p;break;default:i=vp}n=i.bind(null,t,n,e),i=void 0,!on||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function jd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=dt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}nn(function(){var r=a,i=Zt(n),s=[];a:{var c=Ur.get(e);if(c!==void 0){var l=_n,u=e;switch(e){case`keypress`:if(fn(n)===0)break a;case`keydown`:case`keyup`:l=Fn;break;case`focusin`:u=`focus`,l=En;break;case`focusout`:u=`blur`,l=En;break;case`beforeblur`:case`afterblur`:l=En;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=wn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Tn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Ln;break;case Ir:case Lr:case Rr:l=Dn;break;case Hr:l=Rn;break;case`scroll`:case`scrollend`:l=yn;break;case`wheel`:l=zn;break;case`copy`:case`cut`:case`paste`:l=On;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=In;break;case`toggle`:case`beforetoggle`:l=Bn}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=rn(m,p),g!=null&&d.push(Md(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==Xt&&(u=n.relatedTarget||n.fromElement)&&(dt(u)||u[it]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?dt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=wn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=In,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:pt(l),h=u==null?c:pt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,dt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Pd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Fd(s,c,l,d,!1),u!==null&&f!==null&&Fd(s,f,u,d,!0)}}a:{if(c=r?pt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=or;else if(er(c))if(sr)v=gr;else{v=mr;var y=pr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Gt(r.elementType)&&(v=or):v=hr;
vendor: 4,858 bytes, lines 9-10
9if(v&&=v(e,r)){tr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Lt(c,`number`,c.value)}switch(y=r?pt(r):window,e){case`focusin`:(er(y)||y.contentEditable===`true`)&&(Er=y,Dr=r,Or=null);break;case`focusout`:Or=Dr=Er=null;break;case`mousedown`:kr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:kr=!1,Ar(s,n,i);break;case`selectionchange`:if(Tr)break;case`keydown`:case`keyup`:Ar(s,n,i)}var b;if(Hn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else Xn?Jn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Gn&&n.locale!==`ko`&&(Xn||x!==`onCompositionStart`?x===`onCompositionEnd`&&Xn&&(b=dn()):(cn=i,ln=`value`in cn?cn.value:cn.textContent,Xn=!0)),y=Nd(r,x),0<y.length&&(x=new kn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=Yn(n),b!==null&&(x.data=b)))),(b=Wn?Zn(e,n):Qn(e,n))&&(x=Nd(r,`onBeforeInput`),0<x.length&&(y=new kn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),bd(s,e,r,n,i)}Td(s,t)})}function Md(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Nd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=rn(e,n),i!=null&&r.unshift(Md(e,i,a)),i=rn(e,t),i!=null&&r.push(Md(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Pd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Fd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=rn(n,a),l!=null&&o.unshift(Md(n,l,c))):i||(l=rn(n,a),l!=null&&o.push(Md(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Id=/\r\n?/g,Ld=/\u0000|\uFFFD/g;function Rd(e){return(typeof e==`string`?e:``+e).replace(Id,` 10`).replace(Ld,``)}function zd(e,t){return t=Rd(t),Rd(e)===t}function Bd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Vt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Vt(e,``+r);break;case`className`:Tt(e,`class`,r);break;case`tabIndex`:Tt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Tt(e,n,r);break;case`style`:Wt(e,r,o);break;case`data`:if(t!==`object`){Tt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Jt(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Bd(e,t,`name`,a.name,a,null),Bd(e,t,`formEncType`,a.formEncType,a,null),Bd(e,t,`formMethod`,a.formMethod,a,null),Bd(e,t,`formTarget`,a.formTarget,a,null)):(Bd(e,t,`encType`,a.encType,a,null),Bd(e,t,`method`,a.method,a,null),Bd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Jt(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=Yt);break;case`onScroll`:r!=null&&Ed(`scroll`,e);break;case`onScrollEnd`:r!=null&&Ed(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=Jt(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInl
10ine`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Ed(`beforetoggle`,e),Ed(`toggle`,e),wt(e,`popover`,r);break;case`xlinkActuate`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Et(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Et(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Et(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Et(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:wt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=Kt.get(n)||n,wt(e,n,r))}}function Vd(e,t,n,r,a,o){switch(n){case`style`:Wt(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Vt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Vt(e,``+r);break;case`onScroll`:r!=null&&Ed(`scroll`,e);break;case`onScrollEnd`:r!=null&&Ed(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=Yt);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!_t.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[rt]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):wt(e,n,r)}}}function Hd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Ed(`error`,e),Ed(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Bd(e,t,o,s,n,null)}}a&&Bd(e,t,`srcSet`,n.srcSet,n,null),r&&Bd(e,t,`src`,n.src,n,null);return;case`input`:Ed(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Bd(e,t,r,d,n,null)}}It(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Ed(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Bd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Rt(e,!!r,n,!0):Rt(e,!!r,t,!1);return;case`textarea`:for(s in Ed(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Bd(e,t,s,c,n,null)}Bt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Bd(e,t,l,r,n,null)}return;case`dialog`:Ed(`beforetoggle`,e),Ed(`toggle`,e),Ed(`cancel`,e),Ed(`close`,e);break;case`iframe`:case`object`:Ed(`load`,e);break;case`video`:case`audio`:for(r=0;r<Cd.length;r++)Ed(Cd[r],e);break;case`image`:Ed(`error`,e),Ed(`load`,e);break;case`details`:Ed(`toggle`,e);break;case`embed`:case`source`:case`link`:Ed(`error`,e),Ed(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Bd(e,t,u,r,n,null)}return;default:if(Gt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Vd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Bd(e,t,c,r,n,null))}function Ud(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Bd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Bd(e,t,p,m,r,f)}}Ft(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Bd(e,t,o,null,r,l)}
vendor: 27,011 bytes, line 10
10for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Bd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Rt(e,!!n,n?[]:``,!1):Rt(e,!!n,t,!0)):Rt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Bd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Bd(e,t,s,a,r,o)}zt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Bd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Bd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Bd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Bd(e,t,u,p,r,m)}return;default:if(Gt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Vd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Vd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Bd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Bd(e,t,f,p,r,m)}function Wd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Gd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Wd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Wd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Kd=null,qd=null;function Jd(e){return e.nodeType===9?e:e.ownerDocument}function Yd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Xd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Zd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Qd=null;function $d(){var e=window.event;return e&&e.type===`popstate`?e===Qd?!1:(Qd=e,!0):(Qd=null,!1)}var ef=typeof setTimeout==`function`?setTimeout:void 0,tf=typeof clearTimeout==`function`?clearTimeout:void 0,nf=typeof Promise==`function`?Promise:void 0,rf=typeof queueMicrotask==`function`?queueMicrotask:nf===void 0?ef:function(e){return nf.resolve(null).then(e).catch(af)};function af(e){setTimeout(function(){throw e})}function of(e){return e===`head`}function sf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Vp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)xf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,xf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[lt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&xf(e.ownerDocument.body);n=i}while(n);Vp(t)}function cf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function lf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:lf(n),ut(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function uf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[lt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=gf(e.nextSibling),e===null)break}return null}function df(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=gf(e.nextSibling),e===null))return null;return e}function ff(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=gf(e.nextSibling),e===null))return null;return e}function pf(e){return e.data===`$?`||e.data===`$~`}function mf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function hf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function gf(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===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var _f=null;function vf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return gf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function yf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function bf(e,t,n){switch(t=Jd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function xf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ut(e)}var Sf=new Map,Cf=new Set;function wf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Tf=L.d;L.d={f:Ef,r:Df,D:Af,C:jf,L:Mf,m:Nf,X:Ff,S:Pf,M:If};function Ef(){var e=Tf.f(),t=Eu();return e||t}function Df(e){var t=ft(e);t!==null&&t.tag===5&&t.type===`form`?Ts(t):Tf.r(e)}var Of=typeof document>`u`?null:document;function kf(e,t,n){var r=Of;if(r&&typeof t==`string`&&t){var i=Pt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Cf.has(i)||(Cf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Hd(t,`link`,e),ht(t),r.head.appendChild(t)))}}function Af(e){Tf.D(e),kf(`dns-prefetch`,e,null)}function jf(e,t){Tf.C(e,t),kf(`preconnect`,e,t)}function Mf(e,t,n){Tf.L(e,t,n);var r=Of;if(r&&e&&t){var i=`link[rel="preload"][as="`+Pt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Pt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Pt(n.imageSizes)+`"]`)):i+=`[href="`+Pt(e)+`"]`;var a=i;switch(t){case`style`:a=Rf(e);break;case`script`:a=Hf(e)}Sf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),Sf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(zf(a))||t===`script`&&r.querySelector(Uf(a))||(t=r.createElement(`link`),Hd(t,`link`,e),ht(t),r.head.appendChild(t)))}}function Nf(e,t){Tf.m(e,t);var n=Of;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Pt(r)+`"][href="`+Pt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Hf(e)}if(!Sf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),Sf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Uf(a)))return}r=n.createElement(`link`),Hd(r,`link`,e),ht(r),n.head.appendChild(r)}}}function Pf(e,t,n){Tf.S(e,t,n);var r=Of;if(r&&e){var i=mt(r).hoistableStyles,a=Rf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(zf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=Sf.get(a))&&Kf(e,n);var c=o=r.createElement(`link`);ht(c),Hd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Gf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Ff(e,t){Tf.X(e,t);var n=Of;if(n&&e){var r=mt(n).hoistableScripts,i=Hf(e),a=r.get(i);a||(a=n.querySelector(Uf(i)),a||(e=f({src:e,async:!0},t),(t=Sf.get(i))&&qf(e,t),a=n.createElement(`script`),ht(a),Hd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function If(e,t){Tf.M(e,t);var n=Of;if(n&&e){var r=mt(n).hoistableScripts,i=Hf(e),a=r.get(i);a||(a=n.querySelector(Uf(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=Sf.get(i))&&qf(e,t),a=n.createElement(`script`),ht(a),Hd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Lf(e,t,n,r){var a=(a=ie.current)?wf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Rf(n.href),n=mt(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Rf(n.href);var o=mt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(zf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),Sf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Sf.set(e,n),o||Vf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Hf(n),n=mt(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Rf(e){return`href="`+Pt(e)+`"`}function zf(e){return`link[rel="stylesheet"][`+e+`]`}function Bf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Vf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Hd(t,`link`,n),ht(t),e.head.appendChild(t))}function Hf(e){return`[src="`+Pt(e)+`"]`}function Uf(e){return`script[async]`+e}function Wf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Pt(n.href)+`"]`);if(r)return t.instance=r,ht(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),ht(r),Hd(r,`style`,a),Gf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Rf(n.href);var o=e.querySelector(zf(a));if(o)return t.state.loading|=4,t.instance=o,ht(o),o;r=Bf(n),(a=Sf.get(a))&&Kf(r,a),o=(e.ownerDocument||e).createElement(`link`),ht(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Hd(o,`link`,r),t.state.loading|=4,Gf(o,n.precedence,e),t.instance=o;case`script`:return o=Hf(n.src),(a=e.querySelector(Uf(o)))?(t.instance=a,ht(a),a):(r=n,(a=Sf.get(o))&&(r=f({},n),qf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),ht(a),Hd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Gf(r,n.precedence,e));return t.instance}function Gf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Kf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function qf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Jf=null;function Yf(e,t,n){if(Jf===null){var r=new Map,i=Jf=new Map;i.set(n,r)}else i=Jf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[lt]||a[nt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Xf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Zf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Qf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function $f(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Rf(r.href),a=t.querySelector(zf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=np.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,ht(a);return}a=t.ownerDocument||t,r=Bf(r),(i=Sf.get(i))&&Kf(r,i),a=a.createElement(`link`),ht(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Hd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=np.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var ep=0;function tp(e,t){return e.stylesheets&&e.count===0&&ip(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&ip(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&ep===0&&(ep=62500*Gd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ip(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>ep?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function np(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ip(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var rp=null;function ip(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,rp=new Map,t.forEach(ap,e),rp=null,np.call(e))}function ap(e,t){if(!(t.state.loading&4)){var n=rp.get(e);if(n)var r=n.get(null);else{n=new Map,rp.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=np.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var op={$$typeof:C,Provider:null,Consumer:null,_currentValue:R,_currentValue2:R,_threadCount:0};function sp(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ge(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ge(0),this.hiddenUpdates=Ge(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function cp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new sp(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=ii(3,null,null,t),e.current=a,a.stateNode=e,t=aa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ra(a),e}function lp(e){return e?(e=ni,e):ni}function up(e,t,n,r,i,a){i=lp(i),r.context===null?r.context=i:r.pendingContext=i,r=Ba(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Va(e,r,t),n!==null&&(xu(n,e,t),Ha(n,e,t))}function dp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function fp(e,t){dp(e,t),(e=e.alternate)&&dp(e,t)}function pp(e){if(e.tag===13||e.tag===31){var t=$r(e,67108864);t!==null&&xu(t,e,67108864),fp(e,67108864)}}function mp(e){if(e.tag===13||e.tag===31){var t=yu();t=Ze(t);var n=$r(e,t);n!==null&&xu(n,e,t),fp(e,t)}}var hp=!0;function gp(e,t,n,r){var i=I.T;I.T=null;var a=L.p;try{L.p=2,vp(e,t,n,r)}finally{L.p=a,I.T=i}}function _p(e,t,n,r){var i=I.T;I.T=null;var a=L.p;try{L.p=8,vp(e,t,n,r)}finally{L.p=a,I.T=i}}function vp(e,t,n,r){if(hp){var i=yp(r);if(i===null)jd(e,t,r,bp,n),jp(e,r);else if(Np(i,e,t,n,r))r.stopPropagation();else if(jp(e,r),t&4&&-1<Ap.indexOf(e)){for(;i!==null;){var a=ft(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Be(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ne(o);s.entanglements[1]|=c,o&=~c}ld(a),!(Bl&6)&&(su=xe()+500,ud(0,!1))}}break;case 31:case 13:s=$r(a,2),s!==null&&xu(s,a,2),Eu(),fp(a,2)}if(a=yp(r),a===null&&jd(e,t,r,bp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else jd(e,t,r,null,n)}}function yp(e){return e=Zt(e),xp(e)}var bp=null;function xp(e){if(bp=null,e=dt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(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 bp=e,null}function Sp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Se()){case Ce:return 2;case we:return 8;case Te:case Ee:return 32;case De:return 268435456;default:return 32}default:return 32}}var Cp=!1,wp=null,Tp=null,Ep=null,Dp=new Map,Op=new Map,kp=[],Ap=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function jp(e,t){switch(e){case`focusin`:case`focusout`:wp=null;break;case`dragenter`:case`dragleave`:Tp=null;break;case`mouseover`:case`mouseout`:Ep=null;break;case`pointerover`:case`pointerout`:Dp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Op.delete(t.pointerId)}}function Mp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=ft(t),t!==null&&pp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Np(e,t,n,r,i){switch(t){case`focusin`:return wp=Mp(wp,e,t,n,r,i),!0;case`dragenter`:return Tp=Mp(Tp,e,t,n,r,i),!0;case`mouseover`:return Ep=Mp(Ep,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Dp.set(a,Mp(Dp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Op.set(a,Mp(Op.get(a)||null,e,t,n,r,i)),!0}return!1}function Pp(e){var t=dt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,et(e.priority,function(){mp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,et(e.priority,function(){mp(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 Fp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Xt=r,n.target.dispatchEvent(r),Xt=null}else return t=ft(n),t!==null&&pp(t),e.blockedOn=n,!1;t.shift()}return!0}function Ip(e,t,n){Fp(e)&&n.delete(t)}function Lp(){Cp=!1,wp!==null&&Fp(wp)&&(wp=null),Tp!==null&&Fp(Tp)&&(Tp=null),Ep!==null&&Fp(Ep)&&(Ep=null),Dp.forEach(Ip),Op.forEach(Ip)}function Rp(e,n){e.blockedOn===n&&(e.blockedOn=null,Cp||(Cp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Lp)))}var zp=null;function Bp(e){zp!==e&&(zp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){zp===e&&(zp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(xp(r||n)===null)continue;break}var a=ft(n);a!==null&&(e.splice(t,3),t-=3,Cs(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Vp(e){function t(t){return Rp(t,e)}wp!==null&&Rp(wp,e),Tp!==null&&Rp(Tp,e),Ep!==null&&Rp(Ep,e),Dp.forEach(t),Op.forEach(t);for(var n=0;n<kp.length;n++){var r=kp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<kp.length&&(n=kp[0],n.blockedOn===null);)Pp(n),n.blockedOn===null&&kp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[rt]||null;if(typeof a==`function`)o||Bp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[rt]||null)s=o.formAction;else if(xp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Bp(n)}}}function Hp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Up(e){this._internalRoot=e}Wp.prototype.render=Up.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;up(n,yu(),e,t,null,null)},Wp.prototype.unmount=Up.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;up(e.current,2,null,e,null,null),Eu(),t[it]=null}};function Wp(e){this._internalRoot=e}Wp.prototype.unstable_scheduleHydration=function(e){if(e){var t=$e();e={blockedOn:null,target:e,priority:t};for(var n=0;n<kp.length&&t!==0&&t<kp[n].priority;n++);kp.splice(n,0,e),n===0&&Pp(e)}};var Gp=n.version;if(Gp!==`19.2.7`)throw Error(i(527,Gp,`19.2.7`));L.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Kp={bundleType:0,version:`19.2.7`,rendererPackageName:`react-dom`,currentDispatcherRef:I,reconcilerVersion:`19.2.7`};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var qp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qp.isDisabled&&qp.supportsFiber)try{Ae=qp.inject(Kp),je=qp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Ks,s=qs,c=Js;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=cp(e,1,!1,null,null,n,r,null,o,s,c,Hp),e[it]=t.current,kd(e),new Up(t)}})),y=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=v()})),b=s((e=>{var t=p().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;e.c=function(e){return t.H.useMemoCache(e)}})),x=s(((e,t)=>{t.exports=b()})),S=u(p(),1),C=y(),w=x(),T=`modulepreload`,E=function(e){return`/`+e},D={},O=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=E(t,n),t=s(t),t in D)return;D[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:T,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},k=e=>{throw TypeError(e)},A=(e,t,n)=>t.has(e)||k(`Cannot `+n),j=(e,t,n)=>(A(e,t,`read from private field`),n?n.call(e):t.get(e)),M=(e,t,n)=>t.has(e)?k(`Cannot add the same private member more than once`):t instanceof WeakSet?t.add(e):t.set(e,n),N=(e,t,n,r)=>(A(e,t,`write to private field`),r?r.call(e,n):t.set(e,n),n),P=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,F=/^[\\/]{2}/;function I(e,t){return t+e.replace(/\\/g,`/`)}var L=`popstate`;function R(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function ee(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return ne(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:re(t)}return ae(t,n,null,e)}function z(e,t){if(e===!1||e==null)throw Error(t)}function B(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function te(){return Math.random().toString(36).substring(2,10)}function V(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function ne(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?ie(t):t,state:n,key:t&&t.key||r||te(),mask:i}}function re({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function ie(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function ae(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;
10let r=R(e)?e:ne(h.location,e,t);n&&n(r,e),l=u()+1;let d=V(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=R(e)?e:ne(h.location,e,t);n&&n(r,e),l=u();let i=V(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return oe(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(L,d),c=e,()=>{i.removeEventListener(L,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function oe(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),z(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:re(t);return i=i.replace(/ $/,`%20`),!n&&F.test(i)&&(i=r+i),new URL(i,r)}var H,se=class{constructor(e){if(M(this,H,new Map),e)for(let[t,n]of e)this.set(t,n)}get(e){if(j(this,H).has(e))return j(this,H).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw Error(`No value found for context`)}set(e,t){j(this,H).set(e,t)}};H=new WeakMap;var ce=new Set([`lazy`,`caseSensitive`,`path`,`id`,`index`,`children`]);function le(e){return ce.has(e)}var ue=new Set([`lazy`,`caseSensitive`,`path`,`id`,`index`,`middleware`,`children`]);function de(e){return ue.has(e)}function fe(e){return e.index===!0}function pe(e,t,n=[],r={},i=!1){return e.map((e,a)=>{let o=[...n,String(a)],s=typeof e.id==`string`?e.id:o.join(`-`);if(z(e.index!==!0||!e.children,`Cannot specify children on an index route`),z(i||!r[s],`Found a route id collision on i
10d "${s}". Route id's must be globally unique within Data Router usages`),fe(e)){let n={...e,id:s};return r[s]=me(n,t(n)),n}else{let n={...e,id:s,children:void 0};return r[s]=me(n,t(n)),e.children&&(n.children=pe(e.children,t,o,r,i)),n}})}function me(e,t){return Object.assign(e,{...t,...typeof t.lazy==`object`&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function he(e,t,n=`/`){return ge(e,t,n,!1)}function ge(e,t,n,r,i){let a=Ie((typeof t==`string`?ie(t):t).pathname||`/`,n);if(a==null)return null;let o=i??ve(e),s=null,c=Fe(a);for(let e=0;s==null&&e<o.length;++e)s=je(o[e],c,r);return s}function _e(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function ve(e){let t=ye(e);return xe(t),t}function ye(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;z(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=Ke([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(z(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),ye(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:ke(l,e.index),routesMeta:u.map((e,t)=>{let[n,r]=Pe(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of be(e.path))a(e,t,!0,n)}),t}function be(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=be(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function xe(e){e.sort((e,t)=>e.score===t.score?Ae(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var Se=/^:[\w-]+$/,Ce=3,we=2,Te=1,Ee=10,De=-2,Oe=e=>e===`*`;function ke(e,t){let n=e.split(`/`),r=n.length;return n.some(Oe)&&(r+=De),t&&(r+=we),n.filter(e=>!Oe(e)).reduce((e,t)=>e+(Se.test(t)?Ce:t===``?Te:Ee),r)}function Ae(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function je(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u={path:s.relativePath,caseSensitive:s.caseSensitive,end:c},d=s.matcher&&s.compiledParams?Ne(u,l,s.matcher,s.compiledParams):Me(u,l),f=s.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=Me({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!d)return null;
10Object.assign(i,d.params),o.push({params:i,pathname:Ke([a,d.pathname]),pathnameBase:Je(Ke([a,d.pathnameBase])),route:f}),d.pathnameBase!==`/`&&(a=Ke([a,d.pathnameBase]))}return o}function Me(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Pe(e.path,e.caseSensitive,e.end);return Ne(e,t,n,r)}function Ne(e,t,n,r){let i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function Pe(e,t=!1,n=!0){B(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function Fe(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return B(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ie(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function Le({basename:e,pathname:t}){return t===`/`?e:Ke([e,t])}var Re=e=>P.test(e);function ze(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?ie(e):e,a;return n?(n=Ge(n),a=n.startsWith(`/`)?Be(n.substring(1),`/`):Be(n,t)):a=t,{pathname:a,search:Ye(r),hash:Xe(i)}}function Be(e,t){let n=qe(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Ve(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function He(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Ue(e){let t=He(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function We(e,t,n,r=!1){let i;typeof e==`string`?i=ie(e):(i={...e},z(!i.pathname||!i.pathname.includes(`?`),Ve(`?`,`pathname`,`search`,i)),z(!i.pathname||!i.pathname.includes(`#`),Ve(`#`,`pathname`,`hash`,i)),z(!i.search||!i.search.includes(`#`),Ve(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=ze(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var Ge=e=>e.replace(/[\\/]{2,}/g,`/`),Ke=e=>Ge(e.join(`/`)),qe=e=>e.replace(/\/+$/,``),Je=e=>qe(e).replace(/^\/*/,`/`),Ye=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Xe=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,Ze=[`EvalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],Qe=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function $e(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function et(e){return Ke(e.map(e=>e.route.path).filter(Boolean))||`/`}var tt=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function nt(e,t){let n=e;if(typeof n!=`string`||!P.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(tt)try{let e=new URL(window.location.href),r=F.test(n)?new URL(I(n,e.protocol)):new URL(n),a=Ie(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{B(!1,`<Link to="${n}">
10 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}var rt=Symbol(`Uninstrumented`);function it(e,t){let n={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(e=>e({id:t.id,index:t.index,path:t.path,instrument(e){let t=Object.keys(n);for(let r of t)e[r]&&n[r].push(e[r])}}));let r={};if(typeof t.lazy==`function`&&n.lazy.length>0){let e=ot(n.lazy,t.lazy,()=>void 0);e&&(r.lazy=e)}if(typeof t.lazy==`object`){let e=t.lazy;[`middleware`,`loader`,`action`].forEach(t=>{let i=e[t],a=n[`lazy.${t}`];if(typeof i==`function`&&a.length>0){let e=ot(a,i,()=>void 0);e&&(r.lazy=Object.assign(r.lazy||{},{[t]:e}))}})}return[`loader`,`action`].forEach(e=>{let i=t[e];if(typeof i==`function`&&n[e].length>0){let t=i[rt]??i,a=ot(n[e],t,(...e)=>ct(e[0]));a&&(e===`loader`&&t.hydrate===!0&&(a.hydrate=!0),a[rt]=t,r[e]=a)}}),t.middleware&&t.middleware.length>0&&n.middleware.length>0&&(r.middleware=t.middleware.map(e=>{let t=e[rt]??e,r=ot(n.middleware,t,(...e)=>ct(e[0]));return r?(r[rt]=t,r):e})),r}function at(e,t){let n={navigate:[],fetch:[]};if(t.forEach(e=>e({instrument(e){let t=Object.keys(e);for(let r of t)e[r]&&n[r].push(e[r])}})),n.navigate.length>0){let t=e.navigate[rt]??e.navigate,r=ot(n.navigate,t,(...t)=>{let[n,r]=t;return{to:typeof n==`number`||typeof n==`string`?n:n?re(n):`.`,...lt(e,r??{})}});r&&(r[rt]=t,e.navigate=r)}if(n.fetch.length>0){let t=e.fetch[rt]??e.fetch,r=ot(n.fetch,t,(...t)=>{let[n,,r,i]=t;return{href:r??`.`,fetcherKey:n,...lt(e,i??{})}});r&&(r[rt]=t,e.fetch=r)}return e}function ot(e,t,n){return e.length===0?null:async(...r)=>{let i=await st(e,n(...r),()=>t(...r),e.length-1);if(i.type===`error`)throw i.value;return i.value}}async function st(e,t,n,r){let i=e[r],a;if(i){let o,s=async()=>(o?console.error(`You cannot call instrumented handlers more than once`):o=st(e,t,n,r-1),a=await o,z(a,`Expected a result`),a.type===`error`&&a.value instanceof Error?{status:`error`,error:a.value}:{status:`success`,error:void 0});try{await i(s,t)}catch(e){console.error(`An instrumentation function threw an error:`,e)}o||await s(),await o}else try{a={type:`success`,value:await n()}}catch(e){a={type:`error`,value:e}}return a||{type:`error`,value:Error(`No result assigned in instrumentation chain.`)}}function ct(e){let{request:t,context:n,params:r,pattern:i}=e;return{request:ut(t),params:{...r},pattern:i,context:dt(n)}}function lt(e,t){return{currentUrl:re(e.state.location),...`formMethod`in t?{formMethod:t.formMethod}:{},...`formEncType`in t?{formEncType:t.formEncType}:{},...`formData`in t?{formData:t.formData}:{},...`body`in t?{body:t.body}:{}}}function ut(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function dt(e){if(pt(e)){let t={...e};return Object.freeze(t),t}else return{get:t=>e.get(t)}}var ft=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function pt(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===ft}var mt=[`POST`,`PUT`,`PATCH`,`DELETE`],ht=new Set(mt),gt=[`GET`,...mt],_t=new Set(gt),vt=new Set([301,302,303,307,308]),yt=new Set([307,308]),bt={state:`idle`,location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},xt={state:`idle`,data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},St={state:`unblocked`,proceed:void 0,reset:void 0,location:void 0},Ct=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),wt=`remix-router-transitions`,Tt=Symbol(`ResetLoaderData`),Et,Dt,Ot,kt,At=class{constructor(e){M(this,Et),M(this,Dt),M(this,Ot),M(this,kt),N(this,Et,e),N(this,Dt,ve(e))}get stableRoutes(){return j(this,Et)}get activeRoutes(){return j(this,Ot)??j(this,Et)}get branches(){return j(this,kt)??j(this,Dt)}get hasHMRRoutes(){return j(this,Ot)!=null}setRoutes(e){N(this,Et,e),N(this,Dt,ve(e))}setHmrRoutes(e){N(this,Ot,e),N(this,kt,ve(e))}commitHmrRoutes(){j(this,Ot)&&(N(this,Et,j(this,Ot)),N(this,Dt,j(this,kt)),N(this,Ot,void 0),N(this,kt,void 0))}};Et=new WeakMap,Dt=new WeakMap,Ot=new WeakMap,kt=new WeakMap;function jt(e){let t=e.window?e.window:typeof window<`u`?window:void 0,n=t!==void 0&&t.document!==void 0&&t.document.createElement!==void 0;z(e.routes.length>0,`You must provide a non-empty routes array to createRouter`);let r=e.hydrationRouteProperties||[],i=e.mapRouteProperties||Ct,a=i;if(e.instrumentations){let t=e.instrumentations;a=e=>({...i(e),...it(t.map(e=>
10e.route).filter(Boolean),e)})}let o={},s=new At(pe(e.routes,a,void 0,o)),c=e.basename||`/`;c.startsWith(`/`)||(c=`/${c}`);let l=e.dataStrategy||Jt,u={...e.future},d=null,f=new Set,p=null,m=null,h=null,g=null,_=e.hydrationData!=null,v=ge(s.activeRoutes,e.history.location,c,!1,s.branches),y=!1,b=null,x,S;if(v==null&&!e.patchRoutesOnNavigation){let t=bn(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=yn(s.activeRoutes);x=!0,S=!x,v=n,b={[r.id]:t}}else if(v&&!e.hydrationData&&Qe(v,s.activeRoutes,e.history.location.pathname).active&&(v=null),!v){x=!1,S=!x,v=[];let t=Qe(null,s.activeRoutes,e.history.location.pathname);t.active&&t.matches&&(y=!0,v=t.matches)}else if(v.some(e=>e.route.lazy))x=!1,S=!x;else if(!v.some(e=>It(e.route)))x=!0,S=!x;else{let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null,r=v;if(n){let e=v.findIndex(e=>n[e.route.id]!==void 0);r=r.slice(0,e+1)}S=!1,x=!0,r.forEach(e=>{let r=Lt(e.route,t,n);S||=r.renderFallback,x&&=!r.shouldLoad})}let C,w={historyAction:e.history.action,location:e.history.location,matches:v,initialized:x,renderFallback:S,navigation:bt,restoreScrollPosition:e.hydrationData==null&&null,preventScrollReset:!1,revalidation:`idle`,loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||b,fetchers:new Map,blockers:new Map},T=`POP`,E=null,D=!1,O,k=!1,A=new Map,j=null,M=!1,N=!1,P=new Set,F=new Map,I=0,L=-1,R=new Map,ee=new Set,te=new Map,V=new Map,re=new Set,ae=new Map,H,ce=null;function le(){if(d=e.history.listen(({action:t,location:n,delta:r})=>{if(H){H(),H=void 0;return}B(ae.size===0||r!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let i=Ke({currentLocation:w.location,nextLocation:n,historyAction:t});if(i&&r!=null){let t=new Promise(e=>{H=e});e.history.go(r*-1),Ge(i,{state:`blocked`,location:n,proceed(){Ge(i,{state:`proceeding`,proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(r))},reset(){let e=new Map(w.blockers);e.set(i,St),fe({blockers:e})}}),E?.resolve(),E=null;return}return ye(t,n)}),n){Wn(t,A);let e=()=>Gn(t,A);t.addEventListener(`pagehide`,e),j=()=>t.removeEventListener(`pagehide`,e)}return w.initialized||ye(`POP`,w.location,{initialHydration:!0}),C}function ue(){d&&d(),j&&j(),f.clear(),O&&O.abort(),w.fetchers.forEach((e,t)=>Fe(w.fetchers,t)),w.blockers.forEach((e,t)=>We(t))}function de(e){if(f.add(e),p){let{newErrors:t}=p;p=null,e(w,{deletedFetchers:[],newErrors:t,viewTransitionOpts:void 0,flushSync:!1})}return()=>f.delete(e)}function fe(e,t={}){e.matches&&=e.matches.map(e=>{let t=o[e.route.id],n=e.route;return n.element!==t.element||n.errorElement!==t.errorElement||n.hydrateFallbackElement!==t.hydrateFallbackElement?{...e,route:t}:e}),w={...w,...e};let n=[],r=[];w.fetchers.forEach((e,t)=>{e.state===`idle`&&(re.has(t)?n.push(t):r.push(t))}),re.forEach(e=>{!w.fetchers.has(e)&&!F.has(e)&&n.push(e)}),f.size===0&&(p={newErrors:e.errors??null}),[...f].forEach(r=>r(w,{deletedFetchers:n,newErrors:e.errors??null,viewTransitionOpts:t.viewTransitionOpts,flushSync:t.flushSync===!0})),n.forEach(e=>Fe(w.fetchers,e)),r.forEach(e=>w.fetchers.delete(e))}function me(t,n,{flushSync:r}={}){let i=w.actionData!=null&&w.navigation.formMethod!=null&&Fn(w.navigation.formMethod)&&w.navigation.state===`loading`&&t.state?._isRedirect!==!0,a;a=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:i?w.actionData:null;let o=n.loaderData?gn(w.loaderData,n.loaderData,n.matches||[],n.errors):w.loaderData,c=w.blockers;c.size>0&&(c=new Map(c),c.forEach((e,t)=>c.set(t,St)));let l=!M&&Ze(t,n.matches||w.matches),u=D===!0||w.navigation.formMethod!=null&&Fn(w.navigation.formMethod)&&t.state?._isRedirect!==!0;s.commitHmrRoutes(),M||T===`POP`||(T===`PUSH`?e.history.push(t,t.state):T===`REPLACE`&&e.history.replace(t,t.state));let d;if(T===`POP`){let e=A.get(w.location.pathname);e&&e.has(t.pathname)?d={currentLocation:w.location,nextLocation:t}:A.has(t.pathname)&&(d={currentLocation:t,nextLocation:w.location})}else if(k){let e=A.get(w.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),A.set(w.location.pathname,e)),d={currentLocation:w.location,nextLocation:t}}fe({...n,actionData:a,loaderData:o,historyAction:T,location:t,initialized:!0,renderFallback:!1,navigation:bt,revalidation:`idle`,restoreScrollPosition:l,preventScrollReset:u,blockers:c},{viewTransitionOpts:d,flushSync:r===!0}),T=`POP`,D=!1,k=!1,M=!1,N=!1,E?.resolve(),E=null,ce?.resolve(),ce=null}async function he(t,n){if(E?.resolve(),E=null,typeof t==`number`){E||=Kn();let n=E.promise;return e.history.go(t),n}let{path:r,submission:i,error:a}=Pt(!1,Nt(w.location,w.matches,c,t,n?.fromRouteId,n?.relative),n),o;n?.mask&&(o={pathname:``,search:``,hash:``,...typeof n.mask==`string`?ie(n.mask):{...w.location.mask,...n.mask}});let s=w.location,l=ne(s,r,n&&n.state,void 0,o);l={...l,...e.history.encodeLocation(l)};let u=n&&n.replace!=null?n.replace:void 0,d=`PUSH`;u===!0?d=`REPLACE`:u===!1||i!=null&&Fn(i.formMethod)&&i.formAction===w.location.pathname+w.location.search&&(d=`REPLACE`);let f=n&&`preventScrollReset`in n?n.preventScrollReset===!0:void 0,p=(n&&n.flushSync)===!0,m=Ke({currentLocation:s,nextLocation:l,historyAction:d});if(m){Ge(m,{state:`blocked`,location:l,proceed(){Ge(m,{state:`proceeding`,proceed:void 0,reset:void 0,location:l}),he(t,n)},reset(){let e=new Map(w.blockers);e.set(m,St),fe({blockers:e})}});return}await ye(d,l,{submission:i,pendingError:a,preventScrollReset:f,replace:n&&n.replace,enableViewTransition:n&&n.viewTransition,flushSync:p,callSiteDefaultShouldRevalidate:n&&n.defaultShouldRevalidate})}function ve(){ce||=Kn(),Ae(),fe({revalidation:`loading`});let e=ce.promise;return w.navigation.state===`submitting`?e:w.navigation.state===`idle`?(ye(w.historyAction,w.location,{startUninterruptedRevalidation:!0}
10),e):(ye(T||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation,enableViewTransition:k===!0}),e)}async function ye(t,n,r){O&&O.abort(),O=null,T=t,M=(r&&r.startUninterruptedRevalidation)===!0,Xe(w.location,w.matches),D=(r&&r.preventScrollReset)===!0,k=(r&&r.enableViewTransition)===!0;let i=s.activeRoutes,a=r?.initialHydration&&w.matches&&w.matches.length>0&&!y?w.matches:ge(i,n,c,!1,s.branches),o=(r&&r.flushSync)===!0;if(a&&w.initialized&&!N&&Cn(w.location,n)&&!(r&&r.submission&&Fn(r.submission.formMethod))){me(n,{matches:a},{flushSync:o});return}let l=Qe(a,i,n.pathname);if(l.active&&l.matches&&(a=l.matches),!a){let{error:e,notFoundMatches:t,route:r}=qe(n.pathname);me(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:o});return}let u=r&&r.overrideNavigation?{...r.overrideNavigation,matches:a,historyAction:t}:void 0;O=new AbortController;let d=un(e.history,n,O.signal,r&&r.submission),f=e.getContext?await e.getContext():new se,p;if(r&&r.pendingError)p=[vn(a).route.id,{type:`error`,error:r.pendingError}];else if(r&&r.submission&&Fn(r.submission.formMethod)){let i=await be(d,n,r.submission,a,t,f,l.active,r&&r.initialHydration===!0,{replace:r.replace,flushSync:o});if(i.shortCircuited)return;if(i.pendingActionResult){let[e,t]=i.pendingActionResult;if(On(t)&&$e(t.error)&&t.error.status===404){O=null,me(n,{matches:i.matches,loaderData:{},errors:{[e]:t.error}});return}}a=i.matches||a,p=i.pendingActionResult,u=zn(n,a,t,r.submission),o=!1,l.active=!1,d=un(e.history,d.url,d.signal)}let{shortCircuited:m,matches:h,loaderData:g,errors:_,workingFetchers:v}=await xe(d,n,a,t,f,l.active,u,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&r.initialHydration===!0,o,p,r&&r.callSiteDefaultShouldRevalidate);m||(O=null,me(n,{matches:h||a,..._n(p),loaderData:g,errors:_,...v?{fetchers:v}:{}}))}async function be(t,n,i,l,u,d,f,p,m={}){if(Ae(),fe({navigation:Bn(n,l,u,i)},{flushSync:m.flushSync===!0}),f){let e=await et(l,n.pathname,t.signal);if(e.type===`aborted`)return{shortCircuited:!0};if(e.type===`error`){if(e.partialMatches.length===0){let{matches:t,route:n}=yn(s.activeRoutes);return{matches:t,pendingActionResult:[n.id,{type:`error`,error:e.error}]}}let t=vn(e.partialMatches).route.id;return{matches:e.partialMatches,pendingActionResult:[t,{type:`error`,error:e.error}]}}else if(e.matches)l=e.matches;else{let{notFoundMatches:e,error:t,route:r}=qe(n.pathname);return{matches:e,pendingActionResult:[r.id,{type:`error`,error:t}]}}}let h,g=Ln(l,n);if(!g.route.action&&!g.route.lazy)h={type:`error`,error:bn(405,{method:t.method,pathname:n.pathname,routeId:g.route.id})};else{let e=await Oe(t,n,en(a,o,t,n,l,g,p?[]:r,d),d,null);if(h=e[g.route.id],!h){for(let t of l)if(e[t.route.id]){h=e[t.route.id];break}}if(t.signal.aborted)return{shortCircuited:!0}}if(kn(h)){let n;return n=m&&m.replace!=null?m.replace:ln(h.response.headers.get(`Location`),new URL(t.url),c,e.history)===w.location.pathname+w.location.search,await De(t,h,!0,{submission:i,replace:n}),{shortCircuited:!0}}if(On(h)){let e=vn(l,g.route.id);return(m&&m.replace)!==!0&&(T=`PUSH`),{matches:l,pendingActionResult:[e.route.id,h,g.route.id]}}return{matches:l,pendingActionResult:[g.route.id,h]}}async function xe(t,n,i,l,u,d,f,p,m,h,g,_,v,y){let b=f||zn(n,i,l,p),x=p||m||Rn(b),S=!M&&!g;if(d){if(S){let e=Se(v);fe({navigation:b,...e===void 0?{}:{actionData:e}},{flushSync:_})}let e=await et(i,n.pathname,t.signal);if(e.type===`aborted`)return{shortCircuited:!0};if(e.type===`error`){if(e.partialMatches.length===0){let{matches:t,route:n}=yn(s.activeRoutes);return{matches:t,loaderData:{},errors:{[n.id]:e.error}}}let t=vn(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}else if(e.matches)i=e.matches;else{let{error:e,notFoundMatches:t,route:r}=qe(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let C=s.activeRoutes,{dsMatches:T,revalidatingFetchers:E}=Ft(t,u,a,o,e.history,w,i,x,n,g?[]:r,g===!0,N,P,re,te,ee,C,c,e.patchRoutesOnNavigation!=null,s.branches,v,y);if(L=++I,!e.dataStrategy&&!T.some(e=>e.shouldLoad)&&!T.some(e=>e.route.middleware&&e.route.middleware.length>0)&&E.length===0){let e=new Map(w.fetchers),t=Ve(e);return me(n,{matches:i,loaderData:{},errors:v&&On(v[1])?{[v[0]]:v[1].error}:null,..._n(v),...t?{fetchers:e}:{}},{flushSync:_}),{shortCircuited:!0}}if(S){let e={};if(!d){e.navigation=b;let t=Se(v);t!==void 0&&(e.actionData=t)}E.length>0&&(e.fetchers=Ce(E)),fe(e,{flushSync:_})}
10E.forEach(e=>{ze(e.key),e.controller&&F.set(e.key,e.controller)});let D=()=>E.forEach(e=>ze(e.key));O&&O.signal.addEventListener(`abort`,D);let{loaderResults:k,fetcherResults:A}=await ke(T,E,t,n,u);if(t.signal.aborted)return{shortCircuited:!0};O&&O.signal.removeEventListener(`abort`,D),E.forEach(e=>F.delete(e.key));let j=xn(k);if(j)return await De(t,j.result,!0,{replace:h}),{shortCircuited:!0};if(j=xn(A),j)return ee.add(j.key),await De(t,j.result,!0,{replace:h}),{shortCircuited:!0};let R=new Map(w.fetchers),{loaderData:z,errors:B}=hn(w,i,k,v,E,A,R);g&&w.errors&&(B={...w.errors,...B});let V=Ve(R),ne=He(L,R),ie=V||ne||E.length>0;return{matches:i,loaderData:z,errors:B,...ie?{workingFetchers:R}:{}}}function Se(e){if(e&&!On(e[1]))return{[e[0]]:e[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function Ce(e){let t=new Map(w.fetchers);return e.forEach(e=>{let n=t.get(e.key),r=Vn(void 0,n?n.data:void 0);t.set(e.key,r)}),t}async function we(t,n,r,i){ze(t);let a=(i&&i.flushSync)===!0,o=s.activeRoutes,l=Nt(w.location,w.matches,c,r,n,i?.relative),u=ge(o,l,c,!1,s.branches),d=Qe(u,o,l);if(d.active&&d.matches&&(u=d.matches),!u){Me(t,n,bn(404,{pathname:l}),{flushSync:a});return}let{path:f,submission:p,error:m}=Pt(!0,l,i);if(m){Me(t,n,m,{flushSync:a});return}let h=e.getContext?await e.getContext():new se,g=(i&&i.preventScrollReset)===!0;if(p&&Fn(p.formMethod)){await Te(t,n,f,u,h,d.active,a,g,p,i&&i.defaultShouldRevalidate);return}te.set(t,{routeId:n,path:f}),await Ee(t,n,f,u,h,d.active,a,g,p)}async function Te(t,n,i,l,u,d,f,p,m,h){Ae(),te.delete(t),je(t,Hn(m,w.fetchers.get(t)),{flushSync:f});let g=new AbortController,_=un(e.history,i,g.signal,m);if(d){let e=await et(l,new URL(_.url).pathname,_.signal,t);if(e.type===`aborted`)return;if(e.type===`error`){Me(t,n,e.error,{flushSync:f});return}else if(e.matches)l=e.matches;else{Me(t,n,bn(404,{pathname:i}),{flushSync:f});return}}let v=Ln(l,i);if(!v.route.action&&!v.route.lazy){Me(t,n,bn(405,{method:m.formMethod,pathname:i,routeId:n}),{flushSync:f});return}F.set(t,g);let y=I,b=en(a,o,_,i,l,v,r,u),x=await Oe(_,i,b,u,t),S=x[v.route.id];if(!S){for(let e of b)if(x[e.route.id]){S=x[e.route.id];break}}if(_.signal.aborted){F.get(t)===g&&F.delete(t);return}if(re.has(t)){if(kn(S)||On(S)){je(t,Un(void 0));return}}else{if(kn(S))if(F.delete(t),L>y){je(t,Un(void 0));return}else return ee.add(t),je(t,Vn(m)),De(_,S,!1,{fetcherSubmission:m,preventScrollReset:p});if(On(S)){Me(t,n,S.error);return}}let C=w.navigation.location||w.location,E=un(e.history,C,g.signal),D=s.activeRoutes,k=w.navigation.state===`idle`?w.matches:ge(D,w.navigation.location,c,!1,s.branches);z(k,`Didn't find any matches after fetcher action`);let A=++I;R.set(t,A);let{dsMatches:j,revalidatingFetchers:M}=Ft(E,u,a,o,e.history,w,k,m,C,r,!1,N,P,re,te,ee,D,c,e.patchRoutesOnNavigation!=null,s.branches,[v.route.id,S],h),B=Vn(m,S.data),V=new Map(w.fetchers);V.set(t,B),M.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=V.get(t),r=Vn(void 0,n?n.data:void 0);V.set(t,r),ze(t),e.controller&&F.set(t,e.controller)}),fe({fetchers:V});let ne=()=>M.forEach(e=>ze(e.key));g.signal.addEventListener(`abort`,ne);let{loaderResults:ie,fetcherResults:ae}=await ke(j,M,E,C,u);if(g.signal.aborted)return;g.signal.removeEventListener(`abort`,ne),R.delete(t),F.delete(t),M.forEach(e=>F.delete(e.key));let oe=w.fetchers.has(t),H=e=>{if(!oe)return e;let n=new Map(e.fetchers);return n.set(t,Un(S.data)),{...e,fetchers:n}},se=xn(ie);if(se)return w=H(w),De(E,se.result,!1,{preventScrollReset:p});if(se=xn(ae),se)return ee.add(se.key),w=H(w),De(E,se.result,!1,{preventScrollReset:p});let ce=new Map(w.fetchers);oe&&ce.set(t,Un(S.data));let{loaderData:le,errors:ue}=hn(w,k,ie,void 0,M,ae,ce);He(A,ce),w.navigation.state===`loading`&&A>L?(z(T,`Expected pending action`),O&&O.abort(),me(w.navigation.location,{matches:k,loaderData:le,errors:ue,fetchers:ce})):(fe({errors:ue,loaderData:gn(w.loaderData,le,k,ue),fetchers:ce}),N=!1)}async function Ee(t,n,i,s,c,l,u,d,f){let p=w.fetchers.get(t);je(t,Vn(f,p?p.data:void 0),{flushSync:u});let m=new AbortController,h=un(e.history,i,m.signal);if(l){let e=await et(s,new URL(h.url).pathname,h.signal,t);if(e.type===`aborted`)return;if(e.type===`error`){Me(t,n,e.error,{flushSync:u});return}else if(e.matches)s=e.matches;else{Me(t,n,bn(404,{pathname:i}),{flushSync:u});return}}let g=Ln(s,i);F.set(t,m);let _=I,v=await Oe(h,i,en(a,o,h,i,s,g,r,c),c,t),y=v[g.route.id];if(!y){for(let e of s)if(v[e.route.id]){y=v[e.route.id];break}}if(F.get(t)===m&&F.delete(t),!h.signal.aborted){if(re.has(t)){je(t,Un(void 0));return}if(kn(y))if(L>_){je(t,Un(void 0));return}else{ee.add(t),await De(h,y,!1,{preventScrollReset:d});return}if(On(y)){Me(t,n,y.error);return}je(t,Un(y.data))}}async function De(r,i,a,{submission:o,fetcherSubmission:s,preventScrollReset:l,replace:u}={}){a||(E?.resolve(),E=null),i.response.headers.has(`X-Remix-Revalidate`)&&(N=!0);let d=i.response.headers.get(`Location`);z(d,`Expected a Location header on the redirect Response`),d=ln(d,new URL(r.url),c,e.history);let f=ne(w.location,d,{_isRedirect:!0});if(n){let e=!1;if(i.response.headers.has(`X-Remix-Reload-Document`))e=!0;else if(Re(d)){let n=oe(t,d,!0);e=n.origin!==t.location.origin||Ie(n.pathname,c)==null}if(e){u?t.location.replace(d):t.location.assign(d);return}}O=null;let p=u===!0||i.response.headers.has(`X-Remix-Replace`)?`REPLACE`:`PUSH`,{formMethod:m,formAction:h,formEncType:g}=w.navigation;!o&&!s&&m&&h&&g&&(o=Rn(w.navigation));let _=o||s;yt.has(i.response.status)&&_&&Fn(_.formMethod)?await ye(p,f,{submission:{..._,formAction:d},preventScrollReset:l||D,enableViewTransition:a?k:void 0}):await ye(p,f,{overrideNavigation:zn(f,[],p,o),fetcherSubmission:s,preventScrollReset:l||D,enableViewTransition:a?k:void 0})}async function Oe(e,t,n,r,i){let a,o={};try{a=await tn(l,e,t,n,i,r,!1)}catch(e){return n.filter(e=>
10e.shouldLoad).forEach(t=>{o[t.route.id]={type:`error`,error:e}}),o}if(e.signal.aborted)return o;if(!Fn(e.method))for(let e of n){if(a[e.route.id]?.type===`error`)break;!a.hasOwnProperty(e.route.id)&&!w.loaderData.hasOwnProperty(e.route.id)&&(!w.errors||!w.errors.hasOwnProperty(e.route.id))&&e.shouldCallHandler()&&(a[e.route.id]={type:`error`,result:Error(`No result returned from dataStrategy for route ${e.route.id}`)})}for(let[t,r]of Object.entries(a))if(Dn(r)){let i=r.result;o[t]={type:`redirect`,response:on(i,e,t,n,c)}}else o[t]=await an(r);return o}async function ke(e,t,n,r,i){let a=Oe(n,r,e,i,null),o=Promise.all(t.map(async e=>{if(e.matches&&e.match&&e.request&&e.controller){let t=(await Oe(e.request,e.path,e.matches,i,e.key))[e.match.route.id];return{[e.key]:t}}else return Promise.resolve({[e.key]:{type:`error`,error:bn(404,{pathname:e.path})}})}));return{loaderResults:await a,fetcherResults:(await o).reduce((e,t)=>Object.assign(e,t),{})}}function Ae(){N=!0,te.forEach((e,t)=>{F.has(t)&&P.add(t),ze(t)})}function je(e,t,n={}){let r=new Map(w.fetchers);r.set(e,t),fe({fetchers:r},{flushSync:(n&&n.flushSync)===!0})}function Me(e,t,n,r={}){let i=vn(w.matches,t),a=new Map(w.fetchers);Fe(a,e),fe({errors:{[i.route.id]:n},fetchers:a},{flushSync:(r&&r.flushSync)===!0})}function Ne(e){return V.set(e,(V.get(e)||0)+1),re.has(e)&&re.delete(e),w.fetchers.get(e)||xt}function Pe(e,t){ze(e,t?.reason),je(e,Un(null))}function Fe(e,t){let n=w.fetchers.get(t);F.has(t)&&!(n&&n.state===`loading`&&R.has(t))&&ze(t),te.delete(t),R.delete(t),ee.delete(t),re.delete(t),P.delete(t),e.delete(t)}function Le(e){let t=(V.get(e)||0)-1;t<=0?(V.delete(e),re.add(e)):V.set(e,t),fe({fetchers:new Map(w.fetchers)})}function ze(e,t){let n=F.get(e);n&&(n.abort(t),F.delete(e))}function Be(e,t){for(let n of e){let e=t.get(n);z(e,`Expected fetcher: ${n}`);let r=Un(e.data);t.set(n,r)}}function Ve(e){let t=[],n=!1;for(let r of ee){let i=e.get(r);z(i,`Expected fetcher: ${r}`),i.state===`loading`&&(ee.delete(r),t.push(r),n=!0)}return Be(t,e),n}function He(e,t){let n=[];for(let[r,i]of R)if(i<e){let e=t.get(r);z(e,`Expected fetcher: ${r}`),e.state===`loading`&&(ze(r),R.delete(r),n.push(r))}return Be(n,t),n.length>0}function Ue(e,t){let n=w.blockers.get(e)||St;return ae.get(e)!==t&&ae.set(e,t),n}function We(e){w.blockers.delete(e),ae.delete(e)}function Ge(e,t){let n=w.blockers.get(e)||St;z(n.state===`unblocked`&&t.state===`blocked`||n.state===`blocked`&&t.state===`blocked`||n.state===`blocked`&&t.state===`proceeding`||n.state===`blocked`&&t.state===`unblocked`||n.state===`proceeding`&&t.state===`unblocked`,`Invalid blocker state transition: ${n.state} -> ${t.state}`);let r=new Map(w.blockers);r.set(e,t),fe({blockers:r})}function Ke({currentLocation:e,nextLocation:t,historyAction:n}){if(ae.size===0)return;ae.size>1&&B(!1,`A router only supports one blocker at a time`);let r=Array.from(ae.entries()),[i,a]=r[r.length-1],o=w.blockers.get(i);if(!(o&&o.state===`proceeding`)&&a({currentLocation:e,nextLocation:t,historyAction:n}))return i}function qe(e){let t=bn(404,{pathname:e}),n=s.activeRoutes,{matches:r,route:i}=yn(n);return{notFoundMatches:r,route:i,error:t}}function Je(e,t,n){if(m=e,g=t,h=n||null,!_&&w.navigation===bt){_=!0;let e=Ze(w.location,w.matches);e!=null&&fe({restoreScrollPosition:e})}return()=>{m=null,g=null,h=null}}function Ye(e,t){return h&&h(e,t.map(e=>_e(e,w.loaderData)))||e.key}function Xe(e,t){if(m&&g){let n=Ye(e,t);m[n]=g()}}function Ze(e,t){if(m){let n=Ye(e,t),r=m[n];if(typeof r==`number`)return r}return null}function Qe(t,n,r){if(e.patchRoutesOnNavigation){let e=s.branches;if(!t)return{active:!0,matches:ge(n,r,c,!0,e)||[]};if(Object.keys(t[0].params).length>0)return{active:!0,matches:ge(n,r,c,!0,e)}}return{active:!1,matches:null}}async function et(t,n,r,i){if(!e.patchRoutesOnNavigation)return{type:`success`,matches:t};let l=t;for(;;){let t=o;try{await e.patchRoutesOnNavigation({signal:r,path:n,matches:l,fetcherKey:i,patch:(e,n)=>{r.aborted||Vt(e,n,s,t,a,!1)}})}catch(e){return{type:`error`,error:e,partialMatches:l}}if(r.aborted)return{type:`aborted`};let u=s.branches,d=ge(s.activeRoutes,n,c,!1,u),f=null;if(d&&(Object.keys(d[0].params).length===0||(f=ge(s.activeRoutes,n,c,!0,u),!(f&&l.length<f.length&&tt(l,f.slice(0,l.length))))))return{type:`success`,matches:d};if(f||=ge(s.activeRoutes,n,c,!0,u),!f||tt(l,f))return{type:`success`,matches:null};l=f}}function tt(e,t){return e.length===t.length&&e.every((e,n)=>e.route.id===t[n].route.id)}function nt(e){o={},s.setHmrRoutes(pe(e,a,void 0,o))}function rt(e,t,n=!1){Vt(e,t,s,o,a,n),s.hasHMRRoutes||fe({})}return C={get basename(){return c},get future(){return u},get state(){return w},get routes(){return s.stableRoutes},get branches(){return s.branches},get manifest(){return o},get window(){return t},initialize:le,subscribe:de,enableScrollRestoration:Je,navigate:he,fetch:we,revalidate:ve,createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Ne,resetFetcher:Pe,deleteFetcher:Le,dis
10pose:ue,getBlocker:Ue,deleteBlocker:We,patchRoutes:rt,_internalFetchControllers:F,_internalSetRoutes:nt,_internalSetStateDoNotUseOrYouWillBreakYourApp(e){fe(e)}},e.instrumentations&&(C=at(C,e.instrumentations.map(e=>e.router).filter(Boolean))),C}function Mt(e){return e!=null&&(`formData`in e&&e.formData!=null||`body`in e&&e.body!==void 0)}function Nt(e,t,n,r,i,a){let o,s;if(i){o=[];for(let e of t)if(o.push(e),e.route.id===i){s=e;break}}else o=t,s=t[t.length-1];let c=We(r||`.`,Ue(o),Ie(e.pathname,n)||e.pathname,a===`path`);if(r??(c.search=e.search,c.hash=e.hash),(r==null||r===``||r===`.`)&&s){let e=In(c.search);if(s.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,`?index&`):`?index`;else if(!s.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll(`index`);e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();c.search=n?`?${n}`:``}}return n!==`/`&&(c.pathname=Le({basename:n,pathname:c.pathname})),re(c)}function Pt(e,t,n){if(!n||!Mt(n))return{path:t};if(n.formMethod&&!Pn(n.formMethod))return{path:t,error:bn(405,{method:n.formMethod})};let r=()=>({path:t,error:bn(400,{type:`invalid-body`})}),i=(n.formMethod||`get`).toUpperCase(),a=Sn(t);if(n.body!==void 0){if(n.formEncType===`text/plain`){if(!Fn(i))return r();let e=typeof n.body==`string`?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,[t,n])=>`${e}${t}=${n} 11`,``):String(n.body);return{path:t,submission:{formMethod:i,formAction:a,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}else if(n.formEncType===`application/json`){if(!Fn(i))return r();try{let e=typeof n.body==`string`?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:i,formAction:a,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch{return r()}}}z(typeof FormData==`function`,`FormData is not available in this environment`);let o,s;if(n.formData)o=fn(n.formData),s=n.formData;else if(n.body instanceof FormData)o=fn(n.body),s=n.body;else if(n.body instanceof URLSearchParams)o=n.body,s=pn(o);else if(n.body==null)o=new URLSearchParams,s=new FormData;else try{o=new URLSearchParams(n.body),s=pn(o)}catch{return r()}let c={formMethod:i,formAction:a,formEncType:n&&n.formEncType||`application/x-www-form-urlencoded`,formData:s,json:void 0,text:void 0};if(Fn(c.formMethod))return{path:t,submission:c};let l=ie(t);return e&&l.search&&In(l.search)&&o.append(`index`,``),l.search=`?${o}`,{path:re(l),submission:c}}function Ft(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x){let S=b?On(b[1])?b[1].error:b[1].data:void 0,C=i.createURL(a.location),w=i.createURL(c),T;if(u&&a.errors){let e=Object.keys(a.errors)[0];T=o.findIndex(t=>t.route.id===e)}else if(b&&On(b[1])){let e=b[0];T=o.findIndex(t=>t.route.id===e)-1}let E=b?b[1].statusCode:void 0,D=E&&E>=400,O={currentUrl:C,currentParams:a.matches[0]?.params||{},nextUrl:w,nextParams:o[0].params,...s,actionResult:S,actionStatus:E},k=et(o),A=o.map((i,o)=>{let{route:s}=i,f=null;if(T!=null&&o>T)f=!1;else if(s.lazy)f=!0;else if(!It(s))f=!1;else if(u){let{shouldLoad:e}=Lt(s,a.loaderData,a.errors);f=e}else Rt(a.loaderData,a.matches[o],i)&&(f=!0);if(f!==null)return $t(n,r,e,c,k,i,l,t,f);let p=!1;typeof x==`boolean`?p=x:D?p=!1:d||C.pathname+C.search===w.pathname+w.search?p=!0:C.search===w.search?zt(a.matches[o],i)&&(p=!0):p=!0;let m={...O,defaultShouldRevalidate:p},h=Bt(i,m);return $t(n,r,e,c,k,i,l,t,h,m,x)}),j=[];return m.forEach((e,s)=>{if(u||!o.some(t=>t.route.id===e.routeId)||p.has(s))return;let c=a.fetchers.get(s),m=c&&c.state!==`idle`&&c.data===void 0,b=ge(g,e.path,_??`/`,!1,y);if(!b){if(v&&m)return;j.push({key:s,routeId:e.routeId,path:e.path,matches:null,match:null,request:null,controller:null});return}if(h.has(s))return;let S=Ln(b,e.path),C=new AbortController,w=un(i,e.path,C.signal),T=null;if(f.has(s))f.delete(s),T=en(n,r,w,e.path,b,S,l,t);else if(m)d&&(T=en(n,r,w,e.path,b,S,l,t));else{let i;i=typeof x==`boolean`?x:!D&&d;let a={...O,defaultShouldRevalidate:i};Bt(S,a)&&(T=en(n,r,w,e.path,b,S,l,t,a))}T&&j.push({key:s,routeId:e.routeId,path:e.path,matches:T,match:S,request:w,controller:C})}),{dsMatches:A,revalidatingFetchers:j}}function It(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function Lt(e,t,n){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!It(e))return{shouldLoad:!1,renderFallback:!1};let r=t!=null&&e.id in t,i=n!=null&&n[e.id]!==void 0;if(!r&&i)return{shouldLoad:!1,renderFallback:!1};if(typeof e.loader==`function`&&e.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!r};let a=!r&&!i;return{shouldLoad:a,renderFallback:a}}function Rt(e,t,n){let r=!t||n.route.id!==t.route.id,i=!e.hasOwnProperty(n.route.id);return r||i}function zt(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith(`*`)&&e.params[`*`]!==t.params[`*`]}function Bt(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n==`boolean`)return n}return t.defaultShouldRevalidate}function Vt(e,t,n,r,i,a){let o;if(e){let t=r[e];z(t,`No route found to patch children into: routeId = ${e}`),t.children||=[],o=t.children}else o=n.activeRoutes;let s=[],c=[];
11if(t.forEach(e=>{let t=o.find(t=>Ht(e,t));t?c.push({existingRoute:t,newRoute:e}):s.push(e)}),s.length>0){let t=pe(s,i,[e||`_`,`patch`,String(o?.length||`0`)],r);o.push(...t)}if(a&&c.length>0)for(let e=0;e<c.length;e++){let{existingRoute:t,newRoute:n}=c[e],r=t,[a]=pe([n],i,[],{},!0);Object.assign(r,{element:a.element?a.element:r.element,errorElement:a.errorElement?a.errorElement:r.errorElement,hydrateFallbackElement:a.hydrateFallbackElement?a.hydrateFallbackElement:r.hydrateFallbackElement})}n.hasHMRRoutes||n.setRoutes([...n.activeRoutes])}function Ht(e,t){return`id`in e&&`id`in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children?.every((e,n)=>t.children?.some(t=>Ht(e,t)))??!1:!1}var Ut=new WeakMap,Wt=({key:e,route:t,manifest:n,mapRouteProperties:r})=>{let i=n[t.id];if(z(i,`No route found in manifest`),!i.lazy||typeof i.lazy!=`object`)return;let a=i.lazy[e];if(!a)return;let o=Ut.get(i);o||(o={},Ut.set(i,o));let s=o[e];if(s)return s;let c=(async()=>{let t=le(e),n=i[e]!==void 0&&e!==`hasErrorBoundary`;if(t)B(!t,`Route property `+e+` is not a supported lazy route property. This property will be ignored.`),o[e]=Promise.resolve();else if(n)B(!1,`Route "${i.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let t=await a();t!=null&&(Object.assign(i,{[e]:t}),Object.assign(i,r(i)))}typeof i.lazy==`object`&&(i.lazy[e]=void 0,Object.values(i.lazy).every(e=>e===void 0)&&(i.lazy=void 0))})();return o[e]=c,c},Gt=new WeakMap;function Kt(e,t,n,r,i){let a=n[e.id];if(z(a,`No route found in manifest`),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy==`function`){let t=Gt.get(a);if(t)return{lazyRoutePromise:t,lazyHandlerPromise:t};let n=(async()=>{z(typeof e.lazy==`function`,`No lazy route function found`);let t=await e.lazy(),n={};for(let e in t){let r=t[e];if(r===void 0)continue;let i=de(e),o=a[e]!==void 0&&e!==`hasErrorBoundary`;i?B(!i,`Route property `+e+` is not a supported property to be returned from a lazy route function. This property will be ignored.`):o?B(!o,`Route "${a.id}" has a static property "${e}" defined but its lazy function is also returning a value for this property. The lazy route property "${e}" will be ignored.`):n[e]=r}Object.assign(a,n),Object.assign(a,{...r(a),lazy:void 0})})();return Gt.set(a,n),n.catch(()=>{}),{lazyRoutePromise:n,lazyHandlerPromise:n}}let o=Object.keys(e.lazy),s=[],c;for(let a of o){if(i&&i.includes(a))continue;let o=Wt({key:a,route:e,manifest:n,mapRouteProperties:r});o&&(s.push(o),a===t&&(c=o))}let l=s.length>0?Promise.all(s).then(()=>{}):void 0;return l?.catch(()=>{}),c?.catch(()=>{}),{lazyRoutePromise:l,lazyHandlerPromise:c}}async function qt(e){let t=e.matches.filter(e=>e.shouldLoad),n={};return(await Promise.all(t.map(e=>e.resolve()))).forEach((e,r)=>{n[t[r].route.id]=e}),n}async function Jt(e){return e.matches.some(e=>e.route.middleware)?Yt(e,()=>qt(e)):qt(e)}function Yt(e,t){return Xt(e,t,e=>{if(Nn(e))throw e;return e},Tn,n);function n(t,n,r){if(r)return Promise.resolve(Object.assign(r.value,{[n]:{type:`error`,result:t}}));{let{matches:r}=e,i=vn(r,r[Math.min(Math.max(r.findIndex(e=>e.route.id===n),0),Math.max(r.findIndex(e=>e.shouldCallHandler()),0))].route.id).route.id;return Promise.resolve({[i]:{type:`error`,result:t}})}}}async function Xt(e,t,n,r,i){let{matches:a,...o}=e;return await Zt(o,a.flatMap(e=>e.route.middleware?e.route.middleware.map(t=>[e.route.id,t]):[]),t,n,r,i)}async function Zt(e,t,n,r,i,a,o=0){let{request:s}=e;if(s.signal.aborted)throw s.signal.reason??Error(`Request aborted: ${s.method} ${s.url}`);let c=t[o];if(!c)return await n();let[l,u]=c,d,f=async()=>{if(d)throw Error("You may only call `next()` once per middleware");try{return d={value:await Zt(e,t,n,r,i,a,o+1)},d.value}catch(e){return d={value:await a(e,l,d)},d.value}};try{let t=await u(e,f),n=t==null?void 0:r(t);return i(n)?n:d?n??d.value:(d={value:await f()},d.value)}catch(e){return await a(e,l,d)}}function Qt(e,t,n,r,i){let a=Wt({key:`middleware`,route:r.route,manifest:t,mapRouteProperties:e}),o=Kt(r.route,Fn(n.method)?`action`:`loader`,t,e,i);return{middleware:a,route:o.lazyRoutePromise,handler:o.lazyHandlerPromise}}function $t(e,t,n,r,i,a,o,s,c,l=null,u){let d=!1,f=Qt(e,t,n,a,o);return{...a,_lazyPromises:f,shouldLoad:c,shouldRevalidateArgs:l,shouldCallHandler(e){return d=!0,l?typeof u==`boolean`?Bt(a,{...l,defaultShouldRevalidate:u}):typeof e==`boolean`?Bt(a,{...l,defaultShouldRevalidate:e}):Bt(a,l):c}
11,resolve(e){let{lazy:t,loader:o,middleware:l}=a.route,u=d||c||e&&!Fn(n.method)&&(t||o),p=l&&l.length>0&&!o&&!t;return u&&(Fn(n.method)||!p)?nn({request:n,path:r,pattern:i,match:a,lazyHandlerPromise:f?.handler,lazyRoutePromise:f?.route,handlerOverride:e,scopedContext:s}):Promise.resolve({type:`data`,result:void 0})}}}function en(e,t,n,r,i,a,o,s,c=null){return i.map(l=>l.route.id===a.route.id?$t(e,t,n,r,et(i),l,o,s,!0,c):{...l,shouldLoad:!1,shouldRevalidateArgs:c,shouldCallHandler:()=>!1,_lazyPromises:Qt(e,t,n,l,o),resolve:()=>Promise.resolve({type:`data`,result:void 0})})}async function tn(e,t,n,r,i,a,o){r.some(e=>e._lazyPromises?.middleware)&&await Promise.all(r.map(e=>e._lazyPromises?.middleware));let s={request:t,url:dn(t,n),pattern:et(r),params:r[0].params,context:a,matches:r},c=o?()=>{throw Error("You cannot call `runClientMiddleware()` from a static handler `dataStrategy`. Middleware is run outside of `dataStrategy` during SSR in order to bubble up the Response. You can enable middleware via the `respond` API in `query`/`queryRoute`")}:e=>{let t=s;return Yt(t,()=>e({...t,fetcherKey:i,runClientMiddleware:()=>{throw Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))},l=await e({...s,fetcherKey:i,runClientMiddleware:c});try{await Promise.all(r.flatMap(e=>[e._lazyPromises?.handler,e._lazyPromises?.route]))}catch{}return l}async function nn({request:e,path:t,pattern:n,match:r,lazyHandlerPromise:i,lazyRoutePromise:a,handlerOverride:o,scopedContext:s}){let c,l,u=Fn(e.method),d=u?`action`:`loader`,f=i=>{let a,c=new Promise((e,t)=>a=t);l=()=>a(),e.signal.addEventListener(`abort`,l);let u=a=>typeof i==`function`?i({request:e,url:dn(e,t),pattern:n,params:r.params,context:s},...a===void 0?[]:[a]):Promise.reject(Error(`You cannot call the handler for a route which defines a boolean "${d}" [routeId: ${r.route.id}]`)),f=(async()=>{try{return{type:`data`,result:await(o?o(e=>u(e)):u())}}catch(e){return{type:`error`,result:e}}})();return Promise.race([f,c])};try{let t=u?r.route.action:r.route.loader;if(i||a)if(t){let e,[n]=await Promise.all([f(t).catch(t=>{e=t}),i,a]);if(e!==void 0)throw e;c=n}else{await i;let t=u?r.route.action:r.route.loader;if(t)[c]=await Promise.all([f(t),a]);else if(d===`action`){let t=new URL(e.url),n=t.pathname+t.search;throw bn(405,{method:e.method,pathname:n,routeId:r.route.id})}else return{type:`data`,result:void 0}}else if(t)c=await f(t);else{let t=new URL(e.url);throw bn(404,{pathname:t.pathname+t.search})}}catch(e){return{type:`error`,result:e}}finally{l&&e.signal.removeEventListener(`abort`,l)}return c}async function rn(e){let t=e.headers.get(`Content-Type`);return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function an(e){let{result:t,type:n}=e;if(jn(t)){let e;try{e=await rn(t)}catch(e){return{type:`error`,error:e}}return n===`error`?{type:`error`,error:new Qe(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:`data`,data:e,statusCode:t.status,headers:t.headers}}return n===`error`?An(t)?t.data instanceof Error?{type:`error`,error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:`error`,error:wn(t),statusCode:$e(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:`error`,error:t,statusCode:$e(t)?t.status:void 0}:An(t)?{type:`data`,data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:`data`,data:t}}function on(e,t,n,r,i){let a=e.headers.get(`Location`);if(z(a,`Redirects returned/thrown from loaders/actions must have a Location header`),!Re(a)){let o=r.slice(0,r.findIndex(e=>e.route.id===n)+1);a=Nt(new URL(t.url),o,i,a),e.headers.set(`Location`,a)}return e}var sn=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function cn(e){try{return sn.includes(new URL(e).protocol)}catch{return!1}}function ln(e,t,n,r){if(Re(e)){let r=e,i=F.test(r)?new URL(I(r,t.protocol)):new URL(r);if(cn(i.toString()))throw Error(`Invalid redirect location`);let a=Ie(i.pathname,n)!=null;if(i.origin===t.origin&&a)return Ge(i.pathname)+i.search+i.hash}try{if(cn(r.createURL(e).toString()))throw Error(`Invalid redirect location`)}catch{}return e}function un(e,t,n,r){let i=e.createURL(Sn(t)).toString(),a={signal:n};if(r&&Fn(r.formMethod)){let{formMethod:e,formEncType:t}=r;a.method=e.toUpperCase(),t===`application/json`?(a.headers=new Headers({"Content-Type":t}),a.body=JSON.stringify(r.json)):t===`text/plain`?a.body=r.text:t===`application/x-www-form-urlencoded`&&r.formData?a.body=fn(r.formData):a.body=r.formData}
11return new Request(i,a)}function dn(e,t){let n=new URL(e.url),r=typeof t==`string`?ie(t):t;if(n.pathname=r.pathname||`/`,r.search){let e=new URLSearchParams(r.search),t=e.getAll(`index`);e.delete(`index`);for(let n of t.filter(Boolean))e.append(`index`,n);n.search=e.size?`?${e.toString()}`:``}else n.search=``;return n.hash=r.hash||``,n}function fn(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r==`string`?r:r.name);return t}function pn(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function mn(e,t,n,r=!1,i=!1){let a={},o=null,s,c=!1,l={},u=n&&On(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let d=n.route.id,f=t[d];if(z(!kn(f),`Cannot handle redirect results in processLoaderData`),On(f)){let t=f.error;if(u!==void 0&&(t=u,u=void 0),o||={},i)o[d]=t;else{let n=vn(e,d);o[n.route.id]??(o[n.route.id]=t)}r||(a[d]=Tt),c||(c=!0,s=$e(f.error)?f.error.status:500),f.headers&&(l[d]=f.headers)}else a[d]=f.data,f.statusCode&&f.statusCode!==200&&!c&&(s=f.statusCode),f.headers&&(l[d]=f.headers)}),u!==void 0&&n&&(o={[n[0]]:u},n[2]&&(a[n[2]]=void 0)),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:l}}function hn(e,t,n,r,i,a,o){let{loaderData:s,errors:c}=mn(t,n,r);return i.filter(e=>!e.matches||e.matches.some(e=>e.shouldLoad)).forEach(t=>{let{key:n,match:r,controller:i}=t;if(i&&i.signal.aborted)return;let s=a[n];if(z(s,`Did not find corresponding fetcher result`),On(s)){let t=vn(e.matches,r?.route.id);c&&c[t.route.id]||(c={...c,[t.route.id]:s.error}),o.delete(n)}else if(kn(s))z(!1,`Unhandled fetcher revalidation redirect`);else{let e=Un(s.data);o.set(n,e)}}),{loaderData:s,errors:c}}function gn(e,t,n,r){let i=Object.entries(t).filter(([,e])=>e!==Tt).reduce((e,[t,n])=>(e[t]=n,e),{});for(let a of n){let n=a.route.id;if(!t.hasOwnProperty(n)&&e.hasOwnProperty(n)&&a.route.loader&&(i[n]=e[n]),r&&r.hasOwnProperty(n))break}return i}function _n(e){return e?On(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function vn(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>e.route.hasErrorBoundary===!0)||e[0]}function yn(e){let t=e.length===1?e[0]:e.find(e=>e.index||!e.path||e.path===`/`)||{id:`__shim-error-route__`};return{matches:[{params:{},pathname:``,pathnameBase:``,route:t}],route:t}}function bn(e,{pathname:t,routeId:n,method:r,type:i,message:a}={}){let o=`Unknown Server Error`,s=`Unknown @remix-run/router error`;return e===400?(o=`Bad Request`,r&&t&&n?s=`You made a ${r} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:i===`invalid-body`&&(s=`Unable to encode submission body`)):e===403?(o=`Forbidden`,s=`Route "${n}" does not match URL "${t}"`):e===404?(o=`Not Found`,s=`No route matches URL "${t}"`):e===405&&(o=`Method Not Allowed`,r&&t&&n?s=`You made a ${r.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:r&&(s=`Invalid request method "${r.toUpperCase()}"`)),new Qe(e||500,o,Error(s),!0)}function xn(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(kn(r))return{key:n,result:r}}}function Sn(e){return re({...typeof e==`string`?ie(e):e,hash:``})}function Cn(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===``?t.hash!==``:e.hash===t.hash||t.hash!==``}function wn(e){return new Qe(e.init?.status??500,e.init?.statusText??`Internal Server Error`,e.data)}function Tn(e){return typeof e==`object`&&!!e&&Object.entries(e).every(([e,t])=>typeof e==`string`&&En(t))}function En(e){return typeof e==`object`&&!!e&&`type`in e&&`result`in e&&(e.type===`data`||e.type===`error`)}function Dn(e){return jn(e.result)&&vt.has(e.result.status)}function On(e){return e.type===`error`}function kn(e){return(e&&e.type)===`redirect`}function An(e){return typeof e==`object`&&!!e&&`type`in e&&`data`in e&&`init`in e&&e.type===`DataWithResponseInit`}function jn(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.headers==`object`&&e.body!==void 0}function Mn(e){return vt.has(e)}function Nn(e){return jn(e)&&Mn(e.status)&&e.headers.has(`Location`)}function Pn(e){return _t.has(e.toUpperCase())}function Fn(e){return ht.has(e.toUpperCase())}function In(e){return new URLSearchParams(e).getAll(`index`).some(e=>e===``)}function Ln(e,t){let n=typeof t==`string`?ie(t).search:t.search;if(e[e.length-1].route.index&&In(n||``))return e[e.length-1];let r=He(e);return r[r.length-1]}function Rn(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:a,json:o}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function zn(e,t,n,r){return r?{state:`loading`,location:e,matches:t,historyAction:n,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}:{state:`loading`,location:e,matches:t,historyAction:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Bn(e,t,n,r){return{state:`submitting`,location:e,matches:t,historyAction:n,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}}function Vn(e,t){return e?{state:`loading`,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:`loading`,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Hn(e,t){return{state:`submitting`,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Un(e){return{state:`idle`,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Wn(e,t){try{let n=e.sessionStorage.getItem(wt);
11if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch{}}function Gn(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(wt,JSON.stringify(n))}catch(e){B(!1,`Failed to save applied view transitions in sessionStorage (${e}).`)}}}function Kn(){let e,t,n=new Promise((r,i)=>{e=async e=>{r(e);try{await n}catch{}},t=async e=>{i(e);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}var qn=S.createContext(null);qn.displayName=`DataRouter`;var Jn=S.createContext(null);Jn.displayName=`DataRouterState`;var Yn=S.createContext(!1);function Xn(){return S.useContext(Yn)}var Zn=S.createContext({isTransitioning:!1});Zn.displayName=`ViewTransition`;var Qn=S.createContext(new Map);Qn.displayName=`Fetchers`;var $n=S.createContext(null);$n.displayName=`Await`;var er=S.createContext(null);er.displayName=`Navigation`;var tr=S.createContext(null);tr.displayName=`Location`;var nr=S.createContext({outlet:null,matches:[],isDataRoute:!1});nr.displayName=`Route`;var rr=S.createContext(null);rr.displayName=`RouteError`;var ir=`REACT_ROUTER_ERROR`,ar=`REDIRECT`,or=`ROUTE_ERROR_RESPONSE`;function sr(e){if(e.startsWith(`${ir}:${ar}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function cr(e){if(e.startsWith(`${ir}:${or}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new Qe(t.status,t.statusText,t.data)}catch{}}function lr(e,{relative:t}={}){z(ur(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=S.useContext(er),{hash:i,pathname:a,search:o}=br(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:Ke([n,a])),r.createHref({pathname:s,search:o,hash:i})}function ur(){return S.useContext(tr)!=null}function dr(){return z(ur(),`useLocation() may be used only in the context of a <Router> component.`),S.useContext(tr).location}function fr(e){z(ur(),`useMatch() may be used only in the context of a <Router> component.`);let{pathname:t}=dr();return S.useMemo(()=>Me(e,Fe(t)),[t,e])}var pr=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function mr(e){S.useContext(er).static||S.useLayoutEffect(e)}function hr(){let{isDataRoute:e}=S.useContext(nr);return e?Vr():gr()}function gr(){z(ur(),`useNavigate() may be used only in the context of a <Router> component.`);let e=S.useContext(qn),{basename:t,navigator:n}=S.useContext(er),{matches:r}=S.useContext(nr),{pathname:i}=dr(),a=JSON.stringify(Ue(r)),o=S.useRef(!1);return mr(()=>{o.current=!0}),S.useCallback((r,s={})=>{if(B(o.current,pr),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=We(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:Ke([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var _r=S.createContext(null);function vr(e){let t=S.useContext(nr).outlet;return S.useMemo(()=>t&&S.createElement(_r.Provider,{value:e},t),[t,e])}function yr(){let{matches:e}=S.useContext(nr);return e[e.length-1]?.params??{}}function br(e,{relative:t}={}){let{matches:n}=S.useContext(nr),{pathname:r}=dr(),i=JSON.stringify(Ue(n));return S.useMemo(()=>We(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function xr(e,t){return Sr(e,t)}function Sr(e,t,n){z(ur(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=S.useContext(er),{matches:i}=S.useContext(nr),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;Ur(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) 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. 12 13Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=dr(),d;if(t){let e=typeof t==`string`?ie(t):t;z(c===`/`||e.pathname?.startsWith(c),`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 "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):he(e,{pathname:p});B(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),B(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.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 h=kr(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Ke([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:Ke([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?S.createElement(tr.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function Cr(){let e=Rr(),t=$e(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=S.createElement(S.Fragment,null,S.createElement(`p`,null,`ð¿ Hey developer ð`),S.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,S.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,S.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),S.createElement(S.Fragment,null,S.createElement(`h2`,null,`Unexpected Application
13Error!`),S.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?S.createElement(`pre`,{style:i},n):null,o)}var wr=S.createElement(Cr,null),Tr=class extends S.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=cr(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:S.createElement(nr.Provider,{value:this.props.routeContext},S.createElement(rr.Provider,{value:e,children:this.props.component}));return this.context?S.createElement(Dr,{error:e},t):t}};Tr.contextType=Yn;var Er=new WeakMap;function Dr({children:e,error:t}){let{basename:n}=S.useContext(er);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=sr(t.digest);if(e){let r=Er.get(t);if(r)throw r;let i=nt(e.location,n),a=i.absoluteURL||i.to;if(cn(a))throw Error(`Invalid redirect location`);if(tt&&!Er.get(t))if(i.isExternal||e.reloadDocument)window.location.href=a;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw Er.set(t,n),n}return S.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${a}`})}}return e}function Or({routeContext:e,match:t,children:n}){let r=S.useContext(qn);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),S.createElement(nr.Provider,{value:e},n)}function kr(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);z(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:et(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||wr,o&&(s<0&&c===0?(Ur(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?S.createElement(n.route.Component,null):n.route.element?n.route.element:e,S.createElement(Or,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?S.createElement(Tr,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function Ar(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function jr(e){let t=S.useContext(qn);return z(t,Ar(e)),t}function Mr(e){let t=S.useContext(Jn);return z(t,Ar(e)),t}function Nr(e){let t=S.useContext(nr);return z(t,Ar(e)),t}function Pr(e){let t=Nr(e),n=t.matches[t.matches.length-1];return z(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Fr(){return Pr(`useRouteId`)}function Ir(){let e=Mr(`useNavigation`);return S.useMemo(()=>{let{matches:t,historyAction:n,...r}=e.navigation;return r},[e.navigation])}function Lr(){let{matches:e,loaderData:t}=Mr(`useMatches`);return S.useMemo(()=>e.map(e=>_e(e,t)),[e,t])}function Rr(){let e=S.useContext(rr),t=Mr(`useRouteError`),n=Pr(`useRouteError`);return e===void 0?t.errors?.[n]:e}var zr=0;function Br(e){let{router:t,basename:n}=jr(`useBlocker`),r=Mr(`useBlocker`),[i,a]=S.useState(``),o=S.useCallback(t=>{if(typeof e!=`function`)return!!e;if(n===`/`)return e(t);let{currentLocation:r,nextLocation:i,historyAction:a}=t;return e({currentLocation:{...r,pathname:Ie(r.pathname,n)||r.pathname},nextLocation:{...i,pathname:Ie(i.pathname,n)||i.pathname},historyAction:a})},[n,e]);return S.useEffect(()=>{let e=String(++zr);return a(e),()=>t.deleteBlocker(e)},[t]),S.useEffect(()=>{i!==``&&t.getBlocker(i,o)},[t,i,o]),i&&r.blockers.has(i)?r.blockers.get(i):St}function Vr(){let{router:e}=jr(`useNavigate`),t=Pr(`useNavigate`),n=S.useRef(!1);return mr(()=>{n.current=!0}),S.useCallback(async(r,i={})=>{B(n.current,pr),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var Hr={};function Ur(e,t,n){!t&&!Hr[e]&&(Hr[e]=!0,B(!1,n))}var Wr={};function Gr(e,t){!e&&!Wr[t]&&(Wr[t]=!0,console.warn(t))}var Kr=S.useOptimistic,qr=()=>void 0;function Jr(e){return Kr?Kr(e):[e,qr]}function Yr(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&B(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:S.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&B(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:S.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&B(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:S.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var Xr=[`HydrateFallback`,`hydrateFallbackElement`],Zr=class{constructor(){this.status=`pending`,this.promise=new Promise((e,t)=>
13{this.resolve=t=>{this.status===`pending`&&(this.status=`resolved`,e(t))},this.reject=e=>{this.status===`pending`&&(this.status=`rejected`,t(e))}})}};function Qr({router:e,flushSync:t,onError:n,useTransitions:r}){r=Xn()||r;let[i,a]=S.useState(e.state),[o,s]=Jr(i),[c,l]=S.useState(),[u,d]=S.useState({isTransitioning:!1}),[f,p]=S.useState(),[m,h]=S.useState(),[g,_]=S.useState(),v=S.useRef(new Map),y=S.useCallback((i,{deletedFetchers:o,newErrors:c,flushSync:u,viewTransitionOpts:g})=>{c&&n&&Object.values(c).forEach(e=>n(e,{location:i.location,params:i.matches[0]?.params??{},pattern:et(i.matches)})),i.fetchers.forEach((e,t)=>{e.data!==void 0&&v.current.set(t,e.data)}),o.forEach(e=>v.current.delete(e)),Gr(u===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let y=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition==`function`;if(Gr(g==null||y,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!g||!y){t&&u?t(()=>a(i)):r===!1?a(i):S.startTransition(()=>{r===!0&&s(e=>$r(e,i)),a(i)});return}if(t&&u){t(()=>{m&&(f?.resolve(),m.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:g.currentLocation,nextLocation:g.nextLocation})});let n=e.window.document.startViewTransition(()=>{t(()=>a(i))});n.finished.finally(()=>{t(()=>{p(void 0),h(void 0),l(void 0),d({isTransitioning:!1})})}),t(()=>h(n));return}m?(f?.resolve(),m.skipTransition(),_({state:i,currentLocation:g.currentLocation,nextLocation:g.nextLocation})):(l(i),d({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}))},[e.window,t,m,f,r,s,n]);S.useLayoutEffect(()=>e.subscribe(y),[e,y]),S.useEffect(()=>{u.isTransitioning&&!u.flushSync&&p(new Zr)},[u]),S.useEffect(()=>{if(f&&c&&e.window){let t=c,n=f.promise,i=e.window.document.startViewTransition(async()=>{r===!1?a(t):S.startTransition(()=>{r===!0&&s(e=>$r(e,t)),a(t)}),await n});i.finished.finally(()=>{p(void 0),h(void 0),l(void 0),d({isTransitioning:!1})}),h(i)}},[c,f,e.window,r,s]),S.useEffect(()=>{f&&c&&o.location.key===c.location.key&&f.resolve()},[f,m,o.location,c]),S.useEffect(()=>{!u.isTransitioning&&g&&(l(g.state),d({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}),_(void 0))},[u.isTransitioning,g]);let b=S.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:t=>e.navigate(t),push:(t,n,r)=>e.navigate(t,{state:n,preventScrollReset:r?.preventScrollReset}),replace:(t,n,r)=>e.navigate(t,{replace:!0,state:n,preventScrollReset:r?.preventScrollReset})}),[e]),x=e.basename||`/`,C=S.useMemo(()=>({router:e,navigator:b,static:!1,basename:x,onError:n}),[e,b,x,n]);return S.createElement(S.Fragment,null,S.createElement(qn.Provider,{value:C},S.createElement(Jn.Provider,{value:o},S.createElement(Qn.Provider,{value:v.current},S.createElement(Zn.Provider,{value:u},S.createElement(ai,{basename:x,location:o.location,navigationType:o.historyAction,navigator:b,useTransitions:r},S.createElement(ei,{routes:e.routes,manifest:e.manifest,future:e.future,state:o,isStatic:!1,onError:n})))))),null)}function $r(e,t){return{...e,navigation:t.navigation.state===`idle`?e.navigation:t.navigation,revalidation:t.revalidation===`idle`?e.revalidation:t.revalidation,actionData:t.navigation.state===`submitting`?e.actionData:t.actionData,fetchers:t.fetchers}}var ei=S.memo(ti);function ti({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return Sr(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function ni({to:e,replace:t,state:n,relative:r}){z(ur(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i}=S.useContext(er);B(!i,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:a}=S.useContext(nr),{pathname:o}=dr(),s=hr(),c=We(e,Ue(a),o,r===`path`),l=JSON.stringify(c);return S.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function ri(e){return vr(e.context)}function ii(e){z(!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 ai({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){z(!ur(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=S.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=ie(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=S.useMemo(()=>{let e=Ie(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);
13return B(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:S.createElement(er.Provider,{value:c},S.createElement(tr.Provider,{children:t,value:h}))}function oi({children:e,location:t}){return xr(si(e),t)}S.Component;function si(e,t=[]){let n=[];return S.Children.forEach(e,(e,r)=>{if(!S.isValidElement(e))return;let i=[...t,r];if(e.type===S.Fragment){n.push.apply(n,si(e.props.children,i));return}z(e.type===ii,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),z(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=si(e.props.children,i)),n.push(a)}),n}var ci=`get`,li=`application/x-www-form-urlencoded`;function ui(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function di(e){return ui(e)&&e.tagName.toLowerCase()===`button`}function fi(e){return ui(e)&&e.tagName.toLowerCase()===`form`}function pi(e){return ui(e)&&e.tagName.toLowerCase()===`input`}function mi(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hi(e,t){return e.button===0&&(!t||t===`_self`)&&!mi(e)}function gi(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function _i(e,t){let n=gi(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var vi=null;function yi(){if(vi===null)try{new FormData(document.createElement(`form`),0),vi=!1}catch{vi=!0}return vi}var bi=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function xi(e){return e!=null&&!bi.has(e)?(B(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${li}"`),null):e}function Si(e,t){let n,r,i,a,o;if(fi(e)){let o=e.getAttribute(`action`);r=o?Ie(o,t):null,n=e.getAttribute(`method`)||ci,i=xi(e.getAttribute(`enctype`))||li,a=new FormData(e)}else if(di(e)||pi(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?Ie(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||ci,i=xi(e.getAttribute(`formenctype`))||xi(o.getAttribute(`enctype`))||li,a=new FormData(o,e),!yi()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(ui(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=ci,r=null,i=li,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Ci={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},wi=/[&><\u2028\u2029]/g;function Ti(e){return e.replace(wi,e=>Ci[e])}function Ei(e,t){if(e===!1||e==null)throw Error(t)}function Di(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&Ie(i.pathname,t)===`/`?i.pathname=`${qe(t)}/_root.${r}`:i.pathname=`${qe(i.pathname)}.${r}`,i}async function Oi(e,t){if(e.id in t)return t[e.id];try{let n=await O(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.
13isSpaMode,window.location.reload(),new Promise(()=>{})}}function ki(e){return e!=null&&typeof e.page==`string`}function Ai(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function ji(e,t,n){return Ii((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await Oi(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(Ai).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function Mi(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function Ni(e,t,{includeHydrateFallback:n}={}){return Pi(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function Pi(e){return[...new Set(e)]}function Fi(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function Ii(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!ki(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(Fi(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function Li(){let e=S.useContext(qn);return Ei(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function Ri(){let e=S.useContext(Jn);return Ei(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var zi=S.createContext(void 0);zi.displayName=`FrameworkContext`;function Bi(){let e=S.useContext(zi);return Ei(e,`You must render this element inside a <HydratedRouter> element`),e}function Vi(e,t){let n=S.useContext(zi),[r,i]=S.useState(!1),[a,o]=S.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=S.useRef(null);S.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),S.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:Hi(s,p),onBlur:Hi(c,m),onMouseEnter:Hi(l,p),onMouseLeave:Hi(u,m),onTouchStart:Hi(d,p)}]:[a,f,{}]:[!1,f,{}]}function Hi(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Ui({page:e,...t}){let n=Xn(),{nonce:r}=Bi(),{router:i}=Li(),a=S.useMemo(()=>he(i.routes,e,i.basename),[i.routes,e,i.basename]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?S.createElement(Gi,{page:e,matches:a,...t}):S.createElement(Ki,{page:e,matches:a,...t})):null}function Wi(e){let{manifest:t,routeModules:n}=Bi(),[r,i]=S.useState([]);return S.useEffect(()=>{let r=!1;return ji(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function Gi({page:e,matches:t,...n}){let r=dr(),{future:i}=Bi(),{basename:a}=Li(),o=S.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=Di(e,a,i.v8_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.v8_trailingSlashAwareDataRequests,e,r,t]);return S.createElement(S.Fragment,null,o.map(e=>S.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function Ki({page:e,matches:t,...n}){let r=dr(),{future:i,manifest:a,routeModules:o}=Bi(),{basename:s}=Li(),{loaderData:c,matches:l}=Ri(),u=S.useMemo(()=>Mi(e,t,l,a,r,`data`),[e,t,l,a,r]),d=S.useMemo(()=>Mi(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=S.useMemo(()=>
13{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=Di(e,s,i.v8_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.v8_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=S.useMemo(()=>Ni(d,a),[d,a]),m=Wi(d);return S.createElement(S.Fragment,null,f.map(e=>S.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>S.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>S.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function qi(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}S.Component;var Ji=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{Ji&&(window.__reactRouterVersion=`7.18.2`)}catch{}function Yi(e,t){return jt({basename:t?.basename,getContext:t?.getContext,future:t?.future,history:ee({window:t?.window}),hydrationData:t?.hydrationData||Xi(),routes:e,mapRouteProperties:Yr,hydrationRouteProperties:Xr,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window,instrumentations:t?.instrumentations}).initialize()}function Xi(){let e=window?.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:Zi(e.errors)}),e}function Zi(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&r.__type===`RouteErrorResponse`)n[e]=new Qe(r.status,r.statusText,r.data,r.internal===!0);else if(r&&r.__type===`Error`){if(typeof r.__subType==`string`&&Ze.includes(r.__subType)){let t=window[r.__subType];if(typeof t==`function`)try{let i=new t(r.message);i.stack=``,n[e]=i}catch{}}if(n[e]==null){let t=Error(r.message);t.stack=``,n[e]=t}}else n[e]=r;return n}function Qi({basename:e,children:t,history:n,useTransitions:r}){let[i,a]=S.useState({action:n.action,location:n.location}),o=S.useCallback(e=>{r===!1?a(e):S.startTransition(()=>a(e))},[r]);return S.useLayoutEffect(()=>n.listen(o),[n,o]),S.createElement(ai,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n,useTransitions:r})}Qi.displayName=`unstable_HistoryRouter`;var $i=S.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=S.useContext(er),v=typeof l==`string`&&P.test(l),y=nt(l,h);l=y.to;let b=lr(l,{relative:r}),x=dr(),C=null;if(o){let e=We(o,[],x.mask?x.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:Ke([h,e.pathname])),C=g.createHref(e)}let[w,T,E]=Vi(n,p),D=oa(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function O(t){e&&e(t),t.defaultPrevented||D(t)}let k=!(y.isExternal||i),A=S.createElement(`a`,{...p,...E,href:(k?C:void 0)||y.absoluteURL||b,onClick:k?O:e,ref:qi(m,T),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return w&&!v?S.createElement(S.Fragment,null,A,S.createElement(Ui,{page:b})):A});$i.displayName=`Link`;var ea=S.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=br(a,{relative:c.relative}),d=dr(),f=S.useContext(Jn),{navigator:p,basename:m}=S.useContext(er),h=f!=null&&_a(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=Ie(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(g.length)===`/`),C={isActive:b,isPending:x,isTransitioning:h},w=b?e:void 0,T;T=typeof n==`function`?n(C):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(
13Boolean).join(` `);let E=typeof i==`function`?i(C):i;return S.createElement($i,{...c,"aria-current":w,className:T,ref:l,style:E,to:a,viewTransition:o},typeof s==`function`?s(C):s)});ea.displayName=`NavLink`;var ta=S.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=ci,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=S.useContext(er),g=ua(),_=da(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&P.test(s);return S.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?S.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});ta.displayName=`Form`;function na({getKey:e,storageKey:t,...n}){let r=S.useContext(zi),{basename:i}=S.useContext(er),a=dr(),o=Lr();ha({getKey:e,storageKey:t});let s=S.useMemo(()=>{if(!r||!e)return null;let t=ma(a,o,i,e);return t===a.key?null:t},[]);if(!r||r.isSpaMode)return null;let c=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];
13typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return n.nonce==null&&r?.nonce&&(n.nonce=r.nonce),S.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${Ti(JSON.stringify(t||fa))}, ${Ti(JSON.stringify(s))})`}})}na.displayName=`ScrollRestoration`;function ra(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ia(e){let t=S.useContext(qn);return z(t,ra(e)),t}function aa(e){let t=S.useContext(Jn);return z(t,ra(e)),t}function oa(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=hr(),d=dr(),f=br(e,{relative:o});return S.useCallback(p=>{if(hi(p,t)){p.preventDefault();let t=n===void 0?re(d)===re(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?S.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}function sa(e){B(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=S.useRef(gi(e)),n=S.useRef(!1),r=dr(),i=S.useMemo(()=>_i(r.search,n.current?null:t.current),[r.search]),a=hr();return[i,S.useCallback((e,t)=>{let r=gi(typeof e==`function`?e(new URLSearchParams(i)):e);n.current=!0,a(`?`+r,t)},[a,i])]}var ca=0,la=()=>`__${String(++ca)}__`;function ua(){let{router:e}=ia(`useSubmit`),{basename:t}=S.useContext(er),n=Fr(),r=e.fetch,i=e.navigate;return S.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=Si(e,t);if(a.navigate===!1){let e=a.fetcherKey||la();await r(e,n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync})}else await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function da(e,{relative:t}={}){let{basename:n}=S.useContext(er),r=S.useContext(nr);z(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...br(e||`.`,{relative:t})},o=dr();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:Ke([n,a.pathname])),re(a)}var fa=`react-router-scroll-positions`,pa={};function ma(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:Ie(e.pathname,n)||e.pathname},t)),i??=e.key,i}function ha({getKey:e,storageKey:t}={}){let{router:n}=ia(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:i}=aa(`useScrollRestoration`),{basename:a}=S.useContext(er),o=dr(),s=Lr(),c=Ir();S.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),ga(S.useCallback(()=>{if(c.state===`idle`){let t=ma(o,s,a,e);pa[t]=window.scrollY}try{sessionStorage.setItem(t||fa,JSON.stringify(pa))}catch(e){B(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration=`auto`},[c.state,e,a,o,s,t])),typeof document<`u`&&(S.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||fa);e&&(pa=JSON.parse(e))}catch{}},[t]),S.useLayoutEffect(()=>{let t=n?.enableScrollRestoration(pa,()=>window.scrollY,e?(t,n)=>ma(t,n,a,e):void 0);return()=>t&&t()},[n,a,e]),S.useLayoutEffect(()=>{if(r!==!1){if(typeof r==`number`){window.scrollTo(0,r);return}try{if(o.hash){let e=document.getElementById(decodeURIComponent(o.hash.slice(1)));if(e){e.scrollIntoView();return}}}catch{B(!1,`"${o.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}i!==!0&&window.scrollTo(0,0)}},[o,r,i]))}function ga(e,t){let{capture:n}=t||{};S.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function _a(e,{relative:t}={}){let n=S.useContext(Zn);z(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=ia(`useViewTransitionState`),i=br(e,{relative:t});if(!n.isTransitioning)return!1;let a=Ie(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Ie(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Me(i.pathname,o)!=null||Me(i.pathname,a)!=null}var va=u(_(),1);function ya(e){return S.createElement(Qr,{flushSync:va.flushSync,...e})}var ba=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},xa=new class extends ba{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();
13this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},Sa={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Ca=new class{#e=Sa;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function wa(e){setTimeout(e,0)}var Ta=typeof window>`u`||`Deno`in globalThis;function Ea(){}function Da(e,t){return typeof e==`function`?e(t):e}function Oa(e){return typeof e==`number`&&e>=0&&e!==1/0}function ka(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Aa(e,t){return typeof e==`function`?e(t):e}function ja(e,t){return typeof e==`function`?e(t):e}function Ma(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==Pa(o,t.options))return!1}else if(!Ia(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function Na(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Fa(t.options.mutationKey)!==Fa(a))return!1}else if(!Ia(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Pa(e,t){return(t?.queryKeyHashFn||Fa)(e)}function Fa(e){return JSON.stringify(e,(e,t)=>Va(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function Ia(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>Ia(e[n],t[n])):!1}var La=Object.prototype.hasOwnProperty;function Ra(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=Ba(e)&&Ba(t);if(!r&&!(Va(e)&&Va(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:La.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=Ra(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function za(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function Ba(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Va(e){if(!Ha(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!Ha(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function Ha(e){return Object.prototype.toString.call(e)===`[object Object]`}function Ua(e){return new Promise(t=>{Ca.setTimeout(t,e)})}function Wa(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:Ra(e,t)}function Ga(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function Ka(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var qa=Symbol();function Ja(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===qa?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Ya(e,t){return typeof e==`function`?e(...t):!!e}function Xa(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Za=(()=>{let e=()=>Ta;return{isServer(){return e()},setIsServer(t){e=t}}})();function Qa(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var $a=wa;function eo(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=$a,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var to=eo(),no=new class extends ba{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}
13setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function ro(e){return Math.min(1e3*2**e,3e4)}function io(e){return(e??`online`)!==`online`||no.isOnline()}var ao=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function oo(e){let t=!1,n=0,r,i=Qa(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new ao(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>xa.isFocused()&&(e.networkMode===`always`||no.isOnline())&&e.canRun(),u=()=>io(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Za.isServer()?0:3),o=e.retryDelay??ro,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),Ua(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var so=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Oa(this.gcTime)&&(this.#e=Ca.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Za.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Ca.clearTimeout(this.#e),this.#e=void 0)}};function co(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{Xa(e,()=>t.signal,()=>n=!0)},u=Ja(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?Ka:Ga;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?uo:lo,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:lo(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function lo(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function uo(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var fo=class extends so{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=ho(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=ho(this.options);e.data!==void 0&&(this.setState(mo(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=Wa(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(Ea).catch(Ea):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>ja(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qa||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
13Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>Aa(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!ka(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=Ja(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?co(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=oo({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof ao&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof ao){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...po(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...mo(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),to.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function po(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:io(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function mo(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function ho(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
vendor: 4,635 bytes, line 13
13Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var go=class extends ba{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=Qa(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),vo(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return yo(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return yo(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof ja(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!za(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&bo(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||ja(this.options.enabled,this.#t)!==ja(t.enabled,this.#t)||Aa(this.options.staleTime,this.#t)!==Aa(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||ja(this.options.enabled,this.#t)!==ja(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return So(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Ea)),t}#g(){this.#b();let e=Aa(this.options.staleTime,this.#t);if(Za.isServer()||this.#r.isStale||!Oa(e))return;let t=ka(this.#r.dataUpdatedAt,e)+1;this.#d=Ca.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(Za.isServer()||ja(this.options.enabled,this.#t)===!1||!Oa(this.#p)||this.#p===0)&&(this.#f=Ca.setInterval(()=>{(this.options.refetchIntervalInBackground||xa.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(Ca.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(Ca.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&vo(e,t),o=i&&bo(e,n,t,r);(a||o)&&(l={...l,...po(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=Wa(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=Wa(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdate
13Count:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:xo(e,t),refetch:this.refetch,promise:this.#o,isEnabled:ja(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{let e=this.#o=x.promise=Qa();i(e)},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a();break}}return x}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!za(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){to.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function _o(e,t){return ja(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&ja(t.retryOnMount,e)===!1)}function vo(e,t){return _o(e,t)||e.state.data!==void 0&&yo(e,t,t.refetchOnMount)}function yo(e,t,n){if(ja(t.enabled,e)!==!1&&Aa(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&xo(e,t)}return!1}function bo(e,t,n,r){return(e!==t||ja(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&xo(e,n)}function xo(e,t){return ja(t.enabled,e)!==!1&&e.isStaleByTime(Aa(t.staleTime,e))}function So(e,t){return!za(e.getCurrentResult(),t)}var Co=class extends so{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||wo(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=oo({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPau
13sed:!1,status:`error`}}};this.state=t(this.state),to.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function wo(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var To=class extends ba{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Co({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Eo(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Eo(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Eo(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Eo(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>
13t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){to.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Na(t,e))}findAll(e={}){return this.getAll().filter(t=>Na(e,t))}notify(e){to.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return to.batch(()=>Promise.all(e.map(e=>e.continue().catch(Ea))))}};function Eo(e){return e.options.scope?.id}var Do=class extends ba{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),za(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&Fa(t.mutationKey)!==Fa(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??wo();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){to.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},Oo=class extends ba{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??Pa(r,t),a=this.get(i);return a||(a=new fo({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){to.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Ma(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>Ma(e,t)):t}notify(e){to.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){to.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){to.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ko=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Oo,this.#t=e.mutationCache||new To,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=xa.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=no.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Aa(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=Da(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}
13setQueriesData(e,t,n){return to.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;to.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return to.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=to.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(Ea).catch(Ea)}invalidateQueries(e,t={}){return to.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=to.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(Ea)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(Ea)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(Aa(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ea).catch(Ea)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ea).catch(Ea)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return no.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Fa(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{Ia(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(Fa(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{Ia(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=Pa(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===qa&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Ao=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),jo=s(((e,t)=>{t.exports=Ao()})),U=jo(),Mo=S.createContext(void 0),No=e=>{let t=S.useContext(Mo);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},Po=({client:e,children:t})=>(S.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,U.jsx)(Mo.Provider,{value:e,children:t})),Fo=S.createContext(!1),Io=()=>S.useContext(Fo);Fo.Provider;function Lo(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Ro=S.createContext(Lo()),zo=()=>S.useContext(Ro),Bo=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?Ya(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},Vo=e=>{S.useEffect(()=>{e.clearReset()},[e])},Ho=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||Ya(n,[e.error,r])),Uo=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},Wo=(e,t)=>e.isLoading&&e.isFetching&&!t,Go=(e,t)=>e?.suspense&&t.isPending,Ko=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function qo(e,t,n){let r=Io(),i=zo(),a=No(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,Uo(o),Bo(o,i,s),Vo(i);let l=!a.getQueryCache().get(o.queryHash),[u]=S.useState(()=>new t(a,o)),d=u.getOptimisticResult(o),f=!r&&c;if(S.useSyncExternalStore(S.useCallback(e=>{let t=f?u.subscribe(to.batchCalls(e)):Ea;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),S.useEffect(()=>{u.setOptions(o)}
13,[o,u]),Go(o,d))throw Ko(o,u,i);if(Ho({result:d,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw d.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,d),o.experimental_prefetchInRender&&!Za.isServer()&&Wo(d,r)&&(l?Ko(o,u,i):s?.promise)?.catch(Ea).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?d:u.trackResult(d)}function Jo(e,t){return qo(e,go,t)}function Yo(e,t){let n=No(t),[r]=S.useState(()=>new Do(n,e));S.useEffect(()=>{r.setOptions(e)},[r,e]);let i=S.useSyncExternalStore(S.useCallback(e=>r.subscribe(to.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=S.useCallback((e,t)=>{r.mutate(e,t).catch(Ea)},[r]);if(i.error&&Ya(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}function Xo(){return new ko({defaultOptions:{queries:{staleTime:6e4,retry:1,refetchOnWindowFocus:!1}}})}function Zo(e){let t=(0,w.c)(3),{children:n}=e,[r]=(0,S.useState)(Xo),i;return t[0]!==n||t[1]!==r?(i=(0,U.jsx)(Po,{client:r,children:n}),t[0]=n,t[1]=r,t[2]=i):i=t[2],i}var Qo=(0,S.createContext)(null);function $o(e){let t=(0,w.c)(3),{identity:n,children:r}=e,i;return t[0]!==r||t[1]!==n?(i=(0,U.jsx)(Qo.Provider,{value:n,children:r}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function es(){let e=(0,S.useContext)(Qo);if(!e)throw Error(`useClientIdentity must be used inside ClientIdentityProvider`);return e}function ts(e){let t=(0,w.c)(5),{identity:n,router:r}=e,i;t[0]===r?i=t[1]:(i=(0,U.jsx)(Zo,{children:(0,U.jsx)(ya,{router:r})}),t[0]=r,t[1]=i);let a;return t[2]!==n||t[3]!==i?(a=(0,U.jsx)($o,{identity:n,children:i}),t[2]=n,t[3]=i,t[4]=a):a=t[4],a}var W=e=>typeof e==`string`,ns=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},rs=e=>e==null?``:String(e),is=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},as=/###/g,os=e=>e&&e.includes(`###`)?e.replace(as,`.`):e,ss=e=>!e||W(e),cs=(e,t,n)=>{let r=W(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(ss(e))return{};let t=os(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return ss(e)?{}:{obj:e,k:os(r[i])}},ls=(e,t,n)=>{let{obj:r,k:i}=cs(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=cs(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=cs(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},us=(e,t,n,r)=>{let{obj:i,k:a}=cs(e,t,Object);i[a]=i[a]||[],i[a].push(n)},ds=(e,t)=>{let{obj:n,k:r}=cs(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},fs=(e,t,n)=>{let r=ds(e,n);return r===void 0?ds(t,n):r},ps=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(Object.prototype.hasOwnProperty.call(e,r)?W(e[r])||e[r]instanceof String||W(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):ps(e[r],t[r],n):e[r]=t[r]);return e},ms=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),hs={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},gs=e=>W(e)?e.replace(/[&<>"'\/]/g,e=>hs[e]):e,_s=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},vs=[` `,`,`,`?`,`!`,`;`],ys=new _s(20),bs=(e,t,n)=>{t||=``,n||=``;let r=vs.filter(e=>!t.includes(e)&&!n.includes(e));if(r.length===0)return!0;let i=ys.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},xs=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].includes(typeof t)&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},Ss=e=>e?.replace(/_/g,`-`),Cs={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},ws=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||Cs,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(e=e.map(e=>W(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g,` `):e),W(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},Ts=class{constructor(){this.observers={}}
vendor: 23,898 bytes, line 13
13on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}once(e,t){let n=(...r)=>{t(...r),this.off(e,n)};return this.on(e,n),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n(e,...t)})}},Es=class extends Ts{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.includes(`.`)?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):W(n)&&i?o.push(...n.split(i)):o.push(n)));let s=ds(this.data,o);return!s&&!t&&!n&&e.includes(`.`)&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!W(n)?s:xs(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.includes(`.`)&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),ls(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(W(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.includes(`.`)&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=ds(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?ps(s,n,i):s={...s,...n},ls(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},Ds={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},Os=Symbol(`i18next/PATH_KEY`);function ks(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===Os?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function As(e,t){let{[Os]:n}=e(ks()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`,a=t?.enableSelector===`strict`;if(n.length>1&&i){let e=t?.ns,o=a?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(o&&(a?o:o.length>1?o.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var js=e=>!W(e)&&typeof e!=`boolean`&&typeof e!=`number`,Ms=class e extends Ts{constructor(e,t={}){super(),is([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=ws.create(`translator`),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=js(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.includes(n),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!bs(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:W(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.includes(a[0]))&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:W(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=As(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?As(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!W(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=js(E),O=Object.prototype.toString.apply(E);if(y&&E&&D&&!_.includes(O)&&!(W(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;x&&!m?t[e]=this.translate(r,{...i,defaultValue:js(T)?T[e]:void 0,joinArrays:!1,ns:c}):t[e]=this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&W(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,b&&!c?`${s}${this.pluralResolver.getSuffix(d,i.count,i)}`:s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=W(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!W(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=W(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=Ds.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return W(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?As(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!W(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(W(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!this.checkedLoadedFor[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.startsWith(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.startsWith(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!W(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith(`defaultValue`)&&e[t]!==void 0)return!0;return!1}},Ns=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ws.create(`languageUtils`)}getScriptPartFromCode(e){if(e=Ss(e),!e||!e.includes(`-`))return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=Ss(e),!e||!e.includes(`-`))return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(W(e)&&e.includes(`-`)){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?!0:!e.includes(`-`)&&!r.includes(`-`)?!1:!!(e.includes(`-`)&&!r.includes(`-`)&&e.slice(0,e.indexOf(`-`))===r||e.startsWith(r)&&r.length>1))}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),W(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return W(e)&&(e.includes(`-`)||e.includes(`_`))?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):W(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.includes(e)||i(this.formatLanguageCode(e))}),r}},Ps={zero:0,one:1,two:2,few:3,many:4,other:5},Fs={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},Is=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=ws.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=Ss(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),Fs;if(!e.match(/-|_/))return Fs;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>Ps[e]-Ps[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},Ls=(e,t,n,r=`.`,i=!0)=>{let a=fs(e,t,n);return!a&&i&&W(n)&&(a=xs(e,n,r),a===void 0&&(a=xs(t,n,r))),a},Rs=e=>e.replace(/\$/g,`$$$$`),zs=class{constructor(e={}){this.logger=ws.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?gs:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?ms(i):a||`{{`,this.suffix=o?ms(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u?ms(u):`-`,this.unescapeSuffix=this.unescapePrefix?``:l?ms(l):``,this.nestingPrefix=d?ms(d):f||ms(`$t(`),this.nestingSuffix=p?ms(p):m||ms(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(!e.includes(this.formatSeparator)){let i=Ls(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(Ls(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp(),!this.escapeValue&&typeof e==`string`&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn(`nesting options string contains interpolated variables with escapeValue: false â if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.`);let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e):e}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0)if(typeof l==`function`){let t=l(e,i,r);a=W(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``;else!W(a)&&!this.useRawValueToEscape&&(a=rs(a));let s=t.safeValue(a);if(e=e.replace(i[0],Rs(s)),u?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(!e.includes(n))return e;let r=e.split(RegExp(`${ms(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!W(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=/{.*}/s.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!W(i))return i;W(i)||(i=rs(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},Bs=e=>{let t=e.toLowerCase().trim(),n={};if(e.includes(`(`)){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].slice(0,-1);t===`currency`&&!i.includes(`:`)?n.currency||=i.trim():t===`relativetime`&&!i.includes(`:`)?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},Vs=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(Ss(r),i),t[o]=s),s(n)}},Hs=e=>(t,n,r)=>e(Ss(n),r)(t),Us=class{constructor(e={}){this.logger=ws.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?Vs:Hs;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Vs(t)}format(e,t,n,r={}){if(!t||e==null)return e;let i=t.split(this.formatSeparator),a=[];for(let e=0;e<i.length;e++){let t=i[e];for(;t.indexOf(`(`)>-1&&!t.includes(`)`)&&e+1<i.length;)t=`${t}${this.formatSeparator}${i[++e]}`;a.push(t)}return a.reduce((e,t)=>{let{formatName:i,formatOptions:a}=Bs(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}else this.logger.warn(`there was no format function for ${i}`);return e},e)}},Ws=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Gs=class extends Ts{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=ws.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};
vendor: 4,575 bytes, line 13
13return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{us(n.loaded,[i],a),Ws(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read(e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();W(e)&&(e=this.languageUtils.toResolveHierarchy(e)),W(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(!(n==null||n===``)){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},Ks=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),W(e[1])&&(t.defaultValue=e[1]),W(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),qs=e=>(W(e.ns)&&(e.ns=[e.ns]),W(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),W(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes(`cimode`)&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),Js=()=>{},Ys=e=>
vendor: 16,949 bytes, line 13
13{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},Xs=class e extends Ts{constructor(e={},t){if(super(),this.options=qs(e),this.services={},this.logger=ws,this.modules={external:[]},Ys(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(W(e.ns)?e.defaultNS=e.ns:e.ns.includes(`translation`)||(e.defaultNS=e.ns[0]));let n=Ks();this.options={...n,...this.options,...qs(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?ws.init(r(this.modules.logger),this.options):ws.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:Us;let t=new Ns(this.options);this.store=new Es(this.options.resources,this.options);let n=this.services;n.logger=ws,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new Is(t,{prepend:this.options.pluralSeparator}),e&&(n.formatter=r(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new zs(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new Gs(r(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=r(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=r(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new Ms(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=Js,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=ns(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=Js){let n=t,r=W(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&(e.includes(t)||e.push(t))})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=ns();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=Js,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&Ds.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&![`cimode`,`dev`].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(![`cimode`,`dev`].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=ns();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=W(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(W(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n,r){let i=r?.scopeNs,a=(e,t,...r)=>{let o;o=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(r)),o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs;let s=o.ns!==void 0&&o.ns!==null;o.ns=o.ns||a.ns,o.keyPrefix!==``&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);let c={...this.options,...o};Array.isArray(i)&&!s&&(c.ns=i),typeof o.keyPrefix==`function`&&(o.keyPrefix=As(o.keyPrefix,c));let l=this.options.keySeparator||`.`,u;return o.keyPrefix&&Array.isArray(e)?u=e.map(e=>(typeof e==`function`&&(e=As(e,c)),`${o.keyPrefix}${l}${e}`)):(typeof e==`function`&&(e=As(e,c)),u=o.keyPrefix?`${o.keyPrefix}${l}${e}`:e),this.t(u,o)};return W(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=ns();return this.options.ns?(W(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=ns();W(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>!r.includes(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new Ns(Ks());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.includes(n.getLanguagePartFromCode(e))||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=Js){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new Es(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...Ks().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new zs(n)}return a.translator=new Ms(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance(),Zs=Xs.createInstance;Xs.dir,Xs.init,Xs.loadResources,Xs.reloadResources,Xs.use,Xs.changeLanguage,Xs.getFixedT,Xs.t,Xs.exists,Xs.setDefaultNamespace,Xs.hasLoadedNamespace,Xs.loadNamespaces,Xs.loadLanguages;var Qs=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,`warn`,`react-i18next::`,!0);ac(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},$s={},ec=(e,t,n,r)=>{ac(n)&&$s[n]||(ac(n)&&($s[n]=new Date),Qs(e,t,n,r))},tc=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off(`initialized`,n)},0),t()};e.on(`initialized`,n)}},nc=(e,t,n)=>{e.loadNamespaces(t,tc(e,n))},rc=(e,t,n,r)=>{if(ac(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return nc(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,tc(e,r))},ic=(e,t,n={})=>!t.languages||!t.languages.length?(ec(t,`NO_LANGUAGES`,`i18n.languages were undefined or empty`,{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),ac=e=>typeof e==`string`,oc=e=>typeof e==`object`&&!!e,sc=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,cc={"&":`&`,"&":`&`,"<":`<`,"<":`<`,">":`>`,">":`>`,"'":`'`,"'":`'`,""":`"`,""":`"`," ":` `," ":` `,"©":`©`,"©":`©`,"®":`®`,"®":`®`,"…":`â¦`,"…":`â¦`,"/":`/`,"/":`/`},lc=e=>cc[e],uc=e=>e.replace(sc,lc),dc={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:uc,transDefaultProps:void 0},fc=(e={})=>{dc={...dc,...e}},pc=()=>dc,mc,hc=e=>{mc=e},gc=()=>mc,_c={type:`3rdParty`,init(e){fc(e.options.react),hc(e)}},vc=(0,S.createContext)(),yc=class{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}},bc=s((e=>{var t=p();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),xc=s(((e,t)=>{t.exports=bc()})),Sc=xc(),Cc={t:(e,t)=>{if(ac(t))return t;if(oc(t)&&ac(t.defaultValue))return t.defaultValue;if(typeof e==`function`)return``;if(Array.isArray(e)){let t=e[e.length-1];return typeof t==`function`?``:t}return e},ready:!1},wc=()=>()=>{},Tc=(e,t={})=>{let{i18n:n}=t,{i18n:r,defaultNS:i}=(0,S.useContext)(vc)||{},a=n||r||gc();a&&!a.reportNamespaces&&(a.reportNamespaces=new yc),a||ec(a,`NO_I18NEXT_INSTANCE`,`useTranslation: You will need to pass in an i18next instance by using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.`);let o=(0,S.useMemo)(()=>({...pc(),...a?.options?.react,...t}),[a,t]),{useSuspense:s,keyPrefix:c}=o,l=e||i||a?.options?.defaultNS,u=ac(l)?[l]:l||[`translation`],d=(0,S.useMemo)(()=>u,u);a?.reportNamespaces?.addUsedNamespaces?.(d);let f=(0,S.useRef)(0),p=(0,S.useCallback)(e=>{if(!a)return wc;let{bindI18n:t,bindI18nStore:n}=o,r=()=>{f.current+=1,e()};return t&&a.on(t,r),n&&a.store.on(n,r),()=>{t&&t.split(` `).forEach(e=>a.off(e,r)),n&&n.split(` `).forEach(e=>a.store.off(e,r))}},[a,o]),m=(0,S.useRef)(),h=(0,S.useCallback)(()=>{if(!a)return Cc;let e=!!(a.isInitialized||a.initializedStoreOnce)&&d.every(e=>ic(e,a,o)),n=t.lng||a.language,r=f.current,i=m.current;if(i&&i.ready===e&&i.lng===n&&i.keyPrefix===c&&i.revision===r)return i;let s={t:a.getFixedT(n,o.nsMode===`fallback`?d:d[0],c,{scopeNs:d}),ready:e,lng:n,keyPrefix:c,revision:r};return m.current=s,s},[a,d,c,o,t.lng]),[g,_]=(0,S.useState)(0),{t:v,ready:y}=(0,Sc.useSyncExternalStore)(p,h,h);(0,S.useEffect)(()=>{if(a&&!y&&!s){let e=()=>_(e=>e+1);t.lng?rc(a,t.lng,d,e):nc(a,d,e)}},[a,t.lng,d,y,s,g]);let b=a||{},x=(0,S.useRef)(null),C=(0,S.useRef)(),w=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let n=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(n,`__original`))try{Object.defineProperty(n,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch{}return n},T=(0,S.useMemo)(()=>{let e=b,t=e?.language,n=e;e&&(x.current&&x.current.__original===e&&C.current===t?n=x.current:(n=w(e),x.current=n,C.current=t));let r=!y&&!s?(...e)=>(ec(a,`USE_T_BEFORE_READY`,`useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t.`),v(...e)):v,i=[r,n,y];return i.t=r,i.i18n=n,i.ready=y,i},[v,b,y,b.resolvedLanguage,b.language,b.languages]);if(a&&s&&!y){let e=!1;try{e=!1}catch{}throw e&&ec(a,`SUSPENDED_WHILE_LOADING`,`useTranslation: suspended while translations are loading (useSuspense is true by default). Add a <Suspense> boundary above this component, or set react.useSuspense: false in the i18next init options. https://react.i18next.com/latest/usetranslation-hook`),new Promise(e=>{let n=()=>e();t.lng?rc(a,t.lng,d,n):nc(a,d,n)})}return T};function Ec(e,t){return t===void 0?(globalThis.process,``):t.trim()}var Dc={siteKey:Ec(`VITE_SITE_KEY`,`fmlatribu`),siteCanonical:Ec(`VITE_SITE_CANONICAL`,`https://fmlatribu.com`),intranetEnabled:Ec(`VITE_INTRANET_ENABLED`,`true`)===`true`,userPortalEnabled:Ec(`VITE_USER_PORTAL_ENABLED`,`true`)===`true`,openRouterApiKey:Ec(`VITE_OPENROUTER_API_KEY`,``),authApiBaseUrl:Ec(`VITE_AUTH_API_BASE_URL`,`https://hermes-auth-sys.ze
13clogiccloud.com.de`),blogApiBaseUrl:Ec(`VITE_BLOG_API_BASE_URL`,`https://hermes-blog-sys.zeclogiccloud.com.de`),mediaApiBaseUrl:Ec(`VITE_MEDIA_API_BASE_URL`,`https://hermes-media-sys.zeclogiccloud.com.de`),advertisingApiBaseUrl:Ec(`VITE_ADVERTISING_API_BASE_URL`,`https://hermes-advertising-sys.zeclogiccloud.com.de`),schedulerApiBaseUrl:Ec(`VITE_SCHEDULER_API_BASE_URL`,`https://hermes-scheduler-sys.zeclogiccloud.com.de`),workshopApiBaseUrl:Ec(`VITE_WORKSHOP_API_BASE_URL`,`https://hermes-workshop-sys.zeclogiccloud.com.de`),ecommerceApiBaseUrl:Ec(`VITE_ECOMMERCE_API_BASE_URL`,`https://hermes-ecommerce-sys.zeclogiccloud.com.de`),paymentsApiBaseUrl:Ec(`VITE_PAYMENTS_API_BASE_URL`,`https://hermes-payments-sys.zeclogiccloud.com.de`),donationsApiBaseUrl:Ec(`VITE_DONATIONS_API_BASE_URL`,`https://hermes-donations-sys.zeclogiccloud.com.de`),youtubeApiBaseUrl:Ec(`VITE_YOUTUBE_API_BASE_URL`,`https://hermes-youtube-sys.zeclogiccloud.com.de`),radioApiBaseUrl:Ec(`VITE_RADIO_API_BASE_URL`,`https://hermes-radio-sys.zeclogiccloud.com.de`),identityApiBaseUrl:Ec(`VITE_IDENTITY_API_BASE_URL`,`https://hermes-identity-sys.zeclogiccloud.com.de`)},Oc=Dc.siteCanonical,kc=(0,S.lazy)(()=>O(()=>import(`./IntranetArea-DMSU3zgB.js`).then(e=>({default:e.IntranetArea})),__vite__mapDeps([0,1,2,3]))),Ac=(0,S.lazy)(()=>O(()=>import(`./UserPortalArea-TyT0HS5I.js`).then(e=>({default:e.UserPortalArea})),__vite__mapDeps([4,1,2,5])));function jc(){let e=(0,w.c)(8),{t}=Tc(`common`),n;e[0]===t?n=e[1]:(n=t(`route.loadingPrivateApplication`),e[0]=t,e[1]=n);let r=n,i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,U.jsx)(`span`,{className:`private-app-fallback-spinner`,"aria-hidden":`true`}),e[2]=i):i=e[2];let a;e[3]===r?a=e[4]:(a=(0,U.jsxs)(`div`,{className:`private-app-fallback-content`,children:[i,(0,U.jsx)(`span`,{children:r})]}),e[3]=r,e[4]=a);let o;return e[5]!==r||e[6]!==a?(o=(0,U.jsx)(`main`,{className:`private-app-fallback`,"aria-busy":`true`,"aria-label":r,role:`status`,children:a}),e[5]=r,e[6]=a,e[7]=o):o=e[7],o}function Mc(e,t=Dc.intranetEnabled,n=Dc.userPortalEnabled){return[...e,{path:`/intranet/*`,element:(0,U.jsx)(S.Suspense,{fallback:(0,U.jsx)(jc,{}),children:(0,U.jsx)(kc,{enabled:t})})},{path:`/userportal/*`,element:(0,U.jsx)(S.Suspense,{fallback:(0,U.jsx)(jc,{}),children:(0,U.jsx)(Ac,{enabled:n})})}]}function Nc(e){return Yi(Mc(e))}var Pc={common:{actions:{activate:`Activate`,apply:`Apply filters`,back:`Back`,cancel:`Cancel`,close:`Close`,confirm:`Confirm`,create:`Create`,deactivate:`Deactivate`,delete:`Delete`,discard:`Discard`,edit:`Edit`,next:`Next`,reset:`Reset`,retry:`Try again`,save:`Save`,saving:`Savingâ¦`,signOut:`Sign out`,view:`View`},accessibility:{accountActions:`Account actions`,actions:`Actions`,actionsFor:`Actions for {{name}}`,close:`Close`,home:`{{name}} home`,navigation:`Intranet navigation`,toggleNavigation:`Toggle intranet navigation`},errors:{generic:`Something went wrong. Please try again.`},dialogs:{discardChanges:`Discard unsaved changes?`},navigation:{moduleLabels:{dashboard:`Dashboard`,posts:`Posts`,media:`Media`,identity:`Identity`,ecommerce:`Ecommerce`,advertising:`Advertising`,scheduler:`Scheduler`,workshops:`Workshops`,payments:`Payments`,donations:`Donations`,radio:`Radio`},activities:`Activities`,ads:`Ads`,advertising:`Advertising`,blog:`Blog`,categories:`Categories`,dashboard:`Dashboard`,ecommerce:`Ecommerce`,customerAccounts:`Customer accounts`,groups:`Groups`,library:`Library`,media:`Media`,donations:`Donations`,campaigns:`Campaigns`,donors:`Donors`,payments:`Payments`,posts:`Posts`,products:`Products`,orders:`Orders`,promotions:`Promotions`,registrations:`Registrations`,sales:`Sales`,scheduler:`Scheduler`,schedules:`Schedules`,profile:`Profile`,settings:`Site Settings`,taxonomy:`Taxonomy`,users:`Users`,workshop:`Workshop`,workshops:`Workshops`,transactions:`Transactions`,paymentProviders:`Providers`,refunds:`Refunds`,deliveryIssues:`Events`,workspace:`Workspace`,management:`Management`,status:`Status`,historySearch:`History Search`},pagination:{ariaLabel:`{{label}}, {{position}}`,bottom:`bottom`,goToPage:`Go to page {{page}}`,top:`top`}
13,route:{loadingPrivateApplication:`Loading private application`,loadingIntranet:`Loading intranet`,loadingModule:`Loading module`,notFoundDescription:`The address may have changed, or the tool is not available for this site.`,notFoundTitle:`This intranet page doesnât exist.`,restoringSession:`Restoring session`,returnToDashboard:`Return to dashboard`},status:{active:`Active`,enabled:`Enabled`,inactive:`Inactive`,imported:`Imported`,native:`Native`,new:`New`,notEnabled:`Not enabled`,readOnly:`Read only`,seen:`Seen`},table:{actions:`Actions`,status:`Status`,updated:`Updated`}},auth:{accessDenied:{description:`You are signed in as <role>{{role}}</role> for {{site}}. This page requires <required>{{required}}</required>.`,title:`This area isnât available to your account.`,unknownRole:`unknown`},login:{backToWebsite:`Back to the website`,email:`Email address`,intro:`Sign in to access the tools, workflows and publishing operations behind this site.`,password:`Password`,showPassword:`Show password`,hidePassword:`Hide password`,preferences:`Intranet preferences`,language:`Language`,english:`EN`,spanish:`ES`,useDarkTheme:`Use dark theme`,useLightTheme:`Use light theme`,privateWorkspace:`Private workspace`,signIn:`Enter Intranet`,signingIn:`Signing inâ¦`,welcome:`Welcome back.`},permissions:{additional:`Additional permission`,role:`Role: {{roles}}`,roleSeparator:` or `},roles:{admin:`Administrator`,editor:`Editor`,superadmin:`Super administrator`},unavailable:{description:`This siteâs private workspace is currently disabled. You can continue browsing the public website.`,privateWorkspace:`Private workspace`,returnToWebsite:`Return to the website`,title:`The Intranet is not available.`},validation:{email:`Enter a valid email address.`,passwordRequired:`Password is required.`},errors:{canonicalMissing:`This site is missing its canonical URL configuration.`,noSiteAccess:`Your account does not have access to {{site}}.`,signIn:`Unable to sign in.`,superadminUnavailable:`Superadmin access is not available in this site client.`}},userPortal:{auth:{portal:`Customer account`,recovery:`Account recovery`,verification:`Email verification`},fields:{email:`Email`,password:`Password`,newPassword:`New password`,firstName:`First name`,lastName:`Last name`,confirmPassword:`Confirm password`},actions:{signIn:`Sign in`,signingIn:`Signing inâ¦`,createAccount:`Create account`,creating:`Creating accountâ¦`,backToWebsite:`Back to website`,backToLogin:`Back to sign in`,showPassword:`Show password`,hidePassword:`Hide password`,showConfirmation:`Show password confirmation`,hideConfirmation:`Hide password confirmation`,sendLink:`Send recovery link`,savePassword:`Save new password`,saving:`Savingâ¦`,requestNewLink:`Request a new link`,retryIn:`Try again in {{seconds}}s`,retry:`Try again`,previous:`Previous`,next:`Next`,resend:`Resend verification email`,returnToWebsite:`Return to website`,logout:`Sign out`},login:{title:`Welcome back.`,description:`Sign in to continue to your account.`,forgot:`Forgot your password?`,new:`New here?`,create:`Create an account`},register:{title:`Create your account.`,description:`Keep your activity connected to this site in one place.`,passwordCounter:`{{characters}} / 8 characters minimum`},registerResult:{successTitle:`Your account has been created.`,successDescription:`Check your mailbox to verify this account.`,failedTitle:`There was a problem creating your account.`},forgot:{title:`Recover your account.`,description:`Enter your email and we will send instructions if an account can receive them.`},reset:{title:`Choose a new password.`,description:`This secure link can be used once and expires after one hour.`,successTitle:`Your password has been updated.`,successDescription:`You can now sign in with your new password.`,redirecting:`Taking you to sign in in {{seconds}} secondsâ¦`},verify:{title:`Verify your email.`,description:`We are confirming the secure link for this site.`,processing:`Verifying your emailâ¦`,successTitle:`Your email has been verified.`,successDescription:`Your account is ready.`,redirecting:`Taking you to your account in {{seconds}} secondsâ¦`},dashboard:{eyebrow:`Account overview`,title:`Dashboard`,welcome:`Welcome, {{name}}`,description:`Your customer account is ready.`,verifyTitle:`Verify your email`,verifyDescription:`Verify your address to connect eligible activity completed before you created this account.`,alreadyVerified:`Your email is already verified.`,status:`Email status`,verified:`Verified`,pending:`Verification pending`},messages:{emailSent:`We sent an email to that address.`},validation:{required:`This field is required.`,email:`Enter a valid email address.`,passwordBytes:`Use at least 8 characters and no more than 72 UTF-8 bytes.`,passwordMatch:`Passwords must match.`,nameLetter:`Enter at least one letter.`,name:`First and last name together must be 180 characters or fewer.`},errors:{notConfigured:`Customer identity is not configured for this site.`,signIn:`Unable to sign in.`,invali
13dCredentials:`The email or password is incorrect.`,register:`Unable to create the account.`,recovery:`Unable to request a recovery email.`,missingToken:`This link is missing its secure token. Request a new email.`,invalidToken:`This link is invalid, expired, or has already been used.`,resend:`Unable to resend the verification email.`},preferences:{label:`Portal preferences`,language:`Language`,english:`EN`,spanish:`ES`,dark:`Use dark theme`,light:`Use light theme`},navigation:{label:`User portal navigation`,toggle:`Toggle navigation`,workspace:`Workspace`,dashboard:`Dashboard`,orders:`Orders`,settings:`User settings`,accountActions:`Account actions`},orders:{context:`Purchase history`,title:`Orders`,loading:`Loading ordersâ¦`,error:`Orders could not be loaded.`,empty:`No orders yet`,emptyDescription:`Orders connected to this account will appear here.`,orderNumber:`Order {{id}}`,items_one:`{{count}} item`,items_other:`{{count}} items`,pages:`Order pages`,page:`Page {{page}} of {{pages}}`,loadingDetail:`Loading orderâ¦`,detailError:`This order could not be loaded.`,back:`Back to orders`,statusLabel:`Status`,created:`Created`,total:`Total`,lines:`Order items`,defaultVariant:`Standard`,status:{pending:`Pending`,paid:`Paid`,closed:`Closed`,partially_refunded:`Partially refunded`,refunded:`Refunded`,review_required:`Review required`}},settings:{context:`Personal settings`,title:`User settings`,preferencesTitle:`Interface preferences`,preferencesDescription:`Choose the language and appearance used throughout your portal.`,accountTitle:`Account information`,accountDescription:`Review the identity connected to this account.`,name:`Name`},availability:{loadingTitle:`Checking portal availabilityâ¦`,loadingDescription:`We are confirming that customer access is enabled for this site.`,errorTitle:`Portal availability could not be checked.`,errorDescription:`Check your connection and try again. No account request has been sent.`,retry:`Try again`},states:{restoring:`Restoring your sessionâ¦`},notFound:{title:`This portal page does not exist.`,description:`The address may be outdated or incomplete.`,action:`Return to your account`},unavailable:{description:`Customer access is not enabled for this site yet. You can continue browsing the public website.`,portal:`Customer portal`,returnToWebsite:`Return to the website`,title:`The user portal is not available.`}},dashboard:{eyebrow:`Site overview`,title:`Dashboard`,ariaLabel:`Enabled module metrics`,open:`Open`,openModule:`Open {{module}}`,retry:`Try again`,reportingPeriod:`Buenos Aires reporting year · {{from}}â{{to}}`,states:{loading:`Loading module metricsâ¦`,unavailable:`Metrics unavailable`,notConfigured:`This module is enabled, but its API is not configured.`,error:`Metrics could not be loaded`,errorDescription:`The module remains available. Try loading its summary again.`,preparing:`Media data is being prepared`,preparingDescription:`This site has not reached the Media service yet. Try again after replication finishes.`,empty:`No dashboard modules are enabled`,emptyDescription:`Enable a supported site module to show its operational summary here.`},blog:{title:`Posts`,posts:`All posts`,categories:`Categories`,tags:`Tags`},media:{title:`Media`,items:`Library items`,storage:`Storage`,storageUsed:`Storage used`,used:`Used`,available:`Available`,unlimited:`Unlimited`,usedOf:`{{used}} of {{quota}}`},advertising:{title:`Advertising`,advertisements:`Advertisements`,groups:`Groups`,activeGroups:`Active groups`},scheduler:{title:`Scheduler`,schedules:`Schedules`,activities:`Activities`},workshop:{title:`Workshops`,registrations:`Registrations`,workshops:`Workshops`},donations:{title:`Donations`,netAccredited:`Net accredited`,accredited:`Accredited donations`,pending:`Pending`,refunded:`Refunded`},ecommerce:{title:`Ecommerce`,netSales:`Net sales`,sales:`Sales`,pending:`Pending`,reviewRequired:`Review required`,refunded:`Refunded`},identity:{title:`Customer identity`,endUsers:`Total accounts`,verified:`Verified accounts`,newInPeriod:`New this year`},radio:{title:`Radio`,listeners:`Current listeners`,status:`Signal`,online:`On air`,offline:`Offline`,unknown:`Unknown`,unconfigured:`No radio stream is configured`,unconfiguredDescription:`The Radio service has not received a stream configuration for this site.`},modules:{additionalDescription:`Additional tools and capabilities for this site.`,advertisingDescription:`Manage advertisements and their public display order.`,ariaLabel:`Site modules`,count:`{{enabled}} of {{total}} enabled`,donationsDescription:`Manage fundraising campaigns, donations, and supporter activity.`,ecommerceDescription:`Manage products and store operations.`,mediaDescription:`Organize images, video, and documents.`,none:`No modules are configured for this site.`,postsDescription:`Create and manage editorial content.`,schedulerDescription:`Plan programs, schedules, and broadcast times.`,workshopDescription:`Coordinate workshop services and operations.`,paymentsDescription:`Review transactions, providers, refunds, and payment delivery issues.`,radioDescription:`Monitor the live signal, audience, historical performance, and collector health.`}},profile:{account:{description:`Review the identity and access level connected to this account.`,email:`Email address`,name:`Name`,color:`Derived color`,colorPending:`Enter a name to derive the color`,readOnly:`Contact an administrator if these account details need to change.`,role:`Role`,title:`Account information`},appearance:{dark:`Dark`,description:`Switch between the light and dark intranet themes.`,light:`Light`,title:`Appearance`},description:`Review your account, personalize the interface, and keep your password secure.`,language:{description:`Choose the language used throughout the private workspace.`,english:`English`,label:`Interface language`,spanish:`Español`,title:`Language`},password:{confirm:`Confirm new password`,current:`Current password`,description:`Use your current password to choose a new password with at least eight characters.`,errors:{generic:`Your password could not be updated. Check your connection and try again.`,incorrect:`The current password is incorrect.`},hideConfirm:`Hide confirmed password`,hideCurrent:`Hide current password`,hideNew:`Hide new password`,new:`New password`,save:`Change password`,saving:`Changing passwordâ¦`,showConfirm:`Show confirmed password`,showCurrent:`Show current password`,showNew:`Show new password`,success:`Your password was updated.`,title:`Password`,validation:{confirmRequired:`Confirm your new password.`,currentRequired:`Enter your current password.`,match:`The new passwords must match.`,minimum:`The new password must contain at least 8 characters.`}},title:`Profile`,context:`Personal settings`},settings:{categories:{ariaLabel:`Site settings categories`,integrations:`Integrations`,modules:`Modules`,"module-configuration":`Module Configuration`,tools:`Tools`},empty:{toolsTitle:`No site tools yet`,toolsDescription:`Tool-specific settings will appear here when the site enables configurable tools.`,integrationsTitle:`No integrations yet`,integrationsDescription:`Connected-service settings will appear here when integrations become available.`},moduleConfiguration:{ariaLabel:`Module configuration`,emptyTitle:`No configurable modules`,emptyDescription:`Configuration appears here when an enabled module exposes site-owned settings.`,loading:`Loading module configurationâ¦`,loadError:`Module configuration could not be loaded`,saved:`Module configuration saved.`,saveError:`Module configuration could not be saved.`,ecommerce:{context:`Ecommerce`,title:`Checkout access`,description:`Choose whether customers can check out without signing in.`,policy:`Checkout policy`,values:{guest_only:`Guest checkout`,o
13ptional:`Accounts optional`,account_required:`Account required`},help:{guest_only:`Customers may check out without an account; signed-in orders still attach to their account.`,optional:`Accounts are encouraged but remain optional at checkout.`,account_required:`Customers must sign in before creating an order.`}}},tools:{ariaLabel:`Site maintenance tools`,ready:`Ready`,destructive:`Destructive`,moduleUnavailable:`Module unavailable`,backendRequired:`Backend support required`,unavailable:`Unavailable`,run:`Run tool`,running:`Runningâ¦`,stop:`Stop after current`,retryFailed:`Retry failed`,leaveConfirm:`A maintenance tool is running. Leave this page and stop after the current record?`,activityColors:{title:`Standardize activity colors`,description:`Generate a stable six-digit color from every activity name and update colors that differ.`,confirm:`Standardize every activity color? Existing custom colors will be replaced.`},categoryColors:{title:`Standardize category colors`,description:`Generate a stable six-digit color from every post category name and update colors that differ.`,confirm:`Standardize every category color? Existing colors will be replaced.`},posts:{title:`Standardize legacy posts`,description:`Convert HTML-only legacy posts into the editorâs canonical editable and rendered formats.`,confirm:`Standardize every HTML-only legacy post? Completed updates cannot be rolled back from this screen.`,discoveringPage:`Reading {{status}} posts, page {{page}}`,status:{draft:`draft`,published:`published`,archived:`archived`}},dangerZone:{title:`Danger Zone`,description:`These irreversible tools require the Danger Zone password before they can run.`,passwordLabel:`Danger Zone password`,passwordRequired:`Enter the Danger Zone password.`,passwordIncorrect:`The Danger Zone password is incorrect.`},deletePosts:{title:`Mass delete posts`,description:`Collect every draft, published, and archived post, then permanently delete each one.`,action:`Delete all posts`,confirm:`Permanently delete every post on this site? This cannot be undone.`,discoveringPage:`Collecting {{status}} posts, page {{page}}`},progress:{context:`Maintenance run`,discovering:`Discovering recordsâ¦`,processing:`Processing`,completed:`Completed`,stopped:`Stopped`,count:`{{current}} of {{total}} processed`,current:`Current: {{name}}`,updated:`Updated`,deleted:`Deleted`,skipped:`Skipped`,failed:`Failed`,failures:`Records needing attention`,moreFailures:`{{count}} additional failures are not shown.`,success:`All discovered records were handled successfully.`},errors:{activity:`The activity could not be updated.`,category:`The category could not be updated.`,post:`The post could not be standardized.`,deletePost:`The post could not be deleted.`,discovery:`Records could not be discovered.`}},modules:{additionalDescription:`Additional tools and capabilities for this site.`,advertisingDescription:`Manage advertisements and their public display order.`,ariaLabel:`Site modules`,count:`{{enabled}} of {{total}} enabled`,donationsDescription:`Manage fundraising campaigns, donations, and supporter activity.`,ecommerceDescription:`Manage products and store operations.`,mediaDescription:`Organize images, video, and documents.`,none:`No modules are configured for this site.`,paymentsDescription:`Review transactions, providers, refunds, and payment delivery issues.`,radioDescription:`Monitor the live signal, audience, historical performance, and collector health.`,postsDescription:`Create and manage editorial content.`,schedulerDescription:`Plan programs, schedules, and broadcast times.`,workshopDescription:`Coordinate workshop services and operations.`},title:`Site Settings`},users:{actions:{create:`Create editor`,created:`Editor created.`,updated:`Editor updated.`,activated:`Editor activated.`,deactivated:`Editor deactivated.`,deactivateConfirm:`Deactivate {{name}}? They will lose access to their assigned sites until reactivated.`,edit:`Edit editor`,new:`New editor`,saveChanges:`Save changes`},description:`Manage who can work on this clientâs sites and where they have access.`,context:`Users`,empty:{description:`Create the first editor and choose their assigned sites.`,title:`No editors yet`},errors:{create:`The editor could not be created.`,load:`Editors could not be loaded`,update:`The editor could not be updated.`},fields:{assignedSites:`Assigned sites`,email:`Email`,keepPassword:`(leave blank to keep current)`,name:`Name`,newPassword:`New password`,role:`Role`,siteAssignments:`Site assignments`,temporaryPassword:`Temporary password`,user:`User`},loading:`Loading editorsâ¦`,noSites:`No sites assigned`,title:`Editors`,validation:{email:`Enter a valid email.`,name:`Name is required.`,password:`Use at least 8 characters.`}},blog:{actions:{add:`Add`,applyFilters:`Apply filters`,archive:`Archive`,chooseImage:`Choose image`,discardChanges:`Discard changes`,editPost:`Edit post`,keepEditing:`Keep editing`,newPost:`New post`,overwrite:`Overwrite`,publish:`Publish`,reloadNewer:`Reload newer version`,remove:`Remove`,restoreDraft:`Restore to draft`,restorePublished:`Re
13store publication`,savePost:`Save post`,unpublish:`Unpublish`,viewSource:`View source`},actionsFor:{archive:`Archive {{title}}`,delete:`Delete {{title}}`,edit:`Edit {{title}}`,publish:`Publish {{title}}`,restoreDraft:`Restore {{title}} to draft`,restorePublished:`Restore publication of {{title}}`,unpublish:`Unpublish {{title}}`},detail:{back:`Back to posts`,edit:`Edit post`,featuredImage:`No featured image`,imported:`Imported · WP {{id}}`,invalid:`Invalid post address`,native:`Native post`,notPublished:`Not published`,original:`Original`,published:`Published`,slug:`Slug`,taxonomies:`Taxonomies`,unavailable:`Post unavailable`,updated:`Updated`},editor:{acknowledgeConversion:`Acknowledge the legacy conversion report before saving.`,back:`Back to post`,categories:`Categories`,conflictDescription:`Reload the newer version, or overwrite it with your current work.`,conflictTitle:`This post changed elsewhere`,conversionAcknowledgement:`I understand that saving replaces the legacy HTML with the supported editor format.`,conversionTitle:`Legacy content conversion`,conversionStoredJson:`Stored editor data could not be read, so the HTML version was converted instead.`,conversionFlattenedTag:`The <{{tag}}> element was flattened.`,conversionAttributeRemoved:`The {{attribute}} attribute was removed.`,conversionClassRemoved:`Unsupported CSS classes were removed.`,conversionStyleRemoved:`The {{property}} style was removed.`,conversionUnsupportedFont:`An unsupported font family was removed.`,conversionInvalidFontSize:`An invalid font size was removed.`,conversionInvalidTextAlign:`An invalid text alignment was removed.`,conversionUrlRemoved:`An unsafe {{attribute}} URL was removed.`,conversionIframeRemoved:`An unapproved embedded frame was removed.`,conversionUnsafeIframeRemoved:`Unsanitized iframes are not allowed. Removed iframe source: {{src}}`,galleryConverted_one:`{{adapter}} was converted into an editable gallery with {{count}} image.`,galleryConverted_other:`{{adapter}} was converted into an editable gallery with {{count}} images.`,galleryItemsDropped:`{{converted}} of {{original}} gallery images were retained; invalid images were removed.`,galleryMissingAlt_one:`{{count}} gallery image has no alternative text.`,galleryMissingAlt_other:`{{count}} gallery images have no alternative text.`,contentLoadError:`The stored post body could not be loaded. Retry before editing or saving.`,discardDescription:`Your post changes have not been saved.`,discardTitle:`Discard unsaved changes?`,excerpt:`Excerpt`,generateExcerpt:`Generate excerpt`,generatingExcerpt:`Generating excerptâ¦`,excerptErrors:{authentication:`The excerpt service key was rejected.`,"rate-limit":`The free excerpt quota is temporarily exhausted. Try again later.`,unavailable:`Free excerpt generation is temporarily unavailable. Try again.`,"invalid-response":`The excerpt service returned an unusable response. Try again.`,network:`The excerpt service could not be reached. Check the connection and retry.`},featuredImage:`Featured image`,generatedSlug:`Generated from title`,information:`Post Meta`,basicTab:`Basic`,metaTab:`Meta`,legacyTab:`Legacy`,settingsSections:`Post settings sections`,noLegacyIssues:`No legacy compatibility information is available for this post.`,mediaDisabled:`The media module is not enabled for this site.`,legacyDescription:`This post was imported as HTML. Its complete body is loaded and will be upgraded to the supported editor format when you save.`,legacyBadge:`Legacy`,legacyDetails:`Legacy content details`,legacyNoRemovals:`No unsupported content was removed during import.`,legacyTitle:`Legacy content loaded`,invalidJsonLegacyDescription:`The stored editor data was invalid, so the complete HTML body was loaded instead. Review the conversion report before saving.`,noImage:`None`,postContent:`Post content`,postSettings:`Post settings`,postStatus:`Post status`,postTitle:`Post title`,publicationStatus:`Publication status`,publishing:`Publishing`,saved:`Saved`,savedAt:`Saved {{time}}`,saving:`Savingâ¦`,slug:`Slug`,startWriting:`Start writingâ¦`,searchCategories:`Search categories`,searchTags:`Search tags`,taxonomyAdded:`{{name}} added.`,taxonomyRemoved:`{{name}} removed.`,taxonomySuggestions:`{{kind}} suggestions`,selectedTaxonomies:`Selected {{kind}}`,removeTaxonomy:`Remove {{name}}`,taxonomyLoading:`Loading {{kind}}â¦`,taxonomyLoadError:`{{kind}} could not be loaded.`,taxonomyNoMatches:`No matches found.`,taxonomyAllSelected:`All available terms are selected.`,taxonomyMoreMatches_one:`{{count}} more match. Keep typing to narrow the list.`,taxonomyMoreMatches_other:`{{count}} more matches. Keep typing to narrow the list.`,tags:`Tags`,untitled:`Untitled post`,unsaved:`Unsaved changes`},errors:{checkChanges:`The post could not be checked for changes.`,create:`The post could not be created.`,load:`Posts could not be loaded`,notConfigured:`Blog service is not configured`,notConfiguredDescription:`Set VITE_BLOG_API_BASE_URL to connect post management.`,notFound:`This post could not be found.`,save:`The post could not be saved.`},filters:{activeStatuses:`Drafts and published`,allStatuses:`All statuses`,allCategories:`All categories`,allTags:`All tags`,category:`Category`,searchPlaceholder:`Search posts`,searchTitles:`Search titles`,status:`Status`,tag:`Tag`},listing:{archived:`Archived`,categories:`Categories`,context:`Publishing workspace`,created:`Created`,dates:`Dates`,description:`Review, publish, archive and organize this siteâs stories.`,draft:`Draft`,emptyFiltered:`Try changing the active filters.`,emptyFuture:`Posts will appear here when content is added.`,emptyTitle:`No posts found`,loading:`Loading postsâ¦`,noExcerpt:`No excerpt provided.`,modified:`Modified`,none:`
13None`,pages:`Post pages`,post:`Post`,postsCount_one:`{{count}} post`,postsCount_other:`{{count}} posts`,published:`Published`,taxonomy:`Taxonomy`,title:`Posts`},mutation:{archived:`Post archived.`,confirmDelete:`Permanently delete â{{title}}â? This cannot be undone.`,deleted:`Post deleted.`,draft:`Post moved to draft.`,published:`Post published.`},taxonomy:{categories:`Categories`,category:`category`,color:`Derived color`,context:`Site organization`,created:`Created â{{name}}â with slug â{{slug}}â.`,createError:`The term could not be created.`,deleteConfirm:`Delete â{{name}}â? Posts must be reassigned first if it is in use.`,deleted:`Deleted â{{name}}â.`,deleteError:`The term could not be deleted. It may still be assigned to posts.`,description:`Manage the categories and tags editors use to organize posts.`,editHelp:`Changing the name regenerates the slug. To change only the slug, leave the name unchanged.`,name:`Name`,imported:`Imported`,loadError:`{{kind}} could not be loaded`,loading:`Loading {{kind}}â¦`,newName:`New {{kind}} name`,noMatches:`No terms match this search.`,none:`No {{kind}} yet.`,renameHelp:`Saving the new name also regenerates the slug.`,saveError:`The term could not be saved.`,saved:`Changes saved.`,search:`Search categories and tags`,slug:`Slug`,slugEditHelp:`Leave the name unchanged to edit only the public slug.`,tag:`tag`,tags:`Tags`,termType:`Term type`,title:`Taxonomy`},toolbar:{addLink:`Add or edit link`,alignCenter:`Align center`,alignLeft:`Align left`,alignRight:`Align right`,alternativeText:`Alternative text`,blockStyle:`Block style`,bold:`Bold`,bulletedList:`Bulleted list`,caption:`Caption`,clearFormatting:`Clear formatting`,columns2:`2 columns`,columns3:`3 columns`,columns:`Column layout`,controls:`Editor controls`,decreaseMediaWidth:`Decrease media width`,decreaseTextSize:`Decrease text size`,deleteMedia:`Delete selected media`,editAlt:`Edit alt text`,editCaption:`Edit caption or label`,editImageLink:`Edit image link`,embed:`Media embed`,fontFamilies:`Font families`,fontFamily:`Font family`,fromLink:`From Link`,fromLibrary:`From Media Library`,heading2:`Heading 2`,heading3:`Heading 3`,heading4:`Heading 4`,imageLink:`Image link URL`,increaseMediaWidth:`Increase media width`,increaseTextSize:`Increase text size`,insert:`Insertâ¦`,insertContent:`Insert content`,italic:`Italic`,justify:`Justify`,label:`Label`,linkPrompt:`Link URL (leave empty to remove)`,media:`Media`,mediaControls:`Selected media controls`,mediaHint:`Select an image or media block to enable controls.`,mediaWidth:`Media width in pixels`,numberedList:`Numbered list`,paragraph:`Paragraph`,quote:`Quote`,redo:`Redo`,removeColumns:`Remove columns and keep content`,replaceMedia:`Replace selected media`,resetMediaWidth:`Reset intrinsic media width`,selectMedia:`Select {{kind}}`,strikethrough:`Strikethrough`,textSize:`Text size in pixels`,underline:`Underline`,undo:`Undo`},gallery:{addImages:`Add images`,altText:`Alternative text`,blockLabel_one:`Gallery · {{count}} image`,blockLabel_other:`Gallery · {{count}} images`,caption:`Caption`,close:`Close gallery editor`,context:`Gallery block`,delete:`Delete gallery`,deleteConfirm:`Delete this gallery block and all of its references?`,discardChanges:`Discard the unsaved gallery changes?`,edit:`Edit`,help:`Reorder the images or add more from the Media Library.`,insert:`Insert gallery`,more_one:`+{{count}} more image`,more_other:`+{{count}} more images`,moveEarlier:`Move image {{position}} earlier`,moveLater:`Move image {{position}} later`,removeImage:`Remove image {{position}}`,title_one:`Edit gallery · {{count}} image`,title_other:`Edit gallery · {{count}} images`},insertMedia:{audio:`Audio`,cancel:`Cancel`,checkAndInsert:`Check and insert`,checking:`Checking linkâ¦`,chooseType:`Choose the media type.`,close:`Close insert media dialog`,contentTypeMissing:`The server did not provide a recognizable content type.`,downloadable:`Downloadable file`,downloadFile:`Download file`,embedHelp:`Paste a public YouTube, Vimeo, Spotify, or SoundCloud link.`,embedTitle:`Embed media`,httpsMedia:`HTTPS media URL`,image:`Image`,insertMedia:`Insert media`,insertVideo:`Insert embed`,invalidEmbed:`That URL is not a supported public embed.`,linkHelp:`The editor will inspect the link and choose the appropriate image, video, audio, or download block.`,linkTitle:`Insert media from a link`,mediaType:`Media type`,postContent:`Post content`,selectType:`Select a type`,url:`Enter a URL.`,validHttps:`Enter a valid HTTPS URL.`,video:`Video`,embed:`embedded media`,genericProvider:`Media`,embedLabel:`{{provider}} embed`,openProvider:`Open on {{provider}}`,videoLabel:`{{provider}} video`,videoEmbed:`{{provider}} video embed`,videoUrl:`YouTube, Vimeo, Spotify, or SoundCloud URL`},validation:{title:`Title is required.`,titleCharacters:`Title needs at least one letter or number.`}},media:{actions:{applyFilters:`Apply filters`,chooseFiles:`Choose files`,delete:`Delete`,deletePermanently:`Delete permanently`,deleting:`Deletingâ¦`,insertSelected:`Insert selected`,search:`Search`,upload:`Upload`,uploadMedia:`Upload media`,uploading:`Uploadingâ¦`},details:{altText:`Alt text`,context:`Asset details`,copied:`Copied`,copyFailed:`The URL could not be copied. Select the text and copy it manually.`,copyUrl:`Copy URL`,copyUrlLabel:`Copy media URL`,deleteDescription:`The media service cannot detect post references. Deleting it may leave broken images or links in published content.`,deleteTitle:`Delete this asset permanently?`,deleted:`Media asset deleted.`,dimensions:`Dimensions`,fullUrl:`Full S3 URL`,size:`Size`,type:`Type`,uploaded:`Uploaded`,urlCopied:`Media URL copied`,urlCopiedLive:`Media URL copied to clipboard.`},empty:{description:`Upload the first assets for this site.`,filtered:`Try changing the active filters.`,title:`No media found`},errors:{delete:`The asset could not be deleted.`,load:`Media could not be loaded`,notConfigured:`Media service is not configured`,notConfiguredDescription:`Set VITE_MEDIA_API_BASE_URL to connect the media library.`,upload:`The upload could not be completed.`,uploadShort:`Upload failed.`},filters:{all:`All media`,apply:`Apply filters`,files:`Files`,images:`Images`,list:`List`,mediaType:`Media type`,mediaView:`Media view`,search:`Search f
13ilenames`,searchPlaceholder:`Search media`,tiles:`Tiles`,view:`View`},glyph:{archive:`archive file`,audio:`audio file`,document:`document file`,file:`file`,image:`image file`,video:`video file`},listing:{assetCount_one:`{{count}} asset`,assetCount_other:`{{count}} assets`,context:`Asset workspace`,description:`Browse, preview and maintain this siteâs shared files.`,loading:`Loading mediaâ¦`,pages:`Media pages`,preview:`Preview {{name}}`,sizeUnavailable:`Size unavailable`,title:`Media library`},picker:{acceptedMismatch:`The uploaded files do not match the media types accepted here.`,choose:`Choose an asset`,chooseMultiple:`Choose assets`,close:`Close media picker`,insert:`Insert selected`,insertCount_one:`Insert {{count}} asset`,insertCount_other:`Insert {{count}} assets`,library:`Library`,loading:`Loading media`,minimumSelection_one:`Select at least {{count}} image to create a gallery.`,minimumSelection_other:`Select at least {{count}} images to create a gallery.`,noMatches:`No matching assets.`,page:`Page {{page}}`,pages:`Media picker pages`,previous:`Previous`,search:`Search media`,searchFilenames:`Search filenames`,selectedCount_one:`{{count}} selected`,selectedCount_other:`{{count}} selected`,source:`Media source`,upload:`Upload`,uploadFailed_one:`{{count}} file could not be uploaded.`,uploadFailed_other:`{{count}} files could not be uploaded.`},preview:{audio:`Audio preview: {{name}}`,video:`Video preview: {{name}}`},upload:{chooseAtLeast:`Choose at least one file.`,drop:`Drop files here`,failed:`{{count}} failed:`,fileLimit:`{{name}} exceeds the 50 MB file limit.`,files_one:`or choose 1 file, up to 50 MB`,files_other:`or choose up to {{count}} files, 50 MB each`,maxFiles:`Choose no more than {{count}} files per upload.`,newAssets:`New assets`,title:`Upload media`,uploadCount_one:`Upload {{count}} file`,uploadCount_other:`Upload {{count}} files`,uploaded:`{{count}} uploaded`}},advertising:{actions:{create:`Create advertisement`,new:`New advertisement`,saveChanges:`Save changes`,saveOrder:`Save order`},description:`Manage advertising images, destinations, visibility, and display order for this site.`,editor:{activeDescription:`Active advertisements are eligible for public display.`,back:`Back to advertising`,description:`Choose the advertising image, destination, and visibility.`,destination:`Destination URL`,details:`Advertisement details`,detailsDescription:`Configure where the advertisement leads and whether it is visible.`,editTitle:`Edit {{name}}`,name:`Name`,image:`Advertising image`,imageDescription:`Any image format or aspect ratio may be selected from this siteâs media library.`,imageRequired:`Choose an image from the media library.`,mobileImage:`Mobile image`,mobileImageDescription:`Optional alternative for narrow public layouts. The public site decides when to use it.`,chooseMobileImage:`Choose mobile image`,removeMobileImage:`Remove mobile image`,noMobileImage:`No mobile image selected`,mobilePreview:`Selected mobile advertising image preview`,groups:`Advertisement groups`,groupsDescription:`Choose every group where this advertisement should appear. Its position is managed independently inside each group.`,noGroups:`No groups have been created yet.`,invali
13dDescription:`The advertisement identifier is not valid.`,invalidTitle:`Invalid advertisement`,mediaRequired:`The Media module is required to choose or upload an image.`,noImage:`No image selected`,preview:`Selected advertising image preview`},empty:{description:`Create the first advertisement and choose its image and destination.`,title:`No advertisements yet`},errors:{create:`The advertisement could not be created.`,delete:`The advertisement could not be deleted.`,load:`Advertising could not be loaded`,loadAdvertisement:`Advertisement could not be loaded`,nextPosition:`The next display position could not be determined.`,notConfigured:`Advertising service is not configured`,notConfiguredDescription:`Add VITE_ADVERTISING_API_BASE_URL to enable this workspace.`,reorder:`The new order could not be saved.`,status:`The advertisement status could not be changed.`,update:`The advertisement could not be updated.`},listing:{advertisement:`Advertisement`,advertisementId:`Advertisement #{{id}}`,context:`Advertising`,deleteConfirm:`Delete â{{name}}â? Its images will remain in the site media library.`,delete:`Delete {{name}}`,displayOrder:`Display order`,displayOrderHelp:`Drag advertisements by the handle, then save the complete order.`,drag:`Drag advertisement {{id}} to reorder`,edit:`Edit {{name}}`,created:`Advertisement created.`,updated:`Advertisement updated.`,deleted:`Advertisement deleted.`,activated:`Advertisement activated.`,deactivated:`Advertisement deactivated.`,loading:`Loading advertisementsâ¦`,loadingOne:`Loading advertisementâ¦`,opensNewTab:`Opens in a new tab`,position:`Position`,title:`Ads`,toggle:`{{action}} {{name}}`},groups:{assignedCount_one:`{{count}} advertisement`,assignedCount_other:`{{count}} advertisements`,capacity:`Min ads: {{min}} · Max ads: {{max}}`,capacityWarning:`Requires {{min}}â{{max}} ads; currently {{count}}.`,adOrderFor:`Advertisement order for {{name}}`,backToAds:`Back to advertisements`,discard:`Discard changes`,dragAdvertisement:`Drag {{name}} to reorder it in this group`,dragHelp:`Drag into a group`,emptyTitle:`No advertising groups yet`,inventoryLabel:`Advertisement inventory`,incompatibleCount_one:`{{count}} group must be corrected before saving`,incompatibleCount_other:`{{count}} groups must be corrected before saving`,loading:`Loading advertising groupsâ¦`,noAssignedAds:`This group has no assigned advertisements.`,noMatches:`No ads match this search.`,orderDescription:`Reorder advertisements within each placement and control which groups are publicly enabled.`,readOnlyEmptyDescription:`No advertising groups have been configured for this site.`,removeAdvertisement:`Remove {{advertisement}} from {{group}}`,removeConfirm:`Remove {{advertisement}} from {{group}}? This change will be applied when you save the board.`,search:`Search advertisements`,searchPlaceholder:`Search adsâ¦`,size:`Size: {{size}}`,sizeNotDefined:`Not defined`,title:`Ad Groups`,toggleStatus:`{{action}} {{name}}`,unsaved:`Unsaved order changes`,upToDate:`Advertisement order is up to date`,errors:{load:`Advertising groups could not be loaded`,saveBoard:`The advertisement order could not be completely saved. Completed changes were reconciled; retry to finish the remaining changes.`,status:`The group status could not be changed.`}},validation:{groupName:`Enter a group name.`,groupNameLength:`Group names can contain at most 150 characters.`,httpUrl:`Enter an HTTP or HTTPS URL.`,name:`Enter an advertisement name.`,nameLength:`Advertisement names can contain at most 500 characters.`,urlLength:`URLs can contain at most 500 characters.`}},scheduler:{actions:{createActivity:`Create activity`,createSchedule:`Create schedule`,editActivity:`Edit activity`,editGrid:`Edit weekly grid`,editSchedule:`Edit schedule`,newActivity:`New activity`,newSchedule:`New schedule`,saveActivity:`Save activity`,saveSchedule:`Save schedule`},activity:{accentColor:`Accent color`,accentDerived:`Derived automatically from the activity name.`,accentPending:`Enter a name to derive the color`,description:`Description`,editorDescription:`Configure the activity details used throughout weekly schedules.`,facebook:`Facebook URL`,featured:`Featured`,featuredActivity:`Featured activity`,instagram:`Instagram URL`,linkUnavailable:`{{link}} unavailable`,links:`Links`,mediaRequired:`Enable the Media module to select or upload an image.`,name:`Name *`,noImage:`No image selected`,preview:`Selected activity preview`,standard:`Standard`,twitter:`Twitter URL`,website:`Website`},description:{activities:`Manage programs, classes, and other items that can be placed in a schedule.`,schedules:`Create schedules and define their complete weekly grids.`},editor:{activeSchedule:`Active schedule`,back:`Back to scheduler`,backSchedules:`Back to schedules`,name:`Name *`,scheduleDescription:`Name this weekly grid and control its public availability.`},empty:{activitiesDescription:`Create an activity before building a weekly schedule.`,activitiesTitle:`No activities yet`,filteredActivitiesDescription:`Try a different activity name or description.`,filteredActivitiesTitle:`No matching activities`,schedulesDescription:`Create the first weekly schedule.`,schedulesTitle:`No schedules
13yet`},errors:{activityDelete:`The activity could not be deleted. Remove it from every schedule first.`,activityLoad:`Activity could not be loaded`,activitySave:`The activity could not be saved.`,activitiesLoad:`Activities could not be loaded`,notConfigured:`Scheduler service is not configured`,notConfiguredDescription:`Set VITE_SCHEDULER_API_BASE_URL to enable this module.`,scheduleDelete:`The schedule could not be deleted.`,scheduleLoad:`Schedule could not be loaded`,scheduleSave:`The schedule could not be saved.`,schedulesLoad:`Schedules could not be loaded`},grid:{activityPalette:`Activity palette`,back:`Back to schedules`,desktopDescription:`The weekly schedule editor needs a viewport at least 1024px wide. Your loaded schedule has not been changed.`,desktopTitle:`A desktop screen is required`,discardConfirm:`Discard the unsaved weekly grid changes?`,dragActivity:`Drag {{name}} onto the calendar`,dragHelp:`Drag into the calendar`,emptyActivities:`Create an activity before adding schedule entries.`,invalidEntry:`Entries must stay within one day and use complete one-hour increments.`,loadError:`Weekly grid could not be loaded`,loading:`Loading weekly gridâ¦`,noMatches:`No matching activities.`,remove:`Remove {{name}}`,removeConfirm:`Remove â{{name}}â from this schedule?`,removeEntry:`Remove entry`,saveError:`The complete weekly grid could not be saved. Your unsaved changes are still available.`,search:`Search activities`,searchPlaceholder:`Search activitiesâ¦`,weeklyGrid:`Weekly time grid`},listing:{activity:`Activity`,activityCount_one:`{{count}} activity`,activityCount_other:`{{count}} activities`,activityPages:`Activity pages`,activities:`Activities`,context:`Scheduler`,deleteActivity:`Delete this activity? It cannot be deleted while used in a schedule.`,deleteSchedule:`Delete this schedule and all of its weekly entries?`,activityCreated:`Activity created.`,activityUpdated:`Activity updated.`,activityDeleted:`Activity deleted.`,scheduleCreated:`Schedule created.`,scheduleUpdated:`Schedule updated.`,scheduleDeleted:`Schedule deleted.`,featured:`Featured`,loadingActivities:`Loading activitiesâ¦`,loadingActivity:`Loading activityâ¦`,loadingSchedule:`Loading scheduleâ¦`,loadingSchedules:`Loading schedulesâ¦`,schedule:`Schedule`,schedules:`Schedules`,searchActivities:`Search activities`,searchPlaceholder:`Name or descriptionâ¦`},validation:{color:`Use a six-digit hex color.`,name:`Name is required.`,url:`Enter a valid URL.`}},workshop:{actions:{create:`Create workshop`,edit:`Edit workshop`,new:`New workshop`,save:`Save workshop`,saveRegistration:`Save registration`},description:{registrations:`Review and manage public workshop registrations.`,workshops:`Manage the workshop catalog for this site.`},editor:{active:`Active workshop`,additional:`Additional information`,back:`Back to workshops`,chooseImage:`Choose required image`,details:`Details *`,description:`Manage public workshop details, dates, image, and availability.`,ends:`Ends *`,imageError:`Choose an image from the media library.`,mediaRequired:`Enable the Media module to select or upload the required workshop image.`,noImage:`No image selected`,preview:`Selected workshop preview`,schedule:`Schedule label`,schedulePlaceholder:`Monday 18:00`,starts:`Starts *`,title:`Title *`},empty:{registrationsDescription:`New public registrations will appear here.`,registrationsTitle:`No registrations yet`,workshopsDescription:`Create the first workshop for this site.`,workshopsTitle:`No workshops yet`},errors:{deleteRegistration:`The registration could not be deleted.`,deleteWorkshop:`The workshop could not be deleted.`,loadRegistration:`Registrations could not be loaded`,loadWorkshop:`Workshops could not be loaded`,notConfigured:`Workshop service is not configured`,notConfiguredDescription:`Set VITE_WORKSHOP_API_BASE_URL to enable this module.`,registrationSave:`The registration could not be saved.`,workshopLoad:`Workshop could not be loaded`,workshopSave:`The workshop could not be saved.`},listing:{attendee:`Attendee`,context:`Workshops`,dates:`Dates`,deleteRegistration:`Delete this registration permanently?`,deleteWorkshop:`Delete this workshop? Historical registrations and their title snapshots will remain.`,workshopCreated:`Workshop created.`,workshopUpdated:`Workshop updated.`,workshopDeleted:`Workshop deleted.`,registrationDeleted:`Registration deleted.`,markedSeen:`Registration marked as seen.`,markedUnseen:`Registration marked as unseen.`,editRegistration:`Edit registration for {{name}}
13`,loadingRegistration:`Loading registrationsâ¦`,loadingWorkshop:`Loading workshopâ¦`,loadingWorkshops:`Loading workshopsâ¦`,markSeen:`Mark registration for {{name}} as {{status}}`,received:`Received`,registration:`Registration`,registrations:`Registrations`,seen:`seen`,to:`to`,unseen:`unseen`,workshop:`Workshop`,workshops:`Workshops`},registration:{currentSnapshot:`Current stored snapshot`,details:`Registration details`,discard:`Discard unsaved registration changes?`,email:`Email`,markedSeen:`Marked as seen`,name:`Name`,saved:`Registration saved.`,snapshotHelp:`Changing this selection rebuilds the registrationâs stored title snapshot.`,workshops:`Workshops`},validation:{details:`Details are required.`,email:`Enter a valid email.`,endAfterStart:`End must be after or equal to start.`,ends:`End date is required.`,image:`Choose an image.`,name:`Name is required.`,starts:`Start date is required.`,title:`Title is required.`,url:`Enter a valid URL.`,workshop:`Choose at least one workshop.`}},payments:{context:`Payments operations`,mobbexPayerNeededForLink:`Add payer details before creating another Mobbex checkout link.`,actions:{cancel:`Cancel`,retry:`Try again`},permissions:{adminPayments:`Administrator role and Payments module`},status:{pending:`Pending`,paid:`Paid`,partially_refunded:`Partially refunded`,refunded:`Refunded`,expired:`Expired`,rejected:`Rejected`,cancelled:`Cancelled`,review_required:`Review required`},review:{duplicate_payment:`Duplicate payment`,amount_mismatch:`Amount mismatch`,paid_after_close:`Paid after the payment was closed`},attemptStatus:{created:`Created`,awaiting_payment:`Awaiting payment`,approved:`Approved`,rejected:`Rejected`,expired:`Expired`},refundStatus:{pending:`Pending`,processing:`Processing`,succeeded:`Succeeded`,failed:`Failed`},eventStatus:{pending:`Pending`,delivered:`Delivered`,failed:`Failed`},eventType:{paid:`Payment received`,rejected:`Payment rejected`,expired:`Payment expired`,cancelled:`Payment cancelled`,refunded:`Payment refunded`,reviewRequired:`Review required`},errors:{generic:`The payments service returned an unexpected response.`,notConfigured:`Payments service is not configured`,notConfiguredDescription:`Set VITE_PAYMENTS_API_BASE_URL to connect payments administration.`,providersLoad:`Payment providers could not be loaded`,providerSave:`The credentials could not be validated and saved.`,credentialsRejected:`The provider rejected these credentials`,providerUnavailable:`The provider service is currently unavailable`,providerRemove:`The provider credentials could not be removed.`,paymentsLoad:`Payments could not be loaded`,paymentLoad:`Payment could not be loaded`,eventsLoad:`Payment events could not be loaded`,refundsLoad:`Refunds could not be loaded`,manualCreate:`The payment link could not be completed.`,attempt:`The checkout link could not be created.`,refund:`The refund could not be requested.`,retryEvent:`The event could not be retried.`,recheckRefund:`The refund could not be checked with the provider.`,resolveRefund:`The refund could not be resolved.`},filters:{reference:`External reference`,referencePlaceholder:`Order or invoice reference`,status:`Status`,allStatuses:`All statuses`,module:`Module`,modulePlaceholder:`ecommerce, donationsâ¦`,provider:`Provider`,allProviders:`All providers`,from:`From`,to:`To`,apply:`Apply filters`},transactions:{title:`Transactions`,description:`Trace each charge from checkout through settlement, review and refunds.`,loading:`Loading paymentsâ¦`,empty:`No payments found`,emptyDescription:`Payments will appear here when a consumer or administrator creates a charge.`,count_one:`{{count}} payment`,count_other:`{{count}} payments`,pages:`Payment pages`,payment:`Payment`,amount:`Amount`,created:`Created`,paidAmount:`Paid {{amount}}`,refundedAmount:`Refunded {{amount}}`},providers:{title:`Payment providers`,description:`Validate gateway credentials, control availability, and configure webhooks.`,loading:`Loading providersâ¦`,gateway:`Gateway readiness`,provider:`Provider`,names:{mercadopago:`MercadoPago`,mobbex:`Mobbex`},environments:{sandbox:`Sandbox`,production:`Production`},environmentNotConfigured:`Environment not configured`,active:`Active`,inactive:`Inactive`,notConfigured:`Not configured`,credentials:`Credentials`,environment:`Environment`,validation:`Validation`,validated:`Validated`,notValidated:`Not val
13idated`,updatedBy:`Updated by`,updatedByUser:`User #{{id}}`,updatedBySystem:`System`,webhook:`Webhook URL`,webhookActions:`Webhook actions`,webhookReady:`Here's your webhook`,webhookReadyDescription:`Copy this URL into the provider dashboard to receive payment updates.`,webhookCopied:`Webhook URL copied`,copyWebhook:`Copy webhook URL`,copyProviderWebhook:`Copy {{provider}} webhook URL`,copyFailed:`The webhook URL could not be copied.`,configureAction:`Configure`,configureProvider:`Configure {{provider}}`,accessToken:`Access token`,publicKey:`Public key`,apiKey:`API key`,secretNote:`Secrets are sent only when saving and are never displayed again.`,saved:`Credentials validated and saved.`,validating:`Validatingâ¦`,configure:`Validate and configure`,replace:`Replace credentials`,remove:`Remove credentials`,removeProviderCredentials:`Remove {{provider}} credentials`,removeConfirm:`Remove the active credentials for {{provider}}? Checkout will stop for this provider. Re-adding it later will preserve its webhook URL.`,removeConfirmV4:`Remove the active credentials for {{provider}}? Checkout will stop for this provider. Re-adding it later will preserve its webhook URL.`,removed:`{{provider}} credentials removed.`,mobbexGuideTitle:`Before copying the Mobbex credentials`,mobbexGuideApp:`Create an application in the Mobbex Developer Portal.`,mobbexGuideCuit:`Request access to the CUIT that will receive payments.`,mobbexGuideAuthorize:`Authorize the application from APP / E-Commerce.`,mobbexGuideReturn:`Return here and enter the application credentials.`},manual:{new:`New manual payment`,back:`Back to transactions`,title:`Create a payment link`,description:`Create an ARS charge and a provider checkout URL to share with the payer.`,charge:`Charge details`,chargeDescription:`The reference prevents duplicate charges and the return URL must belong to this site.`,reference:`External reference`,amount:`Amount in ARS`,provider:`Payment provider`,descriptionLabel:`Description`,returnUrl:`Return URL`,expiresAt:`Expires at`,payer:`Payer details`,payerDescription:`Optional identity information stored with the charge.`,payerRequiredMobbex:`Mobbex requires payer information. Enter at least one identity field.`,payerName:`Name`,payerEmail:`Email`,payerDoc:`Document`,noProvider:`No validated provider is active`,noProviderDescription:`Configure and activate MercadoPago or Mobbex before creating a link.`,configureProvider:`Configure providers`,create:`Create payment link`,creating:`Creating linkâ¦`,ready:`Checkout ready`,linkReady:`Shareable payment link created`,checkoutUrl:`Checkout URL`,copy:`Copy link`,copied:`Copied`,copySuccess:`Checkout URL copied.`,copyFailed:`The checkout URL could not be copied.`,viewPayment:`View payment details`,openCreatedPayment:`Open the payment that was created.`,conflictingReference:`This reference already belongs to a payment with a different amount or currency.`,linkWarning:`Previously generated provider links may remain payable. Share only the intended link.`,shareable:`Manual checkout`,anotherLink:`Generate another link`,generate:`Generate checkout link`,generated:`A new checkout link is ready.`},detail:{back:`Back to transactions`,loading:`Loading paymentâ¦`,noDescription:`No payment description was provided.`,reviewRequired:`This payment requires human review`,reviewInProgress:`Review in progress · refund the remaining funds`,reviewUnknown:`Review the provider attempts before taking further action.`,amounts:`Payment amounts`,expected:`Expected`,paid:`Paid`,refunded:`Refunded`,refundable:`Refundable`,unrefunded:`Unrefunded balance`,audit:`Audit trail`,timeline:`Payment activity`,noActivity:`No attempts, refunds, or delivery events have been recorded.`,attemptWith:`{{provider}} checkout attempt`,paymentMethodPending:`Payment method not reported yet`,payment:`Payment`,details:`Record details`,reference:`Reference`,module:`Module`,created:`Created`,updated:`Updated`,expires:`Expires`,returnUrl:`Return URL`,payer:`Payer`,noPayer:`No payer details`,noPayerDescription:`This payment was created without payer identity information.`},refund:{context:`Refund controls`,title:`Refund payment`,unavailable:`Not refundable now`,unavailableDescription:`This payment cannot be refunded at this time.`,attempt:`Charged attempt`,attemptOption:`{{provider}} · {{amount}} available now`,full:`Full available amount · {{amount}}`,partial:`Partial refund`,mobbexFullOnly:`Mobbex accepts full refunds only.`,amount:`Refund amount`,reason:`Reason (optional)`,submit:`Request refund`,processing:`Requestingâ¦`,requested:`Refund request submitted.`,confirmAttempt:`Refund {{amount}} against attempt {{attempt}}? This operation cannot be undone from the Intranet.`,amountLimit:`Enter an amount no greater than {{amount}}.`,timelineTitle:`Refund {{amount}}`,timelineAttempt:`{{provider}} attempt`,noReason:`No reason provided`,providerRefundId:`Provider refund ID`,lastChecked:`Last provider check`,resolvedBy:`Resolved by`,resolutionNote:`Resolution note`,contradictionCleared:`Contradiction cleared`,recovery:`Refund recovery`,recheck:`Check provider now`,rechecking:`Checkingâ¦`,rechecked:`Provider evidence refreshed.`,resolve:`Resolve manually`,resolveTitle:`Resolve refund evidence`,resolveWarning:`Inspect the gateway first. This action changes the accounting record and is audited.`,outcome:`Confirmed outcome`,executed:`The provider executed the refund`,notExecuted:`The provider did not execute the refund`,notExecutedWarning:`This restores the refundable capacity. Use it only when the gateway proves that no refund occurred.`,resolving:`Resolvingâ¦`,confirmResolution:`Confirm resolution`,resolved:`Refund evidence resolved.`},deliveries:{title:`Events`,description:`Inspect every outbound payment event and retry failed deliveries.`,loading:`Loading eventsâ¦`,loadingPaymentEvents:`Loading delivery eventsâ¦`,empty:`No events found`,emptyDescription:`Outbound payment events will appear here as payments are processed.`,emptyFiltered:`No events match the selected delivery status.`,event:`Event`,payment:`Payment`,attempts:`Attempts`,lastError:`Delivery detail`,retry:`Retry delivery`,retryQueued:`Delivery retry queued.`,pages:`Event pages`,perPage:`Results per page`,clearFilters:`Clear filters`,nextAttempt:`Next attempt {{date}}`,count_one:`{{count}} event`,count_other:`{{count}} events`,attemptCount_one:`{{count}} delivery attempt`,attemptCount_other:`{{count}} delivery attempts`},v4Validation:{mobbexPayer:`Enter payer information before using Mobbex.`,resolutionNote:`Enter the evidence used for this decision.`,resolutionNoteMax:`Use 500 characters or fewer.`,providerRefundId:`Enter the provider refund ID for an executed refund.`,providerRefundIdMax:`Use 128 characters or fewer.`},refunds:{title:`Refunds`,loading:`Loading refundsâ¦`,empty:`No refunds found`,emptyDescription:`No refunds match this operational queue.`,count_one:`{{count}} refund`,count_other:`{{count}} refunds`,pages:`Refund pages`,processingQueue:`Processing queue`,refund:`Refund`,payment:`Payment`,amount:`Amount`,evidence:`Provider evidence`,lastActivity:`Last activity`,noProviderId:`No provider ID`,noEvidence:`No evidence recorded`,checked:`Checked with provider`,updated:`Record updated`},validation:{accessToken:`Enter the access token.`,publicKey:`Enter the MercadoPago public key.`,apiKey:`Enter the Mobbex API key.`,reference:`Enter an external reference.`,amount:`Enter a positive ARS amount with no more than two decimal places.`,returnUrl:`Enter a valid return URL.`,returnOrigin:`The return URL must use this siteâs hostname.`,email:`Enter a valid email address.`}},donations:{permissions:{adminDonations:`administrator access to the Donations module`},errors:{notConfigured:`Donations is not configured`,notConfiguredDescription:`Set VITE_DONATIONS_API_BASE_URL for the platform before using this module.`},status:{pending:`Unaccredited`,paid:`Paid`,partially_refunded:`Partially refunded`,refunded:`Refunded`,expired:`Expired`,rejected:`Rejected`,cancelled:`Cancelled`,review_required:`Review required`},filters:{status:`Status`,allStatuses:`All statuses`,campaign:`Campaign`,allCampaigns:`All c
13ampaigns`,perPage:`Rows per page`},money:{requested:`Requested`,accredited:`Accredited`,refunded:`Refunded`,retained:`Retained`},actions:{markReviewed:`Mark reviewed`,reviewError:`The donation could not be marked as reviewed.`,openPayment:`Open in Payments`,activate:`Activate`,deactivate:`Deactivate`,discard:`Discard`,saveOrder:`Save order`},donations:{title:`Donations`,loading:`Loading donationsâ¦`,loadError:`Donations could not be loaded`,empty:`No donations found`,emptyDescription:`No donation records match these filters.`,count_one:`{{count}} donation`,count_other:`{{count}} donations`,pages:`Donation pages`,donation:`Donation`,donor:`Donor`,campaign:`Campaign`,flow:`Money flow`,received:`Received`,review:`Review`,reviewed:`Reviewed`,reviewedSuccess:`Donation marked as reviewed.`},detail:{back:`Back to donations`,loading:`Loading donationâ¦`,loadError:`Donation could not be loaded`,status:`Status`,received:`Received`,campaignSnapshot:`Campaign at donation time`,campaignId:`Current campaign #{{id}}`,deletedCampaign:`Campaign record deleted`,donor:`Current donor identity`,email:`Email`,document:`Document`,openDonor:`Open donor history`,message:`Private donor message`,noMessage:`No private message was left.`,reconciliation:`Reconciliation record`,donationId:`Donation ID`,externalReference:`External reference`,paymentId:`Payment ID`,lastChecked:`Last reconciled`,never:`Never`,updated:`Last updated`},donors:{title:`Donors`,loading:`Loading donorsâ¦`,loadError:`Donors could not be loaded`,empty:`No donors yet`,emptyDescription:`Donors will appear after their first donation attempt.`,count_one:`{{count}} donor`,count_other:`{{count}} donors`,pages:`Donor pages`,donor:`Donor`,email:`Email`,document:`Document`},donorDetail:{back:`Back to donors`,loading:`Loading donorâ¦`,loadError:`Donor could not be loaded`,since:`First seen`,records:`Donation records`,historyContext:`Donation history`,history:`Recorded attempts and donations`,noAggregate:`Amounts shown below belong to each row; no total is inferred from this page.`,empty:`This donor has no donation records on this page.`,pages:`Donation history pages`},campaigns:{title:`Campaigns`,new:`New campaign`,loading:`Loading campaignsâ¦`,loadError:`Campaigns could not be loaded`,empty:`No campaigns yet`,emptyDescription:`Create the first fundraising campaign for this site.`,unsaved:`Order has unsaved changes`,saved:`Campaign order is up to date`,reorderHelp:`Drag campaigns or use the arrow buttons, then save the complete order.`,drag:`Drag {{title}}`,priority:`Priority {{priority}}`,moveUp:`Move {{title}} up`,moveDown:`Move {{title}} down`,edit:`Edit {{title}}`,delete:`Delete {{title}}`,deleteConfirm:`Delete â{{title}}â? Existing non-accredited donation records will keep their frozen campaign title.`,deactivateFallback:`â{{title}}â has accredited donations and cannot be deleted. Deactivate it instead?`,orderSaved:`Campaign order saved.`,activated:`Campaign activated.`,deactivated:`Campaign deactivated.`,created:`Campaign created.`,updated:`Campaign updated.`,deleted:`Campaign deleted.`,saveOrderError:`The campaign order could not be saved.`,statusError:`The campaign status could not be changed.`,deleteError:`The campaign could not be deleted.`},campaignEditor:{back:`Back to campaigns`,loading:`Loading campaignâ¦`,loadError:`Campaign could not be loaded`,createTitle:`Create campaign`,editTitle:`Edit campaign`,saveError:`The campaign could not be saved.`,content:`Campaign content`,title:`Title`,slug:`Public slug`,slugHelp:`The slug is permanent and does not change when the title changes.`,description:`Description`,active:`Published and accepting donations`,image:`Campaign image`,preview:`Campaign image preview`,noImage:`No image selected`,chooseImage:`Choose from Media`,removeImage:`Remove image`,mediaRequired:`Enable Media for this site to select or upload an image.`,amountRules:`ARS amount rules`,currency:`Currency`,currencyValue:`ARS`,minimum:`Minimum amount`,maximum:`Maximum amount`,suggested:`Suggested amounts`,suggestedHelp:`Optional quick choices shown to donors. Add no more than six unique values inside the campaign range.`,addSuggested:`Add amount`,
13suggestedNumber:`Suggested amount {{number}}`,removeSuggested:`Remove suggested amount {{number}}`},validation:{titleRequired:`Enter a campaign title.`,titleMax:`Use 180 characters or fewer.`,urlMax:`Use 500 characters or fewer.`,amount:`Enter an ARS amount with no more than two decimal places.`,amountRange:`Enter an amount between ARS 0.01 and the supported database limit.`,maxRange:`The maximum must be at least the minimum and within the supported database limit.`,suggestedMax:`Add no more than six suggested amounts.`,unique:`Suggested amounts must be unique.`,suggestedRange:`Each suggested amount must be inside the campaign range.`}},radio:{eyebrow:`Broadcast operations`,title:`Radio status`,common:{unknown:`Unknown`,never:`Never`,yes:`Yes`,no:`No`},actions:{retry:`Try again`,showPassword:`Show radio password`,hidePassword:`Hide radio password`,copyPassword:`Copy radio password`,copyUrl:`Copy stream URL`,copied:`Copied`},states:{loading:`Loading radio metricsâ¦`,apiMissing:`Radio is not configured`,apiMissingDescription:`Set VITE_RADIO_API_BASE_URL before using this module.`,unconfigured:`No radio stream is configured`,unconfiguredDescription:`The Radio service has not received a stream configuration for this site.`,error:`Radio metrics could not be loaded`,errorDescription:`Try loading this section again.`,noHistory:`No listener history yet`,noHistoryDescription:`Listener samples will appear after the collector starts polling.`,noAggregates:`No closed periods yet`,noAggregatesDescription:`Hourly and daily metrics appear only after their local periods close.`},live:{context:`Live signal`,status:`Radio status`,online:`On air`,offline:`Not on air`,unknown:`Signal unknown`},metrics:{listeners:`Current listeners`,todayPeak:`Todayâs peak`,lastPoll:`Last poll`,stream:`Stream`,genre:`Genre`,bitrate:`Bitrate`,day:`Local day`,hour:`Local hour`,average:`Average listeners`,minimum:`Minimum`,peak:`Peak`,listenerHours:`Listener-hours`,uptime:`On-air time`,coverage:`Coverage`,coverageAnomaly:`Coverage exceeds 100%; successful and expected sample counts are inconsistent.`,samples:`Samples`,restarts:`Restarts`},history:{context:`Current local-day window`,title:`Listener history`,ariaLabel:`Listener history over the current local day; use arrow keys to inspect samples and note that gaps indicate unavailable measurements`,gapNote:`Gaps represent unknown measurements and are never drawn as zero listeners.`,period:`Displayed period`,peak:`Peak listeners`,latest:`Latest reading`,timeAxis:`Local time`,listenersAxis:`Listeners`,listenerValue_one:`{{count}} listener`,listenerValue_other:`{{count}} listeners`,signalValue:`Signal: {{status}}`},search:{title:`Radio history search`,filtersLabel:`History search filters`,month:`Month`,year:`Year`,chooseMonth:`Choose month`,chooseYear:`Choose year`,action:`Search`,help:`Choose a calendar month in the radio streamâs local timezone.`,validation:`Choose a valid month and year.`,resultContext:`Results for {{month}}`,awaitingResults:`Awaiting search resultsâ¦`,loadingResults:`Loading search resultsâ¦`},aggregates:{context:`Closed local periods`,hourly:`Hourly metrics`,daily:`Daily metrics`,details:`Detailed metric tables`,hourlyDetails:`Show hourly details`,dailyDetails:`Show daily details`,hourlyAriaLabel:`Hourly average, minimum, and peak listeners`,dailyAriaLabel:`Daily average, minimum, and peak listeners`},collector:{context:`Measurement integrity`,title:`Collector health`,active:`Collector enabled`,lastSuccess:`Last successful poll`,failures:`Consecutive failures`,sinceSuccess:`Time since success`,interval:`Polling interval`,maxGap:`Maximum accepted gap`,seconds_one:`{{count}} second`,seconds_other:`{{count}} seconds`},connection:{context:`Read-only infrastructure`,title:`Connection information`,url:`Stream URL`,mountpoint:`Mountpoint`,password:`Password`}},identityAdmin:{module:`Customer identity`,verified:`Verified`,unverified:`Unverified`,unavailable:`Customer accounts are unavailable for this site`,list:{title:`Customer accounts`,count_one:`{{count}} account`,count_other:`{{count}} accounts`,search:`Search`,searchPlaceholder:`Email or name`,verification:`Email verification`,all:`All accounts`,loading:`Loading customer accountsâ¦`,error:`Customer accounts could not be loaded`,empty:`No customer accounts found`,pages:`Customer account pages`},detail:{loading:`Loading customer accountâ¦`,error:`Customer account could not be loaded`,notFound:`Customer account not found`,back:`Back to customer accounts`},fields:{customer:`Customer`,email:`Email`,verified:`Verification`,created:`Created`,lastLogin:`Last login`,unnamed:`Unnamed customer`}},ecommerce:{comingSoon:{title:`Coming soon`,detail:`This area is not available yet.`},errors:{notConfigured:`The Ecommerce API is not configured.`},fields:{name:`Name`,slug:`Slug`,category:`Category`,status:`Status`,product:`Product`,price:`Price`,stock:`Stock`,description:`Description`,variant:`Variant name`,sku:`SKU`,order:`Order`,buyer:`Buyer`,units:`Units`,total:`Total`,created:`Created`,unitPrice:`Unit price`,quantity:`Quantity`,email:`Email`,document:`Document`,
13notes:`Notes`,payment:`Payment`},filters:{searchProducts:`Search`,searchProductsPlaceholder:`Product name`,allCategories:`All categories`,noCategory:`No category`,allStatuses:`All statuses`,buyerEmail:`Buyer email`,buyerEmailPlaceholder:`[email protected]`},status:{active:`Active`,inactive:`Inactive`,pending:`Pending`,paid:`Paid`,closed:`Closed`,partially_refunded:`Partially refunded`,refunded:`Refunded`,review_required:`Review required`},categories:{title:`Categories`,count_one:`{{count}} category`,count_other:`{{count}} categories`,new:`New category`,edit:`Edit category`,loading:`Loading categoriesâ¦`,loadError:`Categories could not be loaded`,empty:`No categories yet`,emptyDescription:`Create categories to organize the storefront catalog.`,slugHint:`Lowercase letters, numbers, and hyphens.`,deleteConfirm:`Delete {{name}}? Products in this category will remain uncategorized.`,created:`Category created.`,updated:`Category updated.`,deleted:`Category deleted.`,saveError:`The category could not be saved.`,deleteError:`The category could not be deleted.`},products:{title:`Products`,count_one:`{{count}} product`,count_other:`{{count}} products`,new:`New product`,edit:`Edit product`,loading:`Loading productsâ¦`,loadError:`Products could not be loaded`,empty:`No products found`,emptyDescription:`No catalog products match this view.`,pages:`Product pages`,oneVariant:`One variant`,variantCount:`{{count}} variants`,noImage:`No product image`,chooseImage:`Choose image`,mediaRequired:`Enable Media to select an image.`,deactivate:`Deactivate`,activate:`Activate`,deactivateConfirm:`Deactivate {{name}}? It will disappear from the public catalog.`,deactivated:`Product deactivated.`,activated:`Product activated.`,created:`Product created.`,updated:`Product updated.`,saveError:`The product could not be saved.`},variants:{title:`Variants and inventory`,add:`Add variant`,default:`Default variant`,noSku:`No SKU`,stockCount:`{{count}} in stock`,actions:`Actions for {{name}}`,deactivateConfirm:`Deactivate this variant? It will no longer be purchasable.`,deactivated:`Variant deactivated.`,saved:`Variant saved.`,saveError:`The variant could not be saved.`},validation:{requiredProduct:`Name and slug are required.`,variantNumbers:`Variant price and stock must be valid non-negative numbers.`},orders:{title:`Orders`,count_one:`{{count}} order`,count_other:`{{count}} orders`,loading:`Loading ordersâ¦`,loadingDetail:`Loading orderâ¦`,loadError:`Orders could not be loaded`,detailLoadError:`The order could not be loaded`,empty:`No orders found`,emptyDescription:`No orders match this view.`,pages:`Order pages`,units_one:`{{count}} unit`,units_other:`{{count}} units`,fulfilled:`Fulfilled`,view:`View`,viewOrder:`View order {{id}}`,back:`Back to orders`,detailTitle:`Order detail`,items:`Order lines`,lineCount_one:`{{count}} line`,lineCount_other:`{{count}} lines`,buyer:`Buyer`,lifecycle:`Payment and fulfillment`,fulfilledAt:`Fulfilled at`,restockedAt:`Restocked at`,notFulfilled:`Not fulfilled`,notRestocked:`Stock still assigned`,closedReason:`Closed reason`,operations:`Operations`,fulfill:`Mark fulfilled`,undoFulfill:`Undo fulfillment`,fulfillUnavailable:`Only orders containing a payment can be fulfilled.`,fulfilledSuccess:`Order marked fulfilled.`,fulfillUndone:`Fulfillment undone.`,restock:`Restock items`,restockConfirm:`Return every item in this order to available stock?`,restockedSuccess:`Order stock restored.`,cancelOrder:`Cancel order`,cancelConfirm:`Cancel this pending order? Its payment is cancelled before stock is released.`,cancelledSuccess:`Order cancelled.`,actionError:`The order action could not be completed.`,review:`Payment exception`,reviewTitle:`This order needs an operator decision`,reviewDescription:`Resolving the review changes the order only. Any refund must be performed in Payments.`,honorOrder:`Honor order`,closeOrder:`Close order`,honorReviewConfirm:`Honor this order? If stock was released, Ecommerce will reserve it again.`,closeReviewConfirm:`Close this order without changing its payment?`,reviewResolved:`Order review resolved.`},review:{duplicate_payment:`Duplicate payment`,amount_mismatch:`Amount mismatch`,paid_after_close:`Paid after close`,unknown:`Reason unavailable`},closed:{expired:`Expired`,rejected:`Rejected`,cancelled:`Cancelled`}}},Fc={common:{actions:{activate:`Activar`,apply:`Aplicar filtros`,back:`Atrás`,cancel:`Cancelar`,close:`Cerrar`,confirm:`Confirmar`,create:`Crear`,deactivate:`Desactivar`,delete:`Eliminar`,discard:`Descartar`,edit:`Editar`,next:`Siguiente`,reset:`Restablecer`,retry:`Intentar de nuevo`,save:`Guardar`,saving:`Guardandoâ¦`,signOut:`Cerrar sesión`,view:`Ver`},accessibility:{accountActions:`Acciones de la cuenta`,actions:`Acciones`,actionsFor:`Acciones para {{name}}`,close:`Cerrar`,home:`Inicio de {{name}}`,navigation:`Navegación de la intranet`,toggleNavigation:`Alternar navegación de la intranet`},errors:{generic:`Ocurrió un error. Inténtalo de nuevo.`},dialogs:{discardChanges:`¿Descartar los cambios sin guardar?`},navigation:{moduleLabels:{dashboard:`Dashboard`,posts:`Entradas`,media:`Medios`,identity:`Identidad`,ecommerce:`Comercio`,advertising:`Publicidad`,scheduler:`Horarios`,workshops:`Talleres`,payments:`Pagos`,donations:`Donaciones`,radio:`Radio`},activities:`Actividades`,ads:`Anuncios`,advertising:`Publicidad`,blog:`Blog`,categories:`CategorÃas`,dashboard:`Panel`,ecommerce:`Comercio electrónico`,customerAccounts:`Cuentas de clientes`,groups:`Grupos`,library:`Biblioteca`,media:`Medios`,donations:`Donaciones`,campaigns:`Campañas`,donors:`Donantes`,payments:`Pagos`,posts:`Publicaciones`,products:`Productos`,orders:`Pedidos`,promotions:`Promociones`,registrations:`Inscripciones`,sales:`Ventas`,scheduler:`Programación`,schedules:`Grillas`,profile:`Perfil`,settings:`Configuración del sitio`,taxonomy:`TaxonomÃa`,users:`Usuarios`,workshop:`Taller`,workshops:`Talleres`,transactions:`Transacciones`,paymentProviders:`Proveedores`,refunds:`Devoluciones`,deliveryIssues:`Eventos`,workspace:`Espacio de trabajo`,management:`Gestión`,status:`Estado`,historySearch:`Búsqueda histórica`},pagination:{ariaLabel:`{{label}}, {{position}}`,bottom:`inferior`,goToPage:`Ir a la página {{page}}`,top:`superior`},route:{loadingPrivateApplication:`Cargando la aplicación privada`,loadingIntranet:`Cargando la intranet`,loadingModule:`Cargando el m
13ódulo`,notFoundDescription:`Es posible que la dirección haya cambiado o que la herramienta no esté disponible para este sitio.`,notFoundTitle:`Esta página de la intranet no existe.`,restoringSession:`Restaurando la sesión`,returnToDashboard:`Volver al panel`},status:{active:`Activo`,enabled:`Habilitado`,inactive:`Inactivo`,imported:`Importado`,native:`Nativo`,new:`Nuevo`,notEnabled:`No habilitado`,readOnly:`Solo lectura`,seen:`Visto`},table:{actions:`Acciones`,status:`Estado`,updated:`Actualizado`}},auth:{accessDenied:{description:`Iniciaste sesión como <role>{{role}}</role> para {{site}}. Esta página requiere <required>{{required}}</required>.`,title:`Esta sección no está disponible para tu cuenta.`,unknownRole:`desconocido`},login:{backToWebsite:`Volver al sitio web`,email:`Correo electrónico`,intro:`Inicia sesión para acceder a las herramientas, los flujos de trabajo y las operaciones de publicación de este sitio.`,password:`Contraseña`,showPassword:`Mostrar contraseña`,hidePassword:`Ocultar contraseña`,preferences:`Preferencias de la intranet`,language:`Idioma`,english:`EN`,spanish:`ES`,useDarkTheme:`Usar tema oscuro`,useLightTheme:`Usar tema claro`,privateWorkspace:`Espacio privado`,signIn:`Ingresar a la intranet`,signingIn:`Iniciando sesiónâ¦`,welcome:`Te damos la bienvenida.`},permissions:{additional:`Permiso adicional`,role:`Rol: {{roles}}`,roleSeparator:` o `},roles:{admin:`Administrador`,editor:`Editor`,superadmin:`Superadministrador`},unavailable:{description:`El espacio privado de este sitio está deshabilitado. Puedes seguir navegando por el sitio público.`,privateWorkspace:`Espacio privado`,returnToWebsite:`Volver al sitio web`,title:`La intranet no está disponible.`},validation:{email:`Ingresa un correo electrónico válido.`,passwordRequired:`La contraseña es obligatoria.`},errors:{canonicalMissing:`Falta configurar la URL canónica de este sitio.`,noSiteAccess:`Tu cuenta no tiene acceso a {{site}}.`,signIn:`No se pudo iniciar sesión.`,superadminUnavailable:`El acceso de superadministración no está disponible en este cliente.`}},userPortal:{auth:{portal:`Cuenta de usuario`,recovery:`Recuperación de cuenta`,verification:`Verificación de correo`},fields:{email:`Correo electrónico`,password:`Contraseña`,newPassword:`Nueva contraseña`,firstName:`Nombre`,lastName:`Apellido`,confirmPassword:`Confirmar contraseña`},actions:{signIn:`Ingresar`,signingIn:`Ingresandoâ¦`,createAccount:`Crear cuenta`,creating:`Creando cuentaâ¦`,backToWebsite:`Volver al sitio web`,backToLogin:`Volver al ingreso`,showPassword:`Mostrar contraseña`,hidePassword:`Ocultar contraseña`,showConfirmation:`Mostrar confirmación de contraseña`,hideConfirmation:`Ocultar confirmación de contraseña`,sendLink:`Enviar enlace de recuperación`,savePassword:`Guardar nueva contraseña`,saving:`Guardandoâ¦`,requestNewLink:`Solicitar un enlace nuevo`,retryIn:`Reintentar en {{seconds}}s`,retry:`Reintentar`,previous:`Anterior`,next:`Siguiente`,resend:`Reenviar correo de verificación`,returnToWebsite:`Volver al sitio web`,logout:`Cerrar sesión`},login:{title:`Te damos la bienvenida.`,description:`Ingresa para continuar a tu cuenta.`,forgot:`¿Olvidaste tu contraseña?`,new:`¿Es tu primera vez?`,create:`Crear una cuenta`},register:{title:`Crea tu cuenta.`,description:`Mantén tu actividad en este sitio vinculada en un solo lugar.`,passwordCounter:`{{characters}} / 8 caracteres como mÃnimo`},registerResult:{successTitle:`Tu cuenta fue creada.`,successDescription:`Revisa tu correo para verificar esta cuenta.`,failedTitle:`Hubo un problema al crear tu cuenta.`},forgot:{title:`Recupera tu cuenta.`,description:`Ingresa tu correo y enviaremos instrucciones si la cuenta puede recibirlas.`},reset:{title:`Elige una nueva contraseña.`,description:`Este enlace seguro se puede usar una vez y vence después de una hora.`,successTitle:`Tu contraseña fue actualizada.`,successDescription:`Ya puedes ingresar con tu nueva contraseña.`,redirecting:`Te llevaremos al ingreso en {{seconds}} segundosâ¦`},verify:{title:`Verifica tu correo.`,description:`Estamos confirmando el enlace seguro para este sitio.`,processing:`Verificando tu correoâ¦`,successTitle:`Tu correo fue verificado.`,successDescription:`Tu cuenta está lista.`,redirecting:`Te llevaremos a tu cuenta en {{seconds}} segundosâ¦`},dashboard:{eyebrow:`Resumen de la cuenta`,title:`Panel`,welcome:`Bienvenido/a, {{name}}`,description:`Tu cuenta de usuario está lista.`,verifyTitle:`Verifica tu correo`,verifyDescription:`Verifica tu dirección para vincular la actividad elegible que realizaste antes de crear esta cuenta.`,alreadyVerified:`Tu correo ya está verificado.`,status:`Estado del correo`,verified:`Verificado`,pending:`Verificación pendiente`},messages:{emailSent:`Te mandamos un mail a esa dirección.`},validation:{required:`Este campo es obligatorio.`,email:`Ingresa un correo electrónico válido.`,passwordBytes:`Usa al menos 8 caracteres y no más de 72 bytes UTF-8.`,passwordMatch:`Las contraseñas deben coincidir.`,nameLetter:`Ingresa al menos una letra.`,name:`El nombre y el apellido juntos deben tener 180 caracteres o menos.`}
13,errors:{notConfigured:`La identidad de usuarios no está configurada para este sitio.`,signIn:`No se pudo iniciar sesión.`,invalidCredentials:`El correo o la contraseña son incorrectos.`,register:`No se pudo crear la cuenta.`,recovery:`No se pudo solicitar el correo de recuperación.`,missingToken:`A este enlace le falta el token seguro. Solicita un correo nuevo.`,invalidToken:`Este enlace es inválido, venció o ya fue utilizado.`,resend:`No se pudo reenviar el correo de verificación.`},preferences:{label:`Preferencias del portal`,language:`Idioma`,english:`EN`,spanish:`ES`,dark:`Usar tema oscuro`,light:`Usar tema claro`},navigation:{label:`Navegación del portal de usuarios`,toggle:`Alternar navegación`,workspace:`Espacio de trabajo`,dashboard:`Panel`,orders:`Pedidos`,settings:`Configuración de usuario`,accountActions:`Acciones de la cuenta`},orders:{context:`Historial de compras`,title:`Pedidos`,loading:`Cargando pedidosâ¦`,error:`No se pudieron cargar los pedidos.`,empty:`TodavÃa no hay pedidos`,emptyDescription:`Los pedidos vinculados con esta cuenta aparecerán aquÃ.`,orderNumber:`Pedido {{id}}`,items_one:`{{count}} artÃculo`,items_other:`{{count}} artÃculos`,pages:`Páginas de pedidos`,page:`Página {{page}} de {{pages}}`,loadingDetail:`Cargando pedidoâ¦`,detailError:`No se pudo cargar este pedido.`,back:`Volver a pedidos`,statusLabel:`Estado`,created:`Creado`,total:`Total`,lines:`ArtÃculos del pedido`,defaultVariant:`Estándar`,status:{pending:`Pendiente`,paid:`Pagado`,closed:`Cerrado`,partially_refunded:`Reintegrado parcialmente`,refunded:`Reintegrado`,review_required:`Requiere revisión`}},settings:{context:`Preferencias personales`,title:`Configuración de usuario`,preferencesTitle:`Preferencias de la interfaz`,preferencesDescription:`Elige el idioma y la apariencia que se usan en todo el portal.`,accountTitle:`Información de la cuenta`,accountDescription:`Revisa la identidad vinculada con esta cuenta.`,name:`Nombre`},availability:{loadingTitle:`Comprobando la disponibilidad del portalâ¦`,loadingDescription:`Estamos confirmando que el acceso de usuarios esté habilitado para este sitio.`,errorTitle:`No se pudo comprobar la disponibilidad del portal.`,errorDescription:`Revisa tu conexión e inténtalo nuevamente. No se envió ninguna solicitud de cuenta.`,retry:`Reintentar`},states:{restoring:`Restaurando tu sesiónâ¦`},notFound:{title:`Esta página del portal no existe.`,description:`La dirección puede estar desactualizada o incompleta.`,action:`Volver a tu cuenta`},unavailable:{description:`El acceso para clientes todavÃa no está habilitado en este sitio. Puedes seguir navegando por el sitio público.`,portal:`Portal de usuarios`,returnToWebsite:`Volver al sitio web`,title:`El portal de usuarios no está disponible.`}},dashboard:{eyebrow:`Resumen del sitio`,title:`Panel`,ariaLabel:`Métricas de módulos habilitados`,open:`Abrir`,openModule:`Abrir {{module}}`,retry:`Reintentar`,reportingPeriod:`Año informado de Buenos Aires · {{from}}â{{to}}`,states:{loading:`Cargando métricas del móduloâ¦`,unavailable:`Métricas no disponibles`,notConfigured:`El módulo está habilitado, pero su API no está configurada.`,error:`No se pudieron cargar las métricas`,errorDescription:`El módulo sigue disponible. Intenta cargar su resumen nuevamente.`,preparing:`Los datos de Medios se están preparando`,preparingDescription:`Este sitio todavÃa no llegó al servicio de Medios. Reintenta cuando termine la replicación.`,empty:`No hay módulos habilitados para el panel`,emptyDescription:`Habilita un módulo compatible para mostrar aquà su resumen operativo.`},blog:{title:`Publicaciones`,posts:`Todas las publicaciones`,categories:`CategorÃas`,tags:`Etiquetas`},media:{title:`Medios`,items:`Elementos de la biblioteca`,storage:`Almacenamiento`,storageUsed:`Almacenamiento utilizado`,used:`Usado`,available:`Disponible`,unlimited:`Ilimitado`,usedOf:`{{used}} de {{quota}}`},advertising:{title:`Publicidad`,advertisements:`Anuncios`,groups:`Grupos`,activeGroups:`Grupos activos`},scheduler:{title:`Programación`,schedules:`Grillas`,activities:`Actividades`},workshop:{title:`Talleres`,registrations:`Inscripciones`,workshops:`Talleres`},donations:{title:`Donaciones`,netAccredited:`Neto acreditado`,accredited:`Donaciones acreditadas`,pending:`Pendientes`,refunded:`Devuelto`},ecommerce:{title:`Comercio electrónico`,netSales:`Ventas netas`,sales:`Ventas`,pending:`Pendientes`,reviewRequired:`Requieren revisión`,refunded:`Devuelto`},identity:{title:`Identidad de clientes`,endUsers:`Cuentas totales`,verified:`Cuentas verificadas`,newInPeriod:`Nuevas este año`},radio:{title:`Radio`,listeners:`Oyentes actuales`,status:`Señal`,online:`Al aire`,offline:`Fuera del aire`,unknown:`Desconocido`,unconfigured:`No hay un stream de radio configurado`,unconfiguredDescription:`El servicio de Radio todavÃa no recibió la configuración del stream para este sitio.`},modules:{additionalDescription:`Herramientas y funciones adicionales para este sitio.`,advertisingDescription:`Administra los anuncios y su orden de publicación.`,ariaLabel:`Módulos del sitio`,count:`{{enabled}} de {{total}} habilitados`,donationsDescription:`Administra campañas de recaudación, donaciones y actividad de colaboradores.`,ecommerceDescription:`Administra productos y operaciones de la tienda.`,mediaDescription:`Organiza imágenes, videos y documentos.`,none:`No hay módulos configurados para este sitio.`,postsDescription:`Crea y administra contenido editorial.`,schedulerDescription:`Planifica programas, grillas y horarios de emisión.`,workshopDescription:`Coordina los servicios y operaciones de talleres.`,paymentsDescription:`Revisa transacciones, proveedores, devoluciones y problemas de entrega de pagos.`,radioDescription:`Supervisa la señal en vivo, la audiencia, el historial y la salud del recolector.`}},profile:{account:{description:`Revisa la identidad y el nivel de acceso vinculados con esta cuenta.`,email:`Correo electrónico`,name:`Nombre`,color:`Color derivado`,colorPending:`Ingresa un nombre para derivar el color`,readOnly:`Contacta a un administrador si necesitas modificar estos datos de la cuenta.`,role:`Rol`,title:`Información de la cuenta`},appearance:{dark:`Oscuro`,description:`Alterna entre los temas claro y oscuro de la intranet.`,light:`Claro`,title:`Apariencia`},description:`Revisa tu cuenta, personaliza la interfaz y protege tu contraseña.`,language:{description:`Elige el idioma utilizado en todo el espacio privado.`,english:`English`,label:`Idioma de la interfaz`,spanish:`Español`,title:`Idioma`},password:{confirm:`Confirmar contraseña nueva`,current:`Contraseña actual`,description:`Usa tu contraseña actual para elegir una nueva de al menos ocho caracteres.`,errors:{generic:`No se pudo actualizar tu contraseña. Revisa la conexión e inténtalo nuevamente.`,incorrect:`La contraseña actual es incorrecta.`},hideConfirm:`Ocultar confirmación de contraseña`,hideCurrent:`Ocultar contraseña actual`,hideNew:`Ocultar contraseña nueva`,new:`Contraseña nueva`,save:`Cambiar contraseña`,saving:`Cambiando contraseñaâ¦`,showConfirm:`Mostrar c
13onfirmación de contraseña`,showCurrent:`Mostrar contraseña actual`,showNew:`Mostrar contraseña nueva`,success:`Tu contraseña se actualizó.`,title:`Contraseña`,validation:{confirmRequired:`Confirma tu contraseña nueva.`,currentRequired:`Ingresa tu contraseña actual.`,match:`Las contraseñas nuevas deben coincidir.`,minimum:`La contraseña nueva debe tener al menos 8 caracteres.`}},title:`Perfil`,context:`Preferencias personales`},settings:{categories:{ariaLabel:`CategorÃas de configuración del sitio`,integrations:`Integraciones`,modules:`Módulos`,"module-configuration":`Configuración de módulos`,tools:`Herramientas`},empty:{toolsTitle:`TodavÃa no hay herramientas del sitio`,toolsDescription:`La configuración de herramientas aparecerá aquà cuando el sitio habilite funciones configurables.`,integrationsTitle:`TodavÃa no hay integraciones`,integrationsDescription:`La configuración de servicios conectados aparecerá aquà cuando haya integraciones disponibles.`},moduleConfiguration:{ariaLabel:`Configuración de módulos`,emptyTitle:`No hay módulos configurables`,emptyDescription:`La configuración aparece aquà cuando un módulo habilitado ofrece ajustes propios del sitio.`,loading:`Cargando configuraciónâ¦`,loadError:`No se pudo cargar la configuración`,saved:`Configuración guardada.`,saveError:`No se pudo guardar la configuración.`,ecommerce:{context:`Comercio electrónico`,title:`Acceso al checkout`,description:`Elige si los clientes pueden comprar sin iniciar sesión.`,policy:`PolÃtica de checkout`,values:{guest_only:`Compra como invitado`,optional:`Cuenta opcional`,account_required:`Cuenta obligatoria`},help:{guest_only:`Se puede comprar sin cuenta; las compras con sesión se vinculan igualmente.`,optional:`Se recomienda una cuenta, pero sigue siendo opcional.`,account_required:`El cliente debe iniciar sesión antes de crear la orden.`}}},tools:{ariaLabel:`Herramientas de mantenimiento del sitio`,ready:`Lista`,destructive:`Destructiva`,moduleUnavailable:`Módulo no dis
13ponible`,backendRequired:`Requiere soporte del backend`,unavailable:`No disponible`,run:`Ejecutar herramienta`,running:`En ejecuciónâ¦`,stop:`Detener después del actual`,retryFailed:`Reintentar fallidos`,leaveConfirm:`Hay una herramienta de mantenimiento en ejecución. ¿Salir de esta página y detenerla después del registro actual?`,activityColors:{title:`Estandarizar colores de actividades`,description:`Genera un color estable de seis dÃgitos desde el nombre de cada actividad y actualiza los que difieran.`,confirm:`¿Estandarizar los colores de todas las actividades? Se reemplazarán los colores personalizados actuales.`},categoryColors:{title:`Estandarizar colores de categorÃas`,description:`Genera un color estable de seis dÃgitos desde el nombre de cada categorÃa y actualiza los que difieran.`,confirm:`¿Estandarizar todos los colores de categorÃas? Los colores existentes serán reemplazados.`},posts:{title:`Estandarizar publicaciones heredadas`,description:`Convierte publicaciones heredadas que solo tienen HTML a los formatos editable y renderizado canónicos.`,confirm:`¿Estandarizar todas las publicaciones heredadas que solo tienen HTML? Los cambios completados no se pueden revertir desde esta pantalla.`,discoveringPage:`Leyendo publicaciones {{status}}, página {{page}}`,status:{draft:`en borrador`,published:`publicadas`,archived:`archivadas`}},dangerZone:{title:`Zona de peligro`,description:`Estas herramientas irreversibles requieren la contraseña de la zona de peligro antes de ejecutarse.`,passwordLabel:`Contraseña de la zona de peligro`,passwordRequired:`Ingresa la contraseña de la zona de peligro.`,passwordIncorrect:`La contraseña de la zona de peligro es incorrecta.`},deletePosts:{title:`Eliminar publicaciones en masa`,description:`Reúne todos los borradores y publicaciones publicadas o archivadas, y elimina cada una de forma permanente.`,action:`Eliminar todas`,confirm:`¿Eliminar permanentemente todas las publicaciones de este sitio? Esta acción no se puede deshacer.`,discoveringPage:`Reuniendo publicaciones {{status}}, página {{page}}`},progress:{context:`Ejecución de mantenimiento`,discovering:`Buscando registrosâ¦`,processing:`Procesando`,completed:`Completada`,stopped:`Detenida`,count:`{{current}} de {{total}} procesados`,current:`Actual: {{name}}`,updated:`Actualizados`,deleted:`Eliminados`,skipped:`Omitidos`,failed:`Fallidos`,failures:`Registros que requieren atención`,moreFailures:`No se muestran {{count}} fallos adicionales.`,success:`Todos los registros encontrados se procesaron correctamente.`},errors:{activity:`No se pudo actualizar la actividad.`,category:`No se pudo actualizar la categorÃa.`,post:`No se pudo estandarizar la publicación.`,deletePost:`No se pudo eliminar la publicación.`,discovery:`No se pudieron buscar los registros.`}},modules:{additionalDescription:`Herramientas y funciones adicionales para este sitio.`,advertisingDescription:`Administra los anuncios y su orden de publicación.`,ariaLabel:`Módulos del sitio`,count:`{{enabled}} de {{total}} habilitados`,donationsDescription:`Administra campañas de recaudación, donaciones y actividad de colaboradores.`,ecommerceDescription:`Administra productos y operaciones de la tienda.`,mediaDescription:`Organiza imágenes, videos y documentos.`,none:`No hay módulos configurados para este sitio.`,paymentsDescription:`Revisa transacciones, proveedores, devoluciones y problemas de entrega de pagos.`,radioDescription:`Supervisa la señal en vivo, la audiencia, el historial y la salud del recolector.`,postsDescription:`Crea y administra contenido editorial.`,schedulerDescription:`Planifica programas, grillas y horarios de emisión.`,workshopDescription:`Coordina los servicios y operaciones de talleres.`},title:`Configuración del sitio`},users:{actions:{create:`Crear editor`,created:`Editor creado.`,updated:`Editor actualizado.`,activated:`Editor activado.`,deactivated:`Editor desactivado.`,deactivateConfirm:`¿Desactivar a {{name}}? Perderá el acceso a sus sitios asignados hasta que vuelva a activarse.`,edit:`Editar editor`,new:`Nuevo editor`,
13saveChanges:`Guardar cambios`},description:`Administra quiénes pueden trabajar en los sitios de este cliente y a cuáles tienen acceso.`,context:`Usuarios`,empty:{description:`Crea el primer editor y elige sus sitios asignados.`,title:`TodavÃa no hay editores`},errors:{create:`No se pudo crear el editor.`,load:`No se pudieron cargar los editores`,update:`No se pudo actualizar el editor.`},fields:{assignedSites:`Sitios asignados`,email:`Correo electrónico`,keepPassword:`(dejar en blanco para mantener la actual)`,name:`Nombre`,newPassword:`Nueva contraseña`,role:`Rol`,siteAssignments:`Asignación de sitios`,temporaryPassword:`Contraseña temporal`,user:`Usuario`},loading:`Cargando editoresâ¦`,noSites:`No hay sitios asignados`,title:`Editores`,validation:{email:`Ingresa un correo electrónico válido.`,name:`El nombre es obligatorio.`,password:`Usa al menos 8 caracteres.`}},blog:{actions:{add:`Agregar`,applyFilters:`Aplicar filtros`,archive:`Archivar`,chooseImage:`Elegir imagen`,discardChanges:`Descartar cambios`,editPost:`Editar publicación`,keepEditing:`Seguir editando`,newPost:`Nueva publicación`,overwrite:`Sobrescribir`,publish:`Publicar`,reloadNewer:`Cargar la versión más reciente`,remove:`Quitar`,restoreDraft:`Restaurar como borrador`,restorePublished:`Restaurar publicación`,savePost:`Guardar publicación`,unpublish:`Despublicar`,viewSource:`Ver fuente`},actionsFor:{archive:`Archivar {{title}}`,delete:`Eliminar {{title}}`,edit:`Editar {{title}}`,publish:`Publicar {{title}}`,restoreDraft:`Restaurar {{title}} como borrador`,restorePublished:`Restaurar la publicación de {{title}}`,unpublish:`Despublicar {{title}}`},detail:{back:`Volver a publicaciones`,edit:`Editar publicación`,featuredImage:`Sin imagen destacada`,imported:`Importada · WP {{id}}`,invalid:`Dirección de publicación no válida`,native:`Publicación nativa`,notPublished:`No publicada`,original:`Original`,published:`Publicada`,slug:`Slug`,taxonomies:`TaxonomÃas`,unavailable:`Publicación no disponible`,updated:`Actualizada`},editor:{acknowledgeConversion:`Confirma el informe de conversión del contenido heredado antes de guardar.`,back:`Volver a la publicación`,categories:`CategorÃas`,conflictDescription:`Carga la versión más reciente o sobrescrÃbela con tu trabajo actual.`,conflictTitle:`Esta publicación cambió en otro lugar`,conversionAcknowledgement:`Entiendo que guardar reemplaza el HTML heredado con el formato compatible del editor.`,conversionTitle:`Conversión del contenido heredado`,conversionStoredJson:`No se pudieron leer los datos guardados del editor, por lo que se convirtió la versión HTML.`,conversionFlattenedTag:`El elemento <{{tag}}> se convirtió en contenido sin formato.`,conversionAttributeRemoved:`Se eliminó el atributo {{attribute}}.`,conversionClassRemoved:`Se eliminaron clases CSS no compatibles.`,conversionStyleRemoved:`Se eliminó el estilo {{property}}.`,conversionUnsupportedFont:`Se eliminó una familia tipográfica no compatible.`,conversionInvalidFontSize:`Se eliminó un tamaño de fuente no válido.`,conversionInvalidTextAlign:`Se eliminó una alineación de texto no válida.`,conversionUrlRemoved:`Se eliminó una URL no segura del atributo {{attribute}}.`,conversionIframeRemoved:`Se eliminó un marco insertado no aprobado.`,conversionUnsafeIframeRemoved:`No se permiten iframes sin sanitizar. Se eliminó el iframe con origen: {{src}}`,galleryConverted_one:`{{adapter}} se convirtió en una galerÃa editable con {{count}} imagen.`,galleryConverted_other:`{{adapter}} se convirtió en una galerÃa editable con {{count}} imágenes.`,galleryItemsDropped:`Se conservaron {{converted}} de {{original}} imágenes de la galerÃa; se quitaron las imágenes no válidas.`,galleryMissingAlt_one:`{{count}} imagen de la galerÃa no tiene texto alternativo.`,galleryMissingAlt_other:`{{count}} imágenes de la galerÃa no tienen texto alternativo.`,contentLoadError:`No se pudo cargar el cuerpo guardado de la publicación. Vuelve a intentarlo antes de editar o guardar.`,discardDescription:`Los cambios de la publicación no se guardaron.`,discardTitle:`¿Descartar los cambios sin guardar?`,excerpt:`Extracto`,generateExcerpt:`Generar extracto`,generatingExcerpt:`Generando extractoâ¦`,excerptErrors:{authentication:`La clave del servicio de extractos fue rechazada.`,"rate-limit":`La cuota gratuita de extractos está agotada temporalmente. Inténtalo más tarde.`,unavailable:`La generación gratuita de extractos no está disponible temporalmente. Inténtalo de nuevo.`,"invali
13d-response":`El servicio de extractos devolvió una respuesta no válida. Inténtalo de nuevo.`,network:`No se pudo conectar con el servicio de extractos. Revisa la conexión y vuelve a intentarlo.`},featuredImage:`Imagen destacada`,generatedSlug:`Generado a partir del tÃtulo`,information:`Meta de la publicación`,basicTab:`Básico`,metaTab:`Meta`,legacyTab:`Heredado`,settingsSections:`Secciones de configuración de la publicación`,noLegacyIssues:`Esta publicación no tiene información de compatibilidad heredada.`,mediaDisabled:`El módulo de medios no está habilitado para este sitio.`,legacyDescription:`Esta publicación se importó como HTML. Su cuerpo completo está cargado y se actualizará al formato compatible del editor cuando guardes.`,legacyBadge:`Heredado`,legacyDetails:`Detalles del contenido heredado`,legacyNoRemovals:`No se eliminó contenido incompatible durante la importación.`,legacyTitle:`Contenido heredado cargado`,invalidJsonLegacyDescription:`Los datos guardados del editor no eran válidos, por lo que se cargó el cuerpo HTML completo. Revisa el informe de conversión antes de guardar.`,noImage:`Ninguna`,postContent:`Contenido de la publicación`,postSettings:`Configuración de la publicación`,postStatus:`Estado de la publicación`,postTitle:`TÃtulo de la publicación`,publicationStatus:`Estado de publicación`,publishing:`Publicación`,saved:`Guardado`,savedAt:`Guardado {{time}}`,saving:`Guardandoâ¦`,slug:`Slug`,startWriting:`Comienza a escribirâ¦`,searchCategories:`Buscar categorÃas`,searchTags:`Buscar etiquetas`,taxonomyAdded:`Se agregó {{name}}.`,taxonomyRemoved:`Se quitó {{name}}.`,taxonomySuggestions:`Sugerencias de {{kind}}`,selectedTaxonomies:`{{kind}} seleccionadas`,removeTaxonomy:`Quitar {{name}}`,taxonomyLoading:`Cargando {{kind}}â¦`,taxonomyLoadError:`No se pudieron cargar {{kind}}.`,taxonomyNoMatches:`No se encontraron coincidencias.`,taxonomyAllSelected:`Todos los términos disponibles están seleccionados.`,taxonomyMoreMatches_one:`{{count}} coincidencia más. Sigue escribiendo para acotar la lista.`,taxonomyMoreMatches_other:`{{count}} coincidencias más. Sigue escribiendo para acotar la lista.`,tags:`Etiquetas`,untitled:`Publicación sin tÃtulo`,unsaved:`Cambios sin guardar`},errors:{checkChanges:`No se pudo comprobar si la publicación tenÃa cambios.`,create:`No se pudo crear la publicación.`,load:`No se pudieron cargar las publicaciones`,notConfigured:`El servicio de blog no está configurado`,notConfiguredDescription:`Configura VITE_BLOG_API_BASE_URL para conectar la administración de publicaciones.`,notFound:`No se encontró esta publicación.`,save:`No se pudo guardar la publicación.`},filters:{activeStatuses:`Borradores y publicadas`,allStatuses:`Todos los estados`,allCategories:`Todas las categorÃas`,allTags:`Todas las etiquetas`,category:`CategorÃa`,searchPlaceholder:`Buscar publicaciones`,searchTitles:`Buscar tÃtulos`,status:`Estado`,tag:`Etiqueta`},listing:{archived:`Archivada`,categories:`CategorÃas`,context:`Espacio de publicación`,created:`Creada`,dates:`Fechas`,description:`Revisa, publica, archiva y organiza las historias de este sitio.`,draft:`Borrador`,emptyFiltered:`Prueba cambiar los filtros activos.`,emptyFuture:`Las publicaciones aparecerán aquà cuando se agregue contenido.`,emptyTitle:`No se encontraron publicaciones`,loading:`Cargando publicacionesâ¦`,noExcerpt:`No se proporcionó un extracto.`,modified:`Modificada`,none:`Ninguna`,pages:`Páginas de publicaciones`,post:`Publicación`,postsCount_one:`{{count}} publicación`,postsCount_other:`{{count}} publicaciones`,published:`Publicada`,taxonomy:`TaxonomÃa`,title:`Publicaciones`},mutation:{archived:`Publicación archivada.`,confirmDelete:`¿Eliminar â{{title}}â de forma permanente? Esta acción no se puede deshacer.`,deleted:`Publicación eliminada.`,draft:`La publicación se movió a borradores.`,published:`Publicación publicada.`},taxonomy:{categories:`CategorÃas`,category:`categorÃa`,color:`Color derivado`,context:`Organización del sitio`,created:`Se creó â{{name}}â con el slug â{{slug}}â.`,createError:`No se pudo crear el término.`,deleteConfirm:`¿Eliminar â{{name}}â? Si está en uso, primero debes reasignar las publicaciones.`,deleted:`Se eliminó â{{name}}â.`,deleteError:`No se pudo eliminar el término. Es posible que todavÃa esté asignado a publicaciones.`,de
13scription:`Administra las categorÃas y etiquetas que se usan para organizar publicaciones.`,editHelp:`Cambiar el nombre vuelve a generar el slug. Para cambiar solo el slug, deja el nombre sin cambios.`,name:`Nombre`,imported:`Importado`,loadError:`No se pudieron cargar: {{kind}}`,loading:`Cargando {{kind}}â¦`,newName:`Nombre de la nueva {{kind}}`,noMatches:`Ningún término coincide con la búsqueda.`,none:`TodavÃa no hay {{kind}}.`,renameHelp:`Al guardar el nuevo nombre también se vuelve a generar el slug.`,saveError:`No se pudo guardar el término.`,saved:`Cambios guardados.`,search:`Buscar categorÃas y etiquetas`,slug:`Slug`,slugEditHelp:`Deja el nombre sin cambios para editar únicamente el slug público.`,tag:`etiqueta`,tags:`Etiquetas`,termType:`Tipo de término`,title:`TaxonomÃa`},toolbar:{addLink:`Agregar o editar enlace`,alignCenter:`Alinear al centro`,alignLeft:`Alinear a la izquierda`,alignRight:`Alinear a la derecha`,alternativeText:`Texto alternativo`,blockStyle:`Estilo de bloque`,bold:`Negrita`,bulletedList:`Lista con viñetas`,caption:`Leyenda`,clearFormatting:`Quitar formato`,columns2:`2 columnas`,columns3:`3 columnas`,columns:`Diseño de columnas`,controls:`Controles del editor`,decreaseMediaWidth:`Reducir ancho del medio`,decreaseTextSize:`Reducir tamaño del texto`,deleteMedia:`Eliminar el medio seleccionado`,editAlt:`Editar texto alternativo`,editCaption:`Editar leyenda o etiqueta`,editImageLink:`Editar enlace de la imagen`,embed:`Medio insertado`,fontFamilies:`Familias tipográficas`,fontFamily:`Familia tipográfica`,fromLink:`Desde un enlace`,fromLibrary:`Desde la biblioteca de medios`,heading2:`Encabezado 2`,heading3:`Encabezado 3`,heading4:`Encabezado 4`,imageLink:`URL del enlace de la imagen`,increaseMediaWidth:`Aumentar ancho del medio`,increaseTextSize:`Aumentar tamaño del texto`,insert:`Insertarâ¦`,insertContent:`Insertar contenido`,italic:`Cursiva`,justify:`Justificar`,label:`Etiqueta`,linkPrompt:`URL del enlace (dejar vacÃa para quitarlo)`,media:`Medio`,mediaControls:`Controles del medio seleccionado`,mediaHint:`Selecciona una imagen o bloque multimedia para habilitar los controles.`,mediaWidth:`Ancho del medio en pÃxeles`,numberedList:`Lista numerada`,paragraph:`Párrafo`,quote:`Cita`,redo:`Rehacer`,removeColumns:`Quitar columnas y conservar el contenido`,replaceMedia:`Reemplazar el medio seleccionado`,resetMediaWidth:`Restablecer el ancho original del medio`,selectMedia:`Seleccionar {{kind}}`,strikethrough:`Tachado`,textSize:`Tamaño del texto en pÃxeles`,underline:`Subrayado`,undo:`Deshacer`},gallery:{addImages:`Agregar imágenes`,altText:`Texto alternativo`,blockLabel_one:`GalerÃa · {{count}} imagen`,blockLabel_other:`GalerÃa · {{count}} imágenes`,caption:`EpÃgrafe`,close:`Cerrar editor de galerÃa`,context:`Bloque de galerÃa`,delete:`Eliminar galerÃa`,deleteConfirm:`¿Eliminar este bloque de galerÃa y todas sus referencias?`,discardChanges:`¿Descartar los cambios sin guardar de la galerÃa?`,edit:`Editar`,help:`Reordena las imágenes o agrega más desde la Biblioteca de medios.`,insert:`Insertar galerÃa`,more_one:`+{{count}} imagen más`,more_other:`+{{count}} imágenes más`,moveEarlier:`Mover la imagen {{position}} hacia atrás`,moveLater:`Mover la imagen {{position}} hacia adelante`,removeImage:`Quitar la imagen {{position}}`,title_one:`Editar galerÃa · {{count}} imagen`,title_other:`Editar galerÃa · {{count}} imágenes`},insertMedia:{audio:`Audio`,cancel:`Cancelar`,checkAndInsert:`Comprobar e insertar`,checking:`Comprobando enlaceâ¦`,chooseType:`Elige el tipo de medio.`,close:`Cerrar diálogo de inserción de medios`,contentTypeMissing:`El servidor no proporcionó un tipo de contenido reconocible.`,downloadable:`Archivo descargable`,downloadFile:`Descargar archivo`,embedHelp:`Pega un enlace público de YouTube, Vimeo, Spotify o SoundCloud.`,embedTitle:`Insertar un medio`,httpsMedia:`URL HTTPS del medio`,image:`Imagen`,insertMedia:`Insertar medio`,insertVideo:`Insertar medio`,invalidEmbed:`La URL no corresponde a un medio público compatible.`,linkHelp:`El editor inspeccionará el enlace y elegirá el bloque adecuado de imagen, video, audio o descarga.`,linkTitle:`Insertar medio desde un enlace`,mediaType:`Tipo de medio`,postContent:`Contenido de la publicación`,selectType:`Seleccionar un tipo`,url:`Ingresa una URL.`,validHttps:`Ingresa una URL HTTPS válida.`,video:`Video`,embed:`medio insertado`,genericProvider:`Medio`,embedLabel:`{{provider}} insertado`,openProvider:`Abrir en {{provider}}`,videoLabel:`Video de {{provider}}`,videoEmbed:`Video de {{provider}} insertado`,videoUrl:`URL de YouTube, Vimeo, Spotify o SoundCloud`},validation:{title:`El tÃtulo es obligatorio.`,titleCharacters:`El tÃtulo debe tener al menos una letra o número.`}},media:{actions:{applyFilters:`Aplicar filtros`,chooseFiles:`Elegir archivos`,delete:`Eliminar`,deletePermanently:`Eliminar permanentemente`,deleting:`Eliminandoâ¦`,insertSelected:`Insertar selección`,search:`Buscar`,upload:`Subir`,uploadMedia:`Subir medios`,uploading:`Subiendoâ¦`},details:{altText:`Texto alternativo`,context:`Detalles del recurso`,copied:`Copiada`,copyFailed:`No se pudo copiar la URL. Selecciona el texto y cópialo manualmente.`,copyUrl:`Copiar URL`,copyUrlLabel:`Copiar URL del medio`,deleteDescription:`El servicio de medios no puede detectar referencias en publicaciones. Eliminarlo puede dejar imágenes o enlaces rotos en contenido publicado.`,deleteTitle:`¿Eliminar este recurso permanentemente?`,deleted:`Recurso multimedia eliminado.`,dimensions:`Dimensiones`,fullUrl:`URL completa de S3`,size:`Tamaño`,type:`Tipo`,uploaded:`Subido`,urlCopied:`URL del medio copiada`,urlCopiedLive:`La URL del medio se copió al portapapeles.`},empty:{description:`Sube los primeros recursos de este sitio.`,filtered:`Prueba cambiar los filtros activos.`,title:`No se encontraron medios`},errors:{delete:`No se pudo eliminar el recurso.`,load:`No se pudieron cargar los medios`,notConfigured:`El servicio de medios no está configurado`,n
13otConfiguredDescription:`Configura VITE_MEDIA_API_BASE_URL para conectar la biblioteca de medios.`,upload:`No se pudo completar la carga.`,uploadShort:`Falló la carga.`},filters:{all:`Todos los medios`,apply:`Aplicar filtros`,files:`Archivos`,images:`Imágenes`,list:`Lista`,mediaType:`Tipo de medio`,mediaView:`Vista de medios`,search:`Buscar nombres de archivo`,searchPlaceholder:`Buscar medios`,tiles:`Mosaico`,view:`Vista`},glyph:{archive:`archivo comprimido`,audio:`archivo de audio`,document:`documento`,file:`archivo`,image:`archivo de imagen`,video:`archivo de video`},listing:{assetCount_one:`{{count}} recurso`,assetCount_other:`{{count}} recursos`,context:`Espacio de recursos`,description:`Explora, previsualiza y administra los archivos compartidos de este sitio.`,loading:`Cargando mediosâ¦`,pages:`Páginas de medios`,preview:`Previsualizar {{name}}`,sizeUnavailable:`Tamaño no disponible`,title:`Biblioteca de medios`},picker:{acceptedMismatch:`Los archivos subidos no coinciden con los tipos de medios aceptados aquÃ.`,choose:`Elegir un recurso`,chooseMultiple:`Elegir recursos`,close:`Cerrar selector de medios`,insert:`Insertar selección`,insertCount_one:`Insertar {{count}} recurso`,insertCount_other:`Insertar {{count}} recursos`,library:`Biblioteca`,loading:`Cargando medios`,minimumSelection_one:`Selecciona al menos {{count}} imagen para crear una galerÃa.`,minimumSelection_other:`Selecciona al menos {{count}} imágenes para crear una galerÃa.`,noMatches:`No hay recursos coincidentes.`,page:`Página {{page}}`,pages:`Páginas del selector de medios`,previous:`Anterior`,search:`Buscar medios`,searchFilenames:`Buscar nombres de archivo`,selectedCount_one:`{{count}} seleccionado`,selectedCount_other:`{{count}} seleccionados`,source:`Origen de medios`,upload:`Subir`,uploadFailed_one:`No se pudo subir {{count}} archivo.`,uploadFailed_other:`No se pudieron subir {{count}} archivos.`},preview:{audio:`Vista previa de audio: {{name}}`,video:`Vista previa de video: {{name}}`},upload:{chooseAtLeast:`Elige al menos un archivo.`,drop:`Suelta los archivos aquÃ`,failed:`{{count}} con error:`,fileLimit:`{{name}} supera el lÃmite de 50 MB por archivo.`,files_one:`o elige 1 archivo de hasta 50 MB`,files_other:`o elige hasta {{count}} archivos de 50 MB cada uno`,maxFiles:`Elige no más de {{count}} archivos por carga.`,newAssets:`Nuevos recursos`,title:`Subir medios`,uploadCount_one:`Subir {{count}} archivo`,uploadCount_other:`Subir {{count}} archivos`,uploaded:`{{count}} subidos`}},advertising:{actions:{create:`Crear anuncio`,new:`Nuevo anuncio`,saveChanges:`Guardar cambios`,saveOrder:`Guardar orden`},description:`Administra las imágenes, destinos, visibilidad y orden de publicación de los anuncios de este sitio.`,editor:{activeDescription:`Los anuncios activos pueden mostrarse públicamente.`,back:`Volver a publicidad`,description:`Elige la imagen, el destino y la visibilidad del anuncio.`,destination:`URL de destino`,details:`Detalles del anuncio`,detailsDescription:`Configura adónde dirige el anuncio y si está visible.`,editTitle:`Editar {{name}}`,name:`Nombre`,image:`Imagen del anuncio`,imageDescription:`Puedes seleccionar cualquier formato o proporción de imagen de la biblioteca de medios del sitio.`,imageRequired:`Elige una imagen de la biblioteca de medios.`,mobileImage:`Imagen para móviles`,mobileImageDescription:`Alternativa opcional para diseños públicos angostos. El sitio público decide cuándo usarla.`,chooseMobileImage:`Elegir imagen para móviles`,removeMobileImage:`Quitar imagen para móviles`,noMobileImage:`No hay una imagen para móviles seleccionada`,mobilePreview:`Vista previa de la imagen del anuncio para móviles`,groups:`Grupos de anuncios`,groupsDescription:`Elige cada grupo donde debe aparecer este anuncio. Su posición se administra de forma independiente dentro de cada grupo.`,noGroups:`TodavÃa no se crearon grupos.`,invalidDescription:`El identificador del anuncio no es válido.`,invalidTitle:`Anuncio no válido`,mediaRequired:`Se necesita el módulo de Medios para elegir o subir una imagen.`,noImage:`No hay una imagen seleccionad
13a`,preview:`Vista previa de la imagen del anuncio`},empty:{description:`Crea el primer anuncio y elige su imagen y destino.`,title:`TodavÃa no hay anuncios`},errors:{create:`No se pudo crear el anuncio.`,delete:`No se pudo eliminar el anuncio.`,load:`No se pudo cargar la publicidad`,loadAdvertisement:`No se pudo cargar el anuncio`,nextPosition:`No se pudo determinar la siguiente posición de publicación.`,notConfigured:`El servicio de publicidad no está configurado`,notConfiguredDescription:`Agrega VITE_ADVERTISING_API_BASE_URL para habilitar este espacio.`,reorder:`No se pudo guardar el nuevo orden.`,status:`No se pudo cambiar el estado del anuncio.`,update:`No se pudo actualizar el anuncio.`},listing:{advertisement:`Anuncio`,advertisementId:`Anuncio n.º {{id}}`,context:`Publicidad`,deleteConfirm:`¿Eliminar â{{name}}â? Sus imágenes permanecerán en la biblioteca de medios del sitio.`,delete:`Eliminar {{name}}`,displayOrder:`Orden de publicación`,displayOrderHelp:`Arrastra los anuncios por el control y luego guarda el orden completo.`,drag:`Arrastrar anuncio {{id}} para reordenar`,edit:`Editar {{name}}`,created:`Anuncio creado.`,updated:`Anuncio actualizado.`,deleted:`Anuncio eliminado.`,activated:`Anuncio activado.`,deactivated:`Anuncio desactivado.`,loading:`Cargando anunciosâ¦`,loadingOne:`Cargando anuncioâ¦`,opensNewTab:`Se abre en una pestaña nueva`,position:`Posición`,title:`Anuncios`,toggle:`{{action}} {{name}}`},groups:{assignedCount_one:`{{count}} anuncio`,assignedCount_other:`{{count}} anuncios`,capacity:`MÃn. anuncios: {{min}} · Máx. anuncios: {{max}}`,capacityWarning:`Requiere {{min}}â{{max}} anuncios; actualmente hay {{count}}.`,adOrderFor:`Orden de anuncios de {{name}}`,backToAds:`Volver a anuncios`,discard:`Descartar cambios`,dragAdvertisement:`Arrastrar {{name}} para reordenarlo en este grupo`,dragHelp:`Arrastra a un grupo`,emptyTitle:`TodavÃa no hay grupos de publicidad`,inventoryLabel:`Inventario de anuncios`,incompatibleCount_one:`Hay que corregir {{count}} grupo antes de guardar`,incompatibleCount_other:`Hay que corregir {{count}} grupos antes de guardar`,loading:`Cargando grupos de publicidadâ¦`,noAssignedAds:`Este grupo no tiene anuncios asignados.`,noMatches:`No hay anuncios que coincidan con esta búsqueda.`,orderDescription:`Ordena los anuncios dentro de cada espacio y controla qué grupos están habilitados públicamente.`,readOnlyEmptyDescription:`No hay grupos de publicidad configurados para este sitio.`,removeAdvertisement:`Quitar {{advertisement}} de {{group}}`,removeConfirm:`¿Quitar {{advertisement}} de {{group}}? Este cambio se aplicará cuando guardes la grilla.`,search:`Buscar anuncios`,searchPlaceholder:`Buscar anunciosâ¦`,size:`Tamaño: {{size}}`,sizeNotDefined:`Sin definir`,title:`Grupos de anuncios`,toggleStatus:`{{action}} {{name}}`,unsaved:`Cambios de orden sin guardar`,upToDate:`El orden de anuncios está actualizado`,errors:{load:`No se pudieron cargar los grupos de publicidad`,saveBoard:`No se pudo guardar todo el orden de anuncios. Los cambios completados se reconciliaron; vuelve a intentarlo para finalizar los restantes.`,status:`No se pudo cambiar el estado del grupo.`}},validation:{groupName:`Ingresa un nombre para el grupo.`,groupNameLength:`Los nombres de grupo pueden tener hasta 150 caracteres.`,httpUrl:`Ingresa una URL HTTP o HTTPS.`,name:`Ingresa un nombre para el anuncio.`,nameLength:`Los nombres de anuncio pueden tener hasta 500 caracteres.`,urlLength:`Las URL pueden tener hasta 500 caracteres.`}},scheduler:{actions:{createActivity:`Crear actividad`,createSchedule:`Crear grilla`,editActivity:`Editar actividad`,editGrid:`Editar grilla semanal`,editSchedule:`Editar grilla`,newActivity:`Nueva actividad`,newSchedule:`Nueva grilla`,saveActivity:`Guardar actividad`,saveSchedule:`Guardar grilla`},activity:{accentColor:`Color de identificación`,accentDerived:`Se deriva automáticamente del nombre de la actividad.`,accentPending:`Ingresa un nombre para derivar el color`,description:`Descripción`,editorDescription:`Configura los detalles de la actividad utilizados en las grillas semanales.`,facebook:`URL de Facebook`,featured:`Destacada`,featuredActivity:`Actividad destacada`,instagram:`URL de Instagram`,linkUnavailable:`{{link}} no disponible`,links:`Enlaces`,mediaRequired:`Habilita el módulo de Medios para seleccionar o subir una imagen.`,name:`Nombre *`,noImage:`No hay una imagen seleccionad
13a`,preview:`Vista previa de la actividad seleccionada`,standard:`Estándar`,twitter:`URL de Twitter`,website:`Sitio web`},description:{activities:`Administra programas, clases y otros elementos que pueden incluirse en una grilla.`,schedules:`Crea grillas y define su programación semanal completa.`},editor:{activeSchedule:`Grilla activa`,back:`Volver a programación`,backSchedules:`Volver a grillas`,name:`Nombre *`,scheduleDescription:`Asigna un nombre a esta grilla semanal y controla su disponibilidad pública.`},empty:{activitiesDescription:`Crea una actividad antes de armar una grilla semanal.`,activitiesTitle:`TodavÃa no hay actividades`,filteredActivitiesDescription:`Prueba con otro nombre o descripción de actividad.`,filteredActivitiesTitle:`No hay actividades coincidentes`,schedulesDescription:`Crea la primera grilla semanal.`,schedulesTitle:`TodavÃa no hay grillas`},errors:{activityDelete:`No se pudo eliminar la actividad. Primero quÃtala de todas las grillas.`,activityLoad:`No se pudo cargar la actividad`,activitySave:`No se pudo guardar la actividad.`,activitiesLoad:`No se pudieron cargar las actividades`,notConfigured:`El servicio de programación no está configurado`,notConfiguredDescription:`Configura VITE_SCHEDULER_API_BASE_URL para habilitar este módulo.`,scheduleDelete:`No se pudo eliminar la grilla.`,scheduleLoad:`No se pudo cargar la grilla`,scheduleSave:`No se pudo guardar la grilla.`,schedulesLoad:`No se pudieron cargar las grillas`},grid:{activityPalette:`Paleta de actividades`,back:`Volver a grillas`,desktopDescription:`El editor de grillas semanales necesita una ventana de al menos 1024 px de ancho. La grilla cargada no se modificó.`,desktopTitle:`Se necesita una pantalla de escritorio`,discardConfirm:`¿Descartar los cambios sin guardar de la grilla semanal?`,dragActivity:`Arrastrar {{name}} al calendario`,dragHelp:`Arrastra al calendario`,emptyActivities:`Crea una actividad antes de agregar entradas a la grilla.`,invalidEntry:`Las entradas deben permanecer en un solo dÃa y usar incrementos completos de una hora.`,loadError:`No se pudo cargar la grilla semanal`,loading:`Cargando grilla semanalâ¦`,noMatches:`No hay actividades coincidentes.`,remove:`Quitar {{name}}`,removeConfirm:`¿Quitar â{{name}}â de esta grilla?`,removeEntry:`Quitar entrada`,saveError:`No se pudo guardar la grilla semanal completa. Tus cambios sin guardar siguen disponibles.`,search:`Buscar actividades`,searchPlaceholder:`Buscar actividadesâ¦`,weeklyGrid:`Grilla horaria semanal`},listing:{activity:`Actividad`,activityCount_one:`{{count}} actividad`,activityCount_other:`{{count}} actividades`,activityPages:`Páginas de actividades`,activities:`Actividades`,context:`Programación`,deleteActivity:`¿Eliminar esta actividad? No puede eliminarse mientras se use en una grilla.`,deleteSchedule:`¿Eliminar esta grilla y todas sus entradas semanales?`,activityCreated:`Actividad creada.`,activityUpdated:`Actividad actualizada.`,activityDeleted:`Actividad eliminada.`,scheduleCreated:`Grilla creada.`,scheduleUpdated:`Grilla actualizada.`,scheduleDeleted:`Grilla eliminada.`,featured:`Destacada`,loadingActivities:`Cargando actividadesâ¦`,loadingActivity:`Cargando actividadâ¦`,loadingSchedule:`Cargando grillaâ¦`,loadingSchedules:`Cargando grillasâ¦`,schedule:`Grilla`,schedules:`Grillas`,searchActivities:`Buscar actividades`,searchPlaceholder:`Nombre o descripciónâ¦`},validation:{color:`Usa un color hexadecimal de seis dÃgitos.`,name:`El nombre es obligatorio.`,url:`Ingresa una URL válida.`}},workshop:{actions:{create:`Crear taller`,edit:`Editar taller`,new:`Nuevo taller`,save:`Guardar taller`,saveRegistration:`Guardar inscripción`},description:{registrations:`Revisa y administra las inscripciones públicas a talleres.`,workshops:`Administra el catálogo de talleres de este sitio.`},editor:{active:`Taller activo`,additional:`Información adicional`,back:`Volver a talleres`,chooseImage:`Elegir imagen obligatoria`,details:`Detalles *`,description:`Administra los detalles públicos, fechas, imagen y disponibilidad del taller.`,ends:`Finaliza *`,imageError:`Elige una imagen de la biblioteca de medios.`,mediaRequired:`Habilita el módulo de Medios para seleccionar o subir la imagen obligatoria del taller.`,noImage:`No hay una imagen seleccionad
13a`,preview:`Vista previa del taller seleccionado`,schedule:`Etiqueta de horario`,schedulePlaceholder:`Lunes 18:00`,starts:`Comienza *`,title:`TÃtulo *`},empty:{registrationsDescription:`Las nuevas inscripciones públicas aparecerán aquÃ.`,registrationsTitle:`TodavÃa no hay inscripciones`,workshopsDescription:`Crea el primer taller de este sitio.`,workshopsTitle:`TodavÃa no hay talleres`},errors:{deleteRegistration:`No se pudo eliminar la inscripción.`,deleteWorkshop:`No se pudo eliminar el taller.`,loadRegistration:`No se pudieron cargar las inscripciones`,loadWorkshop:`No se pudieron cargar los talleres`,notConfigured:`El servicio de talleres no está configurado`,notConfiguredDescription:`Configura VITE_WORKSHOP_API_BASE_URL para habilitar este módulo.`,registrationSave:`No se pudo guardar la inscripción.`,workshopLoad:`No se pudo cargar el taller`,workshopSave:`No se pudo guardar el taller.`},listing:{attendee:`Asistente`,context:`Talleres`,dates:`Fechas`,deleteRegistration:`¿Eliminar esta inscripción permanentemente?`,deleteWorkshop:`¿Eliminar este taller? Se conservarán las inscripciones históricas y sus tÃtulos guardados.`,workshopCreated:`Taller creado.`,workshopUpdated:`Taller actualizado.`,workshopDeleted:`Taller eliminado.`,registrationDeleted:`Inscripción eliminada.`,markedSeen:`Inscripción marcada como vista.`,markedUnseen:`Inscripción marcada como no vista.`,editRegistration:`Editar inscripción de {{name}}`,loadingRegistration:`Cargando inscripcionesâ¦`,loadingWorkshop:`Cargando tallerâ¦`,loadingWorkshops:`Cargando talleresâ¦`,markSeen:`Marcar la inscripción de {{name}} como {{status}}`,received:`Recibida`,registration:`Inscripción`,registrations:`Inscripciones`,seen:`vista`,to:`a`,unseen:`no vista`,workshop:`Taller`,workshops:`Talleres`},registration:{currentSnapshot:`Selección guardada actualmente`,details:`Detalles de la inscripción`,discard:`¿Descartar los cambios sin guardar de la inscripción?`,email:`Correo electrónico`,markedSeen:`Marcada como vista`,name:`Nombre`,saved:`Inscripción guardada.`,snapshotHelp:`Camb
13iar esta selección vuelve a crear la copia guardada de los tÃtulos de los talleres.`,workshops:`Talleres`},validation:{details:`Los detalles son obligatorios.`,email:`Ingresa un correo electrónico válido.`,endAfterStart:`La fecha de finalización debe ser posterior o igual a la de inicio.`,ends:`La fecha de finalización es obligatoria.`,image:`Elige una imagen.`,name:`El nombre es obligatorio.`,starts:`La fecha de inicio es obligatoria.`,title:`El tÃtulo es obligatorio.`,url:`Ingresa una URL válida.`,workshop:`Elige al menos un taller.`}},payments:{context:`Operaciones de pagos`,mobbexPayerNeededForLink:`Agrega datos del pagador antes de crear otro enlace de checkout con Mobbex.`,actions:{cancel:`Cancelar`,retry:`Reintentar`},permissions:{adminPayments:`Rol administrador y módulo Payments`},status:{pending:`Pendiente`,paid:`Pagado`,partially_refunded:`Devuelto parcialmente`,refunded:`Devuelto`,expired:`Vencido`,rejected:`Rechazado`,cancelled:`Cancelado`,review_required:`Requiere revisión`},review:{duplicate_payment:`Pago duplicado`,amount_mismatch:`El monto no coincide`,paid_after_close:`Pagado después de cerrar el cobro`},attemptStatus:{created:`Creado`,awaiting_payment:`Esperando pago`,approved:`Aprobado`,rejected:`Rechazado`,expired:`Vencido`},refundStatus:{pending:`Pendiente`,processing:`Procesando`,succeeded:`Completada`,failed:`Fallida`},eventStatus:{pending:`Pendiente`,delivered:`Entregado`,failed:`Fallido`},eventType:{paid:`Pago acreditado`,rejected:`Pago rechazado`,expired:`Pago vencido`,cancelled:`Pago cancelado`,refunded:`Pago devuelto`,reviewRequired:`Requiere revisión`},errors:{generic:`El servicio de pagos devolvió una respuesta inesperada.`,notConfigured:`El servicio de pagos no está configurado`,notConfiguredDescription:`Configura VITE_PAYMENTS_API_BASE_URL para conectar la administración de pagos.`,providersLoad:`No se pudieron cargar los proveedores de pago`,providerSave:`No se pudieron validar y guardar las credenciales.`,credentialsRejected:`El proveedor rechazó estas credenciales`,providerUnavailable:`El servicio del proveedor no está disponible en este momento`,providerRemove:`No se pudieron eliminar las credenciales del proveedor.`,paymentsLoad:`No se pudieron cargar los pagos`,paymentLoad:`No se pudo cargar el pago`,eventsLoad:`No se pudieron cargar los eventos de pago`,refundsLoad:`No se pudieron cargar las devoluciones`,manualCreate:`No se pudo completar el enlace de pago.`,attempt:`No se pudo crear el enlace de checkout.`,refund:`No se pudo solicitar la devolución.`,retryEvent:`No se pudo reintentar el evento.`,recheckRefund:`No se pudo consultar la devolución con el proveedor.`,resolveRefund:`No se pudo resolver la devolución.`},filters:{reference:`Referencia externa`,referencePlaceholder:`Referencia de pedido o factura`,status:`Estado`,allStatuses:`Todos los estados`,module:`Módulo`,modulePlaceholder:`ecommerce, donacionesâ¦`,provider:`Proveedor`,allProviders:`Todos los proveedores`,from:`Desde`,to:`Hasta`,apply:`Aplicar filtros`},transactions:{title:`Transacciones`,description:`Sigue cada cobro desde el checkout hasta la acreditación, revisión y devolución.`,loading:`Cargando pagosâ¦`,empty:`No se encontraron pagos`,emptyDescription:`Los pagos aparecerán cuando un consumidor o administrador cree un cobro.`,count_one:`{{count}} pago`,count_other:`{{count}} pagos`,pages:`Páginas de pagos`,payment:`Pago`,amount:`Monto`,created:`Creado`,paidAmount:`Pagado {{amount}}`,refundedAmount:`Devuelto {{amount}}`},providers:{title:`Proveedores de pago`,description:`Valida credenciales, controla la disponibilidad y configura webhooks.`,loading:`Cargando proveedoresâ¦`,gateway:`Estado de la pasarela`,provider:`Proveedor`,names:{mercadopago:`MercadoPago`,mobbex:`Mobbex`},environments:{sandbox:`Pruebas`,production:`Producción`},environmentNotConfigured:`Entorno sin configurar`,active:`Activo`,inactive:`Inactivo`,notConfigured:`Sin configurar`,credentials:`Credenciales`,environment:`Entorno`,validation:`Validación`,validated:`Validado`,notValidated:`Sin validar`,updatedBy:`Actualizado por`,updatedByUser:`Usuario #{{id}}`,updatedBySystem:`Sistema`,webhook:`URL del webhook`,webhookActions:`Acciones del webhook`,webhookReady:`Este es tu webhook`,webhookReadyDescription:`Copia esta URL en el panel del proveedor para recibir las actualizaciones de pago.`,webhookCopied:`URL del webhook copiada`,copyWebhook:`Copiar URL del webhook`,copyProviderWebhook:`Copiar webhook de {{provider}}`,copyFailed:`No se pudo copiar la URL del webhook.`,configureAction:`Configurar`,configureProvider:`Configurar {{provider}}`,accessToken:`Token de acceso`,publicKey:`Clave pública`,apiKey:`Clave de API`,secretNote:`Los secretos se envÃan solo al guardar y nunca vuelven a mostrarse.`,saved:`Credenciales validadas y guardadas.`,validating:`Validandoâ¦`,configure:`Validar y configurar`,replace:`Reemplazar credenciales`,remove:`Eliminar credenciales`,removeProviderCredentials:`Eliminar credenciales de {{provider}}`,removeConfirm:`¿Eliminar permanentemente las credenciales guardadas de {{provider}}? Esta acción no se puede deshacer y los checkouts dejarán de funcionar con este proveedor.`,removeConfirmV4:`¿Quitar las credenciales activas de {{provider}}? Los checkouts se detendrán para este proveedor. Si lo vuelves a agregar, conservará su URL de webhook.`,removed:`Se eliminaron las credenciales de {{provider}}.`,mobbexGuideTitle:`Antes de copiar las credenciales de Mobbex`,mobbexGuideApp:`Crea una aplicación en el Portal de Desarrolladores de Mobbex.`,mobbexGuideCuit:`
13Solicita acceso al CUIT que recibirá los pagos.`,mobbexGuideAuthorize:`Autoriza la aplicación desde APP / E-Commerce.`,mobbexGuideReturn:`Vuelve aquà e ingresa las credenciales de la aplicación.`},manual:{new:`Nuevo pago manual`,back:`Volver a transacciones`,title:`Crear un enlace de pago`,description:`Crea un cobro en ARS y un checkout para compartir con la persona que paga.`,charge:`Detalles del cobro`,chargeDescription:`La referencia evita cobros duplicados y la URL de retorno debe pertenecer a este sitio.`,reference:`Referencia externa`,amount:`Monto en ARS`,provider:`Proveedor de pago`,descriptionLabel:`Descripción`,returnUrl:`URL de retorno`,expiresAt:`Vence el`,payer:`Datos del pagador`,payerDescription:`Información de identidad opcional que se guarda con el cobro.`,payerName:`Nombre`,payerEmail:`Correo electrónico`,payerDoc:`Documento`,noProvider:`No hay un proveedor validado y activo`,noProviderDescription:`Configura y activa MercadoPago o Mobbex antes de crear un enlace.`,configureProvider:`Configurar proveedores`,create:`Crear enlace de pago`,creating:`Creando enlaceâ¦`,ready:`Checkout listo`,linkReady:`Enlace de pago creado`,checkoutUrl:`URL del checkout`,copy:`Copiar enlace`,copied:`Copiado`,copySuccess:`URL del checkout copiada.`,copyFailed:`No se pudo copiar la URL del checkout.`,viewPayment:`Ver detalles del pago`,openCreatedPayment:`Abrir el pago que se creó.`,conflictingReference:`Esta referencia ya pertenece a un pago con otro monto o moneda.`,linkWarning:`Los enlaces anteriores de la pasarela pueden seguir siendo pagables. Comparte solo el enlace elegido.`,shareable:`Checkout manual`,anotherLink:`Generar otro enlace`,generate:`Generar enlace de checkout`,generated:`Hay un nuevo enlace de checkout listo.`,payerRequiredMobbex:`Mobbex requiere datos del pagador. Completa al menos un dato de identidad.`},detail:{back:`Volver a transacciones`,loading:`Cargando pagoâ¦`,noDescription:`No se proporcionó una descripción.`,reviewRequired:`Este pago requiere revisión humana`,reviewInProgress:`Revisión en curso · falta devolver el saldo`,reviewUnknown:`Revisa los intentos de la pasarela antes de actuar.`,amounts:`Montos del pago`,expected:`Esperado`,paid:`Pagado`,refunded:`Devuelto`,refundable:`Devolvible`,audit:`AuditorÃa`,timeline:`Actividad del pago`,noActivity:`TodavÃa no hay intentos, devoluciones ni eventos de entrega.`,attemptWith:`Intento de checkout con {{provider}}`,paymentMethodPending:`La pasarela todavÃa no informó el medio de pago`,payment:`Pago`,details:`Detalles del registro`,reference:`Referencia`,module:`Módulo`,created:`Creado`,updated:`Actualizado`,expires:`Vence`,returnUrl:`URL de retorno`,payer:`Pagador`,noPayer:`Sin datos del pagador`,noPayerDescription:`Este pago se creó sin información de identidad.`,unrefunded:`Saldo aún no devuelto`},refund:{context:`Controles de devolución`,title:`Devolver pago`,unavailable:`No devolvible`,unavailableDescription:`El medio de pago aprobado no admite una devolución automática.`,attempt:`Intento cobrado`,attemptOption:`{{provider}} · {{amount}} devolvibles`,full:`Devolución total · {{amount}}`,partial:`Devolución parcial`,amount:`Monto a devolver`,reason:`Motivo (opcional)`,submit:`Solicitar devolución`,processing:`Solicitandoâ¦`,requested:`Solicitud de devolución enviada.`,confirmAttempt:`¿Devolver {{amount}} contra el intento {{attempt}}? Esta operación no se puede deshacer desde la Intranet.`,amountLimit:`Ingresa un monto no mayor a {{amount}}.`,timelineTitle:`Devolución de {{amount}}`,timelineAttempt:`Intento de {{provider}}`,noReason:`Sin motivo informado`,mobbexFullOnly:`Mobbex solo admite devoluciones totales.`,providerRefundId:`ID de devolución del proveedor`,lastChecked:`Ãltima consulta al proveedor`,resolvedBy:`Resuelto por`,resolutionNote:`Nota de resolución`,contradictionCleared:`Contradicción despejada`,recovery:`Recuperación de devolución`,recheck:`Consultar proveedor ahora`,rechecking:`Consultandoâ¦`,rechecked:`Evidencia del proveedor actualizada.`,resolve:`Resolver manualmente`,resolveTitle:`Resolver evidencia de devolución`,resolveWarning:`Primero revisa la pasarela. Esta acción modifica el registro contable y queda auditada.`,outcome:`Resultado confirmado`,executed:`El proveedor ejecutó la devolución`,notExecuted:`El proveedor no ejecutó la devolución`,notExecutedWarning:`Esto restablece la capacidad reintegrable. Ãsalo solo si la pasarela prueba que no hubo devolución.`,resolving:`Resolviendoâ¦`,confirmResolution:`Confirmar resolución`,resolved:`Evidencia de devolución resuelta.`},deliveries:{title:`Eventos`,description:`Consulta todos los eventos salientes de pago y reintenta las entregas fallidas.`,loading:`Cargando eventosâ¦`,loadingPaymentEvents:`Cargando eventos de entregaâ¦`,empty:`No se encontraron eventos`,emptyDescription:`Los eventos salientes aparecerán aquà a medida que se procesen los pagos.`,emptyFiltered:`Ningún evento coincide con el estado de entrega seleccionado.`,event:`Evento`,payment:`Pago`,attempts:`Intentos`,lastError:`Detalle de entrega`,retry:`Reintentar entrega`,retryQueued:`Reintento de entrega en cola.`,pages:`Páginas de eventos`,perPage:`Resultados por página`,clearFilters:`Limpiar filtros`,nextAttempt:`Próximo intento {{date}}`,count_one:`{{count}} evento`,count_other:`{{count}} eventos`,attemptCount_one:`{{count}} intento de entrega`,attemptCount_other:`{{count}} intentos de entrega`},refunds:{title:`Devoluciones`,loading:`Cargando devolucionesâ¦`,empty:`No se encontraron devoluciones`,emptyDescription:`Ninguna devolución coincide con esta cola operativa.`,count_one:`{{count}} devolución`,count_other:`{{count}} devoluciones`,pages:`Páginas de devoluciones`,processingQueue:`Cola en proceso`,refund:`Devolución`,payment:`Pago`,amount:`Importe`,evidence:`Evidencia del proveedor`,lastActivity:`Ãltima actividad`,noProviderId:`Sin ID del proveedor`,noEvidence:`Sin evidencia registrada`,checked:`Consultado al proveedor`,updated:`Registro actualizado`},v4Validation:{mobbexPayer:`Ingresa datos del pagador antes de usar Mobbex.`,resolutionNote:`Ingresa la evidencia usada para tomar esta decisión.`,resolutionNoteMax:`Usa 500 caracteres o menos.`,providerRefundId:`Ingresa el ID del proveedor para una devolución ejecutada.`,providerRefundIdMax:`Usa 128 caracteres o menos.`},validation:{accessToken:`Ingresa el access token.`,publicKey:`Ingresa la public key de MercadoPago.`,apiKey:`Ingresa la API key de Mobbex.`,reference:`Ingresa una referencia externa.`,amount:`Ingresa un monto positivo en ARS con hasta dos decimales.`,returnUrl:`Ingresa una URL de retorno válida.`,returnOrigin:`La URL de retorno debe usar el dominio de este sitio.`,email:`Ingresa un correo electrónico válido.`}},donations:{permissions:{adminDonations:`acceso de administrador al módulo Donaciones`}
13,errors:{notConfigured:`Donaciones no está configurado`,notConfiguredDescription:`Configura VITE_DONATIONS_API_BASE_URL en la plataforma antes de usar este módulo.`},status:{pending:`Sin acreditar`,paid:`Acreditada`,partially_refunded:`Devuelta parcialmente`,refunded:`Devuelta`,expired:`Vencida`,rejected:`Rechazada`,cancelled:`Cancelada`,review_required:`Requiere revisión`},filters:{status:`Estado`,allStatuses:`Todos los estados`,campaign:`Campaña`,allCampaigns:`Todas las campañas`,perPage:`Filas por página`},money:{requested:`Solicitado`,accredited:`Acreditado`,refunded:`Devuelto`,retained:`Retenido`},actions:{markReviewed:`Marcar revisada`,reviewError:`No se pudo marcar la donación como revisada.`,openPayment:`Abrir en Pagos`,activate:`Activar`,deactivate:`Desactivar`,discard:`Descartar`,saveOrder:`Guardar orden`},donations:{title:`Donaciones`,loading:`Cargando donacionesâ¦`,loadError:`No se pudieron cargar las donaciones`,empty:`No se encontraron donaciones`,emptyDescription:`Ningún registro coincide con estos filtros.`,count_one:`{{count}} donación`,count_other:`{{count}} donaciones`,pages:`Páginas de donaciones`,donation:`Donación`,donor:`Donante`,campaign:`Campaña`,flow:`Flujo de dinero`,received:`Recibida`,review:`Revisión`,reviewed:`Revisada`,reviewedSuccess:`Donación marcada como revisada.`},detail:{back:`Volver a donaciones`,loading:`Cargando donaciónâ¦`,loadError:`No se pudo cargar la donación`,status:`Estado`,received:`Recibida`,campaignSnapshot:`Campaña al momento de donar`,campaignId:`Campaña actual #{{id}}`,deletedCampaign:`El registro de campaña fue eliminado`,donor:`Identidad actual del donante`,email:`Correo`,document:`Documento`,openDonor:`Abrir historial del donante`,message:`Mensaje privado del donante`,noMessage:`No dejó un mensaje privado.`,reconciliation:`Registro de conciliación`,donationId:`ID de donación`,externalReference:`Referencia externa`,paymentId:`ID de pago`,lastChecked:`Ãltima conciliación`,never:`Nunca`,updated:`Ãltima actualización`},donors:{title:`Donantes`,loading:`Cargando donantesâ¦`,loadError:`No se pudieron cargar los donantes`,empty:`TodavÃa no hay donantes`,emptyDescription:`Aparecerán después de su primer intento de donación.`,count_one:`{{count}} donante`,count_other:`{{count}} donantes`,pages:`Páginas de donantes`,donor:`Donante`,email:`Correo`,document:`Documento`},donorDetail:{back:`Volver a donantes`,loading:`Cargando donanteâ¦`,loadError:`No se pudo cargar el donante`,since:`Primer registro`,records:`Registros de donación`,historyContext:`Historial de donaciones`,history:`Intentos y donaciones registradas`,noAggregate:`Los montos corresponden a cada fila; no se infiere un total desde esta página.`,empty:`Este donante no tiene registros en esta página.`,pages:`Páginas del historial de donaciones`},campaigns:{title:`Campañas`,new:`Nueva campaña`,loading:`Cargando campañasâ¦`,loadError:`No se pudieron cargar las campañas`,empty:`TodavÃa no hay campañas`,emptyDescription:`Crea la primera campaña de recaudación para este sitio.`,unsaved:`El orden tiene cambios sin guardar`,saved:`El orden de campañas está actualizado`,reorderHelp:`Arrastra las campañas o usa las flechas y luego guarda el orden completo.`,drag:`Arrastrar {{title}}`,priority:`Prioridad {{priority}}`,moveUp:`Subir {{title}}`,moveDown:`Bajar {{title}}`,edit:`Editar {{title}}`,delete:`Eliminar {{title}}`,deleteConfirm:`¿Eliminar â{{title}}â? Los registros no acreditados conservarán el tÃtulo congelado de la campaña.`,deactivateFallback:`â{{title}}â tiene donaciones acreditadas y no se puede eliminar. ¿Desactivarla?`,orderSaved:`Se guardó el orden de campañas.`,activated:`Campaña activada.`,deactivated:`Campaña desactivada.`,created:`Campaña creada.`,updated:`Campaña actualizada.`,deleted:`Campaña eliminada.`,saveOrderError:`No se pudo guardar el orden de campañas.`,statusError:`No se pudo cambiar el estado de la campaña.`,deleteError:`No se pudo eliminar la campaña.`},campaignEditor:{back:`Volver a campañas`,loading:`Cargando campañaâ¦`,loadError:`No se pudo cargar la campaña`,createTitle:`Crear campaña`,editTitle:`Editar campaña`,saveError:`No se pudo guardar la campaña.`,content:`Contenido de campaña`,title:`TÃtulo`,slug:`Slug público`,slugHelp:`El slug es permanente y no camb
13ia cuando cambia el tÃtulo.`,description:`Descripción`,active:`Publicada y recibiendo donaciones`,image:`Imagen de campaña`,preview:`Vista previa de la campaña`,noImage:`Sin imagen seleccionada`,chooseImage:`Elegir de Medios`,removeImage:`Quitar imagen`,mediaRequired:`Habilita Medios para seleccionar o subir una imagen.`,amountRules:`Reglas de montos ARS`,currency:`Moneda`,currencyValue:`ARS`,minimum:`Monto mÃnimo`,maximum:`Monto máximo`,suggested:`Montos sugeridos`,suggestedHelp:`Opciones rápidas para donantes. Agrega hasta seis valores únicos dentro del rango.`,addSuggested:`Agregar monto`,suggestedNumber:`Monto sugerido {{number}}`,removeSuggested:`Quitar monto sugerido {{number}}`},validation:{titleRequired:`Ingresa un tÃtulo para la campaña.`,titleMax:`Usa 180 caracteres o menos.`,urlMax:`Usa 500 caracteres o menos.`,amount:`Ingresa un monto ARS con hasta dos decimales.`,amountRange:`Ingresa un monto entre ARS 0,01 y el lÃmite admitido por la base.`,maxRange:`El máximo debe ser igual o mayor al mÃnimo y respetar el lÃmite de la base.`,suggestedMax:`Agrega como máximo seis montos sugeridos.`,unique:`Los montos sugeridos no pueden repetirse.`,suggestedRange:`Cada monto sugerido debe estar dentro del rango de la campaña.`}},radio:{eyebrow:`Operaciones de transmisión`,title:`Estado de Radio`,common:{unknown:`Desconocido`,never:`Nunca`,yes:`SÃ`,no:`No`},actions:{retry:`Reintentar`,showPassword:`Mostrar contraseña de radio`,hidePassword:`Ocultar contraseña de radio`,copyPassword:`Copiar contraseña de radio`,copyUrl:`Copiar URL del stream`,copied:`Copiado`},states:{loading:`Cargando métricas de radioâ¦`,apiMissing:`Radio no está configurada`,apiMissingDescription:`Configura VITE_RADIO_API_BASE_URL antes de usar este módulo.`,unconfigured:`No hay un stream de radio configurado`,unconfiguredDescription:`El servicio de Radio todavÃa no recibió la configuración del stream para este sitio.`,error:`No se pudieron cargar las métricas de Radio`,errorDescription:`Intenta cargar esta sección nuevamente.`,noHistory:`TodavÃa no hay historial de oyentes`,noHistoryDescription:`Las muestras aparecerán después de que el recolector comience a consultar.`,noAggregates:`TodavÃa no hay perÃodos cerrados`,noAggregatesDescription:`Las métricas horarias y diarias aparecen cuando cierran sus perÃodos locales.`},live:{context:`Señal en vivo`,status:`Estado de la radio`,online:`Al aire`,offline:`Fuera del aire`,unknown:`Señal desconocida`},metrics:{listeners:`Oyentes actuales`,todayPeak:`Pico de hoy`,lastPoll:`Ãltima consulta`,stream:`Stream`,genre:`Género`,bitrate:`Bitrate`,day:`DÃa local`,hour:`Hora local`,average:`Promedio de oyentes`,minimum:`MÃnimo`,peak:`Pico`,listenerHours:`Horas-oyente`,uptime:`Tiempo al aire`,coverage:`Cobertura`,coverageAnomaly:`La cobertura supera el 100%; las cantidades de muestras exitosas y esperadas son inconsistentes.`,samples:`Muestras`,restarts:`Reinicios`},history:{context:`Ventana del dÃa local actual`,title:`Historial de oyentes`,ariaLabel:`Historial de oyentes del dÃa local actual; usa las flechas para inspeccionar muestras y ten en cuenta que los huecos indican mediciones no disponibles`,gapNote:`Los huecos representan mediciones desconocidas y nunca se dibujan como cero oyentes.`,period:`PerÃodo mostrado`,peak:`Pico de oyentes`,latest:`Ãltima medición`,timeAxis:`Hora local`,listenersAxis:`Oyentes`,listenerValue_one:`{{count}} oyente`,listenerValue_other:`{{count}} oyentes`,signalValue:`Señal: {{status}}`},search:{title:`Búsqueda histórica de Radio`,filtersLabel:`Filtros de búsqueda histórica`,month:`Mes`,year:`Año`,chooseMonth:`Elegir mes`,chooseYear:`Elegir año`,action:`Buscar`,help:`Elige un mes calendario en la zona horaria local del stream.`,validation:`Elige un mes y año válidos.`,resultContext:`Resultados de {{month}}`,awaitingResults:`Esperando resultados de búsquedaâ¦`,loadingResults:`Cargando resultados de búsquedaâ¦`},aggregates:{context:`PerÃodos locales cerrados`,hourly:`Métricas horarias`,daily:`Métricas diarias`,details:`Tablas detalladas de métricas`,hourlyDetails:`Mostrar detalle horario`,dailyDetails:`Mostrar detalle diario`,hourlyAriaLabel:`Promedio, mÃnimo y pico de oyentes por hora`,dailyAriaLabel:`Promedio, mÃnimo y pico de oyentes por dÃa`},collector:{context:`Integridad de medición`,title:`Salud del recolector`,active:`Recolector habilitado`,lastSuccess:`Ãltima consulta exitosa`,failures:`Fallos consecutivos`,sinceSuccess:`Tiempo desde el último éxito`,interval:`Intervalo de consulta`,maxGap:`Hueco máximo aceptado`,seconds_one:`{{count}} segundo`,seconds_other:`{{count}} segundos`},connection:{context:`Infraestructura de solo lectura`,title:`Información de conexión`,url:`URL del stream`,mountpoint:`Punto de montaje`,password:`Contraseña`}},identityAdmin:{module:`Identidad de clientes`,verified:`Verificada`,unverified:`Sin verificar`,unavailable:`Las cuentas de clientes n
13o están disponibles para este sitio`,list:{title:`Cuentas de clientes`,count_one:`{{count}} cuenta`,count_other:`{{count}} cuentas`,search:`Buscar`,searchPlaceholder:`Correo o nombre`,verification:`Verificación de correo`,all:`Todas las cuentas`,loading:`Cargando cuentas de clientesâ¦`,error:`No se pudieron cargar las cuentas`,empty:`No se encontraron cuentas`,pages:`Páginas de cuentas de clientes`},detail:{loading:`Cargando cuentaâ¦`,error:`No se pudo cargar la cuenta`,notFound:`No se encontró la cuenta de cliente`,back:`Volver a cuentas de clientes`},fields:{customer:`Cliente`,email:`Correo`,verified:`Verificación`,created:`Creada`,lastLogin:`Ãltimo ingreso`,unnamed:`Cliente sin nombre`}},ecommerce:{comingSoon:{title:`Próximamente`,detail:`Esta sección todavÃa no está disponible.`},errors:{notConfigured:`La API de Ecommerce no está configurada.`},fields:{name:`Nombre`,slug:`Slug`,category:`CategorÃa`,status:`Estado`,product:`Producto`,price:`Precio`,stock:`Stock`,description:`Descripción`,variant:`Nombre de variante`,sku:`SKU`,order:`Pedido`,buyer:`Comprador`,units:`Unidades`,total:`Total`,created:`Creado`,unitPrice:`Precio unitario`,quantity:`Cantidad`,email:`Email`,document:`Documento`,notes:`Notas`,payment:`Pago`},filters:{searchProducts:`Buscar`,searchProductsPlaceholder:`Nombre del producto`,allCategories:`Todas las categorÃas`,noCategory:`Sin categorÃa`,allStatuses:`Todos los estados`,buyerEmail:`Email del comprador`,buyerEmailPlaceholder:`[email protected]`},status:{active:`Activo`,inactive:`Inactivo`,pending:`Pendiente`,paid:`Pagado`,closed:`Cerrado`,partially_refunded:`Devuelto parcialmente`,refunded:`Devuelto`,review_required:`Requiere revisión`},categories:{title:`CategorÃas`,count_one:`{{count}} categorÃa`,count_other:`{{count}} categorÃas`,new:`Nueva categorÃa`,edit:`Editar categorÃa`,loading:`Cargando categorÃasâ¦`,loadError:`No se pudieron cargar las categorÃas`,empty:`TodavÃa no hay categorÃas`,emptyDescription:`Crea categorÃas para organizar el catálogo público.`,slugHint:`Letras minúsculas, números y guiones.`,deleteConfirm:`¿Eliminar {{name}}? Sus productos quedarán sin categorÃa.`,created:`CategorÃa creada.`,updated:`CategorÃa actualizada.`,deleted:`CategorÃa eliminada.`,saveError:`No se pudo guardar la categorÃa.`,deleteError:`No se pudo eliminar la categorÃa.`},products:{title:`Productos`,count_one:`{{count}} producto`,count_other:`{{count}} productos`,new:`Nuevo producto`,edit:`Editar producto`,loading:`Cargando productosâ¦`,loadError:`No se pudieron cargar los productos`,empty:`No se encontraron productos`,emptyDescription:`Ningún producto coincide con esta vista.`,pages:`Páginas de productos`,oneVariant:`Una variante`,variantCount:`{{count}} variantes`,noImage:`Sin imagen de producto`,chooseImage:`Elegir imagen`,mediaRequired:`Habilita Medios para elegir una imagen.`,deactivate:`Desactivar`,activate:`Activar`,deactivateConfirm:`¿Desactivar {{name}}? Dejará de aparecer en el catálogo público.`,deactivated:`Producto desactivado.`,activated:`Producto activado.`,created:`Producto creado.`,updated:`Producto actualizado.`,saveError:`No se pudo guardar el producto.`},variants:{title:`Variantes e inventario`,add:`Agregar variante`,default:`Variante predeterminada`,noSku:`Sin SKU`,stockCount:`{{count}} en stock`,actions:`Acciones para {{name}}`,deactivateConfirm:`¿Desactivar esta variante? Ya no se podrá comprar.`,deactivated:`Variante desactivada.`,saved:`Variante guardada.`,saveError:`No se pudo guardar la variante.`},validation:{requiredProduct:`El nombre y el slug son obligatorios.`,variantNumbers:`El precio y el stock deben ser números válidos no negativos.`},orders:{title:`Pedidos`,count_one:`{{count}} pedido`,count_other:`{{count}} pedidos`,loading:`Cargando pedidosâ¦`,loadingDetail:`Cargando pedidoâ¦`,loadError:`No se pudieron cargar los pedidos`,detailLoadError:`No se pudo cargar el pedido`,empty:`No se encontraron pedidos`,emptyDescription:`Ningún pedido coincide con esta vista.`,pages:`Páginas de pedidos`,units_one:`{{count}} unidad`,units_other:`{{count}} unidades`,fulfilled:`Despachado`,view:`Ver`,viewOrder:`Ver pedido {{id}}`,back:`Volver a pedidos`,detailTitle:`Detalle del pedido`,items:`LÃneas del pedido`,lineCount_one:`{{count}} lÃnea`,lineCount_other:`{{count}} lÃneas`,buyer:`Comprador`,lifecycle:`Pago y despacho`,fulfilledAt:`Despachado el`,restockedAt:`Stock repuesto el`,notFulfilled:`Sin despachar`,notRestocked:`Stock todavÃa asignado`,closedReason:`Motivo de cierre`,operations:`Operaciones`,fulfill:`Marcar despachado`,undoFulfill:`Deshacer despacho`,fulfillUnavailable:`Solo se pueden despachar pedidos que contienen un pago.`,fulfilledSuccess:`Pedido marcado como despachado.`,fulfillUndone:`Despacho deshecho.`,restock:`Reponer stock`,restockConfirm:`¿Devolver todos los artÃculos de este pedido al stock disponible?`,restockedSuccess:`Stock del pedido repuesto.`,cancelOrder:`Cancelar pedido`,cancelConfirm:`¿Cancelar este pedido pendiente? Se cancela el cobro antes de liberar el stock.`,cancelledSuccess:`Pedido cancelado.`,actionError:`No se pudo completar la operación.`,review:`Excepción de pago`,reviewTitle:`Este pedido necesita una decisión`,reviewDescription:`Resolver la revisión solo cambia el pedido. Cualquier devolución debe hacerse en Pagos.`,honorOrder:`Honrar pedido`,closeOrder:`Cerrar pedido`,honorReviewConfirm:`¿Honrar este pedido? Si el stock fue liberado, Ecommerce lo reservará otra vez.`,closeReviewConfirm:`¿Cerrar este pedido sin modificar su pago?`,reviewResolved:`Revisión del pedido resuelta.`},review:{duplicate_payment:`Pago duplicado`,amount_mismatch:`Monto diferente`,paid_after_close:`Pagado después del cierre`,unknown:`Motivo no dis
13ponible`},closed:{expired:`Vencido`,rejected:`Rechazado`,cancelled:`Cancelado`}}},Ic=`common`,Lc={en:Pc,es:Fc},Rc=Zs();function zc(e){if(!Rc.isInitialized){Rc.use(_c).init({resources:Lc,lng:e,supportedLngs:[`en`,`es`],fallbackLng:`en`,defaultNS:Ic,ns:Object.keys(Lc.en),returnEmptyString:!1,initAsync:!1,enableSelector:!1,appendNamespaceToCIMode:!0,interpolation:{escapeValue:!1}});return}Rc.changeLanguage(e)}function Bc(e){return Rc.changeLanguage(e)}var Vc=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},Hc=(e=>e?Vc(e):Vc),Uc=e=>e;function Wc(e,t=Uc){let n=S.useSyncExternalStore(e.subscribe,S.useCallback(()=>t(e.getState()),[e,t]),S.useCallback(()=>t(e.getInitialState()),[e,t]));return S.useDebugValue(n),n}var Gc=e=>{let t=Hc(e),n=e=>Wc(t,e);return Object.assign(n,t),n},Kc=(e=>e?Gc(e):Gc),qc=[`en`,`es`];function Jc(e){return typeof e==`string`&&qc.includes(e)}function Yc(e){return e?.toLowerCase().startsWith(`es`)?`es`:`en`}var Xc=`hermes_intranet_theme`,Zc=`hermes_intranet_language`,Qc=31536e3;function $c(e){if(typeof document>`u`)return;let t=`${encodeURIComponent(e)}=`,n=document.cookie.split(`;`).map(e=>e.trim()).find(e=>e.startsWith(t))?.slice(t.length);if(n!==void 0)try{return decodeURIComponent(n)}catch{return}}function el(e,t){if(typeof document>`u`)return;let n=typeof window<`u`&&window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${encodeURIComponent(e)}=${encodeURIComponent(t)}; Path=/; Max-Age=${Qc}; SameSite=Lax${n}`}function tl(){let e=$c(Xc),t=$c(Zc);return{theme:e===`dark`?`dark`:`light`,language:Jc(t)?t:`en`}}function nl(e){typeof document<`u`&&(document.documentElement.dataset.hermesIntranetTheme=e)}var rl=tl(),il=Kc(e=>({...rl,setTheme:t=>{nl(t),el(Xc,t),e({theme:t})},setLanguage:t=>{el(Zc,t),e({language:t}),Bc(t)}}));function al(){let e=tl();nl(e.theme),il.setState(e)}var ol=null,sl=(0,S.createContext)(null);function cl({adapter:e,children:t}){return ol=e??null,(0,U.jsx)(sl.Provider,{value:ol,children:t})}function ll(){return(0,S.useContext)(sl)}var ul=e=>e.items.map(({variantId:e,quantity:t})=>({variantId:e,quantity:t}));function dl(e,t,n){e.replaceAccountCart(t,{items:ul(n),serverUpdatedAt:n.updatedAt,dirty:!1})}function fl(e,t){if(t.key!==Dc.siteKey)throw Error(`Site definition "${t.key}" does not match environment "${Dc.siteKey}".`);al(),zc(il.getState().language);let n=Nc(t.publicRoutes);(0,C.createRoot)(e).render((0,U.jsx)(S.StrictMode,{children:(0,U.jsx)(cl,{adapter:t.cart,children:(0,U.jsx)(ts,{identity:t.identity,router:n})})}))}var pl=`fmlatribu`,ml={name:`FM La Tribu`,shortName:`88.7`},hl={cabeza:`/branding/Cabeza-Web.webp`,cabezaIcono:`/branding/Cabeza-Web-Icono.webp`,ojo:`/branding/Ojo-Web.webp`,pulmon:`/branding/Pulmon-Web.webp`,fondoYoutube:`/branding/banner_youtube_seccion_radio_desk.webp`,fondoYoutubeMobile:`/branding/banner_youtube_seccion_radio_mobile.webp`,youtubeHome:`/branding/banner_youtube_home.webp`,logoTribu:`/branding/logo-tribu1.webp`},gl=(0,S.createContext)({});function _l(e){let t=(0,S.useRef)(null);return t.current===null&&(t.current=e()),t.current}var vl=typeof window<`u`?S.useLayoutEffect:S.useEffect,yl=(0,S.createContext)(null);function bl(e,t){e.indexOf(t)===-1&&e.push(t)}function xl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Sl([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&r<e.length){let r=n<0?e.length+n:n,[i]=e.splice(t,1);e.splice(r,0,i)}return e}var Cl=(e,t,n)=>n>t?t:n<e?e:n,wl=()=>{},Tl={},El=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Dl=e=>typeof e==`object`&&!!e,Ol=e=>/^0[^.\s]+$/u.test(e);function kl(e){let t;return()=>(t===void 0&&(t=e()),t)}var Al=e=>e,jl=(...e)=>e.reduce((e,t)=>n=>t(e(n))),Ml=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},Nl=class{constructor(){this.subscriptions=[]}add(e){return bl(this.subscriptions,e),()=>xl(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;
13if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Pl=e=>e*1e3,Fl=e=>e/1e3,Il=(e,t)=>t?1e3/t*e:0,Ll=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Rl=1e-7,zl=12;function Bl(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Ll(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Rl&&++s<zl);return o}function Vl(e,t,n,r){if(e===t&&n===r)return Al;let i=t=>Bl(t,0,1,e,n);return e=>e===0||e===1?e:Ll(i(e),t,r)}var Hl=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ul=e=>t=>1-e(1-t),Wl=Vl(.33,1.53,.69,.99),Gl=Ul(Wl),Kl=Hl(Gl),ql=e=>e>=1?1:(e*=2)<1?.5*Gl(e):.5*(2-2**(-10*(e-1))),Jl=e=>1-Math.sin(Math.acos(e)),Yl=Ul(Jl),Xl=Hl(Jl),Zl=Vl(.42,0,1,1),Ql=Vl(0,0,.58,1),$l=Vl(.42,0,.58,1),eu=e=>Array.isArray(e)&&typeof e[0]!=`number`,tu=e=>Array.isArray(e)&&typeof e[0]==`number`,nu={linear:Al,easeIn:Zl,easeInOut:$l,easeOut:Ql,circIn:Jl,circInOut:Xl,circOut:Yl,backIn:Gl,backInOut:Kl,backOut:Wl,anticipate:ql},ru=e=>typeof e==`string`,iu=e=>{if(tu(e)){e.length;let[t,n,r,i]=e;return Vl(t,n,r,i)}else if(ru(e))return nu[e],`${e}`,nu[e];return e},au=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function ou(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var su=40;function cu(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=au.reduce((e,t)=>(e[t]=ou(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Tl.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,su),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:au.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<au.length;t++)o[au[t]].cancel(e)},state:i,steps:o}}var{schedule:lu,cancel:uu,state:du,steps:fu}=cu(typeof requestAnimationFrame<`u`?requestAnimationFrame:Al,!0),pu;function mu(){pu=void 0}var hu={now:()=>(pu===void 0&&hu.set(du.isProcessing||Tl.useManualTiming?du.timestamp:performance.now()),pu),set:e=>{pu=e,queueMicrotask(mu)}},gu=e=>t=>typeof t==`string`&&t.startsWith(e),_u=gu(`--`),vu=gu(`var(--`),yu=e=>vu(e)?bu.test(e.split(`/*`)[0].trim()):!1,bu=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function xu(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var Su={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Cu={...Su,transform:e=>Cl(0,1,e)},wu={...Su,default:1},Tu=e=>Math.round(e*1e5)/1e5,Eu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Du(e){return e==null}var Ou=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ku=(e,t)=>n=>!!(typeof n==`string`&&Ou.test(n)&&n.startsWith(e)||t&&!Du(n)&&Object.prototype.hasOwnProperty.call(n,t)),Au=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Eu);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},ju=e=>Cl(0,255,e),Mu={...Su,transform:e=>Math.round(ju(e))},Nu={test:ku(`rgb`,`red`),parse:Au(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Mu.transform(e)+`, `+Mu.transform(t)+`, `+Mu.transform(n)+`, `+Tu(Cu.transform(r))+`)`};function Pu(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
13a:i?parseInt(i,16)/255:1}}var Fu={test:ku(`#`),parse:Pu,transform:Nu.transform},Iu=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Lu=Iu(`deg`),Ru=Iu(`%`),G=Iu(`px`),zu=Iu(`vh`),Bu=Iu(`vw`),Vu={...Ru,parse:e=>Ru.parse(e)/100,transform:e=>Ru.transform(e*100)},Hu={test:ku(`hsl`,`hue`),parse:Au(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Ru.transform(Tu(t))+`, `+Ru.transform(Tu(n))+`, `+Tu(Cu.transform(r))+`)`},Uu={test:e=>Nu.test(e)||Fu.test(e)||Hu.test(e),parse:e=>Nu.test(e)?Nu.parse(e):Hu.test(e)?Hu.parse(e):Fu.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Nu.transform(e):Hu.transform(e),getAnimatableNone:e=>{let t=Uu.parse(e);return t.alpha=0,Uu.transform(t)}},Wu=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Gu(e){return isNaN(e)&&typeof e==`string`&&(e.match(Eu)?.length||0)+(e.match(Wu)?.length||0)>0}var Ku=`number`,qu=`color`,Ju=`var`,Yu=`var(`,Xu="${}",Zu=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Qu(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(Zu,e=>(Uu.test(e)?(r.color.push(a),i.push(qu),n.push(Uu.parse(e))):e.startsWith(Yu)?(r.var.push(a),i.push(Ju),n.push(e)):(r.number.push(a),i.push(Ku),n.push(parseFloat(e))),++a,Xu)).split(Xu),indexes:r,types:i}}function $u(e){return Qu(e).values}function ed({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===Ku?i+=Tu(r[a]):e===qu?i+=Uu.transform(r[a]):i+=r[a]}return i}}function td(e){return ed(Qu(e))}var nd=e=>typeof e==`number`?0:Uu.test(e)?Uu.getAnimatableNone(e):e,rd=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:nd(e);function id(e){let t=Qu(e);return ed(t)(t.values.map((e,n)=>rd(e,t.split[n])))}var ad={test:Gu,parse:$u,createTransformer:td,getAnimatableNone:id};function od(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sd({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=od(s,r,e+1/3),a=od(s,r,e),o=od(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function cd(e,t){return n=>n>0?t:e}var ld=(e,t,n)=>e+(t-e)*n,ud=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},dd=[Fu,Nu,Hu],fd=e=>dd.find(t=>t.test(e));function pd(e){let t=fd(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===Hu&&(n=sd(n)),n}var md=(e,t)=>{let n=pd(e),r=pd(t);if(!n||!r)return cd(e,t);let i={...n};return e=>(i.red=ud(n.red,r.red,e),i.green=ud(n.green,r.green,e),i.blue=ud(n.blue,r.blue,e),i.alpha=ld(n.alpha,r.alpha,e),Nu.transform(i))},hd=new Set([`none`,`hidden`]);function gd(e,t){return hd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function _d(e,t){return n=>ld(e,t,n)}function vd(e){return typeof e==`number`?_d:typeof e==`string`?yu(e)?cd:Uu.test(e)?md:Sd:Array.isArray(e)?yd:typeof e==`object`?Uu.test(e)?md:bd:cd}function yd(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>vd(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function bd(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=vd(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function xd(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Sd=(e,t)=>{let n=ad.createTransformer(t),r=Qu(e),i=Qu(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?hd.has(e)&&!i.values.length||hd.has(t)&&!r.values.length?gd(e,t):jl(yd(xd(r,i),i.values),n):(`${e}${t}`,cd(e,t))};function Cd(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`
13number`?ld(e,t,n):vd(e)(e,t)}var wd=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>lu.update(t,e),stop:()=>uu(t),now:()=>du.isProcessing?du.timestamp:hu.now()}},Td=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Ed=2e4;function Dd(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function Od(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Dd(r),Ed);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Fl(i)}}var kd={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Ad(e,t){return e*Math.sqrt(1-t*t)}var jd=12;function Md(e,t,n){let r=n;for(let n=1;n<jd;n++)r-=e(r)/t(r);return r}var Nd=.001;function Pd({duration:e=kd.duration,bounce:t=kd.bounce,velocity:n=kd.velocity,mass:r=kd.mass}){let i,a;kd.maxDuration;let o=1-t;o=Cl(kd.minDamping,kd.maxDamping,o),e=Cl(kd.minDuration,kd.maxDuration,Fl(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Ad(t,o),c=Math.exp(-i);return Nd-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Ad(t**2,o);return(-i(t)+Nd>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Md(i,a,s);if(e=Pl(e),isNaN(c))return{stiffness:kd.stiffness,damping:kd.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Fd=[`duration`,`bounce`],Id=[`stiffness`,`damping`,`mass`];function Ld(e,t){return t.some(t=>e[t]!==void 0)}function Rd(e){let t={velocity:kd.velocity,stiffness:kd.stiffness,damping:kd.damping,mass:kd.mass,isResolvedFromDuration:!1,...e};if(!Ld(e,Id)&&Ld(e,Fd))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Cl(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:kd.mass,stiffness:i,damping:a}}else{let n=Pd({...e,velocity:0});t={...t,...n,mass:kd.mass},t.isResolvedFromDuration=!0}return t}function zd(e=kd.visualDuration,t=kd.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Rd({...n,velocity:-Fl(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Fl(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?kd.restSpeed.granular:kd.restSpeed.default,i||=v?kd.restDelta.granular:kd.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Ad(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>Pl(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=Pl(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=Pl(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Dd(T),Ed),t=Td(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}zd.applyToOptions=e=>{let t=Od(e,100,zd);return e.ease=t.ease,e.duration=Pl(t.duration),e.type=`keyframes`,e};var Bd=5;function Vd(e,t,n){let r=Math.max(t-Bd,0);return Il(n-e(r),t-r)}function Hd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=zd({keyframes:[f.value,m(f.value)],velocity:Vd(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Ud(e,t,n){let r=[],i=n||Tl.mix||Cd,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=jl(Array.isArray(t)?t[n]||Al:t,a)),r.push(a)}return r}function Wd(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Ud(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Ml(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Cl(e[0],e[a-1],t)):l}function Gd(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Ml(0,t,r);e.push(ld(n,1,i))}}function Kd(e){let t=[0];return Gd(t,e.length-1),t}function qd(e,t){return e.map(e=>e*t)}function Jd(e,t){return e.map(()=>t||$l).splice(0,e.length-1)}function Yd({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=eu(r)?r.map(iu):iu(r),a={done:!1,value:t[0]},o=Wd(qd(n&&n.length===t.length?n:Kd(t),e),t,{ease:Array.isArray(i)?i:Jd(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Xd=e=>e!==null;function Zd(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Xd),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Qd={decay:Hd,inertia:Hd,tween:Yd,keyframes:Yd,spring:zd};function $d(e){typeof e.type==`string`&&(e.type=Qd[e.type])}var ef=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},tf=e=>e/100,nf=class extends ef{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==hu.now()&&this.tick(hu.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;$d(e);let{type:t=Yd,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Yd;
13s!==Yd&&typeof o[0]!=`number`&&(this.mixKeyframes=jl(tf,Cd(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Dd(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=Cl(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Hd&&(b.value=Zd(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return Fl(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Fl(e)}get time(){return Fl(this.currentTime)}set time(e){e=Pl(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Vd(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(hu.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Fl(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=wd,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(hu.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function rf(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var af=e=>e*180/Math.PI,of=e=>cf(af(Math.atan2(e[1],e[0]))),sf={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:of,rotateZ:of,skewX:e=>af(Math.atan(e[1])),skewY:e=>af(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},cf=e=>(e%=360,e<0&&(e+=360),e),lf=of,uf=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),df=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ff={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:uf,scaleY:df,scale:e=>(uf(e)+df(e))/2,rotateX:e=>cf(af(Math.atan2(e[6],e[5]))),rotateY:e=>cf(af(Math.atan2(-e[2],e[0]))),rotateZ:lf,rotate:lf,skewX:e=>af(Math.atan(e[4])),skewY:e=>af(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function pf(e){return+!!e.includes(`scale`)}
13function mf(e,t){if(!e||e===`none`)return pf(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=ff,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=sf,i=t}if(!i)return pf(t);let a=r[t],o=i[1].split(`,`).map(gf);return typeof a==`function`?a(o):o[a]}var hf=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return mf(n,t)};function gf(e){return parseFloat(e.trim())}var _f=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],vf=new Set([..._f,`pathRotation`]),yf=e=>e===Su||e===G,bf=new Set([`x`,`y`,`z`]),xf=_f.filter(e=>!bf.has(e));function Sf(e){let t=[];return xf.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Cf={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>mf(t,`x`),y:(e,{transform:t})=>mf(t,`y`)};Cf.translateX=Cf.x,Cf.translateY=Cf.y;var wf=new Set,Tf=!1,Ef=!1,Df=!1;function Of(){if(Ef){let e=Array.from(wf).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Sf(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Ef=!1,Tf=!1,wf.forEach(e=>e.complete(Df)),wf.clear()}function kf(){wf.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ef=!0)})}function Af(){Df=!0,kf(),Of(),Df=!1}var jf=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(wf.add(this),Tf||(Tf=!0,lu.read(kf),lu.resolveKeyframes(Of))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}rf(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),wf.delete(this)}cancel(){this.state===`scheduled`&&(wf.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Mf=e=>e.startsWith(`--`);function Nf(e,t,n){Mf(t)?e.style.setProperty(t,n):e.style[t]=n}var Pf={};function Ff(e,t){let n=kl(e);return()=>Pf[t]??n()}var If=Ff(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Lf=Ff(()=>{try{document.createElement(`div`).animate({opacity:0}
13,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Rf=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,zf={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Rf([0,.65,.55,1]),circOut:Rf([.55,0,1,.45]),backIn:Rf([.31,.01,.66,-.59]),backOut:Rf([.33,1.53,.69,.99])};function Bf(e,t){if(e)return typeof e==`function`?Lf()?Td(e,t):`ease-out`:tu(e)?Rf(e):Array.isArray(e)?e.map(e=>Bf(e,t)||zf.easeOut):zf[e]}function Vf(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Bf(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function Hf(e){return typeof e==`function`&&`applyToOptions`in e}function Uf({type:e,...t}){return Hf(e)&&Lf()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Wf=class extends ef{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=Uf(e);this.animation=Vf(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Zd(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Nf(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Fl(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Fl(e)}get time(){return Fl(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Pl(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
13inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&If()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Al):r(this)}},Gf={anticipate:ql,backInOut:Kl,circInOut:Xl};function Kf(e){return e in Gf}function qf(e){typeof e.ease==`string`&&Kf(e.ease)&&(e.ease=Gf[e.ease])}var Jf=10,Yf=class extends Wf{constructor(e){qf(e),$d(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new nf({...a,autoplay:!1}),s=Math.max(Jf,hu.now()-this.startTime),c=Cl(0,Jf,s-Jf),l=o.sample(s).value,{name:u}=this.options;i&&u&&Nf(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},Xf=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(ad.test(e)||e===`0`)&&!e.startsWith(`url(`));function Zf(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Qf(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Xf(i,t),s=Xf(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Zf(e)||(n===`spring`||Hf(n))&&r}function $f(e){e.duration=0,e.type=`keyframes`}var ep=new Set([`opacity`,`clipPath`,`filter`,`transform`]),tp=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function np(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&tp.test(e[t]))return!0;return!1}var rp=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),ip=kl(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function ap(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return ip()&&n&&(ep.has(n)||rp.has(n)&&np(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var op=40,sp=class extends ef{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=hu.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||jf;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=hu.now();let u=!0;Qf(e,i,a,o)||(u=!1,(Tl.instantAnimations||!s)&&l?.(Zd(e,n,t)),e[0]=e[e.length-1],$f(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>op?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&ap(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Yf({...d,element:p})}catch{m=new nf(d)}else m=new nf(d);m.finished.then(()=>{this.notifyFinished()}).catch(Al),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Af()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function cp(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
13e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var lp=30,up=e=>!isNaN(parseFloat(e)),dp={current:void 0},fp=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=hu.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=hu.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=up(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Nl);let n=this.events[e].add(t);return e===`change`?()=>{n(),lu.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return dp.current&&dp.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=hu.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>lp)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,lp);return Il(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function pp(e,t){return new fp(e,t)}function mp(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function hp(e,t){let n=e?.[t]??e?.default??e;return n===e?n:mp(n,e)}var gp={type:`spring`,stiffness:500,damping:25,restSpeed:10},_p=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),vp={type:`keyframes`,duration:.8},yp={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},bp=(e,{keyframes:t})=>t.length>2?vp:vf.has(e)?e.startsWith(`scale`)?_p(t[1]):gp:yp,xp=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Sp(e){for(let t in e)if(!xp.has(t))return!0;return!1}var Cp=(e,t,n,r={},i,a)=>o=>{let s=hp(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Pl(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Sp(s)||Object.assign(u,bp(e,u)),u.duration&&=Pl(u.duration),u.repeatDelay&&=Pl(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&($f(u),u.delay===0&&(d=!0)),(Tl.instantAnimations||Tl.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,$f(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Zd(u.keyframes,s);if(e!==void 0){lu.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new nf(u):new sp(u)},wp=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Tp(e){let t=wp.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Ep(e,t,n=1){`${e}`;let[r,i]=Tp(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return El(e)?parseFloat(e):e}return yu(i)?Ep(i,t,n+1):i}function Dp(e){let t=[{},{}];
13return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Op(e,t,n,r){if(typeof t==`function`){let[i,a]=Dp(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Dp(r);t=t(n===void 0?e.custom:n,i,a)}return t}function kp(e,t,n){let r=e.getProps();return Op(r,t,n===void 0?r.custom:n,e)}var Ap=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,..._f]),jp=e=>Array.isArray(e);function Mp(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,pp(n))}function Np(e){return jp(e)?e[e.length-1]||0:e}function Pp(e,t){let{transitionEnd:n={},transition:r={},...i}=kp(e,t)||{};i={...i,...n};for(let t in i)Mp(e,t,Np(i[t]))}var Fp=e=>!!(e&&e.getVelocity);function Ip(e){return!!(Fp(e)&&e.add)}function Lp(e,t){let n=e.getValue(`willChange`);if(Ip(n))return n.add(t);if(!n&&Tl.WillChange){let n=new Tl.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Rp(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var zp=`data-`+Rp(`framerAppearId`);function Bp(e){return e.props[zp]}function Vp({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Hp(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?mp(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&Vp(f,t))continue;let o={delay:n,...hp(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){lu.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=Bp(e);if(n){let e=window.MotionHandoffAnimation(n,t,lu);e!==null&&(o.startTime=e,p=!0)}}Lp(e,t);let m=l??e.shouldReduceMotion;r.start(Cp(t,r,i,m&&Ap.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>lu.update(()=>{o&&Pp(e,o)});d.length?Promise.all(d).then(t):t()}return d}function Up(e,t,n={}){let r=kp(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Hp(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Wp(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function Wp(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Up(c,t,{...o,delay:n+(typeof r==`function`?0:r)+cp(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Gp(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Up(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Up(e,t,n);else{let i=typeof t==`function`?kp(e,t,n.custom):t;r=Promise.all(Hp(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Kp={test:e=>e===`auto`,parse:e=>e},qp=e=>t=>t.test(e),Jp=[Su,G,Ru,Lu,Bu,zu,Kp],Yp=e=>Jp.find(qp(e));function Xp(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||Ol(e)}var Zp=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Qp(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Eu)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Zp.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var $p=/\b([a-z-]*)\(.*?\)/gu,em={...ad,getAnimatableNone:e=>{let t=e.match($p);return t?t.map(Qp).join(` `):e}},tm={...ad,getAnimatableNone:e=>{let t=ad.parse(e);return ad.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},nm={...Su,transform:Math.round},rm={borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,top:G,right:G,bottom:G,left:G,inset:G,insetBlock:G,insetBlockStart:G,insetBlockEnd:G,insetInline:G,insetInlineStart:G,insetInlineEnd:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,paddingBlock:G,paddingBlockStart:G,paddingBlockEnd:G,paddingInline:G,paddingInlineStart:G,paddingInlineEnd:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,marginBlock:G,marginBlockStart:G,marginBlockEnd:G,marginInline:G,marginInlineStart:G,marginInlineEnd:G,fontSize:G,backgroundPositionX:G,backgroundPositionY:G,rotate:Lu,pathRotation:Lu,rotateX:Lu,rotateY:Lu,rotateZ:Lu,scale:wu,scaleX:wu,scaleY:wu,scaleZ:wu,skew:Lu,skewX:Lu,skewY:Lu,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:Cu,originX:Vu,originY:Vu,originZ:G,zIndex:nm,fillOpacity:Cu,strokeOpacity:Cu,numOctaves:nm},im={...rm,color:Uu,backgroundColor:Uu,outlineColor:Uu,fill:Uu,stroke:Uu,borderColor:Uu,borderTopColor:Uu,borderRightColor:Uu,borderBottomColor:Uu,borderLeftColor:Uu,filter:em,WebkitFilter:em,mask:tm,WebkitMask:tm},am=e=>im[e],om=new Set([em,tm]);function sm(e,t){let n=am(e);return om.has(n)||(n=ad),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var cm=new Set([`auto`,`none`,`0`]);function lm(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!cm.has(t)&&Qu(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=sm(n,i)}var um=class extends jf{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),yu(r))){let i=Ep(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Ap.has(n)||e.length!==2)return;let[r,i]=e,a=Yp(r),o=Yp(i);if(xu(r)!==xu(i)&&Cf[n]){this.needsMeasurement=!0;return}if(a!==o)if(yf(a)&&yf(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Cf[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Xp(e[t]))&&n.push(t);n.length&&lm(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Cf[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Cf[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
13h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},dm=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function fm(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var pm=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function mm(e){return Dl(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:hm,cancel:gm}=cu(queueMicrotask,!1),_m={x:!1,y:!1};function vm(){return _m.x||_m.y}function ym(e){return e===`x`||e===`y`?_m[e]?null:(_m[e]=!0,()=>{_m[e]=!1}):_m.x||_m.y?null:(_m.x=_m.y=!0,()=>{_m.x=_m.y=!1})}function bm(e,t){let n=fm(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function xm(e){return!(e.pointerType===`touch`||vm())}function Sm(e,t,n={}){let[r,i,a]=bm(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!xm(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var Cm=(e,t)=>t?e===t||Cm(e,t.parentElement):!1,wm=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Tm=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Em(e){return Tm.has(e.tagName)||e.isContentEditable===!0}var Dm=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Om(e){return Dm.has(e.tagName)||e.isContentEditable===!0}var km=new WeakSet;function Am(e){return t=>{t.key===`Enter`&&e(t)}}function jm(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Mm=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Am(()=>{if(km.has(n))return;jm(n,`down`);let e=Am(()=>{jm(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>jm(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Nm(e){return wm(e)&&!vm()}var Pm=new WeakSet;function Fm(e,t,n={}){let[r,i,a]=bm(e,n),o=e=>{let r=e.currentTarget;if(!Nm(e)||Pm.has(e))return;km.add(r),n.stopPropagation&&Pm.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),km.has(r)&&km.delete(r),Nm(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||Cm(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),mm(e)&&(e.addEventListener(`focus`,e=>Mm(e,i)),!Em(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Im(e){return Dl(e)&&`ownerSVGElement`in e}var Lm=new WeakMap,Rm,zm=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:Im(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Bm=zm(`inline`,`width`,`offsetWidth`),Vm=zm(`block`,`height`,`offsetHeight`);function Hm({target:e,borderBoxSize:t}){Lm.get(e)?.forEach(n=>{n(e,{get width(){return Bm(e,t)},get height(){return Vm(e,t)}})})}function Um(e){e.forEach(Hm)}function Wm(){typeof ResizeObserver>`u`||(Rm=new ResizeObserver(Um))}function Gm(e,t){Rm||Wm();let n=fm(e);return n.forEach(e=>{let n=Lm.get(e);n||(n=new Set,Lm.set(e,n)),n.add(t),Rm?.observe(e)}),()=>{n.forEach(e=>{let n=Lm.get(e);n?.delete(t),n?.size||Rm?.unobserve(e)})}}var Km=new Set,qm;function Jm(){qm=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Km.forEach(t=>t(e))},window.addEventListener(`resize`,qm)}function Ym(e){return Km.add(e),qm||Jm(),()=>{Km.delete(e),!Km.size&&typeof qm==`function`&&(window.removeEventListener(`resize`,qm),qm=void 0)}}function Xm(e,t){return typeof e==`function`?Ym(e):Gm(e,t)}var Zm={value:null,addProjectionMetrics:null};function Qm(e){return Im(e)&&e.tagName===`svg`}var $m=[...Jp,Uu,ad],eh=e=>$m.find(qp(e)),th=()=>({translate:0,scale:1,origin:0,originPoint:0}),nh=()=>({x:th(),y:th()}),rh=()=>({min:0,max:0}),ih=()=>({x:rh(),y:rh()}),ah=new WeakMap;function oh(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function sh(e){return typeof e==`string`||Array.isArray(e)}var ch=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],lh=[`initial`,...ch];function uh(e){return oh(e.animate)||lh.some(t=>sh(e[t]))}function dh(e){return!!(uh(e)||e.variants)}function fh(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Fp(i))e.addValue(r,i);else if(Fp(a))e.addValue(r,pp(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,pp(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var ph={current:null},mh={current:!1},hh=typeof window<`u`;function gh(){if(mh.current=!0,hh)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>ph.current=e.matches;e.addEventListener(`change`,t),t()}else ph.current=!1}var _h=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],vh={};function yh(e){vh=e}function bh(){return vh}var xh=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=jf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=hu.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,lu.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=uh(t),this.isVariantNode=dh(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Fp(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,ah.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
13h((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(mh.current||gh(),this.shouldReduceMotion=ph.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),uu(this.notifyUpdate),uu(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&ep.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Wf({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Pl(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=vf.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&lu.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in vh){let t=vh[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ih()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<_h.length;t++){let n=_h[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=fh(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=pp(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(El(n)||Ol(n))?n=parseFloat(n):!eh(n)&&ad.test(t)&&(n=sm(e,t)),this.setBaseTarget(e,Fp(n)?n.get():n)),Fp(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Op(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Fp(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Nl),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){hm.render(this.render)}},Sh=class extends xh{constructor(){super(...arguments),this.KeyframeResolver=um}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Fp(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Ch=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function wh({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Th({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Eh(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Dh(e){return e===void 0||e===1}function Oh({scale:e,scaleX:t,scaleY:n}){return!Dh(e)||!Dh(t)||!Dh(n)}function kh(e){return Oh(e)||Ah(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ah(e){return jh(e.x)||jh(e.y)}function jh(e){return e&&e!==`0%`}function Mh(e,t,n){return n+t*(e-n)}function Nh(e,t,n,r,i){return i!==void 0&&(e=Mh(e,i,r)),Mh(e,n,r)+t}function Ph(e,t=0,n=1,r,i){e.min=Nh(e.min,t,n,r,i),e.max=Nh(e.max,t,n,r,i)}function Fh(e,{x:t,y:n}){Ph(e.x,t.translate,t.scale,t.originPoint),Ph(e.y,n.translate,n.scale,n.originPoint)}var Ih=.999999999999,Lh=1.0000000000001;function Rh(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(zh(e.x,-a.scroll.offset.x),zh(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Fh(e,o)),r&&kh(a.latestValues)&&Hh(e,a.latestValues,a.layout?.layoutBox))}t.x<Lh&&t.x>Ih&&(t.x=1),t.y<Lh&&t.y>Ih&&(t.y=1)}function zh(e,t){e.min+=t,e.max+=t}function Bh(e,t,n,r,i=.5){Ph(e,t,n,ld(e.min,e.max,i),r)}function Vh(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function Hh(e,t,n){let r=n??e;Bh(e.x,Vh(t.x,r.x),t.scaleX,t.scale,t.originX),Bh(e.y,Vh(t.y,r.y),t.scaleY,t.scale,t.originY)}function Uh(e,t){return wh(Eh(e.getBoundingClientRect(),t))}function Wh(e,t,n){let r=Uh(e,n),{scroll:i}=t;return i&&(zh(r.x,i.offset.x),zh(r.y,i.offset.y)),r}var Gh={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},Kh=_f.length;function qh(e,t,n){let r=``,i=!0;for(let a=0;a<Kh;a++){let o=_f[a],s=e[o];if(s===void 0)continue;let c=!0;
13if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=pm(s,rm[o]);if(!c){i=!1;let t=Gh[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${pm(a,rm.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function Jh(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(vf.has(e)){o=!0;continue}else if(_u(e)){i[e]=n;continue}else{let t=pm(n,rm[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=qh(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Yh(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Xh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Zh={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(G.test(e))e=parseFloat(e);else return e;return`${Xh(e,t.target.x)}% ${Xh(e,t.target.y)}%`}},Qh={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=ad.parse(e);if(i.length>5)return r;let a=ad.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=ld(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},$h={borderRadius:{...Zh,applyTo:[...dm]},borderTopLeftRadius:Zh,borderTopRightRadius:Zh,borderBottomLeftRadius:Zh,borderBottomRightRadius:Zh,boxShadow:Qh};function eg(e,{layout:t,layoutId:n}){return vf.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!$h[e]||e===`opacity`)}function tg(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Fp(r[t])||i&&Fp(i[t])||eg(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function ng(e){return window.getComputedStyle(e)}var rg=class extends Sh{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Yh}readValueFromInstance(e,t){if(vf.has(t))return this.projection?.isProjecting?pf(t):hf(e,t);{let n=ng(e),r=(_u(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Uh(e,t)}build(e,t,n){Jh(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return tg(e,t,n)}},ig={offset:`stroke-dashoffset`,array:`stroke-dasharray`},ag={offset:`strokeDashoffset`,array:`strokeDasharray`};function og(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?ig:ag;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var sg=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function cg(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Jh(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of sg)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&og(d,i,a,o,!1)}var lg=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),ug=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function dg(e,t,n,r){Yh(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(lg.has(n)?n:Rp(n),t.attrs[n])}function fg(e,t,n){let r=tg(e,t,n);for(let n in e)if(Fp(e[n])||Fp(t[n])){let t=_f.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var pg=class extends Sh{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=ih}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(vf.has(t)){let e=am(t);return e&&e.default||0}return t=lg.has(t)?t:Rp(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return fg(e,t,n)}
13build(e,t,n){cg(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){dg(e,t,n,r)}mount(e){this.isSVGTag=ug(e.tagName),super.mount(e)}},mg=lh.length;function hg(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&hg(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<mg;n++){let r=lh[n],i=e.props[r];(sh(i)||i===!1)&&(t[r]=i)}return t}function gg(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var _g=[...ch].reverse(),vg=ch.length;function yg(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Gp(e,t,n)))}function bg(e){let t=yg(e),n=Cg(),r=!0,i=!1,a=t=>(n,r)=>{let i=kp(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=hg(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<vg;t++){let p=_g[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=sh(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||oh(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=xg(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=jp(t)&&jp(n)?!gg(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=kp(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=cp(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=kp(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Cg(),i=!0}}}function xg(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!gg(t,e):!1}function Sg(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Cg(){return{animate:Sg(!0),whileInView:Sg(),whileHover:Sg(),whileTap:Sg(),whileDrag:Sg(),whileFocus:Sg(),exit:Sg()}}function wg(e,t){e.min=t.min,e.max=t.max}function Tg(e,t){wg(e.x,t.x),wg(e.y,t.y)}function Eg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Dg=.9999,Og=1.0001,kg=-.01,Ag=.01;function jg(e){return e.max-e.min}function Mg(e,t,n){return Math.abs(e-t)<=n}function Ng(e,t,n,r=.5){e.origin=r,e.originPoint=ld(t.min,t.max,e.origin),e.scale=jg(n)/jg(t),e.translate=ld(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Dg&&e.scale<=Og||isNaN(e.scale))&&(e.scale=1),(e.translate>=kg&&e.translate<=Ag||isNaN(e.translate))&&(e.translate=0)}function Pg(e,t,n,r){Ng(e.x,t.x,n.x,r?r.originX:void 0),Ng(e.y,t.y,n.y,r?r.originY:void 0)}function Fg(e,t,n,r=0){e.min=(r?ld(n.min,n.max,r):n.min)+t.min,e.max=e.min+jg(t)}function Ig(e,t,n,r){Fg(e.x,t.x,n.x,r?.x),Fg(e.y,t.y,n.y,r?.y)}function Lg(e,t,n,r=0){let i=r?ld(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+jg(t)}function Rg(e,t,n,r){Lg(e.x,t.x,n.x,r?.x),Lg(e.y,t.y,n.y,r?.y)}function zg(e,t,n,r,i){return e-=t,e=Mh(e,1/n,r),i!==void 0&&(e=Mh(e,1/i,r)),e}function Bg(e,t=0,n=1,r=.5,i,a=e,o=e){if(Ru.test(t)&&(t=parseFloat(t),t=ld(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=ld(a.min,a.max,r);e===a&&(s-=t),e.min=zg(e.min,t,n,s,i),e.max=zg(e.max,t,n,s,i)}function Vg(e,t,[n,r,i],a,o){Bg(e,t[n],t[r],t[i],t.scale,a,o)}var Hg=[`x`,`scaleX`,`originX`],Ug=[`y`,`scaleY`,`originY`];function Wg(e,t,n,r){Vg(e.x,t,Hg,n?n.x:void 0,r?r.x:void 0),Vg(e.y,t,Ug,n?n.y:void 0,r?r.y:void 0)}function Gg(e){return e.translate===0&&e.scale===1}function Kg(e){return Gg(e.x)&&Gg(e.y)}function qg(e,t){return e.min===t.min&&e.max===t.max}function Jg(e,t){return qg(e.x,t.x)&&qg(e.y,t.y)}function Yg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Xg(e,t){return Yg(e.x,t.x)&&Yg(e.y,t.y)}function Zg(e){return jg(e.x)/jg(e.y)}function Qg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function $g(e){return[e(`x`),e(`y`)]}function e_(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var t_=dm.length,n_=e=>typeof e==`string`?parseFloat(e):e,r_=e=>typeof e==`number`||G.test(e);function i_(e,t,n,r,i,a){i?(e.opacity=ld(0,n.opacity??1,o_(r)),e.o
13pacityExit=ld(t.opacity??1,0,s_(r))):a&&(e.opacity=ld(t.opacity??1,n.opacity??1,r));for(let i=0;i<t_;i++){let a=dm[i],o=a_(t,a),s=a_(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||r_(o)===r_(s)?(e[a]=Math.max(ld(n_(o),n_(s),r),0),(Ru.test(s)||Ru.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=ld(t.rotate||0,n.rotate||0,r))}function a_(e,t){return e[t]===void 0?e.borderRadius:e[t]}var o_=c_(0,.5,Yl),s_=c_(.5,.95,Al);function c_(e,t,n){return r=>r<e?0:r>t?1:n(Ml(e,t,r))}function l_(e,t,n){let r=Fp(e)?e:pp(e);return r.start(Cp(``,r,t,n)),r.animation}function u_(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var d_=(e,t)=>e.depth-t.depth,f_=class{constructor(){this.children=[],this.isDirty=!1}add(e){bl(this.children,e),this.isDirty=!0}remove(e){xl(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(d_),this.isDirty=!1,this.children.forEach(e)}};function p_(e,t){let n=hu.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(uu(r),e(a-t))};return lu.setup(r,!0),()=>uu(r)}function m_(e){return Fp(e)?e.get():e}var h_=class{constructor(){this.members=[]}add(e){bl(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(xl(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(xl(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},g_={hasAnimatedSinceResize:!0,hasEverUpdated:!1},__={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},v_=[``,`X`,`Y`,`Z`],y_=1e3,b_=0;function x_(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function S_(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Bp(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,lu,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&S_(r)}function C_({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=b_++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Zm.value&&(__.nodes=__.calculatedTargetDeltas=__.calculatedProjections=0),this.nodes.forEach(E_),this.nodes.forEach(F_),this.nodes.forEach(I_),this.nodes.forEach(D_),Zm.addProjectionMetrics&&Zm.addProjectionMetrics(__)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new f_)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Nl),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=Im(t)&&!Qm(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;lu.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=p_(i,250),g_.hasAnimatedSinceResize&&(g_.hasAnimatedSinceResize=!1,this.nodes.forEac
13h(P_)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||U_,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Xg(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...hp(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||P_(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),uu(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(L_),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&S_(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(A_),this.nodes.forEach(k_);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(j_);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(M_),this.nodes.forEach(N_),this.nodes.forEach(w_),this.nodes.forEach(T_)):this.nodes.forEach(j_),this.clearAllSnapshots();let e=hu.now();du.delta=Cl(0,1e3/60,e-du.timestamp),du.timestamp=e,du.isProcessing=!0,fu.update.process(du),fu.preRender.process(du),fu.render.process(du),du.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,hm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(O_),this.sharedNodes.forEach(R_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,lu.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){lu.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!jg(this.snapshot.measuredBox.x)&&!jg(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=ih(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Kg(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||kh(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),q_(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return ih();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Y_))){let{scroll:e}=this.root;e&&(zh(t.x,e.offset.x),zh(t.y,e.offset.y))}return t}removeElementScroll(e){let t=ih();if(Tg(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Tg(t,e),zh(t.x,i.offset.x),zh(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||ih();Tg(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(zh(r.x,-n.scroll.offset.x),zh(r.y,-n.scroll.offset.y)),kh(n.latestValues)&&Hh(r,n.latestValues,n.layout?.layoutBox)}return kh(this.latestValues)&&Hh(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=ih();Tg(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!kh(n.latestValues))continue;let r;n.instance&&(Oh(n.latestValues)&&n.updateSnapshot(),r=ih(),Tg(r,n.measurePageBox())),Wg(t,n.latestValues,n.snapshot?.layoutBox,r)}return kh(this.latestValues)&&Wg(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==du.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
13if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=du.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ih(),this.targetWithTransforms=ih()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ig(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Tg(this.target,this.layout.layoutBox),Fh(this.target,this.targetDelta)):Tg(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Zm.value&&__.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Oh(this.parent.latestValues)||Ah(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ih(),this.relativeTargetOrigin=ih(),Rg(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Tg(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===du.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Tg(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Rh(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=ih());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Eg(this.prevProjectionDelta.x,this.projectionDelta.x),Eg(this.prevProjectionDelta.y,this.projectionDelta.y)),Pg(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Qg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Qg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Zm.value&&__.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=nh(),this.projectionDelta=nh(),this.projectionDeltaWithTransform=nh()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=nh();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=ih(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(H_));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=ld(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=ld(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(z_(o.x,e.x,n),z_(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Rg(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),V_(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&Jg(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=ih(),Tg(f,this.relativeTarget)),c&&(this.animationValues=a,i_(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(uu(this.pendingAnimation),void 0),this.pendingAnimation=lu.update(()=>{g_.hasAnimatedSinceResize=!0,this.motionValue||=pp(0),this.motionValue.jump(0,!1),this.currentAnimation=l_(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(y_),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&J_(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||ih();let t=jg(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=jg(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Tg(t,n),Hh(t,i),Pg(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
13)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new h_),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&x_(`z`,e,r,this.animationValues);for(let t=0;t<v_.length;t++)x_(`rotate${v_[t]}`,e,r,this.animationValues),x_(`skew${v_[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=m_(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=m_(t?.pointerEvents)||``),this.hasProjected&&!kh(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=e_(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in $h){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=$h[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?m_(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(k_),this.root.sharedNodes.clear()}}}function w_(e){e.updateLayout()}function T_(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)$g(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=jg(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;wg(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else J_(i,t.layoutBox,n)&&$g(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=jg(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=nh();Pg(o,n,t.layoutBox);let s=nh();a?Pg(s,e.applyTransform(r,!0),t.measuredBox):Pg(s,n,t.layoutBox);let c=!Kg(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=ih();Rg(s,t.layoutBox,i.layoutBox,o);let c=ih();Rg(c,n,a.layoutBox,o),Xg(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function E_(e){Zm.value&&__.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function D_(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function O_(e){e.clearSnapshot()}function k_(e){e.clearMeasurements()}function A_(e){e.isLayoutDirty=!0,e.updateLayout()}function j_(e){e.isLayoutDirty=!1}function M_(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function N_(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function P_(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function F_(e){e.resolveTargetDelta()}function I_(e){e.calcProjection()}
13function L_(e){e.resetSkewAndRotation()}function R_(e){e.removeLeadSnapshot()}function z_(e,t,n){e.translate=ld(t.translate,0,n),e.scale=ld(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function B_(e,t,n,r){e.min=ld(t.min,n.min,r),e.max=ld(t.max,n.max,r)}function V_(e,t,n,r){B_(e.x,t.x,n.x,r),B_(e.y,t.y,n.y,r)}function H_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var U_={duration:.45,ease:[.4,0,.1,1]},W_=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),G_=W_(`applewebkit/`)&&!W_(`chrome/`)?Math.round:Al;function K_(e){e.min=G_(e.min),e.max=G_(e.max)}function q_(e){K_(e.x),K_(e.y)}function J_(e,t,n){return e===`position`||e===`preserve-aspect`&&!Mg(Zg(t),Zg(n),.2)}function Y_(e){return e!==e.root&&e.scroll?.wasRoot}var X_=C_({attachResizeListener:(e,t)=>u_(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Z_={current:void 0},Q_=C_({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Z_.current){let e=new X_({});e.mount(window),e.setOptions({layoutScroll:!0}),Z_.current=e}return Z_.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),$_=(0,S.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function ev(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function tv(...e){return t=>{let n=!1,r=e.map(e=>{let r=ev(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():ev(e[t],null)}}}}function nv(...e){return S.useCallback(tv(...e),e)}var rv=class extends S.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(mm(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=mm(e)&&e.offsetWidth||0,r=mm(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function iv({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,S.useId)(),s=(0,S.useRef)(null),c=(0,S.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,S.useContext)($_),u=nv(s,e.props?.ref??e?.ref);return(0,S.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(` 14 [data-motion-pop-id="${o}"] { 15 position: absolute !important; 16 width: ${e}px !important; 17 height: ${u}px !important; 18 ${_}px !important; 19 ${v}px !important; 20 } 21 `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,U.jsx)(rv,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:S.cloneElement(e,{ref:u})})}var av=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=_l(ov),d=(0,S.useId)(),f=(0,S.useRef)(n),p=(0,S.useRef)(r);vl(()=>{f.current=n,p.current=r});let m=!0,h=(0,S.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,S.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),S.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,U.jsx)(iv,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,U.jsx)(yl.Provider,{value:h,children:e})};function ov(){return new Map}function sv(e=!0){let t=(0,S.useContext)(yl);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,S.useId)();(0,S.useEffect)(()=>
21{if(e)return i(a)},[e]);let o=(0,S.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var cv=e=>e.key||``;function lv(e){let t=[];return S.Children.forEach(e,e=>{(0,S.isValidElement)(e)&&t.push(e)}),t}var uv=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=sv(o),f=(0,S.useMemo)(()=>lv(e),[e]),p=o&&!u?[]:f.map(cv),m=(0,S.useRef)(!0),h=(0,S.useRef)(f),g=_l(()=>new Map),_=(0,S.useRef)(new Set),[v,y]=(0,S.useState)(f),[b,x]=(0,S.useState)(f);vl(()=>{m.current=!1,h.current=f;for(let e=0;e<b.length;e++){let t=cv(b[e]);p.includes(t)?(g.delete(t),_.current.delete(t)):g.get(t)!==!0&&g.set(t,!1)}},[b,p.length,p.join(`-`)]);let C=[];if(f!==v){let e=[...f];for(let t=0;t<b.length;t++){let n=b[t],r=cv(n);p.includes(r)||(e.splice(t,0,n),C.push(n))}return a===`wait`&&C.length&&(e=C),x(lv(e)),y(f),null}let{forceRender:w}=(0,S.useContext)(gl);return(0,U.jsx)(U.Fragment,{children:b.map(e=>{let v=cv(e),y=o&&!u?!1:f===b||p.includes(v);return(0,U.jsx)(av,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(_.current.has(v))return;if(g.has(v))_.current.add(v),g.set(v,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(w?.(),x(h.current),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},v)})})},dv=(0,S.createContext)({strict:!1}),fv={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},pv=!1;function mv(){if(pv)return;let e={};for(let t in fv)e[t]={isEnabled:e=>fv[t].some(t=>!!e[t])};yh(e),pv=!0}function hv(){return mv(),bh()}function gv(e){let t=hv();for(let n in e)t[n]={...t[n],...e[n]};yh(t)}var _v=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function vv(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||_v.has(e)}var yv=c({default:()=>bv}),bv,xv=o((()=>{throw bv={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Sv=e=>!vv(e);function Cv(e){typeof e==`function`&&(Sv=t=>t.startsWith(`on`)?!vv(t):e(t))}try{Cv((xv(),d(yv)).default)}catch{}function wv(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||Fp(e[i])||(Sv(i)||n===!0&&vv(i)||!t&&!vv(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Tv=(0,S.createContext)({});function Ev(e,t){if(uh(e)){let{initial:t,animate:n}=e;return{initial:t===!1||sh(t)?t:void 0,animate:sh(n)?n:void 0}}return e.inherit===!1?{}:t}function Dv(e){let{initial:t,animate:n}=Ev(e,(0,S.useContext)(Tv));return(0,S.useMemo)(()=>({initial:t,animate:n}),[Ov(t),Ov(n)])}function Ov(e){return Array.isArray(e)?e.join(` `):e}var kv=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Av(e,t,n){for(let r in t)!Fp(t[r])&&!eg(r,n)&&(e[r]=t[r])}function jv({transformTemplate:e},t){return(0,S.useMemo)(()=>{let n=kv();return Jh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Mv(e,t){let n=e.style||{},r={};return Av(r,n,e),Object.assign(r,jv(e,t)),r}function Nv(e,t){let n={},r=Mv(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var Pv=()=>({...kv(),attrs:{}});function Fv(e,t,n,r){let i=(0,S.useMemo)(()=>{let n=Pv();return cg(n,t,ug(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Av(t,e.style,e),i.style={...t,...i.style}}return i}var Iv=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function Lv(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Iv.indexOf(e)>-1||/[A-Z]/u.test(e))}function Rv(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??Lv(e)?Fv:Nv)(t,r,i,e),c=wv(t,typeof e==`string`,a),l=e===S.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,S.useMemo)(()=>Fp(u)?u.get():u,[u]);return(0,S.createElement)(e,{...l,children:d})}function zv({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Bv(n,r,i,e),renderState:t()}}function Bv(e,t,n,r){let i={}
21,a=r(e,{});for(let e in a)i[e]=m_(a[e]);let{initial:o,animate:s}=e,c=uh(e),l=dh(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!oh(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Op(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var Vv=e=>(t,n)=>{let r=(0,S.useContext)(Tv),i=(0,S.useContext)(yl),a=()=>zv(e,t,r,i);return n?a():_l(a)},Hv=Vv({scrapeMotionValuesFromProps:tg,createRenderState:kv}),Uv=Vv({scrapeMotionValuesFromProps:fg,createRenderState:Pv}),Wv=Symbol.for(`motionComponentSymbol`);function Gv(e,t,n){let r=(0,S.useRef)(n);(0,S.useInsertionEffect)(()=>{r.current=n});let i=(0,S.useRef)(null);return(0,S.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}var Kv=(0,S.createContext)({});function qv(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function Jv(e,t,n,r,i,a){let{visualElement:o}=(0,S.useContext)(Tv),s=(0,S.useContext)(dv),c=(0,S.useContext)(yl),l=(0,S.useContext)($_),u=l.reducedMotion,d=l.skipAnimations,f=(0,S.useRef)(null),p=(0,S.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,S.useContext)(Kv);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&Yv(f.current,n,i,h);let g=(0,S.useRef)(!1);(0,S.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[zp],v=(0,S.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return vl(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,S.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function Yv(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:Xv(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&qv(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function Xv(e){if(e)return e.options.allowProjection===!1?Xv(e.parent):e.projection}function Zv(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&gv(r);let a=n?n===`svg`:Lv(e),o=a?Uv:Hv;function s(n,s){let c,l={...(0,S.useContext)($_),...n,layoutId:Qv(n)},{isStatic:u}=l,d=Dv(n),f=o(n,u);if(!u&&typeof window<`u`){$v(l,r);let t=ey(l);c=t.MeasureLayout,d.visualElement=Jv(e,f,l,i,t.ProjectionNode,a)}return(0,U.jsxs)(Tv.Provider,{value:d,children:[c&&d.visualElement?(0,U.jsx)(c,{visualElement:d.visualElement,...l}):null,Rv(e,n,Gv(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,S.forwardRef)(s);return c[Wv]=e,c}function Qv({layoutId:e}){let t=(0,S.useContext)(gl).id;return t&&e!==void 0?t+`-`+e:e}function $v(e,t){(0,S.useContext)(dv).strict}function ey(e){let{drag:t,layout:n}=hv();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function ty(e,t){if(typeof Proxy>`u`)return Zv;let n=new Map,r=(n,r)=>Zv(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,Zv(a,void 0,e,t)),n.get(a))})}var ny=(e,t)=>t.isSVG??Lv(e)?new pg(t):new rg(t,{allowProjection:e!==S.Fragment}),ry=class extends Ch{constructor(e){super(e),e.animationState||=bg(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();oh(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},iy=0,ay={animation:{Feature:ry},exit:{Feature:class extends Ch{constructor(){super(...arguments),this.id=iy++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=kp(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>
21{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function oy(e){return{point:{x:e.pageX,y:e.pageY}}}var sy=e=>t=>wm(t)&&e(t,oy(t));function cy(e,t,n,r){return u_(e,t,sy(n),r)}var ly=({current:e})=>e?e.ownerDocument.defaultView:null,uy=(e,t)=>Math.abs(e-t);function dy(e,t){let n=uy(e.x,t.x),r=uy(e.y,t.y);return Math.sqrt(n**2+r**2)}var fy=new Set([`auto`,`scroll`]),py=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=my(this.lastRawMoveEventInfo,this.transformPagePoint));let e=gy(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=dy(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=du;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=my(t,this.transformPagePoint),lu.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=gy(e.type===`pointercancel`?this.lastMoveEventInfo:my(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!wm(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=my(oy(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=du;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,gy(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=jl(cy(this.contextWindow,`pointermove`,this.handlePointerMove,d),cy(this.contextWindow,`pointerup`,this.handlePointerUp,d),cy(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(fy.has(e.overflowX)||fy.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),lu.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),uu(this.updatePoint)}};function my(e,t){return t?{point:t(e.point)}:e}function hy(e,t){return{x:e.x-t.x,y:e.y-t.y}}function gy({point:e},t){return{point:e,delta:hy(e,vy(t)),offset:hy(e,_y(t)),velocity:yy(t,.1)}}function _y(e){return e[0]}function vy(e){return e[e.length-1]}function yy(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=vy(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Pl(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>Pl(t)*2&&(r=e[1]);let a=Fl(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function by(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ld(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ld(n,e,r.max):Math.min(e,n)),e}function xy(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function Sy(e,{top:t,left:n,bottom:r,right:i}){return{x:xy(e.x,n,i),y:xy(e.y,t,r)}}function Cy(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function wy(e,t){return{x:Cy(e.x,t.x),y:Cy(e.y,t.y)}}function Ty(e,t){let n=.5,r=jg(e),i=jg(t);return i>r?n=Ml(t.min,t.max-r,e.min):r>i&&(n=Ml(e.min,e.max-i,t.min)),Cl(0,1,n)}function Ey(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Dy=.35;function Oy(e=Dy){return e===!1?e=0:e===!0&&(e=Dy),{x:ky(e,`left`,`right`),y:ky(e,`top`,`bottom`)}}function ky(e,t,n){return{min:Ay(e,t),max:Ay(e,n)}}function Ay(e,t){return typeof e==`number`?e:e[t]||0}var jy=new WeakMap,My=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ih(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(oy(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ym(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),$g(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Ru.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=jg(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&lu.update(()=>i(e,t),!1,!0),Lp(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=Iy(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&lu.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new py(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:ly(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&lu.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Fy(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=by(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&qv(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=Sy(n.layoutBox,e):this.constraints=!1,this.elastic=Oy(t),r!==this.constraints&&!qv(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&$g(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Ey(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!qv(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=Wh(n,r.root,this.visualElement.getTransformPagePoint()),a=wy(r.layout.layoutBox,i);if(t){let e=t(Th(a));this.hasMutatedConstraints=!!e,e&&(a=wh(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=$g(o=>{if(!Fy(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);
21return Lp(this.visualElement,e),n.start(Cp(e,n,0,t,this.visualElement,!1))}stopAnimation(){$g(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){$g(t=>{let{drag:n}=this.getProps();if(!Fy(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-ld(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!qv(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};$g(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Ty({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),$g(t=>{if(!Fy(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(ld(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;jy.set(this.visualElement,this);let e=this.visualElement.current,t=cy(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Om(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();qv(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=Py(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),lu.read(r);let o=u_(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&($g(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Dy,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Ny(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Py(e,t,n){let r=Xm(e,Ny(n)),i=Xm(t,Ny(n));return()=>{r(),i()}}function Fy(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Iy(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Ly=class extends Ch{constructor(e){super(e),this.removeGroupControls=Al,this.removeListeners=Al,this.controls=new My(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Al}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},Ry=e=>(t,n)=>{e&&lu.update(()=>e(t,n),!1,!0)},zy=class extends Ch{constructor(){super(...arguments),this.removePointerDownListener=Al}onPointerDown(e){this.session=new py(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ly(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Ry(e),onStart:Ry(t),onMove:Ry(n),onEnd:(e,t)=>{delete this.session,r&&lu.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=cy(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},By=!1,Vy=class extends S.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),By&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),g_.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),By=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||lu.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),hm.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;By=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function Hy(e){let[t,n]=sv(),r=(0,S.useContext)(gl);return(0,U.jsx)(Vy,{...e,layoutGroup:r,switchLayoutGroup:(0,S.useContext)(Kv),isPresent:t,safeToRemove:n})}var Uy={pan:{Feature:zy},drag:{Feature:Ly,ProjectionNode:Q_,MeasureLayout:Hy}};function Wy(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&lu.postRender(()=>i(t,oy(t)))}var Gy=class extends Ch{mount(){let{current:e}=this.node;e&&(this.unmount=Sm(e,(e,t)=>(Wy(this.node,t,`Start`),e=>Wy(this.node,e,`End`))))}unmount(){}},Ky=class extends Ch{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=jl(u_(this.node.current,`focus`,()=>this.onFocus()),u_(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};
21function qy(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&lu.postRender(()=>i(t,oy(t)))}var Jy=class extends Ch{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Fm(e,(e,t)=>(qy(this.node,t,`Start`),(e,{success:t})=>qy(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},Yy=new WeakMap,Xy=new WeakMap,Zy=e=>{let t=Yy.get(e.target);t&&t(e)},Qy=e=>{e.forEach(Zy)};function $y({root:e,...t}){let n=e||document;Xy.has(n)||Xy.set(n,{});let r=Xy.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Qy,{root:e,...t})),r[i]}function eb(e,t,n){let r=$y(t);return Yy.set(e,n),r.observe(e),()=>{Yy.delete(e),r.unobserve(e)}}var tb={some:0,all:1},nb=class extends Ch{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:tb[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=eb(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(rb(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function rb({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var ib={inView:{Feature:nb},tap:{Feature:Jy},focus:{Feature:Ky},hover:{Feature:Gy}},ab={layout:{ProjectionNode:Q_,MeasureLayout:Hy}},ob=ty({...ay,...ib,...Uy,...ab},ny);function sb(){!mh.current&&gh();let[e]=(0,S.useState)(ph.current);return e}var cb={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},lb=S.createContext&&S.createContext(cb),ub=[`attr`,`size`,`title`];function db(e,t){if(e==null)return{};var n,r,i=fb(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function fb(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function pb(){return pb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pb.apply(null,arguments)}function mb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?mb(Object(n),!0).forEach(function(t){gb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gb(e,t,n){return(t=_b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _b(e){var t=vb(e,`string`);return typeof t==`symbol`?t:t+``}function vb(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function yb(e){return e&&e.map((e,t)=>S.createElement(e.tag,hb({key:t},e.attr),yb(e.child)))}function K(e){return t=>S.createElement(bb,pb({attr:hb({},e.attr)},t),yb(e.child))}function bb(e){var t=t=>{var n=e.attr,r=e.size,i=e.title,a=db(e,ub),o=r||t.size||`1em`,s;return t.className&&(s=t.className),e.className&&(s=(s?s+` `:``)+e.className),S.createElement(`svg`,pb({stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`},t.attr,n,a,{className:s,style:hb(hb({color:e.color||t.color},t.style),e.style),height:o,width:o,xmlns:`http://www.w3.org/2000/svg`}),i&&S.createElement(`title`,null,i),e.children)};return lb===void 0?t(cb):S.createElement(lb.Consumer,null,e=>t(e))}function xb(e){return K({tag:`svg`,attr:{viewBox:`0 0 448 512`},child:[{tag:`path`,attr:{d:`M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z`},child:[]}]})(e)}function Sb(e){return K({tag:`svg`,attr:{viewBox:`0 0 640 512`},child:[{tag:`path`,attr:{d:`M533.6 32.5C598.5 85.2 640 165.8 640 256s-41.5 170.7-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C557.5 398.2 592 331.2 592 256s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64l0 384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352 64 352c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l67.8 0L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3z`},child:[]}]})(e)}function Cb(e){return K({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z`},child:[]}]})(e)}function wb(e){return K({tag:`svg`,attr:{viewBox:`0 0 384 512`},child:[{tag:`path`,attr:{d:`M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z`},child:[]}]})(e)}function Tb(e){return K({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z`},child:[]}]})(e)}function Eb(e){return K({tag:`svg`,attr:{viewBox:`0 0 448 512`},child:[{tag:`path`,attr:{d:`M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32
210c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z`},child:[]}]})(e)}var Db=Kc((e,t)=>({isPlaying:!1,volume:.8,play:()=>e({isPlaying:!0}),pause:()=>e({isPlaying:!1}),toggle:()=>e({isPlaying:!t().isPlaying}),setVolume:t=>e({volume:Math.max(0,Math.min(1,t))})}));function Ob(e,t){return function(){return e.apply(t,arguments)}}var{toString:kb}=Object.prototype,{getPrototypeOf:Ab}=Object,{iterator:jb,toStringTag:Mb}=Symbol,Nb=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Pb=(e,t)=>{let n=e,r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),Nb(n,t))return!0;n=Ab(n)}return!1},Fb=(e,t)=>e!=null&&Pb(e,t)?e[t]:void 0,Ib=(e=>t=>{let n=kb.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Lb=e=>(e=e.toLowerCase(),t=>Ib(t)===e),Rb=e=>t=>typeof t===e,{isArray:zb}=Array,Bb=Rb(`undefined`);function Vb(e){return e!==null&&!Bb(e)&&e.constructor!==null&&!Bb(e.constructor)&&Gb(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Hb=Lb(`ArrayBuffer`);function Ub(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Hb(e.buffer),t}var Wb=Rb(`string`),Gb=Rb(`function`),Kb=Rb(`number`),qb=e=>typeof e==`object`&&!!e,Jb=e=>e===!0||e===!1,Yb=e=>{if(!qb(e))return!1;let t=Ab(e);return(t===null||t===Object.prototype||Ab(t)===null)&&!Pb(e,Mb)&&!Pb(e,jb)},Xb=e=>{if(!qb(e)||Vb(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Zb=Lb(`Date`),Qb=Lb(`File`),$b=e=>!!(e&&e.uri!==void 0),ex=e=>e&&e.getParts!==void 0,tx=Lb(`Blob`),nx=Lb(`FileList`),rx=e=>qb(e)&&Gb(e.pipe);function ix(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var ax=ix(),ox=ax.FormData===void 0?void 0:ax.FormData,sx=e=>{if(!e)return!1;if(ox&&e instanceof ox)return!0;let t=Ab(e);if(!t||t===Object.prototype||!Gb(e.append))return!1;let n=Ib(e);return n===`formdata`||n===`object`&&Gb(e.toString)&&e.toString()===`[object FormData]`},cx=Lb(`URLSearchParams`),[lx,ux,dx,fx]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(Lb),px=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function mx(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),zb(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(Vb(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function hx(e,t){if(Vb(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-->0;)if(i=n[r],t===i.toLowerCase())return i;return null}var gx=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,_x=e=>!Bb(e)&&e!==gx;function vx(...e){let{caseless:t,skipUndefined:n}=_x(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&typeof i==`string`&&hx(r,i)||i,o=Nb(r,a)?r[a]:void 0;Yb(o)&&Yb(e)?r[a]=vx(o,e):Yb(e)?r[a]=vx({},e):zb(e)?r[a]=e.slice():(!n||!Bb(e))&&(r[a]=e)};for(let t=0,n=e.length;t<n;t++){let n=e[t];if(!n||Vb(n)||(mx(n,i),typeof n!=`object`||zb(n)))continue;let r=Object.getOwnPropertySymbols(n);for(let e=0;e<r.length;e++){let t=r[e];Ax.call(n,t)&&i(n[t],t)}}return r}var yx=(e,t,n,{allOwnKeys:r}={})=>(mx(t,(t,r)=>{n&&Gb(t)?Object.defineProperty(e,r,{__proto__:null,value:Ob(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),bx=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),xx=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,
21configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},Sx=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-->0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Ab(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Cx=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},wx=e=>{if(!e)return null;if(zb(e))return e;let t=e.length;if(!Kb(t))return null;let n=Array(t);for(;t-->0;)n[t]=e[t];return n},Tx=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&Ab(Uint8Array)),Ex=(e,t)=>{let n=(e&&e[jb]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},Dx=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ox=Lb(`HTMLFormElement`),kx=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:Ax}=Object.prototype,jx=Lb(`RegExp`),Mx=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};mx(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},Nx=e=>{Mx(e,(t,n)=>{if(Gb(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(Gb(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},Px=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return zb(e)?r(e):r(String(e).split(t)),n},Fx=()=>{},Ix=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Lx(e){return!!(e&&Gb(e.append)&&e[Mb]===`FormData`&&e[jb])}var Rx=e=>{let t=new WeakSet,n=e=>{if(qb(e)){if(t.has(e))return;if(Vb(e))return e;if(!(`toJSON`in e)){t.add(e);let r=zb(e)?[]:{};return mx(e,(e,t)=>{let i=n(e);!Bb(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},zx=Lb(`AsyncFunction`),Bx=e=>e&&(qb(e)||Gb(e))&&Gb(e.then)&&Gb(e.catch),Vx=((e,t)=>e?setImmediate:t?((e,t)=>(gx.addEventListener(`message`,({source:n,data:r})=>{n===gx&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),gx.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,Gb(gx.postMessage)),Hx=typeof queueMicrotask<`u`?queueMicrotask.bind(gx):typeof process<`u`&&process.nextTick||Vx,Ux=e=>e!=null&&Gb(e[jb]),q={isArray:zb,isArrayBuffer:Hb,isBuffer:Vb,isFormData:sx,isArrayBufferView:Ub,isString:Wb,isNumber:Kb,isBoolean:Jb,isObject:qb,isPlainObject:Yb,isEmptyObject:Xb,isReadableStream:lx,isRequest:ux,isResponse:dx,isHeaders:fx,isUndefined:Bb,isDate:Zb,isFile:Qb,isReactNativeBlob:$b,isReactNative:ex,isBlob:tx,isRegExp:jx,isFunction:Gb,isStream:rx,isURLSearchParams:cx,isTypedArray:Tx,isFileList:nx,forEach:mx,merge:vx,extend:yx,trim:px,stripBOM:bx,inherits:xx,toFlatObject:Sx,kindOf:Ib,kindOfTest:Lb,endsWith:Cx,toArray:wx,forEachEntry:Ex,matchAll:Dx,isHTMLForm:Ox,hasOwnProperty:Nb,hasOwnProp:Nb,hasOwnInPrototypeChain:Pb,getSafeProp:Fb,reduceDescriptors:Mx,freezeMethods:Nx,toObjectSet:Px,toCamelCase:kx,noop:Fx,toFiniteNumber:Ix,findKey:hx,global:gx,isContextDefined:_x,isSpecCompliantForm:Lx,toJSONObject:Rx,isAsyncFn:zx,isThenable:Bx,setImmediate:Vx,asap:Hx,isIterable:Ux,isSafeIterable:e=>e!=null&&Pb(e,jb)&&Ux(e)},Wx=q.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),Gx=e=>{let t={},n,r,i;return e&&e.split(` 22`).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&Wx[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t};function Kx(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}var qx=RegExp(`[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+`,`g`),Jx=RegExp(`[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+`,`g`);function Yx(e,t){return q.isArray(e)?e.map(e=>Yx(e,t)):Kx(String(e).replace(t,``))}var Xx=e=>Yx(e,qx),Zx=e=>Yx(e,Jx);function Qx(e){let t=Object.create(null);return q.forEach(e.toJSON(),(e,n)=>{t[n]=Zx(e)}),t}var $x=Symbol(`internals`);function eS(e){return e&&String(e).trim().toLowerCase()}function tS(e){return e===!1||e==null?e:q.isArray(e)?e.map(tS):Xx(String(e))}function nS(e){let t=Object.create(null),n=/([^\s,;
22=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var rS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function iS(e,t,n,r,i){if(q.isFunction(r))return r.call(this,t,n);if(i&&(t=n),q.isString(t)){if(q.isString(r))return t.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(t)}}function aS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function oS(e,t){let n=q.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var sS=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=eS(t);if(!i)return;let a=q.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=tS(e))}let a=(e,t)=>q.forEach(e,(e,n)=>i(e,n,t));if(q.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(q.isString(e)&&(e=e.trim())&&!rS(e))a(Gx(e),t);else if(q.isObject(e)&&q.isSafeIterable(e)){let n=Object.create(null),r,i;for(let t of e){if(!q.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);i=t[0],q.hasOwnProp(n,i)?(r=n[i],n[i]=q.isArray(r)?[...r,t[1]]:[r,t[1]]):n[i]=t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=eS(e),e){let n=q.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return nS(e);if(q.isFunction(t))return t.call(this,e,n);if(q.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=eS(e),e){let n=q.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||iS(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=eS(e),e){let i=q.findKey(n,e);i&&(!t||iS(n,n[i],i,t))&&(delete n[i],r=!0)}}return q.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||iS(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return q.forEach(this,(r,i)=>{let a=q.findKey(n,i);if(a){t[a]=tS(r),delete t[i];return}let o=e?aS(i):String(i).trim();o!==i&&delete t[i],t[o]=tS(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return q.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&q.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(` 23`)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[$x]=this[$x]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=eS(e);t[r]||(oS(n,e),t[r]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}};sS.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),q.reduceDescriptors(sS.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),q.freezeMethods(sS);var cS=`[REDACTED ****]`;function lS(e){if(q.hasOwnProp(e,`toJSON`))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(q.hasOwnProp(t,`toJSON`))return!0;t=Object.getPrototypeOf(t)}return!1}function uS(e,t){let n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(typeof e!=`object`||!e||q.isBuffer(e))return e;if(r.indexOf(e)!==-1)return;e instanceof sS&&(e=e.toJSON()),r.push(e);let t;if(q.isArray(e))t=[],e.forEach((e,n)=>{let r=i(e);q.isUndefined(r)||(t[n]=r)});else{if(!q.isPlainObject(e)&&lS(e))return r.pop(),e;t=Object.create(null);for(let[r,a]of Object.entries(e)){let e=n.has(r.toLowerCase())?cS:i(a);q.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}var J=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return Object.defineProperty(s,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&q.hasOwnProp(e,`redact`)?e.redact:void 0,n=q.isArray(t)&&t.length>0?uS(e,t):q.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};J.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,J.ERR_BAD_OPTION=`ERR_BAD_OPTION`,J.ECONNABORTED=`ECONNABORTED`,J.ETIMEDOUT=`ETIMEDOUT`,J.ECONNREFUSED=`ECONNREFUSED`,J.ERR_NETWORK=`E
23RR_NETWORK`,J.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,J.ERR_DEPRECATED=`ERR_DEPRECATED`,J.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,J.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,J.ERR_CANCELED=`ERR_CANCELED`,J.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,J.ERR_INVALID_URL=`ERR_INVALID_URL`,J.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function dS(e){return q.isPlainObject(e)||q.isArray(e)}function fS(e){return q.endsWith(e,`[]`)?e.slice(0,-2):e}function pS(e,t,n){return e?e.concat(t).map(function(e,t){return e=fS(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function mS(e){return q.isArray(e)&&!e.some(dS)}var hS=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function gS(e,t,n){if(!q.isObject(e))throw TypeError(`target must be an object`);t||=new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!q.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||m,a=n.dots,o=n.indexes,s=n.Blob||typeof Blob<`u`&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,l=s&&q.isSpecCompliantForm(t),u=[];if(!q.isFunction(i))throw TypeError(`visitor must be a function`);function d(e){if(e===null)return``;if(q.isDate(e))return e.toISOString();if(q.isBoolean(e))return e.toString();if(!l&&q.isBlob(e))throw new J(`Blob is not supported. Use a Buffer instead.`);if(q.isArrayBuffer(e)||q.isTypedArray(e)){if(l&&typeof s==`function`)return new s([e]);if(typeof Buffer<`u`)return Buffer.from(e);throw new J(`Blob is not supported. Use a Buffer instead.`,J.ERR_NOT_SUPPORT)}return e}function f(e){if(e>c)throw new J(`Object is too deeply nested (`+e+` levels). Max depth: `+c,J.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,t){if(c===1/0)return JSON.stringify(e);let n=[];return JSON.stringify(e,function(e,r){if(!q.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),f(t+n.length-1),r})}function m(e,n,i){let s=e;if(q.isReactNative(t)&&q.isReactNativeBlob(e))return t.append(pS(i,n,a),d(e)),!1;if(e&&!i&&typeof e==`object`){if(q.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=p(e,1);else if(q.isArray(e)&&mS(e)||(q.isFileList(e)||q.endsWith(n,`[]`))&&(s=q.toArray(e)))return n=fS(n),s.forEac
23h(function(e,r){!(q.isUndefined(e)||e===null)&&t.append(o===!0?pS([n],r,a):o===null?n:n+`[]`,d(e))}),!1}return dS(e)?!0:(t.append(pS(i,n,a),d(e)),!1)}let h=Object.assign(hS,{defaultVisitor:m,convertValue:d,isVisitable:dS});function g(e,n,r=0){if(!q.isUndefined(e)){if(f(r),u.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));u.push(e),q.forEach(e,function(e,a){(!(q.isUndefined(e)||e===null)&&i.call(t,e,q.isString(a)?a.trim():a,n,h))===!0&&g(e,n?n.concat(a):[a],r+1)}),u.pop()}}if(!q.isObject(e))throw TypeError(`data must be an object`);return g(e),t}function _S(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function vS(e,t){this._pairs=[],e&&gS(e,this,t)}var yS=vS.prototype;yS.append=function(e,t){this._pairs.push([e,t])},yS.toString=function(e){let t=e?t=>e.call(this,t,_S):_S;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function bS(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function xS(e,t,n){if(!t)return e;e||=``;let r=q.isFunction(n)?{serialize:n}:n,i=q.getSafeProp(r,`encode`)||bS,a=q.getSafeProp(r,`serialize`),o;if(o=a?a(t,r):q.isURLSearchParams(t)?t.toString():new vS(t,r).toString(i),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var SS=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){q.forEach(this.handlers,function(t){t!==null&&e(t)})}},CS={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},wS={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:vS,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},TS=c({hasBrowserEnv:()=>ES,hasStandardBrowserEnv:()=>OS,hasStandardBrowserWebWorkerEnv:()=>kS,navigator:()=>DS,origin:()=>AS}),ES=typeof window<`u`&&typeof document<`u`,DS=typeof navigator==`object`&&navigator||void 0,OS=ES&&(!DS||[`ReactNative`,`NativeScript`,`NS`].indexOf(DS.product)<0),kS=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,AS=ES&&window.location.href||`http://localhost`,jS={...TS,...wS};function MS(e,t){return gS(e,new jS.classes.URLSearchParams,{visitor:function(e,t,n,r){return jS.isNode&&q.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}var NS=100;function PS(e){if(e>NS)throw new J(`FormData field is too deeply nested (`+e+` levels). Max depth: `+NS,J.ERR_FORM_DATA_DEPTH_EXCEEDED)}function FS(e){let t=[],n=/\w+|\[(\w*)]/g,r;for(;(r=n.exec(e))!==null;)PS(t.length),t.push(r[0]===`[]`?``:r[1]||r[0]);return t}function IS(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function LS(e){function t(e,n,r,i){PS(i);let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&q.isArray(r)?r.length:a,s?(q.hasOwnProp(r,a)?r[a]=q.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!q.hasOwnProp(r,a)||!q.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&q.isArray(r[a])&&(r[a]=IS(r[a])),!o)}if(q.isFormData(e)&&q.isFunction(e.entries)){let n={};return q.forEachEntry(e,(e,r)=>{t(FS(e),r,n,0)}),n}return null}var RS=(e,t)=>e!=null&&q.hasOwnProp(e,t)?e[t]:void 0;function zS(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var BS={transitional:CS,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=q.isObject(e);if(i&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(LS(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;
23if(i){let t=RS(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return MS(e,t).toString();if((a=q.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=RS(this,`env`),r=n&&n.FormData;return gS(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),zS(e)):e}],transformResponse:[function(e){let t=RS(this,`transitional`)||BS.transitional,n=t&&t.forcedJSONParsing,r=RS(this,`responseType`),i=r===`json`;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,RS(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?J.from(e,J.ERR_BAD_RESPONSE,this,null,RS(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:jS.classes.FormData,Blob:jS.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`],e=>{BS.headers[e]={}});function VS(e,t){let n=this||BS,r=t||n,i=sS.from(r.headers),a=r.data;return q.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function HS(e){return!!(e&&e.__CANCEL__)}var US=class extends J{constructor(e,t,n){super(e??`canceled`,J.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function WS(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new J(`Request failed with status code `+n.status,n.status>=400&&n.status<500?J.ERR_BAD_REQUEST:J.ERR_BAD_RESPONSE,n.config,n.request,n))}function GS(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||``}function KS(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function qS(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i)]}var JS=(e,t,n=3)=>{let r=0,i=KS(50,250);return qS(n=>{if(!n||typeof n.loaded!=`number`)return;let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=o==null?a:Math.min(a,o),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},YS=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},XS=e=>(...t)=>q.asap(()=>e(...t)),ZS=jS.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,jS.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(jS.origin),jS.navigator&&/(msie|trident)/i.test(jS.navigator.userAgent)):()=>!0,QS=jS.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),q.isString(r)&&s.push(`path=${r}`),q.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),q.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.split(`;`);for(let n=0;n<t.length;n++){let r=t[n].replace(/^\s+/,``),i=r.indexOf(`=`);if(i!==-1&&r.slice(0,i)===e)try{return decodeURIComponent(r.slice(i+1))}catch{return r.slice(i+1)}}return null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function $S(e){return typeof e==`string`&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function eC(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}var tC=/^https?:(?!\/\/)/i,nC=/[\t\n\r]/g;function rC(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function iC(e){return rC(e).replace(nC,``)}function aC(e,t){if(typeof e==`string`&&tC.test(iC(e)))throw new J(`Invalid URL: missing "//" after protocol`,J.ERR_INVALID_URL,t)}function oC(e,t,n,r){aC(t,r);let i=!$S(t);return e&&(i||n===!1)?(aC(e,r),eC(e,t)):t}var sC=e=>e instanceof sS?{...e}:e;function cC(e,t){e||={},t||={};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(e,t,n,r){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:r},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function i(e,t,n,i){if(!q.isUndefined(t))return r(e,t,n,i);if(!q.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!q.isUndefined(t))return r(void 0,t)}function o(e,t){if(!q.isUndefined(t))return r(void 0,t);
23if(!q.isUndefined(e))return r(void 0,e)}function s(n){let r=q.hasOwnProp(t,`transitional`)?t.transitional:void 0;if(!q.isUndefined(r))if(q.isPlainObject(r)){if(q.hasOwnProp(r,n))return r[n]}else return;let i=q.hasOwnProp(e,`transitional`)?e.transitional:void 0;if(q.isPlainObject(i)&&q.hasOwnProp(i,n))return i[n]}function c(n,i,a){if(q.hasOwnProp(t,a))return r(n,i);if(q.hasOwnProp(e,a))return r(void 0,n)}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(e,t,n)=>i(sC(e),sC(t),n,!0)};return q.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=q.hasOwnProp(l,r)?l[r]:i,o=a(q.hasOwnProp(e,r)?e[r]:void 0,q.hasOwnProp(t,r)?t[r]:void 0,r);q.isUndefined(o)&&a!==c||(n[r]=o)}),q.hasOwnProp(t,`validateStatus`)&&q.isUndefined(t.validateStatus)&&s(`validateStatusUndefinedResolves`)===!1&&(q.hasOwnProp(e,`validateStatus`)?n.validateStatus=r(void 0,e.validateStatus):delete n.val
23idateStatus),n}var lC=[`content-type`,`content-length`];function uC(e,t,n){if(n!==`content-only`){e.set(t);return}Object.entries(t||{}).forEach(([t,n])=>{lC.includes(t.toLowerCase())&&e.set(t,n)})}var dC=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function fC(e){let t=cC({},e),n=e=>q.hasOwnProp(t,e)?t[e]:void 0,r=n(`data`),i=n(`withXSRFToken`),a=n(`xsrfHeaderName`),o=n(`xsrfCookieName`),s=n(`headers`),c=n(`auth`),l=n(`baseURL`),u=n(`allowAbsoluteUrls`),d=n(`url`);if(t.headers=s=sS.from(s),t.url=xS(oC(l,d,u,t),n(`params`),n(`paramsSerializer`)),c){let t=q.getSafeProp(c,`username`)||``,n=q.getSafeProp(c,`password`)||``;try{s.set(`Authorization`,`Basic `+btoa(t+`:`+(n?dC(n):``)))}catch(t){throw J.from(t,J.ERR_BAD_OPTION_VALUE,e)}}if(q.isFormData(r)&&(jS.hasStandardBrowserEnv||jS.hasStandardBrowserWebWorkerEnv||q.isReactNative(r)?s.setContentType(void 0):q.isFunction(r.getHeaders)&&uC(s,r.getHeaders(),n(`formDataHeaderPolicy`))),jS.hasStandardBrowserEnv&&(q.isFunction(i)&&(i=i(t)),i===!0||i==null&&ZS(t.url))){let e=a&&o&&QS.read(o);e&&s.set(a,e)}return t}var pC=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=fC(e),i=r.data,a=sS.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=sS.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());WS(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.startsWith(`file:`))||setTimeout(g)},h.onabort=function(){h&&=(n(new J(`Request aborted`,J.ECONNABORTED,e,h)),m(),null)},h.onerror=function(t){let r=new J(t&&t.message?t.message:`Network Error`,J.ERR_NETWORK,e,h);r.event=t||null,n(r),m(),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||CS;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new J(t,i.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,h)),m(),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&q.forEach(Qx(a),function(e,t){h.setRequestHeader(t,e)}),q.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=JS(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=JS(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new US(null,e,h):t),h.abort(),m(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=GS(r.url);if(_&&!jS.protocols.includes(_)){n(new J(`Unsupported protocol `+_+`:`,J.ERR_BAD_REQUEST,e)),m();return}h.send(i||null)})},mC=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,r=!1,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof J?t:new US(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new J(`timeout of ${t}ms exceeded`,J.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>e.addEventListener(`abort`,i,{once:!0}));let{signal:s}=n;return s.unsubscribe=()=>q.asap(o),s},hC=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},gC=async function*(e,t){for await(let n of _C(e))yield*hC(n,t)},_C=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},vC=(e,t,n,r)=>{let i=gC(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},yC=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,bC=(e,t,n)=>t+2<n&&yC(e.charCodeAt(t+1))&&yC(e.charCodeAt(t+2));function xC(e){if(!e||typeof e!=`string`||!e.startsWith(`data:`))return 0;let t=e.indexOf(`,`);if(t<0)return 0;let n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length,t=r.length;for(let n=0;n<t;n++)if(r.charCodeAt(n)===37&&n+2<t){let t=r.charCodeAt(n+1),i=r.charCodeAt(n+2);yC(t)&&yC(i)&&(e-=2,n+=2)}let n=0,i=t-1,a=e=>e>=2&&r.charCodeAt(e-2)===37&&r.charCodeAt(e-1)===51&&(r.charCodeAt(e)===68||r.charCodeAt(e)===100);i>=0&&(r.charCodeAt(i)===61?(n++,i--):a(i)&&(n++,i-=3)),n===1&&i>=0&&(r.charCodeAt(i)===61||a(i))&&n++;
23let o=Math.floor(e/4)*3-(n||0);return o>0?o:0}let i=0;for(let e=0,t=r.length;e<t;e++){let n=r.charCodeAt(e);if(n===37&&bC(r,e,t))i+=1,e+=2;else if(n<128)i+=1;else if(n<2048)i+=2;else if(n>=55296&&n<=56319&&e+1<t){let t=r.charCodeAt(e+1);t>=56320&&t<=57343?(i+=4,e++):i+=3}else i+=3}return i}var SC=`1.18.1`,CC=64*1024,{isFunction:wC}=q,TC=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),EC=e=>{if(!q.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},DC=(e,...t)=>{try{return!!e(...t)}catch{return!1}},OC=e=>{let t=e.indexOf(`://`),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes(`@`)||n.includes(`:`)},kC=e=>{let t=q.global!==void 0&&q.global!==null?q.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=q.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:a,Response:o}=e,s=i?wC(i):typeof fetch==`function`,c=wC(a),l=wC(o);if(!s)return!1;let u=s&&wC(n),d=s&&(typeof r==`function`?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new a(e).arrayBuffer())),f=c&&u&&DC(()=>{let e=!1,t=new a(jS.origin,{body:new n,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),p=l&&u&&DC(()=>q.isReadableStream(new o(``).body)),m={stream:p&&(e=>e.body)};s&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})});let h=async e=>{if(e==null)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e))return(await new a(jS.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(q.isArrayBufferView(e)||q.isArrayBuffer(e))return e.byteLength;if(q.isURLSearchParams(e)&&(e+=``),q.isString(e))return(await d(e)).byteLength},g=async(e,t)=>q.toFiniteNumber(e.getContentLength())??h(t);return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:d,timeout:_,onDownloadProgress:v,onUploadProgress:y,responseType:b,headers:x,withCredentials:S=`same-origin`,fetchOptions:C,maxContentLength:w,maxBodyLength:T}=fC(e),E=q.isNumber(w)&&w>-1,D=q.isNumber(T)&&T>-1,O=t=>q.hasOwnProp(e,t)?e[t]:void 0,k=i||fetch;b=b?(b+``).toLowerCase():`text`;let A=mC([l,d&&d.toAbortSignal()],_),j=null,M=A&&A.unsubscribe&&(()=>{A.unsubscribe()}),N,P=null,F=()=>new J(`Request body larger than maxBodyLength limit`,J.ERR_BAD_REQUEST,e,j);try{let i,l=O(`auth`);if(l&&(i={username:q.getSafeProp(l,`username`)||``,password:q.getSafeProp(l,`password`)||``}),OC(t)){let e=new URL(t,jS.origin);!i&&(e.username||e.password)&&(i={username:EC(e.username),password:EC(e.password)}),(e.username||e.password)&&(e.username=``,e.password=``,t=e.href)}if(i&&(x.delete(`authorization`),x.set(`Authorization`,`Basic `+btoa(TC((i.username||``)+`:`+(i.password||``))))),E&&typeof t==`string`&&t.startsWith(`data:`)&&xC(t)>w)throw new J(`maxContentLength size of `+w+` exceeded`,J.ERR_BAD_RESPONSE,e,j);if(D&&n!==`get`&&n!==`head`){let e=await h(s);if(typeof e==`number`&&isFinite(e)&&(N=e,e>T))throw F()}let d=D&&(q.isReadableStream(s)||q.isStream(s)),_=(e,t,n)=>vC(e,CC,e=>{if(D&&e>T)throw P=F();t&&t(e)},n);if(f&&n!==`get`&&n!==`head`&&(y||d)){if(N??=await g(x,s),N!==0||d){let e=new a(t,{method:`POST`,body:s,duplex:`half`}),n;if(q.isFormData(s)&&(n=e.headers.get(`content-type`))&&x.setContentType(n),e.body){let[t,n]=y&&YS(N,JS(XS(y)))||[];s=_(e.body,t,n)}}}else if(d&&!c&&u&&n!==`get`&&n!==`head`)s=_(s);else if(d&&c&&!f&&n!==`get`&&n!==`head`)throw new J(`Stream request bodies are not supported by the current fetch implementation`,J.ERR_NOT_SUPPORT,e,j);q.isString(S)||(S=S?`include`:`omit`);let I=c&&`credentials`in a.prototype;if(q.isFormData(s)){let e=x.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&x.delete(`content-type`)}x.set(`User-Agent`,`axios/`+SC,!1);let L={...C,signal:A,method:n.toUpperCase(),headers:Qx(x.normalize()),body:s,duplex:`half`,credentials:I?S:void 0};j=c&&new a(t,L);let R=await(c?k(j,C):k(t,L)),ee=sS.from(R.headers);if(E){let t=q.toFiniteNumber(ee.getContentLength());if(t!=null&&t>w)throw new J(`maxContentLength size of `+w+` exceeded`,J.ERR_BAD_RESPONSE,e,j)}let z=p&&(b===`stream`||b===`response`);if(p&&R.body&&(v||E||z&&M)){let t={};
23[`status`,`statusText`,`headers`].forEach(e=>{t[e]=R[e]});let n=q.toFiniteNumber(ee.getContentLength()),[r,i]=v&&YS(n,JS(XS(v),!0))||[],a=0;R=new o(vC(R.body,CC,t=>{if(E&&(a=t,a>w))throw new J(`maxContentLength size of `+w+` exceeded`,J.ERR_BAD_RESPONSE,e,j);r&&r(t)},()=>{i&&i(),M&&M()}),t)}b||=`text`;let B=await m[q.findKey(m,b)||`text`](R,e);if(E&&!p&&!z){let t;if(B!=null&&(typeof B.byteLength==`number`?t=B.byteLength:typeof B.size==`number`?t=B.size:typeof B==`string`&&(t=typeof r==`function`?new r().encode(B).byteLength:B.length)),typeof t==`number`&&t>w)throw new J(`maxContentLength size of `+w+` exceeded`,J.ERR_BAD_RESPONSE,e,j)}return!z&&M&&M(),await new Promise((t,n)=>{WS(t,n,{data:B,headers:sS.from(R.headers),status:R.status,statusText:R.statusText,config:e,request:j})})}catch(t){if(M&&M(),A&&A.aborted&&A.reason instanceof J){let n=A.reason;throw n.config=e,j&&(n.request=j),t!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),n}if(P)throw j&&!P.request&&(P.request=j),P;if(t instanceof J)throw j&&!t.request&&(t.request=j),t;if(t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)){let n=new J(`Network Error`,J.ERR_NETWORK,e,j,t&&t.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),n}throw J.from(t,t&&t.code,e,j,t&&t.response)}}},AC=new Map,jC=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=AC;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:kC(t)),l=c;return c};jC();var MC={http:null,xhr:pC,fetch:{get:jC}};q.forEach(MC,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var NC=e=>`- ${e}`,PC=e=>q.isFunction(e)||e===null||e===!1;function FC(e,t){e=q.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!PC(r)&&(i=MC[(n=String(r)).toLowerCase()],i===void 0))throw new J(`Unknown adapter '${n}'`);if(i&&(q.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new J(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since : 24`+e.map(NC).join(` 25`):` `+NC(e[0]):`as no adapter specified`),J.ERR_NOT_SUPPORT)}return i}var IC={getAdapter:FC,adapters:MC};function LC(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new US(null,e)}function RC(e){return LC(e),e.headers=sS.from(e.headers),e.data=VS.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),IC.getAdapter(e.adapter||BS.adapter,e)(e).then(function(t){LC(e),e.response=t;try{t.data=VS.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=sS.from(t.headers),t},function(t){if(!HS(t)&&(LC(e),t&&t.response)){e.response=t.response;try{t.response.data=VS.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=sS.from(t.response.headers)}return Promise.reject(t)})}var zC={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{zC[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var BC={};zC.transitional=function(e,t,n){function r(e,t){return`[Axios v`+SC+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new J(r(i,` has been removed`+(t?` in `+t:``)),J.ERR_DEPRECATED);return t&&!BC[i]&&(BC[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),!e||e(n,i,a)}},zC.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function VC(e,t,n){if(typeof e!=`object`||!e)throw new J(`options must be an object`,J.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-->0;){let a=r[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new J(`option `+a+` must be `+n,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J(`Unknown option `+a,J.ERR_BAD_OPTION)}}var HC={assertOptions:VC,validators:zC},UC=HC.validators,WC=class{constructor(e){this.defaults=e||{},this.interceptors={request:new SS,response:new SS}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=(()=>
25{if(!t.stack)return``;let e=t.stack.indexOf(` 26`);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(` 27`),r=t===-1?-1:n.indexOf(` 28`,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=` 29`+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=cC(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&HC.assertOptions(n,{silentJSONParsing:UC.transitional(UC.boolean),forcedJSONParsing:UC.transitional(UC.boolean),clarifyTimeoutError:UC.transitional(UC.boolean),legacyInterceptorReqResOrdering:UC.transitional(UC.boolean),advertiseZstdAcceptEncoding:UC.transitional(UC.boolean),validateStatusUndefinedResolves:UC.transitional(UC.boolean)},!1),r!=null&&(q.isFunction(r)?t.paramsSerializer={serialize:r}:HC.assertOptions(r,{encode:UC.function,serialize:UC.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),HC.assertOptions(t,{baseUrl:UC.spelling(`baseURL`),withXsrfToken:UC.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&q.merge(i.common,i[t.method]);i&&q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`,`common`],e=>{delete i[e]}),t.headers=sS.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||CS;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[RC.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=RC.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=cC(this.defaults,e),xS(oC(e.baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}};q.forEach([`delete`,`get`,`head`,`options`],function(e){WC.prototype[e]=function(t,n){return this.request(cC(n||{},{method:e,url:t,data:n&&q.hasOwnProp(n,`data`)?n.data:void 0}))}}),q.forEach([`post`,`put`,`patch`,`query`],function(e){function t(t){return function(n,r,i){return this.request(cC(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}WC.prototype[e]=t(),e!==`query`&&(WC.prototype[e+`Form`]=t(!0))});var GC=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-->0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new US(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function KC(e){return function(t){return e.apply(null,t)}}function qC(e){return q.isObject(e)&&e.isAxiosError===!0}var JC={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
29alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(JC).forEach(([e,t])=>{JC[t]=e});function YC(e){let t=new WC(e),n=Ob(WC.prototype.request,t);return q.extend(n,WC.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return YC(cC(e,t))},n}var XC=YC(BS);XC.Axios=WC,XC.CanceledError=US,XC.CancelToken=GC,XC.isCancel=HS,XC.VERSION=SC,XC.toFormData=gS,XC.AxiosError=J,XC.Cancel=XC.CanceledError,XC.all=function(e){return Promise.all(e)},XC.spread=KC,XC.isAxiosError=qC,XC.mergeConfig=cC,XC.AxiosHeaders=sS,XC.formToJSON=e=>LS(q.isHTMLForm(e)?new FormData(e):e),XC.getAdapter=IC.getAdapter,XC.HttpStatusCode=JC,XC.default=XC;function ZC(e=Oc){try{return new URL(e).hostname.toLowerCase().replace(/^www\./,``)}catch{return``}}var QC=ZC(),$C=`hermes:intranet:session`,ew=`hermes:auth-session`;function tw(){let e=sessionStorage.getItem(`hermes:intranet:session`)??sessionStorage.getItem(`hermes:auth-session`);if(!e)return null;try{let t=JSON.parse(e);return sessionStorage.getItem(`hermes:intranet:session`)||sessionStorage.setItem($C,e),sessionStorage.removeItem(ew),t}catch{return rw(),null}}function nw(e){sessionStorage.setItem($C,JSON.stringify(e)),sessionStorage.removeItem(ew)}function rw(){sessionStorage.removeItem($C),sessionStorage.removeItem(ew)}var iw;function Y(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,"name",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var aw=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},ow=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(iw=globalThis).__zod_globalConfig??(iw.__zod_globalConfig={});var sw=globalThis.__zod_globalConfig;function cw(e){return e&&Object.assign(sw,e),sw}function lw(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function uw(e,t){return typeof t==`bigint`?t.toString():t}function dw(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}throw Error(`cached value already set`)}}}function fw(e){return e==null}function pw(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function mw(e,t){let n=e/t,r=Math.round(n),i=2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}var hw=Symbol(`evaluating`);function gw(e,t,n){let r;
vendor: 64,657 bytes, lines 29-92
29Object.defineProperty(e,t,{get(){if(r!==hw)return r===void 0&&(r=hw,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function _w(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function vw(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function yw(e){return JSON.stringify(e)}function bw(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var xw=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Sw(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var Cw=dw(()=>{if(sw.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function ww(e){if(Sw(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(Sw(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function Tw(e){return ww(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var Ew=new Set([`string`,`number`,`symbol`]);function Dw(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Ow(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function X(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function kw(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var Aw={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function jw(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return Ow(e,vw(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return _w(this,`shape`,e),e},checks:[]}))}function Mw(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return Ow(e,vw(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return _w(this,`shape`,r),r},checks:[]}))}function Nw(e,t){if(!ww(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return Ow(e,vw(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return _w(this,`shape`,n),n}}))}function Pw(e,t){if(!ww(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Ow(e,vw(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return _w(this,`shape`,n),n}}))}function Fw(e,t){if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);return Ow(e,vw(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return _w(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function Iw(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return Ow(t,vw(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return _w(this,`shape`,i),i},checks:[]}))}function Lw(e,t,n){return Ow(t,vw(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return _w(this,`shape`,i),i}}))}function Rw(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function zw(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Bw(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Vw(e){return typeof e==`string`?e:e?.message}function Hw(e,t,n){let r=e.message?e.message:Vw(e.inst?._zod.def?.error?.(e))??Vw(t?.error?.(e))??Vw(n.customError?.(e))??Vw(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function Uw(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Ww(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var Gw=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,uw,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Kw=Y(`$ZodError`,Gw),qw=Y(`$ZodError`,Gw,{Parent:Error});function Jw(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function Yw(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i];i===e.length-1?(r[n]=r[n]||{_errors:[]},r[n]._errors.push(t(a))):r[n]=r[n]||{_errors:[]},r=r[n],i++}}}};return r(e),n}var Xw=e=>(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new aw;if(o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>Hw(e,a,cw())));throw xw(t,i?.callee),t}return o.value},Zw=Xw(qw),Qw=e=>async(t,n,r,i)=>{let a=r?{...r,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>Hw(e,a,cw())));throw xw(t,i?.callee),t}return o.value},$w=Qw(qw),eT=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new aw;return a.issues.length?{success:!1,error:new(e??Kw)(a.issues.map(e=>Hw(e,i,cw())))}:{success:!0,data:a.value}},tT=eT(qw),nT=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>Hw(e,i,cw())))}:{success:!0,data:a.value}},rT=nT(qw),iT=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Xw(e)(t,n,i)},aT=e=>(t,n,r)=>Xw(e)(t,n,r),oT=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Qw(e)(t,n,i)},sT=e=>async(t,n,r)=>Qw(e)(t,n,r),cT=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return eT(e)(t,n,i)},lT=e=>(t,n,r)=>eT(e)(t,n,r),uT=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return nT(e)(t,n,i)},dT=e=>async(t,n,r)=>nT(e)(t,n,r),fT=/^[cC][0-9a-z]{6,}$/,pT=/^[0-9a-z]+$/,mT=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,hT=/^[0-9a-vA-V]{20}$/,gT=/^[A-Za-z0-9]{27}$/,_T=/^[a-zA-Z0-9_-]{21}$/,vT=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,yT=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,bT=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,xT=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,ST=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function CT(){return new RegExp(ST,`u`)}var wT=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,TT=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,ET=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,DT=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,OT=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,kT=/^[A-Za-z0-9_-]*$/,AT=/^https?$/,jT=/^\+[1-9]\d{6,14}$/,MT=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,NT=RegExp(`^${MT}$`);function PT(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function FT(e){return RegExp(`^${PT(e)}$`)}function IT(e){let t=PT({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${MT}T(?:${r})$`)}var LT=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},RT=/^-?\d+$/,zT=/^-?\d+(?:\.\d+)?$/,BT=/^(?:true|false)$/i,VT=/^[^A-Z]*$/,HT=/^[^a-z]*$/,UT=Y(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),WT={number:`number`,bigint:`bigint`,object:`date`},GT=Y(`$ZodCheckLessThan`,(e,t)=>{UT.init(e,t);let n=WT[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),KT=Y(`$ZodCheckGreaterThan`,(e,t)=>{UT.init(e,t);let n=WT[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),qT=Y(`$ZodCheckMultipleOf`,(e,t)=>{UT.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):mw(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),JT=Y(`$ZodCheckNumberFormat`,(e,t)=>{UT.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=Aw[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=RT)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),YT=Y(`$ZodCheckMaxLength`,(e,t)=>{var n;UT.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!fw(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=Uw(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),XT=Y(`$ZodCheckMinLength`,(e,t)=>{var n;UT.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!fw(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=Uw(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),ZT=Y(`$ZodCheckLengthEquals`,(e,t)=>{var n;UT.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!fw(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=Uw(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),QT=Y(`$ZodCheckStringFormat`,(e,t)=>{var n,r;UT.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),$T=Y(`$ZodCheckRegex`,(e,t)=>{QT.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),eE=Y(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=VT,QT.init(e,t)}),tE=Y(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=HT,QT.init(e,t)}),nE=Y(`$ZodCheckIncludes`,(e,t)=>{UT.init(e,t);let n=Dw(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),rE=Y(`$ZodCheckStartsWith`,(e,t)=>{UT.init(e,t);let n=RegExp(`^${Dw(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),iE=Y(`$ZodCheckEndsWith`,(e,t)=>{UT.init(e,t);let n=RegExp(`.*${Dw(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),aE=Y(`$ZodCheckOverwrite`,(e,t)=>{UT.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),oE=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(` 30`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(` 31`))}},sE={major:4,minor:4,patch:3},cE=Y(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=sE;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=Rw(e),i;for(let a of t){if(a._zod.def.when){if(zw(e)||!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new aw;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=Rw(e,t))});else{if(e.issues.length===t)continue;r||=Rw(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(Rw(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new aw;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new aw;return o.then(e=>t(e,r,a))}return t(o,r,a)}}gw(e,`~standard`,()=>({validate:t=>{try{let n=tT(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return rT(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),lE=Y(`$ZodString`,(e,t)=>{cE.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??LT(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),uE=Y(`$ZodStringFormat`,(e,t)=>{QT.init(e,t),lE.init(e,t)}),dE=Y(`$ZodGUID`,(e,t)=>{t.pattern??=yT,uE.init(e,t)}),fE=Y(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=bT(e)}else t.pattern??=bT();uE.init(e,t)}),pE=Y(`$ZodEmail`,(e,t)=>{t.pattern??=xT,uE.init(e,t)}),mE=Y(`$ZodURL`,(e,t)=>{uE.init(e,t),e._zod.check=n=>{try{let r=n.value.trim();if(!t.normalize&&t.protocol?.source===AT.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}let i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),hE=Y(`$ZodEmoji`,(e,t)=>{t.pattern??=CT(),uE.init(e,t)}),gE=Y(`$ZodNanoID`,(e,t)=>{t.pattern??=_T,uE.init(e,t)}),_E=Y(`$ZodCUID`,(e,t)=>{t.pattern??=fT,uE.init(e,t)}),vE=Y(`$ZodCUID2`,(e,t)=>{t.pattern??=pT,uE.init(e,t)}),yE=Y(`$ZodULID`,(e,t)=>{t.pattern??=mT,uE.init(e,t)}),bE=Y(`$ZodXID`,(e,t)=>{t.pattern??=hT,uE.init(e,t)}),xE=Y(`$ZodKSUID`,(e,t)=>{t.pattern??=gT,uE.init(e,t)}),SE=Y(`$ZodISODateTime`,(e,t)=>{t.pattern??=IT(t),uE.init(e,t)}),CE=Y(`$ZodISODate`,(e,t)=>{t.pattern??=NT,uE.init(e,t)}),wE=Y(`$ZodISOTime`,(e,t)=>{t.pattern??=FT(t),uE.init(e,t)}),TE=Y(`$ZodISODuration`,(e,t)=>{t.pattern??=vT,uE.init(e,t)}),EE=Y(`$ZodIPv4`,(e,t)=>{t.pattern??=wT,uE.init(e,t),e._zod.bag.format=`ipv4`}),DE=Y(`$ZodIPv6`,(e,t)=>{t.pattern??=TT,uE.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),OE=Y(`$ZodCIDRv4`,(e,t)=>{t.pattern??=ET,uE.init(e,t)}),kE=Y(`$ZodCIDRv6`,(e,t)=>{t.pattern??=DT,uE.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function AE(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var jE=Y(`$ZodBase64`,(e,t)=>{t.pattern??=OT,uE.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{AE(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function ME(e){if(!kT.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return AE(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var NE=Y(`$ZodBase64URL`,(e,t)=>{t.pattern??=kT,uE.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{ME(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),PE=Y(`$ZodE164`,(e,t)=>{t.pattern??=jT,uE.init(e,t)});function FE(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var IE=Y(`$ZodJWT`,(e,t)=>{uE.init(e,t),e._zod.check=n=>{FE(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),LE=Y(`$ZodNumber`,(e,t)=>{cE.init(e,t),e._zod.pattern=e._zod.bag.pattern??zT,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),RE=Y(`$ZodNumberFormat`,(e,t)=>{JT.init(e,t),LE.init(e,t)}),zE=Y(`$ZodBoolean`,(e,t)=>{cE.init(e,t),e._zod.pattern=BT,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),BE=Y(`$ZodUnknown`,(e,t)=>{cE.init(e,t),e._zod.parse=e=>e}),VE=Y(`$ZodNever`,(e,t)=>{cE.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function HE(e,t,n){e.issues.length&&t.issues.push(...Bw(n,e.issues)),t.value[n]=e.value}var UE=Y(`$ZodArray`,(e,t)=>{cE.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>HE(t,n,e))):HE(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function WE(e,t,n,r,i,a){let o=n in r;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...Bw(n,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function GE(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=kw(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function KE(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optin===`optional`,d=c.optout===`optional`;for(let i in t){if(i===`__proto__`||s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>WE(e,n,i,t,u,d))):WE(a,n,i,t,u,d)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var qE=Y(`$ZodObject`,(e,t)=>{if(cE.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}let n=dw(()=>GE(t));gw(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=Sw,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optin===`optional`,i=n._zod.optout===`optional`,a=n._zod.run({value:s[e],issues:[]},o);a instanceof Promise?c.push(a.then(n=>WE(n,t,e,s,r,i))):WE(a,t,e,s,r,i)}return i?KE(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),JE=Y(`$ZodObjectJIT`,(e,t)=>{qE.init(e,t);let n=e._zod.parse,r=dw(()=>GE(t)),i=e=>{let t=new oE([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=yw(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=yw(r),s=e[r],c=s?._zod?.optin===`optional`,l=s?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),c&&l?t.write(` 32 if (${n}.issues.length) { 33 if (${o} in input) { 34 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 35 ...iss, 36 path: iss.path ? [${o}, ...iss.path] : [${o}] 37 }))); 38 } 39 } 40 41 if (${n}.value === undefined) { 42 if (${o} in input) { 43 newResult[${o}] = undefined; 44 } 45 } else { 46 newResult[${o}] = ${n}.value; 47 } 48 49 `):c?t.write(` 50 if (${n}.issues.length) { 51 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 52 ...iss, 53 path: iss.path ? [${o}, ...iss.path] : [${o}] 54 }))); 55 } 56 57 if (${n}.value === undefined) { 58 if (${o} in input) { 59 newResult[${o}] = undefined; 60 } 61 } else { 62 newResult[${o}] = ${n}.value; 63 } 64 65 `):t.write(` 66 const ${n}_present = ${o} in input; 67 if (${n}.issues.length) { 68 payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ 69 ...iss, 70 path: iss.path ? [${o}, ...iss.path] : [${o}] 71 }))); 72 } 73 if (!${n}_present && !${n}.issues.length) { 74 payload.issues.push({ 75 code: "invalid_type", 76 expected: "nonoptional", 77 input: undefined, 78 path: [${o}] 79 }); 80 } 81 82 if (${n}_present) { 83 if (${n}.value === undefined) { 84 newResult[${o}] = undefined; 85 } else { 86 newResult[${o}] = ${n}.value; 87 } 88 } 89 90 `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=Sw,s=!sw.jitless,c=s&&Cw.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?KE([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function YE(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Rw(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Hw(e,r,cw())))}),t)}var XE=Y(`$ZodUnion`,(e,t)=>{cE.init(e,t),gw(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),gw(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),gw(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),gw(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>pw(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>YE(t,r,e,i)):YE(o,r,e,i)}}),ZE=Y(`$ZodIntersection`,(e,t)=>{cE.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>$E(e,t,n)):$E(e,i,a)}});function QE(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(ww(e)&&ww(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=QE(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=QE(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function $E(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),Rw(e))return e;let o=QE(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var eD=Y(`$ZodRecord`,(e,t)=>{cE.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!ww(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let c of o)if(typeof c==`string`||typeof c==`number`||typeof c==`symbol`){s.add(typeof c==`number`?c.toString():c);let o=t.keyType._zod.run({value:c,issues:[]},r);if(o instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(o.issues.length){n.issues.push({code:`invalid_key`,origin:`record`,issues:o.issues.map(e=>Hw(e,r,cw())),input:c,path:[c],inst:e});continue}let l=o.value,u=t.valueType._zod.run({value:i[c],issues:[]},r);u instanceof Promise?a.push(u.then(e=>{e.issues.length&&n.issues.push(...Bw(c,e.issues)),n.value[l]=e.value})):(u.issues.length&&n.issues.push(...Bw(c,u.issues)),n.value[l]=u.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`||!Object.prototype.propertyIsEnumerable.call(i,o))continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&zT.test(o)&&s.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>Hw(e,r,cw())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...Bw(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...Bw(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),tD=Y(`$ZodEnum`,(e,t)=>{cE.init(e,t);let n=lw(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Ew.has(typeof e)).map(e=>typeof e==`string`?Dw(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),nD=Y(`$ZodLiteral`,(e,t)=>{if(cE.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?Dw(e):e?Dw(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),rD=Y(`$ZodTransform`,(e,t)=>{cE.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new ow(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n.fallback=!0,n));if(i instanceof Promise)throw new aw;return n.value=i,n.fallback=!0,n}});function iD(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var aD=Y(`$ZodOptional`,(e,t)=>{cE.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,gw(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),gw(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${pw(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>iD(e,r)):iD(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),oD=Y(`$ZodExactOptional`,(e,t)=>{aD.init(e,t),gw(e._zod,`values`,()=>t.innerType._zod.values),gw(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),sD=Y(`$ZodNullable`,(e,t)=>{cE.init(e,t),gw(e._zod,`optin`,()=>t.innerType._zod.optin),gw(e._zod,`optout`,()=>t.innerType._zod.optout),gw(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${pw(e.source)}|null)$`):void 0}),gw(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),cD=Y(`$ZodDefault`,(e,t)=>{cE.init(e,t),e._zod.optin=`optional`,gw(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>lD(e,t)):lD(r,t)}});function lD(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var uD=Y(`$ZodPrefault`,(e,t)=>{cE.init(e,t),e._zod.optin=`optional`,gw(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),dD=Y(`$ZodNonOptional`,(e,t)=>{cE.init(e,t),gw(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>fD(t,e)):fD(i,e)}});function fD(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var pD=Y(`$ZodCatch`,(e,t)=>{cE.init(e,t),e._zod.optin=`optional`,gw(e._zod,`optout`,()=>t.innerType._zod.optout),gw(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Hw(e,n,cw()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Hw(e,n,cw()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),mD=Y(`$ZodPipe`,(e,t)=>{cE.init(e,t),gw(e._zod,`values`,()=>t.in._zod.values),gw(e._zod,`optin`,()=>t.in._zod.optin),gw(e._zod,`optout`,()=>t.out._zod.optout),gw(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>hD(e,t.in,n)):hD(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>hD(e,t.out,n)):hD(r,t.out,n)}});function hD(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}var gD=Y(`$ZodReadonly`,(e,t)=>{cE.init(e,t),gw(e._zod,`propValues`,()=>t.innerType._zod.propValues),gw(e._zod,`values`,()=>t.innerType._zod.values),gw(e._zod,`optin`,()=>t.innerType?._zod?.optin),gw(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(_D):_D(r)}});function _D(e){return e.value=Object.freeze(e.value),e}var vD=Y(`$ZodCustom`,(e,t)=>{UT.init(e,t),cE.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>yD(t,n,r,e));yD(i,n,r,e)}});function yD(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Ww(e))}}var bD,xD=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function SD(){return new xD}(bD=globalThis).__zod_globalRegistry??(bD.__zod_globalRegistry=SD());var CD=globalThis.__zod_globalRegistry;function wD(e,t){return new e({type:`string`,...X(t)})}function TD(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...X(t)})}function ED(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...X(t)})}function DD(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...X(t)})}function OD(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...X(t)})}function kD(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...X(t)})}function AD(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...X(t)})}function jD(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...X(t)})}function MD(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...X(t)})}function ND(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...X(t)})}function PD(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...X(t)})}function FD(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...X(t)})}function ID(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...X(t)})}function LD(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...X(t)})}function RD(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...X(t)})}function zD(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...X(t)})}function BD(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...X(t)})}function VD(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...X(t)})}function HD(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...X(t)})}function UD(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...X(t)})}function WD(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...X(t)})}function GD(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...X(t)})}function KD(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...X(t)})}function qD(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...X(t)})}function JD(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...X(t)})}function YD(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...X(t)})}function XD(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...X(t)})}function ZD(e,t){return new e({type:`number`,checks:[],...X(t)})}function QD(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...X(t)})}function $D(e,t){return new e({type:`boolean`,...X(t)})}function eO(e){return new e({type:`unknown`})}function tO(e,t){return new e({type:`never`,...X(t)})}function nO(e,t){return new GT({check:`less_than`,...X(t),value:e,inclusive:!1})}function rO(e,t){return new GT({check:`less_than`,...X(t),value:e,inclusive:!0})}function iO(e,t){return new KT({check:`greater_than`,...X(t),value:e,inclusive:!1})}function aO(e,t){return new KT({check:`greater_than`,...X(t),value:e,inclusive:!0})}function oO(e,t){return new qT({check:`multiple_of`,...X(t),value:e})}function sO(e,t){return new YT({check:`max_length`,...X(t),maximum:e})}function cO(e,t){return new XT({check:`min_length`,...X(t),minimum:e})}function lO(e,t){return new ZT({check:`length_equals`,...X(t),length:e})}function uO(e,t){return new $T({check:`string_format`,format:`regex`,...X(t),pattern:e})}function dO(e){return new eE({check:`string_format`,format:`lowercase`,...X(e)})}function fO(e){return new tE({check:`string_format`,format:`uppercase`,...X(e)})}function pO(e,t){return new nE({check:`string_format`,format:`includes`,...X(t),includes:e})}function mO(e,t){return new rE({check:`string_format`,format:`starts_with`,...X(t),prefix:e})}function hO(e,t){return new iE({check:`string_format`,format:`ends_with`,...X(t),suffix:e})}function gO(e){return new aE({check:`overwrite`,tx:e})}function _O(e){return gO(t=>t.normalize(e))}function vO(){return gO(e=>e.trim())}function yO(){return gO(e=>e.toLowerCase())}function bO(){return gO(e=>e.toUpperCase())}function xO(){return gO(e=>bw(e))}function SO(e,t,n){return new e({type:`array`,element:t,...X(n)})}function CO(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...X(n)})}function wO(e,t){let n=TO(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(Ww(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(Ww(r))}},e(t.value,t)),t);return n}function TO(e,t){let n=new UT({check:`custom`,...X(t)});return n._zod.check=e,n}function EO(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??CD,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function DO(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,DO(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&AO(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function OO(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root> 91 92Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function kO(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref&&n.def)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:MO(t,`input`,e.processors),output:MO(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function AO(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return AO(r.element,n);if(r.type===`set`)return AO(r.valueType,n);if(r.type===`lazy`)return AO(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`)return AO(r.innerType,n);if(r.type===`intersection`)return AO(r.left,n)||AO(r.right,n);if(r.type===`record`||r.type===`map`)return AO(r.keyType,n)||AO(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:AO(r.in,n)||AO(r.out,n);if(r.type===`object`){for(let e in r.shape)if(AO(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(AO(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(AO(e,n))return!0;return!!(r.rest&&AO(r.rest,n))}return!1}var jO=(e,t={})=>n=>{let r=EO({...n,processors:t});return DO(e,r),OO(r,e),kO(r,e)},MO=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=EO({...i??{},target:a,io:t,processors:n});return DO(e,o),OO(o,e),kO(o,e)},NO={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},PO=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=NO[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},FO=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},IO=(e,t,n,r)=>{n.type=`boolean`},LO=(e,t,n,r)=>{n.not={}},RO=(e,t,n,r)=>{let i=e._zod.def,a=lw(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},zO=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0)if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a},BO=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},VO=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},HO=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=DO(a.element,t,{...r,path:[...r.path,`items`]})},UO=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=DO(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=DO(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},WO=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>DO(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},GO=(e,t,n,r)=>{let i=e._zod.def,a=DO(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=DO(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},KO=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=DO(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else(t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=DO(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=DO(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},qO=(e,t,n,r)=>{let i=e._zod.def,a=DO(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},JO=(e,t,n,r)=>{let i=e._zod.def;DO(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},YO=(e,t,n,r)=>{let i=e._zod.def;DO(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},XO=(e,t,n,r)=>{let i=e._zod.def;DO(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},ZO=(e,t,n,r)=>{let i=e._zod.def;DO(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},QO=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;DO(o,t,r);let s=t.seen.get(e);s.ref=o},$O=(e,t,n,r)=>{let i=e._zod.def;DO(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},ek=(e,t,n,r)=>{let i=e._zod.def;DO(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},tk=Y(`ZodISODateTime`,(e,t)=>{SE.init(e,t),Dk.init(e,t)});function nk(e){return qD(tk,e)}var rk=Y(`ZodISODate`,(e,t)=>{CE.init(e,t),Dk.init(e,t)});function ik(e){return JD(rk,e)}var ak=Y(`ZodISOTime`,(e,t)=>{wE.init(e,t),Dk.init(e,t)});function ok(e){return YD(ak,e)}var sk=Y(`ZodISODuration`,(e,t)=>{TE.init(e,t),Dk.init(e,t)});function ck(e){return XD(sk,e)}var lk=Y(`ZodError`,(e,t)=>{Kw.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>Yw(e,t)},flatten:{value:t=>Jw(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,uw,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,uw,2)}},isEmpty:{get(){return e.issues.length===0}}})},{Parent:Error}),uk=Xw(lk),dk=Qw(lk),fk=eT(lk),pk=nT(lk),mk=iT(lk),hk=aT(lk),gk=oT(lk),_k=sT(lk),vk=cT(lk),yk=lT(lk),bk=uT(lk),xk=dT(lk),Sk=new WeakMap;function Ck(e,t,n){let r=Object.getPrototypeOf(e),i=Sk.get(r);if(i||(i=new Set,Sk.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}var wk=Y(`ZodType`,(e,t)=>(cE.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:MO(e,`input`),output:MO(e,`output`)}}),e.toJSONSchema=jO(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,n)=>uk(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>fk(e,t,n),e.parseAsync=async(t,n)=>dk(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>pk(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>mk(e,t,n),e.decode=(t,n)=>hk(e,t,n),e.encodeAsync=async(t,n)=>gk(e,t,n),e.decodeAsync=async(t,n)=>_k(e,t,n),e.safeEncode=(t,n)=>vk(e,t,n),e.safeDecode=(t,n)=>yk(e,t,n),e.safeEncodeAsync=async(t,n)=>bk(e,t,n),e.safeDecodeAsync=async(t,n)=>xk(e,t,n),Ck(e,`ZodType`,{check(...e){let t=this.def;return this.clone(vw(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Ow(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(LA(e,t))},superRefine(e,t){return this.check(RA(e,t))},overwrite(e){return this.check(gO(e))},optional(){return yA(this)},exactOptional(){return xA(this)},nullable(){return CA(this)},nullish(){return yA(CA(this))},nonoptional(e){return kA(this,e)},array(){return rA(this)},or(e){return sA([this,e])},and(e){return lA(this,e)},transform(e){return NA(this,_A(e))},default(e){return TA(this,e)},prefault(e){return DA(this,e)},catch(e){return jA(this,e)},pipe(e){return NA(this,e)},readonly(){return FA(this)},describe(e){let t=this.clone();return CD.add(t,{description:e}),t},meta(...e){if(e.length===0)return CD.get(this);let t=this.clone();return CD.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get(){return CD.get(e)?.description},configurable:!0}),e)),Tk=Y(`_ZodString`,(e,t)=>{lE.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>PO(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,Ck(e,`_ZodString`,{regex(...e){return this.check(uO(...e))},includes(...e){return this.check(pO(...e))},startsWith(...e){return this.check(mO(...e))},endsWith(...e){return this.check(hO(...e))},min(...e){return this.check(cO(...e))},max(...e){return this.check(sO(...e))},length(...e){return this.check(lO(...e))},nonempty(...e){return this.check(cO(1,...e))},lowercase(e){return this.check(dO(e))},uppercase(e){return this.check(fO(e))},trim(){return this.check(vO())},normalize(...e){return this.check(_O(...e))},toLowerCase(){return this.check(yO())},toUpperCase(){return this.check(bO())},slugify(){return this.check(xO())}})}),Ek=Y(`ZodString`,(e,t)=>{lE.init(e,t),Tk.init(e,t),e.email=t=>e.check(TD(Ok,t)),e.url=t=>e.check(jD(jk,t)),e.jwt=t=>e.check(KD(Kk,t)),e.emoji=t=>e.check(MD(Mk,t)),e.guid=t=>e.check(ED(kk,t)),e.uuid=t=>e.check(DD(Ak,t)),e.uuidv4=t=>e.check(OD(Ak,t)),e.uuidv6=t=>e.check(kD(Ak,t)),e.uuidv7=t=>e.check(AD(Ak,t)),e.nanoid=t=>e.check(ND(Nk,t)),e.guid=t=>e.check(ED(kk,t)),e.cuid=t=>e.check(PD(Pk,t)),e.cuid2=t=>e.check(FD(Fk,t)),e.ulid=t=>e.check(ID(Ik,t)),e.base64=t=>e.check(UD(Uk,t)),e.base64url=t=>e.check(WD(Wk,t)),e.xid=t=>e.check(LD(Lk,t)),e.ksuid=t=>e.check(RD(Rk,t)),e.ipv4=t=>e.check(zD(zk,t)),e.ipv6=t=>e.check(BD(Bk,t)),e.cidrv4=t=>e.check(VD(Vk,t)),e.cidrv6=t=>e.check(HD(Hk,t)),e.e164=t=>e.check(GD(Gk,t)),e.datetime=t=>e.check(nk(t)),e.date=t=>e.check(ik(t)),e.time=t=>e.check(ok(t)),e.duration=t=>e.check(ck(t))});function Z(e){return wD(Ek,e)}var Dk=Y(`ZodStringFormat`,(e,t)=>{uE.init(e,t),Tk.init(e,t)}),Ok=Y(`ZodEmail`,(e,t)=>{pE.init(e,t),Dk.init(e,t)}),kk=Y(`ZodGUID`,(e,t)=>{dE.init(e,t),Dk.init(e,t)}),Ak=Y(`ZodUUID`,(e,t)=>{fE.init(e,t),Dk.init(e,t)}),jk=Y(`ZodURL`,(e,t)=>{mE.init(e,t),Dk.init(e,t)}),Mk=Y(`ZodEmoji`,(e,t)=>{hE.init(e,t),Dk.init(e,t)}),Nk=Y(`ZodNanoID`,(e,t)=>{gE.init(e,t),Dk.init(e,t)}),Pk=Y(`ZodCUID`,(e,t)=>{_E.init(e,t),Dk.init(e,t)}),Fk=Y(`ZodCUID2`,(e,t)=>{vE.init(e,t),Dk.init(e,t)}),Ik=Y(`ZodULID`,(e,t)=>{yE.init(e,t),Dk.init(e,t)}),Lk=Y(`ZodXID`,(e,t)=>{bE.init(e,t),Dk.init(e,t)}),Rk=Y(`ZodKSUID`,(e,t)=>{xE.init(e,t),Dk.init(e,t)}),zk=Y(`ZodIPv4`,(e,t)=>{EE.init(e,t),Dk.init(e,t)}),Bk=Y(`ZodIPv6`,(e,t)=>{DE.init(e,t),Dk.init(e,t)}),Vk=Y(`ZodCIDRv4`,(e,t)=>{OE.init(e,t),Dk.init(e,t)}),Hk=Y(`ZodCIDRv6`,(e,t)=>{kE.init(e,t),Dk.init(e,t)}),Uk=Y(`ZodBase64`,(e,t)=>{jE.init(e,t),Dk.init(e,t)}),Wk=Y(`ZodBase64URL`,(e,t)=>{NE.init(e,t),Dk.init(e,t)}),Gk=Y(`ZodE164`,(e,t)=>{PE.init(e,t),Dk.init(e,t)}),Kk=Y(`ZodJWT`,(e,t)=>{IE.init(e,t),Dk.init(e,t)}),qk=Y(`ZodNumber`,(e,t)=>{LE.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>FO(e,t,n,r),Ck(e,`ZodNumber`,{gt(e,t){return this.check(iO(e,t))},gte(e,t){return this.check(aO(e,t))},min(e,t){return this.check(aO(e,t))},lt(e,t){return this.check(nO(e,t))},lte(e,t){return this.check(rO(e,t))},max(e,t){return this.check(rO(e,t))},int(e){return this.check(Yk(e))},safe(e){return this.check(Yk(e))},positive(e){return this.check(iO(0,e))},nonnegative(e){return this.check(aO(0,e))},negative(e){return this.check(nO(0,e))},nonpositive(e){return this.check(rO(0,e))},multipleOf(e,t){return this.check(oO(e,t))},step(e,t){return this.check(oO(e,t))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function Q(e){return ZD(qk,e)}var Jk=Y(`ZodNumberFormat`,(e,t)=>{RE.init(e,t),qk.init(e,t)});function Yk(e){return QD(Jk,e)}var Xk=Y(`ZodBoolean`,(e,t)=>{zE.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>IO(e,t,n,r)});function Zk(e){return $D(Xk,e)}var Qk=Y(`ZodUnknown`,(e,t)=>{BE.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function $k(){return eO(Qk)}var eA=Y(`ZodNever`,(e,t)=>{VE.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>LO(e,t,n,r)});function tA(e){return tO(eA,e)}var nA=Y(`ZodArray`,(e,t)=>{UE.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>HO(e,t,n,r),e.element=t.element,Ck(e,`ZodArray`,{min(e,t){return this.check(cO(e,t))},nonempty(e){return this.check(cO(1,e))},max(e,t){return this.check(sO(e,t))},length(e,t){return this.check(lO(e,t))},unwrap(){return this.element}})});function rA(e,t){return SO(nA,e,t)}var iA=Y(`ZodObject`,(e,t)=>{JE.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>UO(e,t,n,r),gw(e,`shape`,()=>t.shape),Ck(e,`ZodObject`,{keyof(){return pA(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:$k()})},loose(){return this.clone({...this._zod.def,catchall:$k()})},strict(){return this.clone({...this._zod.def,catchall:tA()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return Nw(this,e)},safeExtend(e){return Pw(this,e)},merge(e){return Fw(this,e)},pick(e){return jw(this,e)},omit(e){return Mw(this,e)},partial(...e){return Iw(vA,this,e[0])},required(...e){return Lw(OA,this,e[0])}})});function aA(e,t){return new iA({type:`object`,shape:e??{},...X(t)})}var oA=Y(`ZodUnion`,(e,t)=>{XE.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>WO(e,t,n,r),e.options=t.options});function sA(e,t){return new oA({type:`union`,options:e,...X(t)})}var cA=Y(`ZodIntersection`,(e,t)=>{ZE.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>GO(e,t,n,r)});function lA(e,t){return new cA({type:`intersection`,left:e,right:t})}var uA=Y(`ZodRecord`,(e,t)=>{eD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>KO(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function dA(e,t,n){return!t||!t._zod?new uA({type:`record`,keyType:Z(),valueType:e,...X(t)}):new uA({type:`record`,keyType:e,valueType:t,...X(n)})}var fA=Y(`ZodEnum`,(e,t)=>{tD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>RO(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new fA({...t,checks:[],...X(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new fA({...t,checks:[],...X(r),entries:i})}});function pA(e,t){return new fA({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...X(t)})}var mA=Y(`ZodLiteral`,(e,t)=>{nD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zO(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
92(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function hA(e,t){return new mA({type:`literal`,values:Array.isArray(e)?e:[e],...X(t)})}var gA=Y(`ZodTransform`,(e,t)=>{rD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>VO(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new ow(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(Ww(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(Ww(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}});function _A(e){return new gA({type:`transform`,transform:e})}var vA=Y(`ZodOptional`,(e,t)=>{aD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ek(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function yA(e){return new vA({type:`optional`,innerType:e})}var bA=Y(`ZodExactOptional`,(e,t)=>{oD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ek(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function xA(e){return new bA({type:`optional`,innerType:e})}var SA=Y(`ZodNullable`,(e,t)=>{sD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>qO(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function CA(e){return new SA({type:`nullable`,innerType:e})}var wA=Y(`ZodDefault`,(e,t)=>{cD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>YO(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function TA(e,t){return new wA({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Tw(t)}})}var EA=Y(`ZodPrefault`,(e,t)=>{uD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>XO(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function DA(e,t){return new EA({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Tw(t)}})}var OA=Y(`ZodNonOptional`,(e,t)=>{dD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>JO(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function kA(e,t){return new OA({type:`nonoptional`,innerType:e,...X(t)})}var AA=Y(`ZodCatch`,(e,t)=>{pD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ZO(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function jA(e,t){return new AA({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var MA=Y(`ZodPipe`,(e,t)=>{mD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>QO(e,t,n,r),e.in=t.in,e.out=t.out});function NA(e,t){return new MA({type:`pipe`,in:e,out:t})}var PA=Y(`ZodReadonly`,(e,t)=>{gD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$O(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function FA(e){return new PA({type:`readonly`,innerType:e})}var IA=Y(`ZodCustom`,(e,t)=>{vD.init(e,t),wk.init(e,t),e._zod.processJSONSchema=(t,n,r)=>BO(e,t,n,r)});function LA(e,t={}){return CO(IA,e,t)}function RA(e,t){return wO(e,t)}var zA=aA({id:Q(),slug:Z(),modules:dA(Z(),Zk())}),BA=aA({id:Q(),email:Z().email(),name:Z(),role:pA([`superadmin`,`admin`,`editor`]),clientId:Q().nullable(),sites:rA(zA)}),VA=aA({accessToken:Z().min(1),refreshToken:Z().min(1)}),HA=Dc.authApiBaseUrl,UA=XC.create({baseURL:HA||void 0,timeout:1e4,headers:{Accept:`application/json`}}),WA=XC.create({baseURL:HA||void 0,timeout:1e4,headers:{Accept:`application/json`}}),GA=null;function KA(){let e=tw();return e?.refreshToken?(GA??=WA.post(`/auth/refresh`,{refreshToken:e.refreshToken}).then(({data:e})=>VA.parse(e)).then(t=>(nw({...e,...t}),t)).catch(e=>{throw rw(),window.dispatchEvent(new Event(`hermes:intranet-auth-expired`)),e}).finally(()=>{GA=null}),GA):Promise.reject(Error(`No refresh token is available.`))}UA.interceptors.request.use(e=>{let t=tw()?.accessToken;return t&&(e.headers.Authorization=`Bearer ${t}`),e}),UA.interceptors.response.use(void 0,async e=>{let t=e.config,n=tw();if(e.response?.status!==401||!t||t._retried||!n?.refreshToken||t.url?.includes(`/auth/refresh`))throw e;t._retried=!0;let r=await KA();return t.headers.Authorization=`Bearer ${r.accessToken}`,UA(t)});async function qA(e,t){let{data:n}=await UA.post(`/auth/login`,{email:e,password:t});return VA.parse(n)}async function JA(){let{data:e}=await UA.get(`/me`);return BA.parse(e)}async function YA(e){await UA.post(`/auth/logout`,{refreshToken:e})}function XA(e,t){return t}var ZA=Z().url().nullable(),QA=aA({id:Q().int().positive(),siteId:Q().int().positive(),name:Z(),imageUrl:ZA,thumbnailUrl:ZA,website:ZA,socialTwitter:ZA,socialFacebook:ZA,socialInstagram:ZA,accentColor:Z().nullable(),description:Z().nullable(),isFeatured:Zk()}),$A=rA(QA),ej=aA({id:Q().int().positive(),siteId:Q().int().positive(),name:Z(),isActive:Zk(),updatedAt:Z().datetime()}),tj=rA(ej),nj=rA(aA({id:Q().int().positive(),scheduleId:Q().int().positive(),dayOfWeek:Q().int(),hourStart:Q().int(),hourEnd:Q().int(),activityId:Q().int().positive()}
92)),rj=aA({message:Z(),data:nj}),ij=aA({schedules:Q().int().nonnegative(),activities:Q().int().nonnegative()}),aj=e=>{let t=sA([Z().trim().url(e(`validation.url`)),hA(``)]);return aA({name:Z().trim().min(1,e(`validation.name`)),imageUrl:t,thumbnailUrl:t,website:t,socialTwitter:t,socialFacebook:t,socialInstagram:t,accentColor:sA([Z().regex(/^#[0-9a-fA-F]{6}$/,e(`validation.color`)),hA(``)]),description:Z(),isFeatured:Zk()})},oj=e=>aA({name:Z().trim().min(1,e(`validation.name`)),isActive:Zk()}),sj=rA(aA({id:Q().int().positive(),name:Z(),imageUrl:ZA,thumbnailUrl:ZA,website:ZA,socialTwitter:ZA,socialFacebook:ZA,socialInstagram:ZA,accentColor:Z().nullable(),description:Z().nullable(),isFeatured:Zk()})),cj=rA(aA({id:Q().int().positive(),name:Z(),updatedAt:Z().datetime()})),lj=aA({id:Q().int().positive(),name:Z(),imageUrl:ZA,thumbnailUrl:ZA,accentColor:Z().nullable(),isFeatured:Zk()}),uj=rA(aA({dayOfWeek:Q().int(),hourStart:Q().int(),hourEnd:Q().int(),activity:lj})),dj=Dc.schedulerApiBaseUrl,fj=dj.length>0,pj=XC.create({baseURL:dj||void 0,timeout:1e4,headers:{Accept:`application/json`}});pj.interceptors.request.use(e=>{let t=tw()?.accessToken;return t&&!e.url?.startsWith(`/public/`)&&(e.headers.Authorization=`Bearer ${t}`),e}),pj.interceptors.response.use(void 0,async e=>{let t=e.config;if(e.response?.status!==401||!t||t._retried||t.url?.startsWith(`/public/`))throw e;t._retried=!0;let n=await KA();return t.headers.Authorization=`Bearer ${n.accessToken}`,pj(t)});var mj={all:[`scheduler`],activities:e=>[`scheduler`,e,`activities`],activity:(e,t)=>[`scheduler`,e,`activity`,t],schedules:e=>[`scheduler`,e,`schedules`],schedule:(e,t)=>[`scheduler`,e,`schedule`,t],entries:(e,t)=>[`scheduler`,e,`schedule`,t,`entries`],stats:e=>[`scheduler`,e,`stats`],publicActivities:()=>[`scheduler`,`public`,QC,`activities`],publicSchedules:()=>[`scheduler`,`public`,QC,`schedules`],publicEntries:e=>[`scheduler`,`public`,QC,`schedule`,e,`entries`]};function hj(e,t){if(!XC.isAxiosError(e))return t;let n=e.response?.data?.error||t,r=e.response?.data?.causes;return r?.length?`${n}: ${r.join(`, `).replaceAll(`_`,` `)}`:n}var gj=async(e,t)=>t((await pj.get(e)).data),_j=e=>gj(`/sites/${e}/activities`,$A.parse),vj=(e,t)=>gj(`/sites/${e}/activities/${t}`,QA.parse),yj=async(e,t)=>QA.parse((await pj.post(`/sites/${e}/activities`,t)).data),bj=async(e,t,n)=>QA.parse((await pj.put(`/sites/${e}/activities/${t}`,n)).data),xj=async(e,t)=>{await pj.delete(`/sites/${e}/activities/${t}`)},Sj=e=>gj(`/sites/${e}/schedules`,tj.parse),Cj=(e,t)=>gj(`/sites/${e}/schedules/${t}`,ej.parse),wj=async(e,t)=>ej.parse((await pj.post(`/sites/${e}/schedules`,t)).data),Tj=async(e,t,n)=>ej.parse((await pj.put(`/sites/${e}/schedules/${t}`,n)).data),Ej=async(e,t)=>{await pj.delete(`/sites/${e}/schedules/${t}`)},Dj=(e,t)=>gj(`/sites/${e}/schedules/${t}/entries`,nj.parse),Oj=e=>gj(`/sites/${e}/stats`,ij.parse),kj=async(e,t,n)=>rj.parse((await pj.put(`/sites/${e}/schedules/${t}/entries`,{entries:n})).data),Aj=()=>gj(`/public/sites/${encodeURIComponent(QC)}/activities`,sj.parse),jj=()=>gj(`/public/sites/${encodeURIComponent(QC)}/schedules`,cj.parse),Mj=e=>gj(`/public/sites/${encodeURIComponent(QC)}/schedules/${e}/entries`,uj.parse),Nj=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=mj.activities(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>_j(e),t[2]=e,t[3]=r);let i=fj&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)},Pj=(e,t)=>{let n=(0,w.c)(10),r;n[0]!==t||n[1]!==e?(r=mj.activity(e,t),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;n[3]!==t||n[4]!==e?(i=()=>vj(e,t),n[3]=t,n[4]=e,n[5]=i):i=n[5];let a=fj&&e>0&&t>0,o;return n[6]!==r||n[7]!==i||n[8]!==a?(o={queryKey:r,queryFn:i,enabled:a},n[6]=r,n[7]=i,n[8]=a,n[9]=o):o=n[9],Jo(o)},Fj=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=mj.schedules(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>Sj(e),t[2]=e,t[3]=r);let i=fj&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)},Ij=(e,t)=>{let n=(0,w.c)(10),r;n[0]!==t||n[1]!==e?(r=mj.schedule(e,t),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;n[3]!==t||n[4]!==e?(i=()=>Cj(e,t),n[3]=t,n[4]=e,n[5]=i):i=n[5];let a=fj&&e>0&&t>0,o;return n[6]!==r||n[7]!==i||n[8]!==a?(o={queryKey:r,queryFn:i,enabled:a},n[6]=r,n[7]=i,n[8]=a,n[9]=o):o=n[9],Jo(o)},Lj=(e,t)=>{let n=(0,w.c)(10),r;n[0]!==t||n[1]!==e?(r=mj.entries(e,t),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;n[3]!==t||n[4]!==e?(i=()=>Dj(e,t),n[3]=t,n[4]=e,n[5]=i):i=n[5];let a=fj&&e>0&&t>0,o;return n[6]!==r||n[7]!==i||n[8]!==a?(o={queryKey:r,queryFn:i,enabled:a},n[6]=r,n[7]=i,n[8]=a,n[9]=o):o=n[9],Jo(o)},Rj=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=mj.stats(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>Oj(e),t[2]=e,t[3]=r);let i=fj&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i,retry:!1},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)};function zj(e,t){let n=(0,w.c)(6),r=No(),i;n[0]!==t||n[1]!==r?(i=()=>
vendor: 8,264 bytes, line 92
92r.invalidateQueries({queryKey:t}),n[0]=t,n[1]=r,n[2]=i):i=n[2];let a;return n[3]!==e||n[4]!==i?(a={mutationFn:e,onSuccess:i},n[3]=e,n[4]=i,n[5]=a):a=n[5],Yo(a)}var Bj=e=>{let t=(0,w.c)(3),n,r;return t[0]===e?(n=t[1],r=t[2]):(n=t=>yj(e,t),r=mj.activities(e),t[0]=e,t[1]=n,t[2]=r),zj(n,r)},Vj=(e,t)=>{let n=(0,w.c)(5),r;n[0]!==t||n[1]!==e?(r=n=>bj(e,t,n),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;return n[3]===e?i=n[4]:(i=mj.activities(e),n[3]=e,n[4]=i),zj(r,i)},Hj=e=>{let t=(0,w.c)(3),n,r;return t[0]===e?(n=t[1],r=t[2]):(n=t=>xj(e,t),r=mj.activities(e),t[0]=e,t[1]=n,t[2]=r),zj(n,r)},Uj=e=>{let t=(0,w.c)(3),n,r;return t[0]===e?(n=t[1],r=t[2]):(n=t=>wj(e,t),r=mj.schedules(e),t[0]=e,t[1]=n,t[2]=r),zj(n,r)},Wj=(e,t)=>{let n=(0,w.c)(5),r;n[0]!==t||n[1]!==e?(r=n=>Tj(e,t,n),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;return n[3]===e?i=n[4]:(i=mj.schedules(e),n[3]=e,n[4]=i),zj(r,i)},Gj=e=>{let t=(0,w.c)(3),n,r;return t[0]===e?(n=t[1],r=t[2]):(n=t=>Ej(e,t),r=mj.schedules(e),t[0]=e,t[1]=n,t[2]=r),zj(n,r)};function Kj(e,t){let n=(0,w.c)(10),r=No(),i;n[0]!==t||n[1]!==e?(i=n=>kj(e,t,n),n[0]=t,n[1]=e,n[2]=i):i=n[2];let a;n[3]!==t||n[4]!==r||n[5]!==e?(a=n=>r.setQueryData(mj.entries(e,t),n.data),n[3]=t,n[4]=r,n[5]=e,n[6]=a):a=n[6];let o;return n[7]!==i||n[8]!==a?(o={mutationFn:i,onSuccess:a},n[7]=i,n[8]=a,n[9]=o):o=n[9],Yo(o)}var qj=()=>{let e=(0,w.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=mj.publicActivities(),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n={queryKey:t,queryFn:Aj,enabled:fj&&!!QC},e[1]=n):n=e[1],Jo(n)},Jj=()=>{let e=(0,w.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=mj.publicSchedules(),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n={queryKey:t,queryFn:jj,enabled:fj&&!!QC},e[1]=n):n=e[1],Jo(n)},Yj=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=mj.publicEntries(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>Mj(e),t[2]=e,t[3]=r);let i=fj&&!!QC&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)},Xj=365.2425,Zj=6048e5,Qj=864e5,$j=3600*24;$j*7,$j*Xj/12*3;var eM=Symbol.for(`constructDateFrom`);function tM(e,t){return typeof e==`function`?e(t):e&&typeof e==`object`&&eM in e?e[eM](t):e instanceof Date?new e.constructor(t):new Date(t)}function nM(e,t){return tM(t||e,e)}var rM={};function iM(){return rM}function aM(e,t){let n=iM(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=nM(e,t?.in),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function oM(e,t){return aM(e,{...t,weekStartsOn:1})}function sM(e,t){let n=nM(e,t?.in),r=n.getFullYear(),i=tM(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let a=oM(i),o=tM(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let s=oM(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function cM(e){let t=nM(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-+n}function lM(e,...t){let n=tM.bind(null,e||t.find(e=>typeof e==`object`));return t.map(n)}function uM(e,t){let n=nM(e,t?.in);return n.setHours(0,0,0,0),n}function dM(e,t,n){let[r,i]=lM(n?.in,e,t),a=uM(r),o=uM(i),s=+a-cM(a),c=+o-cM(o);return Math.round((s-c)/Qj)}function fM(e,t){let n=sM(e,t),r=tM(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),oM(r)}function pM(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}function mM(e){return!(!pM(e)&&typeof e!=`number`||isNaN(+nM(e)))}function hM(e,t){let n=nM(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}var gM={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},_M=(e,t,n)=>{let r,i=gM[e];return r=typeof i==`string`?i:t===1?i.one:i.other.replace(`{{count}}`,t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?`in `+r:r+` ago`:r};function vM(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var yM={date:vM({formats:{full:`EEEE, MMMM do, y`,long:`MMMM do, y`,medium:`MMM d, y`,short:`MM/dd/yyyy`},defaultWidth:`full`}),time:vM({formats:{full:`h:mm:ss a zzzz`,long:`h:mm:ss a z`,medium:`h:mm:ss a`,short:`h:mm a`},defaultWidth:`full`}),dateTime:vM({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},bM={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},xM=(e,t,n,r)=>bM[e];function SM(e){return(t,n)=>{let r=n?.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=n?.width?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=n?.width?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}let a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}var CM={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+`st`;case 2:return n+`nd`;case 3:return n+`rd`}return n+`th`},era:SM({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:SM({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`]},defaultWidth:`wide`,argumentCallback:e=>e-1}),month:SM({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],wide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},defaultWidth:`wide`}),day:SM({values:{narrow:[`S`,`M`,`T`,`W`,`T`,`F`,`S`],short:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],abbreviated:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],wide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},defaultWidth:`wide`}),dayPeriod:SM({values:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`}},defaultFormattingWidth:`wide`})};function wM(e){return(t,n={})=>{let r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?EM(s,e=>e.test(o)):TM(s,e=>e.test(o)),l;l=e.valueCallback?e.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;let u=t.slice(o.length);return{value:l,rest:u}}
vendor: 11,617 bytes, line 92
92}function TM(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function EM(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function DM(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}var OM={code:`en-US`,formatDistance:_M,formatLong:yM,formatRelative:xM,localize:CM,match:{ordinalNumber:DM({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wM({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:`any`}),quarter:wM({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:wM({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:wM({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:wM({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:`any`})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function kM(e,t){let n=nM(e,t?.in);return dM(n,hM(n))+1}function AM(e,t){let n=nM(e,t?.in),r=oM(n)-+fM(n);return Math.round(r/Zj)+1}function jM(e,t){let n=nM(e,t?.in),r=n.getFullYear(),i=iM(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=tM(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);let s=aM(o,t),c=tM(t?.in||e,0);c.setFullYear(r,0,a),c.setHours(0,0,0,0);let l=aM(c,t);return+n>=+s?r+1:+n>=+l?r:r-1}function MM(e,t){let n=iM(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=jM(e,t),a=tM(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),aM(a,t)}function NM(e,t){let n=nM(e,t?.in),r=aM(n,t)-+MM(n,t);return Math.round(r/Zj)+1}function PM(e,t){return(e<0?`-`:``)+Math.abs(e).toString().padStart(t,`0`)}var FM={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return PM(t===`yy`?r%100:r,t.length)},M(e,t){let n=e.getMonth();return t===`M`?String(n+1):PM(n+1,2)},d(e,t){return PM(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.toUpperCase();case`aaa`:return n;case`aaaaa`:return n[0];default:return n===`am`?`a.m.`:`p.m.`}},h(e,t){return PM(e.getHours()%12||12,t.length)},H(e,t){return PM(e.getHours(),t.length)},m(e,t){return PM(e.getMinutes(),t.length)},s(e,t){return PM(e.getSeconds(),t.length)},S(e,t){let n=t.length,r=e.getMilliseconds();return PM(Math.trunc(r*10**(n-3)),t.length)}},IM={am:`am`,pm:`pm`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},LM={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case`G`:case`GG`:case`GGG`:return n.era(r,{width:`abbreviated`});case`GGGGG`:return n.era(r,{width:`narrow`});default:return n.era(r,{width:`wide`})}},y:function(e,t,n){if(t===`yo`){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:`year`})}return FM.y(e,t)},Y:function(e,t,n,r){let i=jM(e,r),a=i>0?i:1-i;return t===`YY`?PM(a%100,2):t===`Yo`?n.ordinalNumber(a,{unit:`year`}):PM(a,t.length)},R:function(e,t){return PM(sM(e),t.length)},u:function(e,t){return PM(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`Q`:return String(r);case`QQ`:return PM(r,2);case`Qo`:return n.ordinalNumber(r,{unit:`quarter`});case`QQQ`:return n.quarter(r,{width:`abbreviated`,context:`formatting`});case`QQQQQ`:return n.quarter(r,{width:`narrow`,context:`formatting`});default:return n.quarter(r,{width:`wide`,context:`formatting`})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`q`:return String(r);case`qq`:return PM(r,2);case`qo`:return n.ordinalNumber(r,{unit:`quarter`});case`qqq`:return n.quarter(r,{width:`abbreviated`,context:`standalone`});case`qqqqq`:return n.quarter(r,{width:`narrow`,context:`standalone`});default:return n.quarter(r,{width:`wide`,context:`standalone`})}},M:function(e,t,n){let r=e.getMonth();switch(t){case`M`:case`MM`:return FM.M(e,t);case`Mo`:return n.ordinalNumber(r+1,{unit:`month`});case`MMM`:return n.month(r,{width:`abbreviated`,context:`formatting`});case`MMMMM`:return n.month(r,{width:`narrow`,context:`formatting`});default:return n.month(r,{width:`wide`,context:`formatting`})}},L:function(e,t,n){let r=e.getMonth();switch(t){case`L`:return String(r+1);case`LL`:return PM(r+1,2);case`Lo`:return n.ordinalNumber(r+1,{unit:`month`});case`LLL`:return n.month(r,{width:`abbreviated`,context:`standalone`});case`LLLLL`:return n.month(r,{width:`narrow`,context:`standalone`});default:return n.month(r,{width:`wide`,context:`standalone`})}},w:function(e,t,n,r){let i=NM(e,r);return t===`wo`?n.ordinalNumber(i,{unit:`week`}):PM(i,t.length)},I:function(e,t,n){let r=AM(e);return t===`Io`?n.ordinalNumber(r,{unit:`week`}):PM(r,t.length)},d:function(e,t,n){return t===`do`?n.ordinalNumber(e.getDate(),{unit:`date`}):FM.d(e,t)},D:function(e,t,n){let r=kM(e);return t===`Do`?n.ordinalNumber(r,{unit:`dayOfYear`}):PM(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case`E`:case`EE`:case`EEE`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`EEEEE`:return n.day(r,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},e:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`e`:return String(a);case`ee`:return PM(a,2);case`eo`:return n.ordinalNumber(a,{unit:`day`});case`eee`:return n.day(i,{width:`abbreviated`,context:`formatting`});case`eeeee`:return n.day(i,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(i,{width:`short`,context:`formatting`});default:return n.day(i,{width:`wide`,context:`formatting`})}},c:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`c`:return String(a);case`cc`:return PM(a,t.length);case`co`:return n.ordinalNumber(a,{unit:`day`});case`ccc`:return n.day(i,{width:`abbreviated`,context:`standalone`});case`ccccc`:return n.day(i,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(i,{width:`short`,context:`standalone`});default:return n.day(i,{width:`wide`,context:`standalone`})}},i:function(e,t,n){let r=e.getDay(),i=r===0?7:r;switch(t){case`i`:return String(i);case`ii`:return PM(i,t.length);case`io`:return n.ordinalNumber(i,{unit:`day`});case`iii`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`iiiii`:return n.day(r,{width:`narrow`,context:`formatting`});case`iiiiii`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},a:function(e,t,n){let r=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`});case`aaa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`aaaaa`:return n.dayPeriod(r,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(r,{width:`wide`,context:`formatting`})}},b:function(e,t,n){let r=e.getHours(),i;switch(i=r===12?IM.noon:r===0?IM.midnight:r/12>=1?`pm`:`am`,t){case`b`:case`bb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`bbb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`bbbbb`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},B:function(e,t,n){let r=e.getHours(),i;switch(i=r>=17?IM.evening:r>=12?IM.afternoon:r>=4?IM.morning:IM.night,t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`BBBBB`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},h:function(e,t,n){if(t===`ho`){let t=e.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:`hour`})}return FM.h(e,t)},H:function(e,t,n){return t===`Ho`?n.ordinalNumber(e.getHours(),{unit:`hour`}):FM.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return t===`Ko`?n.ordinalNumber(r,{unit:`hour`}):PM(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t===`ko`?n.ordinalNumber(r,{unit:`hour`}):PM(r,t.length)},m:function(e,t,n){return t===`mo`?n.ordinalNumber(e.getMinutes(),{unit:`minute`}):FM.m(e,t)},s:function(e,t,n){return t===`so`?n.ordinalNumber(e.getSeconds(),{unit:`second`}):FM.s(e,t)},S:function(e,t){return FM.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(r===0)return`Z`;switch(t){case`X`:return zM(r);case`XXXX`:case`XX`:return BM(r);default:return BM(r,`:`)}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`x`:return zM(r);case`xxxx`:case`xx`:return BM(r);default:return BM(r,`:`)}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`O`:case`OO`:case`OOO`:return`GMT`+RM(r,`:`);default:return`GMT`+BM(r,`:`)}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`z`:case`zz`:case`zzz`:return`GMT`+RM(r,`:`);default:return`GMT`+BM(r,`:`)}},t:function(e,t,n){return PM(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return PM(+e,t.length)}};function RM(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+PM(a,2)}function zM(e,t){return e%60==0?(e>0?`-`:`+`)+PM(Math.abs(e)/60,2):BM(e,t)}function BM(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=PM(Math.trunc(r/60),2),a=PM(r%60,2);return n+i+t+a}var VM=(e,t)=>{switch(e){case`P`:return t.date({width:`short`});case`PP`:return t.date({width:`medium`});case`PPP`:return t.date({width:`long`});default:return t.date({width:`full`})}},HM=(e,t)=>{switch(e){case`p`:return t.time({width:`short`});case`pp`:return t.time({width:`medium`});case`ppp`:return t.time({width:`long`});default:return t.time({width:`full`})}},UM={p:HM,P:(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return VM(e,t);let a;switch(r){case`P`:a=t.dateTime({width:`short`});break;case`PP`:a=t.dateTime({width:`medium`});break;case`PPP`:a=t.dateTime({width:`long`});break;default:a=t.dateTime({width:`full`});break}return a.replace(`{{date}}`,VM(r,t)).replace(`{{time}}`,HM(i,t))}},WM=/^D+$/,GM=/^Y+$/,KM=[`D`,`DD`,`YY`,`YYYY`];function qM(e){return WM.test(e)}function JM(e){return GM.test(e)}
92function YM(e,t,n){let r=XM(e,t,n);if(console.warn(r),KM.includes(e))throw RangeError(r)}function XM(e,t,n){let r=e[0]===`Y`?`years`:`days of the month`;return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var ZM=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,QM=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$M=/^'([^]*?)'?$/,eN=/''/g,tN=/[a-zA-Z]/;function nN(e,t,n){let r=iM(),i=n?.locale??r.locale??OM,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=nM(e,n?.in);if(!mM(s))throw RangeError(`Invalid time value`);let c=t.match(QM).map(e=>{let t=e[0];if(t===`p`||t===`P`){let n=UM[t];return n(e,i.formatLong)}return e}).join(``).match(ZM).map(e=>{if(e===`''`)return{isToken:!1,value:`'`};let t=e[0];if(t===`'`)return{isToken:!1,value:rN(e)};if(LM[t])return{isToken:!0,value:e};if(t.match(tN))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});i.localize.preprocessor&&(c=i.localize.preprocessor(s,c));let l={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return c.map(r=>{if(!r.isToken)return r.value;let a=r.value;(!n?.useAdditionalWeekYearTokens&&JM(a)||!n?.useAdditionalDayOfYearTokens&&qM(a))&&YM(a,t,String(e));let o=LM[a[0]];return o(s,a,i.localize,l)}).join(``)}function rN(e){let t=e.match($M);return t?t[1].replace(eN,`'`):e}function iN(e,t){return nM(e,t?.in).getHours()}function aN(e,t){let n=nM(e,t?.in).getDay();return n===0?7:n}function oN(e){let t=new Map;for(let n=1;n<=7;n++)t.set(n,e.filter(e=>e.dayOfWeek===n).sort((e,t)=>e.hourStart-t.hourStart).map(e=>({entry:e,rowspan:e.hourEnd-e.hourStart})));return t}function sN(e){return Array.from({length:24},(e,t)=>t)}function cN(e,t){return t.map(t=>e.some(e=>e.hourStart<=t&&e.hourEnd>t)?`minmax(3.75rem, auto)`:`1.375rem`).join(` `)}function lN(e,t){let n=aN(t),r=iN(t);return e.find(e=>e.dayOfWeek===n&&e.hourStart<=r&&e.hourEnd>r)?.activity??null}function uN(e,t){if(e.length===0)return null;let n=aN(t),r=iN(t),i=new Date(t);i.setHours(0,0,0,0);let a=null;for(let t of e){let e=t.dayOfWeek-n;(e<0||e===0&&t.hourStart<=r)&&(e+=7);let o=new Date(i);o.setDate(o.getDate()+e),o.setHours(t.hourStart,0,0,0),(!a||o<a.startsAt)&&(a={entry:t,startsAt:o})}return a}var dN=`https://icecast.zeclogiccloud.com.de/fmlatribu`,fN=`/noticias`,pN=`/archivo-sonoro`,mN=`https://donaronline.org/la-tribu/para-que-la-tribu-siga-encendida`,hN=`https://www.youtube.com/@EstopasaenLaTribu`,gN=[{href:`https://instagram.com/fmlatribu`,icon:`instagram`,fullLabel:`Instagram`},{href:`https://x.com/fmlatribu`,icon:`twitter`,fullLabel:`Twitter · X`},{href:`https://facebook.com/fmlatribu`,icon:`facebook`,fullLabel:`Facebook`},{href:`https://youtube.com/@fmlatribu`,icon:`youtube`,fullLabel:`YouTube`}],_N=[];function vN(){return Yj(Jj().data?.[0]?.id??0).data??_N}function yN(){let e=(0,w.c)(11),t=vN(),[n,r]=(0,S.useState)(bN),i,a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=()=>{let e=setInterval(()=>r(new Date),6e4);return()=>clearInterval(e)},a=[],e[0]=i,e[1]=a):(i=e[0],a=e[1]),(0,S.useEffect)(i,a);let o;e[2]!==t||e[3]!==n?(o=lN(t,n),e[2]=t,e[3]=n,e[4]=o):o=e[4];let s;e[5]!==t||e[6]!==n?(s=uN(t,n),e[5]=t,e[6]=n,e[7]=s):s=e[7];let c;return e[8]!==o||e[9]!==s?(c={current:o,next:s},e[8]=o,e[9]=s,e[10]=c):c=e[10],c}function bN(){return new Date}function xN(e){return`${String(e).padStart(2,`0`)}:00`}function SN(){let e=(0,w.c)(46),t=(0,S.useRef)(null),{isPlaying:n,volume:r,toggle:i,setVolume:a}=Db(),{current:o,next:s}=yN(),c,l;e[0]===n?(c=e[1],l=e[2]):(c=()=>{let e=t.current;e&&(n?((!e.src||e.src!==`https://icecast.zeclogiccloud.com.de/fmlatribu`)&&(e.src=dN),e.play().catch(CN)):(e.pause(),e.src=``))},l=[n],e[0]=n,e[1]=c,e[2]=l),(0,S.useEffect)(c,l);let u,d;e[3]===r?(u=e[4],d=e[5]):(u=()=>{t.current&&(t.current.volume=r)},d=[r],e[3]=r,e[4]=u,e[5]=d),(0,S.useEffect)(u,d);let f=o?.name??`FM La Tribu 88.7`,p,m;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(p={top:`var(--nav-h)`,height:`var(--player-h)`,background:`var(--ink-primary)`,boxShadow:`-2px 2px 8px rgba(0,0,0,0.25)`},m=(0,U.jsx)(`audio`,{ref:t,preload:`none`}),e[6]=p,e[7]=m):(p=e[6],m=e[7]);let h=n?`Pausar radio`:`Reproducir radio`,g;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(g={scale:.92},e[8]=g):g=e[8];let _=n?`var(--red-500)`:`transparent`,v=`1.5px solid ${n?`var(--red-500)`:`rgba(255,255,255,0.25)`}`,y;e[9]!==_||e[10]!==v?(y={background:_,border:v,color:`white`},e[9]=_,e[10]=v,e[11]=y):y=e[11];let b;e[12]===n?b=e[13]:(b=(0,U.jsx)(uv,{mode:`wait`,children:n?(0,U.jsx)(ob.span,{initial:{opacity:0}
92,animate:{opacity:1},exit:{opacity:0},transition:{duration:.1},style:{fontSize:8,letterSpacing:1},children:`ââ`},`pause`):(0,U.jsx)(ob.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.1},style:{fontSize:10,marginLeft:1},children:`â¶`},`play`)}),e[12]=n,e[13]=b);let x;e[14]!==y||e[15]!==b||e[16]!==h||e[17]!==i?(x=(0,U.jsx)(ob.button,{onClick:i,"aria-label":h,whileTap:g,className:`shrink-0 w-8 h-8 flex items-center justify-center cursor-pointer transition-colors duration-200`,style:y,children:b}),e[14]=y,e[15]=b,e[16]=h,e[17]=i,e[18]=x):x=e[18];let C=`badge-en-vivo shrink-0${n?``:` badge-en-vivo--paused`}`,T;e[19]===C?T=e[20]:(T=(0,U.jsx)(`span`,{className:C,children:`En vivo`}),e[19]=C,e[20]=T);let E=n?`white`:`rgba(255,255,255,0.45)`,D;e[21]===E?D=e[22]:(D={fontFamily:`var(--font-display)`,fontWeight:700,fontSize:11,letterSpacing:`0.04em`,color:E},e[21]=E,e[22]=D);let O;e[23]!==f||e[24]!==D?(O=(0,U.jsx)(`div`,{className:`min-w-0 truncate uppercase`,style:D,children:f}),e[23]=f,e[24]=D,e[25]=O):O=e[25];let k;e[26]!==T||e[27]!==O?(k=(0,U.jsxs)(`div`,{className:`flex-1 min-w-0 flex items-center gap-3`,children:[T,O]}),e[26]=T,e[27]=O,e[28]=k):k=e[28];let A;e[29]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,U.jsx)(Sb,{"aria-hidden":`true`,className:`h-3.5 w-3.5 shrink-0`}),e[29]=A):A=e[29];let j;e[30]===r?j=e[31]:(j=Math.round(r*100),e[30]=r,e[31]=j);let M;e[32]===a?M=e[33]:(M=e=>a(Number(e.target.value)/100),e[32]=a,e[33]=M);let N;e[34]!==j||e[35]!==M?(N=(0,U.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2 text-white`,"aria-label":`Control de volumen`,children:[A,(0,U.jsx)(`input`,{type:`range`,min:0,max:100,value:j,onChange:M,"aria-label":`Volumen`,className:`player-volume-slider`})]}),e[34]=j,e[35]=M,e[36]=N):N=e[36];let P;e[37]!==x||e[38]!==k||e[39]!==N?(P=(0,U.jsxs)(`div`,{className:`flex h-[52px] items-center gap-3 px-4`,children:[x,k,N]}),e[37]=x,e[38]=k,e[39]=N,e[40]=P):P=e[40];let F;e[41]===s?F=e[42]:(F=s&&(0,U.jsxs)(`div`,{className:`flex h-[30px] items-center gap-3 border-t border-white/15 px-4 text-white/65`,children:[(0,U.jsx)(`span`,{className:`shrink-0 text-[10px] font-black tabular-nums tracking-[0.08em] text-white/80`,children:xN(s.entry.hourStart)}),(0,U.jsxs)(`span`,{className:`truncate text-[9px] font-bold uppercase tracking-[0.1em]`,children:[`Próximo: `,s.entry.activity.name]})]}),e[41]=s,e[42]=F);let I;return e[43]!==P||e[44]!==F?(I=(0,U.jsxs)(`div`,{className:`fixed right-0 z-50 w-full sm:w-[35%] sm:min-w-[300px]`,style:p,children:[m,P,F]}),e[43]=P,e[44]=F,e[45]=I):I=e[45],I}function CN(){return Db.getState().pause()}function wN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polygon`,attr:{points:`13 2 3 14 12 14 11 22 21 10 12 10 13 2`},child:[]}]})(e)}function TN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`18`,y1:`6`,x2:`6`,y2:`18`},child:[]},{tag:`line`,attr:{x1:`6`,y1:`6`,x2:`18`,y2:`18`},child:[]}]})(e)}function EN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`line`,attr:{x1:`15`,y1:`9`,x2:`9`,y2:`15`},child:[]},{tag:`line`,attr:{x1:`9`,y1:`9`,x2:`15`,y2:`15`},child:[]}]})(e)}function DN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polygon`,attr:{points:`23 7 16 12 23 17 23 7`},child:[]},{tag:`rect`,attr:{x:`1`,y:`5`,width:`15`,height:`14`,rx:`2`,ry:`2`},child:[]}]})(e)}function ON(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2`},child:[]},{tag:`circle`,attr:{cx:`9`,cy:`7`,r:`4`},child:[]},{tag:`path`,attr:{d:`M23 21v-2a4 4 0 0 0-3-3.87`},child:[]},{tag:`path`,attr:{d:`M16 3.13a4 4 0 0 1 0 7.75`},child:[]}]})(e)}function kN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2`},child:[]},{tag:`circle`,attr:{cx:`12`,cy:`7`,r:`4`},child:[]}]})(e)}function AN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`16 16 12 12 8 16`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`12`,x2:`12`,y2:`21`},child:[]},{tag:`path`,attr:{d:`M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3`},child:[]},{tag:`polyline`,attr:{points:`16 16 12 12 8 16`},child:[]}]})(e)}function jN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3`},child:[]},{tag:`line`,attr:{x1:`4`,y1:`21`,x2:`20`,y2:`21`},child:[]}]})(e)}function MN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z`},child:[]}]})(e)}function NN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`3 6 5 6 21 6`},child:[]},{tag:`path`,attr:{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`},child:[]},{tag:`line`,attr:{x1:`10`,y1:`11`,x2:`10`,y2:`17`},child:[]},{tag:`line`,attr:{x1:`14`,y1:`11`,x2:`14`,y2:`17`},child:[]}]})(e)}function PN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z`},child:[]}]})(e)}function FN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z`},child:[]},{tag:`line`,attr:{x1:`7`,y1:`7`,x2:`7.01`,y2:`7`},child:[]}]})(e)}function IN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`5`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`1`,x2:`12`,y2:`3`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`21`,x2:`12`,y2:`23`},child:[]},{tag:`line`,attr:{x1:`4.22`,y1:`4.22`,x2:`5.64`,y2:`5.64`},child:[]},{tag:`line`,attr:{x1:`18.36`,y1:`18.36`,x2:`19.78`,y2:`19.78`},child:[]},{tag:`line`,attr:{x1:`1`,y1:`12`,x2:`3`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`12`,x2:`23`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`4.22`,y1:`19.78`,x2:`5.64`,y2:`18.36`},child:[]},{tag:`line`,attr:{x1:`18.36`,y1:`5.64`,x2:`19.78`,y2:`4.22`},child:[]}]})(e)}function LN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,ry:`2`},child:[]}]})(e)}function RN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z`},child:[]},{tag:`line`,attr:{x1:`3`,y1:`6`,x2:`21`,y2:`6`},child:[]},{tag:`path`,attr:{d:`M16 10a4 4 0 0 1-8 0`},child:[]}]})(e)}function zN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z`},child:[]}]})(e)}function BN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`3`},child:[]},{tag:`path`,attr:{d:`M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2
920 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z`},child:[]}]})(e)}function VN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`22`,y1:`2`,x2:`11`,y2:`13`},child:[]},{tag:`polygon`,attr:{points:`22 2 15 22 11 13 2 9 22 2`},child:[]}]})(e)}function HN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`11`,cy:`11`,r:`8`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`21`,x2:`16.65`,y2:`16.65`},child:[]}]})(e)}function UN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z`},child:[]},{tag:`polyline`,attr:{points:`17 21 17 13 7 13 7 21`},child:[]},{tag:`polyline`,attr:{points:`7 3 7 8 15 8`},child:[]}]})(e)}function WN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`1 4 1 10 7 10`},child:[]},{tag:`path`,attr:{d:`M3.51 15a9 9 0 1 0 2.13-9.36L1 10`},child:[]}]})(e)}function GN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`23 4 23 10 17 10`},child:[]},{tag:`polyline`,attr:{points:`1 20 1 14 7 14`},child:[]},{tag:`path`,attr:{d:`M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15`},child:[]}]})(e)}function KN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`1 4 1 10 7 10`},child:[]},{tag:`polyline`,attr:{points:`23 20 23 14 17 14`},child:[]},{tag:`path`,attr:{d:`M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15`},child:[]}]})(e)}function qN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`2`},child:[]},{tag:`path`,attr:{d:`M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14`},child:[]}]})(e)}function JN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M18.36 6.64a9 9 0 1 1-12.73 0`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`2`,x2:`12`,y2:`12`},child:[]}]})(e)}function YN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`12`,y1:`5`,x2:`12`,y2:`19`},child:[]},{tag:`line`,attr:{x1:`5`,y1:`12`,x2:`19`,y2:`12`},child:[]}]})(e)}function XN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polygon`,attr:{points:`5 3 19 12 5 21 5 3`},child:[]}]})(e)}function ZN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`polygon`,attr:{points:`10 8 16 12 10 16 10 8`},child:[]}]})(e)}function QN(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`16.5`,y1:`9.4`,x2:`7.5`,y2:`4.21`},child:[]},{tag:`path`,attr:{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`},child:[]},{tag:`polyline`,attr:{points:`3.27 6.96 12 12.01 20.73 6.96`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`22.08`,x2:`12`,y2:`12`},child:[]}]})(e)}function $N(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M9 18V5l12-2v13`},child:[]},{tag:`circle`,attr:{cx:`6`,cy:`18`,r:`3`},child:[]},{tag:`circle`,attr:{cx:`18`,cy:`16`,r:`3`},child:[]}]})(e)}function eP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z`},child:[]}]})(e)}function tP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}
92,child:[{tag:`rect`,attr:{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,ry:`2`},child:[]},{tag:`line`,attr:{x1:`8`,y1:`21`,x2:`16`,y2:`21`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`17`,x2:`12`,y2:`21`},child:[]}]})(e)}function nP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`5`,y1:`12`,x2:`19`,y2:`12`},child:[]}]})(e)}function rP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`3`,y1:`12`,x2:`21`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`3`,y1:`6`,x2:`21`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`3`,y1:`18`,x2:`21`,y2:`18`},child:[]}]})(e)}function iP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z`},child:[]},{tag:`polyline`,attr:{points:`22,6 12,13 2,6`},child:[]}]})(e)}function aP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`},child:[]},{tag:`polyline`,attr:{points:`16 17 21 12 16 7`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`12`,x2:`9`,y2:`12`},child:[]}]})(e)}function oP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{x:`3`,y:`11`,width:`18`,height:`11`,rx:`2`,ry:`2`},child:[]},{tag:`path`,attr:{d:`M7 11V7a5 5 0 0 1 10 0v4`},child:[]}]})(e)}function sP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`12`,y1:`2`,x2:`12`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`18`,x2:`12`,y2:`22`},child:[]},{tag:`line`,attr:{x1:`4.93`,y1:`4.93`,x2:`7.76`,y2:`7.76`},child:[]},{tag:`line`,attr:{x1:`16.24`,y1:`16.24`,x2:`19.07`,y2:`19.07`},child:[]},{tag:`line`,attr:{x1:`2`,y1:`12`,x2:`6`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`18`,y1:`12`,x2:`22`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`4.93`,y1:`19.07`,x2:`7.76`,y2:`16.24`},child:[]},{tag:`line`,attr:{x1:`16.24`,y1:`7.76`,x2:`19.07`,y2:`4.93`},child:[]}]})(e)}function cP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`8`,y1:`6`,x2:`21`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`8`,y1:`12`,x2:`21`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`8`,y1:`18`,x2:`21`,y2:`18`},child:[]},{tag:`line`,attr:{x1:`3`,y1:`6`,x2:`3.01`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`3`,y1:`12`,x2:`3.01`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`3`,y1:`18`,x2:`3.01`,y2:`18`},child:[]}]})(e)}function lP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`},child:[]},{tag:`path`,attr:{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`},child:[]}]})(e)}function uP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`19`,y1:`4`,x2:`10`,y2:`4`},child:[]},{tag:`line`,attr:{x1:`14`,y1:`20`,x2:`5`,y2:`20`},child:[]},{tag:`line`,attr:{x1:`15`,y1:`4`,x2:`9`,y2:`20`},child:[]}]})(e)}function dP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{x:`2`,y:`2`,width:`20`,height:`20`,rx:`5`,ry:`5`},child:[]},{tag:`path`,attr:{d:`M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z`},child:[]},{tag:`line`,attr:{x1:`17.5`,y1:`6.5`,x2:`17.51`,y2:`6.5`},child:[]}]})(e)}function fP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`16`,x2:`12`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`},child:[]}]})(e)}function pP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`22 12 16 12 14 15 10 15 8 12 2 12`},child:[]},{tag:`path`,attr:{d:`M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`},child:[]}]})(e)}function mP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,ry:`2`},child:[]},{tag:`circle`,attr:{cx:`8.5`,cy:`8.5`,r:`1.5`},child:[]},{tag:`polyline`,attr:{points:`21 15 16 10 5 21`},child:[]}]})(e)}function hP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z`},child:[]}]})(e)}function gP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`4`,y1:`9`,x2:`20`,y2:`9`},child:[]},{tag:`line`,attr:{x1:`4`,y1:`15`,x2:`20`,y2:`15`},child:[]},{tag:`line`,attr:{x1:`10`,y1:`3`,x2:`8`,y2:`21`},child:[]},{tag:`line`,attr:{x1:`16`,y1:`3`,x2:`14`,y2:`21`},child:[]}]})(e)}function _P(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`22`,y1:`12`,x2:`2`,y2:`12`},child:[]},{tag:`path`,attr:{d:`M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`},child:[]},{tag:`line`,attr:{x1:`6`,y1:`16`,x2:`6.01`,y2:`16`},child:[]},{tag:`line`,attr:{x1:`10`,y1:`16`,x2:`10.01`,y2:`16`},child:[]}]})(e)}function vP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{x:`3`,y:`3`,width:`7`,height:`7`},child:[]},{tag:`rect`,attr:{x:`14`,y:`3`,width:`7`,height:`7`},child:[]},{tag:`rect`,attr:{x:`14`,y:`14`,width:`7`,height:`7`},child:[]},{tag:`rect`,attr:{x:`3`,y:`14`,width:`7`,height:`7`},child:[]}]})(e)}function yP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`line`,attr:{x1:`2`,y1:`12`,x2:`22`,y2:`12`},child:[]},{tag:`path`,attr:{d:`M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z`},child:[]}]})(e)}function bP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z`},child:[]},{tag:`polyline`,attr:{points:`13 2 13 9 20 9`},child:[]}]})(e)}function xP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z`},child:[]},{tag:`polyline`,attr:{points:`14 2 14 8 20 8`},child:[]},{tag:`line`,attr:{x1:`16`,y1:`13`,x2:`8`,y2:`13`},child:[]},{tag:`line`,attr:{x1:`16`,y1:`17`,x2:`8`,y2:`17`},child:[]},{tag:`polyline`,attr:{points:`10 9 9 9 8 9`},child:[]}]})(e)}function SP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z`},child:[]}]})(e)}function CP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z`},child:[]},{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`3`},child:[]}]})(e)}function wP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24`},child:[]},{tag:`line`,attr:{x1:`1`,y1:`1`,x2:`23`,y2:`23`},child:[]}]})(e)}function TP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`},child:[]},{tag:`polyline`,attr:{points:`15 3 21 3 21 9`},child:[]},{tag:`line`,attr:{x1:`10`,y1:`14`,x2:`21`,y2:`3`},child:[]}]})(e)}function EP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 20h9`},child:[]},{tag:`path`,attr:{d:`M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z`},child:[]}]})(e)}function DP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z`},child:[]}]})(e)}function OP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z`},child:[]}]})(e)}function kP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{x:`1`,y:`4`,width:`22`,height:`16`,rx:`2`,ry:`2`},child:[]},{tag:`line`,attr:{x1:`1`,y1:`10`,x2:`23`,y2:`10`},child:[]}]})(e)}function AP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`15 14 20 9 15 4`},child:[]},{tag:`path`,attr:{d:`M4 20v-7a4 4 0 0 1 4-4h12`},child:[]}]})(e)}function jP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`9 14 4 9 9 4`},child:[]},{tag:`path`,attr:{d:`M20 20v-7a4 4 0 0 0-4-4H4`},child:[]}]})(e)}function MP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{x:`9`,y:`9`,width:`13`,height:`13`,rx:`2`,ry:`2`},child:[]},{tag:`path`,attr:{d:`M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1`},child:[]}]})(e)}function NP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`16 18 22 12 16 6`},child:[]},{tag:`polyline`,attr:{points:`8 6 2 12 8 18`},child:[]}]})(e)}function PP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}
92,child:[{tag:`polyline`,attr:{points:`18 15 12 9 6 15`},child:[]}]})(e)}function FP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`9 18 15 12 9 6`},child:[]}]})(e)}function IP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`15 18 9 12 15 6`},child:[]}]})(e)}function LP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`6 9 12 15 18 9`},child:[]}]})(e)}function RP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`20 6 9 17 4 12`},child:[]}]})(e)}function zP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`},child:[]},{tag:`polyline`,attr:{points:`22 4 12 14.01 9 11.01`},child:[]}]})(e)}function BP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`rect`,attr:{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`,ry:`2`},child:[]},{tag:`line`,attr:{x1:`16`,y1:`2`,x2:`16`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`8`,y1:`2`,x2:`8`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`3`,y1:`10`,x2:`21`,y2:`10`},child:[]}]})(e)}function VP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z`},child:[]},{tag:`path`,attr:{d:`M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z`},child:[]}]})(e)}function HP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`18`,y1:`20`,x2:`18`,y2:`10`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`20`,x2:`12`,y2:`4`},child:[]},{tag:`line`,attr:{x1:`6`,y1:`20`,x2:`6`,y2:`14`},child:[]}]})(e)}function UP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`7`,y1:`17`,x2:`17`,y2:`7`},child:[]},{tag:`polyline`,attr:{points:`7 7 17 7 17 17`},child:[]}]})(e)}function WP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`5`,y1:`12`,x2:`19`,y2:`12`},child:[]},{tag:`polyline`,attr:{points:`12 5 19 12 12 19`},child:[]}]})(e)}function GP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`19`,y1:`12`,x2:`5`,y2:`12`},child:[]},{tag:`polyline`,attr:{points:`12 19 5 12 12 5`},child:[]}]})(e)}function KP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`polyline`,attr:{points:`21 8 21 21 3 21 3 8`},child:[]},{tag:`rect`,attr:{x:`1`,y:`3`,width:`22`,height:`5`},child:[]},{tag:`line`,attr:{x1:`10`,y1:`12`,x2:`14`,y2:`12`},child:[]}]})(e)}function qP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`21`,y1:`10`,x2:`7`,y2:`10`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`6`,x2:`3`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`14`,x2:`3`,y2:`14`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`18`,x2:`7`,y2:`18`},child:[]}]})(e)}function JP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`17`,y1:`10`,x2:`3`,y2:`10`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`6`,x2:`3`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`14`,x2:`3`,y2:`14`},child:[]},{tag:`line`,attr:{x1:`17`,y1:`18`,x2:`3`,y2:`18`},child:[]}]})(e)}function YP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`21`,y1:`10`,x2:`3`,y2:`10`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`6`,x2:`3`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`14`,x2:`3`,y2:`14`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`18`,x2:`3`,y2:`18`},child:[]}]})(e)}function XP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`line`,attr:{x1:`18`,y1:`10`,x2:`6`,y2:`10`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`6`,x2:`3`,y2:`6`},child:[]},{tag:`line`,attr:{x1:`21`,y1:`14`,x2:`3`,y2:`14`},child:[]},{tag:`line`,attr:{x1:`18`,y1:`18`,x2:`6`,y2:`18`},child:[]}]})(e)}function ZP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{d:`M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`9`,x2:`12`,y2:`13`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`},child:[]}]})(e)}function QP(e){return K({tag:`svg`,attr:{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`circle`,attr:{cx:`12`,cy:`12`,r:`10`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`8`,x2:`12`,y2:`12`},child:[]},{tag:`line`,attr:{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`},child:[]}]})(e)}var $P=pA([`draft`,`published`,`archived`]),eF=aA({id:Q(),name:Z(),slug:Z(),originWpId:Q().nullable().optional(),color:Z().regex(/^#[0-9a-f]{6}$/).nullable().default(null)}),tF=aA({id:Q(),name:Z(),slug:Z(),originWpId:Q().nullable().optional()}),nF=eF.pick({name:!0,slug:!0,color:!0}),rF=tF.pick({name:!0,slug:!0}),iF=aA({id:Q(),siteId:Q(),title:Z(),slug:Z(),status:$P,contentHtml:Z(),contentJson:$k().nullable(),excerpt:Z().nullable(),featuredImageUrl:Z().nullable(),featuredImageThumbUrl:Z().nullable(),originWpId:Q().nullable(),originLink:Z().nullable(),publishedAt:Z().nullable(),createdAt:Z(),updatedAt:Z(),categories:rA(eF),tags:rA(tF)}),aF=aA({title:Z(),slug:Z(),excerpt:Z().nullable(),featuredImageUrl:Z().nullable(),featuredImageThumbUrl:Z().nullable(),publishedAt:Z(),categories:rA(nF),tags:rA(rF)}),oF=aF.extend({contentHtml:Z()}),sF=aA({items:rA(iF),page:Q(),perPage:Q(),offset:Q().int().nonnegative().default(0),total:Q()}),cF=aA({items:rA(aF),page:Q(),perPage:Q(),offset:Q().int().nonnegative().default(0),total:Q()}),lF=aA({posts:Q().int().nonnegative(),categories:Q().int().nonnegative(),tags:Q().int().nonnegative()}),uF=Dc.blogApiBaseUrl,dF=uF.length>0,fF=XC.create({baseURL:uF||void 0,timeout:1e4,headers:{Accept:`application/json`}});fF.interceptors.request.use(e=>{let t=tw()?.accessToken;return t&&!e.url?.startsWith(`/public/`)&&(e.headers.Authorization=`Bearer ${t}`),e}),fF.interceptors.response.use(void 0,async e=>{let t=e.config;if(e.response?.status!==401||!t||t._retried||t.url?.startsWith(`/public/`))throw e;t._retried=!0;let n=await KA();return t.headers.Authorization=`Bearer ${n.accessToken}`,fF(t)});var pF={all:[`blog`],adminPosts:(e,t)=>[`blog`,`admin`,e,`posts`,t],adminPost:(e,t)=>
92[`blog`,`admin`,e,`post`,t],terms:(e,t)=>[`blog`,`admin`,e,t],stats:e=>[`blog`,`admin`,e,`stats`],publicPosts:e=>[`blog`,`public`,QC,`posts`,e],publicPost:e=>[`blog`,`public`,QC,`post`,e],publicTerms:e=>[`blog`,`public`,QC,e]},mF=e=>Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0&&e!==``)),hF=(e,t)=>XC.isAxiosError(e)&&e.response?.data?.error||t;async function gF(e,t={}){let{data:n}=await fF.get(`/sites/${e}/posts`,{params:mF({page:1,perPage:20,...t})});return sF.parse(n)}async function _F(e,t){let{data:n}=await fF.get(`/sites/${e}/posts/${t}`);return iF.parse(n)}async function vF(e){let{data:t}=await fF.get(`/sites/${e}/stats`);return lF.parse(t)}async function yF(e,t,n){let{data:r}=await fF.patch(`/sites/${e}/posts/${t}`,{status:n});return iF.parse(r)}async function bF(e,t){let{data:n}=await fF.post(`/sites/${e}/posts`,t);return iF.parse(n)}async function xF(e,t,n){let{data:r}=await fF.patch(`/sites/${e}/posts/${t}`,n);return iF.parse(r)}async function SF(e,t){await fF.delete(`/sites/${e}/posts/${t}`)}async function CF(e,t){let{data:n}=await fF.get(`/sites/${e}/${t}`);return(t===`categories`?eF:tF).array().parse(n)}async function wF(e,t,n){let{data:r}=await fF.post(`/sites/${e}/${t}`,n);return(t===`categories`?eF:tF).parse(r)}async function TF(e,t,n,r){let{data:i}=await fF.patch(`/sites/${e}/${t}/${n}`,r);return(t===`categories`?eF:tF).parse(i)}async function EF(e,t,n){await fF.delete(`/sites/${e}/${t}/${n}`)}async function DF(e={}){let{data:t}=await fF.get(`/public/sites/${encodeURIComponent(QC)}/posts`,{params:mF({page:1,perPage:12,...e})});return cF.parse(t)}async function OF(e){let{data:t}=await fF.get(`/public/sites/${encodeURIComponent(QC)}/posts/${encodeURIComponent(e)}`);return oF.parse(t)}async function kF(e){let{data:t}=await fF.get(`/public/sites/${encodeURIComponent(QC)}/${e}`);return(e===`categories`?nF:rF).array().parse(t)}var AF=(e,t)=>{let n=(0,w.c)(10),r;n[0]!==t||n[1]!==e?(r=pF.adminPosts(e,t),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;n[3]!==t||n[4]!==e?(i=()=>gF(e,t),n[3]=t,n[4]=e,n[5]=i):i=n[5];let a=dF&&e>0,o;return n[6]!==r||n[7]!==i||n[8]!==a?(o={queryKey:r,queryFn:i,enabled:a},n[6]=r,n[7]=i,n[8]=a,n[9]=o):o=n[9],Jo(o)},jF=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=pF.stats(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>vF(e),t[2]=e,t[3]=r);let i=dF&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i,retry:!1},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)},MF=(e,t)=>{let n=(0,w.c)(10),r;n[0]!==t||n[1]!==e?(r=pF.adminPost(e,t),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;n[3]!==t||n[4]!==e?(i=()=>_F(e,t),n[3]=t,n[4]=e,n[5]=i):i=n[5];let a=dF&&e>0&&t>0,o;return n[6]!==r||n[7]!==i||n[8]!==a?(o={queryKey:r,queryFn:i,enabled:a},n[6]=r,n[7]=i,n[8]=a,n[9]=o):o=n[9],Jo(o)},NF=(e,t)=>{let n=(0,w.c)(10),r;n[0]!==t||n[1]!==e?(r=pF.terms(e,t),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;n[3]!==t||n[4]!==e?(i=()=>CF(e,t),n[3]=t,n[4]=e,n[5]=i):i=n[5];let a=dF&&e>0,o;return n[6]!==r||n[7]!==i||n[8]!==a?(o={queryKey:r,queryFn:i,enabled:a},n[6]=r,n[7]=i,n[8]=a,n[9]=o):o=n[9],Jo(o)};function PF(e,t){let n=(0,w.c)(10),r=No(),i;n[0]!==t||n[1]!==e?(i=n=>wF(e,t,n),n[0]=t,n[1]=e,n[2]=i):i=n[2];let a;n[3]!==t||n[4]!==r||n[5]!==e?(a=n=>r.setQueryData(pF.terms(e,t),e=>[...e??[],n].toSorted(FF)),n[3]=t,n[4]=r,n[5]=e,n[6]=a):a=n[6];let o;return n[7]!==i||n[8]!==a?(o={mutationFn:i,onSuccess:a},n[7]=i,n[8]=a,n[9]=o):o=n[9],Yo(o)}function FF(e,t){return e.name.localeCompare(t.name)}function IF(e,t){let n=(0,w.c)(10),r=No(),i;n[0]!==t||n[1]!==e?(i=n=>{let{id:r,patch:i}=n;return TF(e,t,r,i)},n[0]=t,n[1]=e,n[2]=i):i=n[2];let a;n[3]!==t||n[4]!==r||n[5]!==e?(a=n=>r.setQueryData(pF.terms(e,t),e=>(e??[]).map(e=>e.id===n.id?n:e).toSorted(LF)),n[3]=t,n[4]=r,n[5]=e,n[6]=a):a=n[6];let o;return n[7]!==i||n[8]!==a?(o={mutationFn:i,onSuccess:a},n[7]=i,n[8]=a,n[9]=o):o=n[9],Yo(o)}function LF(e,t){return e.name.localeCompare(t.name)}function RF(e,t){let n=(0,w.c)(10),r=No(),i;n[0]!==t||n[1]!==e?(i=n=>EF(e,t,n),n[0]=t,n[1]=e,n[2]=i):i=n[2];let a;n[3]!==t||n[4]!==r||n[5]!==e?(a=(n,i)=>r.setQueryData(pF.terms(e,t),e=>(e??[]).filter(e=>e.id!==i)),n[3]=t,n[4]=r,n[5]=e,n[6]=a):a=n[6];let o;return n[7]!==i||n[8]!==a?(o={mutationFn:i,onSuccess:a},n[7]=i,n[8]=a,n[9]=o):o=n[9],Yo(o)}function zF(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>{let{postId:n,status:r}=t;return yF(e,n,r)},t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=()=>n.invalidateQueries({queryKey:[`blog`,`admin`,e]}),t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}function BF(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>SF(e,t),t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=()=>n.invalidateQueries({queryKey:[`blog`,`admin`,e]}),t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}function VF(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>bF(e,t),t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=t=>{n.setQueryData(pF.adminPost(e,t.id),t),n.invalidateQueries({queryKey:[`blog`,`admin`,e,`posts`]})},t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}function HF(e,t){let n=(0,w.c)(10),r=No(),i;n[0]!==t||n[1]!==e?(i=n=>
92xF(e,t,n),n[0]=t,n[1]=e,n[2]=i):i=n[2];let a;n[3]!==t||n[4]!==r||n[5]!==e?(a=n=>{r.setQueryData(pF.adminPost(e,t),n),r.invalidateQueries({queryKey:[`blog`,`admin`,e,`posts`]})},n[3]=t,n[4]=r,n[5]=e,n[6]=a):a=n[6];let o;return n[7]!==i||n[8]!==a?(o={mutationFn:i,onSuccess:a},n[7]=i,n[8]=a,n[9]=o):o=n[9],Yo(o)}var UF=e=>{let t=(0,w.c)(7),n;t[0]===e?n=t[1]:(n=pF.publicPosts(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>DF(e),t[2]=e,t[3]=r);let i;return t[4]!==n||t[5]!==r?(i={queryKey:n,queryFn:r,enabled:dF&&!!QC},t[4]=n,t[5]=r,t[6]=i):i=t[6],Jo(i)},WF=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=pF.publicPost(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>OF(e),t[2]=e,t[3]=r);let i=dF&&!!(QC&&e),a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)},GF=e=>{let t=(0,w.c)(7),n;t[0]===e?n=t[1]:(n=pF.publicTerms(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>kF(e),t[2]=e,t[3]=r);let i;return t[4]!==n||t[5]!==r?(i={queryKey:n,queryFn:r,enabled:dF&&!!QC},t[4]=n,t[5]=r,t[6]=i):i=t[6],Jo(i)};function KF(e){let t=new URLSearchParams(e),n=t.get(`page`),r=Math.max(1,Number.parseInt(n||`1`,10)||1),i=e=>t.get(e)?.trim()||void 0;return{page:r,offset:t.has(`offset`)?Math.max(0,Number.parseInt(t.get(`offset`)||`0`,10)||0):void 0,category:i(`category`),tag:i(`tag`),excludeCategory:i(`excludeCategory`),excludeTag:i(`excludeTag`),q:i(`q`)}}function qF(e){return e.featuredImageThumbUrl||e.featuredImageUrl}function JF(e){let t=(0,w.c)(19),{icon:n,size:r,className:i}=e,a=r===void 0?16:r,o;t[0]!==i||t[1]!==a?(o={width:a,height:a,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":!0,className:i},t[0]=i,t[1]=a,t[2]=o):o=t[2];let s=o;switch(n){case`instagram`:{let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,U.jsx)(`path`,{d:`M12 2c2.72 0 3.06.01 4.12.06 1.06.05 1.79.22 2.43.47.66.26 1.22.6 1.77 1.15.55.55.9 1.11 1.15 1.77.25.64.42 1.37.47 2.43.05 1.06.06 1.4.06 4.12s-.01 3.06-.06 4.12c-.05 1.06-.22 1.79-.47 2.43a4.9 4.9 0 0 1-1.15 1.77 4.9 4.9 0 0 1-1.77 1.15c-.64.25-1.37.42-2.43.47-1.06.05-1.4.06-4.12.06s-3.06-.01-4.12-.06c-1.06-.05-1.79-.22-2.43-.47a4.9 4.9 0 0 1-1.77-1.15 4.9 4.9 0 0 1-1.15-1.77c-.25-.64-.42-1.37-.47-2.43C2.01 15.06 2 14.72 2 12s.01-3.06.06-4.12c.05-1.06.22-1.79.47-2.43.26-.66.6-1.22 1.15-1.77A4.9 4.9 0 0 1 5.45 2.53c.64-.25 1.37-.42 2.43-.47C8.94 2.01 9.28 2 12 2zm0 1.8c-2.67 0-2.99.01-4.04.06-.87.04-1.34.18-1.65.3-.42.16-.71.35-1.02.66-.31.31-.5.6-.66 1.02-.12.31-.26.78-.3 1.65C4.28 8.53 4.27 8.85 4.27 12s.01 3.47.06 4.51c.04.87.18 1.34.3 1.65.16.42.35.71.66 1.02.31.31.6.5 1.02.66.31.12.78.26 1.65.3 1.05.05 1.37.06 4.04.06s2.99-.01 4.04-.06c.87-.04 1.34-.18 1.65-.3.42-.16.71-.35 1.02-.66.31-.31.5-.6.66-1.02.12-.31.26-.78.3-1.65.05-1.04.06-1.36.06-4.51s-.01-3.47-.06-4.51c-.04-.87-.18-1.34-.3-1.65a2.74 2.74 0 0 0-.66-1.02 2.74 2.74 0 0 0-1.02-.66c-.31-.12-.78-.26-1.65-.3C14.99 3.81 14.67 3.8 12 3.8zm0 3.05a5.15 5.15 0 1 1 0 10.3 5.15 5.15 0 0 1 0-10.3zm0 1.8a3.35 3.35 0 1 0 0 6.7 3.35 3.35 0 0 0 0-6.7zm5.35-1.99a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4z`}),t[3]=e):e=t[3];let n;return t[4]===s?n=t[5]:(n=(0,U.jsx)(`svg`,{...s,children:e}),t[4]=s,t[5]=n),n}case`twitter`:{let e;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,U.jsx)(`path`,{d:`M18.9 2.5h3.2l-7 8 8.2 11h-6.4l-5-6.5-5.7 6.5H2l7.5-8.6L1.6 2.5H8.2l4.5 6 6.2-6zm-1.1 17.1h1.8L7.3 4.3H5.4l12.4 15.3z`}),t[6]=e):e=t[6];let n;return t[7]===s?n=t[8]:(n=(0,U.jsx)(`svg`,{...s,children:e}),t[7]=s,t[8]=n),n}case`facebook`:{let e;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,U.jsx)(`path`,{d:`M13.5 21v-8h2.7l.4-3.2h-3.1V7.7c0-.9.3-1.6 1.6-1.6h1.7V3.2C16.5 3.1 15.4 3 14.2 3c-2.5 0-4.2 1.5-4.2 4.4v2.4H7.3v3.2H10v8h3.5z`}),t[9]=e):e=t[9];let n;return t[10]===s?n=t[11]:(n=(0,U.jsx)(`svg`,{...s,children:e}),t[10]=s,t[11]=n),n}case`youtube`:{let e;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,U.jsx)(`path`,{d:`M21.6 7.2s-.2-1.5-.8-2.1c-.8-.8-1.7-.8-2.1-.9C15.9 4 12 4 12 4s-3.9 0-6.7.2c-.4.1-1.3.1-2.1.9-.6.6-.8 2.1-.8 2.1S2.2 9 2.2 10.7v1.6c0 1.7.2 3.5.2 3.5s.2 1.5.8 2.1c.8.8 1.9.8 2.4.9 1.7.2 7.4.2 7.4.2s3.9 0 6.7-.2c.4-.1 1.3-.1 2.1-.9.6-.6.8-2.1.8-2.1s.2-1.7.2-3.5v-1.6c0-1.7-.2-3.5-.2-3.5zM9.9 14.6V8.9l5.4 2.9-5.4 2.8z`}),t[12]=e):e=t[12];let n;return t[13]===s?n=t[14]:(n=(0,U.jsx)(`svg`,{...s,children:e}),t[13]=s,t[14]=n),n}case`website`:{let e,n;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,U.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),n=(0,U.jsx)(`path`,{d:`M3 12h18M12 3c2.5 2.5 3.8 5.6 3.8 9s-1.3 6.5-3.8 9c-2.5-2.5-3.8-5.6-3.8-9S9.5 5.5 12 3z`}),t[15]=e,t[16]=n):(e=t[15],n=t[16]);let r;return t[17]===s?r=t[18]:(r=(0,U.jsxs)(`svg`,{...s,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,children:[e,n]}),t[17]=s,t[18]=r),r}}}var YF=[{label:`Ver todos los artÃculos`,category:`VLR`},{label:`Comunicación Alternativa`,category:`Comunicación Alternativa`},{label:`Medios de Comunicación`,category:`Medios de Comunicación`},{label:`Nuevas TecnologÃas`,category:`Nuevas TecnologÃas`},{label:`Gestión de Radios Comunitarias`,category:`Gestión de Radios Comunitarias`}];function XF(e){return e.normalize(`NFD`).replace(/[\u0300-\u036f]/g,``).trim().toLocaleLowerCase(`es`)}var ZF=new Set([`VLR`,`Destacado`,`Uncategorized`,`Comunicación Alternativa`,`Medios de Comunicación`,`Nuevas TecnologÃas`,`Gestión de Radios Comunitarias`].map(XF));function QF(e){return XF(e).replace(/[^a-z0-9]+/g,`-`).replace(/^-|-$/g,``)}var $F=[{to:`/`,label:`Home`,exact:!0},{to:`/quienes-somos`,label:`Quiénes Somos`},{label:`Noticias`,newsMenu:!0},{to:`/radio`,label:`Radio`},{to:`/talleres`,label:`Talleres`},{to:`/podcasts`,label:`Podcasts`},{to:`/discos`,label:`Discos`},{label:`Archivo`,archiveMenu:!0},{to:`https://www.instagram.com/tribu.mostra`,label:`Bar`,external:!0}],eI=[{to:`/`,label:`Home`,exact:!0},{to:`/quienes-somos`,label:`Quiénes Somos`},{label:`Noticias`,newsMenu:!0},{to:`/radio`,label:`Radio`},{to:`/talleres`,label:`Talleres`},{to:`/podcasts`,label:`Podcasts`},{to:`/podcasts#estudio`,label:`Estudio Grabación`,sub:!0},{to:`/discos`,label:`Discos`},{label:`Archivo`,archiveMenu:!0},{to:`https://www.instagram.com/tribu.mostra`,label:`Bar`,external:!0}];function tI(e){return[`text-[11px] font-[800] tracking-[0.18em] uppercase transition-colors duration-150 whitespace-nowrap py-1 border-b-2`,e?`border-[var(--ink-primary)] text-[var(--ink-primary)]`:`border-transparent text-[var(--ink-muted)] hover:text-[var(--ink-primary)]`].join(` `)}function nI(){let e=(0,w.c)(22),t=GF(`categories`).data??[],n=t.filter(uI),r=e=>{let n=t.find(t=>XF(t.name)===XF(e));return`/noticias?category=${encodeURIComponent(n?.slug??QF(e))}`},[i,a]=(0,S.useState)(!1),[o,s]=(0,S.useState)(null),[c,l]=(0,S.useState)(!1),[u,d]=(0,S.useState)(null),f=(0,S.useRef)(null),p=(0,S.useRef)(null),m,h;e[0]===i?(m=e[1],h=e[2]):(m=()=>{if(!i)return;let e=function(e){let t=e.target;f.current?.contains(t)||p.current?.contains(t)||(a(!1),s(null),l(!1))};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},h=[i],e[0]=i,e[1]=m,e[2]=h),(0,S.useEffect)(m,h);let g,_;e[3]===i?(g=e[4],_=e[5]):(g=()=>{i||(s(null),l(!1))},_=[i],e[3]=i,e[4]=g,e[5]=_),(0,S.useEffect)(g,_);let v;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(v={top:0,height:`var(--nav-h)`,background:`var(--bg-base)`,borderBottomColor:`var(--ink-primary)`,fontFamily:`var(--font-display)`},e[6]=v):v=e[6];let y;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(y={left:5},e[7]=y):y=e[7];let b;e[8]===i?b=e[9]:(b=()=>{a(lI),i&&(s(null),l(!1))},e[8]=i,e[9]=b);let x=i?`Cerrar menú`:`Abrir menú`,C;e[10]===i?C=e[11]:(C=i?(0,U.jsx)(TN,{"aria-hidden":`true`,className:`h-6 w-6`}):(0,U.jsx)(rP,{"aria-hidden":`true`,className:`h-6 w-6`}),e[10]=i,e[11]=C);let T;e[12]!==i||e[13]!==b||e[14]!==x||e[15]!==C?(T=(0,U.jsx)(`button`,{ref:p,className:`absolute top-1/2 z-10 flex min-h-11 min-w-11 -translate-y-1/2 cursor-pointer items-center justify-center transition-opacity hover:opacity-60 lg:hidden`,style:y,onClick:b,"aria-label":x,"aria-expanded":i,children:C}),e[12]=i,e[13]=b,e[14]=x,e[15]=C,e[16]=T):T=e[16];let E;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,U.jsx)($i,{to:`/`,"aria-label":`FM La Tribu, ir al inicio`,className:`absolute left-1/2 -translate-x-1/2 lg:static lg:translate-x-0 lg:flex lg:w-[136px] lg:shrink-0 lg:items-center`,children:(0,U.jsx)(`img`,{src:hl.logoTribu,alt:``,className:`h-9 w-auto object-contain lg:h-10`})}),e[17]=E):E=e[17];let D;e[18]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,U.jsx)(`div`,{className:`hidden lg:flex items-center gap-2 shrink-0`,children:gN.map(sI)}),e[18]=D):D=e[18];let O=uv,k=i&&(0,U.jsxs)(ob.div,{ref:f,initial:{x:`-100%`},animate:{x:0},exit:{x:`-100%`},transition:{type:`spring`,damping:28,stiffness:260},className:`fixed inset-x-0 z-[90] flex w-full flex-col gap-6 overflow-y-auto border-b-2 p-6 lg:hidden`,style:{to
92p:`var(--nav-h)`,bottom:0,left:0,right:0,width:`100vw`,background:`var(--bg-base)`,borderBottomColor:`var(--ink-primary)`},children:[(0,U.jsx)(`div`,{className:`flex flex-col gap-0.5`,children:eI.map(e=>e.newsMenu?(0,U.jsxs)(`div`,{className:`border-y border-ink-rule py-1`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>s(oI),"aria-expanded":o===`news`,className:`flex min-h-11 w-full items-center justify-between px-3 py-2 text-left text-[11px] font-[900] uppercase tracking-[0.18em] text-ink-primary`,children:[`Noticias`,(0,U.jsx)(LP,{"aria-hidden":`true`,className:`h-4 w-4 transition-transform ${o===`news`?`rotate-180`:``}`})]}),o===`news`&&(0,U.jsxs)(`div`,{children:[(0,U.jsx)(ea,{to:`/noticias`,onClick:()=>a(!1),className:`block min-h-11 px-6 py-3 text-[10px] font-[800] uppercase tracking-[0.14em] text-ink-muted hover:text-ink-primary`,children:`Ver todas las noticias`}),n.map(e=>(0,U.jsx)(ea,{to:`/noticias?category=${encodeURIComponent(e.slug)}`,onClick:()=>a(!1),className:`block min-h-11 px-6 py-3 text-[10px] font-[800] uppercase tracking-[0.14em] text-ink-muted hover:text-ink-primary`,children:e.name},e.slug))]})]},e.label):e.archiveMenu?(0,U.jsxs)(`div`,{className:`border-y border-ink-rule py-1`,children:[(0,U.jsxs)(`button`,{type:`button`,onClick:()=>s(aI),"aria-expanded":o===`archive`,className:`flex min-h-11 w-full items-center justify-between px-3 py-2 text-left text-[11px] font-[900] uppercase tracking-[0.18em] text-ink-primary`,children:[`Archivo`,(0,U.jsx)(LP,{"aria-hidden":`true`,className:`h-4 w-4 transition-transform ${o===`archive`?`rotate-180`:``}`})]}),o===`archive`&&(0,U.jsxs)(`div`,{children:[(0,U.jsx)(ea,{to:`/archivo-sonoro`,onClick:()=>a(!1),className:`block min-h-11 px-6 py-3 text-[10px] font-[800] uppercase tracking-[0.14em] text-ink-muted hover:text-ink-primary`,children:`Archivo Sonoro`}),(0,U.jsxs)(`button`,{type:`button`,onClick:()=>l(iI),"aria-expanded":c,className:`flex min-h-11 w-full items-center justify-between px-6 py-3 text-left text-[10px] font-[900] uppercase tracking-[0.14em] text-ink-primary`,children:[`Viva la Radio`,(0,U.jsx)(LP,{"aria-hidden":`true`,className:`h-4 w-4 transition-transform ${c?`rotate-180`:``}`})]}),c&&YF.map(e=>(0,U.jsx)(ea,{to:r(e.category),onClick:()=>a(!1),className:`block min-h-11 px-9 py-3 text-[10px] font-[800] uppercase tracking-[0.12em] text-ink-muted hover:text-ink-primary`,children:e.label},e.label))]})]},e.label):e.external?(0,U.jsxs)(`a`,{href:e.to,target:`_blank`,rel:`noreferrer`,className:`text-link-muted px-3 py-2.5 text-[11px] font-[800] tracking-[0.18em] uppercase border-l-2 border-transparent transition-colors`,children:[e.label,` â`]},e.label):(0,U.jsx)(ea,{to:e.to,end:e.exact,onClick:()=>a(!1),className:t=>{let{isActive:n}=t;return[`text-[11px] font-[800] tracking-[0.18em] uppercase transition-colors border-l-2`,e.sub?`pl-6 pr-3 py-2 text-[10px]`:`px-3 py-2.5`,n?`border-[var(--brand-blue)] text-[var(--ink-primary)]`:`border-transparent text-[var(--ink-muted)] hover:text-[var(--ink-primary)]`].join(` `)},children:e.label},e.label))}),(0,U.jsx)(`div`,{className:`mt-auto flex items-center gap-2`,children:gN.map(rI)})]},`menu-panel`),A;return e[19]!==O||e[20]!==k?(A=(0,U.jsx)(O,{children:k}),e[19]=O,e[20]=k,e[21]=A):A=e[21],(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(`nav`,{className:`sticky z-[100] border-b-2`,style:v,children:[T,(0,U.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 h-full flex items-center gap-6`,children:[E,(0,U.jsx)(`div`,{className:`hidden lg:flex items-center justify-center gap-5 flex-1 overflow-visible`,children:$F.map(e=>e.newsMenu?(0,U.jsxs)(`div`,{className:`relative flex self-stretch items-center`,onMouseEnter:()=>d(`news`),onMouseLeave:()=>d(null),onFocusCapture:()=>d(`news`),onBlurCapture:e=>{e.currentTarget.contains(e.relatedTarget)||d(null)},children:[(0,U.jsx)(`span`,{tabIndex:0,"aria-haspopup":`menu`,className:`cursor-default whitespace-nowrap border-b-2 border-transparent py-1 text-[11px] font-[800] uppercase tracking-[0.18em] text-[var(--ink-primary)] outline-none`,children:`Noticias`}),(0,U.jsx)(`div`,{className:`${u===`news`?`visible opacity-100`:`invisible opacity-0`} absolute left-1/2 top-full z-[110] min-w-64 -translate-x-1/2 pt-2 transition-[opacity,visibility] duration-150`,children:(0,U.jsxs)(`div`,{role:`menu`,"aria-label":`CategorÃas de noticias`,className:`border border-ink-rule bg-bg-base p-2 shadow-lg`,children:[(0,U.jsx)(ea,{to:`/noticias`,onClick:()=>d(null),role:`menuitem`,className:`block min-h-11 px-3 py-3 text-[11px] font-[900] uppercase tracking-[0.12em] text-ink-primary hover:bg-bg-surface`,children:`Ver todas las noticias`}),n.map(e=>(0,U.jsx)(ea,{to:`/noticias?category=${encodeURIComponent(e.slug)}`,onClick:()=>d(null),role:`menuitem`,className:`block min-h-11 border-t border-ink-rule px-3 py-3 text-[11px] font-[800] uppercase tracking-[0.12em] text-ink-muted hover:bg-bg-surface hover:text-ink-primary`,children:e.name},e.slug))]})})]},e.label):e.archiveMenu?(0,U.jsxs)(`div`,{className:`relative flex self-stretch items-center`,onMouseEnter:()=>d(`archive`),onMouseLeave:()=>d(null),onFocusCapture:()=>d(`archive`),onBlurCapture:e=>{e.currentTarget.contains(e.relatedTarget)||d(null)},children:[(0,U.jsx)(`span`,{tabIndex:0,"aria-haspopup":`menu`,className:`curs
92or-default whitespace-nowrap border-b-2 border-transparent py-1 text-[11px] font-[800] uppercase tracking-[0.18em] text-[var(--ink-primary)] outline-none`,children:`Archivo`}),(0,U.jsx)(`div`,{className:`${u===`archive`?`visible opacity-100`:`invisible opacity-0`} absolute left-1/2 top-full z-[110] min-w-64 -translate-x-1/2 pt-2 transition-[opacity,visibility] duration-150`,children:(0,U.jsxs)(`div`,{role:`menu`,"aria-label":`Archivo`,className:`border border-ink-rule bg-bg-base p-2 shadow-lg`,children:[(0,U.jsx)(ea,{to:`/archivo-sonoro`,onClick:()=>d(null),role:`menuitem`,className:`block min-h-11 px-3 py-3 text-[11px] font-[800] uppercase tracking-[0.12em] text-ink-muted hover:bg-bg-surface hover:text-ink-primary`,children:`Archivo Sonoro`}),(0,U.jsxs)(`div`,{className:`group/viva relative border-t border-ink-rule`,children:[(0,U.jsxs)(`span`,{tabIndex:0,"aria-haspopup":`menu`,className:`flex min-h-11 cursor-default items-center justify-between px-3 py-3 text-[11px] font-[800] uppercase tracking-[0.12em] text-ink-primary outline-none group-hover/viva:bg-bg-surface group-focus-within/viva:bg-bg-surface`,children:[`Viva la Radio `,(0,U.jsx)(`span`,{"aria-hidden":`true`,children:`âº`})]}),(0,U.jsx)(`div`,{className:`invisible absolute left-full top-0 z-[120] min-w-72 pl-2 opacity-0 transition-[opacity,visibility] duration-150 group-hover/viva:visible group-hover/viva:opacity-100 group-focus-within/viva:visible group-focus-within/viva:opacity-100`,children:(0,U.jsx)(`div`,{role:`menu`,"aria-label":`Viva la Radio`,className:`border border-ink-rule bg-bg-base p-2 shadow-lg`,children:YF.map(e=>(0,U.jsx)(ea,{to:r(e.category),onClick:()=>d(null),role:`menuitem`,className:`block min-h-11 border-b border-ink-rule px-3 py-3 text-[11px] font-[800] uppercase tracking-[0.1em] text-ink-muted last:border-b-0 hover:bg-bg-surface hover:text-ink-primary`,children:e.label},e.label))})})]})]})})]},e.label):e.external?(0,U.jsx)(`a`,{href:e.to,target:`_blank`,rel:`noreferrer`,className:`text-[11px] font-[800] tracking-[0.18em] uppercase border-b-2 border-transparent text-[var(--ink-muted)] hover:text-[var(--ink-primary)] transition-colors whitespace-nowrap py-1`,children:e.label},e.to):(0,U.jsx)(ea,{to:e.to,end:e.exact,className:cI,children:e.label},e.to))}),D]})]}),A]})}function rI(e){return(0,U.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noreferrer`,"aria-label":e.fullLabel,className:`w-7 h-7 flex items-center justify-center border`,style:{borderColor:`var(--ink-rule)`,color:`var(--ink-muted)`},children:(0,U.jsx)(JF,{icon:e.icon,size:14})},e.icon)}function iI(e){return!e}function aI(e){return e===`archive`?null:`archive`}function oI(e){return e===`news`?null:`news`}function sI(e){return(0,U.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noreferrer`,"aria-label":e.fullLabel,className:`nav-social-link w-7 h-7 flex items-center justify-center border transition-colors`,children:(0,U.jsx)(JF,{icon:e.icon,size:14})},e.icon)}function cI(e){let{isActive:t}=e;return tI(t)}function lI(e){return!e}function uI(e){return!ZF.has(XF(e.name))}var dI=[{to:`/`,label:`Inicio`},{to:`/quienes-somos`,label:`Quiénes Somos`},{to:fN,label:`Noticias`},{to:`/radio`,label:`Radio`},{to:`/talleres`,label:`Talleres`},{to:`/podcasts`,label:`Podcasts`},{to:`/discos`,label:`Discos`},{to:pN,label:`Archivo`},{to:`https://www.instagram.com/tribu.mostra`,label:`Bar`,external:!0}];function fI(e){let t=(0,w.c)(3),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={fontFamily:`var(--font-display)`,color:`var(--ink-primary)`},t[0]=r):r=t[0];let i;return t[1]===n?i=t[2]:(i=(0,U.jsx)(`h3`,{className:`mb-3 text-[10px] font-[800] uppercase tracking-[0.25em]`,style:r,children:n}),t[1]=n,t[2]=i),i}function pI(){let e=(0,w.c)(17),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={background:`var(--bg-raised)`,borderTopColor:`var(--ink-primary)`},e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsx)(fI,{children:`Sitio`}),e[1]=n):n=e[1];let r,i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsxs)(`div`,{children:[n,(0,U.jsx)(`ul`,{className:`flex flex-col gap-1.5`,children:dI.map(hI)})]}),i=(0,U.jsx)(fI,{children:`Contacto`}),e[2]=r,e[3]=i):(r=e[2],i=e[3]);let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a={fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},e[4]=a):a=e[4];let o;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsxs)(`li`,{className:`flex items-start gap-2`,children:[(0,U.jsx)(xb,{"aria-hidden":`true`,className:`mt-0.5 h-4 w-4 shrink-0`}),(0,U.jsx)(`a`,{href:`https://wa.me/5491131260887`,className:`footer-link transition-colors`,children:`WhatsApp: 11 3126-0887`})]}),e[5]=o):o=e[5];let s;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,U.jsxs)(`li`,{className:`flex items-start gap-2`,children:[(0,U.jsx)(Cb,{"aria-hidden":`true`,className:`mt-0.5 h-4 w-4 shrink-0`}),(0,U.jsx)(`span`,{children:`Teléfonos: 4866-1095 · 4864-0489`})]}),e[6]=s):s=e[6];let c,l;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,U.jsxs)(`div`,{children:[i,(0,U.jsxs)(`ul`,{className:`flex flex-col gap-1.5`,style:a,children:[o,s,(0,U.jsxs)(`li`,{className:`flex items-start gap-2`,children:[(0,U.jsx)(wb,{"aria-hidden":`true`,className:`mt-0.5 h-4 w-4 shrink-0`}),(0,U.jsx)(`a`,{href:`https://maps.google.com/?q=Lambaré+873+Buenos+Aires`,target:`_blank`,rel:`noreferrer`,className:`footer-link transition-colors`,children:`Lambaré 873, Almagro, CABA`})]})]})]}),l=(0,U.jsx)(fI,{children:`Redes`}),e[7]=c,e[8]=l):(c=e[7],l=e[8]);let u;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,U.jsxs)(`div`,{children:[l,(0,U.jsx)(`div`,{className:`flex flex-row items-center gap-3 lg:flex-col lg:items-start`,children:gN.map(mI)})]}),e[9]=u):u=e[9];let d;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,U.jsx)(`img`,{src:hl.logoTribu,alt:`FM La Tribu 88.7`,className:`h-14 w-auto`}),e[10]=d):d=e[10];let f;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,U.jsx)(`a`,{href:mN,target:`_blank`,rel:`noreferrer`,className:`footer-link-accent inline-block text-xs font-[800] uppercase tracking-[0.15em] transition-colors`,style:{fontFamily:`var(--font-display)`},children:`⥠Colaborá con la radio`}),e[11]=f):f=e[11];let p;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,U.jsxs)(`div`,{className:`max-w-7xl mx-auto grid grid-cols-1 gap-x-8 gap-y-10 px-4 py-12 text-sm sm:grid-cols-2 lg:grid-cols-4 lg:gap-x-10`,children:[r,c,u,(0,U.jsxs)(`div`,{className:`flex flex-col items-start gap-6 sm:items-end sm:text-right lg:items-center lg:text-center`,children:[d,f,(0,U.jsx)(`a`,{href:`https://www.instagram.com/amarc.argentina/`,target:`_blank`,rel:`noreferrer`,"aria-label":`Miembro AMARC Argentina`,children:(0,U.jsx)(`img`,{src:`/branding/amarcarg.webp`,alt:`Miembro AMARC Argentina`,className:`h-8 w-auto`})})]})]}),e[12]=p):p=e[12];let m;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,U.jsx)(`span`,{className:`text-xs`,style:{fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},children:`© FM La Tribu 88.7`}),e[13]=m):m=e[13];let h;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,U.jsxs)(`div`,{className:`px-4 py-4 flex flex-col md:flex-row items-center justify-between gap-2`,children:[m,(0,U.jsx)(`span`,{className:`text-xs`,style:{fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},children:`La comunicación como bien social`})]}),e[14]=h):h=e[14];let g;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(g={borderTopColor:`var(--ink-rule)`},e[15]=g):g=e[15];let _;return e[16]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,U.jsxs)(`footer`,{className:`mt-16 border-t-4`,style:t,children:[p,h,(0,U.jsx)(`div`,{className:`border-t px-4 py-4 flex items-center justify-center`,style:g,children:(0,U.jsxs)(`a`,{href:`https://zeclogic.net.ar/`,target:`_blank`,rel:`noreferrer`,className:`footer-link flex items-center gap-2 transition-colors`,children:[(0,U.jsx)(`span`,{className:`text-xs`,style:{fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},children:`Desarrollo y mantenimiento por`}),(0,U.jsx)(`img`,{src:`/branding/isotipo-zec-sin-fondo.webp`,alt:`zecLogic Informática`,className:`h-[26px] w-auto`})]})})]}),e[16]=_):_=e[16],_}function mI(e){return(0,U.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noreferrer`,"aria-label":e.fullLabel,className:`nav-social-link flex h-11 w-11 items-center justify-center border transition-colors lg:h-[2.625rem] lg:w-[2.625rem]`,children:(0,U.jsx)(JF,{icon:e.icon,size:21})},e.icon)}function hI(e){return(0,U.jsx)(`li`,{children:e.external?(0,U.jsx)(`a`,{href:e.to,target:`_blank`,rel:`noreferrer`,className:`footer-link transition-colors`,children:e.label}):(0,U.jsx)($i,{to:e.to,className:`footer-link transition-colors`,children:e.label})},e.label)}function gI(){let e=(0,w.c)(5),{hash:t,pathname:n}=dr(),r;e[0]===t?r=e[1]:(r=()=>{if(!t){window.scrollTo({top:0,left:0,behavior:`instant`});return}let e=t.slice(1),n=0,r=()=>{let t=document.getElementById(e);if(t){t.scrollIntoView({behavior:`smooth`,block:`start`});return}n+=1,n<20&&setTimeout(r,50)};r()},e[0]=t,e[1]=r);let i;e[2]!==t||e[3]!==n?(i=[t,n],e[2]=t,e[3]=n,e[4]=i):i=e[4],(0,S.useEffect)(r,i)}function _I(){let e=(0,w.c)(8);gI();let{pathname:t}=dr(),n=t===`/`,r,i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)(SN,{}),i=(0,U.jsx)(nI,{}),e[0]=r,e[1]=i):(r=e[0],i=e[1]);let a=n?void 0:`page-content`,o;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsx)(ri,{}),e[2]=o):o=e[2];let s;e[3]===a?s=e[4]:(s=(0,U.jsx)(`main`,{className:a,children:o}),e[3]=a,e[4]=s);let c;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,U.jsx)(pI,{}),e[5]=c):c=e[5];let l;return e[6]===s?l=e[7]:(l=(0,U.jsxs)(`div`,{className:`public-site`,children:[r,i,s,c]}),e[6]=s,e[7]=l),l}function vI(e,t){let n=(0,w.c)(4),r,i;n[0]!==t||n[1]!==e?(r=()=>{let n=document.title;document.title=e;let r=document.querySelector(`meta[name="description"]`),i=!r,a=r?.getAttribute(`content`)??null;return t&&(r||(r=document.createElement(`meta`),r.name=`description`,document.head.append(r)),r.setAttribute(`content`,t)),()=>{document.title=n,t&&(i?r?.remove():a!==null&&r?.setAttribute(`content`,a))}},i=[e,t],n[0]=t,n[1]=e,n[2]=r,n[3]=i):(r=n[2],i=n[3]),(0,S.useEffect)(r,i)}var yI={lessThanXSeconds:{one:`menos de un segundo`,other:`menos de {{count}} segundos`},xSeconds:{one:`1 segundo`,other:`{{count}} segundos`},halfAMinute:`medio minuto`,lessThanXMinutes:{one:`menos de un minuto`,other:`menos de {{count}} minutos`},xMinutes:{one:`1 minuto`,other:`{{count}} minutos`},aboutXHours:{one:`alrededor de 1 hora`,other:`alrededor de {{count}} horas`},xHours:{one:`1 hora`,other:`{{count}} horas`},xDays:{one:`1 dÃa`,other:`{{count}} dÃas`},aboutXWeeks:{one:`alrededor de 1 semana`,other:`alrededor de {{count}} semanas`},xWeeks:{one:`1 semana`,other:`{{count}} semanas`},aboutXMonths:{one:`alrededor de 1 mes`,other:`alrededor de {{count}} meses`},xMonths:{one:`1 mes`,other:`{{count}} meses`},aboutXYears:{one:`alrededor de 1 año`,other:`alrededor de {{count}} años`},xYears:{one:`1 año`,other:`{{count}} años`},overXYears:{one:`más de 1 año`,other:`más de {{count}} años`},almostXYears:{one:`casi 1 año`,other:`casi {{count}} años`}},bI=(e,t,n)=>{let r,i=yI[e];return r=typeof i==`string`?i:t===1?i.one:i.other.replace(`{{count}}`,t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?`en `+r:`hace `+r:r},xI={date:vM({formats:{full:`EEEE, d 'de' MMMM 'de' y`,long:`d 'de' MMMM 'de' y`,medium:`d MMM y`,short:`dd/MM/y`},defaultWidth:`full`}),time:vM({formats:{full:`HH:mm:ss zzzz`,long:`HH:mm:ss z`,medium:`HH:mm:ss`,short:`HH:mm`},defaultWidth:`full`}),dateTime:vM({formats:{full:`{{date}} 'a las' {{time}}`,long:`{{date}} 'a las' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},SI={lastWeek:`'el' eeee 'pasado a la' p`,yesterday:`'ayer a la' p`,today:`'hoy a la' p`,tomorrow:`'mañana a la' p`,nextWeek:`eeee 'a la' p`,other:`P`},CI={lastWeek:`'el' eeee 'pasado a las' p`,yesterday:`'ayer a las' p`,today:`'hoy a las' p`,tomorrow:`'mañana a las' p`,nextWeek:`eeee 'a las' p`,other:`P`},wI={code:`es`,formatDistance:bI,formatLong:xI,formatRelative:(e,t,n,r)=>t.getHours()===1?SI[e]:CI[e],localize:{ordinalNumber:(e,t)=>Number(e)+`º`,era:SM({values:{narrow:[`AC`,`DC`],abbreviated:[`AC`,`DC`],wide:[`antes de cristo`,`después de cristo`]}
92,defaultWidth:`wide`}),quarter:SM({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`T1`,`T2`,`T3`,`T4`],wide:[`1º trimestre`,`2º trimestre`,`3º trimestre`,`4º trimestre`]},defaultWidth:`wide`,argumentCallback:e=>Number(e)-1}),month:SM({values:{narrow:[`e`,`f`,`m`,`a`,`m`,`j`,`j`,`a`,`s`,`o`,`n`,`d`],abbreviated:[`ene`,`feb`,`mar`,`abr`,`may`,`jun`,`jul`,`ago`,`sep`,`oct`,`nov`,`dic`],wide:[`enero`,`febrero`,`marzo`,`abril`,`mayo`,`junio`,`julio`,`agosto`,`septiembre`,`octubre`,`noviembre`,`diciembre`]},defaultWidth:`wide`}),day:SM({values:{narrow:[`d`,`l`,`m`,`m`,`j`,`v`,`s`],short:[`do`,`lu`,`ma`,`mi`,`ju`,`vi`,`sá`],abbreviated:[`dom`,`lun`,`mar`,`mié`,`jue`,`vie`,`sáb`],wide:[`domingo`,`lunes`,`martes`,`miércoles`,`jueves`,`viernes`,`sábado`]},defaultWidth:`wide`}),dayPeriod:SM({values:{narrow:{am:`a`,pm:`p`,midnight:`mn`,noon:`md`,morning:`mañana`,afternoon:`tarde`,evening:`tarde`,night:`noche`},abbreviated:{am:`AM`,pm:`PM`,midnight:`medianoche`,noon:`mediodia`,morning:`mañana`,afternoon:`tarde`,evening:`tarde`,night:`noche`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`medianoche`,noon:`mediodia`,morning:`mañana`,afternoon:`tarde`,evening:`tarde`,night:`noche`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mn`,noon:`md`,morning:`de la mañana`,afternoon:`de la tarde`,evening:`de la tarde`,night:`de la noche`},abbreviated:{am:`AM`,pm:`PM`,midnight:`medianoche`,noon:`mediodia`,morning:`de la mañana`,afternoon:`de la tarde`,evening:`de la tarde`,night:`de la noche`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`medianoche`,noon:`mediodia`,morning:`de la mañana`,afternoon:`de la tarde`,evening:`de la tarde`,night:`de la noche`}},defaultFormattingWidth:`wide`})},match:{ordinalNumber:DM({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:wM({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:`any`}),quarter:wM({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:wM({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:`any`}),day:wM({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:wM({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:`any`})},options:{weekStartsOn:1,firstWeekContainsDate:1}};function TI(e){let t=(0,w.c)(9),{message:n,onRetry:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},t[0]=i):i=t[0];let a;t[1]===n?a=t[2]:(a=(0,U.jsx)(`p`,{className:`text-sm mb-3`,style:i,children:n}),t[1]=n,t[2]=a);let o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o={fontFamily:`var(--font-display)`},t[3]=o):o=t[3];let s;t[4]===r?s=t[5]:(s=(0,U.jsx)(`button`,{onClick:r,className:`action-button-secondary min-h-11 cursor-pointer px-4 py-2 text-[11px] font-[800] uppercase tracking-[0.15em]`,style:o,children:`Reintentar`}),t[4]=r,t[5]=s);let c;return t[6]!==a||t[7]!==s?(c=(0,U.jsxs)(`div`,{className:`text-center py-16`,children:[a,s]}),t[6]=a,t[7]=s,t[8]=c):c=t[8],c}function EI(e){let t=(0,w.c)(5),{to:n,children:r,variant:i}=e,a=`inline-flex min-h-11 items-center justify-center px-4 py-2 text-[11px] font-[800] uppercase tracking-[0.12em] ${(i===void 0?`solid`:i)===`solid`?`action-button-primary`:`action-button-secondary`}`,o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o={fontFamily:`var(--font-display)`},t[0]=o):o=t[0];let s;return t[1]!==r||t[2]!==a||t[3]!==n?(s=(0,U.jsx)($i,{to:n,className:a,style:o,children:r}),t[1]=r,t[2]=a,t[3]=n,t[4]=s):s=t[4],s}function DI(e){let t=(0,w.c)(3),{post:n,featured:r}=e,i=r!==void 0&&r?n.featuredImageUrl??n.featuredImageThumbUrl:n.featuredImageThumbUrl??n.featuredImageUrl;if(!i){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,U.jsx)(`div`,{className:`news-image-placeholder flex h-full min-h-40 items-end p-4`,"aria-hidden":`true`,children:(0,U.jsx)(`span`,{className:`max-w-[8ch] text-xl font-[900] uppercase leading-[0.9]`,children:`La Tribu Noticias`})}),t[0]=e):e=t[0],e}let a;return t[1]===i?a=t[2]:(a=(0,U.jsx)(`img`,{src:i,alt:``,className:`h-full w-full object-cover transition duration-500 group-hover:scale-[1.02] group-hover:opacity-90`,loading:`lazy`}),t[1]=i,t[2]=a),a}function OI(e){let t=(0,w.c)(5),{post:n,featured:r}=e,i=r!==void 0&&r;if(n.categories.length===0)return null;let a=`mt-2 text-[0.6rem] font-[800] uppercase tracking-[0.12em] ${i?`text-terracotta-dial lg:text-white/75`:`text-terracotta-dial`}`,o;t[0]===n.categories?o=t[1]:(o=n.categories.map(kI).join(` · `),t[0]=n.categories,t[1]=o);let s;return t[2]!==a||t[3]!==o?(s=(0,U.jsx)(`p`,{className:a,children:o}),t[2]=a,t[3]=o,t[4]=s):s=t[4],s}function kI(e){return e.name}function AI(e){let t=(0,w.c)(20),{post:n}=e,r;t[0]===n.publishedAt?r=t[1]:(r=nN(new Date(n.publishedAt),`d 'de' MMMM yyyy`,{locale:wI}),t[0]=n.publishedAt,t[1]=r);let i=r,a=`/noticias/${encodeURIComponent(n.slug)}`,o;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(o={borderRadius:`0.625rem`},t[2]=o):o=t[2];let s;t[3]===n?s=t[4]:(s=(0,U.jsx)(`div`,{className:`min-h-0 overflow-hidden lg:absolute lg:inset-0`,style:o,children:(0,U.jsx)(DI,{post:n,featured:!0})}),t[3]=n,t[4]=s);let c;t[5]===i?c=t[6]:(c=(0,U.jsxs)(`p`,{className:`mb-2 text-[0.7rem] font-[500] text-ink-muted lg:text-white/80`,children:[`La Tribu · `,i]}),t[5]=i,t[6]=c);let l;t[7]===n.title?l=t[8]:(l=(0,U.jsx)(`h3`,{className:`max-w-[18ch] text-[clamp(1.55rem,4vw,2.45rem)] font-[900] uppercase leading-[0.98] text-ink-primary lg:text-white`,children:n.title}),t[7]=n.title,t[8]=l);let u;t[9]===n?u=t[10]:(u=(0,U.jsx)(OI,{post:n,featured:!0}),t[9]=n,t[10]=u);let d;t[11]!==c||t[12]!==l||t[13]!==u?(d=(0,U.jsxs)(`div`,{className:`relative p-4 sm:p-5 lg:absolute lg:inset-x-0 lg:bottom-0 lg:bg-[linear-gradient(transparent,rgba(16,14,12,0.94)_24%)] lg:px-7 lg:pb-7 lg:pt-20`,children:[c,l,u]}),t[11]=c,t[12]=l,t[13]=u,t[14]=d):d=t[14];let f;return t[15]!==n.title||t[16]!==a||t[17]!==s||t[18]!==d?(f=(0,U.jsxs)($i,{to:a,className:`group grid min-h-0 grid-rows-[minmax(15rem,1fr)_auto] overflow-hidden lg:relative lg:block lg:h-full`,"aria-label":n.title,children:[s,d]}),t[15]=n.title,t[16]=a,t[17]=s,t[18]=d,t[19]=f):f=t[19],f}function jI(e){let t=(0,w.c)(21),{post:n,index:r}=e,i;t[0]===n.publishedAt?i=t[1]:(i=nN(new Date(n.publishedAt),`d 'de' MMMM yyyy`,{locale:wI}),t[0]=n.publishedAt,t[1]=i);let a=i,o=`/noticias/${encodeURIComponent(n.slug)}`,s=`group grid min-h-0 grid-cols-1 gap-3 ${r===2?`hidden lg:grid`:``} lg:grid-cols-[minmax(7rem,42%)_1fr] lg:gap-4`,c;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(c={borderRadius:`0.5rem`},t[2]=c):c=t[2];let l;t[3]===n?l=t[4]:(l=(0,U.jsx)(`div`,{className:`aspect-[16/10] min-h-28 overflow-hidden bg-bg-raised lg:min-h-0`,style:c,children:(0,U.jsx)(DI,{post:n})}),t[3]=n,t[4]=l);let u;t[5]===a?u=t[6]:(u=(0,U.jsxs)(`p`,{className:`mb-1.5 text-[0.65rem] font-[500] leading-tight text-ink-muted`,children:[`La Tribu · `,a]}),t[5]=a,t[6]=u);let d;t[7]===n.title?d=t[8]:(d=(0,U.jsx)(`h3`,{className:`news-headline-link text-sm font-[700] leading-[1.2] transition-colors lg:text-[clamp(0.78rem,1.1vw,0.95rem)]`,children:n.title}),t[7]=n.title,t[8]=d);let f;t[9]===n?f=t[10]:(f=(0,U.jsx)(OI,{post:n}),t[9]=n,t[10]=f);let p;t[11]!==u||t[12]!==d||t[13]!==f?(p=(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col justify-center py-1`,children:[u,d,f]}),t[11]=u,t[12]=d,t[13]=f,t[14]=p):p=t[14];let m;return t[15]!==n.title||t[16]!==o||t[17]!==s||t[18]!==l||t[19]!==p?(m=(0,U.jsxs)($i,{to:o,className:s,"aria-label":n.title,children:[l,p]}),t[15]=n.title,t[16]=o,t[17]=s,t[18]=l,t[19]=p,t[20]=m):m=t[20],m}function MI(){let e=(0,w.c)(25),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={perPage:4,category:`destacado`,excludeCategory:`publicidad`},e[0]=t):t=e[0];let{data:n,isPending:r,isError:i,refetch:a}=UF(t),o=n?.items;if(r){let t;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`div`,{className:`bg-bg-raised`}),e[1]=t):t=e[1];let n;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsxs)(`div`,{className:`grid min-h-[34rem] animate-pulse grid-cols-1 gap-5 lg:grid-cols-[minmax(0,1.05fr)_minmax(22rem,0.95fr)]`,children:[t,(0,U.jsx)(`div`,{className:`grid grid-rows-3 gap-4`,children:Array.from({length:3}).map(PI)})]}),e[2]=n):n=e[2],n}if(i){let t;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(t={borderColor:`var(--ink-rule)`},e[3]=t):t=e[3];let n;e[4]===a?n=e[5]:(n=(0,U.jsx)(TI,{message:`No se pudieron cargar las noticias.`,onRetry:()=>a()}),e[4]=a,e[5]=n);let r;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)($i,{to:fN,className:`footer-link-accent text-[11px] font-[800] uppercase tracking-[0.15em]`,children:`Ver todas las noticias en el sitio â`}),e[6]=r):r=e[6];let i;return e[7]===n?i=e[8]:(i=(0,U.jsxs)(`div`,{className:`border p-8 text-center`,style:t,children:[n,r]}),e[7]=n,e[8]=i),i}if(!o?.length){let t;return e[9]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsxs)(`div`,{className:`border p-8 text-center`,style:{borderColor:`var(--ink-rule)`},children:[(0,U.jsx)(`p`,{className:`mb-3 text-sm font-[400] text-ink-muted`,children:`Noticias de FM La Tribu`}),(0,U.jsx)($i,{to:fN,className:`text-[11px] font-[800] uppercase tracking-[0.15em] text-text-accent`,children:`Ver todas las noticias â`})]}),e[9]=t):t=e[9],t}let s,c;e[10]===o?(s=e[11],c=e[12]):([s,...c]=o,e[10]=o,e[11]=s,e[12]=c);let l;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,U.jsxs)(`h2`,{className:`text-[clamp(1.55rem,3vw,2rem)] font-[400] leading-none text-ink-primary lg:hidden`,children:[`La Tribu `,(0,U.jsx)(`span`,{className:`font-[900]`,children:`Noticias`})]}),e[13]=l):l=e[13];let u;e[14]===s?u=e[15]:(u=(0,U.jsx)(AI,{post:s}),e[14]=s,e[15]=u);let d;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,U.jsxs)(`h2`,{className:`hidden text-[clamp(1.65rem,2.8vw,2.2rem)] font-[400] leading-none text-ink-primary lg:block`,children:[`La Tribu `,(0,U.jsx)(`span`,{className:`font-[900]`,children:`Noticias`})]}),e[16]=d):d=e[16];let f;e[17]===c?f=e[18]:(f=(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-5 lg:grid lg:grid-rows-[auto_repeat(3,minmax(0,1fr))] lg:gap-4`,children:[d,c.slice(0,3).map(NI)]}),e[17]=c,e[18]=f);let p;e[19]!==u||e[20]!==f?(p=(0,U.jsxs)(`div`,{className:`grid min-h-0 grid-cols-1 gap-7 lg:min-h-[30rem] lg:grid-cols-[minmax(0,1.05fr)_minmax(22rem,0.95fr)] lg:gap-12`,children:[u,f]}),e[19]=u,e[20]=f,e[21]=p):p=e[21];let m;e[22]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,U.jsx)(`div`,{className:`flex justify-end`,children:(0,U.jsx)(EI,{to:fN,children:`Ver todas`})}),e[22]=m):m=e[22];let h;
92return e[23]===p?h=e[24]:(h=(0,U.jsxs)(`div`,{className:`flex flex-col gap-6`,children:[l,p,m]}),e[23]=p,e[24]=h),h}function NI(e,t){return(0,U.jsx)(jI,{post:e,index:t},e.slug)}function PI(e,t){return(0,U.jsx)(`div`,{className:`bg-bg-raised`},t)}var FI=Z().url(),II=FI.nullable(),LI=aA({id:Q().int().positive(),siteId:Q().int().positive(),title:Z(),schedule:Z().nullable(),starts:Z().datetime(),ends:Z().datetime(),details:Z(),moreinfo:Z().nullable(),imageUrl:FI,thumbnailUrl:II,isActive:Zk()}),RI=rA(LI),zI=rA(aA({id:Q().int().positive(),title:Z(),schedule:Z().nullable(),starts:Z().datetime(),ends:Z().datetime(),details:Z(),moreinfo:Z().nullable(),imageUrl:FI,thumbnailUrl:II})),BI=aA({id:Q().int().positive(),siteId:Q().int().positive(),createdAt:Z().datetime(),nombre:Z(),email:Z().email(),workshops:rA(aA({workshopId:Q().int().positive(),title:Z()})),isVisto:Zk()}),VI=rA(BI),HI=aA({id:Q().int().positive(),createdAt:Z().datetime(),nombre:Z(),email:Z().email(),workshops:rA(aA({workshopId:Q().int().positive(),title:Z()}))}),UI=aA({workshops:Q().int().nonnegative(),registrations:Q().int().nonnegative()}),WI=e=>{let t=sA([Z().trim().url(e(`validation.url`)),hA(``)]),n=e=>Z().regex(/^\d{4}-\d{2}-\d{2}$/,e);return aA({title:Z().trim().min(1,e(`validation.title`)),schedule:Z(),starts:n(e(`validation.starts`)),ends:n(e(`validation.ends`)),details:Z().trim().min(1,e(`validation.details`)),moreinfo:Z(),imageUrl:Z().trim().url(e(`validation.image`)),thumbnailUrl:t,isActive:Zk()}).refine(e=>e.ends>=e.starts,{path:[`ends`],message:e(`validation.endAfterStart`)})},GI=e=>aA({nombre:Z().trim().min(1,e(`validation.name`)),email:Z().trim().email(e(`validation.email`)),workshopIds:rA(Q().int().positive()).min(1,e(`validation.workshop`)),isVisto:Zk()}),KI=Dc.workshopApiBaseUrl,qI=KI.length>0,JI=XC.create({baseURL:KI||void 0,timeout:1e4,headers:{Accept:`application/json`}});JI.interceptors.request.use(e=>{let t=tw()?.accessToken;return t&&!e.url?.startsWith(`/public/`)&&(e.headers.Authorization=`Bearer ${t}`),e}),JI.interceptors.response.use(void 0,async e=>{let t=e.config;if(e.response?.status!==401||!t||t._retried||t.url?.startsWith(`/public/`))throw e;t._retried=!0;let n=await KA();return t.headers.Authorization=`Bearer ${n.accessToken}`,JI(t)});var YI={all:[`workshop`],workshops:e=>[`workshop`,e,`workshops`],workshop:(e,t)=>[`workshop`,e,`workshop`,t],registrations:e=>[`workshop`,e,`registrations`],registration:(e,t)=>[`workshop`,e,`registration`,t],stats:e=>[`workshop`,e,`stats`],publicWorkshops:()=>[`workshop`,`public`,QC,`workshops`]};function XI(e,t){if(!XC.isAxiosError(e))return t;let n=e.response?.data?.error||t,r=e.response?.data?.causes;return r?.length?`${n}: ${r.join(`, `).replaceAll(`_`,` `)}`:n}var ZI=async(e,t)=>t((await JI.get(e)).data),QI=e=>ZI(`/sites/${e}/workshops`,RI.parse),$I=(e,t)=>ZI(`/sites/${e}/workshops/${t}`,LI.parse),eL=async(e,t)=>LI.parse((await JI.post(`/sites/${e}/workshops`,t)).data),tL=async(e,t,n)=>LI.parse((await JI.put(`/sites/${e}/workshops/${t}`,n)).data),nL=async(e,t)=>{await JI.delete(`/sites/${e}/workshops/${t}`)},rL=e=>ZI(`/sites/${e}/registrations`,VI.parse),iL=e=>ZI(`/sites/${e}/stats`,UI.parse),aL=async(e,t,n)=>BI.parse((await JI.put(`/sites/${e}/registrations/${t}`,n)).data),oL=async(e,t,n)=>BI.parse((await JI.patch(`/sites/${e}/registrations/${t}/visto`,{isVisto:n})).data),sL=async(e,t)=>{await JI.delete(`/sites/${e}/registrations/${t}`)},cL=()=>ZI(`/public/sites/${encodeURIComponent(QC)}/workshops`,zI.parse);async function lL(e){let{data:t}=await JI.post(`/public/sites/${encodeURIComponent(QC)}/registrations`,e);return HI.parse(t)}var uL=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=YI.workshops(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>QI(e),t[2]=e,t[3]=r);let i=qI&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)},dL=(e,t)=>{let n=(0,w.c)(10),r;n[0]!==t||n[1]!==e?(r=YI.workshop(e,t),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;n[3]!==t||n[4]!==e?(i=()=>$I(e,t),n[3]=t,n[4]=e,n[5]=i):i=n[5];let a=qI&&e>0&&t>0,o;return n[6]!==r||n[7]!==i||n[8]!==a?(o={queryKey:r,queryFn:i,enabled:a},n[6]=r,n[7]=i,n[8]=a,n[9]=o):o=n[9],Jo(o)},fL=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=YI.registrations(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>rL(e),t[2]=e,t[3]=r);let i=qI&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)}
92,pL=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=YI.stats(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>iL(e),t[2]=e,t[3]=r);let i=qI&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i,retry:!1},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)};function mL(e,t){let n=(0,w.c)(6),r=No(),i;n[0]!==t||n[1]!==r?(i=()=>r.invalidateQueries({queryKey:t}),n[0]=t,n[1]=r,n[2]=i):i=n[2];let a;return n[3]!==e||n[4]!==i?(a={mutationFn:e,onSuccess:i},n[3]=e,n[4]=i,n[5]=a):a=n[5],Yo(a)}var hL=e=>{let t=(0,w.c)(3),n,r;return t[0]===e?(n=t[1],r=t[2]):(n=t=>eL(e,t),r=YI.workshops(e),t[0]=e,t[1]=n,t[2]=r),mL(n,r)},gL=(e,t)=>{let n=(0,w.c)(5),r;n[0]!==t||n[1]!==e?(r=n=>tL(e,t,n),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;return n[3]===e?i=n[4]:(i=YI.workshops(e),n[3]=e,n[4]=i),mL(r,i)},_L=e=>{let t=(0,w.c)(3),n,r;return t[0]===e?(n=t[1],r=t[2]):(n=t=>nL(e,t),r=YI.workshops(e),t[0]=e,t[1]=n,t[2]=r),mL(n,r)},vL=(e,t)=>{let n=(0,w.c)(5),r;n[0]!==t||n[1]!==e?(r=n=>aL(e,t,n),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;return n[3]===e?i=n[4]:(i=YI.registrations(e),n[3]=e,n[4]=i),mL(r,i)},yL=e=>{let t=(0,w.c)(3),n,r;return t[0]===e?(n=t[1],r=t[2]):(n=t=>{let{id:n,isVisto:r}=t;return oL(e,n,r)},r=YI.registrations(e),t[0]=e,t[1]=n,t[2]=r),mL(n,r)},bL=e=>{let t=(0,w.c)(3),n,r;return t[0]===e?(n=t[1],r=t[2]):(n=t=>sL(e,t),r=YI.registrations(e),t[0]=e,t[1]=n,t[2]=r),mL(n,r)},xL=()=>{let e=(0,w.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=YI.publicWorkshops(),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n={queryKey:t,queryFn:cL,enabled:qI&&!!QC},e[1]=n):n=e[1],Jo(n)};function SL(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={mutationFn:CL},e[0]=t):t=e[0],Yo(t)}function CL(e){return lL(e)}function wL(e){let t=(0,w.c)(65),{taller:n,showInterestAction:r,variant:i,imageStatus:a}=e,o=r!==void 0&&r,s=i===void 0?`full`:i,c,l,u,d,f,p,m,h,g,_,v,y;if(t[0]!==a||t[1]!==n.ends||t[2]!==n.imageUrl||t[3]!==n.schedule||t[4]!==n.starts||t[5]!==n.title||t[6]!==s){let e=new Date(n.starts),r=new Date(n.ends);l=s===`preview`,c=ob.article,t[19]===Symbol.for(`react.memo_cache_sentinel`)?(g={opacity:1,y:0},_={opacity:[0,1],y:[16,0]},v={once:!0,amount:.2},t[19]=g,t[20]=_,t[21]=v):(g=t[19],_=t[20],v=t[21]),t[22]===Symbol.for(`react.memo_cache_sentinel`)?(y={duration:.4,ease:[.16,1,.3,1]},t[22]=y):y=t[22],u=`flex flex-col overflow-hidden border`,t[23]===Symbol.for(`react.memo_cache_sentinel`)?(d={borderColor:`var(--ink-rule)`,background:`var(--bg-surface)`,borderRadius:`0.625rem`},t[23]=d):d=t[23];let i=`relative overflow-hidden bg-[var(--bg-raised)] ${l&&a!==`loaded`?`h-56 shrink-0`:``}`,o;t[24]!==a||t[25]!==l||t[26]!==n.imageUrl||t[27]!==n.title?(o=(!l||a===`loaded`)&&(0,U.jsx)(`img`,{src:n.imageUrl,alt:n.title,className:`block h-auto w-full object-contain transition-opacity duration-300 hover:opacity-90`,loading:l?`eager`:`lazy`}),t[24]=a,t[25]=l,t[26]=n.imageUrl,t[27]=n.title,t[28]=o):o=t[28];let b;t[29]!==a||t[30]!==l?(b=l&&a===void 0&&(0,U.jsx)(`div`,{className:`absolute inset-0 animate-pulse bg-[var(--ink-rule)] opacity-35 motion-reduce:animate-none`,"aria-hidden":`true`}),t[29]=a,t[30]=l,t[31]=b):b=t[31];let x;t[32]!==a||t[33]!==l?(x=l&&a===`error`&&(0,U.jsx)(`div`,{className:`flex h-full items-center justify-center px-6 text-center text-xs font-[700] uppercase tracking-[0.1em] text-ink-muted`,children:`Imagen no disponible`}),t[32]=a,t[33]=l,t[34]=x):x=t[34],t[35]!==i||t[36]!==o||t[37]!==b||t[38]!==x?(f=(0,U.jsxs)(`div`,{className:i,children:[o,b,x]}),t[35]=i,t[36]=o,t[37]=b,t[38]=x,t[39]=f):f=t[39],p=`p-5 flex flex-col flex-1 gap-3`;let S=`leading-snug uppercase ${l?`line-clamp-2`:``}`,C;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(C={fontFamily:`var(--font-display)`,fontWeight:900,fontSize:20,color:`var(--ink-primary)`},t[40]=C):C=t[40],t[41]!==S||t[42]!==n.title?(m=(0,U.jsx)(`h3`,{className:S,style:C,children:n.title}),t[41]=S,t[42]=n.title,t[43]=m):m=t[43],h=!l&&(0,U.jsxs)(`div`,{className:`flex flex-col gap-2 text-sm`,style:{fontFamily:`var(--font-display)`,color:`var(--ink-muted)`},children:[(0,U.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,U.jsx)(Eb,{"aria-hidden":`true`,className:`mt-0.5 h-4 w-4 shrink-0`}),(0,U.jsxs)(`span`,{children:[`Desde el `,nN(e,`d 'de' MMMM 'de' yyyy`,{locale:wI}),` hasta el `,nN(r,`d 'de' MMMM 'de' yyyy`,{locale:wI})]})]}),n.schedule&&(0,U.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,U.jsx)(Tb,{"aria-hidden":`true`,className:`mt-0.5 h-4 w-4 shrink-0`}),(0,U.jsx)(`span`,{children:n.schedule})]})]}),t[0]=a,t[1]=n.ends,t[2]=n.imageUrl,t[3]=n.schedule,t[4]=n.starts,t[5]=n.title,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_,t[17]=v,t[18]=y}
92else c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16],v=t[17],y=t[18];let b;t[44]!==l||t[45]!==n.details?(b=n.details&&(0,U.jsx)(`p`,{className:`text-sm leading-relaxed ${l?`line-clamp-4`:``}`,style:{fontFamily:`var(--font-display)`,color:`var(--ink-secondary)`,lineHeight:1.65},children:n.details}),t[44]=l,t[45]=n.details,t[46]=b):b=t[46];let x;t[47]===o?x=t[48]:(x=o&&(0,U.jsx)(`div`,{className:`mt-auto pt-1`,children:(0,U.jsx)(EI,{to:`/talleres/inscripcion`,children:`ME INTERESA`})}),t[47]=o,t[48]=x);let S;t[49]!==b||t[50]!==x||t[51]!==p||t[52]!==m||t[53]!==h?(S=(0,U.jsxs)(`div`,{className:p,children:[m,h,b,x]}),t[49]=b,t[50]=x,t[51]=p,t[52]=m,t[53]=h,t[54]=S):S=t[54];let C;return t[55]!==c||t[56]!==u||t[57]!==d||t[58]!==f||t[59]!==S||t[60]!==g||t[61]!==_||t[62]!==v||t[63]!==y?(C=(0,U.jsxs)(c,{initial:g,whileInView:_,viewport:v,transition:y,className:u,style:d,children:[f,S]}),t[55]=c,t[56]=u,t[57]=d,t[58]=f,t[59]=S,t[60]=g,t[61]=_,t[62]=v,t[63]=y,t[64]=C):C=t[64],C}function TL(e){let t=(0,w.c)(15),{className:n,label:r,linkTo:i,linkLabel:a,linkVariant:o,children:s,footer:c}=e,l=n===void 0?``:n,u=o===void 0?`solid`:o,d=`p-6 flex flex-col ${l}`,f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(f={border:`1px solid var(--terracotta-dial)`,background:`rgba(50, 46, 42, 0.16)`,borderRadius:16,overflow:`hidden`},t[0]=f):f=t[0];let p;t[1]===r?p=t[2]:(p=r&&(0,U.jsx)(`div`,{className:`mb-5`,children:(0,U.jsx)(`h2`,{style:{fontFamily:`var(--font-display)`,fontWeight:900,fontSize:20,color:`var(--ink-primary)`},children:r})}),t[1]=r,t[2]=p);let m;t[3]===s?m=t[4]:(m=(0,U.jsx)(`div`,{className:`min-h-0`,children:s}),t[3]=s,t[4]=m);let h;t[5]!==c||t[6]!==a||t[7]!==i||t[8]!==u?(h=(c||i)&&(0,U.jsxs)(`div`,{className:`flex justify-end gap-3 mt-6 shrink-0`,children:[c,i&&(0,U.jsx)(EI,{to:i,variant:u,children:a??`Ver más`})]}),t[5]=c,t[6]=a,t[7]=i,t[8]=u,t[9]=h):h=t[9];let g;return t[10]!==d||t[11]!==p||t[12]!==m||t[13]!==h?(g=(0,U.jsxs)(`section`,{className:d,style:f,children:[p,m,h]}),t[10]=d,t[11]=p,t[12]=m,t[13]=h,t[14]=g):g=t[14],g}var EL=2,DL=[];function OL(){let e=(0,w.c)(62),{data:t}=xL(),n=t??DL,[r,i]=(0,S.useState)(0),a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(a={},e[0]=a):a=e[0];let[o,s]=(0,S.useState)(a),c=n.length,l,u;e[1]===n?(l=e[2],u=e[3]):(l=()=>{let e=!0,t=n.map(t=>{let n=new Image;return n.onload=()=>{e&&s(e=>({...e,[t.id]:`loaded`}))},n.onerror=()=>{e&&s(e=>({...e,[t.id]:`error`}))},n.src=t.imageUrl,n});return()=>{e=!1,t.forEach(AL)}},u=[n],e[1]=n,e[2]=l,e[3]=u),(0,S.useEffect)(l,u);let d=Math.max(0,c-EL),f,p;if(e[4]===d?(f=e[5],p=e[6]):(f=()=>i(e=>Math.min(e,d)),p=[d],e[4]=d,e[5]=f,e[6]=p),(0,S.useEffect)(f,p),!c)return null;let m,h,g,_,v,y,b,x,C,T,E,D,O,k,A;if(e[7]!==o||e[8]!==d||e[9]!==r||e[10]!==n){let t=n.slice(r,r+EL);_=r>0,g=r<d;let a;e[26]===d?a=e[27]:(a=()=>i(e=>Math.min(e+1,d)),e[26]=d,e[27]=a),v=a;let s;e[28]===Symbol.for(`react.memo_cache_sentinel`)?(s=()=>i(kL),e[28]=s):s=e[28],y=s;let c;e[29]===Symbol.for(`react.memo_cache_sentinel`)?(c={background:`var(--bg-base)`,color:`var(--ink-primary)`,border:`1px solid var(--ink-rule)`},e[29]=c):c=e[29],h=c,m=TL,A=`Talleres`,b=`/talleres`,x=`Ver todos`,C=`outline`,e[30]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,U.jsx)(EI,{to:`/talleres/inscripcion`,children:`Inscribirme`}),e[30]=T):T=e[30],O=`flex items-center gap-3`,e[31]===_?k=e[32]:(k=_&&(0,U.jsx)(`button`,{type:`button`,onClick:y,"aria-label":`Talleres anteriores`,className:`compact-control-button hidden md:flex shrink-0 w-9 h-7 items-center justify-center text-xs cursor-pointer`,style:h,children:`â`}),e[31]=_,e[32]=k),E=`grid grid-cols-1 md:grid-cols-2 gap-6 flex-1 min-w-0`;let l;e[33]===o?l=e[34]:(l=e=>(0,U.jsx)(wL,{taller:e,variant:`preview`,imageStatus:o[e.id]},e.id),e[33]=o,e[34]=l),D=t.map(l),e[7]=o,e[8]=d,e[9]=r,e[10]=n,e[11]=m,e[12]=h,e[13]=g,e[14]=_,e[15]=v,e[16]=y,e[17]=b,e[18]=x,e[19]=C,e[20]=T,e[21]=E,e[22]=D,e[23]=O,e[24]=k,e[25]=A}else m=e[11],h=e[12],g=e[13],_=e[14],v=e[15],y=e[16],b=e[17],x=e[18],C=e[19],T=e[20],E=e[21],D=e[22],O=e[23],k=e[24],A=e[25];let j;
92e[35]!==E||e[36]!==D?(j=(0,U.jsx)(`div`,{className:E,children:D}),e[35]=E,e[36]=D,e[37]=j):j=e[37];let M;e[38]!==h||e[39]!==g||e[40]!==v?(M=g&&(0,U.jsx)(`button`,{type:`button`,onClick:v,"aria-label":`Próximos talleres`,className:`compact-control-button hidden md:flex shrink-0 w-9 h-7 items-center justify-center text-xs cursor-pointer`,style:h,children:`â¶`}),e[38]=h,e[39]=g,e[40]=v,e[41]=M):M=e[41];let N;e[42]!==j||e[43]!==M||e[44]!==O||e[45]!==k?(N=(0,U.jsxs)(`div`,{className:O,children:[k,j,M]}),e[42]=j,e[43]=M,e[44]=O,e[45]=k,e[46]=N):N=e[46];let P;e[47]!==h||e[48]!==g||e[49]!==_||e[50]!==v||e[51]!==y?(P=(_||g)&&(0,U.jsxs)(`div`,{className:`flex md:hidden justify-center gap-3 mt-5`,children:[_&&(0,U.jsx)(`button`,{type:`button`,onClick:y,"aria-label":`Talleres anteriores`,className:`compact-control-button flex h-11 w-11 cursor-pointer items-center justify-center text-xs`,style:h,children:`â`}),g&&(0,U.jsx)(`button`,{type:`button`,onClick:v,"aria-label":`Próximos talleres`,className:`compact-control-button flex h-11 w-11 cursor-pointer items-center justify-center text-xs`,style:h,children:`â¶`})]}),e[47]=h,e[48]=g,e[49]=_,e[50]=v,e[51]=y,e[52]=P):P=e[52];let F;return e[53]!==m||e[54]!==b||e[55]!==x||e[56]!==C||e[57]!==T||e[58]!==N||e[59]!==P||e[60]!==A?(F=(0,U.jsxs)(m,{label:A,linkTo:b,linkLabel:x,linkVariant:C,footer:T,children:[N,P]}),e[53]=m,e[54]=b,e[55]=x,e[56]=C,e[57]=T,e[58]=N,e[59]=P,e[60]=A,e[61]=F):F=e[61],F}function kL(e){return Math.max(e-1,0)}function AL(e){e.onload=null,e.onerror=null}var jL=3500,ML=[{src:hl.ojo,alt:`La Ãltima Radio â Ojo`},{src:hl.pulmon,alt:`La Ãltima Radio â Pulmón`},{src:hl.cabeza,alt:`La Ãltima Radio â Cabeza`}];function NL(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,e[0]=t):t=e[0],t}function PL(){let e=(0,w.c)(7),[t,n]=(0,S.useState)(0),r=NL(),i,a;e[0]===r?(i=e[1],a=e[2]):(i=()=>{if(r)return;let e=setInterval(()=>{n(FL)},jL);return()=>clearInterval(e)},a=[r],e[0]=r,e[1]=i,e[2]=a),(0,S.useEffect)(i,a);let o;e[3]===t?o=e[4]:(o=ML.map((e,n)=>(0,U.jsx)(`div`,{className:`col-start-1 row-start-1 flex items-center justify-center transition-opacity duration-[1600ms] ease-in-out motion-reduce:transition-none`,style:{opacity:+(n===t)},children:(0,U.jsx)(`img`,{src:e.src,alt:e.alt,className:`block h-auto w-full object-contain sm:max-h-[400px] sm:w-auto sm:max-w-full`})},e.src)),e[3]=t,e[4]=o);let s;return e[5]===o?s=e[6]:(s=(0,U.jsx)(`div`,{className:`grid w-full overflow-hidden`,children:o}),e[5]=o,e[6]=s),s}function FL(e){return(e+1)%ML.length}function IL(e){let t=(0,w.c)(11),{variant:n}=e,r=(n===void 0?`section`:n)===`home`,i=`home-feature-media group relative block h-full w-full overflow-hidden ${r?`home-youtube-banner`:``}`,a;t[0]===r?a=t[1]:(a=!r&&(0,U.jsx)(`source`,{media:`(max-width: 767px)`,srcSet:hl.fondoYoutubeMobile}),t[0]=r,t[1]=a);let o=r?hl.youtubeHome:hl.fondoYoutube,s=`w-full transition-opacity duration-300 group-hover:opacity-90 ${r?`home-youtube-banner-image`:`h-full object-contain`}`,c;t[2]!==o||t[3]!==s?(c=(0,U.jsx)(`img`,{src:o,alt:`¿Cómo escuchás La Tribu? Mirá nuestro canal de YouTube`,className:s,loading:`lazy`}),t[2]=o,t[3]=s,t[4]=c):c=t[4];let l;t[5]!==a||t[6]!==c?(l=(0,U.jsxs)(`picture`,{className:`block h-full w-full`,children:[a,c]}),t[5]=a,t[6]=c,t[7]=l):l=t[7];let u;return t[8]!==i||t[9]!==l?(u=(0,U.jsx)(`a`,{href:hN,target:`_blank`,rel:`noreferrer`,className:i,children:l}),t[8]=i,t[9]=l,t[10]=u):u=t[10],u}var LL=e=>Z().trim().url(e).refine(e=>{try{let t=new URL(e).protocol;return t===`http:`||t===`https:`}catch{return!1}},e),RL=aA({id:Q().int().positive(),name:Z(),slug:Z(),isActive:Zk(),priority:Q().int()}),zL=aA({id:Q().int().positive(),siteId:Q().int().positive(),name:Z(),imageUrl:LL(),thumbnailUrl:LL().nullable(),imageUrlMobile:LL().nullable(),thumbnailUrlMobile:LL().nullable(),linkTo:LL(),priority:Q().int(),isActive:Zk()}),BL=zL.extend({groups:rA(RL)}),VL=zL.extend({groupPriority:Q().int()}),HL=aA({id:Q().int().positive(),siteId:Q().int().positive(),name:Z(),slug:Z(),isActive:Zk(),priority:Q().int(),minAdvertisements:Q().int().min(0).max(999),maxAdvertisements:Q().int().min(0).max(999),size:Z().max(50).nullable()}),UL=HL.extend({advertisements:rA(VL)}).refine(e=>e.minAdvertisements<=e.maxAdvertisements,{path:[`maxAdvertisements`]}),WL=rA(BL),GL=rA(UL);aA({message:Z(),data:WL}),aA({message:Z(),data:GL});var KL=aA({message:Z(),data:rA(VL)}),qL=aA({groups:Q().int().nonnegative(),activeGroups:Q().int().nonnegative(),advertisements:Q().int().nonnegative()}),JL=e=>aA({name:Z().trim().min(1,e(`validation.name`)).max(500,e(`validation.nameLength`)),imageUrl:LL(e(`validation.httpUrl`)).max(500,e(`validation.urlLength`)),thumbnailUrl:sA([LL(e(`validation.httpUrl`)).max(500,e(`validation.urlLength`)),hA(``)]),imageUrlMobile:sA([LL(e(`validation.httpUrl`)).max(500,e(`validation.urlLength`)),hA(``)]),thumbnailUrlMobile:sA([LL(e(`validation.httpUrl`)).max(500,e(`validation.urlLength`)),hA(``)]),linkTo:LL(e(`validation.httpUrl`)).max(500,e(`validation.urlLength`)),isActive:Zk()}),YL=zL.omit({name:!0}),XL=rA(YL.extend({groups:rA(RL)})),ZL=YL.extend({groupPriority:Q().int()}),QL=HL.extend({advertisements:rA(ZL)}).refine(e=>e.minAdvertisements<=e.maxAdvertisements,{path:[`maxAdvertisements`]}),$L=Dc.advertisingApiBaseUrl,eR=$L.length>0,tR=XC.create({baseURL:$L||void 0,timeout:1e4,headers:{Accept:`application/json`}});tR.interceptors.request.use(e=>{let t=tw()?.accessToken;return t&&!e.url?.startsWith(`/public/`)&&(e.headers.Authorization=`Bearer ${t}`),e}),tR.interceptors.response.use(void 0,async e=>{let t=e.config;if(e.response?.status!==401||!t||t._retried||t.url?.startsWith(`/public/`))throw e;t._retried=!0;let n=await KA();return t.headers.Authorization=`Bearer ${n.accessToken}`,tR(t)});var nR={all:[`advertising`],list:e=>[`advertising`,e,`list`],detail:(e,t)=>[`advertising`,e,`detail`,t],groups:e=>[`advertising`,e,`groups`],group:(e,t)=>[`advertising`,e,`group`,t],stats:e=>[`advertising`,e,`stats`],public:{all:[`advertising`,`public`,QC],advertisements:e=>[`advertising`,`public`,QC,`advertisements`,e??`all`],advertisement:e=>[`advertising`,`public`,QC,`advertisement`,e],groups:()=>[`advertising`,`public`,QC,`groups`],group:e=>[`advertising`,`public`,QC,`group`,e]}};function rR(e,t){if(!XC.isAxiosError(e))return t;let n=e.response?.data?.error;return typeof n==`string`&&n.trim()?n:t}async function iR(e){let{data:t}=await tR.get(`/sites/${e}/advertising`);return WL.parse(t)}async function aR(e){let{data:t}=await tR.get(`/sites/${e}/stats`);return qL.parse(t)}async function oR(e,t){let{data:n}=await tR.get(`/sites/${e}/advertising/${t}`);return BL.parse(n)}async function sR(e,t){let{data:n}=await tR.post(`/sites/${e}/advertising`,t);return BL.parse(n)}async function cR(e,t,n){let{data:r}=await tR.put(`/sites/${e}/advertising/${t}`,n);return BL.parse(r)}async function lR(e,t){await tR.delete(`/sites/${e}/advertising/${t}`)}async function uR(e){let{data:t}=await tR.get(`/sites/${e}/advertising/groups`);return GL.parse(t)}
92async function dR(e,t,n){let{data:r}=await tR.put(`/sites/${e}/advertising/groups/${t}`,n);return UL.parse(r)}async function fR(e,t,n){let{data:r}=await tR.post(`/sites/${e}/advertising/groups/${t}/advertisements`,{advertisementId:n});return KL.parse(r)}async function pR(e,t,n){await tR.delete(`/sites/${e}/advertising/groups/${t}/advertisements/${n}`)}async function mR(e,t,n){let{data:r}=await tR.put(`/sites/${e}/advertising/groups/${t}/advertisements/reorder`,n);return KL.parse(r)}var hR=`/public/sites/${encodeURIComponent(QC)}/advertising`;async function gR(e={}){let{data:t}=e.grouped===void 0?await tR.get(hR):await tR.get(hR,{params:{grouped:e.grouped}});return XL.parse(t)}async function _R(e){let{data:t}=await tR.get(`${hR}/groups/${encodeURIComponent(e)}`);return QL.parse(t)}var vR=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=nR.list(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>iR(e),t[2]=e,t[3]=r);let i=eR&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)},yR=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=nR.stats(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>aR(e),t[2]=e,t[3]=r);let i=eR&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i,retry:!1},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)},bR=(e,t)=>{let n=(0,w.c)(10),r;n[0]!==t||n[1]!==e?(r=nR.detail(e,t),n[0]=t,n[1]=e,n[2]=r):r=n[2];let i;n[3]!==t||n[4]!==e?(i=()=>oR(e,t),n[3]=t,n[4]=e,n[5]=i):i=n[5];let a=eR&&e>0&&t>0,o;return n[6]!==r||n[7]!==i||n[8]!==a?(o={queryKey:r,queryFn:i,enabled:a},n[6]=r,n[7]=i,n[8]=a,n[9]=o):o=n[9],Jo(o)},xR=e=>{let t=(0,w.c)(8),n;t[0]===e?n=t[1]:(n=nR.groups(e),t[0]=e,t[1]=n);let r;t[2]===e?r=t[3]:(r=()=>uR(e),t[2]=e,t[3]=r);let i=eR&&e>0,a;return t[4]!==n||t[5]!==r||t[6]!==i?(a={queryKey:n,queryFn:r,enabled:i},t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],Jo(a)},SR=(e,t)=>Promise.all([e.invalidateQueries({queryKey:nR.list(t)}),e.invalidateQueries({queryKey:nR.groups(t)})]);function CR(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>sR(e,t),t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=()=>SR(n,e),t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}function wR(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>{let{advertisementId:n,input:r}=t;return cR(e,n,r)},t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=t=>{n.setQueryData(nR.detail(e,t.id),t),SR(n,e)},t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}function TR(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>lR(e,t),t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=()=>SR(n,e),t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}function ER(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>{let{groupId:n,input:r}=t;return dR(e,n,r)},t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=t=>{n.setQueryData(nR.group(e,t.id),t),SR(n,e)},t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}function DR(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>{let{groupId:n,advertisementId:r}=t;return fR(e,n,r)},t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=()=>SR(n,e),t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}function OR(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>{let{groupId:n,advertisementId:r}=t;return pR(e,n,r)},t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=()=>SR(n,e),t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}function kR(e){let t=(0,w.c)(8),n=No(),r;t[0]===e?r=t[1]:(r=t=>{let{groupId:n,order:r}=t;return mR(e,n,r)},t[0]=e,t[1]=r);let i;t[2]!==n||t[3]!==e?(i=()=>SR(n,e),t[2]=n,t[3]=e,t[4]=i):i=t[4];let a;return t[5]!==r||t[6]!==i?(a={mutationFn:r,onSuccess:i},t[5]=r,t[6]=i,t[7]=a):a=t[7],Yo(a)}var AR=e=>{let t=(0,w.c)(9),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let r=n,i;t[2]===r.grouped?i=t[3]:(i=nR.public.advertisements(r.grouped),t[2]=r.grouped,t[3]=i);let a;t[4]===r?a=t[5]:(a=()=>gR(r),t[4]=r,t[5]=a);let o;return t[6]!==i||t[7]!==a?(o={queryKey:i,queryFn:a,enabled:eR&&!!QC},t[6]=i,t[7]=a,t[8]=o):o=t[8],Jo(o)},jR=e=>{let t=(0,w.c)(9),n;t[0]===e?n=t[1]:(n=nR.public.group(e),t[0]=e,t[1]=n);let r,i;t[2]===e?(r=t[3],i=t[4]):(r=()=>_R(e),i=eR&&!!QC&&!!e.trim(),t[2]=e,t[3]=r,t[4]=i);let a;return t[5]!==n||t[6]!==r||t[7]!==i?(a={queryKey:n,queryFn:r,enabled:i},t[5]=n,t[6]=r,t[7]=i,t[8]=a):a=t[8],Jo(a)},MR=`(max-width: 767px)`;function NR(e){let t=(0,w.c)(13),{imageUrl:n,imageUrlMobile:r,alt:i,className:a,loading:o}=e,s;t[0]!==n||t[1]!==r?(s=r?.trim()||n,t[0]=n,t[1]=r,t[2]=s):s=t[2];let c=s,l;t[3]===c?l=t[4]:(l=(0,U.jsx)(`source`,{media:MR,srcSet:c}),t[3]=c,t[4]=l);let u;t[5]!==i||t[6]!==a||t[7]!==n||t[8]!==o?(u=(0,U.jsx)(`img`,{src:n,alt:i,className:a,loading:o}),t[5]=i,t[6]=a,t[7]=n,t[8]=o,t[9]=u):u=t[9];let d;return t[10]!==l||t[11]!==u?(d=(0,U.jsxs)(`picture`,{className:`block h-full w-full`,children:[l,u]}),t[10]=l,t[11]=u,t[12]=d):d=t[12],d}function PR(e){let t=(0,w.c)(14),{groupSlug:n,className:r,containerClassName:i,imageClassName:a}=e,o=a===void 0?`h-full w-full object-cover`:a,{data:s}=AR(),c,l,u;if(t[0]!==s||t[1]!==r||t[2]!==i||t[3]!==n||t[4]!==o){u=Symbol.for(`react.early_return_sentinel`);bb0:{let e=s?.filter(e=>e.groups.some(e=>e.slug===n))??[];if(e.length===0){u=null;break bb0}c=i??`flex flex-row flex-wrap justify-center gap-4`;let a;t[8]!==r||t[9]!==o?(a=e=>(0,U.jsx)(`a`,{href:e.linkTo,target:`_blank`,rel:`noreferrer`,className:r,children:(0,U.jsx)(NR,{imageUrl:e.imageUrl,imageUrlMobile:e.imageUrlMobile,alt:`Publicidad`,className:o,loading:`lazy`})},e.id),t[8]=r,t[9]=o,t[10]=a):a=t[10],l=e.map(a)}t[0]=s,t[1]=r,t[2]=i,t[3]=n,t[4]=o,t[5]=c,t[6]=l,t[7]=u}else c=t[5],l=t[6],u=t[7];if(u!==Symbol.for(`react.early_return_sentinel`))return u;let d;
92return t[11]!==c||t[12]!==l?(d=(0,U.jsx)(`div`,{className:c,children:l}),t[11]=c,t[12]=l,t[13]=d):d=t[13],d}var FR=2e3,IR=`(min-width: 1024px)`;function LR(){let e=(0,w.c)(2),[t,n]=(0,S.useState)(RR),r,i;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=()=>{if(typeof window.matchMedia!=`function`)return;let e=window.matchMedia(IR),t=()=>n(e.matches?4:2);return t(),e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},i=[],e[0]=r,e[1]=i):(r=e[0],i=e[1]),(0,S.useEffect)(r,i),t}function RR(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(IR).matches?4:2}function zR(e){let t=(0,w.c)(58),{groupSlug:n,className:r}=e,i=r===void 0?``:r,{data:a}=jR(n);a?.advertisements;let o;t[0]===a?.advertisements?o=t[1]:(o=a?.advertisements??[],t[0]=a?.advertisements,t[1]=o);let s=o,c=LR(),l=sb(),u=(0,S.useRef)(null),[d,f]=(0,S.useState)(0),[p,m]=(0,S.useState)(1),[h,g]=(0,S.useState)(!1),[_,v]=(0,S.useState)(!0),y=s.length>c,b=Math.min(s.length,c),x;if(t[2]!==s||t[3]!==d||t[4]!==b){let e;t[6]!==s||t[7]!==d?(e=(e,t)=>s[(d+t)%s.length],t[6]=s,t[7]=d,t[8]=e):e=t[8],x=Array.from({length:b},e),t[2]=s,t[3]=d,t[4]=b,t[5]=x}else x=t[5];let C=x,T,E;t[9]===s.length?(T=t[10],E=t[11]):(T=()=>{f(e=>s.length===0?0:e%s.length)},E=[s.length],t[9]=s.length,t[10]=T,t[11]=E),(0,S.useEffect)(T,E);let D,O;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(D=()=>{let e=u.current;if(!e||typeof IntersectionObserver>`u`)return;let t=new IntersectionObserver(e=>{let[t]=e;return v(t.isIntersecting)},{threshold:.1});return t.observe(e),()=>t.disconnect()},O=[],t[12]=D,t[13]=O):(D=t[12],O=t[13]),(0,S.useEffect)(D,O);let k;t[14]!==s.length||t[15]!==y?(k=e=>{y&&(m(e),f(t=>(t+e+s.length)%s.length))},t[14]=s.length,t[15]=y,t[16]=k):k=t[16];let A=k,j,M;if(t[17]!==y||t[18]!==_||t[19]!==A||t[20]!==h?(M=()=>{if(!y||h||!_)return;let e=window.setInterval(()=>A(1),FR);return()=>window.clearInterval(e)},j=[y,_,A,h],t[17]=y,t[18]=_,t[19]=A,t[20]=h,t[21]=j,t[22]=M):(j=t[21],M=t[22]),(0,S.useEffect)(M,j),s.length===0)return null;let N=`relative px-7 sm:px-10 ${i}`,P,F,I,L;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(P=()=>g(!0),F=()=>g(!1),I=()=>g(!0),L=e=>{e.currentTarget.contains(e.relatedTarget)||g(!1)},t[23]=P,t[24]=F,t[25]=I,t[26]=L):(P=t[23],F=t[24],I=t[25],L=t[26]);let R=`${c}-${d}`,ee;t[27]!==c||t[28]!==l?(ee=e=>({opacity:0,x:l?0:`${100/c*e}%`}),t[27]=c,t[28]=l,t[29]=ee):ee=t[29];let z;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(z={opacity:1,x:0},t[30]=z):z=t[30];let B;t[31]!==c||t[32]!==l?(B=e=>({opacity:0,x:l?0:`${-100/c*e}%`}),t[31]=c,t[32]=l,t[33]=B):B=t[33];let te;t[34]!==ee||t[35]!==B?(te={enter:ee,center:z,exit:B},t[34]=ee,t[35]=B,t[36]=te):te=t[36];let V=l?0:.24,ne;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(ne=[.25,1,.5,1],t[37]=ne):ne=t[37];let re;t[38]===V?re=t[39]:(re={duration:V,ease:ne},t[38]=V,t[39]=re);let ie;t[40]===C?ie=t[41]:(ie=C.map(BR),t[40]=C,t[41]=ie);let ae;t[42]!==p||t[43]!==R||t[44]!==te||t[45]!==re||t[46]!==ie?(ae=(0,U.jsx)(ob.div,{custom:p,variants:te,initial:`enter`,animate:`center`,exit:`exit`,transition:re,className:`grid grid-cols-2 gap-4 lg:grid-cols-[repeat(4,200px)] lg:justify-center lg:gap-6`,children:ie},R),t[42]=p,t[43]=R,t[44]=te,t[45]=re,t[46]=ie,t[47]=ae):ae=t[47];let oe;t[48]!==p||t[49]!==ae?(oe=(0,U.jsx)(`div`,{className:`overflow-hidden`,children:(0,U.jsx)(uv,{initial:!1,mode:`popLayout`,custom:p,children:ae})}),t[48]=p,t[49]=ae,t[50]=oe):oe=t[50];let H;t[51]!==y||t[52]!==A?(H=y&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`button`,{type:`button`,onClick:()=>A(-1),"aria-label":`Página anterior de publicidad`,className:`absolute left-0 top-1/2 flex min-h-11 min-w-11 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-ink-rule bg-bg-base text-xl text-ink-primary transition-colors hover:border-ink-primary`,children:`â¹`}),(0,U.jsx)(`button`,{type:`button`,onClick:()=>A(1),"aria-label":`Página siguiente de publicidad`,className:`absolute right-0 top-1/2 flex min-h-11 min-w-11 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-ink-rule bg-bg-base text-xl text-ink-primary transition-colors hover:border-ink-primary`,children:`âº`})]}),t[51]=y,t[52]=A,t[53]=H):H=t[53];let se;return t[54]!==N||t[55]!==oe||t[56]!==H?(se=(0,U.jsxs)(`section`,{ref:u,role:`region`,"aria-roledescription":`carrusel`,"aria-label":`Publicidad`,className:N,onMouseEnter:P,onMouseLeave:F,onFocusCapture:I,onBlurCapture:L,children:[oe,H]}),t[54]=N,t[55]=oe,t[56]=H,t[57]=se):se=t[57],se}function BR(e){return(0,U.jsx)(`a`,{href:e.linkTo,target:`_blank`,rel:`noreferrer`,className:`group block aspect-square min-w-0 overflow-hidden rounded-lg bg-transparent lg:h-[200px] lg:w-[200px]`,children:(0,U.jsx)(NR,{imageUrl:e.imageUrl,imageUrlMobile:e.imageUrlMobile,alt:`Publicidad`,className:`h-full w-full object-contain transition-transform duration-200 group-hover:scale-[1.02] motion-reduce:transition-none`,loading:`lazy`})},e.id)}function VR(e){let t=(0,w.c)(12),{spotifyId:n,title:r,height:i}=e,a=i===void 0?352:i,o=(0,S.useRef)(null),[s,c]=(0,S.useState)(!1),l,u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=()=>{let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&c(!0)},{rootMargin:`200px`});return o.current&&e.observe(o.current),()=>e.disconnect()},u=[],t[0]=l,t[1]=u):(l=t[0],u=t[1]),(0,S.useEffect)(l,u);let d;t[2]===a?d=t[3]:(d={height:a},t[2]=a,t[3]=d);let f;t[4]!==a||t[5]!==n||t[6]!==r||t[7]!==s?(f=s&&(0,U.jsx)(`iframe`,{title:`Podcast: ${r}`,src:`https://open.spotify.com/embed/show/${n}
92?utm_source=generator`,width:`100%`,height:a,allow:`autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture`,loading:`lazy`,className:`border-0`}),t[4]=a,t[5]=n,t[6]=r,t[7]=s,t[8]=f):f=t[8];let p;return t[9]!==d||t[10]!==f?(p=(0,U.jsx)(`div`,{ref:o,className:`w-full overflow-hidden`,style:d,children:f}),t[9]=d,t[10]=f,t[11]=p):p=t[11],p}var HR=[{id:`fmlatribu`,spotifyId:`3jZHvHQIUbl7seg7js5IjF`,title:`FM La Tribu`,description:`Todo el contenido de audio producido y co-producido por FM LA TRIBU.`,spotifyUrl:`https://open.spotify.com/show/3jZHvHQIUbl7seg7js5IjF`,youtubeUrl:`https://www.youtube.com/@fmlatribu`},{id:`radioculta`,spotifyId:`23hosVgxYaAnYVNLKtQijX`,title:`RadiOculta`,description:`Proyecto radial desde la cárcel de Devoto, coordinado por FM La Tribu junto a la UBA.`,spotifyUrl:`https://open.spotify.com/show/23hosVgxYaAnYVNLKtQijX`,youtubeUrl:`https://www.youtube.com/playlist?list=PLRadiOculta`},{id:`estadodesitio`,spotifyId:`74TuI54NtWj6WNzXR9Ocnr`,title:`Estado de Sitio`,description:`Serie documental sobre la crisis polÃtica y económica de Argentina en 2001.`,spotifyUrl:`https://open.spotify.com/show/74TuI54NtWj6WNzXR9Ocnr`,youtubeUrl:`https://www.youtube.com/playlist?list=PLEstadoDeSitio`}];function UR(e){let t=(0,w.c)(5),{id:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={background:`var(--ink-primary)`,borderRadius:`0.75rem`,scrollMarginTop:`calc(var(--header-h) + 1rem)`},t[0]=r):r=t[0];let i;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,U.jsxs)(`div`,{className:`flex flex-col items-center justify-center p-8 text-center`,children:[(0,U.jsx)(`h2`,{className:`mb-3 text-[22px] font-[900] uppercase text-white`,children:`¡Grabá tu podcast en La Tribu!`}),(0,U.jsx)(`p`,{className:`mx-auto mb-5 max-w-[440px] text-sm leading-[1.6] text-white/75`,children:`Un nuevo estudio, totalmente renovado. Grabá tu podcast, programa de radio o creá tu contenido sonoro. Si te interesa consultanos por disponibilidad y precio.`}),(0,U.jsx)(`a`,{href:`mailto:[email protected]`,className:`action-button-primary inline-flex min-h-11 items-center justify-center px-5 py-2.5 text-[11px] font-[800] uppercase tracking-[0.15em]`,children:`[email protected]`})]}),t[1]=i):i=t[1];let a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,U.jsx)(`div`,{className:`min-h-[220px] bg-black`,children:(0,U.jsx)(`img`,{src:`/img/estudionuevo/estudionuevo_1.webp`,alt:`Estudio de grabación renovado de FM La Tribu`,className:`h-full w-full object-cover opacity-85`,loading:`lazy`})}),t[2]=a):a=t[2];let o;return t[3]===n?o=t[4]:(o=(0,U.jsxs)(`section`,{id:n,className:`grid grid-cols-1 overflow-hidden md:grid-cols-2`,style:r,children:[i,a]}),t[3]=n,t[4]=o),o}function WR(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`a`,{href:mN,target:`_blank`,rel:`noreferrer`,"aria-label":`Bancá La Tribu â sumate`,className:`mx-auto mt-12 block w-full max-w-[1200px] overflow-hidden focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[var(--terracotta-dial)]`,children:(0,U.jsxs)(`picture`,{children:[(0,U.jsx)(`source`,{media:`(max-width: 767px)`,srcSet:`/branding/banca_la_tribu_mobile.webp`}),(0,U.jsx)(`img`,{src:`/branding/banca_la_tribu.webp`,alt:`Bancá La Tribu â sumate`,width:1200,height:301,className:`block h-auto w-full`})]})}),e[0]=t):t=e[0],t}function GR(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`section`,{children:(0,U.jsxs)(`div`,{className:`relative w-full bg-transparent pb-2 pt-16 sm:pt-8`,children:[(0,U.jsx)(PL,{}),(0,U.jsx)(`h1`,{className:`sr-only`,children:`FM 88.7 MHz â La Ãltima Radio`})]})}),e[0]=t):t=e[0],t}function KR(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(TL,{label:`Podcast`,linkTo:`/podcasts`,linkLabel:`Ver todos`,children:(0,U.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-3 gap-6`,children:HR.map(qR)})}),e[0]=t):t=e[0],t}function qR(e){return(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{className:`mb-2 uppercase`,style:{fontFamily:`var(--font-display)`,fontWeight:900,fontSize:18,color:`var(--ink-primary)`,lineHeight:1.05},children:e.title}),(0,U.jsx)(VR,{spotifyId:e.spotifyId,title:e.title,height:232})]},e.id)}function JR(){let e=(0,w.c)(6);vI(`FM La Tribu 88.7 â Radio comunitaria de Buenos Aires`,`FM La Tribu 88.7, radio comunitaria de Buenos Aires. Programación, talleres, podcasts y más.`);let t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(GR,{}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsx)(TL,{children:(0,U.jsx)(MI,{})}),e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)(IL,{variant:`home`}),e[2]=r):r=e[2];let i,a;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,U.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 pt-4 flex flex-col gap-12`,children:[n,(0,U.jsxs)(`div`,{className:`home-feature-grid`,children:[r,(0,U.jsx)(`div`,{className:`home-feature-ads flex flex-col gap-4`,children:(0,U.jsx)(PR,{groupSlug:`cuadrado-home-vivo`,className:`block aspect-square w-full`,containerClassName:`grid grid-cols-2 gap-4 lg:grid-cols-1`})})]})]}),a=(0,U.jsx)(WR,{}),e[3]=i,e[4]=a):(i=e[3],a=e[4]);let o;return e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsxs)(U.Fragment,{children:[t,i,a,(0,U.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 py-10 flex flex-col gap-12`,children:[(0,U.jsx)(KR,{}),(0,U.jsx)(UR,{}),(0,U.jsx)(PR,{groupSlug:`banner-home`,className:`block w-full md:aspect-[6
92/1]`,imageClassName:`block h-auto w-full md:h-full md:object-cover`}),(0,U.jsx)(OL,{}),(0,U.jsx)(zR,{groupSlug:`cuadrado-carrusel`})]})]}),e[5]=o):o=e[5],o}var YR={sm:`w-4 h-4 border-2`,md:`w-8 h-8 border-2`,lg:`w-12 h-12 border-3`};function XR(e){let t=(0,w.c)(5),{size:n,className:r}=e,i=n===void 0?`md`:n,a=r===void 0?``:r,o=YR[i],s;t[0]!==a||t[1]!==o?(s=[`rounded-full border-brand-blue border-t-transparent animate-spin`,o,a],t[0]=a,t[1]=o,t[2]=s):s=t[2];let c=s.join(` `),l;return t[3]===c?l=t[4]:(l=(0,U.jsx)(`div`,{role:`status`,"aria-label":`Cargando`,className:c}),t[3]=c,t[4]=l),l}function ZR(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`div`,{className:`flex items-center justify-center min-h-[40vh]`,children:(0,U.jsx)(XR,{size:`lg`})}),e[0]=t):t=e[0],t}function QR(e){let t=(0,w.c)(23),{twitter:n,facebook:r,instagram:i,website:a,size:o,className:s}=e,c=o===void 0?`md`:o,l=s===void 0?``:s,u=c===`xs`?`h-6 w-6`:c===`sm`?`h-7 w-7`:`h-8 w-8`,d=c===`xs`?18:c===`sm`?13:15,f;t[0]===n?f=t[1]:(f={href:n,label:`Twitter/X`,icon:`twitter`},t[0]=n,t[1]=f);let p;t[2]===r?p=t[3]:(p={href:r,label:`Facebook`,icon:`facebook`},t[2]=r,t[3]=p);let m;t[4]===i?m=t[5]:(m={href:i,label:`Instagram`,icon:`instagram`},t[4]=i,t[5]=m);let h;t[6]===a?h=t[7]:(h={href:a,label:`Sitio web`,icon:`website`},t[6]=a,t[7]=h);let g;t[8]!==f||t[9]!==p||t[10]!==m||t[11]!==h?(g=[f,p,m,h].filter($R),t[8]=f,t[9]=p,t[10]=m,t[11]=h,t[12]=g):g=t[12];let _=g;if(_.length===0)return null;let v;t[13]===l?v=t[14]:(v=[`flex items-center gap-2`,l],t[13]=l,t[14]=v);let y=v.join(` `),b;t[15]!==d||t[16]!==u||t[17]!==_||t[18]!==c?(b=_.map(e=>(0,U.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noreferrer`,"aria-label":e.label,className:[`flex items-center justify-center text-ink-muted hover:text-ink-primary`,c===`xs`?``:`border border-ink-rule hover:border-ink-primary`,`transition-colors`,u].join(` `),children:(0,U.jsx)(JF,{icon:e.icon,size:d})},e.label)),t[15]=d,t[16]=u,t[17]=_,t[18]=c,t[19]=b):b=t[19];let x;return t[20]!==b||t[21]!==y?(x=(0,U.jsx)(`div`,{className:y,children:b}),t[20]=b,t[21]=y,t[22]=x):x=t[22],x}function $R(e){return!!e.href}var ez=[`Lun`,`Mar`,`Mié`,`Jue`,`Vie`,`Sáb`,`Dom`],tz=[];function nz(e){return`${String(e).padStart(2,`0`)}:00`}function rz(){let e=(0,w.c)(40),t=Jj(),n=Yj(t.data?.[0]?.id??0),r=qj(),i;e[0]===r.data?i=e[1]:(i=r.data??[],e[0]=r.data,e[1]=i);let a=i,o=n.data??tz,s=t.isLoading||n.isLoading,c=t.error??n.error,l;e[2]===o?l=e[3]:(l=oN(o),e[2]=o,e[3]=l);let u=l,d;e[4]===o?d=e[5]:(d=sN(o),e[4]=o,e[5]=d);let f=d,p;e[6]!==o||e[7]!==f?(p=cN(o,f),e[6]=o,e[7]=f,e[8]=p):p=e[8];let m=p,h;e[9]===a?h=e[10]:(h=new Map(a.map(sz)),e[9]=a,e[10]=h);let g=h,_;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(_=aN(new Date),e[11]=_):_=e[11];let v=_,y;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(y=iN(new Date),e[12]=y):y=e[12];let b=y;if(s){let t;return e[13]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`div`,{className:`flex justify-center py-16`,children:(0,U.jsx)(XR,{size:`lg`})}),e[13]=t):t=e[13],t}if(c){let r;return e[14]!==n||e[15]!==t?(r=(0,U.jsx)(TI,{message:`No se pudo cargar la programación.`,onRetry:()=>{t.refetch(),n.refetch()}}),e[14]=n,e[15]=t,e[16]=r):r=e[16],r}let x=`auto ${m}`,S;e[17]===x?S=e[18]:(S={fontFamily:`var(--font-display)`,gridTemplateRows:x},e[17]=x,e[18]=S);let C=`1 / span ${f.length+1}`,T;e[19]===C?T=e[20]:(T=(0,U.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none`,style:{gridColumn:v+1,gridRow:C,background:`rgba(50, 46, 42, 0.12)`,borderRadius:`0.875rem`}}),e[19]=C,e[20]=T);let E;e[21]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,U.jsx)(`div`,{role:`row`,className:`relative z-1 grid grid-cols-7`,style:{gridColumn:`2 / -1`,gridRow:1,border:`1px solid var(--terracotta-dial)`,background:`rgba(50, 46, 42, 0.16)`,borderRadius:`0.875rem`},children:Array.from({length:7},oz).map(e=>(0,U.jsxs)(`div`,{role:`columnheader`,className:`px-2 py-3 text-center text-sm font-[800] uppercase tracking-[0.2em]`,style:{color:e===v?`var(--red-500)`:`var(--ink-muted)`},children:[ez[e-1],e===v&&(0,U.jsx)(`span`,{className:`ml-1 inline-block h-1 w-1 align-middle`,style:{background:`var(--red-500)`}})]},e))}),e[21]=E):E=e[21];let D=`2 / span ${f.length}`,O;e[22]!==m||e[23]!==D?(O={gridColumn:1,gridRow:D,gridTemplateRows:m,border:`1px solid var(--terracotta-dial)`,background:`rgba(50, 46, 42, 0.16)`,borderRadius:`0.875rem`},e[22]=m,e[23]=D,e[24]=O):O=e[24];let k;e[25]===f?k=e[26]:(k=f.map(az),e[25]=f,e[26]=k);let A;e[27]!==O||e[28]!==k?(A=(0,U.jsx)(`div`,{className:`relative z-1 grid`,style:O,children:k}),e[27]=O,e[28]=k,e[29]=A):A=e[29];let j;e[30]!==g||e[31]!==u||e[32]!==f?(j=Array.from({length:7},iz).flatMap(e=>(u.get(e)??[]).map(t=>{let n=e===v&&t.entry.hourStart<=b&&t.entry.hourEnd>b,r=t.entry.activity.accentColor??`var(--text-accent)`,i=f.indexOf(t.entry.hourStart)+2,a=g.get(t.entry.activity.id);return(0,U.jsxs)(`div`,{role:`gridcell`,className:`relative z-1 flex flex-col items-center justify-center px-2 py-2 text-center transition-[transform,box-shadow] duration-300 ease-[
92cubic-bezier(0.22,1,0.36,1)] hover:z-10 hover:-translate-y-0.5 hover:shadow-[0_0.75rem_1.75rem_rgba(26,24,20,0.22)] motion-reduce:transform-none motion-reduce:transition-none`,style:{gridColumn:e+1,gridRow:`${i} / span ${t.rowspan}`,border:`1px solid var(--terracotta-dial)`,background:`var(--bg-surface)`,borderRadius:`0.875rem`},children:[(0,U.jsx)(`div`,{className:`text-xs font-[800] uppercase leading-tight`,style:{color:r},children:t.entry.activity.name}),(0,U.jsxs)(`div`,{className:`mt-0.5 text-[10px] font-[400] text-ink-muted`,children:[nz(t.entry.hourStart),`â`,nz(t.entry.hourEnd)]}),a&&(0,U.jsx)(QR,{twitter:a.socialTwitter,facebook:a.socialFacebook,instagram:a.socialInstagram,website:a.website,size:`xs`,className:`mt-1 flex-wrap justify-center gap-1`}),n&&(0,U.jsx)(`div`,{className:`mt-1`,children:(0,U.jsx)(`span`,{className:`badge-en-vivo`,style:{fontSize:8},children:`Ahora`})})]},`${e}-${t.entry.hourStart}`)})),e[30]=g,e[31]=u,e[32]=f,e[33]=j):j=e[33];let M;return e[34]!==T||e[35]!==E||e[36]!==A||e[37]!==j||e[38]!==S?(M=(0,U.jsx)(`div`,{className:`overflow-x-auto`,children:(0,U.jsxs)(`div`,{className:`grid min-w-[700px] grid-cols-[5rem_repeat(7,minmax(0,1fr))] gap-2 text-sm`,role:`grid`,style:S,children:[T,E,A,j]})}),e[34]=T,e[35]=E,e[36]=A,e[37]=j,e[38]=S,e[39]=M):M=e[39],M}function iz(e,t){return t+1}function az(e){return(0,U.jsx)(`div`,{role:`rowheader`,className:`px-3 pt-2 text-center text-sm text-ink-muted`,children:nz(e)},e)}function oz(e,t){return t+1}function sz(e){return[e.id,e]}var cz=[],lz=[{label:`Lun`,full:`Lunes`},{label:`Mar`,full:`Martes`},{label:`Mié`,full:`Miércoles`},{label:`Jue`,full:`Jueves`},{label:`Vie`,full:`Viernes`},{label:`Sáb`,full:`Sábado`},{label:`Dom`,full:`Domingo`}];function uz(e){return`${String(e).padStart(2,`0`)}:00`}function dz(){let e=(0,w.c)(32),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=aN(new Date),e[0]=t):t=e[0];let n=t,r;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=iN(new Date),e[1]=r):r=e[1];let i=r,[a,o]=(0,S.useState)(n),s=Jj(),c=Yj(s.data?.[0]?.id??0),l=qj(),u;e[2]===l.data?u=e[3]:(u=l.data??[],e[2]=l.data,e[3]=u);let d=u,f=c.data??cz,p=s.isLoading||c.isLoading,m=s.error??c.error,h;e[4]===f?h=e[5]:(h=oN(f),e[4]=f,e[5]=h);let g=h,_;e[6]===d?_=e[7]:(_=new Map(d.map(fz)),e[6]=d,e[7]=_);let v=_,y,b;if(e[8]!==v||e[9]!==c||e[10]!==m||e[11]!==g||e[12]!==p||e[13]!==s||e[14]!==a){b=Symbol.for(`react.early_return_sentinel`);bb0:{let t=g.get(a)??[];if(p){let t;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`div`,{className:`flex justify-center py-16`,children:(0,U.jsx)(XR,{size:`lg`})}),e[17]=t):t=e[17],b=t;break bb0}if(m){let t;e[18]!==c||e[19]!==s?(t=(0,U.jsx)(TI,{message:`No se pudo cargar la programación.`,onRetry:()=>{s.refetch(),c.refetch()}}),e[18]=c,e[19]=s,e[20]=t):t=e[20],b=t;break bb0}let r;e[21]===Symbol.for(`react.memo_cache_sentinel`)?(r={border:`1px solid var(--terracotta-dial)`,background:`rgba(50, 46, 42, 0.16)`,borderRadius:`0.875rem`},e[21]=r):r=e[21];let l;e[22]===a?l=e[23]:(l=lz.map((e,t)=>{let r=t+1,i=r===n,s=r===a;return(0,U.jsxs)(`button`,{onClick:()=>o(r),className:`flex flex-col items-center px-4 py-2 text-[10px] font-[800] uppercase tracking-[0.15em] whitespace-nowrap shrink-0 cursor-pointer transition-opacity hover:opacity-70 border-b-2 -mb-[2px]`,style:{fontFamily:`var(--font-display)`,background:s?`var(--ink-primary)`:`transparent`,color:s?`var(--bg-base)`:i?`var(--red-500)`:`var(--ink-muted)`,borderBottomColor:s?`var(--ink-primary)`:`transparent`,borderRight:`1px solid var(--ink-rule)`},children:[(0,U.jsx)(`span`,{children:e.label}),i&&!s&&(0,U.jsx)(`span`,{className:`w-1 h-1 mt-0.5`,style:{background:`var(--red-500)`}})]},r)}),e[22]=a,e[23]=l);let u;e[24]===l?u=e[25]:(u=(0,U.jsx)(`div`,{className:`mb-6 flex gap-0 overflow-x-auto p-1`,style:r,children:l}),e[24]=l,e[25]=u);let d;e[26]===Symbol.for(`react.memo_cache_sentinel`)?(d={fontFamily:`var(--font-display)`,fontWeight:900,fontSize:28,color:`var(--text-accent)`},e[26]=d):d=e[26];let f=lz[a-1],h;e[27]===a?h=e[28]:(h=a===n&&(0,U.jsx)(`span`,{className:`ml-3 text-xs normal-case`,style:{fontFamily:`var(--font-display)`,color:`var(--red-500)`,fontWeight:400},children:`â Hoy`}),e[27]=a,e[28]=h);let _;e[29]!==f.full||e[30]!==h?(_=(0,U.jsxs)(`h3`,{className:`mb-5 uppercase`,style:d,children:[f.full,h]}),e[29]=f.full,e[30]=h,e[31]=_):_=e[31],y=(0,U.jsxs)(`div`,{children:[u,_,t.length===0?(0,U.jsx)(`p`,{className:`text-sm`,style:{fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},children:`Sin programación asignada para este dÃa.`}):(0,U.jsx)(`div`,{className:`flex flex-col gap-3`,children:t.map(e=>{let t=a===n&&e.entry.hourStart<=i&&e.entry.hourEnd>i,r=e.entry.activity.accentColor??`var(--text-accent)`,o=v.get(e.entry.activity.id);return(0,U.jsx)(`div`,{className:`relative p-4 transition-[transform,box-shadow] duration-300 ease-[
92cubic-bezier(0.22,1,0.36,1)] hover:z-10 hover:scale-[1.025] hover:shadow-[0_0.75rem_1.75rem_rgba(26,24,20,0.22)] motion-reduce:transform-none motion-reduce:transition-none`,style:{border:`1px solid var(--terracotta-dial)`,background:`var(--bg-surface)`,borderRadius:`0.875rem`},children:(0,U.jsxs)(`div`,{className:`flex items-start justify-between gap-3`,children:[(0,U.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,U.jsx)(`div`,{className:`flex items-center gap-2 flex-wrap mb-1`,children:(0,U.jsx)(`span`,{className:`font-[800] text-sm uppercase leading-tight`,style:{fontFamily:`var(--font-display)`,color:r},children:e.entry.activity.name})}),(0,U.jsxs)(`div`,{className:`text-xs`,style:{fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},children:[uz(e.entry.hourStart),` â `,uz(e.entry.hourEnd)]}),o&&(0,U.jsx)(QR,{twitter:o.socialTwitter,facebook:o.socialFacebook,instagram:o.socialInstagram,website:o.website,size:`xs`,className:`mt-2 flex-wrap gap-1`}),t&&(0,U.jsx)(`span`,{className:`badge-en-vivo mt-2`,children:`Ahora`})]}),e.entry.activity.imageUrl&&(0,U.jsx)(`img`,{src:e.entry.activity.imageUrl,alt:e.entry.activity.name,className:`w-12 h-12 object-cover shrink-0`,loading:`lazy`})]})},`${e.entry.dayOfWeek}-${e.entry.hourStart}`)})})]})}e[8]=v,e[9]=c,e[10]=m,e[11]=g,e[12]=p,e[13]=s,e[14]=a,e[15]=y,e[16]=b}else y=e[15],b=e[16];return b===Symbol.for(`react.early_return_sentinel`)?y:b}function fz(e){return[e.id,e]}function pz(e){let t=(0,w.c)(15),{lead:n,emphasis:r,eyebrow:i,description:a,className:o}=e,s=(o===void 0?``:o)||`mb-8`,c;t[0]===i?c=t[1]:(c=i&&(0,U.jsx)(`p`,{className:`section-label mb-2`,children:i}),t[0]=i,t[1]=c);let l=`text-[clamp(1.55rem,3vw,2rem)] leading-none text-ink-primary ${n?`font-[400]`:`font-[900]`}`,u;t[2]!==r||t[3]!==n?(u=n?(0,U.jsxs)(U.Fragment,{children:[n,` `,(0,U.jsx)(`span`,{className:`font-[900]`,children:r})]}):r,t[2]=r,t[3]=n,t[4]=u):u=t[4];let d;t[5]!==l||t[6]!==u?(d=(0,U.jsx)(`h1`,{className:l,children:u}),t[5]=l,t[6]=u,t[7]=d):d=t[7];let f;t[8]===a?f=t[9]:(f=a&&(0,U.jsx)(`p`,{className:`mt-2 max-w-xl text-sm text-ink-muted`,style:{fontFamily:`var(--font-display)`},children:a}),t[8]=a,t[9]=f);let p;return t[10]!==s||t[11]!==c||t[12]!==d||t[13]!==f?(p=(0,U.jsxs)(`header`,{className:s,children:[c,d,f]}),t[10]=s,t[11]=c,t[12]=d,t[13]=f,t[14]=p):p=t[14],p}function mz(){let e=(0,w.c)(4);vI(`Radio â FM La Tribu 88.7`,`Grilla de programación semanal de FM La Tribu 88.7, radio comunitaria de Buenos Aires.`);let t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(pz,{emphasis:`Programación`,className:`mb-5`}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsx)(`div`,{className:`hidden md:block`,children:(0,U.jsx)(rz,{})}),e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)(`div`,{className:`md:hidden`,children:(0,U.jsx)(dz,{})}),e[2]=r):r=e[2];let i;return e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,U.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 py-10`,children:[t,n,r,(0,U.jsx)(`div`,{className:`mt-16`,children:(0,U.jsx)(IL,{})})]}),e[3]=i):i=e[3],i}function hz(){let e=(0,w.c)(18);vI(`Talleres â FM La Tribu`,`Talleres y cursos del Centro de Capacitación de FM La Tribu. Comunicación, radio, podcast y más.`);let{data:t,isLoading:n,error:r,refetch:i}=xL(),a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,U.jsx)(pz,{emphasis:`Talleres`}),e[0]=a):a=e[0];let o;e[1]===n?o=e[2]:(o=n&&(0,U.jsx)(ZR,{}),e[1]=n,e[2]=o);let s;e[3]!==r||e[4]!==i?(s=r&&(0,U.jsx)(TI,{message:`No se pudieron cargar los talleres.`,onRetry:()=>i()}),e[3]=r,e[4]=i,e[5]=s):s=e[5];let c;e[6]===t?c=e[7]:(c=t&&t.length===0&&(0,U.jsx)(`div`,{className:`text-center py-16`,style:{fontFamily:`var(--font-display)`,color:`var(--ink-muted)`},children:`No hay talleres disponibles por el momento.`}),e[6]=t,e[7]=c);let l;e[8]===t?l=e[9]:(l=t&&t.length>0&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`div`,{className:`grid grid-cols-1 gap-6 md:grid-cols-2`,children:t.map(gz)}),(0,U.jsx)(`div`,{className:`mt-8 flex justify-center`,children:(0,U.jsx)(EI,{to:`/talleres/inscripcion`,children:`Quiero inscribirme`})})]}),e[8]=t,e[9]=l);let u;e[10]!==o||e[11]!==s||e[12]!==c||e[13]!==l?(u=(0,U.jsxs)(TL,{children:[a,o,s,c,l]}),e[10]=o,e[11]=s,e[12]=c,e[13]=l,e[14]=u):u=e[14];let d;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,U.jsx)(`div`,{className:`mt-16`,children:(0,U.jsx)(zR,{groupSlug:`cuadrado-carrusel`})}),e[15]=d):d=e[15];let f;return e[16]===u?f=e[17]:(f=(0,U.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 py-10`,children:[u,d]}),e[16]=u,e[17]=f),f}function gz(e){return(0,U.jsx)(wL,{taller:e},e.id)}var _z=e=>e.type===`checkbox`,vz=e=>e.type===`file`,yz=e=>e instanceof Date,bz=e=>e==null,xz=e=>typeof e==`object`,Sz=e=>!bz(e)&&!Array.isArray(e)&&xz(e)&&!yz(e),Cz=e=>Sz(e)&&e.target?_z(e.target)?e.target.checked:vz(e.target)?e.target.files:e.target.value:e,wz=(e,t)=>
92t.split(`.`).some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join(`.`))),Tz=typeof window<`u`&&window.HTMLElement!==void 0&&typeof document<`u`;function Ez(e){if(typeof e!=`object`||!e)return e;if(e instanceof Date)return new Date(e);let t=typeof FileList<`u`&&e instanceof FileList;if(Tz&&(e instanceof Blob||t))return e;let n=Array.isArray(e);if(!n&&e.constructor!==Object)return e;let r=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=Ez(e[t]));return r}var Dz={BLUR:`blur`,FOCUS_OUT:`focusout`,CHANGE:`change`,SUBMIT:`submit`,TRIGGER:`trigger`,VALID:`valid`},Oz={onBlur:`onBlur`,onChange:`onChange`,onSubmit:`onSubmit`,onTouched:`onTouched`,all:`all`},kz={max:`max`,min:`min`,maxLength:`maxLength`,minLength:`minLength`,pattern:`pattern`,required:`required`,validate:`validate`},Az=`root`,jz=[`__proto__`,`constructor`,`prototype`],Mz=/^\w*$/,Nz=e=>Mz.test(e),Pz=e=>e===void 0,Fz=/[.[\]'"]/,Iz=e=>e.split(Fz).filter(Boolean),$=(e,t,n)=>{if(!t||!Sz(e))return n;let r=Nz(t)?[t]:Iz(t);if(r.some(e=>jz.includes(e)))return n;let i=r.reduce((e,t)=>bz(e)?void 0:e[t],e);return Pz(i)||i===e?Pz(e[t])?n:e[t]:i},Lz=e=>typeof e==`boolean`,Rz=e=>typeof e==`function`,zz=(e,t,n)=>{let r=-1,i=Nz(t)?[t]:Iz(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=Sz(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(jz.includes(t))return;e[t]=a,e=e[t]}},Bz=S.createContext(null);Bz.displayName=`HookFormControlContext`;var Vz=()=>S.useContext(Bz),Hz=(e,t,n,r=!0)=>{let i={};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==Oz.all&&(t._proxyFormState[i]=!r||Oz.all),n&&(n[i]=!0),e[i]}});return i},Uz=Tz?S.useLayoutEffect:S.useEffect,Wz=e=>{let t=e.constructor&&e.constructor.prototype;return Sz(t)&&t.hasOwnProperty(`isPrototypeOf`)},Gz=e=>bz(e)||!xz(e),Kz=(e,t)=>t.length===0&&!Array.isArray(e)&&!Wz(e);function qz(e,t,n=new WeakMap){if(e===t)return!0;if(Gz(e)||Gz(t))return Object.is(e,t);if(yz(e)&&yz(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(Kz(e,r)||Kz(t,i))return Object.is(e,t);if(!r.length&&Array.isArray(e)!==Array.isArray(t))return!1;let a=n.get(e);if(a&&a.has(t))return!0;if(a)a.add(t);else{let r=new WeakSet;r.add(t),n.set(e,r)}for(let i of r){let r=e[i];if(!(i in t))return!1;if(i!==`ref`){let e=t[i];if(yz(r)&&yz(e)||(Sz(r)||Array.isArray(r))&&(Sz(e)||Array.isArray(e))?!qz(r,e,n):!Object.is(r,e))return!1}}return!0}function Jz(){let e=S.useRef(!1),t=S.useRef(void 0);return{resyncIfNeeded:S.useCallback((n,r,i)=>{if(n&&e.current){let e=r();qz(t.current,e)||i(e)}e.current=!0},[]),snapshot:S.useCallback((e,n)=>{e&&(t.current=Ez(n()))},[])}}function Yz(e){let t=Vz(),{control:n=t,disabled:r,name:i,exact:a}=e||{},[o,s]=S.useState(()=>({...n._formState,defaultValues:n._defaultValues})),c=S.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),{resyncIfNeeded:l,snapshot:u}=Jz();return Uz(()=>{let e=()=>({...n._formState,defaultValues:n._defaultValues});l(!r,e,s);let t=n._subscribe({name:i,formState:c.current,exact:a,callback:e=>{!r&&s({...n._formState,...e,defaultValues:n._defaultValues})}});return()=>{t(),u(!r,e)}},[i,r,a,l,u]),S.useEffect(()=>{c.current.isValid&&n._setValid(!0)},[n]),S.useMemo(()=>Hz(o,n,c.current,!1),[o,n])}var Xz=e=>typeof e==`string`,Zz=(e,t,n,r,i)=>Xz(e)?(r&&t.watch.add(e),$(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),$(n,e))):(r&&(t.watchAll=!0),n);function Qz(e){let t=Vz(),{control:n=t,name:r,defaultValue:i,disabled:a,exact:o,compute:s}=e||{},c=S.useRef(i),l=S.useRef(s),u=S.useRef(void 0),d=S.useRef(n),f=S.useRef(r);l.current=s;let[p,m]=S.useState(()=>{let e=n._getWatch(r,c.current);return l.current?l.current(e):e}),h=S.useCallback(e=>{let t=Zz(r,n._names,e||n._formValues,!1,c.current);return l.current?l.current(t):t},[n._formValues,n._names,r]),g=S.useCallback(e=>{if(!a){let t=Zz(r,n._names,e||n._formValues,!1,c.current);if(l.current){let e=l.current(t);qz(e,u.current)||(m(e),u.current=e)}else m(t)}
92},[n._formValues,n._names,a,r]),{resyncIfNeeded:_,snapshot:v}=Jz(),y=S.useRef(g);y.current=g;let b=S.useRef(h);b.current=h,Uz(()=>{d.current!==n||!qz(f.current,r)?(d.current=n,f.current=r,y.current()):_(!a,()=>b.current(),e=>{m(e),u.current=e});let e=n._subscribe({name:r,formState:{values:!0},exact:o,callback:e=>{y.current(e.values)}});return()=>{e(),v(!a,()=>b.current())}},[n,o,r,a,_,v]),S.useEffect(()=>n._removeUnmounted());let x=d.current!==n,C=f.current;return S.useMemo(()=>{if(a)return!1;let e=!x&&!qz(C,r);return x||e},[a,x,r,C])?h():p}function $z(e){let t=Vz(),{name:n,disabled:r,control:i=t,shouldUnregister:a,defaultValue:o,exact:s=!0}=e,c=wz(i._names.array,n),l=Qz({control:i,name:n,defaultValue:S.useMemo(()=>$(i._formValues,n,$(i._defaultValues,n,o)),[i,n,o]),exact:s}),u=Yz({control:i,name:n,exact:s}),d=S.useRef(e),f=S.useRef(null),p=S.useRef(i.register(n,{...e.rules,value:l,...Lz(e.disabled)?{disabled:e.disabled}:{}}));d.current=e;let m=S.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!$(u.errors,n)},isDirty:{enumerable:!0,get:()=>!!$(u.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!$(u.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!$(u.validatingFields,n)},error:{enumerable:!0,get:()=>$(u.errors,n)}}),[u,n]),h=S.useCallback(e=>{let t=Cz(e);return $(i._fields,n)||(p.current=i.register(n,{...d.current.rules,value:t})),p.current.onChange({target:{value:Cz(e),name:n},type:Dz.CHANGE})},[n,i]),g=S.useCallback(()=>p.current.onBlur({target:{value:$(i._formValues,n),name:n},type:Dz.BLUR}),[n,i._formValues]),_=S.useCallback(e=>{e&&(f.current={focus:()=>Rz(e.focus)&&e.focus(),select:()=>Rz(e.select)&&e.select(),setCustomValidity:t=>Rz(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>Rz(e.reportValidity)&&e.reportValidity()});let t=$(i._fields,n);t&&t._f&&e&&(t._f.ref=f.current)},[i._fields,n]),v=S.useMemo(()=>({name:n,value:l,...Lz(r)||u.disabled?{disabled:u.disabled||r}:{},onChange:h,onBlur:g,ref:_}),[n,r,u.disabled,h,g,_,l]);return S.useEffect(()=>{let e=i._options.shouldUnregister||a;p.current=i.register(n,{...d.current.rules,...Lz(d.current.disabled)?{disabled:d.current.disabled}:{}});let t=(e,t)=>{let n=$(i._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){let e=Ez($(a?i._defaultValues:i._options.values||i._defaultValues,n,$(i._options.defaultValues,n,d.current.defaultValue)));zz(i._defaultValues,n,e),Pz($(i._formValues,n))&&zz(i._formValues,n,e)}if(!c&&i.register(n),f.current){let e=$(i._fields,n);e&&e._f&&(e._f.ref=f.current)}return()=>{(c?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}},[n,i,c,a]),S.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),S.useMemo(()=>({field:v,formState:u,fieldState:m}),[v,u,m])}var eB=e=>e.render($z(e)),tB=()=>typeof crypto<`u`&&crypto.randomUUID?crypto.randomUUID():`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e===`x`?t:t&3|8).toString(16)}),nB=(e,t,n={})=>n.shouldFocus||Pz(n.shouldFocus)?n.focusName||`${e}.${Pz(n.focusIndex)?t:n.focusIndex}.`:``,rB=e=>({isOnSubmit:!e||e===Oz.onSubmit,isOnBlur:e===Oz.onBlur,isOnChange:e===Oz.onChange,isOnAll:e===Oz.all,isOnTouch:e===Oz.onTouched}),iB=(e,t,n)=>{if(n)return!1;if(t.watchAll||t.watch.has(e))return!0;for(let n of t.watch)if(e.startsWith(n)&&e.charAt(n.length)===`.`)return!0;return!1},aB=(e,t,n,r)=>{for(let i of n||Object.keys(e)){if(i===`_f`)continue;let a=n?$(e,i):e[i];if(a){let{_f:e}=a;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r||e.ref&&t(e.ref,e.name)&&!r)return!0;if(aB(a,t))break}else if((Sz(a)||Array.isArray(a))&&aB(a,t))break}}},oB=(e,t,n)=>{let r=$(e,n),i=Array.isArray(r)?r:[];return zz(i,Az,t[n]),zz(e,n,i),e},sB=e=>Sz(e)&&!Object.keys(e).length,cB=e=>{if(!Tz)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},lB=e=>e.type===`radio`,uB=e=>e instanceof RegExp,dB=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},fB={value:!1,isValid:!1},pB={value:!0,isValid:!0},mB=e=>{if(!Array.isArray(e))return fB;if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}let t=e[0];return!t||!t.checked||t.disabled?fB:!t.attributes||!(`value`in t.attributes)||Pz(t.value)||t.value===``?pB:{value:t.value,isValid:!0}},hB={isValid:!1,value:null},gB=e=>Array.isArray(e)?e.reduce((e,t)=>
92t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,hB):hB;function _B(e,t,n=`validate`){if(Xz(e)||Array.isArray(e)&&e.every(Xz)||Lz(e)&&!e)return{type:n,message:Xz(e)?e:``,ref:t}}var vB=e=>Sz(e)&&!uB(e)?e:{value:e,message:``},yB=async(e,t,n,r,i,a)=>{let{ref:o,refs:s,required:c,maxLength:l,minLength:u,min:d,max:f,pattern:p,validate:m,name:h,valueAsNumber:g,mount:_}=e._f,v=$(n,h);if(!_||t.has(h))return{};let y=s?s[0]:o,b=e=>{if(i&&y.reportValidity){let t=Lz(e)?``:e||``;s?s.forEach(e=>e.setCustomValidity(t)):y.setCustomValidity(t),y.reportValidity()}},x={},S=lB(o),C=_z(o),w=S||C,T=(g||vz(o))&&Pz(o.value)&&Pz(v)||cB(o)&&o.value===``||v===``||Array.isArray(v)&&!v.length,E=dB.bind(null,h,r,x),D=(e,t,n,r=kz.maxLength,i=kz.minLength)=>{let a=e?t:n;x[h]={type:e?r:i,message:a,ref:o,...E(e?r:i,a)}};if(a?!Array.isArray(v)||!v.length:c&&(!w&&(T||bz(v))||Lz(v)&&!v||C&&!mB(s).isValid||S&&!gB(s).isValid)){let{value:e,message:t}=Xz(c)?{value:!!c,message:c}:vB(c);if(e&&(x[h]={type:kz.required,message:t,ref:y,...E(kz.required,t)},!r))return b(t),x}if(!T&&(!bz(d)||!bz(f))){let e,t,n=vB(f),i=vB(d);if(!bz(v)&&!yz(v)&&!isNaN(v)){let r=o.valueAsNumber||v&&+v;bz(n.value)||(e=r>n.value),bz(i.value)||(t=r<i.value)}else{let r=o.valueAsDate||new Date(v),a=e=>new Date(new Date().toDateString()+` `+e),s=o.type==`time`,c=o.type==`week`;Xz(n.value)&&v&&(e=s?a(v)>a(n.value):c?v>n.value:r>new Date(n.value)),Xz(i.value)&&v&&(t=s?a(v)<a(i.value):c?v<i.value:r<new Date(i.value))}if((e||t)&&(D(!!e,n.message,i.message,kz.max,kz.min),!r))return b(x[h].message),x}if((l||u)&&!T&&(Xz(v)||a&&Array.isArray(v))){let e=vB(l),t=vB(u),n=!bz(e.value)&&v.length>+e.value,i=!bz(t.value)&&v.length<+t.value;if((n||i)&&(D(n,e.message,t.message),!r))return b(x[h].message),x}if(p&&!T&&Xz(v)){let{value:e,message:t}=vB(p);if(uB(e)&&!v.match(e)&&(x[h]={type:kz.pattern,message:t,ref:o,...E(kz.pattern,t)},!r))return b(t),x}if(m){if(Rz(m)){let e=_B(await m(v,n),y);if(e&&(x[h]={...e,...E(kz.validate,e.message)},!r))return b(e.message),x}else if(Sz(m)){let e={};for(let t in m){if(!sB(e)&&!r)break;let i=_B(await m[t](v,n),y,t);i&&(e={...i,...E(t,i.message)},b(i.message),r&&(x[h]=e))}if(!sB(e)&&(x[h]={ref:y,...e},!r))return x}}let O=x[h];return b(!O||O.message),x},bB=e=>Array.isArray(e)?e:[e],xB=(e,t)=>[...e,...bB(t)],SB=e=>Array.isArray(e)?e.map(()=>void 0):void 0;function CB(e,t,n){return[...e.slice(0,t),...bB(n),...e.slice(t)]}var wB=(e,t,n)=>Array.isArray(e)?(Pz(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[],TB=(e,t)=>[...bB(t),...bB(e)],EB=e=>Array.isArray(e)?e.filter(Boolean):[];function DB(e,t){let n=0,r=[...e];for(let e of t)r.splice(e-n,1),n++;return EB(r).length?r:[]}var OB=(e,t)=>Pz(t)?[]:DB(e,bB(t).sort((e,t)=>e-t)),kB=(e,t,n)=>{[e[t],e[n]]=[e[n],e[t]]};function AB(e,t){let n=t.length-1,r=0;for(;r<n;){if(bz(e)){e=void 0;break}e=e[t[r]],r++}return e}function jB(e){for(let t in e)if(e.hasOwnProperty(t)&&!Pz(e[t]))return!1;return!0}function MB(e,t){if(Xz(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let n=Array.isArray(t)?t:Nz(t)?[t]:Iz(t);if(n.some(e=>jz.includes(String(e))))return e;let r=n.length===1?e:AB(e,n),i=n.length-1,a=n[i];return r&&delete r[a],i!==0&&(Sz(r)&&sB(r)||Array.isArray(r)&&jB(r))&&MB(e,n.slice(0,-1)),e}var NB=(e,t,n)=>(e[t]=n,e);function PB(e){let t=Vz(),{control:n=t,name:r,keyName:i=`id`,disabled:a,shouldUnregister:o,rules:s}=e,[c,l]=S.useState(n._getFieldArray(r)),u=S.useRef(n._getFieldArray(r).map(tB)),d=S.useRef(!1);a||n._names.array.add(r),S.useMemo(()=>!a&&s&&c.length>=0&&n.register(r,s),[n,r,c.length,s,a]),Uz(()=>{if(!a)return n._subjects.array.subscribe({next:({values:e,name:t})=>{if(t===r||!t){let n=$(e,r);Array.isArray(n)?(l(n),u.current=n.map(tB)):t||(l([]),u.current=[])}}}).unsubscribe},[n,r,a]);let f=S.useCallback(e=>{d.current=!0,n._setFieldArray(r,e)},[n,r]);return S.useEffect(()=>{if(a){n._state.actionArrayLengths.delete(r);return}n._state.action=!1,n._state.actionArrayLengths.delete(r),iB(r,n._names)&&n._subjects.state.next({...n._formState});let e=rB(n._options.mode);if(d.current&&(!e.isOnSubmit||n._formState.isSubmitted)&&!rB(n._options.reValidateMode).isOnSubmit&&!e.isOnBlur)if(n._options.resolver)n._runSchema([r]).then(e=>{n._updateIsValidating([r]);let t=$(e.errors,r),i=$(n._formState.errors,r),a=i&&(i.type||i.root?.type),o=i&&(i.message||i.root?.message);(i?!t&&a||t&&(a!==t.type||o!==t.message):t&&t.type)&&(t?Sz(t)&&!Object.keys(t).some(e=>!Number.isNaN(+e))?oB(n._formState.errors,{[r]:t},r):zz(n._formState.errors,r,t):MB(n._formState.errors,r),n._subjects.state.next({errors:n._formState.errors}))});else{let e=$(n._fields,r);e&&e._f&&yB(e,n._names.disabled,n._formValues,n._options.criteriaMode===Oz.all,n._options.shouldUseNativeValidation,!0).then(e=>!sB(e)&&n._subjects.state.next({errors:oB(n._formState.errors,e,r)}))}d.current&&n._subjects.state.next({name:r,values:Ez(n._formValues)}
92),n._names.focus&&aB(n._fields,(e,t)=>{if(n._names.focus&&t.startsWith(n._names.focus)&&e.focus)return e.focus(),1}),n._names.focus=``,n._setValid(),d.current=!1},[c,r,n,a]),S.useEffect(()=>(a||!$(n._formValues,r)&&n._setFieldArray(r),()=>{if(n._state.actionArrayLengths.delete(r),a)return;let e=!(n._options.shouldUnregister||o);d.current&&e&&n._subjects.state.next({name:r,values:Ez(n._formValues)}),e?((e,t)=>{let r=$(n._fields,e);r&&r._f&&(r._f.mount=t)})(r,!1):n.unregister(r)}),[r,n,i,o,a]),{swap:S.useCallback((e,t)=>{if(a)return;let i=n._getFieldArray(r);kB(i,e,t),kB(u.current,e,t),f(i),l(i),n._setFieldArray(r,i,kB,{argA:e,argB:t},!1)},[f,r,n,a]),move:S.useCallback((e,t)=>{if(a)return;let i=n._getFieldArray(r);wB(i,e,t),wB(u.current,e,t),f(i),l(i),n._setFieldArray(r,i,wB,{argA:e,argB:t},!1)},[f,r,n,a]),prepend:S.useCallback((e,t)=>{if(a)return;let i=bB(Ez(e)),o=TB(n._getFieldArray(r),i);n._names.focus=nB(r,0,t),u.current=TB(u.current,i.map(tB)),f(o),l(o),n._setFieldArray(r,o,TB,{argA:SB(e)})},[f,r,n,a]),append:S.useCallback((e,t)=>{if(a)return;let i=bB(Ez(e)),o=xB(n._getFieldArray(r),i);n._names.focus=nB(r,o.length-1,t),u.current=xB(u.current,i.map(tB)),f(o),l(o),n._setFieldArray(r,o,xB,{argA:SB(e)})},[f,r,n,a]),remove:S.useCallback(e=>{if(a)return;let t=OB(n._getFieldArray(r),e);u.current=OB(u.current,e),f(t),l(t),!Array.isArray($(n._fields,r))&&zz(n._fields,r,void 0),n._setFieldArray(r,t,OB,{argA:e})},[f,r,n,a]),insert:S.useCallback((e,t,i)=>{if(a)return;let o=bB(Ez(t)),s=CB(n._getFieldArray(r),e,o);n._names.focus=nB(r,e,i),u.current=CB(u.current,e,o.map(tB)),f(s),l(s),n._setFieldArray(r,s,CB,{argA:e,argB:SB(t)})},[f,r,n,a]),update:S.useCallback((e,t)=>{if(a)return;let i=Ez(t),o=NB(n._getFieldArray(r),e,i);u.current=[...o].map((t,n)=>!t||n===e?tB():u.current[n]),f(o),l([...o]),n._setFieldArray(r,o,NB,{argA:e,argB:SB(t)})},[f,r,n,a]),replace:S.useCallback(e=>{if(a)return;let t=bB(Ez(e));u.current=t.map(tB),f([...t]),l([...t]),n._setFieldArray(r,[...t],e=>e,{},!0,!1)},[f,r,n,a]),fields:S.useMemo(()=>c.map((e,t)=>({...e,...Lz(a)?{disabled:a}:{},[i]:u.current[t]||tB()})),[c,i,a])}}var FB=S.createContext(null);FB.displayName=`HookFormContext`;var IB=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function LB(e,t){let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],a=t[r];if(i&&Sz(i)&&a){let e=LB(i,a);Sz(e)&&(n[r]=e)}else e[r]&&(n[r]=a)}return n}var RB=(e,t)=>e!==null&&xz(e)&&Object.prototype.hasOwnProperty.call(e,t),zB=(e,t)=>{if(!t)return!1;let n=e;for(let r of Nz(t)?[t]:Iz(t)){if(!RB(n,r))return RB(e,t);n=n[r]}return!0},BB=e=>e.type===`select-multiple`,VB=e=>lB(e)||_z(e),HB=e=>cB(e)&&e.isConnected;function UB(e){return Array.isArray(e)||Sz(e)}function WB(e,t,n=``,r=[]){for(let i in e){let a=n?`${n}.${i}`:i,o=e[i];UB(o)&&UB($(t,a))?WB(o,t,a,r):r.push(a)}return r}var GB=e=>{for(let t in e)if(Rz(e[t]))return!0;return!1};function KB(e){return Array.isArray(e)||Sz(e)&&!GB(e)}function qB(e){return!!(e&&`_f`in e)}function JB(e){return Array.isArray(e)?!e.some(e=>!Pz(e)):!Object.keys(e).length}function YB(e,t){Array.isArray(e)?e[t]=void 0:delete e[t]}function XB(e,t={},n){for(let r in e){let i=e[r],a=n&&n[r];KB(i)&&(!Array.isArray(i)||!qB(a))?(t[r]=Array.isArray(i)?[]:{},XB(i,t[r],a),JB(t[r])&&YB(t,r)):Pz(i)||(t[r]=!0)}return t}function ZB(e,t,n,r){n||=XB(t,{},r);for(let i in e){let a=e[i],o=r&&r[i];KB(a)&&(!Array.isArray(a)||!qB(o))?(Pz(t)||Gz(n[i])?n[i]=XB(a,Array.isArray(a)?[]:{},o):ZB(a,bz(t)?{}:t[i],n[i],o),JB(n[i])&&YB(n,i)):qz(a,t[i])?YB(n,i):n[i]=!0}return n}var QB=(e,t)=>{let n=t.split(`.`),r=[],i=n[0];for(let t=1;t<n.length;i+=`.`+n[t++])!isNaN(+n[t])&&e.has(i)&&r.push(`${i}.${n[t]}`);return r},$B=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Pz(e)?e:t?e===``?NaN:e&&+e:n&&Xz(e)?new Date(e):r?r(e):e;function eV(e){let t=e.ref;return vz(t)?t.files:lB(t)?gB(e.refs).value:BB(t)?[...t.selectedOptions].map(({value:e})=>e):_z(t)?mB(e.refs).value:$B(t.value,e)}var tV=(e,t,n,r)=>{let i={};for(let n of e){let e=$(t,n);e&&zz(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},nV=e=>Pz(e)?e:uB(e)?e.source:Sz(e)?uB(e.value)?e.value.source:e.value:e,rV=`AsyncFunction`,iV=e=>{if(!e||!e.validate)return!1;if(Rz(e.validate))return e.validate.constructor.name===rV;if(Sz(e.validate)){for(let t in e.validate)if(e.validate[t].constructor.name===rV)return!0}return!1},aV=e=>e.mount&&(e.required||!Pz(e.required)&&e.required!==!1||!Pz(e.min)||!Pz(e.max)||!Pz(e.maxLength)||!Pz(e.minLength)||e.pattern||e.validate);function oV(e,t,n){let r=$(e,n);if(r||Nz(n))return{error:r,name:n};let i=n.split(`.`);for(;i.length;){let r=i.join(`.`),a=$(t,r),o=$(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var sV=(e,t,n,r)=>{n(e);let i=Object.keys(e).filter(e=>e!==`name`);return!i.length||r&&i.length>=Object.keys(t).length||i.find(e=>t[e]===(!r||Oz.all))},cV=(e,t,n)=>!e||!t||e===t||bB(e).some(e=>e&&(n?e===t||e.startsWith(t+`.`):e.startsWith(t)||t.startsWith(e))),lV=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,uV=(e,t)=>{let n=$(e,t);!EB(n).length&&!n?.root&&MB(e,t)},dV={mode:Oz.onSubmit,reValidateMode:Oz.onChange,shouldFocusError:!0},fV=`form`,pV=(e,t)=>{for(let n in e)n in t||delete e[n];Object.assign(e,t)},mV={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function hV(e={}){let t={...dV,...e},n={...Ez(mV),isLoading:Rz(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1}
92,r={},i=(Sz(t.defaultValues)||Sz(t.values))&&Ez(t.defaultValues||t.values)||{},a=t.shouldUnregister?{}:Ez(i),o={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},s={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},c={},l={},u=0,d=rB(t.mode),f=rB(t.reValidateMode),p={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},m={...p},h={...m},g={array:IB(),state:IB()},_=0,v=t.criteriaMode===Oz.all,y=(e,t)=>n=>{clearTimeout(l[e]),l[e]=setTimeout(t,n)},b=async e=>{if(!o.keepIsValid&&!t.disabled&&(m.isValid||h.isValid||e)){let e=++_,i;t.resolver?(i=sB((await j()).errors),e===_&&x()):i=await P({fields:r,onlyCheckValid:!0,eventType:Dz.VALID}),e===_&&i!==n.isValid&&g.state.next({isValid:i})}},x=(e,r)=>{!t.disabled&&(m.isValidating||m.validatingFields||h.isValidating||h.validatingFields)&&((e||s.mount).forEach(e=>{e&&(r?zz(n.validatingFields,e,r):MB(n.validatingFields,e))}),g.state.next({validatingFields:n.validatingFields,isValidating:!sB(n.validatingFields)}))},S=()=>{n.dirtyFields=ZB(i,a,void 0,r)},C=(e,i=[],s,c,l=!0,u=!0)=>{if(c&&s&&!t.disabled){o.action=!0;let t=$(r,e);if(o.actionArrayLengths.has(e)||o.actionArrayLengths.set(e,Array.isArray(t)?t.length:0),u&&Array.isArray(t)){let n=s(t,c.argA,c.argB);l&&zz(r,e,n)}let a=$(n.errors,e);if(u&&Array.isArray(a)){let t=a.root,r=s(a,c.argA,c.argB)||a;t&&(r.root=t),l&&zz(n.errors,e,r),uV(n.errors,e)}let d=$(n.touchedFields,e);if((m.touchedFields||h.touchedFields)&&u&&Array.isArray(d)){let t=s(d,c.argA,c.argB);l&&zz(n.touchedFields,e,t)}(m.dirtyFields||h.dirtyFields)&&S(),g.state.next({name:e,isDirty:I(e,i),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else zz(a,e,i)},w=(e,t)=>{zz(n.errors,e,t),n.errors={...n.errors},g.state.next({errors:n.errors})},T=e=>{n.errors=e,g.state.next({errors:n.errors,isValid:!1})},E=e=>{let t=Nz(e)?[e]:Iz(e),n=a,r=i;for(let e=0;e<t.length-1;e++){let i=t[e];if(n=bz(n)?n:n[i],r=bz(r)?r:r[i],n===null&&r!==null)return!0}return!1},D=e=>{if(!o.actionArrayLengths.size)return!1;let t=Nz(e)?[e]:Iz(e),n=a,r=``,i=-1,s=0;for(let e=0;e<t.length;e++){if(bz(n))return!1;let a=t[e];if(r=r?`${r}.${a}`:a,Array.isArray(n)&&+a>=n.length)return i===-1?!1:e!==i||+a<s;o.actionArrayLengths.has(r)&&(i=e+1,s=o.actionArrayLengths.get(r)),n=n[a]}return!1},O=(t,c,l,u)=>{let d=$(r,t);if(d){if(E(t)||D(t))return;let r=Pz($(a,t)),f=$(a,t,Pz(l)?$(i,t):l);Pz(f)||u&&u.defaultChecked||c?zz(a,t,c?f:eV(d._f)):ee(t,f),o.mount&&!o.action&&(b(),r&&n.isDirty&&(m.isDirty||h.isDirty)&&(I()||(n.isDirty=!1,g.state.next({...n}))),e.shouldUnregister&&r&&!Pz($(a,t))&&iB(t,s)&&(o.watch=!0))}},k=(e,o,s,c,l)=>{let u=!1,d=!1,f={name:e};if(!t.disabled||c===!0){if(!s||c){let t=qz($(i,e),o);(m.isDirty||h.isDirty)&&(d=n.isDirty,n.isDirty=f.isDirty=!t||I(),u=d!==f.isDirty),d=!!$(n.dirtyFields,e),t===n.isDirty?t?MB(n.dirtyFields,e):zz(n.dirtyFields,e,!0):pV(n.dirtyFields,ZB(i,a,void 0,r)),f.dirtyFields=n.dirtyFields,u||=(m.dirtyFields||h.dirtyFields)&&d!==!t}if(s){let t=$(n.touchedFields,e);t||(zz(n.touchedFields,e,s),f.touchedFields=n.touchedFields,u||=(m.touchedFields||h.touchedFields)&&t!==s)}u&&l&&g.state.next(f)}return u?f:{}},A=(e,r,i,a)=>{let o=$(n.errors,e),s=(m.isValid||h.isValid)&&Lz(r)&&n.isValid!==r;if(t.delayError&&i?(c[e]=y(e,()=>w(e,i)),c[e](t.delayError)):(clearTimeout(l[e]),delete c[e],i?zz(n.errors,e,i):MB(n.errors,e),n.errors={...n.errors}),(i?!qz(o,i):o)||!sB(a)||s){let t={...a,...s&&Lz(r)?{isValid:r}:{},errors:n.errors,name:e};g.state.next(t)}},j=async e=>(x(e,!0),await t.resolver(a,t.context,tV(e||s.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),M=async e=>{let{errors:t}=await j(e);if(x(e),e){for(let r of e){let e=$(t,r);e?s.array.has(r)&&Sz(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e)))?oB(n.errors,{[r]:e},r):zz(n.errors,r,e):MB(n.errors,r)}n.errors={...n.errors}}else n.errors=t;return t},N=async({name:t,eventType:r})=>{if(e.validate){let i=await e.validate({formValues:a,formState:n,name:t,eventType:r});if(Sz(i))for(let e in i){let t=i[e];t&&ce(`${fV}.${e}`,{message:Xz(t.message)?t.message:``,type:t.type||kz.validate})}else Xz(i)||!i?ce(fV,{message:i||``,type:kz.validate}):se(fV);return i}return!0},P=async({fields:r,onlyCheckValid:i,name:o,eventType:c,context:l={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(l.runRootValidation=!0,!await N({name:o,eventType:c})&&(l.valid=!1,i)))return l.valid;
92for(let o in r){let u=r[o];if(u){let{_f:r,...d}=u;if(r){let o=s.array.has(r.name),c=u._f&&iV(u._f),d=m.validatingFields||m.isValidating||h.validatingFields||h.isValidating;c&&d&&x([r.name],!0);let f=await yB(u,s.disabled,a,v,t.shouldUseNativeValidation&&!i,o);if(c&&d&&x([r.name]),f[r.name]&&(l.valid=!1,i)||(!i&&($(f,r.name)?o?oB(n.errors,f,r.name):zz(n.errors,r.name,f[r.name]):MB(n.errors,r.name)),e.shouldUseNativeValidation&&f[r.name]))break}!sB(d)&&await P({context:l,onlyCheckValid:i,fields:d,name:o,eventType:c})}}return l.valid},F=()=>{for(let e of s.unMount){let t=$(r,e);t&&(t._f.refs?t._f.refs.every(e=>!HB(e)):!HB(t._f.ref))&&fe(e)}s.unMount=new Set},I=(e,t)=>(e&&t&&zz(a,e,t),!qz(o.mount?a:i,i)),L=(e,t,n)=>Zz(e,s,{...o.mount?a:Pz(t)||Xz(e)?i:t},n,t),R=e=>EB($(o.mount?a:i,e,t.shouldUnregister?$(i,e,[]):[])),ee=(e,t,n={},i=!1,o=!1,s=!1)=>{let c=$(r,e),l=t;if(c){let n=c._f;n&&(!n.disabled&&zz(a,e,$B(t,n)),l=cB(n.ref)&&bz(t)?``:t,BB(n.ref)?[...n.ref.options].forEach(e=>e.selected=l.includes(e.value)):n.refs?_z(n.ref)?n.refs.forEach(e=>{(!e.defaultChecked||!e.disabled)&&(Array.isArray(l)?e.checked=!!l.find(t=>t===e.value):e.checked=l===e.value||!!l)}):n.refs.forEach(e=>e.checked=e.value===l):vz(n.ref)?n.ref.value=``:(n.ref.value=l,!n.ref.type&&!o&&!s&&g.state.next({name:e,values:i?a:Ez(a)})))}(n.shouldDirty||n.shouldTouch)&&k(e,l,n.shouldTouch,n.shouldDirty,!o),n.shouldValidate&&ie(e,{delayError:n.delayError})},z=(e,t,n,i=!1,o=!1,c=!1)=>{s.array.has(e)&&g.array.next({name:e,values:i?a:Ez(a)});for(let a in t){if(!t.hasOwnProperty(a))return;let l=t[a],u=e+`.`+a,d=$(r,u);(s.array.has(e)||Sz(l)||d&&!d._f)&&!yz(l)?z(u,l,n,i,o,c):ee(u,l,n,i,o,c)}},B=(e,t,i,c,l=!1)=>{let u=$(r,e),d=s.array.has(e),f=c?t:Ez(t),p=qz($(a,e),f);if(p||zz(a,e,f),d)g.array.next({name:e,values:c?a:Ez(a)}),(m.isDirty||m.dirtyFields||h.isDirty||h.dirtyFields)&&i.shouldDirty&&(S(),l||g.state.next({name:e,dirtyFields:n.dirtyFields,isDirty:I(e,f)}));else{let t=Array.isArray(f)&&!f.length||sB(f),n=!p&&!l;!u||u._f||bz(f)||t?ee(e,f,i,c,l,n):z(e,f,i,c,l,n)}if(!p&&!l){let t=iB(e,s),r=c?a:Ez(a);if(g.state.next({...t&&n,name:o.mount||t?e:void 0,values:r}),!d)for(let t of QB(s.array,e))g.state.next({name:t,values:r})}},te=(e,t,n={})=>B(e,t,n,!1),V=(e,t={})=>{let r=Rz(e)?e(a):e;if(!qz(a,r)){a={...a,...r};for(let e of s.mount)zB(r,e)&&B(e,$(r,e),t,!0,!0);g.state.next({...n,name:void 0,type:void 0,...u?{values:a}:{}}),t.shouldValidate&&b()}},ne=async i=>{o.mount=!0;let l=i.target,p=l.name,_=!0,y=$(r,p),S=e=>{_=Number.isNaN(e)||yz(e)&&isNaN(e.getTime())||qz(e,$(a,p,e))};if(y){let o,C,w=l.type?eV(y._f):Cz(i),T=i.type===Dz.BLUR||i.type===Dz.FOCUS_OUT,E=!aV(y._f)&&!e.validate&&!t.resolver&&!$(n.errors,p)&&!y._f.deps,D=E||lV(T,$(n.touchedFields,p),n.isSubmitted,f,d),O=iB(p,s,T);if(zz(a,p,w),T){if(!l||!l.readOnly){y._f.onBlur&&y._f.onBlur(i);let e=c[p];e&&e(0)}}else y._f.onChange&&y._f.onChange(i);let M=k(p,w,T),F=!sB(M)||O;if(!T&&g.state.next({name:p,type:i.type,...u?{values:Ez(a)}:{}}),D)return(!E||!n.isValid)&&(m.isValid||h.isValid)&&(t.mode===`onBlur`?T&&b():T||b()),F&&g.state.next({name:p,...O?{}:M});if(!t.resolver&&e.validate&&await N({name:p,eventType:i.type}),!T&&O&&g.state.next({...n}),t.resolver){let{errors:e}=await j([p]);if(x([p]),S(w),!_){!sB(M)&&g.state.next(M);return}let t=oV(n.errors,r,p),i=oV(e,r,t.name||p);o=i.error,p=i.name,C=sB(e)}else x([p],!0),o=(await yB(y,s.disabled,a,v,t.shouldUseNativeValidation))[p],x([p]),S(w),_&&(o?C=!1:(m.isValid||h.isValid)&&(C=await P({fields:r,onlyCheckValid:!0,name:p,eventType:i.type})));_&&(y._f.deps&&(!Array.isArray(y._f.deps)||y._f.deps.length>0)&&ie(y._f.deps),A(p,C,o,M))}},re=(e,t)=>{if($(n.errors,t)&&e.focus)return e.focus(),1},ie=async(e,i={})=>{let a,o,u=bB(e);if(t.resolver){let t=await M(Pz(e)?e:u);a=sB(t),o=e?!u.some(e=>$(t,e)):a}else e?(o=(await Promise.all(u.map(async e=>{let t=$(r,e);return await P({fields:t&&t._f?{[e]:t}:t,eventType:Dz.TRIGGER})}))).every(Boolean),!(!o&&!n.isValid)&&b()):o=a=await P({fields:r,name:e,eventType:Dz.TRIGGER});if(i.delayError&&t.delayError&&Xz(e)){let r=$(n.errors,e);r?(MB(n.errors,e),c[e]=y(e,()=>w(e,r)),c[e](t.delayError)):(clearTimeout(l[e]),delete c[e])}return g.state.next({...!Xz(e)||(m.isValid||h.isValid)&&a!==n.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},errors:n.errors}),i.shouldFocus&&!o&&aB(r,re,e?u:s.mount),o},ae=(e,t)=>{let r={...o.mount?a:i};return t&&(r=LB(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),Pz(e)?r:Xz(e)?$(r,e):e.map(e=>$(r,e))},oe=e=>Pz(e)?{...n.errors}:Xz(e)?$(n.errors,e):e.map(e=>$(n.errors,e)),H=(e,t)=>{let r=t||n,i=$(r.errors,e);
92return{invalid:!!i,isDirty:!!$(r.dirtyFields,e),error:i,isValidating:!!$(n.validatingFields,e),isTouched:!!$(r.touchedFields,e)}},se=e=>{let t=e?bB(e):void 0;t?.forEach(e=>MB(n.errors,e)),t?t.forEach(e=>{g.state.next({name:e,errors:n.errors})}):(n.errors={},g.state.next({errors:n.errors}))},ce=(e,t,i)=>{let a=($(r,e,{_f:{}})._f||{}).ref,{ref:o,message:s,type:c,...l}=$(n.errors,e)||{};zz(n.errors,e,{...l,...t,ref:a}),g.state.next({name:e,errors:n.errors,isValid:!1}),i&&i.shouldFocus&&a&&a.focus&&a.focus()},le=(e,t)=>{if(Rz(e)){u++;let{unsubscribe:n}=g.state.subscribe({next:n=>`values`in n&&e(n.values||L(void 0,t),n)}),r=!1;return{unsubscribe:()=>{r||(r=!0,u--,n())}}}return L(e,t,!0)},ue=e=>{let t=!!e.formState?.values;t&&u++;let{unsubscribe:r}=g.state.subscribe({next:t=>{if(cV(e.name,t.name,e.exact)&&sV(t,e.formState||m,Se,e.reRenderRoot)){let r={...a};e.callback({values:r,...n,...t,defaultValues:i})}}});if(!t)return r;let o=!1;return()=>{o||(o=!0,u--,r())}},de=e=>(o.mount=!0,h={...h,...e.formState},ue({...e,formState:{...p,...e.formState}})),fe=(e,o={})=>{for(let c of e?bB(e):s.mount)s.mount.delete(c),s.array.delete(c),o.keepValue||(MB(r,c),MB(a,c)),!o.keepError&&MB(n.errors,c),!o.keepDirty&&MB(n.dirtyFields,c),!o.keepTouched&&MB(n.touchedFields,c),!o.keepIsValidating&&MB(n.validatingFields,c),!t.shouldUnregister&&!o.keepDefaultValue&&MB(i,c);u&&g.state.next({values:Ez(a)}),g.state.next({...n,...o.keepDirty?{}:{isDirty:I()}}),!o.keepIsValid&&b()},pe=({disabled:e,name:t})=>{if(Lz(e)&&o.mount||e||s.disabled.has(t)){let n=s.disabled.has(t)!==!!e;e?s.disabled.add(t):s.disabled.delete(t),n&&o.mount&&!o.action&&b()}},me=(e,n={})=>{let a=$(r,e),c=Lz(n.disabled)||Lz(t.disabled),l=!s.registerName.has(e)&&a&&a._f&&!a._f.mount;return zz(r,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...n}}),s.mount.add(e),a&&!l?pe({disabled:Lz(n.disabled)?n.disabled:t.disabled,name:e}):O(e,!0,n.value),{...c?{disabled:n.disabled||t.disabled}:{},...t.progressive?{required:!!n.required,min:nV(n.min),max:nV(n.max),minLength:nV(n.minLength),maxLength:nV(n.maxLength),pattern:nV(n.pattern)}:{},name:e,onChange:ne,onBlur:ne,ref:c=>{if(c){s.registerName.add(e),me(e,n),s.registerName.delete(e),a=$(r,e);let t=Pz(c.value)&&c.querySelectorAll&&c.querySelectorAll(`input,select,textarea`)[0]||c,o=VB(t),l=a._f.refs||[];if(o?l.find(e=>e===t):t===a._f.ref)return;let u={...a._f};o?(u.refs=[...l.filter(HB),t,...Array.isArray($(i,e))?[{}]:[]],u.ref={type:t.type,name:e}):(u.ref=t,delete u.refs),zz(r,e,{_f:u}),O(e,!1,void 0,t)}else a=$(r,e,{}),a._f&&(a._f.mount=!1),(t.shouldUnregister||n.shouldUnregister)&&!(wz(s.array,e)&&o.action)&&s.unMount.add(e)}}},he=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&aB(r,re,s.mount),ge=e=>{Lz(e)&&(g.state.next({disabled:e}),aB(r,(t,n)=>{let i=$(r,n);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0,!1))},_e=(e,i)=>async o=>{let c,l;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let u=Ez(a);if(g.state.next({isSubmitting:!0}),t.resolver){let{errors:e,values:t}=await j();x(),n.errors=e,u=Ez(t)}else await P({fields:r,eventType:Dz.SUBMIT});if(s.disabled.size)for(let e of s.disabled)MB(u,e);if(MB(n.errors,Az),sB(n.errors)){g.state.next({errors:{}});try{c=await e(u,o)}catch(e){l=e}}else i&&await i({...n.errors},o),he(),setTimeout(he);if(g.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:sB(n.errors)&&!l,submitCount:n.submitCount+1,errors:n.errors}),l)throw l;return c},ve=(e,t={})=>{$(r,e)&&(Pz(t.defaultValue)?te(e,Ez($(i,e))):(te(e,t.defaultValue),zz(i,e,Ez(t.defaultValue))),t.keepTouched||MB(n.touchedFields,e),t.keepDirty||(MB(n.dirtyFields,e),n.isDirty=t.defaultValue?I(e,Ez($(i,e))):I()),t.keepError||(MB(n.errors,e),m.isValid&&b()),g.state.next({...n}))},ye=(e,c={})=>{let l=e?Ez(e):i,u=Ez(l),d=sB(e),f=u,p=r;if(c.keepDefaultValues||(i=l),!c.keepValues){if(c.keepDirtyValues){let e=new Set([...s.mount,...WB(ZB(i,a,void 0,p),n.dirtyFields)]);for(let t of e){let e=$(n.dirtyFields,t),r=$(a,t),i=$(f,t);e&&!Pz(r)?zz(f,t,r):!e&&!Pz(i)&&te(t,i)}}else{if(Tz&&Pz(e))for(let e of s.mount){let t=$(r,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(cB(e)){let t=e.closest(`form`);if(t){t.reset();break}}}}if(c.keepFieldsRef)for(let e of s.mount)te(e,$(f,e));else r={}}if(t.shouldUnregister){if(a=c.keepDefaultValues?Ez(i):{},c.keepFieldsRef)for(let e of s.mount)zz(a,e,$(f,e))}else a=Ez(f);g.array.next({values:{...f}}),g.state.next({name:void 0,type:void 0,values:{...f}})}s={mount:c.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:``},o.mount=!m.isValid||!!c.keepIsValid||!!c.keepDirtyValues||!t.shouldUnregister&&!sB(f),o.watch=!!t.shouldUnregister,o.keepIsValid=!!c.keepIsValid,o.action=!1,o.actionArrayLengths.clear(),c.keepErrors||(n.errors={}),g.state.next({submitCount:c.keepSubmitCount?n.submitCount:0,isDirty:d?!1:c.keepDirty?n.isDirty:c.keepValues?I():!!(c.keepDefaultValues&&!qz(e,i)),isSubmitted:c.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:d?{}:c.keepDirtyValues?c.keepDefaultValues&&a?ZB(i,a,void 0,p):n.dirtyFields:c.keepDefaultValues&&e?ZB(i,e,void 0,p):c.keepDirty?n.dirtyFields:{},touchedFields:c.keepTouched?n.touchedFields:{},errors:c.keepErrors?n.errors:{},isSubmitSuccessful:c.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},be=(e,n)=>ye(Rz(e)?e(a):e,{...t.resetOptions,...n}),xe=(e,t={})=>{let n=$(r,e),i=n&&n._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&Rz(e.select)&&e.select()})}},Se=e=>{let{name:t,type:r,values:i,...a}=e;n={...n,...a}};g.state.subscribe({next:Se});let Ce={control:{register:me,unregister:fe,getFieldState:H,handleSubmit:_e,setError:ce,_subscribe:ue,_runSchema:j,_updateIsValidating:x,_focusError:he,_getWatch:L,_getDirty:I,_setValid:b,_setFieldArray:C,_setDisabledField:pe,_setErrors:T,_getFieldArray:R,_reset:ye,_resetDefaultValues:()=>Rz(t.defaultValues)&&t.defaultValues().then(e=>{be(e,t.resetOptions),g.state.next({isLoading:!1})}),_removeUnmounted:F,_disableForm:ge,_subjects:g,_proxyFormState:m,get _fields(){return r},get _formValues(){return a},get _state(){return o},set _state(e){o=e},get _defaultValues(){return i},get _names(){return s},set _names(e){s=e},get _formState(){return n},get _options(){return t},set _options(e){t={...t,...e},d=rB(t.mode),f=rB(t.reValidateMode)}},subscribe:de,trigger:ie,register:me,handleSubmit:_e,watch:le,setValue:te,
92setValues:V,getValues:ae,getErrors:oe,reset:be,resetField:ve,resetDefaultValues:(e,t={})=>{if(i=Ez(e),!t.keepDirty){let e=ZB(i,a,void 0,r);n.dirtyFields=e,n.isDirty=!sB(e)}t.keepIsValid||b(),g.state.next({...n,defaultValues:i})},clearErrors:se,unregister:fe,setError:ce,setFocus:xe,getFieldState:H};return{...Ce,formControl:Ce}}function gV(e={}){let t=S.useRef(void 0),n=S.useRef(void 0),r=S.useRef(e.formControl),[i,a]=S.useState(()=>({...Ez(mV),isLoading:Rz(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Rz(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&r.current!==e.formControl)if(r.current=e.formControl,e.formControl)t.current={...e.formControl,formState:i},e.defaultValues&&!Rz(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...r}=hV(e);t.current={...r,formState:i}}let o=t.current.control;o._options=e;let{resyncIfNeeded:s,snapshot:c}=Jz();return Uz(()=>{let e=()=>({...o._formState,defaultValues:o._defaultValues});s(!0,e,a);let t=o._subscribe({formState:o._proxyFormState,callback:()=>a({...o._formState,defaultValues:o._defaultValues}),reRenderRoot:!0});return a(e=>({...e,isReady:!0})),o._formState.isReady=!0,()=>{t(),c(!0,e)}},[o,s,c]),S.useEffect(()=>o._disableForm(e.disabled),[o,e.disabled]),S.useEffect(()=>{e.mode&&(o._options.mode=e.mode),e.reValidateMode&&(o._options.reValidateMode=e.reValidateMode)},[o,e.mode,e.reValidateMode]),S.useEffect(()=>{e.errors&&(o._setErrors(e.errors),o._focusError())},[o,e.errors]),S.useEffect(()=>{e.shouldUnregister&&o._subjects.state.next({values:o._getWatch()})},[o,e.shouldUnregister]),S.useEffect(()=>{if(o._proxyFormState.isDirty){let e=o._getDirty();e!==i.isDirty&&o._subjects.state.next({isDirty:e})}},[o,i.isDirty]),S.useEffect(()=>{e.values&&!qz(e.values,n.current)?(o._reset(e.values,{keepFieldsRef:!0,...o._options.resetOptions}),o._options.resetOptions?.keepIsValid||o._setValid(),n.current=e.values,a(e=>({...e}))):o._resetDefaultValues()},[o,e.values]),S.useEffect(()=>{o._state.mount||(o._setValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),t.current.formState=S.useMemo(()=>Hz(i,o),[o,i]),t.current}var _V=(e,t,n)=>{if(e&&`reportValidity`in e){let r=$(n,t);e.setCustomValidity(r&&r.message||``),e.reportValidity()}},vV=(e,t)=>{for(let n in t.fields){let r=t.fields[n];r&&r.ref&&`reportValidity`in r.ref?_V(r.ref,n,e):r&&r.refs&&r.refs.forEach(t=>_V(t,n,e))}},yV=(e,t)=>{t.shouldUseNativeValidation&&vV(e,t);let n={};for(let r in e){let i=$(t.fields,r),a=Object.assign(e[r]||{},{ref:i&&i.ref});if(bV(t.names||Object.keys(e),r)){let e=Object.assign({},$(n,r));zz(e,`root`,a),zz(n,r,e)}else zz(n,r,a)}return n},bV=(e,t)=>{let n=xV(t).replace(/[.*+?^${}()|\\]/g,`\\$&`);return e.some(e=>xV(e).match(`^${n}\\.\\d+`))};function xV(e){return e.replace(/[\[\]]/g,``)}function SV(){return SV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SV.apply(null,arguments)}function CV(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function wV(e,t){for(var n={};e.length;){var r=e[0],i=r.code,a=r.message,o=r.path.join(`.`);if(!n[o])if(`unionErrors`in r){var s=r.unionErrors[0].errors[0];n[o]={message:s.message,type:s.code}}else n[o]={message:a,type:i};if(`unionErrors`in r&&r.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var c=n[o].types,l=c&&c[r.code];n[o]=dB(o,t,n,i,l?[].concat(l,r.message):r.message)}e.shift()}return n}function TV(e,t){for(var n={},r=function(){var r=e[0],i=r.code,a=r.message,o=r.path.join(`.`);if(!n[o])if(r.code===`invalid_union`&&r.errors.length>0){var s=r.errors[0][0];n[o]={message:s.message,type:s.code}}else n[o]={message:a,type:i};if(r.code===`invalid_union`&&r.errors.forEach(function(t){return t.forEach(function(t){return e.push(SV({},t,{path:[].concat(r.path,t.path)}))})}),t){var c=n[o].types,l=c&&c[r.code];n[o]=dB(o,t,n,i,l?[].concat(l,r.message):r.message)}e.shift()};e.length;)r();return n}function EV(e,t,n){if(n===void 0&&(n={}),function(e){return`_def`in e&&typeof e._def==`object`&&`typeName`in e._def}(e))return function(r,i,a){try{return Promise.resolve(CV(function(){return Promise.resolve(e[n.mode===`sync`?`parse`:`parseAsync`](r,t)).then(function(e){return a.shouldUseNativeValidation&&vV({},a),{errors:{},values:n.raw?Object.assign({},r):e}})},function(e){if(function(e){return Array.isArray(e?.issues)}(e))return{values:{},errors:yV(wV(e.errors,!a.shouldUseNativeValidation&&a.criteriaMode===`all`),a)};throw e}))}catch(e){return Promise.reject(e)}};if(function(e){return`_zod`in e&&typeof e._zod==`object`}(e))return function(r,i,a){try{return Promise.resolve(CV(function(){return Promise.resolve((n.mode===`sync`?Zw:$w)(e,r,t)).then(function(e){return a.shouldUseNativeValidation&&vV({},a),{errors:{},values:n.raw?Object.assign({},r):e}})},function(e){if(function(e){return e instanceof Kw}(e))return{values:{},errors:yV(TV(e.issues,!a.shouldUseNativeValidation&&a.criteriaMode===`all`),a)};throw e}))}catch(e){return Promise.reject(e)}};throw Error(`Invalid input: not a Zod schema`)}function DV(e){let t=(0,w.c)(13),{id:n,label:r,error:i,required:a,children:o}=e,s=i?`${n}-error`:void 0,c;t[0]===a?c=t[1]:(c=a&&(0,U.jsx)(`span`,{style:{color:`var(--red-500)`},children:`*`}),t[0]=a,t[1]=c);let l;t[2]!==n||t[3]!==r||t[4]!==c?(l=(0,U.jsxs)(`label`,{htmlFor:n,className:`section-label`,children:[r,` `,c]}),t[2]=n,t[3]=r,t[4]=c,t[5]=l):l=t[5];let u;t[6]!==i||t[7]!==s?(u=i&&(0,U.jsx)(`span`,{id:s,className:`text-xs`,style:{fontFamily:`var(--font-display)`,color:`var(--red-500)`},children:i}),t[6]=i,t[7]=s,t[8]=u):u=t[8];let d;return t[9]!==o||t[10]!==l||t[11]!==u?(d=(0,U.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[l,o,u]}),t[9]=o,t[10]=l,t[11]=u,t[12]=d):d=t[12],d}var OV=`w-full px-3 py-2.5 text-sm bg-transparent outline-none`,kV=e=>({fontFamily:`var(--font-display)`,color:`var(--ink-primary)`,border:`1px solid ${e?`var(--red-500)`:`var(--ink-rule)`}`,background:`var(--bg-surface)`});function AV(e){let t=(0,w.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({error:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=kV(n),t[3]=n,t[4]=i);let a=!!n,o;return t[5]!==r||t[6]!==i||t[7]!==a?(o=(0,U.jsx)(`input`,{className:OV,style:i,"aria-invalid":a,...r}),t[5]=r,t[6]=i,t[7]=a,t[8]=o):o=t[8],o}function jV(e){let t=(0,w.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({error:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=kV(n),t[3]=n,t[4]=i);let a=!!n,o;return t[5]!==r||t[6]!==i||t[7]!==a?(o=(0,U.jsx)(`textarea`,{className:OV,style:i,"aria-invalid":a,...r}),t[5]=r,t[6]=i,t[7]=a,t[8]=o):o=t[8],o}function MV(e){let t=(0,w.c)(3),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={fontFamily:`var(--font-display)`},t[0]=r):r=t[0];let i;return t[1]===n?i=t[2]:(i=(0,U.jsx)(`button`,{type:`submit`,className:`action-button-primary min-h-11 cursor-pointer px-6 py-3 text-[11px] font-[800] uppercase tracking-[0.15em]`,style:r,children:n}),t[1]=n,t[2]=i),i}var NV=aA({nombre:Z().min(2,`Ingresá tu nombre completo`),email:Z().email(`Email inválido`),workshopIds:rA(Z()).min(1,`Seleccioná al menos un taller`).transform(e=>e.map(Number)),mensaje:Z().min(10,`El mensaje es muy corto`)});function PV(){let e=(0,w.c)(68);vI(`Inscripción a Talleres â FM La Tribu`);let{data:t}=xL(),n=SL(),r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=EV(NV),e[0]=r):r=e[0];let i;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(i={resolver:r,defaultValues:{mensaje:`Hola, me gustarÃa obtener más información y anotarme en los siguientes talleres:`,workshopIds:[]}},e[1]=i):i=e[1];let{register:a,handleSubmit:o,formState:s}=gV(i),{errors:c}=s,l;e[2]===n?l=e[3]:(l=function(e){n.mutate({nombre:e.nombre,email:e.email,workshopIds:e.workshopIds})},e[2]=n,e[3]=l);let u=l,d;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,U.jsx)(`p`,{className:`section-label mb-2`,children:`Centro de Capacitación`}),e[4]=d):d=e[4];let f;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,U.jsx)(`h1`,{className:`uppercase leading-none mb-2`,style:{fontFamily:`var(--font-display)`,fontWeight:900,fontSize:`clamp(2rem, 6vw, 3.5rem)`,color:`var(--text-accent)`},children:`Inscripción a Talleres`}),e[5]=f):f=e[5];let p;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,U.jsx)(`p`,{className:`text-sm mb-8`,style:{fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},children:`Completá el formulario para inscribirte a los talleres seleccionados.`}),e[6]=p):p=e[6];let m;e[7]!==o||e[8]!==u?(m=o(u),e[7]=o,e[8]=u,e[9]=m):m=e[9];let h=c.nombre?.message,g;
92e[10]===a?g=e[11]:(g=a(`nombre`),e[10]=a,e[11]=g);let _=!!c.nombre,v=c.nombre?`nombre-error`:void 0,y;e[12]!==_||e[13]!==v||e[14]!==g?(y=(0,U.jsx)(AV,{id:`nombre`,...g,placeholder:`Tu nombre y apellido`,error:_,"aria-describedby":v}),e[12]=_,e[13]=v,e[14]=g,e[15]=y):y=e[15];let b;e[16]!==y||e[17]!==h?(b=(0,U.jsx)(DV,{id:`nombre`,label:`Nombre completo`,error:h,required:!0,children:y}),e[16]=y,e[17]=h,e[18]=b):b=e[18];let x=c.email?.message,S;e[19]===a?S=e[20]:(S=a(`email`),e[19]=a,e[20]=S);let C=!!c.email,T=c.email?`email-error`:void 0,E;e[21]!==S||e[22]!==C||e[23]!==T?(E=(0,U.jsx)(AV,{id:`email`,...S,type:`email`,placeholder:`[email protected]`,error:C,"aria-describedby":T}),e[21]=S,e[22]=C,e[23]=T,e[24]=E):E=e[24];let D;e[25]!==x||e[26]!==E?(D=(0,U.jsx)(DV,{id:`email`,label:`Email`,error:x,required:!0,children:E}),e[25]=x,e[26]=E,e[27]=D):D=e[27];let O;e[28]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,U.jsxs)(`legend`,{className:`section-label`,children:[`Talleres de interés `,(0,U.jsx)(`span`,{style:{color:`var(--red-500)`},children:`*`})]}),e[28]=O):O=e[28];let k;e[29]!==c.workshopIds||e[30]!==a||e[31]!==t?(k=t?.map(e=>(0,U.jsxs)(`label`,{className:`flex items-start gap-3 cursor-pointer`,children:[(0,U.jsx)(`input`,{type:`checkbox`,value:e.id,...a(`workshopIds`),className:`mt-0.5 w-4 h-4 shrink-0`,style:{accentColor:`var(--brand-blue)`},"aria-describedby":c.workshopIds?`talleres-error`:void 0}),(0,U.jsx)(`span`,{className:`text-sm`,style:{fontFamily:`var(--font-display)`,color:`var(--ink-secondary)`},children:e.title})]},e.id)),e[29]=c.workshopIds,e[30]=a,e[31]=t,e[32]=k):k=e[32];let A;e[33]===t?A=e[34]:(A=!t&&(0,U.jsx)(`p`,{className:`text-sm`,style:{fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},children:`Cargando talleres...`}),e[33]=t,e[34]=A);let j;e[35]!==k||e[36]!==A?(j=(0,U.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[k,A]}),e[35]=k,e[36]=A,e[37]=j):j=e[37];let M;e[38]===c.workshopIds?M=e[39]:(M=c.workshopIds&&(0,U.jsx)(`span`,{id:`talleres-error`,className:`text-xs`,style:{fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--red-500)`},children:c.workshopIds.message}),e[38]=c.workshopIds,e[39]=M);let N;e[40]!==j||e[41]!==M?(N=(0,U.jsxs)(`fieldset`,{className:`flex flex-col gap-1.5 border-0 p-0 m-0`,children:[O,j,M]}),e[40]=j,e[41]=M,e[42]=N):N=e[42];let P=c.mensaje?.message,F;e[43]===a?F=e[44]:(F=a(`mensaje`),e[43]=a,e[44]=F);let I=!!c.mensaje,L=c.mensaje?`mensaje-error`:void 0,R;e[45]!==F||e[46]!==I||e[47]!==L?(R=(0,U.jsx)(jV,{id:`mensaje`,...F,rows:4,error:I,"aria-describedby":L}),e[45]=F,e[46]=I,e[47]=L,e[48]=R):R=e[48];let ee;e[49]!==P||e[50]!==R?(ee=(0,U.jsx)(DV,{id:`mensaje`,label:`Mensaje`,error:P,required:!0,children:R}),e[49]=P,e[50]=R,e[51]=ee):ee=e[51];let z;e[52]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,U.jsx)(MV,{children:`Enviar inscripción â`}),e[52]=z):z=e[52];let B;e[53]!==n.error||e[54]!==n.isError?(B=n.isError&&(0,U.jsx)(`p`,{className:`text-xs`,style:{fontFamily:`var(--font-display)`,color:`var(--red-500)`},children:XI(n.error,`No se pudo enviar la inscripción. Intentá de nuevo.`)}),e[53]=n.error,e[54]=n.isError,e[55]=B):B=e[55];let te;e[56]!==b||e[57]!==D||e[58]!==N||e[59]!==ee||e[60]!==B||e[61]!==m?(te=(0,U.jsxs)(`form`,{onSubmit:m,className:`flex flex-col gap-5`,children:[b,D,N,ee,z,B]}),e[56]=b,e[57]=D,e[58]=N,e[59]=ee,e[60]=B,e[61]=m,e[62]=te):te=e[62];let V;e[63]===n.isSuccess?V=e[64]:(V=n.isSuccess&&(0,U.jsx)(`div`,{role:`status`,className:`mt-4 p-4 border`,style:{borderColor:`var(--radio-blue-deep)`,background:`var(--bg-surface)`},children:(0,U.jsx)(`p`,{className:`text-sm`,style:{fontFamily:`var(--font-display)`,fontWeight:600,color:`var(--ink-primary)`},children:`Inscripción registrada correctamente.`})}),e[63]=n.isSuccess,e[64]=V);let ne;return e[65]!==te||e[66]!==V?(ne=(0,U.jsxs)(`div`,{className:`max-w-2xl mx-auto px-4 py-10`,children:[d,f,p,te,V]}),e[65]=te,e[66]=V,e[67]=ne):ne=e[67],ne}var FV=20;function IV(e,t){if(t<=5)return Array.from({length:t},(e,t)=>t+1);let n=new Set([1,t,e-1,e,e+1]);e<=3&&(n.add(2),n.add(3)),e>=t-2&&(n.add(t-2),n.add(t-1));let r=[...n].filter(e=>e>=1&&e<=t).sort((e,t)=>
92e-t),i=[];return r.forEach((e,t)=>{let n=r[t-1];n&&e-n>1&&i.push(`ellipsis-${n}`),i.push(e)}),i}function LV(e){let t=(0,w.c)(31),{post:n}=e,r;t[0]===n?r=t[1]:(r=qF(n),t[0]=n,t[1]=r);let i=r,a;t[2]===n.publishedAt?a=t[3]:(a=nN(new Date(n.publishedAt),`d 'de' MMMM, yyyy`,{locale:wI}),t[2]=n.publishedAt,t[3]=a);let o=a,s=`/noticias/${encodeURIComponent(n.slug)}`,c;t[4]===i?c=t[5]:(c=(0,U.jsx)(`div`,{className:`news-list-media aspect-[16/10] overflow-hidden bg-bg-surface`,children:i?(0,U.jsx)(`img`,{src:i,alt:``,className:`h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.02]`,loading:`lazy`,sizes:`(min-width: 1280px) 22rem, (min-width: 768px) 30vw, calc(100vw - 2rem)`}):(0,U.jsxs)(`div`,{className:`news-image-placeholder flex h-full flex-col justify-between p-3.5`,"aria-hidden":`true`,"data-testid":`news-image-placeholder`,children:[(0,U.jsx)(`span`,{className:`text-[0.65rem] font-[800] uppercase tracking-[0.18em]`,children:`FM 88.7`}),(0,U.jsx)(`span`,{className:`max-w-[8ch] text-lg font-[800] uppercase leading-[0.9] sm:text-xl`,children:`La Tribu Noticias`})]})}),t[4]=i,t[5]=c);let l;t[6]===n.title?l=t[7]:(l=(0,U.jsx)(`h2`,{className:`news-list-title text-[clamp(1.05rem,1.8vw,1.45rem)] font-[700] leading-[1.12] text-ink-primary transition-colors`,children:n.title}),t[6]=n.title,t[7]=l);let u;t[8]!==o||t[9]!==n.publishedAt?(u=(0,U.jsx)(`time`,{dateTime:n.publishedAt,children:o}),t[8]=o,t[9]=n.publishedAt,t[10]=u):u=t[10];let d;t[11]===n.categories.length?d=t[12]:(d=n.categories.length>0&&(0,U.jsx)(`span`,{"aria-hidden":`true`,children:`/`}),t[11]=n.categories.length,t[12]=d);let f;if(t[13]!==n.categories){let e;t[15]===n.categories.length?e=t[16]:(e=(e,t)=>(0,U.jsxs)(`span`,{children:[e.name,t<n.categories.length-1?`,`:``]},e.slug),t[15]=n.categories.length,t[16]=e),f=n.categories.map(e),t[13]=n.categories,t[14]=f}else f=t[14];let p;t[17]!==u||t[18]!==d||t[19]!==f?(p=(0,U.jsxs)(`div`,{className:`mt-2 flex flex-wrap items-center gap-x-1.5 gap-y-0.5 text-xs font-[600] text-ink-muted`,children:[u,d,f]}),t[17]=u,t[18]=d,t[19]=f,t[20]=p):p=t[20];let m;t[21]===n.excerpt?m=t[22]:(m=n.excerpt&&(0,U.jsx)(`p`,{className:`mt-2.5 max-w-[68ch] text-sm leading-5 text-ink-secondary md:line-clamp-3`,children:n.excerpt}),t[21]=n.excerpt,t[22]=m);let h;t[23]!==m||t[24]!==l||t[25]!==p?(h=(0,U.jsxs)(`div`,{className:`flex min-w-0 flex-col pt-3.5 md:pt-0.5`,children:[l,p,m]}),t[23]=m,t[24]=l,t[25]=p,t[26]=h):h=t[26];let g;return t[27]!==h||t[28]!==s||t[29]!==c?(g=(0,U.jsx)(`article`,{className:`border-b border-ink-rule first:border-t`,children:(0,U.jsxs)($i,{to:s,className:`news-list-row group grid grid-cols-1 gap-0 py-3.5 md:grid-cols-[minmax(10rem,24%)_1fr] md:gap-5 lg:gap-7`,children:[c,h]})}),t[27]=h,t[28]=s,t[29]=c,t[30]=g):g=t[30],g}function RV(){let e=(0,w.c)(56);vI(`Noticias â FM La Tribu`,`Ãltimas noticias de FM La Tribu, radio comunitaria de Buenos Aires.`);let t=dr(),[n,r]=sa(),i;e[0]===t.search?i=e[1]:(i=KF(t.search),e[0]=t.search,e[1]=i);let a=i,[o,s]=(0,S.useState)(a.q??``),c=(0,S.useRef)(null),l;e[2]===a?l=e[3]:(l={...a,perPage:FV},e[2]=a,e[3]=l);let u=UF(l),d=GF(`categories`),f=GF(`tags`),p=!!(a.q||a.category||a.tag),m,h;e[4]===a.q?(m=e[5],h=e[6]):(m=()=>s(a.q??``),h=[a.q],e[4]=a.q,e[5]=m,e[6]=h),(0,S.useEffect)(m,h);let g,_;e[7]!==a.page||e[8]!==n||e[9]!==r?(g=()=>{!n.has(`page`)||a.page!==1||r(HV,{replace:!0})},_=[a.page,n,r],e[7]=a.page,e[8]=n,e[9]=r,e[10]=g,e[11]=_):(g=e[10],_=e[11]),(0,S.useEffect)(g,_);let v;e[12]===r?v=e[13]:(v=(e,t)=>{let n=t===void 0||t;r(t=>{let r=new URLSearchParams(t);return Object.entries(e).forEach(e=>{let[t,n]=e,i=String(n??``).trim();!i||t===`page`&&i===`1`?r.delete(t):r.set(t,i)}),n&&r.delete(`page`),r})},e[12]=r,e[13]=v);let y=v,b;e[14]!==o||e[15]!==y?(b=e=>{e.preventDefault(),y({q:o})},e[14]=o,e[15]=y,e[16]=b):b=e[16];let x=b,C;e[17]===y?C=e[18]:(C=e=>{y({page:e},!1),requestAnimationFrame(()=>{c.current?.focus({preventScroll:!0}),c.current?.scrollIntoView?.({block:`start`})})},e[17]=y,e[18]=C);let T=C,E;e[19]!==n||e[20]!==r?(E=()=>{s(``);let e=new URLSearchParams(n);[`q`,`category`,`tag`,`page`].forEach(t=>e.delete(t)),r(e)},e[19]=n,e[20]=r,e[21]=E):E=e[21];let D=E,O=d.isPending||f.isPending,k=u.error||d.error||f.error,A=u.isPending||O,j=u.isError||d.isError||f.isError,M=u.data?Math.max(1,Math.ceil(u.data.total/FV)):1,N;e[22]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,U.jsx)(`div`,{className:`[&_h1]:text-[clamp(1.35rem,2.4vw,1.7rem)]`,children:(0,U.jsx)(pz,{emphasis:`N
92oticias`,className:`mb-3`})}),e[22]=N):N=e[22];let P;e[23]!==d.data||e[24]!==D||e[25]!==a.category||e[26]!==a.tag||e[27]!==p||e[28]!==o||e[29]!==x||e[30]!==f||e[31]!==y?(P=dF&&(0,U.jsx)(`section`,{className:`mb-6 border-y border-ink-rule bg-bg-surface px-3 py-3`,"aria-label":`Herramientas de noticias`,children:(0,U.jsxs)(`form`,{className:`grid grid-cols-1 gap-2.5 sm:grid-cols-2 lg:grid-cols-[minmax(14rem,1.5fr)_1fr_1fr_auto] lg:items-end`,role:`search`,"aria-label":`Buscar noticias`,onSubmit:x,children:[(0,U.jsxs)(`label`,{className:`flex min-w-0 flex-col gap-0.5 text-[0.68rem] font-[700] text-ink-primary sm:col-span-2 lg:col-span-1`,children:[`Buscar por tÃtulo`,(0,U.jsxs)(`span`,{className:`flex min-h-9 border border-ink-rule bg-bg-base focus-within:border-radio-blue`,children:[(0,U.jsx)(`input`,{type:`search`,value:o,onChange:e=>s(e.target.value),className:`min-w-0 flex-1 bg-transparent px-2 text-xs font-[400] text-ink-primary outline-none placeholder:text-ink-muted`,placeholder:`Buscar noticias`}),(0,U.jsx)(`button`,{type:`submit`,className:`action-button-primary min-h-9 cursor-pointer px-2.5 text-[0.68rem] font-[800] uppercase tracking-[0.08em]`,children:`Buscar`})]})]}),(0,U.jsxs)(`label`,{className:`flex min-w-0 flex-col gap-0.5 text-[0.68rem] font-[700] text-ink-primary`,children:[`CategorÃa`,(0,U.jsxs)(`select`,{value:a.category??``,onChange:e=>y({category:e.target.value}),className:`min-h-9 w-full border border-ink-rule bg-bg-base px-2 text-xs font-[400] text-ink-primary outline-none focus:border-radio-blue`,children:[(0,U.jsx)(`option`,{value:``,children:`Todas`}),d.data?.map(VV)]})]}),(0,U.jsxs)(`label`,{className:`flex min-w-0 flex-col gap-0.5 text-[0.68rem] font-[700] text-ink-primary`,children:[`Etiqueta`,(0,U.jsxs)(`select`,{value:a.tag??``,onChange:e=>y({tag:e.target.value}),className:`min-h-9 w-full border border-ink-rule bg-bg-base px-2 text-xs font-[400] text-ink-primary outline-none focus:border-radio-blue`,children:[(0,U.jsx)(`option`,{value:``,children:`Todas`}),f.data?.map(BV)]})]}),(0,U.jsx)(`button`,{type:`button`,disabled:!p,onClick:D,className:`action-button-secondary min-h-9 cursor-pointer px-2.5 text-[0.68rem] font-[800] uppercase tracking-[0.08em] disabled:cursor-not-allowed disabled:opacity-35 sm:col-span-2 lg:col-span-1`,children:`Limpiar`})]})}),e[23]=d.data,e[24]=D,e[25]=a.category,e[26]=a.tag,e[27]=p,e[28]=o,e[29]=x,e[30]=f,e[31]=y,e[32]=P):P=e[32];let F;e[33]===Symbol.for(`react.memo_cache_sentinel`)?(F=!dF&&(0,U.jsx)(`div`,{className:`py-16 text-center text-ink-muted`,children:`El servicio de noticias no está configurado.`}),e[33]=F):F=e[33];let I;e[34]===A?I=e[35]:(I=dF&&A&&(0,U.jsx)(ZR,{}),e[34]=A,e[35]=I);let L;e[36]!==d||e[37]!==j||e[38]!==A||e[39]!==u||e[40]!==k||e[41]!==f?(L=dF&&!A&&j&&(0,U.jsx)(TI,{message:hF(k,`No se pudieron cargar las noticias.`),onRetry:()=>{u.refetch(),d.refetch(),f.refetch()}}),e[36]=d,e[37]=j,e[38]=A,e[39]=u,e[40]=k,e[41]=f,e[42]=L):L=e[42];let R;e[43]!==D||e[44]!==p||e[45]!==j||e[46]!==A||e[47]!==u.data||e[48]!==T||e[49]!==M?(R=dF&&!A&&!j&&u.data&&(0,U.jsxs)(`section`,{"aria-labelledby":`news-results-heading`,children:[(0,U.jsxs)(`div`,{className:`mb-3 flex items-end justify-between gap-4`,children:[(0,U.jsx)(`h2`,{id:`news-results-heading`,ref:c,tabIndex:-1,className:`text-base font-[700] text-ink-primary outline-none`,children:u.data.total===1?`1 noticia`:`${u.data.total} noticias`}),p&&(0,U.jsx)(`p`,{className:`text-xs text-ink-muted`,children:`Resultados filtrados`})]}),u.data.items.length===0?(0,U.jsxs)(`div`,{className:`border-y border-ink-rule py-16 text-center`,children:[(0,U.jsx)(`p`,{className:`text-lg font-[700] text-ink-primary`,children:p?`No encontramos noticias con esos filtros.`:`No hay noticias disponibles por el momento.`}),p&&(0,U.jsx)(`button`,{type:`button`,onClick:D,className:`action-button-secondary mt-4 min-h-11 cursor-pointer px-4 text-sm font-[800] uppercase tracking-[0.08em]`,children:`Ver todas las noticias`})]}):(0,U.jsx)(`div`,{children:u.data.items.map(zV)}),u.data.items.length>0&&M>1&&(0,U.jsxs)(`nav`,{className:`mt-10 flex flex-wrap items-center justify-between gap-4 border-t-3 border-ink-primary pt-5`,"aria-label":`Páginas de noticias`,children:[(0,U.jsx)(`button`,{type:`button`,disabled:u.data.page<=1,onClick:()=>T(u.data.page-1),className:`min-h-11 cursor-pointer border border-transparent px-2 text-sm font-[800] uppercase tracking-[0.08em] text-ink-primary transition-colors hover:border-ink-primary hover:bg-ink-primary hover:text-bg-base disabled:cursor-not-allowed disabled:opacity-35 disabled:hover:border-transparent disabled:hover:bg-transparent disabled:hover:text-ink-primary`,children:`Anterior`}),(0,U.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-1`,children:IV(u.data.page,M).map(e=>typeof e==`number`?(0,U.jsx)(`button`,{type:`button`,"aria-label":`Ir a la página ${e}`,"aria-current":e===u.data.page?`page`:void 0,onClick:()=>T(e),className:`min-h-11 min-w-11 cursor-pointer border border-transparent px-2 text-sm font-[700] text-ink-primary transition-colors hover:border-ink-primary aria-[current=page]:bg-ink-primary aria-[current=page]:text-bg-base`,children:e},e):(0,U.jsx)(`span`,{className:`px-1 text-ink-muted`,"aria-hidden":`true`,children:`â¦`},e))}),(0,U.jsx)(`button`,{type:`button`,disabled:u.data.page>=M,onClick:()=>T(u.data.page+1),className:`min-h-11 cursor-pointer border border-transparent px-2 text-sm font-[800] uppercase tracking-[0.08em] text-ink-primary transition-colors hover:border-ink-primary hover:bg-ink-primary hover:text-bg-base disabled:cursor-not-allowed disabled:opacity-35 disabled:hover:border-transparent disabled:hover:bg-transparent disabled:hover:text-ink-primary`,children:`Siguiente`})]})]}),e[43]=D,e[44]=p,e[45]=j,e[46]=A,e[47]=u.data,e[48]=T,e[49]=M,e[50]=R):R=e[50];let ee;return e[51]!==P||e[52]!==I||e[53]!==L||e[54]!==R?(ee=(0,U.jsxs)(`div`,{className:`mx-auto max-w-6xl px-4 py-7 sm:px-6 lg:px-8 lg:py-10`,children:[N,P,F,I,L,R]}),e[51]=P,e[52]=I,e[53]=L,e[54]=R,e[55]=ee):ee=e[55],ee}function zV(e){return(0,U.jsx)(LV,{post:e},e.slug)}function BV(e){return(0,U.jsx)(`option`,{value:e.slug,children:e.name},e.slug)}function VV(e){return(0,U.jsx)(`option`,{value:e.slug,children:e.name},e.slug)}function HV(e){let t=new URLSearchParams(e);return t.delete(`page`),t}function UV(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function WV(e){if(Array.isArray(e))return e}function GV(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}
vendor: 4,303 bytes, lines 92-93
92finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function KV(){throw TypeError(`Invalid attempt to destructure non-iterable instance. 93In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qV(e,t){return WV(e)||GV(e,t)||JV(e,t)||KV()}function JV(e,t){if(e){if(typeof e==`string`)return UV(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?UV(e,t):void 0}}var YV=Object.entries,XV=Object.setPrototypeOf,ZV=Object.isFrozen,QV=Object.getPrototypeOf,$V=Object.getOwnPropertyDescriptor,eH=Object.freeze,tH=Object.seal,nH=Object.create,rH=typeof Reflect<`u`&&Reflect,iH=rH.apply,aH=rH.construct;eH||=function(e){return e},tH||=function(e){return e},iH||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},aH||=function(e){return new e(...[...arguments].slice(1))};var oH=EH(Array.prototype.forEach),sH=EH(Array.prototype.lastIndexOf),cH=EH(Array.prototype.pop),lH=EH(Array.prototype.push),uH=EH(Array.prototype.splice),dH=Array.isArray,fH=EH(String.prototype.toLowerCase),pH=EH(String.prototype.toString),mH=EH(String.prototype.match),hH=EH(String.prototype.replace),gH=EH(String.prototype.indexOf),_H=EH(String.prototype.trim),vH=EH(Number.prototype.toString),yH=EH(Boolean.prototype.toString),bH=typeof BigInt>`u`?null:EH(BigInt.prototype.toString),xH=typeof Symbol>`u`?null:EH(Symbol.prototype.toString),SH=EH(Object.prototype.hasOwnProperty),CH=EH(Object.prototype.toString),wH=EH(RegExp.prototype.test),TH=DH(TypeError);function EH(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return iH(e,t,n)}}function DH(e){return function(){return aH(e,[...arguments])}}function OH(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fH;if(XV&&XV(e,null),!dH(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(ZV(t)||(t[r]=e),i=e)}e[i]=!0}return e}function kH(e){for(let t=0;t<e.length;t++)SH(e,t)||(e[t]=null);return e}function AH(e){let t=nH(null);for(let r of YV(e)){var n=qV(r,2);let i=n[0],a=n[1];SH(e,i)&&(dH(a)?t[i]=kH(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=AH(a):t[i]=a)}return t}function jH(e){switch(typeof e){case`string`:return e;case`number`:return vH(e);case`boolean`:return yH(e);case`bigint`:return bH?bH(e):`0`;case`symbol`:return xH?xH(e):`Symbol()`;case`undefined`:return CH(e);case`function`:case`object`:{if(e===null)return CH(e);let t=e,n=MH(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:CH(e)}return CH(e)}default:return CH(e)}}function MH(e,t){for(;e!==null;){let n=$V(e,t);if(n){if(n.get)return EH(n.get);if(typeof n.value==`function`)return EH(n.value)}e=QV(e)}function n(){return null}return n}function NH(e){try{return wH(e,``),!0}catch{return!1}}var PH=eH(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),FH=eH(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),IH=eH([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOff
93set`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),LH=eH([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),RH=eH(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),zH=eH([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),BH=eH([`#text`]),VH=eH(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),HH=eH(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),UH=eH(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),WH=eH([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),GH=tH(/{{[\w\W]*|^[\w\W]*}}/g),KH=tH(/<%[\w\W]*|^[\w\W]*%>/g),qH=tH(/\${[\w\W]*/g),JH=tH(/^data-[\-\w.\u00B7-\uFFFF]+$/),YH=tH(/^aria-[\-\w]+$/),XH=tH(/^(?:(?:(?
vendor: 17,124 bytes, line 93
93:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ZH=tH(/^(?:\w+script|data):/i),QH=tH(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$H=tH(/^html$/i),eU=tH(/^[a-z][.\w]*(-[.\w]+)+$/i),tU=tH(/<[/\w!]/g),nU=tH(/<[/\w]/g),rU=tH(/<\/no(script|embed|frames)/i),iU=tH(/\/>/i),aU={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},oU=function(){return typeof window>`u`?null:window},sU=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},cU=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},lU=function(e,t,n,r){return SH(e,t)&&dH(e[t])?OH(r.base?AH(r.base):{},e[t],r.transform):n};function uU(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:oU(),t=e=>uU(e);if(t.version=`3.4.13`,t.removed=[],!e||!e.document||e.document.nodeType!==aU.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=MH(d,`cloneNode`),p=MH(d,`remove`),m=MH(d,`nextSibling`),h=MH(d,`childNodes`),g=MH(d,`parentNode`),_=MH(d,`shadowRoot`),v=MH(d,`attributes`),y=o&&o.prototype?MH(o.prototype,`nodeType`):null,b=o&&o.prototype?MH(o.prototype,`nodeName`):null,x=o&&o.prototype?MH(o.prototype,`ownerDocument`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let S,C=``,w,T=!1,E=0,D=function(){if(E>0)throw TH(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},O=function(e){D(),E++;try{return S.createHTML(e)}finally{E--}},k=function(e){D(),E++;try{return S.createScriptURL(e)}finally{E--}},A=function(){return T||=(w=sU(u,i),!0),w},j=n,M=j.implementation,N=j.createNodeIterator,P=j.createDocumentFragment,F=j.getElementsByTagName,I=r.importNode,L=cU();t.isSupported=typeof YV==`function`&&typeof g==`function`&&M&&M.createHTMLDocument!==void 0;let R=GH,ee=KH,z=qH,B=JH,te=YH,V=ZH,ne=QH,re=eU,ie=XH,ae=null,oe=OH({},[...PH,...FH,...IH,...RH,...BH]),H=null,se=OH({},[...VH,...HH,...UH,...WH]),ce=Object.seal(nH(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),le=null,ue=null,de=Object.seal(nH(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),fe=!0,pe=!0,me=!1,he=!0,ge=!1,_e=!0,ve=!1,ye=!1,be=null,xe=null,Se=!1,Ce=!1,we=!1,Te=!1,Ee=!0,De=!1,Oe=`user-content-`,ke=!0,Ae=!1,je={},Me=null,Ne=OH({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Pe=null,Fe=OH({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Ie=null,Le=OH({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Re=`http://www.w3.org/1998/Math/MathML`,ze=`http://www.w3.org/2000/svg`,Be=`http://www.w3.org/1999/xhtml`,Ve=Be,He=!1,Ue=null,We=OH({},[Re,ze,Be],pH),Ge=eH([`mi`,`mo`,`mn`,`ms`,`mtext`]),Ke=OH({},Ge),qe=eH([`annotation-xml`]),Je=OH({},qe),Ye=OH({},[`title`,`style`,`font`,`a`,`script`]),Xe=null,Ze=[`application/xhtml+xml`,`text/html`],Qe=null,$e=null,et=n.createElement(`form`),tt=function(e){return e instanceof RegExp||e instanceof Function},nt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if($e&&$e===e)return;(!e||typeof e!=`object`)&&(e={}),e=AH(e),Xe=Ze.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,Qe=Xe===`application/xhtml+xml`?pH:fH,ae=lU(e,`ALLOWED_TAGS`,oe,{transform:Qe}),H=lU(e,`ALLOWED_ATTR`,se,{transform:Qe}),Ue=lU(e,`ALLOWED_NAMESPACES`,We,{transform:pH}),Ie=lU(e,`ADD_URI_SAFE_ATTR`,Le,{transform:Qe,base:Le}),Pe=lU(e,`ADD_DATA_URI_TAGS`,Fe,{transform:Qe,base:Fe}),Me=lU(e,`FORBID_CONTENTS`,Ne,{transform:Qe}),le=lU(e,`FORBID_TAGS`,AH({}),{transform:Qe}),ue=lU(e,`FORBID_ATTR`,AH({}),{transform:Qe}),je=SH(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?AH(e.USE_PROFILES):e.USE_PROFILES:!1,fe=e.ALLOW_ARIA_ATTR!==!1,pe=e.ALLOW_DATA_ATTR!==!1,me=e.ALLOW_UNKNOWN_PROTOCOLS||!1,he=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ge=e.SAFE_FOR_TEMPLATES||!1,_e=e.SAFE_FOR_XML!==!1,ve=e.WHOLE_DOCUMENT||!1,Ce=e.RETURN_DOM||!1,we=e.RETURN_DOM_FRAGMENT||!1,Te=e.RETURN_TRUSTED_TYPE||!1,Se=e.FORCE_BODY||!1,Ee=e.SANITIZE_DOM!==!1,De=e.SANITIZE_NAMED_PROPS||!1,ke=e.KEEP_CONTENT!==!1,Ae=e.IN_PLACE||!1,ie=NH(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:XH,Ve=typeof e.NAMESPACE==`string`?e.NAMESPACE:Be,Ke=SH(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?AH(e.MATHML_TEXT_INTEGRATION_POINTS):OH({},Ge),Je=SH(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?AH(e.HTML_INTEGRATION_POINTS):OH({},qe);let t=SH(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?AH(e.CUSTOM_ELEMENT_HANDLING):nH(null);if(ce=nH(null),SH(t,`tagNameCheck`)&&tt(t.tagNameCheck)&&(ce.tagNameCheck=t.tagNameCheck),SH(t,`attributeNameCheck`)&&tt(t.attributeNameCheck)&&(ce.attributeNameCheck=t.attributeNameCheck),SH(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(ce.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),tH(ce),ge&&(pe=!1),we&&(Ce=!0),je&&(ae=OH({},BH),H=nH(null),je.html===!0&&(OH(ae,PH),OH(H,VH)),je.svg===!0&&(OH(ae,FH),OH(H,HH),OH(H,WH)),je.svgFilters===!0&&(OH(ae,IH),OH(H,HH),OH(H,WH)),je.mathMl===!0&&(OH(ae,RH),OH(H,UH),OH(H,WH))),de.tagCheck=null,de.attributeCheck=null,SH(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?de.tagCheck=e.ADD_TAGS:dH(e.ADD_TAGS)&&(ae===oe&&(ae=AH(ae)),OH(ae,e.ADD_TAGS,Qe))),SH(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?de.attributeCheck=e.ADD_ATTR:dH(e.ADD_ATTR)&&(H===se&&(H=AH(H)),OH(H,e.ADD_ATTR,Qe))),SH(e,`ADD_URI_SAFE_ATTR`)&&dH(e.ADD_URI_SAFE_ATTR)&&OH(Ie,e.ADD_URI_SAFE_ATTR,Qe),SH(e,`FORBID_CONTENTS`)&&dH(e.FORBID_CONTENTS)&&(Me===Ne&&(Me=AH(Me)),OH(Me,e.FORBID_CONTENTS,Qe)),SH(e,`ADD_FORBID_CONTENTS`)&&dH(e.ADD_FORBID_CONTENTS)&&(Me===Ne&&(Me=AH(Me)),OH(Me,e.ADD_FORBID_CONTENTS,Qe)),ke&&(ae[`#text`]=!0),ve&&OH(ae,[`html`,`head`,`body`]),ae.table&&(OH(ae,[`tbody`]),delete le.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw TH(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw TH(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=S;S=e.TRUSTED_TYPES_POLICY;try{C=O(``)}catch(e){throw S=t,e}}else e.TRUSTED_TYPES_POLICY===null?(S=void 0,C=``):(S===void 0&&(S=A()),S&&typeof C==`string`&&(C=O(``)));eH&&eH(e),$e=e},rt=OH({},[...FH,...IH,...LH]),it=OH({},[...RH,...zH]),at=function(e,t,n){return t.namespaceURI===Be?e===`svg`:t.namespaceURI===Re?e===`svg`&&(n===`annotation-xml`||Ke[n]):!!rt[e]},ot=function(e,t,n){return t.namespaceURI===Be?e===`math`:t.namespaceURI===ze?e===`math`&&Je[n]:!!it[e]},st=function(e,t,n){return t.namespaceURI===ze&&!Je[n]||t.namespaceURI===Re&&!Ke[n]?!1:!it[e]&&(Ye[e]||!rt[e])},ct=function(e){let t=g(e);(!t||!t.tagName)&&(t={namespaceURI:Ve,tagName:`template`});let n=fH(e.tagName),r=fH(t.tagName);return Ue[e.namespaceURI]?e.namespaceURI===ze?at(n,t,r):e.namespaceURI===Re?ot(n,t,r):e.namespaceURI===Be?st(n,t,r):!!(Xe===`application/xhtml+xml`&&Ue[e.namespaceURI]):!1},lt=function(e){lH(t.removed,{element:e});try{g(e).removeChild(e)}catch{if(p(e),!g(e))throw TH(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},ut=function(e){pt(e);let t=h(e);if(t){let e=[];oH(t,t=>{lH(e,t)}),oH(e,e=>{try{p(e)}catch{}})}let n=v(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},dt=function(e,n){try{lH(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{lH(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(Ce||we)try{lt(n)}catch{}else try{n.setAttribute(e,``)}catch{}},ft=function(e){let t=v(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||H[Qe(i)]))try{e.removeAttribute(i)}catch{}}},pt=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(y?y(e):e.nodeType)===aU.element&&ft(e);let n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},mt=function(e){if(!_e)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=y?y(e):e.nodeType;if(n===aU.processingInstruction||n===aU.comment&&wH(nU,e.data)){try{p(e)}catch{}continue}if(n===aU.element){let t=e,n=Qe(b?b(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&n!==`label`&&n!==`output`&&t.removeAttribute(`for`)}catch{}}let r=h(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},ht=function(e){let t=null,r=null;if(Se)e=`<remove></remove>`+e;else{let t=mH(e,/^[\r\n\t ]+/);r=t&&t[0]}Xe===`application/xhtml+xml`&&Ve===Be&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=S?O(e):e;if(Ve===Be)try{t=new l().parseFromString(i,Xe)}catch{}if(!t||!t.documentElement){t=M.createDocument(Ve,`template`,null);try{t.documentElement.innerHTML=He?C:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Ve===Be?F.call(t,ve?`html`:`body`)[0]:ve?t.documentElement:a},gt=function(e){let t=x?x(e):e.ownerDocument;return N.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},_t=function(e){return e=hH(e,R,` `),e=hH(e,ee,` `),e=hH(e,z,` `),e},vt=function(e){e.normalize();let t=x?x(e):e.ownerDocument,n=N.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=_t(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&oH(i,e=>{bt(e.content)&&vt(e.content)})},yt=function(e){let t=b?b(e):null;return typeof t!=`string`||Qe(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==v(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==y(e)||e.childNodes!==h(e)},bt=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return y(e)===aU.documentFragment}catch{return!1}},xt=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return typeof y(e)==`number`}catch{return!1}};function St(e,n,r){e.length!==0&&oH(e,e=>{e.call(t,n,r,$e)})}let Ct=function(e,t){return!!(_e&&e.hasChildNodes()&&!xt(e.firstElementChild)&&wH(tU,e.textContent)&&wH(tU,e.innerHTML)||_e&&e.namespaceURI===Be&&t===`style`&&xt(e.firstElementChild)||e.nodeType===aU.processingInstruction||_e&&e.nodeType===aU.comment&&wH(nU,e.data))},wt=function(e,t,n){if(!le[t]&&kt(t)&&(ce.tagNameCheck instanceof RegExp&&wH(ce.tagNameCheck,t)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(t)))return!1;if(ke&&!Me[t]){let t=g(e),r=h(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,m(e))}}}return lt(e),!0},Tt=function(e,t,n,r){return e.length===0?t:t===n||t===r?AH(t):t},Et=function(e,n){if(St(L.beforeSanitizeElements,e,null),e!==n&&g(e)===null)return Ae&&pt(e),!0;if(yt(e))return lt(e),!0;let r=Qe(b?b(e):e.nodeName);if(ae=Tt(L.uponSanitizeElement,ae,oe,be),St(L.uponSanitizeElement,e,{tagName:r,allowedTags:ae}),e!==n&&g(e)===null)return Ae&&pt(e),!0;if(Ct(e,r))return lt(e),!0;if(le[r]||!(de.tagCheck instanceof Function&&de.tagCheck(r))&&!ae[r]){let t=wt(e,r,n);return t===!1&&St(L.afterSanitizeElements,e,null),t}if((y?y(e):e.nodeType)===aU.element&&!ct(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&wH(rU,e.innerHTML))return lt(e),!0;if(ge&&e.nodeType===aU.text){let n=_t(e.textContent);e.textContent!==n&&(lH(t.removed,{element:e.cloneNode()}),e.textContent=n)}return St(L.afterSanitizeElements,e,null),!1},Dt=function(e,t,r){if(ue[t]||_e&&t===`patchsrc`||_e&&t===`for`&&e!==`label`&&e!==`output`||Ee&&(t===`id`||t===`name`)&&(r in n||r in et))return!1;let i=H[t]||de.attributeCheck instanceof Function&&de.attributeCheck(t,e);if(!(pe&&wH(B,t))&&!(fe&&wH(te,t))){if(!i){if(!(kt(e)&&(ce.tagNameCheck instanceof RegExp&&wH(ce.tagNameCheck,e)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(e))&&(ce.attributeNameCheck instanceof RegExp&&wH(ce.attributeNameCheck,t)||ce.attributeNameCheck instanceof Function&&ce.attributeNameCheck(t,e))||t===`is`&&ce.allowCustomizedBuiltInElements&&(ce.tagNameCheck instanceof RegExp&&wH(ce.tagNameCheck,r)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(r))))return!1}else if(!Ie[t]&&!wH(ie,hH(r,ne,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&gH(r,`data:`)===0&&Pe[e])&&!(me&&!wH(V,hH(r,ne,``)))&&r)return!1}return!0},Ot=OH({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),kt=function(e){return!Ot[fH(e)]&&wH(re,e)},At=function(e,t,n,r){if(S&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return O(r);case`TrustedScriptURL`:return k(r)}return r},jt=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),yt(e)?lt(e):cH(t.removed)}catch{dt(n,e)}},Mt=function(e){St(L.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||yt(e))return;H=Tt(L.uponSanitizeAttribute,H,se,xe);let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:H,forceKeepAttr:void 0},r=t.length,i=Qe(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=Qe(o),u=c,d=o===`value`?u:_H(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,St(L.uponSanitizeAttribute,e,n),d=n.attrValue,De&&(l===`id`||l===`name`)&&gH(d,Oe)!==0&&(dt(o,e),d=Oe+d),_e&&wH(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){dt(o,e);continue}if(l===`attributename`&&mH(d,`href`)){dt(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){dt(o,e);continue}if(!he&&wH(iU,d)){dt(o,e);continue}if(ge&&(d=_t(d)),!Dt(i,l,d)){dt(o,e);continue}d=At(i,l,s,d),d!==u&&jt(e,o,s,d)}}St(L.afterSanitizeAttributes,e,null)},Nt=function(e){let t=null,n=gt(e);for(St(L.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(St(L.uponSanitizeShadowNode,t,null),Et(t,e),Mt(t),bt(t.content)&&Nt(t.content),(y?y(t):t.nodeType)===aU.element){let e=_(t);bt(e)&&(Pt(e),Nt(e))}St(L.afterSanitizeShadowDOM,e,null)},Pt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Nt(e.shadow);continue}let n=e.node,r=(y?y(n):n.nodeType)===aU.element,i=h(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=b?b(n):null;if(typeof e==`string`&&Qe(e)===`template`){let e=n.content;bt(e)&&t.push({node:e,shadow:null})}}if(r){let e=_(n);bt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(He=!e,He&&(e=`<!-->`),typeof e!=`string`&&!xt(e)&&(e=jH(e),typeof e!=`string`))throw TH(`dirty is not a string, aborting`);if(!t.isSupported)return e;ye?(ae=be,H=xe):nt(n),(L.uponSanitizeElement.length>0||L.uponSanitizeAttribute.length>0)&&(ae=AH(ae)),L.uponSanitizeAttribute.length>0&&(H=AH(H)),t.removed=[];let c=Ae&&typeof e!=`string`&&xt(e);if(c){mt(e);let t=b?b(e):e.nodeName;if(typeof t==`string`){let n=Qe(t);if(!ae[n]||le[n])throw ut(e),TH(`root node is forbidden and cannot be sanitized in-place`)}if(yt(e))throw ut(e),TH(`root node is clobbered and cannot be sanitized in-place`);try{Pt(e)}catch(t){throw ut(e),t}}else if(xt(e))i=ht(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===aU.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Pt(a
93);else{if(!Ce&&!ge&&!ve&&e.indexOf(`<`)===-1)return S&&Te?O(e):e;if(i=ht(e),!i)return Ce?null:Te?C:``}i&&Se&<(i.firstChild);let l=c?e:i;try{let e=gt(l);for(;o=e.nextNode();)Et(o,l),Mt(o),bt(o.content)&&Nt(o.content)}catch(n){throw c&&(ut(e),oH(t.removed,e=>{e.element&&pt(e.element)})),n}if(c)return oH(t.removed,e=>{e.element&&pt(e.element)}),ge&&vt(e),e;if(Ce){if(ge&&vt(i),we)for(s=P.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(H.shadowroot||H.shadowrootmode)&&(s=I.call(r,s,!0)),s}let u=ve?i.outerHTML:i.innerHTML;return ve&&ae[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&wH($H,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`> 94`+u),ge&&(u=_t(u)),S&&Te?O(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};nt(e),ye=!0,be=ae,xe=H},t.clearConfig=function(){$e=null,ye=!1,be=null,xe=null,S=w,C=``},t.isValidAttribute=function(e,t,n){$e||nt({});let r=Qe(e),i=Qe(t);return Dt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&SH(L,e)&&lH(L[e],t)},t.removeHook=function(e,t){if(SH(L,e)){if(t!==void 0){let n=sH(L[e],t);return n===-1?void 0:uH(L[e],n,1)[0]}return cH(L[e])}},t.removeHooks=function(e){SH(L,e)&&(L[e]=[])},t.removeAllHooks=function(){L=cU()},t}var dU=uU(),fU=/^[A-Za-z0-9_-]+$/,pU=new Set([`track`,`album`,`artist`,`playlist`,`episode`,`show`]),mU=`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share`,hU=`autoplay; clipboard-write; encrypted-media`;function gU(e){let t=e.hostname.toLowerCase(),n;if(t===`youtu.be`&&(n=e.pathname.split(`/`).filter(Boolean)[0]),[`youtube.com`,`www.youtube.com`,`m.youtube.com`,`youtube-nocookie.com`,`www.youtube-nocookie.com`].includes(t)){let t=e.pathname.split(`/`).filter(Boolean);n=e.searchParams.get(`v`)||([`embed`,`shorts`,`live`].includes(t[0]??``)?t[1]:void 0)}if(!n||!fU.test(n))return null;let r=new URL(`https://www.youtube-nocookie.com/embed/${n}`),i=e.searchParams.get(`start`);return i&&/^\d+$/.test(i)&&r.searchParams.set(`start`,i),{provider:`youtube`,category:`video`,src:r.toString(),href:`https://www.youtube.com/watch?v=${n}`,title:`YouTube`,width:800,height:450,allow:mU,allowFullScreen:!0}}function _U(e){if(![`vimeo.com`,`www.vimeo.com`,`player.vimeo.com`].includes(e.hostname.toLowerCase()))return null;let t=e.pathname.split(`/`).filter(Boolean).find(e=>/^\d+$/.test(e));return t?{provider:`vimeo`,category:`video`,src:`https://player.vimeo.com/video/${t}`,href:`https://vimeo.com/${t}`,title:`Vimeo`,width:800,height:450,allow:mU,allowFullScreen:!0}:null}function vU(e){if(![`open.spotify.com`,`spotify.link`].includes(e.hostname.toLowerCase()))return null;let t=e.pathname.split(`/`).filter(Boolean);t[0]?.startsWith(`intl-`)&&t.shift(),t[0]===`embed`&&t.shift();let[n,r]=t;if(!n||!pU.has(n)||!r||!fU.test(r))return null;let i=n===`track`||n===`episode`;return{provider:`spotify`,category:`audio`,src:`https://open.spotify.com/embed/${n}/${r}`,href:`https://open.spotify.com/${n}/${r}`,title:`Spotify`,width:800,height:i?152:352,allow:`${hU}; fullscreen; picture-in-picture`,allowFullScreen:!0}}function yU(e){let t=e.hostname.toLowerCase(),n=e;if(t===`w.soundcloud.com`&&e.pathname===`/player/`){let t=e.searchParams.get(`url`);if(!t)return null;try{n=new URL(t)}catch{return null}}if(![`soundcloud.com`,`www.soundcloud.com`].includes(n.hostname.toLowerCase())||n.username||n.password)return null;let r=n.pathname.split(`/`).filter(Boolean);if(!r.length||r.some(e=>!fU.test(e)))return null;n=new URL(`https://soundcloud.com/${r.join(`/`)}`);let i=r.length===1||r[1]===`sets`,a=new URL(`https://w.soundcloud.com/player/`);return a.searchParams.set(`url`,n.toString()),a.searchParams.set(`auto_play`,`false`),{provider:`soundcloud`,category:`audio`,src:a.toString(),href:n.toString(),title:`SoundCloud`,width:800,height:i?450:166,allow:`autoplay`,allowFullScreen:!1}}var bU=[gU,_U,vU,yU];function xU(e){try{let t=new URL(e,window.location.origin);if(![`http:`,`https:`].includes(t.protocol)||t.username||t.password)return null;for(let e of bU){let n=e(t);if(n)return n}}catch{}return null}
94var SU=`p.br.h2.h3.h4.ul.ol.li.blockquote.strong.b.em.i.u.s.strike.a.figure.figcaption.img.video.audio.source.div.span.iframe`.split(`.`),CU=`href.src.alt.title.target.rel.download.controls.type.width.height.loading.allow.allowfullscreen.referrerpolicy.sandbox.style.class.data-columns.data-content-node.data-provider.data-embed-category.data-align.data-width.data-intrinsic-width.data-gallery-version.data-gallery-layout.data-gallery-columns-desktop.data-gallery-columns-tablet.data-gallery-columns-mobile.data-gallery-gap.data-gallery-link.data-gallery-src.data-gallery-preview-src.data-gallery-title`.split(`.`),wU=new Set(SU),TU=new Set(CU),EU=`Noto Sans Variable`,DU=new Set([EU,`Noto Sans`,`Segoe UI`,`Inter`,`Roboto`,`Open Sans`,`Lato`,`Montserrat`,`Poppins`,`Merriweather`,`Playfair Display`]),OU=new Set([`content-columns`,`content-column`,`content-media`,`content-media-left`,`content-media-center`,`content-media-right`,`content-embed-fallback`,`content-gallery`,`content-gallery-items`,`content-gallery-item`]);function kU(e,t=!1){try{let n=new URL(e,window.location.origin);return t?n.protocol===`https:`:[`http:`,`https:`,`mailto:`,`tel:`].includes(n.protocol)}catch{return!1}}function AU(e){let t=[],n=e.style.fontFamily.replace(/["']/g,``).split(`,`)[0]?.trim();n&&DU.has(n)&&t.push(`font-family: ${n===`Noto Sans`?EU:n}`);let r=Number.parseInt(e.style.fontSize,10);Number.isFinite(r)&&r>=8&&r<=96&&e.style.fontSize.endsWith(`px`)&&t.push(`font-size: ${r}px`),[`left`,`center`,`right`,`justify`].includes(e.style.textAlign)&&t.push(`text-align: ${e.style.textAlign}`);for(let n of[`width`,`max-width`]){let r=e.style.getPropertyValue(n);(/^(?:100|[1-9]?\d)%$/.test(r)||/^(?:[1-9]\d{0,3})px$/.test(r))&&t.push(`${n}: ${r}`)}t.length?e.setAttribute(`style`,t.join(`; `)):e.removeAttribute(`style`)}function jU(e){let t=new DOMParser().parseFromString(e,`text/html`);t.body.querySelectorAll(`iframe`).forEach(e=>{let t=xU(e.getAttribute(`src`)??``);t&&(e.setAttribute(`src`,t.src),e.setAttribute(`data-provider`,t.provider),e.setAttribute(`data-embed-category`,t.category))});let n=dU.sanitize(t.body.innerHTML,{ALLOWED_TAGS:SU,ALLOWED_ATTR:CU,ALLOW_DATA_ATTR:!1}),r=new DOMParser().parseFromString(n,`text/html`);return r.body.querySelectorAll(`*`).forEach(e=>{AU(e);let t=[...e.classList].filter(e=>OU.has(e));t.length?e.className=t.join(` `):e.removeAttribute(`class`);for(let t of[`src`,`href`,`data-gallery-src`,`data-gallery-preview-src`]){let n=e.getAttribute(t);n&&!kU(n,t!==`href`)&&e.removeAttribute(t)}if(e.tagName===`IFRAME`){let t=xU(e.getAttribute(`src`)??``);if(!t){e.remove();return}e.setAttribute(`src`,t.src),e.setAttribute(`data-provider`,t.provider),e.setAttribute(`data-embed-category`,t.category),e.setAttribute(`title`,e.getAttribute(`title`)||`${t.title} embed`),e.setAttribute(`width`,String(t.width)),e.setAttribute(`height`,String(t.height)),e.style.height=`${t.height}px`,e.setAttribute(`loading`,`lazy`),e.setAttribute(`referrerpolicy`,`strict-origin-when-cross-origin`),e.setAttribute(`sandbox`,`allow-scripts allow-same-origin allow-presentation`),e.setAttribute(`allow`,t.allow),t.allowFullScreen?e.setAttribute(`allowfullscreen`,``):e.removeAttribute(`allowfullscreen`),e.getAttribute(`title`)||e.setAttribute(`title`,t.provider===`youtube`?`Video de YouTube`:`Video de Vimeo`),e.removeAttribute(`width`),e.removeAttribute(`height`)}let n=e.dataset.contentNode;n&&![`image`,`video`,`audio`,`download`,`embed`,`gallery`].includes(n)&&e.removeAttribute(`data-content-node`);let r=e.dataset.align;r&&![`left`,`center`,`right`].includes(r)&&e.removeAttribute(`data-align`);let i=e.dataset.columns;i&&![`2`,`3`].includes(i)&&e.removeAttribute(`data-columns`);let a=e.dataset.galleryVersion;a&&a!==`1`&&e.removeAttribute(`data-gallery-version`);let o=e.dataset.galleryLayout;o&&![`grid`,`masonry`,`justified`].includes(o)&&e.removeAttribute(`data-gallery-layout`);for(let t of[`data-gallery-columns-desktop`,`data-gallery-columns-tablet`,`data-gallery-columns-mobile`]){let n=e.getAttribute(t);n&&(!/^\d{1,2}$/.test(n)||Number(n)<1||Number(n)>24)&&e.removeAttribute(t)}let s=e.dataset.galleryGap;s&&(!/^\d{1,3}(?:\.\d+)?$/.test(s)||Number(s)>200)&&e.removeAttribute(`data-gallery-gap`);let c=e.dataset.galleryLink;c&&![`none`,`media`,`custom`].includes(c)&&e.removeAttribute(`data-gallery-link`);for(let t of[`data-width`,`data-intrinsic-width`]){let n=e.getAttribute(t);n&&(!/^\d{1,4}$/.test(n)||Number(n)<1||Number(n)>1e3)&&e.removeAttribute(t)}let l=e.dataset.provider;l&&![`youtube`,`vimeo`,`spotify`,`soundcloud`].includes(l)&&e.removeAttribute(`data-provider`);let u=e.dataset.embedCategory;u&&![`video`,`audio`].includes(u)&&e.removeAttribute(`data-embed-category`),e.tagName===`A`&&e.getAttribute(`target`)===`_blank`&&e.setAttribute(`rel`,`noopener noreferrer`)}),r.body.innerHTML}function MU(e){let t=new DOMParser().parseFromString(e,`text/html`),n=[],r=new Set,i=e=>{let t=JSON.stringify(e);r.has(t)||(r.add(t),n.push({...e,severity:`warning`}))};
94return t.body.querySelectorAll(`*`).forEach(e=>{let t=e.tagName.toLowerCase();wU.has(t)||i({code:`legacy-element-flattened`,tag:t});for(let t of[...e.attributes])TU.has(t.name)||i({code:`legacy-attribute-removed`,attribute:t.name});if([...e.classList].some(e=>!OU.has(e))&&i({code:`legacy-class-removed`}),e.hasAttribute(`style`)){for(let t of[...e.style])[`font-family`,`font-size`,`text-align`,`width`,`max-width`].includes(t)||i({code:`legacy-style-removed`,property:t});let t=e.style.fontFamily.replace(/["']/g,``).split(`,`)[0]?.trim();t&&!DU.has(t)&&i({code:`legacy-font-removed`});let n=Number.parseInt(e.style.fontSize,10);e.style.fontSize&&(!e.style.fontSize.endsWith(`px`)||n<8||n>96)&&i({code:`legacy-font-size-removed`}),e.style.textAlign&&![`left`,`center`,`right`,`justify`].includes(e.style.textAlign)&&i({code:`legacy-alignment-removed`})}for(let t of[`src`,`href`,`data-gallery-src`,`data-gallery-preview-src`]){let n=e.getAttribute(t);n&&!kU(n,t!==`href`)&&i({code:`legacy-url-removed`,attribute:t})}if(e.tagName===`IFRAME`){let t=e.getAttribute(`src`)?.trim()??``;xU(t)||i({code:`legacy-iframe-removed`,src:t||`(missing src)`})}}),n}var NU=[...DU].filter(e=>e!==`Noto Sans`);function PU(e){let t=(0,w.c)(7),{html:n,className:r}=e,i;t[0]===n?i=t[1]:(i=jU(n),t[0]=n,t[1]=i);let a=i,o;t[2]===a?o=t[3]:(o={__html:a},t[2]=a,t[3]=o);let s;return t[4]!==r||t[5]!==o?(s=(0,U.jsx)(`section`,{className:r,dangerouslySetInnerHTML:o}),t[4]=r,t[5]=o,t[6]=s):s=t[6],s}var FU=e=>{if(e)try{let t=new URL(e,window.location.href);return t.protocol===`https:`?t.href:void 0}catch{return}},IU=[{feature:`gallery-lightbox`,selector:`.content-gallery[data-content-node="gallery"]`,setup:(e,t)=>{let n=e.dataset.galleryLink,r=document.documentElement.lang.toLowerCase(),i=[...e.querySelectorAll(`:scope > .content-gallery-items > .content-gallery-item`)].flatMap(e=>{let t=e.querySelector(`img`),n=FU(e.dataset.gallerySrc||t?.src);if(!t||!n)return[];let r=t.src,i=t.getAttribute(`loading`),a=FU(e.dataset.galleryPreviewSrc);return a&&(t.src=a),t.setAttribute(`loading`,`lazy`),[{element:e,image:t,originalSrc:r,originalLoading:i,data:{src:n,previewSrc:a,altText:t.alt,title:e.dataset.galleryTitle?.trim()||void 0,caption:e.querySelector(`figcaption`)?.textContent?.trim()||void 0}}]}),a=i.map(e=>e.data);if(a.length<2){i.forEach(({image:e,originalSrc:t,originalLoading:n})=>{e.src=t,n===null?e.removeAttribute(`loading`):e.setAttribute(`loading`,n)});return}for(let t of[`Desktop`,`Tablet`,`Mobile`]){let n=e.dataset[`galleryColumns${t}`];n&&e.style.setProperty(`--hermes-gallery-columns-${t.toLowerCase()}`,n)}e.dataset.galleryGap&&e.style.setProperty(`--hermes-gallery-gap`,`${e.dataset.galleryGap}px`);let o=()=>{i.forEach(({image:e,originalSrc:t,originalLoading:n})=>{e.src=t,n===null?e.removeAttribute(`loading`):e.setAttribute(`loading`,n)});for(let t of[`--hermes-gallery-columns-desktop`,`--hermes-gallery-columns-tablet`,`--hermes-gallery-columns-mobile`,`--hermes-gallery-gap`])e.style.removeProperty(t)};if(n===`custom`)return o;let s=[];return i.forEach(({element:e,data:n},i)=>{let o=e.querySelector(`a`),c=o||e;o||(e.tabIndex=0,e.setAttribute(`role`,`button`));let l=n.title||n.altText||`Image ${i+1}`;c.setAttribute(`aria-label`,r.startsWith(`es`)?`Abrir ${l}`:`Open ${l}`),c.setAttribute(`aria-haspopup`,`dialog`);let u=e=>{e.preventDefault(),t.openGallery({items:a,index:i,trigger:c})},d=e=>{!o&&(e.key===`Enter`||e.key===` `)&&u(e)};c.addEventListener(`click`,u),c.addEventListener(`keydown`,d),s.push(()=>{c.removeEventListener(`click`,u),c.removeEventListener(`keydown`,d),c.removeAttribute(`aria-haspopup`),c.removeAttribute(`aria-label`),o||(e.removeAttribute(`tabindex`),e.removeAttribute(`role`))})}),()=>{s.forEach(e=>e()),o()}}}],LU=[`gallery-lightbox`];function RU(e){let t=(0,w.c)(58),{request:n,onClose:r}=e,[i,a]=(0,S.useState)(n.index),o=(0,S.useRef)(null),s=(0,S.useRef)(null),c=(0,S.useId)(),l=n.items[i],u=document.documentElement.lang.toLowerCase().startsWith(`es`),d;t[0]===n.items.length?d=t[1]:(d=e=>a(t=>(t+e+n.items.length)%n.items.length),t[0]=n.items.length,t[1]=d);let f=d,p,m;t[2]!==f||t[3]!==r||t[4]!==n.trigger?(p=()=>{let e=document.body.style.overflow;document.body.style.overflow=`hidden`;let t=o.current?.parentElement,i=[...document.body.children].filter(e=>e instanceof HTMLElement&&e!==t),a=i.map(BU);
94i.forEach(zU),o.current?.focus();let s=e=>{if(e.key===`Escape`)r();else if(e.key===`ArrowLeft`)f(-1);else if(e.key===`ArrowRight`)f(1);else if(e.key===`Tab`&&o.current){let t=[...o.current.querySelectorAll(`button,[href],[tabindex]:not([tabindex="-1"])`)];if(!t.length){e.preventDefault(),o.current.focus();return}let n=t[0],r=t[t.length-1];document.activeElement===o.current?(e.preventDefault(),(e.shiftKey?r:n).focus()):e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):!e.shiftKey&&document.activeElement===r&&(e.preventDefault(),n.focus())}};return document.addEventListener(`keydown`,s),()=>{document.removeEventListener(`keydown`,s),document.body.style.overflow=e,i.forEach((e,t)=>{e.inert=a[t]??!1}),n.trigger.focus()}},m=[f,r,n.trigger],t[2]=f,t[3]=r,t[4]=n.trigger,t[5]=p,t[6]=m):(p=t[5],m=t[6]),(0,S.useEffect)(p,m);let h,g;t[7]!==i||t[8]!==n.items?(h=()=>{for(let e of[i-1,i+1]){let t=n.items[(e+n.items.length)%n.items.length];if(t){let e=new Image;e.src=t.src}}},g=[i,n.items],t[7]=i,t[8]=n.items,t[9]=h,t[10]=g):(h=t[9],g=t[10]),(0,S.useEffect)(h,g);let _;t[11]===r?_=t[12]:(_=e=>{e.target===e.currentTarget&&r()},t[11]=r,t[12]=_);let v;t[13]===r?v=t[14]:(v=e=>{e.target===e.currentTarget&&r()},t[13]=r,t[14]=v);let y;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(y=e=>{s.current=e.changedTouches[0]?.clientX??null},t[15]=y):y=t[15];let b;t[16]===f?b=t[17]:(b=e=>{let t=e.changedTouches[0]?.clientX;s.current!==null&&t!==void 0&&Math.abs(t-s.current)>50&&f(t<s.current?1:-1),s.current=null},t[16]=f,t[17]=b);let x;t[18]===c?x=t[19]:(x=(0,U.jsx)(`h2`,{id:c,className:`sr-only`,children:u?`GalerÃa de imágenes`:`Image gallery`}),t[18]=c,t[19]=x);let C;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,U.jsx)(TN,{"aria-hidden":`true`}),t[20]=C):C=t[20];let T;t[21]===r?T=t[22]:(T=(0,U.jsx)(`button`,{type:`button`,className:`hermes-lightbox-close`,onClick:r,"aria-label":u?`Cerrar galerÃa`:`Close gallery`,children:C}),t[21]=r,t[22]=T);let E;t[23]===f?E=t[24]:(E=()=>f(-1),t[23]=f,t[24]=E);let D;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,U.jsx)(IP,{"aria-hidden":`true`}),t[25]=D):D=t[25];let O;t[26]===E?O=t[27]:(O=(0,U.jsx)(`button`,{type:`button`,className:`hermes-lightbox-previous`,onClick:E,"aria-label":u?`Imagen anterior`:`Previous image`,children:D}),t[26]=E,t[27]=O);let k;t[28]!==l.altText||t[29]!==l.src?(k=(0,U.jsx)(`img`,{src:l.src,alt:l.altText}),t[28]=l.altText,t[29]=l.src,t[30]=k):k=t[30];let A;t[31]!==l.caption||t[32]!==l.title?(A=l.title||l.caption?(0,U.jsxs)(`figcaption`,{children:[l.title?(0,U.jsx)(`strong`,{children:l.title}):null,l.caption?(0,U.jsx)(`span`,{children:l.caption}):null]}):null,t[31]=l.caption,t[32]=l.title,t[33]=A):A=t[33];let j;t[34]!==k||t[35]!==A?(j=(0,U.jsxs)(`figure`,{children:[k,A]}),t[34]=k,t[35]=A,t[36]=j):j=t[36];let M;t[37]===f?M=t[38]:(M=()=>f(1),t[37]=f,t[38]=M);let N;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,U.jsx)(FP,{"aria-hidden":`true`}),t[39]=N):N=t[39];let P;t[40]===M?P=t[41]:(P=(0,U.jsx)(`button`,{type:`button`,className:`hermes-lightbox-next`,onClick:M,"aria-label":u?`Imagen siguiente`:`Next image`,children:N}),t[40]=M,t[41]=P);let F=i+1,I;t[42]!==n.items.length||t[43]!==F?(I=(0,U.jsxs)(`output`,{className:`hermes-lightbox-counter`,"aria-live":`polite`,children:[F,` / `,n.items.length]}),t[42]=n.items.length,t[43]=F,t[44]=I):I=t[44];let L;t[45]!==x||t[46]!==T||t[47]!==O||t[48]!==j||t[49]!==P||t[50]!==I||t[51]!==v||t[52]!==b||t[53]!==c?(L=(0,U.jsxs)(`div`,{ref:o,className:`hermes-lightbox-dialog`,role:`dialog`,"aria-modal":`true`,"aria-labelledby":c,tabIndex:-1,onMouseDown:v,onTouchStart:y,onTouchEnd:b,children:[x,T,O,j,P,I]}),t[45]=x,t[46]=T,t[47]=O,t[48]=j,t[49]=P,t[50]=I,t[51]=v,t[52]=b,t[53]=c,t[54]=L):L=t[54];let R;return t[55]!==L||t[56]!==_?(R=(0,va.createPortal)((0,U.jsx)(`div`,{className:`hermes-lightbox`,role:`presentation`,onMouseDown:_,children:L}),document.body),t[55]=L,t[56]=_,t[57]=R):R=t[57],R}function zU(e){e.inert=!0}function BU(e){return e.inert}function VU(e){let t=(0,w.c)(19),{html:n,className:r,features:i}=e,a=(0,S.useRef)(null),[o,s]=(0,S.useState)(null),c;t[0]===n?c=t[1]:(c=jU(n),t[0]=n,t[1]=c);let l=c,u;t[2]===l?u=t[3]:(u={__html:l},t[2]=l,t[3]=u);let d;t[4]!==r||t[5]!==u?(d=(0,U.jsx)(`section`,{ref:a,className:r,dangerouslySetInnerHTML:u}),t[4]=r,t[5]=u,t[6]=d):d=t[6];let f=d,p=i??LU,m;t[7]===p?m=t[8]:(m=p.join(`|`),t[7]=p,t[8]=m);let h=m,g;t[9]===h?g=t[10]:(g=()=>{let e=a.current;if(!e)return;let t=new Set(h?h.split(`|`):[]),n=[];for(let r of IU)t.has(r.feature)&&e.querySelectorAll(r.selector).forEach(t=>{let i=r.setup(t,{root:e,openGallery:s});i&&n.push(i)});return()=>n.forEach(HU)},t[9]=h,t[10]=g);let _;
94t[11]!==h||t[12]!==l?(_=[l,h],t[11]=h,t[12]=l,t[13]=_):_=t[13],(0,S.useEffect)(g,_);let v;t[14]===o?v=t[15]:(v=o?(0,U.jsx)(RU,{request:o,onClose:()=>s(null)}):null,t[14]=o,t[15]=v);let y;return t[16]!==f||t[17]!==v?(y=(0,U.jsxs)(U.Fragment,{children:[f,v]}),t[16]=f,t[17]=v,t[18]=y):y=t[18],y}function HU(e){return e()}function UU(){let e=(0,w.c)(35),t=WF(yr().postSlug||``),n,r;if(e[0]===t.data?(n=e[1],r=e[2]):(n=()=>{if(!t.data)return;let e=document.title;document.title=`${t.data.title} â FM La Tribu`;let n=document.querySelector(`link[rel="canonical"]`),r=!n;return n||(n=document.createElement(`link`),n.rel=`canonical`,document.head.append(n)),n.href=`${Oc.replace(/\/$/,``)}/noticias/${encodeURIComponent(t.data.slug)}`,()=>{document.title=e,r&&n?.remove()}},r=[t.data],e[0]=t.data,e[1]=n,e[2]=r),(0,S.useEffect)(n,r),!dF){let t;return e[3]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(GU,{title:`Esta sección no está disponible en este momento.`}),e[3]=t):t=e[3],t}if(t.isPending){let t;return e[4]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(GU,{title:`Cargando noticiaâ¦`}),e[4]=t):t=e[4],t}if(t.isError||!t.data){let n;e[5]===t.error?n=e[6]:(n=hF(t.error,`No se pudo cargar la noticia.`),e[5]=t.error,e[6]=n);let r;e[7]===t?r=e[8]:(r=()=>t.refetch(),e[7]=t,e[8]=r);let i;return e[9]!==n||e[10]!==r?(i=(0,U.jsx)(GU,{title:n,onRetry:r}),e[9]=n,e[10]=r,e[11]=i):i=e[11],i}let i=t.data,a;e[12]===i.publishedAt?a=e[13]:(a=nN(new Date(i.publishedAt),`d 'de' MMMM, yyyy`,{locale:wI}),e[12]=i.publishedAt,e[13]=a);let o=a,s;e[14]===i.categories?s=e[15]:(s=i.categories.map(WU).join(` · `),e[14]=i.categories,e[15]=s);let c=s,l;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,U.jsx)($i,{to:`/noticias`,className:`text-link-muted text-[10px] font-[800] uppercase tracking-[0.14em]`,style:{fontFamily:`var(--font-display)`},children:`â Todas las noticias`}),e[16]=l):l=e[16];let u;e[17]===i.title?u=e[18]:(u=(0,U.jsx)(`header`,{className:`mt-3.5 max-w-4xl`,children:(0,U.jsx)(`h1`,{className:`text-[clamp(1.45rem,2.8vw,2.1rem)] font-[900] leading-[1.07] tracking-[-0.02em] text-ink-primary`,children:i.title})}),e[17]=i.title,e[18]=u);let d;e[19]!==c||e[20]!==o||e[21]!==i.excerpt||e[22]!==i.featuredImageUrl||e[23]!==i.publishedAt?(d=i.featuredImageUrl?(0,U.jsxs)(`div`,{className:`mt-5 grid items-start gap-5 md:grid-cols-[minmax(0,1.25fr)_minmax(15rem,0.75fr)] lg:gap-7`,children:[(0,U.jsxs)(`div`,{className:`md:py-1`,children:[i.excerpt&&(0,U.jsx)(`p`,{className:`max-w-[65ch] text-[clamp(0.9rem,1.5vw,1.05rem)] leading-[1.5] text-ink-secondary`,children:i.excerpt}),c&&(0,U.jsx)(`p`,{className:`${i.excerpt?`mt-3.5`:``} text-[10px] font-[800] uppercase tracking-[0.11em] text-text-accent`,children:c}),(0,U.jsx)(`p`,{className:`${i.excerpt||c?`mt-1.5`:``} text-xs font-[600] tracking-[0.02em] text-ink-muted`,children:(0,U.jsx)(`time`,{dateTime:i.publishedAt,children:o})})]}),(0,U.jsx)(`figure`,{className:`overflow-hidden rounded-lg border border-ink-rule`,children:(0,U.jsx)(`img`,{src:i.featuredImageUrl,alt:``,className:`news-detail-image`,loading:`lazy`})})]}):(0,U.jsxs)(`div`,{className:`mt-5 max-w-[65ch]`,children:[i.excerpt&&(0,U.jsx)(`p`,{className:`text-[clamp(0.9rem,1.5vw,1.05rem)] leading-[1.5] text-ink-secondary`,children:i.excerpt}),c&&(0,U.jsx)(`p`,{className:`${i.excerpt?`mt-3.5`:``} text-[10px] font-[800] uppercase tracking-[0.11em] text-text-accent`,children:c}),(0,U.jsx)(`p`,{className:`${i.excerpt||c?`mt-1.5`:``} text-xs font-[600] tracking-[0.02em] text-ink-muted`,children:(0,U.jsx)(`time`,{dateTime:i.publishedAt,children:o})})]}),e[19]=c,e[20]=o,e[21]=i.excerpt,e[22]=i.featuredImageUrl,e[23]=i.publishedAt,e[24]=d):d=e[24];let f;e[25]===i.contentHtml?f=e[26]:(f=(0,U.jsx)(`div`,{className:`mt-7 border-y border-ink-rule py-7`,children:(0,U.jsx)(VU,{className:`prose news-detail-body min-w-0`,html:i.contentHtml})}),e[25]=i.contentHtml,e[26]=f);let p;e[27]!==u||e[28]!==d||e[29]!==f?(p=(0,U.jsxs)(`article`,{children:[l,u,d,f]}),e[27]=u,e[28]=d,e[29]=f,e[30]=p):p=e[30];let m;e[31]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,U.jsx)(WR,{}),e[31]=m):m=e[31];let h;e[32]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,U.jsx)(`div`,{className:`mt-12`,children:(0,U.jsx)(zR,{groupSlug:`cuadrado-carrusel`})}),e[32]=h):h=e[32];let g;return e[33]===p?g=e[34]:(g=(0,U.jsxs)(`main`,{className:`news-detail-page mx-auto max-w-6xl px-4 py-7 sm:px-6 lg:px-8 lg:py-10`,children:[p,m,h]}),e[33]=p,e[34]=g),g}function WU(e){return e.name}function GU(e){let t=(0,w.c)(11),{title:n,onRetry:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={fontFamily:`var(--font-display)`,color:`var(--ink-muted)`},t[0]=i):i=t[0];let a;t[1]===n?a=t[2]:(a=(0,U.jsx)(`p`,{className:`mb-4`,children:n}),t[1]=n,t[2]=a);let o;t[3]===r?o=t[4]:(o=r&&(0,U.jsx)(`button`,{type:`button`,onClick:r,className:`action-button-primary min-h-11 cursor-pointer px-4 text-[11px] font-[800] uppercase tracking-[0.15em]`,style:{fontFamily:`var(--font-display)`},children:`Reintentar`}),t[3]=r,t[4]=o);let s;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,U.jsx)($i,{to:`/noticias`,className:`action-button-secondary inline-flex min-h-11 items-center px-4 text-[11px] font-[800] uppercase tracking-[0.15em]`,style:{fontFamily:`var(--font-display)`},children:`Volver a noticias`}),t[5]=s):s=t[5];let c;t[6]===o?c=t[7]:(c=(0,U.jsxs)(`div`,{className:`flex items-center justify-center gap-4`,children:[o,s]}),t[6]=o,t[7]=c);let l;return t[8]!==a||t[9]!==c?(l=(0,U.jsxs)(`div`,{className:`max-w-3xl mx-auto px-4 py-16 text-center`,style:i,children:[a,c]}),t[8]=a,t[9]=c,t[10]=l):l=t[10],l}function KU(){let e=(0,w.c)(4);vI(`Podcast â FM La Tribu`,`Podcasts y series documentales de FM La Tribu en Spotify.`);let t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(pz,{emphasis:`Podcast`}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsxs)(TL,{children:[t,(0,U.jsx)(`div`,{className:`flex flex-col gap-14`,children:HR.map(qU)})]}),e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)(`div`,{className:`mt-16`,children:(0,U.jsx)(UR,{id:`estudio`})}),e[2]=r):r=e[2];let i;return e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,U.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 py-10`,children:[n,r,(0,U.jsx)(`div`,{className:`mt-16`,children:(0,U.jsx)(zR,{groupSlug:`cuadrado-carrusel`})})]}),e[3]=i):i=e[3],i}function qU(e){return(0,U.jsxs)(`section`,{className:`grid grid-cols-1 gap-5 border-t border-ink-rule pt-6 first:border-t-0 first:pt-0 md:grid-cols-[minmax(0,1.15fr)_minmax(14rem,0.85fr)] md:items-center md:gap-8`,children:[(0,U.jsx)(VR,{spotifyId:e.spotifyId,title:e.title}),(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h2`,{className:`uppercase leading-tight mb-1`,style:{fontFamily:`var(--font-display)`,fontWeight:900,fontSize:26,color:`var(--ink-primary)`},children:e.title}),(0,U.jsx)(`p`,{className:`text-sm mb-3`,style:{fontFamily:`var(--font-display)`,fontWeight:400,color:`var(--ink-muted)`},children:e.description}),(0,U.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,U.jsx)(`a`,{href:e.spotifyUrl,target:`_blank`,rel:`noreferrer`,className:`text-link-accent text-[11px] font-[800] uppercase tracking-[0.15em] transition-colors`,style:{fontFamily:`var(--font-display)`},children:`â¶ Spotify`}),e.youtubeUrl&&(0,U.jsx)(`a`,{href:e.youtubeUrl,target:`_blank`,rel:`noreferrer`,className:`text-link-muted text-[11px] font-[800] uppercase tracking-[0.15em] transition-colors`,style:{fontFamily:`var(--font-display)`},children:`â¶ YouTube`})]})]})]},e.id)}var JU=[{title:`Esto es un abrazo`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/esto-es-un-abrazo`,imageFile:`estoesunabrazo.webp`}
94,{title:`31 Piezas Sonoras de Festejo`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/31-piezas-sonoras-de-festejo`,imageFile:`piezassonorasdefestejo.webp`},{title:`30 Años Encendida`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/30-a-os-encendida`,imageFile:`30yrencendida.webp`},{title:`Fuga`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/fuga`,imageFile:`fuga.webp`},{title:`Cuerpo â Canciones a partir de Mariano Ferreyra`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/cuerpo`,imageFile:`cuerpo.webp`},{title:`Ajà de las Maderas`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/aj-de-las-maderas`,imageFile:`ajidelasmaderas.webp`},{title:`Picante Parlante`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/picante-parlante`,imageFile:`picanteparlante.webp`},{title:`Todxs Queremos Llegar a Casa`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/todxs-queremos-llegar-a-casa`,imageFile:`llegaracasa.webp`},{title:`Memoria es Futuro â A 30 años`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/memoria-es-futuro`,imageFile:`memoriaesfuturo.webp`},{title:`A Bush No Le Va a Gustar`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/a-bush-no-le-va-a-gustar`,imageFile:`abushnolevaagustar.webp`},{title:`El Demonio es Otra Cosa`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/el-demonio-es-otra-cosa`,imageFile:`eldemonioesotracosa.webp`},{title:`Siempre Fui Loco â La Colifata`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/siempre-fui-loco`,imageFile:`lacolifata.webp`},{title:`Ojos Desatan Dientes`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/ojos-desatan-dientes`,imageFile:`ojosdesatandientes.webp`},{title:`Me OdÃas`,bandcampUrl:`https://fmlatribu.bandcamp.com/album/me-od-as`,imageFile:`meodias.webp`}];function YU(){let e=(0,w.c)(4);vI(`Discos â FM La Tribu`,`DiscografÃa y producciones musicales de FM La Tribu en Bandcamp.`);let t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(pz,{emphasis:`Discos`,description:`Discos editados por La Tribu a lo largo de los años.`}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsx)(`div`,{className:`mb-6 flex justify-start`,children:(0,U.jsx)(`a`,{href:`https://fmlatribu.bandcamp.com/music`,target:`_blank`,rel:`noreferrer`,className:`action-button-primary inline-flex min-h-11 items-center justify-center px-4 py-2 text-[11px] font-[800] uppercase tracking-[0.12em]`,children:`Escuchá todos en Bandcamp`})}),e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsxs)(TL,{children:[t,n,(0,U.jsx)(`div`,{className:`grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5`,children:JU.map(XU)})]}),e[2]=r):r=e[2];let i;return e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,U.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 py-10`,children:[r,(0,U.jsx)(`div`,{className:`mt-16`,children:(0,U.jsx)(zR,{groupSlug:`cuadrado-carrusel`})})]}),e[3]=i):i=e[3],i}function XU(e,t){return(0,U.jsxs)(ob.a,{href:e.bandcampUrl,target:`_blank`,rel:`noreferrer`,initial:{opacity:1},whileInView:{opacity:[0,1]},viewport:{once:!0,amount:.2},transition:{duration:.3,delay:t%5*.05},className:`disco-card group block overflow-hidden`,style:{background:`var(--bg-surface)`},children:[(0,U.jsx)(`div`,{className:`aspect-square overflow-hidden`,children:(0,U.jsx)(`img`,{src:`/img/discos/${e.imageFile}`,alt:e.title,className:`h-full w-full object-cover transition-opacity duration-300 group-hover:opacity-85`,loading:`lazy`})}),(0,U.jsx)(`div`,{className:`p-3`,children:(0,U.jsx)(`p`,{className:`line-clamp-2 text-xs leading-snug text-ink-secondary`,children:e.title})})]},e.bandcampUrl)}var ZU=[`/img/estudionuevo/estudionuevo_1.webp`,`/img/estudionuevo/estudionuevo_2.webp`,`/img/estudionuevo/estudionuevo_3.webp`,`/img/estudionuevo/estudionuevo_4.webp`,`/img/estudionuevo/estudionuevo_5.webp`,`/img/estudionuevo/estudionuevo_6.webp`,`/img/estudionuevo/estudionuevo_7.webp`,`/img/estudionuevo/estudionuevo_8.webp`,`/img/estudionuevo/estudionuevo_9.webp`,`/img/estudionuevo/estudionuevo_10.webp`,`/img/estudionuevo/estudionuevo_11.webp`],QU=[`FM 88.7`,`Centro de Capacitación y Producción`,`Audiovisual`,`Digital`,`Ediciones`,`Bar-Territorio`,`Cultura Libre`,`Comunicación Alternativa`],$U=`
94inline-flex min-h-11 items-center justify-center px-5 py-2.5 text-center text-[11px] font-[800] uppercase tracking-[0.15em]`;function eW(){let e=(0,w.c)(12);vI(`Quiénes Somos â FM La Tribu`,`FM La Tribu, colectivo de comunicación y cultura desde 1989 en Buenos Aires.`);let t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`div`,{className:`min-h-72 overflow-hidden rounded-xl lg:min-h-full`,children:(0,U.jsx)(`img`,{src:`/img/nosotros/quienessomosfondo.webp`,alt:`Vista aérea de la sede de FM La Tribu en el barrio de Almagro`,className:`h-full w-full object-cover`})}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,U.jsx)(pz,{lead:`La Tribu,`,emphasis:`Encendida`,className:`mb-0`}),e[1]=n):n=e[1];let r,i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsxs)(`div`,{className:`mt-6 max-w-[68ch] space-y-4 text-base leading-relaxed text-ink-secondary`,children:[(0,U.jsx)(`p`,{children:`La Tribu es un colectivo de comunicación y cultura que funciona en la esquina de Lambaré 873, barrio de Almagro, en la Ciudad de Buenos Aires, desde 1989.`}),(0,U.jsx)(`p`,{children:`Una voz se hace circuito y el brote altera el orden. Componemos en libertad como la orquesta de las hojas con el aire. Continuar el silbido. Comenzar un recorrido. Bajo tierra somos bosque latiendo que recibe una furiosa descarga y la devuelve hecha fruto. Animarse a jugar en colectivo y a generar cortocircuitos.`})]}),i=(0,U.jsx)(`p`,{className:`mt-5 text-sm font-[700] leading-relaxed text-ink-primary`,children:`Un mural de colores, dos puertas abiertas, parlantes encendidos, lentes en foco, código abierto; puño y sonido. ¿Conocés La Tribu?`}),e[2]=r,e[3]=i):(r=e[2],i=e[3]);let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,U.jsx)(`div`,{className:`mt-5 flex flex-wrap gap-2`,"aria-label":`Ãreas de trabajo`,children:QU.map(nW)}),e[4]=a):a=e[4];let o,s;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsx)(TL,{children:(0,U.jsxs)(`div`,{className:`grid items-stretch gap-7 lg:grid-cols-[minmax(18rem,0.8fr)_minmax(0,1.2fr)] lg:gap-10`,children:[t,(0,U.jsxs)(`div`,{className:`flex flex-col justify-center`,children:[n,r,i,a,(0,U.jsxs)(`div`,{className:`mt-6 flex flex-wrap gap-3`,children:[(0,U.jsx)($i,{to:`/radio`,className:`${$U} action-button-primary`,children:`Grilla de programas`}),(0,U.jsx)($i,{to:`/noticias/licencia-fm-la-tribu-88-7mhz-una-larga-lucha-y-un-triunfo-colectivo`,className:`${$U} action-button-secondary`,children:`Licencia`})]})]})]})}),s=(0,U.jsx)(WR,{}),e[5]=o,e[6]=s):(o=e[5],s=e[6]);let c;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,U.jsx)(`p`,{className:`section-label mb-2`,children:`La casa de La Tribu`}),e[7]=c):c=e[7];let l;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,U.jsxs)(`div`,{className:`mb-6 border-b-2 border-ink-primary pb-4`,children:[c,(0,U.jsx)(`h2`,{id:`studio-gallery-title`,className:`text-3xl leading-none sm:text-4xl`,style:{fontFamily:`var(--font-display)`,fontWeight:900,color:`var(--ink-primary)`},children:`Nuestra casa con parlantes`})]}),e[8]=l):l=e[8];let u,d;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,U.jsxs)(`section`,{className:`py-12`,"aria-labelledby":`studio-gallery-title`,children:[l,(0,U.jsx)(`div`,{className:`grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3`,children:ZU.map(tW)})]}),u=(0,U.jsx)(UR,{}),e[9]=u,e[10]=d):(u=e[9],d=e[10]);let f;return e[11]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,U.jsxs)(`main`,{className:`mx-auto max-w-7xl px-4 py-10`,children:[o,s,d,u,(0,U.jsx)(`div`,{className:`mt-16`,children:(0,U.jsx)(zR,{groupSlug:`cuadrado-carrusel`})})]}),e[11]=f):f=e[11],f}function tW(e,t){return(0,U.jsx)(`div`,{className:`aspect-[4/3] overflow-hidden rounded-xl ${ZU.length%3==2&&t===ZU.length-2?`lg:col-start-2`:``}`,children:(0,U.jsx)(`img`,{src:e,alt:`Estudio de FM La Tribu ${t+1}`,className:`h-full w-full object-cover transition-transform duration-300 hover:scale-[1.02] motion-reduce:transition-none`,loading:`lazy`})},e)}function nW(e){return(0,U.jsx)(`span`,{className:`rounded-full border border-ink-rule px-3 py-1.5 text-xs font-[800] uppercase tracking-[0.08em] text-ink-secondary`,children:e},e)}var rW=[];function iW(){return Yj(Jj().data?.[0]?.id??0).data??rW}function aW(){let e=(0,w.c)(5),t=iW(),[n,r]=(0,S.useState)(oW),i,a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=()=>{let e=setInterval(()=>r(new Date),6e4);return()=>clearInterval(e)},a=[],e[0]=i,e[1]=a):(i=e[0],a=e[1]),(0,S.useEffect)(i,a);let o;return e[2]!==t||e[3]!==n?(o=lN(t,n),e[2]=t,e[3]=n,e[4]=o):o=e[4],o}
94function oW(){return new Date}function sW(){let e=(0,w.c)(5),t=iW(),[n,r]=(0,S.useState)(cW),i,a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=()=>{let e=setInterval(()=>r(new Date),1e3);return()=>clearInterval(e)},a=[],e[0]=i,e[1]=a):(i=e[0],a=e[1]),(0,S.useEffect)(i,a);let o;return e[2]!==t||e[3]!==n?(o=uN(t,n),e[2]=t,e[3]=n,e[4]=o):o=e[4],o}function cW(){return new Date}function lW(e){return`${String(e).padStart(2,`0`)}:00`}function uW(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`var(--ink-muted)`,strokeWidth:`1.8`,strokeLinecap:`round`,"aria-hidden":`true`,children:[(0,U.jsx)(`path`,{d:`M3 9v6h4l5 5V4L7 9H3z`,fill:`var(--ink-muted)`,stroke:`none`}),(0,U.jsx)(`path`,{d:`M16 9l5 6M21 9l-5 6`})]}),e[0]=t):t=e[0],t}function dW(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`var(--ink-muted)`,"aria-hidden":`true`,children:(0,U.jsx)(`path`,{d:`M3 9v6h4l5 5V4L7 9H3z`})}),e[0]=t):t=e[0],t}function fW(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`var(--ink-muted)`,strokeWidth:`1.8`,strokeLinecap:`round`,"aria-hidden":`true`,children:[(0,U.jsx)(`path`,{d:`M3 9v6h4l5 5V4L7 9H3z`,fill:`var(--ink-muted)`,stroke:`none`}),(0,U.jsx)(`path`,{d:`M16 8a5 5 0 0 1 0 8`}),(0,U.jsx)(`path`,{d:`M18.5 5.5a9 9 0 0 1 0 13`})]}),e[0]=t):t=e[0],t}function pW(e){let t=Math.max(0,Math.floor(e/1e3)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60,a=e=>String(e).padStart(2,`0`);return n>0?`${a(n)}:${a(r)}:${a(i)}`:`${a(r)}:${a(i)}`}function mW(){let e=(0,w.c)(44);vI(`FM La Tribu 88.7 â En vivo`);let t=(0,S.useRef)(null),[n,r]=(0,S.useState)(!1),[i,a]=(0,S.useState)(.8),[o,s]=(0,S.useState)(null),c=aW(),l=sW(),u=o!==null,d;e[0]!==u||e[1]!==o||e[2]!==i?(d=function(){u?(a(o),s(null)):(s(i),a(0))},e[0]=u,e[1]=o,e[2]=i,e[3]=d):d=e[3];let f=d,p,m;e[4]===n?(p=e[5],m=e[6]):(p=()=>{let e=t.current;e&&(n?((!e.src||e.src!==`https://icecast.zeclogiccloud.com.de/fmlatribu`)&&(e.src=dN),e.play().catch(()=>r(!1))):(e.pause(),e.src=``))},m=[n],e[4]=n,e[5]=p,e[6]=m),(0,S.useEffect)(p,m);let h,g;e[7]===i?(h=e[8],g=e[9]):(h=()=>{t.current&&(t.current.volume=i)},g=[i],e[7]=i,e[8]=h,e[9]=g),(0,S.useEffect)(h,g);let _,v;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(_={background:`var(--bg-base)`,fontFamily:`var(--font-display)`},v=(0,U.jsx)(`audio`,{ref:t,preload:`none`}),e[10]=_,e[11]=v):(_=e[10],v=e[11]);let y;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,U.jsx)(`img`,{src:hl.cabezaIcono,alt:``,"aria-hidden":`true`,className:`pointer-events-none absolute select-none`,style:{top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,width:`150%`,maxWidth:700,height:`auto`,opacity:.5,zIndex:0}}),e[12]=y):y=e[12];let b;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(b={zIndex:1},e[13]=b):b=e[13];let x;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,U.jsxs)(`div`,{className:`leading-tight`,children:[(0,U.jsx)(`div`,{className:`uppercase`,style:{fontWeight:900,fontSize:27,letterSpacing:`-0.01em`,color:`var(--text-accent)`,textShadow:`0 2px 4px rgba(0,0,0,0.2)`},children:`La Ãltima Radio`}),(0,U.jsx)(`div`,{style:{fontFamily:`"Caveat", cursive`,fontWeight:700,fontSize:39,color:`var(--ink-primary)`,marginTop:-6,textShadow:`0 2px 4px rgba(0,0,0,0.2)`},children:`la Tribu`})]}),e[14]=x):x=e[14];let C;e[15]!==c||e[16]!==n||e[17]!==l?(C=c?(0,U.jsxs)(U.Fragment,{children:[n&&(0,U.jsx)(`span`,{className:`badge-en-vivo`,children:`En vivo ahora`}),(0,U.jsx)(`div`,{className:`leading-none uppercase`,style:{fontWeight:900,fontSize:22,color:`var(--ink-primary)`},children:c.name})]}):(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(`p`,{className:`uppercase`,style:{fontSize:11,fontWeight:800,letterSpacing:`0.15em`,color:`var(--ink-muted)`},children:`Próximamente`}),(0,U.jsx)(`div`,{className:`leading-none tabular-nums`,style:{fontWeight:900,fontSize:32,color:`var(--red-500)`},children:l?pW(l.startsAt.getTime()-Date.now()):`â`}),l&&(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`div`,{className:`leading-none uppercase`,style:{fontWeight:900,fontSize:20,color:`var(--ink-primary)`},children:l.entry.activity.name}),(0,U.jsxs)(`p`,{className:`mt-1`,style:{fontSize:12,color:`var(--ink-muted)`},children:[lW(l.entry.hourStart),`â`,lW(l.entry.hourEnd)]})]})]}),e[15]=c,e[16]=n,e[17]=l,e[18]=C):C=e[18];let T;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(T=()=>r(hW),e[19]=T):T=e[19];let E=n?`Pausar radio`:`Reproducir radio`,D=n?`ââ Pausar`:`â¶ Escuchar en vivo`,O;e[20]!==E||e[21]!==D?(O=(0,U.jsx)(`button`,{onClick:T,"aria-label":E,className:`action-button-primary min-h-11 w-full max-w-[220px] cursor-pointer py-2.5 text-[11px] font-[800] uppercase tracking-[0.15em]`,children:D}),e[20]=E,e[21]=D,e[22]=O):O=e[22];let k=u?`Activar sonido`:`Silenciar`,A;e[23]===Symbol.for(`react.memo_cache_sentinel`)?(A={background:`none`,border:`none`,padding:0},e[23]=A):A=e[23];let j;e[24]===u?j=e[25]:(j=u?(0,U.jsx)(uW,{}):(0,U.jsx)(dW,{}),e[24]=u,e[25]=j);let M;e[26]!==k||e[27]!==j||e[28]!==f?(M=(0,U.jsx)(`button`,{onClick:f,"aria-label":k,className:`flex items-center justify-center cursor-pointer transition-opacity hover:opacity-60`,style:A,children:j}),e[26]=k,e[27]=j,e[28]=f,e[29]=M):M=e[29];let N;
94e[30]===i?N=e[31]:(N=Math.round(i*100),e[30]=i,e[31]=N);let P;e[32]===Symbol.for(`react.memo_cache_sentinel`)?(P=e=>{s(null),a(Number(e.target.value)/100)},e[32]=P):P=e[32];let F;e[33]===Symbol.for(`react.memo_cache_sentinel`)?(F={width:100,accentColor:`var(--red-500)`,cursor:`pointer`},e[33]=F):F=e[33];let I;e[34]===N?I=e[35]:(I=(0,U.jsx)(`input`,{type:`range`,min:0,max:100,value:N,onChange:P,"aria-label":`Volumen`,style:F}),e[34]=N,e[35]=I);let L;e[36]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,U.jsx)(fW,{}),e[36]=L):L=e[36];let R;e[37]!==M||e[38]!==I?(R=(0,U.jsxs)(`div`,{className:`flex items-center gap-2`,children:[M,I,L]}),e[37]=M,e[38]=I,e[39]=R):R=e[39];let ee;return e[40]!==C||e[41]!==O||e[42]!==R?(ee=(0,U.jsxs)(`div`,{className:`public-site relative flex flex-col items-center justify-center gap-5 h-screen px-6 text-center overflow-hidden`,style:_,children:[v,y,(0,U.jsxs)(`div`,{className:`relative flex flex-col items-center gap-5`,style:b,children:[x,C,O,R]})]}),e[40]=C,e[41]=O,e[42]=R,e[43]=ee):ee=e[43],ee}function hW(e){return!e}function gW(){let e=(0,w.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsxs)(`main`,{className:`public-site public-not-found`,children:[(0,U.jsx)(`p`,{className:`section-label`,children:`404 · Fuera de programación`}),(0,U.jsx)(`h1`,{children:`Esta página no existe.`}),(0,U.jsx)(`p`,{children:`La dirección pudo haber cambiado, o el contenido ya no está al aire.`}),(0,U.jsx)($i,{className:`public-not-found-link`,to:`/`,children:`â Volver al inicio`})]}),e[0]=t):t=e[0],t}var _W=`https://zeclogic-s3-container.s3.ca-east-tor.io.cloud.ovh.net/zlhermes.com/5/2026-09-10T16-19-43-050Z-guiaarchivosonorolatribu-ab7c6c34-b73b-4075-9c80-2d779eb67250.pdf`,vW=`https://archive.org/details/%40archivo_sonoro_la_tribu?sort=titleSorter`,yW=[{title:`La Tribu: 2 años en el aire y con los pies en la tierra`,description:`Archivo sonoro del 19 de junio de 1991.`,src:`https://zeclogic-s3-container.s3.ca-east-tor.io.cloud.ovh.net/zlhermes.com/5/2026-09-10T16-19-43-049Z-ar-lt-c-0250-a-443472c9-b488-48dc-9afa-5f24c00c5127.mp3`},{title:`Programa âLa máscara de la medusaâ`,description:`Archivo sonoro de emisiones de los años 1993 y 1994, los martes a la medianoche. Los homosexuales â Travestis en la máscara.`,src:`https://zeclogic-s3-container.s3.ca-east-tor.io.cloud.ovh.net/zlhermes.com/5/2026-09-10T16-19-43-049Z-ar-lt-c-0440-a-bb9a839b-d28c-4592-943a-b4a242602efa.mp3`},{title:`Derechos Humanos`,description:`Archivo sonoro de septiembre, octubre, noviembre y diciembre del 2003, con testimonios de Raimundi Aguika, el MoCaSe, grupos armados vs campesinos. Aportes del Fiscal de BahÃa Blanca por la extradición a Astiz. Marta Vedia de APDH La Plata. MarÃa del Carmen Verdú de CORREPI por Walter Bulacio y la CIDH.`,src:`https://zeclogic-s3-container.s3.ca-east-tor.io.cloud.ovh.net/zlhermes.com/5/2026-09-10T16-19-43-040Z-ar-lt-c-0196-a-c8c55281-beb1-4ebd-bdb3-75f1e8edcf13.mp3`},{title:`Conflictos sociales`,description:`Archivo sonoro de marzo de 2004. Marcha CTA. Movilización de Castells por el Proyecto de Congreso Piquetero. Unión Ferroviaria. Cooperativa Maderera en Córdoba. Ingenio El Tabacal. Comunidad Aba GuaranÃ.`,src:`https://zeclogic-s3-container.s3.ca-east-tor.io.cloud.ovh.net/zlhermes.com/5/2026-09-10T16-19-43-048Z-ar-lt-c-0240-a-cd7794e9-e01b-4ede-8cb1-83368afd88c0.mp3`}],bW=`action-button-primary inline-flex min-h-11 items-center justify-center px-5 py-2.5 text-center text-[11px] font-[800] uppercase tracking-[0.12em]`,xW=`action-button-secondary inline-flex min-h-11 items-center justify-center px-5 py-2 text-[11px] font-[800] uppercase tracking-[0.12em]`;function SW(){let e=(0,w.c)(10);vI(`Archivo Sonoro â FM La Tribu`,`Un registro sonoro de la historia argentina reciente preservado por FM La Tribu.`);let t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,U.jsx)(`h1`,{className:`text-[clamp(1.7rem,4vw,2.4rem)] font-[900] leading-none`,children:`Archivo Sonoro`}),n=(0,U.jsx)(`p`,{className:`mt-5 text-sm font-[800] leading-relaxed`,children:`El Archivo de FM La Tribu es un registro de la historia reciente de Argentina: la consolidación del neoliberalismo en los noventa, la crisis económica, el quiebre del 2001, la organización popular, los movimientos sociales de fin de siglo, los feminismos y las voces de la disidencia LGBTIQ, los juicios a las juntas militares de la última dictadura cÃvico eclesiástica militar, los debates y la lucha hacia una Ley de Servicios de Comunicación Audiovisual que reemplace la de la dictadura, entre otros. Todos temas que están siendo abordados, analizados e investigados actualmente por las Ciencias Sociales, por eso tenemos la certeza que la puesta en valor será un aporte fundamental a entender esa parte de nuestra historia, desde una perspectiva propia: la de las bases populares, las organizaciones sociales, los movimientos estudiantiles.`}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r,i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,U.jsx)(`p`,{className:`text-sm font-[700] leading-snug`,children:`Grabado en el aire: Una guÃa (posible) para la puesta en valor de archivos de radio en casetes.`}),i=(0,U.jsx)(`img`,{src:`/img/archivosonoro/grabado_en_el_aire_horizontal.webp`,alt:`Portada de la guÃa Grabado en el aire`,className:`mt-4 aspect-video w-full object-contain`,loading:`lazy`}),e[2]=r,e[3]=i):(r=e[2],i=e[3]);let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,U.jsxs)(`aside`,{className:`rounded-[1rem] border border-terracotta-dial bg-[#a9a7a5] p-4 text-white`,children:[r,i,(0,U.jsx)(`div`,{className:`mt-3 flex justify-center`,children:(0,U.jsx)(`a`,{href:_W,target:`_blank`,rel:`noreferrer`,className:bW,children:`Ver documento`})})]}),e[4]=a):a=e[4];let o;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,U.jsxs)(`div`,{className:`mt-6 grid items-start gap-6 md:grid-cols-[minmax(15rem,0.9fr)_minmax(0,1.1fr)]`,children:[a,(0,U.jsxs)(`div`,{className:`space-y-3 text-sm leading-relaxed`,children:[(0,U.jsx)(`p`,{children:`Desde sus inicios La Tribu se planteó, como proyecto comunicacional, articular la multiplicidad de voces y propuestas de manera coherente y con un âmodo de decirâ que la identificara, y que permitiera identificarse con otrxs. La Tribu no considera a las personas como âoyentxsâ sino como âradioparticipantxsâ. Ellxs son parte de la construcción de ese modo de decir con su participación activa: sugieren, preguntan, cuestionan, son parte.`}),(0,U.jsx)(`p`,{children:`¿Quiénes escuchan La Tribu? La respuesta es bastante amplia y va en lÃnea con la amplitud de la programación que busca abarcar las problemáticas territoriales, tanto del barrio de Almagro como de la Ciudad de Buenos Aires y, con una mirada federal, aquellos lugares del paÃs cuyas problemáticas no se ven reflejadas en los medios hegemónicos, promoviendo el ejercicio activo de la ciudadanÃa, la lucha por los derechos y complejizando las representaciones habitualmente estereotipadas en la sociedad.`}),(0,U.jsx)(`p`,{children:`Se busca interpelar a la persona en tanto ciudadanx activx, al pueblo en tanto sujetx movilizadx, al barrio y sus vecinxs comprometidxs con el entorno que habitan junto con otrxs.`})]})]}),e[5]=o):o=e[5];let s;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,U.jsxs)(`section`,{className:`rounded-[1rem] border border-terracotta-dial bg-[rgba(50,46,42,0.16)] px-5 py-6 text-black sm:px-8 sm:py-8`,children:[t,n,o,(0,U.jsx)(`section`,{className:`mt-7`,"aria-label":`Registros recuperados`,children:(0,U.jsx)(`div`,{className:`divi
94de-y divide-black/15`,children:yW.map(CW)})})]}),e[6]=s):s=e[6];let c,l;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,U.jsx)(`section`,{className:`mt-4 rounded-[1rem] border border-terracotta-dial bg-[#a9a7a5] px-5 py-6 text-white sm:px-8`,children:(0,U.jsxs)(`div`,{className:`grid items-end gap-5 md:grid-cols-[minmax(0,1fr)_auto]`,children:[(0,U.jsxs)(`div`,{children:[(0,U.jsx)(`h2`,{className:`text-xl font-[900] leading-none`,children:`Archivo Completo`}),(0,U.jsx)(`p`,{className:`mt-5 max-w-[80ch] text-sm font-[700] leading-relaxed`,children:`En el marco de los 30 años de existencia, el colectivo de comunicación y cultura La Tribu FM 88.7 considera de vital importancia la recuperación y conservación de su acervo. En su ejercicio radiofónico, el modo de acceso, transmisión y construcción de información constituye una pieza importante y activa para la memoria colectiva.`})]}),(0,U.jsx)(`a`,{href:vW,target:`_blank`,rel:`noreferrer`,className:`${bW} w-full md:w-auto`,children:`Ver archivo`})]})}),l=(0,U.jsx)(WR,{}),e[7]=c,e[8]=l):(c=e[7],l=e[8]);let u;return e[9]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,U.jsxs)(`main`,{className:`mx-auto max-w-7xl px-4 py-6 sm:py-10`,children:[s,c,l,(0,U.jsx)(`div`,{className:`mt-16`,children:(0,U.jsx)(zR,{groupSlug:`cuadrado-carrusel`})})]}),e[9]=u):u=e[9],u}function CW(e){return(0,U.jsxs)(`article`,{className:`py-5 first:pt-0`,children:[(0,U.jsx)(`h2`,{className:`text-sm font-[900] leading-snug`,children:e.title}),(0,U.jsx)(`p`,{className:`mt-1 text-sm leading-relaxed`,children:e.description}),(0,U.jsxs)(`audio`,{className:`mt-3 h-8 w-full`,controls:!0,preload:`metadata`,"aria-label":`Reproducir ${e.title}`,children:[(0,U.jsx)(`source`,{src:e.src,type:`audio/mpeg`}),`Tu navegador no puede reproducir este audio.`]}),(0,U.jsx)(`div`,{className:`mt-3 flex justify-end`,children:(0,U.jsx)(`a`,{href:e.src,download:!0,className:xW,children:`Descargar`})})]},e.src)}var wW={key:pl,identity:ml,publicRoutes:[{element:(0,U.jsx)(_I,{}),children:[{path:`/`,element:(0,U.jsx)(JR,{})},{path:`/radio`,element:(0,U.jsx)(mz,{})},{path:`/talleres`,element:(0,U.jsx)(hz,{})},{path:`/talleres/inscripcion`,element:(0,U.jsx)(PV,{})},{path:`/noticias`,element:(0,U.jsx)(RV,{})},{path:`/noticias/:postSlug`,element:(0,U.jsx)(UU,{})},{path:`/podcasts`,element:(0,U.jsx)(KU,{})},{path:`/discos`,element:(0,U.jsx)(YU,{})},{path:`/quienes-somos`,element:(0,U.jsx)(eW,{})},{path:`/nosotros`,element:(0,U.jsx)(ni,{to:`/quienes-somos`,replace:!0})},{path:`/archivo-sonoro`,element:(0,U.jsx)(SW,{})}]},{path:`/player-popup`,element:(0,U.jsx)(mW,{})},{path:`*`,element:(0,U.jsx)(gW,{})}]},TW=document.getElementById(`root`);if(!TW)throw Error(`The Hermes root element is missing.`);fl(TW,wW);export{RF as $,UA as $n,es as $r,rP as $t,fL as A,TN as An,Sl as Ar,EP as At,SF as B,Uj as Bn,Oc as Br,gP as Bt,ER as C,u as Ci,NN as Cn,dp as Cr,NP as Ct,bL as D,kN as Dn,uu as Dr,kP as Dt,hL as E,AN as En,ld as Er,AP as Et,uL as F,hj as Fn,il as Fr,bP as Ft,xF as G,Ij as Gn,gc as Gr,dP as Gt,gF as H,Gj as Hn,Tc as Hr,mP as Ht,XI as I,bj as In,Jc as Ir,xP as It,AF as J,Vj as Jn,oc as Jr,cP as Jt,TF as K,Rj as Kn,pc as Kr,uP as Kt,GI as L,Nj as Ln,Yc as Lr,yP as Lt,gL as M,wN as Mn,_l as Mr,CP as Mt,dL as N,_j as Nn,dl as Nr,wP as Nt,_L as O,ON as On,lu as Or,OP as Ot,pL as P,fj as Pn,ll as Pr,SP as Pt,BF as Q,XA as Qn,As as Qr,iP as Qt,WI as R,Pj as Rn,Kc as Rr,vP as Rt,wR as S,c as Si,PN as Sn,Fp as Sr,PP as St,qI as T,jN as Tn,Wd as Tr,jP as Tt,CF as U,Lj as Un,xc as Ur,pP as Ut,_F as V,Hj as Vn,Dc as Vr,hP as Vt,dF as W,Kj as Wn,vc as Wr,fP as Wt,VF as X,aj as Xn,Qs as Xr,oP as Xt,jF as Y,Wj as Yn,ac as Yr,sP as Yt,PF as Z,oj as Zn,ec as Zr,aP as Zt,yR as _,sa as _i,zN as _n,K as _r,RP as _t,xU as a,jo as ai,XN as an,rA as ar,ZP as at,OR as b,p as bi,IN as bn,uv as br,IP as bt,PB as c,ni as ci,JN as cn,Q as cr,JP as ct,rR as d,oi as di,GN as dn,sA as dr,GP as dt,Xo as ei,nP as en,qA as er,zF as et,eR as f,Br as fi,WN as fn,rw as fr,WP as ft,vR as g,yr as gi,BN as gn,XC as gr,BP as gt,xR as h,hr as hi,VN as hn,QC as hr,VP as ht,jU as i,No as ii,QN as in,pA as ir,QP as it,vL as j,EN as jn,vl as jr,TP as jt,yL as k,DN as kn,wl as kr,DP as kt,gV as l,ri as li,qN as ln,aA as lr,qP as lt,bR as m,fr as mi,HN as mn,nw as mr,HP as mt,NU as n,Jo as ni,eP as nn,JA as nr,HF as nt,EV as o,$i as oi,ZN as on,Zk as or,XP as ot,DR as p,dr as pi,UN as pn,tw as pr,UP as pt,MF as q,Fj as qn,uc as qr,lP as qt,MU as r,Po as ri,$N as rn,KA as rr,IF as rt,eB as s,ea as si,YN as sn,hA as sr,YP as st,PU as t,Yo as ti,tP as tn,YA as tr,NF as tt,Qz as u,ii as ui,KN as un,Z as ur,KP as ut,CR as v,x as vi,RN as vn,sb as vr,zP as vt,JL as w,MN as wn,pp as wr,MP as wt,kR as x,s as xi,FN as xn,$_ as xr,FP as xt,TR as y,_ as yi,LN as yn,ob as yr,LP as yt,hF as z,Bj as zn,Rc as zr,_P as zt};
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.