1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Tooltip-B5AirDit.js","assets/floating-ui.dom-oJyGoIIL.js","assets/401-DUYRoZ88.js","assets/Page-BVamlS2E.js","assets/404-BZ2saos0.js","assets/429-CFVhOm9H.js","assets/500-Abqy6nd3.js","assets/index-IfbMO0UE.js","assets/ChevronRightIcon-CmmU7MqT.js","assets/appLogo-B_lIXa9O.js","assets/Profile-CtoeRrfr.js","assets/iconBase-DtuZemFL.js","assets/iFan-CZx_gzEc.js","assets/user_default_M-Crn8VOFv.js","assets/floating-D2FfdCF9.js","assets/CurrencyDollarIcon-Cw6rHtVN.js","assets/PhotoIcon-B5S5n-77.js","assets/ShieldCheckIcon-Bnc-MKU1.js","assets/UserIcon-B5JxmxUK.js","assets/index-VBT-zdfv.js","assets/icon-min-DdAHcYcJ.js","assets/HomeIcon-C99-T_Wu.js","assets/XMarkIcon-DmDWiBrv.js","assets/UserIcon-BA215Qhp.js","assets/logo_ms_min-Ce1ogrOb.js","assets/EnvelopeIcon-BOMuJvBW.js","assets/MapPinIcon-w_KY-csr.js","assets/index-C6421WzE.js","assets/useFanProfile-hobRfFC4.js","assets/useQuery-D0scIw9r.js","assets/useMutation-C__sBQHM.js","assets/useDonation-eZrBTL6u.js","assets/index-D0V_EE8k.js","assets/ImageCropModal-CMLo4Ci7.js","assets/ArrowPathIcon-uK33lkK1.js","assets/StarIcon-Dasx9eJW.js","assets/CheckBadgeIcon-QBBFZGnW.js","assets/HeartIcon-BiWE1269.js","assets/ArrowRightIcon-CDkGz1pS.js","assets/BanknotesIcon-z3pLbgC2.js","assets/ClockIcon-CSoJtV2V.js","assets/index-C_0ossTO.js","assets/InboxIcon-DHXsYfyx.js","assets/index-FvV3pzaO.js","assets/useMembershipsTypes-BsLHMW0l.js","assets/useCheckoutStore-wknVJRNA.js","assets/DocumentArrowDownIcon-GG8y5hTL.js","assets/CalendarDaysIcon-BJHHhBjn.js","assets/index-D5NjrMgi.js","assets/resolvers-B4PaWMVa.js","assets/PaymentFieldFixCard-BZ2DNv6z.js","assets/useOrderStatus-CBCxBreW.js","assets/createLucideIcon-BvaSZfaB.js","assets/countries-GeoiOGYg.js","assets/CreditCardIcon-C0tkCZoT.js","assets/SearchFanStatusCard-CjlG6Ogb.js","assets/credit-card-B0KKlXxC.js","assets/BankDetails-dhN0JeHT.js","assets/check-DgX7iLVu.js","assets/TermsModal-0TJ4Q9cr.js","assets/ArrowLeftIcon-BB2Fyk49.js","assets/UserGroupIcon-CjQvroWH.js","assets/TrashIcon-DnYyjM2_.js","assets/GiftIcon-Uvd5I05_.js","assets/PlusIcon-DKB3PgQ2.js","assets/BuildingOffice2Icon-DRrkYNKX.js","assets/SparklesIcon-B0-hXgYh.js","assets/ClipboardDocumentCheckIcon-BHGids_V.js","assets/index-BN82tEWU.js","assets/yup-Bdvt7v78.js","assets/index.esm-BYpU05iV.js","assets/element-movement-s5qptq67.js","assets/use-text-value-CatYAyca.js","assets/ChatBubbleLeftRightIcon-ClyEnOmu.js","assets/ArrowUpRightIcon-CkLbcQ-5.js","assets/MyProfile-yzzCkVg4.js","assets/PreviewImg-DeAG2pv8.js","assets/PhoneField-CmEa2iku.js","assets/CheckIcon-BGq2LG_H.js","assets/IdentificationIcon-BvTAya02.js","assets/index-C7Ke6APV.js","assets/index-5lWAF95d.js","assets/index-C1RvHk76.js","assets/UserPlusIcon-BokOy3l7.js","assets/IdentificationIcon-BXmraM2m.js","assets/EyeSlashIcon-4-Vcu_yX.js","assets/EyeIcon-DziotUoF.js","assets/LockClosedIcon-bY7Lig-m.js","assets/index-CHx6l-zf.js","assets/index-CPOs_yZI.js","assets/index-DYruMLb3.js","assets/passwordRules-NsXOWhKp.js","assets/PasswordChecklist-DDLXseQR.js","assets/OAuthCallback-BGwnv_5J.js","assets/index-gbuhTSC5.js","assets/ExclamationTriangleIcon-SBdSAX2O.js","assets/Datepicker-D-hYntp0.js","assets/es-BExlaXLv.js","assets/useFanCheckout-DgzUZ9-O.js","assets/documentValidation-B_uvSfjg.js","assets/validatePhone-BdNZcf-9.js","assets/ArrowRightIcon-C7Qtj3O1.js","assets/index-C0Vt3WUx.js","assets/Elnacional_Banner_1-DqpwxJtD.js","assets/Elnacional_Banner_MuralTumbaco-DvF0NFrH.js","assets/listbox-BWJm8U6L.js","assets/hero-flag-BBTrFH_J.js","assets/PlayIcon-3n7uThdk.js","assets/ArrowRightEndOnRectangleIcon-CJRZnp6V.js","assets/index-CYh__gle.js","assets/PencilSquareIcon-t7HKDM2N.js","assets/BuildingStorefrontIcon-YgCzq0kZ.js","assets/index-9-bmk47P.js","assets/LockClosedIcon-C-_0muol.js","assets/CheckIcon-BrbE0r_A.js","assets/index-Df8N-npF.js","assets/helpers-Bzrz8f2i.js","assets/ArrowLeftIcon-DFN6eIeb.js","assets/PaymentReturnPage-B_TVxXcJ.js","assets/index-BTORRirG.js","assets/TicketIcon-DWhxIalC.js","assets/index-B8adNf-O.js","assets/TrophyIcon-oo-n6bT2.js","assets/ShoppingBagIcon-B_ZrN7mb.js","assets/index-D2wQoqpN.js","assets/index-BxXMtWP1.js","assets/index-bgEE2LYW.js","assets/index-CiFOBXm0.js","assets/index-DOuS
1Dt7S.js","assets/StepRegistration-Bd7c110S.js","assets/fanRegistrationSchema-B4T-cOPZ.js","assets/CheckIcon-Dox2v8ss.js","assets/StepPayment-DyjbndjE.js","assets/CheckoutErrorCard-CfJs9q8G.js","assets/OrderPaymentReturnPage-B02kny01.js","assets/react-confetti-An2YtCoV.js","assets/smartphone-BZn35qR0.js","assets/OrderPaymentReturnDonationsPage-Dcbp4U6m.js","assets/StoreOrderPaymentReturnPage-TNQiT5-o.js","assets/index-Bvm_GBpk.js"])))=>i.map(i=>d[i]); 2function Gk(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&n(u)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var ks=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Xk(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Nm={exports:{}},iu={};var uE;function Wk(){if(uE)return iu;uE=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(n,i,o){var u=null;if(o!==void 0&&(u=""+o),i.key!==void 0&&(u=""+i.key),"key"in i){o={};for(var c in i)c!=="key"&&(o[c]=i[c])}else o=i;return i=o.ref,{$$typeof:t,type:n,key:u,ref:i!==void 0?i:null,props:o}}return iu.Fragment=e,iu.jsx=r,iu.jsxs=r,iu}var cE;function Kk(){return cE||(cE=1,Nm.exports=Wk()),Nm.exports}var te=Kk(),Pm={exports:{}},Ke={};var dE;function Qk(){if(dE)return Ke;dE=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),g=Symbol.iterator;function y($){return $===null||typeof $!="object"?null:($=g&&$[g]||$["@@iterator"],typeof $=="function"?$:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,E={};function T($,Y,G){this.props=$,this.context=Y,this.refs=E,this.updater=G||v}T.prototype.isReactComponent={},T.prototype.setState=function($,Y){if(typeof $!="object"&&typeof $!="function"&&$!=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,$,Y,"setState")},T.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function x(){}x.prototype=T.prototype;function _($,Y,G){this.props=$,this.context=Y,this.refs=E,this.updater=G||v}var O=_.prototype=new x;O.constructor=_,w(O,T.prototype),O.isPureReactComponent=!0;var k=Array.isArray;function L(){}var H={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function D($,Y,G){var W=G.ref;return{$$typeof:t,type:$,key:Y,ref:W!==void 0?W:null,props:G}}function M($,Y){return D($.type,Y,$.props)}function P($){return typeof $=="object"&&$!==null&&$.$$typeof===t}function U($){var Y={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(G){return Y[G]})}var I=/\/+/g;function z($,Y){return typeof $=="object"&&$!==null&&$.key!=null?U(""+$.key):Y.toString(36)}function F($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(L,L):($.status="pending",$.then(function(Y){$.status==="pending"&&($.status="fulfilled",$.value=Y)},function(Y){$.status==="pending"&&($.status="rejected",$.reason=Y)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function R($,Y,G,W,X){var Q=typeof $;(Q==="undefined"||Q==="boolean")&&($=null);var ae=!1;if($===null)ae=!0;else switch(Q){case"bigint":case"string":case"number":ae=!0;break;case"object":switch($.$$typeof){case t:case e:ae=!0;break;case p:return ae=$._init,R(ae($._payload),Y,G,W,X)}}
vendor: 15,109 bytes, line 2
2if(ae)return X=X($),ae=W===""?"."+z($,0):W,k(X)?(G="",ae!=null&&(G=ae.replace(I,"$&/")+"/"),R(X,Y,G,"",function(Se){return Se})):X!=null&&(P(X)&&(X=M(X,G+(X.key==null||$&&$.key===X.key?"":(""+X.key).replace(I,"$&/")+"/")+ae)),Y.push(X)),1;ae=0;var de=W===""?".":W+":";if(k($))for(var pe=0;pe<$.length;pe++)W=$[pe],Q=de+z(W,pe),ae+=R(W,Y,G,Q,X);else if(pe=y($),typeof pe=="function")for($=pe.call($),pe=0;!(W=$.next()).done;)W=W.value,Q=de+z(W,pe++),ae+=R(W,Y,G,Q,X);else if(Q==="object"){if(typeof $.then=="function")return R(F($),Y,G,W,X);throw Y=String($),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return ae}function A($,Y,G){if($==null)return $;var W=[],X=0;return R($,W,"","",function(Q){return Y.call(G,Q,X++)}),W}function B($){if($._status===-1){var Y=$._result;Y=Y(),Y.then(function(G){($._status===0||$._status===-1)&&($._status=1,$._result=G)},function(G){($._status===0||$._status===-1)&&($._status=2,$._result=G)}),$._status===-1&&($._status=0,$._result=Y)}if($._status===1)return $._result.default;throw $._result}var q=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($),error:$});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",$);return}console.error($)},K={map:A,forEach:function($,Y,G){A($,function(){Y.apply(this,arguments)},G)},count:function($){var Y=0;return A($,function(){Y++}),Y},toArray:function($){return A($,function(Y){return Y})||[]},only:function($){if(!P($))throw Error("React.Children.only expected to receive a single React element child.");return $}};return Ke.Activity=m,Ke.Children=K,Ke.Component=T,Ke.Fragment=r,Ke.Profiler=i,Ke.PureComponent=_,Ke.StrictMode=n,Ke.Suspense=f,Ke.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,Ke.__COMPILER_RUNTIME={__proto__:null,c:function($){return H.H.useMemoCache($)}},Ke.cache=function($){return function(){return $.apply(null,arguments)}},Ke.cacheSignal=function(){return null},Ke.cloneElement=function($,Y,G){if($==null)throw Error("The argument must be a React element, but you passed "+$+".");var W=w({},$.props),X=$.key;if(Y!=null)for(Q in Y.key!==void 0&&(X=""+Y.key),Y)!C.call(Y,Q)||Q==="key"||Q==="__self"||Q==="__source"||Q==="ref"&&Y.ref===void 0||(W[Q]=Y[Q]);var Q=arguments.length-2;if(Q===1)W.children=G;else if(1<Q){for(var ae=Array(Q),de=0;de<Q;de++)ae[de]=arguments[de+2];W.children=ae}return D($.type,X,W)},Ke.createContext=function($){return $={$$typeof:u,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider=$,$.Consumer={$$typeof:o,_context:$},$},Ke.createElement=function($,Y,G){var W,X={},Q=null;if(Y!=null)for(W in Y.key!==void 0&&(Q=""+Y.key),Y)C.call(Y,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(X[W]=Y[W]);var ae=arguments.length-2;if(ae===1)X.children=G;else if(1<ae){for(var de=Array(ae),pe=0;pe<ae;pe++)de[pe]=arguments[pe+2];X.children=de}if($&&$.defaultProps)for(W in ae=$.defaultProps,ae)X[W]===void 0&&(X[W]=ae[W]);return D($,Q,X)},Ke.createRef=function(){return{current:null}},Ke.forwardRef=function($){return{$$typeof:c,render:$}},Ke.isValidElement=P,Ke.lazy=function($){return{$$typeof:p,_payload:{_status:-1,_result:$},_init:B}},Ke.memo=function($,Y){return{$$typeof:d,type:$,compare:Y===void 0?null:Y}},Ke.startTransition=function($){var Y=H.T,G={};H.T=G;try{var W=$(),X=H.S;X!==null&&X(G,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then(L,q)}catch(Q){q(Q)}finally{Y!==null&&G.types!==null&&(Y.types=G.types),H.T=Y}},Ke.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()},Ke.use=function($){return H.H.use($)},Ke.useActionState=function($,Y,G){return H.H.useActionState($,Y,G)},Ke.useCallback=function($,Y){return H.H.useCallback($,Y)},Ke.useContext=function($){return H.H.useContext($)},Ke.useDebugValue=function(){},Ke.useDeferredValue=function($,Y){return H.H.useDeferredValue($,Y)},Ke.useEffect=function($,Y){return H.H.useEffect($,Y)},Ke.useEffectEvent=function($){return H.H.useEffectEvent($)},Ke.useId=function(){return H.H.useId()},Ke.useImperativeHandle=function($,Y,G){return H.H.useImperativeHandle($,Y,G)},Ke.useInsertionEffect=function($,Y){return H.H.useInsertionEffect($,Y)},Ke.useLayoutEffect=function($,Y){return H.H.useLayoutEffect($,Y)},Ke.useMemo=function($,Y){return H.H.useMemo($,Y)},Ke.useOptimistic=function($,Y){return H.H.useOptimistic($,Y)},Ke.useReducer=function($,Y,G){return H.H.useReducer($,Y,G)},Ke.useRef=function($){return H.H.useRef($)},Ke.useState=function($){return H.H.useState($)},Ke.useSyncExternalStore=function($,Y,G){return H.H.useSyncExternalStore($,Y,G)},Ke.useTransition=function(){return H.H.useTransition()},Ke.version="19.2.7",Ke}var fE;function zf(){return fE||(fE=1,Pm.exports=Qk()),Pm.exports}var j=zf();const fe=qs(j),hv=Gk({__proto__:null,default:fe},[j]);var zm={exports:{}},su={},jm={exports:{}},Im={};var hE;function Zk(){return hE||(hE=1,(function(t){function e(R,A){var B=R.length;R.push(A);e:for(;0<B;){var q=B-1>>>1,K=R[q];if(0<i(K,A))R[q]=A,R[B]=K,B=q;else break e}}function r(R){return R.length===0?null:R[0]}function n(R){if(R.length===0)return null;var A=R[0],B=R.pop();if(B!==A){R[0]=B;e:for(var q=0,K=R.length,$=K>>>1;q<$;){var Y=2*(q+1)-1,G=R[Y],W=Y+1,X=R[W];if(0>i(G,B))W<K&&0>i(X,G)?(R[q]=X,R[W]=B,q=W):(R[q]=G,R[Y]=B,q=Y);else if(W<K&&0>i(X,B))R[q]=X,R[W]=B,q=W;else break e}}return A}function i(R,A){var B=R.sortIndex-A.sortIndex;return B!==0?B:R.id-A.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var u=Date,c=u.now();t.unstable_now=function(){return u.now()-c}}var f=[],d=[],p=1,m=null,g=3,y=!1,v=!1,w=!1,E=!1,T=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function O(R){for(var A=r(d);A!==null;){if(A.callback===null)n(d);else if(A.startTime<=R)n(d),A.sortIndex=A.expirationTime,e(f,A);else break;A=r(d)}}function k(R){if(w=!1,O(R),!v)if(r(f)!==null)v=!0,L||(L=!0,U());else{var A=r(d);A!==null&&F(k,A.startTime-R)}}var L=!1,H=-1,C=5,D=-1;function M(){return E?!0:!(t.unstable_now()-D<C)}function P(){if(E=!1,L){var R=t.unstable_now();D=R;var A=!0;try{e:{v=!1,w&&(w=!1,x(H),H=-1),y=!0;var B=g;try{t:{for(O(R),m=r(f);m!==null&&!(m.expirationTime>R&&M());){var q=m.callback;if(typeof q=="function"){m.callback=null,g=m.priorityLevel;var K=q(m.expirationTime<=R);if(R=t.unstable_now(),typeof K=="function"){m.callback=K,O(R),A=!0;break t}m===r(f)&&n(f),O(R)}else n(f);m=r(f)}if(m!==null)A=!0;else{var $=r(d);$!==null&&F(k,$.startTime-R),A=!1}}break e}finally{m=null,g=B,y=!1}A=void 0}}finally{A?U():L=!1}}}var U;if(typeof _=="function")U=function(){_(P)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,z=I.port2;I.port1.onmessage=P,U=function(){z.postMessage(null)}}else U=function(){T(P,0)};function F(R,A){H=T(function(){R(t.unstable_now())},A)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(R){R.callback=null},t.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<R?Math.floor(1e3/R):5},t.unstable_getCurrentPriorityLevel=function(){return g},t.unstable_next=function(R){switch(g){case 1:case 2:case 3:var A=3;break;default:A=g}var B=g;g=A;try{return R()}finally{g=B}},t.unstable_requestPaint=function(){E=!0},t.unstable_runWithPriority=function(R,A){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var B=g;g=R;try{return A()}finally{g=B}},t.unstable_scheduleCallback=function(R,A,B){var q=t.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?q+B:q):B=q,R){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=B+K,R={id:p++,callback:A,priorityLevel:R,startTime:B,expirationTime:K,sortIndex:-1},B>q?(R.sortIndex=B,e(d,R),r(f)===null&&R===r(d)&&(w?(x(H),H=-1):w=!0,F(k,B-q))):(R.sortIndex=K,e(f,R),v||y||(v=!0,L||(L=!0,U()))),R},t.unstable_shouldYield=M,t.unstable_wrapCallback=function(R){var A=g;return function(){var B=g;g=A;try{return R.apply(this,arguments)}finally{g=B}}}})(Im)),Im}var pE;function Jk(){return pE||(pE=1,jm.exports=Zk()),jm.exports}var Um={exports:{}},Br={};var mE;function eL(){if(mE)return Br;mE=1;var t=zf();function e(f){var d="https://react.dev/errors/"+f;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)d+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+f+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(e(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},i=Symbol.for("react.portal");function o(f,d,p){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:m==null?null:""+m,children:f,containerInfo:d,implementation:p}}var u=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(f,d){if(f==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return Br.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,Br.createPortal=function(f,d){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(e(299));return o(f,d,null,p)},Br.flushSync=function(f){var d=u.T,p=n.p;try{if(u.T=null,n.p=2,f)return f()}finally{u.T=d,n.p=p,n.d.f()}},Br.preconnect=function(f,d){typeof f=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,n.d.C(f,d))},Br.prefetchDNS=function(f){typeof f=="string"&&n.d.D(f)},Br.preinit=function(f,d){if(typeof f=="string"&&d&&typeof d.as=="string"){var p=d.as,m=c(p,d.crossOrigin),g=typeof d.integrity=="string"?d.integrity:void 0,y=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;p==="style"?n.d.S(f,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:m,integrity:g,fetchPriority:y}):p==="script"&&n.d.X(f,{crossOrigin:m,integrity:g,fetchPriority:y,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},Br.preinitModule=function(f,d){if(typeof f=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var p=c(d.as,d.crossOrigin);n.d.M(f,{crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&n.d.M(f)},Br.preload=function(f,d){if(typeof f=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var p=d.as,m=c(p,d.crossOrigin);n.d.L(f,p,{crossOrigin:m,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},Br.preloadModule=function(f,d){if(typeof f=="string")if(d){var p=c(d.as,d.crossOrigin);n.d.m(f,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else n.d.m(f)},Br.requestFormReset=function(f){n.d.r(f)},Br.unstable_batchedUpdates=function(f,d){return f(d)},Br.useFormState=function(f,d,p){return u.H.useFormState(f,d,p)},Br.useFormStatus=function(){return u.H.useHostTransitionStatus()},Br.version="19.2.7",Br}var gE;function eC(){if(gE)return Um.exports;gE=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Um.exports=eL(),Um.exports}var vE;function tL(){if(vE)return su;vE=1;var t=Jk(),e=zf(),r=eC();function n(a){var s="https://react.dev/errors/"+a;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+a+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function o(a){var s=a,l=a;if(a.alternate)for(;s.return;)s=s.return;else{a=s;do s=a,(s.flags&4098)!==0&&(l=s.return),a=s.return;while(a)}return s.tag===3?l:null}function u(a){if(a.tag===13){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function c(a){if(a.tag===31){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function f(a){if(o(a)!==a)throw Error(n(188))}function d(a){var s=a.alternate;if(!s){if(s=o(a),s===null)throw Error(n(188));return s!==a?null:a}for(var l=a,h=s;;){var b=l.return;if(b===null)break;var S=b.alternate;if(S===null){if(h=b.return,h!==null){l=h;continue}break}if(b.child===S.child){for(S=b.child;S;){if(S===l)return f(b),a;if(S===h)return f(b),s;S=S.sibling}throw Error(n(188))}if(l.return!==h.return)l=b,h=S;else{for(var N=!1,V=b.child;V;){if(V===l){N=!0,l=b,h=S;break}if(V===h){N=!0,h=b,l=S;break}V=V.sibling}if(!N){for(V=S.child;V;){if(V===l){N=!0,l=S,h=b;break}if(V===h){N=!0,h=S,l=b;break}V=V.sibling}if(!N)throw Error(n(189))}}if(l.alternate!==h)throw Error(n(190))}if(l.tag!==3)throw Error(n(188));return l.stateNode.current===l?a:s}function p(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a;for(a=a.child;a!==null;){if(s=p(a),s!==null)return s;a=a.sibling}return null}var m=Object.assign,g=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),_=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),M=Symbol.for("react.memo_cache_sentinel"),P=Symbol.iterator;function U(a){return a===null||typeof a!="object"?null:(a=P&&a[P]||a["@@iterator"],typeof a=="function"?a:null)}var I=Symbol.for("react.client.reference");function z(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===I?null:a.displayName||a.name||null;
vendor: 14,686 bytes, lines 2-9
2if(typeof a=="string")return a;switch(a){case w:return"Fragment";case T:return"Profiler";case E:return"StrictMode";case k:return"Suspense";case L:return"SuspenseList";case D:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case v:return"Portal";case _:return a.displayName||"Context";case x:return(a._context.displayName||"Context")+".Consumer";case O:var s=a.render;return a=a.displayName,a||(a=s.displayName||s.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case H:return s=a.displayName||null,s!==null?s:z(a.type)||"Memo";case C:s=a._payload,a=a._init;try{return z(a(s))}catch{}}return null}var F=Array.isArray,R=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},q=[],K=-1;function $(a){return{current:a}}function Y(a){0>K||(a.current=q[K],q[K]=null,K--)}function G(a,s){K++,q[K]=a.current,a.current=s}var W=$(null),X=$(null),Q=$(null),ae=$(null);function de(a,s){switch(G(Q,s),G(X,a),G(W,null),s.nodeType){case 9:case 11:a=(a=s.documentElement)&&(a=a.namespaceURI)?kS(a):0;break;default:if(a=s.tagName,s=s.namespaceURI)s=kS(s),a=LS(s,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Y(W),G(W,a)}function pe(){Y(W),Y(X),Y(Q)}function Se(a){a.memoizedState!==null&&G(ae,a);var s=W.current,l=LS(s,a.type);s!==l&&(G(X,a),G(W,l))}function be(a){X.current===a&&(Y(W),Y(X)),ae.current===a&&(Y(ae),tu._currentValue=B)}var ke,Ue;function Pe(a){if(ke===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);ke=s&&s[1]||"",Ue=-1<l.stack.indexOf(` 3 at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return` 4`+ke+a+Ue}var Ge=!1;function vt(a,s){if(!a||Ge)return"";Ge=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(s){var ge=function(){throw Error()};if(Object.defineProperty(ge.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ge,[])}catch(ce){var ue=ce}Reflect.construct(a,[],ge)}else{try{ge.call()}catch(ce){ue=ce}a.call(ge.prototype)}}else{try{throw Error()}catch(ce){ue=ce}(ge=a())&&typeof ge.catch=="function"&&ge.catch(function(){})}}catch(ce){if(ce&&ue&&typeof ce.stack=="string")return[ce.stack,ue.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var S=h.DetermineComponentFrameRoot(),N=S[0],V=S[1];if(N&&V){var J=N.split(` 5`),le=V.split(` 6`);for(b=h=0;h<J.length&&!J[h].includes("DetermineComponentFrameRoot");)h++;for(;b<le.length&&!le[b].includes("DetermineComponentFrameRoot");)b++;if(h===J.length||b===le.length)for(h=J.length-1,b=le.length-1;1<=h&&0<=b&&J[h]!==le[b];)b--;for(;1<=h&&0<=b;h--,b--)if(J[h]!==le[b]){if(h!==1||b!==1)do if(h--,b--,0>b||J[h]!==le[b]){var he=` 7`+J[h].replace(" at new "," at ");return a.displayName&&he.includes("<anonymous>")&&(he=he.replace("<anonymous>",a.displayName)),he}while(1<=h&&0<=b);break}}}finally{Ge=!1,Error.prepareStackTrace=l}return(l=a?a.displayName||a.name:"")?Pe(l):""}function Be(a,s){switch(a.tag){case 26:case 27:case 5:return Pe(a.type);case 16:return Pe("Lazy");case 13:return a.child!==s&&s!==null?Pe("Suspense Fallback"):Pe("Suspense");case 19:return Pe("SuspenseList");case 0:case 15:return vt(a.type,!1);case 11:return vt(a.type.render,!1);case 1:return vt(a.type,!0);case 31:return Pe("Activity");default:return""}}function rt(a){try{var s="",l=null;do s+=Be(a,l),l=a,a=a.return;while(a);return s}catch(h){return` 8Error generating stack: `+h.message+` 9`+h.stack}}var nt=Object.prototype.hasOwnProperty,kt=t.unstable_scheduleCallback,yt=t.unstable_cancelCallback,ft=t.unstable_shouldYield,ht=t.unstable_requestPaint,Ve=t.unstable_now,Lt=t.unstable_getCurrentPriorityLevel,Wt=t.unstable_ImmediatePriority,_r=t.unstable_UserBlockingPriority,At=t.unstable_NormalPriority,Nt=t.unstable_LowPriority,pt=t.unstable_IdlePriority,Or=t.log,sr=t.unstable_setDisableYieldValue,pr=null,Ut=null;function Pt(a){if(typeof Or=="function"&&sr(a),Ut&&typeof Ut.setStrictMode=="function")try{Ut.setStrictMode(pr,a)}catch{}}var or=Math.clz32?Math.clz32:Gr,xi=Math.log,Pn=Math.LN2;function Gr(a){return a>>>=0,a===0?32:31-(xi(a)/Pn|0)|0}var Xr=256,bn=262144,Tr=4194304;function lr(a){var s=a&42;if(s!==0)return s;switch(a&-a){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 a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function ze(a,s,l){var h=a.pendingLanes;if(h===0)return 0;var b=0,S=a.suspendedLanes,N=a.pingedLanes;a=a.warmLanes;var V=h&134217727;return V!==0?(h=V&~S,h!==0?b=lr(h):(N&=V,N!==0?b=lr(N):l||(l=V&~a,l!==0&&(b=lr(l))))):(V=h&~S,V!==0?b=lr(V):N!==0?b=lr(N):l||(l=h&~a,l!==0&&(b=lr(l)))),b===0?0:s!==0&&s!==b&&(s&S)===0&&(S=b&-b,l=s&-s,S>=l||S===32&&(l&4194048)!==0)?s:b}function bt(a,s){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&s)===0}function ur(a,s){switch(a){case 1:case 2:case 4:case 8:case 64:return s+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 s+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 Yt(){var a=Tr;return Tr<<=1,(Tr&62914560)===0&&(Tr=4194304),a}function mr(a){for(var s=[],l=0;31>l;l++)s.push(a);return s}function $t(a,s){a.pendingLanes|=s,s!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Lr(a,s,l,h,b,S){var N=a.pendingLanes;a.pendingLanes=l,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=l,a.entangledLanes&=l,a.errorRecoveryDisabledLanes&=l,a.shellSuspendCounter=0;var V=a.entanglements,J=a.expirationTimes,le=a.hiddenUpdates;for(l=N&~l;0<l;){var he=31-or(l),ge=1<<he;V[he]=0,J[he]=-1;var ue=le[he];if(ue!==null)for(le[he]=null,he=0;he<ue.length;he++){var ce=ue[he];ce!==null&&(ce.lane&=-536870913)}l&=~ge}h!==0&&Ua(a,h,0),S!==0&&b===0&&a.tag!==0&&(a.suspendedLanes|=S&~(N&~s))}function Ua(a,s,l){a.pendingLanes|=s,a.suspendedLanes&=~s;var h=31-or(s);a.entangledLanes|=s,a.entanglements[h]=a.entanglements[h]|1073741824|l&261930}function Hr(a,s){var l=a.entangledLanes|=s;for(a=a.entanglements;l;){var h=31-or(l),b=1<<h;b&s|a[h]&s&&(a[h]|=s),l&=~b}}function Z(a,s){var l=s&-s;return l=(l&42)!==0?1:re(l),(l&(a.suspendedLanes|s))!==0?0:l}function re(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=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:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function se(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function ve(){var a=A.p;return a!==0?a:(a=window.event,a===void 0?32:rE(a.type))}function ye(a,s){var l=A.p;try{return A.p=a,s()}finally{A.p=l}}var Oe=Math.random().toString(36).slice(2),Ee="__reactFiber$"+Oe,Te="__reactProps$"+Oe,_e="__reactContainer$"+Oe,$e="__reactEvents$"+Oe,He="__reactListeners$"+Oe,Qe="__reactHandles$"+Oe,qe="__reactResources$"+Oe,it="__reactMarker$"+Oe;function Et(a){delete a[Ee],delete a[Te],delete a[$e],delete a[He],delete a[Qe]}function Kt(a){var s=a[Ee];if(s)return s;for(var l=a.parentNode;l;){if(s=l[_e]||l[Ee]){if(l=s.alternate,s.child!==null||l!==null&&l.child!==null)for(a=$S(a);a!==null;){if(l=a[Ee])return l;a=$S(a)}return s}a=l,l=a.parentNode}return null}function Mt(a){if(a=a[Ee]||a[_e]){var s=a.tag;if(s===5||s===6||s===13||s===31||s===26||s===27||s===3)return a}return null}function wt(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a.stateNode;throw Error(n(33))}function gr(a){var s=a[qe];return s||(s=a[qe]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function St(a){a[it]=!0}var _i=new Set,ra={};function nn(a,s){Wr(a,s),Wr(a+"Capture",s)}function Wr(a,s){for(ra[a]=s,a=0;a<s.length;a++)_i.add(s[a])}var zn=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]*$"),Qs={},na={};function Zs(a){return nt.call(na,a)?!0:nt.call(Qs,a)?!1:zn.test(a)?na[a]=!0:(Qs[a]=!0,!1)}function $a(a,s,l){if(Zs(s))if(l===null)a.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":a.removeAttribute(s);return;case"boolean":var h=s.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){a.removeAttribute(s);return}}a.setAttribute(s,""+l)}}function Ha(a,s,l){if(l===null)a.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(s);return}a.setAttribute(s,""+l)}}function We(a,s,l,h){if(h===null)a.removeAttribute(l);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(l);return}a.setAttributeNS(s,l,""+h)}}function Vt(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function wn(a){var s=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function aa(a,s,l){var h=Object.getOwnPropertyDescriptor(a.constructor.prototype,s);if(!a.hasOwnProperty(s)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var b=h.get,S=h.set;return Object.defineProperty(a,s,{configurable:!0,get:function(){return b.call(this)},set:function(N){l=""+N,S.call(this,N)}}),Object.defineProperty(a,s,{enumerable:h.enumerable}),{getValue:function(){return l},setValue:function(N){l=""+N},stopTracking:function(){a._valueTracker=null,delete a[s]}}}}function Js(a){if(!a._valueTracker){var s=wn(a)?"checked":"value";a._valueTracker=aa(a,s,""+a[s])}}function eo(a){if(!a)return!1;var s=a._valueTracker;if(!s)return!0;var l=s.getValue(),h="";return a&&(h=wn(a)?a.checked?"true":"false":a.value),a=h,a!==l?(s.setValue(a),!0):!1}function zt(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var Ba=/[\n"\\]/g;function Kr(a){return a.replace(Ba,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function vl(a,s,l,h,b,S,N,V){a.name="",N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?a.type=N:a.removeAttribute("type"),s!=null?N==="number"?(s===0&&a.value===""||a.value!=s)&&(a.value=""+Vt(s)):a.value!==""+Vt(s)&&(a.value=""+Vt(s)):N!=="submit"&&N!=="reset"||a.removeAttribute("value"),s!=null?Oh(a,N,Vt(s)):l!=null?Oh(a,N,Vt(l)):h!=null&&a.removeAttribute("value"),b==null&&S!=null&&(a.defaultChecked=!!S),b!=null&&(a.checked=b&&typeof b!="function"&&typeof b!="symbol"),V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"?a.name=""+Vt(V):a.removeAttribute("name")}function Cb(a,s,l,h,b,S,N,V){if(S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(a.type=S),s!=null||l!=null){if(!(S!=="submit"&&S!=="reset"||s!=null)){Js(a);return}l=l!=null?""+Vt(l):"",s=s!=null?""+Vt(s):l,V||s===a.value||(a.value=s),a.defaultValue=s}h=h??b,h=typeof h!="function"&&typeof h!="symbol"&&!!h,a.checked=V?a.checked:!!h,a.defaultChecked=!!h,N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"&&(a.name=N),Js(a)}function Oh(a,s,l){s==="number"&&zt(a.ownerDocument)===a||a.defaultValue===""+l||(a.defaultValue=""+l)}function to(a,s,l,h){if(a=a.options,s){s={};for(var b=0;b<l.length;b++)s["$"+l[b]]=!0;for(l=0;l<a.length;l++)b=s.hasOwnProperty("$"+a[l].value),a[l].selected!==b&&(a[l].selected=b),b&&h&&(a[l].defaultSelected=!0)}else{for(l=""+Vt(l),s=null,b=0;b<a.length;b++){if(a[b].value===l){a[b].selected=!0,h&&(a[b].defaultSelected=!0);return}s!==null||a[b].disabled||(s=a[b])}s!==null&&(s.selected=!0)}}function Rb(a,s,l){if(s!=null&&(s=""+Vt(s),s!==a.value&&(a.value=s),l==null)){a.defaultValue!==s&&(a.defaultValue=s);return}a.defaultValue=l!=null?""+Vt(l):""}function Ab(a,s,l,h){if(s==null){if(h!=null){if(l!=null)throw Error(n(92));if(F(h)){if(1<h.length)throw Error(n(93));h=h[0]}l=h}l==null&&(l=""),s=l}l=Vt(s),a.defaultValue=l,h=a.textContent,h===l&&h!==""&&h!==null&&(a.value=h),Js(a)}function ro(a,s){if(s){var l=a.firstChild;if(l&&l===a.lastChild&&l.nodeType===3){l.nodeValue=s;return}}a.textContent=s}var BM=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 Ob(a,s,l){var h=s.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?h?a.setProperty(s,""):s==="float"?a.cssFloat="":a[s]="":h?a.setProperty(s,l):typeof l!="number"||l===0||BM.has(s)?s==="float"?a.cssFloat=l:a[s]=(""+l).trim():a[s]=l+"px"}function Mb(a,s,l){if(s!=null&&typeof s!="object")throw Error(n(62));if(a=a.style,l!=null){for(var h in l)!l.hasOwnProperty(h)||s!=null&&s.hasOwnProperty(h)||(h.indexOf("--")===0?a.setProperty(h,""):h==="float"?a.cssFloat="":a[h
vendor: 5,240 bytes, line 9
9]="");for(var b in s)h=s[b],s.hasOwnProperty(b)&&l[b]!==h&&Ob(a,b,h)}else for(var S in s)s.hasOwnProperty(S)&&Ob(a,S,s[S])}function Mh(a){if(a.indexOf("-")===-1)return!1;switch(a){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 FM=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"]]),qM=/^[\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 mc(a){return qM.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function Fa(){}var Dh=null;function kh(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var no=null,ao=null;function Db(a){var s=Mt(a);if(s&&(a=s.stateNode)){var l=a[Te]||null;e:switch(a=s.stateNode,s.type){case"input":if(vl(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),s=l.name,l.type==="radio"&&s!=null){for(l=a;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Kr(""+s)+'"][type="radio"]'),s=0;s<l.length;s++){var h=l[s];if(h!==a&&h.form===a.form){var b=h[Te]||null;if(!b)throw Error(n(90));vl(h,b.value,b.defaultValue,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name)}}for(s=0;s<l.length;s++)h=l[s],h.form===a.form&&eo(h)}break e;case"textarea":Rb(a,l.value,l.defaultValue);break e;case"select":s=l.value,s!=null&&to(a,!!l.multiple,s,!1)}}}var Lh=!1;function kb(a,s,l){if(Lh)return a(s,l);Lh=!0;try{var h=a(s);return h}finally{if(Lh=!1,(no!==null||ao!==null)&&(rd(),no&&(s=no,a=ao,ao=no=null,Db(s),a)))for(s=0;s<a.length;s++)Db(a[s])}}function yl(a,s){var l=a.stateNode;if(l===null)return null;var h=l[Te]||null;if(h===null)return null;l=h[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(a=a.type,h=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!h;break e;default:a=!1}if(a)return null;if(l&&typeof l!="function")throw Error(n(231,s,typeof l));return l}var qa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Nh=!1;if(qa)try{var bl={};Object.defineProperty(bl,"passive",{get:function(){Nh=!0}}),window.addEventListener("test",bl,bl),window.removeEventListener("test",bl,bl)}catch{Nh=!1}var Ti=null,Ph=null,gc=null;
vendor: 3,067 bytes, line 9
9function Lb(){if(gc)return gc;var a,s=Ph,l=s.length,h,b="value"in Ti?Ti.value:Ti.textContent,S=b.length;for(a=0;a<l&&s[a]===b[a];a++);var N=l-a;for(h=1;h<=N&&s[l-h]===b[S-h];h++);return gc=b.slice(a,1<h?1-h:void 0)}function vc(a){var s=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&s===13&&(a=13)):a=s,a===10&&(a=13),32<=a||a===13?a:0}function yc(){return!0}function Nb(){return!1}function an(a){function s(l,h,b,S,N){this._reactName=l,this._targetInst=b,this.type=h,this.nativeEvent=S,this.target=N,this.currentTarget=null;for(var V in a)a.hasOwnProperty(V)&&(l=a[V],this[V]=l?l(S):S[V]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?yc:Nb,this.isPropagationStopped=Nb,this}return m(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=yc)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=yc)},persist:function(){},isPersistent:yc}),s}var cs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bc=an(cs),wl=m({},cs,{view:0,detail:0}),YM=an(wl),zh,jh,Sl,wc=m({},wl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uh,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Sl&&(Sl&&a.type==="mousemove"?(zh=a.screenX-Sl.screenX,jh=a.screenY-Sl.screenY):jh=zh=0,Sl=a),zh)},movementY:function(a){return"movementY"in a?a.movementY:jh}}),Pb=an(wc),VM=m({},wc,{dataTransfer:0}),GM=an(VM),XM=m({},wl,{relatedTarget:0}),Ih=an(XM),WM=m({},cs,{animationName:0,elapsedTime:0,pseudoElement:0}),KM=an(WM),QM=m({},cs,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),ZM=an(QM),JM=m({},cs,{data:0}),zb=an(JM),eD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tD={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rD={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nD(a){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(a):(a=rD[a])?!!s[a]:!1}function Uh(){return nD}var aD=m({},wl,{key:function(a){if(a.key){var s=eD[a.key]||a.key;if(s!=="Unidentified")return s}
vendor: 5,186 bytes, line 9
9return a.type==="keypress"?(a=vc(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?tD[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uh,charCode:function(a){return a.type==="keypress"?vc(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?vc(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),iD=an(aD),sD=m({},wc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jb=an(sD),oD=m({},wl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uh}),lD=an(oD),uD=m({},cs,{propertyName:0,elapsedTime:0,pseudoElement:0}),cD=an(uD),dD=m({},wc,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),fD=an(dD),hD=m({},cs,{newState:0,oldState:0}),pD=an(hD),mD=[9,13,27,32],$h=qa&&"CompositionEvent"in window,El=null;qa&&"documentMode"in document&&(El=document.documentMode);var gD=qa&&"TextEvent"in window&&!El,Ib=qa&&(!$h||El&&8<El&&11>=El),Ub=" ",$b=!1;function Hb(a,s){switch(a){case"keyup":return mD.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bb(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var io=!1;function vD(a,s){switch(a){case"compositionend":return Bb(s);case"keypress":return s.which!==32?null:($b=!0,Ub);case"textInput":return a=s.data,a===Ub&&$b?null:a;default:return null}}function yD(a,s){if(io)return a==="compositionend"||!$h&&Hb(a,s)?(a=Lb(),gc=Ph=Ti=null,io=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Ib&&s.locale!=="ko"?null:s.data;default:return null}}var bD={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 Fb(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s==="input"?!!bD[a.type]:s==="textarea"}function qb(a,s,l,h){no?ao?ao.push(h):ao=[h]:no=h,s=ud(s,"onChange"),0<s.length&&(l=new bc("onChange","change",null,l,h),a.push({event:l,listeners:s}))}var xl=null,_l=null;function wD(a){CS(a,0)}function Sc(a){var s=wt(a);if(eo(s))return a}function Yb(a,s){if(a==="change")return s}var Vb=!1;if(qa){var Hh;if(qa){var Bh="oninput"in document;if(!Bh){var Gb=document.createElement("div");Gb.setAttribute("oninput","return;"),Bh=typeof Gb.oninput=="function"}Hh=Bh}else Hh=!1;Vb=Hh&&(!document.documentMode||9<document.documentMode)}function Xb(){xl&&(xl.detachEvent("onpropertychange",Wb),_l=xl=null)}function Wb(a){if(a.propertyName==="value"&&Sc(_l)){var s=[];qb(s,_l,a,kh(a)),kb(wD,s)}}function SD(a,s,l){a==="focusin"?(Xb(),xl=s,_l=l,xl.attachEvent("onpropertychange",Wb)):a==="focusout"&&Xb()}function ED(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Sc(_l)}function xD(a,s){if(a==="click")return Sc(s)}function _D(a,s){if(a==="input"||a==="change")return Sc(s)}function TD(a,s){return a===s&&(a!==0||1/a===1/s)||a!==a&&s!==s}var Sn=typeof Object.is=="function"?Object.is:TD;function Tl(a,s){if(Sn(a,s))return!0;if(typeof a!="object"||a===null||typeof s!="object"||s===null)return!1;var l=Object.keys(a),h=Object.keys(s);if(l.length!==h.length)return!1;for(h=0;h<l.length;h++){var b=l[h];if(!nt.call(s,b)||!Sn(a[b],s[b]))return!1}return!0}function Kb(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Qb(a,s){var l=Kb(a);a=0;for(var h;l;){if(l.nodeType===3){if(h=a+l.textContent.length,a<=s&&h>=s)return{node:l,offset:s-a};a=h}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Kb(l)}}function Zb(a,s){return a&&s?a===s?!0:a&&a.nodeType===3?!1:s&&s.nodeType===3?Zb(a,s.parentNode):"contains"in a?a.contains(s):a.compareDocumentPosition?!!(a.compareDocumentPosition(s)&16):!1:!1}function Jb(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var s=zt(a.document);s instanceof a.HTMLIFrameElement;){try{var l=typeof s.contentWindow.location.href=="string"}catch{l=!1}if(l)a=s.contentWindow;else break;s=zt(a.document)}return s}function Fh(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s&&(s==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||s==="textarea"||a.contentEditable==="true")}var CD=qa&&"documentMode"in document&&11>=document.documentMode,so=null,qh=null,Cl=null,Yh=!1;function ew(a,s,l){var h=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Yh||so==null||so!==zt(h)||(h=so,"selectionStart"in h&&Fh(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focu
vendor: 22,816 bytes, line 9
9sNode:h.focusNode,focusOffset:h.focusOffset}),Cl&&Tl(Cl,h)||(Cl=h,h=ud(qh,"onSelect"),0<h.length&&(s=new bc("onSelect","select",null,s,l),a.push({event:s,listeners:h}),s.target=so)))}function ds(a,s){var l={};return l[a.toLowerCase()]=s.toLowerCase(),l["Webkit"+a]="webkit"+s,l["Moz"+a]="moz"+s,l}var oo={animationend:ds("Animation","AnimationEnd"),animationiteration:ds("Animation","AnimationIteration"),animationstart:ds("Animation","AnimationStart"),transitionrun:ds("Transition","TransitionRun"),transitionstart:ds("Transition","TransitionStart"),transitioncancel:ds("Transition","TransitionCancel"),transitionend:ds("Transition","TransitionEnd")},Vh={},tw={};qa&&(tw=document.createElement("div").style,"AnimationEvent"in window||(delete oo.animationend.animation,delete oo.animationiteration.animation,delete oo.animationstart.animation),"TransitionEvent"in window||delete oo.transitionend.transition);function fs(a){if(Vh[a])return Vh[a];if(!oo[a])return a;var s=oo[a],l;for(l in s)if(s.hasOwnProperty(l)&&l in tw)return Vh[a]=s[l];return a}var rw=fs("animationend"),nw=fs("animationiteration"),aw=fs("animationstart"),RD=fs("transitionrun"),AD=fs("transitionstart"),OD=fs("transitioncancel"),iw=fs("transitionend"),sw=new Map,Gh="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(" ");Gh.push("scrollEnd");function ia(a,s){sw.set(a,s),nn(s,[a])}var Ec=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},jn=[],lo=0,Xh=0;function xc(){for(var a=lo,s=Xh=lo=0;s<a;){var l=jn[s];jn[s++]=null;var h=jn[s];jn[s++]=null;var b=jn[s];jn[s++]=null;var S=jn[s];if(jn[s++]=null,h!==null&&b!==null){var N=h.pending;N===null?b.next=b:(b.next=N.next,N.next=b),h.pending=b}S!==0&&ow(l,b,S)}}function _c(a,s,l,h){jn[lo++]=a,jn[lo++]=s,jn[lo++]=l,jn[lo++]=h,Xh|=h,a.lanes|=h,a=a.alternate,a!==null&&(a.lanes|=h)}function Wh(a,s,l,h){return _c(a,s,l,h),Tc(a)}function hs(a,s){return _c(a,null,null,s),Tc(a)}function ow(a,s,l){a.lanes|=l;var h=a.alternate;h!==null&&(h.lanes|=l);for(var b=!1,S=a.return;S!==null;)S.childLanes|=l,h=S.alternate,h!==null&&(h.childLanes|=l),S.tag===22&&(a=S.stateNode,a===null||a._visibility&1||(b=!0)),a=S,S=S.return;return a.tag===3?(S=a.stateNode,b&&s!==null&&(b=31-or(l),a=S.hiddenUpdates,h=a[b],h===null?a[b]=[s]:h.push(s),s.lane=l|536870912),S):null}function Tc(a){if(50<Xl)throw Xl=0,am=null,Error(n(185));for(var s=a.return;s!==null;)a=s,s=a.return;return a.tag===3?a.stateNode:null}var uo={};function MD(a,s,l,h){this.tag=a,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function En(a,s,l,h){return new MD(a,s,l,h)}function Kh(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Ya(a,s){var l=a.alternate;return l===null?(l=En(a.tag,s,a.key,a.mode),l.elementType=a.elementType,l.type=a.type,l.stateNode=a.stateNode,l.alternate=a,a.alternate=l):(l.pendingProps=s,l.type=a.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=a.flags&65011712,l.childLanes=a.childLanes,l.lanes=a.lanes,l.child=a.child,l.memoizedProps=a.memoizedProps,l.memoizedState=a.memoizedState,l.updateQueue=a.updateQueue,s=a.dependencies,l.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},l.sibling=a.sibling,l.index=a.index,l.ref=a.ref,l.refCleanup=a.refCleanup,l}function lw(a,s){a.flags&=65011714;var l=a.alternate;return l===null?(a.childLanes=0,a.lanes=s,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,s=l.dependencies,a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),a}function Cc(a,s,l,h,b,S){var N=0;if(h=a,typeof a=="function")Kh(a)&&(N=1);else if(typeof a=="string")N=Pk(a,l,W.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case D:return a=En(31,l,s,b),a.elementType=D,a.lanes=S,a;case w:return ps(l.children,b,S,s);case E:N=8,b|=24;break;case T:return a=En(12,l,s,b|2),a.elementType=T,a.lanes=S,a;case k:return a=En(13,l,s,b),a.elementType=k,a.lanes=S,a;case L:return a=En(19,l,s,b),a.elementType=L,a.lanes=S,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case _:N=10;break e;case x:N=9;break e;case O:N=11;break e;case H:N=14;break e;case C:N=16,h=null;break e}N=29,l=Error(n(130,a===null?"null":typeof a,"")),h=null}return s=En(N,l,s,b),s.elementType=a,s.type=h,s.lanes=S,s}function ps(a,s,l,h){return a=En(7,a,h,s),a.lanes=l,a}function Qh(a,s,l){return a=En(6,a,null,s),a.lanes=l,a}function uw(a){var s=En(18,null,null,0);return s.stateNode=a,s}function Zh(a,s,l){return s=En(4,a.children!==null?a.children:[],a.key,s),s.lanes=l,s.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},s}var cw=new WeakMap;function In(a,s){if(typeof a=="object"&&a!==null){var l=cw.get(a);return l!==void 0?l:(s={value:a,source:s,stack:rt(s)},cw.set(a,s),s)}return{value:a,source:s,stack:rt(s)}}var co=[],fo=0,Rc=null,Rl=0,Un=[],$n=0,Ci=null,ya=1,ba="";function Va(a,s){co[fo++]=Rl,co[fo++]=Rc,Rc=a,Rl=s}function dw(a,s,l){Un[$n++]=ya,Un[$n++]=ba,Un[$n++]=Ci,Ci=a;var h=ya;a=ba;var b=32-or(h)-1;h&=~(1<<b),l+=1;var S=32-or(s)+b;if(30<S){var N=b-b%5;S=(h&(1<<N)-1).toString(32),h>>=N,b-=N,ya=1<<32-or(s)+b|l<<b|h,ba=S+a}else ya=1<<S|l<<b|h,ba=a}function Jh(a){a.return!==null&&(Va(a,1),dw(a,1,0))}function ep(a){for(;a===Rc;)Rc=co[--fo],co[fo]=null,Rl=co[--fo],co[fo]=null;for(;a===Ci;)Ci=Un[--$n],Un[$n]=null,ba=Un[--$n],Un[$n]=null,ya=Un[--$n],Un[$n]=null}function fw(a,s){Un[$n++]=ya,Un[$n++]=ba,Un[$n++]=Ci,ya=s.id,ba=s.overflow,Ci=a}var Nr=null,Qt=null,mt=!1,Ri=null,Hn=!1,tp=Error(n(519));function Ai(a){var s=Error(n(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Al(In(s,a)),tp}function hw(a){var s=a.stateNode,l=a.type,h=a.memoizedProps;switch(s[Ee]=a,s[Te]=h,l){case"dialog":ot("cancel",s),ot("close",s);break;case"iframe":case"object":case"embed":ot("load",s);break;case"video":case"audio":for(l=0;l<Kl.length;l++)ot(Kl[l],s);break;case"source":ot("error",s);break;case"img":case"image":case"link":ot("error",s),ot("load",s);break;case"details":ot("toggle",s);break;case"input":ot("invalid",s),Cb(s,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0);break;case"select":ot("invalid",s);break;case"textarea":ot("invalid",s),Ab(s,h.value,h.defaultValue,h.children)}l=h.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||s.textContent===""+l||h.suppressHydrationWarning===!0||MS(s.textContent,l)?(h.popover!=null&&(ot("beforetoggle",s),ot("toggle",s)),h.onScroll!=null&&ot("scroll",s),h.onScrollEnd!=null&&ot("scrollend",s),h.onClick!=null&&(s.onclick=Fa),s=!0):s=!1,s||Ai(a,!0)}function pw(a){for(Nr=a.return;Nr;)switch(Nr.tag){case 5:case 31:case 13:Hn=!1;return;case 27:case 3:Hn=!0;return;default:Nr=Nr.return}}function ho(a){if(a!==Nr)return!1;if(!mt)return pw(a),mt=!0,!1;var s=a.tag,l;if((l=s!==3&&s!==27)&&((l=s===5)&&(l=a.type,l=!(l!=="form"&&l!=="button")||bm(a.type,a.memoizedProps)),l=!l),l&&Qt&&Ai(a),pw(a),s===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(n(317));Qt=US(a)}else if(s===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(n(317));Qt=US(a)}else s===27?(s=Qt,Bi(a.type)?(a=_m,_m=null,Qt=a):Qt=s):Qt=Nr?Fn(a.stateNode.nextSibling):null;return!0}function ms(){Qt=Nr=null,mt=!1}function rp(){var a=Ri;return a!==null&&(un===null?un=a:un.push.apply(un,a),Ri=null),a}function Al(a){Ri===null?Ri=[a]:Ri.push(a)}var np=$(null),gs=null,Ga=null;function Oi(a,s,l){G(np,s._currentValue),s._currentValue=l}function Xa(a){a._currentValue=np.current,Y(np)}function ap(a,s,l){for(;a!==null;){var h=a.alternate;if((a.childLanes&s)!==s?(a.childLanes|=s,h!==null&&(h.childLanes|=s)):h!==null&&(h.childLanes&s)!==s&&(h.childLanes|=s),a===l)break;a=a.return}}function ip(a,s,l,h){var b=a.child;for(b!==null&&(b.return=a);b!==null;){var S=b.dependencies;if(S!==null){var N=b.child;S=S.firstContext;e:for(;S!==null;){var V=S;S=b;for(var J=0;J<s.length;J++)if(V.context===s[J]){S.lanes|=l,V=S.alternate,V!==null&&(V.lanes|=l),ap(S.return,l,a),h||(N=null);break e}S=V.next}}else if(b.tag===18){if(N=b.return,N===null)throw Error(n(341));N.lanes|=l,S=N.alternate,S!==null&&(S.lanes|=l),ap(N,l,a),N=null}else N=b.child;if(N!==null)N.return=b;else for(N=b;N!==null;){if(N===a){N=null;break}if(b=N.sibling,b!==null){b.return=N.return,N=b;break}N=N.return}b=N}}function po(a,s,l,h){a=null;for(var b=s,S=!1;b!==null;){if(!S){if((b.flags&524288)!==0)S=!0;else if((b.flags&262144)!==0)break}if(b.tag===10){var N=b.alternate;if(N===null)throw Error(n(387));if(N=N.memoizedProps,N!==null){var V=b.type;Sn(b.pendingProps.value,N.value)||(a!==null?a.push(V):a=[V])}}else if(b===ae.current){if(N=b.alternate,N===null)throw Error(n(387));N.memoizedState.memoizedState!==b.memoizedState.memoizedState&&(a!==null?a.push(tu):a=[tu])}b=b.return}a!==null&&ip(s,a,l,h),s.flags|=262144}function Ac(a){for(a=a.firstContext;a!==null;){if(!Sn(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function vs(a){gs=a,Ga=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function Pr(a){return mw(gs,a)}function Oc(a,s){return gs===null&&vs(a),mw(a,s)}function mw(a,s){var l=s._currentValue;if(s={context:s,memoizedValue:l,next:null},Ga===null){if(a===null)throw Error(n(308));Ga=s,a.dependencies={lanes:0,firstContext:s},a.flags|=524288}else Ga=Ga.next=s;return l}var DD=typeof AbortController<"u"?AbortController:function(){var a=[],s=this.signal={aborted:!1,addEventListener:function(l,h){a.push(h)}};this.abort=function(){s.aborted=!0,a.forEach(function(l){return l()})}},kD=t.unstable_scheduleCallback,LD=t.unstable_NormalPriority,wr={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function sp(){return{controller:new DD,data:new Map,refCount:0}}function Ol(a){a.refCount--,a.refCount===0&&kD(LD,function(){a.controller.abort()})}var Ml=null,op=0,mo=0,go=null;function ND(a,s){if(Ml===null){var l=Ml=[];op=0,mo=cm(),go={status:"pending",value:void 0,then:function(h){l.push(h)}}}return op++,s.then(gw,gw),s}function gw(){if(--op===0&&Ml!==null){go!==null&&(go.status="fulfilled");var a=Ml;Ml=null,mo=0,go=null;for(var s=0;s<a.length;s++)(0,a[s])()}}function PD(a,s){var l=[],h={status:"pending",value:null,reason:null,then:function(b){l.push(b)}};return a.then(function(){h.status="fulfilled",h.value=s;for(var b=0;b<l.length;b++)(0,l[b])(s)},function(b){for(h.status="rejected",h.reason=b,b=0;b<l.length;b++)(0,l[b])(void 0)}),h}var vw=R.S;R.S=function(a,s){eS=Ve(),typeof s=="object"&&s!==null&&typeof s.then=="function"&&ND(a,s),vw!==null&&vw(a,s)};var ys=$(null);function lp(){var a=ys.current;return a!==null?a:Gt.pooledCache}function Mc(a,s){s===null?G(ys,ys.current):G(ys,s.pool)}function yw(){var a=lp();return a===null?null:{parent:wr._currentValue,pool:a}}var vo=Error(n(460)),up=Error(n(474)),Dc=Error(n(542)),kc={then:function(){}};function bw(a){return a=a.status,a==="fulfilled"||a==="rejected"}function ww(a,s,l){switch(l=a[l],l===void 0?a.push(s):l!==s&&(s.then(Fa,Fa),s=l),s.status){case"fulfilled":return s.value;case"rejected":throw a=s.reason,Ew(a),a;default:if(typeof s.status=="string")s.then(Fa,Fa);else{if(a=Gt,a!==null&&100<a.shellSuspendCounter)throw Error(n(482));a=s,a.status="pending",a.then(function(h){if(s.status==="pending"){var b=s;b.status="fulfilled",b.value=h}},function(h){if(s.status==="pending"){var b=s;b.status="rejected",b.reason=h}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw a=s.reason,Ew(a),a}throw ws=s,vo}}function bs(a){try{var s=a._init;return s(a._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(ws=l,vo):l}}var ws=null;function Sw(){if(ws===null)throw Error(n(459));var a=ws;return ws=null,a}function Ew(a){if(a===vo||a===Dc)throw Error(n(483))}var yo=null,Dl=0;function Lc(a){var s=Dl;return Dl+=1,yo===null&&(yo=[]),ww(yo,a,s)}function kl(a,s){s=s.props.ref,a.ref=s!==void 0?s:null}function Nc(a,s){throw s.$$typeof===g?Error(n(525)):(a=Object.prototype.toString.call(s),Error(n(31,a==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":a)))}function xw(a){function s(ne,ee){if(a){var oe=ne.deletions;oe===null?(ne.deletions=[ee],ne.flags|=16):oe.push(ee)}}function l(ne,ee){if(!a)return null;for(;ee!==null;)s(ne,ee),ee=ee.sibling;return null}function h(ne){for(var ee=new Map;ne!==null;)ne.key!==null?ee.set(ne.key,ne):ee.set(ne.index,ne),ne=ne.sibling;return ee}function b(ne,ee){return ne=Ya(ne,ee),ne.index=0,ne.sibling=null,ne}function S(ne,ee,oe){return ne.index=oe,a?(oe=ne.alternate,oe!==null?(oe=oe.index,oe<ee?(ne.flags|=67108866,ee):oe):(ne.flags|=67108866,ee)):(ne.flags|=1048576,ee)}function N(ne){return a&&ne.alternate===null&&(ne.flags|=67108866),ne}function V(ne,ee,oe,me){return ee===null||ee.tag!==6?(ee=Qh(oe,ne.mode,me),ee.return=ne,ee):(ee=b(ee,oe),ee.return=ne,ee)}function J(ne,ee,oe,me){var je=oe.type;return je===w?he(ne,ee,oe.props.children,me,oe.key):ee!==null&&(ee.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===C&&bs(je)===ee.type)?(ee=b(ee,oe.props),kl(ee,oe),ee.return=ne,ee):(ee=Cc(oe.type,oe.key,oe.props,null,ne.mode,me),kl(ee,oe),ee.return=ne,ee)}function le(ne,ee,oe,me){return ee===null||ee.tag!==4||ee.stateNode.containerInfo!==oe.containerInfo||ee.stateNode.implementation!==oe.implementation?(ee=Zh(oe,ne.mode,me),ee.return=ne,ee):(ee=b(ee,oe.children||[]),ee.return=ne,ee)}function he(ne,ee,oe,me,je){return ee===null||ee.tag!==7?(ee=ps(oe,ne.mode,me,je),ee.return=ne,ee):(ee=b(ee,oe),ee.return=ne,ee)}function ge(ne,ee,oe){if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return ee=Qh(""+ee,ne.mode,oe),ee.return=ne,ee;if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case y:return oe=Cc(ee.type,ee.key,ee.props,null,ne.mode,oe),kl(oe,ee),oe.return=ne,oe;case v:return ee=Zh(ee,ne.mode,oe),ee.return=ne,ee;case C:return ee=bs(ee),ge(ne,ee,oe)}if(F(ee)||U(ee))return ee=ps(ee,ne.mode,oe,null),ee.return=ne,ee;if(typeof ee.then=="function")return ge(ne,Lc(ee),oe);if(ee.$$typeof===_)return ge(ne,Oc(ne,ee),oe);Nc(ne,ee)}return null}function ue(ne,ee,oe,me){var je=ee!==null?ee.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number"||typeof oe=="bigint")return je!==null?null:V(ne,ee,""+oe,me);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case y:return oe.key===je?J(ne,ee,oe,me):null;case v:return oe.key===je?le(ne,ee,oe,me):null;case C:return oe=bs(oe),ue(ne,ee,oe,me)}if(F(oe)||U(oe))return je!==null?null:he(ne,ee,oe,me,null);if(typeof oe.then=="function")return ue(ne,ee,Lc(oe),me);if(oe.$$typeof===_)return ue(ne,ee,Oc(ne,oe),me);Nc(ne,oe)}return null}function ce(ne,ee,oe,me,je){if(typeof me=="string"&&me!==""||typeof me=="number"||typeof me=="bigint")return ne=ne.get(oe)||null,V(ee,ne,""+me,je);if(typeof me=="object"&&me!==null){switch(me.$$typeof){case y:return ne=ne.get(me.key===null?oe:me.key)||null,J(ee,ne,me,je);case v:return ne=ne.get(me.key===null?oe:me.key)||null,le(ee,ne,me,je);case C:return me=bs(me),ce(ne,ee,oe,me,je)}if(F(me)||U(me))return ne=ne.get(oe)||null,he(ee,ne,me,je,null);if(typeof me.then=="function")return ce(ne,ee,oe,Lc(me),je);if(me.$$typeof===_)return ce(ne,ee,oe,Oc(ee,me),je);Nc(ee,me)}return null}function De(ne,ee,oe,me){for(var je=null,xt=null,Ne=ee,Je=ee=0,ct=null;Ne!==null&&Je<oe.length;Je++){Ne.index>Je?(ct=Ne,Ne=null):ct=Ne.sibling;var _t=ue(ne,Ne,oe[Je],me);if(_t===null){Ne===null&&(Ne=ct);break}a&&Ne&&_t.alternate===null&&s(ne,Ne),ee=S(_t,ee,Je),xt===null?je=_t:xt.sibling=_t,xt=_t,Ne=ct}if(Je===oe.length)return l(ne,Ne),mt&&Va(ne,Je),je;if(Ne===null){for(;Je<oe.length;Je++)Ne=ge(ne,oe[Je],me),Ne!==null&&(ee=S(Ne,ee,Je),xt===null?je=Ne:xt.sibling=Ne,xt=Ne);return mt&&Va(ne,Je),je}for(Ne=h(Ne);Je<oe.length;Je++)ct=ce(Ne,ne,Je,oe[Je],me),ct!==null&&(a&&ct.alternate!==null&&Ne.delete(ct.key===null?Je:ct.key),ee=S(ct,ee,Je),xt===null?je=ct:xt.sibling=ct,xt=ct);return a&&Ne.forEach(function(Gi){return s(ne,Gi)}),mt&&Va(ne,Je),je}function Fe(ne,ee,oe,me){if(oe==null)throw Error(n(151));for(var je=null,xt=null,Ne=ee,Je=ee=0,ct=null,_t=oe.next();Ne!==null&&!_t.done;Je++,_t=oe.next()){Ne.index>Je?(ct=Ne,Ne=null):ct=Ne.sibling;var Gi=ue(ne,Ne,_t.value,me);if(Gi===null){Ne===null&&(Ne=ct);break}a&&Ne&&Gi.alternate===null&&s(ne,Ne),ee=S(Gi,ee,Je),xt===null?je=Gi:xt.sibling=Gi,xt=Gi,Ne=ct}if(_t.done)return l(ne,Ne),mt&&Va(ne,Je),je;if(Ne===null){for(;!_t.done;Je++,_t=oe.next())_t=ge(ne,_t.value,me),_t!==null&&(ee=S(_t,ee,Je),xt===null?je=_t:xt.sibling=_t,xt=_t);return mt&&Va(ne,Je),je}for(Ne=h(Ne);!_t.done;Je++,_t=oe.next())_t=ce(Ne,ne,Je,_t.value,me),_t!==null&&(a&&_t.alternate!==null&&Ne.delete(_t.key===null?Je:_t.key),ee=S(_t,ee,Je),xt===null?je=_t:xt.sibling=_t,xt=_t);return a&&Ne.forEach(function(Vk){return s(ne,Vk)}),mt&&Va(ne,Je),je}function Ft(ne,ee,oe,me){if(typeof oe=="object"&&oe!==null&&oe.type===w&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case y:e:{for(var je=oe.key;ee!==null;){if(ee.key===je){if(je=oe.type,je===w){if(ee.tag===7){l(ne,ee.sibling),me=b(ee,oe.props.children),me.return=ne,ne=me;break e}}else if(ee.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===C&&bs(je)===ee.type){l(ne,ee.sibling),me=b(ee,oe.props),kl(me,oe),me.return=ne,ne=me;break e}l(ne,ee);break}else s(ne,ee);ee=ee.sibling}oe.type===w?(me=ps(oe.props.children,ne.mode,me,oe.key),me.return=ne,ne=me):(me=Cc(oe.type,oe.key,oe.props,null,ne.mode,me),kl(me,oe),me.return=ne,ne=me)}return N(ne);case v:e:{for(je=oe.key;ee!==null;){if(ee.key===je)if(ee.tag===4&&ee.stateNode.containerInfo===oe.containerInfo&&ee.stateNode.implementation===oe.implementation){l(ne,ee.sibling),me=b(ee,oe.children||[]),me.return=ne,ne=me;break e}else{l(ne,ee);break}else s(ne,ee);ee=ee.sibling}me=Zh(oe,ne.mode,me),me.return=ne,ne=me}return N(ne);case C:return oe=bs(oe),Ft(ne,ee,oe,me)}if(F(oe))return De(ne,ee,oe,me);if(U(oe)){if(je=U(oe),typeof je!="function")throw Error(n(150));return oe=je.call(oe),Fe(ne,ee,oe,me)}if(typeof oe.then=="function")return Ft(ne,ee,Lc(oe),me);if(oe.$$typeof===_)return Ft(ne,ee,Oc(ne,oe),me);Nc(ne,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"||typeof oe=="bigint"?(oe=""+oe,ee!==null&&ee.tag===6?(l(ne,ee.sibling),me=b(ee,oe),me.return=ne,ne=me):(l(ne,ee),me=Qh(oe,ne.mode,me),me.return=ne,ne=me),N(ne)):l(ne,ee)}return function(ne,ee,oe,me){try{Dl=0;var je=Ft(ne,ee,oe,me);return yo=null,je}catch(Ne){if(Ne===vo||Ne===Dc)throw Ne;var xt=En(29,Ne,null,ne.mode);return xt.lanes=me,xt.return=ne,xt}}}var Ss=xw(!0),_w=xw(!1),Mi=!1;function cp(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dp(a,s){a=a.updateQueue,s.updateQueue===a&&(s.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Di(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function ki(a,s,l){var h=a.updateQueue;if(h===null)return null;if(h=h.shared,(Ot&2)!==0){var b=h.pending;return b===null?s.next=s:(s.next=b.next,b.next=s),h.pending=s,s=Tc(a),ow(a,null,l),s}return _c(a,h,s,l),Tc(a)}function Ll(a,s,l){if(s=s.updateQueue,s!==null&&(s=s.shared,(l&4194048)!==0)){var h=s.lanes;h&=a.pendingLanes,l|=h,s.lanes=l,Hr(a,l)}}function fp(a,s){var l=a.updateQueue,h=a.alternate;if(h!==null&&(h=h.updateQueue,l===h)){var b=null,S=null;if(l=l.firstBaseUpdate,l!==null){do{var N={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};S===null?b=S=N:S=S.next=N,l=l.next}while(l!==null);S===null?b=S=s:S=S.next=s}else b=S=s;l={baseState:h.baseState,firstBaseUpdate:b,lastBaseUpdate:S,shared:h.shared,callbacks:h.callbacks},a.updateQueue=l;return}a=l.lastBaseUpdate,a===null?l.firstBaseUpdate=s:a.next=s,l.lastBaseUpdate=s}var hp=!1;function Nl(){if(hp){var a=go;if(a!==null)throw a}}function Pl(a,s,l,h){hp=!1;var b=a.updateQueue;Mi=!1;var S=b.firstBaseUpdate,N=b.lastBaseUpdate,V=b.shared.pending;if(V!==null){b.shared.pending=null;var J=V,le=J.next;J.next=null,N===null?S=le:N.next=le,N=J;var he=a.alternate;he!==null&&(he=he.updateQueue,V=he.lastBaseUpdate,V!==N&&(V===null?he.firstBaseUpdate=le:V.next=le,he.lastBaseUpdate=J))}if(S!==null){var ge=b.baseState;N=0,he=le=J=null,V=S;do{var ue=V.lane&-536870913,ce=ue!==V.lane;if(ce?(ut&ue)===ue:(h&ue)===ue){ue!==0&&ue===mo&&(hp=!0),he!==null&&(he=he.next={lane:0,tag:V.tag,payload:V.payload,callback:null,next:null});e:{var De=a,Fe=V;ue=s;var Ft=l;switch(Fe.tag){case 1:if(De=Fe.payload,typeof De=="function"){ge=De.call(Ft,ge,ue);break e}ge=De;break e;case 3:De.flags=De.flags&-65537|128;case 0:if(De=Fe.payload,ue=typeof De=="function"?De.call(Ft,ge,ue):De,ue==null)break e;ge=m({},ge,ue);break e;case 2:Mi=!0}}ue=V.callback,ue!==null&&(a.flags|=64,ce&&(a.flags|=8192),ce=b.callbacks,ce===null?b.callbacks=[ue]:ce.push(ue))}else ce={lane:ue,tag:V.tag,payload:V.payload,callback:V.callback,next:null},he===null?(le=he=ce,J=ge):he=he.next=ce,N|=ue;if(V=V.next,V===null){if(V=b.shared.pending,V===null)break;ce=V,V=ce.next,ce.next=null,b.lastBaseUpdate=ce,b.shared.pending=null}}while(!0);he===null&&(J=ge),b.baseState=J,b.firstBaseUpdate=le,b.lastBaseUpdate=he,S===null&&(b.shared.lanes=0),ji|=N,a.lanes=N,a.memoizedState=ge}}function Tw(a,s){if(typeof a!="function")throw Error(n(191,a));a.call(s)}function Cw(a,s){var l=a.callbacks;
vendor: 5,014 bytes, line 9
9if(l!==null)for(a.callbacks=null,a=0;a<l.length;a++)Tw(l[a],s)}var bo=$(null),Pc=$(0);function Rw(a,s){a=ni,G(Pc,a),G(bo,s),ni=a|s.baseLanes}function pp(){G(Pc,ni),G(bo,bo.current)}function mp(){ni=Pc.current,Y(bo),Y(Pc)}var xn=$(null),Bn=null;function Li(a){var s=a.alternate;G(vr,vr.current&1),G(xn,a),Bn===null&&(s===null||bo.current!==null||s.memoizedState!==null)&&(Bn=a)}function gp(a){G(vr,vr.current),G(xn,a),Bn===null&&(Bn=a)}function Aw(a){a.tag===22?(G(vr,vr.current),G(xn,a),Bn===null&&(Bn=a)):Ni()}function Ni(){G(vr,vr.current),G(xn,xn.current)}function _n(a){Y(xn),Bn===a&&(Bn=null),Y(vr)}var vr=$(0);function zc(a){for(var s=a;s!==null;){if(s.tag===13){var l=s.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Em(l)||xm(l)))return s}else if(s.tag===19&&(s.memoizedProps.revealOrder==="forwards"||s.memoizedProps.revealOrder==="backwards"||s.memoizedProps.revealOrder==="unstable_legacy-backwards"||s.memoizedProps.revealOrder==="together")){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Wa=0,Ze=null,Ht=null,Sr=null,jc=!1,wo=!1,Es=!1,Ic=0,zl=0,So=null,zD=0;function cr(){throw Error(n(321))}function vp(a,s){if(s===null)return!1;for(var l=0;l<s.length&&l<a.length;l++)if(!Sn(a[l],s[l]))return!1;return!0}function yp(a,s,l,h,b,S){return Wa=S,Ze=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,R.H=a===null||a.memoizedState===null?d1:Lp,Es=!1,S=l(h,b),Es=!1,wo&&(S=Mw(s,l,h,b)),Ow(a),S}function Ow(a){R.H=Ul;var s=Ht!==null&&Ht.next!==null;if(Wa=0,Sr=Ht=Ze=null,jc=!1,zl=0,So=null,s)throw Error(n(300));a===null||Er||(a=a.dependencies,a!==null&&Ac(a)&&(Er=!0))}function Mw(a,s,l,h){Ze=a;var b=0;do{if(wo&&(So=null),zl=0,wo=!1,25<=b)throw Error(n(301));if(b+=1,Sr=Ht=null,a.updateQueue!=null){var S=a.updateQueue;S.lastEffect=null,S.events=null,S.stores=null,S.memoCache!=null&&(S.memoCache.index=0)}R.H=f1,S=s(l,h)}while(wo);return S}function jD(){var a=R.H,s=a.useState()[0];return s=typeof s.then=="function"?jl(s):s,a=a.useState()[0],(Ht!==null?Ht.memoizedState:null)!==a&&(Ze.flags|=1024),s}function bp(){var a=Ic!==0;return Ic=0,a}function wp(a,s,l){s.updateQueue=a.updateQueue,s.flags&=-2053,a.lanes&=~l}function Sp(a){if(jc){for(a=a.memoizedState;a!==null;){var s=a.queue;s!==null&&(s.pending=null),a=a.next}jc=!1}Wa=0,Sr=Ht=Ze=null,wo=!1,zl=Ic=0,So=null}function Qr(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Sr===null?Ze.memoizedState=Sr=a:Sr=Sr.next=a,Sr}function yr(){if(Ht===null){var a=Ze.alternate;a=a!==null?a.memoizedState:null}else a=Ht.next;var s=Sr===null?Ze.memoizedState:Sr.next;if(s!==null)Sr=s,Ht=a;else{if(a===null)throw Ze.alternate===null?Error(n(467)):Error(n(310));Ht=a,a={memoizedState:Ht.memoizedState,baseState:Ht.baseState,baseQueue:Ht.baseQueue,queue:Ht.queue,next:null},Sr===null?Ze.memoizedState=Sr=a:Sr=Sr.next=a}return Sr}function Uc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function jl(a){var s=zl;return zl+=1,So===null&&(So=[]),a=ww(So,a,s),s=Ze,(Sr===null?s.memoizedState:Sr.next)===null&&(s=s.alternate,R.H=s===null||s.memoizedState===null?d1:Lp),a}function $c(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return jl(a);if(a.$$typeof===_)return Pr(a)}throw Error(n(438,String(a)))}function Ep(a){var s=null,l=Ze.updateQueue;if(l!==null&&(s=l.memoCache),s==null){var h=Ze.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(s={data:h.data.map(function(b){return b.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),l===null&&(l=Uc(),Ze.updateQueue=l),l.memoCache=s,l=s.data[s.index],l===void 0)for(l=s.data[s.index]=Array(a),h=0;h<a;h++)l[h]=M;return s.index++,l}function Ka(a,s){return typeof s=="function"?s(a):s}function Hc(a){var s=yr();return xp(s,Ht,a)}function xp(a,s,l){var h=a.queue;if(h===null)throw Error(n(311));h.lastRenderedReducer=l;var b=a.baseQueue,S=h.pending;if(S!==null){if(b!==null){var N=b.next;b.next=S.next,S.next=N}s.baseQueue=b=S,h.pending=null}if(S=a.baseState,b===null)a.memoizedState=S;else{s=b.next;var V=N=null,J=null,le=s,he=!1;do{var ge=le.lane&-536870913;if(ge!==le.lane?(ut&ge)===ge:(Wa&ge)===ge){var ue=le.revertLane;if(ue===0)J!==null&&(J=J.next={lane:0,revertLane:0,gesture:null,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null}),ge===mo&&(he=!0);else if((Wa&ue)===ue){le=le.next,ue===mo&&(he=!0);continue}else ge={lane:0,revertLane:le.revertLane,gesture:null,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null},J===null?(V=J=ge,N=S):J=J.next=ge,Ze.lanes|=ue,ji|=ue;ge=le.action,Es&&l(S,ge),S=le.hasEagerState?le.eagerState:l(S,ge)}else ue={lane:ge,revertLane:le.revertLane,gesture:le.gesture,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null},J===null?(V=J=ue,N=S):J=J.next=ue,Ze.lanes|=ge,ji|=ge;le=le.next}
vendor: 14,166 bytes, line 9
9while(le!==null&&le!==s);if(J===null?N=S:J.next=V,!Sn(S,a.memoizedState)&&(Er=!0,he&&(l=go,l!==null)))throw l;a.memoizedState=S,a.baseState=N,a.baseQueue=J,h.lastRenderedState=S}return b===null&&(h.lanes=0),[a.memoizedState,h.dispatch]}function _p(a){var s=yr(),l=s.queue;if(l===null)throw Error(n(311));l.lastRenderedReducer=a;var h=l.dispatch,b=l.pending,S=s.memoizedState;if(b!==null){l.pending=null;var N=b=b.next;do S=a(S,N.action),N=N.next;while(N!==b);Sn(S,s.memoizedState)||(Er=!0),s.memoizedState=S,s.baseQueue===null&&(s.baseState=S),l.lastRenderedState=S}return[S,h]}function Dw(a,s,l){var h=Ze,b=yr(),S=mt;if(S){if(l===void 0)throw Error(n(407));l=l()}else l=s();var N=!Sn((Ht||b).memoizedState,l);if(N&&(b.memoizedState=l,Er=!0),b=b.queue,Rp(Nw.bind(null,h,b,a),[a]),b.getSnapshot!==s||N||Sr!==null&&Sr.memoizedState.tag&1){if(h.flags|=2048,Eo(9,{destroy:void 0},Lw.bind(null,h,b,l,s),null),Gt===null)throw Error(n(349));S||(Wa&127)!==0||kw(h,s,l)}return l}function kw(a,s,l){a.flags|=16384,a={getSnapshot:s,value:l},s=Ze.updateQueue,s===null?(s=Uc(),Ze.updateQueue=s,s.stores=[a]):(l=s.stores,l===null?s.stores=[a]:l.push(a))}function Lw(a,s,l,h){s.value=l,s.getSnapshot=h,Pw(s)&&zw(a)}function Nw(a,s,l){return l(function(){Pw(s)&&zw(a)})}function Pw(a){var s=a.getSnapshot;a=a.value;try{var l=s();return!Sn(a,l)}catch{return!0}}function zw(a){var s=hs(a,2);s!==null&&cn(s,a,2)}function Tp(a){var s=Qr();if(typeof a=="function"){var l=a;if(a=l(),Es){Pt(!0);try{l()}finally{Pt(!1)}}}return s.memoizedState=s.baseState=a,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ka,lastRenderedState:a},s}function jw(a,s,l,h){return a.baseState=l,xp(a,Ht,typeof h=="function"?h:Ka)}function ID(a,s,l,h,b){if(qc(a))throw Error(n(485));if(a=s.action,a!==null){var S={payload:b,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(N){S.listeners.push(N)}};R.T!==null?l(!0):S.isTransition=!1,h(S),l=s.pending,l===null?(S.next=s.pending=S,Iw(s,S)):(S.next=l.next,s.pending=l.next=S)}}function Iw(a,s){var l=s.action,h=s.payload,b=a.state;if(s.isTransition){var S=R.T,N={};R.T=N;try{var V=l(b,h),J=R.S;J!==null&&J(N,V),Uw(a,s,V)}catch(le){Cp(a,s,le)}finally{S!==null&&N.types!==null&&(S.types=N.types),R.T=S}}else try{S=l(b,h),Uw(a,s,S)}catch(le){Cp(a,s,le)}}function Uw(a,s,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(h){$w(a,s,h)},function(h){return Cp(a,s,h)}):$w(a,s,l)}function $w(a,s,l){s.status="fulfilled",s.value=l,Hw(s),a.state=l,s=a.pending,s!==null&&(l=s.next,l===s?a.pending=null:(l=l.next,s.next=l,Iw(a,l)))}function Cp(a,s,l){var h=a.pending;if(a.pending=null,h!==null){h=h.next;do s.status="rejected",s.reason=l,Hw(s),s=s.next;while(s!==h)}a.action=null}function Hw(a){a=a.listeners;for(var s=0;s<a.length;s++)(0,a[s])()}function Bw(a,s){return s}function Fw(a,s){if(mt){var l=Gt.formState;if(l!==null){e:{var h=Ze;if(mt){if(Qt){t:{for(var b=Qt,S=Hn;b.nodeType!==8;){if(!S){b=null;break t}if(b=Fn(b.nextSibling),b===null){b=null;break t}}S=b.data,b=S==="F!"||S==="F"?b:null}if(b){Qt=Fn(b.nextSibling),h=b.data==="F!";break e}}Ai(h)}h=!1}h&&(s=l[0])}}return l=Qr(),l.memoizedState=l.baseState=s,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bw,lastRenderedState:s},l.queue=h,l=l1.bind(null,Ze,h),h.dispatch=l,h=Tp(!1),S=kp.bind(null,Ze,!1,h.queue),h=Qr(),b={state:s,dispatch:null,action:a,pending:null},h.queue=b,l=ID.bind(null,Ze,b,S,l),b.dispatch=l,h.memoizedState=a,[s,l,!1]}function qw(a){var s=yr();return Yw(s,Ht,a)}function Yw(a,s,l){if(s=xp(a,s,Bw)[0],a=Hc(Ka)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var h=jl(s)}catch(N){throw N===vo?Dc:N}else h=s;s=yr();var b=s.queue,S=b.dispatch;return l!==s.memoizedState&&(Ze.flags|=2048,Eo(9,{destroy:void 0},UD.bind(null,b,l),null)),[h,S,a]}function UD(a,s){a.action=s}function Vw(a){var s=yr(),l=Ht;if(l!==null)return Yw(s,l,a);yr(),s=s.memoizedState,l=yr();var h=l.queue.dispatch;return l.memoizedState=a,[s,h,!1]}function Eo(a,s,l,h){return a={tag:a,create:l,deps:h,inst:s,next:null},s=Ze.updateQueue,s===null&&(s=Uc(),Ze.updateQueue=s),l=s.lastEffect,l===null?s.lastEffect=a.next=a:(h=l.next,l.next=a,a.next=h,s.lastEffect=a),a}function Gw(){return yr().memoizedState}function Bc(a,s,l,h){var b=Qr();Ze.flags|=a,b.memoizedState=Eo(1|s,{destroy:void 0},l,h===void 0?null:h)}function Fc(a,s,l,h){var b=yr();h=h===void 0?null:h;var S=b.memoizedState.inst;Ht!==null&&h!==null&&vp(h,Ht.memoizedState.deps)?b.memoizedState=Eo(s,S,l,h):(Ze.flags|=a,b.memoizedState=Eo(1|s,S,l,h))}function Xw(a,s){Bc(8390656,8,a,s)}function Rp(a,s){Fc(2048,8,a,s)}function $D(a){Ze.flags|=4;var s=Ze.updateQueue;if(s===null)s=Uc(),Ze.updateQueue=s,s.events=[a];else{var l=s.events;l===null?s.events=[a]:l.push(a)}}function Ww(a){var s=yr().memoizedState;return $D({ref:s,nextImpl:a}),function(){if((Ot&2)!==0)throw Error(n(440));return s.impl.apply(void 0,arguments)}}function Kw(a,s){return Fc(4,2,a,s)}function Qw(a,s){return Fc(4,4,a,s)}function Zw(a,s){if(typeof s=="function"){a=a();var l=s(a);return function(){typeof l=="function"?l():s(null)}}if(s!=null)return a=a(),s.current=a,function(){s.current=null}}function Jw(a,s,l){l=l!=null?l.concat([a]):null,Fc(4,4,Zw.bind(null,s,a),l)}function Ap(){}function e1(a,s){var l=yr();s=s===void 0?null:s;var h=l.memoizedState;return s!==null&&vp(s,h[1])?h[0]:(l.memoizedState=[a,s],a)}function t1(a,s){var l=yr();s=s===void 0?null:s;var h=l.memoizedState;if(s!==null&&vp(s,h[1]))return h[0];if(h=a(),Es){Pt(!0);try{a()}finally{Pt(!1)}}return l.memoizedState=[h,s],h}function Op(a,s,l){return l===void 0||(Wa&1073741824)!==0&&(ut&261930)===0?a.memoizedState=s:(a.memoizedState=l,a=rS(),Ze.lanes|=a,ji|=a,l)}function r1(a,s,l,h){return Sn(l,s)?l:bo.current!==null?(a=Op(a,l,h),Sn(a,s)||(Er=!0),a):(Wa&42)===0||(Wa&1073741824)!==0&&(ut&261930)===0?(Er=!0,a.memoizedState=l):(a=rS(),Ze.lanes|=a,ji|=a,s)}function n1(a,s,l,h,b){var S=A.p;A.p=S!==0&&8>S?S:8;var N=R.T,V={};R.T=V,kp(a,!1,s,l);try{var J=b(),le=R.S;if(le!==null&&le(V,J),J!==null&&typeof J=="object"&&typeof J.then=="function"){var he=PD(J,h);Il(a,s,he,Rn(a))}else Il(a,s,h,Rn(a))}catch(ge){Il(a,s,{then:function(){},status:"rejected",reason:ge},Rn())}finally{A.p=S,N!==null&&V.types!==null&&(N.types=V.types),R.T=N}}function HD(){}function Mp(a,s,l,h){if(a.tag!==5)throw Error(n(476));var b=a1(a).queue;n1(a,b,s,B,l===null?HD:function(){return i1(a),l(h)})}function a1(a){var s=a.memoizedState;if(s!==null)return s;s={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ka,lastRenderedState:B},next:null};var l={};return s.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ka,lastRenderedState:l},next:null},a.memoizedState=s,a=a.alternate,a!==null&&(a.memoizedState=s),s}function i1(a){var s=a1(a);s.next===null&&(s=a.alternate.memoizedState),Il(a,s.next.queue,{},Rn())}function Dp(){return Pr(tu)}function s1(){return yr().memoizedState}function o1(){return yr().memoizedState}function BD(a){for(var s=a.return;s!==null;){switch(s.tag){case 24:case 3:var l=Rn();a=Di(l);var h=ki(s,a,l);h!==null&&(cn(h,s,l),Ll(h,s,l)),s={cache:sp()},a.payload=s;return}s=s.return}}function FD(a,s,l){var h=Rn();l={lane:h,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},qc(a)?u1(s,l):(l=Wh(a,s,l,h),l!==null&&(cn(l,a,h),c1(l,s,h)))}function l1(a,s,l){var h=Rn();Il(a,s,l,h)}function Il(a,s,l,h){var b={lane:h,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(qc(a))u1(s,b);else{var S=a.alternate;if(a.lanes===0&&(S===null||S.lanes===0)&&(S=s.lastRenderedReducer,S!==null))try{var N=s.lastRenderedState,V=S(N,l);if(b.hasEagerState=!0,b.eagerState=V,Sn(V,N))return _c(a,s,b,0),Gt===null&&xc(),!1}catch{}if(l=Wh(a,s,b,h),l!==null)return cn(l,a,h),c1(l,s,h),!0}return!1}function kp(a,s,l,h){if(h={lane:2,revertLane:cm(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},qc(a)){if(s)throw Error(n(479))}else s=Wh(a,l,h,2),s!==null&&cn(s,a,2)}function qc(a){var s=a.alternate;return a===Ze||s!==null&&s===Ze}function u1(a,s){wo=jc=!0;var l=a.pending;l===null?s.next=s:(s.next=l.next,l.next=s),a.pending=s}function c1(a,s,l){if((l&4194048)!==0){var h=s.lanes;h&=a.pendingLanes,l|=h,s.lanes=l,Hr(a,l)}}var Ul={readContext:Pr,use:$c,useCallback:cr,useContext:cr,useEffect:cr,useImperativeHandle:cr,useLayoutEffect:cr,useInsertionEffect:cr,useMemo:cr,useReducer:cr,useRef:cr,useState:cr,useDebugValue:cr,useDeferredValue:cr,useTransition:cr,useSyncExternalStore:cr,useId:cr,useHostTransitionStatus:cr,useFormState:cr,useActionState:cr,useOptimistic:cr,useMemoCache:cr,useCacheRefresh:cr};Ul.useEffectEvent=cr;var d1={readContext:Pr,use:$c,useCallback:function(a,s){return Qr().memoizedState=[a,s===void 0?null:s],a},useContext:Pr,useEffect:Xw,useImperativeHandle:function(a,s,l){l=l!=null?l.concat([a]):null,Bc(4194308,4,Zw.bind(null,s,a),l)},useLayoutEffect:function(a,s){return Bc(4194308,4,a,s)},useInsertionEffect:function(a,s){Bc(4,2,a,s)},useMemo:function(a,s){var l=Qr();s=s===void 0?null:s;var h=a();if(Es){Pt(!0);try{a()}finally{Pt(!1)}}return l.memoizedState=[h,s],h},useReducer:function(a,s,l){var h=Qr();if(l!==void 0){var b=l(s);if(Es){Pt(!0);try{l(s)}finally{Pt(!1)}}}else b=s;return h.memoizedState=h.baseState=b,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b},h.queue=a,a=a.dispatch=FD.bind(null,Ze,a),[h.memoizedState,a]},useRef:function(a){var s=Qr();return a={current:a},s.memoizedState=a},useState:function(a){a=Tp(a);var s=a.queue,l=l1.bind(null,Ze,s);return s.dispatch=l,[a.memoizedState,l]},useDebugValue:Ap,useDeferredValue:function(a,s){var l=Qr();return Op(l,a,s)},useTransition:function(){var a=Tp(!1);return a=n1.bind(null,Ze,a.queue,!0,!1),Qr().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,s,l){var h=Ze,b=Qr();if(mt){if(l===void 0)throw Error(n(407));l=l()}else{if(l=s(),Gt===null)throw Error(n(349));(ut&127)!==0||kw(h,s,l)}b.memoizedState=l;var S={value:l,getSnapshot:s};return b.queue=S,Xw(Nw.bind(null,h,S,a),[a]),h.flags|=2048,Eo(9,{destroy:void 0},Lw.bind(null,h,S,l,s),null),l},useId:function(){var a=Qr(),s=Gt.identifierPrefix;if(mt){var l=ba,h=ya;l=(h&~(1<<32-or(h)-1)).toString(32)+l,s="_"+s+"R_"+l,l=Ic++,0<l&&(s+="H"+l.toString(32)),s+="_"}else l=zD++,s="_"+s+"r_"+l.toString(32)+"_";return a.memoizedState=s},useHostTransitionStatus:Dp,useFormState:Fw,useActionState:Fw,useOptimistic:function(a){var s=Qr();s.memoizedState=s.baseState=a;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=l,s=kp.bind(null,Ze,!0,l),l.dispatch=s,[a,s]},useMemoCache:Ep,useCacheRefresh:function(){return Qr().memoizedState=BD.bind(null,Ze)},useEffectEvent:function(a){var s=Qr(),l={impl:a};return s.memoizedState=l,function(){if((Ot&2)!==0)throw Error(n(440));return l.impl.apply(void 0,arguments)}}},Lp={readContext:Pr,use:$c,useCallback:e1,useContext:Pr,useEffect:Rp,useImperativeHandle:Jw,useInsertionEffect:Kw,useLayoutEffect:Qw,useMemo:t1,useReducer:Hc,useRef:Gw,useState:function(){return Hc(Ka)},useDebugValue:Ap,useDeferredValue:function(a,s){var l=yr();return r1(l,Ht.memoizedState,a,s)},useTransition:function(){var a=Hc(Ka)[0],s=yr().memoizedState;return[typeof a=="boolean"?a:jl(a),s]},useSyncExternalStore:Dw,useId:s1,useHostTransitionStatus:Dp,useFormState:qw,useActionState:qw,useOptimistic:function(a,s){var l=yr();return jw(l,Ht,a,s)},useMemoCache:Ep,useCacheRefresh:o1};Lp.useEffectEvent=Ww;var f1={readContext:Pr,use:$c,useCallback:e1,useContext:Pr,useEffect:Rp,useImperativeHandle:Jw,useInsertionEffect:Kw,useLayoutEffect:Qw,useMemo:t1,useReducer:_p,useRef:Gw,useState:function(){return _p(Ka)},useDebugValue:Ap,useDeferredValue:function(a,s){var l=yr();return Ht===null?Op(l,a,s):r1(l,Ht.memoizedState,a,s)},useTransition:function(){var a=_p(Ka)[0],s=yr().memoizedState;return[typeof a=="boolean"?a:jl(a),s]},useSyncExternalStore:Dw,useId:s1,useHostTransitionStatus:Dp,useFormState:Vw,useActionState:Vw,useOptimistic:function(a,s){var l=yr();return Ht!==null?jw(l,Ht,a,s):(l.baseState=a,[a,l.queue.dispatch])},useMemoCache:Ep,useCacheRefresh:o1};f1.useEffectEvent=Ww;function Np(a,s,l,h){s=a.memoizedState,l=l(h,s),l=l==null?s:m({},s,l),a.memoizedState=l,a.lanes===0&&(a.updateQueue.baseState=l)}var Pp={enqueueSetState:function(a,s,l){a=a._reactInternals;var h=Rn(),b=Di(h);b.payload=s,l!=null&&(b.callback=l),s=ki(a,b,h),s!==null&&(cn(s,a,h),Ll(s,a,h))},enqueueReplaceState:function(a,s,l){a=a._reactInternals;var h=Rn(),b=Di(h);b.tag=1,b.payload=s,l!=null&&(b.callback=l),s=ki(a,b,h),s!==null&&(cn(s,a,h),Ll(s,a,h))},enqueueForceUpdate:function(a,s){a=a._reactInternals;var l=Rn(),h=Di(l);h.tag=2,s!=null&&(h.callback=s),s=ki(a,h,l),s!==null&&(cn(s,a,l),Ll(s,a,l))}};function h1(a,s,l,h,b,S,N){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(h,S,N):s.prototype&&s.prototype.isPureReactComponent?!Tl(l,h)||!Tl(b,S):!0}function p1(a,s,l,h){a=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(l,h),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(l,h),s.state!==a&&Pp.enqueueReplaceState(s,s.state,null)}function xs(a,s){var l=s;if("ref"in s){l={};for(var h in s)h!=="ref"&&(l[h]=s[h])}if(a=a.defaultProps){l===s&&(l=m({},l));for(var b in a)l[b]===void 0&&(l[b]=a[b])}return l}function m1(a){Ec(a)}function g1(a){console.error(a)}function v1(a){Ec(a)}function Yc(a,s){try{var l=a.onUncaughtError;l(s.value,{componentStack:s.stack})}catch(h){setTimeout(function(){throw h})}}function y1(a,s,l){try{var h=a.onCaughtError;h(l.value,{componentStack:l.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(b){setTimeout(function(){throw b})}}function zp(a,s,l){return l=Di(l),l.tag=3,l.payload={element:null},l.callback=function(){Yc(a,s)},l}function b1(a){return a=Di(a),a.tag=3,a}function w1(a,s,l,h){var b=l.type.getDerivedStateFromError;if(typeof b=="function"){var S=h.value;a.payload=function(){return b(S)},a.callback=function(){y1(s,l,h)}}var N=l.stateNode;
vendor: 11,799 bytes, line 9
9N!==null&&typeof N.componentDidCatch=="function"&&(a.callback=function(){y1(s,l,h),typeof b!="function"&&(Ii===null?Ii=new Set([this]):Ii.add(this));var V=h.stack;this.componentDidCatch(h.value,{componentStack:V!==null?V:""})})}function qD(a,s,l,h,b){if(l.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(s=l.alternate,s!==null&&po(s,l,b,!0),l=xn.current,l!==null){switch(l.tag){case 31:case 13:return Bn===null?nd():l.alternate===null&&dr===0&&(dr=3),l.flags&=-257,l.flags|=65536,l.lanes=b,h===kc?l.flags|=16384:(s=l.updateQueue,s===null?l.updateQueue=new Set([h]):s.add(h),om(a,h,b)),!1;case 22:return l.flags|=65536,h===kc?l.flags|=16384:(s=l.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([h])},l.updateQueue=s):(l=s.retryQueue,l===null?s.retryQueue=new Set([h]):l.add(h)),om(a,h,b)),!1}throw Error(n(435,l.tag))}return om(a,h,b),nd(),!1}if(mt)return s=xn.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=b,h!==tp&&(a=Error(n(422),{cause:h}),Al(In(a,l)))):(h!==tp&&(s=Error(n(423),{cause:h}),Al(In(s,l))),a=a.current.alternate,a.flags|=65536,b&=-b,a.lanes|=b,h=In(h,l),b=zp(a.stateNode,h,b),fp(a,b),dr!==4&&(dr=2)),!1;var S=Error(n(520),{cause:h});if(S=In(S,l),Gl===null?Gl=[S]:Gl.push(S),dr!==4&&(dr=2),s===null)return!0;h=In(h,l),l=s;do{switch(l.tag){case 3:return l.flags|=65536,a=b&-b,l.lanes|=a,a=zp(l.stateNode,h,a),fp(l,a),!1;case 1:if(s=l.type,S=l.stateNode,(l.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||S!==null&&typeof S.componentDidCatch=="function"&&(Ii===null||!Ii.has(S))))return l.flags|=65536,b&=-b,l.lanes|=b,b=b1(b),w1(b,a,l,h),fp(l,b),!1}l=l.return}while(l!==null);return!1}var jp=Error(n(461)),Er=!1;function zr(a,s,l,h){s.child=a===null?_w(s,null,l,h):Ss(s,a.child,l,h)}function S1(a,s,l,h,b){l=l.render;var S=s.ref;if("ref"in h){var N={};for(var V in h)V!=="ref"&&(N[V]=h[V])}else N=h;return vs(s),h=yp(a,s,l,N,S,b),V=bp(),a!==null&&!Er?(wp(a,s,b),Qa(a,s,b)):(mt&&V&&Jh(s),s.flags|=1,zr(a,s,h,b),s.child)}function E1(a,s,l,h,b){if(a===null){var S=l.type;return typeof S=="function"&&!Kh(S)&&S.defaultProps===void 0&&l.compare===null?(s.tag=15,s.type=S,x1(a,s,S,h,b)):(a=Cc(l.type,null,h,s,s.mode,b),a.ref=s.ref,a.return=s,s.child=a)}if(S=a.child,!Yp(a,b)){var N=S.memoizedProps;if(l=l.compare,l=l!==null?l:Tl,l(N,h)&&a.ref===s.ref)return Qa(a,s,b)}return s.flags|=1,a=Ya(S,h),a.ref=s.ref,a.return=s,s.child=a}function x1(a,s,l,h,b){if(a!==null){var S=a.memoizedProps;if(Tl(S,h)&&a.ref===s.ref)if(Er=!1,s.pendingProps=h=S,Yp(a,b))(a.flags&131072)!==0&&(Er=!0);else return s.lanes=a.lanes,Qa(a,s,b)}return Ip(a,s,l,h,b)}function _1(a,s,l,h){var b=h.children,S=a!==null?a.memoizedState:null;if(a===null&&s.stateNode===null&&(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),h.mode==="hidden"){if((s.flags&128)!==0){if(S=S!==null?S.baseLanes|l:l,a!==null){for(h=s.child=a.child,b=0;h!==null;)b=b|h.lanes|h.childLanes,h=h.sibling;h=b&~S}else h=0,s.child=null;return T1(a,s,S,l,h)}if((l&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},a!==null&&Mc(s,S!==null?S.cachePool:null),S!==null?Rw(s,S):pp(),Aw(s);else return h=s.lanes=536870912,T1(a,s,S!==null?S.baseLanes|l:l,l,h)}else S!==null?(Mc(s,S.cachePool),Rw(s,S),Ni(),s.memoizedState=null):(a!==null&&Mc(s,null),pp(),Ni());return zr(a,s,b,l),s.child}function $l(a,s){return a!==null&&a.tag===22||s.stateNode!==null||(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.sibling}function T1(a,s,l,h,b){var S=lp();return S=S===null?null:{parent:wr._currentValue,pool:S},s.memoizedState={baseLanes:l,cachePool:S},a!==null&&Mc(s,null),pp(),Aw(s),a!==null&&po(a,s,h,!0),s.childLanes=b,null}function Vc(a,s){return s=Xc({mode:s.mode,children:s.children},a.mode),s.ref=a.ref,a.child=s,s.return=a,s}function C1(a,s,l){return Ss(s,a.child,null,l),a=Vc(s,s.pendingProps),a.flags|=2,_n(s),s.memoizedState=null,a}function YD(a,s,l){var h=s.pendingProps,b=(s.flags&128)!==0;if(s.flags&=-129,a===null){if(mt){if(h.mode==="hidden")return a=Vc(s,h),s.lanes=536870912,$l(null,a);if(gp(s),(a=Qt)?(a=IS(a,Hn),a=a!==null&&a.data==="&"?a:null,a!==null&&(s.memoizedState={dehydrated:a,treeContext:Ci!==null?{id:ya,overflow:ba}:null,retryLane:536870912,hydrationErrors:null},l=uw(a),l.return=s,s.child=l,Nr=s,Qt=null)):a=null,a===null)throw Ai(s);return s.lanes=536870912,null}return Vc(s,h)}var S=a.memoizedState;if(S!==null){var N=S.dehydrated;if(gp(s),b)if(s.flags&256)s.flags&=-257,s=C1(a,s,l);else if(s.memoizedState!==null)s.child=a.child,s.flags|=128,s=null;else throw Error(n(558));else if(Er||po(a,s,l,!1),b=(l&a.childLanes)!==0,Er||b){if(h=Gt,h!==null&&(N=Z(h,l),N!==0&&N!==S.retryLane))throw S.retryLane=N,hs(a,N),cn(h,a,N),jp;nd(),s=C1(a,s,l)}else a=S.treeContext,Qt=Fn(N.nextSibling),Nr=s,mt=!0,Ri=null,Hn=!1,a!==null&&fw(s,a),s=Vc(s,h),s.flags|=4096;return s}return a=Ya(a.child,{mode:h.mode,children:h.children}),a.ref=s.ref,s.child=a,a.return=s,a}function Gc(a,s){var l=s.ref;if(l===null)a!==null&&a.ref!==null&&(s.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(n(284));(a===null||a.ref!==l)&&(s.flags|=4194816)}}function Ip(a,s,l,h,b){return vs(s),l=yp(a,s,l,h,void 0,b),h=bp(),a!==null&&!Er?(wp(a,s,b),Qa(a,s,b)):(mt&&h&&Jh(s),s.flags|=1,zr(a,s,l,b),s.child)}function R1(a,s,l,h,b,S){return vs(s),s.updateQueue=null,l=Mw(s,h,l,b),Ow(a),h=bp(),a!==null&&!Er?(wp(a,s,S),Qa(a,s,S)):(mt&&h&&Jh(s),s.flags|=1,zr(a,s,l,S),s.child)}function A1(a,s,l,h,b){if(vs(s),s.stateNode===null){var S=uo,N=l.contextType;typeof N=="object"&&N!==null&&(S=Pr(N)),S=new l(h,S),s.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,S.updater=Pp,s.stateNode=S,S._reactInternals=s,S=s.stateNode,S.props=h,S.state=s.memoizedState,S.refs={},cp(s),N=l.contextType,S.context=typeof N=="object"&&N!==null?Pr(N):uo,S.state=s.memoizedState,N=l.getDerivedStateFromProps,typeof N=="function"&&(Np(s,l,N,h),S.state=s.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(N=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),N!==S.state&&Pp.enqueueReplaceState(S,S.state,null),Pl(s,h,S,b),Nl(),S.state=s.memoizedState),typeof S.componentDidMount=="function"&&(s.flags|=4194308),h=!0}else if(a===null){S=s.stateNode;var V=s.memoizedProps,J=xs(l,V);S.props=J;var le=S.context,he=l.contextType;N=uo,typeof he=="object"&&he!==null&&(N=Pr(he));var ge=l.getDerivedStateFromProps;he=typeof ge=="function"||typeof S.getSnapshotBeforeUpdate=="function",V=s.pendingProps!==V,he||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(V||le!==N)&&p1(s,S,h,N),Mi=!1;var ue=s.memoizedState;S.state=ue,Pl(s,h,S,b),Nl(),le=s.memoizedState,V||ue!==le||Mi?(typeof ge=="function"&&(Np(s,l,ge,h),le=s.memoizedState),(J=Mi||h1(s,l,J,h,ue,le,N))?(he||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(s.flags|=4194308)):(typeof S.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=h,s.memoizedState=le),S.props=h,S.state=le,S.context=N,h=J):(typeof S.componentDidMount=="function"&&(s.flags|=4194308),h=!1)}else{S=s.stateNode,dp(a,s),N=s.memoizedProps,he=xs(l,N),S.props=he,ge=s.pendingProps,ue=S.context,le=l.contextType,J=uo,typeof le=="object"&&le!==null&&(J=Pr(le)),V=l.getDerivedStateFromProps,(le=typeof V=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(N!==ge||ue!==J)&&p1(s,S,h,J),Mi=!1,ue=s.memoizedState,S.state=ue,Pl(s,h,S,b),Nl();var ce=s.memoizedState;N!==ge||ue!==ce||Mi||a!==null&&a.dependencies!==null&&Ac(a.dependencies)?(typeof V=="function"&&(Np(s,l,V,h),ce=s.memoizedState),(he=Mi||h1(s,l,he,h,ue,ce,J)||a!==null&&a.dependencies!==null&&Ac(a.dependencies))?(le||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(h,ce,J),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(h,ce,J)),typeof S.componentDidUpdate=="function"&&(s.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof S.componentDidUpdate!="function"||N===a.memoizedProps&&ue===a.memoizedState||(s.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||N===a.memoizedProps&&ue===a.memoizedState||(s.flags|=1024),s.memoizedProps=h,s.memoizedState=ce),S.props=h,S.state=ce,S.context=J,h=he):(typeof S.componentDidUpdate!="function"||N===a.memoizedProps&&ue===a.memoizedState||(s.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||N===a.memoizedProps&&ue===a.memoizedState||(s.flags|=1024),h=!1)}return S=h,Gc(a,s),h=(s.flags&128)!==0,S||h?(S=s.stateNode,l=h&&typeof l.getDerivedStateFromError!="function"?null:S.render(),s.flags|=1,a!==null&&h?(s.child=Ss(s,a.child,null,b),s.child=Ss(s,null,l,b)):zr(a,s,l,b),s.memoizedState=S.state,a=s.child):a=Qa(a,s,b),a}function O1(a,s,l,h){return ms(),s.flags|=256,zr(a,s,l,h),s.child}var Up={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function $p(a){return{baseLanes:a,cachePool:yw()}}function Hp(a,s,l){return a=a!==null?a.childLanes&~l:0,s&&(a|=Cn),a}function M1(a,s,l){var h=s.pendingProps,b=!1,S=(s.flags&128)!==0,N;if((N=S)||(N=a!==null&&a.memoizedState===null?!1:(vr.current&2)!==0),N&&(b=!0,s.flags&=-129),N=(s.flags&32)!==0,s.flags&=-33,a===null){if(mt){if(b?Li(s):Ni(),(a=Qt)?(a=IS(a,Hn),a=a!==null&&a.data!=="&"?a:null,a!==null&&(s.memoizedState={dehydrated:a,treeContext:Ci!==null?{id:ya,overflow:ba}:null,retryLane:536870912,hydrationErrors:null},l=uw(a),l.return=s,s.child=l,Nr=s,Qt=null)):a=null,a===null)throw Ai(s);return xm(a)?s.lanes=32:s.lanes=536870912,null}var V=h.children;return h=h.fallback,b?(Ni(),b=s.mode,V=Xc({mode:"hidden",children:V},b),h=ps(h,b,l,null),V.return=s,h.return=s,V.sibling=h,s.child=V,h=s.child,h.memoizedState=$p(l),h.childLanes=Hp(a,N,l),s.memoizedState=Up,$l(null,h)):(Li(s),Bp(s,V))}var J=a.memoizedState;if(J!==null&&(V=J.dehydrated,V!==null)){if(S)s.flags&256?(Li(s),s.flags&=-257,s=Fp(a,s,l)):s.memoizedState!==null?(Ni(),s.child=a.child,s.flags|=128,s=null):(Ni(),V=h.fallback,b=s.mode,h=Xc({mode:"visible",children:h.children},b),V=ps(V,b,l,null),V.flags|=2,h.return=s,V.return=s,h.sibling=V,s.child=h,Ss(s,a.child,null,l),h=s.child,h.memoizedState=$p(l),h.childLanes=Hp(a,N,l),s.memoizedState=Up,s=$l(null,h));else if(Li(s),xm(V)){if(N=V.nextSibling&&V.nextSibling.dataset,N)var le=N.dgst;N=le,h=Error(n(419)),h.stack="",h.digest=N,Al({value:h,source:null,stack:null}),s=Fp(a,s,l)}else if(Er||po(a,s,l,!1),N=(l&a.childLanes)!==0,Er||N){if(N=Gt,N!==null&&(h=Z(N,l),h!==0&&h!==J.retryLane))throw J.retryLane=h,hs(a,h),cn(N,a,h),jp;Em(V)||nd(),s=Fp(a,s,l)}else Em(V)?(s.flags|=192,s.child=a.child,s=null):(a=J.treeContext,Qt=Fn(V.nextSibling),Nr=s,mt=!0,Ri=null,Hn=!1,a!==null&&fw(s,a),s=Bp(s,h.children),s.flags|=4096);return s}return b?(Ni(),V=h.fallback,b=s.mode,J=a.child,le=J.sibling,h=Ya(J,{mode:"hidden",children:h.children}),h.subtreeFlags=J.subtreeFlags&65011712,le!==null?V=Ya(le,V):(V=ps(V,b,l,null),V.flags|=2),V.return=s,h.return=s,h.sibling=V,s.child=h,$l(null,h),h=s.child,V=a.child.memoizedState,V===null?V=$p(l):(b=V.cachePool,b!==null?(J=wr._currentValue,b=b.parent!==J?{parent:J,pool:J}:b):b=yw(),V={baseLanes:V.baseLanes|l,cachePool:b}
vendor: 6,556 bytes, line 9
9),h.memoizedState=V,h.childLanes=Hp(a,N,l),s.memoizedState=Up,$l(a.child,h)):(Li(s),l=a.child,a=l.sibling,l=Ya(l,{mode:"visible",children:h.children}),l.return=s,l.sibling=null,a!==null&&(N=s.deletions,N===null?(s.deletions=[a],s.flags|=16):N.push(a)),s.child=l,s.memoizedState=null,l)}function Bp(a,s){return s=Xc({mode:"visible",children:s},a.mode),s.return=a,a.child=s}function Xc(a,s){return a=En(22,a,null,s),a.lanes=0,a}function Fp(a,s,l){return Ss(s,a.child,null,l),a=Bp(s,s.pendingProps.children),a.flags|=2,s.memoizedState=null,a}function D1(a,s,l){a.lanes|=s;var h=a.alternate;h!==null&&(h.lanes|=s),ap(a.return,s,l)}function qp(a,s,l,h,b,S){var N=a.memoizedState;N===null?a.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:h,tail:l,tailMode:b,treeForkCount:S}:(N.isBackwards=s,N.rendering=null,N.renderingStartTime=0,N.last=h,N.tail=l,N.tailMode=b,N.treeForkCount=S)}function k1(a,s,l){var h=s.pendingProps,b=h.revealOrder,S=h.tail;h=h.children;var N=vr.current,V=(N&2)!==0;if(V?(N=N&1|2,s.flags|=128):N&=1,G(vr,N),zr(a,s,h,l),h=mt?Rl:0,!V&&a!==null&&(a.flags&128)!==0)e:for(a=s.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&D1(a,l,s);else if(a.tag===19)D1(a,l,s);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break e;for(;a.sibling===null;){if(a.return===null||a.return===s)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(b){case"forwards":for(l=s.child,b=null;l!==null;)a=l.alternate,a!==null&&zc(a)===null&&(b=l),l=l.sibling;l=b,l===null?(b=s.child,s.child=null):(b=l.sibling,l.sibling=null),qp(s,!1,b,l,S,h);break;case"backwards":case"unstable_legacy-backwards":for(l=null,b=s.child,s.child=null;b!==null;){if(a=b.alternate,a!==null&&zc(a)===null){s.child=b;break}a=b.sibling,b.sibling=l,l=b,b=a}qp(s,!0,l,null,S,h);break;case"together":qp(s,!1,null,null,void 0,h);break;default:s.memoizedState=null}return s.child}function Qa(a,s,l){if(a!==null&&(s.dependencies=a.dependencies),ji|=s.lanes,(l&s.childLanes)===0)if(a!==null){if(po(a,s,l,!1),(l&s.childLanes)===0)return null}else return null;if(a!==null&&s.child!==a.child)throw Error(n(153));if(s.child!==null){for(a=s.child,l=Ya(a,a.pendingProps),s.child=l,l.return=s;a.sibling!==null;)a=a.sibling,l=l.sibling=Ya(a,a.pendingProps),l.return=s;l.sibling=null}return s.child}function Yp(a,s){return(a.lanes&s)!==0?!0:(a=a.dependencies,!!(a!==null&&Ac(a)))}function VD(a,s,l){switch(s.tag){case 3:de(s,s.stateNode.containerInfo),Oi(s,wr,a.memoizedState.cache),ms();break;case 27:case 5:Se(s);break;case 4:de(s,s.stateNode.containerInfo);break;case 10:Oi(s,s.type,s.memoizedProps.value);break;case 31:if(s.memoizedState!==null)return s.flags|=128,gp(s),null;break;case 13:var h=s.memoizedState;if(h!==null)return h.dehydrated!==null?(Li(s),s.flags|=128,null):(l&s.child.childLanes)!==0?M1(a,s,l):(Li(s),a=Qa(a,s,l),a!==null?a.sibling:null);Li(s);break;case 19:var b=(a.flags&128)!==0;if(h=(l&s.childLanes)!==0,h||(po(a,s,l,!1),h=(l&s.childLanes)!==0),b){if(h)return k1(a,s,l);s.flags|=128}if(b=s.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),G(vr,vr.current),h)break;return null;case 22:return s.lanes=0,_1(a,s,l,s.pendingProps);case 24:Oi(s,wr,a.memoizedState.cache)}return Qa(a,s,l)}function L1(a,s,l){if(a!==null)if(a.memoizedProps!==s.pendingProps)Er=!0;else{if(!Yp(a,l)&&(s.flags&128)===0)return Er=!1,VD(a,s,l);Er=(a.flags&131072)!==0}else Er=!1,mt&&(s.flags&1048576)!==0&&dw(s,Rl,s.index);switch(s.lanes=0,s.tag){case 16:e:{var h=s.pendingProps;if(a=bs(s.elementType),s.type=a,typeof a=="function")Kh(a)?(h=xs(a,h),s.tag=1,s=A1(null,s,a,h,l)):(s.tag=0,s=Ip(null,s,a,h,l));else{if(a!=null){var b=a.$$typeof;if(b===O){s.tag=11,s=S1(null,s,a,h,l);break e}else if(b===H){s.tag=14,s=E1(null,s,a,h,l);break e}}throw s=z(a)||a,Error(n(306,s,""))}}return s;case 0:return Ip(a,s,s.type,s.pendingProps,l);case 1:return h=s.type,b=xs(h,s.pendingProps),A1(a,s,h,b,l);case 3:e:{if(de(s,s.stateNode.containerInfo),a===null)throw Error(n(387));h=s.pendingProps;var S=s.memoizedState;b=S.element,dp(a,s),Pl(s,h,null,l);var N=s.memoizedState;if(h=N.cache,Oi(s,wr,h),h!==S.cache&&ip(s,[wr],l,!0),Nl(),h=N.element,S.isDehydrated)if(S={element:h,isDehydrated:!1,cache:N.cache},s.updateQueue.baseState=S,s.memoizedState=S,s.flags&256){s=O1(a,s,h,l);break e}else if(h!==b){b=In(Error(n(424)),s),Al(b),s=O1(a,s,h,l);break e}else for(a=s.stateNode.containerInfo,a.nodeType===9?a=a.body:a=a.nodeName==="HTML"?a.ownerDocument.body:a,Qt=Fn(a.firstChild),Nr=s,mt=!0,Ri=null,Hn=!0,l=_w(s,null,h,l),s.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(ms(),h===b){s=Qa(a,s,l);break e}zr(a,s,h,l)}s=s.child}return s;case 26:return Gc(a,s),a===null?(l=qS(s.type,null,s.pendingProps,null))?s.memoizedState=l:mt||(l=s.type,a=s.pendingProps,h=cd(Q.current).createElement(l),h[Ee]=s,h[Te]=a,jr(h,l,a),St(h),s.stateNode=h):s.memoizedState=qS(s.type,a.memoizedProps,s.pendingProps,a.memoizedState),null;case 27:return Se(s),a===null&&mt&&(h=s.stateNode=HS(s.type,s.pendingProps,Q.current),Nr=s,Hn=!0,b=Qt,Bi(s.type)?(_m=b,Qt=Fn(h.firstChild)):Qt=b),zr(a,s,s.pendingProps.children,l),Gc(a,s),a===null&&(s.flags|=4194304),s.child;case 5:return a===null&&mt&&((b=h=Qt)&&(h=Ek(h,s.type,s.pendingProps,Hn),h!==null?(s.stateNode=h,Nr=s,Qt=Fn(h.firstChild),Hn=!1,b=!0):b=!1),b||Ai(s)),Se(s),b=s.type,S=s.pendingProps,N=a!==null?a.memoizedProps:null,h=S.children,bm(b,S)?h=null:N!==null&&bm(b,N)&&(s.flags|=32),s.memoizedState!==null&&(b=yp(a,s,jD,null,null,l),tu._currentValue=b),Gc(a,s),zr(a,s,h,l),s.child;case 6:return a===null&&mt&&((a=l=Qt)&&(l=xk(l,s.pendingProps,Hn),l!==null?(s.stateNode=l,Nr=s,Qt=null,a=!0):a=!1),a||Ai(s)),null;case 13:return M1(a,s,l);case 4:return de(s,s.stateNode.containerInfo),h=s.pendingProps,a===null?s.child=Ss(s,null,h,l):zr(a,s,h,l),s.child;case 11:return S1(a,s,s.type,s.pendingProps,l);case 7:return zr(a,s,s.pendingProps,l),s.child;case 8:return zr(a,s,s.pendingProps.children,l),s.child;case 12:return zr(a,s,s.pendingProps.children,l),s.child;case 10:return h=s.pendingProps,Oi(s,s.type,h.value),zr(a,s,h.children,l),s.child;case 9:return b=s.type._context,h=s.pendingProps.children,vs(s),b=Pr(b),h=h(b),s.flags|=1,zr(a,s,h,l),s.child;case 14:return E1(a,s,s.type,s.pendingProps,l);case 15:return x1(a,s,s.type,s.pendingProps,l);case 19:return k1(a,s,l);case 31:return YD(a,s,l);case 22:return _1(a,s,l,s.pendingProps);case 24:return vs(s),h=Pr(wr),a===null?(b=lp(),b===null&&(b=Gt,S=sp(),b.pooledCache=S,S.refCount++,S!==null&&(b.pooledCacheLanes|=l),b=S),s.memoizedState={parent:h,cache:b}
vendor: 4,558 bytes, line 9
9,cp(s),Oi(s,wr,b)):((a.lanes&l)!==0&&(dp(a,s),Pl(s,null,null,l),Nl()),b=a.memoizedState,S=s.memoizedState,b.parent!==h?(b={parent:h,cache:h},s.memoizedState=b,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=b),Oi(s,wr,h)):(h=S.cache,Oi(s,wr,h),h!==b.cache&&ip(s,[wr],l,!0))),zr(a,s,s.pendingProps.children,l),s.child;case 29:throw s.pendingProps}throw Error(n(156,s.tag))}function Za(a){a.flags|=4}function Vp(a,s,l,h,b){if((s=(a.mode&32)!==0)&&(s=!1),s){if(a.flags|=16777216,(b&335544128)===b)if(a.stateNode.complete)a.flags|=8192;else if(sS())a.flags|=8192;else throw ws=kc,up}else a.flags&=-16777217}function N1(a,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!WS(s))if(sS())a.flags|=8192;else throw ws=kc,up}function Wc(a,s){s!==null&&(a.flags|=4),a.flags&16384&&(s=a.tag!==22?Yt():536870912,a.lanes|=s,Co|=s)}function Hl(a,s){if(!mt)switch(a.tailMode){case"hidden":s=a.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?a.tail=null:l.sibling=null;break;case"collapsed":l=a.tail;for(var h=null;l!==null;)l.alternate!==null&&(h=l),l=l.sibling;h===null?s||a.tail===null?a.tail=null:a.tail.sibling=null:h.sibling=null}}function Zt(a){var s=a.alternate!==null&&a.alternate.child===a.child,l=0,h=0;if(s)for(var b=a.child;b!==null;)l|=b.lanes|b.childLanes,h|=b.subtreeFlags&65011712,h|=b.flags&65011712,b.return=a,b=b.sibling;else for(b=a.child;b!==null;)l|=b.lanes|b.childLanes,h|=b.subtreeFlags,h|=b.flags,b.return=a,b=b.sibling;return a.subtreeFlags|=h,a.childLanes=l,s}function GD(a,s,l){var h=s.pendingProps;switch(ep(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(s),null;case 1:return Zt(s),null;case 3:return l=s.stateNode,h=null,a!==null&&(h=a.memoizedState.cache),s.memoizedState.cache!==h&&(s.flags|=2048),Xa(wr),pe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(a===null||a.child===null)&&(ho(s)?Za(s):a===null||a.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,rp())),Zt(s),null;case 26:var b=s.type,S=s.memoizedState;return a===null?(Za(s),S!==null?(Zt(s),N1(s,S)):(Zt(s),Vp(s,b,null,h,l))):S?S!==a.memoizedState?(Za(s),Zt(s),N1(s,S)):(Zt(s),s.flags&=-16777217):(a=a.memoizedProps,a!==h&&Za(s),Zt(s),Vp(s,b,a,h,l)),null;case 27:if(be(s),l=Q.current,b=s.type,a!==null&&s.stateNode!=null)a.memoizedProps!==h&&Za(s);else{if(!h){if(s.stateNode===null)throw Error(n(166));return Zt(s),null}a=W.current,ho(s)?hw(s):(a=HS(b,h,l),s.stateNode=a,Za(s))}return Zt(s),null;case 5:if(be(s),b=s.type,a!==null&&s.stateNode!=null)a.memoizedProps!==h&&Za(s);else{if(!h){if(s.stateNode===null)throw Error(n(166));return Zt(s),null}if(S=W.current,ho(s))hw(s);else{var N=cd(Q.current);switch(S){case 1:S=N.createElementNS("http://www.w3.org/2000/svg",b);break;case 2:S=N.createElementNS("http://www.w3.org/1998/Math/MathML",b);break;default:switch(b){case"svg":S=N.createElementNS("http://www.w3.org/2000/svg",b);break;case"math":S=N.createElementNS("http://www.w3.org/1998/Math/MathML",b);break;case"script":S=N.createElement("div"),S.innerHTML="<script><\/script>",S=S.removeChild(S.firstChild);break;case"select":S=typeof h.is=="string"?N.createElement("select",{is:h.is}):N.createElement("select"),h.multiple?S.multiple=!0:h.size&&(S.size=h.size);break;default:S=typeof h.is=="string"?N.createElement(b,{is:h.is}):N.createElement(b)}}S[Ee]=s,S[Te]=h;e:for(N=s.child;N!==null;){if(N.tag===5||N.tag===6)S.appendChild(N.stateNode);else if(N.tag!==4&&N.tag!==27&&N.child!==null){N.child.return=N,N=N.child;continue}if(N===s)break e;for(;N.sibling===null;){if(N.return===null||N.return===s)break e;N=N.return}N.sibling.return=N.return,N=N.sibling}s.stateNode=S;e:switch(jr(S,b,h),b){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}h&&Za(s)}}return Zt(s),Vp(s,s.type,a===null?null:a.memoizedProps,s.pendingProps,l),null;case 6:if(a&&s.stateNode!=null)a.memoizedProps!==h&&Za(s);else{if(typeof h!="string"&&s.stateNode===null)throw Error(n(166));if(a=Q.current,ho(s)){if(a=s.stateNode,l=s.memoizedProps,h=null,b=Nr,b!==null)switch(b.tag){case 27:case 5:h=b.memoizedProps}a[Ee]=s,a=!!(a.nodeValue===l||h!==null&&h.suppressHydrationWarning===!0||MS(a.nodeValue,l)),a||Ai(s,!0)}else a=cd(a).createTextNode(h),a[Ee]=s,s.stateNode=a}return Zt(s),null;case 31:if(l=s.memoizedState,a===null||a.memoizedState!==null){if(h=ho(s),l!==null){if(a===null){if(!h)throw Error(n(318));if(a=s.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(n(557)
vendor: 25,071 bytes, line 9
9);a[Ee]=s}else ms(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Zt(s),a=!1}else l=rp(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=l),a=!0;if(!a)return s.flags&256?(_n(s),s):(_n(s),null);if((s.flags&128)!==0)throw Error(n(558))}return Zt(s),null;case 13:if(h=s.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(b=ho(s),h!==null&&h.dehydrated!==null){if(a===null){if(!b)throw Error(n(318));if(b=s.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(n(317));b[Ee]=s}else ms(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Zt(s),b=!1}else b=rp(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=b),b=!0;if(!b)return s.flags&256?(_n(s),s):(_n(s),null)}return _n(s),(s.flags&128)!==0?(s.lanes=l,s):(l=h!==null,a=a!==null&&a.memoizedState!==null,l&&(h=s.child,b=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(b=h.alternate.memoizedState.cachePool.pool),S=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(S=h.memoizedState.cachePool.pool),S!==b&&(h.flags|=2048)),l!==a&&l&&(s.child.flags|=8192),Wc(s,s.updateQueue),Zt(s),null);case 4:return pe(),a===null&&pm(s.stateNode.containerInfo),Zt(s),null;case 10:return Xa(s.type),Zt(s),null;case 19:if(Y(vr),h=s.memoizedState,h===null)return Zt(s),null;if(b=(s.flags&128)!==0,S=h.rendering,S===null)if(b)Hl(h,!1);else{if(dr!==0||a!==null&&(a.flags&128)!==0)for(a=s.child;a!==null;){if(S=zc(a),S!==null){for(s.flags|=128,Hl(h,!1),a=S.updateQueue,s.updateQueue=a,Wc(s,a),s.subtreeFlags=0,a=l,l=s.child;l!==null;)lw(l,a),l=l.sibling;return G(vr,vr.current&1|2),mt&&Va(s,h.treeForkCount),s.child}a=a.sibling}h.tail!==null&&Ve()>ed&&(s.flags|=128,b=!0,Hl(h,!1),s.lanes=4194304)}else{if(!b)if(a=zc(S),a!==null){if(s.flags|=128,b=!0,a=a.updateQueue,s.updateQueue=a,Wc(s,a),Hl(h,!0),h.tail===null&&h.tailMode==="hidden"&&!S.alternate&&!mt)return Zt(s),null}else 2*Ve()-h.renderingStartTime>ed&&l!==536870912&&(s.flags|=128,b=!0,Hl(h,!1),s.lanes=4194304);h.isBackwards?(S.sibling=s.child,s.child=S):(a=h.last,a!==null?a.sibling=S:s.child=S,h.last=S)}return h.tail!==null?(a=h.tail,h.rendering=a,h.tail=a.sibling,h.renderingStartTime=Ve(),a.sibling=null,l=vr.current,G(vr,b?l&1|2:l&1),mt&&Va(s,h.treeForkCount),a):(Zt(s),null);case 22:case 23:return _n(s),mp(),h=s.memoizedState!==null,a!==null?a.memoizedState!==null!==h&&(s.flags|=8192):h&&(s.flags|=8192),h?(l&536870912)!==0&&(s.flags&128)===0&&(Zt(s),s.subtreeFlags&6&&(s.flags|=8192)):Zt(s),l=s.updateQueue,l!==null&&Wc(s,l.retryQueue),l=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),h=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(h=s.memoizedState.cachePool.pool),h!==l&&(s.flags|=2048),a!==null&&Y(ys),null;case 24:return l=null,a!==null&&(l=a.memoizedState.cache),s.memoizedState.cache!==l&&(s.flags|=2048),Xa(wr),Zt(s),null;case 25:return null;case 30:return null}throw Error(n(156,s.tag))}function XD(a,s){switch(ep(s),s.tag){case 1:return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 3:return Xa(wr),pe(),a=s.flags,(a&65536)!==0&&(a&128)===0?(s.flags=a&-65537|128,s):null;case 26:case 27:case 5:return be(s),null;case 31:if(s.memoizedState!==null){if(_n(s),s.alternate===null)throw Error(n(340));ms()}return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 13:if(_n(s),a=s.memoizedState,a!==null&&a.dehydrated!==null){if(s.alternate===null)throw Error(n(340));ms()}return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 19:return Y(vr),null;case 4:return pe(),null;case 10:return Xa(s.type),null;case 22:case 23:return _n(s),mp(),a!==null&&Y(ys),a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 24:return Xa(wr),null;case 25:return null;default:return null}}function P1(a,s){switch(ep(s),s.tag){case 3:Xa(wr),pe();break;case 26:case 27:case 5:be(s);break;case 4:pe();break;case 31:s.memoizedState!==null&&_n(s);break;case 13:_n(s);break;case 19:Y(vr);break;case 10:Xa(s.type);break;case 22:case 23:_n(s),mp(),a!==null&&Y(ys);break;case 24:Xa(wr)}}function Bl(a,s){try{var l=s.updateQueue,h=l!==null?l.lastEffect:null;if(h!==null){var b=h.next;l=b;do{if((l.tag&a)===a){h=void 0;var S=l.create,N=l.inst;h=S(),N.destroy=h}l=l.next}while(l!==b)}}catch(V){It(s,s.return,V)}}function Pi(a,s,l){try{var h=s.updateQueue,b=h!==null?h.lastEffect:null;if(b!==null){var S=b.next;h=S;do{if((h.tag&a)===a){var N=h.inst,V=N.destroy;if(V!==void 0){N.destroy=void 0,b=s;var J=l,le=V;try{le()}catch(he){It(b,J,he)}}}h=h.next}while(h!==S)}}catch(he){It(s,s.return,he)}}function z1(a){var s=a.updateQueue;if(s!==null){var l=a.stateNode;try{Cw(s,l)}catch(h){It(a,a.return,h)}}}function j1(a,s,l){l.props=xs(a.type,a.memoizedProps),l.state=a.memoizedState;try{l.componentWillUnmount()}catch(h){It(a,s,h)}}function Fl(a,s){try{var l=a.ref;if(l!==null){switch(a.tag){case 26:case 27:case 5:var h=a.stateNode;break;case 30:h=a.stateNode;break;default:h=a.stateNode}typeof l=="function"?a.refCleanup=l(h):l.current=h}}catch(b){It(a,s,b)}}function wa(a,s){var l=a.ref,h=a.refCleanup;if(l!==null)if(typeof h=="function")try{h()}catch(b){It(a,s,b)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(b){It(a,s,b)}else l.current=null}function I1(a){var s=a.type,l=a.memoizedProps,h=a.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":l.autoFocus&&h.focus();break e;case"img":l.src?h.src=l.src:l.srcSet&&(h.srcset=l.srcSet)}}catch(b){It(a,a.return,b)}}function Gp(a,s,l){try{var h=a.stateNode;gk(h,a.type,l,s),h[Te]=s}catch(b){It(a,a.return,b)}}function U1(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&Bi(a.type)||a.tag===4}function Xp(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||U1(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&Bi(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Wp(a,s,l){var h=a.tag;if(h===5||h===6)a=a.stateNode,s?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(a,s):(s=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,s.appendChild(a),l=l._reactRootContainer,l!=null||s.onclick!==null||(s.onclick=Fa));else if(h!==4&&(h===27&&Bi(a.type)&&(l=a.stateNode,s=null),a=a.child,a!==null))for(Wp(a,s,l),a=a.sibling;a!==null;)Wp(a,s,l),a=a.sibling}function Kc(a,s,l){var h=a.tag;if(h===5||h===6)a=a.stateNode,s?l.insertBefore(a,s):l.appendChild(a);else if(h!==4&&(h===27&&Bi(a.type)&&(l=a.stateNode),a=a.child,a!==null))for(Kc(a,s,l),a=a.sibling;a!==null;)Kc(a,s,l),a=a.sibling}function $1(a){var s=a.stateNode,l=a.memoizedProps;try{for(var h=a.type,b=s.attributes;b.length;)s.removeAttributeNode(b[0]);jr(s,h,l),s[Ee]=a,s[Te]=l}catch(S){It(a,a.return,S)}}var Ja=!1,xr=!1,Kp=!1,H1=typeof WeakSet=="function"?WeakSet:Set,Mr=null;function WD(a,s){if(a=a.containerInfo,vm=vd,a=Jb(a),Fh(a)){if("selectionStart"in a)var l={start:a.selectionStart,end:a.selectionEnd};else e:{l=(l=a.ownerDocument)&&l.defaultView||window;var h=l.getSelection&&l.getSelection();if(h&&h.rangeCount!==0){l=h.anchorNode;var b=h.anchorOffset,S=h.focusNode;h=h.focusOffset;try{l.nodeType,S.nodeType}catch{l=null;break e}var N=0,V=-1,J=-1,le=0,he=0,ge=a,ue=null;t:for(;;){for(var ce;ge!==l||b!==0&&ge.nodeType!==3||(V=N+b),ge!==S||h!==0&&ge.nodeType!==3||(J=N+h),ge.nodeType===3&&(N+=ge.nodeValue.length),(ce=ge.firstChild)!==null;)ue=ge,ge=ce;for(;;){if(ge===a)break t;if(ue===l&&++le===b&&(V=N),ue===S&&++he===h&&(J=N),(ce=ge.nextSibling)!==null)break;ge=ue,ue=ge.parentNode}ge=ce}l=V===-1||J===-1?null:{start:V,end:J}}else l=null}l=l||{start:0,end:0}}else l=null;for(ym={focusedElem:a,selectionRange:l},vd=!1,Mr=s;Mr!==null;)if(s=Mr,a=s.child,(s.subtreeFlags&1028)!==0&&a!==null)a.return=s,Mr=a;else for(;Mr!==null;){switch(s=Mr,S=s.alternate,a=s.flags,s.tag){case 0:if((a&4)!==0&&(a=s.updateQueue,a=a!==null?a.events:null,a!==null))for(l=0;l<a.length;l++)b=a[l],b.ref.impl=b.nextImpl;break;case 11:case 15:break;case 1:if((a&1024)!==0&&S!==null){a=void 0,l=s,b=S.memoizedProps,S=S.memoizedState,h=l.stateNode;try{var De=xs(l.type,b);a=h.getSnapshotBeforeUpdate(De,S),h.__reactInternalSnapshotBeforeUpdate=a}catch(Fe){It(l,l.return,Fe)}}break;case 3:if((a&1024)!==0){if(a=s.stateNode.containerInfo,l=a.nodeType,l===9)Sm(a);else if(l===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Sm(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(n(163))}if(a=s.sibling,a!==null){a.return=s.return,Mr=a;break}Mr=s.return}}function B1(a,s,l){var h=l.flags;switch(l.tag){case 0:case 11:case 15:ti(a,l),h&4&&Bl(5,l);break;case 1:if(ti(a,l),h&4)if(a=l.stateNode,s===null)try{a.componentDidMount()}catch(N){It(l,l.return,N)}else{var b=xs(l.type,s.memoizedProps);s=s.memoizedState;try{a.componentDidUpdate(b,s,a.__reactInternalSnapshotBeforeUpdate)}catch(N){It(l,l.return,N)}}h&64&&z1(l),h&512&&Fl(l,l.return);break;case 3:if(ti(a,l),h&64&&(a=l.updateQueue,a!==null)){if(s=null,l.child!==null)switch(l.child.tag){case 27:case 5:s=l.child.stateNode;break;case 1:s=l.child.stateNode}try{Cw(a,s)}catch(N){It(l,l.return,N)}}break;case 27:s===null&&h&4&&$1(l);case 26:case 5:ti(a,l),s===null&&h&4&&I1(l),h&512&&Fl(l,l.return);break;case 12:ti(a,l);break;case 31:ti(a,l),h&4&&Y1(a,l);break;case 13:ti(a,l),h&4&&V1(a,l),h&64&&(a=l.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(l=ak.bind(null,l),_k(a,l))));break;case 22:if(h=l.memoizedState!==null||Ja,!h){s=s!==null&&s.memoizedState!==null||xr,b=Ja;var S=xr;Ja=h,(xr=s)&&!S?ri(a,l,(l.subtreeFlags&8772)!==0):ti(a,l),Ja=b,xr=S}break;case 30:break;default:ti(a,l)}}function F1(a){var s=a.alternate;s!==null&&(a.alternate=null,F1(s)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(s=a.stateNode,s!==null&&Et(s)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var tr=null,sn=!1;function ei(a,s,l){for(l=l.child;l!==null;)q1(a,s,l),l=l.sibling}function q1(a,s,l){if(Ut&&typeof Ut.onCommitFiberUnmount=="function")try{Ut.onCommitFiberUnmount(pr,l)}catch{}switch(l.tag){case 26:xr||wa(l,s),ei(a,s,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:xr||wa(l,s);var h=tr,b=sn;Bi(l.type)&&(tr=l.stateNode,sn=!1),ei(a,s,l),Zl(l.stateNode),tr=h,sn=b;break;case 5:xr||wa(l,s);case 6:if(h=tr,b=sn,tr=null,ei(a,s,l),tr=h,sn=b,tr!==null)if(sn)try{(tr.nodeType===9?tr.body:tr.nodeName==="HTML"?tr.ownerDocument.body:tr).removeChild(l.stateNode)}catch(S){It(l,s,S)}else try{tr.removeChild(l.stateNode)}catch(S){It(l,s,S)}break;case 18:tr!==null&&(sn?(a=tr,zS(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,l.stateNode),No(a)):zS(tr,l.stateNode));break;case 4:h=tr,b=sn,tr=l.stateNode.containerInfo,sn=!0,ei(a,s,l),tr=h,sn=b;break;case 0:case 11:case 14:case 15:Pi(2,l,s),xr||Pi(4,l,s),ei(a,s,l);break;case 1:xr||(wa(l,s),h=l.stateNode,typeof h.componentWillUnmount=="function"&&j1(l,s,h)),ei(a,s,l);break;case 21:ei(a,s,l);break;case 22:xr=(h=xr)||l.memoizedState!==null,ei(a,s,l),xr=h;break;default:ei(a,s,l)}}function Y1(a,s){if(s.memoizedState===null&&(a=s.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{No(a)}catch(l){It(s,s.return,l)}}}function V1(a,s){if(s.memoizedState===null&&(a=s.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{No(a)}catch(l){It(s,s.return,l)}}function KD(a){switch(a.tag){case 31:case 13:case 19:var s=a.stateNode;return s===null&&(s=a.stateNode=new H1),s;case 22:return a=a.stateNode,s=a._retryCache,s===null&&(s=a._retryCache=new H1),s;default:throw Error(n(435,a.tag))}}function Qc(a,s){var l=KD(a);s.forEach(function(h){if(!l.has(h)){l.add(h);var b=ik.bind(null,a,h);h.then(b,b)}})}function on(a,s){var l=s.deletions;if(l!==null)for(var h=0;h<l.length;h++){var b=l[h],S=a,N=s,V=N;e:for(;V!==null;){switch(V.tag){case 27:if(Bi(V.type)){tr=V.stateNode,sn=!1;break e}break;case 5:tr=V.stateNode,sn=!1;break e;case 3:case 4:tr=V.stateNode.containerInfo,sn=!0;break e}V=V.return}if(tr===null)throw Error(n(160));q1(S,N,b),tr=null,sn=!1,S=b.alternate,S!==null&&(S.return=null),b.return=null}if(s.subtreeFlags&13886)for(s=s.child;s!==null;)G1(s,a),s=s.sibling}var sa=null;function G1(a,s){var l=a.alternate,h=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:on(s,a),ln(a),h&4&&(Pi(3,a,a.return),Bl(3,a),Pi(5,a,a.return));break;case 1:on(s,a),ln(a),h&512&&(xr||l===null||wa(l,l.return)),h&64&&Ja&&(a=a.updateQueue,a!==null&&(h=a.callbacks,h!==null&&(l=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=l===null?h:l.concat(h))));break;case 26:var b=sa;if(on(s,a),ln(a),h&512&&(xr||l===null||wa(l,l.return)),h&4){var S=l!==null?l.memoizedState:null;if(h=a.memoizedState,l===null)if(h===null)if(a.stateNode===null){e:{h=a.type,l=a.memoizedProps,b=b.ownerDocument||b;t:switch(h){case"title":S=b.getElementsByTagName("title")[0],(!S||S[it]||S[Ee]||S.namespaceURI==="http://www.w3.org/2000/svg"||S.hasAttribute("itemprop"))&&(S=b.createElement(h),b.head.insertBefore(S,b.querySelector("head > title"))),jr(S,h,l),S[Ee]=a,St(S),h=S;break e;case"link":var N=GS("link","href",b).get(h+(l.href||""));if(N){for(var V=0;V<N.length;V++)if(S=N[V],S.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&S.getAttribute("rel")===(l.rel==null?null:l.rel)&&S.getAttribute("title")===(l.title==null?null:l.title)&&S.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){N.splice(V,1);break t}}S=b.createElement(h),jr(S,h,l),b.head.appendChild(S);break;case"meta":if(N=GS("meta","content",b).get(h+(l.content||""))){for(V=0;V<N.length;V++)if(S=N[V],S.getAttribute("content")===(l.content==null?null:""+l.content)&&S.getAttribute("name")===(l.name==null?null:l.name)&&S.getAttribute("property")===(l.property==null?null:l.property)&&S.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&S.getAttribute("charset")===(l.charSet==null?null:l.charSet)){N.splice(V,1);break t}}S=b.createElement(h),jr(S,h,l),b.head.appendChild(S);break;default:throw Error(n(468,h))}S[Ee]=a,St(S),h=S}a.stateNode=h}else XS(b,a.type,a.stateNode);else a.stateNode=VS(b,h,a.memoizedProps);else S!==h?(S===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):S.count--,h===null?XS(b,a.type,a.stateNode):VS(b,h,a.memoizedProps)):h===null&&a.stateNode!==null&&Gp(a,a.memoizedProps,l.memoizedProps)}break;case 27:on(s,a),ln(a),h&512&&(xr||l===null||wa(l,l.return)),l!==null&&h&4&&Gp(a,a.memoizedProps,l.memoizedProps);break;case 5:if(on(s,a),ln(a),h&512&&(xr||l===null||wa(l,l.return)),a.flags&32){b=a.stateNode;try{ro(b,"")}catch(De){It(a,a.return,De)}}h&4&&a.stateNode!=null&&(b=a.memoizedProps,Gp(a,b,l!==null?l.memoizedProps:b)),h&1024&&(Kp=!0);break;case 6:if(on(s,a),ln(a),h&4){if(a.stateNode===null)throw Error(n(162));h=a.memoizedProps,l=a.stateNode;try{l.nodeValue=h}catch(De){It(a,a.return,De)}}break;case 3:if(hd=null,b=sa,sa=dd(s.containerInfo),on(s,a),sa=b,ln(a),h&4&&l!==null&&l.memoizedState.isDehydrated)try{No(s.containerInfo)}catch(De){It(a,a.return,De)}Kp&&(Kp=!1,X1(a));break;case 4:h=sa,sa=dd(a.stateNode.containerInfo),on(s,a),ln(a),sa=h;break;case 12:on(s,a),ln(a);break;case 31:on(s,a),ln(a),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,Qc(a,h)));break;case 13:on(s,a),ln(a),a.child.flags&8192&&a.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Jc=Ve()),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,Qc(a,h)));break;case 22:b=a.memoizedState!==null;var J=l!==null&&l.memoizedState!==null,le=Ja,he=xr;if(Ja=le||b,xr=he||J,on(s,a),xr=he,Ja=le,ln(a),h&8192)e:for(s=a.stateNode,s._visibility=b?s._visibility&-2:s._visibility|1,b&&(l===null||J||Ja||xr||_s(a)),l=null,s=a;;){if(s.tag===5||s.tag===26){if(l===null){J=l=s;try{if(S=J.stateNode,b)N=S.style,typeof N.setProperty=="function"?N.setProperty("display","none","important"):N.display="none";else{V=J.stateNode;var ge=J.memoizedProps.style,ue=ge!=null&&ge.hasOwnProperty("display")?ge.display:null;V.style.display=ue==null||typeof ue=="boolean"?"":(""+ue).trim()}}catch(De){It(J,J.return,De)}}}else if(s.tag===6){if(l===null){J=s;try{J.stateNode.nodeValue=b?"":J.memoizedProps}catch(De){It(J,J.return,De)}}}else if(s.tag===18){if(l===null){J=s;try{var ce=J.stateNode;b?jS(ce,!0):jS(J.stateNode,!1)}catch(De){It(J,J.return,De)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===a)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break e;for(;s.sibling===null;){if(s.return===null||s.return===a)break e;l===s&&(l=null),s=s.return}l===s&&(l=null),s.sibling.return=s.return,s=s.sibling}h&4&&(h=a.updateQueue,h!==null&&(l=h.retryQueue,l!==null&&(h.retryQueue=null,Qc(a,l))));break;case 19:on(s,a),ln(a),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,Qc(a,h)));break;case 30:break;case 21:break;default:on(s,a),ln(a)}}function ln(a){var s=a.flags;if(s&2){try{for(var l,h=a.return;h!==null;){if(U1(h)){l=h;break}h=h.return}if(l==null)throw Error(n(160));switch(l.tag){case 27:var b=l.stateNode,S=Xp(a);Kc(a,S,b);break;case 5:var N=l.stateNode;l.flags&32&&(ro(N,""),l.flags&=-33);var V=Xp(a);Kc(a,V,N);break;case 3:case 4:var J=l.stateNode.containerInfo,le=Xp(a);Wp(a,le,J);break;default:throw Error(n(161))}}catch(he){It(a,a.return,he)}a.flags&=-3}s&4096&&(a.flags&=-4097)}function X1(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var s=a;X1(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),a=a.sibling}}function ti(a,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)B1(a,s.alternate,s),s=s.sibling}function _s(a){for(a=a.child;a!==null;){var s=a;switch(s.tag){case 0:case 11:case 14:case 15:Pi(4,s,s.return),_s(s);break;case 1:wa(s,s.return);var l=s.stateNode;typeof l.componentWillUnmount=="function"&&j1(s,s.return,l),_s(s);break;case 27:Zl(s.stateNode);case 26:case 5:wa(s,s.return),_s(s);break;case 22:s.memoizedState===null&&_s(s);break;case 30:_s(s);break;default:_s(s)}a=a.sibling}}function ri(a,s,l){for(l=l&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var h=s.alternate,b=a,S=s,N=S.flags;switch(S.tag){case 0:case 11:case 15:ri(b,S,l),Bl(4,S);break;case 1:if(ri(b,S,l),h=S,b=h.stateNode,typeof b.componentDidMount=="function")try{b.componentDidMount()}catch(le){It(h,h.return,le)}if(h=S,b=h.updateQueue,b!==null){var V=h.stateNode;try{var J=b.shared.hiddenCallbacks;if(J!==null)for(b.shared.hiddenCallbacks=null,b=0;b<J.length;b++)Tw(J[b],V)}catch(le){It(h,h.return,le)}}l&&N&64&&z1(S),Fl(S,S.return);break;case 27:$1(S);case 26:case 5:ri(b,S,l),l&&h===null&&N&4&&I1(S),Fl(S,S.return);break;case 12:ri(b,S,l);break;case 31:ri(b,S,l),l&&N&4&&Y1(b,S);break;case 13:ri(b,S,l),l&&N&4&&V1(b,S);break;case 22:S.memoizedState===null&&ri(b,S,l),Fl(S,S.return);break;case 30:break;default:ri(b,S,l)}s=s.sibling}}function Qp(a,s){var l=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),a=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(a=s.memoizedState.cachePool.pool),a!==l&&(a!=null&&a.refCount++,l!=null&&Ol(l))}function Zp(a,s){a=null,s.alternate!==null&&(a=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==a&&(s.refCount++,a!=null&&Ol(a))}function oa(a,s,l,h){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)W1(a,s,l,h),s=s.sibling}function W1(a,s,l,h){var b=s.flags;switch(s.tag){case 0:case 11:case 15:oa(a,s,l,h),b&2048&&Bl(9,s);break;case 1:oa(a,s,l,h);break;case 3:oa(a,s,l,h),b&2048&&(a=null,s.alternate!==null&&(a=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==a&&(s.refCount++,a!=null&&Ol(a)));break;case 12:if(b&2048){oa(a,s,l,h),a=s.stateNode;try{var S=s.memoizedProps,N=S.id,V=S.onPostCommit;typeof V=="function"&&V(N,s.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(J){It(s,s.return,J)}}else oa(a,s,l,h);break;case 31:oa(a,s,l,h);break;case 13:oa(a,s,l,h);break;case 23:break;case 22:S=s.stateNode,N=s.alternate,s.memoizedState!==null?S._visibility&2?oa(a,s,l,h):ql(a,s):S._visibility&2?oa(a,s,l,h):(S._visibility|=2,xo(a,s,l,h,(s.subtreeFlags&10256)!==0||!1)),b&2048&&Qp(N,s);break;case 24:oa(a,s,l,h),b&2048&&Zp(s.alternate,s);break;default:oa(a,s,l,h)}}function xo(a,s,l,h,b){for(b=b&&((s.subtreeFlags&10256)!==0||!1),s=s.child;s!==null;){var S=a,N=s,V=l,J=h,le=N.flags;switch(N.tag){case 0:case 11:case 15:xo(S,N,V,J,b),Bl(8,N);break;case 23:break;case 22:var he=N.stateNode;N.memoizedState!==null?he._visibility&2?xo(S,N,V,J,b):ql(S,N):(he._visibility|=2,xo(S,N,V,J,b)),b&&le&2048&&Qp(N.alternate,N);break;case 24:xo(S,N,V,J,b),b&&le&2048&&Zp(N.alternate,N);break;default:xo(S,N,V,J,b)}s=s.sibling}}function ql(a,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var l=a,h=s,b=h.flags;switch(h.tag){case 22:ql(l,h),b&2048&&Qp(h.alternate,h);break;case 24:ql(l,h),b&2048&&Zp(h.alternate,h);break;default:ql(l,h)}s=s.sibling}}var Yl=8192;function _o(a,s,l){if(a.subtreeFlags&Yl)for(a=a.child;a!==null;)K1(a,s,l),a=a.sibling}function K1(a,s,l){switch(a.tag){case 26:_o(a,s,l),a.flags&Yl&&a.memoizedState!==null&&zk(l,sa,a.memoizedState,a.memoizedProps);break;case 5:_o(a,s,l);break;case 3:case 4:var h=sa;sa=dd(a.stateNode.containerInfo),_o(a,s,l),sa=h;break;case 22:a.memoizedState===null&&(h=a.alternate,h!==null&&h.memoizedState!==null?(h=Yl,Yl=16777216,_o(a,s,l),Yl=h):_o(a,s,l));break;default:_o(a,s,l)}}function Q1(a){var s=a.alternate;if(s!==null&&(a=s.child,a!==null)){s.child=null;do s=a.sibling,a.sibling=null,a=s;while(a!==null)}}function Vl(a){var s=a.deletions;if((a.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var h=s[l];Mr=h,J1(h,a)}Q1(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Z1(a),a=a.sibling}function Z1(a){switch(a.tag){case 0:case 11:case 15:Vl(a),a.flags&2048&&Pi(9,a,a.return);break;case 3:Vl(a);break;case 12:Vl(a);break;case 22:var s=a.stateNode;a.memoizedState!==null&&s._visibility&2&&(a.return===null||a.return.tag!==13)?(s._visibility&=-3,Zc(a)):Vl(a);break;default:Vl(a)}}function Zc(a){var s=a.deletions;if((a.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var h=s[l];Mr=h,J1(h,a)}Q1(a)}for(a=a.child;a!==null;){switch(s=a,s.tag){case 0:case 11:case 15:Pi(8,s,s.return),Zc(s);break;case 22:l=s.stateNode,l._visibility&2&&(l._visibility&=-3,Zc(s));break;default:Zc(s)}a=a.sibling}}function J1(a,s){for(;Mr!==null;){var l=Mr;switch(l.tag){case 0:case 11:case 15:Pi(8,l,s);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var h=l.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:Ol(l.memoizedState.cache)}if(h=l.child,h!==null)h.return=l,Mr=h;else e:for(l=a;Mr!==null;){h=Mr;var b=h.sibling,S=h.return;if(F1(h),h===l){Mr=null;break e}if(b!==null){b.return=S,Mr=b;break e}Mr=S}}}var QD={getCacheForType:function(a){var s=Pr(wr),l=s.data.get(a);return l===void 0&&(l=a(),s.data.set(a,l)),l},cacheSignal:function(){return Pr(wr).controller.signal}},ZD=typeof WeakMap=="function"?WeakMap:Map,Ot=0,Gt=null,st=null,ut=0,jt=0,Tn=null,zi=!1,To=!1,Jp=!1,ni=0,dr=0,ji=0,Ts=0,em=0,Cn=0,Co=0,Gl=null,un=null,tm=!1,Jc=0,eS=0,ed=1/0,td=null,Ii=null,Cr=0,Ui=null,Ro=null,ai=0,rm=0,nm=null,tS=null,Xl=0,am=null;function Rn(){return(Ot&2)!==0&&ut!==0?ut&-ut:R.T!==null?cm():ve()}function rS(){if(Cn===0)if((ut&536870912)===0||mt){var a=bn;bn<<=1,(bn&3932160)===0&&(bn=262144),Cn=a}else Cn=536870912;return a=xn.current,a!==null&&(a.flags|=32),Cn}function cn(a,s,l){(a===Gt&&(jt===2||jt===9)||a.cancelPendingCommit!==null)&&(Ao(a,0),$i(a,ut,Cn,!1)),$t(a,l),((Ot&2)===0||a!==Gt)&&(a===Gt&&((Ot&2)===0&&(Ts|=l),dr===4&&$i(a,ut,Cn,!1)),Sa(a))}function nS(a,s,l){if((Ot&6)!==0)throw Error(n(327));var h=!l&&(s&127)===0&&(s&a.expiredLanes)===0||bt(a,s),b=h?tk(a,s):sm(a,s,!0),S=h;do{if(b===0){To&&!h&&$i(a,s,0,!1);break}else{if(l=a.current.alternate,S&&!JD(l)){b=sm(a,s,!1),S=!1;continue}if(b===2){if(S=s,a.errorRecoveryDisabledLanes&S)var N=0;else N=a.pendingLanes&-536870913,N=N!==0?N:N&536870912?536870912:0;if(N!==0){s=N;e:{var V=a;b=Gl;var J=V.current.memoizedState.isDehydrated;if(J&&(Ao(V,N).flags|=256),N=sm(V,N,!1),N!==2){if(Jp&&!J){V.errorRecoveryDisabledLanes|=S,Ts|=S,b=4;break e}S=un,un=b,S!==null&&(un===null?un=S:un.push.apply(un,S))}b=N}if(S=!1,b!==2)continue}}if(b===1){Ao(a,0),$i(a,s,0,!0);break}e:{switch(h=a,S=b,S){case 0:case 1:throw Error(n(345));case 4:if((s&4194048)!==s)break;case 6:$i(h,s,Cn,!zi);break e;case 2:un=null;break;case 3:case 5:break;default:throw Error(n(329))}if((s&62914560)===s&&(b=Jc+300-Ve(),10<b)){if($i(h,s,Cn,!zi),ze(h,0,!0)!==0)break e;ai=s,h.timeoutHandle=NS(aS.bind(null,h,l,un,td,tm,s,Cn,Ts,Co,zi,S,"Throttled",-0,0),b);break e}aS(h,l,un,td,tm,s,Cn,Ts,Co,zi,S,null,-0,0)}}break}while(!0);Sa(a)}function aS(a,s,l,h,b,S,N,V,J,le,he,ge,ue,ce){if(a.timeoutHandle=-1,ge=s.subtreeFlags,ge&8192||(ge&16785408)===16785408){ge={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:
vendor: 12,899 bytes, line 9
9Fa},K1(s,S,ge);var De=(S&62914560)===S?Jc-Ve():(S&4194048)===S?eS-Ve():0;if(De=jk(ge,De),De!==null){ai=S,a.cancelPendingCommit=De(fS.bind(null,a,s,S,l,h,b,N,V,J,he,ge,null,ue,ce)),$i(a,S,N,!le);return}}fS(a,s,S,l,h,b,N,V,J)}function JD(a){for(var s=a;;){var l=s.tag;if((l===0||l===11||l===15)&&s.flags&16384&&(l=s.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var h=0;h<l.length;h++){var b=l[h],S=b.getSnapshot;b=b.value;try{if(!Sn(S(),b))return!1}catch{return!1}}if(l=s.child,s.subtreeFlags&16384&&l!==null)l.return=s,s=l;else{if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function $i(a,s,l,h){s&=~em,s&=~Ts,a.suspendedLanes|=s,a.pingedLanes&=~s,h&&(a.warmLanes|=s),h=a.expirationTimes;for(var b=s;0<b;){var S=31-or(b),N=1<<S;h[S]=-1,b&=~N}l!==0&&Ua(a,l,s)}function rd(){return(Ot&6)===0?(Wl(0),!1):!0}function im(){if(st!==null){if(jt===0)var a=st.return;else a=st,Ga=gs=null,Sp(a),yo=null,Dl=0,a=st;for(;a!==null;)P1(a.alternate,a),a=a.return;st=null}}function Ao(a,s){var l=a.timeoutHandle;l!==-1&&(a.timeoutHandle=-1,bk(l)),l=a.cancelPendingCommit,l!==null&&(a.cancelPendingCommit=null,l()),ai=0,im(),Gt=a,st=l=Ya(a.current,null),ut=s,jt=0,Tn=null,zi=!1,To=bt(a,s),Jp=!1,Co=Cn=em=Ts=ji=dr=0,un=Gl=null,tm=!1,(s&8)!==0&&(s|=s&32);var h=a.entangledLanes;if(h!==0)for(a=a.entanglements,h&=s;0<h;){var b=31-or(h),S=1<<b;s|=a[b],h&=~S}return ni=s,xc(),l}function iS(a,s){Ze=null,R.H=Ul,s===vo||s===Dc?(s=Sw(),jt=3):s===up?(s=Sw(),jt=4):jt=s===jp?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,Tn=s,st===null&&(dr=1,Yc(a,In(s,a.current)))}function sS(){var a=xn.current;return a===null?!0:(ut&4194048)===ut?Bn===null:(ut&62914560)===ut||(ut&536870912)!==0?a===Bn:!1}function oS(){var a=R.H;return R.H=Ul,a===null?Ul:a}function lS(){var a=R.A;return R.A=QD,a}function nd(){dr=4,zi||(ut&4194048)!==ut&&xn.current!==null||(To=!0),(ji&134217727)===0&&(Ts&134217727)===0||Gt===null||$i(Gt,ut,Cn,!1)}function sm(a,s,l){var h=Ot;Ot|=2;var b=oS(),S=lS();(Gt!==a||ut!==s)&&(td=null,Ao(a,s)),s=!1;var N=dr;e:do try{if(jt!==0&&st!==null){var V=st,J=Tn;switch(jt){case 8:im(),N=6;break e;case 3:case 2:case 9:case 6:xn.current===null&&(s=!0);var le=jt;if(jt=0,Tn=null,Oo(a,V,J,le),l&&To){N=0;break e}break;default:le=jt,jt=0,Tn=null,Oo(a,V,J,le)}}ek(),N=dr;break}catch(he){iS(a,he)}while(!0);return s&&a.shellSuspendCounter++,Ga=gs=null,Ot=h,R.H=b,R.A=S,st===null&&(Gt=null,ut=0,xc()),N}function ek(){for(;st!==null;)uS(st)}function tk(a,s){var l=Ot;Ot|=2;var h=oS(),b=lS();Gt!==a||ut!==s?(td=null,ed=Ve()+500,Ao(a,s)):To=bt(a,s);e:do try{if(jt!==0&&st!==null){s=st;var S=Tn;t:switch(jt){case 1:jt=0,Tn=null,Oo(a,s,S,1);break;case 2:case 9:if(bw(S)){jt=0,Tn=null,cS(s);break}s=function(){jt!==2&&jt!==9||Gt!==a||(jt=7),Sa(a)},S.then(s,s);break e;case 3:jt=7;break e;case 4:jt=5;break e;case 7:bw(S)?(jt=0,Tn=null,cS(s)):(jt=0,Tn=null,Oo(a,s,S,7));break;case 5:var N=null;switch(st.tag){case 26:N=st.memoizedState;case 5:case 27:var V=st;if(N?WS(N):V.stateNode.complete){jt=0,Tn=null;var J=V.sibling;if(J!==null)st=J;else{var le=V.return;le!==null?(st=le,ad(le)):st=null}break t}}jt=0,Tn=null,Oo(a,s,S,5);break;case 6:jt=0,Tn=null,Oo(a,s,S,6);break;case 8:im(),dr=6;break e;default:throw Error(n(462))}}rk();break}catch(he){iS(a,he)}while(!0);return Ga=gs=null,R.H=h,R.A=b,Ot=l,st!==null?0:(Gt=null,ut=0,xc(),dr)}function rk(){for(;st!==null&&!ft();)uS(st)}function uS(a){var s=L1(a.alternate,a,ni);a.memoizedProps=a.pendingProps,s===null?ad(a):st=s}function cS(a){var s=a,l=s.alternate;switch(s.tag){case 15:case 0:s=R1(l,s,s.pendingProps,s.type,void 0,ut);break;case 11:s=R1(l,s,s.pendingProps,s.type.render,s.ref,ut);break;case 5:Sp(s);default:P1(l,s),s=st=lw(s,ni),s=L1(l,s,ni)}a.memoizedProps=a.pendingProps,s===null?ad(a):st=s}function Oo(a,s,l,h){Ga=gs=null,Sp(s),yo=null,Dl=0;var b=s.return;try{if(qD(a,b,s,l,ut)){dr=1,Yc(a,In(l,a.current)),st=null;return}}catch(S){if(b!==null)throw st=b,S;dr=1,Yc(a,In(l,a.current)),st=null;return}s.flags&32768?(mt||h===1?a=!0:To||(ut&536870912)!==0?a=!1:(zi=a=!0,(h===2||h===9||h===3||h===6)&&(h=xn.current,h!==null&&h.tag===13&&(h.flags|=16384))),dS(s,a)):ad(s)}function ad(a){var s=a;do{if((s.flags&32768)!==0){dS(s,zi);return}a=s.return;var l=GD(s.alternate,s,ni);if(l!==null){st=l;return}if(s=s.sibling,s!==null){st=s;return}st=s=a}while(s!==null);dr===0&&(dr=5)}function dS(a,s){do{var l=XD(a.alternate,a);if(l!==null){l.flags&=32767,st=l;return}if(l=a.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!s&&(a=a.sibling,a!==null)){st=a;return}st=a=l}while(a!==null);dr=6,st=null}function fS(a,s,l,h,b,S,N,V,J){a.cancelPendingCommit=null;do id();while(Cr!==0);if((Ot&6)!==0)throw Error(n(327));if(s!==null){if(s===a.current)throw Error(n(177));if(S=s.lanes|s.childLanes,S|=Xh,Lr(a,l,S,N,V,J),a===Gt&&(st=Gt=null,ut=0),Ro=s,Ui=a,ai=l,rm=S,nm=b,tS=h,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,sk(At,function(){return vS(),null})):(a.callbackNode=null,a.callbackPriority=0),h=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||h){h=R.T,R.T=null,b=A.p,A.p=2,N=Ot,Ot|=4;try{WD(a,s,l)}finally{Ot=N,A.p=b,R.T=h}}Cr=1,hS(),pS(),mS()}}function hS(){if(Cr===1){Cr=0;var a=Ui,s=Ro,l=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||l){l=R.T,R.T=null;var h=A.p;A.p=2;var b=Ot;Ot|=4;try{G1(s,a);var S=ym,N=Jb(a.containerInfo),V=S.focusedElem,J=S.selectionRange;if(N!==V&&V&&V.ownerDocument&&Zb(V.ownerDocument.documentElement,V)){if(J!==null&&Fh(V)){var le=J.start,he=J.end;if(he===void 0&&(he=le),"selectionStart"in V)V.selectionStart=le,V.selectionEnd=Math.min(he,V.value.length);else{var ge=V.ownerDocument||document,ue=ge&&ge.defaultView||window;if(ue.getSelection){var ce=ue.getSelection(),De=V.textContent.length,Fe=Math.min(J.start,De),Ft=J.end===void 0?Fe:Math.min(J.end,De);!ce.extend&&Fe>Ft&&(N=Ft,Ft=Fe,Fe=N);var ne=Qb(V,Fe),ee=Qb(V,Ft);if(ne&&ee&&(ce.rangeCount!==1||ce.anchorNode!==ne.node||ce.anchorOffset!==ne.offset||ce.focusNode!==ee.node||ce.focusOffset!==ee.offset)){var oe=ge.createRange();oe.setStart(ne.node,ne.offset),ce.removeAllRanges(),Fe>Ft?(ce.addRange(oe),ce.extend(ee.node,ee.offset)):(oe.setEnd(ee.node,ee.offset),ce.addRange(oe))}}}}for(ge=[],ce=V;ce=ce.parentNode;)ce.nodeType===1&&ge.push({element:ce,left:ce.scrollLeft,top:ce.scrollTop});for(typeof V.focus=="function"&&V.focus(),V=0;V<ge.length;V++){var me=ge[V];me.element.scrollLeft=me.left,me.element.scrollTop=me.top}}vd=!!vm,ym=vm=null}finally{Ot=b,A.p=h,R.T=l}}a.current=s,Cr=2}}function pS(){if(Cr===2){Cr=0;var a=Ui,s=Ro,l=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||l){l=R.T,R.T=null;var h=A.p;A.p=2;var b=Ot;Ot|=4;try{B1(a,s.alternate,s)}finally{Ot=b,A.p=h,R.T=l}}Cr=3}}function mS(){if(Cr===4||Cr===3){Cr=0,ht();var a=Ui,s=Ro,l=ai,h=tS;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?Cr=5:(Cr=0,Ro=Ui=null,gS(a,a.pendingLanes));var b=a.pendingLanes;if(b===0&&(Ii=null),se(l),s=s.stateNode,Ut&&typeof Ut.onCommitFiberRoot=="function")try{Ut.onCommitFiberRoot(pr,s,void 0,(s.current.flags&128)===128)}catch{}if(h!==null){s=R.T,b=A.p,A.p=2,R.T=null;try{for(var S=a.onRecoverableError,N=0;N<h.length;N++){var V=h[N];S(V.value,{componentStack:V.stack})}}finally{R.T=s,A.p=b}}(ai&3)!==0&&id(),Sa(a),b=a.pendingLanes,(l&261930)!==0&&(b&42)!==0?a===am?Xl++:(Xl=0,am=a):Xl=0,Wl(0)}}function gS(a,s){(a.pooledCacheLanes&=s)===0&&(s=a.pooledCache,s!=null&&(a.pooledCache=null,Ol(s)))}function id(){return hS(),pS(),mS(),vS()}function vS(){if(Cr!==5)return!1;var a=Ui,s=rm;rm=0;var l=se(ai),h=R.T,b=A.p;try{A.p=32>l?32:l,R.T=null,l=nm,nm=null;var S=Ui,N=ai;if(Cr=0,Ro=Ui=null,ai=0,(Ot&6)!==0)throw Error(n(331));var V=Ot;if(Ot|=4,Z1(S.current),W1(S,S.current,N,l),Ot=V,Wl(0,!1),Ut&&typeof Ut.onPostCommitFiberRoot=="function")try{Ut.onPostCommitFiberRoot(pr,S)}catch{}return!0}finally{A.p=b,R.T=h,gS(a,s)}}function yS(a,s,l){s=In(l,s),s=zp(a.stateNode,s,2),a=ki(a,s,2),a!==null&&($t(a,2),Sa(a))}function It(a,s,l){if(a.tag===3)yS(a,a,l);else for(;s!==null;){if(s.tag===3){yS(s,a,l);break}else if(s.tag===1){var h=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(Ii===null||!Ii.has(h))){a=In(l,a),l=b1(2),h=ki(s,l,2),h!==null&&(w1(l,h,s,a),$t(h,2),Sa(h));break}}s=s.return}}function om(a,s,l){var h=a.pingCache;if(h===null){h=a.pingCache=new ZD;var b=new Set;h.set(s,b)}else b=h.get(s),b===void 0&&(b=new Set,h.set(s,b));b.has(l)||(Jp=!0,b.add(l),a=nk.bind(null,a,s,l),s.then(a,a))}function nk(a,s,l){var h=a.pingCache;h!==null&&h.delete(s),a.pingedLanes|=a.suspendedLanes&l,a.warmLanes&=~l,Gt===a&&(ut&l)===l&&(dr===4||dr===3&&(ut&62914560)===ut&&300>Ve()-Jc?(Ot&2)===0&&Ao(a,0):em|=l,Co===ut&&(Co=0)),Sa(a)}function bS(a,s){s===0&&(s=Yt()),a=hs(a,s),a!==null&&($t(a,s),Sa(a))}function ak(a){var s=a.memoizedState,l=0;s!==null&&(l=s.retryLane),bS(a,l)}function ik(a,s){var l=0;switch(a.tag){case 31:case 13:var h=a.stateNode,b=a.memoizedState;b!==null&&(l=b.retryLane);break;case 19:h=a.stateNode;break;case 22:h=a.stateNode._retryCache;break;default:throw Error(n(314))}h!==null&&h.delete(s),bS(a,l)}function sk(a,s){return kt(a,s)}var sd=null,Mo=null,lm=!1,od=!1,um=!1,Hi=0;function Sa(a){a!==Mo&&a.next===null&&(Mo===null?sd=Mo=a:Mo=Mo.next=a),od=!0,lm||(lm=!0,lk())}function Wl(a,s){if(!um&&od){um=!0;do for(var l=!1,h=sd;h!==null;){if(a!==0){var b=h.pendingLanes;if(b===0)var S=0;else{var N=h.suspendedLanes,V=h.pingedLanes;S=(1<<31-or(42|a)+1)-1,S&=b&~(N&~V),S=S&201326741?S&201326741|1:S?S|2:0}S!==0&&(l=!0,xS(h,S))}else S=ut,S=ze(h,h===Gt?S:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(S&3)===0||bt(h,S)||(l=!0,xS(h,S));h=h.next}while(l);um=!1}}function ok(){wS()}function wS(){od=lm=!1;var a=0;Hi!==0&&yk()&&(a=Hi);for(var s=Ve(),l=null,h=sd;h!==null;){var b=h.next,S=SS(h,s);S===0?(h.next=null,l===null?sd=b:l.next=b,b===null&&(Mo=l)):(l=h,(a!==0||(S&3)!==0)&&(od=!0)),h=b}Cr!==0&&Cr!==5||Wl(a),Hi!==0&&(Hi=0)}function SS(a,s){for(var l=a.suspendedLanes,h=a.pingedLanes,b=a.expirationTimes,S=a.pendingLanes&-62914561;0<S;){var N=31-or(S),V=1<<N,J=b[N];J===-1?((V&l)===0||(V&h)!==0)&&(b[N]=ur(V,s)):J<=s&&(a.expiredLanes|=V),S&=~V}if(s=Gt,l=ut,l=ze(a,a===s?l:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),h=a.callbackNode,l===0||a===s&&(jt===2||jt===9)||a.cancelPendingCommit!==null)return h!==null&&h!==null&&yt(h),a.callbackNode=null,a.callbackPriority=0;if((l&3)===0||bt(a,l)){if(s=l&-l,s===a.callbackPriority)return s;switch(h!==null&&yt(h),se(l)){case 2:case 8:l=_r;break;case 32:l=At;break;case 268435456:l=pt;break;default:l=At}return h=ES.bind(null,a),l=kt(l,h),a.callbackPriority=s,a.callbackNode=l,s}return h!==null&&h!==null&&yt(h),a.callbackPriority=2,a.callbackNode=null,2}function ES(a,s){if(Cr!==0&&Cr!==5)return a.callbackNode=null,a.callbackPriority=0,null;var l=a.callbackNode;if(id()&&a.callbackNode!==l)return null;var h=ut;return h=ze(a,a===Gt?h:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),h===0?null:(nS(a,h,s),SS(a,Ve()),a.callbackNode!=null&&a.callbackNode===l?ES.bind(null,a):null)}function xS(a,s){if(id())return null;nS(a,s,!0)}function lk(){wk(function(){(Ot&6)!==0?kt(Wt,ok):wS()})}function cm(){if(Hi===0){var a=mo;a===0&&(a=Xr,Xr<<=1,(Xr&261888)===0&&(Xr=256)),Hi=a}return Hi}function _S(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:mc(""+a)}function TS(a,s){var l=s.ownerDocument.createElement("input");return l.name=s.name,l.value=s.value,a.id&&l.setAttribute("form",a.id),s.parentNode.insertBefore(l,s),a=new FormData(a),l.parentNode.removeChild(l),a}function uk(a,s,l,h,b){if(s==="submit"&&l&&l.stateNode===b){var S=_S((b[Te]||null).action),N=h.submitter;N&&(s=(s=N[Te]||null)?_S(s.formAction):N.getAttribute("formAction"),s!==null&&(S=s,N=null));var V=new bc("action","action",null,h,b);a.push({event:V,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(Hi!==0){var J=N?TS(b,N):new FormData(b);Mp(l,{pending:!0,data:J,method:b.method,action:S},null,J)}}else typeof S=="function"&&(V.preventDefault(),J=N?TS(b,N):new FormData(b),Mp(l,{pending:!0,data:J,method:b.method,action:S},S,J))},currentTarget:b}]})}}for(var dm=0;dm<Gh.length;dm++){var fm=Gh[dm],ck=fm.toLowerCase(),dk=fm[0].toUpperCase()+fm.slice(1);ia(ck,"on"+dk)}ia(rw,"onAnimationEnd"),ia(nw,"onAnimationIteration"),ia(aw,"onAnimationStart"),ia("dblclick","onDoubleClick"),ia("focusin","onFocus"),ia("focusout","onBlur"),ia(RD,"onTransitionRun"),ia(AD,"onTransitionStart"),ia(OD,"onTransitionCancel"),ia(iw,"onTransitionEnd"),Wr("onMouseEnter",["mouseout","mouseover"]),Wr("onMouseLeave",["mouseout","mouseover"]),Wr("onPointerEnter",["pointerout","pointerover"]),Wr("onPointerLeave",["pointerout","pointerover"]),nn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),nn("onSelect","focusout contextmenu dragend focu
9sin keydown keyup mousedown mouseup selectionchange".split(" ")),nn("onBeforeInput",["compositionend","keypress","textInput","paste"]),nn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),nn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),nn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kl="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(" "),fk=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Kl));function CS(a,s){s=(s&4)!==0;for(var l=0;l<a.length;l++){var h=a[l],b=h.event;h=h.listeners;e:{var S=void 0;if(s)for(var N=h.length-1;0<=N;N--){var V=h[N],J=V.instance,le=V.currentTarget;if(V=V.listener,J!==S&&b.isPropagationStopped())break e;S=V,b.currentTarget=le;try{S(b)}catch(he){Ec(he)}b.currentTarget=null,S=J}else for(N=0;N<h.length;N++){if(V=h[N],J=V.instance,le=V.currentTarget,V=V.listener,J!==S&&b.isPropagationStopped())break e;S=V,b.currentTarget=le;try{S(b)}catch(he){Ec(he)}b.currentTarget=null,S=J}}}}function ot(a,s){var l=s[$e];l===void 0&&(l=s[$e]=new Set);var h=a+"__bubble";l.has(h)||(RS(s,a,2,!1),l.add(h))}function hm(a,s,l){var h=0;s&&(h|=4),RS(l,a,h,s)}var ld="_reactListening"+Math.random().toString(36).slice(2);function pm(a){if(!a[ld]){a[ld]=!0,_i.forEach(function(l){l!=="selectionchange"&&(fk.has(l)||hm(l,!1,a),hm(l,!0,a))});var s=a.nodeType===9?a:a.ownerDocument;s===null||s[ld]||(s[ld]=!0,hm("selectionchange",!1,s))}}function RS(a,s,l,h){switch(rE(s)){case 2:var b=$k;break;case 8:b=Hk;break;default:b=Om}l=b.bind(null,s,l,a),b=void 0,!Nh||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(b=!0),h?b!==void 0?a.addEventListener(s,l,{capture:!0,passive:b}):a.addEventListener(s,l,!0):b!==void 0?a.addEventListener(s,l,{passive:b}):a.addEventListener(s,l,!1)}function mm(a,s,l,h,b){var S=h;if((s&1)===0&&(s&2)===0&&h!==null)e:for(;;){if(h===null)return;var N=h.tag;if(N===3||N===4){var V=h.stateNode.containerInfo;if(V===b)break;if(N===4)for(N=h.return;N!==null;){var J=N.tag;if((J===3||J===4)&&N.stateNode.containerInfo===b)return;N=N.return}for(;V!==null;){if(N=Kt(V),N===null)return;if(J=N.tag,J===5||J===6||J===26||J===27){h=S=N;continue e}V=V.parentNode}}h=h.return}kb(function(){var le=S,he=kh(l),ge=[];e:{var ue=sw.get(a);if(ue!==void 0){var ce=bc,De=a;switch(a){case"keypress":if(vc(l)===0)break e;case"keydown":case"keyup":ce=iD;break;case"focusin":De="focus",ce=Ih;break;case"focusout":De="blur",ce=Ih;break;case"beforeblur":case"afterblur":ce=Ih;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=Pb;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=GM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=lD;break;case rw:case nw:case aw:ce=KM;break;case iw:ce=cD;break;case"scroll":case"scrollend":ce=YM;break;case"wheel":ce=fD;break;case"copy":case"cut":case"paste":ce=ZM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=jb;break;case"toggle":case"beforetoggle":ce=pD}var Fe=(s&4)!==0,Ft=!Fe&&(a==="scroll"||a==="scrollend"),ne=Fe?ue!==null?ue+"Capture":null:ue;Fe=[];for(var ee=le,oe;ee!==null;){var me=ee;if(oe=me.stateNode,me=me.tag,me!==5&&me!==26&&me!==27||oe===null||ne===null||(me=yl(ee,ne),me!=null&&Fe.push(Ql(ee,me,oe))),Ft)break;ee=ee.return}0<Fe.length&&(ue=new ce(ue,De,null,l,he),ge.push({event:ue,listeners:Fe}))}}if((s&7)===0){e:{if(ue=a==="mouseover"||a==="pointerover",ce=a==="mouseout"||a==="pointerout",ue&&l!==Dh&&(De=l.relatedTarget||l.fromElement)&&(Kt(De)||De[_e]))break e;if((ce||ue)&&(ue=he.window===he?he:(ue=he.ownerDocument)?ue.defaultView||ue.parentWindow:window,ce?(De=l.relatedTarget||l.toElement,ce=le,De=De?Kt(De):null,De!==null&&(Ft=o(De),Fe=De.tag,De!==Ft||Fe!==5&&Fe!==27&&Fe!==6)&&(De=null)):(ce=null,De=le),ce!==De)){if(Fe=Pb,me="onMouseLeave",ne="onMouseEnter",ee="mouse",(a==="pointerout"||a==="pointerover")&&(Fe=jb,me="onPointerLeave",ne="onPointerEnter",ee="pointer"),Ft=ce==null?ue:wt(ce),oe=De==null?ue:wt(De),ue=new Fe(me,ee+"leave",ce,l,he),ue.target=Ft,ue.relatedTarget=
vendor: 5,685 bytes, lines 9-10
9oe,me=null,Kt(he)===le&&(Fe=new Fe(ne,ee+"enter",De,l,he),Fe.target=oe,Fe.relatedTarget=Ft,me=Fe),Ft=me,ce&&De)t:{for(Fe=hk,ne=ce,ee=De,oe=0,me=ne;me;me=Fe(me))oe++;me=0;for(var je=ee;je;je=Fe(je))me++;for(;0<oe-me;)ne=Fe(ne),oe--;for(;0<me-oe;)ee=Fe(ee),me--;for(;oe--;){if(ne===ee||ee!==null&&ne===ee.alternate){Fe=ne;break t}ne=Fe(ne),ee=Fe(ee)}Fe=null}else Fe=null;ce!==null&&AS(ge,ue,ce,Fe,!1),De!==null&&Ft!==null&&AS(ge,Ft,De,Fe,!0)}}e:{if(ue=le?wt(le):window,ce=ue.nodeName&&ue.nodeName.toLowerCase(),ce==="select"||ce==="input"&&ue.type==="file")var xt=Yb;else if(Fb(ue))if(Vb)xt=_D;else{xt=ED;var Ne=SD}else ce=ue.nodeName,!ce||ce.toLowerCase()!=="input"||ue.type!=="checkbox"&&ue.type!=="radio"?le&&Mh(le.elementType)&&(xt=Yb):xt=xD;if(xt&&(xt=xt(a,le))){qb(ge,xt,l,he);break e}Ne&&Ne(a,ue,le),a==="focusout"&&le&&ue.type==="number"&&le.memoizedProps.value!=null&&Oh(ue,"number",ue.value)}switch(Ne=le?wt(le):window,a){case"focusin":(Fb(Ne)||Ne.contentEditable==="true")&&(so=Ne,qh=le,Cl=null);break;case"focusout":Cl=qh=so=null;break;case"mousedown":Yh=!0;break;case"contextmenu":case"mouseup":case"dragend":Yh=!1,ew(ge,l,he);break;case"selectionchange":if(CD)break;case"keydown":case"keyup":ew(ge,l,he)}var Je;if($h)e:{switch(a){case"compositionstart":var ct="onCompositionStart";break e;case"compositionend":ct="onCompositionEnd";break e;case"compositionupdate":ct="onCompositionUpdate";break e}ct=void 0}else io?Hb(a,l)&&(ct="onCompositionEnd"):a==="keydown"&&l.keyCode===229&&(ct="onCompositionStart");ct&&(Ib&&l.locale!=="ko"&&(io||ct!=="onCompositionStart"?ct==="onCompositionEnd"&&io&&(Je=Lb()):(Ti=he,Ph="value"in Ti?Ti.value:Ti.textContent,io=!0)),Ne=ud(le,ct),0<Ne.length&&(ct=new zb(ct,a,null,l,he),ge.push({event:ct,listeners:Ne}),Je?ct.data=Je:(Je=Bb(l),Je!==null&&(ct.data=Je)))),(Je=gD?vD(a,l):yD(a,l))&&(ct=ud(le,"onBeforeInput"),0<ct.length&&(Ne=new zb("onBeforeInput","beforeinput",null,l,he),ge.push({event:Ne,listeners:ct}),Ne.data=Je)),uk(ge,a,le,l,he)}CS(ge,s)})}function Ql(a,s,l){return{instance:a,listener:s,currentTarget:l}}function ud(a,s){for(var l=s+"Capture",h=[];a!==null;){var b=a,S=b.stateNode;if(b=b.tag,b!==5&&b!==26&&b!==27||S===null||(b=yl(a,l),b!=null&&h.unshift(Ql(a,b,S)),b=yl(a,s),b!=null&&h.push(Ql(a,b,S))),a.tag===3)return h;a=a.return}return[]}function hk(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function AS(a,s,l,h,b){for(var S=s._reactName,N=[];l!==null&&l!==h;){var V=l,J=V.alternate,le=V.stateNode;if(V=V.tag,J!==null&&J===h)break;V!==5&&V!==26&&V!==27||le===null||(J=le,b?(le=yl(l,S),le!=null&&N.unshift(Ql(l,le,J))):b||(le=yl(l,S),le!=null&&N.push(Ql(l,le,J)))),l=l.return}N.length!==0&&a.push({event:s,listeners:N})}var pk=/\r\n?/g,mk=/\u0000|\uFFFD/g;function OS(a){return(typeof a=="string"?a:""+a).replace(pk,` 10`).replace(mk,"")}function MS(a,s){return s=OS(s),OS(a)===s}function Bt(a,s,l,h,b,S){switch(l){case"children":typeof h=="string"?s==="body"||s==="textarea"&&h===""||ro(a,h):(typeof h=="number"||typeof h=="bigint")&&s!=="body"&&ro(a,""+h);break;case"className":Ha(a,"class",h);break;case"tabIndex":Ha(a,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":Ha(a,l,h);break;case"style":Mb(a,h,S);break;case"data":if(s!=="object"){Ha(a,"data",h);break}case"src":case"href":if(h===""&&(s!=="a"||l!=="href")){a.removeAttribute(l);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){a.removeAttribute(l);break}h=mc(""+h),a.setAttribute(l,h);break;case"action":case"formAction":if(typeof h=="function"){a.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof S=="function"&&(l==="formAction"?(s!=="input"&&Bt(a,s,"name",b.name,b,null),Bt(a,s,"formEncType",b.formEncType,b,null),Bt(a,s,"formMethod",b.formMethod,b,null),Bt(a,s,"formTarget",b.formTarget,b,null)):(Bt(a,s,"encType",b.encType,b,null),Bt(a,s,"method",b.method,b,null),Bt(a,s,"target",b.target,b,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){a.removeAttribute(l);break}h=mc(""+h),a.setAttribute(l,h);break;case"onClick":h!=null&&(a.onclick=Fa);break;case"onScroll":h!=null&&ot("scroll",a);break;case"onScrollEnd":h!=null&&ot("scrollend",a);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(n(61));if(l=h.__html,l!=null){if(b.children!=null)throw Error(n(60));a.innerHTML=l}}break;case"multiple":a.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":a.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){a.removeAttribute("xlink:href");break}l=mc(""+h),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?a.setAttribute(l,""+h):a.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?a.setAttribute(l,""):a.removeAttribute(l);break;case"capture":case"download":h===!0?a.setAttribute(l,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?a.setAttribute(l,h):a.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?a.setAttribute(l,h):a.removeAttribute(l);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?a.removeAttribute(l):a.setAttribute(l,h);break;case"popover":ot("beforetoggle",a),ot("toggle",a),$a(a,"popover",h);break;case"xlinkActuate":We(a,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":We(a,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":We(a,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":We(a,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":We(a,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":We(a,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":We(a,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":We(a,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":We(a,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":$a(a,"is",h);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=FM.get(l)||l,$a(a,l,h))}}function gm(a,s,l,h,b,S){switch(l){case"style":Mb(a,h,S);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(n(61));if(l=h.__html,l!=null){if(b.children!=null)throw Error(n(60));a.innerHTML=l}}break;case"children":typeof h=="string"?ro(a,h):(typeof h=="number"||typeof h=="bigint")&&ro(a,""+h);break;case"onScroll":h!=null&&ot("scroll",a);break;case"onScrollEnd":h!=null&&ot("scrollend",a);break;case"onClick":h!=null&&(a.onclick=Fa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ra.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(b=l.endsWith("Capture"),s=l.slice(2,b?l.length-7:void 0),S=a[Te]||null,S=S!=null?S[l]:null,typeof S=="function"&&a.removeEventListener(s,S,b),typeof h=="function")){typeof S!="function"&&S!==null&&(l in a?a[l]=null:a.hasAttribute(l)&&a.removeAttribute(l)),a.addEventListener(s,h,b);break e}l in a?a[l]=h:h===!0?a.setAttribute(l,""):$a(a,l,h)}}}function jr(a,s,l){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ot("error",a),ot("load",a);var h=!1,b=!1,S;for(S in l)if(l.hasOwnProperty(S)){var N=l[S];if(N!=null)switch(S){case"src":h=!0;break;case"srcSet":b=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(n(137,s));default:Bt(a,s,S,N,l,null)}}b&&Bt(a,s,"srcSet",l.srcSet,l,null),h&&Bt(a,s,"src",l.src,l,null);return;case"input":ot("invalid",a);var V=S=N=b=null,J=null,le=null;for(h in l)if(l.hasOwnProperty(h)){var he=l[h];if(he!=null)switch(h){case"name":b=he;break;case"type":N=he;break;case"checked":J=he;break;case"defaultChecked":le=he;break;case"value":S=he;break;case"defaultValue":V=he;break;case"children":case"dangerouslySetInnerHTML":if(he!=null)throw Error(n(137,s));break;default:Bt(a,s,h,he,l,null)}}Cb(a,S,V,J,le,N,b,!1);return;case"select":ot("invalid",a),h=N=S=null;for(b in l)if(l.hasOwnProperty(b)&&(V=l[b],V!=null))switch(b){case"value":S=V;break;case"defaultValue":N=V;break;case"multiple":h=V;default:Bt(a,s,b,V,l,null)}s=S,l=N,a.multiple=!!h,s!=null?to(a,!!h,s,!1):l!=null&&to(a,!!h,l,!0);return;case"textarea":ot("invalid",a),S=b=h=null;for(N in l)if(l.hasOwnProperty(N)&&(V=l[N],V!=null))switch(N){case"value":h=V;break;case"defaultValue":b=V;break;case"children":S=V;break;case"dangerouslySetInnerHTML":if(V!=null)throw Error(n(91));break;default:Bt(a,s,N,V,l,null)}Ab(a,h,b,S);return;case"option":for(J in l)l.hasOwnProperty(J)&&(h=l[J],h!=null)&&(J==="selected"?a.selected=h&&typeof h!="function"&&typeof h!="symbol":Bt(a,s,J,h,l,null));return;case"dialog":ot("beforetoggle",a),ot("toggle",a),ot("cancel",a),ot("close",a);break;case"iframe":case"object":ot("load",a);break;case"video":case"audio":for(h=0;h<Kl.length;h++)ot(Kl[h],a);break;case"image":ot("error",a),ot("load",a);break;case"details":ot("toggle",a);break;case"embed":case"source":case"link":ot("error",a),ot("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(le in l)if(l.hasOwnProperty(le)&&(h=l[le],h!=null))switch(le){case"children":case"dangerouslySetInnerHTML":throw Error(n(137,s));default:Bt(a,s,le,h,l,null)}return;default:if(Mh(s)){for(he in l)l.hasOwnProperty(he)&&(h=l[he],h!==void 0&&gm(a,s,he,h,l,void 0));return}}for(V in l)l.hasOwnProperty(V)&&(h=l[V],h!=null&&Bt(a,s,V,h,l,null))}function gk(a,s,l,h){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var b=null,S=null,N=null,V=null,J=null,le=null,he=null;for(ce in l){var ge=l[ce];
vendor: 6,814 bytes, line 10
10if(l.hasOwnProperty(ce)&&ge!=null)switch(ce){case"checked":break;case"value":break;case"defaultValue":J=ge;default:h.hasOwnProperty(ce)||Bt(a,s,ce,null,h,ge)}}for(var ue in h){var ce=h[ue];if(ge=l[ue],h.hasOwnProperty(ue)&&(ce!=null||ge!=null))switch(ue){case"type":S=ce;break;case"name":b=ce;break;case"checked":le=ce;break;case"defaultChecked":he=ce;break;case"value":N=ce;break;case"defaultValue":V=ce;break;case"children":case"dangerouslySetInnerHTML":if(ce!=null)throw Error(n(137,s));break;default:ce!==ge&&Bt(a,s,ue,ce,h,ge)}}vl(a,N,V,J,le,he,S,b);return;case"select":ce=N=V=ue=null;for(S in l)if(J=l[S],l.hasOwnProperty(S)&&J!=null)switch(S){case"value":break;case"multiple":ce=J;default:h.hasOwnProperty(S)||Bt(a,s,S,null,h,J)}for(b in h)if(S=h[b],J=l[b],h.hasOwnProperty(b)&&(S!=null||J!=null))switch(b){case"value":ue=S;break;case"defaultValue":V=S;break;case"multiple":N=S;default:S!==J&&Bt(a,s,b,S,h,J)}s=V,l=N,h=ce,ue!=null?to(a,!!l,ue,!1):!!h!=!!l&&(s!=null?to(a,!!l,s,!0):to(a,!!l,l?[]:"",!1));return;case"textarea":ce=ue=null;for(V in l)if(b=l[V],l.hasOwnProperty(V)&&b!=null&&!h.hasOwnProperty(V))switch(V){case"value":break;case"children":break;default:Bt(a,s,V,null,h,b)}for(N in h)if(b=h[N],S=l[N],h.hasOwnProperty(N)&&(b!=null||S!=null))switch(N){case"value":ue=b;break;case"defaultValue":ce=b;break;case"children":break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(n(91));break;default:b!==S&&Bt(a,s,N,b,h,S)}Rb(a,ue,ce);return;case"option":for(var De in l)ue=l[De],l.hasOwnProperty(De)&&ue!=null&&!h.hasOwnProperty(De)&&(De==="selected"?a.selected=!1:Bt(a,s,De,null,h,ue));for(J in h)ue=h[J],ce=l[J],h.hasOwnProperty(J)&&ue!==ce&&(ue!=null||ce!=null)&&(J==="selected"?a.selected=ue&&typeof ue!="function"&&typeof ue!="symbol":Bt(a,s,J,ue,h,ce));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 Fe in l)ue=l[Fe],l.hasOwnProperty(Fe)&&ue!=null&&!h.hasOwnProperty(Fe)&&Bt(a,s,Fe,null,h,ue);for(le in h)if(ue=h[le],ce=l[le],h.hasOwnProperty(le)&&ue!==ce&&(ue!=null||ce!=null))switch(le){case"children":case"dangerouslySetInnerHTML":if(ue!=null)throw Error(n(137,s));break;default:Bt(a,s,le,ue,h,ce)}return;default:if(Mh(s)){for(var Ft in l)ue=l[Ft],l.hasOwnProperty(Ft)&&ue!==void 0&&!h.hasOwnProperty(Ft)&&gm(a,s,Ft,void 0,h,ue);for(he in h)ue=h[he],ce=l[he],!h.hasOwnProperty(he)||ue===ce||ue===void 0&&ce===void 0||gm(a,s,he,ue,h,ce);return}}for(var ne in l)ue=l[ne],l.hasOwnProperty(ne)&&ue!=null&&!h.hasOwnProperty(ne)&&Bt(a,s,ne,null,h,ue);for(ge in h)ue=h[ge],ce=l[ge],!h.hasOwnProperty(ge)||ue===ce||ue==null&&ce==null||Bt(a,s,ge,ue,h,ce)}function DS(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function vk(){if(typeof performance.getEntriesByType=="function"){for(var a=0,s=0,l=performance.getEntriesByType("resource"),h=0;h<l.length;h++){var b=l[h],S=b.transferSize,N=b.initiatorType,V=b.duration;if(S&&V&&DS(N)){for(N=0,V=b.responseEnd,h+=1;h<l.length;h++){var J=l[h],le=J.startTime;if(le>V)break;var he=J.transferSize,ge=J.initiatorType;he&&DS(ge)&&(J=J.responseEnd,N+=he*(J<V?1:(V-le)/(J-le)))}if(--h,s+=8*(S+N)/(b.duration/1e3),a++,10<a)break}}if(0<a)return s/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}var vm=null,ym=null;function cd(a){return a.nodeType===9?a:a.ownerDocument}function kS(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function LS(a,s){if(a===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&s==="foreignObject"?0:a}function bm(a,s){return a==="textarea"||a==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var wm=null;function yk(){var a=window.event;return a&&a.type==="popstate"?a===wm?!1:(wm=a,!0):(wm=null,!1)}var NS=typeof setTimeout=="function"?setTimeout:void 0,bk=typeof clearTimeout=="function"?clearTimeout:void 0,PS=typeof Promise=="function"?Promise:void 0,wk=typeof queueMicrotask=="function"?queueMicrotask:typeof PS<"u"?function(a){return PS.resolve(null).then(a).catch(Sk)}:NS;function Sk(a){setTimeout(function(){throw a})}function Bi(a){return a==="head"}function zS(a,s){var l=s,h=0;do{var b=l.nextSibling;if(a.removeChild(l),b&&b.nodeType===8)if(l=b.data,l==="/$"||l==="/&"){if(h===0){a.removeChild(b),No(s);return}h--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")h++;else if(l==="html")Zl(a.ownerDocument.documentElement);else if(l==="head"){l=a.ownerDocument.head,Zl(l);for(var S=l.firstChild;S;){var N=S.nextSibling,V=S.nodeName;S[it]||V==="SCRIPT"||V==="STYLE"||V==="LINK"&&S.rel.toLowerCase()==="stylesheet"||l.removeChild(S),S=N}}else l==="body"&&Zl(a.ownerDocument.body);l=b}while(l);No(s)}function jS(a,s){var l=a;a=0;do{var h=l.nextSibling;if(l.nodeType===1?s?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(s?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),h&&h.nodeType===8)if(l=h.data,l==="/$"){if(a===0)break;a--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||a++;l=h}while(l)}function Sm(a){var s=a.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var l=s;switch(s=s.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Sm(l),Et(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}a.removeChild(l)}}function Ek(a,s,l,h){for(;a.nodeType===1;){var b=l;if(a.nodeName.toLowerCase()!==s.toLowerCase()){if(!h&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(h){if(!a[it])switch(s){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(S=a.getAttribute("rel"),S==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(S!==b.rel||a.getAttribute("href")!==(b.href==null||b.href===""?null:b.href)||a.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin)||a.getAttribute("title")!==(b.title==null?null:b.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(S=a.getAttribute("src"),(S!==(b.src==null?null:b.src)||a.getAttribute("type")!==(b.type==null?null:b.type)||a.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin))&&S&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(s==="input"&&a.type==="hidden"){var S=b.name==null?null:""+b.name;if(b.type==="hidden"&&a.getAttribute("name")===S)return a}else return a;
vendor: 9,758 bytes, line 10
10if(a=Fn(a.nextSibling),a===null)break}return null}function xk(a,s,l){if(s==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!l||(a=Fn(a.nextSibling),a===null))return null;return a}function IS(a,s){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!s||(a=Fn(a.nextSibling),a===null))return null;return a}function Em(a){return a.data==="$?"||a.data==="$~"}function xm(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState!=="loading"}function _k(a,s){var l=a.ownerDocument;if(a.data==="$~")a._reactRetry=s;else if(a.data!=="$?"||l.readyState!=="loading")s();else{var h=function(){s(),l.removeEventListener("DOMContentLoaded",h)};l.addEventListener("DOMContentLoaded",h),a._reactRetry=h}}function Fn(a){for(;a!=null;a=a.nextSibling){var s=a.nodeType;if(s===1||s===3)break;if(s===8){if(s=a.data,s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"||s==="F!"||s==="F")break;if(s==="/$"||s==="/&")return null}}return a}var _m=null;function US(a){a=a.nextSibling;for(var s=0;a;){if(a.nodeType===8){var l=a.data;if(l==="/$"||l==="/&"){if(s===0)return Fn(a.nextSibling);s--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||s++}a=a.nextSibling}return null}function $S(a){a=a.previousSibling;for(var s=0;a;){if(a.nodeType===8){var l=a.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(s===0)return a;s--}else l!=="/$"&&l!=="/&"||s++}a=a.previousSibling}return null}function HS(a,s,l){switch(s=cd(l),a){case"html":if(a=s.documentElement,!a)throw Error(n(452));return a;case"head":if(a=s.head,!a)throw Error(n(453));return a;case"body":if(a=s.body,!a)throw Error(n(454));return a;default:throw Error(n(451))}}function Zl(a){for(var s=a.attributes;s.length;)a.removeAttributeNode(s[0]);Et(a)}var qn=new Map,BS=new Set;function dd(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var ii=A.d;A.d={f:Tk,r:Ck,D:Rk,C:Ak,L:Ok,m:Mk,X:kk,S:Dk,M:Lk};function Tk(){var a=ii.f(),s=rd();return a||s}function Ck(a){var s=Mt(a);s!==null&&s.tag===5&&s.type==="form"?i1(s):ii.r(a)}var Do=typeof document>"u"?null:document;function FS(a,s,l){var h=Do;if(h&&typeof s=="string"&&s){var b=Kr(s);b='link[rel="'+a+'"][href="'+b+'"]',typeof l=="string"&&(b+='[crossorigin="'+l+'"]'),BS.has(b)||(BS.add(b),a={rel:a,crossOrigin:l,href:s},h.querySelector(b)===null&&(s=h.createElement("link"),jr(s,"link",a),St(s),h.head.appendChild(s)))}}function Rk(a){ii.D(a),FS("dns-prefetch",a,null)}function Ak(a,s){ii.C(a,s),FS("preconnect",a,s)}function Ok(a,s,l){ii.L(a,s,l);var h=Do;if(h&&a&&s){var b='link[rel="preload"][as="'+Kr(s)+'"]';s==="image"&&l&&l.imageSrcSet?(b+='[imagesrcset="'+Kr(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(b+='[imagesizes="'+Kr(l.imageSizes)+'"]')):b+='[href="'+Kr(a)+'"]';var S=b;switch(s){case"style":S=ko(a);break;case"script":S=Lo(a)}qn.has(S)||(a=m({rel:"preload",href:s==="image"&&l&&l.imageSrcSet?void 0:a,as:s},l),qn.set(S,a),h.querySelector(b)!==null||s==="style"&&h.querySelector(Jl(S))||s==="script"&&h.querySelector(eu(S))||(s=h.createElement("link"),jr(s,"link",a),St(s),h.head.appendChild(s)))}}function Mk(a,s){ii.m(a,s);var l=Do;if(l&&a){var h=s&&typeof s.as=="string"?s.as:"script",b='link[rel="modulepreload"][as="'+Kr(h)+'"][href="'+Kr(a)+'"]',S=b;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":S=Lo(a)}if(!qn.has(S)&&(a=m({rel:"modulepreload",href:a},s),qn.set(S,a),l.querySelector(b)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(eu(S)))return}h=l.createElement("link"),jr(h,"link",a),St(h),l.head.appendChild(h)}}}function Dk(a,s,l){ii.S(a,s,l);var h=Do;if(h&&a){var b=gr(h).hoistableStyles,S=ko(a);s=s||"default";var N=b.get(S);if(!N){var V={loading:0,preload:null};if(N=h.querySelector(Jl(S)))V.loading=5;else{a=m({rel:"stylesheet",href:a,"data-precedence":s},l),(l=qn.get(S))&&Tm(a,l);var J=N=h.createElement("link");St(J),jr(J,"link",a),J._p=new Promise(function(le,he){J.onload=le,J.onerror=he}),J.addEventListener("load",function(){V.loading|=1}),J.addEventListener("error",function(){V.loading|=2}),V.loading|=4,fd(N,s,h)}N={type:"stylesheet",instance:N,count:1,state:V},b.set(S,N)}}}function kk(a,s){ii.X(a,s);var l=Do;if(l&&a){var h=gr(l).hoistableScripts,b=Lo(a),S=h.get(b);S||(S=l.querySelector(eu(b)),S||(a=m({src:a,async:!0},s),(s=qn.get(b))&&Cm(a,s),S=l.createElement("script"),St(S),jr(S,"link",a),l.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},h.set(b,S))}}function Lk(a,s){ii.M(a,s);var l=Do;if(l&&a){var h=gr(l).hoistableScripts,b=Lo(a),S=h.get(b);S||(S=l.querySelector(eu(b)),S||(a=m({src:a,async:!0,type:"module"},s),(s=qn.get(b))&&Cm(a,s),S=l.createElement("script"),St(S),jr(S,"link",a),l.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},h.set(b,S))}}function qS(a,s,l,h){var b=(b=Q.current)?dd(b):null;if(!b)throw Error(n(446));switch(a){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(s=ko(l.href),l=gr(b).hoistableStyles,h=l.get(s),h||(h={type:"style",instance:null,count:0,state:null},l.set(s,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){a=ko(l.href);var S=gr(b).hoistableStyles,N=S.get(a);if(N||(b=b.ownerDocument||b,N={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},S.set(a,N),(S=b.querySelector(Jl(a)))&&!S._p&&(N.instance=S,N.state.loading=5),qn.has(a)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},qn.set(a,l),S||Nk(b,a,l,N.state))),s&&h===null)throw Error(n(528,""));return N}if(s&&h!==null)throw Error(n(529,""));return null;case"script":return s=l.async,l=l.src,typeof l=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=Lo(l),l=gr(b).hoistableScripts,h=l.get(s),h||(h={type:"script",instance:null,count:0,state:null},l.set(s,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(n(444,a))}}function ko(a){return'href="'+Kr(a)+'"'}function Jl(a){return'link[rel="stylesheet"]['+a+"]"}function YS(a){return m({},a,{"data-precedence":a.precedence,precedence:null})}function Nk(a,s,l,h){a.querySelector('link[rel="preload"][as="style"]['+s+"]")?h.loading=1:(s=a.createElement("link"),h.preload=s,s.addEventListener("load",function(){return h.loading|=1}),s.addEventListener("error",function(){return h.loading|=2}),jr(s,"link",l),St(s),a.head.appendChild(s))}function Lo(a){return'[src="'+Kr(a)+'"]'}function eu(a){return"script[async]"+a}function VS(a,s,l){if(s.count++,s.instance===null)switch(s.type){case"style":var h=a.querySelector('style[data-href~="'+Kr(l.href)+'"]');if(h)return s.instance=h,St(h),h;var b=m({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return h=(a.ownerDocument||a).createElement("style"),St(h),jr(h,"style",b),fd(h,l.precedence,a),s.instance=h;case"stylesheet":b=ko(l.href);var S=a.querySelector(Jl(b));if(S)return s.state.loading|=4,s.instance=S,St(S),S;h=YS(l),(b=qn.get(b))&&Tm(h,b),S=(a.ownerDocument||a).createElement("link"),St(S);var N=S;return N._p=new Promise(function(V,J){N.onload=V,N.onerror=J}),jr(S,"link",h),s.state.loading|=4,fd(S,l.precedence,a),s.instance=S;case"script":return S=Lo(l.src),(b=a.querySelector(eu(S)))?(s.instance=b,St(b),b):(h=l,(b=qn.get(S))&&(h=m({},l),Cm(h,b)),a=a.ownerDocument||a,b=a.createElement("script"),St(b),jr(b,"link",h),a.head.appendChild(b),s.instance=b);case"void":return null;default:throw Error(n(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(h=s.instance,s.state.loading|=4,fd(h,l.precedence,a));return s.instance}function fd(a,s,l){for(var h=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),b=h.length?h[h.length-1]:null,S=b,N=0;N<h.length;N++){var V=h[N];if(V.dataset.precedence===s)S=V;else if(S!==b)break}S?S.parentNode.insertBefore(a,S.nextSibling):(s=l.nodeType===9?l.head:l,s.insertBefore(a,s.firstChild))}function Tm(a,s){a.crossOrigin==null&&(a.crossOrigin=s.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=s.referrerPolicy),a.title==null&&(a.title=s.title)}function Cm(a,s){a.crossOrigin==null&&(a.crossOrigin=s.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=s.referrerPolicy),a.integrity==null&&(a.integrity=s.integrity)}var hd=null;function GS(a,s,l){if(hd===null){var h=new Map,b=hd=new Map;b.set(l,h)}else b=hd,h=b.get(l),h||(h=new Map,b.set(l,h));if(h.has(a))return h;for(h.set(a,null),l=l.getElementsByTagName(a),b=0;b<l.length;b++){var S=l[b];if(!(S[it]||S[Ee]||a==="link"&&S.getAttribute("rel")==="stylesheet")&&S.namespaceURI!=="http://www.w3.org/2000/svg"){var N=S.getAttribute(s)||"";N=a+N;var V=h.get(N);V?V.push(S):h.set(N,[S])}}return h}function XS(a,s,l){a=a.ownerDocument||a,a.head.insertBefore(l,s==="title"?a.querySelector("head > title"):null)}function Pk(a,s,l){if(l===1||s.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;return s.rel==="stylesheet"?(a=s.disabled,typeof s.precedence=="string"&&a==null):!0;case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function WS(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function zk(a,s,l,h){if(l.type==="stylesheet"&&(typeof h.media!="str
10ing"||matchMedia(h.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var b=ko(h.href),S=s.querySelector(Jl(b));if(S){s=S._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(a.count++,a=pd.bind(a),s.then(a,a)),l.state.loading|=4,l.instance=S,St(S);return}S=s.ownerDocument||s,h=YS(h),(b=qn.get(b))&&Tm(h,b),S=S.createElement("link"),St(S);var N=S;N._p=new Promise(function(V,J){N.onload=V,N.onerror=J}),jr(S,"link",h),l.instance=S}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(l,s),(s=l.state.preload)&&(l.state.loading&3)===0&&(a.count++,l=pd.bind(a),s.addEventListener("load",l),s.addEventListener("error",l))}}var Rm=0;function jk(a,s){return a.stylesheets&&a.count===0&&gd(a,a.stylesheets),0<a.count||0<a.imgCount?function(l){var h=setTimeout(function(){if(a.stylesheets&&gd(a,a.stylesheets),a.unsuspend){var S=a.unsuspend;a.unsuspend=null,S()}},6e4+s);0<a.imgBytes&&Rm===0&&(Rm=62500*vk());var b=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&gd(a,a.stylesheets),a.unsuspend)){var S=a.unsuspend;a.unsuspend=null,S()}},(a.imgBytes>Rm?50:800)+s);return a.unsuspend=l,function(){a.unsuspend=null,clearTimeout(h),clearTimeout(b)}}:null}function pd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)gd(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var md=null;function gd(a,s){a.stylesheets=null,a.unsuspend!==null&&(a.count++,md=new Map,s.forEac
vendor: 6,876 bytes, line 10
10h(Ik,a),md=null,pd.call(a))}function Ik(a,s){if(!(s.state.loading&4)){var l=md.get(a);if(l)var h=l.get(null);else{l=new Map,md.set(a,l);for(var b=a.querySelectorAll("link[data-precedence],style[data-precedence]"),S=0;S<b.length;S++){var N=b[S];(N.nodeName==="LINK"||N.getAttribute("media")!=="not all")&&(l.set(N.dataset.precedence,N),h=N)}h&&l.set(null,h)}b=s.instance,N=b.getAttribute("data-precedence"),S=l.get(N)||h,S===h&&l.set(null,b),l.set(N,b),this.count++,h=pd.bind(this),b.addEventListener("load",h),b.addEventListener("error",h),S?S.parentNode.insertBefore(b,S.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(b,a.firstChild)),s.state.loading|=4}}var tu={$$typeof:_,Provider:null,Consumer:null,_currentValue:B,_currentValue2:B,_threadCount:0};function Uk(a,s,l,h,b,S,N,V,J){this.tag=1,this.containerInfo=a,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=mr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mr(0),this.hiddenUpdates=mr(null),this.identifierPrefix=h,this.onUncaughtError=b,this.onCaughtError=S,this.onRecoverableError=N,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=J,this.incompleteTransitions=new Map}function KS(a,s,l,h,b,S,N,V,J,le,he,ge){return a=new Uk(a,s,l,N,J,le,he,ge,V),s=1,S===!0&&(s|=24),S=En(3,null,null,s),a.current=S,S.stateNode=a,s=sp(),s.refCount++,a.pooledCache=s,s.refCount++,S.memoizedState={element:h,isDehydrated:l,cache:s},cp(S),a}function QS(a){return a?(a=uo,a):uo}function ZS(a,s,l,h,b,S){b=QS(b),h.context===null?h.context=b:h.pendingContext=b,h=Di(s),h.payload={element:l},S=S===void 0?null:S,S!==null&&(h.callback=S),l=ki(a,h,s),l!==null&&(cn(l,a,s),Ll(l,a,s))}function JS(a,s){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var l=a.retryLane;a.retryLane=l!==0&&l<s?l:s}}function Am(a,s){JS(a,s),(a=a.alternate)&&JS(a,s)}function eE(a){if(a.tag===13||a.tag===31){var s=hs(a,67108864);s!==null&&cn(s,a,67108864),Am(a,67108864)}}function tE(a){if(a.tag===13||a.tag===31){var s=Rn();s=re(s);var l=hs(a,s);l!==null&&cn(l,a,s),Am(a,s)}}var vd=!0;function $k(a,s,l,h){var b=R.T;R.T=null;var S=A.p;try{A.p=2,Om(a,s,l,h)}finally{A.p=S,R.T=b}}function Hk(a,s,l,h){var b=R.T;R.T=null;var S=A.p;try{A.p=8,Om(a,s,l,h)}finally{A.p=S,R.T=b}}function Om(a,s,l,h){if(vd){var b=Mm(h);if(b===null)mm(a,s,h,yd,l),nE(a,h);else if(Fk(b,a,s,l,h))h.stopPropagation();else if(nE(a,h),s&4&&-1<Bk.indexOf(a)){for(;b!==null;){var S=Mt(b);if(S!==null)switch(S.tag){case 3:if(S=S.stateNode,S.current.memoizedState.isDehydrated){var N=lr(S.pendingLanes);if(N!==0){var V=S;for(V.pendingLanes|=2,V.entangledLanes|=2;N;){var J=1<<31-or(N);V.entanglements[1]|=J,N&=~J}Sa(S),(Ot&6)===0&&(ed=Ve()+500,Wl(0))}}break;case 31:case 13:V=hs(S,2),V!==null&&cn(V,S,2),rd(),Am(S,2)}if(S=Mm(h),S===null&&mm(a,s,h,yd,l),S===b)break;b=S}b!==null&&h.stopPropagation()}else mm(a,s,h,null,l)}}function Mm(a){return a=kh(a),Dm(a)}var yd=null;function Dm(a){if(yd=null,a=Kt(a),a!==null){var s=o(a);if(s===null)a=null;else{var l=s.tag;if(l===13){if(a=u(s),a!==null)return a;a=null}else if(l===31){if(a=c(s),a!==null)return a;a=null}else if(l===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;a=null}else s!==a&&(a=null)}}return yd=a,null}function rE(a){switch(a){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(Lt()){case Wt:return 2;case _r:return 8;case At:case Nt:return 32;case pt:return 268435456;default:return 32}default:return 32}}var km=!1,Fi=null,qi=null,Yi=null,ru=new Map,nu=new Map,Vi=[],Bk="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 nE(a,s){switch(a){case"focusin":case"focusout":Fi=null;break;case"dragenter":case"dragleave":qi=null;break;case"mouseover":case"mouseout":Yi=null;break;case"pointerover":case"pointerout":ru.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":nu.delete(s.pointerId)}}function au(a,s,l,h,b,S){return a===null||a.nativeEvent!==S?(a={blockedOn:s,domEventName:l,eventSystemFlags:h,nativeEvent:S,targetContainers:[b]},s!==null&&(s=Mt(s),s!==null&&eE(s)),a):(a.eventSystemFlags|=h,s=a.targetContainers,b!==null&&s.indexOf(b)===-1&&s.push(b),a)}function Fk(a,s,l,h,b){switch(s){case"focusin":return Fi=au(Fi,a,s,l,h,b),!0;case"dragenter":return qi=au(qi,a,s,l,h,b),!0;case"mouseover":return Yi=au(Yi,a,s,l,h,b),!0;case"pointerover":var S=b.pointerId;return ru.set(S,au(ru.get(S)||null,a,s,l,h,b)),!0;case"gotpointercapture":return S=b.pointerId,nu.set(S,au(nu.get(S)||null,a,s,l,h,b)),!0}return!1}function aE(a){var s=Kt(a.target);if(s!==null){var l=o(s);if(l!==null){if(s=l.tag,s===13){if(s=u(l),s!==null){a.blockedOn=s,ye(a.priority,function(){tE(l)});return}}else if(s===31){if(s=c(l),s!==null){a.blockedOn=s,ye(a.priority,function(){tE(l)});return}}else if(s===3&&l.stateNode.current.memoizedState.isDehydrated){a.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}a.blockedOn=null}function bd(a){if(a.blockedOn!==null)return!1;for(var s=a.targetContainers;0<s.length;){var l=Mm(a.nativeEvent);if(l===null){l=a.nativeEvent;var h=new l.constructor(l.type,l);Dh=h,l.target.dispatchEvent(h),Dh=null}else return s=Mt(l),s!==null&&eE(s),a.blockedOn=l,!1;s.shift()}return!0}function iE(a,s,l){bd(a)&&l.delete(s)}function qk(){km=!1,Fi!==null&&bd(Fi)&&(Fi=null),qi!==null&&bd(qi)&&(qi=null),Yi!==null&&bd(Yi)&&(Y
10i=null),ru.forEach(iE),nu.forEach(iE)}function wd(a,s){a.blockedOn===s&&(a.blockedOn=null,km||(km=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,qk)))}var Sd=null;function sE(a){Sd!==a&&(Sd=a,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Sd===a&&(Sd=null);for(var s=0;s<a.length;s+=3){var l=a[s],h=a[s+1],b=a[s+2];if(typeof h!="function"){if(Dm(h||l)===null)continue;break}var S=Mt(l);S!==null&&(a.splice(s,3),s-=3,Mp(S,{pending:!0,data:b,method:l.method,action:h},h,b))}}))}function No(a){function s(J){return wd(J,a)}Fi!==null&&wd(Fi,a),qi!==null&&wd(qi,a),Yi!==null&&wd(Yi,a),ru.forEach(s),nu.forEach(s);for(var l=0;l<Vi.length;l++){var h=Vi[l];h.blockedOn===a&&(h.blockedOn=null)}for(;0<Vi.length&&(l=Vi[0],l.blockedOn===null);)aE(l),l.blockedOn===null&&Vi.shift();if(l=(a.ownerDocument||a).$$reactFormReplay,l!=null)for(h=0;h<l.length;h+=3){var b=l[h],S=l[h+1],N=b[Te]||null;if(typeof S=="function")N||sE(l);else if(N){var V=null;if(S&&S.hasAttribute("formAction")){if(b=S,N=S[Te]||null)V=N.formAction;else if(Dm(b)!==null)continue}else V=N.action;typeof V=="function"?l[h+1]=V:(l.splice(h,3),h-=3),sE(l)}}}function oE(){function a(S){S.canIntercept&&S.info==="react-transition"&&S.intercept({handler:function(){return new Promise(function(N){return b=N})},focusReset:"manual",scroll:"manual"})}function s(){b!==null&&(b(),b=null),h||setTimeout(l,20)}function l(){if(!h&&!navigation.transition){var S=navigation.currentEntry;S&&S.url!=null&&navigation.navigate(S.url,{state:S.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var h=!1,b=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",s),navigation.addEventListener("navigateerror",s),setTimeout(l,100),function(){h=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",s),navigation.removeEventListener("navigateerror",s),b!==null&&(b(),b=null)}}}function Lm(a){this._internalRoot=a}Ed.prototype.render=Lm.prototype.render=function(a){var s=this._internalRoot;if(s===null)throw Error(n(409));var l=s.current,h=Rn();ZS(l,h,a,s,null,null)},Ed.prototype.unmount=Lm.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var s=a.containerInfo;ZS(a.current,2,null,a,null,null),rd(),s[_e]=null}};function Ed(a){this._internalRoot=a}Ed.prototype.unstable_scheduleHydration=function(a){if(a){var s=ve();a={blockedOn:null,target:a,priority:s};for(var l=0;l<Vi.length&&s!==0&&s<Vi[l].priority;l++);Vi.splice(l,0,a),l===0&&aE(a)}};var lE=e.version;if(lE!=="19.2.7")throw Error(n(527,lE,"19.2.7"));A.findDOMNode=function(a){var s=a._reactInternals;if(s===void 0)throw typeof a.render=="function"?Error(n(188)):(a=Object.keys(a).join(","),Error(n(268,a)));return a=d(s),a=a!==null?p(a):null,a=a===null?null:a.stateNode,a};var Yk={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var xd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!xd.isDisabled&&xd.supportsFiber)try{pr=xd.inject(Yk),Ut=xd}catch{}}return su.createRoot=function(a,s){if(!i(a))throw Error(n(299));var l=!1,h="",b=m1,S=g1,N=v1;return s!=null&&(s.unstable_strictMode===!0&&(l=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onUncaughtError!==void 0&&(b=s.onUncaughtError),s.onCaughtError!==void 0&&(S=s.onCaughtError),s.onRecoverableError!==void 0&&(N=s.onRecoverableError)),s=KS(a,1,!1,null,null,l,h,null,b,S,N,oE),a[_e]=s.current,pm(a),new Lm(s)},su.hydrateRoot=function(a,s,l){if(!i(a))throw Error(n(299));var h=!1,b="",S=m1,N=g1,V=v1,J=null;return l!=null&&(l.unstable_strictMode===!0&&(h=!0),l.identifierPrefix!==void 0&&(b=l.identifierPrefix),l.onUncaughtError!==void 0&&(S=l.onUncaughtError),l.onCaughtError!==void 0&&(N=l.onCaughtError),l.onRecoverableError!==void 0&&(V=l.onRecoverableError),l.formState!==void 0&&(J=l.formState)),s=KS(a,1,!0,s,l??null,h,b,J,S,N,V,oE),s.context=QS(null),l=s.current,h=Rn(),h=re(h),b=Di(h),b.callback=null,ki(l,b,h),l=h,s.current.lanes=l,$t(s,l),Sa(s),a[_e]=s.current,pm(a),new Ed(s)},su.version="19.2.7",su}var yE;function rL(){if(yE)return zm.exports;yE=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),zm.exports=tL(),zm.exports}var nL=rL();var tC=t=>{throw TypeError(t)},rC=(t,e,r)=>e.has(t)||tC("Cannot "+r),Vn=(t,e,r)=>(rC(t,e,"read from private field"),r?r.call(t):e.get(t)),vu=(t,e,r)=>e.has(t)?tC("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),Ea=(t,e,r,n)=>(rC(t,e,"write to private field"),e.set(t,r),r),bE="popstate";function wE(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function aL(t={}){function e(n,i){let o=i.state?.masked,{pathname:u,search:c,hash:f}=o||n.location;return ju("",{pathname:u,search:c,hash:f},i.state&&i.state.usr||null,i.state&&i.state.key||"default",o?{pathname:n.location.pathname,search:n.location.search,hash:n.location.hash}:void 0)}function r(n,i){return typeof i=="string"?i:ka(i)}return sL(e,r,null,t)}function tt(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function ir(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function iL(){return Math.random().toString(36).substring(2,10)}function SE(t,e){return{usr:t.state,key:t.key,idx:e,masked:t.mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function ju(t,e,r=null,n,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?Pa(e):e,state:r,key:e&&e.key||n||iL(),mask:i}}function ka({pathname:t="/",search:e="",hash:r=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Pa(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substring(r),t=t.substring(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substring(n),t=t.substring(0,n)),t&&(e.pathname=t)}return e}function sL(t,e,r,n={}){let{window:i=document.defaultView,v5Compat:o=!1}=n,u=i.history,c="POP",f=null,d=p();
10d==null&&(d=0,u.replaceState({...u.state,idx:d},""));function p(){return(u.state||{idx:null}).idx}function m(){c="POP";let E=p(),T=E==null?null:E-d;d=E,f&&f({action:c,location:w.location,delta:T})}function g(E,T){c="PUSH";let x=wE(E)?E:ju(w.location,E,T);d=p()+1;let _=SE(x,d),O=w.createHref(x.mask||x);try{u.pushState(_,"",O)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(O)}o&&f&&f({action:c,location:w.location,delta:1})}function y(E,T){c="REPLACE";let x=wE(E)?E:ju(w.location,E,T);d=p();let _=SE(x,d),O=w.createHref(x.mask||x);u.replaceState(_,"",O),o&&f&&f({action:c,location:w.location,delta:0})}function v(E){return nC(i,E)}let w={get action(){return c},get location(){return t(i,u)},listen(E){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(bE,m),f=E,()=>{i.removeEventListener(bE,m),f=null}},createHref(E){return e(i,E)},createURL:v,encodeLocation(E){let T=v(E);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:g,replace:y,go(E){return u.go(E)}};return w}function nC(t,e,r=!1){let n="http://localhost";t&&(n=t.location.origin!=="null"?t.location.origin:t.location.href),tt(n,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:ka(e);return i=i.replace(/ $/,"%20"),!r&&i.startsWith("//")&&(i=n+i),new URL(i,n)}var yu,EE=class{constructor(t){if(vu(this,yu,new Map),t)for(let[e,r]of t)this.set(e,r)}get(t){if(Vn(this,yu).has(t))return Vn(this,yu).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,e){Vn(this,yu).set(t,e)}};yu=new WeakMap;var oL=new Set(["lazy","caseSensitive","path","id","index","children"]);function lL(t){return oL.has(t)}var uL=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function cL(t){return uL.has(t)}function dL(t){return t.index===!0}function Iu(t,e,r=[],n={},i=!1){return t.map((o,u)=>{let c=[...r,String(u)],f=typeof o.id=="string"?o.id:c.join("-");if(tt(o.index!==!0||!o.children,"Cannot specify children on an index route"),tt(i||!n[f],`Found a route id collision on i
10d "${f}". Route id's must be globally unique within Data Router usages`),dL(o)){let d={...o,id:f};return n[f]=xE(d,e(d)),d}else{let d={...o,id:f,children:void 0};return n[f]=xE(d,e(d)),o.children&&(d.children=Iu(o.children,e,c,n,i)),d}})}function xE(t,e){return Object.assign(t,{...e,...typeof e.lazy=="object"&&e.lazy!=null?{lazy:{...t.lazy,...e.lazy}}:{}})}function aC(t,e,r="/"){return ua(t,e,r,!1)}function ua(t,e,r,n,i){let o=typeof e=="string"?Pa(e):e,u=Ln(o.pathname||"/",r);if(u==null)return null;let c=i??Hd(t),f=null,d=xL(u);for(let p=0;f==null&&p<c.length;++p)f=SL(c[p],d,n);return f}function iC(t,e){let{route:r,pathname:n,params:i}=t;return{id:r.id,pathname:n,params:i,data:e[r.id],loaderData:e[r.id],handle:r.handle}}function Hd(t){let e=sC(t);return fL(e),e}function sC(t,e=[],r=[],n="",i=!1){let o=(u,c,f=i,d)=>{let p={relativePath:d===void 0?u.path||"":d,caseSensitive:u.caseSensitive===!0,childrenIndex:c,route:u};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(n)&&f)return;tt(p.relativePath.startsWith(n),`Absolute route path "${p.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(n.length)}let m=Kn([n,p.relativePath]),g=r.concat(p);u.children&&u.children.length>0&&(tt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),sC(u.children,e,g,m,f)),!(u.path==null&&!u.index)&&e.push({path:m,score:bL(m,u.index),routesMeta:g})};return t.forEach((u,c)=>{if(u.path===""||!u.path?.includes("?"))o(u,c);else for(let f of oC(u.path))o(u,c,!0,f)}),e}function oC(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,i=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return i?[o,""]:[o];let u=oC(n.join("/")),c=[];return c.push(...u.map(f=>f===""?o:[o,f].join("/"))),i&&c.push(...u),c.map(f=>t.startsWith("/")&&f===""?"/":f)}function fL(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:wL(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var hL=/^:[\w-]+$/,pL=3,mL=2,gL=1,vL=10,yL=-2,_E=t=>t==="*";function bL(t,e){let r=t.split("/"),n=r.length;return r.some(_E)&&(n+=yL),e&&(n+=mL),r.filter(i=>!_E(i)).reduce((i,o)=>i+(hL.test(o)?pL:o===""?gL:vL),n)}function wL(t,e){return t.length===e.length&&t.slice(0,-1).every((n,i)=>n===e[i])?t[t.length-1]-e[e.length-1]:0}function SL(t,e,r=!1){let{routesMeta:n}=t,i={},o="/",u=[];for(let c=0;c<n.length;++c){let f=n[c],d=c===n.length-1,p=o==="/"?e:e.slice(o.length)||"/",m=hf({path:f.relativePath,caseSensitive:f.caseSensitive,end:d},p),g=f.route;if(!m&&d&&r&&!n[n.length-1].route.index&&(m=hf({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},p)),!m)return null;
10Object.assign(i,m.params),u.push({params:i,pathname:Kn([o,m.pathname]),pathnameBase:CL(Kn([o,m.pathnameBase])),route:g}),m.pathnameBase!=="/"&&(o=Kn([o,m.pathnameBase]))}return u}function hf(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=EL(t.path,t.caseSensitive,t.end),i=e.match(r);if(!i)return null;let o=i[0],u=o.replace(/(.)\/+$/,"$1"),c=i.slice(1);return{params:n.reduce((d,{paramName:p,isOptional:m},g)=>{if(p==="*"){let v=c[g]||"";u=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const y=c[g];return m&&!y?d[p]=void 0:d[p]=(y||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:u,pattern:t}}function EL(t,e=!1,r=!0){ir(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let n=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,c,f,d,p)=>{if(n.push({paramName:c,isOptional:f!=null}),f){let m=p.charAt(d+u.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(n.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),n]}function xL(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return ir(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function Ln(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}function _L({basename:t,pathname:e}){return e==="/"?t:Kn([t,e])}var lC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,sy=t=>lC.test(t);function TL(t,e="/"){let{pathname:r,search:n="",hash:i=""}=typeof t=="string"?Pa(t):t,o;return r?(r=oy(r),r.startsWith("/")?o=TE(r.substring(1),"/"):o=TE(r,e)):o=e,{pathname:o,search:RL(n),hash:AL(i)}}function TE(t,e){let r=pf(e).split("/");return t.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function $m(t,e,r,n){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function uC(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function jf(t){let e=uC(t);return e.map((r,n)=>n===e.length-1?r.pathname:r.pathnameBase)}function Ku(t,e,r,n=!1){let i;typeof t=="string"?i=Pa(t):(i={...t},tt(!i.pathname||!i.pathname.includes("?"),$m("?","pathname","search",i)),tt(!i.pathname||!i.pathname.includes("#"),$m("#","pathname","hash",i)),tt(!i.search||!i.search.includes("#"),$m("#","search","hash",i)));let o=t===""||i.pathname==="",u=o?"/":i.pathname,c;if(u==null)c=r;else{let m=e.length-1;if(!n&&u.startsWith("..")){let g=u.split("/");for(;g[0]==="..";)g.shift(),m-=1;i.pathname=g.join("/")}c=m>=0?e[m]:"/"}let f=TL(i,c),d=u&&u!=="/"&&u.endsWith("/"),p=(o||u===".")&&r.endsWith("/");return!f.pathname.endsWith("/")&&(d||p)&&(f.pathname+="/"),f}var oy=t=>t.replace(/\/\/+/g,"/"),Kn=t=>oy(t.join("/")),pf=t=>t.replace(/\/+$/,""),CL=t=>pf(t).replace(/^\/*/,"/"),RL=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,AL=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,Qu=class{constructor(t,e,r,n=!1){this.status=t,this.statusText=e||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function tl(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Zu(t){let e=t.map(r=>r.route.path).filter(Boolean);return Kn(e)||"/"}var cC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function dC(t,e){let r=t;if(typeof r!="string"||!lC.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,i=!1;if(cC)try{let o=new URL(window.location.href),u=r.startsWith("//")?new URL(o.protocol+r):new URL(r),c=Ln(u.pathname,e);
10u.origin===o.origin&&c!=null?r=c+u.search+u.hash:i=!0}catch{ir(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:i,to:r}}var rs=Symbol("Uninstrumented");function OL(t,e){let r={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};t.forEach(i=>i({id:e.id,index:e.index,path:e.path,instrument(o){let u=Object.keys(r);for(let c of u)o[c]&&r[c].push(o[c])}}));let n={};if(typeof e.lazy=="function"&&r.lazy.length>0){let i=qo(r.lazy,e.lazy,()=>{});i&&(n.lazy=i)}if(typeof e.lazy=="object"){let i=e.lazy;["middleware","loader","action"].forEach(o=>{let u=i[o],c=r[`lazy.${o}`];if(typeof u=="function"&&c.length>0){let f=qo(c,u,()=>{});f&&(n.lazy=Object.assign(n.lazy||{},{[o]:f}))}})}return["loader","action"].forEach(i=>{let o=e[i];if(typeof o=="function"&&r[i].length>0){let u=o[rs]??o,c=qo(r[i],u,(...f)=>CE(f[0]));c&&(i==="loader"&&u.hydrate===!0&&(c.hydrate=!0),c[rs]=u,n[i]=c)}}),e.middleware&&e.middleware.length>0&&r.middleware.length>0&&(n.middleware=e.middleware.map(i=>{let o=i[rs]??i,u=qo(r.middleware,o,(...c)=>CE(c[0]));return u?(u[rs]=o,u):i})),n}function ML(t,e){let r={navigate:[],fetch:[]};if(e.forEach(n=>n({instrument(i){let o=Object.keys(i);for(let u of o)i[u]&&r[u].push(i[u])}})),r.navigate.length>0){let n=t.navigate[rs]??t.navigate,i=qo(r.navigate,n,(...o)=>{let[u,c]=o;return{to:typeof u=="number"||typeof u=="string"?u:u?ka(u):".",...RE(t,c??{})}});i&&(i[rs]=n,t.navigate=i)}if(r.fetch.length>0){let n=t.fetch[rs]??t.fetch,i=qo(r.fetch,n,(...o)=>{let[u,,c,f]=o;return{href:c??".",fetcherKey:u,...RE(t,f??{})}});i&&(i[rs]=n,t.fetch=i)}return t}function qo(t,e,r){return t.length===0?null:async(...n)=>{let i=await fC(t,r(...n),()=>e(...n),t.length-1);if(i.type==="error")throw i.value;return i.value}}async function fC(t,e,r,n){let i=t[n],o;if(i){let u,c=async()=>(u?console.error("You cannot call instrumented handlers more than once"):u=fC(t,e,r,n-1),o=await u,tt(o,"Expected a result"),o.type==="error"&&o.value instanceof Error?{status:"error",error:o.value}:{status:"success",error:void 0});try{await i(c,e)}catch(f){console.error("An instrumentation function threw an error:",f)}u||await c(),await u}else try{o={type:"success",value:await r()}}catch(u){o={type:"error",value:u}}return o||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function CE(t){let{request:e,context:r,params:n,pattern:i}=t;return{request:DL(e),params:{...n},pattern:i,context:kL(r)}}function RE(t,e){return{currentUrl:ka(t.state.location),..."formMethod"in e?{formMethod:e.formMethod}:{},..."formEncType"in e?{formEncType:e.formEncType}:{},..."formData"in e?{formData:e.formData}:{},..."body"in e?{body:e.body}:{}}}function DL(t){return{method:t.method,url:t.url,headers:{get:(...e)=>t.headers.get(...e)}}}function kL(t){if(NL(t)){let e={...t};return Object.freeze(e),e}else return{get:e=>t.get(e)}}var LL=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function NL(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e===Object.prototype||e===null||Object.getOwnPropertyNames(e).sort().join("\0")===LL}var hC=["POST","PUT","PATCH","DELETE"],PL=new Set(hC),zL=["GET",...hC],jL=new Set(zL),pC=new Set([301,302,303,307,308]),IL=new Set([307,308]),Hm={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},UL={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ou={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},$L=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),mC="remix-router-transitions",gC=Symbol("ResetLoaderData"),Os,$o,Zi,Ho,HL=class{constructor(t){vu(this,Os),vu(this,$o),vu(this,Zi),vu(this,Ho),Ea(this,Os,t),Ea(this,$o,Hd(t))}get stableRoutes(){return Vn(this,Os)}get activeRoutes(){return Vn(this,Zi)??Vn(this,Os)}get branches(){return Vn(this,Ho)??Vn(this,$o)}get hasHMRRoutes(){return Vn(this,Zi)!=null}setRoutes(t){Ea(this,Os,t),Ea(this,$o,Hd(t))}setHmrRoutes(t){Ea(this,Zi,t),Ea(this,Ho,Hd(t))}commitHmrRoutes(){Vn(this,Zi)&&(Ea(this,Os,Vn(this,Zi)),Ea(this,$o,Vn(this,Ho)),Ea(this,Zi,void 0),Ea(this,Ho,void 0))}};Os=new WeakMap;$o=new WeakMap;Zi=new WeakMap;Ho=new WeakMap;function BL(t){const e=t.window?t.window:typeof window<"u"?window:void 0,r=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u";tt(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let n=t.hydrationRouteProperties||[],i=t.mapRouteProperties||$L,o=i;if(t.instrumentations){let Z=t.instrumentations;o=re=>({...i(re),...OL(Z.map(se=>
10se.route).filter(Boolean),re)})}let u={},c=new HL(Iu(t.routes,o,void 0,u)),f=t.basename||"/";f.startsWith("/")||(f=`/${f}`);let d=t.dataStrategy||GL,p={...t.future},m=null,g=new Set,y=null,v=null,w=null,E=null,T=t.hydrationData!=null,x=ua(c.activeRoutes,t.history.location,f,!1,c.branches),_=!1,O=null,k,L;if(x==null&&!t.patchRoutesOnNavigation){let Z=Gn(404,{pathname:t.history.location.pathname}),{matches:re,route:se}=_d(c.activeRoutes);k=!0,L=!k,x=re,O={[se.id]:Z}}else if(x&&!t.hydrationData&&mr(x,c.activeRoutes,t.history.location.pathname).active&&(x=null),x)if(x.some(Z=>Z.route.lazy))k=!1,L=!k;else if(!x.some(Z=>ly(Z.route)))k=!0,L=!k;else{let Z=t.hydrationData?t.hydrationData.loaderData:null,re=t.hydrationData?t.hydrationData.errors:null,se=x;if(re){let ve=x.findIndex(ye=>re[ye.route.id]!==void 0);se=se.slice(0,ve+1)}L=!1,k=!0,se.forEach(ve=>{let ye=vC(ve.route,Z,re);L=L||ye.renderFallback,k=k&&!ye.shouldLoad})}else{k=!1,L=!k,x=[];let Z=mr(null,c.activeRoutes,t.history.location.pathname);Z.active&&Z.matches&&(_=!0,x=Z.matches)}let H,C={historyAction:t.history.action,location:t.history.location,matches:x,initialized:k,renderFallback:L,navigation:Hm,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||O,fetchers:new Map,blockers:new Map},D="POP",M=null,P=!1,U,I=!1,z=new Map,F=null,R=!1,A=!1,B=new Set,q=new Map,K=0,$=-1,Y=new Map,G=new Set,W=new Map,X=new Map,Q=new Set,ae=new Map,de,pe=null;function Se(){if(m=t.history.listen(({action:Z,location:re,delta:se})=>{if(de){de(),de=void 0;return}ir(ae.size===0||se!=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 ve=Tr({currentLocation:C.location,nextLocation:re,historyAction:Z});if(ve&&se!=null){let ye=new Promise(Oe=>{de=Oe});t.history.go(se*-1),bn(ve,{state:"blocked",location:re,proceed(){bn(ve,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),ye.then(()=>t.history.go(se))},reset(){let Oe=new Map(C.blockers);Oe.set(ve,ou),Ue({blockers:Oe})}}),M?.resolve(),M=null;return}return Be(Z,re)}),r){d4(e,z);let Z=()=>f4(e,z);e.addEventListener("pagehide",Z),F=()=>e.removeEventListener("pagehide",Z)}return C.initialized||Be("POP",C.location,{initialHydration:!0}),H}function be(){m&&m(),F&&F(),g.clear(),U&&U.abort(),C.fetchers.forEach((Z,re)=>pr(C.fetchers,re)),C.blockers.forEach((Z,re)=>Xr(re))}function ke(Z){if(g.add(Z),y){let{newErrors:re}=y;y=null,Z(C,{deletedFetchers:[],newErrors:re,viewTransitionOpts:void 0,flushSync:!1})}return()=>g.delete(Z)}function Ue(Z,re={}){Z.matches&&(Z.matches=Z.matches.map(ye=>{let Oe=u[ye.route.id],Ee=ye.route;return Ee.element!==Oe.element||Ee.errorElement!==Oe.errorElement||Ee.hydrateFallbackElement!==Oe.hydrateFallbackElement?{...ye,route:Oe}:ye})),C={...C,...Z};let se=[],ve=[];C.fetchers.forEach((ye,Oe)=>{ye.state==="idle"&&(Q.has(Oe)?se.push(Oe):ve.push(Oe))}),Q.forEach(ye=>{!C.fetchers.has(ye)&&!q.has(ye)&&se.push(ye)}),g.size===0&&(y={newErrors:Z.errors??null}),[...g].forEach(ye=>ye(C,{deletedFetchers:se,newErrors:Z.errors??null,viewTransitionOpts:re.viewTransitionOpts,flushSync:re.flushSync===!0})),se.forEach(ye=>pr(C.fetchers,ye)),ve.forEach(ye=>C.fetchers.delete(ye))}function Pe(Z,re,{flushSync:se}={}){let ve=C.actionData!=null&&C.navigation.formMethod!=null&&Yr(C.navigation.formMethod)&&C.navigation.state==="loading"&&Z.state?._isRedirect!==!0,ye;re.actionData?Object.keys(re.actionData).length>0?ye=re.actionData:ye=null:ve?ye=C.actionData:ye=null;let Oe=re.loaderData?IE(C.loaderData,re.loaderData,re.matches||[],re.errors):C.loaderData,Ee=C.blockers;Ee.size>0&&(Ee=new Map(Ee),Ee.forEach((He,Qe)=>Ee.set(Qe,ou)));let Te=R?!1:Yt(Z,re.matches||C.matches),_e=P===!0||C.navigation.formMethod!=null&&Yr(C.navigation.formMethod)&&Z.state?._isRedirect!==!0;c.commitHmrRoutes(),R||D==="POP"||(D==="PUSH"?t.history.push(Z,Z.state):D==="REPLACE"&&t.history.replace(Z,Z.state));let $e;if(D==="POP"){let He=z.get(C.location.pathname);He&&He.has(Z.pathname)?$e={currentLocation:C.location,nextLocation:Z}:z.has(Z.pathname)&&($e={currentLocation:Z,nextLocation:C.location})}else if(I){let He=z.get(C.location.pathname);He?He.add(Z.pathname):(He=new Set([Z.pathname]),z.set(C.location.pathname,He)),$e={currentLocation:C.location,nextLocation:Z}}Ue({...re,actionData:ye,loaderData:Oe,historyAction:D,location:Z,initialized:!0,renderFallback:!1,navigation:Hm,revalidation:"idle",restoreScrollPosition:Te,preventScrollReset:_e,blockers:Ee},{viewTransitionOpts:$e,flushSync:se===!0}),D="POP",P=!1,I=!1,R=!1,A=!1,M?.resolve(),M=null,pe?.resolve(),pe=null}async function Ge(Z,re){if(M?.resolve(),M=null,typeof Z=="number"){M||(M=BE());let Et=M.promise;return t.history.go(Z),Et}let se=pv(C.location,C.matches,f,Z,re?.fromRouteId,re?.relative),{path:ve,submission:ye,error:Oe}=AE(!1,se,re),Ee;re?.mask&&(Ee={pathname:"",search:"",hash:"",...typeof re.mask=="str
10ing"?Pa(re.mask):{...C.location.mask,...re.mask}});let Te=C.location,_e=ju(Te,ve,re&&re.state,void 0,Ee);_e={..._e,...t.history.encodeLocation(_e)};let $e=re&&re.replace!=null?re.replace:void 0,He="PUSH";$e===!0?He="REPLACE":$e===!1||ye!=null&&Yr(ye.formMethod)&&ye.formAction===C.location.pathname+C.location.search&&(He="REPLACE");let Qe=re&&"preventScrollReset"in re?re.preventScrollReset===!0:void 0,qe=(re&&re.flushSync)===!0,it=Tr({currentLocation:Te,nextLocation:_e,historyAction:He});if(it){bn(it,{state:"blocked",location:_e,proceed(){bn(it,{state:"proceeding",proceed:void 0,reset:void 0,location:_e}),Ge(Z,re)},reset(){let Et=new Map(C.blockers);Et.set(it,ou),Ue({blockers:Et})}});return}await Be(He,_e,{submission:ye,pendingError:Oe,preventScrollReset:Qe,replace:re&&re.replace,enableViewTransition:re&&re.viewTransition,flushSync:qe,callSiteDefaultShouldRevalidate:re&&re.defaultShouldRevalidate})}function vt(){pe||(pe=BE()),At(),Ue({revalidation:"loading"});let Z=pe.promise;return C.navigation.state==="submitting"?Z:C.navigation.state==="idle"?(Be(C.historyAction,C.location,{startUninterruptedRevalidation:!0}),Z):(Be(D||C.historyAction,C.navigation.location,{overrideNavigation:C.navigation,enableViewTransition:I===!0}),Z)}async function Be(Z,re,se){U&&U.abort(),U=null,D=Z,R=(se&&se.startUninterruptedRevalidation)===!0,ur(C.location,C.matches),P=(se&&se.preventScrollReset)===!0,I=(se&&se.enableViewTransition)===!0;let ve=c.activeRoutes,ye=se?.initialHydration&&C.matches&&C.matches.length>0&&!_?C.matches:ua(ve,re,f,!1,c.branches),Oe=(se&&se.flushSync)===!0;if(ye&&C.initialized&&!A&&t4(C.location,re)&&!(se&&se.submission&&Yr(se.submission.formMethod))){Pe(re,{matches:ye},{flushSync:Oe});return}let Ee=mr(ye,ve,re.pathname);if(Ee.active&&Ee.matches&&(ye=Ee.matches),!ye){let{error:Mt,notFoundMatches:wt,route:gr}=lr(re.pathname);Pe(re,{matches:wt,loaderData:{},errors:{[gr.id]:Mt}},{flushSync:Oe});return}let Te=se&&se.overrideNavigation?{...se.overrideNavigation,matches:ye,historyAction:Z}:void 0;U=new AbortController;let _e=Bo(t.history,re,U.signal,se&&se.submission),$e=t.getContext?await t.getContext():new EE,He;if(se&&se.pendingError)He=[es(ye).route.id,{type:"error",error:se.pendingError}];else if(se&&se.submission&&Yr(se.submission.formMethod)){let Mt=await rt(_e,re,se.submission,ye,Z,$e,Ee.active,se&&se.initialHydration===!0,{replace:se.replace,flushSync:Oe});if(Mt.shortCircuited)return;if(Mt.pendingActionResult){let[wt,gr]=Mt.pendingActionResult;if(On(gr)&&tl(gr.error)&&gr.error.status===404){U=null,Pe(re,{matches:Mt.matches,loaderData:{},errors:{[wt]:gr.error}});return}}ye=Mt.matches||ye,He=Mt.pendingActionResult,Te=Bm(re,ye,Z,se.submission),Oe=!1,Ee.active=!1,_e=Bo(t.history,_e.url,_e.signal)}let{shortCircuited:Qe,matches:qe,loaderData:it,errors:Et,workingFetchers:Kt}=await nt(_e,re,ye,Z,$e,Ee.active,Te,se&&se.submission,se&&se.fetcherSubmission,se&&se.replace,se&&se.initialHydration===!0,Oe,He,se&&se.callSiteDefaultShouldRevalidate);Qe||(U=null,Pe(re,{matches:qe||ye,...UE(He),loaderData:it,errors:Et,...Kt?{fetchers:Kt}:{}}))}async function rt(Z,re,se,ve,ye,Oe,Ee,Te,_e={}){At();let $e=u4(re,ve,ye,se);if(Ue({navigation:$e},{flushSync:_e.flushSync===!0}),Ee){let qe=await $t(ve,re.pathname,Z.signal);if(qe.type==="aborted")return{shortCircuited:!0};if(qe.type==="error"){if(qe.partialMatches.length===0){let{matches:Et,route:Kt}=_d(c.activeRoutes);return{matches:Et,pendingActionResult:[Kt.id,{type:"error",error:qe.error}]}}let it=es(qe.partialMatches).route.id;return{matches:qe.partialMatches,pendingActionResult:[it,{type:"error",error:qe.error}]}}else if(qe.matches)ve=qe.matches;else{let{notFoundMatches:it,error:Et,route:Kt}=lr(re.pathname);return{matches:it,pendingActionResult:[Kt.id,{type:"error",error:Et}]}}}let He,Qe=Bd(ve,re);if(!Qe.route.action&&!Qe.route.lazy)He={type:"error",error:Gn(405,{method:Z.method,pathname:re.pathname,routeId:Qe.route.id})};else{let qe=Go(o,u,Z,re,ve,Qe,Te?[]:n,Oe),it=await Wt(Z,re,qe,Oe,null);if(He=it[Qe.route.id],!He){for(let Et of ve)if(it[Et.route.id]){He=it[Et.route.id];break}}if(Z.signal.aborted)return{shortCircuited:!0}}if(Ls(He)){let qe;return _e&&_e.replace!=null?qe=_e.replace:qe=PE(He.response.headers.get("Location"),new URL(Z.url),f,t.history)===C.location.pathname+C.location.search,await Lt(Z,He,!0,{submission:se,replace:qe}),{shortCircuited:!0}}if(On(He)){let qe=es(ve,Qe.route.id);return(_e&&_e.replace)!==!0&&(D="PUSH"),{matches:ve,pendingActionResult:[qe.route.id,He,Qe.route.id]}}return{matches:ve,pendingActionResult:[Qe.route.id,He]}}async function nt(Z,re,se,ve,ye,Oe,Ee,Te,_e,$e,He,Qe,qe,it){let Et=Ee||Bm(re,se,ve,Te),Kt=Te||_e||HE(Et),Mt=!R&&!He;if(Oe){if(Mt){let Vt=kt(qe);Ue({navigation:Et,...Vt!==void 0?{actionData:Vt}:{}},{flushSync:Qe})}let We=await $t(se,re.pathname,Z.signal);if(We.type==="aborted")return{shortCircuited:!0};if(We.type==="error"){if(We.partialMatches.length===0){let{matches:wn,route:aa}=_d(c.activeRoutes);return{matches:wn,loaderData:{},errors:{[aa.id]:We.error}}}let Vt=es(We.partialMatches).route.id;return{matches:We.partialMatches,loaderData:{},errors:{[Vt]:We.error}}}else if(We.matches)se=We.matches;else{let{error:Vt,notFoundMatches:wn,route:aa}=lr(re.pathname);return{matches:wn,loaderData:{},errors:{[aa.id]:Vt}}}}let wt=c.activeRoutes,{dsMatches:gr,revalidatingFetchers:St}=OE(Z,ye,o,u,t.history,C,se,Kt,re,He?[]:n,He===!0,A,B,Q,W,G,wt,f,t.patchRoutesOnNavigation!=null,c.branches,qe,it);if($=++K,!t.dataStrategy&&!gr.some(We=>We.shouldLoad)&&!gr.some(We=>We.route.middleware&&We.route.middleware.length>0)&&St.length===0){let We=new Map(C.fetchers),Vt=xi(We);return Pe(re,{matches:se,loaderData:{},errors:qe&&On(qe[1])?{[qe[0]]:qe[1].error}:null,...UE(qe),...Vt?{fetchers:We}:{}},{flushSync:Qe}),{shortCircuited:!0}}if(Mt){let We={};
10if(!Oe){We.navigation=Et;let Vt=kt(qe);Vt!==void 0&&(We.actionData=Vt)}St.length>0&&(We.fetchers=yt(St)),Ue(We,{flushSync:Qe})}St.forEach(We=>{Pt(We.key),We.controller&&q.set(We.key,We.controller)});let _i=()=>St.forEach(We=>Pt(We.key));U&&U.signal.addEventListener("abort",_i);let{loaderResults:ra,fetcherResults:nn}=await _r(gr,St,Z,re,ye);if(Z.signal.aborted)return{shortCircuited:!0};U&&U.signal.removeEventListener("abort",_i),St.forEach(We=>q.delete(We.key));let Wr=Td(ra);if(Wr)return await Lt(Z,Wr.result,!0,{replace:$e}),{shortCircuited:!0};if(Wr=Td(nn),Wr)return G.add(Wr.key),await Lt(Z,Wr.result,!0,{replace:$e}),{shortCircuited:!0};let zn=new Map(C.fetchers),{loaderData:Qs,errors:na}=jE(C,se,ra,qe,St,nn,zn);He&&C.errors&&(na={...C.errors,...na});let Zs=xi(zn),$a=Pn($,zn),Ha=Zs||$a||St.length>0;return{matches:se,loaderData:Qs,errors:na,...Ha?{workingFetchers:zn}:{}}}function kt(Z){if(Z&&!On(Z[1]))return{[Z[0]]:Z[1].data};if(C.actionData)return Object.keys(C.actionData).length===0?null:C.actionData}function yt(Z){let re=new Map(C.fetchers);return Z.forEach(se=>{let ve=re.get(se.key),ye=lu(void 0,ve?ve.data:void 0);re.set(se.key,ye)}),re}async function ft(Z,re,se,ve){Pt(Z);let ye=(ve&&ve.flushSync)===!0,Oe=c.activeRoutes,Ee=pv(C.location,C.matches,f,se,re,ve?.relative),Te=ua(Oe,Ee,f,!1,c.branches),_e=mr(Te,Oe,Ee);if(_e.active&&_e.matches&&(Te=_e.matches),!Te){pt(Z,re,Gn(404,{pathname:Ee}),{flushSync:ye});return}let{path:$e,submission:He,error:Qe}=AE(!0,Ee,ve);if(Qe){pt(Z,re,Qe,{flushSync:ye});return}let qe=t.getContext?await t.getContext():new EE,it=(ve&&ve.preventScrollReset)===!0;if(He&&Yr(He.formMethod)){await ht(Z,re,$e,Te,qe,_e.active,ye,it,He,ve&&ve.defaultShouldRevalidate);return}W.set(Z,{routeId:re,path:$e}),await Ve(Z,re,$e,Te,qe,_e.active,ye,it,He)}async function ht(Z,re,se,ve,ye,Oe,Ee,Te,_e,$e){At(),W.delete(Z);let He=C.fetchers.get(Z);Nt(Z,c4(_e,He),{flushSync:Ee});let Qe=new AbortController,qe=Bo(t.history,se,Qe.signal,_e);if(Oe){let zt=await $t(ve,new URL(qe.url).pathname,qe.signal,Z);if(zt.type==="aborted")return;if(zt.type==="error"){pt(Z,re,zt.error,{flushSync:Ee});return}else if(zt.matches)ve=zt.matches;else{pt(Z,re,Gn(404,{pathname:se}),{flushSync:Ee});return}}let it=Bd(ve,se);if(!it.route.action&&!it.route.lazy){let zt=Gn(405,{method:_e.formMethod,pathname:se,routeId:re});pt(Z,re,zt,{flushSync:Ee});return}q.set(Z,Qe);let Et=K,Kt=Go(o,u,qe,se,ve,it,n,ye),Mt=await Wt(qe,se,Kt,ye,Z),wt=Mt[it.route.id];if(!wt){for(let zt of Kt)if(Mt[zt.route.id]){wt=Mt[zt.route.id];break}}if(qe.signal.aborted){q.get(Z)===Qe&&q.delete(Z);return}if(Q.has(Z)){if(Ls(wt)||On(wt)){Nt(Z,Ta(void 0));return}}else{if(Ls(wt))if(q.delete(Z),$>Et){Nt(Z,Ta(void 0));return}else return G.add(Z),Nt(Z,lu(_e)),Lt(qe,wt,!1,{fetcherSubmission:_e,preventScrollReset:Te});if(On(wt)){pt(Z,re,wt.error);return}}let gr=C.navigation.location||C.location,St=Bo(t.history,gr,Qe.signal),_i=c.activeRoutes,ra=C.navigation.state!=="idle"?ua(_i,C.navigation.location,f,!1,c.branches):C.matches;tt(ra,"Didn't find any matches after fetcher action");let nn=++K;Y.set(Z,nn);let{dsMatches:Wr,revalidatingFetchers:zn}=OE(St,ye,o,u,t.history,C,ra,_e,gr,n,!1,A,B,Q,W,G,_i,f,t.patchRoutesOnNavigation!=null,c.branches,[it.route.id,wt],$e),Qs=lu(_e,wt.data),na=new Map(C.fetchers);na.set(Z,Qs),zn.filter(zt=>zt.key!==Z).forEach(zt=>{let Ba=zt.key,Kr=na.get(Ba),vl=lu(void 0,Kr?Kr.data:void 0);na.set(Ba,vl),Pt(Ba),zt.controller&&q.set(Ba,zt.controller)}),Ue({fetchers:na});let Zs=()=>zn.forEach(zt=>Pt(zt.key));Qe.signal.addEventListener("abort",Zs);let{loaderResults:$a,fetcherResults:Ha}=await _r(Wr,zn,St,gr,ye);if(Qe.signal.aborted)return;Qe.signal.removeEventListener("abort",Zs),Y.delete(Z),q.delete(Z),zn.forEach(zt=>q.delete(zt.key));let We=C.fetchers.has(Z),Vt=zt=>{if(!We)return zt;let Ba=new Map(zt.fetchers);return Ba.set(Z,Ta(wt.data)),{...zt,fetchers:Ba}},wn=Td($a);if(wn)return C=Vt(C),Lt(St,wn.result,!1,{preventScrollReset:Te});if(wn=Td(Ha),wn)return G.add(wn.key),C=Vt(C),Lt(St,wn.result,!1,{preventScrollReset:Te});let aa=new Map(C.fetchers);We&&aa.set(Z,Ta(wt.data));let{loaderData:Js,errors:eo}=jE(C,ra,$a,void 0,zn,Ha,aa);Pn(nn,aa),C.navigation.state==="loading"&&nn>$?(tt(D,"Expected pending action"),U&&U.abort(),Pe(C.navigation.location,{matches:ra,loaderData:Js,errors:eo,fetchers:aa})):(Ue({errors:eo,loaderData:IE(C.loaderData,Js,ra,eo),fetchers:aa}),A=!1)}async function Ve(Z,re,se,ve,ye,Oe,Ee,Te,_e){let $e=C.fetchers.get(Z);Nt(Z,lu(_e,$e?$e.data:void 0),{flushSync:Ee});let He=new AbortController,Qe=Bo(t.history,se,He.signal);if(Oe){let wt=await $t(ve,new URL(Qe.url).pathname,Qe.signal,Z);if(wt.type==="aborted")return;if(wt.type==="error"){pt(Z,re,wt.error,{flushSync:Ee});return}else if(wt.matches)ve=wt.matches;else{pt(Z,re,Gn(404,{pathname:se}),{flushSync:Ee});return}}let qe=Bd(ve,se);q.set(Z,He);let it=K,Et=Go(o,u,Qe,se,ve,qe,n,ye),Kt=await Wt(Qe,se,Et,ye,Z),Mt=Kt[qe.route.id];if(!Mt){for(let wt of ve)if(Kt[wt.route.id]){Mt=Kt[wt.route.id];break}}if(q.get(Z)===He&&q.delete(Z),!Qe.signal.aborted){if(Q.has(Z)){Nt(Z,Ta(void 0));return}if(Ls(Mt))if($>it){Nt(Z,Ta(void 0));return}else{G.add(Z),await Lt(Qe,Mt,!1,{preventScrollReset:Te});return}if(On(Mt)){pt(Z,re,Mt.error);return}Nt(Z,Ta(Mt.data))}}async function Lt(Z,re,se,{submission:ve,fetcherSubmission:ye,preventScrollReset:Oe,replace:Ee}={}){se||(M?.resolve(),M=null),re.response.headers.has("X-Remix-Revalidate")&&(A=!0);let Te=re.response.headers.get("Location");tt(Te,"Expected a Location header on the redirect Response"),Te=PE(Te,new URL(Z.url),f,t.history);let _e=ju(C.location,Te,{_isRedirect:!0});if(r){let Et=!1;if(re.response.headers.has("X-Remix-Reload-Document"))Et=!0;else if(sy(Te)){const Kt=nC(e,Te,!0);Et=Kt.origin!==e.location.origin||Ln(Kt.pathname,f)==null}if(Et){Ee?e.location.replace(Te):e.location.assign(Te);return}}U=null;let $e=Ee===!0||re.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:He,formAction:Qe,formEncType:qe}=C.navigation;!ve&&!ye&&He&&Qe&&qe&&(ve=HE(C.navigation));let it=ve||ye;if(IL.has(re.response.status)&&it&&Yr(it.formMethod))await Be($e,_e,{submission:{...it,formAction:Te},preventScrollReset:Oe||P,enableViewTransition:se?I:void 0});else{let Et=Bm(_e,[],$e,ve);await Be($e,_e,{overrideNavigation:Et,fetcherSubmission:ye,preventScrollReset:Oe||P,enableViewTransition:se?I:void 0})}}async function Wt(Z,re,se,ve,ye){let Oe,Ee={};try{Oe=await WL(d,Z,re,se,ye,ve,!1)}catch(Te){return se.filter(_e=>
10_e.shouldLoad).forEach(_e=>{Ee[_e.route.id]={type:"error",error:Te}}),Ee}if(Z.signal.aborted)return Ee;if(!Yr(Z.method))for(let Te of se){if(Oe[Te.route.id]?.type==="error")break;!Oe.hasOwnProperty(Te.route.id)&&!C.loaderData.hasOwnProperty(Te.route.id)&&(!C.errors||!C.errors.hasOwnProperty(Te.route.id))&&Te.shouldCallHandler()&&(Oe[Te.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${Te.route.id}`)})}for(let[Te,_e]of Object.entries(Oe))if(i4(_e)){let $e=_e.result;Ee[Te]={type:"redirect",response:JL($e,Z,Te,se,f)}}else Ee[Te]=await ZL(_e);return Ee}async function _r(Z,re,se,ve,ye){let Oe=Wt(se,ve,Z,ye,null),Ee=Promise.all(re.map(async $e=>{if($e.matches&&$e.match&&$e.request&&$e.controller){let Qe=(await Wt($e.request,$e.path,$e.matches,ye,$e.key))[$e.match.route.id];return{[$e.key]:Qe}}else return Promise.resolve({[$e.key]:{type:"error",error:Gn(404,{pathname:$e.path})}})})),Te=await Oe,_e=(await Ee).reduce(($e,He)=>Object.assign($e,He),{});return{loaderResults:Te,fetcherResults:_e}}function At(){A=!0,W.forEach((Z,re)=>{q.has(re)&&B.add(re),Pt(re)})}function Nt(Z,re,se={}){let ve=new Map(C.fetchers);ve.set(Z,re),Ue({fetchers:ve},{flushSync:(se&&se.flushSync)===!0})}function pt(Z,re,se,ve={}){let ye=es(C.matches,re),Oe=new Map(C.fetchers);pr(Oe,Z),Ue({errors:{[ye.route.id]:se},fetchers:Oe},{flushSync:(ve&&ve.flushSync)===!0})}function Or(Z){return X.set(Z,(X.get(Z)||0)+1),Q.has(Z)&&Q.delete(Z),C.fetchers.get(Z)||UL}function sr(Z,re){Pt(Z,re?.reason),Nt(Z,Ta(null))}function pr(Z,re){let se=C.fetchers.get(re);q.has(re)&&!(se&&se.state==="loading"&&Y.has(re))&&Pt(re),W.delete(re),Y.delete(re),G.delete(re),Q.delete(re),B.delete(re),Z.delete(re)}function Ut(Z){let re=(X.get(Z)||0)-1;re<=0?(X.delete(Z),Q.add(Z)):X.set(Z,re),Ue({fetchers:new Map(C.fetchers)})}function Pt(Z,re){let se=q.get(Z);se&&(se.abort(re),q.delete(Z))}function or(Z,re){for(let se of Z){let ve=re.get(se);tt(ve,`Expected fetcher: ${se}`);let ye=Ta(ve.data);re.set(se,ye)}}function xi(Z){let re=[],se=!1;for(let ve of G){let ye=Z.get(ve);tt(ye,`Expected fetcher: ${ve}`),ye.state==="loading"&&(G.delete(ve),re.push(ve),se=!0)}return or(re,Z),se}function Pn(Z,re){let se=[];for(let[ve,ye]of Y)if(ye<Z){let Oe=re.get(ve);tt(Oe,`Expected fetcher: ${ve}`),Oe.state==="loading"&&(Pt(ve),Y.delete(ve),se.push(ve))}return or(se,re),se.length>0}function Gr(Z,re){let se=C.blockers.get(Z)||ou;return ae.get(Z)!==re&&ae.set(Z,re),se}function Xr(Z){C.blockers.delete(Z),ae.delete(Z)}function bn(Z,re){let se=C.blockers.get(Z)||ou;tt(se.state==="unblocked"&&re.state==="blocked"||se.state==="blocked"&&re.state==="blocked"||se.state==="blocked"&&re.state==="proceeding"||se.state==="blocked"&&re.state==="unblocked"||se.state==="proceeding"&&re.state==="unblocked",`Invalid blocker state transition: ${se.state} -> ${re.state}`);let ve=new Map(C.blockers);ve.set(Z,re),Ue({blockers:ve})}function Tr({currentLocation:Z,nextLocation:re,historyAction:se}){if(ae.size===0)return;ae.size>1&&ir(!1,"A router only supports one blocker at a time");let ve=Array.from(ae.entries()),[ye,Oe]=ve[ve.length-1],Ee=C.blockers.get(ye);if(!(Ee&&Ee.state==="proceeding")&&Oe({currentLocation:Z,nextLocation:re,historyAction:se}))return ye}function lr(Z){let re=Gn(404,{pathname:Z}),se=c.activeRoutes,{matches:ve,route:ye}=_d(se);return{notFoundMatches:ve,route:ye,error:re}}function ze(Z,re,se){if(v=Z,E=re,w=se||null,!T&&C.navigation===Hm){T=!0;let ve=Yt(C.location,C.matches);ve!=null&&Ue({restoreScrollPosition:ve})}return()=>{v=null,E=null,w=null}}function bt(Z,re){return w&&w(Z,re.map(ve=>iC(ve,C.loaderData)))||Z.key}function ur(Z,re){if(v&&E){let se=bt(Z,re);v[se]=E()}}function Yt(Z,re){if(v){let se=bt(Z,re),ve=v[se];if(typeof ve=="number")return ve}return null}function mr(Z,re,se){if(t.patchRoutesOnNavigation){let ve=c.branches;if(Z){if(Object.keys(Z[0].params).length>0)return{active:!0,matches:ua(re,se,f,!0,ve)}}else return{active:!0,matches:ua(re,se,f,!0,ve)||[]}}return{active:!1,matches:null}}async function $t(Z,re,se,ve){if(!t.patchRoutesOnNavigation)return{type:"success",matches:Z};let ye=Z;for(;;){let Oe=u;try{await t.patchRoutesOnNavigation({signal:se,path:re,matches:ye,fetcherKey:ve,patch:($e,He)=>{se.aborted||ME($e,He,c,Oe,o,!1)}})}catch($e){return{type:"error",error:$e,partialMatches:ye}}if(se.aborted)return{type:"aborted"};let Ee=c.branches,Te=ua(c.activeRoutes,re,f,!1,Ee),_e=null;if(Te){if(Object.keys(Te[0].params).length===0)return{type:"success",matches:Te};if(_e=ua(c.activeRoutes,re,f,!0,Ee),!(_e&&ye.length<_e.length&&Lr(ye,_e.slice(0,ye.length))))return{type:"success",matches:Te}}if(_e||(_e=ua(c.activeRoutes,re,f,!0,Ee)),!_e||Lr(ye,_e))return{type:"success",matches:null};ye=_e}}function Lr(Z,re){return Z.length===re.length&&Z.every((se,ve)=>se.route.id===re[ve].route.id)}function Ua(Z){u={},c.setHmrRoutes(Iu(Z,o,void 0,u))}function Hr(Z,re,se=!1){ME(Z,re,c,u,o,se),c.hasHMRRoutes||Ue({})}return H={get basename(){return f},get future(){return p},get state(){return C},get routes(){return c.stableRoutes},get branches(){return c.branches},get manifest(){return u},get window(){return e},initialize:Se,subscribe:ke,enableScrollRestoration:ze,navigate:Ge,fetch:ft,revalidate:vt,createHref:Z=>t.history.createHref(Z),encodeLocation:Z=>t.history.encodeLocation(Z),getFetcher:Or,resetFetcher:sr,deleteFetcher:Ut,dispose:be,getBlocker:Gr,deleteBlocker:Xr,patchRoutes:Hr,_internalFetchControllers:q,_internalSetRoutes:Ua,_internalSetStateDoNotUseOrYouWillBreakYourApp(Z){Ue(Z)}},t.instrumentations&&(H=ML(H,t.instrumentations.map(Z=>
10Z.router).filter(Boolean))),H}function FL(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function pv(t,e,r,n,i,o){let u,c;if(i){u=[];for(let d of e)if(u.push(d),d.route.id===i){c=d;break}}else u=e,c=e[e.length-1];let f=Ku(n||".",jf(u),Ln(t.pathname,r)||t.pathname,o==="path");if(n==null&&(f.search=t.search,f.hash=t.hash),(n==null||n===""||n===".")&&c){let d=cy(f.search);if(c.route.index&&!d)f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&d){let p=new URLSearchParams(f.search),m=p.getAll("index");p.delete("index"),m.filter(y=>y).forEach(y=>p.append("index",y));let g=p.toString();f.search=g?`?${g}`:""}}return r!=="/"&&(f.pathname=_L({basename:r,pathname:f.pathname})),ka(f)}function AE(t,e,r){if(!r||!FL(r))return{path:e};if(r.formMethod&&!l4(r.formMethod))return{path:e,error:Gn(405,{method:r.formMethod})};let n=()=>({path:e,error:Gn(400,{type:"invalid-body"})}),o=(r.formMethod||"get").toUpperCase(),u=_C(e);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Yr(o))return n();let m=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((g,[y,v])=>`${g}${y}=${v} 11`,""):String(r.body);return{path:e,submission:{formMethod:o,formAction:u,formEncType:r.formEncType,formData:void 0,json:void 0,text:m}}}else if(r.formEncType==="application/json"){if(!Yr(o))return n();try{let m=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:e,submission:{formMethod:o,formAction:u,formEncType:r.formEncType,formData:void 0,json:m,text:void 0}}}catch{return n()}}}tt(typeof FormData=="function","FormData is not available in this environment");let c,f;if(r.formData)c=gv(r.formData),f=r.formData;else if(r.body instanceof FormData)c=gv(r.body),f=r.body;else if(r.body instanceof URLSearchParams)c=r.body,f=zE(c);else if(r.body==null)c=new URLSearchParams,f=new FormData;else try{c=new URLSearchParams(r.body),f=zE(c)}catch{return n()}let d={formMethod:o,formAction:u,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:f,json:void 0,text:void 0};if(Yr(d.formMethod))return{path:e,submission:d};let p=Pa(e);return t&&p.search&&cy(p.search)&&c.append("index",""),p.search=`?${c}`,{path:ka(p),submission:d}}function OE(t,e,r,n,i,o,u,c,f,d,p,m,g,y,v,w,E,T,x,_,O,k){let L=O?On(O[1])?O[1].error:O[1].data:void 0,H=i.createURL(o.location),C=i.createURL(f),D;if(p&&o.errors){let R=Object.keys(o.errors)[0];D=u.findIndex(A=>A.route.id===R)}else if(O&&On(O[1])){let R=O[0];D=u.findIndex(A=>A.route.id===R)-1}let M=O?O[1].statusCode:void 0,P=M&&M>=400,U={currentUrl:H,currentParams:o.matches[0]?.params||{},nextUrl:C,nextParams:u[0].params,...c,actionResult:L,actionStatus:M},I=Zu(u),z=u.map((R,A)=>{let{route:B}=R,q=null;if(D!=null&&A>D)q=!1;else if(B.lazy)q=!0;else if(!ly(B))q=!1;else if(p){let{shouldLoad:G}=vC(B,o.loaderData,o.errors);q=G}else qL(o.loaderData,o.matches[A],R)&&(q=!0);if(q!==null)return mv(r,n,t,f,I,R,d,e,q);let K=!1;typeof k=="boolean"?K=k:P?K=!1:(m||H.pathname+H.search===C.pathname+C.search||H.search!==C.search||YL(o.matches[A],R))&&(K=!0);let $={...U,defaultShouldRevalidate:K},Y=Ou(R,$);return mv(r,n,t,f,I,R,d,e,Y,$,k)}),F=[];return v.forEach((R,A)=>{if(p||!u.some(X=>X.route.id===R.routeId)||y.has(A))return;let B=o.fetchers.get(A),q=B&&B.state!=="idle"&&B.data===void 0,K=ua(E,R.path,T??"/",!1,_);if(!K){if(x&&q)return;F.push({key:A,routeId:R.routeId,path:R.path,matches:null,match:null,request:null,controller:null});return}if(w.has(A))return;let $=Bd(K,R.path),Y=new AbortController,G=Bo(i,R.path,Y.signal),W=null;if(g.has(A))g.delete(A),W=Go(r,n,G,R.path,K,$,d,e);else if(q)m&&(W=Go(r,n,G,R.path,K,$,d,e));else{let X;typeof k=="boolean"?X=k:P?X=!1:X=m;let Q={...U,defaultShouldRevalidate:X};Ou($,Q)&&(W=Go(r,n,G,R.path,K,$,d,e,Q))}W&&F.push({key:A,routeId:R.routeId,path:R.path,matches:W,match:$,request:G,controller:Y})}),{dsMatches:z,revalidatingFetchers:F}}function ly(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function vC(t,e,r){if(t.lazy)return{shouldLoad:!0,renderFallback:!0};if(!ly(t))return{shouldLoad:!1,renderFallback:!1};let n=e!=null&&t.id in e,i=r!=null&&r[t.id]!==void 0;if(!n&&i)return{shouldLoad:!1,renderFallback:!1};if(typeof t.loader=="function"&&t.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!n};let o=!n&&!i;return{shouldLoad:o,renderFallback:o}}function qL(t,e,r){let n=!e||r.route.id!==e.route.id,i=!t.hasOwnProperty(r.route.id);return n||i}function YL(t,e){let r=t.route.path;return t.pathname!==e.pathname||r!=null&&r.endsWith("*")&&t.params["*"]!==e.params["*"]}function Ou(t,e){if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate(e);if(typeof r=="boolean")return r}return e.defaultShouldRevalidate}function ME(t,e,r,n,i,o){let u;if(t){let d=n[t];tt(d,`No route found to patch children into: routeId = ${t}`),d.children||(d.children=[]),u=d.children}else u=r.activeRoutes;let c=[],f=[];if(e.forEach(d=>{let p=u.find(m=>yC(d,m));p?f.push({existingRoute:p,newRoute:d}):c.push(d)}),c.length>0){let d=Iu(c,i,[t||"_","patch",String(u?.length||"0")],n);u.push(...d)}if(o&&f.length>0)for(let d=0;d<f.length;d++){let{existingRoute:p,newRoute:m}=f[d],g=p,[y]=Iu([m],i,[],{},!0);Object.assign(g,{element:y.element?y.element:g.element,errorElement:y.errorElement?y.errorElement:g.errorElement,hydrateFallbackElement:y.hydrateFallbackElement?y.hydrateFallbackElement:g.hydrateFallbackElement})}r.hasHMRRoutes||r.setRoutes([...r.activeRoutes])}function yC(t,e){return"id"in t&&"id"in e&&t.id===e.id?!0:t.index===e.index&&t.path===e.path&&t.caseSensitive===e.caseSensitive?(!t.children||t.children.length===0)&&(!e.children||e.children.length===0)?!0:t.children?.every((r,n)=>e.children?.some(i=>yC(r,i)))??!1:!1}var DE=new WeakMap,bC=({key:t,route:e,manifest:r,mapRouteProperties:n})=>{let i=r[e.id];if(tt(i,"No route found in manifest"),!i.lazy||typeof i.lazy!="object")return;let o=i.lazy[t];if(!o)return;let u=DE.get(i);u||(u={},DE.set(i,u));let c=u[t];if(c)return c;let f=(async()=>{let d=lL(t),m=i[t]!==void 0&&t!=="hasErrorBoundary";if(d)ir(!d,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),u[t]=Prom
11ise.resolve();else if(m)ir(!1,`Route "${i.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let g=await o();g!=null&&(Object.assign(i,{[t]:g}),Object.assign(i,n(i)))}typeof i.lazy=="object"&&(i.lazy[t]=void 0,Object.values(i.lazy).every(g=>g===void 0)&&(i.lazy=void 0))})();return u[t]=f,f},kE=new WeakMap;function VL(t,e,r,n,i){let o=r[t.id];if(tt(o,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let p=kE.get(o);if(p)return{lazyRoutePromise:p,lazyHandlerPromise:p};let m=(async()=>{tt(typeof t.lazy=="function","No lazy route function found");let g=await t.lazy(),y={};for(let v in g){let w=g[v];if(w===void 0)continue;let E=cL(v),x=o[v]!==void 0&&v!=="hasErrorBoundary";E?ir(!E,"Route property "+v+" is not a supported property to be returned from a lazy route function. This property will be ignored."):x?ir(!x,`Route "${o.id}" has a static property "${v}" defined but its lazy function is also returning a value for this property. The lazy route property "${v}" will be ignored.`):y[v]=w}Object.assign(o,y),Object.assign(o,{...n(o),lazy:void 0})})();return kE.set(o,m),m.catch(()=>{}),{lazyRoutePromise:m,lazyHandlerPromise:m}}let u=Object.keys(t.lazy),c=[],f;for(let p of u){if(i&&i.includes(p))continue;let m=bC({key:p,route:t,manifest:r,mapRouteProperties:n});m&&(c.push(m),p===e&&(f=m))}let d=c.length>0?Promise.all(c).then(()=>{}):void 0;return d?.catch(()=>{}),f?.catch(()=>{}),{lazyRoutePromise:d,lazyHandlerPromise:f}}async function LE(t){let e=t.matches.filter(i=>i.shouldLoad),r={};return(await Promise.all(e.map(i=>i.resolve()))).forEach((i,o)=>{r[e[o].route.id]=i}),r}async function GL(t){return t.matches.some(e=>e.route.middleware)?wC(t,()=>LE(t)):LE(t)}function wC(t,e){return XL(t,e,n=>{if(o4(n))throw n;return n},n4,r);function r(n,i,o){if(o)return Promise.resolve(Object.assign(o.value,{[i]:{type:"error",result:n}}));{let{matches:u}=t,c=Math.min(Math.max(u.findIndex(d=>d.route.id===i),0),Math.max(u.findIndex(d=>d.shouldCallHandler()),0)),f=es(u,u[c].route.id).route.id;return Promise.resolve({[f]:{type:"error",result:n}})}}}async function XL(t,e,r,n,i){let{matches:o,...u}=t,c=o.flatMap(d=>d.route.middleware?d.route.middleware.map(p=>[d.route.id,p]):[]);return await SC(u,c,e,r,n,i)}async function SC(t,e,r,n,i,o,u=0){let{request:c}=t;if(c.signal.aborted)throw c.signal.reason??new Error(`Request aborted: ${c.method} ${c.url}`);let f=e[u];if(!f)return await r();let[d,p]=f,m,g=async()=>{if(m)throw new Error("You may only call `next()` once per middleware");try{return m={value:await SC(t,e,r,n,i,o,u+1)},m.value}catch(y){return m={value:await o(y,d,m)},m.value}};try{let y=await p(t,g),v=y!=null?n(y):void 0;return i(v)?v:m?v??m.value:(m={value:await g()},m.value)}catch(y){return await o(y,d,m)}}function EC(t,e,r,n,i){let o=bC({key:"middleware",route:n.route,manifest:e,mapRouteProperties:t}),u=VL(n.route,Yr(r.method)?"action":"loader",e,t,i);return{middleware:o,route:u.lazyRoutePromise,handler:u.lazyHandlerPromise}}function mv(t,e,r,n,i,o,u,c,f,d=null,p){let m=!1,g=EC(t,e,r,o,u);return{...o,_lazyPromises:g,shouldLoad:f,shouldRevalidateArgs:d,shouldCallHandler(y){return m=!0,d?typeof p=="boolean"?Ou(o,{...d,defaultShouldRevalidate:p}):typeof y=="boolean"?Ou(o,{...d,defaultShouldRevalidate:y}):Ou(o,d):f},resolve(y){let{lazy:v,loader:w,middleware:E}=o.route,T=m||f||y&&!Yr(r.method)&&(v||w),x=E&&E.length>0&&!w&&!v;return T&&(Yr(r.method)||!x)?KL({request:r,path:n,pattern:i,match:o,lazyHandlerPromise:g?.handler,lazyRoutePromise:g?.route,handlerOverride:y,scopedContext:c}):Promise.resolve({type:"data",result:void 0})}}}function Go(t,e,r,n,i,o,u,c,f=null){return i.map(d=>d.route.id!==o.route.id?{...d,shouldLoad:!1,shouldRevalidateArgs:f,shouldCallHandler:()=>!1,_lazyPromises:EC(t,e,r,d,u),resolve:()=>Promise.resolve({type:"data",result:void 0})}:mv(t,e,r,n,Zu(i),d,u,c,!0,f))}async function WL(t,e,r,n,i,o,u){n.some(p=>p._lazyPromises?.middleware)&&await Promise.all(n.map(p=>p._lazyPromises?.middleware));let c={request:e,url:xC(e,r),pattern:Zu(n),params:n[0].params,context:o,matches:n},d=await t({...c,fetcherKey:i,runClientMiddleware:p=>{let m=c;return wC(m,()=>p({...m,fetcherKey:i,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(n.flatMap(p=>[p._lazyPromises?.handler,p._lazyPromises?.route]))}catch{}return d}async function KL({request:t,path:e,pattern:r,match:n,lazyHandlerPromise:i,lazyRoutePromise:o,handlerOverride:u,scopedContext:c}){let f,d,p=Yr(t.method),m=p?"action":"loader",g=y=>{let v,w=new Promise((x,_)=>v=_);d=()=>v(),t.signal.addEventListener("abort",d);let E=x=>typeof y!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${m}" [routeId: ${n.route.id}]`)):y({request:t,url:xC(t,e),pattern:r,params:n.params,context:c},...x!==void 0?[x]:[]),T=(async()=>{try{return{type:"data",result:await(u?u(_=>E(_)):E())}}catch(x){return{type:"error",result:x}}})();return Promise.race([T,w])};try{let y=p?n.route.action:n.route.loader;if(i||o)if(y){let v,[w]=await Promise.all([g(y).catch(E=>{v=E}),i,o]);if(v!==void 0)throw v;f=w}else{await i;let v=p?n.route.action:n.route.loader;if(v)[f]=await Promise.all([g(v),o]);else if(m==="action"){let w=new URL(t.url),E=w.pathname+w.search;throw Gn(405,{method:t.method,pathname:E,routeId:n.route.id})}else return{type:"data",result:void 0}}else if(y)f=await g(y);else{let v=new URL(t.url),w=v.pathname+v.search;throw Gn(404,{pathname:w})}}catch(y){return{type:"error",result:y}}finally{d&&t.signal.removeEventListener("abort",d)}return f}async function QL(t){let e=t.headers.get("Content-Type");return e&&/\bapplication\/json\b/.test(e)?t.body==null?null:t.json():t.text()}async function ZL(t){let{result:e,type:r}=t;if(uy(e)){let n;try{n=await QL(e)}catch(i){return{type:"error",error:i}}return r==="error"?{type:"error",error:new Qu(e.status,e.statusText,n),statusCode:e.status,headers:e.headers}:{type:"data",data:n,statusCode:e.status,headers:e.headers}}return r==="error"?$E(e)?e.data instanceof Error?{type:"error",error:e.data,statusCode:e.init?.status,headers:e.init?.headers?new Headers(e.init.headers):void 0}:{type:"error",error:r4(e),statusCode:tl(e)?e.status:void 0,headers:e.init?.headers?new Headers(e.init.headers):void 0}:{type:"error",error:e,statusCode:tl(e)?e.status:void 0}:$E(e)?{type:"data",data:e.data,statusCode:e.init?.status,headers:e.init?.headers?new Headers(e.init.headers):void 0}:{type:"data",data:e}}function JL(t,e,r,n,i){let o=t.headers.get("Location");if(tt(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!sy(o)){let u=n.slice(0,n.findIndex(c=>c.route.id===r)+1);o=pv(new URL(e.url),u,i,o),t.headers.set("Location",o)}return t}var NE=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function PE(t,e,r,n){if(sy(t)){let i=t,o=i.startsWith("//")?new URL(e.protocol+i):new URL(i);if(NE.includes(o.protocol))throw new Error("Invalid redirect location");let u=Ln(o.pathname,r)!=null;if(o.origin===e.origin&&u)return oy(o.pathname)+o.search+o.hash}try{let i=n.createURL(t);
11if(NE.includes(i.protocol))throw new Error("Invalid redirect location")}catch{}return t}function Bo(t,e,r,n){let i=t.createURL(_C(e)).toString(),o={signal:r};if(n&&Yr(n.formMethod)){let{formMethod:u,formEncType:c}=n;o.method=u.toUpperCase(),c==="application/json"?(o.headers=new Headers({"Content-Type":c}),o.body=JSON.stringify(n.json)):c==="text/plain"?o.body=n.text:c==="application/x-www-form-urlencoded"&&n.formData?o.body=gv(n.formData):o.body=n.formData}return new Request(i,o)}function xC(t,e){let r=new URL(t.url),n=typeof e=="string"?Pa(e):e;if(r.pathname=n.pathname||"/",n.search){let i=new URLSearchParams(n.search),o=i.getAll("index");i.delete("index");for(let u of o.filter(Boolean))i.append("index",u);r.search=i.size?`?${i.toString()}`:""}else r.search="";return r.hash=n.hash||"",r}function gv(t){let e=new URLSearchParams;for(let[r,n]of t.entries())e.append(r,typeof n=="string"?n:n.name);return e}function zE(t){let e=new FormData;for(let[r,n]of t.entries())e.append(r,n);return e}function e4(t,e,r,n=!1,i=!1){let o={},u=null,c,f=!1,d={},p=r&&On(r[1])?r[1].error:void 0;return t.forEach(m=>{if(!(m.route.id in e))return;let g=m.route.id,y=e[g];if(tt(!Ls(y),"Cannot handle redirect results in processLoaderData"),On(y)){let v=y.error;if(p!==void 0&&(v=p,p=void 0),u=u||{},i)u[g]=v;else{let w=es(t,g);u[w.route.id]==null&&(u[w.route.id]=v)}n||(o[g]=gC),f||(f=!0,c=tl(y.error)?y.error.status:500),y.headers&&(d[g]=y.headers)}else o[g]=y.data,y.statusCode&&y.statusCode!==200&&!f&&(c=y.statusCode),y.headers&&(d[g]=y.headers)}),p!==void 0&&r&&(u={[r[0]]:p},r[2]&&(o[r[2]]=void 0)),{loaderData:o,errors:u,statusCode:c||200,loaderHeaders:d}}function jE(t,e,r,n,i,o,u){let{loaderData:c,errors:f}=e4(e,r,n);return i.filter(d=>!d.matches||d.matches.some(p=>p.shouldLoad)).forEach(d=>{let{key:p,match:m,controller:g}=d;if(g&&g.signal.aborted)return;let y=o[p];if(tt(y,"Did not find corresponding fetcher result"),On(y)){let v=es(t.matches,m?.route.id);f&&f[v.route.id]||(f={...f,[v.route.id]:y.error}),u.delete(p)}else if(Ls(y))tt(!1,"Unhandled fetcher revalidation redirect");else{let v=Ta(y.data);u.set(p,v)}}),{loaderData:c,errors:f}}function IE(t,e,r,n){let i=Object.entries(e).filter(([,o])=>o!==gC).reduce((o,[u,c])=>(o[u]=c,o),{});for(let o of r){let u=o.route.id;if(!e.hasOwnProperty(u)&&t.hasOwnProperty(u)&&o.route.loader&&(i[u]=t[u]),n&&n.hasOwnProperty(u))break}return i}function UE(t){return t?On(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function es(t,e){return(e?t.slice(0,t.findIndex(n=>n.route.id===e)+1):[...t]).reverse().find(n=>n.route.hasErrorBoundary===!0)||t[0]}function _d(t){let e=t.length===1?t[0]:t.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function Gn(t,{pathname:e,routeId:r,method:n,type:i,message:o}={}){let u="Unknown Server Error",c="Unknown @remix-run/router error";return t===400?(u="Bad Request",n&&e&&r?c=`You made a ${n} request to "${e}" but did not provide a \`loader\` for route "${r}", so there is no way to handle the request.`:i==="invalid-body"&&(c="Unable to encode submission body")):t===403?(u="Forbidden",c=`Route "${r}" does not match URL "${e}"`):t===404?(u="Not Found",c=`No route matches URL "${e}"`):t===405&&(u="Method Not Allowed",n&&e&&r?c=`You made a ${n.toUpperCase()} request to "${e}" but did not provide an \`action\` for route "${r}", so there is no way to handle the request.`:n&&(c=`Invalid request method "${n.toUpperCase()}"`)),new Qu(t||500,u,new Error(c),!0)}function Td(t){let e=Object.entries(t);for(let r=e.length-1;r>=0;r--){let[n,i]=e[r];if(Ls(i))return{key:n,result:i}}}function _C(t){let e=typeof t=="string"?Pa(t):t;return ka({...e,hash:""})}function t4(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function r4(t){return new Qu(t.init?.status??500,t.init?.statusText??"Internal Server Error",t.data)}function n4(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([e,r])=>typeof e=="string"&&a4(r))}function a4(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function i4(t){return uy(t.result)&&pC.has(t.result.status)}function On(t){return t.type==="error"}function Ls(t){return(t&&t.type)==="redirect"}function $E(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function uy(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function s4(t){return pC.has(t)}function o4(t){return uy(t)&&s4(t.status)&&t.headers.has("Location")}function l4(t){return jL.has(t.toUpperCase())}function Yr(t){return PL.has(t.toUpperCase())}function cy(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function Bd(t,e){let r=typeof e=="string"?Pa(e).search:e.search;if(t[t.length-1].route.index&&cy(r||""))return t[t.length-1];let n=uC(t);return n[n.length-1]}function HE(t){let{formMethod:e,formAction:r,formEncType:n,text:i,formData:o,json:u}=t;
11if(!(!e||!r||!n)){if(i!=null)return{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:e,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(u!==void 0)return{formMethod:e,formAction:r,formEncType:n,formData:void 0,json:u,text:void 0}}}function Bm(t,e,r,n){return n?{state:"loading",location:t,matches:e,historyAction:r,formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text}:{state:"loading",location:t,matches:e,historyAction:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function u4(t,e,r,n){return{state:"submitting",location:t,matches:e,historyAction:r,formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text}}function lu(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function c4(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function Ta(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function d4(t,e){try{let r=t.sessionStorage.getItem(mC);if(r){let n=JSON.parse(r);for(let[i,o]of Object.entries(n||{}))o&&Array.isArray(o)&&e.set(i,new Set(o||[]))}}catch{}}function f4(t,e){if(e.size>0){let r={};for(let[n,i]of e)r[n]=[...i];try{t.sessionStorage.setItem(mC,JSON.stringify(r))}catch(n){ir(!1,`Failed to save applied view transitions in sessionStorage (${n}).`)}}}function BE(){let t,e,r=new Promise((n,i)=>{t=async o=>{n(o);try{await r}catch{}},e=async o=>{i(o);try{await r}catch{}}});return{promise:r,resolve:t,reject:e}}var Ys=j.createContext(null);Ys.displayName="DataRouter";var ul=j.createContext(null);ul.displayName="DataRouterState";var TC=j.createContext(!1);function CC(){return j.useContext(TC)}var dy=j.createContext({isTransitioning:!1});dy.displayName="ViewTransition";var RC=j.createContext(new Map);RC.displayName="Fetchers";var h4=j.createContext(null);h4.displayName="Await";var rn=j.createContext(null);rn.displayName="Navigation";var If=j.createContext(null);If.displayName="Location";var Zn=j.createContext({outlet:null,matches:[],isDataRoute:!1});Zn.displayName="Route";var fy=j.createContext(null);fy.displayName="RouteError";var AC="REACT_ROUTER_ERROR",p4="REDIRECT",m4="ROUTE_ERROR_RESPONSE";function g4(t){if(t.startsWith(`${AC}:${p4}:{`))try{let e=JSON.parse(t.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function v4(t){if(t.startsWith(`${AC}:${m4}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new Qu(e.status,e.statusText,e.data)}catch{}}function y4(t,{relative:e}={}){tt(cl(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=j.useContext(rn),{hash:i,pathname:o,search:u}=Ju(t,{relative:e}),c=o;return r!=="/"&&(c=o==="/"?r:Kn([r,o])),n.createHref({pathname:c,search:u,hash:i})}function cl(){return j.useContext(If)!=null}function vn(){return tt(cl(),"useLocation() may be used only in the context of a <Router> component."),j.useContext(If).location}var OC="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function MC(t){j.useContext(rn).static||j.useLayoutEffect(t)}function hy(){let{isDataRoute:t}=j.useContext(Zn);return t?M4():b4()}function b4(){tt(cl(),"useNavigate() may be used only in the context of a <Router> component.");let t=j.useContext(Ys),{basename:e,navigator:r}=j.useContext(rn),{matches:n}=j.useContext(Zn),{pathname:i}=vn(),o=JSON.stringify(jf(n)),u=j.useRef(!1);return MC(()=>{u.current=!0}),j.useCallback((f,d={})=>
11{if(ir(u.current,OC),!u.current)return;if(typeof f=="number"){r.go(f);return}let p=Ku(f,JSON.parse(o),i,d.relative==="path");t==null&&e!=="/"&&(p.pathname=p.pathname==="/"?e:Kn([e,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[e,r,o,i,t])}var w4=j.createContext(null);function py(t){let e=j.useContext(Zn).outlet;return j.useMemo(()=>e&&j.createElement(w4.Provider,{value:t},e),[e,t])}function XV(){let{matches:t}=j.useContext(Zn);return t[t.length-1]?.params??{}}function Ju(t,{relative:e}={}){let{matches:r}=j.useContext(Zn),{pathname:n}=vn(),i=JSON.stringify(jf(r));return j.useMemo(()=>Ku(t,JSON.parse(i),n,e==="path"),[t,i,n,e])}function S4(t,e,r){tt(cl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:n}=j.useContext(rn),{matches:i}=j.useContext(Zn),o=i[i.length-1],u=o?o.params:{},c=o?o.pathname:"/",f=o?o.pathnameBase:"/",d=o&&o.route;{let E=d&&d.path||"";PC(c,!d||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (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 p=vn(),m;m=p;let g=m.pathname||"/",y=g;if(f!=="/"){let E=f.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(E.length).join("/")}let v=r&&r.state.matches.length?r.state.matches.map(E=>Object.assign(E,{route:r.manifest[E.route.id]||E.route})):aC(t,{pathname:y});return ir(d||v!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),ir(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.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.`),C4(v&&v.map(E=>Object.assign({},E,{params:Object.assign({},u,E.params),pathname:Kn([f,n.encodeLocation?n.encodeLocation(E.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?f:Kn([f,n.encodeLocation?n.encodeLocation(E.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),i,r)}function E4(){let t=NC(),e=tl(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,n="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:n},o={padding:"2px 4px",backgroundColor:n},u=null;return console.error("Error handled by React Router default ErrorBoundary:",t),u=j.createElement(j.Fragment,null,j.createElement("p",null,"ð¿ Hey developer ð"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:o},"ErrorBoundary")," or"," ",j.createElement("code",{style:o},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},e),r?j.createElement("pre",{style:i},r):null,u)}var x4=j.createElement(E4,null),DC=class extends j.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const r=v4(t.digest);r&&(t=r)}let e=t!==void 0?j.createElement(Zn.Provider,{value:this.props.routeContext},j.createElement(fy.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?j.createElement(_4,{error:t},e):e}};DC.contextType=TC;var Fm=new WeakMap;function _4({children:t,error:e}){let{basename:r}=j.useContext(rn);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let n=g4(e.digest);if(n){let i=Fm.get(e);if(i)throw i;let o=dC(n.location,r);if(cC&&!Fm.get(e))if(o.isExternal||n.reloadDocument)window.location.href=o.absoluteURL||o.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:n.replace}));throw Fm.set(e,u),u}return j.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o.absoluteURL||o.to}`})}}return t}function T4({routeContext:t,match:e,children:r}){let n=j.useContext(Ys);return n&&n.static&&n.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=e.route.id),j.createElement(Zn.Provider,{value:t},r)}function C4(t,e=[],r){let n=r?.state;if(t==null){if(!n)return null;if(n.errors)t=n.matches;else if(e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let i=t,o=n?.errors;if(o!=null){let p=i.findIndex(m=>m.route.id&&o?.[m.route.id]!==void 0);tt(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),i=i.slice(0,Math.min(i.length,p+1))}
13let u=!1,c=-1;if(r&&n){u=n.renderFallback;for(let p=0;p<i.length;p++){let m=i[p];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(c=p),m.route.id){let{loaderData:g,errors:y}=n,v=m.route.loader&&!g.hasOwnProperty(m.route.id)&&(!y||y[m.route.id]===void 0);if(m.route.lazy||v){r.isStatic&&(u=!0),c>=0?i=i.slice(0,c+1):i=[i[0]];break}}}}let f=r?.onError,d=n&&f?(p,m)=>{f(p,{location:n.location,params:n.matches?.[0]?.params??{},pattern:Zu(n.matches),errorInfo:m})}:void 0;return i.reduceRight((p,m,g)=>{let y,v=!1,w=null,E=null;n&&(y=o&&m.route.id?o[m.route.id]:void 0,w=m.route.errorElement||x4,u&&(c<0&&g===0?(PC("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),v=!0,E=null):c===g&&(v=!0,E=m.route.hydrateFallbackElement||null)));let T=e.concat(i.slice(0,g+1)),x=()=>{let _;return y?_=w:v?_=E:m.route.Component?_=j.createElement(m.route.Component,null):m.route.element?_=m.route.element:_=p,j.createElement(T4,{match:m,routeContext:{outlet:p,matches:T,isDataRoute:n!=null},children:_})};return n&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?j.createElement(DC,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:x(),routeContext:{outlet:null,matches:T,isDataRoute:!0},onError:d}):x()},null)}function my(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function R4(t){let e=j.useContext(Ys);return tt(e,my(t)),e}function Uf(t){let e=j.useContext(ul);return tt(e,my(t)),e}function A4(t){let e=j.useContext(Zn);return tt(e,my(t)),e}function gy(t){let e=A4(t),r=e.matches[e.matches.length-1];return tt(r.route.id,`${t} can only be used on routes that contain a unique "id"`),r.route.id}function O4(){return gy("useRouteId")}function kC(){let t=Uf("useNavigation");return j.useMemo(()=>{let{matches:e,historyAction:r,...n}=t.navigation;return n},[t.navigation])}function LC(){let{matches:t,loaderData:e}=Uf("useMatches");return j.useMemo(()=>t.map(r=>iC(r,e)),[t,e])}function WV(t){return Uf("useRouteLoaderData").loaderData[t]}function NC(){let t=j.useContext(fy),e=Uf("useRouteError"),r=gy("useRouteError");return t!==void 0?t:e.errors?.[r]}function M4(){let{router:t}=R4("useNavigate"),e=gy("useNavigate"),r=j.useRef(!1);return MC(()=>{r.current=!0}),j.useCallback(async(i,o={})=>{ir(r.current,OC),r.current&&(typeof i=="number"?await t.navigate(i):await t.navigate(i,{fromRouteId:e,...o}))},[t,e])}var FE={};function PC(t,e,r){!e&&!FE[t]&&(FE[t]=!0,ir(!1,r))}var qE={};function YE(t,e){!t&&!qE[e]&&(qE[e]=!0,console.warn(e))}var D4="useOptimistic",VE=hv[D4],k4=()=>{};function L4(t){return VE?VE(t):[t,k4]}function N4(t){let e={hasErrorBoundary:t.hasErrorBoundary||t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&(t.element&&ir(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(e,{element:j.createElement(t.Component),Component:void 0})),t.HydrateFallback&&(t.hydrateFallbackElement&&ir(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(e,{hydrateFallbackElement:j.createElement(t.HydrateFallback),HydrateFallback:void 0})),t.ErrorBoundary&&(t.errorElement&&ir(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(e,{errorElement:j.createElement(t.ErrorBoundary),ErrorBoundary:void 0})),e}var P4=["HydrateFallback","hydrateFallbackElement"],z4=class{constructor(){this.status="pending",this.promise=new Promise((t,e)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",e(r))}})}};function j4({router:t,flushSync:e,onError:r,useTransitions:n}){n=CC()||n;let[o,u]=j.useState(t.state),[c,f]=L4(o),[d,p]=j.useState(),[m,g]=j.useState({isTransitioning:!1}
13),[y,v]=j.useState(),[w,E]=j.useState(),[T,x]=j.useState(),_=j.useRef(new Map),O=j.useCallback((C,{deletedFetchers:D,newErrors:M,flushSync:P,viewTransitionOpts:U})=>{M&&r&&Object.values(M).forEach(z=>r(z,{location:C.location,params:C.matches[0]?.params??{},pattern:Zu(C.matches)})),C.fetchers.forEach((z,F)=>{z.data!==void 0&&_.current.set(F,z.data)}),D.forEach(z=>_.current.delete(z)),YE(P===!1||e!=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 I=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(YE(U==null||I,"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."),!U||!I){e&&P?e(()=>u(C)):n===!1?u(C):j.startTransition(()=>{n===!0&&f(z=>GE(z,C)),u(C)});return}if(e&&P){e(()=>{w&&(y?.resolve(),w.skipTransition()),g({isTransitioning:!0,flushSync:!0,currentLocation:U.currentLocation,nextLocation:U.nextLocation})});let z=t.window.document.startViewTransition(()=>{e(()=>u(C))});z.finished.finally(()=>{e(()=>{v(void 0),E(void 0),p(void 0),g({isTransitioning:!1})})}),e(()=>E(z));return}w?(y?.resolve(),w.skipTransition(),x({state:C,currentLocation:U.currentLocation,nextLocation:U.nextLocation})):(p(C),g({isTransitioning:!0,flushSync:!1,currentLocation:U.currentLocation,nextLocation:U.nextLocation}))},[t.window,e,w,y,n,f,r]);j.useLayoutEffect(()=>t.subscribe(O),[t,O]),j.useEffect(()=>{m.isTransitioning&&!m.flushSync&&v(new z4)},[m]),j.useEffect(()=>{if(y&&d&&t.window){let C=d,D=y.promise,M=t.window.document.startViewTransition(async()=>{n===!1?u(C):j.startTransition(()=>{n===!0&&f(P=>GE(P,C)),u(C)}),await D});M.finished.finally(()=>{v(void 0),E(void 0),p(void 0),g({isTransitioning:!1})}),E(M)}},[d,y,t.window,n,f]),j.useEffect(()=>{y&&d&&c.location.key===d.location.key&&y.resolve()},[y,w,c.location,d]),j.useEffect(()=>{!m.isTransitioning&&T&&(p(T.state),g({isTransitioning:!0,flushSync:!1,currentLocation:T.currentLocation,nextLocation:T.nextLocation}),x(void 0))},[m.isTransitioning,T]);let k=j.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:C=>t.navigate(C),push:(C,D,M)=>t.navigate(C,{state:D,preventScrollReset:M?.preventScrollReset}),replace:(C,D,M)=>t.navigate(C,{replace:!0,state:D,preventScrollReset:M?.preventScrollReset})}),[t]),L=t.basename||"/",H=j.useMemo(()=>({router:t,navigator:k,static:!1,basename:L,onError:r}),[t,k,L,r]);return j.createElement(j.Fragment,null,j.createElement(Ys.Provider,{value:H},j.createElement(ul.Provider,{value:c},j.createElement(RC.Provider,{value:_.current},j.createElement(dy.Provider,{value:m},j.createElement(H4,{basename:L,location:c.location,navigationType:c.historyAction,navigator:k,useTransitions:n},j.createElement(I4,{routes:t.routes,manifest:t.manifest,future:t.future,state:c,isStatic:!1,onError:r})))))),null)}function GE(t,e){return{...t,navigation:e.navigation.state!=="idle"?e.navigation:t.navigation,revalidation:e.revalidation!=="idle"?e.revalidation:t.revalidation,actionData:e.navigation.state!=="submitting"?e.actionData:t.actionData,fetchers:e.fetchers}}var I4=j.memo(U4);function U4({routes:t,manifest:e,future:r,state:n,isStatic:i,onError:o}){return S4(t,void 0,{manifest:e,state:n,isStatic:i,onError:o})}function Xo({to:t,replace:e,state:r,relative:n}){tt(cl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=j.useContext(rn);ir(!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:o}=j.useContext(Zn),{pathname:u}=vn(),c=hy(),f=Ku(t,jf(o),u,n==="path"),d=JSON.stringify(f);return j.useEffect(()=>{c(JSON.parse(d),{replace:e,state:r,relative:n})},[c,d,n,e,r]),null}function $4(t){return py(t.context)}function H4({basename:t="/",children:e=null,location:r,navigationType:n="POP",navigator:i,static:o=!1,useTransitions:u}){tt(!cl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=t.replace(/^\/*/,"/"),f=j.useMemo(()=>({basename:c,navigator:i,static:o,useTransitions:u,future:{}}),[c,i,o,u]);typeof r=="string"&&(r=Pa(r));
13let{pathname:d="/",search:p="",hash:m="",state:g=null,key:y="default",mask:v}=r,w=j.useMemo(()=>{let E=Ln(d,c);return E==null?null:{location:{pathname:E,search:p,hash:m,state:g,key:y,mask:v},navigationType:n}},[c,d,p,m,g,y,n,v]);return ir(w!=null,`<Router basename="${c}"> is not able to match the URL "${d}${p}${m}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:j.createElement(rn.Provider,{value:f},j.createElement(If.Provider,{children:e,value:w}))}var Fd="get",qd="application/x-www-form-urlencoded";function $f(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function B4(t){return $f(t)&&t.tagName.toLowerCase()==="button"}function F4(t){return $f(t)&&t.tagName.toLowerCase()==="form"}function q4(t){return $f(t)&&t.tagName.toLowerCase()==="input"}function Y4(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function V4(t,e){return t.button===0&&(!e||e==="_self")&&!Y4(t)}function vv(t=""){return new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,r)=>{let n=t[r];return e.concat(Array.isArray(n)?n.map(i=>[r,i]):[[r,n]])},[]))}function G4(t,e){let r=vv(t);return e&&e.forEach((n,i)=>{r.has(i)||e.getAll(i).forEach(o=>{r.append(i,o)})}),r}var Cd=null;function X4(){if(Cd===null)try{new FormData(document.createElement("form"),0),Cd=!1}catch{Cd=!0}return Cd}var W4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function qm(t){return t!=null&&!W4.has(t)?(ir(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${qd}"`),null):t}function K4(t,e){let r,n,i,o,u;if(F4(t)){let c=t.getAttribute("action");n=c?Ln(c,e):null,r=t.getAttribute("method")||Fd,i=qm(t.getAttribute("enctype"))||qd,o=new FormData(t)}else if(B4(t)||q4(t)&&(t.type==="submit"||t.type==="image")){let c=t.form;if(c==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=t.getAttribute("formaction")||c.getAttribute("action");if(n=f?Ln(f,e):null,r=t.getAttribute("formmethod")||c.getAttribute("method")||Fd,i=qm(t.getAttribute("formenctype"))||qm(c.getAttribute("enctype"))||qd,o=new FormData(c,t),!X4()){let{name:d,type:p,value:m}=t;if(p==="image"){let g=d?`${d}.`:"";o.append(`${g}x`,"0"),o.append(`${g}y`,"0")}else d&&o.append(d,m)}}else{if($f(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Fd,n=null,i=qd,u=t}return o&&i==="text/plain"&&(u=o,o=void 0),{action:n,method:r.toLowerCase(),encType:i,formData:o,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Q4={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},Z4=/[&><\u2028\u2029]/g;function XE(t){return t.replace(Z4,e=>Q4[e])}function vy(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function zC(t,e,r,n){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return r?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${n}`:i.pathname=`${i.pathname}.${n}`:i.pathname==="/"?i.pathname=`_root.${n}`:e&&Ln(i.pathname,e)==="/"?i.pathname=`${pf(e)}/_root.${n}`:i.pathname=`${pf(i.pathname)}.${n}`,i}async function J4(t,e){if(t.id in e)return e[t.id];try{let r=await import(t.module);return e[t.id]=r,r}catch(r){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function e5(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function t5(t,e,r){let n=await Promise.all(t.map(async i=>{let o=e.routes[i.route.id];if(o){let u=await J4(o,r);return u.links?u.links():[]}return[]}));return i5(n.flat(1).filter(e5).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function WE(t,e,r,n,i,o){let u=(f,d)=>r[d]?f.route.id!==r[d].route.id:!0,c=(f,d)=>r[d].pathname!==f.pathname||r[d].route.path?.endsWith("*")&&r[d].params["*"]!==f.params["*"];return o==="assets"?e.filter((f,d)=>u(f,d)||c(f,d)):o==="data"?e.filter((f,d)=>{let p=n.routes[f.route.id];if(!p||!p.hasLoader)return!1;if(u(f,d)||c(f,d))return!0;
13if(f.route.shouldRevalidate){let m=f.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof m=="boolean")return m}return!0}):[]}function r5(t,e,{includeHydrateFallback:r}={}){return n5(t.map(n=>{let i=e.routes[n.route.id];if(!i)return[];let o=[i.module];return i.clientActionModule&&(o=o.concat(i.clientActionModule)),i.clientLoaderModule&&(o=o.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(o=o.concat(i.hydrateFallbackModule)),i.imports&&(o=o.concat(i.imports)),o}).flat(1))}function n5(t){return[...new Set(t)]}function a5(t){let e={},r=Object.keys(t).sort();for(let n of r)e[n]=t[n];return e}function i5(t,e){let r=new Set;return new Set(e),t.reduce((n,i)=>{let o=JSON.stringify(a5(i));return r.has(o)||(r.add(o),n.push({key:o,link:i})),n},[])}function yy(){let t=j.useContext(Ys);return vy(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function s5(){let t=j.useContext(ul);return vy(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Hf=j.createContext(void 0);Hf.displayName="FrameworkContext";function by(){let t=j.useContext(Hf);return vy(t,"You must render this element inside a <HydratedRouter> element"),t}function o5(t,e){let r=j.useContext(Hf),[n,i]=j.useState(!1),[o,u]=j.useState(!1),{onFocus:c,onBlur:f,onMouseEnter:d,onMouseLeave:p,onTouchStart:m}=e,g=j.useRef(null);j.useEffect(()=>{if(t==="render"&&u(!0),t==="viewport"){let w=T=>{T.forEach(x=>{u(x.isIntersecting)})},E=new IntersectionObserver(w,{threshold:.5});return g.current&&E.observe(g.current),()=>{E.disconnect()}}},[t]),j.useEffect(()=>{if(n){let w=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(w)}}},[n]);let y=()=>{i(!0)},v=()=>{i(!1),u(!1)};return r?t!=="intent"?[o,g,{}]:[o,g,{onFocus:uu(c,y),onBlur:uu(f,v),onMouseEnter:uu(d,y),onMouseLeave:uu(p,v),onTouchStart:uu(m,y)}]:[!1,g,{}]}function uu(t,e){return r=>{t&&t(r),r.defaultPrevented||e(r)}}function l5({page:t,...e}){let r=CC(),{router:n}=yy(),i=j.useMemo(()=>aC(n.routes,t,n.basename),[n.routes,t,n.basename]);return i?r?j.createElement(c5,{page:t,matches:i,...e}):j.createElement(d5,{page:t,matches:i,...e}):null}function u5(t){let{manifest:e,routeModules:r}=by(),[n,i]=j.useState([]);return j.useEffect(()=>{let o=!1;return t5(t,e,r).then(u=>{o||i(u)}),()=>{o=!0}},[t,e,r]),n}function c5({page:t,matches:e,...r}){let n=vn(),{future:i}=by(),{basename:o}=yy(),u=j.useMemo(()=>{if(t===n.pathname+n.search+n.hash)return[];let c=zC(t,o,i.v8_trailingSlashAwareDataRequests,"rsc"),f=!1,d=[];for(let p of e)typeof p.route.shouldRevalidate=="function"?f=!0:d.push(p.route.id);return f&&d.length>0&&c.searchParams.set("_routes",d.join(",")),[c.pathname+c.search]},[o,i.v8_trailingSlashAwareDataRequests,t,n,e]);return j.createElement(j.Fragment,null,u.map(c=>j.createElement("link",{key:c,rel:"prefetch",as:"fetch",href:c,...r})))}function d5({page:t,matches:e,...r}){let n=vn(),{future:i,manifest:o,routeModules:u}=by(),{basename:c}=yy(),{loaderData:f,matches:d}=s5(),p=j.useMemo(()=>WE(t,e,d,o,n,"data"),[t,e,d,o,n]),m=j.useMemo(()=>WE(t,e,d,o,n,"assets"),[t,e,d,o,n]),g=j.useMemo(()=>{if(t===n.pathname+n.search+n.hash)return[];let w=new Set,E=!1;if(e.forEach(x=>{let _=o.routes[x.route.id];!_||!_.hasLoader||(!p.some(O=>O.route.id===x.route.id)&&x.route.id in f&&u[x.route.id]?.shouldRevalidate||_.hasClientLoader?E=!0:w.add(x.route.id))}),w.size===0)return[];let T=zC(t,c,i.v8_trailingSlashAwareDataRequests,"data");return E&&w.size>0&&T.searchParams.set("_routes",e.filter(x=>w.has(x.route.id)).map(x=>x.route.id).join(",")),[T.pathname+T.search]},[c,i.v8_trailingSlashAwareDataRequests,f,n,o,p,e,t,u]),y=j.useMemo(()=>r5(m,o),[m,o]),v=u5(m);return j.createElement(j.Fragment,null,g.map(w=>j.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...r})),y.map(w=>j.createElement("link",{key:w,rel:"modulepreload",href:w,...r})),v.map(({key:w,link:E})=>j.createElement("link",{key:w,nonce:r.nonce,...E,crossOrigin:E.crossOrigin??r.crossOrigin})))}function f5(...t){return e=>{t.forEach(r=>
13{typeof r=="function"?r(e):r!=null&&(r.current=e)})}}var h5=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{h5&&(window.__reactRouterVersion="7.17.0")}catch{}function p5(t,e){return BL({basename:e?.basename,getContext:e?.getContext,future:e?.future,history:aL({window:e?.window}),hydrationData:m5(),routes:t,mapRouteProperties:N4,hydrationRouteProperties:P4,dataStrategy:e?.dataStrategy,patchRoutesOnNavigation:e?.patchRoutesOnNavigation,window:e?.window,instrumentations:e?.instrumentations}).initialize()}function m5(){let t=window?.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:g5(t.errors)}),t}function g5(t){if(!t)return null;let e=Object.entries(t),r={};for(let[n,i]of e)if(i&&i.__type==="RouteErrorResponse")r[n]=new Qu(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let u=new o(i.message);u.stack="",r[n]=u}catch{}}if(r[n]==null){let o=new Error(i.message);o.stack="",r[n]=o}}else r[n]=i;return r}var jC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,IC=j.forwardRef(function({onClick:e,discover:r="render",prefetch:n="none",relative:i,reloadDocument:o,replace:u,mask:c,state:f,target:d,to:p,preventScrollReset:m,viewTransition:g,defaultShouldRevalidate:y,...v},w){let{basename:E,navigator:T,useTransitions:x}=j.useContext(rn),_=typeof p=="string"&&jC.test(p),O=dC(p,E);p=O.to;let k=y4(p,{relative:i}),L=vn(),H=null;if(c){let F=Ku(c,[],L.mask?L.mask.pathname:"/",!0);E!=="/"&&(F.pathname=F.pathname==="/"?E:Kn([E,F.pathname])),H=T.createHref(F)}let[C,D,M]=o5(n,v),P=w5(p,{replace:u,mask:c,state:f,target:d,preventScrollReset:m,relative:i,viewTransition:g,defaultShouldRevalidate:y,useTransitions:x});function U(F){e&&e(F),F.defaultPrevented||P(F)}let I=!(O.isExternal||o),z=j.createElement("a",{...v,...M,href:(I?H:void 0)||O.absoluteURL||k,onClick:I?U:e,ref:f5(w,D),target:d,"data-discover":!_&&r==="render"?"true":void 0});return C&&!_?j.createElement(j.Fragment,null,z,j.createElement(l5,{page:k})):z});IC.displayName="Link";var v5=j.forwardRef(function({"aria-current":e="page",caseSensitive:r=!1,className:n="",end:i=!1,style:o,to:u,viewTransition:c,children:f,...d},p){let m=Ju(u,{relative:d.relative}),g=vn(),y=j.useContext(ul),{navigator:v,basename:w}=j.useContext(rn),E=y!=null&&R5(m)&&c===!0,T=v.encodeLocation?v.encodeLocation(m).pathname:m.pathname,x=g.pathname,_=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;r||(x=x.toLowerCase(),_=_?_.toLowerCase():null,T=T.toLowerCase()),_&&w&&(_=Ln(_,w)||_);const O=T!=="/"&&T.endsWith("/")?T.length-1:T.length;let k=x===T||!i&&x.startsWith(T)&&x.charAt(O)==="/",L=_!=null&&(_===T||!i&&_.startsWith(T)&&_.charAt(T.length)==="/"),H={isActive:k,isPending:L,isTransitioning:E},C=k?e:void 0,D;typeof n=="function"?D=n(H):D=[n,k?"active":null,L?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let M=typeof o=="function"?o(H):o;return j.createElement(IC,{...d,"aria-current":C,className:D,ref:p,style:M,to:u,viewTransition:c},typeof f=="function"?f(H):f)});v5.displayName="NavLink";var y5=j.forwardRef(({discover:t="render",fetcherKey:e,navigate:r,reloadDocument:n,replace:i,state:o,method:u=Fd,action:c,onSubmit:f,relative:d,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:g,...y},v)=>{let{useTransitions:w}=j.useContext(rn),E=x5(),T=_5(c,{relative:d}),x=u.toLowerCase()==="get"?"get":"post",_=typeof c=="string"&&jC.test(c),O=k=>{if(f&&f(k),k.defaultPrevented)return;k.preventDefault();let L=k.nativeEvent.submitter,H=L?.getAttribute("formmethod")||u,C=()=>E(L||k.currentTarget,{fetcherKey:e,method:H,navigate:r,replace:i,state:o,relative:d,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:g});w&&r!==!1?j.startTransition(()=>C()):C()};return j.createElement("form",{ref:v,method:x,action:T,onSubmit:n?f:O,...y,"data-discover":!_&&t==="render"?"true":void 0})});y5.displayName="Form";function UC({getKey:t,storageKey:e,...r}){let n=j.useContext(Hf),{basename:i}=j.useContext(rn),o=vn(),u=LC();T5({getKey:t,storageKey:e});let c=j.useMemo(()=>
13{if(!n||!t)return null;let d=bv(o,u,i,t);return d!==o.key?d:null},[]);if(!n||n.isSpaMode)return null;let f=((d,p)=>{if(!window.history.state||!window.history.state.key){let m=Math.random().toString(32).slice(2);window.history.replaceState({key:m},"")}try{let g=JSON.parse(sessionStorage.getItem(d)||"{}")[p||window.history.state.key];typeof g=="number"&&window.scrollTo(0,g)}catch(m){console.error(m),sessionStorage.removeItem(d)}}).toString();return j.createElement("script",{...r,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${f})(${XE(JSON.stringify(e||yv))}, ${XE(JSON.stringify(c))})`}})}UC.displayName="ScrollRestoration";function $C(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function wy(t){let e=j.useContext(Ys);return tt(e,$C(t)),e}function b5(t){let e=j.useContext(ul);return tt(e,$C(t)),e}function w5(t,{target:e,replace:r,mask:n,state:i,preventScrollReset:o,relative:u,viewTransition:c,defaultShouldRevalidate:f,useTransitions:d}={}){let p=hy(),m=vn(),g=Ju(t,{relative:u});return j.useCallback(y=>{if(V4(y,e)){y.preventDefault();let v=r!==void 0?r:ka(m)===ka(g),w=()=>p(t,{replace:v,mask:n,state:i,preventScrollReset:o,relative:u,viewTransition:c,defaultShouldRevalidate:f});d?j.startTransition(()=>w()):w()}},[m,p,g,r,n,i,e,t,o,u,c,f,d])}function KV(t){ir(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 e=j.useRef(vv(t)),r=j.useRef(!1),n=vn(),i=j.useMemo(()=>G4(n.search,r.current?null:e.current),[n.search]),o=hy(),u=j.useCallback((c,f)=>{const d=vv(typeof c=="function"?c(new URLSearchParams(i)):c);r.current=!0,o("?"+d,f)},[o,i]);return[i,u]}var S5=0,E5=()=>`__${String(++S5)}__`;function x5(){let{router:t}=wy("useSubmit"),{basename:e}=j.useContext(rn),r=O4(),n=t.fetch,i=t.navigate;return j.useCallback(async(o,u={})=>{let{action:c,method:f,encType:d,formData:p,body:m}=K4(o,e);if(u.navigate===!1){let g=u.fetcherKey||E5();await n(g,r,u.action||c,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:p,body:m,formMethod:u.method||f,formEncType:u.encType||d,flushSync:u.flushSync})}else await i(u.action||c,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:p,body:m,formMethod:u.method||f,formEncType:u.encType||d,replace:u.replace,state:u.state,fromRouteId:r,flushSync:u.flushSync,viewTransition:u.viewTransition})},[n,i,e,r])}function _5(t,{relative:e}={}){let{basename:r}=j.useContext(rn),n=j.useContext(Zn);tt(n,"useFormAction must be used inside a RouteContext");let[i]=n.matches.slice(-1),o={...Ju(t||".",{relative:e})},u=vn();if(t==null){o.search=u.search;let c=new URLSearchParams(o.search),f=c.getAll("index");if(f.some(p=>p==="")){c.delete("index"),f.filter(m=>m).forEach(m=>c.append("index",m));let p=c.toString();o.search=p?`?${p}`:""}}return(!t||t===".")&&i.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(o.pathname=o.pathname==="/"?r:Kn([r,o.pathname])),ka(o)}var yv="react-router-scroll-positions",Rd={};function bv(t,e,r,n){let i=null;return n&&(r!=="/"?i=n({...t,pathname:Ln(t.pathname,r)||t.pathname},e):i=n(t,e)),i==null&&(i=t.key),i}function T5({getKey:t,storageKey:e}={}){let{router:r}=wy("useScrollRestoration"),{restoreScrollPosition:n,preventScrollReset:i}=b5("useScrollRestoration"),{basename:o}=j.useContext(rn),u=vn(),c=LC(),f=kC();j.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),C5(j.useCallback(()=>{if(f.state==="idle"){let d=bv(u,c,o,t);Rd[d]=window.scrollY}try{sessionStorage.setItem(e||yv,JSON.stringify(Rd))}catch(d){ir(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${d}).`)}window.history.scrollRestoration="auto"},[f.state,t,o,u,c,e])),typeof document<"u"&&(j.useLayoutEffect(()=>{try{let d=sessionStorage.getItem(e||yv);d&&(Rd=JSON.parse(d))}catch{}},[e]),j.useLayoutEffect(()=>{let d=r?.enableScrollRestoration(Rd,()=>window.scrollY,t?(p,m)=>bv(p,m,o,t):void 0);return()=>d&&d()},[r,o,t]),j.useLayoutEffect(()=>{if(n!==!1){if(typeof n=="number"){window.scrollTo(0,n);return}try{if(u.hash){let d=document.getElementById(decodeURIComponent(u.hash.slice(1)));if(d){d.scrollIntoView();return}}}catch{ir(!1,`"${u.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}i!==!0&&window.scrollTo(0,0)}},[u,n,i]))}function C5(t,e){let{capture:r}={};j.useEffect(()=>{let n=r!=null?{capture:r}:void 0;return window.addEventListener("pagehide",t,n),()=>{window.removeEventListener("pagehide",t,n)}},[t,r])}function R5(t,{relative:e}={}){let r=j.useContext(dy);tt(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=wy("useViewTransitionState"),i=Ju(t,{relative:e});if(!r.isTransitioning)return!1;let o=Ln(r.currentLocation.pathname,n)||r.currentLocation.pathname,u=Ln(r.nextLocation.pathname,n)||r.nextLocation.pathname;return hf(i.pathname,u)!=null||hf(i.pathname,o)!=null}
vendor: 31,101 bytes, lines 13-15
13class A5 extends Error{}A5.prototype.name="InvalidTokenError";function HC(t,e){return function(){return t.apply(e,arguments)}}const{toString:O5}=Object.prototype,{getPrototypeOf:Bf}=Object,{iterator:Ff,toStringTag:BC}=Symbol,qf=(t=>e=>{const r=O5.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ma=t=>(t=t.toLowerCase(),e=>qf(e)===t),Yf=t=>e=>typeof e===t,{isArray:Bs}=Array,rl=Yf("undefined");function dl(t){return t!==null&&!rl(t)&&t.constructor!==null&&!rl(t.constructor)&&mn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const FC=ma("ArrayBuffer");function M5(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&FC(t.buffer),e}const D5=Yf("string"),mn=Yf("function"),qC=Yf("number"),ec=t=>t!==null&&typeof t=="object",k5=t=>t===!0||t===!1,Yd=t=>{if(qf(t)!=="object")return!1;const e=Bf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(BC in t)&&!(Ff in t)},L5=t=>{if(!ec(t)||dl(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},N5=ma("Date"),P5=ma("File"),z5=t=>!!(t&&typeof t.uri<"u"),j5=t=>t&&typeof t.getParts<"u",I5=ma("Blob"),U5=ma("FileList"),$5=t=>ec(t)&&mn(t.pipe);function H5(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const KE=H5(),QE=typeof KE.FormData<"u"?KE.FormData:void 0,B5=t=>{if(!t)return!1;if(QE&&t instanceof QE)return!0;const e=Bf(t);if(!e||e===Object.prototype||!mn(t.append))return!1;const r=qf(t);return r==="formdata"||r==="object"&&mn(t.toString)&&t.toString()==="[object FormData]"},F5=ma("URLSearchParams"),[q5,Y5,V5,G5]=["ReadableStream","Request","Response","Headers"].map(ma),X5=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function tc(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),Bs(t))for(n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else{if(dl(t))return;const o=r?Object.getOwnPropertyNames(t):Object.keys(t),u=o.length;let c;for(n=0;n<u;n++)c=o[n],e.call(null,t[c],c,t)}}function YC(t,e){if(dl(t))return null;e=e.toLowerCase();const r=Object.keys(t);let n=r.length,i;for(;n-- >0;)if(i=r[n],e===i.toLowerCase())return i;return null}const Ns=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,VC=t=>!rl(t)&&t!==Ns;function wv(...t){const{caseless:e,skipUndefined:r}=VC(this)&&this||{},n={},i=(o,u)=>{if(u==="__proto__"||u==="constructor"||u==="prototype")return;const c=e&&typeof u=="string"&&YC(n,u)||u,f=Sv(n,c)?n[c]:void 0;Yd(f)&&Yd(o)?n[c]=wv(f,o):Yd(o)?n[c]=wv({},o):Bs(o)?n[c]=o.slice():(!r||!rl(o))&&(n[c]=o)};for(let o=0,u=t.length;o<u;o++){const c=t[o];if(!c||dl(c)||(tc(c,i),typeof c!="object"||Bs(c)))continue;const f=Object.getOwnPropertySymbols(c);for(let d=0;d<f.length;d++){const p=f[d];s3.call(c,p)&&i(c[p],p)}}return n}const W5=(t,e,r,{allOwnKeys:n}={})=>(tc(e,(i,o)=>{r&&mn(i)?Object.defineProperty(t,o,{__proto__:null,value:HC(i,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,o,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),t),K5=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Q5=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),r&&Object.assign(t.prototype,r)},Z5=(t,e,r,n)=>{let i,o,u;const c={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)u=i[o],(!n||n(u,t,e))&&!c[u]&&(e[u]=t[u],c[u]=!0);t=r!==!1&&Bf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},J5=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},e3=t=>{if(!t)return null;if(Bs(t))return t;let e=t.length;if(!qC(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},t3=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Bf(Uint8Array)),r3=(t,e)=>{const n=(t&&t[Ff]).call(t);let i;for(;(i=n.next())&&!i.done;){const o=i.value;e.call(t,o[0],o[1])}},n3=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},a3=ma("HTMLFormElement"),i3=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),Sv=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),{propertyIsEnumerable:s3}=Object.prototype,o3=ma("RegExp"),GC=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};tc(r,(i,o)=>{let u;(u=e(i,o,t))!==!1&&(n[o]=u||i)}),Object.defineProperties(t,n)},l3=t=>{GC(t,(e,r)=>{if(mn(t)&&["arguments","caller","callee"].includes(r))return!1;const n=t[r];if(mn(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},u3=(t,e)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return Bs(t)?n(t):n(String(t).split(e)),r},c3=()=>{},d3=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function f3(t){return!!(t&&mn(t.append)&&t[BC]==="FormData"&&t[Ff])}const h3=t=>{const e=new WeakSet,r=n=>{if(ec(n)){if(e.has(n))return;if(dl(n))return n;if(!("toJSON"in n)){e.add(n);const i=Bs(n)?[]:{};return tc(n,(o,u)=>{const c=r(o);!rl(c)&&(i[u]=c)}),e.delete(n),i}}return n};return r(t)},p3=ma("AsyncFunction"),m3=t=>t&&(ec(t)||mn(t))&&mn(t.then)&&mn(t.catch),XC=((t,e)=>t?setImmediate:e?((r,n)=>(Ns.addEventListener("message",({source:i,data:o})=>{i===Ns&&o===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Ns.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",mn(Ns.postMessage)),g3=typeof queueMicrotask<"u"?queueMicrotask.bind(Ns):typeof process<"u"&&process.nextTick||XC,v3=t=>t!=null&&mn(t[Ff]),ie={isArray:Bs,isArrayBuffer:FC,isBuffer:dl,isFormData:B5,isArrayBufferView:M5,isString:D5,isNumber:qC,isBoolean:k5,isObject:ec,isPlainObject:Yd,isEmptyObject:L5,isReadableStream:q5,isRequest:Y5,isResponse:V5,isHeaders:G5,isUndefined:rl,isDate:N5,isFile:P5,isReactNativeBlob:z5,isReactNative:j5,isBlob:I5,isRegExp:o3,isFunction:mn,isStream:$5,isURLSearchParams:F5,isTypedArray:t3,isFileList:U5,forEach:tc,merge:wv,extend:W5,trim:X5,stripBOM:K5,inherits:Q5,toFlatObject:Z5,kindOf:qf,kindOfTest:ma,endsWith:J5,toArray:e3,forEachEntry:r3,matchAll:n3,isHTMLForm:a3,hasOwnProperty:Sv,hasOwnProp:Sv,reduceDescriptors:GC,freezeMethods:l3,toObjectSet:u3,toCamelCase:i3,noop:c3,toFiniteNumber:d3,findKey:YC,global:Ns,isContextDefined:VC,isSpecCompliantForm:f3,toJSONObject:h3,isAsyncFn:p3,isThenable:m3,setImmediate:XC,asap:g3,isIterable:v3},y3=ie.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"]),b3=t=>{const e={};let r,n,i;return t&&t.split(` 14`).forEach(function(u){i=u.indexOf(":"),r=u.substring(0,i).trim().toLowerCase(),n=u.substring(i+1).trim(),!(!r||e[r]&&y3[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e};function w3(t){let e=0,r=t.length;for(;e<r;){const n=t.charCodeAt(e);if(n!==9&&n!==32)break;e+=1}for(;r>e;){const n=t.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return e===0&&r===t.length?t:t.slice(e,r)}const S3=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),E3=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Sy(t,e){return ie.isArray(t)?t.map(r=>Sy(r,e)):w3(String(t).replace(e,""))}const x3=t=>Sy(t,S3),_3=t=>Sy(t,E3);function WC(t){const e=Object.create(null);return ie.forEach(t.toJSON(),(r,n)=>{e[n]=_3(r)}),e}const ZE=Symbol("internals");function cu(t){return t&&String(t).trim().toLowerCase()}function Vd(t){return t===!1||t==null?t:ie.isArray(t)?t.map(Vd):x3(String(t))}function T3(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const C3=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ym(t,e,r,n,i){if(ie.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!ie.isString(e)){if(ie.isString(n))return e.indexOf(n)!==-1;if(ie.isRegExp(n))return n.test(e)}}function R3(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function A3(t,e){const r=ie.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{__proto__:null,value:function(i,o,u){return this[n].call(this,e,i,o,u)},configurable:!0})})}let tn=class{constructor(e){e&&this.set(e)}set(e,r,n){const i=this;function o(c,f,d){const p=cu(f);if(!p)return;const m=ie.findKey(i,p);(!m||i[m]===void 0||d===!0||d===void 0&&i[m]!==!1)&&(i[m||f]=Vd(c))}const u=(c,f)=>ie.forEach(c,(d,p)=>o(d,p,f));if(ie.isPlainObject(e)||e instanceof this.constructor)u(e,r);else if(ie.isString(e)&&(e=e.trim())&&!C3(e))u(b3(e),r);else if(ie.isObject(e)&&ie.isIterable(e)){let c={},f,d;for(const p of e){if(!ie.isArray(p))throw new TypeError("Object iterator must return a key-value pair");c[d=p[0]]=(f=c[d])?ie.isArray(f)?[...f,p[1]]:[f,p[1]]:p[1]}u(c,r)}else e!=null&&o(r,e,n);return this}get(e,r){if(e=cu(e),e){const n=ie.findKey(this,e);if(n){const i=this[n];if(!r)return i;if(r===!0)return T3(i);if(ie.isFunction(r))return r.call(this,i,n);if(ie.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=cu(e),e){const n=ie.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Ym(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let i=!1;function o(u){if(u=cu(u),u){const c=ie.findKey(n,u);c&&(!r||Ym(n,n[c],c,r))&&(delete n[c],i=!0)}}return ie.isArray(e)?e.forEach(o):o(e),i}clear(e){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!e||Ym(this,this[o],o,e,!0))&&(delete this[o],i=!0)}return i}normalize(e){const r=this,n={};return ie.forEach(this,(i,o)=>{const u=ie.findKey(n,o);if(u){r[u]=Vd(i),delete r[o];return}const c=e?R3(o):String(o).trim();c!==o&&delete r[o],r[c]=Vd(i),n[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return ie.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&ie.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(` 15`)}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,...r){const n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){const n=(this[ZE]=this[ZE]={accessors:{}}).accessors,i=this.prototype;function o(u){const c=cu(u);n[c]||(A3(i,u),n[c]=!0)}return ie.isArray(e)?e.forEach(o):o(e),this}};tn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ie.reduceDescriptors(tn.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}});ie.freezeMethods(tn);const O3="[REDACTED ****]";function M3(t){if(ie.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(ie.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function D3(t,e){const r=new Set(e.map(o=>String(o).toLowerCase())),n=[],i=o=>{if(o===null||typeof o!="object"||ie.isBuffer(o))return o;if(n.indexOf(o)!==-1)return;o instanceof tn&&(o=o.toJSON()),n.push(o);let u;if(ie.isArray(o))u=[],o.forEach((c,f)=>{const d=i(c);ie.isUndefined(d)||(u[f]=d)});else{if(!ie.isPlainObject(o)&&M3(o))return n.pop(),o;u=Object.create(null);for(const[c,f]of Object.entries(o)){const d=r.has(c.toLowerCase())?O3:i(f);ie.isUndefined(d)||(u[c]=d)}}return n.pop(),u};return i(t)}let Le=class KC extends Error{static from(e,r,n,i,o,u){const c=new KC(e.message,r||e.code,n,i,o);return c.cause=e,c.name=e.name,e.status!=null&&c.status==null&&(c.status=e.status),u&&Object.assign(c,u),c}constructor(e,r,n,i,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,r=e&&ie.hasOwnProp(e,"redact")?e.redact:void 0,n=ie.isArray(r)&&r.length>0?D3(e,r):ie.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}}};Le.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Le.ERR_BAD_OPTION="ERR_BAD_OPTION";Le.ECONNABORTED="ECONNABORTED";Le.ETIMEDOUT="ETIMEDOUT";Le.ECONNREFUSED="ECONNREFUSED";Le.ERR_NETWORK="ERR_NETWORK";Le.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Le.ERR_DEPRECATED="ERR_DEPRECATED";Le.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Le.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Le.ERR_CANCELED="ERR_CANCELED";Le.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Le.ERR_INVALID_URL="ERR_INVALID_URL";Le.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const k3=null;function Ev(t){return ie.isPlainObject(t)||ie.isArray(t)}function QC(t){return ie.endsWith(t,"[]")?t.slice(0,-2):t}function Vm(t,e,r){return t?t.concat(e).map(function(i,o){return i=QC(i),!r&&o?"["+i+"]":i}).join(r?".":""):e}function L3(t){return ie.isArray(t)&&!t.some(Ev)}const N3=ie.toFlatObject(ie,{},null,function(e){return/^is[A-Z]/.test(e)});function Vf(t,e,r){if(!ie.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=ie.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,T){return!ie.isUndefined(T[E])});const n=r.metaTokens,i=r.visitor||m,o=r.dots,u=r.indexes,c=r.Blob||typeof Blob<"u"&&Blob,f=r.maxDepth===void 0?100:r.maxDepth,d=c&&ie.isSpecCompliantForm(e);if(!ie.isFunction(i))throw new TypeError("visitor must be a function");function p(w){if(w===null)return"";if(ie.isDate(w))return w.toISOString();if(ie.isBoolean(w))return w.toString();if(!d&&ie.isBlob(w))throw new Le("Blob is not supported. Use a Buffer instead.");return ie.isArrayBuffer(w)||ie.isTypedArray(w)?d&&typeof Blob=="function"?new Blob([w]):Buffer.from(w):w}function m(w,E,T){let x=w;if(ie.isReactNative(e)&&ie.isReactNativeBlob(w))return e.append(Vm(T,E,o),p(w)),!1;if(w&&!T&&typeof w=="object"){if(ie.endsWith(E,"{}"))E=n?E:E.slice(0,-2),w=JSON.stringify(w);else if(ie.isArray(w)&&L3(w)||(ie.isFileList(w)||ie.endsWith(E,"[]"))&&(x=ie.toArray(w)))return E=QC(E),x.forEach(function(O,k){!(ie.isUndefined(O)||O===null)&&e.append(u===!0?Vm([E],k,o):u===null?E:E+"[]",p(O))}),!1}return Ev(w)?!0:(e.append(Vm(T,E,o),p(w)),!1)}const g=[],y=Object.assign(N3,{defaultVisitor:m,convertValue:p,isVisitable:Ev});function v(w,E,T=0){if(!ie.isUndefined(w)){if(T>f)throw new Le("Object is too deeply nested ("+T+" levels). Max depth: "+f,Le.ERR_FORM_DATA_DEPTH_EXCEEDED);if(g.indexOf(w)!==-1)throw new Error("Circular reference detected in "+E.join("."));g.push(w),ie.forEach(w,function(_,O){(!(ie.isUndefined(_)||_===null)&&i.call(e,_,ie.isString(O)?O.trim():O,E,y))===!0&&v(_,E?E.concat(O):[O],T+1)}),g.pop()}}if(!ie.isObject(t))throw new TypeError("data must be an object");return v(t),e}function JE(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(n){return e[n]})}function Ey(t,e){this._pairs=[],t&&Vf(t,this,e)}const ZC=Ey.prototype;ZC.append=function(e,r){this._pairs.push([e,r])};ZC.toString=function(e){const r=e?function(n){return e.call(this,n,JE)}:JE;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function P3(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function JC(t,e,r){if(!e)return t;const n=r&&r.encode||P3,i=ie.isFunction(r)?{serialize:r}:r,o=i&&i.serialize;let u;if(o?u=o(e,i):u=ie.isURLSearchParams(e)?e.toString():new Ey(e,i).toString(n),u){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+u}return t}class ex{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,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&&(this.handlers=[])}forEach(e){ie.forEach(this.handlers,function(n){n!==null&&e(n)})}}const xy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1},z3=typeof URLSearchParams<"u"?URLSearchParams:Ey,j3=typeof FormData<"u"?FormData:null,I3=typeof Blob<"u"?Blob:null,U3={isBrowser:!0,classes:{URLSearchParams:z3,FormData:j3,Blob:I3},protocols:["http","https","file","blob","url","data"]},_y=typeof window<"u"&&typeof document<"u",xv=typeof navigator=="object"&&navigator||void 0,$3=_y&&(!xv||["ReactNative","NativeScript","NS"].indexOf(xv.product)<0),H3=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",B3=_y&&window.location.href||"http://localhost",F3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:_y,hasStandardBrowserEnv:$3,hasStandardBrowserWebWorkerEnv:H3,navigator:xv,origin:B3},Symbol.toStringTag,{value:"Module"})),Ur={...F3,...U3};function q3(t,e){return Vf(t,new Ur.classes.URLSearchParams,{visitor:function(r,n,i,o){return Ur.isNode&&ie.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...e})}function Y3(t){return ie.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function V3(t){const e={},r=Object.keys(t);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],e[o]=t[o];return e}function eR(t){function e(r,n,i,o){let u=r[o++];if(u==="__proto__")return!0;const c=Number.isFinite(+u),f=o>=r.length;return u=!u&&ie.isArray(i)?i.length:u,f?(ie.hasOwnProp(i,u)?i[u]=ie.isArray(i[u])?i[u].concat(n):[i[u],n]:i[u]=n,!c):((!ie.hasOwnProp(i,u)||!ie.isObject(i[u]))&&(i[u]=[]),e(r,n,i[u],o)&&ie.isArray(i[u])&&(i[u]=V3(i[u])),!c)}if(ie.isFormData(t)&&ie.isFunction(t.entries)){const r={};return ie.forEachEntry(t,(n,i)=>{e(Y3(n),i,r,0)}),r}return null}const Po=(t,e)=>t!=null&&ie.hasOwnProp(t,e)?t[e]:void 0;function G3(t,e,r){if(ie.isString(t))try{return(e||JSON.parse)(t),ie.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const rc={transitional:xy,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=ie.isObject(e);if(o&&ie.isHTMLForm(e)&&(e=new FormData(e)),ie.isFormData(e))return i?JSON.stringify(eR(e)):e;if(ie.isArrayBuffer(e)||ie.isBuffer(e)||ie.isStream(e)||ie.isFile(e)||ie.isBlob(e)||ie.isReadableStream(e))return e;if(ie.isArrayBufferView(e))return e.buffer;if(ie.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(o){const f=Po(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return q3(e,f).toString();if((c=ie.isFileList(e))||n.indexOf("multipart/form-data")>-1){const d=Po(this,"env"),p=d&&d.FormData;return Vf(c?{"files[]":e}:e,p&&new p,f)}}return o||i?(r.setContentType("application/json",!1),G3(e)):e}],transformResponse:[function(e){const r=Po(this,"transitional")||rc.transitional,n=r&&r.forcedJSONParsing,i=Po(this,"responseType"),o=i==="json";if(ie.isResponse(e)||ie.isReadableStream(e))return e;if(e&&ie.isString(e)&&(n&&!i||o)){const c=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(e,Po(this,"parseReviver"))}catch(f){if(c)throw f.name==="SyntaxError"?Le.from(f,Le.ERR_BAD_RESPONSE,this,null,Po(this,"response")):f}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ur.classes.FormData,Blob:Ur.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ie.forEach(["delete","get","head","post","put","patch","query"],t=>{rc.headers[t]={}});function Gm(t,e){const r=this||rc,n=e||r,i=tn.from(n.headers);let o=n.data;return ie.forEach(t,function(c){o=c.call(r,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function tR(t){return!!(t&&t.__CANCEL__)}let nc=class extends Le{constructor(e,r,n){super(e??"canceled",Le.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function rR(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new Le("Request failed with status code "+r.status,r.status>=400&&r.status<500?Le.ERR_BAD_REQUEST:Le.ERR_BAD_RESPONSE,r.config,r.request,r))}function X3(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}function W3(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i=0,o=0,u;return e=e!==void 0?e:1e3,function(f){const d=Date.now(),p=n[o];u||(u=d),r[i]=f,n[i]=d;let m=o,g=0;for(;m!==i;)g+=r[m++],m=m%t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),d-u<e)return;const y=p&&d-p;return y?Math.round(g*1e3/y):void 0}}function K3(t,e){let r=0,n=1e3/e,i,o;const u=(d,p=Date.now())=>{r=p,i=null,o&&(clearTimeout(o),o=null),t(...d)};return[(...d)=>{const p=Date.now(),m=p-r;m>=n?u(d,p):(i=d,o||(o=setTimeout(()=>{o=null,u(i)},n-m)))},()=>i&&u(i)]}const mf=(t,e,r=3)=>{let n=0;const i=W3(50,250);return K3(o=>{if(!o||typeof o.loaded!="number")return;const u=o.loaded,c=o.lengthComputable?o.total:void 0,f=c!=null?Math.min(u,c):u,d=Math.max(0,f-n),p=i(d);n=Math.max(n,f);const m={loaded:f,total:c,progress:c?f/c:void 0,bytes:d,rate:p||void 0,estimated:p&&c?(c-f)/p:void 0,event:o,lengthComputable:c!=null,[e?"download":"upload"]:!0};t(m)},r)},tx=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},rx=t=>(...e)=>ie.asap(()=>t(...e)),Q3=Ur.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,Ur.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(Ur.origin),Ur.navigator&&/(msie|trident)/i.test(Ur.navigator.userAgent)):()=>!0,Z3=Ur.hasStandardBrowserEnv?{write(t,e,r,n,i,o,u){if(typeof document>"u")return;const c=[`${t}=${encodeURIComponent(e)}`];ie.isNumber(r)&&c.push(`expires=${new Date(r).toUTCString()}`),ie.isString(n)&&c.push(`path=${n}`),ie.isString(i)&&c.push(`domain=${i}`),o===!0&&c.push("secure"),ie.isString(u)&&c.push(`SameSite=${u}`),document.cookie=c.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.split(";");for(let r=0;r<e.length;r++){const n=e[r].replace(/^\s+/,""),i=n.indexOf("=");if(i!==-1&&n.slice(0,i)===t)return decodeURIComponent(n.slice(i+1))}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function J3(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function eN(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function nR(t,e,r){let n=!J3(e);return t&&(n||r===!1)?eN(t,e):e}const nx=t=>t instanceof tn?{...t}:t;function Fs(t,e){e=e||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(d,p,m,g){return ie.isPlainObject(d)&&ie.isPlainObject(p)?ie.merge.call({caseless:g},d,p):ie.isPlainObject(p)?ie.merge({},p):ie.isArray(p)?p.slice():p}function i(d,p,m,g){if(ie.isUndefined(p)){if(!ie.isUndefined(d))return n(void 0,d,m,g)}else return n(d,p,m,g)}function o(d,p){if(!ie.isUndefined(p))return n(void 0,p)}function u(d,p){if(ie.isUndefined(p)){if(!ie.isUndefined(d))return n(void 0,d)}else return n(void 0,p)}function c(d,p,m){if(ie.hasOwnProp(e,m))return n(d,p);if(ie.hasOwnProp(t,m))return n(void 0,d)}const f={url:o,method:o,data:o,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,allowedSocketPaths:u,responseEncoding:u,validateStatus:c,headers:(d,p,m)=>i(nx(d),nx(p),m,!0)};return ie.forEach(Object.keys({...t,...e}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const m=ie.hasOwnProp(f,p)?f[p]:i,g=ie.hasOwnProp(t,p)?t[p]:void 0,y=ie.hasOwnProp(e,p)?e[p]:void 0,v=m(g,y,p);ie.isUndefined(v)&&m!==c||(r[p]=v)}),r}const tN=["content-type","content-length"];function rN(t,e,r){if(r!=="content-only"){t.set(e);return}Object.entries(e).forEach(([n,i])=>{tN.includes(n.toLowerCase())&&t.set(n,i)})}const nN=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,r)=>String.fromCharCode(parseInt(r,16)));function aR(t){const e=Fs({},t),r=g=>ie.hasOwnProp(e,g)?e[g]:void 0,n=r("data");let i=r("withXSRFToken");const o=r("xsrfHeaderName"),u=r("xsrfCookieName");let c=r("headers");const f=r("auth"),d=r("baseURL"),p=r("allowAbsoluteUrls"),m=r("url");if(e.headers=c=tn.from(c),e.url=JC(nR(d,m,p),r("params"),r("paramsSerializer")),f&&c.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?nN(f.password):""))),ie.isFormData(n)&&(Ur.hasStandardBrowserEnv||Ur.hasStandardBrowserWebWorkerEnv||ie.isReactNative(n)?c.setContentType(void 0):ie.isFunction(n.getHeaders)&&rN(c,n.getHeaders(),r("formDataHeaderPolicy"))),Ur.hasStandardBrowserEnv&&(ie.isFunction(i)&&(i=i(e)),i===!0||i==null&&Q3(e.url))){const y=o&&u&&Z3.read(u);y&&c.set(o,y)}return e}const aN=typeof XMLHttpRequest<"u",iN=aN&&function(t){return new Promise(function(r,n){const i=aR(t);let o=i.data;const u=tn.from(i.headers).normalize();let{responseType:c,onUploadProgress:f,onDownloadProgress:d}=i,p,m,g,y,v;function w(){y&&y(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(p),i.signal&&i.signal.removeEventListener("abort",p)}let E=new XMLHttpRequest;E.open(i.method.toUpperCase(),i.url,!0),E.timeout=i.timeout;function T(){if(!E)return;const _=tn.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),k={data:!c||c==="text"||c==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:_,config:t,request:E};rR(function(H){r(H),w()},function(H){n(H),w()},k),E=null}"onloadend"in E?E.onloadend=T:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.startsWith("file:"))||setTimeout(T)},E.onabort=function(){E&&(n(new Le("Request aborted",Le.ECONNABORTED,t,E)),w(),E=null)},E.onerror=function(O){const k=O&&O.message?O.message:"Network Error",L=new Le(k,Le.ERR_NETWORK,t,E);L.event=O||null,n(L),w(),E=null},E.ontimeout=function(){let O=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||xy;i.timeoutErrorMessage&&(O=i.timeoutErrorMessage),n(new Le(O,k.clarifyTimeoutError?Le.ETIMEDOUT:Le.ECONNABORTED,t,E)),w(),E=null},o===void 0&&u.setContentType(null),"setRequestHeader"in E&&ie.forEach(WC(u),function(O,k){E.setRequestHeader(k,O)}),ie.isUndefined(i.withCredentials)||(E.withCredentials=!!i.withCredentials),c&&c!=="json"&&(E.responseType=i.responseType),d&&([g,v]=mf(d,!0),E.addEventListener("progress",g)),f&&E.upload&&([m,y]=mf(f),E.upload.addEventListener("progress",m),E.upload.addEventListener("loadend",y)),(i.cancelToken||i.signal)&&(p=_=>{E&&(n(!_||_.type?new nc(null,t,E):_),E.abort(),w(),E=null)},i.cancelToken&&i.cancelToken.subscribe(p),i.signal&&(i.signal.aborted?p():i.signal.addEventListener("abort",p)));const x=X3(i.url);if(x&&!Ur.protocols.includes(x)){n(new Le("Unsupported protocol "+x+":",Le.ERR_BAD_REQUEST,t));return}E.send(o||null)})},sN=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;const r=new AbortController;let n=!1;const i=function(f){if(!n){n=!0,u();const d=f instanceof Error?f:this.reason;r.abort(d instanceof Le?d:new nc(d instanceof Error?d.message:d))}};let o=e&&setTimeout(()=>{o=null,i(new Le(`timeout of ${e}ms exceeded`,Le.ETIMEDOUT))},e);const u=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(f=>{f.unsubscribe?f.unsubscribe(i):f.removeEventListener("abort",i)}),t=null)};t.forEach(f=>f.addEventListener("abort",i));const{signal:c}=r;return c.unsubscribe=()=>ie.asap(u),c},oN=function*(t,e){let r=t.byteLength;if(r<e){yield t;return}let n=0,i;for(;n<r;)i=n+e,yield t.slice(n,i),n=i},lN=async function*(t,e){for await(const r of uN(t))yield*oN(r,e)},uN=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},ax=(t,e,r,n)=>{const i=lN(t,e);let o=0,u,c=f=>{u||(u=!0,n&&n(f))};return new ReadableStream({async pull(f){try{const{done:d,value:p}=await i.next();if(d){c(),f.close();return}let m=p.byteLength;if(r){let g=o+=m;r(g)}f.enqueue(new Uint8Array(p))}catch(d){throw c(d),d}},cancel(f){return c(f),i.return()}},{highWaterMark:2})};function cN(t){if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;const e=t.indexOf(",");if(e<0)return 0;const r=t.slice(5,e),n=t.slice(e+1);if(/;base64/i.test(r)){let u=n.length;const c=n.length;for(let y=0;y<c;y++)if(n.charCodeAt(y)===37&&y+2<c){const v=n.charCodeAt(y+1),w=n.charCodeAt(y+2);(v>=48&&v<=57||v>=65&&v<=70||v>=97&&v<=102)&&(w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102)&&(u-=2,y+=2)}let f=0,d=c-1;const p=y=>y>=2&&n.charCodeAt(y-2)===37&&n.charCodeAt(y-1)===51&&(n.charCodeAt(y)===68||n.charCodeAt(y)===100);d>=0&&(n.charCodeAt(d)===61?(f++,d--):p(d)&&(f++,d-=3)),f===1&&d>=0&&(n.charCodeAt(d)===61||p(d))&&f++;const g=Math.floor(u/4)*3-(f||0);return g>0?g:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(n,"utf8");let o=0;for(let u=0,c=n.length;u<c;u++){const f=n.charCodeAt(u);if(f<128)o+=1;else if(f<2048)o+=2;else if(f>=55296&&f<=56319&&u+1<c){const d=n.charCodeAt(u+1);d>=56320&&d<=57343?(o+=4,u++):o+=3}else o+=3}return o}const Ty="1.17.0",ix=64*1024,{isFunction:Ad}=ie,dN=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,r)=>String.fromCharCode(parseInt(r,16))),sx=t=>{if(!ie.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},ox=(t,...e)=>{try{return!!t(...e)}catch{return!1}},fN=t=>{const e=t.indexOf("://");let r=t;return e!==-1&&(r=r.slice(e+3)),r.includes("@")||r.includes(":")},hN=t=>{const e=ie.global!==void 0&&ie.global!==null?ie.global:globalThis,{ReadableStream:r,TextEncoder:n}=e;t=ie.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);const{fetch:i,Request:o,Response:u}=t,c=i?Ad(i):typeof fetch=="function",f=Ad(o),d=Ad(u);if(!c)return!1;const p=c&&Ad(r),m=c&&(typeof n=="function"?(T=>x=>T.encode(x))(new n):async T=>new Uint8Array(await new o(T).arrayBuffer())),g=f&&p&&ox(()=>{let T=!1;const x=new o(Ur.origin,{body:new r,method:"POST",get duplex(){return T=!0,"half"}}),_=x.headers.has("Content-Type");return x.body!=null&&x.body.cancel(),T&&!_}),y=d&&p&&ox(()=>ie.isReadableStream(new u("").body)),v={stream:y&&(T=>T.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(T=>{!v[T]&&(v[T]=(x,_)=>{let O=x&&x[T];if(O)return O.call(x);throw new Le(`Response type '${T}' is not supported`,Le.ERR_NOT_SUPPORT,_)})});const w=async T=>{if(T==null)return 0;
15if(ie.isBlob(T))return T.size;if(ie.isSpecCompliantForm(T))return(await new o(Ur.origin,{method:"POST",body:T}).arrayBuffer()).byteLength;if(ie.isArrayBufferView(T)||ie.isArrayBuffer(T))return T.byteLength;if(ie.isURLSearchParams(T)&&(T=T+""),ie.isString(T))return(await m(T)).byteLength},E=async(T,x)=>{const _=ie.toFiniteNumber(T.getContentLength());return _??w(x)};return async T=>{let{url:x,method:_,data:O,signal:k,cancelToken:L,timeout:H,onDownloadProgress:C,onUploadProgress:D,responseType:M,headers:P,withCredentials:U="same-origin",fetchOptions:I,maxContentLength:z,maxBodyLength:F}=aR(T);const R=ie.isNumber(z)&&z>-1,A=ie.isNumber(F)&&F>-1,B=W=>ie.hasOwnProp(T,W)?T[W]:void 0;let q=i||fetch;M=M?(M+"").toLowerCase():"text";let K=sN([k,L&&L.toAbortSignal()],H),$=null;const Y=K&&K.unsubscribe&&(()=>{K.unsubscribe()});let G;try{let W;const X=B("auth");if(X){const be=X.username||"",ke=X.password||"";W={username:be,password:ke}}if(fN(x)){const be=new URL(x,Ur.origin);if(!W&&(be.username||be.password)){const ke=sx(be.username),Ue=sx(be.password);W={username:ke,password:Ue}}(be.username||be.password)&&(be.username="",be.password="",x=be.href)}if(W&&(P.delete("authorization"),P.set("Authorization","Basic "+btoa(dN((W.username||"")+":"+(W.password||""))))),R&&typeof x=="string"&&x.startsWith("data:")&&cN(x)>z)throw new Le("maxContentLength size of "+z+" exceeded",Le.ERR_BAD_RESPONSE,T,$);if(A&&_!=="get"&&_!=="head"){const be=await E(P,O);if(typeof be=="number"&&isFinite(be)&&be>F)throw new Le("Request body larger than maxBodyLength limit",Le.ERR_BAD_REQUEST,T,$)}if(D&&g&&_!=="get"&&_!=="head"&&(G=await E(P,O))!==0){let be=new o(x,{method:"POST",body:O,duplex:"half"}),ke;if(ie.isFormData(O)&&(ke=be.headers.get("content-type"))&&P.setContentType(ke),be.body){const[Ue,Pe]=tx(G,mf(rx(D)));O=ax(be.body,ix,Ue,Pe)}}ie.isString(U)||(U=U?"include":"omit");const Q=f&&"credentials"in o.prototype;if(ie.isFormData(O)){const be=P.getContentType();be&&/^multipart\/form-data/i.test(be)&&!/boundary=/i.test(be)&&P.delete("content-type")}P.set("User-Agent","axios/"+Ty,!1);const ae={...I,signal:K,method:_.toUpperCase(),headers:WC(P.normalize()),body:O,duplex:"half",credentials:Q?U:void 0};$=f&&new o(x,ae);let de=await(f?q($,I):q(x,ae));if(R){const be=ie.toFiniteNumber(de.headers.get("content-length"));if(be!=null&&be>z)throw new Le("maxContentLength size of "+z+" exceeded",Le.ERR_BAD_RESPONSE,T,$)}const pe=y&&(M==="stream"||M==="response");if(y&&de.body&&(C||R||pe&&Y)){const be={};["status","statusText","headers"].forEach(Be=>{be[Be]=de[Be]});const ke=ie.toFiniteNumber(de.headers.get("content-length")),[Ue,Pe]=C&&tx(ke,mf(rx(C),!0))||[];let Ge=0;const vt=Be=>{if(R&&(Ge=Be,Ge>z))throw new Le("maxContentLength size of "+z+" exceeded",Le.ERR_BAD_RESPONSE,T,$);Ue&&Ue(Be)};de=new u(ax(de.body,ix,vt,()=>{Pe&&Pe(),Y&&Y()}),be)}M=M||"text";let Se=await v[ie.findKey(v,M)||"text"](de,T);if(R&&!y&&!pe){let be;if(Se!=null&&(typeof Se.byteLength=="number"?be=Se.byteLength:typeof Se.size=="number"?be=Se.size:typeof Se=="string"&&(be=typeof n=="function"?new n().encode(Se).byteLength:Se.length)),typeof be=="number"&&be>z)throw new Le("maxContentLength size of "+z+" exceeded",Le.ERR_BAD_RESPONSE,T,$)}return!pe&&Y&&Y(),await new Promise((be,ke)=>{rR(be,ke,{data:Se,headers:tn.from(de.headers),status:de.status,statusText:de.statusText,config:T,request:$})})}catch(W){if(Y&&Y(),K&&K.aborted&&K.reason instanceof Le){const X=K.reason;throw X.config=T,$&&(X.request=$),W!==X&&(X.cause=W),X}throw W&&W.name==="TypeError"&&/Load failed|fetch/i.test(W.message)?Object.assign(new Le("Network Error",Le.ERR_NETWORK,T,$,W&&W.response),{cause:W.cause||W}):Le.from(W,W&&W.code,T,$,W&&W.response)}}},pN=new Map,iR=t=>{let e=t&&t.env||{};const{fetch:r,Request:n,Response:i}=e,o=[n,i,r];let u=o.length,c=u,f,d,p=pN;for(;c--;)f=o[c],d=p.get(f),d===void 0&&p.set(f,d=c?new Map:hN(e)),p=d;return d};iR();const Cy={http:k3,xhr:iN,fetch:{get:iR}};ie.forEach(Cy,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const lx=t=>`- ${t}`,mN=t=>ie.isFunction(t)||t===null||t===!1;function gN(t,e){t=ie.isArray(t)?t:[t];const{length:r}=t;let n,i;const o={};for(let u=0;u<r;u++){n=t[u];let c;if(i=n,!mN(n)&&(i=Cy[(c=String(n)).toLowerCase()],i===void 0))throw new Le(`Unknown adapter '${c}'`);if(i&&(ie.isFunction(i)||(i=i.get(e))))break;o[c||"#"+u]=i}if(!i){const u=Object.entries(o).map(([f,d])=>`adapter ${f} `+(d===!1?"is not supported by the environment":"is not available in the build"));let c=r?u.length>1?`since : 16`+u.map(lx).join(` 17`):" "+lx(u[0]):"as no adapter specified";throw new Le("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return i}
vendor: 5,238 bytes, lines 17-21
17const sR={getAdapter:gN,adapters:Cy};function Xm(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new nc(null,t)}function ux(t){return Xm(t),t.headers=tn.from(t.headers),t.data=Gm.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),sR.getAdapter(t.adapter||rc.adapter,t)(t).then(function(n){Xm(t),t.response=n;try{n.data=Gm.call(t,t.transformResponse,n)}finally{delete t.response}return n.headers=tn.from(n.headers),n},function(n){if(!tR(n)&&(Xm(t),n&&n.response)){t.response=n.response;try{n.response.data=Gm.call(t,t.transformResponse,n.response)}finally{delete t.response}n.response.headers=tn.from(n.response.headers)}return Promise.reject(n)})}const Gf={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Gf[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const cx={};Gf.transitional=function(e,r,n){function i(o,u){return"[Axios v"+Ty+"] Transitional option '"+o+"'"+u+(n?". "+n:"")}return(o,u,c)=>{if(e===!1)throw new Le(i(u," has been removed"+(r?" in "+r:"")),Le.ERR_DEPRECATED);return r&&!cx[u]&&(cx[u]=!0,console.warn(i(u," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(o,u,c):!0}};Gf.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function vN(t,e,r){if(typeof t!="object")throw new Le("options must be an object",Le.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const o=n[i],u=Object.prototype.hasOwnProperty.call(e,o)?e[o]:void 0;if(u){const c=t[o],f=c===void 0||u(c,o,t);if(f!==!0)throw new Le("option "+o+" must be "+f,Le.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Le("Unknown option "+o,Le.ERR_BAD_OPTION)}}const Gd={assertOptions:vN,validators:Gf},dn=Gd.validators;let Is=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ex,response:new ex}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=(()=>{if(!i.stack)return"";const u=i.stack.indexOf(` 18`);return u===-1?"":i.stack.slice(u+1)})();try{if(!n.stack)n.stack=o;else if(o){const u=o.indexOf(` 19`),c=u===-1?-1:o.indexOf(` 20`,u+1),f=c===-1?"":o.slice(c+1);String(n.stack).endsWith(f)||(n.stack+=` 21`+o)}}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Fs(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&Gd.assertOptions(n,{silentJSONParsing:dn.transitional(dn.boolean),forcedJSONParsing:dn.transitional(dn.boolean),clarifyTimeoutError:dn.transitional(dn.boolean),legacyInterceptorReqResOrdering:dn.transitional(dn.boolean),advertiseZstdAcceptEncoding:dn.transitional(dn.boolean)},!1),i!=null&&(ie.isFunction(i)?r.paramsSerializer={serialize:i}:Gd.assertOptions(i,{encode:dn.function,serialize:dn.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Gd.assertOptions(r,{baseUrl:dn.spelling("baseURL"),withXsrfToken:dn.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let u=o&&ie.merge(o.common,o[r.method]);o&&ie.forEach(["delete","get","head","post","put","patch","query","common"],v=>{delete o[v]}),r.headers=tn.concat(u,o);const c=[];let f=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(r)===!1)return;f=f&&w.synchronous;const E=r.transitional||xy;E&&E.legacyInterceptorReqResOrdering?c.unshift(w.fulfilled,w.rejected):c.push(w.fulfilled,w.rejected)});const d=[];this.interceptors.response.forEach(function(w){d.push(w.fulfilled,w.rejected)});let p,m=0,g;if(!f){const v=[ux.bind(this),void 0];for(v.unshift(...c),v.push(...d),g=v.length,p=Promise.resolve(r);m<g;)p=p.then(v[m++],v[m++]);return p}g=c.length;let y=r;for(;m<g;){const v=c[m++],w=c[m++];try{y=v(y)}catch(E){w.call(this,E);break}}try{p=ux.call(this,y)}catch(v){return Promise.reject(v)}for(m=0,g=d.length;m<g;)p=p.then(d[m++],d[m++]);return p}getUri(e){e=Fs(this.defaults,e);const r=nR(e.baseURL,e.url,e.allowAbsoluteUrls);return JC(r,e.params,e.paramsSerializer)}};ie.forEach(["delete","get","head","options"],function(e){Is.prototype[e]=function(r,n){return this.request(Fs(n||{},{method:e,url:r,data:(n||{}).data}))}});ie.forEach(["post","put","patch","query"],function(e){function r(n){return function(o,u,c){return this.request(Fs(c||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:u}))}}Is.prototype[e]=r(),e!=="query"&&(Is.prototype[e+"Form"]=r(!0))});let yN=class oR{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(i=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](i);n._listeners=null}),this.promise.then=i=>{let o;const u=new Promise(c=>{n.subscribe(c),o=c}).then(i);return u.cancel=function(){n.unsubscribe(o)},u},e(function(o,u,c){n.reason||(n.reason=new nc(o,u,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
21subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new oR(function(i){e=i}),cancel:e}}};function bN(t){return function(r){return t.apply(null,r)}}function wN(t){return ie.isObject(t)&&t.isAxiosError===!0}const _v={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent: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(_v).forEach(([t,e])=>{_v[e]=t});function lR(t){const e=new Is(t),r=HC(Is.prototype.request,e);return ie.extend(r,Is.prototype,e,{allOwnKeys:!0}),ie.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return lR(Fs(t,i))},r}const hr=lR(rc);hr.Axios=Is;hr.CanceledError=nc;hr.CancelToken=yN;hr.isCancel=tR;hr.VERSION=Ty;hr.toFormData=Vf;hr.AxiosError=Le;hr.Cancel=hr.CanceledError;hr.all=function(e){return Promise.all(e)};hr.spread=bN;hr.isAxiosError=wN;hr.mergeConfig=Fs;hr.AxiosHeaders=tn;hr.formToJSON=t=>eR(ie.isHTMLForm(t)?new FormData(t):t);hr.getAdapter=sR.getAdapter;hr.HttpStatusCode=_v;hr.default=hr;const{Axios:eG,AxiosError:tG,CanceledError:rG,isCancel:nG,CancelToken:aG,VERSION:iG,all:sG,Cancel:oG,isAxiosError:lG,spread:uG,toFormData:cG,AxiosHeaders:dG,HttpStatusCode:fG,formToJSON:hG,getAdapter:pG,mergeConfig:mG,create:gG}=hr,SN="https://jwt-api-node.vercel.app",Tv=hr.create({baseURL:SN});Tv.interceptors.response.use(t=>t,t=>Promise.reject(t.response?.data||"Something went wrong"));const du=t=>{typeof t=="string"&&t.trim()!==""?(localStorage.setItem("authToken",t),Tv.defaults.headers.common.Authorization=`Bearer ${t}`):(localStorage.removeItem("authToken"),delete Tv.defaults.headers.common.Authorization)};function bi(t){const e=j.createContext(null);return[({children:i,value:o})=>te.jsx(e.Provider,{value:o,children:i}),()=>{const i=j.useContext(e);if(i===null)throw new Error(t);return i}]}const[EN,Ry]=bi("useAuthContext must be used within AuthProvider");var Ay=eC();const xN=qs(Ay);function _N(t){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",e.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}const TN=t=>{switch(t){case"success":return AN;case"info":return MN;case"warning":return ON;case"error":return DN;default:return null}},CN=Array(12).fill(0),RN=({visible:t,className:e})=>fe.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":t},fe.createElement("div",{className:"sonner-spinner"},CN.map((r,n)=>fe.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),AN=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),ON=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
21currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),MN=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),DN=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},fe.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),kN=fe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},fe.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),fe.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),LN=()=>{const[t,e]=fe.useState(document.hidden);return fe.useEffect(()=>{const r=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),t};let Cv=1,NN=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{const r=this.subscribers.indexOf(e);this.subscribers.splice(r,1)}),this.publish=e=>{this.subscribers.forEach(r=>r(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var r;const{message:n,...i}=e,o=typeof e?.id=="number"||((r=e.id)==null?void 0:r.length)>0?e.id:Cv++,u=this.toasts.find(f=>f.id===o),c=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),u?this.toasts=this.toasts.map(f=>f.id===o?(this.publish({...f,...e,id:o,title:n}),{...f,...e,id:o,dismissible:c,title:n}):f):this.addToast({title:n,...i,dismissible:c,id:o}),o},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:e,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(n=>n({id:r.id,dismiss:!0}))}),e),this.message=(e,r)=>this.create({...r,message:e}),this.error=(e,r)=>this.create({...r,message:e,type:"error"}),this.success=(e,r)=>this.create({...r,type:"success",message:e}),this.info=(e,r)=>this.create({...r,type:"info",message:e}),this.warning=(e,r)=>this.create({...r,type:"warning",message:e}),this.loading=(e,r)=>this.create({...r,type:"loading",message:e}),this.promise=(e,r)=>{if(!r)return;let n;r.loading!==void 0&&(n=this.create({...r,promise:e,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));const i=Promise.resolve(e instanceof Function?e():e);let o=n!==void 0,u;const c=i.then(async d=>{if(u=["resolve",d],fe.isValidElement(d))o=!1,this.create({id:n,type:"default",message:d});else if(zN(d)&&!d.ok){o=!1;const m=typeof r.error=="function"?await r.error(`HTTP error! status: ${d.status}`):r.error,g=typeof r.description=="function"?await r.description(`HTTP error! status: ${d.status}`):r.description,v=typeof m=="object"&&!fe.isValidElement(m)?m:{message:m};this.create({id:n,type:"error",description:g,...v})}else if(d instanceof Error){o=!1;const m=typeof r.error=="function"?await r.error(d):r.error,g=typeof r.description=="function"?await r.description(d):r.de
21scription,v=typeof m=="object"&&!fe.isValidElement(m)?m:{message:m};this.create({id:n,type:"error",description:g,...v})}else if(r.success!==void 0){o=!1;const m=typeof r.success=="function"?await r.success(d):r.success,g=typeof r.description=="function"?await r.description(d):r.description,v=typeof m=="object"&&!fe.isValidElement(m)?m:{message:m};this.create({id:n,type:"success",description:g,...v})}}).catch(async d=>{if(u=["reject",d],r.error!==void 0){o=!1;const p=typeof r.error=="function"?await r.error(d):r.error,m=typeof r.description=="function"?await r.description(d):r.description,y=typeof p=="object"&&!fe.isValidElement(p)?p:{message:p};this.create({id:n,type:"error",description:m,...y})}}).finally(()=>{o&&(this.dismiss(n),n=void 0),r.finally==null||r.finally.call(r)}),f=()=>new Promise((d,p)=>c.then(()=>u[0]==="reject"?p(u[1]):d(u[1])).catch(p));return typeof n!="string"&&typeof n!="number"?{unwrap:f}:Object.assign(n,{unwrap:f})},this.custom=(e,r)=>{const n=r?.id||Cv++;return this.create({jsx:e(n),id:n,...r}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}};const hn=new NN,PN=(t,e)=>{const r=e?.id||Cv++;return hn.addToast({title:t,...e,id:r}),r},zN=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",jN=PN,IN=()=>hn.toasts,UN=()=>hn.getActiveToasts(),Mn=Object.assign(jN,{success:hn.success,info:hn.info,warning:hn.warning,error:hn.error,custom:hn.custom,message:hn.message,promise:hn.promise,dismiss:hn.dismiss,loading:hn.loading},{getHistory:IN,getToasts:UN});_
vendor: 14,874 bytes, line 21
21N("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
vendor: 2,442 bytes, line 21
21Od(t){return t.label!==void 0}const $N=3,HN="24px",BN="16px",dx=4e3,FN=356,qN=14,YN=45,VN=200;function xa(...t){return t.filter(Boolean).join(" ")}function GN(t){const[e,r]=t.split("-"),n=[];return e&&n.push(e),r&&n.push(r),n}const XN=t=>{var e,r,n,i,o,u,c,f,d;const{invert:p,toast:m,unstyled:g,interacting:y,setHeights:v,visibleToasts:w,heights:E,index:T,toasts:x,expanded:_,removeToast:O,defaultRichColors:k,closeButton:L,style:H,cancelButtonStyle:C,actionButtonStyle:D,className:M="",descriptionClassName:P="",duration:U,position:I,gap:z,expandByDefault:F,classNames:R,icons:A,closeButtonAriaLabel:B="Close toast"}=t,[q,K]=fe.useState(null),[$,Y]=fe.useState(null),[G,W]=fe.useState(!1),[X,Q]=fe.useState(!1),[ae,de]=fe.useState(!1),[pe,Se]=fe.useState(!1),[be,ke]=fe.useState(!1),[Ue,Pe]=fe.useState(0),[Ge,vt]=fe.useState(0),Be=fe.useRef(m.duration||U||dx),rt=fe.useRef(null),nt=fe.useRef(null),kt=T===0,yt=T+1<=w,ft=m.type,ht=m.dismissible!==!1,Ve=m.className||"",Lt=m.descriptionClassName||"",Wt=fe.useMemo(()=>E.findIndex(ze=>ze.toastId===m.id)||0,[E,m.id]),_r=fe.useMemo(()=>{var ze;return(ze=m.closeButton)!=null?ze:L},[m.closeButton,L]),At=fe.useMemo(()=>m.duration||U||dx,[m.duration,U]),Nt=fe.useRef(0),pt=fe.useRef(0),Or=fe.useRef(0),sr=fe.useRef(null),[pr,Ut]=I.split("-"),Pt=fe.useMemo(()=>E.reduce((ze,bt,ur)=>ur>=Wt?ze:ze+bt.height,0),[E,Wt]),or=LN(),xi=m.invert||p,Pn=ft==="loading";pt.current=fe.useMemo(()=>Wt*z+Pt,[Wt,Pt]),fe.useEffect(()=>{Be.current=At},[At]),fe.useEffect(()=>{W(!0)},[]),fe.useEffect(()=>{const ze=nt.current;if(ze){const bt=ze.getBoundingClientRect().height;return vt(bt),v(ur=>[{toastId:m.id,height:bt,position:m.position},...ur]),()=>v(ur=>ur.filter(Yt=>Yt.toastId!==m.id))}},[v,m.id]),fe.useLayoutEffect(()=>{if(!G)return;const ze=nt.current,bt=ze.style.height;ze.style.height="auto";const ur=ze.getBoundingClientRect().height;ze.style.height=bt,vt(ur),v(Yt=>Yt.find($t=>$t.toastId===m.id)?Yt.map($t=>$t.toastId===m.id?{...$t,height:ur}:$t):[{toastId:m.id,height:ur,position:m.position},...Yt])},[G,m.title,m.description,v,m.id,m.jsx,m.action,m.cancel]);const Gr=fe.useCallback(()=>{Q(!0),Pe(pt.current),v(ze=>ze.filter(bt=>bt.toastId!==m.id)),setTimeout(()=>{O(m)},VN)},[m,O,v,pt]);fe.useEffect(()=>{if(m.promise&&ft==="loading"||m.duration===1/0||m.type==="loading")return;let ze;return _||y||or?(()=>{if(Or.current<Nt.current){const Yt=new Date().getTime()-Nt.current;Be.current=Be.current-Yt}
21Or.current=new Date().getTime()})():Be.current!==1/0&&(Nt.current=new Date().getTime(),ze=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Gr()},Be.current)),()=>clearTimeout(ze)},[_,y,m,ft,or,Gr]),fe.useEffect(()=>{m.delete&&(Gr(),m.onDismiss==null||m.onDismiss.call(m,m))},[Gr,m.delete]);function Xr(){var ze;if(A?.loading){var bt;return fe.createElement("div",{className:xa(R?.loader,m==null||(bt=m.classNames)==null?void 0:bt.loader,"sonner-loader"),"data-visible":ft==="loading"},A.loading)}return fe.createElement(RN,{className:xa(R?.loader,m==null||(ze=m.classNames)==null?void 0:ze.loader),visible:ft==="loading"})}const bn=m.icon||A?.[ft]||TN(ft);var Tr,lr;return fe.createElement("li",{tabIndex:0,ref:nt,className:xa(M,Ve,R?.toast,m==null||(e=m.classNames)==null?void 0:e.toast,R?.default,R?.[ft],m==null||(r=m.classNames)==null?void 0:r[ft]),"data-sonner-toast":"","data-rich-colors":(Tr=m.richColors)!=null?Tr:k,"data-styled":!(m.jsx||m.unstyled||g),"data-mounted":G,"data-promise":!!m.promise,"data-swiped":be,"data-removed":X,"data-visible":yt,"data-y-position":pr,"data-x-position":Ut,"data-index":T,"data-front":kt,"data-swiping":ae,"data-dismissible":ht,"data-type":ft,"data-invert":xi,"data-swipe-out":pe,"data-swipe-direction":$,"data-expanded":!!(_||F&&G),"data-testid":m.testId,style:{"--index":T,"--toasts-before":T,"--z-index":x.length-T,"--offset":`${X?Ue:pt.current}px`,"--initial-height":F?"auto":`${Ge}px`,...H,...m.style},onDragEnd:()=>{de(!1),K(null),sr.current=null},onPointerDown:ze=>{ze.button!==2&&(Pn||!ht||(rt.current=new Date,Pe(pt.current),ze.target.setPointerCapture(ze.pointerId),ze.target.tagName!=="BUTTON"&&(de(!0),sr.current={x:ze.clientX,y:ze.clientY})))},onPointerUp:()=>{var ze,bt,ur;if(pe||!ht)return;sr.current=null;const Yt=Number(((ze=nt.current)==null?void 0:ze.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),mr=Number(((bt=nt.current)==null?void 0:bt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),$t=new Date().getTime()-((ur=rt.current)==null?void 0:ur.getTime()),Lr=q==="x"?Yt:mr,Ua=Math.abs(Lr)/$t;if(Math.abs(Lr)>=YN||Ua>.11){Pe(pt.current),m.onDismiss==null||m.onDismiss.call(m,m),Y(q==="x"?Yt>0?"right":"left":mr>0?"down":"up"),Gr(),Se(!0);return}else{var Hr,Z;(Hr=nt.current)==null||Hr.style.setProperty("--swipe-amount-x","0px"),(Z=nt.current)==null||Z.style.setProperty("--swipe-amount-y","0px")}ke(!1),de(!1),K(null)},onPointerMove:ze=>{var bt,ur,Yt;if(!sr.current||!ht||((bt=window.getSelection())==null?void 0:bt.toString().length)>0)return;const $t=ze.clientY-sr.current.y,Lr=ze.clientX-sr.current.x;var Ua;const Hr=(Ua=t.swipeDirections)!=null?Ua:GN(I);!q&&(Math.abs(Lr)>1||Math.abs($t)>1)&&K(Math.abs(Lr)>Math.abs($t)?"x":"y");let Z={x:0,y:0};const re=se=>1/(1.5+Math.abs(se)/20);if(q==="y"){if(Hr.includes("top")||Hr.includes("bottom"))if(Hr.includes("top")&&$t<0||Hr.includes("bottom")&&$t>0)Z.y=$t;else{const se=$t*re($t);Z.y=Math.abs(se)<Math.abs($t)?se:$t}}else if(q==="x"&&(Hr.includes("left")||Hr.includes("right")))if(Hr.includes("left")&&Lr<0||Hr.includes("right")&&Lr>0)Z.x=Lr;else{const se=Lr*re(Lr);Z.x=Math.abs(se)<Math.abs(Lr)?se:Lr}(Math.abs(Z.x)>0||Math.abs(Z.y)>0)&&ke(!0),(ur=nt.current)==null||ur.style.setProperty("--swipe-amount-x",`${Z.x}px`),(Yt=nt.current)==null||Yt.style.setProperty("--swipe-amount-y",`${Z.y}px`)}},_r&&!m.jsx&&ft!=="loading"?fe.createElement("button",{"aria-label":B,"data-disabled":Pn,"data-close-button":!0,onClick:Pn||!ht?()=>{}:()=>{Gr(),m.onDismiss==null||m.onDismiss.call(m,m)},className:xa(R?.closeButton,m==null||(n=m.classNames)==null?void 0:n.closeButton)},(lr=A?.close)!=null?lr:kN):null,(ft||m.icon||m.promise)&&m.icon!==null&&(A?.[ft]!==null||m.icon)?fe.createElement("div",{"data-icon":"",className:xa(R?.icon,m==null||(i=m.classNames)==null?void 0:i.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||Xr():null,m.type!=="loading"?bn:null):null,fe.createElement("div",{"data-content":"",className:xa(R?.content,m==null||(o=m.classNames)==null?void 0:o.content)},fe.createElement("div",{"data-title":"",className:xa(R?.title,m==null||(u=m.classNames)==null?void 0:u.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?fe.createElement("div",{"data-description":"",className:xa(P,Lt,R?.description,m==null||(c=m.classNames)==null?void 0:c.description)},typeof m.description=="function"?m.description():m.description):null),fe.isValidElement(m.cancel)?m.cancel:m.cancel&&Od(m.cancel)?fe.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||C,onClick:ze=>{Od(m.cancel)&&ht&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,ze),Gr())},className:xa(R?.cancelButton,m==null||(f=m.classNames)==null?void 0:f.cancelButton)},m.cancel.label):null,fe.isValidElement(m.action)?m.action:m.action&&Od(m.action)?fe.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||D,onClick:ze=>{Od(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,ze),!ze.defaultPrevented&&Gr())},className:xa(R?.actionButton,m==null||(d=m.classNames)==null?void 0:d.actionButton)},m.action.label):null)};function fx(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function WN(t,e){const r={};return[t,e].forEach((n,i)=>{const o=i===1,u=o?"--mobile-offset":"--offset",c=o?BN:HN;function f(d){["top","right","bottom","left"].forEach(p=>{r[`${u}-${p}`]=typeof d=="number"?`${d}px`:d})}typeof n=="number"||typeof n=="string"?f(n):typeof n=="object"?["top","right","bottom","left"].forEach(d=>{n[d]===void 0?r[`${u}-${d}`]=c:r[`${u}-${d}`]=typeof n[d]=="number"?`${n[d]}px`:n[d]}):f(c)}),r}const yG=fe.forwardRef(function(e,r){const{id:n,invert:i,position:o="bottom-right",hotkey:u=["altKey","KeyT"],expand:c,closeButton:f,className:d,offset:p,mobileOffset:m,theme:g="light",richColors:y,duration:v,style:w,visibleToasts:E=$N,toastOptions:T,dir:x=fx(),gap:_=qN,icons:O,containerAriaLabel:k="Notifications"}=e,[L,H]=fe.useState([]),C=fe.useMemo(()=>n?L.filter(G=>G.toasterId===n):L.filter(G=>!G.toasterId),[L,n]),D=fe.useMemo(()=>Array.from(new Set([o].concat(C.filter(G=>G.position).map(G=>G.position)))),[C,o]),[M,P]=fe.useState([]),[U,I]=fe.useState(!1),[z,F]=fe.useState(!1),[R,A]=fe.useState(g!=="system"?g:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
21k":"light"),B=fe.useRef(null),q=u.join("+").replace(/Key/g,"").replace(/Digit/g,""),K=fe.useRef(null),$=fe.useRef(!1),Y=fe.useCallback(G=>{H(W=>{var X;return(X=W.find(Q=>Q.id===G.id))!=null&&X.delete||hn.dismiss(G.id),W.filter(({id:Q})=>Q!==G.id)})},[]);return fe.useEffect(()=>hn.subscribe(G=>{if(G.dismiss){requestAnimationFrame(()=>{H(W=>W.map(X=>X.id===G.id?{...X,delete:!0}:X))});return}setTimeout(()=>{xN.flushSync(()=>{H(W=>{const X=W.findIndex(Q=>Q.id===G.id);return X!==-1?[...W.slice(0,X),{...W[X],...G},...W.slice(X+1)]:[G,...W]})})})}),[L]),fe.useEffect(()=>{if(g!=="system"){A(g);return}if(g==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?A("dark"):A("light")),typeof window>"u")return;const G=window.matchMedia("(prefers-color-scheme: dark)");try{G.addEventListener("change",({matches:W})=>{A(W?"dark":"light")})}catch{G.addListener(({matches:X})=>{try{A(X?"dark":"light")}catch(Q){console.error(Q)}})}},[g]),fe.useEffect(()=>{L.length<=1&&I(!1)},[L]),fe.useEffect(()=>{const G=W=>{var X;if(u.every(de=>W[de]||W.code===de)){var ae;I(!0),(ae=B.current)==null||ae.focus()}W.code==="Escape"&&(document.activeElement===B.current||(X=B.current)!=null&&X.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",G),()=>document.removeEventListener("keydown",G)},[u]),fe.useEffect(()=>{if(B.current)return()=>{K.current&&(K.current.focus({preventScroll:!0}),K.current=null,$.current=!1)}},[B.current]),fe.createElement("section",{ref:r,"aria-label":`${k} ${q}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},D.map((G,W)=>{var X;const[Q,ae]=G.split("-");return C.length?fe.createElement("ol",{key:G,dir:x==="auto"?fx():x,tabIndex:-1,ref:B,className:d,"data-sonner-toaster":!0,"data-sonner-theme":R,"data-y-position":Q,"data-x-position":ae,style:{"--front-toast-height":`${((X=M[0])==null?void 0:X.height)||0}px`,"--width":`${FN}px`,"--gap":`${_}px`,...w,...WN(p,m)},onBlur:de=>{$.current&&!de.currentTarget.contains(de.relatedTarget)&&($.current=!1,K.current&&(K.current.focus({preventScroll:!0}),K.current=null))},onFocus:de=>{de.target instanceof HTMLElement&&de.target.dataset.dismissible==="false"||$.current||($.current=!0,K.current=de.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{z||I(!1)},onDragEnd:()=>I(!1),onPointerDown:de=>{de.target instanceof HTMLElement&&de.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},C.filter(de=>!de.position&&W===0||de.position===G).map((de,pe)=>{var Se,be;return fe.createElement(XN,{key:de.id,icons:O,index:pe,toast:de,defaultRichColors:y,duration:(Se=T?.duration)!=null?Se:v,className:T?.className,descriptionClassName:T?.descriptionClassName,invert:i,visibleToasts:E,closeButton:(be=T?.closeButton)!=null?be:f,interacting:z,position:G,style:T?.style,unstyled:T?.unstyled,classNames:T?.classNames,cancelButtonStyle:T?.cancelButtonStyle,actionButtonStyle:T?.actionButtonStyle,closeButtonAriaLabel:T?.closeButtonAriaLabel,removeToast:Y,toasts:C.filter(ke=>ke.position==de.position),heights:M.filter(ke=>ke.position==de.position),setHeights:P,expandByDefault:c,gap:_,expanded:U,swipeDirections:e.swipeDirections})})):null}))}),[KN,QN]=bi("useAccordionItemContext must be used within AccordionItemProvider"),[ZN,uR]=bi("useAccordionContext must be used within AccordionProvider"),JN=j.forwardRef((t,e)=>{const{children:r,className:n,value:i,component:o,...u}=t,f=uR().isItemActive(i),d=o||"div";return te.jsx(KN,{value:{value:i},children:te.jsx(d,{"data-state":f?"open":void 0,className:typeof n=="function"?n({open:f}):n,ref:e,...u,children:typeof r=="function"?r({open:f}):r})})}),eP=JN;eP.displayName="AccordionItem";function Rv(t,e){let r=t;for(;(r=r.parentElement)&&!r.matches(e););return r}function nl(t){return"disabled"in t?!!t.disabled:t.getAttribute("aria-disabled")==="true"}function tP(t,e,r){for(let n=t-1;n>=0;n-=1)if(!nl(e[n]))return n;if(r){for(let n=e.length-1;n>-1;n-=1)if(!nl(e[n]))return n}return t}function rP(t,e,r){for(let n=t+1;n<e.length;n+=1)if(!nl(e[n]))return n;if(r){for(let n=0;n<e.length;n+=1)if(!nl(e[n]))return n}return t}function nP(t,e,r){return Rv(t,r)===Rv(e,r)}function aP({parentSelector:t,siblingSelector:e,onKeyDown:r,loop:n=!0,activateOnFocus:i=!1,dir:o="ltr",orientation:u}){return c=>{r?.(c);const f=Array.from(Rv(c.currentTarget,t)?.querySelectorAll(e)||[]).filter(g=>nP(c.currentTarget,g,t)),d=f.findIndex(g=>c.currentTarget===g),p=rP(d,f,n),m=tP(d,f,n);switch(c.key){case"ArrowRight":break;case"ArrowLeft":break;case"ArrowUp":{c.stopPropagation(),c.preventDefault(),f[m].focus(),i&&f[m].click();break}case"ArrowDown":{c.stopPropagation(),c.preventDefault(),f[p].focus(),i&&f[p].click();break}case"Home":{c.stopPropagation(),c.preventDefault(),nl(f[0])||f[0].focus();break}case"End":{c.stopPropagation(),c.preventDefault();const g=f.length-1;nl(f[g])||f[g].focus();break}}}}const iP=j.forwardRef((t,e)=>{const{children:r,className:n,disabled:i,onClick:o,component:u,onKeyDown:c,...f}=t,d=uR(),{value:p}=QN(),m=d.isItemActive(p),g=u||"button";
21return te.jsx(g,{...f,ref:e,"data-accordion-control":!0,disabled:i,className:typeof n=="function"?n({open:m}):n,onClick:y=>{o?.(y),d.onChange(p)},type:"button","aria-expanded":m,"aria-controls":`${d.panelId}-${p}`,id:`${d.buttonId}-${p}`,onKeyDown:aP({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:d.loop,orientation:"vertical",onKeyDown:c}),children:typeof r=="function"?r({open:m}):r})}),sP=iP;sP.displayName="AccordionButton";function oP(t){if(!t||typeof t=="string")return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function Wm(t){return t?.current?t.current.scrollHeight:"auto"}const fu=typeof window<"u"&&window.requestAnimationFrame;function lP({transitionDuration:t,transitionTimingFunction:e="ease",onTransitionEnd:r=()=>{},opened:n,min:i="0px"}){const o=j.useRef(null),u=i,c={display:i==="0px"?"none":void 0,height:u,overflow:"hidden"},[f,d]=j.useState(n?{}:c),p=w=>{Ay.flushSync(()=>d(w))},m=w=>{p(E=>({...E,...w}))};function g(w){return{transition:`height ${t||oP(w)}ms ${e}`}}fR(()=>{typeof fu=="function"&&fu(n?()=>{m({willChange:"height",display:"block",overflow:"hidden"}),fu(()=>{const w=Wm(o);m({...g(w),height:w})})}:()=>{const w=Wm(o);m({...g(w),willChange:"height",height:w}),fu(()=>m({height:u,overflow:"hidden"}))})},[n]);const y=w=>{if(!(w.target!==o.current||w.propertyName!=="height"))if(n){const E=Wm(o);E===f.height?p({}):m({height:E}),r()}else f.height===u&&(p(c),r())};function v({style:w={},refKey:E="ref",...T}={}){const x=T[E];return{"aria-hidden":!n,...T,[E]:Dy(o,x),onTransitionEnd:y,style:{boxSizing:"border-box",...w,...f}}}return v}const uP=t=>t?t.charAt(0).toUpperCase()+t.slice(1).toLowerCase():"";function cP(t={}){const{isEnabled:e=!0,overflowCheck:r="vertical",visibility:n="auto",offset:i=0,onVisibilityChange:o,updateDeps:u=[]}=t,c=j.useRef(n),f=j.useRef(null);return j.useEffect(()=>{const d=f?.current;if(!d||!e)return;const p=(v,w,E,T,x)=>{if(n==="auto"){const _=`${T}${uP(x)}Scroll`;w&&E?(d.dataset[_]="true",d.removeAttribute(`data-${T}-scroll`),d.removeAttribute(`data-${x}-scroll`)):(d.dataset[`${T}Scroll`]=w.toString(),d.dataset[`${x}Scroll`]=E.toString(),d.removeAttribute(`data-${T}-${x}-scroll`))}else{const _=w&&E?"both":w?T:E?x:"none";_!==c.current&&(o?.(_),c.current=_)}},m=()=>{const v=[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}],w=d.querySelector('ul[data-slot="list"]'),E=+(w?.getAttribute("data-virtual-scroll-height")??d.scrollHeight),T=+(w?.getAttribute("data-virtual-scroll-top")??d.scrollTop);for(const{type:x,prefix:_,suffix:O}of v)if(r===x||r==="both"){const k=x==="vertical"?T>i:d.scrollLeft>i,L=x==="vertical"?T+d.clientHeight+i<E:d.scrollLeft+d.clientWidth+i<d.scrollWidth;p(x,k,L,_,O)}},g=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(v=>{d.removeAttribute(`data-${v}-scroll`)})},y=new ResizeObserver(m);return y.observe(d),d.addEventListener("scroll",m,!0),n!=="auto"&&(g(),n==="both"?(d.dataset.topBottomScroll=String(r==="vertical"),d.dataset.leftRightScroll=String(r==="horizontal")):(d.dataset.topBottomScroll="false",d.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(v=>{d.dataset[`${v}Scroll`]=String(n===v)}))),()=>{d.removeEventListener("scroll",m,!0),y.disconnect(),g()}},[e,n,r,o,f,i,u]),{ref:f}}var Km,hx;function wi(){if(hx)return Km;hx=1;function t(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}return Km=t,Km}var Qm,px;function cR(){if(px)return Qm;px=1;var t=typeof ks=="object"&&ks&&ks.Object===Object&&ks;return Qm=t,Qm}var Zm,mx;function Vs(){if(mx)return Zm;mx=1;var t=cR(),e=typeof self=="object"&&self&&self.Object===Object&&self,r=t||e||Function("return this")();return Zm=r,Zm}var Jm,gx;function dP(){if(gx)return Jm;gx=1;var t=Vs(),e=function(){return t.Date.now()};return Jm=e,Jm}var eg,vx;function fP(){if(vx)return eg;vx=1;var t=/\s/;function e(r){for(var n=r.length;n--&&t.test(r.charAt(n)););return n}return eg=e,eg}var tg,yx;function hP(){if(yx)return tg;yx=1;var t=fP(),e=/^\s+/;function r(n){return n&&n.slice(0,t(n)+1).replace(e,"")}return tg=r,tg}var rg,bx;function dR(){if(bx)return rg;bx=1;var t=Vs(),e=t.Symbol;return rg=e,rg}var ng,wx;function pP(){if(wx)return ng;wx=1;var t=dR(),e=Object.prototype,r=e.hasOwnProperty,n=e.toString,i=t?t.toStringTag:void 0;function o(u){var c=r.call(u,i),f=u[i];try{u[i]=void 0;var d=!0}catch{}var p=n.call(u);return d&&(c?u[i]=f:delete u[i]),p}return ng=o,ng}var ag,Sx;
21function mP(){if(Sx)return ag;Sx=1;var t=Object.prototype,e=t.toString;function r(n){return e.call(n)}return ag=r,ag}var ig,Ex;function ac(){if(Ex)return ig;Ex=1;var t=dR(),e=pP(),r=mP(),n="[object Null]",i="[object Undefined]",o=t?t.toStringTag:void 0;function u(c){return c==null?c===void 0?i:n:o&&o in Object(c)?e(c):r(c)}return ig=u,ig}var sg,xx;function fl(){if(xx)return sg;xx=1;function t(e){return e!=null&&typeof e=="object"}return sg=t,sg}var og,_x;function gP(){if(_x)return og;_x=1;var t=ac(),e=fl(),r="[object Symbol]";function n(i){return typeof i=="symbol"||e(i)&&t(i)==r}return og=n,og}var lg,Tx;function vP(){if(Tx)return lg;Tx=1;var t=hP(),e=wi(),r=gP(),n=NaN,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function f(d){if(typeof d=="number")return d;if(r(d))return n;if(e(d)){var p=typeof d.valueOf=="function"?d.valueOf():d;d=e(p)?p+"":p}if(typeof d!="string")return d===0?d:+d;d=t(d);var m=o.test(d);return m||u.test(d)?c(d.slice(2),m?2:8):i.test(d)?n:+d}return lg=f,lg}var ug,Cx;function yP(){if(Cx)return ug;Cx=1;var t=wi(),e=dP(),r=vP(),n="Expected a function",i=Math.max,o=Math.min;function u(c,f,d){var p,m,g,y,v,w,E=0,T=!1,x=!1,_=!0;if(typeof c!="function")throw new TypeError(n);f=r(f)||0,t(d)&&(T=!!d.leading,x="maxWait"in d,g=x?i(r(d.maxWait)||0,f):g,_="trailing"in d?!!d.trailing:_);function O(I){var z=p,F=m;return p=m=void 0,E=I,y=c.apply(F,z),y}function k(I){return E=I,v=setTimeout(C,f),T?O(I):y}function L(I){var z=I-w,F=I-E,R=f-z;return x?o(R,g-F):R}function H(I){var z=I-w,F=I-E;return w===void 0||z>=f||z<0||x&&F>=g}function C(){var I=e();if(H(I))return D(I);v=setTimeout(C,L(I))}function D(I){return v=void 0,_&&p?O(I):(p=m=void 0,y)}function M(){v!==void 0&&clearTimeout(v),E=0,p=w=m=v=void 0}function P(){return v===void 0?y:D(e())}function U(){var I=e(),z=H(I);if(p=arguments,m=this,w=I,z){if(v===void 0)return k(w);if(x)return clearTimeout(v),v=setTimeout(C,f),O(w)}return v===void 0&&(v=setTimeout(C,f)),y}return U.cancel=M,U.flush=P,U}return ug=u,ug}yP();function fR(t,e){const r=j.useRef(!1);j.useEffect(()=>()=>{r.current=!1},[]),j.useEffect(()=>{if(r.current)return t();r.current=!0},e)}function bP(t=!1,e){const{onOpen:r,onClose:n}={},[i,o]=j.useState(t),u=j.useCallback(()=>{o(d=>d||(r?.(),!0))},[r]),c=j.useCallback(()=>{o(d=>d&&(n?.(),!1))},[n]),f=j.useCallback(()=>{i?c():u()},[c,u,i]);return[i,{open:u,close:c,toggle:f}]}function Rx(t){const e=j.useRef(()=>{throw new Error("Cannot call an article handler while rendering.")});return j.useLayoutEffect(()=>{e.current=t},[t]),j.useCallback((...r)=>e.current?.(...r),[e])}function Ax(t,e,r,n){const i=j.useRef(e);j.useLayoutEffect(()=>{i.current=e},[e]),j.useEffect(()=>{const o=window;if(!(o&&o.addEventListener))return;const u=c=>{i.current(c)};return o.addEventListener(t,u,n),()=>{o.removeEventListener(t,u,n)}},[t,r,n])}function Oy(t,e=""){const r=`tl-${j.useId()}-${e}`;return typeof t=="string"?t:r}const cg=typeof window>"u";function wP(t,e,r={}){const{initializeWithValue:n=!0}=r,i=j.useCallback(g=>r.serializer?r.serializer(g):JSON.stringify(g),[r]),o=j.useCallback(g=>{if(r.deserializer)return r.deserializer(g);if(g==="undefined")return;const y=e instanceof Function?e():e;let v;try{v=JSON.parse(g)}catch(w){return console.error("Error parsing JSON:",w),y}return v},[r,e]),u=j.useCallback(()=>{const g=e instanceof Function?e():e;if(cg)return g;try{const y=window.localStorage.getItem(t);return y?o(y):g}catch(y){return console.warn(`Error reading localStorage key â${t}â:`,y),g}},[e,t,o]),[c,f]=j.useState(()=>n?u():e instanceof Function?e():e),d=Rx(g=>{cg&&console.warn(`Tried setting localStorage key â${t}â even though environment is not a client`);try{const y=g instanceof Function?g(u()):g;window.localStorage.setItem(t,i(y)),f(y),window.dispatchEvent(new StorageEvent("local-storage",{key:t}))}catch(y){console.warn(`Error setting localStorage key â${t}â:`,y)}}),p=Rx(()=>{cg&&console.warn(`Tried removing localStorage key â${t}â even though environment is not a client`);const g=e instanceof Function?e():e;window.localStorage.removeItem(t),f(g),window.dispatchEvent(new StorageEvent("local-storage",{key:t}))});j.useEffect(()=>{f(u())},[t]);const m=j.useCallback(g=>{g.key&&g.key!==t||f(u())},[t,u]);return Ax("storage",m),Ax("local-storage",m),[c,d,p]}const My=typeof window>"u"||typeof document>"u",hR=document.head||document.getElementsByTagName("head")[0];function SP(t){hR.appendChild(t)}function EP(t){hR.removeChild(t)}function xP(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function _P(){const t=document.createElement("style");return t.type="text/css",t}function TP(t,{defaultValue:e=!1,initializeWithValue:r=!0}={}){const n=c=>My?e:window.matchMedia(c).matches,[i,o]=j.useState(()=>r?n(t):e);function u(){o(n(t))}return j.useLayoutEffect(()=>{const c=window.matchMedia(t);return u(),c.addListener?c.addListener(u):c.addEventListener("change",u),()=>{c.removeListener?c.removeListener(u):c.removeEventListener("change",u)}},[t]),i}function Ox(t,e){if(typeof t=="function")return t(e);typeof t=="object"&&t!==null&&"current"in t&&(t.current=e)}function Dy(...t){const e=new Map;return r=>{if(t.forEach(n=>{const i=Ox(n,r);i&&e.set(n,i)}),e.size>0)return()=>{t.forEach(n=>{const i=e.get(n);i?i():Ox(n,null)}),e.clear()}}}function pR(...t){return j.useCallback(Dy(...t),t)}function ky({value:t,defaultValue:e,finalValue:r,onChange:n=()=>{}}){const[i,o]=j.useState(e!==void 0?e:r),u=(c,...f)=>{o(c),n?.(c,...f)};return t!==void 0?[t,n,!0]:[i,u,!1]}function CP({children:t,multiple:e=!1,value:r,defaultValue:n,onChange:i,id:o,transitionDuration:u,loop:c}){const f=Oy(o,"accordion"),[d,p]=ky({value:r,defaultValue:n,finalValue:e?[]:"",onCh
21ange:i}),m=y=>Array.isArray(d)?d.includes(y):d===y,g=y=>{const v=Array.isArray(d)?d.includes(y)?d.filter(w=>w!==y):[...d,y]:y===d?"":y;p(v)};return te.jsx(ZN,{value:{isItemActive:m,onChange:g,buttonId:`${f}-control`,panelId:`${f}-panel`,transitionDuration:u,loop:c},children:t})}const RP=j.forwardRef((t,e)=>{const{component:r,id:n,children:i,multiple:o,value:u,defaultValue:c,onChange:f,transitionDuration:d,loop:p,...m}=t,g=r||"div";return te.jsx(CP,{id:n,multiple:o,value:u,defaultValue:c,onChange:f,transitionDuration:d,loop:p,children:te.jsx(g,{...m,ref:e,"data-accordion":!0,children:i})})}),AP=RP;AP.displayName="Accordion";function mR(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=mR(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Re(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=mR(t))&&(n&&(n+=" "),n+=e);return n}const bG="ElNacional",OP="redirect",MP="/",gR="/fans",DP=`${gR}/home`,kP="/patrocinio".split(",").map(t=>t.trim()).filter(Boolean),LP="593986448730",wG="+593 98 644 8730",SG=`https://wa.me/${LP}`,EG="[email protected]",Mu="_auth_user_webapp",Mx=["neutral","primary","secondary","info","success","warning","error"],xG="/store";function NP(t){const n=t.charAt(t.length-1).toLowerCase().charCodeAt(0)%Mx.length;return Mx[n]}const PP={primary:"this:primary",secondary:"this:secondary",info:"this:info",success:"this:success",warning:"this:warning",error:"this:error"};function Dr(t){const e=PP[t];if(!e)throw new Error(`Color "${t}" not found in the color map.`);return e}const zP={filled:"bg-this text-white",soft:"text-this-darker bg-this-darker/10 dark:text-this-lighter dark:bg-this-lighter/10"},jP={filled:"bg-gray-200 text-gray-700 dark:bg-surface-2 dark:text-dark-100",soft:"bg-gray-200/30 text-gray-700 dark:bg-surface-2/30 dark:text-dark-100"},IP=j.forwardRef((t,e)=>{const{component:r="div",imgComponent:n="img",alt:i,loading:o="lazy",imgProps:u,src:c,srcSet:f,name:d,initialColor:p="neutral",initialVariant:m="filled",initialProps:g,className:y,classNames:v={},children:w,size:E=12,style:T,indicator:x,..._}=t,O=d?.match(/\b(\w)/g)?.slice(0,2).join("")||"",k=p==="auto"?NP(O):p??"neutral";return te.jsxs(r,{className:Re("avatar relative inline-flex shrink-0",y,v?.root),style:{height:`${E/4}rem`,width:`${E/4}rem`,...T},ref:e,..._,children:[c||f?te.jsx(n,{className:Re("avatar-image avatar-display before:bg-gray-150 dark:before:bg-dark-600 relative h-full w-full before:absolute before:inset-0 before:rounded-[inherit]",v?.display,v?.image),src:c,srcSet:f,alt:i||d||"avatar",loading:o,...u}):te.jsx("div",{className:Re("avatar-initial avatar-display flex h-full w-full items-center justify-center font-medium uppercase select-none",k!=="neutral"?[Dr(k),zP[m]]:jP[m],v?.display,v?.initial),...g,children:d?O:w}),x]})}),UP=IP;UP.displayName="Avatar";const $P=j.forwardRef(({color:t="neutral",isPing:e,className:r,children:n,...i},o)=>te.jsxs("div",{className:Re("avatar-dot absolute rounded-full",t==="neutral"?"bg-gray-300 dark:bg-dark-200":[Dr(t),"bg-this dark:bg-this-light"],r),...i,ref:o,children:[e&&te.jsx("span",{className:"absolute inset-0 inline-flex h-full w-full animate-ping rounded-full bg-inherit opacity-80"}),n]}));$P.displayName="AvatarDot";const HP={filled:"text-white bg-this",outlined:"border border-this/30 text-this dark:border-this-lighter/30 dark:text-this-lighter",soft:"text-this-darker bg-this-darker/[0.07] dark:text-this-lighter dark:bg-this-lighter/10"},BP={filled:"bg-gray-200 text-gray-900 dark:bg-surface-2 dark:text-dark-50",outlined:"border border-gray-300 text-gray-900 dark:border-surface-1 dark:text-dark-50",soft:"bg-gray-200/30 text-gray-900 dark:bg-dark-500/30 dark:text-dark-50"},FP=j.forwardRef((t,e)=>{const{component:r,className:n,unstyled:i,variant:o="filled",color:u="neutral",isGlow:c,children:f,...d}=t,p=r||"div";return te.jsx(p,{className:Re("badge-base",!i&&["badge",u==="neutral"?[BP[o],c&&"dark:shadow-dark-450/50 shadow-lg shadow-gray-200/50"]:[Dr(u),HP[o],c&&"shadow-this/50 dark:shadow-this-light/50 shadow-lg"]],n),ref:e,...d,children:f})}),qP=FP;qP.displayName="Badge";const YP={filled:"bg-this text-white hover:bg-this-darker focus:bg-this-darker active:bg-this-darker/90 disabled:bg-this-light dark:disabled:bg-this-darker",soft:"text-this-darker bg-this-darker/[.08] hover:bg-this-darker/[.15] focus:bg-this-darker/[.15] active:focus:bg-this-darker/20 dark:bg-this-lighter/10 dar
21k:text-this-lighter dark:hover:bg-this-lighter/20 dark:focus:bg-this-lighter/20 dark:active:bg-this-lighter/25",outlined:"text-this-darker border border-this-darker hover:bg-this-darker/[.05] focus:bg-this-darker/[.05] active:bg-this-darker/10 dark:border-this-lighter dark:text-this-lighter dark:hover:bg-this-lighter/[.05] dark:focus:bg-this-lighter/[.05] dark:active:bg-this-lighter/10",flat:"text-this-darker hover:bg-this-darker/[.08] focus:bg-this-darker/[.08] active:bg-this-darker/[.15] dark:text-this-lighter dark:hover:bg-this-lighter/10 dark:focus:bg-this-lighter/10 dark:active:bg-this-lighter/[.15]"},VP={filled:"bg-gray-150 text-gray-900 hover:bg-gray-200 focus:bg-gray-200 active:bg-gray-200/80 dark:bg-surface-2 dark:text-dark-50 dark:hover:bg-surface-1 dark:focus:bg-surface-1 dark:active:bg-surface-1/90",soft:"bg-gray-150/30 text-gray-900 hover:bg-gray-200/[.15] focus:bg-gray-200/[.15] active:bg-gray-200/20 dark:bg-dark-500/30 dark:text-dark-50 dark:hover:bg-dark-450/[.15] dark:focus:bg-dark-450/[.15] dark:active:bg-dark-450/20",outlined:"border border-gray-300 hover:bg-gray-300/20 focus:bg-gray-300/20 text-gray-900 active:bg-gray-300/25 dark:text-dark-50 dark:hover:bg-dark-300/20 dark:focus:bg-dark-300/20 dark:active:bg-dark-300/25 dark:border-dark-450",flat:"hover:bg-gray-300/20 focus:bg-gray-300/20 text-gray-700 active:bg-gray-300/25 dark:text-dark-200 dark:hover:bg-dark-300/10 dark:focus:bg-dark-300/10 dark:active:bg-dark-300/20"},GP=j.forwardRef((t,e)=>{const{component:r,className:n,children:i,color:o="neutral",isIcon:u=!1,variant:c="filled",unstyled:f=!1,isGlow:d=!1,t
21ype:p,...m}=t,g=r||"button",{disabled:y,...v}=m,w=g==="button"?p||"button":void 0;return te.jsx(g,{ref:e,type:w,className:Re("btn-base",f?o!=="neutral"&&Dr(o):["btn",u&&"shrink-0 p-0",o==="neutral"?[VP[c],d&&"dark:shadow-dark-450/5 shadow-lg shadow-gray-200/50"]:[Dr(o),YP[c],d&&"shadow-soft shadow-this/50 dark:shadow-this/50 dark:shadow-lg"]],n),disabled:g==="button"?y:void 0,"data-disabled":y,...v,children:i})}),Uu=GP;Uu.displayName="Button";const[XP,ic]=bi("useThemeContext must be used within ThemeProvider"),WP=j.forwardRef((t,e)=>{const{component:r,className:n,children:i,skin:o,...u}=t,{cardSkin:c}=ic(),f=o??c,d=r||"div";return te.jsx(d,{ref:e,className:Re("card rounded-lg",f!=="none"&&[f==="bordered"&&"dark:border-dark-600 border border-gray-200 print:border-0",f==="shadow"&&"shadow-soft dark:bg-dark-700 bg-white dark:shadow-none print:shadow-none"],n),...u,children:i})}),KP=WP;KP.displayName="Card";function Dx(t,e,r,n){const d=50+n/2,p=`M ${d},${d} m 0,50 22 a 50,50 0 1 1 0,-100 23 a 50,50 0 1 1 0,100`,m=Math.PI*2*50,g={strokeDasharray:`${t/100*(m-r)}px 800px`,strokeDashoffset:`-${r/2}px`,transformOrigin:e?"center":void 0,transform:e?`rotate(${e}deg)`:void 0};return{pathString:p,pathStyle:g}}function QP(){const t=Math.random().toString(36).substring(2,11),e=Date.now().toString(36).slice(-4);return`tl-${t}-${e}`}const ZP=j.forwardRef(({value:t,isIndeterminate:e=!1,offsetDegree:r,gapDegree:n=0,gapOffsetDegree:i=0,strokeWidth:o=6,strokeLinecap:u="round",isActive:c=!1,size:f=24,showRail:d=!0,children:p,color:m="neutral",variant:g="default",contentProps:y={},rootProps:v={},wrapperProps:w={},className:E,classNames:T={},gradient:x,..._},O)=>{!e&&t===void 0&&console.error(`Circlebar Error: 'value' prop is required when 'isIndeterminate' is false. 24 Please provide a number value between 0-100 to display the progress circle.`),g==="gradient"&&!x&&console.error(`Circlebar Error: 'gradient' prop is required when 'variant' is "gradient". 25 Please provide a gradient config with { start: string, end: string } format.`),t!==void 0&&(t<0||t>100)&&console.warn(`Circlebar Warning: 'value' should be between 0 and 100, got ${t}. 26 Values outside this range may cause unexpected display issues.`);const k=`gradient-${QP()}`,L=100+o,{pathString:H,pathStyle:C}=j.useMemo(()=>Dx(100,0,n,o),[n,o]),{pathString:D,pathStyle:M}=j.useMemo(()=>Dx(t||0,r,n,o),[n,r,o,t]),{cardSkin:P}=ic(),U=[g==="gradient"?"":m==="neutral"?"stroke-gray-500 dark:stroke-dark-450":[Dr(m),"stroke-this dark:stroke-this-light"]];return te.jsx("div",{className:Re("max-w-full",T?.root),...v,ref:O,children:te.jsxs("div",{...w,className:Re("circlebar-wrapper relative inline-block",T?.wrapper),style:{width:`${f/4}rem`,height:`${f/4}rem`},children:[te.jsxs("svg",{style:{transform:i?`rotate(${i}deg)`:void 0},viewBox:`0 0 ${L} ${L}`,className:Re("circlebar-svg",e&&"circlebar-indeterminate-wrapper",E,T?.svg),..._,children:[d&&te.jsx("path",{d:H,strokeWidth:o,strokeLinecap:u,fill:"none",style:C,className:Re("circlebar-rail-path",[m==="neutral"||g!=="soft"?["stroke-gray-150",P==="shadow"?"dark:stroke-dark-900":"dark:stroke-dark-700"]:[Dr(m),"stroke-this/[.15] dark:stroke-this-light/20"]])}),e?te.jsx("circle",{cx:L/2,cy:L/2,r:"50",fill:"none",strokeWidth:o,className:Re("circlebar-indeterminate",U),stroke:g==="gradient"?`url(#${k})`:void 0}):te.jsxs(te.Fragment,{children:[te.jsx("path",{d:D,strokeWidth:o,strokeLinecap:u,fill:"none",style:{...M,transitionProperty:"stroke-dasharray",transitionDuration:"200ms"},className:Re("circlebar-inner-path ease-out",U),stroke:g==="gradient"?`url(#${k})`:void 0}),c&&te.jsx("path",{d:D,strokeWidth:o,strokeLinecap:u,fill:"none",style:{...M,"--dashoffset":`${(t||0)/100*(Math.PI*100-n)}px`,transformOrigin:"center",transform:`rotate(${n/2*1.15}deg)`},className:"circlebar-active-path stroke-white"})]}),g==="gradient"&&x&&te.jsx("defs",{children:te.jsxs("linearGradient",{id:k,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[te.jsx("stop",{offset:"0%",style:{stopColor:x.start,stopOpacity:1}}),te.jsx("stop",{offset:"100%",style:{stopColor:x.end,stopOpacity:1}})]})})]}),j.Children.count(p)>0&&te.jsx("div",{className:Re("absolute inset-0 flex items-center justify-center",T?.content),...y,children:p})]})})});ZP.displayName="Circlebar";const JP=j.forwardRef((t,e)=>{const{children:r,in:n,transitionDuration:i,transitionTimingFunction:o,min:u,style:c,onTransitionEnd:f,component:d="div",className:p,...m}=t,g=lP({opened:n,transitionDuration:i,transitionTimingFunction:o,min:u,onTransitionEnd:f});if(i===0)return n?te.jsx(Nx,{component:d,ref:e,className:p,...m,children:r}):null;const y=g({style:c,className:p,ref:e,...m});
26return te.jsx(Nx,{component:d,...y,children:r})}),ez=JP;ez.displayName="Collapse";const[tz,vR]=bi("Pagination component was not found in tree");function Xi(t,e,r=1){const n=[];for(let i=t;r>0?i<=e:i>=e;i+=r)n.push(i);return n}const Md="dots";function rz({total:t,siblings:e=1,boundaries:r=1,page:n,initialPage:i=1,onChange:o}){const u=Math.max(Math.trunc(t),0),[c,f]=ky({value:n,onChange:o,defaultValue:i,finalValue:i}),d=w=>{w<=0?f(1):w>u?f(u):f(w)},p=()=>d(c+1),m=()=>d(c-1),g=()=>d(1),y=()=>d(u);return{range:j.useMemo(()=>{if(e*2+3+r*2>=u)return Xi(1,u);const E=Math.max(c-e,r),T=Math.min(c+e,u-r),x=E>r+2,_=T<u-(r+1);if(!x&&_){const O=e*2+r+2;return[...Xi(1,O),Md,...Xi(u-(r-1),u)]}if(x&&!_){const O=r+1+2*e;return[...Xi(1,r),Md,...Xi(u-O,u)]}return[...Xi(1,r),Md,...Xi(E,T),Md,...Xi(u-r+1,u)]},[e,r,u,c]),active:c,setPage:d,next:p,previous:m,first:g,last:y}}function Dd(t,e){return r=>{t?.(r),e?.(r)}}j.forwardRef((t,e)=>{const{total:r,value:n,defaultValue:i,onChange:o,disabled:u,getItemProps:c,className:f,classNames:d={},siblings:p=1,boundaries:m=1,children:g,onNextPage:y,onPreviousPage:v,onFirstPage:w,onLastPage:E}=t,{range:T,setPage:x,next:_,previous:O,active:k,first:L,last:H}=rz({page:n,initialPage:i,onChange:o,total:r,siblings:p,boundaries:m}),C=Dd(y,_),D=Dd(v,O),M=Dd(w,L),P=Dd(E,H);return r<=0?null:te.jsx(tz,{value:{total:r,range:T,active:k,disabled:u,classNames:d,onChange:x,onNext:C,onPrevious:D,onFirst:M,onLast:P,getItemProps:c},children:te.jsx("div",{ref:e,className:Re("pagination hide-scrollbar max-w-full overflow-x-auto",f,d?.root),children:g})})});function nz({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{fillRule:"evenodd",d:"M4.72 9.47a.75.75 0 0 0 0 1.06l4.25 4.25a.75.75 0 1 0 1.06-1.06L6.31 10l3.72-3.72a.75.75 0 1 0-1.06-1.06L4.72 9.47Zm9.25-4.25L9.72 9.47a.75.75 0 0 0 0 1.06l4.25 4.25a.75.75 0 1 0 1.06-1.06L11.31 10l3.72-3.72a.75.75 0 0 0-1.06-1.06Z",clipRule:"evenodd"}))}const az=j.forwardRef(nz);function iz({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{fillRule:"evenodd",d:"M15.28 9.47a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 1 1-1.06-1.06L13.69 10 9.97 6.28a.75.75 0 0 1 1.06-1.06l4.25 4.25ZM6.03 5.22l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L8.69 10 4.97 6.28a.75.75 0 0 1 1.06-1.06Z",clipRule:"evenodd"}))}const sz=j.forwardRef(iz);function oz({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const lz=j.forwardRef(oz);function uz({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{fillRule:"evenodd",d:"M11.78 5.22a.75.75 0 0 1 0 1.06L8.06 10l3.72 3.72a.75.75 0 1 1-1.06 1.06l-4.25-4.25a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const cz=j.forwardRef(uz);function dz({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{fillRule:"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const fz=j.forwardRef(dz),hz=j.forwardRef((t,e)=>{const{component:r,active:n,className:i,disabled:o,children:u,...c}=t,f=vR(),d=r||"button";
26return te.jsx(d,{...c,ref:e,disabled:o,"data-active":n||void 0,"data-disabled":o||void 0,className:Re("pagination-control cursor-pointer",[n?"active this:primary bg-this disabled:bg-this-light dark:bg-this-light dark:disabled:bg-this-darker text-white disabled:cursor-not-allowed disabled:opacity-60":[o?"disabled:cursor-not-allowed disabled:opacity-60":"dark:hover:bg-surface-1 dark:focus-visible:bg-surface-1 dark:active:bg-surface-1/90 hover:bg-gray-300 focus-visible:bg-gray-300 active:bg-gray-300/80"]],f.classNames?.control,i),children:u})}),yR=hz;yR.displayName="PaginationControl";function Xf({icon:t,type:e,action:r}){function n({Icon:i=t,...o}){const u=vR(),c=e==="next"?u.active===u.total:u.active===1;return te.jsx(yR,{disabled:u.disabled||c,onClick:u[r],className:Re("pagination-control-icon",u.classNames?.controlIcon),...o,children:te.jsx(i,{className:Re("pagination-icon rtl:rotate-180",u.classNames?.icon)})})}return n.displayName="Pagination"+e.charAt(0).toUpperCase()+e.slice(1),n}Xf({icon:fz,type:"next",action:"onNext"});Xf({icon:cz,type:"previous",action:"onPrevious"});Xf({icon:az,type:"previous",action:"onFirst"});Xf({icon:sz,type:"next",action:"onLast"});const bR=j.forwardRef((t,e)=>{const{children:r,value:n=0,showRail:i=!0,isActive:o=!1,isIndeterminate:u=!1,unstyled:c=!1,color:f="neutral",variant:d="default",className:p,classNames:m,animationDuration:g,style:y={},rootProps:v={},...w}=t;return te.jsx("div",{...v,className:Re("progress-rail",i&&!c&&[f==="neutral"||d!=="soft"?"bg-gray-150 dark:bg-dark-500":[Dr(f),"bg-this/[.15] dark:bg-this-light/25"]],p,m?.root),children:te.jsx("div",{ref:e,...w,className:Re("progress relative rounded-full transition-[width] ease-out",!c&&[f==="neutral"?"dark:bg-dark-400 bg-gray-500":[Dr(f),"bg-this dark:bg-this-light"]],o&&"is-active",u?"is-indeterminate":"flex items-center justify-end leading-none",m?.bar),style:{width:u?"100%":`${n}%`,animationDuration:g,...y},children:r})})});bR.displayName="Progress";const pz=j.forwardRef((t,e)=>{const{component:r,children:n,className:i,size:o=10,offset:u=0,isEnabled:c=!0,orientation:f="vertical",style:d,...p}=t,{ref:m}=cP({offset:u,isEnabled:c,overflowCheck:f}),g=pR(m,e),y=r||"div";return te.jsx(y,{ref:g,"data-orientation":f,className:Re(f==="vertical"&&"overflow-y-auto",f==="horizontal"&&"overflow-x-auto",f==="both"&&"overflow-auto",i),style:{"--scroll-shadow-size":`${o/4}rem`,...d},...p,children:n})}),mz=pz;mz.displayName="ScrollShadow";const gz=j.forwardRef((t,e)=>{const{animate:r=!0,className:n,...i}=t;return te.jsx("div",{className:Re("skeleton relative overflow-hidden",r&&"animate-wave before:absolute before:inset-0",n),ref:e,...i})});gz.displayName="Skeleton";const Ly=j.forwardRef(({className:t,animate:e=!0,isElastic:r,disabled:n,variant:i="default",color:o="neutral",unstyled:u,...c},f)=>i==="default"||i==="soft"?te.jsx("div",{ref:f,className:Re("spinner spinner-base rounded-full",r&&"is-elastic",e&&!n&&"animate-spin",n&&"opacity-50",!u&&[i==="default"?[o==="neutral"?"border-gray-500 dark:border-dark-400":[Dr(o),"border-this dark:border-this-light"],"border-r-transparent dark:border-r-transparent"]:[o==="neutral"?"border-gray-150 border-r-gray-500 dark:border-dark-500 dark:border-r-dark-400":[Dr(o),"border-this/30 border-r-this dark:border-this-light/30 dark:border-r-this-light"]]],t),"aria-disabled":n,...c}):te.jsx("div",{ref:f,className:Re("spinner-base",r&&"is-elastic",e&&!n&&"animate-spin",n&&"opacity-50",!u&&[o==="neutral"?"text-gray-500 dark:text-dark-400":[Dr(o),"text-this dark:text-this-light"]],t),"aria-disabled":n,...c,children:te.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",className:"h-full w-full",viewBox:"0 0 28 28",children:te.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M28 14c0 7.732-6.268 14-14 14S0 21.732 0 14 6.268 0 14 0s14 6.268 14 14zm-2.764.005c0 6.185-5.014 11.2-11.2 11.2-6.185 0-11.2-5.015-11.2-11.2 0-6.186 5.015-11.2 11.2-11.2 6.186 0 11.2 5.014 11.2 11.2zM8.4 16.8a2.8 2.8 0 100-5.6 2.8 2.8 0 000 5.6z",clipRule:"evenodd"})})}));Ly.displayName="Spinner";const wR=j.forwardRef((t,e)=>{const{variant:r="default",className:n,...i}=t;
26return te.jsx(Ly,{unstyled:!0,className:Re("ghost-spinner",{"border-white border-r-transparent":r==="default","border-white/30 border-r-white":r==="soft","text-white":r==="innerDot"},n),variant:r,ref:e,...i})});wR.displayName="GhostSpinner";const vz=j.forwardRef((t,e)=>{const{component:r,children:n,className:i,hoverable:o,zebra:u,dense:c,sticky:f,...d}=t,p=r||"table";return te.jsx(p,{className:Re("table",o&&"is-hoverable",u&&"is-zebra",c&&"is-dense",f&&"is-sticky",i),ref:e,...d,children:n})}),yz=vz;yz.displayName="Table";const bz={filled:"bg-this text-white hover:bg-this-darker focus:bg-this-darker active:bg-this-darker/90 disabled:bg-this-light dark:disabled:bg-this-darker",outlined:"border border-gray-300 dark:border-dark-450 text-this hover:border-this focus:border-this dark:border-this-lighter/30 dark:text-this-lighter dark:hover:border-this-lighter dark:focus:border-this-lighter",soft:"text-this-darker bg-this-darker/[0.07] hover:text-white hover:bg-this-darker focus:text-white focus:bg-this-darker dark:text-this-lighter dark:bg-this-lighter/[.13] dark:hover:bg-this dark:hover:text-white dark:focus:bg-this dark:focus:text-white"},wz={filled:"bg-gray-150 text-gray-900 hover:bg-gray-200 focus:bg-gray-200 active:bg-gray-200/80 dark:bg-surface-2 dark:text-dark-100 dark:hover:bg-surface-1 dark:focus:bg-surface-1 dark:active:bg-surface-1/90",outlined:"border border-gray-300 text-gray-800 hover:border-gray-800 focus:border-gray-800 dark:border-surface-2 dark:text-dark-100 dark:hover:border-dark-100 dark:focus:border-dark-100",soft:"text-this-darker bg-gray-150/10 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-150 focus:bg-gray-150 active:bg-gray-150/80 dark:text-dark-100 dark:bg-dark-500/10 dark:hover:bg-dark-500 dark:focus:bg-dark-500 dark:active:bg-dark-500/80"},Sz=j.forwardRef((t,e)=>{const{component:r,className:n,children:i,color:o="neutral",unstyled:u,variant:c="filled",isGlow:f,...d}=t,p=r||"a";return te.jsx(p,{className:Re("tag-base",!u&&["tag",o==="neutral"?[wz[c],f&&"dark:shadow-dark-450/50 shadow-lg shadow-gray-200/50"]:[Dr(o),bz[c],f&&"shadow-this/50 dark:shadow-this-light/50 shadow-lg"]],n),ref:e,...d,children:i})}),Ez=Sz;Ez.displayName="Tag";const[_G,xz]=bi("useTimelineContext must be used within TimelineProvider");var Xd={exports:{}},_z=Xd.exports,kx;function Tz(){return kx||(kx=1,(function(t,e){(function(r,n){t.exports=n()})(_z,(function(){return function(r,n,i){r=r||{};var o=n.prototype,u={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(d,p,m,g){return o.fromToBase(d,p,m,g)}i.en.relativeTime=u,o.fromToBase=function(d,p,m,g,y){for(var v,w,E,T=m.$locale().relativeTime||u,x=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],_=x.length,O=0;O<_;O+=1){var k=x[O];k.d&&(v=g?i(d).diff(m,k.d,!0):m.diff(d,k.d,!0));var L=(r.rounding||Math.round)(Math.abs(v));if(E=v>0,L<=k.r||!k.r){L<=1&&O>0&&(k=x[O-1]);var H=T[k.l];y&&(L=y(""+L)),w=typeof H=="string"?H.replace("%d",L):H(L,p,k.l,E);break}}if(p)return w;var C=E?T.future:T.past;return typeof C=="function"?C(w):C.replace("%s",w)},o.to=function(d,p){return c(d,p,this,!0)},o.from=function(d,p){return c(d,p,this)};var f=function(d){return d.$u?i.utc():i()};o.toNow=function(d){return this.to(f(this),d)},o.fromNow=function(d){return this.from(f(this),d)}}}))})(Xd)),Xd.exports}var Cz=Tz();const Rz=qs(Cz);var Wd={exports:{}},Az=Wd.exports,Lx;function Oz(){return Lx||(Lx=1,(function(t,e){(function(r,n){t.exports=n()})(Az,(function(){var r=1e3,n=6e4,i=36e5,o="millisecond",u="second",c="minute",f="hour",d="day",p="week",m="month",g="quarter",y="year",v="date",w="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,x={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(z){var F=["th","st","nd","rd"],R=z%100;return"["+z+(F[(R-20)%10]||F[R]||F[0])+"]"}},_=function(z,F,R){var A=String(z);return!A||A.length>=F?z:""+Array(F+1-A.length).join(R)+z},O={s:_,z:function(z){var F=-z.utcOffset(),R=Math.abs(F),A=Math.floor(R/60),B=R%60;return(F<=0?"+":"-")+_(A,2,"0")+":"+_(B,2,"0")},m:function z(F,R){if(F.date()<R.date())return-z(R,F);
vendor: 4,870 bytes, line 26
26var A=12*(R.year()-F.year())+(R.month()-F.month()),B=F.clone().add(A,m),q=R-B<0,K=F.clone().add(A+(q?-1:1),m);return+(-(A+(R-B)/(q?B-K:K-B))||0)},a:function(z){return z<0?Math.ceil(z)||0:Math.floor(z)},p:function(z){return{M:m,y,w:p,d,D:v,h:f,m:c,s:u,ms:o,Q:g}[z]||String(z||"").toLowerCase().replace(/s$/,"")},u:function(z){return z===void 0}},k="en",L={};L[k]=x;var H="$isDayjsObject",C=function(z){return z instanceof U||!(!z||!z[H])},D=function z(F,R,A){var B;if(!F)return k;if(typeof F=="string"){var q=F.toLowerCase();L[q]&&(B=q),R&&(L[q]=R,B=q);var K=F.split("-");if(!B&&K.length>1)return z(K[0])}else{var $=F.name;L[$]=F,B=$}return!A&&B&&(k=B),B||!A&&k},M=function(z,F){if(C(z))return z.clone();var R=typeof F=="object"?F:{};return R.date=z,R.args=arguments,new U(R)},P=O;P.l=D,P.i=C,P.w=function(z,F){return M(z,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var U=(function(){function z(R){this.$L=D(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[H]=!0}var F=z.prototype;return F.parse=function(R){this.$d=(function(A){var B=A.date,q=A.utc;if(B===null)return new Date(NaN);if(P.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var K=B.match(E);if(K){var $=K[2]-1||0,Y=(K[7]||"0").substring(0,3);return q?new Date(Date.UTC(K[1],$,K[3]||1,K[4]||0,K[5]||0,K[6]||0,Y)):new Date(K[1],$,K[3]||1,K[4]||0,K[5]||0,K[6]||0,Y)}}return new Date(B)})(R),this.init()},F.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},F.$utils=function(){return P},F.isValid=function(){return this.$d.toString()!==w},F.isSame=function(R,A){var B=M(R);return this.startOf(A)<=B&&B<=this.endOf(A)},F.isAfter=function(R,A){return M(R)<this.startOf(A)},F.isBefore=function(R,A){return this.endOf(A)<M(R)},F.$g=function(R,A,B){return P.u(R)?this[A]:this.set(B,R)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(R,A){var B=this,q=!!P.u(A)||A,K=P.p(R),$=function(pe,Se){var be=P.w(B.$u?Date.UTC(B.$y,Se,pe):new Date(B.$y,Se,pe),B);return q?be:be.endOf(d)},Y=function(pe,Se){return P.w(B.toDate()[pe].apply(B.toDate("s"),(q?[0,0,0,0]:[23,59,59,999]).slice(Se)),B)},G=this.$W,W=this.$M,X=this.$D,Q="set"+(this.$u?"UTC":"");switch(K){case y:return q?$(1,0):$(31,11);case m:return q?$(1,W):$(0,W+1);case p:var ae=this.$locale().weekStart||0,de=(G<ae?G+7:G)-ae;return $(q?X-de:X+(6-de),W);case d:case v:return Y(Q+"Hours",0);case f:return Y(Q+"Minutes",1);case c:return Y(Q+"Seconds",2);case u:return Y(Q+"Milliseconds",3);default:return this.clone()}},F.endOf=function(R){return this.startOf(R,!1)},F.$set=function(R,A){var B,q=P.p(R),K="set"+(this.$u?"UTC":""),$=(B={},B[d]=K+"Date",B[v]=K+"Date",B[m]=K+"Month",B[y]=K+"FullYear",B[f]=K+"Hours",B[c]=K+"Minutes",B[u]=K+"Seconds",B[o]=K+"Milliseconds",B)[q],Y=q===d?this.$D+(A-this.$W):A;if(q===m||q===y){var G=this.clone().set(v,1);G.$d[$](Y),G.init(),this.$d=G.set(v,Math.min(this.$D,G.daysInMonth())).$d}else $&&this.$d[$](Y);return this.init(),this},F.set=function(R,A){return this.clone().$set(R,A)},F.get=function(R){return this[P.p(R)]()},F.add=function(R,A){var B,q=this;R=Number(R);var K=P.p(A),$=function(W){var X=M(q);return P.w(X.date(X.date()+Math.round(W*R)),q)};if(K===m)return this.set(m,this.$M+R);if(K===y)return this.set(y,this.$y+R);if(K===d)return $(1);if(K===p)return $(7);var Y=(B={},B[c]=n,B[f]=i,B[u]=r,B)[K]||1,G=this.$d.getTime()+R*Y;return P.w(G,this)},F.subtract=function(R,A){return this.add(-1*R,A)},F.format=function(R){var A=this,B=this.$locale();if(!this.isValid())return B.invalidDate||w;var q=R||"YYYY-MM-DDTHH:mm:ssZ",K=P.z(this),$=this.$H,Y=this.$m,G=this.$M,W=B.weekdays,X=B.months,Q=B.meridiem,ae=function(Se,be,ke,Ue){return Se&&(Se[be]||Se(A,q))||ke[be].slice(0,Ue)},de=function(Se){return P.s($%12||12,Se,"0")},pe=Q||function(Se,be,ke){var Ue=Se<12?"AM":"PM";return ke?Ue.toLowerCase():Ue};return q.replace(T,(function(Se,be){return be||(function(ke){switch(ke){case"YY":return String(A.$y).slice(-2);case"YYYY":return P.s(A.$y,4,"0");case"M":return G+1;case"MM":return P.s(G+1,2,"0");case"MMM":return ae(B.monthsShort,G,X,3);case"MMMM":return ae(X,G);case"D":return A.$D;case"DD":return P.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return ae(B.weekdaysMin,A.$W,W,2);case"ddd":return ae(B.weekdaysShort,A.$W,W,3);case"dddd":return W[A.$W];case"H":return String($);case"HH":return P.s($,2,"0");case"h":return de(1);case"hh":return de(2);case"a":return pe($,Y,!0);case"A":return pe($,Y,!1);case"m":return String(Y);case"mm":return P.s(Y,2,"0");case"s":return String(A.$s);case"ss":return P.s(A.$s,2,"0");case"SSS":return P.s(A.$ms,3,"0");case"Z":return K}return null})(Se)||K.replace(":","")}))}
26,F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(R,A,B){var q,K=this,$=P.p(A),Y=M(R),G=(Y.utcOffset()-this.utcOffset())*n,W=this-Y,X=function(){return P.m(K,Y)};switch($){case y:q=X()/12;break;case m:q=X();break;case g:q=X()/3;break;case p:q=(W-G)/6048e5;break;case d:q=(W-G)/864e5;break;case f:q=W/i;break;case c:q=W/n;break;case u:q=W/r;break;default:q=W}return B?q:P.a(q)},F.daysInMonth=function(){return this.endOf(m).$D},F.$locale=function(){return L[this.$L]},F.locale=function(R,A){if(!R)return this.$L;var B=this.clone(),q=D(R,A,!0);return q&&(B.$L=q),B},F.clone=function(){return P.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},z})(),I=U.prototype;return M.prototype=I,[["$ms",o],["$s",u],["$m",c],["$H",f],["$W",d],["$M",m],["$y",y],["$D",v]].forEach((function(z){I[z[1]]=function(F){return this.$g(F,z[0],z[1])}})),M.extend=function(z,F){return z.$i||(z(F,U,M),z.$i=!0),M},M.locale=D,M.isDayjs=C,M.unix=function(z){return M(1e3*z)},M.en=L[k],M.Ls=L,M.p={},M}))})(Wd)),Wd.exports}var Mz=Oz();const Ny=qs(Mz),[Dz,kz]=bi("useLocaleContext must be used within LocaleProvider");Ny.extend(Rz);const Lz={filled:"bg-this dark:bg-this-light",outlined:"border-2 border-this dark:border-this-light"},Nz={filled:"bg-gray-300 dark:bg-dark-400",outlined:"border-2 border-gray-300 dark:border-dark-400"},Pz=j.forwardRef(({children:t,title:e,time:r,point:n,color:i="neutral",variant:o,className:u,classNames:c={},isPing:f,...d},p)=>{const{locale:m}=kz(),g=xz(),y=o||g.variant,v=Ny(r).locale(m).fromNow(),w=te.jsx("div",{className:Re("timeline-item-point relative flex shrink-0 items-center justify-center rounded-full",i==="neutral"?Nz[y]:[Dr(i),Lz[y]],c?.point),children:f&&te.jsx("span",{className:"inline-flex h-full w-full animate-ping rounded-full bg-inherit opacity-80"})});return te.jsxs("div",{className:Re("timeline-item",u,c?.root),ref:p,...d,children:[n||w,te.jsxs("div",{className:Re("timeline-item-content-wrappper",c?.contentWrapper),children:[te.jsxs("div",{className:"flex flex-col pb-1.5",children:[e&&te.jsx("h3",{className:Re("dark:text-dark-100 pb-1.5 leading-none font-medium text-gray-600",c?.title),children:e}),r&&te.jsx("span",{className:Re("dark:text-dark-300 text-xs text-gray-400",c?.time),children:v})]}),te.jsx("div",{className:Re("timeline-item-content py-1",c?.content),children:t})]})]})});Pz.displayName="TimelineItem";function Nx({component:t,className:e,...r}){const n=t||"div";return te.jsx(n,{className:Re("relative break-words print:border",e),...r})}function Py({when:t,wrapper:e,children:r}){return t?e(r):te.jsx(te.Fragment,{children:r})}const zz="before:[mask-image:var(--tw-thumb)] before:bg-gray-400 border-gray-150 bg-gray-150 pointer-events-none select-none opacity-70 dark:bg-dark-450 dark:border-dark-450 dark:before:bg-dark-800 dark:opacity-60",jz={basic:"border-gray-400/70 bg-origin-border before:bg-center before:bg-no-repeat before:[background-size:100%_100%] before:[background-image:var(--tw-thumb)] checked:border-this checked:bg-this indeterminate:border-this indeterminate:bg-this hover:border-this focus:border-this dark:border-dark-400 dark:checked:border-this-light dark:checked:bg-this-light dark:indeterminate:border-this-light dark:indeterminate:bg-this-light dark:hover:border-this-light dark:focus:border-this-light",outlined:"border-gray-400/70 before:bg-this before:[mask-image:var(--tw-thumb)] checked:border-this hover:border-this focus:border-this dark:border-dark-400 dark:hover:border-this-light dark:focus:border-this-light dark:before:bg-this-light dark:checked:border-this-light"},Iz=j.forwardRef(({variant:t="basic",unstyled:e,color:r="primary",type:n="checkbox",className:i,classNames:o={},label:u,disabled:c,indeterminate:f,labelProps:d,...p},m)=>{const g=j.useRef(null);return j.useEffect(()=>{g.current&&(g.current.indeterminate=!!f)},[f]),te.jsx(Py,{when:!!u,wrapper:y=>te.jsxs("label",{className:Re("input-label inline-flex items-center gap-2",o?.label),...d,children:[y,te.jsx("span",{className:Re("label",o?.labelText),children:u})]}),children:te.jsx("input",{className:Re("form-checkbox",!e&&[Dr(r),c?zz:jz[t]],i,o?.input),disabled:c,"data-disabled":c,"data-indeterminate":f,ref:Dy(g,m),type:n,...p})})});Iz.displayName="Checkbox";function SR({when:t,children:e,className:r}){return t?te.jsx("span",{className:Re("input-text-error mt-1 text-xs text-error dark:text-error-lighter",r),children:e}):null}const Uz=j.forwardRef(({className:t,color:e="neutral",thumbSize:r,trackSize:n,style:i,...o},u)=>te.jsx("input",{type:"range",className:Re("form-range",e==="neutral"?"text-gray-500 dark:text-dark-300":[Dr(e),"text-this dark:text-this-light"],t),ref:u,style:{"--thumb-size":r,"--track-h":n,...i},...o}));Uz.displayName="Range";const $z="before:[mask-image:var(--tw-thumb)] before:bg-gray-400 border-gray-150 bg-gray-150 pointer-events-none select-none opacity-70 dark:bg-dark-450 dark:border-dark-450 dark:before:bg-dark-800 dark:opacity-60",Hz={basic:"border-gray-400/70 bg-origin-border before:bg-center before:bg-no-repeat before:[background-size:100%_100%] before:[background-image:var(--tw-thumb)] checked:border-this checked:bg-this hover:border-this focus:border-this dark:border-dark-400 dark:checked:border-this-light dark:checked:bg-this-light dark:hover:border-this-light dark:focus:border-this-light",outlined:"border-gray-400/70 before:bg-this before:[mask-image:var(--tw-thumb)] checked:border-this hover:border-this focus:border-this dark:border-dark-400 dark:hover:border-this-light dark:focus:border-this-light dark:before:bg-this-light dark:checked:border-this-light"},Bz=j.forwardRef(({variant:t="basic",unstyled:e,color:r="primary",className:n,classNames:i={},label:o,disabled:u,labelProps:c,...f},d)=>te.jsx(Py,{when:!!o,wrapper:p=>te.jsxs("label",{className:Re("input-label inline-flex items-center gap-2",i?.label),...c,children:[p,te.jsx("span",{className:Re("label",i?.labelText),children:o})]}),children:te.jsx("input",{className:Re("form-radio",!e&&[Dr(r),u?$z:Hz[t]],n,i?.input),disabled:u,"data-disabled":u,type:"radio",ref:d,...f})}));Bz.displayName="Radio";const Fz=j.forwardRef((t,e)=>{const{component:r,label:n,prefix:i,suffix:o,description:u,className:c,classNames:f={},error:d,unstyled:p,disabled:m,type:g="text",rootProps:y,labelProps:v,id:w,...E}=t,T=r||"input",x=Oy(w,"input"),_=Re("absolute top-0 flex h-full w-9 items-center justify-center transition-colors",d?"text-error dark:text-error-light":"peer-focus:text-primary-600 dark:text-dark-300 dark:peer-focus:text-primary-500 text-gray-400");
26return te.jsxs("div",{className:Re("input-root",f.root),...y,children:[n&&te.jsx("label",{htmlFor:x,className:Re("input-label",f.label),...v,children:te.jsx("span",{className:Re("input-label",f.labelText),children:n})}),te.jsxs("div",{className:Re("input-wrapper relative",n&&"mt-1.5",f.wrapper),children:[te.jsx(T,{className:Re("form-input-base",o&&"ltr:pr-9 rtl:pl-9",i&&"ltr:pl-9 rtl:pr-9",!p&&["form-input",d?"border-error dark:border-error-lighter":m?"bg-gray-150 dark:border-dark-500 dark:bg-dark-600 cursor-not-allowed border-gray-300 opacity-60":"peer focus:border-primary-600 dark:border-dark-450 dark:hover:border-dark-400 dark:focus:border-primary-500 border-gray-300 hover:border-gray-400"],c,f.input),type:g,id:x,ref:e,disabled:m,...E}),i&&te.jsx("div",{className:Re("prefix ltr:left-0 rtl:right-0",_,f.prefix),children:i}),o&&te.jsx("div",{className:Re("suffix ltr:right-0 rtl:left-0",_,f.suffix),children:o})]}),te.jsx(SR,{when:!!d&&typeof d!="boolean",className:f.error,children:d}),u&&te.jsx("span",{className:Re("input-description dark:text-dark-300 mt-1 text-xs text-gray-400",f.description),children:u})]})}),qz=Fz;qz.displayName="Input";function Yz(t){if(!(t instanceof HTMLElement))throw new TypeError("The input must be an HTMLElement.");let e=t.parentElement;for(;e&&e!==document.documentElement;){const r=window.getComputedStyle(e).backgroundColor;if(r&&r!=="rgba(0, 0, 0, 0)"&&r!=="transparent")return r;e=e.parentElement}return null}const Vz=({label:t,prefix:e,suffix:r=te.jsx(lz,{className:"w-2/3"}),description:n,classNames:i={},className:o,error:u,multiple:c=!1,unstyled:f,disabled:d,rootProps:p,labelProps:m,placeholder:g="Selecciona una opción",id:y,data:v=[],children:w,ref:E,...T})=>{const x=Oy(y,"select"),_=j.useRef(null),O=ic(),k=j.useMemo(()=>v.map(H=>{const C=typeof H!="object"?{label:H,value:H}:H;return te.jsx("option",{value:C.value,disabled:C.disabled,children:C.label},C.value)}),[v]),L=Re("pointer-events-none absolute top-0 flex h-full w-9 items-center justify-center transition-colors",u?"text-error dark:text-error-light":"peer-focus:text-primary-600 dark:text-dark-300 dark:peer-focus:text-primary-500 text-gray-400");return j.useEffect(()=>{const H=_.current;if(!H)return;const C=Yz(H);H.style.setProperty("--bg-color",C)},[O]),te.jsxs("div",{className:Re("input-root",i.root),...p,children:[t&&te.jsx("label",{htmlFor:x,className:Re("input-label",i.label),...m,children:te.jsx("span",{className:Re("input-label",i.labelText),children:t})}),te.jsxs("div",{className:Re("input-wrapper relative",t&&"mt-1.5",i.wrapper),children:[te.jsxs("select",{className:Re(c?"form-multiselect":"form-select-base",!f&&[!c&&"form-select",r&&"ltr:pr-9 rtl:pl-9",e&&"ltr:pl-9 rtl:pr-9",u?"border-error dark:border-error-lighter":[d?"bg-gray-150 dark:border-dark-500 dark:bg-dark-600 cursor-not-allowed border-gray-300 opacity-60":"peer focus:border-primary-600 dark:border-dark-450 dark:hover:border-dark-400 dark:focus:border-primary-500 border-gray-300 hover:border-gray-400"]],o,i.select),id:x,ref:E||_,disabled:d,"data-disabled":d,multiple:c,...T,children:[te.jsx("option",{value:void 0,children:g}),w||k]}),!c&&!f&&e&&te.jsx("div",{className:Re("prefix ltr:left-0 rtl:right-0",L,i.prefix),children:e}),!c&&!f&&te.jsx("div",{className:Re("suffix ltr:right-0 rtl:left-0",L,i.suffix),children:r})]}),te.jsx(SR,{when:!!(u&&typeof u!="boolean"),className:i.error,children:u}),n&&te.jsx("span",{className:Re("input-description dark:text-dark-300 mt-1 text-xs text-gray-400",i.description),children:n})]})};Vz.displayName="Select";const Gz="before:bg-gray-400 bg-gray-150 border border-gray-200 pointer-events-none select-none opacity-70 dark:bg-dark-450 dark:border-dark-450 dark:before:bg-dark-800 dark:opacity-60",Xz={basic:"bg-gray-300 before:bg-gray-50 checked:bg-this checked:before:bg-white dark:bg-surface-1 dark:before:bg-dark-50 dark:checked:bg-this-light dark:checked:before:bg-white focus-visible:ring-3 focus-visible:ring-this/50 dark:focus-visible:ring-this-light/50",outlined:"is-outline border-gray-400/70 border before:bg-gray-300 checked:border-this checked:before:bg-this dark:border-dark-400 dark:before:bg-dark-300 dark:checked:border-this-light dark:checked:before:bg-this-light focus-visible:ring-3 focus-visible:ring-this/50 dark:focus-visible:ring-this-light/50"},Wz=j.forwardRef(({variant:t="basic",unstyled:e,color:r="primary",className:n,classNames:i={},label:o,role:u="switch",disabled:c,labelProps:f,...d},p)=>te.jsx(Py,{when:!!o,wrapper:m=>te.jsxs("label",{className:Re("input-label inline-flex items-center gap-2",i.label),...f,children:[m,te.jsx("span",{className:Re("label",i.labelText),children:o})]}),children:te.jsx("input",{className:Re("form-switch",!e&&[Dr(r),c?Gz:Xz[t]],n,i.input),disabled:c,type:"checkbox",role:u,ref:p,...d})}));Wz.displayName="Switch";const Kz=j.forwardRef((t,e)=>{const{children:r,component:n="div",effect:i="fade",value:o,className:u,defaultValue:c,onChange:f,disabled:d,onClick:p,...m}=t,[g,y]=ky({value:o,defaultValue:c,finalValue:"on",onChange:f}),v=w=>{d||y(g==="on"?"off":"on"),p?.(w)};
26return te.jsx(n,{"data-swap-value":g,ref:e,disabled:d,"data-disabled":d,"data-swap-effect":i,className:Re("swap relative inline-grid place-content-center select-none",i==="flip"&&"swap-flip",i==="rotate"&&"swap-rotate",g==="on"?"swap-active **:data-swap-on:z-11":"**:data-swap-off:z-11",d?"cursor-not-allowed opacity-60":"cursor-pointer",u),onClick:v,...m,children:r})}),Qz=Kz;Qz.displayName="Swap";const Zz=j.forwardRef((t,e)=>{const{onChange:r=()=>{},children:n,accept:i,name:o,form:u,disabled:c,capture:f,inputProps:d,...p}=t,m=j.useRef(null),g=()=>{!c&&m.current&&m.current.click()},y=w=>{const E=w.currentTarget.files;E&&r(Array.from(E))},v=pR(e,m);return te.jsxs(te.Fragment,{children:[n({onClick:g,disabled:c,...p}),te.jsx("input",{hidden:!0,type:"file",accept:i,onChange:y,ref:v,name:o,form:u,capture:f,disabled:c,...d})]})});Zz.displayName="Upload";function Jz({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const e6=j.forwardRef(Jz);function t6({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))}const Av=j.forwardRef(t6);function r6({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))}const Px=j.forwardRef(r6);function n6({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const ER=j.forwardRef(n6);function a6({title:t,titleId:e,...r},n){return j.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":e},r),t?j.createElement("title",{id:e},t):null,j.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const i6=j.forwardRef(a6),s6=({id:t,type:e,title:r,message:n})=>te.jsx("div",{className:`bg-dark-600 flex w-72 space-x-4 rounded-lg px-4 pt-4 pb-2 ${e==="success"?"border-green-300 bg-green-50 text-green-700":"border-red-500 bg-red-50 text-red-700"}`,children:te.jsxs("div",{className:"min-w-0",children:[te.jsxs("div",{className:"-mt-2 flex items-center justify-between",children:[te.jsx("h5",{className:"truncate font-medium tracking-wide ltr:mr-2 rtl:ml-2",children:r}),te.jsx(Uu,{onClick:()=>Mn.dismiss(t),className:"size-6 rounded-full ltr:-mr-1.5 rtl:-ml-1.5",variant:"flat",isIcon:!0,children:te.jsx(i6,{className:"size-4"})})]}),te.jsx("p",{className:"leading-snug",children:n})]})}),o6=(t,e)=>{switch(t){case"success":return Mn.success(e);case"error":return Mn.error(e);case"warning":return Mn.warning(e);case"info":return Mn.info(e);default:return Mn(e)}},Ov={success:t=>Mn.success(t,{duration:3e3}),error:t=>Mn.error(t,{duration:3e3}),warning:t=>Mn.warning(t,{duration:3e3}),info:t=>Mn.info(t,{duration:3e3}),loading:t=>Mn.loading(t,{duration:3e3}),message:t=>
26Mn(t),custom:(t,e,r)=>{if(!(!e&&!t))return!t||!e?o6(r,t??e??r):Mn.custom(n=>te.jsx(s6,{id:n,type:r,title:t,message:e}),{duration:3e3})}};function l6(t,e){return e.forEach((function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach((function(n){if(n!=="default"&&!(n in t)){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}}))})),Object.freeze(t)}function xR(t,e){return new Promise((function(r,n){let i;return u6(t).then((function(o){try{return i=o,r(new Blob([e.slice(0,2),i,e.slice(2)],{type:"image/jpeg"}))}catch(u){return n(u)}}),n)}))}const u6=t=>new Promise(((e,r)=>{const n=new FileReader;n.addEventListener("load",(({target:{result:i}})=>{const o=new DataView(i);let u=0;if(o.getUint16(u)!==65496)return r("not a valid JPEG");for(u+=2;;){const c=o.getUint16(u);if(c===65498)break;const f=o.getUint16(u+2);if(c===65505&&o.getUint32(u+4)===1165519206){const d=u+10;let p;switch(o.getUint16(d)){case 18761:p=!0;break;case 19789:p=!1;break;default:return r("TIFF header contains invalid endian")}if(o.getUint16(d+2,p)!==42)return r("TIFF header contains invalid version");const m=o.getUint32(d+4,p),g=d+m+2+12*o.getUint16(d+m,p);for(let y=d+m+2;y<g;y+=12)if(o.getUint16(y,p)==274){if(o.getUint16(y+2,p)!==3)return r("Orientation data type is invalid");if(o.getUint32(y+4,p)!==1)return r("Orientation data count is invalid");o.setUint16(y+8,1,p);break}return e(i.slice(u,u+2+f))}u+=2+f}return e(new Blob)})),n.readAsArrayBuffer(t)}));var gf={},c6={get exports(){return gf},set exports(t){gf=t}};(function(t){var e,r,n={};c6.exports=n,n.parse=function(i,o){for(var u=n.bin.readUshort,c=n.bin.readUint,f=0,d={},p=new Uint8Array(i),m=p.length-4;c(p,m)!=101010256;)m--;f=m,f+=4;var g=u(p,f+=4);u(p,f+=2);var y=c(p,f+=2),v=c(p,f+=4);f+=4,f=v;for(var w=0;w<g;w++){c(p,f),f+=4,f+=4,f+=4,c(p,f+=4),y=c(p,f+=4);var E=c(p,f+=4),T=u(p,f+=4),x=u(p,f+2),_=u(p,f+4);f+=6;var O=c(p,f+=8);f+=4,f+=T+x+_,n._readLocal(p,O,d,y,E,o)}return d},n._readLocal=function(i,o,u,c,f,d){var p=n.bin.readUshort,m=n.bin.readUint;m(i,o),p(i,o+=4),p(i,o+=2);var g=p(i,o+=2);m(i,o+=2),m(i,o+=4),o+=4;var y=p(i,o+=8),v=p(i,o+=2);o+=2;var w=n.bin.readUTF8(i,o,y);if(o+=y,o+=v,d)u[w]={size:f,csize:c};else{var E=new Uint8Array(i.buffer,o);if(g==0)u[w]=new Uint8Array(E.buffer.slice(o,o+c));else{if(g!=8)throw"unknown compression method: "+g;var T=new Uint8Array(f);n.inflateRaw(E,T),u[w]=T}}},n.inflateRaw=function(i,o){return n.F.inflate(i,o)},n.inflate=function(i,o){return i[0],i[1],n.inflateRaw(new Uint8Array(i.buffer,i.byteOffset+2,i.length-6),o)},n.deflate=function(i,o){o==null&&(o={level:6});var u=0,c=new Uint8Array(50+Math.floor(1.1*i.length));c[u]=120,c[u+1]=156,u+=2,u=n.F.deflateRaw(i,c,u,o.level);var f=n.adler(i,0,i.length);return c[u+0]=f>>>24&255,c[u+1]=f>>>16&255,c[u+2]=f>>>8&255,c[u+3]=f>>>0&255,new Uint8Array(c.buffer,0,u+4)},n.deflateRaw=function(i,o){o==null&&(o={level:6});var u=new Uint8Array(50+Math.floor(1.1*i.length)),c=n.F.deflateRaw(i,u,c,o.level);return new Uint8Array(u.buffer,0,c)},n.encode=function(i,o){o==null&&(o=!1);var u=0,c=n.bin.writeUint,f=n.bin.writeUshort,d={};for(var p in i){var m=!n._noNeed(p)&&!o,g=i[p],y=n.crc.crc(g,0,g.length);d[p]={cpr:m,usize:g.length,crc:y,file:m?n.deflateRaw(g):g}}for(var p in d)u+=d[p].file.length+30+46+2*n.bin.sizeUTF8(p);u+=22;var v=new Uint8Array(u),w=0,E=[];for(var p in d){var T=d[p];E.push(w),w=n._writeHeader(v,w,p,T,0)}var x=0,_=w;for(var p in d)T=d[p],E.push(w),w=n._writeHeader(v,w,p,T,1,E[x++]);var O=w-_;return c(v,w,101010256),w+=4,f(v,w+=4,x),f(v,w+=2,x),c(v,w+=2,O),c(v,w+=4,_),w+=4,w+=2,v.buffer},n._noNeed=function(i){var o=i.split(".").pop().toLowerCase();return"png,jpg,jpeg,zip".indexOf(o)!=-1},n._writeHeader=function(i,o,u,c,f,d){var p=n.bin.writeUint,m=n.bin.writeUshort,g=c.file;return p(i,o,f==0?67324752:33639248),o+=4,f==1&&(o+=2),m(i,o,20),m(i,o+=2,0),m(i,o+=2,c.cpr?8:0),p(i,o+=2,0),p(i,o+=4,c.crc),p(i,o+=4,g.length),p(i,o+=4,c.usize),m(i,o+=4,n.bin.sizeUTF8(u)),m(i,o+=2,0),o+=2,f==1&&(o+=2,o+=2,p(i,o+=6,d),o+=4),o+=n.bin.writeUTF8(i,o,u),f==0&&(i.set(g,o),o+=g.length),o},n.crc={table:(function(){for(var i=new Uint32Array(256),o=0;o<256;o++){for(var u=o,c=0;c<8;c++)1&u?u=3988292384^u>>>1:u>>>=1;i[o]=u}return i})(),update:function(i,o,u,c){for(var f=0;f<c;f++)i=n.crc.table[255&(i^o[u+f])]^i>>>8;return i},crc:function(i,o,u){return 4294967295^n.crc.update(4294967295,i,o,u)}},n.adler=function(i,o,u){for(var c=1,f=0,d=o,p=o+u;d<p;){for(var m=Math.min(d+5552,p);d<m;)f+=c+=i[d++];c%=65521,f%=65521}return f<<16|c},n.bin={readUshort:function(i,o){return i[o]|i[o+1]<<8},writeUshort:function(i,o,u){i[o]=255&u,i[o+1]=u>>8&255},readUint:function(i,o){return 16777216*i[o+3]+(i[o+2]<<16|i[o+1]<<8|i[o])},writeUint:function(i,o,u){i[o]=255&u,i[o+1]=u>>8&255,i[o+2]=u>>16&255,i[o+3]=u>>24&255},readASCII:function(i,o,u){for(var c="",f=0;f<u;f++)c+=String.fromCharCode(i[o+f]);return c},writeASCII:function(i,o,u){for(var c=0;c<u.length;c++)i[o+c]=u.charCodeAt(c)},pad:function(i){return i.length<2?"0"+i:i},readUTF8:function(i,o,u){for(var c,f="",d=0;d<u;d++)f+="%"+n.bin.pad(i[o+d].toString(16));try{c=decodeURIComponent(f)}catch{return n.bin.readASCII(i,o,u)}return c},writeUTF8:function(i,o,u){for(var c=u.length,f=0,d=0;d<c;d++){var p=u.charCodeAt(d);if((4294967168&p)==0)i[o+f]=p,f++;else if((4294965248&p)==0)i[o+f]=192|p>>6,i[o+f+1]=128|p>>0&63,f+=2;else if((4294901760&p)==0)i[o+f]=224|p>>12,i[o+f+1]=128|p>>6&63,i[o+f+2]=128|p>>0&63,f+=3;else{if((4292870144&p)!=0)throw"e";i[o+f]=240|p>>18,i[o+f+1]=128|p>>12&63,i[o+f+2]=128|p>>6&63,i[o+f+3]=128|p>>0&63,f+=4}}return f},sizeUTF8:function(i){for(var o=i.length,u=0,c=0;c<o;c++){var f=i.charCodeAt(c);if((4294967168&f)==0)u++;else if((4294965248&f)==0)u+=2;else if((4294901760&f)==0)u+=3;else{if((4292870144&f)!=0)throw"e";u+=4}}return u}},n.F={},n.F.deflateRaw=function(i,o,u,c){var f=[[0,0,0,0,0],[4,4,8,4,0],[4,5,16,8,0],[4,6,16,16,0],[4,10,16,32,0],[8,16,32,32,0],[8,16,128,128,0],[8,32,128,256,0],[32,128,258,1024,1],[32,258,258,4096,1]][c],d=n.F.U,p=n.F._goodIndex;n.F._hash;var m=n.F._putsE,g=0,y=u<<3,v=0,w=i.length;if(c==0){for(;g<w;)m(o,y,g+(P=Math.min(65535,w-g))==w?1:0),y=n.F._copyExact(i,g,P,o,y+8),g+=P;return y>>>3}var E=d.lits,T=d.strt,x=d.prev,_=0,O=0,k=0,L=0,H=0,C=0;for(w>2&&(T[C=n.F._hash(i,0)]=0),g=0;g<w;g++){if(H=C,g+1<w-2){C=n.F._hash(i,g+1);var D=g+1&32767;x[D]=T[C],T[C]=D}if(v<=g){(_>14e3||O>26697)&&w-g>100&&(v<g&&(E[_]=g-v,_+=2,v=g),y=n.F._writeBlock(g==w-1||v==w?1:0,E,_,L,i,k,g-k,o,y),_=O=L=0,k=g);var M=0;g<w-2&&(M=n.F._bestMatch(i,g,x,H,Math.min(f[2],w-g),f[3]));var P=M>>>16,U=65535&M;if(M!=0){U=65535&M;var I=p(P=M>>>16,d.of0);d.lhst[257+I]++;var z=p(U,d.df0);d.dhst[z]++,L+=d.exb[I]+d.dxb[z],E[_]=P<<23|g-v,E[_+1]=U<<16|I<<8|z,_+=2,v=g+P}else d.lhst[i[g]]++;O++}}for(k==g&&i.length!=0||(v<g&&(E[_]=g-v,_+=2,v=g),y=n.F._writeBlock(1,E,_,L,i,k,g-k,o,y),_=0,O=0,_=O=L=0,k=g);(7&y)!=0;)y++;return y>>>3},n.F._bestMatch=function(i,o,u,c,f,d){var p=32767&o,m=u[p],g=p-m+32768&32767;if(m==p||c!=n.F._hash(i,o-g))return 0;for(var y=0,v=0,w=Math.min(32767,o);g<=w&&--d!=0&&m!=p;){if(y==0||i[o+y]==i[o+y-g]){var E=n.F._howLong(i,o,g);if(E>y){if(v=g,(y=E)>=f)break;g+2<E&&(E=g+2);for(var T=0,x=0;x<E-2;x++){var _=o-g+x+32768&32767,O=_-u[_]+32768&32767;O>T&&(T=O,m=_)}}}g+=(p=m)-(m=u[p])+32768&32767}return y<<16|v},n.F._howLong=function(i,o,u){if(i[o]!=i[o-u]||i[o+1]!=i[o+1-u]||i[o+2]!=i[o+2-u])return 0;var c=o,f=Math.min(i.length,o+258);for(o+=3;o<f&&i[o]==i[o-u];)o++;return o-c},n.F._hash=function(i,o){return(i[o]<<8|i[o+1])+(i[o+2]<<4)&65535},n.saved=0,n.F._writeBlock=function(i,o,u,c,f,d,p,m,g){var y,v,w,E,T,x,_,O,k,L=n.F.U,H=n.F._putsF,C=n.F._putsE;L.lhst[256]++,v=(y=n.F.getTrees())[0],w=y[1],E=y[2],T=y[3],x=y[4],_=y[5],O=y[6],k=y[7];var D=32+((g+3&7)==0?0:8-(g+3&7))+(p<<3),M=c+n.F.contSize(L.fltree,L.lhst)+n.F.contSize(L.fdtree,
26L.dhst),P=c+n.F.contSize(L.ltree,L.lhst)+n.F.contSize(L.dtree,L.dhst);P+=14+3*_+n.F.contSize(L.itree,L.ihst)+(2*L.ihst[16]+3*L.ihst[17]+7*L.ihst[18]);for(var U=0;U<286;U++)L.lhst[U]=0;for(U=0;U<30;U++)L.dhst[U]=0;for(U=0;U<19;U++)L.ihst[U]=0;var I=D<M&&D<P?0:M<P?1:2;if(H(m,g,i),H(m,g+1,I),g+=3,I==0){for(;(7&g)!=0;)g++;g=n.F._copyExact(f,d,p,m,g)}else{var z,F;if(I==1&&(z=L.fltree,F=L.fdtree),I==2){n.F.makeCodes(L.ltree,v),n.F.revCodes(L.ltree,v),n.F.makeCodes(L.dtree,w),n.F.revCodes(L.dtree,w),n.F.makeCodes(L.itree,E),n.F.revCodes(L.itree,E),z=L.ltree,F=L.dtree,C(m,g,T-257),C(m,g+=5,x-1),C(m,g+=5,_-4),g+=4;for(var R=0;R<_;R++)C(m,g+3*R,L.itree[1+(L.ordr[R]<<1)]);g+=3*_,g=n.F._codeTiny(O,L.itree,m,g),g=n.F._codeTiny(k,L.itree,m,g)}for(var A=d,B=0;B<u;B+=2){for(var q=o[B],K=q>>>23,$=A+(8388607&q);A<$;)g=n.F._writeLit(f[A++],z,m,g);if(K!=0){var Y=o[B+1],G=Y>>16,W=Y>>8&255,X=255&Y;C(m,g=n.F._writeLit(257+W,z,m,g),K-L.of0[W]),g+=L.exb[W],H(m,g=n.F._writeLit(X,F,m,g),G-L.df0[X]),g+=L.dxb[X],A+=K}}g=n.F._writeLit(256,z,m,g)}return g},n.F._copyExact=function(i,o,u,c,f){var d=f>>>3;return c[d]=u,c[d+1]=u>>>8,c[d+2]=255-c[d],c[d+3]=255-c[d+1],d+=4,c.set(new Uint8Array(i.buffer,o,u),d),f+(u+4<<3)},n.F.getTrees=function(){for(var i=n.F.U,o=n.F._hufTree(i.lhst,i.ltree,15),u=n.F._hufTree(i.dhst,i.dtree,15),c=[],f=n.F._lenCodes(i.ltree,c),d=[],p=n.F._lenCodes(i.dtree,d),m=0;m<c.length;m+=2)i.ihst[c[m]]++;for(m=0;m<d.length;m+=2)i.ihst[d[m]]++;for(var g=n.F._hufTree(i.ihst,i.itree,7),y=19;y>4&&i.itree[1+(i.ordr[y-1]<<1)]==0;)y--;return[o,u,g,f,p,y,c,d]},n.F.getSecond=function(i){for(var o=[],u=0;u<i.length;u+=2)o.push(i[u+1]);return o},n.F.nonZero=function(i){for(var o="",u=0;u<i.length;u+=2)i[u+1]!=0&&(o+=(u>>1)+",");return o},n.F.contSize=function(i,o){for(var u=0,c=0;c<o.length;c++)u+=o[c]*i[1+(c<<1)];return u},n.F._codeTiny=function(i,o,u,c){for(var f=0;f<i.length;f+=2){var d=i[f],p=i[f+1];c=n.F._writeLit(d,o,u,c);var m=d==16?2:d==17?3:7;d>15&&(n.F._putsE(u,c,p,m),c+=m)}return c},n.F._lenCodes=function(i,o){for(var u=i.length;u!=2&&i[u-1]==0;)u-=2;for(var c=0;c<u;c+=2){var f=i[c+1],d=c+3<u?i[c+3]:-1,p=c+5<u?i[c+5]:-1,m=c==0?-1:i[c-1];if(f==0&&d==f&&p==f){for(var g=c+5;g+2<u&&i[g+2]==f;)g+=2;(y=Math.min(g+1-c>>>1,138))<11?o.push(17,y-3):o.push(18,y-11),c+=2*y-2}else if(f==m&&d==f&&p==f){for(g=c+5;g+2<u&&i[g+2]==f;)g+=2;var y=Math.min(g+1-c>>>1,6);o.push(16,y-3),c+=2*y-2}else o.push(f,0)}return u>>>1},n.F._hufTree=function(i,o,u){var c=[],f=i.length,d=o.length,p=0;for(p=0;p<d;p+=2)o[p]=0,o[p+1]=0;for(p=0;p<f;p++)i[p]!=0&&c.push({lit:p,f:i[p]});var m=c.length,g=c.slice(0);if(m==0)return 0;if(m==1){var y=c[0].lit;return g=y==0?1:0,o[1+(y<<1)]=1,o[1+(g<<1)]=1,1}c.sort((function(O,k){return O.f-k.f}));var v=c[0],w=c[1],E=0,T=1,x=2;for(c[0]={lit:-1,f:v.f+w.f,l:v,r:w,d:0};T!=m-1;)v=E!=T&&(x==m||c[E].f<c[x].f)?c[E++]:c[x++],w=E!=T&&(x==m||c[E].f<c[x].f)?c[E++]:c[x++],c[T++]={lit:-1,f:v.f+w.f,l:v,r:w};var _=n.F.setDepth(c[T-1],0);for(_>u&&(n.F.restrictDepth(g,u,_),_=u),p=0;p<m;p++)o[1+(g[p].lit<<1)]=g[p].d;return _},n.F.setDepth=function(i,o){return i.lit!=-1?(i.d=o,o):Math.max(n.F.setDepth(i.l,o+1),n.F.setDepth(i.r,o+1))},n.F.restrictDepth=function(i,o,u){var c=0,f=1<<u-o,d=0;for(i.sort((function(m,g){return g.d==m.d?m.f-g.f:g.d-m.d})),c=0;c<i.length&&i[c].d>o;c++){var p=i[c].d;i[c].d=o,d+=f-(1<<u-p)}for(d>>>=u-o;d>0;)(p=i[c].d)<o?(i[c].d++,d-=1<<o-p-1):c++;for(;c>=0;c--)i[c].d==o&&d<0&&(i[c].d--,d++);d!=0&&console.log("debt left")},n.F._goodIndex=function(i,o){var u=0;return o[16|u]<=i&&(u|=16),o[8|u]<=i&&(u|=8),o[4|u]<=i&&(u|=4),o[2|u]<=i&&(u|=2),o[1|u]<=i&&(u|=1),u},n.F._writeLit=function(i,o,u,c){return n.F._putsF(u,c,o[i<<1]),c+o[1+(i<<1)]},n.F.inflate=function(i,o){var u=Uint8Array;
26if(i[0]==3&&i[1]==0)return o||new u(0);var c=n.F,f=c._bitsF,d=c._bitsE,p=c._decodeTiny,m=c.makeCodes,g=c.codes2map,y=c._get17,v=c.U,w=o==null;w&&(o=new u(i.length>>>2<<3));for(var E,T,x=0,_=0,O=0,k=0,L=0,H=0,C=0,D=0,M=0;x==0;)if(x=f(i,M,1),_=f(i,M+1,2),M+=3,_!=0){if(w&&(o=n.F._check(o,D+(1<<17))),_==1&&(E=v.flmap,T=v.fdmap,H=511,C=31),_==2){O=d(i,M,5)+257,k=d(i,M+5,5)+1,L=d(i,M+10,4)+4,M+=14;for(var P=0;P<38;P+=2)v.itree[P]=0,v.itree[P+1]=0;var U=1;for(P=0;P<L;P++){var I=d(i,M+3*P,3);v.itree[1+(v.ordr[P]<<1)]=I,I>U&&(U=I)}M+=3*L,m(v.itree,U),g(v.itree,U,v.imap),E=v.lmap,T=v.dmap,M=p(v.imap,(1<<U)-1,O+k,i,M,v.ttree);var z=c._copyOut(v.ttree,0,O,v.ltree);H=(1<<z)-1;var F=c._copyOut(v.ttree,O,k,v.dtree);C=(1<<F)-1,m(v.ltree,z),g(v.ltree,z,E),m(v.dtree,F),g(v.dtree,F,T)}for(;;){var R=E[y(i,M)&H];M+=15&R;var A=R>>>4;if(!(A>>>8))o[D++]=A;else{if(A==256)break;var B=D+A-254;if(A>264){var q=v.ldef[A-257];B=D+(q>>>3)+d(i,M,7&q),M+=7&q}var K=T[y(i,M)&C];M+=15&K;var $=K>>>4,Y=v.ddef[$],G=(Y>>>4)+f(i,M,15&Y);for(M+=15&Y,w&&(o=n.F._check(o,D+(1<<17)));D<B;)o[D]=o[D++-G],o[D]=o[D++-G],o[D]=o[D++-G],o[D]=o[D++-G];D=B}}}else{(7&M)!=0&&(M+=8-(7&M));var W=4+(M>>>3),X=i[W-4]|i[W-3]<<8;w&&(o=n.F._check(o,D+X)),o.set(new u(i.buffer,i.byteOffset+W,X),D),M=W+X<<3,D+=X}return o.length==D?o:o.slice(0,D)},n.F._check=function(i,o){var u=i.length;if(o<=u)return i;var c=new Uint8Array(Math.max(u<<1,o));return c.set(i,0),c},n.F._decodeTiny=function(i,o,u,c,f,d){for(var p=n.F._bitsE,m=n.F._get17,g=0;g<u;){var y=i[m(c,f)&o];f+=15&y;var v=y>>>4;if(v<=15)d[g]=v,g++;else{var w=0,E=0;v==16?(E=3+p(c,f,2),f+=2,w=d[g-1]):v==17?(E=3+p(c,f,3),f+=3):v==18&&(E=11+p(c,f,7),f+=7);for(var T=g+E;g<T;)d[g]=w,g++}}return f},n.F._copyOut=function(i,o,u,c){for(var f=0,d=0,p=c.length>>>1;d<u;){var m=i[d+o];c[d<<1]=0,c[1+(d<<1)]=m,m>f&&(f=m),d++}for(;d<p;)c[d<<1]=0,c[1+(d<<1)]=0,d++;return f},n.F.makeCodes=function(i,o){for(var u,c,f,d,p=n.F.U,m=i.length,g=p.bl_count,y=0;y<=o;y++)g[y]=0;for(y=1;y<m;y+=2)g[i[y]]++;var v=p.next_code;for(u=0,g[0]=0,c=1;c<=o;c++)u=u+g[c-1]<<1,v[c]=u;for(f=0;f<m;f+=2)(d=i[f+1])!=0&&(i[f]=v[d],v[d]++)},n.F.codes2map=function(i,o,u){for(var c=i.length,f=n.F.U.rev15,d=0;d<c;d+=2)if(i[d+1]!=0)for(var p=d>>1,m=i[d+1],g=p<<4|m,y=o-m,v=i[d]<<y,w=v+(1<<y);v!=w;)u[f[v]>>>15-o]=g,v++},n.F.revCodes=function(i,o){for(var u=n.F.U.rev15,c=15-o,f=0;f<i.length;f+=2){var d=i[f]<<o-i[f+1];i[f]=u[d]>>>c}},n.F._putsE=function(i,o,u){u<<=7&o;var c=o>>>3;i[c]|=u,i[c+1]|=u>>>8},n.F._putsF=function(i,o,u){u<<=7&o;var c=o>>>3;i[c]|=u,i[c+1]|=u>>>8,i[c+2]|=u>>>16},n.F._bitsE=function(i,o,u){return(i[o>>>3]|i[1+(o>>>3)]<<8)>>>(7&o)&(1<<u)-1},n.F._bitsF=function(i,o,u){return(i[o>>>3]|i[1+(o>>>3)]<<8|i[2+(o>>>3)]<<16)>>>(7&o)&(1<<u)-1},n.F._get17=function(i,o){return(i[o>>>3]|i[1+(o>>>3)]<<8|i[2+(o>>>3)]<<16)>>>(7&o)},n.F._get25=function(i,o){return(i[o>>>3]|i[1+(o>>>3)]<<8|i[2+(o>>>3)]<<16|i[3+(o>>>3)]<<24)>>>(7&o)},n.F.U=(e=Uint16Array,r=Uint32Array,{next_code:new e(16),bl_count:new e(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new e(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new r(32),flmap:new e(512),fltree:[],fdmap:new e(32),fdtree:[],lmap:new e(32768),ltree:[],ttree:[],dmap:new e(32768),dtree:[],imap:new e(512),itree:[],rev15:new e(32768),lhst:new r(286),dhst:new r(30),ihst:new r(19),lits:new r(15e3),strt:new e(65536),prev:new e(32768)}),(function(){for(var i=n.F.U,o=0;o<32768;o++){var u=o;u=(4278255360&(u=(4042322160&(u=(3435973836&(u=(2863311530&u)>>>1|(1431655765&u)<<1))>>>2|(858993459&u)<<2))>>>4|(252645135&u)<<4))>>>8|(16711935&u)<<8,i.rev15[o]=(u>>>16|u<<16)>>>17}function c(f,d,p){for(;d--!=0;)f.push(0,p)}for(o=0;o<32;o++)i.ldef[o]=i.of0[o]<<3|i.exb[o],i.ddef[o]=i.df0[o]<<4|i.dxb[o];c(i.fltree,144,8),c(i.fltree,112,9),c(i.fltree,24,7),c(i.fltree,8,8),n.F.makeCodes(i.fltree,9),n.F.codes2map(i.fltree,9,i.flmap),n.F.revCodes(i.fltree,9),c(i.fdtree,32,5),n.F.makeCodes(i.fdtree,5),n.F.codes2map(i.fdtree,5,i.fdmap),n.F.revCodes(i.fdtree,5),c(i.itree,19,0),c(i.ltree,286,0),c(i.dtree,30,0),c(i.ttree,320,0)})()})();var d6=l6({__proto__:null,default:gf},[gf]);const la=(function(){var t={nextZero(p,m){for(;p[m]!=0;)m++;return m},readUshort:(p,m)=>p[m]<<8|p[m+1],writeUshort(p,m,g){p[m]=g>>8&255,p[m+1]=255&g},readUint:(p,m)=>16777216*p[m]+(p[m+1]<<16|p[m+2]<<8|p[m+3]),writeUint(p,m,g){p[m]=g>>24&255,p[m+1]=g>>16&255,p[m+2]=g>>8&255,p[m+3]=255&g},readASCII(p,m,g){let y="";for(let v=0;v<g;v++)y+=String.fromCharCode(p[m+v]);return y},writeASCII(p,m,g){for(let y=0;y<g.length;y++)p[m+y]=g.charCodeAt(y)},readBytes(p,m,g){const y=[];for(let v=0;v<g;v++)y.push(p[m+v]);return y},pad:p=>p.length<2?`0${p}`:p,readUTF8(p,m,g){let y,v="";for(let w=0;w<g;w++)v+=`%${t.pad(p[m+w].toString(16))}`;try{y=decodeURIComponent(v)}catch{return t.readASCII(p,m,g)}return y}};function e(p,m,g,y){const v=m*g,w=o(y),E=Math.ceil(m*w/8),T=new Uint8Array(4*v),x=new Uint32Array(T.buffer),{ctype:_}=y,{depth:O}=y,k=t.readUshort;if(_==6){const q=v<<2;if(O==8)for(var L=0;L<q;L+=4)T[L]=p[L],T[L+1]=p[L+1],T[L+2]=p[L+2],T[L+3]=p[L+3];if(O==16)for(L=0;L<q;L++)T[L]=p[L<<1]}else if(_==2){const q=y.tabs.tRNS;if(q==null){if(O==8)for(L=0;L<v;L++){var H=3*L;x[L]=255<<24|p[H+2]<<16|p[H+1]<<8|p[H]}if(O==16)for(L=0;L<v;L++)H=6*L,x[L]=255<<24|p[H+4]<<16|p[H+2]<<8|p[H]}else{var C=q[0];const K=q[1],$=q[2];if(O==8)for(L=0;L<v;L++){var D=L<<2;H=3*L,x[L]=255<<24|p[H+2]<<16|p[H+1]<<8|p[H],p[H]==C&&p[H+1]==K&&p[H+2]==$&&(T[D+3]=0)}if(O==16)for(L=0;L<v;L++)D=L<<2,H=6*L,x[L]=255<<24|p[H+4]<<16|p[H+2]<<8|p[H],k(p,H)==C&&k(p,H+2)==K&&k(p,H+4)==$&&(T[D+3]=0)}}else if(_==3){const q=y.tabs.PLTE,K=y.tabs.tRNS,$=K?K.length:0;if(O==1)for(var M=0;M<g;M++){var P=M*E,U=M*m;for(L=0;L<m;L++){D=U+L<<2;var I=3*(z=p[P+(L>>3)]>>7-((7&L)<<0)&1);T[D]=q[I],T[D+1]=q[I+1],T[D+2]=q[I+2],T[D+3]=z<$?K[z]:255}}if(O==2)for(M=0;M<g;M++)for(P=M*E,U=M*m,L=0;L<m;L++)D=U+L<<2,I=3*(z=p[P+(L>>2)]>>6-((3&L)<<1)&3),T[D]=q[I],T[D+1]=q[I+1],T[D+2]=q[I+2],T[D+3]=z<$?K[z]:255;if(O==4)for(M=0;M<g;M++)for(P=M*E,U=M*m,L=0;L<m;L++)D=U+L<<2,I=3*(z=p[P+(L>>1)]>>4-((1&L)<<2)&15),T[D]=q[I],T[D+1]=q[I+1],T[D+2]=q[I+2],T[D+3]=z<$?K[z]:255;if(O==8)for(L=0;L<v;L++){var z;D=L<<2,I=3*(z=p[L]),T[D]=q[I],T[D+1]=q[I+1],T[D+2]=q[I+2],T[D+3]=z<$?K[z]:255}}else if(_==4){if(O==8)for(L=0;L<v;L++){D=L<<2;var F=p[R=L<<1];T[D]=F,T[D+1]=F,T[D+2]=F,T[D+3]=p[R+1]}if(O==16)for(L=0;L<v;L++){var R;D=L<<2,F=p[R=L<<2],T[D]=F,T[D+1]=F,T[D+2]=F,T[D+3]=p[R+2]}}else if(_==0)for(C=y.tabs.tRNS?y.tabs.tRNS:-1,M=0;M<g;M++){const q=M*E,K=M*m;if(O==1)for(var A=0;A<m;A++){var B=(F=255*(p[q+(A>>>3)]>>>7-(7&A)&1))==255*C?0:255;x[K+A]=B<<24|F<<16|F<<8|F}else if(O==2)for(A=0;A<m;A++)B=(F=85*(p[q+(A>>>2)]>>>6-((3&A)<<1)&3))==85*C?0:255,x[K+A]=B<<24|F<<16|F<<8|F;else if(O==4)for(A=0;A<m;A++)B=(F=17*(p[q+(A>>>1)]>>>4-((1&A)<<2)&15))==17*C?0:255,x[K+A]=B<<24|F<<16|F<<8|F;else if(O==8)for(A=0;A<m;A++)B=(F=p[q+A])==C?0:255,x[K+A]=B<<24|F<<16|F<<8|F;else if(O==16)for(A=0;A<m;A++)F=p[q+(A<<1)],B=k(p,q+(A<<1))==C?0:255,x[K+A]=B<<24|F<<16|F<<8|F}return T}function r(p,m,g,y){const v=o(p),w=Math.ceil(g*v/8),E=new Uint8Array((w+1+p.interlace)*y);return m=p.tabs.CgBI?i(m,E):n(m,E),p.interlace==0?m=u(m,p,0,g,y):p.interlace==1&&(m=(function(x,_){const O=_.width,k=_.height,L=o(_),H=L>>3,C=Math.ceil(O*L/8),D=new Uint8Array(k*C);let M=0;const P=[0,0,4,0,2,0,1],U=[0,4,0,2,0,1,0],I=[8,8,8,4,4,2,2],z=[8,8,4,4,2,2,1];let F=0;for(;F<7;){const A=I[F],B=z[F];let q=0,K=0,$=P[F];for(;$<k;)$+=A,K++;
26let Y=U[F];for(;Y<O;)Y+=B,q++;const G=Math.ceil(q*L/8);u(x,_,M,q,K);let W=0,X=P[F];for(;X<k;){let Q=U[F],ae=M+W*G<<3;for(;Q<O;){var R;if(L==1&&(R=(R=x[ae>>3])>>7-(7&ae)&1,D[X*C+(Q>>3)]|=R<<7-((7&Q)<<0)),L==2&&(R=(R=x[ae>>3])>>6-(7&ae)&3,D[X*C+(Q>>2)]|=R<<6-((3&Q)<<1)),L==4&&(R=(R=x[ae>>3])>>4-(7&ae)&15,D[X*C+(Q>>1)]|=R<<4-((1&Q)<<2)),L>=8){const de=X*C+Q*H;for(let pe=0;pe<H;pe++)D[de+pe]=x[(ae>>3)+pe]}ae+=L,Q+=B}W++,X+=A}q*K!=0&&(M+=K*(1+G)),F+=1}return D})(m,p)),m}function n(p,m){return i(new Uint8Array(p.buffer,2,p.length-6),m)}var i=(function(){const p={H:{}};return p.H.N=function(m,g){const y=Uint8Array;let v,w,E=0,T=0,x=0,_=0,O=0,k=0,L=0,H=0,C=0;if(m[0]==3&&m[1]==0)return g||new y(0);const D=p.H,M=D.b,P=D.e,U=D.R,I=D.n,z=D.A,F=D.Z,R=D.m,A=g==null;for(A&&(g=new y(m.length>>>2<<5));E==0;)if(E=M(m,C,1),T=M(m,C+1,2),C+=3,T!=0){if(A&&(g=p.H.W(g,H+(1<<17))),T==1&&(v=R.J,w=R.h,k=511,L=31),T==2){x=P(m,C,5)+257,_=P(m,C+5,5)+1,O=P(m,C+10,4)+4,C+=14;let q=1;for(var B=0;B<38;B+=2)R.Q[B]=0,R.Q[B+1]=0;for(B=0;B<O;B++){const Y=P(m,C+3*B,3);R.Q[1+(R.X[B]<<1)]=Y,Y>q&&(q=Y)}C+=3*O,I(R.Q,q),z(R.Q,q,R.u),v=R.w,w=R.d,C=U(R.u,(1<<q)-1,x+_,m,C,R.v);const K=D.V(R.v,0,x,R.C);k=(1<<K)-1;const $=D.V(R.v,x,_,R.D);L=(1<<$)-1,I(R.C,K),z(R.C,K,v),I(R.D,$),z(R.D,$,w)}for(;;){const q=v[F(m,C)&k];C+=15&q;const K=q>>>4;if(!(K>>>8))g[H++]=K;else{if(K==256)break;{let $=H+K-254;if(K>264){const Q=R.q[K-257];$=H+(Q>>>3)+P(m,C,7&Q),C+=7&Q}const Y=w[F(m,C)&L];C+=15&Y;const G=Y>>>4,W=R.c[G],X=(W>>>4)+M(m,C,15&W);for(C+=15&W;H<$;)g[H]=g[H++-X],g[H]=g[H++-X],g[H]=g[H++-X],g[H]=g[H++-X];H=$}}}}else{(7&C)!=0&&(C+=8-(7&C));const q=4+(C>>>3),K=m[q-4]|m[q-3]<<8;A&&(g=p.H.W(g,H+K)),g.set(new y(m.buffer,m.byteOffset+q,K),H),C=q+K<<3,H+=K}return g.length==H?g:g.slice(0,H)},p.H.W=function(m,g){const y=m.length;if(g<=y)return m;const v=new Uint8Array(y<<1);return v.set(m,0),v},p.H.R=function(m,g,y,v,w,E){const T=p.H.e,x=p.H.Z;let _=0;for(;_<y;){const O=m[x(v,w)&g];w+=15&O;const k=O>>>4;if(k<=15)E[_]=k,_++;else{let L=0,H=0;k==16?(H=3+T(v,w,2),w+=2,L=E[_-1]):k==17?(H=3+T(v,w,3),w+=3):k==18&&(H=11+T(v,w,7),w+=7);const C=_+H;for(;_<C;)E[_]=L,_++}}return w},p.H.V=function(m,g,y,v){let w=0,E=0;const T=v.length>>>1;for(;E<y;){const x=m[E+g];v[E<<1]=0,v[1+(E<<1)]=x,x>w&&(w=x),E++}for(;E<T;)v[E<<1]=0,v[1+(E<<1)]=0,E++;return w},p.H.n=function(m,g){const y=p.H.m,v=m.length;let w,E,T,x;const _=y.j;for(var O=0;O<=g;O++)_[O]=0;for(O=1;O<v;O+=2)_[m[O]]++;const k=y.K;for(w=0,_[0]=0,E=1;E<=g;E++)w=w+_[E-1]<<1,k[E]=w;for(T=0;T<v;T+=2)x=m[T+1],x!=0&&(m[T]=k[x],k[x]++)},p.H.A=function(m,g,y){const v=m.length,w=p.H.m.r;for(let E=0;E<v;E+=2)if(m[E+1]!=0){const T=E>>1,x=m[E+1],_=T<<4|x,O=g-x;let k=m[E]<<O;const L=k+(1<<O);for(;k!=L;)y[w[k]>>>15-g]=_,k++}},p.H.l=function(m,g){const y=p.H.m.r,v=15-g;for(let w=0;w<m.length;w+=2){const E=m[w]<<g-m[w+1];m[w]=y[E]>>>v}},p.H.M=function(m,g,y){y<<=7&g;const v=g>>>3;m[v]|=y,m[v+1]|=y>>>8},p.H.I=function(m,g,y){y<<=7&g;const v=g>>>3;m[v]|=y,m[v+1]|=y>>>8,m[v+2]|=y>>>16},p.H.e=function(m,g,y){return(m[g>>>3]|m[1+(g>>>3)]<<8)>>>(7&g)&(1<<y)-1},p.H.b=function(m,g,y){return(m[g>>>3]|m[1+(g>>>3)]<<8|m[2+(g>>>3)]<<16)>>>(7&g)&(1<<y)-1},p.H.Z=function(m,g){return(m[g>>>3]|m[1+(g>>>3)]<<8|m[2+(g>>>3)]<<16)>>>(7&g)},p.H.i=function(m,g){return(m[g>>>3]|m[1+(g>>>3)]<<8|m[2+(g>>>3)]<<16|m[3+(g>>>3)]<<24)>>>(7&g)},p.H.m=(function(){const m=Uint16Array,g=Uint32Array;return{K:new m(16),j:new m(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new m(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new g(32),J:new m(512),_:[],h:new m(32),$:[],w:new m(32768),C:[],v:[],d:new m(32768),D:[],u:new m(512),Q:[],r:new m(32768),s:new g(286),Y:new g(30),a:new g(19),t:new g(15e3),k:new m(65536),g:new m(32768)}})(),(function(){const m=p.H.m;for(var g=0;g<32768;g++){let v=g;v=(2863311530&v)>>>1|(1431655765&v)<<1,v=(3435973836&v)>>>2|(858993459&v)<<2,v=(4042322160&v)>>>4|(252645135&v)<<4,v=(4278255360&v)>>>8|(16711935&v)<<8,m.r[g]=(v>>>16|v<<16)>>>17}function y(v,w,E){for(;w--!=0;)v.push(0,E)}for(g=0;g<32;g++)m.q[g]=m.S[g]<<3|m.T[g],m.c[g]=m.p[g]<<4|m.z[g];y(m._,144,8),y(m._,112,9),y(m._,24,7),y(m._,8,8),p.H.n(m._,9),p.H.A(m._,9,m.J),p.H.l(m._,9),y(m.$,32,5),p.H.n(m.$,5),p.H.A(m.$,5,m.h),p.H.l(m.$,5),y(m.Q,19,0),y(m.C,286,0),y(m.D,30,0),y(m.v,320,0)})(),p.H.N})();function o(p){return[1,null,3,1,2,null,4][p.ctype]*p.depth}function u(p,m,g,y,v){let w=o(m);const E=Math.ceil(y*w/8);let T,x;w=Math.ceil(w/8);let _=p[g],O=0;if(_>1&&(p[g]=[0,0,1][_-2]),_==3)for(O=w;O<E;O++)p[O+1]=p[O+1]+(p[O+1-w]>>>1)&255;for(let k=0;k<v;k++)if(T=g+k*E,x=T+k+1,_=p[x-1],O=0,_==0)for(;O<E;O++)p[T+O]=p[x+O];else if(_==1){for(;O<w;O++)p[T+O]=p[x+O];for(;O<E;O++)p[T+O]=p[x+O]+p[T+O-w]}else if(_==2)for(;O<E;O++)p[T+O]=p[x+O]+p[T+O-E];else if(_==3){for(;O<w;O++)p[T+O]=p[x+O]+(p[T+O-E]>>>1);for(;O<E;
26O++)p[T+O]=p[x+O]+(p[T+O-E]+p[T+O-w]>>>1)}else{for(;O<w;O++)p[T+O]=p[x+O]+c(0,p[T+O-E],0);for(;O<E;O++)p[T+O]=p[x+O]+c(p[T+O-w],p[T+O-E],p[T+O-w-E])}return p}function c(p,m,g){const y=p+m-g,v=y-p,w=y-m,E=y-g;return v*v<=w*w&&v*v<=E*E?p:w*w<=E*E?m:g}function f(p,m,g){g.width=t.readUint(p,m),m+=4,g.height=t.readUint(p,m),m+=4,g.depth=p[m],m++,g.ctype=p[m],m++,g.compress=p[m],m++,g.filter=p[m],m++,g.interlace=p[m],m++}function d(p,m,g,y,v,w,E,T,x){const _=Math.min(m,v),O=Math.min(g,w);let k=0,L=0;for(let F=0;F<O;F++)for(let R=0;R<_;R++)if(E>=0&&T>=0?(k=F*m+R<<2,L=(T+F)*v+E+R<<2):(k=(-T+F)*m-E+R<<2,L=F*v+R<<2),x==0)y[L]=p[k],y[L+1]=p[k+1],y[L+2]=p[k+2],y[L+3]=p[k+3];else if(x==1){var H=p[k+3]*.00392156862745098,C=p[k]*H,D=p[k+1]*H,M=p[k+2]*H,P=y[L+3]*(1/255),U=y[L]*P,I=y[L+1]*P,z=y[L+2]*P;const A=1-H,B=H+P*A,q=B==0?0:1/B;y[L+3]=255*B,y[L+0]=(C+U*A)*q,y[L+1]=(D+I*A)*q,y[L+2]=(M+z*A)*q}else if(x==2)H=p[k+3],C=p[k],D=p[k+1],M=p[k+2],P=y[L+3],U=y[L],I=y[L+1],z=y[L+2],H==P&&C==U&&D==I&&M==z?(y[L]=0,y[L+1]=0,y[L+2]=0,y[L+3]=0):(y[L]=C,y[L+1]=D,y[L+2]=M,y[L+3]=H);else if(x==3){if(H=p[k+3],C=p[k],D=p[k+1],M=p[k+2],P=y[L+3],U=y[L],I=y[L+1],z=y[L+2],H==P&&C==U&&D==I&&M==z)continue;if(H<220&&P>20)return!1}return!0}return{decode:function(m){const g=new Uint8Array(m);let y=8;const v=t,w=v.readUshort,E=v.readUint,T={tabs:{},frames:[]},x=new Uint8Array(g.length);let _,O=0,k=0;const L=[137,80,78,71,13,10,26,10];for(var H=0;H<8;H++)if(g[H]!=L[H])throw"The input is not a PNG file!";for(;y<g.length;){const F=v.readUint(g,y);y+=4;const R=v.readASCII(g,y,4);if(y+=4,R=="IHDR")f(g,y,T);else if(R=="iCCP"){for(var C=y;g[C]!=0;)C++;v.readASCII(g,y,C-y),g[C+1];const A=g.slice(C+2,y+F);let B=null;try{B=n(A)}catch{B=i(A)}T.tabs[R]=B}else if(R=="CgBI")T.tabs[R]=g.slice(y,y+4);else if(R=="IDAT"){for(H=0;H<F;H++)x[O+H]=g[y+H];O+=F}else if(R=="acTL")T.tabs[R]={num_frames:E(g,y),num_plays:E(g,y+4)},_=new Uint8Array(g.length);else if(R=="fcTL"){k!=0&&((z=T.frames[T.frames.length-1]).data=r(T,_.slice(0,k),z.rect.width,z.rect.height),k=0);const A={x:E(g,y+12),y:E(g,y+16),width:E(g,y+4),height:E(g,y+8)};let B=w(g,y+22);B=w(g,y+20)/(B==0?100:B);const q={rect:A,delay:Math.round(1e3*B),dispose:g[y+24],blend:g[y+25]};T.frames.push(q)}else if(R=="fdAT"){for(H=0;H<F-4;H++)_[k+H]=g[y+H+4];k+=F-4}else if(R=="pHYs")T.tabs[R]=[v.readUint(g,y),v.readUint(g,y+4),g[y+8]];else if(R=="cHRM")for(T.tabs[R]=[],H=0;H<8;H++)T.tabs[R].push(v.readUint(g,y+4*H));else if(R=="tEXt"||R=="zTXt"){T.tabs[R]==null&&(T.tabs[R]={});var D=v.nextZero(g,y),M=v.readASCII(g,y,D-y),P=y+F-D-1;if(R=="tEXt")I=v.readASCII(g,D+1,P);else{var U=n(g.slice(D+2,D+2+P));I=v.readUTF8(U,0,U.length)}T.tabs[R][M]=I}else if(R=="iTXt"){T.tabs[R]==null&&(T.tabs[R]={}),D=0,C=y,D=v.nextZero(g,C),M=v.readASCII(g,C,D-C);const A=g[C=D+1];var I;g[C+1],C+=2,D=v.nextZero(g,C),v.readASCII(g,C,D-C),C=D+1,D=v.nextZero(g,C),v.readUTF8(g,C,D-C),P=F-((C=D+1)-y),A==0?I=v.readUTF8(g,C,P):(U=n(g.slice(C,C+P)),I=v.readUTF8(U,0,U.length)),T.tabs[R][M]=I}else if(R=="PLTE")T.tabs[R]=v.readBytes(g,y,F);else if(R=="hIST"){const A=T.tabs.PLTE.length/3;for(T.tabs[R]=[],H=0;H<A;H++)T.tabs[R].push(w(g,y+2*H))}else if(R=="tRNS")T.ctype==3?T.tabs[R]=v.readBytes(g,y,F):T.ctype==0?T.tabs[R]=w(g,y):T.ctype==2&&(T.tabs[R]=[w(g,y),w(g,y+2),w(g,y+4)]);else if(R=="gAMA")T.tabs[R]=v.readUint(g,y)/1e5;else if(R=="sRGB")T.tabs[R]=g[y];else if(R=="bKGD")T.ctype==0||T.ctype==4?T.tabs[R]=[w(g,y)]:T.ctype==2||T.ctype==6?T.tabs[R]=[w(g,y),w(g,y+2),w(g,y+4)]:T.ctype==3&&(T.tabs[R]=g[y]);else if(R=="IEND")break;y+=F,v.readUint(g,y),y+=4}var z;return k!=0&&((z=T.frames[T.frames.length-1]).data=r(T,_.slice(0,k),z.rect.width,z.rect.height)),T.data=r(T,x,T.width,T.height),delete T.compress,delete T.interlace,delete T.filter,T},toRGBA8:function(m){const g=m.width,y=m.height;if(m.tabs.acTL==null)return[e(m.data,g,y,m).buffer];const v=[];m.frames[0].data==null&&(m.frames[0].data=m.data);const w=g*y*4,E=new Uint8Array(w),T=new Uint8Array(w),x=new Uint8Array(w);for(let O=0;O<m.frames.length;O++){const k=m.frames[O],L=k.rect.x,H=k.rect.y,C=k.rect.width,D=k.rect.height,M=e(k.data,C,D,m);if(O!=0)for(var _=0;_<w;_++)x[_]=E[_];if(k.blend==0?d(M,C,D,E,g,y,L,H,0):k.blend==1&&d(M,C,D,E,g,y,L,H,1),v.push(E.buffer.slice(0)),k.dispose!=0){if(k.dispose==1)d(T,C,D,E,g,y,L,H,0);else if(k.dispose==2)for(_=0;_<w;_++)E[_]=x[_]}}return v},_paeth:c,_copyTile:d,_bin:t}})();(function(){const{_copyTile:t}=la,{_bin:e}=la,r=la._paeth;var n={table:(function(){const C=new Uint32Array(256);for(let D=0;D<256;D++){let M=D;for(let P=0;P<8;P++)1&M?M=3988292384^M>>>1:M>>>=1;C[D]=M}return C})(),update(C,D,M,P){for(let U=0;U<P;U++)C=n.table[255&(C^D[M+U])]^C>>>8;return C},crc:(C,D,M)=>4294967295^n.update(4294967295,C,D,M)};function i(C,D,M,P){D[M]+=C[0]*P>>4,D[M+1]+=C[1]*P>>4,D[M+2]+=C[2]*P>>4,D[M+3]+=C[3]*P>>4}function o(C){return Math.max(0,Math.min(255,C))}function u(C,D){const M=C[0]-D[0],P=C[1]-D[1],U=C[2]-D[2],I=C[3]-D[3];
26return M*M+P*P+U*U+I*I}function c(C,D,M,P,U,I,z){z==null&&(z=1);const F=P.length,R=[];for(var A=0;A<F;A++){const X=P[A];R.push([X>>>0&255,X>>>8&255,X>>>16&255,X>>>24&255])}for(A=0;A<F;A++){let X=4294967295;for(var B=0,q=0;q<F;q++){var K=u(R[A],R[q]);q!=A&&K<X&&(X=K,B=q)}}const $=new Uint32Array(U.buffer),Y=new Int16Array(D*M*4),G=[0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5];for(A=0;A<G.length;A++)G[A]=255*((G[A]+.5)/16-.5);for(let X=0;X<M;X++)for(let Q=0;Q<D;Q++){var W;A=4*(X*D+Q),z!=2?W=[o(C[A]+Y[A]),o(C[A+1]+Y[A+1]),o(C[A+2]+Y[A+2]),o(C[A+3]+Y[A+3])]:(K=G[4*(3&X)+(3&Q)],W=[o(C[A]+K),o(C[A+1]+K),o(C[A+2]+K),o(C[A+3]+K)]),B=0;let ae=16777215;for(q=0;q<F;q++){const Se=u(W,R[q]);Se<ae&&(ae=Se,B=q)}const de=R[B],pe=[W[0]-de[0],W[1]-de[1],W[2]-de[2],W[3]-de[3]];z==1&&(Q!=D-1&&i(pe,Y,A+4,7),X!=M-1&&(Q!=0&&i(pe,Y,A+4*D-4,3),i(pe,Y,A+4*D,5),Q!=D-1&&i(pe,Y,A+4*D+4,1))),I[A>>2]=B,$[A>>2]=P[B]}}function f(C,D,M,P,U){U==null&&(U={});const{crc:I}=n,z=e.writeUint,F=e.writeUshort,R=e.writeASCII;let A=8;const B=C.frames.length>1;let q,K=!1,$=33+(B?20:0);if(U.sRGB!=null&&($+=13),U.pHYs!=null&&($+=21),U.iCCP!=null&&(q=pako.deflate(U.iCCP),$+=21+q.length+4),C.ctype==3){for(var Y=C.plte.length,G=0;G<Y;G++)C.plte[G]>>>24!=255&&(K=!0);$+=8+3*Y+4+(K?8+1*Y+4:0)}for(var W=0;W<C.frames.length;W++)B&&($+=38),$+=(de=C.frames[W]).cimg.length+12,W!=0&&($+=4);$+=12;const X=new Uint8Array($),Q=[137,80,78,71,13,10,26,10];for(G=0;G<8;G++)X[G]=Q[G];if(z(X,A,13),A+=4,R(X,A,"IHDR"),A+=4,z(X,A,D),A+=4,z(X,A,M),A+=4,X[A]=C.depth,A++,X[A]=C.ctype,A++,X[A]=0,A++,X[A]=0,A++,X[A]=0,A++,z(X,A,I(X,A-17,17)),A+=4,U.sRGB!=null&&(z(X,A,1),A+=4,R(X,A,"sRGB"),A+=4,X[A]=U.sRGB,A++,z(X,A,I(X,A-5,5)),A+=4),U.iCCP!=null){const pe=13+q.length;z(X,A,pe),A+=4,R(X,A,"iCCP"),A+=4,R(X,A,"ICC profile"),A+=11,A+=2,X.set(q,A),A+=q.length,z(X,A,I(X,A-(pe+4),pe+4)),A+=4}if(U.pHYs!=null&&(z(X,A,9),A+=4,R(X,A,"pHYs"),A+=4,z(X,A,U.pHYs[0]),A+=4,z(X,A,U.pHYs[1]),A+=4,X[A]=U.pHYs[2],A++,z(X,A,I(X,A-13,13)),A+=4),B&&(z(X,A,8),A+=4,R(X,A,"acTL"),A+=4,z(X,A,C.frames.length),A+=4,z(X,A,U.loop!=null?U.loop:0),A+=4,z(X,A,I(X,A-12,12)),A+=4),C.ctype==3){for(z(X,A,3*(Y=C.plte.length)),A+=4,R(X,A,"PLTE"),A+=4,G=0;G<Y;G++){const pe=3*G,Se=C.plte[G],be=255&Se,ke=Se>>>8&255,Ue=Se>>>16&255;X[A+pe+0]=be,X[A+pe+1]=ke,X[A+pe+2]=Ue}if(A+=3*Y,z(X,A,I(X,A-3*Y-4,3*Y+4)),A+=4,K){for(z(X,A,Y),A+=4,R(X,A,"tRNS"),A+=4,G=0;G<Y;G++)X[A+G]=C.plte[G]>>>24&255;A+=Y,z(X,A,I(X,A-Y-4,Y+4)),A+=4}}let ae=0;for(W=0;W<C.frames.length;W++){var de=C.frames[W];B&&(z(X,A,26),A+=4,R(X,A,"fcTL"),A+=4,z(X,A,ae++),A+=4,z(X,A,de.rect.width),A+=4,z(X,A,de.rect.height),A+=4,z(X,A,de.rect.x),A+=4,z(X,A,de.rect.y),A+=4,F(X,A,P[W]),A+=2,F(X,A,1e3),A+=2,X[A]=de.dispose,A++,X[A]=de.blend,A++,z(X,A,I(X,A-30,30)),A+=4);const pe=de.cimg;z(X,A,(Y=pe.length)+(W==0?0:4)),A+=4;const Se=A;R(X,A,W==0?"IDAT":"fdAT"),A+=4,W!=0&&(z(X,A,ae++),A+=4),X.set(pe,A),A+=Y,z(X,A,I(X,Se,A-Se)),A+=4}return z(X,A,0),A+=4,R(X,A,"IEND"),A+=4,z(X,A,I(X,A-4,4)),A+=4,X.buffer}function d(C,D,M){for(let P=0;P<C.frames.length;P++){const U=C.frames[P];U.rect.width;const I=U.rect.height,z=new Uint8Array(I*U.bpl+I);U.cimg=y(U.img,I,U.bpp,U.bpl,z,D,M)}}function p(C,D,M,P,U){const I=U[0],z=U[1],F=U[2],R=U[3],A=U[4],B=U[5];let q=6,K=8,$=255;for(var Y=0;Y<C.length;Y++){const vt=new Uint8Array(C[Y]);for(var G=vt.length,W=0;W<G;W+=4)$&=vt[W+3]}const X=$!=255,Q=(function(Be,rt,nt,kt,yt,ft){const ht=[];for(var Ve=0;Ve<Be.length;Ve++){const pt=new Uint8Array(Be[Ve]),Or=new Uint32Array(pt.buffer);var Lt;let sr=0,pr=0,Ut=rt,Pt=nt,or=kt?1:0;if(Ve!=0){const xi=ft||kt||Ve==1||ht[Ve-2].dispose!=0?1:2;let Pn=0,Gr=1e9;for(let Xr=0;Xr<xi;Xr++){var Wt=new Uint8Array(Be[Ve-1-Xr]);const bn=new Uint32Array(Be[Ve-1-Xr]);let Tr=rt,lr=nt,ze=-1,bt=-1;for(let Yt=0;Yt<nt;Yt++)for(let mr=0;mr<rt;mr++)Or[At=Yt*rt+mr]!=bn[At]&&(mr<Tr&&(Tr=mr),mr>ze&&(ze=mr),Yt<lr&&(lr=Yt),Yt>bt&&(bt=Yt));ze==-1&&(Tr=lr=ze=bt=0),yt&&((1&Tr)==1&&Tr--,(1&lr)==1&&lr--);const ur=(ze-Tr+1)*(bt-lr+1);ur<Gr&&(Gr=ur,Pn=Xr,sr=Tr,pr=lr,Ut=ze-Tr+1,Pt=bt-lr+1)}Wt=new Uint8Array(Be[Ve-1-Pn]),Pn==1&&(ht[Ve-1].dispose=2),Lt=new Uint8Array(Ut*Pt*4),t(Wt,rt,nt,Lt,Ut,Pt,-sr,-pr,0),or=t(pt,rt,nt,Lt,Ut,Pt,-sr,-pr,3)?1:0,or==1?g(pt,rt,nt,Lt,{x:sr,y:pr,width:Ut,height:Pt}):t(pt,rt,nt,Lt,Ut,Pt,-sr,-pr,0)}else Lt=pt.slice(0);ht.push({rect:{x:sr,y:pr,width:Ut,height:Pt},img:Lt,blend:or,dispose:0})}if(kt)for(Ve=0;Ve<ht.length;Ve++){if((Nt=ht[Ve]).blend==1)continue;const pt=Nt.rect,Or=ht[Ve-1].rect,sr=Math.min(pt.x,Or.x),pr=Math.min(pt.y,Or.y),Ut={x:sr,y:pr,width:Math.max(pt.x+pt.width,Or.x+Or.width)-sr,height:Math.max(pt.y+pt.height,Or.y+Or.he
26ight)-pr};ht[Ve-1].dispose=1,Ve-1!=0&&m(Be,rt,nt,ht,Ve-1,Ut,yt),m(Be,rt,nt,ht,Ve,Ut,yt)}let _r=0;if(Be.length!=1)for(var At=0;At<ht.length;At++){var Nt;_r+=(Nt=ht[At]).rect.width*Nt.rect.height}return ht})(C,D,M,I,z,F),ae={},de=[],pe=[];if(P!=0){const vt=[];for(W=0;W<Q.length;W++)vt.push(Q[W].img.buffer);const Be=(function(yt){let ft=0;for(var ht=0;ht<yt.length;ht++)ft+=yt[ht].byteLength;const Ve=new Uint8Array(ft);let Lt=0;for(ht=0;ht<yt.length;ht++){const Wt=new Uint8Array(yt[ht]),_r=Wt.length;for(let At=0;At<_r;At+=4){let Nt=Wt[At],pt=Wt[At+1],Or=Wt[At+2];const sr=Wt[At+3];sr==0&&(Nt=pt=Or=0),Ve[Lt+At]=Nt,Ve[Lt+At+1]=pt,Ve[Lt+At+2]=Or,Ve[Lt+At+3]=sr}Lt+=_r}return Ve.buffer})(vt),rt=w(Be,P);for(W=0;W<rt.plte.length;W++)de.push(rt.plte[W].est.rgba);let nt=0;for(W=0;W<Q.length;W++){const kt=(be=Q[W]).img.length;var Se=new Uint8Array(rt.inds.buffer,nt>>2,kt>>2);pe.push(Se);const yt=new Uint8Array(rt.abuf,nt,kt);B&&c(be.img,be.rect.width,be.rect.height,de,yt,Se),be.img.set(yt),nt+=kt}}else for(Y=0;Y<Q.length;Y++){var be=Q[Y];const vt=new Uint32Array(be.img.buffer);var ke=be.rect.width;for(G=vt.length,Se=new Uint8Array(G),pe.push(Se),W=0;W<G;W++){const Be=vt[W];if(W!=0&&Be==vt[W-1])Se[W]=Se[W-1];else if(W>ke&&Be==vt[W-ke])Se[W]=Se[W-ke];else{let rt=ae[Be];if(rt==null&&(ae[Be]=rt=de.length,de.push(Be),de.length>=300))break;Se[W]=rt}}}const Ue=de.length;for(Ue<=256&&A==0&&(K=Ue<=2?1:Ue<=4?2:Ue<=16?4:8,K=Math.max(K,R)),Y=0;Y<Q.length;Y++){(be=Q[Y]).rect.x,be.rect.y,ke=be.rect.width;const vt=be.rect.height;let Be=be.img;new Uint32Array(Be.buffer);let rt=4*ke,nt=4;if(Ue<=256&&A==0){rt=Math.ceil(K*ke/8);var Pe=new Uint8Array(rt*vt);const kt=pe[Y];for(let yt=0;yt<vt;yt++){W=yt*rt;const ft=yt*ke;if(K==8)for(var Ge=0;Ge<ke;Ge++)Pe[W+Ge]=kt[ft+Ge];else if(K==4)for(Ge=0;Ge<ke;Ge++)Pe[W+(Ge>>1)]|=kt[ft+Ge]<<4-4*(1&Ge);else if(K==2)for(Ge=0;Ge<ke;Ge++)Pe[W+(Ge>>2)]|=kt[ft+Ge]<<6-2*(3&Ge);else if(K==1)for(Ge=0;Ge<ke;Ge++)Pe[W+(Ge>>3)]|=kt[ft+Ge]<<7-1*(7&Ge)}Be=Pe,q=3,nt=1}else if(X==0&&Q.length==1){Pe=new Uint8Array(ke*vt*3);const kt=ke*vt;for(W=0;W<kt;W++){const yt=3*W,ft=4*W;Pe[yt]=Be[ft],Pe[yt+1]=Be[ft+1],Pe[yt+2]=Be[ft+2]}Be=Pe,q=2,nt=3,rt=3*ke}be.img=Be,be.bpl=rt,be.bpp=nt}return{ctype:q,depth:K,plte:de,frames:Q}}function m(C,D,M,P,U,I,z){const F=Uint8Array,R=Uint32Array,A=new F(C[U-1]),B=new R(C[U-1]),q=U+1<C.length?new F(C[U+1]):null,K=new F(C[U]),$=new R(K.buffer);let Y=D,G=M,W=-1,X=-1;for(let ae=0;ae<I.height;ae++)for(let de=0;de<I.width;de++){const pe=I.x+de,Se=I.y+ae,be=Se*D+pe,ke=$[be];ke==0||P[U-1].dispose==0&&B[be]==ke&&(q==null||q[4*be+3]!=0)||(pe<Y&&(Y=pe),pe>W&&(W=pe),Se<G&&(G=Se),Se>X&&(X=Se))}W==-1&&(Y=G=W=X=0),z&&((1&Y)==1&&Y--,(1&G)==1&&G--),I={x:Y,y:G,width:W-Y+1,height:X-G+1};const Q=P[U];Q.rect=I,Q.blend=1,Q.img=new Uint8Array(I.width*I.height*4),P[U-1].dispose==0?(t(A,D,M,Q.img,I.width,I.height,-I.x,-I.y,0),g(K,D,M,Q.img,I)):t(K,D,M,Q.img,I.width,I.height,-I.x,-I.y,0)}function g(C,D,M,P,U){t(C,D,M,P,U.width,U.height,-U.x,-U.y,2)}function y(C,D,M,P,U,I,z){const F=[];let R,A=[0,1,2,3,4];I!=-1?A=[I]:(D*P>5e5||M==1)&&(A=[0]),z&&(R={level:0});const B=d6;for(var q=0;q<A.length;q++){for(let Y=0;Y<D;Y++)v(U,C,Y,P,M,A[q]);F.push(B.deflate(U,R))}let K,$=1e9;for(q=0;q<F.length;q++)F[q].length<$&&(K=q,$=F[q].length);return F[K]}function v(C,D,M,P,U,I){const z=M*P;let F=z+M;if(C[F]=I,F++,I==0)if(P<500)for(var R=0;R<P;R++)C[F+R]=D[z+R];else C.set(new Uint8Array(D.buffer,z,P),F);else if(I==1){for(R=0;R<U;R++)C[F+R]=D[z+R];for(R=U;R<P;R++)C[F+R]=D[z+R]-D[z+R-U]+256&255}else if(M==0){for(R=0;R<U;R++)C[F+R]=D[z+R];if(I==2)for(R=U;R<P;R++)C[F+R]=D[z+R];if(I==3)for(R=U;R<P;R++)C[F+R]=D[z+R]-(D[z+R-U]>>1)+256&255;if(I==4)for(R=U;R<P;R++)C[F+R]=D[z+R]-r(D[z+R-U],0,0)+256&255}else{if(I==2)for(R=0;R<P;R++)C[F+R]=D[z+R]+256-D[z+R-P]&255;if(I==3){for(R=0;R<U;R++)C[F+R]=D[z+R]+256-(D[z+R-P]>>1)&255;for(R=U;R<P;R++)C[F+R]=D[z+R]+256-(D[z+R-P]+D[z+R-U]>>1)&255}if(I==4){for(R=0;R<U;R++)C[F+R]=D[z+R]+256-r(0,D[z+R-P],0)&255;for(R=U;R<P;R++)C[F+R]=D[z+R]+256-r(D[z+R-U],D[z+R-P],D[z+R-U-P])&255}}}function w(C,D){const M=new Uint8Array(C),P=M.slice(0),U=new Uint32Array(P.buffer),I=E(P,D),z=I[0],F=I[1],R=M.length,A=new Uint8Array(R>>2);let B;if(M.length<2e7)for(var q=0;q<R;q+=4)B=T(z,K=M[q]*(1/255),$=M[q+1]*(1/255),Y=M[q+2]*(1/255),G=M[q+3]*(1/255)),A[q>>2]=B.ind,U[q>>2]=B.est.rgba;else for(q=0;q<R;q+=4){var K=M[q]*.00392156862745098,$=M[q+1]*(1/255),Y=M[q+2]*(1/255),G=M[q+3]*(1/255);for(B=z;B.left;)B=x(B.est,K,$,Y,G)<=0?B.left:B.right;A[q>>2]=B.ind,U[q>>2]=B.est.rgba}return{abuf:P.buffer,inds:A,plte:F}}function E(C,D,M){M==null&&(M=1e-4);const P=new Uint32Array(C.buffer),U={i0:0,i1:C.length,bst:null,est:null,tdst:0,left:null,right:null};U.bst=k(C,U.i0,U.i1),U.est=L(U.bst);const I=[U];for(;I.length<D;){let F=0,R=0;for(var z=0;z<I.length;z++)I[z].est.L>F&&(F=I[z].est.L,R=z);if(F<M)break;const A=I[R],B=_(C,P,A.i0,A.i1,A.est.e,A.est.eMq255);if(A.i0>=B||A.i1<=B){A.est.L=0;continue}const q={i0:A.i0,i1:B,bst:null,est:null,tdst:0,left:null,right:null};q.bst=k(C,q.i0,q.i1),q.est=L(q.bst);const K={i0:B,i1:A.i1,bst:null,est:null,tdst:0,left:null,right:null};for(K.bst={R:[],m:[],N:A.bst.N-q.bst.N},z=0;z<16;z++)K.bst.R[z]=A.bst.R[z]-q.bst.R[z];for(z=0;z<4;z++)K.bst.m[z]=A.bst.m[z]-q.bst.m[z];K.est=L(K.bst),A.left=q,A.right=K,I[R]=q,I.push(K)}for(I.sort(((F,R)=>R.bst.N-F.bst.N)),z=0;z<I.length;z++)I[z].ind=z;return[U,I]}function T(C,D,M,P,U){if(C.left==null)return C.tdst=(function(q,K,$,Y,G){const W=K-q[0],X=$-q[1],Q=Y-q[2],ae=G-q[3];return W*W+X*X+Q*Q+ae*ae})(C.est.q,D,M,P,U),C;const I=x(C.est,D,M,P,U);let z=C.left,F=C.right;I>0&&(z=C.right,F=C.left);const R=T(z,D,M,P,U);if(R.tdst<=I*I)return R;const A=T(F,D,M,P,U);return A.tdst<R.tdst?A:R}function x(C,D,M,P,U){const{e:I}=C;
26return I[0]*D+I[1]*M+I[2]*P+I[3]*U-C.eMq}function _(C,D,M,P,U,I){for(P-=4;M<P;){for(;O(C,M,U)<=I;)M+=4;for(;O(C,P,U)>I;)P-=4;if(M>=P)break;const z=D[M>>2];D[M>>2]=D[P>>2],D[P>>2]=z,M+=4,P-=4}for(;O(C,M,U)>I;)M-=4;return M+4}function O(C,D,M){return C[D]*M[0]+C[D+1]*M[1]+C[D+2]*M[2]+C[D+3]*M[3]}function k(C,D,M){const P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],U=[0,0,0,0],I=M-D>>2;for(let z=D;z<M;z+=4){const F=C[z]*.00392156862745098,R=C[z+1]*(1/255),A=C[z+2]*(1/255),B=C[z+3]*(1/255);U[0]+=F,U[1]+=R,U[2]+=A,U[3]+=B,P[0]+=F*F,P[1]+=F*R,P[2]+=F*A,P[3]+=F*B,P[5]+=R*R,P[6]+=R*A,P[7]+=R*B,P[10]+=A*A,P[11]+=A*B,P[15]+=B*B}return P[4]=P[1],P[8]=P[2],P[9]=P[6],P[12]=P[3],P[13]=P[7],P[14]=P[11],{R:P,m:U,N:I}}function L(C){const{R:D}=C,{m:M}=C,{N:P}=C,U=M[0],I=M[1],z=M[2],F=M[3],R=P==0?0:1/P,A=[D[0]-U*U*R,D[1]-U*I*R,D[2]-U*z*R,D[3]-U*F*R,D[4]-I*U*R,D[5]-I*I*R,D[6]-I*z*R,D[7]-I*F*R,D[8]-z*U*R,D[9]-z*I*R,D[10]-z*z*R,D[11]-z*F*R,D[12]-F*U*R,D[13]-F*I*R,D[14]-F*z*R,D[15]-F*F*R],B=A,q=H;let K=[Math.random(),Math.random(),Math.random(),Math.random()],$=0,Y=0;if(P!=0)for(let W=0;W<16&&(K=q.multVec(B,K),Y=Math.sqrt(q.dot(K,K)),K=q.sml(1/Y,K),!(W!=0&&Math.abs(Y-$)<1e-9));W++)$=Y;const G=[U*R,I*R,z*R,F*R];return{Cov:A,q:G,e:K,L:$,eMq255:q.dot(q.sml(255,G),K),eMq:q.dot(K,G),rgba:(Math.round(255*G[3])<<24|Math.round(255*G[2])<<16|Math.round(255*G[1])<<8|Math.round(255*G[0])<<0)>>>0}}var H={multVec:(C,D)=>[C[0]*D[0]+C[1]*D[1]+C[2]*D[2]+C[3]*D[3],C[4]*D[0]+C[5]*D[1]+C[6]*D[2]+C[7]*D[3],C[8]*D[0]+C[9]*D[1]+C[10]*D[2]+C[11]*D[3],C[12]*D[0]+C[13]*D[1]+C[14]*D[2]+C[15]*D[3]],dot:(C,D)=>C[0]*D[0]+C[1]*D[1]+C[2]*D[2]+C[3]*D[3],sml:(C,D)=>[C*D[0],C*D[1],C*D[2],C*D[3]]};la.encode=function(D,M,P,U,I,z,F){U==null&&(U=0),F==null&&(F=!1);const R=p(D,M,P,U,[!1,!1,!1,0,F,!1]);return d(R,-1),f(R,M,P,I,z)},la.encodeLL=function(D,M,P,U,I,z,F,R){const A={ctype:0+(U==1?0:2)+(I==0?0:4),depth:z,frames:[]},B=(U+I)*z,q=B*M;for(let K=0;K<D.length;K++)A.frames.push({rect:{x:0,y:0,width:M,height:P},img:new Uint8Array(D[K]),blend:0,dispose:1,bpp:Math.ceil(B/8),bpl:Math.ceil(q/8)});return d(A,0,!0),f(A,M,P,F,R)},la.encode.compress=p,la.encode.dither=c,la.quantize=w,la.quantize.getKDtree=E,la.quantize.getNearest=T})();const _R={toArrayBuffer(t,e){const r=t.width,n=t.height,i=r<<2,o=t.getContext("2d").getImageData(0,0,r,n),u=new Uint32Array(o.data.buffer),c=(32*r+31)/32<<2,f=c*n,d=122+f,p=new ArrayBuffer(d),m=new DataView(p),g=1<<20;let y,v,w,E,T=g,x=0,_=0,O=0;function k(C){m.setUint16(_,C,!0),_+=2}function L(C){m.setUint32(_,C,!0),_+=4}function H(C){_+=C}k(19778),L(d),H(4),L(122),L(108),L(r),L(-n>>>0),k(1),k(32),L(3),L(f),L(2835),L(2835),H(8),L(16711680),L(65280),L(255),L(4278190080),L(1466527264),(function C(){for(;x<n&&T>0;){for(E=122+x*c,y=0;y<i;)T--,v=u[O++],w=v>>>24,m.setUint32(E+y,v<<8|w),y+=4;x++}O<u.length?(T=g,setTimeout(C,_R._dly)):e(p)})()},toBlob(t,e){this.toArrayBuffer(t,(r=>{e(new Blob([r],{type:"image/bmp"}))}))},_dly:9};var pn={CHROME:"CHROME",FIREFOX:"FIREFOX",DESKTOP_SAFARI:"DESKTOP_SAFARI",IE:"IE",IOS:"IOS",ETC:"ETC"},f6={[pn.CHROME]:16384,[pn.FIREFOX]:11180,[pn.DESKTOP_SAFARI]:16384,[pn.IE]:8192,[pn.IOS]:4096,[pn.ETC]:8192};const zy=typeof window<"u",TR=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,vf=zy&&window.cordova&&window.cordova.require&&window.cordova.require("cordova/modulemapper"),h6=(zy||TR)&&(vf&&vf.getOriginalSymbol(window,"File")||typeof File<"u"&&File),CR=(zy||TR)&&(vf&&vf.getOriginalSymbol(window,"FileReader")||typeof FileReader<"u"&&FileReader);function jy(t,e,r=Date.now()){return new Promise((n=>{const i=t.split(","),o=i[0].match(/:(.*?);/)[1],u=globalThis.atob(i[1]);let c=u.length;const f=new Uint8Array(c);for(;c--;)f[c]=u.charCodeAt(c);const d=new Blob([f],{type:o});d.name=e,d.lastModified=r,n(d)}))}function RR(t){return new Promise(((e,r)=>{const n=new CR;n.onload=()=>e(n.result),n.onerror=i=>r(i),n.readAsDataURL(t)}))}function AR(t){return new Promise(((e,r)=>{const n=new Image;n.onload=()=>e(n),n.onerror=i=>r(i),n.src=t}))}function Ps(){if(Ps.cachedResult!==void 0)return Ps.cachedResult;let t=pn.ETC;const{userAgent:e}=navigator;return/Chrom(e|ium)/i.test(e)?t=pn.CHROME:/iP(ad|od|hone)/i.test(e)&&/WebKit/i.test(e)?t=pn.IOS:/Safari/i.test(e)?t=pn.DESKTOP_SAFARI:/Firefox/i.test(e)?t=pn.FIREFOX:(/MSIE/i.test(e)||document.documentMode)&&(t=pn.IE),Ps.cachedResult=t,Ps.cachedResult}function OR(t,e){const r=Ps(),n=f6[r];let i=t,o=e,u=i*o;const c=i>o?o/i:i/o;for(;u>n*n;){const f=(n+i)/2,d=(n+o)/2;f<d?(o=d,i=d*c):(o=f*c,i=f),u=i*o}return{width:i,height:o}}function Wf(t,e){let r,n;try{if(r=new OffscreenCanvas(t,e),n=r.getContext("2d"),n===null)throw new Error("getContext of OffscreenCanvas returns null")}catch{r=document.createElement("canvas"),n=r.getContext("2d")}return r.width=t,r.height=e,[r,n]}function MR(t,e){const{width:r,height:n}=OR(t.width,t.height),[i,o]=Wf(r,n);return e&&/jpe?g/.test(e)&&(o.fillStyle="white",o.fillRect(0,0,i.width,i.height)),o.drawImage(t,0,0,i.width,i.height),i}function Kd(){return Kd.cachedResult!==void 0||(Kd.cachedResult=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&typeof document<"u"&&"ontouchend"in document),Kd.cachedResult}function yf(t,e={}){return new Promise((function(r,n){let i,o;var u=function(){try{return o=MR(i,e.fileType||t.type),r([i,o])}catch(f){return n(f)}},c=function(f){try{var d=function(p){try{throw p}catch(m){return n(m)}};try{let p;return RR(t).then((function(m){try{return p=m,AR(p).then((function(g){try{return i=g,(function(){try{return u()}catch(y){return n(y)}})()}catch(y){return d(y)}}),d)}catch(g){return d(g)}}),d)}catch(p){d(p)}}catch(p){return n(p)}};try{if(Kd()||[pn.DESKTOP_SAFARI,pn.MOBILE_SAFARI].includes(Ps())
26)throw new Error("Skip createImageBitmap on IOS and Safari");return createImageBitmap(t).then((function(f){try{return i=f,u()}catch{return c()}}),c)}catch{c()}}))}function bf(t,e,r,n,i=1){return new Promise((function(o,u){let c;if(e==="image/png"){let d,p,m;return d=t.getContext("2d"),{data:p}=d.getImageData(0,0,t.width,t.height),m=la.encode([p.buffer],t.width,t.height,4096*i),c=new Blob([m],{type:e}),c.name=r,c.lastModified=n,f.call(this)}{let d=function(){return f.call(this)};if(e==="image/bmp")return new Promise((p=>_R.toBlob(t,p))).then((function(p){try{return c=p,c.name=r,c.lastModified=n,d.call(this)}catch(m){return u(m)}}).bind(this),u);{let p=function(){return d.call(this)};if(typeof OffscreenCanvas=="function"&&t instanceof OffscreenCanvas)return t.convertToBlob({type:e,quality:i}).then((function(m){try{return c=m,c.name=r,c.lastModified=n,p.call(this)}catch(g){return u(g)}}).bind(this),u);{let m;return m=t.toDataURL(e,i),jy(m,r,n).then((function(g){try{return c=g,p.call(this)}catch(y){return u(y)}}).bind(this),u)}}}function f(){return o(c)}}))}function Ra(t){t.width=0,t.height=0}function Yo(){return new Promise((function(t,e){let r,n,i,o;return Yo.cachedResult!==void 0?t(Yo.cachedResult):jy("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==","test.jpg",Date.now()).then((function(u){try{return r=u,yf(r).then((function(c){try{return n=c[1],bf(n,r.type,r.name,r.lastModified).then((function(f){try{return i=f,Ra(n),yf(i).then((function(d){try{return o=d[0],Yo.cachedResult=o.width===1&&o.height===2,t(Yo.cachedResult)}catch(p){return e(p)}}),e)}catch(d){return e(d)}}),e)}catch(f){return e(f)}}),e)}catch(c){return e(c)}}),e)}))}function DR(t){return new Promise(((e,r)=>{const n=new CR;n.onload=i=>{const o=new DataView(i.target.result);if(o.getUint16(0,!1)!=65496)return e(-2);const u=o.byteLength;let c=2;for(;c<u;){if(o.getUint16(c+2,!1)<=8)return e(-1);const f=o.getUint16(c,!1);if(c+=2,f==65505){if(o.getUint32(c+=2,!1)!=1165519206)return e(-1);const d=o.getUint16(c+=6,!1)==18761;c+=o.getUint32(c+4,d);const p=o.getUint16(c,d);c+=2;for(let m=0;m<p;m++)if(o.getUint16(c+12*m,d)==274)return e(o.getUint16(c+12*m+8,d))}else{if((65280&f)!=65280)break;c+=o.getUint16(c,!1)}}return e(-1)},n.onerror=i=>r(i),n.readAsArrayBuffer(t)}))}function kR(t,e){const{width:r}=t,{height:n}=t,{maxWidthOrHeight:i}=e;let o,u=t;return isFinite(i)&&(r>i||n>i)&&([u,o]=Wf(r,n),r>n?(u.width=i,u.height=n/r*i):(u.width=r/n*i,u.height=i),o.drawImage(t,0,0,u.width,u.height),Ra(t)),u}function LR(t,e){const{width:r}=t,{height:n}=t,[i,o]=Wf(r,n);switch(e>4&&e<9?(i.width=n,i.height=r):(i.width=r,i.height=n),e){case 2:o.transform(-1,0,0,1,r,0);break;case 3:o.transform(-1,0,0,-1,r,n);break;case 4:o.transform(1,0,0,-1,0,n);break;case 5:o.transform(0,1,1,0,0,0);break;case 6:o.transform(0,1,-1,0,n,0);break;case 7:o.transform(0,-1,-1,0,n,r);break;case 8:o.transform(0,-1,1,0,0,r)}return o.drawImage(t,0,0,r,n),Ra(t),i}function zx(t,e,r=0){return new Promise((function(n,i){let o,u,c,f,d,p,m,g,y,v,w,E,T,x,_,O,k,L,H,C;function D(P=5){if(e.signal&&e.signal.aborted)throw e.signal.reason;o+=P,e.onProgress(Math.min(o,100))}function M(P){if(e.signal&&e.signal.aborted)throw e.signal.reason;o=Math.min(Math.max(P,o),100),e.onProgress(o)}return o=r,u=e.maxIteration||10,c=1024*e.maxSizeMB*1024,D(),yf(t,e).then((function(P){try{return[,f]=P,D(),d=kR(f,e),D(),new Promise((function(U,I){var z;if(!(z=e.exifOrientation))return DR(t).then((function(R){try{return z=R,F.call(this)}catch(A){return I(A)}}).bind(this),I);function F(){return U(z)}return F.call(this)})).then((function(U){try{return p=U,D(),Yo().then((function(I){try{return m=I?d:LR(d,p),D(),g=e.initialQuality||1,y=e.fileType||t.type,bf(m,y,t.name,t.lastModified,g).then((function(z){try{{let R=function(){if(u--&&(_>c||_>T)){let B,q;return B=C?.95*H.width:H.width,q=C?.95*H.height:H.height,[k,L]=Wf(B,q),L.drawImage(H,0,0,B,q),g*=y==="image/png"?.85:.95,bf(k,y,t.name,t.lastModified,g).then((function(K){try{return O=K,Ra(H),H=k,_=O.size,M(Math.min(99,Math.floor((x-_)/(x-c)*100))),R}catch($){return i($)}}),i)}return[1]},A=function(){return Ra(H),Ra(k),Ra(d),Ra(m),Ra(f),M(100),n(O)};if(v=z,D(),w=v.size>c,E=v.size>t.size,!w&&!E)return M(100),n(v);var F;return T=t.size,x=v.size,_=x,H=m,C=!e.alwaysKeepResolution&&w,(F=(function(B){for(;B;){if(B.then)return void B.then(F,i);try{if(B.pop){if(B.length)return B.pop()?A.call(this):B;B=R}else B=B.call(this)}catch(q){return i(q)}}}).bind(this))(R)}}catch(R){return i(R)}}).bind(this),i)}catch(z){return i(z)}}).bind(this),i)}catch(I){return i(I)}}).bind(this),i)}catch(U){return i(U)}}).bind(this),i)}))}const p6=` 27let scriptImported = false 28self.addEventListener('message', async (e) => { 29 const { file, id, imageCompressionLibUrl, options } = e.data 30 options.onProgress = (progress) => self.postMessage({ progress, id }) 31 try { 32 if (!scriptImported) {
33 // console.log('[worker] importScripts', imageCompressionLibUrl) 34 self.importScripts(imageCompressionLibUrl) 35 scriptImported = true 36 } 37 // console.log('[worker] self', self) 38 const compressedFile = await imageCompression(file, options) 39 self.postMessage({ file: compressedFile, id }) 40 } catch (e) { 41 // console.error('[worker] error', e) 42 self.postMessage({ error: e.message + '\\n' + e.stack, id }) 43 } 44}) 45`;let dg;function m6(t,e){return new Promise(((r,n)=>{dg||(dg=(function(u){const c=[];return c.push(u),URL.createObjectURL(new Blob(c))})(p6));const i=new Worker(dg);i.addEventListener("message",(function(u){if(e.signal&&e.signal.aborted)i.terminate();else if(u.data.progress===void 0){if(u.data.error)return n(new Error(u.data.error)),void i.terminate();r(u.data.file),i.terminate()}else e.onProgress(u.data.progress)})),i.addEventListener("error",n),e.signal&&e.signal.addEventListener("abort",(()=>{n(e.signal.reason),i.terminate()})),i.postMessage({file:t,imageCompressionLibUrl:e.libURL,options:{...e,onProgress:void 0,signal:void 0}})}))}function qr(t,e){return new Promise((function(r,n){let i,o,u,c,f,d;if(i={...e},u=0,{onProgress:c}=i,i.maxSizeMB=i.maxSizeMB||Number.POSITIVE_INFINITY,f=typeof i.useWebWorker!="boolean"||i.useWebWorker,delete i.useWebWorker,i.onProgress=y=>{u=y,typeof c=="function"&&c(u)},!(t instanceof Blob||t instanceof h6))return n(new Error("The file given is not an instance of Blob or File"));if(!/^image/.test(t.type))return n(new Error("The file given is not an image"));if(d=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,!f||typeof Worker!="function"||d)return zx(t,i).then((function(y){try{return o=y,g.call(this)}catch(v){return n(v)}}).bind(this),n);var p=(function(){try{return g.call(this)}catch(y){return n(y)}}).bind(this),m=function(y){try{return zx(t,i).then((function(v){try{return o=v,p()}catch(w){return n(w)}}),n)}catch(v){return n(v)}};try{return i.libURL=i.libURL||"https://cdn.jsdelivr.net/npm/[email protected]/dist/browser-image-compression.js",m6(t,i).then((function(y){try{return o=y,p()}catch{return m()}}),m)}catch{m()}function g(){try{o.name=t.name,o.lastModified=t.lastModified}catch{}try{i.preserveExif&&t.type==="image/jpeg"&&(!i.fileType||i.fileType&&i.fileType===t.type)&&(o=xR(t,o))}catch{}return r(o)}}))}qr.getDataUrlFromFile=RR,qr.getFilefromDataUrl=jy,qr.loadImage=AR,qr.drawImageInCanvas=MR,qr.drawFileInCanvas=yf,qr.canvasToFile=bf,qr.getExifOrientation=DR,qr.handleMaxWidthOrHeight=kR,qr.followExifOrientation=LR,qr.cleanupCanvasMemory=Ra,qr.isAutoOrientationInBrowser=Yo,qr.approximateBelowMaximumCanvasSizeOfBrowser=OR,qr.copyExifWithoutOrientation=xR,qr.getBrowserName=Ps,qr.version="2.0.2";var NR;function xe(){return NR.apply(null,arguments)}function g6(t){NR=t}function ha(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Us(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Ct(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Iy(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(Ct(t,e))return!1;return!0}function fn(t){return t===void 0}function vi(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function sc(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function PR(t,e){var r=[],n,i=t.length;for(n=0;n<i;++n)r.push(e(t[n],n));return r}function ns(t,e){for(var r in e)Ct(e,r)&&(t[r]=e[r]);return Ct(e,"toString")&&(t.toString=e.toString),Ct(e,"valueOf")&&(t.valueOf=e.valueOf),t}function za(t,e,r,n){return aA(t,e,r,n,!0).utc()}function v6(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function et(t){return t._pf==null&&(t._pf=v6()),t._pf}var Mv;Array.prototype.some?Mv=Array.prototype.some:Mv=function(t){var e=Object(this),r=e.length>>>0,n;for(n=0;n<r;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};function Uy(t){var e=null,r=!1,n=t._d&&!isNaN(t._d.getTime());if(n&&(e=et(t),r=Mv.call(e.parsedDateParts,function(i){return i!=null}),n=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r),t._strict&&(n=n&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=n;else return n;return t._isValid}function Kf(t){var e=za(NaN);return t!=null?ns(et(e),t):et(e).userInvalidated=!0,e}var jx=xe.momentProperties=[],fg=!1;function $y(t,e){var r,n,i,o=jx.length;if(fn(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),fn(e._i)||(t._i=e._i),fn(e._f)||(t._f=e._f),fn(e._l)||(t._l=e._l),fn(e._strict)||(t._strict=e._strict),fn(e._tzm)||(t._tzm=e._tzm),fn(e._isUTC)||(t._isUTC=e._isUTC),fn(e._offset)||(t._offset=e._offset),fn(e._pf)||(t._pf=et(e)),fn(e._locale)||(t._locale=e._locale),o>0)for(r=0;r<o;r++)n=jx[r],i=e[n],fn(i)||(t[n]=i);return t}function oc(t){$y(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),fg===!1&&(fg=!0,xe.updateOffset(this),fg=!1)}function pa(t){return t instanceof oc||t!=null&&t._isAMomentObject!=null}function zR(t){xe.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Jn(t,e){var r=!0;return ns(function(){if(xe.deprecationHandler!=null&&xe.deprecationHandler(null,t),r){var n=[],i,o,u,c=arguments.length;for(o=0;o<c;o++){if(i="",typeof arguments[o]=="object"){i+=` 46[`+o+"] ";for(u in arguments[0])Ct(arguments[0],u)&&(i+=u+": "+arguments[0][u]+", ");i=i.slice(0,-2)}else i=arguments[o];n.push(i)}zR(t+` 47Arguments: `+Array.prototype.slice.call(n).join("")+` 48`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Ix={};function jR(t,e){xe.deprecationHandler!=null&&xe.deprecationHandler(t,e),Ix[t]||(zR(e),Ix[t]=!0)}xe.suppressDeprecationWarnings=!1;xe.deprecationHandler=null;function ja(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function y6(t){var e,r;for(r in t)Ct(t,r)&&(e=t[r],ja(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Dv(t,e){var r=ns({},t),n;for(n in e)Ct(e,n)&&(Us(t[n])&&Us(e[n])?(r[n]={},ns(r[n],t[n]),ns(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)Ct(t,n)&&!Ct(e,n)&&Us(t[n])&&(r[n]=ns({},r[n]));return r}function Hy(t){t!=null&&this.set(t)}var kv;Object.keys?kv=Object.keys:kv=function(t){var e,r=[];for(e in t)Ct(t,e)&&r.push(e);return r};var b6={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function w6(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return ja(n)?n.call(e,r):n}function La(t,e,r){var n=""+Math.abs(t),i=e-n.length,o=t>=0;return(o?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var By=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
vendor: 30,281 bytes, line 48
48|x|X|zz?|ZZ?|.)/g,kd=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,hg={},Wo={};function Ie(t,e,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),t&&(Wo[t]=i),e&&(Wo[e[0]]=function(){return La(i.apply(this,arguments),e[1],e[2])}),r&&(Wo[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function S6(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function E6(t){var e=t.match(By),r,n;for(r=0,n=e.length;r<n;r++)Wo[e[r]]?e[r]=Wo[e[r]]:e[r]=S6(e[r]);return function(i){var o="",u;for(u=0;u<n;u++)o+=ja(e[u])?e[u].call(i,t):e[u];return o}}function Qd(t,e){return t.isValid()?(e=IR(e,t.localeData()),hg[e]=hg[e]||E6(e),hg[e](t)):t.localeData().invalidDate()}function IR(t,e){var r=5;function n(i){return e.longDateFormat(i)||i}for(kd.lastIndex=0;r>=0&&kd.test(t);)t=t.replace(kd,n),kd.lastIndex=0,r-=1;return t}var x6={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function _6(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(By).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var T6="Invalid date";function C6(){return this._invalidDate}var R6="%d",A6=/\d{1,2}/;function O6(t){return this._ordinal.replace("%d",t)}var M6={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function D6(t,e,r,n){var i=this._relativeTime[r];return ja(i)?i(t,e,r,n):i.replace(/%d/i,t)}function k6(t,e){var r=this._relativeTime[t>0?"future":"past"];return ja(r)?r(e):r.replace(/%s/i,e)}var Ux={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ea(t){return typeof t=="string"?Ux[t]||Ux[t.toLowerCase()]:void 0}function Fy(t){var e={},r,n;for(n in t)Ct(t,n)&&(r=ea(n),r&&(e[r]=t[n]));return e}var L6={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function N6(t){var e=[],r;for(r in t)Ct(t,r)&&e.push({unit:r,priority:L6[r]});return e.sort(function(n,i){return n.priority-i.priority}),e}var UR=/\d/,Nn=/\d\d/,$R=/\d{3}/,qy=/\d{4}/,Qf=/[+-]?\d{6}/,er=/\d\d?/,HR=/\d\d\d\d?/,BR=/\d\d\d\d\d\d?/,Zf=/\d{1,3}/,Yy=/\d{1,4}/,Jf=/[+-]?\d{1,6}/,hl=/\d+/,eh=/[+-]?\d+/,P6=/Z|[+-]\d\d:?\d\d/gi,th=/Z|[+-]\d\d(?::?\d\d)?/gi,z6=/[+-]?\d+(\.\d{1,3})?/,lc=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,pl=/^[1-9]\d?/,Vy=/^([1-9]\d|\d)/,wf;wf={};function Ae(t,e,r){wf[t]=ja(e)?e:function(n,i){return n&&r?r:e}}function j6(t,e){return Ct(wf,t)?wf[t](e._strict,e._locale):new RegExp(I6(t))}function I6(t){return pi(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,i,o){return r||n||i||o}))}function pi(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Xn(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function dt(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Xn(e)),r}var Lv={};function qt(t,e){var r,n=e,i;for(typeof t=="string"&&(t=[t]),vi(e)&&(n=function(o,u){u[e]=dt(o)}),i=t.length,r=0;r<i;r++)Lv[t[r]]=n}function uc(t,e){qt(t,function(r,n,i,o){i._w=i._w||{},e(r,i._w,i,o)})}function U6(t,e,r){e!=null&&Ct(Lv,t)&&Lv[t](e,r._a,r,t)}function rh(t){return t%4===0&&t%100!==0||t%400===0}var Vr=0,di=1,Aa=2,Ar=3,da=4,fi=5,zs=6,$6=7,H6=8;Ie("Y",0,0,function(){var t=this.year();return t<=9999?La(t,4):"+"+t});Ie(0,["YY",2],0,function(){return this.year()%100});Ie(0,["YYYY",4],0,"year");Ie(0,["YYYYY",5],0,"year");Ie(0,["YYYYYY",6,!0],0,"year");Ae("Y",eh);Ae("YY",er,Nn);Ae("YYYY",Yy,qy);Ae("YYYYY",Jf,Qf);Ae("YYYYYY",Jf,Qf);qt(["YYYYY","YYYYYY"],Vr);qt("YYYY",function(t,e){e[Vr]=t.length===2?xe.parseTwoDigitYear(t):dt(t)});qt("YY",function(t,e){e[Vr]=xe.parseTwoDigitYear(t)});qt("Y",function(t,e){e[Vr]=parseInt(t,10)});function Du(t){return rh(t)?366:365}xe.parseTwoDigitYear=function(t){return dt(t)+(dt(t)>68?1900:2e3)};var FR=ml("FullYear",!0);function B6(){return rh(this.year())}function ml(t,e){return function(r){return r!=null?(qR(this,t,r),xe.updateOffset(this,e),this):$u(this,t)}}function $u(t,e){if(!t.isValid())return NaN;var r=t._d,n=t._isUTC;switch(e){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function qR(t,e,r){var n,i,o,u,c;if(!(!t.isValid()||isNaN(r))){switch(n=t._d,i=t._isUTC,e){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}o=r,u=t.month(),c=t.date(),c=c===29&&u===1&&!rh(o)?28:c,i?n.setUTCFullYear(o,u,c):n.setFullYear(o,u,c)}}function F6(t){return t=ea(t),ja(this[t])?this[t]():this}function q6(t,e){if(typeof t=="object"){t=Fy(t);var r=N6(t),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](t[r[n].unit])}else if(t=ea(t),ja(this[t]))return this[t](e);return this}function Y6(t,e){return(t%e+e)%e}var br;Array.prototype.indexOf?br=Array.prototype.indexOf:br=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function Gy(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=Y6(e,12);return t+=(e-r)/12,r===1?rh(t)?29:28:31-r%7%2}Ie("M",["MM",2],"Mo",function(){return this.month()+1});Ie("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});Ie("MMMM",0,0,function(t){return this.localeData().months(this,t)});Ae("M",er,pl);Ae("MM",er,Nn);Ae("MMM",function(t,e){return e.monthsShortRegex(t)});Ae("MMMM",function(t,e){return e.monthsRegex(t)});qt(["M","MM"],function(t,e){e[di]=dt(t)-1});qt(["MMM","MMMM"],function(t,e,r,n){var i=r._locale.monthsParse(t,n,r._strict);i!=null?e[di]=i:et(r).invalidMonth=t});var V6="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),YR="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),VR=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,G6=lc,X6=lc;function W6(t,e){return t?ha(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||VR).test(e)?"format":"standalone"][t.month()]:ha(this._months)?this._months:this._months.standalone}function K6(t,e){return t?ha(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[VR.test(e)?"format":"standalone"][t.month()]:ha(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Q6(t,e,r){var n,i,o,u=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=za([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?e==="MMM"?(i=br.call(this._shortMonthsParse,u),i!==-1?i:null):(i=br.call(this._longMonthsParse,u),i!==-1?i:null):e==="MMM"?(i=br.call(this._shortMonthsParse,u),i!==-1?i:(i=br.call(this._longMonthsParse,u),i!==-1?i:null)):(i=br.call(this._longMonthsParse,u),i!==-1?i:(i=br.call(this._shortMonthsParse,u),i!==-1?i:null))}function Z6(t,e,r){var n,i,o;if(this._monthsParseExact)return Q6.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=za([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[n].test(t))return n;if(r&&e==="MMM"&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function GR(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=dt(e);else if(e=t.localeData().monthsParse(e),!vi(e))return t}var r=e,n=t.date();return n=n<29?n:Math.min(n,Gy(t.year(),r)),t._isUTC?t._d.setUTCMonth(r,n):t._d.setMonth(r,n),t}function XR(t){return t!=null?(GR(this,t),xe.updateOffset(this,!0),this):$u(this,"Month")}function J6(){return Gy(this.year(),this.month())}function e8(t){return this._monthsParseExact?(Ct(this,"_monthsRegex")||WR.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Ct(this,"_monthsShortRegex")||(this._monthsShortRegex=G6),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function t8(t){return this._monthsParseExact?(Ct(this,"_monthsRegex")||WR.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Ct(this,"_monthsRegex")||(this._monthsRegex=X6),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function WR(){function t(f,d){return d.length-f.length}var e=[],r=[],n=[],i,o,u,c;for(i=0;i<12;i++)o=za([2e3,i]),u=pi(this.monthsShort(o,"")),c=pi(this.months(o,"")),e.push(u),r.push(c),n.push(c),n.push(u);e.sort(t),r.sort(t),n.sort(t),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function r8(t,e,r,n,i,o,u){var c;return t<100&&t>=0?(c=new Date(t+400,e,r,n,i,o,u),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,e,r,n,i,o,u),c}function Hu(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Sf(t,e,r){var n=7+e-r,i=(7+Hu(t,0,n).getUTCDay()-e)%7;return-i+n-1}function KR(t,e,r,n,i){var o=(7+r-n)%7,u=Sf(t,n,i),c=1+7*(e-1)+o+u,f,d;return c<=0?(f=t-1,d=Du(f)+c):c>Du(t)?(f=t+1,d=c-Du(t)):(f=t,d=c),{year:f,dayOfYear:d}}function Bu(t,e,r){var n=Sf(t.year(),e,r),i=Math.floor((t.dayOfYear()-n-1)/7)+1,o,u;return i<1?(u=t.year()-1,o=i+mi(u,e,r)):i>mi(t.year(),e,r)?(o=i-mi(t.year(),e,r),u=t.year()+1):(u=t.year(),o=i),{week:o,year:u}}function mi(t,e,r){var n=Sf(t,e,r),i=Sf(t+1,e,r);return(Du(t)-n+i)/7}Ie("w",["ww",2],"wo","week");Ie("W",["WW",2],"Wo","isoWeek");Ae("w",er,pl);Ae("ww",er,Nn);Ae("W",er,pl);Ae("WW",er,Nn);uc(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=dt(t)});function n8(t){return Bu(t,this._week.dow,this._week.doy).week}var a8={dow:0,doy:6};function i8(){return this._week.dow}function s8(){return this._week.doy}function o8(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function l8(t){var e=Bu(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}Ie("d",0,"do","day");Ie("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});Ie("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});Ie("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});Ie("e",0,0,"weekday");Ie("E",0,0,"isoWeekday");Ae("d",er);Ae("e",er);Ae("E",er);Ae("dd",function(t,e){return e.weekdaysMinRegex(t)});Ae("ddd",function(t,e){return e.weekdaysShortRegex(t)});Ae("dddd",function(t,e){return e.weekdaysRegex(t)});uc(["dd","ddd","dddd"],function(t,e,r,n){var i=r._locale.weekdaysParse(t,n,r._strict);i!=null?e.d=i:et(r).invalidWeekday=t});uc(["d","e","E"],function(t,e,r,n){e[n]=dt(t)});function u8(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function c8(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Xy(t,e){return t.slice(e,7).concat(t.slice(0,e))}var d8="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),QR="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),f8="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),h8=lc,p8=lc,m8=lc;function g8(t,e){var r=ha(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Xy(r,this._week.dow):t?r[t.day()]:r}function v8(t){return t===!0?Xy(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function y8(t){return t===!0?Xy(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function b8(t,e,r){var n,i,o,u=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=za([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?e==="dddd"?(i=br.call(this._weekdaysParse,u),i!==-1?i:null):e==="ddd"?(i=br.call(this._shortWeekdaysParse,u),i!==-1?i:null):(i=br.call(this._minWeekdaysParse,u),i!==-1?i:null):e==="dddd"?(i=br.call(this._weekdaysParse,u),i!==-1||(i=br.call(this._shortWeekdaysParse,u),i!==-1)?i:(i=br.call(this._minWeekdaysParse,u),i!==-1?i:null)):e==="ddd"?(i=br.call(this._shortWeekdaysParse,u),i!==-1||(i=br.call(this._weekdaysParse,u),i!==-1)?i:(i=br.call(this._minWeekdaysParse,u),i!==-1?i:null)):(i=br.call(this._minWeekdaysParse,u),i!==-1||(i=br.call(this._weekdaysParse,u),i!==-1)?i:(i=br.call(this._shortWeekdaysParse,u),i!==-1?i:null))}function w8(t,e,r){var n,i,o;if(this._weekdaysParseExact)return b8.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=za([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[n].test(t))return n;if(r&&e==="ddd"&&this._shortWeekdaysParse[n].test(t))return n;if(r&&e==="dd"&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function S8(t){if(!this.isValid())return t!=null?this:NaN;var e=$u(this,"Day");return t!=null?(t=u8(t,this.localeData()),this.add(t-e,"d")):e}function E8(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function x8(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=c8(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function _8(t){return this._weekdaysParseExact?(Ct(this,"_weekdaysRegex")||Wy.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Ct(this,"_weekdaysRegex")||(this._weekdaysRegex=h8),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function T8(t){return this._weekdaysParseExact?(Ct(this,"_weekdaysRegex")||Wy.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ct(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=p8),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function C8(t){return this._weekdaysParseExact?(Ct(this,"_weekdaysRegex")||Wy.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ct(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=m8),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Wy(){function t(p,m){return m.length-p.length}var e=[],r=[],n=[],i=[],o,u,c,f,d;for(o=0;o<7;o++)u=za([2e3,1]).day(o),c=pi(this.weekdaysMin(u,"")),f=pi(this.weekdaysShort(u,"")),d=pi(this.weekdays(u,"")),e.push(c),r.push(f),n.push(d),i.push(c),i.push(f),i.push(d);e.sort(t),r.sort(t),n.sort(t),i.sort(t),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Ky(){return this.hours()%12||12}function R8(){return this.hours()||24}Ie("H",["HH",2],0,"hour");Ie("h",["hh",2],0,Ky);Ie("k",["kk",2],0,R8);Ie("hmm",0,0,function(){return""+Ky.apply(this)+La(this.minutes(),2)});Ie("hmmss",0,0,function(){return""+Ky.apply(this)+La(this.minutes(),2)+La(this.seconds(),2)});Ie("Hmm",0,0,function(){return""+this.hours()+La(this.minutes(),2)});Ie("Hmmss",0,0,function(){return""+this.hours()+La(this.minutes(),2)+La(this.seconds(),2)});function ZR(t,e){Ie(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}ZR("a",!0);ZR("A",!1);function JR(t,e){return e._meridiemParse}Ae("a",JR);Ae("A",JR);Ae("H",er,Vy);Ae("h",er,pl);Ae("k",er,pl);Ae("HH",er,Nn);Ae("hh",er,Nn);Ae("kk",er,Nn);Ae("hmm",HR);Ae("hmmss",BR);Ae("Hmm",HR);Ae("Hmmss",BR);qt(["H","HH"],Ar);qt(["k","kk"],function(t,e,r){var n=dt(t);e[Ar]=n===24?0:n});qt(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t});qt(["h","hh"],function(t,e,r){e[Ar]=dt(t),et(r).bigHour=!0});qt("hmm",function(t,e,r){var n=t.length-2;e[Ar]=dt(t.substr(0,n)),e[da]=dt(t.substr(n)),et(r).bigHour=!0});qt("hmmss",function(t,e,r){var n=t.length-4,i=t.length-2;e[Ar]=dt(t.substr(0,n)),e[da]=dt(t.substr(n,2)),e[fi]=dt(t.substr(i)),et(r).bigHour=!0});qt("Hmm",function(t,e,r){var n=t.length-2;e[Ar]=dt(t.substr(0,n)),e[da]=dt(t.substr(n))});qt("Hmmss",function(t,e,r){var n=t.length-4,i=t.length-2;e[Ar]=dt(t.substr(0,n)),e[da]=dt(t.substr(n,2)),e[fi]=dt(t.substr(i))});function A8(t){return(t+"").toLowerCase().charAt(0)==="p"}var O8=/[ap]\.?m?\.?/i,M8=ml("Hours",!0);function D8(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var eA={calendar:b6,longDateFormat:x6,invalidDate:T6,ordinal:R6,dayOfMonthOrdinalParse:A6,relativeTime:M6,months:V6,monthsShort:YR,week:a8,weekdays:d8,weekdaysMin:f8,weekdaysShort:QR,meridiemParse:O8},nr={},hu={},Fu;function k8(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function $x(t){return t&&t.toLowerCase().replace("_","-")}function L8(t){for(var e=0,r,n,i,o;e<t.length;){for(o=$x(t[e]).split("-"),r=o.length,n=$x(t[e+1]),n=n?n.split("-"):null;r>0;){if(i=nh(o.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&k8(o,n)>=r-1)break;r--}e++}return Fu}function N8(t){return!!(t&&t.match("^[^/\\\\]*$"))}function nh(t){var e=null,r;if(nr[t]===void 0&&typeof module<"u"&&module&&module.exports&&N8(t))try{e=Fu._abbr,r=require,r("./locale/"+t),os(e)}catch{nr[t]=null}return nr[t]}function os(t,e){var r;return t&&(fn(e)?r=Si(t):r=Qy(t,e),r?Fu=r:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Fu._abbr}function Qy(t,e){if(e!==null){var r,n=eA;if(e.abbr=t,nr[t]!=null)jR("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=nr[t]._config;else if(e.parentLocale!=null)if(nr[e.parentLocale]!=null)n=nr[e.parentLocale]._config;else if(r=nh(e.parentLocale),r!=null)n=r._config;else return hu[e.parentLocale]||(hu[e.parentLocale]=[]),hu[e.parentLocale].push({name:t,config:e}),null;return nr[t]=new Hy(Dv(n,e)),hu[t]&&hu[t].forEach(function(i){Qy(i.name,i.config)}),os(t),nr[t]}else return delete nr[t],null}function P8(t,e){if(e!=null){var r,n,i=eA;nr[t]!=null&&nr[t].parentLocale!=null?nr[t].set(Dv(nr[t]._config,e)):(n=nh(t),n!=null&&(i=n._config),e=Dv(i,e),n==null&&(e.abbr=t),r=new Hy(e),r.parentLocale=nr[t],nr[t]=r),os(t)}else nr[t]!=null&&(nr[t].parentLocale!=null?(nr[t]=nr[t].parentLocale,t===os()&&os(t)):nr[t]!=null&&delete nr[t]);return nr[t]}function Si(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Fu;if(!ha(t)){if(e=nh(t),e)return e;t=[t]}return L8(t)}function z8(){return kv(nr)}function Zy(t){var e,r=t._a;return r&&et(t).overflow===-2&&(e=r[di]<0||r[di]>11?di:r[Aa]<1||r[Aa]>Gy(r[Vr],r[di])?Aa:r[Ar]<0||r[Ar]>24||r[Ar]===24&&(r[da]!==0||r[fi]!==0||r[zs]!==0)?Ar:r[da]<0||r[da]>59?da:r[fi]<0||r[fi]>59?fi:r[zs]<0||r[zs]>999?zs:-1,et(t)._overflowDayOfYear&&(e<Vr||e>Aa)&&(e=Aa),et(t)._overflowWeeks&&e===-1&&(e=$6),et(t)._overflowWeekday&&e===-1&&(e=H6),et(t).overflow=e),t}var j8=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,I8=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,U8=/Z|[+-]\d\d(?::?\d\d)?/,Ld=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pg=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$8=/^\/?Date\((-?\d+)/i,H8=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,B8={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function tA(t){var e,r,n=t._i,i=j8.exec(n)||I8.exec(n),o,u,c,f,d=Ld.length,p=pg.length;if(i){for(et(t).iso=!0,e=0,r=d;e<r;e++)if(Ld[e][1].exec(i[1])){u=Ld[e][0],o=Ld[e][2]!==!1;break}if(u==null){t._isValid=!1;return}if(i[3]){for(e=0,r=p;e<r;e++)if(pg[e][1].exec(i[3])){c=(i[2]||" ")+pg[e][0];break}if(c==null){t._isValid=!1;return}}if(!o&&c!=null){t._isValid=!1;return}if(i[4])if(U8.exec(i[4]))f="Z";else{t._isValid=!1;return}t._f=u+(c||"")+(f||""),eb(t)}else t._isValid=!1}function F8(t,e,r,n,i,o){var u=[q8(t),YR.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return o&&u.push(parseInt(o,10)),u}function q8(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Y8(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function V8(t,e,r){if(t){var n=QR.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(n!==i)return et(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function G8(t,e,r){if(t)return B8[t];if(e)return 0;var n=parseInt(r,10),i=n%100,o=(n-i)/100;return o*60+i}function rA(t){var e=H8.exec(Y8(t._i)),r;if(e){if(r=F8(e[4],e[3],e[2],e[5],e[6],e[7]),!V8(e[1],r,t))return;t._a=r,t._tzm=G8(e[8],e[9],e[10]),t._d=Hu.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),et(t).rfc2822=!0}else t._isValid=!1}function X8(t){var e=$8.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(tA(t),t._isValid===!1)delete t._isValid;else return;if(rA(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:xe.createFromInputFallback(t)}xe.createFromInputFallback=Jn("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Fo(t,e,r){return t??e??r}function W8(t){var e=new Date(xe.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Jy(t){var e,r,n=[],i,o,u;if(!t._d){for(i=W8(t),t._w&&t._a[Aa]==null&&t._a[di]==null&&K8(t),t._dayOfYear!=null&&(u=Fo(t._a[Vr],i[Vr]),(t._dayOfYear>Du(u)||t._dayOfYear===0)&&(et(t)._overflowDayOfYear=!0),r=Hu(u,0,t._dayOfYear),t._a[di]=r.getUTCMonth(),t._a[Aa]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=n[e]=i[e];for(;e<7;e++)t._a[e]=n[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[Ar]===24&&t._a[da]===0&&t._a[fi]===0&&t._a[zs]===0&&(t._nextDay=!0,t._a[Ar]=0),t._d=(t._useUTC?Hu:r8).apply(null,n),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ar]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==o&&(et(t).weekdayMismatch=!0)}}function K8(t){var e,r,n,i,o,u,c,f,d;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(o=1,u=4,r=Fo(e.GG,t._a[Vr],Bu(Jt(),1,4).year),n=Fo(e.W,1),i=Fo(e.E,1),(i<1||i>7)&&(f=!0)):(o=t._locale._week.dow,u=t._locale._week.doy,d=Bu(Jt(),o,u),r=Fo(e.gg,t._a[Vr],d.year),n=Fo(e.w,d.week),e.d!=null?(i=e.d,(i<0||i>6)&&(f=!0)):e.e!=null?(i=e.e+o,(e.e<0||e.e>6)&&(f=!0)):i=o),n<1||n>mi(r,o,u)?et(t)._overflowWeeks=!0:f!=null?et(t)._overflowWeekday=!0:(c=KR(r,n,i,o,u),t._a[Vr]=c.year,t._dayOfYear=c.dayOfYear)}xe.ISO_8601=function(){};xe.RFC_2822=function(){};function eb(t){if(t._f===xe.ISO_8601){tA(t);return}if(t._f===xe.RFC_2822){rA(t);return}t._a=[],et(t).empty=!0;var e=""+t._i,r,n,i,o,u,c=e.length,f=0,d,p;for(i=IR(t._f,t._locale).match(By)||[],p=i.length,r=0;r<p;r++)o=i[r],n=(e.match(j6(o,t))||[])[0],n&&(u=e.substr(0,e.indexOf(n)),u.length>0&&et(t).unusedInput.push(u),e=e.slice(e.indexOf(n)+n.length),f+=n.length),Wo[o]?(n?et(t).empty=!1:et(t).unusedTokens.push(o),U6(o,n,t)):t._strict&&!n&&et(t).unusedTokens.push(o);et(t).charsLeftOver=c-f,e.length>0&&et(t).unusedInput.push(e),t._a[Ar]<=12&&et(t).bigHour===!0&&t._a[Ar]>0&&(et(t).bigHour=void 0),et(t).parsedDateParts=t._a.slice(0),et(t).meridiem=t._meridiem,t._a[Ar]=Q8(t._locale,t._a[Ar],t._meridiem),d=et(t).era,d!==null&&(t._a[Vr]=t._locale.erasConvertYear(d,t._a[Vr])),Jy(t),Zy(t)}function Q8(t,e,r){var n;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(n=t.isPM(r),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function Z8(t){var e,r,n,i,o,u,c=!1,f=t._f.length;if(f===0){et(t).invalidFormat=!0,t._d=new Date(NaN);return}for(i=0;i<f;i++)o=0,u=!1,e=$y({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[i],eb(e),Uy(e)&&(u=!0),o+=et(e).charsLeftOver,o+=et(e).unusedTokens.length*10,et(e).score=o,c?o<n&&(n=o,r=e):(n==null||o<n||u)&&(n=o,r=e,u&&(c=!0));ns(t,r||e)}function J8(t){if(!t._d){var e=Fy(t._i),r=e.day===void 0?e.date:e.day;t._a=PR([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),Jy(t)}}function ej(t){var e=new oc(Zy(nA(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function nA(t){var e=t._i,r=t._f;return t._locale=t._locale||Si(t._l),e===null||r===void 0&&e===""?Kf({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),pa(e)?new oc(Zy(e)):(sc(e)?t._d=e:ha(r)?Z8(t):r?eb(t):tj(t),Uy(t)||(t._d=null),t))}function tj(t){var e=t._i;fn(e)?t._d=new Date(xe.now()):sc(e)?t._d=new Date(e.valueOf()):typeof e=="string"?X8(t):ha(e)?(t._a=PR(e.slice(0),function(r){return parseInt(r,10)}),Jy(t)):Us(e)?J8(t):vi(e)?t._d=new Date(e):xe.createFromInputFallback(t)}function aA(t,e,r,n,i){var o={};return(e===!0||e===!1)&&(n=e,e=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Us(t)&&Iy(t)||ha(t)&&t.length===0)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=r,o._i=t,o._f=e,o._strict=n,ej(o)}function Jt(t,e,r,n){return aA(t,e,r,n,!1)}var rj=Jn("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Jt.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Kf()}),nj=Jn("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Jt.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Kf()});function iA(t,e){var r,n;if(e.length===1&&ha(e[0])&&(e=e[0]),!e.length)return Jt();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function aj(){var t=[].slice.call(arguments,0);return iA("isBefore",t)}function ij(){var t=[].slice.call(arguments,0);return iA("isAfter",t)}var sj=function(){return Date.now?Date.now():+new Date},pu=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oj(t){var e,r=!1,n,i=pu.length;for(e in t)if(Ct(t,e)&&!(br.call(pu,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<i;++n)if(t[pu[n]]){if(r)return!1;parseFloat(t[pu[n]])!==dt(t[pu[n]])&&(r=!0)}return!0}function lj(){return this._isValid}function uj(){return ga(NaN)}function ah(t){var e=Fy(t),r=e.year||0,n=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,u=e.day||0,c=e.hour||0,f=e.minute||0,d=e.second||0,p=e.millisecond||0;this._isValid=oj(e),this._milliseconds=+p+d*1e3+f*6e4+c*1e3*60*60,this._days=+u+o*7,this._months=+i+n*3+r*12,this._data={},this._locale=Si(),this._bubble()}function Zd(t){return t instanceof ah}function Nv(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function cj(t,e,r){var n=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),o=0,u;for(u=0;
vendor: 5,315 bytes, line 48
48u<n;u++)dt(t[u])!==dt(e[u])&&o++;return o+i}function sA(t,e){Ie(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+La(~~(r/60),2)+e+La(~~r%60,2)})}sA("Z",":");sA("ZZ","");Ae("Z",th);Ae("ZZ",th);qt(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=tb(th,t)});var dj=/([\+\-]|\d\d)/gi;function tb(t,e){var r=(e||"").match(t),n,i,o;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(dj)||["-",0,0],o=+(i[1]*60)+dt(i[2]),o===0?0:i[0]==="+"?o:-o)}function rb(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(pa(t)||sc(t)?t.valueOf():Jt(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),xe.updateOffset(r,!1),r):Jt(t).local()}function Pv(t){return-Math.round(t._d.getTimezoneOffset())}xe.updateOffset=function(){};function fj(t,e,r){var n=this._offset||0,i;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=tb(th,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(i=Pv(this)),this._offset=t,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==t&&(!e||this._changeInProgress?uA(this,ga(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,xe.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Pv(this)}function hj(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function pj(t){return this.utcOffset(0,t)}function mj(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Pv(this),"m")),this}function gj(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=tb(P6,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function vj(t){return this.isValid()?(t=t?Jt(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function yj(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function bj(){if(!fn(this._isDSTShifted))return this._isDSTShifted;var t={},e;return $y(t,this),t=nA(t),t._a?(e=t._isUTC?za(t._a):Jt(t._a),this._isDSTShifted=this.isValid()&&cj(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wj(){return this.isValid()?!this._isUTC:!1}function Sj(){return this.isValid()?this._isUTC:!1}function oA(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ej=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,xj=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ga(t,e){var r=t,n=null,i,o,u;return Zd(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:vi(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=Ej.exec(t))?(i=n[1]==="-"?-1:1,r={y:0,d:dt(n[Aa])*i,h:dt(n[Ar])*i,m:dt(n[da])*i,s:dt(n[fi])*i,ms:dt(Nv(n[zs]*1e3))*i}):(n=xj.exec(t))?(i=n[1]==="-"?-1:1,r={y:Cs(n[2],i),M:Cs(n[3],i),w:Cs(n[4],i),d:Cs(n[5],i),h:Cs(n[6],i),m:Cs(n[7],i),s:Cs(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(u=_j(Jt(r.from),Jt(r.to)),r={},r.ms=u.milliseconds,r.M=u.months),o=new ah(r),Zd(t)&&Ct(t,"_locale")&&(o._locale=t._locale),Zd(t)&&Ct(t,"_isValid")&&(o._isValid=t._isValid),o}ga.fn=ah.prototype;ga.invalid=uj;function Cs(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function Hx(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function _j(t,e){var r;return t.isValid()&&e.isValid()?(e=rb(e,t),t.isBefore(e)?r=Hx(t,e):(r=Hx(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function lA(t,e){return function(r,n){var i,o;return n!==null&&!isNaN(+n)&&(jR(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=r,r=n,n=o),i=ga(r,n),uA(this,i,t),this}}function uA(t,e,r,n){var i=e._milliseconds,o=Nv(e._days),u=Nv(e._months);t.isValid()&&(n=n??!0,u&&GR(t,$u(t,"Month")+u*r),o&&qR(t,"Date",$u(t,"Date")+o*r),i&&t._d.setTime(t._d.valueOf()+i*r),n&&xe.updateOffset(t,o||u))}var Tj=lA(1,"add"),Cj=lA(-1,"subtract");function cA(t){return typeof t=="string"||t instanceof String}function Rj(t){return pa(t)||sc(t)||cA(t)||vi(t)||Oj(t)||Aj(t)||t===null||t===void 0}function Aj(t){var e=Us(t)&&!Iy(t),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,o,u=n.length;for(i=0;i<u;i+=1)o=n[i],r=r||Ct(t,o);return e&&r}function Oj(t){var e=ha(t),r=!1;return e&&(r=t.filter(function(n){return!vi(n)&&cA(t)}).length===0),e&&r}function Mj(t){var e=Us(t)&&!Iy(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,o;for(i=0;i<n.length;i+=1)o=n[i],r=r||Ct(t,o);return e&&r}function Dj(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function kj(t,e){arguments.length===1&&(arguments[0]?Rj(arguments[0])?(t=arguments[0],e=void 0):Mj(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||Jt(),n=rb(r,this).startOf("day"),i=xe.calendarFormat(this,n)||"sameElse",o=e&&(ja(e[i])?e[i].call(this,r):e[i]);
vendor: 4,792 bytes, line 48
48return this.format(o||this.localeData().calendar(i,this,Jt(r)))}function Lj(){return new oc(this)}function Nj(t,e){var r=pa(t)?t:Jt(t);return this.isValid()&&r.isValid()?(e=ea(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function Pj(t,e){var r=pa(t)?t:Jt(t);return this.isValid()&&r.isValid()?(e=ea(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function zj(t,e,r,n){var i=pa(t)?t:Jt(t),o=pa(e)?e:Jt(e);return this.isValid()&&i.isValid()&&o.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(o,r):!this.isAfter(o,r))):!1}function jj(t,e){var r=pa(t)?t:Jt(t),n;return this.isValid()&&r.isValid()?(e=ea(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function Ij(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Uj(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function $j(t,e,r){var n,i,o;if(!this.isValid())return NaN;if(n=rb(t,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,e=ea(e),e){case"year":o=Jd(this,n)/12;break;case"month":o=Jd(this,n);break;case"quarter":o=Jd(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:Xn(o)}function Jd(t,e){if(t.date()<e.date())return-Jd(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,"months"),i,o;return e-n<0?(i=t.clone().add(r-1,"months"),o=(e-n)/(n-i)):(i=t.clone().add(r+1,"months"),o=(e-n)/(i-n)),-(r+o)||0}xe.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";xe.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Hj(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Bj(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?Qd(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ja(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Qd(r,"Z")):Qd(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Fj(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,n,i,o;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=e+'[")]',this.format(r+n+i+o)}function qj(t){t||(t=this.isUtc()?xe.defaultFormatUtc:xe.defaultFormat);var e=Qd(this,t);return this.localeData().postformat(e)}function Yj(t,e){return this.isValid()&&(pa(t)&&t.isValid()||Jt(t).isValid())?ga({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Vj(t){return this.from(Jt(),t)}function Gj(t,e){return this.isValid()&&(pa(t)&&t.isValid()||Jt(t).isValid())?ga({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Xj(t){return this.to(Jt(),t)}function dA(t){var e;return t===void 0?this._locale._abbr:(e=Si(t),e!=null&&(this._locale=e),this)}var fA=Jn("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function hA(){return this._locale}var Ef=1e3,Ko=60*Ef,xf=60*Ko,pA=(365*400+97)*24*xf;function Qo(t,e){return(t%e+e)%e}function mA(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-pA:new Date(t,e,r).valueOf()}function gA(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-pA:Date.UTC(t,e,r)}function Wj(t){var e,r;if(t=ea(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?gA:mA,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Qo(e+(this._isUTC?0:this.utcOffset()*Ko),xf);break;case"minute":e=this._d.valueOf(),e-=Qo(e,Ko);break;case"second":e=this._d.valueOf(),e-=Qo(e,Ef);break}return this._d.setTime(e),xe.updateOffset(this,!0),this}function Kj(t){var e,r;if(t=ea(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?gA:mA,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;
48case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=xf-Qo(e+(this._isUTC?0:this.utcOffset()*Ko),xf)-1;break;case"minute":e=this._d.valueOf(),e+=Ko-Qo(e,Ko)-1;break;case"second":e=this._d.valueOf(),e+=Ef-Qo(e,Ef)-1;break}return this._d.setTime(e),xe.updateOffset(this,!0),this}function Qj(){return this._d.valueOf()-(this._offset||0)*6e4}function Zj(){return Math.floor(this.valueOf()/1e3)}function Jj(){return new Date(this.valueOf())}function eI(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function tI(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function rI(){return this.isValid()?this.toISOString():null}function nI(){return Uy(this)}function aI(){return ns({},et(this))}function iI(){return et(this).overflow}function sI(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Ie("N",0,0,"eraAbbr");Ie("NN",0,0,"eraAbbr");Ie("NNN",0,0,"eraAbbr");Ie("NNNN",0,0,"eraName");Ie("NNNNN",0,0,"eraNarrow");Ie("y",["y",1],"yo","eraYear");Ie("y",["yy",2],0,"eraYear");Ie("y",["yyy",3],0,"eraYear");Ie("y",["yyyy",4],0,"eraYear");Ae("N",nb);Ae("NN",nb);Ae("NNN",nb);Ae("NNNN",vI);Ae("NNNNN",yI);qt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,n){var i=r._locale.erasParse(t,n,r._strict);i?et(r).era=i:et(r).invalidEra=t});Ae("y",hl);Ae("yy",hl);Ae("yyy",hl);Ae("yyyy",hl);Ae("yo",bI);qt(["y","yy","yyy","yyyy"],Vr);qt(["yo"],function(t,e,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[Vr]=r._locale.eraYearOrdinalParse(t,i):e[Vr]=parseInt(t,10)});function oI(t,e){var r,n,i,o=this._eras||Si("en")._eras;for(r=0,n=o.length;r<n;++r)switch(typeof o[r].since==="string"&&(i=xe(o[r].since).startOf("day"),o[r].since=i.valueOf()),typeof o[r].until){case"undefined":o[r].until=1/0;break;case"string":i=xe(o[r].until).startOf("day").valueOf(),o[r].until=i.valueOf();break}return o}function lI(t,e,r){var n,i,o=this.eras(),u,c,f;for(t=t.toUpperCase(),n=0,i=o.length;n<i;++n)if(u=o[n].name.toUpperCase(),c=o[n].abbr.toUpperCase(),f=o[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(c===t)return o[n];break;case"NNNN":if(u===t)return o[n];break;case"NNNNN":if(f===t)return o[n];break}else if([u,c,f].indexOf(t)>=0)return o[n]}function uI(t,e){var r=t.since<=t.until?1:-1;return e===void 0?xe(t.since).year():xe(t.since).year()+(e-t.offset)*r}function cI(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].name;return""}function dI(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].narrow;return""}function fI(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].abbr;return""}function hI(){var t,e,r,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t)if(r=i[t].since<=i[t].until?1:-1,n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until||i[t].until<=n&&n<=i[t].since)return(this.year()-xe(i[t].since).year())*r+i[t].offset;return this.year()}function pI(t){return Ct(this,"_erasNameRegex")||ab.call(this),t?this._erasNameRegex:this._erasRegex}function mI(t){return Ct(this,"_erasAbbrRegex")||ab.call(this),t?this._erasAbbrRegex:this._erasRegex}function gI(t){return Ct(this,"_erasNarrowRegex")||ab.call(this),t?this._erasNarrowRegex:this._erasRegex}function nb(t,e){return e.erasAbbrRegex(t)}function vI(t,e){return e.erasNameRegex(t)}function yI(t,e){return e.erasNarrowRegex(t)}function bI(t,e){return e._eraYearOrdinalRegex||hl}function ab(){var t=[],e=[],r=[],n=[],i,o,u,c,f,d=this.eras();for(i=0,o=d.length;i<o;++i)u=pi(d[i].name),c=pi(d[i].abbr),f=pi(d[i].narrow),e.push(u),t.push(c),r.push(f),n.push(u),n.push(c),n.push(f);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}Ie(0,["gg",2],0,function(){return this.weekYear()%100});Ie(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ih(t,e){Ie(0,[t,t.length],0,e)}ih("gggg","weekYear");ih("ggggg","weekYear");ih("GGGG","isoWeekYear");ih("GGGGG","isoWeekYear");Ae("G",eh);Ae("g",eh);Ae("GG",er,Nn);Ae("gg",er,Nn);Ae("GGGG",Yy,qy);Ae("gggg",Yy,qy);Ae("GGGGG",Jf,Qf);Ae("ggggg",Jf,Qf);uc(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=dt(t)});uc(["gg","GG"],function(t,e,r,n){e[n]=xe.parseTwoDigitYear(t)});function wI(t){return vA.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function SI(t){return vA.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function EI(){return mi(this.year(),1,4)}function xI(){return mi(this.isoWeekYear(),1,4)}function _I(){var t=this.localeData()._week;return mi(this.year(),t.dow,t.doy)}function TI(){var t=this.localeData()._week;return mi(this.weekYear(),t.dow,t.doy)}function vA(t,e,r,n,i){var o;return t==null?Bu(this,n,i).year:(o=mi(t,n,i),e>o&&(e=o),CI.call(this,t,e,r,n,i))}function CI(t,e,r,n,i){var o=KR(t,e,r,n,i),u=Hu(o.year,0,o.dayOfYear);return this.year(u.getUTCFullYear()),this.month(u.getUTCMonth()),this.date(u.getUTCDate()),this}Ie("Q",0,"Qo","quarter");Ae("Q",UR);qt("Q",function(t,e){e[di]=(dt(t)-1)*3});function RI(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}Ie("D",["DD",2],"Do","date");Ae("D",er,pl);Ae("DD",er,Nn);Ae("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});qt(["D","DD"],Aa);qt("Do",function(t,e){e[Aa]=dt(t.match(er)[0])});var yA=ml("Date",!0);Ie("DDD",["DDDD",3],"DDDo","dayOfYear");Ae("DDD",Zf);Ae("DDDD",$R);qt(["DDD","DDDD"],function(t,e,r){r._dayOfYear=dt(t)});function AI(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}Ie("m",["mm",2],0,"minute");Ae("m",er,Vy);Ae("mm",er,Nn);qt(["m","mm"],da);var OI=ml("Minutes",!1);Ie("s",["ss",2],0,"second");Ae("s",er,Vy);Ae("ss",er,Nn);qt(["s","ss"],fi);var MI=ml("Seconds",!1);Ie("S",0,0,function(){return~~(this.millisecond()/100)});Ie(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Ie(0,["SSS",3],0,"millisecond");Ie(0,["SSSS",4],0,function(){return this.millisecond()*10});Ie(0,["SSSSS",5],0,function(){return this.millisecond()*100});Ie(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});Ie(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});Ie(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});Ie(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Ae("S",Zf,UR);Ae("SS",Zf,Nn);Ae("SSS",Zf,$R);var as,bA;for(as="SSSS";as.length<=9;as+="S")Ae(as,hl);function DI(t,e){e[zs]=dt(("0."+t)*1e3)}for(as="S";as.length<=9;as+="S")qt(as,DI);bA=ml("Milliseconds",!1);Ie("z",0,0,"zoneAbbr");Ie("zz",0,0,"zoneName");function kI(){return this._isUTC?"UTC":""}function LI(){return this._isUTC?"Coordinated Universal Time":""}var we=oc.prototype;we.add=Tj;we.calendar=kj;we.clone=Lj;we.diff=$j;we.endOf=Kj;we.format=qj;we.from=Yj;we.fromNow=Vj;we.to=Gj;we.toNow=Xj;we.get=F6;we.invalidAt=iI;we.isAfter=Nj;we.isBefore=Pj;we.isBetween=zj;we.isSame=jj;we.isSameOrAfter=Ij;we.isSameOrBefore=Uj;we.isValid=nI;we.lang=fA;we.locale=dA;we.localeData=hA;we.max=nj;we.min=rj;we.parsingFlags=aI;we.set=q6;we.startOf=Wj;we.subtract=Cj;we.toArray=eI;we.toObject=tI;we.toDate=Jj;we.toISOString=Bj;we.inspect=Fj;typeof Symbol<"u"&&Symbol.for!=null&&(we[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});we.toJSON=rI;we.toString=Hj;we.unix=Zj;we.valueOf=Qj;
vendor: 6,078 bytes, line 48
48we.creationData=sI;we.eraName=cI;we.eraNarrow=dI;we.eraAbbr=fI;we.eraYear=hI;we.year=FR;we.isLeapYear=B6;we.weekYear=wI;we.isoWeekYear=SI;we.quarter=we.quarters=RI;we.month=XR;we.daysInMonth=J6;we.week=we.weeks=o8;we.isoWeek=we.isoWeeks=l8;we.weeksInYear=_I;we.weeksInWeekYear=TI;we.isoWeeksInYear=EI;we.isoWeeksInISOWeekYear=xI;we.date=yA;we.day=we.days=S8;we.weekday=E8;we.isoWeekday=x8;we.dayOfYear=AI;we.hour=we.hours=M8;we.minute=we.minutes=OI;we.second=we.seconds=MI;we.millisecond=we.milliseconds=bA;we.utcOffset=fj;we.utc=pj;we.local=mj;we.parseZone=gj;we.hasAlignedHourOffset=vj;we.isDST=yj;we.isLocal=wj;we.isUtcOffset=Sj;we.isUtc=oA;we.isUTC=oA;we.zoneAbbr=kI;we.zoneName=LI;we.dates=Jn("dates accessor is deprecated. Use date instead.",yA);we.months=Jn("months accessor is deprecated. Use month instead",XR);we.years=Jn("years accessor is deprecated. Use year instead",FR);we.zone=Jn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hj);we.isDSTShifted=Jn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",bj);function NI(t){return Jt(t*1e3)}function PI(){return Jt.apply(null,arguments).parseZone()}function wA(t){return t}var Rt=Hy.prototype;Rt.calendar=w6;Rt.longDateFormat=_6;Rt.invalidDate=C6;Rt.ordinal=O6;Rt.preparse=wA;Rt.postformat=wA;Rt.relativeTime=D6;Rt.pastFuture=k6;Rt.set=y6;Rt.eras=oI;Rt.erasParse=lI;Rt.erasConvertYear=uI;Rt.erasAbbrRegex=mI;Rt.erasNameRegex=pI;Rt.erasNarrowRegex=gI;Rt.months=W6;Rt.monthsShort=K6;Rt.monthsParse=Z6;Rt.monthsRegex=t8;Rt.monthsShortRegex=e8;Rt.week=n8;Rt.firstDayOfYear=s8;Rt.firstDayOfWeek=i8;Rt.weekdays=g8;Rt.weekdaysMin=y8;Rt.weekdaysShort=v8;Rt.weekdaysParse=w8;Rt.weekdaysRegex=_8;Rt.weekdaysShortRegex=T8;Rt.weekdaysMinRegex=C8;Rt.isPM=A8;Rt.meridiem=D8;function _f(t,e,r,n){var i=Si(),o=za().set(n,e);return i[r](o,t)}function SA(t,e,r){if(vi(t)&&(e=t,t=void 0),t=t||"",e!=null)return _f(t,e,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=_f(t,n,r,"month");return i}function ib(t,e,r,n){typeof t=="boolean"?(vi(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,vi(e)&&(r=e,e=void 0),e=e||"");var i=Si(),o=t?i._week.dow:0,u,c=[];if(r!=null)return _f(e,(r+o)%7,n,"day");for(u=0;u<7;u++)c[u]=_f(e,(u+o)%7,n,"day");return c}function zI(t,e){return SA(t,e,"months")}function jI(t,e){return SA(t,e,"monthsShort")}function II(t,e,r){return ib(t,e,r,"weekdays")}function UI(t,e,r){return ib(t,e,r,"weekdaysShort")}function $I(t,e,r){return ib(t,e,r,"weekdaysMin")}os("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,r=dt(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}});xe.lang=Jn("moment.lang is deprecated. Use moment.locale instead.",os);xe.langData=Jn("moment.langData is deprecated. Use moment.localeData instead.",Si);var si=Math.abs;function HI(){var t=this._data;return this._milliseconds=si(this._milliseconds),this._days=si(this._days),this._months=si(this._months),t.milliseconds=si(t.milliseconds),t.seconds=si(t.seconds),t.minutes=si(t.minutes),t.hours=si(t.hours),t.months=si(t.months),t.years=si(t.years),this}function EA(t,e,r,n){var i=ga(e,r);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function BI(t,e){return EA(this,t,e,1)}function FI(t,e){return EA(this,t,e,-1)}function Bx(t){return t<0?Math.floor(t):Math.ceil(t)}function qI(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,i,o,u,c,f;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=Bx(zv(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,i=Xn(t/1e3),n.seconds=i%60,o=Xn(i/60),n.minutes=o%60,u=Xn(o/60),n.hours=u%24,e+=Xn(u/24),f=Xn(xA(e)),r+=f,e-=Bx(zv(f)),c=Xn(r/12),r%=12,n.days=e,n.months=r,n.years=c,this}function xA(t){return t*4800/146097}function zv(t){return t*146097/4800}function YI(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=ea(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+xA(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(zv(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+t)}}function Ei(t){return function(){return this.as(t)}}var _A=Ei("ms"),VI=Ei("s"),GI=Ei("m"),XI=Ei("h"),WI=Ei("d"),KI=Ei("w"),QI=Ei("M"),ZI=Ei("Q"),JI=Ei("y"),eU=_A;function tU(){return ga(this)}function rU(t){return t=ea(t),this.isValid()?this[t+"s"]():NaN}function Gs(t){return function(){return this.isValid()?this._data[t]:NaN}}var nU=Gs("milliseconds"),aU=Gs("seconds"),iU=Gs("minutes"),sU=Gs("hours"),oU=Gs("days"),lU=Gs("months"),uU=Gs("years");function cU(){return Xn(this.days()/7)}var li=Math.round,Vo={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function dU(t,e,r,n,i){return i.relativeTime(e||1,!!r,t,n)}function fU(t,e,r,n){var i=ga(t).abs(),o=li(i.as("s")),u=li(i.as("m")),c=li(i.as("h")),f=li(i.as("d")),d=li(i.as("M")),p=li(i.as("w")),m=li(i.as("y")),g=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||u<=1&&["m"]||u<r.m&&["mm",u]||c<=1&&["h"]||c<r.h&&["hh",c]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(g=g||p<=1&&["w"]||p<r.w&&["ww",p]),g=g||d<=1&&["M"]||d<r.M&&["MM",d]||m<=1&&["y"]||["yy",m],g[2]=e,g[3]=+t>0,g[4]=n,dU.apply(null,g)}function hU(t){return t===void 0?li:typeof t=="function"?(li=t,!0):!1}function pU(t,e){return Vo[t]===void 0?!1:e===void 0?Vo[t]:(Vo[t]=e,t==="s"&&(Vo.ss=e-1),!0)}function mU(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Vo,i,o;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},Vo,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),i=this.localeData(),o=fU(this,!r,n,i),r&&(o=i.pastFuture(+this,o)),i.postformat(
48o)}var mg=Math.abs;function zo(t){return(t>0)-(t<0)||+t}function sh(){if(!this.isValid())return this.localeData().invalidDate();var t=mg(this._milliseconds)/1e3,e=mg(this._days),r=mg(this._months),n,i,o,u,c=this.asSeconds(),f,d,p,m;return c?(n=Xn(t/60),i=Xn(n/60),t%=60,n%=60,o=Xn(r/12),r%=12,u=t?t.toFixed(3).replace(/\.?0+$/,""):"",f=c<0?"-":"",d=zo(this._months)!==zo(c)?"-":"",p=zo(this._days)!==zo(c)?"-":"",m=zo(this._milliseconds)!==zo(c)?"-":"",f+"P"+(o?d+o+"Y":"")+(r?d+r+"M":"")+(e?p+e+"D":"")+(i||n||t?"T":"")+(i?m+i+"H":"")+(n?m+n+"M":"")+(t?m+u+"S":"")):"P0D"}var gt=ah.prototype;gt.isValid=lj;gt.abs=HI;gt.add=BI;gt.subtract=FI;gt.as=YI;gt.asMilliseconds=_A;gt.asSeconds=VI;gt.asMinutes=GI;gt.asHours=XI;gt.asDays=WI;gt.asWeeks=KI;gt.asMonths=QI;gt.asQuarters=ZI;gt.asYears=JI;gt.valueOf=eU;gt._bubble=qI;gt.clone=tU;gt.get=rU;gt.milliseconds=nU;gt.seconds=aU;gt.minutes=iU;gt.hours=sU;gt.days=oU;gt.weeks=cU;gt.months=lU;gt.years=uU;gt.humanize=mU;gt.toISOString=sh;gt.toString=sh;gt.toJSON=sh;gt.locale=dA;gt.localeData=hA;gt.toIsoString=Jn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sh);gt.lang=fA;Ie("X",0,0,"unix");Ie("x",0,0,"valueOf");Ae("x",eh);Ae("X",z6);qt("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)});qt("x",function(t,e,r){r._d=new Date(dt(t))});xe.version="2.30.1";g6(Jt);xe.fn=we;xe.min=aj;xe.max=ij;xe.now=sj;xe.utc=za;xe.unix=NI;xe.months=zI;xe.isDate=sc;xe.locale=os;xe.invalid=Kf;xe.duration=ga;xe.isMoment=pa;xe.weekdays=II;xe.parseZone=PI;xe.localeData=Si;xe.isDuration=Zd;xe.monthsShort=jI;xe.weekdaysMin=$I;xe.defineLocale=Qy;xe.updateLocale=P8;xe.locales=z8;xe.weekdaysShort=UI;xe.normalizeUnits=ea;xe.relativeTimeRounding=hU;xe.relativeTimeThreshold=pU;xe.calendarFormat=Dj;xe.prototype=we;xe.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};class al{static isInt(e){return Number(e)===e&&e%1===0}static isFloat(e){return Number(e)===e&&e%1!==0}static isset(e){try{return typeof e()<"u"}catch{return!1}}static getValue(e,r){const n=r[0];return r.splice(0,1),al.isset(()=>e[n])?r.length===0?e[n]:this.getValue(e[n],r):null}static IsJsonString(e){if(e)return JSON.parse(e)}static compressImage=async(e,r)=>await qr(e,r??{maxSizeMB:1,maxWidthOrHeight:1080,useWebWorker:!0});static formatearNumber=e=>e?new Intl.NumberFormat("es-ES").format(e):"0";static MESES_ES=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"];static formatFechaEs(e){if(!e)return"";const r=xe(e);return r.isValid()?`${r.date()} de ${al.MESES_ES[r.month()]} de ${r.year()}`:""}static getTextDifferenceDate(e,r){const n=xe.duration(e.diff(r));return[{value:n.years(),label:"año"},{value:n.months(),label:"mes"},{value:n.days(),label:"dÃa"},{value:n.hours(),label:"hora"},{value:n.minutes(),label:"minuto"}].filter(u=>u.value>0).slice(0,2).map(u=>{const c=u.label==="mes"?u.value>1?"meses":"mes":`${u.label}${u.value>1?"s":""}`;return`${u.value} ${c}`}).join(" ")||"unos segundos"}static decodeBase64(e){return e&&e!==""?atob(e):""}static verificarJson(e){try{return JSON.parse(e)}catch{return e}}static getStatusColor(e){return{ALL:"bg-gray-500",APPROVED:"bg-green-500",REJECTED:"bg-red-500",PENDING:"bg-yellow-500",DELETED:"bg-gray-600",REPORTED:"bg-red-600",VISIBLE:"bg-blue-500",HIDDEN:"bg-gray-400",REVIEW:"bg-orange-500",DELIVERED:"bg-green-600",CANCELLED:"bg-red-700"}[e]||"bg-gray-400"}}class Tt{static KEY_ENCRIPT_STORAGE="GsXziOutZNflysF1sJLsTQv/2AxJAUtXbABjCJonw5Q=";static KEY_GOOGLE_MAP="AIzaSyAFZbuaSYS4miJI3Js77n1tj6xUVXYq14M";static URL_GOOGLE_MAP=`https://maps.googleapis.com/maps/api/js?key=${this.KEY_GOOGLE_MAP}&libraries=places&libraries=drawing&libraries=geometry`;static SEPARADOR="/";static HOST_ARRAY=window.location.host&&window.location.host.search("localhost")<0?window.location.host.split("."):["localhost"];static IS_PROD=this.HOST_ARRAY?.length>1;static HOST_CURRENT=`${this.IS_PROD?`${this.HOST_ARRAY[0]}.${this.HOST_ARRAY[1]}.${this.HOST_ARRAY[2]}`:this.HOST_ARRAY[0]}`;static URL_SERVER=window.location.host+"/";static HOST_NAME=window.location.host;static API_PATH="/api-fan/";static API_PATH_ADMIN="/api/";static MODULO_PATH="modulo/";static API_PATH_FILES=`${this.URL_SERVER}api/admin/file-system/getFile`;static URL_LARAVEL_ECHO_SERVER=`${this.HOST_CURRENT}:6001`;static getApiBaseURL(e,r,n,i,o){const u=[];e&&u.push(e),r&&u.push(r),n&&u.push(String(n)),i&&u.push(i);
48let c=this.API_PATH+u.join(this.SEPARADOR);if(o&&typeof o=="object"){const f=new URLSearchParams(o).toString();f&&(c+=`?${f}`)}return c}static getApiAdminBaseURL(e,r,n,i,o){const u=[];e&&u.push(e),r&&u.push(r),n&&u.push(String(n)),i&&u.push(i);let c=this.API_PATH_ADMIN+u.join(this.SEPARADOR);if(o&&typeof o=="object"){const f=new URLSearchParams;Object.entries(o).forEach(([p,m])=>{Array.isArray(m)?m.forEach(g=>{f.append(`${p}[]`,String(g))}):m!=null&&f.append(p,String(m))});const d=f.toString();d&&(c+=`?${d}`)}return c}static echoConfiguration={broadcaster:"socket.io",host:Tt.URL_LARAVEL_ECHO_SERVER,wssHost:Tt.URL_LARAVEL_ECHO_SERVER,wssPort:6001,disableStats:!0,client:"socket.io-client",transports:["websocket"],auth:{},withCredentials:!0};static processResponse(e,r,n){return e||(al.isset(()=>n?.response)&&al.isset(()=>n?.response?.data)?r=n.response.data:r={satisfactory:!1,title:n?.message,message:n?.message,data:null,code:n?.status}),r}}var ef={exports:{}};function gU(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var tf={exports:{}};const vU={},yU=Object.freeze(Object.defineProperty({__proto__:null,default:vU},Symbol.toStringTag,{value:"Module"})),bU=Xk(yU);var wU=tf.exports,Fx;function ls(){return Fx||(Fx=1,(function(t,e){(function(r,n){t.exports=n()})(wU,function(){var r=r||(function(n,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof ks<"u"&&ks.crypto&&(o=ks.crypto),!o&&typeof gU=="function")try{o=bU}catch{}var u=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},c=Object.create||(function(){function x(){}return function(_){var O;return x.prototype=_,O=new x,x.prototype=null,O}})(),f={},d=f.lib={},p=d.Base=(function(){return{extend:function(x){var _=c(this);return x&&_.mixIn(x),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.apply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var _ in x)x.hasOwnProperty(_)&&(this[_]=x[_]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),m=d.WordArray=p.extend({init:function(x,_){x=this.words=x||[],_!=i?this.sigBytes=_:this.sigBytes=x.length*4},toString:function(x){return(x||y).stringify(this)},concat:function(x){var _=this.words,O=x.words,k=this.sigBytes,L=x.sigBytes;if(this.clamp(),k%4)for(var H=0;H<L;H++){var C=O[H>>>2]>>>24-H%4*8&255;_[k+H>>>2]|=C<<24-(k+H)%4*8}else for(var D=0;D<L;D+=4)_[k+D>>>2]=O[D>>>2];return this.sigBytes+=L,this},clamp:function(){var x=this.words,_=this.sigBytes;x[_>>>2]&=4294967295<<32-_%4*8,x.length=n.ceil(_/4)},clone:function(){var x=p.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var _=[],O=0;O<x;O+=4)_.push(u());return new m.init(_,x)}}),g=f.enc={},y=g.Hex={stringify:function(x){for(var _=x.words,O=x.sigBytes,k=[],L=0;L<O;L++){var H=_[L>>>2]>>>24-L%4*8&255;k.push((H>>>4).toString(16)),k.push((H&15).toString(16))}return k.join("")},parse:function(x){for(var _=x.length,O=[],k=0;k<_;k+=2)O[k>>>3]|=parseInt(x.substr(k,2),16)<<24-k%8*4;return new m.init(O,_/2)}},v=g.Latin1={stringify:function(x){for(var _=x.words,O=x.sigBytes,k=[],L=0;L<O;L++){var H=_[L>>>2]>>>24-L%4*8&255;k.push(String.fromCharCode(H))}return k.join("")},parse:function(x){for(var _=x.length,O=[],k=0;k<_;k++)O[k>>>2]|=(x.charCodeAt(k)&255)<<24-k%4*8;return new m.init(O,_)}},w=g.Utf8={stringify:function(x){try{return decodeURIComponent(escape(v.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return v.parse(unescape(encodeURIComponent(x)))}},E=d.BufferedBlockAlgorithm=p.extend({reset:function(){this._data=new m.init,this._nDataBytes=0}
48,_append:function(x){typeof x=="string"&&(x=w.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var _,O=this._data,k=O.words,L=O.sigBytes,H=this.blockSize,C=H*4,D=L/C;x?D=n.ceil(D):D=n.max((D|0)-this._minBufferSize,0);var M=D*H,P=n.min(M*4,L);if(M){for(var U=0;U<M;U+=H)this._doProcessBlock(k,U);_=k.splice(0,M),O.sigBytes-=P}return new m.init(_,P)},clone:function(){var x=p.clone.call(this);return x._data=this._data.clone(),x},_minBufferSize:0});d.Hasher=E.extend({cfg:p.extend(),init:function(x){this.cfg=this.cfg.extend(x),this.reset()},reset:function(){E.reset.call(this),this._doReset()},update:function(x){return this._append(x),this._process(),this},finalize:function(x){x&&this._append(x);var _=this._doFinalize();return _},blockSize:16,_createHelper:function(x){return function(_,O){return new x.init(O).finalize(_)}},_createHmacHelper:function(x){return function(_,O){return new T.HMAC.init(x,O).finalize(_)}}});var T=f.algo={};return f})(Math);return r})})(tf)),tf.exports}var rf={exports:{}},SU=rf.exports,qx;function EU(){return qx||(qx=1,(function(t,e){(function(r,n){t.exports=n(ls())})(SU,function(r){return(function(){var n=r,i=n.lib,o=i.WordArray,u=n.enc;u.Base64={stringify:function(f){var d=f.words,p=f.sigBytes,m=this._map;f.clamp();for(var g=[],y=0;y<p;y+=3)for(var v=d[y>>>2]>>>24-y%4*8&255,w=d[y+1>>>2]>>>24-(y+1)%4*8&255,E=d[y+2>>>2]>>>24-(y+2)%4*8&255,T=v<<16|w<<8|E,x=0;x<4&&y+x*.75<p;x++)g.push(m.charAt(T>>>6*(3-x)&63));var _=m.charAt(64);if(_)for(;g.length%4;)g.push(_);return g.join("")},parse:function(f){var d=f.length,p=this._map,m=this._reverseMap;if(!m){m=this._reverseMap=[];for(var g=0;g<p.length;g++)m[p.charCodeAt(g)]=g}var y=p.charAt(64);if(y){var v=f.indexOf(y);v!==-1&&(d=v)}return c(f,d,m)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(f,d,p){for(var m=[],g=0,y=0;y<d;y++)if(y%4){var v=p[f.charCodeAt(y-1)]<<y%4*2,w=p[f.charCodeAt(y)]>>>6-y%4*2,E=v|w;m[g>>>2]|=E<<24-g%4*8,g++}return o.create(m,g)}})(),r.enc.Base64})})(rf)),rf.exports}var nf={exports:{}},xU=nf.exports,Yx;function _U(){return Yx||(Yx=1,(function(t,e){(function(r,n){t.exports=n(ls())})(xU,function(r){return(function(n){var i=r,o=i.lib,u=o.WordArray,c=o.Hasher,f=i.algo,d=[];(function(){for(var w=0;w<64;w++)d[w]=n.abs(n.sin(w+1))*4294967296|0})();var p=f.MD5=c.extend({_doReset:function(){this._hash=new u.init([
481732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(w,E){for(var T=0;T<16;T++){var x=E+T,_=w[x];w[x]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var O=this._hash.words,k=w[E+0],L=w[E+1],H=w[E+2],C=w[E+3],D=w[E+4],M=w[E+5],P=w[E+6],U=w[E+7],I=w[E+8],z=w[E+9],F=w[E+10],R=w[E+11],A=w[E+12],B=w[E+13],q=w[E+14],K=w[E+15],$=O[0],Y=O[1],G=O[2],W=O[3];$=m($,Y,G,W,k,7,d[0]),W=m(W,$,Y,G,L,12,d[1]),G=m(G,W,$,Y,H,17,d[2]),Y=m(Y,G,W,$,C,22,d[3]),$=m($,Y,G,W,D,7,d[4]),W=m(W,$,Y,G,M,12,d[5]),G=m(G,W,$,Y,P,17,d[6]),Y=m(Y,G,W,$,U,22,d[7]),$=m($,Y,G,W,I,7,d[8]),W=m(W,$,Y,G,z,12,d[9]),G=m(G,W,$,Y,F,17,d[10]),Y=m(Y,G,W,$,R,22,d[11]),$=m($,Y,G,W,A,7,d[12]),W=m(W,$,Y,G,B,12,d[13]),G=m(G,W,$,Y,q,17,d[14]),Y=m(Y,G,W,$,K,22,d[15]),$=g($,Y,G,W,L,5,d[16]),W=g(W,$,Y,G,P,9,d[17]),G=g(G,W,$,Y,R,14,d[18]),Y=g(Y,G,W,$,k,20,d[19]),$=g($,Y,G,W,M,5,d[20]),W=g(W,$,Y,G,F,9,d[21]),G=g(G,W,$,Y,K,14,d[22]),Y=g(Y,G,W,$,D,20,d[23]),$=g($,Y,G,W,z,5,d[24]),W=g(W,$,Y,G,q,9,d[25]),G=g(G,W,$,Y,C,14,d[26]),Y=g(Y,G,W,$,I,20,d[27]),$=g($,Y,G,W,B,5,d[28]),W=g(W,$,Y,G,H,9,d[29]),G=g(G,W,$,Y,U,14,d[30]),Y=g(Y,G,W,$,A,20,d[31]),$=y($,Y,G,W,M,4,d[32]),W=y(W,$,Y,G,I,11,d[33]),G=y(G,W,$,Y,R,16,d[34]),Y=y(Y,G,W,$,q,23,d[35]),$=y($,Y,G,W,L,4,d[36]),W=y(W,$,Y,G,D,11,d[37]),G=y(G,W,$,Y,U,16,d[38]),Y=y(Y,G,W,$,F,23,d[39]),$=y($,Y,G,W,B,4,d[40]),W=y(W,$,Y,G,k,11,d[41]),G=y(G,W,$,Y,C,16,d[42]),Y=y(Y,G,W,$,P,23,d[43]),$=y($,Y,G,W,z,4,d[44]),W=y(W,$,Y,G,A,11,d[45]),G=y(G,W,$,Y,K,16,d[46]),Y=y(Y,G,W,$,H,23,d[47]),$=v($,Y,G,W,k,6,d[48]),W=v(W,$,Y,G,U,10,d[49]),G=v(G,W,$,Y,q,15,d[50]),Y=v(Y,G,W,$,M,21,d[51]),$=v($,Y,G,W,A,6,d[52]),W=v(W,$,Y,G,C,10,d[53]),G=v(G,W,$,Y,F,15,d[54]),Y=v(Y,G,W,$,L,21,d[55]),$=v($,Y,G,W,I,6,d[56]),W=v(W,$,Y,G,K,10,d[57]),G=v(G,W,$,Y,P,15,d[58]),Y=v(Y,G,W,$,B,21,d[59]),$=v($,Y,G,W,D,6,d[60]),W=v(W,$,Y,G,R,10,d[61]),G=v(G,W,$,Y,H,15,d[62]),Y=v(Y,G,W,$,z,21,d[63]),O[0]=O[0]+$|0,O[1]=O[1]+Y|0,O[2]=O[2]+G|0,O[3]=O[3]+W|0},_doFinalize:function(){var w=this._data,E=w.words,T=this._nDataBytes*8,x=w.sigBytes*8;E[x>>>5]|=128<<24-x%32;var _=n.floor(T/4294967296),O=T;E[(x+64>>>9<<4)+15]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,E[(x+64>>>9<<4)+14]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,w.sigBytes=(E.length+1)*4,this._process();for(var k=this._hash,L=k.words,H=0;H<4;H++){var C=L[H];L[H]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}return k},clone:function(){var w=c.clone.call(this);return w._hash=this._hash.clone(),w}});function m(w,E,T,x,_,O,k){var L=w+(E&T|~E&x)+_+k;return(L<<O|L>>>32-O)+E}function g(w,E,T,x,_,O,k){var L=w+(E&x|T&~x)+_+k;return(L<<O|L>>>32-O)+E}function y(w,E,T,x,_,O,k){var L=w+(E^T^x)+_+k;return(L<<O|L>>>32-O)+E}function v(w,E,T,x,_,O,k){var L=w+(T^(E|~x))+_+k;return(L<<O|L>>>32-O)+E}i.MD5=c._createHelper(p),i.HmacMD5=c._createHmacHelper(p)})(Math),r.MD5})})(nf)),nf.exports}var af={exports:{}},sf={exports:{}},TU=sf.exports,Vx;function CU(){return Vx||(Vx=1,(function(t,e){(function(r,n){t.exports=n(ls())})(TU,function(r){return(function(){var n=r,i=n.lib,o=i.WordArray,u=i.Hasher,c=n.algo,f=[],d=c.SHA1=u.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(p,m){for(var g=this._hash.words,y=g[0],v=g[1],w=g[2],E=g[3],T=g[4],x=0;x<80;x++){if(x<16)f[x]=p[m+x]|0;else{var _=f[x-3]^f[x-8]^f[x-14]^f[x-16];f[x]=_<<1|_>>>31}var O=(y<<5|y>>>27)+T+f[x];x<20?O+=(v&w|~v&E)+1518500249:x<40?O+=(v^w^E)+1859775393:x<60?O+=(v&w|v&E|w&E)-1894007588:O+=(v^w^E)-899497514,T=E,E=w,w=v<<30|v>>>2,v=y,y=O}g[0]=g[0]+y|0,g[1]=g[1]+v|0,g[2]=g[2]+w|0,g[3]=g[3]+E|0,g[4]=g[4]+T|0},_doFinalize:function(){var p=this._data,m=p.words,g=this._nDataBytes*8,y=p.sigBytes*8;return m[y>>>5]|=128<<24-y%32,m[(y+64>>>9<<4)+14]=Math.floor(g/4294967296),m[(y+64>>>9<<4)+15]=g,p.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var p=u.clone.call(this);return p._hash=this._hash.clone(),p}});n.SHA1=u._createHelper(d),n.HmacSHA1=u._createHmacHelper(d)})(),r.SHA1})})(sf)),sf.exports}var of={exports:{}},RU=of.exports,Gx;function AU(){return Gx||(Gx=1,(function(t,e){(function(r,n){t.exports=n(ls())})(RU,function(r){(function(){var n=r,i=n.lib,o=i.Base,u=n.enc,c=u.Utf8,f=n.algo;f.HMAC=o.extend({init:function(d,p){d=this._hasher=new d.init,typeof p=="string"&&(p=c.parse(p));var m=d.blockSize,g=m*4;p.sigBytes>g&&(p=d.finalize(p)),p.clamp();for(var y=this._oKey=p.clone(),v=this._iKey=p.clone(),w=y.words,E=v.words,T=0;T<m;T++)w[T]^=1549556828,E[T]^=909522486;y.sigBytes=v.sigBytes=g,this.reset()},reset:function(){var d=this._hasher;d.reset(),d.update(this._iKey)},update:function(d){return this._hasher.update(d),this},finalize:function(d){var p=this._hasher,m=p.finalize(d);p.reset();var g=p.finalize(this._oKey.clone().concat(m));return g}})})()})})(of)),of.exports}var OU=af.exports,Xx;function TA(){return Xx||(Xx=1,(function(t,e){(function(r,n,i){t.exports=n(ls(),CU(),AU())})(OU,function(r){return(function(){var n=r,i=n.lib,o=i.Base,u=i.WordArray,c=n.algo,f=c.MD5,d=c.EvpKDF=o.extend({cfg:o.extend({keySize:128/32,hasher:f,iterations:1}),init:function(p){this.cfg=this.cfg.extend(p)},compute:function(p,m){for(var g,y=this.cfg,v=y.hasher.create(),w=u.create(),E=w.words,T=y.keySize,x=y.iterations;E.length<T;){g&&v.update(g),g=v.update(p).finalize(m),v.reset();for(var _=1;_<x;_++)g=v.finalize(g),v.reset();w.concat(g)}return w.sigBytes=T*4,w}});n.EvpKDF=function(p,m,g){return d.create(g).compute(p,m)}})(),r.EvpKDF})})(af)),af.exports}var lf={exports:{}},MU=lf.exports,Wx;function DU(){return Wx||(Wx=1,(function(t,e){(function(r,n,i){t.exports=n(ls(),TA(
48))})(MU,function(r){r.lib.Cipher||(function(n){var i=r,o=i.lib,u=o.Base,c=o.WordArray,f=o.BufferedBlockAlgorithm,d=i.enc;d.Utf8;var p=d.Base64,m=i.algo,g=m.EvpKDF,y=o.Cipher=f.extend({cfg:u.extend(),createEncryptor:function(M,P){return this.create(this._ENC_XFORM_MODE,M,P)},createDecryptor:function(M,P){return this.create(this._DEC_XFORM_MODE,M,P)},init:function(M,P,U){this.cfg=this.cfg.extend(U),this._xformMode=M,this._key=P,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(M){return this._append(M),this._process()},finalize:function(M){M&&this._append(M);var P=this._doFinalize();return P},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function M(P){return typeof P=="string"?D:L}return function(P){return{encrypt:function(U,I,z){return M(I).encrypt(P,U,I,z)},decrypt:function(U,I,z){return M(I).decrypt(P,U,I,z)}}}})()});o.StreamCipher=y.extend({_doFinalize:function(){var M=this._process(!0);return M},blockSize:1});var v=i.mode={},w=o.BlockCipherMode=u.extend({createEncryptor:function(M,P){return this.Encryptor.create(M,P)},createDecryptor:function(M,P){return this.Decryptor.create(M,P)},init:function(M,P){this._cipher=M,this._iv=P}}),E=v.CBC=(function(){var M=w.extend();M.Encryptor=M.extend({processBlock:function(U,I){var z=this._cipher,F=z.blockSize;P.call(this,U,I,F),z.encryptBlock(U,I),this._prevBlock=U.slice(I,I+F)}}),M.Decryptor=M.extend({processBlock:function(U,I){var z=this._cipher,F=z.blockSize,R=U.slice(I,I+F);z.decryptBlock(U,I),P.call(this,U,I,F),this._prevBlock=R}});function P(U,I,z){var F,R=this._iv;R?(F=R,this._iv=n):F=this._prevBlock;for(var A=0;A<z;A++)U[I+A]^=F[A]}return M})(),T=i.pad={},x=T.Pkcs7={pad:function(M,P){for(var U=P*4,I=U-M.sigBytes%U,z=I<<24|I<<16|I<<8|I,F=[],R=0;R<I;R+=4)F.push(z);var A=c.create(F,I);M.concat(A)},unpad:function(M){var P=M.words[M.sigBytes-1>>>2]&255;M.sigBytes-=P}};o.BlockCipher=y.extend({cfg:y.cfg.extend({mode:E,padding:x}),reset:function(){var M;y.reset.call(this);var P=this.cfg,U=P.iv,I=P.mode;this._xformMode==this._ENC_XFORM_MODE?M=I.createEncryptor:(M=I.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==M?this._mode.init(this,U&&U.words):(this._mode=M.call(I,this,U&&U.words),this._mode.__creator=M)},_doProcessBlock:function(M,P){this._mode.processBlock(M,P)},_doFinalize:function(){var M,P=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(P.pad(this._data,this.blockSize),M=this._process(!0)):(M=this._process(!0),P.unpad(M)),M},blockSize:128/32});var _=o.CipherParams=u.extend({init:function(M){this.mixIn(M)},toString:function(M){return(M||this.formatter).stringify(this)}}),O=i.format={},k=O.OpenSSL={stringify:function(M){var P,U=M.ciphertext,I=M.salt;return I?P=c.create([1398893684,1701076831]).concat(I).concat(U):P=U,P.toString(p)},parse:function(M){var P,U=p.parse(M),I=U.words;return I[0]==1398893684&&I[1]==1701076831&&(P=c.create(I.slice(2,4)),I.splice(0,4),U.sigBytes-=16),_.create({ciphertext:U,salt:P})}},L=o.SerializableCipher=u.extend({cfg:u.extend({format:k}),encrypt:function(M,P,U,I){I=this.cfg.extend(I);var z=M.createEncryptor(U,I),F=z.finalize(P),R=z.cfg;return _.create({ciphertext:F,key:U,iv:R.iv,algorithm:M,mode:R.mode,padding:R.padding,blockSize:M.blockSize,formatter:I.format})},decrypt:function(M,P,U,I){I=this.cfg.extend(I),P=this._parse(P,I.format);var z=M.createDecryptor(U,I).finalize(P.ciphertext);return z},_parse:function(M,P){return typeof M=="string"?P.parse(M,this):M}}),H=i.kdf={},C=H.OpenSSL={execute:function(M,P,U,I,z){if(I||(I=c.random(64/8)),z)var F=g.create({keySize:P+U,hasher:z}).compute(M,I);else var F=g.create({keySize:P+U}).compute(M,I);var R=c.create(F.words.slice(P),U*4);return F.sigBytes=P*4,_.create({key:F,iv:R,salt:I})}},D=o.PasswordBasedCipher=L.extend({cfg:L.cfg.extend({kdf:C}),encrypt:function(M,P,U,I){I=this.cfg.extend(I);var z=I.kdf.execute(U,M.keySize,M.ivSize,I.salt,I.hasher);I.iv=z.iv;var F=L.encrypt.call(this,M,P,z.key,I);return F.mixIn(z),F},decrypt:function(M,P,U,I){I=this.cfg.extend(I),P=this._parse(P,I.format);var z=I.kdf.execute(U,M.keySize,M.ivSize,P.salt,I.hasher);I.iv=z.iv;var F=L.decrypt.call(this,M,P,z.key,I);return F}})})()})}
48)(lf)),lf.exports}var kU=ef.exports,Kx;function LU(){return Kx||(Kx=1,(function(t,e){(function(r,n,i){t.exports=n(ls(),EU(),_U(),TA(),DU())})(kU,function(r){return(function(){var n=r,i=n.lib,o=i.BlockCipher,u=n.algo,c=[],f=[],d=[],p=[],m=[],g=[],y=[],v=[],w=[],E=[];(function(){for(var _=[],O=0;O<256;O++)O<128?_[O]=O<<1:_[O]=O<<1^283;for(var k=0,L=0,O=0;O<256;O++){var H=L^L<<1^L<<2^L<<3^L<<4;H=H>>>8^H&255^99,c[k]=H,f[H]=k;var C=_[k],D=_[C],M=_[D],P=_[H]*257^H*16843008;d[k]=P<<24|P>>>8,p[k]=P<<16|P>>>16,m[k]=P<<8|P>>>24,g[k]=P;var P=M*16843009^D*65537^C*257^k*16843008;y[H]=P<<24|P>>>8,v[H]=P<<16|P>>>16,w[H]=P<<8|P>>>24,E[H]=P,k?(k=C^_[_[_[M^C]]],L^=_[_[L]]):k=L=1}})();var T=[0,1,2,4,8,16,32,64,128,27,54],x=u.AES=o.extend({_doReset:function(){var _;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var O=this._keyPriorReset=this._key,k=O.words,L=O.sigBytes/4,H=this._nRounds=L+6,C=(H+1)*4,D=this._keySchedule=[],M=0;M<C;M++)M<L?D[M]=k[M]:(_=D[M-1],M%L?L>6&&M%L==4&&(_=c[_>>>24]<<24|c[_>>>16&255]<<16|c[_>>>8&255]<<8|c[_&255]):(_=_<<8|_>>>24,_=c[_>>>24]<<24|c[_>>>16&255]<<16|c[_>>>8&255]<<8|c[_&255],_^=T[M/L|0]<<24),D[M]=D[M-L]^_);for(var P=this._invKeySchedule=[],U=0;U<C;U++){var M=C-U;if(U%4)var _=D[M];else var _=D[M-4];U<4||M<=4?P[U]=_:P[U]=y[c[_>>>24]]^v[c[_>>>16&255]]^w[c[_>>>8&255]]^E[c[_&255]]}}},encryptBlock:function(_,O){this._doCryptBlock(_,O,this._keySchedule,d,p,m,g,c)},decryptBlock:function(_,O){var k=_[O+1];_[O+1]=_[O+3],_[O+3]=k,this._doCryptBlock(_,O,this._invKeySchedule,y,v,w,E,f);var k=_[O+1];_[O+1]=_[O+3],_[O+3]=k},_doCryptBlock:function(_,O,k,L,H,C,D,M){for(var P=this._nRounds,U=_[O]^k[0],I=_[O+1]^k[1],z=_[O+2]^k[2],F=_[O+3]^k[3],R=4,A=1;A<P;A++){var B=L[U>>>24]^H[I>>>16&255]^C[z>>>8&255]^D[F&255]^k[R++],q=L[I>>>24]^H[z>>>16&255]^C[F>>>8&255]^D[U&255]^k[R++],K=L[z>>>24]^H[F>>>16&255]^C[U>>>8&255]^D[I&255]^k[R++],$=L[F>>>24]^H[U>>>16&255]^C[I>>>8&255]^D[z&255]^k[R++];U=B,I=q,z=K,F=$}var B=(M[U>>>24]<<24|M[I>>>16&255]<<16|M[z>>>8&255]<<8|M[F&255])^k[R++],q=(M[I>>>24]<<24|M[z>>>16&255]<<16|M[F>>>8&255]<<8|M[U&255])^k[R++],K=(M[z>>>24]<<24|M[F>>>16&255]<<16|M[U>>>8&255]<<8|M[I&255])^k[R++],$=(M[F>>>24]<<24|M[U>>>16&255]<<16|M[I>>>8&255]<<8|M[z&255])^k[R++];_[O]=B,_[O+1]=q,_[O+2]=K,_[O+3]=$},keySize:256/32});n.AES=o._createHelper(x)})(),r.AES})})(ef)),ef.exports}var NU=LU();const jv=qs(NU);var uf={exports:{}},PU=uf.exports,Qx;function zU(){return Qx||(Qx=1,(function(t,e){(function(r,n){t.exports=n(ls())})(PU,function(r){return r.enc.Utf8})})(uf)),uf.exports}var jU=zU();const IU=qs(jU),UU=(t,e)=>{const r=new Array(t.length+e.length);for(let n=0;n<t.length;n++)r[n]=t[n];for(let n=0;n<e.length;n++)r[t.length+n]=e[n];return r},$U=(t,e)=>({classGroupId:t,validator:e}),CA=(t=new Map,e=null,r)=>({nextPart:t,validators:e,classGroupId:r}),Tf="-",Zx=[],HU="arbitrary..",BU=t=>{const e=qU(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return FU(u);const c=u.split(Tf),f=c[0]===""&&c.length>1?1:0;return RA(c,f,e)},getConflictingClassGroupIds:(u,c)=>{if(c){const f=n[u],d=r[u];return f?d?UU(d,f):f:d||Zx}return r[u]||Zx}}},RA=(t,e,r)=>{if(t.length-e===0)return r.classGroupId;const i=t[e],o=r.nextPart.get(i);if(o){const d=RA(t,e+1,o);if(d)return d}const u=r.validators;if(u===null)return;const c=e===0?t.join(Tf):t.slice(e).join(Tf),f=u.length;for(let d=0;d<f;d++){const p=u[d];if(p.validator(c))return p.classGroupId}},FU=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),r=e.indexOf(":"),n=e.slice(0,r);return n?HU+n:void 0})(),qU=t=>{const{theme:e,classGroups:r}=t;return YU(r,e)},YU=(t,e)=>{const r=CA();for(const n in t){const i=t[n];sb(i,r,n,e)}return r},sb=(t,e,r,n)=>{const i=t.length;for(let o=0;o<i;o++){const u=t[o];VU(u,e,r,n)}},VU=(t,e,r,n)=>{if(typeof t=="string"){GU(t,e,r);return}if(typeof t=="function"){XU(t,e,r,n);return}WU(t,e,r,n)},GU=(t,e,r)=>{const n=t===""?e:AA(e,t);n.classGroupId=r},XU=(t,e,r,n)=>{if(KU(t)){sb(t(n),e,r,n);return}e.validators===null&&(e.validators=[]),e.validators.push($U(r,t))},WU=(t,e,r,n)=>{const i=Object.entries(t),o=i.length;for(let u=0;u<o;u++){const[c,f]=i[u];sb(f,AA(e,c),r,n)}},AA=(t,e)=>{let r=t;const n=e.split(Tf),i=n.length;for(let o=0;o<i;o++){const u=n[o];let c=r.nextPart.get(u);c||(c=CA(),r.nextPart.set(u,c)),r=c}return r},KU=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,QU=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=Object.create(null),n=Object.create(null);const i=(o,u)=>{r[o]=u,e++,e>t&&(e=0,n=r,r=Object.create(null))};
48return{get(o){let u=r[o];if(u!==void 0)return u;if((u=n[o])!==void 0)return i(o,u),u},set(o,u){o in r?r[o]=u:i(o,u)}}},Iv="!",Jx=":",ZU=[],e_=(t,e,r,n,i)=>({modifiers:t,hasImportantModifier:e,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),JU=t=>{const{prefix:e,experimentalParseClassName:r}=t;let n=i=>{const o=[];let u=0,c=0,f=0,d;const p=i.length;for(let w=0;w<p;w++){const E=i[w];if(u===0&&c===0){if(E===Jx){o.push(i.slice(f,w)),f=w+1;continue}if(E==="/"){d=w;continue}}E==="["?u++:E==="]"?u--:E==="("?c++:E===")"&&c--}const m=o.length===0?i:i.slice(f);let g=m,y=!1;m.endsWith(Iv)?(g=m.slice(0,-1),y=!0):m.startsWith(Iv)&&(g=m.slice(1),y=!0);const v=d&&d>f?d-f:void 0;return e_(o,y,g,v)};if(e){const i=e+Jx,o=n;n=u=>u.startsWith(i)?o(u.slice(i.length)):e_(ZU,!1,u,void 0,!0)}if(r){const i=n;n=o=>r({className:o,parseClassName:i})}return n},e$=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((r,n)=>{e.set(r,1e6+n)}),r=>{const n=[];let i=[];for(let o=0;o<r.length;o++){const u=r[o],c=u[0]==="[",f=e.has(u);c||f?(i.length>0&&(i.sort(),n.push(...i),i=[]),n.push(u)):i.push(u)}return i.length>0&&(i.sort(),n.push(...i)),n}},t$=t=>({cache:QU(t.cacheSize),parseClassName:JU(t),sortModifiers:e$(t),postfixLookupClassGroupIds:r$(t),...BU(t)}),r$=t=>{const e=Object.create(null),r=t.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)e[r[n]]=!0;return e},n$=/\s+/,a$=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:o,postfixLookupClassGroupIds:u}=e,c=[],f=t.trim().split(n$);let d="";for(let p=f.length-1;p>=0;p-=1){const m=f[p],{isExternal:g,modifiers:y,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:E}=r(m);if(g){d=m+(d.length>0?" "+d:d);continue}let T=!!E,x;if(T){const H=w.substring(0,E);x=n(H);const C=x&&u[x]?n(w):void 0;C&&C!==x&&(x=C,T=!1)}else x=n(w);if(!x){if(!T){d=m+(d.length>0?" "+d:d);continue}if(x=n(w),!x){d=m+(d.length>0?" "+d:d);continue}T=!1}const _=y.length===0?"":y.length===1?y[0]:o(y).join(":"),O=v?_+Iv:_,k=O+x;if(c.indexOf(k)>-1)continue;c.push(k);const L=i(x,T);for(let H=0;H<L.length;++H){const C=L[H];c.push(O+C)}d=m+(d.length>0?" "+d:d)}return d},i$=(...t)=>{let e=0,r,n,i="";for(;e<t.length;
vendor: 4,632 bytes, line 48
48)(r=t[e++])&&(n=OA(r))&&(i&&(i+=" "),i+=n);return i},OA=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=OA(t[n]))&&(r&&(r+=" "),r+=e);return r},s$=(t,...e)=>{let r,n,i,o;const u=f=>{const d=e.reduce((p,m)=>m(p),t());return r=t$(d),n=r.cache.get,i=r.cache.set,o=c,c(f)},c=f=>{const d=n(f);if(d)return d;const p=a$(f,r);return i(f,p),p};return o=u,(...f)=>o(i$(...f))},o$=[],Rr=t=>{const e=r=>r[t]||o$;return e.isThemeGetter=!0,e},MA=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,DA=/^\((?:(\w[\w-]*):)?(.+)\)$/i,l$=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,u$=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,c$=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,d$=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,f$=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,h$=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wi=t=>l$.test(t),at=t=>!!t&&!Number.isNaN(Number(t)),_a=t=>!!t&&Number.isInteger(Number(t)),gg=t=>t.endsWith("%")&&at(t.slice(0,-1)),oi=t=>u$.test(t),kA=()=>!0,p$=t=>c$.test(t)&&!d$.test(t),ob=()=>!1,m$=t=>f$.test(t),g$=t=>h$.test(t),v$=t=>!Ce(t)&&!Me(t),y$=t=>t.startsWith("@container")&&(t[10]==="/"&&t[11]!==void 0||t[11]==="s"&&t[16]!==void 0&&t.startsWith("-size/",10)||t[11]==="n"&&t[18]!==void 0&&t.startsWith("-normal/",10)),b$=t=>us(t,PA,ob),Ce=t=>MA.test(t),Rs=t=>us(t,zA,p$),t_=t=>us(t,R$,at),w$=t=>us(t,IA,kA),S$=t=>us(t,jA,ob),r_=t=>us(t,LA,ob),E$=t=>us(t,NA,g$),Nd=t=>us(t,UA,m$),Me=t=>DA.test(t),mu=t=>Xs(t,zA),x$=t=>Xs(t,jA),n_=t=>Xs(t,LA),_$=t=>Xs(t,PA),T$=t=>Xs(t,NA),Pd=t=>Xs(t,UA,!0),C$=t=>Xs(t,IA,!0),us=(t,e,r)=>{const n=MA.exec(t);return n?n[1]?e(n[1]):r(n[2]):!1},Xs=(t,e,r=!1)=>{const n=DA.exec(t);return n?n[1]?e(n[1]):r:!1},LA=t=>t==="position"||t==="percentage",NA=t=>t==="image"||t==="url",PA=t=>t==="length"||t==="size"||t==="bg-size",zA=t=>t==="length",R$=t=>t==="number",jA=t=>t==="family-name",IA=t=>t==="number"||t==="weight",UA=t=>t==="shadow",A$=()=>{const t=Rr("color"),e=Rr("font"),r=Rr("text"),n=Rr("font-weight"),i=Rr("tracking"),o=Rr("leading"),u=Rr("breakpoint"),c=Rr("container"),f=Rr("spacing"),d=Rr("radius"),p=Rr("shadow"),m=Rr("inset-shadow"),g=Rr("text-shadow"),y=Rr("drop-shadow"),v=Rr("blur"),w=Rr("perspective"),E=Rr("aspect"),T=Rr("ease"),x=Rr("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...O(),Me,Ce],L=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],C=()=>[Me,Ce,f],D=()=>[Wi,"full","auto",...C()],M=()=>[_a,"none","subgrid",Me,Ce],P=()=>["auto",{span:["full",_a,Me,Ce]},_a,Me,Ce],U=()=>[_a,"auto",Me,Ce],I=()=>["auto","min","max","fr",Me,Ce],z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],F=()=>["start","end","center","stretch","center-safe","end-safe"],R=()=>["auto",...C()],A=()=>[Wi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],B=()=>[Wi,"screen","full","dvw","lvw","svw","min","max","fit",...C()],q=()=>[Wi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],K=()=>[t,Me,Ce],$=()=>[...O(),n_,r_,{position:[Me,Ce]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],G=()=>["auto","cover","contain",_$,b$,{size:[Me,Ce]}],W=()=>[gg,mu,Rs],X=()=>["","none","full",d,Me,Ce],Q=()=>["",at,mu,Rs],ae=()=>["solid","dashed","dotted","double"],de=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[at,gg,n_,r_],Se=()=>["","none",v,Me,Ce],be=()=>["none",at,Me,Ce],ke=()=>["none",at,Me,Ce],Ue=()=>[at,Me,Ce],Pe=()=>[Wi,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[oi],breakpoint:[oi],color:[kA],container:[oi],"drop-shadow":[oi],ease:["in","out","in-out"],font:[v$],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[oi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[oi],shadow:[oi],spacing:["px",at],text:[oi],"text-shadow":[oi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Wi,Ce,Me,E]}],container:["container"],"container-type":[{"@container":["","normal","size",Me,Ce]}
vendor: 6,120 bytes, line 48
48],"container-named":[y$],columns:[{columns:[at,Ce,Me,c]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:D()}],"inset-x":[{"inset-x":D()}],"inset-y":[{"inset-y":D()}],start:[{"inset-s":D(),start:D()}],end:[{"inset-e":D(),end:D()}],"inset-bs":[{"inset-bs":D()}],"inset-be":[{"inset-be":D()}],top:[{top:D()}],right:[{right:D()}],bottom:[{bottom:D()}],left:[{left:D()}],visibility:["visible","invisible","collapse"],z:[{z:[_a,"auto",Me,Ce]}],basis:[{basis:[Wi,"full","auto",c,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[at,Wi,"auto","initial","none",Ce]}],grow:[{grow:["",at,Me,Ce]}],shrink:[{shrink:["",at,Me,Ce]}],order:[{order:[_a,"first","last","none",Me,Ce]}],"grid-cols":[{"grid-cols":M()}],"col-start-end":[{col:P()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":M()}],"row-start-end":[{row:P()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...z(),"normal"]}],"justify-items":[{"justify-items":[...F(),"normal"]}],"justify-self":[{"justify-self":["auto",...F()]}],"align-content":[{content:["normal",...z()]}],"align-items":[{items:[...F(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...F(),{baseline:["","last"]}]}],"place-content":[{"place-content":z()}],"place-items":[{"place-items":[...F(),"baseline"]}],"place-self":[{"place-self":["auto",...F()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:R()}],mx:[{mx:R()}],my:[{my:R()}],ms:[{ms:R()}],me:[{me:R()}],mbs:[{mbs:R()}],mbe:[{mbe:R()}],mt:[{mt:R()}],mr:[{mr:R()}],mb:[{mb:R()}],ml:[{ml:R()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:A()}],"inline-size":[{inline:["auto",...B()]}],"min-inline-size":[{"min-inline":["auto",...B()]}],"max-inline-size":[{"max-inline":["none",...B()]}],"block-size":[{block:["auto",...q()]}],"min-block-size":[{"min-block":["auto",...q()]}],"max-block-size":[{"max-block":["none",...q()]}],w:[{w:[c,"screen",...A()]}],"min-w":[{"min-w":[c,"screen","none",...A()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[u]},...A()]}],h:[{h:["screen","lh",...A()]}],"min-h":[{"min-h":["screen","lh","none",...A()]}],"max-h":[{"max-h":["screen","lh",...A()]}],"font-size":[{text:["base",r,mu,Rs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,C$,w$]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",gg,Ce]}],"font-family":[{font:[x$,S$,e]}],"font-features":[{"font-features":[Ce]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Me,Ce]}],"line-clamp":[{"line-clamp":[at,"none",Me,t_]}],leading:[{leading:[o,...C()]}],"list-image":[{"list-image":["none",Me,Ce]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Me,Ce]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:K()}],"text-color":[{text:K()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:[at,"from-font","auto",Me,Rs]}],"text-decoration-color":[{decoration:K()}],"underline-offset":[{"underline-offset":[at,"auto",Me,Ce]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"tab-size":[{tab:[_a,Me,Ce]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Me,Ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Me,Ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:$()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_a,Me,Ce],radial:["",Me,Ce],conic:[_a,Me,Ce]},T$,E$]}],"bg-color":[{bg:K()}],"gradient-from-pos":[{from:W()}
vendor: 6,647 bytes, line 48
48],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:K()}],"gradient-via":[{via:K()}],"gradient-to":[{to:K()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:Q()}],"border-w-x":[{"border-x":Q()}],"border-w-y":[{"border-y":Q()}],"border-w-s":[{"border-s":Q()}],"border-w-e":[{"border-e":Q()}],"border-w-bs":[{"border-bs":Q()}],"border-w-be":[{"border-be":Q()}],"border-w-t":[{"border-t":Q()}],"border-w-r":[{"border-r":Q()}],"border-w-b":[{"border-b":Q()}],"border-w-l":[{"border-l":Q()}],"divide-x":[{"divide-x":Q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ae(),"hidden","none"]}],"divide-style":[{divide:[...ae(),"hidden","none"]}],"border-color":[{border:K()}],"border-color-x":[{"border-x":K()}],"border-color-y":[{"border-y":K()}],"border-color-s":[{"border-s":K()}],"border-color-e":[{"border-e":K()}],"border-color-bs":[{"border-bs":K()}],"border-color-be":[{"border-be":K()}],"border-color-t":[{"border-t":K()}],"border-color-r":[{"border-r":K()}],"border-color-b":[{"border-b":K()}],"border-color-l":[{"border-l":K()}],"divide-color":[{divide:K()}],"outline-style":[{outline:[...ae(),"none","hidden"]}],"outline-offset":[{"outline-offset":[at,Me,Ce]}],"outline-w":[{outline:["",at,mu,Rs]}],"outline-color":[{outline:K()}],shadow:[{shadow:["","none",p,Pd,Nd]}],"shadow-color":[{shadow:K()}],"inset-shadow":[{"inset-shadow":["none",m,Pd,Nd]}],"inset-shadow-color":[{"inset-shadow":K()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:K()}],"ring-offset-w":[{"ring-offset":[at,Rs]}],"ring-offset-color":[{"ring-offset":K()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":K()}],"text-shadow":[{"text-shadow":["none",g,Pd,Nd]}],"text-shadow-color":[{"text-shadow":K()}],opacity:[{opacity:[at,Me,Ce]}],"mix-blend":[{"mix-blend":[...de(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":de()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[at]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":K()}],"mask-image-linear-to-color":[{"mask-linear-to":K()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":K()}],"mask-image-t-to-color":[{"mask-t-to":K()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":K()}],"mask-image-r-to-color":[{"mask-r-to":K()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":K()}],"mask-image-b-to-color":[{"mask-b-to":K()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":K()}],"mask-image-l-to-color":[{"mask-l-to":K()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":K()}],"mask-image-x-to-color":[{"mask-x-to":K()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":K()}],"mask-image-y-to-color":[{"mask-y-to":K()}],"mask-image-radial":[{"mask-radial":[Me,Ce]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":K()}],"mask-image-radial-to-color":[{"mask-radial-to":K()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[at]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":K()}],"mask-image-conic-to-color":[{"mask-conic-to":K()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:$()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Me,Ce]}],filter:[{filter:["","none",Me,Ce]}],blur:[{blur:Se()}],brightness:[{brightness:[at,Me,Ce]}],contrast:[{contrast:[at,Me,Ce]}],"drop-shadow":[{"drop-shadow":["","none",y,Pd,Nd]}],"drop-shadow-color":[{"drop-shadow":K()}],grayscale:[{grayscale:["",at,Me,Ce]}],"hue-rotate":[{"hue-rotate":[at,Me,Ce]}],invert:[{invert:["",at,Me,Ce]}],saturate:[{saturate:[at,Me,Ce]}],sepia:[{sepia:["",at,Me,Ce]}],"backdrop-filter":[{"backdrop-filter":["","none",Me,Ce]}],"backdrop-blur":[{"backdrop-blur":Se()}],"backdrop-brightness":[{"backdrop-brightness":[at,Me,Ce]}],"backdrop-contrast":[{"backdrop-contrast":[at,Me,Ce]}],"backdrop-grayscale":[{"backdrop-grayscale":["",at,Me,Ce]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[at,Me,Ce]}],"backdrop-invert":[{"backdrop-invert":["",at,Me,Ce]}],"backdrop-opacity":[{"backdrop-opacity":[at,Me,Ce]}],"backdrop-saturate":[{"backdrop-saturate":[at,Me,Ce]}],"backdrop-sepia":[{"backdrop-sepia":["",at,Me,Ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Me,Ce]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[at,"initial",Me,Ce]}],ease:[{ease:["linear","initial",T,Me,Ce]}],delay:[{delay:[at,Me,Ce]}],animate:[{animate:["none",x,Me,Ce]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,Me,Ce]}],"perspective-origin":[{"perspective-origin":k()}
vendor: 5,931 bytes, line 48
48],rotate:[{rotate:be()}],"rotate-x":[{"rotate-x":be()}],"rotate-y":[{"rotate-y":be()}],"rotate-z":[{"rotate-z":be()}],scale:[{scale:ke()}],"scale-x":[{"scale-x":ke()}],"scale-y":[{"scale-y":ke()}],"scale-z":[{"scale-z":ke()}],"scale-3d":["scale-3d"],skew:[{skew:Ue()}],"skew-x":[{"skew-x":Ue()}],"skew-y":[{"skew-y":Ue()}],transform:[{transform:[Me,Ce,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Pe()}],"translate-x":[{"translate-x":Pe()}],"translate-y":[{"translate-y":Pe()}],"translate-z":[{"translate-z":Pe()}],"translate-none":["translate-none"],zoom:[{zoom:[_a,Me,Ce]}],accent:[{accent:K()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:K()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Me,Ce]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":K()}],"scrollbar-track-color":[{"scrollbar-track":K()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Me,Ce]}],fill:[{fill:["none",...K()]}],"stroke-w":[{stroke:[at,mu,Rs,t_]}],stroke:[{stroke:["none",...K()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},O$=s$(A$);var M$=(t=>(t.ACTIVE="ACTIVE",t.INACTIVE="INACTIVE",t.PENDING="PENDING",t.PAID="PAID",t.OVERDUE="OVERDUE",t.VISIBLE="VISIBLE",t.HIDDEN="HIDDEN",t.DELET
48ED="DELETED",t.REPORTED="REPORTED",t.APPROVED="APPROVED",t.REJECTED="REJECTED",t))(M$||{}),D$=(t=>(t.SPAM="SPAM",t.INAPPROPRIATE="INAPPROPRIATE",t.OTHER="OTHER",t.VIOLENCE="VIOLENCE",t.FAKE_NEWS="FAKE_NEWS",t))(D$||{}),k$=(t=>(t.LIKE="LIKE",t.DISLIKE="DISLIKE",t))(k$||{}),L$=(t=>(t.ID_ACTIVE="ID_ACTIVE",t.ID_INACTIVE="ID_INACTIVE",t.ID_BLOCKED="ID_BLOCKED",t.ID_PENDING_PAYMENT="ID_PENDING_PAYMENT",t.ID_PENDING_TRANSFER="ID_PENDING_TRANSFER",t.MEMBERSHIP_EXIST="MEMBERSHIP_EXIST",t.ENTITY_FOUND="ENTITY_FOUND",t.NO_MEMBERSHIP="NO_MEMBERSHIP",t.PAYMENT_FAILED="PAYMENT_FAILED",t))(L$||{}),N$=(t=>(t.RES_COBRANZAS="RES_COBRANZAS",t.TRANSFER="TRANSFER",t.PAYROLL_DEBIT="PAYROLL_DEBIT",t))(N$||{}),lb=(t=>(t.CUSTOMER="datosCliente",t))(lb||{}),bu=(t=>(t.DNI="identificacion",t.NAME="nombres",t.LASTNAME="apellidos",t.EMAIL="correo",t.PHONE="telefono_celular",t))(bu||{}),P$=(t=>(t.TRANSFER="TRANSFER",t.CREDIT_CARD="CREDIT_CARD",t))(P$||{}),z$=(t=>(t.CEDULA="CEDULA",t.RUC="RUC",t.PASAPORTE="PASAPORTE",t))(z$||{});const j$=t=>{let e=null;return t&&typeof t=="object"?e=jv.encrypt(JSON.stringify(t),Tt.KEY_ENCRIPT_STORAGE).toString():t&&typeof t=="string"&&(e=jv.encrypt(t,Tt.KEY_ENCRIPT_STORAGE).toString()),e},I$=t=>{let e=null;try{e=jv.decrypt(t,Tt.KEY_ENCRIPT_STORAGE).toString(IU),al.IsJsonString(e)&&(e=JSON.parse(e))}catch(r){console.error("error al desencriptar "+r),e=null}return e},Cf=()=>{let t=null;try{localStorage.getItem(Mu)&&(t=localStorage.getItem(Mu),t=t?I$(t):null)}catch(e){console.error("Error al obtener user:",e),t=null}return t},wu=t=>{try{const e=j$(t);e?localStorage.setItem(Mu,e):localStorage.removeItem(Mu)}catch(e){console.error("Error al set user:",e),localStorage.removeItem(Mu)}};function TG(...t){return O$(Re(t))}const U$=t=>{if(Array.isArray(t))return t.flat().join(` 49`)||"Error de validación";if(typeof t=="object")return Object.values(t)[0]?.[0]??"Error de validación"},CG=t=>{const e=t?.data?.errors??t?.errors,r=[],n=i=>{i!=null&&(typeof i=="string"?r.push(i):Array.isArray(i)?i.forEach(n):typeof i=="object"&&Object.values(i).forEach(n))};return n(e),r.length?r.join(` 50`):null},a_=(t,e)=>{const n=(t?.data?.errors??t?.errors)?.[lb.CUSTOMER]?.[e];return Array.isArray(n)?n.length>0:!!n},RG=t=>a_(t,bu.PHONE)?bu.PHONE:a_(t,bu.EMAIL)?bu.EMAIL:null,AG=(t,e)=>(t?.data?.sent??t?.sent)?.[e]??null,OG=(t,e)=>{const n=(t?.data?.errors??t?.errors)?.[lb.CUSTOMER]?.[e];return Array.isArray(n)?n[0]??null:n??null};function $$(t){if(!t)return;const e=t.trim();return e.startsWith("#")?e:`#${e}`}function MG(t){const e=$$(t)?.replace("#","");if(!e)return"#ffffff";const r=e.length===3?e.split("").map(c=>c+c).join(""):e,n=parseInt(r.slice(0,2),16),i=parseInt(r.slice(2,4),16),o=parseInt(r.slice(4,6),16);return(n*299+i*587+o*114)/1e3>=128?"#0f172a":"#ffffff"}const ub=hr.create({baseURL:"https://app-backend.elnacional.ec",timeout:15e3});ub.interceptors.request.use(t=>{const e=Cf()?.token;return e&&(t.headers.Authorization=`Bearer ${e}`),t});ub.interceptors.response.use(t=>t,t=>(t.response?.status===401&&(window.location.href="/login",wu(null)),Promise.reject(t)));const rr={async request(t,e,r=null,n={}){try{r instanceof FormData&&(n.headers={...n.headers||{},"Content-Type":"multipart/form-data"});const i=await ub({method:t,url:e,data:r,...n});return Tt.processResponse(!0,i.data)}catch(i){throw Tt.processResponse(!1,null,i)}}},zd={getFormData:t=>rr.request("get",Tt.getApiBaseURL("admin","fans",null,"formData",t)),getShowFan:()=>rr.request("get",Tt.getApiBaseURL("admin","fans",null,"getShow",null)),getInfo:()=>rr.request("get",Tt.getApiBaseURL("admin","fans",null,"getInfo",null)),postSaveVolunteer:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"postSaveVolunteer",null),t),updatePassword:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",t.id,"updatePassword",null),t),postCredentialsVerification:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"credentialsVerification",null),t),postSendValidationCode:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"sendValidationCode",null),t),postVerificationCode:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"verification-code",null),t),postForgotPassword:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"forgotPassword",null),t),postPasswordRecovery:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"passwordRecovery",null),t),postLogin:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"login",null),t),postLoginSuperAdmin:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"login-super-admin",null),t),updateMyPassword:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"updateMyPassword",null),t),postUpdateMyProfile:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"update-my-profile",null),t),postUpdateCheckoutFan:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"update-checkout-fan",null),t),postRequestOtpRegister:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"requestOtpRegister",null),t),postVerifyAndRegister:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"verifyAndRegister",null),t),getSearchUserFan:t=>rr.request("get",Tt.getApiAdminBaseURL("core","fans",null,"searchUserFan",t)),getSearchUserFanRegister:t=>rr.request("get",Tt.getApiAdminBaseURL("core","fans",null,"searchUserFanRegister",t)),postRequestMembershipOtpRegister:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"requestMembershipOtpRegister",null),t),getSocialRedirect:t=>rr.request("get",Tt.getApiBaseURL("admin","fans",null,`social/${t}/redirect`,null),{}),postSocialExchange:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"social/exchange",null),{code:t}),postVerifyAndRegisterMembership:t=>rr.request("post",Tt.getApiBaseURL("admin","fans",null,"verifyAndRegisterMembership",null),t),getMyOrdersPendingDonations:t=>rr.request("get",Tt.getApiBaseURL("admin","fans",null,"my-orders-pending-list",t))},H$={isAuthenticated:!1,isLoading:!1,isInitialized:!1,errorMessage:null,user:Cf()??null,login:async()=>null,logout:async()=>{},forgotPassword:async()=>null,credentialsVerification:async()=>null,loginSuperAdmin:async()=>null,registerSuccess:async()=>null},B$={INITIALIZE:(t,e)=>({...t,isAuthenticated:e.payload?.isAuthenticated??!1,isInitialized:!0,user:e.payload?.user??null}),LOGIN_REQUEST:t=>({...t,isLoading:!0}),LOGIN_SUCCESS:(t,e)=>({...t,isAuthenticated:!0,isLoading:!1,user:e.payload?.user??null}),LOGIN_ERROR:(t,e)=>({...t,errorMessage:e.payload?.errorMessage??"Ha ocurrido un error",isLoading:!1}),LOGOUT:t=>({...t,isAuthenticated:!1,user:null})},F$=(t,e)=>{const r=B$[e.type];return r?r(t,e):t};function q$({children:t}){const[e,r]=j.useReducer(F$,H$);j.useEffect(()=>{(async()=>{try{const p=Cf();p?(du(p.token),r({type:"INITIALIZE",payload:{isAuthenticated:!0,user:Cf()}})):r({type:"INITIALIZE",payload:{isAuthenticated:!1,user:null}})}catch(p){console.error(p),r({type:"INITIALIZE",payload:{isAuthenticated:!1,user:null}})}})()},[]);const n=async d=>{r({type:"LOGIN_REQUEST"});try{const p=await zd.postLogin(d);if(!p?.satisfactory){Ov.custom(p?.title,p?.message??null,"error");return}const m=p?.data.fan;return du(m.token),wu(m),r({type:"LOGIN_SUCCESS",payload:{user:m}}),r({type:"LOGIN_ERROR",payload:{errorMessage:""}}),p}catch(p){r({type:"LOGIN_ERROR",payload:{errorMessage:p.message??"Error al iniciar Sesión"}})}},i=async d=>{r({type:"LOGIN_REQUEST"});try{const p=d;return du(p.token),wu(p),r({type:"LOGIN_SUCCESS",payload:{user:p}}),r({type:"LOGIN_ERROR",payload:{errorMessage:""}}),d}catch(p){r({type:"LOGIN_ERROR",payload:{errorMessage:p.message??"Error al iniciar Sesión"}})}},o=async d=>{r({type:"LOGIN_REQUEST"});try{const p=await zd.postLoginSuperAdmin(d);if(!p?.satisfactory)return Ov.custom(p?.title,p?.message??null,"error"),p;const m=p?.data.user;return du(m.token),wu(m),r({type:"LOGIN_SUCCESS",payload:{user:m}}),p}catch(p){return r({type:"LOGIN_ERROR",payload:{errorMessage:p.message??"Error al iniciar Sesión"}}),null}},u=async d=>{try{const p=await zd.postCredentialsVerification(d);return r({type:"LOGIN_ERROR",payload:{errorMessage:""}}),p}catch(p){return r({type:"LOGIN_ERROR",payload:{errorMessage:"Error al iniciar Sesión"}}),p}},c=async d=>{try{return await zd.postForgotPassword({identifier:d})}catch(p){return r({type:"LOGIN_ERROR",payload:{errorMessage:"Error al iniciar Sesión"}}),p}},f=async()=>{du(null),wu(null),r({type:"LOGOUT"})};return t?te.jsx(EN,{value:{...e,login:n,logout:f,credentialsVerification:u,forgotPassword:c,loginSuperAdmin:o,dispatch:r,registerSuccess:i},children:t}):null}const Ki={SM:640,MD:768,LG:1024,XL:1280,"2XL":1536}
50,[Y$,V$]=bi("useBreakpointsContext must be used within BreakpointsContext");function G$({children:t}){const[e,r]=j.useState(i_()),n=j.useRef(null);return j.useEffect(()=>{const i=()=>{const o=i_();o.name!==e.name&&r(o)};return My||(n.current=new ResizeObserver(i),n.current.observe(document.documentElement)),()=>{n.current?.disconnect()}},[e.name]),t?te.jsx(Y$,{value:e,children:t}):null}function i_(){if(My)return{name:"",isXs:!1,isSm:!1,isMd:!1,isLg:!1,isXl:!1,is2xl:!1,smAndDown:!1,smAndUp:!1,mdAndDown:!1,mdAndUp:!1,lgAndDown:!1,lgAndUp:!1,xlAndDown:!1,xlAndUp:!1,...Ki};const t=window.innerWidth;let e="";const r=t<Ki.SM,n=t<Ki.MD&&!r,i=t<Ki.LG&&!(n||r),o=t<Ki.XL&&!(i||n||r),u=t<Ki["2XL"]&&!(o||i||n||r),c=t>=Ki["2XL"];return r&&(e="xs"),n&&(e="sm"),i&&(e="md"),o&&(e="lg"),u&&(e="xl"),c&&(e="2xl"),{name:e,isXs:r,isSm:n,isMd:i,isLg:o,isXl:u,is2xl:c,smAndDown:r||n,smAndUp:n||i||o||u||c,mdAndDown:r||n||i,mdAndUp:i||o||u||c,lgAndDown:r||n||i||o,lgAndUp:o||u||c,xlAndDown:r||n||i||o||u,xlAndUp:u||c,...Ki}}var vg={};const Xe=t=>typeof t=="string",gu=()=>{let t,e;const r=new Promise((n,i)=>{t=n,e=i});return r.resolve=t,r.reject=e,r},s_=t=>t==null?"":""+t,X$=(t,e,r)=>{t.forEach(n=>{e[n]&&(r[n]=e[n])})},W$=/###/g,o_=t=>t&&t.indexOf("###")>-1?t.replace(W$,"."):t,l_=t=>!t||Xe(t),ku=(t,e,r)=>{const n=Xe(e)?e.split("."):e;let i=0;for(;i<n.length-1;){if(l_(t))return{};const o=o_(n[i]);!t[o]&&r&&(t[o]=new r),Object.prototype.hasOwnProperty.call(t,o)?t=t[o]:t={},++i}return l_(t)?{}:{obj:t,k:o_(n[i])}},u_=(t,e,r)=>{const{obj:n,k:i}=ku(t,e,Object);if(n!==void 0||e.length===1){n[i]=r;return}let o=e[e.length-1],u=e.slice(0,e.length-1),c=ku(t,u,Object);for(;c.obj===void 0&&u.length;)o=`${u[u.length-1]}.${o}`,u=u.slice(0,u.length-1),c=ku(t,u,Object),c?.obj&&typeof c.obj[`${c.k}.${o}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${o}`]=r},K$=(t,e,r,n)=>{const{obj:i,k:o}=ku(t,e,Object);i[o]=i[o]||[],i[o].push(r)},Rf=(t,e)=>{const{obj:r,k:n}=ku(t,e);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},Q$=(t,e,r)=>{const n=Rf(t,r);return n!==void 0?n:Rf(e,r)},$A=(t,e,r)=>{for(const n in e)n!=="__proto__"&&n!=="constructor"&&(n in t?Xe(t[n])||t[n]instanceof String||Xe(e[n])||e[n]instanceof String?r&&(t[n]=e[n]):$A(t[n],e[n],r):t[n]=e[n]);return t},As=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Z$={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const J$=t=>Xe(t)?t.replace(/[&<>"'\/]/g,e=>Z$[e]):t;class eH{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const r=this.regExpMap.get(e);if(r!==void 0)return r;const 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}}const tH=[" ",",","?","!",";"],rH=new eH(20),nH=(t,e,r)=>{e=e||"",r=r||"";const n=tH.filter(u=>e.indexOf(u)<0&&r.indexOf(u)<0);if(n.length===0)return!0;const i=rH.getRegExp(`(${n.map(u=>u==="?"?"\\?":u).join("|")})`);let o=!i.test(t);if(!o){const u=t.indexOf(r);u>0&&!i.test(t.substring(0,u))&&(o=!0)}return o},Uv=(t,e,r=".")=>{if(!t)return;if(t[e])return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0;const n=e.split(r);let i=t;for(let o=0;o<n.length;){if(!i||typeof i!="object")return;let u,c="";for(let f=o;f<n.length;++f)if(f!==o&&(c+=r),c+=n[f],u=i[c],u!==void 0){if(["string","number","boolean"].indexOf(typeof u)>-1&&f<n.length-1)continue;o+=f-o+1;break}i=u}return i},qu=t=>t?.replace(/_/g,"-"),aH={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console?.[t]?.apply?.(console,e)}};class Af{constructor(e,r={}){this.init(e,r)}init(e,r={}){this.prefix=r.prefix||"i18next:",this.logger=e||aH,this.options=r,this.debug=r.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,r,n,i){return i&&!this.debug?null:(Xe(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[r](e))}create(e){return new Af(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Af(this.logger,e)}}var Oa=new Af;
50class oh{constructor(){this.observers={}}on(e,r){return e.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const i=this.observers[n].get(r)||0;this.observers[n].set(r,i+1)}),this}off(e,r){if(this.observers[e]){if(!r){delete this.observers[e];return}this.observers[e].delete(r)}}emit(e,...r){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([i,o])=>{for(let u=0;u<o;u++)i(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([i,o])=>{for(let u=0;u<o;u++)i.apply(i,[e,...r])})}}class c_ extends oh{constructor(e,r={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const r=this.options.ns.indexOf(e);r>-1&&this.options.ns.splice(r,1)}getResource(e,r,n,i={}){const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,u=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;e.indexOf(".")>-1?c=e.split("."):(c=[e,r],n&&(Array.isArray(n)?c.push(...n):Xe(n)&&o?c.push(...n.split(o)):c.push(n)));const f=Rf(this.data,c);return!f&&!r&&!n&&e.indexOf(".")>-1&&(e=c[0],r=c[1],n=c.slice(2).join(".")),f||!u||!Xe(n)?f:Uv(this.data?.[e]?.[r],n,o)}addResource(e,r,n,i,o={silent:!1}){const u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let c=[e,r];n&&(c=c.concat(u?n.split(u):n)),e.indexOf(".")>-1&&(c=e.split("."),i=r,r=c[1]),this.addNamespaces(r),u_(this.data,c,i),o.silent||this.emit("added",e,r,n,i)}addResources(e,r,n,i={silent:!1}){for(const o in n)(Xe(n[o])||Array.isArray(n[o]))&&this.addResource(e,r,o,n[o],{silent:!0});i.silent||this.emit("added",e,r,n)}addResourceBundle(e,r,n,i,o,u={silent:!1,skipCopy:!1}){let c=[e,r];e.indexOf(".")>-1&&(c=e.split("."),i=n,n=r,r=c[1]),this.addNamespaces(r);let f=Rf(this.data,c)||{};u.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?$A(f,n,o):f={...f,...n},u_(this.data,c,f),u.silent||this.emit("added",e,r,n)}removeResourceBundle(e,r){this.hasResourceBundle(e,r)&&delete this.data[e][r],this.removeNamespaces(r),this.emit("removed",e,r)}hasResourceBundle(e,r){return this.getResource(e,r)!==void 0}getResourceBundle(e,r){return r||(r=this.options.defaultNS),this.getResource(e,r)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const r=this.getDataByLanguage(e);return!!(r&&Object.keys(r)||[]).find(i=>r[i]&&Object.keys(r[i]).length>0)}toJSON(){return this.data}}var HA={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,r,n,i){return t.forEach(o=>{e=this.processors[o]?.process(e,r,n,i)??e}),e}};const BA=Symbol("i18next/PATH_KEY");function iH(){const t=[],e=Object.create(null);let r;return e.get=(n,i)=>(r?.revoke?.(),i===BA?t:(t.push(i),r=Proxy.revocable(n,e),r.proxy)),Proxy.revocable(Object.create(null),e).proxy}function Zo(t,e){const{[BA]:r}=t(iH()),n=e?.keySeparator??".",i=e?.nsSeparator??":";if(r.length>1&&i){const o=e?.ns,u=Array.isArray(o)?o:null;if(u&&u.length>1&&u.slice(1).includes(r[0]))return`${r[0]}${i}${r.slice(1).join(n)}`}return r.join(n)}const d_={},yg=t=>!Xe(t)&&typeof t!="boolean"&&typeof t!="number";class Of extends oh{constructor(e,r={}){super(),X$(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
50i18nFormat","utils"],e,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Oa.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,r={interpolation:{}}){const n={...r};if(e==null)return!1;const i=this.resolve(e,n);if(i?.res===void 0)return!1;const o=yg(i.res);return!(n.returnObjects===!1&&o)}extractFromKey(e,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let o=r.ns||this.options.defaultNS||[];const u=n&&e.indexOf(n)>-1,c=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!nH(e,n,i);if(u&&!c){const f=e.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:e,namespaces:Xe(o)?[o]:o};const d=e.split(n);(n!==i||n===i&&this.options.ns.indexOf(d[0])>-1)&&(o=d.shift()),e=d.join(i)}return{key:e,namespaces:Xe(o)?[o]:o}}translate(e,r,n){let i=typeof r=="object"?{...r}:r;if(typeof i!="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i=="object"&&(i={...i}),i||(i={}),e==null)return"";typeof e=="function"&&(e=Zo(e,{...this.options,...i})),Array.isArray(e)||(e=[String(e)]),e=e.map(I=>typeof I=="function"?Zo(I,{...this.options,...i}):String(I));const o=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,u=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,{key:c,namespaces:f}=this.extractFromKey(e[e.length-1],i),d=f[f.length-1];let p=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;p===void 0&&(p=":");const m=i.lng||this.language,g=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(m?.toLowerCase()==="cimode")return g?o?{res:`${d}${p}${c}`,usedKey:c,exactUsedKey:c,usedLng:m,usedNS:d,usedParams:this.getUsedParamsDetails(i)}:`${d}${p}${c}`:o?{res:c,usedKey:c,exactUsedKey:c,usedLng:m,usedNS:d,usedParams:this.getUsedParamsDetails(i)}:c;const y=this.resolve(e,i);let v=y?.res;const w=y?.usedKey||c,E=y?.exactUsedKey||c,T=["[object Number]","[object Function]","[object RegExp]"],x=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject,O=i.count!==void 0&&!Xe(i.count),k=Of.hasDefaultValue(i),L=O?this.pluralResolver.getSuffix(m,i.count,i):"",H=i.ordinal&&O?this.pluralResolver.getSuffix(m,i.count,{ordinal:!1}):"",C=O&&!i.ordinal&&i.count===0,D=C&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${L}`]||i[`defaultValue${H}`]||i.defaultValue;let M=v;_&&!v&&k&&(M=D);const P=yg(M),U=Object.prototype.toString.apply(M);if(_&&M&&P&&T.indexOf(U)<0&&!(Xe(x)&&Array.isArray(M))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const I=this.options.returnedObjectHandler?this.options.returnedObjectHandler(w,M,{...i,ns:f}):`key '${c} (${this.language})' returned an object instead of string.`;return o?(y.res=I,y.usedParams=this.getUsedParamsDetails(i),y):I}if(u){const I=Array.isArray(M),z=I?[]:{},F=I?E:w;for(const R in M)if(Object.prototype.hasOwnProperty.call(M,R)){const A=`${F}${u}${R}`;k&&!v?z[R]=this.translate(A,{...i,defaultValue:yg(D)?D[R]:void 0,joinArrays:!1,ns:f}):z[R]=this.translate(A,{...i,joinArrays:!1,ns:f}),z[R]===A&&(z[R]=M[R])}v=z}}else if(_&&Xe(x)&&Array.isArray(v))v=v.join(x),v&&(v=this.extendTranslation(v,e,i,n));else{let I=!1,z=!1;!this.isValidLookup(v)&&k&&(I=!0,v=D),this.isValidLookup(v)||(z=!0,v=c);const R=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&z?void 0:v,A=k&&D!==v&&this.options.updateMissing;if(z||I||A){if(this.logger.log(A?"updateKey":"missingKey",m,d,c,A?D:v),u){const $=this.resolve(c,{...i,keySeparator:!1});$&&$.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 B=[];const q=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&q&&q[0])for(let $=0;$<q.length;$++)B.push(q[$]);else this.options.saveMissingTo==="all"?B=this.languageUtils.toResolveHierarchy(i.lng||this.language):B.push(i.lng||this.language);const K=($,Y,G)=>{const W=k&&G!==v?G:R;this.options.missingKeyHandler?this.options.missingKeyHandler($,d,Y,W,A,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing($,d,Y,W,A,i),this.emit
50("missingKey",$,d,Y,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&O?B.forEach($=>{const Y=this.pluralResolver.getSuffixes($,i);C&&i[`defaultValue${this.options.pluralSeparator}zero`]&&Y.indexOf(`${this.options.pluralSeparator}zero`)<0&&Y.push(`${this.options.pluralSeparator}zero`),Y.forEach(G=>{K([$],c+G,i[`defaultValue${G}`]||D)})}):K(B,c,D))}v=this.extendTranslation(v,e,i,y,n),z&&v===c&&this.options.appendNamespaceToMissingKey&&(v=`${d}${p}${c}`),(z||I)&&this.options.parseMissingKeyHandler&&(v=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${d}${p}${c}`:c,I?v:void 0,i))}return o?(y.res=v,y.usedParams=this.getUsedParamsDetails(i),y):v}extendTranslation(e,r,n,i,o){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const f=Xe(e)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(f){const m=e.match(this.interpolator.nestingRegexp);d=m&&m.length}let p=n.replace&&!Xe(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),e=this.interpolator.interpolate(e,p,n.lng||this.language||i.usedLng,n),f){const m=e.match(this.interpolator.nestingRegexp),g=m&&m.length;d<g&&(n.nest=!1)}!n.lng&&i&&i.res&&(n.lng=this.language||i.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...m)=>o?.[0]===m[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${m[0]} in key: ${r[0]}`),null):this.translate(...m,r),n)),n.interpolation&&this.interpolator.reset()}const u=n.postProcess||this.options.postProcess,c=Xe(u)?[u]:u;return e!=null&&c?.length&&n.applyPostProcessor!==!1&&(e=HA.handle(c,e,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,r={}){let n,i,o,u,c;return Xe(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(f=>typeof f=="function"?Zo(f,{...this.options,...r}):f)),e.forEach(f=>{if(this.isValidLookup(n))return;const d=this.extractFromKey(f,r),p=d.key;i=p;let m=d.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const g=r.count!==void 0&&!Xe(r.count),y=g&&!r.ordinal&&r.count===0,v=r.context!==void 0&&(Xe(r.context)||typeof r.context=="number")&&r.context!=="",w=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);m.forEach(E=>{this.isValidLookup(n)||(c=E,!d_[`${w[0]}-${E}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(d_[`${w[0]}-${E}`]=!0,this.logger.warn(`key "${i}" for languages "${w.join(", ")}" won't get resolved as namespace "${c}" 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!!!")),w.forEach(T=>{if(this.isValidLookup(n))return;u=T;const x=[p];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(x,p,T,E,r);else{let O;g&&(O=this.pluralResolver.getSuffix(T,r.count,r));const k=`${this.options.pluralSeparator}zero`,L=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(g&&(r.ordinal&&O.indexOf(L)===0&&x.push(p+O.replace(L,this.options.pluralSeparator)),x.push(p+O),y&&x.push(p+k)),v){const H=`${p}${this.options.contextSeparator||"_"}${r.context}`;x.push(H),g&&(r.ordinal&&O.indexOf(L)===0&&x.push(H+O.replace(L,this.options.pluralSeparator)),x.push(H+O),y&&x.push(H+k))}}let _;for(;_=x.pop();)this.isValidLookup(n)||(o=_,n=this.getResource(T,E,_,r))}))})}),{res:n,usedKey:i,exactUsedKey:o,usedLng:u,usedNS:c}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,r,n,i={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,r,n,i):this.resourceStore.getResource(e,r,n,i)}
50getUsedParamsDetails(e={}){const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!Xe(e.replace);let i=n?e.replace:e;if(n&&typeof e.count<"u"&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!n){i={...i};for(const o of r)delete i[o]}return i}static hasDefaultValue(e){const r="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&r===n.substring(0,r.length)&&e[n]!==void 0)return!0;return!1}}class f_{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Oa.create("languageUtils")}getScriptPartFromCode(e){if(e=qu(e),!e||e.indexOf("-")<0)return null;const r=e.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(e){if(e=qu(e),!e||e.indexOf("-")<0)return e;const r=e.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(e){if(Xe(e)&&e.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(e)[0]}catch{}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(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.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let r;return e.forEach(n=>{if(r)return;const i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(r=i)}),!r&&this.options.supportedLngs&&e.forEach(n=>{if(r)return;const i=this.getScriptPartFromCode(n);if(this.isSupportedCode(i))return r=i;const o=this.getLanguagePartFromCode(n);if(this.isSupportedCode(o))return r=o;r=this.options.supportedLngs.find(u=>{if(u===o)return u;if(!(u.indexOf("-")<0&&o.indexOf("-")<0)&&(u.indexOf("-")>0&&o.indexOf("-")<0&&u.substring(0,u.indexOf("-"))===o||u.indexOf(o)===0&&o.length>1))return u})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(e,r){if(!e)return[];if(typeof e=="function"&&(e=e(r)),Xe(e)&&(e=[e]),Array.isArray(e))return e;if(!r)return e.default||[];let n=e[r];return n||(n=e[this.getScriptPartFromCode(r)]),n||(n=e[this.formatLanguageCode(r)]),n||(n=e[this.getLanguagePartFromCode(r)]),n||(n=e.default),n||[]}toResolveHierarchy(e,r){const n=this.getFallbackCodes((r===!1?[]:r)||this.options.fallbackLng||[],e),i=[],o=u=>{u&&(this.isSupportedCode(u)?i.push(u):this.logger.warn(`rejecting language code not found in supportedLngs: ${u}`))};return Xe(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(e))):Xe(e)&&o(this.formatLanguageCode(e)),n.forEac
vendor: 2,120 bytes, line 50
50h(u=>{i.indexOf(u)<0&&o(this.formatLanguageCode(u))}),i}}const h_={zero:0,one:1,two:2,few:3,many:4,other:5},p_={select:t=>t===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class sH{constructor(e,r={}){this.languageUtils=e,this.options=r,this.logger=Oa.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,r={}){const n=qu(e==="dev"?"en":e),i=r.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let u;try{u=new Intl.PluralRules(n,{type:i})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),p_;if(!e.match(/-|_/))return p_;const f=this.languageUtils.getLanguagePartFromCode(e);u=this.getRule(f,r)}return this.pluralRulesCache[o]=u,u}needsPlural(e,r={}){let n=this.getRule(e,r);return n||(n=this.getRule("dev",r)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,r,n={}){return this.getSuffixes(e,n).map(i=>`${r}${i}`)}getSuffixes(e,r={}){let n=this.getRule(e,r);return n||(n=this.getRule("dev",r)),n?n.resolvedOptions().pluralCategories.sort((i,o)=>h_[i]-h_[o]).map(i=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(e,r,n={}){const i=this.getRule(e,n);return i?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(r)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",r,n))}}const m_=(t,e,r,n=".",i=!0)=>{let o=Q$(t,e,r);return!o&&i&&Xe(r)&&(o=Uv(t,r,n),o===void 0&&(o=Uv(e,r,n))),o},bg=t=>t.replace(/\$/g,"$$$$");class g_{constructor(e={}){this.logger=Oa.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(r=>r),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:i,prefix:o,prefixEscaped:u,suffix:c,suffixEscaped:f,formatSeparator:d,unescapeSuffix:p,unescapePrefix:m,nestingPrefix:g,nestingPrefixEscaped:y,nestingSuffix:v,nestingSuffixEscaped:w,nestingOptionsSeparator:E,maxReplaces:T,alwaysFormat:
50x}=e.interpolation;this.escape=r!==void 0?r:J$,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?As(o):u||"{{",this.suffix=c?As(c):f||"}}",this.formatSeparator=d||",",this.unescapePrefix=p?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=g?As(g):y||As("$t("),this.nestingSuffix=v?As(v):w||As(")"),this.nestingOptionsSeparator=E||",",this.maxReplaces=T||1e3,this.alwaysFormat=x!==void 0?x:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(r,n)=>r?.source===n?(r.lastIndex=0,r):new RegExp(n,"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,r,n,i){let o,u,c;const f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=y=>{if(y.indexOf(this.formatSeparator)<0){const T=m_(r,f,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(T,void 0,n,{...i,...r,interpolationkey:y}):T}const v=y.split(this.formatSeparator),w=v.shift().trim(),E=v.join(this.formatSeparator).trim();return this.format(m_(r,f,w,this.options.keySeparator,this.options.ignoreJSONStructure),E,n,{...i,...r,interpolationkey:w})};this.resetRegExp();const p=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,m=i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>bg(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?bg(this.escape(y)):bg(y)}
50].forEach(y=>{for(c=0;o=y.regex.exec(e);){const v=o[1].trim();if(u=d(v),u===void 0)if(typeof p=="function"){const E=p(e,o,i);u=Xe(E)?E:""}else if(i&&Object.prototype.hasOwnProperty.call(i,v))u="";else if(m){u=o[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${e}`),u="";else!Xe(u)&&!this.useRawValueToEscape&&(u=s_(u));const w=y.safeValue(u);if(e=e.replace(o[0],w),m?(y.regex.lastIndex+=u.length,y.regex.lastIndex-=o[0].length):y.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),e}nest(e,r,n={}){let i,o,u;const c=(f,d)=>{const p=this.nestingOptionsSeparator;if(f.indexOf(p)<0)return f;const m=f.split(new RegExp(`${As(p)}[ ]*{`));let g=`{${m[1]}`;f=m[0],g=this.interpolate(g,u);const y=g.match(/'/g),v=g.match(/"/g);((y?.length??0)%2===0&&!v||(v?.length??0)%2!==0)&&(g=g.replace(/'/g,'"'));try{u=JSON.parse(g),d&&(u={...d,...u})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${f}`,w),`${f}${p}${g}`}return u.defaultValue&&u.defaultValue.indexOf(this.prefix)>-1&&delete u.defaultValue,f};for(;i=this.nestingRegexp.exec(e);){let f=[];u={...n},u=u.replace&&!Xe(u.replace)?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;const d=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(d!==-1&&(f=i[1].slice(d).split(this.formatSeparator).map(p=>p.trim()).filter(Boolean),i[1]=i[1].slice(0,d)),o=r(c.call(this,i[1].trim(),u),u),o&&i[0]===e&&!Xe(o))return o;Xe(o)||(o=s_(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),o=""),f.length&&(o=f.reduce((p,m)=>this.format(p,m,n.lng,{...n,interpolationkey:i[1].trim()}),o.trim())),e=e.replace(i[0],o),this.regexp.lastIndex=0}return e}}const oH=t=>{let e=t.toLowerCase().trim();const r={};if(t.indexOf("(")>-1){const n=t.split("(");e=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);e==="currency"&&i.indexOf(":")<0?r.currency||(r.currency=i.trim()):e==="relativetime"&&i.indexOf(":")<0?r.range||(r.range=i.trim()):i.split(";").forEach(u=>{if(u){const[c,...f]=u.split(":"),d=f.join(":").trim().replace(/^'+|'+$/g,""),p=c.trim();r[p]||(r[p]=d),d==="false"&&(r[p]=!1),d==="true"&&(r[p]=!0),isNaN(d)||(r[p]=parseInt(d,10))}})}return{formatName:e,formatOptions:r}},v_=t=>{const e={};return(r,n,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const u=n+JSON.stringify(o);let c=e[u];return c||(c=t(qu(n),i),e[u]=c),c(r)}},lH=t=>(e,r,n)=>t(qu(r),n)(e);class uH{constructor(e={}){this.logger=Oa.create("formatter"),this.options=e,this.init(e)}init(e,r={interpolation:{}}){this.formatSeparator=r.interpolation.formatSeparator||",";const n=r.cacheInBuiltFormats?v_:lH;this.formats={number:n((i,o)=>{const u=new Intl.NumberFormat(i,{...o});return c=>u.format(c)}),currency:n((i,o)=>{const u=new Intl.NumberFormat(i,{...o,style:"currency"});return c=>u.format(c)}),datetime:n((i,o)=>{const u=new Intl.DateTimeFormat(i,{...o});return c=>u.format(c)}),relativetime:n((i,o)=>{const u=new Intl.RelativeTimeFormat(i,{...o});return c=>u.format(c,o.range||"day")}),list:n((i,o)=>{const u=new Intl.ListFormat(i,{...o});return c=>u.format(c)})}}add(e,r){this.formats[e.toLowerCase().trim()]=r}addCached(e,r){this.formats[e.toLowerCase().trim()]=v_(r)}format(e,r,n,i={}){const o=r.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(c=>c.indexOf(")")>-1)){const c=o.findIndex(f=>f.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,c)].join(this.formatSeparator)}return o.reduce((c,f)=>{const{formatName:d,formatOptions:p}=oH(f);if(this.formats[d]){let m=c;try{const g=i?.formatParams?.[i.interpolationkey]||{},y=g.locale||g.lng||i.locale||i.lng||n;m=this.formats[d](c,y,{...p,...i,...g})}catch(g){this.logger.warn(g)}return m}else this.logger.warn(`there was no format function for ${d}`);return c},e)}}const cH=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class dH extends oh{constructor(e,r,n,i={}){super(),this.backend=e,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=Oa.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,i.backend,i)}queueLoad(e,r,n,i){const o={},u={},c={},f={};return e.forEach(d=>{let p=!0;r.forEach(m=>{const g=`${d}|${m}`;!n.reload&&this.store.hasResourceBundle(d,m)?this.state[g]=2:this.state[g]<0||(this.state[g]===1?u[g]===void 0&&(u[g]=!0):(this.state[g]=1,p=!1,u[g]===void 0&&(u[g]=!0),o[g]===void 0&&(o[g]=!0),f[m]===void 0&&(f[m]=!0)))}),p||(c[d]=!0)}),(Object.keys(o).length||Object.keys(u).length)&&this.queue.push({pending:u,pendingCount:Object.keys(u).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(u),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(f)}}loaded(e,r,n){const i=e.split("|"),o=i[0],u=i[1];
vendor: 4,086 bytes, line 50
50r&&this.emit("failedLoading",o,u,r),!r&&n&&this.store.addResourceBundle(o,u,n,void 0,void 0,{skipCopy:!0}),this.state[e]=r?-1:2,r&&n&&(this.state[e]=0);const c={};this.queue.forEach(f=>{K$(f.loaded,[o],u),cH(f,e),r&&f.errors.push(r),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(d=>{c[d]||(c[d]={});const p=f.loaded[d];p.length&&p.forEach(m=>{c[d][m]===void 0&&(c[d][m]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(f=>!f.done)}read(e,r,n,i=0,o=this.retryTimeout,u){if(!e.length)return u(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:r,fcName:n,tried:i,wait:o,callback:u});return}this.readingCalls++;const c=(d,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(d&&p&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,e,r,n,i+1,o*2,u)},o);return}u(d,p)},f=this.backend[n].bind(this.backend);if(f.length===2){try{const d=f(e,r);d&&typeof d.then=="function"?d.then(p=>c(null,p)).catch(c):c(null,d)}catch(d){c(d)}return}return f(e,r,c)}prepareLoading(e,r,n={},i){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();Xe(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Xe(r)&&(r=[r]);const o=this.queueLoad(e,r,n,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(u=>{this.loadOne(u)})}load(e,r,n){this.prepareLoading(e,r,{},n)}reload(e,r,n){this.prepareLoading(e,r,{reload:!0},n)}loadOne(e,r=""){const n=e.split("|"),i=n[0],o=n[1];this.read(i,o,"read",void 0,void 0,(u,c)=>{u&&this.logger.warn(`${r}loading namespace ${o} for language ${i} failed`,u),!u&&c&&this.logger.log(`${r}loaded namespace ${o} for language ${i}`,c),this.loaded(e,u,c)})}saveMissing(e,r,n,i,o,u={},c=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" 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){const f={...u,isUpdate:o},d=this.backend.create.bind(this.backend);if(d.length<6)try{let p;d.length===5?p=d(e,r,n,i,f):p=d(e,r,n,i),p&&typeof p.then=="function"?p.then(m=>c(null,m)).catch(c):c(null,p)}catch(p){c(p)}else d(e,r,n,i,c,f)}!e||!e[0]||this.store.addResource(e[0],r,n,i)}}}const wg=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",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:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),Xe(t[1])&&(e.defaultValue=t[1]),Xe(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const r=t[3]||t[2];Object.keys(r).forEach(n=>{e[n]=r[n]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),y_=t=>(Xe(t.ns)&&(t.ns=[t.ns]),Xe(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),Xe(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs?.indexOf?.("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),typeof t.initImmediate=="boolean"&&(t.initAsync=t.initImmediate),t),jd=()=>{},fH=t=>
50{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(r=>{typeof t[r]=="function"&&(t[r]=t[r].bind(t))})},FA="__i18next_supportNoticeShown",hH=()=>!!(typeof globalThis<"u"&&globalThis[FA]||typeof process<"u"&&vg&&vg.I18NEXT_NO_SUPPORT_NOTICE||typeof process<"u"&&vg),pH=()=>{typeof globalThis<"u"&&(globalThis[FA]=!0)},mH=t=>!!(t?.modules?.backend?.name?.indexOf("Locize")>0||t?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||t?.options?.backend?.backends&&t.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||t?.options?.backend?.projectId||t?.options?.backend?.backendOptions&&t.options.backend.backendOptions.some(e=>e?.projectId));class Lu extends oh{constructor(e={},r){if(super(),this.options=y_(e),this.services={},this.logger=Oa,this.modules={external:[]},fH(this),r&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,r),this;setTimeout(()=>{this.init(e,r)},0)}}init(e={},r){this.isInitializing=!0,typeof e=="function"&&(r=e,e={}),e.defaultNS==null&&e.ns&&(Xe(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const n=wg();this.options={...n,...this.options,...y_(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),this.options.showSupportNotice!==!1&&!mH(this)&&!hH()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("ð i18next is made possible by our own product, Locize â consider powering your project with managed localization (AI, CDN, integrations): https://locize.com ð"),pH());const i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?Oa.init(i(this.modules.logger),this.options):Oa.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=uH;const p=new f_(this.options);this.store=new c_(this.options.resources,this.options);const m=this.services;m.logger=Oa,m.resourceStore=this.store,m.languageUtils=p,m.pluralResolver=new sH(p,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),d&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(m.formatter=i(d),m.formatter.init&&m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new g_(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new dH(i(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",(y,...v)=>{this.emit(y,...v)}),this.modules.languageDetector&&(m.languageDetector=i(this.modules.languageDetector),m.languageDetector.init&&m.languageDetector.init(m,this.options.detection,this.options)),this.modules.i18nFormat&&(m.i18nFormat=i(this.modules.i18nFormat),m.i18nFormat.init&&m.i18nFormat.init(this)),this.translator=new Of(this.services,this.options),this.translator.on("*",(y,...v)=>{this.emit(y,...v)}),this.modules.external.forEach(y=>{y.init&&y.init(this)})}if(this.format=this.options.interpolation.format,r||(r=jd),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[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(d=>{this[d]=(...p)=>this.store[d](...p)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=(...p)=>(this.store[d](...p),this)});const c=gu(),f=()=>{const d=(p,m)=>{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
50("initialized",this.options),c.resolve(m),r(p,m)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),c}loadResources(e,r=jd){let n=r;const i=Xe(e)?e:this.language;if(typeof e=="function"&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(i?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const o=[],u=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(d=>{d!=="cimode"&&o.indexOf(d)<0&&o.push(d)})};i?u(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(f=>u(f)),this.options.preload?.forEach?.(c=>u(c)),this.services.backendConnector.load(o,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(c)})}else n(null)}reloadResources(e,r,n){const i=gu();return typeof e=="function"&&(n=e,e=void 0),typeof r=="function"&&(n=r,r=void 0),e||(e=this.languages),r||(r=this.options.ns),n||(n=jd),this.services.backendConnector.reload(e,r,o=>{i.resolve(),n(o)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new 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"&&HA.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"].indexOf(e)>-1)){for(let r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,r){this.isLanguageChangingTo=e;const n=gu();this.emit("languageChanging",e);const i=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,f)=>{f?this.isLanguageChangingTo===e&&(i(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,n.resolve((...d)=>this.t(...d)),r&&r(c,(...d)=>this.t(...d))},u=c=>{!e&&!c&&this.services.languageDetector&&(c=[]);const f=Xe(c)?c:c&&c[0],d=this.store.hasLanguageSomeTranslations(f)?f:this.services.languageUtils.getBestMatchFromCodes(Xe(c)?[c]:c);d&&(this.language||i(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector?.cacheUserLanguage?.(d)),this.loadResources(d,p=>{o(p,d)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?u(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(u):this.services.languageDetector.detect(u):u(e),n}getFixedT(e,r,n){const i=(o,u,...c)=>{let f;typeof u!="object"?f=this.options.overloadTranslationOptionHandler([o,u].concat(c)):f={...u},f.lng=f.lng||i.lng,f.lngs=f.lngs||i.lngs,f.ns=f.ns||i.ns,f.keyPrefix!==""&&(f.keyPrefix=f.keyPrefix||n||i.keyPrefix);const d={...this.options,...f};typeof f.keyPrefix=="function"&&(f.keyPrefix=Zo(f.keyPrefix,d));const p=this.options.keySeparator||".";let m;return f.keyPrefix&&Array.isArray(o)?m=o.map(g=>(typeof g=="function"&&(g=Zo(g,d)),`${f.keyPrefix}${p}${g}`)):(typeof o=="function"&&(o=Zo(o,d)),m=f.keyPrefix?`${f.keyPrefix}${p}${o}`:o),this.t(m,f)};return Xe(e)?i.lng=e:i.lngs=e,i.ns=r,i.keyPrefix=n,i}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,r={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
50if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=r.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const u=(c,f)=>{const d=this.services.backendConnector.state[`${c}|${f}`];return d===-1||d===0||d===2};if(r.precheck){const c=r.precheck(this,u);if(c!==void 0)return c}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||u(n,e)&&(!i||u(o,e)))}loadNamespaces(e,r){const n=gu();return this.options.ns?(Xe(e)&&(e=[e]),e.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),r&&r(i)}),n):(r&&r(),Promise.resolve())}loadLanguages(e,r){const n=gu();Xe(e)&&(e=[e]);const i=this.options.preload||[],o=e.filter(u=>i.indexOf(u)<0&&this.services.languageUtils.isSupportedCode(u));return o.length?(this.options.preload=i.concat(o),this.loadResources(u=>{n.resolve(),r&&r(u)}),n):(r&&r(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const i=new Intl.Locale(e);if(i&&i.getTextInfo){const o=i.getTextInfo();if(o&&o.direction)return o.direction}}catch{}const r=["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"],n=this.services?.languageUtils||new f_(wg());return e.toLowerCase().indexOf("-latn")>1?"ltr":r.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},r){const n=new Lu(e,r);return n.createInstance=Lu.createInstance,n}cloneInstance(e={},r=jd){const n=e.forkResourceStore;n&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},o=new Lu(i);if((e.debug!==void 0||e.prefix!==void 0)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(c=>{o[c]=this[c]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n){const c=Object.keys(this.store.data).reduce((f,d)=>(f[d]={...this.store.data[d]},f[d]=Object.keys(f[d]).reduce((p,m)=>(p[m]={...f[d][m]},p),f[d]),f),{});o.store=new c_(c,i),o.services.resourceStore=o.store}if(e.interpolation){const f={...wg().interpolation,...this.options.interpolation,...e.interpolation},d={...i,interpolation:f};o.services.interpolator=new g_(d)}return o.translator=new Of(o.services,i),o.translator.on("*",(c,...f)=>{o.emit(c,...f)}),o.init(i,r),o.translator.options=i,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const fr=Lu.createInstance();fr.createInstance;fr.dir;fr.init;fr.loadResources;fr.reloadResources;fr.use;fr.changeLanguage;fr.getFixedT;const DG=fr.t;fr.exists;fr.setDefaultNamespace;fr.hasLoadedNamespace;fr.loadNamespaces;fr.loadLanguages;const gH=(t,e,r,n)=>{const i=[r,{code:e,...n||{}}];if(t?.services?.logger?.forward)return t.services.logger.forward(i,"warn","react-i18next::",!0);$s(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),t?.services?.logger?.warn?t.services.logger.warn(...i):console?.warn&&console.warn(...i)},b_={},$v=(t,e,r,n)=>{$s(r)&&b_[r]||($s(r)&&(b_[r]=new Date),gH(t,e,r,n))},qA=(t,e)=>()=>{if(t.isInitialized)e();else{const r=()=>{setTimeout(()=>{t.off("initialized",r)},0),e()};t.on("initialized",r)}},Hv=(t,e,r)=>{t.loadNamespaces(e,qA(t,r))},w_=(t,e,r,n)=>{if($s(r)&&(r=[r]),t.options.preload&&t.options.preload.indexOf(e)>-1)return Hv(t,r,n);r.forEach(i=>{t.options.ns.indexOf(i)<0&&t.options.ns.push(i)}),t.loadLanguages(e,qA(t,n))},vH=(t,e,r={})=>
50!e.languages||!e.languages.length?($v(e,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:e.languages}),!0):e.hasLoadedNamespace(t,{lng:r.lng,precheck:(n,i)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!i(n.isLanguageChangingTo,t))return!1}}),$s=t=>typeof t=="string",yH=t=>typeof t=="object"&&t!==null,bH=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,wH={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"â¦","…":"â¦","/":"/","/":"/"},SH=t=>wH[t],EH=t=>t.replace(bH,SH);let Bv={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:EH};const xH=(t={})=>{Bv={...Bv,...t}},_H=()=>Bv;let YA;const TH=t=>{YA=t},CH=()=>YA,RH={type:"3rdParty",init(t){xH(t.options.react),TH(t)}},AH=j.createContext();class OH{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const MH=(t,e)=>{const r=j.useRef();return j.useEffect(()=>{r.current=t},[t,e]),r.current},VA=(t,e,r,n)=>t.getFixedT(e,r,n),DH=(t,e,r,n)=>j.useCallback(VA(t,e,r,n),[t,e,r,n]),cb=(t,e={})=>{const{i18n:r}=e,{i18n:n,defaultNS:i}=j.useContext(AH)||{},o=r||n||CH();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new OH),!o){$v(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const O=(L,H)=>$s(H)?H:yH(H)&&$s(H.defaultValue)?H.defaultValue:Array.isArray(L)?L[L.length-1]:L,k=[O,{},!1];return k.t=O,k.i18n={},k.ready=!1,k}o.options.react?.wait&&$v(o,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const u={..._H(),...o.options.react,...e},{useSuspense:c,keyPrefix:f}=u;let d=i||o.options?.defaultNS;d=$s(d)?[d]:d||["translation"],o.reportNamespaces.addUsedNamespaces?.(d);const p=(o.isInitialized||o.initializedStoreOnce)&&d.every(O=>vH(O,o,u)),m=DH(o,e.lng||null,u.nsMode==="fallback"?d:d[0],f),g=()=>m,y=()=>VA(o,e.lng||null,u.nsMode==="fallback"?d:d[0],f),[v,w]=j.useState(g);let E=d.join();e.lng&&(E=`${e.lng}${E}`);const T=MH(E),x=j.useRef(!0);j.useEffect(()=>{const{bindI18n:O,bindI18nStore:k}=u;x.current=!0,!p&&!c&&(e.lng?w_(o,e.lng,d,()=>{x.current&&w(y)}):Hv(o,d,()=>{x.current&&w(y)})),p&&T&&T!==E&&x.current&&w(y);const L=()=>{x.current&&w(y)};return O&&o?.on(O,L),k&&o?.store.on(k,L),()=>{x.current=!1,o&&O&&O?.split(" ").forEach(H=>o.off(H,L)),k&&o&&k.split(" ").forEach(H=>o.store.off(H,L))}},[o,E]),j.useEffect(()=>{x.current&&p&&w(g)},[o,f,p]);const _=[v,o,p];if(_.t=v,_.i18n=o,_.ready=p,p||!p&&!c)return _;throw new Promise(O=>{e.lng?w_(o,e.lng,d,()=>O()):Hv(o,d,()=>O())})},{slice:kH,forEach:LH}=[];function NH(t){return LH.call(kH.call(arguments,1),e=>{if(e)for(const r in e)t[r]===void 0&&(t[r]=e[r])}),t}
50function PH(t){return typeof t!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(r=>r.test(t))}const S_=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,zH=function(t,e){const n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},i=encodeURIComponent(e);let o=`${t}=${i}`;if(n.maxAge>0){const u=n.maxAge-0;if(Number.isNaN(u))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(u)}`}if(n.domain){if(!S_.test(n.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${n.domain}`}if(n.path){if(!S_.test(n.path))throw new TypeError("option path is invalid");o+=`; Path=${n.path}`}if(n.expires){if(typeof n.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${n.expires.toUTCString()}`}if(n.httpOnly&&(o+="; HttpOnly"),n.secure&&(o+="; Secure"),n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return n.partitioned&&(o+="; Partitioned"),o},E_={create(t,e,r,n){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+r*60*1e3)),n&&(i.domain=n),document.cookie=zH(t,e,i)},read(t){const e=`${t}=`,r=document.cookie.split(";");for(let n=0;n<r.length;n++){let i=r[n];for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(e)===0)return i.substring(e.length,i.length)}return null},remove(t,e){this.create(t,"",-1,e)}};var jH={name:"cookie",lookup(t){let{lookupCookie:e}=t;if(e&&typeof document<"u")return E_.read(e)||void 0},cacheUserLanguage(t,e){let{lookupCookie:r,cookieMinutes:n,cookieDomain:i,cookieOptions:o}=e;r&&typeof document<"u"&&E_.create(r,t,n,i,o)}},IH={name:"querystring",lookup(t){let{lookupQuerystring:e}=t,r;if(typeof window<"u"){let{search:n}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));const o=n.substring(1).split("&");for(let u=0;u<o.length;u++){const c=o[u].indexOf("=");c>0&&o[u].substring(0,c)===e&&(r=o[u].substring(c+1))}}return r}},UH={name:"hash",lookup(t){let{lookupHash:e,lookupFromHashIndex:r}=t,n;if(typeof window<"u"){const{hash:i}=window.location;if(i&&i.length>2){const o=i.substring(1);if(e){const u=o.split("&");for(let c=0;c<u.length;c++){const f=u[c].indexOf("=");f>0&&u[c].substring(0,f)===e&&(n=u[c].substring(f+1))}}if(n)return n;if(!n&&r>-1){const u=i.match(/\/([a-zA-Z-]*)/g);return Array.isArray(u)?u[typeof r=="number"?r:0]?.replace("/",""):void 0}}}return n}};let jo=null;const x_=()=>{if(jo!==null)return jo;try{if(jo=typeof window<"u"&&window.localStorage!==null,!jo)return!1;const t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{jo=!1}return jo};var $H={name:"localStorage",lookup(t){let{lookupLocalStorage:e}=t;if(e&&x_())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupLocalStorage:r}=e;r&&x_()&&window.localStorage.setItem(r,t)}};let Io=null;const __=()=>{if(Io!==null)return Io;try{if(Io=typeof window<"u"&&window.sessionStorage!==null,!Io)return!1;const t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Io=!1}return Io};var HH={name:"sessionStorage",lookup(t){let{lookupSessionStorage:e}=t;if(e&&__())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupSessionStorage:r}=e;r&&__()&&window.sessionStorage.setItem(r,t)}},BH={name:"navigator",lookup(t){const e=[];if(typeof navigator<"u"){const{languages:r,userLanguage:n,language:i}=navigator;if(r)for(let o=0;o<r.length;o++)e.push(r[o]);n&&e.push(n),i&&e.push(i)}return e.length>0?e:void 0}},FH={name:"htmlTag",lookup(t){let{htmlTag:e}=t,r;const n=e||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},qH={name:"path",lookup(t){let{lookupFromPathIndex:e}=t;if(typeof window>"u")return;const r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(r)?r[typeof e=="number"?e:0]?.replace("/",""):void 0}},YH={name:"subdomain",lookup(t){let{lookupFromSubdomainIndex:e}=t;const r=typeof e=="number"?e+1:1,n=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[r]}};let GA=!1;try{document.cookie,GA=!0}catch{}const XA=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];GA||XA.splice(1,1);const VH=()=>({order:XA,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:t=>t});class WA{constructor(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,r)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e,this.options=NH(r,this.options||{},VH()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=i=>i.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(jH),this.addDetector(IH),this.addDetector($H),this.addDetector(HH),this.addDetector(BH),this.addDetector(FH),this.addDetector(qH),this.addDetector(YH),this.addDetector(UH)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,r=[];return e.forEach(n=>{if(this.detectors[n]){let i=this.detectors[n].lookup(this.options);i&&typeof i=="string"&&(i=[i]),i&&(r=r.concat(i))}}
50),r=r.filter(n=>n!=null&&!PH(n)).map(n=>this.options.convertDetectedLanguage(n)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?r:r.length>0?r[0]:null}cacheUserLanguage(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||r.forEach(n=>{this.detectors[n]&&this.detectors[n].cacheUserLanguage(e,this.options)}))}}WA.type="languageDetector";const GH="modulepreload",XH=function(t){return"/"+t},T_={},Ye=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){let f=function(d){return Promise.all(d.map(p=>Promise.resolve(p).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");i=f(r.map(d=>{if(d=XH(d),d in T_)return;T_[d]=!0;const p=d.endsWith(".css"),m=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${m}`))return;const g=document.createElement("link");if(g.rel=p?"stylesheet":GH,p||(g.as="script"),g.crossOrigin="",g.href=d,c&&g.setAttribute("nonce",c),document.head.appendChild(g),p)return new Promise((y,v)=>{g.addEventListener("load",y),g.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(u){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u}return i.then(u=>{for(const c of u||[])c.status==="rejected"&&o(c.reason);return e().catch(o)})},cf={en:{label:"English",dayjs:()=>Ye(()=>import("./en-Dy-xOpwq.js").then(t=>t.e),[]),flatpickr:null,i18n:()=>Ye(()=>import("./translations-CZKR5ymE.js"),[]),flag:"united-kingdom"},es:{label:"Espanol",dayjs:()=>Ye(()=>import("./es-DjGX5gcs.js").then(t=>t.e),[]),flatpickr:()=>Ye(()=>import("./es-BExlaXLv.js").then(t=>t.e),[]).then(t=>t.Spanish),i18n:()=>Ye(()=>Promise.resolve().then(()=>WH),void 0),flag:"spain"},ar:{label:"Arabic",dayjs:()=>Ye(()=>import("./ar-KmXW_QZH.js").then(t=>t.a),[]),flatpickr:()=>Ye(()=>import("./ar-B7NuHcGZ.js").then(t=>t.a),[]).then(t=>t.Arabic),i18n:()=>Ye(()=>import("./translations-DMTvHhmW.js"),[]),flag:"saudi"}},KA=Object.keys(cf),QA={days:{MONDAY:"Lunes",TUESDAY:"Martes",WEDNESDAY:"Miércoles",THURSDAY:"Jueves",FRIDAY:"Viernes",SATURDAY:"Sábado",SUNDAY:"Domingo"},browse:"Explorar","or-drop-your-files-here":"o arrastra tus archivos aquÃ","verification-error":"Error de verificación",post:"Publicación",code:"Código","search-here":"Buscar...",logout:"Cerrar sesión",notifications:"Notificaciones","change-status":"Cambiar estado",publish:"Publicar",all:"Todos","error-credential-wrong":"Credenciales incorrectas",accept:"Aceptar",close:"Cerrar","comment-moderation":"Moderación de Comentario",comments:"Comentarios",article:"ArtÃculo",viewing:"Viendo","no-comments-yet":"Sin comentarios aún",created_at:"Creado el","load-more-comments":"Cargar más comentarios","error-deleting-comment":"Error al eliminar el comentario",processing:"Procesando...","pay-securely-now":"Pagar de forma segura ahora","account-registration":"Registro de Cuenta","secure-payment":"Pago Seguro",step:"Paso",month:"Mes","add-month":"Agregar Mes",period:"Periodo",price:"Precio",date:"Fecha",action:"Acción",current:"Actual","month-total":"Meses Totales","total-covered-access":"Acceso Total Cubierto","go-back-and-edit-info":"Volver atrás y editar información","total-amount":"Cantidad Total",reward:"Regalo ganado","reward-included":"Incluido con tu membresÃa",gender:{M:"Masculino",F:"Femenino"},buttons:{view:"Ver",edit:"Editar",delete:"Eliminar",approve:"Aprobar",reject:"Rechazar","comment-moderation":"Moderación de Comentario",contact_support:"Contactar Soporte",continue_payment:"Continuar al pago"},"empty-message":"No hay datos para mostrar",show:"Mostrar",pending:"Pendientes","requires-order":"Requiere orden","no-requires-order":"No requiere orden","order-created":"Orden creada","total-selected":"Total seleccionado",of:"de",reference:"Referencia",status:"Estado",reported:"Reportar",statuses:{ALL:"Todos",APPROVED:"Aprobado",REJECTED:"Rechazado",PENDING:"Pendiente",DELET
50ED:"Eliminado",REPORTED:"Reportado",VISIBLE:"Visible",HIDDEN:"Oculto",REVIEW:"En revisión",DELIVERED:"Entregado",CANCELLED:"Cancelado",IN_PROCESS:"En proceso"},reason:{VIOLENCE:"Violencia",SPAM:"Spam",FAKE_NEWS:"Noticias falsas",INAPPROPRIATE:"Contenido inapropiado",OTHER:"Otro"},attempts:"Intentos",continue:"Continuar","generate-order":"Generar orden",loading:"Cargando...",page:"página","view-table":"Ver tabla","table-view":"Vista de la tabla","full-screen":"Pantalla completa","row-dense":"Fila compacta","per-page":"por página","search-placeholder":"Buscar...",entries:"Elementos",actions:"Acciones",cancel:"Cancelar",save:"Guardar",delete:"Eliminar",edit:"Editar",add:"Agregar","saving-please-wait":"Guardando, Por favor espere.","search-fans-please-wait":"Buscando aficionado, Por favor espere.","saving-model":"Guardando {{model}}...","search-fan-model":"Buscando aficionado","updating-please-wait":"Actualizando, Por favor espere.","updating-model":"Actualizando {{model}}...","deleting-please-wait":"Eliminando, Por favor espere.","deleting-model":"Eliminando {{model}}...","not-autorized":{title:"NO TIENES AUTORIZACION",description:"No tienes acceso a esta sección, por favor consulte con un administrador.","go-back":"Volver Atrás"}},ZA={dashboards:{title:"Dashboards",home:"Inicio"},settings:{title:"Configuraciones",general:"General",appearance:"Apariencia","appearance-description":"Personaliza la apariencia de la aplicación. Selecciona los colores y el modo del tema, para cambiar el aspecto de la aplicación."},administration:{title:"Administración",users:"Usuarios",profiles:"Perfiles",access:"Accesos",articles:"Noticias",articles_categories:"CategorÃas de Noticias",posts_categories:"CategorÃas de Publicaciones",banners:"Banners",posts:"Publicaciones",donations:"Donaciones",comments:"Comentarios",articles_comments_reports:"Comentarios Reportados",posts_comments_reports:"Comentarios Reportados",notifications:"Notificaciones"}},JA={welcome:"Bienvenido","please-sign-in":"Por favor inicia sesión","please-sign-in-to-continue":"Por favor inicia sesión para continuar",search:"Buscar",searching:"Buscando...","remember-me":"Recuerdame","forgot-password":"Olvidaste contraseña?","show-password":"Mostrar contraseña","hide-password":"Ocultar contraseña","sign-in":"Iniciar sesión","go-back":"Regresar","sign-up":"Registrarse","signing-in":"Iniciando sesión...",update:"Actualizar contraseña","dont-have-account":"¿No tienes cuenta?","create-account":"Crear cuenta","create-account-fan":"Ya soy socio, crear una cuenta","i-agree-with":"Acepto los","privacy-policy":"PolÃtica de privacidad","terms-and-conditions":"Términos y Condiciones","please-sign-up-to-continue":"Crea tu acceso a la plataforma de socios. Necesitas tener tu membresÃa activa.","already-have-an-account":"¿Ya tienes una cuenta?","attempts-left":"intentos restantes",signup:{"members-only":"Solo socios con membresÃa pueden crear su cuenta.","step-verification":"Verificación","step-your-data":"Tus datos","not-member-yet":"¿TodavÃa no eres socio? Compra tu membresÃa y luego crea tu cuenta aquÃ.","become-member":"Comprar membresÃa"},"password-checklist":{length:"Entre 8 y 30 caracteres",lowercase:"Una letra minúscula",uppercase:"Una letra mayúscula",number:"Un número",special:"Un carácter especial (!@#$â¦)","strength-weak":"Contraseña débil","strength-fair":"Contraseña regular","strength-good":"Contraseña buena","strength-strong":"Contraseña segura",progress:"{{met}} de {{total}} requisitos cumplidos"},form:{email:"Email",email_admin:"Email de administrador",password:"Contraseña",new_password:"Nueva contraseña",new_password_confirmed:"Confirme Contraseña",name:"Nombres",lastname:"Apellidos",username:"Nombre de usuario",document_number:"Número de documento",phone:"Teléfono",dateOfBirth:"Fecha de nacimiento",gender:"Género",terms:"Términos y condiciones",placeholder:{email:"Por favor ingrese su correo",name:"Ingrese sus nombres",lastname:"Ingrese sus apellidos",username:"Ingrese su nombre de usuario",document_number:"Ingrese su número de documento",phone:"Ingrese su teléfono",dateOfBirth:"Ingrese su fecha de nacimiento",gender:"Seleccione su género",terms:"Acepto los términos y condiciones",email_admin:"Por favor ingrese Email de administrador",password:"Por favor ingrese su contraseña",confirmPassword:"Repita su contraseña",new_password:"Por favor ingrese su nueva contraseña",new_password_confirmed:"Por favor confirme su nueva contraseña",genders:{male:"Masculino",female:"Femenino",other:"Otro"}},error:{email:"Debe ingresar su correo","email-invalid":"Correo no válido","email-required":"El correo es requerido",name:"Ingrese sus nombres",lastname:"Ingrese sus apellidos",username:"Ingrese su nombre de usuario",email_admin:"Debe ingresar el correo de administrador","email_admin-invalid":"Correo de administrador no válido",terms:"Debes aceptar los términos y condiciones",confirmPassword:"Las contraseñas no coinciden",password:"Es necesario que ingrese su contraseña","name-only-letters":"El nombre solo puede contener letras","lastname-only-letters":"El apellido solo puede contener letras","city-only-letters":"El nombre de la ciudad solo puede contener letras","username-only-letters-and-numbers":"El nombre de usuario solo puede contener letras y números","password-min-length":"La contraseña debe tener al menos 8 caracteres","password-uppercase":"La contraseña debe contener al menos una letra mayúscula","password-lowercase":"La contraseña debe contener al menos una letra minúscula","password-number":"La contraseña debe contener al menos un número","password-special-char":"La contraseña debe contener al menos un carácter especial","name-min":"El nombre debe tener al menos 2 caracteres","lastname-min":"El apellido debe tener al menos 2 caracteres","username-min":"El nombre de usuario debe tener al menos 4 caracteres","name-max":"El nombre no debe exceder los 50 caracteres","lastname-max":"El apellido no debe exceder los 50 caracteres","username-max":"El nombre de usuario no debe exceder los 20 caracteres","username-alpha":"El nombre de usuario solo puede contener letras y números","password-min":"La contraseña debe tener al menos 8 caracteres","password-max":"La contraseña no debe exceder los {{max}} caracteres","confirmPassword-match":"Las contraseñas deben coincidir",new_password:"Es necesario que ingrese su nueva contraseña",new_password_confirmed:"Es necesario que confirme su nueva contraseña",document_number:"El número de documento es requerido",phone:"Ingrese su teléfono","phone-required":"El número de teléfono es requerido","phone-invalid":"Ingrese un número de teléfono válido","gender-required":"Seleccione su género",dateOfBirth:"Seleccione su fecha de nacimiento","dateOfBirth-before-today":"La fecha de nacimiento debe ser anterior a hoy",gender:"Seleccione su género",invali
50dDocument:"Documento no válido",invalidDocumentRuc:"RUC no válido","address-required":"La dirección es requerida","address-invalid":"La dirección contiene caracteres no permitidos","address-max":"La dirección no debe exceder los 150 caracteres","adult-required":"Debes declarar que eres mayor de edad para donar","terms-required":"Debes aceptar los términos y condiciones","amount-max":"El monto no debe exceder de lo seleccionado","amount-min":"El monto no debe ser menor de lo seleccionado","message-required":"Escribe tu mensaje","message-min":"El mensaje debe tener al menos 10 caracteres","message-max":"El mensaje no debe exceder los 1000 caracteres"}},otp:{title:"Verificación OTP",description:"Ingresa el código que enviamos a tu correo.",resend:"Reenviar código",confirm:"Confirmar","error-length":"Debe ingresar el código completo"},recovery:{"page-title":"Recuperar contraseña",club:"Club Deportivo El Nacional","back-to-login":"Volver al inicio de sesión","title-prefix":"Recuperar","title-highlight":"contraseña",subtitle:"Ingresa tu número de cédula. Buscaremos el correo asociado y te enviaremos un código para restablecer tu contraseña.","dni-placeholder":"Número de cédula","dni-only-numbers":"La cédula solo debe contener números","dni-length":"La cédula debe tener 10 dÃgitos","dni-required":"Ingresa tu número de cédula","update-title-prefix":"Nueva","update-subtitle":"Crea una nueva contraseña para tu cuenta.","password-requirements":"Entre 8 y 12 caracteres, con mayúscula, minúscula, número y un sÃmbolo (!@#$%â¦).",error:"Error"}},eO={users:"Formulario de Usuarios",profiles:"Formulario de Perfiles",access:"Formulario de Accesos",authorizations:"Formulario de Autorizaciones",articles_categories:"Formulario de CategorÃas de Noticias",posts_categories:"Formulario de CategorÃas de Publicaciones","posts-change-status":"Formulario de Cambio de Estado de Publicación","post-reports":"Formulario de Reportes de Publicación"},tO={user:"Usuario",profile:"Perfil",authorizations:"Autorizaciones",article:"Noticias",articles_category:"CategorÃa de Noticia",posts_category:"CategorÃa de Publicación",banner:"Banner",donation:"Donación",membership:"MembresÃa",post:"Publicación",notification:"Notificación"},rO={delete:{title:"Eliminar Usuario",description:"¿Estás seguro de que deseas eliminar este usuario?"},table:{id:"ID",full_name:"NOMBRE",email:"Email",dni:"Numero de documento",phone:"Telefono",authorizations_count:"NÃMERO DE AUTORIZACIONES"}},nO={home:"Inicio",profile:"Mi Perfil",articles:"Noticias",articles_categories:"CategorÃas de Noticias",posts_categories:"CategorÃas de Publicaciones",banners:"Banners",posts:"Publicaciones",donations:"Donaciones",notifications:"Notificaciones",volunteers:"Voluntarios"},aO={status:{pending:"Pendiente",approved:"Aprobada",rejected:"Rechazada"},approve:{title:"Aprobar Donación",description:"¿Estás seguro de que deseas aprobar esta donación?",action:"Aprobar"},reject:{title:"Rechazar Donación",description:"¿Estás seguro de que deseas rechazar esta donación?",action:"Rechazar"},table:{id:"ID",fan:"Aficionado",voucher:"Comprobante",status:"Estado",created_at:"Fecha"},form:{amount:"Monto",file:"Comprobante de donación",placeholder:{amount:"Ingrese el monto de la donación"},success_message:"Donación registrada exitosamente",error:{amount_required:"Es necesario ingresar el monto de la donación",amount_positive:"El monto de la donación debe ser un número positivo",file_required:"Es necesario subir un comprobante de donación",file_extension:"El archivo debe tener una extensión válida (jpg, jpeg, png, pdf)",file_type:"El archivo debe ser una imagen o un PDF",file_size:"El archivo no debe exceder los 5MB"}
50,bank_details:{title:"Datos bancarios",tap_to_copy:"Toca para copiar",copy:"Copiar",copied:"Copiado",labels:{bank:"Banco",account:"Cuenta Corriente",holder:"Titular",ruc:"RUC"}},transfer_steps:{title:"Cómo donar",items:["Realice la transferencia bancaria.","Guarde o capture el comprobante.","Registre una donación entre ${{min}} y ${{max}} dólares.","Quedará en estado pendiente hasta que un moderador verifique el pago y lo marque como recibido o rechazado."]}}},iO={general:"Configuración General",appearance:{title:"Apariencia",description:"Personaliza la apariencia de la aplicación. Selecciona los colores y el modo del tema, para cambiar el aspecto de la aplicación."},theme:{title:"Tema",description:"Selecciona el tema de la aplicación.",light:"Claro",dark:"Oscuro",system:"Sistema","primary-color":{title:"Color Primario",description:"Elige un color que se utilizará como color primario para tu tema."},"light-color-scheme":{title:"Esquema de Color Claro",description:"Selecciona el esquema de color claro que se utilizará para tu tema.",slate:"Pizarra",gray:"Gris",neutral:"Neutral"},"dark-color-scheme":{title:"Esquema de Color Oscuro",description:"Selecciona el esquema de color oscuro que se utilizará para tu tema.",mint:"Menta",navy:"Navy",mirage:"Mirage",cinder:"Cinder",black:"Negro"}},notifications:{title:"Notificaciones",description:"Configura las notificaciones de la aplicación.",group:{title:"Grupo de Notificaciones",description:"Selecciona el grupo de notificaciones que deseas recibir.",stacked:"Apiladas",expanded:"Expandido"},"max-count":"Cantidad Máxima de Notificaciones",position:"Posición de las Notificaciones"},"card-skin":"Estilo de tarjeta","theme-chrome-mode":"Tema Monocromatico","reset-theme":"Reiniciar Tema"},sO={description:"Actualiza tu perfil",title:"Mi Perfil",form:{email:"Email",password:"Contraseña",name:"Nombres",lastname:"Apellidos",username:"Nombre de usuario",phone:"Telefono",gender:"Genero",city:"Ciudad",dni:"Numero de documento",surname:"Apellidos",documentType:"Tipo de documento",mobile:"Número de teléfono",placeholder:{email:"Por favor ingrese su correo",password:"Por favor ingrese su contraseña",name:"Ingrese sus nombres",lastname:"Ingrese sus apellidos",phone:"Ingrese su telefono ej:+593988931452",gender:"Elija el genero",city:"Ingrese su ciudad de residencia",dni:"Ingrese su numero de documento",surname:"Ingrese sus apellidos",documentType:"Seleccione el tipo de documento",mobile:"Ingrese su número de teléfono ej:+593988931452",username:"Ingrese su nombre de usuario"},error:{email:"Es necesario ingresar su correo",password:"Es necesario que ingrese su contraseña",name:"Ingrese sus nombres",lastname:"Ingrese sus apellidos",phone:"Ingrese su telefono ej:+593988931452",gender:"Elija el genero",city:"Ingrese su ciudad de residencia",dni:"Ingrese su numero de documento",surname:"Ingrese sus apellidos",documentType:"Seleccione el tipo de documento",mobile:"Ingrese su número de teléfono ej:+593988931452",username:"Ingrese su nombre de usuario",invalidDocument:"Documento no válido",invalidDocumentRuc:"RUC no válido"}}},oO={load_more:"Cargar más publicaciones",load_error:"Error al cargar las publicaciones",no_posts:"No hay publicaciones para mostrar",end_of_posts:"Has llegado al final de las publicaciones.",delete:{title:"Eliminar Publicación",description:"¿Estás seguro de que deseas eliminar esta publicación?",actionText:"Eliminar"},form:{status:"Estado"},table:{id:"ID",title:"TÃtulo",file_url:"Imagen",description:"Descripción",date:"Fecha",category:"CategorÃa",status:"Estado",created_at:"Creado el",fan:"Aficionado",content:"Contenido",no_image:"Sin imagen",view:"Ver"},status:{ALL:"Todos",APPROVED:"Aprobado",REJECTED:"Rechazado",PENDING:"Pendiente",DELETED:"Eliminado",REPORTED:"Reportado",VISIBLE:"Visible",HIDDEN:"Oculto",REVIEW:"En revisión"}},lO={load_more:"Cargar más noticias",load_error:"Error al cargar las noticias",no_articles:"No hay regalos para mostrar",latest_news:"Ãltimas Noticias",end_of_articles:"Has llegado al final de las noticias.",table:{id:"ID",title:"TÃtulo",file_url:"Imagen",description:"Descripción",date:"Fecha",category:"CategorÃa",created_at:"Creado el",view:"Ver"}},uO={delete:{title:"Eliminar Comentario",description:"¿Estás seguro de que deseas eliminar este comentario? Esta acción no se puede deshacer.",actionText:"Eliminar"}},cO={title_registration:"Registro de Voluntarios",new_registration:"Nuevo registro de voluntariado",description:"Forma parte de nuestra red de voluntarios y contribuye activamente al fortalecimiento de la comunidad a través de iniciativas, apoyo y participación ciudadana.",i_want_to_be_volunteer:"Quiero ser voluntario",close_form:"Cerrar formulario",my_volunteer_applications:"Mis
50solicitudes de voluntariado",volunteer_history:"Historial de solicitudes de voluntariado",available_days:"DÃas disponibles para voluntariado",no_days:"No se han seleccionado dÃas",schedule:"Horario",form:{name:"Nombres",lastname:"Apellidos",email:"Email",phone:"Telefono",city:"Ciudad",message:"Mensaje",placeholder:{name:"Ingrese sus nombres",lastname:"Ingrese sus apellidos",email:"Por favor ingrese su correo",phone:"Ingrese su telefono ej:+593988931452",city:"Ingrese su ciudad de residencia",message:"Cuéntanos por qué quieres ser voluntario y cómo te gustarÃa contribuir"},error:{name:"Ingrese sus nombres",lastname:"Ingrese sus apellidos",email:"Es necesario ingresar su correo",phone:"Ingrese su telefono ej:+593988931452",city:"Ingrese su ciudad de residencia",message:"Es necesario ingresar un mensaje"}}},dO={load_error:"Error al cargar los banners",no_banners:"No hay banners para mostrar"},fO={title:"Buscar socio por DNI",description:"Ingrese el número de documento del socio para buscar su información y estado de membresÃa.",placeholder:"Ingrese el número de documento",search:"Buscar",loading:"Buscando...",no_results:"No se encontraron resultados para el número de documento ingresado.",error:"Ocurrió un error al realizar la búsqueda. Por favor, inténtelo de nuevo.",too_many_attempts:"Demasiados intentos. Intente en 1 minuto.",verifying_identification:"Verificando número de documento...",remaining_attempts:"Intentos restantes: {{attempts}}",id_verified:"Cédula verificada. Por favor complete sus datos de registro para continuar con el pago.",id_number_required:"Es necesario ingresar el número de documento para verificar",codes:{ID_ACTIVE:"Socio activo",ID_INACTIVE:"Socio inactivo",ID_BLOCKED:"Socio bloqueado",ID_PENDING_PAYMENT:"Socio con pago pendiente",ID_PENDING_TRANSFER:"Socio con transferencia pendiente",MEMBERSHIP_EXIST:"El socio ya tiene una membresÃa activa",PAYMENT_FAILED:"No se pudo completar el pago"},messagesCodes:{ID_ACTIVE:"Este documento ya está asociado a un socio con una membresÃa activa. Para más información, puede comunicarse con soporte.",ID_INACTIVE:"Este documento ya está asociado a un socio, pero su membresÃa no se encuentra vigente. Para más información, puede comunicarse con soporte.",ID_BLOCKED:"Este documento pertenece a un socio cuya cuenta se encuentra bloqueada. Para más información, puede comunicarse con soporte.",ID_PENDING_PAYMENT:"Este documento pertenece a un socio que tiene un pago pendiente para la activación de su membresÃa. Para más información, puede comunicarse con soporte.",ID_PENDING_TRANSFER:"Este documento pertenece a un socio cuya solicitud de membresÃa se encuentra pendiente de validación de transferencia. Para más información, puede comunicarse con soporte.",MEMBERSHIP_EXIST:"Ya existe una membresÃa asociada a este documento. Para más información, puede comunicarse con soporte.",PAYMENT_FAILED:"Tu pago en lÃnea no pudo completarse. Si el cargo se realizó o necesitas ayuda para finalizar tu membresÃa, por favor comunÃcate con soporte."},buttons:{contact_support:"Contactar Soporte",go_back:"Volver a buscar",got_to_login:"Ir a iniciar sesión",got_to_register:"Ir a registrarse",create_account:"Crear cuenta",home_return:"Regresar al inicio",verify:"Verificar",verificated:"Verificado",continue_payment:"Continuar al pago"}},hO={"bank-transfer":"Transferencia bancaria","secure-payment":"Pago Seguro","account-registration":"Registro de Cuenta","membership-checkout":"Proceso de MembresÃa",membership:"MembresÃa",memberships:"MembresÃas","select-membership":"Seleccionar MembresÃa","selected-membership":"MembresÃa Seleccionada",continue:"Continuar",back:"Regresar",next:"Siguiente",finish:"Finalizar",step:"Paso",monthly:"Mensual",annual:"Anual",selected:"Seleccionado",select:"Seleccionar",price:"Precio",benefits:"Beneficios",description:"Descripción","membership-type":"Tipo de MembresÃa","membership-plan":"Plan de MembresÃa","membership-details":"Detalles de la MembresÃa","choose-membership":"Elija una MembresÃa","complete-registration":"Complete su Registro","personal-information":"Información Personal","contact-information":"Información de Contacto","billing-information":"Información de Facturación","payment-information":"Información de Pago","payment-method":"Método de Pago","secure-checkout":"Proceso de Pago Seguro","order-summary":"Resumen del Pedido","review-information":"Revisar Información","confirm-payment":"Confirmar Pago","membership-selected":"MembresÃa Seleccionad
50a","registration-successful":"Registro Exitoso","payment-successful":"Pago Exitoso","loading-memberships":"Cargando MembresÃas...","no-memberships-found":"No se encontraron membresÃas","please-select-membership":"Por favor seleccione una membresÃa","start-membership":"Iniciar MembresÃa",access:"Acceder",apply:"Aplicar","download-form":"Descargar Formulario","registration-form":"Formulario de Registro",subscription:"Suscripción","active-subscription":"Suscripción Activa","subscription-plan":"Plan de Suscripción","membership-value":"Valor de la MembresÃa","per-month":"Por Mes",checkout:"Finalizar Compra","complete-information":"Complete la información requerida para continuar","membership-registration":"Registro de MembresÃa","secure-transaction":"Transacción Segura","payment-details":"Detalles del Pago",confirmation:"Confirmación","minimum-membership-months":"Debe comprar al menos 1 mes de membresÃa.","remove-months-order":"Los meses deben ser removidos de más nuevo a más antiguo.","missing-checkout-information":"Información de pago requerida faltante. Por favor regrese y complete todos los pasos.","order-processing-error":"Ocurrió un error al procesar su pedido.","error-validation-title":"Revisa la información ingresada","error-generic-title":"No pudimos procesar tu pago","error-edit-info":"Editar información","missing-phone-title":"Falta tu número de teléfono","missing-phone-message":"Para procesar el pago necesitamos un teléfono de contacto y tu perfil no tiene uno registrado. Agrégalo en tu perfil y vuelve a intentar la donación.","missing-phone-action":"Completar mi perfil","edit-info-title":"Corrige tus datos","edit-info-save":"Guardar y continuar","edit-info-success-title":"Información actualizada","edit-info-success-message":"Tus datos fueron guardados. Ya puedes reintentar el pago.","payment-success":"Pago realizado con éxito.","payment-success-access":"¡Tu pago fue exitoso! Ahora tienes acceso a los beneficios de tu membresÃa.","payment-not-completed":"Tu pago no se ha completado. Por favor, inténtalo de nuevo o contacta al soporte.","membership-cart":"Carrito de MembresÃa","processing-payment":"Procesando tu pago, por favor espera...","proceed-to-payment":"Proceder al Pago","select-payment-method":"Selecciona tu método de pago","upload-voucher":"Subir Comprobante de la transferencia","payment-methods":"Métodos de Pago","online-payment":"Pago en lÃnea","register-transfer":"Registrar transferencia","online-payment-description":"Paga de forma segura utilizando nuestra plataforma de pago en lÃnea. Aceptamos tarjetas de crédito, débito y otros métodos de pago electrónicos para tu conveniencia.","no-payment-types-available":"No hay métodos de pago disponibles","select-payment-type":"Selecciona un método de pago para completar tu orden","upload-voucher-description":"Sube el comprobante de tu donación para que podamos verificarlo y procesar tu solicitud de membresÃa.","rewards-title":"Regalos para socios","rewards-subtitle":"Beneficios que puedes reclamar según las cuotas que lleves al dÃa.","rewards-unique":"Premio Ãnico","rewards-loading":"Cargando regalos para socios...","rewards-valid-for-membership":"Válido para la membresÃa","rewards-valid-for":"Válido para","rewards-all-memberships":"todas las membresÃas","rewards-claim":"Reclamar","rewards-view":"Ver","rewards-valid-memberships":"Válido para estas membresÃas","rewards-no-memberships":"Disponible para todas las membresÃas","rewards-years_one":"{{count}} año","rewards-years_other":"{{count}} años","rewards-months_one":"{{count}} mes","rewards-months_other":"{{count}} meses","rewards-duration-and":"y","rewards-member-since-duration":"{{duration}} de socio","rewards-claimed-membership":'Plan actualizado a {{membership}} con {{count}} periodos para reclamar "{{reward}}".',"rewards-claimed":'Se agregaron {{count}} periodos para reclamar "{{reward}}".',"rewards-not-for-membership":'"{{reward}}" no aplica para la membresÃa {{membership}}. Disponible para: {{list}}.',"maximum-reward-months":'El regalo "{{reward}}" permite un máximo de {{count}} meses.',"checkout-title-1":"AfÃliate a","checkout-title-brand":"El Nacional","checkout-subtitle":"Completa tu registro y elige tu plan para unirte al Bitri.","choose-plan-title":"Elige tu plan","choose-plan-subtitle":"Selecciona la membresÃa que mejor se adapte a ti.","loading-membership-types":"Cargando tipos de membresÃas...","per-month-short":"/mes","no-data-title":"No existen datos","no-data-message":"No existe información para el número de identificación proporcionado.","incomplete-data-title":"Datos incompletos","incomplete-data-message":"No se pudieron obtener datos completos del fan para la verificación.","membership-not-selected-title":"MembresÃa no seleccionad
50a","membership-not-selected-message":"Por favor, selecciona una membresÃa para proceder al pago.","action-unavailable-title":"Acción no disponible","action-unavailable-message":"No hay acciones disponibles para este estado de membresÃa. Por favor, contacta al soporte para más información.","id-locked-placeholder":"Bloqueado...","id-number-placeholder":"Ingrese número de cédula","id-number-label":"Ingrese el número de cédula","verify-again":"Volver a verificar","confirm-password-placeholder":"Repetir contraseña","otp-max-attempts":"Superó el número máximo de intentos, por favor solicite un nuevo código OTP","transfer-voucher-required":"Debe subir el comprobante","transfer-voucher-image-only":"Solo se permiten imágenes"},pO={pending_orders:"Ãrdenes pendientes",no_pending_orders:"No hay órdenes pendientes",cancel:{title:"Cancelar orden",description:"¿Estás seguro de que deseas cancelar esta orden? Esta acción no se puede deshacer.",actionText:"Cancelar orden"}},mO={access:"Acceder",nav:{home:"Inicio",club:"Club",members:"Socios",store:"Tienda",contact:"Contacto",tickets:"Tickets",donations:"Donaciones","members-access":"Acceso Socios"},footer:{tagline:"Más que un club, somos historia, identidad y orgullo ecuatoriano. Una pasión que nació en la cancha, creció con su hinchada y sigue viva en cada generación que lleva estos colores en el corazón. El Bitri no solo se alienta, se siente, se defiende y se vive para siempre.",navigation:"Navegación","contact-us":"Contáctanos","developed-by":"Desarrollado por",location:"Quito, Ecuador",rights:"Todos los derechos reservados."},hero:{tagline:"Más que hinchas,","title-we-are":"Somos","title-brand":"El Nacional",subtitle:"Ãnase a nuestra comunidad de socios y ayúdenos a seguir escribiendo la historia del Bitri.","cta-join":"Hazte socio","cta-sponsor":"Quiero ser auspiciante","banner-aria":"Ir al banner {{number}}"},stats:{"total-membership-value":"Recaudación nuevos socios","new-members":"Nuevos socios","donations-made":"Donaciones realizadas","total-donated":"Total donado","member-rewards":"Premios para socios"},raffle:{eyebrow:"Incentivos para socios","title-1":"Cada semana premiamos","title-2":"a nuestra hinchada",description:"Premiamos a socios registrados y nuevos con experiencias únicas dentro del club y premios oficiales por tu antigüedad.","how-title":"¿Cómo participar?","win-title":"Sorteos semanales","weekly-eyebrow":"Sorteo semanal","weekly-title":"Cada semana te puedes ganar estos premios","weekly-text":"Entradas, productos oficiales y experiencias únicas dentro del club. Mantén tu membresÃa al dÃa y participa automáticamente.","weekly-cta":"Hazte socio"},steps:{"join-title":"Hazte socio","join-text":"Elige tu plan y activa tu membresÃa.","keep-title":"Mantén tu membresÃa activa","keep-text":"Renueva a tiempo y consérvala vigente año tras año.","antiquity-title":"Acumula antigüedad","antiquity-text":"Mientras más años cumplas como socio, más premios recibes."},incentives:{"visits-title":"Visitas al complejo","visits-text":"Conoce por dentro la casa del Bitri.","training-title":"Entrenamientos","training-text":"Vive de cerca una práctica junto al plantel.","autographs-title":"Autógrafos","autographs-text":"Llévate la firma de tus jugadores favoritos."},loyalty:{"year1-years":"1 año","year1-period":"Por ser miembro durante un año","year1-prize":"Gorra oficial","year1-text":"Por registrar una membresÃa de 1 año, te llevas la gorra oficial del club.","year2-years":"2 años","year2-period":"Por ser miembro durante dos años","year2-prize":"Camiseta oficial conmemorativa","year2-text":"Al registrar una membresÃa de 2 años, te llevas la camiseta conmemorativa."},impact:{"section-title":"Tu apoyo hace la diferencia","section-text":"Ser socio de El Nacional es mucho más que apoyar al equipo. Es invertir en el presente y futuro del club, sus formativas, infraestructura y proyectos sociales.",cta:"Conoce nuestro impacto","youth-value":"+10.000","youth-title":"Jóvenes formados","youth-text":"En nuestras divisiones formativas","infrastru
50cture-value":"Mejoras","infrastructure-title":"En infraestructura","infrastructure-text":"Para un club más fuerte y sostenible","social-value":"Programas","social-title":"Sociales","social-text":"Que impactan en nuestra comunidad","legacy-value":"Un legado","legacy-title":"Que continúa","legacy-text":"Con su apoyo seguimos haciendo historia"},benefits:{"section-title":"Beneficios de ser socio","tickets-title":"Precio especial en entradas","tickets-text":"Acceda a descuentos exclusivos en boletos.","store-title":"Descuentos en tienda oficial","store-text":"Ahorre en productos oficiales del club.","events-title":"Acceso a eventos exclusivos","events-text":"Viva experiencias únicas junto al club.","content-title":"Contenido exclusivo","content-text":"Entérese primero de las novedades.","community-title":"Comunidad de socios","community-text":"Sea parte de una gran familia."},testimonials:{"section-title":"Voces de nuestra comunidad","section-text":"Nuestros socios son el corazón de El Nacional. Esto dicen ellos.",cta:"Ãnete a la comunidad","t1-name":"Andrés M.","t1-plan":"Socio Golden","t1-text":"Ser socio es la mejor decisión. Siento que realmente hago parte del club.","t2-name":"MarÃa P.","t2-plan":"Socia Titanium","t2-text":"Los beneficios son increÃbles y lo mejor es saber que mi apoyo ayuda al club.","t3-name":"Diego R.","t3-plan":"Socio Plata","t3-text":"El Nacional es mi pasión desde niño, ahora como socio la vivo más que nunca."},memberships:{"title-1":"Elige tu","title-2":"membresÃa",subtitle:"Hay un plan para cada hincha. Elija el que mejor se adapte a usted."},social:{follow:"Nuevas Redes sociales"},index:{"featured-eyebrow":"Identidad Roja","hero-title-1":"EL","hero-title-2":"Nacional","hero-text":"El Nacional es historia y orgullo ecuatoriano. Nacido en las Fuerzas Armadas y fiel a sus jugadores nacionales, es un sÃmbolo de disciplina, tradición y pasión por los colores rojo y militar.","banner-aria":"Ir a la imagen {{number}}","matches-title":"Partidos","matches-tab-upcoming":"Próximos","matches-tab-results":"Resultados","matches-competition-all":"Todas","matches-competition-label":"Competición","matches-empty":"No hay partidos para este filtro.","matches-v
50iew-events":"Ver eventos del partido","status-live":"EN VIVO","status-upcoming":"PRÃXIMO","status-finished":"FINALIZADO","news-title":"Ãltimas noticias","news-empty":"No hay noticias disponibles por el momento.","next-title":"Próximo partido","live-title":"Partido en vivo",vs:"VS",today:"Hoy","buy-tickets":"Comprar entradas","standings-title":"Tabla de posiciones","standings-league":"LigaPro Serie A","standings-pos":"Pos","standings-team":"Equipo","standings-pj":"PJ","standings-pts":"PTS","community-eyebrow":"Comunidad","community-title-1":"Sé parte de la","community-title-2":"Gloria del Fútbol","community-text":"Ãnete a nuestra comunidad de socios y accede a beneficios exclusivos. Juntos somos más fuertes.","sponsors-eyebrow":"Aliados","sponsors-title":"Nuestros auspiciantes","sponsors-cta-text":"¿Tu marca quiere sumarse a El Nacional?"},donation:{eyebrow:"Apoya al club","title-1":"A El Nacional","title-2":"LO SALVAMOS TODOS",text:"Tu donación nos permite seguir peleando por mantener la categorÃa: refuerza al equipo, sostiene a las formativas y cubre la logÃstica de cada partido. Cada aporte cuenta en esta lucha â la esperanza nunca se pierde.",cta:"Quiero donar"},news:{"section-title":"Ãltimas noticias","read-more":"Leer noticia"},faq:{"section-title":"Preguntas frecuentes",empty:"No hay preguntas frecuentes disponibles en este momento.",q1:"¿Cómo me hago socio de El Nacional?",a1:"Selecciona el plan de membresÃa de tu preferencia, completa el formulario de registro y realiza el pago correspondiente. Una vez confirmada la transacción, tu membresÃa quedará activa y podrás disfrutar de todos los beneficios disponibles para los socios.",q2:"¿Qué métodos de pago aceptan?",a2:"Aceptamos pagos mediante tarjetas de crédito, tarjetas de débito y transferencias bancarias. Las opciones disponibles se mostrarán durante el proceso de afiliación o renovación.",q3:"¿Puedo cambiar de plan más adelante?",a3:"SÃ. Puedes solicitar el cambio a otro plan de membresÃa de acuerdo con las opciones vigentes. Para recibir asistencia, comunÃcate con nuestro equipo de atención al socio.",q4:"¿Cuándo debo renovar mi membresÃa?",a4:"La membresÃa no se renueva de forma automática. Al finalizar el perÃodo de vigencia de tu plan, deberás realizar el proceso de renovación para mantener activos tus beneficios como socio.","contact-title":"¿Tiene más dudas?","contact-text":"Estamos aquà para ayudarle.","contact-cta":"Contáctanos","contact-location":"Quito, Ecuador"},"membership-types":{apply:"Aplicar","benefits-label":"Beneficios de socio","per-month":"/ Mes",loading:"Cargando tipos de membresÃas...","see-more":"Ver más beneficios"},sponsor:{success:"Gracias por su interés, nuestro equipo se pondrá en contacto con usted.",error:"Ocurrió un error al enviar el formulario. Por favor, inténtelo de nuevo.",title:"Quiero ser auspiciante",subtitle:"Déjenos sus datos y nuestro equipo se pondrá en contacto con usted.",close:"Cerrar",name:"Nombre","name-placeholder":"Ingrese su nombre","last-name":"Apellido","last-name-placeholder":"Ingrese su apellido",id:"Cédula / RUC / Pasaporte","id-placeholder":"Ingrese su cédula, RUC o pasaporte","id-type":"Tipo de documento","id-type-cedula":"Cédula","id-type-ruc":"RUC","id-type-passport":"Pasaporte","id-placeholder-cedula":"Ingrese su cédula","id-placeholder-ruc":"Ingrese su RUC","id-placeholder-passport":"Ingrese su pasaporte",phone:"Teléfono","phone-placeholder":"Ingrese su teléfono",company:"Empresa","company-placeholder":"Ingrese el nombre de su empresa",email:"Correo","email-placeholder":"Ingrese su correo",message:"Mensaje","message-placeholder":"Escriba su mensaje",sending:"Enviando...",submit:"Enviar formulario","error-required":"Este campo es obligatorio","error-email":"Correo no válido","error-validation":"Por favor complete los campos obligatorios.","error-id-cedula":"Ingrese una cédula válida","error-id-ruc":"Ingrese un RUC válido","error-id-passport":"Ingrese un pasaporte válido","error-phone":"Ingrese un número de teléfono válido","error-only-letters":"Solo se permiten letras"}},gO={id_verified:"Cédula verificada. Completa tus datos para crear tu cuenta.",codes:{ID_ACTIVE:"Ya tienes una cuenta",ID_INACTIVE:"Cuenta inactiva",ID_BLOCKED:"Cuenta bloqueada",ID_PENDING_PAYMENT:"Pago pendiente",ID_PENDING_TRANSFER:"Transferencia pendiente",NO_MEMBERSHIP:"Aún no eres socio"},messagesCodes:{ID_ACTIVE:"Este documento ya tiene una cuenta registrada y activa. Inicia sesión para continuar.",ID_INACTIVE:"Este documento está asociado a una cuenta inactiva. ComunÃcate con soporte para reactivarla.",ID_BLOCKED:"Este documento pertenece a una cuenta bloqueada. ComunÃcate con soporte para más información.",ID_PENDING_PAYMENT:"Este documento está asociado a una cuenta con un pago pendiente. C
50omunÃcate con soporte para más información.",ID_PENDING_TRANSFER:"Este documento está asociado a una cuenta con una transferencia pendiente de validación. ComunÃcate con soporte para más información.",NO_MEMBERSHIP:"No encontramos una membresÃa asociada a este documento. Para crear tu cuenta primero necesitas adquirir una membresÃa."},buttons:{contact_support:"Contactar Soporte",got_to_login:"Ir a iniciar sesión",buy_membership:"Comprar membresÃa",home_return:"Regresar al inicio",continue_payment:"Continuar al pago"}},vO={fallback:{member:"Socio"},hero:{welcome_back:"Bienvenido de nuevo,",member_subtitle:"Este es su espacio como socio de El Nacional. Gracias por ser parte del Bitri.",guest_subtitle:"Bienvenido a El Nacional. Hazte socio para acceder a beneficios exclusivos y tu credencial digital del club."},reload:{label:"Recargar información",loading:"Recargando..."},member_card:{member_code:"Código de socio",active_benefits:"Beneficios activos",suspended_benefits:"Beneficios suspendidos",qr_title:"Tu código QR",qr_alt:"Código QR",shield_alt:"El Nacional",payment_method:"Forma de pago"},stats:{total_donated:"Total donado",total_donated_subtitle:"Gracias por su apoyo",member_until:"Socio hasta",days_left:"Quedan {{days}} dÃas",membership_expired:"MembresÃa vencida",current_plan:"Plan actual",current_plan_subtitle:"MembresÃa vigente",status:"Estado",status_subtitle:"Cuenta activa"},membership_status:{active:"Activo",inactive:"Inactivo"},support:{thanks:"Gracias por apoyar",title:"Al Bitri",subtitle:"Su compromiso impulsa al club dentro y fuera de la cancha.",donate:"Realizar donación",renew:"Renovar membresÃa"},benefits:{title:"Sus beneficios como socio"},management:{title:"Gestiones de tu membresÃa",subtitle:"Estas gestiones estarán disponibles muy pronto en tu portal de socio.","coming-soon":"Próximamente","change-plan-title":"Cambio de plan","change-plan-text":"Sube o cambia tu plan de membresÃa según lo que más te convenga.","pay-dues-title":"Pago de cuotas impagas","pay-dues-text":"Ponte al dÃa con las cuotas pendientes y mantén tus beneficios activos.","cancel-title":"Baja de membresÃa","cancel-text":"Solicita la baja de tu membresÃa cuando lo necesites, sin complicaciones."},movements:{title:"Ãltimos movimientos",date:"Fecha",concept:"Concepto",value:"Valor",view_all:"Ver todos los movimientos",view_less:"Ver menos",concepts:{approved:"Donación aprobada",pending:"Donación pendiente",rejected:"Donación rechazada"}},rewards:{title:"Regalos obtenidos",subtitle:"Mientras más años cumplas como socio, más premios recibes.",claim:"Reclamar recompensa"},news:{title:"Ãltimas noticias",load_error_message:"Hubo un problema al cargar las noticias. Por favor, intente de nuevo.",empty_message:"No hay regalos disponibles en este momento."},join:{eyebrow:"Aún no eres socio",title:"Hazte socio de El Nacional",subtitle:"Ãnete al Bitri y accede a beneficios exclusivos, contenido para socios y tu credencial digital del club.",cta:"Hacerse socio"},guest:{choose_membership:"Elige tu membresÃa"},orders:{pending_orders:"Ordenes pendientes","no-payment-types-available":"No hay métodos de pago disponibles","select-payment-type":"Selecciona un método de pago para completar tu orden",no_pending_orders:"No hay ordenes pendientes",table:{id:"ID",reference:"Referencia",amount:"Monto",status:"Estado",created_at:"Fecha"},status:{PENDING:"Pendiente",COMPLETED:"Completada",FAILED:"Fallida",CANCELED:"Cancelada"}}},yO={generals:QA,nav:ZA,auth:JA,forms:eO,models:tO,users:rO,title:nO,donations:aO,settings:iO,user:sO,posts:oO,articles:lO,comments:uO,volunteers:cO,banners:dO,searchFan:fO,payment:hO,orders:pO,landing:mO,searchFanRegister:gO,home:vO},WH=Object.freeze(Object.defineProperty({__proto__:null,articles:lO,auth:JA,banners:dO,comments:uO,default:yO,donations:aO,forms:eO,generals:QA,home:vO,landing:mO,models:tO,nav:ZA,orders:pO,payment:hO,posts:oO,searchFan:fO,searchFanRegister:gO,settings:iO,title:nO,user:sO,users:rO,volunteers:cO},Symbol.toStringTag,{value:"Module"})),bO="es",KH="es";fr.use(WA).use(RH).init({detection:{order:["localStorage","navigator"],lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng"},resources:{es:{translations:yO}},fallbackLng:KH,lng:localStorage.getItem("i18nextLng")||bO,supportedLngs:KA,ns:["translations"],defaultNS:"translations",interpolation:{escapeValue:!1},lowerCaseLng:!0,debug:!1});fr.languages=KA;const wO=typeof localStorage<"u"&&localStorage.getItem("i18nextLng")||bO,QH=fr.dir(wO);function ZH({children:t}){const[e,r]=j.useState(wO),[n,i]=j.useState(QH),o=j.useCallback(async u=>{try{if(cf[u]&&(await cf[u].dayjs(),Ny.locale(u),!fr.hasResourceBundle(u,"translations"))){const c=await cf[u].i18n();fr.addResourceBundle(u,"translations",c)}fr.changeLanguage(u),r(u)}catch(c){console.error("Failed to update locale:",c),fr.changeLanguage(u),r(u)}},[]);return j.useLayoutEffect(()=>{e&&o(e)},[]),j.useLayoutEffect(()=>{const u=fr.dir(e);u!==n&&i(u)},[e]),j.useLayoutEffect(()=>{document.documentElement.dir=n},[n]),te.jsx(Dz,{value:{locale:e,updateLocale:o,direction:n,setDirection:i,isRtl:n==="rtl"},children:t})}const[JH,kG]=bi("useSidebarContext must be used within SidebarProvider");function e7({children:t}){const{xlAndUp:e,lgAndDown:r,name:n}=V$(),[i,{open:o,close:u,toggle:c}]=bP(e);return fR(()=>{r&&u()},[n]),j.useLayoutEffect(()=>{const f=document?.body;f&&(i?f.classList.add("is-sidebar-open"):f.classList.remove("is-sidebar-open"))},[i]),t?te.jsx(JH,{value:{isExpanded:i,toggle:c,open:o,close:u},children:t}):null}var Ir={slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)"},sky:{400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717
50)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};const Jo={gray:{...Ir.gray,150:"#EBEDF0"},slate:{...Ir.slate,150:"#E9EEF5"},neutral:{...Ir.neutral,150:"#EDEDED"},navy:{50:"#E7E9EF",100:"#C2C9D6",200:"#A5AFC4",300:"#6D7EA1",400:"#5C6B8A",450:"#465675",500:"#384766",600:"#313E59",700:"#24314A",750:"#222E45",800:"#202B40",900:"#182030"},mirage:{50:"#DDE5F5",100:"#B4BFD9",200:"#9EAAC4",300:"#6C7C9E",400:"#3D4E70",450:"#293859",500:"#1E2B47",600:"#1A2640",700:"#101A2E",750:"#0F1729",800:"#0C1221",900:"#050A16"},black:{50:"#EBEBED",100:"#D9D9DE",200:"#C5C5CC",300:"#93939C",400:"#4A4A4F",450:"#333338",500:"#242428",600:"#1F1F21",700:"#131314",750:"#0C0C0D",800:"#080809",900:"#000000"},mint:{50:"#E1E5EA",100:"#C5CCD3",200:"#A0ABB6",300:"#70838F",400:"#506877",450:"#384954",500:"#2A3942",600:"#242F38",700:"#152129",750:"#111B22",800:"#0D161C",900:"#0A1014"},cinder:{50:"#E6E7EB",100:"#D0D2DB",200:"#B7BAC4",300:"#838794",400:"#4C4F57",450:"#383A41",500:"#2A2C32",600:"#232429",700:"#1C1D21",750:"#1A1B1F",800:"#15161A",900:"#0E0F11"},indigo:Ir.indigo,blue:Ir.blue,green:Ir.green,amber:Ir.amber,purple:Ir.purple,rose:Ir.rose,variants:{"secondary-lighter":"#FF75DF","secondary-light":"#FF2ECF",secondary:"#E000AD","secondary-darker":"#B8008C","info-lighter":Ir.sky[400],"info-light":Ir.sky[500],info:Ir.sky[600],"info-darker":Ir.sky[700],"success-lighter":Ir.emerald[400],"success-light":Ir.emerald[500],success:Ir.emerald[600],"success-darker":Ir.emerald[700],"warning-lighter":"#FFBA42","warning-light":"#FFA71A",warning:"#F59200","warning-darker":"#DB7C00","error-lighter":"#FF8A5C","error-light":"#FF6933",error:"#FF4F1A","error-darker":"#E52E00"}},C_="cinder",R_="slate",A_="blue",t7={themeMode:"light",isMonochrome:!1,themeLayout:"sideblock",cardSkin:"bordered",darkColorScheme:{name:C_,...Jo[C_]},lightColorScheme:{name:R_,...Jo[R_]},primaryColorScheme:{name:A_,...Jo[A_]},notification:{isExpanded:!1,position:"top-right",visibleToasts:4}},Fr={...t7},r7="(prefers-color-scheme: dark)",Uo=document?.documentElement;function n7({children:t}){const e=TP(r7),[r,n]=wP("settings",{themeMode:Fr.themeMode,themeLayout:Fr.themeLayout,cardSkin:Fr.cardSkin,isMonochrome:Fr.isMonochrome,darkColorScheme:Fr.darkColorScheme,lightColorScheme:Fr.lightColorScheme,primaryColorScheme:Fr.primaryColorScheme,notification:{...Fr.notification}}),i=r.themeMode==="system"&&e||r.themeMode==="dark",o=T=>{n(x=>({...x,themeMode:T}))},u=T=>{n(x=>({...x,themeLayout:T}))},c=T=>{n(x=>({...x,isMonochrome:T}))},f=T=>{n(x=>({...x,darkColorScheme:{name:T,...Jo[T]}}))},d=T=>{n(x=>({...x,lightColorScheme:{name:T,...Jo[T]}}))},p=T=>{n(x=>({...x,primaryColorScheme:{name:T,...Jo[T]}}))},m=T=>{n(x=>({...x,notification:{...x.notification,position:T}}))},g=T=>{n(x=>({...x,notification:{...x.notification,isExpanded:T}}))},y=T=>{n(x=>({...x,notification:{...x.notification,visibleToasts:T}}))},v=T=>{n(x=>({...x,cardSkin:T}))},w=()=>{n({themeMode:Fr.themeMode,themeLayout:Fr.themeLayout,isMonochrome:Fr.isMonochrome,darkColorScheme:Fr.darkColorScheme,lightColorScheme:Fr.lightColorScheme,primaryColorScheme:Fr.primaryColorScheme,cardSkin:Fr.cardSkin,notification:{...Fr.notification}})};if(j.useLayoutEffect(()=>{i?Uo?.classList.add("dark"):Uo?.classList.remove("dark")},[i]),j.useLayoutEffect(()=>{r.isMonochrome?document.body.classList.add("is-monochrome"):document.body.classList.remove("is-monochrome")},[r.isMonochrome]),j.useLayoutEffect(()=>{Uo.dataset.themeLight=r.lightColorScheme.name},[r.lightColorScheme]),j.useLayoutEffect(()=>{Uo.dataset.themeDark=r.darkColorScheme.name},[r.darkColorScheme]),j.useLayoutEffect(()=>{Uo.dataset.themePrimary=r.primaryColorScheme.name},[r.primaryColorScheme]),j.useLayoutEffect(()=>{Uo.dataset.cardSkin=r.cardSkin},[r.cardSkin]),j.useLayoutEffect(()=>{document&&(document.body.dataset.layout=r.themeLayout)},[r.themeLayout]),!t)return null;const E={...r,isDark:i,setMonochromeMode:c,setThemeMode:o,setThemeLayout:u,setLightColorScheme:d,setDarkColorScheme:f,setPrimaryColorScheme:p,setNotificationPosition:m,setNotificationExpand:g,setNotificationMaxCount:y,setCardSkin:v,setSettings:n,resetTheme:w};
vendor: 8,633 bytes, lines 50-53
50return te.jsx(XP,{value:E,children:t})}const SO=j.createContext(null);function LG(){const t=j.useContext(SO);if(!t)throw new Error("useConfirm must be used within ConfirmProvider");return t.confirm}var a7=Object.defineProperty,i7=(t,e,r)=>e in t?a7(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Sg=(t,e,r)=>(i7(t,typeof e!="symbol"?e+"":e,r),r);let s7=class{constructor(){Sg(this,"current",this.detect()),Sg(this,"handoffState","pending"),Sg(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Ma=new s7;function cc(t){var e;return Ma.isServer?null:t==null?document:(e=t?.ownerDocument)!=null?e:document}function Yu(t){var e,r;return Ma.isServer?null:t==null?document:(r=(e=t?.getRootNode)==null?void 0:e.call(t))!=null?r:document}function db(t){var e,r;return(r=(e=Yu(t))==null?void 0:e.activeElement)!=null?r:null}function o7(t){return db(t)===t}function lh(t){typeof queueMicrotask=="function"?queueMicrotask(t):Promise.resolve().then(t).catch(e=>setTimeout(()=>{throw e}))}function va(){let t=[],e={addEventListener(r,n,i,o){return r.addEventListener(n,i,o),e.add(()=>r.removeEventListener(n,i,o))},requestAnimationFrame(...r){let n=requestAnimationFrame(...r);return e.add(()=>cancelAnimationFrame(n))},nextFrame(...r){return e.requestAnimationFrame(()=>e.requestAnimationFrame(...r))},setTimeout(...r){let n=setTimeout(...r);return e.add(()=>clearTimeout(n))},microTask(...r){let n={current:!0};return lh(()=>{n.current&&r[0]()}),e.add(()=>{n.current=!1})},style(r,n,i){let o=r.style.getPropertyValue(n);return Object.assign(r.style,{[n]:i}),this.add(()=>{Object.assign(r.style,{[n]:o})})},group(r){let n=va();return r(n),this.add(()=>n.dispose())},add(r){return t.includes(r)||t.push(r),()=>{let n=t.indexOf(r);if(n>=0)for(let i of t.splice(n,1))i()}},dispose(){for(let r of t.splice(0))r()}};return e}function uh(){let[t]=j.useState(va);return j.useEffect(()=>()=>t.dispose(),[t]),t}let gn=(t,e)=>{Ma.isServer?j.useEffect(t,e):j.useLayoutEffect(t,e)};function Ws(t){let e=j.useRef(t);return gn(()=>{e.current=t},[t]),e}let Xt=function(t){let e=Ws(t);return fe.useCallback((...r)=>e.current(...r),[e])};function dc(t){return j.useMemo(()=>t,Object.values(t))}let l7=j.createContext(void 0);function u7(){return j.useContext(l7)}function Fv(...t){return Array.from(new Set(t.flatMap(e=>typeof e=="string"?e.split(" "):[]))).filter(Boolean).join(" ")}function yi(t,e,...r){if(t in e){let i=e[t];return typeof i=="function"?i(...r):i}let n=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,yi),n}var Mf=(t=>(t[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t))(Mf||{}),is=(t=>(t[t.Unmount=0]="Unmount",t[t.Hidden=1]="Hidden",t))(is||{});function ta(){let t=d7();return j.useCallback(e=>c7({mergeRefs:t,...e}),[t])}function c7({ourProps:t,theirProps:e,slot:r,defaultTag:n,features:i,visible:o=!0,name:u,mergeRefs:c}){c=c??f7;let f=EO(e,t);if(o)return Id(f,r,n,u,c);let d=i??0;if(d&2){let{static:p=!1,...m}=f;if(p)return Id(m,r,n,u,c)}if(d&1){let{unmount:p=!0,...m}=f;return yi(p?0:1,{0(){return null},1(){return Id({...m,hidden:!0,style:{display:"none"}},r,n,u,c)}})}return Id(f,r,n,u,c)}function Id(t,e={},r,n,i){let{as:o=r,children:u,refName:c="ref",...f}=Eg(t,["unmount","static"]),d=t.ref!==void 0?{[c]:t.ref}:{},p=typeof u=="function"?u(e):u;p=xO(p),"className"in f&&f.className&&typeof f.className=="function"&&(f.className=f.className(e)),f["aria-labelledby"]&&f["aria-labelledby"]===f.id&&(f["aria-labelledby"]=void 0);let m={};if(e){let g=!1,y=[];for(let[v,w]of Object.entries(e))typeof w=="boolean"&&(g=!0),w===!0&&y.push(v.replace(/([A-Z])/g,E=>`-${E.toLowerCase()}`));if(g){m["data-headlessui-state"]=y.join(" ");for(let v of y)m[`data-${v}`]=""}}if(Nu(o)&&(Object.keys(Ms(f)).length>0||Object.keys(Ms(m)).length>0))if(!j.isValidElement(p)||Array.isArray(p)&&p.length>1||p7(p)){if(Object.keys(Ms(f)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Ms(f)).concat(Object.keys(Ms(m))).map(g=>` - ${g}`).join(` 51`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(g=>` - ${g}`).join(` 52`)].join(` 53`))}else{let g=p.props,y=g?.className,v=typeof y=="function"?(...T)=>Fv(y(...T),f.className):Fv(y,f.className),w=v?{className:v}:{},E=EO(p.props,Ms(Eg(f,["ref"])));for(let T in m)T in E&&delete m[T];return j.cloneElement(p,Object.assign({},E,m,d,{ref:i(h7(p),d.ref)},w))}return j.createElement(o,Object.assign({},Eg(f,["ref"]),!Nu(o)&&d,!Nu(o)&&m),p)}function d7(){let t=j.useRef([]),e=j.useCallback(r=>{for(let n of t.current)n!=null&&(typeof n=="function"?n(r):n.current=r)},[]);return(...r)=>{if(!r.every(n=>n==null))return t.current=r,e}}function f7(...t){return t.every(e=>e==null)?void 0:e=>{for(let r of t)r!=null&&(typeof r=="function"?r(e):r.current=e)}}function EO(...t){if(t.length===0)return{};if(t.length===1)return t[0];let e={},r={};for(let n of t)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):e[i]=n[i];if(e.disabled||e["aria-disabled"])for(let n in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(n)&&(r[n]=[i=>{var o;return(o=i?.preventDefault)==null?void 0:o.call(i)}]);for(let n in r)Object.assign(e,{[n](i,...o){let u=r[n];for(let c of u){if((i instanceof Event||i?.nativeEvent instanceof Event)&&i.defaultPrevented)return;c(i,...o)}}});return e}function PG(...t){if(t.length===0)return{};if(t.length===1)return t[0];let e={},r={};for(let n of t)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):e[i]=n[i];for(let n in r)Object.assign(e,{[n](...i){let o=r[n];for(let u of o)u?.(...i)}});return e}function yn(t){var e;return Object.assign(j.forwardRef(t),{displayName:(e=t.displayName)!=null?e:t.name})}function Ms(t){let e=Object.assign({},t);for(let r in e)e[r]===void 0&&delete e[r];return e}function Eg(t,e=[]){let r=Object.assign({},t);for(let n of e)n in r&&delete r[n];return r}function h7(t){return fe.version.split(".")[0]>="19"?t.props.ref:t.ref}function xO(t){if(t!=null&&t.$$typeof===Symbol.for("react.lazy")){let e=t._payload;if(e!=null&&e.status==="fulfilled")return xO(e.value)}return t}function Nu(t){return t===j.Fragment||t===Symbol.for("react.fragment")}function p7(t){return Nu(t.type)}let m7="span";var Df=(t=>(t[t.None=1]="None",t[t.Focusable=2]="Focusable",t[t.Hidden=4]="Hidden",t))(Df||{});function g7(t,e){var r;let{features:n=1,...i}=t,o={ref:e,"aria-hidden":(n&2)===2?!0:(r=i["aria-hidden"])!=null?r:void 0,hidden:(n&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return ta()({ourProps:o,theirProps:i,slot:{},defaultTag:m7,name:"Hidden"})}let qv=yn(g7);function v7(t){return typeof t!="object"||t===null?!1:"nodeType"in t}function gi(t){return v7(t)&&"tagName"in t}function Na(t){return gi(t)&&"accessKey"in t}function hi(t){return gi(t)&&"tabIndex"in t}function y7(t){return gi(t)&&"style"in t}function b7(t){return Na(t)&&t.nodeName==="IFRAME"}function w7(t){return Na(t)&&t.nodeName==="INPUT"}function zG(t){return Na(t)&&t.nodeName==="LABEL"}function jG(t){return Na(t)&&t.nodeName==="FIELDSET"}function IG(t){return Na(t)&&t.nodeName==="LEGEND"}function UG(t){return gi(t)?t.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let _O=Symbol();function S7(t,e=!0){return Object.assign(t,{[_O]:e})}function Ia(...t){let e=j.useRef(t);j.useEffect(()=>{e.current=t},[t]);let r=Xt(n=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(n):i.current=n)});return t.every(n=>n==null||n?.[_O])?void 0:r}let ch=j.createContext(null);ch.displayName="DescriptionContext";
53function TO(){let t=j.useContext(ch);if(t===null){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,TO),e}return t}function $G(){var t,e;return(e=(t=j.useContext(ch))==null?void 0:t.value)!=null?e:void 0}function E7(){let[t,e]=j.useState([]);return[t.length>0?t.join(" "):void 0,j.useMemo(()=>function(r){let n=Xt(o=>(e(u=>[...u,o]),()=>e(u=>{let c=u.slice(),f=c.indexOf(o);return f!==-1&&c.splice(f,1),c}))),i=j.useMemo(()=>({register:n,slot:r.slot,name:r.name,props:r.props,value:r.value}),[n,r.slot,r.name,r.props,r.value]);return fe.createElement(ch.Provider,{value:i},r.children)},[e])]}let x7="p";function _7(t,e){let r=j.useId(),n=u7(),{id:i=`headlessui-description-${r}`,...o}=t,u=TO(),c=Ia(e);gn(()=>u.register(i),[i,u.register]);let f=dc({...u.slot,disabled:n||!1}),d={ref:c,...u.props,id:i};return ta()({ourProps:d,theirProps:o,slot:f,defaultTag:x7,name:u.name||"Description"})}let T7=yn(_7),CO=Object.assign(T7,{});var RO=(t=>(t.Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t))(RO||{});let C7=j.createContext(()=>{});function R7({value:t,children:e}){return fe.createElement(C7.Provider,{value:t},e)}let AO=class extends Map{constructor(e){super(),this.factory=e}get(e){let r=super.get(e);return r===void 0&&(r=this.factory(e),this.set(e,r)),r}};var A7=Object.defineProperty,O7=(t,e,r)=>e in t?A7(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,M7=(t,e,r)=>(O7(t,e+"",r),r),OO=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Yn=(t,e,r)=>(OO(t,e,"read from private field"),r?r.call(t):e.get(t)),xg=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},O_=(t,e,r,n)=>(OO(t,e,"write to private field"),e.set(t,r),r),Ca,Su,Eu;let D7=class{constructor(e){xg(this,Ca,{}),xg(this,Su,new AO(()=>new Set)),xg(this,Eu,new Set),M7(this,"disposables",va()),O_(this,Ca,e),Ma.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return Yn(this,Ca)}subscribe(e,r){if(Ma.isServer)return()=>{};let n={selector:e,callback:r,current:e(Yn(this,Ca))};return Yn(this,Eu).add(n),this.disposables.add(()=>{Yn(this,Eu).delete(n)})}on(e,r){return Ma.isServer?()=>{}:(Yn(this,Su).get(e).add(r),this.disposables.add(()=>{Yn(this,Su).get(e).delete(r)}))}send(e){let r=this.reduce(Yn(this,Ca),e);if(r!==Yn(this,Ca)){O_(this,Ca,r);for(let n of Yn(this,Eu)){let i=n.selector(Yn(this,Ca));MO(n.current,i)||(n.current=i,n.callback(i))}for(let n of Yn(this,Su).get(e.type))n(Yn(this,Ca),e)}}};Ca=new WeakMap,Su=new WeakMap,Eu=new WeakMap;function MO(t,e){return Object.is(t,e)?!0:typeof t!="object"||t===null||typeof e!="object"||e===null?!1:Array.isArray(t)&&Array.isArray(e)?t.length!==e.length?!1:_g(t[Symbol.iterator](),e[Symbol.iterator]()):t instanceof Map&&e instanceof Map||t instanceof Set&&e instanceof Set?t.size!==e.size?!1:_g(t.entries(),e.entries()):M_(t)&&M_(e)?_g(Object.entries(t)[Symbol.iterator](),Object.entries(e)[Symbol.iterator]()):!1}function _g(t,e){do{let r=t.next(),n=e.next();if(r.done&&n.done)return!0;if(r.done||n.done||!Object.is(r.value,n.value))return!1}while(!0)}function M_(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}function FG(t){let[e,r]=t(),n=va();return(...i)=>{e(...i),n.dispose(),n.microTask(r)}}var k7=Object.defineProperty,L7=(t,e,r)=>e in t?k7(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D_=(t,e,r)=>(L7(t,typeof e!="symbol"?e+"":e,r),r),N7=(t=>(t[t.Push=0]="Push",t[t.Pop=1]="Pop",t))(N7||{});let P7={0(t,e){let r=e.id,n=t.stack,i=t.stack.indexOf(r);if(i!==-1){let o=t.stack.slice();return o.splice(i,1),o.push(r),n=o,{...t,stack:n}}return{...t,stack:[...t.stack,r]}},1(t,e){let r=e.id,n=t.stack.indexOf(r);if(n===-1)return t;let i=t.stack.slice();return i.splice(n,1),{...t,stack:i}}},z7=class DO extends D7{constructor(){super(...arguments),D_(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),D_(this,"selectors",{isTop:(e,r)=>e.stack[e.stack.length-1]===r,inStack:(e,r)=>e.stack.includes(r)})}static new(){return new DO({stack:[]})}reduce(e,r){return yi(r.type,P7,e,r)}};const kO=new AO(()=>z7.new());var Tg={exports:{}},Cg={};var k_;function j7(){if(k_)return Cg;k_=1;var t=zf();function e(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}
53var r=typeof Object.is=="function"?Object.is:e,n=t.useSyncExternalStore,i=t.useRef,o=t.useEffect,u=t.useMemo,c=t.useDebugValue;return Cg.useSyncExternalStoreWithSelector=function(f,d,p,m,g){var y=i(null);if(y.current===null){var v={hasValue:!1,value:null};y.current=v}else v=y.current;y=u(function(){function E(k){if(!T){if(T=!0,x=k,k=m(k),g!==void 0&&v.hasValue){var L=v.value;if(g(L,k))return _=L}return _=k}if(L=_,r(x,k))return L;var H=m(k);return g!==void 0&&g(L,H)?(x=k,L):(x=k,_=H)}var T=!1,x,_,O=p===void 0?null:p;return[function(){return E(d())},O===null?void 0:function(){return E(O())}]},[d,p,m,g]);var w=n(f,y[0],y[1]);return o(function(){v.hasValue=!0,v.value=w},[w]),c(w),w},Cg}var L_;function I7(){return L_||(L_=1,Tg.exports=j7()),Tg.exports}var U7=I7();function LO(t,e,r=MO){return U7.useSyncExternalStoreWithSelector(Xt(n=>t.subscribe($7,n)),Xt(()=>t.state),Xt(()=>t.state),Xt(e),r)}function $7(t){return t}function fc(t,e){let r=j.useId(),n=kO.get(e),[i,o]=LO(n,j.useCallback(u=>[n.selectors.isTop(u,r),n.selectors.inStack(u,r)],[n,r]));return gn(()=>{if(t)return n.actions.push(r),()=>n.actions.pop(r)},[n,t,r]),t?o?i:!0:!1}let Yv=new Map,Pu=new Map;function N_(t){var e;let r=(e=Pu.get(t))!=null?e:0;return Pu.set(t,r+1),r!==0?()=>P_(t):(Yv.set(t,{"aria-hidden":t.getAttribute("aria-hidden"),inert:t.inert}),t.setAttribute("aria-hidden","true"),t.inert=!0,()=>P_(t))}function P_(t){var e;let r=(e=Pu.get(t))!=null?e:1;if(r===1?Pu.delete(t):Pu.set(t,r-1),r!==1)return;let n=Yv.get(t);n&&(n["aria-hidden"]===null?t.removeAttribute("aria-hidden"):t.setAttribute("aria-hidden",n["aria-hidden"]),t.inert=n.inert,Yv.delete(t))}function H7(t,{allowed:e,disallowed:r}={}){let n=fc(t,"inert-others");gn(()=>{var i,o;if(!n)return;let u=va();for(let f of(i=r?.())!=null?i:[])f&&u.add(N_(f));let c=(o=e?.())!=null?o:[];for(let f of c){if(!f)continue;let d=cc(f);if(!d)continue;let p=f.parentElement;for(;p&&p!==d.body;){for(let m of p.children)c.some(g=>m.contains(g))||u.add(N_(m));p=p.parentElement}}return u.dispose},[n,e,r])}function B7(t,e,r){let n=Ws(i=>{let o=i.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&r()});j.useEffect(()=>{if(!t)return;let i=e===null?null:Na(e)?e:e.current;if(!i)return;let o=va();if(typeof ResizeObserver<"u"){let u=new ResizeObserver(()=>n.current(i));u.observe(i),o.add(()=>u.disconnect())}if(typeof IntersectionObserver<"u"){let u=new IntersectionObserver(()=>n.current(i));u.observe(i),o.add(()=>u.disconnect())}return()=>o.dispose()},[e,n,t])}let kf=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(t=>`${t}:not([tabindex='-1'])`).join(","),F7=["[data-autofocus]"].map(t=>`${t}:not([tabindex='-1'])`).join(",");var ui=(t=>(t[t.First=1]="First",t[t.Previous=2]="Previous",t[t.Next=4]="Next",t[t.Last=8]="Last",t[t.WrapAround=16]="WrapAround",t[t.NoScroll=32]="NoScroll",t[t.AutoFocus=64]="AutoFocus",t))(ui||{}),Vv=(t=>(t[t.Error=0]="Error",t[t.Overflow=1]="Overflow",t[t.Success=2]="Success",t[t.Underflow=3]="Underflow",t))(Vv||{}),q7=(t=>(t[t.Previous=-1]="Previous",t[t.Next=1]="Next",t))(q7||{});function NO(t=document.body){return t==null?[]:Array.from(t.querySelectorAll(kf)).sort((e,r)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function Y7(t=document.body){return t==null?[]:Array.from(t.querySelectorAll(F7)).sort((e,r)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var PO=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(PO||{});function zO(t,e=0){var r;return t===((r=cc(t))==null?void 0:r.body)?!1:yi(e,{0(){return t.matches(kf)},1(){let n=t;for(;n!==null;){if(n.matches(kf))return!0;n=n.parentElement}return!1}})}function qG(t){va().nextFrame(()=>{let e=db(t);e&&hi(e)&&!zO(e,0)&&Da(t)})}var V7=(t=>(t[t.Keyboard=0]="Keyboard",t[t.Mouse=1]="Mouse",t))(V7||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",t=>{t.metaKey||t.altKey||t.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",t=>{t.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:t.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Da(t){t?.focus({preventScroll:!0})}let G7=["textarea","input"].join(",");function X7(t){var e,r;return(r=(e=t?.matches)==null?void 0:e.call(t,G7))!=null?r:!1}function W7(t,e=r=>r){return t.slice().sort((r,n)=>{let i=e(r),o=e(n);if(i===null||o===null)return 0;let u=i.compareDocumentPosition(o);return u&Node.DOCUMENT_POSITION_FOLLOWING?-1:u&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function YG(t,e,r=t===null?document.body:Yu(t)){return el(NO(r),e,{relativeTo:t})}function el(t,e,{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}={}){let o=Array.isArray(t)?t.length>0?Yu(t[0]):document:Yu(t),u=Array.isArray(t)?r?W7(t):t:e&64?Y7(t):NO(t);i.length>0&&u.length>1&&(u=u.filter(y=>!i.some(v=>v!=null&&"current"in v?v?.current===y:v===y))),n=n??o?.activeElement;let c=(()=>
vendor: 10,296 bytes, lines 53-54
53{if(e&5)return 1;if(e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=(()=>{if(e&1)return 0;if(e&2)return Math.max(0,u.indexOf(n))-1;if(e&4)return Math.max(0,u.indexOf(n))+1;if(e&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=e&32?{preventScroll:!0}:{},p=0,m=u.length,g;do{if(p>=m||p+m<=0)return 0;let y=f+p;if(e&16)y=(y+m)%m;else{if(y<0)return 3;if(y>=m)return 1}g=u[y],g?.focus(d),p+=c}while(g!==db(g));return e&6&&X7(g)&&g.select(),2}function jO(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function K7(){return/Android/gi.test(window.navigator.userAgent)}function z_(){return jO()||K7()}function Ud(t,e,r,n){let i=Ws(r);j.useEffect(()=>{if(!t)return;function o(u){i.current(u)}return document.addEventListener(e,o,n),()=>document.removeEventListener(e,o,n)},[t,e,n])}function IO(t,e,r,n){let i=Ws(r);j.useEffect(()=>{if(!t)return;function o(u){i.current(u)}return window.addEventListener(e,o,n),()=>window.removeEventListener(e,o,n)},[t,e,n])}const j_=30;function Q7(t,e,r){let n=Ws(r),i=j.useCallback(function(c,f){if(c.defaultPrevented)return;let d=f(c);if(d===null||!d.getRootNode().contains(d)||!d.isConnected)return;let p=(function m(g){return typeof g=="function"?m(g()):Array.isArray(g)||g instanceof Set?g:[g]})(e);for(let m of p)if(m!==null&&(m.contains(d)||c.composed&&c.composedPath().includes(m)))return;return!zO(d,PO.Loose)&&d.tabIndex!==-1&&c.preventDefault(),n.current(c,d)},[n,e]),o=j.useRef(null);Ud(t,"pointerdown",c=>{var f,d;z_()||(o.current=((d=(f=c.composedPath)==null?void 0:f.call(c))==null?void 0:d[0])||c.target)},!0),Ud(t,"pointerup",c=>{if(z_()||!o.current)return;let f=o.current;return o.current=null,i(c,()=>f)},!0);let u=j.useRef({x:0,y:0});Ud(t,"touchstart",c=>{u.current.x=c.touches[0].clientX,u.current.y=c.touches[0].clientY},!0),Ud(t,"touchend",c=>{let f={x:c.changedTouches[0].clientX,y:c.changedTouches[0].clientY};if(!(Math.abs(f.x-u.current.x)>=j_||Math.abs(f.y-u.current.y)>=j_))return i(c,()=>hi(c.target)?c.target:null)},!0),IO(t,"blur",c=>i(c,()=>b7(window.document.activeElement)?window.document.activeElement:null),!0)}function fb(...t){return j.useMemo(()=>cc(...t),[...t])}function VG(...t){return j.useMemo(()=>Yu(...t),[...t])}function UO(t,e,r,n){let i=Ws(r);j.useEffect(()=>{t=t??window;function o(u){i.current(u)}return t.addEventListener(e,o,n),()=>t.removeEventListener(e,o,n)},[t,e,n])}function Z7(t){return j.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getSnapshot)}function J7(t,e){let r=t(),n=new Set;return{getSnapshot(){return r},subscribe(i){return n.add(i),()=>n.delete(i)},dispatch(i,...o){let u=e[i].call(r,...o);u&&(r=u,n.forEach(c=>c()))}}}function eB(){let t;return{before({doc:e}){var r;let n=e.documentElement,i=(r=e.defaultView)!=null?r:window;t=Math.max(0,i.innerWidth-n.clientWidth)},after({doc:e,d:r}){let n=e.documentElement,i=Math.max(0,n.clientWidth-n.offsetWidth),o=Math.max(0,t-i);r.style(n,"paddingRight",`${o}px`)}}}function tB(){return jO()?{before({doc:t,d:e,meta:r}){function n(i){for(let o of r().containers)for(let u of o())if(u.contains(i))return!0;return!1}e.microTask(()=>{var i;if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let c=va();c.style(t.documentElement,"scrollBehavior","auto"),e.add(()=>e.microTask(()=>c.dispose()))}let o=(i=window.scrollY)!=null?i:window.pageYOffset,u=null;e.addEventListener(t,"click",c=>{if(hi(c.target))try{let f=c.target.closest("a");if(!f)return;let{hash:d}=new URL(f.href),p=t.querySelector(d);hi(p)&&!n(p)&&(u=p)}catch{}},!0),e.group(c=>{e.addEventListener(t,"touchstart",f=>{if(c.dispose(),hi(f.target)&&y7(f.target))if(n(f.target)){let d=f.target;for(;d.parentElement&&n(d.parentElement);)d=d.parentElement;c.style(d,"overscrollBehavior","contain")}else c.style(f.target,"touchAction","none")})}),e.addEventListener(t,"touchmove",c=>{if(hi(c.target)){if(w7(c.target))return;if(n(c.target)){let f=c.target;for(;f.parentElement&&f.dataset.headlessuiPortal!==""&&!(f.scrollHeight>f.clientHeight||f.scrollWidth>f.clientWidth);)f=f.parentElement;f.dataset.headlessuiPortal===""&&c.preventDefault()}else c.preventDefault()}},{passive:!1}),e.add(()=>{var c;let f=(c=window.scrollY)!=null?c:window.pageYOffset;o!==f&&window.scrollTo(0,o),u&&u.isConnected&&(u.scrollIntoView({block:"nearest"}),u=null)})})}}:{}}function rB(){return{before({doc:t,d:e}){e.style(t.documentElement,"overflow","hidden")}}}function I_(t){let e={};for(let r of t)Object.assign(e,r(e));return e}let js=J7(()=>new Map,{PUSH(t,e){var r;let n=(r=this.get(t))!=null?r:{doc:t,count:0,d:va(),meta:new Set,computedMeta:{}};return n.count++,n.meta.add(e),n.computedMeta=I_(n.meta),this.set(t,n),this},POP(t,e){let r=this.get(t);return r&&(r.count--,r.meta.delete(e),r.computedMeta=I_(r.meta)),this},SCROLL_PREVENT(t){let e={doc:t.doc,d:t.d,meta(){return t.computedMeta}},r=[tB(),eB(),rB()];r.forEach(({before:n})=>n?.(e)),r.forEach(({after:n})=>n?.(e))},SCROLL_ALLOW({d:t}){t.dispose()},TEARDOWN({doc:t}){this.delete(t)}});js.subscribe(()=>{let t=js.getSnapshot(),e=new Map;for(let[r]of t)e.set(r,r.documentElement.style.overflow);for(let r of t.values()){let n=e.get(r.doc)==="hidden",i=r.count!==0;(i&&!n||!i&&n)&&js.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&js.dispatch("TEARDOWN",r)}});function nB(t,e,r=()=>({containers:[]})){let n=Z7(js),i=e?n.get(e):void 0,o=i?i.count>0:!1;return gn(()=>{if(!(!e||!t))return js.dispatch("PUSH",e,r),()=>js.dispatch("POP",e,r)},[t,e]),o}function aB(t,e,r=()=>[document.body]){let n=fc(t,"scroll-lock");nB(n,e,i=>{var o;return{containers:[...(o=i.containers)!=null?o:[],r]}})}function iB(t=0){let[e,r]=j.useState(t),n=j.useCallback(f=>r(f),[]),i=j.useCallback(f=>r(d=>d|f),[]),o=j.useCallback(f=>(e&f)===f,[e]),u=j.useCallback(f=>r(d=>d&~f),[]),c=j.useCallback(f=>r(d=>d^f),[]);return{flags:e,setFlag:n,addFlag:i,hasFlag:o,removeFlag:u,toggleFlag:c}}var sB={},U_,$_;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((U_=process==null?void 0:sB)==null?void 0:U_.NODE_ENV)==="test"&&typeof(($_=Element?.prototype)==null?void 0:$_.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(` 54`)),[]});var oB=(t=>(t[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t))(oB||{});function lB(t){let e={};for(let r in t)t[r]===!0&&(e[`data-${r}`]="");return e}function uB(t,e,r,n){let[i,o]=j.useState(r),{hasFlag:u,addFlag:c,removeFlag:f}=iB(t&&i?3:0),d=j.useRef(!1),p=j.useRef(!1),m=uh();return gn(()=>{var g;if(t){if(r&&o(!0),!e){r&&c(3);return}return(g=n?.start)==null||g.call(n,r),cB(e,{inFlight:d,prepare(){p.current?p.current=!1:p.current=d.current,d.current=!0,!p.current&&(r?(c(3),f(4)):(c(4),f(2)))},run(){p.current?r?(f(3),c(4)):(f(4),c(3)):r?f(1):c(1)},done(){var y;p.current&&hB(e)||(d.current=!1,f(7),r||o(!1),(y=n?.end)==null||y.call(n,r))}})}},[t,r,e,m]),t?[i,{closed:u(1),enter:u(2),leave:u(4),transition:u(2)||u(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function cB(t,{prepare:e,run:r,done:n,inFlight:i}){let o=va();return fB(t,{prepare:e,inFlight:i}),o.nextFrame(()=>{r(),o.requestAnimationFrame(()=>{o.add(dB(t,n))})}),o.dispose}function dB(t,e){var r,n;let i=va();if(!t)return i.dispose;let o=!1;i.add(()=>{o=!0});let u=(n=(r=t.getAnimations)==null?void 0:r.call(t).filter(c=>c instanceof CSSTransition))!=null?n:[];return u.length===0?(e(),i.dispose):(Promise.allSettled(u.map(c=>c.finished)).then(()=>{o||e()}),i.dispose)}function fB(t,{inFlight:e,prepare:r}){if(e!=null&&e.current){r();return}let n=t.style.transition;t.style.transition="none",r(),t.offsetHeight,t.style.transition=n}function hB(t){var e,r;return((r=(e=t.getAnimations)==null?void 0:e.call(t))!=null?r:[]).some(n=>n instanceof CSSTransition&&n.playState!=="finished")}function hb(t,e){let r=j.useRef([]),n=Xt(t);j.useEffect(()=>{let i=[...r.current];for(let[o,u]of e.entries())if(r.current[o]!==u){let c=n(e,i);return r.current=e,c}},[n,...e])}let dh=j.createContext(null);dh.displayName="OpenClosedContext";var fa=(t=>(t[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t))(fa||{});function fh(){return j.useContext(dh)}function pB({value:t,children:e}){return fe.createElement(dh.Provider,{value:t},e)}function mB({children:t}){return fe.createElement(dh.Provider,{value:null},t)}function gB(t){function e(){document.readyState!=="loading"&&(t(),document.removeEventListener("DOMContentLoaded",e))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",e),e())}let ts=[];gB(()=>{function t(e){if(!hi(e.target)||e.target===document.body||ts[0]===e.target)return;let r=e.target;r=r.closest(kf),ts.unshift(r??e.target),ts=ts.filter(n=>n!=null&&n.isConnected),ts.splice(10)}window.addEventListener("click",t,{capture:!0}),window.addEventListener("mousedown",t,{capture:!0}),window.addEventListener("focus",t,{capture:!0}),document.body.addEventListener("click",t,{capture:!0}),document.body.addEventListener("mousedown",t,{capture:!0}),document.body.addEventListener("focus",t,{capture:!0})});function $O(t){let e=Xt(t),r=j.useRef(!1);j.useEffect(()=>(r.current=!1,()=>{r.current=!0,lh(()=>{r.current&&e()})}),[e])}function vB(){let t=typeof document>"u";return"useSyncExternalStore"in hv?(e=>e.useSyncExternalStore)(hv)(()=>()=>{},()=>!1,()=>!t):!1}function hc(){let t=vB(),[e,r]=j.useState(Ma.isHandoffComplete);return e&&Ma.isHandoffComplete===!1&&r(!1),j.useEffect(()=>{e!==!0&&r(!0)},[e]),j.useEffect(()=>Ma.handoff(),[]),t?!1:e}let HO=j.createContext(!1);function yB(){return j.useContext(HO)}function H_(t){return fe.createElement(HO.Provider,{value:t.force},t.children)}function bB(t){let e=yB(),r=j.useContext(FO),[n,i]=j.useState(()=>{var o;if(!e&&r!==null)return(o=r.current)!=null?o:null;if(Ma.isServer)return null;let u=t?.getElementById("headlessui-portal-root");
54if(u)return u;if(t===null)return null;let c=t.createElement("div");return c.setAttribute("id","headlessui-portal-root"),t.body.appendChild(c)});return j.useEffect(()=>{n!==null&&(t!=null&&t.body.contains(n)||t==null||t.body.appendChild(n))},[n,t]),j.useEffect(()=>{e||r!==null&&i(r.current)},[r,i,e]),n}let BO=j.Fragment,wB=yn(function(t,e){let{ownerDocument:r=null,...n}=t,i=j.useRef(null),o=Ia(S7(y=>{i.current=y}),e),u=fb(i.current),c=r??u,f=bB(c),d=j.useContext(Gv),p=uh(),m=hc(),g=ta();return $O(()=>{var y;f&&f.childNodes.length<=0&&((y=f.parentElement)==null||y.removeChild(f))}),!f||!m?null:Ay.createPortal(fe.createElement("div",{"data-headlessui-portal":"",ref:y=>{p.dispose(),d&&y&&p.add(d.register(y))}},g({ourProps:{ref:o},theirProps:n,slot:{},defaultTag:BO,name:"Portal"})),f)});function SB(t,e){let r=Ia(e),{enabled:n=!0,ownerDocument:i,...o}=t,u=ta();return n?fe.createElement(wB,{...o,ownerDocument:i,ref:r}):u({ourProps:{ref:r},theirProps:o,slot:{},defaultTag:BO,name:"Portal"})}let EB=j.Fragment,FO=j.createContext(null);function xB(t,e){let{target:r,...n}=t,i={ref:Ia(e)},o=ta();return fe.createElement(FO.Provider,{value:r},o({ourProps:i,theirProps:n,defaultTag:EB,name:"Popover.Group"}))}let Gv=j.createContext(null);function _B(){let t=j.useContext(Gv),e=j.useRef([]),r=Xt(o=>(e.current.push(o),t&&t.register(o),()=>n(o))),n=Xt(o=>{let u=e.current.indexOf(o);u!==-1&&e.current.splice(u,1),t&&t.unregister(o)}),i=j.useMemo(()=>({register:r,unregister:n,portals:e}),[r,n,e]);return[e,j.useMemo(()=>function({children:o}){return fe.createElement(Gv.Provider,{value:i},o)},[i])]}let TB=yn(SB),qO=yn(xB),CB=Object.assign(TB,{Group:qO});function RB(t,e=typeof document<"u"?document.defaultView:null,r){let n=fc(t,"escape");UO(e,"keydown",i=>{n&&(i.defaultPrevented||i.key===RO.Escape&&r(i))})}function AB(){var t;let[e]=j.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,n]=j.useState((t=e?.matches)!=null?t:!1);return gn(()=>{if(!e)return;function i(o){n(o.matches)}return e.addEventListener("change",i),()=>e.removeEventListener("change",i)},[e]),r}function OB({defaultContainers:t=[],portals:e,mainTreeNode:r}={}){let n=Xt(()=>{var i,o;let u=cc(r),c=[];for(let f of t)f!==null&&(gi(f)?c.push(f):"current"in f&&gi(f.current)&&c.push(f.current));if(e!=null&&e.current)for(let f of e.current)c.push(f);for(let f of(i=u?.querySelectorAll("html > *, body > *"))!=null?i:[])f!==document.body&&f!==document.head&&gi(f)&&f.id!=="headlessui-portal-root"&&(r&&(f.contains(r)||f.contains((o=r?.getRootNode())==null?void 0:o.host))||c.some(d=>f.contains(d))||c.push(f));return c});
vendor: 9,333 bytes, line 54
54return{resolveContainers:n,contains:Xt(i=>n().some(o=>o.contains(i)))}}let YO=j.createContext(null);function B_({children:t,node:e}){let[r,n]=j.useState(null),i=VO(e??r);return fe.createElement(YO.Provider,{value:i},t,i===null&&fe.createElement(qv,{features:Df.Hidden,ref:o=>{var u,c;if(o){for(let f of(c=(u=cc(o))==null?void 0:u.querySelectorAll("html > *, body > *"))!=null?c:[])if(f!==document.body&&f!==document.head&&gi(f)&&f!=null&&f.contains(o)){n(f);break}}}}))}function VO(t=null){var e;return(e=j.useContext(YO))!=null?e:t}function pb(){let t=j.useRef(!1);return gn(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var xu=(t=>(t[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t))(xu||{});function MB(){let t=j.useRef(0);return IO(!0,"keydown",e=>{e.key==="Tab"&&(t.current=e.shiftKey?1:0)},!0),t}function GO(t){if(!t)return new Set;if(typeof t=="function")return new Set(t());let e=new Set;for(let r of t.current)gi(r.current)&&e.add(r.current);return e}let DB="div";var Ds=(t=>(t[t.None=0]="None",t[t.InitialFocus=1]="InitialFocus",t[t.TabLock=2]="TabLock",t[t.FocusLock=4]="FocusLock",t[t.RestoreFocus=8]="RestoreFocus",t[t.AutoFocus=16]="AutoFocus",t))(Ds||{});function kB(t,e){let r=j.useRef(null),n=Ia(r,e),{initialFocus:i,initialFocusFallback:o,containers:u,features:c=15,...f}=t;hc()||(c=0);let d=fb(r.current);zB(c,{ownerDocument:d});let p=jB(c,{ownerDocument:d,container:r,initialFocus:i,initialFocusFallback:o});IB(c,{ownerDocument:d,container:r,containers:u,previousActiveElement:p});let m=MB(),g=Xt(x=>{if(!Na(r.current))return;let _=r.current;(O=>O())(()=>{yi(m.current,{[xu.Forwards]:()=>{el(_,ui.First,{skipElements:[x.relatedTarget,o]})},[xu.Backwards]:()=>{el(_,ui.Last,{skipElements:[x.relatedTarget,o]})}})})}),y=fc(!!(c&2),"focus-trap#tab-lock"),v=uh(),w=j.useRef(!1),E={ref:n,onKeyDown(x){x.key=="Tab"&&(w.current=!0,v.requestAnimationFrame(()=>{w.current=!1}))},onBlur(x){if(!(c&4))return;let _=GO(u);Na(r.current)&&_.add(r.current);let O=x.relatedTarget;hi(O)&&O.dataset.headlessuiFocusGuard!=="true"&&(XO(_,O)||(w.current?el(r.current,yi(m.current,{[xu.Forwards]:()=>ui.Next,[xu.Backwards]:()=>ui.Previous})|ui.WrapAround,{relativeTo:x.target}):hi(x.target)&&Da(x.target)))}},T=ta();return fe.createElement(fe.Fragment,null,y&&fe.createElement(qv,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:Df.Focusable}),T({ourProps:E,theirProps:f,defaultTag:DB,name:"FocusTrap"}),y&&fe.createElement(qv,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:Df.Focusable}))}let LB=yn(kB),NB=Object.assign(LB,{features:Ds});function PB(t=!0){let e=j.useRef(ts.slice());return hb(([r],[n])=>{n===!0&&r===!1&&lh(()=>{e.current.splice(0)}),n===!1&&r===!0&&(e.current=ts.slice())},[t,ts,e]),Xt(()=>{var r;return(r=e.current.find(n=>n!=null&&n.isConnected))!=null?r:null})}function zB(t,{ownerDocument:e}){let r=!!(t&8),n=PB(r);hb(()=>{r||o7(e?.body)&&Da(n())},[r]),$O(()=>{r&&Da(n())})}function jB(t,{ownerDocument:e,container:r,initialFocus:n,initialFocusFallback:i}){let o=j.useRef(null),u=fc(!!(t&1),"focus-trap#initial-focus"),c=pb();return hb(()=>{if(t===0)return;if(!u){i!=null&&i.current&&Da(i.current);return}let f=r.current;f&&lh(()=>{if(!c.current)return;let d=e?.activeElement;if(n!=null&&n.current){if(n?.current===d){o.current=d;return}}else if(f.contains(d)){o.current=d;return}if(n!=null&&n.current)Da(n.current);else{if(t&16){if(el(f,ui.First|ui.AutoFocus)!==Vv.Error)return}else if(el(f,ui.First)!==Vv.Error)return;if(i!=null&&i.current&&(Da(i.current),e?.activeElement===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}o.current=e?.activeElement})},[i,u,t]),o}function IB(t,{ownerDocument:e,container:r,containers:n,previousActiveElement:i}){let o=pb(),u=!!(t&4);UO(e?.defaultView,"focus",c=>{if(!u||!o.current)return;let f=GO(n);Na(r.current)&&f.add(r.current);let d=i.current;if(!d)return;let p=c.target;Na(p)?XO(f,p)?(i.current=p,Da(p)):(c.preventDefault(),c.stopPropagation(),Da(d)):Da(i.current)},!0)}function XO(t,e){for(let r of t)if(r.contains(e))return!0;return!1}function WO(t){var e;return!!(t.enter||t.enterFrom||t.enterTo||t.leave||t.leaveFrom||t.leaveTo)||!Nu((e=t.as)!=null?e:QO)||fe.Children.count(t.children)===1}let hh=j.createContext(null);hh.displayName="TransitionContext";var UB=(t=>(t.Visible="visible",t.Hidden="hidden",t))(UB||{});function $B(){let t=j.useContext(hh);if(t===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return t}function HB(){let t=j.useContext(ph);if(t===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return t}let ph=j.createContext(null);ph.displayName="NestingContext";function mh(t){return"children"in t?mh(t.children):t.current.filter(({el:e})=>e.current!==null).filter(({state:e})=>e==="visible").length>0}function KO(t,e){let r=Ws(t),n=j.useRef([]),i=pb(),o=uh(),u=Xt((y,v=is.Hidden)=>{let w=n.current.findIndex(({el:E})=>E===y);w!==-1&&(yi(v,{[is.Unmount](){n.current.splice(w,1)},[is.Hidden](){n.current[w].state="hidden"}}),o.microTask(()=>{var E;!mh(n)&&i.current&&((E=r.current)==null||E.call(r))}))}),c=Xt(y=>{let v=n.current.find(({el:w})=>w===y);return v?v.state!=="visible"&&(v.state="visible"):n.current.push({el:y,state:"visible"}),()=>u(y,is.Unmount)}),f=j.useRef([]),d=j.useRef(Promise.resolve()),p=j.useRef({enter:[],leave:[]}),m=Xt((y,v,w)=>{f.current.splice(0),e&&(e.chains.current[v]=e.chains.current[v].filter(([E])=>E!==y)),e?.chains.current[v].push([y,new Promise(E=>{f.current.push(E)})]),e?.chains.current[v].push([y,new Promise(E=>{Promise.all(p.current[v].map(([T,x])=>x)).then(()=>E())})]),v==="enter"?d.current=d.current.then(()=>e?.wait.current).then(()=>w(v)):w(v)}),g=Xt((y,v,w)=>{Promise.all(p.current[v].splice(0).map(([E,T])=>T)).then(()=>{var E;(E=f.current.shift())==null||E()}).then(()=>w(v))});return j.useMemo(()=>({children:n,register:c,unregister:u,onStart:m,onStop:g,wait:d,chains:p}),[c,u,n,m,g,p,d])}let QO=j.Fragment,ZO=Mf.RenderStrategy;function BB(t,e){var r,n;let{transition:i=!0,beforeEnter:o,afterEnter:u,beforeLeave:c,afterLeave:f,enter:d,enterFrom:p,enterTo:m,entered:g,leave:y,leaveFrom:v,leaveTo:w,...E}=t,[T,x]=j.useState(null),_=j.useRef(null),O=WO(t),k=Ia(...O?[_,e,x]:e===null?[]:[e]),L=(r=E.unmount)==null||r?is.Unmount:is.Hidden,{show:H,appear:C,initial:D}=$B(),[M,P]=j.useState(H?"visible":"hidden"),U=HB(),{register:I,unregister:z}=U;gn(()=>I(_),[I,_]),gn(()=>{if(L===is.Hidden&&_.current){if(H&&M!=="visible"){P("visible");return}return yi(M,{hidden:()=>z(_),visible:()=>I(_)})}},[M,_,I,z,H,L]);let F=hc();gn(()=>{if(O&&F&&M==="visible"&&_.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[_,M,F,O]);let R=D&&!C,A=C&&H&&D,B=j.useRef(!1),q=KO(()=>{B.current||(P("hidden"),z(_))},U),K=Xt(ae=>{B.current=!0;let de=ae?"enter":"leave";q.onStart(_,de,pe=>{pe==="enter"?o?.():pe==="leave"&&c?.()})}),$=Xt(ae=>{let de=ae?"enter":"leave";B.current=!1,q.onStop(_,de,pe=>{pe==="enter"?u?.():pe==="leave"&&f?.()}),de==="leave"&&!mh(q)&&(P("hidden"),z(_))});j.useEffect(()=>{O&&i||(K(H),$(H))},[H,O,i]);let Y=!(!i||!O||!F||R),[,G]=uB(Y,T,H,{start:K,end:$}),W=Ms({ref:k,className:((n=Fv(E.className,A&&d,A&&p,G.enter&&d,G.enter&&G.closed&&p,G.enter&&!G.closed&&m,G.leave&&y,G.leave&&!G.closed&&v,G.leave&&G.closed&&w,!G.transition&&H&&g))==null?void 0:n.trim())||void 0,...lB(G)}),X=0;M==="visible"&&(X|=fa.Open),M==="hidden"&&(X|=fa.Closed),H&&M==="hidden"&&(X|=fa.Opening),!H&&M==="visible"&&(X|=fa.Closing);let Q=ta();return fe.createElement(ph.Provider,{value:q},fe.createElement(pB,{value:X},Q({ourProps:W,theirProps:E,defaultTag:QO,features:ZO,visible:M==="visible",name:"Transition.Child"})))}function FB(t,e){let{show:r,appear:n=!1,unmount:i=!0,...o}=t,u=j.useRef(null),c=WO(t),f=Ia(...c?[u,e]:e===null?[]:[e]);hc();let d=fh();if(r===void 0&&d!==null&&(r=(d&fa.Open)===fa.Open),r===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[p,m]=j.useState(r?"visible":"hidden"),g=KO(()=>{r||m("hidden")}),[y,v]=j.useState(!0),w=j.useRef([r]);gn(()=>{y!==!1&&w.current[w.current.length-1]!==r&&(w.current.push(r),v(!1))},[w,r]);let E=j.useMemo(()=>({show:r,appear:n,initial:y}),[r,n,y]);gn(()=>{r?m("visible"):!mh(g)&&u.current!==null&&m("hidden")},[r,g]);let T={unmount:i},x=Xt(()=>{var k;y&&v(!1),(k=t.beforeEnter)==null||k.call(t)}),_=Xt(()=>{var k;y&&v(!1),(k=t.beforeLeave)==null||k.call(t)}),O=ta();return fe.createElement(ph.Provider,{value:g},fe.createElement(hh.Provider,{value:E},O({ourProps:{...T,as:j.Fragment,children:fe.createElement(JO,{ref:f,...T,...o,beforeEnter:x,beforeLeave:_})},theirProps:{},defaultTag:j.Fragment,features:ZO,visible:p==="visible",name:"Transition"})))}function qB(t,e){let r=j.useContext(hh)!==null,n=fh()!==null;return fe.createElement(fe.Fragment,null,!r&&n?fe.createElement(Xv,{ref:e,...t}):fe.createElement(JO,{ref:e,...t}))}let Xv=yn(FB),JO=yn(BB),il=yn(qB),gh=Object.assign(Xv,{Child:il,Root:Xv});var YB=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(YB||{}),VB=(t=>(t[t.SetTitleId=0]="SetTitleId",t))(VB||{});let GB={0(t,e){return t.titleId===e.id?t:{...t,titleId:e.id}}},mb=j.createContext(null);
vendor: 4,662 bytes, line 54
54mb.displayName="DialogContext";function vh(t){let e=j.useContext(mb);if(e===null){let r=new Error(`<${t} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,vh),r}return e}function XB(t,e){return yi(e.type,GB,t,e)}let F_=yn(function(t,e){let r=j.useId(),{id:n=`headlessui-dialog-${r}`,open:i,onClose:o,initialFocus:u,role:c="dialog",autoFocus:f=!0,__demoMode:d=!1,unmount:p=!1,...m}=t,g=j.useRef(!1);c=(function(){return c==="dialog"||c==="alertdialog"?c:(g.current||(g.current=!0,console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")})();let y=fh();i===void 0&&y!==null&&(i=(y&fa.Open)===fa.Open);let v=j.useRef(null),w=Ia(v,e),E=fb(v.current),T=i?0:1,[x,_]=j.useReducer(XB,{titleId:null,descriptionId:null,panelRef:j.createRef()}),O=Xt(()=>o(!1)),k=Xt(G=>_({type:0,id:G})),L=hc()?T===0:!1,[H,C]=_B(),D={get current(){var G;return(G=x.panelRef.current)!=null?G:v.current}},M=VO(),{resolveContainers:P}=OB({mainTreeNode:M,portals:H,defaultContainers:[D]}),U=y!==null?(y&fa.Closing)===fa.Closing:!1;H7(d||U?!1:L,{allowed:Xt(()=>{var G,W;return[(W=(G=v.current)==null?void 0:G.closest("[data-headlessui-portal]"))!=null?W:null]}),disallowed:Xt(()=>{var G;return[(G=M?.closest("body > *:not(#headlessui-portal-root)"))!=null?G:null]})});let I=kO.get(null);gn(()=>{if(L)return I.actions.push(n),()=>I.actions.pop(n)},[I,n,L]);let z=LO(I,j.useCallback(G=>I.selectors.isTop(G,n),[I,n]));Q7(z,P,G=>{G.preventDefault(),O()}),RB(z,E?.defaultView,G=>{G.preventDefault(),G.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),O()}),aB(d||U?!1:L,E,P),B7(L,v,O);let[F,R]=E7(),A=j.useMemo(()=>[{dialogState:T,close:O,setTitleId:k,unmount:p},x],[T,O,k,p,x]),B=dc({open:T===0}),q={ref:w,id:n,role:c,tabIndex:-1,"aria-modal":d?void 0:T===0?!0:void 0,"aria-labelledby":x.titleId,"aria-describedby":F,unmount:p},K=!AB(),$=Ds.None;L&&!d&&($|=Ds.RestoreFocus,$|=Ds.TabLock,f&&($|=Ds.AutoFocus),K&&($|=Ds.InitialFocus));let Y=ta();return fe.createElement(mB,null,fe.createElement(H_,{force:!0},fe.createElement(CB,null,fe.createElement(mb.Provider,{value:A},fe.createElement(qO,{target:v},fe.createElement(H_,{force:!1},fe.createElement(R,{slot:B},fe.createElement(C,null,fe.createElement(NB,{initialFocus:u,initialFocusFallback:v,containers:P,features:$},fe.createElement(R7,{value:O},Y({ourProps:q,theirProps:m,slot:B,defaultTag:WB,features:KB,visible:T===0,name:"Dialog"})))))))))))}),WB="div",KB=Mf.RenderStrategy|Mf.Static;function QB(t,e){let{transition:r=!1,open:n,...i}=t,o=fh(),u=t.hasOwnProperty("open")||o!==null,c=t.hasOwnProperty("onClose");if(!u&&!c)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!u)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!c)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!o&&typeof t.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${t.open}`);if(typeof t.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${t.onClose}`);return(n!==void 0||r)&&!i.static?fe.createElement(B_,null,fe.createElement(gh,{show:n,transition:r,unmount:i.unmount},fe.createElement(F_,{ref:e,...i}))):fe.createElement(B_,null,fe.createElement(F_,{ref:e,open:n,...i}))}let ZB="div";function JB(t,e){let r=j.useId(),{id:n=`headlessui-dialog-panel-${r}`,transition:i=!1,...o}=t,[{dialogState:u,unmount:c},f]=vh("Dialog.Panel"),d=Ia(e,f.panelRef),p=dc({open:u===0}),m=Xt(E=>{E.stopPropagation()}),g={ref:d,id:n,onClick:m},y=i?il:j.Fragment,v=i?{unmount:c}:{},w=ta();return fe.createElement(y,{...v},w({ourProps:g,theirProps:o,slot:p,defaultTag:ZB,name:"Dialog.Panel"}))}let eF="div";function tF(t,e){let{transition:r=!1,...n}=t,[{dialogState:i,unmount:o}]=vh("Dialog.Backdrop"),u=dc({open:i===0}),c={ref:e,"aria-hidden":!0},f=r?il:j.Fragment,d=r?{unmount:o}:{},p=ta();return fe.createElement(f,{...d},p({ourProps:c,theirProps:n,slot:u,defaultTag:eF,name:"Dialog.Backdrop"}))}let rF="h2";function nF(t,e){let r=j.useId(),{id:n=`headlessui-dialog-title-${r}`,...i}=t,[{dialogState:o,setTitleId:u}]=vh("Dialog.Title"),c=Ia(e);j.useEffect(()=>(u(n),()=>u(null)),[n,u]);let f=dc({open:o===0}),d={ref:c,id:n};return ta()({ourProps:d,theirProps:i,slot:f,defaultTag:rF,name:"Dialog.Title"})}let aF=yn(QB),yh=yn(JB);yn(tF);
vendor: 15,038 bytes, line 54
54let eM=yn(nF),GG=CO,gb=Object.assign(aF,{Panel:yh,Title:eM,Description:CO});var Rg,q_;function iF(){if(q_)return Rg;q_=1;function t(){this.__data__=[],this.size=0}return Rg=t,Rg}var Ag,Y_;function bh(){if(Y_)return Ag;Y_=1;function t(e,r){return e===r||e!==e&&r!==r}return Ag=t,Ag}var Og,V_;function wh(){if(V_)return Og;V_=1;var t=bh();function e(r,n){for(var i=r.length;i--;)if(t(r[i][0],n))return i;return-1}return Og=e,Og}var Mg,G_;function sF(){if(G_)return Mg;G_=1;var t=wh(),e=Array.prototype,r=e.splice;function n(i){var o=this.__data__,u=t(o,i);if(u<0)return!1;var c=o.length-1;return u==c?o.pop():r.call(o,u,1),--this.size,!0}return Mg=n,Mg}var Dg,X_;function oF(){if(X_)return Dg;X_=1;var t=wh();function e(r){var n=this.__data__,i=t(n,r);return i<0?void 0:n[i][1]}return Dg=e,Dg}var kg,W_;function lF(){if(W_)return kg;W_=1;var t=wh();function e(r){return t(this.__data__,r)>-1}return kg=e,kg}var Lg,K_;function uF(){if(K_)return Lg;K_=1;var t=wh();function e(r,n){var i=this.__data__,o=t(i,r);return o<0?(++this.size,i.push([r,n])):i[o][1]=n,this}return Lg=e,Lg}var Ng,Q_;function Sh(){if(Q_)return Ng;Q_=1;var t=iF(),e=sF(),r=oF(),n=lF(),i=uF();function o(u){var c=-1,f=u==null?0:u.length;for(this.clear();++c<f;){var d=u[c];this.set(d[0],d[1])}}return o.prototype.clear=t,o.prototype.delete=e,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,Ng=o,Ng}var Pg,Z_;function cF(){if(Z_)return Pg;Z_=1;var t=Sh();function e(){this.__data__=new t,this.size=0}return Pg=e,Pg}var zg,J_;function dF(){if(J_)return zg;J_=1;function t(e){var r=this.__data__,n=r.delete(e);return this.size=r.size,n}return zg=t,zg}var jg,eT;function fF(){if(eT)return jg;eT=1;function t(e){return this.__data__.get(e)}return jg=t,jg}var Ig,tT;function hF(){if(tT)return Ig;tT=1;function t(e){return this.__data__.has(e)}return Ig=t,Ig}var Ug,rT;function vb(){if(rT)return Ug;rT=1;var t=ac(),e=wi(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",o="[object Proxy]";function u(c){if(!e(c))return!1;var f=t(c);return f==n||f==i||f==r||f==o}return Ug=u,Ug}var $g,nT;function pF(){if(nT)return $g;nT=1;var t=Vs(),e=t["__core-js_shared__"];return $g=e,$g}var Hg,aT;function mF(){if(aT)return Hg;aT=1;var t=pF(),e=(function(){var n=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!e&&e in n}return Hg=r,Hg}var Bg,iT;function gF(){if(iT)return Bg;iT=1;var t=Function.prototype,e=t.toString;function r(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return Bg=r,Bg}var Fg,sT;function vF(){if(sT)return Fg;sT=1;var t=vb(),e=mF(),r=wi(),n=gF(),i=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,f=u.toString,d=c.hasOwnProperty,p=RegExp("^"+f.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(g){if(!r(g)||e(g))return!1;var y=t(g)?p:o;return y.test(n(g))}return Fg=m,Fg}var qg,oT;function yF(){if(oT)return qg;oT=1;function t(e,r){return e?.[r]}return qg=t,qg}var Yg,lT;function yb(){if(lT)return Yg;lT=1;var t=vF(),e=yF();function r(n,i){var o=e(n,i);return t(o)?o:void 0}return Yg=r,Yg}var Vg,uT;function tM(){if(uT)return Vg;uT=1;var t=yb(),e=Vs(),r=t(e,"Map");return Vg=r,Vg}var Gg,cT;function Eh(){if(cT)return Gg;cT=1;var t=yb(),e=t(Object,"create");return Gg=e,Gg}var Xg,dT;function bF(){if(dT)return Xg;dT=1;var t=Eh();function e(){this.__data__=t?t(null):{},this.size=0}return Xg=e,Xg}var Wg,fT;function wF(){if(fT)return Wg;fT=1;function t(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}return Wg=t,Wg}var Kg,hT;function SF(){if(hT)return Kg;hT=1;var t=Eh(),e="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(o){var u=this.__data__;if(t){var c=u[o];return c===e?void 0:c}return n.call(u,o)?u[o]:void 0}return Kg=i,Kg}var Qg,pT;function EF(){if(pT)return Qg;pT=1;var t=Eh(),e=Object.prototype,r=e.hasOwnProperty;function n(i){var o=this.__data__;return t?o[i]!==void 0:r.call(o,i)}return Qg=n,Qg}var Zg,mT;function xF(){if(mT)return Zg;mT=1;var t=Eh(),e="__lodash_hash_undefined__";function r(n,i){var o=this.__data__;return this.size+=this.has(n)?0:1,o[n]=t&&i===void 0?e:i,this}return Zg=r,Zg}var Jg,gT;function _F(){if(gT)return Jg;gT=1;var t=bF(),e=wF(),r=SF(),n=EF(),i=xF();function o(u){var c=-1,f=u==null?0:u.length;for(this.clear();++c<f;){var d=u[c];this.set(d[0],d[1])}}return o.prototype.clear=t,o.prototype.delete=e,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,Jg=o,Jg}var e0,vT;function TF(){if(vT)return e0;vT=1;var t=_F(),e=Sh(),r=tM();function n(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}return e0=n,e0}var t0,yT;function CF(){if(yT)return t0;yT=1;function t(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}return t0=t,t0}var r0,bT;function xh(){if(bT)return r0;bT=1;var t=CF();function e(r,n){var i=r.__data__;return t(n)?i[typeof n=="string"?"string":"hash"]:i.map}return r0=e,r0}var n0,wT;function RF(){if(wT)return n0;wT=1;var t=xh();function e(r){var n=t(this,r).delete(r);return this.size-=n?1:0,n}return n0=e,n0}var a0,ST;function AF(){if(ST)return a0;ST=1;var t=xh();function e(r){return t(this,r).get(r)}return a0=e,a0}var i0,ET;function OF(){if(ET)return i0;ET=1;var t=xh();function e(r){return t(this,r).has(r)}return i0=e,i0}var s0,xT;function MF(){if(xT)return s0;xT=1;var t=xh();function e(r,n){var i=t(this,r),o=i.size;return i.set(r,n),this.size+=i.size==o?0:1,this}return s0=e,s0}var o0,_T;function DF(){if(_T)return o0;_T=1;var t=TF(),e=RF(),r=AF(),n=OF(),i=MF();function o(u){var c=-1,f=u==null?0:u.length;for(this.clear();++c<f;){var d=u[c];this.set(d[0],d[1])}}return o.prototype.clear=t,o.prototype.delete=e,o.prototype.get=r,o.prototype.has=n,o.prototype.set=i,o0=o,o0}var l0,TT;function kF(){if(TT)return l0;TT=1;var t=Sh(),e=tM(),r=DF(),n=200;function i(o,u){var c=this.__data__;if(c instanceof t){var f=c.__data__;if(!e||f.length<n-1)return f.push([o,u]),this.size=++c.size,this;c=this.__data__=new r(f)}return c.set(o,u),this.size=c.size,this}return l0=i,l0}var u0,CT;function LF(){if(CT)return u0;CT=1;var t=Sh(),e=cF(),r=dF(),n=fF(),i=hF(),o=kF();function u(c){var f=this.__data__=new t(c);this.size=f.size}return u.prototype.clear=e,u.prototype.delete=r,u.prototype.get=n,u.prototype.has=i,u.prototype.set=o,u0=u,u0}var c0,RT;function rM(){if(RT)return c0;RT=1;var t=yb(),e=(function(){try{var r=t(Object,"defineProperty");return r({},"",{}),r}catch{}})();return c0=e,c0}var d0,AT;function bb(){if(AT)return d0;AT=1;var t=rM();function e(r,n,i){n=="__proto__"&&t?t(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return d0=e,d0}var f0,OT;function nM(){if(OT)return f0;OT=1;var t=bb(),e=bh();function r(n,i,o){(o!==void 0&&!e(n[i],o)||o===void 0&&!(i in n))&&t(n,i,o)}return f0=r,f0}var h0,MT;function NF(){if(MT)return h0;MT=1;function t(e){return function(r,n,i){for(var o=-1,u=Object(r),c=i(r),f=c.length;f--;){var d=c[e?f:++o];if(n(u[d],d,u)===!1)break}return r}}return h0=t,h0}var p0,DT;function PF(){if(DT)return p0;DT=1;var t=NF(),e=t();return p0=e,p0}var _u={exports:{}};_u.exports;var kT;function zF(){return kT||(kT=1,(function(t,e){var r=Vs(),n=e&&!e.nodeType&&e,i=n&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===n,u=o?r.Buffer:void 0,c=u?u.allocUnsafe:void 0;function f(d,p){if(p)return d.slice();var m=d.length,g=c?c(m):new d.constructor(m);return d.copy(g),g}t.exports=f})(_u,_u.exports)),_u.exports}var m0,LT;function jF(){if(LT)return m0;LT=1;var t=Vs(),e=t.Uint8Array;return m0=e,m0}var g0,NT;function IF(){if(NT)return g0;NT=1;var t=jF();function e(r){var n=new r.constructor(r.byteLength);return new t(n).set(new t(r)),n}return g0=e,g0}var v0,PT;function UF(){if(PT)return v0;PT=1;var t=IF();function e(r,n){var i=n?t(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return v0=e,v0}var y0,zT;function $F(){if(zT)return y0;zT=1;function t(e,r){var n=-1,i=e.length;for(r||(r=Array(i));++n<i;)r[n]=e[n];return r}return y0=t,y0}var b0,jT;function HF(){if(jT)return b0;jT=1;var t=wi(),e=Object.create,r=(function(){function n(){}return function(i){if(!t(i))return{};if(e)return e(i);n.prototype=i;var o=new n;return n.prototype=void 0,o}})();return b0=r,b0}var w0,IT;function BF(){if(IT)return w0;IT=1;function t(e,r){return function(n){return e(r(n))}}return w0=t,w0}var S0,UT;function aM(){if(UT)return S0;UT=1;var t=BF(),e=t(Object.getPrototypeOf,Object);return S0=e,S0}var E0,$T;function iM(){if($T)return E0;$T=1;var t=Object.prototype;function e(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||t;return r===i}return E0=e,E0}var x0,HT;function FF(){if(HT)return x0;HT=1;var t=HF(),e=aM(),r=iM();function n(i){return typeof i.constructor=="function"&&!r(i)?t(e(i)):{}}return x0=n,x0}var _0,BT;function qF(){if(BT)return _0;BT=1;var t=ac(),e=fl(),r="[object Arguments]";function n(i){return e(i)&&t(i)==r}return _0=n,_0}var T0,FT;function sM(){if(FT)return T0;FT=1;var t=qF(),e=fl(),r=Object.prototype,n=r.hasOwnProperty,i=r.propertyIsEnumerable,o=t((function(){return arguments})())?t:function(u){return e(u)&&n.call(u,"callee")&&!i.call(u,"callee")};return T0=o,T0}var C0,qT;function oM(){if(qT)return C0;qT=1;var t=Array.isArray;return C0=t,C0}var R0,YT;function lM(){if(YT)return R0;YT=1;var t=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=t}return R0=e,R0}var A0,VT;function wb(){if(VT)return A0;VT=1;var t=vb(),e=lM();function r(n){return n!=null&&e(n.length)&&!t(n)}return A0=r,A0}var O0,GT;function YF(){if(GT)return O0;GT=1;var t=wb(),e=fl();function r(n){return e(n)&&t(n)}return O0=r,O0}var Tu={exports:{}},M0,XT;function VF(){if(XT)return M0;XT=1;function t(){return!1}return M0=t,M0}Tu.exports;var WT;function uM(){return WT||(WT=1,(function(t,e){var r=Vs(),n=VF(),i=e&&!e.nodeType&&e,o=i&&!0&&t&&!t.nodeType&&t,u=o&&o.exports===i,c=u?r.Buffer:void 0,f=c?c.isBuffer:void 0,d=f||n;t.exports=d})(Tu,Tu.exports)),Tu.exports}var D0,KT;function GF(){if(KT)return D0;KT=1;var t=ac(),e=aM(),r=fl(),n="[object Object]",i=Function.prototype,o=Object.prototype,u=i.toString,c=o.hasOwnProperty,f=u.call(Object);function d(p){if(!r(p)||t(p)!=n)return!1;var m=e(p);if(m===null)return!0;var g=c.call(m,"constructor")&&m.constructor;return typeof g=="function"&&g instanceof g&&u.call(g)==f}return D0=d,D0}var k0,QT;function XF(){if(QT)return k0;QT=1;var t=ac(),e=lM(),r=fl(),n="[object Arguments]",i="[object Array]",o="[object Boolean]",u="[object Date]",c="[object Error]",f="[object Function]",d="[object Map]",p="[object Number]",m="[object Object]",g="[object RegExp]",y="[object Set]",v="[object String]",w="[object WeakMap]",E="[object ArrayBuffer]",T="[object DataView]",x="[object Float32Array]",_="[object Float64Array]",O="[object Int8Array]",k="[object Int16Array]",L="[object Int32Array]",H="[object Uint8Array]",C="[object Uint8ClampedArray]",D="[object Uint16Array]",M="[object Uint32Array]",P={};P[x]=P[_]=P[O]=P[k]=P[L]=P[H]=P[C]=P[D]=P[M]=!0,P[n]=P[i]=P[E]=P[o]=P[T]=P[u]=P[c]=P[f]=P[d]=P[p]=P[m]=P[g]=P[y]=P[v]=P[w]=!1;function U(I){return r(I)&&e(I.length)&&!!P[t(I)]}return k0=U,k0}var L0,ZT;function WF(){if(ZT)return L0;ZT=1;function t(e){return function(r){return e(r)}}return L0=t,L0}var Cu={exports:{}};Cu.exports;var JT;function KF(){return JT||(JT=1,(function(t,e){var r=cR(),n=e&&!e.nodeType&&e,i=n&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===n,u=o&&r.process,c=(function(){try{var f=i&&i.require&&i.require("util").types;return f||u&&u.binding&&u.binding("util")}catch{}})();t.exports=c})(Cu,Cu.exports)),Cu.exports}var N0,e2;function cM(){if(e2)return N0;e2=1;var t=XF(),e=WF(),r=KF(),n=r&&r.isTypedArray,i=n?e(n):t;return N0=i,N0}var P0,t2;function dM(){if(t2)return P0;t2=1;function t(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}return P0=t,P0}var z0,r2;function QF(){if(r2)return z0;r2=1;var t=bb(),e=bh(),r=Object.prototype,n=r.hasOwnProperty;function i(o,u,c){var f=o[u];(!(n.call(o,u)&&e(f,c))||c===void 0&&!(u in o))&&t(o,u,c)}return z0=i,z0}var j0,n2;function ZF(){if(n2)return j0;n2=1;var t=QF(),e=bb();function r(n,i,o,u){var c=!o;o||(o={});for(var f=-1,d=i.length;++f<d;){var p=i[f],m=u?u(o[p],n[p],p,o,n):void 0;m===void 0&&(m=n[p]),c?e(o,p,m):t(o,p,m)}return o}return j0=r,j0}var I0,a2;function JF(){if(a2)return I0;a2=1;function t(e,r){for(var n=-1,i=Array(e);++n<e;)i[n]=r(n);return i}return I0=t,I0}var U0,i2;function fM(){if(i2)return U0;i2=1;var t=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(n,i){var o=typeof n;return i=i??t,!!i&&(o=="number"||o!="symbol"&&e.test(n))&&n>-1&&n%1==0&&n<i}return U0=r,U0}var $0,s2;function e9(){if(s2)return $0;s2=1;var t=JF(),e=sM(),r=oM(),n=uM(),i=fM(),o=cM(),u=Object.prototype,c=u.hasOwnProperty;function f(d,p){var m=r(d),g=!m&&e(d),y=!m&&!g&&n(d),v=!m&&!g&&!y&&o(d),w=m||g||y||v,E=w?t(d.length,String):[],T=E.length;for(var x in d)(p||c.call(d,x))&&!(w&&(x=="length"||y&&(x=="offset"||x=="parent")||v&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||i(x,T)))&&E.push(x);return E}return $0=f,$0}var H0,o2;function t9(){if(o2)return H0;o2=1;function t(e){var r=[];if(e!=null)for(var n in Object(e))r.push(n);return r}return H0=t,H0}var B0,l2;function r9(){if(l2)return B0;l2=1;var t=wi(),e=iM(),r=t9(),n=Object.prototype,i=n.hasOwnProperty;function o(u){if(!t(u))return r(u);var c=e(u),f=[];for(var d in u)d=="constructor"&&(c||!i.call(u,d))||f.push(d);return f}return B0=o,B0}var F0,u2;function hM(){if(u2)return F0;u2=1;var t=e9(),e=r9(),r=wb();function n(i){return r(i)?t(i,!0):e(i)}return F0=n,F0}var q0,c2;function n9(){if(c2)return q0;c2=1;var t=ZF(),e=hM();function r(n){return t(n,e(n))}return q0=r,q0}var Y0,d2;function a9(){if(d2)return Y0;d2=1;var t=nM(),e=zF(),r=UF(),n=$F(),i=FF(),o=sM(),u=oM(),c=YF(),f=uM(),d=vb(),p=wi(),m=GF(),g=cM(),y=dM(),v=n9();function w(E,T,x,_,O,k,L){var H=y(E,x),C=y(T,x),D=L.get(C);if(D){t(E,x,D);return}var M=k?k(H,C,x+"",E,T,L):void 0,P=M===void 0;if(P){var U=u(C),I=!U&&f(C),z=!U&&!I&&g(C);M=C,U||I||z?u(H)?M=H:c(H)?M=n(H):I?(P=!1,M=e(C,!0)):z?(P=!1,M=r(C,!0)):M=[]:m(C)||o(C)?(M=H,o(H)?M=v(H):(!p(H)||d(H))&&(M=i(C))):P=!1}P&&(L.set(C,M),O(M,C,_,k,L),L.delete(C)),t(E,x,M)}return Y0=w,Y0}var V0,f2;function i9(){if(f2)return V0;f2=1;var t=LF(),e=nM(),r=PF(),n=a9(),i=wi(),o=hM(),u=dM();function c(f,d,p,m,g){f!==d&&r(d,function(y,v){if(g||(g=new t),i(y))n(f,d,v,p,c,m,g);else{var w=m?m(u(f,v),y,v+"",f,d,g):void 0;w===void 0&&(w=y),e(f,v,w)}},o)}return V0=c,V0}var G0,h2;function pM(){if(h2)return G0;h2=1;function t(e){return e}return G0=t,G0}var X0,p2;function s9(){if(p2)return X0;p2=1;function t(e,r,n){switch(n.length){case 0:return e.call(r);case 1:return e.call(r,n[0]);case 2:return e.call(r,n[0],n[1]);case 3:return e.call(r,n[0],n[1],n[2])}return e.apply(r,n)}return X0=t,X0}var W0,m2;function o9(){if(m2)return W0;m2=1;var t=s9(),e=Math.max;function r(n,i,o){return i=e(i===void 0?n.length-1:i,0),function(){for(var u=arguments,c=-1,f=e(u.length-i,0),d=Array(f);++c<f;
54)d[c]=u[i+c];c=-1;for(var p=Array(i+1);++c<i;)p[c]=u[c];return p[i]=o(d),t(n,this,p)}}return W0=r,W0}var K0,g2;function l9(){if(g2)return K0;g2=1;function t(e){return function(){return e}}return K0=t,K0}var Q0,v2;function u9(){if(v2)return Q0;v2=1;var t=l9(),e=rM(),r=pM(),n=e?function(i,o){return e(i,"toString",{configurable:!0,enumerable:!1,value:t(o),writable:!0})}:r;return Q0=n,Q0}var Z0,y2;function c9(){if(y2)return Z0;y2=1;var t=800,e=16,r=Date.now;function n(i){var o=0,u=0;return function(){var c=r(),f=e-(c-u);if(u=c,f>0){if(++o>=t)return arguments[0]}else o=0;return i.apply(void 0,arguments)}}return Z0=n,Z0}var J0,b2;function d9(){if(b2)return J0;b2=1;var t=u9(),e=c9(),r=e(t);return J0=r,J0}var ev,w2;function f9(){if(w2)return ev;w2=1;var t=pM(),e=o9(),r=d9();function n(i,o){return r(e(i,o,t),i+"")}return ev=n,ev}var tv,S2;function h9(){if(S2)return tv;S2=1;var t=bh(),e=wb(),r=fM(),n=wi();function i(o,u,c){if(!n(c))return!1;var f=typeof u;return(f=="number"?e(c)&&r(u,c.length):f=="string"&&u in c)?t(c[u],o):!1}return tv=i,tv}var rv,E2;function p9(){if(E2)return rv;E2=1;var t=f9(),e=h9();function r(n){return t(function(i,o){var u=-1,c=o.length,f=c>1?o[c-1]:void 0,d=c>2?o[2]:void 0;for(f=n.length>3&&typeof f=="function"?(c--,f):void 0,d&&e(o[0],o[1],d)&&(f=c<3?void 0:f,c=1),i=Object(i);++u<c;){var p=o[u];p&&n(i,p,u,f)}return i})}return rv=r,rv}var nv,x2;function m9(){if(x2)return nv;x2=1;var t=i9(),e=p9(),r=e(function(n,i,o){t(n,i,o)});return nv=r,nv}var g9=m9();const v9=qs(g9),y9=` 55@keyframes checkmark { 56 0% { 57 stroke-dashoffset: 100px 58 } 59 100% { 60 stroke-dashoffset: 0px 61 } 62} 63 64@keyframes checkmark-circle { 65 0% { 66 stroke-dashoffset: 480px 67 } 68 100% { 69 stroke-dashoffset: 960px 70 } 71} 72 73svg[data-animated-tick=true] .checkmark-tick { 74 animation: checkmark 0.25s ease-in 0.6s backwards 75} 76 77svg[data-animated-tick=true] .checkmark-circle { 78 animation: checkmark-circle 0.6s ease-in-out backwards; 79}`;function b9({strokeWidth:t=10,animate:e=!0,className:r,...n}){return j.useLayoutEffect(()=>{const i=_P();return xP(i,y9),SP(i),()=>EP(i)},[]),te.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 154 154",fill:"none","data-animated-tick":e,className:Re("stroke-current",r),...n,children:[te.jsx("path",{d:"M77 141C112.346 141 141 112.346 141 77C141 41.6538 112.346 13 77 13C41.6538 13 13 41.6538 13 77C13 112.346 41.6538 141 77 141Z",style:{strokeDasharray:"480px, 480px",strokeDashoffset:"960px"},strokeWidth:t,className:"checkmark-circle"}),te.jsx("path",{d:"M46 80.2444L63.9556 98.1111L107.067 55",strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round",style:{strokeDasharray:"100px, 100px",strokeDashoffset:"200px"},className:"checkmark-tick"})]})}const w9={idle:{Icon:Av,iconClassName:"text-warning",title:"¿Estás seguro?",description:"Esta acción no se puede deshacer.",actionText:"Confirmar"},loading:{Icon:Av,iconClassName:"text-warning",title:"Procesando...",description:"Por favor, espere.",actionText:"Procesando"},success:{Icon:b9,iconClassName:"text-success",title:"Exito",description:"Operación completada con exito.",actionText:"Cerrar"},error:{Icon:ER,iconClassName:"text-error",title:"Error",description:"Algo salió mal. Por favor, inténtalo de nuevo.",actionText:"Reintentar"}};function S9({show:t,state:e,onOk:r,onClose:n,messages:i,errorMessage:o}){const{t:u}=cb(),c=j.useRef(null),d=v9({},w9,i)[e],p=d.Icon;return te.jsxs(gh,{show:t,as:gb,onClose:n,initialFocus:c,children:[te.jsx(il,{as:"div",className:"bg-navy-950/70 fixed inset-0 backdrop-blur-sm",enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),te.jsx(yh,{className:"fixed inset-0 z-[110] flex items-center justify-center",children:te.jsxs("div",{className:"bg-navy-900 w-full max-w-md rounded-3xl border border-white/10 p-6 text-center shadow-2xl shadow-black/40",children:[te.jsx(p,{className:Re("mx-auto size-20",d.iconClassName)}),te.jsx("h3",{className:"mt-4 text-xl text-white",children:d.title}),te.jsx("p",{className:"mt-2 text-white/70",children:d.description}),e==="error"&&o&&te.jsx("p",{className:"text-error mt-3 text-sm",children:o}),te.jsxs("div",{className:"mt-8 flex justify-center gap-3",children:[e!=="success"&&te.jsx(Uu,{variant:"outlined",className:"border-white/20 text-white hover:bg-white/10",onClick:n,disabled:e==="loading",children:u("generals.cancel")}),te.jsxs(Uu,{ref:c,onClick:e==="success"?n:r,color:e==="error"?"error":e==="success"?"success":"primary",children:[e==="loading"&&te.jsx(wR,{className:"mr-2 size-4"}),d.actionText]})]})]})})]})}function E9({children:t}){const[e,r]=j.useState(!1),[n,i]=j.useState("idle"),[o,u]=j.useState({}),c=j.useCallback(g=>{u(g),i("idle"),d(null),r(!0)},[]),[f,d]=j.useState(null),p=async()=>
79{if(o.onConfirm){i("loading");try{const g=await o.onConfirm();g.satisfactory?i("success"):(i("error"),d(g.message||"Ocurrió un error"))}catch(g){i("error"),d(g?.message||"Ocurrió un error")}}},m=()=>{n!=="loading"&&r(!1)};return te.jsxs(SO.Provider,{value:{confirm:c},children:[t,te.jsx(S9,{show:e,state:n,onOk:p,onClose:m,messages:o.messages,errorMessage:f})]})}const x9="/assets/elnacional-DBEEMZ9F.png";function Sb(){return te.jsx(te.Fragment,{children:te.jsxs("div",{className:"fixed grid h-full w-full place-content-center",children:[te.jsx("img",{src:x9,alt:"El Nacional",className:"mx-auto h-24 w-auto"}),te.jsx(bR,{color:"primary",isIndeterminate:!0,animationDuration:"1s",className:"mt-2 h-1"})]})})}function _h(t,e){return function(n){return te.jsx(j.Suspense,{fallback:e?te.jsx(e,{}):null,children:te.jsx(t,{...n})})}}function Vu(t){"@babel/helpers - typeof";return Vu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vu(t)}function _9(t,e){if(Vu(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(Vu(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function T9(t){var e=_9(t,"string");return Vu(e)=="symbol"?e:e+""}function mM(t,e,r){return(e=T9(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function C9(t){if(Array.isArray(t))return t}function R9(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,o,u,c=[],f=!0,d=!1;try{if(o=(r=r.call(t)).next,e!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);f=!0);}catch(p){d=!0,i=p}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw i}}return c}}function _2(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function A9(t,e){if(t){if(typeof t=="string")return _2(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_2(t,e):void 0}}function O9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 80In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gM(t,e){return C9(t)||R9(t,e)||A9(t,e)||O9()}var av={exports:{}},Dt={};var T2;function M9(){if(T2)return Dt;T2=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,o=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,f=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,g=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,E=t?Symbol.for("react.fundamental"):60117,T=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function _(k){if(typeof k=="object"&&k!==null){var L=k.$$typeof;switch(L){case e:switch(k=k.type,k){case f:case d:case n:case o:case i:case m:return k;default:switch(k=k&&k.$$typeof,k){case c:case p:case v:case y:case u:return k;default:return L}}case r:return L}}}function O(k){return _(k)===d}return Dt.AsyncMode=f,Dt.ConcurrentMode=d,Dt.ContextConsumer=c,Dt.ContextProvider=u,Dt.Element=e,Dt.ForwardRef=p,Dt.Fragment=n,Dt.Lazy=v,Dt.Memo=y,Dt.Portal=r,Dt.Profiler=o,Dt.StrictMode=i,Dt.Suspense=m,Dt.isAsyncMode=function(k){return O(k)||_(k)===f},Dt.isConcurrentMode=O,Dt.isContextConsumer=function(k){return _(k)===c},Dt.isContextProvider=function(k){return _(k)===u},Dt.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===e},Dt.isForwardRef=function(k){return _(k)===p},Dt.isFragment=function(k){return _(k)===n},Dt.isLazy=function(k){return _(k)===v},Dt.isMemo=function(k){return _(k)===y},Dt.isPortal=function(k){return _(k)===r},Dt.isProfiler=function(k){return _(k)===o},Dt.isStrictMode=function(k){return _(k)===i},Dt.isSuspense=function(k){return _(k)===m},Dt.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===n||k===d||k===o||k===i||k===m||k===g||typeof k=="object"&&k!==null&&(k.$$typeof===v||k.$$typeof===y||k.$$typeof===u||k.$$typeof===c||k.$$typeof===p||k.$$typeof===E||k.$$typeof===T||k.$$typeof===x||k.$$typeof===w)},Dt.typeOf=_,Dt}var C2;function D9(){return C2||(C2=1,av.exports=M9()),av.exports}var iv,R2;function k9(){if(R2)return iv;R2=1;var t=D9(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0}
80,r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[t.ForwardRef]=n,o[t.Memo]=i;function u(v){return t.isMemo(v)?i:o[v.$$typeof]||e}var c=Object.defineProperty,f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,g=Object.prototype;function y(v,w,E){if(typeof w!="string"){if(g){var T=m(w);T&&T!==g&&y(v,T,E)}var x=f(w);d&&(x=x.concat(d(w)));for(var _=u(v),O=u(w),k=0;k<x.length;++k){var L=x[k];if(!r[L]&&!(E&&E[L])&&!(O&&O[L])&&!(_&&_[L])){var H=p(w,L);try{c(v,L,H)}catch{}}}}return v}return iv=y,iv}k9();var vM=function(e,r,n){return e=e<=n?e:n,e=e>=r?e:r,e},L9=function(){var e=!1,r=[],n=function(){e=!0;var c=r.shift();if(c)return c(n);e=!1},i=function(){e=!1,r=[]},o=function(c){r.push(c),!e&&r.length===1&&n()};return{clear:i,enqueue:o}},N9=function(){var e,r=function(){e&&window.cancelAnimationFrame(e)},n=function(o,u){var c,f,d=function(m){if(f=f||m,c=m-f,c>u){o();return}e=window.requestAnimationFrame(d)};e=window.requestAnimationFrame(d)};return{cancel:r,schedule:n}},P9=function(e){var r=0;return e>=0&&e<.2?r=.1:e>=.2&&e<.5?r=.04:e>=.5&&e<.8?r=.02:e>=.8&&e<.99&&(r=.005),vM(e+r,0,.994)},A2=function(e){j.useEffect(e,[])};function O2(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function z9(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?O2(Object(r),!0).forEach(function(n){mM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O2(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var j9=function(e){return++e%1e6},I9=function(){var e=j.useState(0),r=gM(e,2),n=r[1];return j.useCallback(function(){return n(j9)},[])},U9=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=I9(),n=j.useRef(z9({},e)),i=j.useCallback(function(){return n.current},[]),o=j.useCallback(function(u){u&&(Object.assign(n.current,u),r())},[]);return[i,o]},$9=function(){var e=j.useRef(!0);return e.current?(e.current=!1,!0):e.current},M2=function(e,r){var n=$9();j.useEffect(function(){if(!n)return e()},r)};function D2(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function k2(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?D2(Object(r),!0).forEach(function(n){mM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D2(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var yM=function(){},L2={isFinished:!0,progress:0,sideEffect:yM},H9=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.animationDuration,n=r===void 0?200:r,i=e.incrementDuration,o=i===void 0?800:i,u=e.isAnimating,c=u===void 0?!1:u,f=e.minimum,d=f===void 0?.08:f,p=U9(L2),m=gM(p,2),g=m[0],y=m[1],v=j.useRef(null),w=j.useRef(null);A2(function(){v.current=L9(),w.current=N9()});var E=j.useCallback(function(){var L,H;(L=w.current)===null||L===void 0||L.cancel(),(H=v.current)===null||H===void 0||H.clear()},[]),T=j.useCallback(function(L){var H;if(L=vM(L,d,1),L===1){var C,D;E(),(C=v.current)===null||C===void 0||C.enqueue(function(M){y({progress:L,sideEffect:function(){var U;return(U=w.current)===null||U===void 0?void 0:U.schedule(M,n)}})}),(D=v.current)===null||D===void 0||D.enqueue(function(){y({isFinished:!0,sideEffect:E})});return}(H=v.current)===null||H===void 0||H.enqueue(function(M){y({isFinished:!1,progress:L,sideEffect:function(){var U;return(U=w.current)===null||U===void 0?void 0:U.schedule(M,n)}})})},[n,E,d,v,y,w]),x=j.useCallback(function(){T(P9(g().progress))},[g,T]),_=j.useCallback(function(){var L=function(){var C;x(),(C=v.current)===null||C===void 0||C.enqueue(function(D){var M;(M=w.current)===null||M===void 0||M.schedule(function(){L(),D()},o)})};L()},[o,v,w,x]),O=j.useRef(yM),k=g().sideEffect;return j.useEffect(function(){O.current=x}),A2(function(){return c&&_(),E}),M2(function(){g().sideEffect()},[g,k]),M2(function(){c?y(k2(k2({},L2),{},{sideEffect:_})):T(1)},[c,T,y,_]),{animationDuration:n,isFinished:g().isFinished,progress:g().progress}};function bM({isAnimating:t}){const{primaryColorScheme:e,isDark:r}=ic(),{animationDuration:n,isFinished:i,progress:o}
80=H9({isAnimating:t});return te.jsx("div",{className:"pointer-events-none fixed top-0 left-0 h-0.5 w-full",style:{zIndex:9999},children:!i&&te.jsx("div",{className:"relative h-full",style:{backgroundColor:r?e[500]:e[600],width:`${o*100}%`,transition:`width ${n}ms ease-out`},children:te.jsx("div",{className:"absolute right-0 h-full opacity-100",style:{boxShadow:`0 0 10px ${r?e[500]:e[600]}, 0 0 5px ${r?e[500]:e[600]}`,transform:"rotate(3deg) translate(0px, -4px)",width:100}})})})}bM.displayName="NProgress";function B9(){const t=kC(),e=t.state==="loading"&&t.formData==null&&!!t.location?.pathname;return te.jsx(bM,{isAnimating:e})}const F9=_h(j.lazy(()=>Ye(()=>import("./Toaster-Ql3MZXEr.js"),[]))),q9=_h(j.lazy(()=>Ye(()=>import("./Tooltip-B5AirDit.js"),__vite__mapDeps([0,1]))));function Y9(){const{isInitialized:t}=Ry(),{pathname:e}=vn();return t?(kP.some(r=>e.startsWith(r)),te.jsxs(te.Fragment,{children:[te.jsx(B9,{}),te.jsx(UC,{}),te.jsx($4,{}),te.jsx(q9,{}),te.jsx(F9,{})]})):te.jsx(Sb,{})}const N2={401:j.lazy(()=>Ye(()=>import("./401-DUYRoZ88.js"),__vite__mapDeps([2,3]))),404:j.lazy(()=>Ye(()=>import("./404-BZ2saos0.js"),__vite__mapDeps([4,3]))),429:j.lazy(()=>Ye(()=>import("./429-CFVhOm9H.js"),__vite__mapDeps([5,3]))),500:j.lazy(()=>Ye(()=>import("./500-Abqy6nd3.js"),__vite__mapDeps([6,3])))};function V9(){const t=NC();if(tl(t)&&Object.keys(N2).includes(t.status.toString())){const e=_h(N2[t.status]);return te.jsx(e,{})}return te.jsx("div",{className:"flex h-screen w-screen items-center justify-center",children:te.jsx("div",{className:"mx-auto max-w-xl text-center",children:"Application error: a client-side exception has occurred while loading (see the browser console for more information)."})})}function G9(){const t=py(),{isAuthenticated:e}=Ry();return e?te.jsx(te.Fragment,{children:t}):te.jsx(Xo,{to:`${MP}`,replace:!0})}const P2={"main-layout":j.lazy(()=>Ye(()=>import("./index-IfbMO0UE.js"),__vite__mapDeps([7,8,9,10,11,12,13,14,1,15,16,17,18]))),sideblock:j.lazy(()=>Ye(()=>import("./index-VBT-zdfv.js"),__vite__mapDeps([19,20,10,11,12,13,14,1,21,22,23,24,25,26])))};function X9(){const{themeLayout:t}=ic(),e=j.useMemo(()=>_h(P2[t]||P2["main-layout"],Sb),[t]);return te.jsx(e,{})}const Zr="/admin/administration",Jr=(t,e)=>`${t}${e}`,W9={id:"administration",type:"item",path:Jr(Zr,"/users"),title:"Administración",transKey:"nav.administration.title",icon:"administration",childs:[{id:"users",type:"item",path:Jr(Zr,"/users"),title:"Usuarios",transKey:"nav.administration.users",icon:"administration.users",access_reference:"users.index"},{id:"profiles",type:"item",path:Jr(Zr,"/profiles"),title:"Perfiles",transKey:"nav.administration.profiles",icon:"administration.profiles",access_reference:"profiles.index"},{id:"access-control",type:"item",path:Jr(Zr,"/access"),title:"Access",transKey:"nav.administration.access",icon:"administration.profiles",access_reference:"access.index"},{id:"admin.articles",path:Jr(Zr,"/articles"),type:"collapse",title:"Cryptocurrency",transKey:"nav.administration.articles",icon:"administration.articles",access_reference:"",childs:[{id:"admin.articles-1",type:"item",path:Jr(Zr,"/articles-categories"),title:"CategorÃas de ArtÃculos",transKey:"nav.administration.articles_categories",icon:"administration.articles_categories",access_reference:"articles_categories.index"},{id:"admin.articles-2",type:"item",path:Jr(Zr,"/articles"),title:"Articles",transKey:"nav.administration.articles",icon:"administration.articles",access_reference:"articles.index"},{id:"admin.articles-3",type:"item",path:Jr(Zr,"/articles-comments-reports"),title:"Articles",transKey:"nav.administration.articles_comments_reports",icon:"administration.articles",access_reference:"articles_comments.reports"}]},{id:"admin.posts",path:Jr(Zr,"/posts"),type:"collapse",title:"Cryptocurrency",transKey:"nav.administration.posts",icon:"administration.posts",access_reference:"",childs:[{id:"admin.posts-1",type:"item",path:Jr(Zr,"/posts-categories"),title:"CategorÃas de Publicaciones",transKey:"nav.administration.posts_categories",icon:"administration.posts-categories",access_reference:"posts_categories.index"}
80,{id:"admin.posts-2",type:"item",path:Jr(Zr,"/posts"),title:"Publicaciones",transKey:"nav.administration.posts",icon:"administration.posts",access_reference:"posts.index"},{id:"admin.posts-3",type:"item",path:Jr(Zr,"/posts-comments-reports"),title:"Comentarios de Publicaciones",transKey:"nav.administration.posts_comments_reports",icon:"administration.posts",access_reference:"posts_comments.reports"}]},{id:"banners",type:"item",path:Jr(Zr,"/banners"),title:"Banners",transKey:"nav.administration.banners",icon:"administration.banners",access_reference:"banners.index"},{id:"donations",type:"item",path:Jr(Zr,"/donations"),title:"Donaciones",transKey:"nav.administration.donations",icon:"administration.donations",access_reference:"donations.index"},{id:"notifications",type:"item",path:Jr(Zr,"/notifications"),title:"Notificaciones",transKey:"nav.administration.notifications",icon:"administration.notifications",access_reference:"notifications.index"}]},wM={dashboards:{id:"dashboards",type:"item",path:"/admin/dashboards/home",title:"Inicio",transKey:"nav.dashboards.title",icon:"dashboards"},settings:{id:"settings",type:"item",path:"/settings/appearance",title:"Configuración",transKey:"nav.settings.title",icon:"settings"}};Array.from(Object.values(wM));const K9={...wM.dashboards,type:"root",childs:[{id:"dashboards.home",path:"/admin/dashboards/home",type:"item",title:"Inicio",transKey:"nav.dashboards.home",icon:"dashboards.home"}]},Q9={id:"settings",type:"item",path:"/settings",title:"Configuración",transKey:"nav.settings.title",icon:"settings",childs:[{id:"appearance",type:"item",path:"settings/appearance",title:"Apariencia",transKey:"nav.settings.appearance",access_reference:"settings.appearance",icon:"settings.appearance"}]},Z9=[K9,W9,Q9];async function J9({request:t}){const e=new URL(t.url).pathname;if(!!Z9.flatMap(i=>i.childs).find(i=>i?.path==e)?.access_reference)throw new Response("No autorizado",{status:401});return null}const eq={id:"protected",path:`/${gR}/`,loader:J9,Component:G9,children:[{Component:X9,children:[{index:!0,element:te.jsx(Xo,{to:"home"})},{path:"home",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-C6421WzE.js");return{default:t}},__vite__mapDeps([27,3,28,29,30,31,32,33,11,34,35,36,37,38,39,40,41,42,43,44,45,46,13,47,17]))).default})},{path:"donations",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-D5NjrMgi.js");return{default:t}},__vite__mapDeps([48,3,31,29,30,28,32,49,50,51,52,53,25,34,54,8,55,41,11,21,38,40,56,57,58,59,60,15,22,61,17,37,47,35,62,63,64,65,66,67]))).default})},{path:"articles",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-BN82tEWU.js");return{default:t}},__vite__mapDeps([68,3,29,30,49,69,70,14,1,71,72,73,74,40,32,42]))).default})},{path:"settings",children:[{index:!0,element:te.jsx(Xo,{to:"/settings/profile"})},{path:"profile",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./MyProfile-yzzCkVg4.js");return{default:t}},__vite__mapDeps([75,33,11,3,32,29,76,69,49,77,53,14,1,71,78,70,12,13,28,30,40,79,18,25]))).default})}]},{path:"administration",children:[{index:!0,element:te.jsx(Xo,{to:"administration/Users"})}]}]}]};function tq(){const t=py(),{isAuthenticated:e}=Ry(),r=`${new URLSearchParams(window.location.search).get(OP)}`;return e?r&&r!==""&&r!=="null"?te.jsx(Xo,{to:r??"/admin"}):te.jsx(Xo,{to:DP}):te.jsx(te.Fragment,{children:t})}const rq={id:"ghost",Component:tq,children:[{path:"/login",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-C7Ke6APV.js");return{default:t}},__vite__mapDeps([80,81,20,29,82,24,25,26,70,49,69,44,45,46,83,84,59,60,85,86,87]))).default})},{path:"/login/super-admin",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-CHx6l-zf.js");return{default:t}},__vite__mapDeps([88,69,49,9,3,70,25,87]))).default})},{path:"/forgotPassword",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-CPOs_yZI.js");return{default:t}},__vite__mapDeps([89,69,49,3,70,84,60]))).default})},{path:"/updatePassword",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-DYruMLb3.js");return{default:t}},__vite__mapDeps([90,69,49,91,92,78,22,3,70,85,86,87,60]))).default})},{path:"/oauth/callback",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./OAuthCallback-BGwnv_5J.js");return{default:t}},__vite__mapDeps([93,3]))).default})},{path:"/signup",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-gbuhTSC5.js");return{default:t}},__vite__mapDeps([94,81,20,29,82,24,25,26,70,49,77,53,14,1,71,78,69,95,28,30,96,97,98,55,41,11,21,34,38,52,54,40,99,91,92,22,100,60,84,87,18,101]))).default})}]},nq={id:"public",children:[{path:"/",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-C0Vt3WUx.js");return{default:t}},__vite__mapDeps([102,81,20,29,82,24,25,26,103,104,38,105,14,1,77,53,71,78,72,86,47,40,106,107,83,37,108,70,99,100,84,18,65]))).default})},{path:"/patrocinio",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-CYh__gle.js");return{default:t}},__vite__mapDeps([109,81,20,29,82,24,25,26,67,110,66,111,47,40,8,35,63,108]))).default})},{path:"/mural",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-9-bmk47P.js");return{default:t}},__vite__mapDeps([112,82,24,20,25,26,81,29,3,30,78,104,113,95,99,114,108]))).default})},{path:"/stadium-advertising",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-Df8N-npF.js");return{default:t}},__vite__mapDeps([115,81,20,29,82,24,25,26,3,116,30,38,57,58,52,77,53,14,1,71,78,47,16,114,65,87,117,8,74,108,34,40,86]))).default})},{path:"/stadium-advertising/:orderId/payment",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./PaymentReturnPage-B_TVxXcJ.js");return{default:t}},__vite__mapDeps([118,81,20,29,82,24,25,26,3,116,30,40,34,108,117]))).default})},{path:"/patrocinio/camiseta/:token",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-BTORRirG.js");return{default:t}},__vite__mapDeps([119,81,20,29,82,24,25,26,30,38,114,18,8,111,64,65,120,47,40,110,108]))).default})},{path:"/patrocinio/camiseta",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-BTORRirG.js");return{default:t}},__vite__mapDeps([119,81,20,29,82,24,25,26,30,38,114,18,8,111,64,65,120,47,40,110,108]))).default})},{path:"/memberships",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-B8adNf-O.js");return{default:t}},__vite__mapDeps([121,29,45,81,20,82,24,25,26,43,44,46,106,83,37,63,65,61,122,120,123,35,36,110,
80108,73]))).default})},{path:"/club",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-D2wQoqpN.js");return{default:t}},__vite__mapDeps([124,81,20,29,82,24,25,26,47,35,122,117,38,107,108]))).default})},{path:"/store",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-BxXMtWP1.js");return{default:t}},__vite__mapDeps([125,81,20,29,82,24,25,26,108]))).default})},{path:"/tienda",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-bgEE2LYW.js");return{default:t}},__vite__mapDeps([126,81,20,29,82,24,25,26,123,64,62]))).default})},{path:"/contact",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-CiFOBXm0.js");return{default:t}},__vite__mapDeps([127,81,20,29,82,24,25,26,103,40,69,49,77,53,14,1,71,78,70,99,101,108]))).default})},{path:"/membership-checkout",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-DOuSDt7S.js");return{default:t}},__vite__mapDeps([128,81,20,29,108,78]))).default}),children:[{index:!0,lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./StepRegistration-Bd7c110S.js");return{default:t}},__vite__mapDeps([129,69,49,130,99,91,70,96,97,71,14,1,105,77,53,78,72,98,30,55,41,11,21,34,38,52,54,40,28,29,92,22,95,44,131,45,113,79,23,25,85,86]))).default})},{path:"payment",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./StepPayment-DyjbndjE.js");return{default:t}},__vite__mapDeps([132,45,133,30,51,52,69,49,70,76,57,58,39,34,41,11,21,38,110,50,29,53,25,130,99,91,64,62,47,63,66,36,86,98,77,14,1,71,78,23,54,117]))).default})}]},{path:"/orders/:orderId/payment",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./OrderPaymentReturnPage-B02kny01.js");return{default:t}},__vite__mapDeps([134,135,52,51,30,45,58,136]))).default})},{path:"/donations/:orderId/payment",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./OrderPaymentReturnDonationsPage-Dcbp4U6m.js");return{default:t}},__vite__mapDeps([137,135,52,51,30,58]))).default})},{path:"/store-orders/:orderId/payment",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./StoreOrderPaymentReturnPage-TNQiT5-o.js");return{default:t}},__vite__mapDeps([138,135,52,51,30,58,136]))).default})},{path:"/donations",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./index-Bvm_GBpk.js");return{default:t}},__vite__mapDeps([139,81,20,29,50,51,52,30,53,25,34,69,49,77,14,1,71,78,70,99,59,18,84,39,26,131,31,133,76,57,58,41,11,21,38,110,56,95,108]))).default})},{path:"/sign-terms",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./SignTerms-vMTYM32y.js");return{default:t}},[])).default})},{path:"/privacy-policy",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./PrivacyPolicy-DXSLpvZZ.js");return{default:t}},[])).default})},{path:"/volunteers-terms",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./VolunteersTerms-BoqXhk6k.js");return{default:t}},[])).default})},{path:"/donation-terms",lazy:async()=>({Component:(await Ye(async()=>{const{default:t}=await import("./DonationsTerms-Do6mWyA6.js");return{default:t}},[])).default})}]},aq=p5([{id:"root",Component:Y9,hydrateFallbackElement:te.jsx(Sb,{}),ErrorBoundary:V9,children:[nq,eq,rq]}]);function iq(){return te.jsx(q$,{children:te.jsx(n7,{children:te.jsx(ZH,{children:te.jsx(G$,{children:te.jsx(e7,{children:te.jsx(E9,{children:te.jsx(j4,{router:aq})})})})})})})}function z2(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Eb(t,e){t===void 0&&(t={}),e===void 0&&(e={});const r=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>r.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:z2(e[n])&&z2(t[n])&&Object.keys(e[n]).length>0&&Eb(t[n],e[n])})}const SM={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function kr(){const t=typeof document<"u"?document:{};return Eb(t,SM),t}const sq={document:SM,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){}
80,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function ar(){const t=typeof window<"u"?window:{};return Eb(t,sq),t}function Ji(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function oq(t){const e=t;Object.keys(e).forEach(r=>{try{e[r]=null}catch{}try{delete e[r]}catch{}})}function sl(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Wn(){return Date.now()}function lq(t){const e=ar();let r;return e.getComputedStyle&&(r=e.getComputedStyle(t,null)),!r&&t.currentStyle&&(r=t.currentStyle),r||(r=t.style),r}function Wv(t,e){e===void 0&&(e="x");const r=ar();let n,i,o;const u=lq(t);return r.WebKitCSSMatrix?(i=u.transform||u.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(c=>c.replace(",",".")).join(", ")),o=new r.WebKitCSSMatrix(i==="none"?"":i)):(o=u.MozTransform||u.OTransform||u.MsTransform||u.msTransform||u.transform||u.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),e==="x"&&(r.WebKitCSSMatrix?i=o.m41:n.length===16?i=parseFloat(n[12]):i=parseFloat(n[4])),e==="y"&&(r.WebKitCSSMatrix?i=o.m42:n.length===16?i=parseFloat(n[13]):i=parseFloat(n[5])),i||0}function Ru(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function uq(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Dn(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){const n=r<0||arguments.length<=r?void 0:arguments[r];if(n!=null&&!uq(n)){const i=Object.keys(Object(n)).filter(o=>e.indexOf(o)<0);for(let o=0,u=i.length;o<u;o+=1){const c=i[o],f=Object.getOwnPropertyDescriptor(n,c);f!==void 0&&f.enumerable&&(Ru(t[c])&&Ru(n[c])?n[c].__swiper__?t[c]=n[c]:Dn(t[c],n[c]):!Ru(t[c])&&Ru(n[c])?(t[c]={},n[c].__swiper__?t[c]=n[c]:Dn(t[c],n[c])):t[c]=n[c])}}}return t}function Au(t,e,r){t.style.setProperty(e,r)}function EM(t){let{swiper:e,targetPosition:r,side:n}=t;const i=ar(),o=-e.translate;let u=null,c;const f=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const d=r>o?"next":"prev",p=(g,y)=>d==="next"&&g>=y||d==="prev"&&g<=y,m=()=>{c=new Date().getTime(),u===null&&(u=c);const g=Math.max(Math.min((c-u)/f,1),0),y=.5-Math.cos(g*Math.PI)/2;let v=o+y*(r-o);if(p(v,r)&&(v=r),e.wrapperEl.scrollTo({[n]:v}),p(v,r)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:v})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(m)};m()}function Ks(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function $r(t,e){e===void 0&&(e="");const r=ar(),n=[...t.children];return r.HTMLSlotElement&&t instanceof HTMLSlotElement&&n.push(...t.assignedElements()),e?n.filter(i=>i.matches(e)):n}function cq(t,e){const r=[e];for(;r.length>0;){const n=r.shift();if(t===n)return!0;r.push(...n.children,...n.shadowRoot?n.shadowRoot.children:[],...n.assignedElements?n.assignedElements():[])}}function dq(t,e){const r=ar();let n=e.contains(t);return!n&&r.HTMLSlotElement&&e instanceof HTMLSlotElement&&(n=[...e.assignedElements()].includes(t),n||(n=cq(t,e))),n}function Lf(t){try{console.warn(t);return}catch{}}function kn(t,e){e===void 0&&(e=[]);const r=document.createElement(t);return r.classList.add(...Array.isArray(e)?e:Ji(e)),r}function Nf(t){const e=ar(),r=kr(),n=t.getBoundingClientRect(),i=r.body,o=t.clientTop||i.clientTop||0,u=t.clientLeft||i.clientLeft||0,c=t===e?e.scrollY:t.scrollTop,f=t===e?e.scrollX:t.scrollLeft;return{top:n.top+c-o,left:n.left+f-u}}function fq(t,e){const r=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function hq(t,e){const r=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&r.push(n):r.push(n),t=n}return r}function ss(t,e){return ar().getComputedStyle(t,null).getPropertyValue(e)}function Gu(t){let e=t,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function Hs(t,e){const r=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&r.push(n):r.push(n),n=n.parentElement;return r}function zu(t,e){function r(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",r))}e&&t.addEventListener("transitionend",r)}function Kv(t,e,r){const n=ar();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function lt(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Th(t){return e=>Math.abs(e)>0&&t.browser&&t.browser.need3dFix&&Math.abs(e)%90===0?e+.001:e}function Qn(t,e){e===void 0&&(e=""),typeof trustedTypes<"u"?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:r=>r}).createHTML(e):t.innerHTML=e}let sv;
80function pq(){const t=ar(),e=kr();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function xM(){return sv||(sv=pq()),sv}let ov;function mq(t){let{userAgent:e}=t===void 0?{}:t;const r=xM(),n=ar(),i=n.navigator.platform,o=e||n.navigator.userAgent,u={ios:!1,android:!1},c=n.screen.width,f=n.screen.height,d=o.match(/(Android);?[\s\/]+([\d.]+)?/);let p=o.match(/(iPad).*OS\s([\d_]+)/);const m=o.match(/(iPod)(.*OS\s([\d_]+))?/),g=!p&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),y=i==="Win32";let v=i==="MacIntel";const w=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!p&&v&&r.touch&&w.indexOf(`${c}x${f}`)>=0&&(p=o.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),v=!1),d&&!y&&(u.os="android",u.android=!0),(p||g||m)&&(u.os="ios",u.ios=!0),u}function _M(t){return t===void 0&&(t={}),ov||(ov=mq(t)),ov}let lv;function gq(){const t=ar(),e=_M();let r=!1;function n(){const c=t.navigator.userAgent.toLowerCase();return c.indexOf("safari")>=0&&c.indexOf("chrome")<0&&c.indexOf("android")<0}if(n()){const c=String(t.navigator.userAgent);if(c.includes("Version/")){const[f,d]=c.split("Version/")[1].split(" ")[0].split(".").map(p=>Number(p));r=f<16||f===16&&d<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),o=n(),u=o||i&&e.ios;return{isSafari:r||o,needPerspectiveFix:r,need3dFix:u,isWebView:i}}function TM(){return lv||(lv=gq()),lv}function vq(t){let{swiper:e,on:r,emit:n}=t;const i=ar();let o=null,u=null;const c=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},f=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(m=>{u=i.requestAnimationFrame(()=>{const{width:g,height:y}=e;let v=g,w=y;m.forEach(E=>{let{contentBoxSize:T,contentRect:x,target:_}=E;_&&_!==e.el||(v=x?x.width:(T[0]||T).inlineSize,w=x?x.height:(T[0]||T).blockSize)}),(v!==g||w!==y)&&c()})}),o.observe(e.el))},d=()=>{u&&i.cancelAnimationFrame(u),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},p=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};r("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){f();return}i.addEventListener("resize",c),i.addEventListener("orientationchange",p)}),r("destroy",()=>{d(),i.removeEventListener("resize",c),i.removeEventListener("orientationchange",p)})}function yq(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const o=[],u=ar(),c=function(p,m){m===void 0&&(m={});const g=u.MutationObserver||u.WebkitMutationObserver,y=new g(v=>{if(e.__preventObserver__)return;if(v.length===1){i("observerUpdate",v[0]);return}const w=function(){i("observerUpdate",v[0])};u.requestAnimationFrame?u.requestAnimationFrame(w):u.setTimeout(w,0)});y.observe(p,{attributes:typeof m.attributes>"u"?!0:m.attributes,childList:e.isElement||(typeof m.childList>"u"?!0:m).childList,characterData:typeof m.characterData>"u"?!0:m.characterData}),o.push(y)},f=()=>{if(e.params.observer){if(e.params.observeParents){const p=Hs(e.hostEl);for(let m=0;m<p.length;m+=1)c(p[m])}c(e.hostEl,{childList:e.params.observeSlideChildren}),c(e.wrapperEl,{attributes:!1})}},d=()=>{o.forEach(p=>{p.disconnect()}),o.splice(0,o.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",f),n("destroy",d)}var bq={on(t,e,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const i=r?"unshift":"push";return t.split(" ").forEach(o=>{n.eventsListeners[o]||(n.eventsListeners[o]=[]),n.eventsListeners[o][i](e)}),n},once(t,e,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function i(){n.off(t,i),i.__emitterProxy&&delete i.__emitterProxy;for(var o=arguments.length,u=new Array(o),c=0;c<o;c++)u[c]=arguments[c];e.apply(n,u)}return i.__emitterProxy=e,n.on(t,i,r)},onAny(t,e){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const n=e?"unshift":"push";return r.eventsAnyListeners.indexOf(t)<0&&r.eventsAnyListeners[n](t),r},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const r=e.eventsAnyListeners.indexOf(t);return r>=0&&e.eventsAnyListeners.splice(r,1),e},off(t,e){const r=this;return!r.eventsListeners||r.destroyed||!r.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?r.eventsListeners[n]=[]:r.eventsListeners[n]&&r.eventsListeners[n].forEac
80h((i,o)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&r.eventsListeners[n].splice(o,1)})}),r},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,r,n;for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];return typeof o[0]=="string"||Array.isArray(o[0])?(e=o[0],r=o.slice(1,o.length),n=t):(e=o[0].events,r=o[0].data,n=o[0].context||t),r.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(f=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(d=>{d.apply(n,[f,...r])}),t.eventsListeners&&t.eventsListeners[f]&&t.eventsListeners[f].forEach(d=>{d.apply(n,r)})}),t}};function wq(){const t=this;let e,r;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?r=t.params.height:r=n.clientHeight,!(e===0&&t.isHorizontal()||r===0&&t.isVertical())&&(e=e-parseInt(ss(n,"padding-left")||0,10)-parseInt(ss(n,"padding-right")||0,10),r=r-parseInt(ss(n,"padding-top")||0,10)-parseInt(ss(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(r)&&(r=0),Object.assign(t,{width:e,height:r,size:t.isHorizontal()?e:r}))}function Sq(){const t=this;function e(M,P){return parseFloat(M.getPropertyValue(t.getDirectionLabel(P))||0)}const r=t.params,{wrapperEl:n,slidesEl:i,size:o,rtlTranslate:u,wrongRTL:c}=t,f=t.virtual&&r.virtual.enabled,d=f?t.virtual.slides.length:t.slides.length,p=$r(i,`.${t.params.slideClass}, swiper-slide`),m=f?t.virtual.slides.length:p.length;let g=[];const y=[],v=[];let w=r.slidesOffsetBefore;typeof w=="function"&&(w=r.slidesOffsetBefore.call(t));let E=r.slidesOffsetAfter;typeof E=="function"&&(E=r.slidesOffsetAfter.call(t));const T=t.snapGrid.length,x=t.slidesGrid.length;let _=r.spaceBetween,O=-w,k=0,L=0;if(typeof o>"u")return;typeof _=="string"&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*o:typeof _=="string"&&(_=parseFloat(_)),t.virtualSize=-_,p.forEach(M=>{u?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(Au(n,"--swiper-centered-offset-before",""),Au(n,"--swiper-centered-offset-after",""));const H=r.grid&&r.grid.rows>1&&t.grid;H?t.grid.initSlides(p):t.grid&&t.grid.unsetSlides();let C;const D=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(M=>typeof r.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M<m;M+=1){C=0;let P;if(p[M]&&(P=p[M]),H&&t.grid.updateSlide(M,P,p),!(p[M]&&ss(P,"display")==="none")){if(r.slidesPerView==="auto"){D&&(p[M].style[t.getDirectionLabel("width")]="");const U=getComputedStyle(P),I=P.style.transform,z=P.style.webkitTransform;if(I&&(P.style.transform="none"),z&&(P.style.webkitTransform="none"),r.roundLengths)C=t.isHorizontal()?Kv(P,"width"):Kv(P,"height");else{const F=e(U,"width"),R=e(U,"padding-left"),A=e(U,"padding-right"),B=e(U,"margin-left"),q=e(U,"margin-right"),K=U.getPropertyValue("box-sizing");if(K&&K==="border-box")C=F+B+q;else{const{clientWidth:$,offsetWidth:Y}=P;C=F+R+A+B+q+(Y-$)}}I&&(P.style.transform=I),z&&(P.style.webkitTransform=z),r.roundLengths&&(C=Math.floor(C))}else C=(o-(r.slidesPerView-1)*_)/r.slidesPerView,r.roundLengths&&(C=Math.floor(C)),p[M]&&(p[M].style[t.getDirectionLabel("width")]=`${C}px`);p[M]&&(p[M].swiperSlideSize=C),v.push(C),r.centeredSlides?(O=O+C/2+k/2+_,k===0&&M!==0&&(O=O-o/2-_),M===0&&(O=O-o/2-_),Math.abs(O)<1/1e3&&(O=0),r.roundLengths&&(O=Math.floor(O)),L%r.slidesPerGroup===0&&g.push(O),y.push(O)):(r.roundLengths&&(O=Math.floor(O)),(L-Math.min(t.params.slidesPerGroupSkip,L))%t.params.slidesPerGroup===0&&g.push(O),y.push(O),O=O+C+_),t.virtualSize+=C+_,k=C,L+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+E,u&&c&&(r.effect==="slide"||r.effect==="coverflow")&&(n.style.width=`${t.virtualSize+_}px`),r.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+_}px`),H&&t.grid.updateWrapperSize(C,g),!r.centeredSlides){const M=[];for(let P=0;P<g.length;P+=1){let U=g[P];r.roundLengths&&(U=Math.floor(U)),g[P]<=t.virtualSize-o&&M.push(U)}g=M,Math.floor(t.virtualSize-o)-Math.floor(g[g.length-1])>1&&g.push(t.virtualSize-o)}if(f&&r.loop){const M=v[0]+_;if(r.slidesPerGroup>1){const P=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),U=M*r.slidesPerGroup;for(let I=0;I<P;I+=1)g.push(g[g.length-1]+U)}for(let P=0;P<t.virtual.slidesBefore+t.virtual.slidesAfter;P+=1)r.slidesPerGroup===1&&g.push(g[g.length-1]+M),y.push(y[y.length-1]+M),t.virtualSize+=M}if(g.length===0&&(g=[0]),_!==0){const M=t.isHorizontal()&&u?"marginLeft":t.getDirectionLabel("marginRight");p.filter((P,U)=>
vendor: 7,920 bytes, line 80
80!r.cssMode||r.loop?!0:U!==p.length-1).forEach(P=>{P.style[M]=`${_}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let M=0;v.forEach(U=>{M+=U+(_||0)}),M-=_;const P=M>o?M-o:0;g=g.map(U=>U<=0?-w:U>P?P+E:U)}if(r.centerInsufficientSlides){let M=0;v.forEach(U=>{M+=U+(_||0)}),M-=_;const P=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(M+P<o){const U=(o-M-P)/2;g.forEach((I,z)=>{g[z]=I-U}),y.forEach((I,z)=>{y[z]=I+U})}}if(Object.assign(t,{slides:p,snapGrid:g,slidesGrid:y,slidesSizesGrid:v}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){Au(n,"--swiper-centered-offset-before",`${-g[0]}px`),Au(n,"--swiper-centered-offset-after",`${t.size/2-v[v.length-1]/2}px`);const M=-t.snapGrid[0],P=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(U=>U+M),t.slidesGrid=t.slidesGrid.map(U=>U+P)}if(m!==d&&t.emit("slidesLengthChange"),g.length!==T&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),y.length!==x&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!f&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){const M=`${r.containerModifierClass}backface-hidden`,P=t.el.classList.contains(M);m<=r.maxBackfaceHiddenSlides?P||t.el.classList.add(M):P&&t.el.classList.remove(M)}}function Eq(t){const e=this,r=[],n=e.virtual&&e.params.virtual.enabled;let i=0,o;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const u=c=>n?e.slides[e.getSlideIndexByData(c)]:e.slides[c];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(c=>{r.push(c)});else for(o=0;o<Math.ceil(e.params.slidesPerView);o+=1){const c=e.activeIndex+o;if(c>e.slides.length&&!n)break;r.push(u(c))}else r.push(u(e.activeIndex));for(o=0;o<r.length;o+=1)if(typeof r[o]<"u"){const c=r[o].offsetHeight;i=c>i?c:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function xq(){const t=this,e=t.slides,r=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-r-t.cssOverflowAdjustment()}const j2=(t,e,r)=>{e&&!t.classList.contains(r)?t.classList.add(r):!e&&t.classList.contains(r)&&t.classList.remove(r)};function _q(t){t===void 0&&(t=this&&this.translate||0);const e=this,r=e.params,{slides:n,rtlTranslate:i,snapGrid:o}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let u=-t;i&&(u=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let c=r.spaceBetween;typeof c=="string"&&c.indexOf("%")>=0?c=parseFloat(c.replace("%",""))/100*e.size:typeof c=="string"&&(c=parseFloat(c));for(let f=0;f<n.length;f+=1){const d=n[f];let p=d.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(p-=n[0].swiperSlideOffset);const m=(u+(r.centeredSlides?e.minTranslate():0)-p)/(d.swiperSlideSize+c),g=(u-o[0]+(r.centeredSlides?e.minTranslate():0)-p)/(d.swiperSlideSize+c),y=-(u-p),v=y+e.slidesSizesGrid[f],w=y>=0&&y<=e.size-e.slidesSizesGrid[f],E=y>=0&&y<e.size-1||v>1&&v<=e.size||y<=0&&v>=e.size;E&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(f)),j2(d,E,r.slideVisibleClass),j2(d,w,r.slideFullyVisibleClass),d.progress=i?-m:m,d.originalProgress=i?-g:g}}function Tq(t){const e=this;if(typeof t>"u"){const p=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*p||0}const r=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:o,isEnd:u,progressLoop:c}=e;const f=o,d=u;if(n===0)i=0,o=!0,u=!0;else{i=(t-e.minTranslate())/n;const p=Math.abs(t-e.minTranslate())<1,m=Math.abs(t-e.maxTranslate())<1;o=p||i<=0,u=m||i>=1,p&&(i=0),m&&(i=1)}if(r.loop){const p=e.getSlideIndexByData(0),m=e.getSlideIndexByData(e.slides.length-1),g=e.slidesGrid[p],y=e.slidesGrid[m],v=e.slidesGrid[e.slidesGrid.length-1],w=Math.abs(t);w>=g?c=(w-g)/v:c=(w+v-y)/v,c>1&&(c-=1)}Object.assign(e,{progress:i,progressLoop:c,isBeginning:o,isEnd:u}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&e.updateSlidesProgress(t),o&&!f&&e.emit("reachBeginning toEdge"),u&&!d&&e.emit("reachEnd toEdge"),(f&&!o||d&&!u)&&e.emit("fromEdge"),e.emit("progress",i)}const uv=(t,e,r)=>{e&&!t.classList.contains(r)?t.classList.add(r):!e&&t.classList.contains(r)&&t.classList.remove(r)};function Cq(){const t=this,{slides:e,params:r,slidesEl:n,activeIndex:i}=t,o=t.virtual&&r.virtual.enabled,u=t.grid&&r.grid&&r.grid.rows>1,c=m=>$r(n,`.${r.slideClass}${m}, swiper-slide${m}`)[0];let f,d,p;if(o)if(r.loop){let m=i-t.virtual.slidesBefore;m<0&&(m=t.virtual.slides.length+m),m>=t.virtual.slides.length&&(m-=t.virtual.slides.length),f=c(`[data-swiper-slide-index="${m}"]`)}else f=c(`[data-swiper-slide-index="${i}"]`);else u?(f=e.find(m=>m.column===i),p=e.find(m=>m.column===i+1),d=e.find(m=>m.column===i-1)):f=e[i];f&&(u||(p=hq(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!p&&(p=e[0]),d=fq(f,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(m=>{uv(m,m===f,r.slideActiveClass),uv(m,m===p,r.slideNextClass),uv(m,m===d,r.slidePrevClass)}),t.emitSlidesClasses()}const df=(t,e)=>{if(!t||t.destroyed||!t.params)return;const r=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(r());if(n){let i=n.querySelector(`.${t.params.lazyPreloaderClass}`);!i&&t.isElement&&(n.shadowRoot?i=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(i=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},cv=(t,e)=>{if(!t.slides[e])return;const r=t.slides[e].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},Qv=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const r=t.slides.length;if(!r||!e||e<0)return;e=Math.min(e,r);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),i=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const u=i,c=[u-e];c.push(...Array.from({length:e}).map((f,d)=>u+n+d)),t.slides.forEach((f,d)=>{c.includes(f.column)&&cv(t,d)});return}const o=i+n-1;if(t.params.rewind||t.params.loop)for(let u=i-e;u<=o+e;u+=1){const c=(u%r+r)%r;(c<i||c>o)&&cv(t,c)}else for(let u=Math.max(i-e,0);u<=Math.min(o+e,r-1);u+=1)u!==i&&(u>o||u<i)&&cv(t,u)};function Rq(t){const{slidesGrid:e,params:r}=t,n=t.rtlTranslate?t.translate:-t.translate;let i;for(let o=0;o<e.length;o+=1)typeof e[o+1]<"u"?n>=e[o]&&n<e[o+1]-(e[o+1]-e[o])/2?i=o:n>=e[o]&&n<e[o+1]&&(i=o+1):n>=e[o]&&(i=o);return r.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function Aq(t){const e=this,r=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:i,activeIndex:o,realIndex:u,snapIndex:c}=e;let f=t,d;const p=y=>{let v=y-e.virtual.slidesBefore;return v<0&&(v=e.virtual.slides.length+v),v>=e.virtual.slides.length&&(v-=e.virtual.slides.length),v};if(typeof f>"u"&&(f=Rq(e)),n.indexOf(r)>=0)d=n.indexOf(r);else{const y=Math.min(i.slidesPerGroupSkip,f);d=y+Math.floor((f-y)/i.slidesPerGroup)}if(d>=n.length&&(d=n.length-1),f===o&&!e.params.loop){d!==c&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(f===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=p(f);return}const m=e.grid&&i.grid&&i.grid.rows>1;let g;if(e.virtual&&i.virtual.enabled&&i.loop)g=p(f);else if(m){const y=e.slides.find(w=>w.column===f);let v=parseInt(y.getAttribute("data-swiper-slide-index"),10);Number.isNaN(v)&&(v=Math.max(e.slides.indexOf(y),0)),g=Math.floor(v/i.grid.rows)}else if(e.slides[f]){const y=e.slides[f].getAttribute("data-swiper-slide-index");y?g=parseInt(y,10):g=f}else g=f;Object.assign(e,{previousSnapIndex:c,snapIndex:d,previousRealIndex:u,realIndex:g,previousIndex:o,activeIndex:f}),e.initialized&&Qv(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(u!==g&&e.emit("realIndexChange"),e.emit("slideChange"))}function Oq(t,e){const r=this,n=r.params;let i=t.closest(`.${n.slideClass}, swiper-slide`);!i&&r.isElement&&e&&e.length>
vendor: 11,743 bytes, line 80
801&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(c=>{!i&&c.matches&&c.matches(`.${n.slideClass}, swiper-slide`)&&(i=c)});let o=!1,u;if(i){for(let c=0;c<r.slides.length;c+=1)if(r.slides[c]===i){o=!0,u=c;break}}if(i&&o)r.clickedSlide=i,r.virtual&&r.params.virtual.enabled?r.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):r.clickedIndex=u;else{r.clickedSlide=void 0,r.clickedIndex=void 0;return}n.slideToClickedSlide&&r.clickedIndex!==void 0&&r.clickedIndex!==r.activeIndex&&r.slideToClickedSlide()}var Mq={updateSize:wq,updateSlides:Sq,updateAutoHeight:Eq,updateSlidesOffset:xq,updateSlidesProgress:_q,updateProgress:Tq,updateSlidesClasses:Cq,updateActiveIndex:Aq,updateClickedSlide:Oq};function Dq(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:r,rtlTranslate:n,translate:i,wrapperEl:o}=e;if(r.virtualTranslate)return n?-i:i;if(r.cssMode)return i;let u=Wv(o,t);return u+=e.cssOverflowAdjustment(),n&&(u=-u),u||0}function kq(t,e){const r=this,{rtlTranslate:n,params:i,wrapperEl:o,progress:u}=r;let c=0,f=0;const d=0;r.isHorizontal()?c=n?-t:t:f=t,i.roundLengths&&(c=Math.floor(c),f=Math.floor(f)),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?c:f,i.cssMode?o[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-c:-f:i.virtualTranslate||(r.isHorizontal()?c-=r.cssOverflowAdjustment():f-=r.cssOverflowAdjustment(),o.style.transform=`translate3d(${c}px, ${f}px, ${d}px)`);let p;const m=r.maxTranslate()-r.minTranslate();m===0?p=0:p=(t-r.minTranslate())/m,p!==u&&r.updateProgress(t),r.emit("setTranslate",r.translate,e)}function Lq(){return-this.snapGrid[0]}function Nq(){return-this.snapGrid[this.snapGrid.length-1]}function Pq(t,e,r,n,i){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),r===void 0&&(r=!0),n===void 0&&(n=!0);const o=this,{params:u,wrapperEl:c}=o;if(o.animating&&u.preventInteractionOnTransition)return!1;const f=o.minTranslate(),d=o.maxTranslate();let p;if(n&&t>f?p=f:n&&t<d?p=d:p=t,o.updateProgress(p),u.cssMode){const m=o.isHorizontal();if(e===0)c[m?"scrollLeft":"scrollTop"]=-p;else{if(!o.support.smoothScroll)return EM({swiper:o,targetPosition:-p,side:m?"left":"top"}),!0;c.scrollTo({[m?"left":"top"]:-p,behavior:"smooth"})}return!0}return e===0?(o.setTransition(0),o.setTranslate(p),r&&(o.emit("beforeTransitionStart",e,i),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(p),r&&(o.emit("beforeTransitionStart",e,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(g){!o||o.destroyed||g.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,r&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}var zq={getTranslate:Dq,setTranslate:kq,minTranslate:Lq,maxTranslate:Nq,translateTo:Pq};function jq(t,e){const r=this;r.params.cssMode||(r.wrapperEl.style.transitionDuration=`${t}ms`,r.wrapperEl.style.transitionDelay=t===0?"0ms":""),r.emit("setTransition",t,e)}function CM(t){let{swiper:e,runCallbacks:r,direction:n,step:i}=t;const{activeIndex:o,previousIndex:u}=e;let c=n;c||(o>u?c="next":o<u?c="prev":c="reset"),e.emit(`transition${i}`),r&&c==="reset"?e.emit(`slideResetTransition${i}`):r&&o!==u&&(e.emit(`slideChangeTransition${i}`),c==="next"?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`))}function Iq(t,e){t===void 0&&(t=!0);const r=this,{params:n}=r;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),CM({swiper:r,runCallbacks:t,direction:e,step:"Start"}))}function Uq(t,e){t===void 0&&(t=!0);const r=this,{params:n}=r;r.animating=!1,!n.cssMode&&(r.setTransition(0),CM({swiper:r,runCallbacks:t,direction:e,step:"End"}))}var $q={setTransition:jq,transitionStart:Iq,transitionEnd:Uq};function Hq(t,e,r,n,i){t===void 0&&(t=0),r===void 0&&(r=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;let u=t;u<0&&(u=0);const{params:c,snapGrid:f,slidesGrid:d,previousIndex:p,activeIndex:m,rtlTranslate:g,wrapperEl:y,enabled:v}=o;if(!v&&!n&&!i||o.destroyed||o.animating&&c.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=o.params.speed);const w=Math.min(o.params.slidesPerGroupSkip,u);let E=w+Math.floor((u-w)/o.params.slidesPerGroup);E>=f.length&&(E=f.length-1);const T=-f[E];if(c.normalizeSlideIndex)for(let H=0;H<d.length;H+=1){const C=-Math.floor(T*100),D=Math.floor(d[H]*100),M=Math.floor(d[H+1]*100);typeof d[H+1]<"u"?C>=D&&C<M-(M-D)/2?u=H:C>=D&&C<M&&(u=H+1):C>=D&&(u=H)}if(o.initialized&&u!==m&&(!o.allowSlideNext&&(g?T>o.translate&&T>o.minTranslate():T<o.translate&&T<o.minTranslate())||!o.allowSlidePrev&&T>o.translate&&T>o.maxTranslate()&&(m||0)!==u))return!1;u!==(p||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(T);let x;u>m?x="next":u<m?x="prev":x="reset";const _=o.virtual&&o.params.virtual.enabled;if(!(_&&i)&&(g&&-T===o.translate||!g&&T===o.translate))return o.updateActiveIndex(u),c.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),c.effect!=="slide"&&o.setTranslate(T),x!=="reset"&&(o.transitionStart(r,x),o.transitionEnd(r,x)),!1;if(c.cssMode){const H=o.isHorizontal(),C=g?T:-T;if(e===0)_&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),_&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{y[H?"scrollLeft":"scrollTop"]=C})):y[H?"scrollLeft":"scrollTop"]=C,_&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return EM({swiper:o,targetPosition:C,side:H?"left":"top"}),!0;y.scrollTo({[H?"left":"top"]:C,behavior:"smooth"})}return!0}const L=TM().isSafari;return _&&!i&&L&&o.isElement&&o.virtual.update(!1,!1,u),o.setTransition(e),o.setTranslate(T),o.updateActiveIndex(u),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,n),o.transitionStart(r,x),e===0?o.transitionEnd(r,x):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(C){!o||o.destroyed||C.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,x))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function Bq(t,e,r,n){t===void 0&&(t=0),r===void 0&&(r=!0),typeof t=="string"&&(t=parseInt(t,10));const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);const o=i.grid&&i.params.grid&&i.params.grid.rows>1;let u=t;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)u=u+i.virtual.slidesBefore;else{let c;if(o){const g=u*i.params.grid.rows;c=i.slides.find(y=>y.getAttribute("data-swiper-slide-index")*1===g).column}else c=i.getSlideIndexByData(u);const f=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:d}=i.params;let p=i.params.slidesPerView;p==="auto"?p=i.slidesPerViewDynamic():(p=Math.ceil(parseFloat(i.params.slidesPerView,10)),d&&p%2===0&&(p=p+1));let m=f-c<p;if(d&&(m=m||c<Math.ceil(p/2)),n&&d&&i.params.slidesPerView!=="auto"&&!o&&(m=!1),m){const g=d?c<i.activeIndex?"prev":"next":c-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:g,slideTo:!0,activeSlideIndex:g==="next"?c+1:c-f+1,slideRealIndex:g==="next"?i.realIndex:void 0})}if(o){const g=u*i.params.grid.rows;u=i.slides.find(y=>y.getAttribute("data-swiper-slide-index")*1===g).column}else u=i.getSlideIndexByData(u)}return requestAnimationFrame(()=>{i.slideTo(u,e,r,n)}),i}function Fq(t,e,r){e===void 0&&(e=!0);const n=this,{enabled:i,params:o,animating:u}=n;if(!i||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let c=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(c=Math.max(n.slidesPerViewDynamic("current",!0),1));const f=n.activeIndex<o.slidesPerGroupSkip?1:c,d=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!d&&o.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+f,t,e,r)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,t,e,r):n.slideTo(n.activeIndex+f,t,e,r)}function qq(t,e,r){e===void 0&&(e=!0);const n=this,{params:i,snapGrid:o,slidesGrid:u,rtlTranslate:c,enabled:f,animating:d}=n;if(!f||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const p=n.virtual&&i.virtual.enabled;if(i.loop){if(d&&!p&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const m=c?n.translate:-n.translate;function g(x){return x<0?-Math.floor(Math.abs(x)):Math.floor(x)}const y=g(m),v=o.map(x=>g(x)),w=i.freeMode&&i.freeMode.enabled;let E=o[v.indexOf(y)-1];if(typeof E>"u"&&(i.cssMode||w)){let x;o.forEach((_,O)=>{y>=_&&(x=O)}),typeof x<"u"&&(E=w?o[x]:o[x>0?x-1:x])}let T=0;if(typeof E<"u"&&(T=u.indexOf(E),T<0&&(T=n.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(T=T-n.slidesPerViewDynamic("previous",!0)+1,T=Math.max(T,0))),i.rewind&&n.isBeginning){const x=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(x,t,e,r)}else if(i.loop&&n.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{n.slideTo(T,t,e,r)}),!0;return n.slideTo(T,t,e,r)}function Yq(t,e,r){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,r)}function Vq(t,e,r,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const i=this;if(i.destroyed)return;typeof t>"u"&&(t=i.params.speed);let o=i.activeIndex;const u=Math.min(i.params.slidesPerGroupSkip,o),c=u+Math.floor((o-u)/i.params.slidesPerGroup),f=i.rtlTranslate?i.translate:-i.translate;if(f>=i.snapGrid[c]){const d=i.snapGrid[c],p=i.snapGrid[c+1];f-d>(p-d)*n&&(o+=i.params.slidesPerGroup)}else{const d=i.snapGrid[c-1],p=i.snapGrid[c];f-d<=(p-d)*n&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,t,e,r)}function Gq(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:r}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let i=t.getSlideIndexWhenGrid(t.clickedIndex),o;const u=t.isElement?"swiper-slide":`.${e.slideClass}`,c=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;o=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(o):i>(c?(t.slides.length-n)/2-(t.params.grid.rows-1):t.slides.length-n)?(t.loopFix(),i=t.getSlideIndex($r(r,`${u}[data-swiper-slide-index="${o}"]`)[0]),sl(()=>{t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}var Xq={slideTo:Hq,slideToLoop:Bq,slideNext:Fq,slidePrev:qq,slideReset:Yq,slideToClosest:Vq,slideToClickedSlide:Gq};function Wq(t,e){const r=this,{params:n,slidesEl:i}=r;if(!n.loop||r.virtual&&r.params.virtual.enabled)return;const o=()=>{$r(i,`.${n.slideClass}, swiper-slide`).forEach((y,v)=>{y.setAttribute("data-swiper-slide-index",v)})},u=()=>{const g=$r(i,`.${n.slideBlankClass}`);g.forEach(y=>{y.remove()}),g.length>0&&(r.recalcSlides(),r.updateSlides())},c=r.grid&&n.grid&&n.grid.rows>1;n.loopAddBlankSlides&&(n.slidesPerGroup>1||c)&&u();const f=n.slidesPerGroup*(c?n.grid.rows:1),d=r.slides.length%f!==0,p=c&&r.slides.length%n.grid.rows!==0,m=g=>{for(let y=0;y<g;y+=1){const v=r.isElement?kn("swiper-slide",[n.slideBlankClass]):kn("div",[n.slideClass,n.slideBlankClass]);r.slidesEl.append(v)}};if(d){if(n.loopAddBlankSlides){const g=f-r.slides.length%f;m(g),r.recalcSlides(),r.updateSlides()}else Lf("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may
80not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(p){if(n.loopAddBlankSlides){const g=n.grid.rows-r.slides.length%n.grid.rows;m(g),r.recalcSlides(),r.updateSlides()}else Lf("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();r.loopFix({slideRealIndex:t,direction:n.centeredSlides?void 0:"next",initial:e})}function Kq(t){let{slideRealIndex:e,slideTo:r=!0,direction:n,setTranslate:i,activeSlideIndex:o,initial:u,byController:c,byMousewheel:f}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:p,allowSlidePrev:m,allowSlideNext:g,slidesEl:y,params:v}=d,{centeredSlides:w,initialSlide:E}=v;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&v.virtual.enabled){r&&(!v.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):v.centeredSlides&&d.snapIndex<v.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=m,d.allowSlideNext=g,d.emit("loopFix");return}let T=v.slidesPerView;T==="auto"?T=d.slidesPerViewDynamic():(T=Math.ceil(parseFloat(v.slidesPerView,10)),w&&T%2===0&&(T=T+1));const x=v.slidesPerGroupAuto?T:v.slidesPerGroup;let _=w?Math.max(x,Math.ceil(T/2)):x;_%x!==0&&(_+=x-_%x),_+=v.loopAdditionalSlides,d.loopedSlides=_;const O=d.grid&&v.grid&&v.grid.rows>1;p.length<T+_||d.params.effect==="cards"&&p.length<T+_*2?Lf("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):O&&v.grid.fill==="row"&&Lf("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const k=[],L=[],H=O?Math.ceil(p.length/v.grid.rows):p.length,C=u&&H-E<T&&!w;let D=C?E:d.activeIndex;typeof o>"u"?o=d.getSlideIndex(p.find(R=>R.classList.contains(v.slideActiveClass))):D=o;const M=n==="next"||!n,P=n==="prev"||!n;let U=0,I=0;const F=(O?p[o].column:o)+(w&&typeof i>"u"?-T/2+.5:0);if(F<_){U=Math.max(_-F,x);for(let R=0;R<_-F;R+=1){const A=R-Math.floor(R/H)*H;if(O){const B=H-A-1;for(let q=p.length-1;q>=0;q-=1)p[q].column===B&&k.push(q)}else k.push(H-A-1)}}else if(F+T>H-_){I=Math.max(F-(H-_*2),x),C&&(I=Math.max(I,T-H+E+1));for(let R=0;R<I;R+=1){const A=R-Math.floor(R/H)*H;O?p.forEach((B,q)=>{B.column===A&&L.push(q)}):L.push(A)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),d.params.effect==="cards"&&p.length<T+_*2&&(L.includes(o)&&L.splice(L.indexOf(o),1),k.includes(o)&&k.splice(k.indexOf(o),1)),P&&k.forEach(R=>{p[R].swiperLoopMoveDOM=!0,y.prepend(p[R]),p[R].swiperLoopMoveDOM=!1}),M&&L.forEach(R=>{p[R].swiperLoopMoveDOM=!0,y.append(p[R]),p[R].swiperLoopMoveDOM=!1}),d.recalcSlides(),v.slidesPerView==="auto"?d.updateSlides():O&&(k.length>0&&P||L.length>0&&M)&&d.slides.forEach((R,A)=>{d.grid.updateSlide(A,R,d.slides)}),v.watchSlidesProgress&&d.updateSlidesOffset(),r){if(k.length>0&&P){if(typeof e>"u"){const R=d.slidesGrid[D],B=d.slidesGrid[D+U]-R;f?d.setTranslate(d.translate-B):(d.slideTo(D+Math.ceil(U),0,!1,!0),i&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-B,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-B))}else if(i){const R=O?k.length/v.grid.rows:k.length;d.slideTo(d.activeIndex+R,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(L.length>0&&M)if(typeof e>"u"){const R=d.slidesGrid[D],B=d.slidesGrid[D-I]-R;f?d.setTranslate(d.translate-B):(d.slideTo(D-I,0,!1,!0),i&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-B,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-B))}else{const R=O?L.length/v.grid.rows:L.length;d.slideTo(d.activeIndex-R,0,!1,!0)}}if(d.allowSlidePrev=m,d.allowSlideNext=g,d.controller&&d.controller.control&&!c){const R={slideRealIndex:e,direction:n,setTranslate:i,activeSlideIndex:o,b
vendor: 5,714 bytes, line 80
80yController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(A=>{!A.destroyed&&A.params.loop&&A.loopFix({...R,slideTo:A.params.slidesPerView===v.slidesPerView?r:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...R,slideTo:d.controller.control.params.slidesPerView===v.slidesPerView?r:!1})}d.emit("loopFix")}function Qq(){const t=this,{params:e,slidesEl:r}=t;if(!e.loop||!r||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(i=>{const o=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;n[o]=i}),t.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),n.forEach(i=>{r.append(i)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Zq={loopCreate:Wq,loopFix:Kq,loopDestroy:Qq};function Jq(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const r=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function eY(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var tY={setGrabCursor:Jq,unsetGrabCursor:eY};function rY(t,e){e===void 0&&(e=this);function r(n){if(!n||n===kr()||n===ar())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(t);return!i&&!n.getRootNode?null:i||r(n.getRootNode().host)}return r(e)}function I2(t,e,r){const n=ar(),{params:i}=t,o=i.edgeSwipeDetection,u=i.edgeSwipeThreshold;return o&&(r<=u||r>=n.innerWidth-u)?o==="prevent"?(e.preventDefault(),!0):!1:!0}function nY(t){const e=this,r=kr();let n=t;n.originalEvent&&(n=n.originalEvent);const i=e.touchEventsData;if(n.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(i.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){I2(e,n,n.targetTouches[0].pageX);return}const{params:o,touches:u,enabled:c}=e;if(!c||!o.simulateTouch&&n.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let f=n.target;if(o.touchEventsTarget==="wrapper"&&!dq(f,e.wrapperEl)||"which"in n&&n.which===3||"button"in n&&n.button>0||i.isTouched&&i.isMoved)return;const d=!!o.noSwipingClass&&o.noSwipingClass!=="",p=n.composedPath?n.composedPath():n.path;d&&n.target&&n.target.shadowRoot&&p&&(f=p[0]);const m=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,g=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(g?rY(m,f):f.closest(m))){e.allowClick=!0;return}if(o.swipeHandler&&!f.closest(o.swipeHandler))return;u.currentX=n.pageX,u.currentY=n.pageY;const y=u.currentX,v=u.currentY;if(!I2(e,n,y))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),u.startX=y,u.startY=v,i.touchStartTime=Wn(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let w=!0;f.matches(i.focusableElements)&&(w=!1,f.nodeName==="SELECT"&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==f&&(n.pointerType==="mouse"||n.pointerType!=="mouse"&&!f.matches(i.focusableElements))&&r.activeElement.blur();const E=w&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||E)&&!f.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function aY(t){const e=kr(),r=this,n=r.touchEventsData,{params:i,touches:o,rtlTranslate:u,enabled:c}=r;if(!c||!i.simulateTouch&&t.pointerType==="mouse")return;let f=t;if(f.originalEvent&&(f=f.originalEvent),f.type==="pointermove"&&(n.touchId!==null||f.pointerId!==n.pointerId))return;let d;if(f.type==="touchmove"){if(d=[...f.changedTouches].find(k=>k.identifier===n.touchId),!d||d.identifier!==n.touchId)return}else d=f;if(!n.isTouched){n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",f);return}const p=d.pageX,m=d.pageY;if(f.preventedByNestedSwiper){o.startX=p,o.startY=m;return}if(!r.allowTouchMove){f.target.matches(n.focusableElements)||(r.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:p,startY:m,currentX:p,currentY:m}),n.touchStartTime=Wn());return}if(i.touchReleaseOnEdges&&!i.loop)if(r.isVertical()){if(m<o.startY&&r.translate<=r.maxTranslate()||m>o.startY&&r.translate>=r.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else{if(u&&(p>o.startX&&-r.translate<=r.maxTranslate()||p<o.startX&&-r.translate>=r.minTranslate()))return;if(!u&&(p<o.startX&&r.translate<=r.maxTranslate()||p>o.startX&&r.translate>=r.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(n.focusableElements)&&e.activeElement!==f.target&&f.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&f.target===e.activeElement&&f.target.matches(n.focusableElements)){n.isMoved=!0,r.allowClick=!1;return}n.allowTouchCallbacks&&r.emit("touchMove",f),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=p,o.currentY=m;const g=o.currentX-o.startX,y=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(g**2+y**2)<r.params.threshold)return;if(typeof n.isScrolling>"u"){let k;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:g*g+y*y>=25&&(k=Math.atan2(Math.abs(y),Math.abs(g))*180/Math.PI,n.isScrolling=r.isH
vendor: 4,111 bytes, line 80
80orizontal()?k>i.touchAngle:90-k>i.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",f),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling||f.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;r.allowClick=!1,!i.cssMode&&f.cancelable&&f.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&f.stopPropagation();let v=r.isHorizontal()?g:y,w=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(v=Math.abs(v)*(u?1:-1),w=Math.abs(w)*(u?1:-1)),o.diff=v,v*=i.touchRatio,u&&(v=-v,w=-w);const E=r.touchesDirection;r.swipeDirection=v>0?"prev":"next",r.touchesDirection=w>0?"prev":"next";const T=r.params.loop&&!i.cssMode,x=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(T&&x&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const k=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});r.wrapperEl.dispatchEvent(k)}n.allowMomentumBounce=!1,i.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",f)}if(new Date().getTime(),i._loopSwapReset!==!1&&n.isMoved&&n.allowThresholdMove&&E!==r.touchesDirection&&T&&x&&Math.abs(v)>=1){Object.assign(o,{startX:p,startY:m,currentX:p,currentY:m,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}r.emit("sliderMove",f),n.isMoved=!0,n.currentTranslate=v+n.startTranslate;let _=!0,O=i.resistanceRatio;if(i.touchReleaseOnEdges&&(O=0),v>0?(T&&x&&n.allowThresholdMove&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]-(i.slidesPerView!=="auto"&&r.slides.length-i.slidesPerView>=2?r.slidesSizesGrid[r.activeIndex+1]+r.params.spaceBetween:0)-r.params.spaceBetween:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(_=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+v)**O))):v<0&&(T&&x&&n.allowThresholdMove&&n.currentTranslate<(i.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween+(i.slidesPerView!=="auto"&&r.slides.length-i.slidesPerView>=2?r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween:0):r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-(i.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),n.currentTranslate<r.maxTranslate()&&(_=!1,i.resistance&&(n.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-n.startTranslate-v)**O))),_&&(f.preventedByNestedSwiper=!0),!r.allowSlideNext&&r.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&r.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&!r.allowSlideNext&&(n.currentTranslate=n.startTranslate),i.threshold>0)if(Math.abs(v)>i.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{n.currentTranslate=n.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function iY(t){const e=this,r=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let i;if(n.type==="touchend"||n.type==="touchcancel"){if(i=[...n.changedTouches].find(k=>k.identifier===r.touchId),!i||i.identifier!==r.touchId)return}else{if(r.touchId!==null||n.pointerId!==r.pointerId)return;i=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.t
vendor: 7,494 bytes, line 80
80ype)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;r.pointerId=null,r.touchId=null;const{params:u,touches:c,rtlTranslate:f,slidesGrid:d,enabled:p}=e;if(!p||!u.simulateTouch&&n.pointerType==="mouse")return;if(r.allowTouchCallbacks&&e.emit("touchEnd",n),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&u.grabCursor&&e.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}u.grabCursor&&r.isMoved&&r.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const m=Wn(),g=m-r.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),g<300&&m-r.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(r.lastClickTime=Wn(),sl(()=>{e.destroyed||(e.allowClick=!0)}),!r.isTouched||!r.isMoved||!e.swipeDirection||c.diff===0&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;let y;if(u.followFinger?y=f?e.translate:-e.translate:y=-r.currentTranslate,u.cssMode)return;if(u.freeMode&&u.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:y});return}const v=y>=-e.maxTranslate()&&!e.params.loop;let w=0,E=e.slidesSizesGrid[0];for(let k=0;k<d.length;k+=k<u.slidesPerGroupSkip?1:u.slidesPerGroup){const L=k<u.slidesPerGroupSkip-1?1:u.slidesPerGroup;typeof d[k+L]<"u"?(v||y>=d[k]&&y<d[k+L])&&(w=k,E=d[k+L]-d[k]):(v||y>=d[k])&&(w=k,E=d[d.length-1]-d[d.length-2])}let T=null,x=null;u.rewind&&(e.isBeginning?x=u.virtual&&u.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(T=0));const _=(y-d[w])/E,O=w<u.slidesPerGroupSkip-1?1:u.slidesPerGroup;if(g>u.longSwipesMs){if(!u.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(_>=u.longSwipesRatio?e.slideTo(u.rewind&&e.isEnd?T:w+O):e.slideTo(w)),e.swipeDirection==="prev"&&(_>1-u.longSwipesRatio?e.slideTo(w+O):x!==null&&_<0&&Math.abs(_)>u.longSwipesRatio?e.slideTo(x):e.slideTo(w))}else{if(!u.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(w+O):e.slideTo(w):(e.swipeDirection==="next"&&e.slideTo(T!==null?T:w+O),e.swipeDirection==="prev"&&e.slideTo(x!==null?x:w))}}function U2(){const t=this,{params:e,el:r}=t;if(r&&r.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:o}=t,u=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const c=u&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!c?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!u?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=i,t.allowSlideNext=n,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}function sY(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function oY(){const t=this,{wrapperEl:e,rtlTranslate:r,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let i;const o=t.maxTranslate()-t.minTranslate();o===0?i=0:i=(t.translate-t.minTranslate())/o,i!==t.progress&&t.updateProgress(r?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function lY(t){const e=this;df(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function uY(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const RM=(t,e)=>{const r=kr(),{params:n,el:i,wrapperEl:o,device:u}=t,c=!!n.nested,f=e==="on"?"addEventListener":"removeEventListener",d=e;!i||typeof i=="string"||(r[f]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:c}),i[f]("touchstart",t.onTouchStart,{passive:!1}),i[f]("pointerdown",t.onTouchStart,{passive:!1}),r[f]("touchmove",t.onTouchMove,{passive:!1,capture:c}),r[f]("pointermove",t.onTouchMove,{passive:!1,capture:c}),r[f]("touchend",t.onTouchEnd,{passive:!0}),r[f]("pointerup",t.onTouchEnd,{passive:!0}),r[f]("pointercancel",t.onTouchEnd,{passive:!0}),r[f]("touchcancel",t.onTouchEnd,{passive:!0}),r[f]("pointerout",t.onTouchEnd,{passive:!0}),r[f]("pointerleave",t.onTouchEnd,{passive:!0}),r[f]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[f]("click",t.onClick,!0),n.cssMode&&o[f]("scroll",t.onScroll),n.updateOnWindowResize?t[d](u.ios||u.android?"resize orientationchange observerUpdate":"resize observerUpdate",U2,!0):t[d]("observerUpdate",U2,!0),i[f]("load",t.onLoad,{capture:!0}))};function cY(){const t=this,{params:e}=t;t.onTouchStart=nY.bind(t),t.onTouchMove=aY.bind(t),t.onTouchEnd=iY.bind(t),t.onDocumentTouchStart=uY.bind(t),e.cssMode&&(t.onScroll=oY.bind(t)),t.onClick=sY.bind(t),t.onLoad=lY.bind(t),RM(t,"on")}function dY(){RM(this,"off")}var fY={attachEvents:cY,detachEvents:dY};const $2=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function hY(){const t=this,{realIndex:e,initialized:r,params:n,el:i}=t,o=n.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const u=kr(),c=n.breakpointsBase==="window"||!n.breakpointsBase?n.breakpointsBase:"container",f=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?t.el:u.querySelector(n.breakpointsBase),d=t.getBreakpoint(o,c,f);if(!d||t.currentBreakpoint===d)return;const m=(d in o?o[d]:void 0)||t.originalParams,g=$2(t,n),y=$2(t,m),v=t.params.grabCursor,w=m.grabCursor,E=n.enabled;g&&!y?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!g&&y&&(i.classList.add(`${n.containerModifierClass}grid`),(m.grid.fill&&m.grid.fill==="column"||!m.grid.fill&&n.grid.fill==="column")&&i.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),v&&!w?t.unsetGrabCursor():!v&&w&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(L=>{if(typeof m[L]>"u")return;const H=n[L]&&n[L].enabled,C=m[L]&&m[L].enabled;H&&!C&&t[L].disable(),!H&&C&&t[L].enable()});const T=m.direction&&m.direction!==n.direction,x=n.loop&&(m.slidesPerView!==n.slidesPerView||T),_=n.loop;T&&r&&t.changeDirection(),Dn(t.params,m);const O=t.params.enabled,k=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),E&&!O?t.disable():!E&&O&&t.enable(),t.currentBreakpoint=d,t.emit("_beforeBreakpoint",m),r&&(x?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!_&&k?(t.loopCreate(e),t.updateSlides()):_&&!k&&t.loopDestroy()),t.emit("breakpoint",m)}function pY(t,e,r){if(e===void 0&&(e="window"),!t||e==="container"&&!r)return;let n=!1;const i=ar(),o=e==="window"?i.innerHeight:r.clientHeight,u=Object.keys(t).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){const f=parseFloat(c.substr(1));return{value:o*f,point:c}}return{value:c,point:c}});u.sort((c,f)=>
vendor: 4,748 bytes, line 80
80parseInt(c.value,10)-parseInt(f.value,10));for(let c=0;c<u.length;c+=1){const{point:f,value:d}=u[c];e==="window"?i.matchMedia(`(min-width: ${d}px)`).matches&&(n=f):d<=r.clientWidth&&(n=f)}return n||"max"}var mY={setBreakpoint:hY,getBreakpoint:pY};function gY(t,e){const r=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(i=>{n[i]&&r.push(e+i)}):typeof n=="string"&&r.push(e+n)}),r}function vY(){const t=this,{classNames:e,params:r,rtl:n,el:i,device:o}=t,u=gY(["initialized",r.direction,{"free-mode":t.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&r.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);e.push(...u),i.classList.add(...e),t.emitContainerClasses()}function yY(){const t=this,{el:e,classNames:r}=t;!e||typeof e=="string"||(e.classList.remove(...r),t.emitContainerClasses())}var bY={addClasses:vY,removeClasses:yY};function wY(){const t=this,{isLocked:e,params:r}=t,{slidesOffsetBefore:n}=r;if(n){const i=t.slides.length-1,o=t.slidesGrid[i]+t.slidesSizesGrid[i]+n*2;t.isLocked=t.size>o}else t.isLocked=t.snapGrid.length===1;r.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),r.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var SY={checkOverflow:wY},Zv={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function EY(t,e){return function(n){n===void 0&&(n={});const i=Object.keys(n)[0],o=n[i];if(typeof o!="object"||o===null){Dn(e,n);return}if(t[i]===!0&&(t[i]={enabled:!0}),i==="navigation"&&t[i]&&t[i].enabled&&!t[i].prevEl&&!t[i].nextEl&&(t[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&t[i]&&t[i].enabled&&!t[i].el&&(t[i].auto=!0),!(i in t&&"enabled"in o)){Dn(e,n);return}typeof t[i]=="object"&&!("enabled"in t[i])&&(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),Dn(e,n)}}const dv={eventsEmitter:bq,update:Mq,translate:zq,transition:$q,slide:Xq,loop:Zq,grabCursor:tY,events:fY,breakpoints:mY,checkOverflow:SY,classes:bY},fv={};class An{constructor(){let e,r;for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];i.length===1&&i[0].constructor&&Object.prototype.toString.call(i[0]).slice(8,-1)==="Object"?r=i[0]:[e,r]=i,r||(r={}),r=Dn({},r),e&&!r.el&&(r.el=e);const u=kr();if(r.el&&typeof r.el=="string"&&u.querySelectorAll(r.el).length>1){const p=[];return u.querySelectorAll(r.el).forEach(m=>{const g=Dn({},r,{el:m});p.push(new An(g))}),p}const c=this;c.__swiper__=!0,c.support=xM(),c.device=_M({userAgent:r.userAgent}),c.browser=TM(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=[...c.__modules__],r.modules&&Array.isArray(r.modules)&&c.modules.push(...r.modules);const f={};
vendor: 5,110 bytes, line 80
80c.modules.forEach(p=>{p({params:r,swiper:c,extendParams:EY(r,f),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const d=Dn({},Zv,f);return c.params=Dn({},d,fv,r),c.originalParams=Dn({},c.params),c.passedParams=Dn({},r),c.params&&c.params.on&&Object.keys(c.params.on).forEach(p=>{c.on(p,c.params.on[p])}),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return c.params.direction==="horizontal"},isVertical(){return c.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:r,params:n}=this,i=$r(r,`.${n.slideClass}, swiper-slide`),o=Gu(i[0]);return Gu(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(r=>r.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:r,params:n}=e;e.slides=$r(r,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,r){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),u=(n.maxTranslate()-i)*e+i;n.translateTo(u,typeof r>"u"?0:r),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const r=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",r.join(" "))}getSlideClasses(e){const r=this;return r.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(r.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const r=[];e.slides.forEach(n=>{const i=e.getSlideClasses(n);r.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",r)}slidesPerViewDynamic(e,r){e===void 0&&(e="current"),r===void 0&&(r=!1);const n=this,{params:i,slides:o,slidesGrid:u,slidesSizesGrid:c,size:f,activeIndex:d}=n;let p=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let m=o[d]?Math.ceil(o[d].swiperSlideSize):0,g;for(let y=d+1;y<o.length;y+=1)o[y]&&!g&&(m+=Math.ceil(o[y].swiperSlideSize),p+=1,m>f&&(g=!0));for(let y=d-1;y>=0;y-=1)o[y]&&!g&&(m+=o[y].swiperSlideSize,p+=1,m>f&&(g=!0))}else if(e==="current")for(let m=d+1;m<o.length;m+=1)(r?u[m]+c[m]-u[d]<f:u[m]-u[d]<f)&&(p+=1);else for(let m=d-1;m>=0;m-=1)u[d]-u[m]<f&&(p+=1);return p}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:r,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(u=>{u.complete&&df(e,u)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const u=e.rtlTranslate?e.translate*-1:e.translate,c=Math.min(Math.max(u,e.maxTranslate()),e.minTranslate());e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const u=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(u.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||i()}n.watchOverflow&&r!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,r){r===void 0&&(r=!0);const n=this,i=n.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEac
vendor: 14,482 bytes, line 80
80h(o=>{e==="vertical"?o.style.width="":o.style.height=""}),n.emit("changeDirection"),r&&n.update()),n}changeLanguageDirection(e){const r=this;r.rtl&&e==="rtl"||!r.rtl&&e==="ltr"||(r.rtl=e==="rtl",r.rtlTranslate=r.params.direction==="horizontal"&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(e){const r=this;if(r.mounted)return!0;let n=e||r.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=r,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===r.params.swiperElementNodeName.toUpperCase()&&(r.isElement=!0);const i=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`;let u=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):$r(n,i())[0];return!u&&r.params.createElements&&(u=kn("div",r.params.wrapperClass),n.append(u),$r(n,`.${r.params.slideClass}`).forEach(c=>{u.append(c)})),Object.assign(r,{el:n,wrapperEl:u,slidesEl:r.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:u,hostEl:r.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||ss(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||ss(n,"direction")==="rtl"),wrongRTL:ss(u,"display")==="-webkit-box"}),!0}init(e){const r=this;if(r.initialized||r.mount(e)===!1)return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(void 0,!0),r.attachEvents();const i=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&i.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(o=>{o.complete?df(r,o):o.addEventListener("load",u=>{df(r,u.target)})}),Qv(r),r.initialized=!0,Qv(r),r.emit("init"),r.emit("afterInit"),r}destroy(e,r){e===void 0&&(e=!0),r===void 0&&(r=!0);const n=this,{params:i,el:o,wrapperEl:u,slides:c}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),r&&(n.removeClasses(),o&&typeof o!="string"&&o.removeAttribute("style"),u&&u.removeAttribute("style"),c&&c.length&&c.forEach(f=>{f.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),f.removeAttribute("style"),f.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(f=>{n.off(f)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),oq(n)),n.destroyed=!0),null}static extendDefaults(e){Dn(fv,e)}static get extendedDefaults(){return fv}static get defaults(){return Zv}static installModule(e){An.prototype.__modules__||(An.prototype.__modules__=[]);const r=An.prototype.__modules__;typeof e=="function"&&r.indexOf(e)<0&&r.push(e)}static use(e){return Array.isArray(e)?(e.forEach(r=>An.installModule(r)),An):(An.installModule(e),An)}}Object.keys(dv).forEach(t=>{Object.keys(dv[t]).forEach(e=>{An.prototype[e]=dv[t][e]})});An.use([vq,yq]);function xY(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let o;const u=kr();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const c=u.createElement("div");function f(v,w){const E=e.params.virtual;if(E.cache&&e.virtual.cache[w])return e.virtual.cache[w];let T;return E.renderSlide?(T=E.renderSlide.call(e,v,w),typeof T=="string"&&(Qn(c,T),T=c.children[0])):e.isElement?T=kn("swiper-slide"):T=kn("div",e.params.slideClass),T.setAttribute("data-swiper-slide-index",w),E.renderSlide||Qn(T,v),E.cache&&(e.virtual.cache[w]=T),T}function d(v,w,E){const{slidesPerView:T,slidesPerGroup:x,centeredSlides:_,loop:O,initialSlide:k}=e.params;if(w&&!O&&k>0)return;const{addSlidesBefore:L,addSlidesAfter:H}=e.params.virtual,{from:C,to:D,slides:M,slidesGrid:P,offset:U}=e.virtual;e.params.cssMode||e.updateActiveIndex();const I=typeof E>"u"?e.activeIndex||0:E;let z;e.rtlTranslate?z="right":z=e.isHorizontal()?"left":"top";let F,R;_?(F=Math.floor(T/2)+x+H,R=Math.floor(T/2)+x+L):(F=T+(x-1)+H,R=(O?T:x)+L);let A=I-R,B=I+F;O||(A=Math.max(A,0),B=Math.min(B,M.length-1));let q=(e.slidesGrid[A]||0)-(e.slidesGrid[0]||0);O&&I>=R?(A-=R,_||(q+=e.slidesGrid[0])):O&&I<R&&(A=-R,_&&(q+=e.slidesGrid[0])),Object.assign(e.virtual,{from:A,to:B,offset:q,slidesGrid:e.slidesGrid,slidesBefore:R,slidesAfter:F});function K(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(C===A&&D===B&&!v){e.slidesGrid!==P&&q!==U&&e.slides.forEach(Q=>{Q.style[z]=`${q-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:q,from:A,to:B,slides:(function(){const ae=[];for(let de=A;de<=B;de+=1)ae.push(M[de]);return ae})()}),e.params.virtual.renderExternalUpdate?K():i("virtualUpdate");return}const $=[],Y=[],G=Q=>{let ae=Q;return Q<0?ae=M.length+Q:ae>=M.length&&(ae=ae-M.length),ae};if(v)e.slides.filter(Q=>Q.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(Q=>{Q.remove()});else for(let Q=C;Q<=D;Q+=1)if(Q<A||Q>B){const ae=G(Q);e.slides.filter(de=>de.matches(`.${e.params.slideClass}[data-swiper-slide-index="${ae}"], swiper-slide[data-swiper-slide-index="${ae}"]`)).forEach(de=>{de.remove()})}const W=O?-M.length:0,X=O?M.length*2:M.length;for(let Q=W;Q<X;Q+=1)if(Q>=A&&Q<=B){const ae=G(Q);typeof D>"u"||v?Y.push(ae):(Q>D&&Y.push(ae),Q<C&&$.push(ae))}if(Y.forEach(Q=>{e.slidesEl.append(f(M[Q],Q))}),O)for(let Q=$.length-1;Q>=0;Q-=1){const ae=$[Q];e.slidesEl.prepend(f(M[ae],ae))}else $.sort((Q,ae)=>ae-Q),$.forEach(Q=>{e.slidesEl.prepend(f(M[Q],Q))});$r(e.slidesEl,".swiper-slide, swiper-slide").forEach(Q=>{Q.style[z]=`${q-Math.abs(e.cssOverflowAdjustment())}px`}),K()}function p(v){if(typeof v=="object"&&"length"in v)for(let w=0;w<v.length;w+=1)v[w]&&e.virtual.slides.push(v[w]);else e.virtual.slides.push(v);d(!0)}function m(v){const w=e.activeIndex;let E=w+1,T=1;if(Array.isArray(v)){for(let x=0;x<v.length;x+=1)v[x]&&e.virtual.slides.unshift(v[x]);E=w+v.length,T=v.length}else e.virtual.slides.unshift(v);if(e.params.virtual.cache){const x=e.virtual.cache,_={};Object.keys(x).forEach(O=>{const k=x[O],L=k.getAttribute("data-swiper-slide-index");L&&k.setAttribute("data-swiper-slide-index",parseInt(L,10)+T),_[parseInt(O,10)+T]=k}),e.virtual.cache=_}d(!0),e.slideTo(E,0)}function g(v){if(typeof v>"u"||v===null)return;let w=e.activeIndex;if(Array.isArray(v))for(let E=v.length-1;E>=0;E-=1)e.params.virtual.cache&&(delete e.virtual.cache[v[E]],Object.keys(e.virtual.cache).forEach(T=>{T>v&&(e.virtual.cache[T-1]=e.virtual.cache[T],e.virtual.cache[T-1].setAttribute("data-swiper-slide-index",T-1),delete e.virtual.cache[T])})),e.virtual.slides.splice(v[E],1),v[E]<w&&(w-=1),w=Math.max(w,0);else e.params.virtual.cache&&(delete e.virtual.cache[v],Object.keys(e.virtual.cache).forEach(E=>{E>v&&(e.virtual.cache[E-1]=e.virtual.cache[E],e.virtual.cache[E-1].setAttribute("data-swiper-slide-index",E-1),delete e.virtual.cache[E])})),e.virtual.slides.splice(v,1),v<w&&(w-=1),w=Math.max(w,0);d(!0),e.slideTo(w,0)}function y(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),d(!0),e.slideTo(0,0)}n("beforeInit",()=>{if(!e.params.virtual.enabled)return;let v;if(typeof e.passedParams.virtual.slides>"u"){const w=[...e.slidesEl.children].filter(E=>E.matches(`.${e.params.slideClass}, swiper-slide`));w&&w.length&&(e.virtual.slides=[...w],v=!0,w.forEach((E,T)=>{E.setAttribute("data-swiper-slide-index",T),e.virtual.cache[T]=E,E.remove()}))}v||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,d(!1,!0)}),n("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(o),o=setTimeout(()=>{d()},100)):d())}),n("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Au(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:p,prependSlide:m,removeSlide:g,removeAllSlides:y,update:d})}function _Y(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const o=kr(),u=ar();e.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function c(p){if(!e.enabled)return;const{rtlTranslate:m}=e;let g=p;g.originalEvent&&(g=g.originalEvent);const y=g.keyCode||g.charCode,v=e.params.keyboard.pageUpDown,w=v&&y===33,E=v&&y===34,T=y===37,x=y===39,_=y===38,O=y===40;if(!e.allowSlideNext&&(e.isHorizontal()&&x||e.isVertical()&&O||E)||!e.allowSlidePrev&&(e.isHorizontal()&&T||e.isVertical()&&_||w))return!1;if(!(g.shiftKey||g.altKey||g.ctrlKey||g.metaKey)&&!(o.activeElement&&(o.activeElement.isContentEditable||o.activeElement.nodeName&&(o.activeElement.nodeName.toLowerCase()==="input"||o.activeElement.nodeName.toLowerCase()==="textarea")))){if(e.params.keyboard.onlyInViewport&&(w||E||T||x||_||O)){let k=!1;if(Hs(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Hs(e.el,`.${e.params.slideActiveClass}`).length===0)return;const L=e.el,H=L.clientWidth,C=L.clientHeight,D=u.innerWidth,M=u.innerHeight,P=Nf(L);m&&(P.left-=L.scrollLeft);const U=[[P.left,P.top],[P.left+H,P.top],[P.left,P.top+C],[P.left+H,P.top+C]];for(let I=0;I<U.length;I+=1){const z=U[I];if(z[0]>=0&&z[0]<=D&&z[1]>=0&&z[1]<=M){if(z[0]===0&&z[1]===0)continue;k=!0}}if(!k)return}e.isHorizontal()?((w||E||T||x)&&(g.preventDefault?g.preventDefault():g.returnValue=!1),((E||x)&&!m||(w||T)&&m)&&e.slideNext(),((w||T)&&!m||(E||x)&&m)&&e.slidePrev()):((w||E||_||O)&&(g.preventDefault?g.preventDefault():g.returnValue=!1),(E||O)&&e.slideNext(),(w||_)&&e.slidePrev()),i("keyPress",y)}}function f(){e.keyboard.enabled||(o.addEventListener("keydown",c),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&(o.removeEventListener("keydown",c),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&f()}),n("destroy",()=>{e.keyboard.enabled&&d()}),Object.assign(e.keyboard,{enable:f,disable:d})}function TY(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const o=ar();r({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let u,c=Wn(),f;const d=[];function p(_){let H=0,C=0,D=0,M=0;return"detail"in _&&(C=_.detail),"wheelDelta"in _&&(C=-_.wheelDelta/120),"wheelDeltaY"in _&&(C=-_.wheelDeltaY/120),"wheelDeltaX"in _&&(H=-_.wheelDeltaX/120),"axis"in _&&_.axis===_.HORIZONTAL_AXIS&&(H=C,C=0),D=H*10,M=C*10,"deltaY"in _&&(M=_.deltaY),"deltaX"in _&&(D=_.deltaX),_.shiftKey&&!D&&(D=M,M=0),(D||M)&&_.deltaMode&&(_.deltaMode===1?(D*=40,M*=40):(D*=800,M*=800)),D&&!H&&(H=D<1?-1:1),M&&!C&&(C=M<1?-1:1),{spinX:H,spinY:C,pixelX:D,pixelY:M}}function m(){e.enabled&&(e.mouseEntered=!0)}function g(){e.enabled&&(e.mouseEntered=!1)}function y(_){return e.params.mousewheel.thresholdDelta&&_.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Wn()-c<e.params.mousewheel.thresholdTime?!1:_.delta>=6&&Wn()-c<60?!0:(_.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",_.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",_.raw)),c=new o.Date().getTime(),!1)}function v(_){const O=e.params.mousewheel;if(_.direction<0){if(e.isEnd&&!e.params.loop&&O.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&O.releaseOnEdges)return!0;return!1}function w(_){let O=_,k=!0;if(!e.enabled||_.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const L=e.params.mousewheel;e.params.cssMode&&O.preventDefault();let H=e.el;e.params.mousewheel.eventsTarget!=="container"&&(H=document.querySelector(e.params.mousewheel.eventsTarget));const C=H&&H.contains(O.target);if(!e.mouseEntered&&!C&&!L.releaseOnEdges)return!0;O.originalEvent&&(O=O.originalEvent);let D=0;const M=e.rtlTranslate?-1:1,P=p(O);if(L.forceToAxis)if(e.isHorizontal())if(Math.abs(P.pixelX)>Math.abs(P.pixelY))D=-P.pixelX*M;else return!0;else if(Math.abs(P.pixelY)>Math.abs(P.pixelX))D=-P.pixelY;else return!0;else D=Math.abs(P.pixelX)>Math.abs(P.pixelY)?-P.pixelX*M:-P.pixelY;if(D===0)return!0;L.invert&&(D=-D);let U=e.getTranslate()+D*L.sensitivity;if(U>=e.minTranslate()&&(U=e.minTranslate()),U<=e.maxTranslate()&&(U=e.maxTranslate()),k=e.params.loop?!0:!(U===e.minTranslate()||U===e.maxTranslate()),k&&e.params.nested&&O.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:Wn(),delta:Math.abs(D),direction:Math.sign(D),raw:_};d.length>=2&&d.shift();const z=d.length?d[d.length-1]:void 0;if(d.push(I),z?(I.direction!==z.direction||I.delta>z.delta||I.time>z.time+150)&&y(I):y(I),v(I))return!0}else{const I={time:Wn(),delta:Math.abs(D),direction:Math.sign(D)},z=f&&I.time<f.time+500&&I.delta<=f.delta&&I.direction===f.direction;if(!z){f=void 0;let F=e.getTranslate()+D*L.sensitivity;const R=e.isBeginning,A=e.isEnd;if(F>=e.minTranslate()&&(F=e.minTranslate()),F<=e.maxTranslate()&&(F=e.maxTranslate()),e.setTransition(0),e.setTranslate(F),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!R&&e.isBeginning||!A&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(u),u=void 0,d.length>=15&&d.shift();const B=d.length?d[d.length-1]:void 0,q=d[0];if(d.push(I),B&&(I.delta>B.delta||I.direction!==B.direction))d.splice(0);else if(d.length>=15&&I.time-q.time<500&&q.delta-I.delta>=1&&I.delta<=6){const K=D>0?.8:.2;f=I,d.splice(0),u=sl(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,K)},0)}u||(u=sl(()=>{if(e.destroyed||!e.params)return;const K=.5;f=I,d.splice(0),e.slideToClosest(e.params.speed,!0,void 0,K)},500))}if(z||i("scroll",O),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),L.releaseOnEdges&&(F===e.minTranslate()||F===e.maxTranslate()))return!0}}return O.preventDefault?O.preventDefault():O.returnValue=!1,!1}function E(_){let O=e.el;
80e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget)),O[_]("mouseenter",m),O[_]("mouseleave",g),O[_]("wheel",w)}function T(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",w),!0):e.mousewheel.enabled?!1:(E("addEventListener"),e.mousewheel.enabled=!0,!0)}function x(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,w),!0):e.mousewheel.enabled?(E("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&x(),e.params.mousewheel.enabled&&T()}),n("destroy",()=>{e.params.cssMode&&T(),e.mousewheel.enabled&&x()}),Object.assign(e.mousewheel,{enable:T,disable:x})}function xb(t,e,r,n){return t.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let o=$r(t.el,`.${n[i]}`)[0];o||(o=kn("div",n[i]),o.className=n[i],t.el.append(o)),r[i]=o,e[i]=o}}),r}function CY(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function o(v){let w;return v&&typeof v=="string"&&e.isElement&&(w=e.el.querySelector(v)||e.hostEl.querySelector(v),w)?w:(v&&(typeof v=="string"&&(w=[...document.querySelectorAll(v)]),e.params.uniqueNavElements&&typeof v=="string"&&w&&w.length>1&&e.el.querySelectorAll(v).length===1?w=e.el.querySelector(v):w&&w.length===1&&(w=w[0])),v&&!w?v:w)}function u(v,w){const E=e.params.navigation;v=lt(v),v.forEach(T=>{T&&(T.classList[w?"add":"remove"](...E.disabledClass.split(" ")),T.tagName==="BUTTON"&&(T.disabled=w),e.params.watchOverflow&&e.enabled&&T.classList[e.isLocked?"add":"remove"](E.lockClass))})}function c(){const{nextEl:v,prevEl:w}=e.navigation;if(e.params.loop){u(w,!1),u(v,!1);return}u(w,e.isBeginning&&!e.params.rewind),u(v,e.isEnd&&!e.params.rewind)}function f(v){v.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function d(v){v.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function p(){const v=e.params.navigation;if(e.params.navigation=xb(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(v.nextEl||v.prevEl))return;let w=o(v.nextEl),E=o(v.prevEl);Object.assign(e.navigation,{nextEl:w,prevEl:E}),w=lt(w),E=lt(E);const T=(x,_)=>{x&&x.addEventListener("click",_==="next"?d:f),!e.enabled&&x&&x.classList.add(...v.lockClass.split(" "))};w.forEach(x=>T(x,"next")),E.forEach(x=>T(x,"prev"))}function m(){let{nextEl:v,prevEl:w}=e.navigation;v=lt(v),w=lt(w);const E=(T,x)=>{T.removeEventListener("click",x==="next"?d:f),T.classList.remove(...e.params.navigation.disabledClass.split(" "))};v.forEach(T=>E(T,"next")),w.forEach(T=>E(T,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?y():(p(),c())}),n("toEdge fromEdge lock unlock",()=>{c()}),n("destroy",()=>{m()}),n("enable disable",()=>{let{nextEl:v,prevEl:w}=e.navigation;if(v=lt(v),w=lt(w),e.enabled){c();return}[...v,...w].filter(E=>!!E).forEach(E=>E.classList.add(e.params.navigation.lockClass))}),n("click",(v,w)=>{let{nextEl:E,prevEl:T}=e.navigation;E=lt(E),T=lt(T);const x=w.target;let _=T.includes(x)||E.includes(x);if(e.isElement&&!_){const O=w.path||w.composedPath&&w.composedPath();O&&(_=O.find(k=>E.includes(k)||T.includes(k)))}if(e.params.navigation.hideOnClick&&!_){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===x||e.pagination.el.contains(x)))return;let O;E.length?O=E[0].classList.contains(e.params.navigation.hiddenClass):T.length&&(O=T[0].classList.contains(e.params.navigation.hiddenClass)),i(O===!0?"navigationShow":"navigationHide"),[...E,...T].filter(k=>!!k).forEach(k=>k.classList.toggle(e.params.navigation.hiddenClass))}});const g=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),p(),c()},y=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(e.navigation,{enable:g,disable:y,update:c,init:p,destroy:m})}function ci(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function RY(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const o="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:x=>x,formatFractionTotal:x=>x,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let u,c=0;function f(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function d(x,_){const{bulletActiveClass:O}=e.params.pagination;x&&(x=x[`${_==="prev"?"previous":"next"}ElementSibling`],x&&(x.classList.add(`${O}-${_}`),x=x[`${_==="prev"?"previous":"next"}ElementSibling`],x&&x.classList.add(`${O}-${_}-${_}`)))}function p(x,_,O){if(x=x%O,_=_%O,_===x+1)return"next";if(_===x-1)return"previous"}function m(x){const _=x.target.closest(ci(e.params.pagination.bulletClass));if(!_)return;x.preventDefault();const O=Gu(_)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===O)return;const k=p(e.realIndex,O,e.slides.length);k==="next"?e.slideNext():k==="previous"?e.slidePrev():e.slideToLoop(O)}else e.slideTo(O)}function g(){const x=e.rtl,_=e.params.pagination;if(f())return;let O=e.pagination.el;O=lt(O);let k,L;const H=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,C=e.params.loop?Math.
80ceil(H/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(L=e.previousRealIndex||0,k=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(k=e.snapIndex,L=e.previousSnapIndex):(L=e.previousIndex||0,k=e.activeIndex||0),_.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const D=e.pagination.bullets;let M,P,U;if(_.dynamicBullets&&(u=Kv(D[0],e.isHorizontal()?"width":"height"),O.forEach(I=>{I.style[e.isHorizontal()?"width":"height"]=`${u*(_.dynamicMainBullets+4)}px`}),_.dynamicMainBullets>1&&L!==void 0&&(c+=k-(L||0),c>_.dynamicMainBullets-1?c=_.dynamicMainBullets-1:c<0&&(c=0)),M=Math.max(k-c,0),P=M+(Math.min(D.length,_.dynamicMainBullets)-1),U=(P+M)/2),D.forEach(I=>{const z=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(F=>`${_.bulletActiveClass}${F}`)].map(F=>typeof F=="string"&&F.includes(" ")?F.split(" "):F).flat();I.classList.remove(...z)}),O.length>1)D.forEach(I=>{const z=Gu(I);z===k?I.classList.add(..._.bulletActiveClass.split(" ")):e.isElement&&I.setAttribute("part","bullet"),_.dynamicBullets&&(z>=M&&z<=P&&I.classList.add(...`${_.bulletActiveClass}-main`.split(" ")),z===M&&d(I,"prev"),z===P&&d(I,"next"))});else{const I=D[k];if(I&&I.classList.add(..._.bulletActiveClass.split(" ")),e.isElement&&D.forEach((z,F)=>{z.setAttribute("part",F===k?"bullet-active":"bullet")}),_.dynamicBullets){const z=D[M],F=D[P];for(let R=M;R<=P;R+=1)D[R]&&D[R].classList.add(...`${_.bulletActiveClass}-main`.split(" "));d(z,"prev"),d(F,"next")}}if(_.dynamicBullets){const I=Math.min(D.length,_.dynamicMainBullets+4),z=(u*I-u)/2-U*u,F=x?"right":"left";D.forEach(R=>{R.style[e.isHorizontal()?F:"top"]=`${z}px`})}}O.forEach((D,M)=>{if(_.type==="fraction"&&(D.querySelectorAll(ci(_.currentClass)).forEach(P=>{P.textContent=_.formatFractionCurrent(k+1)}),D.querySelectorAll(ci(_.totalClass)).forEach(P=>{P.textContent=_.formatFractionTotal(C)})),_.type==="progressbar"){let P;_.progressbarOpposite?P=e.isHorizontal()?"vertical":"horizontal":P=e.isHorizontal()?"horizontal":"vertical";const U=(k+1)/C;let I=1,z=1;P==="horizontal"?I=U:z=U,D.querySelectorAll(ci(_.progressbarFillClass)).forEach(F=>{F.style.transform=`translate3d(0,0,0) scaleX(${I}) scaleY(${z})`,F.style.transitionDuration=`${e.params.speed}ms`})}_.type==="custom"&&_.renderCustom?(Qn(D,_.renderCustom(e,k+1,C)),M===0&&i("paginationRender",D)):(M===0&&i("paginationRender",D),i("paginationUpdate",D)),e.params.watchOverflow&&e.enabled&&D.classList[e.isLocked?"add":"remove"](_.lockClass)})}function y(){const x=e.params.pagination;if(f())return;const _=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let O=e.pagination.el;O=lt(O);let k="";if(x.type==="bullets"){let L=e.params.loop?Math.ceil(_/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&L>_&&(L=_);for(let H=0;H<L;H+=1)x.renderBullet?k+=x.renderBullet.call(e,H,x.bulletClass):k+=`<${x.bulletElement} ${e.isElement?'part="bullet"':""} class="${x.bulletClass}"></${x.bulletElement}>`}x.type==="fraction"&&(x.renderFraction?k=x.renderFraction.call(e,x.currentClass,x.totalClass):k=`<span class="${x.currentClass}"></span> / <span class="${x.totalClass}"></span>`),x.type==="progressbar"&&(x.renderProgressbar?k=x.renderProgressbar.call(e,x.progressbarFillClass):k=`<span class="${x.progressbarFillClass}"></span>`),e.pagination.bullets=[],O.forEach(L=>{x.type!=="custom"&&Qn(L,k||""),x.type==="bullets"&&e.pagination.bullets.push(...L.querySelectorAll(ci(x.bulletClass)))}),x.type!=="custom"&&i("paginationRender",O[0])}function v(){e.params.pagination=xb(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const x=e.params.pagination;if(!x.el)return;let _;typeof x.el=="string"&&e.isElement&&(_=e.el.querySelector(x.el)),!_&&typeof x.el=="string"&&(_=[...document.querySelectorAll(x.el)]),_||(_=x.el),!(!_||_.length===0)&&(e.params.uniqueNavElements&&typeof x.el=="string"&&Array.isArray(_)&&_.length>1&&(_=[...e.el.querySelectorAll(x.el)],_.length>1&&(_=_.find(O=>Hs(O,".swiper")[0]===e.el))),Array.isArray(_)&&_.length===1&&(_=_[0]),Object.assign(e.pagination,{el:_}),_=lt(_),_.forEach(O=>{x.type==="bullets"&&x.clickable&&O.classList.add(...(x.clickableClass||"").split(" ")),O.classList.add(x.modifierClass+x.type),O.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass),x.type==="bullets"&&x.dynamicBullets&&(O.classList.add(`${x.modifierClass}${x.type}-dynamic`),c=0,x.dynamicMainBullets<1&&(x.dynamicMainBullets=1)),x.type==="progressbar"&&x.progressbarOpposite&&O.classList.add(x.progressbarOppositeClass),x.clickable&&O.addEventListener("click",m),e.enabled||O.classList.add(x.lockClass)}))}function w(){const x=e.params.pagination;if(f())return;let _=e.pagination.el;_&&(_=lt(_),_.forEach(O=>{O.classList.remove(x.hiddenClass),O.classList.remove(x.modifierClass+x.type),O.classList.remove(e.isHorizontal()?x.horizontalClass:x.verticalClass),x.clickable&&(O.classList.remove(...(x.clickableClass||"").split(" ")),O.removeEventListener("click",m))}
80)),e.pagination.bullets&&e.pagination.bullets.forEach(O=>O.classList.remove(...x.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const x=e.params.pagination;let{el:_}=e.pagination;_=lt(_),_.forEach(O=>{O.classList.remove(x.horizontalClass,x.verticalClass),O.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?T():(v(),y(),g())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&g()}),n("snapIndexChange",()=>{g()}),n("snapGridLengthChange",()=>{y(),g()}),n("destroy",()=>{w()}),n("enable disable",()=>{let{el:x}=e.pagination;x&&(x=lt(x),x.forEach(_=>_.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{g()}),n("click",(x,_)=>{const O=_.target,k=lt(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&k&&k.length>0&&!O.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&O===e.navigation.nextEl||e.navigation.prevEl&&O===e.navigation.prevEl))return;const L=k[0].classList.contains(e.params.pagination.hiddenClass);i(L===!0?"paginationShow":"paginationHide"),k.forEach(H=>H.classList.toggle(e.params.pagination.hiddenClass))}});const E=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:x}=e.pagination;x&&(x=lt(x),x.forEach(_=>_.classList.remove(e.params.pagination.paginationDisabledClass))),v(),y(),g()},T=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:x}=e.pagination;x&&(x=lt(x),x.forEach(_=>_.classList.add(e.params.pagination.paginationDisabledClass))),w()};Object.assign(e.pagination,{enable:E,disable:T,render:y,update:g,init:v,destroy:w})}function AY(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const o=kr();let u=!1,c=null,f=null,d,p,m,g;r({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:U,rtlTranslate:I}=e,{dragEl:z,el:F}=U,R=e.params.scrollbar,A=e.params.loop?e.progressLoop:e.progress;let B=p,q=(m-p)*A;I?(q=-q,q>0?(B=p-q,q=0):-q+p>m&&(B=m+q)):q<0?(B=p+q,q=0):q+p>m&&(B=m-q),e.isHorizontal()?(z.style.transform=`translate3d(${q}px, 0, 0)`,z.style.width=`${B}px`):(z.style.transform=`translate3d(0px, ${q}px, 0)`,z.style.height=`${B}px`),R.hide&&(clearTimeout(c),F.style.opacity=1,c=setTimeout(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3))}function v(U){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${U}ms`)}function w(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:U}=e,{dragEl:I,el:z}=U;I.style.width="",I.style.height="",m=e.isHorizontal()?z.offsetWidth:z.offsetHeight,g=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?p=m*g:p=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${p}px`:I.style.height=`${p}px`,g>=1?z.style.display="none":z.style.display="",e.params.scrollbar.hide&&(z.style.opacity=0),e.params.watchOverflow&&e.enabled&&U.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function E(U){return e.isHorizontal()?U.clientX:U.clientY}function T(U){const{scrollbar:I,rtlTranslate:z}=e,{el:F}=I;let R;R=(E(U)-Nf(F)[e.isHorizontal()?"left":"top"]-(d!==null?d:p/2))/(m-p),R=Math.max(Math.min(R,1),0),z&&(R=1-R);const A=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*R;e.updateProgress(A),e.setTranslate(A),e.updateActiveIndex(),e.updateSlidesClasses()}function x(U){const I=e.params.scrollbar,{scrollbar:z,wrapperEl:F}=e,{el:R,dragEl:A}=z;u=!0,d=U.target===A?E(U)-U.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,U.preventDefault(),U.stopPropagation(),F.style.transitionDuration="100ms",A.style.transitionDuration="100ms",T(U),clearTimeout(f),R.style.transitionDuration="0ms",I.hide&&(R.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",
80U)}function _(U){const{scrollbar:I,wrapperEl:z}=e,{el:F,dragEl:R}=I;u&&(U.preventDefault&&U.cancelable?U.preventDefault():U.returnValue=!1,T(U),z.style.transitionDuration="0ms",F.style.transitionDuration="0ms",R.style.transitionDuration="0ms",i("scrollbarDragMove",U))}function O(U){const I=e.params.scrollbar,{scrollbar:z,wrapperEl:F}=e,{el:R}=z;u&&(u=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",F.style.transitionDuration=""),I.hide&&(clearTimeout(f),f=sl(()=>{R.style.opacity=0,R.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",U),I.snapOnRelease&&e.slideToClosest())}function k(U){const{scrollbar:I,params:z}=e,F=I.el;if(!F)return;const R=F,A=z.passiveListeners?{passive:!1,capture:!1}:!1,B=z.passiveListeners?{passive:!0,capture:!1}:!1;if(!R)return;const q=U==="on"?"addEventListener":"removeEventListener";R[q]("pointerdown",x,A),o[q]("pointermove",_,A),o[q]("pointerup",O,B)}function L(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function H(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function C(){const{scrollbar:U,el:I}=e;e.params.scrollbar=xb(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const z=e.params.scrollbar;if(!z.el)return;let F;if(typeof z.el=="string"&&e.isElement&&(F=e.el.querySelector(z.el)),!F&&typeof z.el=="string"){if(F=o.querySelectorAll(z.el),!F.length)return}else F||(F=z.el);e.params.uniqueNavElements&&typeof z.el=="string"&&F.length>1&&I.querySelectorAll(z.el).length===1&&(F=I.querySelector(z.el)),F.length>0&&(F=F[0]),F.classList.add(e.isHorizontal()?z.horizontalClass:z.verticalClass);let R;F&&(R=F.querySelector(ci(e.params.scrollbar.dragClass)),R||(R=kn("div",e.params.scrollbar.dragClass),F.append(R))),Object.assign(U,{el:F,dragEl:R}),z.draggable&&L(),F&&F.classList[e.enabled?"remove":"add"](...Ji(e.params.scrollbar.lockClass))}function D(){const U=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...Ji(e.isHorizontal()?U.horizontalClass:U.verticalClass)),H()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const U=e.params.scrollbar;let{el:I}=e.scrollbar;I=lt(I),I.forEach(z=>{z.classList.remove(U.horizontalClass,U.verticalClass),z.classList.add(e.isHorizontal()?U.horizontalClass:U.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?P():(C(),w(),y())}),n("update resize observerUpdate lock unlock changeDirection",()=>{w()}),n("setTranslate",()=>{y()}),n("setTransition",(U,I)=>{v(I)}),n("enable disable",()=>{const{el:U}=e.scrollbar;U&&U.classList[e.enabled?"remove":"add"](...Ji(e.params.scrollbar.lockClass))}),n("destroy",()=>{D()});const M=()=>{e.el.classList.remove(...Ji(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Ji(e.params.scrollbar.scrollbarDisabledClass)),C(),w(),y()},P=()=>{e.el.classList.add(...Ji(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Ji(e.params.scrollbar.scrollbarDisabledClass)),D()};Object.assign(e.scrollbar,{enable:M,disable:P,updateSize:w,setTranslate:y,init:C,destroy:D})}function OY(t){let{swiper:e,extendParams:r,on:n}=t;r({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",o=(f,d)=>{const{rtl:p}=e,m=p?-1:1,g=f.getAttribute("data-swiper-parallax")||"0";let y=f.getAttribute("data-swiper-parallax-x"),v=f.getAttribute("data-swiper-parallax-y");const w=f.getAttribute("data-swiper-parallax-scale"),E=f.getAttribute("data-swiper-parallax-opacity"),T=f.getAttribute("data-swiper-parallax-rotate");if(y||v?(y=y||"0",v=v||"0"):e.isHorizontal()?(y=g,v="0"):(v=g,y="0"),y.indexOf("%")>=0?y=`${parseInt(y,10)*d*m}%`:y=`${y*d*m}px`,v.indexOf("%")>=0?v=`${parseInt(v,10)*d}%`:v=`${v*d}px`,typeof E<"u"&&E!==null){const _=E-(E-1)*(1-Math.abs(d));f.style.opacity=_}let x=`translate3d(${y}, ${v}, 0px)`;if(typeof w<"u"&&w!==null){const _=w-(w-1)*(1-Math.abs(d));x+=` scale(${_})`}if(T&&typeof T<"u"&&T!==null){const _=T*d*-1;x+=` rotate(${_}deg)`}f.style.transform=x},u=()=>{const{el:f,slides:d,progress:p,snapGrid:m,isElement:g}=e,y=$r(f,i);
80e.isElement&&y.push(...$r(e.hostEl,i)),y.forEach(v=>{o(v,p)}),d.forEach((v,w)=>{let E=v.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(E+=Math.ceil(w/2)-p*(m.length-1)),E=Math.min(Math.max(E,-1),1),v.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(T=>{o(T,E)})})},c=function(f){f===void 0&&(f=e.params.speed);const{el:d,hostEl:p}=e,m=[...d.querySelectorAll(i)];e.isElement&&m.push(...p.querySelectorAll(i)),m.forEach(g=>{let y=parseInt(g.getAttribute("data-swiper-parallax-duration"),10)||f;f===0&&(y=0),g.style.transitionDuration=`${y}ms`})};n("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),n("init",()=>{e.params.parallax.enabled&&u()}),n("setTranslate",()=>{e.params.parallax.enabled&&u()}),n("setTransition",(f,d)=>{e.params.parallax.enabled&&c(d)})}function MY(t){let{swiper:e,extendParams:r,on:n,emit:i}=t;const o=ar();r({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let u=1,c=!1,f=!1,d={x:0,y:0};const p=-3;let m,g;const y=[],v={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},w={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},E={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let T=1;Object.defineProperty(e.zoom,"scale",{get(){return T},set(X){if(T!==X){const Q=v.imageEl,ae=v.slideEl;i("zoomChange",X,Q,ae)}T=X}});function x(){if(y.length<2)return 1;const X=y[0].pageX,Q=y[0].pageY,ae=y[1].pageX,de=y[1].pageY;return Math.sqrt((ae-X)**2+(de-Q)**2)}function _(){const X=e.params.zoom,Q=v.imageWrapEl.getAttribute("data-swiper-zoom")||X.maxRatio;if(X.limitToOriginalSize&&v.imageEl&&v.imageEl.naturalWidth){const ae=v.imageEl.naturalWidth/v.imageEl.offsetWidth;return Math.min(ae,Q)}return Q}function O(){if(y.length<2)return{x:null,y:null};const X=v.imageEl.getBoundingClientRect();return[(y[0].pageX+(y[1].pageX-y[0].pageX)/2-X.x-o.scrollX)/u,(y[0].pageY+(y[1].pageY-y[0].pageY)/2-X.y-o.scrollY)/u]}function k(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function L(X){const Q=k();return!!(X.target.matches(Q)||e.slides.filter(ae=>ae.contains(X.target)).length>0)}function H(X){const Q=`.${e.params.zoom.containerClass}`;return!!(X.target.matches(Q)||[...e.hostEl.querySelectorAll(Q)].filter(ae=>ae.contains(X.target)).length>0)}function C(X){if(X.pointerType==="mouse"&&y.splice(0,y.length),!L(X))return;const Q=e.params.zoom;if(m=!1,g=!1,y.push(X),!(y.length<2)){if(m=!0,v.scaleStart=x(),!v.slideEl){v.slideEl=X.target.closest(`.${e.params.slideClass}, swiper-slide`),v.slideEl||(v.slideEl=e.slides[e.activeIndex]);let ae=v.slideEl.querySelector(`.${Q.containerClass}`);if(ae&&(ae=ae.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=ae,ae?v.imageWrapEl=Hs(v.imageEl,`.${Q.containerClass}`)[0]:v.imageWrapEl=void 0,!v.imageWrapEl){v.imageEl=void 0;return}v.maxRatio=_()}if(v.imageEl){const[ae,de]=O();v.originX=ae,v.originY=de,v.imageEl.style.transitionDuration="0ms"}c=!0}}function D(X){if(!L(X))return;const Q=e.params.zoom,ae=e.zoom,de=y.findIndex(pe=>pe.pointerId===X.pointerId);de>=0&&(y[de]=X),!(y.length<2)&&(g=!0,v.scaleMove=x(),v.imageEl&&(ae.scale=v.scaleMove/v.scaleStart*u,ae.scale>v.maxRatio&&(ae.scale=v.maxRatio-1+(ae.scale-v.maxRatio+1)**.5),ae.scale<Q.minRatio&&(ae.scale=Q.minRatio+1-(Q.minRatio-ae.scale+1)**.5),v.imageEl.style.transform=`translate3d(0,0,0) scale(${ae.scale})`))}function M(X){if(!L(X)||X.pointerType==="mouse"&&X.type==="pointerout")return;const Q=e.params.zoom,ae=e.zoom,de=y.findIndex(pe=>pe.pointerId===X.pointerId);de>=0&&y.splice(de,1),!(!m||!g)&&(m=!1,g=!1,v.imageEl&&(ae.scale=Math.max(Math.min(ae.scale,v.maxRatio),Q.minRatio),v.imageEl.style.transitionDuration=`${e.params.speed}
80ms`,v.imageEl.style.transform=`translate3d(0,0,0) scale(${ae.scale})`,u=ae.scale,c=!1,ae.scale>1&&v.slideEl?v.slideEl.classList.add(`${Q.zoomedSlideClass}`):ae.scale<=1&&v.slideEl&&v.slideEl.classList.remove(`${Q.zoomedSlideClass}`),ae.scale===1&&(v.originX=0,v.originY=0,v.slideEl=void 0)))}let P;function U(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function I(){clearTimeout(P),e.touchEventsData.preventTouchMoveFromPointerMove=!0,P=setTimeout(()=>{e.destroyed||U()})}function z(X){const Q=e.device;if(!v.imageEl||w.isTouched)return;Q.android&&X.cancelable&&X.preventDefault(),w.isTouched=!0;const ae=y.length>0?y[0]:X;w.touchesStart.x=ae.pageX,w.touchesStart.y=ae.pageY}function F(X){const ae=X.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!L(X)||!H(X))return;const de=e.zoom;if(!v.imageEl)return;if(!w.isTouched||!v.slideEl){ae&&B(X);return}if(ae){B(X);return}w.isMoved||(w.width=v.imageEl.offsetWidth||v.imageEl.clientWidth,w.height=v.imageEl.offsetHeight||v.imageEl.clientHeight,w.startX=Wv(v.imageWrapEl,"x")||0,w.startY=Wv(v.imageWrapEl,"y")||0,v.slideWidth=v.slideEl.offsetWidth,v.slideHeight=v.slideEl.offsetHeight,v.imageWrapEl.style.transitionDuration="0ms");const pe=w.width*de.scale,Se=w.height*de.scale;if(w.minX=Math.min(v.slideWidth/2-pe/2,0),w.maxX=-w.minX,w.minY=Math.min(v.slideHeight/2-Se/2,0),w.maxY=-w.minY,w.touchesCurrent.x=y.length>0?y[0].pageX:X.pageX,w.touchesCurrent.y=y.length>0?y[0].pageY:X.pageY,Math.max(Math.abs(w.touchesCurrent.x-w.touchesStart.x),Math.abs(w.touchesCurrent.y-w.touchesStart.y))>5&&(e.allowClick=!1),!w.isMoved&&!c){if(e.isHorizontal()&&(Math.floor(w.minX)===Math.floor(w.startX)&&w.touchesCurrent.x<w.touchesStart.x||Math.floor(w.maxX)===Math.floor(w.startX)&&w.touchesCurrent.x>w.touchesStart.x)){w.isTouched=!1,U();return}if(!e.isHorizontal()&&(Math.floor(w.minY)===Math.floor(w.startY)&&w.touchesCurrent.y<w.touchesStart.y||Math.floor(w.maxY)===Math.floor(w.startY)&&w.touchesCurrent.y>w.touchesStart.y)){w.isTouched=!1,U();return}}X.cancelable&&X.preventDefault(),X.stopPropagation(),I(),w.isMoved=!0;const ke=(de.scale-u)/(v.maxRatio-e.params.zoom.minRatio),{originX:Ue,originY:Pe}=v;w.currentX=w.touchesCurrent.x-w.touchesStart.x+w.startX+ke*(w.width-Ue*2),w.currentY=w.touchesCurrent.y-w.touchesStart.y+w.startY+ke*(w.height-Pe*2),w.currentX<w.minX&&(w.currentX=w.minX+1-(w.minX-w.currentX+1)**.8),w.currentX>w.maxX&&(w.currentX=w.maxX-1+(w.currentX-w.maxX+1)**.8),w.currentY<w.minY&&(w.currentY=w.minY+1-(w.minY-w.currentY+1)**.8),w.currentY>w.maxY&&(w.currentY=w.maxY-1+(w.currentY-w.maxY+1)**.8),E.prevPositionX||(E.prevPositionX=w.touchesCurrent.x),E.prevPositionY||(E.prevPositionY=w.touchesCurrent.y),E.prevTime||(E.prevTime=Date.now()),E.x=(w.touchesCurrent.x-E.prevPositionX)/(Date.now()-E.prevTime)/2,E.y=(w.touchesCurrent.y-E.prevPositionY)/(Date.now()-E.prevTime)/2,Math.abs(w.touchesCurrent.x-E.prevPositionX)<2&&(E.x=0),Math.abs(w.touchesCurrent.y-E.prevPositionY)<2&&(E.y=0),E.prevPositionX=w.touchesCurrent.x,E.prevPositionY=w.touchesCurrent.y,E.prevTime=Date.now(),v.imageWrapEl.style.transform=`translate3d(${w.currentX}px, ${w.currentY}px,0)`}function R(){const X=e.zoom;if(y.length=0,!v.imageEl)return;if(!w.isTouched||!w.isMoved){w.isTouched=!1,w.isMoved=!1;return}w.isTouched=!1,w.isMoved=!1;let Q=300,ae=300;const de=E.x*Q,pe=w.currentX+de,Se=E.y*ae,be=w.currentY+Se;E.x!==0&&(Q=Math.abs((pe-w.currentX)/E.x)),E.y!==0&&(ae=Math.abs((be-w.currentY)/E.y));const ke=Math.max(Q,ae);w.currentX=pe,w.currentY=be;const Ue=w.width*X.scale,Pe=w.height*X.scale;w.minX=Math.min(v.slideWidth/2-Ue/2,0),w.maxX=-w.minX,w.minY=Math.min(v.slideHeight/2-Pe/2,0),w.maxY=-w.minY,w.currentX=Math.max(Math.min(w.currentX,w.maxX),w.minX),w.currentY=Math.max(Math.min(w.currentY,w.maxY),w.minY),v.imageWrapEl.style.transitionDuration=`${ke}ms`,v.imageWrapEl.style.transform=`translate3d(${w.currentX}px, ${w.currentY}px,0)`}function A(){const X=e.zoom;v.slideEl&&e.activeIndex!==e.slides.indexOf(v.slideEl)&&(v.imageEl&&(v.imageEl.style.transform="translate3d(0,0,0) scale(1)"),v.imageWrapEl&&(v.imageWrapEl.style.transform="translate3d(0,
800,0)"),v.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),X.scale=1,u=1,v.slideEl=void 0,v.imageEl=void 0,v.imageWrapEl=void 0,v.originX=0,v.originY=0)}function B(X){if(u<=1||!v.imageWrapEl||!L(X)||!H(X))return;const Q=o.getComputedStyle(v.imageWrapEl).transform,ae=new o.DOMMatrix(Q);if(!f){f=!0,d.x=X.clientX,d.y=X.clientY,w.startX=ae.e,w.startY=ae.f,w.width=v.imageEl.offsetWidth||v.imageEl.clientWidth,w.height=v.imageEl.offsetHeight||v.imageEl.clientHeight,v.slideWidth=v.slideEl.offsetWidth,v.slideHeight=v.slideEl.offsetHeight;return}const de=(X.clientX-d.x)*p,pe=(X.clientY-d.y)*p,Se=w.width*u,be=w.height*u,ke=v.slideWidth,Ue=v.slideHeight,Pe=Math.min(ke/2-Se/2,0),Ge=-Pe,vt=Math.min(Ue/2-be/2,0),Be=-vt,rt=Math.max(Math.min(w.startX+de,Ge),Pe),nt=Math.max(Math.min(w.startY+pe,Be),vt);v.imageWrapEl.style.transitionDuration="0ms",v.imageWrapEl.style.transform=`translate3d(${rt}px, ${nt}px, 0)`,d.x=X.clientX,d.y=X.clientY,w.startX=rt,w.startY=nt,w.currentX=rt,w.currentY=nt}function q(X){const Q=e.zoom,ae=e.params.zoom;if(!v.slideEl){X&&X.target&&(v.slideEl=X.target.closest(`.${e.params.slideClass}, swiper-slide`)),v.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?v.slideEl=$r(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:v.slideEl=e.slides[e.activeIndex]);let Nt=v.slideEl.querySelector(`.${ae.containerClass}`);Nt&&(Nt=Nt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=Nt,Nt?v.imageWrapEl=Hs(v.imageEl,`.${ae.containerClass}`)[0]:v.imageWrapEl=void 0}if(!v.imageEl||!v.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),v.slideEl.classList.add(`${ae.zoomedSlideClass}`);let de,pe,Se,be,ke,Ue,Pe,Ge,vt,Be,rt,nt,kt,yt,ft,ht,Ve,Lt;typeof w.touchesStart.x>"u"&&X?(de=X.pageX,pe=X.pageY):(de=w.touchesStart.x,pe=w.touchesStart.y);const Wt=u,_r=typeof X=="number"?X:null;u===1&&_r&&(de=void 0,pe=void 0,w.touchesStart.x=void 0,w.touchesStart.y=void 0);const At=_();Q.scale=_r||At,u=_r||At,X&&!(u===1&&_r)?(Ve=v.slideEl.offsetWidth,Lt=v.slideEl.offsetHeight,Se=Nf(v.slideEl).left+o.scrollX,be=Nf(v.slideEl).top+o.scrollY,ke=Se+Ve/2-de,Ue=be+Lt/2-pe,vt=v.imageEl.offsetWidth||v.imageEl.clientWidth,Be=v.imageEl.offsetHeight||v.imageEl.clientHeight,rt=vt*Q.scale,nt=Be*Q.scale,kt=Math.min(Ve/2-rt/2,0),yt=Math.min(Lt/2-nt/2,0),ft=-kt,ht=-yt,Wt>0&&_r&&typeof w.currentX=="number"&&typeof w.currentY=="number"?(Pe=w.currentX*Q.scale/Wt,Ge=w.currentY*Q.scale/Wt):(Pe=ke*Q.scale,Ge=Ue*Q.scale),Pe<kt&&(Pe=kt),Pe>ft&&(Pe=ft),Ge<yt&&(Ge=yt),Ge>ht&&(Ge=ht)):(Pe=0,Ge=0),_r&&Q.scale===1&&(v.originX=0,v.originY=0),w.currentX=Pe,w.currentY=Ge,v.imageWrapEl.style.transitionDuration="300ms",v.imageWrapEl.style.transform=`translate3d(${Pe}px, ${Ge}px,0)`,v.imageEl.style.transitionDuration="300ms",v.imageEl.style.transform=`translate3d(0,0,0) scale(${Q.scale})`}function K(){const X=e.zoom,Q=e.params.zoom;if(!v.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?v.slideEl=$r(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:v.slideEl=e.slides[e.activeIndex];let ae=v.slideEl.querySelector(`.${Q.containerClass}`);ae&&(ae=ae.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=ae,ae?v.imageWrapEl=Hs(v.imageEl,`.${Q.containerClass}`)[0]:v.imageWrapEl=void 0}!v.imageEl||!v.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),X.scale=1,u=1,w.currentX=void 0,w.currentY=void 0,w.touchesStart.x=void 0,w.touchesStart.y=void 0,v.imageWrapEl.style.transitionDuration="300ms",v.imageWrapEl.style.transform="translate3d(0,0,0)",v.imageEl.style.transitionDuration="300ms",v.imageEl.style.transform="translate3d(0,0,0) scale(1)",v.slideEl.classList.remove(`${Q.zoomedSlideClass}`),v.slideEl=void 0,v.originX=0,v.originY=0,e.params.zoom.panOnMouseMove&&(d={x:0,y:0},f&&(f=!1,w.startX=0,w.startY=0)))}function $(X){const Q=e.zoom;Q.scale&&Q.scale!==1?K():q(X)}function Y(){const X=e.params.passiveListeners?{passive:!0,capture:!1}:!1,Q=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:X,activeListenerWithCapture:Q}}function G(){const X=e.zoom;if(X.enabled)return;X.enabled=!0;const{passiveListener:Q,activeListenerWithCapture:ae}=Y();e.wrapperEl.addEventListener("pointerdown",C,Q),e.wrapperEl.addEventListener("pointermove",D,ae),["pointerup","pointercancel","pointerout"].forEach(de=>{e.wrapperEl.addEventListener(de,M,Q)}),e.wrapperEl.addEventListener("pointermove",F,ae)}function W(){const X=e.zoom;if(!X.enabled)return;X.enabled=!1;const{passiveListener:Q,activeListenerWithCapture:ae}=Y();e.wrapperEl.removeEventListener("pointerdown",C,Q),e.wrapperEl.removeEventListener("pointermove",D,ae),["pointerup","pointercancel","pointerout"].forEach(de=>{e.wrapperEl.removeEventListener(de,M,Q)}),e.wrapperEl.removeEventListener("pointermove",F,ae)}n("init",()=>{e.params.zoom.enabled&&G()}),n("destroy",()=>{W()}),n("touchStart",(X,Q)=>{e.zoom.enabled&&z(Q)}),n("touchEnd",(X,Q)=>{e.zoom.enabled&&R()}),n("doubleTap",(X,Q)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&$(Q)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&A()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&A()}),Object.assign(e.zoom,{enable:G,disable:W,in:q,out:K,toggle:$})}function DY(t){let{swiper:e,extendParams:r,on:n}=t;r({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(d,p){const m=(function(){let w,E,T;return(x,_)=>{for(E=-1,w=x.length;w-E>1;)T=w+E>>1,x[T]<=_?E=T:w=T;return w}})();this.x=d,this.y=p,this.lastIndex=d.length-1;let g,y;return this.interpolate=function(w){return w?(y=m(this.x,w),g=y-1,(w-this.x[g])*(this.y[y]-this.y[g])/(this.x[y]-this.x[g])+this.y[g]):0},this}function o(d){e.controller.spline=e.params.loop?new i(e.slidesGrid,d.slidesGrid):new i(e.snapGrid,d.snapGrid)}function u(d,p){const m=e.controller.control;let g,y;const v=e.constructor;function w(E){if(E.destroyed)return;const T=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(o(E),y=-e.controller.spline.interpolate(-T)),(!y||e.params.controller.by==="container")&&(g=(E.maxTranslate()-E.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(g)||!Number.isFinite(g))&&(g=1),y=(T-e.minTranslate())*g+E.minTranslate()),e.params.controller.inverse&&(y=E.maxTranslate()-y),E.updateProgress(y),E.setTranslate(y,e),E.updateActiveIndex(),E.updateSlidesClasses()}if(Array.isArray(m))for(let E=0;E<m.length;E+=1)m[E]!==p&&m[E]instanceof v&&w(m[E]);else m instanceof v&&p!==m&&w(m)}function c(d,p){const m=e.constructor,g=e.controller.control;let y;function v(w){w.destroyed||(w.setTransition(d,e),d!==0&&(w.transitionStart(),w.params.autoHeight&&sl(()=>{w.updateAutoHeight()}),zu(w.wrapperEl,()=>{g&&w.transitionEnd()})))}if(Array.isArray(g))for(y=0;y<g.length;y+=1)g[y]!==p&&g[y]instanceof m&&v(g[y]);else g instanceof m&&p!==g&&v(g)}function f(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}n("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEac
80h(p=>{if(e.controller.control||(e.controller.control=[]),p&&p.swiper)e.controller.control.push(p.swiper);else if(p){const m=`${e.params.eventsPrefix}init`,g=y=>{e.controller.control.push(y.detail[0]),e.update(),p.removeEventListener(m,g)};p.addEventListener(m,g)}});return}e.controller.control=e.params.controller.control}),n("update",()=>{f()}),n("resize",()=>{f()}),n("observerUpdate",()=>{f()}),n("setTranslate",(d,p,m)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(p,m)}),n("setTransition",(d,p,m)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(p,m)}),Object.assign(e.controller,{setTranslate:u,setTransition:c})}function kY(t){let{swiper:e,extendParams:r,on:n}=t;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),e.a11y={clicked:!1};let i=null,o,u,c=new Date().getTime();function f(A){const B=i;B.length!==0&&Qn(B,A)}function d(A){const B=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(A).replace(/x/g,B)}function p(A){A=lt(A),A.forEach(B=>{B.setAttribute("tabIndex","0")})}function m(A){A=lt(A),A.forEach(B=>{B.setAttribute("tabIndex","-1")})}function g(A,B){A=lt(A),A.forEach(q=>{q.setAttribute("role",B)})}function y(A,B){A=lt(A),A.forEach(q=>{q.setAttribute("aria-roledescription",B)})}function v(A,B){A=lt(A),A.forEach(q=>{q.setAttribute("aria-controls",B)})}function w(A,B){A=lt(A),A.forEach(q=>{q.setAttribute("aria-label",B)})}function E(A,B){A=lt(A),A.forEach(q=>{q.setAttribute("id",B)})}function T(A,B){A=lt(A),A.forEach(q=>{q.setAttribute("aria-live",B)})}function x(A){A=lt(A),A.forEach(B=>{B.setAttribute("aria-disabled",!0)})}function _(A){A=lt(A),A.forEach(B=>{B.setAttribute("aria-disabled",!1)})}function O(A){if(A.keyCode!==13&&A.keyCode!==32)return;const B=e.params.a11y,q=A.target;if(!(e.pagination&&e.pagination.el&&(q===e.pagination.el||e.pagination.el.contains(A.target))&&!A.target.matches(ci(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const K=lt(e.navigation.prevEl);lt(e.navigation.nextEl).includes(q)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?f(B.lastSlideMessage):f(B.nextSlideMessage)),K.includes(q)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?f(B.firstSlideMessage):f(B.prevSlideMessage))}e.pagination&&q.matches(ci(e.params.pagination.bulletClass))&&q.click()}}function k(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:A,prevEl:B}=e.navigation;B&&(e.isBeginning?(x(B),m(B)):(_(B),p(B))),A&&(e.isEnd?(x(A),m(A)):(_(A),p(A)))}function L(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function H(){return L()&&e.params.pagination.clickable}function C(){const A=e.params.a11y;L()&&e.pagination.bullets.forEach(B=>{e.params.pagination.clickable&&(p(B),e.params.pagination.renderBullet||(g(B,"button"),w(B,A.paginationBulletMessage.replace(/\{\{index\}\}/,Gu(B)+1)))),B.matches(ci(e.params.pagination.bulletActiveClass))?B.setAttribute("aria-current","true"):B.removeAttribute("aria-current")})}const D=(A,B,q)=>{p(A),A.tagName!=="BUTTON"&&(g(A,"button"),A.addEventListener("keydown",O)),w(A,q),v(A,B)},M=A=>{u&&u!==A.target&&!u.contains(A.target)&&(o=!0),e.a11y.clicked=!0},P=()=>{o=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},U=A=>{c=new Date().getTime()},I=A=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-c<100)return;const B=A.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!B||!e.slides.includes(B))return;u=B;const q=e.slides.indexOf(B)===e.activeIndex,K=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(B);q||K||A.sourceCapabilities&&A.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>
80{o||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(B.getAttribute("data-swiper-slide-index"))),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(B)),0),o=!1)}))},z=()=>{const A=e.params.a11y;A.itemRoleDescriptionMessage&&y(e.slides,A.itemRoleDescriptionMessage),A.slideRole&&g(e.slides,A.slideRole);const B=e.slides.length;A.slideLabelMessage&&e.slides.forEach((q,K)=>{const $=e.params.loop?parseInt(q.getAttribute("data-swiper-slide-index"),10):K,Y=A.slideLabelMessage.replace(/\{\{index\}\}/,$+1).replace(/\{\{slidesLength\}\}/,B);w(q,Y)})},F=()=>{const A=e.params.a11y;e.el.append(i);const B=e.el;A.containerRoleDescriptionMessage&&y(B,A.containerRoleDescriptionMessage),A.containerMessage&&w(B,A.containerMessage),A.containerRole&&g(B,A.containerRole);const q=e.wrapperEl,K=A.id||q.getAttribute("id")||`swiper-wrapper-${d(16)}`,$=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";E(q,K),T(q,$),z();let{nextEl:Y,prevEl:G}=e.navigation?e.navigation:{};Y=lt(Y),G=lt(G),Y&&Y.forEach(X=>D(X,K,A.nextSlideMessage)),G&&G.forEach(X=>D(X,K,A.prevSlideMessage)),H()&<(e.pagination.el).forEach(Q=>{Q.addEventListener("keydown",O)}),kr().addEventListener("visibilitychange",U),e.el.addEventListener("focus",I,!0),e.el.addEventListener("focus",I,!0),e.el.addEventListener("pointerdown",M,!0),e.el.addEventListener("pointerup",P,!0)};function R(){i&&i.remove();let{nextEl:A,prevEl:B}=e.navigation?e.navigation:{};A=lt(A),B=lt(B),A&&A.forEach(K=>K.removeEventListener("keydown",O)),B&&B.forEach(K=>K.removeEventListener("keydown",O)),H()&<(e.pagination.el).forEach($=>{$.removeEventListener("keydown",O)}),kr().removeEventListener("visibilitychange",U),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",I,!0),e.el.removeEventListener("pointerdown",M,!0),e.el.removeEventListener("pointerup",P,!0))}n("beforeInit",()=>{i=kn("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&F()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&z()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&k()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&C()}),n("destroy",()=>{e.params.a11y.enabled&&R()})}function LY(t){let{swiper:e,extendParams:r,on:n}=t;r({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,o={};const u=y=>y.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),c=y=>{const v=ar();let w;y?w=new URL(y):w=v.location;const E=w.pathname.slice(1).split("/").filter(O=>O!==""),T=E.length,x=E[T-2],_=E[T-1];return{key:x,value:_}},f=(y,v)=>{const w=ar();if(!i||!e.params.history.enabled)return;let E;e.params.url?E=new URL(e.params.url):E=w.location;const T=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${v}"]`):e.slides[v];let x=u(T.getAttribute("data-history"));if(e.params.history.root.length>0){let O=e.params.history.root;O[O.length-1]==="/"&&(O=O.slice(0,O.length-1)),x=`${O}/${y?`${y}/`:""}${x}`}else E.pathname.includes(y)||(x=`${y?`${y}/`:""}${x}`);e.params.history.keepQuery&&(x+=E.search);const _=w.history.state;_&&_.value===x||(e.params.history.replaceState?w.history.replaceState({value:x},null,x):w.history.pushState({value:x},null,x))},d=(y,v,w)=>{if(v)for(let E=0,T=e.slides.length;E<T;E+=1){const x=e.slides[E];if(u(x.getAttribute("data-history"))===v){const O=e.getSlideIndex(x);e.slideTo(O,y,w)}}else e.slideTo(0,y,w)},p=()=>{o=c(e.params.url),d(e.params.speed,o.value,!1)},m=()=>{const y=ar();if(e.params.history){if(!y.history||!y.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(i=!0,o=c(e.params.url),!o.key&&!o.value){e.params.history.replaceState||y.addEventListener("popstate",p);return}d(0,o.value,e.params.runCallbacksOnInit),e.params.history.replaceState||y.addEventListener("popstate",p)}},g=()=>{const y=ar();e.params.history.replaceState||y.removeEventListener("popstate",p)};n("init",()=>{e.params.history.enabled&&m()}),n("destroy",()=>{e.params.history.enabled&&g()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{i&&f(e.params.history.key,e.activeIndex)}),n("slideChange",()=>{i&&e.params.cssMode&&f(e.params.history.key,e.activeIndex)})}function NY(t){let{swiper:e,extendParams:r,emit:n,on:i}=t,o=!1;const u=kr(),c=ar();r({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(g,y){if(e.virtual&&e.params.virtual.enabled){const v=e.slides.find(E=>E.getAttribute("data-hash")===y);return v?parseInt(v.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex($r(e.slidesEl,`.${e.params.slideClass}[data-hash="${y}"], swiper-slide[data-hash="${y}"]`)[0])}}});const f=()=>{n("hashChange");const g=u.location.hash.replace("#",""),y=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],v=y?y.getAttribute("data-hash"):"";if(g!==v){const w=e.params.hashNavigation.getSlideIndex(e,g);if(typeof w>"u"||Number.isNaN(w))return;e.slideTo(w)}},d=()=>
80{if(!o||!e.params.hashNavigation.enabled)return;const g=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],y=g?g.getAttribute("data-hash")||g.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&c.history&&c.history.replaceState?(c.history.replaceState(null,null,`#${y}`||""),n("hashSet")):(u.location.hash=y||"",n("hashSet"))},p=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;o=!0;const g=u.location.hash.replace("#","");if(g){const v=e.params.hashNavigation.getSlideIndex(e,g);e.slideTo(v||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&c.addEventListener("hashchange",f)},m=()=>{e.params.hashNavigation.watchState&&c.removeEventListener("hashchange",f)};i("init",()=>{e.params.hashNavigation.enabled&&p()}),i("destroy",()=>{e.params.hashNavigation.enabled&&m()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{o&&d()}),i("slideChange",()=>{o&&e.params.cssMode&&d()})}function PY(t){let{swiper:e,extendParams:r,on:n,emit:i,params:o}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let u,c,f=o&&o.autoplay?o.autoplay.delay:3e3,d=o&&o.autoplay?o.autoplay.delay:3e3,p,m=new Date().getTime(),g,y,v,w,E,T,x;function _(B){!e||e.destroyed||!e.wrapperEl||B.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",_),!(x||B.detail&&B.detail.bySwiperTouchMove)&&M())}const O=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?g=!0:g&&(d=p,g=!1);const B=e.autoplay.paused?p:m+d-new Date().getTime();e.autoplay.timeLeft=B,i("autoplayTimeLeft",B,B/f),c=requestAnimationFrame(()=>{O()})},k=()=>{let B;return e.virtual&&e.params.virtual.enabled?B=e.slides.find(K=>K.classList.contains("swiper-slide-active")):B=e.slides[e.activeIndex],B?parseInt(B.getAttribute("data-swiper-autoplay"),10):void 0},L=B=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(c),O();let q=typeof B>"u"?e.params.autoplay.delay:B;f=e.params.autoplay.delay,d=e.params.autoplay.delay;const K=k();!Number.isNaN(K)&&K>0&&typeof B>"u"&&(q=K,f=K,d=K),p=q;const $=e.params.speed,Y=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev($,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,$,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext($,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,$,!0,!0),i("autoplay")),e.params.cssMode&&(m=new Date().getTime(),requestAnimationFrame(()=>{L()})))};return q>0?(clearTimeout(u),u=setTimeout(()=>{Y()},q)):requestAnimationFrame(()=>{Y()}),q},H=()=>{m=new Date().getTime(),e.autoplay.running=!0,L(),i("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(u),cancelAnimationFrame(c),i("autoplayStop")},D=(B,q)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(u),B||(T=!0);const K=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",_):M()};if(e.autoplay.paused=!0,q){E&&(p=e.params.autoplay.delay),E=!1,K();return}p=(p||e.params.autoplay.delay)-(new Date().getTime()-m),!(e.isEnd&&p<0&&!e.params.loop)&&(p<0&&(p=0),K())},M=()=>{e.isEnd&&p<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(m=new Date().getTime(),T?(T=!1,L(p)):L(),e.autoplay.paused=!1,i("autoplayResume"))},P=()=>{if(e.destroyed||!e.autoplay.running)return;const B=kr();B.visibilityState==="hidden"&&(T=!0,D(!0)),B.visibilityState==="visible"&&M()},U=B=>{B.pointerType==="mouse"&&(T=!0,x=!0,!(e.animating||e.autoplay.paused)&&D(!0))},I=B=>{B.pointerType==="mouse"&&(x=!1,e.autoplay.paused&&M())},z=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",U),e.el.addEventListener("pointerleave",I))},F=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",U),e.el.removeEventListener("pointerleave",I))},R=()=>{kr().addEventListener("visibilitychange",P)},A=()=>{kr().removeEventListener("visibilitychange",P)};n("init",()=>{e.params.autoplay.enabled&&(z(),R(),H())}),n("destroy",()=>{F(),A(),e.autoplay.running&&C()}),n("_freeModeStaticRelease",()=>{(v||T)&&M()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():D(!0,!0)}),n("beforeTransitionStart",(B,q,K)=>{e.destroyed||!e.autoplay.running||(K||!e.params.autoplay.disableOnInteraction?D(!0,!0):C())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){C();return}y=!0,v=!1,T=!1,w=setTimeout(()=>{T=!0,v=!0,D(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!y)){if(clearTimeout(w),clearTimeout(u),e.params.autoplay.disableOnInteraction){v=!1,y=!1;return}v&&e.params.cssMode&&M(),v=!1,y=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(E=!0)}),Object.assign(e.autoplay,{start:H,stop:C,pause:D,resume:M})}function zY(t){let{swiper:e,extendParams:r,on:n}=t;r({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,o=!1;e.thumbs={swiper:null};function u(){const d=e.thumbs.swiper;if(!d||d.destroyed)return;const p=d.clickedIndex,m=d.clickedSlide;if(m&&m.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof p>"u"||p===null)return;let g;d.params.loop?g=parseInt(d.clickedSlide.getAttribute("data-swiper-slide-index"),10):g=p,e.params.loop?e.slideToLoop(g):e.slideTo(g)}function c(){const{thumbs:d}=e.params;if(i)return!1;i=!0;const p=e.constructor;if(d.swiper instanceof p){if(d.swiper.destroyed)return i=!1,!1;e.thumbs.swiper=d.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
80),e.thumbs.swiper.update()}else if(Ru(d.swiper)){const m=Object.assign({},d.swiper);Object.assign(m,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new p(m),o=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",u),!0}function f(d){const p=e.thumbs.swiper;if(!p||p.destroyed)return;const m=p.params.slidesPerView==="auto"?p.slidesPerViewDynamic():p.params.slidesPerView;let g=1;const y=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(g=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(g=1),g=Math.floor(g),p.slides.forEach(E=>E.classList.remove(y)),p.params.loop||p.params.virtual&&p.params.virtual.enabled)for(let E=0;E<g;E+=1)$r(p.slidesEl,`[data-swiper-slide-index="${e.realIndex+E}"]`).forEach(T=>{T.classList.add(y)});else for(let E=0;E<g;E+=1)p.slides[e.realIndex+E]&&p.slides[e.realIndex+E].classList.add(y);const v=e.params.thumbs.autoScrollOffset,w=v&&!p.params.loop;if(e.realIndex!==p.realIndex||w){const E=p.activeIndex;let T,x;if(p.params.loop){const _=p.slides.find(O=>O.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);T=p.slides.indexOf(_),x=e.activeIndex>e.previousIndex?"next":"prev"}else T=e.realIndex,x=T>e.previousIndex?"next":"prev";w&&(T+=x==="next"?v:-1*v),p.visibleSlidesIndexes&&p.visibleSlidesIndexes.indexOf(T)<0&&(p.params.centeredSlides?T>E?T=T-Math.floor(m/2)+1:T=T+Math.floor(m/2)-1:T>E&&p.params.slidesPerGroup,p.slideTo(T,d?0:void 0))}}n("beforeInit",()=>{const{thumbs:d}=e.params;if(!(!d||!d.swiper))if(typeof d.swiper=="string"||d.swiper instanceof HTMLElement){const p=kr(),m=()=>{const y=typeof d.swiper=="string"?p.querySelector(d.swiper):d.swiper;if(y&&y.swiper)d.swiper=y.swiper,c(),f(!0);else if(y){const v=`${e.params.eventsPrefix}init`,w=E=>{d.swiper=E.detail[0],y.removeEventListener(v,w),c(),f(!0),d.swiper.update(),e.update()};y.addEventListener(v,w)}return y},g=()=>{if(e.destroyed)return;m()||requestAnimationFrame(g)};requestAnimationFrame(g)}else c(),f(!0)}),n("slideChange update resize observerUpdate",()=>{f()}),n("setTransition",(d,p)=>{const m=e.thumbs.swiper;!m||m.destroyed||m.setTransition(p)}),n("beforeDestroy",()=>{const d=e.thumbs.swiper;!d||d.destroyed||o&&d.destroy()}),Object.assign(e.thumbs,{init:c,update:f})}function jY(t){let{swiper:e,extendParams:r,emit:n,once:i}=t;r({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function o(){if(e.params.cssMode)return;const f=e.getTranslate();e.setTranslate(f),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function u(){if(e.params.cssMode)return;const{touchEventsData:f,touches:d}=e;f.velocities.length===0&&f.velocities.push({position:d[e.isHorizontal()?"startX":"startY"],time:f.touchStartTime}),f.velocities.push({position:d[e.isHorizontal()?"currentX":"currentY"],time:Wn()})}function c(f){let{currentPos:d}=f;if(e.params.cssMode)return;const{params:p,wrapperEl:m,rtlTranslate:g,snapGrid:y,touchEventsData:v}=e,E=Wn()-v.touchStartTime;if(d<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(d>-e.maxTranslate()){e.slides.length<y.length?e.slideTo(y.length-1):e.slideTo(e.slides.length-1);return}if(p.freeMode.momentum){if(v.velocities.length>1){const C=v.velocities.pop(),D=v.velocities.pop(),M=C.position-D.position,P=C.time-D.time;e.velocity=M/P,e.velocity/=2,Math.abs(e.velocity)<p.freeMode.minimumVelocity&&(e.velocity=0),(P>150||Wn()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=p.freeMode.momentumVelocityRatio,v.velocities.length=0;let T=1e3*p.freeMode.momentumRatio;const x=e.velocity*T;let _=e.translate+x;g&&(_=-_);let O=!1,k;const L=Math.abs(e.velocity)*20*p.freeMode.momentumBounceRatio;let H;if(_<e.maxTranslate())p.freeMode.momentumBounce?(_+e.maxTranslate()<-L&&(_=e.maxTranslate()-L),k=e.maxTranslate(),O=!0,v.allowMomentumBounce=!0):_=e.maxTranslate(),p.loop&&p.centeredSlides&&(H=!0);else if(_>e.minTranslate())p.freeMode.momentumBounce?(_-e.minTranslate()>L&&(_=e.minTranslate()+L),k=e.minTranslate(),O=!0,v.allowMomentumBounce
80=!0):_=e.minTranslate(),p.loop&&p.centeredSlides&&(H=!0);else if(p.freeMode.sticky){let C;for(let D=0;D<y.length;D+=1)if(y[D]>-_){C=D;break}Math.abs(y[C]-_)<Math.abs(y[C-1]-_)||e.swipeDirection==="next"?_=y[C]:_=y[C-1],_=-_}if(H&&i("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(g?T=Math.abs((-_-e.translate)/e.velocity):T=Math.abs((_-e.translate)/e.velocity),p.freeMode.sticky){const C=Math.abs((g?-_:_)-e.translate),D=e.slidesSizesGrid[e.activeIndex];C<D?T=p.speed:C<2*D?T=p.speed*1.5:T=p.speed*2.5}}else if(p.freeMode.sticky){e.slideToClosest();return}p.freeMode.momentumBounce&&O?(e.updateProgress(k),e.setTransition(T),e.setTranslate(_),e.transitionStart(!0,e.swipeDirection),e.animating=!0,zu(m,()=>{!e||e.destroyed||!v.allowMomentumBounce||(n("momentumBounce"),e.setTransition(p.speed),setTimeout(()=>{e.setTranslate(k),zu(m,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(_),e.setTransition(T),e.setTranslate(_),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,zu(m,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(_),e.updateActiveIndex(),e.updateSlidesClasses()}else if(p.freeMode.sticky){e.slideToClosest();return}else p.freeMode&&n("_freeModeNoMomentumRelease");(!p.freeMode.momentum||E>=p.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:u,onTouchEnd:c}})}function IY(t){let{swiper:e,extendParams:r,on:n}=t;r({grid:{rows:1,fill:"column"}});let i,o,u,c;const f=()=>{let w=e.params.spaceBetween;return typeof w=="string"&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*e.size:typeof w=="string"&&(w=parseFloat(w)),w},d=w=>{const{slidesPerView:E}=e.params,{rows:T,fill:x}=e.params.grid,_=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:w.length;u=Math.floor(_/T),Math.floor(_/T)===_/T?i=_:i=Math.ceil(_/T)*T,E!=="auto"&&x==="row"&&(i=Math.max(i,E*T)),o=i/T},p=()=>{e.slides&&e.slides.forEach(w=>{w.swiperSlideGridSet&&(w.style.height="",w.style[e.getDirectionLabel("margin-top")]="")})},m=(w,E,T)=>{const{slidesPerGroup:x}=e.params,_=f(),{rows:O,fill:k}=e.params.grid,L=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:T.length;let H,C,D;if(k==="row"&&x>1){const M=Math.floor(w/(x*O)),P=w-O*x*M,U=M===0?x:Math.min(Math.ceil((L-M*O*x)/O),x);D=Math.floor(P/U),C=P-D*U+M*x,H=C+D*i/O,E.style.order=H}else k==="column"?(C=Math.floor(w/O),D=w-C*O,(C>u||C===u&&D===O-1)&&(D+=1,D>=O&&(D=0,C+=1))):(D=Math.floor(w/o),C=w-D*o);E.row=D,E.column=C,E.style.height=`calc((100% - ${(O-1)*_}px) / ${O})`,E.style[e.getDirectionLabel("margin-top")]=D!==0?_&&`${_}px`:"",E.swiperSlideGridSet=!0},g=(w,E)=>{const{centeredSlides:T,roundLengths:x}=e.params,_=f(),{rows:O}=e.params.grid;if(e.virtualSize=(w+_)*i,e.virtualSize=Math.ceil(e.virtualSize/O)-_,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+_}px`),T){const k=[];for(let L=0;L<E.length;L+=1){let H=E[L];x&&(H=Math.floor(H)),E[L]<e.virtualSize+E[0]&&k.push(H)}E.splice(0,E.length),E.push(...k)}},y=()=>{c=e.params.grid&&e.params.grid.rows>1},v=()=>{const{params:w,el:E}=e,T=w.grid&&w.grid.rows>1;c&&!T?(E.classList.remove(`${w.containerModifierClass}grid`,`${w.containerModifierClass}grid-column`),u=1,e.emitContainerClasses()):!c&&T&&(E.classList.add(`${w.containerModifierClass}grid`),w.grid.fill==="column"&&E.classList.add(`${w.containerModifierClass}grid-column`),e.emitContainerClasses()),c=T};n("init",y),n("update",v),e.grid={initSlides:d,unsetSlides:p,updateSlide:m,updateWrapperSize:g}}function UY(t){const e=this,{params:r,slidesEl:n}=e;r.loop&&e.loopDestroy();const i=o=>{if(typeof o=="string"){const u=document.createElement("div");Qn(u,o),n.append(u.children[0]),Qn(u,"")}else n.append(o)};if(typeof t=="object"&&"length"in t)for(let o=0;o<t.length;o+=1)t[o]&&i(t[o]);else i(t);e.recalcSlides(),r.loop&&e.loopCreate(),(!r.observer||e.isElement)&&e.update()}function $Y(t){const e=this,{params:r,activeIndex:n,slidesEl:i}=e;r.loop&&e.loopDestroy();let o=n+1;const u=c=>{if(typeof c=="string"){const f=document.createElement("div");Qn(f,c),i.prepend(f.children[0]),Qn(f,"")}else i.prepend(c)};if(typeof t=="object"&&"length"in t){for(let c=0;c<t.length;c+=1)t[c]&&u(t[c]);o=n+t.length}else u(t);e.recalcSlides(),r.loop&&e.loopCreate(),(!r.observer||e.isElement)&&e.update(
80),e.slideTo(o,0,!1)}function HY(t,e){const r=this,{params:n,activeIndex:i,slidesEl:o}=r;let u=i;n.loop&&(u-=r.loopedSlides,r.loopDestroy(),r.recalcSlides());const c=r.slides.length;if(t<=0){r.prependSlide(e);return}if(t>=c){r.appendSlide(e);return}let f=u>t?u+1:u;const d=[];for(let p=c-1;p>=t;p-=1){const m=r.slides[p];m.remove(),d.unshift(m)}if(typeof e=="object"&&"length"in e){for(let p=0;p<e.length;p+=1)e[p]&&o.append(e[p]);f=u>t?u+e.length:u}else o.append(e);for(let p=0;p<d.length;p+=1)o.append(d[p]);r.recalcSlides(),n.loop&&r.loopCreate(),(!n.observer||r.isElement)&&r.update(),n.loop?r.slideTo(f+r.loopedSlides,0,!1):r.slideTo(f,0,!1)}function BY(t){const e=this,{params:r,activeIndex:n}=e;let i=n;r.loop&&(i-=e.loopedSlides,e.loopDestroy());let o=i,u;if(typeof t=="object"&&"length"in t){for(let c=0;c<t.length;c+=1)u=t[c],e.slides[u]&&e.slides[u].remove(),u<o&&(o-=1);o=Math.max(o,0)}else u=t,e.slides[u]&&e.slides[u].remove(),u<o&&(o-=1),o=Math.max(o,0);e.recalcSlides(),r.loop&&e.loopCreate(),(!r.observer||e.isElement)&&e.update(),r.loop?e.slideTo(o+e.loopedSlides,0,!1):e.slideTo(o,0,!1)}function FY(){const t=this,e=[];for(let r=0;r<t.slides.length;r+=1)e.push(r);t.removeSlide(e)}function qY(t){let{swiper:e}=t;Object.assign(e,{appendSlide:UY.bind(e),prependSlide:$Y.bind(e),addSlide:HY.bind(e),removeSlide:BY.bind(e),removeAllSlides:FY.bind(e)})}function gl(t){const{effect:e,swiper:r,on:n,setTranslate:i,setTransition:o,overwriteParams:u,perspective:c,recreateShadows:f,getEffectParams:d}=t;n("beforeInit",()=>{if(r.params.effect!==e)return;r.classNames.push(`${r.params.containerModifierClass}${e}`),c&&c()&&r.classNames.push(`${r.params.containerModifierClass}3d`);const m=u?u():{};Object.assign(r.params,m),Object.assign(r.originalParams,m)}),n("setTranslate _virtualUpdated",()=>{r.params.effect===e&&i()}),n("setTransition",(m,g)=>{r.params.effect===e&&o(g)}),n("transitionEnd",()=>{if(r.params.effect===e&&f){if(!d||!d().slideShadows)return;r.slides.forEach(m=>{m.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(g=>g.remove())}),f()}});let p;n("virtualUpdate",()=>{r.params.effect===e&&(r.slides.length||(p=!0),requestAnimationFrame(()=>{p&&r.slides&&r.slides.length&&(i(),p=!1)}))})}function pc(t,e){const r=Ks(e);return r!==e&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}function Ch(t){let{swiper:e,duration:r,transformElements:n,allSlides:i}=t;const{activeIndex:o}=e,u=c=>c.parentElement?c.parentElement:e.slides.find(d=>d.shadowRoot&&d.shadowRoot===c.parentNode);if(e.params.virtualTranslate&&r!==0){let c=!1,f;i?f=n:f=n.filter(d=>{const p=d.classList.contains("swiper-slide-transform")?u(d):d;return e.getSlideIndex(p)===o}),f.forEach(d=>{zu(d,()=>{if(c||!e||e.destroyed)return;c=!0,e.animating=!1;const p=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(p)})})}}function YY(t){let{swiper:e,extendParams:r,on:n}=t;r({fadeEffect:{crossFade:!1}}),gl({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:u}=e,c=e.params.fadeEffect;for(let f=0;f<u.length;f+=1){const d=e.slides[f];let m=-d.swiperSlideOffset;e.params.virtualTranslate||(m-=e.translate);let g=0;e.isHorizontal()||(g=m,m=0);const y=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(d.progress),0):1+Math.min(Math.max(d.progress,-1),0),v=pc(c,d);v.style.opacity=y,v.style.transform=`translate3d(${m}px, ${g}px, 0px)`}},setTransition:u=>{const c=e.slides.map(f=>Ks(f));c.forEach(f=>{f.style.transitionDuration=`${u}ms`}),Ch({swiper:e,duration:u,transformElements:c,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function VY(t){let{swiper:e,extendParams:r,on:n}=t;r({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(f,d,p)=>{let m=p?f.querySelector(".swiper-slide-shadow-left"):f.querySelector(".swiper-slide-shadow-top"),g=p?f.querySelector(".swiper-slide-shadow-right"):f.querySelector(".swiper-slide-shadow-bottom");m||(m=kn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${p?"left":"top"}`.split(" ")),f.append(m)),g||(g=kn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${p?"right":"bottom"}`.split(" ")),f.append(g)),m&&(m.style.opacity=Math.max(-d,0)),g&&(g.style.opacity=Math.max(d,0))};gl({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{el:f,wrapperEl:d,slides:p,width:m,height:g,rtlTranslate:y,size:v,browser:w}=e,E=Th(e),T=e.params.cubeEffect,x=e.isHorizontal(),_=e.virtual&&e.params.virtual.enabled;let O=0,k;T.shadow&&(x?(k=e.wrapperEl.querySelector(".swiper-cube-shadow"),k||(k=kn("div","swiper-cube-shadow"),e.wrapperEl.append(k)),k.style.height=`${m}px`):(k=f.querySelector(".swiper-cube-shadow"),k||(k=kn("div","swiper-cube-shadow"),f.append(k))));for(let H=0;H<p.length;H+=1){const C=p[H];let D=H;
80_&&(D=parseInt(C.getAttribute("data-swiper-slide-index"),10));let M=D*90,P=Math.floor(M/360);y&&(M=-M,P=Math.floor(-M/360));const U=Math.max(Math.min(C.progress,1),-1);let I=0,z=0,F=0;D%4===0?(I=-P*4*v,F=0):(D-1)%4===0?(I=0,F=-P*4*v):(D-2)%4===0?(I=v+P*4*v,F=v):(D-3)%4===0&&(I=-v,F=3*v+v*4*P),y&&(I=-I),x||(z=I,I=0);const R=`rotateX(${E(x?0:-M)}deg) rotateY(${E(x?M:0)}deg) translate3d(${I}px, ${z}px, ${F}px)`;U<=1&&U>-1&&(O=D*90+U*90,y&&(O=-D*90-U*90)),C.style.transform=R,T.slideShadows&&i(C,U,x)}if(d.style.transformOrigin=`50% 50% -${v/2}px`,d.style["-webkit-transform-origin"]=`50% 50% -${v/2}px`,T.shadow)if(x)k.style.transform=`translate3d(0px, ${m/2+T.shadowOffset}px, ${-m/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${T.shadowScale})`;else{const H=Math.abs(O)-Math.floor(Math.abs(O)/90)*90,C=1.5-(Math.sin(H*2*Math.PI/360)/2+Math.cos(H*2*Math.PI/360)/2),D=T.shadowScale,M=T.shadowScale/C,P=T.shadowOffset;k.style.transform=`scale3d(${D}, 1, ${M}) translate3d(0px, ${g/2+P}px, ${-g/2/M}px) rotateX(-89.99deg)`}const L=(w.isSafari||w.isWebView)&&w.needPerspectiveFix?-v/2:0;d.style.transform=`translate3d(0px,0,${L}px) rotateX(${E(e.isHorizontal()?0:O)}deg) rotateY(${E(e.isHorizontal()?-O:0)}deg)`,d.style.setProperty("--swiper-cube-translate-z",`${L}px`)},setTransition:f=>{const{el:d,slides:p}=e;if(p.forEach(m=>{m.style.transitionDuration=`${f}ms`,m.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(g=>{g.style.transitionDuration=`${f}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const m=d.querySelector(".swiper-cube-shadow");m&&(m.style.transitionDuration=`${f}ms`)}},recreateShadows:()=>{const f=e.isHorizontal();e.slides.forEach(d=>{const p=Math.max(Math.min(d.progress,1),-1);i(d,p,f)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function ol(t,e,r){const n=`swiper-slide-shadow${r?`-${r}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=Ks(e);let o=i.querySelector(`.${n.split(" ").join(".")}`);return o||(o=kn("div",n.split(" ")),i.append(o)),o}function GY(t){let{swiper:e,extendParams:r,on:n}=t;r({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(f,d)=>{let p=e.isHorizontal()?f.querySelector(".swiper-slide-shadow-left"):f.querySelector(".swiper-slide-shadow-top"),m=e.isHorizontal()?f.querySelector(".swiper-slide-shadow-right"):f.querySelector(".swiper-slide-shadow-bottom");p||(p=ol("flip",f,e.isHorizontal()?"left":"top")),m||(m=ol("flip",f,e.isHorizontal()?"right":"bottom")),p&&(p.style.opacity=Math.max(-d,0)),m&&(m.style.opacity=Math.max(d,0))};gl({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:f,rtlTranslate:d}=e,p=e.params.flipEffect,m=Th(e);for(let g=0;g<f.length;g+=1){const y=f[g];let v=y.progress;e.params.flipEffect.limitRotation&&(v=Math.max(Math.min(y.progress,1),-1));const w=y.swiperSlideOffset;let T=-180*v,x=0,_=e.params.cssMode?-w-e.translate:-w,O=0;e.isHorizontal()?d&&(T=-T):(O=_,_=0,x=-T,T=0),y.style.zIndex=-Math.abs(Math.round(v))+f.length,p.slideShadows&&i(y,v);const k=`translate3d(${_}px, ${O}px, 0px) rotateX(${m(x)}deg) rotateY(${m(T)}deg)`,L=pc(p,y);L.style.transform=k}},setTransition:f=>{const d=e.slides.map(p=>Ks(p));d.forEach(p=>{p.style.transitionDuration=`${f}ms`,p.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(m=>{m.style.transitionDuration=`${f}ms`})}),Ch({swiper:e,duration:f,transformElements:d})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(f=>{let d=f.progress;e.params.flipEffect.limitRotation&&(d=Math.max(Math.min(f.progress,1),-1)),i(f,d)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function XY(t){let{swiper:e,extendParams:r,on:n}=t;r({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),gl({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:u,height:c,slides:f,slidesSizesGrid:d}=e,p=e.params.coverflowEffect,m=e.isHorizontal(),g=e.translate,y=m?-g+u/2:-g+c/2,v=m?p.rotate:-p.rotate,w=p.depth,E=Th(e);for(let T=0,x=f.length;T<x;T+=1){const _=f[T],O=d[T],k=_.swiperSlideOffset,L=(y-k-O/2)/O,H=typeof p.modifier=="function"?p.modifier(L):L*p.modifier;let C=m?v*H:0,D=m?0:v*H,M=-w*Math.abs(H),P=p.stretch;typeof P=="string"&&P.indexOf("%")!==-1&&(P=parseFloat(p.stretch)/100*O);let U=m?0:P*H,I=m?P*H:0,z=1-(1-p.scale)*Math.abs(H);Math.abs(I)<.001&&(I=0),Math.abs(U)<.001&&(U=0),Math.abs(M)<.001&&(M=0),Math.abs(C)<.001&&(C=0),Math.abs(D)<.001&&(D=0),Math.abs(z)<.001&&(z=0);const F=`translate3d(${I}px,${U}px,${M}px) rotateX(${E(D)}deg) rotateY(${E(C)}deg) scale(${z})`,R=pc(p,_);if(R.style.transform=F,_.style.zIndex=-Math.abs(Math.round(H))+1,p.slideShadows){let A=m?_.querySelector(".swiper-slide-shadow-left"):_.querySelector(".swiper-slide-shadow-top"),B=m?_.querySelector(".swiper-slide-shadow-right"):_.querySelector(".swiper-slide-shadow-bottom");A||(A=ol("coverflow",_,m?"left":"top")),B||(B=ol("coverflow",_,m?"right":"bottom")),A&&(A.style.opacity=H>0?H:0),B&&(B.style.opacity=-H>0?-H:0)}}},setTransition:u=>{e.slides.map(f=>
80Ks(f)).forEach(f=>{f.style.transitionDuration=`${u}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${u}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function WY(t){let{swiper:e,extendParams:r,on:n}=t;r({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=c=>typeof c=="string"?c:`${c}px`;gl({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:c,wrapperEl:f,slidesSizesGrid:d}=e,p=e.params.creativeEffect,{progressMultiplier:m}=p,g=e.params.centeredSlides,y=Th(e);if(g){const v=d[0]/2-e.params.slidesOffsetBefore||0;f.style.transform=`translateX(calc(50% - ${v}px))`}for(let v=0;v<c.length;v+=1){const w=c[v],E=w.progress,T=Math.min(Math.max(w.progress,-p.limitProgress),p.limitProgress);let x=T;g||(x=Math.min(Math.max(w.originalProgress,-p.limitProgress),p.limitProgress));const _=w.swiperSlideOffset,O=[e.params.cssMode?-_-e.translate:-_,0,0],k=[0,0,0];let L=!1;e.isHorizontal()||(O[1]=O[0],O[0]=0);let H={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};T<0?(H=p.next,L=!0):T>0&&(H=p.prev,L=!0),O.forEach((z,F)=>{O[F]=`calc(${z}px + (${i(H.translate[F])} * ${Math.abs(T*m)}))`}),k.forEach((z,F)=>{let R=H.rotate[F]*Math.abs(T*m);k[F]=R}),w.style.zIndex=-Math.abs(Math.round(E))+c.length;const C=O.join(", "),D=`rotateX(${y(k[0])}deg) rotateY(${y(k[1])}deg) rotateZ(${y(k[2])}deg)`,M=x<0?`scale(${1+(1-H.scale)*x*m})`:`scale(${1-(1-H.scale)*x*m})`,P=x<0?1+(1-H.opacity)*x*m:1-(1-H.opacity)*x*m,U=`translate3d(${C}) ${D} ${M}`;if(L&&H.shadow||!L){let z=w.querySelector(".swiper-slide-shadow");if(!z&&H.shadow&&(z=ol("creative",w)),z){const F=p.shadowPerProgress?T*(1/p.limitProgress):T;z.style.opacity=Math.min(Math.max(Math.abs(F),0),1)}}const I=pc(p,w);I.style.transform=U,I.style.opacity=P,H.origin&&(I.style.transformOrigin=H.origin)}},setTransition:c=>{const f=e.slides.map(d=>Ks(d));f.forEach(d=>{d.style.transitionDuration=`${c}ms`,d.querySelectorAll(".swiper-slide-shadow").forEach(p=>{p.style.transitionDuration=`${c}ms`})}),Ch({swiper:e,duration:c,transformElements:f,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function KY(t){let{swiper:e,extendParams:r,on:n}=t;r({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),gl({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:u,activeIndex:c,rtlTranslate:f}=e,d=e.params.cardsEffect,{startTranslate:p,isTouched:m}=e.touchEventsData,g=f?-e.translate:e.translate;for(let y=0;y<u.length;y+=1){const v=u[y],w=v.progress,E=Math.min(Math.max(w,-4),4);let T=v.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(T-=u[0].swiperSlideOffset);let x=e.params.cssMode?-T-e.translate:-T,_=0;const O=-100*Math.abs(E);let k=1,L=-d.perSlideRotate*E,H=d.perSlideOffset-Math.abs(E)*.75;const C=e.virtual&&e.params.virtual.enabled?e.virtual.from+y:y,D=(C===c||C===c-1)&&E>0&&E<1&&(m||e.params.cssMode)&&g<p,M=(C===c||C===c+1)&&E<0&&E>-1&&(m||e.params.cssMode)&&g>p;if(D||M){const z=(1-Math.abs((Math.abs(E)-.5)/.5))**.5;L+=-28*E*z,k+=-.5*z,H+=96*z,_=`${-25*z*Math.abs(E)}%`}if(E<0?x=`calc(${x}px ${f?"-":"+"} (${H*Math.abs(E)}%))`:E>0?x=`calc(${x}px ${f?"-":"+"} (-${H*Math.abs(E)}%))`:x=`${x}px`,!e.isHorizontal()){const z=_;_=x,x=z}const P=E<0?`${1+(1-k)*E}`:`${1-(1-k)*E}`,U=` 81 translate3d(${x}, ${_}, ${O}px) 82 rotateZ(${d.rotate?f?-L:L:0}deg) 83 scale(${P}) 84 `;if(d.slideShadows){let z=v.querySelector(".swiper-slide-shadow");z||(z=ol("cards",v)),z&&(z.style.opacity=Math.min(Math.max((Math.abs(E)-.5)/.5,0),1))}v.style.zIndex=-Math.abs(Math.round(w))+u.length;const I=pc(d,v);I.style.transform=U}},setTransition:u=>{const c=e.slides.map(f=>Ks(f));
84c.forEach(f=>{f.style.transitionDuration=`${u}ms`,f.querySelectorAll(".swiper-slide-shadow").forEach(d=>{d.style.transitionDuration=`${u}ms`})}),Ch({swiper:e,duration:u,transformElements:c})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}const QY=[xY,_Y,TY,CY,RY,AY,OY,MY,DY,kY,LY,NY,PY,zY,jY,IY,qY,YY,VY,GY,XY,WY,KY];An.use(QY);const Rh=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function ll(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Jv(t,e){const r=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>r.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:ll(e[n])&&ll(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Jv(t[n],e[n]):t[n]=e[n]})}function ZY(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function JY(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function eV(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function ff(t){return t===void 0&&(t=""),t.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function tV(t){let{swiper:e,slides:r,passedParams:n,changedParams:i,nextEl:o,prevEl:u,scrollbarEl:c,paginationEl:f}=t;const d=i.filter(D=>D!=="children"&&D!=="direction"&&D!=="wrapperClass"),{params:p,pagination:m,navigation:g,scrollbar:y,virtual:v,thumbs:w}=e;let E,T,x,_,O,k,L,H;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&p.thumbs&&(!p.thumbs.swiper||p.thumbs.swiper.destroyed)&&(E=!0),i.includes("controller")&&n.controller&&n.controller.control&&p.controller&&!p.controller.control&&(T=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||f)&&(p.pagination||p.pagination===!1)&&m&&!m.el&&(x=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||c)&&(p.scrollbar||p.scrollbar===!1)&&y&&!y.el&&(_=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||u)&&(n.navigation.nextEl||o)&&(p.navigation||p.navigation===!1)&&g&&!g.prevEl&&!g.nextEl&&(O=!0);const C=D=>
84{e[D]&&(e[D].destroy(),D==="navigation"?(e.isElement&&(e[D].prevEl.remove(),e[D].nextEl.remove()),p[D].prevEl=void 0,p[D].nextEl=void 0,e[D].prevEl=void 0,e[D].nextEl=void 0):(e.isElement&&e[D].el.remove(),p[D].el=void 0,e[D].el=void 0))};i.includes("loop")&&e.isElement&&(p.loop&&!n.loop?k=!0:!p.loop&&n.loop?L=!0:H=!0),d.forEach(D=>{if(ll(p[D])&&ll(n[D]))Object.assign(p[D],n[D]),(D==="navigation"||D==="pagination"||D==="scrollbar")&&"enabled"in n[D]&&!n[D].enabled&&C(D);else{const M=n[D];(M===!0||M===!1)&&(D==="navigation"||D==="pagination"||D==="scrollbar")?M===!1&&C(D):p[D]=n[D]}}),d.includes("controller")&&!T&&e.controller&&e.controller.control&&p.controller&&p.controller.control&&(e.controller.control=p.controller.control),i.includes("children")&&r&&v&&p.virtual.enabled?(v.slides=r,v.update(!0)):i.includes("virtual")&&v&&p.virtual.enabled&&(r&&(v.slides=r),v.update(!0)),i.includes("children")&&r&&p.loop&&(H=!0),E&&w.init()&&w.update(!0),T&&(e.controller.control=p.controller.control),x&&(e.isElement&&(!f||typeof f=="string")&&(f=document.createElement("div"),f.classList.add("swiper-pagination"),f.part.add("pagination"),e.el.appendChild(f)),f&&(p.pagination.el=f),m.init(),m.render(),m.update()),_&&(e.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-scrollbar"),c.part.add("scrollbar"),e.el.appendChild(c)),c&&(p.scrollbar.el=c),y.init(),y.updateSize(),y.setTranslate()),O&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),Qn(o,e.hostEl.constructor.nextButtonSvg),o.part.add("button-next"),e.el.appendChild(o)),(!u||typeof u=="string")&&(u=document.createElement("div"),u.classList.add("swiper-button-prev"),Qn(u,e.hostEl.constructor.prevButtonSvg),u.part.add("button-prev"),e.el.appendChild(u))),o&&(p.navigation.nextEl=o),u&&(p.navigation.prevEl=u),g.init(),g.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&e.changeDirection(n.direction,!1),(k||H)&&e.loopDestroy(),(L||H)&&e.loopCreate(),e.update()}const H2=t=>{if(parseFloat(t)===Number(t))return Number(t);if(t==="true"||t==="")return!0;if(t==="false")return!1;if(t==="null")return null;if(t!=="undefined"){if(typeof t=="string"&&t.includes("{")&&t.includes("}")&&t.includes('"')){let e;try{e=JSON.parse(t)}catch{e=t}return e}return t}},B2=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function F2(t,e,r){const n={},i={};Jv(n,Zv);const o=[...Rh,"on"],u=o.map(f=>f.replace(/_/,""));o.forEach(f=>{f=f.replace("_",""),typeof t[f]<"u"&&(i[f]=t[f])});const c=[...t.attributes];return typeof e=="string"&&typeof r<"u"&&c.push({name:e,value:ll(r)?{...r}:r}),c.forEach(f=>{const d=B2.find(p=>f.name.startsWith(`${p}-`));if(d){const p=ff(d),m=ff(f.name.split(`${d}-`)[1]);typeof i[p]>"u"&&(i[p]={}),i[p]===!0&&(i[p]={enabled:!0}),i[p]===!1&&(i[p]={enabled:!1}),i[p][m]=H2(f.value)}else{const p=ff(f.name);if(!u.includes(p))return;const m=H2(f.value);i[p]&&B2.includes(f.name)&&!ll(m)?(i[p].constructor!==Object&&(i[p]={}),i[p].enabled=!!m):i[p]=m}}),Jv(n,i),n.navigation?n.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...n.navigation!==!0?n.navigation:{}}:n.navigation===!1&&delete n.navigation,n.scrollbar?n.scrollbar={el:".swiper-scrollbar",...n.scrollbar!==!0?n.scrollbar:{}}:n.scrollbar===!1&&delete n.scrollbar,n.pagination?n.pagination={el:".swiper-pagination",...n.pagination!==!0?n.pagination:{}}:n.pagination===!1&&delete n.pagination,{params:n,passedParams:i}}const rV=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){he
84ight:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
84.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;
84left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",nV="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;
84left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class aV{}const AM=typeof window>"u"||typeof HTMLElement>"u"?aV:HTMLElement,q2=`<svg width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg> 85 `,OM=(t,e)=>{if(typeof CSSStyleSheet<"u"&&t.adoptedStyleSheets){const r=new CSSStyleSheet;r.replaceSync(e),t.adoptedStyleSheets=[r]}else{const r=document.createElement("style");r.rel="stylesheet",r.textContent=e,t.appendChild(r)}};class MM extends AM{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return q2}static get prevButtonSvg(){return q2.replace("/></svg>",' transform-origin="center" transform="rotate(180)"/></svg>')}cssStyles(){return[rV,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` 86`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const e=this.slideSlots||0,r=[...this.querySelectorAll("[slot^=slide-]")].map(n=>parseInt(n.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=r.length?Math.max(...r)+1:0,!!this.rendered){if(this.slideSlots>e)for(let n=e;n<this.slideSlots;n+=1){const i=document.createElement("swiper-slide");i.setAttribute("part",`slide slide-${n+1}`);const o=document.createElement("slot");o.setAttribute("name",`slide-${n+1}`),i.appendChild(o),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(i)}else if(this.slideSlots<e){const n=this.swiper.slides;for(let i=n.length-1;i>=0;i-=1)i>this.slideSlots&&n[i].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&OM(this.shadowRoot,e),this.cssLinks().forEach(n=>{if(this.shadowRoot.querySelector(`link[href="${n}"]`))return;const o=document.createElement("link");o.rel="stylesheet",o.href=n,this.shadowRoot.appendChild(o)});const r=document.createElement("div");r.classList.add("swiper"),r.part="container",Qn(r,` 87 <slot name="container-start"></slot> 88 <div class="swiper-wrapper" part="wrapper"> 89 <slot></slot> 90 ${Array.from({length:this.slideSlots}).map((n,i)=>` 91 <swiper-slide part="slide slide-${i}"> 92 <slot name="slide-${i}"></slot> 93 </swiper-slide> 94 `).join("")} 95 </div> 96 <slot name="container-end"></slot> 97 ${ZY(this.passedParams)?` 98 <div part="button-prev" class="swiper-button-prev">${this.constructor.prevButtonSvg}</div> 99 <div part="button-next" class="swiper-button-next">${this.constructor.nextButtonSvg}</div> 100 `:""} 101 ${JY(this.passedParams)?` 102 <div part="pagination" class="swiper-pagination"></div> 103 `:""} 104 ${eV(this.passedParams)?` 105 <div part="scrollbar" class="swiper-scrollbar"></div> 106 `:""} 107 `),this.shadowRoot.appendChild(r),this.rendered=!0}initialize(){var e=this;if(this.swiper&&this.swiper.initialized)return;const{params:r,passedParams:n}=F2(this);this.swiperParams=r,this.passedParams=n,delete this.swiperParams.init,this.render(),this.swiper=new An(this.shadowRoot.querySelector(".swiper"),{...r.virtual?{}:{observer:!0},...r,touchEventsTarget:"container",onAny:function(i){i==="observerUpdate"&&e.calcSlideSlots();const o=r.eventsPrefix?`${r.eventsPrefix}${i.toLowerCase()}`:i.toLowerCase();for(var u=arguments.length,c=new Array(u>1?u-1:0),f=1;f<u;f++)c[f-1]=arguments[f];const d=new CustomEvent(o,{detail:c,bubbles:i!=="hashChange",cancelable:!0});e.dispatchEvent(d)}})}connectedCallback(){this.swiper&&this.swiper.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.init===!1||this.getAttribute("init")==="false"||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.swiper&&this.swiper.destroy&&this.swiper.destroy()}updateSwiperOnPropChange(e,r){const{params:n,passedParams:i}=F2(this,e,r);this.passedParams=i,this.swiperParams=n,!(this.swiper&&this.swiper.params[e]===r)&&tV({swiper:this.swiper,passedParams:this.passedParams,changedParams:[ff(e)],...e==="navigation"&&i[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},...e==="pagination"&&i[e]?{paginationEl:".swiper-pagination"}:{},...e==="scrollbar"&&i[e]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(e,r,n){this.swiper&&this.swiper.initialized&&(r==="true"&&n===null&&(n=!1),this.updateSwiperOnPropChange(e,n))}static get observedAttributes(){return Rh.filter(r=>r.includes("_")).map(r=>r.replace(/[A-Z]/g,n=>`-${n}`).replace("_","").toLowerCase())}}
107Rh.forEach(t=>{t!=="init"&&(t=t.replace("_",""),Object.defineProperty(MM.prototype,t,{configurable:!0,get(){return(this.passedParams||{})[t]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[t]=e,this.swiper&&this.swiper.initialized&&this.updateSwiperOnPropChange(t,e)}}))});class iV extends AM{constructor(){super(),this.attachShadow({mode:"open"})}render(){const e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(OM(this.shadowRoot,nV),this.shadowRoot.appendChild(document.createElement("slot")),e){const r=document.createElement("div");r.classList.add("swiper-lazy-preloader"),r.part.add("preloader"),this.shadowRoot.appendChild(r)}}initialize(){this.render()}connectedCallback(){this.swiperLoopMoveDOM||this.initialize()}}const sV=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",MM),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",iV))};typeof window<"u"&&(window.SwiperElementRegisterParams=t=>{Rh.push(...t)});var Ah=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},oV=class extends Ah{#e;#t;#r;constructor(){super(),this.#r=t=>{if(typeof window<"u"&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#r=t,this.#t?.(),this.#t=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},DM=new oV,lV={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},uV=class{#e=lV;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,e){return this.#e.setTimeout(t,e)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,e){return this.#e.setInterval(t,e)}clearInterval(t){this.#e.clearInterval(t)}},ey=new uV;function cV(t){setTimeout(t,0)}var dV=typeof window>"u"||"Deno"in globalThis;function ca(){}function fV(t,e){return typeof t=="function"?t(e):t}function hV(t){return typeof t=="number"&&t>=0&&t!==1/0}function pV(t,e){return Math.max(t+(e||0)-Date.now(),0)}function ty(t,e){return typeof t=="function"?t(e):t}function mV(t,e){return typeof t=="function"?t(e):t}function Y2(t,e){const{type:r="all",exact:n,fetchStatus:i,predicate:o,queryKey:u,stale:c}=t;if(u){if(n){if(e.queryHash!==_b(u,e.options))return!1}else if(!Wu(e.queryKey,u))return!1}if(r!=="all"){const f=e.isActive();if(r==="active"&&!f||r==="inactive"&&f)return!1}return!(typeof c=="boolean"&&e.isStale()!==c||i&&i!==e.state.fetchStatus||o&&!o(e))}function V2(t,e){const{exact:r,status:n,predicate:i,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(r){if(Xu(e.options.mutationKey)!==Xu(o))return!1}else if(!Wu(e.options.mutationKey,o))return!1}return!(n&&e.state.status!==n||i&&!i(e))}function _b(t,e){return(e?.queryKeyHashFn||Xu)(t)}function Xu(t){return JSON.stringify(t,(e,r)=>ry(r)?Object.keys(r).sort().reduce((n,i)=>(n[i]=r[i],n),{}):r)}function Wu(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(r=>Wu(t[r],e[r])):!1}var gV=Object.prototype.hasOwnProperty;function kM(t,e,r=0){if(t===e)return t;if(r>500)return e;const n=G2(t)&&G2(e);if(!n&&!(ry(t)&&ry(e)))return e;const o=(n?t:Object.keys(t)).length,u=n?e:Object.keys(e),c=u.length,f=n?new Array(c):{};let d=0;for(let p=0;p<c;p++){const m=n?p:u[p],g=t[m],y=e[m];if(g===y){f[m]=g,(n?p<o:gV.call(t,m))&&d++;continue}if(g===null||y===null||typeof g!="object"||typeof y!="object"){f[m]=y;continue}const v=kM(g,y,r+1);f[m]=v,v===g&&d++}return o===c&&d===o?t:f}
107function XG(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t)if(t[r]!==e[r])return!1;return!0}function G2(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function ry(t){if(!X2(t))return!1;const e=t.constructor;if(e===void 0)return!0;const r=e.prototype;return!(!X2(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function X2(t){return Object.prototype.toString.call(t)==="[object Object]"}function vV(t){return new Promise(e=>{ey.setTimeout(e,t)})}function yV(t,e,r){return typeof r.structuralSharing=="function"?r.structuralSharing(t,e):r.structuralSharing!==!1?kM(t,e):e}function WG(t){return t}function bV(t,e,r=0){const n=[...t,e];return r&&n.length>r?n.slice(1):n}function wV(t,e,r=0){const n=[e,...t];return r&&n.length>r?n.slice(0,-1):n}var Tb=Symbol();function LM(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===Tb?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function KG(t,e){return typeof t=="function"?t(...e):!!t}function SV(t,e,r){let n=!1,i;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(i??=e(),n||(n=!0,i.aborted?r():i.addEventListener("abort",r,{once:!0})),i)}),t}var NM=(()=>{let t=()=>dV;return{isServer(){return t()},setIsServer(e){t=e}}})();function EV(){let t,e;const r=new Promise((i,o)=>{t=i,e=o});r.status="pending",r.catch(()=>{});function n(i){Object.assign(r,i),delete r.resolve,delete r.reject}return r.resolve=i=>{n({status:"fulfilled",value:i}),t(i)},r.reject=i=>{n({status:"rejected",reason:i}),e(i)},r}var xV=cV;function _V(){let t=[],e=0,r=c=>{c()},n=c=>{c()},i=xV;const o=c=>{e?t.push(c):i(()=>{r(c)})},u=()=>{const c=t;t=[],c.length&&i(()=>{n(()=>{c.forEach(f=>{r(f)})})})};return{batch:c=>{let f;e++;try{f=c()}finally{e--,e||u()}return f},batchCalls:c=>(...f)=>{o(()=>{c(...f)})},schedule:o,setNotifyFunction:c=>{r=c},setBatchNotifyFunction:c=>{n=c},setScheduler:c=>{i=c}}}var en=_V(),TV=class extends Ah{#e=!0;#t;#r;constructor(){super(),this.#r=t=>{if(typeof window<"u"&&window.addEventListener){const e=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#r=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(r=>{r(t)}))}isOnline(){return this.#e}},Pf=new TV;function CV(t){return Math.min(1e3*2**t,3e4)}function PM(t){return(t??"online")==="online"?Pf.isOnline():!0}var ny=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function zM(t){let e=!1,r=0,n;const i=EV(),o=()=>i.status!=="pending",u=w=>{if(!o()){const E=new ny(w);g(E),t.onCancel?.(E)}},c=()=>{e=!0},f=()=>{e=!1},d=()=>DM.isFocused()&&(t.networkMode==="always"||Pf.isOnline())&&t.canRun(),p=()=>PM(t.networkMode)&&t.canRun(),m=w=>{o()||(n?.(),i.resolve(w))},g=w=>{o()||(n?.(),i.reject(w))},y=()=>new Promise(w=>{n=E=>{(o()||d())&&w(E)},t.onPause?.()}).then(()=>{n=void 0,o()||t.onContinue?.()}),v=()=>{if(o())return;let w;const E=r===0?t.initialPromise:void 0;try{w=E??t.fn()}catch(T){w=Promise.reject(T)}Promise.resolve(w).then(m).catch(T=>{if(o())return;const x=t.retry??(NM.isServer()?0:3),_=t.retryDelay??CV,O=typeof _=="function"?_(r,T):_,k=x===!0||typeof x=="number"&&r<x||typeof x=="function"&&x(r,T);if(e||!k){g(T);return}r++,t.onFail?.(r,T),vV(O).then(()=>d()?void 0:y()).then(()=>{e?g(T):v()})})};return{promise:i,status:()=>i.status,cancel:u,continue:()=>(n?.(),i),cancelRetry:c,continueRetry:f,canStart:p,start:()=>(p()?v():y().then(v),i)}}var jM=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),hV(this.gcTime)&&(this.#e=ey.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(NM.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(ey.clearTimeout(this.#e),this.#e=void 0)}};function RV(t){return{onFetch:(e,r)=>
107{const n=e.options,i=e.fetchOptions?.meta?.fetchMore?.direction,o=e.state.data?.pages||[],u=e.state.data?.pageParams||[];let c={pages:[],pageParams:[]},f=0;const d=async()=>{let p=!1;const m=v=>{SV(v,()=>e.signal,()=>p=!0)},g=LM(e.options,e.fetchOptions),y=async(v,w,E)=>{if(p)return Promise.reject(e.signal.reason);if(w==null&&v.pages.length)return Promise.resolve(v);const x=(()=>{const L={client:e.client,queryKey:e.queryKey,pageParam:w,direction:E?"backward":"forward",meta:e.options.meta};return m(L),L})(),_=await g(x),{maxPages:O}=e.options,k=E?wV:bV;return{pages:k(v.pages,_,O),pageParams:k(v.pageParams,w,O)}};if(i&&o.length){const v=i==="backward",w=v?IM:ay,E={pages:o,pageParams:u},T=w(n,E);c=await y(E,T,v)}else{const v=t??o.length;do{const w=f===0?u[0]??n.initialPageParam:ay(n,c);if(f>0&&w==null)break;c=await y(c,w),f++}while(f<v)}return c};e.options.persister?e.fetchFn=()=>e.options.persister?.(d,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r):e.fetchFn=d}}}function ay(t,{pages:e,pageParams:r}){const n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,r[n],r):void 0}function IM(t,{pages:e,pageParams:r}){return e.length>0?t.getPreviousPageParam?.(e[0],e,r[0],r):void 0}function QG(t,e){return e?ay(t,e)!=null:!1}function ZG(t,e){return!e||!t.getPreviousPageParam?!1:IM(t,e)!=null}var AV=class extends jM{#e;#t;#r;#a;#i;#n;#l;#s;constructor(t){super(),this.#s=!1,this.#l=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#a=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=K2(this.options),this.state=t.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#n?.promise}setOptions(t){if(this.options={...this.#l,...t},t?._type&&(this.#e=t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const e=K2(this.options);e.data!==void 0&&(this.setState(W2(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#a.remove(this)}setData(t,e){const r=yV(this.state.data,t,this.options);return this.#o({data:r,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),r}setState(t){this.#o({type:"setState",state:t})}cancel(t){const e=this.#n?.promise;return this.#n?.cancel(t),e?e.then(ca).catch(ca):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(t=>mV(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Tb||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ty(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!pV(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#a.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#n&&(this.#s||this.#u()?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#a.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(t,e){if(this.state.fetchStatus!=="idle"&&this.#n?.status()!=="rejected"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(d=>d.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,n=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#s=!0,r.signal)}
107)},i=()=>{const f=LM(this.options,e),p=(()=>{const m={client:this.#i,queryKey:this.queryKey,meta:this.meta};return n(m),m})();return this.#s=!1,this.options.persister?this.options.persister(f,p,this):f(p)},u=(()=>{const f={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return n(f),f})();(this.#e==="infinite"?RV(this.options.pages):this.options.behavior)?.onFetch(u,this),this.#r=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#o({type:"fetch",meta:u.fetchOptions?.meta}),this.#n=zM({initialPromise:e?.initialPromise,fn:u.fetchFn,onCancel:f=>{f instanceof ny&&f.revert&&this.setState({...this.#r,fetchStatus:"idle"}),r.abort()},onFail:(f,d)=>{this.#o({type:"failed",failureCount:f,error:d})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{const f=await this.#n.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#a.config.onSuccess?.(f,this),this.#a.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof ny){if(f.silent)return this.#n.promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw this.#o({type:"error",error:f}),this.#a.config.onError?.(f,this),this.#a.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#o(t){const e=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...OV(r.data,this.options),fetchMeta:t.meta??null};case"success":const n={...r,...W2(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#r=t.manual?n:void 0,n;case"error":const i=t.error;return{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=e(this.state),en.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#a.notify({query:this,type:"updated",action:t})})}};function OV(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:PM(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function W2(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function K2(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,r=e!==void 0,n=r?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var MV=class extends jM{#e;#t;#r;#a;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#r=t.mutationCache,this.#t=[],this.state=t.state||DV(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#r.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(t){const e=()=>{this.#i({type:"continue"})},r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=zM({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(o,u)=>{this.#i({type:"failed",failureCount:o,error:u})},onPause:()=>{this.#i({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)});const n=this.state.status==="pending",i=!this.#a.canStart();try{if(n)e();else{this.#i({type:"pending",variables:t,isPaused:i}),this.#r.config.onMutate&&await this.#r.config.onMutate(t,this,r);const u=await this.options.onMutate?.(t,r);u!==this.state.context&&this.#i({type:"pending",context:u,variables:t,isPaused:i})}const o=await this.#a.start();return await this.#r.config.onSuccess?.(o,t,this.state.context,this,r),await this.options.onSuccess?.(o,t,this.state.context,r),await this.#r.config.onSettled?.(o,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(o,null,t,this.state.context,r),this.#i({type:"success",data:o}),o}catch(o){try{await this.#r.config.onError?.(o,t,this.state.context,this,r)}catch(u){Promise.reject(u)}try{await this.options.onError?.(o,t,this.state.context,r)}catch(u){Promise.reject(u)}try{await this.#r.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,r)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,o,t,this.state.context,r)}catch(u){Promise.reject(u)}throw this.#i({type:"error",error:o}),o}finally{this.#r.runNext(this)}}#i(t){const e=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};
107case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),en.batch(()=>{this.#t.forEach(r=>{r.onMutationUpdate(t)}),this.#r.notify({mutation:this,type:"updated",action:t})})}};function DV(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var UM=class extends Ah{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#r=0}#e;#t;#r;build(t,e,r){const n=new MV({client:t,mutationCache:this,mutationId:++this.#r,options:t.defaultMutationOptions(e),state:r});return this.add(n),n}add(t){this.#e.add(t);const e=$d(t);if(typeof e=="string"){const r=this.#t.get(e);r?r.push(t):this.#t.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const e=$d(t);if(typeof e=="string"){const r=this.#t.get(e);if(r)if(r.length>1){const n=r.indexOf(t);n!==-1&&r.splice(n,1)}else r[0]===t&&this.#t.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=$d(t);if(typeof e=="string"){const n=this.#t.get(e)?.find(i=>i.state.status==="pending");return!n||n===t}else return!0}runNext(t){const e=$d(t);return typeof e=="string"?this.#t.get(e)?.find(n=>n!==t&&n.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){en.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const e={exact:!0,...t};return this.getAll().find(r=>V2(e,r))}findAll(t={}){return this.getAll().filter(e=>V2(t,e))}notify(t){en.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>
107e.state.isPaused);return en.batch(()=>Promise.all(t.map(e=>e.continue().catch(ca))))}};function $d(t){return t.options.scope?.id}var $M=class extends Ah{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,r){const n=e.queryKey,i=e.queryHash??_b(n,e);let o=this.get(i);return o||(o=new AV({client:t,queryKey:n,queryHash:i,options:t.defaultQueryOptions(e),state:r,defaultOptions:t.getQueryDefaults(n)}),this.add(o)),o}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#e.get(t.queryHash);e&&(t.destroy(),e===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){en.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(r=>Y2(e,r))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(r=>Y2(t,r)):e}notify(t){en.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){en.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){en.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},kV=class{#e;#t;#r;#a;#i;#n;#l;#s;constructor(t={}){this.#e=t.queryCache||new $M,this.#t=t.mutationCache||new UM,this.#r=t.defaultOptions||{},this.#a=new Map,this.#i=new Map,this.#n=0}mount(){this.#n++,this.#n===1&&(this.#l=DM.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Pf.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#n--,this.#n===0&&(this.#l?.(),this.#l=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),r=this.#e.build(this,e),n=r.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime(ty(e.staleTime,r))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:e,state:r})=>{const n=r.data;return[e,n]})}setQueryData(t,e,r){const n=this.defaultQueryOptions({queryKey:t}),o=this.#e.get(n.queryHash)?.state.data,u=fV(e,o);if(u!==void 0)return this.#e.build(this,n).setData(u,{...r,manual:!0})}setQueriesData(t,e,r){return en.batch(()=>this.#e.findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,r)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state}removeQueries(t){const e=this.#e;en.batch(()=>{e.findAll(t).forEach(r=>{e.remove(r)})})}resetQueries(t,e){const r=this.#e;return en.batch(()=>(r.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const r={revert:!0,...e},n=en.batch(()=>this.#e.findAll(t).map(i=>i.cancel(r)));return Promise.all(n).then(ca).catch(ca)}invalidateQueries(t,e={}){return en.batch(()=>(this.#e.findAll(t).forEach(r=>{r.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const r={...e,cancelRefetch:e.cancelRefetch??!0},n=en.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,r);return r.throwOnError||(o=o.catch(ca)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(ca)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const r=this.#e.build(this,e);return r.isStaleByTime(ty(e.staleTime,r))?r.fetch(e):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(ca).catch(ca)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(ca).catch(ca)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return Pf.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#r}setDefaultOptions(t){this.#r=t}setQueryDefaults(t,e){this.#a.set(Xu(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#a.values()],r={};return e.forEach(n=>{Wu(t,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(t,e){this.#i.set(Xu(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#i.values()],r={};return e.forEach(n=>{Wu(t,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#r.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=_b(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===Tb&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#r.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},HM=j.createContext(void 0),JG=t=>{const e=j.useContext(HM);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},LV=({client:t,children:e})=>(j.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),te.jsx(HM.Provider,{value:t,children:e}));const Q2=t=>{let e;const r=new Set,n=(d,p)=>{const m=typeof d=="function"?d(e):d;if(!Object.is(m,e)){const g=e;e=p??(typeof m!="object"||m===null)?m:Object.assign({},e,m),r.forEach(y=>y(e,g))}},i=()=>e,c={setState:n,getState:i,getInitialState:()=>f,subscribe:d=>(r.add(d),()=>r.delete(d))},f=e=t(n,i,c);return c},NV=(t=>t?Q2(t):Q2),PV=t=>t;function zV(t,e=PV){const r=fe.useSyncExternalStore(t.subscribe,fe.useCallback(()=>e(t.getState()),[t,e]),fe.useCallback(()=>e(t.getInitialState()),[t,e]));return fe.useDebugValue(r),r}const Z2=t=>{const e=NV(t),r=n=>zV(e,n);return Object.assign(r,e),r},jV=(t=>t?Z2(t):Z2),iy=jV(t=>({isOpen:!1,payload:null,openAlert:e=>t({isOpen:!0,payload:e}),closeAlert:()=>t({isOpen:!1,payload:null}),openSavingAlert:(e,r)=>t({isOpen:!0,payload:{type:"loading",title:r("generals.saving-please-wait"),message:r("generals.saving-model",{model:e})}}),openPaymentSearchFansAlert:e=>t({isOpen:!0,payload:{type:"loading",title:e("generals.search-fans-please-wait"),message:e("generals.search-fan-model")}}),openUpdatingAlert:(e,r)=>t({isOpen:!0,payload:{type:"loading",title:r("generals.updating-please-wait"),message:r("generals.updating-model",{model:e})}}),openDeletingAlert:(e,r)=>t({isOpen:!0,payload:{type:"loading",title:r("generals.deleting-please-wait"),message:r("generals.deleting-model",{model:e})}})})),IV=t=>{const e=t?.data?.errors??t?.errors,r=[],n=i=>{i!=null&&(typeof i=="string"?r.push(i):Array.isArray(i)?i.forEac
107h(n):typeof i=="object"&&Object.values(i).forEach(n))};return n(e),r.length?r.join(` 108`):t?.message||t?.title||"Ocurrió un error"},UV=new kV({queryCache:new $M({onError:t=>{Ov.custom(t.title,t.message,"error")}}),mutationCache:new UM({onError:(t,e,r,n)=>{n?.meta?.skipGlobalError||(t?.messages&&Object.keys(t.messages).length>0?iy.getState().openAlert({type:"error",title:t.title??"Error de validación",message:U$(t.messages)??"Error de validación"}):iy.getState().openAlert({type:"error",title:t?.title??"Error",message:IV(t)}))}}),defaultOptions:{queries:{retry:!1,refetchOnWindowFocus:!1,staleTime:1e3*60*2}}});var $V=function(){return null};const HV={success:e6,error:ER,warning:Av,info:Px,loading:Px};function BV({isOpen:t,onClose:e,title:r,message:n,type:i="info"}){const o=HV[i],{t:u}=cb();return te.jsx(gh,{appear:!0,show:t,as:j.Fragment,children:te.jsxs(gb,{as:"div",className:"fixed inset-0 z-100 flex items-center justify-center px-4",onClose:e,children:[te.jsx("div",{className:"absolute inset-0 bg-black/40"}),te.jsxs(yh,{className:"relative w-[400px] rounded-lg bg-white px-6 py-8 text-center shadow-xl dark:bg-gray-900",children:[i==="loading"?te.jsx(Ly,{className:"mx-auto mb-4 text-blue-600"}
108):te.jsx(o,{className:`mx-auto size-20 text-${i}`}),te.jsx(eM,{className:"mt-4 text-xl font-semibold",children:r??"Mensaje"}),te.jsx("p",{className:"mt-2 text-gray-600 dark:text-gray-300",children:n}),te.jsx(Uu,{onClick:e,className:"mt-6",children:u("generals.accept")})]})]})})}function FV(){const{isOpen:t,payload:e,closeAlert:r}=iy();return!t||!e?null:te.jsx(BV,{isOpen:t,onClose:r,...e})}let Qi=null;const J2={_subscribe:t=>{Qi=t},_unsubscribe:()=>{Qi=null},membership:t=>{Qi&&Qi("membership",t)},donation:t=>{Qi&&Qi("donation",t)},membershipTransfer:t=>{Qi&&Qi("membershipTransfer",t)}},qV="/assets/donation-cojKrnyL.png",YV="/assets/membresia-CU-P6X_7.png",VV="/assets/membershipTransfer-CUjUxlug.png",GV=()=>{const{t}=cb(),[e,r]=j.useState(!1),[n,i]=j.useState("membership");j.useEffect(()=>(J2._subscribe(f=>{i(f),r(!0)}),()=>J2._unsubscribe()),[]);const c=n==="membership"?YV:n==="donation"?qV:VV;return te.jsx(gh,{show:e,as:fe.Fragment,children:te.jsxs(gb,{as:"div",className:"relative z-[9999]",onClose:()=>r(!1),children:[te.jsx(il,{as:fe.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:te.jsx("div",{className:"fixed inset-0 bg-black/75 backdrop-blur-md transition-opacity"})}),te.jsx("div",{className:"fixed inset-0 z-10 w-screen overflow-y-auto",children:te.jsxs("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:p-0",children:[te.jsx(il,{as:fe.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:te.jsxs(yh,{className:"relative w-full max-w-md transform overflow-hidden rounded-2xl border border-white/10 bg-neutral-950 text-left shadow-2xl transition-all",children:[te.jsx("div",{className:"w-full overflow-hidden bg-neutral-900",children:te.jsx("img",{src:c,alt:"Welcome Banner",className:"block h-auto w-full object-contain"})}),te.jsx("div",{className:"border-t border-white/5 bg-gradient-to-b from-neutral-900 to-neutral-950 p-4",children:te.jsx("button",{type:"button",onClick:()=>r(!1),className:"bg-app-red shadow-app-red/20 hover:bg-app-red/90 hover:shadow-app-red/30 w-full rounded-xl py-3 text-center text-sm font-black tracking-wider text-white uppercase shadow-lg transition-all duration-200 active:scale-[0.98]",children:t("payment.continue")||t("Empezar")})})]})}),"Completado"]})})]})})};sV();nL.createRoot(document.getElementById("root")).render(te.jsx(j.Str
108ictMode,{children:te.jsxs(LV,{client:UV,children:[te.jsx(iq,{}),te.jsx(FV,{}),te.jsx(GV,{}),te.jsx($V,{initialIsOpen:!1})]})}));export{yn as $,ER as A,Uu as B,L$ as C,e6 as D,P$ as E,Av as F,al as G,LG as H,MG as I,$$ as J,gh as K,IC as L,WG as M,D7 as N,FG as O,N$ as P,eM as Q,fe as R,Ly as S,yG as T,Zz as U,kO as V,J2 as W,N7 as X,yi as Y,W7 as Z,$O as _,j as a,Ah as a$,Ia as a0,Xt as a1,RO as a2,LO as a3,Na as a4,Ay as a5,dc as a6,PG as a7,ta as a8,fb as a9,il as aA,i6 as aB,Vz as aC,xe as aD,gU as aE,k$ as aF,DG as aG,UP as aH,qz as aI,GG as aJ,Mn as aK,lz as aL,Iz as aM,SR as aN,KP as aO,vn as aP,Xo as aQ,bP as aR,iy as aS,cz as aT,fz as aU,z$ as aV,XV as aW,bG as aX,KV as aY,wG as aZ,U$ as a_,fh as aa,uB as ab,fa as ac,B7 as ad,aB as ae,H7 as af,o7 as ag,uh as ah,YG as ai,ui as aj,qG as ak,lB as al,CB as am,gn as an,va as ao,E7 as ap,Q7 as aq,zO as ar,PO as as,pB as at,Mf as au,ZG as av,QG as aw,rr as ax,Tt as ay,D$ as az,SP as b,Z9 as b$,EV as b0,mV as b1,XG as b2,ty as b3,ca as b4,NM as b5,hV as b6,pV as b7,ey as b8,DM as b9,z_ as bA,xG as bB,EG as bC,TG as bD,zf as bE,pR as bF,kz as bG,Re as bH,cf as bI,Cf as bJ,$4 as bK,ls as bL,AU as bM,DU as bN,EU as bO,_U as bP,TA as bQ,CU as bR,LU as bS,Ny as bT,CG as bU,DP as bV,RG as bW,uR as bX,QN as bY,ez as bZ,aP as b_,OV as ba,yV as bb,en as bc,KG as bd,Xu as be,DV as bf,jV as bg,cc as bh,jG as bi,IG as bj,hv as bk,u7 as bl,UG as bm,zG as bn,w7 as bo,Ud as bp,v7 as bq,hi as br,qv as bs,Df as bt,Ms as bu,UO as bv,hb as bw,ts as bx,$G as by,Ws as bz,cb as c,Q9 as c0,kG as c1,hf as c2,V$ as c3,WV as c4,qP as c5,mz as c6,v5 as c7,eP as c8,sP as c9,cP as ca,fR as cb,AP as cc,NO as cd,S7 as ce,VG as cf,db as cg,_B as ch,VO as ci,OB as cj,B_ as ck,R7 as cl,MB as cm,xu as cn,el as co,Vv as cp,Yu as cq,mB as cr,$P as cs,t7 as d,hy as e,Ry as f,qs as g,wu as h,xP as i,te as j,gR as k,SG as l,_P as m,M$ as n,JG as o,bu as p,Ov as q,Oz as r,x9 as s,zd as t,ic as u,a_ as v,OG as w,AG as x,gb as y,yh as z};
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.