PageSourceSearch

https://ontariocanna.ca/assets/index-BseVR5nP.js

js ontariocanna.ca collected 2026-10-08 06:15:48 UTC 439,689 bytes, 139 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DispensaryCard-Qgcighd4.js","assets/cannabisImages-8COUli1v.js","assets/OptimizedImage-DD9kgo9s.js","assets/YouTubeSection-GHRWxOl6.js","assets/external-link-BjSbGs-1.js","assets/AdminLayout-D_wrfuik.js","assets/store-BbSozyXz.js","assets/file-text-DZFnf9HT.js","assets/tag-QfDYLsO6.js","assets/map-BO3D4159.js","assets/chart-no-axes-column-BgTTkoGi.js","assets/globe-BOnvPsUu.js","assets/zap-DhDUJ4so.js","assets/triangle-alert-C74HHf0X.js","assets/shield-lElpevl8.js","assets/trending-up-B9RabdP3.js","assets/bot-CwbZuWas.js","assets/link-2-DvdTxbzX.js","assets/network-DJmjrrGk.js","assets/Login-DBgNe_MM.js","assets/AuthLayout-BNGtXJd6.js","assets/button-BUwGLm5M.js","assets/input-W8vO3KBC.js","assets/NoIndexMeta-DMqfc6g_.js","assets/GoogleIcon-J_vc5n-4.js","assets/Register-TCFMFS6B.js","assets/ForgotPassword-DubTpjBF.js","assets/ResetPassword-C64uyoh6.js","assets/DispensaryList-dYufau4I.js","assets/DispensaryDetail-ji6nrhlm.js","assets/book-open-BSDeZ9Uo.js","assets/navigation-yFg7a-EE.js","assets/credit-card-CX6YcRSC.js","assets/star-DJAHPFfI.js","assets/seoFallbacks-CnsmFPRn.js","assets/arrow-left-BXVkxzYC.js","assets/clock-DCA8bUs9.js","assets/lock-C2Uf2yxA.js","assets/CityPageView-NDwLjeCM.js","assets/truck-ChPGRJzp.js","assets/shopping-bag-BHz3o2SH.js","assets/shield-check-DxmPFdBN.js","assets/chevron-up-DAzBa0f1.js","assets/chevron-down-BARInKvq.js","assets/CategoryPageView-D5JObnob.js","assets/BlogIndex-lENt5rRs.js","assets/calendar-DS3E6Vp-.js","assets/BlogPostView-CUUeYWpy.js","assets/user-eKVJjiss.js","assets/format-Cdttx4Da.js","assets/circle-check-big-l8EOu-zZ.js","assets/mail-B0BxlJqQ.js","assets/index-D_Yre4D4.js","assets/About-C8JNiy1J.js","assets/users-DM-Z1TjS.js","assets/AboutOntarioCanna-BjcZE_95.js","assets/EditorialPolicyDetail-BQPWWmS8.js","assets/circle-alert-q-dLqW1x.js","assets/HowWeVerifyDispensaries-Cj8zR58G.js","assets/Contact-Y62vs3Yr.js","assets/send-DwPZCAYw.js","assets/InteracETransfer-BDLnUQdw.js","assets/circle-check-DdfhjGxc.js","assets/dollar-sign-BSLS58gL.js","assets/CryptoPayments-5DTNUiYb.js","assets/BuyCannabisOntario-TBV4zB-_.js","assets/WeedDeliveryOntario-B4L
vendor: 6,229 bytes, lines 1-10
1MVRuT.js","assets/CannabisNearMe-0NqEjDVs.js","assets/BestCannabisDeals-B_Q0t4Dn.js","assets/CheapWeedOntario-DDYCWo1V.js","assets/BestOnlineDispensariesCanada-CY6jGcdM.js","assets/OntarioCannabisGuide-CLgW6dXW.js","assets/BestDispensariesOntario-BUuzYv4e.js","assets/ResearchMethodology-B400GEQs.js","assets/target-D9843GSs.js","assets/SourcesCitations-DTLS8R-5.js","assets/CannabisDeliveryOntario-AwbGTZUA.js","assets/BuyCannabisCanada-D6kM4nyE.js","assets/AuthorPage-DTh7TKBE.js","assets/Dashboard-tDZXv-ga.js","assets/BarChart-BfXivLhV.js","assets/eye-off-CkT--aNt.js","assets/ManageDispensaries-BoQ3dZKp.js","assets/useMutation-CyzVcz6f.js","assets/ThinContentWarning-DZikdwzs.js","assets/plus-CcJC24g_.js","assets/eye-Cqg7y7ZG.js","assets/pencil-DaSVN1o3.js","assets/trash-2-CzHXz3av.js","assets/ManageBlogPosts-ctVGVyJb.js","assets/copy-D_oQBA34.js","assets/save-yawBnsFa.js","assets/ManageCityPages-Byo6_l-v.js","assets/ManageCategoryPages-DoEC7gGM.js","assets/ManageDeals-S8QSpjIM.js","assets/ManageStrains-BbBrtrOd.js","assets/ManageReviews-C5dNZYIH.js","assets/DispensaryDetail-6imKScbB.js","assets/Sitemap-CoyKyKmo.js","assets/refresh-cw-DwSYYJjK.js","assets/Analytics-DomKbyl1.js","assets/SEOSummary-D65R3g2V.js","assets/SearchConsole-BN4bPAFW.js","assets/loader-circle-B0DX2VUr.js","assets/RecommendedKeywords-D7yKxD16.js","assets/CoreWebVitals-CmSsdP59.js","assets/BrokenLinks-BpZyOf_Z.js","assets/Cloaking-Du-Jc36J.js","assets/SEOAutomation-BCr7Ajg7.js","assets/SEOCopilot-C-DFvhDa.js","assets/BacklinkOutreach-DntXejez.js","assets/pen-DLQ3ABmT.js","assets/ManageOwnerClaims-CzjIWx1Q.js","assets/SoroBlogSync-CTbE4xEw.js","assets/ContentClusters-QZEVeonk.js","assets/OwnerLogin-XiTdhgvV.js","assets/OwnerDashboard-DNKLqbnv.js","assets/OwnerProfile-EW-6NS_Y.js"])))=>i.map(i=>d[i]);
2function Av(t,r){for(var s=0;s<r.length;s++){const o=r[s];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in t)){const u=Object.getOwnPropertyDescriptor(o,l);u&&Object.defineProperty(t,l,u.get?u:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function s(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(l){if(l.ep)return;l.ep=!0;const u=s(l);fetch(l.href,u)}})();var CC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ts(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Gl={exports:{}},qs={},Yl={exports:{}},we={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var ph;function Nv(){if(ph)return we;ph=1;var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),x=Symbol.iterator;function b(T){return T===null||typeof T!="object"?null:(T=x&&T[x]||T["@@iterator"],typeof T=="function"?T:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,P={};function k(T,F,ce){this.props=T,this.context=F,this.refs=P,this.updater=ce||_}k.prototype.isReactComponent={},k.prototype.setState=function(T,F){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,F,"setState")},k.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function E(){}E.prototype=k.prototype;function I(T,F,ce){this.props=T,this.context=F,this.refs=P,this.updater=ce||_}var L=I.prototype=new E;L.constructor=I,j(L,k.prototype),L.isPureReactComponent=!0;var U=Array.isArray,H=Object.prototype.hasOwnProperty,J={current:null},de={key:!0,ref:!0,__self:!0,__source:!0};function V(T,F,ce){var fe,le={},Q=null,me=null;if(F!=null)for(fe in F.ref!==void 0&&(me=F.ref),F.key!==void 0&&(Q=""+F.key),F)H.call(F,fe)&&!de.hasOwnProperty(fe)&&(le[fe]=F[fe]);var _e=arguments.length-2;if(_e===1)le.children=ce;else if(1<_e){for(var pe=Array(_e),et=0;et<_e;et++)pe[et]=arguments[et+2];le.children=pe}if(T&&T.defaultProps)for(fe in _e=T.defaultProps,_e)le[fe]===void 0&&(le[fe]=_e[fe]);return{$$typeof:t,type:T,key:Q,ref:me,props:le,_owner:J.current}}function be(T,F){return{$$typeof:t,type:T.type,key:F,ref:T.ref,props:T.props,_owner:T._owner}}function Pe(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function ve(T){var F={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(ce){return F[ce]})}var Re=/\/+/g;function Me(T,F){return typeof T=="object"&&T!==null&&T.key!=null?ve(""+T.key):F.toString(36)}function Ne(T,F,ce,fe,le){var Q=typeof T;(Q==="undefined"||Q==="boolean")&&(T=null);var me=!1;if(T===null)me=!0;else switch(Q){case"string":case"number":me=!0;break;case"object":switch(T.$$typeof){case t:case r:me=!0}}if(me)return me=T,le=le(me),T=fe===""?"."+Me(me,0):fe,U(le)?(ce="",T!=null&&(ce=T.replace(Re,"$&/")+"/"),Ne(le,F,ce,"",function(et){return et})):le!=null&&(Pe(le)&&(le=be(le,ce+(!le.key||me&&me.key===le.key?"":(""+le.key).replace(Re,"$&/")+"/")+T)),F.push(le)),1;if(me=0,fe=fe===""?".":fe+":",U(T))for(var _e=0;_e<T.length;_e++){Q=T[_e];var pe=fe+Me(Q,_e);me+=Ne(Q,F,ce,pe,le)}
vendor: 9,448 bytes, lines 10-34
10else if(pe=b(T),typeof pe=="function")for(T=pe.call(T),_e=0;!(Q=T.next()).done;)Q=Q.value,pe=fe+Me(Q,_e++),me+=Ne(Q,F,ce,pe,le);else if(Q==="object")throw F=String(T),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return me}function Be(T,F,ce){if(T==null)return T;var fe=[],le=0;return Ne(T,fe,"","",function(Q){return F.call(ce,Q,le++)}),fe}function Oe(T){if(T._status===-1){var F=T._result;F=F(),F.then(function(ce){(T._status===0||T._status===-1)&&(T._status=1,T._result=ce)},function(ce){(T._status===0||T._status===-1)&&(T._status=2,T._result=ce)}),T._status===-1&&(T._status=0,T._result=F)}if(T._status===1)return T._result.default;throw T._result}var Ce={current:null},W={transition:null},ie={ReactCurrentDispatcher:Ce,ReactCurrentBatchConfig:W,ReactCurrentOwner:J};function M(){throw Error("act(...) is not supported in production builds of React.")}return we.Children={map:Be,forEach:function(T,F,ce){Be(T,function(){F.apply(this,arguments)},ce)},count:function(T){var F=0;return Be(T,function(){F++}),F},toArray:function(T){return Be(T,function(F){return F})||[]},only:function(T){if(!Pe(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},we.Component=k,we.Fragment=s,we.Profiler=l,we.PureComponent=I,we.StrictMode=o,we.Suspense=m,we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,we.act=M,we.cloneElement=function(T,F,ce){if(T==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var fe=j({},T.props),le=T.key,Q=T.ref,me=T._owner;if(F!=null){if(F.ref!==void 0&&(Q=F.ref,me=J.current),F.key!==void 0&&(le=""+F.key),T.type&&T.type.defaultProps)var _e=T.type.defaultProps;for(pe in F)H.call(F,pe)&&!de.hasOwnProperty(pe)&&(fe[pe]=F[pe]===void 0&&_e!==void 0?_e[pe]:F[pe])}var pe=arguments.length-2;if(pe===1)fe.children=ce;else if(1<pe){_e=Array(pe);for(var et=0;et<pe;et++)_e[et]=arguments[et+2];fe.children=_e}return{$$typeof:t,type:T.type,key:le,ref:Q,props:fe,_owner:me}},we.createContext=function(T){return T={$$typeof:c,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},T.Provider={$$typeof:u,_context:T},T.Consumer=T},we.createElement=V,we.createFactory=function(T){var F=V.bind(null,T);return F.type=T,F},we.createRef=function(){return{current:null}},we.forwardRef=function(T){return{$$typeof:f,render:T}},we.isValidElement=Pe,we.lazy=function(T){return{$$typeof:v,_payload:{_status:-1,_result:T},_init:Oe}},we.memo=function(T,F){return{$$typeof:g,type:T,compare:F===void 0?null:F}},we.startTransition=function(T){var F=W.transition;W.transition={};try{T()}finally{W.transition=F}},we.unstable_act=M,we.useCallback=function(T,F){return Ce.current.useCallback(T,F)},we.useContext=function(T){return Ce.current.useContext(T)},we.useDebugValue=function(){},we.useDeferredValue=function(T){return Ce.current.useDeferredValue(T)},we.useEffect=function(T,F){return Ce.current.useEffect(T,F)},we.useId=function(){return Ce.current.useId()},we.useImperativeHandle=function(T,F,ce){return Ce.current.useImperativeHandle(T,F,ce)},we.useInsertionEffect=function(T,F){return Ce.current.useInsertionEffect(T,F)},we.useLayoutEffect=function(T,F){return Ce.current.useLayoutEffect(T,F)},we.useMemo=function(T,F){return Ce.current.useMemo(T,F)},we.useReducer=function(T,F,ce){return Ce.current.useReducer(T,F,ce)},we.useRef=function(T){return Ce.current.useRef(T)},we.useState=function(T){return Ce.current.useState(T)},we.useSyncExternalStore=function(T,F,ce){return Ce.current.useSyncExternalStore(T,F,ce)},we.useTransition=function(){return Ce.current.useTransition()},we.version="18.3.1",we}var mh;function Ju(){return mh||(mh=1,Yl.exports=Nv()),Yl.exports}/**
11 * @license React
12 * react-jsx-runtime.production.min.js
13 *
14 * Copyright (c) Facebook, Inc. and its affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var yh;function Lv(){if(yh)return qs;yh=1;var t=Ju(),r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(f,m,g){var v,x={},b=null,_=null;g!==void 0&&(b=""+g),m.key!==void 0&&(b=""+m.key),m.ref!==void 0&&(_=m.ref);for(v in m)o.call(m,v)&&!u.hasOwnProperty(v)&&(x[v]=m[v]);if(f&&f.defaultProps)for(v in m=f.defaultProps,m)x[v]===void 0&&(x[v]=m[v]);return{$$typeof:r,type:f,key:b,ref:_,props:x,_owner:l.current}}return qs.Fragment=s,qs.jsx=c,qs.jsxs=c,qs}var gh;function Dv(){return gh||(gh=1,Gl.exports=Lv()),Gl.exports}var p=Dv(),C=Ju();const wn=ts(C),Iv=Av({__proto__:null,default:wn},[C]);var Eo={},Jl={exports:{}},Et={},Xl={exports:{}},Zl={};/**
19 * @license React
20 * scheduler.production.min.js
21 *
22 * Copyright (c) Facebook, Inc. and its affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */var vh;function Mv(){return vh||(vh=1,(function(t){function r(W,ie){var M=W.length;W.push(ie);e:for(;0<M;){var T=M-1>>>1,F=W[T];if(0<l(F,ie))W[T]=ie,W[M]=F,M=T;else break e}}function s(W){return W.length===0?null:W[0]}function o(W){if(W.length===0)return null;var ie=W[0],M=W.pop();if(M!==ie){W[0]=M;e:for(var T=0,F=W.length,ce=F>>>1;T<ce;){var fe=2*(T+1)-1,le=W[fe],Q=fe+1,me=W[Q];if(0>l(le,M))Q<F&&0>l(me,le)?(W[T]=me,W[Q]=M,T=Q):(W[T]=le,W[fe]=M,T=fe);else if(Q<F&&0>l(me,M))W[T]=me,W[Q]=M,T=Q;else break e}}return ie}function l(W,ie){var M=W.sortIndex-ie.sortIndex;return M!==0?M:W.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var c=Date,f=c.now();t.unstable_now=function(){return c.now()-f}}var m=[],g=[],v=1,x=null,b=3,_=!1,j=!1,P=!1,k=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function L(W){for(var ie=s(g);ie!==null;){if(ie.callback===null)o(g);else if(ie.startTime<=W)o(g),ie.sortIndex=ie.expirationTime,r(m,ie);else break;ie=s(g)}}function U(W){if(P=!1,L(W),!j)if(s(m)!==null)j=!0,Oe(H);else{var ie=s(g);ie!==null&&Ce(U,ie.startTime-W)}}function H(W,ie){j=!1,P&&(P=!1,E(V),V=-1),_=!0;var M=b;try{for(L(ie),x=s(m);x!==null&&(!(x.expirationTime>ie)||W&&!ve());){var T=x.callback;if(typeof T=="function"){x.callback=null,b=x.priorityLevel;var F=T(x.expirationTime<=ie);ie=t.unstable_now(),typeof F=="function"?x.callback=F:x===s(m)&&o(m),L(ie)}else o(m);x=s(m)}if(x!==null)var ce=!0;else{var fe=s(g);fe!==null&&Ce(U,fe.startTime-ie),ce=!1}return ce}finally{x=null,b=M,_=!1}}var J=!1,de=null,V=-1,be=5,Pe=-1;function ve(){return!(t.unstable_now()-Pe<be)}function Re(){if(de!==null){var W=t.unstable_now();Pe=W;var ie=!0;try{ie=de(!0,W)}finally{ie?Me():(J=!1,de=null)}}else J=!1}var Me;if(typeof I=="function")Me=function(){I(Re)};else if(typeof MessageChannel<"u"){var Ne=new MessageChannel,Be=Ne.port2;Ne.port1.onmessage=Re,Me=function(){Be.postMessage(null)}}else Me=function(){k(Re,0)};function Oe(W){de=W,J||(J=!0,Me())}function Ce(W,ie){V=k(function(){W(t.unstable_now())},ie)}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(W){W.callback=null},t.unstable_continueExecution=function(){j||_||(j=!0,Oe(H))},t.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):be=0<W?Math.floor(1e3/W):5},t.unstable_getCurrentPriorityLevel=function(){return b},t.unstable_getFirstCallbackNode=function(){return s(m)},t.unstable_next=function(W){switch(b){case 1:case 2:case 3:var ie=3;break;default:ie=b}var M=b;b=ie;try{return W()}finally{b=M}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(W,ie){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var M=b;b=W;try{return ie()}finally{b=M}},t.unstable_scheduleCallback=function(W,ie,M){var T=t.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?T+M:T):M=T,W){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=M+F,W={id:v++,callback:ie,priorityLevel:W,startTime:M,expirationTime:F,sortIndex:-1},M>T?(W.sortIndex=M,r(g,W),s(m)===null&&W===s(g)&&(P?(E(V),V=-1):P=!0,Ce(U,M-T))):(W.sortIndex=F,r(m,W),j||_||(j=!0,Oe(H))),W},t.unstable_shouldYield=ve,t.unstable_wrapCallback=function(W){var ie=b;return function(){var M=b;b=ie;try{return W.apply(this,arguments)}finally{b=M}}}})(Zl)),Zl}var xh;function Fv(){return xh||(xh=1,Xl.exports=Mv()),Xl.exports}/**
27 * @license React
28 * react-dom.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var wh;
vendor: 22,460 bytes, lines 34-38
34function Uv(){if(wh)return Et;wh=1;var t=Ju(),r=Fv();function s(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,l={};function u(e,n){c(e,n),c(e+"Capture",n)}function c(e,n){for(l[e]=n,e=0;e<n.length;e++)o.add(n[e])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,g=/^[: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]*$/,v={},x={};function b(e){return m.call(x,e)?!0:m.call(v,e)?!1:g.test(e)?x[e]=!0:(v[e]=!0,!1)}function _(e,n,i,a){if(i!==null&&i.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function j(e,n,i,a){if(n===null||typeof n>"u"||_(e,n,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function P(e,n,i,a,d,h,y){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=d,this.mustUseProperty=i,this.propertyName=e,this.type=n,this.sanitizeURL=h,this.removeEmptyString=y}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new P(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];k[n]=new P(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new P(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new P(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){k[e]=new P(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new P(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new P(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new P(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new P(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function I(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(E,I);k[n]=new P(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(E,I);k[n]=new P(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(E,I);k[n]=new P(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new P(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new P(e,1,!1,e.toLowerCase(),null,!0,!0)});function L(e,n,i,a){var d=k.hasOwnProperty(n)?k[n]:null;(d!==null?d.type!==0:a||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(j(n,i,d,a)&&(i=null),a||d===null?b(n)&&(i===null?e.removeAttribute(n):e.setAttribute(n,""+i)):d.mustUseProperty?e[d.propertyName]=i===null?d.type===3?!1:"":i:(n=d.attributeName,a=d.attributeNamespace,i===null?e.removeAttribute(n):(d=d.type,i=d===3||d===4&&i===!0?"":""+i,a?e.setAttributeNS(a,n,i):e.setAttribute(n,i))))}var U=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=Symbol.for("react.element"),J=Symbol.for("react.portal"),de=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),be=Symbol.for("react.profiler"),Pe=Symbol.for("react.provider"),ve=Symbol.for("react.context"),Re=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),Ne=Symbol.for("react.suspense_list"),Be=Symbol.for("react.memo"),Oe=Symbol.for("react.lazy"),Ce=Symbol.for("react.offscreen"),W=Symbol.iterator;function ie(e){return e===null||typeof e!="object"?null:(e=W&&e[W]||e["@@iterator"],typeof e=="function"?e:null)}var M=Object.assign,T;function F(e){if(T===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);T=n&&n[1]||""}return`
35`+T+e}var ce=!1;function fe(e,n){if(!e||ce)return"";ce=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(D){var a=D}Reflect.construct(e,[],n)}else{try{n.call()}catch(D){a=D}e.call(n.prototype)}else{try{throw Error()}catch(D){a=D}e()}}catch(D){if(D&&a&&typeof D.stack=="string"){for(var d=D.stack.split(`
36`),h=a.stack.split(`
37`),y=d.length-1,w=h.length-1;1<=y&&0<=w&&d[y]!==h[w];)w--;for(;1<=y&&0<=w;y--,w--)if(d[y]!==h[w]){if(y!==1||w!==1)do if(y--,w--,0>w||d[y]!==h[w]){var S=`
38`+d[y].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),S}while(1<=y&&0<=w);break}}}finally{ce=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?F(e):""}function le(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=fe(e.type,!1),e;case 11:return e=fe(e.type.render,!1),e;case 1:return e=fe(e.type,!0),e;default:return""}}function Q(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case de:return"Fragment";case J:return"Portal";case be:return"Profiler";case V:return"StrictMode";case Me:return"Suspense";case Ne:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ve:return(e.displayName||"Context")+".Consumer";case Pe:return(e._context.displayName||"Context")+".Provider";case Re:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Be:return n=e.displayName||null,n!==null?n:Q(e.type)||"Memo";case Oe:n=e._payload,e=e._init;try{return Q(e(n))}catch{}}return null}function me(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q(n);case 8:return n===V?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function _e(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pe(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function et(e){var n=pe(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var d=i.get,h=i.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return d.call(this)},set:function(y){a=""+y,h.call(this,y)}}),Object.defineProperty(e,n,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(y){a=""+y},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function jt(e){e._valueTracker||(e._valueTracker=et(e))}function st(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),a="";return e&&(a=pe(e)?e.checked?"true":"false":e.value),e=a,e!==i?(n.setValue(e),!0):!1}function Vt(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function At(e,n){var i=n.checked;return M({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Nt(e,n){var i=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;i=_e(n.value!=null?n.value:i),e._wrapperState={initialChecked:a,initialValue:i,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function ye(e,n){n=n.checked,n!=null&&L(e,"checked",n,!1)}function it(e,n){ye(e,n);var i=_e(n.value),a=n.type;if(i!=null)a==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?qt(e,n.type,i):n.hasOwnProperty("defaultValue")&&qt(e,n.type,_e(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Ht(e,n,i){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,i||n===e.value||(e.value=n),e.defaultValue=n}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function qt(e,n,i){(n!=="number"||Vt(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var _n=Array.isArray;function Sn(e,n,i,a){if(e=e.options,n){n={};for(var d=0;d<i.length;d++)n["$"+i[d]]=!0;for(i=0;i<e.length;i++)d=n.hasOwnProperty("$"+e[i].value),e[i].selected!==d&&(e[i].selected=d),d&&a&&(e[i].defaultSelected=!0)}else{for(i=""+_e(i),n=null,d=0;d<e.length;d++){if(e[d].value===i){e[d].selected=!0,a&&(e[d].defaultSelected=!0);return}n!==null||e[d].disabled||(n=e[d])}n!==null&&(n.selected=!0)}}function cn(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(s(91));return M({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Sc(e,n){var i=n.value;if(i==null){if(i=n.children,n=n.defaultValue,i!=null){if(n!=null)throw Error(s(92));if(_n(i)){if(1<i.length)throw Error(s(93));i=i[0]}n=i}n==null&&(n=""),i=n}e._wrapperState={initialValue:_e(i)}}function Ec(e,n){var i=_e(n.value),a=_e(n.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),n.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),a!=null&&(e.defaultValue=""+a)}function Cc(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function kc(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function oa(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?kc(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var mi,Oc=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,i,a,d){MSApp.execUnsafeLocalFunction(function(){return e(n,i,a,d)})}:e})(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(mi=mi||document.createElement("div"),mi.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=mi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function as(e,n){if(n){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var ls={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Iy=["Webkit","ms","Moz","O"];Object.keys(ls).forEach(function(e){Iy.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),ls[n]=ls[e]})});function Tc(e,n,i){return n==null||typeof n=="boolean"||n===""?"":i||typeof n!="number"||n===0||ls.hasOwnProperty(e)&&ls[e]?(""+n).trim():n+"px"}function Rc(e,n){e=e.style;for(var i in n)if(n.hasOwnProperty(i)){var a=i.indexOf("--")===0,d=Tc(i,n[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,d):e[i]=d}}var My=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function aa(e,n){if(n){if(My[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(s(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(s(61))}if(n.style!=null&&typeof n.style!="object")throw Error(s(62))}}function la(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ua=null;function ca(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var da=null,br=null,_r=null;function Pc(e){if(e=Ps(e)){if(typeof da!="function")throw Error(s(280));var n=e.stateNode;n&&(n=Fi(n),da(e.stateNode,e.type,n))}}function jc(e){br?_r?_r.push(e):_r=[e]:br=e}function Ac(){if(br){var e=br,n=_r;if(_r=br=null,Pc(e),n)for(e=0;e<n.length;e++)Pc(n[e])}}function Nc(e,n){return e(n)}function Lc(){}var fa=!1;function Dc(e,n,i){if(fa)return e(n,i);fa=!0;try{return Nc(e,n,i)}finally{fa=!1,(br!==null||_r!==null)&&(Lc(),Ac())}}function us(e,n){var i=e.stateNode;if(i===null)return null;var a=Fi(i);if(a===null)return null;i=a[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(s(231,n,typeof i));return i}var ha=!1;if(f)try{var cs={};Object.defineProperty(cs,"passive",{get:function(){ha=!0}}),window.addEventListener("test",cs,cs),window.removeEventListener("test",cs,cs)}catch{ha=!1}function Fy(e,n,i,a,d,h,y,w,S){var D=Array.prototype.slice.call(arguments,3);try{n.apply(i,D)}catch(B){this.onError(B)}}var ds=!1,yi=null,gi=!1,pa=null,Uy={onError:function(e){ds=!0,yi=e}};function zy(e,n,i,a,d,h,y,w,S){ds=!1,yi=null,Fy.apply(Uy,arguments)}function By(e,n,i,a,d,h,y,w,S){if(zy.apply(this,arguments),ds){if(ds){var D=yi;ds=!1,yi=null}else throw Error(s(198));gi||(gi=!0,pa=D)}}function Zn(e){var n=e,i=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(i=n.return),e=n.return;while(e)}return n.tag===3?i:null}function Ic(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Mc(e){if(Zn(e)!==e)throw Error(s(188))}function $y(e){var n=e.alternate;if(!n){if(n=Zn(e),n===null)throw Error(s(188));return n!==e?null:e}for(var i=e,a=n;;){var d=i.return;if(d===null)break;var h=d.alternate;if(h===null){if(a=d.return,a!==null){i=a;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===i)return Mc(d),e;if(h===a)return Mc(d),n;h=h.sibling}throw Error(s(188))}if(i.return!==a.return)i=d,a=h;else{for(var y=!1,w=d.child;w;){if(w===i){y=!0,i=d,a=h;break}if(w===a){y=!0,a=d,i=h;break}w=w.sibling}if(!y){for(w=h.child;w;){if(w===i){y=!0,i=h,a=d;break}if(w===a){y=!0,a=h,i=d;break}w=w.sibling}if(!y)throw Error(s(189))}}if(i.alternate!==a)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?e:n}function Fc(e){return e=$y(e),e!==null?Uc(e):null}function Uc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Uc(e);if(n!==null)return n;e=e.sibling}return null}var zc=r.unstable_scheduleCallback,Bc=r.unstable_cancelCallback,Vy=r.unstable_shouldYield,Hy=r.unstable_requestPaint,Ve=r.unstable_now,qy=r.unstable_getCurrentPriorityLevel,ma=r.unstable_ImmediatePriority,$c=r.unstable_UserBlockingPriority,vi=r.unstable_NormalPriority,Wy=r.unstable_LowPriority,Vc=r.unstable_IdlePriority,xi=null,tn=null;function Qy(e){if(tn&&typeof tn.onCommitFiberRoot=="function")try{tn.onCommitFiberRoot(xi,e,void 0,(e.current.flags&128)===128)}catch{}}var Wt=Math.clz32?Math.clz32:Yy,Ky=Math.log,Gy=Math.LN2;function Yy(e){return e>>>=0,e===0?32:31-(Ky(e)/Gy|0)|0}var wi=64,bi=4194304;function fs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _i(e,n){var i=e.pendingLanes;if(i===0)return 0;var a=0,d=e.suspendedLanes,h=e.pingedLanes,y=i&268435455;if(y!==0){var w=y&~d;w!==0?a=fs(w):(h&=y,h!==0&&(a=fs(h)))}else y=i&~d,y!==0?a=fs(y):h!==0&&(a=fs(h));if(a===0)return 0;if(n!==0&&n!==a&&(n&d)===0&&(d=a&-a,h=n&-n,d>=h||d===16&&(h&4194240)!==0))return n;if((a&4)!==0&&(a|=i&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=a;0<n;)i=31-Wt(n),d=1<<i,a|=e[i],n&=~d;return a}function Jy(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Xy(e,n){for(var i=e.suspendedLanes,a=e.pingedLanes,d=e.expirationTimes,h=e.pendingLanes;0<h;){var y=31-Wt(h),w=1<<y,S=d[y];S===-1?((w&i)===0||(w&a)!==0)&&(d[y]=Jy(w,n)):S<=n&&(e.expiredLanes|=w),h&=~w}}function ya(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Hc(){var e=wi;return wi<<=1,(wi&4194240)===0&&(wi=64),e}function ga(e){for(var n=[],i=0;31>i;i++)n.push(e);return n}function hs(e,n,i){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Wt(n),e[n]=i}function Zy(e,n){var i=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<i;){var d=31-Wt(i),h=1<<d;n[d]=0,a[d]=-1,e[d]=-1,i&=~h}}function va(e,n){var i=e.entangledLanes|=n;for(e=e.entanglements;i;){var a=31-Wt(i),d=1<<a;d&n|e[a]&n&&(e[a]|=n),i&=~d}}var je=0;function qc(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Wc,xa,Qc,Kc,Gc,wa=!1,Si=[],En=null,Cn=null,kn=null,ps=new Map,ms=new Map,On=[],eg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Yc(e,n){switch(e){case"focusin":case"focusout":En=null;break;case"dragenter":case"dragleave":Cn=null;break;case"mouseover":case"mouseout":kn=null;break;case"pointerover":case"pointerout":ps.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":ms.delete(n.pointerId)}}function ys(e,n,i,a,d,h){return e===null||e.nativeEvent!==h?(e={blockedOn:n,domEventName:i,eventSystemFlags:a,nativeEvent:h,targetContainers:[d]},n!==null&&(n=Ps(n),n!==null&&xa(n)),e):(e.eventSystemFlags|=a,n=e.targetContainers,d!==null&&n.indexOf(d)===-1&&n.push(d),e)}function tg(e,n,i,a,d){switch(n){case"focusin":return En=ys(En,e,n,i,a,d),!0;case"dragenter":return Cn=ys(Cn,e,n,i,a,d),!0;case"mouseover":return kn=ys(kn,e,n,i,a,d),!0;case"pointerover":var h=d.pointerId;return ps.set(h,ys(ps.get(h)||null,e,n,i,a,d)),!0;case"gotpointercapture":return h=d.pointerId,ms.set(h,ys(ms.get(h)||null,e,n,i,a,d)),!0}return!1}
vendor: 4,052 bytes, line 38
38function Jc(e){var n=er(e.target);if(n!==null){var i=Zn(n);if(i!==null){if(n=i.tag,n===13){if(n=Ic(i),n!==null){e.blockedOn=n,Gc(e.priority,function(){Qc(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ei(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var i=_a(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var a=new i.constructor(i.type,i);ua=a,i.target.dispatchEvent(a),ua=null}else return n=Ps(i),n!==null&&xa(n),e.blockedOn=i,!1;n.shift()}return!0}function Xc(e,n,i){Ei(e)&&i.delete(n)}function ng(){wa=!1,En!==null&&Ei(En)&&(En=null),Cn!==null&&Ei(Cn)&&(Cn=null),kn!==null&&Ei(kn)&&(kn=null),ps.forEach(Xc),ms.forEach(Xc)}function gs(e,n){e.blockedOn===n&&(e.blockedOn=null,wa||(wa=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,ng)))}function vs(e){function n(d){return gs(d,e)}if(0<Si.length){gs(Si[0],e);for(var i=1;i<Si.length;i++){var a=Si[i];a.blockedOn===e&&(a.blockedOn=null)}}for(En!==null&&gs(En,e),Cn!==null&&gs(Cn,e),kn!==null&&gs(kn,e),ps.forEach(n),ms.forEach(n),i=0;i<On.length;i++)a=On[i],a.blockedOn===e&&(a.blockedOn=null);for(;0<On.length&&(i=On[0],i.blockedOn===null);)Jc(i),i.blockedOn===null&&On.shift()}var Sr=U.ReactCurrentBatchConfig,Ci=!0;function rg(e,n,i,a){var d=je,h=Sr.transition;Sr.transition=null;try{je=1,ba(e,n,i,a)}finally{je=d,Sr.transition=h}}function sg(e,n,i,a){var d=je,h=Sr.transition;Sr.transition=null;try{je=4,ba(e,n,i,a)}finally{je=d,Sr.transition=h}}function ba(e,n,i,a){if(Ci){var d=_a(e,n,i,a);if(d===null)Ua(e,n,a,ki,i),Yc(e,a);else if(tg(d,e,n,i,a))a.stopPropagation();else if(Yc(e,a),n&4&&-1<eg.indexOf(e)){for(;d!==null;){var h=Ps(d);if(h!==null&&Wc(h),h=_a(e,n,i,a),h===null&&Ua(e,n,a,ki,i),h===d)break;d=h}d!==null&&a.stopPropagation()}else Ua(e,n,a,null,i)}}var ki=null;function _a(e,n,i,a){if(ki=null,e=ca(a),e=er(e),e!==null)if(n=Zn(e),n===null)e=null;else if(i=n.tag,i===13){if(e=Ic(n),e!==null)return e;e=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return ki=e,null}function Zc(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(qy()){case ma:return 1;case $c:return 4;case vi:case Wy:return 16;case Vc:return 536870912;default:return 16}default:return 16}}var Tn=null,Sa=null,Oi=null;function ed(){if(Oi)return Oi;var e,n=Sa,i=n.length,a,d="value"in Tn?Tn.value:Tn.textContent,h=d.length;for(e=0;e<i&&n[e]===d[e];e++);var y=i-e;for(a=1;a<=y&&n[i-a]===d[h-a];a++);return Oi=d.slice(e,1<a?1-a:void 0)}function Ti(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Ri(){return!0}function td(){return!1}function Ot(e){function n(i,a,d,h,y){this._reactName=i,this._targetInst=d,this.type=a,this.nativeEvent=h,this.target=y,this.currentTarget=null;
vendor: 22,004 bytes, lines 38-39
38for(var w in e)e.hasOwnProperty(w)&&(i=e[w],this[w]=i?i(h):h[w]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Ri:td,this.isPropagationStopped=td,this}return M(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Ri)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Ri)},persist:function(){},isPersistent:Ri}),n}var Er={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ea=Ot(Er),xs=M({},Er,{view:0,detail:0}),ig=Ot(xs),Ca,ka,ws,Pi=M({},xs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ta,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ws&&(ws&&e.type==="mousemove"?(Ca=e.screenX-ws.screenX,ka=e.screenY-ws.screenY):ka=Ca=0,ws=e),Ca)},movementY:function(e){return"movementY"in e?e.movementY:ka}}),nd=Ot(Pi),og=M({},Pi,{dataTransfer:0}),ag=Ot(og),lg=M({},xs,{relatedTarget:0}),Oa=Ot(lg),ug=M({},Er,{animationName:0,elapsedTime:0,pseudoElement:0}),cg=Ot(ug),dg=M({},Er,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fg=Ot(dg),hg=M({},Er,{data:0}),rd=Ot(hg),pg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mg={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"},yg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gg(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=yg[e])?!!n[e]:!1}function Ta(){return gg}var vg=M({},xs,{key:function(e){if(e.key){var n=pg[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Ti(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?mg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ta,charCode:function(e){return e.type==="keypress"?Ti(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ti(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xg=Ot(vg),wg=M({},Pi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sd=Ot(wg),bg=M({},xs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ta}),_g=Ot(bg),Sg=M({},Er,{propertyName:0,elapsedTime:0,pseudoElement:0}),Eg=Ot(Sg),Cg=M({},Pi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),kg=Ot(Cg),Og=[9,13,27,32],Ra=f&&"CompositionEvent"in window,bs=null;f&&"documentMode"in document&&(bs=document.documentMode);var Tg=f&&"TextEvent"in window&&!bs,id=f&&(!Ra||bs&&8<bs&&11>=bs),od=" ",ad=!1;function ld(e,n){switch(e){case"keyup":return Og.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ud(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Cr=!1;function Rg(e,n){switch(e){case"compositionend":return ud(n);case"keypress":return n.which!==32?null:(ad=!0,od);case"textInput":return e=n.data,e===od&&ad?null:e;default:return null}}function Pg(e,n){if(Cr)return e==="compositionend"||!Ra&&ld(e,n)?(e=ed(),Oi=Sa=Tn=null,Cr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return id&&n.locale!=="ko"?null:n.data;default:return null}}var jg={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 cd(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!jg[e.type]:n==="textarea"}function dd(e,n,i,a){jc(a),n=Di(n,"onChange"),0<n.length&&(i=new Ea("onChange","change",null,i,a),e.push({event:i,listeners:n}))}var _s=null,Ss=null;function Ag(e){Rd(e,0)}function ji(e){var n=Pr(e);if(st(n))return e}function Ng(e,n){if(e==="change")return n}var fd=!1;if(f){var Pa;if(f){var ja="oninput"in document;if(!ja){var hd=document.createElement("div");hd.setAttribute("oninput","return;"),ja=typeof hd.oninput=="function"}Pa=ja}else Pa=!1;fd=Pa&&(!document.documentMode||9<document.documentMode)}function pd(){_s&&(_s.detachEvent("onpropertychange",md),Ss=_s=null)}function md(e){if(e.propertyName==="value"&&ji(Ss)){var n=[];dd(n,Ss,e,ca(e)),Dc(Ag,n)}}function Lg(e,n,i){e==="focusin"?(pd(),_s=n,Ss=i,_s.attachEvent("onpropertychange",md)):e==="focusout"&&pd()}function Dg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ji(Ss)}function Ig(e,n){if(e==="click")return ji(n)}function Mg(e,n){if(e==="input"||e==="change")return ji(n)}function Fg(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Qt=typeof Object.is=="function"?Object.is:Fg;function Es(e,n){if(Qt(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var i=Object.keys(e),a=Object.keys(n);if(i.length!==a.length)return!1;for(a=0;a<i.length;a++){var d=i[a];if(!m.call(n,d)||!Qt(e[d],n[d]))return!1}return!0}function yd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gd(e,n){var i=yd(e);e=0;for(var a;i;){if(i.nodeType===3){if(a=e+i.textContent.length,e<=n&&a>=n)return{node:i,offset:n-e};e=a}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=yd(i)}}function vd(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?vd(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function xd(){for(var e=window,n=Vt();n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=Vt(e.document)}return n}function Aa(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Ug(e){var n=xd(),i=e.focusedElem,a=e.selectionRange;if(n!==i&&i&&i.ownerDocument&&vd(i.ownerDocument.documentElement,i)){if(a!==null&&Aa(i)){if(n=a.start,e=a.end,e===void 0&&(e=n),"selectionStart"in i)i.selectionStart=n,i.selectionEnd=Math.min(e,i.value.length);else if(e=(n=i.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var d=i.textContent.length,h=Math.min(a.start,d);a=a.end===void 0?h:Math.min(a.end,d),!e.extend&&h>a&&(d=a,a=h,h=d),d=gd(i,h);var y=gd(i,a);d&&y&&(e.rangeCount!==1||e.anchorNode!==d.node||e.anchorOffset!==d.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(n=n.createRange(),n.setStart(d.node,d.offset),e.removeAllRanges(),h>a?(e.addRange(n),e.extend(y.node,y.offset)):(n.setEnd(y.node,y.offset),e.addRange(n)))}}for(n=[],e=i;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<n.length;i++)e=n[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var zg=f&&"documentMode"in document&&11>=document.documentMode,kr=null,Na=null,Cs=null,La=!1;function wd(e,n,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;La||kr==null||kr!==Vt(a)||(a=kr,"selectionStart"in a&&Aa(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Cs&&Es(Cs,a)||(Cs=a,a=Di(Na,"onSelect"),0<a.length&&(n=new Ea("onSelect","select",null,n,i),e.push({event:n,listeners:a}),n.target=kr)))}function Ai(e,n){var i={};return i[e.toLowerCase()]=n.toLowerCase(),i["Webkit"+e]="webkit"+n,i["Moz"+e]="moz"+n,i}var Or={animationend:Ai("Animation","AnimationEnd"),animationiteration:Ai("Animation","AnimationIteration"),animationstart:Ai("Animation","AnimationStart"),transitionend:Ai("Transition","TransitionEnd")},Da={},bd={};f&&(bd=document.createElement("div").style,"AnimationEvent"in window||(delete Or.animationend.animation,delete Or.animationiteration.animation,delete Or.animationstart.animation),"TransitionEvent"in window||delete Or.transitionend.transition);function Ni(e){if(Da[e])return Da[e];if(!Or[e])return e;var n=Or[e],i;for(i in n)if(n.hasOwnProperty(i)&&i in bd)return Da[e]=n[i];return e}var _d=Ni("animationend"),Sd=Ni("animationiteration"),Ed=Ni("animationstart"),Cd=Ni("transitionend"),kd=new Map,Od="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rn(e,n){kd.set(e,n),u(n,[e])}for(var Ia=0;Ia<Od.length;Ia++){var Ma=Od[Ia],Bg=Ma.toLowerCase(),$g=Ma[0].toUpperCase()+Ma.slice(1);Rn(Bg,"on"+$g)}Rn(_d,"onAnimationEnd"),Rn(Sd,"onAnimationIteration"),Rn(Ed,"onAnimationStart"),Rn("dblclick","onDoubleClick"),Rn("focusin","onFocus"),Rn("focusout","onBlur"),Rn(Cd,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ks="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(" "),Vg=new Set("cancel close invalid load scroll toggle".split(" ").concat(ks));function Td(e,n,i){var a=e.type||"unknown-event";e.currentTarget=i,By(a,n,void 0,e),e.currentTarget=null}function Rd(e,n){n=(n&4)!==0;for(var i=0;i<e.length;i++){var a=e[i],d=a.event;a=a.listeners;e:{var h=void 0;if(n)for(var y=a.length-1;0<=y;y--){var w=a[y],S=w.instance,D=w.currentTarget;if(w=w.listener,S!==h&&d.isPropagationStopped())break e;Td(d,w,D),h=S}else for(y=0;y<a.length;y++){if(w=a[y],S=w.instance,D=w.currentTarget,w=w.listener,S!==h&&d.isPropagationStopped())break e;Td(d,w,D),h=S}}}if(gi)throw e=pa,gi=!1,pa=null,e}function De(e,n){var i=n[qa];i===void 0&&(i=n[qa]=new Set);var a=e+"__bubble";i.has(a)||(Pd(n,e,2,!1),i.add(a))}function Fa(e,n,i){var a=0;n&&(a|=4),Pd(i,e,a,n)}var Li="_reactListening"+Math.random().toString(36).slice(2);function Os(e){if(!e[Li]){e[Li]=!0,o.forEach(function(i){i!=="selectionchange"&&(Vg.has(i)||Fa(i,!1,e),Fa(i,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Li]||(n[Li]=!0,Fa("selectionchange",!1,n))}}function Pd(e,n,i,a){switch(Zc(n)){case 1:var d=rg;break;case 4:d=sg;break;default:d=ba}i=d.bind(null,n,i,e),d=void 0,!ha||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(d=!0),a?d!==void 0?e.addEventListener(n,i,{capture:!0,passive:d}):e.addEventListener(n,i,!0):d!==void 0?e.addEventListener(n,i,{passive:d}):e.addEventListener(n,i,!1)}function Ua(e,n,i,a,d){var h=a;if((n&1)===0&&(n&2)===0&&a!==null)e:for(;;){if(a===null)return;var y=a.tag;if(y===3||y===4){var w=a.stateNode.containerInfo;if(w===d||w.nodeType===8&&w.parentNode===d)break;if(y===4)for(y=a.return;y!==null;){var S=y.tag;if((S===3||S===4)&&(S=y.stateNode.containerInfo,S===d||S.nodeType===8&&S.parentNode===d))return;y=y.return}for(;w!==null;){if(y=er(w),y===null)return;if(S=y.tag,S===5||S===6){a=h=y;continue e}w=w.parentNode}}a=a.return}Dc(function(){var D=h,B=ca(i),$=[];e:{var z=kd.get(e);if(z!==void 0){var Y=Ea,ee=e;switch(e){case"keypress":if(Ti(i)===0)break e;case"keydown":case"keyup":Y=xg;break;case"focusin":ee="focus",Y=Oa;break;case"focusout":ee="blur",Y=Oa;break;case"beforeblur":case"afterblur":Y=Oa;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=nd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=ag;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=_g;break;case _d:case Sd:case Ed:Y=cg;break;case Cd:Y=Eg;break;case"scroll":Y=ig;break;case"wheel":Y=kg;break;case"copy":case"cut":case"paste":Y=fg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=sd}var re=(n&4)!==0,He=!re&&e==="scroll",A=re?z!==null?z+"Capture":null:z;re=[];for(var O=D,N;O!==null;){N=O;var q=N.stateNode;if(N.tag===5&&q!==null&&(N=q,A!==null&&(q=us(O,A),q!=null&&re.push(Ts(O,q,N)))),He)break;O=O.return}0<re.length&&(z=new Y(z,ee,null,i,B),$.push({event:z,listeners:re}))}}if((n&7)===0){e:{if(z=e==="mouseover"||e==="pointerover",Y=e==="mouseout"||e==="pointerout",z&&i!==ua&&(ee=i.relatedTarget||i.fromElement)&&(er(ee)||ee[dn]))break e;if((Y||z)&&(z=B.window===B?B:(z=B.ownerDocument)?z.defaultView||z.parentWindow:window,Y?(ee=i.relatedTarget||i.toElement,Y=D,ee=ee?er(ee):null,ee!==null&&(He=Zn(ee),ee!==He||ee.tag!==5&&ee.tag!==6)&&(ee=null)):(Y=null,ee=D),Y!==ee)){if(re=nd,q="onMouseLeave",A="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(re=sd,q="onPointerLeave",A="onPointerEnter",O="pointer"),He=Y==null?z:Pr(Y),N=ee==null?z:Pr(ee),z=new re(q,O+"leave",Y,i,B),z.target=He,z.relatedTarget=N,q=null,er(B)===D&&(re=new re(A,O+"enter",ee,i,B),re.target=N,re.relatedTarget=He,q=re),He=q,Y&&ee)t:{for(re=Y,A=ee,O=0,N=re;N;N=Tr(N))O++;for(N=0,q=A;q;q=Tr(q))N++;for(;0<O-N;)re=Tr(re),O--;for(;0<N-O;)A=Tr(A),N--;for(;O--;){if(re===A||A!==null&&re===A.alternate)break t;re=Tr(re),A=Tr(A)}re=null}else re=null;Y!==null&&jd($,z,Y,re,!1),ee!==null&&He!==null&&jd($,He,ee,re,!0)}}e:{if(z=D?Pr(D):window,Y=z.nodeName&&z.nodeName.toLowerCase(),Y==="select"||Y==="input"&&z.type==="file")var se=Ng;else if(cd(z))if(fd)se=Mg;else{se=Dg;var oe=Lg}else(Y=z.nodeName)&&Y.toLowerCase()==="input"&&(z.type==="checkbox"||z.type==="radio")&&(se=Ig);if(se&&(se=se(e,D))){dd($,se,i,B);break e}oe&&oe(e,z,D),e==="focusout"&&(oe=z._wrapperState)&&oe.controlled&&z.type==="number"&&qt(z,"number",z.value)}switch(oe=D?Pr(D):window,e){case"focusin":(cd(oe)||oe.contentEditable==="true")&&(kr=oe,Na=D,Cs=null);break;case"focusout":Cs=Na=kr=null;break;case"mousedown":La=!0;break;case"contextmenu":case"mouseup":case"dragend":La=!1,wd($,i,B);break;case"selectionchange":if(zg)break;case"keydown":case"keyup":wd($,i,B)}var ae;if(Ra)e:{switch(e){case"compositionstart":var he="onCompositionStart";break e;case"compositionend":he="onCompositionEnd";break e;case"compositionupdate":he="onCompositionUpdate";break e}he=void 0}else Cr?ld(e,i)&&(he="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(he="onCompositionStart");he&&(id&&i.locale!=="ko"&&(Cr||he!=="onCompositionStart"?he==="onCompositionEnd"&&Cr&&(ae=ed()):(Tn=B,Sa="value"in Tn?Tn.value:Tn.textContent,Cr=!0)),oe=Di(D,he),0<oe.length&&(he=new rd(he,e,null,i,B),$.push({event:he,listeners:oe}),ae?he.data=ae:(ae=ud(i),ae!==null&&(he.data=ae)))),(ae=Tg?Rg(e,i):Pg(e,i))&&(D=Di(D,"onBeforeInput"),0<D.length&&(B=new rd("onBeforeInput","beforeinput",null,i,B),$.push({event:B,listeners:D}),B.data=ae))}Rd($,n)})}function Ts(e,n,i){return{instance:e,listener:n,currentTarget:i}}function Di(e,n){for(var i=n+"Capture",a=[];e!==null;){var d=e,h=d.stateNode;d.tag===5&&h!==null&&(d=h,h=us(e,i),h!=null&&a.unshift(Ts(e,h,d)),h=us(e,n),h!=null&&a.push(Ts(e,h,d))),e=e.return}return a}function Tr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function jd(e,n,i,a,d){for(var h=n._reactName,y=[];i!==null&&i!==a;){var w=i,S=w.alternate,D=w.stateNode;if(S!==null&&S===a)break;w.tag===5&&D!==null&&(w=D,d?(S=us(i,h),S!=null&&y.unshift(Ts(i,S,w))):d||(S=us(i,h),S!=null&&y.push(Ts(i,S,w)))),i=i.return}y.length!==0&&e.push({event:n,listeners:y})}var Hg=/\r\n?/g,qg=/\u0000|\uFFFD/g;function Ad(e){return(typeof e=="string"?e:""+e).replace(Hg,`
39`).replace(qg,"")}function Ii(e,n,i){if(n=Ad(n),Ad(e)!==n&&i)throw Error(s(425))}function Mi(){}var za=null,Ba=null;function $a(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Va=typeof setTimeout=="function"?setTimeout:void 0,Wg=typeof clearTimeout=="function"?clearTimeout:void 0,Nd=typeof Promise=="function"?Promise:void 0,Qg=typeof queueMicrotask=="function"?queueMicrotask:typeof Nd<"u"?function(e){return Nd.resolve(null).then(e).catch(Kg)}:Va;function Kg(e){setTimeout(function(){throw e})}function Ha(e,n){var i=n,a=0;do{var d=i.nextSibling;if(e.removeChild(i),d&&d.nodeType===8)if(i=d.data,i==="/$"){if(a===0){e.removeChild(d),vs(n);return}a--}else i!=="$"&&i!=="$?"&&i!=="$!"||a++;i=d}while(i);vs(n)}function Pn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Ld(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(n===0)return e;n--}else i==="/$"&&n++}e=e.previousSibling}return null}var Rr=Math.random().toString(36).slice(2),nn="__reactFiber$"+Rr,Rs="__reactProps$"+Rr,dn="__reactContainer$"+Rr,qa="__reactEvents$"+Rr,Gg="__reactListeners$"+Rr,Yg="__reactHandles$"+Rr;function er(e){var n=e[nn];if(n)return n;for(var i=e.parentNode;i;){if(n=i[dn]||i[nn]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(e=Ld(e);e!==null;){if(i=e[nn])return i;e=Ld(e)}return n}e=i,i=e.parentNode}return null}function Ps(e){return e=e[nn]||e[dn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Pr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Fi(e){return e[Rs]||null}var Wa=[],jr=-1;function jn(e){return{current:e}}function Ie(e){0>jr||(e.current=Wa[jr],Wa[jr]=null,jr--)}function Le(e,n){jr++,Wa[jr]=e.current,e.current=n}var An={},dt=jn(An),xt=jn(!1),tr=An;function Ar(e,n){var i=e.type.contextTypes;if(!i)return An;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===n)return a.__reactInternalMemoizedMaskedChildContext;var d={},h;for(h in i)d[h]=n[h];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=d),d}function wt(e){return e=e.childContextTypes,e!=null}function Ui(){Ie(xt),Ie(dt)}function Dd(e,n,i){if(dt.current!==An)throw Error(s(168));Le(dt,n),Le(xt,i)}function Id(e,n,i){var a=e.stateNode;if(n=n.childContextTypes,typeof a.getChildContext!="function")return i;a=a.getChildContext();for(var d in a)if(!(d in n))throw Error(s(108,me(e)||"Unknown",d));return M({},i,a)}function zi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||An,tr=dt.current,Le(dt,e),Le(xt,xt.current),!0}function Md(e,n,i){var a=e.stateNode;if(!a)throw Error(s(169));i?(e=Id(e,n,tr),a.__reactInternalMemoizedMergedChildContext=e,Ie(xt),Ie(dt),Le(dt,e)):Ie(xt),Le(xt,i)}var fn=null,Bi=!1,Qa=!1;function Fd(e){fn===null?fn=[e]:fn.push(e)}function Jg(e){Bi=!0,Fd(e)}function Nn(){if(!Qa&&fn!==null){Qa=!0;var e=0,n=je;try{var i=fn;for(je=1;e<i.length;e++){var a=i[e];do a=a(!0);while(a!==null)}fn=null,Bi=!1}catch(d){throw fn!==null&&(fn=fn.slice(e+1)),zc(ma,Nn),d}finally{je=n,Qa=!1}}return null}var Nr=[],Lr=0,$i=null,Vi=0,Lt=[],Dt=0,nr=null,hn=1,pn="";function rr(e,n){Nr[Lr++]=Vi,Nr[Lr++]=$i,$i=e,Vi=n}function Ud(e,n,i){Lt[Dt++]=hn,Lt[Dt++]=pn,Lt[Dt++]=nr,nr=e;var a=hn;e=pn;var d=32-Wt(a)-1;a&=~(1<<d),i+=1;var h=32-Wt(n)+d;if(30<h){var y=d-d%5;h=(a&(1<<y)-1).toString(32),a>>=y,d-=y,hn=1<<32-Wt(n)+d|i<<d|a,pn=h+e}else hn=1<<h|i<<d|a,pn=e}function Ka(e){e.return!==null&&(rr(e,1),Ud(e,1,0))}function Ga(e){for(;e===$i;)$i=Nr[--Lr],Nr[Lr]=null,Vi=Nr[--Lr],Nr[Lr]=null;for(;e===nr;)nr=Lt[--Dt],Lt[Dt]=null,pn=Lt[--Dt],Lt[Dt]=null,hn=Lt[--Dt],Lt[Dt]=null}var Tt=null,Rt=null,Fe=!1,Kt=null;function zd(e,n){var i=Ut(5,null,null,0);i.elementType="DELETED",i.stateNode=n,i.return=e,n=e.deletions,n===null?(e.deletions=[i],e.flags|=16):n.push(i)}
vendor: 4,896 bytes, line 39
39function Bd(e,n){switch(e.tag){case 5:var i=e.type;return n=n.nodeType!==1||i.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,Tt=e,Rt=Pn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,Tt=e,Rt=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(i=nr!==null?{id:hn,overflow:pn}:null,e.memoizedState={dehydrated:n,treeContext:i,retryLane:1073741824},i=Ut(18,null,null,0),i.stateNode=n,i.return=e,e.child=i,Tt=e,Rt=null,!0):!1;default:return!1}}function Ya(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ja(e){if(Fe){var n=Rt;if(n){var i=n;if(!Bd(e,n)){if(Ya(e))throw Error(s(418));n=Pn(i.nextSibling);var a=Tt;n&&Bd(e,n)?zd(a,i):(e.flags=e.flags&-4097|2,Fe=!1,Tt=e)}}else{if(Ya(e))throw Error(s(418));e.flags=e.flags&-4097|2,Fe=!1,Tt=e}}}function $d(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Tt=e}function Hi(e){if(e!==Tt)return!1;if(!Fe)return $d(e),Fe=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!$a(e.type,e.memoizedProps)),n&&(n=Rt)){if(Ya(e))throw Vd(),Error(s(418));for(;n;)zd(e,n),n=Pn(n.nextSibling)}if($d(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(n===0){Rt=Pn(e.nextSibling);break e}n--}else i!=="$"&&i!=="$!"&&i!=="$?"||n++}e=e.nextSibling}Rt=null}}else Rt=Tt?Pn(e.stateNode.nextSibling):null;return!0}function Vd(){for(var e=Rt;e;)e=Pn(e.nextSibling)}function Dr(){Rt=Tt=null,Fe=!1}function Xa(e){Kt===null?Kt=[e]:Kt.push(e)}var Xg=U.ReactCurrentBatchConfig;function js(e,n,i){if(e=i.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(s(309));var a=i.stateNode}if(!a)throw Error(s(147,e));var d=a,h=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===h?n.ref:(n=function(y){var w=d.refs;y===null?delete w[h]:w[h]=y},n._stringRef=h,n)}if(typeof e!="string")throw Error(s(284));if(!i._owner)throw Error(s(290,e))}return e}function qi(e,n){throw e=Object.prototype.toString.call(n),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Hd(e){var n=e._init;return n(e._payload)}function qd(e){function n(A,O){if(e){var N=A.deletions;N===null?(A.deletions=[O],A.flags|=16):N.push(O)}}function i(A,O){if(!e)return null;for(;O!==null;)n(A,O),O=O.sibling;return null}function a(A,O){for(A=new Map;O!==null;)O.key!==null?A.set(O.key,O):A.set(O.index,O),O=O.sibling;return A}function d(A,O){return A=Bn(A,O),A.index=0,A.sibling=null,A}function h(A,O,N){return A.index=N,e?(N=A.alternate,N!==null?(N=N.index,N<O?(A.flags|=2,O):N):(A.flags|=2,O)):(A.flags|=1048576,O)}function y(A){return e&&A.alternate===null&&(A.flags|=2),A}function w(A,O,N,q){return O===null||O.tag!==6?(O=Vl(N,A.mode,q),O.return=A,O):(O=d(O,N),O.return=A,O)}function S(A,O,N,q){var se=N.type;return se===de?B(A,O,N.props.children,q,N.key):O!==null&&(O.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Oe&&Hd(se)===O.type)?(q=d(O,N.props),q.ref=js(A,O,N),q.return=A,q):(q=yo(N.type,N.key,N.props,null,A.mode,q),q.ref=js(A,O,N),q.return=A,q)}function D(A,O,N,q){return O===null||O.tag!==4||O.stateNode.containerInfo!==N.containerInfo||O.stateNode.implementation!==N.implementation?(O=Hl(N,A.mode,q),O.return=A,O):(O=d(O,N.children||[]),O.return=A,O)}function B(A,O,N,q,se){return O===null||O.tag!==7?(O=dr(N,A.mode,q,se),O.return=A,O):(O=d(O,N),O.return=A,O)}function $(A,O,N){if(typeof O=="string"&&O!==""||typeof O=="number")return O=Vl(""+O,A.mode,N),O.return=A,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case H:return N=yo(O.type,O.key,O.props,null,A.mode,N),N.ref=js(A,null,O),N.return=A,N;case J:return O=Hl(O,A.mode,N),O.return=A,O;case Oe:var q=O._init;return $(A,q(O._payload),N)}if(_n(O)||ie(O))return O=dr(O,A.mode,N,null),O.return=A,O;qi(A,O)}return null}function z(A,O,N,q){var se=O!==null?O.key:null;if(typeof N=="string"&&N!==""||typeof N=="number")return se!==null?null:w(A,O,""+N,q);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case H:return N.key===se?S(A,O,N,q):null;case J:return N.key===se?D(A,O,N,q):null;case Oe:return se=N._init,z(A,O,se(N._payload),q)}if(_n(N)||ie(N))return se!==null?null:B(A,O,N,q,null);qi(A,N)}return null}function Y(A,O,N,q,se){if(typeof q=="string"&&q!==""||typeof q=="number")return A=A.get(N)||null,w(O,A,""+q,se);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case H:return A=A.get(q.key===null?N:q.key)||null,S(O,A,q,se);case J:return A=A.get(q.key===null?N:q.key)||null,D(O,A,q,se);case Oe:var oe=q._init;return Y(A,O,N,oe(q._payload),se)}if(_n(q)||ie(q))return A=A.get(N)||null,B(O,A,q,se,null);qi(O,q)}return null}function ee(A,O,N,q){for(var se=null,oe=null,ae=O,he=O=0,rt=null;ae!==null&&he<N.length;he++){ae.index>
vendor: 7,138 bytes, line 39
39he?(rt=ae,ae=null):rt=ae.sibling;var Te=z(A,ae,N[he],q);if(Te===null){ae===null&&(ae=rt);break}e&&ae&&Te.alternate===null&&n(A,ae),O=h(Te,O,he),oe===null?se=Te:oe.sibling=Te,oe=Te,ae=rt}if(he===N.length)return i(A,ae),Fe&&rr(A,he),se;if(ae===null){for(;he<N.length;he++)ae=$(A,N[he],q),ae!==null&&(O=h(ae,O,he),oe===null?se=ae:oe.sibling=ae,oe=ae);return Fe&&rr(A,he),se}for(ae=a(A,ae);he<N.length;he++)rt=Y(ae,A,he,N[he],q),rt!==null&&(e&&rt.alternate!==null&&ae.delete(rt.key===null?he:rt.key),O=h(rt,O,he),oe===null?se=rt:oe.sibling=rt,oe=rt);return e&&ae.forEach(function($n){return n(A,$n)}),Fe&&rr(A,he),se}function re(A,O,N,q){var se=ie(N);if(typeof se!="function")throw Error(s(150));if(N=se.call(N),N==null)throw Error(s(151));for(var oe=se=null,ae=O,he=O=0,rt=null,Te=N.next();ae!==null&&!Te.done;he++,Te=N.next()){ae.index>he?(rt=ae,ae=null):rt=ae.sibling;var $n=z(A,ae,Te.value,q);if($n===null){ae===null&&(ae=rt);break}e&&ae&&$n.alternate===null&&n(A,ae),O=h($n,O,he),oe===null?se=$n:oe.sibling=$n,oe=$n,ae=rt}if(Te.done)return i(A,ae),Fe&&rr(A,he),se;if(ae===null){for(;!Te.done;he++,Te=N.next())Te=$(A,Te.value,q),Te!==null&&(O=h(Te,O,he),oe===null?se=Te:oe.sibling=Te,oe=Te);return Fe&&rr(A,he),se}for(ae=a(A,ae);!Te.done;he++,Te=N.next())Te=Y(ae,A,he,Te.value,q),Te!==null&&(e&&Te.alternate!==null&&ae.delete(Te.key===null?he:Te.key),O=h(Te,O,he),oe===null?se=Te:oe.sibling=Te,oe=Te);return e&&ae.forEach(function(jv){return n(A,jv)}),Fe&&rr(A,he),se}function He(A,O,N,q){if(typeof N=="object"&&N!==null&&N.type===de&&N.key===null&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case H:e:{for(var se=N.key,oe=O;oe!==null;){if(oe.key===se){if(se=N.type,se===de){if(oe.tag===7){i(A,oe.sibling),O=d(oe,N.props.children),O.return=A,A=O;break e}}else if(oe.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Oe&&Hd(se)===oe.type){i(A,oe.sibling),O=d(oe,N.props),O.ref=js(A,oe,N),O.return=A,A=O;break e}i(A,oe);break}else n(A,oe);oe=oe.sibling}N.type===de?(O=dr(N.props.children,A.mode,q,N.key),O.return=A,A=O):(q=yo(N.type,N.key,N.props,null,A.mode,q),q.ref=js(A,O,N),q.return=A,A=q)}return y(A);case J:e:{for(oe=N.key;O!==null;){if(O.key===oe)if(O.tag===4&&O.stateNode.containerInfo===N.containerInfo&&O.stateNode.implementation===N.implementation){i(A,O.sibling),O=d(O,N.children||[]),O.return=A,A=O;break e}else{i(A,O);break}else n(A,O);O=O.sibling}O=Hl(N,A.mode,q),O.return=A,A=O}return y(A);case Oe:return oe=N._init,He(A,O,oe(N._payload),q)}if(_n(N))return ee(A,O,N,q);if(ie(N))return re(A,O,N,q);qi(A,N)}return typeof N=="string"&&N!==""||typeof N=="number"?(N=""+N,O!==null&&O.tag===6?(i(A,O.sibling),O=d(O,N),O.return=A,A=O):(i(A,O),O=Vl(N,A.mode,q),O.return=A,A=O),y(A)):i(A,O)}return He}var Ir=qd(!0),Wd=qd(!1),Wi=jn(null),Qi=null,Mr=null,Za=null;function el(){Za=Mr=Qi=null}function tl(e){var n=Wi.current;Ie(Wi),e._currentValue=n}function nl(e,n,i){for(;e!==null;){var a=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,a!==null&&(a.childLanes|=n)):a!==null&&(a.childLanes&n)!==n&&(a.childLanes|=n),e===i)break;e=e.return}}function Fr(e,n){Qi=e,Za=Mr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(bt=!0),e.firstContext=null)}function It(e){var n=e._currentValue;if(Za!==e)if(e={context:e,memoizedValue:n,next:null},Mr===null){if(Qi===null)throw Error(s(308));Mr=e,Qi.dependencies={lanes:0,firstContext:e}}else Mr=Mr.next=e;return n}var sr=null;function rl(e){sr===null?sr=[e]:sr.push(e)}function Qd(e,n,i,a){var d=n.interleaved;return d===null?(i.next=i,rl(n)):(i.next=d.next,d.next=i),n.interleaved=i,mn(e,a)}function mn(e,n){e.lanes|=n;var i=e.alternate;for(i!==null&&(i.lanes|=n),i=e,e=e.return;e!==null;)e.childLanes|=n,i=e.alternate,i!==null&&(i.childLanes|=n),i=e,e=e.return;return i.tag===3?i.stateNode:null}var Ln=!1;function sl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kd(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function yn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function Dn(e,n,i){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ke&2)!==0){var d=a.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),a.pending=n,mn(e,i)}return d=a.interleaved,d===null?(n.next=n,rl(a)):(n.next=d.next,d.next=n),a.interleaved=n,mn(e,i)}function Ki(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194240)!==0)){var a=n.lanes;a&=e.pendingLanes,i|=a,n.lanes=i,va(e,i)}}function Gd(e,n){var i=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,i===a)){var d=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var y={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};h===null?d=h=y:h=h.next=y,i=i.next}while(i!==null);h===null?d=h=n:h=h.next=n}else d=h=n;i={baseState:a.baseState,firstBaseUpdate:d,lastBaseUpdate:h,shared:a.shared,effects:a.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}function Gi(e,n,i,a){var d=e.updateQueue;Ln=!1;var h=d.firstBaseUpdate,y=d.lastBaseUpdate,w=d.shared.pending;if(w!==null){d.shared.pending=null;var S=w,D=S.next;S.next=null,y===null?h=D:y.next=D,y=S;var B=e.alternate;B!==null&&(B=B.updateQueue,w=B.lastBaseUpdate,w!==y&&(w===null?B.firstBaseUpdate=D:w.next=D,B.lastBaseUpdate=S))}if(h!==null){var $=d.baseState;y=0,B=D=S=null,w=h;do{var z=w.lane,Y=w.eventTime;if((a&z)===z){B!==null&&(B=B.next={eventTime:Y,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var ee=e,re=w;switch(z=n,Y=i,re.tag){case 1:if(ee=re.payload,typeof ee=="function"){$=ee.call(Y,$,z);break e}$=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=re.payload,z=typeof ee=="function"?ee.call(Y,$,z):ee,z==null)break e;$=M({},$,z);break e;case 2:Ln=!0}}w.callback!==null&&w.lane!==0&&(e.flags|=64,z=d.effects,z===null?d.effects=[w]:z.push(w))}else Y={eventTime:Y,lane:z,tag:w.tag,payload:w.payload,callback:w.callback,next:null},B===null?(D=B=Y,S=$):B=B.next=Y,y|=z;if(w=w.next,w===null){if(w=d.shared.pending,w===null)break;z=w,w=z.next,z.next=null,d.lastBaseUpdate=z,d.shared.pending=null}}while(!0);if(B===null&&(S=$),d.baseState=S,d.firstBaseUpdate=D,d.lastBaseUpdate=B,n=d.shared.interleaved,n!==null){d=n;do y|=d.lane,d=d.next;while(d!==n)}else h===null&&(d.shared.lanes=0);ar|=y,e.lanes=y,e.memoizedState=$}}function Yd(e,n,i){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var a=e[n],d=a.callback;if(d!==null){if(a.callback=null,a=i,typeof d!="function")throw Error(s(191,d));d.call(a)}}}var As={},rn=jn(As),Ns=jn(As),Ls=jn(As);function ir(e){if(e===As)throw Error(s(174));return e}function il(e,n){switch(Le(Ls,n),Le(Ns,e),Le(rn,As),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:oa(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=oa(n,e)}Ie(rn),Le(rn,n)}function Ur(){Ie(rn),Ie(Ns),Ie(Ls)}function Jd(e){ir(Ls.current);
vendor: 5,588 bytes, line 39
39var n=ir(rn.current),i=oa(n,e.type);n!==i&&(Le(Ns,e),Le(rn,i))}function ol(e){Ns.current===e&&(Ie(rn),Ie(Ns))}var Ue=jn(0);function Yi(e){for(var n=e;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var al=[];function ll(){for(var e=0;e<al.length;e++)al[e]._workInProgressVersionPrimary=null;al.length=0}var Ji=U.ReactCurrentDispatcher,ul=U.ReactCurrentBatchConfig,or=0,ze=null,Ye=null,tt=null,Xi=!1,Ds=!1,Is=0,Zg=0;function ft(){throw Error(s(321))}function cl(e,n){if(n===null)return!1;for(var i=0;i<n.length&&i<e.length;i++)if(!Qt(e[i],n[i]))return!1;return!0}function dl(e,n,i,a,d,h){if(or=h,ze=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Ji.current=e===null||e.memoizedState===null?rv:sv,e=i(a,d),Ds){h=0;do{if(Ds=!1,Is=0,25<=h)throw Error(s(301));h+=1,tt=Ye=null,n.updateQueue=null,Ji.current=iv,e=i(a,d)}while(Ds)}if(Ji.current=to,n=Ye!==null&&Ye.next!==null,or=0,tt=Ye=ze=null,Xi=!1,n)throw Error(s(300));return e}function fl(){var e=Is!==0;return Is=0,e}function sn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?ze.memoizedState=tt=e:tt=tt.next=e,tt}function Mt(){if(Ye===null){var e=ze.alternate;e=e!==null?e.memoizedState:null}else e=Ye.next;var n=tt===null?ze.memoizedState:tt.next;if(n!==null)tt=n,Ye=e;else{if(e===null)throw Error(s(310));Ye=e,e={memoizedState:Ye.memoizedState,baseState:Ye.baseState,baseQueue:Ye.baseQueue,queue:Ye.queue,next:null},tt===null?ze.memoizedState=tt=e:tt=tt.next=e}return tt}function Ms(e,n){return typeof n=="function"?n(e):n}function hl(e){var n=Mt(),i=n.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var a=Ye,d=a.baseQueue,h=i.pending;if(h!==null){if(d!==null){var y=d.next;d.next=h.next,h.next=y}a.baseQueue=d=h,i.pending=null}if(d!==null){h=d.next,a=a.baseState;var w=y=null,S=null,D=h;do{var B=D.lane;if((or&B)===B)S!==null&&(S=S.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),a=D.hasEagerState?D.eagerState:e(a,D.action);else{var $={lane:B,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};S===null?(w=S=$,y=a):S=S.next=$,ze.lanes|=B,ar|=B}D=D.next}while(D!==null&&D!==h);S===null?y=a:S.next=w,Qt(a,n.memoizedState)||(bt=!0),n.memoizedState=a,n.baseState=y,n.baseQueue=S,i.lastRenderedState=a}if(e=i.interleaved,e!==null){d=e;do h=d.lane,ze.lanes|=h,ar|=h,d=d.next;while(d!==e)}else d===null&&(i.lanes=0);return[n.memoizedState,i.dispatch]}function pl(e){var n=Mt(),i=n.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var a=i.dispatch,d=i.pending,h=n.memoizedState;if(d!==null){i.pending=null;var y=d=d.next;do h=e(h,y.action),y=y.next;while(y!==d);Qt(h,n.memoizedState)||(bt=!0),n.memoizedState=h,n.baseQueue===null&&(n.baseState=h),i.lastRenderedState=h}return[h,a]}function Xd(){}function Zd(e,n){var i=ze,a=Mt(),d=n(),h=!Qt(a.memoizedState,d);if(h&&(a.memoizedState=d,bt=!0),a=a.queue,ml(nf.bind(null,i,a,e),[e]),a.getSnapshot!==n||h||tt!==null&&tt.memoizedState.tag&1){if(i.flags|=2048,Fs(9,tf.bind(null,i,a,d,n),void 0,null),nt===null)throw Error(s(349));(or&30)!==0||ef(i,n,d)}return d}function ef(e,n,i){e.flags|=16384,e={getSnapshot:n,value:i},n=ze.updateQueue,n===null?(n={lastEffect:null,stores:null},ze.updateQueue=n,n.stores=[e]):(i=n.stores,i===null?n.stores=[e]:i.push(e))}function tf(e,n,i,a){n.value=i,n.getSnapshot=a,rf(n)&&sf(e)}function nf(e,n,i){return i(function(){rf(n)&&sf(e)})}function rf(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!Qt(e,i)}catch{return!0}}function sf(e){var n=mn(e,1);n!==null&&Xt(n,e,1,-1)}function of(e){var n=sn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ms,lastRenderedState:e},n.queue=e,e=e.dispatch=nv.bind(null,ze,e),[n.memoizedState,e]}function Fs(e,n,i,a){return e={tag:e,create:n,destroy:i,deps:a,next:null},n=ze.updateQueue,n===null?(n={lastEffect:null,stores:null},ze.updateQueue=n,n.lastEffect=e.next=e):(i=n.lastEffect,i===null?n.lastEffect=e.next=e:(a=i.next,i.next=e,e.next=a,n.lastEffect=e)),e}function af(){return Mt().memoizedState}function Zi(e,n,i,a){var d=sn();ze.flags|=e,d.memoizedState=Fs(1|n,i,void 0,a===void 0?null:a)}function eo(e,n,i,a){var d=Mt();a=a===void 0?null:a;var h=void 0;if(Ye!==null){var y=Ye.memoizedState;if(h=y.destroy,a!==null&&cl(a,y.deps)){d.memoizedState=Fs(n,i,h,a);return}}ze.flags|=e,d.memoizedState=Fs(1|n,i,h,a)}function lf(e,n){return Zi(8390656,8,e,n)}function ml(e,n){return eo(2048,8,e,n)}function uf(e,n){return eo(4,2,e,n)}function cf(e,n){return eo(4,4,e,n)}function df(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function ff(e,n,i){return i=i!=null?i.concat([e]):null,eo(4,4,df.bind(null,n,e),i)}function yl(){}function hf(e,n){var i=Mt();n=n===void 0?null:n;var a=i.memoizedState;return a!==null&&n!==null&&cl(n,a[1])?a[0]:(i.memoizedState=[e,n],e)}function pf(e,n){var i=Mt();n=n===void 0?null:n;var a=i.memoizedState;return a!==null&&n!==null&&cl(n,a[1])?a[0]:(e=e(),i.memoizedState=[e,n],e)}function mf(e,n,i){return(or&21)===0?(e.baseState&&(e.baseState=!1,bt=!0),e.memoizedState=i):(Qt(i,n)||
vendor: 7,822 bytes, lines 39-41
39(i=Hc(),ze.lanes|=i,ar|=i,e.baseState=!0),n)}function ev(e,n){var i=je;je=i!==0&&4>i?i:4,e(!0);var a=ul.transition;ul.transition={};try{e(!1),n()}finally{je=i,ul.transition=a}}function yf(){return Mt().memoizedState}function tv(e,n,i){var a=Un(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},gf(e))vf(n,i);else if(i=Qd(e,n,i,a),i!==null){var d=vt();Xt(i,e,a,d),xf(i,n,a)}}function nv(e,n,i){var a=Un(e),d={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(gf(e))vf(n,d);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=n.lastRenderedReducer,h!==null))try{var y=n.lastRenderedState,w=h(y,i);if(d.hasEagerState=!0,d.eagerState=w,Qt(w,y)){var S=n.interleaved;S===null?(d.next=d,rl(n)):(d.next=S.next,S.next=d),n.interleaved=d;return}}catch{}finally{}i=Qd(e,n,d,a),i!==null&&(d=vt(),Xt(i,e,a,d),xf(i,n,a))}}function gf(e){var n=e.alternate;return e===ze||n!==null&&n===ze}function vf(e,n){Ds=Xi=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function xf(e,n,i){if((i&4194240)!==0){var a=n.lanes;a&=e.pendingLanes,i|=a,n.lanes=i,va(e,i)}}var to={readContext:It,useCallback:ft,useContext:ft,useEffect:ft,useImperativeHandle:ft,useInsertionEffect:ft,useLayoutEffect:ft,useMemo:ft,useReducer:ft,useRef:ft,useState:ft,useDebugValue:ft,useDeferredValue:ft,useTransition:ft,useMutableSource:ft,useSyncExternalStore:ft,useId:ft,unstable_isNewReconciler:!1},rv={readContext:It,useCallback:function(e,n){return sn().memoizedState=[e,n===void 0?null:n],e},useContext:It,useEffect:lf,useImperativeHandle:function(e,n,i){return i=i!=null?i.concat([e]):null,Zi(4194308,4,df.bind(null,n,e),i)},useLayoutEffect:function(e,n){return Zi(4194308,4,e,n)},useInsertionEffect:function(e,n){return Zi(4,2,e,n)},useMemo:function(e,n){var i=sn();return n=n===void 0?null:n,e=e(),i.memoizedState=[e,n],e},useReducer:function(e,n,i){var a=sn();return n=i!==void 0?i(n):n,a.memoizedState=a.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=tv.bind(null,ze,e),[a.memoizedState,e]},useRef:function(e){var n=sn();return e={current:e},n.memoizedState=e},useState:of,useDebugValue:yl,useDeferredValue:function(e){return sn().memoizedState=e},useTransition:function(){var e=of(!1),n=e[0];return e=ev.bind(null,e[1]),sn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,i){var a=ze,d=sn();if(Fe){if(i===void 0)throw Error(s(407));i=i()}else{if(i=n(),nt===null)throw Error(s(349));(or&30)!==0||ef(a,n,i)}d.memoizedState=i;var h={value:i,getSnapshot:n};return d.queue=h,lf(nf.bind(null,a,h,e),[e]),a.flags|=2048,Fs(9,tf.bind(null,a,h,i,n),void 0,null),i},useId:function(){var e=sn(),n=nt.identifierPrefix;if(Fe){var i=pn,a=hn;i=(a&~(1<<32-Wt(a)-1)).toString(32)+i,n=":"+n+"R"+i,i=Is++,0<i&&(n+="H"+i.toString(32)),n+=":"}else i=Zg++,n=":"+n+"r"+i.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},sv={readContext:It,useCallback:hf,useContext:It,useEffect:ml,useImperativeHandle:ff,useInsertionEffect:uf,useLayoutEffect:cf,useMemo:pf,useReducer:hl,useRef:af,useState:function(){return hl(Ms)},useDebugValue:yl,useDeferredValue:function(e){var n=Mt();return mf(n,Ye.memoizedState,e)},useTransition:function(){var e=hl(Ms)[0],n=Mt().memoizedState;return[e,n]},useMutableSource:Xd,useSyncExternalStore:Zd,useId:yf,unstable_isNewReconciler:!1},iv={readContext:It,useCallback:hf,useContext:It,useEffect:ml,useImperativeHandle:ff,useInsertionEffect:uf,useLayoutEffect:cf,useMemo:pf,useReducer:pl,useRef:af,useState:function(){return pl(Ms)},useDebugValue:yl,useDeferredValue:function(e){var n=Mt();return Ye===null?n.memoizedState=e:mf(n,Ye.memoizedState,e)},useTransition:function(){var e=pl(Ms)[0],n=Mt().memoizedState;return[e,n]},useMutableSource:Xd,useSyncExternalStore:Zd,useId:yf,unstable_isNewReconciler:!1};function Gt(e,n){if(e&&e.defaultProps){n=M({},n),e=e.defaultProps;for(var i in e)n[i]===void 0&&(n[i]=e[i]);return n}return n}function gl(e,n,i,a){n=e.memoizedState,i=i(a,n),i=i==null?n:M({},n,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var no={isMounted:function(e){return(e=e._reactInternals)?Zn(e)===e:!1},enqueueSetState:function(e,n,i){e=e._reactInternals;var a=vt(),d=Un(e),h=yn(a,d);h.payload=n,i!=null&&(h.callback=i),n=Dn(e,h,d),n!==null&&(Xt(n,e,d,a),Ki(n,e,d))},enqueueReplaceState:function(e,n,i){e=e._reactInternals;var a=vt(),d=Un(e),h=yn(a,d);h.tag=1,h.payload=n,i!=null&&(h.callback=i),n=Dn(e,h,d),n!==null&&(Xt(n,e,d,a),Ki(n,e,d))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var i=vt(),a=Un(e),d=yn(i,a);d.tag=2,n!=null&&(d.callback=n),n=Dn(e,d,a),n!==null&&(Xt(n,e,a,i),Ki(n,e,a))}};function wf(e,n,i,a,d,h,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,h,y):n.prototype&&n.prototype.isPureReactComponent?!Es(i,a)||!Es(d,h):!0}function bf(e,n,i){var a=!1,d=An,h=n.contextType;return typeof h=="object"&&h!==null?h=It(h):(d=wt(n)?tr:dt.current,a=n.contextTypes,h=(a=a!=null)?Ar(e,d):An),n=new n(i,h),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=no,e.stateNode=n,n._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=h),n}function _f(e,n,i,a){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,a),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,a),n.state!==e&&no.enqueueReplaceState(n,n.state,null)}function vl(e,n,i,a){var d=e.stateNode;d.props=i,d.state=e.memoizedState,d.refs={},sl(e);var h=n.contextType;typeof h=="object"&&h!==null?d.context=It(h):(h=wt(n)?tr:dt.current,d.context=Ar(e,h)),d.state=e.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(gl(e,n,h,i),d.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(n=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),n!==d.state&&no.enqueueReplaceState(d,d.state,null),Gi(e,i,d,a),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function zr(e,n){try{var i="",a=n;do i+=le(a),a=a.return;while(a);var d=i}catch(h){d=`
40Error generating stack: `+h.message+`
41`+h.stack}return{value:e,source:n,stack:d,digest:null}}function xl(e,n,i){return{value:e,source:null,stack:i??null,digest:n??null}}function wl(e,n){try{console.error(n.value)}catch(i){setTimeout(function(){throw i})}}var ov=typeof WeakMap=="function"?WeakMap:Map;function Sf(e,n,i){i=yn(-1,i),i.tag=3,i.payload={element:null};var a=n.value;return i.callback=function(){uo||(uo=!0,Dl=a),wl(e,n)},i}function Ef(e,n,i){i=yn(-1,i),i.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var d=n.value;i.payload=function(){return a(d)},i.callback=function(){wl(e,n)}}var h=e.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(i.callback=function(){wl(e,n),typeof a!="function"&&(Mn===null?Mn=new Set([this]):Mn.add(this));var y=n.stack;this.componentDidCatch(n.value,{componentStack:y!==null?y:""})}),i}function Cf(e,n,i){var a=e.pingCache;if(a===null){a=e.pingCache=new ov;var d=new Set;a.set(n,d)}else d=a.get(n),d===void 0&&(d=new Set,a.set(n,d));d.has(i)||(d.add(i),e=wv.bind(null,e,n,i),n.then(e,e))}function kf(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Of(e,n,i,a,d){return(e.mode&1)===0?(e===n?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(n=yn(-1,
vendor: 6,002 bytes, line 41
411),n.tag=2,Dn(i,n,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=d,e)}var av=U.ReactCurrentOwner,bt=!1;function gt(e,n,i,a){n.child=e===null?Wd(n,null,i,a):Ir(n,e.child,i,a)}function Tf(e,n,i,a,d){i=i.render;var h=n.ref;return Fr(n,d),a=dl(e,n,i,a,h,d),i=fl(),e!==null&&!bt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,gn(e,n,d)):(Fe&&i&&Ka(n),n.flags|=1,gt(e,n,a,d),n.child)}function Rf(e,n,i,a,d){if(e===null){var h=i.type;return typeof h=="function"&&!$l(h)&&h.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(n.tag=15,n.type=h,Pf(e,n,h,a,d)):(e=yo(i.type,null,a,n,n.mode,d),e.ref=n.ref,e.return=n,n.child=e)}if(h=e.child,(e.lanes&d)===0){var y=h.memoizedProps;if(i=i.compare,i=i!==null?i:Es,i(y,a)&&e.ref===n.ref)return gn(e,n,d)}return n.flags|=1,e=Bn(h,a),e.ref=n.ref,e.return=n,n.child=e}function Pf(e,n,i,a,d){if(e!==null){var h=e.memoizedProps;if(Es(h,a)&&e.ref===n.ref)if(bt=!1,n.pendingProps=a=h,(e.lanes&d)!==0)(e.flags&131072)!==0&&(bt=!0);else return n.lanes=e.lanes,gn(e,n,d)}return bl(e,n,i,a,d)}function jf(e,n,i){var a=n.pendingProps,d=a.children,h=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Le($r,Pt),Pt|=i;else{if((i&1073741824)===0)return e=h!==null?h.baseLanes|i:i,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Le($r,Pt),Pt|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=h!==null?h.baseLanes:i,Le($r,Pt),Pt|=a}else h!==null?(a=h.baseLanes|i,n.memoizedState=null):a=i,Le($r,Pt),Pt|=a;return gt(e,n,d,i),n.child}function Af(e,n){var i=n.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(n.flags|=512,n.flags|=2097152)}function bl(e,n,i,a,d){var h=wt(i)?tr:dt.current;return h=Ar(n,h),Fr(n,d),i=dl(e,n,i,a,h,d),a=fl(),e!==null&&!bt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,gn(e,n,d)):(Fe&&a&&Ka(n),n.flags|=1,gt(e,n,i,d),n.child)}function Nf(e,n,i,a,d){if(wt(i)){var h=!0;zi(n)}else h=!1;if(Fr(n,d),n.stateNode===null)so(e,n),bf(n,i,a),vl(n,i,a,d),a=!0;else if(e===null){var y=n.stateNode,w=n.memoizedProps;y.props=w;var S=y.context,D=i.contextType;typeof D=="object"&&D!==null?D=It(D):(D=wt(i)?tr:dt.current,D=Ar(n,D));var B=i.getDerivedStateFromProps,$=typeof B=="function"||typeof y.getSnapshotBeforeUpdate=="function";$||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==a||S!==D)&&_f(n,y,a,D),Ln=!1;var z=n.memoizedState;y.state=z,Gi(n,a,y,d),S=n.memoizedState,w!==a||z!==S||xt.current||Ln?(typeof B=="function"&&(gl(n,i,B,a),S=n.memoizedState),(w=Ln||wf(n,i,w,a,z,S,D))?($||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(n.flags|=4194308)):(typeof y.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=a,n.memoizedState=S),y.props=a,y.state=S,y.context=D,a=w):(typeof y.componentDidMount=="function"&&(n.flags|=4194308),a=!1)}else{y=n.stateNode,Kd(e,n),w=n.memoizedProps,D=n.type===n.elementType?w:Gt(n.type,w),y.props=D,$=n.pendingProps,z=y.context,S=i.contextType,typeof S=="object"&&S!==null?S=It(S):(S=wt(i)?tr:dt.current,S=Ar(n,S));var Y=i.getDerivedStateFromProps;(B=typeof Y=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==$||z!==S)&&_f(n,y,a,S),Ln=!1,z=n.memoizedState,y.state=z,Gi(n,a,y,d);var ee=n.memoizedState;w!==$||z!==ee||xt.current||Ln?(typeof Y=="function"&&(gl(n,i,Y,a),ee=n.memoizedState),(D=Ln||wf(n,i,D,a,z,ee,S)||!1)?(B||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(a,ee,S),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(a,ee,S)),typeof y.componentDidUpdate=="function"&&(n.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof y.componentDidUpdate!="function"||w===e.memoizedProps&&z===e.memoizedState||(n.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&z===e.memoizedState||(n.flags|=1024),n.memoizedProps=a,n.memoizedState=ee),y.props=a,y.state=ee,y.context=S,a=D):(typeof y.componentDidUpdate!="function"||w===e.memoizedProps&&z===e.memoizedState||(n.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&z===e.memoizedState||(n.flags|=1024),a=!1)}return _l(e,n,i,a,h,d)}function _l(e,n,i,a,d,h){Af(e,n);var y=(n.flags&128)!==0;if(!a&&!y)return d&&Md(n,i,!1),gn(e,n,h);a=n.stateNode,av.current=n;var w=y&&typeof i.getDerivedStateFromError!="function"?null:a.render();return n.flags|=1,e!==null&&y?(n.child=Ir(n,e.child,null,h),n.child=Ir(n,null,w,h)):gt(e,n,w,h),n.memoizedState=a.state,d&&Md(n,i,!0),n.child}function Lf(e){var n=e.stateNode;n.pendingContext?Dd(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Dd(e,n.context,!1),il(e,n.containerInfo)}function Df(e,n,i,a,d){return Dr(),Xa(d),n.flags|=256,gt(e,n,i,a),n.child}var Sl={dehydrated:null,treeContext:null,retryLane:0};function El(e){return{baseLanes:e,cachePool:null,transitions:null}}function If(e,n,i){var a=n.pendingProps,d=Ue.current,h=!1,y=(n.flags&128)!==0,w;if((w=y)||(w=e!==null&&e.memoizedState===null?!1:(d&2)!==0),w?(h=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(d|=1),Le(Ue,d&1),e===null)return Ja(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((n.mode&1)===0?n.lanes=1:e.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(y=a.children,e=a.fallback,h?(a=n.mode,h=n.child,y={mode:"hidden",children:y},(a&1)===0&&h!==null?(h.childLanes=0,h.pendingProps=y):h=go(y,a,0,null),e=dr(e,a,i,null),h.return=n,e.return=n,h.sibling=e,n.child=h,n.child.memoizedState=El(i),n.memoizedState=Sl,e):Cl(n,y)
vendor: 6,368 bytes, line 41
41);if(d=e.memoizedState,d!==null&&(w=d.dehydrated,w!==null))return lv(e,n,y,a,w,d,i);if(h){h=a.fallback,y=n.mode,d=e.child,w=d.sibling;var S={mode:"hidden",children:a.children};return(y&1)===0&&n.child!==d?(a=n.child,a.childLanes=0,a.pendingProps=S,n.deletions=null):(a=Bn(d,S),a.subtreeFlags=d.subtreeFlags&14680064),w!==null?h=Bn(w,h):(h=dr(h,y,i,null),h.flags|=2),h.return=n,a.return=n,a.sibling=h,n.child=a,a=h,h=n.child,y=e.child.memoizedState,y=y===null?El(i):{baseLanes:y.baseLanes|i,cachePool:null,transitions:y.transitions},h.memoizedState=y,h.childLanes=e.childLanes&~i,n.memoizedState=Sl,a}return h=e.child,e=h.sibling,a=Bn(h,{mode:"visible",children:a.children}),(n.mode&1)===0&&(a.lanes=i),a.return=n,a.sibling=null,e!==null&&(i=n.deletions,i===null?(n.deletions=[e],n.flags|=16):i.push(e)),n.child=a,n.memoizedState=null,a}function Cl(e,n){return n=go({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function ro(e,n,i,a){return a!==null&&Xa(a),Ir(n,e.child,null,i),e=Cl(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function lv(e,n,i,a,d,h,y){if(i)return n.flags&256?(n.flags&=-257,a=xl(Error(s(422))),ro(e,n,y,a)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(h=a.fallback,d=n.mode,a=go({mode:"visible",children:a.children},d,0,null),h=dr(h,d,y,null),h.flags|=2,a.return=n,h.return=n,a.sibling=h,n.child=a,(n.mode&1)!==0&&Ir(n,e.child,null,y),n.child.memoizedState=El(y),n.memoizedState=Sl,h);if((n.mode&1)===0)return ro(e,n,y,null);if(d.data==="$!"){if(a=d.nextSibling&&d.nextSibling.dataset,a)var w=a.dgst;return a=w,h=Error(s(419)),a=xl(h,a,void 0),ro(e,n,y,a)}if(w=(y&e.childLanes)!==0,bt||w){if(a=nt,a!==null){switch(y&-y){case 4:d=2;break;case 16:d=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=(d&(a.suspendedLanes|y))!==0?0:d,d!==0&&d!==h.retryLane&&(h.retryLane=d,mn(e,d),Xt(a,e,d,-1))}return Bl(),a=xl(Error(s(421))),ro(e,n,y,a)}return d.data==="$?"?(n.flags|=128,n.child=e.child,n=bv.bind(null,e),d._reactRetry=n,null):(e=h.treeContext,Rt=Pn(d.nextSibling),Tt=n,Fe=!0,Kt=null,e!==null&&(Lt[Dt++]=hn,Lt[Dt++]=pn,Lt[Dt++]=nr,hn=e.id,pn=e.overflow,nr=n),n=Cl(n,a.children),n.flags|=4096,n)}function Mf(e,n,i){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n),nl(e.return,n,i)}function kl(e,n,i,a,d){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:d}:(h.isBackwards=n,h.rendering=null,h.renderingStartTime=0,h.last=a,h.tail=i,h.tailMode=d)}function Ff(e,n,i){var a=n.pendingProps,d=a.revealOrder,h=a.tail;if(gt(e,n,a.children,i),a=Ue.current,(a&2)!==0)a=a&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Mf(e,i,n);else if(e.tag===19)Mf(e,i,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(Le(Ue,a),(n.mode&1)===0)n.memoizedState=null;else switch(d){case"forwards":for(i=n.child,d=null;i!==null;)e=i.alternate,e!==null&&Yi(e)===null&&(d=i),i=i.sibling;i=d,i===null?(d=n.child,n.child=null):(d=i.sibling,i.sibling=null),kl(n,!1,d,i,h);break;case"backwards":for(i=null,d=n.child,n.child=null;d!==null;){if(e=d.alternate,e!==null&&Yi(e)===null){n.child=d;break}e=d.sibling,d.sibling=i,i=d,d=e}kl(n,!0,i,null,h);break;case"together":kl(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function so(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function gn(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),ar|=n.lanes,(i&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(s(153));if(n.child!==null){for(e=n.child,i=Bn(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=Bn(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function uv(e,n,i){switch(n.tag){case 3:Lf(n),Dr();break;case 5:Jd(n);break;case 1:wt(n.type)&&zi(n);break;case 4:il(n,n.stateNode.containerInfo);break;case 10:var a=n.type._context,d=n.memoizedProps.value;Le(Wi,a._currentValue),a._currentValue=d;break;case 13:if(a=n.memoizedState,a!==null)return a.dehydrated!==null?(Le(Ue,Ue.current&1),n.flags|=128,null):(i&n.child.childLanes)!==0?If(e,n,i):(Le(Ue,Ue.current&1),e=gn(e,n,i),e!==null?e.sibling:null);Le(Ue,Ue.current&1);break;case 19:if(a=(i&n.childLanes)!==0,(e.flags&128)!==0){if(a)return Ff(e,n,i);n.flags|=128}if(d=n.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Le(Ue,Ue.current),a)break;return null;case 22:case 23:return n.lanes=0,jf(e,n,i)}return gn(e,n,i)}var Uf,Ol,zf,Bf;Uf=function(e,n){for(var i=n.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Ol=function(){},zf=function(e,n,i,a){var d=e.memoizedProps;if(d!==a){e=n.stateNode,ir(rn.current);var h=null;switch(i){case"input":d=At(e,d),a=At(e,a),h=[];break;case"select":d=M({},d,{value:void 0}),a=M({},a,{value:void 0}),h=[];break;case"textarea":d=cn(e,d),a=cn(e,a),h=[];break;default:typeof d.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Mi)}aa(i,a);var y;i=null;for(D in d)if(!a.hasOwnProperty(D)&&d.hasOwnProperty(D)&&d[D]!=null)if(D==="style"){var w=d[D];for(y in w)w.hasOwnProperty(y)&&(i||(i={}),i[y]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(l.hasOwnProperty(D)?h||(h=[]):(h=h||[]).push(D,null));for(D in a){var S=a[D];if(w=d?.[D],a.hasOwnProperty(D)&&S!==w&&(S!=null||w!=null))if(D==="style")if(w){for(y in w)!w.hasOwnProperty(y)||S&&S.hasOwnProperty(y)||(i||(i={}),i[y]="");for(y in S)S.hasOwnProperty(y)&&w[y]!==S[y]&&(i||(i={}),i[y]=S[y])}else i||(h||(h=[]),h.push(D,i)),i=S;else D==="dangerouslySetInnerHTML"?(S=S?S.__html:void 0,w=w?w.__html:void 0,S!=null&&w!==S&&(h=h||[]).push(D,S)):D==="children"?typeof S!="str
41ing"&&typeof S!="number"||(h=h||[]).push(D,""+S):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(l.hasOwnProperty(D)?(S!=null&&D==="onScroll"&&De("scroll",e),h||w===S||(h=[])):(h=h||[]).push(D,S))}i&&(h=h||[]).push("style",i);var D=h;(n.updateQueue=D)&&(n.flags|=4)}},Bf=function(e,n,i,a){i!==a&&(n.flags|=4)};function Us(e,n){if(!Fe)switch(e.tailMode){case"hidden":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function ht(e){var n=e.alternate!==null&&e.alternate.child===e.child,i=0,a=0;if(n)for(var d=e.child;d!==null;)i|=d.lanes|d.childLanes,a|=d.subtreeFlags&14680064,a|=d.flags&14680064,d.return=e,d=d.sibling;else for(d=e.child;d!==null;)i|=d.lanes|d.childLanes,a|=d.subtreeFlags,a|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=a,e.childLanes=i,n}function cv(e,n,i){var a=n.pendingProps;switch(Ga(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(n),null;case 1:return wt(n.type)&&Ui(),ht(n),null;case 3:return a=n.stateNode,Ur(),Ie(xt),Ie(dt),ll(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Hi(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Kt!==null&&(Fl(Kt),Kt=null))),Ol(e,n),ht(n),null;case 5:ol(n);var d=ir(Ls.current);if(i=n.type,e!==null&&n.stateNode!=null)zf(e,n,i,a,d),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!a){if(n.stateNode===null)throw Error(s(166));return ht(n),null}if(e=ir(rn.current),Hi(n)){a=n.stateNode,i=n.type;var h=n.memoizedProps;switch(a[nn]=n,a[Rs]=h,e=(n.mode&1)!==0,i){case"dialog":De("cancel",a),De("close",a);break;case"iframe":case"object":case"embed":De("load",a);break;case"video":case"audio":for(d=0;d<ks.length;d++)De(ks[d],a);break;case"source":De("error",a);break;case"img":case"image":case"link":De("error",a),De("load",a);break;case"details":De("toggle",a);break;case"input":Nt(a,h),De("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!h.multiple},De("invalid",a);break;case"textarea":Sc(a,h),De("invalid",a)}aa(i,h),d=null;for(var y in h)if(h.hasOwnProperty(y)){var w=h[y];y==="children"?typeof w=="string"?a.textContent!==w&&(h.suppressHydrationWarning!==!0&&Ii(a.textContent,w,e),d=["children",w]):typeof w=="number"&&a.textContent!==""+w&&(h.suppressHydrationWarning!==!0&&Ii(a.textContent,w,e),d=["children",""+w]):l.hasOwnProperty(y)&&w!=null&&y==="onScroll"&&De("scroll",a)}switch(i){case"input":jt(a),Ht(a,h,!0);break;case"textarea":jt(a),Cc(a);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(a.onclick=Mi)}a=d,n.updateQueue=a,a!==null&&(n.flags|=4)}else{y=d.nodeType===9?d:d.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=kc(i)),e==="http://www.w3.org/1999/xhtml"?i==="script"?(e=y.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=y.createElement(i,{is:a.is}):(e=y.createElement(i),i==="select"&&(y=e,a.multiple?y.multiple=!0:a.size&&(y.size=a.size))):e=y.createElementNS(e,i),e[nn]=n,e[Rs]=a,Uf(e,n,!1,!1),n.stateNode=e;e:{switch(y=la(i,a),i){case"dialog":De("cancel",e),De("close",e),d=a;break;case"iframe":case"object":case"embed":De("load",e),d=a;break;case"video":case"audio":for(d=0;d<ks.length;d++)De(ks[d],e);d=a;break;case"source":De("error",e),d=a;break;case"img":case"image":case"link":De("error",e),De("load",e),d=a;break;case"details":De("toggle",e),d=a;break;case"input":Nt(e,a),d=At(e,a),De("invalid",e);break;case"option":d=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},d=M({},a,{value:void 0}),De("invalid",e);break;case"textarea":Sc(e,a),d=cn(e,a),De("invalid",e);break;default:d=a}aa(i,d),w=d;for(h in w)if(w.hasOwnProperty(h)){var S=w[h];h==="style"?Rc(e,S):h==="dangerouslySetInnerHTML"?(S=S?S.__html:void 0,S!=null&&Oc(e,S)):h==="children"?typeof S=="string"?(i!=="textarea"||S!=="")&&as(e,S):typeof S=="number"&&as(e,""+S):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(l.hasOwnProperty(h)?S!=null&&h==="onScroll"&&De("scroll",e):S!=null&&L(e,h,S,y))}switch(i){case"input":jt(e),Ht(e,a,!1);break;case"textarea":jt(e),Cc(e);break;case"option":a.value!=null&&e.setAttribute("value",""+_e(a.value));break;case"select":e.multiple=!!a.multiple,h=a.value,h!=null?Sn(e,!!a.multiple,h,!1):a.defaultValue!=null&&Sn(e,!!a.multiple,a.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=Mi)}switch(i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}
vendor: 19,520 bytes, line 41
41return ht(n),null;case 6:if(e&&n.stateNode!=null)Bf(e,n,e.memoizedProps,a);else{if(typeof a!="string"&&n.stateNode===null)throw Error(s(166));if(i=ir(Ls.current),ir(rn.current),Hi(n)){if(a=n.stateNode,i=n.memoizedProps,a[nn]=n,(h=a.nodeValue!==i)&&(e=Tt,e!==null))switch(e.tag){case 3:Ii(a.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ii(a.nodeValue,i,(e.mode&1)!==0)}h&&(n.flags|=4)}else a=(i.nodeType===9?i:i.ownerDocument).createTextNode(a),a[nn]=n,n.stateNode=a}return ht(n),null;case 13:if(Ie(Ue),a=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Fe&&Rt!==null&&(n.mode&1)!==0&&(n.flags&128)===0)Vd(),Dr(),n.flags|=98560,h=!1;else if(h=Hi(n),a!==null&&a.dehydrated!==null){if(e===null){if(!h)throw Error(s(318));if(h=n.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(s(317));h[nn]=n}else Dr(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;ht(n),h=!1}else Kt!==null&&(Fl(Kt),Kt=null),h=!0;if(!h)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=i,n):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(n.child.flags|=8192,(n.mode&1)!==0&&(e===null||(Ue.current&1)!==0?Je===0&&(Je=3):Bl())),n.updateQueue!==null&&(n.flags|=4),ht(n),null);case 4:return Ur(),Ol(e,n),e===null&&Os(n.stateNode.containerInfo),ht(n),null;case 10:return tl(n.type._context),ht(n),null;case 17:return wt(n.type)&&Ui(),ht(n),null;case 19:if(Ie(Ue),h=n.memoizedState,h===null)return ht(n),null;if(a=(n.flags&128)!==0,y=h.rendering,y===null)if(a)Us(h,!1);else{if(Je!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(y=Yi(e),y!==null){for(n.flags|=128,Us(h,!1),a=y.updateQueue,a!==null&&(n.updateQueue=a,n.flags|=4),n.subtreeFlags=0,a=i,i=n.child;i!==null;)h=i,e=a,h.flags&=14680066,y=h.alternate,y===null?(h.childLanes=0,h.lanes=e,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=y.childLanes,h.lanes=y.lanes,h.child=y.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=y.memoizedProps,h.memoizedState=y.memoizedState,h.updateQueue=y.updateQueue,h.type=y.type,e=y.dependencies,h.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return Le(Ue,Ue.current&1|2),n.child}e=e.sibling}h.tail!==null&&Ve()>Vr&&(n.flags|=128,a=!0,Us(h,!1),n.lanes=4194304)}else{if(!a)if(e=Yi(y),e!==null){if(n.flags|=128,a=!0,i=e.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),Us(h,!0),h.tail===null&&h.tailMode==="hidden"&&!y.alternate&&!Fe)return ht(n),null}else 2*Ve()-h.renderingStartTime>Vr&&i!==1073741824&&(n.flags|=128,a=!0,Us(h,!1),n.lanes=4194304);h.isBackwards?(y.sibling=n.child,n.child=y):(i=h.last,i!==null?i.sibling=y:n.child=y,h.last=y)}return h.tail!==null?(n=h.tail,h.rendering=n,h.tail=n.sibling,h.renderingStartTime=Ve(),n.sibling=null,i=Ue.current,Le(Ue,a?i&1|2:i&1),n):(ht(n),null);case 22:case 23:return zl(),a=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(n.flags|=8192),a&&(n.mode&1)!==0?(Pt&1073741824)!==0&&(ht(n),n.subtreeFlags&6&&(n.flags|=8192)):ht(n),null;case 24:return null;case 25:return null}throw Error(s(156,n.tag))}function dv(e,n){switch(Ga(n),n.tag){case 1:return wt(n.type)&&Ui(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Ur(),Ie(xt),Ie(dt),ll(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return ol(n),null;case 13:if(Ie(Ue),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(s(340));Dr()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Ie(Ue),null;case 4:return Ur(),null;case 10:return tl(n.type._context),null;case 22:case 23:return zl(),null;case 24:return null;default:return null}}var io=!1,pt=!1,fv=typeof WeakSet=="function"?WeakSet:Set,X=null;function Br(e,n){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){$e(e,n,a)}else i.current=null}function Tl(e,n,i){try{i()}catch(a){$e(e,n,a)}}var $f=!1;function hv(e,n){if(za=Ci,e=xd(),Aa(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var a=i.getSelection&&i.getSelection();if(a&&a.rangeCount!==0){i=a.anchorNode;var d=a.anchorOffset,h=a.focusNode;a=a.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var y=0,w=-1,S=-1,D=0,B=0,$=e,z=null;t:for(;;){for(var Y;$!==i||d!==0&&$.nodeType!==3||(w=y+d),$!==h||a!==0&&$.nodeType!==3||(S=y+a),$.nodeType===3&&(y+=$.nodeValue.length),(Y=$.firstChild)!==null;)z=$,$=Y;for(;;){if($===e)break t;if(z===i&&++D===d&&(w=y),z===h&&++B===a&&(S=y),(Y=$.nextSibling)!==null)break;$=z,z=$.parentNode}$=Y}i=w===-1||S===-1?null:{start:w,end:S}}else i=null}i=i||{start:0,end:0}}else i=null;for(Ba={focusedElem:e,selectionRange:i},Ci=!1,X=n;X!==null;)if(n=X,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,X=e;else for(;X!==null;){n=X;try{var ee=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(ee!==null){var re=ee.memoizedProps,He=ee.memoizedState,A=n.stateNode,O=A.getSnapshotBeforeUpdate(n.elementType===n.type?re:Gt(n.type,re),He);A.__reactInternalSnapshotBeforeUpdate=O}break;case 3:var N=n.stateNode.containerInfo;N.nodeType===1?N.textContent="":N.nodeType===9&&N.documentElement&&N.removeChild(N.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(q){$e(n,n.return,q)}if(e=n.sibling,e!==null){e.return=n.return,X=e;break}X=n.return}return ee=$f,$f=!1,ee}function zs(e,n,i){var a=n.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var d=a=a.next;do{if((d.tag&e)===e){var h=d.destroy;d.destroy=void 0,h!==void 0&&Tl(n,i,h)}d=d.next}while(d!==a)}}function oo(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.create;i.destroy=a()}i=i.next}while(i!==n)}}function Rl(e){var n=e.ref;if(n!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof n=="function"?n(e):n.current=e}}function Vf(e){var n=e.alternate;n!==null&&(e.alternate=null,Vf(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[nn],delete n[Rs],delete n[qa],delete n[Gg],delete n[Yg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Hf(e){return e.tag===5||e.tag===3||e.tag===4}function qf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Hf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Pl(e,n,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?i.nodeType===8?i.parentNode.insertBefore(e,n):i.insertBefore(e,n):(i.nodeType===8?(n=i.parentNode,n.insertBefore(e,i)):(n=i,n.appendChild(e)),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=Mi));else if(a!==4&&(e=e.child,e!==null))for(Pl(e,n,i),e=e.sibling;e!==null;)Pl(e,n,i),e=e.sibling}function jl(e,n,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?i.insertBefore(e,n):i.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(jl(e,n,i),e=e.sibling;e!==null;)jl(e,n,i),e=e.sibling}var ot=null,Yt=!1;function In(e,n,i){for(i=i.child;i!==null;)Wf(e,n,i),i=i.sibling}function Wf(e,n,i){if(tn&&typeof tn.onCommitFiberUnmount=="function")try{tn.onCommitFiberUnmount(xi,i)}catch{}switch(i.tag){case 5:pt||Br(i,n);case 6:var a=ot,d=Yt;ot=null,In(e,n,i),ot=a,Yt=d,ot!==null&&(Yt?(e=ot,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):ot.removeChild(i.stateNode));break;case 18:ot!==null&&(Yt?(e=ot,i=i.stateNode,e.nodeType===8?Ha(e.parentNode,i):e.nodeType===1&&Ha(e,i),vs(e)):Ha(ot,i.stateNode));break;case 4:a=ot,d=Yt,ot=i.stateNode.containerInfo,Yt=!0,In(e,n,i),ot=a,Yt=d;break;case 0:case 11:case 14:case 15:if(!pt&&(a=i.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){d=a=a.next;do{var h=d,y=h.destroy;h=h.tag,y!==void 0&&((h&2)!==0||(h&4)!==0)&&Tl(i,n,y),d=d.next}while(d!==a)}In(e,n,i);break;case 1:if(!pt&&(Br(i,n),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(w){$e(i,n,w)}In(e,n,i);break;case 21:In(e,n,i);break;case 22:i.mode&1?(pt=(a=pt)||i.memoizedState!==null,In(e,n,i),pt=a):In(e,n,i);break;default:In(e,n,i)}}function Qf(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new fv),n.forEach(function(a){var d=_v.bind(null,e,a);i.has(a)||(i.add(a),a.then(d,d))})}}function Jt(e,n){var i=n.deletions;if(i!==null)for(var a=0;a<i.length;a++){var d=i[a];try{var h=e,y=n,w=y;e:for(;w!==null;){switch(w.tag){case 5:ot=w.stateNode,Yt=!1;break e;case 3:ot=w.stateNode.containerInfo,Yt=!0;break e;case 4:ot=w.stateNode.containerInfo,Yt=!0;break e}w=w.return}if(ot===null)throw Error(s(160));Wf(h,y,d),ot=null,Yt=!1;var S=d.alternate;S!==null&&(S.return=null),d.return=null}catch(D){$e(d,n,D)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Kf(n,e),n=n.sibling}function Kf(e,n){var i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Jt(n,e),on(e),a&4){try{zs(3,e,e.return),oo(3,e)}catch(re){$e(e,e.return,re)}try{zs(5,e,e.return)}catch(re){$e(e,e.return,re)}}break;case 1:Jt(n,e),on(e),a&512&&i!==null&&Br(i,i.return);break;case 5:if(Jt(n,e),on(e),a&512&&i!==null&&Br(i,i.return),e.flags&32){var d=e.stateNode;try{as(d,"")}catch(re){$e(e,e.return,re)}}if(a&4&&(d=e.stateNode,d!=null)){var h=e.memoizedProps,y=i!==null?i.memoizedProps:h,w=e.type,S=e.updateQueue;if(e.updateQueue=null,S!==null)try{w==="input"&&h.type==="radio"&&h.name!=null&&ye(d,h),la(w,y);var D=la(w,h);for(y=0;y<S.length;y+=2){var B=S[y],$=S[y+1];B==="style"?Rc(d,$):B==="dangerouslySetInnerHTML"?Oc(d,$):B==="children"?as(d,$):L(d,B,$,D)}switch(w){case"input":it(d,h);break;case"textarea":Ec(d,h);break;case"select":var z=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!h.multiple;var Y=h.value;Y!=null?Sn(d,!!h.multiple,Y,!1):z!==!!h.multiple&&(h.defaultValue!=null?Sn(d,!!h.multiple,h.defaultValue,!0):Sn(d,!!h.multiple,h.multiple?[]:"",!1))}d[Rs]=h}catch(re){$e(e,e.return,re)}}break;case 6:if(Jt(n,e),on(e),a&4){if(e.stateNode===null)throw Error(s(162));d=e.stateNode,h=e.memoizedProps;try{d.nodeValue=h}catch(re){$e(e,e.return,re)}}break;case 3:if(Jt(n,e),on(e),a&4&&i!==null&&i.memoizedState.isDehydrated)try{vs(n.containerInfo)}catch(re){$e(e,e.return,re)}break;case 4:Jt(n,e),on(e);break;case 13:Jt(n,e),on(e),d=e.child,d.flags&8192&&(h=d.memoizedState!==null,d.stateNode.isHidden=h,!h||d.alternate!==null&&d.alternate.memoizedState!==null||(Ll=Ve())),a&4&&Qf(e);break;case 22:if(B=i!==null&&i.memoizedState!==null,e.mode&1?(pt=(D=pt)||B,Jt(n,e),pt=D):Jt(n,e),on(e),a&8192){if(D=e.memoizedState!==null,(e.stateNode.isHidden=D)&&!B&&(e.mode&1)!==0)for(X=e,B=e.child;B!==null;){for($=X=B;X!==null;){switch(z=X,Y=z.child,z.tag){case 0:case 11:case 14:case 15:zs(4,z,z.return);break;case 1:Br(z,z.return);var ee=z.stateNode;if(typeof ee.componentWillUnmount=="function"){a=z,i=z.return;try{n=a,ee.props=n.memoizedProps,ee.state=n.memoizedState,ee.componentWillUnmount()}catch(re){$e(a,i,re)}}break;case 5:Br(z,z.return);break;case 22:if(z.memoizedState!==null){Jf($);continue}}Y!==null?(Y.return=z,X=Y):Jf($)}B=B.sibling}e:for(B=null,$=e;;){if($.tag===5){if(B===null){B=$;try{d=$.stateNode,D?(h=d.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(w=$.stateNode,S=$.memoizedProps.style,y=S!=null&&S.hasOwnProperty("display")?S.display:null,w.style.display=Tc("display",y))}catch(re){$e(e,e.return,re)}}}else if($.tag===6){if(B===null)try{$.stateNode.nodeValue=D?"":$.memoizedProps}catch(re){$e(e,e.return,re)}}else if(($.tag!==22&&$.tag!==23||$.memoizedState===null||$===e)&&$.child!==null){$.child.return=$,$=$.child;continue}if($===e)break e;for(;$.sibling===null;){if($.return===null||$.return===e)break e;B===$&&(B=null),$=$.return}B===$&&(B=null),$.sibling.return=$.return,$=$.sibling}}break;case 19:Jt(n,e),on(e),a&4&&Qf(e);break;case 21:break;default:Jt(n,e),on(e)}}function on(e){var n=e.flags;if(n&2){try{e:{for(var i=e.return;i!==null;){if(Hf(i)){var a=i;break e}i=i.return}throw Error(s(160))}switch(a.tag){case 5:var d=a.stateNode;a.flags&32&&(as(d,""),a.flags&=-33);var h=qf(e);jl(e,h,d);break;case 3:case 4:var y=a.stateNode.containerInfo,w=qf(e);Pl(e,w,y);break;default:throw Error(s(161))}}catch(S){$e(e,e.return,S)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function pv(e,n,i){X=e,Gf(e)}function Gf(e,n,i){for(var a=(e.mode&1)!==0;X!==null;){var d=X,h=d.child;if(d.tag===22&&a){var y=d.memoizedState!==null||io;if(!y){var w=d.alternate,S=w!==null&&w.memoizedState!==null||pt;w=io;var D=pt;if(io=y,(pt=S)&&!D)for(X=d;X!==null;)y=X,S=y.child,y.tag===22&&y.memoizedState!==null?Xf(d):S!==null?(S.return=y,X=S):Xf(d);for(;h!==null;)X=h,Gf(h),h=h.sibling;X=d,io=w,pt=D}Yf(e)}else(d.subtreeFlags&8772)!==0&&h!==null?(h.return=d,X=h):Yf(e)}}function Yf(e){for(;X!==null;){var n=X;if((n.flags&8772)!==0){var i=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:pt||oo(5,n);break;case 1:var a=n.stateNode;if(n.flags&4&&!pt)if(i===null)a.componentDidMount();else{var d=n.elementType===n.type?i.memoizedProps:Gt(n.type,i.memoizedProps);a.componentDidUpdate(d,i.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var h=n.updateQueue;h!==null&&Yd(n,h,a);break;case 3:var y=n.updateQueue;if(y!==null){if(i=null,n.child!==null)switch(n.child.tag){case 5:i=n.child.stateNode;break;case 1:i=n.child.stateNode}Yd(n,y,i)}break;case 5:var w=n.stateNode;if(i===null&&n.flags&4){i=w;var S=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":S.autoFocus&&i.focus();break;case"img":S.src&&(i.src=S.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var D=n.alternate;if(D!==null){var B=D.memoizedState;if(B!==null){var $=B.dehydrated;$!==null&&vs($)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}pt||n.flags&512&&Rl(n)}catch(z){$e(n,n.return,z)}}if(n===e){X=null;break}if(i=n.sibling,i!==null){i.return=n.return,X=i;break}X=n.return}}function Jf(e){for(;X!==null;){var n=X;if(n===e){X=null;break}var i=n.sibling;if(i!==null){i.return=n.return,X=i;break}X=n.return}}function Xf(e){for(;X!==null;){var n=X;try{switch(n.tag){case 0:case 11:case 15:var i=n.return;try{oo(4,n)}catch(S){$e(n,i,S)}break;case 1:var a=n.stateNode;if(typeof a.componentDidMount=="function"){var d=n.return;try{a.componentDidMount()}catch(S){$e(n,d,S)}}var h=n.return;try{Rl(n)}catch(S){$e(n,h,S)}break;case 5:var y=n.return;try{Rl(n)}catch(S){$e(n,y,S)}}}catch(S){$e(n,n.return,S)}if(n===e){X=null;break}var w=n.sibling;if(w!==null){w.return=n.return,X=w;break}X=n.return}}var mv=Math.ceil,ao=U.ReactCurrentDispatcher,Al=U.ReactCurrentOwner,Ft=U.ReactCurrentBatchConfig,ke=0,nt=null,Ke=null,at=0,Pt=0,$r=jn(0),Je=0,Bs=null,ar=0,lo=0,Nl=0,$s=null,_t=null,Ll=0,Vr=1/0,vn=null,uo=!1,Dl=null,Mn=null,co=!1,Fn=null,fo=0,Vs=0,Il=null,ho=-1,po=0;function vt(){return(ke&6)!==0?Ve():ho!==-1?ho:ho=Ve()}function Un(e){return(e.mode&1)===0?1:(ke&2)!==0&&at!==0?at&-at:Xg.transition!==null?(po===0&&(po=Hc()),po):(e=je,e!==0||(e=window.event,e=e===void 0?16:Zc(e.type)),e)}function Xt(e,n,i,a){if(50<Vs)throw Vs=0,Il=null,Error(s(185));hs(e,i,a),((ke&2)===0||e!==nt)&&(e===nt&&((ke&2)===0&&(lo|=i),Je===4&&zn(e,at)),St(e,a),i===1&&ke===0&&(n.mode&1)===0&&(Vr=Ve()+500,Bi&&Nn()))}function St(e,n){var i=e.callbackNode;Xy(e,n);var a=_i(e,e===nt?at:0);if(a===0)i!==null&&Bc(i),e.callbackNode=null,e.callbackPriority=0;else if(n=a&-a,e.callbackPriority!==n){if(i!=null&&Bc(i),n===1)e.tag===0?Jg(eh.bind(null,e)):Fd(eh.bind(null,e)),Qg(function(){(ke&6)===0&&Nn()}),i=null;else{switch(qc(a)){case 1:i=ma;break;case 4:i=$c;break;case 16:i=vi;break;case 536870912:i=Vc;break;default:i=vi}i=lh(i,Zf.bind(null,e))}e.callbackPriority=n,e.callbackNode=i}}function Zf(e,n){if(ho=-1,po=0,(ke&6)!==0)throw Error(s(327));var i=e.callbackNode;if(Hr()&&e.callbackNode!==i)return null;var a=_i(e,e===nt?at:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||n)n=mo(e,a);else{n=a;var d=ke;ke|=2;var h=nh();(nt!==e||at!==n)&&(vn=null,Vr=Ve()+500,ur(e,n));do try{vv();break}catch(w){th(e,w)}while(!0);el(),ao.current=h,ke=d,Ke!==null?n=0:(nt=null,at=0,n=Je)}if(n!==0){if(n===2&&(d=ya(e),d!==0&&(a=d,n=Ml(e,d))),n===1)throw i=Bs,ur(e,0),zn(e,a),St(e,Ve()),i;if(n===6)zn(e,a);else{if(d=e.current.alternate,(a&30)===0&&!yv(d)&&(n=mo(e,a),n===2&&(h=ya(e),h!==0&&(a=h,n=Ml(e,h))),n===1))throw i=Bs,ur(e,0),zn(e,a),St(e,Ve()),i;switch(e.finishedWork=d,e.finishedLanes=a,n){case 0:case 1:throw Error(s(345));case 2:cr(e,_t,vn);break;case 3:if(zn(e,a),(a&130023424)===a&&(n=Ll+500-Ve(),10<n)){if(_i(e,0)!==0)break;if(d=e.suspendedLanes,(d&a)!==a){vt(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=Va(cr.bind(null,e,_t,vn),n);break}cr(e,_t,vn);break;case 4:if(zn(e,a),(a&4194240)===a)break;for(n=e.eventTimes,d=-1;0<a;){var y=31-Wt(a);h=1<<y,y=n[y],y>d&&(d=y),a&=~h}if(a=d,a=Ve()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*mv(a/1960))-a,10<a){e.timeoutHandle=Va(cr.bind(null,e,_t,vn),a);break}cr(e,_t,vn);break;case 5:cr(e,_t,vn);break;default:throw Error(s(329))}}}return St(e,Ve()),e.callbackNode===i?Zf.bind(null,e):null}function Ml(e,n){var i=$s;return e.current.memoizedState.isDehydrated&&(ur(e,n).flags|=256),e=mo(e,n),e!==2&&(n=_t,_t=i,n!==null&&Fl(n)),e}function Fl(e){_t===null?_t=e:_t.push.apply(_t,e)}function yv(e){for(var n=e;;){if(n.flags&16384){var i=n.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var a=0;a<i.length;a++){var d=i[a],h=d.getSnapshot;d=d.value;try{if(!Qt(h(),d))return!1}catch{return!1}}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function zn(e,n){for(n&=~Nl,n&=~lo,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var i=31-Wt(n),a=1<<i;e[i]=-1,n&=~a}}function eh(e){if((ke&6)!==0)throw Error(s(327));Hr();var n=_i(e,0);if((n&1)===0)return St(e,Ve()),null;var i=mo(e,n);if(e.tag!==0&&i===2){var a=ya(e);a!==0&&(n=a,i=Ml(e,a))}if(i===1)throw i=Bs,ur(e,0),zn(e,n),St(e,Ve()),i;if(i===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,cr(e,_t,vn),St(e,Ve()),null}function Ul(e,n){var i=ke;ke|=1;try{return e(n)}finally{ke=i,ke===0&&(Vr=Ve()+500,Bi&&Nn())}}function lr(e){Fn!==null&&Fn.tag===0&&(ke&6)===0&&Hr();var n=ke;ke|=1;var i=Ft.transition,a=je;try{if(Ft.transition=null,je=1,e)return e()}finally{je=a,Ft.transition=i,ke=n,(ke&6)===0&&Nn()}}function zl(){Pt=$r.current,Ie($r)}function ur(e,n){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,Wg(i)),Ke!==null)for(i=Ke.return;i!==null;){var a=i;switch(Ga(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Ui();break;case 3:Ur(),Ie(xt),Ie(dt),ll();break;case 5:ol(a);break;case 4:Ur();break;case 13:Ie(Ue);break;case 19:Ie(Ue);break;case 10:tl(a.type._context);break;case 22:case 23:zl()}i=i.return}if(nt=e,Ke=e=Bn(e.current,null),at=Pt=n,Je=0,Bs=null,Nl=lo=ar=0,_t=$s=null,sr!==null){for(n=0;n<sr.length;n++)if(i=sr[n],a=i.interleaved,a!==null){i.interleaved=null;var d=a.next,h=i.pending;if(h!==null){var y=h.next;h.next=d,a.next=y}
vendor: 6,710 bytes, line 41
41i.pending=a}sr=null}return e}function th(e,n){do{var i=Ke;try{if(el(),Ji.current=to,Xi){for(var a=ze.memoizedState;a!==null;){var d=a.queue;d!==null&&(d.pending=null),a=a.next}Xi=!1}if(or=0,tt=Ye=ze=null,Ds=!1,Is=0,Al.current=null,i===null||i.return===null){Je=1,Bs=n,Ke=null;break}e:{var h=e,y=i.return,w=i,S=n;if(n=at,w.flags|=32768,S!==null&&typeof S=="object"&&typeof S.then=="function"){var D=S,B=w,$=B.tag;if((B.mode&1)===0&&($===0||$===11||$===15)){var z=B.alternate;z?(B.updateQueue=z.updateQueue,B.memoizedState=z.memoizedState,B.lanes=z.lanes):(B.updateQueue=null,B.memoizedState=null)}var Y=kf(y);if(Y!==null){Y.flags&=-257,Of(Y,y,w,h,n),Y.mode&1&&Cf(h,D,n),n=Y,S=D;var ee=n.updateQueue;if(ee===null){var re=new Set;re.add(S),n.updateQueue=re}else ee.add(S);break e}else{if((n&1)===0){Cf(h,D,n),Bl();break e}S=Error(s(426))}}else if(Fe&&w.mode&1){var He=kf(y);if(He!==null){(He.flags&65536)===0&&(He.flags|=256),Of(He,y,w,h,n),Xa(zr(S,w));break e}}h=S=zr(S,w),Je!==4&&(Je=2),$s===null?$s=[h]:$s.push(h),h=y;do{switch(h.tag){case 3:h.flags|=65536,n&=-n,h.lanes|=n;var A=Sf(h,S,n);Gd(h,A);break e;case 1:w=S;var O=h.type,N=h.stateNode;if((h.flags&128)===0&&(typeof O.getDerivedStateFromError=="function"||N!==null&&typeof N.componentDidCatch=="function"&&(Mn===null||!Mn.has(N)))){h.flags|=65536,n&=-n,h.lanes|=n;var q=Ef(h,w,n);Gd(h,q);break e}}h=h.return}while(h!==null)}sh(i)}catch(se){n=se,Ke===i&&i!==null&&(Ke=i=i.return);continue}break}while(!0)}function nh(){var e=ao.current;return ao.current=to,e===null?to:e}function Bl(){(Je===0||Je===3||Je===2)&&(Je=4),nt===null||(ar&268435455)===0&&(lo&268435455)===0||zn(nt,at)}function mo(e,n){var i=ke;ke|=2;var a=nh();(nt!==e||at!==n)&&(vn=null,ur(e,n));do try{gv();break}catch(d){th(e,d)}while(!0);if(el(),ke=i,ao.current=a,Ke!==null)throw Error(s(261));return nt=null,at=0,Je}function gv(){for(;Ke!==null;)rh(Ke)}function vv(){for(;Ke!==null&&!Vy();)rh(Ke)}function rh(e){var n=ah(e.alternate,e,Pt);e.memoizedProps=e.pendingProps,n===null?sh(e):Ke=n,Al.current=null}function sh(e){var n=e;do{var i=n.alternate;if(e=n.return,(n.flags&32768)===0){if(i=cv(i,n,Pt),i!==null){Ke=i;return}}else{if(i=dv(i,n),i!==null){i.flags&=32767,Ke=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Je=6,Ke=null;return}}if(n=n.sibling,n!==null){Ke=n;return}Ke=n=e}while(n!==null);Je===0&&(Je=5)}function cr(e,n,i){var a=je,d=Ft.transition;try{Ft.transition=null,je=1,xv(e,n,i,a)}finally{Ft.transition=d,je=a}return null}function xv(e,n,i,a){do Hr();while(Fn!==null);if((ke&6)!==0)throw Error(s(327));i=e.finishedWork;var d=e.finishedLanes;if(i===null)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var h=i.lanes|i.childLanes;if(Zy(e,h),e===nt&&(Ke=nt=null,at=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||co||(co=!0,lh(vi,function(){return Hr(),null})),h=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||h){h=Ft.transition,Ft.transition=null;var y=je;je=1;var w=ke;ke|=4,Al.current=null,hv(e,i),Kf(i,e),Ug(Ba),Ci=!!za,Ba=za=null,e.current=i,pv(i),Hy(),ke=w,je=y,Ft.transition=h}else e.current=i;if(co&&(co=!1,Fn=e,fo=d),h=e.pendingLanes,h===0&&(Mn=null),Qy(i.stateNode),St(e,Ve()),n!==null)for(a=e.onRecoverableError,i=0;i<n.length;i++)d=n[i],a(d.value,{componentStack:d.stack,digest:d.digest});if(uo)throw uo=!1,e=Dl,Dl=null,e;return(fo&1)!==0&&e.tag!==0&&Hr(),h=e.pendingLanes,(h&1)!==0?e===Il?Vs++:(Vs=0,Il=e):Vs=0,Nn(),null}function Hr(){if(Fn!==null){var e=qc(fo),n=Ft.transition,i=je;try{if(Ft.transition=null,je=16>e?16:e,Fn===null)var a=!1;else{if(e=Fn,Fn=null,fo=0,(ke&6)!==0)throw Error(s(331));var d=ke;for(ke|=4,X=e.current;X!==null;){var h=X,y=h.child;if((X.flags&16)!==0){var w=h.deletions;if(w!==null){for(var S=0;S<w.length;S++){var D=w[S];for(X=D;X!==null;){var B=X;switch(B.tag){case 0:case 11:case 15:zs(8,B,h)}var $=B.child;if($!==null)$.return=B,X=$;else for(;X!==null;){B=X;var z=B.sibling,Y=B.return;if(Vf(B),B===D){X=null;break}if(z!==null){z.return=Y,X=z;break}X=Y}}}var ee=h.alternate;if(ee!==null){var re=ee.child;if(re!==null){ee.child=null;do{var He=re.sibling;re.sibling=null,re=He}while(re!==null)}}X=h}}if((h.subtreeFlags&2064)!==0&&y!==null)y.return=h,X=y;else e:for(;X!==null;){if(h=X,(h.flags&2048)!==0)switch(h.tag){case 0:case 11:case 15:zs(9,h,h.return)}var A=h.sibling;if(A!==null){A.return=h.return,X=A;break e}X=h.return}}var O=e.current;for(X=O;X!==null;){y=X;var N=y.child;if((y.subtreeFlags&2064)!==0&&N!==null)N.return=y,X=N;else e:for(y=O;X!==null;){if(w=X,(w.flags&2048)!==0)try{switch(w.tag){case 0:case 11:case 15:oo(9,w)}}catch(se){$e(w,w.return,se)}if(w===y){X=null;break e}var q=w.sibling;if(q!==null){q.return=w.return,X=q;break e}X=w.return}}if(ke=d,Nn(),tn&&typeof tn.onPostCommitFiberRoot=="function")try{tn.onPostCommitFiberRoot(xi,e)}catch{}a=!0}return a}finally{je=i,Ft.transition=n}}return!1}function ih(e,n,i){n=zr(i,n),n=Sf(e,n,1),e=Dn(e,n,1),n=vt(),e!==null&&(hs(e,1,n),St(e,n))}function $e(e,n,i){if(e.tag===3)ih(e,e,i);else for(;n!==null;){if(n.tag===3){ih(n,e,i);break}else if(n.tag===1){var a=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Mn===null||!Mn.has(a))){e=zr(i,e),e=Ef(n,e,1),n=Dn(n,e,1),e=vt(),n!==null&&(hs(n,1,e),St(n,e));break}}n=n.return}}function wv(e,n,i){var a=e.pingCache;a!==null&&a.delete(n),n=vt(),e.pingedLanes|=e.suspendedLanes&i,nt===e&&(at&i)===i&&(Je===4||Je===3&&(at&130023424)===at&&500>Ve()-Ll?ur(e,0):Nl|=i),St(e,n)}function oh(e,n){n===0&&((e.mode&1)===0?n=1:(n=bi,bi<<=1,(bi&130023424)===0&&(bi=4194304)));var i=vt();e=mn(e,n),e!==null&&(hs(e,n,i),St(e,i))}function bv(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),oh(e,i)}function _v(e,n){var i=0;switch(e.tag){case 13:var a=e.stateNode,d=e.memoizedState;d!==null&&(i=d.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(s(314))}a!==null&&a.delete(n),oh(e,i)}var ah;ah=function(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps||xt.current)bt=!0;else{if((e.lanes&i)===0&&(n.flags&128)===0)return bt=!1,uv(e,n,i);bt=(e.flags&131072)!==0}else bt=!1,Fe&&(n.flags&1048576)!==0&&Ud(n,Vi,n.index);switch(n.lanes=0,n.tag){case 2:var a=n.type;so(e,n),e=n.pendingProps;var d=Ar(n,dt.current);Fr(n,i),d=dl(null,n,a,e,d,i);var h=fl();return n.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,wt(a)?(h=!0,zi(n)):h=!1,n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,sl(n),d.updater=no,n.stateNode=d,d._reactInternals=n,vl(n,a,e,i),n=_l(null,n,a,!0,h,i)):(n.tag=0,Fe&&h&&Ka(n),gt(null,n,d,i),n=n.child),n;case 16:a=n.elementType;
vendor: 10,861 bytes, line 41
41e:{switch(so(e,n),e=n.pendingProps,d=a._init,a=d(a._payload),n.type=a,d=n.tag=Ev(a),e=Gt(a,e),d){case 0:n=bl(null,n,a,e,i);break e;case 1:n=Nf(null,n,a,e,i);break e;case 11:n=Tf(null,n,a,e,i);break e;case 14:n=Rf(null,n,a,Gt(a.type,e),i);break e}throw Error(s(306,a,""))}return n;case 0:return a=n.type,d=n.pendingProps,d=n.elementType===a?d:Gt(a,d),bl(e,n,a,d,i);case 1:return a=n.type,d=n.pendingProps,d=n.elementType===a?d:Gt(a,d),Nf(e,n,a,d,i);case 3:e:{if(Lf(n),e===null)throw Error(s(387));a=n.pendingProps,h=n.memoizedState,d=h.element,Kd(e,n),Gi(n,a,null,i);var y=n.memoizedState;if(a=y.element,h.isDehydrated)if(h={element:a,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},n.updateQueue.baseState=h,n.memoizedState=h,n.flags&256){d=zr(Error(s(423)),n),n=Df(e,n,a,i,d);break e}else if(a!==d){d=zr(Error(s(424)),n),n=Df(e,n,a,i,d);break e}else for(Rt=Pn(n.stateNode.containerInfo.firstChild),Tt=n,Fe=!0,Kt=null,i=Wd(n,null,a,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Dr(),a===d){n=gn(e,n,i);break e}gt(e,n,a,i)}n=n.child}return n;case 5:return Jd(n),e===null&&Ja(n),a=n.type,d=n.pendingProps,h=e!==null?e.memoizedProps:null,y=d.children,$a(a,d)?y=null:h!==null&&$a(a,h)&&(n.flags|=32),Af(e,n),gt(e,n,y,i),n.child;case 6:return e===null&&Ja(n),null;case 13:return If(e,n,i);case 4:return il(n,n.stateNode.containerInfo),a=n.pendingProps,e===null?n.child=Ir(n,null,a,i):gt(e,n,a,i),n.child;case 11:return a=n.type,d=n.pendingProps,d=n.elementType===a?d:Gt(a,d),Tf(e,n,a,d,i);case 7:return gt(e,n,n.pendingProps,i),n.child;case 8:return gt(e,n,n.pendingProps.children,i),n.child;case 12:return gt(e,n,n.pendingProps.children,i),n.child;case 10:e:{if(a=n.type._context,d=n.pendingProps,h=n.memoizedProps,y=d.value,Le(Wi,a._currentValue),a._currentValue=y,h!==null)if(Qt(h.value,y)){if(h.children===d.children&&!xt.current){n=gn(e,n,i);break e}}else for(h=n.child,h!==null&&(h.return=n);h!==null;){var w=h.dependencies;if(w!==null){y=h.child;for(var S=w.firstContext;S!==null;){if(S.context===a){if(h.tag===1){S=yn(-1,i&-i),S.tag=2;var D=h.updateQueue;if(D!==null){D=D.shared;var B=D.pending;B===null?S.next=S:(S.next=B.next,B.next=S),D.pending=S}}h.lanes|=i,S=h.alternate,S!==null&&(S.lanes|=i),nl(h.return,i,n),w.lanes|=i;break}S=S.next}}else if(h.tag===10)y=h.type===n.type?null:h.child;else if(h.tag===18){if(y=h.return,y===null)throw Error(s(341));y.lanes|=i,w=y.alternate,w!==null&&(w.lanes|=i),nl(y,i,n),y=h.sibling}else y=h.child;if(y!==null)y.return=h;else for(y=h;y!==null;){if(y===n){y=null;break}if(h=y.sibling,h!==null){h.return=y.return,y=h;break}y=y.return}h=y}gt(e,n,d.children,i),n=n.child}return n;case 9:return d=n.type,a=n.pendingProps.children,Fr(n,i),d=It(d),a=a(d),n.flags|=1,gt(e,n,a,i),n.child;case 14:return a=n.type,d=Gt(a,n.pendingProps),d=Gt(a.type,d),Rf(e,n,a,d,i);case 15:return Pf(e,n,n.type,n.pendingProps,i);case 17:return a=n.type,d=n.pendingProps,d=n.elementType===a?d:Gt(a,d),so(e,n),n.tag=1,wt(a)?(e=!0,zi(n)):e=!1,Fr(n,i),bf(n,a,d),vl(n,a,d,i),_l(null,n,a,!0,e,i);case 19:return Ff(e,n,i);case 22:return jf(e,n,i)}throw Error(s(156,n.tag))};function lh(e,n){return zc(e,n)}function Sv(e,n,i,a){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(e,n,i,a){return new Sv(e,n,i,a)}function $l(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ev(e){if(typeof e=="function")return $l(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Re)return 11;if(e===Be)return 14}return 2}function Bn(e,n){var i=e.alternate;return i===null?(i=Ut(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function yo(e,n,i,a,d,h){var y=2;if(a=e,typeof e=="function")$l(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case de:return dr(i.children,d,h,n);case V:y=8,d|=8;break;case be:return e=Ut(12,i,n,d|2),e.elementType=be,e.lanes=h,e;case Me:return e=Ut(13,i,n,d),e.elementType=Me,e.lanes=h,e;case Ne:return e=Ut(19,i,n,d),e.elementType=Ne,e.lanes=h,e;case Ce:return go(i,d,h,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Pe:y=10;break e;case ve:y=9;break e;case Re:y=11;break e;case Be:y=14;break e;case Oe:y=16,a=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return n=Ut(y,i,n,d),n.elementType=e,n.type=a,n.lanes=h,n}function dr(e,n,i,a){return e=Ut(7,e,a,n),e.lanes=i,e}function go(e,n,i,a){return e=Ut(22,e,a,n),e.elementType=Ce,e.lanes=i,e.stateNode={isHidden:!1},e}function Vl(e,n,i){return e=Ut(6,e,null,n),e.lanes=i,e}function Hl(e,n,i){return n=Ut(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Cv(e,n,i,a,d){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ga(0),this.expirationTimes=ga(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ga(0),this.identifierPrefix=a,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function ql(e,n,i,a,d,h,y,w,S){return e=new Cv(e,n,i,w,S),n===1?(n=1,h===!0&&(n|=8)):n=0,h=Ut(3,null,null,n),e.current=h,h.stateNode=e,h.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},sl(h),e}function kv(e,n,i){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:J,key:a==null?null:""+a,children:e,containerInfo:n,implementation:i}}function uh(e){if(!e)return An;e=e._reactInternals;e:{if(Zn(e)!==e||e.tag!==1)throw Error(s(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(wt(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(s(171))}if(e.tag===1){var i=e.type;if(wt(i))return Id(e,i,n)}return n}function ch(e,n,i,a,d,h,y,w,S){return e=ql(i,a,!0,e,d,h,y,w,S),e.context=uh(null),i=e.current,a=vt(),d=Un(i),h=yn(a,d),h.callback=n??null,Dn(i,h,d),e.current.lanes=d,hs(e,d,a),St(e,a),e}function vo(e,n,i,a){var d=n.current,h=vt(),y=Un(d);return i=uh(i),n.context===null?n.context=i:n.pendingContext=i,n=yn(h,y),n.payload={element:e},a=a===void 0?null:a,a!==null&&(n.callback=a),e=Dn(d,n,y),e!==null&&(Xt(e,d,y,h),Ki(e,d,y)),y}function xo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function dh(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<n?i:n}}function Wl(e,n){dh(e,n),(e=e.alternate)&&dh(e,n)}function Ov(){return null}var fh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ql(e){this._internalRoot=e}wo.prototype.render=Ql.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(s(409));vo(e,n,null,null)},wo.prototype.unmount=Ql.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;lr(function(){vo(null,e,null,null)}),n[dn]=null}};function wo(e){this._internalRoot=e}wo.prototype.unstable_scheduleHydration=function(e){if(e){var n=Kc();e={blockedOn:null,target:e,priority:n};for(var i=0;i<On.length&&n!==0&&n<On[i].priority;i++);On.splice(i,0,e),i===0&&Jc(e)}};function Kl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function bo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function hh(){}function Tv(e,n,i,a,d){if(d){if(typeof a=="function"){var h=a;a=function(){var D=xo(y);h.call(D)}}var y=ch(n,a,e,0,null,!1,!1,"",hh);return e._reactRootContainer=y,e[dn]=y.current,Os(e.nodeType===8?e.parentNode:e),lr(),y}for(;d=e.lastChild;)e.removeChild(d);if(typeof a=="function"){var w=a;a=function(){var D=xo(S);w.call(D)}}var S=ql(e,0,!1,null,null,!1,!1,"",hh);return e._reactRootContainer=S,e[dn]=S.current,Os(e.nodeType===8?e.parentNode:e),lr(function(){vo(n,S,i,a)}),S}function _o(e,n,i,a,d){var h=i._reactRootContainer;if(h){var y=h;if(typeof d=="function"){var w=d;d=function(){var S=xo(y);w.call(S)}}vo(n,y,e,d)}else y=Tv(i,n,e,d,a);return xo(y)}Wc=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var i=fs(n.pendingLanes);i!==0&&(va(n,i|1),St(n,Ve()),(ke&6)===0&&(Vr=Ve()+500,Nn()))}break;case 13:lr(function(){var a=mn(e,1);if(a!==null){var d=vt();Xt(a,e,1,d)}}),Wl(e,1)}},xa=function(e){if(e.tag===13){var n=mn(e,134217728);if(n!==null){var i=vt();Xt(n,e,134217728,i)}Wl(e,134217728)}},Qc=function(e){if(e.tag===13){var n=Un(e),i=mn(e,n);if(i!==null){var a=vt();Xt(i,e,n,a)}Wl(e,n)}},Kc=function(){return je},Gc=function(e,n){var i=je;try{return je=e,n()}finally{je=i}},da=function(e,n,i){switch(n){case"input":if(it(e,i),n=i.name,i.type==="radio"&&n!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<i.length;n++){var a=i[n];if(a!==e&&a.form===e.form){var d=Fi(a);if(!d)throw Error(s(90));st(a),it(a,d)}}}break;case"textarea":Ec(e,i);break;case"select":n=i.value,n!=null&&Sn(e,!!i.multiple,n,!1)}},Nc=Ul,Lc=lr;var Rv={usingClientEntryPoint:!1,Events:[Ps,Pr,Fi,jc,Ac,Ul]},Hs={findFiberByHostInstance:er,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Pv={bundleType:Hs.bundleType,version:Hs.version,rendererPackageName:Hs.rendererPackageName,rendererConfig:Hs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Fc(e),e===null?null:e.stateNode},findFiberByHostInstance:Hs.findFiberByHostInstance||Ov,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
41if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var So=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!So.isDisabled&&So.supportsFiber)try{xi=So.inject(Pv),tn=So}catch{}}return Et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rv,Et.createPortal=function(e,n){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kl(n))throw Error(s(200));return kv(e,n,null,i)},Et.createRoot=function(e,n){if(!Kl(e))throw Error(s(299));var i=!1,a="",d=fh;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError)),n=ql(e,1,!1,null,null,i,!1,a,d),e[dn]=n.current,Os(e.nodeType===8?e.parentNode:e),new Ql(n)},Et.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=Fc(n),e=e===null?null:e.stateNode,e},Et.flushSync=function(e){return lr(e)},Et.hydrate=function(e,n,i){if(!bo(n))throw Error(s(200));return _o(null,e,n,!0,i)},Et.hydrateRoot=function(e,n,i){if(!Kl(e))throw Error(s(405));var a=i!=null&&i.hydratedSources||null,d=!1,h="",y=fh;if(i!=null&&(i.unstable_strictMode===!0&&(d=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onRecoverableError!==void 0&&(y=i.onRecoverableError)),n=ch(n,null,e,1,i??null,d,!1,h,y),e[dn]=n.current,Os(e),a)for(e=0;e<a.length;e++)i=a[e],d=i._getVersion,d=d(i._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[i,d]:n.mutableSourceEagerHydrationData.push(i,d);return new wo(n)},Et.render=function(e,n,i){if(!bo(n))throw Error(s(200));return _o(null,e,n,!1,i)},Et.unmountComponentAtNode=function(e){if(!bo(e))throw Error(s(40));return e._reactRootContainer?(lr(function(){_o(null,null,e,!1,function(){e._reactRootContainer=null,e[dn]=null})}),!0):!1},Et.unstable_batchedUpdates=Ul,Et.unstable_renderSubtreeIntoContainer=function(e,n,i,a){if(!bo(i))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return _o(e,n,i,!1,a)},Et.version="18.3.1-next-f1338f8080-20240426",Et}var bh;function Jp(){if(bh)return Jl.exports;bh=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(r){console.error(r)}}return t(),Jl.exports=Uv(),Jl.exports}var _h;function zv(){if(_h)return Eo;_h=1;var t=Jp();return Eo.createRoot=t.createRoot,Eo.hydrateRoot=t.hydrateRoot,Eo}var Bv=zv();const $v=ts(Bv),Vv="modulepreload",Hv=function(t){return"/"+t},Sh={},G=function(r,s,o){let l=Promise.resolve();if(s&&s.length>0){let c=function(g){return Promise.all(g.map(v=>Promise.resolve(v).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),m=f?.nonce||f?.getAttribute("nonce");l=c(s.map(g=>{if(g=Hv(g),g in Sh)return;Sh[g]=!0;const v=g.endsWith(".css"),x=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${x}`))return;const b=document.createElement("link");if(b.rel=v?"stylesheet":Vv,v||(b.as="script"),b.crossOrigin="",b.href=g,m&&b.setAttribute("nonce",m),document.head.appendChild(b),v)return new Promise((_,j)=>{b.addEventListener("load",_),b.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${g}`)))})}))}function u(c){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=c,window.dispatchEvent(f),!f.defaultPrevented)throw c}return l.then(c=>{for(const f of c||[])f.status==="rejected"&&u(f.reason);return r().catch(u)})},qv=20,Wv=1e6,bn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let eu=0;function Qv(){return eu=(eu+1)%Number.MAX_VALUE,eu.toString()}
41const tu=new Map,Eh=t=>{if(tu.has(t))return;const r=setTimeout(()=>{tu.delete(t),ti({type:bn.REMOVE_TOAST,toastId:t})},Wv);tu.set(t,r)},Kv=(t,r)=>{switch(r.type){case bn.ADD_TOAST:return{...t,toasts:[r.toast,...t.toasts].slice(0,qv)};case bn.UPDATE_TOAST:return{...t,toasts:t.toasts.map(s=>s.id===r.toast.id?{...s,...r.toast}:s)};case bn.DISMISS_TOAST:{const{toastId:s}=r;return s?Eh(s):t.toasts.forEach(o=>{Eh(o.id)}),{...t,toasts:t.toasts.map(o=>o.id===s||s===void 0?{...o,open:!1}:o)}}case bn.REMOVE_TOAST:return r.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(s=>s.id!==r.toastId)}}},Lo=[];let Do={toasts:[]};function ti(t){Do=Kv(Do,t),Lo.forEach(r=>{r(Do)})}function Gv({...t}){const r=Qv(),s=l=>ti({type:bn.UPDATE_TOAST,toast:{...l,id:r}}),o=()=>ti({type:bn.DISMISS_TOAST,toastId:r});return ti({type:bn.ADD_TOAST,toast:{...t,id:r,open:!0,onOpenChange:l=>{l||o()}}}),{id:r,dismiss:o,update:s}}function Yv(){const[t,r]=C.useState(Do);return C.useEffect(()=>(Lo.push(r),()=>{const s=Lo.indexOf(r);s>-1&&Lo.splice(s,1)}),[t]),{...t,toast:Gv,dismiss:s=>ti({type:bn.DISMISS_TOAST,toastId:s})}}function Xp(t){var r,s,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(s=Xp(t[r]))&&(o&&(o+=" "),o+=s)}else for(s in t)t[s]&&(o&&(o+=" "),o+=s);return o}function Zp(){for(var t,r,s=0,o="",l=arguments.length;s<l;s++)(t=arguments[s])&&(r=Xp(t))&&(o&&(o+=" "),o+=r);return o}const Ch=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,kh=Zp,Jv=(t,r)=>s=>{var o;if(r?.variants==null)return kh(t,s?.class,s?.className);const{variants:l,defaultVariants:u}=r,c=Object.keys(l).map(g=>{const v=s?.[g],x=u?.[g];if(v===null)return null;const b=Ch(v)||Ch(x);return l[g][b]}),f=s&&Object.entries(s).reduce((g,v)=>{let[x,b]=v;return b===void 0||(g[x]=b),g},{}),m=r==null||(o=r.compoundVariants)===null||o===void 0?void 0:o.reduce((g,v)=>{let{class:x,className:b,..._}=v;return Object.entries(_).every(j=>{let[P,k]=j;return Array.isArray(k)?k.includes({...u,...f}[P]):{...u,...f}[P]===k})?[...g,x,b]:g},[]);return kh(t,c,m,s?.class,s?.className)};/**
42 * @license lucide-react v0.475.0 - ISC
43 *
44 * This source code is licensed under the ISC license.
45 * See the LICENSE file in the root directory of this source tree.
46 */const Xv=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),em=(...t)=>t.filter((r,s,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===s).join(" ").trim();/**
47 * @license lucide-react v0.475.0 - ISC
48 *
49 * This source code is licensed under the ISC license.
50 * See the LICENSE file in the root directory of this source tree.
51 */var Zv={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
52 * @license lucide-react v0.475.0 - ISC
53 *
54 * This source code is licensed under the ISC license.
55 * See the LICENSE file in the root directory of this source tree.
56 */const e0=C.forwardRef(({color:t="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:c,...f},m)=>C.createElement("svg",{ref:m,...Zv,width:r,height:r,stroke:t,strokeWidth:o?Number(s)*24/Number(r):s,className:em("lucide",l),...f},[...c.map(([g,v])=>C.createElement(g,v)),...Array.isArray(u)?u:[u]]));/**
57 * @license lucide-react v0.475.0 - ISC
58 *
59 * This source code is licensed under the ISC license.
60 * See the LICENSE file in the root directory of this source tree.
61 */const Gn=(t,r)=>{const s=C.forwardRef(({className:o,...l},u)=>C.createElement(e0,{ref:u,iconNode:r,className:em(`lucide-${Xv(t)}`,o),...l}));return s.displayName=`${t}`,s};/**
62 * @license lucide-react v0.475.0 - ISC
63 *
64 * This source code is licensed under the ISC license.
65 * See the LICENSE file in the root directory of this source tree.
66 */const t0=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Oh=Gn("ArrowRight",t0);/**
67 * @license lucide-react v0.475.0 - ISC
68 *
69 * This source code is licensed under the ISC license.
70 * See the LICENSE file in the root directory of this source tree.
71 */const n0=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],r0=Gn("ArrowUpRight",n0);/**
72 * @license lucide-react v0.475.0 - ISC
73 *
74 * This source code is licensed under the ISC license.
75 * See the LICENSE file in the root directory of this source tree.
76 */const s0=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],nu=Gn("ChevronRight",s0);/**
77 * @license lucide-react v0.475.0 - ISC
78 *
79 * This source code is licensed under the ISC license.
80 * See the LICENSE file in the root directory of this source tree.
81 */const i0=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],o0=Gn("Leaf",i0);/**
82 * @license lucide-react v0.475.0 - ISC
83 *
84 * This source code is licensed under the ISC license.
85 * See the LICENSE file in the root directory of this source tree.
86 */const a0=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Co=Gn("MapPin",a0);/**
87 * @license lucide-react v0.475.0 - ISC
88 *
89 * This source code is licensed under the ISC license.
90 * See the LICENSE file in the root directory of this source tree.
91 */const l0=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],u0=Gn("Menu",l0);/**
92 * @license lucide-react v0.475.0 - ISC
93 *
94 * This source code is licensed under the ISC license.
95 * See the LICENSE file in the root directory of this source tree.
96 */const c0=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],d0=Gn("Search",c0);/**
97 * @license lucide-react v0.475.0 - ISC
98 *
99 * This source code is licensed under the ISC license.
100 * See the LICENSE file in the root directory of this source tree.
101 */const f0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 4,490 bytes, line 101
101],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],tm=Gn("X",f0),h0=(t,r)=>{const s=new Array(t.length+r.length);for(let o=0;o<t.length;o++)s[o]=t[o];for(let o=0;o<r.length;o++)s[t.length+o]=r[o];return s},p0=(t,r)=>({classGroupId:t,validator:r}),nm=(t=new Map,r=null,s)=>({nextPart:t,validators:r,classGroupId:s}),Ho="-",Th=[],m0="arbitrary..",y0=t=>{const r=v0(t),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return g0(c);const f=c.split(Ho),m=f[0]===""&&f.length>1?1:0;return rm(f,m,r)},getConflictingClassGroupIds:(c,f)=>{if(f){const m=o[c],g=s[c];return m?g?h0(g,m):m:g||Th}return s[c]||Th}}},rm=(t,r,s)=>{if(t.length-r===0)return s.classGroupId;const l=t[r],u=s.nextPart.get(l);if(u){const g=rm(t,r+1,u);if(g)return g}const c=s.validators;if(c===null)return;const f=r===0?t.join(Ho):t.slice(r).join(Ho),m=c.length;for(let g=0;g<m;g++){const v=c[g];if(v.validator(f))return v.classGroupId}},g0=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=t.slice(1,-1),s=r.indexOf(":"),o=r.slice(0,s);return o?m0+o:void 0})(),v0=t=>{const{theme:r,classGroups:s}=t;return x0(s,r)},x0=(t,r)=>{const s=nm();for(const o in t){const l=t[o];Xu(l,s,o,r)}return s},Xu=(t,r,s,o)=>{const l=t.length;for(let u=0;u<l;u++){const c=t[u];w0(c,r,s,o)}},w0=(t,r,s,o)=>{if(typeof t=="string"){b0(t,r,s);return}if(typeof t=="function"){_0(t,r,s,o);return}S0(t,r,s,o)},b0=(t,r,s)=>{const o=t===""?r:sm(r,t);o.classGroupId=s},_0=(t,r,s,o)=>{if(E0(t)){Xu(t(o),r,s,o);return}r.validators===null&&(r.validators=[]),r.validators.push(p0(s,t))},S0=(t,r,s,o)=>{const l=Object.entries(t),u=l.length;for(let c=0;c<u;c++){const[f,m]=l[c];Xu(m,sm(r,f),s,o)}},sm=(t,r)=>{let s=t;const o=r.split(Ho),l=o.length;for(let u=0;u<l;u++){const c=o[u];let f=s.nextPart.get(c);f||(f=nm(),s.nextPart.set(c,f)),s=f}return s},E0=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,C0=t=>{if(t<1)return{get:()=>{},set:()=>{}};let r=0,s=Object.create(null),o=Object.create(null);const l=(u,c)=>{s[u]=c,r++,r>t&&(r=0,o=s,s=Object.create(null))};return{get(u){let c=s[u];if(c!==void 0)return c;if((c=o[u])!==void 0)return l(u,c),c},set(u,c){u in s?s[u]=c:l(u,c)}}},ku="!",Rh=":",k0=[],Ph=(t,r,s,o,l)=>({modifiers:t,hasImportantModifier:r,baseClassName:s,maybePostfixModifierPosition:o,isExternal:l}),O0=t=>{const{prefix:r,experimentalParseClassName:s}=t;let o=l=>{const u=[];let c=0,f=0,m=0,g;const v=l.length;for(let P=0;P<v;P++){const k=l[P];if(c===0&&f===0){if(k===Rh){u.push(l.slice(m,P)),m=P+1;continue}if(k==="/"){g=P;continue}}k==="["?c++:k==="]"?c--:k==="("?f++:k===")"&&f--}const x=u.length===0?l:l.slice(m);let b=x,_=!1;x.endsWith(ku)?(b=x.slice(0,-1),_=!0):x.startsWith(ku)&&(b=x.slice(1),_=!0);const j=g&&g>m?g-m:void 0;return Ph(u,_,b,j)};if(r){const l=r+Rh,u=o;o=c=>c.startsWith(l)?u(c.slice(l.length)):Ph(k0,!1,c,void 0,!0)}if(s){const l=o;o=u=>s({className:u,parseClassName:l})}return o},T0=t=>{const r=new Map;return t.orderSensitiveModifiers.forEach((s,o)=>{r.set(s,1e6+o)}),s=>{const o=[];let l=[];for(let u=0;u<s.length;u++){const c=s[u],f=c[0]==="[",m=r.has(c);f||m?(l.length>0&&(l.sort(),o.push(...l),l=[]),o.push(c)):l.push(c)}return l.length>0&&(l.sort(),o.push(...l)),o}},R0=t=>({cache:C0(t.cacheSize),parseClassName:O0(t),sortModifiers:T0(t),...y0(t)}),P0=/\s+/,j0=(t,r)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:u}=r,c=[],f=t.trim().split(P0);let m="";for(let g=f.length-1;g>=0;g-=1){const v=f[g],{isExternal:x,modifiers:b,hasImportantModifier:_,baseClassName:j,maybePostfixModifierPosition:P}=s(v);if(x){m=v+(m.length>0?" "+m:m);continue}let k=!!P,E=o(k?j.substring(0,P):j);if(!E){if(!k){m=v+(m.length>0?" "+m:m);continue}if(E=o(j),!E){m=v+(m.length>0?" "+m:m);continue}k=!1}const I=b.length===0?"":b.length===1?b[0]:u(b).join(":"),L=_?I+ku:I,U=L+E;if(c.indexOf(U)>-1)continue;c.push(U);const H=l(E,k);for(let J=0;J<H.length;++J){const de=H[J];c.push(L+de)}m=v+(m.length>0?" "+m:m)}return m},A0=(...t)=>{let r=0,s,o,l="";for(;r<t.length;)(s=t[r++])&&(o=im(s))&&(l&&(l+=" "),l+=o);return l},im=t=>{if(typeof t=="string")return t;let r,s="";for(let o=0;o<t.length;o++)t[o]&&(r=im(t[o]))&&(s&&(s+=" "),s+=r);return s},N0=(t,...r)=>{let s,o,l,u;const c=m=>{const g=r.reduce((v,x)=>x(v),t());return s=R0(g),o=s.cache.get,l=s.cache.set,u=f,f(m)},f=m=>{const g=o(m);if(g)return g;const v=j0(m,s);return l(m,v),v};return u=c,(...m)=>u(A0(...m))},L0=[],Xe=t=>{const r=s=>s[t]||L0;return r.isThemeGetter=!0,r}
vendor: 5,283 bytes, line 101
101,om=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,am=/^\((?:(\w[\w-]*):)?(.+)\)$/i,D0=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,I0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M0=/\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$/,F0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,U0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Vn=t=>D0.test(t),xe=t=>!!t&&!Number.isNaN(Number(t)),Hn=t=>!!t&&Number.isInteger(Number(t)),ru=t=>t.endsWith("%")&&xe(t.slice(0,-1)),xn=t=>I0.test(t),lm=()=>!0,B0=t=>M0.test(t)&&!F0.test(t),Zu=()=>!1,$0=t=>U0.test(t),V0=t=>z0.test(t),H0=t=>!te(t)&&!ne(t),q0=t=>Yn(t,dm,Zu),te=t=>om.test(t),fr=t=>Yn(t,fm,B0),jh=t=>Yn(t,Z0,xe),W0=t=>Yn(t,pm,lm),Q0=t=>Yn(t,hm,Zu),Ah=t=>Yn(t,um,Zu),K0=t=>Yn(t,cm,V0),ko=t=>Yn(t,mm,$0),ne=t=>am.test(t),Ws=t=>wr(t,fm),G0=t=>wr(t,hm),Nh=t=>wr(t,um),Y0=t=>wr(t,dm),J0=t=>wr(t,cm),Oo=t=>wr(t,mm,!0),X0=t=>wr(t,pm,!0),Yn=(t,r,s)=>{const o=om.exec(t);return o?o[1]?r(o[1]):s(o[2]):!1},wr=(t,r,s=!1)=>{const o=am.exec(t);return o?o[1]?r(o[1]):s:!1},um=t=>t==="position"||t==="percentage",cm=t=>t==="image"||t==="url",dm=t=>t==="length"||t==="size"||t==="bg-size",fm=t=>t==="length",Z0=t=>t==="number",hm=t=>t==="family-name",pm=t=>t==="number"||t==="weight",mm=t=>t==="shadow",ex=()=>{const t=Xe("color"),r=Xe("font"),s=Xe("text"),o=Xe("font-weight"),l=Xe("tracking"),u=Xe("leading"),c=Xe("breakpoint"),f=Xe("container"),m=Xe("spacing"),g=Xe("radius"),v=Xe("shadow"),x=Xe("inset-shadow"),b=Xe("text-shadow"),_=Xe("drop-shadow"),j=Xe("blur"),P=Xe("perspective"),k=Xe("aspect"),E=Xe("ease"),I=Xe("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],H=()=>[...U(),ne,te],J=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto","contain","none"],V=()=>[ne,te,m],be=()=>[Vn,"full","auto",...V()],Pe=()=>[Hn,"none","subgrid",ne,te],ve=()=>["auto",{span:["full",Hn,ne,te]},Hn,ne,te],Re=()=>[Hn,"auto",ne,te],Me=()=>["auto","min","max","fr",ne,te],Ne=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Be=()=>["start","end","center","stretch","center-safe","end-safe"],Oe=()=>["auto",...V()],Ce=()=>[Vn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],W=()=>[Vn,"screen","full","dvw","lvw","svw","min","max","fit",...V()],ie=()=>[Vn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...V()],M=()=>[t,ne,te],T=()=>[...U(),Nh,Ah,{position:[ne,te]}],F=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ce=()=>["auto","cover","contain",Y0,q0,{size:[ne,te]}],fe=()=>[ru,Ws,fr],le=()=>["","none","full",g,ne,te],Q=()=>["",xe,Ws,fr],me=()=>["solid","dashed","dotted","double"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[xe,ru,Nh,Ah],et=()=>["","none",j,ne,te],jt=()=>["none",xe,ne,te],st=()=>["none",xe,ne,te],Vt=()=>[xe,ne,te],At=()=>[Vn,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[xn],breakpoint:[xn],color:[lm],container:[xn],"drop-shadow":[xn],ease:["in","out","in-out"],font:[H0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[xn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[xn],shadow:[xn],spacing:["px",xe],text:[xn],"text-shadow":[xn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Vn,te,ne,k]}],container:["container"],columns:[{columns:[xe,te,ne,f]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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:H()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:be()}],"inset-x":[{"inset-x":be()}],"inset-y":[{"inset-y":be()}],start:[{"inset-s":be(),start:be()}],end:[{"inset-e":be(),end:be()}],"inset-bs":[{"inset-bs":be()}],"inset-be":[{"inset-be":be()}],top:[{top:be()}
vendor: 4,787 bytes, line 101
101],right:[{right:be()}],bottom:[{bottom:be()}],left:[{left:be()}],visibility:["visible","invisible","collapse"],z:[{z:[Hn,"auto",ne,te]}],basis:[{basis:[Vn,"full","auto",f,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[xe,Vn,"auto","initial","none",te]}],grow:[{grow:["",xe,ne,te]}],shrink:[{shrink:["",xe,ne,te]}],order:[{order:[Hn,"first","last","none",ne,te]}],"grid-cols":[{"grid-cols":Pe()}],"col-start-end":[{col:ve()}],"col-start":[{"col-start":Re()}],"col-end":[{"col-end":Re()}],"grid-rows":[{"grid-rows":Pe()}],"row-start-end":[{row:ve()}],"row-start":[{"row-start":Re()}],"row-end":[{"row-end":Re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Me()}],"auto-rows":[{"auto-rows":Me()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...Ne(),"normal"]}],"justify-items":[{"justify-items":[...Be(),"normal"]}],"justify-self":[{"justify-self":["auto",...Be()]}],"align-content":[{content:["normal",...Ne()]}],"align-items":[{items:[...Be(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Be(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ne()}],"place-items":[{"place-items":[...Be(),"baseline"]}],"place-self":[{"place-self":["auto",...Be()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pbs:[{pbs:V()}],pbe:[{pbe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:Oe()}],mx:[{mx:Oe()}],my:[{my:Oe()}],ms:[{ms:Oe()}],me:[{me:Oe()}],mbs:[{mbs:Oe()}],mbe:[{mbe:Oe()}],mt:[{mt:Oe()}],mr:[{mr:Oe()}],mb:[{mb:Oe()}],ml:[{ml:Oe()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:Ce()}],"inline-size":[{inline:["auto",...W()]}],"min-inline-size":[{"min-inline":["auto",...W()]}],"max-inline-size":[{"max-inline":["none",...W()]}],"block-size":[{block:["auto",...ie()]}],"min-block-size":[{"min-block":["auto",...ie()]}],"max-block-size":[{"max-block":["none",...ie()]}],w:[{w:[f,"screen",...Ce()]}],"min-w":[{"min-w":[f,"screen","none",...Ce()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[c]},...Ce()]}],h:[{h:["screen","lh",...Ce()]}],"min-h":[{"min-h":["screen","lh","none",...Ce()]}],"max-h":[{"max-h":["screen","lh",...Ce()]}],"font-size":[{text:["base",s,Ws,fr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,X0,W0]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ru,te]}],"font-family":[{font:[G0,Q0,r]}],"font-features":[{"font-features":[te]}],"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:[l,ne,te]}],"line-clamp":[{"line-clamp":[xe,"none",ne,jh]}],leading:[{leading:[u,...V()]}],"list-image":[{"list-image":["none",ne,te]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,te]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[xe,"from-font","auto",ne,fr]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[xe,"auto",ne,te]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,te]}],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",ne,te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:ce()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Hn,ne,te],radial:["",ne,te],conic:[Hn,ne,te]},J0,K0]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:fe()}
101],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:le()}],"rounded-s":[{"rounded-s":le()}],"rounded-e":[{"rounded-e":le()}],"rounded-t":[{"rounded-t":le()}],"rounded-r":[{"rounded-r":le()}],"rounded-b":[{"rounded-b":le()}],"rounded-l":[{"rounded-l":le()}],"rounded-ss":[{"rounded-ss":le()}],"rounded-se":[{"rounded-se":le()}],"rounded-ee":[{"rounded-ee":le()}],"rounded-es":[{"rounded-es":le()}],"rounded-tl":[{"rounded-tl":le()}],"rounded-tr":[{"rounded-tr":le()}],"rounded-br":[{"rounded-br":le()}],"rounded-bl":[{"rounded-bl":le()}],"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:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}
vendor: 5,754 bytes, line 101
101],"divide-color":[{divide:M()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[xe,ne,te]}],"outline-w":[{outline:["",xe,Ws,fr]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",v,Oo,ko]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",x,Oo,ko]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[xe,fr]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",b,Oo,ko]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[xe,ne,te]}],"mix-blend":[{"mix-blend":[..._e(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":_e()}],"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":[xe]}],"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":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"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":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"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":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"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":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"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":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"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":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"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":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[ne,te]}],"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":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":U()}],"mask-image-conic-pos":[{"mask-conic":[xe]}],"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":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:ce()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,te]}],filter:[{filter:["","none",ne,te]}],blur:[{blur:et()}],brightness:[{brightness:[xe,ne,te]}],contrast:[{contrast:[xe,ne,te]}],"drop-shadow":[{"drop-shadow":["","none",_,Oo,ko]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",xe,ne,te]}],"hue-rotate":[{"hue-rotate":[xe,ne,te]}],invert:[{invert:["",xe,ne,te]}],saturate:[{saturate:[xe,ne,te]}],sepia:[{sepia:["",xe,ne,te]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,te]}],"backdrop-blur":[{"backdrop-blur":et()}],"backdrop-brightness":[{"backdrop-brightness":[xe,ne,te]}],"backdrop-contrast":[{"backdrop-contrast":[xe,ne,te]}],"backdrop-grayscale":[{"backdrop-grayscale":["",xe,ne,te]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xe,ne,te]}],"backdrop-invert":[{"backdrop-invert":["",xe,ne,te]}],"backdrop-opacity":[{"backdrop-opacity":[xe,ne,te]}],"backdrop-saturate":[{"backdrop-saturate":[xe,ne,te]}],"backdrop-sepia":[{"backdrop-sepia":["",xe,ne,te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,te]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[xe,"initial",ne,te]}],ease:[{ease:["linear","initial",E,ne,te]}],delay:[{delay:[xe,ne,te]}],animate:[{animate:["none",I,ne,te]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[P,ne,te]}],"perspective-origin":[{"perspective-origin":H()}],rotate:[{rotate:jt()}],"rotate-x":[{"rotate-x":jt()}],"rotate-y":[{"rotate-y":jt()}],"rotate-z":[{"rotate-z":jt()}],scale:[{scale:st()}],"scale-x":[{"scale-x":st()}],"scale-y":[{"scale-y":st()}],"scale-z":[{"scale-z":st()}],"scale-3d":["scale-3d"],skew:[{skew:Vt()}],"skew-x":[{"skew-x":Vt()}],"skew-y":[{"skew-y":Vt()}],transform:[{transform:[ne,te,"","none","gpu","cpu"]}],"transform-origin":[{origin:H()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:At()}],"translate-x":[{"translate-x":At()}],"translate-y":[{"translate-y":At()}],"translate-z":[{"translate-z":At()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}
vendor: 6,955 bytes, line 101
101],"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",ne,te]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mbs":[{"scroll-mbs":V()}],"scroll-mbe":[{"scroll-mbe":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pbs":[{"scroll-pbs":V()}],"scroll-pbe":[{"scroll-pbe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",ne,te]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[xe,Ws,fr,jh]}],stroke:[{stroke:["none",...M()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},tx=N0(ex);function ui(...t){return tx(Zp(t))}const ym=C.forwardRef(({...t},r)=>p.jsx("div",{ref:r,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...t}));ym.displayName="ToastProvider";const gm=C.forwardRef(({...t},r)=>p.jsx("div",{ref:r,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...t}));gm.displayName="ToastViewport";const nx=Jv("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),vm=C.forwardRef(({className:t,variant:r,...s},o)=>p.jsx("div",{ref:o,className:ui(nx({variant:r}),t),...s}));vm.displayName="Toast";const rx=C.forwardRef(({className:t,...r},s)=>p.jsx("div",{ref:s,className:ui("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...r}));rx.displayName="ToastAction";const xm=C.forwardRef(({className:t,...r},s)=>p.jsx("button",{ref:s,className:ui("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 34,925 bytes, lines 101-110
101/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...r,children:p.jsx(tm,{className:"h-4 w-4"})}));xm.displayName="ToastClose";const wm=C.forwardRef(({className:t,...r},s)=>p.jsx("div",{ref:s,className:ui("text-sm font-semibold",t),...r}));wm.displayName="ToastTitle";const bm=C.forwardRef(({className:t,...r},s)=>p.jsx("div",{ref:s,className:ui("text-sm opacity-90",t),...r}));bm.displayName="ToastDescription";function sx(){const{toasts:t}=Yv();return p.jsxs(ym,{children:[t.map(function({id:r,title:s,description:o,action:l,...u}){return p.jsxs(vm,{...u,children:[p.jsxs("div",{className:"grid gap-1",children:[s&&p.jsx(wm,{children:s}),o&&p.jsx(bm,{children:o})]}),l,p.jsx(xm,{})]},r)}),p.jsx(gm,{})]})}var ci=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(){}},ix={setTimeout:(t,r)=>setTimeout(t,r),clearTimeout:t=>clearTimeout(t),setInterval:(t,r)=>setInterval(t,r),clearInterval:t=>clearInterval(t)},ox=class{#e=ix;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,r){return this.#e.setTimeout(t,r)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,r){return this.#e.setInterval(t,r)}clearInterval(t){this.#e.clearInterval(t)}},pr=new ox;function ax(t){setTimeout(t,0)}var gr=typeof window>"u"||"Deno"in globalThis;function Ct(){}function lx(t,r){return typeof t=="function"?t(r):t}function Ou(t){return typeof t=="number"&&t>=0&&t!==1/0}function _m(t,r){return Math.max(t+(r||0)-Date.now(),0)}function Wn(t,r){return typeof t=="function"?t(r):t}function Bt(t,r){return typeof t=="function"?t(r):t}function Lh(t,r){const{type:s="all",exact:o,fetchStatus:l,predicate:u,queryKey:c,stale:f}=t;if(c){if(o){if(r.queryHash!==ec(c,r.options))return!1}else if(!ii(r.queryKey,c))return!1}if(s!=="all"){const m=r.isActive();if(s==="active"&&!m||s==="inactive"&&m)return!1}return!(typeof f=="boolean"&&r.isStale()!==f||l&&l!==r.state.fetchStatus||u&&!u(r))}function Dh(t,r){const{exact:s,status:o,predicate:l,mutationKey:u}=t;if(u){if(!r.options.mutationKey)return!1;if(s){if(si(r.options.mutationKey)!==si(u))return!1}else if(!ii(r.options.mutationKey,u))return!1}return!(o&&r.state.status!==o||l&&!l(r))}function ec(t,r){return(r?.queryKeyHashFn||si)(t)}function si(t){return JSON.stringify(t,(r,s)=>Ru(s)?Object.keys(s).sort().reduce((o,l)=>(o[l]=s[l],o),{}):s)}function ii(t,r){return t===r?!0:typeof t!=typeof r?!1:t&&r&&typeof t=="object"&&typeof r=="object"?Object.keys(r).every(s=>ii(t[s],r[s])):!1}var ux=Object.prototype.hasOwnProperty;function Sm(t,r,s=0){if(t===r)return t;if(s>500)return r;const o=Ih(t)&&Ih(r);if(!o&&!(Ru(t)&&Ru(r)))return r;const u=(o?t:Object.keys(t)).length,c=o?r:Object.keys(r),f=c.length,m=o?new Array(f):{};let g=0;for(let v=0;v<f;v++){const x=o?v:c[v],b=t[x],_=r[x];if(b===_){m[x]=b,(o?v<u:ux.call(t,x))&&g++;continue}if(b===null||_===null||typeof b!="object"||typeof _!="object"){m[x]=_;continue}const j=Sm(b,_,s+1);m[x]=j,j===b&&g++}return u===f&&g===u?t:m}function Tu(t,r){if(!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(const s in t)if(t[s]!==r[s])return!1;return!0}function Ih(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Ru(t){if(!Mh(t))return!1;const r=t.constructor;if(r===void 0)return!0;const s=r.prototype;return!(!Mh(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Mh(t){return Object.prototype.toString.call(t)==="[object Object]"}function cx(t){return new Promise(r=>{pr.setTimeout(r,t)})}function Pu(t,r,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,r):s.structuralSharing!==!1?Sm(t,r):r}function dx(t,r,s=0){const o=[...t,r];return s&&o.length>s?o.slice(1):o}function fx(t,r,s=0){const o=[r,...t];return s&&o.length>s?o.slice(0,-1):o}var tc=Symbol();function Em(t,r){return!t.queryFn&&r?.initialPromise?()=>r.initialPromise:!t.queryFn||t.queryFn===tc?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Cm(t,r){return typeof t=="function"?t(...r):!!t}function hx(t,r,s){let o=!1,l;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(l??=r(),o||(o=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),t}var px=class extends ci{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!gr&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},nc=new px;function ju(){let t,r;const s=new Promise((l,u)=>{t=l,r=u});s.status="pending",s.catch(()=>{});function o(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{o({status:"fulfilled",value:l}),t(l)},s.reject=l=>{o({status:"rejected",reason:l}),r(l)},s}var mx=ax;function yx(){let t=[],r=0,s=f=>{f()},o=f=>{f()},l=mx;const u=f=>{r?t.push(f):l(()=>{s(f)})},c=()=>{const f=t;t=[],f.length&&l(()=>{o(()=>{f.forEach(m=>{s(m)})})})};return{batch:f=>{let m;r++;try{m=f()}finally{r--,r||c()}return m},batchCalls:f=>(...m)=>{u(()=>{f(...m)})},schedule:u,setNotifyFunction:f=>{s=f},setBatchNotifyFunction:f=>{o=f},setScheduler:f=>{l=f}}}var ut=yx(),gx=class extends ci{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!gr&&window.addEventListener){const r=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#e}},qo=new gx;function vx(t){return Math.min(1e3*2**t,3e4)}function km(t){return(t??"online")==="online"?qo.isOnline():!0}var Au=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Om(t){let r=!1,s=0,o;const l=ju(),u=()=>l.status!=="pending",c=P=>{if(!u()){const k=new Au(P);b(k),t.onCancel?.(k)}},f=()=>{r=!0},m=()=>{r=!1},g=()=>nc.isFocused()&&(t.networkMode==="always"||qo.isOnline())&&t.canRun(),v=()=>km(t.networkMode)&&t.canRun(),x=P=>{u()||(o?.(),l.resolve(P))},b=P=>{u()||(o?.(),l.reject(P))},_=()=>new Promise(P=>{o=k=>{(u()||g())&&P(k)},t.onPause?.()}).then(()=>{o=void 0,u()||t.onContinue?.()}),j=()=>{if(u())return;let P;const k=s===0?t.initialPromise:void 0;try{P=k??t.fn()}catch(E){P=Promise.reject(E)}Promise.resolve(P).then(x).catch(E=>{if(u())return;const I=t.retry??(gr?0:3),L=t.retryDelay??vx,U=typeof L=="function"?L(s,E):L,H=I===!0||typeof I=="number"&&s<I||typeof I=="function"&&I(s,E);if(r||!H){b(E);return}s++,t.onFail?.(s,E),cx(U).then(()=>g()?void 0:_()).then(()=>{r?b(E):j()})})};return{promise:l,status:()=>l.status,cancel:c,continue:()=>(o?.(),l),cancelRetry:f,continueRetry:m,canStart:v,start:()=>(v()?j():_().then(j),l)}}var Tm=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ou(this.gcTime)&&(this.#e=pr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(gr?1/0:300*1e3))}clearGcTimeout(){this.#e&&(pr.clearTimeout(this.#e),this.#e=void 0)}},xx=class extends Tm{#e;#t;#n;#s;#r;#a;#o;constructor(t){super(),this.#o=!1,this.#a=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#s=t.client,this.#n=this.#s.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=Uh(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(t){if(this.options={...this.#a,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=Uh(this.options);r.data!==void 0&&(this.setState(Fh(r.data,r.dataUpdatedAt)),this.#e=r)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,r){const s=Pu(this.state.data,t,this.options);return this.#i({data:s,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),s}setState(t,r){this.#i({type:"setState",state:t,setStateOptions:r})}cancel(t){const r=this.#r?.promise;return this.#r?.cancel(t),r?r.then(Ct).catch(Ct):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>Bt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===tc||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Wn(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:!_m(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(this.#r&&(this.#o?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(t,r){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(m=>m.options.queryFn);f&&this.setOptions(f.options)}const s=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#o=!0,s.signal)})},l=()=>{const f=Em(this.options,r),g=(()=>{const v={client:this.#s,queryKey:this.queryKey,meta:this.meta};return o(v),v})();return this.#o=!1,this.options.persister?this.options.persister(f,g,this):f(g)},c=(()=>{const f={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:l};return o(f),f})();this.options.behavior?.onFetch(c,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#i({type:"fetch",meta:c.fetchOptions?.meta}),this.#r=Om({initialPromise:r?.initialPromise,fn:c.fetchFn,onCancel:f=>{f instanceof Au&&f.revert&&this.setState({...this.#t,fetchStatus:"idle"}),s.abort()},onFail:(f,m)=>{this.#i({type:"failed",failureCount:f,error:m})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{const f=await this.#r.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#n.config.onSuccess?.(f,this),this.#n.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof Au){if(f.silent)return this.#r.promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw this.#i({type:"error",error:f}),this.#n.config.onError?.(f,this),this.#n.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#i(t){const r=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...Rm(s.data,this.options),fetchMeta:t.meta??null};case"success":const o={...s,...Fh(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?o:void 0,o;case"error":const l=t.error;return{...s,error:l,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=r(this.state),ut.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function Rm(t,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:km(r.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Fh(t,r){return{data:t,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Uh(t){const r=typeof t.initialData=="function"?t.initialData():t.initialData,s=r!==void 0,o=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:s?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var wx=class extends ci{constructor(t,r){super(),this.options=r,this.#e=t,this.#i=null,this.#o=ju(),this.bindMethods(),this.setOptions(r)}#e;#t=void 0;#n=void 0;#s=void 0;#r;#a;#o;#i;#m;#f;#h;#u;#c;#l;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),zh(this.#t,this.options)?this.#d():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Nu(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Nu(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#w(),this.#b(),this.#t.removeObserver(this)}setOptions(t){const r=this.options,s=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Bt(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#_(),this.#t.setOptions(this.options),r._defaulted&&!Tu(this.options,r)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const o=this.hasListeners();o&&Bh(this.#t,s,this.options,r)&&this.#d(),this.updateResult(),o&&(this.#t!==s||Bt(this.options.enabled,this.#t)!==Bt(r.enabled,this.#t)||Wn(this.options.staleTime,this.#t)!==Wn(r.staleTime,this.#t))&&this.#y();const l=this.#g();o&&(this.#t!==s||Bt(this.options.enabled,this.#t)!==Bt(r.enabled,this.#t)||l!==this.#l)&&this.#v(l)}getOptimisticResult(t){const r=this.#e.getQueryCache().build(this.#e,t),s=this.createResult(r,t);return _x(this,s)&&(this.#s=s,this.#a=this.options,this.#r=this.#t.state),s}getCurrentResult(){return this.#s}trackResult(t,r){return new Proxy(t,{get:(s,o)=>(this.trackProp(o),r?.(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,o))})}trackProp(t){this.#p.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=this.#e.defaultQueryOptions(t),s=this.#e.getQueryCache().build(this.#e,r);return s.fetch().then(()=>this.createResult(s,r))}fetch(t){return this.#d({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#d(t){this.#_();let r=this.#t.fetch(this.options,t);return t?.throwOnError||(r=r.catch(Ct)),r}#y(){this.#w();const t=Wn(this.options.staleTime,this.#t);if(gr||this.#s.isStale||!Ou(t))return;const s=_m(this.#s.dataUpdatedAt,t)+1;this.#u=pr.setTimeout(()=>{this.#s.isStale||this.updateResult()},s)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(t){this.#b(),this.#l=t,!(gr||Bt(this.options.enabled,this.#t)===!1||!Ou(this.#l)||this.#l===0)&&(this.#c=pr.setInterval(()=>{(this.options.refetchIntervalInBackground||nc.isFocused())&&this.#d()},this.#l))}#x(){this.#y(),this.#v(this.#g())}#w(){this.#u&&(pr.clearTimeout(this.#u),this.#u=void 0)}#b(){this.#c&&(pr.clearInterval(this.#c),this.#c=void 0)}createResult(t,r){const s=this.#t,o=this.options,l=this.#s,u=this.#r,c=this.#a,m=t!==s?t.state:this.#n,{state:g}=t;let v={...g},x=!1,b;if(r._optimisticResults){const V=this.hasListeners(),be=!V&&zh(t,r),Pe=V&&Bh(t,s,r,o);(be||Pe)&&(v={...v,...Rm(g.data,t.options)}),r._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:_,errorUpdatedAt:j,status:P}=v;b=v.data;let k=!1;if(r.placeholderData!==void 0&&b===void 0&&P==="pending"){let V;l?.isPlaceholderData&&r.placeholderData===c?.placeholderData?(V=l.data,k=!0):V=typeof r.placeholderData=="function"?r.placeholderData(this.#h?.state.data,this.#h):r.placeholderData,V!==void 0&&(P="success",b=Pu(l?.data,V,r),x=!0)}if(r.select&&b!==void 0&&!k)if(l&&b===u?.data&&r.select===this.#m)b=this.#f;else try{this.#m=r.select,b=r.select(b),b=Pu(l?.data,b,r),this.#f=b,this.#i=null}catch(V){this.#i=V}this.#i&&(_=this.#i,b=this.#f,j=Date.now(),P="error");const E=v.fetchStatus==="fetching",I=P==="pending",L=P==="error",U=I&&E,H=b!==void 0,de={status:P,fetchStatus:v.fetchStatus,isPending:I,isSuccess:P==="success",isError:L,isInitialLoading:U,isLoading:U,data:b,dataUpdatedAt:v.dataUpdatedAt,error:_,errorUpdatedAt:j,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>m.dataUpdateCount||v.errorUpdateCount>m.errorUpdateCount,isFetching:E,isRefetching:E&&!I,isLoadingError:L&&!H,isPaused:v.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:L&&H,isStale:rc(t,r),refetch:this.refetch,promise:this.#o,isEnabled:Bt(r.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const V=de.data!==void 0,be=de.status==="error"&&!V,Pe=Me=>{be?Me.reject(de.error):V&&Me.resolve(de.data)},ve=()=>{const Me=this.#o=de.promise=ju();Pe(Me)},Re=this.#o;switch(Re.status){case"pending":t.queryHash===s.queryHash&&Pe(Re);break;case"fulfilled":(be||de.data!==Re.value)&&ve();break;case"rejected":(!be||de.error!==Re.reason)&&ve();break}}return de}updateResult(){const t=this.#s,r=this.createResult(this.#t,this.options);if(this.#r=this.#t.state,this.#a=this.options,this.#r.data!==void 0&&(this.#h=this.#t),Tu(r,t))return;this.#s=r;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:o}=this.options,l=typeof o=="function"?o():o;if(l==="all"||!l&&!this.#p.size)return!0;const u=new Set(l??this.#p);return this.options.throwOnError&&u.add("error"),Object.keys(this.#s).some(c=>{const f=c;return this.#s[f]!==t[f]&&u.has(f)})};this.#S({listeners:s()})}#_(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const r=this.#t;this.#t=t,this.#n=t.state,this.hasListeners()&&(r?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#x()}#S(t){ut.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(this.#s)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function bx(t,r){return Bt(r.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&r.retryOnMount===!1)}function zh(t,r){return bx(t,r)||t.state.data!==void 0&&Nu(t,r,r.refetchOnMount)}function Nu(t,r,s){if(Bt(r.enabled,t)!==!1&&Wn(r.staleTime,t)!=="static"){const o=typeof s=="function"?s(t):s;return o==="always"||o!==!1&&rc(t,r)}return!1}function Bh(t,r,s,o){return(t!==r||Bt(o.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&rc(t,s)}function rc(t,r){return Bt(r.enabled,t)!==!1&&t.isStaleByTime(Wn(r.staleTime,t))}function _x(t,r){return!Tu(t.getCurrentResult(),r)}function $h(t){return{onFetch:(r,s)=>{const o=r.options,l=r.fetchOptions?.meta?.fetchMore?.direction,u=r.state.data?.pages||[],c=r.state.data?.pageParams||[];let f={pages:[],pageParams:[]},m=0;const g=async()=>{let v=!1;const x=j=>{hx(j,()=>r.signal,()=>v=!0)},b=Em(r.options,r.fetchOptions),_=async(j,P,k)=>{if(v)return Promise.reject();if(P==null&&j.pages.length)return Promise.resolve(j);const I=(()=>{const J={client:r.client,queryKey:r.queryKey,pageParam:P,direction:k?"backward":"forward",meta:r.options.meta};return x(J),J})(),L=await b(I),{maxPages:U}=r.options,H=k?fx:dx;return{pages:H(j.pages,L,U),pageParams:H(j.pageParams,P,U)}};if(l&&u.length){const j=l==="backward",P=j?Sx:Vh,k={pages:u,pageParams:c},E=P(o,k);f=await _(k,E,j)}else{const j=t??u.length;do{const P=m===0?c[0]??o.initialPageParam:Vh(o,f);if(m>0&&P==null)break;f=await _(f,P),m++}while(m<j)}return f};r.options.persister?r.fetchFn=()=>r.options.persister?.(g,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},s):r.fetchFn=g}}}function Vh(t,{pages:r,pageParams:s}){const o=r.length-1;return r.length>0?t.getNextPageParam(r[o],r,s[o],s):void 0}function Sx(t,{pages:r,pageParams:s}){return r.length>0?t.getPreviousPageParam?.(r[0],r,s[0],s):void 0}var Ex=class extends Tm{#e;#t;#n;#s;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||Cx(),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.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(r=>r!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(t){const r=()=>{this.#r({type:"continue"})},s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=Om({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(u,c)=>{this.#r({type:"failed",failureCount:u,error:c})},onPause:()=>{this.#r({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const o=this.state.status==="pending",l=!this.#s.canStart();try{if(o)r();else{this.#r({type:"pending",variables:t,isPaused:l}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,s);const c=await this.options.onMutate?.(t,s);c!==this.state.context&&this.#r({type:"pending",context:c,variables:t,isPaused:l})}const u=await this.#s.start();return await this.#n.config.onSuccess?.(u,t,this.state.context,this,s),await this.options.onSuccess?.(u,t,this.state.context,s),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(u,null,t,this.state.context,s),this.#r({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,t,this.state.context,this,s)}catch(c){Promise.reject(c)}try{await this.options.onError?.(u,t,this.state.context,s)}catch(c){Promise.reject(c)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,s)}catch(c){Promise.reject(c)}try{await this.options.onSettled?.(void 0,u,t,this.state.context,s)}catch(c){Promise.reject(c)}throw this.#r({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#r(t){const r=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,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{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),ut.batch(()=>{this.#t.forEach(s=>{s.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function Cx(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var kx=class extends ci{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,r,s){const o=new Ex({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(r),state:s});return this.add(o),o}add(t){this.#e.add(t);const r=To(t);if(typeof r=="string"){const s=this.#t.get(r);s?s.push(t):this.#t.set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const r=To(t);if(typeof r=="string"){const s=this.#t.get(r);if(s)if(s.length>1){const o=s.indexOf(t);o!==-1&&s.splice(o,1)}else s[0]===t&&this.#t.delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=To(t);if(typeof r=="string"){const o=this.#t.get(r)?.find(l=>l.state.status==="pending");return!o||o===t}else return!0}runNext(t){const r=To(t);return typeof r=="string"?this.#t.get(r)?.find(o=>o!==t&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){ut.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 r={exact:!0,...t};return this.getAll().find(s=>Dh(r,s))}findAll(t={}){return this.getAll().filter(r=>Dh(t,r))}notify(t){ut.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return ut.batch(()=>Promise.all(t.map(r=>r.continue().catch(Ct))))}};function To(t){return t.options.scope?.id}var Ox=class extends ci{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,r,s){const o=r.queryKey,l=r.queryHash??ec(o,r);let u=this.get(l);return u||(u=new xx({client:t,queryKey:o,queryHash:l,options:t.defaultQueryOptions(r),state:s,defaultOptions:t.getQueryDefaults(o)}),this.add(u)),u}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=this.#e.get(t.queryHash);r&&(t.destroy(),r===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ut.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const r={exact:!0,...t};return this.getAll().find(s=>Lh(r,s))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(s=>Lh(t,s)):r}notify(t){ut.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){ut.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ut.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Tx=class{#e;#t;#n;#s;#r;#a;#o;#i;constructor(t={}){this.#e=t.queryCache||new Ox,this.#t=t.mutationCache||new kx,this.#n=t.defaultOptions||{},this.#s=new Map,this.#r=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=nc.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=qo.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#i?.(),this.#i=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 r=this.defaultQueryOptions({queryKey:t});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(t){const r=this.defaultQueryOptions(t),s=this.#e.build(this,r),o=s.state.data;return o===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(Wn(r.staleTime,s))&&this.prefetchQuery(r),Promise.resolve(o))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:r,state:s})=>{const o=s.data;return[r,o]})}setQueryData(t,r,s){const o=this.defaultQueryOptions({queryKey:t}),u=this.#e.get(o.queryHash)?.state.data,c=lx(r,u);if(c!==void 0)return this.#e.build(this,o).setData(c,{...s,manual:!0})}setQueriesData(t,r,s){return ut.batch(()=>this.#e.findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,r,s)]))}getQueryState(t){const r=this.defaultQueryOptions({queryKey:t});return this.#e.get(r.queryHash)?.state}removeQueries(t){const r=this.#e;ut.batch(()=>{r.findAll(t).forEach(s=>{r.remove(s)})})}resetQueries(t,r){const s=this.#e;return ut.batch(()=>(s.findAll(t).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...t},r)))}cancelQueries(t,r={}){const s={revert:!0,...r},o=ut.batch(()=>this.#e.findAll(t).map(l=>l.cancel(s)));return Promise.all(o).then(Ct).catch(Ct)}invalidateQueries(t,r={}){return ut.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},r)))}refetchQueries(t,r={}){const s={...r,cancelRefetch:r.cancelRefetch??!0},o=ut.batch(()=>this.#e.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(Ct)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(o).then(Ct)}fetchQuery(t){const r=this.defaultQueryOptions(t);r.retry===void 0&&(r.retry=!1);const s=this.#e.build(this,r);return s.isStaleByTime(Wn(r.staleTime,s))?s.fetch(r):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Ct).catch(Ct)}fetchInfiniteQuery(t){return t.behavior=$h(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Ct).catch(Ct)}ensureInfiniteQueryData(t){return t.behavior=$h(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return qo.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,r){this.#s.set(si(t),{queryKey:t,defaultOptions:r})}getQueryDefaults(t){const r=[...this.#s.values()],s={};return r.forEach(o=>{ii(t,o.queryKey)&&Object.assign(s,o.defaultOptions)}),s}setMutationDefaults(t,r){this.#r.set(si(t),{mutationKey:t,defaultOptions:r})}getMutationDefaults(t){const r=[...this.#r.values()],s={};return r.forEach(o=>{ii(t,o.mutationKey)&&Object.assign(s,o.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const r={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return r.queryHash||(r.queryHash=ec(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===tc&&(r.enabled=!1),r}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Pm=C.createContext(void 0),Rx=t=>{const r=C.useContext(Pm);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},Px=({client:t,children:r})=>(C.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),p.jsx(Pm.Provider,{value:t,children:r})),jm=C.createContext(!1),jx=()=>C.useContext(jm);jm.Provider;function Ax(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var Nx=C.createContext(Ax()),Lx=()=>C.useContext(Nx),Dx=(t,r,s)=>{const o=s?.state.error&&typeof t.throwOnError=="function"?Cm(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||o)&&(r.isReset()||(t.retryOnMount=!1))},Ix=t=>{C.useEffect(()=>{t.clearReset()},[t])},Mx=({result:t,errorResetBoundary:r,throwOnError:s,query:o,suspense:l})=>t.isError&&!r.isReset()&&!t.isFetching&&o&&(l&&t.data===void 0||Cm(s,[t.error,o])),Fx=t=>{if(t.suspense){const s=l=>l==="static"?l:Math.max(l??1e3,1e3),o=t.staleTime;t.staleTime=typeof o=="function"?(...l)=>s(o(...l)):s(o),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},Ux=(t,r)=>t.isLoading&&t.isFetching&&!r,zx=(t,r)=>t?.suspense&&r.isPending,Hh=(t,r,s)=>r.fetchOptimistic(t).catch(()=>{s.clearReset()});function Bx(t,r,s){const o=jx(),l=Lx(),u=Rx(),c=u.defaultQueryOptions(t);u.getDefaultOptions().queries?._experimental_beforeQuery?.(c);const f=u.getQueryCache().get(c.queryHash);c._optimisticResults=o?"isRestoring":"optimistic",Fx(c),Dx(c,l,f),Ix(l);const m=!u.getQueryCache().get(c.queryHash),[g]=C.useState(()=>new r(u,c)),v=g.getOptimisticResult(c),x=!o&&t.subscribed!==!1;if(C.useSyncExternalStore(C.useCallback(b=>{const _=x?g.subscribe(ut.batchCalls(b)):Ct;return g.updateResult(),_},[g,x]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),C.useEffect(()=>{g.setOptions(c)},[c,g]),zx(c,v))throw Hh(c,g,l);if(Mx({result:v,errorResetBoundary:l,throwOnError:c.throwOnError,query:f,suspense:c.suspense}))throw v.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(c,v),c.experimental_prefetchInRender&&!gr&&Ux(v,o)&&(m?Hh(c,g,l):f?.promise)?.catch(Ct).finally(()=>{g.updateResult()}),c.notifyOnChangeProps?v:g.trackResult(v)}function Xs(t,r){return Bx(t,wx)}const $x=new Tx({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:1,retryDelay:500,staleTime:3600*1e3,gcTime:14400*1e3}}});Jp();/**
102 * @remix-run/router v1.23.2
103 *
104 * Copyright (c) Remix Software Inc.
105 *
106 * This source code is licensed under the MIT license found in the
107 * LICENSE.md file in the root directory of this source tree.
108 *
109 * @license MIT
110 */function oi(){return oi=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(t[o]=s[o])}return t},oi.apply(this,arguments)}var qn;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}
vendor: 10,088 bytes, lines 110-119
110)(qn||(qn={}));const qh="popstate";function Vx(t){t===void 0&&(t={});function r(o,l){let{pathname:u,search:c,hash:f}=o.location;return Lu("",{pathname:u,search:c,hash:f},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function s(o,l){return typeof l=="string"?l:Wo(l)}return qx(r,s,null,t)}function We(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function sc(t,r){if(!t){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function Hx(){return Math.random().toString(36).substr(2,8)}function Wh(t,r){return{usr:t.state,key:t.key,idx:r}}function Lu(t,r,s,o){return s===void 0&&(s=null),oi({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof r=="string"?ns(r):r,{state:s,key:r&&r.key||o||Hx()})}function Wo(t){let{pathname:r="/",search:s="",hash:o=""}=t;return s&&s!=="?"&&(r+=s.charAt(0)==="?"?s:"?"+s),o&&o!=="#"&&(r+=o.charAt(0)==="#"?o:"#"+o),r}function ns(t){let r={};if(t){let s=t.indexOf("#");s>=0&&(r.hash=t.substr(s),t=t.substr(0,s));let o=t.indexOf("?");o>=0&&(r.search=t.substr(o),t=t.substr(0,o)),t&&(r.pathname=t)}return r}function qx(t,r,s,o){o===void 0&&(o={});let{window:l=document.defaultView,v5Compat:u=!1}=o,c=l.history,f=qn.Pop,m=null,g=v();g==null&&(g=0,c.replaceState(oi({},c.state,{idx:g}),""));function v(){return(c.state||{idx:null}).idx}function x(){f=qn.Pop;let k=v(),E=k==null?null:k-g;g=k,m&&m({action:f,location:P.location,delta:E})}function b(k,E){f=qn.Push;let I=Lu(P.location,k,E);g=v()+1;let L=Wh(I,g),U=P.createHref(I);try{c.pushState(L,"",U)}catch(H){if(H instanceof DOMException&&H.name==="DataCloneError")throw H;l.location.assign(U)}u&&m&&m({action:f,location:P.location,delta:1})}function _(k,E){f=qn.Replace;let I=Lu(P.location,k,E);g=v();let L=Wh(I,g),U=P.createHref(I);c.replaceState(L,"",U),u&&m&&m({action:f,location:P.location,delta:0})}function j(k){let E=l.location.origin!=="null"?l.location.origin:l.location.href,I=typeof k=="string"?k:Wo(k);return I=I.replace(/ $/,"%20"),We(E,"No window.location.(origin|href) available to create URL for href: "+I),new URL(I,E)}let P={get action(){return f},get location(){return t(l,c)},listen(k){if(m)throw new Error("A history only accepts one active listener");return l.addEventListener(qh,x),m=k,()=>{l.removeEventListener(qh,x),m=null}},createHref(k){return r(l,k)},createURL:j,encodeLocation(k){let E=j(k);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:b,replace:_,go(k){return c.go(k)}};return P}var Qh;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Qh||(Qh={}));function Wx(t,r,s){return s===void 0&&(s="/"),Qx(t,r,s)}function Qx(t,r,s,o){let l=typeof r=="string"?ns(r):r,u=ic(l.pathname||"/",s);if(u==null)return null;let c=Am(t);Kx(c);let f=null;for(let m=0;f==null&&m<c.length;++m){let g=ow(u);f=rw(c[m],g)}return f}function Am(t,r,s,o){r===void 0&&(r=[]),s===void 0&&(s=[]),o===void 0&&(o="");let l=(u,c,f)=>{let m={relativePath:f===void 0?u.path||"":f,caseSensitive:u.caseSensitive===!0,childrenIndex:c,route:u};m.relativePath.startsWith("/")&&(We(m.relativePath.startsWith(o),'Absolute route path "'+m.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),m.relativePath=m.relativePath.slice(o.length));let g=Qn([o,m.relativePath]),v=s.concat(m);u.children&&u.children.length>0&&(We(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),Am(u.children,r,v,g)),!(u.path==null&&!u.index)&&r.push({path:g,score:tw(g,u.index),routesMeta:v})};return t.forEach((u,c)=>{var f;if(u.path===""||!((f=u.path)!=null&&f.includes("?")))l(u,c);else for(let m of Nm(u.path))l(u,c,m)}),r}function Nm(t){let r=t.split("/");if(r.length===0)return[];let[s,...o]=r,l=s.endsWith("?"),u=s.replace(/\?$/,"");if(o.length===0)return l?[u,""]:[u];let c=Nm(o.join("/")),f=[];return f.push(...c.map(m=>m===""?u:[u,m].join("/"))),l&&f.push(...c),f.map(m=>t.startsWith("/")&&m===""?"/":m)}function Kx(t){t.sort((r,s)=>r.score!==s.score?s.score-r.score:nw(r.routesMeta.map(o=>o.childrenIndex),s.routesMeta.map(o=>o.childrenIndex)))}const Gx=/^:[\w-]+$/,Yx=3,Jx=2,Xx=1,Zx=10,ew=-2,Kh=t=>t==="*";function tw(t,r){let s=t.split("/"),o=s.length;return s.some(Kh)&&(o+=ew),r&&(o+=Jx),s.filter(l=>!Kh(l)).reduce((l,u)=>l+(Gx.test(u)?Yx:u===""?Xx:Zx),o)}function nw(t,r){return t.length===r.length&&t.slice(0,-1).every((o,l)=>o===r[l])?t[t.length-1]-r[r.length-1]:0}function rw(t,r,s){let{routesMeta:o}=t,l={},u="/",c=[];for(let f=0;f<o.length;++f){let m=o[f],g=f===o.length-1,v=u==="/"?r:r.slice(u.length)||"/",x=sw({path:m.relativePath,caseSensitive:m.caseSensitive,end:g},v),b=m.route;if(!x)return null;Object.assign(l,x.params),c.push({params:l,pathname:Qn([u,x.pathname]),pathnameBase:dw(Qn([u,x.pathnameBase])),route:b}),x.pathnameBase!=="/"&&(u=Qn([u,x.pathnameBase]))}return c}function sw(t,r){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[s,o]=iw(t.path,t.caseSensitive,t.end),l=r.match(s);if(!l)return null;let u=l[0],c=u.replace(/(.)\/+$/,"$1"),f=l.slice(1);return{params:o.reduce((g,v,x)=>{let{paramName:b,isOptional:_}=v;if(b==="*"){let P=f[x]||"";c=u.slice(0,u.length-P.length).replace(/(.)\/+$/,"$1")}const j=f[x];return _&&!j?g[b]=void 0:g[b]=(j||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:c,pattern:t}}function iw(t,r,s){r===void 0&&(r=!1),s===void 0&&(s=!0),sc(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 o=[],l="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,f,m)=>(o.push({paramName:f,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(o.push({paramName:"*"}),l+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?l+="\\/*$":t!==""&&t!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,r?void 0:"i"),o]}function ow(t){try{return t.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return sc(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+r+").")),t}}function ic(t,r){if(r==="/")return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let s=r.endsWith("/")?r.length-1:r.length,o=t.charAt(s);return o&&o!=="/"?null:t.slice(s)||"/"}const aw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,lw=t=>aw.test(t);function uw(t,r){r===void 0&&(r="/");let{pathname:s,search:o="",hash:l=""}=typeof t=="string"?ns(t):t,u;if(s)if(lw(s))u=s;else{if(s.includes("//")){let c=s;s=s.replace(/\/\/+/g,"/"),sc(!1,"Pathnames cannot have embedded double slashes - normalizing "+(c+" -> "+s))}s.startsWith("/")?u=Gh(s.substring(1),"/"):u=Gh(s,r)}else u=r;return{pathname:u,search:fw(o),hash:hw(l)}}function Gh(t,r){let s=r.replace(/\/+$/,"").split("/");return t.split("/").forEach(l=>{l===".."?s.length>1&&s.pop():l!=="."&&s.push(l)}),s.length>1?s.join("/"):"/"}function su(t,r,s,o){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+r+"` field ["+JSON.stringify(o)+"].  Please separate it out to the ")+("`to."+s+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function cw(t){return t.filter((r,s)=>s===0||r.route.path&&r.route.path.length>0)}function oc(t,r){let s=cw(t);return r?s.map((o,l)=>l===s.length-1?o.pathname:o.pathnameBase):s.map(o=>o.pathnameBase)}function ac(t,r,s,o){o===void 0&&(o=!1);let l;typeof t=="string"?l=ns(t):(l=oi({},t),We(!l.pathname||!l.pathname.includes("?"),su("?","pathname","search",l)),We(!l.pathname||!l.pathname.includes("#"),su("#","pathname","hash",l)),We(!l.search||!l.search.includes("#"),su("#","search","hash",l)));let u=t===""||l.pathname==="",c=u?"/":l.pathname,f;if(c==null)f=s;else{let x=r.length-1;if(!o&&c.startsWith("..")){let b=c.split("/");for(;b[0]==="..";)b.shift(),x-=1;l.pathname=b.join("/")}f=x>=0?r[x]:"/"}let m=uw(l,f),g=c&&c!=="/"&&c.endsWith("/"),v=(u||c===".")&&s.endsWith("/");return!m.pathname.endsWith("/")&&(g||v)&&(m.pathname+="/"),m}const Qn=t=>t.join("/").replace(/\/\/+/g,"/"),dw=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),fw=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,hw=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function pw(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Lm=["post","put","patch","delete"];new Set(Lm);const mw=["get",...Lm];new Set(mw);/**
111 * React Router v6.30.3
112 *
113 * Copyright (c) Remix Software Inc.
114 *
115 * This source code is licensed under the MIT license found in the
116 * LICENSE.md file in the root directory of this source tree.
117 *
118 * @license MIT
119 */function ai(){return ai=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(t[o]=s[o])}return t},ai.apply(this,arguments)}const lc=C.createContext(null),yw=C.createContext(null),Jn=C.createContext(null),Xo=C.createContext(null),un=C.createContext({outlet:null,matches:[],isDataRoute:!1}),Dm=C.createContext(null);function gw(t,r){let{relative:s}=r===void 0?{}:r;rs()||We(!1);let{basename:o,navigator:l}=C.useContext(Jn),{hash:u,pathname:c,search:f}=Mm(t,{relative:s}),m=c;return o!=="/"&&(m=c==="/"?o:Qn([o,c])),l.createHref({pathname:m,search:f,hash:u})}function rs(){return C.useContext(Xo)!=null}function Xn(){return rs()||We(!1),C.useContext(Xo).location}function Im(t){C.useContext(Jn).static||C.useLayoutEffect(t)}function Zo(){let{isDataRoute:t}=C.useContext(un);return t?Aw():vw()}function vw(){rs()||We(!1);let t=C.useContext(lc),{basename:r,future:s,navigator:o}=C.useContext(Jn),{matches:l}=C.useContext(un),{pathname:u}=Xn(),c=JSON.stringify(oc(l,s.v7_relativeSplatPath)),f=C.useRef(!1);return Im(()=>{f.current=!0}
vendor: 4,306 bytes, line 119
119),C.useCallback(function(g,v){if(v===void 0&&(v={}),!f.current)return;if(typeof g=="number"){o.go(g);return}let x=ac(g,JSON.parse(c),u,v.relative==="path");t==null&&r!=="/"&&(x.pathname=x.pathname==="/"?r:Qn([r,x.pathname])),(v.replace?o.replace:o.push)(x,v.state,v)},[r,o,c,u,t])}const xw=C.createContext(null);function ww(t){let r=C.useContext(un).outlet;return r&&C.createElement(xw.Provider,{value:t},r)}function kC(){let{matches:t}=C.useContext(un),r=t[t.length-1];return r?r.params:{}}function Mm(t,r){let{relative:s}=r===void 0?{}:r,{future:o}=C.useContext(Jn),{matches:l}=C.useContext(un),{pathname:u}=Xn(),c=JSON.stringify(oc(l,o.v7_relativeSplatPath));return C.useMemo(()=>ac(t,JSON.parse(c),u,s==="path"),[t,c,u,s])}function bw(t,r){return _w(t,r)}function _w(t,r,s,o){rs()||We(!1);let{navigator:l}=C.useContext(Jn),{matches:u}=C.useContext(un),c=u[u.length-1],f=c?c.params:{};c&&c.pathname;let m=c?c.pathnameBase:"/";c&&c.route;let g=Xn(),v;if(r){var x;let k=typeof r=="string"?ns(r):r;m==="/"||(x=k.pathname)!=null&&x.startsWith(m)||We(!1),v=k}else v=g;let b=v.pathname||"/",_=b;if(m!=="/"){let k=m.replace(/^\//,"").split("/");_="/"+b.replace(/^\//,"").split("/").slice(k.length).join("/")}let j=Wx(t,{pathname:_}),P=Ow(j&&j.map(k=>Object.assign({},k,{params:Object.assign({},f,k.params),pathname:Qn([m,l.encodeLocation?l.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?m:Qn([m,l.encodeLocation?l.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),u,s,o);return r&&P?C.createElement(Xo.Provider,{value:{location:ai({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:qn.Pop}},P):P}function Sw(){let t=jw(),r=pw(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),s=t instanceof Error?t.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},r),s?C.createElement("pre",{style:l},s):null,null)}const Ew=C.createElement(Sw,null);class Cw extends C.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,s){return s.location!==r.location||s.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:s.error,location:s.location,revalidation:r.revalidation||s.revalidation}}componentDidCatch(r,s){console.error("React Router caught the following error during render",r,s)}render(){return this.state.error!==void 0?C.createElement(un.Provider,{value:this.props.routeContext},C.createElement(Dm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function kw(t){let{routeContext:r,match:s,children:o}=t,l=C.useContext(lc);return l&&l.static&&l.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=s.route.id),C.createElement(un.Provider,{value:r},o)}function Ow(t,r,s,o){var l;if(r===void 0&&(r=[]),s===void 0&&(s=null),o===void 0&&(o=null),t==null){var u;if(!s)return null;if(s.errors)t=s.matches;else if((u=o)!=null&&u.v7_partialHydration&&r.length===0&&!s.initialized&&s.matches.length>0)t=s.matches;else return null}let c=t,f=(l=s)==null?void 0:l.errors;if(f!=null){let v=c.findIndex(x=>x.route.id&&f?.[x.route.id]!==void 0);v>=0||We(!1),c=c.slice(0,Math.min(c.length,v+1))}let m=!1,g=-1;if(s&&o&&o.v7_partialHydration)for(let v=0;v<c.length;v++){let x=c[v];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(g=v),x.route.id){let{loaderData:b,errors:_}=s,j=x.route.loader&&b[x.route.id]===void 0&&(!_||_[x.route.id]===void 0);if(x.route.lazy||j){m=!0,g>=0?c=c.slice(0,g+1):c=[c[0]];break}}}return c.reduceRight((v,x,b)=>{let _,j=!1,P=null,k=null;s&&(_=f&&x.route.id?f[x.route.id]:void 0,P=x.route.errorElement||Ew,m&&(g<0&&b===0?(Nw("route-fallback"),j=!0,k=null):g===b&&(j=!0,k=x.route.hydrateFallbackElement||null)));let E=r.concat(c.slice(0,b+1)),I=()=>{let L;return _?L=P:j?L=k:x.route.Component?L=C.createElement(x.route.Component,null):x.route.element?L=x.route.element:L=v,C.createElement(kw,{match:x,routeC
119ontext:{outlet:v,matches:E,isDataRoute:s!=null},children:L})};return s&&(x.route.ErrorBoundary||x.route.errorElement||b===0)?C.createElement(Cw,{location:s.location,revalidation:s.revalidation,component:P,error:_,children:I(),routeContext:{outlet:null,matches:E,isDataRoute:!0}}):I()},null)}var Fm=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(Fm||{}),Um=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(Um||{});function Tw(t){let r=C.useContext(lc);return r||We(!1),r}function Rw(t){let r=C.useContext(yw);return r||We(!1),r}function Pw(t){let r=C.useContext(un);return r||We(!1),r}function zm(t){let r=Pw(),s=r.matches[r.matches.length-1];return s.route.id||We(!1),s.route.id}function jw(){var t;let r=C.useContext(Dm),s=Rw(),o=zm();return r!==void 0?r:(t=s.errors)==null?void 0:t[o]}function Aw(){let{router:t}=Tw(Fm.UseNavigateStable),r=zm(Um.UseNavigateStable),s=C.useRef(!1);return Im(()=>{s.current=!0}),C.useCallback(function(l,u){u===void 0&&(u={}),s.current&&(typeof l=="number"?t.navigate(l):t.navigate(l,ai({fromRouteId:r},u)))},[t,r])}const Yh={};function Nw(t,r,s){Yh[t]||(Yh[t]=!0)}function Lw(t,r){t?.v7_startTransition,t?.v7_relativeSplatPath}function iu(t){let{to:r,replace:s,state:o,relative:l}=t;rs()||We(!1);let{future:u,static:c}=C.useContext(Jn),{matches:f}=C.useContext(un),{pathname:m}=Xn(),g=Zo(),v=ac(r,oc(f,u.v7_relativeSplatPath),m,l==="path"),x=JSON.stringify(v);return C.useEffect(()=>g(JSON.parse(x),{replace:s,state:o,relative:l}),[g,x,l,s,o]),null}function Bm(t){return ww(t.context)}function Z(t){We(!1)}function Dw(t){let{basename:r="/",children:s=null,location:o,navigationType:l=qn.Pop,navigator:u,static:c=!1,future:f}=t;rs()&&We(!1);let m=r.replace(/^\/*/,"/"),g=C.useMemo(()=>({basename:m,navigator:u,static:c,future:ai({v7_relativeSplatPath:!1},f)}),[m,f,u,c]);typeof o=="string"&&(o=ns(o));let{pathname:v="/",search:x="",hash:b="",state:_=null,key:j="default"}=o,P=C.useMemo(()=>{let k=ic(v,m);return k==null?null:{location:{pathname:k,search:x,hash:b,state:_,key:j},navigationType:l}},[m,v,x,b,_,j,l]);return P==null?null:C.createElement(Jn.Provider,{value:g},C.createElement(Xo.Provider,{children:s,value:P}))}function Iw(t){let{children:r,location:s}=t;return bw(Du(r),s)}new Promise(()=>{});function Du(t,r){r===void 0&&(r=[]);let s=[];return C.Children.forEach(t,(o,l)=>{if(!C.isValidElement(o))return;let u=[...r,l];if(o.type===C.Fragment){s.push.apply(s,Du(o.props.children,u));return}o.type!==Z&&We(!1),!o.props.index||!o.props.children||We(!1);let c={id:o.props.id||u.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(c.children=Du(o.props.children,u)),s.push(c)}),s}/**
120 * React Router DOM v6.30.3
121 *
122 * Copyright (c) Remix Software Inc.
123 *
124 * This source code is licensed under the MIT license found in the
125 * LICENSE.md file in the root directory of this source tree.
126 *
127 * @license MIT
128 */function Iu(){return Iu=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(t[o]=s[o])}return t},Iu.apply(this,arguments)}function Mw(t,r){if(t==null)return{};var s={},o=Object.keys(t),l,u;for(u=0;u<o.length;u++)l=o[u],!(r.indexOf(l)>=0)&&(s[l]=t[l]);return s}function Fw(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function Uw(t,r){return t.button===0&&(!r||r==="_self")&&!Fw(t)}function Mu(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((r,s)=>{let o=t[s];return r.concat(Array.isArray(o)?o.map(l=>[s,l]):[[s,o]])},[]))}function zw(t,r){let s=Mu(t);return r&&r.forEach((o,l)=>{s.has(l)||r.getAll(l).forEach(u=>{s.append(l,u)})}),s}const Bw=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],$w="6";try{window.__reactRouterVersion=$w}catch{}const Vw="startTransition",Jh=Iv[Vw];function Hw(t){let{basename:r,children:s,future:o,window:l}=t,u=C.useRef();u.current==null&&(u.current=Vx({window:l,v5Compat:!0}));let c=u.current,[f,m]=C.useState({action:c.action,location:c.location}),{v7_startTransition:g}=o||{},v=C.useCallback(x=>{g&&Jh?Jh(()=>m(x)):m(x)},[m,g]);return C.useLayoutEffect(()=>c.listen(v),[c,v]),C.useEffect(()=>
vendor: 1,405 bytes, line 128
128Lw(o),[o]),C.createElement(Dw,{basename:r,children:s,location:f.location,navigationType:f.action,navigator:c,future:o})}const qw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ww=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ge=C.forwardRef(function(r,s){let{onClick:o,relative:l,reloadDocument:u,replace:c,state:f,target:m,to:g,preventScrollReset:v,viewTransition:x}=r,b=Mw(r,Bw),{basename:_}=C.useContext(Jn),j,P=!1;if(typeof g=="string"&&Ww.test(g)&&(j=g,qw))try{let L=new URL(window.location.href),U=g.startsWith("//")?new URL(L.protocol+g):new URL(g),H=ic(U.pathname,_);U.origin===L.origin&&H!=null?g=H+U.search+U.hash:P=!0}catch{}let k=gw(g,{relative:l}),E=Qw(g,{replace:c,state:f,target:m,preventScrollReset:v,relative:l,viewTransition:x});function I(L){o&&o(L),L.defaultPrevented||E(L)}return C.createElement("a",Iu({},b,{href:j||k,onClick:P||u?o:I,ref:s,target:m}))});var Xh;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Xh||(Xh={}));var Zh;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Zh||(Zh={}));function Qw(t,r){let{target:s,replace:o,state:l,preventScrollReset:u,relative:c,viewTransition:f}=r===void 0?{}:r,m=Zo(),g=Xn(),v=Mm(t,{relative:c}
128);return C.useCallback(x=>{if(Uw(x,s)){x.preventDefault();let b=o!==void 0?o:Wo(g)===Wo(v);m(t,{replace:b,state:l,preventScrollReset:u,relative:c,viewTransition:f})}},[g,m,v,o,l,s,t,u,c,f])}function OC(t){let r=C.useRef(Mu(t)),s=C.useRef(!1),o=Xn(),l=C.useMemo(()=>zw(o.search,s.current?null:r.current),[o.search]),u=Zo(),c=C.useCallback((f,m)=>{const g=Mu(typeof f=="function"?f(l):f);s.current=!0,u("?"+g,m)},[u,l]);return[l,c]}var ou={exports:{}},au,ep;function Kw(){if(ep)return au;ep=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return au=t,au}var lu,tp;function Gw(){if(tp)return lu;tp=1;var t=Kw();function r(){}function s(){}return s.resetWarningCache=r,lu=function(){function o(c,f,m,g,v,x){if(x!==t){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}o.isRequired=o;function l(){return o}var u={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:l,element:o,elementType:o,instanceOf:l,node:o,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:s,resetWarningCache:r};return u.PropTypes=u,u},lu}var np;function Yw(){return np||(np=1,ou.exports=Gw()()),ou.exports}var Jw=Yw();const Se=ts(Jw);var uu,rp;function Xw(){if(rp)return uu;rp=1;var t=typeof Element<"u",r=typeof Map=="function",s=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(u,c){if(u===c)return!0;if(u&&c&&typeof u=="object"&&typeof c=="object"){if(u.constructor!==c.constructor)return!1;var f,m,g;if(Array.isArray(u)){if(f=u.length,f!=c.length)return!1;for(m=f;m--!==0;)if(!l(u[m],c[m]))return!1;return!0}var v;if(r&&u instanceof Map&&c instanceof Map){if(u.size!==c.size)return!1;for(v=u.entries();!(m=v.next()).done;)if(!c.has(m.value[0]))return!1;for(v=u.entries();!(m=v.next()).done;)if(!l(m.value[1],c.get(m.value[0])))return!1;return!0}if(s&&u instanceof Set&&c instanceof Set){if(u.size!==c.size)return!1;for(v=u.entries();!(m=v.next()).done;)if(!c.has(m.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(c)){if(f=u.length,f!=c.length)return!1;for(m=f;m--!==0;)if(u[m]!==c[m])return!1;return!0}if(u.constructor===RegExp)return u.source===c.source&&u.flags===c.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof c.valueOf=="function")return u.valueOf()===c.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof c.toString=="function")return u.toString()===c.toString();if(g=Object.keys(u),f=g.length,f!==Object.keys(c).length)return!1;for(m=f;m--!==0;)if(!Object.prototype.hasOwnProperty.call(c,g[m]))return!1;if(t&&u instanceof Element)return!1;for(m=f;m--!==0;)if(!((g[m]==="_owner"||g[m]==="__v"||g[m]==="__o")&&u.$$typeof)&&!l(u[g[m]],c[g[m]]))return!1;return!0}return u!==u&&c!==c}return uu=function(c,f){try{return l(c,f)}catch(m){if((m.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw m}},uu}var Zw=Xw();const eb=ts(Zw);var cu,sp;function tb(){if(sp)return cu;sp=1;var t=function(r,s,o,l,u,c,f,m){if(!r){var g;if(s===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var v=[o,l,u,c,f,m],x=0;g=new Error(s.replace(/%s/g,function(){return v[x++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}};return cu=t,cu}var nb=tb();const ip=ts(nb);var du,op;function rb(){return op||(op=1,du=function(r,s,o,l){var u=o?o.call(l,r,s):void 0;if(u!==void 0)return!!u;if(r===s)return!0;if(typeof r!="object"||!r||typeof s!="object"||!s)return!1;var c=Object.keys(r),f=Object.keys(s);if(c.length!==f.length)return!1;for(var m=Object.prototype.hasOwnProperty.bind(s),g=0;g<c.length;g++){var v=c[g];if(!m(v))return!1;var x=r[v],b=s[v];if(u=o?o.call(l,x,b,v):void 0,u===!1||u===void 0&&x!==b)return!1}return!0}),du}var sb=rb();const ib=ts(sb);function qe(){return qe=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(t[o]=s[o])}return t},qe.apply(this,arguments)}function uc(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,Fu(t,r)}function Fu(t,r){return Fu=Object.setPrototypeOf||function(s,o){return s.__proto__=o,s},Fu(t,r)}function ap(t,r){if(t==null)return{};var s,o,l={},u=Object.keys(t);for(o=0;o<u.length;o++)r.indexOf(s=u[o])>=0||(l[s]=t[s]);return l}var ue={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},ob={rel:["amphtml","canonical","alternate"]},ab={type:["application/ld+json"]}
128,lb={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},lp=Object.keys(ue).map(function(t){return ue[t]}),Qo={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ub=Object.keys(Qo).reduce(function(t,r){return t[Qo[r]]=r,t},{}),Jr=function(t,r){for(var s=t.length-1;s>=0;s-=1){var o=t[s];if(Object.prototype.hasOwnProperty.call(o,r))return o[r]}return null},cb=function(t){var r=Jr(t,ue.TITLE),s=Jr(t,"titleTemplate");if(Array.isArray(r)&&(r=r.join("")),s&&r)return s.replace(/%s/g,function(){return r});var o=Jr(t,"defaultTitle");return r||o||void 0},db=function(t){return Jr(t,"onChangeClientState")||function(){}},fu=function(t,r){return r.filter(function(s){return s[t]!==void 0}).map(function(s){return s[t]}).reduce(function(s,o){return qe({},s,o)},{})},fb=function(t,r){return r.filter(function(s){return s[ue.BASE]!==void 0}).map(function(s){return s[ue.BASE]}).reverse().reduce(function(s,o){if(!s.length)for(var l=Object.keys(o),u=0;u<l.length;u+=1){var c=l[u].toLowerCase();if(t.indexOf(c)!==-1&&o[c])return s.concat(o)}return s},[])},Qs=function(t,r,s){var o={};return s.filter(function(l){return!!Array.isArray(l[t])||(l[t]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+t+' should be of type "Array". Instead found type "'+typeof l[t]+'"'),!1)}).map(function(l){return l[t]}).reverse().reduce(function(l,u){var c={};u.filter(function(x){for(var b,_=Object.keys(x),j=0;j<_.length;j+=1){var P=_[j],k=P.toLowerCase();r.indexOf(k)===-1||b==="rel"&&x[b].toLowerCase()==="canonical"||k==="rel"&&x[k].toLowerCase()==="stylesheet"||(b=k),r.indexOf(P)===-1||P!=="innerHTML"&&P!=="cssText"&&P!=="itemprop"||(b=P)}if(!b||!x[b])return!1;var E=x[b].toLowerCase();return o[b]||(o[b]={}),c[b]||(c[b]={}),!o[b][E]&&(c[b][E]=!0,!0)}).reverse().forEach(function(x){return l.push(x)});for(var f=Object.keys(c),m=0;m<f.length;m+=1){var g=f[m],v=qe({},o[g],c[g]);o[g]=v}return l},[]).reverse()},hb=function(t,r){if(Array.isArray(t)&&t.length){for(var s=0;s<t.length;s+=1)if(t[s][r])return!0}return!1},$m=function(t){return Array.isArray(t)?t.join(""):t},hu=function(t,r){return Array.isArray(t)?t.reduce(function(s,o){return(function(l,u){for(var c=Object.keys(l),f=0;f<c.length;f+=1)if(u[c[f]]&&u[c[f]].includes(l[c[f]]))return!0;return!1})(o,r)?s.priority.push(o):s.default.push(o),s},{priority:[],default:[]}):{default:t}},up=function(t,r){var s;return qe({},t,((s={})[r]=void 0,s))},pb=[ue.NOSCRIPT,ue.SCRIPT,ue.STYLE],pu=function(t,r){return r===void 0&&(r=!0),r===!1?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},cp=function(t){return Object.keys(t).reduce(function(r,s){var o=t[s]!==void 0?s+'="'+t[s]+'"':""+s;return r?r+" "+o:o},"")},dp=function(t,r){return r===void 0&&(r={}),Object.keys(t).reduce(function(s,o){return s[Qo[o]||o]=t[o],s},r)},Io=function(t,r){return r.map(function(s,o){var l,u=((l={key:o})["data-rh"]=!0,l);return Object.keys(s).forEach(function(c){var f=Qo[c]||c;f==="innerHTML"||f==="cssText"?u.dangerouslySetInnerHTML={__html:s.innerHTML||s.cssText}:u[f]=s[c]}),wn.createElement(t,u)})},zt=function(t,r,s){switch(t){case ue.TITLE:return{toComponent:function(){return l=r.titleAttributes,(u={key:o=r.title})["data-rh"]=!0,c=dp(l,u),[wn.createElement(ue.TITLE,c,o)];var o,l,u,c},toString:function(){return(function(o,l,u,c){var f=cp(u),m=$m(l);return f?"<"+o+' data-rh="true" '+f+">"+pu(m,c)+"</"+o+">":"<"+o+' data-rh="true">'+pu(m,c)+"</"+o+">"})(t,r.title,r.titleAttributes,s)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return dp(r)},toString:function(){return cp(r)}};default:return{toComponent:function(){return Io(t,r)},toString:function(){return(function(o,l,u){return l.reduce(function(c,f){var m=Object.keys(f).filter(function(x){return!(x==="innerHTML"||x==="cssText")}).reduce(function(x,b){var _=f[b]===void 0?b:b+'="'+pu(f[b],u)+'"';return x?x+" "+_:_},""),g=f.innerHTML||f.cssText||"",v=pb.indexOf(o)===-1;return c+"<"+o+' data-rh="true" '+m+(v?"/>":">"+g+"</"+o+">")},"")})(t,r,s)}}}},Uu=function(t){var r=t.baseTag,s=t.bodyAttributes,o=t.encode,l=t.htmlAttributes,u=t.noscriptTags,c=t.styleTags,f=t.title,m=f===void 0?"":f,g=t.titleAttributes,v=t.linkTags,x=t.metaTags,b=t.scriptTags,_={toComponent:function(){},toString:function(){return""}};if(t.prioritizeSeoTags){var j=(function(P){var k=P.linkTags,E=P.scriptTags,I=P.encode,L=hu(P.metaTags,lb),U=hu(k,ob),H=hu(E,ab);return{priorityMethods:{toComponent:function(){return[].concat(Io(ue.META,L.priority),Io(ue.
128LINK,U.priority),Io(ue.SCRIPT,H.priority))},toString:function(){return zt(ue.META,L.priority,I)+" "+zt(ue.LINK,U.priority,I)+" "+zt(ue.SCRIPT,H.priority,I)}},metaTags:L.default,linkTags:U.default,scriptTags:H.default}})(t);_=j.priorityMethods,v=j.linkTags,x=j.metaTags,b=j.scriptTags}return{priority:_,base:zt(ue.BASE,r,o),bodyAttributes:zt("bodyAttributes",s,o),htmlAttributes:zt("htmlAttributes",l,o),link:zt(ue.LINK,v,o),meta:zt(ue.META,x,o),noscript:zt(ue.NOSCRIPT,u,o),script:zt(ue.SCRIPT,b,o),style:zt(ue.STYLE,c,o),title:zt(ue.TITLE,{title:m,titleAttributes:g},o)}},Ro=[],zu=function(t,r){var s=this;r===void 0&&(r=typeof document<"u"),this.instances=[],this.value={setHelmet:function(o){s.context.helmet=o},helmetInstances:{get:function(){return s.canUseDOM?Ro:s.instances},add:function(o){(s.canUseDOM?Ro:s.instances).push(o)},remove:function(o){var l=(s.canUseDOM?Ro:s.instances).indexOf(o);(s.canUseDOM?Ro:s.instances).splice(l,1)}}},this.context=t,this.canUseDOM=r,r||(t.helmet=Uu({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Vm=wn.createContext({}),mb=Se.shape({setHelmet:Se.func,helmetInstances:Se.shape({get:Se.func,add:Se.func,remove:Se.func})}),yb=typeof document<"u",Gr=(function(t){function r(s){var o;return(o=t.call(this,s)||this).helmetData=new zu(o.props.context,r.canUseDOM),o}return uc(r,t),r.prototype.render=function(){return wn.createElement(Vm.Provider,{value:this.helmetData.value},this.props.children)},r})(C.Component);Gr.canUseDOM=yb,Gr.propTypes={context:Se.shape({helmet:Se.shape()}),children:Se.node.isRequired},Gr.defaultProps={context:{}},Gr.displayName="HelmetProvider";var qr=function(t,r){var s,o=document.head||document.querySelector(ue.HEAD),l=o.querySelectorAll(t+"[data-rh]"),u=[].slice.call(l),c=[];return r&&r.length&&r.forEach(function(f){var m=document.createElement(t);for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(g==="innerHTML"?m.innerHTML=f.innerHTML:g==="cssText"?m.styleSheet?m.styleSheet.cssText=f.cssText:m.appendChild(document.createTextNode(f.cssText)):m.setAttribute(g,f[g]===void 0?"":f[g]));m.setAttribute("data-rh","true"),u.some(function(v,x){return s=x,m.isEqualNode(v)})?u.splice(s,1):c.push(m)}),u.forEach(function(f){return f.parentNode.removeChild(f)}),c.forEach(function(f){return o.appendChild(f)}),{oldTags:u,newTags:c}},mu=function(t,r){var s=document.getElementsByTagName(t)[0];if(s){for(var o=s.getAttribute("data-rh"),l=o?o.split(","):[],u=[].concat(l),c=Object.keys(r),f=0;f<c.length;f+=1){var m=c[f],g=r[m]||"";s.getAttribute(m)!==g&&s.setAttribute(m,g),l.indexOf(m)===-1&&l.push(m);var v=u.indexOf(m);v!==-1&&u.splice(v,1)}for(var x=u.length-1;x>=0;x-=1)s.removeAttribute(u[x]);l.length===u.length?s.removeAttribute("data-rh"):s.getAttribute("data-rh")!==c.join(",")&&s.setAttribute("data-rh",c.join(","))}},fp=function(t,r){var s=t.baseTag,o=t.htmlAttributes,l=t.linkTags,u=t.metaTags,c=t.noscriptTags,f=t.onChangeClientState,m=t.scriptTags,g=t.styleTags,v=t.title,x=t.titleAttributes;mu(ue.BODY,t.bodyAttributes),mu(ue.HTML,o),(function(P,k){P!==void 0&&document.title!==P&&(document.title=$m(P)),mu(ue.TITLE,k)})(v,x);var b={baseTag:qr(ue.BASE,s),linkTags:qr(ue.LINK,l),metaTags:qr(ue.META,u),noscriptTags:qr(ue.NOSCRIPT,c),scriptTags:qr(ue.SCRIPT,m),styleTags:qr(ue.STYLE,g)},_={},j={};Object.keys(b).forEach(function(P){var k=b[P],E=k.newTags,I=k.oldTags;E.length&&(_[P]=E),I.length&&(j[P]=b[P].oldTags)}),r&&r(),f(t,_,j)},Ks=null,Ko=(function(t){function r(){for(var o,l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];return(o=t.call.apply(t,[this].concat(u))||this).rendered=!1,o}uc(r,t);var s=r.prototype;return s.shouldComponentUpdate=function(o){return!ib(o,this.props)},s.componentDidUpdate=function(){this.emitChange()},s.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},s.emitChange=function(){var o,l,u=this.props.context,c=u.setHelmet,f=null,m=(o=u.helmetInstances.get().map(function(g){var v=qe({},g.props);return delete v.context,v}),{baseTag:fb(["href"],o),bodyAttributes:fu("bodyAttributes",o),defer:Jr(o,"defer"),encode:Jr(o,"encodeSpecialCharacters"),htmlAttributes:fu("htmlAttributes",o),linkTags:Qs(ue.LINK,["rel","href"],o),metaTags:Qs(ue.META,["name","charset","http-equiv","property","itemprop"],o),noscriptTags:Qs(ue.NOSCRIPT,["innerHTML"],o),onChangeClientState:db(o),scriptTags:Qs(ue.SCRIPT,["src","innerHTML"],o),styleTags:Qs(ue.STYLE,["cssText"],o),title:cb(o),titleAttributes:fu("titleAttributes",o),prioritizeSeoTags:hb(o,"prioritizeSeoTags")});Gr.canUseDOM?(l=m,Ks&&cancelAnimationFrame(Ks),l.defer?Ks=requestAnimationFrame(function(){fp(l,function(){Ks=null})}):(fp(l),Ks=null)):Uu&&(f=Uu(m)),c(f)},s.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},s.render=function(){return this.init(),null},r})(C.Component);Ko.propTypes={context:mb.isRequired},Ko.displayName="HelmetDispatcher";var gb=["children"],vb=["children"],ni=(function(t){function r(){return t.apply(this,arguments)||this}uc(r,t);var s=r.prototype;return s.shouldComponentUpdate=function(o){return!eb(up(this.props,"helmetData"),up(o,"helmetData"))},s.mapNestedChildrenToProps=function(o,l){if(!l)return null;switch(o.type){case ue.SCRIPT:case ue.NOSCRIPT:return{innerHTML:l};case ue.STYLE:return{cssText:l};default:throw new Error("<"+o.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},s.flattenArrayTypeChildren=function(o){var l,u=o.child,c=o.arrayTypeChildren;return qe({},c,((l={})[u.type]=[].concat(c[u.type]||[],[qe({},o.newChildProps,this.mapNestedChildrenToProps(u,o.nestedChildren))]),l))},s.mapObjectTypeChildren=function(o){var l,u,c=o.child,f=o.newProps,m=o.newChildProps,g=o.nestedChildren;switch(c.type){case ue.TITLE:return qe({},f,((l={})[c.type]=g,l.titleAttributes=qe({},m),l));case ue.BODY:return qe({},f,{bodyAttributes:qe({},m)});case ue.HTML:return qe({},f,{htmlAttributes:qe({},m)});default:return qe({},f,((u={})[c.type]=qe({},m),u))}},s.mapArrayTypeChildrenToProps=function(o,l){var u=qe({},l);
128return Object.keys(o).forEach(function(c){var f;u=qe({},u,((f={})[c]=o[c],f))}),u},s.warnOnInvalidChildren=function(o,l){return ip(lp.some(function(u){return o.type===u}),typeof o.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+lp.join(", ")+" are allowed. Helmet does not support rendering <"+o.type+"> elements. Refer to our API for more information."),ip(!l||typeof l=="string"||Array.isArray(l)&&!l.some(function(u){return typeof u!="string"}),"Helmet expects a string as a child of <"+o.type+">. Did you forget to wrap your children in braces? ( <"+o.type+">{``}</"+o.type+"> ) Refer to our API for more information."),!0},s.mapChildrenToProps=function(o,l){var u=this,c={};return wn.Children.forEach(o,function(f){if(f&&f.props){var m=f.props,g=m.children,v=ap(m,gb),x=Object.keys(v).reduce(function(_,j){return _[ub[j]||j]=v[j],_},{}),b=f.type;switch(typeof b=="symbol"?b=b.toString():u.warnOnInvalidChildren(f,g),b){case ue.FRAGMENT:l=u.mapChildrenToProps(g,l);break;case ue.LINK:case ue.META:case ue.NOSCRIPT:case ue.SCRIPT:case ue.STYLE:c=u.flattenArrayTypeChildren({child:f,arrayTypeChildren:c,newChildProps:x,nestedChildren:g});break;default:l=u.mapObjectTypeChildren({child:f,newProps:l,newChildProps:x,nestedChildren:g})}}}),this.mapArrayTypeChildrenToProps(c,l)},s.render=function(){var o=this.props,l=o.children,u=ap(o,vb),c=qe({},u),f=u.helmetData;return l&&(c=this.mapChildrenToProps(l,c)),!f||f instanceof zu||(f=ne
vendor: 4,359 bytes, line 128
128w zu(f.context,f.instances)),f?wn.createElement(Ko,qe({},c,{context:f.value,helmetData:void 0})):wn.createElement(Vm.Consumer,null,function(m){return wn.createElement(Ko,qe({},c,{context:m}))})},r})(C.Component);ni.propTypes={base:Se.object,bodyAttributes:Se.object,children:Se.oneOfType([Se.arrayOf(Se.node),Se.node]),defaultTitle:Se.string,defer:Se.bool,encodeSpecialCharacters:Se.bool,htmlAttributes:Se.object,link:Se.arrayOf(Se.object),meta:Se.arrayOf(Se.object),noscript:Se.arrayOf(Se.object),onChangeClientState:Se.func,script:Se.arrayOf(Se.object),style:Se.arrayOf(Se.object),title:Se.string,titleAttributes:Se.object,titleTemplate:Se.string,prioritizeSeoTags:Se.bool,helmetData:Se.object},ni.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},ni.displayName="Helmet";function Hm(t,r){return function(){return t.apply(r,arguments)}}const{toString:xb}=Object.prototype,{getPrototypeOf:Xr}=Object,{iterator:di,toStringTag:qm}=Symbol,Go=(({hasOwnProperty:t})=>(r,s)=>t.call(r,s))(Object.prototype),li=(t,r)=>{let s=t;const o=[];for(;s!=null&&s!==Object.prototype;){if(o.indexOf(s)!==-1)return!1;if(o.push(s),Go(s,r))return!0;s=Xr(s)}return!1},wb=(t,r)=>t!=null&&li(t,r)?t[r]:void 0,cc=(t=>r=>{const s=xb.call(r);return t[s]||(t[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),en=t=>(t=t.toLowerCase(),r=>cc(r)===t),ea=t=>r=>typeof r===t,{isArray:vr}=Array,Zr=ea("undefined");function ss(t){return t!==null&&!Zr(t)&&t.constructor!==null&&!Zr(t.constructor)&&kt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Wm=en("ArrayBuffer");function bb(t){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(t):r=t&&t.buffer&&Wm(t.buffer),r}const _b=ea("string"),kt=ea("function"),Qm=ea("number"),is=t=>t!==null&&typeof t=="object",Sb=t=>t===!0||t===!1,Mo=t=>{if(!is(t))return!1;const r=Xr(t);return(r===null||r===Object.prototype||Xr(r)===null)&&!li(t,qm)&&!li(t,di)},Eb=t=>{if(!is(t)||ss(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},Cb=en("Date"),kb=en("File"),Ob=t=>!!(t&&typeof t.uri<"u"),Tb=t=>t&&typeof t.getParts<"u",Rb=en("Blob"),Pb=en("FileList"),jb=t=>is(t)&&kt(t.pipe);function Ab(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const hp=Ab(),pp=typeof hp.FormData<"u"?hp.FormData:void 0,Nb=t=>{if(!t)return!1;if(pp&&t instanceof pp)return!0;const r=Xr(t);if(!r||r===Object.prototype||!kt(t.append))return!1;const s=cc(t);return s==="formdata"||s==="object"&&kt(t.toString)&&t.toString()==="[object FormData]"},Lb=en("URLSearchParams"),[Db,Ib,Mb,Fb]=["ReadableStream","Request","Response","Headers"].map(en),Ub=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function fi(t,r,{allOwnKeys:s=!1}={}){if(t===null||typeof t>"u")return;let o,l;if(typeof t!="object"&&(t=[t]),vr(t))for(o=0,l=t.length;o<l;o++)r.call(null,t[o],o,t);else{if(ss(t))return;const u=s?Object.getOwnPropertyNames(t):Object.keys(t),c=u.length;let f;for(o=0;o<c;o++)f=u[o],r.call(null,t[f],f,t)}}function Km(t,r){if(ss(t))return null;r=r.toLowerCase();const s=Object.keys(t);let o=s.length,l;for(;o-- >0;)if(l=s[o],r===l.toLowerCase())return l;return null}const mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Gm=t=>!Zr(t)&&t!==mr;function Bu(...t){const{caseless:r,skipUndefined:s}=Gm(this)&&this||{},o={},l=(u,c)=>{if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=r&&typeof c=="string"&&Km(o,c)||c,m=Go(o,f)?o[f]:void 0;Mo(m)&&Mo(u)?o[f]=Bu(m,u):Mo(u)?o[f]=Bu({},u):vr(u)?o[f]=u.slice():(!s||!Zr(u))&&(o[f]=u)};for(let u=0,c=t.length;u<c;u++){const f=t[u];if(!f||ss(f)||(fi(f,l),typeof f!="object"||vr(f)))continue;const m=Object.getOwnPropertySymbols(f);for(let g=0;g<m.length;g++){const v=m[g];Jb.call(f,v)&&l(f[v],v)}}return o}const zb=(t,r,s,{allOwnKeys:o}={})=>(fi(r,(l,u)=>{s&&kt(l)?Object.defineProperty(t,u,{__proto__:null,value:Hm(l,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,u,{__proto__:null,value:l,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),t),Bb=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),$b=(t,r,s,o)=>{t.prototype=Object.create(r.prototype,o),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,
vendor: 4,523 bytes, lines 128-129
128configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:r.prototype}),s&&Object.assign(t.prototype,s)},Vb=(t,r,s,o)=>{let l,u,c;const f={};if(r=r||{},t==null)return r;do{for(l=Object.getOwnPropertyNames(t),u=l.length;u-- >0;)c=l[u],(!o||o(c,t,r))&&!f[c]&&(r[c]=t[c],f[c]=!0);t=s!==!1&&Xr(t)}while(t&&(!s||s(t,r))&&t!==Object.prototype);return r},Hb=(t,r,s)=>{t=String(t),(s===void 0||s>t.length)&&(s=t.length),s-=r.length;const o=t.indexOf(r,s);return o!==-1&&o===s},qb=t=>{if(!t)return null;if(vr(t))return t;let r=t.length;if(!Qm(r))return null;const s=new Array(r);for(;r-- >0;)s[r]=t[r];return s},Wb=(t=>r=>t&&r instanceof t)(typeof Uint8Array<"u"&&Xr(Uint8Array)),Qb=(t,r)=>{const o=(t&&t[di]).call(t);let l;for(;(l=o.next())&&!l.done;){const u=l.value;r.call(t,u[0],u[1])}},Kb=(t,r)=>{let s;const o=[];for(;(s=t.exec(r))!==null;)o.push(s);return o},Gb=en("HTMLFormElement"),Yb=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,o,l){return o.toUpperCase()+l}),{propertyIsEnumerable:Jb}=Object.prototype,Xb=en("RegExp"),Ym=(t,r)=>{const s=Object.getOwnPropertyDescriptors(t),o={};fi(s,(l,u)=>{let c;(c=r(l,u,t))!==!1&&(o[u]=c||l)}),Object.defineProperties(t,o)},Zb=t=>{Ym(t,(r,s)=>{if(kt(t)&&["arguments","caller","callee"].includes(s))return!1;const o=t[s];if(kt(o)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},e1=(t,r)=>{const s={},o=l=>{l.forEach(u=>{s[u]=!0})};return vr(t)?o(t):o(String(t).split(r)),s},t1=()=>{},n1=(t,r)=>t!=null&&Number.isFinite(t=+t)?t:r;function r1(t){return!!(t&&kt(t.append)&&t[qm]==="FormData"&&t[di])}const s1=t=>{const r=new WeakSet,s=o=>{if(is(o)){if(r.has(o))return;if(ss(o))return o;if(!("toJSON"in o)){r.add(o);const l=vr(o)?[]:{};return fi(o,(u,c)=>{const f=s(u);!Zr(f)&&(l[c]=f)}),r.delete(o),l}}return o};return s(t)},i1=en("AsyncFunction"),o1=t=>t&&(is(t)||kt(t))&&kt(t.then)&&kt(t.catch),Jm=((t,r)=>t?setImmediate:r?((s,o)=>(mr.addEventListener("message",({source:l,data:u})=>{l===mr&&u===s&&o.length&&o.shift()()},!1),l=>{o.push(l),mr.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",kt(mr.postMessage)),a1=typeof queueMicrotask<"u"?queueMicrotask.bind(mr):typeof process<"u"&&process.nextTick||Jm,Xm=t=>t!=null&&kt(t[di]),l1=t=>t!=null&&li(t,di)&&Xm(t),R={isArray:vr,isArrayBuffer:Wm,isBuffer:ss,isFormData:Nb,isArrayBufferView:bb,isString:_b,isNumber:Qm,isBoolean:Sb,isObject:is,isPlainObject:Mo,isEmptyObject:Eb,isReadableStream:Db,isRequest:Ib,isResponse:Mb,isHeaders:Fb,isUndefined:Zr,isDate:Cb,isFile:kb,isReactNativeBlob:Ob,isReactNative:Tb,isBlob:Rb,isRegExp:Xb,isFunction:kt,isStream:jb,isURLSearchParams:Lb,isTypedArray:Wb,isFileList:Pb,forEach:fi,merge:Bu,extend:zb,trim:Ub,stripBOM:Bb,inherits:$b,toFlatObject:Vb,kindOf:cc,kindOfTest:en,endsWith:Hb,toArray:qb,forEachEntry:Qb,matchAll:Kb,isHTMLForm:Gb,hasOwnProperty:Go,hasOwnProp:Go,hasOwnInPrototypeChain:li,getSafeProp:wb,reduceDescriptors:Ym,freezeMethods:Zb,toObjectSet:e1,toCamelCase:Yb,noop:t1,toFiniteNumber:n1,findKey:Km,global:mr,isContextDefined:Gm,isSpecCompliantForm:r1,toJSONObject:s1,isAsyncFn:i1,isThenable:o1,setImmediate:Jm,asap:a1,isIterable:Xm,isSafeIterable:l1},u1=R.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"]),c1=t=>{const r={};let s,o,l;return t&&t.split(`
129`).forEach(function(c){l=c.indexOf(":"),s=c.substring(0,l).trim().toLowerCase(),o=c.substring(l+1).trim(),!(!s||r[s]&&u1[s])&&(s==="set-cookie"?r[s]?r[s].push(o):r[s]=[o]:r[s]=r[s]?r[s]+", "+o:o)}),r};function d1(t){let r=0,s=t.length;for(;r<s;){const o=t.charCodeAt(r);if(o!==9&&o!==32)break;r+=1}for(;s>r;){const o=t.charCodeAt(s-1);if(o!==9&&o!==32)break;s-=1}return r===0&&s===t.length?t:t.slice(r,s)}const f1=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),h1=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function dc(t,r){return R.isArray(t)?t.map(s=>dc(s,r)):d1(String(t).replace(r,""))}const p1=t=>dc(t,f1),m1=t=>dc(t,h1);function Zm(t){const r=Object.create(null);return R.forEach(t.toJSON(),(s,o)=>{r[o]=m1(s)}),r}const mp=Symbol("internals");function Gs(t){return t&&String(t).trim().toLowerCase()}function Fo(t){return t===!1||t==null?t:R.isArray(t)?t.map(Fo):p1(String(t))}function y1(t){const r=Object.create(null),s=/([^\s,;
129=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=s.exec(t);)r[o[1]]=o[2];return r}const g1=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function yu(t,r,s,o,l){if(R.isFunction(o))return o.call(this,r,s);if(l&&(r=s),!!R.isString(r)){if(R.isString(o))return r.indexOf(o)!==-1;if(R.isRegExp(o))return o.test(r)}}function v1(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,s,o)=>s.toUpperCase()+o)}function x1(t,r){const s=R.toCamelCase(" "+r);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+s,{__proto__:null,value:function(l,u,c){return this[o].call(this,r,l,u,c)},configurable:!0})})}let yt=class{constructor(r){r&&this.set(r)}set(r,s,o){const l=this;function u(f,m,g){const v=Gs(m);if(!v)return;const x=R.findKey(l,v);(!x||l[x]===void 0||g===!0||g===void 0&&l[x]!==!1)&&(l[x||m]=Fo(f))}const c=(f,m)=>R.forEach(f,(g,v)=>u(g,v,m));if(R.isPlainObject(r)||r instanceof this.constructor)c(r,s);else if(R.isString(r)&&(r=r.trim())&&!g1(r))c(c1(r),s);else if(R.isObject(r)&&R.isSafeIterable(r)){let f=Object.create(null),m,g;for(const v of r){if(!R.isArray(v))throw new TypeError("Object iterator must return a key-value pair");g=v[0],R.hasOwnProp(f,g)?(m=f[g],f[g]=R.isArray(m)?[...m,v[1]]:[m,v[1]]):f[g]=v[1]}c(f,s)}else r!=null&&u(s,r,o);return this}get(r,s){if(r=Gs(r),r){const o=R.findKey(this,r);if(o){const l=this[o];if(!s)return l;if(s===!0)return y1(l);if(R.isFunction(s))return s.call(this,l,o);if(R.isRegExp(s))return s.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,s){if(r=Gs(r),r){const o=R.findKey(this,r);return!!(o&&this[o]!==void 0&&(!s||yu(this,this[o],o,s)))}return!1}delete(r,s){const o=this;let l=!1;function u(c){if(c=Gs(c),c){const f=R.findKey(o,c);f&&(!s||yu(o,o[f],f,s))&&(delete o[f],l=!0)}}return R.isArray(r)?r.forEach(u):u(r),l}clear(r){const s=Object.keys(this);let o=s.length,l=!1;for(;o--;){const u=s[o];(!r||yu(this,this[u],u,r,!0))&&(delete this[u],l=!0)}return l}normalize(r){const s=this,o={};return R.forEach(this,(l,u)=>{const c=R.findKey(o,u);if(c){s[c]=Fo(l),delete s[u];return}const f=r?v1(u):String(u).trim();f!==u&&delete s[u],s[f]=Fo(l),o[f]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const s=Object.create(null);return R.forEach(this,(o,l)=>{o!=null&&o!==!1&&(s[l]=r&&R.isArray(o)?o.join(", "):o)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,s])=>r+": "+s).join(`
130`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...s){const o=new this(r);return s.forEach(l=>o.set(l)),o}static accessor(r){const o=(this[mp]=this[mp]={accessors:{}}).accessors,l=this.prototype;function u(c){const f=Gs(c);o[f]||(x1(l,c),o[f]=!0)}return R.isArray(r)?r.forEach(u):u(r),this}};yt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(yt.prototype,({value:t},r)=>{let s=r[0].toUpperCase()+r.slice(1);return{get:()=>t,set(o){this[s]=o}}});R.freezeMethods(yt);const w1="[REDACTED ****]";function b1(t){if(R.hasOwnProp(t,"toJSON"))return!0;let r=Object.getPrototypeOf(t);for(;r&&r!==Object.prototype;){if(R.hasOwnProp(r,"toJSON"))return!0;r=Object.getPrototypeOf(r)}return!1}function _1(t,r){const s=new Set(r.map(u=>String(u).toLowerCase())),o=[],l=u=>{if(u===null||typeof u!="object"||R.isBuffer(u))return u;if(o.indexOf(u)!==-1)return;u instanceof yt&&(u=u.toJSON()),o.push(u);let c;if(R.isArray(u))c=[],u.forEach((f,m)=>{const g=l(f);R.isUndefined(g)||(c[m]=g)});else{if(!R.isPlainObject(u)&&b1(u))return o.pop(),u;c=Object.create(null);for(const[f,m]of Object.entries(u)){const g=s.has(f.toLowerCase())?w1:l(m);R.isUndefined(g)||(c[f]=g)}}return o.pop(),c};return l(t)}let K=class ey extends Error{static from(r,s,o,l,u,c){const f=new ey(r.message,s||r.code,o,l,u);return Object.defineProperty(f,"cause",{__proto__:null,value:r,writable:!0,enumerable:!1,configurable:!0}),f.name=r.name,r.status!=null&&f.status==null&&(f.status=r.status),c&&Object.assign(f,c),f}constructor(r,s,o,l,u){super(r),Object.defineProperty(this,"message",{__proto__:null,value:r,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),o&&(this.config=o),l&&(this.request=l),u&&(this.response=u,this.status=u.status)}toJSON(){const r=this.config,s=r&&R.hasOwnProp(r,"redact")?r.redact:void 0,o=R.isArray(s)&&s.length>0?_1(r,s):R.toJSONObject(r);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:o,code:this.code,status:this.status}}};K.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";K.ERR_BAD_OPTION="ERR_BAD_OPTION";K.ECONNABORTED="ECONNABORTED";K.ETIMEDOUT="ETIMEDOUT";K.ECONNREFUSED="ECONNREFUSED";K.ERR_NETWORK="ERR_NETWORK";K.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";K.ERR_DEPRECATED="ERR_DEPRECATED";K.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";K.ERR_BAD_REQUEST="ERR_BAD_REQUEST";K.ERR_CANCELED="ERR_CANCELED";K.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";K.ERR_INVALID_URL="ERR_INVALID_URL";K.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const S1=null,ty=100;function $u(t){return R.isPlainObject(t)||R.isArray(t)}function ny(t){return R.endsWith(t,"[]")?t.slice(0,-2):t}function gu(t,r,s){return t?t.concat(r).map(function(l,u){return l=ny(l),!s&&u?"["+l+"]":l}).join(s?".":""):r}function E1(t){return R.isArray(t)&&!t.some($u)}const C1=R.toFlatObject(R,{},null,function(r){return/^is[A-Z]/.test(r)});function ta(t,r,s){if(!R.isObject(t))throw new TypeError("target must be an object");r=r||new FormData,s=R.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(I,L){return!R.isUndefined(L[I])});const o=s.metaTokens,l=s.visitor||j,u=s.dots,c=s.indexes,f=s.Blob||typeof Blob<"u"&&Blob,m=s.maxDepth===void 0?ty:s.maxDepth,g=f&&R.isSpecCompliantForm(r),v=[];
vendor: 2,495 bytes, line 130
130if(!R.isFunction(l))throw new TypeError("visitor must be a function");function x(E){if(E===null)return"";if(R.isDate(E))return E.toISOString();if(R.isBoolean(E))return E.toString();if(!g&&R.isBlob(E))throw new K("Blob is not supported. Use a Buffer instead.");if(R.isArrayBuffer(E)||R.isTypedArray(E)){if(g&&typeof f=="function")return new f([E]);if(typeof Buffer<"u")return Buffer.from(E);throw new K("Blob is not supported. Use a Buffer instead.",K.ERR_NOT_SUPPORT)}return E}function b(E){if(E>m)throw new K("Object is too deeply nested ("+E+" levels). Max depth: "+m,K.ERR_FORM_DATA_DEPTH_EXCEEDED)}function _(E,I){if(m===1/0)return JSON.stringify(E);const L=[];return JSON.stringify(E,function(H,J){if(!R.isObject(J))return J;for(;L.length&&L[L.length-1]!==this;)L.pop();return L.push(J),b(I+L.length-1),J})}function j(E,I,L){let U=E;if(R.isReactNative(r)&&R.isReactNativeBlob(E))return r.append(gu(L,I,u),x(E)),!1;if(E&&!L&&typeof E=="object"){if(R.endsWith(I,"{}"))I=o?I:I.slice(0,-2),E=_(E,1);else if(R.isArray(E)&&E1(E)||(R.isFileList(E)||R.endsWith(I,"[]"))&&(U=R.toArray(E)))return I=ny(I),U.forEach(function(J,de){!(R.isUndefined(J)||J===null)&&r.append(c===!0?gu([I],de,u):c===null?I:I+"[]",x(J))}),!1}return $u(E)?!0:(r.append(gu(L,I,u),x(E)),!1)}const P=Object.assign(C1,{defaultVisitor:j,convertValue:x,isVisitable:$u});function k(E,I,L=0){if(!R.isUndefined(E)){if(b(L),v.indexOf(E)!==-1)throw new Error("Circular reference detected in "+I.join("."));v.push(E),R.forEach(E,function(H,J){(!(R.isUndefined(H)||H===null)&&l.call(r,H,R.isString(J)?J.trim():J,I,P))===!0&&k(H,I?I.concat(J):[J],L+1)}),v.pop()}}if(!R.isObject(t))throw new TypeError("data must be an object");return k(t),r}function yp(t){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(o){return r[o]})}function fc(t,r){this._pairs=[],t&&ta(t,this,r)}const ry=fc.prototype;ry.append=function(r,s){this._pairs.push([r,s])};ry.toString=function(r){const s=r?o=>r.call(this,o,yp):yp;return this._pairs.map(function(l){return s(l[0])+"="+s(l[1])},"").join("&")};function k1(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function sy(t,r,s){if(!r)return t;t=t||"";const o=R.isFunction(s)?{serialize:s}:s,l=R.getSafeProp(o,"encode")||k1,u=R.getSafeProp(o,"serialize");let c;if(u?c=u(r,o):c=R.isURLSearchParams(r)?r.toString():new fc(r,o).toString(l),c){const f=t.indexOf("#");
vendor: 3,152 bytes, line 130
130f!==-1&&(t=t.slice(0,f)),t+=(t.indexOf("?")===-1?"?":"&")+c}return t}class gp{constructor(){this.handlers=[]}use(r,s,o){return this.handlers.push({fulfilled:r,rejected:s,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){R.forEach(this.handlers,function(o){o!==null&&r(o)})}}const hc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},O1=typeof URLSearchParams<"u"?URLSearchParams:fc,T1=typeof FormData<"u"?FormData:null,R1=typeof Blob<"u"?Blob:null,P1={isBrowser:!0,classes:{URLSearchParams:O1,FormData:T1,Blob:R1},protocols:["http","https","file","blob","url","data"]},pc=typeof window<"u"&&typeof document<"u",Vu=typeof navigator=="object"&&navigator||void 0,j1=pc&&(!Vu||["ReactNative","NativeScript","NS"].indexOf(Vu.product)<0),A1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",N1=pc&&window.location.href||"http://localhost",L1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pc,hasStandardBrowserEnv:j1,hasStandardBrowserWebWorkerEnv:A1,navigator:Vu,origin:N1},Symbol.toStringTag,{value:"Module"})),ct={...L1,...P1};function D1(t,r){return ta(t,new ct.classes.URLSearchParams,{visitor:function(s,o,l,u){return ct.isNode&&R.isBuffer(s)?(this.append(o,s.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...r})}const vp=ty;function iy(t){if(t>vp)throw new K("FormData field is too deeply nested ("+t+" levels). Max depth: "+vp,K.ERR_FORM_DATA_DEPTH_EXCEEDED)}function I1(t){const r=[],s=/\w+|\[(\w*)]/g;let o;for(;(o=s.exec(t))!==null;)iy(r.length),r.push(o[0]==="[]"?"":o[1]||o[0]);return r}function M1(t){const r={},s=Object.keys(t);let o;const l=s.length;let u;for(o=0;o<l;o++)u=s[o],r[u]=t[u];return r}function oy(t){function r(s,o,l,u){iy(u);let c=s[u++];if(c==="__proto__")return!0;const f=Number.isFinite(+c),m=u>=s.length;return c=!c&&R.isArray(l)?l.length:c,m?(R.hasOwnProp(l,c)?l[c]=R.isArray(l[c])?l[c].concat(o):[l[c],o]:l[c]=o,!f):((!R.hasOwnProp(l,c)||!R.isObject(l[c]))&&(l[c]=[]),r(s,o,l[c],u)&&R.isArray(l[c])&&(l[c]=M1(l[c])),!f)}if(R.isFormData(t)&&R.isFunction(t.entries)){const s={};return R.forEachEntry(t,(o,l)=>{r(I1(o),l,s,0)}),s}return null}const Wr=(t,r)=>t!=null&&R.hasOwnProp(t,r)?t[r]:void 0;function F1(t,r,s){if(R.isString(t))try{return(r||JSON.parse)(t),R.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(s||JSON.stringify)(t)}const hi={transitional:hc,adapter:["xhr","http","fetch"],transformRequest:[function(r,s){const o=s.getContentType()||"",l=o.indexOf("application/json")>-1,u=R.isObject(r);if(u&&R.isHTMLForm(r)&&(r=new FormData(r)),R.isFormData(r))return l?JSON.stringify(oy(r)):r;if(R.isArrayBuffer(r)||R.isBuffer(r)||R.isStream(r)||R.isFile(r)||R.isBlob(r)||R.isReadableStream(r))return r;if(R.isArrayBufferView(r))return r.buffer;if(R.isURLSearchParams(r))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let f;
vendor: 11,086 bytes, line 130
130if(u){const m=Wr(this,"formSerializer");if(o.indexOf("application/x-www-form-urlencoded")>-1)return D1(r,m).toString();if((f=R.isFileList(r))||o.indexOf("multipart/form-data")>-1){const g=Wr(this,"env"),v=g&&g.FormData;return ta(f?{"files[]":r}:r,v&&new v,m)}}return u||l?(s.setContentType("application/json",!1),F1(r)):r}],transformResponse:[function(r){const s=Wr(this,"transitional")||hi.transitional,o=s&&s.forcedJSONParsing,l=Wr(this,"responseType"),u=l==="json";if(R.isResponse(r)||R.isReadableStream(r))return r;if(r&&R.isString(r)&&(o&&!l||u)){const f=!(s&&s.silentJSONParsing)&&u;try{return JSON.parse(r,Wr(this,"parseReviver"))}catch(m){if(f)throw m.name==="SyntaxError"?K.from(m,K.ERR_BAD_RESPONSE,this,null,Wr(this,"response")):m}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ct.classes.FormData,Blob:ct.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};R.forEach(["delete","get","head","post","put","patch","query"],t=>{hi.headers[t]={}});function vu(t,r){const s=this||hi,o=r||s,l=yt.from(o.headers);let u=o.data;return R.forEach(t,function(f){u=f.call(s,u,l.normalize(),r?r.status:void 0)}),l.normalize(),u}function ay(t){return!!(t&&t.__CANCEL__)}let pi=class extends K{constructor(r,s,o){super(r??"canceled",K.ERR_CANCELED,s,o),this.name="CanceledError",this.__CANCEL__=!0}};function ly(t,r,s){const o=s.config.validateStatus;!s.status||!o||o(s.status)?t(s):r(new K("Request failed with status code "+s.status,s.status>=400&&s.status<500?K.ERR_BAD_REQUEST:K.ERR_BAD_RESPONSE,s.config,s.request,s))}function U1(t){const r=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return r&&r[1]||""}function z1(t,r){t=t||10;const s=new Array(t),o=new Array(t);let l=0,u=0,c;return r=r!==void 0?r:1e3,function(m){const g=Date.now(),v=o[u];c||(c=g),s[l]=m,o[l]=g;let x=u,b=0;for(;x!==l;)b+=s[x++],x=x%t;if(l=(l+1)%t,l===u&&(u=(u+1)%t),g-c<r)return;const _=v&&g-v;return _?Math.round(b*1e3/_):void 0}}function B1(t,r){let s=0,o=1e3/r,l,u;const c=(g,v=Date.now())=>{s=v,l=null,u&&(clearTimeout(u),u=null),t(...g)};return[(...g)=>{const v=Date.now(),x=v-s;x>=o?c(g,v):(l=g,u||(u=setTimeout(()=>{u=null,c(l)},o-x)))},()=>l&&c(l)]}const Yo=(t,r,s=3)=>{let o=0;const l=z1(50,250);return B1(u=>{if(!u||typeof u.loaded!="number")return;const c=u.loaded,f=u.lengthComputable?u.total:void 0,m=f!=null?Math.min(c,f):c,g=Math.max(0,m-o),v=l(g);o=Math.max(o,m);const x={loaded:m,total:f,progress:f?m/f:void 0,bytes:g,rate:v||void 0,estimated:v&&f?(f-m)/v:void 0,event:u,lengthComputable:f!=null,[r?"download":"upload"]:!0};t(x)},s)},xp=(t,r)=>{const s=t!=null;return[o=>r[0]({lengthComputable:s,total:t,loaded:o}),r[1]]},wp=t=>(...r)=>R.asap(()=>t(...r)),$1=ct.hasStandardBrowserEnv?((t,r)=>s=>(s=new URL(s,ct.origin),t.protocol===s.protocol&&t.host===s.host&&(r||t.port===s.port)))(new URL(ct.origin),ct.navigator&&/(msie|trident)/i.test(ct.navigator.userAgent)):()=>!0,V1=ct.hasStandardBrowserEnv?{write(t,r,s,o,l,u,c){if(typeof document>"u")return;const f=[`${t}=${encodeURIComponent(r)}`];R.isNumber(s)&&f.push(`expires=${new Date(s).toUTCString()}`),R.isString(o)&&f.push(`path=${o}`),R.isString(l)&&f.push(`domain=${l}`),u===!0&&f.push("secure"),R.isString(c)&&f.push(`SameSite=${c}`),document.cookie=f.join("; ")},read(t){if(typeof document>"u")return null;const r=document.cookie.split(";");for(let s=0;s<r.length;s++){const o=r[s].replace(/^\s+/,""),l=o.indexOf("=");if(l!==-1&&o.slice(0,l)===t)try{return decodeURIComponent(o.slice(l+1))}catch{return o.slice(l+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function H1(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function q1(t,r){return r?t.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):t}const W1=/^https?:(?!\/\/)/i,Q1=/[\t\n\r]/g;function K1(t){let r=0;for(;r<t.length&&t.charCodeAt(r)<=32;)r++;return t.slice(r)}function G1(t){return K1(t).replace(Q1,"")}function bp(t,r){if(typeof t=="string"&&W1.test(G1(t)))throw new K('Invalid URL: missing "//" after protocol',K.ERR_INVALID_URL,r)}function uy(t,r,s,o){bp(r,o);let l=!H1(r);return t&&(l||s===!1)?(bp(t,o),q1(t,r)):r}const _p=t=>t instanceof yt?{...t}:t;function xr(t,r){t=t||{},r=r||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function o(v,x,b,_){return R.isPlainObject(v)&&R.isPlainObject(x)?R.merge.call({caseless:_},v,x):R.isPlainObject(x)?R.merge({},x):R.isArray(x)?x.slice():x}function l(v,x,b,_){if(R.isUndefined(x)){if(!R.isUndefined(v))return o(void 0,v,b,_)}else return o(v,x,b,_)}function u(v,x){if(!R.isUndefined(x))return o(void 0,x)}function c(v,x){if(R.isUndefined(x)){if(!R.isUndefined(v))return o(void 0,v)}else return o(void 0,x)}function f(v){const x=R.hasOwnProp(r,"transitional")?r.transitional:void 0;if(!R.isUndefined(x))if(R.isPlainObject(x)){if(R.hasOwnProp(x,v))return x[v]}else return;const b=R.hasOwnProp(t,"transitional")?t.transitional:void 0;if(R.isPlainObject(b)&&R.hasOwnProp(b,v))return b[v]}function m(v,x,b){if(R.hasOwnProp(r,b))return o(v,x);if(R.hasOwnProp(t,b))return o(void 0,v)}const g={url:u,method:u,data:u,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,allowedSocketPaths:c,responseEncoding:c,validateStatus:m,headers:(v,x,b)=>l(_p(v),_p(x),b,!0)};return R.forEach(Object.keys({...t,...r}),function(x){if(x==="__proto__"||x==="constructor"||x==="prototype")return;const b=R.hasOwnProp(g,x)?g[x]:l,_=R.hasOwnProp(t,x)?t[x]:void 0,j=R.hasOwnProp(r,x)?r[x]:void 0,P=b(_,j,x);R.isUndefined(P)&&b!==m||(s[x]=P)}),R.hasOwnProp(r,"validateStatus")&&R.isUndefined(r.validateStatus)&&f("validateStatusUndefinedResolves")===!1&&(R.hasOwnProp(t,"validateStatus")?s.validateStatus=o(void 0,t.validateStatus):delete s.validateStatus),s}const Y1=["content-type","content-length"];function J1(t,r,s){if(s!=="content-only"){t.set(r);return}Object.entries(r||{}).forEach(([o,l])=>{Y1.includes(o.toLowerCase())&&t.set(o,l)})}const X1=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(r,s)=>String.fromCharCode(parseInt(s,16)));function cy(t){const r=xr({},t),s=b=>R.hasOwnProp(r,b)?r[b]:void 0,o=s("data");let l=s("withXSRFToken");const u=s("xsrfHeaderName"),c=s("xsrfCookieName");let f=s("headers");const m=s("auth"),g=s("baseURL"),v=s("allowAbsoluteUrls"),x=s("url");if(r.headers=f=yt.from(f),r.url=sy(uy(g,x,v,r),s("params"),s("paramsSerializer")),m){const b=R.getSafeProp(m,"username")||"",_=R.getSafeProp(m,"password")||"";try{f.set("Authorization","Basic "+btoa(b+":"+(_?X1(_):"")))}catch(j){throw K.from(j,K.ERR_BAD_OPTION_VALUE,t)}}if(R.isFormData(o)&&(ct.hasStandardBrowserEnv||ct.hasStandardBrowserWebWorkerEnv||R.isReactNative(o)?f.setContentType(void 0):R.isFunction(o.getHeaders)&&J1(f,o.getHeaders(),s("formDataHeaderPolicy"))),ct.hasStandardBrowserEnv&&(R.isFunction(l)&&(l=l(r)),l===!0||l==null&&$1(r.url))){const _=u&&c&&V1.read(c);_&&f.set(u,_)}return r}const Z1=typeof XMLHttpRequest<"u",e_=Z1&&function(t){return new Promise(function(s,o){const l=cy(t);let u=l.data;const c=yt.from(l.headers).normalize();let{responseType:f,onUploadProgress:m,onDownloadProgress:g}=l,v,x,b,_,j;function P(){_&&_(),j&&j(),l.cancelToken&&l.cancelToken.unsubscribe(v),l.signal&&l.signal.removeEventListener("abort",v)}let k=new XMLHttpRequest;k.open(l.method.toUpperCase(),l.url,!0),k.timeout=l.timeout;function E(){if(!k)return;const L=yt.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),H={data:!f||f==="text"||f==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:L,config:t,request:k};ly(function(de){s(de),P()},function(de){o(de),P()},H),k=null}"onloadend"in k?k.onloadend=E:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.startsWith("file:"))||setTimeout(E)},k.onabort=function(){k&&(o(new K("Request aborted",K.ECONNABORTED,t,k)),P(),k=null)},k.onerror=function(U){const H=U&&U.message?U.message:"Network Error",J=new K(H,K.ERR_NETWORK,t,k);J.event=U||null,o(J),P(),k=null},k.ontimeout=function(){let U=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const H=l.transitional||hc;l.timeoutErrorMessage&&(U=l.timeoutErrorMessage),o(new K(U,H.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,t,k)),P(),k=null},u===void 0&&c.setContentType(null),"setRequestHeader"in k&&R.forEach(Zm(c),function(U,H){k.setRequestHeader(H,U)}),R.isUndefined(l.withCredentials)||(k.withCredentials=!!l.withCredentials),f&&f!=="json"&&(k.responseType=l.responseType),g&&([b,j]=Yo(g,!0),k.addEventListener("progress",b)),m&&k.upload&&([x,_]=Yo(m),k.upload.addEventListener("progress",x),k.upload.addEventListener("loadend",_)),(l.cancelToken||l.signal)&&(v=L=>{k&&(o(!L||L.type?new pi(null,t,k):L),k.abort(),P(),k=null)},l.cancelToken&&l.cancelToken.subscribe(v),l.signal&&(l.signal.aborted?v():l.signal.addEventListener("abort",v)));const I=U1(l.url);if(I&&!ct.protocols.includes(I)){o(new K("Unsupported protocol "+I+":",K.ERR_BAD_REQUEST,t)),P();return}k.send(u||null)})},t_=(t,r)=>{if(t=t?t.filter(Boolean):[],!r&&!t.length)return;const s=new AbortController;let o=!1;const l=function(m){if(!o){o=!0,c();const g=m instanceof Error?m:this.reason;s.abort(g instanceof K?g:new pi(g instanceof Error?g.message:g))}};let u=r&&setTimeout(()=>{u=null,l(new K(`timeout of ${r}ms exceeded`,K.ETIMEDOUT))},r);const c=()=>{t&&(u&&clearTimeout(u),u=null,t.forEach(m=>{m.unsubscribe?m.unsubscribe(l):m.removeEventListener("abort",l)}),t=null)};t.forEach(m=>m.addEventListener("abort",l,{once:!0}));const{signal:f}=s;return f.unsubscribe=()=>R.asap(c),f},n_=function*(t,r){let s=t.byteLength;if(s<r){yield t;return}let o=0,l;for(;o<s;)l=o+r,yield t.slice(o,l),o=l},r_=async function*(t,r){for await(const s of s_(t))yield*n_(s,r)},s_=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const r=t.getReader();try{for(;;){const{done:s,value:o}=await r.read();if(s)break;yield o}}finally{await r.cancel()}},Sp=(t,r,s,o)=>{const l=r_(t,r);let u=0,c,f=m=>{c||(c=!0,o&&o(m))};return new ReadableStream({async pull(m){try{const{done:g,value:v}=await l.next();if(g){f(),m.close();return}let x=v.byteLength;if(s){let b=u+=x;s(b)}m.enqueue(new Uint8Array(v))}catch(g){throw f(g),g}},cancel(m){return f(m),l.return()}},{highWaterMark:2})},Jo=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,i_=(t,r,s)=>r+2<s&&Jo(t.charCodeAt(r+1))&&Jo(t.charCodeAt(r+2));function o_(t){if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;const r=t.indexOf(",");if(r<0)return 0;const s=t.slice(5,r),o=t.slice(r+1);if(/;base64/i.test(s)){let c=o.length;const f=o.length;for(let _=0;_<f;
vendor: 5,392 bytes, line 130
130_++)if(o.charCodeAt(_)===37&&_+2<f){const j=o.charCodeAt(_+1),P=o.charCodeAt(_+2);Jo(j)&&Jo(P)&&(c-=2,_+=2)}let m=0,g=f-1;const v=_=>_>=2&&o.charCodeAt(_-2)===37&&o.charCodeAt(_-1)===51&&(o.charCodeAt(_)===68||o.charCodeAt(_)===100);g>=0&&(o.charCodeAt(g)===61?(m++,g--):v(g)&&(m++,g-=3)),m===1&&g>=0&&(o.charCodeAt(g)===61||v(g))&&m++;const b=Math.floor(c/4)*3-(m||0);return b>0?b:0}let u=0;for(let c=0,f=o.length;c<f;c++){const m=o.charCodeAt(c);if(m===37&&i_(o,c,f))u+=1,c+=2;else if(m<128)u+=1;else if(m<2048)u+=2;else if(m>=55296&&m<=56319&&c+1<f){const g=o.charCodeAt(c+1);g>=56320&&g<=57343?(u+=4,c++):u+=3}else u+=3}return u}const mc="1.18.1",Ep=64*1024,{isFunction:Po}=R,a_=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(r,s)=>String.fromCharCode(parseInt(s,16))),Cp=t=>{if(!R.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},kp=(t,...r)=>{try{return!!t(...r)}catch{return!1}},l_=t=>{const r=t.indexOf("://");let s=t;return r!==-1&&(s=s.slice(r+3)),s.includes("@")||s.includes(":")},u_=t=>{const r=R.global!==void 0&&R.global!==null?R.global:globalThis,{ReadableStream:s,TextEncoder:o}=r;t=R.merge.call({skipUndefined:!0},{Request:r.Request,Response:r.Response},t);const{fetch:l,Request:u,Response:c}=t,f=l?Po(l):typeof fetch=="function",m=Po(u),g=Po(c);if(!f)return!1;const v=f&&Po(s),x=f&&(typeof o=="function"?(E=>I=>E.encode(I))(new o):async E=>new Uint8Array(await new u(E).arrayBuffer())),b=m&&v&&kp(()=>{let E=!1;const I=new u(ct.origin,{body:new s,method:"POST",get duplex(){return E=!0,"half"}}),L=I.headers.has("Content-Type");return I.body!=null&&I.body.cancel(),E&&!L}),_=g&&v&&kp(()=>R.isReadableStream(new c("").body)),j={stream:_&&(E=>E.body)};f&&["text","arrayBuffer","blob","formData","stream"].forEach(E=>{!j[E]&&(j[E]=(I,L)=>{let U=I&&I[E];if(U)return U.call(I);throw new K(`Response type '${E}' is not supported`,K.ERR_NOT_SUPPORT,L)})});const P=async E=>{if(E==null)return 0;if(R.isBlob(E))return E.size;if(R.isSpecCompliantForm(E))return(await new u(ct.origin,{method:"POST",body:E}).arrayBuffer()).byteLength;if(R.isArrayBufferView(E)||R.isArrayBuffer(E))return E.byteLength;if(R.isURLSearchParams(E)&&(E=E+""),R.isString(E))return(await x(E)).byteLength},k=async(E,I)=>{const L=R.toFiniteNumber(E.getContentLength());return L??P(I)};return async E=>{let{url:I,method:L,data:U,signal:H,cancelToken:J,timeout:de,onDownloadProgress:V,onUploadProgress:be,responseType:Pe,headers:ve,withCredentials:Re="same-origin",fetchOptions:Me,maxContentLength:Ne,maxBodyLength:Be}=cy(E);const Oe=R.isNumber(Ne)&&Ne>-1,Ce=R.isNumber(Be)&&Be>-1,W=Q=>R.hasOwnProp(E,Q)?E[Q]:void 0;let ie=l||fetch;Pe=Pe?(Pe+"").toLowerCase():"text";let M=t_([H,J&&J.toAbortSignal()],de),T=null;const F=M&&M.unsubscribe&&(()=>{M.unsubscribe()});let ce,fe=null;const le=()=>new K("Request body larger than maxBodyLength limit",K.ERR_BAD_REQUEST,E,T);try{let Q;const me=W("auth");if(me){const ye=R.getSafeProp(me,"username")||"",it=R.getSafeProp(me,"password")||"";Q={username:ye,password:it}}if(l_(I)){const ye=new URL(I,ct.origin);if(!Q&&(ye.username||ye.password)){const it=Cp(ye.username),Ht=Cp(ye.password);Q={username:it,password:Ht}}(ye.username||ye.password)&&(ye.username="",ye.password="",I=ye.href)}if(Q&&(ve.delete("authorization"),ve.set("Authorization","Basic "+btoa(a_((Q.username||"")+":"+(Q.password||""))))),Oe&&typeof I=="string"&&I.startsWith("data:")&&o_(I)>Ne)throw new K("maxContentLength size of "+Ne+" exceeded",K.ERR_BAD_RESPONSE,E,T);if(Ce&&L!=="get"&&L!=="head"){const ye=await P(U);if(typeof ye=="number"&&isFinite(ye)&&(ce=ye,ye>Be))throw le()}const _e=Ce&&(R.isReadableStream(U)||R.isStream(U)),pe=(ye,it,Ht)=>Sp(ye,Ep,qt=>{if(Ce&&qt>Be)throw fe=le();it&&it(qt)},Ht);if(b&&L!=="get"&&L!=="head"&&(be||_e)){if(ce=ce??await k(ve,U),ce!==0||_e){let ye=new u(I,{method:"POST",body:U,duplex:"half"}),it;if(R.isFormData(U)&&(it=ye.headers.get("content-type"))&&ve.setContentType(it),ye.body){const[Ht,qt]=be&&xp(ce,Yo(wp(be)))||[];U=pe(ye.body,Ht,qt)}}}else if(_e&&!m&&v&&L!=="get"&&L!=="head")U=pe(U);else if(_e&&m&&!b&&L!=="get"&&L!=="head")throw new K("Stream request bodies are not supported by the current fetch implementation",K.ERR_NOT_SUPPORT,E,T);R.isString(Re)||(Re=Re?"include":"omit");const et=m&&"credentials"in u.prototype;if(R.isFormData(U)){const ye=ve.getContentType();ye&&/^multipart\/form-data/i.test(ye)&&!/boundary=/i.test(ye)&&ve.delete("content-type")}ve.set("User-Agent","axios/"+mc,!1);const jt={...Me,signal:M,method:L.toUpperCase(),headers:Zm(ve.normalize()),body:U,duplex:"half",credentials:et?Re:void 0};T=m&&new u(I,jt);let st=await(m?ie(T,Me):ie(I,jt));const Vt=yt.from(st.headers);if(Oe){const ye=R.toFiniteNumber(Vt.getContentLength());if(ye!=null&&ye>Ne)throw new K("maxContentLength size of "+Ne+" exceeded",K.ERR_BAD_RESPONSE,E,T)}const At=_&&(Pe==="stream"||Pe==="response");if(_&&st.body&&(V||Oe||At&&F)){const ye={};["status","statusText","headers"].forEach(cn=>{ye[cn]=st[cn]});const it=R.toFiniteNumber(Vt.getContentLength()),[Ht,qt]=V&&xp(it,Yo(wp(V),!0))||[];let _n=0;const Sn=cn=>{if(Oe&&(_n=cn,_n>Ne))throw new K("maxContentLength size of "+Ne+" exceeded",K.ERR_BAD_RESPONSE,E,T);Ht&&Ht(cn)};st=new c(Sp(st.body,Ep,Sn,()=>{qt&&qt(),F&&F()}),ye)}Pe=Pe||"text";let Nt=await j[R.findKey(j,Pe)||"text"](st,E);if(Oe&&!_&&!At){let ye;if(Nt!=null&&(typeof Nt.byteLength=="number"?ye=Nt.byteLength:typeof Nt.
vendor: 4,189 bytes, lines 130-132
130size=="number"?ye=Nt.size:typeof Nt=="string"&&(ye=typeof o=="function"?new o().encode(Nt).byteLength:Nt.length)),typeof ye=="number"&&ye>Ne)throw new K("maxContentLength size of "+Ne+" exceeded",K.ERR_BAD_RESPONSE,E,T)}return!At&&F&&F(),await new Promise((ye,it)=>{ly(ye,it,{data:Nt,headers:yt.from(st.headers),status:st.status,statusText:st.statusText,config:E,request:T})})}catch(Q){if(F&&F(),M&&M.aborted&&M.reason instanceof K){const me=M.reason;throw me.config=E,T&&(me.request=T),Q!==me&&Object.defineProperty(me,"cause",{__proto__:null,value:Q,writable:!0,enumerable:!1,configurable:!0}),me}if(fe)throw T&&!fe.request&&(fe.request=T),fe;if(Q instanceof K)throw T&&!Q.request&&(Q.request=T),Q;if(Q&&Q.name==="TypeError"&&/Load failed|fetch/i.test(Q.message)){const me=new K("Network Error",K.ERR_NETWORK,E,T,Q&&Q.response);throw Object.defineProperty(me,"cause",{__proto__:null,value:Q.cause||Q,writable:!0,enumerable:!1,configurable:!0}),me}throw K.from(Q,Q&&Q.code,E,T,Q&&Q.response)}}},c_=new Map,dy=t=>{let r=t&&t.env||{};const{fetch:s,Request:o,Response:l}=r,u=[o,l,s];let c=u.length,f=c,m,g,v=c_;for(;f--;)m=u[f],g=v.get(m),g===void 0&&v.set(m,g=f?new Map:u_(r)),v=g;return g};dy();const yc={http:S1,xhr:e_,fetch:{get:dy}};R.forEach(yc,(t,r)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:r})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:r})}});const Op=t=>`- ${t}`,d_=t=>R.isFunction(t)||t===null||t===!1;function f_(t,r){t=R.isArray(t)?t:[t];const{length:s}=t;let o,l;const u={};for(let c=0;c<s;c++){o=t[c];let f;if(l=o,!d_(o)&&(l=yc[(f=String(o)).toLowerCase()],l===void 0))throw new K(`Unknown adapter '${f}'`);if(l&&(R.isFunction(l)||(l=l.get(r))))break;u[f||"#"+c]=l}if(!l){const c=Object.entries(u).map(([m,g])=>`adapter ${m} `+(g===!1?"is not supported by the environment":"is not available in the build"));let f=s?c.length>1?`since :
131`+c.map(Op).join(`
132`):" "+Op(c[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+f,K.ERR_NOT_SUPPORT)}return l}const fy={getAdapter:f_,adapters:yc};function xu(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new pi(null,t)}function Tp(t){return xu(t),t.headers=yt.from(t.headers),t.data=vu.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),fy.getAdapter(t.adapter||hi.adapter,t)(t).then(function(o){xu(t),t.response=o;try{o.data=vu.call(t,t.transformResponse,o)}finally{delete t.response}return o.headers=yt.from(o.headers),o},function(o){if(!ay(o)&&(xu(t),o&&o.response)){t.response=o.response;try{o.response.data=vu.call(t,t.transformResponse,o.response)}finally{delete t.response}o.response.headers=yt.from(o.response.headers)}return Promise.reject(o)})}const na={};["object","boolean","number","function","string","symbol"].forEach((t,r)=>{na[t]=function(o){return typeof o===t||"a"+(r<1?"n ":" ")+t}});const Rp={};na.transitional=function(r,s,o){function l(u,c){return"[Axios v"+mc+"] Transitional option '"+u+"'"+c+(o?". "+o:"")}return(u,c,f)=>{if(r===!1)throw new K(l(c," has been removed"+(s?" in "+s:"")),K.ERR_DEPRECATED);return s&&!Rp[c]&&(Rp[c]=!0,console.warn(l(c," has been deprecated since v"+s+" and will be removed in the near future"))),r?r(u,c,f):!0}};na.spelling=function(r){return(s,o)=>(console.warn(`${o} is likely a misspelling of ${r}`),!0)};function h_(t,r,s){if(typeof t!="object"||t===null)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const o=Object.keys(t);let l=o.length;for(;l-- >0;){const u=o[l],c=Object.prototype.hasOwnProperty.call(r,u)?r[u]:void 0;if(c){const f=t[u],m=f===void 0||c(f,u,t);if(m!==!0)throw new K("option "+u+" must be "+m,K.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new K("Unknown option "+u,K.ERR_BAD_OPTION)}}const Uo={assertOptions:h_,validators:na},mt=Uo.validators;let yr=class{constructor(r){this.defaults=r||{},this.interceptors={request:new gp,response:new gp}}async request(r,s){try{return await this._request(r,s)}catch(o){if(o instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const u=(()=>
vendor: 3,918 bytes, lines 132-136
132{if(!l.stack)return"";const c=l.stack.indexOf(`
133`);return c===-1?"":l.stack.slice(c+1)})();try{if(!o.stack)o.stack=u;else if(u){const c=u.indexOf(`
134`),f=c===-1?-1:u.indexOf(`
135`,c+1),m=f===-1?"":u.slice(f+1);String(o.stack).endsWith(m)||(o.stack+=`
136`+u)}}catch{}}throw o}}_request(r,s){typeof r=="string"?(s=s||{},s.url=r):s=r||{},s=xr(this.defaults,s);const{transitional:o,paramsSerializer:l,headers:u}=s;o!==void 0&&Uo.assertOptions(o,{silentJSONParsing:mt.transitional(mt.boolean),forcedJSONParsing:mt.transitional(mt.boolean),clarifyTimeoutError:mt.transitional(mt.boolean),legacyInterceptorReqResOrdering:mt.transitional(mt.boolean),advertiseZstdAcceptEncoding:mt.transitional(mt.boolean),validateStatusUndefinedResolves:mt.transitional(mt.boolean)},!1),l!=null&&(R.isFunction(l)?s.paramsSerializer={serialize:l}:Uo.assertOptions(l,{encode:mt.function,serialize:mt.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Uo.assertOptions(s,{baseUrl:mt.spelling("baseURL"),withXsrfToken:mt.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let c=u&&R.merge(u.common,u[s.method]);u&&R.forEach(["delete","get","head","post","put","patch","query","common"],j=>{delete u[j]}),s.headers=yt.concat(c,u);const f=[];let m=!0;this.interceptors.request.forEach(function(P){if(typeof P.runWhen=="function"&&P.runWhen(s)===!1)return;m=m&&P.synchronous;const k=s.transitional||hc;k&&k.legacyInterceptorReqResOrdering?f.unshift(P.fulfilled,P.rejected):f.push(P.fulfilled,P.rejected)});const g=[];this.interceptors.response.forEach(function(P){g.push(P.fulfilled,P.rejected)});let v,x=0,b;if(!m){const j=[Tp.bind(this),void 0];for(j.unshift(...f),j.push(...g),b=j.length,v=Promise.resolve(s);x<b;)v=v.then(j[x++],j[x++]);return v}b=f.length;let _=s;for(;x<b;){const j=f[x++],P=f[x++];try{_=j(_)}catch(k){P.call(this,k);break}}try{v=Tp.call(this,_)}catch(j){return Promise.reject(j)}for(x=0,b=g.length;x<b;)v=v.then(g[x++],g[x++]);return v}getUri(r){r=xr(this.defaults,r);const s=uy(r.baseURL,r.url,r.allowAbsoluteUrls,r);return sy(s,r.params,r.paramsSerializer)}};R.forEach(["delete","get","head","options"],function(r){yr.prototype[r]=function(s,o){return this.request(xr(o||{},{method:r,url:s,data:o&&R.hasOwnProp(o,"data")?o.data:void 0}))}});R.forEach(["post","put","patch","query"],function(r){function s(o){return function(u,c,f){return this.request(xr(f||{},{method:r,headers:o?{"Content-Type":"multipart/form-data"}:{},url:u,data:c}))}}yr.prototype[r]=s(),r!=="query"&&(yr.prototype[r+"Form"]=s(!0))});let p_=class hy{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(u){s=u});const o=this;this.promise.then(l=>{if(!o._listeners)return;let u=o._listeners.length;for(;u-- >0;)o._listeners[u](l);o._listeners=null}),this.promise.then=l=>{let u;const c=new Promise(f=>{o.subscribe(f),u=f}).then(l);return c.cancel=function(){o.unsubscribe(u)},c},r(function(u,c,f){o.reason||(o.reason=new pi(u,c,f),s(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const s=this._listeners.indexOf(r);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const r=new AbortController,s=o=>{r.abort(o)};return this.subscribe(s),r.signal.unsubscribe=()=>this.unsubscribe(s),r.signal}static source(){let r;return{token:new hy(function(l){r=l}),cancel:r}}};function m_(t){return function(s){return t.apply(null,s)}}function y_(t){return R.isObject(t)&&t.isAxiosError===!0}const Hu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
136alContent: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(Hu).forEach(([t,r])=>{Hu[r]=t});function py(t){const r=new yr(t),s=Hm(yr.prototype.request,r);return R.extend(s,yr.prototype,r,{allOwnKeys:!0}),R.extend(s,r,null,{allOwnKeys:!0}),s.create=function(l){return py(xr(t,l))},s}const Qe=py(hi);Qe.Axios=yr;Qe.CanceledError=pi;Qe.CancelToken=p_;Qe.isCancel=ay;Qe.VERSION=mc;Qe.toFormData=ta;Qe.AxiosError=K;Qe.Cancel=Qe.CanceledError;Qe.all=function(r){return Promise.all(r)};Qe.spread=m_;Qe.isAxiosError=y_;Qe.mergeConfig=xr;Qe.AxiosHeaders=yt;Qe.formToJSON=t=>oy(R.isHTMLForm(t)?new FormData(t):t);Qe.getAdapter=fy.getAdapter;Qe.HttpStatusCode=Hu;Qe.default=Qe;const{Axios:jC,AxiosError:AC,CanceledError:NC,isCancel:LC,CancelToken:DC,VERSION:IC,all:MC,Cancel:FC,isAxiosError:UC,spread:zC,toFormData:BC,AxiosHeaders:$C,HttpStatusCode:VC,formToJSON:HC,getAdapter:qC,mergeConfig:WC,create:QC}=Qe,my=typeof window>"u",Pp=!my&&window.self!==window.top,g_=!my&&typeof document>"u",wu=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),lt=[];for(let t=0;t<256;++t)lt.push((t+256).toString(16).slice(1));function v_(t,r=0){return(lt[t[r+0]]+lt[t[r+1]]+lt[t[r+2]]+lt[t[r+3]]+"-"+lt[t[r+4]]+lt[t[r+5]]+"-"+lt[t[r+6]]+lt[t[r+7]]+"-"+lt[t[r+8]]+lt[t[r+9]]+"-"+lt[t[r+10]]+lt[t[r+11]]+lt[t[r+12]]+lt[t[r+13]]+lt[t[r+14]]+lt[t[r+15]]).toLowerCase()}let bu;const x_=new Uint8Array(16);function w_(){if(!bu){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");bu=crypto.getRandomValues.bind(crypto)}return bu(x_)}const b_=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),jp={randomUUID:b_};function __(t,r,s){t=t||{};const o=t.random??t.rng?.()??w_();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=o[6]&15|64,o[8]=o[8]&63|128,v_(o)}function S_(t,r,s){return jp.randomUUID&&!t?jp.randomUUID():__(t)}const Ys=typeof window<"u"?window:{base44SharedInstances:{}};function E_(t,r){return Ys.base44SharedInstances||(Ys.base44SharedInstances={}),Ys.base44SharedInstances[t]||(Ys.base44SharedInstances[t]={instance:r()}),Ys.base44SharedInstances[t].instance}const C_="__user_heartbeat_event__",k_="__initialization_event__",O_="__session_duration_event__",Ap="analytics-enable",Np="base44_analytics_session_id",T_={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},R_="analytics",Ae=E_(R_,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...T_,...M_()}})),P_=({axiosClient:t,serverUrl:r,appId:s,userAuthModule:o})=>{var l;const{maxQueueSize:u,throttleTime:c,batchSize:f}=Ae.config;if(!(!((l=Ae.config)===null||l===void 0)&&l.enabled)||g_)return{track:()=>{},cleanup:()=>{}};let m;const g=`${r}/api/apps/${s}/analytics/track/batch`,v=async L=>{await t.request({method:"POST",url:`/apps/${s}/analytics/track/batch`,data:{events:L}})},x=L=>
136{try{const U=JSON.stringify({events:L}),H=new Blob([U],{type:"application/json"});return typeof navigator>"u"||U.length>6e4||!navigator.sendBeacon(g,H)}catch{return!1}},b=async(L,U={})=>{if(L.length===0)return;const H=await I_(o),J=L.map(D_(H));try{(!U.isBeacon||!x(J))&&await v(J)}catch{}},_=()=>{Dp(b,{throttleTime:c,batchSize:f})},j=L=>{if(Ae.requestsQueue.length>=u)return;const U=L_();Ae.requestsQueue.push({...L,...U}),_()},P=()=>{Dp(b,{throttleTime:c,batchSize:f}),m=Ip(j),A_()},k=()=>{Lp(),m?.(),N_(j);const L=Ae.requestsQueue.splice(0);b(L,{isBeacon:!0})},E=()=>{typeof window>"u"||(document.visibilityState==="hidden"?k():document.visibilityState==="visible"&&P())},I=()=>{Lp(),m?.(),typeof window<"u"&&window.removeEventListener("visibilitychange",E)};return _(),m=Ip(j),j_(j),typeof window<"u"&&window.addEventListener("visibilitychange",E),{track:j,cleanup:I}};function Lp(){Ae.isProcessing=!1}async function Dp(t,r){if(Ae.isProcessing)return;Ae.isProcessing=!0;const{throttleTime:s=1e3,batchSize:o=30}=r??{};for(;Ae.isProcessing&&Ae.requestsQueue.length>0;){const l=Ae.requestsQueue.splice(0,o);l.length&&await t(l),await new Promise(u=>setTimeout(u,s))}Ae.isProcessing=!1}function Ip(t){var r;if(Ae.isHeartBeatProcessing||((r=Ae.config.heartBeatInterval)!==null&&r!==void 0?r:0)<10)return()=>{};Ae.isHeartBeatProcessing=!0;const s=setInterval(()=>{t({eventName:C_})},Ae.config.heartBeatInterval);return()=>{clearInterval(s),Ae.isHeartBeatProcessing=!1}}function j_(t){typeof window>"u"||Ae.wasInitializationTracked||(Ae.wasInitializationTracked=!0,t({eventName:k_,properties:{referrer:document?.referrer}}))}function A_(){typeof window>"u"||Ae.sessionStartTime!==null||(Ae.sessionStartTime=new Date().toISOString())}function N_(t){if(typeof window>"u"||Ae.sessionStartTime===null)return;const r=new Date().getTime()-new Date(Ae.sessionStartTime).getTime();Ae.sessionStartTime=null,t({eventName:O_,properties:{sessionDuration:r}})}function L_(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function D_(t){return r=>({event_name:r.eventName,properties:r.properties,timestamp:r.timestamp,page_url:r.pageUrl,...t})}let _u=null;async function I_(t){if(!Ae.sessionContext){if(!_u){const r=gc();_u=t.me().then(s=>({user_id:s.id,session_id:r})).catch(()=>({user_id:null,session_id:r}))}Ae.sessionContext=await _u}return Ae.sessionContext}function M_(){if(typeof window>"u"||!window.location)return;const r=new URLSearchParams(window.location.search).get(Ap);if(r==null||!r.length)return;const s=new URLSearchParams(window.location.search);s.delete(Ap);const o=window.location.pathname+(s.toString()?"?"+s.toString():"");return window.history.replaceState({},"",o),{enabled:r==="true"}}function gc(){if(typeof window>"u")return wu();try{const t=localStorage.getItem(Np);if(!t){const r=wu();return localStorage.setItem(Np,r),r}return t}catch{return wu()}}class yy extends Error{constructor(r,s,o,l,u){super(r),this.name="Base44Error",this.status=s,this.code=o,this.data=l,this.originalError=u}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Zs({baseURL:t,headers:r={},token:s,interceptResponses:o=!0,onError:l}){const u=Qe.create({baseURL:t,headers:{"Content-Type":"application/json",Accept:"application/json",...r}});return s&&(u.defaults.headers.common.Authorization=`Bearer ${s}`),u.interceptors.request.use(c=>{typeof window<"u"&&window.location&&(c.headers.set("X-Origin-URL",window.location.href),c.headers.get("Authorization")||c.headers.set("X-Base44-Anonymous-Id",gc()));const f=S_();if(c.requestId=f,Pp)try{window.parent.postMessage({type:"api-request-start",requestId:f,data:{url:t+c.url,method:c.method,body:c.data instanceof FormData?"[FormData object]":c.data}},"*")}catch{}return c}),o&&u.interceptors.response.use(c=>{var f;const m=(f=c.config)===null||f===void 0?void 0:f.requestId;try{Pp&&m&&window.parent.postMessage({type:"api-request-end",requestId:m,data:{statusCode:c.status,response:c.data}},"*")}catch{}return c.data},c=>{var f,m,g,v,x,b,_,j;const P=((m=(f=c.response)===null||f===void 0?void 0:f.data)===null||m===void 0?void 0:m.message)||((v=(g=c.response)===null||g===void 0?void 0:g.data)===null||v===void 0?void 0:v.detail)||c.message,k=new yy(P,(x=c.response)===null||x===void 0?void 0:x.status,(_=(b=c.response)===null||b===void 0?void 0:b.data)===null||_===void 0?void 0:_.code,(j=c.response)===null||j===void 0?void 0:j.data,c);return l?.(k),Promise.reject(k)}),u}const F_=Object.freeze(Object.defineProperty({__proto__:null,Base44Error:yy,createAxiosCl
136ient:Zs},Symbol.toStringTag,{value:"Module"}));function Mp(t){const{axios:r,appId:s,getSocket:o}=t;return new Proxy({},{get(l,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return z_(r,s,u,o)}})}function U_(t){var r;try{const s=JSON.parse(t);return{type:s.type,data:s.data,id:s.id||((r=s.data)===null||r===void 0?void 0:r.id),timestamp:s.timestamp||new Date().toISOString()}}catch(s){return console.warn("[Base44 SDK] Failed to parse realtime message:",s),null}}function z_(t,r,s,o){const l=`/apps/${r}/entities/${s}`;return{async list(u,c,f,m){const g={};return u&&(g.sort=u),c&&(g.limit=c),f&&(g.skip=f),m&&(g.fields=Array.isArray(m)?m.join(","):m),t.get(l,{params:g})},async filter(u,c,f,m,g){const v={q:JSON.stringify(u)};return c&&(v.sort=c),f&&(v.limit=f),m&&(v.skip=m),g&&(v.fields=Array.isArray(g)?g.join(","):g),t.get(l,{params:v})},async get(u){return t.get(`${l}/${u}`)},async create(u){return t.post(l,u)},async update(u,c){return t.put(`${l}/${u}`,c)},async delete(u){return t.delete(`${l}/${u}`)},async deleteMany(u){return t.delete(l,{data:u})},async bulkCreate(u){return t.post(`${l}/bulk`,u)},async updateMany(u,c){return t.patch(`${l}/update-many`,{query:u,data:c})},async bulkUpdate(u){return t.put(`${l}/bulk`,u)},async importEntities(u){const c=new FormData;return c.append("file",u,u.name),t.post(`${l}/import`,c,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(u){const c=`entities:${r}:${s}`;return o().subscribeToRoom(c,{update_model:g=>{var v;const x=U_(g.data);if(x){x.type!=="delete"&&(!((v=x.data)===null||v===void 0)&&v._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${s}#${x.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${s}.get("${x.id}")\` to fetch the full record.`);try{u(x)}catch(b){console.error("[Base44 SDK] Subscription callback error:",b)}}}})}}}function B_(t,r){return{async call(s,o,l){if(!s?.trim())throw new Error("Integration slug is required and cannot be empty");if(!o?.trim())throw new Error("Operation ID is required and cannot be empty");const{pathParams:u,queryParams:c,...f}=l??{},m={...f,...u&&{path_params:u},...c&&{query_params:c}};return await t.post(`/apps/${r}/integrations/custom/${s}/${o}`,m)}}}function Fp(t,r){const s=B_(t,r);return new Proxy({},{get(o,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return l==="custom"?s:new Proxy({},{get(u,c){if(!(typeof c!="string"||c==="then"||c.startsWith("_")))return async f=>{if(typeof f=="string")throw new Error(`Integration ${c} must receive an object with named parameters, received: ${f}`);let m,g;return f instanceof FormData||f&&Object.values(f).some(v=>v instanceof File)?(m=new FormData,Object.keys(f).forEach(v=>{f[v]instanceof File?m.append(v,f[v],f[v].name):typeof f[v]=="object"&&f[v]!==null?m.append(v,JSON.stringify(f[v])):m.append(v,f[v])}),g="multipart/form-data"):(m=f,g="application/json"),l==="Core"?t.post(`/apps/${r}/integration-endpoints/Core/${c}`,m||f,{headers:{"Content-Type":g}}):t.post(`/apps/${r}/integration-endpoints/installable/${l}/integration-endpoints/${c}`,m||f,{headers:{"Content-Type":g}})}}})}})}function $_(){return typeof window>"u"?!1:window!==window.parent}function V_(t,r,s){const u=Math.round(window.screenX+(window.outerWidth-500)/2),c=Math.round(window.screenY+(window.outerHeight-600)/2),f=window.open(t,"base44_auth",`width=500,height=600,left=${u},top=${c},resizable=yes,scrollbars=yes`);if(!f)return;const m=()=>{window.removeEventListener("message",g),clearInterval(v),f.closed||f.close()},g=x=>{var b;if(x.origin!==s||x.source!==f||!(!((b=x.data)===null||b===void 0)&&b.access_token))return;m();const _=new URL(r),{access_token:j,is_new_user:P}=x.data;_.searchParams.set("access_token",j),P!=null&&_.searchParams.set("is_new_user",String(P)),window.location.href=_.toString()},v=setInterval(()=>{f.closed&&m()},500);window.addEventListener("message",g)}function H_(t,r,s,o){return{async me(){return t.get(`/apps/${s}/entities/User/me`)},async updateMe(l){return t.put(`/apps/${s}/entities/User/me`,l)},redirectToLogin(l){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const u=l?new URL(l,window.location.origin).toString():window.location.href,c=`${o.appBaseUrl}/login?from_url=${encodeURIComponent(u)}`;window.location.href=c},loginWithProvider(l,u="/"){const c=new URL(u,window.location.origin).toString(),f=`app_id=${s}&from_url=${encodeURIComponent(c)}`;let m;l==="sso"?m=`/apps/${s}/auth/sso/login`:m=`/apps/auth${l==="google"?"":`/${l}`}/login`;const g=`${o.appBaseUrl}/api${m}?${f}`;if($_()){const v=`${g}&popup_origin=${encodeURIComponent(window.location.origin)}`;return V_(v,c,window.location.origin)}window.location.href=g}
136,logout(l){if(delete t.defaults.headers.common.Authorization,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(f){console.error("Failed to remove token from localStorage:",f)}const u=l||window.location.href,c=`${o.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(u)}`;window.location.href=c}},setToken(l,u=!0){if(l&&(t.defaults.headers.common.Authorization=`Bearer ${l}`,r.defaults.headers.common.Authorization=`Bearer ${l}`,u&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",l),window.localStorage.setItem("token",l)}catch(c){console.error("Failed to save token to localStorage:",c)}},async loginViaEmailPassword(l,u,c){var f;try{const m=await t.post(`/apps/${s}/auth/login`,{email:l,password:u,...c&&{turnstile_token:c}}),{access_token:g,user:v}=m;return g&&this.setToken(g),{access_token:g,user:v}}catch(m){throw((f=m.response)===null||f===void 0?void 0:f.status)===401&&await this.logout(),m}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(l,u){return t.post(`/apps/${s}/users/invite-user`,{user_email:l,role:u})},register(l){return t.post(`/apps/${s}/auth/register`,l)},verifyOtp({email:l,otpCode:u}){return t.post(`/apps/${s}/auth/verify-otp`,{email:l,otp_code:u})},resendOtp(l){return t.post(`/apps/${s}/auth/resend-otp`,{email:l})},resetPasswordRequest(l){return t.post(`/apps/${s}/auth/reset-password-request`,{email:l})},resetPassword({resetToken:l,newPassword:u}){return t.post(`/apps/${s}/auth/reset-password`,{reset_token:l,new_password:u})},changePassword({userId:l,currentPassword:u,newPassword:c}){return t.post(`/apps/${s}/auth/change-password`,{user_id:l,current_password:u,new_password:c})}}}function q_(t,r){return{async getAccessToken(s){const o=`/apps/${r}/auth/sso/accesstoken/${s}`;return t.get(o)},async getIdToken(s){const o=`/apps/${r}/auth/sso/idtoken/${s}`;return t.get(o)}}}function W_(t,r){return{async getAccessToken(s){if(!s||typeof s!="string")throw new Error("Integration type is required and must be a string");return(await t.get(`/apps/${r}/external-auth/tokens/${s}`)).access_token},async getConnection(s){var o;if(!s||typeof s!="string")throw new Error("Integration type is required and must be a string");const u=await t.get(`/apps/${r}/external-auth/tokens/${s}`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}},async getWorkspaceConnection(s){var o;if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");const u=await t.get(`/apps/${r}/external-auth/tokens/connectors/${s}`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}},async getCurrentAppUserAccessToken(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");return(await t.get(`/apps/${r}/app-user-auth/connectors/${s}/token`)).access_token},async getCurrentAppUserConnection(s){var o;if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");const u=await t.get(`/apps/${r}/app-user-auth/connectors/${s}/token`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}}}}function Q_(t,r){return{async connectAppUser(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");return(await t.post(`/apps/${r}/app-user-auth/connectors/${s}/initiate`)).redirect_url},async disconnectAppUser(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");await t.delete(`/apps/${r}/app-user-auth/connectors/${s}`)}}}function es(t={}){const{storageKey:r="base44_access_token",paramName:s="access_token",saveToStorage:o=!0,removeFromUrl:l=!0}=t;let u=null;if(typeof window<"u"&&window.location)try{const c=new URLSearchParams(window.location.search);if(u=c.get(s),u){if(o&&K_(u,{storageKey:r}),l){c.delete(s);const f=`${window.location.pathname}${c.toString()?`?${c.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,f)}return u}}catch(c){console.error("Error retrieving token from URL:",c)}if(typeof window<"u"&&window.localStorage)try{return u=window.localStorage.getItem(r),u}catch(c){console.error("Error retrieving token from local storage:",c)}return null}function K_(t,r){const{storageKey:s="base44_access_token"}=r;if(typeof window>"u"||!window.localStorage||!t)return!1;try{return window.localStorage.setItem(s,t),window.localStorage.setItem("token",t),!0}catch(o){return console.error("Error saving token to local storage:",o),!1}}function Up(t,r,s){const o=(u,c)=>u?`${String(u).replace(/\/$/,"")}${c}`:c,l=u=>{const c=new Headers;if(s?.getAuthHeaders){const f=s.getAuthHeaders();Object.entries(f).forEach(([m,g])=>{g!=null&&c.set(m,String(g))})}return u&&new Headers(u).forEach((f,m)=>{c.set(m,f)}),c};return{async invoke(u,c){if(typeof c=="string")throw new Error(`Function ${u} must receive an object with named parameters, received: ${c}`);let f,m;return c instanceof FormData||c&&Object.values(c).some(g=>
136g instanceof File)?(f=new FormData,Object.keys(c).forEach(g=>{c[g]instanceof File?f.append(g,c[g],c[g].name):typeof c[g]=="object"&&c[g]!==null?f.append(g,JSON.stringify(c[g])):f.append(g,c[g])}),m="multipart/form-data"):(f=c,m="application/json"),t.post(`/apps/${r}/functions/${u}`,f||c,{headers:{"Content-Type":m}})},async fetch(u,c={}){const m=`/functions${u.startsWith("/")?u:`/${u}`}`,g=l(c.headers),v={...c,headers:g};return await fetch(o(s?.baseURL,m),v)}}}function zp({axios:t,getSocket:r,appId:s,serverUrl:o,token:l}){const u=`/apps/${s}/agents`,c={},f=()=>t.get(`${u}/conversations`),m=P=>t.get(`${u}/conversations/${P}`);return{getConversations:f,getConversation:m,listConversations:P=>t.get(`${u}/conversations`,{params:P}),createConversation:P=>t.post(`${u}/conversations`,P),addMessage:async(P,k)=>t.post(`${u}/conversations/v2/${P.id}/messages`,k),subscribeToConversation:(P,k)=>{const E=`/agent-conversations/${P}`,I=r(),L=m(P).then(U=>(c[P]=U,U));return I.subscribeToRoom(E,{connect:()=>{},update_model:async({data:U})=>{const H=JSON.parse(U);if(H._message){await L;const J=H._message,de=c[P];if(de){const V=de.messages||[],be=V.findIndex(ve=>ve.id===J.id),Pe=be!==-1?V.map((ve,Re)=>Re===be?J:ve):[...V,J];c[P]={...de,messages:Pe},k?.(c[P])}}}})},getWhatsAppConnectURL:P=>{const k=`${o}/api/apps/${s}/agents/${encodeURIComponent(P)}/whatsapp`,E=l??es();return E?`${k}?token=${E}`:k},getTelegramConnectURL:P=>{const k=`${o}/api/apps/${s}/agents/${encodeURIComponent(P)}/telegram`,E=l??es();return E?`${k}?token=${E}`:k}}}function Bp({serverUrl:t,token:r,appId:s}){return{connection:()=>{var l;return{baseURL:`${t}/api/apps/${s}/ai/openai/v1`,token:(l=r??es())!==null&&l!==void 0?l:""}}}}function $p(t,r){const s=`/app-logs/${r}`;return{async logUserInApp(o){await t.post(`${s}/log-user-in-app/${o}`)},async fetchLogs(o={}){return await t.get(s,{params:o})},async getStats(o={}){return await t.get(`${s}/stats`,{params:o})}}}function G_(t,r){return{async inviteUser(s,o){if(o!=="user"&&o!=="admin")throw new Error(`Invalid role: "${o}". Role must be either "user" or "admin".`);return await t.post(`/apps/${r}/runtime/users/invite-user`,{user_email:s,role:o})}}}const ln=Object.create(null);ln.open="0";ln.close="1";ln.ping="2";ln.pong="3";ln.message="4";ln.upgrade="5";ln.noop="6";const zo=Object.create(null);Object.keys(ln).forEach(t=>{zo[ln[t]]=t});const qu={type:"error",data:"parser error"},gy=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",vy=typeof ArrayBuffer=="function",xy=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,vc=({type:t,data:r},s,o)=>gy&&r instanceof Blob?s?o(r):Vp(r,o):vy&&(r instanceof ArrayBuffer||xy(r))?s?o(r):Vp(new Blob([r]),o):o(ln[t]+(r||"")),Vp=(t,r)=>{const s=new FileReader;return s.onload=function(){const o=s.result.split(",")[1];r("b"+(o||""))},s.readAsDataURL(t)};function Hp(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let Su;function Y_(t,r){if(gy&&t.data instanceof Blob)return t.data.arrayBuffer().then(Hp).then(r);if(vy&&(t.data instanceof ArrayBuffer||xy(t.data)))return r(Hp(t.data));vc(t,!1,s=>{Su||(Su=new TextEncoder),r(Su.encode(s))})}const qp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ei=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<qp.length;t++)ei[qp.charCodeAt(t)]=t;const J_=t=>{let r=t.length*.75,s=t.length,o,l=0,u,c,f,m;t[t.length-1]==="="&&(r--,t[t.length-2]==="="&&r--);const g=new ArrayBuffer(r),v=new Uint8Array(g);for(o=0;o<s;o+=4)u=ei[t.charCodeAt(o)],c=ei[t.charCodeAt(o+1)],f=ei[t.charCodeAt(o+2)],m=ei[t.charCodeAt(o+3)],v[l++]=u<<2|c>>4,v[l++]=(c&15)<<4|f>>2,v[l++]=(f&3)<<6|m&63;return g},X_=typeof ArrayBuffer=="function",xc=(t,r)=>{if(typeof t!="string")return{type:"message",data:wy(t,r)};const s=t.charAt(0);return s==="b"?{type:"message",data:Z_(t.substring(1),r)}:zo[s]?t.length>1?{type:zo[s],data:t.substring(1)}:{type:zo[s]}:qu},Z_=(t,r)=>{if(X_){const s=J_(t);return wy(s,r)}else return{base64:!0,data:t}},wy=(t,r)=>{switch(r){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},by="�",eS=(t,r)=>{const s=t.length,o=new Array(s);let l=0;t.forEach((u,c)=>{vc(u,!1,f=>{o[c]=f,++l===s&&r(o.join(by))})})},tS=(t,r)=>{const s=t.split(by),o=[];for(let l=0;l<s.length;l++){const u=xc(s[l],r);if(o.push(u),u.type==="error")break}return o};function nS(){return new TransformStream({transform(t,r){Y_(t,s=>{const o=s.length;let l;if(o<126)l=new Uint8Array(1),new DataView(l.buffer).setUint8(0,o);else if(o<65536){l=new Uint8Array(3);const u=new DataView(l.buffer);u.setUint8(0,126),u.setUint16(1,o)}else{l=new Uint8Array(9);const u=new DataView(l.buffer);u.setUint8(0,127),u.setBigUint64(1,BigInt(o))}t.data&&typeof t.data!="string"&&(l[0]|=128),r.enqueue(l),r.enqueue(s)})}})}let Eu;function jo(t){return t.reduce((r,s)=>r+s.length,0)}function Ao(t,r){if(t[0].length===r)return t.shift();const s=new Uint8Array(r);let o=0;for(let l=0;l<r;l++)s[l]=t[0][o++],o===t[0].length&&(t.shift(),o=0);return t.length&&o<t[0].length&&(t[0]=t[0].slice(o)),s}function rS(t,r){Eu||(Eu=new TextDecoder);const s=[];let o=0,l=-1,u=!1;return new TransformStream({transform(c,f){for(s.push(c);;){if(o===0){if(jo(s)<1)break;const m=Ao(s,1);u=(m[0]&128)===128,l=m[0]&127,l<126?o=3:l===126?o=1:o=2}else if(o===1){if(jo(s)<2)break;const m=Ao(s,2);l=new DataView(m.buffer,m.byteOffset,m.length).getUint16(0),o=3}else if(o===2){if(jo(s)<8)break;const m=Ao(s,8),g=new DataView(m.buffer,m.byteOffset,m.length),v=g.getUint32(0);if(v>Math.pow(2,21)-1){f.enqueue(qu);break}l=v*Math.pow(2,32)+g.getUint32(4),o=3}else{if(jo(s)<l)break;const m=Ao(s,l);f.enqueue(xc(u?m:Eu.decode(m),r)),o=0}if(l===0||l>t){f.enqueue(qu);break}}}})}const _y=4;function Ge(t){if(t)return sS(t)}function sS(t){for(var r in Ge.prototype)t[r]=Ge.prototype[r];return t}Ge.prototype.on=Ge.prototype.addEventListener=function(t,r){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(r),this};Ge.prototype.once=function(t,r){function s(){this.off(t,s),r.apply(this,arguments)}return s.fn=r,this.on(t,s),this};Ge.prototype.off=Ge.prototype.removeListener=Ge.prototype.removeAllListeners=Ge.prototype.removeEventListener=function(t,r){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var s=this._callbacks["$"+t];
vendor: 25,189 bytes, line 136
136if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var o,l=0;l<s.length;l++)if(o=s[l],o===r||o.fn===r){s.splice(l,1);break}return s.length===0&&delete this._callbacks["$"+t],this};Ge.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var r=new Array(arguments.length-1),s=this._callbacks["$"+t],o=1;o<arguments.length;o++)r[o-1]=arguments[o];if(s){s=s.slice(0);for(var o=0,l=s.length;o<l;++o)s[o].apply(this,r)}return this};Ge.prototype.emitReserved=Ge.prototype.emit;Ge.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};Ge.prototype.hasListeners=function(t){return!!this.listeners(t).length};const ra=typeof Promise=="function"&&typeof Promise.resolve=="function"?r=>Promise.resolve().then(r):(r,s)=>s(r,0),$t=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),iS="arraybuffer";function Sy(t,...r){return r.reduce((s,o)=>(t.hasOwnProperty(o)&&(s[o]=t[o]),s),{})}const oS=$t.setTimeout,aS=$t.clearTimeout;function sa(t,r){r.useNativeTimers?(t.setTimeoutFn=oS.bind($t),t.clearTimeoutFn=aS.bind($t)):(t.setTimeoutFn=$t.setTimeout.bind($t),t.clearTimeoutFn=$t.clearTimeout.bind($t))}const lS=1.33;function uS(t){return typeof t=="string"?cS(t):Math.ceil((t.byteLength||t.size)*lS)}function cS(t){let r=0,s=0;for(let o=0,l=t.length;o<l;o++)r=t.charCodeAt(o),r<128?s+=1:r<2048?s+=2:r<55296||r>=57344?s+=3:(o++,s+=4);return s}function Ey(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function dS(t){let r="";for(let s in t)t.hasOwnProperty(s)&&(r.length&&(r+="&"),r+=encodeURIComponent(s)+"="+encodeURIComponent(t[s]));return r}function fS(t){let r={},s=t.split("&");for(let o=0,l=s.length;o<l;o++){let u=s[o].split("=");r[decodeURIComponent(u[0])]=decodeURIComponent(u[1])}return r}class hS extends Error{constructor(r,s,o){super(r),this.description=s,this.context=o,this.type="TransportError"}}class wc extends Ge{constructor(r){super(),this.writable=!1,sa(this,r),this.opts=r,this.query=r.query,this.socket=r.socket,this.supportsBinary=!r.forceBase64}onError(r,s,o){return super.emitReserved("error",new hS(r,s,o)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(r){this.readyState==="open"&&this.write(r)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(r){const s=xc(r,this.socket.binaryType);this.onPacket(s)}onPacket(r){super.emitReserved("packet",r)}onClose(r){this.readyState="closed",super.emitReserved("close",r)}pause(r){}createUri(r,s={}){return r+"://"+this._hostname()+this._port()+this.opts.path+this._query(s)}_hostname(){const r=this.opts.hostname;return r.indexOf(":")===-1?r:"["+r+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(r){const s=dS(r);return s.length?"?"+s:""}}class pS extends wc{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(r){this.readyState="pausing";const s=()=>{this.readyState="paused",r()};if(this._polling||!this.writable){let o=0;this._polling&&(o++,this.once("pollComplete",function(){--o||s()})),this.writable||(o++,this.once("drain",function(){--o||s()}))}else s()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(r){const s=o=>{if(this.readyState==="opening"&&o.type==="open"&&this.onOpen(),o.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(o)};tS(r,this.socket.binaryType).forEach(s),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const r=()=>{this.write([{type:"close"}])};this.readyState==="open"?r():this.once("open",r)}write(r){this.writable=!1,eS(r,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const r=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=Ey()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(r,s)}}let Cy=!1;try{Cy=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const mS=Cy;function yS(){}class gS extends pS{constructor(r){if(super(r),typeof location<"u"){const s=location.protocol==="https:";let o=location.port;o||(o=s?"443":"80"),this.xd=typeof location<"u"&&r.hostname!==location.hostname||o!==r.port}}doWrite(r,s){const o=this.request({method:"POST",data:r});o.on("success",s),o.on("error",(l,u)=>{this.onError("xhr post error",l,u)})}doPoll(){const r=this.request();r.on("data",this.onData.bind(this)),r.on("error",(s,o)=>{this.onError("xhr poll error",s,o)}),this.pollXhr=r}}class an extends Ge{constructor(r,s,o){super(),this.createRequest=r,sa(this,o),this._opts=o,this._method=o.method||"GET",this._uri=s,this._data=o.data!==void 0?o.data:null,this._create()}_create(){var r;const s=Sy(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;const o=this._xhr=this.createRequest(s);try{o.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){o.setDisableHeaderCheck&&o.setDisableHeaderCheck(!0);for(let l in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(l)&&o.setRequestHeader(l,this._opts.extraHeaders[l])}}catch{}if(this._method==="POST")try{o.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{o.setRequestHeader("Accept","*/*")}catch{}(r=this._opts.cookieJar)===null||r===void 0||r.addCookies(o),"withCredentials"in o&&(o.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(o.timeout=this._opts.requestTimeout),o.onreadystatechange=()=>{var l;o.readyState===3&&((l=this._opts.cookieJar)===null||l===void 0||l.parseCookies(o.getResponseHeader("set-cookie"))),o.readyState===4&&(o.status===200||o.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof o.status=="number"?o.status:0)},0))},o.send(this._data)}catch(l){this.setTimeoutFn(()=>{this._onError(l)},0);return}typeof document<"u"&&(this._index=an.requestsCount++,an.requests[this._index]=this)}_onError(r){this.emitReserved("error",r,this._xhr),this._cleanup(!0)}_cleanup(r){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=yS,r)try{this._xhr.abort()}catch{}typeof document<"u"&&delete an.requests[this._index],this._xhr=null}}_onLoad(){const r=this._xhr.responseText;r!==null&&(this.emitReserved("data",r),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}an.requestsCount=0;an.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Wp);else if(typeof addEventListener=="function"){const t="onpagehide"in $t?"pagehide":"unload";addEventListener(t,Wp,!1)}}function Wp(){for(let t in an.requests)an.requests.hasOwnProperty(t)&&an.requests[t].abort()}const vS=(function(){const t=ky({xdomain:!1});return t&&t.responseType!==null})();class xS extends gS{constructor(r){super(r);const s=r&&r.forceBase64;this.supportsBinary=vS&&!s}request(r={}){return Object.assign(r,{xd:this.xd},this.opts),new an(ky,this.uri(),r)}}function ky(t){const r=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!r||mS))return new XMLHttpRequest}catch{}if(!r)try{return new $t[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Oy=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class wS extends wc{get name(){return"websocket"}doOpen(){const r=this.uri(),s=this.opts.protocols,o=Oy?{}:Sy(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(o.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(r,s,o)}catch(l){return this.emitReserved("error",l)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=r=>this.onClose({description:"websocket connection closed",context:r}),this.ws.onmessage=r=>this.onData(r.data),this.ws.onerror=r=>this.onError("websocket error",r)}write(r){this.writable=!1;for(let s=0;s<r.length;s++){const o=r[s],l=s===r.length-1;vc(o,this.supportsBinary,u=>{try{this.doWrite(o,u)}catch{}l&&ra(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const r=this.opts.secure?"wss":"ws",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=Ey()),this.supportsBinary||(s.b64=1),this.createUri(r,s)}}const Cu=$t.WebSocket||$t.MozWebSocket;class bS extends wS{createSocket(r,s,o){return Oy?new Cu(r,s,o):s?new Cu(r,s):new Cu(r)}doWrite(r,s){this.ws.send(s)}}class _S extends wc{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(r){return this.emitReserved("error",r)}this._transport.closed.then(()=>{this.onClose()}).catch(r=>{this.onError("webtransport error",r)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(r=>{const s=rS(Number.MAX_SAFE_INTEGER,this.socket.binaryType),o=r.readable.pipeThrough(s).getReader(),l=nS();l.readable.pipeTo(r.writable),this._writer=l.writable.getWriter();const u=()=>{o.read().then(({done:f,value:m})=>{f||(this.onPacket(m),u())}).catch(f=>{})};u();const c={type:"open"};this.query.sid&&(c.data=`{"sid":"${this.query.sid}"}`),this._writer.write(c).then(()=>this.onOpen())})})}write(r){this.writable=!1;for(let s=0;s<r.length;s++){const o=r[s],l=s===r.length-1;this._writer.write(o).then(()=>{l&&ra(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var r;(r=this._transport)===null||r===void 0||r.close()}}const SS={websocket:bS,webtransport:_S,polling:xS},ES=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,CS=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Wu(t){if(t.length>8e3)throw"URI too long";const r=t,s=t.indexOf("["),o=t.indexOf("]");s!=-1&&o!=-1&&(t=t.substring(0,s)+t.substring(s,o).replace(/:/g,";")+t.substring(o,t.length));let l=ES.exec(t||""),u={},c=14;for(;c--;)u[CS[c]]=l[c]||"";return s!=-1&&o!=-1&&(u.source=r,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),u.pathNames=kS(u,u.path),u.queryKey=OS(u,u.query),u}function kS(t,r){const s=/\/{2,9}/g,o=r.replace(s,"/").split("/");return(r.slice(0,1)=="/"||r.length===0)&&o.splice(0,1),r.slice(-1)=="/"&&o.splice(o.length-1,1),o}function OS(t,r){const s={};return r.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(o,l,u){l&&(s[l]=u)}),s}const Qu=typeof addEventListener=="function"&&typeof removeEventListener=="function",Bo=[];Qu&&addEventListener("offline",()=>{Bo.forEach(t=>t())},!1);class Kn extends Ge{constructor(r,s){if(super(),this.binaryType=iS,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,r&&typeof r=="object"&&(s=r,r=null),r){const o=Wu(r);s.hostname=o.host,s.secure=o.protocol==="https"||o.protocol==="wss",s.port=o.port,o.query&&(s.query=o.query)}else s.host&&(s.hostname=Wu(s.host).host);sa(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(o=>{const l=o.prototype.name;this.transports.push(l),this._transportsByName[l]=o}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=fS(this.opts.query)),Qu&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Bo.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(r){const s=Object.assign({},this.opts.query);s.EIO=_y,s.transport=r,this.id&&(s.sid=this.id);const o=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[r]);return new this._transportsByName[r](o)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const r=this.opts.rememberUpgrade&&Kn.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(r);s.open(),this.setTransport(s)}setTransport(r){this.transport&&this.transport.removeAllListeners(),this.transport=r,r.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",Kn.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(r){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",r),this.emitReserved("heartbeat"),r.type){case"open":this.onHandshake(JSON.parse(r.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const s=new Error("server error");s.code=r.data,this._onError(s);break;case"message":this.emitReserved("data",r.data),this.emitReserved("message",r.data);break}}onHandshake(r){this.emitReserved("handshake",r),this.id=r.sid,this.transport.query.sid=r.sid,this._pingInterval=r.pingInterval,this._pingTimeout=r.pingTimeout,this._maxPayload=r.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const r=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+r,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},r),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const r=this._getWritablePackets();this.transport.send(r),this._prevBufferLen=r.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let o=0;o<this.writeBuffer.length;o++){const l=this.writeBuffer[o].data;if(l&&(s+=uS(l)),o>0&&s>this._maxPayload)return this.writeBuffer.slice(0,o);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const r=Date.now()>this._pingTimeoutTime;return r&&(this._pingTimeoutTime=0,ra(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),r}write(r,s,o){return this._sendPacket("message",r,s,o),this}send(r,s,o){return this._sendPacket("message",r,s,o),this}_sendPacket(r,s,o,l){if(typeof s=="function"&&(l=s,s=void 0),typeof o=="function"&&(l=o,o=null),this.readyState==="closing"||this.readyState==="closed")return;o=o||{},o.compress=o.compress!==!1;const u={type:r,data:s,options:o};this.emitReserved("packetCreate",u),this.writeBuffer.push(u),l&&this.once("flush",l),this.flush()}close(){const r=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),r()},o=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?o():r()}):this.upgrading?o():r()),this}_onError(r){if(Kn.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",r),this._onClose("transport error",r)}_onClose(r,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Qu&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const o=Bo.indexOf(this._offlineEventListener);o!==-1&&Bo.splice(o,1)}this.readyState="closed",this.id=null,this.emitReserved("close",r,s),this.writeBuffer=[],this._prevBufferLen=0}}}Kn.protocol=_y;class TS extends Kn{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let r=0;r<this._upgrades.length;r++)this._probe(this._upgrades[r])}_probe(r){let s=this.createTransport(r),o=!1;Kn.priorWebsocketSuccess=!1;const l=()=>{o||(s.send([{type:"ping",data:"probe"}]),s.once("packet",x=>{if(!o)if(x.type==="pong"&&x.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;Kn.priorWebsocketSuccess=s.name==="websocket",this.transport.pause(()=>{o||this.readyState!=="closed"&&(v(),this.setTransport(s),s.send([{type:"upgrade"}]),this.emitReserved("upgrade",s),s=null,this.upgrading=!1,this.flush())})}else{const b=new Error("probe error");b.transport=s.name,this.emitReserved("upgradeError",b)}}))};function u(){o||(o=!0,v(),s.close(),s=null)}const c=x=>{const b=new Error("probe error: "+x);b.transport=s.name,u(),this.emitReserved("upgradeError",b)};function f(){c("transport closed")}function m(){c("socket closed")}function g(x){s&&x.name!==s.name&&u()}const v=()=>{s.removeListener("open",l),s.removeListener("error",c),s.removeListener("close",f),this.off("close",m),this.off("upgrading",g)};s.once("open",l),s.once("error",c),s.once("close",f),this.once("close",m),this.once("upgrading",g),this._upgrades.indexOf("webtransport")!==-1&&r!=="webtransport"?this.setTimeoutFn(()=>{o||s.open()},200):s.open()}onHandshake(r){this._upgrades=this._filterUpgrades(r.upgrades),super.onHandshake(r)}_filterUpgrades(r){const s=[];for(let o=0;o<r.length;o++)~this.transports.indexOf(r[o])&&s.push(r[o]);return s}}let RS=class extends TS{constructor(r,s={}){const o=typeof r=="object"?r:s;(!o.transports||o.transports&&typeof o.transports[0]=="string")&&(o.transports=(o.transports||["polling","websocket","webtransport"]).map(l=>SS[l]).filter(l=>!!l)),super(r,o)}};function PS(t,r="",s){let o=t;s=s||typeof location<"u"&&location,t==null&&(t=s.protocol+"//"+s.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=s.protocol+t:t=s.host+t),/^(https?|wss?):\/\//.test(t)||(typeof s<"u"?t=s.protocol+"//"+t:t="https://"+t),o=Wu(t)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";const u=o.host.indexOf(":")!==-1?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+u+":"+o.port+r,o.href=o.protocol+"://"+u+(s&&s.port===o.port?"":":"+o.port),o}const jS=typeof ArrayBuffer=="function",AS=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Ty=Object.prototype.toString,NS=typeof Blob=="function"||typeof Blob<"u"&&Ty.call(Blob)==="[object BlobConstructor]",LS=typeof File=="function"||typeof File<"u"&&Ty.call(File)==="[object FileConstructor]";function bc(t){return jS&&(t instanceof ArrayBuffer||AS(t))||NS&&t instanceof Blob||LS&&t instanceof File}function $o(t,r){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let s=0,o=t.length;s<o;s++)if($o(t[s]))return!0;return!1}if(bc(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return $o(t.toJSON(),!0);for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&$o(t[s]))return!0;return!1}function DS(t){const r=[],s=t.data,o=t;return o.data=Ku(s,r),o.attachments=r.length,{packet:o,buffers:r}}function Ku(t,r){if(!t)return t;if(bc(t)){const s={_placeholder:!0,num:r.length};return r.push(t),s}else if(Array.isArray(t)){const s=new Array(t.length);for(let o=0;o<t.length;o++)s[o]=Ku(t[o],r);return s}else if(typeof t=="object"&&!(t instanceof Date)){const s={};for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(s[o]=Ku(t[o],r));return s}return t}function IS(t,r){return t.data=Gu(t.data,r),delete t.attachments,t}function Gu(t,r){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<r.length)return r[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let s=0;s<t.length;s++)t[s]=Gu(t[s],r);else if(typeof t=="object")for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(t[s]=Gu(t[s],r));return t}const MS=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var Ee;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(Ee||(Ee={}));class FS{constructor(r){this.replacer=r}encode(r){return(r.type===Ee.EVENT||r.type===Ee.ACK)&&$o(r)?this.encodeAsBinary({type:r.type===Ee.EVENT?Ee.BINARY_EVENT:Ee.BINARY_ACK,nsp:r.nsp,data:r.data,id:r.id}):[this.encodeAsString(r)]}encodeAsString(r){let s=""+r.type;return(r.type===Ee.BINARY_EVENT||r.type===Ee.BINARY_ACK)&&(s+=r.attachments+"-"),r.nsp&&r.nsp!=="/"&&(s+=r.nsp+","),r.id!=null&&(s+=r.id),r.data!=null&&(s+=JSON.stringify(r.data,this.replacer)),s}encodeAsBinary(r){const s=DS(r),o=this.encodeAsString(s.packet),l=s.buffers;return l.unshift(o),l}}class _c extends Ge{constructor(r){super(),this.reviver=r}add(r){let s;if(typeof r=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");s=this.decodeString(r);const o=s.type===Ee.BINARY_EVENT;o||s.type===Ee.BINARY_ACK?(s.type=o?Ee.EVENT:Ee.ACK,this.reconstructor=new US(s),s.attachments===0&&super.emitReserved("decoded",s)):super.emitReserved("decoded",s)}else if(bc(r)||r.base64)if(this.reconstructor)s=this.reconstructor.takeBinaryData(r),s&&(this.reconstructor=null,super.emitReserved("decoded",s));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+r)}decodeString(r){let s=0;const o={type:Number(r.charAt(0))};if(Ee[o.type]===void 0)throw new Error("unknown packet type "+o.type);if(o.type===Ee.BINARY_EVENT||o.type===Ee.BINARY_ACK){const u=s+1;for(;r.charAt(++s)!=="-"&&s!=r.length;);const c=r.substring(u,s);if(c!=Number(c)||r.charAt(s)!=="-")throw new Error("Illegal attachments");o.attachments=Number(c)}if(r.charAt(s+1)==="/"){const u=s+1;for(;++s&&!(r.charAt(s)===","||s===r.length););o.nsp=r.substring(u,s)}else o.nsp="/";const l=r.charAt(s+1);if(l!==""&&Number(l)==l){const u=s+1;for(;++s;){const c=r.charAt(s);if(c==null||Number(c)!=c){--s;break}if(s===r.length)break}o.id=Number(r.substring(u,s+1))}if(r.charAt(++s)){const u=this.tryParse(r.substr(s));if(_c.isPayloadValid(o.type,u))o.data=u;else throw new Error("invalid payload")}return o}tryParse(r){try{return JSON.parse(r,this.reviver)}catch{return!1}}static isPayloadValid(r,s){switch(r){case Ee.CONNECT:return Qp(s);case Ee.DISCONNECT:return s===void 0;case Ee.CONNECT_ERROR:return typeof s=="string"||Qp(s);case Ee.EVENT:case Ee.BINARY_EVENT:return Array.isArray(s)&&(typeof s[0]=="number"||typeof s[0]=="string"&&MS.indexOf(s[0])===-1);case Ee.ACK:case Ee.BINARY_ACK:return Array.isArray(s)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class US{constructor(r){this.packet=r,this.buffers=[],this.reconPack=r}takeBinaryData(r){if(this.buffers.push(r),this.buffers.length===this.reconPack.attachments){const s=IS(this.reconPack,this.buffers);return this.finishedReconstruction(),s}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function Qp(t){return Object.prototype.toString.call(t)==="[object Object]"}const zS=Object.freeze(Object.defineProperty({__proto__:null,Decoder:_c,Encoder:FS,get PacketType(){return Ee}}
vendor: 3,345 bytes, line 136
136,Symbol.toStringTag,{value:"Module"}));function Zt(t,r,s){return t.on(r,s),function(){t.off(r,s)}}const BS=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Ry extends Ge{constructor(r,s,o){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=r,this.nsp=s,o&&o.auth&&(this.auth=o.auth),this._opts=Object.assign({},o),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const r=this.io;this.subs=[Zt(r,"open",this.onopen.bind(this)),Zt(r,"packet",this.onpacket.bind(this)),Zt(r,"error",this.onerror.bind(this)),Zt(r,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...r){return r.unshift("message"),this.emit.apply(this,r),this}emit(r,...s){var o,l,u;if(BS.hasOwnProperty(r))throw new Error('"'+r.toString()+'" is a reserved event name');if(s.unshift(r),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(s),this;const c={type:Ee.EVENT,data:s};if(c.options={},c.options.compress=this.flags.compress!==!1,typeof s[s.length-1]=="function"){const v=this.ids++,x=s.pop();this._registerAckCallback(v,x),c.id=v}const f=(l=(o=this.io.engine)===null||o===void 0?void 0:o.transport)===null||l===void 0?void 0:l.writable,m=this.connected&&!(!((u=this.io.engine)===null||u===void 0)&&u._hasPingExpired());return this.flags.volatile&&!f||(m?(this.notifyOutgoingListeners(c),this.packet(c)):this.sendBuffer.push(c)),this.flags={},this}_registerAckCallback(r,s){var o;const l=(o=this.flags.timeout)!==null&&o!==void 0?o:this._opts.ackTimeout;if(l===void 0){this.acks[r]=s;return}const u=this.io.setTimeoutFn(()=>{delete this.acks[r];for(let f=0;f<this.sendBuffer.length;f++)this.sendBuffer[f].id===r&&this.sendBuffer.splice(f,1);s.call(this,new Error("operation has timed out"))},l),c=(...f)=>{this.io.clearTimeoutFn(u),s.apply(this,f)};c.withError=!0,this.acks[r]=c}emitWithAck(r,...s){return new Promise((o,l)=>{const u=(c,f)=>c?l(c):o(f);u.withError=!0,s.push(u),this.emit(r,...s)})}_addToQueue(r){let s;typeof r[r.length-1]=="function"&&(s=r.pop());const o={id:this._queueSeq++,tryCount:0,pending:!1,args:r,flags:Object.assign({fromQueue:!0},this.flags)};r.push((l,...u)=>(this._queue[0],l!==null?o.tryCount>this._opts.retries&&(this._queue.shift(),s&&s(l)):(this._queue.shift(),s&&s(null,...u)),o.pending=!1,this._drainQueue())),this._queue.push(o),this._drainQueue()}_drainQueue(r=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!r||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.args))}packet(r){r.nsp=this.nsp,this.io._packet(r)}onopen(){typeof this.auth=="function"?this.auth(r=>{this._sendConnectPacket(r)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(r){this.packet({type:Ee.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},r):r})}onerror(r){this.connected||this.emitReserved("connect_error",r)}onclose(r,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",r,s),this._clearAcks()}
vendor: 6,031 bytes, line 136
136_clearAcks(){Object.keys(this.acks).forEach(r=>{if(!this.sendBuffer.some(o=>String(o.id)===r)){const o=this.acks[r];delete this.acks[r],o.withError&&o.call(this,new Error("socket has been disconnected"))}})}onpacket(r){if(r.nsp===this.nsp)switch(r.type){case Ee.CONNECT:r.data&&r.data.sid?this.onconnect(r.data.sid,r.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Ee.EVENT:case Ee.BINARY_EVENT:this.onevent(r);break;case Ee.ACK:case Ee.BINARY_ACK:this.onack(r);break;case Ee.DISCONNECT:this.ondisconnect();break;case Ee.CONNECT_ERROR:this.destroy();const o=new Error(r.data.message);o.data=r.data.data,this.emitReserved("connect_error",o);break}}onevent(r){const s=r.data||[];r.id!=null&&s.push(this.ack(r.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(r){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const o of s)o.apply(this,r)}super.emit.apply(this,r),this._pid&&r.length&&typeof r[r.length-1]=="string"&&(this._lastOffset=r[r.length-1])}ack(r){const s=this;let o=!1;return function(...l){o||(o=!0,s.packet({type:Ee.ACK,id:r,data:l}))}}onack(r){const s=this.acks[r.id];typeof s=="function"&&(delete this.acks[r.id],s.withError&&r.data.unshift(null),s.apply(this,r.data))}onconnect(r,s){this.id=r,this.recovered=s&&this._pid===s,this._pid=s,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(r=>this.emitEvent(r)),this.receiveBuffer=[],this.sendBuffer.forEach(r=>{this.notifyOutgoingListeners(r),this.packet(r)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(r=>r()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ee.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(r){return this.flags.compress=r,this}get volatile(){return this.flags.volatile=!0,this}timeout(r){return this.flags.timeout=r,this}onAny(r){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(r),this}prependAny(r){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(r),this}offAny(r){if(!this._anyListeners)return this;if(r){const s=this._anyListeners;for(let o=0;o<s.length;o++)if(r===s[o])return s.splice(o,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(r){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(r),this}prependAnyOutgoing(r){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(r),this}offAnyOutgoing(r){if(!this._anyOutgoingListeners)return this;if(r){const s=this._anyOutgoingListeners;for(let o=0;o<s.length;o++)if(r===s[o])return s.splice(o,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(r){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const s=this._anyOutgoingListeners.slice();for(const o of s)o.apply(this,r.data)}}}function os(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}os.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var r=Math.random(),s=Math.floor(r*this.jitter*t);t=(Math.floor(r*10)&1)==0?t-s:t+s}return Math.min(t,this.max)|0};os.prototype.reset=function(){this.attempts=0};os.prototype.setMin=function(t){this.ms=t};os.prototype.setMax=function(t){this.max=t};os.prototype.setJitter=function(t){this.jitter=t};class Yu extends Ge{constructor(r,s){var o;super(),this.nsps={},this.subs=[],r&&typeof r=="object"&&(s=r,r=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,sa(this,s),this.reconnection(s.reconnection!==!1),this.reconnectionAttempts(s.reconnectionAttempts||1/0),this.reconnectionDelay(s.reconnectionDelay||1e3),this.reconnectionDelayMax(s.reconnectionDelayMax||5e3),this.randomizationFactor((o=s.randomizationFactor)!==null&&o!==void 0?o:.5),this.backoff=new os({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(s.timeout==null?2e4:s.timeout),this._readyState="closed",this.uri=r;const l=s.parser||zS;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=s.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(r){return arguments.length?(this._reconnection=!!r,r||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(r){return r===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=r,this)}reconnectionDelay(r){var s;return r===void 0?this._reconnectionDelay:(this._reconnectionDelay=r,(s=this.backoff)===null||s===void 0||s.setMin(r),this)}randomizationFactor(r){var s;return r===void 0?this._randomizationFactor:(this._randomizationFactor=r,(s=this.backoff)===null||s===void 0||s.setJitter(r),this)}reconnectionDelayMax(r){var s;return r===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=r,(s=this.backoff)===null||s===void 0||s.setMax(r),this)}timeout(r){return arguments.length?(this._timeout=r,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(r){if(~this._readyState.indexOf("open"))return this;this.engine=new RS(this.uri,this.opts);const s=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;const l=Zt(s,"open",function(){o.onopen(),r&&r()}),u=f=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",f),r?r(f):this.maybeReconnectOnOpen()},c=Zt(s,"error",u);if(this._timeout!==!1){const f=this._timeout,m=this.setTimeoutFn(()=>
136{l(),u(new Error("timeout")),s.close()},f);this.opts.autoUnref&&m.unref(),this.subs.push(()=>{this.clearTimeoutFn(m)})}return this.subs.push(l),this.subs.push(c),this}connect(r){return this.open(r)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const r=this.engine;this.subs.push(Zt(r,"ping",this.onping.bind(this)),Zt(r,"data",this.ondata.bind(this)),Zt(r,"error",this.onerror.bind(this)),Zt(r,"close",this.onclose.bind(this)),Zt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(r){try{this.decoder.add(r)}catch(s){this.onclose("parse error",s)}}ondecoded(r){ra(()=>{this.emitReserved("packet",r)},this.setTimeoutFn)}onerror(r){this.emitReserved("error",r)}socket(r,s){let o=this.nsps[r];return o?this._autoConnect&&!o.active&&o.connect():(o=new Ry(this,r,s),this.nsps[r]=o),o}_destroy(r){const s=Object.keys(this.nsps);for(const o of s)if(this.nsps[o].active)return;this._close()}_packet(r){const s=this.encoder.encode(r);for(let o=0;o<s.length;o++)this.engine.write(s[o],r.options)}cleanup(){this.subs.forEach(r=>r()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(r,s){var o;this.cleanup(),(o=this.engine)===null||o===void 0||o.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",r,s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const r=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const s=this.backoff.duration();this._reconnecting=!0;const o=this.setTimeoutFn(()=>{r.skipReconnect||(this.emitReserved("reconnect_attempt",r.backoff.attempts),!r.skipReconnect&&r.open(l=>{l?(r._reconnecting=!1,r.reconnect(),this.emitReserved("reconnect_error",l)):r.onreconnect()}))},s);this.opts.autoUnref&&o.unref(),this.subs.push(()=>{this.clearTimeoutFn(o)})}}onreconnect(){const r=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",r)}}const Js={};function Vo(t,r){typeof t=="object"&&(r=t,t=void 0),r=r||{};const s=PS(t,r.path||"/socket.io"),o=s.source,l=s.id,u=s.path,c=Js[l]&&u in Js[l].nsps,f=r.forceNew||r["force new connection"]||r.multiplex===!1||c;let m;return f?m=new Yu(o,r):(Js[l]||(Js[l]=new Yu(o,r)),m=Js[l]),s.query&&!r.query&&(r.query=s.queryKey),m.socket(s.path,r)}Object.assign(Vo,{Manager:Yu,Socket:Ry,io:Vo,connect:Vo});const $S=250;function Kp(t,r){var s;const o=(s=t.token)!==null&&s!==void 0?s:es(),l={app_id:t.appId,token:o};o||(l.anonymous_id=gc());const u=Vo(t.serverUrl,{path:t.mountPath,transports:t.transports,query:l});return u.on("connect",async()=>{var c;return console.log("connect",u.id),(c=r.connect)===null||c===void 0?void 0:c.call(r)}),u.on("update_model",async c=>{var f;return(f=r.update_model)===null||f===void 0?void 0:f.call(r,c)}),u.on("error",async c=>{var f;return(f=r.error)===null||f===void 0?void 0:f.call(r,c)}),u.on("connect_error",async c=>{var f;return console.error("connect_error",c),(f=r.error)===null||f===void 0?void 0:f.call(r,c)}),u}function VS({config:t}){let r={...t};const s={},o={},l={connect:async()=>{const E=[];Object.keys(s).forEach(I=>{const L=b(I);L.length!==0&&(g(I),L.forEach(({connect:U})=>{const H=async()=>U?.();E.push(H())}))}),await Promise.all(E)},update_model:async E=>{const L=b(E.room).map(U=>{var H;return(H=U.update_model)===null||H===void 0?void 0:H.call(U,E)});await Promise.all(L)},error:async E=>{console.error("error",E);const I=Object.values(s).flat().map(L=>{var U;return(U=L.error)===null||U===void 0?void 0:U.call(L,E)});await Promise.all(I)}};let u=Kp(t,l);function c(){f()}function f(){j(),u&&u.disconnect()}function m(E){c(),r={...r,...E},u=Kp(r,l)}function g(E){u.emit("join",E)}function v(E){u.emit("leave",E)}async function x(E,I){var L;const U=JSON.stringify(I);return(L=l.update_model)===null||L===void 0?void 0:L.call(l,{room:E,data:U})}function b(E){var I;return(I=s[E])!==null&&I!==void 0?I:[]}function _(E){const I=o[E];I&&(clearTimeout(I),delete o[E])}
136function j(){Object.keys(o).forEach(E=>{var I,L;clearTimeout(o[E]),delete o[E],((L=(I=s[E])===null||I===void 0?void 0:I.length)!==null&&L!==void 0?L:0)===0&&delete s[E]})}function P(E){_(E),o[E]=setTimeout(()=>{var I,L;delete o[E],!(((L=(I=s[E])===null||I===void 0?void 0:I.length)!==null&&L!==void 0?L:0)>0)&&(v(E),delete s[E])},$S)}return{socket:u,subscribeToRoom:(E,I)=>{s[E]?_(E):(g(E),s[E]=[]),s[E].push(I);let L=!1;return()=>{var U,H;L||(L=!0,s[E]=(H=(U=s[E])===null||U===void 0?void 0:U.filter(J=>J!==I))!==null&&H!==void 0?H:[],s[E].length===0&&P(E))}},updateConfig:m,updateModel:x,disconnect:f}}function HS(t){var r,s;const{serverUrl:o="https://base44.app",appId:l,token:u,serviceToken:c,requiresAuth:f=!1,appBaseUrl:m,options:g,functionsVersion:v,headers:x}=t,b=typeof m=="string"?m:"",_={serverUrl:o,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:l,token:u};let j=null;const P=()=>(j||(j=VS({config:_})),j),k={...x,"X-App-Id":String(l)},E=v?{...k,"Base44-Functions-Version":v}:k,I=Zs({baseURL:`${o}/api`,headers:k,token:u,onError:g?.onError}),L=Zs({baseURL:`${o}/api`,headers:E,token:u,interceptResponses:!1,onError:g?.onError}),U={...k,...u?{"on-behalf-of":`Bearer ${u}`}:{}},H=Zs({baseURL:`${o}/api`,headers:U,token:c,onError:g?.onError}),J=Zs({baseURL:`${o}/api`,headers:E,token:c,interceptResponses:!1}),de=H_(I,L,l,{appBaseUrl:b});if(typeof window<"u"){const ve=u||es();ve&&de.setToken(ve)}const V={entities:Mp({axios:I,appId:l,getSocket:P}),integrations:Fp(I,l),connectors:Q_(I,l),auth:de,functions:Up(L,l,{getAuthHeaders:()=>{const ve={},Re=u||es();return Re&&(ve.Authorization=`Bearer ${Re}`),ve},baseURL:(r=L.defaults)===null||r===void 0?void 0:r.baseURL}),agents:zp({axios:I,getSocket:P,appId:l,serverUrl:o,token:u}),aiGateway:Bp({serverUrl:o,token:u,appId:l}),appLogs:$p(I,l),users:G_(I,l),analytics:P_({axiosClient:I,serverUrl:o,appId:l,userAuthModule:de}),cleanup:()=>{V.analytics.cleanup(),j&&j.disconnect()}},be={entities:Mp({axios:H,appId:l,getSocket:P}),integrations:Fp(H,l),sso:q_(H,l),connectors:W_(H,l),functions:Up(J,l,{getAuthHeaders:()=>{const ve={};return c&&(ve.Authorization=`Bearer ${c}`),ve},baseURL:(s=J.defaults)===null||s===void 0?void 0:s.baseURL}),agents:zp({axios:H,getSocket:P,appId:l,serverUrl:o,token:u}),aiGateway:Bp({serverUrl:o,token:c,appId:l}),appLogs:$p(H,l),cleanup:()=>{j&&j.disconnect()}};return f&&typeof window<"u"&&setTimeout(async()=>{try{await V.auth.isAuthenticated()||V.auth.redirectToLogin(window.location.href)}catch(ve){console.error("Authentication check failed:",ve),V.auth.redirectToLogin(window.location.href)}},0),{...V,setToken(ve){V.auth.setToken(ve),j&&j.updateConfig({token:ve}),_.token=ve},getConfig(){return{serverUrl:o,appId:l,requiresAuth:f}},get asServiceRole(){if(!c)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return be}}}const Py=typeof window>"u",qS=Py?{localStorage:new Map}:window,ri=qS.localStorage,WS=t=>t.replace(/([A-Z])/g,"_$1").toLowerCase(),Qr=(t,{defaultValue:r=void 0,removeFromUrl:s=!1}={})=>{if(Py)return r;const o=`base44_${WS(t)}`,l=new URLSearchParams(window.location.search),u=l.get(t);if(s){l.delete(t);const f=`${window.location.pathname}${l.toString()?`?${l.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,f)}if(u)return ri.setItem(o,u),u;if(r)return ri.setItem(o,r),r;const c=ri.getItem(o);return c||null},QS=()=>(Qr("clear_access_token")==="true"&&(ri.removeItem("base44_access_token"),ri.removeItem("token")),{appId:Qr("app_id",{defaultValue:"6a19d9b613ab09fb0e77aa4a"}),token:Qr("access_token",{removeFromUrl:!0}),fromUrl:Qr("from_url",{defaultValue:window.location.href}),functionsVersion:Qr("functions_version",{defaultValue:"prod"}),appBaseUrl:Qr("app_base_url",{defaultValue:void 0})}),hr={...QS()},{appId:KS,token:GS,functionsVersion:YS,appBaseUrl:JS}=hr,Yr=HS({appId:KS,token:GS,functionsVersion:YS,serverUrl:"",requiresAuth:!1,appBaseUrl:JS}),No=Object.freeze(Object.defineProperty({__proto__:null,base44:Yr},Symbol.toStringTag,{value:"Module"}));function XS({}){const r=Xn().pathname.substring(1),{data:s,isFetched:o}=Xs({queryKey:["user"],queryFn:async()=>{try{return{user:await Yr.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return p.jsxs("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:[p.jsxs(ni,{children:[p.jsx("title",{children:"404 Page Not Found | OntarioCanna"}),p.jsx("meta",{name:"robots",content:"noindex, nofollow"}),p.jsx("meta",{name:"description",content:"This page could not be found."})]}),p.jsx("div",{className:"max-w-md w-full",children:p.jsxs("div",{className:"text-center space-y-6",children:[p.jsxs("div",{className:"space-y-2",children:[p.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),p.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),p.jsxs("div",{className:"space-y-3",children:[p.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),p.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",p.jsxs("span",{className:"font-medium text-slate-700",children:['"',r,'"']})," could not be found in this application."]})]}),o&&s.isAuthenticated&&s.user?.role==="admin"&&p.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:p.jsxs("div",{className:"flex items-start space-x-3",children:[p.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:p.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),p.jsxs("div",{className:"text-left space-y-1",children:[p.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),p.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),p.jsx("div",{className:"pt-6",children:p.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[p.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})]})}const jy=C.createContext();function ZS(t){try{const r=t.split(".");if(r.length!==3)return!1;const s=JSON.parse(atob(r[1]));return s.exp?s.exp*1e3<Date.now():!1}catch{return!1}}const eE=({children:t})=>{const[r,s]=C.useState(null),[o,l]=C.useState(!1),[u,c]=C.useState(!0),[f,m]=C.useState(!0),[g,v]=C.useState(null),[x,b]=C.useState(!1),[_,j]=C.useState(null);C.useEffect(()=>{const L=setTimeout(()=>P(),7e3);return()=>clearTimeout(L)},[]);const P=async()=>{try{m(!0),v(null);
136const{createAxiosClient:L}=await G(async()=>{const{createAxiosClient:H}=await Promise.resolve().then(()=>F_);return{createAxiosClient:H}},void 0),U=L({baseURL:"/api/apps/public",headers:{"X-App-Id":hr.appId},token:hr.token,interceptResponses:!0});try{const H=await U.get(`/prod/public-settings/by-id/${hr.appId}`);j(H),hr.token&&!ZS(hr.token)?await k():(hr.token&&localStorage.removeItem("base44_access_token"),c(!1),l(!1),b(!0)),m(!1)}catch(H){if(console.error("App state check failed:",H),H.status===403&&H.data?.extra_data?.reason){const J=H.data.extra_data.reason;v(J==="auth_required"?{type:"auth_required",message:"Authentication required"}:J==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:J,message:H.message})}else v({type:"unknown",message:H.message||"Failed to load app"});m(!1),c(!1)}}catch(L){console.error("Unexpected error:",L),v({type:"unknown",message:L.message||"An unexpected error occurred"}),m(!1),c(!1)}},k=async()=>{try{c(!0);const L=await Yr.auth.me();s(L),l(!0),c(!1),b(!0)}catch(L){L.status!==401&&L.status!==403&&console.error("User auth check failed:",L),c(!1),l(!1),b(!0)}},E=(L=!0)=>{s(null),l(!1),L?Yr.auth.logout(window.location.href):Yr.auth.logout()},I=()=>{Yr.auth.redirectToLogin(window.location.href)};return p.jsx(jy.Provider,{value:{user:r,isAuthenticated:o,isLoadingAuth:u,isLoadingPublicSettings:f,authError:g,appPublicSettings:_,authChecked:x,logout:E,navigateToLogin:I,checkUserAuth:k,checkAppState:P},children:t})},Ay=()=>{const t=C.useContext(jy);if(!t)throw new Error("useAuth must be used within an AuthProvider");return t},Ny=()=>p.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:p.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:p.jsxs("div",{className:"text-center",children:[p.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:p.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),p.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),p.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),p.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[p.jsx("p",{children:"If you believe this is an error, you can:"}),p.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[p.jsx("li",{children:"Verify you are logged in with the correct account"}),p.jsx("li",{children:"Contact the app administrator for access"}),p.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),tE=()=>p.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:p.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});function Gp({fallback:t=p.jsx(tE,{}),unauthenticatedElement:r}){const{isAuthenticated:s,isLoadingAuth:o,authChecked:l,authError:u,checkUserAuth:c}=Ay();return C.useEffect(()=>{!l&&!o&&c()},[l,o,c]),o||!l?t:u?u.type==="user_not_registered"?p.jsx(Ny,{}):r:s?p.jsx(Bm,{}):r}const nE=C.lazy(()=>G(()=>import("./AnalyticsTracker-CREpgJH-.js"),[]));function rE(){return p.jsxs(ge,{to:"/",className:"flex items-center gap-3 group",children:[p.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("rect",{width:"32",height:"32",rx:"8",fill:"hsl(155,50%,38%)"}),p.jsx("path",{d:"M16 6C16 6 10 10 10 17C10 20.3 12.7 23 16 23C19.3 23 22 20.3 22 17C22 10 16 6 16 6Z",fill:"white",opacity:"0.9"}),p.jsx("path",{d:"M16 23L15.5 28M16 23L16.5 28",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round"}),p.jsx("path",{d:"M10 15C8 14 6 15 6 15C7 17 9 18 11 17",fill:"white",opacity:"0.5"}),p.jsx("path",{d:"M22 15C24 14 26 15 26 15C25 17 23 18 21 17",fill:"white",opacity:"0.5"})]}),p.jsxs("div",{children:[p.jsxs("div",{className:"text-base font-semibold tracking-tight text-foreground leading-none",style:{fontFamily:"var(--font-body)"},children:["Ontario",p.jsx("span",{className:"text-primary",children:"Canna"}),p.jsx("span",{className:"text-muted-foreground font-light",children:".ca"})]}),p.jsx("div",{className:"text-[9px] tracking-[0.2em] uppercase text-muted-foreground leading-none mt-0.5",children:"Cannabis Directory"})]})]})}const sE=C.memo(function(){return p.jsx("footer",{className:"border-t border-border mt-24",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-16",children:[p.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-12 mb-12",children:[p.jsxs("div",{className:"md:col-span-2",children:[p.jsxs(ge,{to:"/",className:"flex items-center gap-3",children:[p.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("rect",{width:"32",height:"32",rx:"8",fill:"hsl(155,50%,38%)"}),p.jsx("path",{d:"M16 6C16 6 10 10 10 17C10 20.3 12.7 23 16 23C19.3 23 22 20.3 22 17C22 10 16 6 16 6Z",fill:"white",opacity:"0.9"}),p.jsx("path",{d:"M16 23L15.5 28M16 23L16.5 28",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round"}),p.jsx("path",{d:"M10 15C8 14 6 15 6 15C7 17 9 18 11 17",fill:"white",opacity:"0.5"}),p.jsx("path",{d:"M22 15C24 14 26 15 26 15C25 17 23 18 21 17",fill:"white",opacity:"0.5"})]}),p.jsxs("div",{children:[p.jsxs("div",{className:"text-base font-semibold tracking-tight text-foreground leading-none",children:["Ontario",p.jsx("span",{className:"text-primary",children:"Canna"}),p.jsx("span",{className:"text-muted-foreground font-light",children:".ca"})]}),p.jsx("div",{className:"text-[9px] tracking-[0.2em] uppercase text-muted-foreground leading-none mt-0.5",children:"Cannabis Directory"})]})]}
136),p.jsx("p",{className:"mt-4 text-sm text-muted-foreground/80 leading-relaxed max-w-xs",children:"The most comprehensive directory of licensed cannabis dispensaries across Ontario. Updated regularly with real menus, deals, and verified reviews."}),p.jsx("p",{className:"mt-4 text-xs text-muted-foreground/70 tracking-wide font-medium",children:"Must be 19+ to purchase cannabis in Ontario."}),p.jsxs("div",{className:"flex items-center gap-3 mt-5",children:[p.jsx("a",{href:"https://www.youtube.com/@OntarioCanna",target:"_blank",rel:"noopener noreferrer","aria-label":"OntarioCanna on YouTube",className:"w-9 h-9 flex items-center justify-center rounded-lg bg-secondary hover:bg-[#FF0000]/20 border border-border hover:border-[#FF0000]/40 transition-all group",children:p.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",className:"text-muted-foreground group-hover:text-[#FF0000] transition-colors",children:p.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}),p.jsx("a",{href:"https://www.pinterest.com/ontariocanna",target:"_blank",rel:"noopener noreferrer","aria-label":"OntarioCanna on Pinterest",className:"w-9 h-9 flex items-center justify-center rounded-lg bg-secondary hover:bg-[#E60023]/20 border border-border hover:border-[#E60023]/40 transition-all group",children:p.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",className:"text-muted-foreground group-hover:text-[#E60023] transition-colors",children:p.jsx("path",{d:"M12 0C5.373 0 0 5.373 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 0 1 .083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.632-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z"})})}),p.jsx("a",{href:"https://share.google/cWN5HBIRZHfYF50kj",target:"_blank",rel:"noopener noreferrer","aria-label":"OntarioCanna on Google My Business",className:"w-9 h-9 flex items-center justify-center rounded-lg bg-secondary hover:bg-[#4285F4]/20 border border-border hover:border-[#4285F4]/40 transition-all group",children:p.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",className:"text-muted-foreground group-hover:text-[#4285F4] transition-colors",children:p.jsx("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm-2 18h-2v-8h2v8zm-1-9c-.607 0-1.1-.493-1.1-1.1s.493-1.1 1.1-1.1 1.1.493 1.1 1.1-.493-1.1-1.1-1.1zm8 9h-2v-4c0-.994-.403-1.671-1.244-1.671-.68 0-1.084.459-1.264.903-.065.159-.081.381-.081.604v4.164h-2v-8h2v1.096c.305-.471.851-1.144 2.065-1.144 1.507 0 2.636.986 2.636 3.109v4.939z"})})})]})]}),p.jsxs("div",{children:[p.jsx("h3",{className:"text-xs font-semibold tracking-[0.15em] uppercase text-foreground/60 mb-4",children:"Directory"}),p.jsx("div",{className:"space-y-3",children:[{label:"All Dispensaries",to:"/dispensaries"},{label:"Browse by City",to:"/cities"},{label:"Cannabis Blog",to:"/blog"}].map(r=>p.jsx(ge,{to:r.to,className:"block text-sm text-muted-foreground/80 hover:text-foreground transition-colors",children:r.label},r.to))})]}),p.jsxs("div",{children:[p.jsx("h3",{className:"text-xs font-semibold tracking-[0.15em] uppercase text-foreground/60 mb-4",children:"Info"}),p.jsxs("div",{className:"space-y-3",children:[p.jsx(ge,{to:"/about",className:"block text-sm text-muted-foreground
136/80 hover:text-foreground transition-colors",children:"About Us"}),p.jsx(ge,{to:"/authors/ontariocanna-research-team",className:"block text-sm text-muted-foreground/80 hover:text-foreground transition-colors",children:"Our Research Team"}),p.jsx(ge,{to:"/editorial-policy",className:"block text-sm text-muted-foreground/80 hover:text-foreground transition-colors",children:"Editorial Policy"}),p.jsx(ge,{to:"/contact",className:"block text-sm text-muted-foreground/80 hover:text-foreground transition-colors",children:"Contact"}),p.jsx(ge,{to:"/interac-etransfer",className:"block text-sm text-muted-foreground/80 hover:text-foreground transition-colors",children:"Interac e-Transfer"}),p.jsx(ge,{to:"/crypto-payments",className:"block text-sm text-muted-foreground/80 hover:text-foreground transition-colors",children:"Crypto Payments (BTC/ETH/USDT)"}),p.jsx(ge,{to:"/privacy-policy",className:"block text-sm text-muted-foreground/80 hover:text-foreground transition-colors",children:"Privacy Policy"}),p.jsx("p",{className:"text-sm text-muted-foreground/80",children:"Ontario, Canada"})]})]})]}),p.jsxs("div",{className:"border-t border-border pt-6 flex flex-col sm:flex-row items-center justify-between gap-3 text-xs text-muted-foreground/70",children:[p.jsxs("p",{children:["© ",new Date().getFullYear()," OntarioCanna.ca — All rights reserved."]}),p.jsx("p",{children:"Cannabis information for legal Ontario retailers only."})]})]})})});function iE(){const[t,r]=C.useState(!1),[s,o]=C.useState(!1),l=Xn();C.useEffect(()=>{const c=setTimeout(()=>o(!0),4e3);return()=>clearTimeout(c)},[]);const u=[{label:"Dispensaries",to:"/dispensaries"},{label:"Cities",to:"/cities"},{label:"Blog",to:"/blog"},{label:"Interac e-Transfer",to:"/interac-etransfer"},{label:"About",to:"/about"},{label:"Contact",to:"/contact"}];return p.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[p.jsx("div",{className:"border-b border-border/50 bg-background/50",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 h-8 flex items-center justify-between",children:[p.jsx("p",{className:"text-[11px] tracking-wide text-muted-foreground",children:"Ontario's trusted cannabis dispensary guide · 19+ only"}),p.jsx("p",{className:"text-[11px] text-muted-foreground hidden sm:block",children:"Legal retailers only"})]})}),p.jsxs("header",{className:"sticky top-0 z-50 bg-background border-b border-border/60 md:bg-background/95 md:backdrop-blur-md",children:[p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 h-16 flex items-center justify-between gap-8",children:[p.jsx(rE,{}),p.jsx("nav",{className:"hidden md:flex items-center gap-1",children:u.map(c=>p.jsx(ge,{to:c.to,className:`px-4 py-2 text-[13px] font-medium tracking-wide rounded-lg transition-all ${l.pathname.startsWith(c.to)?"text-primary bg-primary/8":"text-muted-foreground hover:text-foreground hover:bg-secondary/60"}`,children:c.label},c.to))}),p.jsx("div",{className:"hidden md:flex items-center gap-3",children:p.jsxs(ge,{to:"/dispensaries",className:"inline-flex items-center gap-1.5 bg-primary text-white text-[13px] font-medium px-4 py-2 rounded-lg hover:bg-primary/90 transition-colors",children:["Find a Store",p.jsx(r0,{className:"w-3.5 h-3.5"})]})}),p.jsx("button",{className:"md:hidden p-2 text-muted-foreground hover:text-foreground",onClick:()=>r(!t),"aria-label":t?"Close navigation menu":"Open navigation menu","aria-expanded":t,children:t?p.jsx(tm,{className:"w-5 h-5"}):p.jsx(u0,{className:"w-5 h-5"})})]}),t&&p.jsxs("div",{className:"md:hidden border-t border-border bg-card px-4 py-5 flex flex-col gap-1",children:[u.map(c=>p.jsx(ge,{to:c.to,className:"text-sm text-muted-foreground hover:text-foreground hover:bg-secondary/60 px-3 py-2.5 rounded-lg transition-colors",onClick:()=>r(!1),children:c.label},c.to)),p.jsx(ge,{to:"/dispensaries",className:"mt-2 bg-primary text-white text-sm font-medium px-4 py-2.5 rounded-lg text-center",onClick:()=>r(!1),children:"Find a Store"})]})]}),s&&p.jsx(C.Suspense,{fallback:null,children:p.jsx(nE,{})}),p.jsx("main",{children:p.jsx(Bm,{})}),p.jsx(sE,{})]})}const Ze="https://ontariocanna.ca",ia={"@type":"Organization","@id":`${Ze}/#organization`,name:"OntarioCanna.ca",url:Ze,logo:{"@type":"ImageObject",url:`${Ze}/logo.png`,width:200,height:200},description:"Ontario's cannabis dispensary directory — verified listings, city guides, strain information, and editorial content. Based in Ontario, Canada.",foundingDate:"2022",areaServed:{"@type":"AdministrativeArea",name:"Ontario",addressCountry:"CA"},sameAs:["https://ontariocanna.ca","https://www.youtube.com/@OntarioCanna","https://www.pinterest.com/ontariocanna"],contactPoint:{"@type":"ContactPoint",contactType:"customer support",url:`${Ze}/contact`,areaServed:"CA-ON",availableLanguage:"English"}};function GC(){return{"@type":"WebSite","@id":`${Ze}/#website`,url:Ze,name:"OntarioCanna.ca",description:"Ontario cannabis dispensary directory. Find verified dispensaries across Ontario.",publisher:{"@id":`${Ze}/#organization`}}}function YC(){return ia}function oE(){return{"@type":"LocalBusiness","@id":`${Ze}
136/#localbusiness`,name:"OntarioCanna.ca — Cannabis Dispensary Directory",url:Ze,description:"Find licensed cannabis dispensaries across Ontario. Indica, Sativa, Hybrid, Edibles. Interac e-Transfer and crypto accepted. 19+.",areaServed:{"@type":"AdministrativeArea",name:"Ontario",addressCountry:"CA"},priceRange:"$$",image:`${Ze}/logo.png`,address:{"@type":"PostalAddress",addressRegion:"ON",addressCountry:"CA"},sameAs:ia.sameAs}}function aE(t){return{"@type":"BreadcrumbList",itemListElement:t.map((r,s)=>({"@type":"ListItem",position:s+1,name:r.name,item:r.url}))}}function JC({title:t,description:r,slug:s,publishDate:o,modifiedDate:l,author:u,imageUrl:c,keywords:f}){return{"@type":"BlogPosting","@id":`${Ze}/blog/${s}`,headline:t,description:r,url:`${Ze}/blog/${s}`,datePublished:o,dateModified:l||o,image:c?{"@type":"ImageObject",url:c}:void 0,keywords:f,author:{"@type":"Organization",name:u||"OntarioCanna Research Team",url:`${Ze}/authors/ontariocanna-research-team`},publisher:ia,mainEntityOfPage:{"@type":"WebPage","@id":`${Ze}/blog/${s}`},isPartOf:{"@id":`${Ze}/#website`}}}function XC({dispensary:t}){const r=`${Ze}/dispensary/${t.slug}`;return{"@type":"CannabisStore","@id":r,name:t.name,url:r,image:t.photos?.[0]||"https://images.unsplash.com/photo-1536782376847-5c9d14d97cc0?w=800&auto=format",description:t.description||`${t.name} is a licensed cannabis dispensary in ${t.city||"Ontario"}, Ontario.`,address:{"@type":"PostalAddress",streetAddress:t.address||"",addressLocality:t.city||"",addressRegion:"ON",addressCountry:"CA"},telephone:t.phone||void 0,openingHoursSpecification:t.hours?[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],opens:"09:00",closes:"21:00"}]:void 0,priceRange:"$$",sameAs:t.website?[t.website]:void 0}}function ZC({cityName:t,slug:r,province:s="Ontario",dispensaries:o=[]}){return{"@type":"CollectionPage","@id":`${Ze}/city/${r}`,name:`Cannabis Dispensaries in ${t}, ${s}`,description:`Find licensed cannabis dispensaries in ${t}, ${s}. Indica, Sativa, Hybrid strains, edibles, concentrates. Accepts Interac e-Transfer and crypto.`,url:`${Ze}/city/${r}`,publisher:ia,mainEntity:{"@type":"ItemList",itemListElement:o.slice(0,10).map((l,u)=>({"@type":"ListItem",position:u+1,name:l.name,url:`${Ze}/dispensary/${l.slug}`}))}}}function ek(t){return t?.length?{"@type":"FAQPage",mainEntity:t.map(r=>({"@type":"Question",name:r.question,acceptedAnswer:{"@type":"Answer",text:r.answer}}))}:null}const Yp=()=>p.jsx("div",{className:"min-h-[400px]"}),lE=C.lazy(()=>G(()=>import("./DispensaryCard-Qgcighd4.js"),__vite__mapDeps([0,1,2]))),uE=C.lazy(()=>G(()=>import("./YouTubeSection-GHRWxOl6.js"),__vite__mapDeps([3,4]))),cE=C.lazy(()=>G(()=>import("./SpinnerWheel-idRHibPp.js"),[])),Kr=["🌿","🌸","🍃","✨","🌱","🔥","💨","🔥","🌿","💫"];function dE(){const[t,r]=C.useState(""),s=Zo(),[o,l]=C.useState(!1),{data:u=[]}=Xs({queryKey:["dispensaries-featured"],queryFn:async()=>{const{base44:_}=await G(async()=>{const{base44:j}=await Promise.resolve().then(()=>No);return{base44:j}},void 0);return _.entities.Dispensary.filter({status:"active",featured:!0})},enabled:o}),{data:c=[]}=Xs({queryKey:["dispensaries-count"],queryFn:async()=>{const{base44:_}=await G(async()=>{const{base44:j}=await Promise.resolve().then(()=>No);return{base44:j}},void 0);return _.entities.Dispensary.filter({status:"active"})},enabled:o}),{data:f=[]}=Xs({queryKey:["city-pages-published"],queryFn:async()=>{const{base44:_}=await G(async()=>{const{base44:j}=await Promise.resolve().then(()=>No);return{base44:j}},void 0);return _.entities.CityPage.filter({status:"published"})},enabled:o}),{data:m=[]}=Xs({queryKey:["category-pages-published"],queryFn:async()=>{const{base44:_}=await G(async()=>{const{base44:j}=await Promise.resolve().then(()=>No);return{base44:j}},void 0);return _.entities.CategoryPage.filter({status:"published"})},enabled:o});C.useEffect(()=>{const _=setTimeout(()=>C.startTransition(()=>l(!0)),800);return()=>clearTimeout(_)},[]);const[g,v]=C.useState(null);C.useEffect(()=>{o&&G(()=>import("./cannabisImages-8COUli1v.js"),[]).then(_=>v(()=>_.getCannabisPhoto))},[o]);const x=C.useMemo(()=>g?u.slice(0,6).map((_,j)=>({..._,featured_image:g(_.slug||_.name,j)})):[],[u,g]);C.useEffect(()=>{if(x.length>0){const _=x[0].featured_image,j=document.createElement("link");j.rel="preload",j.as="image",j.href=`${_.split("?")[0]}?w=800&h=450&fit=crop&q=70&auto=format`,j.imagesrcset=`
137        ${_.split("?")[0]}?w=400&h=225&fit=crop&q=60&auto=webp 400w,
138        ${_.split("?")[0]}?w=800&h=450&fit=crop&q=70&auto=webp 800w
139      `.trim(),j.imagesizes="(max-width: 640px) 100vw, 800px",document.head.appendChild(j)}},[x]);const b=_=>{_.preventDefault(),s(`/dispensaries${t.trim()?`?city=${encodeURIComponent(t.trim())}`:""}`)};return p.jsxs("div",{children:[p.jsxs(ni,{children:[p.jsx("title",{children:"Ontario Cannabis Dispensaries Directory | OntarioCanna"}),p.jsx("meta",{name:"description",content:"Find cannabis dispensaries in Ontario. Indica, Sativa, Hybrid strains, edibles, concentrates. Interac e-Transfer and crypto. 19+"}),p.jsx("meta",{property:"og:title",content:"Ontario Cannabis Dispensaries Directory | OntarioCanna"}),p.jsx("meta",{property:"og:description",content:"Find cannabis dispensaries in Ontario. Indica, Sativa, Hybrid strains, edibles, concentrates. Interac e-Transfer and crypto. 19+"}),p.jsx("meta",{property:"og:url",content:"https://ontariocanna.ca/"}),p.jsx("meta",{name:"twitter:title",content:"Ontario Cannabis Dispensaries Directory | OntarioCanna"}),p.jsx("meta",{name:"twitter:description",content:"Find cannabis dispensaries in Ontario. Indica, Sativa, Hybrid strains, edibles, concentrates. Interac e-Transfer and crypto. 19+"}),p.jsx("meta",{name:"robots",content:"index, follow"}),p.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org",...oE()})}),p.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org",...aE([{name:"Home",url:"https://ontariocanna.ca/"},{name:"Cannabis Dispensaries Ontario",url:"https://ontariocanna.ca/dispensaries"}])})})]}),o&&p.jsxs("nav",{"aria-label":"Site directory",className:"sr-only",children:[p.jsx("p",{children:p.jsx("strong",{children:"OntarioCanna.ca — Ontario Cannabis Dispensaries Directory"})}),p.jsx("p",{children:"OntarioCanna is Ontario's most comprehensive cannabis dispensary directory. Browse AGCO-licensed cannabis dispensaries across Ontario. Find Indica, Sativa, Hybrid strains, Cannabis edibles, CBD and cannabis concentrates at verified Ontario dispensaries. All Ontario cannabis dispensaries accept Interac e-Transfer, Bitcoin (BTC), Ethereum (ETH), and USDT. Cannabis delivery available. Must be 19+ to purchase cannabis in Ontario, Canada."}),p.jsx("p",{children:p.jsx("strong",{children:"Ontario Regions & Cannabis Delivery Areas"})}),p.jsx("p",{children:"OntarioCanna serves cannabis customers across Greater Toronto Area (Toronto, Mississauga, Brampton, Ottawa), Golden Horseshoe (Hamilton, St. Catharines, Niagara Falls), and throughout Ontario including London, Kitchener, Windsor, and all Canadian provinces. Cannabis delivery available in most areas."}),p.jsx("p",{children:p.jsx("strong",{children:"Featured Ontario Cities with Cannabis Dispensaries"})}),p.jsxs("ul",{children:[p.jsx("li",{children:p.jsx("a",{href:"/city/toronto",children:"Cannabis Dispensaries in Toronto, Ontario"})}),p.jsx("li",{children:p.jsx("a",{href:"/city/ottawa",children:"Cannabis Dispensaries in Ottawa, Ontario"})}),p.jsx("li",{children:p.jsx("a",{href:"/city/mississauga",children:"Cannabis Dispensaries in Mississauga, Ontario"})}),p.jsx("li",{children:p.jsx("a",{href:"/city/hamilton",children:"Cannabis Dispensaries in Hamilton, Ontario"})}),p.jsx("li",{children:p.jsx("a",{href:"/city/brampton",children:"Cannabis Dispensaries in Brampton, Ontario"})}),p.jsx("li",{children:p.jsx("a",{href:"/city/london",children:"Cannabis Dispensaries in London, Ontario"})}),p.jsx("li",{children:p.jsx("a",{href:"/city/kitchener",children:"Cannabis Dispensaries in Kitchener, Ontario"})}),p.jsx("li",{children:p.jsx("a",{href:"/city/windsor",children:"Cannabis Dispensaries in Windsor, Ontario"})}),p.jsx("li",{children:p.jsx("a",{href:"/cities",children:"All Ontario cities with cannabis dispensaries"})})]}),p.jsx("p",{children:p.jsx("strong",{children:"Cannabis Product Categories at Ontario Dispensaries"})}),p.jsxs("ul",{children:[p.jsx("li",{children:p.jsx("a",{href:"/category/indica",children:"Indica Strains at Ontario Dispensaries"})}),p.jsx("li",{children:p.jsx("a",{href:"/category/sativa",children:"Sativa Strains at Ontario Dispensaries"})}),p.jsx("li",{children:p.jsx("a",{href:"/category/hybrid",children:"Hybrid Strains at Ontario Dispensaries"})}),p.jsx("li",{children:p.jsx("a",{href:"/category/edibles",children:"Cannabis Edibles at Ontario Dispensaries"})}),p.jsx("li",{children:p.jsx("a",{href:"/category/concentrates",children:"Cannabis Concentrates at Ontario Dispensaries"})}),p.jsx("li",{children:p.jsx("a",{href:"/category/cbd",children:"CBD Products at Ontario Dispensaries"})})]}),p.jsx("p",{children:p.jsx("strong",{children:"Payment Methods at Ontario Cannabis Dispensaries"})}),p.jsxs("ul",{children:[p.jsx("li",{children:p.jsx("a",{href:"/interac-etransfer",children:"Interac e-Transfer — most popular payment at Ontario cannabis dispensaries"})}),p.jsx("li",{children:p.jsx("a",{href:"/crypto-payments",children:"Bitcoin (BTC) — accepted at Ontario cannabis dispensaries"})}),p.jsx("li",{children:p.jsx("a",{href:"/crypto-payments",children:"Ethereum (ETH) — fast blockchain payments at Ontario dispensaries"})}),p.jsx("li",{children:p.jsx("a",{href:"/crypto-payments",children:"USDT (Tether) — stablecoin accepted at Ontario cannabis dispensaries"})})]}
139),p.jsx("p",{children:p.jsx("strong",{children:"Recent Cannabis Blog Posts"})}),p.jsxs("ul",{children:[p.jsx("li",{children:p.jsx("a",{href:"/blog/indica-vs-sativa-ontario-dispensary-shoppers-guide",children:"Indica vs Sativa: What Ontario Dispensary Shoppers Need to Know"})}),p.jsx("li",{children:p.jsx("a",{href:"/blog/best-indica-strains-toronto-dispensaries-2026",children:"Best Indica Strains at Toronto Dispensaries 2026"})}),p.jsx("li",{children:p.jsx("a",{href:"/blog/sativa-cannabis-ottawa-best-dispensaries-daytime-strains",children:"Sativa Cannabis in Ottawa — Best Dispensaries and Daytime Strains"})}),p.jsx("li",{children:p.jsx("a",{href:"/blog/interac-etransfer-cannabis-canada-how-it-works",children:"Interac e-Transfer Cannabis Canada — How It Works"})}),p.jsx("li",{children:p.jsx("a",{href:"/blog",children:"All cannabis guides and local news"})})]})]}),p.jsxs("section",{className:"relative overflow-hidden",children:[p.jsxs("div",{className:"absolute inset-0",children:[p.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_80%_60%_at_50%_-10%,hsl(155,50%,20%,0.35),transparent)]"}),p.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-primary/30 to-transparent"}),p.jsx("div",{className:"absolute inset-0 opacity-[0.025] grid-bg"})]}),p.jsxs("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 pt-12 sm:pt-20 pb-16 sm:pb-24 text-center",children:[p.jsxs("div",{className:"inline-flex items-center gap-2 border border-primary/25 bg-primary/5 text-primary text-[10px] sm:text-[11px] font-medium tracking-[0.12em] uppercase px-3 sm:px-4 py-1.5 rounded-full mb-4 sm:mb-8",children:[p.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary inline-block animate-pulse"}),"Ontario's #1 Cannabis Directory"]}),p.jsxs("h1",{className:"font-display text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold text-foreground leading-[1.1] sm:leading-[1.0] tracking-tight mb-4 sm:mb-6 max-w-4xl mx-auto",children:["Cannabis Dispensaries in Ontario "," ",p.jsx("span",{className:"italic text-primary",children:"Indica, Sativa, Hybrid & Edibles"})]}),p.jsx("p",{className:"text-muted-foreground text-sm sm:text-base md:text-lg mb-6 sm:mb-10 max-w-xl mx-auto leading-relaxed font-light",children:"Find verified cannabis dispensaries across Ontario. Browse cannabis strains (Indica, Sativa, Hybrid), cannabis edibles, cannabis concentrates, and CBD products. All Ontario dispensaries accept Interac e-Transfer and crypto. Same-day cannabis delivery available. 19+ only."}),p.jsx("p",{className:"text-primary text-xs sm:text-sm font-medium mb-4",style:{minHeight:"1.25rem"},children:c.length>0?`${c.length}+ verified dispensaries listed`:"Verified dispensaries listed"}),p.jsxs("form",{onSubmit:b,className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto mb-6 sm:mb-8 px-0",children:[p.jsxs("div",{className:"flex-1 relative",children:[p.jsx(Co,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground/60"}),p.jsx("input",{value:t,onChange:_=>r(_.target.value),placeholder:"Search by city...",className:"w-full bg-card/80 border border-border/80 rounded-xl pl-11 pr-4 py-3 sm:py-3.5 text-base sm:text-sm text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/60 focus:ring-1 focus:ring-primary/20 transition-all backdrop-blur-sm"})]}),p.jsxs("button",{type:"submit",className:"bg-primary text-white font-medium px-6 py-3 sm:py-3.5 rounded-xl hover:bg-primary/90 transition-colors flex items-center justify-center gap-2 whitespace-nowrap text-base sm:text-sm shadow-lg shadow-primary/20",children:[p.jsx(d0,{className:"w-4 h-4"}),p.jsx("span",{className:"sm:inline",children:"Search"})]})]}),p.jsx("div",{className:"flex flex-wrap gap-2 justify-center",style:{minHeight:"2rem"},children:f.length>0?p.jsxs(p.Fragment,{children:[f.slice(0,5).map(_=>p.jsx(ge,{to:`/city/${_.slug}`,className:"text-xs text-muted-foreground hover:text-foreground border border-border/60 hover:border-primary/30 bg-card/40 px-3 py-1.5 rounded-full transition-all hover:bg-primary/5",children:_.city_name},_.id)),f.length>5&&p.jsxs(ge,{to:"/cities",className:"text-xs text-primary hover:text-primary/80 border border-primary/20 hover:border-primary/40 bg-primary/5 px-3 py-1.5 rounded-full transition-all",children:["+",f.length-5," more cities"]})]}):p.jsxs(p.Fragment,{children:[["Toronto","Ottawa","Hamilton","Mississauga","Brampton"].map(_=>p.jsx(ge,{to:`/city/${_.toLowerCase()}`,className:"text-xs text-muted-foreground hover:text-foreground border border-border/60 hover:border-primary/30 bg-card/40 px-3 py-1.5 rounded-full transition-all hover:bg-primary/5",children:_},_)),p.jsx(ge,{to:"/cities",className:"text-xs text-primary hover:text-primary/80 border border-primary/20 hover:border-primary/40 bg-primary/5 px-3 py-1.5 rounded-full transition-all",children:"+more cities"})]})})]})]}),p.jsx("div",{className:"border-y border-border/60 bg-card/40",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-5 grid grid-cols-3 divide-x divide-border/60 text-center",children:[p.jsxs("div",{className:"px-4 sm:px-8",children:[p.jsx("div",{className:"text-xl sm:text-2xl font-display font-bold text-foreground tabular-nums",style:{minHeight:"1.75rem"},children:c.length>0?`${c.length}
139+`:"500+"}),p.jsx("div",{className:"text-[11px] text-muted-foreground tracking-wide mt-0.5",children:"Listed Dispensaries"})]}),p.jsxs("div",{className:"px-4 sm:px-8",children:[p.jsx("div",{className:"text-xl sm:text-2xl font-display font-bold text-foreground tabular-nums",style:{minHeight:"1.75rem"},children:f.length>0?`${f.length}+`:"80+"}),p.jsx("div",{className:"text-[11px] text-muted-foreground tracking-wide mt-0.5",children:"Ontario Cities"})]}),p.jsxs("div",{className:"px-4 sm:px-8",children:[p.jsx("div",{className:"text-xl sm:text-2xl font-display font-bold text-foreground tabular-nums",style:{minHeight:"1.75rem"},children:"2026"}),p.jsx("div",{className:"text-[11px] text-muted-foreground tracking-wide mt-0.5",children:"Updated"})]})]})}),p.jsxs("section",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-20",style:{minHeight:"400px"},children:[p.jsxs("div",{className:"flex items-end justify-between mb-10",children:[p.jsxs("div",{children:[p.jsx("p",{className:"text-[11px] font-medium tracking-[0.18em] uppercase text-primary mb-2",children:"Browse Locally"}),p.jsx("h2",{className:"font-display text-3xl sm:text-4xl font-bold text-foreground",children:"Cannabis Dispensaries in Ontario Cities"})]}),f.length>0&&p.jsxs(ge,{to:"/cities",className:"hidden sm:flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors group",children:["View all cities",p.jsx(Oh,{className:"w-3.5 h-3.5 group-hover:translate-x-0.5 transition-transform"})]})]}),p.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-3",style:{minHeight:"200px"},children:[o&&f.length===0&&[{city_name:"Toronto",slug:"toronto"},{city_name:"Ottawa",slug:"ottawa"},{city_name:"Mississauga",slug:"mississauga"},{city_name:"Hamilton",slug:"hamilton"},{city_name:"Brampton",slug:"brampton"},{city_name:"London",slug:"london"},{city_name:"Kitchener",slug:"kitchener"},{city_name:"Windsor",slug:"windsor"}].map(_=>p.jsxs(ge,{to:`/city/${_.slug}`,className:"group relative bg-card border border-border hover:border-primary/40 rounded-xl p-5 transition-all duration-200 hover:bg-primary/[0.04] overflow-hidden",style:{minHeight:"100px"},children:[p.jsx(Co,{className:"w-4 h-4 text-primary mb-3 opacity-70"}),p.jsx("div",{className:"font-semibold text-foreground group-hover:text-primary transition-colors text-sm leading-tight",children:_.city_name}),p.jsx("div",{className:"text-[11px] text-muted-foreground/60 mt-0.5 tracking-wide",children:"Ontario"})]},_.slug)),f.length>0&&f.slice(0,8).map(_=>p.jsxs(ge,{to:`/city/${_.slug}`,className:"group relative bg-card border border-border hover:border-primary/40 rounded-xl p-5 transition-all duration-200 hover:bg-primary/[0.04] overflow-hidden",style:{minHeight:"100px"},children:[p.jsx("div",{className:"absolute top-0 right-0 w-16 h-16 bg-primary/5 rounded-full -translate-y-8 translate-x-8 group-hover:scale-150 transition-transform duration-500"}),p.jsx(Co,{className:"w-4 h-4 text-primary mb-3 opacity-70"}),p.jsx("div",{className:"font-semibold text-foreground group-hover:text-primary transition-colors text-sm leading-tight",children:_.city_name}),p.jsx("div",{className:"text-[11px] text-muted-foreground/60 mt-0.5 tracking-wide",children:_.province||"Ontario"})]},_.id))]})]}),p.jsx("section",{className:"border-t border-border/60 bg-card/20",style:{minHeight:"580px"},children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-20",children:[p.jsxs("div",{className:"flex items-end justify-between mb-10",children:[p.jsxs("div",{children:[p.jsx("p",{className:"text-[11px] font-medium tracking-[0.18em] uppercase text-accent mb-2",children:"Editor's Selection"}),p.jsx("h2",{className:"font-display text-3xl sm:text-4xl font-bold text-foreground",children:"Featured Ontario Cannabis Dispensaries"})]}),u.length>0&&p.jsxs(ge,{to:"/dispensaries",className:"hidden sm:flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors group",children:["Browse all",p.jsx(nu,{className:"w-3.5 h-3.5 group-hover:translate-x-0.5 transition-transform"})]})]}),p.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",style:{minHeight:"300px"},children:[x.length>0&&p.jsx(C.Suspense,{fallback:p.jsx(Yp,{}),children:x.map((_,j)=>p.jsx(lE,{dispensary:_,index:j,priority:j<2},_.id))}),o&&x.length===0&&p.jsx(p.Fragment,{children:[{name:"The Herb Kitchen",city:"Toronto",category:"Flower, Edibles, Concentrates"},{name:"Green Leaf Dispensary",city:"Ottawa",category:"Sativa, Hybrid, CBD"},{name:"Cannabis Corner",city:"Mississauga",category:"Indica, Pre-rolls, Accessories"},{name:"Smoke & Mirrors",city:"Hamilton",category:"All Products"},{name:"Craft Cannabis Co",city:"Brampton",category:"Premium Strains"},{name:"The Cannabis Garden",city:"London",category:"Organic, Hybrid, Edibles"}].map((_,j)=>p.jsxs("div",{className:"bg-card border border-border rounded-xl overflow-hidden",children:[p.jsx("div",{className:"aspect-video bg-secondary animate-pulse"}),p.jsxs("div",{className:"p-4",children:[p.jsx("h3",{className:"font-display font-semibold text-foreground text-base",children:_.name}),p.jsxs("p",{className:"text-muted-foreground text-xs mt-2.5 leading-relaxed",children:[_.category," — ",_.city,", Ontario"]}),p.jsx("p",{className:"text-muted-foreground text-xs mt-2",children:"Interac e-Transfer, Bitcoin, Ethereum, USDT accepted"})]})]},j))})]}),u.length>6&&p.jsx("div",{className:"text-center mt-10",children:p.jsxs(ge,{to:"/dispensaries",className:"inline-flex items-center gap-2 border border-border hover:border-primary/40 text-foreground font-medium px-7 py-3 rounded-xl hover:bg-primary/5 transition-all text-sm",children:["View all ",c.length,"+ dispensaries ",p.jsx(Oh,{className:"w-4 h-4"})]})})]})}),p.jsx("section",{className:"border-y border-border/60 bg-card/30",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-10 flex flex-col sm:flex-row items-center justify-between gap-6",children:[p.jsxs("div",{className:"flex items-center gap-5",children:[p.jsxs("svg",{height:"44",viewBox:"0 0 220 60",xmlns:"http://www.w3.org/2000/svg","aria-label":"Interac e-Transfer",className:"shrink-0",children:[p.jsx("rect",{x:"0",y:"0",width:"220",height:"60",rx:"12",fill:"#FFD100"}),p.jsx("text",{x:"16",y:"38",fontFamily:"Arial Black, Arial, sans-serif",fontWeight:"900",fontSize:"26",fill:"#1A1A1A",letterSpacing:"-0.5",children:"interac"}),p.jsx("rect",{x:"130",y:"12",width:"76",height:"26",rx:"6",fill:"#1A1A1A"}),p.jsx("text",{x:"142",y:"30",fontFamily:"Arial, sans-serif",fontWeight:"700",fontSize:"11",fill:"#FFD100",children:"e-Transfer"})]}),p.jsxs("div",{children:[p.jsx("div",{className:"font-semibold text-foreground text-sm",children:"Interac e-Transfer Accepted"}),p.jsx("div",{className:"text-muted-foreground text-xs mt-0.5",children:"Fast, secure, bank-to-bank payments at Ontario cannabis dispensaries"})]})]}),p.jsx(ge,{to:"/interac-etransfer",className:"shrink-0 border border-border text-foreground text-sm font-medium px-5 py-2.5 rounded-xl hover:bg-secondary/50 hover:border-primary/30 transition-all whitespace-nowrap",children:"Learn More →"})]})}),o&&p.jsx(C.Suspense,{fallback:p.jsx(Yp,{}),children:p.jsx(uE,{})}),o&&p.jsx(C.Suspense,{fallback:p.jsx("div",{className:"min-h-[640px]"}),children:p.jsx(cE,{})}),p.jsxs("section",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-20",children:[p.jsxs("div",{className:"mb-10",children:[p.jsx("p",{className:"text-[11px] font-medium tracking-[0.18em] uppercase text-primary mb-2",children:"Shop by Type"}),p.jsx("h2",{className:"font-display text-3xl sm:text-4xl font-bold text-foreground",children:"Browse Cannabis Product Categories"})]}),p.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-4",style:{minHeight:"300px"},children:[o&&m.length===0&&[{name:"Indica Strains",slug:"indica",intro:"Relaxing cannabis for evening use and pain relief"},{name:"Sativa Strains",slug:"sativa",intro:"Uplifting cannabis for daytime creativity and energy"},{name:"Hybrid Strains",slug:"hybrid",intro:"Balanced effects comb
139ining Indica and Sativa genetics"},{name:"Cannabis Edibles",slug:"edibles",intro:"Gummies, brownies, drinks, and infused products"},{name:"Concentrates",slug:"concentrates",intro:"High-potency extracts: shatter, live resin, hash"},{name:"CBD Products",slug:"cbd",intro:"Non-intoxicating cannabinoid for wellness and relief"}].map((_,j)=>p.jsxs(ge,{to:`/category/${_.slug}`,className:"group relative bg-card border border-border hover:border-primary/40 rounded-xl p-6 transition-all duration-200 hover:bg-primary/[0.04] overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),p.jsx("div",{className:"text-2xl mb-3",children:Kr[j%Kr.length]}),p.jsx("h3",{className:"font-display font-semibold text-foreground group-hover:text-primary transition-colors text-base",children:_.name}),p.jsx("p",{className:"text-muted-foreground text-xs mt-1.5 line-clamp-2 leading-relaxed",children:_.intro})]},_.slug)),m.length>0&&m.map((_,j)=>p.jsxs(ge,{to:`/category/${_.slug}`,className:"group relative bg-card border border-border hover:border-primary/40 rounded-xl p-6 transition-all duration-200 hover:bg-primary/[0.04] overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),p.jsxs("div",{className:"text-2xl mb-3",children:[p.jsx("span",{style:{display:"inline-block"},className:"supports-animation:hidden sm:supports-animation:inline",children:Kr[j%Kr.length]}),p.jsx("span",{className:"sm:hidden",style:{display:"inline-block"},children:Kr[j%Kr.length]})]}),p.jsx("h3",{className:"font-display font-semibold text-foreground group-hover:text-primary transition-colors text-base",children:_.name}),_.intro&&p.jsx("p",{className:"text-muted-foreground text-xs mt-1.5 line-clamp-2 leading-relaxed",children:_.intro}),p.jsxs("div",{className:"flex items-center gap-1 text-primary text-xs mt-4 opacity-0 group-hover:opacity-100 transition-all translate-y-1 group-hover:translate-y-0",children:["Explore ",p.jsx(nu,{className:"w-3 h-3"})]})]},_.id))]})]}),o&&p.jsxs(p.Fragment,{children:[p.jsx("section",{className:"border-t border-border/60 bg-card/10",children:p.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-20",children:p.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-16",children:[p.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[p.jsxs("div",{children:[p.jsx("h2",{className:"font-display text-2xl sm:text-3xl font-bold text-foreground mb-4",children:"Ontario Cannabis Dispensaries - Indica, Sativa and Hybrid Strains"}),p.jsxs("p",{className:"text-muted-foreground leading-relaxed",children:["OntarioCanna.ca lists cannabis dispensaries in Ontario cities across the province. Whether you are searching for ",p.jsx(ge,{to:"/category/indica",className:"text-primary hover:underline",children:"Indica strains"})," for a relaxing evening, ",p.jsx(ge,{to:"/category/sativa",className:"text-primary hover:underline",children:"Sativa strains"})," for daytime energy, or premium ",p.jsx(ge,{to:"/category/hybrid",className:"text-primary hover:underline",children:"Hybrid strains"})," — Ontario dispensaries carry a full selection. All Ontario cannabis dispensaries listed here accept Interac e-Transfer and cryptocurrency payments."]})]}),p.jsxs("div",{children:[p.jsx("h3",{className:"font-display text-xl font-semibold text-foreground mb-3",children:"Ontario Cannabis Dispensaries - Payment Methods"}),p.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"All cannabis dispensaries in Ontario listed here accept Interac e-Transfer — the most popular payment method at Ontario dispensaries. Because banks restrict cannabis merchant accounts, Ontario cannabis dispensaries rely on Interac e-Transfer for fast, secure bank-to-bank payments. Ontario dispensaries also accept Bitcoin (BTC), Ethereum (ETH), and USDT for customers who prefer blockchain-based transactions."}),p.jsx("p",{className:"text-muted-foreground leading-relaxed mt-3",children:"Cannabis dispensaries in Ontario carry a wide selection of strains at every price point — Indica, Sativa, and Hybrid flower, pre-rolls, edibles (gummies, chocolates, beverages), concentrates (shatter, live resin, hash), CBD oils and topicals, vape cartridges, and accessories. Many Ontario dispensaries stock exclusive craft cannabis brands not available at the OCS, providing customers with unique, high-quality products."})]}),p.jsxs("div",{children:[p.jsx("h3",{className:"font-display text-xl font-semibold text-foreground mb-3",children:"Cannabis Strains at Ontario Dispensaries"}),p.jsxs("p",{className:"text-muted-foreground leading-relaxed",children:[p.jsx("strong",{className:"text-foreground",children:"Indica strains at Ontario dispensaries"})," are the most popular category. Ontario dispensaries carry Indica strains known for relaxing, body-heavy effects — ideal for evening use and pain relief. Top Indica strains at Ontario cannabis dispensaries include Romulan, Pink Kush, Death Bubba, and Northern Lights, all delivering deep, soothing effects."]}),p.jsxs("p",{className:"text-muted-foreground leading-relaxed mt-3",children:[p.jsx("strong",{className:"text-foreground",children:"Sativa strains at Ontario dispensaries"})," deliver uplifting, cerebral effects. Ontario dispensaries recommend Sativa strains for daytime use, creative work, and socializing. Popular Sativa strains at Ontario cannabis dispensaries include Green Crack, Jack Herer, Durban Poison, and Sour Diesel, all known for their energizing and euphoric properties."]}),p.jsxs("p",{className:"text-muted-foreground leading-relaxed mt-3",children:[p.jsx("strong",{className:"text-foreground",children:"Hybrid strains at Ontario dispensaries"})," combine Indica and Sativa genetics for balanced effects that appeal to both recreational and medical users. Cannabis dispensaries in Ontario carry hundreds of Hybrid strains ranging from Indica-dominant to Sativa-dominant options. Well-known hybrids at Ontario cannabis dispensaries include Blue Dream, Wedding Cake, OG Kush, and Gelato, each offering unique flavor profiles and effects."]})]})]}),p.jsxs("div",{className:"space-y-8",children:[p.jsxs("div",{className:"bg-card border border-border rounded-xl p-6",children:[p.jsx("h3",{className:"font-display text-lg font-semibold text-foreground mb-4",children:"Ontario Dispensaries by City"}),p.jsxs("ul",{className:"space-y-2.5",children:[[{city:"Toronto",slug:"toronto"},{city:"Ottawa",slug:"ottawa"},{city:"Mississauga",slug:"mississauga"},{city:"Hamilton",slug:"hamilton"},{city:"Brampton",slug:"brampton"},{city:"London",slug:"london"},{city:"Kitchener",slug:"kitchener"},{city:"Windsor",slug:"windsor"}].map(({city:_,slug:j})=>p.jsx("li",{children:p.jsxs(ge,{to:`/city/${j}`,className:"text-sm text-muted-foreground hover:text-primary transition-colors flex items-center gap-2",children:[p.jsx(Co,{className:"w-3 h-3 shrink-0 text-primary/60"}),"Cannabis Dispensaries in ",_]})},j)),p.jsx("li",{children:p.jsxs(ge,{to:"/cities",className:"text-sm text-primary font-medium hover:underline flex items-center gap-1 mt-1",children:["View all Ontario cities ",p.jsx(nu,{className:"w-3 h-3"})]})})]})]}),p.jsxs("div",{className:"bg-card border border-border rounded-xl p-6",children:[p.jsx("h3",{className:"font-display text-lg font-semibold text-foreground mb-4",children:"Shop by Cannabis Type"}),p.jsx("ul",{className:"space-y-2.5",children:[{label:"Indica Strains",slug:"indica"},{label:"Sativa Strains",slug:"sativa"},{label:"Hybrid Strains",slug:"hybrid"},{label:"Cannabis Edibles",slug:"edibles"},{label:"Concentrates and Extracts",slug:"concentrates"},{label:"CBD Products",slug:"cbd"}].map(({label:_,slug:j})=>p.jsx("li",{children:p.jsxs(ge,{to:`/category/${j}`,className:"text-sm text-muted-foreground hover:text-primary transition-colors",children:[_," at Ontario Dispensaries"]})},j))})]}),p.jsxs("div",{className:"bg-card border border-border rounded-xl p-6",children:[p.jsx("h3",{className:"font-display text-lg font-semibold text-foreground mb-3",children:"Payment Methods"}),p.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed mb-3",children:"Ontario cannabis dispensaries in our directory accept:"}),p.jsxs("ul",{className:"space-y-1.5 text-xs text-muted-foreground",children:[p.jsxs("li",{children:["✓ ",p.jsx(ge,{to:"/interac-etransfer",className:"hover:text-primary transition-colors",children:"Interac e-Transfer"})]}),p.jsxs("li",{children:["✓ ",p.jsx(ge,{to:"/crypto-payments",className:"hover:text-primary transition-colors",children:"Bitcoin (BTC)"})]}),p.jsxs("li",{children:["✓ ",p.jsx(ge,{to:"/crypto-payments",className:"hover:text-primary transition-colors",children:"Ethereum (ETH)"})]}),p.jsxs("li",{children:["✓ ",p.jsx(ge,{to:"/crypto-payments",className:"hover:text-primary transition-colors",children:"USDT (Tether)"})]})]})]})]})]})})}),p.jsxs("section",{className:"mb-10 max-w-5xl mx-auto px-4 sm:px-6",children:[p.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-6",children:"OntarioCanna Complete Directory — Cannabis Guides, Cities & Dispensaries"}),p.jsxs("div",{className:"bg-card border border-border rounded-xl p-6 mb-6",children:[p.jsx("h3",{className:"font-semibold text-foreground text-sm mb-4",children:"Cannabis Buying Guides & How-To"}),p.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:[{label:"Ontario Cannabis Guide 2026",to:"/ontario-cannabis-guide"},{label:"Buy Cannabis Online Ontario",to:"/buy-cannabis-online-ontario"},{label:"Weed Delivery Ontario",to:"/weed-delivery-ontario"},{label:"Cannabis Dispensaries Near Me",to:"/cannabis-dispensaries-near-me"},{label:"Best Cannabis Deals Ontario",to:"/best-cannabis-deals-ontario"},{label:"Cheap Weed Ontario",to:"/cheap-weed-ontario"},{label:"Best Online Dispensaries Canada",to:"/best-online-dispensaries-canada"},{label:"Best Cannabis Dispensaries Ontario",to:"/best-cannabis-dispensaries-ontario"},{label:"Cannabis Delivery Ontario",to:"/cannabis-delivery-ontario"},{label:"Buy Cannabis Online Canada",to:"/buy-cannabis-online-canad
139a"},{label:"Interac e-Transfer Payments",to:"/interac-etransfer"},{label:"Crypto Payments (BTC, ETH, USDT)",to:"/crypto-payments"}].map(_=>p.jsxs(ge,{to:_.to,className:"text-xs text-primary hover:underline py-1",children:["→ ",_.label]},_.to))})]}),p.jsxs("div",{className:"bg-card border border-border rounded-xl p-6 mb-6",children:[p.jsx("h3",{className:"font-semibold text-foreground text-sm mb-4",children:"Find Cannabis Dispensaries by Ontario City (50+ Cities)"}),p.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-2 text-xs mb-4",children:["Toronto","Ottawa","Mississauga","Hamilton","Brampton","London","Kitchener","Windsor","Niagara Falls","Oakville","St. Catharines","Cambridge","Guelph","Thunder Bay","Sudbury","Barrie","Kingston","Waterloo","Oshawa","Richmond Hill","Markham","Newmarket","Pickering","Ajax","Whitby","Belleville","Peterborough","Brantford","Sarnia","Sault Ste Marie","North Bay","Timmins","Kenora","Nipissing","Cobourg","Kawartha Lakes","Muskoka","Parry Sound","Haliburton","Welland","Thorold","Port Colborne","Trenton","Belleville","Napanee","Dryden","Fort Frances"].sort().slice(0,50).map(_=>p.jsx(ge,{to:`/city/${_.toLowerCase().replace(/\s+/g,"-")}`,className:"text-primary hover:underline",children:_},_))}),p.jsx(ge,{to:"/cities",className:"text-primary hover:underline font-medium text-xs",children:"View all 100+ Ontario cities →"})]}),p.jsxs("div",{className:"bg-card border border-border rounded-xl p-6",children:[p.jsx("h3",{className:"font-semibold text-foreground text-sm mb-4",children:"Cannabis Strains, Products & Resources"}),p.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2 text-xs",children:[{label:"Indica Strains",to:"/category/indica"},{label:"Sativa Strains",to:"/category/sativa"},{label:"Hybrid Strains",to:"/category/hybrid"},{label:"CBD Products",to:"/category/cbd"},{label:"Cannabis Edibles",to:"/category/edibles"},{label:"Cannabis Concentrates",to:"/category/concentrates"},{label:"OntarioCanna Blog",to:"/blog"},{label:"About OntarioCanna",to:"/about"},{label:"Contact Us",to:"/contact"},{label:"Research Methodology",to:"/research-methodology"},{label:"Editorial Policy",to:"/editorial-policy"},{label:"How We Verify",to:"/how-we-verify-dispensaries"},{label:"Author Team",to:"/authors/ontariocanna-research-team"}].map(_=>p.jsxs(ge,{to:_.to,className:"text-primary hover:underline py-1",children:["→ ",_.label]},_.to))})]})]}),p.jsxs("section",{className:"mb-10 max-w-5xl mx-auto px-4 sm:px-6 bg-primary/5 border border-primary/20 rounded-xl p-6 sm:p-8",children:[p.jsx("h2",{className:"font-display text-xl font-bold text-foreground mb-6 text-center",children:"How OntarioCanna.ca Builds Trust"}),p.jsxs("div",{className:"grid sm:grid-cols-3 gap-6",children:[p.jsxs("div",{className:"text-center",children:[p.jsx("p",{className:"font-semibold text-foreground mb-2",children:"Verified Dispensaries"}),p.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-4",children:"Every cannabis retailer is manually verified before being listed on our directory."}),p.jsx(ge,{to:"/editorial-policy",className:"text-primary hover:underline text-sm font-medium",children:"Learn how we verify →"})]}),p.jsxs("div",{className:"text-center",children:[p.jsx("p",{className:"font-semibold text-foreground mb-2",children:"Expert-Written"}),p.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-4",children:"All cannabis guides are written by experienced Ontario cannabis researchers."}),p.jsx(ge,{to:"/authors/ontariocanna-research-team",className:"text-primary hover:underline text-sm font-medium",children:"Meet the team →"})]}),p.jsxs("div",{className:"text-center",children:[p.jsx("p",{className:"font-semibold text-foreground mb-2",children:"Editorial Independence"}),p.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-4",children:"Dispensary rankings are never influenced by payment or sponsorship."}),p.jsx(ge,{to:"/editorial-policy",className:"text-primary hover:underline text-sm font-medium",children:"Our policy →"})]})]})]})]}),o&&u.length===0&&f.length===0&&p.jsxs("div",{className:"max-w-lg mx-auto text-center py-28 px-4",children:[p.jsx("div",{className:"w-16 h-16 bg-primary/10 border border-primary/20 rounded-2xl flex items-center justify-center mx-auto mb-6",children:p.jsx(o0,{className:"w-7 h-7 text-primary"})}),p.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-3",children:"Directory is getting ready"}),p.jsx("p",{className:"text-muted-foreground text-sm mb-8 leading-relaxed",children:"Check back soon for more dispensaries and cities across Ontario."})]})]})}const fE=C.lazy(()=>G(()=>import("./GlobalSchema-3VWtkv4d.js"),[])),hE=C.lazy(()=>G(()=>import("./PerformanceOptimizer-CHkgzxTh.js"),[])),pE=C.lazy(()=>G(()=>import("./AdminLayout-D_wrfuik.js"),__vite__mapDeps([5,6,7,8,9,10,11,12,13,14,15,16,17,18]))),mE=()=>p.jsx("div",{className:"fixed inset-0 flex items-center justify-center bg-background",children:p.jsx("div",{className:"w-8 h-8 border-4 border-muted border-t-primary rounded-full animate-spin"})});function yE(){const[t,r]=C.useState(!1);return C.useEffect(()=>{const s=setTimeout(()=>r(!0),2e3);return()=>clearTimeout(s)},[]),t?p.jsxs(p.Fragment,{children:[p.jsx(C.Suspense,{fallback:null,children:p.jsx(fE,{})}),p.jsx(C.Suspense,{fallback:null,children:p.jsx(hE,{})})]}):null}const gE=C.lazy(()=>G(()=>import("./Login-DBgNe_MM.js"),__vite__mapDeps([19,20,21,22,23,24]))),vE=C.lazy(()=>G(()=>import("./Register-TCFMFS6B.js"),__vite__mapDeps([25,20,21,22,23,24]))),xE=C.lazy(()=>G(()=>import("./ForgotPassword-DubTpjBF.js"),__vite__mapDeps([26,20,21,22,23]))),wE=C.lazy(()=>G(()=>import("./ResetPassword-C64uyoh6.js"),__vite__mapDeps([27,20,21,22,23]))),bE=C.lazy(()=>G(()=>import("./DispensaryList-dYufau4I.js"),__vite__mapDeps([28,0,1,2]))),_E=C.lazy(()=>G(()=>import("./DispensaryDetail-ji6nrhlm.js"),__vite__mapDeps([29,6,8,30,31,32,33,2,1,34,35,4,12,36,11,37]))),SE=C.lazy(()=>G(()=>import("./CityList-D9UEd9OK.js"),[])),EE=C.lazy(()=>G(()=>import("./CityPageView-NDwLjeCM.js"),__vite__mapDeps([38,1,2,0,6,8,30,39,36,32,14,33,40,34,35,41,42,43]))),CE=C.lazy(()=>G(()=>import("./CategoryPageView-D5JObnob.js"),__vite__mapDeps([44,0,1,2,43,34,35]))),kE=C.lazy(()=>G(()=>import("./BlogIndex-lENt5rRs.js"),__vite__mapDeps([45,1,2,30,18,8,46]))),OE=C.lazy(()=>G(()=>import("./BlogPostView-CUUeYWpy.js"),__vite__mapDeps([47,1,2,0,18,30,6,8,34,48,46,49,50,51,52]))),TE=C.lazy(()=>G(()=>import("./About-C8JNiy1J.js"),__vite__mapDeps([53,41,30,54,51]))),RE=C.lazy(()=>G(()=>import("./AboutOntarioCanna-BjcZE_95.js"),__vite__mapDeps([55,50,14,54]))),PE=C.lazy(()=>G(()=>import("./EditorialPolicyDetail-BQPWWmS8.js"),__vite__mapDeps([56,50,57,7]))),jE=C.lazy(()=>G(()=>import("./HowWeVerifyDispensaries-Cj8zR58G.js"),__vite__mapDeps([58,14,50]))),AE=C.lazy(()=>G(()=>import("./Contact-Y62vs3Yr.js"),__vite__mapDeps([59,51,60]))),NE=C.lazy(()=>G(()=>import("./PrivacyPolicy-BuamI06a.js"),[])),LE=C.lazy(()=>G(()=>import("./InteracETransfer-BDLnUQdw.js"),__vite__mapDeps([61,62,41,36,63,42,43]))),DE=C.lazy(()=>G(()=>import("./CryptoPayments-5DTNUiYb.js"),__vite__mapDeps([64,62,12,63,37,41,36,42,43]))),IE=C.lazy(()=>G(()=>import("./BuyCannabisOntario-TBV4zB-_.js"),__vite__mapDeps([65,0,1,2,41,32,12]))
139),ME=C.lazy(()=>G(()=>import("./WeedDeliveryOntario-B4LMVRuT.js"),__vite__mapDeps([66,0,1,2,36,39]))),FE=C.lazy(()=>G(()=>import("./CannabisNearMe-0NqEjDVs.js"),__vite__mapDeps([67,0,1,2,31]))),UE=C.lazy(()=>G(()=>import("./BestCannabisDeals-B_Q0t4Dn.js"),__vite__mapDeps([68,0,1,2,12,8]))),zE=C.lazy(()=>G(()=>import("./CheapWeedOntario-DDYCWo1V.js"),__vite__mapDeps([69,0,1,2,8,12]))),BE=C.lazy(()=>G(()=>import("./BestOnlineDispensariesCanada-CY6jGcdM.js"),__vite__mapDeps([70,0,1,2,40,39,32,33,11,50]))),$E=C.lazy(()=>G(()=>import("./OntarioCannabisGuide-CLgW6dXW.js"),__vite__mapDeps([71,32,39]))),VE=C.lazy(()=>G(()=>import("./BestDispensariesOntario-BUuzYv4e.js"),__vite__mapDeps([72,0,1,2,14,33,32]))),HE=C.lazy(()=>G(()=>import("./ResearchMethodology-B400GEQs.js"),__vite__mapDeps([73,50,30,74,54,57]))),qE=C.lazy(()=>G(()=>import("./SourcesCitations-DTLS8R-5.js"),__vite__mapDeps([75,11,4]))),WE=C.lazy(()=>G(()=>import("./CannabisDeliveryOntario-AwbGTZUA.js"),__vite__mapDeps([76,0,1,2,32,39,36,50,41]))),QE=C.lazy(()=>G(()=>import("./BuyCannabisCanada-D6kM4nyE.js"),__vite__mapDeps([77,0,1,2,32,39,14,11,50]))),KE=C.lazy(()=>G(()=>import("./AuthorPage-DTh7TKBE.js"),__vite__mapDeps([78,1,46,49,41,30,51]))),GE=C.lazy(()=>G(()=>import("./Dashboard-tDZXv-ga.js"),__vite__mapDeps([79,23,15,7,80,17,6,8,36,50,13,81]))),YE=C.lazy(()=>G(()=>import("./ManageDispensaries-BoQ3dZKp.js"),__vite__mapDeps([82,83,84,13,85,86,81,4,87,88]))),JE=C.lazy(()=>G(()=>import("./ManageBlogPosts-ctVGVyJb.js"),__vite__mapDeps([89,83,17,42,43,6,90,91,62,13,84,85,87,88]))),XE=C.lazy(()=>G(()=>import("./ManageCityPages-Byo6_l-v.js"),__vite__mapDeps([92,83,84,13,85,62,57,86,81,87,88]))),ZE=C.lazy(()=>G(()=>import("./ManageCategoryPages-DoEC7gGM.js"),__vite__mapDeps([93,83,85,87,88]))),eC=C.lazy(()=>G(()=>import("./ManageDeals-S8QSpjIM.js"),__vite__mapDeps([94,83,85,87,88]))),tC=C.lazy(()=>G(()=>import("./ManageStrains-BbBrtrOd.js"),__vite__mapDeps([95,83,85,87,88]))),nC=C.lazy(()=>G(()=>import("./ManageReviews-C5dNZYIH.js"),__vite__mapDeps([96,83,36,50,88]))),rC=C.lazy(()=>G(()=>import("./DispensaryDetail-6imKScbB.js"),__vite__mapDeps([97,83,35,85,88]))),sC=C.lazy(()=>G(()=>import("./Sitemap-CoyKyKmo.js"),__vite__mapDeps([98,9,11,99,7,8,6,62,90]))),iC=C.lazy(()=>G(()=>import("./Analytics-DomKbyl1.js"),__vite__mapDeps([100,11,15,36,80]))),oC=C.lazy(()=>G(()=>import("./SEOSummary-D65R3g2V.js"),__vite__mapDeps([101,15,80,62,57]))),aC=C.lazy(()=>G(()=>import("./SearchConsole-BN4bPAFW.js"),__vite__mapDeps([102,10,62,57,12,103,13]))),lC=C.lazy(()=>G(()=>import("./RecommendedKeywords-D7yKxD16.js"),__vite__mapDeps([104,74,32,15]))),uC=C.lazy(()=>G(()=>import("./CoreWebVitals-CmSsdP59.js"),__vite__mapDeps([105,12]))),cC=C.lazy(()=>G(()=>import("./BrokenLinks-BpZyOf_Z.js"),__vite__mapDeps([106,13,62]))),dC=C.lazy(()=>G(()=>import("./Cloaking-Du-Jc36J.js"),__vite__mapDeps([107,14,11,86,13]))),fC=C.lazy(()=>G(()=>import("./SEOAutomation-BCr7Ajg7.js"),__vite__mapDeps([108,7,57,12,15,99,9,17,36,62]))),hC=C.lazy(()=>G(()=>import("./SEOCopilot-C-DFvhDa.js"),__vite__mapDeps([109,23,16,10,7,8,99,12,60,52]))),pC=C.lazy(()=>G(()=>import("./BacklinkOutreach-DntXejez.js"),__vite__mapDeps([110,15,11,62,60,12,99,85,4,111,88]))),mC=C.lazy(()=>G(()=>import("./ManageOwnerClaims-CzjIWx1Q.js"),__vite__mapDeps([112,21,48,36,62,51,103]))),yC=C.lazy(()=>G(()=>import("./SoroBlogSync-CTbE4xEw.js"),__vite__mapDeps([113,21,4,99,103,62,57,85,111,46]))),gC=C.lazy(()=>G(()=>import("./ContentClusters-QZEVeonk.js"),__vite__mapDeps([114,21,103,12,18,62,57,30,4]))),vC=C.lazy(()=>G(()=>import("./OwnerLogin-XiTdhgvV.js"),__vite__mapDeps([115,20,21,22,23]))),xC=C.lazy(()=>G(()=>import("./OwnerDashboard-DNKLqbnv.js"),__vite__mapDeps([116,21,23,103,57,86,12,111]))),wC=C.lazy(()=>G(()=>import("./OwnerProfile-EW-6NS_Y.js"),__vite__mapDeps([117,21,22,23,103,91,88,85]))),bC=()=>{const{authError:t,navigateToLogin:r}=Ay();if(t){if(t.type==="user_not_registered")return p.jsx(Ny,{});if(t.type==="auth_required")return r(),null}return p.jsx(C.Suspense,{fallback:p.jsx(mE,{}),children:p.jsxs(Iw,{children:[p.jsx(Z,{path:"/login",element:p.jsx(gE,{})}),p.jsx(Z,{path:"/register",element:p.jsx(vE,{})}),p.jsx(Z,{path:"/forgot-password",element:p.jsx(xE,{})}),p.jsx(Z,{path:"/reset-password",element:p.jsx(wE,{})}),p.jsx(Z,{path:"/owner/login",element:p.jsx(vC,{})}),p.jsxs(Z,{element:p.jsx(Gp,{unauthenticatedElement:p.jsx(iu,{to:"/owner/login",replace:!0})}),children:[p.jsx(Z,{path:"/owner/dashboard",element:p.jsx(xC,{})}),p.jsx(Z,{path:"/owner/dispensary/:ownerId",element:p.jsx(wC,{})})]}),p.jsxs(Z,{element:p.jsx(iE,{}),children:[p.jsx(Z,{path:"/",element:p.jsx(dE,{})}),p.jsx(Z,{path:"/dispensaries",element:p.jsx(bE,{})}),p.jsx(Z,{path:"/dispensary/:slug",element:p.jsx(_E,{})}),p.jsx(Z,{path:"/cities",element:p.jsx(SE,{})}),p.jsx(Z,{path:"/city/:slug",element:p.jsx(EE,{})}),p.jsx(Z,{path:"/category",element:p.jsx(iu,{to:"/dispensaries",replace:!0})}),p.jsx(Z,{path:"/category/:slug",element:p.jsx(CE,{})}),p.jsx(Z,{path:"/blog",element:p.jsx(kE,{})}),p.jsx(Z,{path:"/blog/:slug",element:p.jsx(OE,{})}),p.jsx(Z,{path:"/about",element:p.jsx(TE,{})}),p.jsx(Z,{path:"/about-ontariocanna",element:p.jsx(RE,{})}),p.jsx(Z,{path:"/editorial-policy",element:p.jsx(PE,{})}),p.jsx(Z,{path:"/how-we-verify-dispensaries",element:p.jsx(jE,{})}),p.jsx(Z,{path:"/contact",element:p.jsx(AE,{})}),p.jsx(Z,{path:"/privacy-policy",element:p.jsx(NE,{})}),p.jsx(Z,{path:"/interac-etransfer",element:p.jsx(LE,{})}),p.jsx(Z,{path:"/crypto-payments",element:p.jsx(DE,{})}),p.jsx(Z,{path:"/buy-cannabis-online-ontario",element:p.jsx(IE,{})}),p.jsx(Z,{path:"/weed-delivery-ontario",element:p.jsx(ME,{})}),p.jsx(Z,{path:"/cannabis-dispensaries-near-me",element:p.jsx(FE,{})}),p.jsx(Z,{path:"/best-cannabis-deals-ontario",element:p.jsx(UE,{})}),p.jsx(Z,{path:"/cheap-weed-ontario",element:p.jsx(zE,{})}),p.jsx(Z,{path:"/best-online-dispensaries-canada",element:p.jsx(BE,{})}),p.jsx(Z,{path:"/ontario-cannabis-guide",element:p.jsx($E,{})}),p.jsx(Z,{path:"/best-cannabis-dispensaries-ontario",element:p.jsx(VE,{})}),p.jsx(Z,{path:"/cannabis-delivery-ontario",element:p.jsx(WE,{})}
139),p.jsx(Z,{path:"/buy-cannabis-online-canada",element:p.jsx(QE,{})}),p.jsx(Z,{path:"/authors/ontariocanna-research-team",element:p.jsx(KE,{})}),p.jsx(Z,{path:"/research-methodology",element:p.jsx(HE,{})}),p.jsx(Z,{path:"/sources-citations",element:p.jsx(qE,{})})]}),p.jsx(Z,{element:p.jsx(Gp,{unauthenticatedElement:p.jsx(iu,{to:"/login?next=/admin",replace:!0})}),children:p.jsxs(Z,{element:p.jsx(pE,{}),children:[p.jsx(Z,{path:"/admin",element:p.jsx(GE,{})}),p.jsx(Z,{path:"/admin/dispensaries",element:p.jsx(YE,{})}),p.jsx(Z,{path:"/admin/dispensaries/:id",element:p.jsx(rC,{})}),p.jsx(Z,{path:"/admin/blog",element:p.jsx(JE,{})}),p.jsx(Z,{path:"/admin/cities",element:p.jsx(XE,{})}),p.jsx(Z,{path:"/admin/categories",element:p.jsx(ZE,{})}),p.jsx(Z,{path:"/admin/deals",element:p.jsx(eC,{})}),p.jsx(Z,{path:"/admin/strains",element:p.jsx(tC,{})}),p.jsx(Z,{path:"/admin/reviews",element:p.jsx(nC,{})}),p.jsx(Z,{path:"/admin/sitemap",element:p.jsx(sC,{})}),p.jsx(Z,{path:"/admin/analytics",element:p.jsx(iC,{})}),p.jsx(Z,{path:"/admin/seo",element:p.jsx(oC,{})}),p.jsx(Z,{path:"/admin/search-console",element:p.jsx(aC,{})}),p.jsx(Z,{path:"/admin/keywords",element:p.jsx(lC,{})}),p.jsx(Z,{path:"/admin/web-vitals",element:p.jsx(uC,{})}),p.jsx(Z,{path:"/admin/broken-links",element:p.jsx(cC,{})}),p.jsx(Z,{path:"/admin/cloaking",element:p.jsx(dC,{})}),p.jsx(Z,{path:"/admin/seo-automation",element:p.jsx(fC,{})}),p.jsx(Z,{path:"/admin/seo-copilot",element:p.jsx(hC,{})}),p.jsx(Z,{path:"/admin/backlinks",element:p.jsx(pC,{})}),p.jsx(Z,{path:"/admin/owner-claims",element:p.jsx(mC,{})}),p.jsx(Z,{path:"/admin/soro-sync",element:p.jsx(yC,{})}),p.jsx(Z,{path:"/admin/content-clusters",element:p.jsx(gC,{})})]})}),p.jsx(Z,{path:"*",element:p.jsx(XS,{})})]})})};function _C(){return p.jsx(eE,{children:p.jsx(Px,{client:$x,children:p.jsxs(Gr,{children:[p.jsx(yE,{}),p.jsx(Hw,{children:p.jsx(bC,{})}),p.jsx(sx,{})]})})})}const SC=document.getElementById("root");$v.createRoot(SC).render(p.jsx(_C,{}));function EC(){if(window._gtmLoaded)return;window._gtmLoaded=!0;const t=document.createElement("script");t.async=!0,t.src="https://www.googletagmanager.com/gtag/js?id=G-N4SMCDPZMT",document.head.appendChild(t),t.onload=()=>{typeof window.gtag<"u"&&(window.gtag("js",new Date),window.gtag("config","G-N4SMCDPZMT"))}}const Ly=["scroll","click","touchstart","keydown"],Dy=()=>{EC(),Ly.forEach(t=>document.removeEventListener(t,Dy,{passive:!0}))};Ly.forEach(t=>document.addEventListener(t,Dy,{passive:!0}));export{Oh as A,Rx as B,nu as C,ci as D,Tu as E,si as F,Cx as G,ut as H,Ct as I,Cm as J,ge as L,Co as M,Bm as O,XS as P,wn as R,d0 as S,ni as W,tm as X,G as _,GC as a,o0 as b,Gn as c,Zo as d,Yv as e,Yr as f,YC as g,ui as h,OC as i,p as j,Xs as k,ek as l,kC as m,XC as n,aE as o,ZC as p,JC as q,C as r,Iv as s,Jv as t,Xn as u,r0 as v,ts as w,Zp as x,CC as y,Se 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.