{"version":3,"file":"ClnlySiteHeader.Dc5OdESS.mjs","names":["useState","useRef","useCallback","__esmMin","init_npm_react_18_3_1","ne","init_ssg_sandbox_shims","window","_e","Ha","p","c","init_jsx_runtime","ce","de","init_framer_Bf4_tcb2","ControlType","addPropertyControls","RenderTarget","init_ClnlySiteNav","useSiteNav","at","d","dayOffset","hour","minute","booking","ID","n","TZ","day","hours","SAMPLE_ADDR","cents","svc","assignment","b","PID","status","sampleData","B","SERVICES","A","now","offer","expireSec","km","earning","BIZ","createdDay","MARKET","wd","s","i","init_ProPreviewFixtures","closedChain","proxy","key","RESULT","ok","fail","fn","CLOSED","noSession","closedAuthCall","authStub","OFFLINE_CLIENT","g","supabase","init_Supabase","t","auth","subscribe","callback","event","C","GS_FILES","fonts","F2_CSS","init_F2Kit","w","f","linksFor","CLEANERS_SOON","helpLink","menuGroups","DEF_BOOK","anchorId","h","href","id","scrollToId","el","reduce","top","ANCHOR_OFFSET","scrollWhenReady","tries","tick","useFollow","go","before","e","useCanUseDom","setOk","SiteHeaderView","tone","props","bookHref","session","open","setOpen","mounted","setMounted","scrolled","setScrolled","sheet","setSheet","geo","setGeo","path","setPath","barRef","btnRef","panelRef","bandRef","pbookRef","onScroll","measure","bar","btn","SHEET_MAX","close","focusBack","toggle","fit","band","ro","isSheet","html","body","prev","y","panelScrolls","inPanel","stopWheel","SCROLL_KEYS","stopKeys","onKey","j","onResize","follow","skip","target","links","groups","panel","BAND_CSS","MENU_CSS","Arrow","k","it","vars","FONT_HREF","CSS","l","DEF_HELP","ClnlyProSectionBar","ctxOpen","setCtxOpen","ctxBtnRef","onDown","applyHref","PRO_LINKS","ClnlySiteHeader","live","view","IS","INK","EASE","EASE_POP","init_ClnlySiteHeader","init_npm_react_dom_18_3_1"],"sources":["https:/framerusercontent.com/modules/u0YPMBEvGKWgWlQfEryz/oHojLDSVIFSw6C1SFjm4/ProPreviewFixtures.js","https:/framerusercontent.com/modules/sPb0dRkE1C65xamb5oKY/bwjJkGgkRWGtpnH9k9DB/Supabase.js","https:/framerusercontent.com/modules/6a6qkl1oQuf0tAgMqUIO/zNiqHqBf4lq1uYMm69Jq/F2Kit.js","https:/framerusercontent.com/modules/IHcSZ43CUnMrYNWxaSMh/uysg8dtWP4od43T9k9Vg/ClnlySiteHeader.js"],"sourcesContent":["// ─────────────────────────────────────────────────────────────\n// Clnly Pro — EDITOR-ONLY preview fixtures\n//\n// Lets us review the approved-cleaner dashboard before any real cleaner\n// exists, without touching Supabase data:\n//   • Active only inside Framer's editor preview (framercanvas.com /\n//     framer.com) AND only after \"Preview as approved cleaner\" is pressed on\n//     /pro. On the published site previewScenario() is always null.\n//   • Only reads of cleaner tables are answered from the invented rows below.\n//     Every write (insert/update/upsert/delete) and every RPC except\n//     provider_balance is refused locally — nothing is sent to Supabase.\n//   • Chats and notifications read as empty; auth and other customer\n//     tables use the real client (reads only — writes are refused).\n//   • Every Pro screen shows a \"Sample data\" banner while this is on.\n// ─────────────────────────────────────────────────────────────\nfunction _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{isFramerPreview,currentSitePath}from\"https://framerusercontent.com/modules/bjnHUoY9drGMzzQp6h22/kK8OKH8UG2kIrBj31BlJ/ClnlySiteNav.js\";const FLAG=\"clnly.proPreview.v1\";const SCENARIOS=[\"sample\",\"empty\",\"loading\",\"error\"];export function previewScenario(){if(typeof window===\"undefined\"||!isFramerPreview())return null;try{const v=sessionStorage.getItem(FLAG);if(!v||!SCENARIOS.includes(v))return null;if(!currentSitePath().startsWith(\"/pro\"))return null;return v;}catch{return null;}}export function setPreviewScenario(s){if(typeof window===\"undefined\"||!isFramerPreview())return;try{if(s)sessionStorage.setItem(FLAG,s);else sessionStorage.removeItem(FLAG);}catch{}window.dispatchEvent(new Event(\"clnly:preview\"));}// ── Invented sample rows (no real people, addresses or money) ──\nconst ID=n=>\"00000000-0000-4000-8000-\"+String(n).padStart(12,\"0\");const PID=ID(1);const BIZ=ID(2);const MARKET=ID(3);const TZ=\"America/New_York\";function at(dayOffset,hour,minute=0){const d=new Date;d.setDate(d.getDate()+dayOffset);d.setHours(hour,minute,0,0);return d.toISOString();}const SERVICES={standard:{id:ID(11),name:\"Standard cleaning\",slug:\"standard-cleaning\"},deep:{id:ID(12),name:\"Deep cleaning\",slug:\"deep-cleaning\"},move:{id:ID(13),name:\"Move-in / move-out cleaning\",slug:\"move-in-out-cleaning\"}};const SAMPLE_ADDR=n=>({line1:n+\" Sample Street\",line2:null,city:\"Miami\",region:\"FL\",postal_code:\"33101\",access_notes:\"Sample note — preview only.\"});function booking(n,svc,day,hour,hours,status,cents){return{id:ID(100+n),booking_number:9e3+n,status,timezone:TZ,scheduled_start:at(day,hour),scheduled_end:at(day,hour+hours),duration_minutes:hours*60,address_snapshot:SAMPLE_ADDR(100+n),intake:{bedrooms:2,bathrooms:1},customer_notes:null,customer_display_name:\"Sample customer\",provider_earnings_cents:cents,currency:\"usd\",service:{...svc,intake_schema:{type:\"object\",properties:{}}}};}function assignment(n,b,status){return{id:ID(200+n),booking_id:b.id,provider_id:PID,role:\"lead\",status,payout_share_bps:1e4,starts_at:b.scheduled_start,ends_at:b.scheduled_end,en_route_at:null,arrived_at:null,started_at:status===\"completed\"?b.scheduled_start:null,completed_at:status===\"completed\"?b.scheduled_end:null,booking:b};}function sampleData(){const B=[booking(1,SERVICES.standard,0,9,2,\"completed\",9600),booking(2,SERVICES.deep,0,14,4,\"confirmed\",18400),booking(3,SERVICES.standard,1,10,2,\"confirmed\",9600),booking(4,SERVICES.move,3,9,5,\"confirmed\",23500),booking(5,SERVICES.standard,-1,11,2,\"completed\",9600),booking(6,SERVICES.deep,-3,13,4,\"completed\",18400)];const A=[assignment(1,B[0],\"completed\"),assignment(2,B[1],\"assigned\"),assignment(3,B[2],\"assigned\"),assignment(4,B[3],\"assigned\"),assignment(5,B[4],\"completed\"),assignment(6,B[5],\"completed\")];const now=Date.now();const offer=(n,svc,day,hour,hours,cents,km,expireSec=85)=>({id:ID(300+n),booking_id:ID(400+n),provider_id:PID,status:\"offered\",offered_at:new Date(now-5e3).toISOString(),expires_at:new Date(now+expireSec*1e3).toISOString(),distance_m:km*1e3,summary:{service_name:svc.name,scheduled_start:at(day,hour),duration_minutes:hours*60,timezone:TZ,city:\"Miami Beach\",region:\"FL\",postal_prefix:\"331\",distance_km:km,estimated_earnings_cents:cents,currency:\"usd\",customer_first_name:\"Sample\",dispatch_mode:day===0?\"urgent\":\"scheduled\",urgent_window_minutes:120}});const earning=(n,b,kind,status,cents,createdDay)=>({id:ID(500+n),provider_id:PID,business_id:BIZ,kind,amount_cents:cents,currency:\"usd\",status,available_at:at(createdDay+2,9),created_at:at(createdDay,12),booking_id:b.id,booking:{id:b.id,booking_number:b.booking_number,scheduled_start:b.scheduled_start,timezone:TZ,service:{name:b.service.name}}});return{providers:[{id:PID,user_id:\"__me__\",business_id:BIZ,market_id:MARKET,business_role:\"owner\",status:\"active\",display_name:\"Sample Cleaner\",bio:\"Sample profile — preview only.\",languages:[\"English\",\"Spanish\"],years_experience:4}],provider_presence:[{provider_id:PID,is_online:false,updated_at:new Date(now-36e5).toISOString()}],provider_public_profiles:[{provider_id:PID,display_name:\"Sample Cleaner\",rating_avg:4.9,rating_count:18,jobs_completed:23}],provider_stats:[{provider_id:PID,rating_avg:4.9,jobs_completed:23}],job_offers:[// Same-day offer (urgent countdown) + future offers to reserve.\noffer(1,SERVICES.standard,0,Math.min(22,new Date().getHours()+2),2,9600,3.2),offer(2,SERVICES.deep,1,9,4,18400,7.8,6*3600),offer(3,SERVICES.standard,2,13,3,13200,4.5,6*3600),offer(4,SERVICES.move,4,10,5,23500,9.1,12*3600)],booking_assignments:A,bookings:B,reviews:[{id:ID(921),booking_id:B[4].id,direction:\"customer_to_provider\",provider_id:PID,author_user_id:\"__cust__\",author_display_name:\"Sample customer\",rating:5,comment:\"Sample review — preview only.\",tags:[\"thorough\",\"punctual\"],status:\"published\",published_at:at(-1,20)},{id:ID(922),booking_id:B[5].id,direction:\"customer_to_provider\",provider_id:PID,author_user_id:\"__cust__\",author_display_name:\"Sample customer\",rating:4,comment:null,tags:[\"friendly\"],status:\"published\",published_at:at(-3,19)}],earnings:[earning(1,B[0],\"service\",\"pending\",9600,0),earning(2,B[0],\"tip\",\"pending\",1500,0),earning(3,B[4],\"service\",\"pending\",9600,-1),earning(4,B[5],\"service\",\"available\",18400,-3)],payout_accounts:[{business_id:BIZ,onboarding_status:\"not_started\",is_payout_ready:false,payouts_enabled:false,requirements_currently_due:[]}],payouts:[],payout_items:[],provider_availability_rules:[1,2,3,4,5].map(wd=>({id:ID(600+wd),provider_id:PID,weekday:wd,start_minute:9*60,end_minute:17*60,is_active:true})),provider_time_off:[{id:ID(701),provider_id:PID,kind:\"time_off\",starts_at:at(9,0),ends_at:at(11,0),reason:\"Sample time off\"}],provider_services:Object.values(SERVICES).map((s,i)=>({provider_id:PID,service_id:s.id,is_enabled:i<2,service:{name:s.name}})),provider_service_areas:[{provider_id:PID,service_area_id:ID(801)}],service_areas:[{id:ID(801),market_id:MARKET,name:\"Miami Beach (sample)\",is_active:true},{id:ID(802),market_id:MARKET,name:\"Brickell (sample)\",is_active:true}],markets:[{id:MARKET,name:\"Miami (sample)\",timezone:TZ}],// Resolution Center (disputes + embedded evidence) — invented cases.\ndisputes:[{id:ID(901),booking_id:B[4].id,opened_by:\"__cust__\",opened_by_role:\"customer\",type:\"quality\",status:\"awaiting_provider\",resolution:null,description:\"Sample case — the customer said the guest bathroom was missed. Preview only.\",resolution_notes:null,resolved_at:null,created_at:at(-1,18),updated_at:at(0,9),booking:{id:B[4].id,booking_number:B[4].booking_number,customer_id:\"__cust__\",scheduled_start:B[4].scheduled_start,timezone:TZ,service:{name:B[4].service.name}},evidence:[{id:ID(911),kind:\"text\",note:\"Sample customer note — preview only.\",submitted_by:\"__cust__\",created_at:at(-1,18)}],appeal:null},{id:ID(902),booking_id:B[5].id,opened_by:\"__me__\",opened_by_role:\"provider\",type:\"no_show_customer\",status:\"resolved\",resolution:\"no_action\",description:\"Sample case — nobody answered at arrival and the access code didn’t work. Preview only.\",resolution_notes:\"Sample decision — preview only. Arrival time was confirmed from job progress.\",resolved_at:at(-2,10),created_at:at(-3,14),updated_at:at(-2,10),booking:{id:B[5].id,booking_number:B[5].booking_number,customer_id:\"__cust__\",scheduled_start:B[5].scheduled_start,timezone:TZ,service:{name:B[5].service.name}},evidence:[{id:ID(912),kind:\"text\",note:\"Sample cleaner note — preview only.\",submitted_by:\"__me__\",created_at:at(-3,14)},{id:ID(913),kind:\"message_log\",note:\"Sample message history — preview only.\",submitted_by:\"__support__\",created_at:at(-3,16)}],appeal:{status:\"under_review\",submitted_at:at(-1,9),note:\"Sample appeal — preview only.\"}}],provider_documents:[{id:ID(951),provider_id:PID,doc_type:\"government_id\",status:\"approved\",expires_on:null,rejection_reason:null,created_at:at(-30,10),updated_at:at(-29,10)},{id:ID(952),provider_id:PID,doc_type:\"insurance\",status:\"rejected\",expires_on:null,rejection_reason:\"Sample — the photo was unreadable. Preview only.\",created_at:at(-12,10),updated_at:at(-11,10)}]};}const TABLES=Object.keys(sampleData());// ── Minimal read-only query builder over the rows above ──\nconst REFUSED={message:\"Preview only — sample data isn’t saved.\",code:\"PREVIEW\"};function cmp(a,b){return a===b?0:a>b?1:-1;}class FixtureQuery{select(_cols,opts){if(opts?.head)this.head=true;return this;}f(col,fn){this.filters.push(r=>col in r?fn(r[col]):true);return this;}eq(c,v){if(c===\"user_id\"||c===\"customer_id\")return this;return this.f(c,x=>x===v);}neq(c,v){return this.f(c,x=>x!==v);}in(c,v){return this.f(c,x=>(v||[]).includes(x));}gt(c,v){return this.f(c,x=>cmp(x,v)>0);}gte(c,v){return this.f(c,x=>cmp(x,v)>=0);}lt(c,v){return this.f(c,x=>cmp(x,v)<0);}lte(c,v){return this.f(c,x=>cmp(x,v)<=0);}is(c,v){return this.f(c,x=>v===null?x==null:x===v);}not(){return this;}or(){return this;}filter(){return this;}match(){return this;}ilike(){return this;}contains(){return this;}range(a,b){this.lim=b-a+1;return this;}order(col,o){this.orders.push({col,asc:o?.ascending!==false});return this;}limit(n){this.lim=n;return this;}single(){this.one=\"single\";return this;}maybeSingle(){this.one=\"maybe\";return this;}abortSignal(){return this;}result(){if(this.write)return{data:null,error:REFUSED,count:null,status:400};if(this.mode===\"error\")return{data:null,error:{message:\"Couldn’t reach Clnly (preview: simulated network error).\",code:\"PREVIEW_ERROR\"},count:null,status:503};let rows=this.mode===\"empty\"?[]:this.rows.filter(r=>this.filters.every(f=>f(r)));for(const o of[...this.orders].reverse())rows=[...rows].sort((a,b)=>(o.asc?1:-1)*cmp(a[o.col],b[o.col]));if(this.lim!=null)rows=rows.slice(0,this.lim);if(this.head)return{data:null,error:null,count:rows.length,status:200};if(this.one===\"maybe\")return{data:rows[0]??null,error:null,status:200};if(this.one===\"single\")return rows[0]?{data:rows[0],error:null,status:200}:{data:null,error:{message:\"Not found (preview)\"},status:406};return{data:rows,error:null,count:rows.length,status:200};}then(res,rej){if(this.mode===\"loading\"&&!this.write)return new Promise(()=>{}).then(res,rej);return Promise.resolve(this.result()).then(res,rej);}constructor(rows,mode,write=false){_define_property(this,\"mode\",void 0);_define_property(this,\"write\",void 0);_define_property(this,\"rows\",void 0);_define_property(this,\"filters\",void 0);_define_property(this,\"orders\",void 0);_define_property(this,\"lim\",void 0);_define_property(this,\"one\",void 0);_define_property(this,\"head\",void 0);this.mode=mode;this.write=write;this.filters=[];this.orders=[];this.lim=null;this.one=null;this.head=false;this.rows=rows;}}const PREVIEW_EMPTY_TABLES=[\"conversations\",\"messages\",\"notifications\"];function fixtureFrom(table,mode,real){const data=sampleData();// The cleaner record itself is always answered so the app opens as an\n// approved cleaner, whatever the scenario.\n// A newly approved cleaner also has a presence row (created at approval),\n// so the \"empty\" scenario keeps it.\nconst rowMode=table===\"providers\"||mode===\"empty\"&&table===\"provider_presence\"?\"sample\":mode;const refused=()=>new FixtureQuery([],mode,true);// Customer-facing tables (chats, notifications): always empty while\n// previewing, so no real customer information appears next to sample data.\nif(PREVIEW_EMPTY_TABLES.includes(table)){return{select:(c,o)=>new FixtureQuery([],mode).select(c,o),insert:refused,update:refused,upsert:refused,delete:refused};}if(!(table in data)){// Not a cleaner table: real reads, but no writes while previewing.\nconst b=real.from(table);return{select:(...a)=>b.select(...a),insert:refused,update:refused,upsert:refused,delete:refused};}return{select:(c,o)=>new FixtureQuery(data[table],rowMode).select(c,o),insert:refused,update:refused,upsert:refused,delete:refused};}function fixtureRpc(name,mode){// Read-only inbox counts: answer with nothing so the preview never shows\n// the editor account’s real conversations.\nif(name===\"messages_unread_counts\"&&mode!==\"error\"){if(mode===\"loading\")return new Promise(()=>{});return Promise.resolve({data:[],error:null});}if(name===\"provider_balance\"&&mode!==\"error\"){if(mode===\"loading\")return new Promise(()=>{});const rows=mode===\"empty\"?[]:[{business_id:BIZ,currency:\"usd\",pending_cents:20700,available_cents:18400,in_payout_cents:0,paid_cents:0}];return Promise.resolve({data:rows,error:null});}return Promise.resolve({data:null,error:REFUSED});}const STUB_CHANNEL={on(){return STUB_CHANNEL;},subscribe(){return STUB_CHANNEL;},unsubscribe(){return Promise.resolve(\"ok\");}};// Wraps the real client. Outside an active editor preview it is a\n// pass-through — the real client is used exactly as before.\nexport function withPreviewFixtures(real){if(typeof Proxy===\"undefined\")return real;return new Proxy(real,{get(target,prop){const mode=typeof prop===\"string\"&&[\"from\",\"rpc\",\"channel\",\"removeChannel\"].includes(prop)?previewScenario():null;if(mode){if(prop===\"from\")return t=>fixtureFrom(t,mode,target);if(prop===\"rpc\")return n=>fixtureRpc(n,mode);if(prop===\"channel\")return()=>STUB_CHANNEL;if(prop===\"removeChannel\")return()=>Promise.resolve(\"ok\");}const v=Reflect.get(target,prop,target);return typeof v===\"function\"?v.bind(target):v;}});}export const PREVIEW_TABLES=TABLES;\nexport const __FramerMetadata__ = {\"exports\":{\"setPreviewScenario\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPreviewFixtures\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"previewScenario\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PREVIEW_TABLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PreviewScenario\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{useEffect,useState}from\"react\";const createClient=()=>null// Official site is marketing-only: Supabase client removed (6 Nov 2026)\n;import{withPreviewFixtures}from\"https://framerusercontent.com/modules/u0YPMBEvGKWgWlQfEryz/oHojLDSVIFSw6C1SFjm4/ProPreviewFixtures.js\";// ══ CLNLY OFFICIAL SITE — one project, two modes (integration draft, 3 Nov 2026) ══\n// 1) PUBLISHED SITE (clnly.com, www, *.framer.app): backend OFF. Every call resolves\n//    to a quiet \"not open yet\" result with no network request (same behaviour as the\n//    Nov 1 marketing build), so a publish of marketing pages can never reach a database.\n// 2) FRAMER EDITOR / PREVIEW ONLY (*.framercanvas.com): WAS connected to clnly-test; DISCONNECTED 6 Nov 2026 (Official site is marketing-only)\n//    (clnly-test, the TEST project) so the full customer and cleaner apps can\n//    be built and tested inside the official project without touching production.\n// Production (production project) is NOT wired here. Connecting the published site to\n// production is a separate, approved launch step (see CLN-139 / CLN-117).\n// Keys below are publishable (public) keys only. Never put a secret/service key here.\nconst IN_FRAMER_EDITOR=typeof window!==\"undefined\"&&typeof window.location!==\"undefined\"&&/\\.framercanvas\\.com$/i.test(window.location.hostname);export const BACKEND_ENABLED=false// marketing-only: no backend in editor, preview or published site\n;const TEST_SUPABASE_URL=\"\";const TEST_SUPABASE_KEY=\"\";export const SUPABASE_URL=BACKEND_ENABLED?TEST_SUPABASE_URL:\"\";export const SUPABASE_KEY=BACKEND_ENABLED?TEST_SUPABASE_KEY:\"\";// ── Offline stand-in (published site) ──\nconst CLOSED={message:\"Booking and accounts aren't open yet. Please check back soon.\",code:\"backend_off\"};const RESULT=Object.freeze({data:null,error:CLOSED,count:null,status:503,statusText:\"backend_off\"});// A chainable, awaitable stand-in for any query builder:\n// supabase.from(\"x\").select().eq().order()… awaits to RESULT, with no network.\nfunction closedChain(){const target=function(){};const proxy=new Proxy(target,{get(_t,key){if(key===\"then\")return(ok,fail)=>Promise.resolve(RESULT).then(ok,fail);if(key===\"catch\")return fail=>Promise.resolve(RESULT).catch(fail);if(key===\"finally\")return fn=>Promise.resolve(RESULT).finally(fn);if(key===Symbol.toPrimitive)return()=>\"[clnly backend off]\";return proxy;},apply(){return proxy;}});return proxy;}const noSession=async()=>({data:{session:null},error:null});const closedAuthCall=async()=>({data:{user:null,session:null,url:null},error:CLOSED});const authStub=new Proxy({getSession:noSession,getUser:async()=>({data:{user:null},error:null}),onAuthStateChange:()=>({data:{subscription:{unsubscribe(){}}}}),signOut:async()=>({error:null}),startAutoRefresh:async()=>{},stopAutoRefresh:async()=>{}},{get(t,key){return key in t?t[key]:closedAuthCall;}});const OFFLINE_CLIENT=new Proxy({auth:authStub,from:()=>closedChain(),rpc:()=>closedChain(),schema:()=>({from:()=>closedChain(),rpc:()=>closedChain()}),channel:()=>closedChain(),removeChannel:async()=>\"ok\",removeAllChannels:async()=>[],getChannels:()=>[],storage:{from:()=>closedChain()},functions:{invoke:async()=>RESULT}},{get(t,key){return key in t?t[key]:closedChain();}});// ── clnly-test client (Framer editor/preview only) ──\nconst g=typeof globalThis!==\"undefined\"?globalThis:{};// Cross-tab auth lock with a way out (launch blocker fix, 15 Oct 2026).\n// Supabase coordinates sign-in state between tabs with a browser lock and, by\n// default, waits for it forever. If any Clnly tab gets stuck while holding it\n// (for example an older version of the site still open), every other tab hangs\n// on the loading screen. This keeps Supabase's normal locking, but if the lock\n// is still unavailable after 5 seconds it takes it over from the stuck tab.\nconst LOCK_TAKEOVER_MS=5e3;async function clnlyLock(name,acquireTimeout,fn){const locks=typeof navigator!==\"undefined\"?navigator.locks:null;if(!locks||typeof locks.request!==\"function\")return fn();if(acquireTimeout===0){// Background refresh: only run if the lock is free right now.\nreturn locks.request(name,{mode:\"exclusive\",ifAvailable:true},async lock=>{if(!lock){const e=new Error(\"Auth lock not available\");e.isAcquireTimeout=true;throw e;}return fn();});}const wait=acquireTimeout>0?acquireTimeout:LOCK_TAKEOVER_MS;const ac=new AbortController;const timer=setTimeout(()=>ac.abort(),wait);try{return await locks.request(name,{mode:\"exclusive\",signal:ac.signal},async()=>{clearTimeout(timer);return fn();});}catch(e){clearTimeout(timer);if(e&&e.name===\"AbortError\"&&ac.signal.aborted){if(acquireTimeout>0){const err=new Error(\"Auth lock timed out\");err.isAcquireTimeout=true;throw err;}return locks.request(name,{mode:\"exclusive\",steal:true},async()=>fn());}throw e;}}// Wrapped for the Clnly Pro editor-only preview (ProPreviewFixtures.tsx).\n// Outside Framer's editor preview the wrapper passes everything through.\nconst TEST_CLIENT=!BACKEND_ENABLED?null:withPreviewFixtures(g.__clnlySupabase||(g.__clnlySupabase=createClient(TEST_SUPABASE_URL,TEST_SUPABASE_KEY,{auth:{persistSession:typeof window!==\"undefined\",autoRefreshToken:typeof window!==\"undefined\",detectSessionInUrl:typeof window!==\"undefined\",storageKey:\"clnly-test.auth\",lock:typeof window!==\"undefined\"?clnlyLock:undefined}})));export const supabase=BACKEND_ENABLED?TEST_CLIENT:OFFLINE_CLIENT;// Auth listener safety (launch blocker fix, 15 Oct 2026).\n// Supabase runs onAuthStateChange callbacks inside its auth lock and WAITS for\n// them. If a callback returns a promise that itself needs Supabase (a query,\n// getSession, getUser…), the lock never releases: every later auth call hangs\n// and signed-in pages sit on the loading screen forever. Reproduced with\n// supabase-js 2.45.4: getSession() stays pending; with the callback deferred it\n// resolves in a few ms. So every callback in the site now runs on the next tick\n// and Supabase never waits for app code. Behaviour is otherwise unchanged.\nif(g.__clnlySupabase&&!g.__clnlyAuthListenerSafe){g.__clnlyAuthListenerSafe=true;const auth=g.__clnlySupabase.auth;const subscribe=auth.onAuthStateChange.bind(auth);auth.onAuthStateChange=callback=>subscribe((event,s)=>{setTimeout(()=>{try{const r=callback(event,s);if(r&&typeof r.catch===\"function\")r.catch(()=>{});}catch{}},0);});}// React hook: current auth session, kept in sync with sign-in / sign-out events.\nfunction useSessionLive(){const[state,setState]=useState({loading:true,session:null,user:null});useEffect(()=>{if(typeof window===\"undefined\")return;let alive=true;supabase.auth.getSession().then(({data})=>{if(alive)setState({loading:false,session:data.session,user:data.session?.user??null});});const{data:sub}=supabase.auth.onAuthStateChange((_e,session)=>{if(alive)setState({loading:false,session,user:session?.user??null});});return()=>{alive=false;sub?.subscription?.unsubscribe();};},[]);return state;}function useSessionOffline(){const[state,setState]=useState({loading:true,session:null,user:null});useEffect(()=>{if(typeof window===\"undefined\")return;let alive=true;supabase.auth.getSession().then(({data})=>{if(alive)setState({loading:false,session:data.session,user:data.session?.user??null});});const{data:sub}=supabase.auth.onAuthStateChange((_e,session)=>{if(alive)setState({loading:false,session,user:session?.user??null});});return()=>{alive=false;sub?.subscription?.unsubscribe();};},[]);return state;}// Pick the hook once per page load (BACKEND_ENABLED never changes at runtime).\nexport function useSession(){return BACKEND_ENABLED?useSessionLive():useSessionOffline();}export function formatMoney(cents,currency=\"usd\"){const v=Number(cents||0)/100;try{return new Intl.NumberFormat(\"en-US\",{style:\"currency\",currency:currency.toUpperCase()}).format(v);}catch{return\"$\"+v.toFixed(2);}}export function errorMessage(error,fallback=\"Something went wrong. Please try again.\"){if(!error)return fallback;const m=String(error.message||error.error_description||error);return m.length>200?fallback:m;}// Prefer navigateSite() from ClnlySiteNav (works in Framer preview). Kept for\n// compatibility; routes through the same helper when it has been loaded.\nexport function go(path){if(typeof window===\"undefined\")return;const nav=globalThis.__clnlyNavigateSite;if(typeof nav===\"function\")nav(path);else window.location.assign(path);}export function currentPathWithQuery(){if(typeof window===\"undefined\")return\"/\";return window.location.pathname+window.location.search;}\nexport const __FramerMetadata__ = {\"exports\":{\"go\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SUPABASE_KEY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"formatMoney\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SessionState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSession\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SUPABASE_URL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BACKEND_ENABLED\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"errorMessage\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"supabase\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"currentPathWithQuery\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{RenderTarget}from\"framer\";// @ts-ignore Framer runtime provides this module.\nimport{supabase}from\"https://framerusercontent.com/modules/sPb0dRkE1C65xamb5oKY/bwjJkGgkRWGtpnH9k9DB/Supabase.js\";// Clnly F2 · Become a Cleaner — shared kit (frontend only).\n// Tokens, type, the availability-bar motif, status tags, placeholders,\n// reveal motion and the existing Apply / Sign-in destinations.\n// Nothing here writes data. The only read is the same local session check\n// today's cleaner intro uses to pick the Apply destination.\n// General Sans: loaded from the same Framer-hosted files the homepage uses.\n// LICENCE TO VERIFY before publishing (see handoff).\nexport const C={surface:\"#FFFFFF\",ink:\"#111111\",ink2:\"#3D3D3A\",muted:\"#6E6D69\",hair:\"rgba(17,17,17,0.10)\",violet:\"#141414\",lav:\"rgba(20,20,20,0.07)\",onDark:\"#FFFFFF\",mutedDark:\"rgba(255,255,255,0.72)\",hairDark:\"rgba(255,255,255,0.16)\",ph:\"#EFEDE7\"};const GS=\"https://framerusercontent.com/third-party-assets/fontshare/wf/\";const GS_FILES=[[400,\"MFQT7HFGCR2L5ULQTW6YXYZXXHMPKLJ3/YWQ244D6TACUX5JBKATPOW5I5MGJ3G73/7YY3ZAAE3TRV2LANYOLXNHTPHLXVWTKH.woff2\"],[500,\"3RZHWSNONLLWJK3RLPEKUZOMM56GO4LJ/BPDRY7AHVI3MCDXXVXTQQ76H3UXA63S3/SB2OEB6IKZPRR6JT4GFJ2TFT6HBB6AZN.woff2\"],[600,\"K46YRH762FH3QJ25IQM3VAXAKCHEXXW4/ISLWQPUZHZF33LRIOTBMFOJL57GBGQ4B/3ZLMEXZEQPLTEPMHTQDAUXP5ZZXCZAEN.woff2\"]];const FONT=\"'General Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\";// Destinations copied from today's page (ClnlyCleanerIntro). D3 is hidden:\n// the Put Your City on the Map flow is front-end only and not live.\n// OFFICIAL SITE (prep 1 Nov 2026): applications, Clnly Pro and sign-in are not\n// open yet, so every Apply / Cleaner login button goes to the \"Booking opens soon\"\n// page. Previous values: D2 = \"/login?next=/pro\", D1_OUT = \"/sign-up?next=/app#/apply\",\n// D1_IN = \"/app#/apply\".\nexport const D2=\"/booking-opens-soon\";const D1_OUT=\"/booking-opens-soon\";const D1_IN=\"/booking-opens-soon\";// One read-only session lookup shared by every Apply button on the page\n// (reused for a few seconds, then refreshed). Same check as today's intro.\nlet pending=null;let pendingAt=0;function checkSession(){const now=Date.now();if(!pending||now-pendingAt>5e3){pendingAt=now;pending=Promise.resolve().then(()=>supabase?.auth?.getSession?.()).then(r=>!!r?.data?.session?.user).catch(()=>false);}return pending;}function sessionAware(){const rt=RenderTarget.current();return rt===RenderTarget.preview||rt===RenderTarget.export;}// D1 for Apply buttons. While the session check is still loading, a click\n// waits for it (max 2.5 s) so signed-in people are not sent to sign-up first.\n// Destinations and the account flow are unchanged.\nexport function useApply(){const[state,setState]=useState(()=>sessionAware()?\"checking\":\"out\");useEffect(()=>{if(!sessionAware())return;let live=true;checkSession().then(v=>{if(live)setState(v?\"in\":\"out\");});return()=>{live=false;};},[]);const href=state===\"in\"?D1_IN:D1_OUT;const onClick=e=>{if(state!==\"checking\")return;if(e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;e.preventDefault();let done=false;const go=url=>{if(done)return;done=true;window.location.assign(url);};const t=window.setTimeout(()=>go(D1_OUT),2500);checkSession().then(v=>{window.clearTimeout(t);go(v?D1_IN:D1_OUT);});};return{href,onClick,busy:state===\"checking\"};}// Kept for compatibility; returns the resolved destination only.\nexport function useApplyHref(){return useApply().href;}export function isStatic(){if(typeof window===\"undefined\")return true;const rt=RenderTarget.current();if(rt===RenderTarget.canvas||rt===RenderTarget.thumbnail)return true;try{return window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;}catch{return false;}}// Reveal once when the element enters the viewport (final state when static).\nexport function useReveal(margin=\"0px 0px -12% 0px\"){const ref=useRef(null);const[shown,setShown]=useState(false);useEffect(()=>{if(isStatic()||typeof IntersectionObserver===\"undefined\"){setShown(true);return;}const el=ref.current;if(!el)return;const io=new IntersectionObserver(es=>{if(es.some(e=>e.isIntersecting)){setShown(true);io.disconnect();}},{rootMargin:margin});io.observe(el);return()=>io.disconnect();},[]);return[ref,shown];}export function Bar(p){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:\"f2-bar f2-bar-\"+p.state+(p.small?\" f2-bar-s\":\"\")+(p.shown===false?\"\":\" is-on\"),style:{width:p.width||\"100%\",transitionDelay:(p.delay||0)+\"ms\"}});}export function Tag(p){const text=p.children||(p.kind===\"preview\"?\"Preview\":p.kind===\"available\"?\"Available now\":\"Placeholder — not for publish\");return /*#__PURE__*/_jsx(\"span\",{className:\"f2-tag f2-tag-\"+p.kind+(p.dark?\" f2-tag-dark\":\"\"),children:text});}// A licensed photo when one is set, otherwise a clearly tagged placeholder.\nexport function Photo(p){const src=p.img?.src;return /*#__PURE__*/_jsx(\"div\",{className:\"f2-photo \"+(p.className||\"\"),style:{aspectRatio:p.ratio},children:src?/*#__PURE__*/_jsx(\"img\",{src:src,srcSet:p.img?.srcSet,alt:p.alt||p.img?.alt||\"\",loading:p.eager?\"eager\":\"lazy\",decoding:\"async\",sizes:\"(max-width: 809px) 100vw, 50vw\"}):/*#__PURE__*/_jsx(\"div\",{className:\"f2-ph\",role:\"img\",\"aria-label\":\"Placeholder image\",children:/*#__PURE__*/_jsx(Tag,{kind:\"placeholder\"})})});}export function Label(p){return /*#__PURE__*/_jsx(\"p\",{className:\"f2-label\"+(p.dark?\" f2-label-dark\":\"\"),children:p.children});}const fonts=GS_FILES.map(([w,f])=>\"@font-face{font-family:'General Sans';font-style:normal;font-weight:\"+w+\";font-display:swap;src:url(\"+GS+f+\") format('woff2')}\").join(\"\");// Breakpoints follow Framer's: desktop ≥ 1200, tablet 810–1199, mobile ≤ 809.\nexport const F2_CSS=fonts+\".f2{container-type:inline-size;width:100%;box-sizing:border-box;font-family:\"+FONT+\";color:\"+C.ink+\";-webkit-font-smoothing:antialiased;position:relative}\"+\".f2 *{box-sizing:border-box}\"+\":where(.f2) :where(h1,h2,h3,p,ul,ol){margin:0}\"+\".f2 a:focus-visible,.f2 button:focus-visible{outline:2px solid \"+C.violet+\";outline-offset:2px;border-radius:14px}\"+\".f2-wrap{width:100%;max-width:1440px;margin:0 auto;padding-left:80px;padding-right:80px}\"+\".f2-sec{position:relative;padding-top:104px;padding-bottom:104px}\"+\".f2-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px}\"+// type\n\".f2-d{font-size:72px;line-height:76px;font-weight:600;letter-spacing:-0.02em}\"+\".f2-h2{font-size:48px;line-height:52px;font-weight:600;letter-spacing:-0.015em}\"+\".f2-h3{font-size:24px;line-height:30px;font-weight:500}\"+\".f2-bl{font-size:20px;line-height:30px;font-weight:400;color:\"+C.ink2+\"}\"+\".f2-b{font-size:16px;line-height:24px;font-weight:400;color:\"+C.muted+\"}\"+\".f2-label{font-size:12px;line-height:16px;font-weight:500;text-transform:uppercase;letter-spacing:0.06em;color:\"+C.violet+\"}\"+\".f2-label-dark{color:#C8C8C8}\"+\".f2-ann{font-size:14px;line-height:20px;font-weight:500}\"+// buttons\n\".f2-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 28px;border-radius:14px;background:\"+C.ink+\";color:#fff;font-size:16px;font-weight:600;text-decoration:none;transition:transform .15s ease,background .15s ease}\"+\".f2-btn:hover{background:#000;transform:translateY(-1px)}\"+\".f2-btn-light{background:#fff;color:\"+C.ink+\"}\"+\".f2-btn-light:hover{background:#F1EFEA}\"+\".f2-link{display:inline-flex;align-items:center;min-height:44px;font-size:16px;font-weight:500;color:\"+C.ink+\";text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}\"+\".f2-link:hover{color:\"+C.violet+\"}\"+\".f2-link-dark{color:#fff}\"+\".f2-link-dark:hover{color:#E2E0DC}\"+\".f2-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px}\"+// bars\n\".f2-bar{display:block;height:12px;border-radius:999px;transform:scaleX(0);transform-origin:left center;transition:transform 600ms cubic-bezier(.2,.7,.2,1)}\"+\".f2-bar.is-on{transform:scaleX(1)}\"+\".f2-bar-s{height:10px}\"+\".f2-bar-open{background:\"+C.lav+\"}\"+\".f2-bar-requested{background:\"+C.surface+\";box-shadow:inset 0 0 0 1px \"+C.violet+\"}\"+\".f2-bar-confirmed{background:\"+C.violet+\"}\"+// tags\n\".f2-tag{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;line-height:16px;font-weight:500;letter-spacing:.02em;white-space:nowrap}\"+\".f2-tag-preview{background:\"+C.lav+\";color:#000000}\"+\".f2-tag-available{background:#E7F6EC;color:#14532D}\"+\".f2-tag-placeholder{background:#fff;color:\"+C.ink+\";box-shadow:inset 0 0 0 1px \"+C.ink+\"}\"+\".f2-tag-dark.f2-tag-preview{background:rgba(20,20,20,0.1);color:#E2E0DC}\"+// photos\n\".f2-photo{position:relative;width:100%;overflow:hidden;border-radius:28px;background:\"+C.ph+\"}\"+\".f2-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}\"+\".f2-ph{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-start;padding:12px;background:\"+C.ph+\"}\"+\".f2-ph .f2-tag{white-space:normal;height:auto;min-height:24px;padding:4px 8px;max-width:100%;border-radius:8px}\"+// tablet\n\"@container (max-width:1199px){\"+\".f2-wrap{padding-left:24px;padding-right:24px}\"+\".f2-sec{padding-top:80px;padding-bottom:80px}\"+\".f2-d{font-size:56px;line-height:60px}\"+\".f2-h2{font-size:40px;line-height:44px}\"+\".f2-h3{font-size:22px;line-height:28px}\"+\".f2-bl{font-size:18px;line-height:28px}\"+\"}\"+// mobile\n\"@container (max-width:809px){\"+\".f2-wrap{padding-left:16px;padding-right:16px}\"+\".f2-sec{padding-top:60px;padding-bottom:60px}\"+\".f2-grid{column-gap:16px}\"+\".f2-d{font-size:40px;line-height:44px}\"+\".f2-h2{font-size:32px;line-height:36px}\"+\".f2-h3{font-size:20px;line-height:26px}\"+\".f2-bl{font-size:17px;line-height:26px}\"+\".f2-bar{height:10px}\"+\".f2-ctas .f2-btn{width:100%}\"+\"}\"+\"@media (prefers-reduced-motion:reduce){.f2 *{transition:none!important;animation:none!important}.f2-bar{transform:none}}\";\nexport const __FramerMetadata__ = {\"exports\":{\"useApplyHref\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"F2_CSS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Tag\":{\"type\":\"reactComponent\",\"name\":\"Tag\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Bar\":{\"type\":\"reactComponent\",\"name\":\"Bar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Photo\":{\"type\":\"reactComponent\",\"name\":\"Photo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"BarState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useReveal\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Label\":{\"type\":\"reactComponent\",\"name\":\"Label\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"isStatic\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"D2\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Img\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"C\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useApply\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// CLNLY universal site header — OFFICIAL clnly.com copy (marketing-only). Source: Clnly Staging ClnlySiteHeader.tsx (approved V2).\n// Official changes (Nov 11, 2026): no Supabase import or session reads, always signed-out/marketing,\n// public links only (Become a cleaner and Maintenance hidden), Book → /booking-opens-soon, frosted-glass bar on scroll,\n// blurred + dimmed page behind the open menu. Rollback: Framer Versions → 11/06/26 12:42 AM.\n// Independent file. Design = the approved V2 header (Nov 10–11, 2026), unchanged, plus the fixes\n// verified on the /home-header-v2 draft:\n//  • Near-solid bar (96%) so content never ghosts through while scrolling.\n//  • \"#anchor\" links (How it works) scroll in place, or navigate then scroll — the site router\n//    does not scroll to a hash by itself (same approach as ClnlyNavLinks.tsx).\n//  • iOS 15 and older (no container queries): the same breakpoints as viewport @media rules,\n//    applied only where container queries are unsupported.\n//  • Skip link works on every page (falls back to the first <main>/<h1> when there's no #main).\n// Two components: ClnlySiteHeader (global bar — place it with Framer Position: Sticky, Top 0)\n// and ClnlyProSectionBar (For professionals section bar — place it right below, not sticky,\n// so it scrolls away like Uber's product sub-nav). Framer can't make a code component stick from\n// the inside, so stickiness is set on the layer.\n// Destinations and signed-in / signed-out / cleaner menus match the live menu\n// (ClnlyAppNavigation.tsx menuFor). Reads only: the Supabase session and the providers lookup the\n// current menu already does — and only in \"full\" mode. \"marketing\" mode never touches Supabase.\n// Does not change booking, auth, payments, dashboards or any shared component.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useCallback,useEffect,useRef,useState}from\"react\";import{createPortal}from\"react-dom\";// @ts-ignore Framer runtime provides this module.\nimport{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{F2_CSS}from\"https://framerusercontent.com/modules/6a6qkl1oQuf0tAgMqUIO/zNiqHqBf4lq1uYMm69Jq/F2Kit.js\";import{useSiteNav}from\"https://framerusercontent.com/modules/bjnHUoY9drGMzzQp6h22/kK8OKH8UG2kIrBj31BlJ/ClnlySiteNav.js\";// --- Destinations ------------------------------------------------------------------\nconst DEF_BOOK=\"/booking-opens-soon\";const CLEANERS_SOON=\"/become-a-cleaner\"// recruitment page (live 11 Nov 2026); applications stay closed\n;const DEF_HELP=\"/help\";// Old Help Center links (and page-level \"Help link\" settings) now point to /help.\nconst helpLink=h=>!h||h===\"/help-center\"||h.indexOf(\"/help-center#\")===0?DEF_HELP:h;const PRO_LINKS=[{label:\"How it works\",href:\"#cr-how\"},{label:\"Requirements\",href:\"#cr-req\"},{label:\"FAQ\",href:\"#cr-faq\"}];function linksFor(p){// Official site (11 Nov 2026): same centre links as Staging. Become a cleaner\n// goes to the \"Cleaner applications open soon\" page until applications open.\nreturn[{label:\"How it works\",href:\"/#how-it-works\"},{label:\"Become a cleaner\",href:CLEANERS_SOON},{label:\"Help\",href:helpLink(p.helpHref)}];}// Same groups as the live menu (ClnlyAppNavigation.tsx). Marketing mode keeps only public items.\nexport function menuGroups(_s,p){// Official site (11 Nov 2026): Staging's signed-out menu, every destination public-safe.\n// Log in / Create account -> \"Booking opens soon\" (accounts not open yet).\n// Become a cleaner -> \"Cleaner applications open soon\".\nreturn[[{label:\"How it works\",href:\"/#how-it-works\"},{label:\"Clnly for Properties\",href:\"/partners/property-managers\"}],[{label:\"Log in\",href:DEF_BOOK},{label:\"Create account\",href:DEF_BOOK}],[{label:\"Become a cleaner\",href:CLEANERS_SOON,hint:\"Earn on your schedule\"}],[{label:\"Help Center\",href:helpLink(p.helpHref)},{label:\"Contact\",href:\"/contact\"}]];}// Same read-only session lookup the live menu uses.\nfunction useSiteSession(_enabled){// Official site: marketing-only. Never reads a session and never touches Supabase.\nreturn{signedIn:false,isPro:false,name:null};}// --- Anchors -------------------------------------------------------------------------\nconst ANCHOR_OFFSET=80// room for the 66px sticky bar\n;function anchorId(href){const h=href.indexOf(\"#\");if(h===-1)return\"\";const id=href.slice(h+1);return/^[A-Za-z][\\w-]*$/.test(id)?id:\"\"// \"/app#/book\" is an app route, not an anchor\n;}function scrollToId(id){const el=document.getElementById(id);if(!el)return false;const reduce=typeof window.matchMedia===\"function\"&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const top=el.getBoundingClientRect().top+window.scrollY-ANCHOR_OFFSET;window.scrollTo({top:Math.max(0,top),behavior:reduce?\"auto\":\"smooth\"});return true;}function scrollWhenReady(id){let tries=0;const tick=()=>{if(scrollToId(id))return;if(++tries<30)window.setTimeout(tick,100);};window.setTimeout(tick,150);}// --- Tokens --------------------------------------------------------------------------\nconst FONT_HREF=\"https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400..700&display=swap\";const IS=\"'Instrument Sans',system-ui,-apple-system,'Helvetica Neue',Arial,sans-serif\";const GS=\"'General Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif\";const AMBER=\"#F59E0B\";const INK=\"#111111\";const INK2=\"#3D3D3A\";const MUTED=\"#6E6D69\";const EASE=\"cubic-bezier(.2,.8,.4,1)\";const EASE_POP=\"cubic-bezier(.22,1,.36,1)\";// --- Header bar CSS (approved V2, namespaced \"csh\") -----------------------------------\nconst CSS=[\".csh{container-type:inline-size;width:100%;position:relative;font-family:\"+IS+\";color:\"+INK+\";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}\",\".csh *{box-sizing:border-box}\",\".csh-stick{position:sticky;top:0;z-index:60}\",\".csh-bar{position:relative;background:var(--csh-bg);border-bottom:1px solid transparent;box-shadow:0 0 0 0 rgba(17,17,17,0);transition:background-color .25s ease,border-color .25s ease,box-shadow .25s ease,-webkit-backdrop-filter .25s ease,backdrop-filter .25s ease}\",\".csh-bar.is-scrolled{background:var(--csh-glass);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border-bottom-color:rgba(17,17,17,.08);box-shadow:0 1px 2px rgba(17,17,17,.04),0 10px 30px -18px rgba(17,17,17,.22)}\",\"@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.csh-bar.is-scrolled{background:var(--csh-bg-solid,#fff)}}\",\".csh-bar.is-open{background:#fff;border-bottom-color:rgba(17,17,17,.08)}\",\".csh-accent{position:absolute;left:0;right:0;top:0;height:2px;background:\"+AMBER+\";pointer-events:none}\",\".csh-in{max-width:1200px;margin:0 auto;padding:2px 40px 0;height:66px;display:grid;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);align-items:center;column-gap:24px}\",\".csh-brand{justify-self:start;display:inline-flex;align-items:center;min-height:44px;margin-left:-4px;padding:0 4px;text-decoration:none;color:\"+INK+\";border-radius:8px}\",\".csh-logo{font-family:\"+GS+\";font-size:26px;line-height:1;font-weight:600;letter-spacing:-0.045em;color:\"+INK+\";transform:translateY(-1px)}\",\".csh-links{display:flex;align-items:center;gap:2px;justify-self:center}\",\".csh-links a{position:relative;display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;font-size:15px;font-weight:500;letter-spacing:-.005em;color:\"+INK2+\";text-decoration:none;white-space:nowrap;transition:background-color .2s ease,color .2s ease}\",\".csh-links a[aria-current=page]{color:\"+INK+\"}\",\".csh-links a[aria-current=page]::after{content:'';position:absolute;left:14px;right:14px;bottom:5px;height:2px;border-radius:2px;background:\"+INK+\"}\",\".csh-links a:active{background:rgba(17,17,17,.1)}\",\".csh-act{justify-self:end;display:flex;align-items:center;gap:8px}\",\".csh-book{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;border-radius:999px;background:\"+INK+\";color:#fff;font-size:15px;line-height:1;font-weight:600;letter-spacing:-.005em;text-decoration:none;white-space:nowrap;transition:background-color .2s ease,transform .15s ease}\",\".csh-book:active{transform:scale(.97)}\",\".csh-book .s{display:none}\",\".csh-menu-btn{position:relative;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 15px 0 13px;border-radius:999px;border:1px solid rgba(17,17,17,.14);background:transparent;color:\"+INK+\";font:500 15px/1 \"+IS+\";letter-spacing:-.005em;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .15s ease}\",\".csh-menu-btn:active{transform:scale(.96)}\",\".csh-menu-btn[aria-expanded=true]{background:\"+INK+\";border-color:\"+INK+\";color:#fff}\",\".csh-ic{position:relative;width:16px;height:12px;flex:none}\",\".csh-ic i{position:absolute;left:0;right:0;height:1.75px;border-radius:2px;background:currentColor;transition:transform .28s \"+EASE+\",top .28s \"+EASE+\"}\",\".csh-ic i:first-child{top:2.5px}.csh-ic i:last-child{top:7.75px}\",\"[aria-expanded=true] .csh-ic i:first-child{top:5.1px;transform:rotate(45deg)}\",\"[aria-expanded=true] .csh-ic i:last-child{top:5.1px;transform:rotate(-45deg)}\",\"@media (hover:hover){\",\".csh-links a:hover{background:rgba(17,17,17,.06);color:\"+INK+\"}\",\".csh-book:hover{background:#2A2A2A}\",\".csh-menu-btn:hover{background:rgba(17,17,17,.06);border-color:rgba(17,17,17,.22)}\",\".csh-menu-btn[aria-expanded=true]:hover{background:#2A2A2A;border-color:#2A2A2A}\",\"}\",\".csh a:focus-visible,.csh button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--csh-bg-solid,#fff),0 0 0 4px \"+INK+\"}\",\".csh-skip{position:absolute;left:12px;top:-60px;z-index:80;padding:10px 14px;border-radius:10px;background:\"+INK+\";color:#fff;font-size:14px;font-weight:600;text-decoration:none}\",\".csh-skip:focus{top:12px}\",\".csh-ctx{position:relative;z-index:50;background:#fff;border-bottom:1px solid rgba(17,17,17,.08)}\",\".csh-ctx-in{max-width:1200px;margin:0 auto;padding:0 40px;height:56px;display:flex;align-items:center;gap:8px}\",\".csh-ctx-tt,.csh-ctx-t{font:600 17px/1 \"+IS+\";letter-spacing:-.015em;color:\"+INK+\";white-space:nowrap}\",\".csh-ctx-tt{margin-right:16px}\",\".csh-ctx-t{display:none;align-items:center;gap:6px;height:40px;margin:0 0 0 -4px;padding:0 4px;border:0;border-radius:8px;background:transparent;cursor:pointer}\",\".csh-ctx-t svg{transition:transform .25s \"+EASE+\"}\",\".csh-ctx-t[aria-expanded=true] svg{transform:rotate(180deg)}\",\".csh-ctx-links{display:flex;gap:2px}\",\".csh-ctx-links a{display:inline-flex;align-items:center;height:36px;padding:0 12px;border-radius:999px;font-size:14px;font-weight:500;color:#5E5D59;text-decoration:none;transition:background-color .2s ease,color .2s ease}\",\".csh-ctx-apply{margin-left:auto;display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:999px;background:\"+INK+\";color:#fff;font-size:14px;font-weight:600;text-decoration:none;transition:background-color .2s ease,transform .15s ease}\",\".csh-ctx-apply:active{transform:scale(.97)}\",\"@media (hover:hover){.csh-ctx-links a:hover{color:\"+INK+\";background:rgba(17,17,17,.05)}.csh-ctx-apply:hover{background:#2A2A2A}}\",\".csh-ctx-dd{position:absolute;left:20px;top:calc(100% + 6px);min-width:220px;padding:6px;border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(17,17,17,.12),0 0 0 1px rgba(17,17,17,.05);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .16s ease,transform .2s \"+EASE_POP+\",visibility 0s linear .2s}\",\".csh-ctx-dd.on{opacity:1;visibility:visible;transform:none;transition:opacity .18s ease,transform .22s \"+EASE_POP+\",visibility 0s}\",\".csh-ctx-dd a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;font-size:16px;font-weight:500;color:\"+INK+\";text-decoration:none}\",\"@media (hover:hover){.csh-ctx-dd a:hover{background:#F4F4F2}}\",// Responsive — container widths (Safari 16+, Chrome, Firefox, Edge).\n\"@container (max-width:1099px){.csh-links a{padding:0 11px}.csh-in{column-gap:16px}}\",\"@container (max-width:979px){.csh-in{grid-template-columns:minmax(max-content,1fr) auto}.csh-links{display:none}}\",\"@container (max-width:809px){\",\".csh-in,.csh-ctx-in{padding-left:24px;padding-right:24px}\",\".csh-in{column-gap:12px}\",\".csh-logo{font-size:24px}\",\".csh-book{height:40px;padding:0 16px;font-size:14px}\",\".csh-menu-btn{width:40px;padding:0;justify-content:center}\",\".csh-menu-btn .t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\",\".csh-ic{width:18px}\",\".csh-ctx-in{height:52px}\",\".csh-ctx-links{display:none}\",\".csh-ctx-tt{display:none}\",\".csh-ctx-t{display:inline-flex;font-size:16px}\",\"}\",\"@container (max-width:359px){.csh-in,.csh-ctx-in{padding-left:16px;padding-right:16px}.csh-act{gap:6px}.csh-book{padding:0 14px}}\",\"@container (max-width:299px){.csh-book .f{display:none}.csh-book .s{display:inline}}\",// Same breakpoints for browsers without container queries (iOS 15 and older). The header is\n// full width, so viewport width = header width. Last in the sheet, so these win there.\n\"@supports not (container-type: inline-size){\",\"@media (max-width:1099px){html .csh-links a{padding:0 11px}html .csh-in{column-gap:16px}}\",\"@media (max-width:979px){html .csh-in{grid-template-columns:minmax(max-content,1fr) auto}html .csh-links{display:none}}\",\"@media (max-width:809px){\",\"html .csh-in,html .csh-ctx-in{padding-left:24px;padding-right:24px}\",\"html .csh-in{column-gap:12px}\",\"html .csh-logo{font-size:24px}\",\"html .csh-book{height:40px;padding:0 16px;font-size:14px}\",\"html .csh-menu-btn{width:40px;padding:0;justify-content:center}\",\"html .csh-menu-btn .t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\",\"html .csh-ic{width:18px}\",\"html .csh-ctx-in{height:52px}\",\"html .csh-ctx-links{display:none}\",\"html .csh-ctx-tt{display:none}\",\"html .csh-ctx-t{display:inline-flex;font-size:16px}\",\"}\",\"@media (max-width:359px){html .csh-in,html .csh-ctx-in{padding-left:16px;padding-right:16px}html .csh-act{gap:6px}html .csh-book{padding:0 14px}}\",\"@media (max-width:299px){html .csh-book .f{display:none}html .csh-book .s{display:inline}}\",\"}\",\"@media (prefers-reduced-motion:reduce){.csh *,.csh-menu *{transition:none!important;animation:none!important}}\"].join(\"\");// The ORIGINAL CLNLY side-menu gradient — values copied unchanged from ClnlyAppNavigation.tsx\n// (.clnly-menu-band, approved 22 Oct 2026). Ends 12px below the Book button (sized in code).\nconst BAND_CSS=[\".csh-band{position:absolute;z-index:-1;top:0;left:0;right:0;height:76px;overflow:hidden;pointer-events:none;\",\"background:linear-gradient(120deg, #F0F0F0 0%, #F4F4F4 35%, #FBF6EE 70%, #F4EADF 100%)}\",\".csh-band::before,.csh-band::after{content:'';position:absolute;inset:-60% -40%;will-change:transform;animation:16s ease-in-out infinite alternate}\",\".csh-band::before{background:radial-gradient(32% 42% at 34% 44%, rgba(228,226,221,0.9) 0%, rgba(228,226,221,0) 100%), radial-gradient(30% 40% at 44% 62%, rgba(236,234,230,0.9) 0%, rgba(236,234,230,0) 100%);animation-name:cshDriftA}\",\".csh-band::after{background:radial-gradient(28% 38% at 66% 40%, rgba(248,220,226,0.85) 0%, rgba(248,220,226,0) 100%), radial-gradient(34% 40% at 58% 62%, rgba(241,232,214,0.95) 0%, rgba(241,232,214,0) 100%);animation-name:cshDriftB}\",\"@keyframes cshDriftA{0%{transform:translate3d(-10%, -6%, 0)}50%{transform:translate3d(2%, 4%, 0)}100%{transform:translate3d(9%, -3%, 0)}}\",\"@keyframes cshDriftB{0%{transform:translate3d(9%, 5%, 0)}50%{transform:translate3d(-3%, -5%, 0)}100%{transform:translate3d(-10%, 3%, 0)}}\",\"@media (prefers-reduced-motion:reduce){.csh-band::before,.csh-band::after{animation:none}}\"].join(\"\");const MENU_CSS=[\".csh-menu{position:fixed;inset:0;z-index:2147483000;font-family:\"+IS+\";color:\"+INK+\";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}\",\".csh-menu *{box-sizing:border-box}\",// While fading out the layer must not catch clicks (a quick re-open would be swallowed).\n\".csh-menu:not(.on){pointer-events:none}\",\".csh-scrim{position:absolute;left:0;right:0;bottom:0;background:rgba(17,17,17,.24);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);opacity:0;transition:opacity .25s ease-out}\",\".csh-menu.on .csh-scrim{opacity:1}\",\".csh-panel{position:absolute;width:360px;max-height:calc(100vh - 92px);overflow:auto;overscroll-behavior:contain;isolation:isolate;padding:12px;border-radius:24px;background:#fff;box-shadow:0 4px 16px rgba(17,17,17,.08),0 28px 64px -28px rgba(17,17,17,.34),0 0 0 1px rgba(17,17,17,.05);opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top right;transition:opacity .16s ease-out,transform .18s ease-out}\",\".csh-menu.on .csh-panel{opacity:1;transform:none;transition:opacity .2s \"+EASE_POP+\",transform .26s \"+EASE_POP+\"}\",\".csh-who{position:relative;margin:0;padding:8px 6px 0;font-size:13px;line-height:18px;color:\"+MUTED+\"}\",\".csh-who b{color:\"+INK+\";font-weight:600}\",\".csh-pbook{display:flex;align-items:center;justify-content:space-between;min-height:52px;margin:10px 0 0;padding:0 18px;border-radius:16px;background:\"+INK+\";color:#fff;font-size:16px;font-weight:600;letter-spacing:-.005em;text-decoration:none;transition:background-color .2s ease,transform .15s ease}\",\".csh-pbook:active{transform:scale(.98)}\",\".csh-pbook svg{transition:transform .25s \"+EASE+\"}\",\".csh-groups{margin-top:20px}\",\".csh-grp{list-style:none;margin:0;padding:6px 0;border-top:1px solid rgba(17,17,17,.08)}\",\".csh-grp:first-child{border-top:0;padding-top:0}\",\".csh-grp a,.csh-grp button{display:flex;flex-direction:column;justify-content:center;width:100%;min-height:48px;padding:6px 12px;border:0;border-radius:14px;background:transparent;color:\"+INK+\";font:500 15px/20px \"+IS+\";letter-spacing:-.005em;text-align:left;text-decoration:none;cursor:pointer;transition:background-color .15s ease,transform .15s ease}\",\".csh-grp a:active,.csh-grp button:active{transform:scale(.985);background:#EFEDE8}\",\".csh-grp small{margin-top:1px;font-size:13px;line-height:18px;font-weight:400;letter-spacing:0;color:\"+MUTED+\"}\",\".csh-grp .out{color:\"+MUTED+\"}\",\"@media (hover:hover){.csh-grp a:hover,.csh-grp button:hover{background:#F4F3F0}.csh-pbook:hover{background:#2A2A2A}.csh-pbook:hover svg{transform:translateX(3px)}}\",\".csh-menu a:focus-visible,.csh-menu button:focus-visible{outline:none;box-shadow:inset 0 0 0 2px \"+INK+\"}\",\".csh-menu .csh-pbook:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px \"+INK+\"}\",\".csh-st{opacity:0;transform:translateY(8px);transition:opacity .12s ease,transform .12s ease}\",\".csh-menu.on .csh-st{opacity:1;transform:none;transition:opacity .32s ease,transform .42s \"+EASE+\";transition-delay:var(--d,0ms)}\",\"@media (max-width:809px){\",\".csh-scrim{display:none}\",\".csh-panel{left:0!important;right:0!important;bottom:0;width:auto;max-height:none;border-radius:0;box-shadow:none;padding:4px 24px calc(32px + env(safe-area-inset-bottom));transform:translateY(-10px);transform-origin:top center}\",\".csh-who{padding:14px 0 0;font-size:14px}\",\".csh-pbook{min-height:56px;margin-top:12px;font-size:17px;border-radius:16px}\",\".csh-groups{margin-top:22px}\",\".csh-grp{padding:10px 0}\",\".csh-grp a,.csh-grp button{min-height:56px;padding:8px 0;border-radius:12px;font-size:24px;line-height:30px;font-weight:600;letter-spacing:-.02em}\",\".csh-grp small{margin-top:2px;font-size:15px;line-height:20px;font-weight:400;letter-spacing:0}\",\".csh-grp.util a{min-height:48px;font-size:18px;line-height:24px;font-weight:500;letter-spacing:-.01em;color:\"+INK2+\"}\",\".csh-grp .out{min-height:48px;font-size:18px;line-height:24px;font-weight:500;letter-spacing:-.01em}\",\".csh-grp a:active,.csh-grp button:active{background:transparent;opacity:.6;transform:none}\",\"}\",\"@media (max-width:359px){.csh-panel{padding-left:16px;padding-right:16px}.csh-grp a,.csh-grp button{font-size:22px}}\",\"@media (prefers-reduced-motion:reduce){.csh-scrim,.csh-panel,.csh-st{transition:none!important;transform:none!important}}\"].join(\"\");const SHEET_MAX=809;// Link handling shared by the header and the section bar: Framer-router navigation,\n// in-page anchors, and new-tab clicks left to the browser.\nfunction useFollow(before){const go=useSiteNav();return(e,href)=>{if(before)before();if(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.button!==0)return;const id=anchorId(href);if(href.charAt(0)===\"#\"){if(id&&document.getElementById(id)){e.preventDefault();scrollToId(id);}return;}e.preventDefault();if(id&&document.getElementById(id)){scrollToId(id)// section is on this page: scroll in place\n;return;}go(href);if(id)scrollWhenReady(id);};}function useCanUseDom(){const[ok,setOk]=useState(false);useEffect(()=>{setOk(RenderTarget.current()!==RenderTarget.canvas);},[]);return ok;}const Arrow=()=>/*#__PURE__*/_jsx(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M13 6l6 6-6 6\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});// The header itself, driven by a session. Exported so the review bench can show\n// signed-out / signed-in / cleaner states without touching anyone's account.\nexport function SiteHeaderView(props){const tone=props.tone===\"white\"?\"white\":\"cream\";const bookHref=props.bookHref||DEF_BOOK;const session=props.session;const go=useSiteNav();const[open,setOpen]=useState(false);const[mounted,setMounted]=useState(false);const[scrolled,setScrolled]=useState(false);const[sheet,setSheet]=useState(false);const[geo,setGeo]=useState({top:66,right:16});const[path,setPath]=useState(\"\");const barRef=useRef(null);const btnRef=useRef(null);const panelRef=useRef(null);const bandRef=useRef(null);const pbookRef=useRef(null);useEffect(()=>{if(typeof window===\"undefined\")return;setPath(props.currentPath||window.location.pathname);const onScroll=()=>setScrolled(window.scrollY>4);onScroll();window.addEventListener(\"scroll\",onScroll,{passive:true});return()=>window.removeEventListener(\"scroll\",onScroll);},[props.currentPath]);const measure=useCallback(()=>{const bar=barRef.current;const btn=btnRef.current;if(!bar||!btn)return;const b=bar.getBoundingClientRect();const r=btn.getBoundingClientRect();setSheet(window.innerWidth<=SHEET_MAX);setGeo({top:Math.round(b.bottom),right:Math.max(12,Math.round(document.documentElement.clientWidth-r.right))});},[]);const close=useCallback((focusBack=true)=>{setOpen(false);if(focusBack&&btnRef.current)btnRef.current.focus({preventScroll:true});},[]);const toggle=()=>{if(open)return close();measure();setMounted(true);requestAnimationFrame(()=>requestAnimationFrame(()=>setOpen(true)));};useEffect(()=>{if(open||!mounted)return;const t=window.setTimeout(()=>setMounted(false),200);return()=>window.clearTimeout(t);},[open,mounted]);// Original rule: the gradient ends in a straight line 12px below the Book button.\nuseEffect(()=>{if(!mounted)return;const fit=()=>{const band=bandRef.current;const btn=pbookRef.current;if(!band||!btn)return;band.style.height=btn.offsetTop+btn.offsetHeight+12+\"px\";};fit();if(typeof ResizeObserver===\"undefined\"||!panelRef.current)return;const ro=new ResizeObserver(fit);ro.observe(panelRef.current);if(pbookRef.current)ro.observe(pbookRef.current);return()=>ro.disconnect();},[mounted,session,sheet]);// While open: lock page scroll on phones, move focus in, keep Tab inside, Esc closes.\nuseEffect(()=>{if(!open||typeof window===\"undefined\")return;const isSheet=window.innerWidth<=SHEET_MAX;const html=document.documentElement;const body=document.body;const prev=[html.style.overflow,body.style.overflow,body.style.paddingRight];const y=window.scrollY// some browsers reset the scroll position when the lock lifts\n;if(isSheet){html.style.overflow=\"hidden\";body.style.overflow=\"hidden\";}// Official: on larger screens, block page scrolling without changing overflow\n// (no jump to the top, no layout shift). The menu panel itself can still scroll.\nconst panelScrolls=()=>!!panelRef.current&&panelRef.current.scrollHeight>panelRef.current.clientHeight+1;const inPanel=t=>!!panelRef.current&&t instanceof Node&&panelRef.current.contains(t);const stopWheel=e=>{if(!(inPanel(e.target)&&panelScrolls()))e.preventDefault();};const SCROLL_KEYS=[\" \",\"PageUp\",\"PageDown\",\"Home\",\"End\",\"ArrowUp\",\"ArrowDown\"];const stopKeys=e=>{const t=e.target;if(t&&(t.tagName===\"INPUT\"||t.tagName===\"TEXTAREA\"||t.tagName===\"BUTTON\"))return;if(SCROLL_KEYS.indexOf(e.key)!==-1)e.preventDefault();};if(!isSheet){window.addEventListener(\"wheel\",stopWheel,{passive:false});window.addEventListener(\"touchmove\",stopWheel,{passive:false});window.addEventListener(\"keydown\",stopKeys);}if(pbookRef.current)pbookRef.current.focus({preventScroll:true});const onKey=e=>{if(e.key===\"Escape\"){e.preventDefault();close();return;}if(e.key!==\"Tab\"||!panelRef.current)return;const f=[btnRef.current,...Array.from(panelRef.current.querySelectorAll(\"a,button\"))].filter(Boolean);const i=f.indexOf(document.activeElement);e.preventDefault();let j=i===-1?0:e.shiftKey?i-1:i+1;if(j<0)j=f.length-1;if(j>=f.length)j=0;f[j].focus();};const onResize=()=>measure();document.addEventListener(\"keydown\",onKey);window.addEventListener(\"resize\",onResize);return()=>{html.style.overflow=prev[0];body.style.overflow=prev[1];window.removeEventListener(\"wheel\",stopWheel);window.removeEventListener(\"touchmove\",stopWheel);window.removeEventListener(\"keydown\",stopKeys);if(isSheet&&Math.abs(window.scrollY-y)>1)window.scrollTo({top:y,behavior:\"instant\"});document.removeEventListener(\"keydown\",onKey);window.removeEventListener(\"resize\",onResize);};},[open,close,measure]);const follow=useFollow(()=>{if(open)close(false);});// Skip link: #main when it exists, otherwise the first <main> or <h1> after the header.\nconst skip=e=>{const target=document.getElementById(\"main\")||document.querySelector(\"main\")||document.querySelector(\"h1\");if(!target)return;e.preventDefault();if(!target.hasAttribute(\"tabindex\"))target.setAttribute(\"tabindex\",\"-1\");target.focus({preventScroll:true});const top=target.getBoundingClientRect().top+window.scrollY-ANCHOR_OFFSET;window.scrollTo({top:Math.max(0,top)});};const signOut=async()=>{close(false);if(props.onSignOut)return props.onSignOut();try{/* Official site: no accounts */}catch{}go(\"/\",{replace:true});};const links=linksFor(props);const groups=menuGroups(session,props);const showAccount=false// Official: marketing-only\n;let n=0;const d=()=>({[\"--d\"]:40+n++*28+\"ms\"});const panel=mounted&&props.live&&typeof document!==\"undefined\"?/*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(\"div\",{className:\"csh-menu\"+(open?\" on\":\"\"),onMouseDown:e=>e.target===e.currentTarget&&close(),children:[/*#__PURE__*/_jsx(\"style\",{children:BAND_CSS+MENU_CSS}),/*#__PURE__*/_jsx(\"div\",{className:\"csh-scrim\",style:{top:geo.top},onClick:()=>close()}),/*#__PURE__*/_jsxs(\"div\",{ref:panelRef,id:\"csh-menu-panel\",className:\"csh-panel\",role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":\"Menu\",style:{top:geo.top+(sheet?0:8),right:geo.right},children:[/*#__PURE__*/_jsx(\"div\",{ref:bandRef,className:\"csh-band\",\"aria-hidden\":\"true\"}),showAccount&&session.signedIn&&session.name?/*#__PURE__*/_jsxs(\"p\",{className:\"csh-who csh-st\",style:d(),children:[\"Signed in as \",/*#__PURE__*/_jsx(\"b\",{children:session.name})]}):null,/*#__PURE__*/_jsxs(\"a\",{ref:pbookRef,className:\"csh-pbook csh-st\",style:d(),href:bookHref,onClick:e=>follow(e,bookHref),children:[\"Book a cleaning\",/*#__PURE__*/_jsx(Arrow,{})]}),/*#__PURE__*/_jsxs(\"nav\",{className:\"csh-groups\",\"aria-label\":\"Site\",children:[groups.map((g,k)=>/*#__PURE__*/_jsx(\"ul\",{className:\"csh-grp\"+(k===groups.length-1?\" util\":\"\"),children:g.map(it=>/*#__PURE__*/_jsx(\"li\",{className:\"csh-st\",style:d(),children:/*#__PURE__*/_jsxs(\"a\",{href:it.href,onClick:e=>follow(e,it.href),children:[/*#__PURE__*/_jsx(\"span\",{children:it.label}),it.hint?/*#__PURE__*/_jsx(\"small\",{children:it.hint}):null]})},it.label))},k)),showAccount&&session.signedIn?/*#__PURE__*/_jsx(\"ul\",{className:\"csh-grp\",children:/*#__PURE__*/_jsx(\"li\",{className:\"csh-st\",style:d(),children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"out\",onClick:signOut,children:\"Sign out\"})})}):null]})]})]}),document.body):null;const vars={[\"--csh-bg\"]:tone===\"white\"?\"rgba(255,255,255,.98)\":\"rgba(250,249,246,.98)\",[\"--csh-bg-solid\"]:tone===\"white\"?\"#fff\":\"#FAF9F6\",[\"--csh-glass\"]:tone===\"white\"?\"rgba(255,255,255,.72)\":\"rgba(250,249,246,.74)\",width:\"100%\",...props.style};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"csh csh-stick\",style:vars,children:[/*#__PURE__*/_jsx(\"link\",{rel:\"preconnect\",href:\"https://fonts.googleapis.com\"}),/*#__PURE__*/_jsx(\"link\",{rel:\"preconnect\",href:\"https://fonts.gstatic.com\",crossOrigin:\"\"}),/*#__PURE__*/_jsx(\"link\",{rel:\"stylesheet\",href:FONT_HREF}),/*#__PURE__*/_jsx(\"style\",{children:F2_CSS+CSS}),/*#__PURE__*/_jsx(\"a\",{className:\"csh-skip\",href:\"#main\",onClick:skip,children:\"Skip to content\"}),/*#__PURE__*/_jsxs(\"header\",{ref:barRef,className:\"csh-bar\"+(scrolled?\" is-scrolled\":\"\")+(open?\" is-open\":\"\"),children:[props.accent!==false?/*#__PURE__*/_jsx(\"span\",{className:\"csh-accent\",\"aria-hidden\":\"true\"}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"csh-in\",children:[/*#__PURE__*/_jsx(\"a\",{className:\"csh-brand\",href:\"/\",\"aria-label\":\"Clnly home\",onClick:e=>follow(e,\"/\"),children:/*#__PURE__*/_jsx(\"span\",{className:\"csh-logo\",children:\"Clnly\"})}),/*#__PURE__*/_jsx(\"nav\",{className:\"csh-links\",\"aria-label\":\"Main\",children:links.map(l=>/*#__PURE__*/_jsx(\"a\",{href:l.href,\"aria-current\":path&&(l.href===path||l.href===DEF_HELP&&path.indexOf(DEF_HELP+\"/\")===0)?\"page\":undefined,onClick:e=>follow(e,l.href),children:l.label},l.label))}),/*#__PURE__*/_jsxs(\"div\",{className:\"csh-act\",children:[/*#__PURE__*/_jsxs(\"a\",{className:\"csh-book\",href:bookHref,onClick:e=>follow(e,bookHref),children:[/*#__PURE__*/_jsx(\"span\",{className:\"f\",children:\"Book a cleaning\"}),/*#__PURE__*/_jsx(\"span\",{className:\"s\",\"aria-hidden\":\"true\",children:\"Book\"})]}),/*#__PURE__*/_jsxs(\"button\",{ref:btnRef,type:\"button\",className:\"csh-menu-btn\",\"aria-expanded\":open,\"aria-controls\":\"csh-menu-panel\",\"aria-haspopup\":\"dialog\",\"aria-label\":open?\"Close menu\":\"Open menu\",onClick:toggle,children:[/*#__PURE__*/_jsxs(\"span\",{className:\"csh-ic\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"i\",{}),/*#__PURE__*/_jsx(\"i\",{})]}),/*#__PURE__*/_jsx(\"span\",{className:\"t\",\"aria-hidden\":\"true\",children:open?\"Close\":\"Menu\"})]})]})]})]})]}),panel]});}/**\n * For professionals section bar (title, section links, Apply). Place directly below the header,\n * Position: Relative, full width. Phones: the title becomes a \"For professionals ⌄\" menu.\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export function ClnlyProSectionBar(props){const[ctxOpen,setCtxOpen]=useState(false);const ctxBtnRef=useRef(null);const follow=useFollow(()=>setCtxOpen(false));useEffect(()=>{if(!ctxOpen)return;const onKey=e=>{if(e.key===\"Escape\"){e.preventDefault();setCtxOpen(false);if(ctxBtnRef.current)ctxBtnRef.current.focus();}};const onDown=e=>{const t=e.target;if(!t.closest||!t.closest(\".csh-ctx\"))setCtxOpen(false);};document.addEventListener(\"keydown\",onKey);document.addEventListener(\"mousedown\",onDown);return()=>{document.removeEventListener(\"keydown\",onKey);document.removeEventListener(\"mousedown\",onDown);};},[ctxOpen]);const applyHref=props.applyHref===undefined?\"#apply\":props.applyHref;return /*#__PURE__*/_jsxs(\"div\",{className:\"csh csh-ctx\",style:{width:\"100%\",...props.style},children:[/*#__PURE__*/_jsx(\"style\",{children:F2_CSS+CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"csh-ctx-in\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"csh-ctx-tt\",children:\"For professionals\"}),/*#__PURE__*/_jsxs(\"button\",{ref:ctxBtnRef,type:\"button\",className:\"csh-ctx-t\",\"aria-expanded\":ctxOpen,\"aria-controls\":\"csh-ctx-dd\",onClick:()=>setCtxOpen(!ctxOpen),children:[\"For professionals\",/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 9l6 6 6-6\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.25\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}),/*#__PURE__*/_jsx(\"nav\",{className:\"csh-ctx-links\",\"aria-label\":\"For professionals\",children:PRO_LINKS.map(l=>/*#__PURE__*/_jsx(\"a\",{href:l.href,onClick:e=>follow(e,l.href),children:l.label},l.label))}),applyHref?/*#__PURE__*/_jsx(\"a\",{className:\"csh-ctx-apply\",href:applyHref,onClick:e=>follow(e,applyHref),children:props.applyLabel||\"Apply\"}):null]}),/*#__PURE__*/_jsx(\"div\",{id:\"csh-ctx-dd\",className:\"csh-ctx-dd\"+(ctxOpen?\" on\":\"\"),children:PRO_LINKS.map(l=>/*#__PURE__*/_jsx(\"a\",{href:l.href,onClick:e=>follow(e,l.href),children:l.label},l.label))})]});}addPropertyControls(ClnlyProSectionBar,{applyHref:{type:ControlType.String,title:\"Apply link\",defaultValue:\"#apply\"},applyLabel:{type:ControlType.String,title:\"Apply label\",defaultValue:\"Apply\"}});/**\n * CLNLY universal site header. Place full width at the top of a page, Position: Sticky, Top 0.\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function ClnlySiteHeader(props){const live=useCanUseDom();const full=false// Official: marketing-only\n;const session=useSiteSession(live&&full);const view=full?session:{signedIn:false,isPro:false,name:null};return /*#__PURE__*/_jsx(SiteHeaderView,{...props,session:view,live:live});}addPropertyControls(ClnlySiteHeader,{mode:{type:ControlType.Enum,title:\"Site\",options:[\"full\",\"marketing\"],optionTitles:[\"Full (accounts)\",\"Marketing only\"],defaultValue:\"marketing\"},tone:{type:ControlType.Enum,title:\"Background\",options:[\"cream\",\"white\"],optionTitles:[\"Cream\",\"White\"],defaultValue:\"cream\"},accent:{type:ControlType.Boolean,title:\"Orange accent\",defaultValue:true},bookHref:{type:ControlType.String,title:\"Book link\",defaultValue:DEF_BOOK},helpHref:{type:ControlType.String,title:\"Help link\",defaultValue:DEF_HELP},showBecomeCleaner:{type:ControlType.Boolean,title:\"Become a cleaner\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"SiteHeaderProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SiteHeaderView\":{\"type\":\"reactComponent\",\"name\":\"SiteHeaderView\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SiteSession\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ClnlyProSectionBar\":{\"type\":\"reactComponent\",\"name\":\"ClnlyProSectionBar\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"menuGroups\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ClnlySiteHeader\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__Fram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