1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0c53e-a1e2-0000-a4ee-3b4f0c514a0c";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="fe7d472e-958a-5f33-91bb-c6a7ba5a156c")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,16715,e=>{"use strict";let t=(0,e.i(475254).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],16715)},972396,e=>{"use strict";e.i(510237),e.i(261422),e.i(679638),e.i(517995),e.i(829669),e.i(748163),e.i(144226),e.i(634959),e.i(409687),e.i(85961),e.i(24359),e.i(324856),e.i(97208),e.i(687447),e.i(914582),e.i(539261),e.i(879684),e.i(620431),e.i(300579),e.i(476573),e.i(351314),e.i(673844),e.i(930727),e.i(945555),e.i(600620),e.i(989907),e.i(592250),e.i(75022),e.i(107230),e.i(858855),e.i(995409),e.i(825117),e.i(304225),e.s([])},982649,e=>{"use strict";var t=e.i(843476),s=e.i(63209),a=e.i(607486),i=e.i(595468),r=e.i(248256),l=e.i(263488),n=e.i(522016),o=e.i(271645),d=e.i(167881),c=e.i(23750),m=e.i(10708);e.i(558486);var u=e.i(513793),x=e.i(216642);let h=new Set(["gmail.com","googlemail.com","outlook.com","hotmail.com","hotmail.co.uk","live.com","msn.com","yahoo.com","yahoo.co.uk","ymail.com","icloud.com","me.com","mac.com","aol.com","protonmail.com","proton.me","zoho.com","mail.com","gmx.com","gmx.net","fastmail.com","tutanota.com","hey.com"]),p=new Set(["co.uk","com.au","co.nz","co.za","com.br","co.jp","co.kr","co.in","org.uk","net.au","ac.uk","gov.uk"]);e.s(["AddCompanyForm",0,function(){let[e,g]=(0,o.useState)(""),[b,f]=(0,o.useState)(""),[y,j]=(0,o.useState)(""),[v,w]=(0,o.useState)(!1),[k,N]=(0,o.useState)(!1),[C,S]=(0,o.useState)(""),[M,q]=(0,o.useState)(null),[L,A]=(0,o.useState)(null),E=(0,o.useMemo)(()=>(function(e){if(!e)return"";let t=e.trim().toLowerCase();t.startsWith("http://")||t.startsWith("https://")||(t=`https://${t}`);try{let e=new URL(t).hostname.replace(/^www\./,""),s=e.split(".");if(s.length>=3){let e=s.slice(-2).join(".");if(p.has(e))return s.slice(-3).join(".")}return s.length>=2?s.slice(-2).join("."):e}catch{return""}})(b),[b]),P=(0,o.useMemo)(()=>{let e;return 2===(e=y.toLowerCase().trim().split("@")).length&&e[1]?e[1]:""},[y]),U=!!(P&&h.has(P)),B=!!(E&&P&&E===P),F=async t=>{if(t.preventDefault(),w(!0),q(null),A(null),!e.trim()||e.length<2){A({field:"name",message:"Company name must be at least 2 characters"}),w(!1);return}if(!E){A({field:"websiteUrl",message:"Please enter a valid website URL"}),w(!1);return}if(!P){A({field:"workEmail",message:"Please enter a valid email address"}),w(!1);return}if(U){A({field:"workEmail",message:"Please use your company email, not a personal email"}),w(!1);return}if(!B){A({field:"workEmail",message:`Email domain (${P}) must match website domain (${E})`}),w(!1);return}try{await (0,x.requestAddCompany)({name:e.trim(),websiteUrl:b.trim(),workEmail:y.trim().toLowerCase()}),S(y.trim().toLowerCase()),N(!0)}catch(e){e instanceof u.ApiError?e.field?A({field:e.field,message:e.message}):q(e.message):q("Something went wrong. Please try again.")}finally{w(!1)}};return k?(0,t.jsx)("div",{className:"mx-auto max-w-xl px-4 py-16 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"rounded-lg border border-green-200 bg-green-50 p-8 text-center dark:border-green-800 dark:bg-green-950",children:[(0,t.jsx)(i.CheckCircle2,{className:"mx-auto h-12 w-12 text-green-600 dark:text-green-400"}),(0,t.jsx)("h1",{className:"mt-4 text-2xl font-black text-green-800 dark:text-green-200",children:"Company Submitted!"}),(0,t.jsxs)("p",{className:"mt-2 text-green-700 dark:text-green-300",children:["Thank you for submitting your company. We'll review it and notify you at"," ",(0,t.jsx)("strong",{children:C}),"once it's approved."]}),(0,t.jsx)("p",{className:"mt-4 text-sm text-green-600 dark:text-green-400",children:"This usually takes 1-2 business days."}),(0,t.jsxs)("div",{className:"mt-6 flex flex-col gap-3 sm:flex-row sm:justify-center",children:[(0,t.jsx)(d.Button,{asChild:!0,variant:"outline",children:(0,t.jsx)(n.default,{href:"/job-search",children:"Browse Jobs"})}),(0,t.jsx)(d.Button,{asChild:!0,children:(0,t.jsx)(n.default,{href:"/companies",children:"View Companies"})})]})]})}):(0,t.jsxs)("div",{className:"mx-auto max-w-xl px-4 py-16 sm:px-6 lg:px-8",children:[(0,t.jsx)("h1",{className:"heading-1",children:"Add Your Company"}),(0,t.jsx)("p",{className:"mt-4 text-muted-foreground",children:"Get your company listed on 4dayweek.io and start attracting talent looking for better work-life balance."}),(0,t.jsxs)("form",{onSubmit:F,className:"mt-8 space-y-6",children:[M&&(0,t.jsxs)("div",{className:"flex items-start gap-3 rounded-lg border border-red-200 bg-red-50 p-4 text-sm text-red-700 dark:border-red-800 dark:bg-red-950 dark:text-red-300",children:[(0,t.jsx)(s.AlertCircle,{className:"h-5 w-5 flex-shrink-0"}),(0,t.jsx)("span",{children:M})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{htmlFor:"name",children:"Company Name"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(a.Building2,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)(c.Input,{id:"name",placeholder:"Acme Inc.",className:"pl-10",value:e,onCh
1ange:e=>g(e.target.value),required:!0,disabled:v,maxLength:100})]}),L?.field==="name"&&(0,t.jsx)("p",{className:"text-sm text-destructive",children:L.message})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{htmlFor:"websiteUrl",children:"Company Website"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(r.Globe,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)(c.Input,{id:"websiteUrl",type:"url",placeholder:"https://example.com",className:"pl-10",value:b,onChange:e=>f(e.target.value),required:!0,disabled:v})]}),E&&(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Domain: ",E]}),L?.field==="websiteUrl"&&(0,t.jsx)("p",{className:"text-sm text-destructive",children:L.message})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{htmlFor:"workEmail",children:"Your Work Email"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(l.Mail,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)(c.Input,{id:"workEmail",type:"email",placeholder:"[email protected]",className:"pl-10",value:y,onChange:e=>j(e.target.value),required:!0,disabled:v})]}),P&&(0,t.jsxs)("div",{className:"space-y-1",children:[U&&(0,t.jsx)("p",{className:"text-sm text-destructive",children:"Personal email addresses are not accepted. Please use your company email."}),E&&P&&!U&&!B&&(0,t.jsxs)("p",{className:"text-sm text-destructive",children:["Email domain (",P,") must match website domain (",E,")"]}),B&&!U&&(0,t.jsxs)("p",{className:"flex items-center gap-1 text-sm text-green-600 dark:text-green-400",children:[(0,t.jsx)(i.CheckCircle2,{className:"h-4 w-4"}),"Domain verified"]})]}),L?.field==="workEmail"&&(0,t.jsx)("p",{className:"text-sm text-destructive",children:L.message})]}),(0,t.jsxs)("div",{className:"rounded-lg bg-muted/50 p-4",children:[(0,t.jsx)("h3",{className:"font-medium",children:"What happens next?"}),(0,t.jsxs)("ol",{className:"mt-2 list-inside list-decimal space-y-1 text-sm text-muted-foreground",children:[(0,t.jsx)("li",{children:"We'll review your submission within 1-2 business days"}),(0,t.jsx)("li",{children:"Once approved, we'll notify you by email"}),(0,t.jsx)("li",{children:"You can then claim and manage your company profile"})]})]}),(0,t.jsx)(d.Button,{type:"submit",className:"w-full",disabled:v||!B||U,children:v?"Submitting...":"Submit Company"}),(0,t.jsxs)("p",{className:"text-center text-sm text-muted-foreground",children:["Already have a company listed?"," ",(0,t.jsx)(n.default,{href:"/company-search",className:"text-primary hover:underline",children:"Search and claim it"})]})]})]})}])},664030,e=>{"use strict";let t=(0,e.i(475254).default)("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]);e.s(["Trophy",0,t],664030)},141974,e=>{"use strict";var t=e.i(843476),s=e.i(522016),a=e.i(193872);e.i(393475);var i=e.i(806908);e.s(["StickyMobileCta",0,function({label:e,href:r,testId:l,surface:n,slug:o,nofollow:d=!1,eventName:c="landing_cta_click",eventProps:m,hideAt:u="lg"}){let x="xl"===u?"xl:hidden":"lg:hidden";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-testid":l,className:(0,i.cn)("fixed bottom-0 left-0 right-0 z-50 border-t bg-white/95 px-4 py-3 backdrop-blur",x),children:(0,t.jsx)(s.default,{href:r,prefetch:!1,...d?{rel:"nofollow"}:{},onClick:()=>(0,a.track)(c,{surface:n,slug:o,destination:r,...m}),className:"flex h-12 w-full items-center justify-center rounded-xl bg-brand-pink px-4 text-sm font-semibold text-white transition-colors hover:bg-brand-pink/90",children:e})}),(0,t.jsx)("div",{className:(0,i.cn)("h-20",x)})]})}])},974875,e=>{"use strict";let t=(0,e.i(475254).default)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["HelpCircle",0,t],974875)},201027,e=>{"use strict";var t=e.i(843476),s=e.i(664659),a=e.i(974875),i=e.i(271645);e.i(393475);var r=e.i(806908);function l({question:e,answer:a}){let[n,o]=(0,i.useState)(!1);return(0,t.jsxs)("div",{className:"border-b border-border-subtle last:border-b-0",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>o(!n),className:"flex w-full items-center justify-between py-4 text-left transition-colors hover:cursor-pointer hover:text-brand-pink",children:[(0,t.jsx)("span",{className:"pr-4 font-medium text-brand-gray-900",children:e}),(0,t.jsx)("div",{className:(0,r.cn)("flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition-all",n?"bg-rose-100":"bg-brand-gray-100"),children:(0,t.jsx)(s.ChevronDown,{className:(0,r.cn)("h-4 w-4 transition-transform duration-200",n?"rotate-180 text-brand-pink":"text-brand-gray-600")})})]}),(0,t.jsx)("div",{className:(0,r.cn)("grid transition-all duration-200 ease-in-out",n?"grid-rows-[1fr] pb-5":"grid-rows-[0fr]"),children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("div",{className:"leading-relaxed text-brand-gray-600",children:a})})})]})}e.s(["LandingPageFAQs",0,function({faqs:e}){return(0,t.jsxs)("section",{className:"relative overflow-hidden bg-gradient-to-b from-white via-brand-gray-50/50 to-white py-16 sm:py-20",children:[(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,t.jsx)("div",{className:"absolute left-1/4 top-0 h-[300px] w-[300px] -translate-x-1/2 roun
1ded-full bg-indigo-100/30 blur-3xl"}),(0,t.jsx)("div",{className:"absolute bottom-0 right-1/4 h-[300px] w-[300px] translate-x-1/2 rounded-full bg-rose-100/30 blur-3xl"})]}),(0,t.jsxs)("div",{className:"relative mx-auto max-w-3xl px-4 sm:px-6",children:[(0,t.jsxs)("div",{className:"mb-10 text-center",children:[(0,t.jsxs)("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full bg-indigo-50 px-4 py-1.5 text-sm font-medium text-indigo-700",children:[(0,t.jsx)(a.HelpCircle,{className:"h-4 w-4","aria-hidden":"true"}),"Got questions?"]}),(0,t.jsx)("h2",{className:"font-display text-3xl font-bold tracking-tight text-brand-gray-900 sm:text-4xl",children:"Frequently asked questions"}),(0,t.jsx)("p",{className:"subheading mt-3",children:"Everything you need to know about 4-day week jobs"})]}),(0,t.jsx)("div",{className:"rounded-2xl border bg-white px-6 shadow-lg shadow-slate-100/50 sm:px-8",children:e.map(e=>(0,t.jsx)(l,{question:e.question,answer:e.answer},e.question))})]})]})}])}]); 2 3//# chunkId=fe7d472e-958a-5f33-91bb-c6a7ba5a156c
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.