diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 02d9cfe..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Deploy - -on: - push: - branches: - - main - -jobs: - build: - name: Build - runs-on: ubuntu-latest - - steps: - - name: Checkout repo - uses: actions/checkout@v2 - - - name: Setup Node - uses: actions/setup-node@v1 - with: - node-version: 16 - - - name: Install dependencies - uses: bahmutov/npm-install@v1 - - - name: Build project - run: npm run build - - - name: Upload production-ready build files - uses: actions/upload-artifact@v2 - with: - name: production-files - path: ./dist - - deploy: - name: Deploy - needs: build - runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' - - steps: - - name: Download artifact - uses: actions/download-artifact@v2 - with: - name: production-files - path: ./dist - - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist diff --git a/.gitignore b/.gitignore index 8c86bb8..c576e46 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ node_modules/ # Production /build +/dist # Environment files .env diff --git a/dist/assets/index-2ee1d670.css b/dist/assets/index-2ee1d670.css deleted file mode 100644 index 2fb0dab..0000000 --- a/dist/assets/index-2ee1d670.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-10{margin-left:2.5rem}.mr-2{margin-right:.5rem}.block{display:block}.flex{display:flex}.hidden{display:none}.h-16{height:4rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-48{width:12rem}.w-6{width:1.5rem}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-7xl{max-width:80rem}.flex-shrink-0{flex-shrink:0}.scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border-l-4{border-left-width:4px}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-gray-50{--tw-gradient-to: #f9fafb var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-2{padding:.5rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pl-4{padding-left:1rem}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.text-center{text-align:center}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-relaxed{line-height:1.625}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-10{opacity:.1}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(37 99 235 / var(--tw-ring-opacity, 1))}.ring-opacity-50{--tw-ring-opacity: .5}.blur-lg{--tw-blur: blur(16px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}html{scroll-behavior:smooth}body{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.sm\:px-3{padding-left:.75rem;padding-right:.75rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}}@media (min-width: 768px){.md\:block{display:block}.md\:hidden{display:none}}@media (min-width: 1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}} diff --git a/dist/assets/index-77ba2d54.js b/dist/assets/index-77ba2d54.js deleted file mode 100644 index c3d53f5..0000000 --- a/dist/assets/index-77ba2d54.js +++ /dev/null @@ -1,40 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function qp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mf={exports:{}},So={},gf={exports:{}},O={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Zr=Symbol.for("react.element"),bp=Symbol.for("react.portal"),em=Symbol.for("react.fragment"),tm=Symbol.for("react.strict_mode"),nm=Symbol.for("react.profiler"),rm=Symbol.for("react.provider"),im=Symbol.for("react.context"),om=Symbol.for("react.forward_ref"),sm=Symbol.for("react.suspense"),lm=Symbol.for("react.memo"),am=Symbol.for("react.lazy"),ba=Symbol.iterator;function um(e){return e===null||typeof e!="object"?null:(e=ba&&e[ba]||e["@@iterator"],typeof e=="function"?e:null)}var yf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vf=Object.assign,xf={};function bn(e,t,n){this.props=e,this.context=t,this.refs=xf,this.updater=n||yf}bn.prototype.isReactComponent={};bn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};bn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function wf(){}wf.prototype=bn.prototype;function Fl(e,t,n){this.props=e,this.context=t,this.refs=xf,this.updater=n||yf}var zl=Fl.prototype=new wf;zl.constructor=Fl;vf(zl,bn.prototype);zl.isPureReactComponent=!0;var eu=Array.isArray,Sf=Object.prototype.hasOwnProperty,Il={current:null},kf={key:!0,ref:!0,__self:!0,__source:!0};function Pf(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Sf.call(t,r)&&!kf.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1>>1,H=V[R];if(0>>1;Ri(wn,_))Mei(Jt,wn)?(V[R]=Jt,V[Me]=_,R=Me):(V[R]=wn,V[be]=_,R=be);else if(Mei(Jt,_))V[R]=Jt,V[Me]=_,R=Me;else break e}}return D}function i(V,D){var _=V.sortIndex-D.sortIndex;return _!==0?_:V.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,f=null,d=3,g=!1,y=!1,v=!1,C=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(V){for(var D=n(u);D!==null;){if(D.callback===null)r(u);else if(D.startTime<=V)r(u),D.sortIndex=D.expirationTime,t(a,D);else break;D=n(u)}}function x(V){if(v=!1,p(V),!y)if(n(a)!==null)y=!0,J(w);else{var D=n(u);D!==null&&Fe(x,D.startTime-V)}}function w(V,D){y=!1,v&&(v=!1,m(P),P=-1),g=!0;var _=d;try{for(p(D),f=n(a);f!==null&&(!(f.expirationTime>D)||V&&!re());){var R=f.callback;if(typeof R=="function"){f.callback=null,d=f.priorityLevel;var H=R(f.expirationTime<=D);D=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(a)&&r(a),p(D)}else r(a);f=n(a)}if(f!==null)var Zt=!0;else{var be=n(u);be!==null&&Fe(x,be.startTime-D),Zt=!1}return Zt}finally{f=null,d=_,g=!1}}var E=!1,T=null,P=-1,j=5,N=-1;function re(){return!(e.unstable_now()-NV||125R?(V.sortIndex=_,t(u,V),n(a)===null&&V===n(u)&&(v?(m(P),P=-1):v=!0,Fe(x,_-R))):(V.sortIndex=H,t(a,V),y||g||(y=!0,J(w))),V},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(V){var D=d;return function(){var _=d;d=D;try{return V.apply(this,arguments)}finally{d=_}}}})(Lf);Vf.exports=Lf;var wm=Vf.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Sm=A,Re=wm;function S(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),As=Object.prototype.hasOwnProperty,km=/^[: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]*$/,nu={},ru={};function Pm(e){return As.call(ru,e)?!0:As.call(nu,e)?!1:km.test(e)?ru[e]=!0:(nu[e]=!0,!1)}function Cm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Tm(e,t,n,r){if(t===null||typeof t>"u"||Cm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ke(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new ke(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new ke(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new ke(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new ke(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){ce[e]=new ke(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new ke(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new ke(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new ke(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new ke(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ul=/[\-:]([a-z])/g;function $l(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ul,$l);ce[t]=new ke(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ul,$l);ce[t]=new ke(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ul,$l);ce[t]=new ke(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new ke(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new ke("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new ke(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hl(e,t,n,r){var i=ce.hasOwnProperty(t)?ce[t]:null;(i!==null?i.type!==0:r||!(2l||i[s]!==o[l]){var a=` -`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Yo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?dr(e):""}function Em(e){switch(e.tag){case 5:return dr(e.type);case 16:return dr("Lazy");case 13:return dr("Suspense");case 19:return dr("SuspenseList");case 0:case 2:case 15:return e=Xo(e.type,!1),e;case 11:return e=Xo(e.type.render,!1),e;case 1:return e=Xo(e.type,!0),e;default:return""}}function _s(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 Pn:return"Fragment";case kn:return"Portal";case Ns:return"Profiler";case Wl:return"StrictMode";case Rs:return"Suspense";case js:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Af:return(e.displayName||"Context")+".Consumer";case Df:return(e._context.displayName||"Context")+".Provider";case Gl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Kl:return t=e.displayName||null,t!==null?t:_s(e.type)||"Memo";case Ct:t=e._payload,e=e._init;try{return _s(e(t))}catch{}}return null}function Vm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _s(t);case 8:return t===Wl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function $t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Lm(e){var t=Rf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ai(e){e._valueTracker||(e._valueTracker=Lm(e))}function jf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Rf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $i(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 Os(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ou(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$t(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function _f(e,t){t=t.checked,t!=null&&Hl(e,"checked",t,!1)}function Fs(e,t){_f(e,t);var n=$t(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?zs(e,t.type,n):t.hasOwnProperty("defaultValue")&&zs(e,t.type,$t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function su(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function zs(e,t,n){(t!=="number"||$i(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var hr=Array.isArray;function zn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ui.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ar(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yr={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},Mm=["Webkit","ms","Moz","O"];Object.keys(yr).forEach(function(e){Mm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),yr[t]=yr[e]})});function If(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||yr.hasOwnProperty(e)&&yr[e]?(""+t).trim():t+"px"}function Bf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=If(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Dm=Y({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 Us(e,t){if(t){if(Dm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function $s(e,t){if(e.indexOf("-")===-1)return typeof t.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 Hs=null;function Ql(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ws=null,In=null,Bn=null;function uu(e){if(e=br(e)){if(typeof Ws!="function")throw Error(S(280));var t=e.stateNode;t&&(t=Eo(t),Ws(e.stateNode,e.type,t))}}function Uf(e){In?Bn?Bn.push(e):Bn=[e]:In=e}function $f(){if(In){var e=In,t=Bn;if(Bn=In=null,uu(e),t)for(e=0;e>>=0,e===0?32:31-(Um(e)/$m|0)|0}var ci=64,fi=4194304;function pr(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 Ki(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=pr(l):(o&=s,o!==0&&(r=pr(o)))}else s=n&~i,s!==0?r=pr(s):o!==0&&(r=pr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Jr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ze(t),e[t]=n}function Km(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=xr),vu=String.fromCharCode(32),xu=!1;function ad(e,t){switch(e){case"keyup":return wg.indexOf(t.keyCode)!==-1;case"keydown":return t.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 Cn=!1;function kg(e,t){switch(e){case"compositionend":return ud(t);case"keypress":return t.which!==32?null:(xu=!0,vu);case"textInput":return e=t.data,e===vu&&xu?null:e;default:return null}}function Pg(e,t){if(Cn)return e==="compositionend"||!ta&&ad(e,t)?(e=sd(),Ai=ql=Mt=null,Cn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Pu(n)}}function hd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pd(){for(var e=window,t=$i();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$i(e.document)}return t}function na(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Ng(e){var t=pd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hd(n.ownerDocument.documentElement,n)){if(r!==null&&na(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Cu(n,o);var s=Cu(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Tn=null,Zs=null,Sr=null,Js=!1;function Tu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Js||Tn==null||Tn!==$i(r)||(r=Tn,"selectionStart"in r&&na(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Sr&&Fr(Sr,r)||(Sr=r,r=Xi(Zs,"onSelect"),0Ln||(e.current=rl[Ln],rl[Ln]=null,Ln--)}function I(e,t){Ln++,rl[Ln]=e.current,e.current=t}var Ht={},me=Qt(Ht),Te=Qt(!1),fn=Ht;function Gn(e,t){var n=e.type.contextTypes;if(!n)return Ht;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ee(e){return e=e.childContextTypes,e!=null}function Ji(){U(Te),U(me)}function Nu(e,t,n){if(me.current!==Ht)throw Error(S(168));I(me,t),I(Te,n)}function Pd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(S(108,Vm(e)||"Unknown",i));return Y({},n,r)}function qi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ht,fn=me.current,I(me,e),I(Te,Te.current),!0}function Ru(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Pd(e,t,fn),r.__reactInternalMemoizedMergedChildContext=e,U(Te),U(me),I(me,e)):U(Te),I(Te,n)}var at=null,Vo=!1,us=!1;function Cd(e){at===null?at=[e]:at.push(e)}function Wg(e){Vo=!0,Cd(e)}function Yt(){if(!us&&at!==null){us=!0;var e=0,t=z;try{var n=at;for(z=1;e>=s,i-=s,ut=1<<32-Ze(t)+i|n<P?(j=T,T=null):j=T.sibling;var N=d(m,T,p[P],x);if(N===null){T===null&&(T=j);break}e&&T&&N.alternate===null&&t(m,T),h=o(N,h,P),E===null?w=N:E.sibling=N,E=N,T=j}if(P===p.length)return n(m,T),W&&en(m,P),w;if(T===null){for(;PP?(j=T,T=null):j=T.sibling;var re=d(m,T,N.value,x);if(re===null){T===null&&(T=j);break}e&&T&&re.alternate===null&&t(m,T),h=o(re,h,P),E===null?w=re:E.sibling=re,E=re,T=j}if(N.done)return n(m,T),W&&en(m,P),w;if(T===null){for(;!N.done;P++,N=p.next())N=f(m,N.value,x),N!==null&&(h=o(N,h,P),E===null?w=N:E.sibling=N,E=N);return W&&en(m,P),w}for(T=r(m,T);!N.done;P++,N=p.next())N=g(T,m,P,N.value,x),N!==null&&(e&&N.alternate!==null&&T.delete(N.key===null?P:N.key),h=o(N,h,P),E===null?w=N:E.sibling=N,E=N);return e&&T.forEach(function(le){return t(m,le)}),W&&en(m,P),w}function C(m,h,p,x){if(typeof p=="object"&&p!==null&&p.type===Pn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case li:e:{for(var w=p.key,E=h;E!==null;){if(E.key===w){if(w=p.type,w===Pn){if(E.tag===7){n(m,E.sibling),h=i(E,p.props.children),h.return=m,m=h;break e}}else if(E.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Ct&&Ou(w)===E.type){n(m,E.sibling),h=i(E,p.props),h.ref=lr(m,E,p),h.return=m,m=h;break e}n(m,E);break}else t(m,E);E=E.sibling}p.type===Pn?(h=cn(p.props.children,m.mode,x,p.key),h.return=m,m=h):(x=Ii(p.type,p.key,p.props,null,m.mode,x),x.ref=lr(m,h,p),x.return=m,m=x)}return s(m);case kn:e:{for(E=p.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===p.containerInfo&&h.stateNode.implementation===p.implementation){n(m,h.sibling),h=i(h,p.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=ys(p,m.mode,x),h.return=m,m=h}return s(m);case Ct:return E=p._init,C(m,h,E(p._payload),x)}if(hr(p))return y(m,h,p,x);if(nr(p))return v(m,h,p,x);vi(m,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,h!==null&&h.tag===6?(n(m,h.sibling),h=i(h,p),h.return=m,m=h):(n(m,h),h=gs(p,m.mode,x),h.return=m,m=h),s(m)):n(m,h)}return C}var Qn=Ld(!0),Md=Ld(!1),to=Qt(null),no=null,An=null,sa=null;function la(){sa=An=no=null}function aa(e){var t=to.current;U(to),e._currentValue=t}function sl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function $n(e,t){no=e,sa=An=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ce=!0),e.firstContext=null)}function We(e){var t=e._currentValue;if(sa!==e)if(e={context:e,memoizedValue:t,next:null},An===null){if(no===null)throw Error(S(308));An=e,no.dependencies={lanes:0,firstContext:e}}else An=An.next=e;return t}var sn=null;function ua(e){sn===null?sn=[e]:sn.push(e)}function Dd(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ua(t)):(n.next=i.next,i.next=n),t.interleaved=n,yt(e,r)}function yt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Tt=!1;function ca(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ad(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function dt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function _t(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,F&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,yt(e,n)}return i=r.interleaved,i===null?(t.next=t,ua(r)):(t.next=i.next,i.next=t),r.interleaved=t,yt(e,n)}function Ri(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xl(e,n)}}function Fu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ro(e,t,n,r){var i=e.updateQueue;Tt=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?o=u:s.next=u,s=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(o!==null){var f=i.baseState;s=0,c=u=a=null,l=o;do{var d=l.lane,g=l.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,v=l;switch(d=t,g=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){f=y.call(g,f,d);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,d=typeof y=="function"?y.call(g,f,d):y,d==null)break e;f=Y({},f,d);break e;case 2:Tt=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[l]:d.push(l))}else g={eventTime:g,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=g,a=f):c=c.next=g,s|=d;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;d=l,l=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(c===null&&(a=f),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);pn|=s,e.lanes=s,e.memoizedState=f}}function zu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=fs.transition;fs.transition={};try{e(!1),t()}finally{z=n,fs.transition=r}}function Yd(){return Ge().memoizedState}function Yg(e,t,n){var r=Ft(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Xd(e))Zd(t,n);else if(n=Dd(e,t,n,r),n!==null){var i=we();Je(n,e,r,i),Jd(n,t,r)}}function Xg(e,t,n){var r=Ft(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xd(e))Zd(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,qe(l,s)){var a=t.interleaved;a===null?(i.next=i,ua(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Dd(e,t,i,r),n!==null&&(i=we(),Je(n,e,r,i),Jd(n,t,r))}}function Xd(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Zd(e,t){kr=oo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Jd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xl(e,n)}}var so={readContext:We,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},Zg={readContext:We,useCallback:function(e,t){return tt().memoizedState=[e,t===void 0?null:t],e},useContext:We,useEffect:Bu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_i(4194308,4,Hd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _i(4194308,4,e,t)},useInsertionEffect:function(e,t){return _i(4,2,e,t)},useMemo:function(e,t){var n=tt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Yg.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=tt();return e={current:e},t.memoizedState=e},useState:Iu,useDebugValue:va,useDeferredValue:function(e){return tt().memoizedState=e},useTransition:function(){var e=Iu(!1),t=e[0];return e=Qg.bind(null,e[1]),tt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=tt();if(W){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),se===null)throw Error(S(349));hn&30||_d(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Bu(Fd.bind(null,r,o,e),[e]),r.flags|=2048,Gr(9,Od.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=tt(),t=se.identifierPrefix;if(W){var n=ct,r=ut;n=(r&~(1<<32-Ze(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[nt]=t,e[Br]=r,lh(e,t,!1,!1),t.stateNode=e;e:{switch(s=$s(n,r),n){case"dialog":B("cancel",e),B("close",e),i=r;break;case"iframe":case"object":case"embed":B("load",e),i=r;break;case"video":case"audio":for(i=0;iZn&&(t.flags|=128,r=!0,ar(o,!1),t.lanes=4194304)}else{if(!r)if(e=io(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ar(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!W)return de(t),null}else 2*q()-o.renderingStartTime>Zn&&n!==1073741824&&(t.flags|=128,r=!0,ar(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=q(),t.sibling=null,n=G.current,I(G,r?n&1|2:n&1),t):(de(t),null);case 22:case 23:return Ca(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?De&1073741824&&(de(t),t.subtreeFlags&6&&(t.flags|=8192)):de(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function iy(e,t){switch(ia(t),t.tag){case 1:return Ee(t.type)&&Ji(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yn(),U(Te),U(me),ha(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return da(t),null;case 13:if(U(G),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));Kn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(G),null;case 4:return Yn(),null;case 10:return aa(t.type._context),null;case 22:case 23:return Ca(),null;case 24:return null;default:return null}}var wi=!1,pe=!1,oy=typeof WeakSet=="function"?WeakSet:Set,L=null;function Nn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){X(e,t,r)}else n.current=null}function ml(e,t,n){try{n()}catch(r){X(e,t,r)}}var Ju=!1;function sy(e,t){if(qs=Qi,e=pd(),na(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(l=s+i),f!==o||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=s),d===o&&++c===r&&(a=s),(g=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(bs={focusedElem:e,selectionRange:n},Qi=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,C=y.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:Qe(t.type,v),C);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(x){X(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return y=Ju,Ju=!1,y}function Pr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&ml(t,n,o)}i=i.next}while(i!==r)}}function Do(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function gl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ch(e){var t=e.alternate;t!==null&&(e.alternate=null,ch(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nt],delete t[Br],delete t[nl],delete t[$g],delete t[Hg])),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 fh(e){return e.tag===5||e.tag===3||e.tag===4}function qu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fh(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 yl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Zi));else if(r!==4&&(e=e.child,e!==null))for(yl(e,t,n),e=e.sibling;e!==null;)yl(e,t,n),e=e.sibling}function vl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(vl(e,t,n),e=e.sibling;e!==null;)vl(e,t,n),e=e.sibling}var ae=null,Ye=!1;function kt(e,t,n){for(n=n.child;n!==null;)dh(e,t,n),n=n.sibling}function dh(e,t,n){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(ko,n)}catch{}switch(n.tag){case 5:pe||Nn(n,t);case 6:var r=ae,i=Ye;ae=null,kt(e,t,n),ae=r,Ye=i,ae!==null&&(Ye?(e=ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ae.removeChild(n.stateNode));break;case 18:ae!==null&&(Ye?(e=ae,n=n.stateNode,e.nodeType===8?as(e.parentNode,n):e.nodeType===1&&as(e,n),_r(e)):as(ae,n.stateNode));break;case 4:r=ae,i=Ye,ae=n.stateNode.containerInfo,Ye=!0,kt(e,t,n),ae=r,Ye=i;break;case 0:case 11:case 14:case 15:if(!pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&ml(n,t,s),i=i.next}while(i!==r)}kt(e,t,n);break;case 1:if(!pe&&(Nn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){X(n,t,l)}kt(e,t,n);break;case 21:kt(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,kt(e,t,n),pe=r):kt(e,t,n);break;default:kt(e,t,n)}}function bu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new oy),t.forEach(function(r){var i=my.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ke(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ay(r/1960))-r,10e?16:e,Dt===null)var r=!1;else{if(e=Dt,Dt=null,uo=0,F&6)throw Error(S(331));var i=F;for(F|=4,L=e.current;L!==null;){var o=L,s=o.child;if(L.flags&16){var l=o.deletions;if(l!==null){for(var a=0;aq()-ka?un(e,0):Sa|=n),Ve(e,t)}function wh(e,t){t===0&&(e.mode&1?(t=fi,fi<<=1,!(fi&130023424)&&(fi=4194304)):t=1);var n=we();e=yt(e,t),e!==null&&(Jr(e,t,n),Ve(e,n))}function py(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),wh(e,n)}function my(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),wh(e,n)}var Sh;Sh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Te.current)Ce=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ce=!1,ny(e,t,n);Ce=!!(e.flags&131072)}else Ce=!1,W&&t.flags&1048576&&Td(t,eo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Oi(e,t),e=t.pendingProps;var i=Gn(t,me.current);$n(t,n),i=ma(null,t,r,e,i,n);var o=ga();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ee(r)?(o=!0,qi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ca(t),i.updater=Mo,t.stateNode=i,i._reactInternals=t,al(t,r,e,n),t=fl(null,t,r,!0,o,n)):(t.tag=0,W&&o&&ra(t),ve(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Oi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=yy(r),e=Qe(r,e),i){case 0:t=cl(null,t,r,e,n);break e;case 1:t=Yu(null,t,r,e,n);break e;case 11:t=Ku(null,t,r,e,n);break e;case 14:t=Qu(null,t,r,Qe(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qe(r,i),cl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qe(r,i),Yu(e,t,r,i,n);case 3:e:{if(ih(t),e===null)throw Error(S(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Ad(e,t),ro(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Xn(Error(S(423)),t),t=Xu(e,t,r,n,i);break e}else if(r!==i){i=Xn(Error(S(424)),t),t=Xu(e,t,r,n,i);break e}else for(Ae=jt(t.stateNode.containerInfo.firstChild),Ne=t,W=!0,Xe=null,n=Md(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Kn(),r===i){t=vt(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return Nd(t),e===null&&ol(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,el(r,i)?s=null:o!==null&&el(r,o)&&(t.flags|=32),rh(e,t),ve(e,t,s,n),t.child;case 6:return e===null&&ol(t),null;case 13:return oh(e,t,n);case 4:return fa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qn(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qe(r,i),Ku(e,t,r,i,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,I(to,r._currentValue),r._currentValue=s,o!==null)if(qe(o.value,s)){if(o.children===i.children&&!Te.current){t=vt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=dt(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),sl(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(S(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),sl(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ve(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,$n(t,n),i=We(i),r=r(i),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,i=Qe(r,t.pendingProps),i=Qe(r.type,i),Qu(e,t,r,i,n);case 15:return th(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qe(r,i),Oi(e,t),t.tag=1,Ee(r)?(e=!0,qi(t)):e=!1,$n(t,n),qd(t,r,i),al(t,r,i,n),fl(null,t,r,!0,e,n);case 19:return sh(e,t,n);case 22:return nh(e,t,n)}throw Error(S(156,t.tag))};function kh(e,t){return Xf(e,t)}function gy(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $e(e,t,n,r){return new gy(e,t,n,r)}function Ea(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yy(e){if(typeof e=="function")return Ea(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Gl)return 11;if(e===Kl)return 14}return 2}function zt(e,t){var n=e.alternate;return n===null?(n=$e(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ii(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Ea(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Pn:return cn(n.children,i,o,t);case Wl:s=8,i|=8;break;case Ns:return e=$e(12,n,t,i|2),e.elementType=Ns,e.lanes=o,e;case Rs:return e=$e(13,n,t,i),e.elementType=Rs,e.lanes=o,e;case js:return e=$e(19,n,t,i),e.elementType=js,e.lanes=o,e;case Nf:return No(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Df:s=10;break e;case Af:s=9;break e;case Gl:s=11;break e;case Kl:s=14;break e;case Ct:s=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=$e(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function cn(e,t,n,r){return e=$e(7,e,r,t),e.lanes=n,e}function No(e,t,n,r){return e=$e(22,e,r,t),e.elementType=Nf,e.lanes=n,e.stateNode={isHidden:!1},e}function gs(e,t,n){return e=$e(6,e,null,t),e.lanes=n,e}function ys(e,t,n){return t=$e(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vy(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Jo(0),this.expirationTimes=Jo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Va(e,t,n,r,i,o,s,l,a){return e=new vy(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=$e(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ca(o),e}function xy(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Eh)}catch(e){console.error(e)}}Eh(),Ef.exports=_e;var Cy=Ef.exports,lc=Cy;Ds.createRoot=lc.createRoot,Ds.hydrateRoot=lc.hydrateRoot;const Vh=A.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Fo=A.createContext({}),Aa=A.createContext(null),zo=typeof document<"u",Ty=zo?A.useLayoutEffect:A.useEffect,Lh=A.createContext({strict:!1}),Na=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Ey="framerAppearId",Mh="data-"+Na(Ey);function Vy(e,t,n,r){const{visualElement:i}=A.useContext(Fo),o=A.useContext(Lh),s=A.useContext(Aa),l=A.useContext(Vh).reducedMotion,a=A.useRef();r=r||o.renderer,!a.current&&r&&(a.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:l}));const u=a.current;A.useInsertionEffect(()=>{u&&u.update(n,s)});const c=A.useRef(!!(n[Mh]&&!window.HandoffComplete));return Ty(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),A.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function jn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Ly(e,t,n){return A.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):jn(n)&&(n.current=r))},[t])}function Qr(e){return typeof e=="string"||Array.isArray(e)}function Io(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Ra=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ja=["initial",...Ra];function Bo(e){return Io(e.animate)||ja.some(t=>Qr(e[t]))}function Dh(e){return!!(Bo(e)||e.variants)}function My(e,t){if(Bo(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Qr(n)?n:void 0,animate:Qr(r)?r:void 0}}return e.inherit!==!1?t:{}}function Dy(e){const{initial:t,animate:n}=My(e,A.useContext(Fo));return A.useMemo(()=>({initial:t,animate:n}),[ac(t),ac(n)])}function ac(e){return Array.isArray(e)?e.join(" "):e}const uc={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Yr={};for(const e in uc)Yr[e]={isEnabled:t=>uc[e].some(n=>!!t[n])};function Ay(e){for(const t in e)Yr[t]={...Yr[t],...e[t]}}const Ah=A.createContext({}),Nh=A.createContext({}),Ny=Symbol.for("motionComponentSymbol");function Ry({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&Ay(e);function o(l,a){let u;const c={...A.useContext(Vh),...l,layoutId:jy(l)},{isStatic:f}=c,d=Dy(l),g=r(l,f);if(!f&&zo){d.visualElement=Vy(i,g,c,t);const y=A.useContext(Nh),v=A.useContext(Lh).strict;d.visualElement&&(u=d.visualElement.loadFeatures(c,v,e,y))}return A.createElement(Fo.Provider,{value:d},u&&d.visualElement?A.createElement(u,{visualElement:d.visualElement,...c}):null,n(i,l,Ly(g,d.visualElement,a),g,f,d.visualElement))}const s=A.forwardRef(o);return s[Ny]=i,s}function jy({layoutId:e}){const t=A.useContext(Ah).id;return t&&e!==void 0?t+"-"+e:e}function _y(e){function t(r,i={}){return Ry(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Oy=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function _a(e){return typeof e!="string"||e.includes("-")?!1:!!(Oy.indexOf(e)>-1||/[A-Z]/.test(e))}const ho={};function Fy(e){Object.assign(ho,e)}const ti=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],vn=new Set(ti);function Rh(e,{layout:t,layoutId:n}){return vn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ho[e]||e==="opacity")}const Le=e=>!!(e&&e.getVelocity),zy={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Iy=ti.length;function By(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),_h=jh("--"),Pl=jh("var(--"),Uy=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,$y=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Wt=(e,t,n)=>Math.min(Math.max(n,e),t),xn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Er={...xn,transform:e=>Wt(0,1,e)},Pi={...xn,default:1},Vr=e=>Math.round(e*1e5)/1e5,Uo=/(-)?([\d]*\.?[\d])+/g,Oh=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Hy=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ni(e){return typeof e=="string"}const ri=e=>({test:t=>ni(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Pt=ri("deg"),st=ri("%"),M=ri("px"),Wy=ri("vh"),Gy=ri("vw"),cc={...st,parse:e=>st.parse(e)/100,transform:e=>st.transform(e*100)},fc={...xn,transform:Math.round},Fh={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,radius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,size:M,top:M,right:M,bottom:M,left:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,rotate:Pt,rotateX:Pt,rotateY:Pt,rotateZ:Pt,scale:Pi,scaleX:Pi,scaleY:Pi,scaleZ:Pi,skew:Pt,skewX:Pt,skewY:Pt,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:Er,originX:cc,originY:cc,originZ:M,zIndex:fc,fillOpacity:Er,strokeOpacity:Er,numOctaves:fc};function Oa(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:l}=e;let a=!1,u=!1,c=!0;for(const f in t){const d=t[f];if(_h(f)){o[f]=d;continue}const g=Fh[f],y=$y(d,g);if(vn.has(f)){if(a=!0,s[f]=y,!c)continue;d!==(g.default||0)&&(c=!1)}else f.startsWith("origin")?(u=!0,l[f]=y):i[f]=y}if(t.transform||(a||r?i.transform=By(e.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:f="50%",originY:d="50%",originZ:g=0}=l;i.transformOrigin=`${f} ${d} ${g}`}}const Fa=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function zh(e,t,n){for(const r in t)!Le(t[r])&&!Rh(r,n)&&(e[r]=t[r])}function Ky({transformTemplate:e},t,n){return A.useMemo(()=>{const r=Fa();return Oa(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function Qy(e,t,n){const r=e.style||{},i={};return zh(i,r,e),Object.assign(i,Ky(e,t,n)),e.transformValues?e.transformValues(i):i}function Yy(e,t,n){const r={},i=Qy(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const Xy=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function po(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Xy.has(e)}let Ih=e=>!po(e);function Zy(e){e&&(Ih=t=>t.startsWith("on")?!po(t):e(t))}try{Zy(require("@emotion/is-prop-valid").default)}catch{}function Jy(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Ih(i)||n===!0&&po(i)||!t&&!po(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function dc(e,t,n){return typeof e=="string"?e:M.transform(t+n*e)}function qy(e,t,n){const r=dc(t,e.x,e.width),i=dc(n,e.y,e.height);return`${r} ${i}`}const by={offset:"stroke-dashoffset",array:"stroke-dasharray"},e0={offset:"strokeDashoffset",array:"strokeDasharray"};function t0(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?by:e0;e[o.offset]=M.transform(-r);const s=M.transform(t),l=M.transform(n);e[o.array]=`${s} ${l}`}function za(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:l=1,pathOffset:a=0,...u},c,f,d){if(Oa(e,u,c,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:g,style:y,dimensions:v}=e;g.transform&&(v&&(y.transform=g.transform),delete g.transform),v&&(i!==void 0||o!==void 0||y.transform)&&(y.transformOrigin=qy(v,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(g.x=t),n!==void 0&&(g.y=n),r!==void 0&&(g.scale=r),s!==void 0&&t0(g,s,l,a,!1)}const Bh=()=>({...Fa(),attrs:{}}),Ia=e=>typeof e=="string"&&e.toLowerCase()==="svg";function n0(e,t,n,r){const i=A.useMemo(()=>{const o=Bh();return za(o,t,{enableHardwareAcceleration:!1},Ia(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};zh(o,e.style,e),i.style={...o,...i.style}}return i}function r0(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(_a(n)?n0:Yy)(r,o,s,n),c={...Jy(r,typeof n=="string",e),...a,ref:i},{children:f}=r,d=A.useMemo(()=>Le(f)?f.get():f,[f]);return A.createElement(n,{...c,children:d})}}function Uh(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const $h=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Hh(e,t,n,r){Uh(e,t,void 0,r);for(const i in t.attrs)e.setAttribute($h.has(i)?i:Na(i),t.attrs[i])}function Ba(e,t){const{style:n}=e,r={};for(const i in n)(Le(n[i])||t.style&&Le(t.style[i])||Rh(i,e))&&(r[i]=n[i]);return r}function Wh(e,t){const n=Ba(e,t);for(const r in e)if(Le(e[r])||Le(t[r])){const i=ti.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function Ua(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function i0(e){const t=A.useRef(null);return t.current===null&&(t.current=e()),t.current}const mo=e=>Array.isArray(e),o0=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),s0=e=>mo(e)?e[e.length-1]||0:e;function Bi(e){const t=Le(e)?e.get():e;return o0(t)?t.toValue():t}function l0({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:a0(r,i,o,e),renderState:t()};return n&&(s.mount=l=>n(r,l,s)),s}const Gh=e=>(t,n)=>{const r=A.useContext(Fo),i=A.useContext(Aa),o=()=>l0(e,t,r,i);return n?o():i0(o)};function a0(e,t,n,r){const i={},o=r(e,{});for(const d in o)i[d]=Bi(o[d]);let{initial:s,animate:l}=e;const a=Bo(e),u=Dh(e);t&&u&&!a&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const f=c?l:s;return f&&typeof f!="boolean"&&!Io(f)&&(Array.isArray(f)?f:[f]).forEach(g=>{const y=Ua(e,g);if(!y)return;const{transitionEnd:v,transition:C,...m}=y;for(const h in m){let p=m[h];if(Array.isArray(p)){const x=c?p.length-1:0;p=p[x]}p!==null&&(i[h]=p)}for(const h in v)i[h]=v[h]}),i}const Z=e=>e;class hc{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function u0(e){let t=new hc,n=new hc,r=0,i=!1,o=!1;const s=new WeakSet,l={schedule:(a,u=!1,c=!1)=>{const f=c&&i,d=f?t:n;return u&&s.add(a),d.add(a)&&f&&i&&(r=t.order.length),a},cancel:a=>{n.remove(a),s.delete(a)},process:a=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(f[d]=u0(()=>n=!0),f),{}),s=f=>o[f].process(i),l=()=>{const f=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(f-i.timestamp,c0),1),i.timestamp=f,i.isProcessing=!0,Ci.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(l))},a=()=>{n=!0,r=!0,i.isProcessing||e(l)};return{schedule:Ci.reduce((f,d)=>{const g=o[d];return f[d]=(y,v=!1,C=!1)=>(n||a(),g.schedule(y,v,C)),f},{}),cancel:f=>Ci.forEach(d=>o[d].cancel(f)),state:i,steps:o}}const{schedule:$,cancel:xt,state:he,steps:vs}=f0(typeof requestAnimationFrame<"u"?requestAnimationFrame:Z,!0),d0={useVisualState:Gh({scrapeMotionValuesFromProps:Wh,createRenderState:Bh,onMount:(e,t,{renderState:n,latestValues:r})=>{$.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),$.render(()=>{za(n,r,{enableHardwareAcceleration:!1},Ia(t.tagName),e.transformTemplate),Hh(t,n)})}})},h0={useVisualState:Gh({scrapeMotionValuesFromProps:Ba,createRenderState:Fa})};function p0(e,{forwardMotionProps:t=!1},n,r){return{..._a(e)?d0:h0,preloadedFeatures:n,useRender:r0(t),createVisualElement:r,Component:e}}function ft(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Kh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function $o(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const m0=e=>t=>Kh(t)&&e(t,$o(t));function ht(e,t,n,r){return ft(e,t,m0(n),r)}const g0=(e,t)=>n=>t(e(n)),It=(...e)=>e.reduce(g0);function Qh(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const pc=Qh("dragHorizontal"),mc=Qh("dragVertical");function Yh(e){let t=!1;if(e==="y")t=mc();else if(e==="x")t=pc();else{const n=pc(),r=mc();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Xh(){const e=Yh(!0);return e?(e(),!1):!0}class Xt{constructor(t){this.isMounted=!1,this.node=t}update(){}}function gc(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(o,s)=>{if(o.pointerType==="touch"||Xh())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t),l[r]&&$.update(()=>l[r](o,s))};return ht(e.current,n,i,{passive:!e.getProps()[r]})}class y0 extends Xt{mount(){this.unmount=It(gc(this.node,!0),gc(this.node,!1))}unmount(){}}class v0 extends Xt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=It(ft(this.node.current,"focus",()=>this.onFocus()),ft(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Zh=(e,t)=>t?e===t?!0:Zh(e,t.parentElement):!1;function xs(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,$o(n))}class x0 extends Xt{constructor(){super(...arguments),this.removeStartListeners=Z,this.removeEndListeners=Z,this.removeAccessibleListeners=Z,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=ht(window,"pointerup",(l,a)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:f}=this.node.getProps();$.update(()=>{!f&&!Zh(this.node.current,l.target)?c&&c(l,a):u&&u(l,a)})},{passive:!(r.onTap||r.onPointerUp)}),s=ht(window,"pointercancel",(l,a)=>this.cancelPress(l,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=It(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=l=>{l.key!=="Enter"||!this.checkPressEnd()||xs("up",(a,u)=>{const{onTap:c}=this.node.getProps();c&&$.update(()=>c(a,u))})};this.removeEndListeners(),this.removeEndListeners=ft(this.node.current,"keyup",s),xs("down",(l,a)=>{this.startPress(l,a)})},n=ft(this.node.current,"keydown",t),r=()=>{this.isPressing&&xs("cancel",(o,s)=>this.cancelPress(o,s))},i=ft(this.node.current,"blur",r);this.removeAccessibleListeners=It(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&$.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Xh()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&$.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=ht(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=ft(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=It(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Cl=new WeakMap,ws=new WeakMap,w0=e=>{const t=Cl.get(e.target);t&&t(e)},S0=e=>{e.forEach(w0)};function k0({root:e,...t}){const n=e||document;ws.has(n)||ws.set(n,{});const r=ws.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(S0,{root:e,...t})),r[i]}function P0(e,t,n){const r=k0(t);return Cl.set(e,n),r.observe(e),()=>{Cl.delete(e),r.unobserve(e)}}const C0={some:0,all:1};class T0 extends Xt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:C0[i]},l=a=>{const{isIntersecting:u}=a;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(a)};return P0(this.node.current,s,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(E0(t,n))&&this.startObserver()}unmount(){}}function E0({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const V0={inView:{Feature:T0},tap:{Feature:x0},focus:{Feature:v0},hover:{Feature:y0}};function Jh(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function M0(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Ho(e,t,n){const r=e.getProps();return Ua(r,t,n!==void 0?n:r.custom,L0(e),M0(e))}let D0=Z,$a=Z;const Bt=e=>e*1e3,pt=e=>e/1e3,A0={current:!1},qh=e=>Array.isArray(e)&&typeof e[0]=="number";function bh(e){return!!(!e||typeof e=="string"&&ep[e]||qh(e)||Array.isArray(e)&&e.every(bh))}const gr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ep={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:gr([0,.65,.55,1]),circOut:gr([.55,0,1,.45]),backIn:gr([.31,.01,.66,-.59]),backOut:gr([.33,1.53,.69,.99])};function tp(e){if(e)return qh(e)?gr(e):Array.isArray(e)?e.map(tp):ep[e]}function N0(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:l,times:a}={}){const u={[t]:n};a&&(u.offset=a);const c=tp(l);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function R0(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const np=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,j0=1e-7,_0=12;function O0(e,t,n,r,i){let o,s,l=0;do s=t+(n-t)/2,o=np(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>j0&&++l<_0);return s}function ii(e,t,n,r){if(e===t&&n===r)return Z;const i=o=>O0(o,0,1,e,n);return o=>o===0||o===1?o:np(i(o),t,r)}const F0=ii(.42,0,1,1),z0=ii(0,0,.58,1),rp=ii(.42,0,.58,1),I0=e=>Array.isArray(e)&&typeof e[0]!="number",ip=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,op=e=>t=>1-e(1-t),Ha=e=>1-Math.sin(Math.acos(e)),sp=op(Ha),B0=ip(Ha),lp=ii(.33,1.53,.69,.99),Wa=op(lp),U0=ip(Wa),$0=e=>(e*=2)<1?.5*Wa(e):.5*(2-Math.pow(2,-10*(e-1))),H0={linear:Z,easeIn:F0,easeInOut:rp,easeOut:z0,circIn:Ha,circInOut:B0,circOut:sp,backIn:Wa,backInOut:U0,backOut:lp,anticipate:$0},yc=e=>{if(Array.isArray(e)){$a(e.length===4);const[t,n,r,i]=e;return ii(t,n,r,i)}else if(typeof e=="string")return H0[e];return e},Ga=(e,t)=>n=>!!(ni(n)&&Hy.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ap=(e,t,n)=>r=>{if(!ni(r))return r;const[i,o,s,l]=r.match(Uo);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:l!==void 0?parseFloat(l):1}},W0=e=>Wt(0,255,e),Ss={...xn,transform:e=>Math.round(W0(e))},an={test:Ga("rgb","red"),parse:ap("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ss.transform(e)+", "+Ss.transform(t)+", "+Ss.transform(n)+", "+Vr(Er.transform(r))+")"};function G0(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Tl={test:Ga("#"),parse:G0,transform:an.transform},_n={test:Ga("hsl","hue"),parse:ap("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+st.transform(Vr(t))+", "+st.transform(Vr(n))+", "+Vr(Er.transform(r))+")"},ye={test:e=>an.test(e)||Tl.test(e)||_n.test(e),parse:e=>an.test(e)?an.parse(e):_n.test(e)?_n.parse(e):Tl.parse(e),transform:e=>ni(e)?e:e.hasOwnProperty("red")?an.transform(e):_n.transform(e)},K=(e,t,n)=>-n*e+n*t+e;function ks(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function K0({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;i=ks(a,l,e+1/3),o=ks(a,l,e),s=ks(a,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const Ps=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Q0=[Tl,an,_n],Y0=e=>Q0.find(t=>t.test(e));function vc(e){const t=Y0(e);let n=t.parse(e);return t===_n&&(n=K0(n)),n}const up=(e,t)=>{const n=vc(e),r=vc(t),i={...n};return o=>(i.red=Ps(n.red,r.red,o),i.green=Ps(n.green,r.green,o),i.blue=Ps(n.blue,r.blue,o),i.alpha=K(n.alpha,r.alpha,o),an.transform(i))};function X0(e){var t,n;return isNaN(e)&&ni(e)&&(((t=e.match(Uo))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Oh))===null||n===void 0?void 0:n.length)||0)>0}const cp={regex:Uy,countKey:"Vars",token:"${v}",parse:Z},fp={regex:Oh,countKey:"Colors",token:"${c}",parse:ye.parse},dp={regex:Uo,countKey:"Numbers",token:"${n}",parse:xn.parse};function Cs(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function go(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Cs(n,cp),Cs(n,fp),Cs(n,dp),n}function hp(e){return go(e).values}function pp(e){const{values:t,numColors:n,numVars:r,tokenised:i}=go(e),o=t.length;return s=>{let l=i;for(let a=0;atypeof e=="number"?0:e;function J0(e){const t=hp(e);return pp(e)(t.map(Z0))}const Gt={test:X0,parse:hp,createTransformer:pp,getAnimatableNone:J0},mp=(e,t)=>n=>`${n>0?t:e}`;function gp(e,t){return typeof e=="number"?n=>K(e,t,n):ye.test(e)?up(e,t):e.startsWith("var(")?mp(e,t):vp(e,t)}const yp=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,s)=>gp(o,t[s]));return o=>{for(let s=0;s{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=gp(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}},vp=(e,t)=>{const n=Gt.createTransformer(t),r=go(e),i=go(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?It(yp(r.values,i.values),n):mp(e,t)},Xr=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},xc=(e,t)=>n=>K(e,t,n);function b0(e){return typeof e=="number"?xc:typeof e=="string"?ye.test(e)?up:vp:Array.isArray(e)?yp:typeof e=="object"?q0:xc}function ev(e,t,n){const r=[],i=n||b0(e[0]),o=e.length-1;for(let s=0;st[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=ev(t,r,i),l=s.length,a=u=>{let c=0;if(l>1)for(;ca(Wt(e[0],e[o-1],u)):a}function tv(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Xr(0,t,r);e.push(K(n,1,i))}}function nv(e){const t=[0];return tv(t,e.length-1),t}function rv(e,t){return e.map(n=>n*t)}function iv(e,t){return e.map(()=>t||rp).splice(0,e.length-1)}function yo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=I0(r)?r.map(yc):yc(r),o={done:!1,value:t[0]},s=rv(n&&n.length===t.length?n:nv(t),e),l=xp(s,t,{ease:Array.isArray(i)?i:iv(t,i)});return{calculatedDuration:e,next:a=>(o.value=l(a),o.done=a>=e,o)}}function wp(e,t){return t?e*(1e3/t):0}const ov=5;function Sp(e,t,n){const r=Math.max(t-ov,0);return wp(n-e(r),t-r)}const Ts=.001,sv=.01,wc=10,lv=.05,av=1;function uv({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;D0(e<=Bt(wc));let s=1-t;s=Wt(lv,av,s),e=Wt(sv,wc,pt(e)),s<1?(i=u=>{const c=u*s,f=c*e,d=c-n,g=El(u,s),y=Math.exp(-f);return Ts-d/g*y},o=u=>{const f=u*s*e,d=f*n+n,g=Math.pow(s,2)*Math.pow(u,2)*e,y=Math.exp(-f),v=El(Math.pow(u,2),s);return(-i(u)+Ts>0?-1:1)*((d-g)*y)/v}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Ts+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=fv(i,o,l);if(e=Bt(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const cv=12;function fv(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function pv(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Sc(e,hv)&&Sc(e,dv)){const n=uv(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function kp({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:l,damping:a,mass:u,duration:c,velocity:f,isResolvedFromDuration:d}=pv({...r,velocity:-pt(r.velocity||0)}),g=f||0,y=a/(2*Math.sqrt(l*u)),v=o-i,C=pt(Math.sqrt(l/u)),m=Math.abs(v)<5;n||(n=m?.01:2),t||(t=m?.005:.5);let h;if(y<1){const p=El(C,y);h=x=>{const w=Math.exp(-y*C*x);return o-w*((g+y*C*v)/p*Math.sin(p*x)+v*Math.cos(p*x))}}else if(y===1)h=p=>o-Math.exp(-C*p)*(v+(g+C*v)*p);else{const p=C*Math.sqrt(y*y-1);h=x=>{const w=Math.exp(-y*C*x),E=Math.min(p*x,300);return o-w*((g+y*C*v)*Math.sinh(E)+p*v*Math.cosh(E))/p}}return{calculatedDuration:d&&c||null,next:p=>{const x=h(p);if(d)s.done=p>=c;else{let w=g;p!==0&&(y<1?w=Sp(h,p,x):w=0);const E=Math.abs(w)<=n,T=Math.abs(o-x)<=t;s.done=E&&T}return s.value=s.done?o:x,s}}}function kc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:l,max:a,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},g=P=>l!==void 0&&Pa,y=P=>l===void 0?a:a===void 0||Math.abs(l-P)-v*Math.exp(-P/r),p=P=>m+h(P),x=P=>{const j=h(P),N=p(P);d.done=Math.abs(j)<=u,d.value=d.done?m:N};let w,E;const T=P=>{g(d.value)&&(w=P,E=kp({keyframes:[d.value,y(d.value)],velocity:Sp(p,P,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let j=!1;return!E&&w===void 0&&(j=!0,x(P),T(P)),w!==void 0&&P>w?E.next(P-w):(!j&&x(P),d)}}}const mv=e=>{const t=({timestamp:n})=>e(n);return{start:()=>$.update(t,!0),stop:()=>xt(t),now:()=>he.isProcessing?he.timestamp:performance.now()}},Pc=2e4;function Cc(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Pc?1/0:t}const gv={decay:kc,inertia:kc,tween:yo,keyframes:yo,spring:kp};function vo({autoplay:e=!0,delay:t=0,driver:n=mv,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:l="loop",onPlay:a,onStop:u,onComplete:c,onUpdate:f,...d}){let g=1,y=!1,v,C;const m=()=>{C=new Promise(R=>{v=R})};m();let h;const p=gv[i]||yo;let x;p!==yo&&typeof r[0]!="number"&&(x=xp([0,100],r,{clamp:!1}),r=[0,100]);const w=p({...d,keyframes:r});let E;l==="mirror"&&(E=p({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let T="idle",P=null,j=null,N=null;w.calculatedDuration===null&&o&&(w.calculatedDuration=Cc(w));const{calculatedDuration:re}=w;let le=1/0,ge=1/0;re!==null&&(le=re+s,ge=le*(o+1)-s);let ie=0;const St=R=>{if(j===null)return;g>0&&(j=Math.min(j,R)),g<0&&(j=Math.min(R-ge/g,j)),P!==null?ie=P:ie=Math.round(R-j)*g;const H=ie-t*(g>=0?1:-1),Zt=g>=0?H<0:H>ge;ie=Math.max(H,0),T==="finished"&&P===null&&(ie=ge);let be=ie,wn=w;if(o){const Go=Math.min(ie,ge)/le;let oi=Math.floor(Go),qt=Go%1;!qt&&Go>=1&&(qt=1),qt===1&&oi--,oi=Math.min(oi,o+1),!!(oi%2)&&(l==="reverse"?(qt=1-qt,s&&(qt-=s/le)):l==="mirror"&&(wn=E)),be=Wt(0,1,qt)*le}const Me=Zt?{done:!1,value:r[0]}:wn.next(be);x&&(Me.value=x(Me.value));let{done:Jt}=Me;!Zt&&re!==null&&(Jt=g>=0?ie>=ge:ie<=0);const Jp=P===null&&(T==="finished"||T==="running"&&Jt);return f&&f(Me.value),Jp&&V(),Me},J=()=>{h&&h.stop(),h=void 0},Fe=()=>{T="idle",J(),v(),m(),j=N=null},V=()=>{T="finished",c&&c(),J(),v()},D=()=>{if(y)return;h||(h=n(St));const R=h.now();a&&a(),P!==null?j=R-P:(!j||T==="finished")&&(j=R),T==="finished"&&m(),N=j,P=null,T="running",h.start()};e&&D();const _={then(R,H){return C.then(R,H)},get time(){return pt(ie)},set time(R){R=Bt(R),ie=R,P!==null||!h||g===0?P=R:j=h.now()-R/g},get duration(){const R=w.calculatedDuration===null?Cc(w):w.calculatedDuration;return pt(R)},get speed(){return g},set speed(R){R===g||!h||(g=R,_.time=pt(ie))},get state(){return T},play:D,pause:()=>{T="paused",P=ie},stop:()=>{y=!0,T!=="idle"&&(T="idle",u&&u(),Fe())},cancel:()=>{N!==null&&St(N),Fe()},complete:()=>{T="finished"},sample:R=>(j=0,St(R))};return _}function yv(e){let t;return()=>(t===void 0&&(t=e()),t)}const vv=yv(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),xv=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ti=10,wv=2e4,Sv=(e,t)=>t.type==="spring"||e==="backgroundColor"||!bh(t.ease);function kv(e,t,{onUpdate:n,onComplete:r,...i}){if(!(vv()&&xv.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let s=!1,l,a,u=!1;const c=()=>{a=new Promise(p=>{l=p})};c();let{keyframes:f,duration:d=300,ease:g,times:y}=i;if(Sv(t,i)){const p=vo({...i,repeat:0,delay:0});let x={done:!1,value:f[0]};const w=[];let E=0;for(;!x.done&&E{u=!1,v.cancel()},m=()=>{u=!0,$.update(C),l(),c()};return v.onfinish=()=>{u||(e.set(R0(f,i)),r&&r(),m())},{then(p,x){return a.then(p,x)},attachTimeline(p){return v.timeline=p,v.onfinish=null,Z},get time(){return pt(v.currentTime||0)},set time(p){v.currentTime=Bt(p)},get speed(){return v.playbackRate},set speed(p){v.playbackRate=p},get duration(){return pt(d)},play:()=>{s||(v.play(),xt(C))},pause:()=>v.pause(),stop:()=>{if(s=!0,v.playState==="idle")return;const{currentTime:p}=v;if(p){const x=vo({...i,autoplay:!1});e.setWithVelocity(x.sample(p-Ti).value,x.sample(p).value,Ti)}m()},complete:()=>{u||v.finish()},cancel:m}}function Pv({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Z,pause:Z,stop:Z,then:o=>(o(),Promise.resolve()),cancel:Z,complete:Z});return t?vo({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const Cv={type:"spring",stiffness:500,damping:25,restSpeed:10},Tv=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Ev={type:"keyframes",duration:.8},Vv={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Lv=(e,{keyframes:t})=>t.length>2?Ev:vn.has(e)?e.startsWith("scale")?Tv(t[1]):Cv:Vv,Vl=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Gt.test(t)||t==="0")&&!t.startsWith("url(")),Mv=new Set(["brightness","contrast","saturate","opacity"]);function Dv(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Uo)||[];if(!r)return e;const i=n.replace(r,"");let o=Mv.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Av=/([a-z-]*)\(.*?\)/g,Ll={...Gt,getAnimatableNone:e=>{const t=e.match(Av);return t?t.map(Dv).join(" "):e}},Nv={...Fh,color:ye,backgroundColor:ye,outlineColor:ye,fill:ye,stroke:ye,borderColor:ye,borderTopColor:ye,borderRightColor:ye,borderBottomColor:ye,borderLeftColor:ye,filter:Ll,WebkitFilter:Ll},Ka=e=>Nv[e];function Pp(e,t){let n=Ka(e);return n!==Ll&&(n=Gt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Cp=e=>/^0[^.\s]+$/.test(e);function Rv(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Cp(e)}function jv(e,t,n,r){const i=Vl(t,n);let o;Array.isArray(n)?o=[...n]:o=[null,n];const s=r.from!==void 0?r.from:e.get();let l;const a=[];for(let u=0;ui=>{const o=Qa(r,e)||{},s=o.delay||r.delay||0;let{elapsed:l=0}=r;l=l-Bt(s);const a=jv(t,e,n,o),u=a[0],c=a[a.length-1],f=Vl(e,u),d=Vl(e,c);let g={keyframes:a,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-l,onUpdate:y=>{t.set(y),o.onUpdate&&o.onUpdate(y)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(_v(o)||(g={...g,...Lv(e,g)}),g.duration&&(g.duration=Bt(g.duration)),g.repeatDelay&&(g.repeatDelay=Bt(g.repeatDelay)),!f||!d||A0.current||o.type===!1||Ov.skipAnimations)return Pv(g);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const y=kv(t,e,g);if(y)return y}return vo(g)};function xo(e){return!!(Le(e)&&e.add)}const Tp=e=>/^\-?\d*\.?\d+$/.test(e);function Xa(e,t){e.indexOf(t)===-1&&e.push(t)}function Za(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ja{constructor(){this.subscriptions=[]}add(t){return Xa(this.subscriptions,t),()=>Za(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class zv{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:o,timestamp:s}=he;this.lastUpdated!==s&&(this.timeDelta=o,this.lastUpdated=s,$.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>$.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=Fv(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Ja);const r=this.events[t].add(n);return t==="change"?()=>{r(),$.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?wp(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Jn(e,t){return new zv(e,t)}const Ep=e=>t=>t.test(e),Iv={test:e=>e==="auto",parse:e=>e},Vp=[xn,M,st,Pt,Gy,Wy,Iv],cr=e=>Vp.find(Ep(e)),Bv=[...Vp,ye,Gt],Uv=e=>Bv.find(Ep(e));function $v(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Jn(n))}function Hv(e,t){const n=Ho(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const s in o){const l=s0(o[s]);$v(e,s,l)}}function Wv(e,t,n){var r,i;const o=Object.keys(t).filter(l=>!e.hasValue(l)),s=o.length;if(s)for(let l=0;la.remove(f))),u.push(C)}return s&&Promise.all(u).then(()=>{s&&Hv(e,s)}),u}function Ml(e,t,n={}){const r=Ho(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Lp(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(a=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return Xv(e,t,u+a,c,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[a,u]=l==="beforeChildren"?[o,s]:[s,o];return a().then(()=>u())}else return Promise.all([o(),s(n.delay)])}function Xv(e,t,n=0,r=0,i=1,o){const s=[],l=(e.variantChildren.size-1)*r,a=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(e.variantChildren).sort(Zv).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(Ml(u,t,{...o,delay:n+a(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function Zv(e,t){return e.sortNodePosition(t)}function Jv(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Ml(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Ml(e,t,n);else{const i=typeof t=="function"?Ho(e,t,n.custom):t;r=Promise.all(Lp(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const qv=[...Ra].reverse(),bv=Ra.length;function e1(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Jv(e,n,r)))}function t1(e){let t=e1(e);const n=r1();let r=!0;const i=(a,u)=>{const c=Ho(e,u);if(c){const{transition:f,transitionEnd:d,...g}=c;a={...a,...g,...d}}return a};function o(a){t=a(e)}function s(a,u){const c=e.getProps(),f=e.getVariantContext(!0)||{},d=[],g=new Set;let y={},v=1/0;for(let m=0;mv&&w,N=!1;const re=Array.isArray(x)?x:[x];let le=re.reduce(i,{});E===!1&&(le={});const{prevResolvedValues:ge={}}=p,ie={...ge,...le},St=J=>{j=!0,g.has(J)&&(N=!0,g.delete(J)),p.needsAnimating[J]=!0};for(const J in ie){const Fe=le[J],V=ge[J];if(y.hasOwnProperty(J))continue;let D=!1;mo(Fe)&&mo(V)?D=!Jh(Fe,V):D=Fe!==V,D?Fe!==void 0?St(J):g.add(J):Fe!==void 0&&g.has(J)?St(J):p.protectedKeys[J]=!0}p.prevProp=x,p.prevResolvedValues=le,p.isActive&&(y={...y,...le}),r&&e.blockInitialAnimation&&(j=!1),j&&(!T||N)&&d.push(...re.map(J=>({animation:J,options:{type:h,...a}})))}if(g.size){const m={};g.forEach(h=>{const p=e.getBaseTarget(h);p!==void 0&&(m[h]=p)}),d.push({animation:m})}let C=!!d.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(C=!1),r=!1,C?t(d):Promise.resolve()}function l(a,u,c){var f;if(n[a].isActive===u)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(g=>{var y;return(y=g.animationState)===null||y===void 0?void 0:y.setActive(a,u)}),n[a].isActive=u;const d=s(c,a);for(const g in n)n[g].protectedKeys={};return d}return{animateChanges:s,setActive:l,setAnimateFunction:o,getState:()=>n}}function n1(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Jh(t,e):!1}function bt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function r1(){return{animate:bt(!0),whileInView:bt(),whileHover:bt(),whileTap:bt(),whileDrag:bt(),whileFocus:bt(),exit:bt()}}class i1 extends Xt{constructor(t){super(t),t.animationState||(t.animationState=t1(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Io(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let o1=0;class s1 extends Xt{constructor(){super(...arguments),this.id=o1++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const o=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const l1={animation:{Feature:i1},exit:{Feature:s1}},Tc=(e,t)=>Math.abs(e-t);function a1(e,t){const n=Tc(e.x,t.x),r=Tc(e.y,t.y);return Math.sqrt(n**2+r**2)}class Mp{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Vs(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,g=a1(f.offset,{x:0,y:0})>=3;if(!d&&!g)return;const{point:y}=f,{timestamp:v}=he;this.history.push({...y,timestamp:v});const{onStart:C,onMove:m}=this.handlers;d||(C&&C(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Es(d,this.transformPagePoint),$.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:g,onSessionEnd:y,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=Vs(f.type==="pointercancel"?this.lastMoveEventInfo:Es(d,this.transformPagePoint),this.history);this.startEvent&&g&&g(f,C),y&&y(f,C)},!Kh(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=$o(t),l=Es(s,this.transformPagePoint),{point:a}=l,{timestamp:u}=he;this.history=[{...a,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Vs(l,this.history)),this.removeListeners=It(ht(this.contextWindow,"pointermove",this.handlePointerMove),ht(this.contextWindow,"pointerup",this.handlePointerUp),ht(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),xt(this.updatePoint)}}function Es(e,t){return t?{point:t(e.point)}:e}function Ec(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vs({point:e},t){return{point:e,delta:Ec(e,Dp(t)),offset:Ec(e,u1(t)),velocity:c1(t,.1)}}function u1(e){return e[0]}function Dp(e){return e[e.length-1]}function c1(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Dp(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Bt(t)));)n--;if(!r)return{x:0,y:0};const o=pt(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function je(e){return e.max-e.min}function Dl(e,t=0,n=.01){return Math.abs(e-t)<=n}function Vc(e,t,n,r=.5){e.origin=r,e.originPoint=K(t.min,t.max,e.origin),e.scale=je(n)/je(t),(Dl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=K(n.min,n.max,e.origin)-e.originPoint,(Dl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Lr(e,t,n,r){Vc(e.x,t.x,n.x,r?r.originX:void 0),Vc(e.y,t.y,n.y,r?r.originY:void 0)}function Lc(e,t,n){e.min=n.min+t.min,e.max=e.min+je(t)}function f1(e,t,n){Lc(e.x,t.x,n.x),Lc(e.y,t.y,n.y)}function Mc(e,t,n){e.min=t.min-n.min,e.max=e.min+je(t)}function Mr(e,t,n){Mc(e.x,t.x,n.x),Mc(e.y,t.y,n.y)}function d1(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?K(n,e,r.max):Math.min(e,n)),e}function Dc(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function h1(e,{top:t,left:n,bottom:r,right:i}){return{x:Dc(e.x,n,i),y:Dc(e.y,t,r)}}function Ac(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Xr(t.min,t.max-r,e.min):r>i&&(n=Xr(e.min,e.max-i,t.min)),Wt(0,1,n)}function g1(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Al=.35;function y1(e=Al){return e===!1?e=0:e===!0&&(e=Al),{x:Nc(e,"left","right"),y:Nc(e,"top","bottom")}}function Nc(e,t,n){return{min:Rc(e,t),max:Rc(e,n)}}function Rc(e,t){return typeof e=="number"?e:e[t]||0}const jc=()=>({translate:0,scale:1,origin:0,originPoint:0}),On=()=>({x:jc(),y:jc()}),_c=()=>({min:0,max:0}),b=()=>({x:_c(),y:_c()});function Ie(e){return[e("x"),e("y")]}function Ap({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function v1({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function x1(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ls(e){return e===void 0||e===1}function Nl({scale:e,scaleX:t,scaleY:n}){return!Ls(e)||!Ls(t)||!Ls(n)}function nn(e){return Nl(e)||Np(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Np(e){return Oc(e.x)||Oc(e.y)}function Oc(e){return e&&e!=="0%"}function wo(e,t,n){const r=e-n,i=t*r;return n+i}function Fc(e,t,n,r,i){return i!==void 0&&(e=wo(e,i,r)),wo(e,n,r)+t}function Rl(e,t=0,n=1,r,i){e.min=Fc(e.min,t,n,r,i),e.max=Fc(e.max,t,n,r,i)}function Rp(e,{x:t,y:n}){Rl(e.x,t.translate,t.scale,t.originPoint),Rl(e.y,n.translate,n.scale,n.originPoint)}function w1(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let l=0;l1.0000000000001||e<.999999999999?e:1}function Et(e,t){e.min=e.min+t,e.max=e.max+t}function Ic(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=K(e.min,e.max,o);Rl(e,t[n],t[r],s,t.scale)}const S1=["x","scaleX","originX"],k1=["y","scaleY","originY"];function Fn(e,t){Ic(e.x,t,S1),Ic(e.y,t,k1)}function jp(e,t){return Ap(x1(e.getBoundingClientRect(),t))}function P1(e,t,n){const r=jp(e,n),{scroll:i}=t;return i&&(Et(r.x,i.offset.x),Et(r.y,i.offset.y)),r}const _p=({current:e})=>e?e.ownerDocument.defaultView:null,C1=new WeakMap;class T1{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=b(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor($o(c,"page").point)},o=(c,f)=>{const{drag:d,dragPropagation:g,onDragStart:y}=this.getProps();if(d&&!g&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Yh(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ie(C=>{let m=this.getAxisMotionValue(C).get()||0;if(st.test(m)){const{projection:h}=this.visualElement;if(h&&h.layout){const p=h.layout.layoutBox[C];p&&(m=je(p)*(parseFloat(m)/100))}}this.originPoint[C]=m}),y&&$.update(()=>y(c,f),!1,!0);const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},s=(c,f)=>{const{dragPropagation:d,dragDirectionLock:g,onDirectionLock:y,onDrag:v}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:C}=f;if(g&&this.currentDirection===null){this.currentDirection=E1(C),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,C),this.updateAxis("y",f.point,C),this.visualElement.render(),v&&v(c,f)},l=(c,f)=>this.stop(c,f),a=()=>Ie(c=>{var f;return this.getAnimationState(c)==="paused"&&((f=this.getAxisMotionValue(c).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Mp(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:l,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:_p(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&$.update(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ei(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=d1(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&jn(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=h1(i.layoutBox,n):this.constraints=!1,this.elastic=y1(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Ie(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=g1(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!jn(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=P1(r,i.root,this.visualElement.getTransformPagePoint());let s=p1(i.layout.layoutBox,o);if(n){const l=n(v1(s));this.hasMutatedConstraints=!!l,l&&(s=Ap(l))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=Ie(c=>{if(!Ei(c,n,this.currentDirection))return;let f=a&&a[c]||{};s&&(f={min:0,max:0});const d=i?200:1e6,g=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Ya(t,r,0,n))}stopAnimation(){Ie(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Ie(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Ie(n=>{const{drag:r}=this.getProps();if(!Ei(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:l}=i.layout.layoutBox[n];o.set(t[n]-K(s,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!jn(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ie(s=>{const l=this.getAxisMotionValue(s);if(l){const a=l.get();i[s]=m1({min:a,max:a},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ie(s=>{if(!Ei(s,t,null))return;const l=this.getAxisMotionValue(s),{min:a,max:u}=this.constraints[s];l.set(K(a,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;C1.set(this.visualElement,this);const t=this.visualElement.current,n=ht(t,"pointerdown",a=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();jn(a)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=ft(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(Ie(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=a[c].translate,f.set(f.get()+a[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=Al,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:l}}}function Ei(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function E1(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class V1 extends Xt{constructor(t){super(t),this.removeGroupControls=Z,this.removeListeners=Z,this.controls=new T1(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Z}unmount(){this.removeGroupControls(),this.removeListeners()}}const Bc=e=>(t,n)=>{e&&$.update(()=>e(t,n))};class L1 extends Xt{constructor(){super(...arguments),this.removePointerDownListener=Z}onPointerDown(t){this.session=new Mp(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:_p(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Bc(t),onStart:Bc(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&$.update(()=>i(o,s))}}}mount(){this.removePointerDownListener=ht(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function M1(){const e=A.useContext(Aa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=A.useId();return A.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Ui={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Uc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(M.test(e))e=parseFloat(e);else return e;const n=Uc(e,t.target.x),r=Uc(e,t.target.y);return`${n}% ${r}%`}},D1={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Gt.parse(e);if(i.length>5)return r;const o=Gt.createTransformer(e),s=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,a=n.y.scale*t.y;i[0+s]/=l,i[1+s]/=a;const u=K(l,a,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}};class A1 extends rt.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;Fy(N1),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Ui.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||$.postRender(()=>{const l=s.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Op(e){const[t,n]=M1(),r=A.useContext(Ah);return rt.createElement(A1,{...e,layoutGroup:r,switchLayoutGroup:A.useContext(Nh),isPresent:t,safeToRemove:n})}const N1={borderRadius:{...fr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fr,borderTopRightRadius:fr,borderBottomLeftRadius:fr,borderBottomRightRadius:fr,boxShadow:D1},Fp=["TopLeft","TopRight","BottomLeft","BottomRight"],R1=Fp.length,$c=e=>typeof e=="string"?parseFloat(e):e,Hc=e=>typeof e=="number"||M.test(e);function j1(e,t,n,r,i,o){i?(e.opacity=K(0,n.opacity!==void 0?n.opacity:1,_1(r)),e.opacityExit=K(t.opacity!==void 0?t.opacity:1,0,O1(r))):o&&(e.opacity=K(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(Xr(e,t,r))}function Gc(e,t){e.min=t.min,e.max=t.max}function ze(e,t){Gc(e.x,t.x),Gc(e.y,t.y)}function Kc(e,t,n,r,i){return e-=t,e=wo(e,1/n,r),i!==void 0&&(e=wo(e,1/i,r)),e}function F1(e,t=0,n=1,r=.5,i,o=e,s=e){if(st.test(t)&&(t=parseFloat(t),t=K(s.min,s.max,t/100)-s.min),typeof t!="number")return;let l=K(o.min,o.max,r);e===o&&(l-=t),e.min=Kc(e.min,t,n,l,i),e.max=Kc(e.max,t,n,l,i)}function Qc(e,t,[n,r,i],o,s){F1(e,t[n],t[r],t[i],t.scale,o,s)}const z1=["x","scaleX","originX"],I1=["y","scaleY","originY"];function Yc(e,t,n,r){Qc(e.x,t,z1,n?n.x:void 0,r?r.x:void 0),Qc(e.y,t,I1,n?n.y:void 0,r?r.y:void 0)}function Xc(e){return e.translate===0&&e.scale===1}function Ip(e){return Xc(e.x)&&Xc(e.y)}function B1(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Bp(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Zc(e){return je(e.x)/je(e.y)}class U1{constructor(){this.members=[]}add(t){Xa(this.members,t),t.scheduleRender()}remove(t){if(Za(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Jc(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:a,rotateX:u,rotateY:c}=n;a&&(r+=`rotate(${a}deg) `),u&&(r+=`rotateX(${u}deg) `),c&&(r+=`rotateY(${c}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}const $1=(e,t)=>e.depth-t.depth;class H1{constructor(){this.children=[],this.isDirty=!1}add(t){Xa(this.children,t),this.isDirty=!0}remove(t){Za(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort($1),this.isDirty=!1,this.children.forEach(t)}}function W1(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(xt(r),e(o-t))};return $.read(r,!0),()=>xt(r)}function G1(e){window.MotionDebug&&window.MotionDebug.record(e)}function K1(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Q1(e,t,n){const r=Le(e)?e:Jn(e);return r.start(Ya("",r,t,n)),r.animation}const qc=["","X","Y","Z"],Y1={visibility:"hidden"},bc=1e3;let X1=0;const rn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Up({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},l=t==null?void 0:t()){this.id=X1++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rn.totalNodes=rn.resolvedTargetDeltas=rn.recalculatedProjection=0,this.nodes.forEach(q1),this.nodes.forEach(rx),this.nodes.forEach(ix),this.nodes.forEach(b1),G1(rn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let a=0;athis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=W1(d,250),Ui.hasAnimatedSinceResize&&(Ui.hasAnimatedSinceResize=!1,this.nodes.forEach(tf))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:g,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||ux,{onLayoutAnimationStart:C,onLayoutAnimationComplete:m}=c.getProps(),h=!this.targetLayout||!Bp(this.targetLayout,y)||g,p=!d&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||p||d&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,p);const x={...Qa(v,"layout"),onPlay:C,onComplete:m};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||tf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,xt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ox),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(ex),this.sharedNodes.forEach(sx)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,$.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){$.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a{const w=x/1e3;nf(f.x,s.x,w),nf(f.y,s.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Mr(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),lx(this.relativeTarget,this.relativeTargetOrigin,d,w),p&&B1(this.relativeTarget,p)&&(this.isProjectionDirty=!1),p||(p=b()),ze(p,this.relativeTarget)),v&&(this.animationValues=c,j1(c,u,this.latestValues,w,h,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(xt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$.update(()=>{Ui.hasAnimatedSinceResize=!0,this.currentAnimation=Q1(0,bc,{...s,onUpdate:l=>{this.mixTargetDelta(l),s.onUpdate&&s.onUpdate(l)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(bc),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:l,target:a,layout:u,latestValues:c}=s;if(!(!l||!a||!u)){if(this!==s&&this.layout&&u&&$p(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||b();const f=je(this.layout.layoutBox.x);a.x.min=s.target.x.min,a.x.max=a.x.min+f;const d=je(this.layout.layoutBox.y);a.y.min=s.target.y.min,a.y.max=a.y.min+d}ze(l,a),Fn(l,c),Lr(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new U1),this.sharedNodes.get(s).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:l}=this.options;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:l}=this.options;return l?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:l,preserveFollowOpacity:a}={}){const u=this.getStack();u&&u.promote(this,a),s&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let l=!1;const{latestValues:a}=s;if((a.rotate||a.rotateX||a.rotateY||a.rotateZ)&&(l=!0),!l)return;const u={};for(let c=0;c{var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(ef),this.root.sharedNodes.clear()}}}function Z1(e){e.updateLayout()}function J1(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?Ie(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],g=je(d);d.min=r[f].min,d.max=d.min+g}):$p(o,n.layoutBox,r)&&Ie(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],g=je(r[f]);d.max=d.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+g)});const l=On();Lr(l,r,n.layoutBox);const a=On();s?Lr(a,e.applyTransform(i,!0),n.measuredBox):Lr(a,r,n.layoutBox);const u=!Ip(l);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:g}=f;if(d&&g){const y=b();Mr(y,n.layoutBox,d.layoutBox);const v=b();Mr(v,r,g.layoutBox),Bp(y,v)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:a,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function q1(e){rn.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function b1(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ex(e){e.clearSnapshot()}function ef(e){e.clearMeasurements()}function tx(e){e.isLayoutDirty=!1}function nx(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function tf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function rx(e){e.resolveTargetDelta()}function ix(e){e.calcProjection()}function ox(e){e.resetRotation()}function sx(e){e.removeLeadSnapshot()}function nf(e,t,n){e.translate=K(t.translate,0,n),e.scale=K(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function rf(e,t,n,r){e.min=K(t.min,n.min,r),e.max=K(t.max,n.max,r)}function lx(e,t,n,r){rf(e.x,t.x,n.x,r),rf(e.y,t.y,n.y,r)}function ax(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const ux={duration:.45,ease:[.4,0,.1,1]},of=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),sf=of("applewebkit/")&&!of("chrome/")?Math.round:Z;function lf(e){e.min=sf(e.min),e.max=sf(e.max)}function cx(e){lf(e.x),lf(e.y)}function $p(e,t,n){return e==="position"||e==="preserve-aspect"&&!Dl(Zc(t),Zc(n),.2)}const fx=Up({attachResizeListener:(e,t)=>ft(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ms={current:void 0},Hp=Up({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ms.current){const e=new fx({});e.mount(window),e.setOptions({layoutScroll:!0}),Ms.current=e}return Ms.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),dx={pan:{Feature:L1},drag:{Feature:V1,ProjectionNode:Hp,MeasureLayout:Op}},hx=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function px(e){const t=hx.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function jl(e,t,n=1){const[r,i]=px(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return Tp(s)?parseFloat(s):s}else return Pl(i)?jl(i,t,n+1):i}function mx(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!Pl(o))return;const s=jl(o,r);s&&i.set(s)});for(const i in t){const o=t[i];if(!Pl(o))continue;const s=jl(o,r);s&&(t[i]=s,n||(n={}),n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const gx=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Wp=e=>gx.has(e),yx=e=>Object.keys(e).some(Wp),af=e=>e===xn||e===M,uf=(e,t)=>parseFloat(e.split(", ")[t]),cf=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return uf(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?uf(o[1],e):0}},vx=new Set(["x","y","z"]),xx=ti.filter(e=>!vx.has(e));function wx(e){const t=[];return xx.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const qn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:cf(4,13),y:cf(5,14)};qn.translateX=qn.x;qn.translateY=qn.y;const Sx=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:s}=o,l={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{l[u]=qn[u](r,o)}),t.render();const a=t.measureViewportBox();return n.forEach(u=>{const c=t.getValue(u);c&&c.jump(l[u]),e[u]=qn[u](a,o)}),e},kx=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Wp);let o=[],s=!1;const l=[];if(i.forEach(a=>{const u=e.getValue(a);if(!e.hasValue(a))return;let c=n[a],f=cr(c);const d=t[a];let g;if(mo(d)){const y=d.length,v=d[0]===null?1:0;c=d[v],f=cr(c);for(let C=v;C=0?window.pageYOffset:null,u=Sx(t,e,l);return o.length&&o.forEach(([c,f])=>{e.getValue(c).set(f)}),e.render(),zo&&a!==null&&window.scrollTo({top:a}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function Px(e,t,n,r){return yx(t)?kx(e,t,n,r):{target:t,transitionEnd:r}}const Cx=(e,t,n,r)=>{const i=mx(e,t,r);return t=i.target,r=i.transitionEnd,Px(e,t,n,r)},_l={current:null},Gp={current:!1};function Tx(){if(Gp.current=!0,!!zo)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>_l.current=e.matches;e.addListener(t),t()}else _l.current=!1}function Ex(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(Le(o))e.addValue(i,o),xo(r)&&r.add(i);else if(Le(s))e.addValue(i,Jn(o,{owner:e})),xo(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const l=e.getValue(i);!l.hasAnimated&&l.set(o)}else{const l=e.getStaticValue(i);e.addValue(i,Jn(l!==void 0?l:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const ff=new WeakMap,Kp=Object.keys(Yr),Vx=Kp.length,df=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Lx=ja.length;class Mx{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>$.render(this.render,!1,!0);const{latestValues:l,renderState:a}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=a,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.isControllingVariants=Bo(n),this.isVariantNode=Dh(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{});for(const f in c){const d=c[f];l[f]!==void 0&&Le(d)&&(d.set(l[f],!1),xo(u)&&u.add(f))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,ff.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Gp.current||Tx(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:_l.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){ff.delete(this.current),this.projection&&this.projection.unmount(),xt(this.notifyUpdate),xt(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=vn.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&$.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,o){let s,l;for(let a=0;athis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,layoutScroll:d,layoutRoot:g})}return l}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):b()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Jn(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=Ua(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Le(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ja),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Qp extends Mx{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let s=Kv(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),s&&(s=i(s))),o){Wv(this,r,s);const l=Cx(this,r,s,n);n=l.transitionEnd,r=l.target}return{transition:t,transitionEnd:n,...r}}}function Dx(e){return window.getComputedStyle(e)}class Ax extends Qp{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(vn.has(n)){const r=Ka(n);return r&&r.default||0}else{const r=Dx(t),i=(_h(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return jp(t,n)}build(t,n,r,i){Oa(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Ba(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Le(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){Uh(t,n,r,i)}}class Nx extends Qp{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(vn.has(n)){const r=Ka(n);return r&&r.default||0}return n=$h.has(n)?n:Na(n),t.getAttribute(n)}measureInstanceViewportBox(){return b()}scrapeMotionValuesFromProps(t,n){return Wh(t,n)}build(t,n,r,i){za(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){Hh(t,n,r,i)}mount(t){this.isSVGTag=Ia(t.tagName),super.mount(t)}}const Rx=(e,t)=>_a(e)?new Nx(t,{enableHardwareAcceleration:!1}):new Ax(t,{enableHardwareAcceleration:!0}),jx={layout:{ProjectionNode:Hp,MeasureLayout:Op}},_x={...l1,...V0,...dx,...jx},xe=_y((e,t)=>p0(e,t,_x,Rx)),Ox=()=>{const[e,t]=A.useState(!1),n=["About","Experience","Education","Skills","Projects"];return k.jsxs("nav",{className:"bg-blue-600 fixed w-full z-50",children:[k.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:k.jsxs("div",{className:"flex items-center justify-between h-16",children:[k.jsx(xe.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},className:"flex-shrink-0 text-white font-bold text-xl",children:"HR"}),k.jsx("div",{className:"hidden md:block",children:k.jsx("div",{className:"ml-10 flex items-baseline space-x-4",children:n.map(r=>k.jsx("a",{href:`#${r.toLowerCase()}`,className:"text-white hover:bg-blue-500 px-3 py-2 rounded-md text-sm font-medium",children:r},r))})}),k.jsx("div",{className:"md:hidden",children:k.jsx("button",{onClick:()=>t(!e),className:"text-white hover:bg-blue-500 p-2 rounded-md",children:k.jsx("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e?k.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):k.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})})]})}),e&&k.jsx("div",{className:"md:hidden",children:k.jsx("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:n.map(r=>k.jsx("a",{href:`#${r.toLowerCase()}`,className:"text-white hover:bg-blue-500 block px-3 py-2 rounded-md text-base font-medium",onClick:()=>t(!1),children:r},r))})})]})};var Yp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},hf=rt.createContext&&rt.createContext(Yp),Ut=globalThis&&globalThis.__assign||function(){return Ut=Object.assign||function(e){for(var t,n=1,r=arguments.length;nk.jsx(xe.section,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},id:"about",className:"min-h-screen pt-20 flex items-center bg-gradient-to-b from-white to-gray-50",children:k.jsxs("div",{className:"max-w-4xl mx-auto text-center px-4",children:[k.jsxs("div",{className:"mb-8",children:[k.jsxs(xe.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5},className:"relative w-48 h-48 mx-auto mb-6",children:[k.jsx("div",{className:"absolute inset-0 bg-blue-600 rounded-full opacity-10 blur-lg transform scale-110"}),k.jsx("img",{src:"/img/profile.jpg",alt:"Harivansh Rathi",className:"w-full h-full rounded-full object-cover shadow-xl ring-4 ring-blue-600 ring-opacity-50"})]}),k.jsxs(xe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},children:[k.jsxs("h1",{className:"text-5xl font-bold mb-4",children:["Harivansh ",k.jsx("span",{className:"text-blue-600",children:"Rathi"})]}),k.jsx("p",{className:"text-xl text-gray-600 font-medium",children:"Software Developer & ML Enthusiast"})]})]}),k.jsx(xe.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.3},className:"text-lg text-gray-700 mb-8 leading-relaxed max-w-2xl mx-auto",children:"I'm a software developer with expertise in full-stack web development and a strong interest in machine learning. I enjoy working with both front-end and back-end technologies to build complete solutions."}),k.jsxs(xe.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.4},className:"mb-8 bg-white p-6 rounded-xl shadow-lg",children:[k.jsx("h2",{className:"text-xl font-semibold mb-4 text-gray-800",children:"Contact me"}),k.jsxs("div",{className:"space-y-2",children:[k.jsx("a",{href:"mailto:rathiharivansh@gmail.com",className:"block text-blue-600 hover:text-blue-700 transition-colors",children:"rathiharivansh@gmail.com"}),k.jsx("a",{href:"mailto:zng2gc@virginia.edu",className:"block text-blue-600 hover:text-blue-700 transition-colors",children:"zng2gc@virginia.edu"})]})]}),k.jsxs(xe.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.5},className:"flex justify-center space-x-6",children:[k.jsx("a",{href:"https://www.linkedin.com/in/harivansh-rathi",target:"_blank",rel:"noopener noreferrer",className:"text-4xl text-gray-600 hover:text-blue-600 transition-colors transform hover:scale-110",children:k.jsx(Ix,{})}),k.jsx("a",{href:"https://github.com/harivansh-afk",target:"_blank",rel:"noopener noreferrer",className:"text-4xl text-gray-600 hover:text-gray-800 transition-colors transform hover:scale-110",children:k.jsx(Zp,{})})]})]})});var Ol=new Map,Vi=new WeakMap,pf=0,$x=void 0;function Hx(e){return e?(Vi.has(e)||(pf+=1,Vi.set(e,pf.toString())),Vi.get(e)):"0"}function Wx(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?Hx(e.root):e[t]}`).toString()}function Gx(e){const t=Wx(e);let n=Ol.get(t);if(!n){const r=new Map;let i;const o=new IntersectionObserver(s=>{s.forEach(l=>{var a;const u=l.isIntersecting&&i.some(c=>l.intersectionRatio>=c);e.trackVisibility&&typeof l.isVisible>"u"&&(l.isVisible=u),(a=r.get(l.target))==null||a.forEach(c=>{c(u,l)})})},e);i=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},Ol.set(t,n)}return n}function Kx(e,t,n={},r=$x){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const a=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:a,intersectionRect:a,rootBounds:a}),()=>{}}const{id:i,observer:o,elements:s}=Gx(n),l=s.get(e)||[];return s.has(e)||s.set(e,l),l.push(t),o.observe(e),function(){l.splice(l.indexOf(t),1),l.length===0&&(s.delete(e),o.unobserve(e)),s.size===0&&(o.disconnect(),Ol.delete(i))}}function Wo({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:i,triggerOnce:o,skip:s,initialInView:l,fallbackInView:a,onChange:u}={}){var c;const[f,d]=A.useState(null),g=A.useRef(),[y,v]=A.useState({inView:!!l,entry:void 0});g.current=u,A.useEffect(()=>{if(s||!f)return;let p;return p=Kx(f,(x,w)=>{v({inView:x,entry:w}),g.current&&g.current(x,w),w.isIntersecting&&o&&p&&(p(),p=void 0)},{root:i,rootMargin:r,threshold:e,trackVisibility:n,delay:t},a),()=>{p&&p()}},[Array.isArray(e)?e.toString():e,f,i,r,o,s,n,a,t]);const C=(c=y.entry)==null?void 0:c.target,m=A.useRef();!f&&C&&!o&&!s&&m.current!==C&&(m.current=C,v({inView:!!l,entry:void 0}));const h=[d,y.inView,y.entry];return h.ref=h[0],h.inView=h[1],h.entry=h[2],h}const Qx=({title:e,company:t,date:n,description:r})=>{const[i,o]=Wo({triggerOnce:!0,threshold:.1});return k.jsxs(xe.div,{ref:i,initial:{opacity:0,x:-20},animate:o?{opacity:1,x:0}:{opacity:0,x:-20},transition:{duration:.5},className:"mb-8 border-l-4 border-blue-600 pl-4",children:[k.jsx("h3",{className:"text-xl font-bold",children:e}),k.jsx("div",{className:"text-lg text-blue-600 mb-2",children:t}),k.jsx("div",{className:"text-gray-600 mb-2",children:n}),k.jsx("ul",{className:"list-disc list-inside text-gray-700",children:r.map((s,l)=>k.jsx("li",{children:s},l))})]})},Yx=()=>{const e=[{title:"Front End Development Intern",company:"UNIKOVE TECHNOLOGIES",date:"Mar 2022 - Apr 2022",description:["Utilized JavaScript and React.js to refine UX design elements, ensuring seamless functionality and user-centric interfaces","Collaborated with the design team to conceptualize and implement new web interfaces, improving user experience","Optimized front-end code by reducing JavaScript file sizes by 20%, improving website load time"]},{title:"Backend Development Intern",company:"Moglix",date:"May 2023 - Jul 2023",description:["Developed Python algorithm to optimize routes for transportation of materials, increasing time and supply chain efficiency by 20%","Developed ETL pipelines to streamline lead data processing, enabling faster outreach","Automated data extraction and transformation using various libraries in Python, reducing manual workload"]},{title:"Mechanical Engineering Intern",company:"SAN AUTO",date:"Dec 2021 - Jan 2022",description:["Learned 3D modeling, operating AutoCAD, and managed small projects with professionals in the field","Assisted head engineer with analyzing and improving manufacturing processes for aircraft components","Acquired skills in operating and maintaining CNC machines to ensure precision in manufacturing"]}];return k.jsxs("section",{id:"experience",className:"py-20",children:[k.jsx(xe.h2,{initial:{opacity:0},animate:{opacity:1},className:"text-3xl font-bold mb-10 text-center",children:"Experience"}),k.jsx("div",{className:"max-w-3xl mx-auto",children:e.map((t,n)=>k.jsx(Qx,{...t},n))})]})},Xx=()=>{const[e,t]=Wo({triggerOnce:!0,threshold:.1});return k.jsxs("section",{id:"education",className:"py-20",children:[k.jsx(xe.h2,{initial:{opacity:0},animate:{opacity:1},className:"text-3xl font-bold mb-10 text-center",children:"Education"}),k.jsxs(xe.div,{ref:e,initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{opacity:0,y:20},transition:{duration:.5},className:"max-w-3xl mx-auto bg-white rounded-lg shadow-lg p-6",children:[k.jsx("h3",{className:"text-xl font-bold text-blue-600",children:"University of Virginia, Charlottesville, VA"}),k.jsx("div",{className:"text-lg font-semibold mb-2",children:"Bachelor of Arts, Computer Science"}),k.jsx("div",{className:"text-gray-600 mb-4",children:"Expected May 2026"}),k.jsxs("div",{className:"mb-2",children:[k.jsx("span",{className:"font-semibold",children:"GPA:"})," 3.7/4.0"]}),k.jsxs("div",{children:[k.jsx("span",{className:"font-semibold",children:"Relevant Coursework:"}),k.jsx("p",{className:"text-gray-700",children:"Data structures and algorithms, Computer systems and organization, Software development essentials"})]})]})]})},Zx=({title:e,skills:t})=>{const[n,r]=Wo({triggerOnce:!0,threshold:.1});return k.jsxs(xe.div,{ref:n,initial:{opacity:0,y:20},animate:r?{opacity:1,y:0}:{opacity:0,y:20},transition:{duration:.5},className:"mb-6",children:[k.jsx("h3",{className:"text-xl font-bold mb-3 text-blue-600",children:e}),k.jsx("div",{className:"flex flex-wrap gap-2",children:t.map((i,o)=>k.jsx("span",{className:"bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm",children:i},o))})]})},Jx=()=>{const e=[{title:"Programming Languages",skills:["Python","Java","JavaScript","TypeScript","C/C++","HTML","CSS/Tailwind"]},{title:"Frameworks",skills:["React.js","Node.js","Express.js","Vite","Next.js"]},{title:"Tools & Databases",skills:["Git/Github","SQL","MongoDB"]}];return k.jsxs("section",{id:"skills",className:"py-20",children:[k.jsx(xe.h2,{initial:{opacity:0},animate:{opacity:1},className:"text-3xl font-bold mb-10 text-center",children:"Technical Skills"}),k.jsx("div",{className:"max-w-3xl mx-auto bg-white rounded-lg shadow-lg p-6",children:e.map((t,n)=>k.jsx(Zx,{...t},n))})]})},qx=({title:e,description:t,github:n,demo:r})=>{const[i,o]=Wo({triggerOnce:!0,threshold:.1});return k.jsxs(xe.div,{ref:i,initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{opacity:0,y:20},transition:{duration:.5},className:"bg-white rounded-lg shadow-lg p-6 mb-6",children:[k.jsx("h3",{className:"text-xl font-bold mb-3",children:e}),k.jsx("ul",{className:"list-disc list-inside mb-4 text-gray-700",children:t.map((s,l)=>k.jsx("li",{children:s},l))}),k.jsxs("div",{className:"flex space-x-4",children:[n&&k.jsxs("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"flex items-center text-gray-600 hover:text-blue-600",children:[k.jsx(Zp,{className:"mr-2"}),"GitHub"]}),r&&k.jsxs("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"flex items-center text-gray-600 hover:text-blue-600",children:[k.jsx(Bx,{className:"mr-2"}),"View Project"]})]})]})},bx=()=>{const e=[{title:"Efficiency of ML Algorithms in Financial Markets",description:["Co-authored a research paper on cryptocurrency market predictability with a PHD student at CMU","Created dynamic data visualizations with Matplotlib to compare model performance and analyze trends effectively","Built a LSTM machine learning model using sk-learn for predicting cryptocurrency trends with up to 65% accuracy"],github:"https://github.com/harivansh-afk/CryptoCurrencyPredictionLSTM",demo:"https://docs.google.com/document/d/1i0IZgHYEERKVdRMBtCdK6jJGRoEoZUY7T43fuGKEDm8/edit?usp=sharing"},{title:"Habit Tracker",description:["Built and deployed a full-stack habit tracker web app using React.js and TypeScript, enabling efficient habit tracking","Designed reusable components and state management, enhancing scalability and maintainability","Optimized front-end performance with TypeScript and Vite, reducing build times and runtime errors"],github:"#",demo:"#"}];return k.jsxs("section",{id:"projects",className:"py-20",children:[k.jsx(xe.h2,{initial:{opacity:0},animate:{opacity:1},className:"text-3xl font-bold mb-10 text-center",children:"Projects and Research Work"}),k.jsx("div",{className:"max-w-3xl mx-auto",children:e.map((t,n)=>k.jsx(qx,{...t},n))})]})};function ew(){return k.jsxs("div",{className:"bg-gray-50",children:[k.jsx(Ox,{}),k.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[k.jsx(Ux,{}),k.jsx(Yx,{}),k.jsx(Xx,{}),k.jsx(Jx,{}),k.jsx(bx,{})]})]})}Ds.createRoot(document.getElementById("root")).render(k.jsx(rt.StrictMode,{children:k.jsx(ew,{})})); diff --git a/dist/img/profile.jpg b/dist/img/profile.jpg deleted file mode 100644 index 6f1c25d..0000000 Binary files a/dist/img/profile.jpg and /dev/null differ diff --git a/dist/index.html b/dist/index.html deleted file mode 100644 index 39de1b0..0000000 --- a/dist/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - Harivansh Rathi - Resume - - - - -
- - - \ No newline at end of file diff --git a/index.html b/index.html index e31756d..2d86de7 100644 --- a/index.html +++ b/index.html @@ -2,12 +2,12 @@ - + Harivansh Rathi - Resume
- + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 64c2929..c5ee64c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "version": "0.0.0", "dependencies": { "framer-motion": "^10.16.4", - "gh-pages": "^6.2.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-icons": "^4.11.0", @@ -740,6 +739,7 @@ "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -752,6 +752,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, "engines": { "node": ">= 8" } @@ -760,6 +761,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -912,21 +914,6 @@ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", "dev": true }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/async": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", - "license": "MIT" - }, "node_modules/autoprefixer": { "version": "10.4.20", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.20.tgz", @@ -995,6 +982,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, "dependencies": { "fill-range": "^7.1.1" }, @@ -1126,12 +1114,6 @@ "node": ">= 6" } }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", - "license": "MIT" - }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", @@ -1193,18 +1175,6 @@ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", "dev": true }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "license": "MIT", - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/dlv": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", @@ -1223,12 +1193,6 @@ "integrity": "sha512-t8c+zLmJHa9dJy96yBZRXGQYoiCEnHYgFwn1asvSPZSUdVxnB62A4RASd7k41ytG3ErFBA0TpHlKg9D9SQBmLg==", "dev": true }, - "node_modules/email-addresses": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/email-addresses/-/email-addresses-5.0.0.tgz", - "integrity": "sha512-4OIPYlA6JXqtVn8zpHpGiI7vE6EQOAg16aGnDMIAlZVinnoZ8208tW1hAbjWydgN/4PLTT9q+O1K6AH/vALJGw==", - "license": "MIT" - }, "node_modules/emoji-regex": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", @@ -1281,19 +1245,11 @@ "node": ">=6" } }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/fast-glob": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -1309,6 +1265,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, "dependencies": { "is-glob": "^4.0.1" }, @@ -1320,40 +1277,16 @@ "version": "1.17.1", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dev": true, "dependencies": { "reusify": "^1.0.4" } }, - "node_modules/filename-reserved-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz", - "integrity": "sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/filenamify": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz", - "integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==", - "license": "MIT", - "dependencies": { - "filename-reserved-regex": "^2.0.0", - "strip-outer": "^1.0.1", - "trim-repeated": "^1.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/fill-range": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, "dependencies": { "to-regex-range": "^5.0.1" }, @@ -1361,36 +1294,6 @@ "node": ">=8" } }, - "node_modules/find-cache-dir": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", - "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "license": "MIT", - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" - } - }, - "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/foreground-child": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", @@ -1443,20 +1346,6 @@ } } }, - "node_modules/fs-extra": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -1489,37 +1378,6 @@ "node": ">=6.9.0" } }, - "node_modules/gh-pages": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/gh-pages/-/gh-pages-6.2.0.tgz", - "integrity": "sha512-HMXJ8th9u5wRXaZCnLcs/d3oVvCHiZkaP5KQExQljYGwJjQbSPyTdHe/Gc1IvYUR/rWiZLxNobIqfoMHKTKjHQ==", - "license": "MIT", - "dependencies": { - "async": "^3.2.4", - "commander": "^11.0.0", - "email-addresses": "^5.0.0", - "filenamify": "^4.3.0", - "find-cache-dir": "^3.3.1", - "fs-extra": "^11.1.1", - "globby": "^11.1.0" - }, - "bin": { - "gh-pages": "bin/gh-pages.js", - "gh-pages-clean": "bin/gh-pages-clean.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/gh-pages/node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", - "license": "MIT", - "engines": { - "node": ">=16" - } - }, "node_modules/glob": { "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", @@ -1561,32 +1419,6 @@ "node": ">=4" } }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "license": "MIT", - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "license": "ISC" - }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", @@ -1599,15 +1431,6 @@ "node": ">= 0.4" } }, - "node_modules/ignore": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", - "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, "node_modules/is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -1639,6 +1462,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -1656,6 +1480,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, "dependencies": { "is-extglob": "^2.1.1" }, @@ -1667,6 +1492,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, "engines": { "node": ">=0.12.0" } @@ -1730,18 +1556,6 @@ "node": ">=6" } }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "license": "MIT", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, "node_modules/lilconfig": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", @@ -1757,18 +1571,6 @@ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true }, - "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -1789,25 +1591,11 @@ "yallist": "^3.0.2" } }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, "engines": { "node": ">= 8" } @@ -1816,6 +1604,7 @@ "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -1925,57 +1714,12 @@ "node": ">= 6" } }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/package-json-from-dist": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", "dev": true }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -2013,15 +1757,6 @@ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "dev": true }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -2032,6 +1767,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, "engines": { "node": ">=8.6" }, @@ -2057,18 +1793,6 @@ "node": ">= 6" } }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "license": "MIT", - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/postcss": { "version": "8.4.49", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", @@ -2228,6 +1952,7 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, "funding": [ { "type": "github", @@ -2339,6 +2064,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" @@ -2364,6 +2090,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, "funding": [ { "type": "github", @@ -2394,6 +2121,7 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, "bin": { "semver": "bin/semver.js" } @@ -2431,15 +2159,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/source-map-js": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", @@ -2545,18 +2264,6 @@ "node": ">=8" } }, - "node_modules/strip-outer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.1.tgz", - "integrity": "sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==", - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/sucrase": { "version": "3.35.0", "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", @@ -2653,6 +2360,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, "dependencies": { "is-number": "^7.0.0" }, @@ -2660,18 +2368,6 @@ "node": ">=8.0" } }, - "node_modules/trim-repeated": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz", - "integrity": "sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==", - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/ts-interface-checker": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", @@ -2683,15 +2379,6 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" }, - "node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", - "license": "MIT", - "engines": { - "node": ">= 10.0.0" - } - }, "node_modules/update-browserslist-db": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", diff --git a/package.json b/package.json index 0c08390..13590f5 100644 --- a/package.json +++ b/package.json @@ -6,19 +6,14 @@ "scripts": { "dev": "vite", "build": "vite build", - "preview": "vite preview", - "predeploy": "npm run build", - "deploy": "gh-pages -d dist" + "preview": "vite preview" }, "dependencies": { - "framer-motion": "^10.16.4", - "gh-pages": "^6.2.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-icons": "^4.11.0", - "react-intersection-observer": "^9.5.2", - "predeploy": "npm run build", - "deploy": "gh-pages -d build" + "framer-motion": "^10.16.4", + "react-intersection-observer": "^9.5.2" }, "devDependencies": { "@types/react": "^18.2.15", @@ -29,4 +24,4 @@ "tailwindcss": "^3.3.3", "vite": "^4.4.5" } -} +} \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index 46d11ca..3e34260 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,5 +3,4 @@ import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], - base: "/Resume-website/" -}) +}) \ No newline at end of file