diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml new file mode 100644 index 00000000..8fa158f9 --- /dev/null +++ b/.github/workflows/auto-merge.yml @@ -0,0 +1,23 @@ +name: Auto-merge safe dependencies +on: + pull_request: + types: [labeled, synchronize] +jobs: + auto-merge: + if: contains(github.event.pull_request.labels.*.name, 'dependencies') + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v7 + with: + script: | + const pr = context.payload.pull_request + const title = pr.title.toLowerCase() + const isSafe = /\b(chore|deps|dependencies)\b/.test(title) && !title.includes('major') + if (isSafe) { + github.rest.pulls.merge({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: pr.number, + merge_method: 'squash' + }) + } diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..c3bb5496 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,78 @@ +name: CI/CD Pipeline + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + schedule: + # Run nightly at 2 AM UTC + - cron: '0 2 * * *' + +jobs: + lint-and-build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Lint + run: pnpm lint + + - name: Build + run: pnpm build + + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + if: always() + with: + name: build-artifacts + path: dist/ + retention-days: 7 + + health-check: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Check marketing site health + run: | + echo "🏥 Marketing Site Health Check" + echo "==============================" + + # Check homepage + echo "Checking homepage..." + curl -s -o /dev/null -w "%{http_code}" https://thelabelai.com + echo " - Homepage status" + + # Check login redirect + echo "Checking login redirect..." + curl -s -I https://thelabelai.com/login | grep -i "location:" + + # Check signup redirect + echo "Checking signup redirect..." + curl -s -I https://thelabelai.com/signup | grep -i "location:" + + # Check WWW redirect + echo "Checking WWW redirect..." + curl -s -I https://www.thelabelai.com | grep -i "location:" + + echo "✅ Marketing site health check complete" + + - name: Upload health check results + uses: actions/upload-artifact@v4 + if: always() + with: + name: marketing-health-check + path: marketing-health-results.txt + retention-days: 30 diff --git a/.github/workflows/lhci.yml b/.github/workflows/lhci.yml new file mode 100644 index 00000000..18b50149 --- /dev/null +++ b/.github/workflows/lhci.yml @@ -0,0 +1,13 @@ +name: Lighthouse CI (nightly) +on: + schedule: [ { cron: "0 3 * * *" } ] + workflow_dispatch: +jobs: + lhci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: { node-version: '22' } + - run: npm i -D @lhci/cli@0.13.0 + - run: npx lhci autorun diff --git a/.gitignore b/.gitignore index e985853e..183360e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ .vercel +node_modules/ +dist/ +.vercel/ +.env* diff --git a/.lighthouserc.json b/.lighthouserc.json new file mode 100644 index 00000000..9775babf --- /dev/null +++ b/.lighthouserc.json @@ -0,0 +1,19 @@ +{ + "ci": { + "collect": { + "numberOfRuns": 2, + "url": [ + "https://thelabelai.com/", + "https://thelabelai.com/login", + "https://app.thelabelai.com/login" + ] + }, + "assert": { + "assertions": { + "categories:performance": ["warn", { "minScore": 0.85 }], + "categories:accessibility": ["error", { "minScore": 0.9 }], + "categories:seo": ["warn", { "minScore": 0.9 }] + } + } + } +} diff --git a/README.md b/README.md new file mode 100644 index 00000000..5ad64a98 --- /dev/null +++ b/README.md @@ -0,0 +1,50 @@ +# TheLabel AI Marketing Website + +A modern, responsive marketing website for TheLabel AI - the future of AI-powered record labels. + +## Status + +- **Live Status**: [status.thelabelai.com](https://status.thelabelai.com) +- **Uptime Monitoring**: 24/7 monitoring of all critical endpoints +- **Performance**: Lighthouse CI with nightly performance budgets +- **Error Tracking**: Sentry integration for real-time error monitoring + +## Features + +- Modern, responsive design with Tailwind CSS +- OAuth integration with Google +- SEO optimized with robots.txt and sitemap.xml +- Performance optimized with Vite +- Accessibility compliant (WCAG 2.1) + +## Tech Stack + +- **Frontend**: React 18 + Vite +- **Styling**: Tailwind CSS + shadcn/ui +- **Authentication**: Google OAuth +- **Deployment**: Vercel +- **Monitoring**: Sentry + Lighthouse CI + +## Development + +```bash +# Install dependencies +npm install + +# Start development server +npm run dev + +# Build for production +npm run build + +# Preview production build +npm run preview +``` + +## Deployment + +The site is automatically deployed to Vercel on every push to main branch. + +## Status Page + +For real-time status updates and incident reports, visit our status page at [status.thelabelai.com](https://status.thelabelai.com). diff --git a/dist/assets/index-CcNXzs2C.js b/dist/assets/index-CcNXzs2C.js deleted file mode 100644 index 25dd606d..00000000 --- a/dist/assets/index-CcNXzs2C.js +++ /dev/null @@ -1,49 +0,0 @@ -(function(){const ul=document.createElement("link").relList;if(ul&&ul.supports&&ul.supports("modulepreload"))return;for(const X of document.querySelectorAll('link[rel="modulepreload"]'))m(X);new MutationObserver(X=>{for(const K of X)if(K.type==="childList")for(const hl of K.addedNodes)hl.tagName==="LINK"&&hl.rel==="modulepreload"&&m(hl)}).observe(document,{childList:!0,subtree:!0});function k(X){const K={};return X.integrity&&(K.integrity=X.integrity),X.referrerPolicy&&(K.referrerPolicy=X.referrerPolicy),X.crossOrigin==="use-credentials"?K.credentials="include":X.crossOrigin==="anonymous"?K.credentials="omit":K.credentials="same-origin",K}function m(X){if(X.ep)return;X.ep=!0;const K=k(X);fetch(X.href,K)}})();var $c={exports:{}},ye={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var $d;function Dh(){if($d)return ye;$d=1;var D=Symbol.for("react.transitional.element"),ul=Symbol.for("react.fragment");function k(m,X,K){var hl=null;if(K!==void 0&&(hl=""+K),X.key!==void 0&&(hl=""+X.key),"key"in X){K={};for(var Hl in X)Hl!=="key"&&(K[Hl]=X[Hl])}else K=X;return X=K.ref,{$$typeof:D,type:m,key:hl,ref:X!==void 0?X:null,props:K}}return ye.Fragment=ul,ye.jsx=k,ye.jsxs=k,ye}var kd;function Uh(){return kd||(kd=1,$c.exports=Dh()),$c.exports}var x=Uh(),kc={exports:{}},G={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Fd;function Nh(){if(Fd)return G;Fd=1;var D=Symbol.for("react.transitional.element"),ul=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),K=Symbol.for("react.consumer"),hl=Symbol.for("react.context"),Hl=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),A=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),cl=Symbol.iterator;function nl(s){return s===null||typeof s!="object"?null:(s=cl&&s[cl]||s["@@iterator"],typeof s=="function"?s:null)}var ql={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Yl=Object.assign,ot={};function jl(s,T,_){this.props=s,this.context=T,this.refs=ot,this.updater=_||ql}jl.prototype.isReactComponent={},jl.prototype.setState=function(s,T){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,T,"setState")},jl.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};function ou(){}ou.prototype=jl.prototype;function zt(s,T,_){this.props=s,this.context=T,this.refs=ot,this.updater=_||ql}var Ml=zt.prototype=new ou;Ml.constructor=zt,Yl(Ml,jl.prototype),Ml.isPureReactComponent=!0;var vt=Array.isArray,J={H:null,A:null,T:null,S:null,V:null},Vl=Object.prototype.hasOwnProperty;function Ll(s,T,_,z,p,w){return _=w.ref,{$$typeof:D,type:s,key:T,ref:_!==void 0?_:null,props:w}}function Kl(s,T){return Ll(s.type,T,void 0,void 0,void 0,s.props)}function mt(s){return typeof s=="object"&&s!==null&&s.$$typeof===D}function pu(s){var T={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(_){return T[_]})}var Ot=/\/+/g;function Dl(s,T){return typeof s=="object"&&s!==null&&s.key!=null?pu(""+s.key):T.toString(36)}function vu(){}function hu(s){switch(s.status){case"fulfilled":return s.value;case"rejected":throw s.reason;default:switch(typeof s.status=="string"?s.then(vu,vu):(s.status="pending",s.then(function(T){s.status==="pending"&&(s.status="fulfilled",s.value=T)},function(T){s.status==="pending"&&(s.status="rejected",s.reason=T)})),s.status){case"fulfilled":return s.value;case"rejected":throw s.reason}}throw s}function Ul(s,T,_,z,p){var w=typeof s;(w==="undefined"||w==="boolean")&&(s=null);var j=!1;if(s===null)j=!0;else switch(w){case"bigint":case"string":case"number":j=!0;break;case"object":switch(s.$$typeof){case D:case ul:j=!0;break;case N:return j=s._init,Ul(j(s._payload),T,_,z,p)}}if(j)return p=p(s),j=z===""?"."+Dl(s,0):z,vt(p)?(_="",j!=null&&(_=j.replace(Ot,"$&/")+"/"),Ul(p,T,_,"",function(Qt){return Qt})):p!=null&&(mt(p)&&(p=Kl(p,_+(p.key==null||s&&s.key===p.key?"":(""+p.key).replace(Ot,"$&/")+"/")+j)),T.push(p)),1;j=0;var Jl=z===""?".":z+":";if(vt(s))for(var il=0;il>>1,s=S[al];if(0>>1;alX(z,Y))pX(w,z)?(S[al]=w,S[p]=Y,al=p):(S[al]=z,S[_]=Y,al=_);else if(pX(w,Y))S[al]=w,S[p]=Y,al=p;else break l}}return O}function X(S,O){var Y=S.sortIndex-O.sortIndex;return Y!==0?Y:S.id-O.id}if(D.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var K=performance;D.unstable_now=function(){return K.now()}}else{var hl=Date,Hl=hl.now();D.unstable_now=function(){return hl.now()-Hl}}var R=[],A=[],N=1,cl=null,nl=3,ql=!1,Yl=!1,ot=!1,jl=!1,ou=typeof setTimeout=="function"?setTimeout:null,zt=typeof clearTimeout=="function"?clearTimeout:null,Ml=typeof setImmediate<"u"?setImmediate:null;function vt(S){for(var O=k(A);O!==null;){if(O.callback===null)m(A);else if(O.startTime<=S)m(A),O.sortIndex=O.expirationTime,ul(R,O);else break;O=k(A)}}function J(S){if(ot=!1,vt(S),!Yl)if(k(R)!==null)Yl=!0,Vl||(Vl=!0,Dl());else{var O=k(A);O!==null&&Ul(J,O.startTime-S)}}var Vl=!1,Ll=-1,Kl=5,mt=-1;function pu(){return jl?!0:!(D.unstable_now()-mtS&&pu());){var al=cl.callback;if(typeof al=="function"){cl.callback=null,nl=cl.priorityLevel;var s=al(cl.expirationTime<=S);if(S=D.unstable_now(),typeof s=="function"){cl.callback=s,vt(S),O=!0;break t}cl===k(R)&&m(R),vt(S)}else m(R);cl=k(R)}if(cl!==null)O=!0;else{var T=k(A);T!==null&&Ul(J,T.startTime-S),O=!1}}break l}finally{cl=null,nl=Y,ql=!1}O=void 0}}finally{O?Dl():Vl=!1}}}var Dl;if(typeof Ml=="function")Dl=function(){Ml(Ot)};else if(typeof MessageChannel<"u"){var vu=new MessageChannel,hu=vu.port2;vu.port1.onmessage=Ot,Dl=function(){hu.postMessage(null)}}else Dl=function(){ou(Ot,0)};function Ul(S,O){Ll=ou(function(){S(D.unstable_now())},O)}D.unstable_IdlePriority=5,D.unstable_ImmediatePriority=1,D.unstable_LowPriority=4,D.unstable_NormalPriority=3,D.unstable_Profiling=null,D.unstable_UserBlockingPriority=2,D.unstable_cancelCallback=function(S){S.callback=null},D.unstable_forceFrameRate=function(S){0>S||125al?(S.sortIndex=Y,ul(A,S),k(R)===null&&S===k(A)&&(ot?(zt(Ll),Ll=-1):ot=!0,Ul(J,Y-al))):(S.sortIndex=s,ul(R,S),Yl||ql||(Yl=!0,Vl||(Vl=!0,Dl()))),S},D.unstable_shouldYield=pu,D.unstable_wrapCallback=function(S){var O=nl;return function(){var Y=nl;nl=O;try{return S.apply(this,arguments)}finally{nl=Y}}}})(Pc)),Pc}var lo;function ph(){return lo||(lo=1,Ic.exports=Rh()),Ic.exports}var li={exports:{}},pl={};/** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var to;function Hh(){if(to)return pl;to=1;var D=ui();function ul(R){var A="https://react.dev/errors/"+R;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(D)}catch(ul){console.error(ul)}}return D(),li.exports=Hh(),li.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ao;function Yh(){if(ao)return me;ao=1;var D=ph(),ul=ui(),k=qh();function m(l){var t="https://react.dev/errors/"+l;if(1s||(l.current=al[s],al[s]=null,s--)}function z(l,t){s++,al[s]=l.current,l.current=t}var p=T(null),w=T(null),j=T(null),Jl=T(null);function il(l,t){switch(z(j,t),z(w,l),z(p,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?zd(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=zd(t),l=Od(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}_(p),z(p,l)}function Qt(){_(p),_(w),_(j)}function Hn(l){l.memoizedState!==null&&z(Jl,l);var t=p.current,u=Od(t,l.type);t!==u&&(z(w,l),z(p,u))}function ge(l){w.current===l&&(_(p),_(w)),Jl.current===l&&(_(Jl),de._currentValue=Y)}var qn=Object.prototype.hasOwnProperty,Yn=D.unstable_scheduleCallback,Bn=D.unstable_cancelCallback,no=D.unstable_shouldYield,fo=D.unstable_requestPaint,gt=D.unstable_now,co=D.unstable_getCurrentPriorityLevel,ai=D.unstable_ImmediatePriority,ei=D.unstable_UserBlockingPriority,Se=D.unstable_NormalPriority,io=D.unstable_LowPriority,ni=D.unstable_IdlePriority,so=D.log,oo=D.unstable_setDisableYieldValue,Sa=null,wl=null;function Ct(l){if(typeof so=="function"&&oo(l),wl&&typeof wl.setStrictMode=="function")try{wl.setStrictMode(Sa,l)}catch{}}var Wl=Math.clz32?Math.clz32:ro,vo=Math.log,ho=Math.LN2;function ro(l){return l>>>=0,l===0?32:31-(vo(l)/ho|0)|0}var be=256,Ee=4194304;function ru(l){var t=l&42;if(t!==0)return t;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Te(l,t,u){var a=l.pendingLanes;if(a===0)return 0;var e=0,n=l.suspendedLanes,f=l.pingedLanes;l=l.warmLanes;var c=a&134217727;return c!==0?(a=c&~n,a!==0?e=ru(a):(f&=c,f!==0?e=ru(f):u||(u=c&~l,u!==0&&(e=ru(u))))):(c=a&~n,c!==0?e=ru(c):f!==0?e=ru(f):u||(u=a&~l,u!==0&&(e=ru(u)))),e===0?0:t!==0&&t!==e&&(t&n)===0&&(n=e&-e,u=t&-t,n>=u||n===32&&(u&4194048)!==0)?t:e}function ba(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function yo(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function fi(){var l=be;return be<<=1,(be&4194048)===0&&(be=256),l}function ci(){var l=Ee;return Ee<<=1,(Ee&62914560)===0&&(Ee=4194304),l}function jn(l){for(var t=[],u=0;31>u;u++)t.push(l);return t}function Ea(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function mo(l,t,u,a,e,n){var f=l.pendingLanes;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=u,l.entangledLanes&=u,l.errorRecoveryDisabledLanes&=u,l.shellSuspendCounter=0;var c=l.entanglements,i=l.expirationTimes,h=l.hiddenUpdates;for(u=f&~u;0)":-1e||i[a]!==h[e]){var g=` -`+i[a].replace(" at new "," at ");return l.displayName&&g.includes("")&&(g=g.replace("",l.displayName)),g}while(1<=a&&0<=e);break}}}finally{Vn=!1,Error.prepareStackTrace=u}return(u=l?l.displayName||l.name:"")?Gu(u):""}function Ao(l){switch(l.tag){case 26:case 27:case 5:return Gu(l.type);case 16:return Gu("Lazy");case 13:return Gu("Suspense");case 19:return Gu("SuspenseList");case 0:case 15:return Ln(l.type,!1);case 11:return Ln(l.type.render,!1);case 1:return Ln(l.type,!0);case 31:return Gu("Activity");default:return""}}function gi(l){try{var t="";do t+=Ao(l),l=l.return;while(l);return t}catch(u){return` -Error generating stack: `+u.message+` -`+u.stack}}function ut(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Si(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zo(l){var t=Si(l)?"checked":"value",u=Object.getOwnPropertyDescriptor(l.constructor.prototype,t),a=""+l[t];if(!l.hasOwnProperty(t)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var e=u.get,n=u.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return e.call(this)},set:function(f){a=""+f,n.call(this,f)}}),Object.defineProperty(l,t,{enumerable:u.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function Oe(l){l._valueTracker||(l._valueTracker=zo(l))}function bi(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var u=t.getValue(),a="";return l&&(a=Si(l)?l.checked?"true":"false":l.value),l=a,l!==u?(t.setValue(l),!0):!1}function _e(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Oo=/[\n"\\]/g;function at(l){return l.replace(Oo,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Kn(l,t,u,a,e,n,f,c){l.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?l.type=f:l.removeAttribute("type"),t!=null?f==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+ut(t)):l.value!==""+ut(t)&&(l.value=""+ut(t)):f!=="submit"&&f!=="reset"||l.removeAttribute("value"),t!=null?Jn(l,f,ut(t)):u!=null?Jn(l,f,ut(u)):a!=null&&l.removeAttribute("value"),e==null&&n!=null&&(l.defaultChecked=!!n),e!=null&&(l.checked=e&&typeof e!="function"&&typeof e!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+ut(c):l.removeAttribute("name")}function Ei(l,t,u,a,e,n,f,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||u!=null){if(!(n!=="submit"&&n!=="reset"||t!=null))return;u=u!=null?""+ut(u):"",t=t!=null?""+ut(t):u,c||t===l.value||(l.value=t),l.defaultValue=t}a=a??e,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=c?l.checked:!!a,l.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(l.name=f)}function Jn(l,t,u){t==="number"&&_e(l.ownerDocument)===l||l.defaultValue===""+u||(l.defaultValue=""+u)}function Xu(l,t,u,a){if(l=l.options,t){t={};for(var e=0;e"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fn=!1;if(xt)try{var Oa={};Object.defineProperty(Oa,"passive",{get:function(){Fn=!0}}),window.addEventListener("test",Oa,Oa),window.removeEventListener("test",Oa,Oa)}catch{Fn=!1}var Vt=null,In=null,Me=null;function Mi(){if(Me)return Me;var l,t=In,u=t.length,a,e="value"in Vt?Vt.value:Vt.textContent,n=e.length;for(l=0;l=Ma),Hi=" ",qi=!1;function Yi(l,t){switch(l){case"keyup":return Io.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bi(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Vu=!1;function lv(l,t){switch(l){case"compositionend":return Bi(t);case"keypress":return t.which!==32?null:(qi=!0,Hi);case"textInput":return l=t.data,l===Hi&&qi?null:l;default:return null}}function tv(l,t){if(Vu)return l==="compositionend"||!af&&Yi(l,t)?(l=Mi(),Me=In=Vt=null,Vu=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:u,offset:t-l};l=a}l:{for(;u;){if(u.nextSibling){u=u.nextSibling;break l}u=u.parentNode}u=void 0}u=Li(u)}}function Ji(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?Ji(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function wi(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=_e(l.document);t instanceof l.HTMLIFrameElement;){try{var u=typeof t.contentWindow.location.href=="string"}catch{u=!1}if(u)l=t.contentWindow;else break;t=_e(l.document)}return t}function ff(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var sv=xt&&"documentMode"in document&&11>=document.documentMode,Lu=null,cf=null,Ra=null,sf=!1;function Wi(l,t,u){var a=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;sf||Lu==null||Lu!==_e(a)||(a=Lu,"selectionStart"in a&&ff(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}),Ra&&Na(Ra,a)||(Ra=a,a=Sn(cf,"onSelect"),0>=f,e-=f,Dt=1<<32-Wl(t)+e|u<n?n:8;var f=S.T,c={};S.T=c,Wf(l,!1,t,u);try{var i=e(),h=S.S;if(h!==null&&h(c,i),i!==null&&typeof i=="object"&&typeof i.then=="function"){var g=Sv(i,a);Ja(l,t,g,lt(l))}else Ja(l,t,a,lt(l))}catch(E){Ja(l,t,{then:function(){},status:"rejected",reason:E},lt())}finally{O.p=n,S.T=f}}function zv(){}function Jf(l,t,u,a){if(l.tag!==5)throw Error(m(476));var e=$s(l).queue;Ws(l,e,t,Y,u===null?zv:function(){return ks(l),u(a)})}function $s(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pt,lastRenderedState:Y},next:null};var u={};return t.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pt,lastRenderedState:u},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function ks(l){var t=$s(l).next.queue;Ja(l,t,{},lt())}function wf(){return Rl(de)}function Fs(){return gl().memoizedState}function Is(){return gl().memoizedState}function Ov(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var u=lt();l=Jt(u);var a=wt(t,l,u);a!==null&&(tt(a,t,u),Qa(a,t,u)),t={cache:zf()},l.payload=t;return}t=t.return}}function _v(l,t,u){var a=lt();u={lane:a,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null},Fe(l)?l0(t,u):(u=hf(l,t,u,a),u!==null&&(tt(u,l,a),t0(u,t,a)))}function Ps(l,t,u){var a=lt();Ja(l,t,u,a)}function Ja(l,t,u,a){var e={lane:a,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(Fe(l))l0(t,e);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var f=t.lastRenderedState,c=n(f,u);if(e.hasEagerState=!0,e.eagerState=c,$l(c,f))return qe(l,t,e,0),fl===null&&He(),!1}catch{}finally{}if(u=hf(l,t,e,a),u!==null)return tt(u,l,a),t0(u,t,a),!0}return!1}function Wf(l,t,u,a){if(a={lane:2,revertLane:xc(),action:a,hasEagerState:!1,eagerState:null,next:null},Fe(l)){if(t)throw Error(m(479))}else t=hf(l,u,a,2),t!==null&&tt(t,l,2)}function Fe(l){var t=l.alternate;return l===Q||t!==null&&t===Q}function l0(l,t){la=Ke=!0;var u=l.pending;u===null?t.next=t:(t.next=u.next,u.next=t),l.pending=t}function t0(l,t,u){if((u&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,u|=a,t.lanes=u,si(l,u)}}var Ie={readContext:Rl,use:we,useCallback:rl,useContext:rl,useEffect:rl,useImperativeHandle:rl,useLayoutEffect:rl,useInsertionEffect:rl,useMemo:rl,useReducer:rl,useRef:rl,useState:rl,useDebugValue:rl,useDeferredValue:rl,useTransition:rl,useSyncExternalStore:rl,useId:rl,useHostTransitionStatus:rl,useFormState:rl,useActionState:rl,useOptimistic:rl,useMemoCache:rl,useCacheRefresh:rl},u0={readContext:Rl,use:we,useCallback:function(l,t){return Ql().memoizedState=[l,t===void 0?null:t],l},useContext:Rl,useEffect:Xs,useImperativeHandle:function(l,t,u){u=u!=null?u.concat([l]):null,ke(4194308,4,Vs.bind(null,t,l),u)},useLayoutEffect:function(l,t){return ke(4194308,4,l,t)},useInsertionEffect:function(l,t){ke(4,2,l,t)},useMemo:function(l,t){var u=Ql();t=t===void 0?null:t;var a=l();if(Mu){Ct(!0);try{l()}finally{Ct(!1)}}return u.memoizedState=[a,t],a},useReducer:function(l,t,u){var a=Ql();if(u!==void 0){var e=u(t);if(Mu){Ct(!0);try{u(t)}finally{Ct(!1)}}}else e=t;return a.memoizedState=a.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:e},a.queue=l,l=l.dispatch=_v.bind(null,Q,l),[a.memoizedState,l]},useRef:function(l){var t=Ql();return l={current:l},t.memoizedState=l},useState:function(l){l=Zf(l);var t=l.queue,u=Ps.bind(null,Q,t);return t.dispatch=u,[l.memoizedState,u]},useDebugValue:Lf,useDeferredValue:function(l,t){var u=Ql();return Kf(u,l,t)},useTransition:function(){var l=Zf(!1);return l=Ws.bind(null,Q,l.queue,!0,!1),Ql().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,u){var a=Q,e=Ql();if($){if(u===void 0)throw Error(m(407));u=u()}else{if(u=t(),fl===null)throw Error(m(349));(L&124)!==0||zs(a,t,u)}e.memoizedState=u;var n={value:u,getSnapshot:t};return e.queue=n,Xs(_s.bind(null,a,n,l),[l]),a.flags|=2048,ua(9,$e(),Os.bind(null,a,n,u,t),null),u},useId:function(){var l=Ql(),t=fl.identifierPrefix;if($){var u=Ut,a=Dt;u=(a&~(1<<32-Wl(a)-1)).toString(32)+u,t="«"+t+"R"+u,u=Je++,0q?(zl=U,U=null):zl=U.sibling;var W=r(o,U,v[q],b);if(W===null){U===null&&(U=zl);break}l&&U&&W.alternate===null&&t(o,U),d=n(W,d,q),C===null?M=W:C.sibling=W,C=W,U=zl}if(q===v.length)return u(o,U),$&&Tu(o,q),M;if(U===null){for(;qq?(zl=U,U=null):zl=U.sibling;var du=r(o,U,W.value,b);if(du===null){U===null&&(U=zl);break}l&&U&&du.alternate===null&&t(o,U),d=n(du,d,q),C===null?M=du:C.sibling=du,C=du,U=zl}if(W.done)return u(o,U),$&&Tu(o,q),M;if(U===null){for(;!W.done;q++,W=v.next())W=E(o,W.value,b),W!==null&&(d=n(W,d,q),C===null?M=W:C.sibling=W,C=W);return $&&Tu(o,q),M}for(U=a(U);!W.done;q++,W=v.next())W=y(U,o,q,W.value,b),W!==null&&(l&&W.alternate!==null&&U.delete(W.key===null?q:W.key),d=n(W,d,q),C===null?M=W:C.sibling=W,C=W);return l&&U.forEach(function(Mh){return t(o,Mh)}),$&&Tu(o,q),M}function tl(o,d,v,b){if(typeof v=="object"&&v!==null&&v.type===Yl&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case nl:l:{for(var M=v.key;d!==null;){if(d.key===M){if(M=v.type,M===Yl){if(d.tag===7){u(o,d.sibling),b=e(d,v.props.children),b.return=o,o=b;break l}}else if(d.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===Kl&&e0(M)===d.type){u(o,d.sibling),b=e(d,v.props),Wa(b,v),b.return=o,o=b;break l}u(o,d);break}else t(o,d);d=d.sibling}v.type===Yl?(b=bu(v.props.children,o.mode,b,v.key),b.return=o,o=b):(b=Be(v.type,v.key,v.props,null,o.mode,b),Wa(b,v),b.return=o,o=b)}return f(o);case ql:l:{for(M=v.key;d!==null;){if(d.key===M)if(d.tag===4&&d.stateNode.containerInfo===v.containerInfo&&d.stateNode.implementation===v.implementation){u(o,d.sibling),b=e(d,v.children||[]),b.return=o,o=b;break l}else{u(o,d);break}else t(o,d);d=d.sibling}b=mf(v,o.mode,b),b.return=o,o=b}return f(o);case Kl:return M=v._init,v=M(v._payload),tl(o,d,v,b)}if(Ul(v))return B(o,d,v,b);if(Dl(v)){if(M=Dl(v),typeof M!="function")throw Error(m(150));return v=M.call(v),H(o,d,v,b)}if(typeof v.then=="function")return tl(o,d,Pe(v),b);if(v.$$typeof===Ml)return tl(o,d,Qe(o,v),b);ln(o,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,d!==null&&d.tag===6?(u(o,d.sibling),b=e(d,v),b.return=o,o=b):(u(o,d),b=yf(v,o.mode,b),b.return=o,o=b),f(o)):u(o,d)}return function(o,d,v,b){try{wa=0;var M=tl(o,d,v,b);return aa=null,M}catch(U){if(U===Ga||U===Ze)throw U;var C=kl(29,U,null,o.mode);return C.lanes=b,C.return=o,C}finally{}}}var ea=n0(!0),f0=n0(!1),it=T(null),bt=null;function $t(l){var t=l.alternate;z(bl,bl.current&1),z(it,l),bt===null&&(t===null||Pu.current!==null||t.memoizedState!==null)&&(bt=l)}function c0(l){if(l.tag===22){if(z(bl,bl.current),z(it,l),bt===null){var t=l.alternate;t!==null&&t.memoizedState!==null&&(bt=l)}}else kt()}function kt(){z(bl,bl.current),z(it,it.current)}function Ht(l){_(it),bt===l&&(bt=null),_(bl)}var bl=T(0);function tn(l){for(var t=l;t!==null;){if(t.tag===13){var u=t.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||Gc(u)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function $f(l,t,u,a){t=l.memoizedState,u=u(a,t),u=u==null?t:N({},t,u),l.memoizedState=u,l.lanes===0&&(l.updateQueue.baseState=u)}var kf={enqueueSetState:function(l,t,u){l=l._reactInternals;var a=lt(),e=Jt(a);e.payload=t,u!=null&&(e.callback=u),t=wt(l,e,a),t!==null&&(tt(t,l,a),Qa(t,l,a))},enqueueReplaceState:function(l,t,u){l=l._reactInternals;var a=lt(),e=Jt(a);e.tag=1,e.payload=t,u!=null&&(e.callback=u),t=wt(l,e,a),t!==null&&(tt(t,l,a),Qa(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var u=lt(),a=Jt(u);a.tag=2,t!=null&&(a.callback=t),t=wt(l,a,u),t!==null&&(tt(t,l,u),Qa(t,l,u))}};function i0(l,t,u,a,e,n,f){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,n,f):t.prototype&&t.prototype.isPureReactComponent?!Na(u,a)||!Na(e,n):!0}function s0(l,t,u,a){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(u,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(u,a),t.state!==l&&kf.enqueueReplaceState(t,t.state,null)}function Du(l,t){var u=t;if("ref"in t){u={};for(var a in t)a!=="ref"&&(u[a]=t[a])}if(l=l.defaultProps){u===t&&(u=N({},u));for(var e in l)u[e]===void 0&&(u[e]=l[e])}return u}var un=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function d0(l){un(l)}function o0(l){console.error(l)}function v0(l){un(l)}function an(l,t){try{var u=l.onUncaughtError;u(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function h0(l,t,u){try{var a=l.onCaughtError;a(u.value,{componentStack:u.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Ff(l,t,u){return u=Jt(u),u.tag=3,u.payload={element:null},u.callback=function(){an(l,t)},u}function r0(l){return l=Jt(l),l.tag=3,l}function y0(l,t,u,a){var e=u.type.getDerivedStateFromError;if(typeof e=="function"){var n=a.value;l.payload=function(){return e(n)},l.callback=function(){h0(t,u,a)}}var f=u.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(l.callback=function(){h0(t,u,a),typeof e!="function"&&(uu===null?uu=new Set([this]):uu.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function Mv(l,t,u,a,e){if(u.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=u.alternate,t!==null&&Ya(t,u,e,!0),u=it.current,u!==null){switch(u.tag){case 13:return bt===null?Tc():u.alternate===null&&vl===0&&(vl=3),u.flags&=-257,u.flags|=65536,u.lanes=e,a===xf?u.flags|=16384:(t=u.updateQueue,t===null?u.updateQueue=new Set([a]):t.add(a),zc(l,a,e)),!1;case 22:return u.flags|=65536,a===xf?u.flags|=16384:(t=u.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},u.updateQueue=t):(u=t.retryQueue,u===null?t.retryQueue=new Set([a]):u.add(a)),zc(l,a,e)),!1}throw Error(m(435,u.tag))}return zc(l,a,e),Tc(),!1}if($)return t=it.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=e,a!==bf&&(l=Error(m(422),{cause:a}),qa(et(l,u)))):(a!==bf&&(t=Error(m(423),{cause:a}),qa(et(t,u))),l=l.current.alternate,l.flags|=65536,e&=-e,l.lanes|=e,a=et(a,u),e=Ff(l.stateNode,a,e),Uf(l,e),vl!==4&&(vl=2)),!1;var n=Error(m(520),{cause:a});if(n=et(n,u),te===null?te=[n]:te.push(n),vl!==4&&(vl=2),t===null)return!0;a=et(a,u),u=t;do{switch(u.tag){case 3:return u.flags|=65536,l=e&-e,u.lanes|=l,l=Ff(u.stateNode,a,l),Uf(u,l),!1;case 1:if(t=u.type,n=u.stateNode,(u.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(uu===null||!uu.has(n))))return u.flags|=65536,e&=-e,u.lanes|=e,e=r0(e),y0(e,l,u,a),Uf(u,e),!1}u=u.return}while(u!==null);return!1}var m0=Error(m(461)),Tl=!1;function Ol(l,t,u,a){t.child=l===null?f0(t,null,u,a):ea(t,l.child,u,a)}function g0(l,t,u,a,e){u=u.render;var n=t.ref;if("ref"in a){var f={};for(var c in a)c!=="ref"&&(f[c]=a[c])}else f=a;return _u(t),a=qf(l,t,u,f,n,e),c=Yf(),l!==null&&!Tl?(Bf(l,t,e),qt(l,t,e)):($&&c&&gf(t),t.flags|=1,Ol(l,t,a,e),t.child)}function S0(l,t,u,a,e){if(l===null){var n=u.type;return typeof n=="function"&&!rf(n)&&n.defaultProps===void 0&&u.compare===null?(t.tag=15,t.type=n,b0(l,t,n,a,e)):(l=Be(u.type,null,a,t,t.mode,e),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!nc(l,e)){var f=n.memoizedProps;if(u=u.compare,u=u!==null?u:Na,u(f,a)&&l.ref===t.ref)return qt(l,t,e)}return t.flags|=1,l=Mt(n,a),l.ref=t.ref,l.return=t,t.child=l}function b0(l,t,u,a,e){if(l!==null){var n=l.memoizedProps;if(Na(n,a)&&l.ref===t.ref)if(Tl=!1,t.pendingProps=a=n,nc(l,e))(l.flags&131072)!==0&&(Tl=!0);else return t.lanes=l.lanes,qt(l,t,e)}return If(l,t,u,a,e)}function E0(l,t,u){var a=t.pendingProps,e=a.children,n=l!==null?l.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=n!==null?n.baseLanes|u:u,l!==null){for(e=t.child=l.child,n=0;e!==null;)n=n|e.lanes|e.childLanes,e=e.sibling;t.childLanes=n&~a}else t.childLanes=0,t.child=null;return T0(l,t,a,u)}if((u&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&Ce(t,n!==null?n.cachePool:null),n!==null?bs(t,n):Rf(),c0(t);else return t.lanes=t.childLanes=536870912,T0(l,t,n!==null?n.baseLanes|u:u,u)}else n!==null?(Ce(t,n.cachePool),bs(t,n),kt(),t.memoizedState=null):(l!==null&&Ce(t,null),Rf(),kt());return Ol(l,t,e,u),t.child}function T0(l,t,u,a){var e=_f();return e=e===null?null:{parent:Sl._currentValue,pool:e},t.memoizedState={baseLanes:u,cachePool:e},l!==null&&Ce(t,null),Rf(),c0(t),l!==null&&Ya(l,t,a,!0),null}function en(l,t){var u=t.ref;if(u===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(m(284));(l===null||l.ref!==u)&&(t.flags|=4194816)}}function If(l,t,u,a,e){return _u(t),u=qf(l,t,u,a,void 0,e),a=Yf(),l!==null&&!Tl?(Bf(l,t,e),qt(l,t,e)):($&&a&&gf(t),t.flags|=1,Ol(l,t,u,e),t.child)}function A0(l,t,u,a,e,n){return _u(t),t.updateQueue=null,u=Ts(t,a,u,e),Es(l),a=Yf(),l!==null&&!Tl?(Bf(l,t,n),qt(l,t,n)):($&&a&&gf(t),t.flags|=1,Ol(l,t,u,n),t.child)}function z0(l,t,u,a,e){if(_u(t),t.stateNode===null){var n=Wu,f=u.contextType;typeof f=="object"&&f!==null&&(n=Rl(f)),n=new u(a,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=kf,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=a,n.state=t.memoizedState,n.refs={},Mf(t),f=u.contextType,n.context=typeof f=="object"&&f!==null?Rl(f):Wu,n.state=t.memoizedState,f=u.getDerivedStateFromProps,typeof f=="function"&&($f(t,u,f,a),n.state=t.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(f=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),f!==n.state&&kf.enqueueReplaceState(n,n.state,null),Za(t,a,n,e),Ca(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){n=t.stateNode;var c=t.memoizedProps,i=Du(u,c);n.props=i;var h=n.context,g=u.contextType;f=Wu,typeof g=="object"&&g!==null&&(f=Rl(g));var E=u.getDerivedStateFromProps;g=typeof E=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,g||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||h!==f)&&s0(t,n,a,f),Kt=!1;var r=t.memoizedState;n.state=r,Za(t,a,n,e),Ca(),h=t.memoizedState,c||r!==h||Kt?(typeof E=="function"&&($f(t,u,E,a),h=t.memoizedState),(i=Kt||i0(t,u,i,a,r,h,f))?(g||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(t.flags|=4194308)):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=h),n.props=a,n.state=h,n.context=f,a=i):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{n=t.stateNode,Df(l,t),f=t.memoizedProps,g=Du(u,f),n.props=g,E=t.pendingProps,r=n.context,h=u.contextType,i=Wu,typeof h=="object"&&h!==null&&(i=Rl(h)),c=u.getDerivedStateFromProps,(h=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(f!==E||r!==i)&&s0(t,n,a,i),Kt=!1,r=t.memoizedState,n.state=r,Za(t,a,n,e),Ca();var y=t.memoizedState;f!==E||r!==y||Kt||l!==null&&l.dependencies!==null&&Xe(l.dependencies)?(typeof c=="function"&&($f(t,u,c,a),y=t.memoizedState),(g=Kt||i0(t,u,g,a,r,y,i)||l!==null&&l.dependencies!==null&&Xe(l.dependencies))?(h||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,y,i),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,y,i)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||f===l.memoizedProps&&r===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||f===l.memoizedProps&&r===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=y),n.props=a,n.state=y,n.context=i,a=g):(typeof n.componentDidUpdate!="function"||f===l.memoizedProps&&r===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||f===l.memoizedProps&&r===l.memoizedState||(t.flags|=1024),a=!1)}return n=a,en(l,t),a=(t.flags&128)!==0,n||a?(n=t.stateNode,u=a&&typeof u.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,l!==null&&a?(t.child=ea(t,l.child,null,e),t.child=ea(t,null,u,e)):Ol(l,t,u,e),t.memoizedState=n.state,l=t.child):l=qt(l,t,e),l}function O0(l,t,u,a){return Ha(),t.flags|=256,Ol(l,t,u,a),t.child}var Pf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function lc(l){return{baseLanes:l,cachePool:os()}}function tc(l,t,u){return l=l!==null?l.childLanes&~u:0,t&&(l|=st),l}function _0(l,t,u){var a=t.pendingProps,e=!1,n=(t.flags&128)!==0,f;if((f=n)||(f=l!==null&&l.memoizedState===null?!1:(bl.current&2)!==0),f&&(e=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,l===null){if($){if(e?$t(t):kt(),$){var c=ol,i;if(i=c){l:{for(i=c,c=St;i.nodeType!==8;){if(!c){c=null;break l}if(i=yt(i.nextSibling),i===null){c=null;break l}}c=i}c!==null?(t.memoizedState={dehydrated:c,treeContext:Eu!==null?{id:Dt,overflow:Ut}:null,retryLane:536870912,hydrationErrors:null},i=kl(18,null,null,0),i.stateNode=c,i.return=t,t.child=i,Bl=t,ol=null,i=!0):i=!1}i||zu(t)}if(c=t.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return Gc(c)?t.lanes=32:t.lanes=536870912,null;Ht(t)}return c=a.children,a=a.fallback,e?(kt(),e=t.mode,c=nn({mode:"hidden",children:c},e),a=bu(a,e,u,null),c.return=t,a.return=t,c.sibling=a,t.child=c,e=t.child,e.memoizedState=lc(u),e.childLanes=tc(l,f,u),t.memoizedState=Pf,a):($t(t),uc(t,c))}if(i=l.memoizedState,i!==null&&(c=i.dehydrated,c!==null)){if(n)t.flags&256?($t(t),t.flags&=-257,t=ac(l,t,u)):t.memoizedState!==null?(kt(),t.child=l.child,t.flags|=128,t=null):(kt(),e=a.fallback,c=t.mode,a=nn({mode:"visible",children:a.children},c),e=bu(e,c,u,null),e.flags|=2,a.return=t,e.return=t,a.sibling=e,t.child=a,ea(t,l.child,null,u),a=t.child,a.memoizedState=lc(u),a.childLanes=tc(l,f,u),t.memoizedState=Pf,t=e);else if($t(t),Gc(c)){if(f=c.nextSibling&&c.nextSibling.dataset,f)var h=f.dgst;f=h,a=Error(m(419)),a.stack="",a.digest=f,qa({value:a,source:null,stack:null}),t=ac(l,t,u)}else if(Tl||Ya(l,t,u,!1),f=(u&l.childLanes)!==0,Tl||f){if(f=fl,f!==null&&(a=u&-u,a=(a&42)!==0?1:Gn(a),a=(a&(f.suspendedLanes|u))!==0?0:a,a!==0&&a!==i.retryLane))throw i.retryLane=a,wu(l,a),tt(f,l,a),m0;c.data==="$?"||Tc(),t=ac(l,t,u)}else c.data==="$?"?(t.flags|=192,t.child=l.child,t=null):(l=i.treeContext,ol=yt(c.nextSibling),Bl=t,$=!0,Au=null,St=!1,l!==null&&(ft[ct++]=Dt,ft[ct++]=Ut,ft[ct++]=Eu,Dt=l.id,Ut=l.overflow,Eu=t),t=uc(t,a.children),t.flags|=4096);return t}return e?(kt(),e=a.fallback,c=t.mode,i=l.child,h=i.sibling,a=Mt(i,{mode:"hidden",children:a.children}),a.subtreeFlags=i.subtreeFlags&65011712,h!==null?e=Mt(h,e):(e=bu(e,c,u,null),e.flags|=2),e.return=t,a.return=t,a.sibling=e,t.child=a,a=e,e=t.child,c=l.child.memoizedState,c===null?c=lc(u):(i=c.cachePool,i!==null?(h=Sl._currentValue,i=i.parent!==h?{parent:h,pool:h}:i):i=os(),c={baseLanes:c.baseLanes|u,cachePool:i}),e.memoizedState=c,e.childLanes=tc(l,f,u),t.memoizedState=Pf,a):($t(t),u=l.child,l=u.sibling,u=Mt(u,{mode:"visible",children:a.children}),u.return=t,u.sibling=null,l!==null&&(f=t.deletions,f===null?(t.deletions=[l],t.flags|=16):f.push(l)),t.child=u,t.memoizedState=null,u)}function uc(l,t){return t=nn({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function nn(l,t){return l=kl(22,l,null,t),l.lanes=0,l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},l}function ac(l,t,u){return ea(t,l.child,null,u),l=uc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function x0(l,t,u){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Tf(l.return,t,u)}function ec(l,t,u,a,e){var n=l.memoizedState;n===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:u,tailMode:e}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=a,n.tail=u,n.tailMode=e)}function M0(l,t,u){var a=t.pendingProps,e=a.revealOrder,n=a.tail;if(Ol(l,t,a.children,u),a=bl.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&x0(l,u,t);else if(l.tag===19)x0(l,u,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}a&=1}switch(z(bl,a),e){case"forwards":for(u=t.child,e=null;u!==null;)l=u.alternate,l!==null&&tn(l)===null&&(e=u),u=u.sibling;u=e,u===null?(e=t.child,t.child=null):(e=u.sibling,u.sibling=null),ec(t,!1,e,u,n);break;case"backwards":for(u=null,e=t.child,t.child=null;e!==null;){if(l=e.alternate,l!==null&&tn(l)===null){t.child=e;break}l=e.sibling,e.sibling=u,u=e,e=l}ec(t,!0,u,null,n);break;case"together":ec(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qt(l,t,u){if(l!==null&&(t.dependencies=l.dependencies),tu|=t.lanes,(u&t.childLanes)===0)if(l!==null){if(Ya(l,t,u,!1),(u&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(m(153));if(t.child!==null){for(l=t.child,u=Mt(l,l.pendingProps),t.child=u,u.return=t;l.sibling!==null;)l=l.sibling,u=u.sibling=Mt(l,l.pendingProps),u.return=t;u.sibling=null}return t.child}function nc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Xe(l)))}function Dv(l,t,u){switch(t.tag){case 3:il(t,t.stateNode.containerInfo),Lt(t,Sl,l.memoizedState.cache),Ha();break;case 27:case 5:Hn(t);break;case 4:il(t,t.stateNode.containerInfo);break;case 10:Lt(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?($t(t),t.flags|=128,null):(u&t.child.childLanes)!==0?_0(l,t,u):($t(t),l=qt(l,t,u),l!==null?l.sibling:null);$t(t);break;case 19:var e=(l.flags&128)!==0;if(a=(u&t.childLanes)!==0,a||(Ya(l,t,u,!1),a=(u&t.childLanes)!==0),e){if(a)return M0(l,t,u);t.flags|=128}if(e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null,e.lastEffect=null),z(bl,bl.current),a)break;return null;case 22:case 23:return t.lanes=0,E0(l,t,u);case 24:Lt(t,Sl,l.memoizedState.cache)}return qt(l,t,u)}function D0(l,t,u){if(l!==null)if(l.memoizedProps!==t.pendingProps)Tl=!0;else{if(!nc(l,u)&&(t.flags&128)===0)return Tl=!1,Dv(l,t,u);Tl=(l.flags&131072)!==0}else Tl=!1,$&&(t.flags&1048576)!==0&&es(t,Ge,t.index);switch(t.lanes=0,t.tag){case 16:l:{l=t.pendingProps;var a=t.elementType,e=a._init;if(a=e(a._payload),t.type=a,typeof a=="function")rf(a)?(l=Du(a,l),t.tag=1,t=z0(null,t,a,l,u)):(t.tag=0,t=If(null,t,a,l,u));else{if(a!=null){if(e=a.$$typeof,e===vt){t.tag=11,t=g0(null,t,a,l,u);break l}else if(e===Ll){t.tag=14,t=S0(null,t,a,l,u);break l}}throw t=hu(a)||a,Error(m(306,t,""))}}return t;case 0:return If(l,t,t.type,t.pendingProps,u);case 1:return a=t.type,e=Du(a,t.pendingProps),z0(l,t,a,e,u);case 3:l:{if(il(t,t.stateNode.containerInfo),l===null)throw Error(m(387));a=t.pendingProps;var n=t.memoizedState;e=n.element,Df(l,t),Za(t,a,null,u);var f=t.memoizedState;if(a=f.cache,Lt(t,Sl,a),a!==n.cache&&Af(t,[Sl],u,!0),Ca(),a=f.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=O0(l,t,a,u);break l}else if(a!==e){e=et(Error(m(424)),t),qa(e),t=O0(l,t,a,u);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(ol=yt(l.firstChild),Bl=t,$=!0,Au=null,St=!0,u=f0(t,null,a,u),t.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(Ha(),a===e){t=qt(l,t,u);break l}Ol(l,t,a,u)}t=t.child}return t;case 26:return en(l,t),l===null?(u=pd(t.type,null,t.pendingProps,null))?t.memoizedState=u:$||(u=t.type,l=t.pendingProps,a=En(j.current).createElement(u),a[Nl]=t,a[Gl]=l,xl(a,u,l),El(a),t.stateNode=a):t.memoizedState=pd(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return Hn(t),l===null&&$&&(a=t.stateNode=Ud(t.type,t.pendingProps,j.current),Bl=t,St=!0,e=ol,nu(t.type)?(Xc=e,ol=yt(a.firstChild)):ol=e),Ol(l,t,t.pendingProps.children,u),en(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&$&&((e=a=ol)&&(a=uh(a,t.type,t.pendingProps,St),a!==null?(t.stateNode=a,Bl=t,ol=yt(a.firstChild),St=!1,e=!0):e=!1),e||zu(t)),Hn(t),e=t.type,n=t.pendingProps,f=l!==null?l.memoizedProps:null,a=n.children,Yc(e,n)?a=null:f!==null&&Yc(e,f)&&(t.flags|=32),t.memoizedState!==null&&(e=qf(l,t,Ev,null,null,u),de._currentValue=e),en(l,t),Ol(l,t,a,u),t.child;case 6:return l===null&&$&&((l=u=ol)&&(u=ah(u,t.pendingProps,St),u!==null?(t.stateNode=u,Bl=t,ol=null,l=!0):l=!1),l||zu(t)),null;case 13:return _0(l,t,u);case 4:return il(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=ea(t,null,a,u):Ol(l,t,a,u),t.child;case 11:return g0(l,t,t.type,t.pendingProps,u);case 7:return Ol(l,t,t.pendingProps,u),t.child;case 8:return Ol(l,t,t.pendingProps.children,u),t.child;case 12:return Ol(l,t,t.pendingProps.children,u),t.child;case 10:return a=t.pendingProps,Lt(t,t.type,a.value),Ol(l,t,a.children,u),t.child;case 9:return e=t.type._context,a=t.pendingProps.children,_u(t),e=Rl(e),a=a(e),t.flags|=1,Ol(l,t,a,u),t.child;case 14:return S0(l,t,t.type,t.pendingProps,u);case 15:return b0(l,t,t.type,t.pendingProps,u);case 19:return M0(l,t,u);case 31:return a=t.pendingProps,u=t.mode,a={mode:a.mode,children:a.children},l===null?(u=nn(a,u),u.ref=t.ref,t.child=u,u.return=t,t=u):(u=Mt(l.child,a),u.ref=t.ref,t.child=u,u.return=t,t=u),t;case 22:return E0(l,t,u);case 24:return _u(t),a=Rl(Sl),l===null?(e=_f(),e===null&&(e=fl,n=zf(),e.pooledCache=n,n.refCount++,n!==null&&(e.pooledCacheLanes|=u),e=n),t.memoizedState={parent:a,cache:e},Mf(t),Lt(t,Sl,e)):((l.lanes&u)!==0&&(Df(l,t),Za(t,null,null,u),Ca()),e=l.memoizedState,n=t.memoizedState,e.parent!==a?(e={parent:a,cache:a},t.memoizedState=e,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=e),Lt(t,Sl,a)):(a=n.cache,Lt(t,Sl,a),a!==e.cache&&Af(t,[Sl],u,!0))),Ol(l,t,t.pendingProps.children,u),t.child;case 29:throw t.pendingProps}throw Error(m(156,t.tag))}function Yt(l){l.flags|=4}function U0(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!jd(t)){if(t=it.current,t!==null&&((L&4194048)===L?bt!==null:(L&62914560)!==L&&(L&536870912)===0||t!==bt))throw Xa=xf,vs;l.flags|=8192}}function fn(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?ci():536870912,l.lanes|=t,ia|=t)}function $a(l,t){if(!$)switch(l.tailMode){case"hidden":t=l.tail;for(var u=null;t!==null;)t.alternate!==null&&(u=t),t=t.sibling;u===null?l.tail=null:u.sibling=null;break;case"collapsed":u=l.tail;for(var a=null;u!==null;)u.alternate!==null&&(a=u),u=u.sibling;a===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}function dl(l){var t=l.alternate!==null&&l.alternate.child===l.child,u=0,a=0;if(t)for(var e=l.child;e!==null;)u|=e.lanes|e.childLanes,a|=e.subtreeFlags&65011712,a|=e.flags&65011712,e.return=l,e=e.sibling;else for(e=l.child;e!==null;)u|=e.lanes|e.childLanes,a|=e.subtreeFlags,a|=e.flags,e.return=l,e=e.sibling;return l.subtreeFlags|=a,l.childLanes=u,t}function Uv(l,t,u){var a=t.pendingProps;switch(Sf(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dl(t),null;case 1:return dl(t),null;case 3:return u=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Rt(Sl),Qt(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(l===null||l.child===null)&&(pa(t)?Yt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,cs())),dl(t),null;case 26:return u=t.memoizedState,l===null?(Yt(t),u!==null?(dl(t),U0(t,u)):(dl(t),t.flags&=-16777217)):u?u!==l.memoizedState?(Yt(t),dl(t),U0(t,u)):(dl(t),t.flags&=-16777217):(l.memoizedProps!==a&&Yt(t),dl(t),t.flags&=-16777217),null;case 27:ge(t),u=j.current;var e=t.type;if(l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Yt(t);else{if(!a){if(t.stateNode===null)throw Error(m(166));return dl(t),null}l=p.current,pa(t)?ns(t):(l=Ud(e,a,u),t.stateNode=l,Yt(t))}return dl(t),null;case 5:if(ge(t),u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Yt(t);else{if(!a){if(t.stateNode===null)throw Error(m(166));return dl(t),null}if(l=p.current,pa(t))ns(t);else{switch(e=En(j.current),l){case 1:l=e.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:l=e.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":l=e.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":l=e.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":l=e.createElement("div"),l.innerHTML=" - - - - - - - - - - - -
- - - - -