1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[686],{1686:(e,t,s)=>{s.d(t,{A:()=>d});var r=s(7876),a=s(8230),l=s.n(a),n=s(9099),o=s(4232),i=s(6969);function c(e){let{items:t,cta:s,secondaryCta:a,loginUrl:c,iconColor:h,linkClass:d,panelBorder:m}=e,[p,x]=(0,o.useState)(!1),{pathname:u}=(0,n.useRouter)();return(0,r.jsxs)("div",{className:"md:hidden",children:[(0,r.jsx)("button",{type:"button","aria-label":p?"Close menu":"Open menu","aria-expanded":p,onClick:()=>x(e=>!e),className:"flex h-9 w-9 items-center justify-center ".concat(h),children:(0,r.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:p?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"}),(0,r.jsx)("line",{x1:"6",y1:"18",x2:"18",y2:"6"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),(0,r.jsx)("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),(0,r.jsx)("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})})}),p&&(0,r.jsxs)("div",{className:"absolute left-0 right-0 top-full flex flex-col gap-1 border-b bg-white px-6 py-4 shadow-lg ".concat(m),children:[t.map(e=>{var t,s;if(e.children)return(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"pt-2 pb-1 text-xs font-semibold uppercase tracking-wider opacity-60 ".concat(d),children:e.label}),e.children.map(e=>{let t=u===e.href,s="flex items-center justify-between gap-4 py-2 pl-4 text-sm ".concat(t?"font-semibold text-home-navy":d),a=(0,r.jsxs)(r.Fragment,{children:[e.label,t&&(0,r.jsx)("span",{className:"text-home-teal",children:"â"})]});return e.href.startsWith("/")?(0,r.jsx)(l(),{href:e.href,"aria-current":t?"page":void 0,onClick:()=>x(!1),className:s,children:a},e.label):(0,r.jsx)("a",{href:e.href,"aria-current":t?"page":void 0,onClick:()=>x(!1),className:s,children:a},e.label)})]},e.label);let a=t=>{var s;null==(s=e.onClick)||s.call(e,t),x(!1)},n=null!=(t=e.href)?t:"#",o=null!=(s=e.active)?s:n===u,i=o?"flex items-center justify-between gap-4 py-2 text-sm font-semibold text-home-navy":"py-2 text-sm ".concat(d),c=(0,r.jsxs)(r.Fragment,{children:[e.label,o&&(0,r.jsx)("span",{className:"text-home-teal",children:"â"})]});return n.startsWith("/")?(0,r.jsx)(l(),{href:n,onClick:a,className:i,children:c},e.label):(0,r.jsx)("a",{href:n,onClick:a,className:i,children:c},e.label)}),(0,r.jsxs)("div",{className:"mt-3 flex flex-col gap-2 border-t px-8 pt-4 ".concat(m),children:[(0,r.jsx)(i.A,{href:s.href,size:"sm",onClick:()=>x(!1),className:"w-full",children:s.label}),a&&(0,r.jsx)(i.A,{href:a.href,external:a.external,variant:"teal",size:"sm",onClick:()=>x(!1),className:"w-full",children:a.label}),c&&(0,r.jsxs)("div",{className:"pt-2 text-center text-[0.8rem] ".concat(d),children:["Already have an account?"," ",(0,r.jsx)("a",{href:c,onClick:()=>x(!1),className:"font-semibold text-home-navy underline underline-offset-2",children:"Log in"})]})]})]})]})}var h=s(3365);function d(){let{pathname:e}=(0,n.useRouter)(),t="/"===e,s=t?"#how-it-works":"/#how-it-works",a=t?e=>{var t;e.preventDefault(),null==(t=document.getElementById("how-it-works"))||t.scrollIntoView({behavior:"smooth"})}:void 0,[d,m]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let e=document.getElementById("how-it-works");if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;return m(t.isIntersecting)},{rootMargin:"-45% 0px -45% 0px"});return t.observe(e),()=>t.disconnect()},[e]);let p="cursor-pointer whitespace-nowrap text-sm text-home-secondary hover:text-home-navy",x="cursor-pointer whitespace-nowrap text-sm font-bold text-home-navy";return(0,r.jsxs)("nav",{className:"sticky top-0 z-50 flex items-center justify-between gap-4 border-b border-home-border bg-white px-6 py-4 lg:px-10",children:[(0,r.jsx)(l(),{href:"/",className:"flex items-center",children:(0,r.jsx)("img",{src:h.au,alt:"Underboss",className:"h-8 w-auto"})}),(0,r.jsxs)("div",{className:"hidden items-center gap-4 md:flex lg:gap-8",children:[(0,r.jsx)("a",{href:s,onClick:a,className:d?x:p,children:"How it works"}),(0,r.jsxs)("div",{className:"group relative",children:[(0,r.jsx)("a",{href:"#",onClick:e=>e.preventDefault(),className:p,children:"Who it's for â¾"}),(0,r.jsx)("div",{className:"absolute left-0 top-full z-[200] hidden min-w-[220px] pt-3 group-hover:block",children:(0,r.jsx)("div",{className:"rounded-[10px] border border-home-border bg-white py-2 shadow-xl",children:h.Rt.map(t=>{let s=e===t.href;return(0,r.jsxs)(l(),{href:t.href,"aria-current":s?"page":void 0,className:"flex items-center justify-between gap-4 whitespace-nowrap px-5 py-2.5 text-[0.82rem] hover:bg-home-surface ".concat(s?"bg-home-surface font-semibold text-home-navy":"text-home-secondary hover:text-home-navy"),children:[t.label,s&&(0,r.jsx)("span",{className:"text-home-teal",children:"â"})]},t.href)})})})]}),(0,r.jsx)(l(),{href:"/pricing",className:"/pricing"===e?x:p,children:"Pricing"})]}),(0,r.jsxs)("div",{className:"hidden items-center gap-2.5 md:flex lg:gap-5",children:[(0,r.jsx)("a",{href:h.aW,className:p,children:"Log in"}),(0,r.jsx)(i.A,{href:h.Gw,external:!0,variant:"teal",size:"sm",className:"whitespace-nowrap md:px-3 lg:px-5",children:(0,r.jsxs)("span",{children:["Book a",(0,r.jsx)("span",{className:"hidden lg:inline",children:" 15-min"})," demo"]})}),(0,r.jsx)(i.A,{href:h.cG,size:"sm",className:"whitespace-nowrap md:px-3 lg:px-5",children:"Get Started"})]}
1),(0,r.jsx)(c,{items:[{label:"How it works",href:s,onClick:a,active:d},{label:"Who it's for",children:h.Rt.map(e=>({label:e.label,href:e.href}))},{label:"Pricing",href:"/pricing"}],cta:{href:h.cG,label:"Get Started"},secondaryCta:{href:h.Gw,label:"Book a 15-min demo",external:!0},loginUrl:h.aW,iconColor:"text-home-navy",linkClass:"text-home-secondary hover:text-home-navy",panelBorder:"border-home-border"})]})}},3365:(e,t,s)=>{s.d(t,{Gw:()=>h,JN:()=>x,Rt:()=>f,aK:()=>b,aW:()=>n,au:()=>u,cG:()=>l,fi:()=>m,gu:()=>o,nh:()=>c,od:()=>p,pk:()=>i});let r="prod",a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return"dev"===e?"http://localhost:3000":"staging"===e?"https://staging.web.underboss.app":"https://web.underboss.app"}(),l="".concat(a,"/register"),n="".concat(a,"/login"),o="".concat(a,"/legal/terms"),i="".concat(a,"/legal/privacy"),c="mailto:".concat("[email protected]"),h="https://calendly.com/underboss/underboss-demo",d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return"dev"===e?"http://localhost:4000":"staging"===e?"https://staging.underboss.app":"https://www.underboss.app"}();function m(e){return"".concat(d).concat(e)}let p="https://apps.apple.com/app/id6479378020",x="https://play.google.com/store/apps/details?id=app.underboss.web",u="https://modfin-content.s3.us-east-2.amazonaws.com/underboss/logo+horizontal/with+outlined+worm/logo_horizontal_blue_worm_outlined/web/underboss_logo_horizontal_blue_worm_outlined_full_color_rgb.svg",b="https://modfin-content.s3.us-east-2.amazonaws.com/underboss/worm+only/sunglasses/worm_only_sunglasses_blue/web/underboss_worm_only_sunglasses_blue_full_color_rgb.svg",f=[{href:"/field-services",label:"Home, Office & Outdoor",icon:"\uD83C\uDFE1",blurb:"Landscaping \xb7 Pool service \xb7 Residential & commercial cleaning \xb7 Other recurring services"},{href:"/coaches",label:"Coaches & Professional Services",icon:"\uD83D\uDCBC",blurb:"Executive coaches \xb7 Business coaches \xb7 Consultants \xb7 Professional services"},{href:"/health-fitness",label:"Health & Fitness",icon:"\uD83D\uDCAA",blurb:"Personal trainers \xb7 Yoga & Pilates \xb7 Nutritionists \xb7 Wellness coaches"},{href:"/educational-creative",label:"Educational & Creative",icon:"\uD83D\uDCDA",blurb:"Tutors \xb7 Music teachers \xb7 Dance & performing arts \xb7 Art instruction"}]},6969:(e,t,s)=>{s.d(t,{A:()=>i});var r=s(7876),a=s(8230),l=s.n(a);let n={sm:"px-5 py-2 text-sm",md:"px-7 py-3 text-sm",lg:"px-8 py-3.5 text-base"},o={primary:"bg-home-navy text-white hover:bg-home-navy-mid",outline:"border border-home-border text-home-secondary hover:border-home-teal hover:text-home-navy",teal:"border border-home-teal font-semibold text-home-teal hover:bg-home-teal-bg"};function i(e){let{children:t,href:s,onClick:a,variant:i="primary",size:c="md",className:h="",external:d=!1}=e,m="".concat("inline-flex items-center justify-center gap-2 rounded-lg font-medium no-underline transition"," ").concat(n[c]," ").concat(o[i]," ").concat(h);return s?s.startsWith("/")?(0,r.jsx)(l(),{href:s,onClick:a,className:m,children:t}):(0,r.jsx)("a",{href:s,onClick:a,className:m,...d?{target:"_blank",rel:"noopener noreferrer"}:{},children:t}):(0,r.jsx)("button",{type:"button",onClick:a,className:m,children: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.