PageSourceSearch

https://medspablueprint.ai/assets/waitlists-CyNnENAC.js

js medspablueprint.ai collected 2026-10-05 14:32:25 UTC 1,812 bytes, 1 lines download raw bytes

1import{n as e}from"./client-BEtK2P9H.js";import{a as t,c as n,u as r}from"./types-CarXcgOP.js";var i=[`Jamaica`,`Caribbean`,`United States`,`Canada`,`United Kingdom`,`European Union`,`Latin America`,`Africa`,`Asia`,`Australia / New Zealand`,`Other`],a=[`Acne`,`Aging`,`Pigmentation`,`Dryness`,`Sensitivity`,`Other`],o=[`Jamaica`,`Caribbean`,`US East Coast`,`US Other`,`UK`,`Canada`,`Other`],s=[`Medspa`,`Aesthetic clinic`,`Beauty spa`,`Plastic surgery`,`Wellness center`,`Other`],c=[`1`,`2-3`,`4-6`,`7+`],l=[`Instagram`,`TikTok`,`MedSpa Blueprint`,`Referral`,`Google`,`Other`],u=n({full_name:r().trim().min(1).max(120),email:r().trim().toLowerCase().email().max(255),country:t(i),skin_concern:t(a)}),d=n({business_name:r().trim().min(1).max(200),full_name:r().trim().min(1).max(120),email:r().trim().toLowerCase().email().max(255),whatsapp:r().trim().min(4).max(40),region:t(o),practice_type:t(s),treatment_rooms:t(c).nullable().optional(),referral_source:t(l).nullable().optional()}),f=i,p=a;async function m(t,n){try{let r=await e(`consultations`,{action:t,body:n});return r.ok?{ok:!0}:r.error===`already_signed_up`?{ok:!1,error:`already_signed_up`}:{ok:!1,error:`server_error`}}catch(e){return console.error(`[waitlist] ${t} failed:`,e),{ok:!1,error:`server_error`}}}function h(e){let t=u.safeParse(e.data);return t.success?m(`join_client_waitlist`,t.data):Promise.resolve({ok:!1,error:`invalid`})}function g(e){let t=d.safeParse(e.data);return t.success?m(`join_spa_waitlist`,{business_name:t.data.business_name,full_name:t.data.full_name,email:t.data.email,whatsapp:t.data.whatsapp,region:t.data.region,practice_type:t.data.practice_type,treatment_rooms:t.data.treatment_rooms??null,referral_source:t.data.referral_source??null}):Promise.resolve({ok:!1,error:`invalid`})}export{g as i,p as n,h as r,f as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.