diff --git a/assets/cat1-yPDRGhBW.png b/assets/cat1-yPDRGhBW.png new file mode 100644 index 0000000..3ef3198 Binary files /dev/null and b/assets/cat1-yPDRGhBW.png differ diff --git a/assets/dog_cat-4jmu84I7.jpg b/assets/dog_cat-4jmu84I7.jpg new file mode 100644 index 0000000..67791e7 Binary files /dev/null and b/assets/dog_cat-4jmu84I7.jpg differ diff --git a/assets/dog_cat-WyLckBMn.png b/assets/dog_cat-WyLckBMn.png new file mode 100644 index 0000000..7d77f93 Binary files /dev/null and b/assets/dog_cat-WyLckBMn.png differ diff --git a/assets/dog_cat.blurred-usrklCoT.jpg b/assets/dog_cat.blurred-usrklCoT.jpg new file mode 100644 index 0000000..9f8b05d Binary files /dev/null and b/assets/dog_cat.blurred-usrklCoT.jpg differ diff --git a/assets/index-4CR4JxWJ.css b/assets/index-4CR4JxWJ.css new file mode 100644 index 0000000..86b2c1c --- /dev/null +++ b/assets/index-4CR4JxWJ.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Beau+Rivage&display=swap";@font-face{font-family:CascadiaCode;font-style:normal;font-weight:400;src:local("Cascadia Code"),url(https://fonts.cdnfonts.com/s/29131/Cascadia.woff) format("woff")}#home-page>main{display:flex;flex-direction:column;gap:4rem}#home-page>main>:is(main,section,figure){display:flex;flex-direction:column;place-content:start center;place-items:start center;height:calc(100dvh - var(--header-height) - var(--padding) * 2)}#home-page>main>main{gap:2rem}#home-page>main>main strong{letter-spacing:1.5rem;font-size:5rem;font-family:Beau Rivage,cursive;color:var(--ternary-colour)}#home-page>main>figure{display:grid;grid-template-columns:1fr;place-content:center;place-items:center}#home-page>main>figure>*{grid-row:1;grid-column:1}#home-page>main>figure img{width:70vmin;aspect-ratio:1;object-fit:contain}#home-page>main>figure svg{fill:var(--ternary-colour);stroke:none;width:95vmin}@media (min-width: 910px){#home-page>main{flex-direction:row}}@font-face{font-family:CascadiaCode;font-style:normal;font-weight:400;src:local("Cascadia Code"),url(https://fonts.cdnfonts.com/s/29131/Cascadia.woff) format("woff")}#signing-page{--header-height: 0rem;display:flex;place-content:center;place-items:center;background-color:var(--main-colour)}#signing-page>main{position:relative;display:flex;flex-direction:column;background-color:var(--background-colour);border-radius:20px;box-shadow:10px 10px 5px var(--half-transparent)}#signing-page>main #logo{position:absolute;top:-2rem;left:-2rem}#signing-page>main>main{flex-grow:1;display:flex;flex-direction:column;place-content:center;place-items:center;gap:3rem;padding:6rem}#signing-page>main>main h1{font-size:2.5rem}#signing-page>main>main form{display:flex;flex-direction:column;gap:2rem}#signing-page>main>main form .input-field{display:flex;flex-direction:column;gap:1rem}#signing-page>main>main form .input-field input{padding:1rem 0;background-color:transparent;border:none;border-radius:0;border-bottom:3px solid var(--fore-colour)}#signing-page>main>main form input[type=checkbox]{accent-color:var(--main-colour)}#signing-page>main figure{display:none}@media (min-width: 910px){#signing-page>main{aspect-ratio:16/9;display:grid;grid-template-columns:repeat(2,1fr)}#signing-page>main figure{position:relative;display:block;border-radius:0 20px 20px 0;overflow:hidden}#signing-page>main figure img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}}.custom-input-container{--padding: 1.5rem;--placeholder-colour: #555;display:flex;flex-direction:row;place-content:center stretch;place-items:center stretch}.custom-input-container sup{position:relative;left:.5ch;color:#ff4500}.custom-input-container.placeholder-always-shown{display:flex;flex-direction:column;place-content:stretch;place-items:stretch;gap:.5rem}.custom-input-container.placeholder-always-shown label{bottom:0;left:0;display:block!important}.custom-input-container.placeholder-always-shown input{order:2;padding-inline:0;border-radius:0;border-top:none;border-left:none;border-right:none}.custom-input-container.placeholder-always-shown input:not(:focus-within)+label{transform:translateY(calc(100% + 1rem))}.custom-input-container.placeholder-always-shown input:not(:placeholder-shown)+label{transform:translateY(0)}.custom-input-container.transparent{--padding: 0}.custom-input-container.transparent input{background-color:transparent;border-bottom:.2rem solid var(--half-transparent);border-radius:0}.custom-input-container>*{grid-column:1;grid-row:1}.custom-input-container input{padding:1rem var(--padding);background-color:var(--background-colour)}.custom-input-container input:not(:placeholder-shown)+label{display:none}.custom-input-container input:not([type=password]){text-overflow:ellipsis}.custom-input-container label{position:relative;left:var(--padding);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--placeholder-colour);transition:inset .25s,transform .25s;pointer-events:none}.lazy-image{display:grid;grid-template-columns:1fr}.lazy-image>img{grid-row:1;grid-column:1;transition:opacity .5s;opacity:1}.lazy-image>img.lazy-image-hidden{filter:none;opacity:0}.lazy-image>img.pixelated-lazy-image{width:100%;filter:blur(10px)}#logo{width:11rem;aspect-ratio:1;border-radius:100%;z-index:1;cursor:pointer}.navigation-bar{background-color:var(--main-lighter-colour)}.navigation-bar ul{gap:0;padding:0;background-color:inherit;overflow:hidden}.navigation-bar ul li{list-style-type:none;display:flex;flex-direction:column;background-color:inherit}.navigation-bar ul li a{--padding-inline: 2rem;--padding-block: 1rem;text-decoration:none;position:relative;flex-grow:1;display:flex;place-content:center end;place-items:center end;gap:1rem;padding-inline:var(--padding-inline);padding-block:var(--padding-block);background-color:inherit;transition:background-color .5s}.navigation-bar ul li a[data-nesting-index]{--nesting-index: 1;--offset-per-nesting: 2rem;--offset-right: calc(var(--offset-per-nesting) * var(--nesting-index));padding-right:calc(var(--padding-inline) + var(--offset-right))}.navigation-bar ul li a[data-nesting-index]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;right:var(--offset-right);border-right:2px solid var(--main-darker-colour);opacity:0;transition:opacity .5s}.navigation-bar ul li:is([data-navigated-to=true],:hover)>a{background-color:var(--main-colour)}.navigation-bar ul li[data-is-folded=false] ul{height:0}.navigation-bar ul li svg{width:2rem;height:2rem;margin-right:calc(-1 * var(--padding-inline) / 2)}.navigation-bar:hover a[data-nesting-index]:before{opacity:1}@font-face{font-family:CascadiaCode;font-style:normal;font-weight:400;src:local("Cascadia Code"),url(https://fonts.cdnfonts.com/s/29131/Cascadia.woff) format("woff")}#header{position:sticky;top:0;height:calc(var(--header-height) - 4rem);display:grid;grid-template-columns:1fr auto;place-content:center start;place-items:center start;gap:1rem;padding:2rem;background-color:var(--main-colour);z-index:10}#header #header-left-side{display:flex;place-content:center;place-items:center;gap:2rem}#header #header-left-side #logo{position:absolute;top:1rem;left:1rem;width:7.5rem;background-color:var(--secondary-colour);border-radius:100%;border:.75rem solid var(--main-colour)}#header #header-left-side>p{margin-left:9rem}#header #header-left-side button{padding:0}#header #header-left-side button a{text-decoration:none;padding:1rem;background-color:var(--main-lighter-colour);border-radius:inherit}#header .navigation-bar{position:fixed;top:var(--header-height);right:0;height:calc(100vh - 7rem);height:calc(100dvh - 7rem);padding-bottom:3.5rem;transition:transform .5s;overflow:auto}#header .navigation-bar[data-opened=false]{transform:translate(100%)}#header #toggling-button-displayer button{padding:0;display:flex;flex-direction:column;place-content:center;place-items:center;background-color:transparent;border:none}#header #toggling-button-displayer button svg{width:100%}#header #toggling-button-displayer #navigation-bar-button{width:3rem;height:3rem}#main-footer{padding:1rem;background-color:var(--main-colour);z-index:10}@font-face{font-family:CascadiaCode;font-style:normal;font-weight:400;src:local("Cascadia Code"),url(https://fonts.cdnfonts.com/s/29131/Cascadia.woff) format("woff")}@font-face{font-family:CascadiaCode;font-style:normal;font-weight:400;src:local("Cascadia Code"),url(https://fonts.cdnfonts.com/s/29131/Cascadia.woff) format("woff")}html{--header-height: 7rem;scroll-behavior:smooth;scroll-padding-top:var(--header-height)}:root{--main-colour: #A9B388;--main-lighter-colour: #C5CFA1;--main-darker-colour: #5F6F52;--secondary-colour: #8ADAB2;--ternary-colour: #DF826C;--fore-colour: #222;--fore-darker-colour: #111;--background-colour: #FEFAE0;--background-darker-colour: #B99470;--half-transparent: #0000007c;--best-bezier-curve: cubic-bezier(.15, .95, .3, 1.5);font-size:62.5%}body{font-size:1.6rem;font-family:Cascadia Code,CascadiaCode,Consolas,Arial;min-height:100vh;min-height:100dvh;margin:0;color:var(--fore-colour);background-color:var(--background-colour);transition:color .5s,background-color .5s}body>#root>main{--padding: 4rem;min-height:calc(100vh - var(--header-height) - var(--padding) * 2);min-height:calc(100dvh - var(--header-height) - var(--padding) * 2);padding:var(--padding)}input,button{font-family:inherit;font-size:inherit;color:inherit;background-color:var(--main-colour);border:none;outline:none}input{padding:1rem 1.5rem;border-radius:100rem;border:2px solid var(--fore-colour)}button{padding:1.25rem 2rem;border-radius:1rem;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}p,figure{margin:0}a{color:inherit}q{color:var(--main-colour)}q:before,q:after{content:""}ul{display:flex;flex-direction:column;gap:1rem;padding-left:2ch;margin:0}::-webkit-scrollbar{width:1rem;height:1rem}::-webkit-scrollbar-track{border:.3rem solid var(--half-transparent);background-color:var(--main-darker-colour)}*:not(body)::-webkit-scrollbar-track{border-radius:100rem}::-webkit-scrollbar-thumb{background-color:var(--half-transparent)}*:not(body)::-webkit-scrollbar-thumb{border-radius:100rem}svg{fill:var(--fore-colour);stroke:var(--fore-colour)}.button-displayer{display:flex;place-content:center;place-items:center;gap:1rem}#landing-page{--padding: 0 !important;display:grid;grid-template-columns:1fr;grid-template-rows:auto 2fr 3fr;height:100vh;height:100dvh;background-image:linear-gradient(-135deg,var(--background-colour),var(--main-lighter-colour) 50%)}#landing-page header{display:flex;flex-direction:row;place-content:center space-between;place-items:center space-between;gap:4rem;padding:2rem}#landing-page header div{display:flex;gap:2rem}#landing-page header div a{text-decoration:none}#landing-page main{display:flex;flex-direction:column;place-content:stretch center;place-items:stretch center;gap:2rem;padding-inline:4rem}#landing-page main button{place-self:start}#landing-page figure{overflow:hidden}#landing-page figure img{width:150%}@media (min-width: 910px){#landing-page{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr}#landing-page header{grid-row:1;grid-column:1/-1}#landing-page main{place-content:start center;place-items:start center}} diff --git a/assets/index-HZT5htyN.js b/assets/index-HZT5htyN.js new file mode 100644 index 0000000..ee20e2d --- /dev/null +++ b/assets/index-HZT5htyN.js @@ -0,0 +1,67 @@ +function uf(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function sf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ns={exports:{}},yl={},js={exports:{}},T={};/** + * @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 ur=Symbol.for("react.element"),af=Symbol.for("react.portal"),cf=Symbol.for("react.fragment"),ff=Symbol.for("react.strict_mode"),df=Symbol.for("react.profiler"),pf=Symbol.for("react.provider"),hf=Symbol.for("react.context"),mf=Symbol.for("react.forward_ref"),vf=Symbol.for("react.suspense"),gf=Symbol.for("react.memo"),yf=Symbol.for("react.lazy"),cu=Symbol.iterator;function wf(e){return e===null||typeof e!="object"?null:(e=cu&&e[cu]||e["@@iterator"],typeof e=="function"?e:null)}var Ls={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Rs=Object.assign,zs={};function vn(e,t,n){this.props=e,this.context=t,this.refs=zs,this.updater=n||Ls}vn.prototype.isReactComponent={};vn.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")};vn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ts(){}Ts.prototype=vn.prototype;function di(e,t,n){this.props=e,this.context=t,this.refs=zs,this.updater=n||Ls}var pi=di.prototype=new Ts;pi.constructor=di;Rs(pi,vn.prototype);pi.isPureReactComponent=!0;var fu=Array.isArray,Os=Object.prototype.hasOwnProperty,hi={current:null},Is={key:!0,ref:!0,__self:!0,__source:!0};function Ms(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Os.call(t,r)&&!Is.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,J=_[Q];if(0>>1;Ql(Ul,z))Ctl(hr,Ul)?(_[Q]=hr,_[Ct]=z,Q=Ct):(_[Q]=Ul,_[Et]=z,Q=Et);else if(Ctl(hr,z))_[Q]=hr,_[Ct]=z,Q=Ct;else break e}}return R}function l(_,R){var z=_.sortIndex-R.sortIndex;return z!==0?z:_.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],h=1,m=null,p=3,S=!1,w=!1,y=!1,L=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(_){for(var R=n(a);R!==null;){if(R.callback===null)r(a);else if(R.startTime<=_)r(a),R.sortIndex=R.expirationTime,t(s,R);else break;R=n(a)}}function g(_){if(y=!1,d(_),!w)if(n(s)!==null)w=!0,Dl(E);else{var R=n(a);R!==null&&Fl(g,R.startTime-_)}}function E(_,R){w=!1,y&&(y=!1,f(j),j=-1),S=!0;var z=p;try{for(d(R),m=n(s);m!==null&&(!(m.expirationTime>R)||_&&!Le());){var Q=m.callback;if(typeof Q=="function"){m.callback=null,p=m.priorityLevel;var J=Q(m.expirationTime<=R);R=e.unstable_now(),typeof J=="function"?m.callback=J:m===n(s)&&r(s),d(R)}else r(s);m=n(s)}if(m!==null)var pr=!0;else{var Et=n(a);Et!==null&&Fl(g,Et.startTime-R),pr=!1}return pr}finally{m=null,p=z,S=!1}}var P=!1,N=null,j=-1,H=5,O=-1;function Le(){return!(e.unstable_now()-O_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(_){switch(p){case 1:case 2:case 3:var R=3;break;default:R=p}var z=p;p=R;try{return _()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,R){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var z=p;p=_;try{return R()}finally{p=z}},e.unstable_scheduleCallback=function(_,R,z){var Q=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0Q?(_.sortIndex=z,t(a,_),n(s)===null&&_===n(a)&&(y?(f(j),j=-1):y=!0,Fl(g,z-Q))):(_.sortIndex=J,t(s,_),w||S||(w=!0,Dl(E))),_},e.unstable_shouldYield=Le,e.unstable_wrapCallback=function(_){var R=p;return function(){var z=p;p=R;try{return _.apply(this,arguments)}finally{p=z}}}})(Us);Fs.exports=Us;var Tf=Fs.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 Bs=k,Se=Tf;function x(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"),mo=Object.prototype.hasOwnProperty,Of=/^[: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]*$/,pu={},hu={};function If(e){return mo.call(hu,e)?!0:mo.call(pu,e)?!1:Of.test(e)?hu[e]=!0:(pu[e]=!0,!1)}function Mf(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 Af(e,t,n,r){if(t===null||typeof t>"u"||Mf(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 fe(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){re[e]=new fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];re[t]=new fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){re[e]=new fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){re[e]=new fe(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){re[e]=new fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){re[e]=new fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){re[e]=new fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){re[e]=new fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){re[e]=new fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var vi=/[\-:]([a-z])/g;function gi(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(vi,gi);re[t]=new fe(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(vi,gi);re[t]=new fe(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(vi,gi);re[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){re[e]=new fe(e,1,!1,e.toLowerCase(),null,!1,!1)});re.xlinkHref=new fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){re[e]=new fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function yi(e,t,n,r){var l=re.hasOwnProperty(t)?re[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Vl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Rn(e):""}function Df(e){switch(e.tag){case 5:return Rn(e.type);case 16:return Rn("Lazy");case 13:return Rn("Suspense");case 19:return Rn("SuspenseList");case 0:case 2:case 15:return e=Wl(e.type,!1),e;case 11:return e=Wl(e.type.render,!1),e;case 1:return e=Wl(e.type,!0),e;default:return""}}function wo(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 Ht:return"Fragment";case Wt:return"Portal";case vo:return"Profiler";case wi:return"StrictMode";case go:return"Suspense";case yo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ws:return(e.displayName||"Context")+".Consumer";case Vs:return(e._context.displayName||"Context")+".Provider";case Si:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xi:return t=e.displayName||null,t!==null?t:wo(e.type)||"Memo";case tt:t=e._payload,e=e._init;try{return wo(e(t))}catch{}}return null}function Ff(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 wo(t);case 8:return t===wi?"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 gt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Uf(e){var t=Qs(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 l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gr(e){e._valueTracker||(e._valueTracker=Uf(e))}function Ks(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Qs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Hr(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 So(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=gt(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 Zs(e,t){t=t.checked,t!=null&&yi(e,"checked",t,!1)}function xo(e,t){Zs(e,t);var n=gt(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")?ko(e,t.type,n):t.hasOwnProperty("defaultValue")&&ko(e,t.type,gt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gu(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 ko(e,t,n){(t!=="number"||Hr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zn=Array.isArray;function nn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=yr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var In={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},Bf=["Webkit","ms","Moz","O"];Object.keys(In).forEach(function(e){Bf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),In[t]=In[e]})});function Js(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||In.hasOwnProperty(e)&&In[e]?(""+t).trim():t+"px"}function qs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Js(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var $f=V({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 _o(e,t){if(t){if($f[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function Po(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 No=null;function ki(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var jo=null,rn=null,ln=null;function Su(e){if(e=cr(e)){if(typeof jo!="function")throw Error(x(280));var t=e.stateNode;t&&(t=El(t),jo(e.stateNode,e.type,t))}}function bs(e){rn?ln?ln.push(e):ln=[e]:rn=e}function ea(){if(rn){var e=rn,t=ln;if(ln=rn=null,Su(e),t)for(e=0;e>>=0,e===0?32:31-(qf(e)/bf|0)|0}var wr=64,Sr=4194304;function Tn(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 Gr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Tn(u):(o&=i,o!==0&&(r=Tn(o)))}else i=n&~l,i!==0?r=Tn(i):o!==0&&(r=Tn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===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 sr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ie(t),e[t]=n}function rd(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=An),Lu=" ",Ru=!1;function Sa(e,t){switch(e){case"keyup":return zd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qt=!1;function Od(e,t){switch(e){case"compositionend":return xa(t);case"keypress":return t.which!==32?null:(Ru=!0,Lu);case"textInput":return e=t.data,e===Lu&&Ru?null:e;default:return null}}function Id(e,t){if(Qt)return e==="compositionend"||!Ri&&Sa(e,t)?(e=ya(),Mr=Ni=ot=null,Qt=!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=Iu(n)}}function _a(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_a(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Pa(){for(var e=window,t=Hr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Hr(e.document)}return t}function zi(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 Wd(e){var t=Pa(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_a(n.ownerDocument.documentElement,n)){if(r!==null&&zi(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 l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Mu(n,o);var i=Mu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,Kt=null,Io=null,Fn=null,Mo=!1;function Au(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mo||Kt==null||Kt!==Hr(r)||(r=Kt,"selectionStart"in r&&zi(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}),Fn&&Yn(Fn,r)||(Fn=r,r=Jr(Io,"onSelect"),0Xt||(e.current=$o[Xt],$o[Xt]=null,Xt--)}function A(e,t){Xt++,$o[Xt]=e.current,e.current=t}var yt={},ue=St(yt),he=St(!1),Tt=yt;function cn(e,t){var n=e.type.contextTypes;if(!n)return yt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function me(e){return e=e.childContextTypes,e!=null}function br(){F(he),F(ue)}function Wu(e,t,n){if(ue.current!==yt)throw Error(x(168));A(ue,t),A(he,n)}function Ma(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(x(108,Ff(e)||"Unknown",l));return V({},n,r)}function el(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yt,Tt=ue.current,A(ue,e),A(he,he.current),!0}function Hu(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=Ma(e,t,Tt),r.__reactInternalMemoizedMergedChildContext=e,F(he),F(ue),A(ue,e)):F(he),A(he,n)}var Qe=null,Cl=!1,ro=!1;function Aa(e){Qe===null?Qe=[e]:Qe.push(e)}function tp(e){Cl=!0,Aa(e)}function xt(){if(!ro&&Qe!==null){ro=!0;var e=0,t=M;try{var n=Qe;for(M=1;e>=i,l-=i,Ke=1<<32-Ie(t)+l|n<j?(H=N,N=null):H=N.sibling;var O=p(f,N,d[j],g);if(O===null){N===null&&(N=H);break}e&&N&&O.alternate===null&&t(f,N),c=o(O,c,j),P===null?E=O:P.sibling=O,P=O,N=H}if(j===d.length)return n(f,N),U&&_t(f,j),E;if(N===null){for(;jj?(H=N,N=null):H=N.sibling;var Le=p(f,N,O.value,g);if(Le===null){N===null&&(N=H);break}e&&N&&Le.alternate===null&&t(f,N),c=o(Le,c,j),P===null?E=Le:P.sibling=Le,P=Le,N=H}if(O.done)return n(f,N),U&&_t(f,j),E;if(N===null){for(;!O.done;j++,O=d.next())O=m(f,O.value,g),O!==null&&(c=o(O,c,j),P===null?E=O:P.sibling=O,P=O);return U&&_t(f,j),E}for(N=r(f,N);!O.done;j++,O=d.next())O=S(N,f,j,O.value,g),O!==null&&(e&&O.alternate!==null&&N.delete(O.key===null?j:O.key),c=o(O,c,j),P===null?E=O:P.sibling=O,P=O);return e&&N.forEach(function(Sn){return t(f,Sn)}),U&&_t(f,j),E}function L(f,c,d,g){if(typeof d=="object"&&d!==null&&d.type===Ht&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case vr:e:{for(var E=d.key,P=c;P!==null;){if(P.key===E){if(E=d.type,E===Ht){if(P.tag===7){n(f,P.sibling),c=l(P,d.props.children),c.return=f,f=c;break e}}else if(P.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===tt&&Ju(E)===P.type){n(f,P.sibling),c=l(P,d.props),c.ref=Nn(f,P,d),c.return=f,f=c;break e}n(f,P);break}else t(f,P);P=P.sibling}d.type===Ht?(c=zt(d.props.children,f.mode,g,d.key),c.return=f,f=c):(g=Wr(d.type,d.key,d.props,null,f.mode,g),g.ref=Nn(f,c,d),g.return=f,f=g)}return i(f);case Wt:e:{for(P=d.key;c!==null;){if(c.key===P)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=l(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=fo(d,f.mode,g),c.return=f,f=c}return i(f);case tt:return P=d._init,L(f,c,P(d._payload),g)}if(zn(d))return w(f,c,d,g);if(kn(d))return y(f,c,d,g);Nr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,d),c.return=f,f=c):(n(f,c),c=co(d,f.mode,g),c.return=f,f=c),i(f)):n(f,c)}return L}var dn=Ha(!0),Qa=Ha(!1),fr={},We=St(fr),er=St(fr),tr=St(fr);function Lt(e){if(e===fr)throw Error(x(174));return e}function Bi(e,t){switch(A(tr,t),A(er,e),A(We,fr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Co(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Co(t,e)}F(We),A(We,t)}function pn(){F(We),F(er),F(tr)}function Ka(e){Lt(tr.current);var t=Lt(We.current),n=Co(t,e.type);t!==n&&(A(er,e),A(We,n))}function $i(e){er.current===e&&(F(We),F(er))}var B=St(0);function il(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var lo=[];function Vi(){for(var e=0;en?n:4,e(!0);var r=oo.transition;oo.transition={};try{e(!1),t()}finally{M=n,oo.transition=r}}function sc(){return je().memoizedState}function op(e,t,n){var r=ht(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ac(e))cc(t,n);else if(n=Ba(e,t,n,r),n!==null){var l=ae();Me(n,e,r,l),fc(n,t,r)}}function ip(e,t,n){var r=ht(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ac(e))cc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Ae(u,i)){var s=t.interleaved;s===null?(l.next=l,Fi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=Ba(e,t,l,r),n!==null&&(l=ae(),Me(n,e,r,l),fc(n,t,r))}}function ac(e){var t=e.alternate;return e===$||t!==null&&t===$}function cc(e,t){Un=ul=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ci(e,n)}}var sl={readContext:Ne,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},up={readContext:Ne,useCallback:function(e,t){return Ue().memoizedState=[e,t===void 0?null:t],e},useContext:Ne,useEffect:bu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ur(4194308,4,rc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ur(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ur(4,2,e,t)},useMemo:function(e,t){var n=Ue();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ue();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=op.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var t=Ue();return e={current:e},t.memoizedState=e},useState:qu,useDebugValue:Zi,useDeferredValue:function(e){return Ue().memoizedState=e},useTransition:function(){var e=qu(!1),t=e[0];return e=lp.bind(null,e[1]),Ue().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$,l=Ue();if(U){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),b===null)throw Error(x(349));It&30||Xa(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,bu(Ja.bind(null,r,o,e),[e]),r.flags|=2048,lr(9,Ya.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ue(),t=b.identifierPrefix;if(U){var n=Ze,r=Ke;n=(r&~(1<<32-Ie(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=nr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[$e]=t,e[bn]=r,Sc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Po(n,r),n){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;lmn&&(t.flags|=128,r=!0,jn(o,!1),t.lanes=4194304)}else{if(!r)if(e=il(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),jn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!U)return oe(t),null}else 2*K()-o.renderingStartTime>mn&&n!==1073741824&&(t.flags|=128,r=!0,jn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=B.current,A(B,r?n&1|2:n&1),t):(oe(t),null);case 22:case 23:return bi(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ge&1073741824&&(oe(t),t.subtreeFlags&6&&(t.flags|=8192)):oe(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function mp(e,t){switch(Oi(t),t.tag){case 1:return me(t.type)&&br(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pn(),F(he),F(ue),Vi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $i(t),null;case 13:if(F(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));fn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(B),null;case 4:return pn(),null;case 10:return Di(t.type._context),null;case 22:case 23:return bi(),null;case 24:return null;default:return null}}var Lr=!1,ie=!1,vp=typeof WeakSet=="function"?WeakSet:Set,C=null;function bt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function bo(e,t,n){try{n()}catch(r){W(e,t,r)}}var ss=!1;function gp(e,t){if(Ao=Xr,e=Pa(),zi(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 l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,h=0,m=e,p=null;t:for(;;){for(var S;m!==n||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(S=m.firstChild)!==null;)p=m,m=S;for(;;){if(m===e)break t;if(p===n&&++a===l&&(u=i),p===o&&++h===r&&(s=i),(S=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=S}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Do={focusedElem:e,selectionRange:n},Xr=!1,C=t;C!==null;)if(t=C,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,C=e;else for(;C!==null;){t=C;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,L=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ze(t.type,y),L);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(g){W(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,C=e;break}C=t.return}return w=ss,ss=!1,w}function Bn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&bo(t,n,o)}l=l.next}while(l!==r)}}function Nl(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 ei(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 Ec(e){var t=e.alternate;t!==null&&(e.alternate=null,Ec(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$e],delete t[bn],delete t[Bo],delete t[bd],delete t[ep])),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 Cc(e){return e.tag===5||e.tag===3||e.tag===4}function as(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Cc(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 ti(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=qr));else if(r!==4&&(e=e.child,e!==null))for(ti(e,t,n),e=e.sibling;e!==null;)ti(e,t,n),e=e.sibling}function ni(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(ni(e,t,n),e=e.sibling;e!==null;)ni(e,t,n),e=e.sibling}var te=null,Te=!1;function et(e,t,n){for(n=n.child;n!==null;)_c(e,t,n),n=n.sibling}function _c(e,t,n){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(wl,n)}catch{}switch(n.tag){case 5:ie||bt(n,t);case 6:var r=te,l=Te;te=null,et(e,t,n),te=r,Te=l,te!==null&&(Te?(e=te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):te.removeChild(n.stateNode));break;case 18:te!==null&&(Te?(e=te,n=n.stateNode,e.nodeType===8?no(e.parentNode,n):e.nodeType===1&&no(e,n),Gn(e)):no(te,n.stateNode));break;case 4:r=te,l=Te,te=n.stateNode.containerInfo,Te=!0,et(e,t,n),te=r,Te=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&bo(n,t,i),l=l.next}while(l!==r)}et(e,t,n);break;case 1:if(!ie&&(bt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}et(e,t,n);break;case 21:et(e,t,n);break;case 22:n.mode&1?(ie=(r=ie)||n.memoizedState!==null,et(e,t,n),ie=r):et(e,t,n);break;default:et(e,t,n)}}function cs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vp),t.forEach(function(r){var l=Pp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Re(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wp(r/1960))-r,10e?16:e,it===null)var r=!1;else{if(e=it,it=null,fl=0,I&6)throw Error(x(331));var l=I;for(I|=4,C=e.current;C!==null;){var o=C,i=o.child;if(C.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sK()-Ji?Rt(e,0):Yi|=n),ve(e,t)}function Oc(e,t){t===0&&(e.mode&1?(t=Sr,Sr<<=1,!(Sr&130023424)&&(Sr=4194304)):t=1);var n=ae();e=Je(e,t),e!==null&&(sr(e,t,n),ve(e,n))}function _p(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Oc(e,n)}function Pp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(t),Oc(e,n)}var Ic;Ic=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||he.current)pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pe=!1,pp(e,t,n);pe=!!(e.flags&131072)}else pe=!1,U&&t.flags&1048576&&Da(t,nl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Br(e,t),e=t.pendingProps;var l=cn(t,ue.current);un(t,n),l=Hi(null,t,r,e,l,n);var o=Qi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,me(r)?(o=!0,el(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ui(t),l.updater=_l,t.stateNode=l,l._reactInternals=t,Ko(t,r,e,n),t=Xo(null,t,r,!0,o,n)):(t.tag=0,U&&o&&Ti(t),se(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Br(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=jp(r),e=ze(r,e),l){case 0:t=Go(null,t,r,e,n);break e;case 1:t=os(null,t,r,e,n);break e;case 11:t=rs(null,t,r,e,n);break e;case 14:t=ls(null,t,r,ze(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Go(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),os(e,t,r,l,n);case 3:e:{if(gc(t),e===null)throw Error(x(387));r=t.pendingProps,o=t.memoizedState,l=o.element,$a(e,t),ol(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=hn(Error(x(423)),t),t=is(e,t,r,n,l);break e}else if(r!==l){l=hn(Error(x(424)),t),t=is(e,t,r,n,l);break e}else for(ye=ft(t.stateNode.containerInfo.firstChild),we=t,U=!0,Oe=null,n=Qa(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fn(),r===l){t=qe(e,t,n);break e}se(e,t,r,n)}t=t.child}return t;case 5:return Ka(t),e===null&&Wo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Fo(r,l)?i=null:o!==null&&Fo(r,o)&&(t.flags|=32),vc(e,t),se(e,t,i,n),t.child;case 6:return e===null&&Wo(t),null;case 13:return yc(e,t,n);case 4:return Bi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=dn(t,null,r,n):se(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),rs(e,t,r,l,n);case 7:return se(e,t,t.pendingProps,n),t.child;case 8:return se(e,t,t.pendingProps.children,n),t.child;case 12:return se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,A(rl,r._currentValue),r._currentValue=i,o!==null)if(Ae(o.value,i)){if(o.children===l.children&&!he.current){t=qe(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ge(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var h=a.pending;h===null?s.next=s:(s.next=h.next,h.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Ho(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(x(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Ho(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}se(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,un(t,n),l=Ne(l),r=r(l),t.flags|=1,se(e,t,r,n),t.child;case 14:return r=t.type,l=ze(r,t.pendingProps),l=ze(r.type,l),ls(e,t,r,l,n);case 15:return hc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Br(e,t),t.tag=1,me(r)?(e=!0,el(t)):e=!1,un(t,n),Wa(t,r,l),Ko(t,r,l,n),Xo(null,t,r,!0,e,n);case 19:return wc(e,t,n);case 22:return mc(e,t,n)}throw Error(x(156,t.tag))};function Mc(e,t){return ua(e,t)}function Np(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 Np(e,t,n,r)}function tu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jp(e){if(typeof e=="function")return tu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Si)return 11;if(e===xi)return 14}return 2}function mt(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 Wr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")tu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ht:return zt(n.children,l,o,t);case wi:i=8,l|=8;break;case vo:return e=_e(12,n,t,l|2),e.elementType=vo,e.lanes=o,e;case go:return e=_e(13,n,t,l),e.elementType=go,e.lanes=o,e;case yo:return e=_e(19,n,t,l),e.elementType=yo,e.lanes=o,e;case Hs:return Ll(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Vs:i=10;break e;case Ws:i=9;break e;case Si:i=11;break e;case xi:i=14;break e;case tt:i=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=_e(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function zt(e,t,n,r){return e=_e(7,e,r,t),e.lanes=n,e}function Ll(e,t,n,r){return e=_e(22,e,r,t),e.elementType=Hs,e.lanes=n,e.stateNode={isHidden:!1},e}function co(e,t,n){return e=_e(6,e,null,t),e.lanes=n,e}function fo(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 Lp(e,t,n,r,l){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=Ql(0),this.expirationTimes=Ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ql(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function nu(e,t,n,r,l,o,i,u,s){return e=new Lp(e,t,n,u,s),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},Ui(o),e}function Rp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uc)}catch(e){console.error(e)}}Uc(),Ds.exports=xe;var Mp=Ds.exports,ys=Mp;ho.createRoot=ys.createRoot,ho.hydrateRoot=ys.hydrateRoot;/** + * @remix-run/router v1.13.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Il(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Dp(){return Math.random().toString(36).substr(2,8)}function Ss(e,t){return{usr:e.state,key:e.key,idx:t}}function ui(e,t,n,r){return n===void 0&&(n=null),ir({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Bt(t):t,{state:n,key:t&&t.key||r||Dp()})}function hl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Bt(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Fp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,u=ut.Pop,s=null,a=h();a==null&&(a=0,i.replaceState(ir({},i.state,{idx:a}),""));function h(){return(i.state||{idx:null}).idx}function m(){u=ut.Pop;let L=h(),f=L==null?null:L-a;a=L,s&&s({action:u,location:y.location,delta:f})}function p(L,f){u=ut.Push;let c=ui(y.location,L,f);n&&n(c,L),a=h()+1;let d=Ss(c,a),g=y.createHref(c);try{i.pushState(d,"",g)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;l.location.assign(g)}o&&s&&s({action:u,location:y.location,delta:1})}function S(L,f){u=ut.Replace;let c=ui(y.location,L,f);n&&n(c,L),a=h();let d=Ss(c,a),g=y.createHref(c);i.replaceState(d,"",g),o&&s&&s({action:u,location:y.location,delta:0})}function w(L){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof L=="string"?L:hl(L);return G(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let y={get action(){return u},get location(){return e(l,i)},listen(L){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(ws,m),s=L,()=>{l.removeEventListener(ws,m),s=null}},createHref(L){return t(l,L)},createURL:w,encodeLocation(L){let f=w(L);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:p,replace:S,go(L){return i.go(L)}};return y}var xs;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(xs||(xs={}));function Up(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Bt(t):t,l=iu(r.pathname||"/",n);if(l==null)return null;let o=Bc(e);Bp(o);let i=null;for(let u=0;i==null&&u{let s={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};s.relativePath.startsWith("/")&&(G(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=vt([r,s.relativePath]),h=n.concat(s);o.children&&o.children.length>0&&(G(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),Bc(o.children,t,h,a)),!(o.path==null&&!o.index)&&t.push({path:a,score:Zp(a,o.index),routesMeta:h})};return e.forEach((o,i)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))l(o,i);else for(let s of $c(o.path))l(o,i,s)}),t}function $c(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=$c(r.join("/")),u=[];return u.push(...i.map(s=>s===""?o:[o,s].join("/"))),l&&u.push(...i),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function Bp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Gp(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const $p=/^:\w+$/,Vp=3,Wp=2,Hp=1,Qp=10,Kp=-2,ks=e=>e==="*";function Zp(e,t){let n=e.split("/"),r=n.length;return n.some(ks)&&(r+=Kp),t&&(r+=Wp),n.filter(l=>!ks(l)).reduce((l,o)=>l+($p.test(o)?Vp:o===""?Hp:Qp),r)}function Gp(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Xp(e,t){let{routesMeta:n}=e,r={},l="/",o=[];for(let i=0;i{let{paramName:p,isOptional:S}=h;if(p==="*"){let y=u[m]||"";i=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const w=u[m];return S&&!w?a[p]=void 0:a[p]=bp(w||"",p),a},{}),pathname:o,pathnameBase:i,pattern:e}}function Jp(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Il(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(i,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function qp(e){try{return decodeURI(e)}catch(t){return Il(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function bp(e,t){try{return decodeURIComponent(e)}catch(n){return Il(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function iu(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function eh(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Bt(e):e;return{pathname:n?n.startsWith("/")?n:th(n,t):t,search:rh(r),hash:lh(l)}}function th(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function po(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Vc(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Wc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Bt(e):(l=ir({},e),G(!l.pathname||!l.pathname.includes("?"),po("?","pathname","search",l)),G(!l.pathname||!l.pathname.includes("#"),po("#","pathname","hash",l)),G(!l.search||!l.search.includes("#"),po("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,u;if(i==null)u=n;else if(r){let m=t[t.length-1].replace(/^\//,"").split("/");if(i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),m.pop();l.pathname=p.join("/")}u="/"+m.join("/")}else{let m=t.length-1;if(i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),m-=1;l.pathname=p.join("/")}u=m>=0?t[m]:"/"}let s=eh(l,u),a=i&&i!=="/"&&i.endsWith("/"),h=(o||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(a||h)&&(s.pathname+="/"),s}const vt=e=>e.join("/").replace(/\/\/+/g,"/"),nh=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rh=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,lh=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function oh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Hc=["post","put","patch","delete"];new Set(Hc);const ih=["get",...Hc];new Set(ih);/** + * React Router v6.20.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ml(){return ml=Object.assign?Object.assign.bind():function(e){for(var t=1;ts.pathnameBase)),i=k.useRef(!1);return Kc(()=>{i.current=!0}),k.useCallback(function(s,a){if(a===void 0&&(a={}),!i.current)return;if(typeof s=="number"){n.go(s);return}let h=Wc(s,JSON.parse(o),l,a.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:vt([t,h.pathname])),(a.replace?n.replace:n.push)(h,a.state,a)},[t,n,o,l,e])}const ch=k.createContext(null);function fh(e){let t=k.useContext(kt).outlet;return t&&k.createElement(ch.Provider,{value:e},t)}function Zc(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=k.useContext(kt),{pathname:l}=$t(),o=JSON.stringify(Vc(r).map(i=>i.pathnameBase));return k.useMemo(()=>Wc(e,JSON.parse(o),l,n==="path"),[e,o,l,n])}function dh(e,t){return ph(e,t)}function ph(e,t,n){dr()||G(!1);let{navigator:r}=k.useContext(wn),{matches:l}=k.useContext(kt),o=l[l.length-1],i=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let s=$t(),a;if(t){var h;let y=typeof t=="string"?Bt(t):t;u==="/"||(h=y.pathname)!=null&&h.startsWith(u)||G(!1),a=y}else a=s;let m=a.pathname||"/",p=u==="/"?m:m.slice(u.length)||"/",S=Up(e,{pathname:p}),w=yh(S&&S.map(y=>Object.assign({},y,{params:Object.assign({},i,y.params),pathname:vt([u,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:vt([u,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),l,n);return t&&w?k.createElement(Ml.Provider,{value:{location:ml({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:ut.Pop}},w):w}function hh(){let e=kh(),t=oh(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:l},n):null,o)}const mh=k.createElement(hh,null);class vh extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?k.createElement(kt.Provider,{value:this.props.routeContext},k.createElement(Qc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function gh(e){let{routeContext:t,match:n,children:r}=e,l=k.useContext(uu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(kt.Provider,{value:t},r)}function yh(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var l;if((l=n)!=null&&l.errors)e=n.matches;else return null}let o=e,i=(r=n)==null?void 0:r.errors;if(i!=null){let u=o.findIndex(s=>s.route.id&&(i==null?void 0:i[s.route.id]));u>=0||G(!1),o=o.slice(0,Math.min(o.length,u+1))}return o.reduceRight((u,s,a)=>{let h=s.route.id?i==null?void 0:i[s.route.id]:null,m=null;n&&(m=s.route.errorElement||mh);let p=t.concat(o.slice(0,a+1)),S=()=>{let w;return h?w=m:s.route.Component?w=k.createElement(s.route.Component,null):s.route.element?w=s.route.element:w=u,k.createElement(gh,{match:s,routeContext:{outlet:u,matches:p,isDataRoute:n!=null},children:w})};return n&&(s.route.ErrorBoundary||s.route.errorElement||a===0)?k.createElement(vh,{location:n.location,revalidation:n.revalidation,component:m,error:h,children:S(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):S()},null)}var Gc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Gc||{}),vl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(vl||{});function wh(e){let t=k.useContext(uu);return t||G(!1),t}function Sh(e){let t=k.useContext(uh);return t||G(!1),t}function xh(e){let t=k.useContext(kt);return t||G(!1),t}function Xc(e){let t=xh(),n=t.matches[t.matches.length-1];return n.route.id||G(!1),n.route.id}function kh(){var e;let t=k.useContext(Qc),n=Sh(vl.UseRouteError),r=Xc(vl.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function Eh(){let{router:e}=wh(Gc.UseNavigateStable),t=Xc(vl.UseNavigateStable),n=k.useRef(!1);return Kc(()=>{n.current=!0}),k.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,ml({fromRouteId:t},o)))},[e,t])}function Ch(e){return fh(e.context)}function ee(e){G(!1)}function _h(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ut.Pop,navigator:o,static:i=!1}=e;dr()&&G(!1);let u=t.replace(/^\/*/,"/"),s=k.useMemo(()=>({basename:u,navigator:o,static:i}),[u,o,i]);typeof r=="string"&&(r=Bt(r));let{pathname:a="/",search:h="",hash:m="",state:p=null,key:S="default"}=r,w=k.useMemo(()=>{let y=iu(a,u);return y==null?null:{location:{pathname:y,search:h,hash:m,state:p,key:S},navigationType:l}},[u,a,h,m,p,S,l]);return w==null?null:k.createElement(wn.Provider,{value:s},k.createElement(Ml.Provider,{children:n,value:w}))}function Ph(e){let{children:t,location:n}=e;return dh(si(t),n)}new Promise(()=>{});function si(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,l)=>{if(!k.isValidElement(r))return;let o=[...t,l];if(r.type===k.Fragment){n.push.apply(n,si(r.props.children,o));return}r.type!==ee&&G(!1),!r.props.index||!r.props.children||G(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=si(r.props.children,o)),n.push(i)}),n}/** + * React Router DOM v6.20.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ai(){return ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function jh(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Lh(e,t){return e.button===0&&(!t||t==="_self")&&!jh(e)}function ci(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(l=>[n,l]):[[n,r]])},[]))}function Rh(e,t){let n=ci(e);return t&&t.forEach((r,l)=>{n.has(l)||t.getAll(l).forEach(o=>{n.append(l,o)})}),n}const zh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Th="startTransition",Es=_f[Th];function Oh(e){let{basename:t,children:n,future:r,window:l}=e,o=k.useRef();o.current==null&&(o.current=Ap({window:l,v5Compat:!0}));let i=o.current,[u,s]=k.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=k.useCallback(m=>{a&&Es?Es(()=>s(m)):s(m)},[s,a]);return k.useLayoutEffect(()=>i.listen(h),[i,h]),k.createElement(_h,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i})}const Ih=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Mh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Dt=k.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:s,to:a,preventScrollReset:h,unstable_viewTransition:m}=t,p=Nh(t,zh),{basename:S}=k.useContext(wn),w,y=!1;if(typeof a=="string"&&Mh.test(a)&&(w=a,Ih))try{let d=new URL(window.location.href),g=a.startsWith("//")?new URL(d.protocol+a):new URL(a),E=iu(g.pathname,S);g.origin===d.origin&&E!=null?a=E+g.search+g.hash:y=!0}catch{}let L=sh(a,{relative:l}),f=Ah(a,{replace:i,state:u,target:s,preventScrollReset:h,relative:l,unstable_viewTransition:m});function c(d){r&&r(d),d.defaultPrevented||f(d)}return k.createElement("a",ai({},p,{href:w||L,onClick:y||o?r:c,ref:n,target:s}))});var Cs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Cs||(Cs={}));var _s;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_s||(_s={}));function Ah(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,s=Al(),a=$t(),h=Zc(e,{relative:i});return k.useCallback(m=>{if(Lh(m,n)){m.preventDefault();let p=r!==void 0?r:hl(a)===hl(h);s(e,{replace:p,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u})}},[a,s,h,r,l,n,e,o,i,u])}function Dh(e){let t=k.useRef(ci(e)),n=k.useRef(!1),r=$t(),l=k.useMemo(()=>Rh(r.search,n.current?null:t.current),[r.search]),o=Al(),i=k.useCallback((u,s)=>{const a=ci(typeof u=="function"?u(l):u);n.current=!0,o("?"+a,s)},[o,l]);return[l,i]}function Fh(){return v.jsx("svg",{viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",fill:"black",stroke:"black",children:v.jsx("path",{d:"M24.9,-38.6C34.6,-27.3,46.3,-23.1,57.9,-12.8C69.4,-2.6,80.8,13.7,77.8,25.9C74.7,38.1,57.1,46.2,41.7,57.1C26.3,67.9,13.2,81.5,-2.3,84.6C-17.8,87.8,-35.6,80.6,-41.9,66.9C-48.3,53.1,-43.2,32.7,-45.3,16.9C-47.4,1.1,-56.6,-10.2,-57.3,-21.9C-58,-33.7,-50.1,-45.9,-39.1,-56.7C-28.2,-67.5,-14.1,-76.9,-3.2,-72.5C7.6,-68.1,15.3,-49.8,24.9,-38.6Z",transform:"translate(100 100)"})})}const Uh="/assets/dog_cat-WyLckBMn.png";function Bh(){const e=Al();return k.useEffect(()=>{e("/Landing")},[e]),v.jsx("main",{id:"home-page",children:v.jsxs("main",{children:[v.jsxs("main",{children:[v.jsxs("h1",{children:["Keeping your pet on a stress-free path to",v.jsx("strong",{children:"Wellness"})]}),v.jsx("p",{children:"Lorem ipsum dolor sit amet consectetur, adipisicing elit. Doloribus alias excepturi, atque nemo quod ea. Aut, tenetur. Quas, aliquam, cumque, suscipit ullam assumenda et exercitationem nam corporis deserunt quasi eum!"}),v.jsx("button",{children:"Request an Appointment"})]}),v.jsxs("figure",{children:[v.jsx(Fh,{}),v.jsx("img",{src:Uh,alt:"A dog and a cat sitting."})]})]})})}function $h(){return v.jsx("main",{id:"about-page"})}const Vh="/assets/dog_cat-4jmu84I7.jpg",Wh="/assets/dog_cat.blurred-usrklCoT.jpg";function tn(e){const t=`${e.name??e.id}-input-field`;return v.jsxs("div",{className:["custom-input-container",e.isTransparent&&"transparent",e.isPlaceholderAlwaysShown!=!1&&"placeholder-always-shown"].toClassName(),children:[v.jsx("input",{id:t,className:["custom-input",e.className].toClassName(),type:e.type,value:e.value,title:e.title,placeholder:" ",pattern:e.pattern,name:e.name,min:e.minimumValue,max:e.maximumValue,readOnly:e.isReadOnly,minLength:e.minimumLength,maxLength:e.maximumLength,required:e.isRequired??!0,onBlur:n=>{var r,l;e.type=="number"&&n.currentTarget.value.length==0&&(n.currentTarget.value="0"),(l=(r=e.events)==null?void 0:r.onBlur)==null||l.call(r,n)},...e.events}),v.jsxs("label",{htmlFor:t,children:[e.placeholder,(e.isRequired??!0)&&v.jsx("sup",{children:"*"})]})]})}const Yc=["(","[a-zA-Z]{1}","[a-zA-Z0-9]*","[\\._\\-]{0,1}","[a-zA-Z0-9]*",")*","[a-zA-Z]{1}","[a-zA-Z0-9]*"].join(""),Jc=["(","[a-zA-Z]{1}","[a-zA-Z0-9]*","[\\._\\-]{0,1}","[a-zA-Z0-9]*",")*","[a-zA-Z0-9]{1}","[@]{1}","(","[a-zA-Z]{1}","[a-zA-Z0-9]*","[_\\-]{0,1}","[a-zA-Z0-9]*",")*","[a-zA-Z0-9]{1}","[\\.]{1}","([a-zA-Z]{2,})"].join(""),Hh=["(",Yc,"){0,1}","(",Jc,"){0,1}"].join(""),Qh=["^(?=.*[a-z])","(?=.*[A-Z])","(?=.*[0-9])","(?=.*[!@#$%^&*_=+\\-])",".{8,20}$"].join(""),qc="Cannot have consecutive special characters, and special characters that are not (_-.).",bc='Follow this pattern: "example@organization.xxx"',Kh=qc+", "+bc,Zh="Should at least contain one lowercase character, one uppercase character, one digit, and one special character, and is between 8 and 20 characters long.",Be={username:{value:Yc,message:qc},mail:{value:Jc,message:bc},usernameOrMail:{value:Hh,message:Kh},password:{value:Qh,message:Zh}};function ef(e){const t=k.useRef(null),n=k.useRef(null);k.useEffect(()=>{var l;(l=t.current)==null||l.addEventListener("load",r)},[]);function r(l){var o,i;(o=t.current)==null||o.classList.remove("lazy-image-hidden"),(i=n.current)==null||i.classList.add("lazy-image-hidden")}return v.jsxs("div",{id:e.id,className:["lazy-image",e.className].toClassName(),children:[v.jsx("img",{className:"lazy-image-hidden",ref:t,loading:"lazy",alt:e.alternativeText,src:e.originalImageSource}),v.jsx("img",{className:"pixelated-lazy-image",ref:n,"aria-hidden":!0,src:e.pixelatedImageSource})]})}const Gh="/assets/logo-4SWe62bZ.png";function su(){const e=Al();return v.jsx("img",{id:"logo",src:Gh,alt:"The logo of the website.",onClick:()=>e("/")})}var gl=(e=>(e.SignUp="sign-up",e.Login="login",e))(gl||{});function Xh(){const[e,t]=Dh(),n=e.get("method");return v.jsx("main",{id:"signing-page",children:v.jsxs("main",{children:[v.jsx(su,{}),v.jsxs("main",{children:[v.jsx("form",{method:"POST",action:"/",children:(()=>{switch(n){case"sign-up":return v.jsx(Yh,{});case"login":return v.jsx(Jh,{})}})()}),v.jsx(Dt,{to:"/",children:"Go back"})]}),v.jsx("figure",{children:v.jsx(ef,{originalImageSource:Vh,pixelatedImageSource:Wh,alternativeText:"A dog and a cat staring at each other in a cute way."})})]})})}function Yh(){const[e,t]=k.useState("");return v.jsxs(v.Fragment,{children:[v.jsx(tn,{placeholder:"Username",name:"username",type:"text",pattern:Be.username.value,title:Be.username.message}),v.jsx(tn,{placeholder:"Email",name:"email",type:"email",pattern:Be.mail.value,title:Be.mail.message}),v.jsx(tn,{placeholder:"Password",name:"password",type:"password",pattern:Be.password.value,title:Be.password.message,value:e,events:{onChange:n=>t(n.target.value)}}),v.jsx(tn,{placeholder:"Confirm Password",name:"confirm-password",type:"password",pattern:e,title:"Password should match the one set above."}),v.jsxs("div",{children:[v.jsx("input",{id:"terms-and-conditions-input-field",type:"checkbox",name:"terms-and-conditions",required:!0}),v.jsx("label",{htmlFor:"terms-and-conditions-input-field",children:"I agree with the website's terms and conditions"})]}),v.jsx("button",{children:"Sign up"}),v.jsxs("p",{children:["Already have an account?"," ",v.jsx(Dt,{to:"/Authentication?method=login",children:"Login"})]})]})}function Jh(){return v.jsxs(v.Fragment,{children:[v.jsx(tn,{placeholder:"Email",name:"email",type:"email",pattern:Be.mail.value,title:Be.mail.message}),v.jsx(tn,{placeholder:"Password",name:"password",type:"password",pattern:Be.password.value,title:Be.password.message}),v.jsx("button",{children:"Login"}),v.jsxs("p",{children:["Doesn't have an account?"," ",v.jsx(Dt,{to:"/Authentication?method=sign-up",children:"Sign up"})]})]})}function qh(){return v.jsx("main",{id:"services-page"})}function Fe(){return v.jsx("main",{id:"contact-us-page"})}function tf(){return v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 15 15",children:v.jsx("path",{d:"M3.64 2.27L7.5 6.13l3.84-3.84A.92.92 0 0 1 12 2a1 1 0 0 1 1 1a.9.9 0 0 1-.27.66L8.84 7.5l3.89 3.89A.9.9 0 0 1 13 12a1 1 0 0 1-1 1a.92.92 0 0 1-.69-.27L7.5 8.87l-3.85 3.85A.92.92 0 0 1 3 13a1 1 0 0 1-1-1a.9.9 0 0 1 .27-.66L6.16 7.5L2.27 3.61A.9.9 0 0 1 2 3a1 1 0 0 1 1-1c.24.003.47.1.64.27Z"})})}function nf(){return v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 256 256",children:v.jsx("path",{d:"M224 120v16a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8v-16a8 8 0 0 1 8-8h176a8 8 0 0 1 8 8Zm-8 56H40a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h176a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8Zm0-128H40a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h176a8 8 0 0 0 8-8V56a8 8 0 0 0-8-8Z"})})}var fi=(e=>(e.Doctor="doctor",e.Customer="customer",e.Administrator="administrator",e))(fi||{});function bh(e){return v.jsx("nav",{className:"navigation-bar","data-opened":e.isOpen,children:v.jsx("ul",{children:e.anchors.map((t,n)=>v.jsx(rf,{anchor:t},n))})})}function Ps(e){return typeof e=="string"?{name:e,subAnchors:[],role:fi.Customer,url:e.replace(/ /g,"")}:{...e,role:e.role??fi.Customer,subAnchors:e.subAnchors??[],url:(e.url??e.name).replace(/ /g,"")}}function rf(e){const t=$t(),n=Ps(e.anchor),r=e.nestingIndex??0,l=n.subAnchors.length>0,o=t.pathname.slice(1)==n.url,i=t.pathname.slice(1).startsWith(n.url),u=n.url.split("/").at(-1)=="",s=o||i&&!u,[a,h]=k.useState(l?!1:null);return v.jsxs("li",{"data-navigated-to":s,"data-is-folded":a,children:[v.jsxs(Dt,{to:`/${n.url}`,"data-nesting-index":e.nestingIndex,style:{"--nesting-index":e.nestingIndex},onClick:m=>{l&&(h(p=>!p),m.preventDefault())},children:[n.name,l&&(a?v.jsx(tf,{}):v.jsx(nf,{}))]}),l&&v.jsxs("ul",{children:[" ",n.subAnchors.map((m,p)=>{const S=Ps(m);return v.jsx(rf,{nestingIndex:r+1,anchor:{...S,url:`${n.url}/${S.url}`}},p)})," "]})]})}function em(){return v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",children:v.jsx("path",{d:"m6.76 4.84l-1.8-1.79l-1.41 1.41l1.79 1.79l1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41l-1.79 1.79l1.41 1.41l1.79-1.79zm-3.21 13.7l1.79 1.8l1.41-1.41l-1.8-1.79l-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6s-2.69-6-6-6zm-1 16.95h2V19.5h-2v2.95zm-7.45-3.91l1.41 1.41l1.79-1.8l-1.41-1.41l-1.79 1.8z"})})}function tm(){return v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",children:v.jsx("path",{d:"M12 22c5.523 0 10-4.477 10-10c0-.463-.694-.54-.933-.143a6.5 6.5 0 1 1-8.924-8.924C12.54 2.693 12.463 2 12 2C6.477 2 2 6.477 2 12s4.477 10 10 10Z"})})}const nm=[{name:"Home",url:""},"About","Services","Contact Us",{name:"Pet Dashboard",url:"Pets"},{name:"Appointment Management",url:"Appointments",subAnchors:[{name:"Appointment Booking",url:"Booking",subAnchors:["a","b",{name:"Appointment Booking",url:"Booking",subAnchors:["a","b",{name:"Appointment Booking",url:"Booking",subAnchors:["a","b",{name:"Appointment Booking",url:"Booking",subAnchors:["a","b",{name:"Appointment Booking",url:"Booking",subAnchors:["a","b","c"]},{name:"Appointment Dashboard",url:""}]},{name:"Appointment Dashboard",url:""}]},{name:"Appointment Dashboard",url:""}]},{name:"Appointment Dashboard",url:""}]},{name:"Appointment Dashboard",url:""}]},{name:"Doctor Dashboard",url:"Doctors"},{name:"Reporting & Analytics",url:"Reports"}];function rm(){const[e,t]=k.useState(!1),n=k.useContext(lf),r=$t();return k.useEffect(()=>{t(!1)},[r]),v.jsxs("header",{id:"header",children:[v.jsx(lm,{}),v.jsx(bh,{anchors:nm,isOpen:e,setIsOpen:t}),v.jsxs("div",{id:"toggling-button-displayer",className:"button-displayer",children:[v.jsx("button",{id:"theme-toggling-button",onClick:()=>n.ToggleDarkTheme(),children:n.isDarkThemed?v.jsx(em,{}):v.jsx(tm,{})}),v.jsx("button",{id:"navigation-bar-button",onClick:()=>t(l=>!l),children:e?v.jsx(tf,{}):v.jsx(nf,{})})]})]})}function lm(){return v.jsxs("figure",{id:"header-left-side",children:[v.jsx(su,{}),v.jsx("p",{children:"Wellness Vet Clinic"}),v.jsx("button",{children:v.jsx(Dt,{to:`/Authentication?method=${gl.Login}`,children:"Login"})})]})}function om(){return v.jsx("footer",{id:"main-footer",children:"Lorem ipsum dolor sit kdowak dokwo akdo wkaodkow."})}function im(){return v.jsxs(v.Fragment,{children:[v.jsx(rm,{}),v.jsx(Ch,{}),v.jsx(om,{})]})}Array.prototype.toClassName=function(){return this.filter(e=>e!=null&&e!=""&&e!=" ").join(" ")};const um="/assets/cat1-yPDRGhBW.png";function sm(){return v.jsxs("main",{id:"landing-page",children:[v.jsxs("header",{children:[v.jsx(su,{}),v.jsxs("div",{children:[v.jsx(Dt,{to:`/Authentication?method=${gl.SignUp}`,children:"Sign up"}),v.jsx(Dt,{to:`/Authentication?method=${gl.Login}`,children:"Login"})]})]}),v.jsxs("main",{children:[v.jsx("h1",{children:"Wellness Vet Clinic"}),v.jsx("p",{children:"Easiest way to have a treatment for your pets."}),v.jsx("button",{children:"Request an Appointment"})]}),v.jsx("figure",{children:v.jsx(ef,{originalImageSource:um,alternativeText:"A cat standing still."})})]})}const lf=k.createContext(null),am={"--fore-colour":"#FFFFFF","--background-colour":"#222222","--fore-darker-colour":"#999999","--background-darker-colour":"#111111"},cm={"--fore-colour":"#222222","--background-colour":"#FFFFFF","--fore-darker-colour":"#111111","--background-darker-colour":"#999999"},fm=document.querySelector(":root"),dm=document.querySelector("#root");ho.createRoot(dm??document.body).render(v.jsx(pm,{}));function pm(){const[e,t]=k.useState({isDarkThemed:!1,ToggleDarkTheme:n});k.useEffect(()=>{document.body.classList.toggle("dark-themed")},[]);function n(){e.isDarkThemed=!e.isDarkThemed,t({...e}),document.body.classList.toggle("light-themed"),document.body.classList.toggle("dark-themed");const r=e.isDarkThemed?am:cm;for(const[l,o]of Object.entries(r))fm.style.setProperty(l,o)}return v.jsx(Oh,{basename:window.location.pathname||"",children:v.jsx(lf.Provider,{value:e,children:v.jsxs(Ph,{children:[v.jsxs(ee,{path:"/",element:v.jsx(im,{}),children:[v.jsx(ee,{index:!0,element:v.jsx(Bh,{})}),v.jsx(ee,{path:"/About",element:v.jsx($h,{})}),v.jsx(ee,{path:"/Services",element:v.jsx(qh,{})}),v.jsx(ee,{path:"/ContactUs",element:v.jsx(Fe,{})}),v.jsx(ee,{path:"/Pets",element:v.jsx(Fe,{})}),v.jsxs(ee,{path:"/Appointments",element:v.jsx(Fe,{}),children:[v.jsxs(ee,{path:"/Appointments/Booking",element:v.jsx(Fe,{}),children:[v.jsx(ee,{path:"/Appointments/Booking/a",element:v.jsx(Fe,{})}),v.jsx(ee,{path:"/Appointments/Booking/b",element:v.jsx(Fe,{})}),v.jsx(ee,{path:"/Appointments/Booking/c",element:v.jsx(Fe,{})})]}),v.jsx(ee,{index:!0,element:v.jsx(Fe,{})})]}),v.jsx(ee,{path:"/Doctors",element:v.jsx(Fe,{})}),v.jsx(ee,{path:"/Reports",element:v.jsx(Fe,{})})]}),v.jsx(ee,{path:"/Landing",element:v.jsx(sm,{})}),v.jsx(ee,{path:"/Authentication",element:v.jsx(Xh,{})})]})})})} diff --git a/assets/logo-4SWe62bZ.png b/assets/logo-4SWe62bZ.png new file mode 100644 index 0000000..ad177be Binary files /dev/null and b/assets/logo-4SWe62bZ.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..af5c5d5 --- /dev/null +++ b/index.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + Wellness Vet Clinic + + + + + +
+ + + + \ No newline at end of file