1
0
Fork 0

fix paths

This commit is contained in:
jeff 2023-06-29 20:13:18 -07:00
parent 4c2f5cf325
commit 4bb16c582f
Signed by: jeff
GPG Key ID: 6672802D9BEE23CB
51 changed files with 237 additions and 237 deletions

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{R as m}from "./chunks/index.717f88cd.js";/* empty css */import{u as i}from "./chunks/useApi.0abc6ef7.js";import{u as l}from "./chunks/useQueryParams.5ca6a310.js";import{j as e}from "./chunks/jsx-runtime.ad781e20.js";function g(){const{postData:d,data:n,error:t}=i("/confirm-email"),a=l(),[r,o]=m.useState({name:a.name,password:""}),p= s=>{s.preventDefault(),d({emailAddress:a.email,confirmationCode:a.code,name:r.name,password:r.password})};return e.exports.jsx("div",{className:"my-12",children:e.exports.jsx("div",{children:e.exports.jsx("form",{onSubmit:p,children:e.exports.jsx("div",{children:e.exports.jsxs("div",{className:"grid grid-cols-1 gap-4 place-items-center text-slate-700",children:[e.exports.jsx("input",{type:"email",value:a.email,disabled:!0,className:"h-[42px] sm:flex-1 rounded px-2 min-w-[280px] sm:min-w-[380px] disabled:bg-gray-400 disabled:cursor-not-allowed",placeholder:"Email Address"}),e.exports.jsx("input",{type:"name",value:r.name,onChange: s=>o({...r,name:s.target.value}),className:"h-[42px] sm:flex-1 rounded px-2 min-w-[280px] sm:min-w-[380px]",placeholder:"Your Name"}),e.exports.jsx("input",{type:"password",value:r.password,onChange: s=>o({...r,password:s.target.value}),className:"h-[42px] sm:flex-1 rounded px-2 min-w-[280px] sm:min-w-[380px]",placeholder:"Password",minLength:8}),e.exports.jsx("input",{type:"submit",value:"Create Account",className:"button text-brand h-[42px] rounded border-brand border-2 !py-0 px-2"}),t&&e.exports.jsx("div",{className:"api-error p-4 bg-red-200 rounded border-red-500",children:e.exports.jsx("p",{className:"text-red-500",children:t})}),n&&e.exports.jsx("div",{className:"api-success p-4 bg-green-200 rounded border-green-500",children:e.exports.jsx("p",{className:"text-red-green",children:"You're in!"})})]})})})})})}export{g as default};
import{R as m}from"./chunks/index.717f88cd.js";/* empty css */import{u as i}from"./chunks/useApi.0abc6ef7.js";import{u as l}from"./chunks/useQueryParams.5ca6a310.js";import{j as e}from"./chunks/jsx-runtime.ad781e20.js";function g(){const{postData:d,data:n,error:t}=i("/confirm-email"),a=l(),[r,o]=m.useState({name:a.name,password:""}),p=s=>{s.preventDefault(),d({emailAddress:a.email,confirmationCode:a.code,name:r.name,password:r.password})};return e.exports.jsx("div",{className:"my-12",children:e.exports.jsx("div",{children:e.exports.jsx("form",{onSubmit:p,children:e.exports.jsx("div",{children:e.exports.jsxs("div",{className:"grid grid-cols-1 gap-4 place-items-center text-slate-700",children:[e.exports.jsx("input",{type:"email",value:a.email,disabled:!0,className:"h-[42px] sm:flex-1 rounded px-2 min-w-[280px] sm:min-w-[380px] disabled:bg-gray-400 disabled:cursor-not-allowed",placeholder:"Email Address"}),e.exports.jsx("input",{type:"name",value:r.name,onChange:s=>o({...r,name:s.target.value}),className:"h-[42px] sm:flex-1 rounded px-2 min-w-[280px] sm:min-w-[380px]",placeholder:"Your Name"}),e.exports.jsx("input",{type:"password",value:r.password,onChange:s=>o({...r,password:s.target.value}),className:"h-[42px] sm:flex-1 rounded px-2 min-w-[280px] sm:min-w-[380px]",placeholder:"Password",minLength:8}),e.exports.jsx("input",{type:"submit",value:"Create Account",className:"button text-brand h-[42px] rounded border-brand border-2 !py-0 px-2"}),t&&e.exports.jsx("div",{className:"api-error p-4 bg-red-200 rounded border-red-500",children:e.exports.jsx("p",{className:"text-red-500",children:t})}),n&&e.exports.jsx("div",{className:"api-success p-4 bg-green-200 rounded border-green-500",children:e.exports.jsx("p",{className:"text-red-green",children:"You're in!"})})]})})})})})}export{g as default};

View File

@ -1 +1 @@
import{R as m}from "./chunks/index.717f88cd.js";import{L as r}from "./chunks/Logo.cde28912.js";import{u as d}from "./chunks/useApi.0abc6ef7.js";import{j as e}from "./chunks/jsx-runtime.ad781e20.js";function w(){const{postData:o,data:l,error:p}=d("/forgot-password"),[s,a]=m.useState({emailAddress:""}),x="w-full px-4 py-4 border-[1px] border-brand-100",n=s.emailAddress?"bg-brand text-white cursor-pointer":"bg-gray-300 text-gray-600",i= t=>{t.preventDefault(),o({emailAddress:s.emailAddress})};return l?e.exports.jsx(c,{}):e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(r,{className:"scale-125",color:"black"})}),e.exports.jsxs("div",{className:"flex flex-col mb-8 items-center w-2/3 text-center",children:[e.exports.jsx("h1",{className:"text-stone-700 text-2xl mb-4",children:"Forgot your password?"}),e.exports.jsx("span",{className:"text-stone-500 text-sm",children:"No worries, enter your email and we'll send you a link to reset your password."})]}),e.exports.jsxs("form",{onSubmit:i,children:[e.exports.jsx("input",{type:"email",value:s.emailAddress,onChange: t=>a({...s,emailAddress:t.target.value}),placeholder:"Email",className:`${x} rounded`}),e.exports.jsx("input",{type:"submit",value:"Submit",className:`w-full mt-8 rounded ${n} font-bold h-[52px]`})]})]})})}function c(){return e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(r,{className:"scale-125",color:"black"})}),e.exports.jsxs("div",{className:"flex flex-col mb-8 items-center w-2/3 text-center",children:[e.exports.jsx("h1",{className:"text-stone-700 text-2xl mb-4",children:"Email Sent!"}),e.exports.jsx("span",{className:"text-stone-500 text-sm",children:"Check your email for a link to reset your password."})]})]})})}export{w as default};
import{R as m}from"./chunks/index.717f88cd.js";import{L as r}from"./chunks/Logo.cde28912.js";import{u as d}from"./chunks/useApi.0abc6ef7.js";import{j as e}from"./chunks/jsx-runtime.ad781e20.js";function w(){const{postData:o,data:l,error:p}=d("/forgot-password"),[s,a]=m.useState({emailAddress:""}),x="w-full px-4 py-4 border-[1px] border-brand-100",n=s.emailAddress?"bg-brand text-white cursor-pointer":"bg-gray-300 text-gray-600",i=t=>{t.preventDefault(),o({emailAddress:s.emailAddress})};return l?e.exports.jsx(c,{}):e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(r,{className:"scale-125",color:"black"})}),e.exports.jsxs("div",{className:"flex flex-col mb-8 items-center w-2/3 text-center",children:[e.exports.jsx("h1",{className:"text-stone-700 text-2xl mb-4",children:"Forgot your password?"}),e.exports.jsx("span",{className:"text-stone-500 text-sm",children:"No worries, enter your email and we'll send you a link to reset your password."})]}),e.exports.jsxs("form",{onSubmit:i,children:[e.exports.jsx("input",{type:"email",value:s.emailAddress,onChange:t=>a({...s,emailAddress:t.target.value}),placeholder:"Email",className:`${x} rounded`}),e.exports.jsx("input",{type:"submit",value:"Submit",className:`w-full mt-8 rounded ${n} font-bold h-[52px]`})]})]})})}function c(){return e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(r,{className:"scale-125",color:"black"})}),e.exports.jsxs("div",{className:"flex flex-col mb-8 items-center w-2/3 text-center",children:[e.exports.jsx("h1",{className:"text-stone-700 text-2xl mb-4",children:"Email Sent!"}),e.exports.jsx("span",{className:"text-stone-500 text-sm",children:"Check your email for a link to reset your password."})]})]})})}export{w as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{R as l}from "./chunks/index.717f88cd.js";/* empty css */import{u as n}from "./chunks/useApi.0abc6ef7.js";import{j as e}from "./chunks/jsx-runtime.ad781e20.js";function u(){const{postData:a,data:o,error:t}=n("/signup"),[s,d]=l.useState({email:""}),i= r=>{r.preventDefault(),a({emailAddress:s.email})};return e.exports.jsx("div",{className:"my-12",children:e.exports.jsx("div",{children:e.exports.jsxs("form",{onSubmit:i,children:[e.exports.jsxs("h2",{className:"my-1 text-lg text-white text-center",children:["To get started, simply enter your email address. ",e.exports.jsx("br",{}),"We'll send you an email to set a password and activate your account."]}),e.exports.jsx("div",{children:e.exports.jsxs("div",{className:"grid grid-cols-1 gap-4 place-items-center text-slate-700",children:[e.exports.jsxs("div",{className:"flex sm:flex-row flex-col gap-4",children:[e.exports.jsx("input",{type:"email",value:s.email,onChange: r=>d({...s,email:r.target.value}),className:"h-[42px] sm:flex-1 rounded px-2 sm:min-w-[380px]",placeholder:"Email Address"}),e.exports.jsx("input",{type:"submit",value:"Join the Network",className:"button text-brand h-[42px] rounded border-brand border-2 !py-0 px-2"})]}),t&&e.exports.jsx("div",{className:"api-error p-4 bg-red-200 rounded border-red-500",children:e.exports.jsx("p",{className:"text-red-500",children:t})}),o&&e.exports.jsx("div",{className:"api-success p-4 bg-green-200 rounded border-green-500",children:e.exports.jsx("p",{className:"text-red-green",children:"Check your email!"})})]})})]})})})}export{u as default};
import{R as l}from"./chunks/index.717f88cd.js";/* empty css */import{u as n}from"./chunks/useApi.0abc6ef7.js";import{j as e}from"./chunks/jsx-runtime.ad781e20.js";function u(){const{postData:a,data:o,error:t}=n("/signup"),[s,d]=l.useState({email:""}),i=r=>{r.preventDefault(),a({emailAddress:s.email})};return e.exports.jsx("div",{className:"my-12",children:e.exports.jsx("div",{children:e.exports.jsxs("form",{onSubmit:i,children:[e.exports.jsxs("h2",{className:"my-1 text-lg text-white text-center",children:["To get started, simply enter your email address. ",e.exports.jsx("br",{}),"We'll send you an email to set a password and activate your account."]}),e.exports.jsx("div",{children:e.exports.jsxs("div",{className:"grid grid-cols-1 gap-4 place-items-center text-slate-700",children:[e.exports.jsxs("div",{className:"flex sm:flex-row flex-col gap-4",children:[e.exports.jsx("input",{type:"email",value:s.email,onChange:r=>d({...s,email:r.target.value}),className:"h-[42px] sm:flex-1 rounded px-2 sm:min-w-[380px]",placeholder:"Email Address"}),e.exports.jsx("input",{type:"submit",value:"Join the Network",className:"button text-brand h-[42px] rounded border-brand border-2 !py-0 px-2"})]}),t&&e.exports.jsx("div",{className:"api-error p-4 bg-red-200 rounded border-red-500",children:e.exports.jsx("p",{className:"text-red-500",children:t})}),o&&e.exports.jsx("div",{className:"api-success p-4 bg-green-200 rounded border-green-500",children:e.exports.jsx("p",{className:"text-red-green",children:"Check your email!"})})]})})]})})})}export{u as default};

View File

@ -1 +1 @@
import{R as a}from "./chunks/index.717f88cd.js";import{L as m}from "./chunks/Logo.cde28912.js";import{u as p}from "./chunks/useApi.0abc6ef7.js";import{j as e}from "./chunks/jsx-runtime.ad781e20.js";function g(){const{postData:l,data:d,error:u}=p("/login"),[s,o]=a.useState({emailAddress:"",password:""}),t="w-full px-4 py-4 border-[1px] border-brand-100",i=s.emailAddress&&s.password?"bg-brand text-white":"bg-gray-300 text-gray-600",n= r=>{r.preventDefault(),l({emailAddress:s.emailAddress,password:s.password})};return a.useEffect(()=>{d&&(window.location="/dashboard")}),e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(m,{className:"scale-125",color:"black"})}),e.exports.jsxs("form",{onSubmit:n,children:[e.exports.jsx("input",{type:"email",value:s.emailAddress,onChange: r=>o({...s,emailAddress:r.target.value}),placeholder:"Email",className:`${t} rounded-t`}),e.exports.jsx("input",{type:"password",value:s.password,onChange: r=>o({...s,password:r.target.value}),placeholder:"Password",className:`${t} rounded-b border-t-0`}),e.exports.jsx("div",{className:"flex mt-4 justify-end w-full",children:e.exports.jsx("a",{href:"/forgot-password",className:"text-brand",children:"Forgot your password?"})}),e.exports.jsx("input",{type:"submit",value:"Login",className:`w-full mt-8 rounded ${i} font-bold h-[52px]`})]})]})})}export{g as default};
import{R as a}from"./chunks/index.717f88cd.js";import{L as m}from"./chunks/Logo.cde28912.js";import{u as p}from"./chunks/useApi.0abc6ef7.js";import{j as e}from"./chunks/jsx-runtime.ad781e20.js";function g(){const{postData:l,data:d,error:u}=p("/login"),[s,o]=a.useState({emailAddress:"",password:""}),t="w-full px-4 py-4 border-[1px] border-brand-100",i=s.emailAddress&&s.password?"bg-brand text-white":"bg-gray-300 text-gray-600",n=r=>{r.preventDefault(),l({emailAddress:s.emailAddress,password:s.password})};return a.useEffect(()=>{d&&(window.location="/dashboard")}),e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(m,{className:"scale-125",color:"black"})}),e.exports.jsxs("form",{onSubmit:n,children:[e.exports.jsx("input",{type:"email",value:s.emailAddress,onChange:r=>o({...s,emailAddress:r.target.value}),placeholder:"Email",className:`${t} rounded-t`}),e.exports.jsx("input",{type:"password",value:s.password,onChange:r=>o({...s,password:r.target.value}),placeholder:"Password",className:`${t} rounded-b border-t-0`}),e.exports.jsx("div",{className:"flex mt-4 justify-end w-full",children:e.exports.jsx("a",{href:"/forgot-password",className:"text-brand",children:"Forgot your password?"})}),e.exports.jsx("input",{type:"submit",value:"Login",className:`w-full mt-8 rounded ${i} font-bold h-[52px]`})]})]})})}export{g as default};

View File

@ -1 +1 @@
import{R as d}from "./chunks/index.717f88cd.js";/* empty css */import{u as l}from "./chunks/useApi.0abc6ef7.js";import{j as e}from "./chunks/jsx-runtime.ad781e20.js";function c(){const{postData:a,data:i,error:m}=l("/mailing-list/signup"),[s,t]=d.useState({emailAddress:"",name:""}),n= r=>{r.preventDefault(),a({emailAddress:s.emailAddress,name:s.name})};return e.exports.jsx("div",{children:e.exports.jsx("div",{className:"text-slate-300",children:e.exports.jsx("form",{onSubmit:n,children:e.exports.jsxs("div",{children:[e.exports.jsx("h2",{className:"my-1 text-lg text-white",children:"Join the Mailing List"}),e.exports.jsxs("div",{className:"grid gap-2 sm:flex",children:[e.exports.jsx("div",{children:e.exports.jsx("div",{className:"sm:align-center grid gap-2 sm:flex sm:h-[42px]",children:e.exports.jsx("input",{type:"text",value:s.name,onChange: r=>t({...s,name:r.target.value}),className:"required name h-[42px] flex-1 rounded px-2",required:!0,placeholder:"Name"})})}),e.exports.jsx("div",{className:"mc-field-group",children:e.exports.jsx("div",{className:"sm:align-center grid gap-2 sm:flex sm:h-[42px]",children:e.exports.jsx("input",{type:"email",value:s.emailAddress,onChange: r=>t({...s,emailAddress:r.target.value}),className:"required email h-[42px] flex-1 rounded px-2",required:!0,placeholder:"Email Address"})})}),e.exports.jsx("input",{type:"submit",defaultValue:"Subscribe",name:"subscribe",className:"button text-brand h-[42px] rounded border-brand border-2 !py-0 px-2 sm:ml-2"})]}),i&&e.exports.jsx("div",{className:"p-2 my-2 text-green bg-green-200 rounded border-green-500",children:e.exports.jsx("p",{className:"text-green-700",children:"You're in! Look for a confirmation email in your inbox."})})]})})})})}export{c as default};
import{R as d}from"./chunks/index.717f88cd.js";/* empty css */import{u as l}from"./chunks/useApi.0abc6ef7.js";import{j as e}from"./chunks/jsx-runtime.ad781e20.js";function c(){const{postData:a,data:i,error:m}=l("/mailing-list/signup"),[s,t]=d.useState({emailAddress:"",name:""}),n=r=>{r.preventDefault(),a({emailAddress:s.emailAddress,name:s.name})};return e.exports.jsx("div",{children:e.exports.jsx("div",{className:"text-slate-300",children:e.exports.jsx("form",{onSubmit:n,children:e.exports.jsxs("div",{children:[e.exports.jsx("h2",{className:"my-1 text-lg text-white",children:"Join the Mailing List"}),e.exports.jsxs("div",{className:"grid gap-2 sm:flex",children:[e.exports.jsx("div",{children:e.exports.jsx("div",{className:"sm:align-center grid gap-2 sm:flex sm:h-[42px]",children:e.exports.jsx("input",{type:"text",value:s.name,onChange:r=>t({...s,name:r.target.value}),className:"required name h-[42px] flex-1 rounded px-2",required:!0,placeholder:"Name"})})}),e.exports.jsx("div",{className:"mc-field-group",children:e.exports.jsx("div",{className:"sm:align-center grid gap-2 sm:flex sm:h-[42px]",children:e.exports.jsx("input",{type:"email",value:s.emailAddress,onChange:r=>t({...s,emailAddress:r.target.value}),className:"required email h-[42px] flex-1 rounded px-2",required:!0,placeholder:"Email Address"})})}),e.exports.jsx("input",{type:"submit",defaultValue:"Subscribe",name:"subscribe",className:"button text-brand h-[42px] rounded border-brand border-2 !py-0 px-2 sm:ml-2"})]}),i&&e.exports.jsx("div",{className:"p-2 my-2 text-green bg-green-200 rounded border-green-500",children:e.exports.jsx("p",{className:"text-green-700",children:"You're in! Look for a confirmation email in your inbox."})})]})})})})}export{c as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{R as w}from "./chunks/index.717f88cd.js";import{L as c}from "./chunks/Logo.cde28912.js";import{u}from "./chunks/useApi.0abc6ef7.js";import{u as f}from "./chunks/useQueryParams.5ca6a310.js";import{j as e}from "./chunks/jsx-runtime.ad781e20.js";function y(){const{postData:x,data:d,error:j}=u("/password-reset"),r=f(),[s,a]=w.useState({newPassword:"",confirmNewPassword:""}),o=[{text:"At least 8 characters",isMet:s.newPassword.length>=8},{text:"At least 1 lowercase letter",isMet:s.newPassword.match(/[a-z]/g)},{text:"At least 1 uppercase letter",isMet:s.newPassword.match(/[A-Z]/g)},{text:"At least 1 number",isMet:s.newPassword.match(/[0-9]/g)},{text:"At least 1 special character",isMet:s.newPassword.match(/[^a-zA-Z\d]/g)},{text:"Passwords match",isMet:s.newPassword===s.confirmNewPassword}],l="w-full px-4 py-4 border-[1px] border-brand-100",n=o.reduce((t, p)=>t&&p.isMet,!0),i=n?"bg-brand text-white cursor-pointer":"bg-gray-300 text-gray-600",m= t=>{t.preventDefault(),n&&x({newPassword:s.newPassword,confirmationCode:r.code,emailAddress:r.email})};return d?e.exports.jsx(h,{}):e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"relative flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(c,{className:"scale-125",color:"black"})}),e.exports.jsx("h1",{className:"text-stone-700 text-center text-2xl mb-4",children:"Reset your password"}),e.exports.jsxs("div",{className:"flex flex-col w-full justify-start mb-4 ml-2",children:[e.exports.jsx("span",{className:"text-stone-500 text-sm mb-2",children:"Password requirements:"}),e.exports.jsx("ul",{className:"text-stone-500 text-sm list-disc ml-4",children:o.map(t=>e.exports.jsx("li",{className:t.isMet?"text-green-500":"text-red-500",children:t.text}))})]}),e.exports.jsxs("form",{onSubmit:m,children:[e.exports.jsx("input",{type:"password",value:s.newPassword,onChange: t=>a({...s,newPassword:t.target.value}),placeholder:"New password",className:`${l} rounded-t`}),e.exports.jsx("input",{type:"password",value:s.confirmNewPassword,onChange: t=>a({...s,confirmNewPassword:t.target.value}),placeholder:"Confirm new password",className:`${l} border-t-0 rounded-b`}),e.exports.jsx("input",{type:"submit",value:"Reset password",className:`w-full mt-8 rounded ${i} font-bold h-[52px]`})]})]})})}function h(){return e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(c,{className:"scale-125",color:"black"})}),e.exports.jsxs("div",{className:"flex flex-col mb-8 items-center w-2/3 text-center",children:[e.exports.jsx("h1",{className:"text-stone-700 text-2xl mb-4",children:"Password successfully reset!"}),e.exports.jsx("span",{className:"text-stone-500 text-sm",children:"You can now log in with your new password."}),e.exports.jsx("a",{href:"/login",className:"text-brand-500",children:"Log in"})]})]})})}export{y as default};
import{R as w}from"./chunks/index.717f88cd.js";import{L as c}from"./chunks/Logo.cde28912.js";import{u}from"./chunks/useApi.0abc6ef7.js";import{u as f}from"./chunks/useQueryParams.5ca6a310.js";import{j as e}from"./chunks/jsx-runtime.ad781e20.js";function y(){const{postData:x,data:d,error:j}=u("/password-reset"),r=f(),[s,a]=w.useState({newPassword:"",confirmNewPassword:""}),o=[{text:"At least 8 characters",isMet:s.newPassword.length>=8},{text:"At least 1 lowercase letter",isMet:s.newPassword.match(/[a-z]/g)},{text:"At least 1 uppercase letter",isMet:s.newPassword.match(/[A-Z]/g)},{text:"At least 1 number",isMet:s.newPassword.match(/[0-9]/g)},{text:"At least 1 special character",isMet:s.newPassword.match(/[^a-zA-Z\d]/g)},{text:"Passwords match",isMet:s.newPassword===s.confirmNewPassword}],l="w-full px-4 py-4 border-[1px] border-brand-100",n=o.reduce((t,p)=>t&&p.isMet,!0),i=n?"bg-brand text-white cursor-pointer":"bg-gray-300 text-gray-600",m=t=>{t.preventDefault(),n&&x({newPassword:s.newPassword,confirmationCode:r.code,emailAddress:r.email})};return d?e.exports.jsx(h,{}):e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"relative flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(c,{className:"scale-125",color:"black"})}),e.exports.jsx("h1",{className:"text-stone-700 text-center text-2xl mb-4",children:"Reset your password"}),e.exports.jsxs("div",{className:"flex flex-col w-full justify-start mb-4 ml-2",children:[e.exports.jsx("span",{className:"text-stone-500 text-sm mb-2",children:"Password requirements:"}),e.exports.jsx("ul",{className:"text-stone-500 text-sm list-disc ml-4",children:o.map(t=>e.exports.jsx("li",{className:t.isMet?"text-green-500":"text-red-500",children:t.text}))})]}),e.exports.jsxs("form",{onSubmit:m,children:[e.exports.jsx("input",{type:"password",value:s.newPassword,onChange:t=>a({...s,newPassword:t.target.value}),placeholder:"New password",className:`${l} rounded-t`}),e.exports.jsx("input",{type:"password",value:s.confirmNewPassword,onChange:t=>a({...s,confirmNewPassword:t.target.value}),placeholder:"Confirm new password",className:`${l} border-t-0 rounded-b`}),e.exports.jsx("input",{type:"submit",value:"Reset password",className:`w-full mt-8 rounded ${i} font-bold h-[52px]`})]})]})})}function h(){return e.exports.jsx("div",{className:"w-full flex justify-center",children:e.exports.jsxs("div",{className:"flex flex-col items-center p-4 w-[500px] rounded rounded-xl bg-white",children:[e.exports.jsx("div",{className:"mb-12 mt-8",children:e.exports.jsx(c,{className:"scale-125",color:"black"})}),e.exports.jsxs("div",{className:"flex flex-col mb-8 items-center w-2/3 text-center",children:[e.exports.jsx("h1",{className:"text-stone-700 text-2xl mb-4",children:"Password successfully reset!"}),e.exports.jsx("span",{className:"text-stone-500 text-sm",children:"You can now log in with your new password."}),e.exports.jsx("a",{href:"/login",className:"text-brand-500",children:"Log in"})]})]})})}export{y as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{r as e}from "./chunks/index.717f88cd.js";import{i as f}from "./chunks/screenUtils.2167f488.js";import{j as l}from "./chunks/jsx-runtime.ad781e20.js";function x(){const[n,r]=e.exports.useState([0,0]);return e.exports.useLayoutEffect(()=>{const t=()=>{r([window.innerWidth,window.innerHeight])};return window.addEventListener("resize",t),t(),()=>window.removeEventListener("resize",t)},[]),n}const v=({data:n})=>{const[r,t]=e.exports.useState(!1),s=e.exports.createRef(),[u]=x(),p="whitespace-pre-wrap",o="line-clamp-4",c="line-clamp-none",[i,d]=e.exports.useState(o);e.exports.useEffect(()=>{if(!s.current)return;const a=f(s.current);a!==r&&t(a)},[s.current,u]);function w(){d(i===o?c:o)}return l.exports.jsxs("div",{children:[l.exports.jsx("p",{className:`${p} ${i}`,ref:s,children:n}),r?l.exports.jsx("button",{className:"text-brand-600 dark:text-brand-600 hover:text-brand-600 mt-2",onClick:w,children:i===c?"Show Less":"Show More"}):null]})};export{v as ProviderBlurb};
import{r as e}from"./chunks/index.717f88cd.js";import{i as f}from"./chunks/screenUtils.2167f488.js";import{j as l}from"./chunks/jsx-runtime.ad781e20.js";function x(){const[n,r]=e.exports.useState([0,0]);return e.exports.useLayoutEffect(()=>{const t=()=>{r([window.innerWidth,window.innerHeight])};return window.addEventListener("resize",t),t(),()=>window.removeEventListener("resize",t)},[]),n}const v=({data:n})=>{const[r,t]=e.exports.useState(!1),s=e.exports.createRef(),[u]=x(),p="whitespace-pre-wrap",o="line-clamp-4",c="line-clamp-none",[i,d]=e.exports.useState(o);e.exports.useEffect(()=>{if(!s.current)return;const a=f(s.current);a!==r&&t(a)},[s.current,u]);function w(){d(i===o?c:o)}return l.exports.jsxs("div",{children:[l.exports.jsx("p",{className:`${p} ${i}`,ref:s,children:n}),r?l.exports.jsx("button",{className:"text-brand-600 dark:text-brand-600 hover:text-brand-600 mt-2",onClick:w,children:i===c?"Show Less":"Show More"}):null]})};export{v as ProviderBlurb};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{r as i,R as u}from "./index.717f88cd.js";const j=i.exports.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var E=Object.defineProperty,a=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,g=(e, o, r)=>o in e?E(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r,m=(e, o)=>{for(var r in o||(o={}))w.call(o,r)&&g(e,r,o[r]);if(a)for(var r of a(o))v.call(o,r)&&g(e,r,o[r]);return e},p=(e, o)=>{var r={};for(var l in e)w.call(e,l)&&o.indexOf(l)<0&&(r[l]=e[l]);if(e!=null&&a)for(var l of a(e))o.indexOf(l)<0&&v.call(e,l)&&(r[l]=e[l]);return r};const P=i.exports.forwardRef((e, o)=>{const r=e,{alt:l,color:n,size:t,weight:c,mirrored:d,children:h,weights:x}=r,b=p(r,["alt","color","size","weight","mirrored","children","weights"]),s=i.exports.useContext(j),{color:y="currentColor",size:f,weight:O="regular",mirrored:z=!1}=s,C=p(s,["color","size","weight","mirrored"]);return u.createElement("svg",m(m({ref:o,xmlns:"http://www.w3.org/2000/svg",width:t??f,height:t??f,fill:n??y,viewBox:"0 0 256 256",transform:d||z?"scale(-1, 1)":void 0},C),b),!!l&&u.createElement("title",null,l),h,x.get(c??O))});P.displayName="IconBase";export{P};
import{r as i,R as u}from"./index.717f88cd.js";const j=i.exports.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var E=Object.defineProperty,a=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,g=(e,o,r)=>o in e?E(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r,m=(e,o)=>{for(var r in o||(o={}))w.call(o,r)&&g(e,r,o[r]);if(a)for(var r of a(o))v.call(o,r)&&g(e,r,o[r]);return e},p=(e,o)=>{var r={};for(var l in e)w.call(e,l)&&o.indexOf(l)<0&&(r[l]=e[l]);if(e!=null&&a)for(var l of a(e))o.indexOf(l)<0&&v.call(e,l)&&(r[l]=e[l]);return r};const P=i.exports.forwardRef((e,o)=>{const r=e,{alt:l,color:n,size:t,weight:c,mirrored:d,children:h,weights:x}=r,b=p(r,["alt","color","size","weight","mirrored","children","weights"]),s=i.exports.useContext(j),{color:y="currentColor",size:f,weight:O="regular",mirrored:z=!1}=s,C=p(s,["color","size","weight","mirrored"]);return u.createElement("svg",m(m({ref:o,xmlns:"http://www.w3.org/2000/svg",width:t??f,height:t??f,fill:n??y,viewBox:"0 0 256 256",transform:d||z?"scale(-1, 1)":void 0},C),b),!!l&&u.createElement("title",null,l),h,x.get(c??O))});P.displayName="IconBase";export{P};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{r as Na,g as za}from "./index.717f88cd.js";var Co={exports:{}},ve={},xo={exports:{}},_o={};/**
import{r as Na,g as za}from"./index.717f88cd.js";var Co={exports:{}},ve={},xo={exports:{}},_o={};/**
* @license React
* scheduler.production.min.js
*

View File

@ -1,4 +1,4 @@
import{r as i}from "./index.717f88cd.js";var l={exports:{}},n={};/**
import{r as i}from"./index.717f88cd.js";var l={exports:{}},n={};/**
* @license React
* react-jsx-runtime.production.min.js
*

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{r as o}from "./index.717f88cd.js";const d="https://api.northid.health",f={credentials:"include"},S= c=>{const[l,u]=o.exports.useState(null),[i,n]=o.exports.useState(!1),[p,s]=o.exports.useState(null),a=async e=>{s(null),n(!0);try{const t=await fetch(`${d}${c}`,{...f,...e}),r=await t.json();t.ok?u(r):s(r.ErrMsg)}catch(t){s(t)}finally{n(!1)}};return{data:l,isLoading:i,error:p,fetchData:()=>a(),postData: e=>a({method:"POST",body:JSON.stringify(e)}),uploadFile: e=>{const t=new FormData;return t.append("upload",e),a({method:"POST",body:t})}}};export{S as u};
import{r as o}from"./index.717f88cd.js";const d="https://api.northid.health",f={credentials:"include"},S=c=>{const[l,u]=o.exports.useState(null),[i,n]=o.exports.useState(!1),[p,s]=o.exports.useState(null),a=async e=>{s(null),n(!0);try{const t=await fetch(`${d}${c}`,{...f,...e}),r=await t.json();t.ok?u(r):s(r.ErrMsg)}catch(t){s(t)}finally{n(!1)}};return{data:l,isLoading:i,error:p,fetchData:()=>a(),postData:e=>a({method:"POST",body:JSON.stringify(e)}),uploadFile:e=>{const t=new FormData;return t.append("upload",e),a({method:"POST",body:t})}}};export{S as u};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{r as e}from "./chunks/index.717f88cd.js";import{r as y}from "./chunks/index.6b5758ce.js";var l,f,u=y.exports;f=u.createRoot,l=u.hydrateRoot;const a=({value:t,name:r})=>t?e.exports.createElement("astro-slot",{name:r,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}}):null;a.shouldComponentUpdate=()=>!1;function x(t){for(const r in t)if(r.startsWith("__reactContainer"))return r}const v= t=>(r, n, {default:o,...p}, {client:d})=>{if(!t.hasAttribute("ssr"))return;for(const[c,m]of Object.entries(p))n[c]=e.exports.createElement(a,{value:m,name:c});const s=e.exports.createElement(r,n,o!=null?e.exports.createElement(a,{value:o}):o),i=x(t);return i&&delete t[i],d==="only"?e.exports.startTransition(()=>{f(t).render(s)}):e.exports.startTransition(()=>{l(t,s)})};export{v as default};
import{r as e}from"./chunks/index.717f88cd.js";import{r as y}from"./chunks/index.6b5758ce.js";var l,f,u=y.exports;f=u.createRoot,l=u.hydrateRoot;const a=({value:t,name:r})=>t?e.exports.createElement("astro-slot",{name:r,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}}):null;a.shouldComponentUpdate=()=>!1;function x(t){for(const r in t)if(r.startsWith("__reactContainer"))return r}const v=t=>(r,n,{default:o,...p},{client:d})=>{if(!t.hasAttribute("ssr"))return;for(const[c,m]of Object.entries(p))n[c]=e.exports.createElement(a,{value:m,name:c});const s=e.exports.createElement(r,n,o!=null?e.exports.createElement(a,{value:o}):o),i=x(t);return i&&delete t[i],d==="only"?e.exports.startTransition(()=>{f(t).render(s)}):e.exports.startTransition(()=>{l(t,s)})};export{v as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{c as Ve,a as Oe,u as b,s as V,b as x,P as Pe,L as B,d as ze,l as Te,M,e as q,f as We,m as ke,g as Fe,h as le,i as R,j as He,k as fe,n as O,o as De,p as Be,q as Ue,r as Ge,t as je,H as Ne,v as $e,w as Xe,x as Ye,y as U,z as _e,A as K,B as qe,C as J,D as Ke,E as Je,F as Qe,G as de,I as Ze,J as et,K as pe,N as z,O as Q,Q as tt,R as Z,S as nt,T as rt,V as st,U as ot,W as it,X as at,Y as ct}from "./chunks/motion.3f509337.js";import{at as er,as as tr,L as nr,M as rr,af as sr,x as or,P as ir,ag as ar,V as cr,ax as ur,ay as lr,a5 as fr,$ as dr,G as pr,p as mr,ah as hr,ai as xr,aj as gr,ak as yr,a6 as Er,au as vr,X as wr,al as Cr,am as Sr,an as Ir,a7 as Mr,U as br,Z as Lr,a4 as Rr,ar as Ar,a8 as Vr,a9 as Or,aa as Pr,ao as zr,ap as Tr,aq as Wr,av as kr,ac as Fr,az as Hr,aw as Dr,n as Br,a0 as Ur,T as Gr,m as jr,h as Nr,i as $r,ad as Xr,ab as Yr,_ as _r,ae as qr,s as Kr,a3 as Jr,a1 as Qr,u as Zr,a2 as es,d as ts,Y as ns}from "./chunks/motion.3f509337.js";import{r as a}from "./chunks/index.717f88cd.js";const bn=Ve(Oe);function me(){const e=a.exports.useRef(!1);return b(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function $(){const e=me(),[t,n]=a.exports.useState(0),r=a.exports.useCallback(()=>{e.current&&n(t+1)},[t]);return[a.exports.useCallback(()=>V.postRender(r),[r]),t]}class ut extends a.exports.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function lt({children:e,isPresent:t}){const n=a.exports.useId(),r=a.exports.useRef(null),s=a.exports.useRef({width:0,height:0,top:0,left:0});return a.exports.useInsertionEffect(()=>{const{width:o,height:i,top:c,left:f}=s.current;if(t||!r.current||!o||!i)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
import{c as Ve,a as Oe,u as b,s as V,b as x,P as Pe,L as B,d as ze,l as Te,M,e as q,f as We,m as ke,g as Fe,h as le,i as R,j as He,k as fe,n as O,o as De,p as Be,q as Ue,r as Ge,t as je,H as Ne,v as $e,w as Xe,x as Ye,y as U,z as _e,A as K,B as qe,C as J,D as Ke,E as Je,F as Qe,G as de,I as Ze,J as et,K as pe,N as z,O as Q,Q as tt,R as Z,S as nt,T as rt,V as st,U as ot,W as it,X as at,Y as ct}from"./chunks/motion.3f509337.js";import{at as er,as as tr,L as nr,M as rr,af as sr,x as or,P as ir,ag as ar,V as cr,ax as ur,ay as lr,a5 as fr,$ as dr,G as pr,p as mr,ah as hr,ai as xr,aj as gr,ak as yr,a6 as Er,au as vr,X as wr,al as Cr,am as Sr,an as Ir,a7 as Mr,U as br,Z as Lr,a4 as Rr,ar as Ar,a8 as Vr,a9 as Or,aa as Pr,ao as zr,ap as Tr,aq as Wr,av as kr,ac as Fr,az as Hr,aw as Dr,n as Br,a0 as Ur,T as Gr,m as jr,h as Nr,i as $r,ad as Xr,ab as Yr,_ as _r,ae as qr,s as Kr,a3 as Jr,a1 as Qr,u as Zr,a2 as es,d as ts,Y as ns}from"./chunks/motion.3f509337.js";import{r as a}from"./chunks/index.717f88cd.js";const bn=Ve(Oe);function me(){const e=a.exports.useRef(!1);return b(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function $(){const e=me(),[t,n]=a.exports.useState(0),r=a.exports.useCallback(()=>{e.current&&n(t+1)},[t]);return[a.exports.useCallback(()=>V.postRender(r),[r]),t]}class ut extends a.exports.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function lt({children:e,isPresent:t}){const n=a.exports.useId(),r=a.exports.useRef(null),s=a.exports.useRef({width:0,height:0,top:0,left:0});return a.exports.useInsertionEffect(()=>{const{width:o,height:i,top:c,left:f}=s.current;if(t||!r.current||!o||!i)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
[data-motion-pop-id="${n}"] {
position: absolute !important;
width: ${o}px !important;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long