PageSourceSearch

https://knotch.com/_next/static/chunks/0kj8mb48c661d.js

js knotch.com collected 2026-09-25 14:56:36 UTC 1,122,754 bytes, 833 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77370,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={formatUrl:function(){return s},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let o=e.r(44066)._(e.r(19129)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:a}=e,r=e.protocol||"",n=e.pathname||"",s=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:a&&(c=t+(~a.indexOf(":")?`[${a}]`:a),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let d=e.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||i.test(r))&&!1!==c?(c="//"+(c||""),n&&"/"!==n[0]&&(n="/"+n)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),d&&"?"!==d[0]&&(d="?"+d),n=n.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${r}${c}${n}${d}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return s(e)}},55222,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=e.r(89153);function n(e,t){let a=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=a.current;e&&(a.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(a.current=o(e,r)),t&&(n.current=o(t,r))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},92847,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"isLocalURL",{enumerable:!0,get:function(){return o}});let r=e.r(35138),n=e.r(67180);function o(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),a=new URL(e,t);return a.origin===t&&(0,n.hasBasePath)(a.pathname)}catch(e){return!1}}},63583,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},7375,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={default:function(){return y},useLinkStatus:function(){return b}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let o=e.r(44066),i=e.r(94676),s=o._(e.r(89153)),l=e.r(77370),c=e.r(80279),d=e.r(55222),u=e.r(35138),p=e.r(68285);e.r(70953);let m=e.r(19570),h=e.r(7503),g=e.r(92847),f=e.r(7849);function y(t){var a,r;let n,o,y,[b,x]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),w=(0,s.useRef)(null),{href:k,as:_,children:j,prefetch:S=null,passHref:C,replace:I,shallow:N,scroll:A,onClick:E,onMouseEnter:T,onTouchStart:P,legacyBehavior:z=!1,onNavigate:R,transitionTypes:L,ref:O,unstable_dynamicOnHover:M,...H}=t;n=j,z&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let D=s.default.useContext(c.AppRouterContext),q=!1!==S,W=!1!==S?null===(r=S)||"auto"===r?f.FetchStrategy.PPR:f.FetchStrategy.Full:f.FetchStrategy.PPR,$="string"==typeof(a=_||k)?a:(0,l.formatUrl)(a);if(z){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(n)}let U=z?o&&"object"==typeof o&&o.ref:O,F=s.default.useCallback(e=>(null!==D&&(w.current=(0,h.mountLinkInstance)(e,$,D,W,q,x)),()=>{w.current&&((0,h.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,h.unmountPrefetchableInstance)(e)}),[q,$,D,W,x]),B={ref:(0,d.useMergedRef)(F,U),onClick(t){z||"function"!=typeof E||E(t),z&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!D||t.defaultPrevented||function(t,a,r,n,o,i,l){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,g.isLocalURL)(a)){n&&(t.preventDefault(),location.replace(a));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(33585);s.default.startTransition(()=>{u(a,n?"replace":"push",!1===o?m.ScrollBehavior.NoScroll:m.ScrollBehavior.Default,r.current,l)})}}(t,$,w,I,A,R,L)},onMouseEnter(e){z||"function"!=typeof T||T(e),z&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),D&&q&&(0,h.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){z||"function"!=typeof P||P(e),z&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),D&&q&&(0,h.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,u.isAbsoluteUrl)($)?B.href=$:z&&!C&&("a"!==o.type||"href"in o.props)||(B.href=(0,p.addBasePath)($)),y=z?s.default.cloneElement(o,B):(0,i.jsx)("a",{...H,...B,children:n}),(0,i.jsx)(v.Provider,{value:b,children:y})}e.r(63583);let v=(0,s.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,s.useContext)(v);("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},66854,(e,t,a)=>{t.exports=e.r(19963)},3074,e=>{"use strict";var t=e.i(94676),a=e.i(7375),r=e.i(66854),n=e.i(89153);e.i(35421);var o=e.i(77200);e.i(64117);var i=e.i(8741);let s=(0,n.forwardRef)(function({href:e,children:r,...n},o){return(0,t.jsx)(a.default,{ref:o,href:e,...n,children:r})});e.s(["NextNavigationProvider",0,function({children:e}){let a=(0,r.useRouter)(),l=(0,r.usePathname)(),c=(0,n.useMemo)(()=>({currentPath:(0,o.normalizePath)(l??"/"),navigate:e=>a.push(e),Link:s}),[a,l]);return(0,t.jsx)(i.QueenNavigationProvider,{value:c,children:e})}])},89170,(e,t,a)=>{t.exports=e.r(77076)},78884,e=>{"use strict";let t,a,r;var n,o,i,s=e.i(35856),l=e.i(94676);e.i(64521);let c=["utm_","campaign","affiliate","promo","ad_","creative"],d=["persona","new","embed"];var u=e.i(93270);function p(e,t){let a=e[0];return void 0===a?{defaultPersonaId:null}:void 0!==t?e.some(e=>e.id===t)?{defaultPersonaId:t}:{defaultPersonaId:a.id,unknownActivePersonaId:t}:{defaultPersonaId:null}}var m=e.i(33211);function h(e){let t=new Map,a=e&&"chat"in e&&e.chat?e.chat.layout:void 0;if(!a)return t;for(let e of a)!function e(t,a){if("group"===t.kind){for(let e of t.items)"SECTION"===e.type&&a.set(e.section_id,{accepts:e.accepts,max:e.max});return}for(let r of t.children)e(r,a)}(e,t);return t}var g=e.i(40596),f=e.i(3249),y=e.i(20845),v=e.i(36665),b=e.i(51425),x=e.i(15397),w=e.i(16112),k=e.i(19132),_=e.i(85481),j=e.i(1056),S=e.i(48886),C=e.i(62594),I=e.i(51063),N=e.i(13545),A=e.i(87261),E=e.i(26351);e.i(21281);var T=e.i(16973),P=e.i(80616),z=e.i(39761);e.i(64117);var R=e.i(40804),L=e.i(59604),O=e.i(1192),M=e.i(401),H=e.i(83761),D=e.i(17571),q=e.i(50586),W=e.i(8518),$=e.i(59917),U=e.i(21365),F=e.i(47668),B=e.i(67449),G=e.i(90545),K=e.i(83629),V=e.i(86039),Z=e.i(83814),Y=e.i(19824),J=e.i(34378),X=e.i(76533),Q=e.i(18638),ee=e.i(96216),et=e.i(99016),ea=e.i(69377),er=e.i(5202),en=e.i(66326),eo=e.i(92966),ei=e.i(8741),es=e.i(68819);e.i(44898);var el=e.i(63123);e.i(9910);var ec=e.i(56144);function ed({children:e,chatInputSlot:t,tocSlot:a,modalityToggleSlot:r,staticFeedSlot:n,embed:o=!1}
1){let i=!o&&!!r;return(0,l.jsxs)("div",{className:(0,ec.cn)("flex flex-col bg-bg-subtle text-fg",!o&&"min-h-screen"),style:o?{height:"var(--embed-app-height, 100%)"}:void 0,children:[i?(0,l.jsx)("header",{"data-template-header":"",className:"sticky top-0 z-30 border-b border-border bg-bg/80 backdrop-blur",children:(0,l.jsx)("div",{className:"mx-auto flex max-w-7xl items-center justify-end px-6 py-3",children:r})}):null,(0,l.jsx)("main",{className:(0,ec.cn)("flex-1",o&&"min-h-0 overflow-y-auto"),children:(0,l.jsxs)("div",{className:(0,ec.cn)("mx-auto flex max-w-7xl",o?"px-3 pt-4 pb-4 gap-6 sm:px-6 sm:pt-8 lg:gap-10":"px-6 pt-8 pb-36 gap-10"),children:[a?(0,l.jsx)("aside",{className:"w-56 shrink-0 hidden md:block",children:(0,l.jsx)("div",{className:"sticky top-8",children:a})}):null,(0,l.jsxs)("div",{className:"min-w-0 flex-1 max-w-3xl",children:[n,e]})]})}),t?(0,l.jsx)("div",{"data-chat-dock":"","data-embed":o?"true":void 0,className:(0,ec.cn)("border-t border-border bg-bg/80 backdrop-blur",!o&&"fixed inset-x-0 bottom-0 z-[var(--z-chat-dock,42)]"),style:{paddingBottom:"env(safe-area-inset-bottom)"},children:(0,l.jsxs)("div",{className:(0,ec.cn)("mx-auto flex max-w-7xl",o?"px-3 pt-3 pb-5 gap-6 sm:px-6 sm:pt-4 sm:pb-6 lg:gap-10":"px-6 py-4 gap-10"),children:[a?(0,l.jsx)("div",{className:"hidden md:block w-56 shrink-0","aria-hidden":"true"}):null,(0,l.jsx)("div",{className:"min-w-0 flex-1 max-w-4xl",children:t})]})}):null]})}var eu=e.i(89153);let ep={EDITORIAL_DISCOVERY:ed,CONVERSATIONAL_CONCIERGE:function({children:e,chatInputSlot:t,personaPillSlot:a,guidedFlowSlot:r,modalityToggleSlot:n,staticFeedSlot:o,embed:i=!1}){let s=!i&&!!(a||n);return(0,l.jsxs)("div",{className:(0,ec.cn)("flex flex-col bg-bg text-fg",!i&&"min-h-screen"),style:i?{height:"var(--embed-app-height, 100%)"}:void 0,children:[s?(0,l.jsx)("header",{"data-template-header":"",className:"sticky top-0 z-30 border-b border-border bg-bg/80 backdrop-blur",children:(0,l.jsxs)("div",{className:"mx-auto flex max-w-2xl items-center justify-between gap-4 px-6 py-3",children:[(0,l.jsx)("div",{children:n}),(0,l.jsx)("div",{children:a})]})}):null,(0,l.jsx)("main",{className:(0,ec.cn)("flex-1",i&&"min-h-0 overflow-y-auto"),children:(0,l.jsx)("div",{className:(0,ec.cn)("mx-auto max-w-2xl",i?"px-3 pt-4 pb-4 sm:px-6 sm:pt-8":"px-6 pt-8 pb-36"),children:r??(0,l.jsxs)(l.Fragment,{children:[o,e]})})}),t?(0,l.jsx)("div",{"data-chat-dock":"","data-embed":i?"true":void 0,className:(0,ec.cn)("border-t border-border bg-bg/80 backdrop-blur",!i&&"fixed inset-x-0 bottom-0 z-[var(--z-chat-dock,42)]"),style:{paddingBottom:"env(safe-area-inset-bottom)"},children:(0,l.jsx)("div",{className:(0,ec.cn)("mx-auto max-w-2xl",i?"px-3 pt-3 pb-5 sm:px-6 sm:pt-4 sm:pb-6":"px-6 py-4"),children:t})}):null]})},HYBRID:function({children:e,headerSlot:t,footerSlot:a,chatInputSlot:r,staticFeedSlot:n,personaPillSlot:o,tocSlot:i,backgroundSlot:s,embed:c=!1,floatingHeader:d=!1,scrollRevealHeader:u=!1}){let p=!c&&!!t,m=!!i,h=d&&!o,g=(0,eu.useRef)(null);(0,M.useChromeScrollReveal)(g,u);let f=(0,T.useClientConfigOptional)()?.personaSelector?.prefix_label??"This content is for:";return(0,l.jsxs)("div",{"data-template-root":"",style:{backgroundColor:"var(--color-bg)",color:"var(--color-fg)",...c?{height:"var(--embed-app-height, 100%)"}:{minHeight:"100vh"},display:"flex",flexDirection:"column",...s?{isolation:"isolate"}:null},children:[s,p||o?(0,l.jsxs)("div",{ref:g,"data-chrome-sticky":"",style:{position:"sticky",top:0,zIndex:"var(--z-chrome, 40)",...h?null:{backgroundColor:"var(--color-bg)",borderBottom:"1px solid color-mix(in oklab, var(--color-border, transparent) 60%, transparent)"}},children:[p?(0,l.jsx)("header",{"data-template-header":"",style:h?void 0:{borderBottom:"1px solid color-mix(in oklab, var(--color-border, transparent) 60%, transparent)"},children:t}):null,o?(0,l.jsx)("div",{"data-persona-row":"",children:(0,l.jsxs)("div",{style:{margin:"0 auto",maxWidth:"var(--width-lg, 1024px)",padding:c?"6px 16px":"6px 24px",display:"flex",justifyContent:"center",alignItems:"center",gap:"12px"},children:[(0,l.jsx)("div",{className:"text-[length:var(--type-body-sm)]",children:f}),o]})}):null]}):null,m?(0,l.jsx)("aside",{"data-toc-rail":"","aria-label":"Page sections",className:"hidden md:block",style:{position:"fixed",top:"140px",left:"max(16px, calc((100vw - var(--width-lg, 1024px)) / 2 - 220px))",width:"200px",maxHeight:"calc(100vh - 200px)",zIndex:"var(--z-toc, 10)"},children:i}):null,(0,l.jsxs)("main",{style:c?{flex:1,minHeight:0,overflowY:"auto"}:{flex:1,paddingBottom:r?"144px":void 0},children:[n,e]}),r?(0,l.jsx)("div",{className:"bare-chat-dock-shell",style:c?{paddingBottom:"env(safe-area-inset-bottom)",transform:"translateX(-50%) translateY(calc(-1 * var(--host-dock-offset, 0px)))"}:void 0,children:r}):null,a?(0,l.jsx)("div",{"data-template-footer":"",children:a}):null]})},NARRATIVE_STORY:ed};var em=e.i(17422);let eh=em.z.object({NEXT_PUBLIC_FIREBASE_API_KEY:em.z.string().optional(),NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN:em.z.string().optional(),NEXT_PUBLIC_FIREBASE_PROJECT_ID:em.z.string().optional(),NEXT_PUBLIC_FIREBASE_APP_ID:em.z.string().optional(),NEXT_PUBLIC_QUEEN_BRAND_ID:em.z.uuid(),NEXT_PUBLIC_QUEEN_ENV:em.z.enum(["development","production"]).optional(),NEXT_PUBLIC_QUEEN_AUTH_MODE:em.z.enum(["firebase","bypass"]).default("bypass"),NEXT_PUBLIC_QUEEN_EMBED_MODE:em.z.enum(["embedded","standalone"]).default("standalone"),NEXT_PUBLIC_QUEEN_KTAG_ACCOUNT_ID:em.z.string().optional()}).refine(e=>"bypass"===e.NEXT_PUBLIC_QUEEN_AUTH_MODE||e.NEXT_PUBLIC_FIREBASE_API_KEY&&e.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN&&e.NEXT_PUBLIC_FIREBASE_PROJECT_ID&&e.NEXT_PUBLIC_FIREBASE_APP_ID,{message:"Firebase config (apiKey, authDomain, projectId, appId) is required when NEXT_PUBLIC_QUEEN_AUTH_MODE=firebase."});em.z.object({QUEEN_ICS_BASE_URL:em.z.url(),NEXT_PUBLIC_QUEEN_AUTH_MODE:em.z.enum(["firebase","bypass"]).default("bypass"),QUEEN_ALLOWED_FRAME_ANCESTORS:em.z.string().optional(),QUEEN_DLP_ENABLED:em.z.enum(["true","false"]).default("true").transform(e=>"true"===e),QUEEN_DLP_PROJECT_ID:em.z.string().optional(),QUEEN_DLP_EXCLUDED_TERMS:em.z.string().optional().transform(e=>(e??"").split(",").map(e=>
1e.trim()).filter(Boolean)),HUBSPOT_PORTAL_ID:em.z.string().min(1).default("44523005"),HUBSPOT_FORM_GUID:em.z.string().min(1).default("d54818e5-ae2e-4ba6-985d-5d5c95f8d7f6"),HUBSPOT_NEWSLETTER_FORM_GUID:em.z.string().min(1).default("f3743add-3753-4651-83bc-4b0038e25491"),HUBSPOT_SUBSCRIPTION_ID:em.z.coerce.number().int().positive().default(0x103a51dc),HUBSPOT_FORCE_FORWARD:em.z.enum(["true","false"]).default("false").transform(e=>"true"===e),QUEEN_PATH_REDIRECTS:em.z.string().optional(),WEBFLOW_API_TOKEN:em.z.string().optional(),SQUARE_CDP_API_KEY:em.z.string().optional(),SQUARE_CDP_ENDPOINT:em.z.string().url().default("https://api.squareup.com/v1/cdp/batch"),SQUARE_CDP_COOKIE_DOMAIN:em.z.string().optional(),SQUARE_CDP_FORWARD:em.z.enum(["true","false"]).default("false").transform(e=>"true"===e),QUEEN_DEBUG_SQUARE_CDP:em.z.enum(["0","1"]).default("0"),NODE_ENV:em.z.enum(["development","test","production"]).default("development")});let eg=function(){let e=eh.safeParse({NEXT_PUBLIC_FIREBASE_API_KEY:"AIzaSyCWpujXziNdoK9fLs149tzKeAW89s35FzI",NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN:"ace-knotch-prod-496702.firebaseapp.com",NEXT_PUBLIC_FIREBASE_PROJECT_ID:"ace-knotch-prod-496702",NEXT_PUBLIC_FIREBASE_APP_ID:"1:815455901387:web:c696321f4ca91a885cad4e",NEXT_PUBLIC_QUEEN_BRAND_ID:"eeaa269e-c11f-4745-8281-288b4a93e886",NEXT_PUBLIC_QUEEN_ENV:"production",NEXT_PUBLIC_QUEEN_AUTH_MODE:"firebase",NEXT_PUBLIC_QUEEN_EMBED_MODE:"standalone",NEXT_PUBLIC_QUEEN_KTAG_ACCOUNT_ID:""});if(!e.success)throw Error(`Invalid client environment:
2${JSON.stringify(e.error.issues,null,2)}`);return e.data}(),ef=function(e){let t=[],a=0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);n<128?t[a++]=n:(n<2048?t[a++]=n>>6|192:((64512&n)==55296&&r+1<e.length&&(64512&e.charCodeAt(r+1))==56320?(n=65536+((1023&n)<<10)+(1023&e.charCodeAt(++r)),t[a++]=n>>18|240,t[a++]=n>>12&63|128):t[a++]=n>>12|224,t[a++]=n>>6&63|128),t[a++]=63&n|128)}return t},ey=function(e){let t=[],a=0,r=0;for(;a<e.length;){let n=e[a++];if(n<128)t[r++]=String.fromCharCode(n);else if(n>191&&n<224){let o=e[a++];t[r++]=String.fromCharCode((31&n)<<6|63&o)}else if(n>
2239&&n<365){let o=((7&n)<<18|(63&e[a++])<<12|(63&e[a++])<<6|63&e[a++])-65536;t[r++]=String.fromCharCode(55296+(o>>10)),t[r++]=String.fromCharCode(56320+(1023&o))}else{let o=e[a++],i=e[a++];t[r++]=String.fromCharCode((15&n)<<12|(63&o)<<6|63&i)}}return t.join("")},ev={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();let a=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let t=0;t<e.length;t+=3){let n=e[t],o=t+1<e.length,i=o?e[t+1]:0,s=t+2<e.length,l=s?e[t+2]:0,c=n>>2,d=(3&n)<<4|i>>4,u=(15&i)<<2|l>>6,p=63&l;!s&&(p=64,o||(u=64)),r.push(a[c],a[d],a[u],a[p])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(ef(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):ey(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();let a=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let t=0;t<e.length;){let n=a[e.charAt(t++)],o=t<e.length?a[e.charAt(t)]:0,i=++t<e.length?a[e.charAt(t)]:64,s=++t<e.length?a[e.charAt(t)]:64;if(++t,null==n||null==o||null==i||null==s)throw new eb;let l=n<<2|o>>4;if(r.push(l),64!==i){let e=o<<4&240|i>>2;if(r.push(e),64!==s){let e=i<<6&192|s;r.push(e)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class eb extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}let ex=function(e){let t=ef(e);return ev.encodeByteArray(t,!0)},ew=function(e){return ex(e).replace(/\./g,"")},ek=function(e){try{return ev.decodeString(e,!0)}catch(e){console.error("base64Decode failed: ",e)}return null},e_=()=>{try{return("u">typeof self?self:"u">typeof window?window:e.g).__FIREBASE_DEFAULTS__||(()=>{if(void 0===s.default||void 0===s.default.env)return;let e=s.default.env.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)})()||(()=>{let e;if("u"<typeof document)return;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(e){return}let t=e&&ek(e[1]);return t&&JSON.parse(t)})()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},ej=()=>e_()?.config,eS=e=>e_()?.[`_${e}`];class eC{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}wrapCallback(e){return(t,a)=>{t?this.reject(t):this.resolve(a),"function"==typeof e&&(this.promise.catch(()=>{}),1===e.length?e(t):e(t,a))}}}function eI(){return"u">typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}class eN extends Error{constructor(e,t,a){super(t),this.code=e,this.customData=a,this.name="FirebaseError",Object.setPrototypeOf(this,eN.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,eA.prototype.create)}}class eA{constructor(e,t,a){this.service=e,this.serviceName=t,this.errors=a}create(e,...t){var a,r;let n=t[0]||{},o=`${this.service}/${e}`,i=this.errors[e],s=i?(a=i,r=n,a.replace(eE,(e,t)=>{let a=r[t];return null!=a?String(a):`<${t}?>`})):"Error",l=`${this.serviceName}: ${s} (${o}).`;return new eN(o,l,n)}}let eE=/\{\$([^}]+)}/g;function eT(e,t){if(e===t)return!0;let a=Object.keys(e),r=Object.keys(t);for(let n of a){if(!r.includes(n))return!1;let a=e[n],o=t[n];if(eP(a)&&eP(o)){if(!eT(a,o))return!1}else if(a!==o)return!1}for(let e of r)if(!a.includes(e))return!1;return!0}function eP(e){return null!==e&&"object"==typeof e}function ez(e){let t=[];
2for(let[a,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.push(encodeURIComponent(a)+"="+encodeURIComponent(e))}):t.push(encodeURIComponent(a)+"="+encodeURIComponent(r));return t.length?"&"+t.join("&"):""}function eR(e){let t={};return e.replace(/^\?/,"").split("&").forEach(e=>{if(e){let[a,r]=e.split("=");t[decodeURIComponent(a)]=decodeURIComponent(r)}}),t}function eL(e){let t=e.indexOf("?");if(!t)return"";let a=e.indexOf("#",t);return e.substring(t,a>0?a:void 0)}class eO{constructor(e,t){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then(()=>{e(this)}).catch(e=>{this.error(e)})}next(e){this.forEachObserver(t=>{t.next(e)})}error(e){this.forEachObserver(t=>{t.error(e)}),this.close(e)}complete(){this.forEachObserver(e=>{e.complete()}),this.close()}subscribe(e,t,a){let r;if(void 0===e&&void 0===t&&void 0===a)throw Error("Missing Observer.");void 0===(r=!function(e,t){if("object"!=typeof e||null===e)return!1;for(let a of t)if(a in e&&"function"==typeof e[a])return!0;return!1}(e,["next","error","complete"])?{next:e,error:t,complete:a}:e).next&&(r.next=eM),void 0===r.error&&(r.error=eM),void 0===r.complete&&(r.complete=eM);let n=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?r.error(this.finalError):r.complete()}catch(e){}}),this.observers.push(r),n}unsubscribeOne(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let t=0;t<this.observers.length;t++)this.sendOne(t,e)}sendOne(e,t){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[e])try{t(this.observers[e])}catch(e){"u">typeof console&&console.error&&console.error(e)}})}close(e){this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function eM(){}function eH(e){return e&&e._delegate?e._delegate:e}function eD(e){try{return(e.startsWith("http://")||e.startsWith("https://")?new URL(e).hostname:e).endsWith(".cloudworkstations.dev")}catch{return!1}}async function eq(e){return(await fetch(e,{credentials:"include"})).ok}class eW{constructor(e,t,a){this.name=e,this.instanceFactory=t,this.type=a,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}let e$="[DEFAULT]";class eU{constructor(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){let t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){let e=new eC;if(this.instancesDeferred.set(t,e),this.isInitialized(t)||this.shouldAutoInitialize())try{let a=this.getOrInitializeService({instanceIdentifier:t});a&&e.resolve(a)}catch(e){}}return this.instancesDeferred.get(t).promise}getImmediate(e){let t=this.normalizeInstanceIdentifier(e?.identifier),a=e?.optional??!1;if(this.isInitialized(t)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:t})}catch(e){if(a)return null;throw e}if(a)return null;throw Error(`Service ${this.name} is not available`)}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error(`Mismatching Component ${e.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=e,this.shouldAutoInitialize()){if("EAGER"===e.instantiationMode)try{this.getOrInitializeService({instanceIdentifier:e$})}catch(e){}for(let[e,t]of this.instancesDeferred.entries()){let a=this.normalizeInstanceIdentifier(e);try{let e=this.getOrInitializeService({instanceIdentifier:a});t.resolve(e)}catch(e){}}}}clearInstance(e=e$){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){let e=Array.from(this.instances.values());await Promise.all([...e.filter(e=>"INTERNAL"in e).map(e=>e.INTERNAL.delete()),...e.filter(e=>"_delete"in e).map(e=>e._delete())])}isComponentSet(){return null!=this.component}isInitialized(e=e$){return this.instances.has(e)}getOptions(e=e$){return this.instancesOptions.get(e)||{}}initialize(e={}){let{options:t={}}=e,a=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(a))throw Error(`${this.name}(${a}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);let r=this.getOrInitializeService({instanceIdentifier:a,options:t});for(let[e,t]of this.instancesDeferred.entries())a===this.normalizeInstanceIdentifier(e)&&t.resolve(r);return r}onInit(e,t){let a=this.normalizeInstanceIdentifier(t),r=this.onInitCallbacks.get(a)??new Set;r.add(e),this.onInitCallbacks.set(a,r);let n=this.instances.get(a);return n&&e(n,a),()=>{r.delete(e)}}invokeOnInitCallbacks(e,t){let a=this.onInitCallbacks.get(t);if(a)for(let r of a)try{r(e,t)}catch{}}getOrInitializeService({instanceIdentifier:e,options:t={}}){var a;let r=this.instances.get(e);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:(a=e)===e$?void 0:a,options:t}),this.instances.set(e,r),this.instancesOptions.set(e,t),this.invokeOnInitCallbacks(r,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,r)}catch{}return r||null}normalizeInstanceIdentifier(e=e$){return this.component?this.component.multipleInstances?e:e$:e}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class eF{constructor(e){this.name=e,this.providers=new Map}addComponent(e){let t=this.getProvider(e.name);if(t.isComponentSet())throw Error(`Component ${e.name} has already been registered with ${this.name}`);t.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);let t=new eU(e,this);return this.providers.set(e,t),t}getProviders(){return Array.from(this.providers.values())}}let eB=[];(n=i||(i={}))[n.DEBUG=0]="DEBUG",n[n.VERBOSE=1]="VERBOSE",n[n.INFO=2]="INFO",n[n.WARN=3]="WARN",n[n.ERROR=4]="ERROR",n[n.SILENT=5]="SILENT";let eG={debug:i.DEBUG,verbose:i.VERBOSE,info:i.INFO,warn:i.WARN,error:i.ERROR,silent:i.S
2ILENT},eK=i.INFO,eV={[i.DEBUG]:"log",[i.VERBOSE]:"log",[i.INFO]:"info",[i.WARN]:"warn",[i.ERROR]:"error"},eZ=(e,t,...a)=>{if(t<e.logLevel)return;let r=new Date().toISOString(),n=eV[t];if(n)console[n](`[${r}]  ${e.name}:`,...a);else throw Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class eY{constructor(e){this.name=e,this._logLevel=eK,this._logHandler=eZ,this._userLogHandler=null,eB.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in i))throw TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?eG[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,i.DEBUG,...e),this._logHandler(this,i.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,i.VERBOSE,...e),this._logHandler(this,i.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,i.INFO,...e),this._logHandler(this,i.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,i.WARN,...e),this._logHandler(this,i.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,i.ERROR,...e),this._logHandler(this,i.ERROR,...e)}}let eJ=new WeakMap,eX=new WeakMap,eQ=new WeakMap,e0=new WeakMap,e1=new WeakMap,e2={get(e,t,a){if(e instanceof IDBTransaction){if("done"===t)return eX.get(e);if("objectStoreNames"===t)return e.objectStoreNames||eQ.get(e);if("store"===t)return a.objectStoreNames[1]?void 0:a.objectStore(a.objectStoreNames[0])}return e5(e[t])},set:(e,t,a)=>(e[t]=a,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function e5(e){if(e instanceof IDBRequest){let t;return(t=new Promise((t,a)=>{let r=()=>{e.removeEventListener("success",n),e.removeEventListener("error",o)},n=()=>{t(e5(e.result)),r()},o=()=>{a(e.error),r()};e.addEventListener("success",n),e.addEventListener("error",o)})).then(t=>{t instanceof IDBCursor&&eJ.set(t,e)}).catch(()=>{}),e1.set(t,e),t}if(e0.has(e))return e0.get(e);let r=function(e){if("function"==typeof e)return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(a||(a=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(e4(this),t),e5(eJ.get(this))}:function(...t){return e5(e.apply(e4(this),t))}:function(t,...a){let r=e.call(e4(this),t,...a);return eQ.set(r,t.sort?t.sort():[t]),e5(r)};return e instanceof IDBTransaction&&function(e){if(eX.has(e))return;let t=new Promise((t,a)=>{let r=()=>{e.removeEventListener("complete",n),e.removeEventListener("error",o),e.removeEventListener("abort",o)},n=()=>{t(),r()},o=()=>{a(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",n),e.addEventListener("error",o),e.addEventListener("abort",o)});eX.set(e,t)}(e),(t||(t=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some(t=>e instanceof t)?new Proxy(e,e2):e}(e);return r!==e&&(e0.set(e,r),e1.set(r,e)),r}let e4=e=>e1.get(e),e3=["get","getKey","getAll","getAllKeys","count"],e6=["put","add","delete","clear"],e8=new Map;function e7(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&"string"==typeof t))return;if(e8.get(t))return e8.get(t);let a=t.replace(/FromIndex$/,""),r=t!==a,n=e6.includes(a);if(!(a in(r?IDBIndex:IDBObjectStore).prototype)||!(n||e3.includes(a)))return;let o=async function(e,...t){let o=this.transaction(e,n?"readwrite":"readonly"),i=o.store;return r&&(i=i.index(t.shift())),(await Promise.all([i[a](...t),n&&o.done]))[0]};return e8.set(t,o),o}e2={...r=e2,get:(e,t,a)=>e7(e,t)||r.get(e,t,a),has:(e,t)=>!!e7(e,t)||r.has(e,t)};class e9{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(e=>{let t;if(t=e.getComponent(),t?.type!=="VERSION")return null;{let t=e.getImmediate();return`${t.library}/${t.version}`}}).filter(e=>e).join(" ")}}let te="@firebase/app",tt="0.14.11",ta=new eY("@firebase/app"),tr="[DEFAULT]",tn={[te]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/data-connect":"fire-data-connect","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","@firebase/ai":"fire-vertex","fire-js":"fire-js",firebase:"fire-js-all"},to=new Map,ti=new Map,ts=new Map;function tl(e,t){try{e.container.addComponent(t)}catch(a){ta.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,a)}}function tc(e){let t=e.name;if(ts.has(t))return ta.debug(`There were multiple attempts to register component ${t}.`),!1;
2for(let a of(ts.set(t,e),to.values()))tl(a,e);for(let t of ti.values())tl(t,e);return!0}function td(e,t){let a=e.container.getProvider("heartbeat").getImmediate({optional:!0});return a&&a.triggerHeartbeat(),e.container.getProvider(t)}function tu(e){return null!=e&&void 0!==e.settings}let tp=new eA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class tm{constructor(e,t,a){this._isDeleted=!1,this._options={...e},this._config={...t},this._name=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled,this._container=a,this.container.addComponent(new eW("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw tp.create("app-deleted",{appName:this._name})}}let th="12.12.0";function tg(e,t={}){let a=e;"object"!=typeof t&&(t={name:t});let r={name:tr,automaticDataCollectionEnabled:!0,...t},n=r.name;if("string"!=typeof n||!n)throw tp.create("bad-app-name",{appName:String(n)});if(a||(a=ej()),!a)throw tp.create("no-options");let o=to.get(n);if(o)if(eT(a,o.options)&&eT(r,o.config))return o;else throw tp.create("duplicate-app",{appName:n});let i=new eF(n);for(let e of ts.values())i.addComponent(e);let s=new tm(a,r,i);return to.set(n,s),s}function tf(e,t,a){let r=tn[e]??e;a&&(r+=`-${a}`);let n=r.match(/\s|\//),o=t.match(/\s|\//);if(n||o){let e=[`Unable to register library "${r}" with version "${t}":`];n&&e.push(`library name "${r}" contains illegal characters (whitespace or "/")`),n&&o&&e.push("and"),o&&e.push(`version name "${t}" contains illegal characters (whitespace or "/")`),ta.warn(e.join(" "));return}tc(new eW(`${r}-version`,()=>({library:r,version:t}),"VERSION"))}let ty="firebase-heartbeat-store",tv=null;function tb(){return tv||(tv=(function(e,{blocked:t,upgrade:a,blocking:r,terminated:n}={}){let o=indexedDB.open(e,1),i=e5(o);return a&&o.addEventListener("upgradeneeded",e=>{a(e5(o.result),e.oldVersion,e.newVersion,e5(o.transaction),e)}),t&&o.addEventListener("blocked",e=>t(e.oldVersion,e.newVersion,e)),i.then(e=>{n&&e.addEventListener("close",()=>n()),r&&e.addEventListener("versionchange",e=>r(e.oldVersion,e.newVersion,e))}).catch(()=>{}),i})("firebase-heartbeat-database",{upgrade:(e,t)=>{if(0===t)try{e.createObjectStore(ty)}catch(e){console.warn(e)}}}).catch(e=>{throw tp.create("idb-open",{originalErrorMessage:e.message})})),tv}async function tx(e){try{let t=(await tb()).transaction(ty),a=await t.objectStore(ty).get(tk(e));return await t.done,a}catch(e){if(e instanceof eN)ta.warn(e.message);else{let t=tp.create("idb-get",{originalErrorMessage:e?.message});ta.warn(t.message)}}}async function tw(e,t){try{let a=(await tb()).transaction(ty,"readwrite"),r=a.objectStore(ty);await r.put(t,tk(e)),await a.done}catch(e){if(e instanceof eN)ta.warn(e.message);else{let t=tp.create("idb-set",{originalErrorMessage:e?.message});ta.warn(t.message)}}}function tk(e){return`${e.name}!${e.options.appId}`}class t_{constructor(e){this.container=e,this._heartbeatsCache=null;const t=this.container.getProvider("app").getImmediate();this._storage=new tS(t),this._heartbeatsCachePromise=this._storage.read().then(e=>(this._heartbeatsCache=e,e))}async triggerHeartbeat(){try{let e=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),t=tj();if(this._heartbeatsCache?.heartbeats==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,this._heartbeatsCache?.heartbeats==null)||this._heartbeatsCache.lastSentHeartbeatDate===t||this._heartbeatsCache.heartbeats.some(e=>e.date===t))return;if(this._heartbeatsCache.heartbeats.push({date:t,agent:e}),this._heartbeatsCache.heartbeats.length>30){let e=function(e){if(0===e.length)return -1;let t=0,a=e[0].date;for(let r=1;r<e.length;r++)e[r].date<a&&(a=e[r].date,t=r);return t}(this._heartbeatsCache.heartbeats);this._heartbeatsCache.heartbeats.splice(e,1)}return this._storage.overwrite(this._heartbeatsCache)}catch(e){ta.warn(e)}}async getHeartbeatsHeader(){try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,this._heartbeatsCache?.heartbeats==null||0===this._heartbeatsCache.heartbeats.length)return"";let e=tj(),{heartbeatsToSend:t,unsentEntries:a}=function(e,t=1024){let a=[],r=e.slice();for(let n of e){let e=a.find(e=>e.agent===n.agent);if(e){if(e.dates.push(n.date),tC(a)>t){e.dates.pop();break}}else if(a.push({agent:n.agent,dates:[n.date]}),tC(a)>t){a.pop();break}r=r.slice(1)}return{heartbeatsToSend:a,unsentEntries:r}}(this._heartbeatsCache.heartbeats),r=ew(JSON.stringify({version:2,heartbeats:t}));return this._heartbeatsCache.lastSentHeartbeatDate=e,a.length>0?(this._heartbeatsCache.heartbeats=a,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),r}catch(e){return ta.warn(e),""}}}function tj(){return new Date().toISOString().substring(0,10)}class tS{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!function(){try{return"object"==typeof indexedDB}catch(e){return!1}}()&&new Promise((e,t)=>
2{try{let a=!0,r="validate-browser-context-for-indexeddb-analytics-module",n=self.indexedDB.open(r);n.onsuccess=()=>{n.result.close(),a||self.indexedDB.deleteDatabase(r),e(!0)},n.onupgradeneeded=()=>{a=!1},n.onerror=()=>{t(n.error?.message||"")}}catch(e){t(e)}}).then(()=>!0).catch(()=>!1)}async read(){if(!await this._canUseIndexedDBPromise)return{heartbeats:[]};{let e=await tx(this.app);return e?.heartbeats?e:{heartbeats:[]}}}async overwrite(e){if(await this._canUseIndexedDBPromise){let t=await this.read();return tw(this.app,{lastSentHeartbeatDate:e.lastSentHeartbeatDate??t.lastSentHeartbeatDate,heartbeats:e.heartbeats})}}async add(e){if(await this._canUseIndexedDBPromise){let t=await this.read();return tw(this.app,{lastSentHeartbeatDate:e.lastSentHeartbeatDate??t.lastSentHeartbeatDate,heartbeats:[...t.heartbeats,...e.heartbeats]})}}}function tC(e){return ew(JSON.stringify({version:2,heartbeats:e})).length}function tI(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}tc(new eW("platform-logger",e=>new e9(e),"PRIVATE")),tc(new eW("heartbeat",e=>new t_(e),"PRIVATE")),tf(te,tt,""),tf(te,tt,"esm2020"),tf("fire-js",""),tf("firebase","12.12.1","app");let tN=new eA("auth","Firebase",tI()),tA=new eY("@firebase/auth");function tE(e,...t){tA.logLevel<=i.ERROR&&tA.error(`Auth (${th}): ${e}`,...t)}function tT(e,...t){throw tL(e,...t)}function tP(e,...t){return tL(e,...t)}function tz(e,t,a){return new eA("auth","Firebase",{...tI(),[t]:a}).create(t,{appName:e.name})}function tR(e){return tz(e,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function tL(e,...t){if("string"!=typeof e){let a=t[0],r=[...t.slice(1)];return r[0]&&(r[0].appName=e.name),e._errorFactory.create(a,...r)}return tN.create(e,...t)}function tO(e,t,...a){if(!e)throw tL(t,...a)}function tM(e){let t="INTERNAL ASSERTION FAILED: "+e;throw tE(t),Error(t)}function tH(){return"u">typeof self&&self.location?.href||""}function tD(){return"u">typeof self&&self.location?.protocol||null}class tq{constructor(e,t){this.shortDelay=e,this.longDelay=t,function(e,t){e||tM(t)}(t>e,"Short delay should be less than long delay!"),this.isMobile="u">typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(eI())||"object"==typeof navigator&&"ReactNative"===navigator.product}get(){let e;return!("u">typeof navigator&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&("http:"===tD()||"https:"===tD()||"object"==typeof(e="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0)&&void 0!==e.id||"connection"in navigator))||navigator.onLine?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}function tW(e,t){var a,r;a=e.emulator,r="Emulator should always be set here",a||tM(r);let{url:n}=e.emulator;return t?`${n}${t.startsWith("/")?t.slice(1):t}`:n}class t${static initialize(e,t,a){this.fetchImpl=e,t&&(this.headersImpl=t),a&&(this.responseImpl=a)}static fetch(){return this.fetchImpl?this.fetchImpl:"u">typeof self&&"fetch"in self?self.fetch:"u">typeof globalThis&&globalThis.fetch?globalThis.fetch:"u">typeof fetch?fetch:void tM("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:"u">typeof self&&"Headers"in self?self.Headers:"u">typeof globalThis&&globalThis.Headers?globalThis.Headers:"u">typeof Headers?Headers:void tM("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:"u">typeof self&&"Response"in self?self.Response:"u">typeof globalThis&&globalThis.Response?globalThis.Response:"u">typeof Response?Response:void tM("Could not find Response implementation, make sure you call FetchProvi
2der.initialize() with an appropriate polyfill")}}let tU={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},tF=["/v1/accounts:signInWithCustomToken","/v1/accounts:signInWithEmailLink","/v1/accounts:signInWithIdp","/v1/accounts:signInWithPassword","/v1/accounts:signInWithPhoneNumber","/v1/token"],tB=new tq(3e4,6e4);function tG(e,t){return e.tenantId&&!t.tenantId?{...t,tenantId:e.tenantId}:t}async function tK(e,t,a,r,n={}){return tV(e,n,async()=>{let n={},o={};r&&("GET"===t?o=r:n={body:JSON.stringify(r)});let i=ez({key:e.config.apiKey,...o}).slice(1),s=await e._getAdditionalHeaders();s["Content-Type"]="application/json",e.languageCode&&(s["X-Firebase-Locale"]=e.languageCode);let l={method:t,headers:s,...n};return"u">typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||(l.referrerPolicy="no-referrer"),e.emulatorConfig&&eD(e.emulatorConfig.host)&&(l.credentials="include"),t$.fetch()(await tY(e,e.config.apiHost,a,i),l)})}async function tV(e,t,a){e._canInitEmulator=!1;let r={...tU,...t};try{let t=new tJ(e),n=await Promise.race([a(),t.promise]);t.clearNetworkTimeout();let o=await n.json();if("needConfirmation"in o)throw tX(e,"account-exists-with-different-credential",o);if(n.ok&&!("errorMessage"in o))return o;{let[t,a]=(n.ok?o.errorMessage:o.error.message).split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===t)throw tX(e,"credential-already-in-use",o);if("EMAIL_EXISTS"===t)throw tX(e,"email-already-in-use",o);if("USER_DISABLED"===t)throw tX(e,"user-disabled",o);let i=r[t]||t.toLowerCase().replace(/[_\s]+/g,"-");if(a)throw tz(e,i,a);tT(e,i)}}catch(t){if(t instanceof eN)throw t;tT(e,"network-request-failed",{message:String(t)})}}async function tZ(e,t,a,r,n={}){let o=await tK(e,t,a,r,n);return"mfaPendingCredential"in o&&tT(e,"multi-factor-auth-required",{_serverResponse:o}),o}async function tY(e,t,a,r){let n=`${t}${a}?${r}`,o=e.config.emulator?tW(e.config,n):`${e.config.apiScheme}://${n}`;return tF.includes(a)&&(await e._persistenceManagerAvailable,"COOKIE"===e._getPersistenceType())?e._getPersistence()._getFinalTarget(o).toString():o}class tJ{clearNetworkTimeout(){clearTimeout(this.timer)}constructor(e){this.auth=e,this.timer=null,this.promise=new Promise((e,t)=>
2{this.timer=setTimeout(()=>t(tP(this.auth,"network-request-failed")),tB.get())})}}function tX(e,t,a){let r={appName:e.name};a.email&&(r.email=a.email),a.phoneNumber&&(r.phoneNumber=a.phoneNumber);let n=tP(e,t,r);return n.customData._tokenResponse=a,n}function tQ(e){return void 0!==e&&void 0!==e.enterprise}class t0{constructor(e){if(this.siteKey="",this.recaptchaEnforcementState=[],void 0===e.recaptchaKey)throw Error("recaptchaKey undefined");this.siteKey=e.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=e.recaptchaEnforcementState}getProviderEnforcementState(e){if(!this.recaptchaEnforcementState||0===this.recaptchaEnforcementState.length)return null;for(let t of this.recaptchaEnforcementState)if(t.provider&&t.provider===e)switch(t.enforcementState){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}return null}isProviderEnabled(e){return"ENFORCE"===this.getProviderEnforcementState(e)||"AUDIT"===this.getProviderEnforcementState(e)}isAnyProviderEnabled(){return this.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")||this.isProviderEnabled("PHONE_PROVIDER")}}async function t1(e,t){return tK(e,"GET","/v2/recaptchaConfig",tG(e,t))}async function t2(e,t){return tK(e,"POST","/v1/accounts:delete",t)}async function t5(e,t){return tK(e,"POST","/v1/accounts:lookup",t)}function t4(e){if(e)try{let t=new Date(Number(e));if(!isNaN(t.getTime()))return t.toUTCString()}catch(e){}}async function t3(e,t=!1){let a=eH(e),r=await a.getIdToken(t),n=t8(r);tO(n&&n.exp&&n.auth_time&&n.iat,a.auth,"internal-error");let o="object"==typeof n.firebase?n.firebase:void 0,i=o?.sign_in_provider;return{claims:n,token:r,authTime:t4(t6(n.auth_time)),issuedAtTime:t4(t6(n.iat)),expirationTime:t4(t6(n.exp)),signInProvider:i||null,signInSecondFactor:o?.sign_in_second_factor||null}}function t6(e){return 1e3*Number(e)}function t8(e){let[t,a,r]=e.split(".");if(void 0===t||void 0===a||void 0===r)return tE("JWT malformed, contained fewer than 3 sections"),null;try{let e=ek(a);if(!e)return tE("Failed to decode base64 JWT payload"),null;return JSON.parse(e)}catch(e){return tE("Caught error parsing JWT payload as JSON",e?.toString()),null}}function t7(e){let t=t8(e);return tO(t,"internal-error"),tO(void 0!==t.exp,"internal-error"),tO(void 0!==t.iat,"internal-error"),Number(t.exp)-Number(t.iat)}async function t9(e,t,a=!1){if(a)return t;try{return await t}catch(t){throw t instanceof eN&&function({code:e}){return"auth/user-disabled"===e||"auth/user-token-expired"===e}(t)&&e.auth.currentUser===e&&await e.auth.signOut(),t}}class ae{constructor(e){this.user=e,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(e){if(!e)return this.errorBackoff=3e4,Math.max(0,(this.user.stsTokenManager.expirationTime??0)-Date.now()-3e5);{let e=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),e}}schedule(e=!1){if(!this.isRunning)return;let t=this.getInterval(e);this.timerId=setTimeout(async()=>{await this.iteration()},t)}async iteration(){try{await this.user.getIdToken(!0)}catch(e){e?.code==="auth/network-request-failed"&&this.schedule(!0);return}this.schedule()}}class at{constructor(e,t){this.createdAt=e,this.lastLoginAt=t,this._initializeTime()}_initializeTime(){this.lastSignInTime=t4(this.lastLoginAt),this.creationTime=t4(this.createdAt)}_copy(e){this.createdAt=e.createdAt,this.lastLoginAt=e.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}async function aa(e){var t,a;let r=e.auth,n=await e.getIdToken(),o=await t9(e,t5(r,{idToken:n}));tO(o?.users.length,r,"internal-error");let i=o.users[0];e._notifyReloadListener(i);let s=i.providerUserInfo?.length?an(i.providerUserInfo):[],l=(t=e.providerData,a=s,[...t.filter(e=>!a.some(t=>t.providerId===e.providerId)),...a]),c=e.isAnonymous,d=!(e.email&&i.passwordHash)&&!l?.length;Object.assign(e,{uid:i.localId,displayName:i.displayName||null,photoURL:i.photoUrl||null,email:i.email||null,emailVerified:i.emailVerified||!1,phoneNumber:i.phoneNumber||null,tenantId:i.tenantId||null,providerData:l,metadata:new at(i.createdAt,i.lastLoginAt),isAnonymous:!!c&&d})}async function ar(e){let t=eH(e);await aa(t),await t.auth._persistUserIfCurrent(t),t.auth._notifyListenersIfCurrent(t)}function an(e){return e.map(({providerId:e,...t})=>
2({providerId:e,uid:t.rawId||"",displayName:t.displayName||null,email:t.email||null,phoneNumber:t.phoneNumber||null,photoURL:t.photoUrl||null}))}async function ao(e,t){let a=await tV(e,{},async()=>{let a=ez({grant_type:"refresh_token",refresh_token:t}).slice(1),{tokenApiHost:r,apiKey:n}=e.config,o=await tY(e,r,"/v1/token",`key=${n}`),i=await e._getAdditionalHeaders();i["Content-Type"]="application/x-www-form-urlencoded";let s={method:"POST",headers:i,body:a};return e.emulatorConfig&&eD(e.emulatorConfig.host)&&(s.credentials="include"),t$.fetch()(o,s)});return{accessToken:a.access_token,expiresIn:a.expires_in,refreshToken:a.refresh_token}}async function ai(e,t){return tK(e,"POST","/v2/accounts:revokeToken",tG(e,t))}class as{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(e){tO(e.idToken,"internal-error"),tO(void 0!==e.idToken,"internal-error"),tO(void 0!==e.refreshToken,"internal-error");let t="expiresIn"in e&&void 0!==e.expiresIn?Number(e.expiresIn):t7(e.idToken);this.updateTokensAndExpiration(e.idToken,e.refreshToken,t)}updateFromIdToken(e){tO(0!==e.length,"internal-error");let t=t7(e);this.updateTokensAndExpiration(e,null,t)}async getToken(e,t=!1){return t||!this.accessToken||this.isExpired?(tO(this.refreshToken,e,"user-token-expired"),this.refreshToken)?(await this.refresh(e,this.refreshToken),this.accessToken):null:this.accessToken}clearRefreshToken(){this.refreshToken=null}async refresh(e,t){let{accessToken:a,refreshToken:r,expiresIn:n}=await ao(e,t);this.updateTokensAndExpiration(a,r,Number(n))}updateTokensAndExpiration(e,t,a){this.refreshToken=t||null,this.accessToken=e||null,this.expirationTime=Date.now()+1e3*a}static fromJSON(e,t){let{refreshToken:a,accessToken:r,expirationTime:n}=t,o=new as;return a&&(tO("string"==typeof a,"internal-error",{appName:e}),o.refreshToken=a),r&&(tO("string"==typeof r,"internal-error",{appName:e}),o.accessToken=r),n&&(tO("number"==typeof n,"internal-error",{appName:e}),o.expirationTime=n),o}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(e){this.accessToken=e.accessToken,this.refreshToken=e.refreshToken,this.expirationTime=e.expirationTime}_clone(){return Object.assign(new as,this.toJSON())}_performRefresh(){return tM("not implemented")}}function al(e,t){tO("string"==typeof e||void 0===e,"internal-error",{appName:t})}class ac{constructor({uid:e,auth:t,stsTokenManager:a,...r}){this.providerId="firebase",this.proactiveRefresh=new ae(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=e,this.auth=t,this.stsTokenManager=a,this.accessToken=a.accessToken,this.displayName=r.displayName||null,this.email=r.email||null,this.emailVerified=r.emailVerified||!1,this.phoneNumber=r.phoneNumber||null,this.photoURL=r.photoURL||null,this.isAnonymous=r.isAnonymous||!1,this.tenantId=r.tenantId||null,this.providerData=r.providerData?[...r.providerData]:[],this.metadata=new at(r.createdAt||void 0,r.lastLoginAt||void 0)}async getIdToken(e){let t=await t9(this,this.stsTokenManager.getToken(this.auth,e));return tO(t,this.auth,"internal-error"),this.accessToken!==t&&(this.accessToken=t,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),t}getIdTokenResult(e){return t3(this,e)}reload(){return ar(this)}_assign(e){this!==e&&(tO(this.uid===e.uid,this.auth,"internal-error"),this.displayName=e.displayName,this.photoURL=e.photoURL,this.email=e.email,this.emailVerified=e.emailVerified,this.phoneNumber=e.phoneNumber,this.isAnonymous=e.isAnonymous,this.tenantId=e.tenantId,this.providerData=e.providerData.map(e=>({...e})),this.metadata._copy(e.metadata),this.stsTokenManager._assign(e.stsTokenManager))}_clone(e){let t=new ac({...this,auth:e,stsTokenManager:this.stsTokenManager._clone()});return t.metadata._copy(this.metadata),t}_onReload(e){tO(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=e,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(e){this.reloadListener?this.reloadListener(e):this.reloadUserInfo=e}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(e,t=!1){let a=!1;e.idToken&&e.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(e),a=!0),t&&await aa(this),await this.auth._persistUserIfCurrent(this),a&&this.auth._notifyListenersIfCurrent(this)}async delete(){if(tu(this.auth.app))return Promise.reject(tR(this.auth));let e=await this.getIdToken();return await t9(this,t2(this.auth,{idToken:e})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return{uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isA
2nonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(e=>({...e})),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId,...this.metadata.toJSON(),apiKey:this.auth.config.apiKey,appName:this.auth.name}}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(e,t){let a=t.displayName??void 0,r=t.email??void 0,n=t.phoneNumber??void 0,o=t.photoURL??void 0,i=t.tenantId??void 0,s=t._redirectEventId??void 0,l=t.createdAt??void 0,c=t.lastLoginAt??void 0,{uid:d,emailVerified:u,isAnonymous:p,providerData:m,stsTokenManager:h}=t;tO(d&&h,e,"internal-error");let g=as.fromJSON(this.name,h);tO("string"==typeof d,e,"internal-error"),al(a,e.name),al(r,e.name),tO("boolean"==typeof u,e,"internal-error"),tO("boolean"==typeof p,e,"internal-error"),al(n,e.name),al(o,e.name),al(i,e.name),al(s,e.name),al(l,e.name),al(c,e.name);let f=new ac({uid:d,auth:e,email:r,emailVerified:u,displayName:a,isAnonymous:p,photoURL:o,phoneNumber:n,tenantId:i,stsTokenManager:g,createdAt:l,lastLoginAt:c});return m&&Array.isArray(m)&&(f.providerData=m.map(e=>({...e}))),s&&(f._redirectEventId=s),f}static async _fromIdTokenResponse(e,t,a=!1){let r=new as;r.updateFromServerResponse(t);let n=new ac({uid:t.localId,auth:e,stsTokenManager:r,isAnonymous:a});return await aa(n),n}static async _fromGetAccountInfoResponse(e,t,a){let r=t.users[0];tO(void 0!==r.localId,"internal-error");let n=void 0!==r.providerUserInfo?an(r.providerUserInfo):[],o=!(r.email&&r.passwordHash)&&!n?.length,i=new as;i.updateFromIdToken(a);let s=new ac({uid:r.localId,auth:e,stsTokenManager:i,isAnonymous:o});return Object.assign(s,{uid:r.localId,displayName:r.displayName||null,photoURL:r.photoUrl||null,email:r.email||null,emailVerified:r.emailVerified||!1,phoneNumber:r.phoneNumber||null,tenantId:r.tenantId||null,providerData:n,metadata:new at(r.createdAt,r.lastLoginAt),isAnonymous:!(r.email&&r.passwordHash)&&!n?.length}),s}}let ad=new Map;function au(e){var t,a;t="Expected a class definition",e instanceof Function||tM(t);let r=ad.get(e);return r?(a="Instance stored in cache mismatched with class",r instanceof e||tM(a)):(r=new e,ad.set(e,r)),r}class ap{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(e,t){this.storage[e]=t}async _get(e){let t=this.storage[e];return void 0===t?null:t}async _remove(e){delete this.storage[e]}_addListener(e,t){}_removeListener(e,t){}}function am(e,t,a){return`firebase:${e}:${t}:${a}`}ap.type="NONE";class ah{constructor(e,t,a){this.persistence=e,this.auth=t,this.userKey=a;const{config:r,name:n}=this.auth;this.fullUserKey=am(this.userKey,r.apiKey,n),this.fullPersistenceKey=am("persistence",r.apiKey,n),this.boundEventHandler=t._onStorageEvent.bind(t),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(e){return this.persistence._set(this.fullUserKey,e.toJSON())}async getCurrentUser(){let e=await this.persistence._get(this.fullUserKey);if(!e)return null;if("string"==typeof e){let t=await t5(this.auth,{idToken:e}).catch(()=>void 0);return t?ac._fromGetAccountInfoResponse(this.auth,t,e):null}return ac._fromJSON(this.auth,e)}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(e){if(this.persistence===e)return;let t=await this.getCurrentUser();if(await this.removeCurrentUser(),this.persistence=e,t)return this.setCurrentUser(t)}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(e,t,a="authUser"){if(!t.length)return new ah(au(ap),e,a);let r=(await Promise.all(t.map(async e=>{if(await e._isAvailable())return e}))).filter(e=>e),n=r[0]||au(ap),o=am(a,e.config.apiKey,e.name),i=null;for(let a of t)try{let t=await a._get(o);if(t){let r;if("string"==typeof t){let a=await t5(e,{idToken:t}).catch(()=>void 0);if(!a)break;r=await ac._fromGetAccountInfoResponse(e,a,t)}else r=ac._fromJSON(e,t);a!==n&&(i=r),n=a;break}}catch{}let s=r.filter(e=>e._shouldAllowMigration);return n._shouldAllowMigration&&s.length&&(n=s[0],i&&await n._set(o,i.toJSON()),await Promise.all(t.map(async e=>{if(e!==n)try{await e._remove(o)}catch{}}))),new ah(n,e,a)}}function ag(e){let t=e.toLowerCase();if(t.includes("opera/")||t.includes("opr/")||t.includes("opios/"))return"Opera";{if(ab(t))return"IEMobile";if(t.includes("msie")||t.includes("trident/"))return"IE";if(t.includes("edge/"))return"Edge";if(af(t))return"Firefox";if(t.includes("silk/"))return"Silk";if(aw(t))return"Blackberry";if(ak(t))return"Webos";if(ay(t))return"Safari";if((t.includes("chrome/")||av(t))&&!t.includes("edge/"))return"Chrome";if(ax(t))return"Android";let a=e.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/);if(a?.length===2)return a[1]}return"Other"}function af(e=eI()){return/firefox\//i.test(e)}function ay(e=eI()){let t=e.toLowerCase();return t.includes("safari/")&&!t.includes("chrome/")&&!t.includes("crios/")&&!t.includes("android")}function av(e=eI()){return/crios\//i.test(e)}function ab(e=eI()){return/iemobile/i.test(e)}function ax(e=eI()){return/android/i.test(e)}function aw(e=eI()){return/blackberry/i.test(e)}function ak(e=eI()){return/webos/i.test(e)}function a_(e=eI()){return/iphone|ipad|ipod/i.test(e)||/macintosh/i.test(e)&&/mobile/i.test(e)}function aj(e=eI()){return a_(e)||ax(e)||ak(e)||aw(e)||/windows phone/i.test(e)||ab(e)}function aS(e,t=[]){let a;switch(e){case"Browser":a=ag(eI());break;case"Worker":a=`${ag(eI())}-${e}`;break;default:a=e}let r=t.length?t.join(","):"FirebaseCore-web";return`${a}/JsCore/${th}/${r}`}class aC{constructor(e){this.auth=e,this.queue=[]}pushCallback(e,t){let a=t=>new Promise((a,r)=>{try{let r=e(t);a(r)}catch(e){r(e)}});a.onAbort=t,this.queue.push(a);let r=this.queue.length-1;return()=>{this.queue[r]=()=>Promise.resolve()}}async runMiddleware(e){if(this.auth.currentUser===e)return;let t=[];try{for(let a of this.queue)await a(e),a.onAbort&&t.push(a.onAbort)}catch(e){for(let e of(t.reverse(),t))try{e()}catch(e){}throw this.auth._errorFactory.create("login-blocked",{originalMessage:e?.message})}}}async function aI(e,t={}){return tK(e,"GET","/v2/passwordPolicy",tG(e,t))}class aN{constructor(e){const t=e.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=t.minPasswordLength??6,t.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=t.maxPasswordLength),void 0!==t.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=t.containsLowercaseCharacter),void 0!==t.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=t.containsUppercaseCharacter),void 0!==t.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=t.containsNumericCharacter),void 0!==t.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=t.containsNonAlphanumericCharacter),this.enforcementState=e.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=e.allowedNonAlphanumericCharacters?.join("")??"",this.forceUpgradeOnSignin=e.forceUpgradeOnSignin??!1,this.schemaVersion=e.schemaVersion}validatePassword(e){let t={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(e,t),this.validatePasswordCharacterOptions(e,t),t.isValid&&
2(t.isValid=t.meetsMinPasswordLength??!0),t.isValid&&(t.isValid=t.meetsMaxPasswordLength??!0),t.isValid&&(t.isValid=t.containsLowercaseLetter??!0),t.isValid&&(t.isValid=t.containsUppercaseLetter??!0),t.isValid&&(t.isValid=t.containsNumericCharacter??!0),t.isValid&&(t.isValid=t.containsNonAlphanumericCharacter??!0),t}validatePasswordLengthOptions(e,t){let a=this.customStrengthOptions.minPasswordLength,r=this.customStrengthOptions.maxPasswordLength;a&&(t.meetsMinPasswordLength=e.length>=a),r&&(t.meetsMaxPasswordLength=e.length<=r)}validatePasswordCharacterOptions(e,t){let a;this.updatePasswordCharacterOptionsStatuses(t,!1,!1,!1,!1);for(let r=0;r<e.length;r++)a=e.charAt(r),this.updatePasswordCharacterOptionsStatuses(t,a>="a"&&a<="z",a>="A"&&a<="Z",a>="0"&&a<="9",this.allowedNonAlphanumericCharacters.includes(a))}updatePasswordCharacterOptionsStatuses(e,t,a,r,n){this.customStrengthOptions.containsLowercaseLetter&&(e.containsLowercaseLetter||(e.containsLowercaseLetter=t)),this.customStrengthOptions.containsUppercaseLetter&&(e.containsUppercaseLetter||(e.containsUppercaseLetter=a)),this.customStrengthOptions.containsNumericCharacter&&(e.containsNumericCharacter||(e.containsNumericCharacter=r)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(e.containsNonAlphanumericCharacter||(e.containsNonAlphanumericCharacter=n))}}class aA{constructor(e,t,a,r){this.app=e,this.heartbeatServiceProvider=t,this.appCheckServiceProvider=a,this.config=r,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new aE(this),this.idTokenSubscription=new aE(this),this.beforeStateQueue=new aC(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=tN,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this._resolvePersistenceManagerAvailable=void 0,this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=e.name,this.clientVersion=r.sdkClientVersion,this._persistenceManagerAvailable=new Promise(e=>this._resolvePersistenceManagerAvailable=e)}_initializeWithPersistence(e,t){return t&&(this._popupRedirectResolver=au(t)),this._initializationPromise=this.queue(async()=>{if(!this._deleted){if(this.persistenceManager=await ah.create(this,e),this._resolvePersistenceManagerAvailable?.(),!this._deleted){if(this._popupRedirectResolver?._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch(e){}await this.initializeCurrentUser(t),this.lastNotifiedUid=this.currentUser?.uid||null,this._deleted||(this._isInitialized=!0)}}}),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;let e=await this.assertedPersistence.getCurrentUser();if(this.currentUser||e){if(this.currentUser&&e&&this.currentUser.uid===e.uid){this._currentUser._assign(e),await this.currentUser.getIdToken();return}await this._updateCurrentUser(e,!0)}}async initializeCurrentUserFromIdToken(e){try{let t=await t5(this,{idToken:e}),a=await ac._fromGetAccountInfoResponse(this,t,e);await this.directlySetCurrentUser(a)}catch(e){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",e),await this.directlySetCurrentUser(null)}}async initializeCurrentUser(e){if(tu(this.app)){let e=this.app.settings.authIdToken;return e?new Promise(t=>{setTimeout(()=>this.initializeCurrentUserFromIdToken(e).then(t,t))}):this.directlySetCurrentUser(null)}let t=await this.assertedPersistence.getCurrentUser(),a=t,r=!1;if(e&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();let t=this.redirectUser?._redirectEventId,n=a?._redirectEventId,o=await this.tryRedirectSignIn(e);(!t||t===n)&&o?.user&&(a=o.user,r=!0)}if(!a)return this.directlySetCurrentUser(null);if(!a._redirectEventId){if(r)try{await this.beforeStateQueue.runMiddleware(a)}catch(e){a=t,this._popupRedirectResolver._overrideRedirectResult(this,()=>Promise.reject(e))}return a?this.reloadAndSetCurrentUserOrClear(a):this.directlySetCurrentUser(null)}return(tO(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===a._redirectEventId)?this.directlySetCurrentUser(a):this.reloadAndSetCurrentUserOrClear(a)}async tryRedirectSignIn(e){let t=null;try{t=await this._popupRedirectResolver._completeRedirectFn(this,e,!0)}catch(e){await this._setRedirectUser(null)}return t}async reloadAndSetCurrentUserOrClear(e){try{await aa(e)}catch(e){if(e?.code!=="auth/network-request-failed")return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(e)}useDeviceLanguage(){this.languageCode=function(){if("u"<typeof navigator)return null;let e=navigator;return e.languages&&e.languages[0]||e.language||null}()}async _delete(){this._deleted=!0}
2async updateCurrentUser(e){if(tu(this.app))return Promise.reject(tR(this));let t=e?eH(e):null;return t&&tO(t.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(t&&t._clone(this))}async _updateCurrentUser(e,t=!1){if(!this._deleted)return e&&tO(this.tenantId===e.tenantId,this,"tenant-id-mismatch"),t||await this.beforeStateQueue.runMiddleware(e),this.queue(async()=>{await this.directlySetCurrentUser(e),this.notifyAuthListeners()})}async signOut(){return tu(this.app)?Promise.reject(tR(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(e){return tu(this.app)?Promise.reject(tR(this)):this.queue(async()=>{await this.assertedPersistence.setPersistence(au(e))})}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(e){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();let t=this._getPasswordPolicyInternal();return t.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):t.validatePassword(e)}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){let e=new aN(await aI(this));null===this.tenantId?this._projectPasswordPolicy=e:this._tenantPasswordPolicies[this.tenantId]=e}_getPersistenceType(){return this.assertedPersistence.persistence.type}_getPersistence(){return this.assertedPersistence.persistence}_updateErrorMap(e){this._errorFactory=new eA("auth","Firebase",e())}onAuthStateChanged(e,t,a){return this.registerStateListener(this.authStateSubscription,e,t,a)}beforeAuthStateChanged(e,t){return this.beforeStateQueue.pushCallback(e,t)}onIdTokenChanged(e,t,a){return this.registerStateListener(this.idTokenSubscription,e,t,a)}authStateReady(){return new Promise((e,t)=>{if(this.currentUser)e();else{let a=this.onAuthStateChanged(()=>{a(),e()},t)}})}async revokeAccessToken(e){if(this.currentUser){let t={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:e,idToken:await this.currentUser.getIdToken()};null!=this.tenantId&&(t.tenantId=this.tenantId),await ai(this,t)}}toJSON(){return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:this._currentUser?.toJSON()}}async _setRedirectUser(e,t){let a=await this.getOrInitRedirectPersistenceManager(t);return null===e?a.removeCurrentUser():a.setCurrentUser(e)}async getOrInitRedirectPersistenceManager(e){if(!this.redirectPersistenceManager){let t=e&&au(e)||this._popupRedirectResolver;tO(t,this,"argument-error"),this.redirectPersistenceManager=await ah.create(this,[au(t._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(e){return(this._isInitialized&&await this.queue(async()=>{}),this._currentUser?._redirectEventId===e)?this._currentUser:this.redirectUser?._redirectEventId===e?this.redirectUser:null}async _persistUserIfCurrent(e){if(e===this.currentUser)return this.queue(async()=>this.directlySetCurrentUser(e))}_notifyListenersIfCurrent(e){e===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);let e=this.currentUser?.uid??null;this.lastNotifiedUid!==e&&(this.lastNotifiedUid=e,this.authStateSubscription.next(this.currentUser))}registerStateListener(e,t,a,r){if(this._deleted)return()=>{};let n="function"==typeof t?t:t.next.bind(t),o=!1,i=this._isInitialized?Promise.resolve():this._initializationPromise;if(tO(i,this,"internal-error"),i.then(()=>{o||n(this.currentUser)}),"function"==typeof t){let n=e.addObserver(t,a,r);return()=>{o=!0,n()}}{let a=e.addObserver(t);return()=>{o=!0,a()}}}async directlySetCurrentUser(e){this.currentUser&&this.currentUser!==e&&this._currentUser._stopProactiveRefresh(),e&&this.isProactiveRefreshEnabled&&e._startProactiveRefresh(),this.currentUser=e,e?await this.assertedPersistence.setCurrentUser(e):await this.assertedPersistence.removeCurrentUser()}queue(e){return this.operations=this.operations.then(e,e),this.operations}get assertedPersistence(){return tO(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(e){!e||this.frameworks.includes(e)||(this.frameworks.push(e),this.frameworks.sort(),this.clientVersion=aS(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){let e={"X-Client-Version":this.clientVersion};this.app.options.appId&&(e["X-Firebase-gmpid"]=this.app.options.appId);let t=await this.heartbeatServiceProvider.getImmediate({optional:!0})?.getHeartbeatsHeader();t&&(e["X-Firebase-Client"]=t);let a=await this._getAppCheckToken();return a&&(e["X-Firebase-AppCheck"]=a),e}async _getAppCheckToken(){if(tu(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;let e=await this.appCheckServiceProvider.getImmediate({optional:!0})?.getToken();return e?.error&&function(e,...t){tA.logLevel<=i.WARN&&tA.warn(`Auth (${th}): ${e}`,...t)}(`Error while retrieving App Check token: ${e.error}`),e?.token}}class aE{constructor(e){this.auth=e,this.observer=null,this.addObserver=function(e){let t=new eO(e,void 0);return t.subscribe.bind(t)}(e=>this.observer=e)}get next(){return tO(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let aT={async loadJS(){throw Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function aP(e){return`__${e}${Math.floor(1e6*Math.random())}`}class az{constructor(){this.enterprise=new aR}ready(e){e()}execute(e,t){return Promise.resolve("token")}render(e,t){return""}}class aR{ready(e){e()}execute(e,t){return Promise.resolve("token")}render(e,t){return""}}let aL="NO_RECAPTCHA";class aO{constructor(e){this.type="recaptcha-enterprise",this.auth=function(e){return eH(e)}(e)}async verify(e="verify",t=!1){async function a(e){if(!t){if(null==e.tenantId&&null!=e._agentRecaptchaConfig)return e._agentRecaptchaConfig.siteKey;if(null!=e.tenantId&&void 0!==e._tenantRecaptchaConfigs[e.tenantId])return e._tenantRecaptchaConfigs[e.tenantId].siteKey}return new Promise(async(t,a)=>
2{t1(e,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(r=>{if(void 0===r.recaptchaKey)a(Error("recaptcha Enterprise site key undefined"));else{let a=new t0(r);return null==e.tenantId?e._agentRecaptchaConfig=a:e._tenantRecaptchaConfigs[e.tenantId]=a,t(a.siteKey)}}).catch(e=>{a(e)})})}function r(t,a,r){let n=window.grecaptcha;tQ(n)?n.enterprise.ready(()=>{n.enterprise.execute(t,{action:e}).then(e=>{a(e)}).catch(()=>{a(aL)})}):r(Error("No reCAPTCHA enterprise script loaded."))}return this.auth.settings.appVerificationDisabledForTesting?new az().execute("siteKey",{action:"verify"}):new Promise((e,n)=>{a(this.auth).then(a=>{if(!t&&tQ(window.grecaptcha))r(a,e,n);else{var o;if("u"<typeof window)return void n(Error("RecaptchaVerifier is only supported in browser"));let t=aT.recaptchaEnterpriseScript;0!==t.length&&(t+=a),(o=t,aT.loadJS(o)).then(()=>{r(a,e,n)}).catch(e=>{n(e)})}}).catch(e=>{n(e)})})}}async function aM(e,t,a,r=!1,n=!1){let o,i=new aO(e);if(n)o=aL;else try{o=await i.verify(a)}catch(e){o=await i.verify(a,!0)}let s={...t};if("mfaSmsEnrollment"===a||"mfaSmsSignIn"===a){if("phoneEnrollmentInfo"in s){let e=s.phoneEnrollmentInfo.phoneNumber,t=s.phoneEnrollmentInfo.recaptchaToken;Object.assign(s,{phoneEnrollmentInfo:{phoneNumber:e,recaptchaToken:t,captchaResponse:o,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}else if("phoneSignInInfo"in s){let e=s.phoneSignInInfo.recaptchaToken;Object.assign(s,{phoneSignInInfo:{recaptchaToken:e,captchaResponse:o,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}return s}return r?Object.assign(s,{captchaResp:o}):Object.assign(s,{captchaResponse:o}),Object.assign(s,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(s,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),s}async function aH(e,t,a,r,n){if("EMAIL_PASSWORD_PROVIDER"===n)if(!e._getRecaptchaConfig()?.isProviderEnabled("EMAIL_PASSWORD_PROVIDER"))return r(e,t).catch(async n=>{if("auth/missing-recaptcha-token"!==n.code)return Promise.reject(n);{console.log(`${a} is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow.`);let n=await aM(e,t,a,"getOobCode"===a);return r(e,n)}});else{let n=await aM(e,t,a,"getOobCode"===a);return r(e,n)}if("PHONE_PROVIDER"!==n)return Promise.reject(n+" provider is not supported.");if(e._getRecaptchaConfig()?.isProviderEnabled("PHONE_PROVIDER")){let n=await aM(e,t,a);return r(e,n).catch(async n=>{if(e._getRecaptchaConfig()?.getProviderEnforcementState("PHONE_PROVIDER")==="AUDIT"&&("auth/missing-recaptcha-token"===n.code||"auth/invalid-app-credential"===n.code)){console.log(`Failed to verify with reCAPTCHA Enterprise. Automatically triggering the reCAPTCHA v2 flow to complete the ${a} flow.`);let n=await aM(e,t,a,!1,!0);return r(e,n)}return Promise.reject(n)})}{let n=await aM(e,t,a,!1,!0);return r(e,n)}}async function aD(e){let t=eH(e),a=new t0(await t1(t,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}));null==t.tenantId?t._agentRecaptchaConfig=a:t._tenantRecaptchaConfigs[t.tenantId]=a,a.isAnyProviderEnabled()&&new aO(t).verify()}function aq(e){let t=e.indexOf(":");return t<0?"":e.substr(0,t+1)}function aW(e){if(!e)return null;let t=Number(e);return isNaN(t)?null:t}class a${constructor(e,t){this.providerId=e,this.signInMethod=t}toJSON(){return tM("not implemented")}_getIdTokenResponse(e){return tM("not implemented")}_linkToIdToken(e,t){return tM("not implemented")}_getReauthenticationResolver(e){return tM("not implemented")}}async function aU(e,t){return tK(e,"POST","/v1/accounts:signUp",t)}async function aF(e,t){return tZ(e,"POST","/v1/accounts:signInWithPassword",tG(e,t))}async function aB(e,t){return tZ(e,"POST","/v1/accounts:signInWithEmailLink",tG(e,t))}async function aG(e,t){return tZ(e,"POST","/v1/accounts:signInWithEmailLink",tG(e,t))}class aK extends a${constructor(e,t,a,r=null){super("password",a),this._email=e,this._password=t,this._tenantId=r}static _fromEmailAndPassword(e,t){return new aK(e,t,"password")}static _fromEmailAndCode(e,t,a=null){return new aK(e,t,"emailLink",a)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(e){let t="string"==typeof e?JSON.parse(e):e;if(t?.email&&t?.password){if("password"===t.signInMethod)return this._fromEmailAndPassword(t.email,t.password);else if("emailLink"===t.signInMethod)return this._fromEmailAndCode(t.email,t.password,t.tenantId)}return null}async _getIdTokenResponse(e){switch(this.signInMethod){case"password":return aH(e,{returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signInWithPassword",aF,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return aB(e,{email:this._email,oobCode:this._password});default:tT(e,"internal-error")}}async _linkToIdToken(e,t){switch(this.signInMethod){case"password":return aH(e,{idToken:t,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",aU,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return aG(e,{idToken:t,email:this._email,oobCode:this._password});default:tT(e,"internal-error")}}_getReauthenticationResolver(e){return this._getIdTokenResponse(e)}}async function aV(e,t){return tZ(e,"POST","/v1/accounts:signInWithIdp",tG(e,t))}class aZ extends a${constructor(){super(...arguments),this.pendingToken=null}static _fromParams(e){let t=new aZ(e.providerId,e.signInMethod);return e.idToken||e.accessToken?(e.idToken&&(t.idToken=e.idToken),e.accessToken&&(t.accessToken=e.accessToken),e.nonce&&!e.pendingToken&&
2(t.nonce=e.nonce),e.pendingToken&&(t.pendingToken=e.pendingToken)):e.oauthToken&&e.oauthTokenSecret?(t.accessToken=e.oauthToken,t.secret=e.oauthTokenSecret):tT("argument-error"),t}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,nonce:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(e){let{providerId:t,signInMethod:a,...r}="string"==typeof e?JSON.parse(e):e;if(!t||!a)return null;let n=new aZ(t,a);return n.idToken=r.idToken||void 0,n.accessToken=r.accessToken||void 0,n.secret=r.secret,n.nonce=r.nonce,n.pendingToken=r.pendingToken||null,n}_getIdTokenResponse(e){return aV(e,this.buildRequest())}_linkToIdToken(e,t){let a=this.buildRequest();return a.idToken=t,aV(e,a)}_getReauthenticationResolver(e){let t=this.buildRequest();return t.autoCreate=!1,aV(e,t)}buildRequest(){let e={requestUri:"http://localhost",returnSecureToken:!0};if(this.pendingToken)e.pendingToken=this.pendingToken;else{let t={};this.idToken&&(t.id_token=this.idToken),this.accessToken&&(t.access_token=this.accessToken),this.secret&&(t.oauth_token_secret=this.secret),t.providerId=this.providerId,this.nonce&&!this.pendingToken&&(t.nonce=this.nonce),e.postBody=ez(t)}return e}}async function aY(e,t){return tK(e,"POST","/v1/accounts:sendVerificationCode",tG(e,t))}async function aJ(e,t){return tZ(e,"POST","/v1/accounts:signInWithPhoneNumber",tG(e,t))}async function aX(e,t){let a=await tZ(e,"POST","/v1/accounts:signInWithPhoneNumber",tG(e,t));if(a.temporaryProof)throw tX(e,"account-exists-with-different-credential",a);return a}let aQ={USER_NOT_FOUND:"user-not-found"};async function a0(e,t){return tZ(e,"POST","/v1/accounts:signInWithPhoneNumber",tG(e,{...t,operation:"REAUTH"}),aQ)}class a1 extends a${constructor(e){super("phone","phone"),this.params=e}static _fromVerification(e,t){return new a1({verificationId:e,verificationCode:t})}static _fromTokenResponse(e,t){return new a1({phoneNumber:e,temporaryProof:t})}_getIdTokenResponse(e){return aJ(e,this._makeVerificationRequest())}_linkToIdToken(e,t){return aX(e,{idToken:t,...this._makeVerificationRequest()})}_getReauthenticationResolver(e){return a0(e,this._makeVerificationRequest())}_makeVerificationRequest(){let{temporaryProof:e,phoneNumber:t,verificationId:a,verificationCode:r}=this.params;return e&&t?{temporaryProof:e,phoneNumber:t}:{sessionInfo:a,code:r}}toJSON(){let e={providerId:this.providerId};return this.params.phoneNumber&&(e.phoneNumber=this.params.phoneNumber),this.params.temporaryProof&&(e.temporaryProof=this.params.temporaryProof),this.params.verificationCode&&(e.verificationCode=this.params.verificationCode),this.params.verificationId&&(e.verificationId=this.params.verificationId),e}static fromJSON(e){"string"==typeof e&&(e=JSON.parse(e));let{verificationId:t,verificationCode:a,phoneNumber:r,temporaryProof:n}=e;return a||t||r||n?new a1({verificationId:t,verificationCode:a,phoneNumber:r,temporaryProof:n}):null}}class a2{constructor(e){const t=eR(eL(e)),a=t.apiKey??null,r=t.oobCode??null,n=function(e){switch(e){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}(t.mode??null);tO(a&&r&&n,"argument-error"),this.apiKey=a,this.operation=n,this.code=r,this.continueUrl=t.continueUrl??null,this.languageCode=t.lang??null,this.tenantId=t.tenantId??null}static parseLink(e){let t,a,r,n=(a=(t=eR(eL(e)).link)?eR(eL(t)).deep_link_id:null,((r=eR(eL(e)).deep_link_id)?eR(eL(r)).link:null)||r||a||t||e);try{return new a2(n)}catch{return null}}}class a5{constructor(){this.providerId=a5.PROVIDER_ID}static credential(e,t){return aK._fromEmailAndPassword(e,t)}static credentialWithLink(e,t){let a=a2.parseLink(t);return tO(a,"argument-error"),aK._fromEmailAndCode(e,a.code,a.tenantId)}}a5.PROVIDER_ID="password",a5.EMAIL_PASSWORD_SIGN_IN_METHOD="password",a5.EMAIL_LINK_SIGN_IN_METHOD="emailLink";class a4{constructor(e){this.providerId=e,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(e){this.defaultLanguageCode=e}setCustomParameters(e){return this.customParameters=e,this}getCustomParameters(){return this.customParameters}}class a3 extends a4{constructor(){super(...arguments),this.scopes=[]}addScope(e){return this.scopes.includes(e)||this.scopes.push(e),this}getScopes(){return[...this.scopes]}}class a6 extends a3{constructor(){super("facebook.com")}static credential(e){return aZ._fromParams({providerId:a6.PROVIDER_ID,signInMethod:a6.FACEBOOK_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return a6.credentialFromTaggedObject(e)}static credentialFromError(e){return a6.credentialFromTaggedObject(e.customData||{})}
2static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e)||!e.oauthAccessToken)return null;try{return a6.credential(e.oauthAccessToken)}catch{return null}}}a6.FACEBOOK_SIGN_IN_METHOD="facebook.com",a6.PROVIDER_ID="facebook.com";class a8 extends a3{constructor(){super("google.com"),this.addScope("profile")}static credential(e,t){return aZ._fromParams({providerId:a8.PROVIDER_ID,signInMethod:a8.GOOGLE_SIGN_IN_METHOD,idToken:e,accessToken:t})}static credentialFromResult(e){return a8.credentialFromTaggedObject(e)}static credentialFromError(e){return a8.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;let{oauthIdToken:t,oauthAccessToken:a}=e;if(!t&&!a)return null;try{return a8.credential(t,a)}catch{return null}}}a8.GOOGLE_SIGN_IN_METHOD="google.com",a8.PROVIDER_ID="google.com";class a7 extends a3{constructor(){super("github.com")}static credential(e){return aZ._fromParams({providerId:a7.PROVIDER_ID,signInMethod:a7.GITHUB_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return a7.credentialFromTaggedObject(e)}static credentialFromError(e){return a7.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e)||!e.oauthAccessToken)return null;try{return a7.credential(e.oauthAccessToken)}catch{return null}}}a7.GITHUB_SIGN_IN_METHOD="github.com",a7.PROVIDER_ID="github.com";class a9 extends a3{constructor(){super("twitter.com")}static credential(e,t){return aZ._fromParams({providerId:a9.PROVIDER_ID,signInMethod:a9.TWITTER_SIGN_IN_METHOD,oauthToken:e,oauthTokenSecret:t})}static credentialFromResult(e){return a9.credentialFromTaggedObject(e)}static credentialFromError(e){return a9.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;let{oauthAccessToken:t,oauthTokenSecret:a}=e;if(!t||!a)return null;try{return a9.credential(t,a)}catch{return null}}}async function re(e,t){return tZ(e,"POST","/v1/accounts:signUp",tG(e,t))}a9.TWITTER_SIGN_IN_METHOD="twitter.com",a9.PROVIDER_ID="twitter.com";class rt{constructor(e){this.user=e.user,this.providerId=e.providerId,this._tokenResponse=e._tokenResponse,this.operationType=e.operationType}static async _fromIdTokenResponse(e,t,a,r=!1){return new rt({user:await ac._fromIdTokenResponse(e,a,r),providerId:ra(a),_tokenResponse:a,operationType:t})}static async _forOperation(e,t,a){return await e._updateTokensIfNecessary(a,!0),new rt({user:e,providerId:ra(a),_tokenResponse:a,operationType:t})}}function ra(e){return e.providerId?e.providerId:"phoneNumber"in e?"phone":null}async function rr(e){if(tu(e.app))return Promise.reject(tR(e));let t=eH(e);if(await t._initializationPromise,t.currentUser?.isAnonymous)return new rt({user:t.currentUser,providerId:null,operationType:"signIn"});let a=await re(t,{returnSecureToken:!0}),r=await rt._fromIdTokenResponse(t,"signIn",a,!0);return await t._updateCurrentUser(r.user),r}class rn extends eN{constructor(e,t,a,r){super(t.code,t.message),this.operationType=a,this.user=r,Object.setPrototypeOf(this,rn.prototype),this.customData={appName:e.name,tenantId:e.tenantId??void 0,_serverResponse:t.customData._serverResponse,operationType:a}}static _fromErrorAndOperation(e,t,a,r){return new rn(e,t,a,r)}}function ro(e,t,a,r){return("reauthenticate"===t?a._getReauthenticationResolver(e):a._getIdTokenResponse(e)).catch(a=>{if("auth/multi-factor-auth-required"===a.code)throw rn._fromErrorAndOperation(e,a,t,r);throw a})}async function ri(e,t,a=!1){let r=await t9(e,t._linkToIdToken(e.auth,await e.getIdToken()),a);return rt._forOperation(e,"link",r)}async function rs(e,t,a=!1){let{auth:r}=e;if(tu(r.app))return Promise.reject(tR(r));let n="reauthenticate";try{let o=await t9(e,ro(r,n,t,e),a);tO(o.idToken,r,"internal-error");let i=t8(o.idToken);tO(i,r,"internal-error");let{sub:s}=i;return tO(e.uid===s,r,"user-mismatch"),rt._forOperation(e,n,o)}catch(e){throw e?.code==="auth/user-not-found"&&tT(r,"user-mismatch"),e}}async function rl(e,t,a=!1){if(tu(e.app))return Promise.reject(tR(e));let r="signIn",n=await ro(e,r,t),o=await rt._fromIdTokenResponse(e,r,n);return a||await e._updateCurrentUser(o.user),o}class rc{constructor(e,t){this.factorId=e,this.uid=t.mfaEnrollmentId,this.enrollmentTime=new Date(t.enrolledAt).toUTCString(),this.displayName=t.displayName}static _fromServerResponse(e,t){return"phoneInfo"in t?rd._fromServerResponse(e,t):"totpInfo"in t?ru._fromServerResponse(e,t):tT(e,"internal-error")}}class rd extends rc{constructor(e){super("phone",e),this.phoneNumber=e.phoneInfo}static _fromServerResponse(e,t){return new rd(t)}}class ru extends rc{constructor(e){super("totp",e)}static _fromServerResponse(e,t){return new ru(t)}}function rp(e,t){return tK(e,"POST","/v2/accounts/mfaEnrollment:start",tG(e,t))}new WeakMap;let rm="__sak";class rh{constructor(e,t){this.storageRetriever=e,this.type=t}_isAvailable(){try{if(!this.storage)return Promise.resolve(!1);return this.storage.setItem(rm,"1"),this.storage.removeItem(rm),Promise.resolve(!0)}catch{return Promise.resolve(!1)}}_set(e,t){return this.storage.setItem(e,JSON.stringify(t)),Promise.resolve()}_get(e){let t=this.storage.getItem(e);return Promise.resolve(t?JSON.parse(t):null)}_remove(e){return this.storage.removeItem(e),Promise.resolve()}get storage(){return this.storageRetriever()}}class rg extends rh{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(e,t)=>this.onStorageEvent(e,t),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=aj(),this._shouldAllowMigration=!0}forAllChangedKeys(e){for(let t of Object.keys(this.listeners)){let a=this.storage.getItem(t),r=this.localCache[t];a!==r&&e(t,r,a)}}onStorageEvent(e,t=!1){let a;
2if(!e.key)return void this.forAllChangedKeys((e,t,a)=>{this.notifyListeners(e,a)});let r=e.key;t?this.detachListener():this.stopPolling();let n=()=>{let e=this.storage.getItem(r);(t||this.localCache[r]!==e)&&this.notifyListeners(r,e)},o=this.storage.getItem(r);((a=eI()).indexOf("MSIE ")>=0||a.indexOf("Trident/")>=0)&&10===document.documentMode&&o!==e.newValue&&e.newValue!==e.oldValue?setTimeout(n,10):n()}notifyListeners(e,t){this.localCache[e]=t;let a=this.listeners[e];if(a)for(let e of Array.from(a))e(t?JSON.parse(t):t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((e,t,a)=>{this.onStorageEvent(new StorageEvent("storage",{key:e,oldValue:t,newValue:a}),!0)})},1e3)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(e,t){0===Object.keys(this.listeners).length&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[e]||(this.listeners[e]=new Set,this.localCache[e]=this.storage.getItem(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&(this.detachListener(),this.stopPolling())}async _set(e,t){await super._set(e,t),this.localCache[e]=JSON.stringify(t)}async _get(e){let t=await super._get(e);return this.localCache[e]=JSON.stringify(t),t}async _remove(e){await super._remove(e),delete this.localCache[e]}}rg.type="LOCAL";class rf extends rh{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(e,t){}_removeListener(e,t){}}rf.type="SESSION";class ry{constructor(e){this.eventTarget=e,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(e){let t=this.receivers.find(t=>t.isListeningto(e));if(t)return t;let a=new ry(e);return this.receivers.push(a),a}isListeningto(e){return this.eventTarget===e}async handleEvent(e){let{eventId:t,eventType:a,data:r}=e.data,n=this.handlersMap[a];if(!n?.size)return;e.ports[0].postMessage({status:"ack",eventId:t,eventType:a});let o=Array.from(n).map(async t=>t(e.origin,r)),i=await Promise.all(o.map(async e=>{try{let t=await e;return{fulfilled:!0,value:t}}catch(e){return{fulfilled:!1,reason:e}}}));e.ports[0].postMessage({status:"done",eventId:t,eventType:a,response:i})}_subscribe(e,t){0===Object.keys(this.handlersMap).length&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[e]||(this.handlersMap[e]=new Set),this.handlersMap[e].add(t)}_unsubscribe(e,t){this.handlersMap[e]&&t&&this.handlersMap[e].delete(t),t&&0!==this.handlersMap[e].size||delete this.handlersMap[e],0===Object.keys(this.handlersMap).length&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}function rv(e="",t=10){let a="";for(let e=0;e<t;e++)a+=Math.floor(10*Math.random());return e+a}ry.receivers=[];class rb{constructor(e){this.target=e,this.handlers=new Set}removeMessageHandler(e){e.messageChannel&&(e.messageChannel.port1.removeEventListener("message",e.onMessage),e.messageChannel.port1.close()),this.handlers.delete(e)}async _send(e,t,a=50){let r,n,o="u">typeof MessageChannel?new MessageChannel:null;if(!o)throw Error("connection_unavailable");return new Promise((i,s)=>{let l=rv("",20);o.port1.start();let c=setTimeout(()=>{s(Error("unsupported_event"))},a);n={messageChannel:o,onMessage(e){if(e.data.eventId===l)switch(e.data.status){case"ack":clearTimeout(c),r=setTimeout(()=>{s(Error("timeout"))},3e3);break;case"done":clearTimeout(r),i(e.data.response);break;default:clearTimeout(c),clearTimeout(r),s(Error("invalid_response"))}}},this.handlers.add(n),o.port1.addEventListener("message",n.onMessage),this.target.postMessage({eventType:e,eventId:l,data:t},[o.port2])}).finally(()=>{n&&this.removeMessageHandler(n)})}}function rx(){return window}function rw(){return void 0!==rx().WorkerGlobalScope&&"function"==typeof rx().importScripts}async function rk(){if(!navigator?.serviceWorker)return null;try{return(await navigator.serviceWorker.ready).active}catch{return null}}let r_="firebaseLocalStorageDb",rj="firebaseLocalStorage",rS="fbase_key";class rC{constructor(e){this.request=e}toPromise(){return new Promise((e,t)=>
2{this.request.addEventListener("success",()=>{e(this.request.result)}),this.request.addEventListener("error",()=>{t(this.request.error)})})}}function rI(e,t){return e.transaction([rj],t?"readwrite":"readonly").objectStore(rj)}function rN(){let e=indexedDB.open(r_,1);return new Promise((t,a)=>{e.addEventListener("error",()=>{a(e.error)}),e.addEventListener("upgradeneeded",()=>{let t=e.result;try{t.createObjectStore(rj,{keyPath:rS})}catch(e){a(e)}}),e.addEventListener("success",async()=>{let a=e.result;a.objectStoreNames.contains(rj)?t(a):(a.close(),await new rC(indexedDB.deleteDatabase(r_)).toPromise(),t(await rN()))})})}async function rA(e,t,a){return new rC(rI(e,!0).put({[rS]:t,value:a})).toPromise()}async function rE(e,t){let a=rI(e,!1).get(t),r=await new rC(a).toPromise();return void 0===r?null:r.value}function rT(e,t){return new rC(rI(e,!0).delete(t)).toPromise()}class rP{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}async _openDb(){return this.db||(this.db=await rN()),this.db}async _withRetries(e){let t=0;for(;;)try{let t=await this._openDb();return await e(t)}catch(e){if(t++>3)throw e;this.db&&(this.db.close(),this.db=void 0)}}async initializeServiceWorkerMessaging(){return rw()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=ry._getInstance(rw()?self:null),this.receiver._subscribe("keyChanged",async(e,t)=>({keyProcessed:(await this._poll()).includes(t.key)})),this.receiver._subscribe("ping",async(e,t)=>["keyChanged"])}async initializeSender(){if(this.activeServiceWorker=await rk(),!this.activeServiceWorker)return;this.sender=new rb(this.activeServiceWorker);let e=await this.sender._send("ping",{},800);e&&e[0]?.fulfilled&&e[0]?.value.includes("keyChanged")&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(e){if(this.sender&&this.activeServiceWorker&&(navigator?.serviceWorker?.controller||null)===this.activeServiceWorker)try{await this.sender._send("keyChanged",{key:e},this.serviceWorkerReceiverAvailable?800:50)}catch{}}async _isAvailable(){try{if(!indexedDB)return!1;let e=await rN();return await rA(e,rm,"1"),await rT(e,rm),!0}catch{}return!1}async _withPendingWrite(e){this.pendingWrites++;try{await e()}finally{this.pendingWrites--}}async _set(e,t){return this._withPendingWrite(async()=>(await this._withRetries(a=>rA(a,e,t)),this.localCache[e]=t,this.notifyServiceWorker(e)))}async _get(e){let t=await this._withRetries(t=>rE(t,e));return this.localCache[e]=t,t}async _remove(e){return this._withPendingWrite(async()=>(await this._withRetries(t=>rT(t,e)),delete this.localCache[e],this.notifyServiceWorker(e)))}async _poll(){let e=await this._withRetries(e=>new rC(rI(e,!1).getAll()).toPromise());if(!e||0!==this.pendingWrites)return[];let t=[],a=new Set;if(0!==e.length)for(let{fbase_key:r,value:n}of e)a.add(r),JSON.stringify(this.localCache[r])!==JSON.stringify(n)&&(this.notifyListeners(r,n),t.push(r));for(let e of Object.keys(this.localCache))this.localCache[e]&&!a.has(e)&&(this.notifyListeners(e,null),t.push(e));return t}notifyListeners(e,t){this.localCache[e]=t;let a=this.listeners[e];if(a)for(let e of Array.from(a))e(t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(async()=>this._poll(),800)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(e,t){0===Object.keys(this.listeners).length&&this.startPolling(),this.listeners[e]||(this.listeners[e]=new Set,this._get(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&this.stopPolling()}}function rz(e,t){return tK(e,"POST","/v2/accounts/mfaSignIn:start",tG(e,t))}rP.type="LOCAL",aP("rcb"),new tq(3e4,6e4);let rR="recaptcha";async function rL(e,t,a){if(!e._getRecaptchaConfig())try{await aD(e)}catch(e){console.log("Failed to initialize reCAPTCHA Enterprise config. Triggering the reCAPTCHA v2 verification.")}try{let r;if(r="string"==typeof t?{phoneNumber:t}
2:t,"session"in r){let t=r.session;if("phoneNumber"in r){tO("enroll"===t.type,e,"internal-error");let n={idToken:t.credential,phoneEnrollmentInfo:{phoneNumber:r.phoneNumber,clientType:"CLIENT_TYPE_WEB"}},o=async(e,t)=>{if(t.phoneEnrollmentInfo.captchaResponse===aL){tO(a?.type===rR,e,"argument-error");let r=await rO(e,t,a);return rp(e,r)}return rp(e,t)},i=aH(e,n,"mfaSmsEnrollment",o,"PHONE_PROVIDER");return(await i.catch(e=>Promise.reject(e))).phoneSessionInfo.sessionInfo}{tO("signin"===t.type,e,"internal-error");let n=r.multiFactorHint?.uid||r.multiFactorUid;tO(n,e,"missing-multi-factor-info");let o={mfaPendingCredential:t.credential,mfaEnrollmentId:n,phoneSignInInfo:{clientType:"CLIENT_TYPE_WEB"}},i=async(e,t)=>{if(t.phoneSignInInfo.captchaResponse===aL){tO(a?.type===rR,e,"argument-error");let r=await rO(e,t,a);return rz(e,r)}return rz(e,t)},s=aH(e,o,"mfaSmsSignIn",i,"PHONE_PROVIDER");return(await s.catch(e=>Promise.reject(e))).phoneResponseInfo.sessionInfo}}{let t={phoneNumber:r.phoneNumber,clientType:"CLIENT_TYPE_WEB"},n=async(e,t)=>{if(t.captchaResponse===aL){tO(a?.type===rR,e,"argument-error");let r=await rO(e,t,a);return aY(e,r)}return aY(e,t)},o=aH(e,t,"sendVerificationCode",n,"PHONE_PROVIDER");return(await o.catch(e=>Promise.reject(e))).sessionInfo}}finally{a?._reset()}}async function rO(e,t,a){tO(a.type===rR,e,"argument-error");let r=await a.verify();tO("string"==typeof r,e,"argument-error");let n={...t};if("phoneEnrollmentInfo"in n){let e=n.phoneEnrollmentInfo.phoneNumber,t=n.phoneEnrollmentInfo.captchaResponse,a=n.phoneEnrollmentInfo.clientType,o=n.phoneEnrollmentInfo.recaptchaVersion;return Object.assign(n,{phoneEnrollmentInfo:{phoneNumber:e,recaptchaToken:r,captchaResponse:t,clientType:a,recaptchaVersion:o}}),n}if(!("phoneSignInInfo"in n))return Object.assign(n,{recaptchaToken:r}),n;{let e=n.phoneSignInInfo.captchaResponse,t=n.phoneSignInInfo.clientType,a=n.phoneSignInInfo.recaptchaVersion;return Object.assign(n,{phoneSignInInfo:{recaptchaToken:r,captchaResponse:e,clientType:t,recaptchaVersion:a}}),n}}class rM{constructor(e){this.providerId=rM.PROVIDER_ID,this.auth=function(e){return eH(e)}(e)}verifyPhoneNumber(e,t){return rL(this.auth,e,eH(t))}static credential(e,t){return a1._fromVerification(e,t)}static credentialFromResult(e){return rM.credentialFromTaggedObject(e)}static credentialFromError(e){return rM.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;let{phoneNumber:t,temporaryProof:a}=e;return t&&a?a1._fromTokenResponse(t,a):null}}rM.PROVIDER_ID="phone",rM.PHONE_SIGN_IN_METHOD="phone";class rH extends a${constructor(e){super("custom","custom"),this.params=e}_getIdTokenResponse(e){return aV(e,this._buildIdpRequest())}_linkToIdToken(e,t){return aV(e,this._buildIdpRequest(t))}_getReauthenticationResolver(e){return aV(e,this._buildIdpRequest())}_buildIdpRequest(e){let t={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return e&&(t.idToken=e),t}}function rD(e){return rl(e.auth,new rH(e),e.bypassAuthState)}function rq(e){let{auth:t,user:a}=e;return tO(a,t,"internal-error"),rs(a,new rH(e),e.bypassAuthState)}async function rW(e){let{auth:t,user:a}=e;return tO(a,t,"internal-error"),ri(a,new rH(e),e.bypassAuthState)}class r${constructor(e,t,a,r,n=!1){this.auth=e,this.resolver=a,this.user=r,this.bypassAuthState=n,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(t)?t:[t]}execute(){return new Promise(async(e,t)=>{this.pendingPromise={resolve:e,reject:t};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(e){this.reject(e)}})}async onAuthEvent(e){let{urlResponse:t,sessionId:a,postBody:r,tenantId:n,error:o,type:i}=e;if(o)return void this.reject(o);let s={auth:this.auth,requestUri:t,sessionId:a,tenantId:n||void 0,postBody:r||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(i)(s))}catch(e){this.reject(e)}}onError(e){this.reject(e)}getIdpTask(e){switch(e){case"signInViaPopup":case"signInViaRedirect":return rD;case"linkViaPopup":case"linkViaRedirect":return rW;case"reauthViaPopup":case"reauthViaRedirect":return rq;default:tT(this.auth,"internal-error")}}resolve(e){var t,a;t=this.pendingPromise,a="Pending promise was never set",t||tM(a),this.pendingPromise.resolve(e),this.unregisterAndCleanUp()}reject(e){var t,a;t=this.pendingPromise,a="Pending promise was never set",t||tM(a),this.pendingPromise.reject(e),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}let rU=new tq(2e3,1e4);class rF extends r${constructor(e,t,a,r,n){super(e,t,r,n),this.provider=a,this.authWindow=null,this.pollId=null,rF.currentPopupAction&&rF.currentPopupAction.cancel(),rF.currentPopupAction=this}async executeNotNull(){let e=await this.execute();return tO(e,this.auth,"internal-error"),e}async onExecution(){var e,t;e=1===this.filter.length,t="Popup operations only handle one event",e||tM(t);let a=rv();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],a),this.authWindow.associatedEvent=a,this.resolver._originValidation(this.auth).catch(e=>{this.reject(e)}),this.resolver._isIframeWebStorageSupported(this.auth,e=>{e||this.reject(tP(this.auth,"web-storage-unsupported"))}),this.pollUserCancellation()}get eventId(){return this.authWindow?.associatedEvent||null}cancel(){this.reject(tP(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,rF.currentPopupAction=null}pollUserCancellation(){let e=()=>{if(this.authWindow?.window?.closed){this.pollId=window.setTimeout(()=>{this.pollId=null,this.reject(tP(this.auth,"popup-closed-by-user"))},8e3);return}this.pollId=window.setTimeout(e,rU.get())};e()}}rF.currentPopupAction=null;let rB=new Map;class rG extends r${constructor(e,t,a=!1){super(e,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],t,void 0,a),this.eventId=null}async execute(){let e=rB.get(this.auth._key());if(!e){try{let t=await rK(this.resolver,this.auth)?await super.execute():null;e=()=>Promise.resolve(t)}catch(t){e=()=>Promise.reject(t)}rB.set(this.auth._key(),e)}return this.bypassAuthState||rB.set(this.auth._key(),()=>Promise.resolve(null)),e()}async onAuthEvent(e){if("signInViaRedirect"===e.type)return super.onAuthEvent(e);
2if("unknown"===e.type)return void this.resolve(null);if(e.eventId){let t=await this.auth._redirectUserForId(e.eventId);if(t)return this.user=t,super.onAuthEvent(e);this.resolve(null)}}async onExecution(){}cleanUp(){}}async function rK(e,t){var a;let r=am("pendingRedirect",(a=t).config.apiKey,a.name),n=au(e._redirectPersistence);if(!await n._isAvailable())return!1;let o=await n._get(r)==="true";return await n._remove(r),o}function rV(e,t){rB.set(e._key(),t)}async function rZ(e,t,a=!1){if(tu(e.app))return Promise.reject(tR(e));let r=eH(e),n=t?au(t):(tO(r._popupRedirectResolver,r,"argument-error"),r._popupRedirectResolver),o=new rG(r,n,a),i=await o.execute();return i&&!a&&(delete i.user._redirectEventId,await r._persistUserIfCurrent(i.user),await r._setRedirectUser(null,t)),i}class rY{constructor(e){this.auth=e,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(e){this.consumers.add(e),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,e)&&(this.sendToConsumer(this.queuedRedirectEvent,e),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(e){this.consumers.delete(e)}onEvent(e){if(this.hasEventBeenHandled(e))return!1;let t=!1;return this.consumers.forEach(a=>{this.isEventForConsumer(e,a)&&(t=!0,this.sendToConsumer(e,a),this.saveEventToCache(e))}),this.hasHandledPotentialRedirect||!function(e){switch(e.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return rX(e);default:return!1}}(e)||(this.hasHandledPotentialRedirect=!0,t||(this.queuedRedirectEvent=e,t=!0)),t}sendToConsumer(e,t){if(e.error&&!rX(e)){let a=e.error.code?.split("auth/")[1]||"internal-error";t.onError(tP(this.auth,a))}else t.onAuthEvent(e)}isEventForConsumer(e,t){let a=null===t.eventId||!!e.eventId&&e.eventId===t.eventId;return t.filter.includes(e.type)&&a}hasEventBeenHandled(e){return Date.now()-this.lastProcessedEventTime>=6e5&&this.cachedEventUids.clear(),this.cachedEventUids.has(rJ(e))}saveEventToCache(e){this.cachedEventUids.add(rJ(e)),this.lastProcessedEventTime=Date.now()}}function rJ(e){return[e.type,e.eventId,e.sessionId,e.tenantId].filter(e=>e).join("-")}function rX({type:e,error:t}){return"unknown"===e&&t?.code==="auth/no-auth-event"}async function rQ(e,t={}){return tK(e,"GET","/v1/projects",t)}let r0=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,r1=/^https?/;async function r2(e){if(e.config.emulator)return;let{authorizedDomains:t}=await rQ(e);for(let e of t)try{if(function(e){let t=tH(),{protocol:a,hostname:r}=new URL(t);if(e.startsWith("chrome-extension://")){let n=new URL(e);return""===n.hostname&&""===r?"chrome-extension:"===a&&e.replace("chrome-extension://","")===t.replace("chrome-extension://",""):"chrome-extension:"===a&&n.hostname===r}if(!r1.test(a))return!1;if(r0.test(e))return r===e;let n=e.replace(/\./g,"\\.");return RegExp("^(.+\\."+n+"|"+n+")$","i").test(r)}(e))return}catch{}tT(e,"unauthorized-domain")}let r5=new tq(3e4,6e4);function r4(){let e=rx().___jsl;if(e?.H){for(let t of Object.keys(e.H))if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=[...e.H[t].L],e.CP)for(let t=0;t<e.CP.length;t++)e.CP[t]=null}}let r3=null,r6=new tq(5e3,15e3),r8={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},r7=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);async function r9(e){let t,a,r,n,o,i=await (r3=r3||new Promise((t,a)=>{function r(){r4(),gapi.load("gapi.iframes",{callback:()=>{t(gapi.iframes.getContext())},ontimeout:()=>{r4(),a(tP(e,"network-request-failed"))},timeout:r5.get()})}if(rx().gapi?.iframes?.Iframe)t(gapi.iframes.getContext());else if(rx().gapi?.load)r();else{var n;let t=aP("iframefcb");return rx()[t]=()=>{gapi.load?r():a(tP(e,"network-request-failed"))},(n=`${aT.gapiScript}?onload=${t}`,aT.loadJS(n)).catch(e=>a(e))}}).catch(e=>{throw r3=null,e})),s=rx().gapi;return tO(s,e,"internal-error"),i.open({where:document.body,url:(tO((t=e.config).authDomain,e,"auth-domain-config-required"),a=t.emulator?tW(t,"emulator/auth/iframe"):`https://${e.config.authDomain}
2/__/auth/iframe`,r={apiKey:t.apiKey,appName:e.name,v:th},(n=r7.get(e.config.apiHost))&&(r.eid=n),(o=e._getFrameworks()).length&&(r.fw=o.join(",")),`${a}?${ez(r).slice(1)}`),messageHandlersFilter:s.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:r8,dontclear:!0},t=>new Promise(async(a,r)=>{await t.restyle({setHideOnLeave:!1});let n=tP(e,"network-request-failed"),o=rx().setTimeout(()=>{r(n)},r6.get());function i(){rx().clearTimeout(o),a(t)}t.ping(i).then(i,()=>{r(n)})}))}let ne={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"};class nt{constructor(e){this.window=e,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch(e){}}}let na=encodeURIComponent("fac");async function nr(e,t,a,r,n,o){tO(e.config.authDomain,e,"auth-domain-config-required"),tO(e.config.apiKey,e,"invalid-api-key");let i={apiKey:e.config.apiKey,appName:e.name,authType:a,redirectUrl:r,v:th,eventId:n};if(t instanceof a4)for(let[a,r]of(t.setDefaultLanguage(e.languageCode),i.providerId=t.providerId||"",!function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}(t.getCustomParameters())&&(i.customParameters=JSON.stringify(t.getCustomParameters())),Object.entries(o||{})))i[a]=r;if(t instanceof a3){let e=t.getScopes().filter(e=>""!==e);e.length>0&&(i.scopes=e.join(","))}for(let t of(e.tenantId&&(i.tid=e.tenantId),Object.keys(i)))void 0===i[t]&&delete i[t];let s=await e._getAppCheckToken(),l=s?`#${na}=${encodeURIComponent(s)}`:"";return`${function({config:e}){return e.emulator?tW(e,"emulator/auth/handler"):`https://${e.authDomain}/__/auth/handler`}(e)}?${ez(i).slice(1)}${l}`}let nn="webStorageSupport",no=class{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=rf,this._completeRedirectFn=rZ,this._overrideRedirectResult=rV}async _openPopup(e,t,a,r){var n,o;n=this.eventManagers[e._key()]?.manager,o="_initialize() not called before _openPopup()",n||tM(o);let i=await nr(e,t,a,tH(),r);return function(e,t,a,r=500,n=600){let o=Math.max((window.screen.availHeight-n)/2,0).toString(),i=Math.max((window.screen.availWidth-r)/2,0).toString(),s="",l={...ne,width:r.toString(),height:n.toString(),top:o,left:i},c=eI().toLowerCase();a&&(s=av(c)?"_blank":a),af(c)&&(t=t||"http://localhost",l.scrollbars="yes");let d=Object.entries(l).reduce((e,[t,a])=>`${e}${t}=${a},`,"");if(function(e=eI()){return a_(e)&&!!window.navigator?.standalone}(c)&&"_self"!==s){var u,p;let e,a;return u=t||"",p=s,(e=document.createElement("a")).href=u,e.target=p,(a=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),e.dispatchEvent(a),new nt(null)}let m=window.open(t||"",s,d);tO(m,e,"popup-blocked");try{m.focus()}catch(e){}return new nt(m)}(e,i,rv())}async _openRedirect(e,t,a,r){var n;return await this._originValidation(e),n=await nr(e,t,a,tH(),r),rx().location.href=n,new Promise(()=>{})}_initialize(e){let t=e._key();if(this.eventManagers[t]){var a;let{manager:e,promise:r}=this.eventManagers[t];return e?Promise.resolve(e):(a="If manager is not set, promise should be",r||tM(a),r)}let r=this.initAndGetManager(e);return this.eventManagers[t]={promise:r},r.catch(()=>{delete this.eventManagers[t]}),r}async initAndGetManager(e){let t=await r9(e),a=new rY(e);return t.register("authEvent",t=>(tO(t?.authEvent,e,"invalid-auth-event"),{status:a.onEvent(t.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:a},this.iframes[e._key()]=t,a}_isIframeWebStorageSupported(e,t){this.iframes[e._key()].send(nn,{type:nn},a=>{let r=a?.[0]?.[nn];void 0!==r&&t(!!r),tT(e,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){let t=e._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=r2(e)),this.originValidationPromises[t]}get _shouldInitProactively(){return aj()||ay()||a_()}};var ni="@firebase/auth",ns="1.13.0";class nl{constructor(e){this.auth=e,this.internalListeners=new Map}getUid(){return this.assertAuthConfigured(),this.auth.currentUser?.uid||null}async getToken(e){return(this.assertAuthConfigured(),await this.auth._initializationPromise,this.auth.currentUser)?{accessToken:await this.auth.currentUser.getIdToken(e)}:null}addAuthTokenListener(e){if(this.assertAuthConfigured(),this.internalListeners.has(e))return;let t=this.auth.onIdTokenChanged(t=>{e(t?.stsTokenManager.accessToken||null)});this.internalListeners.set(e,t),this.updateProactiveRefresh()}removeAuthTokenListener(e){this.assertAuthConfigured();let t=this.internalListeners.get(e);t&&(this.internalListeners.delete(e),t(),this.updateProactiveRefresh())}assertAuthConfigured(){tO(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}let nc=eS("authIdTokenMaxAge")||300,nd=null;aT={loadJS:e=>
2new Promise((t,a)=>{let r=document.createElement("script");r.setAttribute("src",e),r.onload=t,r.onerror=e=>{let t=tP("internal-error");t.customData=e,a(t)},r.type="text/javascript",r.charset="UTF-8",(document.getElementsByTagName("head")?.[0]??document).appendChild(r)}),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="},o="Browser",tc(new eW("auth",(e,{options:t})=>{let a,r,n=e.getProvider("app").getImmediate(),i=e.getProvider("heartbeat"),s=e.getProvider("app-check-internal"),{apiKey:l,authDomain:c}=n.options;tO(l&&!l.includes(":"),"invalid-api-key",{appName:n.name});let d=new aA(n,i,s,{apiKey:l,authDomain:c,clientPlatform:o,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:aS(o)});return r=(Array.isArray(a=t?.persistence||[])?a:[a]).map(au),t?.errorMap&&d._updateErrorMap(t.errorMap),d._initializeWithPersistence(r,t?.popupRedirectResolver),d},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((e,t,a)=>{e.getProvider("auth-internal").initialize()})),tc(new eW("auth-internal",e=>new nl(eH(e.getProvider("auth").getImmediate())),"PRIVATE").setInstantiationMode("EXPLICIT")),tf(ni,ns,function(e){switch(e){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}(o)),tf(ni,ns,"esm2020");let nu=null,np=null;function nm(){return"bypass"===eg.NEXT_PUBLIC_QUEEN_AUTH_MODE}async function nh(){let e=np||(np=function(e=function(e=tr){let t=to.get(e);if(!t&&e===tr&&ej())return tg();if(!t)throw tp.create("no-app",{appName:e});return t}()){let t=td(e,"auth");if(t.isInitialized())return t.getImmediate();let a=function(e,t){let a=td(e,"auth");if(a.isInitialized()){let e=a.getImmediate();if(eT(a.getOptions(),t??{}))return e;tT(e,"already-initialized")}return a.initialize({options:t})}(e,{popupRedirectResolver:no,persistence:[rP,rg,rf]}),r=eS("authTokenSyncURL");if(r&&"boolean"==typeof isSecureContext&&isSecureContext){let e=new URL(r,location.origin);if(location.origin===e.origin){let t,r=(t=e.toString(),async e=>{let a=e&&await e.getIdTokenResult(),r=a&&(new Date().getTime()-Date.parse(a.issuedAtTime))/1e3;if(r&&r>nc)return;let n=a?.token;nd!==n&&(nd=n,await fetch(t,{method:n?"POST":"DELETE",headers:n?{Authorization:`Bearer ${n}`}:{}}))});eH(a).beforeAuthStateChanged(r,()=>r(a.currentUser)),eH(a).onIdTokenChanged(e=>r(e),void 0,void 0)}}let n=e_()?.emulatorHosts?.auth;return n&&function(e,t){let a=eH(e);tO(/^https?:\/\//.test(t),a,"invalid-emulator-scheme");let r=aq(t),{host:n,port:o}=function(e){let t=aq(e),a=/(\/\/)?([^?#/]+)/.exec(e.substr(t.length));if(!a)return{host:"",port:null};let r=a[2].split("@").pop()||"",n=/^(\[[^\]]+\])(:|$)/.exec(r);if(n){let e=n[1];return{host:e,port:aW(r.substr(e.length+1))}}{let[e,t]=r.split(":");return{host:e,port:aW(t)}}}(t),i=null===o?"":`:${o}`,s={url:`${r}//${n}${i}/`},l=Object.freeze({host:n,port:o,protocol:r.replace(":",""),options:Object.freeze({disableWarnings:!1})});if(!a._canInitEmulator){tO(a.config.emulator&&a.emulatorConfig,a,"emulator-config-failed"),tO(eT(s,a.config.emulator)&&eT(l,a.emulatorConfig),a,"emulator-config-failed");return}a.config.emulator=s,a.emulatorConfig=l,a.settings.appVerificationDisabledForTesting=!0,eD(n)?eq(`${r}//${n}${i}`):function(){function e(){let e=document.createElement("p"),t=e.style;e.innerText="Running in emulator mode. Do not use with production credentials.",t.position="fixed",t.width="100%",t.backgroundColor="#ffffff",t.border=".1em solid #000000",t.color="#b50000",t.bottom="0px",t.left="0px",t.margin="0px",t.zIndex="10000",t.textAlign="center",e.classList.add("firebase-emulator-warning"),document.body.appendChild(e)}"u">typeof console&&"function"==typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),"u">typeof window&&"u">typeof document&&("loading"===document.readyState?window.addEventListener("DOMContentLoaded",e):e())}()}(a,`http://${n}`),a}
2(function(){if(nm())throw Error("getFirebaseApp() called in bypass mode; use isBypassMode() to guard.");return nu||(nu=tg({apiKey:eg.NEXT_PUBLIC_FIREBASE_API_KEY,authDomain:eg.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,projectId:eg.NEXT_PUBLIC_FIREBASE_PROJECT_ID,appId:eg.NEXT_PUBLIC_FIREBASE_APP_ID}))}()));return e.currentUser?e.currentUser:(await rr(e)).user}async function ng(){return(await nh()).getIdToken()}function nf(){let e=(0,D.useCanvas)(),{send:t,authReady:a}=(0,$.useConversation)(),r=(0,eu.useRef)(!1),n=e?.cold_start?.message,o=e?.chat??void 0,i=e?.initial_suggestions??void 0;return(0,eu.useEffect)(()=>{if(o&&Array.isArray(i)&&i.some(e=>e.trim().length>0)){r.current=!0;return}if(n&&a&&!r.current){r.current=!0;try{if(sessionStorage.getItem("queen:conversation:v2:icsConversationId"))return}catch{}t(n,{source:"cold-start"})}},[a,o,i,n,t]),null}let ny=(0,eu.createContext)(null);function nv({children:e}){let[t,a]=(0,eu.useState)("embedded"===eg.NEXT_PUBLIC_QUEEN_EMBED_MODE);return(0,eu.useEffect)(()=>{var e,r;let n=(e=eg.NEXT_PUBLIC_QUEEN_EMBED_MODE,r=window.location.search,"embedded"===e||new URLSearchParams(r).has("embed"));n!==t&&a(n)},[t]),(0,l.jsx)(ny.Provider,{value:t,children:e})}function nb(){let e=(0,eu.useContext)(ny);if(null===e)throw Error("useIsEmbed must be used within an <EmbedProvider>");return e}var nx=e.i(89170);function nw({accountId:e}){let t=`https://www.knotch-cdn.com/ktag/latest/ktag.min.js?accountId=${encodeURIComponent(e)}`;return(0,l.jsx)(nx.default,{id:"knotch-ktag",src:t,strategy:"afterInteractive",onError:t=>{(0,en.logTelemetry)("ktag-load-failed",{account_id:e,error:t.message})}})}var nk=e.i(17102);function n_(){return window.__queenConsent}function nj(e,t){let a={...e,...t};return a.necessary=!0,a}let nS={necessary:"C0001",functional:"C0003",analytics:"C0002",marketing:"C0004"};function nC(){let e=window.OptanonActiveGroups;if("string"!=typeof e)return null;let t=e.split(",").map(e=>e.trim()).filter(Boolean);return t.length>0?new Set(t):null}function nI(e,t){return t?.consent?.onetrust_groups?.[e]??nS[e]}let nN={necessary:!0,functional:!1,analytics:!1,marketing:!1};function nA(e,t){return"necessary"===t||e[t]}let nE=(0,eu.createContext)({necessary:!0,functional:!0,analytics:!0,marketing:!0}),nT=()=>(0,eu.useContext)(nE);function nP({integrations:e,children:t}){let a=(0,eu.useMemo)(()=>{var t;let a;return t=e?.consent,{necessary:!0,functional:a=(t?.default??"granted")==="granted",analytics:a,marketing:a}},[e]),r=(0,eu.useMemo)(()=>{if(e?.onetrust){let t;return{snapshot:t=()=>{let t=nC();if(t){let r={...a};for(let a of["necessary","functional","analytics","marketing"])r[a]=t.has(nI(a,e));return r.necessary=!0,r}let r=function(){if("u"<typeof document)return null;let e=document.cookie.split("; ").find(e=>e.startsWith("OptanonConsent="));if(!e)return null;let t=e.indexOf("="),a=-1===t?"":e.slice(t+1),r=/groups=([^&]+)/.exec(decodeURIComponent(a))?.[1];return r?Object.fromEntries(r.split(",").map(e=>{let[t,a]=e.split(":");return[t,"1"===a]})):null}();return r?function(e,t,a){let r={...a};for(let a of["necessary","functional","analytics","marketing"]){let n=e[nI(a,t)];void 0!==n&&(r[a]=n)}return r.necessary=!0,r}(r,e,a):nN},subscribe(e){e(t());let a=window,r=a.OptanonWrapper,n=!1;return a.OptanonWrapper=()=>{r?.(),!n&&a.OneTrust?.OnConsentChanged&&(n=!0,a.OneTrust.OnConsentChanged(()=>e(t()))),e(t())},()=>{a.OptanonWrapper=r}}}}return void 0!==n_()?{snapshot:()=>nj(a,n_()),subscribe(e){e(nj(a,n_()));let t=t=>{if(t.source!==window.parent)return;let r=t.data;if(r?.type!=="queen:consent"||!r.state)return;let n={};for(let e of["necessary","functional","analytics","marketing"])"boolean"==typeof r.state[e]&&(n[e]=r.state[e]);e(nj(a,n))};return window.addEventListener("message",t),window.parent&&window.parent!==window&&window.parent.postMessage({type:"queen:consent-request"},"*"),()=>window.removeEventListener("message",t)}}:{snapshot:()=>a,subscribe:e=>(e(a),()=>{})}},[e,a]),[n,o]=(0,eu.useState)(()=>r.snapshot());return(0,eu.useEffect)(()=>{var e;let t,a=(e=()=>{let e=nC();(0,nk.emitConsentChange)(e?[...e]:void 0)},t=!1,a=>{if(!t){t=!0;return}e(a)});return r.subscribe(e=>{o(e),a(e)})},[r]),(0,eu.createElement)(nE.Provider,{value:n},t)}
2let nz=[{id:"ga4",resolveConfig:e=>{let t=e?.ga4?.measurement_id;return t?{measurementId:t}:null},build:({measurementId:e})=>[{kind:"external",id:"ga4-gtag",src:`https://www.googletagmanager.com/gtag/js?id=${e}`},{kind:"inline",id:"ga4-init",code:`window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','${e}');`}],placement:"head",strategy:"afterInteractive",runtime:"client",embed:"both",consent:{category:"analytics"},order:10},{id:"gtm",resolveConfig:e=>{let t=e?.gtm?.container_id;return t?{containerId:t}:null},build:({containerId:e})=>[{kind:"inline",id:"gtm-loader",code:`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','${e}');`}],placement:"head",strategy:"afterInteractive",runtime:"client",embed:"both",consent:{category:"analytics"},order:11},{id:"adobe-launch",resolveConfig:e=>{let t=e?.adobe_launch?.script_url;return t?{scriptUrl:t}:null},build:({scriptUrl:e})=>[{kind:"external",id:"adobe-launch",src:e,attrs:{async:""}}],placement:"head",strategy:"afterInteractive",runtime:"client",embed:"both",consent:{category:"analytics"},order:12},{id:"fullstory",resolveConfig:e=>{let t=e?.fullstory?.org_id;return t?{orgId:t}:null},build:({orgId:e})=>[{kind:"inline",id:"fullstory-tracker",code:`window['_fs_run_in_iframe']=true;window._fs_host="fullstory.com";window._fs_script="edge.fullstory.com/s/fs.js";window._fs_org="${e}";window._fs_namespace="FS";!function(l,q,t,u,v,m,d,w){function x(h){function g(){f&&(b.forEach(function(a){try{var c=a[f[0]]&&a[f[0]](f[1])}catch(k){return void(a[3]&&a[3](k))}c&&c.then?c.then(a[2],a[3]):a[2]&&a[2](c)}),b.length=0)}function e(a){return function(c){f||(f=[a,c],g())}}var f,b=[];return h(e(0),e(1)),{then:function(a,c){return x(function(k,p){b.push([a,c,k,p]);g()})}}}var n,r,y=!(t in l)||(l.console&&l.console.log&&l.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].'),!1);y&&(d=l[t]=function(){function h(e,f,b,a,c,k){return g._api?g._api(e,f,b,a,c,k):(g.q&&g.q.push([e,f,b,a,c,k]),null)}var g=function(e,f,b,a){function c(z,A){h(e,f,b,z,A,a)}a=a||2;var k,p=/Async$/;return p.test(e)?(e=e.replace(p,""),"function"==typeof Promise?new Promise(c):x(c)):h(e,f,b,k,k,a)};return g.q=[],g}(),w=function(h){function g(b){"function"==typeof b[4]&&b[4](Error(h))}var e=d.q;if(e){for(var f=0;f<e.length;f++)g(e[f]);e.length=0;e.push=g}},function(){(m=q.createElement(u)).async=!0;m.crossOrigin="anonymous";m.src="https://"+v;m.onerror=function(){w("Error loading "+v)};var h=q.getElementsByTagName(u)[0];h&&h.parentNode?h.parentNode.insertBefore(m,h):q.head.appendChild(m)}(),function(){function h(){}function g(b,a,c){var k="setProperties";b={type:b,properties:a};d(k,b,c,1)}function e(b,a){g("user",b,a)}function f(b,a,c){e({uid:b},c);a&&e(a,c)}d.identify=f;d.setUserVars=e;d.identifyAccount=h;d.clearUserCookie=h;d.setVars=g;d.event=function(b,a,c){var k="trackEvent";b={name:b,properties:a};d(k,b,c,1)};d.anonymize=function(){f(!1)};d.shutdown=function(){d("shutdown",void 0,void 0,1)};d.restart=function(){d("restart",void 0,void 0,1)};d.log=function(b,a){var c="log";b={level:b,msg:a};d(c,b,void 0,1)};d.consent=function(b){var a="setIdentity",c={consent:!arguments.length||b};d(a,c,void 0,1)}}(),n="fetch",r="XMLHttpRequest",d._w={},d._w[r]=l[r],d._w[n]=l[n],l[n]&&(l[n]=function(){return d._w[n].apply(this,arguments)}),d._v="2.0.0")}(window,document,window._fs_namespace,"script",window._fs_script);`}],placement:"body-end",strategy:"afterInteractive",runtime:"client",embed:"both",consent:{category:"analytics"},order:20},{id:"hubspot",resolveConfig:e=>{let t=e?.hubspot?.portal_id;return t?{portalId:t}:null},build:({portalId:e})=>[{kind:"external",id:"hs-script-loader",src:`//js.hs-scripts.com/${e}.js`}],placement:"body-end",strategy:"afterInteractive",runtime:"client",embed:"both",consent:{category:"marketing"},order:30}
2,{id:"apollo",resolveConfig:e=>{let t=e?.apollo?.app_id;return t?{appId:t}:null},build:({appId:e})=>[{kind:"inline",id:"apollo-tracker",code:`function initApollo(){var n=Math.random().toString(36).substring(7),o=document.createElement("script");o.src="https://assets.apollo.io/micro/website-tracker/tracker.iife.js?nocache="+n,o.async=!0,o.defer=!0,o.onload=function(){window.trackingFunctions.onLoad({appId:"${e}"})},document.head.appendChild(o)}initApollo();`}],placement:"body-end",strategy:"afterInteractive",runtime:"client",embed:"both",consent:{category:"marketing"},order:31}];function nR(e,t){return"both"===e||("standalone-only"===e?!t:t)}function nL(){let e=(0,T.useClientConfig)(),t=nb(),a=nT(),[r,n]=(0,eu.useState)(!1);if((0,eu.useEffect)(()=>n(!0),[]),!r)return null;let o=(function(e,t){let a=e.integrations,r=a?.embed_overrides??{},n=[];for(let e of nz){let o=e.resolveConfig(a);o&&nR(r[e.id]??e.embed,t.embed)&&n.push({def:e,config:o})}return[...n,...(a?.custom??[]).map((e,t)=>({def:{id:e.id,resolveConfig:()=>({__marker:e.id}),build:()=>e.inline?[{kind:"inline",id:e.id,code:e.inline}]:e.src?[{kind:"external",id:e.id,src:e.src,attrs:e.attrs}]:[],placement:e.placement,strategy:e.strategy,runtime:"client",embed:e.embed,consent:{category:e.consent_category},order:100+t},config:{}})).filter(e=>nR(r[e.def.id]??e.def.embed,t.embed))].sort((e,t)=>e.def.order-t.def.order)})(e,{embed:t}).filter(e=>"client"===e.def.runtime).filter(e=>nA(a,e.def.consent.category));return(0,eu.createElement)(eu.Fragment,null,...o.flatMap(e=>e.def.build(e.config,{embed:t}).map(t=>(function(e,t){switch(e.kind){case"external":{let a={key:e.id,id:e.id,src:e.src,strategy:t,...e.attrs};return(0,eu.createElement)(nx.default,a)}case"inline":return(0,eu.createElement)(nx.default,{key:e.id,id:e.id,strategy:t,dangerouslySetInnerHTML:{__html:e.code}});case"noscript":return(0,eu.createElement)("noscript",{key:e.id,dangerouslySetInnerHTML:{__html:e.html}})}})(t,e.def.strategy))))}let nO=em.z.enum(["probe","ack","nack","event","event_dropped","parent_state_change","iframe_scroll_progress","iframe_activity","host_viewport"]);em.z.object({account_id:em.z.string(),origin_claim:em.z.string(),forwarder_version:em.z.string(),iframe_url:em.z.string()}),em.z.object({type:em.z.string(),target_path:em.z.string().optional(),target_text:em.z.string().optional(),target_class:em.z.string().optional(),target_id:em.z.string().optional(),target_url:em.z.string().optional(),target_x:em.z.number().optional(),target_y:em.z.number().optional(),interaction_type:em.z.string().optional(),custom_json:em.z.record(em.z.string(),em.z.unknown()).optional(),time_stamp:em.z.number(),session_time_stamp:em.z.number(),content_height:em.z.number().optional(),content_width:em.z.number().optional()}),em.z.object({scroll_y:em.z.number().nonnegative(),content_height:em.z.number().nonnegative(),percent:em.z.number().min(0).max(100),surface:em.z.string(),viewport_height:em.z.number().nonnegative().optional()}),em.z.object({surface:em.z.string(),visibility_state:em.z.enum(["visible","hidden"]).optional()});let nM=em.z.object({ack:em.z.literal(!0),opted_out:em.z.boolean(),reject_mode:em.z.boolean(),privacy_mode:em.z.boolean(),parent_render_id:em.z.string(),parent_visitor_id_hash:em.z.string().optional(),allowed_event_types:em.z.array(em.z.string()).readonly(),consent_state:em.z.enum(["granted","pending","unknown","denied"]).optional()}),nH=em.z.object({ack:em.z.literal(!1),reason:em.z.enum(["account-id-mismatch","origin-not-allowed","schema-version-unsupported","concurrency-cap-exceeded"])}),nD=em.z.object({reason:em.z.enum(["rejectMode","optedOut","payload-too-large"]),event_nonce:em.z.string()}),nq=em.z.object({overflow_bottom:em.z.number().nonnegative()}),nW=em.z.object({opted_out:em.z.boolean(),reject_mode:em.z.boolean(),privacy_mode:em.z.boolean(),consent_state:em.z.enum(["granted","pending","unknown","denied"]).optional()}),n$=em.z.object({kn_relay:em.z.literal(1),type:nO,nonce:em.z.string(),payload:em.z.unknown()}),nU='a, button, input, textarea, select, [role="button"], [role="link"]';function nF(e){return e?e.querySelectorAll(nU).length:0}let nB="--host-dock-offset",nG="--host-modal-offset",nK=Array.from({length:1001},(e,t)=>t/1e3);function nV({onRouteChange:e,expectsKtagPageViewApi:t=!0}){let{currentPath:a}=(0,ei.useQueenNavigation)(),r=(0,eu.useRef)(null),n=(0,eu.useRef)(!1);return(0,eu.useEffect)(()=>
2{if(null===r.current){r.current=a;return}if(r.current===a)return;r.current=a,(0,en.logTelemetry)("route-changed",{path:a}),e?.(a),(0,nk.emitRouteChange)(a);let o=window.ktag;o?.spaPageView?o.spaPageView(a):t&&!n.current&&(n.current=!0,(0,en.logTelemetry)("route-change-ktag-api-missing",{path:a}))},[a,e,t]),null}var nZ=e.i(65439),nY=e.i(75223),nJ=e.i(82703),nX=e.i(66736),nQ=e.i(99060),n0=e.i(91144);let n1=em.z.object({body:em.z.array(em.z.unknown())}).passthrough(),n2=em.z.object({block_type:em.z.literal("body_text"),value:em.z.string()}),n5=em.z.object({block_type:em.z.literal("basic_image"),value:em.z.object({basic_image:em.z.object({file:em.z.string(),alt_text:em.z.string().optional()}).nullable()}).passthrough()}),n4=em.z.object({block_type:em.z.literal("inline_video"),value:em.z.object({video_id:em.z.string(),provider:em.z.string().optional(),caption:em.z.string().optional()}).passthrough()}),n3=/^(connect with us|related articles?|share this article|subscribe|newsletter)/i,n6=/^(this page has been blocked|try disabling)/i;function n8(e,t){let a=n1.safeParse(e);if(!a.success)return null;let r=t?.heroImageUrl??null,n=[],o=[],i=n,s=!1,l=!1;for(let e of a.data.body){if(l)break;let t=n2.safeParse(e);if(t.success){for(let e of function(e){let t,a=/<h([23])\b[^>]*>([\s\S]*?)<\/h\1>|<p\b[^>]*>([\s\S]*?)<\/p>|<(ul|ol)\b[^>]*>|<img\b[^>]*>/gi,r=[];for(;null!==(t=a.exec(e));)if(void 0!==t[2])r.push({heading:oe(t[2]).trim()});else if(void 0!==t[3]){let e=t[3],a=e.replace(/<img\b[^>]*>/gi,"");for(let t of(oe(a).trim()&&r.push({paragraph:a}),function(e){let t,a=[],r=/<img\b[^>]*>/gi;for(;null!==(t=r.exec(e));){let e=n9(t[0]);e&&a.push(e)}return a}(e)))r.push({image:t})}else if(void 0!==t[4]){let n="ol"===t[4].toLowerCase(),{innerEnd:o,endIndex:i}=function(e,t){let a,r=/<(?:ul|ol)\b[^>]*>|<\/(?:ul|ol)>/gi;r.lastIndex=t;let n=1;for(;null!==(a=r.exec(e));)if(a[0].startsWith("</")){if(0==(n-=1))return{innerEnd:a.index,endIndex:r.lastIndex}}else n+=1;return{innerEnd:e.length,endIndex:e.length}}(e,a.lastIndex),s=function e(t,a,r){let n="  ".repeat(r),o=[];return(function(e){let t,a=[],r=/<li\b[^>]*>|<\/li>|<(?:ul|ol)\b[^>]*>|<\/(?:ul|ol)>/gi,n=0,o=-1;for(;null!==(t=r.exec(e));){let i=t[0].toLowerCase();i.startsWith("<li")?0===n&&(-1!==o&&a.push(e.slice(o,t.index)),o=r.lastIndex):"</li>"===i?0===n&&-1!==o&&(a.push(e.slice(o,t.index)),o=-1):i.startsWith("</")?n-=1:n+=1}return -1!==o&&a.push(e.slice(o)),a})(t).forEach((t,i)=>{let s=a?`${i+1}.`:"-",{text:l,sublists:c}=function(e){let t=function(e){let t,a=[],r=/<(ul|ol)\b[^>]*>|<\/(?:ul|ol)>/gi,n=0,o=-1,i=-1,s=!1;for(;null!==(t=r.exec(e));)t[0].startsWith("</")?0==(n-=1)&&-1!==o&&(a.push({ordered:s,inner:e.slice(i,t.index),fullStart:o,fullEnd:r.lastIndex}),o=-1):(0===n&&(o=t.index,i=r.lastIndex,s="ol"===t[1].toLowerCase()),n+=1);return a}(e);if(0===t.length)return{text:e,sublists:[]};let a="",r=0;for(let n of t)a+=e.slice(r,n.fullStart),r=n.fullEnd;return{text:a+=e.slice(r),sublists:t.map(e=>({ordered:e.ordered,inner:e.inner}))}}(t),d=ot(l);for(let t of(d&&o.push(`${n}${s} ${d}`),c)){let a=e(t.inner,t.ordered,d?r+1:r);a&&o.push(a)}}),o.join("\n")}(e.slice(a.lastIndex,o),n,0);s.trim()&&r.push({listMarkdown:s}),a.lastIndex=i}else{let e=n9(t[0]);e&&r.push({image:e})}return r}(t.data.value))if("heading"in e){if(n3.test(e.heading)){l=!0;break}let t={heading:e.heading,body:[]};o.push(t),i=t.body}else if("paragraph"in e){let t=oe(e.paragraph).trim();if(!t||n6.test(t))continue;i.push({markdown:ot(e.paragraph)}),s=!0}else"listMarkdown"in e?s&&i.push({markdown:e.listMarkdown}):n7(e.image.src,r,s)&&i.push(e.image);continue}let a=n5.safeParse(e);if(a.success){let e=a.data.value.basic_image;if(!e)continue;let t=e.file.trim();n7(t,r,s)&&i.push({src:t,alt:(e.alt_text??"").trim()});continue}let n=n4.safeParse(e);if(n.success){let e=n.data.value,t=e.video_id.trim(),a=(e.provider??"youtube").toLowerCase();if(t&&"youtube"===a){let a=(e.caption??"").trim();i.push({videoId:t,provider:"youtube",caption:a||void 0})}}}return 0===o.length&&240>n.reduce((e,t)=>"markdown"in t?e+t.markdown.length:e,0)?null:{lead:n,sections:o}}function n7(e,t,a){return!(!e||e.startsWith("data:")||t&&e===t||/\byt3\.(?:ggpht|googleusercontent)\.com\//i.test(e))&&a}function n9(e){let t=/\bsrc="([^"]+)"/i.exec(e)?.[1]??/\bsrc='([^']+)'/i.exec(e)?.[1];if(!t)return null;let a=/\balt="([^"]*)"/i.exec(e)?.[1]??/\balt='([^']*)'/i.exec(e)?.[1]??"";return{src:t.trim(),alt:a.trim()}}function oe(e){return e.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\s+/g," ")}function ot(e){let t=e;return(t=(t=(t=(t=(t=(t=t.replace(/<br\s*\/?>/gi,"\n")).replace(/<a\b[^>]*?href="([^"]+)"[^>]*>([\s\S]*?)<\/a>/gi,(e,t,a)=>`[${oe(a).trim()}](${t})`)).replace(/<(?:b|strong)\b[^>]*>([\s\S]*?)<\/(?:b|strong)>/gi,(e,t)=>`**${oe(t).trim()}**`)).replace(/<(?:i|em)\b[^>]*>([\s\S]*?)<\/(?:i|em)>/gi,(e,t)=>`*${oe(t).trim()}*`)).replace(/<[^>]+>/g,"")).replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'")).replace(/\s+/g," ").trim()}let oa="color-mix(in oklab, var(--color-brand-500) 8%, #fff)",or={"--label-weight":"var(--font-weight-emphasis)","--label-tracking":"var(--tracking-eyebrow-tight)","--label-size":"var(--type-overline)"},on={"--prose-fg":"var(--color-fg-body, #2A2A33)","--prose-line-height":"var(--leading-body)"},oo={"--prose-fg":"var(--color-fg-body, var(--color-fg))","--prose-line-height":"var(--leading-airy)"};function oi({item:e,atomId:t}){return"markdown"in e?(0,l.jsx)(nX.Prose,{data:{markdown:e.markdown,size:"body-sm"},atomId:t}):"videoId"in e?(0,l.jsxs)("figure",{className:"mx-auto w-full max-w-[min(640px,100%)]",children:[(0,l.jsx)("div",{className:"relative w-full overflow-hidden rounded-[var(--radius-chip)]",style:{aspectRatio:"16 / 9"},children:(0,l.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${e.videoId}`,title:e.caption||"Embedded video",loading:"lazy",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"})}),e.caption?(0,l.jsx)("figcaption",{className:"mt-2 text-center text-[length:var(--type-meta)] text-[color:var(--color-fg-muted)]",children:e.caption}):null]}):(0,l.jsx)("img",{src:e.src,alt:e.alt,loading:"lazy",className:"mx-auto block h-auto max-h-[420px] w-auto max-w-[min(640px,100%)] rounded-[var(--radius-chip)]"})}function os(){let{sequence:e,currentSlug:t,isNavigating:a,navigateTo:r}=(0,L.useArticleOverlay)();if(!e||!t)return null;let n=e.length,o=e.findIndex(e=>e.slug===t);if(o<0||n<2)return null;let i=e[(o-1+n)%n],s=e[(o+1)%n];return(0,l.jsxs)("nav",{style:{padding:"28px var(--za-px) calc(40px + env(safe-area-inset-bottom))",background:"var(--color-bg-subtle)"},className:"flex flex-col gap-3 border-t border-[color:var(--color-border)] md:flex-row md:items-stretch md:justify-between md:gap-4",children:[(0,l.jsx)(ol,{dir:"prev",entry:i,disabled:a,onClick:()=>r(i.slug)}),(0,l.jsx)(ol,{dir:"next",entry:s,disabled:a,onClick:()=>r(s.slug)})]})}function ol({dir:e,entry:t,disabled:a,onClick:r}){let n="next"===e;return(0,l.jsxs)(nQ.Button,{variant:"bare",disabled:a,onClick:r,className:(0,ec.cn)("flex w-full flex-col justify-center gap-1 rounded-[var(--radius-chip)] border px-3.5 py-2 transition-colors md:w-[40%]","border-[color:var(--color-border)] bg-[color:var(--color-bg)]","hover:border-[color:var(--color-brand-500)] disabled:cursor-default",n?"items-start text-left md:items-end md:text-right":"items-start text-left"),children:[(0,l.jsx)("span",{className:"uppercase",style:{fontSize:"var(--type-overline)",fontWeight:"var(--font-weight-emphasis)",letterSpacing:"var(--tracking-eyebrow)",color:"var(--color-brand-500)"},children:n?"Next →":"← Previous"}),(0,l.jsx)("span",{className:"line-clamp-2",style:{fontSize:"var(--type-meta)",fontWeight:"var(--font-weight-emphasis)",lineHeight:"var(--leading-meta)",color:"var(--color-fg)"},children:t.label})]})}let oc=["January","February","March","April","May","June","July","August","September","October","November","December"];function od(e){return e.replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/\*{1,2}([^*]+)\*{1,2}/g,"$1").replace(/\s+/g," ").trim()}let ou={document:({className:e})=>
2(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(1.5 1.5)"><path fill-rule="evenodd" clip-rule="evenodd" d="M18.315 4.8225L13.9425 0.4425C13.6625 0.160809 13.2822 0.00167459 12.885 0H3.75C2.92157 0 2.25 0.671573 2.25 1.5V8.25H1.5C0.671573 8.25 0 8.92157 0 9.75V16.5C0 17.3284 0.671573 18 1.5 18H2.25V19.5C2.25 20.3284 2.92157 21 3.75 21H17.25C18.0784 21 18.75 20.3284 18.75 19.5V18H19.5C20.3284 18 21 17.3284 21 16.5V9.75C21 8.92157 20.3284 8.25 19.5 8.25H18.75V5.88C18.7503 5.48389 18.5939 5.10374 18.315 4.8225ZM17.25 8.25H3.75V1.5H12V5.25C12 6.07843 12.6716 6.75 13.5 6.75H17.25V8.25ZM17.25 18H3.75V19.5H17.25V18ZM7.575 12H6.5925V15.09H5.5425V12H4.56V11.1225H7.56L7.575 12ZM10.5 13.86L11.25 15.12H12.5325L11.205 13.155L12.465 11.1225H11.205L10.5 12.3825L9.795 11.1225H8.61L9.87 13.0875L8.535 15.12H9.75L10.5 13.86ZM16.44 12H15.4575V15.09H14.4075V12H13.425V11.1225H16.425L16.44 12Z"/></g>'}}),clipboard:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(3 1.5)"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.5 0H1.5C0.671573 0 0 0.671573 0 1.5V19.5C0 20.3284 0.671573 21 1.5 21H16.5C17.3284 21 18 20.3284 18 19.5V1.5C18 0.671573 17.3284 0 16.5 0ZM6.75 17.25H5.25C4.83579 17.25 4.5 16.9142 4.5 16.5C4.5 16.0858 4.83579 15.75 5.25 15.75H6.75C7.16421 15.75 7.5 16.0858 7.5 16.5C7.5 16.9142 7.16421 17.25 6.75 17.25ZM8.0475 10.6275L5.9025 12.8775C5.77868 13.0167 5.60128 13.0963 5.415 13.0963C5.22872 13.0963 5.05132 13.0167 4.9275 12.8775L3.9525 11.8425C3.67631 11.5528 3.67631 11.0972 3.9525 10.8075C4.07755 10.6705 4.25449 10.5924 4.44 10.5924C4.62551 10.5924 4.80245 10.6705 4.9275 10.8075L5.415 11.325L7.0725 9.555C7.19982 9.42205 7.37592 9.34687 7.56 9.34687C7.74408 9.34687 7.92018 9.42205 8.0475 9.555C8.19181 9.69611 8.27316 9.88942 8.27316 10.0913C8.27316 10.2931 8.19181 10.4864 8.0475 10.6275ZM8.0475 5.3775L5.9025 7.6275C5.77868 7.76668 5.60128 7.8463 5.415 7.8463C5.22872 7.8463 5.05132 7.76668 4.9275 7.6275L3.9525 6.5925C3.67631 6.30278 3.67631 5.84722 3.9525 5.5575C4.07755 5.42048 4.25449 5.34241 4.44 5.34241C4.62551 5.34241 4.80245 5.42048 4.9275 5.5575L5.415 6.075L7.0725 4.305C7.19982 4.17205 7.37592 4.09687 7.56 4.09687C7.74408 4.09687 7.92018 4.17205 8.0475 4.305C8.19181 4.44611 8.27316 4.63942 8.27316 4.84125C8.27316 5.04308 8.19181 5.23639 8.0475 5.3775ZM13.5 17.25H10.5C10.0858 17.25 9.75 16.9142 9.75 16.5C9.75 16.0858 10.0858 15.75 10.5 15.75H13.5C13.9142 15.75 14.25 16.0858 14.25 16.5C14.25 16.9142 13.9142 17.25 13.5 17.25ZM13.5 12.75H10.5C10.0858 12.75 9.75 12.4142 9.75 12C9.75 11.5858 10.0858 11.25 10.5 11.25H13.5C13.9142 11.25 14.25 11.5858 14.25 12C14.25 12.4142 13.9142 12.75 13.5 12.75ZM13.5 7.5H10.5C10.0858 7.5 9.75 7.16421 9.75 6.75C9.75 6.33579 10.0858 6 10.5 6H13.5C13.9142 6 14.25 6.33579 14.25 6.75C14.25 7.16421 13.9142 7.5 13.5 7.5Z"/></g>'}}),pen:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(1.5 1.5)"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.4806 0.419359C11.9417 0.0595853 12.7139 -0.16755 13.6824 0.154243L13.6815 0.15518C14.5572 0.400186 15.0621 1.02488 15.2583 1.78147L15.2931 1.93604L15.295 1.94354L15.2959 1.95103C15.4615 3.02391 14.9641 4.23625 14.1992 5.34788C13.4542 6.43062 12.4115 7.47736 11.3134 8.31006C11.2893 8.53771 11.2729 8.76807 11.2579 9.00704C11.2404 9.28677 11.2216 9.57956 11.1855 9.87358C11.1843 10.0768 11.1683 10.2779 11.1527 10.4666C11.3479 10.3508 11.5216 10.2547 11.6657 10.178C11.8053 10.1038 11.9183 10.0482 11.9965 10.0104C12.0356 9.99147 12.0665 9.97708 12.0877 9.96726C12.0938 9.96445 12.0991 9.96183 12.1037 9.95977C13.295 9.33213 14.4861 9.22497 15.247 9.7518L15.3936 9.86515L15.4021 9.87358L15.4115 9.88201C15.6013 10.0713 15.7692 10.2974 15.8814 10.5696C17.2806 9.23011 18.2159 8.59718 18.8744 8.33629C19.2473 8.18864 19.5497 8.15211 19.8038 8.18921C19.9308 8.20778 20.0373 8.24376 20.1233 8.28195L20.3216 8.38875L20.3347 8.39718L20.3479 8.40655C20.6013 8.59029 20.7886 8.82837 20.8957 9.1307C21.0004 9.42632 21.0208 9.76304 20.9812 10.1378C20.9031 10.8782 20.5776 11.8564 20.0359 13.1524C19.803 13.7247 19.1409 13.9116 18.6301 13.7079C18.0525 13.4774 17.8632 12.8151 18.0681 12.3046L18.0728 12.2943C18.2668 11.8522 18.4161 11.4767 18.5304 11.1645C18.1899 11.4534 17.7987 11.809 17.3821 12.2109C16.5511 13.0126 15.6397 13.976 14.8542 14.9014L14.8533 14.9005C14.5267 15.316 13.9035 15.4305 13.455 15.1206C13.2036 14.9702 13.0311 14.7543 12.9588 14.4948C12.8883 14.2412 12.9216 13.9792 13.0161 13.7435L13.0218 13.7295L13.0293 13.7164L13.0302 13.7135L13.05 13.6742C13.0638 13.6461 13.0843 13.6045 13.1092 13.5533C13.1591 13.4505 13.2284 13.3065 13.3037 13.143C13.4563 12.812 13.6297 12.4127 13.7313 12.1088L13.7341 12.0985L13.7378 12.0891C13.8057 11.92 13.8448 11.7878 13.8666 11.6882C13.6699 11.7287 13.4 11.8097 13.08 11.9692C12.6841 12.1666 11.8908 12.6254 10.9459 13.2264C10.8282 14.2121 10.708 15.1137 10.5447 15.9637H19.847C20.3832 15.9637 20.9293 16.3899 20.9296 17.0429C20.9296 17.6963 20.3833 18.1221 19.847 18.1221H9.9047C9.66161 18.6671 9.43644 19.1525 9.08244 19.5761L9.07681 19.5817L9.07211 19.5873C8.29083 20.444 7.11447 21 6.06217 21C5.52837 21 4.99459 20.9257 4.53793 20.5616C4.334 20.3989 4.01279 20.1019 3.80871 19.6201C3.64197 19.2262 3.56575 18.7321 3.66587 18.1221H1.08256C0.546268 18.1221 0 17.6963 0 17.0429C0.000248703 16.3899 0.54639 15.9637 1.08256 15.9637H4.49189C5.47265 14.4225 7.24687 12.9875 8.8212 11.9477C8.88817 11.1552 8.95452 10.4201 9.02136 9.68716C8.43184 9.98059 7.87808 
210.2204 7.43229 10.3982C7.13409 10.5171 6.88236 10.609 6.6993 10.6717C6.60817 10.703 6.53194 10.7276 6.47471 10.7448C6.44663 10.7532 6.42028 10.7606 6.39765 10.7664C6.38653 10.7692 6.37304 10.773 6.35912 10.7757H6.35442C6.06658 10.8618 5.78284 10.8398 5.53968 10.7186C5.28991 10.5939 5.10707 10.3777 5.00592 10.1256L4.9937 10.0956L4.98712 10.0628C4.87684 9.51217 5.21049 8.99532 5.71165 8.79532L5.72387 8.79064L5.73514 8.78595L5.73984 8.78502C5.74323 8.78391 5.74881 8.78171 5.75582 8.7794C5.77002 8.77471 5.7918 8.76829 5.81972 8.75879C5.87617 8.73957 5.95937 8.71005 6.06499 8.67166C6.27658 8.59476 6.57731 8.47976 6.93141 8.32973C7.60217 8.04554 8.45545 7.63619 9.25629 7.12125C9.39826 5.6046 9.57883 4.20219 9.89155 3.06208C10.2104 1.90013 10.6871 0.929343 11.4806 0.419359ZM12.7436 2.24238C12.64 2.30435 12.5202 2.43265 12.3959 2.65832C12.2735 2.88086 12.16 3.17357 12.0557 3.52861C11.9288 3.96109 11.8221 4.46923 11.724 5.02656C12.1021 4.59324 12.4173 4.16601 12.6543 3.77218C12.8474 3.45141 12.9854 3.15999 13.0659 2.91126C13.148 2.65754 13.1622 2.47444 13.1411 2.35854L13.1355 2.32669V2.31451C13.12 2.30659 13.0924 2.29488 13.0471 2.2836L12.9504 2.25924L12.9156 2.22458C12.9098 2.22404 12.9033 2.22305 12.8958 2.22271C12.8802 2.222 12.8644 2.22177 12.846 2.22177H12.7765L12.7436 2.24238Z"/><path d="M2.48745 11.2488C2.91699 10.8208 3.57839 10.8208 4.00793 11.2488C4.43746 11.677 4.4373 12.3363 4.00793 12.7646L3.6856 13.0859L4.00793 13.4072C4.43745 13.8354 4.4373 14.4947 4.00793 14.923C3.79148 15.1387 3.48128 15.2443 3.24769 15.2443C3.0141 15.2443 2.7039 15.1387 2.48745 14.923L2.16513 14.6016L1.8428 14.923C1.62635 15.1387 1.31616 15.2443 1.08256 15.2443C0.848971 15.2443 0.538772 15.1387 0.322326 14.923C-0.107043 14.4947 -0.107201 13.8354 0.322326 13.4072L0.643712 13.0859L0.322326 12.7646C-0.107044 12.3363 -0.107201 11.677 0.322326 11.2488C0.751862 10.8208 1.41327 10.8208 1.8428 11.2488L2.16513 11.5692L2.48745 11.2488Z"/></g>'}}),dollar:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(1.5 1.5)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.5 0C4.70101 0 0 4.70101 0 10.5C0 16.299 4.70101 21 10.5 21C16.299 21 21 16.299 21 10.5C21 7.71523 19.8938 5.04451 17.9246 3.07538C15.9555 1.10625 13.2848 0 10.5 0ZM11.055 15.0975V15.3825C11.055 15.7967 10.7192 16.1325 10.305 16.1325C9.89079 16.1325 9.555 15.7967 9.555 15.3825V15.06C8.46668 15.0021 7.4997 14.3468 7.0425 13.3575C6.99533 13.2406 6.96991 13.116 6.9675 12.99C6.9675 12.5925 7.2375 12.3525 7.7175 12.3525C8.04765 12.3318 8.35237 12.5299 8.4675 12.84C9.00986 13.6399 9.95276 14.0708 10.9125 13.9575C11.955 13.8975 12.5775 13.4025 12.5775 12.6375C12.5775 11.8725 12.1275 11.5575 10.92 11.265L9.7125 10.995C7.8975 10.59 7.05 9.8025 7.05 8.505C7.05 7.2075 8.0325 6.2175 9.5925 5.955V5.625C9.5925 5.21079 9.92829 4.875 10.3425 4.875C10.7567 4.875 11.0925 5.21079 11.0925 5.625V5.9175C12.4725 6.075 13.5 6.7425 13.8075 7.71C13.8475 7.82838 13.8678 7.95254 13.8675 8.0775C13.8675 8.415 13.605 8.6325 13.185 8.6325C12.8622 8.63464 12.5683 8.44656 12.435 8.1525C11.9516 7.3916 11.0825 6.96577 10.185 7.05C9.2475 7.1475 8.6025 7.635 8.6025 8.325C8.6025 9.015 9.0825 9.3975 10.1025 9.6675L11.34 9.9375C13.2675 10.3725 14.0925 11.115 14.0925 12.4275C14.0625 14.1825 12.5475 14.9475 11.055 15.0975Z"/></g>'}}),broadcast:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(1.5 3.75)"><path d="M5.5395 2.62463C6.1606 2.07643 6.2197 1.12852 5.6715 0.507418C5.12331 -0.113686 4.1754 -0.172789 3.55429 0.375409C1.37693 2.29719 0 5.11374 0 8.25002C0 11.3863 1.37693 14.2028 3.55429 16.1246C4.1754 16.6728 5.12331 16.6137 5.6715 15.9926C6.2197 15.3715 6.1606 14.4236 5.5395 13.8754C3.97997 12.4989 3 10.4899 3 8.25002C3 6.01018 3.97997 4.00109 5.5395 2.62463Z"/><path d="M17.4457 0.375409C16.8246 -0.172789 15.8767 -0.113686 15.3285 0.507418C14.7803 1.12852 14.8394 2.07643 15.4605 2.62463C17.02 4.00109 18 6.01018 18 8.25002C18 10.4899 17.02 12.4989 15.4605 13.8754C14.8394 14.4236 14.7803 15.3715 15.3285 15.9926C15.8767 16.6137 16.8246 16.6728 17.4457 16.1246C19.6231 14.2028 21 11.3863 21 8.25002C21 5.11374 19.6231 2.29719 17.4457 0.375409Z"/><path d="M8.51605 5.99963C9.13715 5.45143 9.19625 4.50352 8.64806 3.88242C8.09986 3.26131 7.15195 3.20221 6.53085 3.7504
21C5.2877 4.84763 4.5 6.45777 4.5 8.25002C4.5 10.0423 5.2877 11.6524 6.53085 12.7496C7.15195 13.2978 8.09986 13.2387 8.64806 12.6176C9.19625 11.9965 9.13715 11.0486 8.51605 10.5004C7.89075 9.94851 7.5 9.14583 7.5 8.25002C7.5 7.35421 7.89075 6.55153 8.51605 5.99963Z"/><path d="M14.4692 3.75041C13.848 3.20221 12.9001 3.26131 12.3519 3.88242C11.8037 4.50352 11.8628 5.45143 12.484 5.99963C13.1093 6.55153 13.5 7.35421 13.5 8.25002C13.5 9.14583 13.1093 9.94851 12.484 10.5004C11.8628 11.0486 11.8037 11.9965 12.3519 12.6176C12.9001 13.2387 13.848 13.2978 14.4692 12.7496C15.7123 11.6524 16.5 10.0423 16.5 8.25002C16.5 6.45777 15.7123 4.84763 14.4692 3.75041Z"/><path d="M10.5 9.75C11.3284 9.75 12 9.07843 12 8.25C12 7.42157 11.3284 6.75 10.5 6.75C9.67157 6.75 9 7.42157 9 8.25C9 9.07843 9.67157 9.75 10.5 9.75Z"/></g>'}}),target:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(1.5 1.5)"><path d="M20.4989 12.6477C20.8869 10.7722 20.7601 8.83741 20.1497 7.04877L16.4138 7.04328C17.2216 8.5217 17.4914 10.2785 17.1489 11.9341C16.8025 13.6084 15.867 15.0974 14.5173 16.1227C13.1676 17.148 11.496 17.6394 9.81514 17.505C8.13428 17.3707 6.55918 16.6197 5.38433 15.3926C4.20948 14.1655 3.51531 12.5463 3.43159 10.8376C3.34788 9.12892 3.88035 7.4478 4.92947 6.10852C5.97858 4.76925 7.47251 3.86351 9.13195 3.56066C10.772 3.26134 12.5946 3.56877 14.0272 4.42985C14.0472 2.37507 14.0312 0.675349 14.0312 0.675349C14.0312 0.675349 11.2309 -0.372577 8.52599 0.1423C6.0477 0.594596 3.81659 1.94726 2.24979 3.9474C0.682987 5.94754 -0.112238 8.45822 0.0127863 11.0101C0.137811 13.5619 1.17453 15.9802 2.92911 17.8128C4.68369 19.6454 7.03602 20.7668 9.5463 20.9675C12.0566 21.1682 14.553 20.4343 16.5687 18.9031C18.5845 17.3719 19.9816 15.1481 20.4989 12.6477Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18.5427 0.808389L18.6877 1.94848L19.5281 1.16234C19.677 1.02304 19.909 1.0326 20.0463 1.18369C20.1835 1.33478 20.1741 1.57019 20.0252 1.70949L19.3083 2.38013L20.2706 2.55071C21.0164 2.68292 21.2605 3.64547 20.6704 4.12661L18.449 5.93752C18.054 6.25954 17.5556 6.42202 17.0497 6.39371L15.1325 6.28646L10.6279 10.5004C10.479 10.6397 10.247 10.6301 10.1097 10.479C9.97243 10.3279 9.98185 10.0925 10.1308 9.95322L14.6342 5.7404L14.6153 3.90175C14.61 3.38764 14.7922 2.8897 15.1269 2.50367L17.009 0.332819C17.509 -0.243944 18.4458 0.0465288 18.5427 0.808389ZM15.7339 5.72384L17.082 5.79926C17.4434 5.81947 17.7994 5.70342 18.0815 5.4734L20.3029 3.66249C20.4996 3.50211 20.4182 3.18126 20.1696 3.13719L18.7652 2.88822L15.7339 5.72384ZM17.3167 3.23096L15.2154 5.19671L15.202 3.89554C15.1982 3.52831 15.3284 3.17264 15.5674 2.89691L17.4495 0.726055C17.6162 0.5338 17.9285 0.630626 17.9608 0.884579L18.1528 2.39492L17.3167 3.23096Z"/><path d="M14.7196 7.67691C14.7196 7.67691 14.8347 7.87288 14.8874 7.97334C15.342 8.84059 15.5515 9.8268 15.4806 10.821C15.3836 12.1807 14.7698 13.4489 13.7686 14.3581C12.7675 15.2672 11.4574 15.7461 10.1148 15.6936C8.77227 15.6412 7.50234 15.0615 6.57306 14.0769C5.64378 13.0924 5.12786 11.78 5.13421 10.4168C5.14056 9.05355 5.66867 7.74616 6.60708 6.77056C7.54548 5.79496 8.82076 5.22748 10.1637 5.1879C11.2538 5.15577 13.2126 6.08549 13.2126 6.08549C12.6806 6.58105 11.0982 8.08968 11.0982 8.08968C11.0982 8.08968 10.5362 7.95117 10.2431 7.95981C9.60868 7.9785 9.00625 8.24657 8.56295 8.70744C8.11966 9.1683 7.87018 9.7859 7.86719 10.4299C7.86419 11.0738 8.1079 11.6938 8.54688 12.1589C8.98587 12.624 9.58577 12.8978 10.22 12.9226C10.8542 12.9474 11.4731 12.7212 11.946 12.2917C12.4189 11.8622 12.7089 11.2631 12.7547 10.6208C12.7781 10.2934 12.6372 9.66169 12.6372 9.66169L14.7196 7.67691Z"/></g>'}}),sync:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(1.5 1.5)"><path d="M11.2539 0.512264C10.7084 -0.111191 9.76072 -0.174368 9.13726 0.371156C8.51381 0.916679 8.45063 1.86432 8.99616 2.48778L9.44435 3L1.5 3C0.671574 3 0 3.67157 0 4.5V16.5C0 17.3284 0.671573 18 1.5 18H3.75C4.57843 18 5.25 17.3284 5.25 16.5C5.25 15.6716 4.57843 15 3.75 15H3L3 6L9.44439 6L8.99616 6.51226C8.45063 7.13572 8.51381 8.08336 9.13726 8.62889C9.76072 9.17441 10.7084 9.11123 11.2539 8.48778L13.8789 5.48778C14.3737 4.92224 14.3737 4.0778 13.8789 3.51226L11.2539 0.512264Z"/><path d="M15.75 4.5C15.75 3.67157 16.4216 3 17.25 3L19.5 3C20.3284 3 21 3.67158 21 4.5L21 16.5C21 17.3284 20.3284 18 19.5 18L11.5557 18L12.0038 18.5122C12.5494 19.1357 12.48
262 20.0833 11.8627 20.6288C11.2393 21.1744 10.2916 21.1112 9.74612 20.4877L7.12112 17.4877C6.62627 16.9222 6.62627 16.0778 7.12112 15.5122L9.74612 12.5122C10.2916 11.8888 11.2393 11.8256 11.8627 12.3711C12.4862 12.9166 12.5494 13.8643 12.0038 14.4877L11.5556 15L18 15L18 6H17.25C16.4216 6 15.75 5.32843 15.75 4.5Z"/></g>'}}),chart:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(1.5 6)"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.4941 0H12.7177C11.8861 0 11.2119 0.671573 11.2119 1.5C11.2119 2.32843 11.8861 3 12.7177 3H15.9704L11.2119 8.25L7.07074 3.51C6.79756 3.19969 6.40809 3.01521 5.99404 3C5.57579 2.97977 5.16928 3.1412 4.8797 3.4425L0.362101 7.9425C-0.149558 8.53764 -0.115157 9.42479 0.441064 9.97884C0.997284 10.5329 1.8879 10.5672 2.48537 10.0575L5.86604 6.6975L10.0825 11.49C10.3679 11.8137 10.7793 11.9994 11.2119 12V12C11.6394 12.0011 12.0473 11.8212 12.3337 11.505L17.9883 5.25V8.25C17.9883 9.07842 18.6625 9.75 19.4941 9.75C20.3258 9.75 21 9.07842 21 8.25V1.5C21 0.671573 20.3258 0 19.4941 0Z"/></g>'}}),"check-bullet":({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",dangerouslySetInnerHTML:{__html:'<polyline points="20 6 9 17 4 12"/>'}}),building:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(4.5 1.5)"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.5 0H1.5C0.671573 0 0 0.671573 0 1.5V19.5C0 20.3284 0.671573 21 1.5 21H13.5C14.3284 21 15 20.3284 15 19.5V1.5C15 0.671573 14.3284 0 13.5 0ZM3.75 4.125C3.75 3.91789 3.91789 3.75 4.125 3.75H6.375C6.58211 3.75 6.75 3.91789 6.75 4.125V6.375C6.75 6.58211 6.58211 6.75 6.375 6.75H4.125C3.91789 6.75 3.75 6.58211 3.75 6.375V4.125ZM3.75 10.875V8.625C3.75 8.41789 3.91789 8.25 4.125 8.25H6.375C6.58211 8.25 6.75 8.41789 6.75 8.625V10.875C6.75 11.0821 6.58211 11.25 6.375 11.25H4.125C3.91789 11.25 3.75 11.0821 3.75 10.875ZM9.75 19.5H5.25V14.625C5.25 14.4179 5.41789 14.25 5.625 14.25H9.375C9.58211 14.25 9.75 14.4179 9.75 14.625V19.5ZM11.25 10.875C11.25 11.0821 11.0821 11.25 10.875 11.25H8.625C8.41789 11.25 8.25 11.0821 8.25 10.875V8.625C8.25 8.41789 8.41789 8.25 8.625 8.25H10.875C11.0821 8.25 11.25 8.41789 11.25 8.625V10.875ZM11.25 6.375C11.25 6.58211 11.0821 6.75 10.875 6.75H8.625C8.41789 6.75 8.25 6.58211 8.25 6.375V4.125C8.25 3.91789 8.41789 3.75 8.625 3.75H10.875C11.0821 3.75 11.25 3.91789 11.25 4.125V6.375Z"/></g>'}}),check:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(1.5 4.5)"><path fill-rule="evenodd" clip-rule="evenodd" d="M20.5601 0.43993C20.2788 0.158264 19.897 0 19.4989 0C19.1008 0 18.719 0.158264 18.4376 0.43993L7.02265 11.5024L2.56015 7.17493C2.27879 6.89326 1.89701 6.735 1.4989 6.735C1.10078 6.735 0.718998 6.89326 0.437646 7.17493C0.158035 7.44362 0 7.81465 0 8.20243C0 8.59021 0.158035 8.96124 0.437646 9.22993L6.00265 14.5849C6.284 14.8666 6.66578 15.0249 7.0639 15.0249C7.46201 15.0249 7.84379 14.8666 8.12515 14.5849L20.5601 2.49493C20.8398 2.22624 20.9978 1.85521 20.9978 1.46743C20.9978 1.07965 20.8398 0.708616 20.5601 0.43993Z"/></g>'}}),refresh:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(1.5 1.5)"><path d="M3 10.5C3 6.35786 6.35786 3 10.5 3C12.5972 3 14.4935 3.85974 15.8561 5.24987H14.25C13.4216 5.24987 12.75 5.92144 12.75 6.74987C12.75 7.57829 13.4216 8.24987 14.25 8.24987H18.75C19.4833 8.24987 20.109 7.71975 20.2296 6.99647L20.9796 2.49647C21.1158 1.67931 20.5638 0.90647 19.7466 0.770277C18.9294 0.634084 
218.1566 1.18611 18.0204 2.00327L17.8534 3.00504C15.9604 1.14784 13.3643 0 10.5 0C4.70101 0 0 4.70101 0 10.5C0 16.299 4.70101 21 10.5 21C14.7399 21 18.3897 18.487 20.0472 14.8757C20.3928 14.1228 20.0625 13.2323 19.3096 12.8867C18.5567 12.5412 17.6662 12.8714 17.3207 13.6243C16.1341 16.2096 13.5246 18 10.5 18C6.35786 18 3 14.6421 3 10.5Z"/></g>'}}),shield:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(3 1.5)"><path d="M17.9795 4.82064C17.9517 4.22764 17.5314 3.74707 16.9625 3.57724C15.9139 3.26416 14.2191 2.73121 13.125 2.25C11.4455 1.5113 9.00054 0 9.00054 0C9.00054 0 6.55489 1.51125 4.875 2.25C3.78069 2.73124 2.08607 3.26417 1.03761 3.57724C0.46884 3.74707 0.0485766 4.22758 0.0207642 4.82051C-0.0463782 6.25192 -0.00481922 9.16112 0.990439 12.8439C2.26136 17.547 6.9086 20.0496 8.47806 20.7745C8.81266 20.9291 9.18708 20.9291 9.52168 20.7745C11.0912 20.0496 15.7386 17.547 17.0096 12.8439C18.0048 9.16123 18.0465 6.25209 17.9795 4.82064Z"/></g>'}}),house:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"none",dangerouslySetInnerHTML:{__html:'<polygon points="16,5 4,15 28,15" fill="#001962"/><rect x="7" y="15" width="18" height="12" rx="1" fill="#F0805A"/><rect x="13" y="19" width="6" height="8" fill="#001962"/>'}}),duplex:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"none",dangerouslySetInnerHTML:{__html:'<polygon points="9,7 2,13 16,13" fill="#0041D9"/><rect x="4" y="13" width="10" height="13" rx="1" fill="#F5B27E"/><polygon points="23,7 16,13 30,13" fill="#001962"/><rect x="18" y="13" width="10" height="13" rx="1" fill="#F0805A"/>'}}),buildings:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"none",dangerouslySetInnerHTML:{__html:'<rect x="4" y="11" width="9" height="16" rx="1" fill="#001962"/><rect x="6" y="14" width="2.5" height="2.5" fill="#8ED8FF"/><rect x="10" y="14" width="2.5" height="2.5" fill="#8ED8FF"/><rect x="6" y="19" width="2.5" height="2.5" fill="#8ED8FF"/><rect x="10" y="19" width="2.5" height="2.5" fill="#8ED8FF"/><rect x="15" y="5" width="10" height="22" rx="1" fill="#0041D9"/><rect x="17" y="8" width="2.5" height="2.5" fill="#BFE9FF"/><rect x="21" y="8" width="2.5" height="2.5" fill="#BFE9FF"/><rect x="17" y="13" width="2.5" height="2.5" fill="#BFE9FF"/><rect x="21" y="13" width="2.5" height="2.5" fill="#BFE9FF"/><rect x="17" y="18" width="2.5" height="2.5" fill="#BFE9FF"/><rect x="21" y="18" width="2.5" height="2.5" fill="#BFE9FF"/><rect x="27" y="16" width="3" height="11" fill="#F0805A"/>'}}),"sparkle-star":({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path d="M12 2l1.85 5.35L19 9l-5.15 1.65L12 16l-1.85-5.35L5 9l5.15-1.65z"/>'}}),"check-success":({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",dangerouslySetInnerHTML:{__html:'<polyline points="20 6 9 17 4 12"/>'}}),close:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<g transform="translate(4.09 4.16)"><path d="M15.3903 2.56066C15.9761 1.97487 15.9761 1.02513 15.3903 0.43934C14.8045 -0.146447 13.8548 -0.146447 13.269 0.43934L7.86383 5.8445L2.56066 0.541325C1.97487 -0.0444627 1.02513 -0.0444627 0.439341 0.541325C-0.146447 1.12711 -0.146447 2.07686 0.43934 2.66264L5.74251 7.96582L0.541072 13.1673C-0.0447149 13.753 -0.044715 14.7028 0.541072 15.2886C1.12686 15.8744 2.07661 15.8744 2.66239 15.2886L7.86383 10.0871L13.1672 15.3905C13.753 15.9763 14.7027 15.9763 15.2885 15.3905C15.8743 14.8047 15.8743 13.855 15.2885 13.2692L9.98515 7.96582L15.3903 2.56066Z"/></g>'}}),"menu-open":({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path d="M27 17H5a1 1 0 0 1 0-2h22a1 1 0 0 1 0 2m0-8H5a1 1 0 0 1 0-2h22a1 1 0 0 1 0 2m0 16H5a1 1 0 0 1 0-2h22a1 1 0 0 1 0 2"/>'}}),"menu-close":({className:e})=>
2(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path d="M25.9 7.515A1 1 0 0 0 24.485 6.1L16 14.586 7.515 6.1A1 1 0 0 0 6.1 7.515L14.586 16 6.1 24.485A1 1 0 1 0 7.515 25.9L16 17.414l8.485 8.486a1 1 0 0 0 1.415-1.415L17.414 16z"/>'}}),"nav-chevron":({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path fill-rule="evenodd" clip-rule="evenodd" d="M28.23 11.3 15.94 23.59 3.65 11.31a1 1 0 0 0-1.41 1.41l13 13a1 1 0 0 0 1.42 0l13-13a1 1 0 0 0 0-1.42 1 1 0 0 0-1.43 0"/>'}}),"settings-gear":({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path d="M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65a.5.5 0 0 0 .12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.49.49 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65a.5.5 0 0 0-.12.64l2 3.46c.14.24.43.34.69.22l2.49-1c.51.4 1.07.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.58 1.69-.98l2.49 1c.27.12.55.02.69-.22l2-3.46a.5.5 0 0 0-.12-.64zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7"/>'}}),facebook:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"currentColor","aria-label":"Facebook",dangerouslySetInnerHTML:{__html:'<path d="M30 16.08A14 14 0 1 0 13.81 30V20h-3.55v-4h3.55v-3c0-3.53 2.09-5.48 5.29-5.48a20.5 20.5 0 0 1 3.13.28v3.46h-1.76A2 2 0 0 0 18.2 13a1.7 1.7 0 0 0 0 .45V16h3.88l-.62 4h-3.27v10A14.06 14.06 0 0 0 30 16.08"/>'}}),instagram:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"currentColor","aria-label":"Instagram",dangerouslySetInnerHTML:{__html:'<path d="M21 2H11a9 9 0 0 0-9 9v10a9 9 0 0 0 9 9h10a9 9 0 0 0 9-9V11a9 9 0 0 0-9-9m7 19a7 7 0 0 1-7 7H11a7 7 0 0 1-7-7V11a7 7 0 0 1 7-7h10a7 7 0 0 1 7 7Z"/><path d="M16 9a7 7 0 1 0 7 7 7 7 0 0 0-7-7m0 12a5 5 0 1 1 5-5 5 5 0 0 1-5 5m7.5-14a1.5 1.5 0 1 0 0 3 1.5 1.5 0 1 0 0-3"/>'}}),linkedin:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"currentColor","aria-label":"LinkedIn",dangerouslySetInnerHTML:{__html:'<path d="M28.13 2H3.87A1.87 1.87 0 0 0 2 3.87v24.26A1.87 1.87 0 0 0 3.87 30h24.26A1.87 1.87 0 0 0 30 28.13V3.87A1.87 1.87 0 0 0 28.13 2M10.29 25.89H6.08V12.5h4.21zm-2.1-15.23a2.45 2.45 0 1 1 2.46-2.45 2.45 2.45 0 0 1-2.46 2.45m17.72 15.23h-4.12v-6.48c0-1.57 0-3.5-2.2-3.5s-2.45 1.67-2.45 3.41V26H13V12.5h3.86v1.84H17a4.39 4.39 0 0 1 3.95-2.19c4.21 0 5 2.8 5 6.39z"/>'}}),x:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 32 32",fill:"currentColor","aria-label":"X",dangerouslySetInnerHTML:{__html:'<path d="M24.052 3.345h4.293l-9.38 10.721L30 28.655h-8.64l-6.768-8.848-7.743 8.848H2.553l10.033-11.467L2 3.345h8.86l6.117 8.088zm-1.507 22.74h2.379L9.567 5.78H7.014l15.53 20.305Z"/>'}}),chevron:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round",dangerouslySetInnerHTML:{__html:'<polyline points="9 6 15 12 9 18"/>'}}),"select-chevron":({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 10 6",dangerouslySetInnerHTML:{__html:'<path d="M1 1l4 4 4-4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>'}}),"logo-zillow-rentals":({className:e})=>(0,l.jsx)("svg",{className:e,fill:"none",viewBox:"0 0 215 25",dangerouslySetInnerHTML:{__html:'<g clip-path="url(#a)">\n    <path fill="#111116" d="M213.219 8.10755h-.173V6.88257h.582c.289 0 .479.14588.479.37114 0 .2081-.177.35398-.425.3647h-.022l.484.48699h-.218l-.461-.48055h-.246zm0-1.08554v.46768h.409c.192 0 .306-.0901.306-.23384 0-.14373-.116-.23169-.306-.23169h-.409z"/>\n    <path fill="#111116" d="M213.53 8.95925c-.097 0-.192-.00858-.292-.02789-.583-.10941-1.048-.5728-1.158-1.14989-.093-.49128.054-.97183.404-1.32152.35-.34754.837-.49557 1.329-.40117.584.10941 1.049.5728 1.159 1.14989.093.49128-.054.97183-.404 1.31937-.281.27889-.651.42907-1.04.42907zm-.004-2.72027c-.335 0-.653.12872-.895.369-.3.2982-.428.71439-.348 1.13702.095.49771.495.89245.994.98685.428.07937.843-.04505 1.146-.3454.3-.2982.428-.71439.348-1.13702-.095-.49772-.495-.89245-.994-.98685-.085-.01502-.169-.0236-.251-.0236"/>
2\n    <path fill="#0041d9" d="M14.2756 7.29228c.3004-.06651.6116.04934.7953.29605.2983.40118.7608 1.02761 1.1066 1.49529.2551.34325.1794.82381-.1664 1.07698-2.2737 1.6605-4.7376 3.8658-6.15546 5.4791-.03458.0386-.00864.0429.01513.0344 2.52223-.9268 8.31893-2.2955 11.11133-2.6796V9.53843h.0022c0-.45052-.2096-.88387-.5684-1.16705l-.1859-.14589-8.7988-6.90579c-.5489-.426918-1.3162-.426918-1.86301 0 0 0-6.41266 5.02005-8.9976 7.04738C.21181 8.65027 0 9.08148 0 9.53629v2.81461c6.24839-2.9798 12.5573-4.67675 14.2756-5.06077z"/>\n    <path fill="#0041d9" d="M5.90906 20.6663c-.31123.1287-.67001.045-.8883-.2124-.36743-.4312-.90776-1.1006-1.27086-1.5532-.23126-.2918-.22478-.7037.01945-.9847 1.21899-1.3988 4.86731-5.3162 6.54445-6.421.0368-.0236.0281-.0472-.0151-.0386-2.0554.5513-8.01202 2.7417-10.2987 3.853v6.6634c0 .8238.672172 1.491 1.50212 1.491H19.4757c.8278 0 1.5021-.6672 1.5021-1.4889v-5.3762c-3.0626.4291-11.05299 2.3942-15.0709 4.0654z"/>\n    <path fill="#111116" d="M49.8834 9.20813h-4.1778V23.4724h4.1778zM27.049 23.4681v-2.3363l9.6978-13.46401v-.27674h-9.5314V3.66248h15.7712v2.33411L33.4551 19.4628v.2767h9.8124v3.7264H27.049zm25.8386 0V2.96521h4.1627V23.4681zm7.1777 0V2.96521h4.1627V23.4681zm6.0302-7.1246c0-4.5824 3.1685-7.55371 7.9666-7.55371 4.7982 0 7.9667 2.96911 7.9688 7.55151 0 4.6082-3.1966 7.5537-7.9666 7.5537-4.7701 0-7.9688-2.9691-7.9688-7.5515m11.7554 0c0-2.3599-1.5713-4.0268-3.7888-4.0268s-3.8147 1.6669-3.8147 4.0268c0 2.3598 1.5712 4.0546 3.8169 4.0546 2.2456 0 3.7866-1.6948 3.7866-4.0546m8.494 7.1246-4.314-14.24923h4.2297l2.9135 10.21393h.2788l2.5482-10.21393h4.1454l2.7449 10.21393h.281l2.8546-10.21393h4.118l-4.34 14.24923h-5.4078l-2.1851-9.433h-.2788l-2.157 9.433h-5.4336zM45.5586 5.16845c0-1.24.9294-2.1582 2.237-2.1582s2.2369.9182 2.2369 2.1582c0 1.23999-.9293 2.15819-2.2369 2.15819s-2.237-.89245-2.237-2.15819M112.218 23.4659V3.56799h9.117c4.474 0 7.474 2.50145 7.474 6.26649 0 3.34452-2.549 5.73232-6.031 5.98542h-.226l6.879 7.6438h-4.275l-6.4-7.3906h-2.972v7.3906h-3.568zm3.569-10.1732h5.295c2.548 0 4.191-1.3215 4.191-3.42819 0-2.1067-1.671-3.42822-4.191-3.42822h-5.295zm14.807 2.8662c0-4.3851 3.227-7.50436 7.729-7.50436s7.644 3.11926 7.644 7.53226c0 .3368 0 .7873-.028 1.1241h-12.032c.339 2.4736 2.125 4.0761 4.643 4.0761 1.869 0 3.425-.8989 4.219-2.3598l2.688 1.0104c-1.048 2.4736-3.709 3.9345-7.022 3.9345-4.586 0-7.843-3.2308-7.843-7.8132zm12.06-1.2078c-.367-2.1926-2.094-3.7093-4.418-3.7093-2.323 0-3.935 1.4889-4.331 3.7093zm5.777 8.5147V9.18866h3.199v1.91144h.283c1.048-1.57462 2.548-2.3877 4.331-2.3877 3.482 0 5.775 2.5572 5.775 6.0992v8.6563h-3.226v-8.4032c0-2.0788-1.217-3.5698-3.314-3.5698-2.096 0-3.851 1.6025-3.851 3.765v8.2059h-3.199zm17.669-4.0761v-7.8132h-2.181V9.18872h2.237l.679-4.60815h2.492l-.028 4.60815h3.51v2.38778h-3.51v7.6716c0 1.2636.793 2.1647 2.094 2.1647.396 0 1.076-.0837 1.586-.2253v2.3877c-.737.2532-1.783.3926-2.548.3926-2.632 0-4.331-1.8256-4.331-4.5802zm8.918.3668c0-2.613 2.237-4.385 6.596-4.8892l3.568-.3926v-.562c0-1.6584-1.188-2.7267-3.227-2.7267-1.869 0-3.114.9267-3.086 2.5293h-3.171c0-3.0914 2.464-5.05868 6.286-5.05868 3.821 0 6.399 2.07878 6.399 5.33968v9.4716h-3.199v-1.9393h-.255c-.989 1.5467-2.632 2.3319-4.785 2.3319-3.086 0-5.124-1.6025-5.124-4.104zm10.164-1.8836v-1.1241l-3.51.3926c-2.52.281-3.51 1.2936-3.51 2.4456 0 1.1521 1.049 1.9394 2.775 1.9394 2.521 0 4.247-1.5468 4.247-3.6535zm6.625 5.5929V2.72485h3.227V23.4658zm5.777-4.8333h2.944c.028 1.7978 1.443 3.0077 3.823 3.0077 1.926 0 3.115-.7873 3.115-2.0788 0-1.5747-1.727-1.742-3.709-1.9673-2.661-.281-5.974-.871-5.974-4.2992 0-2.894 2.464-4.66392 6.088-4.66392 3.625 0 6.314 1.88362 6.314 4.86132h-3.031c-.028-1.5168-1.359-2.4736-3.313-2.4736-1.811 0-3.058.8152-3.058 2.0788 0 1.5468 1.839 1.6305 3.907 1.8836 2.689.309 5.862.9826 5.862 4.413 0 2.9219-2.349 4.6081-6.285 4.6081-4.219 0-6.683-1.9951-6.683-5.3676z"/>\n  </g>\n  <defs>\n    <clipPath id="a">\n      <path fill="#fff" d="M0 1h215v23H0z"/>\n    </clipPath>\n  </defs>'}}),signal:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path d="M3 10.6v2.8a1.1 1.1 0 0 0 1.1 1.1h1.5L9.4 18V6l-3.8 3.5H4.1A1.1 1.1 0 0 0 3 10.6Z"></path><path d="M12.4 7.6a5.4 5.4 0 0 1 0 8.8l1.1 1.5a7.3 7.3 0 0 0 0-11.8l-1.1 1.5Z"></path><path d="M16 4.6a9.6 9.6 0 0 1 0 14.8l1.1 1.5a11.5 11.5 0 0 0 0-17.8L16 4.6Z"></path>'}}),sliders:({className:e})=>
2(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path d="M3 7.2h8.2v1.9H3V7.2Zm12.6 0H21v1.9h-5.4V7.2Z"></path><circle cx="13.4" cy="8.15" r="2.7"></circle><path d="M21 15h-8.2v1.9H21V15Zm-12.6 0H3v1.9h5.4V15Z"></path><circle cx="10.6" cy="15.95" r="2.7"></circle>'}}),book:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path d="M11.1 5.6v13.2a3.4 3.4 0 0 0-2.3-1H4V4.6h4.1a3 3 0 0 1 3 1Z"></path><path d="M12.9 5.6v13.2a3.4 3.4 0 0 1 2.3-1H20V4.6h-4.1a3 3 0 0 0-3 1Z"></path>'}}),bolt:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path d="M13.4 2 4.2 14.1h5.7L8.6 22l9.2-12.1h-5.7L13.4 2Z"></path>'}}),lock:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",dangerouslySetInnerHTML:{__html:'<path d="M12 2a5 5 0 0 0-5 5v2.2h2.4V7a2.6 2.6 0 0 1 5.2 0v2.2H17V7a5 5 0 0 0-5-5Z"></path><path d="M6.2 10.4A1.4 1.4 0 0 0 4.8 11.8v8.8A1.4 1.4 0 0 0 6.2 22h11.6a1.4 1.4 0 0 0 1.4-1.4v-8.8a1.4 1.4 0 0 0-1.4-1.4H6.2Zm5.8 3.5a1.7 1.7 0 0 1 .9 3.15v1.55a.9.9 0 0 1-1.8 0v-1.55A1.7 1.7 0 0 1 12 13.9Z"></path>'}}),trophy:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",dangerouslySetInnerHTML:{__html:'<path d="M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0V4Z"></path><path d="M7 6H4.5a1 1 0 0 0-1 1c0 2 1.5 3.5 3.5 3.8M17 6h2.5a1 1 0 0 1 1 1c0 2-1.5 3.5-3.5 3.8"></path>'}}),magnifier:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",dangerouslySetInnerHTML:{__html:'<circle cx="10.5" cy="10.5" r="6.5"></circle><path d="m20 20-4.9-4.9"></path>'}}),monitor:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",dangerouslySetInnerHTML:{__html:'<rect x="3" y="4" width="18" height="13" rx="1.5"></rect><path d="M9 21h6M12 17v4"></path>'}}),"piggy-bank":({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",dangerouslySetInnerHTML:{__html:'<path d="M19 10c1 .3 2 .8 2 2s-1 1.7-2 2c-.4 2.6-2.9 4.5-6.5 4.5S6.4 16.8 6 14.2c-1.2-.5-2-1.6-2-3 0-1.8 1.3-3.2 3-3.8C8.1 6 10.2 5 12.5 5c3.3 0 6 2.2 6.5 5Z"></path><path d="M9.5 5.6V4h5v1.6M7.5 18.5V21M16.5 18.5V21"></path><path d="M10 8.5h4"></path>'}})};function op(e){return 1.8*e.duration.base}Object.keys(ou);var om=e.i(96451),oh=e.i(91307);function og({data:e,atom:t,statOverride:a,captionOverride:r}){var n,o,i,s,c;let d,u,p,m,h,g,f,y,v=e.emphasis??"normal",b=(0,T.useClientConfig)().theme.surfaces[v],x=(0,L.useArticleOverlay)();if("featured"!==v)return(0,l.jsx)(oh.PublishedCard,{data:e,atom:t});let w=t.atom_metadata,k=w.headline??t.article.title??e.headline,_=a??(n=k,o=w.insights,i=t.article.summary,s=function(e){if(e&&"object"==typeof e&&"summary"in e){let t=e.summary;if("string"==typeof t)return t}}(t.article.source_data),(d=of([n??"",...o??[],i??""]))||(s?of([s]):null)),j=function(e,t){if(!t)return e;let a=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=RegExp(`\\s*\\b(?:by|of|to|a|an|with)\\s+${a}`,"i"),n=e.replace(r,"");return n===e&&(n=e.replace(RegExp(`\\s*${a}`,"i"),"")),n.replace(/\s{2,}/g," ").replace(/\s+([.,;:])/g,"$1").trim()}(k,_),S=(u=(c=t).atom_metadata,(p=[]).push(`Published ${u.editorial_type??"Case study"}`),m=(Array.isArray(u.entities)?u.entities.filter(e=>"string"==typeof e):[]).filter(e=>"zillow rentals"!==e.toLowerCase()&&"zillow"!==e.toLowerCase()),h=(c.article.title??u.headline??"").toLowerCase(),(f=(g=m.find(e=>h.includes(e.toLowerCase())))??m[0]??null)&&f!==g&&!f.includes(" ")&&(f=null),f&&p.push(f),(y=("number"==typeof u.referenced_year?u.referenced_year:null)??function(e){if(!e)return null;let t=e.match(/^(\d{4})/);return t?Number(t[1]):null}(c.article.post_date))&&p.push(String(y)),p.join(" · ")),C=w.media_url??t.article.featured_image_url,I=C&&!C.startsWith("data:")?C:null,N=x.isAvailable;return(0,l.jsx)(om.SurfaceContextProvider,{contrast:b.contrast,children:(0,l.jsxs)("button",{type:"button",onClick:function(){if(N){(0,en.logTelemetry)("published-card-learn-more",{mode:"modal",atom_id:w.atom_id??t.id??null}),x.openArticle(t);return}e.href&&((0,en.logTelemetry)("published-card-learn-more",{mode:"external",href:e.href}),window.open(e.href,"_blank","noopener,noreferrer"))},"data-atom-kind":"published-card","data-zillow-card":"stat","data-emphasis":v,disabled:!N&&!e.href,style:{background:"var(--surface-featured-bg)",color:"var(--surface-featured-fg)",boxShadow:"var(--surface-featured-shadow)",borderRadius:"var(--radius-sm)","--surface-accent":"var(--surface-featured-accent)"},className:"group flex w-full flex-col overflow-hidden text-left disabled:cursor-default",children:[I?(0,l.jsx)("div",{className:"aspect-[16/9] w-full overflow-hidden",children:(0,l.jsx)("img",{src:I,alt:"",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.03]"})}):null,(0,l.jsxs)("div",{"data-card-text":"",style:{paddingTop:"var(--published-card-padding-top)",paddingRight:"var(--published-card-padding-right)",paddingBottom:"var(--published-card-padding-bottom)",paddingLeft:"var(--published-card-padding-left)"},children:[_?(0,l.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"flex-end",columnGap:"14px",rowGap:"4px"},children:[(0,l.jsx)("span",{"data-slot":"stat",style:{fontFamily:"var(--published-card-value-family)",fontSize:"var(--published-card-value-size)",fontWeight:"var(--published-card-value-we
2ight)",lineHeight:"var(--leading-none)",letterSpacing:"var(--published-card-value-tracking)",color:"var(--surface-featured-accent, #73E4F9)"},children:_}),r?(0,l.jsx)("span",{"data-slot":"stat-caption",style:{maxWidth:"16rem",paddingBottom:"5px",fontFamily:"var(--font-heading)",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-medium)",lineHeight:"var(--leading-meta)",color:"var(--surface-featured-fg)"},children:r}):null]}):null,(0,l.jsx)("h3",{"data-slot":"title",style:{fontFamily:"var(--published-card-title-family)",fontSize:"var(--published-card-title-size)",fontWeight:"var(--published-card-title-weight)",lineHeight:"var(--published-card-title-line-height)",letterSpacing:"var(--published-card-title-tracking)",marginTop:_?"16px":0,marginBottom:0},children:j}),S?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{"data-slot":"divider",style:{height:"1px",marginTop:"24px",background:"color-mix(in srgb, var(--surface-featured-fg) 22%, transparent)"}}),(0,l.jsx)("div",{"data-slot":"meta",style:{marginTop:"16px",fontFamily:"var(--font-sans)",fontSize:"var(--published-card-meta-size)",fontWeight:"var(--published-card-meta-weight)",letterSpacing:"var(--tracking-cta)",textTransform:"uppercase",color:"var(--surface-featured-fg)"},children:S})]}):null]})]})})}function of(e){let t=/\d[\d,.]*\s?%/g,a=/\d+(?:\.\d+)?\s?[xX]\b/,r=null,n=null;for(let o of e){for(let e of o.matchAll(t)){let t=e[0].replace(/\s+/g,""),a=parseFloat(t.replace(/[,%]/g,""));Number.isFinite(a)&&(!r||a>r.value)&&(r={raw:t,value:a})}if(!n){let e=o.match(a);e&&(n=e[0].replace(/\s+/g,"").toUpperCase())}}return r?.raw??n}function oy(){let e=!1;return{arm(){e=!0},subscribe(){let t=()=>{e=!0};return window.addEventListener(nk.PERSONA_SWITCH_EVENT,t),()=>window.removeEventListener(nk.PERSONA_SWITCH_EVENT,t)},consume(){let t=e;return e=!1,t}}}let ov=oy();function ob(){return ov.subscribe()}let ox=oy();function ow(){return ox.subscribe()}var ok=e.i(99250),o_=e.i(88291),oj=e.i(5195),oS=e.i(35107),oC=e.i(50802),oI=e.i(17960),oN=e.i(25181),oA=e.i(94755);let oE=new Set;function oT(e){return oE.add(e),()=>{oE.delete(e)}}function oP(){for(let e of oE)e()}var oz=e.i(30384),oR=e.i(13986),oL=e.i(60636),oO=e.i(63683);let oM="landing_page__hero";function oH({content:e}){return(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal"},atomId:"zillow_hero_recommendation",parentSectionId:oM,slots:{media:(0,l.jsx)(oL.Image,{data:{src:e.image.src,alt:e.image.alt,ratio:"2:1"},atomId:"zillow_hero_recommendation_media"}),badge:(0,l.jsx)(oR.EyebrowBadge,{data:{text:e.badge,variant:"solid"},atomId:"zillow_hero_recommendation_badge"}),header:(0,l.jsx)("div",{style:{"--headline-size":"var(--type-h2)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.title,level:3},atomId:"zillow_hero_recommendation_title"})}),body:(0,l.jsx)("div",{style:{"--prose-size":"var(--type-body-sm)","--stack-gap":"18px"},children:(0,l.jsxs)(oI.Stack,{data:{gap:"sm"},atomId:"zillow_hero_recommendation_body",children:[(0,l.jsx)(nX.Prose,{data:{markdown:e.why},atomId:"zillow_hero_recommendation_why"}),(0,l.jsx)(oO.List,{data:{title:null,items:[...e.bullets],marker:"check",size:"body-sm"},atomId:"zillow_hero_recommendation_bullets"})]})}),action:(0,l.jsx)("div",{className:"mt-[22px]",style:{"--button-width":"100%"},children:(0,l.jsx)(ok.Button,{data:{href:e.cta.href,label:e.cta.label,style:"primary"},atomId:"zillow_hero_recommendation_cta",parentSectionId:oM})})}})}var oD=e.i(18835),oq=e.i(25748),oW=e.i(96505),o$=e.i(51469),oU=e.i(72491);function oF(e){return`queen:persona-picker-tip:v1:${e}`}function oB(e){try{window.sessionStorage.setItem(oF(e),"dismissed")}catch{}}let oG=(0,l.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M12 2l2 6.2L20 10l-6 1.8L12 18l-2-6.2L4 10l6-1.8L12 2Zm7 12l1.2 3.6L24 19l-3.8 1.4L19 24l-1.2-3.6L14 19l3.8-1.4L19 14Z"})});function oK({getTarget:e,onDismiss:t,theme:a,headline:r,text:n,placement:o="auto"}){let i=(0,eu.useRef)(null),s=(0,eu.useRef)(null),[c,d]=(0,eu.useState)(null),[u,p]=(0,eu.useState)(null),{tokens:m}=(0,M.useBrandMotion)();return((0,eu.useLayoutEffect)(()=>{let t=i.current;if(!t)return;let a=!1,r=()=>{let r=e();if(!r)return;let n=r.getBoundingClientRect();p(n.width);let i={width:"above"===o?n.width:t.offsetWidth,height:t.offsetHeight},s=function(e,t,a,r=!1){let n=e.left-t.width-18;if(!r&&n>8)return{left:n,top:Math.max(16,e.top+36),arrow:"right",neededScroll:0};let o=e.left+e.width/2-t.width/2,i=Math.max(8,Math.min(a.width-t.width-8,o)),s=e.top-t.height-18,l=Math.max(16,s);return{left:i,top:l,arrow:"bottom",neededScroll:l-s}}(n,i,{width:window.innerWidth,height:window.innerHeight},"above"===o);if(d(s),!a&&s.neededScroll>0){a=!0;let e=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",t=(0,M.findScrollContainer)(r);t instanceof HTMLElement?t.scrollTo({top:t.scrollTop-s.neededScroll,behavior:e}):window.scrollTo({top:window.scrollY-s.neededScroll,behavior:e})}};r(),window.addEventListener("resize",r),window.addEventListener("scroll",r,{passive:!0,capture:!0});let n=e(),s=n?.closest(".bare-chat-dock-shell")??n,l=new ResizeObserver(r);return s&&l.observe(s),()=>{window.removeEventListener("resize",r),window.removeEventListener("scroll",r,{capture:!0}),l.disconnect()}},[e,o]),(0,eu.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t]),(0,oA.useGSAP)(()=>{let e=s.current,t=i.current;if(!t||!c)return;let a=M.gsap.matchMedia();return a.add("(prefers-reduced-motion: no-preference)",()=>{e&&M.gsap.from(e,{opacity:0,duration:m.duration.fast,ease:m.ease.standard,clearProps:"opacity"}),M.gsap.from(t,{opacity:0,y:10,duration:m.duration.base,ease:m.ease.enter,clearProps:"opacity,transform"})}),()=>a.revert()},{dependencies:[m,null!==c]}),"u"<typeof document)?null:(0,o$.createPortal)((0,l.jsx)("div",{style:{...(0,z.buildThemeStyle)(a),...(0,E.buildComponentStyle)(a.componentStyles),fontFamily:"var(--font-sans)"},children:(0,l.jsxs)(om.SurfaceContextProvider,{contrast:"light",children:[(0,l.jsx)("div",{ref:s,onClick:t,"aria-hidden":"true",className:"fixed inset-0 z-[var(--z-modal)] backdrop-blur-[2px] bg-[color:var(--color-overlay-scrim)]"}),(0,l.jsxs)("div",{ref:i,role:"status",className:"fixed rounded-[var(--radius-sm)] p-4",style:{left:c?.left??-9999,to
2p:c?.top??-9999,visibility:c?"visible":"hidden",..."above"===o?{width:u??void 0}:{maxWidth:295},zIndex:"calc(var(--z-modal) + 1)",background:"var(--color-bg)",color:"var(--color-fg)",boxShadow:"var(--shadow-elevated)"},children:[c?(0,l.jsx)("span",{"aria-hidden":"true",className:"absolute h-3 w-3 rotate-45",style:{background:"var(--color-bg)",..."right"===c.arrow?{right:"-6px",top:"50%",marginTop:"-6px"}:{bottom:"-6px",left:"50%",marginLeft:"-6px"}}}):null,(0,l.jsxs)("div",{className:"mb-1.5 flex items-center gap-2",style:{"--label-size":"var(--type-overline)","--label-tracking":"var(--tracking-eyebrow-tight)",color:"var(--color-brand-500)"},children:[oG,(0,l.jsx)(nJ.Label,{data:{text:r},atomId:"zillow-tour-tip-eyebrow"})]}),(0,l.jsx)("div",{style:{"--subhead-size":"var(--type-body-sm)","--subhead-line-height":"var(--leading-body)","--subhead-weight":"var(--font-weight-default)"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:n},atomId:"zillow-tour-tip-body"})})]})]})}),document.body)}function oV({content:e}){let{brandId:t,theme:a}=(0,T.useClientConfig)(),{personas:r,switchPersona:n}=(0,R.useActivePersona)(),{closeFlow:o}=(0,F.useGuidedFlow)(),i=a.surfaces.announcement,s=(0,eu.useRef)(null),{step:c,dismiss:d}=function(e){let[t,a]=(0,eu.useState)("hidden"),r=(0,eu.useRef)([]);return(0,eu.useEffect)(()=>{if(!function(e){try{return"dismissed"===window.sessionStorage.getItem(oF(e))}catch{return!1}}(e))return r.current=[setTimeout(()=>a("card"),1600),setTimeout(()=>a("chat"),5100),setTimeout(()=>{a("hidden"),oB(e)},8600)],()=>{for(let e of r.current)clearTimeout(e)}},[e]),(0,eu.useEffect)(()=>{if("chat"!==t)return;let e=document.querySelector(".bare-chat-dock-shell");if(e)return e.style.zIndex="calc(var(--z-modal) + 1)",()=>{e.style.zIndex=""}},[t]),(0,eu.useEffect)(()=>{if("chat"!==t)return;let e=document.getElementById(oD.CHAT_TRACKING_IDS.input),a=document.querySelector(".planner-expand");return a&&(a.style.maxHeight="0px"),e?.focus(),()=>{e?.blur(),a&&(a.style.maxHeight="")}},[t]),{step:t,dismiss:()=>{for(let e of r.current)clearTimeout(e);a("hidden"),oB(e)}}}(t),u=(0,eu.useCallback)(()=>s.current,[]),p=(0,eu.useCallback)(()=>document.getElementById(oD.CHAT_TRACKING_IDS.input),[]);return(0,eu.useEffect)(()=>{if("card"!==c)return;let e=s.current;if(!e)return;let t=e.getBoundingClientRect();if(t.top>=0&&t.bottom<=window.innerHeight)return;let a=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",r=(0,M.findScrollContainer)(e),n=e.getBoundingClientRect().top;if(!(r instanceof HTMLElement))return void window.scrollTo({top:n+window.scrollY,behavior:a});let o=r.getBoundingClientRect().top;r.scrollTo({top:r.scrollTop+(n-o),behavior:a})},[c]),(0,l.jsxs)(om.SurfaceContextProvider,{contrast:i.contrast,children:[(0,l.jsx)("div",{ref:s,"data-atom-kind":"hero-persona-picker",style:{background:"var(--surface-announcement-bg)",color:"var(--surface-announcement-fg)",boxShadow:"var(--surface-announcement-shadow)",borderRadius:"var(--radius-sm)",position:"relative",zIndex:"card"===c?"calc(var(--z-modal) + 1)":void 0},className:"px-[18px] py-4 md:px-[30px] md:py-[26px]",children:(0,l.jsx)(oW.PersonaOptionsCard,{surface:"hero",headline:e.headline,subhead:e.subhead,options:e.options,onSelect:e=>{(0,oq.applyPersonaChoice)(t,e,{switchPersona:n,closeFlow:o,personas:r})},onSelectStart:()=>{oP(),d()}})}),"card"===c&&(0,l.jsx)(oK,{getTarget:u,onDismiss:d,theme:a,headline:"Make it yours",text:"Tell us what you manage — one click and this page rebuilds around your portfolio."}),"chat"===c&&(0,l.jsx)(oK,{getTarget:p,onDismiss:d,theme:a,headline:"Ask anything",text:"Pricing, tools, timelines — instant answers, no forms. Try this one.",placement:"above"})]})}var oZ=e.i(73107);function oY({data:e,atomId:t}){return(0,l.jsx)("div",{"data-atom-kind":"stat-row","data-atom-id":t,className:"flex items-stretch rounded-[var(--radius-xs)] border px-[var(--stat-row-padding-x,var(--space-6))] py-[var(--stat-row-padding-y,var(--space-md))]",style:{background:"var(--color-bg)",borderColor:"var(--color-border)",boxShadow:"var(--shadow-flat)"},children:e.stats.map((e,a)=>(0,l.jsxs)("div",{className:"contents",children:[a>0?(0,l.jsx)("span",{"aria-hidden":"true",className:"shrink-0 self-stretch",style:{width:"1px",marginInline:"var(--stat-row-padding-x,var(--space-6))",background:"var(--color-border)"}}
2):null,(0,l.jsxs)("div",{className:"flex flex-1 flex-col gap-[var(--space-sm)]",children:[(0,l.jsx)("span",{"data-slot":"value",className:"block text-[length:var(--stat-row-value-size,var(--type-display))] font-[var(--font-weight-heavy)] tracking-[var(--tracking-display)] leading-[var(--leading-none)]",style:{fontFamily:"var(--font-display)",color:"var(--color-brand-500)"},children:e.value}),(0,l.jsxs)("p",{"data-slot":"caption",className:"text-[length:var(--type-body-sm)] font-[var(--font-weight-default)] leading-[var(--leading-relaxed)]",style:{color:"var(--color-fg-muted)"},children:[e.caption,null!=e.citation?(0,l.jsx)(oZ.CitationMark,{data:{number:e.citation,href:null,sizePx:null},atomId:`${t}_citation_${a}`}):null]})]})]},a))})}let oJ="var(--section-gutter, var(--space-lg, 32px))",oX="max-sm:[--section-gutter:16px]",oQ="var(--color-bg-subtle, #F7F7F7)",o0={maxWidth:"var(--width-lg, 1024px)",marginInline:"auto",padding:`var(--section-inner-padding, 0 ${oJ})`},o1="max-sm:[--section-inner-padding:0]",o2="https://www.zillowstatic.com/bedrock/app/uploads/sites/51/2025/12/Quote-dark.svg",o5="[--headline-size:var(--type-h1)] max-sm:[--headline-size:var(--type-h2)]",o4={background:"radial-gradient(640px 320px at 88% -8%, color-mix(in srgb, var(--surface-featured-accent, var(--color-accent-500)) 16%, transparent), transparent 62%),radial-gradient(560px 300px at -6% 108%, color-mix(in srgb, var(--color-brand-500) 45%, transparent), transparent 60%)"};function o3(e){return{background:`var(--surface-${e}-bg)`,color:`var(--surface-${e}-fg)`,"--surface-accent":`var(--surface-${e}-accent)`,"--surface-fg-muted":`var(--surface-${e}-fg-muted, var(--color-fg-muted))`}}let o6={heading:"Unlock content made for you",line:"Click a topic to unlock",subline:"That's all it takes — they open right here.",gatedGroupLabel:"Choose a topic to unlock these resources",editorGroupLabel:"Topics you can add",unlockedForLabel:"Unlocked for",editLabel:"Add topics"},o8="landing_page__hero",o7=o3("subtle"),o9={background:"var(--surface-announcement-bg)",color:"var(--surface-announcement-fg)","--surface-accent":"var(--surface-announcement-accent)","--surface-fg-muted":"var(--surface-announcement-fg-muted, var(--color-fg-muted))"};function ie({content:e}){let t=void 0!==e.personaBadge,{clearPersona:a}=(0,R.useActivePersona)(),{tokens:r}=(0,M.useBrandMotion)(),n=(0,eu.useRef)(null);return!function(e,t){let{tokens:a,named:r}=(0,M.useBrandMotion)(),n=(0,eu.useRef)(null);(0,oA.useGSAP)(()=>{null===n.current&&(n.current=ov.consume());let o=e.current;if(!n.current||!o)return;let i=t?r["persona-hero-entrance"]:r["persona-hero-recompose-in"];if(!i)return;let s=M.gsap.matchMedia();s.add("(prefers-reduced-motion: reduce)",()=>{M.gsap.set(o.querySelectorAll("[data-hero-rise]"),{opacity:1,y:0,filter:"none",scale:1})}),s.add("(prefers-reduced-motion: no-preference)",()=>{i(o,a)})},{scope:e,dependencies:[t,r,a]})}(n,t),!function(e){let{tokens:t,named:a}=(0,M.useBrandMotion)();(0,eu.useEffect)(()=>{let r=e.current;if(!r)return;let n=a["persona-hero-recompose-out"];if(!n)return;let o=null,i=oT(()=>{M.gsap.matchMedia().add("(prefers-reduced-motion: no-preference)",()=>{let e=n(r,t);o=setTimeout(()=>{r.isConnected&&e.reverse()},Math.round(2*t.duration.base*1e3)+400)})});return()=>{i(),o&&clearTimeout(o)}},[a,e,t])}(n),(0,l.jsx)("section",{ref:n,id:`section-${o8}`,"data-section":o8,style:{...t?o9:o7,paddingInline:oJ,paddingBlockEnd:"88px",paddingBlockStart:"calc(var(--hero-banner-top-pad, calc(var(--personalization-banner-offset, 80px) + 16px)))"},className:`scroll-mt-36 [--split-gap:52px] max-sm:[--hero-banner-top-pad:16px] max-sm:[--split-gap:20px] ${oX}`,children:(0,l.jsx)("div",{style:o0,className:o1,children:(0,l.jsxs)(oC.Split,{data:{ratio:"1:1",gap:"xl"},atomId:"zillow_hero_split",children:[(0,l.jsx)(o_.Hero,{data:{recipe:"persona-confirmed",emphasis:"normal"},atomId:"zillow_hero",parentSectionId:o8,className:"flex h-full flex-col items-stretch justify-center md:items-start",slots:{eyebrow:e.personaBadge?(0,l.jsx)(om.SurfaceContextProvider,{contrast:"dark",children:(0,l.jsxs)("div",{"data-hero-rise":!0,className:"mb-3.5 flex items-center gap-2",style:{"--label-size":"var(--type-overline)","--label-tracking":"var(--tracking-eyebrow-tight)","--label-color":"var(--surface-announcement-accent)","--surface-fg-muted":"var(--surface-announcement-fg-muted, var(--color-fg-muted))"}
2,children:[(0,l.jsx)(nJ.Label,{data:{text:e.personaBadge},atomId:"zillow_hero_persona_badge"}),(0,l.jsx)(nQ.Button,{variant:"bare",type:"button",onClick:()=>{oP(),setTimeout(()=>{ov.arm(),ox.arm(),a()},Math.round(1e3*op(r)))},className:"cursor-pointer bg-transparent p-0 uppercase tracking-[var(--tracking-eyebrow-tight)] underline decoration-1 underline-offset-[3px] transition-colors",style:{fontFamily:"var(--font-body)",fontSize:"var(--type-overline)",fontWeight:"var(--font-weight-emphasis, 700)",color:"var(--surface-fg-muted)",border:"none"},children:"Change"})]})}):void 0,header:(0,l.jsx)("div",{"data-hero-rise":!0,style:{"--headline-size":"var(--type-hero)","--headline-size-mobile":"var(--type-h1)",...t?{"--surface-accent":"var(--surface-announcement-accent)"}:{}},children:(0,l.jsx)(om.SurfaceContextProvider,{contrast:t?"dark":"light",children:(0,l.jsx)(nY.Headline,{data:{text:e.headline,level:1},atomId:"zillow_hero_headline"})})}),body:e.stats?(0,l.jsx)("div",{"data-hero-rise":!0,className:"mb-8 mt-5 [--stat-row-padding-y:13px] [--stat-row-padding-x:15px] [--stat-row-value-size:var(--type-h1)] md:[--stat-row-padding-y:var(--space-md)] md:[--stat-row-padding-x:20px] md:[--stat-row-value-size:var(--type-hero)]",children:(0,l.jsx)(oY,{data:{stats:[...e.stats]},atomId:"zillow_hero_stats"})}):e.proofTile?(0,l.jsxs)("div",{"data-hero-rise":!0,className:"mb-6 mt-5 rounded-[var(--radius-xs)] border p-4",style:{background:"var(--color-bg)",borderColor:"var(--color-border)",boxShadow:"var(--shadow-raised)",fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},children:[(0,l.jsx)("span",{style:{color:"var(--surface-accent)",fontWeight:"var(--font-weight-emphasis)"},children:e.proofTile.lead})," ",(0,l.jsx)("span",{style:{color:"var(--color-fg-body, var(--color-fg))",fontWeight:"var(--font-weight-medium)"},children:e.proofTile.rest})]}):e.body?(0,l.jsx)("div",{"data-hero-rise":!0,className:"mb-8 mt-5",style:{"--prose-fg":"var(--color-fg-body, var(--color-fg))","--prose-line-height":"var(--leading-body)"},children:(0,l.jsx)(nX.Prose,{data:{markdown:e.body},atomId:"zillow_hero_body"})}):void 0,action:e.ctas.length>0?(0,l.jsx)("div",{"data-hero-rise":!0,className:"[--button-padding-y:15px] [--button-padding-x:28px]",style:{"--button-weight":"var(--font-weight-emphasis)"},children:(0,l.jsx)(oI.Stack,{data:{gap:"sm"},atomId:"zillow_hero_cta_stack",children:(0,l.jsx)("div",{className:e.ctas.length>1?"flex flex-col gap-2 [&>*]:w-full md:flex-row md:items-center md:[&>*]:w-auto":"flex flex-col [&>*]:w-full md:flex-row md:items-center md:[&>*]:w-auto",children:e.ctas.map((e,t)=>(0,l.jsx)("div",{className:"contents",style:"secondary"===e.style?{"--button-fg":"var(--color-fg)"}:void 0,children:(0,l.jsx)(ok.Button,{data:{href:e.href,label:e.label,style:e.style},atomId:`zillow_hero_cta_${t}`,parentSectionId:o8})},e.label))})})}):void 0}}),e.personaPicker?(0,l.jsx)(oV,{content:e.personaPicker}):e.recommendation?(0,l.jsx)("div",{"data-hero-rise":!0,children:(0,l.jsx)(oH,{content:e.recommendation})}):e.feedSlug?(0,l.jsx)(it,{slug:e.feedSlug,stat:e.feedStat,caption:e.feedStatCaption}):e.feed?(0,l.jsx)(I.PublishedFeed,{envelope:e.feed}):null]})})})}function it({slug:e,stat:t,caption:a}){let r=(0,oN.useArticleBySlug)(e);if("loading"===r.status)return(0,l.jsx)(oS.PublishedComponentSkeleton,{kind:"published-card",emphasis:"featured"});if("error"===r.status)return null;let n=(0,oj.projectAtomToPublishedCard)(r.atom,"featured");return n?(0,l.jsx)(og,{data:n,atom:r.atom,statOverride:t,captionOverride:a}):null}function ia(){let e=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{let e=document.getElementById(`section-${o8}`);if(!e)return;let t=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",a=(0,M.findScrollContainer)(e),r=e.getBoundingClientRect().top;if(!(a instanceof HTMLElement))return void window.scrollTo({top:r+window.scrollY,behavior:t});let n=a.getBoundingClientRect().top;a.scrollTo({top:a.scrollTop+(r-n),behavior:t})})})};return window.addEventListener(nk.PERSONA_SWITCH_EVENT,e),()=>window.removeEventListener(nk.PERSONA_SWITCH_EVENT,e)}var ir=e.i(96101);function io({as:e,dataAtomKind:t,atomId:a,dataSize:r,style:n,className:o,wrapInParagraph:i,paragraphClassName:s,text:c,mark:d}){let u=(0,l.jsxs)(l.Fragment,{children:[c,(0,l.jsx)(oZ.CitationMark,{data:d,atomId:`${a}_mark`})]});return(0,l.jsx)(e,{"data-atom-kind":t,"data-atom-id":a,"data-size":r,style:n,className:o,children:i?(0,l.jsx)("p",{className:s,children:u}):u})}let ii="landing_page__stats",is={background:"var(--surface-featured-bg)",color:"var(--surface-featured-fg)","--surface-accent":"var(--surface-featured-accent)","--surface-fg-muted":"var(--surface-featured-fg-muted, var(--color-fg-muted))"},il={"--headline-weight":"var(--font-weight-heavy)"},ic={"--headline-line-height":"var(--leading-none)","--headline-weight":"var(--font-weight-heavy)"},id={"--subhead-size":"var(--type-body-sm)"};function iu({content:e}){let t=(0,eu.useRef)(null);!function(e){let{tokens:t,named:a}=(0,M.useBrandMotion)();(0,eu.useEffect)(()=>{let r=e.current;if(!r)return;let n=a["stats-recompose-out"];if(!n)return;let o=null,i=oT(()=>
2{M.gsap.matchMedia().add("(prefers-reduced-motion: no-preference)",()=>{let e=n(r,t);o=setTimeout(()=>{r.isConnected&&e.reverse()},Math.round(2*t.duration.base*1e3)+400)})});return()=>{i(),o&&clearTimeout(o)}},[a,e,t])}(t),function(e){let{tokens:t,named:a}=(0,M.useBrandMotion)(),r=(0,eu.useRef)(null);(0,oA.useGSAP)(()=>{null===r.current&&(r.current=ox.consume());let n=e.current;if(!r.current||!n)return;let o=a["stats-recompose-in"];if(!o)return;let i=M.gsap.matchMedia();i.add("(prefers-reduced-motion: reduce)",()=>{M.gsap.set(n.querySelectorAll("[data-stats-rise]"),{opacity:1,scale:1,filter:"none"})}),i.add("(prefers-reduced-motion: no-preference)",()=>{o(n,t)})},{scope:e,dependencies:[a,t]})}(t);let{contrast:a}=(0,T.useClientConfig)().theme.surfaces.featured;return(0,l.jsxs)("section",{ref:t,id:`section-${ii}`,"data-section":ii,"data-toc-label":e.heading,style:{...is,paddingInline:oJ,paddingBlock:"64px"},className:`relative overflow-hidden scroll-mt-36 ${oX}`,children:[(0,l.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",style:o4}),(0,l.jsx)(om.SurfaceContextProvider,{contrast:a,children:(0,l.jsxs)("div",{style:o0,className:`relative ${o1}`,children:[(0,l.jsx)("div",{className:`text-center ${o5}`,style:il,children:(0,l.jsx)(nY.Headline,{data:{text:e.heading,level:2},atomId:"zillow_stats_heading"})}),(0,l.jsx)("div",{className:"mt-[var(--space-lg,32px)] [--grid-tpl-narrow:repeat(2,minmax(0,1fr))]",children:(0,l.jsx)(ir.Grid,{data:{cols:4,gap:"lg"},atomId:"zillow_stats_grid",children:e.stats.map((e,t)=>(0,l.jsxs)("div",{"data-stats-rise":!0,className:"flex flex-col items-center gap-2 text-center",children:[(0,l.jsx)("div",{className:"[--headline-size:var(--type-hero)] max-sm:[--headline-size:var(--type-display)]",style:ic,children:(0,l.jsx)(nY.Headline,{data:{text:`**${e.value}**`,level:3},atomId:`zillow_stats_value_${t}`})}),(0,l.jsx)("div",{style:id,children:null!=e.citationKey?(0,l.jsx)(io,{as:"div",dataAtomKind:"subhead",atomId:`zillow_stats_label_${t}`,style:{fontSize:"var(--subhead-size)",color:"var(--subhead-fg, inherit)"},className:"font-[var(--subhead-weight)] leading-[var(--subhead-line-height)]",wrapInParagraph:!0,text:e.label,mark:{number:e.citationKey,href:null,sizePx:null}}):(0,l.jsx)(oU.Subhead,{data:{markdown:e.label},atomId:`zillow_stats_label_${t}`})})]},e.label))})})]})})]})}var ip=e.i(69459),im=e.i(84979),ih=e.i(64788);let ig="landing_page__compare",iy={"accent-1":{"--badge-bg":"var(--color-chip-accent-1-bg, #D2E9CA)","--badge-fg":"var(--color-chip-accent-1-fg, #355E27)"},"accent-2":{"--badge-bg":"var(--color-chip-accent-2-bg, #F2DEAA)","--badge-fg":"var(--color-chip-accent-2-fg, #614A0F)"},"accent-3":{"--badge-bg":"color-mix(in srgb, var(--color-brand-500) 13%, var(--color-bg))","--badge-fg":"var(--color-brand-500)"}},iv={background:oQ,borderRadius:"var(--radius-sm)"},ib={maxWidth:"var(--width-md, 720px)","--section-header-heading-size":"clamp(var(--type-h2), 2.8vw, var(--type-h1))","--section-header-subheading-size":"var(--type-h4)"},ix={"--button-border-color":"var(--color-border)"},iw={"--button-width":"100%"},ik={marginBottom:"var(--space-lg, 24px)"},i_={"--subhead-size":"var(--type-body-sm)","--subhead-strong-weight":"var(--font-weight-emphasis)"};function ij({content:e}){return(0,l.jsx)("section",{id:`section-${ig}`,"data-section":ig,"data-toc-label":e.tocLabel??e.heading,style:{background:oQ,paddingInline:oJ,paddingBlock:"72px"},className:`scroll-mt-36 ${oX}`,children:(0,l.jsxs)("div",{style:o0,className:o1,children:[(0,l.jsx)("div",{style:ib,children:(0,l.jsx)(ih.SectionHeader,{heading:e.heading,subheading:e.subheading})}),(0,l.jsx)("div",{className:"mt-[var(--section-header-content-gap,var(--space-md,16px))]",style:{"--grid-gap":"20px"},children:(0,l.jsx)(ir.Grid,{data:{cols:3,gap:"md"},atomId:"zillow_compare_grid",children:e.plans.map((e,t)=>{let a={eyebrow:(0,l.jsx)("span",{style:iy[e.chipColor],children:(0,l.jsx)(oR.EyebrowBadge,{data:{text:e.chip,variant:"neutral"},atomId:`zillow_compare_chip_${t}`})}),header:(0,l.jsx)(nY.Headline,{data:{text:e.title,level:3},atomId:`zillow_compare_title_${t}`}),body:(0,l.jsxs)(oI.Stack,{data:{gap:"sm"},atomId:`zillow_compare_body_${t}`,children:[(0,l.jsx)(nX.Prose,{data:{markdown:e.for,size:"body-sm"},atomId:`zillow_compare_for_${t}`}),(0,l.jsx)("div",{style:iv,className:"px-4 py-3",children:(0,l.jsxs)(oI.Stack,{data:{gap:"xs"},atomId:`zillow_compare_price_block_${t}`,children:[(0,l.jsx)("div",{style:i_,children:(0,l.jsx)(oU.Subhead,{data:{markdown:`**${e.price.headline}**`},atomId:`zillow_compare_price_${t}`})}),(0,l.jsx)(ip.Meta,{data:{text:e.price.caption},atomId:`zillow_compare_price_caption_${t}`})]})}),(0,l.jsx)("div",{style:ik,children:(0,l.jsx)(oO.List,{data:{title:null,items:[...e.features],marker:"check",size:"body-sm"},atomId:`zillow_compare_features_${t}`})})]}),action:(0,l.jsx)("div",{className:"w-full",style:"secondary"===e.cta.style?{...iw,...ix}:iw,children:(0,l.jsx)(ok.Button,{data:{href:e.cta.href,label:e.cta.label,style:e.cta.style},atomId:`zillow_compare_cta_${t}`,trackingId:e.ctaId,parentSectionId:ig})})};return(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal"}
2,atomId:`zillow_compare_card_${t}`,parentSectionId:ig,slots:a},e.title)})})}),(0,l.jsx)(im.CanvasAnchor,{sectionId:ig,Skeleton:nZ.ComponentSkeleton})]})})}var iS=e.i(35132),iC=e.i(34464),iI=e.i(46805),iN=e.i(22590),iA=e.i(20765);let iE="landing_page__toolkit";function iT(e,{min:t,max:a}){return({1:"@md:grid-cols-1",2:"@md:grid-cols-2",3:"@md:grid-cols-3",4:"@md:grid-cols-4"})[Math.min(Math.max(e,t),a)]??"@md:grid-cols-2"}let iP={"--prose-fg":"var(--color-fg-body, var(--color-fg))"},iz={"--prose-fg":"var(--color-fg-muted)"},iR={"--headline-weight":"var(--font-weight-heavy)"},iL={"--headline-size":"var(--type-overline)","--headline-weight":"var(--font-weight-emphasis)","--headline-tracking":"var(--tracking-label)","--headline-line-height":"var(--leading-none)"},iO={"--label-color":"var(--color-fg-muted)","--label-size":"var(--type-caption)"},iM={"--label-tracking":"var(--tracking-eyebrow)"},iH={"--headline-weight":"var(--font-weight-heavy)"};function iD({cards:e,activeIndex:t,onNavigate:a,onClose:r}){let n=e[t],o=n?.detail;return o?(0,l.jsx)(iA.BrandedModal,{open:!0,onOpenChange:e=>{e||r()},title:o.title,description:o.lede,modal:!1,zIndex:"compose-modal",style:{top:"var(--cm-top)",maxHeight:"calc(100dvh - var(--cm-top) - var(--cm-dock) - 12px)",translate:"-50% 0"},className:"flex w-[min(95vw,1040px)] flex-col overflow-hidden p-0",hideCloseButton:!0,children:(0,l.jsx)(iq,{cards:e,activeIndex:t,onNavigate:a,onClose:r})}):null}function iq({cards:e,activeIndex:t,onNavigate:a,onClose:r}){let n=e[t],o=n?.detail,i=(0,eu.useRef)(null),[s,c]=(0,eu.useState)(!1);if((0,eu.useEffect)(()=>{i.current&&(i.current.scrollTop=0),c(!0);let e=setTimeout(()=>c(!1),220);return()=>clearTimeout(e)},[t]),!o)return null;let d=e[(t-1+e.length)%e.length],u=d?.detail&&d!==n?d:void 0,p=e[(t+1)%e.length],m=p?.detail&&p!==n?p:void 0,h=o.steps??[],g=h.length>0,f=iT(h.length>3?2:h.length,{min:1,max:3}),y=o.proof??[],v=y.length>0,b=iT(y.length,{min:2,max:3}),x=y.filter(e=>null!=e.citationText),w=x.length>0,k=o.bulletsBandItems??[],_=k.length>0,j=iT(k.length,{min:2,max:4}),S=o.packages??[],C=S.length>0,I=o.faqItems??[],N=I.length>0;return(0,l.jsxs)("div",{"data-toolkit-detail-modal":!0,className:"relative flex min-h-0 flex-1 flex-col",children:[(0,l.jsx)(iW,{onClick:r}),(0,l.jsxs)("div",{ref:i,className:"@container min-h-0 flex-1 overflow-y-auto",children:[(0,l.jsx)("div",{className:"px-[18px] pb-[22px] pt-6 [@media(max-width:900px)]:pt-[18px] @md:px-7 @md:pb-7",children:s?(0,l.jsx)(nZ.ComponentSkeleton,{state:"pending"}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex flex-nowrap items-end justify-between gap-x-7 gap-y-4 [@media(max-width:900px)]:flex-wrap [@media(max-width:900px)]:justify-start",children:[(0,l.jsxs)("div",{className:"min-w-0 flex-1 basis-[380px] [@media(max-width:900px)]:min-w-full",children:[(0,l.jsx)("div",{className:"mb-[10px]",style:iM,children:(0,l.jsx)(nJ.Label,{data:{text:o.eyebrow},atomId:"zillow_toolkit_detail_eyebrow"})}),(0,l.jsx)("div",{className:"mb-2 [--headline-size:var(--type-h2)] [@media(max-width:900px)]:[--headline-size:var(--type-h1)]",style:iR,children:(0,l.jsx)(nY.Headline,{data:{text:o.title,level:2},atomId:"zillow_toolkit_detail_title"})}),(0,l.jsx)("div",{className:"max-w-[58ch] [--prose-size:var(--type-body-sm)] [@media(max-width:900px)]:[--prose-size:var(--type-body)]",style:iP,children:(0,l.jsx)(nX.Prose,{data:{markdown:o.lede},atomId:"zillow_toolkit_detail_lede"})})]}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,l.jsx)(ok.Button,{data:{label:o.cta.label,href:o.cta.href,style:"primary"},atomId:"zillow_toolkit_detail_cta",parentSectionId:iE}),o.secondaryCta?(0,l.jsx)(ok.Button,{data:{label:o.secondaryCta.label,href:o.secondaryCta.href,style:"ghost-primary"},atomId:"zillow_toolkit_detail_secondary_cta",parentSectionId:iE}):null]})]}),(0,l.jsx)(i$,{}),v?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{style:iO,children:(0,l.jsx)(nJ.Label,{data:{text:o.proofLabel??""},atomId:"zillow_toolkit_detail_proof_label"})}),(0,l.jsx)("div",{className:`mt-4 grid grid-cols-1 gap-4 ${b}`,children:y.map((e,t)=>(0,l.jsx)(iK,{item:e,index:t,citationMark:null!=e.citationText?x.indexOf(e)+1:void 0},e.value))}),(0,l.jsx)(i$,{})]}):null,g?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{style:iO,children:(0,l.jsx)(nJ.Label,{data:{text:o.stepsLabel??""},atomId:"zillow_toolkit_detail_steps_label"})}),(0,l.jsx)("div",{className:`mt-4 grid grid-cols-1 gap-4 ${f}`,children:h.map((e,t)=>(0,l.jsx)(iB,{step:e,index:t},e.title))}),(0,l.jsx)(i$,{})]}):null,(0,l.jsx)("div",{style:iO,children:(0,l.jsx)(nJ.Label,{data:{text:o.rowsLabel},atomId:"zillow_toolkit_detail_rows_label"})}),o.rowsIntro?(0,l.jsx)("div",{className:"mb-[6px] max-w-[70ch]",style:iP,children:(0,l.jsx)(nX.Prose,{data:{markdown:o.rowsIntro,size:"body-sm"},atomId:"zillow_toolkit_detail_rows_intro"})}):null,(0,l.jsx)("div",{className:"mt-2 flex flex-col",children:o.rows.map((e,t)=>(0,l.jsx)(i6,{row:e,index:t},e.title))}),_?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i$,{}),(0,l.jsx)("div",{style:iO,children:(0,l.jsx)(nJ.Label,{data:{text:o.bulletsBandLabel??""},atomId:"zillow_toolkit_detail_bullets_band_label"})}),(0,l.jsx)("div",{className:`mt-4 grid grid-cols-1 gap-4 ${j}`,children:k.map((e,t)=>(0,l.jsx)(iZ,{item:e,index:t},e.title))})]}):null,C?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i$,{}),(0,l.jsx)("div",{style:iO,children:(0,l.jsx)(nJ.Label,{data:{text:o.packagesLabel??""},atomId:"zillow_toolkit_detail_packages_label"})}),(0,l.jsx)("div",{className:"mt-4 grid grid-cols-3 gap-4 [@media(max-width:900px
2)]:grid-cols-1",children:S.map((e,t)=>(0,l.jsx)(i3,{pkg:e,index:t,cta:o.packagesCta},e.name))})]}):null,N?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i$,{}),(0,l.jsx)("div",{style:iO,children:(0,l.jsx)(nJ.Label,{data:{text:o.faqLabel??""},atomId:"zillow_toolkit_detail_faq_label"})}),(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(iI.AccordionPanel,{data:{items:[...I],emphasis:"normal"},atomId:"zillow_toolkit_detail_faq_panel"})})]}):null,o.quote?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i$,{}),(0,l.jsx)("div",{style:iO,children:(0,l.jsx)(nJ.Label,{data:{text:o.quote.label??"In their words"},atomId:"zillow_toolkit_detail_quote_label"})}),(0,l.jsx)(i8,{quote:o.quote})]}):null,(0,l.jsxs)("div",{className:"mt-[30px] flex flex-col items-center justify-center gap-4 pt-[26px] @md:flex-row",style:{borderTop:"1px solid var(--color-border)"},children:[(0,l.jsx)(ok.Button,{data:{label:o.cta.label,href:o.cta.href,style:"primary"},atomId:"zillow_toolkit_detail_cta_end",parentSectionId:iE}),o.secondaryCta?(0,l.jsx)(ok.Button,{data:{label:o.secondaryCta.label,href:o.secondaryCta.href,style:"ghost-primary"},atomId:"zillow_toolkit_detail_secondary_cta_end",parentSectionId:iE}):null]}),w?(0,l.jsx)("div",{className:"mt-5 pt-4",style:{borderTop:"1px solid var(--color-border)"},children:(0,l.jsx)(iN.SourceList,{data:{heading:null,variant:"footnotes",entries:x.map((e,t)=>({number:t+1,text:`${e.value}: ${e.citationText}`,href:null}))},atomId:"zillow_toolkit_detail_sources"})}):null,o.note?(0,l.jsx)("div",{className:"mt-4",style:iz,children:(0,l.jsx)(nX.Prose,{data:{markdown:o.note,size:"meta"},atomId:"zillow_toolkit_detail_note"})}):null]})}),(0,l.jsx)(i7,{previous:u,next:m,onPrevious:()=>a((t-1+e.length)%e.length),onNext:()=>a((t+1)%e.length)})]})]})}function iW({onClick:e}){let[t,a]=(0,eu.useState)(!1);return(0,l.jsx)("button",{type:"button",onClick:e,onPointerDown:()=>a(!0),onPointerUp:()=>a(!1),onPointerLeave:()=>a(!1),onPointerCancel:()=>a(!1),"aria-label":"Close",className:`absolute right-7 top-3 z-10 flex h-8 w-8 flex-none cursor-pointer items-center justify-center rounded-full border border-[color:var(--color-border)] bg-[color:var(--color-bg-subtle)] text-[length:var(--type-meta)] text-[color:var(--color-fg-muted)] transition-colors hover:border-[color:var(--color-fg)] hover:bg-[color:var(--color-fg)] hover:text-[color:var(--color-primary-on)] active:border-[color:var(--color-fg)] active:bg-[color:var(--color-fg)] active:text-[color:var(--color-primary-on)] focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:color-mix(in_srgb,var(--surface-accent,var(--color-brand-500))_45%,transparent)] focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--color-bg)] ${t?"border-[color:var(--color-fg)] bg-[color:var(--color-fg)] text-[color:var(--color-primary-on)]":""}`,children:(0,l.jsx)("span",{"aria-hidden":"true",children:"✕"})})}function i$(){return(0,l.jsx)("div",{className:"mt-[26px] pt-6",style:{borderTop:"1px solid var(--color-border)"}})}let iU={"--headline-size":"var(--type-body-sm)","--headline-line-height":"var(--leading-none)"},iF={"--headline-size":"var(--type-h4)"};function iB({step:e,index:t}){return e.icon?(0,l.jsxs)("div",{className:"flex flex-col items-start rounded-[var(--radius-sm)] border border-[color:var(--color-border)] bg-[color:var(--color-bg)] px-5 pb-6 pt-[22px]",children:[(0,l.jsx)("div",{className:"mb-4 flex h-14 w-14 items-start justify-start rounded-[var(--radius-sm)]",style:{background:oQ},children:(0,l.jsx)(oL.Image,{data:{src:e.icon.src,alt:e.icon.alt,size:"sm"},atomId:`zillow_toolkit_detail_step_icon_${t}`})}),(0,l.jsx)("div",{style:iF,children:(0,l.jsx)(nY.Headline,{data:{text:e.title,level:4},atomId:`zillow_toolkit_detail_step_title_${t}`})}),e.body?(0,l.jsx)("div",{className:"mt-2",style:iP,children:(0,l.jsx)(nX.Prose,{data:{markdown:e.body,size:"body-sm"},atomId:`zillow_toolkit_detail_step_body_${t}`})}):null]}):(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center gap-[9px]",style:iU,children:[(0,l.jsx)("span",{"aria-hidden":!0,className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-[length:var(--type-meta)] font-[var(--font-weight-emphasis)] leading-none",style:{background:"color-mix(in srgb, var(--color-brand-500) 15%, transparent)",color:"var(--color-brand-500)"},children:t+1}),(0,l.jsx)(nY.Headline,{data:{text:e.title,level:4},atomId:`zillow_toolkit_detail_step_title_${t}`})]}),e.body?(0,l.jsx)("div",{className:"mt-2 pl-[33px]",style:iP,children:(0,l.jsx)(nX.Prose,{data:{markdown:e.body,size:"body-sm"},atomId:`zillow_toolkit_detail_step_body_${t}`})}):null]})}let iG={"--headline-size":"var(--type-h3)","--headline-line-height":"var(--leading-none)"};function iK({item:e,index:t,citationMark:a}){return(0,l.jsxs)("div",{className:"p-4",style:{background:oQ,borderRadius:"var(--radius-xs)"},children:[(0,l.jsx)("div",{style:iG,children:(0,l.jsx)(nY.Headline,{data:{text:`**${e.value}**`,level:4},atomId:`zillow_toolkit_detail_proof_value_${t}`})}),(0,l.jsx)("div",{className:"mt-2",style:iP,children:null!=a?(0,l.jsx)(io,{as:"div",dataAtomKind:"prose",atomId:`zillow_toolkit_detail_proof_body_${t}`,dataSize:"meta",style:{fontFamily:"var(--prose-family)",fontSize:"var(--type-meta)",color:"var(--prose-fg, var(--color-fg-body, var(--color-fg-muted)))",lineHeight:"var(--prose-line-height)"},wrapInParagraph:!0,paragraphClassName:"mb-2 last:mb-0",text:e.body,mark:{number:a,href:null,sizePx:null}}):(0,l.jsx)(nX.Prose,{data:{markdown:e.body,size:"meta"},atomId:`zillow_toolkit_detail_proof_body_${t}`})})]})}let iV={"--headline-line-height":"var(--leading-none)"};function iZ({item:e,index:t}){return(0,l.jsxs)("div",{className:"p-4",style:{background:oQ,borderRadius:"var(--radius-xs)"},children:[(0,l.jsx)("div",{style:iV,children:(0,l.jsx)(nY.Headline,{data:{text:e.title,level:4},atomId:`zillow_toolkit_detail_bullet_title_${t}`})}),(0,l.jsx)("div",{className:"mt-2",style:iP,children:(0,l.jsx)(nX.Prose,{data:{markdown:e.body,size:"body-sm"},atomId:`zillow_toolkit_detail_bullet_body_${t}`})})]})}let iY={"--headline-weight":"var(--font-weight-heavy)"},iJ={"--button-size":"var(--type-meta)","--button-padding-x":"14px","--button-padding-y":"9px","--l
2ink-weight":"var(--font-weight-emphasis)"},iX={"--list-gap":"10px","--list-item-gap":"10px","--list-item-line-height":"1.45",color:"var(--color-fg)"},iQ="rounded-[var(--radius-sm)] border border-[color:var(--color-border)] bg-[color:var(--color-bg)] px-5 py-[22px]";function i0({pkg:e,index:t}){return(0,l.jsxs)("div",{className:"mb-3 flex items-center gap-3",children:[(0,l.jsx)("span",{"aria-hidden":!0,className:"inline-flex h-10 w-10 flex-none items-center justify-center rounded-[var(--radius-chip)]",style:{background:"var(--surface-featured-bg)",color:"var(--surface-featured-accent, #73E4F9)"},children:(0,l.jsx)(se,{name:e.icon,className:"h-[22px] w-[22px]"})}),(0,l.jsx)("div",{style:iY,children:(0,l.jsx)(nY.Headline,{data:{text:e.name,level:3},atomId:`zillow_toolkit_detail_package_name_${t}`})})]})}function i1({pkg:e,index:t}){return(0,l.jsx)("div",{className:"mb-[10px]",style:iP,children:(0,l.jsx)(nX.Prose,{data:{markdown:e.intro,size:"body-sm"},atomId:`zillow_toolkit_detail_package_intro_${t}`})})}function i2({pkg:e,index:t}){return(0,l.jsx)("div",{className:"mb-3",style:iP,children:(0,l.jsx)(nX.Prose,{data:{markdown:`*Includes everything in the **${e.includes}** package, plus:*`,size:"body-sm"},atomId:`zillow_toolkit_detail_package_includes_${t}`})})}function i5({pkg:e,index:t,className:a}){return(0,l.jsx)("div",{className:a,style:iX,children:(0,l.jsx)(oO.List,{data:{title:null,items:[...e.features],marker:"check",size:"body-sm"},atomId:`zillow_toolkit_detail_package_features_${t}`})})}function i4({cta:e,index:t,className:a}){return(0,l.jsx)("div",{className:a,style:{...iJ,borderTopColor:"color-mix(in srgb, var(--color-border) 50%, var(--color-bg))"},children:e?(0,l.jsx)(ok.Button,{data:{label:e.label,href:e.href,style:"primary"},atomId:`zillow_toolkit_detail_package_cta_${t}`,parentSectionId:iE}):null})}function i3({pkg:e,index:t,cta:a}){return e.wide?(0,l.jsxs)("div",{className:`${iQ} col-span-full flex flex-row items-start gap-9 [@media(max-width:900px)]:flex-col [@media(max-width:900px)]:items-stretch [@media(max-width:900px)]:gap-0`,style:{boxShadow:"var(--shadow-flat)"},children:[(0,l.jsxs)("div",{className:"flex shrink-0 grow-0 basis-[300px] flex-col [@media(max-width:900px)]:contents",children:[(0,l.jsx)(i0,{pkg:e,index:t}),(0,l.jsx)(i1,{pkg:e,index:t}),(0,l.jsx)(i4,{cta:a,index:t,className:"mt-4 flex flex-wrap items-center gap-3 [@media(max-width:900px)]:order-2 [@media(max-width:900px)]:mt-[18px] [@media(max-width:900px)]:border-t [@media(max-width:900px)]:pt-4"})]}),(0,l.jsx)("div",{className:"min-w-0 flex-1 [@media(max-width:900px)]:order-1",children:(0,l.jsx)(i5,{pkg:e,index:t,className:"mt-0.5"})})]}):(0,l.jsxs)("div",{className:`${iQ} flex flex-col`,style:{boxShadow:"var(--shadow-flat)"},children:[(0,l.jsx)(i0,{pkg:e,index:t}),(0,l.jsx)(i1,{pkg:e,index:t}),e.includes?(0,l.jsx)(i2,{pkg:e,index:t}):null,(0,l.jsx)(i5,{pkg:e,index:t,className:"mb-[18px] mt-0.5"}),(0,l.jsx)(i4,{cta:a,index:t,className:"mt-auto flex flex-wrap items-center gap-3 border-t pt-4"})]})}function i6({row:e,index:t}){return(0,l.jsxs)("div",{className:`grid grid-cols-2 items-center gap-x-9 gap-y-6 py-[26px] [@media(max-width:900px)]:grid-cols-1${t%2==1?" [&>*:first-child]:order-2 [@media(max-width:900px)]:[&>*:first-child]:order-none":""}${t>0?" border-t":""}`,style:t>0?{borderColor:"var(--color-border)"}:void 0,children:[(0,l.jsx)("div",{children:(0,l.jsx)(oL.Image,{data:{src:e.image,alt:e.imageAlt,ratio:e.imageRatio??"4:3"},atomId:`zillow_toolkit_detail_row_image_${t}`})}),(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("div",{className:"mb-2",style:iH,children:(0,l.jsx)(nY.Headline,{data:{text:e.title,level:3},atomId:`zillow_toolkit_detail_row_title_${t}`})}),e.body?(0,l.jsx)("div",{className:"max-w-[46ch]",style:iP,children:(0,l.jsx)(nX.Prose,{data:{markdown:e.body,size:"body-sm"},atomId:`zillow_toolkit_detail_row_body_${t}`})}):null,e.bullets?(0,l.jsx)(oO.List,{data:{title:null,items:[...e.bullets],marker:"check"},atomId:`zillow_toolkit_detail_row_bullets_${t}`}):null]})]})}function i8({quote:e}){return(0,l.jsx)("div",{className:"mt-8 flex flex-col p-8",style:{background:"var(--surface-featured-bg)",color:"var(--surface-featured-fg)",borderRadius:"var(--radius-sm)",boxShadow:"var(--surface-featured-shadow)","--surface-accent":"var(--surface-featured-accent)","--surface-fg-muted":"var(--surface-featured-fg-muted, var(--color-fg-muted))"},children:(0,l.jsxs)(om.SurfaceContextProvider,{contrast:"dark",children:[(0,l.jsx)("div",{className:"mb-5 flex",style:{filter:"brightness(0) invert(1)"},children:(0,l.jsx)(oL.Image,{data:{src:o2,alt:"",size:"sm"},atomId:"zillow_toolkit_detail_quote_glyph"})}),(0,l.jsx)(nX.Prose,{data:{markdown:e.quote},atomId:"zillow_toolkit_detail_quote"}),(0,l.jsxs)("div",{className:"mt-5",children:[(0,l.jsx)(oU.Subhead,{data:{markdown:`**${e.name}**`},atomId:"zillow_toolkit_detail_quote_name"}),(0,l.jsx)("div",{style:{"--subhead-fg":"var(--surface-fg-muted)"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:e.role},atomId:"zillow_toolkit_detail_quote_role"})})]})]})})}function i7({previous:e,next:t,onPrevious:a,onNext:r}){return e||t?(0,l.jsxs)("div",{className:"flex items-stretch [@media(max-width:900px
2)]:sticky [@media(max-width:900px)]:bottom-0 [@media(max-width:900px)]:z-10",style:{background:"var(--color-bg)",borderTop:"1px solid var(--color-border)"},children:[e?(0,l.jsx)(i9,{card:e,direction:"previous",onClick:a,bordered:!!t}):null,t?(0,l.jsx)(i9,{card:t,direction:"next",onClick:r,bordered:!1}):null]}):null}function i9({card:e,direction:t,onClick:a,bordered:r}){let n="next"===t,o=e.detail?.eyebrow??e.title,i={};r&&(n?i.borderLeft="1px solid var(--color-border)":i.borderRight="1px solid var(--color-border)");let[s,c]=(0,eu.useState)(!1);return(0,l.jsxs)("button",{type:"button",onClick:a,...{onPointerDown:()=>c(!0),onPointerUp:()=>c(!1),onPointerLeave:()=>c(!1),onPointerCancel:()=>c(!1)},className:`group flex h-16 min-w-0 flex-1 basis-0 cursor-pointer items-center gap-[10px] px-5 py-3 text-left transition-colors hover:bg-[color-mix(in_srgb,var(--color-brand-500)_10%,var(--color-bg))] active:bg-[color-mix(in_srgb,var(--color-brand-500)_10%,var(--color-bg))] ${s?"bg-[color-mix(in_srgb,var(--color-brand-500)_10%,var(--color-bg))]":""}${n?" flex-row-reverse":""}`,style:i,children:[(0,l.jsx)("span",{"aria-hidden":!0,className:`inline-flex h-[38px] w-[38px] shrink-0 items-center justify-center rounded-full border border-[color:var(--color-border)] bg-[color:var(--color-bg)] text-[color:var(--color-fg)] transition-colors group-hover:border-[color:var(--color-brand-500)] group-hover:bg-[color:var(--color-brand-500)] group-hover:text-[color:var(--color-button-text)] group-active:border-[color:var(--color-brand-500)] group-active:bg-[color:var(--color-brand-500)] group-active:text-[color:var(--color-button-text)] ${s?"border-[color:var(--color-brand-500)] bg-[color:var(--color-brand-500)] text-[color:var(--color-button-text)]":""}`,children:(0,l.jsx)(se,{name:"chevron",className:`h-4 w-4${n?"":" rotate-180"}`})}),(0,l.jsxs)("span",{className:`min-w-0${n?" text-right":""}`,children:[(0,l.jsx)("div",{className:"leading-none @md:mb-0.5 [--label-color:var(--color-fg)] [--label-size:var(--type-overline)] [--label-tracking:var(--tracking-label-wide)] @md:[--label-color:var(--color-fg-muted)] @md:[--label-size:var(--type-micro)] @md:[--label-tracking:var(--tracking-label-tight)]",children:(0,l.jsx)(nJ.Label,{data:{text:n?"Up next":"Previous"},atomId:`zillow_toolkit_detail_nav_${t}_label`})}),(0,l.jsx)("div",{className:"hidden truncate uppercase leading-none @md:block",style:iL,children:(0,l.jsx)(nY.Headline,{data:{text:o,level:4},atomId:`zillow_toolkit_detail_nav_${t}_title`})})]})]})}function se({name:e,className:t}){let a=ou[e];return a?(0,l.jsx)(a,{className:t}):null}let st="landing_page__toolkit",sa=()=>{},sr={"--headline-size":"clamp(var(--type-h2), 2.8vw, var(--type-h1))","--headline-weight":"var(--font-weight-heavy)"},sn={"--prose-fg":"var(--color-fg-body, var(--color-fg))","--prose-size":"var(--type-h4)","--prose-measure":"68ch"},so={"--grid-gap":"16px","--icon-radius":"var(--radius-xxs)","--link-weight":"var(--font-weight-medium)"};function si({content:e}
2){let[t,a]=(0,eu.useState)(null);return(0,l.jsxs)("section",{id:`section-${st}`,"data-section":st,"data-toc-label":e.heading.replace(/\*\*/g,""),style:{background:"var(--color-bg, #fff)",paddingInline:oJ,paddingBlock:"56px"},className:`scroll-mt-36 ${oX}`,children:[(0,l.jsxs)("div",{style:o0,className:o1,children:[(0,l.jsx)("div",{className:"mb-[14px]",style:sr,children:(0,l.jsx)(nY.Headline,{data:{text:e.heading,level:2},atomId:"zillow_toolkit_heading"})}),(0,l.jsx)("div",{className:"mb-[34px]",style:sn,children:(0,l.jsx)(nX.Prose,{data:{markdown:e.body},atomId:"zillow_toolkit_body"})}),(0,l.jsx)("div",{className:"mb-[30px] [&_[data-grid-inner]]:!grid-cols-[repeat(auto-fit,minmax(min(100%,200px),1fr))]",style:so,children:(0,l.jsx)(ir.Grid,{data:{cols:Math.max(1,e.cards.length),gap:"md"},atomId:"zillow_toolkit_grid",children:e.cards.map((e,t)=>{let r={media:e.image?(0,l.jsx)("img",{src:e.image.src,alt:e.image.alt,loading:"lazy",decoding:"async",className:"h-16 w-auto object-contain"}):e.icon?(0,l.jsx)(iS.Icon,{data:{name:e.icon,size:"lg"},atomId:`zillow_toolkit_icon_${t}`}):null,header:(0,l.jsx)(nY.Headline,{data:{text:e.title,level:3},atomId:`zillow_toolkit_title_${t}`}),body:(0,l.jsx)("div",{style:{"--prose-line-height":"var(--leading-body)","--prose-fg":"var(--color-fg-body, var(--color-fg))"},children:(0,l.jsx)(nX.Prose,{data:{markdown:e.body,size:"body-sm"},atomId:`zillow_toolkit_card_body_${t}`})}),action:(0,l.jsx)(iC.Link,{data:{label:e.linkLabel,size:"meta"},atomId:`zillow_toolkit_link_${t}`})};return(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal"},atomId:`zillow_toolkit_card_${t}`,parentSectionId:st,slots:r,onActivate:e.detail?()=>a(t):sa},e.title)})})}),(0,l.jsx)("div",{className:"[--button-padding-y:15px] [--button-padding-x:28px]",style:{"--button-weight":"var(--font-weight-emphasis)"},children:(0,l.jsx)(oI.Stack,{data:{gap:"sm"},atomId:"zillow_toolkit_cta_stack",children:(0,l.jsx)("div",{className:e.ctas.length>1?"flex flex-row items-stretch gap-2 [&>*+*]:flex-1 md:items-center md:[&>*+*]:flex-none":"flex flex-col [&>*]:w-full md:flex-row md:items-center md:[&>*]:w-auto",children:e.ctas.map((e,t)=>(0,l.jsx)(ok.Button,{data:{href:e.href,label:e.label,style:e.style},atomId:`zillow_toolkit_cta_${t}`,parentSectionId:st},e.label))})})})]}),null!==t?(0,l.jsx)(iD,{cards:e.cards,activeIndex:t,onNavigate:a,onClose:()=>a(null)}):null]})}let ss="landing_page__brand_video",sl={"--label-size":"var(--type-overline)","--label-tracking":"var(--tracking-eyebrow)"},sc={"--headline-line-height":"var(--leading-tight)"},sd={"--button-size":"var(--type-body-sm)","--button-weight":"var(--font-weight-emphasis)","--button-bg-hover":"color-mix(in srgb, var(--color-brand-500) 14%, var(--color-bg, #fff))","--button-fg-hover":"var(--color-button-hover)"};function su({content:e}
2){let[t,a]=(0,eu.useState)(!1);function r(){(0,en.logTelemetry)("zillow-landlord-video-clicked",{video:e.youtubeId}),a(!0)}return(0,l.jsxs)("section",{id:`section-${ss}`,"data-section":ss,"data-toc-label":e.heading.replace(/\*\*/g,""),style:{background:"color-mix(in srgb, var(--color-brand-500) 7%, var(--color-bg, #fff))",paddingInline:oJ,paddingBlock:"48px"},className:`scroll-mt-36 md:[padding-block:88px] ${oX}`,children:[(0,l.jsx)("div",{style:o0,className:o1,children:(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-[1.45fr_1fr] md:items-center md:gap-16",children:[(0,l.jsx)(sp,{content:e,onPlay:r}),(0,l.jsx)(sm,{content:e,onPlay:r})]})}),t?(0,l.jsx)(iA.BrandedModal,{open:!0,onOpenChange:a,title:e.title,hideCloseButton:!0,className:"!w-[min(94vw,980px)] !p-0 !overflow-hidden",children:(0,l.jsxs)("div",{className:"relative",style:{aspectRatio:"16 / 9",background:"#000"},children:[(0,l.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${e.youtubeId}?rel=0`,title:e.title,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"}),(0,l.jsx)("button",{type:"button","aria-label":"Close",onClick:()=>a(!1),className:"absolute right-3 top-3 z-10 inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-full border border-[color:var(--color-border)] bg-[color:var(--color-bg-subtle)] text-[length:var(--type-meta)] text-[color:var(--surface-fg-muted,var(--color-fg-muted))] transition hover:bg-[color:var(--color-fg)] hover:text-[color:var(--color-bg)] focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:color-mix(in_srgb,var(--surface-accent,var(--color-brand-500))_45%,transparent)] focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--color-bg)]",children:(0,l.jsx)("span",{"aria-hidden":"true",children:"✕"})})]})}):null]})}function sp({content:e,onPlay:t}){return(0,l.jsx)("button",{type:"button",onClick:t,"aria-haspopup":"dialog","aria-label":`Play video: ${e.title}`,className:"group order-2 block w-full cursor-pointer border-0 bg-transparent p-0 text-left md:order-1",children:(0,l.jsx)("span",{className:"box-border block w-full rounded-[14px] p-[14px] motion-safe:transition-transform motion-safe:duration-200 motion-safe:ease-out motion-safe:group-hover:-translate-y-0.5",style:{background:"var(--surface-featured-bg)",boxShadow:"var(--shadow-elevated)"},children:(0,l.jsxs)("span",{className:"relative block overflow-hidden rounded-[8px]",style:{aspectRatio:"16 / 9",background:"#000"},children:[(0,l.jsx)("span",{className:"absolute inset-0 motion-safe:transition-transform motion-safe:duration-[460ms] motion-safe:[transition-timing-function:cubic-bezier(0.22,0.85,0.32,1)] motion-safe:group-hover:scale-[1.03]",children:(0,l.jsx)(oL.Image,{data:{src:`https://img.youtube.com/vi/${e.youtubeId}/maxresdefault.jpg`,alt:e.thumbnailAlt,ratio:"16:9"},atomId:"zillow_landlord_video_thumb"})}),(0,l.jsx)("span",{"aria-hidden":!0,className:"absolute left-1/2 top-1/2 flex h-[52px] w-[52px] -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full motion-safe:transition-transform motion-safe:duration-200 motion-safe:ease-out motion-safe:group-hover:scale-[1.06] md:h-16 md:w-16",style:{background:"var(--color-accent-500)",color:"var(--color-button-hover)",boxShadow:"0 8px 24px color-mix(in srgb, var(--color-fg) 22%, transparent)"},children:(0,l.jsx)(sh,{})})]})})})}function sm({content:e,onPlay:t}){return(0,l.jsxs)("div",{className:"order-1 md:order-2",children:[(0,l.jsx)("div",{style:sl,children:(0,l.jsx)(nJ.Label,{data:{text:e.eyebrow},atomId:"zillow_landlord_video_eyebrow"})}),(0,l.jsx)("div",{className:"mt-3 max-w-none [--headline-size:var(--type-display)] md:max-w-[14ch] max-sm:[--headline-size:var(--type-h2)]",style:{...sc,fontSize:"var(--type-display)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.heading,level:2},atomId:"zillow_landlord_video_heading"})}),(0,l.jsx)("div",{className:"mt-6 -ml-4",children:(0,l.jsx)(nQ.Button,{variant:"ghost-primary",type:"button","aria-haspopup":"dialog",onClick:t,className:"cursor-pointer",style:sd,children:e.ctaLabel})})]})}
2function sh(){return(0,l.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,className:"ml-[3px] h-[21px] w-[21px] md:h-[26px] md:w-[26px]",children:(0,l.jsx)("path",{d:"M8 5v14l11-7L8 5Z"})})}let sg="landing_page__info_network_reach";function sf({cta:e,atomId:t}){return"button"===e.variant?(0,l.jsx)(ok.Button,{data:{href:e.href,label:e.label,style:e.style??"primary"},atomId:t,parentSectionId:null}):(0,l.jsx)("div",{style:sy,children:(0,l.jsx)(ok.Button,{data:{label:e.label,style:"ghost-primary",action:{scroll:{section_id:e.sectionId}}},atomId:t,parentSectionId:null})})}let sy={"--button-padding-x":"0px","--button-padding-y":"0px","--button-min-h":"auto","--button-width":"auto","--button-weight":"var(--font-weight-emphasis)","--button-fg":"var(--surface-accent)"},sv={background:"var(--color-bg, #fff)",borderRadius:"var(--radius-md)",color:"var(--color-fg)"},sb={"--prose-fg":"var(--color-fg)"},sx={"--prose-fg":"var(--color-fg-muted)"},sw={borderRadius:"var(--radius-md)",overflow:"hidden"};function sk({image:e}){return(0,l.jsx)("div",{style:sw,className:`shadow-[var(--shadow-elevated)] ${e.cropTop?"[&_img]:object-[center_8%]":""}`,children:(0,l.jsx)(oL.Image,{data:{src:e.src,alt:e.alt,ratio:e.ratio??"16:9"},atomId:"zillow_info_image"})})}function s_({audience:e}){return(0,l.jsxs)("div",{style:sv,className:"p-7 shadow-[var(--shadow-elevated)]",children:[(0,l.jsx)("div",{style:sb,className:"mb-[18px]",children:(0,l.jsx)(nX.Prose,{data:{markdown:`**${e.title}**`,size:"body-sm"},atomId:"zillow_info_audience_title"})}),(0,l.jsx)("div",{className:"flex flex-col gap-[18px]",children:e.rows.map((e,t)=>(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"mb-2 flex justify-between gap-3 text-[length:var(--type-meta)] text-[color:var(--color-fg)]",children:[(0,l.jsx)("span",{className:"min-w-0",children:e.label}),(0,l.jsx)("span",{className:"shrink-0 whitespace-nowrap",children:e.value})]}),(0,l.jsx)("div",{className:"h-[26px] overflow-hidden rounded-[var(--radius-sm)]",style:{background:"var(--color-bg-subtle, #F7F7F7)"},children:(0,l.jsx)("div",{className:"h-full rounded-[var(--radius-sm)]",style:{width:`${e.fill}%`,background:0===t?"var(--color-brand-500)":"color-mix(in srgb, var(--color-brand-500) 30%, transparent)"}})})]},e.label))}),(0,l.jsx)("div",{style:sx,className:"mt-[10px]",children:(0,l.jsx)(nX.Prose,{data:{markdown:e.note,size:"meta"},atomId:"zillow_info_audience_note"})})]})}let sj=o3("featured"),sS={"--headline-size":"var(--type-display-xl)","--headline-weight":"var(--font-weight-heavy)","--headline-line-height":"var(--leading-snug)"},sC={"--headline-size":"var(--type-h1)"},sI={"--prose-fg":"var(--surface-fg-muted)"};function sN({content:e}){return(0,l.jsx)("section",{id:`section-${sg}`,"data-section":sg,"data-toc-label":e.tocLabel,style:{...sj,paddingInline:oJ,paddingBlock:"var(--space-xl, 64px)"},className:`scroll-mt-36 ${oX}`,children:(0,l.jsxs)("div",{style:o0,className:o1,children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 items-center gap-10 md:grid-cols-2 md:gap-16",children:[(0,l.jsx)(om.SurfaceContextProvider,{contrast:"dark",children:(0,l.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,l.jsx)("div",{style:sS,children:(0,l.jsx)(nY.Headline,{data:{text:e.stat,level:1},atomId:"zillow_info_stat"})}),(0,l.jsx)("div",{style:sC,children:null!=e.citationKey?(0,l.jsx)(io,{as:"h2",dataAtomKind:"headline",atomId:"zillow_info_headline",style:{fontFamily:"var(--headline-family)",lineHeight:"var(--headline-line-height)",fontWeight:"var(--headline-weight)",color:"inherit"},text:e.headline,mark:{number:e.citationKey,href:null,sizePx:11,valign:"super"}}):(0,l.jsx)(nY.Headline,{data:{text:e.headline,level:2},atomId:"zillow_info_headline"})}),e.subtext?(0,l.jsx)("div",{style:sI,children:(0,l.jsx)(nX.Prose,{data:{markdown:e.subtext,size:"body"},atomId:"zillow_info_subtext"})}):null,(0,l.jsx)("div",{className:"mt-1",children:(0,l.jsx)(sf,{cta:e.cta,atomId:"zillow_info_cta"})})]})}),e.image?(0,l.jsx)(sk,{image:e.image}):(0,l.jsx)(s_,{audience:e.audience})]}),(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(im.CanvasAnchor,{sectionId:sg,Skeleton:nZ.ComponentSkeleton})})]})})}var sA=e.i(23829),sE=e.i(32582);function sT(e){let t=e.article.slug;return"string"==typeof t&&t.length>0?t:e.atom_metadata.atom_id??""}function sP(e,t,a){let r=new Set,n=[];return t.forEach((t,o)=>{if(a.has(t.id))for(let t of e[o]??[]){let e=sT(t);r.has(e)||(r.add(e),n.push(t))}}),n}let sz="queen.zillow.resources.topics",sR=em.z.array(em.z.string()),sL=null,sO=new Map;function sM(e,t){return e.filter(e=>t.has(e.id))}var sH=e.i(50686);let sD={background:"var(--color-bg)",border:"1px solid color-mix(in oklab, var(--color-brand-500) 14%, transparent)",borderRadius:"var(--radius-lg)"},sq={background:"color-mix(in oklab, var(--color-bg) 91%, transparent)"},sW={background:"linear-gradient(180deg, transparent 0%, color-mix(in oklab, var(--color-brand-500) 11%, transparent) 100%)"},s$={"--headline-size":"var(--type-h2)"},sU={"--button-weight":"var(--font-weight-emphasis)","--button-border-color":"var(--color-brand-500)","--button-radius":"var(--radius-full)","--button-padding-x":"22px","--button-padding-y":"12px","--button-min-h":"48px"},sF={"--button-weight":"var(--font-weight-emphasis)","--button-border-color":"var(--color-brand-500)","--button-radius":"var(--radius-full)","--button-size":"var(--type-body-sm)","--button-padding-x":"12px","--button-padding-y":"6px"},sB={"--label-color":"var(--color-fg-muted)"},sG="max-[880px]:w-full";function sK({wrapRef:e,knobs:t,metricsClass:a="",stack:r=!1,pressed:n,exp
2anded:o,controls:i,label:s,onClick:c,children:d}){return(0,l.jsx)("span",{ref:e,className:(0,ec.cn)("inline-flex bg-[color:var(--color-bg)]",r&&sG),style:{borderRadius:"var(--radius-full, 9999px)"},children:(0,l.jsx)(nQ.Button,{type:"button",variant:n?"filled":"outlined","aria-pressed":n,"aria-expanded":o,"aria-controls":i,"aria-label":s,onClick:c,className:(0,ec.cn)("gap-2",sV,a,r&&sG),style:t,children:d})})}let sV="max-sm:[--button-min-h:44px] max-sm:[--pill-min-h:44px]",sZ="[--button-min-h:38px] [--pill-min-h:38px]",sY=new Set;function sJ({name:e,className:t}){let a=ou[e];return a?(0,l.jsx)(a,{className:t}):null}function sX({topics:e,selected:t,onToggle:a,groupLabel:r,variant:n,firstControlRef:o}){return(0,l.jsx)("div",{role:"group","aria-label":r,"data-zillow-topic-controls":n,className:(0,ec.cn)("flex flex-wrap items-center gap-2.5","gate"===n?"justify-center max-[880px]:flex-col max-[880px]:items-stretch":"justify-start"),children:e.map((e,r)=>{let i=t.has(e.id);return(0,l.jsxs)(sK,{wrapRef:0===r?o:void 0,pressed:i,onClick:()=>a(e.id),knobs:"gate"===n?sU:sF,metricsClass:"gate"===n?"":sZ,stack:"gate"===n,children:[(0,l.jsx)("span",{"aria-hidden":"true",children:(0,l.jsx)(sJ,{name:e.icon,className:"h-4 w-4"})}),e.label]},e.id)})})}function sQ({gate:e,topics:t,onToggle:a,previewCards:r,hasPreview:n,previewRestored:o,unlocking:i,onUnlockDone:s,firstControlRef:c}){let d=(0,eu.useRef)(null),u=(0,eu.useRef)(null),p=(0,eu.useRef)(null),m=(0,eu.useRef)(null),h=(0,eu.useRef)(s);return h.current=s,(0,eu.useEffect)(()=>{if(!i)return;if(window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return void h.current();let e=setTimeout(()=>h.current(),700);return()=>clearTimeout(e)},[i]),(0,oA.useGSAP)(()=>{if(!i)return;let e=M.gsap.matchMedia();return e.add("(prefers-reduced-motion: no-preference)",()=>{let e=M.gsap.timeline();return u.current&&e.to(u.current,{y:-18,opacity:0,duration:.3,ease:"power2.out"}),p.current&&e.to(p.current,{opacity:0,duration:.3,ease:"power2.out"},0),m.current&&e.fromTo(m.current,{xPercent:-120,opacity:0},{xPercent:120,opacity:1,duration:.46,ease:"power1.inOut"},.2),()=>e.kill()}),()=>e.revert()},{dependencies:[i],scope:d}),(0,l.jsxs)("div",{ref:d,className:"relative mt-8 overflow-hidden",style:sD,children:[(0,l.jsx)("div",{inert:!0,"aria-hidden":"true",className:`pointer-events-none absolute inset-0 select-none ${o?"":"motion-safe:transition-opacity motion-safe:duration-700"}`,style:{filter:"blur(13px) saturate(0.5) brightness(1.16)",transform:"scale(1.04)",opacity:+!!n},children:(0,l.jsx)("div",{className:"p-6",children:(0,l.jsx)(ir.Grid,{data:{cols:3,gap:"lg"},atomId:"zillow_resources_preview_grid",children:r})})}),(0,l.jsxs)("div",{ref:p,"aria-hidden":"true",className:"pointer-events-none absolute inset-0",children:[(0,l.jsx)("div",{className:"absolute inset-0",style:sq}),(0,l.jsx)("div",{className:"absolute inset-0",style:sW})]}),(0,l.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 overflow-hidden",children:(0,l.jsx)("div",{ref:m,className:"absolute inset-y-0 w-2/5 opacity-0",style:{background:"linear-gradient(100deg, transparent 0%, color-mix(in oklab, var(--color-bg) 88%, transparent) 50%, transparent 100%)"}})}),(0,l.jsxs)("div",{ref:u,className:"relative flex flex-col items-center gap-4 px-6 py-[72px] text-center max-sm:px-4 max-sm:py-12",children:[(0,l.jsx)("span",{"aria-hidden":"true","data-zillow-resources-lock":"",className:"inline-flex h-10 w-10 items-center justify-center text-[color:var(--color-brand-500)]",style:{background:"var(--color-bg)",borderRadius:"var(--radius-full, 999px)",boxShadow:"var(--shadow-elevated)"},children:(0,l.jsx)(sJ,{name:"lock",className:"h-[18px] w-[18px]"})}),(0,l.jsxs)("div",{className:"max-w-[620px]",style:s$,children:[(0,l.jsx)(nY.Headline,{data:{text:e.line,level:3},atomId:"zillow_resources_gate_line"}),(0,l.jsx)("div",{className:"mt-1.5",children:(0,l.jsx)(nX.Prose,{data:{markdown:e.subline,size:"body-sm"},atomId:"zillow_resources_gate_subline"})})]}),(0,l.jsx)("div",{className:"mt-3 w-full",children:(0,l.jsx)(sX,{topics:t,selected:sY,onToggle:a,groupLabel:e.gatedGroupLabel,variant:"gate",firstControlRef:c})})]})]})}function s0({gate:e,topics:t,selected:a,onToggle:r,editorOpen:n,onEditorToggle:o,editRef:i,firstControlRef:s}){let c=(0,eu.useId)(),d=t.filter(e=>a.has(e.id)),u=t.filter(e=>!a.has(e.id));return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mt-4 flex flex-wrap items-center gap-2.5",children:[(0,l.jsx)("span",{style:sB,children:(0,l.jsx)(nJ.Label,{data:{text:e.unlockedForLabel},atomId:"zillow_resources_unlocked_for"})}),d.map(e=>(0,l.jsx)(sH.Pill,{asChild:!0,style:{"--pill-size":"var(--type-body-sm)","--pill-hover-bg":"var(--color-brand-500)","--pill-hover-fg":"var(--color-primary-on)"},className:`gap-2 border-[color:var(--color-brand-500)] bg-[color:var(--color-brand-500)] font-[var(--font-weight-emphasis)] text-[color:var(--color-primary-on)] ${sV} ${sZ} min-h-[var(--pill-min-h,auto)]`,children:(0,l.jsxs)("span",{"data-zillow-resources-pill":e.id,children:[(0,l.jsx)("span",{"aria-hidden":"true",children:(0,l.jsx)(sJ,{name:e.icon,className:"h-4 w-4"})}),e.label,(0,l.jsx)(nQ.Button,{variant:"bare",type:"button",onClick:()=>r(e.id),"aria-label":`Remove ${e.label}`,className:"-mr-1 inline-flex h-6 w-6 items-center justify-center rounded-full text-[length:var(--type-body)] leading-none outline-none focus-visible:ring-1 focus-visible:ring-[color:var(--color-primary-on)] max-sm:h-11 max-sm:w-11",children:(0,l.jsx)("span",{"aria-hidden":"true",children:"×"})})]})},e.id)),u.length>0?(0,l.jsxs)(sK,{wrapRef:i,expanded:n,controls:c,onClick:o,knobs:sF,metricsClass:sZ,children:[(0,l.jsx)("span",{"aria-hidden":"true",className:(0,ec.cn)("inline-flex motion-safe:transition-transform motion-safe:duration-200",n&&"rotate-180"),children:(0,l.jsx)(sJ,{name:"select-chevron",className:"h-3.5 w-3.5"})}),e.editLabel]}):null]}),u.length>0?(0,l.jsx)("div",{id:c,className:"grid motion-safe:transition-[grid-template-rows] motion-safe:duration-300 motion-safe:ease-out",style:{gridTemplateRows:n?"1fr":"0fr"}
2,children:(0,l.jsx)("div",{className:"overflow-hidden",inert:!n,children:(0,l.jsx)("div",{className:"pt-4",children:(0,l.jsx)(sX,{topics:u,selected:a,onToggle:r,groupLabel:e.editorGroupLabel,variant:"editor",firstControlRef:s})})})}):null]})}let s1="landing_page__resources",s2={"--subhead-size":"var(--type-h3)"},s5={"--link-weight":"var(--font-weight-emphasis)"},s4={color:"var(--surface-normal-fg)",border:"var(--surface-normal-border, none)",boxShadow:"var(--surface-normal-shadow)",borderRadius:"var(--radius-lg)","--card-bg":"var(--surface-normal-bg)","--card-bg-hover":"var(--surface-normal-bg-hover, var(--surface-normal-bg))"};function s3({content:e}){return e.topics&&e.topics.length>0?(0,l.jsx)(s7,{content:e}):(0,l.jsx)(s6,{content:e})}function s6({content:e}){let t=(0,sA.usePublishedFeed)(e.source);return(0,l.jsx)("section",{id:`section-${s1}`,"data-section":s1,"data-toc-label":e.heading,style:{background:"var(--color-bg, #fff)",paddingInline:oJ,paddingBlock:"56px"},className:`scroll-mt-36 ${oX}`,children:(0,l.jsxs)("div",{style:o0,className:o1,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:e.eyebrow,heading:e.heading}),e.intro?(0,l.jsx)("div",{className:"mt-4 max-w-[880px]",style:s2,children:(0,l.jsx)(oU.Subhead,{data:{markdown:`**${e.intro}**`},atomId:"zillow_resources_intro"})}):null,(0,l.jsx)("div",{className:"mt-[var(--section-header-content-gap,var(--space-md,16px))]",children:(0,l.jsx)(la,{state:t,leadVariant:e.leadVariant??"lead-2"})}),e.seeAll?(0,l.jsx)("div",{className:"mt-12 flex justify-center",style:{"--button-weight":"var(--font-weight-emphasis)"},children:(0,l.jsx)(ok.Button,{data:{label:e.seeAll.label,href:e.seeAll.href,style:e.seeAll.style},atomId:"zillow_resources_see_all",parentSectionId:null})}):null,(0,l.jsx)(im.CanvasAnchor,{sectionId:s1,Skeleton:nZ.ComponentSkeleton})]})})}let s8=eu.useLayoutEffect;function s7({content:e}){let t=e.topics??[],a=e.gate??o6,{activePersonaId:r}=(0,R.useActivePersona)(),n=r??"unknown",{tokens:o,named:i}=(0,M.useBrandMotion)(),[s,c]=(0,eu.useState)(()=>new Set(sL??[])),[d,u]=(0,eu.useState)(()=>(sL?.length??0)>0?"open":"locked"),[p,m]=(0,eu.useState)(!1),h=(0,eu.useRef)(null),g=(0,eu.useRef)(null),f=(0,eu.useRef)(null),y=(0,eu.useRef)(null),v=(0,eu.useRef)(!1),b=(0,eu.useRef)(!1),x=(0,eu.useRef)(!1),w=(0,eu.useRef)(!1),k=(0,eu.useRef)(!1),_=(0,eu.useRef)(new Set),j=(0,eu.useMemo)(()=>({...e.source,params:{...e.source.params,custom_interests:t.map(e=>e.interest)}}),[e.source,t]),S=(0,sA.usePublishedFeedSections)(j);s8(()=>{if(x.current||(x.current=!0,null!==sL))return;let e=function(e){let t=(0,sE.readJsonFrom)("local",sz),a=sR.safeParse(t);if(!a.success)return null!==t&&(0,en.logTelemetry)("zillow-resources.stored-topics-invalid",{message:a.error.issues[0]?.message??"unparseable"}),sL=[];let r=new Set(a.data);return sL=e.filter(e=>r.has(e.id)).map(e=>e.id)}(t);0!==e.length&&(c(new Set(e)),u("open"))},[t]);let C=(0,eu.useMemo)(()=>JSON.stringify(j),[j]);(0,eu.useEffect)(()=>{var e;"success"===S.status&&(e=S.sections,sO.set(C,e))},[S,C]);let I="success"===S.status?null:sO.get(C)??null,N="success"===S.status?S.sections:I??s9,A=(0,eu.useMemo)(()=>sP(N,t,new Set(t.map(e=>e.id))),[N,t]).slice(0,6),E=(0,eu.useMemo)(()=>sP(N,t,s),[N,t,s]),T=sM(t,s),P=T.map(e=>e.id).join(","),z=function(e){let[t,a]=(0,eu.useState)("");return(0,eu.useEffect)(()=>{let t=setTimeout(()=>a(e),450);return()=>clearTimeout(t)},[e,450]),t}(w.current?function({count:e,labels:t,status:a}){if(0===t.length)return"Resources locked. Choose a topic to unlock them.";let r=t.join(", ");return"loading"===a?`Loading resources for ${r}.`:"error"===a?`Resources for ${r} could not be loaded.`:0===e?`No resources for ${r} yet. Pick another topic.`:1===e?`1 resource for ${r}.`:`${e} resources for ${r}.`}({count:E.length,labels:T.map(e=>e.label),status:S.status}):"");function L(e){sL=[...sM(t,e).map(e=>e.id)],(0,sE.writeJsonFrom)("local",sz,sL)}function O(e){if(!t.some(t=>t.id===e))return;if(w.current=!0,"open"!==d){let t=new Set([e]);L(t),c(t),(0,en.logTelemetry)("zillow-resources.unlock",{topic:e,persona:n}),u("unlocking");return}let a=!s.has(e),r=new Set(s);if(a?r.add(e):r.delete(e),L(r),c(r),(0,en.logTelemetry)(a?"zillow-resources.topic-add":"zillow-resources.topic-remove",{topic:e,selection:sM(t,r).map(e=>e.id).join(","),persona:n}),0===r.size){(0,en.logTelemetry)("zillow-resources.relock",{persona:n}),u("locked"),m(!1),y.current="gate";return}b.current=!0,y.current="edit"}(0,eu.useEffect)(()=>{let e=y.current;if(null!==e){var t;y.current=null,t="edit"===e?g.current:f.current,t?.querySelector("button")?.focus({preventScroll:!0})}},[d,s]);
2let H=function(e){let[t,a]=(0,eu.useState)(!1);return(0,eu.useEffect)(()=>{if(t)return;let r=e.current;if(!r)return;if(!("IntersectionObserver"in window))return void a(!0);let n=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(a(!0),n.disconnect())},{threshold:.25});return n.observe(r),()=>n.disconnect()},[e,t]),t}(h);return(0,eu.useEffect)(()=>{H&&"locked"===d&&!k.current&&(k.current=!0,(0,en.logTelemetry)("zillow-resources.gate-impression",{persona:n}))},[H,d,n]),(0,eu.useEffect)(()=>{if("open"!==d||"success"!==S.status||E.length>0)return;let e=S.sections.every(e=>0===e.length)?"empty":"no-match",t=`${e}:${P}`;_.current.has(t)||(_.current.add(t),(0,en.logTelemetry)("zillow-resources.empty-impression",{reason:e,selection:P,persona:n}))},[d,S,E.length,P,n]),(0,oA.useGSAP)(()=>{if("open"!==d)return;let e=v.current,t=b.current;if(v.current=!1,b.current=!1,!e&&!t)return;let a=h.current,r=e?i["resources-unlock-reveal"]:i["resources-topic-change"];if(!a||!r)return;let n=M.gsap.matchMedia();return n.add("(prefers-reduced-motion: no-preference)",()=>r(a,o)),()=>n.revert()},{dependencies:[d,s,i,o],scope:h}),(0,l.jsxs)("section",{ref:h,id:`section-${s1}`,"data-section":s1,"data-toc-label":e.heading,"data-zillow-resources-phase":d,style:{background:"var(--color-bg, #fff)",paddingInline:oJ,paddingBlock:"56px",position:"relative"},className:`scroll-mt-36 ${oX}`,children:[(0,l.jsx)("div",{"data-resources-flood":"","aria-hidden":"true",style:{position:"absolute",inset:0,background:"var(--color-brand-500)",opacity:0,pointerEvents:"none",zIndex:2}}),(0,l.jsxs)("div",{style:o0,className:o1,children:[(0,l.jsx)("div",{className:"max-sm:[--section-header-heading-size-mobile:var(--type-h2)]",children:(0,l.jsx)(ih.SectionHeader,{eyebrow:e.eyebrow,heading:"open"===d?e.heading:a.heading})}),"open"===d?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s0,{gate:a,topics:t,selected:s,onToggle:O,editorOpen:p,onEditorToggle:function(){let e=!p;(0,en.logTelemetry)("zillow-resources.edit-toggle",{open:e,selection:P,persona:n}),m(e)},editRef:g}),(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(lt,{status:S.status,atoms:E,selectionKey:P,emptyState:e.emptyState})})]}):(0,l.jsx)(sQ,{gate:a,topics:t,onToggle:O,unlocking:"unlocking"===d,onUnlockDone:function(){v.current=!0,y.current="edit",u("open")},firstControlRef:f,hasPreview:A.length>0,previewRestored:null!==I,previewCards:A.map((e,t)=>(0,l.jsx)(lo,{atom:e,variant:"small",index:t,sequence:le},sT(e)))}),(0,l.jsx)("span",{role:"status","aria-live":"polite",className:"sr-only",children:z}),(0,l.jsx)(im.CanvasAnchor,{sectionId:s1,Skeleton:nZ.ComponentSkeleton})]})]})}let s9=[],le=[];function lt({status:e,atoms:t,selectionKey:a,emptyState:r}){if("loading"===e)return(0,l.jsx)(ir.Grid,{data:{cols:3,gap:"lg"},atomId:"zillow_resources_grid_loading",children:Array.from({length:3}).map((e,t)=>(0,l.jsx)(oS.PublishedComponentSkeleton,{kind:"published-card",emphasis:"normal"},t))});if("error"===e)return null;let n=t.slice(0,6);if(0===n.length)return r?(0,l.jsxs)("div",{className:"rounded-[var(--radius-lg)] border border-dashed border-[color:var(--color-border)] px-6 py-7 text-center",style:{color:"var(--color-fg-muted)"},children:[(0,l.jsx)(nY.Headline,{data:{text:r.title,level:4},atomId:"zillow_resources_empty_title"}),(0,l.jsx)("div",{className:"mt-1",children:(0,l.jsx)(nX.Prose,{data:{markdown:r.body,size:"body-sm"},atomId:"zillow_resources_empty_body"})})]}):null;let o=lr(t);return(0,l.jsx)("div",{"data-zillow-resources-grid":"",children:(0,l.jsx)(ir.Grid,{data:{cols:3,gap:"lg"},atomId:"zillow_resources_grid",children:n.map((e,t)=>(0,l.jsx)(lo,{atom:e,variant:"small",index:t,sequence:o,onOpen:e=>(0,en.logTelemetry)("zillow-resources.card-open",{slug:sT(e),selection:a})},sT(e)))})})}function la({state:e,leadVariant:t}){let a="banner"===t;if("loading"===e.status)return a?(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,l.jsx)(nZ.ComponentSkeleton,{state:"pending"}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-3",children:Array.from({length:5}).map((e,t)=>(0,l.jsx)(oS.PublishedComponentSkeleton,{kind:"published-card",emphasis:"normal"},t))})]}):(0,l.jsxs)(ln,{children:[(0,l.jsx)(oS.PublishedComponentSkeleton,{kind:"published-card",emphasis:"normal"}),(0,l.jsx)(oS.PublishedComponentSkeleton,{kind:"published-card",emphasis:"normal"}),(0,l.jsx)(oS.PublishedComponentSkeleton,{kind:"published-card",emphasis:"normal"})]});if("error"===e.status||0===e.atoms.length)return null;let[r,...n]=e.atoms,o=lr(e.atoms);if(a){let e=n.slice(0,5);return(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[r?(0,l.jsx)(ls,{atom:r,index:0,sequence:o}):null,(0,l.jsx)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-3",children:e.map((e,t)=>(0,l.jsx)(lo,{atom:e,variant:"small",index:t+1,sequence:o},t))})]})}let i=n.slice(0,2);return(0,l.jsxs)(ln,{children:[r?(0,l.jsx)(lo,{atom:r,variant:"lead",index:0,sequence:o}):null,i.map((e,t)=>(0,l.jsx)(lo,{atom:e,variant:"small",index:t+1,sequence:o},t))]})}function lr(e){let t=new Set,a=[];for(let r of e){let e=r.article.slug;"string"!=typeof e||t.has(e)||(t.add(e),a.push({slug:e,label:r.atom_metadata.headline??r.article.title??e}))}return a}function ln({children:e}){return(0,l.jsx)("div",{"data-zillow-resources-grid":"",className:"grid grid-cols-1 gap-6 md:grid-cols-[2fr_1fr_1fr]",children:e})}function lo({atom:e,variant:t,index:a,sequence:r,onOpen:n}){let o=(0,L.useArticleOverlay)(),i="lead"===t,s=ll(e),c=e.atom_metadata.editorial_type,d=e.atom_metadata.headline??e.article.title??"",u=(0,n0.splitSummary)(e).lead,p=(0,n0.formatReadTime)(e),m={header:(0,l.jsx)("div",{className:i?"[&>*]:line-clamp-2":"[&>*]:line-clamp-3",children:(0,l.jsx)(nY.Headline,{data:{text:d,level:i?3:4},atomId:`zillow_resources_title_${a}`})}),footer:(0,l.jsx)("div",{style:s5,children:(0,l.jsx)(iC.Link,{data:{label:"Read now →",size:"meta"},atomId:`zillow_resources_link_${a}`})})};return s&&(m.media=(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(oL.Image,{data:{src:s,alt:"",ratio:i?"16:9":"4:3"},atomId:`zillow_resources_img_${a}`}),p?(0,l.jsx)("div",{className:"absolute bottom-3 left-3 rounded-[var(--radius-xs,8px)] bg-[color:var(--color-bg)] px-2.5 py-1",children:(0,l.jsx)(ip.Meta,{data:{text:p.toLowerCase()},atomId:`zillow_resources_readtime_${a}`})}):null]})),c&&(m.eyebrow=(0,l.jsx)("div",{children:(0,l.jsx)(nJ.Label,{data:{text:c},atomId:`zillow_resources_cat_${a}`})})),u&&(m.body=(0,l.jsx)("div",{className:i?"[&_p]:line-clamp-2":"[&_p]:line-clamp-5",children:(0,l.jsx)(nX.Prose,{data:{markdown:u,size:"body-sm"},atomId:`zillow_resources_excerpt_${a}`})})),(0,l.jsx)(oz.Card,{data:{recipe:"article-card",emphasis:"normal"},atomId:`zillow_resources_card_${a}`,parentSectionId:s1,slots:m,onActivate:()=>{n?.(e),li(o,e,r)}})}function li(e,t,a){let r=t.article.slug;e.isAvailable?"string"==typeof r&&a.length>1?e.openArticleWithSequence(t,a,r):e.openArticle(t):t.article.url&&window.open(t.article.url,"_blank","noopener,noreferrer")}function ls({atom:e,index:t,sequence:a}){let r=(0,L.useArticleOverlay)(),n=ll(e),o=e.atom_metadata.editorial_type,i=e.atom_metadata.headline??e.article.title??"",s=(0,n0.splitSummary)(e).lead,c=(0,n0.formatReadTime)(e);return(0,l.jsxs)("button",{type:"button",onClick:()=>li(r,e,a),"data-emphasis":"normal",style:s4,className:"group flex w-full flex-col overflow-hidden text-left md:flex-row [background:var(--card-bg)] hover:[background:var(--card-bg-hover)] active:[background:var(--card-bg-hover)] motion-safe:transition-[background,transform] motion-safe:duration-200 motion-safe:ease-out motion-safe:hover:-translate-y-[3px] motion-safe:hover:scale-[1.01] focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",children:[n?(0,l.jsxs)("div",{className:"relative md:w-[42%] md:shrink-0 [&_figure>div]:rounded-none",children:[(0,l.jsx)(oL.Image,{data:{src:n,alt:"",ratio:"4:3"},atomId:`zillow_resources_img_${t}`}),c?(0,l.jsx)("div",{className:"absolute bottom-3 left-3 rounded-[var(--radius-xs,8px)] bg-[color:var(--color-bg)] px-2.5 py-1",children:(0,l.jsx)(ip.Meta,{data:{text:c.toLowerCase()},atomId:`zillow_resources_readtime_${t}`})}):null]}):null,(0,l.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-4 p-8",children:[o?(0,l.jsx)("div",{children:(0,l.jsx)(nJ.Label,{data:{text:o},atomId:`zillow_resources_cat_${t}`})}):null,(0,l.jsx)("div",{className:"[&>*]:line-clamp-3",children:(0,l.jsx)(nY.Headline,{data:{text:i,level:2},atomId:`zillow_resources_title_${t}`})}),s?(0,l.jsx)("div",{className:"[&_p]:line-clamp-2",children:(0,l.jsx)(nX.Prose,{data:{markdown:s},atomId:`zillow_resources_excerpt_${t}`})}):null,(0,l.jsx)("div",{style:s5,children:(0,l.jsx)(iC.Link,{data:{label:"Read now →",size:"meta"},atomId:`zillow_resources_link_${t}`})})]})]})}function ll(e){let t=e=>"string"==typeof e&&e.length>0&&!e.startsWith("data:");return t(e.article.featured_image_url)?e.article.featured_image_url:t(e.atom_metadata.media_url)?e.atom_metadata.media_url:e.article.featured_image_url??null}let lc="landing_page__reviews",ld={background:"var(--surface-featured-bg)",color:"var(--surface-featured-fg)","--surface-accent":"var(--surface-featured-accent)","--surface-fg-muted":"var(--surface-featured-fg-muted, var(--color-fg-muted))"},lu={"--headline-weight":"var(--font-weight-heavy)"},lp={"--subhead-fg":"var(--surface-fg-muted)"},lm={"--grid-gap":"var(--space-6, 24px)","--card--feature-card-padding-x":"var(--space-8, 32px)","--card--feature-card-padding-y":"var(--space-8, 32px)"},lh={"--prose-size":"var(--type-body)","--prose-line-height":"var(--leading-card)","--prose-fg":"var(--color-fg)"},lg={"--subhead-size":"var(--type-h4)","--subhead-strong-weight":"var(--font-weight-emphasis)",paddingTop:"var(--space-6, 24px)"};function lf({content:e}){let{contrast:t}=(0,T.useClientConfig)().theme.surfaces.featured;return(0,l.jsxs)("section",{id:`section-${lc}`,"data-section":lc,"data-toc-label":e.heading,style:{...ld,paddingInline:oJ,paddingBlock:"84px"},className:`relative overflow-hidden scroll-mt-36 ${oX}
2`,children:[(0,l.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",style:o4}),(0,l.jsx)(om.SurfaceContextProvider,{contrast:t,children:(0,l.jsxs)("div",{className:`relative ${o1}`,style:o0,children:[(0,l.jsx)("div",{className:o5,style:lu,children:(0,l.jsx)(nY.Headline,{data:{text:e.heading,level:2},atomId:"zillow_reviews_heading"})}),(0,l.jsx)("div",{className:"mt-[14px] mb-[44px] max-w-[60ch]",style:lp,children:(0,l.jsx)(oU.Subhead,{data:{markdown:e.subheading},atomId:"zillow_reviews_dek"})}),(0,l.jsx)("div",{style:lm,children:(0,l.jsx)(ir.Grid,{data:{cols:Math.max(1,e.reviews.length),gap:"lg"},atomId:"zillow_reviews_grid",children:e.reviews.map((e,t)=>{let a={body:(0,l.jsx)("div",{style:{"--stack-gap":"var(--space-6, 24px)"},children:(0,l.jsxs)(oI.Stack,{data:{gap:"md"},atomId:`zillow_reviews_stack_${t}`,children:[(0,l.jsx)("div",{className:"flex",children:(0,l.jsx)(oL.Image,{data:{src:o2,alt:"",size:"sm"},atomId:`zillow_reviews_glyph_${t}`})}),(0,l.jsx)("div",{style:lh,children:(0,l.jsx)(nX.Prose,{data:{markdown:e.quote},atomId:`zillow_reviews_quote_${t}`})})]})}),action:(0,l.jsxs)("div",{style:lg,children:[(0,l.jsx)(oU.Subhead,{data:{markdown:`**${e.name}**`},atomId:`zillow_reviews_name_${t}`}),(0,l.jsx)(oU.Subhead,{data:{markdown:e.role},atomId:`zillow_reviews_role_${t}`})]})};return(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal"},atomId:`zillow_reviews_card_${t}`,parentSectionId:lc,slots:a},e.name)})})})]})})]})}let ly="landing_page__common_questions",lv={"--accordion-title-size":"var(--type-h4)","--accordion-answer-size":"var(--type-body-sm)","--accordion-answer-color":"var(--color-fg-body, var(--color-fg))"};function lb({content:e}){return(0,l.jsx)("section",{id:`section-${ly}`,"data-section":ly,"data-toc-label":e.heading,style:{background:"var(--color-bg, #fff)",paddingInline:oJ,paddingBlock:"56px"},className:`scroll-mt-36 ${oX}`,children:(0,l.jsxs)("div",{style:o0,className:o1,children:[(0,l.jsx)("div",{className:"max-sm:[--section-header-heading-size-mobile:var(--type-h2)]",children:(0,l.jsx)(ih.SectionHeader,{eyebrow:e.eyebrow,heading:e.heading})}),(0,l.jsx)("div",{className:"mt-[var(--section-header-content-gap,var(--space-md,16px))]",style:{...lv,maxWidth:"860px"},children:(0,l.jsx)(iI.AccordionPanel,{data:{items:[...e.items],emphasis:"normal"},atomId:"zillow_faq_panel"})}),(0,l.jsx)("style",{children:'[data-atom-id="zillow_faq_panel"] [role="region"] > div { max-width: 565px; }'}),(0,l.jsx)(im.CanvasAnchor,{sectionId:ly,Skeleton:nZ.ComponentSkeleton})]})})}let lx="landing_page__cta_bar",lw={"--link-weight":"var(--font-weight-emphasis)"},lk={light:"var(--color-fg)",dark:"var(--color-primary-on)"};function l_(){document.getElementById(oD.CHAT_TRACKING_IDS.input)?.focus()}let lj=o3("announcement");function lS({content:e}){let{contrast:t}=(0,T.useClientConfig)().theme.surfaces.announcement;return(0,l.jsx)("section",{id:`section-${lx}`,"data-section":lx,"data-toc-label":e.heading,style:{...lj,paddingInline:oJ,paddingBlock:"72px"},className:`scroll-mt-36 ${oX}`,children:(0,l.jsx)(om.SurfaceContextProvider,{contrast:t,children:(0,l.jsxs)("div",{className:`mx-auto text-center ${o1}`,style:o0,children:[(0,l.jsx)("div",{style:{"--headline-size":"calc(var(--type-h1) * 0.9)","--headline-size-mobile":"var(--type-h2)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.heading,level:2},atomId:"zillow_cta_bar_heading"})}),(0,l.jsx)("div",{className:"mt-3 opacity-85",style:{"--subhead-size":"calc(var(--type-body-sm) * 1.111)"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:e.body},atomId:"zillow_cta_bar_body"})}),(0,l.jsx)("div",{className:"mt-8 flex flex-col items-stretch gap-3 [&>*]:w-full md:flex-row md:flex-wrap md:items-center md:justify-center md:[&>*]:w-auto",children:e.ctas.map((e,a)=>"chat"in e?(0,l.jsx)(nQ.Button,{variant:"bare",onClick:l_,className:"inline-flex min-h-[var(--button-min-h,44px)] cursor-pointer items-center justify-center rounded-[var(--button-radius,var(--radius-sm))] bg-transparent px-[var(--button-padding-x,16px)] py-[var(--button-padding-y,8px)] text-[length:var(--button-size,var(--type-body-sm))] transition-colors duration-150 hover:bg-[var(--cta-ghost-hover-bg)]",style:{color:lk[t],fontWeight:"var(--button-weight, var(--font-weight-default))","--cta-ghost-hover-bg":`color-mix(in srgb, ${lk[t]} 12%, transparent)`},children:e.label},e.label):(0,l.jsx)(ok.Button,{data:{label:e.label,href:e.href,style:e.style},atomId:`zillow_cta_bar_cta_${a}`,parentSectionId:lx},e.label))}),(0,l.jsxs)("div",{className:"mt-4 flex items-center justify-center gap-1.5",children:[(0,l.jsx)(ip.Meta,{data:{text:e.helpPrefix},atomId:"zillow_cta_bar_help_prefix"}),e.helpLinkHref?(0,l.jsx)("span",{style:lw,children:(0,l.jsx)(iC.Link,{data:{label:e.helpLinkLabel,href:e.helpLinkHref,size:"meta"},atomId:"zillow_cta_bar_help_link"})}):(0,l.jsx)(nQ.Button,{variant:"bare",onClick:l_,className:"cursor-pointer bg-transparent p-0 underline underline-offset-2",style:lw,children:(0,l.jsx)(iC.Link,{data:{label:e.helpLinkLabel,size:"meta"},atomId:"zillow_cta_bar_help_link"})})]})]})})})}
2let lC={personaBadge:"Personalized for you",headline:"Single-family advertising **built to fill vacancies fast**",ctas:[],recommendation:{image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Post-Listing_CTA_592x368_Desktop_png_CMS_Extra_Large.auto",alt:"Row of single-family homes along a landscaped walkway"},badge:"Recommended",title:"Single Family Advertising",why:"Integrates with major PMS platforms and syndication feeds, so your availability, pricing and leads flow automatically — no double entry.",bullets:["PMS integration and syndication feeds","Listings, pricing and leads stay in sync automatically","Dedicated partner support and market insights"],cta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"}}},lI={heading:"Maximize your listing exposure with Zillow, Trulia, and HotPads",stats:[{value:"#1",label:"Most visited rentals network in the U.S.",citationKey:3},{value:"1.6B",label:"Visits to Zillow Rentals in the past year",citationKey:2},{value:"73%",label:"Of our visitors didn't visit the nearest competitor",citationKey:1},{value:"3.2M+",label:"Prospects delivered to multifamily properties monthly",citationKey:4}]},lN={heading:"Market your properties **at scale**",body:"Posting a listing is just the beginning. Upload & send leases for signing, screen tenants, collect rent and fill vacancies with over 30 million monthly visitors.",cards:[{image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Illustration_network_160x160_svg_Original.svg",alt:""},title:"Capture demand where it matters most",body:"Stand out in a crowded rental market with flexible advertising solutions at the listing and portfolio level.",linkLabel:"Learn more →",detail:{eyebrow:"Syndicate listings",title:"Capture demand where it matters most",lede:"Stand out in a crowded rental market with flexible advertising solutions at the listing and portfolio level.",cta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"},stepsLabel:"Capture demand where it matters most",steps:[{title:"Connect with high-intent renters in your area"},{title:"Put your homes ahead of competing listings"},{title:"Make it easy for interested renters to inquire"},{title:"Use your PMS and feed as usual"}],rowsLabel:"Flex your reach",rowsIntro:"Boost visibility across millions of renters alongside the most visited and trusted rental network. Choose one approach or combine for maximum impact.",rows:[{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_SF-Advertising-Solutions_Individual_705x380_Tablet_png_CMS_Extra_Large.auto",imageAlt:"Screenshot of listing spotlight feature highlighting rental property",title:"Listing-level promotion with Listing Spotlight",bullets:["Elevate select properties to stand out in search results","Drive more high-intent renters to your most important vacancies","Easily swap properties in and out as vacancies fill"]},{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_SF-Advertising-Solutions_Full_705x380_Tablet_png_CMS_Extra_Large.auto",imageAlt:"Person reviewing rental property performance metrics on mobile device",title:"Portfolio-level coverage",bullets:["Extend advertising across your properties with one solution","Maintain consistent visibility and brand presence for every asset","Adjust as inventory and vacancies change"]}],note:"Talk with a Zillow Sales Professional to design the right single-family advertising strategy for your listings, your portfolio, or both."}},{image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_LS-LP_chart-trending-up_Icon_160x160_svg_CMS_Extra_Large.auto",alt:""},title:"Lease faster with Listing Spotlight",body:"Priority placement on the units that matter most — 3.25x more exposure than free listings, on average.",linkLabel:"Learn more →",detail:{eyebrow:"Listing Spotlight",title:"Lease faster with Listing Spotlight",lede:"You could more than double your leads and earn leasing commissions sooner — without adding headcount.",cta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/listing-spotlight/"},stepsLabel:"Priority listing placements help you:",steps:[{title:"Stand out in search",body:"Listing Spotlight delivers 3.25x more exposure than free listings, on average, by placing your properties at the top of search results and above competing units."},{title:"Fill vacancies sooner",body:"Listings that were already on the market for 30+ days spent an average of 9 fewer days on market (DOM) with Listing Spotlight."},{title:"Generate more leads",body:"Listings on Spotlight receive 2.4x more leads than free listings, on average, helping your team spend less time chasing dead ends and more time converting interested renters."}
2],rowsLabel:"How it works",rows:[{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_LS-LP_Sec-01_580x420_Desktop_png_CMS_Extra_Large.auto",imageAlt:"Identify your priority units",title:"Identify your priority units",body:"Search your portfolio for listings that could benefit most from additional visibility, whether they're specialty properties or simply seeing less engagement."},{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_LS-LP_Sec-02_580x420_Desktop_png_CMS_Extra_Large.auto",imageAlt:"Apply your Spotlight placement",title:"Apply your Spotlight placement",body:"Listing Spotlight gives you listing-level control. You can choose which specific units to showcase without an all-or-nothing commitment."},{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_LS-LP_Sec-03_580x420_Desktop_png_CMS_Extra_Large.auto",imageAlt:"Reach more renters",title:"Reach more renters",body:"Your listing will receive elevated placement on Zillow, increasing exposure among renters actively searching in your market."},{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_LS-LP_Sec-04_580x420_Desktop_png_CMS_Extra_Large.auto",imageAlt:"Lease faster and close the commission",title:"Lease faster and close the commission",body:"Your listings may spend fewer days on market, which could mean the difference between a commission this month and one that carries into next."},{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_LS-LP_Sec-05_580x420_Desktop_png_CMS_Extra_Large.auto",imageAlt:"Reassign the placement to your next vacancy",title:"Reassign the placement to your next vacancy",body:"Once a unit leases, it's time to Spotlight your next listing. Reusable slots mean the effective cost per lease drops the more your portfolio turns."}],quote:{quote:"With Spotlight, we now lead with visibility on the inventory that matters most, rather than waiting for the data to tell us something's wrong. That shift from reactivity to proactivity has driven strong results, which shows directly in faster leasing on the units we prioritize. For us, time on market seriously impacts both property performance and business resources. Saving on both makes this a steal.",name:"Grant Fishman",role:"Groma · Boston, MA"},note:"1 Zillow internal data detailing 2026 Quarter-to-date monthly average listing performance data, March 2026. 2 Zillow internal data detailing 2026 listing performance, March 2026."}}],ctas:[{label:"Talk to sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"primary"}]},lA={stat:"**9 fewer days**",citationKey:5,tocLabel:"Listing Spotlight",headline:"on market (DOM) with Listing Spotlight for listings already on market for 30+ days",cta:{variant:"button",label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"primary"},audience:{title:"Renter audience reach, past 12 months",rows:[{label:"Zillow Rentals Network",value:"1.6B visits",fill:100},{label:"Shared with nearest competitor",value:"27% overlap",fill:27}],note:"73% of Zillow Rentals visitors did not visit the nearest competitor's site. Illustrative visual based on published Zillow network stats."},image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Tenant_CTA_592x368_Desktop_png_CMS_Extra_Large.auto",alt:"Property manager greeting a renter at the door of a rental home",ratio:"16:9"}},lE={heading:"Results from portfolios like yours",subheading:"Small landlords to national operators — outcomes, not adjectives.",reviews:[{quote:"Zillow Rentals has done a phenomenal job of building customer trust and confidence. Whether they're looking to buy or rent, consumers think, 'I can find a home here'.",name:"Greg Benson",role:"Managing Director, Greystar"},{quote:"Excellent results. Tons of responses. Renter on the first day.",name:"John",role:"Property Manager, Rochester, NY"},{quote:"We went from 78% occupancy to staying at 100% for over three months now. The increase in positive leads has been unimaginable compared to other resources.",name:"Briana Kelly",role:"Cincy Area Properties"}]},lT={heading:"Frequently asked questions",items:[{id:"pms",question:"Do you integrate with my property management software?",answer:"Yes. Multifamily advertising integrates with major PMS platforms and syndication feeds, so your availability, pricing and leads flow automatically — no double entry."}
2,{id:"mf",question:'What counts as "multifamily"?',answer:"In Zillow's world, multifamily means apartment communities of 25+ units. Under 25 units — houses, condos, duplexes, small buildings — you'll get more value from Rental Manager's free tools."},{id:"cost",question:"Does it cost money to list a rental?",answer:"For portfolios under 25 units, posting on Zillow Rental Manager is free to start, with optional paid boosts per listing. Apartment communities use flexible advertising packages — subscription or pay-per-lease — priced to your portfolio."},{id:"speed",question:"How quickly will I hear from renters?",answer:"Your listing reaches renters across Zillow, Trulia and HotPads — a network with 1.6 billion visits a year. Many landlords report responses within the first days of posting; John in Rochester found his renter on day one."},{id:"switch",question:"Can I switch solutions as my portfolio grows?",answer:"Anytime. Plenty of operators start with free Rental Manager listings and move to multifamily advertising as they pass 25 units. Your listings and history come with you."}]},lP={heading:"Results that support your investment",body:"Turn advertising spend into a data-backed decision with performance insights that help validate your marketing strategy.",ctas:[{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"primary"}],helpPrefix:"Still need help?",helpLinkLabel:"Ask a quick question"}
2,lz={personaBadge:"Personalized for you",headline:"Find your next renter — **free to start**, everything in one place",proofTile:{lead:"Free to start for portfolios under 25 units",rest:"— post, screen, lease and collect rent, no subscription required."},ctas:[],recommendation:{image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/shutterstock_644572507_jpg_CMS_Extra_Large.auto",alt:"Landlord reviewing rental paperwork at a desk with her phone in hand"},badge:"Recommended",title:"Zillow Rental Manager",why:"The most reach for the least cost — list once across the whole network, then screen, lease and get paid in the same place.",bullets:["Your listing across Zillow, Trulia & HotPads — 1.6B annual visits","Screening, leases & rent collection in one dashboard","Free to start — no subscription required"],cta:{label:"Start my free listing →",href:"https://www.zillow.com/rental-manager/post-a-listing/"}}},lR="https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_",lL="_png_CMS_Extra_Large.auto",lO={heading:"**Rental Manager**, an all-in-one solution",body:"Posting a listing is just the beginning. Upload & send leases for signing, screen tenants, collect rent and fill vacancies with over 30 million monthly visitors.",cards:[{image:{src:"https://www.zillowstatic.com/bedrock/app/uploads/sites/51/2025/11/artwork-3.svg",alt:""},title:"Post listings & find renters",body:"Create listings in minutes to reach the most visitors of any rentals network.",linkLabel:"Learn more →",detail:{eyebrow:"Post listings & find renters",title:"List your rental property for free — it's quick and easy",lede:"Fill your vacancy on the network with over 1 million daily visitors. Post your rental today.",cta:{label:"Post your listing free",href:"https://www.zillow.com/rental-manager/post-a-listing/"},proofLabel:"By the numbers",proof:[{value:"30 million",body:"Access the network with over 30 million visitors each month* to help you find your perfect renter."},{value:"Most visited",body:"List your house, townhome, condo, apartment or room for rent on Zillow Rental Manager and it will appear on the most visited rental network.*"}],stepsLabel:"Post a listing in 3 easy steps",steps:[{title:"Add property details and images"},{title:"Set your monthly rent price"},{title:"Publish and share with renters in your area"}],rowsLabel:"Listing made simple",rows:[{image:`${lR}Post-Listing_Step1_330.67x223_Desktop${lL}`,imageAlt:"Creating a rental listing in Zillow Rental Manager",title:"Create your rental listings",body:"It takes just minutes to create a listing — simply add property details, upload photos and publish."},{image:`${lR}Post-Listing_Made-simple_465x500_Desktop${lL}`,imageAlt:"Messaging interested renters from the dashboard",title:"Message interested renters",body:"Communicate with renters using Zillow Rental Manager to stay organized during the tenant search process."},{image:`${lR}Post-Listing_Step3_330.67x223_Desktop${lL}`,imageAlt:"Republishing a saved rental listing",title:"Reuse your rental posting",body:"Time for new renters? We save your listings so you can republish them with the click of a button."},{image:`${lR}Post-Listing_Price_465x500_Desktop${lL}`,imageAlt:"Pricing a rental with the Rent Zestimate tool",title:"Price your rental",body:"Feel confident when you list your property — we'll help you price it by integrating your Rent Zestimate into the listing and giving you tools to review comparable properties."},{image:`${lR}Post-Listing_Tenant_465x500_Desktop${lL}`,imageAlt:"Built-in tenant screening on a listing",title:"Built-in tenant screening",body:"When you list your property with Zillow Rental Manager, you can accept rental applications for free to quickly screen prospective tenants with background checks, credit reports and eviction history."},{image:`${lR}Post-Listing_Premium-E_705x380_Tablet${lL}`,imageAlt:"Premium listing experience upgrade",title:"Give your listing the premium experience",body:"Want help managing your rental and filling vacancies fast? Upgrade your property to a premium listing experience for a one-time fee."}],bulletsBandLabel:"What premium adds",bulletsBandItems:[{title:"Increased exposure",body:"Get more eyes on your listing from renter
2s searching in your area."},{title:"Pricing & market insights",body:"Track listing performance data and trends to price your rental competitively."},{title:"Listing recommendations",body:"Track your listing's performance and trends in your market to find out if you've positioned your rental competitively."}]}},{image:{src:"https://www.zillowstatic.com/bedrock/app/uploads/sites/51/2025/11/artwork.svg",alt:""},title:"Screen applicants efficiently",body:"Renter history, income verification, credit and background checks, free for landlords.",linkLabel:"Learn more →",detail:{eyebrow:"Screen applicants efficiently",title:"Online tenant screening for landlords",lede:"Run a complete renter background check, credit check, and get insight into an applicant's income qualifications and eviction history with our tenant screening service.",cta:{label:"Post your listing free",href:"https://www.zillow.com/rental-manager/post-a-listing/"},proofLabel:"By the numbers",proof:[{value:"Free",body:"The application and tenant screening reports are free for landlords."},{value:"$35",body:"Renters pay a $35 application fee, which includes tenant screening reports, and allows them to apply to your listing and an unlimited number of participating rentals for 30 days."},{value:"Experian and CIC",body:"Zillow partners with industry leaders Experian and CIC to provide you with an in-depth tenant credit and background check."}],rowsLabel:"A tenant screening service you can rely on",rows:[{image:`${lR}Tenant_Hero_671x444_Desktop${lL}`,imageAlt:"Reviewing applicant information in Rental Manager",title:"Sign renters quickly and confidently",body:"Zillow Rental Manager puts the most important information at your fingertips — so you can easily choose your next tenant."},{image:`${lR}Tenant_Applications_671x400_Desktop${lL}`,imageAlt:"An application and screening reports in one place",title:"Start accepting applications with ease",body:"You can view the renter's application and tenant screening reports all in one place including credit report, background check, eviction history and income documents."},{image:`${lR}Tenant_Credit-R_440x350_Desktop${lL}`,imageAlt:"An applicant credit report",title:"Credit report",body:"View your applicant's credit score, open credit lines, employment history, residence history, and past bankruptcies or collections."},{image:`${lR}Tenant_Background-C_440x350_Desktop${lL}`,imageAlt:"An applicant background check",title:"Background check",body:"View your applicant's background check to learn if they've been evicted or have a criminal history."},{image:`${lR}Tenant_Flexible_671x400_Desktop${lL}`,imageAlt:"Managing who can apply to a rental",title:"Flexible, easy-to-manage applications",body:"Choose who applies to your rental and when. Enable applications to let anyone apply right from your listing, privately invite individual applicants, or do both. You can even invite prospective renters who don't come from Zillow."},{image:`${lR}Tenant_Tools_671x400_Desktop${lL}`,imageAlt:"Compliant, industry-leading screening tools",title:"Screen tenants fairly with industry-leading filtering tools",body:"Zillow helps rental partners screen tenants compliantly by partnering with industry-leading credit and background check providers that filter the information provided to meet local tenant screening laws and regulations."}],faqLabel:"Frequently asked questions",faqItems:[{id:"how-it-works",question:"How does online tenant screening work?",answer:"All applicants fill out an online rental application with information about their current household makeup, prior residences, contact information and income. Zillow Applications include a credit report from Experian and a background check from CIC. You can review completed applications, including tenant screening reports, in your Rental Manager account."},{id:"cost",question:"How much does it cost to screen a tenant?",answer:"The application and tenant screening reports are free for landlords. Renters pay a $35 application fee, which includes tenant screening reports, and allows them to apply to your listing and an unlimited number of participating rentals for 30 days."},{id:"turnaround",question:"How long do tenant credit and background checks take?",answer:"Tenant credit and background checks are included as part of a prospective renter's application — no additional waiting required. In some cases, one or both screening reports cannot be completed."},{id:"non-zillow-leads",question:"Can I screen prospective tenants if leads don't come from Zillow?",answer:"Yes! You can screen any prospective tenant, even if they don't come from Zillow. To do so, go to the Applications tab for that property in Rental Manager and click the Send application link. Then, you can invite them to apply via an email invitation to kick off the application and screening process."}]}},{image:{src:"https://www.zillowstatic.com/bedrock/app/uploads/sites/51/2025/11/artwork-1.svg",alt:""},title:"Create & send leases",body:"Upload your own lease for signing. Our lease tools make it simple.",linkLabel:"Learn more →",detail
2:{eyebrow:"Create & send leases",title:"Managing lease agreements has never been simpler",lede:"Have an existing lease agreement? Upload, edit and sign with Zillow Rental Manager.",cta:{label:"Post your listing free",href:"https://www.zillow.com/rental-manager/post-a-listing/"},rowsLabel:"Edit and sign a lease anywhere. Access it anytime.",rows:[{image:`${lR}Lease_No-guesswork_440x350-Desktop${lL}`,imageAlt:"Lawyer-reviewed lease agreement templates",title:"Protect yourself and your property",body:"Get peace of mind knowing our easy-to-use lease agreement templates are created in partnership with law firms versed in local law."},{image:`${lR}Lease_Customizable_440x350-Desktop${lL}`,imageAlt:"Adding addenda to a customizable lease",title:"Cover your property's needs",body:"With addenda for pets, parking and much more, it's easy to tailor your rental lease to your unique property."},{image:`${lR}Lease_Create_440x350-Desktop${lL}`,imageAlt:"Step-by-step lease building",title:"No guesswork, no hassle",body:"Get step-by-step guidance building a lease agreement for your property — then easily recycle it when it's time to renew or relist."},{image:`${lR}Lease_Edit-lease_671x400_Desktop${lL}`,imageAlt:"Uploading and e-signing a lease",title:"Upload & send leases for signing",body:"Upload any rental lease to Rental Manager and use dynamic fields to update key info digitally, then send for signing anytime, anywhere."},{image:`${lR}Lease_Store-Later_671x400_Desktop${lL}`,imageAlt:"Storing a lease agreement in Rental Manager",title:"Store for later",body:"Stay organized and enhance your Zillow experience by storing your existing lease agreement right in Rental Manager. When it's time to collect payments, message tenants or renew, Rental Manager will bring in key info from your rental agreement to help you save time."}],faqLabel:"Frequently asked questions",faqItems:[{id:"how-to-upload",question:"How do I upload a lease agreement?",answer:"To upload a lease, sign into your Zillow Rental Manager account and select the Manage tenants tab under My property. From there, click Get started and then click on Add my existing lease to upload a lease. Then, use dynamic fields to digitally update it with dates, text, check boxes and strike-throughs. Our system will then generate a page where eSignature placeholders can be added, so you can begin requesting signatures from your tenants. Landlords can upload and electronically sign a lease agreement from anywhere in the US."},{id:"legally-binding",question:"What makes a lease agreement legally binding?",answer:"By signing a lease, you and your tenant are agreeing to follow the terms and conditions outlined in the rental agreement. While our leases are signed electronically, rather than in person, eSignatures still create a legally binding and valid rental lease agreement."}],note:"Currently available in Alabama, Alaska, Arizona, California, Colorado, Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Michigan, Minnesota, Mississippi, Missouri, Nevada, New Hampshire, New Jersey, New Mexico, North Carolina, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, Tennessee, Texas, Washington, West Virginia, and Wyoming."}},{image:{src:"https://www.zillowstatic.com/bedrock/app/uploads/sites/51/2025/11/artwork-2-1.svg",alt:""},title:"Collect payments online",body:"Get paid for rent, utilities, move-in fees and more for free.",linkLabel:"Learn more →",detail:{eyebrow:"Collect payments online",title:"Streamline rent collection with Rental Manager",lede:"Collect rent, utility payments and security deposits online — for free. There's never been an easier way to manage your rental's incoming cash flow.",cta:{label:"Post your listing free",href:"https://www.zillow.com/rental-manager/post-a-listing/"},proofLabel:"By the numbers",proof:[{value:"Free",body:"Collecting rent online is free for landlords, and free for tenants if they pay with ACH (bank transfer)."},{value:"2.95%",body:"Tenants will pay a 2.95% fee when using a credit card and a $9.95 fee for debit payments."},{value:"5 business days",body:"Money can take up to 5 business days to be deposited in your account depending on the renter's payment method."}],rowsLabel:"Easy for landlords and renters",rows:[{image:`${lR}Collect-R_Free_671x400_Desktop${lL}
2`,imageAlt:"Free online rent collection for landlords",imageRatio:"16:9",title:"Free rent collection for landlords",body:"Rent collection is free for landlords with Rental Manager, and there's no fee for tenants who pay with ACH. Tenants can also pay rent with a credit or debit card for a small fee."},{image:`${lR}Collect-R_Collect_671x400_Desktop${lL}`,imageAlt:"Automated rent reminders for tenants",imageRatio:"16:9",title:"Collect rent on time with more reliability",body:"Rental Manager sends tenants automated reminders when it's time to pay rent, so you don't have to. And because on-time payments can help tenants build credit, they'll have even more reason to take advantage of the ways we make paying easy."},{image:`${lR}Collect-R_Organized_671x400_Desktop${lL}`,imageAlt:"Rent collection records organized for tax season",imageRatio:"16:9",title:"Stay organized with each transaction",body:"Easily keep track of your income with all your rent collection documentation in one place, plus quick access to 1099s for tax season."}],faqLabel:"Frequently asked questions",faqItems:[{id:"how-to-start",question:"How do I get started with online rent collection?",answer:"First, go to your property in Zillow Rental Manager and select the Payments tab. Enter your tenant's email address, and we will send an email inviting them to complete the process. Once they accept the invitation and set up payments, you will be able to collect your next rent payment online."},{id:"tenant-benefit",question:"How does collecting rent online benefit my tenants?",answer:"Online rent collection through Zillow provides tenants with a more convenient and flexible payment option by eliminating the need to mail checks. It also reduces the risk of late fees because tenants can set up recurring payments on the date that their rent is due. Your tenants can also build credit with each on-time payment."},{id:"cost",question:"How much does it cost to use online rent collection?",answer:"Collecting rent online is free for landlords, and free for tenants if they pay with ACH (bank transfer). Tenants will pay a 2.95% fee when using a credit card and a $9.95 fee for debit payments."},{id:"deposit-timing",question:"How long will it take for online rent payments to be deposited into my account?",answer:"You will see the date your tenant initiated rent payment on your dashboard. Money can take up to 5 business days to be deposited in your account depending on the renter's payment method."}]}}],ctas:[{label:"Post your listing",href:"https://www.zillow.com/rental-manager/post-a-listing/",style:"primary"}]},lM={stat:"**30 million**",tocLabel:"Network reach",headline:"Access the network with over 30 million visitors each month* to help you find your perfect renter.",subtext:"Listing elsewhere doesn't reach them.",cta:{variant:"button",label:"Post your listing",href:"https://www.zillow.com/rental-manager/post-a-listing/",style:"primary"},audience:{title:"Renter audience reach, past 12 months",rows:[{label:"Zillow Rentals Network",value:"1.6B visits",fill:100},{label:"Shared with nearest competitor",value:"27% overlap",fill:27}],note:"73% of Zillow Rentals visitors did not visit the nearest competitor's site. Illustrative visual based on published Zillow network stats."},image:{src:`${lR}Post-Listing_Made-simple_465x500_Desktop${lL}`,alt:"Landlord messaging an interested renter in Zillow Rental Manager",ratio:"16:9",cropTop:!0}},lH={heading:"Results from portfolios like yours",subheading:"Small landlords to national operators — outcomes, not adjectives.",reviews:[{quote:"Zillow simplifies the whole rental process from listing to leasing to applications and payments.",name:"Jeff C.",role:"OK"},{quote:"While Zillow kept the steps to rent my property simple, the process and outcome were excellent. I've found a renter and the process of signing the lease through Zillow was great! Thank-you!",name:"Veronica P.",role:"WI"},{quote:"I personally have 20 rentals and I have every unit on Zillow Rental Manager.",name:"Joe W.",role:"FL"}]},lD={eyebrow:"Zillow Rentals",heading:"Reach **zillions** of renters",ctaLabel:"Watch now",youtubeId:"xpJYiX0BxLU",title:"Zillow Rentals — Apartment Renters, Delivered",thumbnailAlt:"Zillow Rentals brand film thumbnail"},lq={heading:"Your next renter is searching right now",body:"Post free and your listing goes live across Zillow, Trulia and HotPads.",ctas:[{label:"Post a listing",href:"https://www.zillow.com/rental-manager/
2post-a-listing/",style:"primary"},{label:"Ask a quick question",style:"ghost",chat:!0}],helpPrefix:"Growing past 25 units?",helpLinkLabel:"Talk to sales",helpLinkHref:"https://www.zillow.com/rentals-network/contact-sales/"},lW={title:"About this AI experience",body:"This is an AI-powered feature based on available Zillow content and related inputs. Responses are for informational purposes only, may not be complete or accurate, and should not be relied on as legal, financial, housing, or property management advice. Users should independently verify important information.\n\nZillow is committed to fair housing and respectful renting. This feature must be used in accordance with Zillow’s Respectful Renting Pledge and applicable fair housing laws. It should not be used to request, generate, or rely on content that discriminates against, excludes, discourages, or expresses a preference for any person based on race, color, religion, sex, sexual orientation, gender identity, disability, familial status, national origin, source of income where protected, or any other characteristic protected under applicable law."},l$="Comscore Media Metrix® Multi-Platform: Custom-defined list: Zillow Rentals Expanded Network, Total Visits, Oct 2024 – Sept 2025, U.S.",lU="Comscore Media Metrix® Multi-Platform: Custom-defined list: Zillow Rentals + Realtor.com Rentals, Oct '23 – Sept '24 data uses a custom Audience Duplication UV number for [E] Zillow Rentals & [E] Realtor.com Rentals to reflect new partnership), Calculated total unique visitors based on non-shared unique visitors, Apartments.com Network, Total Visits, Oct 2023 – Sept 2024, U.S.",lF=[{key:1,text:"73%: Comscore Media Metrix® Multi-Platform, custom-defined list: Zillow Rentals, Apartments.com Network, Total Audience, July 2022 – June 2023, U.S."},{key:2,text:"1.6B: Comscore Media Metrix® Multi-Platform: Custom-defined list: Zillow Rentals Expanded Network, Apartments.com Network, Apartment List Sites, and Zumper Inc, Total Visits, Jan 2025 – Jun 2025, U.S."},{key:3,text:`#1: ${l$}`},{key:4,text:"3.2M+: Zillow Internal Data, sum of email and phone contacts initiated from property listing page, 2022."},{key:5,text:"9 fewer days: Zillow internal data detailing 2026 listing performance, March 2026."},{key:6,text:`2.4x: ${lU}`}],lB="Zillow Internal Data, Average monthly reporting of Email Lead+ Phone Lead + Web Referrals Metrics through Zillow Rental Network, consisting of Zillow.com, Hotpads.com, and Trulia.com, Oct 2023 – Sept 2024.",lG={headline:"Your next renter is already searching on the **#1 rentals network**",stats:[{value:"73%",caption:"of the renters searching here never visit the nearest competitor",citation:1},{value:"1.6",caption:"billion visits a year you can't reach anywhere else.",citation:2}],ctas:[{label:"Post your listing",href:"https://www.zillow.com/rental-manager/post-a-listing/",style:"primary"},{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"secondary"}],personaPicker:{headline:"Make this page yours",subhead:"One quick selection and we'll personalize the page around you.",options:[{personaId:"Landlord",intent:"owns properties",icon:"house",title:"I'm an individual landlord",description:"I own and manage my own rental properties.",badge:"1–24 units",badgeColor:"accent-1"},{personaId:"Manager",intent:"manages properties",icon:"duplex",title:"Property manager or large management company",description:"I manage a large portfolio of small properties and syndicate from a feed.",badge:"1–24 units",badgeColor:"accent-2"},{personaId:"Executive",intent:"both owns and manages properties",icon:"buildings",title:"I'm a multifamily or apartment operator",description:"I manage apartment buildings.",badge:"25+ units",badgeColor:"accent-3"}]}},lK={heading:"Prefer to compare? Three solutions, one network.",tocLabel:"Compare plans",subheading:"Every listing reaches renters across Zillow, Trulia and HotPads — the difference is scale and support.",plans:[{chipColor:"accent-1",chip:"Free to start · 1–24 units",title:"Zillow Rental Manager",for:"For independent landlords and small operators — everything from listing to rent collection in one place.",price:{headline:"Free to post your listing",caption:"Optional paid boost per listing · no subscription required"},features:["Listings syndicated to Zillow, Trulia & HotPads","Credit, background & eviction screening","State-specific leases with e-signatures","Online rent c
2ollection with autopay"],ctaId:"zillow_compare_cta_rental_manager",cta:{label:"Post your first listing free",href:"https://www.zillow.com/rental-manager/post-a-listing/",style:"primary"}},{chipColor:"accent-2",chip:"Single-family homes · 1–24 units",title:"Single Family Advertising",for:"The most reach for the least cost — list once across the whole network, then screen, lease and get paid in the same place.",price:{headline:"Free to start for portfolios under 25 units",caption:"Post, screen, lease and collect rent, no subscription required"},features:["Listing across Zillow, Trulia & HotPads — 1.6B annual visits","Screening, leases & rent collection in one dashboard","Free to start — no subscription required","Reaches the network 73% of renters use exclusively"],ctaId:"zillow_compare_cta_single_family",cta:{label:"Talk to sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"secondary"}},{chipColor:"accent-3",chip:"Custom packages · 25+ units",title:"Multifamily Advertising",for:"For apartment communities and portfolio operators who need qualified leads at scale.",price:{headline:"Flexible pricing, your way",caption:"Subscription (Rent Connect) or pay-per-lease (Lease Connect)"},features:["4.6M+ high-intent prospects delivered monthly","Integrates with your PMS & syndication feeds","Dedicated partner support & market insights","Performance dashboards & lead tracking"],ctaId:"zillow_compare_cta_multifamily",cta:{label:"Talk to sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"secondary"}}]},lV="https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_",lZ="_png_CMS_Extra_Large.auto",lY="Choose your perfect multifamily advertising solution",lJ={label:"Get started",href:"https://www.zillow.com/rentals-network/contact-sales/"},lX=[{name:"Signature",icon:"trophy",intro:"Stand out with the most exposure & immersive listing engagement.",includes:"Premium",features:["AI Virtual Staging","Dynamic ads on TikTok","Standout map icon","Signature property listing","Advanced Moody's Market Report","More search and email visibility"]},{name:"Premium",icon:"magnifier",intro:"Amplify your presence on the Zillow network and beyond with Facebook and Instagram ads.",includes:"Enhanced",features:["Social media ads on Instagram and Facebook","Premium Search Card","Professional media production credits","More search and email visibility"]},{name:"Enhanced",icon:"monitor",intro:"Get the highest level of exposure and more insights to maximize your reach.",includes:"Base",features:["Sponsored Search placement","Link to your community's website","Email & Push notification priority"]},{name:"Base",icon:"piggy-bank",wide:!0,intro:"Get the advertising essentials on the #1 most visited rentals network.",features:["Reach across Zillow, Trulia, HotPads, Rent.com, ApartmentGuide, Redfin, Realtor.com","Verified Source badge","Basic Moody's Market Report","Billing model flexibility: Flat Rate or Pay-Per-Lease"]}],lQ={image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Illustration_multi-family-apartment-building_160x160_svg_CMS_Extra_Large.auto",alt:""},title:"Multifamily advertising solutions",body:"Multifamily advertising tailored to your business, whether you manage 25 units or thousands.",linkLabel:"Learn more →",detail:{eyebrow:"Multifamily advertising solutions",title:"Advertise with Zillow Rentals",lede:"Want to get more renters in the door? Partner with the #1 most-visited rentals network to achieve more for your business.",cta:{label:"Post your listing",href:"https://www.zillow.com/rental-manager/post-a-listing/"},secondaryCta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"},proofLabel:"By the numbers",proof:[{value:"#1",body:"most-visited rentals network",citationText:l$},{value:"2.4x",body:"more visits than the nearest competitor",citationText:lU},{value:"4.6M+",body:"prospects delivered to multifamily rental properties monthly",citationText:lB}],rowsLabel:"Get real results with powerful multifamily marketing",rows:[{image:`${lV}Rental-Advertising_Reach_671x400_Desktop${lZ}`,imageAlt:"Rental listings reaching renters across the Zillow Rentals network",title:"Reach the most renters",body:"With Zillow Rentals, your listings will be featured on Zillow, Hotpads, Trulia and Realtor.com. We're also adding millions of unique visitors with our exclusive syndication of multifamily listings to Realtor.com and national renter marketing campaign."},{image:`${lV}Rental-Advertising_Time_671x400_Desktop${lZ}`,imageAlt:"A detailed renter profile shown alongside a rental listing lead",title:"Save time with informed renters",body:"With Zillow Rentals, 70% of leads include a detailed renter profile with information like income, credit score, desired move-in date and more."},{image:`${lV}Rental-Advertising_Strategy_671x400_Desktop${lZ}`,imageAlt:"Property, renter, and market insights informing a marketing strategy",title:"Strengthen your marketing strategy",body:"Inform your decision-making and maximize your return on ad spend with property, renter and market insights. With Zillow Rentals, you have the flexibility to adjust and optimize your property exposure across your portfolio."}],packagesLabel:lY,packages:lX,packagesCta:lJ,note:"Multifamily advertising tailored to your business, whether you manage 25 units or thousands. Choose what works now and adjust as you grow."}},l0=lO.cards[0],l1=lO.cards[1],l2=lO.cards[2],l5=lO.cards[3],l4={heading:lO.heading,body:lO.body,cards:[{...l0,detail:l0.detail&&{...l0.detail,cta:{label:"Post your listing",href:"https://www.zillow.com/rental-manager/
2post-a-listing/"},secondaryCta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"},proofLabel:"By the numbers",proof:[{value:"30 million",body:"Access the network with over 30 million visitors each month* to help you find your perfect renter."},{value:"Most visited",body:"List your house, townhome, condo, apartment or room for rent on Zillow Rental Manager and it will appear on the most visited rental network.*"}],bulletsBandLabel:"What premium adds",bulletsBandItems:[{title:"Increased exposure",body:"Get more eyes on your listing from renters searching in your area."},{title:"Pricing & market insights",body:"Track listing performance data and trends to price your rental competitively."},{title:"Listing recommendations",body:"Track your listing's performance and trends in your market to find out if you've positioned your rental competitively."}]}},{...l1,detail:l1.detail&&{...l1.detail,cta:{label:"Post your listing",href:"https://www.zillow.com/rental-manager/post-a-listing/"},secondaryCta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"},proofLabel:"By the numbers",proof:[{value:"Free",body:"The application and tenant screening reports are free for landlords."},{value:"$35",body:"Renters pay a $35 application fee, which includes tenant screening reports, and allows them to apply to your listing and an unlimited number of participating rentals for 30 days."},{value:"Experian and CIC",body:"Zillow partners with industry leaders Experian and CIC to provide you with an in-depth tenant credit and background check."}],faqLabel:"Frequently asked questions",faqItems:[{id:"how-it-works",question:"How does online tenant screening work?",answer:"All applicants fill out an online rental application with information about their current household makeup, prior residences, contact information and income. Zillow Applications include a credit report from Experian and a background check from CIC. You can review completed applications, including tenant screening reports, in your Rental Manager account."},{id:"cost",question:"How much does it cost to screen a tenant?",answer:"The application and tenant screening reports are free for landlords. Renters pay a $35 application fee, which includes tenant screening reports, and allows them to apply to your listing and an unlimited number of participating rentals for 30 days."},{id:"turnaround",question:"How long do tenant credit and background checks take?",answer:"Tenant credit and background checks are included as part of a prospective renter's application — no additional waiting required. In some cases, one or both screening reports cannot be completed."},{id:"non-zillow-leads",question:"Can I screen prospective tenants if leads don't come from Zillow?",answer:"Yes! You can screen any prospective tenant, even if they don't come from Zillow. To do so, go to the Applications tab for that property in Rental Manager and click the Send application link. Then, you can invite them to apply via an email invitation to kick off the application and screening process."}]}},{...l2,detail:l2.detail&&{...l2.detail,cta:{label:"Post your listing",href:"https://www.zillow.com/rental-manager/post-a-listing/"},secondaryCta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"},faqLabel:"Frequently asked questions",faqItems:[{id:"how-to-upload",question:"How do I upload a lease agreement?",answer:"To upload a lease, sign into your Zillow Rental Manager account and select the Manage tenants tab under My property. From there, click Get started and then click on Add my existing lease to upload a lease. Then, use dynamic fields to digitally update it with dates, text, check boxes and strike-throughs. Our system will then generate a page where eSignature placeholders can be added, so you can begin requesting signatures from your tenants. Landlords can upload and electronically sign a lease agreement from anywhere in the US."},{id:"legally-binding",question:"What makes a lease agreement legally binding?",answer:"By signing a lease, you and your tenant are agreeing to follow the terms and conditions outlined in the rental agreement. While our leases are signed electronically, rather than 
2in person, eSignatures still create a legally binding and valid rental lease agreement."}]}},{...l5,detail:l5.detail&&{...l5.detail,cta:{label:"Post your listing",href:"https://www.zillow.com/rental-manager/post-a-listing/"},secondaryCta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"},proofLabel:"By the numbers",proof:[{value:"Free",body:"Collecting rent online is free for landlords, and free for tenants if they pay with ACH (bank transfer)."},{value:"2.95%",body:"Tenants will pay a 2.95% fee when using a credit card and a $9.95 fee for debit payments."},{value:"5 business days",body:"Money can take up to 5 business days to be deposited in your account depending on the renter's payment method."}],faqLabel:"Frequently asked questions",faqItems:[{id:"how-to-start",question:"How do I get started with online rent collection?",answer:"First, go to your property in Zillow Rental Manager and select the Payments tab. Enter your tenant's email address, and we will send an email inviting them to complete the process. Once they accept the invitation and set up payments, you will be able to collect your next rent payment online."},{id:"tenant-benefit",question:"How does collecting rent online benefit my tenants?",answer:"Online rent collection through Zillow provides tenants with a more convenient and flexible payment option by eliminating the need to mail checks. It also reduces the risk of late fees because tenants can set up recurring payments on the date that their rent is due. Your tenants can also build credit with each on-time payment."},{id:"cost",question:"How much does it cost to use online rent collection?",answer:"Collecting rent online is free for landlords, and free for tenants if they pay with ACH (bank transfer). Tenants will pay a 2.95% fee when using a credit card and a $9.95 fee for debit payments."},{id:"deposit-timing",question:"How long will it take for online rent payments to be deposited into my account?",answer:"You will see the date your tenant initiated rent payment on your dashboard. Money can take up to 5 business days to be deposited in your account depending on the renter's payment method."}]}},lQ],ctas:lO.ctas},l3={stat:"**73%**",citationKey:1,tocLabel:"Network reach",headline:"of our visitors didn't visit the nearest competitors",subtext:"Listing elsewhere doesn't reach them.",cta:{variant:"scroll",label:"See which plan puts you in front of them →",sectionId:"landing_page__compare"},audience:{title:"Renter audience reach, past 12 months",rows:[{label:"Zillow Rentals Network",value:"1.6B visits",fill:100},{label:"Shared with nearest competitor",value:"27% overlap",fill:27}],note:"73% of Zillow Rentals visitors did not visit the nearest competitor's site. Illustrative visual based on published Zillow network stats."}},l6={eyebrow:"RENTERS NETWORK RESOURCES",heading:"Worth a read",topics:[{id:"advertising",label:"Advertising",icon:"signal",interest:{limit:3,value:"Zillow Rentals advertising and listing-exposure case studies — packages, syndication, and reaching more qualified renters",structural_filters:{categorical_content_modality:"text",editorial_type:["Case Study"]}}},{id:"operations",label:"Operations",icon:"sliders",interest:{limit:3,value:"property management operations case studies — screening, applications, leasing workflow, and cost efficiency on Zillow Rental Manager",structural_filters:{categorical_content_modality:"text",editorial_type:["Case Study"]}}},{id:"learning",label:"Learning",icon:"book",interest:{limit:3,value:"landlord and property-manager learning resources, guides, and case studies for succeeding across the Zillow Rentals network",structural_filters:{categorical_content_modality:"text",editorial_type:["Case Study"]}}},{id:"automation",label:"Automation",icon:"bolt",interest:{limit:3,value:"listing-feed sync, PMS integration, and automation case studies keeping Zillow Rentals listings always up to date",structural_filters:{categorical_content_modality:"text",editorial_type:["Case Study"]}}}],emptyState:{title:"Nothing filed under that yet",body:"Pick another topic to see what's here."},source:{name:"atoms",params:{custom_interests:[{limit:12,value:"property management case studies and customer success stories showing measurable leasing and cost outcomes across the Zillow Rentals network",structural_filters:{categorical_content_modality:"text",editorial_type:["Case Study"]}}],exclude_atom_ids:[],include_article_detail:!0}}},l8={heading:"Frequently asked questions",items:["cost","speed","pms","mf","switch"].map(e=>{let t=lT.items.find(t=>
2t.id===e);if(!t)throw Error(`zillowHomeFaq: no FAQ item with id "${e}"`);return t})},l7={heading:"Your next renter is searching right now",body:"Get in front of them on the network 73% of renters use exclusively.",ctas:[{label:"Post a listing",href:"https://www.zillow.com/rental-manager/post-a-listing/",style:"primary"},{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"ghost"}],helpPrefix:"Still need help?",helpLinkLabel:"Ask a quick question"};function l9(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ie,{content:lz}),(0,l.jsx)(iu,{content:lI}),(0,l.jsx)(si,{content:lO}),(0,l.jsx)(su,{content:lD}),(0,l.jsx)(sN,{content:lM}),(0,l.jsx)(s3,{content:l6}),(0,l.jsx)(lf,{content:lH}),(0,l.jsx)(lb,{content:l8}),(0,l.jsx)(lS,{content:lq})]})}function ce(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ie,{content:lC}),(0,l.jsx)(iu,{content:lI}),(0,l.jsx)(si,{content:lN}),(0,l.jsx)(su,{content:lD}),(0,l.jsx)(sN,{content:lA}),(0,l.jsx)(s3,{content:l6}),(0,l.jsx)(lf,{content:lE}),(0,l.jsx)(lb,{content:lT}),(0,l.jsx)(lS,{content:lP})]})}let ct={personaBadge:"Personalized for you",headline:"Fill units at scale on the **#1 rentals network**",ctas:[],recommendation:{image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Price-Rental_Hero_465x380_Desktop_png_CMS_Extra_Large.auto",alt:"Apartment buildings along a landscaped walkway in a multifamily community"},badge:"Recommended",title:"Multifamily Advertising",why:"Built to fill many units at once — network-scale renter demand, plus the integrations and support to convert it.",bullets:["70% of leads include a renter profile — income, credit score, move-in date","Rent Connect or Lease Connect — flexible packages","Community-level promotion across the network"],cta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"}}},ca={heading:"More leases. **Less noise.**",body:"Posting a listing is just the beginning. Upload & send leases for signing, screen tenants, collect rent and fill vacancies with over 30 million monthly visitors.",cards:[{image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Illustration_multi-family-apartment-building_160x160_svg_CMS_Extra_Large.auto",alt:""},title:"Multifamily advertising solutions",body:"Multifamily advertising tailored to your business, whether you manage 25 units or thousands.",linkLabel:"Learn more →",detail:{eyebrow:"Multifamily advertising solutions",title:"Advertise with Zillow Rentals",lede:"Want to get more renters in the door? Partner with the #1 most-visited rentals network to achieve more for your business.",cta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"},proofLabel:"By the numbers",proof:[{value:"#1",body:"most-visited rentals network",citationText:l$},{value:"2.4x",body:"more visits than the nearest competitor",citationText:lU},{value:"4.6M+",body:"prospects delivered to multifamily rental properties monthly",citationText:lB}],rowsLabel:"Get real results with powerful multifamily marketing",rows:[{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Rental-Advertising_Reach_671x400_Desktop_png_CMS_Extra_Large.auto",imageAlt:"Rental listings reaching renters across the Zillow Rentals network",title:"Reach the most renters",body:"With Zillow Rentals, your listings will be featured on Zillow, Hotpads, Trulia and Realtor.com. We're also adding millions of unique visitors with our exclusive syndication of multifamily listings to Realtor.com and national renter marketing campaign."},{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Rental-Advertising_Time_671x400_Desktop_png_CMS_Extra_Large.auto",imageAlt:"A detailed renter profile shown alongside a rental listing lead",title:"Save time with informed renters",body:"With Zillow Rentals, 70% of leads include a detailed renter profile with information like income, credit score, desired move-in date and more."},{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Rental-Advertising_Strategy_671x400_Desktop_png_CMS_Extra_Large.auto",imageAlt:"Property, renter, and market insights informing a marketing strategy",title:"Strengthen your marketing strategy",body:"Inform your decision-making and maximize your return on ad spend with property, renter and market insights. With Zillow Rentals, you have the flexibility to adjust and optimize your property exposure across your portfolio."}],packagesLabel:lY,packages:lX,packagesCta:lJ,note:"Multifamily advertising tailored to your business, whether you manage 25 units or thousands. Choose what works now and adjust as you grow."}},{image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Illustration_marketing-flexibility_160x160_svg_Original.svg",alt:""},title:"Pay-per-lease option: Now part of Base Package",body:"You only pay when a lease is signed — so you know your marketing dollars are driving results.",linkLabel:"Learn more →",detail
2:{eyebrow:"Pay-per-lease",title:"Pay-per-lease option: Now part of Base Package",lede:"Now, there are more ways to set up your Base Package.",cta:{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/"},stepsLabel:"Unlock risk-free, baseline exposure on the #1 most visited rentals network",steps:[{icon:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Illustration_rental-data-laptop_160x160_svg_Original.svg",alt:""},title:"Use your third-party feed service or MLS as usual",body:"Guest cards are pushed to your property management system through API integration."},{icon:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Illustration_marketing-flexibility_160x160_svg_Original.svg",alt:""},title:"Easily upgrade to higher tier packages for more exposure and advanced ad features.",body:"You only pay when a lease is signed — so you know your marketing dollars are driving results."},{icon:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Illustration_network_160x160_svg_Original.svg",alt:""},title:"Leads will be sent to you as they come in",body:"Post to a network of millions of renters across three of the top five rentals search sites."}],rowsLabel:"How pay-per-lease works",rows:[{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Lease-C_Integration_705x380_Tablet_png_CMS_Extra_Large.auto",imageAlt:"Guest card data integrated into a property management system",title:"Simple integration",body:"Keep using your current property management software — we'll push guest cards to it through API integration. No new software to learn, and no hassle of manual guest-card entries. Part of the Yardi Standard Interface Partnership Program."},{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Lease-C_Results_705x380_Tablet_png_CMS_Extra_Large.auto",imageAlt:"Ad performance dashboard showing impressions, leads, and cost metrics",title:"Results that matter",body:"Advertise with confidence, knowing that your marketing investment is producing results. Every dollar spent is attributed to a signed lease."},{image:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Lease-C_Attribution_705x380_Tablet_png_CMS_Extra_Large.auto",imageAlt:"Leasing professional holding a tablet with a lease attribution dashboard overlay",title:"Clear attribution",body:"Our property management integration allows for transparent attribution — you only pay when Zillow is the first source of contact, making it easier than ever to track your cost per lease."}],bulletsBandLabel:"Included with Zillow Rentals",bulletsBandItems:[{title:"Your all-in-one account portal",body:"Easily manage your Zillow advertising account with 24/7 access to billing, performance analytics and more."},{title:"Immersive 3D tours",body:"Help get more eyes on your property — and more renters in the door — with Zillow 3D Home™ tours."}]}}],ctas:[{label:"Talk to sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"primary"}]},cr={stat:"**2.4x**",citationKey:6,tocLabel:"Network reach",headline:"more visits than the nearest competitor",cta:{variant:"button",label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"primary"},audience:{title:"Renter audience reach, past 12 months",rows:[{label:"Zillow Rentals Network",value:"1.6B visits",fill:100},{label:"Shared with nearest competitor",value:"27% overlap",fill:27}],note:"73% of Zillow Rentals visitors did not visit the nearest competitor's site. Illustrative visual based on published Zillow network stats."},image:{src:"https://delivery.digitallibrary.zillowgroup.com/public/SZ_Rentals_Rental-Advertising_Reach_671x400_Desktop_png_CMS_Extra_Large.auto",alt:"Renter browsing an apartment listing syndicated across Zillow, Trulia, HotPads and Realtor.com",ratio:"16:9"}},cn={heading:"Ready to achieve more for your portfolio?",body:"Take your property marketing to the next level with Zillow Rentals. See how we can empower you to reach more renters and maximize your return.",ctas:[{label:"Contact sales",href:"https://www.zillow.com/rentals-network/contact-sales/",style:"primary"}],helpPrefix:"Still need help?",helpLinkLabel:"Ask a quick question"};function co(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ie,{content:ct}),(0,l.jsx)(iu,{content:lI}),(0,l.jsx)(si,{content:ca}),(0,l.jsx)(su,{content:lD}),(0,l.jsx)(sN,{content:cr}
2),(0,l.jsx)(s3,{content:l6}),(0,l.jsx)(lf,{content:lE}),(0,l.jsx)(lb,{content:lT}),(0,l.jsx)(lS,{content:cn})]})}let ci="landing_page__disclaimer",cs=`**${lW.title}**`,cl=lW.body,cc={id:"zillow",components:{},motion:{tokens:{duration:{fast:.14,base:.26,slow:.48}},components:{button:{onHover:(e,t)=>M.gsap.to(e,{scale:1.02,duration:t.duration.base,ease:t.ease.standard}),onLeave:(e,t)=>M.gsap.to(e,{scale:1,duration:t.duration.base,ease:t.ease.standard})}},named:{"persona-hero-entrance":(e,t)=>{let a="at 72% 38%",r=e.querySelectorAll("[data-hero-rise]"),n=M.gsap.timeline({paused:!0});return n.fromTo(e,{clipPath:`circle(6% ${a})`},{clipPath:`circle(165% ${a})`,duration:1.6*t.duration.slow,ease:"expo.out",clearProps:"clipPath"},0),r.length>0&&n.fromTo(r,{opacity:0,y:12},{opacity:1,y:0,duration:t.duration.base,ease:t.ease.enter,stagger:.08},.46*t.duration.slow),requestAnimationFrame(()=>requestAnimationFrame(()=>{e.isConnected&&n.play()})),n},"persona-hero-recompose-out":(e,t)=>{let a=e.querySelectorAll("[data-hero-rise]");return M.gsap.to(a,{filter:"blur(18px)",opacity:.12,scale:.99,duration:op(t),ease:t.ease.exit})},"persona-hero-recompose-in":(e,t)=>
2{let a=e.querySelectorAll("[data-hero-rise]"),r=M.gsap.timeline({paused:!0});return a.length>0&&r.fromTo(a,{filter:"blur(18px)",opacity:.12,scale:.99},{filter:"blur(0px)",opacity:1,scale:1,duration:1.8*t.duration.base,ease:t.ease.enter,clearProps:"filter,opacity,transform"}),requestAnimationFrame(()=>requestAnimationFrame(()=>{e.isConnected&&r.play()})),r},"stats-recompose-out":(e,t)=>{let a=e.querySelectorAll("[data-stats-rise]");return M.gsap.to(a,{filter:"blur(18px)",opacity:.12,scale:.99,duration:op(t),ease:t.ease.exit})},"stats-recompose-in":(e,t)=>{let a=e.querySelectorAll("[data-stats-rise]"),r=M.gsap.timeline({paused:!0});return a.length>0&&r.fromTo(a,{filter:"blur(18px)",opacity:.12,scale:.99},{filter:"blur(0px)",opacity:1,scale:1,duration:1.8*t.duration.base,ease:t.ease.enter,clearProps:"filter,opacity,transform"}),requestAnimationFrame(()=>requestAnimationFrame(()=>{e.isConnected&&r.play()})),r},"resources-unlock-reveal":(e,t)=>{let a="at 50% 45%",r=e.querySelector("[data-resources-flood]"),n=1.6*t.duration.slow,o=M.gsap.timeline();return o.fromTo(e,{clipPath:`circle(0% ${a})`},{clipPath:`circle(165% ${a})`,duration:n,ease:"expo.out",clearProps:"clipPath"},0),r&&o.fromTo(r,{opacity:.92},{opacity:0,duration:n,ease:"expo.out"},0),o},"resources-topic-change":(e,t)=>{let a=e.querySelectorAll('[data-zillow-resources-grid] [data-atom-kind="card"]');return 0===a.length?M.gsap.timeline():M.gsap.fromTo(a,{opacity:0,y:6},{opacity:1,y:0,duration:1.25*t.duration.base,ease:t.ease.enter,stagger:.055,clearProps:"opacity,y"})},"loading-shimmer":(e,t)=>M.gsap.to(e,{backgroundPosition:"-200% 0",duration:3*t.duration.slow,ease:"power1.inOut",repeat:-1})}},personalizationBannerHidden:!0,personaPickerContent:lG.personaPicker,eventBridge:{target_origins:["https://www.zillow.com","https://www.qa.zillow.net","https://iframe-test.knotch.host"],field_casing:"snake_case",events:{view:"knotch:ace:view",hover:"knotch:ace:hover",click:"knotch:ace:click"}},icons:{source:"zillow",catalog:[{name:"document",description:"A formal written deliverable — case study, report, guide, downloadable PDF. Use when the content is a document the reader opens or downloads."},{name:"clipboard",description:"Applications, screening, intake, records. Use for tenant-screening / application-management stories where forms or applicant records are processed."},{name:"pen",description:"Authoring, signing, leases, editing. Use for lease-signing / e-signature, listing creation, or any 'put it in writing' moment."},{name:"dollar",description:"Rent, revenue, payments, pricing. Use for rent-collection, online payments, monetization, or cost-savings stories."},{name:"broadcast",description:"Reach, distribution, advertising, syndication. Use for ad-network reach, listing amplification, or getting a listing in front of more renters."},{name:"target",description:"Goal, precision, qualified leads, targeted outcome. Use for lead-quality, conversion, or 'reach the right renter' stories."},{name:"sync",description:"Two-way sync, integration, PMS connection, staying current. Use for listing-feed / PMS-sync / always-up-to-date stories."},{name:"chart",description:"Performance, analytics, growth, reporting. Use for metrics, ROI, trend, or data-driven decision stories."},{name:"check-bullet",description:"An included-item / requirement-met list marker (thin checkmark). Use as the bullet in a 'what's included' or feature checklist."},{name:"building",description:"Multifamily property, portfolio, apartment community. Use for property-management, multifamily, or portfolio-scale stories."},{name:"check",description:"Confirmation, done, verified, success (filled checkmark). Use for completed states, approvals, or a satisfied requirement."},{name:"refresh",description:"Renewal, retry, re-list, refresh. Use for lease-renewal, re-listing, or 'start again / keep current' stories."},{name:"shield",description:"Protection, screening, trust, fraud prevention. Use for tenant-screening assurance, secure payments, or 'we've got you covered' stories."}],byName:ou},articleOverlay:{Body:function({atom:e}){let t,a=(0,T.useClientConfig)(),{isNavigating:r,sequence:n,currentSlug:o}=(0,L.useArticleOverlay)(),i=(0,eu.useRef)(null),s=!!(n&&n.length>=2&&o);(0,eu.useEffect)(()=>{r&&i.current?.closest('[role="dialog"]')?.scrollTo({top:0,behavior:"smooth"})},[r]);let c=e.atom_metadata.editorial_type,d=e.atom_metadata.headline??e.article.title,{lead:u,rest:p}=(0,n0.splitSummary)(e),m=(()=>{let t=e.article.source_data;if(t&&"object"==typeof t&&"summary"in t){let e=t.summary;if("string"==typeof e&&e.trim().length>0)return e.trim()}return null})()??u,h=e.article.featured_image_url,g="string"==typeof h&&h.length>0&&!h.startsWith("data:")?h:e.atom_metadata.media_url??h,f=n8(e.article.source_data,{heroImageUrl:g}),y=(0,n0.formatReadTime)(e),v=a.displayName?.split(" - ")[0]?.trim(),b=(0,n0.formatAuthors)(e),x=(e.article.authors??[]).map(e=>[e.author.first_name,e.author.last_name].map(e=>e?.trim()??"").filter(e=>e.length>0).join(" ")).filter(e=>e.length>0),w=function(e){if(!e)return null;let t=/^(\d{4})-(\d{2})-(\d{2})/.exec(e);if(!t)return null;let a=Number(t[2])-1;return a<0||a>11?null:`${oc[a]} ${Number(t[3])}, ${t[1]}`}(e.article.post_date),k=[y,c,b&&!/\bzillow\b/i.test(b)?b:null,w,v?`Published on ${v}
2`:null].filter(Boolean),_=function(e){let t=n8(e.article.source_data),a=[];if(t)for(let e of[...t.lead,...t.sections.flatMap(e=>e.body)])"markdown"in e&&a.push(e.markdown);let{rest:r}=(0,n0.splitSummary)(e);r&&a.push(r);let n=/[“"]([^“”"]{40,300})[”"]/g,o=null;for(let e of a){let t;for(n.lastIndex=0;null!==(t=n.exec(e));){let e=od(t[1].trim());/[.!?]$/.test(e)&&e.split(/\s+/).length>=6&&(!o||e.length>o.length)&&(o=e)}}return o}(e);return(0,l.jsxs)("div",{"data-zillow-article-body":"",ref:i,className:"-mx-6 -mb-6 -mt-6 flex flex-col [--za-px:24px] md:[--za-px:56px]",children:[r?(0,l.jsx)("div",{className:"flex min-h-[440px] flex-col justify-center px-8 py-16",children:(0,l.jsx)(nZ.ComponentSkeleton,{state:"pending"})}):(0,l.jsxs)("div",{className:"flex flex-col",children:[g?(0,l.jsx)("div",{className:"aspect-[7/2] w-full overflow-hidden",children:(0,l.jsx)("img",{src:g,alt:"",className:"h-full w-full object-cover"})}):null,(0,l.jsxs)("div",{style:{background:oa,padding:"36px var(--za-px) 28px"},className:"flex flex-col gap-[18px]",children:[c?(0,l.jsx)("div",{style:or,children:(0,l.jsx)(nJ.Label,{data:{text:c},atomId:"zillow_article_eyebrow"})}):null,d?(0,l.jsx)(nY.Headline,{data:{text:d,level:1},atomId:"zillow_article_title"}):null,k.length>0?(0,l.jsx)("div",{className:"uppercase",style:{color:"var(--color-fg-muted)",fontSize:"var(--type-overline)",fontWeight:"var(--font-weight-emphasis)",letterSpacing:"var(--tracking-label-wide)"},children:k.join(" • ")}):null]}),m?(0,l.jsxs)("div",{style:{padding:"26px var(--za-px) 28px",borderBottom:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{style:or,children:(0,l.jsx)(nJ.Label,{data:{text:"Summary"},atomId:"zillow_article_summary_label"})}),(0,l.jsx)("div",{className:"mt-2.5",style:on,children:(0,l.jsx)(nX.Prose,{data:{markdown:m},atomId:"zillow_article_dek"})})]}):null,(0,l.jsxs)("div",{style:{padding:`32px var(--za-px) ${s?"8px":"calc(40px + env(safe-area-inset-bottom))"}`},children:[f?(0,l.jsxs)("div",{className:"flex flex-col",children:[(t=f.lead.filter(e=>!("markdown"in e)||!function(e,t){let a=od(e).trim();if(/^[A-Z][a-z]+ \d{1,2}, \d{4}$/.test(a))return!0;let r=a.toLowerCase();return t.some(e=>e.toLowerCase()===r)}(e.markdown,x))).length>0?(0,l.jsx)("div",{style:oo,className:"flex flex-col gap-4",children:t.map((e,t)=>(0,l.jsx)(oi,{item:e,atomId:`zillow_article_lead_${t}`},`lead-${t}`))}):null,f.sections.map((e,t)=>(0,l.jsxs)("section",{className:"mt-9 first:mt-0",children:[e.heading?(0,l.jsx)(nY.Headline,{data:{text:e.heading,level:3},atomId:`zillow_article_h_${t}`}):null,(0,l.jsx)("div",{style:oo,className:(0,ec.cn)("flex flex-col gap-4",e.heading&&"mt-3.5"),children:e.body.map((e,a)=>(0,l.jsx)(oi,{item:e,atomId:`zillow_article_p_${t}_${a}`},`p-${t}-${a}`))})]},`sec-${t}`))]}):p?(0,l.jsx)("div",{style:oo,className:"flex flex-col gap-4",children:(0,l.jsx)(nX.Prose,{data:{markdown:p,size:"body-sm"},atomId:"zillow_article_rest"})}):null,_?(0,l.jsx)("blockquote",{style:{background:oa,borderLeft:"4px solid var(--color-brand-500)",padding:"28px 36px",margin:"36px 0 0"},children:(0,l.jsxs)("p",{style:{margin:0,fontFamily:"var(--font-heading)",fontSize:"var(--type-h3)",fontWeight:"var(--font-weight-emphasis)",lineHeight:"var(--leading-quote)",letterSpacing:"var(--tracking-flush)",color:"var(--color-fg)"},children:["“",_,"”"]})}):null]})]}),(0,l.jsx)(os,{})]})},frameClassName:"w-[min(95vw,1120px)]"},publishedCard:og,pages:{"/":function(e){let{activePersonaId:t,isBootResolving:a}=(0,R.useActivePersona)();return((0,eu.useEffect)(ob,[]),(0,eu.useEffect)(ow,[]),(0,eu.useEffect)(ia,[]),a)?(0,l.jsx)("div",{className:"min-h-screen",role:"status","aria-busy":"true"}):"Landlord"===t?(0,l.jsx)(l9,{}):"Manager"===t?(0,l.jsx)(ce,{}):"Executive"===t?(0,l.jsx)(co,{}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ie,{content:lG}),(0,l.jsx)(iu,{content:lI}),(0,l.jsx)(ij,{content:lK}),(0,l.jsx)(si,{content:l4}),(0,l.jsx)(su,{content:lD}),(0,l.jsx)(sN,{content:l3}
2),(0,l.jsx)(s3,{content:l6}),(0,l.jsx)(lf,{content:lH}),(0,l.jsx)(lb,{content:l8}),(0,l.jsx)(lS,{content:l7})]})}},afterCanvas:function(e){return(0,l.jsx)("section",{id:`section-${ci}`,"data-section":ci,style:{background:oQ,paddingInline:oJ,paddingTop:"48px",paddingBottom:"calc(48px + var(--cm-dock, 64px))"},className:`scroll-mt-36 ${oX}`,children:(0,l.jsx)("div",{style:o0,className:o1,children:(0,l.jsxs)(oI.Stack,{data:{gap:"md"},atomId:"zillow_disclaimer",children:[(0,l.jsx)(oU.Subhead,{data:{markdown:cs},atomId:"zillow_disclaimer_heading"}),(0,l.jsx)(nX.Prose,{data:{markdown:cl,size:"body-sm"},atomId:"zillow_disclaimer_body"}),(0,l.jsx)(iN.SourceList,{data:{heading:null,variant:"footnotes",entries:lF.map(e=>({number:e.key,text:e.text,href:null}))},atomId:"zillow_disclaimer_sources"})]})})})},chrome:{chatDisclaimer:"This is an AI-powered feature based on available Zillow content and related inputs.",legalDisclaimer:lW,chatCtaSectionId:"personalize_cta",chatCtaLabel:"Get Started →",chatVariant:"zillow"}};var cd=e.i(27202),cu=e.i(42273);function cp(){let{sequence:e,currentSlug:t,isNavigating:a,navigateTo:r}=(0,L.useArticleOverlay)();if(!e||e.length<2||!t)return null;let n=e.findIndex(e=>e.slug===t);if(n<0)return null;let o=(n-1+e.length)%e.length,i=(n+1)%e.length,s=e[o],c=e[i];return(0,l.jsxs)("div",{style:{borderTopColor:"var(--color-border, rgba(0,0,0,.08))"},className:"mt-[var(--space-8,32px)] flex items-start justify-between gap-[var(--space-4,16px)] border-t px-[var(--space-8,32px)] py-[var(--space-6,24px)]",children:[(0,l.jsxs)("button",{type:"button",disabled:a,onClick:()=>r(s.slug),className:"flex flex-col items-start gap-[var(--space-1,4px)] bg-transparent p-0 text-left disabled:opacity-50 hover:opacity-90 focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",children:[(0,l.jsx)("span",{className:"font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-overline)"},children:"Previous"}),(0,l.jsxs)("span",{className:"font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body-sm)"},children:[(0,l.jsx)("span",{"aria-hidden":"true",children:"← "}),s.label]})]}),(0,l.jsxs)("button",{type:"button",disabled:a,onClick:()=>r(c.slug),className:"flex flex-col items-end gap-[var(--space-1,4px)] bg-transparent p-0 text-right disabled:opacity-50 hover:opacity-90 focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",children:[(0,l.jsx)("span",{className:"font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:"Next"}),(0,l.jsxs)("span",{className:"font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body-sm)"},children:[c.label,(0,l.jsx)("span",{"aria-hidden":"true",children:" →"})]})]})]})}function cm({videoUrl:e,title:t,poster:a,autoPlay:r}){let n=(0,cu.parseYouTubeId)(e);return n?(0,l.jsx)("iframe",{src:(0,cu.youtubeEmbedUrl)(n,{autoplay:r}),title:t,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"h-full w-full border-0"}):(0,l.jsx)("video",{src:e,controls:!0,autoPlay:r,playsInline:!0,poster:a,className:"h-full w-full object-cover"})}function ch({heading:e,body:t}){return(0,l.jsxs)("section",{className:"flex flex-col gap-[var(--space-2,8px)]",children:[(0,l.jsx)("h3",{style:{fontSize:"var(--type-h3)"},className:"m-0 font-[var(--font-weight-medium)] leading-[var(--leading-snug)]",children:e}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)"},className:"m-0 leading-[var(--leading-relaxed)]",children:t})]})}function cg({heading:e,items:t}){return(0,l.jsxs)("div",{style:{borderColor:"color-mix(in oklab, var(--surface-accent, var(--color-brand-500)) 24%, transparent)"},className:"flex flex-col gap-[var(--space-3,12px)] rounded-[var(--radius-lg)] border p-[var(--space-5,20px)]",children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)"},className:"m-0 font-[var(--font-weight-medium)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",children:e}),(0,l.jsx)("ul",{className:"flex flex-col gap-[var(--space-2,8px)]",children:t.map((e,t)=>(0,l.jsxs)("li",{style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},className:"grid grid-cols-[0.5rem_1fr] items-baseline gap-[var(--space-3,12px)]",children:[(0,l.jsx)("span",{"aria-hidden":"true",style:{background:"var(--surface-accent, var(--color-brand-500))"},className:"mt-[0.6em] inline-block h-1.5 w-1.5 rounded-[var(--radius-full)]"}),(0,l.jsx)("span",{children:e})]},t))})]})}let cf=em.z.object({block_type:em.z.literal("basic_image"),value:em.z.object({basic_image:em.z.object({file:em.z.string(),alt_text:em.z.string().optional()}).passthrough()}).passthrough()}),cy=em.z.object({block_type:em.z.literal("body_text"),value:em.z.string()}),cv=em.z.object({block_type:em.z.literal("inline_video"),value:em.z.object({url:em.z.string(),caption:em.z.string().optional(),video_id:em.z.string().optional(),provider:em.z.string().optional(),thumbnail_url:em.z.string().optional()}).passthrough()}),cb=em.z.object({body:em.z.array(em.z.unknown())}).passthrough();function cx(e){return e.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\s+/g," ").trim()}function cw(e){return e.split(/(\s+)/).map(e=>/^\s+$/.test(e)?e:e.length<=1?e.toUpperCase():e.charAt(0).toUpperCase()+e.slice(1)).join("")}function ck(e){return 0===e.length?e:e.charAt(0).toUpperCase()+e.slice(1)}function c_(e){return e.replace(/\.+$/,"")}function cj(){let[e,t]=(0,eu.useState)(new Set),a=(0,eu.useCallback)(e=>{t(t=>{if(t.has(e))return t;let a=new Set(t);return a.add(e),a});let a=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;requestAnimationFrame(()=>requestAnimationFrame(()=>{document.getElementById(`section-${e}`)?.scrollIntoView({behavior:a?"auto":"smooth",block:"start"})}))},[]),r=(0,eu.useCallback)(t=>e.has(t),[e]);return{revealed:e,reveal:a,isRevealed:r}}var cS=e.i(77535);function cC({data:e,atomId:t}){let a=(0,eu.useRef)(null),r=(0,eu.useRef)(null),n=(0,eu.useRef)({value:0}),{tokens:o}=(0,M.useBrandMotion)();return(0,oA.useGSAP)(()=>{let e=Math.max(o.duration.slow,1);M.gsap.to(n.current,{value:1,duration:e,ease:o.ease.standard,yoyo:!0,repeat:-1,repeatDelay:1.5,onUpdate:()=>(e=>{if(!a.current)return;let t=180+180*e;a.current.style.background=`conic-gradient(var(--color-brand-500) 0deg ${t}deg, transparent ${t}deg 360deg)`})(n.current.value)}),r.current&&M.gsap.to(r.current,{opacity:1,duration:e,ease:o.ease.standard,yoyo:!0,repeat:-1,repeatDelay:1.5})},{dependencies:[]}
2),(0,l.jsxs)("div",{"data-atom-id":t,"data-portrait-overlay":"",className:"relative mx-auto aspect-square w-full max-w-[min(100%,30rem)] overflow-hidden rounded-[var(--radius-full)]",role:"figure","aria-label":`${e.image.alt}${e.quote.author?` — ${e.quote.author}`:""}`,children:[(0,l.jsx)("img",{src:e.image.src,alt:e.image.alt,className:"absolute inset-0 h-full w-full object-cover"}),(0,l.jsx)("div",{ref:a,"aria-hidden":!0,className:"absolute left-1/2 top-1/2 aspect-square w-[80%] -translate-x-1/2 -translate-y-1/2 rounded-[var(--radius-full)]",style:{background:"conic-gradient(var(--color-brand-500) 0deg 180deg, transparent 180deg 360deg)"}}),(0,l.jsxs)("div",{ref:r,className:"absolute left-1/2 top-1/2 flex aspect-square w-[80%] -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-center px-[var(--space-8,32px)] text-center text-[color:var(--color-primary-on)]",style:{opacity:0},children:[(0,l.jsx)("p",{className:"text-[length:var(--type-body-sm)] font-[var(--font-weight-default)] leading-[var(--leading-snug)]",children:e.quote.text}),(0,l.jsx)("div",{"aria-hidden":!0,className:"my-[var(--space-4,16px)] h-px w-12 bg-[color:var(--color-primary-on)] opacity-60"}),(0,l.jsx)("p",{className:"text-[length:var(--type-body-sm)] font-[var(--font-weight-medium)]",children:e.quote.author}),e.quote.role?(0,l.jsx)("p",{className:"mt-[var(--space-1,4px)] text-[length:var(--type-meta)] opacity-90",children:e.quote.role}):null]})]})}let cI={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto"};function cN({id:e,tocLabel:t,emphasis:a,children:r}){let n=a?{background:`var(--surface-${a}-bg)`,color:`var(--surface-${a}-fg)`,border:`var(--surface-${a}-border, none)`,boxShadow:`var(--surface-${a}-shadow, none)`,"--surface-accent":`var(--surface-${a}-accent)`,"--surface-fg":`var(--surface-${a}-fg)`,"--surface-fg-muted":`var(--surface-${a}-fg-muted, var(--color-fg-muted))`}:{};return(0,l.jsx)("section",{id:`section-${e}`,"data-section":e,...t?{"data-toc-label":t}:{},className:"scroll-mt-36",style:{...n,paddingInline:"var(--space-lg, 64px)",paddingBlock:"var(--space-lg, 64px)"},children:(0,l.jsx)("div",{style:cI,children:r})})}function cA({content:e}){let t={};if(t.media=(0,l.jsx)(cC,{atomId:"wwc_hero_portrait",data:{image:{src:e.portrait.src,alt:e.portrait.alt},quote:{text:e.portrait.quote,author:e.portrait.attribution,role:e.portrait.role}}}),e.eyebrow&&(t.eyebrow=(0,l.jsx)("div",{style:{"--label-weight":"var(--font-weight-light)"},children:(0,l.jsx)(nJ.Label,{data:{text:e.eyebrow},atomId:"wwc_hero_eyebrow"})})),t.header=(0,l.jsx)("div",{style:{"--headline-size":"var(--type-h1)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.headline,level:1},atomId:"wwc_hero_headline"})}),t.body=(0,l.jsx)(oU.Subhead,{data:{markdown:e.body},atomId:"wwc_hero_subhead"}),t.action=(0,l.jsx)("div",{style:{"--row-gap":"20px","--btn-px":"24px","--btn-font":"var(--type-meta)"},children:(0,l.jsx)(cS.Row,{data:{gap:"md"},atomId:"wwc_hero_actions",children:e.ctas.map((e,t)=>(0,l.jsx)(ok.Button,{data:{label:e.label,style:e.style,action:{scroll:{section_id:e.scrollSectionId}}},atomId:`wwc_hero_cta_${t}`,parentSectionId:"wwc_hero_section"},t))})}),e.proof){let{logos:a,caption:r}=e.proof;t.proof=(0,l.jsxs)(oI.Stack,{data:{gap:"sm"},atomId:"wwc_hero_proof",children:[(0,l.jsx)("div",{style:{"--img-h":"2.5rem"},children:(0,l.jsx)(cS.Row,{data:{gap:"md",align:"center"},atomId:"wwc_hero_logos",children:a.map((e,t)=>(0,l.jsx)(oL.Image,{data:{src:e.src,alt:e.alt,size:"sm"},atomId:`wwc_hero_logo_${t}`},t))})}),r?(0,l.jsx)("div",{style:{"--subhead-fg":"var(--color-fg-muted)","--subhead-size":"var(--type-body)"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:r},atomId:"wwc_hero_proof_caption"})}):null]})}return(0,l.jsx)(cN,{id:"wwc_hero_section",tocLabel:e.headline,children:(0,l.jsx)("div",{style:{"--hero-stack-gap":"1.75rem"},children:(0,l.jsx)(o_.Hero,{data:{recipe:"marquee",emphasis:"normal"},atomId:"wwc_hero",parentSectionId:"wwc_hero_section",slots:t})})})}function cE({content:e}){return(0,l.jsxs)(cN,{id:"wwc_choose_view_section",tocLabel:e.heading,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:e.eyebrow,heading:e.heading,subheading:e.subheading}),(0,l.jsx)("div",{className:"mt-[var(--space-8,32px)]",children:(0,l.jsx)(ir.Grid,{data:{cols:3,gap:"md"},atomId:"wwc_choose_view_grid",children:e.cards.map((e,t)=>{let a={media:(0,l.jsx)(oL.Image,{data:{src:e.image.src,alt:e.image.alt,ratio:e.image.ratio},atomId:`wwc_persona_card_img_${t}`}),header:(0,l.jsx)(nY.Headline,{data:{text:e.title,level:3},atomId:`wwc_persona_card_title_${t}`}),body:(0,l.jsx)(nX.Prose,{data:{markdown:e.body},atomId:`wwc_persona_card_body_${t}`}),action:(0,l.jsx)(iC.Link,{data:{label:e.linkLabel,size:"body-sm"},atomId:`wwc_persona_card_cta_${t}`})};return e.eyebrow&&(a.eyebrow=(0,l.jsx)(nJ.Label,{data:{text:e.eyebrow},atomId:`wwc_persona_card_eyebrow_${t}`})),(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal",action:{set_persona:{persona_id:e.personaId,scroll_section_id:e.scrollSectionId}}},atomId:`wwc_persona_card_${t}`,parentSectionId:"wwc_choose_view_section",slots:a},e.personaId)})})})]})}function cT({content:e,onReveal:t,isRevealed:a}){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(cN,{id:"wwc_activate_pledge_section",tocLabel:e.pledge.headline,children:(0,l.jsx)(o_.Hero,{data:{recipe:"builder",emp
2hasis:"announcement"},atomId:"wwc_activate_pledge_hero",parentSectionId:"wwc_activate_pledge_section",slots:{header:(0,l.jsx)(nY.Headline,{data:{text:e.pledge.headline,level:1},atomId:"wwc_activate_pledge_headline"}),body:(0,l.jsx)(nX.Prose,{data:{markdown:e.pledge.body},atomId:"wwc_activate_pledge_body"}),action:(0,l.jsx)(nQ.Button,{variant:"bare",onClick:()=>t(e.pledge.cta.revealSectionId),"data-atom-id":"wwc_activate_pledge_cta",className:(0,ec.cn)("inline-flex min-h-[44px] cursor-pointer items-center justify-center","rounded-[var(--radius-full,9999px)] px-[var(--space-6,24px)] py-[var(--space-2_5,10px)]","text-[length:var(--type-body-sm)] transition-opacity hover:opacity-[0.88]"),style:{background:"var(--color-fg)",color:"var(--color-bg)",fontWeight:"var(--font-weight-light, 400)"},children:e.pledge.cta.label})}})}),a("wwc_activate_commitment_section")&&(0,l.jsxs)(cN,{id:"wwc_activate_commitment_section",children:[(0,l.jsxs)(oC.Split,{data:{ratio:"1:1"},atomId:"wwc_activate_commitment_intro_split",children:[(0,l.jsxs)(oI.Stack,{data:{gap:"md"},atomId:"wwc_activate_commitment_intro_stack",children:[e.commitment.eyebrow?(0,l.jsx)(nJ.Label,{data:{text:e.commitment.eyebrow},atomId:"wwc_activate_commitment_eyebrow"}):null,(0,l.jsx)(nY.Headline,{data:{text:e.commitment.heading,level:2},atomId:"wwc_activate_commitment_headline"}),e.commitment.intro?(0,l.jsx)(nX.Prose,{data:{markdown:e.commitment.intro},atomId:"wwc_activate_commitment_body"}):null]}),(0,l.jsx)(oL.Image,{data:{src:e.commitment.media.src,alt:e.commitment.media.alt,ratio:e.commitment.media.ratio},atomId:"wwc_activate_commitment_hero_image"})]}),(0,l.jsx)("div",{className:"mt-[var(--space-8,32px)]",children:(0,l.jsx)(ir.Grid,{data:{cols:3,gap:"md"},atomId:"wwc_activate_commitment_grid",children:e.commitment.cards.map((e,a)=>{let r={media:(0,l.jsx)(oL.Image,{data:{src:e.image.src,alt:e.image.alt,ratio:e.image.ratio},atomId:`wwc_activate_card_img_${a}`}),header:(0,l.jsx)(nY.Headline,{data:{text:e.title,level:3},atomId:`wwc_activate_card_title_${a}`}),body:(0,l.jsx)(nX.Prose,{data:{markdown:e.body},atomId:`wwc_activate_card_body_${a}`}),action:(0,l.jsx)(iC.Link,{data:{label:e.linkLabel,size:"body-sm"},atomId:`wwc_activate_card_cta_${a}`})};return(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal"},atomId:`wwc_activate_card_${a}`,parentSectionId:"wwc_activate_commitment_section",slots:r,onActivate:()=>t(e.revealSectionId)},e.revealSectionId)})})})]})]})}function cP({data:e,atomId:t}){let a=(0,eu.useRef)(null),r=(0,eu.useRef)([]),n=(0,eu.useRef)([]),o=e.slides.length;return(0,oA.useGSAP)(()=>{a.current&&M.gsap.matchMedia().add("(prefers-reduced-motion: no-preference)",()=>{let e=r.current.filter(e=>null!==e),t=e[0];if(!t)return;let i=e=>e*e*(3-2*e);M.gsap.set(e,{opacity:0,yPercent:6}),M.gsap.set(t,{opacity:1,yPercent:0}),M.ScrollTrigger.create({trigger:a.current,scroller:function(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t).overflowY;if("auto"===e||"scroll"===e)return t;t=t.parentElement}return window}(a.current),start:"top top",end:"bottom bottom",scrub:1.5,onUpdate:t=>{let a=t.progress,r=Math.min(o-1,Math.floor(a*o)),s=6+22*Math.max(0,Math.min(1,a*o-r));n.current.forEach((e,t)=>{if(!e)return;let a=t%o===r;e.style.width=a?`${s}px`:"6px",e.style.opacity=a?"1":"0.35"}),e.forEach((e,t)=>{let r,n,s=t/o,l=(t+1)/o,c=0===t,d=t===o-1;if(a<s-.08)r=+!!c,n=6*!c;else if(a<s+.08)if(c)r=1,n=0;else{let e=i((a-(s-.08))/.16);r=e,n=(1-e)*6}else if(a<l-.08)r=1,n=0;else if(a<l+.08)if(d)r=1,n=0;else{let e=i((a-(l-.08))/.16);r=1-e,n=-(6*e)}else r=+!!d,n=d?0:-6;e.style.opacity=String(r),e.style.transform=`translateY(${n}%)`})}})})},{scope:a,dependencies:[]}),(0,l.jsx)("div",{ref:a,"data-atom-id":t,"data-scroll-carousel":"",className:"relative motion-safe:h-[var(--scroll-carousel-runway,400vh)]",style:{"--scroll-carousel-runway":`${(o+1)*100}vh`},children:(0,l.jsx)("div",{className:"motion-safe:sticky motion-safe:top-0 motion-safe:h-screen motion-safe:overflow-hidden flex flex-col motion-safe:block",children:e.slides.map((e,t)=>(0,l.jsxs)("div",{ref:e=>{r.current[t]=e},className:"motion-safe:absolute motion-safe:inset-0 motion-safe:flex motion-safe:flex-col motion-safe:items-center motion-safe:justify-center py-[var(--space-12,48px)] gap-[var(--space-6,24px)]",children:[(0,l.jsx)(cz,{slide:e}),(0,l.jsx)("div",{className:"hidden motion-safe:flex w-full max-w-[1400px] items-center gap-[var(--space-2,8px)]","aria-hidden":!0,
2children:(0,l.jsx)("div",{className:"flex items-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] bg-[color:var(--color-fg-muted)]/15 px-[var(--space-2_5,10px)] py-[var(--space-1_5,6px)]",children:Array.from({length:o}).map((e,a)=>(0,l.jsx)("div",{ref:e=>{n.current[t*o+a]=e},className:"h-1 rounded-[var(--radius-full)] bg-[color:var(--color-fg)]",style:{width:"6px",opacity:0===a?1:.35}},a))})})]},t))})})}function cz({slide:e}){return(0,l.jsxs)("div",{className:"mx-auto grid w-full max-w-[1400px] grid-cols-1 gap-[var(--space-10,40px)] lg:grid-cols-2 lg:gap-[var(--space-16,64px)]",children:[(0,l.jsxs)("div",{className:"flex flex-col justify-between gap-[var(--space-10,40px)]",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-6,24px)]",children:[(0,l.jsx)("h2",{className:"font-[var(--font-weight-emphasis,600)] leading-[var(--leading-tight)] tracking-[var(--tracking-tight)]",style:{fontFamily:"var(--font-heading)",fontSize:"var(--type-h1)"},children:e.heading}),(0,l.jsx)("p",{className:"leading-[var(--leading-relaxed)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)"},children:e.body}),(0,l.jsx)(cR,{middle:e.middle})]}),(0,l.jsx)(cL,{stat:e.stat})]}),(0,l.jsx)("div",{className:"relative overflow-hidden rounded-[var(--radius-xl)] h-[280px] sm:h-[340px] lg:h-[400px] lg:w-full lg:max-w-[540px] lg:justify-self-end",children:(0,l.jsx)("img",{src:e.media.src,alt:e.media.alt,className:"absolute inset-0 h-full w-full object-cover"})})]})}function cR({middle:e}){return"cards"===e.type?(0,l.jsx)("div",{className:"mt-[var(--space-2,8px)] grid grid-cols-3 gap-[var(--space-3,12px)] lg:max-w-2xl",children:e.items.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] border border-[color:var(--color-fg-muted)]/25 px-[var(--space-4,16px)] py-[var(--space-3,12px)]",children:[(0,l.jsx)("span",{className:"font-[var(--font-weight-medium)] uppercase tracking-[var(--tracking-wide)] text-[color:var(--color-fg)]",style:{fontSize:"var(--type-meta)"},children:e.label}),(0,l.jsx)("span",{className:"leading-[var(--leading-snug)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:e.body})]},t))}):"quote"===e.type?(0,l.jsxs)("blockquote",{className:"mt-[var(--space-2,8px)] border-l-2 border-[color:var(--color-fg-muted)]/40 pl-[var(--space-4,16px)]",children:[(0,l.jsxs)("p",{className:"font-[var(--font-weight-emphasis,600)] italic leading-[var(--leading-snug)] text-[color:var(--color-fg)]",style:{fontFamily:"var(--font-heading)",fontSize:"var(--type-h5)"},children:["“",e.text,"”"]}),(0,l.jsxs)("footer",{className:"mt-[var(--space-3,12px)]",children:[(0,l.jsx)("div",{className:"font-[var(--font-weight-medium)] text-[color:var(--color-fg)]",style:{fontSize:"var(--type-body-sm)"},children:e.attribution}),e.attribution_role?(0,l.jsx)("div",{className:"text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:e.attribution_role}):null]})]}):"logo-cards"===e.type?(0,l.jsx)("div",{className:"mt-[var(--space-2,8px)] grid grid-cols-3 gap-[var(--space-3,12px)] lg:max-w-3xl",children:e.items.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)] rounded-[var(--radius-xl)] border border-[color:var(--color-fg-muted)]/25 px-[var(--space-4,16px)] py-[var(--space-4,16px)]",children:[(0,l.jsx)("div",{className:"flex h-10 items-center justify-start",children:(0,l.jsx)("img",{src:e.logo.src,alt:e.logo.alt,className:"h-10 w-auto max-w-full object-contain object-left"})}),(0,l.jsx)("span",{className:"leading-[var(--leading-snug)] text-[color:var(--color-fg)]",style:{fontSize:"var(--type-body-sm)"},children:e.caption})]},t))}):(0,l.jsx)("div",{className:"mt-[var(--space-2,8px)] flex flex-wrap items-center gap-[var(--space-8,32px)]",children:e.items.map((e,t)=>(0,l.jsx)("img",{src:e.src,alt:e.alt,className:"h-10 max-w-[140px] object-contain"},t))})}function cL({stat:e}){return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"font-[var(--font-weight-emphasis,600)] leading-[var(--leading-none)] tracking-[var(--tracking-tight)] text-[color:var(--color-fg)]",style:{fontFamily:"var(--font-heading)",fontSize:"var(--type-h1)"},children:e.value}),(0,l.jsx)("div",{className:"mt-[var(--space-2,8px)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:e.caption})]})}function cO({content:e}){return(0,l.jsx)(cN,{id:"wwc_pledge_story_section",children:(0,l.jsx)(cP,{data:e,atomId:"wwc_pledge_story"})})}var cM=e.i(26855);e.i(35421);var cH=e.i(39775);function cD({data:e,atomId:t}){let a=e.emphasis??"normal",r=(0,T.useClientConfig)().theme.surfaces[a],n=(0,L.useArticleOverlay)(),o=(0,cM.useCaseStudySequence)(),{getAuthHeaders:i}=(0,$.useConversation)(),s=e.slides.length,[c,d]=(0,eu.useState)(0),u=(0,eu.useRef)(0),p=(0,eu.useCallback)(async(e,t)=>{let a,r;if(!n.isAvailable||"success"!==o.status)return;let s={};if(i)try{s=await i()}
2catch(t){(0,en.logTelemetry)("carousel-case-study.auth-failed",{slug:e,message:t instanceof Error?t.message:"auth-failed"});return}try{a=await fetch(`/api/articles/${encodeURIComponent(e)}`,{method:"GET",headers:s})}catch(t){(0,en.logTelemetry)("carousel-case-study.fetch-failed",{slug:e,message:t instanceof Error?t.message:"unknown"});return}if(!a.ok)return void(0,en.logTelemetry)("carousel-case-study.upstream-error",{slug:e,status:a.status});try{r=await a.json()}catch{return}let l=cH.PublishedAtom.safeParse(r);l.success?((0,en.logTelemetry)("carousel-case-study-opened",{slug:e,autoplay_video:t?.autoplayVideo??!1}),n.openArticleWithSequence(l.data,o.entries,e,t)):(0,en.logTelemetry)("carousel-case-study.invalid-shape",{slug:e,message:l.error.message})},[n,o,i]),m=n.isAvailable&&"success"===o.status,[h,g]=(0,eu.useState)(null),f=(0,eu.useRef)([]),y=(0,eu.useRef)(null),v=(0,eu.useCallback)(e=>{let t=Math.max(0,Math.min(s-1,e));t!==c&&(u.current=c,d(t),g(null))},[s,c]),b=(0,eu.useCallback)(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v(c-1)):"ArrowRight"===e.key&&(e.preventDefault(),v(c+1))},[c,v]);(0,oA.useGSAP)(()=>{f.current.forEach((e,t)=>{e&&M.gsap.set(e,{opacity:+(0===t),xPercent:0})})},{scope:y,dependencies:[s]}),(0,eu.useEffect)(()=>{let e=M.gsap.context(()=>{M.gsap.matchMedia().add({motion:"(prefers-reduced-motion: no-preference)",reduce:"(prefers-reduced-motion: reduce)"},e=>{let t=e.conditions?.reduce===!0,a=c>u.current,r=a?3:-3,n=a?-3:3;f.current.forEach((e,a)=>{if(!e)return;let o=a===c;t?M.gsap.set(e,{opacity:+!!o,xPercent:0}):o?M.gsap.fromTo(e,{opacity:0,xPercent:r},{opacity:1,xPercent:0,duration:.45,ease:"power2.out"}):a===u.current?M.gsap.to(e,{opacity:0,xPercent:n,duration:.35,ease:"power2.in"}):M.gsap.set(e,{opacity:0,xPercent:0})})})},y);return()=>e.revert()},[c]);let x={color:`var(--surface-${a}-fg)`,background:"featured"===a||"announcement"===a?`var(--surface-${a}-bg)`:"transparent","--surface-accent":`var(--surface-${a}-accent)`,"--surface-fg-muted":`var(--surface-${a}-fg-muted, var(--color-fg-muted))`},w=c===s-1,k=0===c;return(0,l.jsx)(om.SurfaceContextProvider,{contrast:r.contrast,children:(0,l.jsxs)("section",{"data-atom-id":t,"data-atom-kind":"horizontal-carousel","data-emphasis":a,"aria-roledescription":"carousel","aria-label":"Carousel",onKeyDown:b,tabIndex:-1,style:x,className:"rounded-[var(--radius-xl)] py-[var(--space-8,32px)] lg:py-[var(--space-12,48px)]",children:[(0,l.jsx)("div",{ref:y,"aria-live":"polite",className:"relative mx-auto w-full",style:{minHeight:"var(--horizontal-carousel-pane-min, 500px)"},children:e.slides.map((e,t)=>(0,l.jsx)("div",{ref:e=>{f.current[t]=e},role:"group","aria-roledescription":"slide","aria-label":`Slide ${t+1} of ${s}`,"aria-hidden":t!==c,className:"absolute inset-0",style:{opacity:+(0===t),pointerEvents:t===c?"auto":"none"},children:(0,l.jsx)(cq,{slide:e,emphasis:a,isActive:t===c,isVideoPlaying:h===t,onPlayVideo:()=>g(t),onCaseStudyClick:e.case_study_slug&&m?()=>p(e.case_study_slug):null,onWatchCaseStudyVideo:e.case_study_slug&&m?()=>p(e.case_study_slug,{autoplayVideo:!0}):null})},t))}),(0,l.jsx)(cF,{count:s,activeIdx:c,atStart:k,atEnd:w,onPrev:()=>v(c-1),onNext:()=>v(c+1),onJump:v})]})})}function cq({slide:e,emphasis:t,isActive:a,isVideoPlaying:r,onPlayVideo:n,onCaseStudyClick:o,onWatchCaseStudyVideo:i}){let s=void 0!==e.stat,c=o?function(e){let t=e.trim();if(!t)return"Read the full case study";let a=/'s$/i.test(t)?t:`${t}'s`;return`See ${a} full case study`}(e.logo?.alt??e.attribution):null,d="featured"===t||"announcement"===t,u={background:d?"color-mix(in srgb, var(--surface-accent) 6%, transparent)":"transparent",border:`1px solid color-mix(in srgb, var(--surface-fg-muted) ${d?25:15}%, transparent)`};return(0,l.jsxs)("div",{className:"flex h-full w-full flex-col overflow-hidden rounded-[var(--radius-xl)] lg:flex-row",style:u,children:[(0,l.jsx)("div",{className:"relative h-[280px] w-full overflow-hidden sm:h-[400px] lg:h-auto lg:w-1/2 lg:flex-shrink-0 lg:self-stretch",style:{background:"color-mix(in srgb, var(--surface-fg-muted) 8%, transparent)"},children:(0,l.jsx)(c$,{media:e.media,isActive:a,isVideoPlaying:r,onPlayVideo:n,onOpenCaseStudy:i})}),(0,l.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col gap-[var(--space-4,16px
2)] px-[var(--space-6,24px)] py-[var(--space-8,32px)] lg:px-[var(--space-10,40px)] lg:py-[var(--space-10,40px)]",children:[e.logo?(0,l.jsx)("img",{src:e.logo.src,alt:e.logo.alt,className:"h-8 max-w-[180px] self-start object-contain object-left lg:h-10"}):null,(0,l.jsxs)("p",{className:"min-h-0 flex-1 overflow-y-auto whitespace-pre-line pr-[var(--space-1,4px)] font-[var(--font-weight-emphasis,600)] leading-[var(--leading-snug)] [scrollbar-width:thin]",style:{fontFamily:"var(--font-heading)",fontSize:e.quote_level?`var(--type-h${e.quote_level})`:"var(--type-body)"},children:["“",e.quote,"”"]}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-0_5,2px)]",children:[(0,l.jsx)("p",{className:"font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body-sm)"},children:e.attribution_role?e.attribution:`— ${e.attribution}`}),e.attribution_role?(0,l.jsx)("p",{className:"text-[color:var(--surface-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:e.attribution_role}):null]}),s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"h-px w-full",style:{background:"color-mix(in srgb, var(--surface-fg-muted) 35%, transparent)"},"aria-hidden":!0}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)] sm:flex-row sm:items-center sm:gap-[var(--space-6,24px)]",children:[(0,l.jsx)("div",{className:"font-[var(--font-weight-emphasis,700)] leading-[var(--leading-none)] tracking-[var(--tracking-tight)] text-[color:var(--surface-accent)]",style:{fontFamily:"var(--font-heading)",fontSize:"calc(var(--type-h1) * 1.6)",whiteSpace:"nowrap"},children:e.stat.value}),(0,l.jsx)("p",{className:"text-[color:var(--surface-fg-muted)] sm:max-w-[260px]",style:{fontSize:"var(--type-body-sm)"},children:e.stat.caption})]})]}):null,o&&c?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"h-px w-full",style:{background:"color-mix(in srgb, var(--surface-fg-muted) 35%, transparent)"},"aria-hidden":!0}),(0,l.jsxs)("button",{type:"button",onClick:o,tabIndex:a?0:-1,className:"inline-flex w-fit cursor-pointer items-center gap-[var(--space-2,8px)] bg-transparent p-0 text-[color:var(--surface-accent)] hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--surface-accent)] focus-visible:ring-offset-2",style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-medium)"},children:[c,(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]})]}):null]})]})}function cW(e){if(/\.(mp4|webm|mov|m4v)(\?|#|$)/i.test(e))return!0;try{return"videos.ctfassets.net"===new URL(e).hostname}catch{return!1}}function c$({media:e,isActive:t,isVideoPlaying:a,onPlayVideo:r,onOpenCaseStudy:n}){let o=(0,eu.useRef)(null);if((0,eu.useEffect)(()=>{t||!o.current||o.current.paused||o.current.pause()},[t]),"video"!==e.kind)return(0,l.jsx)("img",{src:e.src,alt:e.alt,className:"absolute inset-0 h-full w-full object-cover"});let i=(0,cu.parseYouTubeId)(e.src),s=e.poster??(i?(0,cu.youtubePosterUrl)(i):void 0);return n?(0,l.jsx)(cU,{onClick:n,ariaLabel:`Watch the video in the case study: ${e.alt}`,poster:s,stillVideoSrc:!s&&cW(e.src)?e.src:void 0,tabIndex:t?0:-1}):cW(e.src)?(0,l.jsx)("video",{ref:o,src:e.src,poster:e.poster,controls:!0,preload:"metadata",playsInline:!0,className:"absolute inset-0 h-full w-full bg-[color:var(--color-fg)] object-cover",children:e.alt}):a&&i?(0,l.jsx)("iframe",{src:(0,cu.youtubeEmbedUrl)(i,{autoplay:!0}),title:e.alt,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"}):(0,l.jsx)(cU,{onClick:r,ariaLabel:`Play video: ${e.alt}`,poster:s,tabIndex:t?0:-1})}function cU({onClick:e,ariaLabel:t,poster:a,stillVideoSrc:r,tabIndex:n}){return(0,l.jsxs)("button",{type:"button",onClick:e,"aria-label":t,tabIndex:n,className:"group absolute inset-0 h-full w-full cursor-pointer appearance-none overflow-hidden border-0 p-0 outline-none focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-[color:var(--surface-accent)]",style:{backgroundImage:a?`url(${a})`:void 0,backgroundSize:"cover",backgroundPosition:"center",backgroundColor:"transparent"}
2,children:[r?(0,l.jsx)("video",{src:r,muted:!0,playsInline:!0,preload:"metadata","aria-hidden":!0,className:"pointer-events-none absolute inset-0 h-full w-full object-cover"}):null,(0,l.jsx)("span",{"aria-hidden":!0,className:"absolute inset-0 bg-[color:var(--color-fg)]/15 transition-colors group-hover:bg-[color:var(--color-fg)]/25"}),(0,l.jsx)("span",{"aria-hidden":!0,className:"absolute left-1/2 top-1/2 flex h-16 w-16 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-[var(--radius-full)] transition-transform group-hover:scale-110",style:{background:"var(--surface-accent)"},children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",className:"ml-[var(--space-1,4px)] h-7 w-7",fill:"var(--color-primary-on)","aria-hidden":!0,children:(0,l.jsx)("polygon",{points:"8,5 19,12 8,19"})})})]})}function cF({count:e,activeIdx:t,atStart:a,atEnd:r,onPrev:n,onNext:o,onJump:i}){return(0,l.jsxs)("div",{className:"mx-auto mt-[var(--space-6,24px)] flex w-full max-w-[1200px] items-center justify-center gap-[var(--space-4,16px)]",children:[(0,l.jsx)("button",{type:"button",onClick:n,disabled:a,"aria-label":"Previous slide",className:"grid h-10 w-10 place-items-center rounded-[var(--radius-full)] border border-[color:var(--surface-accent)] text-[color:var(--surface-accent)] transition-colors hover:bg-[color:var(--surface-accent)] hover:text-[color:var(--color-primary-on)] disabled:border-[color:var(--surface-fg-muted)]/40 disabled:bg-transparent disabled:text-[color:var(--surface-fg-muted)]/60 disabled:hover:bg-transparent disabled:hover:text-[color:var(--surface-fg-muted)]/60",children:(0,l.jsx)(cB,{direction:"left"})}),(0,l.jsx)("div",{className:"flex items-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] bg-[color:var(--surface-fg-muted)]/15 px-[var(--space-2_5,10px)] py-[var(--space-1_5,6px)]",role:"tablist","aria-label":"Slide indicators",children:Array.from({length:e}).map((e,a)=>{let r=a===t;return(0,l.jsx)("button",{type:"button",role:"tab","aria-selected":r,"aria-label":`Go to slide ${a+1}`,onClick:()=>i(a),className:"h-1 rounded-[var(--radius-full)] bg-current transition-[width,opacity] duration-300 ease-out",style:{width:r?"28px":"6px",opacity:r?1:.35}},a)})}),(0,l.jsx)("button",{type:"button",onClick:o,disabled:r,"aria-label":"Next slide",className:"grid h-10 w-10 place-items-center rounded-[var(--radius-full)] border border-[color:var(--surface-accent)] text-[color:var(--surface-accent)] transition-colors hover:bg-[color:var(--surface-accent)] hover:text-[color:var(--color-primary-on)] disabled:border-[color:var(--surface-fg-muted)]/40 disabled:bg-transparent disabled:text-[color:var(--surface-fg-muted)]/60 disabled:hover:bg-transparent disabled:hover:text-[color:var(--surface-fg-muted)]/60",children:(0,l.jsx)(cB,{direction:"right"})})]})}function cB({direction:e}){return(0,l.jsx)("svg",{"aria-hidden":!0,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",style:{transform:"left"===e?"rotate(180deg)":void 0},children:(0,l.jsx)("path",{d:"M5 2 L10 7 L5 12"})})}function cG({content:e}){return(0,l.jsxs)(cN,{id:"wwc_pledge_in_numbers_section",tocLabel:e.heading,emphasis:"featured",children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:e.eyebrow,heading:e.heading}),(0,l.jsx)(cD,{data:e.carousel,atomId:"wwc_pledge_in_numbers"})]})}function cK({content:e}){return(0,l.jsxs)(cN,{id:"wwc_signatories_section",tocLabel:e.heading,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:e.eyebrow,heading:e.heading,subheading:e.subheading}),(0,l.jsx)(cD,{data:e.carousel,atomId:"wwc_signatories_carousel"})]})}function cV({data:e,atomId:t}){var a;let r,n=(0,sA.usePublishedFeed)(e.source);if("loading"===n.status)return(0,l.jsx)(c7,{atomId:t});if("error"===n.status||0===n.atoms.length)return null;let o=(r=(a=n.atoms).find(e=>"time-to-screen"===(e.article??{}).slug))||(a.find(e=>((e.atom_metadata??{}).entities??[]).some(e=>"time to screen"===e.toLowerCase()))??null);if(!o)return null;let i=o.atom_metadata??{},s=o.article??{},c=function(e){let t=cJ.safeParse(e);if(!t.success)return null;
2let a=t.data.body,r=null,n=[],o=null,i=null,s=[],l=null,c=[],d=null,u=[],p=null;for(let e of a){let t=cZ.safeParse(e);if(t.success){let{file:e,alt_text:a}=t.data.value.basic_image;null===r&&!e.startsWith("data:")&&"string"==typeof a&&/thumbnail/i.test(a)&&(r=e);continue}let a=cY.safeParse(e);if(!a.success)continue;let m=a.data.value,h=m.match(/<p[^>]*class="[^"]*wwc-stats-block__eyebrow[^"]*"[^>]*>([\s\S]*?)<\/p>/i);if(h){let e=cX(h[1]??"").trim()||null,t=[],a=/<p[^>]*class="[^"]*\btitle\b[^"]*"[^>]*>([\s\S]*?)<\/p>/gi,r=/<p[^>]*class="[^"]*\bdescription\b[^"]*"[^>]*>([\s\S]*?)<\/p>/gi,o=[...m.matchAll(a)].map(e=>cX(e[1]??"").trim()),i=[...m.matchAll(r)].map(e=>cX(e[1]??"").trim()),s=Math.min(o.length,i.length);for(let e=0;e<s;e++){let a=o[e],r=i[e];a&&r&&t.push({value:a,description:r})}t.length>0&&n.push({eyebrow:e,stats:t})}let g=m.match(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>(\s*how employers can make a difference\s*)<\/h2>/i);if(g){o=cX(g[1]??"").trim()||o;let e=m.slice(g.index+g[0].length),t=e.match(/<p\b[^>]*>([\s\S]*?)<\/p>/i);t&&(i=cX(t[1]??"").trim()||i);let a=/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h2>/gi,r=null!==t?e.indexOf("</p>",t.index)+4:0;for(let t of e.slice(r).matchAll(a)){let e=cX(t[1]??"").trim();e&&s.push(e)}}if(null===l){let e=m.match(/<blockquote[^>]*>([\s\S]*?)<\/blockquote>/i);if(e){let t=cX(e[1]??"").replace(/^["“]/,"").replace(/["”]$/,"").trim(),a=m.slice(e.index+e[0].length).match(/<p[^>]*class="[^"]*citation-name[^"]*"[^>]*>([\s\S]*?)<\/p>/i),r=a&&cX(a[1]??"").replace(/^-\s*/,"").trim()||null;t&&(l={text:t,attribution:r})}}let f=m.match(/<ul[^>]*class="[^"]*wwc-list-items__items[^"]*"[^>]*>([\s\S]*?)<\/ul>/i);if(f){let e=[...m.slice(0,f.index).matchAll(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h2>/gi)].pop();d=e&&cX(e[1]??"").trim()||d;let t=/<li[^>]*>([\s\S]*?)<\/li>/gi;for(let e of f[1].matchAll(t)){let t=e[1]??"",a=t.match(/<b\b[^>]*>([\s\S]*?)<\/b>/i);if(!a)continue;let r=cX(a[1]??"").trim(),n=cX(t.slice(a.index+a[0].length)).trim();r&&n&&c.push({title:r.replace(/\.$/,""),description:n})}}let y=/<p\b[^>]*>(\s*<b\b[^>]*>[\s\S]*?<\/b>[\s\S]*?)<\/p>/gi;for(let e of m.matchAll(y)){let t=e[1]??"";if(!/(<br[^>]*>\s*){2,}/i.test(t))continue;let a=t.match(/<b\b[^>]*>([\s\S]*?)<\/b>/i);if(!a)continue;let r=cX(a[1]??"").trim(),n=cX(t.slice(a.index+a[0].length)).trim();r&&n&&u.push({title:r,description:n})}if(u.length>0&&null===p){let e=[...m.matchAll(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h2>/gi)];e.length>0&&(p=cX(e[e.length-1][1]??"").trim()||null)}}let m=n[0]??{eyebrow:null,stats:[]},h=n[1]??{eyebrow:null,stats:[]},g=h.stats[0]??null,f=h.stats.slice(1);return{heroThumbnailUrl:r,importance:m,levers:{eyebrow:o,intro:i,items:s},impact:{eyebrow:h.eyebrow,primary:g,secondary:f,quote:l},kit:{eyebrow:d,items:c},rollout:{eyebrow:p,items:u}}}(o.article.source_data),d=o.article.video_asset??null,u=c?.heroThumbnailUrl??null,p=c?.importance.eyebrow??"The importance of early detection",m=c?.importance.stats??function(e){let t=[];for(let a of e){let e=a.replace(/^-\s*/,"").trim(),r=e.match(/^(\d+(?:\.\d+)?%\+?)\s+(?:of\s+)?(.+?)\.?$/i);if(r){t.push({value:r[1],description:cQ(r[2])});continue}let n=e.match(/^(\d+\s+in\s+\d+)\s+(.+?)\.?$/i);if(n){t.push({value:n[1],description:cQ(n[2])});continue}let o=e.match(/(\d+(?:\.\d+)?%\s*(?:or\s+higher|or\s+more|\+)?)/i);if(o){let a=e.replace(/\.?$/,"");t.push({value:o[1].replace(/\s*or\s+(higher|more)/i,"+"),description:a.replace(o[0],"").replace(/\s+/g," ").trim()||a})}}return t.slice(0,3)}(i.insights??[]),h=c?.levers.eyebrow??"How employers can make a difference",g=c?.levers.intro??null,f=c&&c.levers.items.length>0?c.levers.items.map(e=>({title:e,description:null})):(function(e){if(!e)return[];let t=e.split(/(?<=\.)\s+/),a=[];for(let e of t){let t=e.match(/^([A-Z][A-Za-z&\s,]{1,30}?):\s+(.+?)\.?$/);t&&a.push({label:t[1].trim(),description:t[2].trim().replace(/\.?$/,".")})}return a.slice(0,4)})(s.summary??"").map(e=>({title:e.label,description:e.description})),y=c&&(null!==c.impact.primary||c.impact.secondary.length>0),v=c?.impact.primary??null,b=c?.impact.secondary??[],x=c?.impact.eyebrow??"Impact by the numbers",w=c?.impact.quote??null,k=c?null:function(e){for(let t of e){let e=t.replace(/^-\s*/,"").trim();if(/publicis/i.test(e))return e}return null}(i.insights??[]);return(0,l.jsxs)("div",{"data-atom-kind":"time-to-screen","data-atom-id":t,className:"flex flex-col gap-[var(--space-10,40px)]",children:[d?.video_url?(0,l.jsx)("div",{className:"aspect-[16/9] w-full overflow-hidden rounded-[var(--radius-xl)] bg-[color:var(--color-fg)]",children:(0,l.jsx)("video",{src:d.video_url,controls:!0,poster:u??void 0,className:"h-full w-full object-cover"})}):u?(0,l.jsxs)("div",{className:"relative aspect-[16/9] w-full overflow-hidden rounded-[var(--radius-xl)]",style:{background:"var(--color-bg-subtle, #f3f3f3)"},children:[(0,l.jsx)("img",{src:u,alt:"",className:"absolute inset-0 h-full w-full object-contain"}),(0,l.jsx)("span",{"aria-hidden":"true",style:{background:"var(--surface-accent, var(--color-brand-500))"},className:"absolute left-1/2 top-1/2 inline-flex h-16 w-16 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-[var(--radius-full)]",children:(0,l.jsx)("svg",{width:"18",height:"20",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M13.5 7.13397C14.1667 7.51887 14.1667 8.48113 13.5 8.86603L2.25 15.3603C1.58333 15.7452 0.75 15.2641 0.75 14.4943L0.75 1.50575C0.75 0.73595 1.58333 0.254825 2.25 0.639725L13.5 7.13397Z",fill:"var(--color-primary-on)"})})})]}):null,m.length>0?(0,l.jsx)(c0,{eyebrow:p,stats:m}):null,f.length>0?(0,l.jsx)(c1,{eyebrow:h,intro:g,items:f}):null,y&&v?(0,l.jsx)(c2,{eyebrow:x,primary:v,secondary:b}):k?(0,l.jsx)(c6,{text:k}):null,w?(0,l.jsx)(c5,{quote:w}
2):null,c&&(c.kit.items.length>0||c.rollout.items.length>0)?(0,l.jsx)(c4,{kit:c.kit,rollout:c.rollout}):null,s.url?(0,l.jsx)(c8,{url:s.url}):null]})}let cZ=em.z.object({block_type:em.z.literal("basic_image"),value:em.z.object({basic_image:em.z.object({file:em.z.string(),alt_text:em.z.string().optional()}).passthrough()}).passthrough()}),cY=em.z.object({block_type:em.z.literal("body_text"),value:em.z.string()}),cJ=em.z.object({body:em.z.array(em.z.unknown())}).passthrough();function cX(e){return e.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\s+/g," ").trim()}function cQ(e){return e?e.charAt(0).toUpperCase()+e.slice(1):e}function c0({eyebrow:e,stats:t}){return(0,l.jsxs)("section",{"data-time-to-screen-stats":"",className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:e}),(0,l.jsx)("div",{className:"grid gap-[var(--space-4,16px)]",style:{gridTemplateColumns:`repeat(${Math.min(t.length,3)}, minmax(0, 1fr))`},children:t.slice(0,3).map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-none)] tracking-[var(--tracking-tight)]",style:{fontSize:"var(--type-h2)"},children:e.value}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:e.description})]},t))})]})}function c1({eyebrow:e,intro:t,items:a}){return(0,l.jsxs)("section",{"data-time-to-screen-levers":"",className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:e}),t?(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},children:t}):null,(0,l.jsx)("div",{className:"grid gap-[var(--space-4,16px)]",style:{gridTemplateColumns:`repeat(${Math.min(a.length,3)}, minmax(0, 1fr))`},children:a.slice(0,3).map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-5,20px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},children:e.title}),e.description?(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:e.description}):null]},t))})]})}function c2({eyebrow:e,primary:t,secondary:a}){return(0,l.jsxs)("section",{"data-time-to-screen-impact":"",style:{background:"var(--surface-subtle-bg)"},className:"flex flex-col gap-[var(--space-4,16px)] rounded-[var(--radius-xl)] p-[var(--space-8,32px)] md:flex-row md:items-center md:gap-[var(--space-10,40px)]",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] md:flex-1",children:[e?(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:e}):null,(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis)] leading-[var(--leading-none)] tracking-[var(--tracking-tight)]",style:{fontSize:"var(--type-h1)"},children:t.value}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},children:t.description})]}),a.length>0?(0,l.jsx)("div",{className:"flex flex-col gap-[var(--space-3,12px)] md:flex-1",children:a.map((e,t)=>(0,l.jsxs)("div",{className:"flex items-baseline gap-[var(--space-3,12px)]",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,
2600)] leading-[var(--leading-none)]",style:{fontSize:"var(--type-h3)"},children:e.value}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:e.description})]},t))}):null]})}function c5({quote:e}){return(0,l.jsxs)("section",{"data-time-to-screen-quote":"",className:"flex flex-col gap-[var(--space-3,12px)] rounded-[var(--radius-xl)] p-[var(--space-8,32px)]",style:{background:"color-mix(in oklab, var(--color-brand-500) 6%, var(--color-bg))",border:"1px solid color-mix(in oklab, var(--color-brand-500) 18%, transparent)"},children:[(0,l.jsxs)("p",{className:"m-0",style:{fontSize:"var(--type-h4)",fontStyle:"italic",lineHeight:"var(--leading-body)"},children:['"',e.text,'"']}),e.attribution?(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-meta)"},children:e.attribution}):null]})}function c4({kit:e,rollout:t}){return 0===e.items.length&&0===t.items.length?null:(0,l.jsxs)("section",{"data-time-to-screen-kit-rollout":"",className:"grid grid-cols-1 gap-[var(--space-6,24px)] md:grid-cols-2",children:[e.items.length>0?(0,l.jsx)(c3,{eyebrow:"What's in the kit",title:e.eyebrow,items:e.items}):null,t.items.length>0?(0,l.jsx)(c3,{eyebrow:"To roll it out",title:t.eyebrow,items:t.items}):null]})}function c3({eyebrow:e,title:t,items:a}){return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:e}),t?(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},children:t}):null,(0,l.jsx)("ul",{className:"m-0 flex flex-col gap-[var(--space-3,12px)] p-0",children:a.map((e,t)=>(0,l.jsxs)("li",{className:"grid grid-cols-[0.5rem_1fr] items-baseline gap-[var(--space-3,12px)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:[(0,l.jsx)("span",{"aria-hidden":"true",style:{background:"var(--surface-accent, var(--color-brand-500))"},className:"mt-[0.55em] inline-block h-1.5 w-1.5 rounded-[var(--radius-full)]"}),(0,l.jsxs)("span",{children:[(0,l.jsx)("span",{className:"font-[var(--font-weight-emphasis,600)]",children:e.title})," ",(0,l.jsx)("span",{className:"text-[color:var(--color-fg-muted)]",children:e.description})]})]},t))})]})}function c6({text:e}){let t=e.match(/^(Publicis\s+\w+(?:\s+\w+)?)\s*(.*?)\.?$/i),a=t?.[1]??"Publicis Groupe",r=(t?.[2]??e).trim();return(0,l.jsxs)("section",{"data-time-to-screen-publicis":"",className:"flex flex-col gap-[var(--space-3,12px)] rounded-[var(--radius-xl)] p-[var(--space-8,32px)] md:flex-row md:items-center md:gap-[var(--space-8,32px)]",style:{backgroundColor:"color-mix(in oklab, var(--color-brand-500) 8%, var(--color-bg))",border:"1px solid color-mix(in oklab, var(--color-brand-500) 18%, transparent)"},children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-none)] tracking-[var(--tracking-tight)] md:flex-shrink-0",style:{fontSize:"var(--type-h2)"},children:a}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:r})]})}function c8({url:e}){return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)]",children:[(0,l.jsxs)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"inline-flex w-fit items-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] px-[var(--space-6,24px)] py-[var(--space-3,12px)] no-underline transition-colors hover:!bg-[var(--color-brand-500)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"var(--color-fg)",color:"var(--color-bg)",fontWeight:"var(--font-weight-medium)"},children:["View the full toolkit",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}),(0,l.jsxs)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-meta)"},children:["Source ·"," ",(0,l.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"no-underline hover:underline",style:{color:"inherit"},children:function(e){try{let t=new URL(e);return t.host.replace(/^www\./,"")+t.pathname}catch{return e}}(e)})]})]})}function c7({atomId:e}){let t={backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 18%, transparent)"};return(0,l.jsxs)("div",{"data-atom-kind":"time-to-screen","data-atom-id":e,"data-state":"loading",className:"flex flex-col gap-[var(--space-10,40px)]",children:[(0,l.jsx)("div",{className:"aspect-[16/9] w-full animate-pulse rounded-[var(--radius-xl)]",style:t}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px
2)]",children:[(0,l.jsx)("div",{className:"h-3 w-48 animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"grid grid-cols-2 gap-[var(--space-4,16px)] sm:grid-cols-3",children:Array.from({length:3},(e,a)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{className:"h-8 w-20 animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"h-3 w-32 animate-pulse rounded-[var(--radius-sm)]",style:t})]},a))})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)("div",{className:"h-3 w-56 animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-[var(--space-4,16px)] sm:grid-cols-3",children:Array.from({length:3},(e,a)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-5,20px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{className:"h-4 w-24 animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"h-3 w-full animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"h-3 w-4/5 animate-pulse rounded-[var(--radius-sm)]",style:t})]},a))})]})]})}function c9({content:e,eyebrow:t,heading:a,subheading:r}){return(0,l.jsxs)(cN,{id:"wwc_time_to_screen_section",tocLabel:a,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:t,heading:a,subheading:r}),(0,l.jsx)(cV,{data:e,atomId:"wwc_time_to_screen"})]})}function de({data:e,atomId:t}){let a=(0,sA.usePublishedFeed)(e.source),r=(0,sA.usePublishedFeed)(e.partners_source),[n,o]=(0,eu.useState)(null);if("loading"===a.status)return(0,l.jsx)(dg,{atomId:t});if("error"===a.status||0===a.atoms.length)return null;let i=[...a.atoms].sort((e,t)=>di(t)-di(e)),s=i[0];if(!s)return null;let c=function(e){let t=dr.safeParse(e);if(!t.success)return null;let a=t.data.body,r=-1,n=[];for(let e=0;e<a.length;e++){let t=da.safeParse(a[e]);if(t.success&&/Listen and learn today to improve tomorrow/i.test(t.data.value)){r=e;let a=t.data.value.match(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>\s*Listen and learn today to improve tomorrow\s*<\/h2>/i);if(a)for(let e of[...t.data.value.slice(a.index+a[0].length).matchAll(/<p\b[^>]*>([\s\S]*?)<\/p>/gi)]){let t=dh(e[1]??"").trim();t&&n.push(t)}break}}if(r<0)return null;let o=[];for(let e=r+1;e<a.length;e++){let t=da.safeParse(a[e]);if(t.success){if(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>/i.test(t.data.value))break;for(let e of[...t.data.value.matchAll(/<p\b[^>]*>([\s\S]*?)<\/p>/gi)]){let t=dh(e[1]??"").trim();t&&n.push(t)}continue}let r=dt.safeParse(a[e]);if(r.success){let{file:e,alt_text:t}=r.data.value.basic_image;if(e.startsWith("data:")||"string"==typeof t&&/logo/i.test(t))continue;o.push(e);continue}}let i=[],s=Math.min(n.length,4);for(let e=0;e<s;e++){let t=n[e],a=o[e]??null,{title:r,ctaLabel:s}=function(e){let t=e.toLowerCase();return/talking with employees|focus group|hear firsthand|facilitate these conversations/.test(t)?{title:"Host a focus group with impacted employees",ctaLabel:"Find a facilitation partner"}:/reviewing your current offerings|audit process|uncover opportunities to introduce/.test(t)?{title:"Evaluate your current benefits and policies",ctaLabel:"Find an audit partner"}:{title:dm(e.split(/\s+/).slice(0,6).join(" ").replace(/[.,;:]$/,"")),ctaLabel:"Find a partner"}}(t);i.push({title:r,body:t,ctaLabel:s,ctaHref:null,imageUrl:a})}return 0===i.length?null:{actions:i}}(s.article?.source_data),d=c?c.actions:function(e){let t=[];for(let r of e){if(t.length>=4)break;let e=r.atom_metadata??{},n=r.article??{};for(let r of e.insights??[]){var a;let e=r.replace(/^-\s*/,"").trim(),o=function(e){let t=e.replace(/^-\s*/,"").trim().split(/\s+/);for(let e=0;e<Math.min(2,t.length);e++){let a=function(e){let t=e.toLowerCase().replace(/[.,;:!?]+$/,"");if(!t)return null;if(dl.has(t))return t;if(t.endsWith("ing")&&t.length>5){let e=t.slice(0,-3);if(dl.has(e))return e;if(dl.has(e+"e"))return e+"e"}return null}(t[e]);if(a)return a}return null}(e);if(!o)continue;let{title:i,body:s}=function(e){let t=e.replace(/\.?$/,"."),a=t.match(/^(.{8,80}?)\s+(?:to|—|–)\s+(.+)$/i);if(a)return{title:dm(a[1].trim()),body:t};let r=t.split(/\s+/);return{title:dm(r.slice(0,Math.min(6,r.length)).join(" ").replace(/[.,;:]$/,"")),body:t}}(e);t.push({title:i,body:s,ctaLabel:function(e){switch(e){case"audit":case"evaluate":case"review":return"Find an audit partner";case"facilitate":case"host":return"Find a facilitation partner";case"train":return"Find a training partner";case"partner":return"Find a partner";default:return"Explore the toolkit"}}(o),ctaHref:n.url??null,imageUrl:(a=n.featured_image_url??null)&&!/favicon|apple-touch-icon/i.test(a)?n.featured_image_url:null});break}}return t}(i),u=function(e){let t=e[0];if(!t)return[];let a=ds((t.atom_metadata??{}).insights??[]);if(a.length>=3)return a.slice(0,3);let r=[];for(let t of e){let e=t.atom_metadata??{};r.push(...e.insights??[])}let n=ds(r),o=[...a];for(let e of n)if(!o.some(t=>t.value.toLowerCase()===e.value.toLowerCase())&&(o.push(e),o.length>=3))break;return o.slice(0,3)}(i),p=(()=>
2{if("success"!==r.status||0===r.atoms.length)return[];let e=r.atoms[0];return function(e){let t=dr.safeParse(e);if(!t.success)return[];let a=t.data.body,r=[];for(let e=0;e<a.length-1;e++){let t=dt.safeParse(a[e]);if(!t.success)continue;let n=da.safeParse(a[e+1]);if(!n.success)continue;let o=function(e){let t=e.match(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h2>/i);if(!t)return null;let a=dh(t[1]??"").trim();if(!a)return null;let r="",n=null,o=null,i=null;for(let t of[...e.matchAll(/<p\b[^>]*>([\s\S]*?)<\/p>/gi)]){let e=t[1]??"",a=t[0]??"";if(/mdi-map-marker/i.test(e)){n=dh(e).trim()||n;continue}if(/mdi-chat-processing/i.test(e)){o=dh(e).trim()||o;continue}if(/class="[^"]*\blink\b[^"]*"/i.test(a)){let t=e.match(/href="([^"]+)"/i);t&&(i=t[1]??null);continue}if(!/class="[^"]*\b(eyebrow|citation-name)\b[^"]*"/i.test(a)&&!r){let t=dh(e).trim();t&&(r=t)}}return r?{name:a,description:r,region:n,languages:o,url:i}:null}(n.data.value);o&&r.push({logo:t.data.value.basic_image.file,...o})}return r}(e.article?.source_data)})();return(0,l.jsxs)("div",{"data-atom-kind":"listening-learning","data-atom-id":t,className:"flex flex-col gap-[var(--space-10,40px)]",children:[u.length>0?(0,l.jsx)(dc,{stats:u}):null,d.length>0?(0,l.jsxs)("section",{"data-listening-learning-actions":"",className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:"Actions you could take"}),(0,l.jsx)("div",{className:"flex flex-col gap-[var(--space-4,16px)]",children:d.map((e,t)=>{let a=n===t,r=p.length>0;return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)(dd,{action:e,onCtaClick:r?()=>o(a?null:t):void 0}),a&&p.length>0?(0,l.jsx)(du,{partners:p}):null]},t)})})]}):null]})}let dt=em.z.object({block_type:em.z.literal("basic_image"),value:em.z.object({basic_image:em.z.object({file:em.z.string(),alt_text:em.z.string().optional()}).passthrough()}).passthrough()}),da=em.z.object({block_type:em.z.literal("body_text"),value:em.z.string()}),dr=em.z.object({body:em.z.array(em.z.unknown())}).passthrough(),dn=["listen","feedback","focus group","pulse survey","audit","facilitat","hear","voice"];function di(e){let t=e.atom_metadata??{},a=e.article??{},r=0;"activate"===a.slug&&(r+=200),(t.entities??[]).some(e=>"listening and learning"===e.toLowerCase())&&(r+=100),"listening-and-learning"===a.slug&&(r+=100);let n=[a.title??"",a.summary??"",...t.insights??[]].join(" ").toLowerCase();for(let e of dn)r+=n.split(e).length-1;return r}function ds(e){let t=[],a=new Set,r=(e,r)=>{let n=e.toLowerCase();a.has(n)||(a.add(n),t.push({value:e,caption:r}))};for(let t of e){let e=t.replace(/^-\s*/,"").trim(),a=e.match(/^(\d+(?:\.\d+)?%\+?)\s+(?:of\s+)?(.+?)\.?$/i);if(a){r(a[1],dm(a[2]));continue}let n=e.match(/^(\d+\s+(?:in|out\s+of)\s+\d+)\s+(.+?)\.?$/i);if(n){r(n[1].replace(/out\s+of/i,"in"),dm(n[2]));continue}}return t}let dl=new Set(["audit","facilitate","foster","provide","offer","implement","structure","guarantee","host","evaluate","review","design","engage","publish","create","establish","build","schedule","encourage","remind","assemble","train","partner","share","send","prioritize","spread","communicate","announce","advocate","present","support","use"]);function dc({stats:e}){return(0,l.jsx)("div",{className:"grid gap-[var(--space-4,16px)]",style:{gridTemplateColumns:`repeat(${Math.min(e.length,3)}, minmax(0, 1fr))`},"data-listening-learning-stats":"",children:e.slice(0,3).map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-none)] tracking-[var(--tracking-tight)]",style:{fontSize:"var(--type-h2)"},children:e.value}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:e.caption})]},t))})}function dd({action:e,onCtaClick:t}){let a=null!==e.imageUrl;return(0,l.jsxs)("article",{className:"grid items-stretch overflow-hidden rounded-[var(--radius-xl)]",style:{border:"1px solid var(--color-border)",gridTemplateColumns:a?"minmax(0, 1fr) minmax(0, 3fr)":"1fr"}
2,children:[a?(0,l.jsx)("div",{className:"relative aspect-[4/3] w-full overflow-hidden",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 12%, transparent)"},children:(0,l.jsx)("img",{src:e.imageUrl,alt:"",className:"absolute inset-0 h-full w-full object-cover"})}):null,(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)] p-[var(--space-6,24px)]",children:[(0,l.jsx)("h3",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-tight)]",style:{fontSize:"var(--type-h4)"},children:e.title}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:e.body}),t?(0,l.jsxs)("button",{type:"button",onClick:t,className:"mt-auto inline-flex w-fit items-center gap-[var(--space-2,8px)] border-0 bg-transparent p-0 text-[color:var(--surface-accent,var(--color-brand-500))] hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-medium)",cursor:"pointer"},children:[e.ctaLabel,(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}):e.ctaHref?(0,l.jsxs)("a",{href:e.ctaHref,target:"_blank",rel:"noopener noreferrer",className:"mt-auto inline-flex w-fit items-center gap-[var(--space-2,8px)] no-underline text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-medium)"},children:[e.ctaLabel,(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}):null]})]})}function du({partners:e}){let t=Math.min(e.length,3);return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)]","data-listening-learning-partners":"",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:"Recommended for you"}),(0,l.jsx)("div",{className:"grid gap-[var(--space-4,16px)]",style:{gridTemplateColumns:`repeat(${t}, minmax(0, 1fr))`},children:e.slice(0,t).map((e,t)=>(0,l.jsx)(dp,{partner:e},t))})]})}function dp({partner:e}){let t=[e.region,e.languages].filter(Boolean).join(" · ");return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)] rounded-[var(--radius-xl)] p-[var(--space-5,20px)]",style:{backgroundColor:"var(--color-bg)",border:"1px solid var(--color-border)"},"data-listening-learning-partner-card":"",children:[e.logo?(0,l.jsx)("img",{src:e.logo,alt:`${e.name} logo`,className:"block",style:{height:"32px",width:"auto",maxWidth:"60%",objectFit:"contain",objectPosition:"left center"},loading:"lazy"}):null,(0,l.jsx)("h4",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-snug)"},children:e.name}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:e.description}),t?(0,l.jsx)("p",{className:"m-0 uppercase tracking-[var(--tracking-wider)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-meta)"},children:t}):null,e.url?(0,l.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"m-0 mt-auto inline-flex items-center gap-[var(--space-1,4px)] font-[var(--font-weight-emphasis,600)] no-underline hover:underline",style:{fontSize:"var(--type-body-sm)",color:"var(--surface-accent, var(--color-brand-500))"},children:["Visit the ",e.name," site ",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}):null]})}function dm(e){return e?e.charAt(0).toUpperCase()+e.slice(1):e}function dh(e){return e.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\s+/g," ").trim()}function dg({atomId:e}){let t={backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 18%, transparent)"};return(0,l.jsxs)("div",{"data-atom-kind":"listening-learning","data-atom-id":e,"data-state":"loading",className:"flex flex-col gap-[var(--space-10,40px)]",children:[(0,l.jsx)("div",{className:"grid grid-cols-3 gap-[var(--space-4,16px
2)]",children:Array.from({length:3},(e,a)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{className:"h-8 w-20 animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"h-3 w-32 animate-pulse rounded-[var(--radius-sm)]",style:t})]},a))}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)("div",{className:"h-3 w-40 animate-pulse rounded-[var(--radius-sm)]",style:t}),Array.from({length:2},(e,a)=>(0,l.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)_minmax(0,3fr)] gap-0 overflow-hidden rounded-[var(--radius-xl)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{className:"aspect-[4/3]",style:t}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)] p-[var(--space-6,24px)]",children:[(0,l.jsx)("div",{className:"h-4 w-2/3 animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"h-3 w-full animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"h-3 w-5/6 animate-pulse rounded-[var(--radius-sm)]",style:t})]})]},a))]})]})}function df({content:e,eyebrow:t,heading:a,subheading:r}){return(0,l.jsxs)(cN,{id:"wwc_listening_section",tocLabel:a,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:t,heading:a,subheading:r}),(0,l.jsx)(de,{data:e,atomId:"wwc_listening_learning"})]})}function dy({data:e,atomId:t}){var a;let r,n,o,i,s,c=(0,L.useArticleOverlay)(),d=(0,oN.useArticleBySlug)("activate"),u=(0,oN.useArticleBySlug)(e.case_study_slug);if("loading"===d.status)return(0,l.jsx)(dI,{atomId:t});if("error"===d.status)return null;let p=function(e,t){let a=dS.safeParse(e);if(!a.success)return[];let r=a.data.body,n=dk[t];for(let e of r){let t=dj.safeParse(e);if(t.success&&function(e,t){let a=t.map(e=>e.toLowerCase().trim());for(let t of e.matchAll(/<h[23][^>]*>([\s\S]*?)<\/h[23]>/gi)){let e=dC(t[1]??"").toLowerCase().trim();if(a.includes(e))return!0}return!1}(t.data.value,n))return function(e,t){let a=function(e,t){let a,r=t.map(e=>e.toLowerCase().trim()),n=/<h[23][^>]*>([\s\S]*?)<\/h[23]>/gi;for(;null!==(a=n.exec(e));){let e=dC(a[1]??"").toLowerCase().trim();if(r.includes(e))return a.index}return -1}(e,t);if(a<0)return[];let r=e.slice(a).match(/<ul[^>]*>([\s\S]*?)<\/ul>/i);if(!r)return[];let n=[...(r[1]??"").matchAll(/<li[^>]*>([\s\S]*?)<\/li>/gi)],o=[];for(let e of n){let t=function(e){let t=e.match(/<b[^>]*>([\s\S]*?)<\/b>([\s\S]*)$/i);if(t){let e=dC(t[1]??"").trim(),a=dC(t[2]??"").trim(),r=`${e}${a?" "+a:""}`.trim();return{title:e,body:r}}let a=dC(e).trim();if(!a)return{title:"",body:""};let r=a.match(/^(.{8,80}?)([,.;:]|$)/);return{title:(r?.[1]??a).trim(),body:a}}(e[1]??"");(t.title||t.body)&&o.push(t)}return o}(t.data.value,n)}return[]}(d.atom.article.source_data,e.pillar),m="success"===u.status?(r=(a=u.atom).article.source_data,n=("string"!=typeof a.atom_metadata.media_url||a.atom_metadata.media_url.startsWith("data:")||/logo|favicon|apple-touch-icon/i.test(a.atom_metadata.media_url)?null:a.atom_metadata.media_url)??function(e){let t=dS.safeParse(e);if(!t.success)return null;for(let e of t.data.body){let t=d_.safeParse(e);if(!t.success)continue;let{file:a,alt_text:r}=t.data.value.basic_image;if(!(a.startsWith("data:")||"string"==typeof r&&/logo/i.test(r))&&!("string"==typeof r&&/\b(video|thumbnail)\b/i.test(r)))return a}return null}(r)??(a.article.featured_image_url&&!/favicon|apple-touch-icon|typeform/i.test(a.article.featured_image_url)?a.article.featured_image_url:null),o=function(e){let t=dS.safeParse(e);if(!t.success)return null;for(let e of t.data.body){let t=d_.safeParse(e);if(!t.success)continue;let{file:a,alt_text:r}=t.data.value.basic_image;if(!a.startsWith("data:")&&"string"==typeof r&&/logo/i.test(r))return a}return null}(r),i=a.atom_metadata.headline??a.article.title??null,s=function(e){let t=dS.safeParse(e);if(!t.success)return null;for(let e of t.data.body){let t=dj.safeParse(e);if(!t.success)continue;let a=t.data.value.match(/<p[^>]*>([\s\S]*?)<\/p>/i);if(a){let e=dC(a[1]??"").trim();if(e)return e}}return null}(r),n||o||i||s?{imageUrl:n??null,logoUrl:o,title:i??null,body:s}:null):null,h="success"===u.status&&(c.isAvailable||!!u.atom.article.url);return(0,l.jsxs)("div",{"data-atom-kind":"pillar-detail","data-atom-id":t,className:"@container flex flex-col gap-[var(--space-10,40px)]",children:[p.length>0?(0,l.jsx)(dv,{actions:p}):null,m?(0,l.jsx)(db,{panel:m,canOpen:h,onReadCaseStudy:function(){if("success"!==u.status)return;let t=u.atom;if(c.isAvailable){(0,en.logTelemetry)("pillar-case-study-clicked",{mode:"modal",slug:e.case_study_slug}),c.openArticle(t);return}let a=t.article.url;a&&((0,en.logTelemetry)("pillar-case-study-clicked",{mode:"external",slug:e.case_study_slug,url:a}),window.open(a,"_blank","noopener,noreferrer"))}}
2):null,e.breadcrumb?(0,l.jsx)(dx,{text:e.breadcrumb}):null]})}function dv({actions:e}){let t=3===e.length?"@md:grid-cols-3":(e.length,"@md:grid-cols-2");return(0,l.jsxs)("section",{"data-pillar-actions":"",className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)(dw,{children:"Actions you could take"}),(0,l.jsx)("div",{className:`grid grid-cols-1 gap-[var(--space-4,16px)] ${t}`,children:e.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsxs)("div",{className:"flex items-center gap-[var(--space-3,12px)]",children:[(0,l.jsx)("span",{className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-[var(--radius-full)] font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-meta)",color:"var(--surface-accent, var(--color-brand-500))",backgroundColor:"color-mix(in oklab, var(--surface-accent, var(--color-brand-500)) 14%, transparent)"},children:t+1}),(0,l.jsx)("h3",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-tight)]",style:{fontSize:"var(--type-h4)"},children:e.title})]}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:e.body})]},t))})]})}function db({panel:e,canOpen:t,onReadCaseStudy:a}){let r=null!==e.imageUrl;return(0,l.jsxs)("section",{"data-pillar-casestudy":"",className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)(dw,{children:"See it in action"}),(0,l.jsxs)("div",{className:r?"grid grid-cols-1 items-stretch overflow-hidden rounded-[var(--radius-xl)] @md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]":"grid grid-cols-1 items-stretch overflow-hidden rounded-[var(--radius-xl)]",style:{backgroundColor:"color-mix(in oklab, var(--color-brand-500) 8%, var(--color-bg))",border:"1px solid color-mix(in oklab, var(--color-brand-500) 16%, transparent)"},children:[r?(0,l.jsx)("div",{className:"relative min-h-[180px] w-full overflow-hidden",children:(0,l.jsx)("img",{src:e.imageUrl,alt:"",className:"absolute inset-0 h-full w-full object-cover"})}):null,(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)] p-[var(--space-8,32px)]",children:[e.logoUrl?(0,l.jsx)("div",{className:"flex items-center",children:(0,l.jsx)("img",{src:e.logoUrl,alt:"",className:"h-6 w-auto object-contain"})}):null,e.title?(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-snug)]",style:{fontSize:"var(--type-h3)"},children:e.title}):null,e.body?(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:e.body}):null,t?(0,l.jsxs)("button",{type:"button",onClick:a,className:"mt-auto inline-flex w-fit items-center gap-[var(--space-2,8px)] bg-transparent p-0 text-[color:var(--surface-accent,var(--color-brand-500))] hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-medium)"},children:["Read case study",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}):null]})]})]})}function dx({text:e}){return(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-meta)"},children:e})}function dw({children:e}){return(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:e})}let dk={benefits:["Corporate Benefits & Policies","Corporate Benefits &amp; Policies"],community:["Community"],coaching:["Coaching"],caregivers:["Caregivers"]},d_=em.z.object({block_type:em.z.literal("basic_image"),value:em.z.object({basic_image:em.z.object({file:em.z.string(),alt_text:em.z.string().optional()}).passthrough()}).passthrough()}),dj=em.z.object({block_type:em.z.literal("body_text"),value:em.z.string()}),dS=em.z.object({body:em.z.array(em.z.unknown())}).passthrough();function dC(e){return e.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\s+/g," ").trim()}function dI({atomId:e}){let t={backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 18%, transparent)"};return(0,l.jsx)("div",{"data-atom-kind":"pillar-detail","data-atom-id":e,"data-state":"loading",className:"flex flex-col gap-[var(--space-10,40px)]",children:(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px
2)]",children:[(0,l.jsx)("div",{className:"h-3 w-40 animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"grid gap-[var(--space-4,16px)] @md:grid-cols-2",children:Array.from({length:4},(e,a)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{className:"h-4 w-1/2 animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"h-3 w-full animate-pulse rounded-[var(--radius-sm)]",style:t}),(0,l.jsx)("div",{className:"h-3 w-5/6 animate-pulse rounded-[var(--radius-sm)]",style:t})]},a))})]})})}function dN({content:e}){let t=`wwc_${e.pillar.pillar}_pillar`;return(0,l.jsxs)(cN,{id:e.sectionId,tocLabel:e.heading,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:e.eyebrow,heading:e.heading,subheading:e.subheading}),(0,l.jsx)(dy,{data:e.pillar,atomId:t})]})}function dA({id:e,content:t}){return(0,l.jsx)(cN,{id:e,children:(0,l.jsxs)(oC.Split,{data:{ratio:"4:3",gap:"lg"},atomId:`${e}_split`,children:[(0,l.jsxs)(oI.Stack,{data:{gap:"lg"},atomId:`${e}_content`,children:[(0,l.jsxs)(oI.Stack,{data:{gap:"md"},atomId:`${e}_text`,children:[t.eyebrow?(0,l.jsx)("div",{style:{"--label-weight":"var(--font-weight-light)","--label-tracking":"0.08em"},children:(0,l.jsx)(nJ.Label,{data:{text:t.eyebrow},atomId:`${e}_eyebrow`})}):null,(0,l.jsx)(nY.Headline,{data:{text:t.headline,level:t.headlineLevel??1},atomId:`${e}_headline`}),(0,l.jsx)("div",{style:{"--prose-fg":"var(--color-fg)","--prose-lh":"1.3"},children:(0,l.jsx)(nX.Prose,{data:{markdown:t.body},atomId:`${e}_body`})})]}),t.stat?(0,l.jsxs)("div",{className:"flex flex-row items-center gap-[var(--space-md,24px)]",children:[(0,l.jsx)("div",{style:{"--headline-size":"calc(var(--type-h1) * 2.15)"},children:(0,l.jsx)(nY.Headline,{data:{text:t.stat.value,level:1},atomId:`${e}_stat_value`})}),(0,l.jsx)(oU.Subhead,{data:{markdown:t.stat.caption},atomId:`${e}_stat_caption`})]}):null]}),(0,l.jsx)("div",{style:{"--img-radius":"var(--radius-lg)"},children:(0,l.jsx)(oL.Image,{data:{src:t.image.src,alt:t.image.alt,ratio:t.image.ratio},atomId:`${e}_image`})})]})})}function dE({id:e,content:t,onReveal:a}){return(0,l.jsxs)(cN,{id:e,tocLabel:t.heading,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:t.eyebrow,heading:t.heading,subheading:t.subheading}),(0,l.jsx)("div",{className:"mt-[var(--space-8,32px)]",children:(0,l.jsx)(ir.Grid,{data:{cols:t.cols??4,gap:"md"},atomId:`${e}_grid`,children:t.cards.map((t,r)=>{let n={media:(0,l.jsx)(oL.Image,{data:{src:t.image.src,alt:t.image.alt,ratio:t.image.ratio},atomId:`${e}_card_img_${r}`}),header:(0,l.jsx)(nY.Headline,{data:{text:t.title,level:3},atomId:`${e}_card_title_${r}`}),body:(0,l.jsx)(oU.Subhead,{data:{markdown:t.body},atomId:`${e}_card_body_${r}`}),action:(0,l.jsx)(iC.Link,{data:{label:t.linkLabel,size:"body-sm"},atomId:`${e}_card_cta_${r}`})};return t.revealSectionId?(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal"},atomId:`${e}_card_${r}`,parentSectionId:e,slots:n,onActivate:()=>a(t.revealSectionId)},t.cardId):(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal",action:t.action},atomId:`${e}_card_${r}`,parentSectionId:e,slots:n},t.cardId)})})})]})}function dT({num:e,title:t,description:a,children:r}){return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-6,24px)] rounded-[var(--radius-xl)] p-[var(--space-5,20px)]",style:{border:"1px solid var(--color-border)",backgroundColor:"var(--color-bg)"},children:[(0,l.jsxs)("div",{className:"flex items-center gap-[var(--space-3,12px)]",children:[(0,l.jsx)("span",{"aria-hidden":"true",className:"inline-flex h-8 w-8 items-center justify-center rounded-[var(--radius-full)] font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"var(--surface-accent, var(--color-brand-500, var(--color-fg)))",color:"var(--color-button-text, var(--color-bg))"},children:e}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body)"},children:t}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:a})]})]}),(0,l.jsx)("div",{className:"mt-auto",children:r})]})}function dP(){return(0,l.jsx)("div",{"aria-hidden":"true",className:"hidden items-center justify-center text-[color:var(--color-fg-muted)] md:flex",style:{fontSize:"var(--type-body)"},children:"→"})}function dz(){return(0,l.jsxs)("svg",{viewBox:"0 0 16 16",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,l.jsx)("rect",{x:"5",y:"5",width:"9",height:"9",rx:"1.5"}),(0,l.jsx)("path",{d:"M3 11V3a1 1 0 0 1 1-1h8"})]})}function dR(){return(0,l.jsxs)("svg",{viewBox:"0 0 16 16",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,l.jsx)("rect",{x:"2",y:"3.5",width:"12",height:"9",rx:"1.5"}),(0,l.jsx)("path",{d:"m2.5 4 5.5 4.5L13.5 4"})]})}function dL({data:e,atomId:t}){let[a,r]=(0,eu.useState)(e.tabs[0]?.id??""),[n,o]=(0,eu.useState)(()=>new Set),[i,s]=(0,eu.useState)(e.seed),[c,d]=(0,eu.useState)(""),[u,p]=(0,eu.useState)("editing"),m=(0,eu.useRef)(null),h=(0,eu.useCallback)(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{m.current?.scrollIntoView({behavior:"smooth",block:"start"})})})},[]),g=e.tabs.find(e=>e.id===a)??e.tabs[0],f=(0,eu.useMemo)(()=>{let t={};for(let a of e.tabs)t[a.id]=a.blocks.filter(e=>n.has(e.id)).length;return t},[e.tabs,n]),y=(0,eu.useCallback)(e=>{if(n.has(e.id))return;let t=new Set(n);t.add(e.id),o(t),s(t=>`${t.trim()}
3
4${e.text}`)},[n]),v=(0,eu.useCallback)(()=>{let e=c.trim();e&&(s(t=>`${t.trim()}
5
6${e}`),d(""))},[c]),b=(0,eu.useCallback)(()=>{i.trim()&&(p("drafted"),h())},[i,h]),x=(0,eu.useCallback)(()=>{p("editing"),o(new Set),s(e.seed),d("")},[e.seed]);return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-12,48px)]",children:[(0,l.jsx)(dO,{atomId:t,data:e,activeTab:g,activeTabId:a,selectedBlockIds:n,commitment:i,
6customLang:c,blockCountsByTab:f,onSwitchTab:r,onAddBlock:y,onAddCustom:v,onChangeCustom:d,onChangeCommitment:s,onDraft:b,onClear:x}),"drafted"===u?(0,l.jsx)("div",{ref:m,className:"scroll-mt-32",children:(0,l.jsx)(dD,{atomId:t,commitment:i,formUrl:e.submit_form_url})}):null]})}function dO({atomId:e,data:t,activeTab:a,activeTabId:r,selectedBlockIds:n,commitment:o,customLang:i,blockCountsByTab:s,onSwitchTab:c,onAddBlock:d,onAddCustom:u,onChangeCustom:p,onChangeCommitment:m,onDraft:h,onClear:g}){return(0,l.jsxs)("section",{"data-atom-kind":"pledge-builder","data-atom-id":e,"data-mode":"editing",className:"grid grid-cols-1 gap-[var(--space-10,40px)] lg:grid-cols-2",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-6,24px)]",children:[(0,l.jsxs)("header",{className:"flex flex-col gap-[var(--space-2,8px)]",children:[(0,l.jsx)("h3",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-h2)"},children:"Building blocks"}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)"},children:"Not sure what to write? Tap a block to add ready-made language you can edit."})]}),(0,l.jsx)("div",{role:"tablist","aria-label":"Pledge building blocks",className:"flex rounded-[var(--radius-full)] p-[var(--space-1,4px)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 8%, transparent)"},children:t.tabs.map(e=>{let t=e.id===r,a=s[e.id]??0;return(0,l.jsxs)("button",{type:"button",role:"tab","aria-selected":t,onClick:()=>c(e.id),className:"flex flex-1 items-center justify-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] px-[var(--space-4,16px)] py-[var(--space-2,8px)] transition-colors",style:{fontSize:"var(--type-body-sm)",backgroundColor:t?"var(--color-fg)":"transparent",color:t?"var(--color-bg)":"var(--color-fg)",fontWeight:t?"var(--font-weight-medium)":"var(--font-weight-default)",cursor:"pointer"},children:[(0,l.jsx)("span",{children:e.label}),(0,l.jsx)("span",{"aria-hidden":"true",className:"inline-flex h-5 min-w-5 items-center justify-center rounded-[var(--radius-full)] px-[var(--space-1_5,6px)]",style:{fontSize:"var(--type-meta)",backgroundColor:t?"color-mix(in oklab, var(--color-bg) 22%, transparent)":"color-mix(in oklab, var(--color-fg-muted) 18%, transparent)",color:"inherit"},children:a})]},e.id)})}),(0,l.jsx)("div",{role:"tabpanel",className:"flex flex-col gap-[var(--space-3,12px)]",children:a.blocks.map(e=>(0,l.jsx)(dM,{block:e,selected:n.has(e.id),onAdd:()=>d(e)},e.id))}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)] pt-[var(--space-4,16px)]",style:{borderTop:"1px solid var(--color-border)"},children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)]",style:{fontSize:"var(--type-meta)"},children:"Paste your own language"}),(0,l.jsx)("p",{className:"m-0 mt-[var(--space-1,4px)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:"Already have policy text? Type or paste it here."})]}),(0,l.jsx)("textarea",{value:i,onChange:e=>p(e.target.value),placeholder:"Type or paste an existing policy or program description…",rows:4,className:"w-full resize-y rounded-[var(--radius-lg)] p-[var(--space-3,12px)] text-[length:var(--type-body)] pointer-coarse:text-[length:max(16px,var(--type-body))]",style:{backgroundColor:"var(--color-bg)",color:"var(--color-fg)",border:"1px solid var(--color-border)",fontFamily:"inherit"}}),(0,l.jsx)("div",{className:"flex justify-end",children:(0,l.jsx)(dH,{onClick:u,disabled:0===i.trim().length})})]})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-6,24px)] rounded-[var(--radius-xl)] p-[var(--space-8,32px)]",style:{border:"1px solid var(--color-border)",backgroundColor:"color-mix(in oklab, var(--color-bg) 92%, var(--color-fg) 0%)"},children:[(0,l.jsxs)("header",{className:"flex flex-col gap-[var(--space-2,8px)]",children:[(0,l.jsx)("h3",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-h2)"},children:"Your public commitment."}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)"},children:"Most pledges open with a single promise, we've started one for you to make your own."})]}),(0,l.jsx)("textarea",{value:o,onChange:e=>m(e.target.value),rows:10,className:"w-full flex-1 resize-y rounded-[var(--radius-xl)] p-[var(--space-5,20px)]",style:{fontSize:"var(--type-h3)",lineHeight:"var(--leading-body)",backgroundColor:"var(--color-bg)",color:"var(--color-fg)",border:"1px solid var(--color-border)",fontFamily:"inherit",minHeight:"16rem"}}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)]",children:[(0,l.jsxs)("button",{type:"button",onClick:h,disabled:0===o.trim().length,className:"inline-flex items-center justify-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] px-[var(--space-6,24px)] py-[var(--space-3,12px)] transition-colors disabled:cursor-default disabled:opacity-60 hover:enabled:!bg-[var(--color-brand-500)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"var(--color-fg)",color:"var(--color-bg)",fontWeight:"var(--font-weight-medium)",cursor:"pointer"},children:["Draft my company's pledge",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}),(0,l.jsx)("button",{type:"button",onClick:g,className:"inline-flex items-center justify-center rounded-[var(--radius-full)] px-[var(--space-6,24px)] py-[var(--space-3,12px)] transition-colors hover:!border-[var(--color-brand-500)] hover:!bg-[var(--color-brand-500)] hover:!text-[var(--color-button-text)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"transparent",color:"var(--color-fg)",border:"1px solid var(--color-border)",fontWeight:"var(--font-weight-default)",cursor:"pointer"},children:"Clear all"})]})]})]})}function dM({block:e,selected:t,onAdd:a}){let r="color-mix(in oklab, var(--color-primary) 35%, var(--color-border))";return(0,l.jsxs)("div",{className:"flex items-center justify-between gap-[var(--space-4,16px
6)] rounded-[var(--radius-xl)] px-[var(--space-4,16px)] py-[var(--space-4,16px)] transition-colors",style:{backgroundColor:t?"color-mix(in oklab, var(--color-primary) 12%, var(--color-bg))":"var(--color-bg)",border:`1px solid ${t?r:"var(--color-border)"}`},children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-col",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body)"},children:e.title}),(0,l.jsx)("p",{className:"m-0 mt-[var(--space-0_5,2px)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:e.subtitle})]}),t?(0,l.jsx)("span",{"aria-label":"Added",className:"inline-flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-[var(--radius-full)]",style:{backgroundColor:"color-mix(in oklab, var(--color-primary) 18%, transparent)",color:"var(--color-primary)",border:`1px solid ${r}`},children:(0,l.jsx)("svg",{viewBox:"0 0 16 16",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,l.jsx)("polyline",{points:"3 8.5 6.5 12 13 4.5"})})}):(0,l.jsx)(dH,{onClick:a})]})}function dH({onClick:e,disabled:t}){return(0,l.jsxs)("button",{type:"button",onClick:e,disabled:t,className:"inline-flex flex-shrink-0 items-center gap-[var(--space-1,4px)] rounded-[var(--radius-full)] px-[var(--space-4,16px)] py-[var(--space-1_5,6px)] transition-colors disabled:cursor-default disabled:opacity-40 hover:enabled:!border-[var(--color-brand-500)] hover:enabled:!bg-[var(--color-brand-500)] hover:enabled:!text-[var(--color-button-text)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"transparent",color:"var(--surface-accent, var(--color-brand-500, var(--color-fg)))",border:"1px solid color-mix(in oklab, var(--surface-accent, var(--color-brand-500, var(--color-fg))) 50%, transparent)",fontWeight:"var(--font-weight-medium)",cursor:"pointer"},children:[(0,l.jsx)("span",{"aria-hidden":"true",children:"+"}),(0,l.jsx)("span",{children:"Add"})]})}function dD({atomId:e,commitment:t,formUrl:a}){let[r,n]=(0,eu.useState)("idle"),o=(0,eu.useRef)(null),i=(0,eu.useMemo)(()=>t.split(/\n{2,}/g).map(e=>e.trim()).filter(Boolean),[t]),s=(0,eu.useMemo)(()=>{try{let e=new URL(a);return e.searchParams.set("typeform-source",window.location.hostname),e.toString()}catch{return a}},[a]),c=(0,eu.useCallback)(async()=>{try{await navigator.clipboard.writeText(t),n("copied"),null!==o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{n("idle"),o.current=null},2400)}catch{}},[t]);return(0,l.jsxs)("section",{"data-atom-kind":"pledge-builder","data-atom-id":e,"data-mode":"drafted",className:"flex flex-col gap-[var(--space-8,32px)] rounded-[var(--radius-xl)] p-[var(--space-8,32px)] md:p-[var(--space-10,40px)]",style:{border:"1px solid var(--color-border)",backgroundColor:"color-mix(in oklab, var(--color-bg) 92%, var(--color-fg) 0%)"},children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:"Your pledge"}),(0,l.jsx)("div",{className:"flex flex-col gap-[var(--space-4,16px)]",children:i.map((e,t)=>(0,l.jsx)("p",{className:"m-0",style:{fontSize:"var(--type-h3)",lineHeight:"var(--leading-body)",fontWeight:"var(--font-weight-emphasis)"},children:e},t))})]}),(0,l.jsxs)("div",{className:"pt-[var(--space-6,24px)]",style:{borderTop:"1px solid var(--color-border)"},children:[(0,l.jsx)("p",{className:"m-0 mb-[var(--space-4,16px)] font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:"How to submit your pledge"}),(0,l.jsxs)("div",{className:"grid grid-cols-1 items-stretch gap-[var(--space-4,16px)] md:grid-cols-[1fr_auto_1fr_auto_1fr]",children:[(0,l.jsx)(dT,{num:"01",title:"Copy your pledge",description:"The full text — statement + commitments.",children:(0,l.jsxs)("button",{type:"button",onClick:c,className:"flex w-full items-center justify-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] px-[var(--space-4,16px
6)] py-[var(--space-2,8px)] transition-colors hover:!border-[var(--color-brand-500)] hover:!bg-[var(--color-brand-500)] hover:!text-[var(--color-button-text)]",style:{fontSize:"var(--type-body-sm)",color:"var(--surface-accent, var(--color-brand-500, var(--color-fg)))",border:"1px solid color-mix(in oklab, var(--surface-accent, var(--color-brand-500, var(--color-fg))) 50%, transparent)",backgroundColor:"transparent",fontWeight:"var(--font-weight-medium)",cursor:"pointer"},children:[(0,l.jsx)(dz,{}),(0,l.jsx)("span",{children:"copied"===r?"Copied":"Copy pledge"})]})}),(0,l.jsx)(dP,{}),(0,l.jsx)(dT,{num:"02",title:"Open the pledge form",description:"Opens in a new tab.",children:(0,l.jsxs)("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"flex w-full items-center justify-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] px-[var(--space-4,16px)] py-[var(--space-2,8px)] no-underline transition-colors hover:!bg-[var(--color-brand-500)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"var(--color-fg)",color:"var(--color-bg)",fontWeight:"var(--font-weight-medium)"},children:[(0,l.jsx)("span",{children:"Open pledge form"}),(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]})}),(0,l.jsx)(dP,{}),(0,l.jsx)(dT,{num:"03",title:"Paste into 'Pledge statement'",description:"The form will prompt you.",children:(0,l.jsx)("p",{className:"m-0 italic text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:"You'll be prompted to paste it when you reach this step."})})]})]})]})}function dq({id:e,content:t,eyebrow:a,heading:r,subheading:n}){return(0,l.jsx)(cN,{id:e,tocLabel:r,children:(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-14,56px)]",children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:a,heading:r,subheading:n}),(0,l.jsx)(dL,{data:t,atomId:`${e}_builder`})]})})}function dW({id:e,content:t,eyebrow:a,heading:r,subheading:n}){return(0,l.jsxs)(cN,{id:e,tocLabel:r,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:a,heading:r,subheading:n}),(0,l.jsx)("div",{className:"mt-[var(--space-8,32px)]",children:(0,l.jsx)(I.PublishedFeed,{envelope:{kind:"published-feed",atom_id:`${e}_feed`,source:t.source,layout:t.layout,template:t.template}})})]})}let d$=["offers","provides","specializes in","specializes","facilitates","focuses on","focuses","delivers","helps"];function dU({data:e,atomId:t}){let a=(0,sA.usePublishedFeed)(e.source),r=e.cols??3;if("loading"===a.status)return(0,l.jsx)(d1,{atomId:t,cols:r,limit:6});if("error"===a.status||0===a.atoms.length)return null;let n=a.atoms[0],o=function(e){let t=dF.safeParse(e);if(!t.success)return[];let a=t.data.body,r=[];for(let e=0;e<a.length-1;e++){let t=dB.safeParse(a[e]);if(!t.success)continue;let n=dG.safeParse(a[e+1]);if(!n.success)continue;let o=function(e){let t,a,r,n=e.match(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h2>/i);if(!n)return null;let o=dK(n[1]??"").trim();if(!o)return null;let i="";for(let n of[...e.matchAll(/<p\b[^>]*>([\s\S]*?)<\/p>/gi)]){let e=n[1]??"",o=n[0]??"";if(/mdi-map-marker/i.test(e)){t=dK(e).trim()||t;continue}if(/mdi-chat-processing/i.test(e)){a=dK(e).trim()||a;continue}if(/class="[^"]*\blink\b[^"]*"/i.test(o)){let t=e.match(/href="([^"]+)"/i);t&&(r=t[1]);continue}if(!/class="[^"]*\b(eyebrow|citation-name)\b[^"]*"/i.test(o)&&!i){let t=dK(e).trim();t&&(i=t)}}return i?{name:o,description:i,region:t,languages:a,url:r}:null}(n.data.value);o&&r.push({logo:t.data.value.basic_image.file,...o})}return r}(n.article?.source_data),i=o.length>0?o:function(e){let t=e.article?.summary,a=e.atom_metadata?.insights??[];if(!t)return[];let r=function(e){let t=e.indexOf("—");if(-1===t)return[];let a=e.slice(t+1).trim(),r=a.indexOf("."),n=(-1===r?a:a.slice(0,r)).split(",").map(e=>e.trim()).filter(Boolean);return n.length>0&&(n[n.length-1]=n[n.length-1].replace(/^and\s+/i,"")),n}(t);return 0===r.length?[]:r.map(e=>{let t=function(e,t){let a=e.toLowerCase();for(let e of t){let t=e.replace(/^-\s*/,"").trim();if(t.toLowerCase().startsWith(a))return t}return null}(e,a);if(!t)return null;let r=function(e,t){for(let a of d$){let r=`${e} ${a} `;if(t.toLowerCase().startsWith(r.toLowerCase()))return dV(t.slice(r.length).trim())}return t.toLowerCase().startsWith(e.toLowerCase())?dV(t.slice(e.length).trim()):t}(e,t);return r?{name:e,description:r}:null}).filter(e=>null!==e)}(n);if(0===i.length)return null;let s=n.article?.url??"",c=n.article?.post_date,d=n.atom_metadata?.categories??[],u=n.atom_metadata?.industries??[],p=n.atom_metadata?.roles??[];return(0,l.jsxs)("div",{"data-atom-kind":"partners-grid","data-atom-id":t,className:"flex flex-col gap-[var(--space-8,32px)]",children:[(0,l.jsx)(dZ,{count:i.length,postDate:c,roles:p}),d.length>0?(0,l.jsx)(dY,{categories:d}):null,(0,l.jsx)(dJ,{cols:r,children:i.map(e=>(0,l.jsx)(dX,{partner:e,directoryUrl:s},e.name))}),u.length>0?(0,l.jsx)(dQ,{industries:u}):null,s?(0,l.jsx)(d0,{url:s}):null]})}let dF=em.z.object({body:em.z.array(em.z.unknown())}).passthrough(),dB=em.z.object({block_type:em.z.literal("basic_image"),value:em.z.object({basic_image:em.z.object({file:em.z.string(),alt_text:em.z.string().optional()}).passthrough()}).passthrough()}),dG=em.z.object({block_type:em.z.literal("body_text"),value:em.z.string()});function dK(e){return e.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\s+/g," ").trim()}function dV(e){return e?e.charAt(0).toUpperCase()+e.slice(1):e}function dZ({count:e,postDate:t,roles:a}){let r=function(e){if(!e)return null;let t=new Date(e);
6return Number.isNaN(t.getTime())?null:t.toLocaleString("en-US",{month:"long",year:"numeric"}).toUpperCase()}(t),n=a.length>0?a.join(" & "):null,o=[{value:String(e),label:"Recommended partners"}];return r&&o.push({value:r,label:"Last updated"}),n&&o.push({value:n,label:"Curated for"}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-[var(--space-4,16px)] sm:grid-cols-3","data-partners-stats":"",children:o.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-h3)",lineHeight:"var(--leading-snug)"},children:e.value}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:e.label})]},t))})}function dY({categories:e}){return(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-[var(--space-2,8px)]","data-partners-chips":"",children:[(0,l.jsx)("span",{className:"font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:"Focus areas"}),e.map(e=>(0,l.jsx)("span",{className:"rounded-[var(--radius-full)] px-[var(--space-3,12px)] py-[var(--space-1,4px)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-meta)",border:"1px solid var(--color-border)"},children:e},e))]})}function dJ({cols:e,children:t}){let a={display:"grid",gridTemplateColumns:`repeat(${e}, minmax(0, 1fr))`,gap:"var(--space-md, 16px)"};return(0,l.jsx)("div",{style:a,"data-partners-grid":"",children:t})}function dX({partner:e,directoryUrl:t}){let a=e.url??t,r=[e.region,e.languages].filter(Boolean).join(" · ");return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{backgroundColor:"var(--color-bg)",border:"1px solid var(--color-border)"},"data-partner-card":"",children:[e.logo?(0,l.jsx)("img",{src:e.logo,alt:`${e.name} logo`,className:"block",style:{height:"40px",width:"auto",maxWidth:"60%",objectFit:"contain",objectPosition:"left center"},loading:"lazy"}):null,(0,l.jsx)("h3",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-h4)",lineHeight:"var(--leading-snug)"},children:e.name}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},children:e.description}),r?(0,l.jsx)("p",{className:"m-0 uppercase tracking-[var(--tracking-wider)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-meta)"},"data-partner-meta":"",children:r}):null,a?(0,l.jsxs)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"m-0 mt-auto inline-flex items-center gap-[var(--space-1,4px)] font-[var(--font-weight-emphasis,600)] no-underline hover:underline",style:{fontSize:"var(--type-body-sm)",color:"var(--surface-accent, var(--color-brand-500))"},"data-partner-link":"",children:[e.url?`Visit the ${e.name} site`:"View in directory"," ",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}):null]})}function dQ({industries:e}){return(0,l.jsxs)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},"data-partners-industries":"",children:["Relevant to ",e.slice(0,3).join(" · ")]})}function d0({url:e}){return(0,l.jsxs)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-meta)"},"data-partners-source":"",children:["Recommended partners ·"," ",(0,l.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"no-underline hover:underline",style:{color:"inherit"},children:function(e){try{let t=new URL(e);return t.host.replace(/^www\./,"")+t.pathname}catch{return e}}(e)})]})}function d1({atomId:e,cols:t,limit:a}){return(0,l.jsxs)("div",{"data-atom-kind":"partners-grid","data-atom-id":e,"data-state":"loading",className:"flex flex-col gap-[var(--space-8,32px)]",children:[(0,l.jsx)("div",{className:"grid grid-cols-1 gap-[var(--space-4,16px
6)] sm:grid-cols-3",children:Array.from({length:3},(e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{className:"h-6 w-20 animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 22%, transparent)"}}),(0,l.jsx)("div",{className:"h-3 w-24 animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 14%, transparent)"}})]},t))}),(0,l.jsx)(dJ,{cols:t,children:Array.from({length:a},(e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)",backgroundColor:"var(--color-bg)",minHeight:"180px"},children:[(0,l.jsx)("div",{className:"h-10 w-24 animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 14%, transparent)"}}),(0,l.jsx)("div",{className:"h-5 w-3/4 animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 22%, transparent)"}}),(0,l.jsx)("div",{className:"h-3 w-full animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 14%, transparent)"}}),(0,l.jsx)("div",{className:"h-3 w-5/6 animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 14%, transparent)"}})]},t))})]})}function d2({id:e,content:t,eyebrow:a,heading:r,subheading:n}){return(0,l.jsxs)(cN,{id:e,tocLabel:r,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:a,heading:r,subheading:n}),(0,l.jsx)(dU,{data:t,atomId:`${e}_grid`})]})}function d5({data:e,atomId:t}){let a=(0,sA.usePublishedFeed)(e.source),r=e.cols??2,n=e.source.params.custom_interests.reduce((e,t)=>e+t.limit,0),o={display:"grid",gridTemplateColumns:`repeat(${r}, minmax(0, 1fr))`,gap:"var(--space-md, 16px)"};if("loading"===a.status)return(0,l.jsx)("div",{"data-atom-kind":"toolkit-grid","data-atom-id":t,"data-state":"loading",style:o,children:Array.from({length:Math.max(n,2)},(e,t)=>(0,l.jsx)(d9,{},t))});if("error"===a.status||0===a.atoms.length)return null;let i=a.atoms[0],s=function(e){let t=d4.safeParse(e);if(!t.success)return[];let a=null;for(let e of t.data.body){let t=d3.safeParse(e);if(t.success&&/class="[^"]*\beyebrow\b[^"]*"[^>]*>\s*Featured Activation Toolkit/i.test(t.data.value)){a=t.data.value;break}}if(!a)return[];let r=[...a.matchAll(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h2>/gi)];if(0===r.length)return[];let n=[];for(let e=0;e<r.length;e++){let t=r[e],o=d6(t[1]??"").trim();if(!o)continue;let i=t.index+t[0].length,s=e+1<r.length?r[e+1].index:a.length,l=a.slice(i,s),c=[...l.matchAll(/<p\b[^>]*>([\s\S]*?)<\/p>/gi)].map(e=>d6(e[1]??"").trim()).filter(Boolean).join(" ");if(!c)continue;let d=l.match(/href="([^"]+)"/i),u=d?.[1]??"",p=/\/time-to-screen(\/|$|\?|#)/i.test(u),m=p?"Early detection saves lives":null;n.push({eyebrow:null,title:o,description:c,url:u,badge:m,highlighted:p})}return n}(i.article?.source_data),c=s.length>0?s:a.atoms.map(d8).filter(e=>null!==e);return 0===c.length?null:(0,l.jsx)("div",{"data-atom-kind":"toolkit-grid","data-atom-id":t,style:o,children:c.map((e,t)=>(0,l.jsx)(d7,{...e},t))})}let d4=em.z.object({body:em.z.array(em.z.unknown())}).passthrough(),d3=em.z.object({block_type:em.z.literal("body_text"),value:em.z.string()});function d6(e){return e.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\s+/g," ").trim()}function d8(e){let t,a=e.article?.url??"",r=e.article?.slug,n=r?(t=r.replace(/-/g," ").toLowerCase()).charAt(0).toUpperCase()+t.slice(1):e.article?.title??"";if(!n)return null;let o=e.atom_metadata?.categories?.[0]?.toUpperCase()??e.atom_metadata?.channels?.[0]?.toUpperCase()??"TOOLKIT",i=function(e){if(!e)return"";let t=e.indexOf("—");if(t>20)return e.slice(0,t).trim();let a=e.indexOf(". ");return a>20?e.slice(0,a+1).trim():e.trim()}(e.article?.summary)||e.article?.description||"",s=(e.atom_metadata?.entities??[]).some(e=>"time to screen"===e.toLowerCase());return{eyebrow:o,title:n,description:i,url:a,badge:s?"Early detection saves lives":null,highlighted:s}}function d7({eyebrow:e,title:t,description:a,url:r,badge:n,highlighted:o}){let i=o?"var(--surface-subtle-bg, color-mix(in oklab, var(--color-brand-500) 6%, var(--color-bg)))":"var(--color-bg)",s=o?"color-mix(in oklab, var(--color-brand-500) 35%, var(--color-border))":"var(--color-border)",c=r?({children:e})=>(0,l.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"group relative flex flex-col gap-[var(--space-4,16px
6)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)] no-underline transition-colors",style:{color:"inherit",backgroundColor:"var(--toolkit-bg)",border:"1px solid var(--toolkit-border)","--toolkit-bg":i,"--toolkit-border":s},"data-toolkit-card":"","data-highlighted":o?"":void 0,children:e}):({children:e})=>(0,l.jsx)("div",{className:"relative flex flex-col gap-[var(--space-4,16px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{color:"inherit",backgroundColor:i,border:`1px solid ${s}`},"data-toolkit-card":"","data-highlighted":o?"":void 0,children:e});return(0,l.jsxs)(c,{children:[r?(0,l.jsx)("style",{children:`
7          [data-toolkit-card]:hover {
8            --toolkit-border: var(--color-brand-500) !important;
9          }
10        `}):null,(0,l.jsxs)("header",{className:"flex items-start justify-between gap-[var(--space-3,12px)]",children:[e?(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:e}):(0,l.jsx)("span",{"aria-hidden":"true"}),n?(0,l.jsx)("span",{className:"inline-flex flex-shrink-0 items-center rounded-[var(--radius-full)] px-[var(--space-3,12px)] py-[var(--space-1,4px)] font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-meta)",backgroundColor:"var(--color-brand-500)",color:"var(--color-button-text, #FFFFFF)"},children:n}):null]}),(0,l.jsx)("h3",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-h3)",lineHeight:"var(--leading-snug)"},children:t}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},children:a}),r?(0,l.jsxs)("p",{className:"m-0 mt-auto font-[var(--font-weight-emphasis,600)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-body-sm)"},children:["Explore ",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}):null]})}function d9(){return(0,l.jsxs)("div",{"data-toolkit-card-skeleton":"",className:"flex flex-col gap-[var(--space-4,16px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)",backgroundColor:"var(--color-bg)",minHeight:"200px"},children:[(0,l.jsx)("div",{className:"h-3 w-20 animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 18%, transparent)"}}),(0,l.jsx)("div",{className:"h-6 w-3/4 animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 22%, transparent)"}}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)]",children:[(0,l.jsx)("div",{className:"h-3 w-full animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 14%, transparent)"}}),(0,l.jsx)("div",{className:"h-3 w-5/6 animate-pulse rounded-[var(--radius-sm)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 14%, transparent)"}})]})]})}function ue({id:e,content:t,eyebrow:a,heading:r,subheading:n}){return(0,l.jsxs)(cN,{id:e,tocLabel:r,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:a,heading:r,subheading:n}),(0,l.jsx)(d5,{data:t,atomId:`${e}_grid`})]})}function ut({prefix:e,content:t}){let{reveal:a,isRevealed:r}=cj(),n={hero:`${e}_hero_section`,pledgeStory:`${e}_pledge_story_section`,pledgeNumbers:`${e}_pledge_in_numbers_section`,startsWithYou:`${e}_starts_with_you_section`,signatories:`${e}_signatories_section`,pledgeBuilder:`${e}_pledge_builder_section`,activateResources:`${e}_activate_resources_section`,caseStudies:`${e}_case_studies_section`,partners:`${e}_partners_section`,programs:`${e}_programs_section`,activatePledge:`${e}_activate_pledge_section`,activateCommitment:`${e}_activate_commitment_section`,timeToScreen:`${e}_time_to_screen_section`,listening:`${e}_listening_section`},{hero:o,pledgeStory:i,pledgeNumbers:s,signatories:c}=t,d={};if(d.media=(0,l.jsx)(cC,{atomId:`${e}_hero_portrait`,data:{image:{src:o.portrait.src,alt:o.portrait.alt},quote:{text:o.portrait.quote,author:o.portrait.attribution,role:o.portrait.role}}}),o.eyebrow&&(d.eyebrow=(0,l.jsx)(nJ.Label,{data:{text:o.eyebrow},atomId:`${e}_hero_eyebrow`})),d.header=(0,l.jsx)(nY.Headline,{data:{text:o.headline,level:1},atomId:`${e}_hero_headline`}),d.body=(0,l.jsx)(oU.Subhead,{data:{markdown:o.body},atomId:`${e}_hero_subhead`}),d.action=(0,l.jsx)(cS.Row,{data:{gap:"md"},atomId:`${e}_hero_actions`,children:o.ctas.map((t,r)=>t.scrollSectionId===n.activatePledge?(0,l.jsx)(nQ.Button,{variant:"outlined",onClick:()=>a(n.activateCommitment),"data-atom-id":`${e}_hero_cta_${r}`,children:t.label},r):(0,l.jsx)(ok.Button,{data:{label:t.label,style:t.style,action:{scroll:{section_id:t.scrollSectionId}}},atomId:`${e}_hero_cta_${r}`,parentSectionId:n.hero},r))}),o.proof){let{logos:t,caption:a}=o.proof;d.proof=(0,l.jsxs)(oI.Stack,{data:{gap:"sm"},atomId:`${e}_hero_proof`,children:[(0,l.jsx)(cS.Row,{data:{gap:"md",align:"center"},atomId:`${e}_hero_logos`,children:t.map((t,a)=>(0,l.jsx)(oL.Image,{data:{src:t.src,alt:t.alt,size:"sm"},atomId:`${e}_hero_logo_${a}`},a))}),a?(0,l.jsx)(oU.Subhead,{data:{markdown:a},atomId:`${e}_hero_proof_caption`}):null]})}return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(cN,{id:n.hero,tocLabel:o.headline,children:(0,l.jsx)(o_.Hero,{data:{recipe:"marquee",emphasis:"normal"},atomId:`${e}_hero`,parentSectionId:n.hero,slots:d})}),(0,l.jsx)(cN,{id:n.pledgeStory,children:(0,l.jsx)(cP,{data:i,atomId:`${e}_pledge_story`})}),(0,l.jsx)(dA,{id:n.startsWithYou,content:t.startsWithYou}),(0,l.jsxs)(cN,{id:n.pledgeNumbers,tocLabel:s.heading,emphasis:"featured",children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:s.eyebrow,heading:s.heading}),(0,l.jsx)(cD,{data:s.carousel,atomId:`${e}_pledge_in_numbers`})]}),(0,l.jsxs)(cN,{id:n.signatories,tocLabel:c.heading,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:c.eyebrow,heading:c.heading,subheading:c.subheading}),(0,l.jsx)(cD,{data:c.carousel,atomId:`${e}_signatories_carousel`})]}),(0,l.jsx)(dq,{id:n.pledgeBuilder,content:t.pledgeBuilder.content,eyebrow:t.pledgeBuilder.eyebrow,heading:t.pledgeBuilder.heading,subheading:t.pledgeBuilder.subheading}),(0,l.jsx)(dE,{id:n.activateResources,content:t.activateResources.content,onReveal:a}),r(n.caseStudies)&&(0,l.jsx)(dW,{id:n.caseStudies,content:t.caseStudies.content,eyebrow:t.caseStudies.eyebrow,heading:t.caseStudies.heading,subheading:t.caseStudies.subheading}),r(n.partners)&&(0,l.jsx)(d2,{id:n.partners,content:t.partners.content,eyebrow:t.partners.eyebrow,heading:t.partners.heading,subheading:t.partners.subheading}),r(n.programs)&&(0,l.jsx)(ue,{id:n.programs,content:t.programs.content,eyebrow:t.programs.eyebrow,heading:t.programs.heading,subheading:t.programs.subheading}),(0,l.jsx)(cN,{id:n.activatePledge,tocLabel:t.activatePledge.headline,children:(0,l.jsx)(o_.Hero,{data:{recipe:"builder",emp
10hasis:"announcement"},atomId:`${e}_activate_pledge_hero`,parentSectionId:n.activatePledge,slots:{header:(0,l.jsx)(nY.Headline,{data:{text:t.activatePledge.headline,level:1},atomId:`${e}_activate_pledge_headline`}),body:(0,l.jsx)(nX.Prose,{data:{markdown:t.activatePledge.body},atomId:`${e}_activate_pledge_body`}),action:(0,l.jsx)(nQ.Button,{variant:"bare",onClick:()=>a(n.activateCommitment),"data-atom-id":`${e}_activate_pledge_cta`,className:(0,ec.cn)("inline-flex min-h-[44px] cursor-pointer items-center justify-center","rounded-[var(--radius-full,9999px)] px-[var(--space-6,24px)] py-[var(--space-2_5,10px)]","text-[length:var(--type-body-sm)] transition-opacity hover:opacity-[0.88]"),style:{background:"var(--color-fg)",color:"var(--color-bg)",fontWeight:"var(--font-weight-light, 400)"},children:t.activatePledge.cta.label})}})}),r(n.activateCommitment)&&(0,l.jsxs)(cN,{id:n.activateCommitment,children:[(0,l.jsxs)(oC.Split,{data:{ratio:"1:1"},atomId:`${e}_activate_commitment_intro_split`,children:[(0,l.jsxs)(oI.Stack,{data:{gap:"md"},atomId:`${e}_activate_commitment_intro_stack`,children:[t.commitment.eyebrow?(0,l.jsx)(nJ.Label,{data:{text:t.commitment.eyebrow},atomId:`${e}_activate_commitment_eyebrow`}):null,(0,l.jsx)(nY.Headline,{data:{text:t.commitment.heading,level:2},atomId:`${e}_activate_commitment_headline`}),t.commitment.intro?(0,l.jsx)(nX.Prose,{data:{markdown:t.commitment.intro},atomId:`${e}_activate_commitment_body`}):null]}),(0,l.jsx)(oL.Image,{data:{src:t.commitment.media.src,alt:t.commitment.media.alt,ratio:t.commitment.media.ratio},atomId:`${e}_activate_commitment_hero_image`})]}),(0,l.jsx)("div",{className:"mt-[var(--space-8,32px)]",children:(0,l.jsx)(ir.Grid,{data:{cols:3,gap:"md"},atomId:`${e}_activate_commitment_grid`,children:t.commitment.cards.map((t,r)=>{let o={media:(0,l.jsx)(oL.Image,{data:{src:t.image.src,alt:t.image.alt,ratio:t.image.ratio},atomId:`${e}_activate_card_img_${r}`}),header:(0,l.jsx)(nY.Headline,{data:{text:t.title,level:3},atomId:`${e}_activate_card_title_${r}`}),body:(0,l.jsx)(nX.Prose,{data:{markdown:t.body},atomId:`${e}_activate_card_body_${r}`}),action:(0,l.jsx)(iC.Link,{data:{label:t.linkLabel,size:"body-sm"},atomId:`${e}_activate_card_cta_${r}`})};return(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal"},atomId:`${e}_activate_card_${r}`,parentSectionId:n.activateCommitment,slots:o,onActivate:()=>a(t.revealSectionId)},t.revealSectionId)})})})]}),r(n.timeToScreen)&&(0,l.jsxs)(cN,{id:n.timeToScreen,tocLabel:t.timeToScreen.heading,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:t.timeToScreen.eyebrow,heading:t.timeToScreen.heading,subheading:t.timeToScreen.subheading}),(0,l.jsx)(cV,{data:t.timeToScreen.content,atomId:`${e}_time_to_screen`})]}),r(n.listening)&&(0,l.jsxs)(cN,{id:n.listening,tocLabel:t.listening.heading,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:t.listening.eyebrow,heading:t.listening.heading,subheading:t.listening.subheading}),(0,l.jsx)(de,{data:t.listening.content,atomId:`${e}_listening_learning`})]}),t.pillars.map(e=>r(e.sectionId)?(0,l.jsx)(dN,{content:e},e.sectionId):null)]})}let ua={eyebrow:"WORKING WITH CANCER",headline:"5,000 companies have decided no one should face cancer alone at work.",body:"**Ready to get started?**",ctas:[{label:"Take the pledge →",style:"dark",scrollSectionId:"wwc_choose_view_section"},{label:"Activate your pledge →",style:"outlined",scrollSectionId:"wwc_activate_pledge_section"}],portrait:{src:"https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=900&h=900&fit=crop",alt:"Gina Jacobson",quote:"When I mentioned my symptoms to my CEO, he pushed me to see a doctor right away. The appointment changed everything.",attribution:"Gina Jacobson",role:"Publicis Groupe employee & cancer survivor"},proof:{logos:[{src:"https://images.ctfassets.net/d9f88znebd85/1vGdtgqzpenEg2e55hpFYv/a4d6bdc9e4029ae9ca8af0c5fc4de520/lgo-home-meta-300x200.webp",alt:"Meta"},{src:"https://images.ctfassets.net/d9f88znebd85/YTU8tmyqkoO12VITIzfw1/831e2f00b322ec999b783e78fb523334/lgo-supp-mcdonalds-300x200.webp",alt:"McDonald's"},{src:"https://images.ctfassets.net/d9f88znebd85/2ui5gYyOKwPkXLjcScGDoS/aded56d22b872fff53df2784b0f845c2/lgo-supp-verizon-300x200.webp",alt:"Verizon"},{src:"https://images.ctfassets.net/d9f88znebd85/2XyDBSXk7CisQTNKihBF9j/e0af7c8f82562abeceedcb22f34f80b7/lgo-supp-lvmh-300x200.webp",alt:"LVMH"},{src:"https://images.ctfassets.net/d9f88znebd85/79BUORWAk5y5j03JpJVjbX/2377403253b48f9335891fff8ef4abf3/lgo-supp-google-300x200.webp",alt:"Google"},{src:"data:image/webp;base64,UklGRj4eAABXRUJQVlA4WAoAAAAQAAAAAwEAoQAAQUxQSAwNAAABwIf//2KnlT7fk5w4QS/uGkJ1ca1ENrhTAequ1HG5aIVyu7g/Vt+6LW61UMX9IrHStEloPCcznz/md+b3O0Ma1hsRE4C//P+X///y/3+Ji+hJyKR6Fl8rhPVq+mDQX6tOrRDGSDXtrc+2bTG9df+zfhM1F3y3xfiO3c9FoXpezlA+D5PhyxnK92tU0361QvBdSyPokxWKTXHVtJxACOaLmcg3Q7HhSsNmRi8YHltI+0qJfCvWVOOvaf5Kw2bh7TAr8E2zrpTIb5oYAtDl/BWTPU0gZgTR66+YMroihCOKr5TWxUBMCRrt+ZOQy0eqiqJRCOmz1p+NeENc+KqKXY0h5gRdzvw5oG7SoLS0/kOu8cGj4dcOTktLG9ivNqqK5xFa/7I/i
10QEZBdnZOcVrorxS/43CnOycvFPJVcXprpCQYGThZSOuJHRjLTq3RnulxX46K0dXFSv8CKmg3pbLBr76bVq1bNmydZu6gtCPKVO8H+WVptsVhUOqiD9GIuTPWZdNy6Xpu3bu3LkrfVUjSMhGXy6Dq4itdUJ39RHal0nfbKrLhiH0l0vxsKrBeh6hD19Box4QDLoUhEv9VVXZmKrh6FUewKDfaF8OwAQr2MHWVVV5FbHS74XaW2jSC/FvM3jh7dUYm3kD4cknArS9J+idRdoqboiovpBbanujw1EaDB0wwSKZfybgOJpQjSl/FJDQCfyvXQaCOh+RNn+eftpR/nDIhhoSN2JodFVwLAHaYgJAyu/eA3pfJMkvrt3k4JsRRkThC/f7MdKIAICE+/1+HwCIidI0SJg/wh+mED1x+Px+f5hDTC30Q4yIjqD2x5fD85WOf8hTJG2e6GxAAPjqdBk/deHK1fPfDxgQwNc49emXV6xePO22xBgAYuDB9g/PXb52+fxH+tYDIBoCIKLDrdMXr1mx4OGe8QDESF4KDEYkNofJ+wPeq7eFJIvHYkAhSVY+oydA2PWTtp+7FCBJ29YSQK6Zlf5ruU0yUHBy05BowKdVefZMsUXSLsne/WxrAOJGgPCk1ccLKknaJRmfjo0FxMSHtSB6NVfOCtMTJBzwXp+LjtOJaP2lg+/GaogA7RacraSuCwFqPHPSotv8tYmAT8O26bbyx7siAQkmQOOXL9Jt0ca2gE+v4n6YvC7veAM9wDffczLdcrwZj7BXFRf6QtyIwDfyJxoMJkCzjQHq/pAEiDvt4hfjAVEJ0Olz6u65CtD7qQPEwBSW32oCybleq7ODJAOPAhhX6rBfgFsRhE/IZwgEaPIhDZ66CRBzNmkvjoVagPa7SdruuKWBgQUwWX8PuSlCTxD3rteSfqFN5vQEkPCDg5/UhbiAPFnM4LZlaQE11jK4Zals8tsOULuybZXTmuSDOIBab5O0SVqlf5SStGmT08O1fk2GGBhXRJ7roQfggQpvyTw6P6wLQfhaRW6yG2B4HklapJXx/vyJE+d/bes8GqDtsA4sfmHyquMkbdrksgid/C/Xvbpw9Z58kjZJXkxG0Kct0ibt9ElDkofNOUPaJH8erPVuHAxGbybJWWKidbq36u5w2M/B+VCZw54icNk6nSRtMmd2lzrhAtxTodHxEJVFC9r5RaKvWlRMkhZ/H6ARmFq3RkRkXOOk9SWkTZJvxqg6HaYzsLw1nL33kLRZ+IFO2QMw2TfT8VVziJ5vgbcG5jpykyAArj5Mm+TOxpBgM0ibJL9P9kE5sFRjKpWlU8KhjJxRTuU6v7vSFKhjJxaSpM3cf1VNo/L1eAACoPdZOv+pk97CyGw6y++CyX5ZtD20gM7P6sMZ+RadBWkI3vEAlUe6ARDH6DJ3zfaoNsYAAggQ94bqRBd3ZWMUAoTNt6hcII4mOxVnugECQCCzLMdZnQWiJ2izX8E3YiF60e/SfYga7VTMgPrJCoc9LyzYw5WKorsBgVJn+B+K39MgAgACpOUpKh9xV66CAC2/VX1e3zG0QPEyXPbO17OZ2Rsm7y1XXbzJBO4qpu2ZYZccF5OCJJ5wML0pRBG9jsoP4yEwM4XKD2siqKDeJwouDjMCAabYimPdHZPoLHvAFxOrrOG/8Zwe+XasniD+PQad64PoNd1P1yGaT+entSFORL2tuDQU6oRvFfYEuNSIW6/6O1zPVn1U3wwEgwsUeYMBRK9WlH711vsfKD/8YN8fBorGwmRyXrADHfQEvr9bHhG03KfYfc/9DzvvfvAzy8GlftWN2YqcNGPNtijKHnD3QEDxdYIhoOthReltABp/5rCpaeulN9UT+BcyeMV9MNk90zMjihSlfxSri0pUP7dUDSlW/HS9sYRvFbkj3Y26pDjcxVjHbxUV4wEkfOMw6s6eLhAdoOMxF/ykNkRHELvZIwh7iU6bujYLx6pGBxTftDd2zQFF9kB3gy8qjnc31navovQ2AFf/6ImsbtAW4PEKN7kpMHlLiScEbb5TGF3nV4xR7e9k7KqfFBeHuRv2u+JwV2Od0hUFQx0/KWxdq7LskKv1sRAdoN52ul7sh+gImn3lCWBEsSmbhxIUw0oVJ3oZa7tPUTTe3dgSxXdXGet3TvHPfgAS0xWF6x9/7nm3zz55/zA3xWNgckgBbTdHE2BykuUBQeRrNGuTLH9Ikfqb4tIoYw0+VNgvuJtgK/6jmSHBXeWKfW0ANN+iGgJ9N3uaQPQi19N94GkDgu7nPQC0OaAIXCq45LKgnMpNEY7ORxWcacy/WMF1fjfhS6hcG2VGELGSyrURAGI3KDglJBNh8l9OaXBrHT0gYrUnxhQ6rA039UkKflPXhZbiRBdH/Y9VXzWBmMETluLYdRCVoMMPqokwIsCNOYrAo3DOVO2oDzF2phvEwHTbnc384SZwa3HIBFGr6MxPhvvOWYrKCQ6Zq6qcBoiZm39RWDMAn0OAJwKK3AFGBKj9HpUHOirGFCsqJgBialUEDDbcS+1Vfj1Bgx0hA1ofUqQ30oh/S8G3YgFg2CUFc8cBEMcIjZrvK5iRAgggQLejVH5W213ZKIcAtZdbJG1ynihafqVg1kgAohCHL1jhaJgcX6J3srMegElW6O4oUrzsh7jCE5Yiow8EqPWRirlTm0I5oNQd7g8oeGiAwNnrK5K0GXgUGgMd8N/4vkXlzx2hlNkq5kxsiqDhieN7hAfbVtdEzGbq2xONXH+CdogiN9BZOBjuBT3PKqxn4BxT5LBJ66t5dw5MGXj725bG37Y4bDLnH8O6XN9/9imStMlt9TUqF15zXdeU+1ZnUV10J4Jefcxhk4Gv5oxL7tUn9Zanlx4smRjMegH6ghuzDXBXI4iefw3V5tofUnzfCuIKiHlTwU/qQYDIxaRNdUn2+Zxy0nZ8HKvCoHzSpk2y4PCBiwyaNxgaLDx14NCFCgatnOkPhgkBBi8+f/zE+XyLtJ/yBTl2tQFgNk2W3gaTw/Nph+bBUsUrfmg/WanIvdGBZp/T7LZ6QXwvVJA2Xdtk2bM+Lbc2WTE3BpAgcatI2gqXgSfDgqyM0BO0+8EI10dB9OrtoNJYxEY6S0ZBv/MJ2iStyQII0PYTM0fbBEH07DJql06PAkS1Q4/85ZkoQKAUoOFm6lc+E+6wmTcIJu+rMJPZywSeCdAORedjip86QLSi3qFyXzMAAjRcmG+gYm19lQBRE7J1zj7oBwTK5vv1yj5J9QGCoALUXZCvxSd8DnJbbT1B3c9o1prug+glnqDT2LNULg6HwccsRcVgABAgYtAbme6Kflo/rgGCCoB+G3LcZK7pDkCgjpv3q+XKzv7grjoABC4F8A95N9eVlbH+aigqHgdEBxheaoj7m+sJ/EtDk7r8tUWLFr/aGWKg2cSVixYtXL6wiwMCIOamqZv2HMvIzjj945YNs8d19AMQFQRAdNKsd9NPZ2WdSX9nRr8IAILgtW58bNG/7z10NiM748iuDZOTagAQuBcANfrPevvrExlZF0798MXqZ3pHQhTHO8Kgb9hb72wKvnKn5aJsPEym5YdA1D6B6IkAEhwABM7otj2SUpP6XNskAkqBbo1OfZNT+ybGQVMAQGq27dIvKfXmrq0i4BToCpxxCb2SUm7uc01jP4Agi/wQvbD4WvEuw3qecMH34iE6grpfhACCoAJ9QXCBdwUuxZ2HBdqOvFQYFGiGveYmpx9MPhwIQTXY8VFtiJ7+kEIXfDlMT3DVkWpe4EGEXtBgm5ufW+kBYa9U837uCAkZgBcsF+WPmkDa79W5Sr4k8KCgx1kX/DheTxD/QTXuF/6WCvEAELHBTe4APQCPVlbfLvL9OHj0rlIX/LcwE+0OVd8Kyx6GV5t/4+bIVRC9sCV8o7rG/a0943vZjTUBJvtf+iy2mla8yOcZ3JxDOwi/+BtEr/aWL+Krad+lwbvxn9Jl8UgYlCfXNqqmzWvoITwWcMG34gyg4+MtqmlXRXip9SfnD6gPnv20g54gMiG+muZlgTTr1CFoYmKcHgQicqUDHzR9en/5/y///5/UVlA4IAwRAAAQSgCdASoEAaIAPj0ejUSiIaER+nT4IAPEsTdxoA5MhuPsf7T+M3hMQW59+Lv5R/KpUH51/OPzR+5nGYll9XPXT79/aP2n/wH///8fzN/oH5PfIr8+/0X3AP0Y/yf99/sv/C/w///7x/mA/pv9p/7H+N93b+1/6T+j+4j9hP9J7gH8v/rHrXf5n2
10Cf7//xvYI/lX+H/83rXf+X/Q/BL+1v/m/1X7//Qv/NP7b/2vz/+QD/0eoB/4+I8/rv43+Cn+Q5dz2x5arOmJNgBO2+3917vWNQuSX/yPB9+5/6X2A/47/ivVh/ovGV+bf5j2Cv5l/gesx+6vsAfrz/7V3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3ZuxAXD7Z2/uXuf84IMALxM27blY6tTMeEZJTKZRRJEhP5+hjSOLSiA2BisxfqfndzAfKDDBWJgbnUPDM2YfmFNuU71bbP/0lcg/aTHoDi7yoji1faVhR9PsjSrhAvfrOb3iCcacgU/pEUnl/JUbNxYGSJuqtPiOaXH/F1hBfG8mhhmXu2RVEkIDZXiJKb7DzeLyv2OxMFkhccQ9wtF836d/u047sfNjvjBQjJCkfIHl0YsTTu1Hu6uPHyBWjPEj6Wsq6xx570PlRfBiumPQbhb+fd7ygjyHTswv5Q3dEYvJYT3szyCG+aGBwYkzNHmsCK++6yMjwJFMJzXSe+UnLUfywsbuK2ggJ5rErKzyof7btao+h/yxm5oMMIT1ZSqkXGLUPLQvgR0xtVaOmHGZmZmZmZmZmZmZmZmZmZmZmZmZmZmZQAAP7/zRiAAAA2Lacgp/+l4vybWyiAQxaJOcdN8VQreAZWS6cQH5jou6eJQ/ucVOl2nk+qdxjS22yEH/q6uOrom3OcZxvx24vqo7knAlucZk6R4u8tCGNNFB5PXbykXInhBicjUx6ohkecVZZKw3UU8vL3JZMwQtORvYLDYGu98vlyr+gCzcJ8bHWHlDZN8W066QV16QkHfirOFmV5M+kn4JeNejgkOP/HBV+PgWdPeXlGZr3qaDBPzHRd08Sh+KWdwMo70Kddze5ElpwyJN9qY5BvMJTy+Eez/ZmbYg7aL0wcE8vIOr0EGZSOkVWzAB7Kn+/H4B/LTU5m9zJ0PvZBZh+clWWq3Wry31k71KSW2UyOaav6yq2HQc9ktUdo7OIZZaVhjD16e9zHSyMi77uR/hapLn4S9Wf+OR6ZRUvU1wHafgc6MTdl6Jvp2fmj6VGoAW6O5pXVuSxgQcMy4yPAfAzoCDxZGLpWjTAIs/b2IZiiH3YsMR/hjOWt/g26aNgyECYuPVM2sp5CVwb8G8GWHUelXDUr4o2YKcBeLO/auGppbsObcYH2ldUuBRGCIgVREc/2JC3IPJmYeq2Ri+i4LKTN+YGci+Qpnk9IDFV7li1C/oWQ/uQUlS/Dj1nhE12f/Pi2MY7qQiHDKm29Erh8We6P/9kjRuNOgc48Xfu9X7afEgZPUFFcNYJiTae6lkvI00dPjZKnsESLRhcK2qVmKDPsMxq8SBdesxIK3H3BBifgGPVG523oCvtAIegLx/HBSkPN8LLPll6m101/mZGzLDd0Lxv5vviXm216j76l0JK0BpxX+1gDiObYsjKZxPoqDNucr9dWoEjPEMqbsFq//tGaiTf9PRTX1XLq+rFkO1KtlVHxTci13VBRPSKQXLlcyPZyrD1zcp2Y0gfTO54xn8h141MG+Ay0zr+9rc88kmvlY2bad4TUaZ9FTr8YzrKViTt44m32Ac6ERst/VgxMMKQHaU1gWk+RcKQNvBlXEA6DWeWHNLKw71jbZFZh2oGtK6lsFqFCU2L48Bv/CNt5OsjKaXGKaNj7UA074Nh4aIXi7CaUOvkzjUp5zKFZwm35Uvl7OtGmXxQbOSPb43qIci1UrY6gRA4zqE45qZf4rlkBS65gJQow96U7XenwkUWyXLB9OOlSddyiMtdCSbt75HJWH09TshT7KYzM5fzpkYIoOEvNydk8p23vVxgtQswKLgsy2lEEKwHYci1UqgBfFaPkpGwbD9Cus9SvcRF2u3R2SFqxi291R60WcOFdkm8T2x9vrDlK+q2HQPS3527VskeeV0vwn96nnq0SAAB6kxYkLrkoQjJhKIKe048HEgwjOlyJYyiZkRHZf3Jp0GTaGImEt5h8ysnKpBoTZFam8m+zlj8eFlb1U0+GS9Hl0XGNqFy19pPCQUUOA4wp+crxh5UnaTgQs+t6XT5q/NO2tEsxn1bqERCjBAeDP1+bcZ98sJB3GMdK7Xd8FM9hhbFRnke3Wpk+w9aT2I3e7UeDNwQK8v/7JvhZd//9+g8bY2/0Z397pr6xpUOAVbeP8f/yEmwGaLBVLuUhFvgf38TrhNIg2kdnhZ9fgGec1OQeUqW3V+Q6WGG0fBznslMoI/33pHI3CZTrXlvRpntVDxqGbSMpz2YbKbWUJi4aCcSH23YP/UuBnEORh+eplQRlAqvHO1Y2iWcUNHyR3eKjXjMfs8USVOe1uUuB/hciQcuEghSU9E2VPH/maAhx4pHvoICyIJp9KWT5jtLbtmj7UXMCnR7m6cfs2mvLMzulsV7Ks9mZGd6LiH2gAavGnQlwdSZwNWhGshMYalVgk1IasUGfJQEn+HIDkm1gFXFhHpvC3dNMoEaFWsbcEZU4EomQxHTGDiY5nbMFxjTHHl+ThFrdvfF4DkXuuYKE+efXqUDcInE4WpsPmEHpELT51D3152KodtV+IKtjvF6cxd0CHJSCXpwLlv6coblzLpjoNip4C9ejKubTt1ewzdh7LgEdRlc029yKA009b44CAUv5F95Ro6lJFa1bVNI3GWRIpbJzfH5Pzudr9dndgvmP5+zZPS6EciwksPv6gsSkvb1YajMT05CNO8PsDFrnhEyhAcgGXIYFhXQ0fDKCDkmwc9oEuYWb/CPdWxF/ph4bRbZj1cE0/zB9GgMaM0ROHnoTVEK4YkLs6yEsarPwPh5NKdRbmi2DH232JnVPcXMD+ucWpYkzmby1W8manZyDH6CygROjmeRhEvlf02hhpFgHcWzsbPuJa4eRnwd+shRNuDc0fNNVmIHLicDhXkk+VnKEsm+i86JphMZxc+3GR9jjVfD7UA1Mu96RmNWqkB/4gvrEoyjlAfJIbeJu4mPRJfSnuVHuYqcg/xF+yiym90jn5CVDTXGnpQxPawLbvuDvaAEhmp7KXGECChji6sjUZ6N+jdT401RX7LX0px1mES01UhO4KFSjmh0E7llrr+Hcplbvt42aIq8EotPVqFDwG0FBN6n2d8W0oggIo5o+S2s9XGsXntkuhbf82DEqPHj9zwwp6m1ViHBsH0dl2md7BcOG5wR6itIXqfMmZRSRgZYyTjmlc3LtC5eYW5Hd3nU6425jRTKjwu63KjtKKLFbqgH1r7rBlexjLuHrF/jJnIPjA6TeO4UPZmng4Q8O2zFdoRCGIXqb50Dd4rd4Ai4iMr2YxbBDKecTP04Jy6ad0KljZmNY0FpVw4f6PJxLuk3OWcOv0dTexJ6WIgDcHT4puFdTRFrCP8oUWqZkKdmiDrld60bCjOEMREleAsD1iOIfTKf31khI3PDw9kBoBN0dtDPPxZycTE37Bm7uuW+rhXdRf/VY93gpoOZ7LV2xbPsiWspGoOU31NRImVMwgmAO+mpgSOJL8zvp/O55b++Kndj0bMlZ279mmcNrbUB/l7l9t75qDDGbLsbVkOAQ6jF9XpAPxynob1FuIxIjmn5J9jezYzJ88eCgu1hcjl/B0STzNyc/JygiWnvbRcS1KWXwTnmdaYBBDlG9OoDMiOxSYDtyf1NPyIe+Mhedo82WXo32ZaNgMfE1im5U3Z2rYlnRMu7yCF8/XfTr9XBTtPV86qvlrJnGXG+lFZOeV1u5Gy+z6lubk3DUCudS3tH0jq08HmRKdyN09Jx6h3TE6HVCRive9lJDjm68uovRYRZrHH9Ixbh0TMtj7jOwe8IynqKZK57RJ3ERcPIYiiQIRyPiSO9F59r2BzsEdEiBCrRJkv/+O2+QC4/CoGcGm0wp3i70kdbmPEU6YM53ME1RmxuqYopZFrfptKhiIucabBPgDCOuyZmcg/piE1nhaMmsML7D00vdTnIPVbR53AHpdk8TEcFnY5B1GYw1hXb+Y3XASg4hH4ORIQNIwO5Pc83mTTOdx/X3zI2Di77rdSzofl9bR1mbNFQY24mLlQSqaC8Sy6Y+jqoNPjWTgty8TGOTnG45usX5zyRQ55rRMEotcOZih+SkMOhu3uUNJcNEHVlsJ0N3sBNFWu4QtwFqBVR9zaepvEmVwSdEP72LOLUw8rPHHcBP5PMhUNmc8ybZ6Y1N3eUriLMHgRkTll2ZI3aFt2bCdf+ozvgEu4jw0Uq5Nqs3f9IhNf0ZCIQKA+9MYfscAEH8bCSkNM0+ZBXceaOy99cSBXshDuFEUe1ww2STZMzrU8M58x6n+nimvhVoLkeWptlcG+Og2IbVD6kZVaJCyw2jQUCGUlkQ6AH5Y/naFgMLtZ3frlqw2eD/Gcs3An4WXN0lboqOdInizpUpGBsLPTUWrl/+Nnim617Khi1ycFkhThdYIw7Irn2TUFJ+/Q1HDIsIWyOsRFGpS87KMPEGHEkcu8jDvtxjSFFqTvvgeeoDmld3DezAKYZz31GllohOVYjrGulLf1BRM4LSqNuCZIw/I7KI9fPxksswfq+4Z856mAY7l5FKjK7+lexZX+kSul0KqyWkR8+bDYAcCMcj2n3XwbDAURZ0VBTFsfDIZt8ar9xRjw3R9Sk3UNivaStQoJachflimjWj6G2GGy3RpwJUZKYa6aWKe7Whiiy1bQeBATJ/Z1vrjh7ZLXiyuyv93cWDtVvKY79ZfM5Yo+SulH5tJSxKCLzjjZhsilYyvGtmrgAFYsEtTjZt3iAl+7hgrlZYk0TFyWe/2isBDJAO8oEak5xCJ9WkZsmDbDm2Z3fgjVLdt9TebKy4s8FF+mcrpOoETGkxZVyfykw4qUmh9Ikizid90NiZiUOoLqL6JBYO42V5yh/V7lCyXl90dpZxtw3rVO0n2Fn1AuWzxsNONbE5ra0b0G3s5ldJj6hPHO1gY3B0qeaBHpPSsqVSMqR9N0raEuoDURxvDUqPBpZ+JIxdKSP1lF5JIZ2JfKx6rhV0U1q/PDZ6KE178REGW4zHNZVlJxXSCNYMiFbowAjW/VFugj/Y77AvCEuaAI2ry35aW2eueMRvwRNl66QZl6vID9tuMZkFLUqr1zXM3/QRKm8cGno
10ogHkBWnoFtef+zdW6ng2MpIRmLcF11tpYVX59pBDjeCrJ2ATjO4QjUHf5GRy0oRTAjeDklnR0RXyG3/3psZeu5GdPrZGmRyxN+BAJFDKt36FxZjQX+NSnRwDoq8KN3q88An6kN0xGA7iWvv+SA5ppHpNuvnAvTGcbqVTDb1YxhYXBkoQobajg3PtJ6L61n2CO9wsk0fbdQ9APifDGOMpuGXdA8UpTlb1aO7FmypR9wVxLwLAcklukircxX4tEF9HbkCbtOEOdSoZe7i/pzmZRBSuiYgBKzwvAKfd1eDiTZWReNZeh8eOy0C/B+Z4rP2oQtmtK8buTbvmDEDv9MLp+e05dWIon0TiW9EXYVgSepUhr6d/yzNHADg5Ux7XEIIk1QhHjeFyvG7+kQHtbSX8KGMBsr0bfJuMsU1nMaFxrkOHes4UqZzHFAugfbZsbOXYKIS5YYGVUHO/ZCn0GgR0U15I0BLmJtFkTIbXnbvrSXZSsMqxCTARNGH6VuAKgUYubx0yqf5lsAAAAAAAAG3+1NwMcQAAAAAAAAA==",alt:"Adobe"}],caption:"**4,000+ companies** have already signed."}},ur={eyebrow:"Choose your view",heading:"Where do you want to start?",subheading:"The pledge looks different from every seat. Pick yours and we'll tailor the whole page to you.",cards:[{image:{src:"https://static-www.adweek.com/wp-content/uploads/2026/04/arthur-sadoun-publicis-CEO.webp?w=1200",alt:"Portrait of a CEO / Executive",ratio:"3:1"},eyebrow:"For leaders",title:"CEO / Executive",body:"The business case, and the peer leaders who've already signed.",linkLabel:"Enter →",personaId:"CEO / Executive",scrollSectionId:"wwc_ceo_pledge_builder_section"},{image:{src:"https://nwx.new-work.se/storage/_processed_/nwx23-speakerkachel-1500x1500-lafrentz-nicola_4cbbf589f0.jpg",alt:"Portrait of an HR / Heads of People leader",ratio:"3:1"},eyebrow:"For people teams",title:"HR / Heads of People",body:"What your team can actually ship — policies, tools, and training.",linkLabel:"Enter →",personaId:"HR / Heads of People",scrollSectionId:"wwc_hr_pledge_builder_section"},{image:{src:"https://images.contactout.com/profiles/d4681e46091319b64f50d174b700b399",alt:"Portrait of an employee",ratio:"3:1"},eyebrow:"For employees",title:"Employee",body:"How to start the conversation where you work.",linkLabel:"Enter →",personaId:"Employee",scrollSectionId:"wwc_employee_start_conversation_section"}]},un={pledge:{headline:"Put your pledge into motion",body:"Once your company has taken the pledge, it's time to transform your words into actions that bring your pledge to life. We'll help you follow through on your commitment with achievable actions that can make a big difference for your employees.",cta:{label:"Activate your pledge →",style:"dark",revealSectionId:"wwc_activate_commitment_section"}},commitment:{eyebrow:"ACTIVATE YOUR COMMITMENT",heading:"Bring your pledge to life in your way",intro:"Every company takes a unique approach to activating their pledge, and there are no specific requirements for what you choose to do.",media:{src:"https://images.ctfassets.net/d9f88znebd85/690PJcmHN6ocVUgJl2oJ6d/fac8c42b3979a41f377bba95690cef21/activate-commitment_hero_desktop.png",alt:"Two colleagues activating their commitment together",ratio:"4:3"},cards:[{image:{src:"https://images.ctfassets.net/d9f88znebd85/4EXqAmJ64KUtOQVfw9iqAL/b539d8e6bb766104f745061c7c6253dc/image.png",alt:"Time to Screen campaign",ratio:"16:9"},title:"Time to Screen",body:"Encourage your team to make time for the screenings that catch cancer early.",linkLabel:"Explore →",revealSectionId:"wwc_time_to_screen_section"},{image:{src:"https://images.ctfassets.net/d9f88znebd85/5f7hDAIKMT2hVLChTYRVnp/d6514e41a8ae55272c6631640aa5d889/GS_ListenLearn01.png",alt:"Colleagues in a listening session",ratio:"16:9"},title:"Listening & learning",body:"Hear from your people and learn what good support looks like before you build.",linkLabel:"Explore →",revealSectionId:"wwc_listening_section"},{image:{src:"https://images.ctfassets.net/d9f88znebd85/Sd4z8WT91S04CsuEPhbFw/fd7085ef17ca95a25a10b05c66d810ac/image.png",alt:"Conversation about corporate benefits",ratio:"16:9"},title:"Corporate benefits & policies",body:"Job and salary protection, leave, and a structured return to work.",linkLabel:"Explore →",revealSectionId:"wwc_benefits_section"},{image:{src:"https://images.ctfassets.net/d9f88znebd85/6nGt5d357luk30BJFdtzgT/a0bda79665e61e721f954a6415370d69/active-nestle-2.png",alt:"Community event tent at a pledge gathering",ratio:"16:9"},title:"Community",body:"Peer networks, visible commitment, and spaces that make disclosure safe.",linkLabel:"Explore →",revealSectionId:"wwc_community_section"},{image:{src:"https://images.ctfassets.net/d9f88znebd85/1SgqMNFpmSdPTsstx0Akma/5af54be3b55f9b3e54a656c2231f2817/image.png",alt:"Manager coaching a colleague",ratio:"16:9"},title:"Coaching",body:"Manager training and expert coaching for every conversation and return.",linkLabel:"Explore →",revealSectionId:"wwc_coaching_section"},{image:{src:"https://images.ctfassets.net/d9f88znebd85/2Hqu0MBmYr3TZ6c1TWOu2H/2a854476ef1d0d4fdd6e79f4a7988bad/paramount_team_race_1.jpeg",alt:"Group of pledge signatory colleagues",ratio:"16:9"},title:"Caregivers",body:"Extend protection and flexibility to employees caring for a loved one.",linkLabel:"Explore →",revealSectionId:"wwc_caregivers_section"}]}},uo={slides:[{heading:"What is the Working with Cancer Pledge?",body:"A movement of more than 5,000 companies committing to supp
10ort people through cancer and serious illness. When you sign, Working with Cancer will help you:",middle:{type:"cards",items:[{label:"Evaluate",body:"Your current culture, policies, and programs."},{label:"Communicate",body:"Your commitment and existing offerings."},{label:"Improve",body:"Over time, at your own pace."}]},stat:{value:"5,000+",caption:"Companies"},media:{src:"https://images.ctfassets.net/d9f88znebd85/3J8oNUnVTqXP0DS0scJ4hz/45eb1c3e8c76050b128d8315ceda9eb5/image.png",alt:"Victoria Blinder, MD in conversation"}},{heading:"Why the pledge exists",body:"Half of us will face cancer in our lifetime — and half of employees with cancer are afraid to tell their employer. The pledge exists to change that.",middle:{type:"quote",text:"Many patients want to continue to work to maintain a sense of normalcy and empowerment.",attribution:"Victoria Blinder, MD",attribution_role:"Medical Oncologist, Memorial Sloan Kettering Cancer Center"},stat:{value:"1 in 2",caption:"will face cancer in their lifetime"},media:{src:"https://images.ctfassets.net/d9f88znebd85/6jMpUwcxTyiE8oMkV0HzR3/e481ded7920ab9b5cb336c69156a6d12/homepage_collage_1.png",alt:"Two warehouse workers smiling together"}},{heading:"A shared commitment",body:"We stand together to abolish the stigma around cancer at work — and build a more supportive, recovery-forward culture for everyone impacted.",middle:{type:"logos",items:[{src:"https://upload.wikimedia.org/wikipedia/commons/e/e1/MSKCC_Logo.png",alt:"Memorial Sloan Kettering Cancer Center"},{src:"https://upload.wikimedia.org/wikipedia/en/1/1a/Macmillan_Cancer_Support_logo.svg",alt:"Macmillan Cancer Support"},{src:"https://wp.logos-download.com/wp-content/uploads/2019/11/Cancer_Campus_-_Gustave_Roussy_Logo.png",alt:"Gustave Roussy Cancer Campus"}]},stat:{value:"70%",caption:"say someone at work had a meaningful impact"},media:{src:"https://images.ctfassets.net/d9f88znebd85/77x9ufrhkNBxSNDM45N3I0/fe17fe7e9cd3b9833092576a1105e891/about-the-pledge_CTA-3up_desktop.png",alt:"Conference attendee in wheelchair smiling"}}]},ui={eyebrow:"The pledge in numbers",heading:"What does support at work actually change?",carousel:{emphasis:"featured",slides:[{quote:"When I went to work, I wasn't sick Keith. I was just Keith.",attribution:"Keith Cannon",stat:{value:"7in10",caption:"people with cancer say work is a source of pride critical to recovery."},media:{src:"https://images.ctfassets.net/d9f88znebd85/7mAiBUMlyYCTqsqmh34njs/abe0ff40cea384b7882d375a2b175a41/image.png",alt:"Keith Cannon in conversation"},quote_level:2},{quote:"I'm alive today because my CEO told me to go to the doctor.",attribution:"Gina Jacobson",stat:{value:"22%",caption:"increase among employees in key cancer screenings."},media:{src:"https://images.ctfassets.net/d9f88znebd85/4KmYVWZDISaySzXy9P1Yfb/1c57634942511332b4eb12ec03ffda26/screening-time-off_story_desktop.png",alt:"Gina Jacobson giving a thumbs-up in a hospital gown before a screening"},quote_level:2},{quote:"Working while going through cancer treatment stabilized me by giving me an anchor.",attribution:"Greer Morrison",stat:{value:"90%",caption:"of employees who disclose their diagnosis have a positive experience at work."},media:{src:"https://images.ctfassets.net/d9f88znebd85/7gMKQ3wTMC3uQOgrLqjp0o/4e81283cbf94b55e0f145a69eba80559/image.png",alt:"Greer Morrison portrait"},quote_level:2}]}},us={eyebrow:"ON YOUR OWN TERMS",heading:"How signatories made the pledge their own",subheading:"Real examples of companies that activated their pledge in their own way.",carousel:{emphasis:"normal",slides:[{logo:{src:"https://images.ctfassets.net/d9f88znebd85/6IVLpdYNMeQ8l8mJ2Q5IyK/2fb62b32bfe96b48718addd6bc83bc0d/lgo-home-loreal-300x200.webp",alt:"L’Oréal"},quote:"At L’Oréal we have a long-time commitment to creating open and inclusive workspaces, so that those confronted with an illness feel comfortable to disclose their situation. That’s why we’re proud to be a signatory to the #WorkingWithCancer pledge.",attribution:"Nicolas Hieronimus & Barbara Lavernos",attribution_role:"CEO & Deputy CEO",media:{kind:"video",src:"https://videos.ctfassets.net/d9f88znebd85/4kBTm8ohe75U1d8u3KzPwB/c0a8a3ce600bda1db82668de3066b1a1/Media1__1_.mp4",alt:"L’Oréal leadership on the Working with Cancer pledge"},quote_level:3,case_study_slug:"loreal"},{logo:{src:"https://images.ctfassets.net/d9f88znebd85/5r00OwY1e9a1SE2WHAASVS/2b36b7603021efaebbe146827d739b45/lgo-home-unilever-300x200.webp",alt:"Unilever"},quote:"Our Unilever culture begins with humanity — to care, show kindness, and ensure inclusion — and we are working to create equity for everyone, including those who experience the scourge of cancer during their working lives.",attribution:"Dr. Diana Han",attribution_role:"Chief Health and Wellbeing Officer",media:{kind:"image",src:"https://images.ctfassets.net/d9f88znebd85/6knpXrgCR9tfPRB5j03cy3/527d5b4d9534484cb0856eebc98a84c3/img-hs-unilever-620x620.webp",alt:"Dr. Diana Han, Chief Health and Wellbeing Officer at Unilever"},quote_level:3},{logo:{src:"https://images.ctfassets.net/d9f88znebd85/5baN7U2fSRYzB7yGaAQJjo/dcaa28b3831b9c747cb79319cb48ce2d/image_180__1_.png",alt:"Walmart"},quote:"Walmart's Commitment to Support Associates with Cancer\n\nWell-being matters: Our people make the difference, and we are focused on supporting every part of their well-being, every day.\n\nAccess to quality care: The best healthcare professionals in the country are available to associates in the U.S. through our Centers of Excellence program. In our markets outside the U.S., in many cases, public health plans are supported with private coverage for cancer and related procedures.\n\nTime to rest, recover: We want associates to focus on what matters most — their health — during this difficult time of life. We provide leave of absence programs, and also offer disability benefits in some cases, if associates are unable to work because of cancer.\n\nEasing the financial burden: We provide treatments for many cancers through our Centers of Excellence program in the U.S., at no-cost in most cases. If traveling for care is needed, we'll cover expenses and lodging for both the associate and a caregiver while the associate is receiving care.\n\nSupporting mental health: We know cancer is more than a physical challenge, and it can take an emotional toll as well. Walmart associates and family members battling cancer have access to free counseling with a licensed therapist 24/7 — in person, on the phone, via video or through text.\n\nEducational Campaigns: We offer access to a variety of resources from educational sessions and access to experts to online information and more.",attribution:"Donna Morris",attribution_role:"Executive Vice President, Chief People Officer",media:{kind:"image",src:"https://imageio.forbes.com/specials-images/imageserve/631b901555837694b13d19a0/Donna-Morris---thumbnail-plain/0x0.jpg?width=960&dpr=2",alt:"Donna Morris, Executive Vice President and Chief People Officer at Walmart"},quote_level:3},{logo:{src:"https://images.ctfassets.net/d9f88znebd85/3JkfA0X9QOVIO53zdDR8Ov/7e96fab06879fa2aac52c3fa635a408a/image_184__1_.png",alt:"Lloyds Banking Group"},quote:"At Lloyds Banking Group we want to create a ‘people-first’ workplace where everyone feels included and has the opportunity to thrive. When 1 in 2 of us are likely to get cancer at some point, making sure we are there for our people at such a crucial time is something we’re fully committed to.",attribution:"William Chalmers",attribution_role:"CFO",media:{kind:"image",src:"https://images.ctfassets.net/d9f88znebd85/5kkj96811obeKxLUNfQhot/c2253a398e8c9b37c1a8a94519eb1e69/img-hs-william-lloyds-620x620.webp",alt:"William Chalmers, CFO of Lloyds Banking Group"},quote_level:3}]}},ul={source:{name:"atoms",params:{custom_interests:[{limit:5,value:"Empowering employee proactivity through Working With Cancer — Time to Screen, paid time off for cancer screenings, early-detection awareness.",structural_filters:{categorical_content_modality:"text",editorial_type:["Tactical Guide"]}}],exclude_atom_ids:[],include_article_detail:!0}}},uc={source:{name:"atoms",params:{custom_interests:[{limit:5,value:"Listen and learn from impacted employees, audit current benef
10its — bringing your Working With Cancer pledge to life through four pillars of action.",structural_filters:{categorical_content_modality:"text",editorial_type:["Tactical Guide"]}}],exclude_atom_ids:[],include_article_detail:!0}},partners_source:{name:"atoms",params:{custom_interests:[{limit:6,value:"Curated partners and resource organizations supporting employer cancer-at-work programs.",structural_filters:{categorical_content_modality:"text",editorial_type:["Resource Directory"]}}],exclude_atom_ids:[],include_article_detail:!0}}},ud=[{sectionId:"wwc_benefits_section",eyebrow:"Benefits & policies",heading:"Corporate benefits & policies",subheading:"Turn the commitment into policy your handbook can stand behind — job and salary protection, leave, and a structured return to work.",pillar:{pillar:"benefits",case_study_slug:"sanofi",breadcrumb:"Activate · Benefits & policies"}},{sectionId:"wwc_community_section",eyebrow:"Community",heading:"Build community & belonging",subheading:"Support lands when people don’t face it alone. Create the spaces, peers, and visible commitment that make disclosure safe.",pillar:{pillar:"community",case_study_slug:"loreal",breadcrumb:"Activate · Community"}},{sectionId:"wwc_coaching_section",eyebrow:"Coaching",heading:"Coaching & manager support",subheading:"Equip managers and offer expert coaching so every conversation — and every return — is handled with confidence and care.",pillar:{pillar:"coaching",case_study_slug:"publicis",breadcrumb:"Activate · Coaching"}},{sectionId:"wwc_caregivers_section",eyebrow:"Caregivers",heading:"Support for caregivers",subheading:"Caregivers are part of the workforce impact, not separate from it. Extend protection and flexibility to employees caring for a loved one.",pillar:{pillar:"caregivers",case_study_slug:"beiersdorf",breadcrumb:"Activate · Caregivers"}}],uu={seed:"At [company name], we are committed to erasing the stigma of cancer in the workplace and creating a more supportive workplace culture for our employees impacted by cancer.",submit_form_url:"https://lafondationpublicis.typeform.com/pledge?utm_source=workingwithcancerpledge.com",tabs:[{id:"reasons",label:"Reasons",blocks:[{id:"leader-lived-it",title:"A leader here has lived it",subtitle:"An executive's personal or family experience.",text:"We're making this commitment because someone in our leadership has faced cancer — personally or through a loved one — and knows first-hand what steady support, or its absence, means during treatment."},{id:"core-mission",title:"It's core to our mission",subtitle:"Helping people live healthier, fuller lives.",text:"Helping people live healthier, fuller lives is central to who we are. Standing beside our own people through a cancer diagnosis is a natural extension of that mission."}]},{id:"policies",label:"Policies & programs",blocks:[{id:"communicate-existing",title:"Communicate what we already offer",subtitle:"Make existing benefits easy to find.",text:"We already offer meaningful support — such as paid medical leave, flexible scheduling, and caregiver resources — and we commit to communicating it clearly, so no one has to go looking for help when they're least able to."},{id:"new-initiatives",title:"Roll out new initiatives",subtitle:"Programs like Time to Screen.",text:"We are putting new support in place, including initiatives like Time to Screen, and will continue building on these efforts as we learn what makes the greatest difference for our employees."},{id:"audit-benefits",title:"Audit our current benefits",subtitle:"Identify gaps and shape the path forward.",text:"We are auditing our current benefits and policies to identify gaps, and we will use what we learn to shape a clear path forward for supporting employees affected by cancer."}]},{id:"communication",label:"Communication",blocks:[{id:"make-visible",title:"Make support visible",subtitle:"Share openly so people know what's available.",text:"We commit to making this support visible — sharing it openly with everyone, so our people know what's available long before they ever need it."},{id:"equip-managers",title:"Equip our managers",subtitle:"So response doesn't depend on luck.",text:"We will equip our managers to respond with care and consistency, so an employee's experience never comes down to the luck of who they report to."},{id:"keep-it-alive",title:"Keep the commitment alive",subtitle:"Regular updates and awareness moments.",text:"We will keep this commitment alive through regular updates and awareness moments, revisiting our support so it keeps pace with our people's needs."}]}]};function up(e){return{eyebrow:"WHEN YOU'RE READY TO ACTIVATE",heading:"Resources and inspiration to get you started",subheading:"You don't have to build alone. Browse toolkits, partners, and case studies, and take the first practical steps after signing.",cols:4,cards:[{cardId:`${e}_activate_partners`,image:{src:"https://imageio.forbes.com/specials-images/imageserve/6500da19cbcf3546ef3e6761/Customer-focused-leaders-set-the-tone-for-their-company-s-customer-experience/0x0.jpg?width=960&dpr=2",alt:"Colleagues in conversation in an office",ratio:"3:1"},title:"Partners who can help",body:"Curated expert organizations ready to support your activation.",linkLabel:"Browse partners →",revealSectionId:`${e}_partners_section`},{cardId:`${e}_activate_programs`,image:{src:"https://www.transamerica.com/sites/default/files/styles/hero_banner_720_280_2x/public/image/2024-11/mature_lady_in_a_meeting_with_colleague.jpg.webp?itok=aVANFeUj",alt:"Manager mentoring an employee in a meeting",ratio:"3:1"},title:"Ready-to-use programs",body:"From time off for screenings to manager curricula.",linkLabel:"See the toolkits →",revealSectionId:`${e}_programs_section`},{cardId:`${e}_activate_playbook`,image:{src:"https://images.ctfassets.net/d9f88znebd85/5f7hDAIKMT2hVLChTYRVnp/d6514e41a8ae55272c663164
100aa5d889/GS_ListenLearn01.png",alt:"Group of colleagues collaborating in a casual meeting",ratio:"3:1"},title:"Ways to get started",body:"Practical steps to launch and expand your activation.",linkLabel:"See the playbook →",action:{target:{mode:"insert-after-parent",dismissable:!0},message:"Give me the playbook — the practical first steps to launch and expand our activation of the Working with Cancer pledge."}},{cardId:`${e}_activate_cases`,image:{src:"https://images.ctfassets.net/d9f88znebd85/6nGt5d357luk30BJFdtzgT/a0bda79665e61e721f954a6415370d69/active-nestle-2.png",alt:"Employees at a community pledge event under a tent",ratio:"3:1"},title:"Employer case studies",body:"See how our partners are putting their pledges into practice.",linkLabel:"Browse case studies →",revealSectionId:`${e}_case_studies_section`}]}}function um(e){return{headline:"Put your pledge into motion",body:"Once your company has taken the pledge, it's time to transform your words into actions that bring your pledge to life. We'll help you follow through on your commitment with achievable actions that can make a big difference for your employees.",cta:{label:"Activate your pledge →",style:"dark"}}}function uh(e){return{eyebrow:"ACTIVATE YOUR COMMITMENT",heading:"Bring your pledge to life in your way",intro:"Every company takes a unique approach to activating their pledge, and there are no specific requirements for what you choose to do.",media:{src:"https://images.ctfassets.net/d9f88znebd85/690PJcmHN6ocVUgJl2oJ6d/fac8c42b3979a41f377bba95690cef21/activate-commitment_hero_desktop.png",alt:"Two colleagues activating their commitment together",ratio:"4:3"},cards:[{image:{src:"https://images.ctfassets.net/d9f88znebd85/4EXqAmJ64KUtOQVfw9iqAL/b539d8e6bb766104f745061c7c6253dc/image.png",alt:"Time to Screen campaign",ratio:"16:9"},title:"Time to Screen",body:"Encourage your team to make time for the screenings that catch cancer early.",linkLabel:"Explore →",revealSectionId:`${e}_time_to_screen_section`},{image:{src:"https://images.ctfassets.net/d9f88znebd85/5f7hDAIKMT2hVLChTYRVnp/d6514e41a8ae55272c6631640aa5d889/GS_ListenLearn01.png",alt:"Colleagues in a listening session",ratio:"16:9"},title:"Listening & learning",body:"Hear from your people and learn what good support looks like before you build.",linkLabel:"Explore →",revealSectionId:`${e}_listening_section`},{image:{src:"https://images.ctfassets.net/d9f88znebd85/Sd4z8WT91S04CsuEPhbFw/fd7085ef17ca95a25a10b05c66d810ac/image.png",alt:"Conversation about corporate benefits",ratio:"16:9"},title:"Corporate benefits & policies",body:"Job and salary protection, leave, and a structured return to work.",linkLabel:"Explore →",revealSectionId:`${e}_benefits_section`},{image:{src:"https://images.ctfassets.net/d9f88znebd85/6nGt5d357luk30BJFdtzgT/a0bda79665e61e721f954a6415370d69/active-nestle-2.png",alt:"Community event tent at a pledge gathering",ratio:"16:9"},title:"Community",body:"Peer networks, visible commitment, and spaces that make disclosure safe.",linkLabel:"Explore →",revealSectionId:`${e}_community_section`},{image:{src:"https://images.ctfassets.net/d9f88znebd85/1SgqMNFpmSdPTsstx0Akma/5af54be3b55f9b3e54a656c2231f2817/image.png",alt:"Manager coaching a colleague",ratio:"16:9"},title:"Coaching",body:"Manager training and expert coaching for every conversation and return.",linkLabel:"Explore →",revealSectionId:`${e}_coaching_section`},{image:{src:"https://images.ctfassets.net/d9f88znebd85/2Hqu0MBmYr3TZ6c1TWOu2H/2a854476ef1d0d4fdd6e79f4a7988bad/paramount_team_race_1.jpeg",alt:"Group of pledge signatory colleagues",ratio:"16:9"},title:"Caregivers",body:"Extend protection and flexibility to employees caring for a loved one.",linkLabel:"Explore →",revealSectionId:`${e}_caregivers_section`}]}}let ug={source:{name:"atoms",params:{custom_interests:[{limit:3,value:"Case studies of large employer signatories of the Working with Cancer pledge — the programs they built for cancer support at work, the policies they shipped, and the outcomes they're seeing.",structural_filters:{categorical_content_modality:"text",editorial_type:["Case Study"]}}],exclude_atom_ids:[],include_article_detail:!0}},layout:{kind:"grid",cols:3,gap:"md"},template:{kind:"published-card",data:{emphasis:"normal"}}},uf={cols:3,source:{name:"atoms",params:{custom_interests:[{limit:6,value:"Curated partners and resource organizations supp
10orting employer cancer-at-work programs — the Working with Cancer pledge's resource directory of trusted experts, services, and program providers.",structural_filters:{categorical_content_modality:"text",editorial_type:["Resource Directory"]}}],exclude_atom_ids:[],include_article_detail:!0}}},uy={cols:2,source:{name:"atoms",params:{custom_interests:[{limit:1,value:"Activate-toolkit hub for ready-to-use programs: Time to Screen policy, Manager training, Communication templates and ERG kits, Return-to-work protocol — deployable employer toolkits.",structural_filters:{categorical_content_modality:"text",editorial_type:["Tactical Guide"]}}],exclude_atom_ids:[],include_article_detail:!0}}};function uv(e){return{eyebrow:"Toolkit · Time to Screen",heading:"Empower employees to take time for their health",subheading:"Many people delay routine screenings because of work — and leaders are uniquely positioned to change that. Launch Time to Screen with ready-made resources and assets, adapted to your policies, workforce, and culture.",content:{source:{name:"atoms",params:{custom_interests:[{limit:5,value:e,structural_filters:{categorical_content_modality:"text",editorial_type:["Tactical Guide"]}}],exclude_atom_ids:[],include_article_detail:!0}}}}}function ub(e){return{eyebrow:"Listening & learning",heading:"Listening & learning",subheading:"Before you build, understand. Start by hearing from the people the pledge is for — and learning what good support actually looks like.",content:{source:{name:"atoms",params:{custom_interests:[{limit:5,value:e,structural_filters:{categorical_content_modality:"text",editorial_type:["Tactical Guide"]}}],exclude_atom_ids:[],include_article_detail:!0}},partners_source:{name:"atoms",params:{custom_interests:[{limit:6,value:"Curated partners and resource organizations supporting employer cancer-at-work programs.",structural_filters:{categorical_content_modality:"text",editorial_type:["Resource Directory"]}}],exclude_atom_ids:[],include_article_detail:!0}}}}}function ux(e){return[{sectionId:`${e}_benefits_section`,eyebrow:"Benefits & policies",heading:"Corporate benefits & policies",subheading:"Turn the commitment into policy your handbook can stand behind — job and salary protection, leave, and a structured return to work.",pillar:{pillar:"benefits",case_study_slug:"sanofi",breadcrumb:"Activate · Benefits & policies"}},{sectionId:`${e}_community_section`,eyebrow:"Community",heading:"Build community & belonging",subheading:"Support lands when people don't face it alone. Create the spaces, peers, and visible commitment that make disclosure safe.",pillar:{pillar:"community",case_study_slug:"loreal",breadcrumb:"Activate · Community"}},{sectionId:`${e}_coaching_section`,eyebrow:"Coaching",heading:"Coaching & manager support",subheading:"Equip managers and offer expert coaching so every conversation — and every return — is handled with confidence and care.",pillar:{pillar:"coaching",case_study_slug:"publicis",breadcrumb:"Activate · Coaching"}},{sectionId:`${e}_caregivers_section`,eyebrow:"Caregivers",heading:"Support for caregivers",subheading:"Caregivers are part of the workforce impact, not separate from it. Extend protection and flexibility to employees caring for a loved one.",pillar:{pillar:"caregivers",case_study_slug:"beiersdorf",breadcrumb:"Activate · Caregivers"}}]}let uw={emphasis:"normal",slides:[{logo:{src:"https://images.ctfassets.net/d9f88znebd85/6IVLpdYNMeQ8l8mJ2Q5IyK/2fb62b32bfe96b48718addd6bc83bc0d/lgo-home-loreal-300x200.webp",alt:"L'Oréal"},quote:"At L'Oréal we have a long-time commitment to creating open and inclusive workspaces, so that those confronted with an illness feel comfortable to disclose their situation. That's why we're proud to be a signatory to the #WorkingWithCancer pledge.",attribution:"Nicolas Hieronimus & Barbara Lavernos",attribution_role:"CEO & Deputy CEO",media:{kind:"video",src:"https://videos.ctfassets.net/d9f88znebd85/4kBTm8ohe75U1d8u3KzPwB/c0a8a3ce600bda1db82668de3066b1a1/Media1__1_.mp4",alt:"L'Oréal leadership on the Working with Cancer pledge"},quote_level:3,case_study_slug:"loreal"},{logo:{src:"https://images.ctfassets.net/d9f88znebd85/5r00OwY1e9a1SE2WHAASVS/2b36b7603021efaebbe146827d739b45/lgo-home-unilever-300x200.webp",alt:"Unilever"},quote:"Our Unilever culture begins with humanity — to care, show kindness, and ensure inclusion — and we are working to create equity for everyone, including those who experience the scourge of cancer during their working lives.",attribution:"Dr. Diana Han",attribution_role:"Chief Health and Wellbeing Officer",media:{kind:"image",src:"https://images.ctfassets.net/d9f88znebd85/6knpXrgCR9tfPRB5j03cy3/527d5b4d9534484cb0856eebc98a84c3/img-hs-unilever-620x620.webp",alt:"Dr. Diana Han, Chief Health and Wellbeing Officer at Unilever"},quote_level:3},{logo:{src:"https://images.ctfassets.net/d9f88znebd85/5baN7U2fSRYzB7yGaAQJjo/dcaa28b3831b9c747cb79319cb48ce2d/image_180__1_.png",alt:"Walmart"},quote:"Walmart's Commitment to Support Associates with Cancer\n\nWell-being matters: Our people make the difference, and we are focused on supporting every part of their well-being, every day.\n\nAccess to quality care: The best healthcare professionals in the country are available to associates in the U.S. through our Centers of Excellence program. In our markets outside the U.S., in many cases, public health plans are supported with private coverage for cancer and related procedures.\n\nTime to rest, recover: We want associates to focus on what matters most — their health — during this difficult time of life. We provide leave of absence programs, and also offer disability benefits in some cases, if associates are unable to work because of cancer.\n\nEasing the financial burden: We provide treatments for many cancers through our Centers of Excellence program in the U.S., at no-cost in most cases. If traveling for care is needed, we'll cover expenses and lodging for both the associate and a caregiver while the associate is receiving care.\n\nSupporting mental health: We know cancer is more than a physical challenge, and it can take an emotional toll as well. Walmart associates and family members battling cancer have access to free counseling with a licensed therapist 24/7 — in person, on the phone, via video or through text.\n\nEducational Campaigns: We offer access to a variety of resources from educational sessions and access to experts to online information and more.",attribution:"Donna Morris",attribution_role:"Executive Vice President, Chief People Officer",media:{kind:"image",src:"https://imageio.forbes.com/specials-images/imageserve/631b901555837694b13d19a0/Donna-Morris---thumbnail-plain/0x0.jpg?width=960&dpr=2",alt:"Donna Morris, Executive Vice President and Chief People Officer at Walmart"},quote_level:3},{logo:{src:"https://images.ctfassets.net/d9f88znebd85/3JkfA0X9QOVIO53zdDR8Ov/7e96fab06879fa2aac52c3fa635a408a/image_184__1_.png",alt:"Lloyds Banking Group"},quote:"At Lloyds Banking Group we want to create a 'people-first' workplace where everyone feels included and has the opportunity to thrive. When 1 in 2 of us are likely to get cancer at some point, making sure we are there for our people at such a crucial time is something we're fully committed to.",attribution:"William Chalmers",attribution_role:"CFO",media:{kind:"image",src:"https://images.ctfassets.net/d9f88znebd85/5kkj96811obeKxLUNfQhot/c2253a398e8c9b37c1a8a94519eb1e69/img-hs-william-lloyds-620x620.webp",alt:"William Chalmers, CFO of Lloyds Banking Group"},quote_level:3}]},uk=ua.proof.logos,u_={hero:{eyebrow:"WORKING WITH CANCER",headline:"Stand alongside the leaders who have already taken the pledge.",body:"Ready to get started?",ctas:[{label:"Take the pledge",style:"dark",scrollSectionId:"wwc_ceo_pledge_builder_section"},{label:"Activate your pledge",style:"outlined",scrollSectionId:"wwc_ceo_activate_pledge_section"}],portrait:{src:"https://static-www.adweek.com/wp-content/uploads/2026/04/arthur-sadoun-publicis-CEO.webp?w=1200",alt:"Arthur Sadoun, Publicis Groupe CEO",quote:"When Arthur Sadoun went public with his cancer diagnosis, thousands wrote back. Most had hidden theirs at work. The pledge was born.",attribution:"Arthur Sadoun",role:"CEO, Publicis Groupe"},proof:{logos:uk,caption:"**4,000+ companies** have already signed."}},pledgeStory:{slides:[{heading:"What is the Working with Cancer Pledge?",body:"A movement of more than 5,000 companies committing to supp
10ort people through cancer and serious illness. When you sign, Working with Cancer will help you:",middle:{type:"cards",items:[{label:"Evaluate",body:"Your current culture, policies, and programs."},{label:"Communicate",body:"Your commitment and existing offerings."},{label:"Improve",body:"Over time, at your own pace."}]},stat:{value:"5,000+",caption:"Companies"},media:{src:"https://images.ctfassets.net/d9f88znebd85/3J8oNUnVTqXP0DS0scJ4hz/45eb1c3e8c76050b128d8315ceda9eb5/image.png",alt:"Victoria Blinder, MD in conversation"}},{heading:"From a CEO’s diagnosis to a global movement.",body:"When Publicis CEO Arthur Sadoun went public with his cancer diagnosis, he saw how many had hidden theirs at work — so he started a global movement.",middle:{type:"quote",text:"I started 2022 with cancer and left it with a mission.",attribution:"Arthur Sadoun",attribution_role:"CEO, Publicis Groupe"},stat:{value:"1 in 2",caption:"will face cancer in their lifetime"},media:{src:"https://static-www.adweek.com/wp-content/uploads/2026/04/arthur-sadoun-publicis-CEO.webp?w=1200",alt:"Two warehouse workers smiling together"}},{heading:"A turning point at Davos.",body:"From its launch at Davos, the Working with Cancer movement has grown to 5,000+ companies — extending cancer support to over 40 million workers worldwide.",middle:{type:"quote",text:"In just two years, our mission to break down the stigma of cancer in the workplace has touched the lives of over 35 million employees across 2,500 leading companies worldwide.",attribution:"Arthur Sadoun",attribution_role:"CEO, Publicis Groupe"},stat:{value:"35M+",caption:"Workers reached"},media:{src:"https://assets.weforum.org/article/image/large_QbOHcI2njzUU1kDRukP8gc9Q1swVG6iKwP2inP9LKQM.jpg",alt:"Conference attendee in wheelchair smiling"}}]},pledgeNumbers:{eyebrow:"The pledge in numbers",heading:"What does support at work actually change?",carousel:{emphasis:"featured",slides:[{quote:"From the moment I was diagnosed, I knew I had to go to work.",attribution:"Manda Gae Miller",stat:{value:"75%+",caption:"of cancer survivors say working during treatment helped them cope."},media:{src:"https://images.ctfassets.net/d9f88znebd85/UkrhR6f2l08ZUakc9GSy5/95d1aed549d987ce750cbf82514f741e/image.png",alt:"Keith Cannon in conversation"},quote_level:2},{quote:"Working kept me from wallowing in sadness.",attribution:"Christine Loria",stat:{value:"3 in 5",caption:"of survivors say support at work positively impacted their mental health."},media:{src:"https://images.ctfassets.net/d9f88znebd85/3qylY2rRK8baYhvZeQ9tXi/97291a63923a22f31aa0f7070bb96606/image.png",alt:"Gina Jacobson giving a thumbs-up in a hospital gown before a screening"},quote_level:2},{quote:"I had to get back to work, because it was what I loved to do.",attribution:"Jim Miller",stat:{value:"50%",caption:"of employees with cancer are afraid to tell their employer."},media:{src:"https://images.ctfassets.net/d9f88znebd85/13PTnt725TW94Ld4S19afN/828f52f004b3f905bd0db197be636017/image.png",alt:"Greer Morrison portrait"},quote_level:2}]}},startsWithYou:{eyebrow:"IT STARTS WITH YOU",headline:"Support has to exist before the diagnosis does.",headlineLevel:1,body:"When an employee at your company finds out they have cancer, what happens next is shaped by something that already happened — months earlier, before they ever needed it.",image:{src:"https://ugc.futurelearn.com/uploads/images/44/2f/promo_small_442fbd57-cfaa-4693-886b-61e237ee6fee.jpg",alt:"An employee in conversation",ratio:"1:1"},stat:{value:"1.5x",caption:"Employees who knew their company's benefits **before** diagnosis report feeling 1.5× more supported through it."}},signatories:{eyebrow:"ON YOUR OWN TERMS",heading:"How signatories made the pledge their own",subheading:"Real examples of companies that activated their pledge in their own way.",carousel:uw},pledgeBuilder:{content:uu,eyebrow:"BUILD YOUR PLEDGE",heading:"Start your company's pledge.",subheading:"A real pledge takes shape across many teams. Use this to build a strong first draft."},activateResources:{content:up("wwc_ceo")},activatePledge:um("wwc_ceo"),commitment:uh("wwc_ceo"),timeToScreen:uv("For a CEO / executive: Empowering Employee Proactivity through Working With Cancer — Time to Screen, paid time off for cancer screenings, early-detection awareness."),listening:ub("For a CEO / executive: Listen and learn from impacted employees, audit benefits — bringing your Working With Cancer pledge to life."),pillars:ux("wwc_ceo"),caseStudies:{content:ug,eyebrow:"PLEDGE IN ACTION",heading:"Employer case studies",subheading:"See how signatories are putt
10ing their pledges into practice — the programs they built and the outcomes they're already seeing."},partners:{content:uf,eyebrow:"PARTNERS",heading:"Lean on experts to activate your pledge",subheading:"You don't have to build alone. Working with an external partner can accelerate any company's efforts — with offerings like strategic guidance, coaching, trainings, and company-wide benefits that move the needle for your employees."},programs:{content:uy,eyebrow:"TOOLKITS",heading:"Ready-to-use programs",subheading:"Pre-built programs you can drop into the inclusion and wellbeing infrastructure you already run — from screening time-off to manager curricula."}},uj={hero:{eyebrow:"WORKING WITH CANCER",headline:"When the policy is real, the isolation ends.",body:"Ready to get started?",ctas:[{label:"Take the pledge",style:"dark",scrollSectionId:"wwc_hr_pledge_builder_section"},{label:"Activate your pledge",style:"outlined",scrollSectionId:"wwc_hr_activate_pledge_section"}],portrait:{src:"https://nwx.new-work.se/storage/_processed_/nwx23-speakerkachel-1500x1500-lafrentz-nicola_4cbbf589f0.jpg",alt:"Nicola Lafrentz, Beiersdorf",quote:"When Beiersdorf launched its Global Critical Illness Policy, geography stopped deciding who got care. Local gaps left employees exposed. One promise covers every country.",attribution:"Beiersdorf",role:'"Global Critical Illness Policy", all employees worldwide'},proof:{logos:uk,caption:"**4,000+ companies** have already signed."}},pledgeStory:{slides:[{heading:"What is the Working with Cancer Pledge?",body:"A movement of more than 5,000 companies committing to support people through cancer and serious illness. When you sign, Working with Cancer will help you:",middle:{type:"cards",items:[{label:"Evaluate",body:"Your current culture, policies, and programs."},{label:"Communicate",body:"Your commitment and existing offerings."},{label:"Improve",body:"Over time, at your own pace."}]},stat:{value:"5,000+",caption:"Companies"},media:{src:"https://images.ctfassets.net/d9f88znebd85/3J8oNUnVTqXP0DS0scJ4hz/45eb1c3e8c76050b128d8315ceda9eb5/image.png",alt:"Victoria Blinder, MD in conversation"}},{heading:"Bigger than a diagnosis",body:"The pledge commits your company to proactively support people through cancer and other serious illness — and the employees caring for a loved one through it.",middle:{type:"cards",items:[{label:"Serious illness",body:"Cancer, and conditions like MS, heart disease, or ALS."},{label:"Caregivers",body:"Employees supporting a loved one through treatment."},{label:"Your programs",body:"Folded into what you already run, not rebuilt."}]},stat:{value:"1 in 2",caption:"will face cancer in their lifetime"},media:{src:"https://totara.com/wp-content/uploads/2022/11/hospo-and-travel.jpg",alt:"Two warehouse workers smiling together"}},{heading:"Built on what you have.",body:"Signatories build the pledge into the inclusion, wellbeing, and ERG programs they already have — here's how three did it.",middle:{type:"logo-cards",items:[{logo:{src:"https://images.ctfassets.net/d9f88znebd85/1GihnX4qlbsiiWmBEeNkic/2c457000b561d5fc4232709d625d5b4a/67dc6febc859edb2853f2d888e93892085bdb610.png",alt:"Sanofi"},caption:"Cancer & Work: job security + peer counselors"},{logo:{src:"https://images.ctfassets.net/d9f88znebd85/iNrOsI88hfNFhTnVou1kY/8a236cb4c23eaa618edb800dc535dd9e/image.png",alt:"Nestlé"},caption:"THRIVE: a peer-support network"},{logo:{src:"https://cdn.cookielaw.org/logos/73dca12b-5ba4-4937-9072-b5ffa15d1ba7/2e596a6a-1efe-424d-80f2-5d11a2a2ee63/42669c9c-7f71-4206-b6d1-cd1f287d0f2a/PUB_Logo_Groupe_RVB.jpg",alt:"Publicis Groupe"},caption:"Healing Spaces: coaching for those impacted"}]},stat:{value:"50%",caption:"are afraid to tell their employer"},media:{src:"https://images.ctfassets.net/d9f88znebd85/75slXfLBs4Cf7yjFQA6HqI/695b3c2531a4696b6736ee8a0a151d87/about-the-pledge_hero_desktop.png",alt:"Conference attendee in wheelchair smiling"}}]},pledgeNumbers:{eyebrow:"The pledge in numbers",heading:"What does support at work actually change?",carousel:{emphasis:"featured",slides:[{quote:"“Continuing to be part of projects helped me feel like I was still maintaining a sense of normalcy.”",attribution:"Marygrace Graves",stat:{value:"81%",caption:"say coworker support was critical to their ability to keep working."},media:{src:"https://images.ctfassets.net/d9f88znebd85/1NBrq7oZaJsajb9z0oQ031/13cbd51f9c4ed9868fc375f40042bbfb/image.png",alt:"Keith Cannon in conversation"},quote_level:2},{quote:"Working while going through cancer treatment stabilized me by giving me an anchor.",attribution:"Greer Morrison",stat:{value:"1.5×",caption:"more supported when employees know their benefits before diagnosis."},media:{src:"https://images.ctfassets.net/d9f88znebd85/7gMKQ3wTMC3uQOgrLqjp0o/4e81283cbf94b55e0f
10145a69eba80559/image.png",alt:"Gina Jacobson giving a thumbs-up in a hospital gown before a screening"},quote_level:2},{quote:"When I went to work, I wasn’t sick Keith. I was just Keith.",attribution:"Keith Cannon",stat:{value:"7in10",caption:"people with cancer say work is a source of pride critical to recovery."},media:{src:"https://images.ctfassets.net/d9f88znebd85/7mAiBUMlyYCTqsqmh34njs/abe0ff40cea384b7882d375a2b175a41/image.png",alt:"Greer Morrison portrait"},quote_level:2}]}},startsWithYou:{eyebrow:"IT STARTS WITH YOU",headline:"The best support is already in place before anyone needs it.",headlineLevel:1,body:"When someone on your team is diagnosed, what protects them was decided long before — in the benefits architecture, the leave policy, the manager who did or didn't know what to say.",image:{src:"https://images.ctfassets.net/d9f88znebd85/5EZ5hqtIGGoAQu59XSVc5e/da5d59eed4e2f7f7f2ed6c9ad01f551a/GYCOB_Masthead.png",alt:"Team in conversation in an office lounge",ratio:"1:1"},stat:{value:"81%",caption:"of employees with cancer say the support they received from coworkers was **critical** to their ability to keep working after diagnosis."}},signatories:{eyebrow:"ON YOUR OWN TERMS",heading:"How signatories made the pledge their own",subheading:"Real examples of companies that activated their pledge in their own way.",carousel:uw},pledgeBuilder:{content:uu,eyebrow:"BUILD YOUR PLEDGE",heading:"Start your company's pledge.",subheading:"A real pledge takes shape across many teams. Use this to build a strong first draft."},activateResources:{content:up("wwc_hr")},activatePledge:um("wwc_hr"),commitment:uh("wwc_hr"),timeToScreen:uv("For HR / heads of people: Empowering Employee Proactivity through Working With Cancer — Time to Screen, paid time off for cancer screenings, early-detection awareness."),listening:ub("For HR / heads of people: Listen and learn from impacted employees, audit benefits — bringing your Working With Cancer pledge to life."),pillars:ux("wwc_hr"),caseStudies:{content:ug,eyebrow:"PLEDGE IN ACTION",heading:"Employer case studies",subheading:"See how signatories are putting their pledges into practice — the programs they built and the outcomes they're already seeing."},partners:{content:uf,eyebrow:"PARTNERS",heading:"Lean on experts to activate your pledge",subheading:"You don't have to build alone. Working with an external partner can accelerate any company's efforts — with offerings like strategic guid
10ance, coaching, trainings, and company-wide benefits that move the needle for your employees."},programs:{content:uy,eyebrow:"TOOLKITS",heading:"Ready-to-use programs",subheading:"Pre-built programs you can drop into the inclusion and wellbeing infrastructure you already run — from screening time-off to manager curricula."}},uS={hero:{eyebrow:"WORKING WITH CANCER",headline:"You don't have to wait for the conversation to start.",body:"Ready to get started?",ctas:[{label:"Start the conversation",style:"dark",scrollSectionId:"wwc_employee_start_conversation_section"}],portrait:{src:"https://images.contactout.com/profiles/d4681e46091319b64f50d174b700b399",alt:"Shanna S., Publicis Groupe employee",quote:"When a colleague's screening caught a pre-cancer early, Shanna booked her own. Her doctor removed two spots. Time to Screen caught hers in time.",attribution:"Shanna S.",role:"Publicis Groupe employee"},proof:{logos:[{src:"https://images.ctfassets.net/d9f88znebd85/1vGdtgqzpenEg2e55hpFYv/a4d6bdc9e4029ae9ca8af0c5fc4de520/lgo-home-meta-300x200.webp",alt:"Meta"},{src:"https://images.ctfassets.net/d9f88znebd85/YTU8tmyqkoO12VITIzfw1/831e2f00b322ec999b783e78fb523334/lgo-supp-mcdonalds-300x200.webp",alt:"McDonald's"},{src:"https://images.ctfassets.net/d9f88znebd85/2ui5gYyOKwPkXLjcScGDoS/aded56d22b872fff53df2784b0f845c2/lgo-supp-verizon-300x200.webp",alt:"Verizon"},{src:"https://images.ctfassets.net/d9f88znebd85/2XyDBSXk7CisQTNKihBF9j/e0af7c8f82562abeceedcb22f34f80b7/lgo-supp-lvmh-300x200.webp",alt:"LVMH"},{src:"https://images.ctfassets.net/d9f88znebd85/79BUORWAk5y5j03JpJVjbX/2377403253b48f9335891fff8ef4abf3/lgo-supp-google-300x200.webp",alt:"Google"}],caption:"**4,000+ companies** have already signed."}},pledgeStory:{slides:[{heading:"What is the Working with Cancer Pledge?",body:"A movement of more than 5,000 companies committing to support people through cancer and serious illness. When you sign, Working with Cancer will help you:",middle:{type:"cards",items:[{label:"Evaluate",body:"Your current culture, policies, and programs."},{label:"Communicate",body:"Your commitment and existing offerings."},{label:"Improve",body:"Over time, at your own pace."}]},stat:{value:"5,000+",caption:"Companies"},media:{src:"https://images.ctfassets.net/d9f88znebd85/3J8oNUnVTqXP0DS0scJ4hz/45eb1c3e8c76050b128d8315ceda9eb5/image.png",alt:"Victoria Blinder, MD in conversation"}},{heading:"What it means for you",body:"If you're ever diagnosed, the pledge means your company has already committed to stand by you — so you can focus on treatment without fear of losing your job.",middle:{type:"cards",items:[{label:"TIME",body:"to focus on treatment"},{label:"COMMUNITY",body:"peers who've been there"},{label:"COACHING",body:"expert support when needed"}]},stat:{value:"50%",caption:"are afraid to tell their employer"},media:{src:"https://media.istockphoto.com/id/2170146459/photo/friendly-business-meeting-in-a-modern-coffee-shop-setting.jpg?s=612x612&w=0&k=20&c=RqZVwYta5wOwBDkqGcZ_KjaD4fAwmADAZEuUs-qf7iE=",alt:"Two colleagues in a friendly conversation at a coffee shop"}},{heading:"Work can be part of recovery",body:"Research shows that working in the right conditions can support recovery — offering structure, connection, and a sense of control during treatment.",middle:{type:"cards",items:[{label:"PURPOSE",body:"identity and contribution"},{label:"CONNECTION",body:"colleagues and community"},{label:"CONTROL",body:"a sense of normalcy"}]},stat:{value:"75%+",caption:"of survivors say work helped them cope"},media:{src:"https://images.ctfassets.net/d9f88znebd85/6xcwOk1hD3c8qeeu5NRQhi/88f538c798a8ffd9efa73ced6e8e0610/GS_BallRolling.png",alt:"Hand pushing a small ball forward, illustrating momentum"}}]},pledgeNumbers:{eyebrow:"The pledge in numbers",heading:"What does support at work actually change?",carousel:{emphasis:"featured",slides:[{quote:"I'm alive today because my CEO told me to go to the doctor.",attribution:"Gina Jacobson",stat:{value:"22%",caption:"increase among employees in key cancer screenings."},media:{src:"https://images.ctfassets.net/d9f88znebd85/4KmYVWZDISaySzXy9P1Yfb/1c57634942511332b4eb12ec03ffda26/screening-time-off_story_desktop.png",alt:"Gina Jacobson giving a thumbs-up in a hospital gown before a screening"},quote_level:2},{quote:"Working while going through cancer treatment stabilized me by giving me an anchor.",attribution:"Greer Morrison",stat:{value:"90%",caption:"of employees who disclose the
10ir diagnosis have a positive experience at work."},media:{src:"https://images.ctfassets.net/d9f88znebd85/7gMKQ3wTMC3uQOgrLqjp0o/4e81283cbf94b55e0f145a69eba80559/image.png",alt:"Greer Morrison portrait"},quote_level:2},{quote:"When I went to work, I wasn't sick Keith. I was just Keith.",attribution:"Keith Cannon",stat:{value:"7in10",caption:"people with cancer say work is a source of pride critical to recovery."},media:{src:"https://images.ctfassets.net/d9f88znebd85/7mAiBUMlyYCTqsqmh34njs/abe0ff40cea384b7882d375a2b175a41/image.png",alt:"Keith Cannon in conversation"},quote_level:2}]}},startsWithYou:{eyebrow:"WHY YOUR VOICE MATTERS",headline:"Your voice is what turns the pledge into real support.",headlineLevel:1,body:"Half of employees with cancer are afraid to tell their employer. The pledge exists to change that — but a logo on a website only becomes real support when someone inside asks for it.",image:{src:"https://folksamse.azureedge.net/media/artikelbild-mala-hemma_tcm5-79190.jpg",alt:"A woman with short hair in a denim shirt smiling and holding a mug in a sunlit doorway",ratio:"1:1"},stat:{value:"70%",caption:"of survivors say someone at work had a meaningful impact on their cancer journey."}},startConversation:{eyebrow:"START THE CONVERSATION",heading:"Make the case to your leaders.",subheading:"From the earliest days of the movement, advocates like you motivated companies to pledge. Pick who you're writing to and what matters most — we'll draft a note you can copy and send.",content:{greeting:"Hi,",intro:"I wanted to bring something to your attention that I think fits who we are as a company. More than 5,000 organizations have taken the Working with Cancer pledge — a public commitment to support employees through cancer and serious illness.",closing:"Thank you for considering this.",signature:"— [Your name]",subject:"Working with Cancer pledge",audiences:[{id:"ceo",label:"Our CEO",recipient:"your CEO"},{id:"people",label:"Our People team",recipient:"your People team"}],points:[{id:"personal",title:"Why it matters to me",subtitle:"A personal note on why this is close to you.",text:"This is personal to me, and I know I'm not the only one. Naming our support out loud — before anyone needs it — would mean a great deal to people here."},{id:"asks",title:"What the pledge actually asks",subtitle:"Reassure them there are no required policies.",text:"There are no specific policies required to sign. The pledge asks us to evaluate what we already offer, communicate it clearly, and keep improving over time."},{id:"peers",title:"What peers have already done",subtitle:"Name a few signatories they'll recognize.",text:"We'd be joining companies like Sanofi, L'Oréal, and Beiersdorf, who've turned the pledge into real, visible support for their people."},{id:"ask",title:"What I'm asking you to do",subtitle:"A clear, low-pressure call to take a look.",text:"Would you take a look at workingwithcancerpledge.com and consider signing? I'm glad to help however I can."}]}},caseStudies:{eyebrow:"Where this gets real",heading:"Real companies. Real commitments. Real impact.",subheading:"Explore real examples of how signatory companies are supporting employees through meaningful action.",content:{source:{name:"atoms",params:{custom_interests:[{limit:3,value:"First-person stories from employees at Working with Cancer signatory companies — how the pledge translated into real support during their diagnosis, treatment, and return to work.",structural_filters:{categorical_content_modality:"text",editorial_type:["Case Study"]}}],exclude_atom_ids:[],include_article_detail:!0}},layout:{kind:"grid",cols:3,gap:"md"},template:{kind:"published-card",data:{emphasis:"normal"}}}}};function uC(){return(0,l.jsx)(ut,{prefix:"wwc_ceo",content:u_})}function uI(){return(0,l.jsx)(ut,{prefix:"wwc_hr",content:uj})}function uN(e,t){let a=[e.greeting.trim(),e.intro.trim()];for(let e of t)a.push(e.text.trim());return a.push(e.closing.trim()),a.push(e.signature.trim()),a.join("\n\n")}function uA({data:e,atomId:t}){let[a,r]=(0,eu.useState)(e.audiences[0]?.id??""),[n,o]=(0,eu.useState)([]),[i,s]=(0,eu.useState)(()=>uN(e,[])),[c,d]=(0,eu.useState)("editing"),u=(0,eu.useRef)(null),p=(0,eu.useCallback)(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{u.current?.scrollIntoView({behavior:"smooth",block:"start"})})})},[]),m=e.audiences.find(e=>e.id===a)??e.audiences[0],h=(0,eu.useCallback)(t=>{if(n.includes(t.id))return;let a=[...n,t.id];o(a);let r=a.map(t=>e.points.find(e=>e.id===t)).filter(e=>!!e);s(uN(e,r))},[n,e]),g=(0,eu.useCallback)(()=>{o([]),s(uN(e,[])),d("editing")},[e]),f=(0,eu.useCallback)(()=>{i.trim()&&(d("drafted"),p())},[i,p]),y=(0,eu.useCallback)(()=>{let t=encodeURIComponent(e.subject),a=encodeURIComponent(i);window.location.href=`mailto:?subject=${t}&body=${a}`},[e.subject,i]);return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-12,48px)]",children:[(0,l.jsx)(uE,{atomId:t,data:e,audience:m,addedPointIds:n,message:i,onSwitchAudience:r,onAddPoint:h,onChangeMessage:s,onPreview:f,onClearAll:g}),"drafted"===c?(0,l.jsx)("div",{ref:u,className:"scroll-mt-32",children:(0,l.jsx)(uz,{atomId:t,audie
10nce:m,message:i,onEmail:y})}):null]})}function uE({atomId:e,data:t,audience:a,addedPointIds:r,message:n,onSwitchAudience:o,onAddPoint:i,onChangeMessage:s,onPreview:c,onClearAll:d}){return(0,l.jsxs)("section",{"data-atom-kind":"conversation-builder","data-atom-id":e,"data-mode":"editing",className:"grid grid-cols-1 gap-[var(--space-10,40px)] lg:grid-cols-2",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-6,24px)]",children:[(0,l.jsxs)("header",{className:"flex flex-col gap-[var(--space-2,8px)]",children:[(0,l.jsx)("h3",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-h2)"},children:"Talking points."}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)"},children:"Add the points that matter — each drops a ready-written paragraph into your message."})]}),(0,l.jsx)("div",{className:"flex flex-col gap-[var(--space-3,12px)]",children:t.points.map(e=>(0,l.jsx)(uT,{point:e,selected:r.includes(e.id),onAdd:()=>i(e)},e.id))})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-6,24px)] rounded-[var(--radius-xl)] p-[var(--space-8,32px)]",style:{border:"1px solid var(--color-border)",backgroundColor:"color-mix(in oklab, var(--color-bg) 92%, var(--color-fg) 0%)"},children:[(0,l.jsxs)("header",{className:"flex flex-col gap-[var(--space-2,8px)]",children:[(0,l.jsx)("h3",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-h2)"},children:"A note to your leader."}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)"},children:"Pick who you're writing to, then add the points that matter. Edit anything — your greeting alone is already enough."})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)]",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body-sm)"},children:"Who are you writing to?"}),(0,l.jsx)("div",{role:"tablist","aria-label":"Audience",className:"flex rounded-[var(--radius-full)] p-[var(--space-1,4px)]",style:{backgroundColor:"color-mix(in oklab, var(--color-fg-muted) 8%, transparent)"},children:t.audiences.map(e=>{let t=e.id===a.id;return(0,l.jsx)("button",{type:"button",role:"tab","aria-selected":t,onClick:()=>o(e.id),className:"flex flex-1 items-center justify-center rounded-[var(--radius-full)] px-[var(--space-4,16px)] py-[var(--space-2,8px)] transition-colors",style:{fontSize:"var(--type-body-sm)",backgroundColor:t?"var(--color-fg)":"transparent",color:t?"var(--color-bg)":"var(--color-fg)",fontWeight:t?"var(--font-weight-medium)":"var(--font-weight-default)",cursor:"pointer"},children:e.label},e.id)})})]}),(0,l.jsx)("textarea",{value:n,onChange:e=>s(e.target.value),rows:10,className:"w-full flex-1 resize-y rounded-[var(--radius-xl)] p-[var(--space-5,20px)]",style:{fontSize:"var(--type-h3)",lineHeight:"var(--leading-body)",backgroundColor:"var(--color-bg)",color:"var(--color-fg)",border:"1px solid var(--color-border)",fontFamily:"inherit",minHeight:"16rem"}}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)]",children:[(0,l.jsxs)("button",{type:"button",onClick:c,disabled:0===n.trim().length,className:"inline-flex items-center justify-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] px-[var(--space-6,24px)] py-[var(--space-3,12px)] transition-colors disabled:cursor-default disabled:opacity-60 hover:enabled:!bg-[var(--color-brand-500)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"var(--color-fg)",color:"var(--color-bg)",fontWeight:"var(--font-weight-medium)",cursor:"pointer"},children:["Preview my message",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}),(0,l.jsx)("button",{type:"button",onClick:d,className:"inline-flex items-center justify-center rounded-[var(--radius-full)] px-[var(--space-6,24px)] py-[var(--space-3,12px)] transition-colors hover:!border-[var(--color-brand-500)] hover:!bg-[var(--color-brand-500)] hover:!text-[var(--color-button-text)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"transparent",color:"var(--color-fg)",border:"1px solid var(--color-border)",fontWeight:"var(--font-weight-default)",cursor:"pointer"},children:"Remove all points"})]})]})]})}function uT({point:e,selected:t,onAdd:a}){let r="color-mix(in oklab, var(--color-primary) 35%, var(--color-border))";return(0,l.jsxs)("div",{className:"flex items-center justify-between gap-[var(--space-4,16px
10)] rounded-[var(--radius-xl)] px-[var(--space-4,16px)] py-[var(--space-4,16px)] transition-colors",style:{backgroundColor:t?"color-mix(in oklab, var(--color-primary) 12%, var(--color-bg))":"var(--color-bg)",border:`1px solid ${t?r:"var(--color-border)"}`},children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-col",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-body)"},children:e.title}),(0,l.jsx)("p",{className:"m-0 mt-[var(--space-0_5,2px)] text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)"},children:e.subtitle})]}),t?(0,l.jsx)("span",{"aria-label":"Added",className:"inline-flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-[var(--radius-full)]",style:{backgroundColor:"color-mix(in oklab, var(--color-primary) 18%, transparent)",color:"var(--color-primary)",border:`1px solid ${r}`},children:(0,l.jsx)("svg",{viewBox:"0 0 16 16",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,l.jsx)("polyline",{points:"3 8.5 6.5 12 13 4.5"})})}):(0,l.jsx)(uP,{onClick:a})]})}function uP({onClick:e}){return(0,l.jsxs)("button",{type:"button",onClick:e,className:"inline-flex flex-shrink-0 items-center gap-[var(--space-1,4px)] rounded-[var(--radius-full)] px-[var(--space-4,16px)] py-[var(--space-1_5,6px)] transition-colors hover:!border-[var(--color-brand-500)] hover:!bg-[var(--color-brand-500)] hover:!text-[var(--color-button-text)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"transparent",color:"var(--surface-accent, var(--color-brand-500, var(--color-fg)))",border:"1px solid color-mix(in oklab, var(--surface-accent, var(--color-brand-500, var(--color-fg))) 50%, transparent)",fontWeight:"var(--font-weight-medium)",cursor:"pointer"},children:[(0,l.jsx)("span",{"aria-hidden":"true",children:"+"}),(0,l.jsx)("span",{children:"Add"})]})}function uz({atomId:e,audience:t,message:a,onEmail:r}){let[n,o]=(0,eu.useState)("idle"),i=(0,eu.useRef)(null),s=(0,eu.useMemo)(()=>a.split(/\n{2,}/g).map(e=>e.trim()).filter(Boolean),[a]),c=(0,eu.useCallback)(async()=>{try{await navigator.clipboard.writeText(a),o("copied"),null!==i.current&&window.clearTimeout(i.current),i.current=window.setTimeout(()=>{o("idle"),i.current=null},2400)}catch{}},[a]);return(0,l.jsxs)("section",{"data-atom-kind":"conversation-builder","data-atom-id":e,"data-mode":"drafted",className:"flex flex-col gap-[var(--space-8,32px)] rounded-[var(--radius-xl)] p-[var(--space-8,32px)] md:p-[var(--space-10,40px)]",style:{border:"1px solid var(--color-border)",backgroundColor:"color-mix(in oklab, var(--color-bg) 92%, var(--color-fg) 0%)"},children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsxs)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:["A note to ",t.recipient]}),(0,l.jsx)("div",{className:"flex flex-col gap-[var(--space-4,16px)]",children:s.map((e,t)=>(0,l.jsx)("p",{className:"m-0",style:{fontSize:"var(--type-h4)",lineHeight:"var(--leading-body)",fontWeight:"var(--font-weight-medium)"},children:e},t))})]}),(0,l.jsxs)("div",{className:"pt-[var(--space-6,24px)]",style:{borderTop:"1px solid var(--color-border)"},children:[(0,l.jsx)("p",{className:"m-0 mb-[var(--space-4,16px)] font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:"How to send"}),(0,l.jsxs)("div",{className:"grid grid-cols-1 items-stretch gap-[var(--space-4,16px)] md:grid-cols-[1fr_auto_1fr]",children:[(0,l.jsx)(dT,{num:"01",title:"Copy your message",description:"The full note, ready to paste.",children:(0,l.jsxs)("button",{type:"button",onClick:c,className:"flex w-full items-center justify-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] px-[var(--space-4,16px)] py-[var(--space-2,8px)] transition-colors hover:!border-[var(--color-brand-500)] hover:!bg-[var(--color-brand-500)] hover:!text-[var(--color-button-text)]",style:{fontSize:"var(--type-body-sm)",color:"var(--surface-accent, var(--color-brand-500, var(--color-fg)))",border:"1px solid color-mix(in oklab, var(--surface-accent, var(--color-brand-500, var(--color-fg))) 50%, transparent)",backgroundColor:"transparent",fontWeight:"var(--font-weight-medium)",cursor:"pointer"},children:[(0,l.jsx)(dz,{}),(0,l.jsx)("span",{children:"copied"===n?"Copied":"Copy message"})]})}),(0,l.jsx)(dP,{}),(0,l.jsx)(dT,{num:"02",title:"Email it to your leader",description:"Opens your mail app.",children:(0,l.jsxs)("button",{type:"button",onClick:r,className:"flex w-full items-center justify-center gap-[var(--space-2,8px)] rounded-[var(--radius-full)] px-[var(--space-4,16px
10)] py-[var(--space-2,8px)] transition-colors hover:!bg-[var(--color-brand-500)]",style:{fontSize:"var(--type-body-sm)",backgroundColor:"var(--color-fg)",color:"var(--color-bg)",fontWeight:"var(--font-weight-medium)",cursor:"pointer"},children:[(0,l.jsx)(dR,{}),(0,l.jsxs)("span",{children:["Email to ",t.recipient]})]})})]})]})]})}function uR({content:e,eyebrow:t,heading:a,subheading:r}){return(0,l.jsxs)(cN,{id:"wwc_employee_start_conversation_section",tocLabel:a,children:[(0,l.jsx)(ih.SectionHeader,{eyebrow:t,heading:a,subheading:r}),(0,l.jsx)(uA,{data:e,atomId:"wwc_employee_start_conversation"})]})}function uL(){let{hero:e,pledgeStory:t,pledgeNumbers:a,startsWithYou:r,startConversation:n,caseStudies:o}=uS;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(cA,{content:e}),(0,l.jsx)(cO,{content:t}),(0,l.jsx)(cG,{content:a}),(0,l.jsx)(dA,{id:"wwc_employee_starts_with_you_section",content:r}),(0,l.jsx)(uR,{content:n.content,eyebrow:n.eyebrow,heading:n.heading,subheading:n.subheading}),(0,l.jsx)(dW,{id:"wwc_employee_case_studies_section",content:o.content,eyebrow:o.eyebrow,heading:o.heading,subheading:o.subheading})]})}let uO=em.z.object({id:em.z.string().min(1),label:em.z.string().min(1).describe('Tab label, e.g. "Our CEO".'),recipient:em.z.string().min(1).describe('Recipient phrasing used in the final-view heading "A note to {recipient}" and the email CTA "Email to {recipient}". E.g. "your CEO".')}),uM=em.z.object({id:em.z.string().min(1),title:em.z.string().min(1),subtitle:em.z.string().min(1),text:em.z.string().min(1).describe("Paragraph appended between the intro and closing when the user taps + Add.")}),uH=em.z.object({greeting:em.z.string().min(1),intro:em.z.string().min(1),closing:em.z.string().min(1),signature:em.z.string().min(1),audiences:em.z.array(uO).min(1).max(4),points:em.z.array(uM).min(1).max(8),subject:em.z.string().min(1).describe("Subject line used for the mailto handoff in the drafted view.")});var uD=e.i(12475),uq=e.i(4945);let uW="ford-otosan";function u$({heading:e,intro:t,steps:a,atomId:r,parentSectionId:n}){return(0,l.jsxs)("section",{"data-section":"get-ball-rolling",className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)("h2",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-tight)]",style:{fontSize:"var(--type-h3)"},children:e}),t?(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},children:t}):null,(0,l.jsx)("ol",{className:"flex flex-col",children:a.map((e,t)=>(0,l.jsx)(uU,{index:t+1,step:e,atomId:r,parentSectionId:n,isLast:t===a.length-1},t))})]})}function uU({index:e,step:t,atomId:a,parentSectionId:r,isLast:n}){let o=`${a}__s1_step_${e}`,{onClick:i}=(0,uD.useTriggerHandler)({message:uX(t.title||t.body),target:{mode:"insert-after-parent",dismissable:!0}},o,r);return(0,l.jsxs)("li",{style:{"--step-hover-bg":"color-mix(in oklab, var(--color-fg) 4%, transparent)"},className:"relative grid grid-cols-[2rem_1fr] gap-[var(--space-4,16px)] rounded-[var(--radius-md)] px-[var(--space-3,12px)] py-[var(--space-3,12px)] transition-colors hover:bg-[var(--step-hover-bg)]",children:[n?null:(0,l.jsx)("span",{"aria-hidden":"true",style:{background:"color-mix(in oklab, var(--color-fg) 18%, transparent)"},className:"absolute left-[1.75rem] top-[2.875rem] bottom-[-0.875rem] w-px"}),(0,l.jsx)("span",{"aria-hidden":"true",style:{background:"var(--color-fg)",color:"var(--color-bg)",fontSize:"var(--type-body-sm)"},className:"relative z-10 mt-[var(--space-0_5,2px)] inline-flex h-8 w-8 items-center justify-center rounded-[var(--radius-full)] font-[var(--font-weight-emphasis)]",children:e}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-1_5,6px)]",children:[(0,l.jsx)("h3",{style:{fontSize:"var(--type-body)"},className:"m-0 font-[var(--font-weight-medium)] leading-[var(--leading-snug)]",children:t.title}),(0,l.jsxs)("p",{style:{fontSize:"var(--type-body)",color:"var(--surface-fg-muted, var(--color-fg-muted))",lineHeight:"var(--leading-body)"},className:"m-0",children:[t.body,t.learnMoreUrl?(0,l.jsxs)(l.Fragment,{children:[" ",(0,l.jsx)("a",{href:t.learnMoreUrl,target:"_blank",rel:"noopener noreferrer",className:"text-[color:var(--surface-accent,var(--color-brand-500))] underline",children:"Learn more"})]}):null]}),i?(0,l.jsxs)("button",{type:"button",onClick:i,style:{color:"var(--surface-accent, var(--color-brand-500))",fontSize:"var(--type-meta)"},className:"mt-[var(--space-1,4px)] inline-flex w-fit items-center gap-[var(--space-1,4px)] bg-transparent p-0 font-[var(--font-weight-medium)] hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",children:["See actions ",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}):null]})]})}function uF({heading:e,eyebrow:t,actions:a,atomId:r,parentSectionId:n}){let o=3===a.length?"@md:grid-cols-3":(a.length,"@md:grid-cols-2");return(0,l.jsxs)("section",{"data-section":"small-ways-big-impact",className:"flex flex-col gap-[var(--space-4,16px
10)]",children:[(0,l.jsx)("h2",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-tight)]",style:{fontSize:"var(--type-h3)"},children:e}),t?(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:t}):null,(0,l.jsx)("div",{className:`grid grid-cols-1 gap-[var(--space-4,16px)] ${o}`,children:a.map((e,t)=>(0,l.jsx)(uB,{index:t+1,action:e,atomId:r,parentSectionId:n},t))})]})}function uB({index:e,action:t,atomId:a,parentSectionId:r}){let n=`${a}__s2_action_${e}`,{onClick:o}=(0,uD.useTriggerHandler)({message:uX(t.title||t.body),target:{mode:"insert-after-parent",dismissable:!0}},n,r);return(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-xl)] p-[var(--space-6,24px)]",style:{border:"1px solid var(--color-border)"},children:[(0,l.jsxs)("div",{className:"flex items-center gap-[var(--space-3,12px)]",children:[(0,l.jsx)("span",{className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-[var(--radius-full)] font-[var(--font-weight-emphasis,600)]",style:{fontSize:"var(--type-meta)",color:"var(--surface-accent, var(--color-brand-500))",backgroundColor:"color-mix(in oklab, var(--surface-accent, var(--color-brand-500)) 14%, transparent)"},children:e}),(0,l.jsx)("h3",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-tight)]",style:{fontSize:"var(--type-h4)"},children:t.title})]}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:t.body}),o?(0,l.jsxs)("button",{type:"button",onClick:o,style:{color:"var(--surface-accent, var(--color-brand-500))",fontSize:"var(--type-meta)"},className:"mt-[var(--space-1,4px)] inline-flex w-fit items-center gap-[var(--space-1,4px)] bg-transparent p-0 font-[var(--font-weight-medium)] hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",children:["See actions ",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}):null]})}function uG({panel:e,canOpen:t,onReadCaseStudy:a}){let r=null!==e.imageUrl;return(0,l.jsxs)("section",{"data-section":"get-started-case-study",className:"flex flex-col gap-[var(--space-4,16px)]",children:[(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",style:{fontSize:"var(--type-meta)"},children:"See it in action"}),(0,l.jsxs)("div",{className:r?"grid grid-cols-1 items-stretch overflow-hidden rounded-[var(--radius-xl)] @md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]":"grid grid-cols-1 items-stretch overflow-hidden rounded-[var(--radius-xl)]",style:{backgroundColor:"color-mix(in oklab, var(--color-brand-500) 8%, var(--color-bg))",border:"1px solid color-mix(in oklab, var(--color-brand-500) 16%, transparent)"},children:[r?(0,l.jsx)("div",{className:"relative min-h-[180px] w-full overflow-hidden",children:(0,l.jsx)("img",{src:e.imageUrl,alt:"",className:"absolute inset-0 h-full w-full object-cover"})}):null,(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-4,16px)] p-[var(--space-8,32px)]",children:[e.logoUrl?(0,l.jsx)("div",{className:"flex items-center",children:(0,l.jsx)("img",{src:e.logoUrl,alt:"",className:"h-6 w-auto object-contain"})}):null,(0,l.jsx)("p",{className:"m-0 font-[var(--font-weight-emphasis,600)] leading-[var(--leading-snug)]",style:{fontSize:"var(--type-h3)"},children:e.title}),(0,l.jsx)("p",{className:"m-0 text-[color:var(--color-fg-muted)]",style:{fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:e.body}),t?(0,l.jsxs)("button",{type:"button",onClick:a,className:"mt-auto inline-flex w-fit items-center gap-[var(--space-2,8px)] bg-transparent p-0 text-[color:var(--surface-accent,var(--color-brand-500))] hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-medium)"},children:["Read case study",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]}):null]})]})]})}function uK({atomId:e}){return(0,l.jsxs)("div",{"data-atom-kind":"get-started","data-atom-id":e,"data-state":"loading",className:"flex flex-col gap-[var(--space-10,40px)]",children:[(0,l.jsx)(uq.Pulser,{height:"320px",radius:"var(--radius-lg)"}),(0,l.jsx)("ol",{className:"flex flex-col gap-[var(--space-5,20px)] pt-[var(--space-2,8px)]",children:Array.from({length:3}).map((e,t)=>(0,l.jsxs)("li",{className:"grid grid-cols-[2rem_1fr] gap-[var(--space-4,16px
10)]",children:[(0,l.jsx)(uq.Pulser,{height:"2rem",width:"2rem",radius:"9999px"}),(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-2,8px)]",children:[(0,l.jsx)(uq.Pulser,{height:"14px",width:"40%"}),(0,l.jsx)(uq.Pulser,{height:"12px",width:"90%"}),(0,l.jsx)(uq.Pulser,{height:"12px",width:"22%"})]})]},t))})]})}let uV=em.z.object({block_type:em.z.literal("basic_image"),value:em.z.object({basic_image:em.z.object({file:em.z.string(),alt_text:em.z.string().optional()}).passthrough()}).passthrough()}),uZ=em.z.object({block_type:em.z.literal("body_text"),value:em.z.string()}),uY=em.z.object({body:em.z.array(em.z.unknown())}).passthrough();function uJ(e){return e.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/\s+/g," ").trim()}function uX(e){let t=e.replace(/\.+$/,"");return`Show me the practical actions for: "${t}".`}async function uQ(e,t){let a,r,n={};if(t)try{n=await t()}catch{return null}try{a=await fetch(`/api/articles/${encodeURIComponent(e)}`,{method:"GET",headers:n})}catch{return null}if(!a.ok)return null;try{r=await a.json()}catch{return null}let o=cH.PublishedAtom.safeParse(r);return o.success?o.data:null}let u0=em.z.object({}).describe("No blueprint fields — the WWC pack always fetches /articles/get-started.");function u1(e){return e.replace(/(\S+)/g,e=>e.length<=1?e.toUpperCase():e.charAt(0).toUpperCase()+e.slice(1))}function u2(e){return e.replace(/['']s$/u,"")}var u5=e.i(18668);let u4=em.z.object({value:em.z.string(),caption:em.z.string()}),u3=em.z.object({kind:em.z.enum(["image","video"]).optional(),src:em.z.string(),alt:em.z.string(),poster:em.z.string().optional()}),u6=em.z.object({src:em.z.string(),alt:em.z.string()}),u8=em.z.object({logo:u6.optional(),quote:em.z.string(),quote_level:em.z.union([em.z.literal(1),em.z.literal(2),em.z.literal(3),em.z.literal(4),em.z.literal(5),em.z.literal(6)]).optional(),attribution:em.z.string(),attribution_role:em.z.string().optional(),stat:u4.optional(),media:u3,case_study_slug:em.z.string().optional().describe('ICS article slug for the "Read case study →" modal. Absent ⇒ no CTA.')}),u7=em.z.object({emphasis:u5.Emphasis.optional(),slides:em.z.array(u8).min(2).max(8)});var u9=e.i(56844);let pe=em.z.object({source:u9.PublishedFeedSource.describe("Main content source — typically the `/activate` master article (limit:1, include_article_detail:true). Renderer parses the Listen & Learn section out of source_data.body."),partners_source:u9.PublishedFeedSource.optional().describe("Optional — when set, the renderer attaches a 3-up partner card row that reveals under whichever action's CTA is clicked. Typically `recommended-partners` with include_article_detail:true. Absent → no reveal interaction; action CTAs render as plain external links to the action's source article URL.")}),pt=em.z.object({id:em.z.string().min(1),title:em.z.string().min(1),subtitle:em.z.string().min(1),text:em.z.string().min(1).describe("Full paragraph that gets appended to the commitment when the user taps + Add.")}),pa=em.z.object({id:em.z.string().min(1),label:em.z.string().min(1),blocks:em.z.array(pt).min(1).max(8)}),pr=em.z.object({seed:em.z.string().min(1).describe("Default editable commitment shown on first render. The opening paragraph users edit, e.g. 'At [company name], we are committed to...'."),tabs:em.z.array(pa).min(1).max(6),submit_form_url:em.z.string().url().describe("Base URL for the pledge submission form. The component appends `typeform-source=<window.location.hostname>` at click time so the form attribution reflects the live host.")}),pn=em.z.object({image:em.z.object({src:em.z.string(),alt:em.z.string()}),quote:em.z.object({text:em.z.string(),author:em.z.string(),role:em.z.string().optional()})}),po=em.z.object({value:em.z.string(),caption:em.z.string()}),pi=em.z.object({src:em.z.string(),alt:em.z.string()}),ps=em.z.object({label:em.z.string(),body:em.z.string()}),pl=em.z.object({src:em.z.string(),alt:em.z.string()}),pc=em.z.object({logo:pl,caption:em.z.string()}),pd=em.z.discriminatedUnion("type",[em.z.object({type:em.z.literal("cards"),items:em.z.array(ps).min(2).max(4)}),em.z.object({type:em.z.literal("quote"),text:em.z.string(),attribution:em.z.string(),attribution_role:em.z.string().optional()}),em.z.object({type:em.z.literal("logos"),items:em.z.array(pl).min(2).max(6)}),em.z.object({type:em.z.literal("logo-cards"),items:em.z.array(pc).min(2).max(4)})]),pu=em.z.object({heading:em.z.string(),body:em.z.string(),middle:pd,stat:po,media:pi}),pp=em.z.object({slides:em.z.array(pu).min(2).max(6)});var pm=e.i(45370);function ph(e,t,a){return e.size>=t&&e.size<=a}var pg=e.i(92785);let pf=em.z.object({recipe:em.z.string(),min:em.z.number().int().min(1),max:em.z.number().int().min(1),compose_label:em.z.string().min(1),compose_action:pg.ActionSchema});function py({picks:e,parentSectionId:t}){let a=(0,Q.useRegistry)(),r=(0,eu.useMemo)(()=>{let t;return t=new Date().toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}),{kind:"card",atom_id:"wwc_pledge_composed",data:{recipe:"article-card",emphasis:"normal"},slots:{eyebrow:{kind:"label",atom_id:"pledge_eyebrow",data:{text:"YOUR PLEDGE"}},body:{kind:"stack",atom_id:"pledge_body",data:{gap:"md"},children:[{kind:"split",atom_id:"pledge_intro_split",data:{ratio:"2:1"},children:[{kind:"stack",atom_id:"pledge_intro_stack",data:{gap:"md"},children:[{kind:"headline",atom_id:"pledge_header",data:{text:"Our commitment to working with cancer.",level:1}},{kind:"prose",atom_id:"pledge_intro_1",data:{markdown:"_We publicly commit to the following four operational guarantees — for every employee in our workforce who faces a cancer diagnosis, and for every caregiver among us supporting a family member through treatment._"}},{kind:"prose",atom_id:"pledge_intro_2",data:{markdown:"_These are not statements of intention. They are commitments we will operationalize across policy, manager training, infrastru
10cture, and culture — sequenced over the coming quarters, reported against publicly, and held to by leadership._"}}]},{kind:"stack",atom_id:"pledge_intro_spacer",data:{},children:[]}]},...e.flatMap((e,t)=>{let{headline:a,description:r}=function(e){let t=e.slots?.header?.data,a="object"==typeof t&&null!==t&&"text"in t?String(t.text??""):"",r="",n=e.slots?.body;if(n){let e=e=>{if("prose"===e.kind&&"object"==typeof e.data&&null!==e.data&&"markdown"in e.data)return String(e.data.markdown??"")},t=e(n);if(void 0!==t)r=t;else if("stack"===n.kind&&Array.isArray(n.children)&&n.children[0]){let t=n.children[0];(0,u9.isPublishedFeedEnvelope)(t)||(r=e(t)??"")}}return{headline:a,description:r}}(e);return[{kind:"divider",atom_id:`pledge_div_${t}`,data:{variant:"solid"}},{kind:"stack",atom_id:`pledge_item_${t}`,data:{gap:"xs"},children:[{kind:"headline",atom_id:`pledge_title_${t}`,data:{text:a,level:4}},{kind:"prose",atom_id:`pledge_desc_${t}`,data:{markdown:r}}]}]}),{kind:"divider",atom_id:"pledge_div_final",data:{variant:"solid"}},{kind:"row",atom_id:"pledge_signoff",data:{align:"center",justify:"between"},children:[{kind:"meta",atom_id:"pledge_signed",data:{text:`SIGNED, ${t.toUpperCase()}`}},{kind:"button",atom_id:"pledge_action",data:{label:"Take the pledge →",style:"primary",href:"#"}}]}]}}}},[e]);return(0,l.jsx)(pm.ComponentSlot,{atom:r,registry:a,parentSectionId:t})}let pv=em.z.object({source:u9.PublishedFeedSource.describe("Same /atoms BFF source as published-feed. Filter by `editorial_type: ['Resource Directory']` for the WWC partners use case. Set `params.include_article_detail: true` to enable the rich source_data path (logos, regions, languages, per-partner URLs)."),cols:em.z.number().int().min(1).max(4).optional().describe("Grid columns at lg breakpoint. Defaults to 3 — matches the WWC prototype's 3-col layout that fits 6 partners in 2 rows.")}),pb=em.z.enum(["benefits","community","coaching","caregivers"]),px=em.z.object({pillar:pb.describe('Which slice of /articles/activate to render. Drives the per-pillar source_data parser (e.g. "benefits" looks for the "Corporate Benefits & Policies" heading).'),case_study_slug:em.z.string().describe('ICS article slug for the "Read case study →" modal (e.g. "sanofi"). Fetched separately via /api/articles/{slug}.'),breadcrumb:em.z.string().optional().describe('Optional bottom-of-section breadcrumb (e.g. "Activate · Benefits & policies"). Hidden when absent.')}),pw=em.z.object({source:u9.PublishedFeedSource.describe("Same /atoms BFF source as published-feed. For WWC use `editorial_type: ['Tactical Guide']`, `limit: 1`, `include_article_detail: true`, and a value targeted at the Time to Screen toolkit. The renderer picks the right atom by entity/slug match and parses its source_data into the rich detail layout.")}),pk=em.z.object({source:u9.PublishedFeedSource.describe("Same /atoms BFF source shape as published-feed. For WWC use `editorial_type: ['Tactical Guide']`, `limit: 1`, `include_article_detail: true` — the renderer finds the master /activate article and parses N toolkit cards out of its source_data."),cols:em.z.number().int().min(1).max(4).optional().describe("Number of grid columns at lg breakpoint. Defaults to 2 (matches the prototype's side-by-side toolkit layout).")}),p_={id:"wwc",components:{"selector-group":{Component:function({data:e,parentSectionId:t,children:a}){let r,n=eu.Children.toArray(a),o=1===e.max,i="pick-one"===e.recipe,[s,c]=(0,eu.useState)(()=>new Set),[d,u]=(0,eu.useState)(!1),p=(0,eu.useRef)(null),m=t=>{ph(t,e.min,e.max)&&u(!0)};(0,eu.useEffect)(()=>{let t=ph(s,e.min,e.max);if(d&&!t)return void u(!1);if(!d&&t){let e=setTimeout(()=>m(s),600);return()=>clearTimeout(e)}},[s,d,e.min,e.max]),(0,eu.useEffect)(()=>{d&&p.current&&p.current.scrollIntoView({behavior:"smooth",block:"start"})},[d]);let h=(0,eu.useMemo)(()=>d?[...s].map(e=>{let t=n[e];return(0,eu.isValidElement)(t)?t.props.atom??null:null}).filter(e=>null!==e):[],[d,s,n]),g=t=>{if(o){let e=new Set([t]);c(e),i&&m(e);return}c(a=>{var r;let n;return r=e.max,(n=new Set(a)).has(t)?n.delete(t):n.size>=r||n.add(t),n})},f=ph(s,e.min,e.max),y=e.min===e.max?`${e.min}`:`${e.min}–${e.max}`,v=s.size,b=f?"ready":v>0?"partial":"empty";return(0,l.jsxs)("div",{"data-atom-kind":"selector-group","data-recipe":e.recipe,"data-selectable-count":n.length,className:"flex flex-col gap-[var(--space-md,16px)]",children:[!i&&(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsxs)("button",{type:"button","data-selector-counter"
10:"","data-state":b,disabled:!f,onClick:()=>m(s),className:["inline-flex items-center gap-[var(--space-1_5,6px)] rounded-[var(--radius-full)] border px-[var(--space-5,20px)] py-[var(--space-2,8px)] leading-[var(--leading-none)] transition","ready"===b?"cursor-pointer border-transparent bg-[color:var(--color-brand-500)] hover:bg-[color:var(--color-brand-600)]":"partial"===b?"cursor-default border-[color:var(--color-brand-500)] bg-[color:var(--color-brand-500)]/8":"cursor-default border-[color:var(--color-border)] bg-transparent"].join(" "),children:[(0,l.jsxs)("span",{className:["text-[length:var(--type-meta)] font-[var(--font-weight-default)] uppercase tracking-[var(--tracking-wider)]","ready"===b?"text-[color:var(--color-primary-on)]/70":"text-[color:var(--color-fg-muted)]"].join(" "),children:["Select ",y," —"]}),(0,l.jsx)("span",{className:["text-[length:var(--type-h4)] font-[var(--font-weight-emphasis)]","ready"===b?"text-[color:var(--color-primary-on)]":"text-[color:var(--color-brand-500)]"].join(" "),children:v}),(0,l.jsxs)("span",{className:["text-[length:var(--type-meta)]","ready"===b?"text-[color:var(--color-primary-on)]":"text-[color:var(--color-fg)]"].join(" "),children:["/ ",y," selected"]}),f&&(0,l.jsx)("span",{"aria-hidden":!0,className:"ml-[var(--space-1,4px)] text-[length:var(--type-body)] text-[color:var(--color-primary-on)]",children:"✓"})]})}),(0,l.jsx)("div",{role:o?"radiogroup":"group","aria-label":`Select ${y}`,className:"grid gap-[var(--space-sm,12px)] sm:grid-cols-3",children:(r=[...s],n.map((e,t)=>{let a=s.has(t),n=a?r.indexOf(t)+1:null,i=a?function(e){if(!(0,eu.isValidElement)(e))return e;let t=e.props.atom;return t&&"object"==typeof t.data&&null!==t.data?(0,eu.cloneElement)(e,{atom:{...t,data:{...t.data,emphasis:"featured"}}}):e}(e):e;return(0,l.jsxs)("div",{"data-selector-option":"","data-selected":a?"":void 0,role:o?"radio":"checkbox","aria-checked":a,tabIndex:0,onClick:()=>g(t),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),g(t))},className:["relative cursor-pointer rounded-[var(--radius-lg)] transition-shadow ring-1 ring-offset-0",a?"ring-transparent":"ring-transparent hover:ring-[color:var(--color-brand-500)]"].join(" "),children:[i,(0,l.jsx)("span",{"aria-hidden":!0,"data-selector-indicator":"","data-selected":a?"":void 0,className:"pointer-events-none absolute right-4 top-4 flex h-7 w-7 items-center justify-center rounded-[var(--radius-full)] text-[length:var(--type-meta)] font-[var(--font-weight-medium)]",style:a?{background:"var(--color-primary-on)",color:"var(--color-brand-500)"}:{background:"transparent",border:"1px solid var(--color-border)",color:"transparent"},children:n??""})]},t)}))}),d&&h.length>0&&(0,l.jsx)("div",{ref:p,"data-selector-composed":"",className:"mt-[var(--space-lg,24px)] scroll-mt-24",children:(0,l.jsx)(py,{picks:h,parentSectionId:t})})]})},propsSchema:pf,recipes:Object.keys({"pick-n":{slots:[],description:"Multi-select composer: the visitor picks between `min` and `max` options from a set, then taps the compose CTA to build them into one result. Use for 'build your pledge' (pick 4 commitments), 'choose 3 focus areas', 'assemble your starter kit'. Options arrive as child atoms (e.g. cards). NOT for free-text entry (use form)."},"pick-one":{slots:[],description:"Single-select that composes immediately on choice — no separate CTA (set min = max = 1). Use for 'choose your path', 'pick a plan tier', 'select a starting template'."}}??{})},"portrait-overlay":{Component:cC,propsSchema:pn},"scroll-carousel":{Component:cP,propsSchema:pp},"horizontal-carousel":{Component:cD,propsSchema:u7},"pledge-builder":{Component:dL,propsSchema:pr},"conversation-builder":{Component:uA,propsSchema:uH},"toolkit-grid":{Component:d5,propsSchema:pk},"partners-grid":{Component:dU,propsSchema:pv},"time-to-screen":{Component:cV,propsSchema:pw},"listening-learning":{Component:de,propsSchema:pe},"pillar-detail":{Component:dy,propsSchema:px},"get-started":{Component:function({atomId:e,parentSectionId:t}){let a=(0,oN.useArticleBySlug)("get-started"),r=(0,oN.useArticleBySlug)(uW),n=(0,L.useArticleOverlay)(),{getAuthHeaders:o}=(0,$.useConversation)();if("loading"===a.status)return(0,l.jsx)(uK,{atomId:e});if("error"===a.status)return null;let i=function(e){let t=uY.safeParse(e);if(!t.success)return null;
10let a=t.data.body,r=null,n=null,o=null,i=null,s=null;for(let e of a){var l;let t=uV.safeParse(e);if(t.success){let{file:e,alt_text:a}=t.data.value.basic_image;if(e.startsWith("data:"))continue;let r="string"==typeof a?a:"";if(/logo/i.test(r)){i||(i=e);continue}s=e;continue}let a=uZ.safeParse(e);if(!a.success)continue;let c=a.data.value;if(!r&&/<ul[^>]*class="[^"]*wwc-list-items__items/i.test(c)){r=function(e){let t=e.match(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h2>/i),a=t?uJ(t[1]??"").trim():"";if(!a)return null;let r=t?e.slice((t.index??0)+t[0].length):e,n=(r.split(/<ul\b/i)[0]??r).match(/<p[^>]*>([\s\S]*?)<\/p>/i),o=n&&uJ(n[1]??"").trim()||null,i=r.match(/<ul[^>]*class="[^"]*wwc-list-items__items[^"]*"[^>]*>([\s\S]*?)<\/ul>/i);if(!i)return{heading:a,intro:o,steps:[]};let s=[...(i[1]??"").matchAll(/<li[^>]*>([\s\S]*?)<\/li>/gi)],l=[];for(let e of s){let t=e[1]??"",a=t.match(/<p[^>]*class="[^"]*\beyebrow\b[^"]*"[^>]*>([\s\S]*?)<\/p>/i),r=t.match(/<p[^>]*class="[^"]*item-headline[^"]*"[^>]*>([\s\S]*?)<\/p>/i),n=t.match(/<a[^>]*href="([^"]+)"[^>]*>/i),o=uJ(a?.[1]??"").trim(),i=uJ(r?.[1]??"").trim();(o||i)&&l.push({title:o,body:i,learnMoreUrl:n?.[1]??null})}return{heading:a,intro:o,steps:l}}(c);continue}if(!n&&/class="[^"]*wwc-column-with-bullets__head|Actions you could take/i.test(c)){n=function(e){let t=e.match(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h2>/i),a=t?uJ(t[1]??"").trim():"";if(!a)return null;let r=e.match(/<h3[^>]*>([\s\S]*?)<\/h3>/i),n=r&&uJ(r[1]??"").trim().replace(/:$/,"")||null,o=e.match(/<ul[^>]*>([\s\S]*?)<\/ul>/i);if(!o)return{heading:a,eyebrow:n,actions:[]};let i=[...(o[1]??"").matchAll(/<li[^>]*>([\s\S]*?)<\/li>/gi)],s=[];for(let e of i){let t=e[1]??"",a=t.match(/<b[^>]*>([\s\S]*?)<\/b>([\s\S]*)$/i);if(a){let e=uJ(a[1]??"").trim(),t=uJ(a[2]??"").trim(),r=`${e}${t?" "+t:""}`.trim();(e||r)&&s.push({title:e,body:r})}else{let e=uJ(t).trim();e&&s.push({title:e,body:e})}}return{heading:a,eyebrow:n,actions:s}}(c);continue}if(!o&&(l=c,/Ford Otosan/i.test(l)&&/<h2/i.test(l))){let e=function(e){let t=e.match(/<h2[^>]*>([\s\S]*?)<\/h2>/i),a=t?uJ(t[1]??"").trim():"",r=(t?e.slice((t.index??0)+t[0].length):e).match(/<p[^>]*>([\s\S]*?)<\/p>/i);return{title:a,body:r?uJ(r[1]??"").trim():""}}(c);o={imageUrl:s,logoUrl:i,title:e.title,body:e.body};continue}}return r||n||o?{section1:r,section2:n,caseStudy:o}:null}(a.atom.article.source_data);if(!i)return(0,en.logTelemetry)("get-started.parse-failed",{slug:"get-started"}),null;async function s(){let e="success"===r.status?r.atom:null;if(e||(e=await uQ(uW,o)),!e||!n.isAvailable){let t=e?.article.url;t&&((0,en.logTelemetry)("get-started.case-study-clicked",{mode:"external",slug:uW,url:t}),window.open(t,"_blank","noopener,noreferrer"));return}(0,en.logTelemetry)("get-started.case-study-clicked",{mode:"modal",slug:uW}),n.openArticle(e)}let c=null!==i.caseStudy&&(n.isAvailable||"success"===r.status&&!!r.atom.article.url);return(0,l.jsxs)("div",{"data-atom-kind":"get-started","data-atom-id":e,className:"@container flex flex-col gap-[var(--space-10,40px)]",children:[i.section1?(0,l.jsx)(u$,{heading:i.section1.heading,intro:i.section1.intro,steps:i.section1.steps,atomId:e,parentSectionId:t}):null,i.section2?(0,l.jsx)(uF,{heading:i.section2.heading,eyebrow:i.section2.eyebrow,actions:i.section2.actions,atomId:e,parentSectionId:t}):null,i.caseStudy?(0,l.jsx)(uG,{panel:i.caseStudy,canOpen:c,onReadCaseStudy:s}):null]})},propsSchema:u0}},articleOverlay:{Body:function({atom:e}){let t,a,r=e.atom_metadata.headline??e.article.title,n=function(e){if(!e.trim())return{lead:null,challenge:null,approach:null,result:null};let t=e.match(/The Challenge:\s*([\s\S]+?)(?=\s+The (?:Approach|Result):|$)/i),a=e.match(/The Approach:\s*([\s\S]+?)(?=\s+The Result:|$)/i),r=e.match(/The Result:\s*([\s\S]+?)$/i),n=e.search(/The (?:Challenge|Approach|Result):/i);return{lead:(n>=0?e.slice(0,n).trim().replace(/\.?$/,"."):e.trim())||null,challenge:t?.[1]?.trim().replace(/\.?$/,".")??null,approach:a?.[1]?.trim().replace(/\.?$/,".")??null,result:r?.[1]?.trim().replace(/\.?$/,".")??null}}(e.article.summary??""),o=function(e){let t=cb.safeParse(e);if(!t.success)return null;
10let a=t.data.body,r=null,n=[],o=null,i=null,s=[],l=[],c=[],d=[];for(let e=0;e<a.length;e++){let t=a[e],u=cv.safeParse(t);if(u.success){let{url:e,caption:t,video_id:a,thumbnail_url:r}=u.data.value;e&&c.push({videoUrl:e,caption:t?cx(t):null,videoId:a??null,thumbnailUrl:r??null});continue}let p=cf.safeParse(t);if(p.success){let{file:t,alt_text:r}=p.data.value.basic_image,o=t.startsWith("data:"),i="string"==typeof r&&/logo/i.test(r),s="string"==typeof r&&/\b(video|thumbnail)\b/i.test(r);if(o||i||s||n.push(t),!o&&s){let r=null;for(let t=e+1;t<Math.min(e+4,a.length);t++){let e=a[t],n=cf.safeParse(e);if(n.success&&n.data.value.basic_image.file.startsWith("data:"))continue;let o=cy.safeParse(e);if(o.success){if(/<blockquote\b/i.test(o.data.value))break;r=function(e){let t=e.match(/<p\b[^>]*>([\s\S]*?)<\/p>/i),a=cx((t?t[1]:e)??"").trim();return a.length>0?a:null}(o.data.value)}break}d.push({thumbnailUrl:t,caption:r,videoUrl:null,videoId:null})}continue}let m=cy.safeParse(t);if(m.success){let e=m.data.value;if(null===r&&(r=function(e){for(let t of[...e.matchAll(/<p\b([^>]*)>([\s\S]*?)<\/p>/gi)]){let e=t[1]??"";if(/class="[^"]*\b(citation-name|eyebrow)\b[^"]*"/i.test(e))continue;let a=cx(t[2]??"").trim();if(a.length>0)return a}return null}(e)),null===o){let t=e.match(/<h2[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h2>/i);if(t){o=cx(t[1]??"").trim()||null;let a=e.slice(t.index+t[0].length).split(/<h3[^>]*class="[^"]*headline[^"]*"[^>]*>/i)[0].match(/<p\b[^>]*>([\s\S]*?)<\/p>/i);a&&(i=cx(a[1]??"").trim()||null)}}let t=/<h3[^>]*class="[^"]*headline[^"]*"[^>]*>([\s\S]*?)<\/h3>/gi;for(let a of e.matchAll(t)){let e=cx(a[1]??"").trim();e&&s.push(e)}let a=/<blockquote[^>]*>([\s\S]*?)<\/blockquote>/gi;for(let t of e.matchAll(a)){let a=cx(t[1]??"").trim().replace(/^["“]/,"").replace(/["”]$/,"");if(!a)continue;let r=e.slice(t.index+t[0].length).match(/<p[^>]*class="[^"]*citation-name[^"]*"[^>]*>([\s\S]*?)<\/p>/i),n=r&&cx(r[1]??"").trim().replace(/^-\s*/,"")||null;l.push({text:a,attribution:n})}}}return{lede:r,nonVideoImages:n,sectionTitle:o,sectionBody:i,subPillars:s,quotes:l,videoStories:c.length>0?c:d}}(e.article.source_data),[i,s]=(0,eu.useState)(0),c=!!o&&o.videoStories.length>0,d=c?o.videoStories[Math.min(i,o.videoStories.length-1)]:null,u=o?.nonVideoImages[0]??e.atom_metadata.media_url??e.article.featured_image_url,p=u&&!u.startsWith("data:")?u:null,m=c&&o&&o.videoStories.length>=2?o.nonVideoImages[0]??null:null,h=o?.lede??n.lead,g=e.article.video_asset??null,f=d?.videoUrl??g?.video_url??null,y=function(e){let t=e.content;if("string"!=typeof t)return null;let a=t.trim();return a.length>0?a:null}(e),v=Array.isArray(t=e.atom_metadata.entities)?t.filter(e=>"string"==typeof e).map(e=>e.trim()).filter(e=>e.length>0).map(cw).filter((e,t,a)=>a.findIndex(t=>t===e)===t):[],b=(0,n0.pickInsights)(e,6),x=(0,n0.pickChallenges)(e),w=function(e){let t=e.atom_metadata,a="string"==typeof t.ideal_for?t.ideal_for.trim():"";if(a.length>0)return[a];let r=[];for(let e of[t.roles,t.job_types])if(Array.isArray(e))for(let t of e){if("string"!=typeof t)continue;let e=t.trim();0!==e.length&&r.push(e)}let n=new Set;return r.filter(e=>{let t=e.toLowerCase();return!n.has(t)&&(n.add(t),!0)})}(e),k=Array.isArray(a=e.atom_metadata.channels)?a.filter(e=>"string"==typeof e).map(e=>e.trim()).filter(e=>e.length>0):[],_=function(e){let t=e.atom_metadata,a="number"==typeof t.referenced_year&&Number.isFinite(t.referenced_year)?t.referenced_year:null;if(null===a)return null;let r="string"==typeof t.referenced_month&&t.referenced_month.trim().length>0?t.referenced_month.trim():null;return r?`Launched ${r} ${a}`:`Launched ${a}`}(e),j=function(e){let t=e.atom_metadata.insights;if(!Array.isArray(t))return null;for(let e of t){if("string"!=typeof e)continue;let t=e.replace(/^-\s*/,"").trim(),a=t.match(/^(\d+(?:\.\d+)?%)\s+((?:increase|decrease|rise|growth|improvement|more|higher|lower|fewer|reduction)[^.]*)/i);if(a)return{value:a[1],caption:ck(c_(a[2].trim()))};let r=t.match(/^(\d+(?:\.\d+)?%)\s+(of\s+[^.]+)/i);if(r)return{value:r[1],caption:ck(c_(r[2].trim()))};let n=t.match(/^(\d+(?:\.\d+)?[xX])\s+([^.]+)/);
10if(n)return{value:n[1],caption:ck(c_(n[2].trim()))};let o=t.match(/^(\d+)\s+(mo|months?|weeks?|days?)\s+([^.]+)/i);if(o){let e=o[1],t=o[2].toLowerCase().startsWith("mo")?"mo":o[2].toLowerCase();return{value:`${e} ${t}`,caption:ck(c_(o[3].trim()))}}}return null}(e),S=function(e){let t=e.atom_metadata,a=[];for(let e of[t.industries,t.categories])if(Array.isArray(e))for(let t of e){if("string"!=typeof t)continue;let e=t.trim();0!==e.length&&a.push(e)}let r=new Set;return a.filter(e=>{let t=e.toLowerCase();return!r.has(t)&&(r.add(t),!0)})}(e),{isNavigating:C,autoplayVideo:I}=(0,L.useArticleOverlay)();return(0,l.jsxs)("div",{"data-wwc-article-body":"",className:"-mx-[var(--space-6,24px)] -mb-[var(--space-6,24px)] -mt-[var(--space-6,24px)] flex flex-col transition-opacity duration-200 ease-out",style:{opacity:+!C},children:[(0,l.jsxs)("header",{className:"flex flex-col gap-[var(--space-4,16px)] px-[var(--space-8,32px)] pb-[var(--space-2,8px)] pt-[var(--space-10,40px)]",children:[(0,l.jsx)("p",{style:{color:"var(--surface-accent, var(--color-brand-500))",fontSize:"var(--type-meta)"},className:"m-0 font-[var(--font-weight-medium)] uppercase tracking-[var(--tracking-wider)]",children:"A signatory in practice"}),r?(0,l.jsx)("h1",{style:{fontSize:"var(--type-h2)"},className:"m-0 font-[var(--font-weight-medium)] leading-[var(--leading-tight)]",children:r}):null,h?(0,l.jsx)("p",{style:{fontSize:"var(--type-h5)",color:"var(--surface-fg-muted, var(--color-fg-muted))",fontWeight:"var(--font-weight-light)",lineHeight:"var(--leading-body)"},className:"m-0",children:h}):null]}),c&&d?(0,l.jsxs)("section",{className:"flex flex-col gap-[var(--space-4,16px)] px-[var(--space-8,32px)] pt-[var(--space-6,24px)]",children:[f?(0,l.jsx)("div",{className:"aspect-[16/9] w-full overflow-hidden rounded-[var(--radius-lg)] bg-[color:var(--color-fg)]",children:(0,l.jsx)(cm,{videoUrl:f,title:g?.title??r??"Case study video",poster:d.thumbnailUrl??void 0,autoPlay:I},f)}):(0,l.jsxs)("div",{className:"relative aspect-[16/9] w-full overflow-hidden rounded-[var(--radius-lg)]",style:{background:"var(--color-bg-subtle, #f3f3f3)"},children:[d.thumbnailUrl?(0,l.jsx)("img",{src:d.thumbnailUrl,alt:"",className:"absolute inset-0 h-full w-full object-cover"}):null,(0,l.jsx)("span",{"aria-hidden":"true",style:{background:"var(--surface-accent, var(--color-brand-500))"},className:"absolute left-1/2 top-1/2 inline-flex h-16 w-16 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-[var(--radius-full)]",children:(0,l.jsx)("svg",{width:"18",height:"20",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M13.5 7.13397C14.1667 7.51887 14.1667 8.48113 13.5 8.86603L2.25 15.3603C1.58333 15.7452 0.75 15.2641 0.75 14.4943L0.75 1.50575C0.75 0.73595 1.58333 0.254825 2.25 0.639725L13.5 7.13397Z",fill:"var(--color-primary-on)"})})})]}),d.caption?(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},className:"m-0",children:d.caption}):null,o.videoStories.length>1?(0,l.jsx)("div",{"data-video-chip-row":"",className:"grid grid-cols-2 gap-[var(--space-3,12px)] sm:grid-cols-4",children:o.videoStories.map((e,t)=>{let a=t===i;return(0,l.jsxs)("button",{type:"button",onClick:()=>s(t),"data-video-chip":"","data-active":a?"":void 0,style:{background:"var(--color-bg, #fff)",borderColor:a?"var(--surface-accent, var(--color-brand-500))":"var(--color-border)"},className:"flex flex-col gap-[var(--space-2,8px)] rounded-[var(--radius-md)] border p-[var(--space-2,8px)] text-left transition-colors hover:border-[color:var(--surface-accent,var(--color-brand-500))] focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)]",children:[(0,l.jsxs)("div",{className:"relative aspect-[4/3] w-full overflow-hidden rounded-[var(--radius-sm)]",style:{background:"var(--color-bg-subtle, #f3f3f3)"},children:[e.thumbnailUrl?(0,l.jsx)("img",{src:e.thumbnailUrl,alt:"",className:"absolute inset-0 h-full w-full object-cover"}):e.videoUrl?(0,l.jsx)("video",{src:`${e.videoUrl}
10#t=0.1`,preload:"metadata",muted:!0,playsInline:!0,tabIndex:-1,"aria-hidden":"true",className:"absolute inset-0 h-full w-full object-cover"}):null,(0,l.jsx)("span",{"aria-hidden":"true",style:{background:"var(--surface-accent, var(--color-brand-500))"},className:"absolute left-1/2 top-1/2 inline-flex h-8 w-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-[var(--radius-full)]",children:(0,l.jsx)("svg",{width:"10",height:"11",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M13.5 7.13397C14.1667 7.51887 14.1667 8.48113 13.5 8.86603L2.25 15.3603C1.58333 15.7452 0.75 15.2641 0.75 14.4943L0.75 1.50575C0.75 0.73595 1.58333 0.254825 2.25 0.639725L13.5 7.13397Z",fill:"var(--color-primary-on)"})})})]}),e.caption?(0,l.jsx)("span",{style:{fontSize:"var(--type-body-sm)",color:"var(--surface-fg-muted, var(--color-fg-muted))",lineHeight:"var(--leading-body)"},className:"block",children:e.caption}):null]},e.videoId??e.thumbnailUrl??t)})}):null]}):g?.video_url?(0,l.jsxs)("div",{className:"px-[var(--space-8,32px)] pt-[var(--space-6,24px)]",children:[(0,l.jsx)("div",{className:"aspect-[16/9] w-full overflow-hidden rounded-[var(--radius-lg)] bg-[color:var(--color-fg)]",children:(0,l.jsx)(cm,{videoUrl:g.video_url,t
10itle:g.title??r??"Case study video",poster:p??void 0,autoPlay:I})}),g.title?(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",color:"var(--surface-fg-muted, var(--color-fg-muted))"},className:"m-0 mt-[var(--space-3,12px)] leading-[var(--leading-snug)]",children:g.title}):null]}):p?(0,l.jsx)("div",{className:"px-[var(--space-8,32px)] pt-[var(--space-6,24px)]",children:(0,l.jsx)("div",{className:"aspect-[16/9] w-full overflow-hidden rounded-[var(--radius-lg)]",children:(0,l.jsx)("img",{src:p,alt:"",className:"h-full w-full object-cover"})})}):null,m?(0,l.jsx)("div",{className:"px-[var(--space-8,32px)] pt-[var(--space-6,24px)]",children:(0,l.jsx)("div",{className:"aspect-[16/9] w-full overflow-hidden rounded-[var(--radius-lg)]",children:(0,l.jsx)("img",{src:m,alt:"",className:"h-full w-full object-cover"})})}):null,y?(0,l.jsx)("div",{className:"px-[var(--space-8,32px)] pt-[var(--space-6,24px)]",children:(0,l.jsxs)("div",{style:{background:"var(--surface-subtle-bg)"},className:"flex flex-col gap-[var(--space-4,16px)] rounded-[var(--radius-lg)] p-[var(--space-6,24px)]",children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)"},className:"m-0 font-[var(--font-weight-medium)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",children:"About the program"}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-relaxed)"},className:"m-0",children:y}),v.length>0?(0,l.jsx)("div",{className:"flex flex-wrap gap-[var(--space-2,8px)]",children:v.map((e,t)=>(0,l.jsx)("span",{style:{background:"var(--color-bg, #fff)",color:"var(--surface-accent, var(--color-brand-500))",fontSize:"var(--type-meta)",border:"1px solid color-mix(in oklab, var(--surface-accent, var(--color-brand-500)) 24%, transparent)"},className:"inline-flex items-center rounded-[var(--radius-full)] px-[var(--space-3,12px)] py-[var(--space-1,4px)] font-[var(--font-weight-medium)]",children:e},t))}):null,_?(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)",color:"var(--surface-fg-muted, var(--color-fg-muted))"},className:"m-0 font-[var(--font-weight-medium)] uppercase tracking-[var(--tracking-wide)]",children:_}):null]})}):null,n.challenge||n.approach||n.result||b.length>0||x.length>0||w.length>0||k.length>0?(0,l.jsxs)("section",{className:"grid gap-[var(--space-8,32px)] px-[var(--space-8,32px)] pt-[var(--space-8,32px)] md:grid-cols-[2fr_1fr]",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-6,24px)]",children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)"},className:"m-0 font-[var(--font-weight-medium)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",children:"The program"}),n.challenge?(0,l.jsx)(ch,{heading:"The challenge",body:n.challenge}):null,n.approach?(0,l.jsx)(ch,{heading:"The approach",body:n.approach}):null,n.result?(0,l.jsx)(ch,{heading:"The result",body:n.result}):null,o&&o.subPillars.length>0?(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)] pt-[var(--space-2,8px)]",children:[o.sectionTitle?(0,l.jsx)("p",{style:{fontSize:"var(--type-h3)"},className:"m-0 font-[var(--font-weight-medium)] leading-[var(--leading-snug)]",children:o.sectionTitle}):null,o.sectionBody?(0,l.jsx)("p",{style:{fontSize:"var(--type-body)"},className:"m-0 leading-[var(--leading-relaxed)]",children:o.sectionBody}):null,(0,l.jsx)("ul",{className:"flex flex-col gap-[var(--space-2,8px)] pt-[var(--space-1,4px)]",children:o.subPillars.map((e,t)=>(0,l.jsxs)("li",{style:{fontSize:"var(--type-body)",lineHeight:"var(--leading-body)"},className:"grid grid-cols-[0.5rem_1fr] items-baseline gap-[var(--space-3,12px)]",children:[(0,l.jsx)("span",{"aria-hidden":"true",style:{background:"var(--surface-accent, var(--color-brand-500))"},className:"mt-[0.55em] inline-block h-1.5 w-1.5 rounded-[var(--radius-full)]"}),(0,l.jsx)("span",{className:"font-[var(--font-weight-medium)]",children:e})]},t))})]}):null,b.length>0?(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-3,12px)] pt-[var(--space-2,8px)]",children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)"},className:"m-0 font-[var(--font-weight-medium)] uppercase tracking-[var(--tracking-wider)] text-[color:var(--surface-accent,var(--color-brand-500))]",children:"Key takeaways"}),(0,l.jsx)("ul",{className:"flex flex-col gap-[var(--space-2,8px)]",children:b.map((e,t)=>(0,l.jsxs)("li",{style:{fontSize:"var(--type-body)"},className:"grid grid-cols-[1.5rem_1fr] items-baseline gap-[var(--space-3,12px)] leading-[var(--leading-relaxed)]",children:[(0,l.jsxs)("span",{style:{color:"var(--surface-accent, var(--color-brand-500))"},className:"font-[var(--font-weight-emphasis)]",children:[t+1,"."]}),(0,l.jsx)("span",{children:e})]},t))})]}):null]}),(0,l.jsxs)("aside",{className:"flex flex-col gap-[var(--space-6,24px)]",children:[x.length>0?(0,l.jsx)(cg,{heading:"What it addresses",items:x}):null,w.length>0?(0,l.jsx)(cg,{heading:"Built for",items:w}):null,k.length>0?(0,l.jsx)(cg,{heading:"Activated through",items:k}):null]})]}):null,o&&o.quotes.length>0?(0,l.jsx)("div",{className:"px-[var(--space-8,32px)] pt-[var(--space-8,32px)]",children:(0,l.jsxs)("div",{style:{background:"var(--surface-subtle-bg)"}
10,className:"flex flex-col gap-[var(--space-4,16px)] rounded-[var(--radius-lg)] p-[var(--space-8,32px)]",children:[(0,l.jsxs)("p",{style:{fontSize:"var(--type-h4)",lineHeight:"var(--leading-body)",fontStyle:"italic"},className:"m-0",children:['"',o.quotes[o.quotes.length-1].text,'"']}),o.quotes[o.quotes.length-1].attribution?(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)",color:"var(--surface-fg-muted, var(--color-fg-muted))"},className:"m-0 font-[var(--font-weight-medium)] uppercase tracking-[var(--tracking-wider)]",children:o.quotes[o.quotes.length-1].attribution}):null]})}):null,j?(0,l.jsx)("div",{className:"px-[var(--space-8,32px)] pt-[var(--space-8,32px)]",children:(0,l.jsxs)("div",{style:{background:"var(--surface-subtle-bg)"},className:"flex flex-wrap items-center justify-center gap-[var(--space-6,24px)] rounded-[var(--radius-lg)] p-[var(--space-8,32px)]",children:[(0,l.jsx)("span",{style:{color:"var(--surface-accent, var(--color-brand-500))",fontSize:"var(--type-h1)",lineHeight:"var(--leading-none)"},className:"font-[var(--font-weight-emphasis)] tracking-[var(--tracking-tight)]",children:j.value}),(0,l.jsx)("span",{style:{fontSize:"var(--type-body)",color:"var(--surface-fg-muted, var(--color-fg-muted))",lineHeight:"var(--leading-body)"},className:"max-w-md",children:j.caption})]})}):null,S.length>0?(0,l.jsx)("div",{style:{borderTopColor:"var(--color-border, rgba(0,0,0,.08))"},className:"mt-[var(--space-8,32px)] flex flex-col gap-[var(--space-3,12px)] border-t px-[var(--space-8,32px)] py-[var(--space-6,24px)]",children:(0,l.jsx)("div",{className:"flex flex-wrap gap-[var(--space-2,8px)]",children:S.map((e,t)=>(0,l.jsx)(cd.Chip,{children:e},t))})}):null,(0,l.jsx)(cp,{}),0===S.length?(0,l.jsx)("div",{className:"h-8"}):null]})}},publishedCard:function({data:e,atom:t}){let a=e.emphasis??"normal",r=(0,T.useClientConfig)().theme.surfaces[a],n=(0,L.useArticleOverlay)(),o=function(e){let t=e.atom_metadata.entities;if(Array.isArray(t)){for(let e of t){if("string"!=typeof e)continue;let t=u2(e.trim());if(0!==t.length&&function(e){let t=e.split(/\s+/);if(0===t.length||t.length>4)return!1;let a=new Set(["with","the","and","of","for","you","to","&"]);return!t.some(e=>a.has(e.toLowerCase()))}(t))return u1(t)}let e=t.find(e=>"string"==typeof e&&e.trim().length>0);if(e)return u1(u2(e.trim()))}let a=(e.article.summary??"").match(/^([A-Z][A-Za-z'&]+(?:\s+[A-Z][A-Za-z'&]+)*)/);return a?a[1].split(/\s+/).slice(0,3).join(" "):null}(t),i=function(e){let t=e.atom_metadata.industries;if(Array.isArray(t)){for(let e of t)if("string"==typeof e&&e.trim().length>0)return e.trim().toUpperCase()}let a=e.atom_metadata.editorial_type;return"string"==typeof a&&a.trim().length>0?a.trim().toUpperCase():null}(t),s=t.atom_metadata.headline??t.article.title??e.headline,c=t.atom_metadata.media_url??function(e){if(!e||"object"!=typeof e)return null;let t=e.body;if(!Array.isArray(t))return null;for(let e of t){if(!e||"object"!=typeof e||"basic_image"!==e.block_type)continue;let t=e.value;if(!t||"object"!=typeof t)continue;let a=t.basic_image;if(!a||"object"!=typeof a)continue;let r=a.file,n=a.alt_text;if(!("string"!=typeof r||0===r.length||r.startsWith("data:")||"string"==typeof n&&/logo/i.test(n))&&!("string"==typeof n&&/\b(video|thumbnail)\b/i.test(n)))return r}return null}(t.article.source_data)??t.article.featured_image_url,d=c&&!c.startsWith("data:")?c:null,u={color:`var(--surface-${a}-fg)`,border:`var(--surface-${a}-border, 1px solid var(--color-border))`,boxShadow:`var(--surface-${a}-shadow)`,borderRadius:"var(--radius-lg)","--surface-accent":`var(--surface-${a}-accent)`,"--surface-fg-muted":`var(--surface-${a}-fg-muted, var(--color-fg-muted))`,background:`var(--surface-${a}-bg)`},p="modal"===e.cta_behavior&&n.isAvailable||!!e.href;return(0,l.jsx)(om.SurfaceContextProvider,{contrast:r.contrast,children:(0,l.jsxs)("article",{"data-atom-kind":"published-card","data-pack":"wwc","data-emphasis":a,style:u,className:(0,ec.cn)("flex h-full flex-col overflow-hidden"),children:[d?(0,l.jsx)("div",{"data-slot":"media",className:"aspect-[4/3] w-full overflow-hidden",children:(0,l.jsx)("img",{src:d,alt:"",className:"h-full w-full object-cover"})}):null,(0,l.jsxs)("div",{"data-card-text":"",className:"flex flex-1 flex-col gap-[var(--space-5,20px)] p-[var(--space-6,24px)]",children:[(0,l.jsxs)("header",{className:"flex flex-col gap-[var(--space-1,4px)]",children:[o?(0,l.jsx)("h3",{"data-slot":"company",style:{fontSize:"var(--type-h4)"},className:"m-0 font-[var(--font-weight-medium)] leading-[var(--leading-snug)]",children:o}):null,i?(0,l.jsx)("p",{"data-slot":"industry",style:{fontSize:"var(--type-meta)",color:"var(--surface-fg-muted)"},className:"m-0 font-[var(--font-weight-medium)] uppercase tracking-[var(--tracking-wider)]",children:i}):null]}),s?(0,l.jsx)("h2",{"data-slot":"headline",style:{fontSize:"var(--type-h3)"},className:"m-0 font-[var(--font-weight-medium)] leading-[var(--leading-snug)]",children:s}):null,p?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{"data-slot":"divider",style:{background:"var(--surface-fg-muted, var(--color-fg-muted))"},className:"mt-auto h-px opacity-20"}),(0,l.jsxs)("button",{type:"button",onClick:function(){if("modal"===e.cta_behavior&&n.isAvailable){(0,en.logTelemetry)("wwc-published-card-open-case",{mode:"modal",atom_id:t.atom_metadata.atom_id??t.id??null}),n.openArticle(t);return}e.href&&((0,en.logTelemetry)("wwc-published-card-open-case",{mode:"external",href:e.href}),window.open(e.href,"_blank","noopener,noreferrer"))},style:{color:"var(--surface-accent, var(--color-brand-500))",fontSize:"var(--type-body-sm)"},className:"inline-flex w-fit items-center gap-[var(--space-2,8px)] self-start bg-transparent p-0 font-[var(--font-weight-medium)] hover:underline focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",children:["Open case ",(0,l.jsx)("span",{"aria-hidden":"true",children:"→"})]})]}):null]})]})})},pages:{"/":function(e){let{activePersonaId:t}=(0,R.useActivePersona)(),{reveal:a,isRevealed:r}=cj();return"CEO / Executive"===t?(0,l.jsx)(uC,{}):"HR / Heads of People"===t?(0,l.jsx)(uI,{}):"Employee"===t?(0,l.jsx)(uL,{}
10):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(cA,{content:ua}),(0,l.jsx)(cO,{content:uo}),(0,l.jsx)(cG,{content:ui}),(0,l.jsx)(cK,{content:us}),(0,l.jsx)(cE,{content:ur}),(0,l.jsx)(cT,{content:un,onReveal:a,isRevealed:r}),r("wwc_time_to_screen_section")&&(0,l.jsx)(c9,{content:ul,eyebrow:"Toolkit · Time to Screen",heading:"Empower employees to take time for their health",subheading:"Many people delay routine screenings because of work — and leaders are uniquely positioned to change that. Launch Time to Screen with ready-made resources and assets, adapted to your policies, workforce, and culture."}),r("wwc_listening_section")&&(0,l.jsx)(df,{content:uc,eyebrow:"Listening & learning",heading:"Listening & learning",subheading:"Before you build, understand. Start by hearing from the people the pledge is for — and learning what good support actually looks like."}),ud.map(e=>r(e.sectionId)?(0,l.jsx)(dN,{content:e},e.sectionId):null)]})}}},pj=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,pS=/^https?:\/\/[^\s]+$/i;function pC(e,t){let a={};for(let r of e){let e=(t[r.name]??"").trim();if(r.required&&!e){a[r.name]="Required";continue}e&&("email"!==r.type||pj.test(e)?"url"!==r.type||pS.test(e)||(a[r.name]="Enter a valid URL"):a[r.name]="Enter a valid email")}return a}let pI=em.z.object({name:em.z.string().min(1),label:em.z.string().min(1),type:em.z.enum(["text","email","url","tel","textarea","select"]),required:em.z.boolean().optional(),options:em.z.array(em.z.object({value:em.z.string(),label:em.z.string()})).optional(),step:em.z.number().int().min(1).optional()}),pN=em.z.object({recipe:em.z.string(),fields:em.z.array(pI).min(1),submit_label:em.z.string().min(1),submit_action:pg.ActionSchema,steps:em.z.number().int().min(1).optional(),success:em.z.object({headline:em.z.string().min(1),body:em.z.string().min(1)})}),pA="rounded-[var(--radius-md)] border border-[color:var(--color-border)] bg-[color:var(--color-bg)] px-3 py-2 text-[length:var(--type-body)] pointer-coarse:text-[length:max(16px,var(--type-body))] text-[color:var(--color-fg)]";function pE({field:e,value:t,error:a,onChange:r}){let n=`form-field-${e.name}`;return(0,l.jsxs)("label",{htmlFor:n,className:"flex flex-col gap-1",children:[(0,l.jsxs)("span",{className:"text-[length:var(--type-body-sm)] font-medium text-[color:var(--color-fg)]",children:[e.label,e.required?" *":""]}),"textarea"===e.type?(0,l.jsx)("textarea",{id:n,name:e.name,value:t,required:e.required,rows:4,onChange:e=>r(e.currentTarget.value),className:pA}):"select"===e.type?(0,l.jsxs)("select",{id:n,name:e.name,value:t,required:e.required,onChange:e=>r(e.currentTarget.value),className:pA,children:[(0,l.jsx)("option",{value:"",disabled:!0,children:"Select…"}),(e.options??[]).map(e=>(0,l.jsx)("option",{value:e.value,children:e.label},e.value))]}):(0,l.jsx)("input",{id:n,name:e.name,type:e.type,value:t,required:e.required,onChange:e=>r(e.currentTarget.value),className:pA}),a?(0,l.jsx)("span",{"data-form-error":"",className:"text-[length:var(--type-meta)] text-[color:var(--color-danger-500)]",children:a}):null]})}function pT({headline:e,body:t}){return(0,l.jsxs)("div",{"data-atom-kind":"form","data-form-success":"",className:"flex flex-col gap-2 rounded-[var(--radius-lg)] border border-[color:var(--color-border)] bg-[color:var(--color-bg)] p-[var(--space-lg,24px)]",children:[(0,l.jsx)("h3",{className:"text-[length:var(--type-h3)] font-[family-name:var(--font-heading)] text-[color:var(--color-fg)]",children:e}),(0,l.jsx)("p",{className:"text-[length:var(--type-body)] text-[color:var(--color-fg-muted)]",children:t})]})}let pP=em.z.object({lines:em.z.array(em.z.object({text:em.z.string().min(1),accent:em.z.boolean().optional()})).min(1),recipe:em.z.enum(["left","centered","pinned"])}),pz={left:{textAlign:"left",maxWidth:"var(--width-lg,1120px)",marginInline:"auto"},centered:{textAlign:"center",maxWidth:"48rem",marginInline:"auto"},pinned:{textAlign:"left",maxWidth:"var(--width-lg,1120px)",marginInline:"auto"}},pR=em.z.object({logos:em.z.array(em.z.object({src:em.z.string().min(1),alt:em.z.string().min(1)}
10)).min(1),speed:em.z.enum(["slow","normal","fast"]).optional(),direction:em.z.enum(["ltr","rtl"]).optional()}),pL={slow:"40s",normal:"25s",fast:"15s"},pO=`
11@keyframes knotch-logo-marquee {
12  from { transform: translateX(0); }
13  to   { transform: translateX(-50%); }
14}
15[data-atom-kind="logo-marquee"] .lm-track {
16  animation-name: knotch-logo-marquee;
17  animation-timing-function: linear;
18  animation-iteration-count: infinite;
19}
20@media (prefers-reduced-motion: reduce) {
21  [data-atom-kind="logo-marquee"] .lm-track { animation-play-state: paused; }
22}
23`;var pM=e.i(347),pH=e.i(12878);let pD=em.z.object({recipe:em.z.enum(["expandable","scroll-panel","two-column"]),title:em.z.string().optional(),lede:em.z.string().optional(),body:em.z.string().min(1),emphasis:u5.Emphasis.optional()});function pq({title:e,lede:t}){return(0,l.jsxs)(l.Fragment,{children:[e?(0,l.jsx)("h2",{style:{fontSize:"var(--type-h2)",fontWeight:700,marginBottom:"var(--space-sm, 12px)"},children:e}):null,t?(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",color:"var(--surface-fg-muted)",marginBottom:"var(--space-md, 24px)"},children:t}):null]})}function pW({body:e}){return(0,l.jsx)(pM.default,{remarkPlugins:[pH.default],components:{p:({node:e,...t})=>(0,l.jsx)("p",{style:{marginBottom:"var(--space-sm, 12px)",fontSize:"var(--type-body)"},...t}),h2:({node:e,...t})=>(0,l.jsx)("h2",{style:{fontSize:"var(--type-h2)",fontWeight:600,marginTop:"var(--space-md, 24px)",marginBottom:"var(--space-sm, 12px)"},...t}),h3:({node:e,...t})=>(0,l.jsx)("h3",{style:{fontSize:"var(--type-h3)",fontWeight:600,marginTop:"var(--space-md, 24px)",marginBottom:"var(--space-sm, 12px)"},...t}),ul:({node:e,...t})=>(0,l.jsx)("ul",{style:{paddingLeft:"var(--space-md, 24px)",listStyleType:"disc"},...t}),ol:({node:e,...t})=>(0,l.jsx)("ol",{style:{paddingLeft:"var(--space-md, 24px)",listStyleType:"decimal"},...t}),a:({node:e,...t})=>(0,l.jsx)("a",{style:{color:"var(--surface-accent)",textDecoration:"underline"},target:"_blank",rel:"noreferrer",...t})},children:e})}function p$({data:e,emphasis:t,atomId:a}){let[r,n]=(0,eu.useState)(!1),o=`${a}-body`;return(0,l.jsxs)("div",{style:{padding:"var(--space-md, 24px)"},children:[(0,l.jsx)(pq,{title:e.title,lede:e.lede}),(0,l.jsxs)("div",{style:{position:"relative"},children:[(0,l.jsx)("div",{id:o,inert:!r,style:{maxHeight:r?void 0:"12rem",overflow:"hidden",position:"relative"},children:(0,l.jsx)(pW,{body:e.body})}),r?null:(0,l.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",bottom:0,left:0,right:0,height:"4rem",background:`linear-gradient(to bottom, transparent, var(--surface-${t}-bg, var(--color-bg)))`,pointerEvents:"none"}})]}),(0,l.jsx)("button",{"data-longform-toggle":!0,"aria-expanded":r,"aria-controls":o,onClick:()=>n(e=>!e),style:{marginTop:"var(--space-sm, 12px)",fontSize:"var(--type-body-sm)",color:"var(--surface-accent)",background:"none",border:"none",padding:0,cursor:"pointer",fontWeight:600},children:r?"Show less":"Read more"})]})}function pU({data:e}){return(0,l.jsxs)("div",{style:{padding:"var(--space-md, 24px)"},children:[(0,l.jsx)(pq,{title:e.title,lede:e.lede}),(0,l.jsx)("div",{style:{maxHeight:"24rem",overflowY:"auto",fontSize:"var(--type-body)"},children:(0,l.jsx)(pW,{body:e.body})})]})}function pF({data:e}){return(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 2fr",gap:"var(--space-lg, 48px)",padding:"var(--space-md, 24px)"},children:[(0,l.jsxs)("div",{style:{position:"sticky",top:"var(--space-md, 24px)",alignSelf:"start"},children:[e.title?(0,l.jsx)("h2",{style:{fontSize:"var(--type-h2)",fontWeight:700,marginBottom:"var(--space-sm, 12px)"},children:e.title}):null,e.lede?(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",color:"var(--surface-fg-muted)"},children:e.lede}):null]}),(0,l.jsx)("div",{style:{fontSize:"var(--type-body)"},children:(0,l.jsx)(pW,{body:e.body})})]})}let pB=em.z.object({title:em.z.string(),icon:em.z.string().optional(),questions:em.z.array(em.z.object({text:em.z.string()})),answer_all_action:pg.ActionSchema,emphasis:u5.Emphasis.optional()}),pG=em.z.object({recipe:em.z.enum(["audio","story"]),title:em.z.string().min(1),summary:em.z.string().optional(),duration_label:em.z.string().optional(),thumbnail:em.z.string().optional(),action:pg.ActionSchema});function pK({data:e,titleStyle:t,metaStyle:a,summaryStyle:r}){return(0,l.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",ga
23p:"var(--space-md, 16px)"},children:[(0,l.jsx)("div",{"aria-hidden":"true",style:{flexShrink:0,width:"2.5rem",height:"2.5rem",borderRadius:"var(--radius-full, 9999px)",background:"var(--color-brand-500)",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-fg-inverse, #f8fafc)",fontSize:"var(--type-body)"},children:"▶"}),(0,l.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,l.jsx)("p",{style:t,children:e.title}),e.duration_label&&(0,l.jsx)("p",{style:{...a,marginTop:"var(--space-xs, 4px)"},children:e.duration_label}),e.summary&&(0,l.jsx)("p",{style:r,children:e.summary})]})]})}function pV({data:e,titleStyle:t,metaStyle:a,summaryStyle:r}){return(0,l.jsxs)("div",{children:[e.thumbnail&&(0,l.jsx)("img",{src:e.thumbnail,alt:"",style:{display:"block",width:"100%",height:"auto",borderRadius:"var(--radius-md, 8px)",marginBottom:"var(--space-md, 16px)",objectFit:"cover"}}),(0,l.jsx)("p",{style:t,children:e.title}),e.summary&&(0,l.jsx)("p",{style:r,children:e.summary}),e.duration_label&&(0,l.jsx)("p",{style:{...a,marginTop:"var(--space-xs, 4px)"},children:e.duration_label})]})}let pZ=[1,1.25,1.5,2];function pY(e,t,a){if(0===e.length)return 0;let r=[],n=0;for(let t of e)r.push(n),n+=t.duration_s;let o=n,i=Math.max(0,Math.min((r[t]??0)+a,o)),s=0;for(let e=0;e<r.length;e++)(r[e]??0)<=i&&(s=e);return s}function pJ(e,t,a){let r=[...e];if(t<0||t>=e.length||a<0||a>=e.length||t===a)return r;let[n]=r.splice(t,1);return void 0!==n&&r.splice(a,0,n),r}let pX=em.z.object({title:em.z.string(),modalities:em.z.array(em.z.enum(["text","summary","audio","story"])),default_modality:em.z.enum(["text","summary","audio","story"]).optional(),beats:em.z.array(em.z.object({id:em.z.string(),label:em.z.string(),text:em.z.string(),duration_s:em.z.number()})),audio_src:em.z.string().optional()}),pQ={padding:"6px 12px",borderRadius:"var(--radius-md)",border:"1px solid var(--color-border)",background:"var(--color-bg)",color:"var(--color-fg)",fontSize:"var(--type-body-sm)",cursor:"pointer"},p0={padding:"4px 8px",borderRadius:"var(--radius-sm)",border:"1px solid var(--color-border)",background:"var(--color-bg)",color:"var(--color-fg-muted)",fontSize:"var(--type-meta)",cursor:"pointer",flexShrink:0},p1=em.z.object({steps:em.z.array(em.z.object({label:em.z.string().min(1),body:em.z.string().min(1)})).min(1),emphasis:u5.Emphasis.optional()});function p2({data:e,atomId:t}){let a=e.emphasis,r=a?{background:`var(--surface-${a}-bg)`,color:`var(--surface-${a}-fg)`,border:`1px solid var(--surface-${a}-border, transparent)`,borderRadius:"24px",padding:"48px"}:{background:"color-mix(in srgb, var(--color-fg) 3%, var(--color-bg))",border:"1px solid var(--color-border)",borderRadius:"24px",padding:"48px"},n=a?`var(--surface-${a}-fg-muted, var(--color-fg-muted))`:"var(--color-fg-muted)";return(0,l.jsx)("div",{"data-atom-kind":"process-steps","data-atom-id":t,"data-emphasis":a??void 0,style:r,children:(0,l.jsx)("ol",{style:{listStyle:"none",margin:0,padding:0,display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 200px), 1fr))",gap:"44px 48px"},children:e.steps.map((e,t)=>{let r=String(t+1).padStart(2,"0");return(0,l.jsxs)("li",{style:{display:"flex",flexDirection:"column",gap:"var(--space-xs, 8px)"},children:[(0,l.jsxs)("h3",{style:{margin:0,fontFamily:"var(--font-sans)",fontSize:"var(--type-h6)",fontWeight:500,lineHeight:1.3,color:a?`var(--surface-${a}-fg)`:"var(--color-fg)"},children:[(0,l.jsx)("span",{style:{color:n},children:r}),(0,l.jsx)("span",{"aria-hidden":"true",style:{color:n},children:" · "}),e.label]}),(0,l.jsx)("p",{style:{margin:0,fontFamily:"var(--font-sans)",fontSize:"var(--type-body-sm)",lineHeight:1.5,color:n},children:e.body})]},t)})})})}let p5=em.z.object({name:em.z.string().min(1),title:em.z.string().optional(),avatar:em.z.string().optional()});function p4({data:e,atomId:t}){return(0,l.jsxs)("div",{"data-atom-kind":"person-card","data-atom-id":t,style:{display:"flex",flexDirection:"column"},children:[(0,l.jsx)("div",{style:{position:"relative",width:"100%",aspectRatio:"1 / 1",borderRadius:"var(--radius-lg)",overflow:"hidden",marginBottom:"var(--space-sm, 
2316px)"},children:e.avatar?(0,l.jsx)("img",{src:e.avatar,alt:e.name,style:{display:"block",width:"100%",height:"100%",objectFit:"cover"}}):(0,l.jsx)("div",{style:{width:"100%",height:"100%",background:"linear-gradient(160deg, #d8d2c4, #b8b0a0)",display:"flex",alignItems:"center",justifyContent:"center"},"aria-hidden":"true",children:(0,l.jsxs)("svg",{viewBox:"0 0 24 24",width:"40%",height:"40%",fill:"var(--color-bg)","aria-hidden":"true",children:[(0,l.jsx)("circle",{cx:"12",cy:"8",r:"4"}),(0,l.jsx)("path",{d:"M4 21c0-4.418 3.582-8 8-8s8 3.582 8 8z"})]})})}),(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body)",fontWeight:"var(--font-weight-emphasis, 600)",lineHeight:1.2,color:"var(--color-fg)",margin:0},children:e.name}),e.title&&(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body-sm)",lineHeight:1.4,color:"var(--color-fg-muted)",margin:"var(--space-2xs, 4px) 0 0"},children:e.title})]})}let p3=em.z.object({title:em.z.string().min(1),description:em.z.string().optional(),metric:em.z.string().min(1),label:em.z.string().optional(),tint:em.z.enum(["green","yellow","orange","pink","neutral"]).optional()}),p6={green:"linear-gradient(135deg, #f5e58a 0%, #cfdc7a 60%, #7cb380 100%)",orange:"linear-gradient(135deg, #c8dbe8 0%, #f1c6a3 60%, #d4a67a 100%)",yellow:"linear-gradient(135deg, #f3d676 0%, #f0b864 60%, #cea36a 100%)",pink:"linear-gradient(135deg, #f5c8dd 0%, #e9a8c4 60%, #cf86a8 100%)",neutral:"linear-gradient(135deg, var(--color-bg-subtle) 0%, var(--color-bg) 100%)"};function p8({data:e,atomId:t}){let a=e.tint??"neutral",r={background:p6[a],borderRadius:"var(--radius-lg)",padding:"32px",minHeight:"280px",display:"flex",flexDirection:"column"};return(0,l.jsxs)("div",{"data-atom-kind":"stat-card","data-atom-id":t,"data-tint":a,style:r,children:[(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-h3)",fontWeight:"var(--font-weight-emphasis, 600)",lineHeight:1.2,color:"var(--color-fg)",margin:0},children:e.title}),e.description&&(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body-sm)",lineHeight:1.5,color:"var(--color-fg-muted)",margin:"var(--space-xs, 8px) 0 0"},children:e.description}),(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"flex-end",justifyContent:"space-between",marginTop:"auto",paddingTop:"var(--space-md, 32px)"},children:[(0,l.jsx)("p",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--type-display)",fontWeight:"var(--font-weight-default, 500)",lineHeight:1,color:"var(--color-fg)",margin:0},children:e.metric}),e.label&&(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-emphasis, 600)",lineHeight:1.4,color:"var(--color-fg)",margin:0,textAlign:"right"},children:e.label})]})]})}let p7=em.z.object({logos:em.z.array(em.z.object({name:em.z.string().min(1),tint:em.z.string().optional()})).min(1)}),p9=em.z.object({quotes:em.z.array(em.z.object({quote:em.z.string().min(1),name:em.z.string().optional(),title:em.z.string().optional(),emphasis:u5.Emphasis.optional()})).min(1),layout:em.z.enum(["grid","feature"]).optional()}),me={display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 22rem), 1fr))",gap:"var(--space-md, 32px)"};function mt({data:e,atomId:t}){if((e.layout??"grid")==="feature"){let[a,...r]=e.quotes;return(0,l.jsxs)("div",{"data-atom-kind":"quote-grid","data-atom-id":t,"data-layout":"feature",style:{display:"flex",flexDirection:"column",gap:"var(--space-md, 32px)"},children:[a?(0,l.jsx)(ma,{item:a}):null,r.length>0?(0,l.jsx)("div",{style:me,children:r.map((e,t)=>(0,l.jsx)(ma,{item:e},t))}):null]})}let a=1===e.quotes.length;return(0,l.jsx)("div",{"data-atom-kind":"quote-grid","data-atom-id":t,style:a?{display:"grid",gridTemplateColumns:"1fr",gap:"var(--space-md, 32px)",height:"100%"}:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(min(100%, 22rem), 1fr))",maxWidth:"calc(44rem + 2 * var(--space-md, 32px))",gap:"var(--space-md, 32px)",margin:"0 auto"},children:e.quotes.map((e,t)=>(0,l.jsx)(ma,{item:e},t))})}function ma({item:e}
23){let t=e.emphasis??"normal",a={background:`var(--surface-${t}-bg)`,color:`var(--surface-${t}-fg)`,border:`1px solid var(--surface-${t}-border, transparent)`,borderRadius:"var(--radius-xl)",padding:"var(--space-lg, 48px)",margin:0,display:"flex",flexDirection:"column",gap:"var(--space-md, 32px)","--color-fg":`var(--surface-${t}-fg)`,"--color-fg-muted":`var(--surface-${t}-fg-muted, var(--surface-${t}-fg))`};return(0,l.jsxs)("figure",{"data-emphasis":t,style:a,children:[(0,l.jsx)("blockquote",{style:{margin:0,padding:0,fontFamily:"var(--font-sans)",fontSize:"var(--type-body)",lineHeight:1.6,color:"var(--color-fg)",fontStyle:"normal"},children:e.quote}),(e.name??e.title)&&(0,l.jsxs)("figcaption",{style:{display:"flex",flexDirection:"column",gap:"var(--space-xs, 4px)",marginTop:"auto"},children:[e.name&&(0,l.jsx)("span",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-emphasis, 600)",lineHeight:1.3,color:"var(--color-fg)"},children:e.name}),e.title&&(0,l.jsx)("span",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body-sm)",lineHeight:1.3,color:"var(--color-fg-muted)"},children:e.title})]})]})}let mr=em.z.object({name:em.z.string().min(1),description:em.z.string().optional(),status:em.z.enum(["live","coming-soon"]),action:pg.ActionSchema.optional(),thumbnail:em.z.string().optional(),emphasis:u5.Emphasis.optional(),backgroundImage:em.z.string().optional()});function mn({data:e,atomId:t}){let a=e.emphasis??"normal",r=(0,T.useClientConfig)().theme.surfaces[a],{onClick:n}=(0,uD.useTriggerHandler)(e.action,t,null),o={"--surface-accent":`var(--surface-${a}-accent)`,"--surface-fg-muted":`var(--surface-${a}-fg-muted, var(--color-fg-muted))`,"--color-fg":`var(--surface-${a}-fg)`,"--color-fg-muted":`var(--surface-${a}-fg-muted, var(--color-fg-muted))`,background:e.backgroundImage?`linear-gradient(135deg, rgba(13,13,14,0.9) 0%, rgba(28,18,40,0.66) 52%, rgba(255,0,72,0.45) 100%), url('${e.backgroundImage}')`:`var(--surface-${a}-bg)`,backgroundSize:e.backgroundImage?"cover":void 0,backgroundPosition:e.backgroundImage?"center":void 0,minHeight:e.backgroundImage?"320px":void 0,color:`var(--surface-${a}-fg)`,border:`var(--surface-${a}-border, none)`,boxShadow:`var(--surface-${a}-shadow)`,borderRadius:"var(--radius-xl)",overflow:"hidden",display:"flex",flexDirection:"column",height:"100%"};return(0,l.jsx)(om.SurfaceContextProvider,{contrast:r.contrast,children:(0,l.jsxs)("div",{"data-atom-kind":"customer-card","data-atom-id":t,"data-emphasis":a,style:o,children:[e.thumbnail?(0,l.jsx)("img",{src:e.thumbnail,alt:e.name,style:{display:"block",width:"100%",aspectRatio:"16 / 9",objectFit:"cover"}}):null,(0,l.jsxs)("div",{style:{flex:1,padding:"var(--space-md, 24px)",display:"flex",flexDirection:"column",gap:"var(--space-xs, 8px)"},children:[(0,l.jsx)(mo,{status:e.status}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h3)",fontWeight:700,margin:0,color:"var(--color-fg)"},children:e.name}),e.description?(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",color:"var(--color-fg-muted)",margin:0},children:e.description}):null,n?(0,l.jsx)("div",{style:{marginTop:e.backgroundImage?"auto":void 0,paddingTop:"var(--space-sm, 12px)"},children:(0,l.jsx)("button",{type:"button","data-customer-card-action":!0,onClick:n,style:{fontSize:"var(--type-body-sm)",fontWeight:600,color:"var(--surface-accent)",background:"none",border:"none",padding:0,cursor:"pointer",display:"inline-flex",alignItems:"center",gap:"var(--space-xs, 4px)"},className:"focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",children:"See Live →"})}):null]})]})})}function mo({status:e}){return"live"===e?(0,l.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:"var(--space-xs, 6px)",fontSize:"var(--type-meta)",fontWeight:700,letterSpacing:"0.08em",color:"var(--color-fg)",background:"color-mix(in srgb, var(--color-accent-500) 12%, transparent)",borderRadius:"var(--radius-full, 9999px)",padding:"calc(var(--space-xs, 6px) / 2) var(--space-sm, 12px)",width:"fit-content"},children:[(0,l.jsx)("span",{"aria-hidden":"true",style:{display:"inline-block",width:"0.5rem",height:"0.5rem",borderRadius:"var(--radius-full, 9999px)",background:"var(--color-accent-500)",flexShrink:0}}),"LIVE"]}):(0,l.jsx)("span",{style:{display:"inline-flex",alignItems:"center",fontSize:"var(--type-meta)",fontWeight:600,letterSpacing:"0.08em",color:"var(--color-fg-muted)",background:"color-mix(in srgb, var(--color-fg-muted) 8%, transparent)",borderRadius:"var(--radius-full, 9999px)",padding:"calc(var(--space-xs, 6px) / 2) var(--space-sm, 
2312px)",width:"fit-content"},children:"COMING SOON"})}let mi={globe:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,l.jsx)("path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}),(0,l.jsx)("path",{d:"M2 12h20"})]}),"pie-chart":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z"}),(0,l.jsx)("path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83"})]}),heart:()=>(0,l.jsx)("path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"}),"heart-pulse":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"}),(0,l.jsx)("path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27"})]}),wallet:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1"}),(0,l.jsx)("path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4"})]}),house:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"}),(0,l.jsx)("path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"})]}),palmtree:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M13 8c0-2.76-2.46-5-5.5-5S2 5.24 2 8h2l1-1 1 1h4"}),(0,l.jsx)("path",{d:"M13 7.14A5.82 5.82 0 0 1 16.5 6c3.04 0 5.5 2.24 5.5 5h-3l-1-1-1 1h-3"}),(0,l.jsx)("path",{d:"M5.89 9.71c-2.15 2.15-2.3 5.47-.35 7.43l4.24-4.25.7-.7.71-.71 2.12-2.12c-1.95-1.96-5.27-1.8-7.42.35"}),(0,l.jsx)("path",{d:"M11 15.5c.5 2.5-.17 4.5-1 6.5h4c2-5.5-.5-12-1-14"})]}),"trending-up":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M16 7h6v6"}),(0,l.jsx)("path",{d:"m22 7-8.5 8.5-5-5L2 17"})]}),users:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),(0,l.jsx)("path",{d:"M16 3.128a4 4 0 0 1 0 7.744"}),(0,l.jsx)("path",{d:"M22 21v-2a4 4 0 0 0-3-3.87"}),(0,l.jsx)("circle",{cx:"9",cy:"7",r:"4"})]}),"arrow-up":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"m5 12 7-7 7 7"}),(0,l.jsx)("path",{d:"M12 19V5"})]}),"arrow-up-right":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M7 7h10v10"}),(0,l.jsx)("path",{d:"M7 17 17 7"})]}),play:()=>(0,l.jsx)("path",{d:"M6 3l14 9-14 9z"}),"message-circle":()=>(0,l.jsx)("path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z"}),eye:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"}),(0,l.jsx)("circle",{cx:"12",cy:"12",r:"3"})]}),"shield-check":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}),(0,l.jsx)("path",{d:"m9 12 2 2 4-4"})]}),layers:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"}),(0,l.jsx)("path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"}),(0,l.jsx)("path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"})]}),infinity:()=>(0,l.jsx)("path",{d:"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8"}),download:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M12 15V3"}),(0,l.jsx)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,l.jsx)("path",{d:"m7 10 5 5 5-5"})]}),"grid-3x3":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),(0,l.jsx)("path",{d:"M3 9h18"}),(0,l.jsx)("path",{d:"M3 15h18"}),(0,l.jsx)("path",{d:"M9 3v18"}),(0,l.jsx)("path",{d:"M15 3v18"})]}),target:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,l.jsx)("circle",{cx:"12",cy:"12",r:"6"}),(0,l.jsx)("circle",{cx:"12",cy:"12",r:"2"})]}),image:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}),(0,l.jsx)("circle",{cx:"9",cy:"9",r:"2"}),(0,l.jsx)("path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"})]}),"circle-check":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,l.jsx)("path",{d:"m9 12 2 2 4-4"})]}),zap:()=>(0,l.jsx)("path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"}),"bar-chart-3":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M3 3v16a2 2 0 0 0 2 2h16"}),(0,l.jsx)("path",{d:"M18 17V9"}),(0,l.jsx)("path",{d:"M13 17V5"}),(0,l.jsx)("path",{d:"M8 17v-3"})]}),"chevron-left":()=>(0,l.jsx)("path",{d:"m15 18-6-6 6-6"}),"chevron-right":()=>(0,l.jsx)("path",{d:"m9 18 6-6-6-6"}),"chevron-down":()=>(0,l.jsx)("path",{d:"m6 9 6 6 6-6"}),cpu:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M12 20v2"}),(0,l.jsx)("path",{d:"M12 2v2"}),(0,l.jsx)("path",{d:"M17 20v2"}),(0,l.jsx)("path",{d:"M17 2v2"}),(0,l.jsx)("path",{d:"M2 12h2"}),(0,l.jsx)("path",{d:"M2 17h2"}),(0,l.jsx)("path",{d:"M2 7h2"}),(0,l.jsx)("path",{d:"M20 12h2"}),(0,l.jsx)("path",{d:"M20 17h2"}),(0,l.jsx)("path",{d:"M20 7h2"}),(0,l.jsx)("path",{d:"M7 20v2"}),(0,l.jsx)("path",{d:"M7 2v2"}),(0,l.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}
23),(0,l.jsx)("rect",{x:"8",y:"8",width:"8",height:"8",rx:"1"})]}),binary:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("rect",{x:"14",y:"14",width:"4",height:"6",rx:"2"}),(0,l.jsx)("rect",{x:"6",y:"4",width:"4",height:"6",rx:"2"}),(0,l.jsx)("path",{d:"M6 20h4"}),(0,l.jsx)("path",{d:"M14 10h4"}),(0,l.jsx)("path",{d:"M6 14h2v6"}),(0,l.jsx)("path",{d:"M14 4h2v6"})]}),bot:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M12 8V4H8"}),(0,l.jsx)("rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}),(0,l.jsx)("path",{d:"M2 14h2"}),(0,l.jsx)("path",{d:"M20 14h2"}),(0,l.jsx)("path",{d:"M15 13v2"}),(0,l.jsx)("path",{d:"M9 13v2"})]}),castle:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M22 20v-9H2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2Z"}),(0,l.jsx)("path",{d:"M18 11V4H6v7"}),(0,l.jsx)("path",{d:"M15 22v-4a3 3 0 0 0-3-3a3 3 0 0 0-3 3v4"}),(0,l.jsx)("path",{d:"M22 11V9"}),(0,l.jsx)("path",{d:"M2 11V9"}),(0,l.jsx)("path",{d:"M6 4V2"}),(0,l.jsx)("path",{d:"M18 4V2"}),(0,l.jsx)("path",{d:"M10 4V2"}),(0,l.jsx)("path",{d:"M14 4V2"})]}),monitor:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("rect",{width:"20",height:"14",x:"2",y:"3",rx:"2"}),(0,l.jsx)("line",{x1:"8",x2:"16",y1:"21",y2:"21"}),(0,l.jsx)("line",{x1:"12",x2:"12",y1:"17",y2:"21"})]}),sparkles:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"}),(0,l.jsx)("path",{d:"M20 3v4"}),(0,l.jsx)("path",{d:"M22 5h-4"}),(0,l.jsx)("path",{d:"M4 17v2"}),(0,l.jsx)("path",{d:"M5 18H3"})]}),search:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"m21 21-4.34-4.34"}),(0,l.jsx)("circle",{cx:"11",cy:"11",r:"8"})]}),"file-text":()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z"}),(0,l.jsx)("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"}),(0,l.jsx)("path",{d:"M10 9H8"}),(0,l.jsx)("path",{d:"M16 13H8"}),(0,l.jsx)("path",{d:"M16 17H8"})]}),radio:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9"}),(0,l.jsx)("path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5"}),(0,l.jsx)("circle",{cx:"12",cy:"12",r:"2"}),(0,l.jsx)("path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47"}),(0,l.jsx)("path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1"}),(0,l.jsx)("path",{d:"M9.5 18h5"}),(0,l.jsx)("path",{d:"m8 22 4-11 4 11"})]}),user:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),(0,l.jsx)("circle",{cx:"12",cy:"7",r:"4"})]})};function ms({name:e,size:t=24,title:a,style:r}){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",role:a?"img":void 0,"aria-label":a,"aria-hidden":!a||void 0,style:{flexShrink:0,...r},children:[a?(0,l.jsx)("title",{children:a}):null,mi[e]()]})}let ml=em.z.object({title:em.z.string().min(1),category:em.z.string().min(1),minRead:em.z.number().int().positive(),icon:em.z.string().min(1),tint:em.z.enum(["charcoal","forest","taupe","blue-sand","periwinkle","amber","lime","pink","neutral"]).optional(),description:em.z.string().optional(),imageUrl:em.z.string().optional(),imageAlt:em.z.string().optional(),badge:em.z.string().optional(),emphasis:u5.Emphasis.optional(),action:pg.ActionSchema.optional()}),mc={charcoal:"linear-gradient(135deg, #2a2a28, #161512)",forest:"linear-gradient(135deg, #1f3b2a, #0d2418)",taupe:"linear-gradient(135deg, #cdbfb0, #e2d6c8)","blue-sand":"linear-gradient(135deg, #8fb4e8, #c9c2a8)",periwinkle:"linear-gradient(135deg, #9db4e8, #c9a8e0)",amber:"linear-gradient(135deg, #f0a93c, #e8c23c)",lime:"linear-gradient(135deg, #d3e87f, #7fc15a)",pink:"linear-gradient(135deg, #f0b9c9, #c9a8e0)",neutral:"linear-gradient(135deg, #dcd6cb, #b8b0a0)"},md=new Set(["charcoal","forest"]),mu="focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2";function mp(){return(0,l.jsxs)(l.Fragment,{children:["Read",(0,l.jsx)("span",{"aria-hidden":"true",style:{display:"inline-flex"},children:(0,l.jsx)(ms,{name:"arrow-up-right",size:15})})]})}function mm({data:e,atomId:t,href:a}){let r="featured"===e.emphasis,{onClick:n}=(0,uD.useTriggerHandler)(e.action,t,null),{Link:o}=(0,ei.useQueenNavigation)(),i={display:"flex",flexDirection:"column",background:r?"#1b1a18":"var(--color-bg-subtle)",border:`1px solid ${r?"#2c2b29":"var(--color-border)"}`,borderRadius:"22px",overflow:"hidden"},s=r?"linear-gradient(135deg, #2a2a28, #161512)":mc[e.tint??"neutral"],c=r||e.tint&&md.has(e.tint)?"#5f8a6f":"rgba(39,38,38,0.45)",d={marginTop:"auto",alignSelf:"flex-start",display:"inline-flex",alignItems:"center",gap:"7px",background:r?"var(--color-bg)":"var(--color-button-bg)",color:r?"var(--color-fg)":"var(--color-button-text)",border:"none",borderRadius:"var(--radius-full, 999px)",padding:"11px 20px",cursor:"pointer",fontFamily:"var(--font-sans)",fontWeight:"var(--font-weight-default)",fontSize:"var(--type-body-sm)"};return(0,l.jsxs)("div",{"data-atom-kind":"resource-tile","data-atom-id":t,"data-emphasis":r?"featured":"normal","data-tint":e.tint??void 0,style:i,children:[(0,l.jsxs)("div",{style:{position:"relative",aspectRatio:"16 / 10",background:s,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},children:[e.imageUrl?(0,l.jsx)("img",{src:e.imageUrl,alt:e.imageAlt??"",loading:"lazy",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover"}}):null,e.badge?(0,l.jsx)("span",{style:{position:"absolute",top:"16px",left:"16px",display:"inline-flex",alignItems:"center",fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.12em",textTransform:"uppercase",color:"var(--color-bg)",background:"var(--color-brand-500)",borderRadius:"var(--radius-full, 999px)",padding:"5px 11px"},children:e.badge}):r?(0,l.jsxs)("span",{style:{position:"absolute",top:"16px",left:"16px",display:"inline-flex",alignItems:"center",gap:"6px",fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.12em",textTransform:"uppercase",color:"var(--color-bg)",background:"var(--color-brand-500)",borderRadius:"var(--radius-full, 999px)",padding:"5px 11px"},children:[(0,l.jsx)("span",{"aria-hidden":"true",style:{width:"6px",height:"6px",borderRadius:"50%",background:"var(--color-bg)"}}),"Latest:"]}):null,e.imageUrl?null:(0,l.jsx)("span",{"aria-hidden":"true",style:{color:c},children:(0,l.jsx)(ms,{name:e.icon,size:30})})]}),(0,l.jsxs)("div",{style:{padding:"26px",flex:1,display:"flex",flexDirection:"column"},children:[(0,l.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.1em",textTransform:"uppercase",color:"var(--color-fg-muted)"},children:[e.minRead," min read · ",e.category]}),(0,l.jsx)("h3",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",letterSpacing:"-0.02em",lineHeight:1.18,margin:"14px 0 0",color:r?"var(--color-bg)":"var(--color-fg)"},children:e.title}),e.description?(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body-sm)",lineHeight:1.55,margin:"10px 0 20px",color:r?"color-mix(in srgb, var(--color-bg) 62%, transparent)":"var(--color-fg-body)",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:4,overflow:"hidden"},children:e.description}):null,a?(0,ei.isInternalHref)(a)?(0,l.jsx)(o,{href:a,"data-resource-tile-read":!0,style:d,className:`no-underline ${mu}`,children:(0,l.jsx)(mp,{})}):(0,l.jsx)("a",{href:a,"data-resource-tile-read":!0,style:d,className:`no-underline ${mu}`,children:(0,l.jsx)(mp,{})}):n?(0,l.jsx)("button",{type:"button","data-resource-tile-action":!0,"data-resource-tile-read":!0,onClick:n,style:d,className:mu,children:(0,l.jsx)(mp,{})}):null]})]})}var mh=e.i(28673);let mg={backgroundColor:"rgba(255, 255, 255, 0.18)",backdropFilter:"blur(20px) saturate(1.35)",WebkitBackdropFilter:"blur(20px) saturate(1.35)",border:"1px solid rgba(255, 255, 255, 0.45)",boxShadow:"0 6px 18px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5)"},mf=`
24[data-knotch-logo-mark] .hb-state {
25  position: absolute;
26  inset: 0;
27  display: flex;
28  align-items: center;
29  justify-content: center;
30  transition:
31    opacity 0.32s cubic-bezier(0.4, 0, 0, 1),
32    transform 0.42s cubic-bezier(0.34, 1.42, 0.5, 1);
33}
34[data-knotch-logo-mark] .hb-state-logo { opacity: 1; transform: scale(1) rotate(0deg); }
35[data-knotch-logo-mark] .hb-state-home { opacity: 0; transform: scale(0.5) rotate(-18deg); }
36[data-knotch-logo-mark]:hover .hb-state-logo { opacity: 0; transform: scale(0.5) rotate(18deg); }
37[data-knotch-logo-mark]:hover .hb-state-home { opacity: 1; transform: scale(1) rotate(0deg); }
38@media (prefers-reduced-motion: reduce) {
39  [data-knotch-logo-mark] .hb-state {
40    transition: opacity 0.2s ease;
41    transform: none !important;
42  }
43}
44`;function my({href:e="/"}){let{Link:t}=(0,ei.useQueenNavigation)(),a=(0,l.jsxs)("span",{"data-knotch-logo-mark":"",className:"relative inline-flex shrink-0 items-center justify-center",style:{...mg,width:"56px",height:"56px",borderRadius:"var(--radius-full, 9999px)",position:"relative"},children:[(0,l.jsx)("style",{children:mf}),(0,l.jsx)("span",{className:"hb-state hb-state-logo","aria-hidden":"true",children:(0,l.jsx)("svg",{viewBox:"0 0 60 68",width:"26",height:"29",f
44ill:"none",role:"img",children:(0,l.jsx)("path",{d:"M30 0C31.0749 11.2895 38.5314 33.8232 59.75 33.999H60C59.9583 33.999 59.9166 33.9998 59.875 34C59.9166 34.0002 59.9583 34.001 60 34.001H59.751C38.5317 34.1761 31.0749 56.7103 30 68C28.9251 56.7103 21.4683 34.1761 0.249023 34.001H0C0.0413946 34.001 0.0827327 34.0002 0.124023 34C0.0827327 33.9998 0.0413946 33.999 0 33.999H0.25C21.4686 33.8232 28.9251 11.2895 30 0Z",fill:"var(--color-accent-500, #ff0048)"})})}),(0,l.jsx)("span",{className:"hb-state hb-state-home","aria-hidden":"true",style:{color:"var(--color-accent-500, #ff0048)"},children:(0,l.jsxs)("svg",{viewBox:"0 0 24 24",width:"22",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,l.jsx)("path",{d:"M3 11.5 12 3l9 8.5"}),(0,l.jsx)("path",{d:"M5 10v10h5v-6h4v6h5V10"})]})})]}),r={display:"inline-flex"};return(0,ei.isInternalHref)(e)?(0,l.jsx)(t,{href:e,"aria-label":"Knotch home",style:r,children:a}):(0,l.jsx)("a",{href:e,"aria-label":"Knotch home",style:r,children:a})}let mv="kmm-item flex flex-col items-start gap-[2px] rounded-[17px] px-[18px] pt-[10px] pb-[11px] text-left no-underline transition-colors motion-reduce:transition-none",mb={fontFamily:"var(--font-sans)",fontSize:"14.5px",fontWeight:"var(--font-weight-emphasis, 500)",color:"var(--color-fg)"},mx={fontFamily:"var(--font-mono)",fontSize:"11px",fontWeight:400,color:"color-mix(in srgb, var(--color-fg) 45%, transparent)",lineHeight:1.4};function mw({index:e,title:t,description:a,href:r,isOn:n}){let{Link:o}=(0,ei.useQueenNavigation)(),[i,s]=(0,eu.useState)(!1),c={"--i":e,backgroundColor:n||i?"rgba(26, 26, 26, 0.1)":"transparent"},d={onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),onFocus:()=>s(!0),onBlur:()=>s(!1)},u=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{style:mb,children:t}),(0,l.jsx)("span",{style:mx,children:a})]});return(0,ei.isInternalHref)(r)?(0,l.jsx)(o,{href:r,className:mv,style:c,"aria-current":n?"page":void 0,...d,children:u}):(0,l.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:mv,style:c,...d,children:u})}function mk({activeTab:e,currentPath:t}){return(0,l.jsx)(l.Fragment,{children:e.items.map((e,a)=>(0,l.jsx)(mw,{index:a,title:e.title,description:e.description,href:e.href,isOn:e.href===t},e.href))})}let m_="__persona__",mj=eu.useLayoutEffect,mS={...mg,borderRadius:"28px",padding:"5px",gap:"2px",display:"flex",flexWrap:"wrap",alignItems:"center"},mC={backgroundColor:"rgba(255, 255, 255, 0.34)",boxShadow:"0 18px 50px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55)"},mI="inline-flex min-h-[48px] items-center justify-center rounded-[var(--radius-full,9999px)] px-[20px] uppercase no-underline transition-colors motion-reduce:transition-none",mN={fontFamily:"var(--font-mono)",fontSize:"11px",fontWeight:"var(--font-weight-default, 500)",letterSpacing:"1.2px"};function mA(e,t){let a="color-mix(in srgb, var(--color-fg) 55%, transparent)",r="transparent";return e?(a="var(--color-fg)",r="rgba(26, 26, 26, 0.1)"):t&&(a="var(--color-fg)",r="rgba(26, 26, 26, 0.045)"),{...mN,color:a,backgroundColor:r}}function mE(e){return e.split("/")[1]??""}function mT({label:e,href:t}){let{Link:a}=(0,ei.useQueenNavigation)(),r=mA(!1,!1);return(0,ei.isInternalHref)(t)?(0,l.jsx)(a,{href:t,className:mI,style:r,children:e}):(0,l.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:mI,style:r,children:e})}function mP({tab:e,current:t,onHover:a}){let{Link:r}=(0,ei.useQueenNavigation)(),n=mA(t,!1),o={"aria-current":t?"page":void 0};return(0,ei.isInternalHref)(e.href)?(0,l.jsx)(r,{href:e.href,className:mI,style:n,onMouseEnter:a,onFocus:a,...o,children:e.label}):(0,l.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:mI,style:n,onMouseEnter:a,onFocus:a,...o,children:e.label})}function mz({current:e,onHover:t}){let{Link:a}=(0,ei.useQueenNavigation)(),r=(0,$.useConversationOptional)()?.turns,n=(0,eu.useMemo)(()=>(r??[]).filter(e=>"cold-start"!==e.source&&!!e.message?.trim()&&!e.cancelled&&e.section_ids.length>0).length,[r]);return 0===n?null:(0,l.jsxs)(a,{href:"/recap","data-recap-chip":"",className:mI,style:mA(e,!1),onMouseEnter:t,onFocus:t,"aria-label":`Recap, ${n} ${1===n?"answer":"answers"}`,...e?{"aria-current":"page"}:{},children:[(0,l.jsx)("span",{children:"Recap"}),(0,l.jsx)("sup",{style:{fontSize:"0.72em",marginLeft:"3px",lineHeight:1,color:"var(--color-brand-500)"},children:n})]})}function mR({tab:e,current:t,held:a,pocketId:r,onOpen:n}){let{Link:o}=(0,ei.useQueenNavigation)(),i=mA(t,a),s={"aria-expanded":a,"aria-controls":r,"aria-current":t?"page":void 0};return(0,ei.isInternalHref)(e.href)?(0,l.jsx)(o,{href:e.href,className:mI,style:i,onMouseEnter:n,onFocus:n,...s,children:e.label}):(0,l.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:mI,style:i,onMouseEnter:n,onFocus:n,...s,children:e.label})}let mL=`
45.kmm-inner .kmm-item {
46  opacity: 0;
47  transform: translateY(-8px);
48  filter: blur(3px);
49  transition:
50    opacity 0.4s cubic-bezier(0.4, 0, 0, 1),
51    transform 0.55s cubic-bezier(0.26, 1.2, 0.32, 1),
52    filter 0.4s cubic-bezier(0.4, 0, 0, 1),
53    background-color 0.2s ease;
54  transition-delay: calc(0.05s + var(--i, 0) * 0.045s);
55}
56.kmm-inner.kmm-in .kmm-item {
57  opacity: 1;
58  transform: none;
59  filter: blur(0);
60}
61@media (prefers-reduced-motion: reduce) {
62  .kmm-inner .kmm-item {
63    opacity: 1;
64    transform: none;
65    filter: none;
66    transition: background-color 0.2s ease;
67    transition-delay: 0s;
68  }
69}
70/* Persona chip — the active-persona coral pulse dot (prototype .ind-dot +
71   ace-pulse). Coral is the brand accent token, never a hardcoded hex. The dot
72   only renders when a persona is active (gated in JSX). */
73@keyframes knp-pulse {
74  0%, 100% { opacity: 1; }
75  50% { opacity: 0.4; }
76}
77.knp-dot {
78  width: 7px;
79  height: 7px;
80  border-radius: 50%;
81  background: var(--color-accent-500);
82  flex: 0 0 auto;
83  animation: knp-pulse 1.6s ease-in-out infinite;
84}
85@media (prefers-reduced-motion: reduce) {
86  .knp-dot { animation: none; }
87}
88`;function mO({open:e,activeLabel:t,placeholder:a,pocketId:r,busy:n,onOpen:o,onToggle:i}){let s=null!==t,c={...mN,display:"inline-flex",alignItems:"center",gap:"8px",color:s?"var(--color-accent-500)":"color-mix(in srgb, var(--color-fg) 55%, transparent)",backgroundColor:e?"rgba(26, 26, 26, 0.045)":"transparent"};return(0,l.jsxs)("button",{type:"button","aria-haspopup":"listbox","aria-expanded":e,"aria-controls":r,"aria-busy":n,className:mI,style:c,onMouseEnter:o,onFocus:o,onClick:i,children:[s?(0,l.jsx)("span",{className:"knp-dot","aria-hidden":"true"}):null,(0,l.jsx)("span",{style:{whiteSpace:"nowrap"},children:t??a}),(0,l.jsx)("svg",{viewBox:"0 0 12 8",width:"11",height:"7",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:{flex:"0 0 auto",opacity:s?.9:.55},children:(0,l.jsx)("polyline",{points:"1.5 2.5 6 6.5 10.5 2.5"})})]})}function mM(e){return{display:"flex",alignItems:"flex-start",textAlign:"left",padding:"9px 18px",borderRadius:"17px",border:"none",cursor:"pointer",background:e?"color-mix(in srgb, var(--color-accent-500) 10%, transparent)":"transparent",color:e?"var(--color-accent-500)":"var(--color-fg)"}}let mH={padding:"7px 16px 9px",fontFamily:"var(--font-mono)",fontSize:"10px",letterSpacing:"1.6px",textTransform:"uppercase",color:"color-mix(in srgb, var(--color-fg) 40%, transparent)"};function mD({tabs:e,links:t,personaPlaceholder:a="What's your role?"}){let[r,n]=(0,eu.useState)(null),[o,i]=(0,eu.useState)(0),[s,c]=(0,eu.useState)(!1),d=(0,eu.useId)(),u=(0,eu.useRef)(null),p=(0,eu.useRef)(null);null!==r&&r!==m_&&(p.current=r);let{personas:m,activePersonaId:h,switchPersona:g,clearPersona:f,switchBusy:y}=(0,R.useActivePersona)(),[v,b]=(0,eu.useState)(0),[x,w]=(0,eu.useState)(!1),k=(0,eu.useId)(),_=(0,eu.useRef)(null),j=r===m_,S=m.length>=2,C=m.find(e=>e.id===h)??null,{currentPath:I}=(0,ei.useQueenNavigation)(),N=mE(I),A=null!==r;if((0,eu.useEffect)(()=>
88{if(!A)return;let e=e=>{"Escape"===e.key&&n(null)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[A]),mj(()=>{if(null===r||r===m_){i(0),c(!1);return}let e=u.current;if(!e)return;i(e.scrollHeight);let t=requestAnimationFrame(()=>c(!0));return()=>cancelAnimationFrame(t)},[r]),mj(()=>{if(r!==m_){b(0),w(!1);return}let e=_.current;if(!e)return;b(e.scrollHeight);let t=requestAnimationFrame(()=>w(!0));return()=>cancelAnimationFrame(t)},[r]),e.length>0){let t=r??p.current??e[0].key,i=e.find(e=>e.key===t)??e[0];return(0,l.jsxs)("nav",{"aria-label":"Main navigation",className:"hidden md:block",onMouseLeave:()=>n(null),children:[(0,l.jsx)("style",{children:mL}),(0,l.jsxs)("div",{style:{...mS,...A?mC:null,transition:"background 0.45s ease, box-shadow 0.45s ease"},children:[e.map(e=>{let t=""!==N&&mE(e.href)===N;return 0===e.items.length?(0,l.jsx)(mP,{tab:e,current:t,onHover:()=>n(null)},e.key):(0,l.jsx)(mR,{tab:e,current:t,held:r===e.key,pocketId:d,onOpen:()=>n(e.key)},e.key)}),(0,l.jsx)(mz,{current:"recap"===N,onHover:()=>n(null)}),S?(0,l.jsx)(mO,{open:j,activeLabel:C?C.label:null,placeholder:a,pocketId:k,busy:y,onOpen:()=>n(m_),onToggle:()=>n(e=>e===m_?null:m_)}):null,(0,l.jsx)("div",{id:d,style:{flex:"1 0 100%",height:`${o}px`,overflow:"hidden",containerType:"inline-size",transition:"height 0.6s cubic-bezier(0.3, 1.16, 0.34, 1)",willChange:"height"},className:"motion-reduce:transition-none",children:(0,l.jsx)("div",{ref:u,className:`kmm-inner flex flex-col gap-[2px]${s?" kmm-in":""}`,style:{padding:A?"8px 4px 6px":"0 4px"},children:(0,l.jsx)(mk,{activeTab:i,currentPath:I})})}),S?(0,l.jsx)("div",{id:k,style:{flex:"1 0 100%",height:`${v}px`,overflow:"hidden",containerType:"inline-size",transition:"height 0.6s cubic-bezier(0.3, 1.16, 0.34, 1)",willChange:"height"},className:"motion-reduce:transition-none",children:(0,l.jsxs)("div",{ref:_,className:`kmm-inner flex flex-col gap-[2px]${x?" kmm-in":""}`,style:{padding:j?"8px 4px 6px":"0 4px"},children:[(0,l.jsx)("div",{className:"kmm-item",style:mH,children:"Pick your persona — Ace recomposes the page"}),(0,l.jsx)("div",{role:"listbox","aria-label":"Select persona",className:"flex flex-col gap-[2px]",children:m.map((e,t)=>(0,l.jsx)("button",{type:"button",role:"option","aria-selected":e.id===h,className:"kmm-item",style:{...mM(e.id===h),"--i":String(t+1)},onClick:()=>{g(e.id),n(null)},children:(0,l.jsx)("span",{style:{fontFamily:"var(--font-sans)",fontSize:"14.5px",fontWeight:"var(--font-weight-emphasis, 500)"},children:e.label})},e.id))}),C?(0,l.jsx)("button",{type:"button","aria-label":"Clear persona selection",className:"kmm-item",style:{...mM(!1),color:"var(--color-accent-500)","--i":String(m.length+1)},onClick:()=>{f(),n(null)},children:(0,l.jsx)("span",{style:{fontFamily:"var(--font-sans)",fontSize:"14.5px",fontWeight:"var(--font-weight-emphasis, 500)"},children:"Clear"})},"__clear"):null]})}):null]})]})}return 0===t.length?null:(0,l.jsx)("nav",{"aria-label":"Main navigation",className:"hidden items-center md:flex",style:mS,children:t.map(e=>(0,l.jsx)(mT,{label:e.label,href:e.href},`${e.label}:${e.href}`))})}function mq(){return(0,l.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"shrink-0",children:[(0,l.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,l.jsx)("polyline",{points:"12 5 19 12 12 19"})]})}function mW({label:e,href:t}){let{open:a}=(0,U.useDemoForm)();return(0,l.jsxs)("button",{type:"button",onClick:()=>a(),className:"inline-flex items-center justify-center whitespace-nowrap",style:{height:"56px",padding:"0 18px",gap:"7px",borderRadius:"var(--radius-full, 9999px)",backgroundColor:"var(--color-button-bg, #1a1a1a)",color:"var(--color-button-text, #ffffff)",boxShadow:"0 4px 14px rgba(0, 0, 0, 0.18)",border:"none",cursor:"pointer",fontFamily:"var(--font-mono)",fontSize:"11px",fontWeight:"var(--font-weight-default, 500)",letterSpacing:"1.5px",textTransform:"uppercase",textDecoration:"none"},children:[(0,l.jsx)("span",{children:e}),(0,l.jsx)(mq,{})]})}let m$=eu.useLayoutEffect,mU="__menu__",mF="__persona__",mB={...mg,borderRadius:"28px",padding:"5px",display:"flex",flexDirection:"column"},mG={backgroundColor:"rgba(255, 255, 255, 0.34)",boxShadow:"0 18px 50px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55)"},mK={fontFamily:"var(--font-mono)",fontSize:"11px",fontWeight:"var(--font-weight-default, 500)",letterSpacing:"1.2px"},mV={padding:"7px 16px 9px",fontFamily:"var(--font-mono)",fontSize:"10px",letterSpacing:"1.6px",textTransform:"uppercase",color:"color-mix(in srgb, var(--color-fg) 40%, transparent)"},mZ=`
89.kmm-inner .kmm-item {
90  opacity: 0;
91  transform: translateY(-8px);
92  filter: blur(3px);
93  transition:
94    opacity 0.4s cubic-bezier(0.4, 0, 0, 1),
95    transform 0.55s cubic-bezier(0.26, 1.2, 0.32, 1),
96    filter 0.4s cubic-bezier(0.4, 0, 0, 1),
97    background-color 0.2s ease;
98  transition-delay: calc(0.05s + var(--i, 0) * 0.045s);
99}
100.kmm-inner.kmm-in .kmm-item {
101  opacity: 1;
102  transform: none;
103  filter: blur(0);
104}
105@keyframes knp-pulse {
106  0%, 100% { opacity: 1; }
107  50% { opacity: 0.4; }
108}
109.knp-dot {
110  width: 7px;
111  height: 7px;
112  border-radius: 50%;
113  background: var(--color-accent-500);
114  flex: 0 0 auto;
115  animation: knp-pulse 1.6s ease-in-out infinite;
116}
117@media (prefers-reduced-motion: reduce) {
118  .kmm-inner .kmm-item {
119    opacity: 1;
120    transform: none;
121    filter: none;
122    transition: background-color 0.2s ease;
123    transition-delay: 0s;
124  }
125  .knp-dot { animation: none; }
126}
127`;function mY(e){return e.split("/")[1]??""}
127function mJ({ariaLabel:e,ariaExpanded:t,ariaControls:a,onClick:r,children:n}){return(0,l.jsx)("button",{type:"button","aria-label":e,"aria-expanded":t,"aria-controls":a,onClick:r,className:"inline-flex h-11 w-11 shrink-0 cursor-pointer items-center justify-center rounded-[var(--radius-full,9999px)]",style:{backgroundColor:"rgba(26, 26, 26, 0.05)",border:"none",color:"var(--color-fg)"},children:n})}function mX({open:e,activeLabel:t,placeholder:a,pocketId:r,busy:n,onToggle:o}){let i=null!==t;return(0,l.jsxs)("button",{type:"button","aria-haspopup":"listbox","aria-expanded":e,"aria-controls":r,"aria-busy":n,onClick:o,className:"inline-flex min-h-11 items-center gap-[8px] rounded-[var(--radius-full,9999px)] px-[18px] uppercase",style:{...mK,backgroundColor:e?"rgba(26, 26, 26, 0.07)":"rgba(26, 26, 26, 0.05)",border:"none",cursor:"pointer",color:i?"var(--color-accent-500)":"color-mix(in srgb, var(--color-fg) 60%, transparent)",whiteSpace:"nowrap"},children:[i?(0,l.jsx)("span",{className:"knp-dot","aria-hidden":"true"}):null,(0,l.jsx)("span",{children:t??a}),(0,l.jsx)("svg",{viewBox:"0 0 12 8",width:"11",height:"7",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:{flex:"0 0 auto",opacity:i?.9:.55},children:(0,l.jsx)("polyline",{points:"1.5 2.5 6 6.5 10.5 2.5"})})]})}function mQ(){let{navigate:e}=(0,ei.useQueenNavigation)(),t=(0,$.useConversationOptional)()?.turns,a=(0,eu.useMemo)(()=>(t??[]).filter(e=>"cold-start"!==e.source&&!!e.message?.trim()&&!e.cancelled&&e.section_ids.length>0).length,[t]);return 0===a?null:(0,l.jsxs)("span",{"data-recap-chip":"",className:"relative inline-flex",children:[(0,l.jsx)(mJ,{ariaLabel:`Open recap, ${a} ${1===a?"answer":"answers"}`,onClick:()=>e("/recap"),children:(0,l.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,l.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,l.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})}),(0,l.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute -right-0.5 -top-0.5 inline-flex min-w-[16px] items-center justify-center rounded-full px-[4px]",style:{height:"16px",background:"var(--color-brand-500)",color:"var(--color-bg)",fontFamily:"var(--font-mono)",fontSize:"10px",lineHeight:1},children:a})]})}function m0(e){return{display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",padding:"11px 18px",borderRadius:"17px",border:"none",cursor:"pointer",background:e?"color-mix(in srgb, var(--color-accent-500) 10%, transparent)":"transparent",color:e?"var(--color-accent-500)":"var(--color-fg)"}}function m1({index:e,label:t,href:a,current:r}){let{Link:n}=(0,ei.useQueenNavigation)(),o={"--i":String(e),fontFamily:"var(--font-sans)",fontSize:"14.5px",fontWeight:"var(--font-weight-emphasis, 500)",color:"var(--color-fg)",backgroundColor:r?"rgba(26, 26, 26, 0.1)":"transparent"},i="kmm-item flex items-center rounded-[17px] px-[18px] py-[11px] text-left no-underline";return(0,ei.isInternalHref)(a)?(0,l.jsx)(n,{href:a,className:i,style:o,"aria-current":r?"page":void 0,children:t}):(0,l.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:i,style:o,children:t})}function m2({hasLogo:e,tabs:t,links:a,ctas:r,personaPlaceholder:n="What's your role?",className:o}){let{Link:i,currentPath:s}=(0,ei.useQueenNavigation)(),{open:c}=(0,U.useDemoForm)(),{personas:d,activePersonaId:u,switchPersona:p,clearPersona:m,switchBusy:h}=(0,R.useActivePersona)(),[g,f]=(0,eu.useState)(null),[y,v]=(0,eu.useState)(0),[b,x]=(0,eu.useState)(!1),w=(0,eu.useId)(),k=(0,eu.useRef)(null),[_,j]=(0,eu.useState)(0),[S,C]=(0,eu.useState)(!1),I=(0,eu.useId)(),N=(0,eu.useRef)(null),A=(0,eu.useRef)(null),E=g===mU,T=g===mF,P=null!==g,z=d.length>=2,L=d.find(e=>e.id===u)??null,O=mY(s),M=r.find(e=>"phone"!==e.style&&"string"==typeof e.href);(0,eu.useEffect)(()=>{if(!P)return;let e=e=>{"Escape"===e.key&&f(null)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[P]),(0,eu.useEffect)(()=>
127{if(!P)return;let e=e=>{A.current&&!A.current.contains(e.target)&&f(null)};return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e)},[P]),m$(()=>{if(g!==mU){v(0),x(!1);return}let e=k.current;if(!e)return;v(e.scrollHeight);let t=requestAnimationFrame(()=>x(!0));return()=>cancelAnimationFrame(t)},[g]),m$(()=>{if(g!==mF){j(0),C(!1);return}let e=N.current;if(!e)return;j(e.scrollHeight);let t=requestAnimationFrame(()=>C(!0));return()=>cancelAnimationFrame(t)},[g]);let H=0;return(0,l.jsxs)("div",{"data-knotch-mobile-nav":"",className:o,ref:A,children:[(0,l.jsx)("style",{children:mZ}),(0,l.jsxs)("div",{style:{...mB,...P?mG:null,transition:"background 0.45s ease, box-shadow 0.45s ease"},children:[(0,l.jsxs)("div",{className:"grid items-center",style:{gridTemplateColumns:"1fr auto 1fr",gap:"var(--spacing-2, 8px)"},children:[(0,l.jsx)("div",{style:{justifySelf:"start"},children:e?(0,l.jsx)(i,{href:"/","aria-label":"Knotch home",className:"inline-flex shrink-0 px-[10px]",children:(0,l.jsx)("svg",{viewBox:"0 0 60 68",width:"22",height:"25",fill:"none",role:"img","aria-hidden":"true",className:"shrink-0",children:(0,l.jsx)("path",{d:"M30 0C31.0749 11.2895 38.5314 33.8232 59.75 33.999H60C59.9583 33.999 59.9166 33.9998 59.875 34C59.9166 34.0002 59.9583 34.001 60 34.001H59.751C38.5317 34.1761 31.0749 56.7103 30 68C28.9251 56.7103 21.4683 34.1761 0.249023 34.001H0C0.0413946 34.001 0.0827327 34.0002 0.124023 34C0.0827327 33.9998 0.0413946 33.999 0 33.999H0.25C21.4686 33.8232 28.9251 11.2895 30 0Z",fill:"var(--color-accent-500, #ff0048)"})})}):(0,l.jsx)("span",{"aria-hidden":"true"})}),(0,l.jsx)("div",{style:{justifySelf:"center"},children:z?(0,l.jsx)(mX,{open:T,activeLabel:L?L.label:null,placeholder:n,pocketId:I,busy:h,onToggle:()=>f(e=>e===mF?null:mF)}):(0,l.jsx)("span",{"aria-hidden":"true"})}),(0,l.jsxs)("div",{className:"flex items-center",style:{justifySelf:"end",gap:"var(--spacing-2, 8px)"},children:[(0,l.jsx)(mQ,{}),(0,l.jsx)(mJ,{ariaLabel:E?"Close menu":"Open menu",ariaExpanded:E,ariaControls:w,onClick:()=>f(e=>e===mU?null:mU),children:E?(0,l.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,l.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,l.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}):(0,l.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[(0,l.jsx)("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),(0,l.jsx)("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),(0,l.jsx)("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})})]})]}),z?(0,l.jsx)("div",{id:I,style:{height:`${_}px`,overflow:"hidden",transition:"height 0.6s cubic-bezier(0.3, 1.16, 0.34, 1)",willChange:"height"},className:"motion-reduce:transition-none",children:(0,l.jsxs)("div",{ref:N,className:`kmm-inner flex flex-col gap-[2px]${S?" kmm-in":""}`,style:{padding:T?"8px 4px 6px":"0 4px"},children:[(0,l.jsx)("div",{className:"kmm-item",style:{...mV,"--i":"0"},children:"Pick your persona — Ace recomposes the page"}),(0,l.jsx)("div",{role:"listbox","aria-label":"Select persona",className:"flex flex-col gap-[2px]",children:d.map((e,t)=>(0,l.jsx)("button",{type:"button",role:"option","aria-selected":e.id===u,className:"kmm-item",style:{...m0(e.id===u),"--i":String(t+1)},onClick:()=>{p(e.id),f(null)},children:(0,l.jsx)("span",{style:{fontFamily:"var(--font-sans)",fontSize:"16px",fontWeight:500},children:e.label})},e.id))}),L?(0,l.jsx)("button",{type:"button","aria-label":"Clear persona selection",className:"kmm-item",style:{...m0(!1),color:"var(--color-accent-500)","--i":String(d.length+1)},onClick:()=>{m(),f(null)},children:(0,l.jsx)("span",{style:{fontFamily:"var(--font-sans)",fontSize:"16px",fontWeight:500},children:"Clear"})},"__clear"):null]})}):null,(0,l.jsx)("div",{id:w,style:{height:`${y}px`,overflow:"hidden",transition:"height 0.6s cubic-bezier(0.3, 1.16, 0.34, 1)",willChange:"height"},className:"motion-reduce:transition-none",children:(0,l.jsxs)("div",{ref:k,onClick:()=>f(null),className:`kmm-inner flex flex-col gap-[2px]${b?" kmm-in":""}`,style:{padding:E?"8px 4px 10px":"0 4px"},children:[t.length>0?t.map(e=>{let t=""!==O&&mY(e.href)===O;return 0===e.items.length?(0,l.jsx)(m1,{index:H++,label:e.label,href:e.href,current:t},e.key):(0,l.jsxs)("div",{className:"flex flex-col gap-[2px]",children:[(0,l.jsx)("div",{className:"kmm-item",style:{...mV,"--i":String(H++)},children:e.label}),(0,l.jsx)(mk,{activeTab:e,currentPath:s})]},e.key)}):a.map(e=>(0,l.jsx)(m1,{index:H++,label:e.label,href:e.href,current:!1},`${e.label}:${e.href}`)),M?(0,l.jsxs)("button",{type:"button",onClick:()=>c(),className:"kmm-item mt-[var(--spacing-3,12px)] inline-flex w-full items-center justify-center gap-[7px] uppercase",style:{"--i":String(H++),height:"56px",borderRadius:"var(--radius-full, 9999px)",backgroundColor:"var(--color-button-bg, #1a1a1a)",color:"var(--color-button-text, #ffffff)",boxShadow:"0 4px 14px rgba(0, 0, 0, 0.18)",border:"none",cursor:"pointer",fontFamily:"var(--font-mono)",fontSize:"11px",fontWeight:"var(--font-weight-default, 500)",letterSpacing:"1.5px"},children:[(0,l.jsx)("span",{children:M.label}),(0,l.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"shrink-0",children:[(0,l.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,l.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]}):null]})})]})]})}
127let m5="What's your role?",m4={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto",paddingInline:"24px",marginBottom:"100px"},m3=[{heading:"Product",links:[{label:"Ace",href:"/products/ace"},{label:"Knotch One",href:"/products/knotch"}]},{heading:"Explore",links:[{label:"Company",href:"/explore/company"},{label:"Careers",href:"/explore/careers"}]},{heading:"Customers",links:[{label:"Proof",href:"/customers/proof"}]}],m6={color:"var(--color-fg)",fontFamily:"var(--font-sans)",fontSize:"var(--type-body)",textDecoration:"none"},m8="hover:text-[var(--color-accent-500,var(--color-brand-500))]";function m7({label:e,href:t,inheritType:a=!1}){let{Link:r}=(0,ei.useQueenNavigation)(),n=a?{color:"inherit",textDecoration:"none"}:m6;if((0,ei.isInternalHref)(t))return(0,l.jsx)(r,{href:t,style:n,className:m8,children:e});let o="#"!==t;return(0,l.jsx)("a",{href:t,...o?{target:"_blank",rel:"noopener noreferrer"}:{},style:n,className:m8,children:e})}let m9={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"14px 26px",borderRadius:"var(--radius-full, 9999px)",backgroundColor:"var(--color-button-bg, #272626)",color:"var(--color-button-text, #efece5)",border:"none",cursor:"pointer",fontFamily:"var(--font-mono)",fontSize:"12px",fontWeight:"var(--font-weight-default, 500)",letterSpacing:"0.08em",textTransform:"uppercase",textDecoration:"none",whiteSpace:"nowrap"};function he(){let{open:e}=(0,U.useDemoForm)();return(0,l.jsx)("button",{type:"button",onClick:()=>e(),style:m9,className:"hover:bg-[var(--color-button-hover,#000000)]",children:"Get Demo"})}function ht(e,t){let a,r,n;if("string"!=typeof e||"#"!==e[0])return e;if(4===e.length){let t=e.slice(1,2),o=e.slice(2,3),i=e.slice(3,4);a=parseInt(t+t,16),r=parseInt(o+o,16),n=parseInt(i+i,16)}else a=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),n=parseInt(e.slice(5,7),16);return`rgba(${a},${r},${n},${t})`}function ha(e,t,a){for(let a of t){let t=e.getPropertyValue(a).trim();if(t)return t}return a}let hr=[{name:"firstName",label:"First Name",type:"text",required:!0},{name:"lastName",label:"Last Name",type:"text",required:!0},{name:"email",label:"Work Email",type:"email",required:!0},{name:"company",label:"Company name",type:"text",required:!0},{name:"howHeard",label:"How did you hear about Knotch?",type:"textarea",required:!0}],hn=hr.filter(e=>"howHeard"!==e.name),ho=hr.find(e=>"howHeard"===e.name),hi=`
128.kdf-grid {
129  display: grid;
130  grid-template-columns: 1fr 1fr;
131  gap: 12px;
132}
133@media (max-width: 560px) {
134  .kdf-grid { grid-template-columns: 1fr; }
135}
136.kdf-input {
137  background: color-mix(in srgb, var(--kdf-fg) 6%, transparent);
138  border: 1px solid color-mix(in srgb, var(--kdf-fg) 12%, transparent);
139  border-radius: var(--radius-sm, 10px);
140  padding: 12px 14px;
141  font-size: var(--type-body-sm);
142  font-family: var(--font-sans);
143  color: var(--kdf-fg);
144  width: 100%;
145  outline: none;
146  transition: border-color 0.18s ease, background 0.18s ease;
147}
148.kdf-input:focus {
149  border-color: var(--color-brand-500);
150  background: color-mix(in srgb, var(--kdf-fg) 10%, transparent);
151}
152.kdf-input::placeholder {
153  color: color-mix(in srgb, var(--kdf-fg) 30%, transparent);
154}
155textarea.kdf-input {
156  min-height: 96px;
157  resize: vertical;
158  line-height: 1.5;
159}
160.kdf-consent {
161  accent-color: var(--color-brand-500);
162  width: 16px;
163  height: 16px;
164  flex: 0 0 auto;
165  margin-top: 2px;
166  cursor: pointer;
167}
168.kdf-consent-link {
169  color: var(--kdf-fg);
170  text-decoration: underline;
171  text-underline-offset: 2px;
172}
173.kdf-consent-link:hover {
174  color: var(--color-brand-500);
175}
176.kdf-submit {
177  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
178}
179.kdf-submit:hover:not(:disabled) {
180  transform: translateY(-1px);
181  background: color-mix(in srgb, var(--color-button-bg, #272626) 88%, #000);
182}
183.kdf-close {
184  transition: color 0.18s ease;
185}
186.kdf-close:hover {
187  color: var(--kdf-fg);
188}
189.kdf-success-icon {
190  animation: kdfPop 0.5s cubic-bezier(0.26, 1.2, 0.32, 1) both;
191}
192@keyframes kdfPop {
193  0%   { transform: scale(0); }
194  60%  { transform: scale(1.15); }
195  100% { transform: scale(1); }
196}
197@media (prefers-reduced-motion: reduce) {
198  .kdf-success-icon { animation: none; }
199  .kdf-submit, .kdf-input, .kdf-close { transition: none; }
200}
201`,hs="Something went wrong. Please try again.";function hl({field:e,value:t,error:a,onChange:r,inputRef:n}){let o=`kdf-field-${e.name}`;return(0,l.jsxs)("label",{htmlFor:o,style:{display:"block"},children:[(0,l.jsx)("span",{style:{display:"block",fontFamily:"var(--font-mono)",fontSize:"10px",fontWeight:"var(--font-weight-emphasis, 600)",textTransform:"uppercase",letterSpacing:"1.5px",color:"color-mix(in srgb, var(--kdf-fg) 40%, transparent)",marginBottom:"6px"},children:e.label}),"textarea"===e.type?(0,l.jsx)("textarea",{id:o,name:e.name,value:t,"aria-required":e.required||void 0,rows:3,onChange:e=>r(e.currentTarget.value),className:"kdf-input"}):(0,l.jsx)("input",{id:o,ref:n,name:e.name,type:"email"===e.type?"email":"text",value:t,"aria-required":e.required||void 0,onChange:e=>r(e.currentTarget.value),className:"kdf-input"}),a?(0,l.jsx)("span",{"data-demo-form-error":"",style:{display:"block",fontSize:"var(--type-meta)",color:"var(--color-brand-500)",marginTop:"6px"},children:a}):null]})}function hc({checked:e,error:t,onChange:a}){return(0,l.jsxs)("div",{style:{marginTop:"16px"},children:[(0,l.jsxs)("label",{htmlFor:"kdf-consent",style:{display:"flex",alignItems:"flex-start",ga
201p:"10px",fontSize:"var(--type-body-sm)",lineHeight:1.5,color:"color-mix(in srgb, var(--kdf-fg) 70%, transparent)",cursor:"pointer"},children:[(0,l.jsx)("input",{id:"kdf-consent",name:"consent",type:"checkbox",checked:e,"aria-required":!0,"aria-invalid":t||void 0,onChange:e=>a(e.currentTarget.checked)}),(0,l.jsxs)("span",{children:["By submitting this form, I agree to the"," ",(0,l.jsx)("a",{href:"/legal/privacy-policy",className:"kdf-consent-link",target:"_blank",rel:"noreferrer",onClick:e=>e.stopPropagation(),children:"Knotch Privacy Policy"})," ","and to Knotch using my details to contact me for marketing purposes."]})]}),t?(0,l.jsx)("span",{"data-demo-form-error":"",style:{display:"block",fontSize:"var(--type-meta)",color:"var(--color-brand-500)",marginTop:"6px"},children:"Required"}):null]})}function hd({onClose:e}){return(0,l.jsx)("button",{type:"button","aria-label":"Close",onClick:e,className:"kdf-close",style:{position:"absolute",top:"10px",right:"12px",width:"44px",height:"44px",display:"inline-flex",alignItems:"center",justifyContent:"center",background:"transparent",border:"none",cursor:"pointer",color:"color-mix(in srgb, var(--kdf-fg) 55%, transparent)"},children:(0,l.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M3 3 L13 13 M13 3 L3 13",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})}function hu(){return(0,l.jsxs)("div",{"data-demo-form-success":"",style:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",padding:"20px 0"},children:[(0,l.jsx)("div",{className:"kdf-success-icon","aria-hidden":"true",style:{width:"56px",height:"56px",borderRadius:"50%",background:"var(--color-button-bg, #272626)",color:"var(--color-button-text, #efece5)",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"26px",lineHeight:1},children:"✓"}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h3)",fontWeight:"var(--font-weight-default, 500)",color:"var(--kdf-fg)",letterSpacing:"-0.5px",marginTop:"18px",marginBottom:0},children:"Talk soon."})]})}function hp({index:e}){return(0,l.jsxs)("section",{"aria-label":"Already live on the world's biggest stage",style:{...hy,paddingBlock:"var(--space-lg, 64px)"},children:[(0,l.jsx)("style",{children:`
202        @media (max-width: 640px) {
203          /* The 21/9 aspect ratio + 300px min-height blows the lead card's
204             intrinsic width out to ~700px on a phone, overflowing the column.
205             Drop the ratio and pin an explicit height so the card just fills
206             the viewport width. */
207          [data-knotch-live-lead] { aspect-ratio: auto !important; height: 320px; min-height: 320px !important; }
208          [data-knotch-live-lead-scrim] { display: block !important; }
209        }
210      `}),(0,l.jsxs)("div",{style:{...hv,paddingTop:"24px"},children:[(0,l.jsx)("p",{style:hb,children:e?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:e})," ",(0,l.jsx)("span",{style:{color:"var(--color-fg-muted)"},children:"Proof, in production"})]}):"Proof, in production"}),(0,l.jsx)("h2",{style:hx,children:"Already live on the world's biggest stage."}),(0,l.jsx)("div",{style:{display:"grid",gap:"20px",marginTop:"2.5rem"},children:hm.map(e=>(0,l.jsx)(hg,{card:e,lead:!0},e.name))}),(0,l.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 240px), 1fr))",gap:"20px",marginTop:"20px"},children:hh.map(e=>(0,l.jsx)(hg,{card:e},e.name))})]})]})}let hm=[{name:"Google",eyebrow:"Think with Google",description:"Adaptive editorial at global scale.",image:"/knotch/live-examples/google.png",accent:"rgb(12, 31, 82)",status:"live",href:"https://www.thinkwithgoogle.com/next/v2/"},{name:"Zillow",eyebrow:"Rentals",description:"Composed listings content.",image:"/knotch/live-examples/zillow.png",accent:"rgb(0, 40, 99)",status:"live",href:"https://www.zillow.com/rentals-network/solutions/"}],hh=[{name:"Square",eyebrow:"Fintech",description:"Adaptive Landing Page",image:"/knotch/live-examples/square.png",accent:"rgb(0, 0, 0)",status:"coming-soon"},{name:"Ally",eyebrow:"Checking & savings",description:"Adaptive homepage.",image:"/knotch/live-examples/ally.png",accent:"rgb(48, 10, 64)",status:"coming-soon"},{name:"Kelley Blue Book",eyebrow:"Cox Automotive",description:"Personalized vehicle matches.",image:"/knotch/live-examples/cox.png",accent:"rgb(0, 30, 66)",status:"coming-soon"}];function hg({card:e,lead:t=!1}){let a=`radial-gradient(150% 135% at 0% 100%, color-mix(in srgb, ${e.accent} 96%, transparent) 0%, color-mix(in srgb, ${e.accent} 55%, transparent) 44%, color-mix(in srgb, ${e.accent} 0%, transparent) 80%)`;return(0,l.jsxs)("div",{...t?{"data-knotch-live-lead":""}:{},style:{position:"relative",width:"100%",aspectRatio:t?"21 / 9":"4 / 3",minHeight:t?"300px":void 0,borderRadius:"22px",overflow:"hidden",border:"1px solid var(--color-border)",background:e.accent},children:[(0,l.jsx)("img",{src:e.image,alt:`${e.name} — composed page`,loading:"lazy",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center top"}}),(0,l.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",inset:0,backdropFilter:"blur(3px)",WebkitMaskImage:a,maskImage:a}}),(0,l.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",inset:0,background:a}}),t?(0,l.jsx)("div",{"aria-hidden":"true","data-knotch-live-lead-scrim":"",style:{display:"none",position:"absolute",insetInline:0,bottom:0,height:"82%",background:"linear-gradient(to top, color-mix(in srgb, #0d0d0c 92%, transparent) 0%, color-mix(in srgb, #0d0d0c 82%, transparent) 48%, color-mix(in srgb, #0d0d0c 50%, transparent) 72%, transparent 100%)"}}):null,(0,l.jsx)("div",{style:{position:"absolute",top:t?"18px":"14px",left:t?"18px":"14px"},children:(0,l.jsx)(hf,{status:e.status})}),(0,l.jsxs)("div",{style:{position:"absolute",left:t?"28px":"20px",right:t?"28px":"20px",bottom:t?"26px":"20px"},children:[(0,l.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.14em",textTransform:"uppercase",color:"rgba(255,255,255,0.78)",marginBottom:"6px"},children:e.eyebrow}),(0,l.jsx)("h3",{style:{fontFamily:"var(--font-sans, Inter, sans-serif)",fontWeight:"var(--font-weight-default)",fontSize:t?"var(--type-h3)":"var(--type-h5)",letterSpacing:"-0.025em",margin:0,color:"#ffffff"},children:e.name}),(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans, Inter, sans-serif)",fontSize:t?"var(--type-body-sm)":"var(--type-meta)",lineHeight:1.45,color:"rgba(255,255,255,0.85)",margin:"6px 0 0",maxWidth:"34ch"},children:e.description}),t&&e.href?(0,l.jsxs)("a",{href:e.href,target:"_blank",rel:"noreferrer",style:{display:"inline-flex",alignItems:"center",gap:"7px",background:"var(--color-bg, #efece5)",color:"var(--color-fg, #0d0d0c)",border:0,borderRadius:"999px",padding:"11px 18px",marginTop:"16px",textDecoration:"none",fontFamily:"var(--font-mono)",fontWeight:"var(--font-weight-default)",fontSize:"var(--type-meta)",letterSpacing:"0.06em",textTransform:"uppercase"},children:["See live",(0,l.jsx)(ms,{name:"arrow-up-right",size:14})]}):null]})]})}function hf({status:e}){return"live"===e?(0,l.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:"6px",background:"var(--color-accent-500, rgb(255,0,72))",borderRadius:"999px",padding:"6px 12px"},children:[(0,l.jsx)("span",{"aria-hidden":"true",style:{width:"6px",height:"6px",borderRadius:"50%",background:"#ffffff"}}),(0,l.jsx)("span",{style:hw,children:"Live"})]}):(0,l.jsx)("span",{style:{display:"inline-flex",background:"#0d0d0c",borderRadius:"999px",padding:"6px 12px"},children:(0,l.jsx)("span",{style:hw,children:"Coming soon"})})}
210let hy={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto",paddingInline:"24px"},hv={borderTop:"1px solid var(--color-border)"},hb={fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",fontWeight:"var(--font-weight-default)",letterSpacing:"0.16em",textTransform:"uppercase",color:"var(--color-fg-muted)",margin:"0 0 1.5rem"},hx={fontSize:"var(--type-h1)",fontWeight:"var(--font-weight-default)",lineHeight:1.15,color:"var(--color-fg)",margin:0},hw={fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.16em",textTransform:"uppercase",color:"#ffffff"};function hk({prompt:e,atomId:t,dark:a=!1}){let{onClick:r}=(0,uD.useTriggerHandler)({message:e},t,null);return(0,l.jsxs)("button",{type:"button",onClick:r??void 0,className:"inline-flex w-fit self-start justify-self-start items-center gap-[10px] whitespace-nowrap no-underline rounded-full font-normal transition duration-300 ease-out hover:-translate-y-px cursor-pointer disabled:cursor-not-allowed disabled:opacity-60",style:{background:a?"rgba(255,255,255,0.1)":"#e6e2d8",color:a?"#ffffff":"#272626",fontFamily:"'Inter', sans-serif",fontSize:"14.5px",paddingInline:"18px 10px",paddingBlock:"10px"},children:[(0,l.jsx)("span",{children:e}),(0,l.jsx)("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"28px",height:"28px",borderRadius:"50%",background:a?"#ffffff":"var(--color-bg)",color:a?"#0d0d0c":"var(--color-fg)",flexShrink:0},children:(0,l.jsx)(ms,{name:"arrow-up",size:14})})]})}function h_({items:e,columns:t=6}){return(0,l.jsx)("div",{style:{display:"grid",gridTemplateColumns:`repeat(auto-fit, minmax(min(100%, ${Math.round(960/t)}px), 1fr))`,gap:"16px"},children:e.map(e=>(0,l.jsx)("div",{style:{...hj,minWidth:0},children:e.src?(0,l.jsx)("img",{src:e.src,alt:e.name,style:{maxHeight:`${e.maxHeightRem??1.75}rem`,maxWidth:"100%",width:"auto",objectFit:"contain"}}):(0,l.jsx)("span",{style:{fontSize:"var(--type-body-sm)",fontWeight:500,color:"var(--color-fg)",textAlign:"center",overflowWrap:"anywhere"},children:e.name})},e.name))})}let hj={display:"flex",alignItems:"center",justifyContent:"center",minHeight:"96px",padding:"1rem",background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"16px"},hS=[{name:"Google",src:"/knotch/logos/google.svg"},{name:"Deloitte",src:"/knotch/logos/deloitte.svg"},{name:"Ally",src:"/knotch/logos/ally.svg"},{name:"Zillow",src:"/knotch/logos/zillow.svg"},{name:"Cox Automotive",src:"/knotch/logos/cox-automotive.svg"},{name:"GEICO",src:"/knotch/logos/geico.svg",maxHeightRem:1.2},{name:"Synchrony",src:"/knotch/logos/synchrony.svg"},{name:"Square",src:"/knotch/logos/square.svg"},{name:"Dropbox",src:"/knotch/logos/dropbox.svg"},{name:"FOX",src:"/knotch/logos/fox.svg",maxHeightRem:2.5},{name:"Chime",src:"/knotch/logos/chime.svg",maxHeightRem:3.5}],hC=["CMO / CCO","CDO / CTO","Growth / Performance","Brand","Content","Media / Paid","Martech / Ops","Agency","Investor / Strategic"];function hI(){let{activePersonaId:e,isRehydrating:t}=(0,R.useActivePersona)(),a=null!=e&&hC.includes(e)?e:null,[r,n]=(0,eu.useState)(a),o=(0,eu.useRef)(null),i=(0,eu.useRef)(!0);return(0,eu.useEffect)(()=>{if(i.current||t){i.current=!1,n(a);return}if(a!==r)return o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{o.current=null,n(a)},700),()=>{o.current&&clearTimeout(o.current)}},[a,t,r]),{displayedPersonaId:r,swapping:a!==r}}function hN({swapping:e,children:t,className:a,style:r}){return(0,l.jsxs)("span",{className:a,style:{position:"relative",display:"inline-block",...r},children:[(0,l.jsx)("span",{style:{visibility:e?"hidden":"visible"},children:t}),e?(0,l.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",inset:0},children:(0,l.jsx)(uq.Pulser,{as:"span",width:"100%",height:"100%",radius:"var(--radius-sm, 6px)"})}):null]})}e.i(633);let hA={default:{hero:{headline:"The AI experience infrastructure for the conversational web.",subhead:"Intelligent web experiences built to convert humans and machines.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"But your website was built for a different era."},humansBody:"Humans expect experiences that are conversational, personalized, and intelligent.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging.",humansChip:{prompt:"Why are visitors leaving?",atomId:"home-shift-humans"},agentsBody:"Agents expect content they can read, trust, and cite. What they can't parse, they skip.",agentsStatLabel:"year-over-year growth in AI agent traffic*",agentsChip:{prompt:"Where's the agent traffic from?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace composes each experience around the visitor's intent and stage — meeting them where they are in the decision, not at the top of a homepage. Personalized, conversational experiences, built to convert.",agentsBody:"Ace hands agents what a static page never could: structured, citable content they can read and trust. Your brand makes it into the answer — as the authority.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"What do they say about Knotch?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"Learn more about Ace",atomId:"home-cta-learn-more"}}}
210,"CMO / CCO":{hero:{headline:"The growth infrastructure for the conversational web.",subhead:"Intelligent web experiences that convert buyers — and the machines now deciding who gets found.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"But your website was built for a different era."},humansBody:"Your buyers now expect experiences that are conversational, personalized, and intelligent. A static homepage quietly loses them.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging. That’s growth you already paid to acquire, walking out.",humansChip:{prompt:"What is this costing us in lost conversions?",atomId:"home-shift-humans"},agentsBody:"Agents expect content they can read, trust, and cite. What they can’t parse, they skip — and your brand misses the answer.",agentsStatLabel:"YoY growth in AI agent traffic. A new audience deciding who gets recommended.",agentsChip:{prompt:"Are we showing up in AI answers?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace composes each experience around the buyer’s intent and stage — meeting them where they are in the decision. Personalized, conversational, built to convert.",agentsBody:"Ace hands agents structured, citable content a static page never could. Your brand makes it into the answer — as the authority.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"Who else like us is using Ace?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"Learn more about Ace",atomId:"home-cta-learn-more"}}},"CDO / CTO":{hero:{headline:"AI experience infrastructure that sits on the stack you already run.",subhead:"Personalized experiences for people, structured citable content for agents — composed in real time, with no replatforming.",secondaryCtaLabel:"See the architecture live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"But your website was built for a different era."},humansBody:"Visitors arrive expecting conversational, personalized, intelligent experiences. Static delivery can’t resolve to intent in real time.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging. Traffic your current architecture can’t serve.",humansChip:{prompt:"Why can’t our current stack serve them?",atomId:"home-shift-humans"},agentsBody:"Agents expect content they can parse, trust, and cite. Unstructured pages are invisible to them.",agentsStatLabel:"YoY growth in AI agent traffic. A machine audience your stack wasn’t built to answer.",agentsChip:{prompt:"Why are agents skipping our pages?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace reads intent at arrival and composes the experience server-side — from your own content, your words, never hallucinated.",agentsBody:"Ace exposes structured, schema-rich, citable content to the models. Deterministic, inspectable, on top of what you already run.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"What does deployment actually look like?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"See how it fits the stack",atomId:"home-cta-learn-more"}}},"Growth / Performance":{hero:{headline:"Turn the traffic you already have into conversions.",subhead:"Adaptive web experiences composed at arrival — built to lift conversion for every visitor, human or agent.",secondaryCtaLabel:"See the lift live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"But your website was built for a different era."},humansBody:"Visitors expect conversational, personalized, intelligent experiences. A static page is a flat conversion rate by design.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging. Your biggest leak is the traffic you already won.",humansChip:{prompt:"Where are we leaking conversion?",atomId:"home-shift-humans"},agentsBody:"Agents expect content they can read and cite. What they skip, they don’t send back — a referral channel you can’t see.",agentsStatLabel:"YoY growth in AI agent traffic. An acquisition channel compounding while you measure last-click.",agentsChip:{prompt:"How much traffic comes from agents?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace composes each experience around intent and stage — in the format most likely to convert. More of the traffic you’re already generating, captured.",agentsBody:"Ace makes you citable to the models routing high-intent users — so you show up where the next click starts.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"What conversion lift have they seen?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"See the lift",atomId:"home-cta-learn-more"}}},Brand:{hero:{headline:"Your brand, composed in real time — never rewritten.",subhead:"On-brand experiences for every visitor, and citable content that makes your brand the authority AI quotes.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"But your website was built for a different era."},humansBody:"Audiences expect experiences that feel conversational and personal. A one-size homepage speaks to no one in particular.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging. A brand impression that never lands.",humansChip:{prompt:"Is our brand landing with everyone?",atomId:"home-shift-humans"},agentsBody:"Agents expect content they can trust and cite. When they can’t parse you, they paraphrase someone else — in your category.",agentsStatLabel:"YoY growth in AI agent traffic. A new front where your brand is described by machines.",agentsChip:{prompt:"Who is AI citing in our 
210category?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace composes each experience from your own approved content — reassembled, not rewritten. Every visit is different. Every one is on-brand.",agentsBody:"Ace serves structured, citable content so the models quote you accurately — your brand as the authority, in your words.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"How do they keep it on-brand?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"Learn more about Ace",atomId:"home-cta-learn-more"}}},Content:{hero:{headline:"Make every piece you’ve already published work harder.",subhead:"Your library, reassembled in real time for every human — and made citable for every AI agent. No new content required.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"But your website was built for a different era."},humansBody:"Readers expect conversational, personalized experiences. Your best work sits in pages they skim and leave.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging. Content you produced, going unread.",humansChip:{prompt:"Why isn’t our content landing?",atomId:"home-shift-humans"},agentsBody:"Agents expect content they can parse and cite. Unstructured assets are invisible to the engines surfacing answers.",agentsStatLabel:"YoY growth in AI agent traffic. A new reader for everything you’ve ever written.",agentsChip:{prompt:"Can agents even read our library?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace brings the right thinking to the right reader — assembled from your full body of work, in whatever format fits the moment.",agentsBody:"Ace makes your library citable, so the engines surface your ideas instead of a competitor’s summary.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"How do their content teams use it?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"Learn more about Ace",atomId:"home-cta-learn-more"}}},"Media / Paid":{hero:{headline:"Stop paying for clicks that bounce.",subhead:"Adaptive post-click experiences composed for each visitor’s intent — so more of the traffic you buy converts.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"But your landing pages were built for a different era."},humansBody:"Paid visitors arrive with sharp intent and hit a generic page. The gap between the ad promise and the page is where spend dies.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging. On paid traffic, that’s budget burned at the door.",humansChip:{prompt:"How much spend is bouncing?",atomId:"home-shift-humans"},agentsBody:"Agents expect content they can read and cite — increasingly the source of the click before yours.",agentsStatLabel:"YoY growth in AI agent traffic. Demand routing through channels your media plan doesn’t bid on yet.",agentsChip:{prompt:"Where is agent demand coming from?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace reads intent the moment a paid visitor lands and composes the page to match — closing the ad-to-page gap, lifting ROAS on traffic you already bought.",agentsBody:"Ace makes you citable to the models routing high-intent demand — so you capture the click before the click.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"What did it do to their ROAS?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"See it on a campaign",atomId:"home-cta-learn-more"}}},"Martech / Ops":{hero:{headline:"One layer on top of the stack you already run.",subhead:"Personalized experiences and structured agent content, composed in real time — no replatforming, no new system of record.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"But your stack was built for a different era."},humansBody:"Delivering conversational, personalized experiences usually means another point tool, another integration, another rule engine.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging. The personalization stack you bought isn’t closing the gap.",humansChip:{prompt:"What tools could this replace?",atomId:"home-shift-humans"},agentsBody:"Agents expect structured, parseable content. Most stacks have no owner for what machines consume.",agentsStatLabel:"YoY growth in AI agent traffic. A new consumer of your content with no system pointed at it.",agentsChip:{prompt:"Who owns agent-facing content?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace composes from your existing content and sits on top of your current stack — reassembled, not rewritten. Fewer moving parts, not more.",agentsBody:"Ace produces the structured, citable layer for machines from the same knowledge base — one source, two outputs.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"How did they integrate it?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"See how it integrates",atomId:"home-cta-learn-more"}}},Agency:{hero:{headline:"The adaptive web layer you can run across every client.",subhead:"Personalized experiences for their visitors, citable content for the agents — results you can show, on their real URLs.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"But your clients’ 
210websites were built for a different era."},humansBody:"Clients expect conversational, personalized experiences — and expect you to deliver them without a year-long replatform.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging. The performance gap your clients ask you to close.",humansChip:{prompt:"How do I pitch this to clients?",atomId:"home-shift-humans"},agentsBody:"Agents expect citable content. Clients increasingly ask why they’re not showing up in AI answers — and look to you.",agentsStatLabel:"YoY growth in AI agent traffic. A new mandate landing on your desk.",agentsChip:{prompt:"What do I tell clients about AI visibility?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace composes each experience from the client’s own content — on-brand, on their URLs — so you ship results, not a rebuild.",agentsBody:"Ace makes your clients citable to the models — a new line of work you can own and report on.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"Which of these are agency-run?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"Partner with us",atomId:"home-cta-learn-more"}}},"Investor / Strategic":{hero:{headline:"The semantic infrastructure layer for the agentic web.",subhead:"The layer that makes brand content legible to both people and machines — already live on the world’s biggest stage.",secondaryCtaLabel:"See it live on Google",secondaryCtaAccentWord:"Google"},shift:{headline:{lead:"The AI-native customer journey is here.",tail:"And the web was built for a different era."},humansBody:"User expectations have moved to conversational and personalized. Every static site in the enterprise is now legacy surface area.",humansStatLabel:"of AI-native visitors leave without meaningfully engaging. The size of the problem, on every site.",humansChip:{prompt:"How big is this problem?",atomId:"home-shift-humans"},agentsBody:"A machine audience now mediates discovery. Content that isn’t structured for it is economically invisible.",agentsStatLabel:"YoY growth in AI agent traffic. The demand-side shift the category is built on.",agentsChip:{prompt:"Why is the agent shift the thesis?",atomId:"home-shift-agents"}},answer:{humansBody:"Ace composes one-to-one experiences from a brand’s knowledge base — the human side of a single semantic layer.",agentsBody:"Ace serves the same atoms as structured, citable content to the models — the machine side of the same layer. One moat, two markets.",chips:[{prompt:"What KPIs does ACE improve?",atomId:"home-answer-personalize"},{prompt:"How does ACE support AI Visibility?",atomId:"home-answer-crawler"}]},trustedChip:{prompt:"What does the customer base signal?",atomId:"home-trusted-say"},cta:{headline:"Ready to win every audience?",secondaryChip:{prompt:"See the category thesis",atomId:"home-cta-learn-more"}}}},hE="https://www.knotch-cdn.com/ace-videos/KNC_ACE_WebPreview_260615-2100.mp4",hT="/knotch/ace-announcement-poster-2.png",hP={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto",paddingInline:"24px"},hz="inline-flex items-center justify-center gap-[8px] no-underline whitespace-nowrap min-h-[44px] px-4 py-2 rounded-full font-medium uppercase tracking-wide text-[length:var(--type-body-sm)] [font-family:var(--font-mono)] transition duration-300 ease-out hover:-translate-y-px cursor-pointer disabled:cursor-not-allowed disabled:opacity-60",hR={fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",fontWeight:"var(--font-weight-default)",letterSpacing:"0.16em",textTransform:"uppercase",color:"var(--color-fg-muted)",margin:0},hL={borderTop:"1px solid var(--color-border)"};function hO({eyebrow:e,children:t}){return(0,l.jsx)("section",{"aria-label":e,style:{...hP,paddingBlock:"var(--space-lg, 64px)"},children:(0,l.jsxs)("div",{style:{...hL,paddingTop:"24px"},children:[(0,l.jsx)("p",{style:{...hR,marginBottom:"1.5rem"},children:e}),t]})})}function hM({children:e,maxWidth:t,level:a="h2"}){return(0,l.jsx)("h2",{style:{fontSize:"h3"===a?"var(--type-h2)":"var(--type-h1)",fontWeight:500,lineHeight:1.15,color:"var(--color-fg)",margin:0,maxWidth:t},children:e})}function hH({tone:e,label:t,body:a,stat:r,statLabel:n,swapping:o}){let i="dark"===e;return(0,l.jsxs)("article",{style:{background:i?"var(--color-button-bg)":"var(--color-bg-subtle)",border:i?"none":"1px solid var(--color-border)",borderRadius:"22px",padding:"36px",minHeight:"300px",display:"flex",flexDirection:"column"},children:[(0,l.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.14em",textTransform:"uppercase",color:i?"color-mix(in srgb, var(--color-bg) 50%, transparent)":"var(--color-fg-muted)"},children:t}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",lineHeight:1.55,color:i?"color-mix(in srgb, var(--color-bg) 74%, transparent)":"var(--color-fg-body)",margin:"1rem 0 0 0",maxWidth:"34ch"},children:(0,l.jsx)(hN,{swapping:o,children:a})}),(0,l.jsxs)("div",{style:{marginTop:"auto",paddingTop:"1.5rem"},children:[(0,l.jsx)("span",{style:{display:"block",fontFamily:"var(--font-mono)",fontSize:"var(--type-display)",fontWeight:"var(--font-weight-default)",lineHeight:1,letterSpacing:"-0.03em",color:"var(--color-brand-500)"},children:r}),(0,l.jsx)("span",{style:{display:"block",fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",lineHeight:1.6,color:"var(--color-brand-500)",marginTop:"0.875rem",maxWidth:"36ch"},children:(0,l.jsx)(hN,{swapping:o,children:n})})]})]})}function hD(){return(0,l.jsx)("img",{src:"/knotch/ace/audience-human.png",alt:"A personalized, on-brand experience composed for an AI-native visitor",loading:"lazy",style:{width:"100%",aspectRatio:"3 / 2",objectFit:"cover",borderRadius:"16px",display:"block"}})}function hq(){return(0,l.jsx)("img",{src:"/knotch/ace/audience-agent.png",alt:"Structured, citable content served to AI agents and LLMs",loading:"lazy",style:{width:"100%",aspectRatio:"3 / 2",objectFit:"cover",borderRadius:"16px",display:"block"}})}let hW=[{name:"Google",src:"/knotch/logos/google.svg",height:18},{name:"Deloitte",src:"/knotch/logos/deloitte.svg",height:14},{name:"Ally",src:"/knotch/logos/ally.svg",height:19},{name:"Cox Automotive",src:"/knotch/logos/cox-automotive.svg",height:19},{name:"Square",src:"/knotch/logos/square.svg",height:15}],h$="LAUNCH DAY / ACE",hU="Ace Launch.",hF="At The Guggenheim.",hB="AI is rewriting the customer journey.",hG="Ace is the layer beneath your stack that composes a one-to-one experience for every visitor — human or agent.",hK="Get demo",hV="See Ace live on Google",hZ="https://www.thinkwithgoogle.com/next/v2/",hY={src:"/knotch/acelaunch-guggenheim-hero.jpg",alt:"Knotch takes over the Guggenheim — the Ace launch event."},hJ=[{id:"anda-announces",heading:"Meet Ace: Anda Gansca Announce
210s Ace.",src:"https://www.knotch-cdn.com/ace-videos/Anda%20at%20Guggenheim%20Panel%20-%20Clip%201.mp4"},{id:"knotch-google",heading:"Knotch × Google: ACE, AI, and What Comes Next for Marketing",src:"https://www.knotch-cdn.com/ace-videos/Guggenheim%20Panel%20-%20Clip%202%20(Mohit_Aron).mp4"},{id:"age-of-ai",heading:"Marketing in the Age of AI: Leaders from Zillow, Bank of America, and Cox Automotive",src:"https://www.knotch-cdn.com/ace-videos/Guggenheim%20Panel%202%20-%20Clip%203.mp4"}],hX={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto",paddingInline:"clamp(20px, 5vw, 40px)"},hQ={fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",fontWeight:"var(--font-weight-default)",letterSpacing:"0.16em",textTransform:"uppercase",color:"var(--color-fg-muted)",margin:0},h0="inline-flex items-center justify-center no-underline whitespace-nowrap rounded-full font-medium uppercase tracking-[0.06em] text-[length:var(--type-meta)] [font-family:var(--font-mono)] transition duration-300 ease-out hover:-translate-y-px cursor-pointer disabled:cursor-not-allowed disabled:opacity-60";function h1(){let e=(0,U.useDemoForm)();return(0,l.jsxs)("section",{style:{...hX,paddingBlock:"140px var(--space-xl, 80px)"},"data-section":!0,"data-acelaunch-hero":!0,children:[(0,l.jsxs)("div",{className:"acelaunch-hero-grid",style:{display:"grid",gridTemplateColumns:"minmax(0, 1fr) minmax(0, 1fr)",gap:"clamp(24px, 5vw, 56px)",alignItems:"center"},children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{style:hQ,children:h$}),(0,l.jsxs)("h1",{style:{fontSize:"var(--type-h1)",fontWeight:"var(--font-weight-default)",lineHeight:1.08,letterSpacing:"-0.02em",margin:"14px 0 0 0"},children:[(0,l.jsx)("span",{style:{backgroundImage:"linear-gradient(150deg, #ff8a9e, #ff5a6e 55%, #ff0048)",WebkitBackgroundClip:"text",backgroundClip:"text",color:"transparent"},children:hU})," ",(0,l.jsx)("span",{style:{color:"var(--color-fg)"},children:hF})]}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",fontWeight:"var(--font-weight-emphasis)",color:"var(--color-fg)",margin:"20px 0 0 0"},children:hB}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",color:"var(--color-fg-muted)",lineHeight:1.5,margin:"6px 0 0 0",maxWidth:"44ch"},children:hG}),(0,l.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"12px",marginTop:"28px"},children:[(0,l.jsx)(nQ.Button,{type:"button",onClick:()=>e.open(),className:`${h0} px-6 py-3`,style:{background:"var(--color-button-bg)",color:"var(--color-button-text)"},children:hK}),(0,l.jsxs)("a",{href:hZ,target:"_blank",rel:"noopener noreferrer",className:`${h0} px-6 py-3`,style:{border:"1px solid var(--color-border)",color:"var(--color-fg)"},children:["↗ ",hV]})]})]}),(0,l.jsx)("article",{"aria-label":hY.alt,style:{position:"relative",overflow:"hidden",isolation:"isolate",aspectRatio:"4 / 3",borderRadius:"20px",background:"var(--color-bg-subtle)",boxShadow:"0 30px 70px -44px rgba(39,38,38,0.4)"},children:(0,l.jsx)("img",{src:hY.src,alt:hY.alt,style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover"}})})]}),(0,l.jsx)("style",{children:`
211        @media (max-width: 768px) {
212          .acelaunch-hero-grid { grid-template-columns: minmax(0, 1fr); }
213        }
214      `})]})}let h2={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto",paddingInline:"clamp(20px, 5vw, 40px)"},h5={borderTop:"1px solid var(--color-border)"},h4={fontSize:"var(--type-h1)",fontWeight:"var(--font-weight-default)",lineHeight:1.15,letterSpacing:"-0.01em",color:"var(--color-fg)",margin:0};function h3({video:e}){let[t,a]=(0,eu.useState)(!1);return(0,l.jsxs)("section",{style:{...h2,paddingBlock:"var(--space-lg, 64px)"},"data-acelaunch-video":e.id,children:[(0,l.jsxs)("div",{style:{...h5,paddingTop:"24px"},children:[(0,l.jsx)("h2",{style:h4,children:e.heading}),(0,l.jsxs)("div",{style:{position:"relative",width:"100%",overflow:"hidden",borderRadius:"22px",aspectRatio:"16 / 9",border:"1px solid var(--color-border)",background:"var(--color-bg-subtle)",marginTop:"2.5rem"},children:[(0,l.jsx)("video",{src:e.src,poster:e.poster,autoPlay:!0,muted:!0,loop:!0,playsInl
214ine:!0,"aria-hidden":"true",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover"}}),(0,l.jsx)("button",{type:"button",onClick:function(){(0,en.logTelemetry)("knotch-acelaunch-video-clicked",{video:e.id}),a(!0)},"aria-label":`Play video: ${e.heading}`,style:{position:"absolute",left:"24px",bottom:"24px",width:"56px",height:"56px",borderRadius:"50%",border:"none",cursor:"pointer",background:"var(--color-button-bg)",color:"var(--color-button-text)",display:"inline-flex",alignItems:"center",justifyContent:"center",boxShadow:"0 6px 20px color-mix(in srgb, var(--color-fg) 22%, transparent)"},children:(0,l.jsx)(ms,{name:"play",size:20})})]})]}),t?(0,l.jsx)(iA.BrandedModal,{open:!0,onOpenChange:a,title:e.heading,description:"Watch the full clip from the Ace launch at the Guggenheim.",className:"!w-[min(94vw,880px)] !p-0 !overflow-hidden",scrim:"color-mix(in srgb, #f4f5f7 70%, transparent)",children:(0,l.jsx)("video",{src:e.src,poster:e.poster,controls:!0,autoPlay:!0,playsInline:!0,style:{display:"block",width:"100%",aspectRatio:"16 / 9",background:"#000",borderRadius:"var(--radius-xl)"}})}):null]})}function h6({tag:e,quote:t,name:a,role:r,gradient:n,showAvatar:o=!0}){return(0,l.jsxs)("article",{"aria-label":`${a} — ${r}`,style:{background:n,borderRadius:"24px",padding:"28px",display:"flex",flexDirection:"column",minHeight:"320px"},children:[e?(0,l.jsx)("span",{style:{alignSelf:"flex-end",fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.08em",textTransform:"uppercase",color:"color-mix(in srgb, var(--color-fg) 70%, transparent)"},children:e}):null,(0,l.jsx)("p",{style:{fontSize:"var(--type-h3)",fontWeight:500,lineHeight:1.3,color:"var(--color-fg)",margin:"1.5rem 0 0 0"},children:t}),(0,l.jsxs)("div",{style:{marginTop:"auto",paddingTop:"2rem",display:"flex",alignItems:"center",gap:"12px"},children:[o?(0,l.jsx)("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"44px",height:"44px",borderRadius:"50%",background:"rgba(255,255,255,0.45)",color:"color-mix(in srgb, var(--color-fg) 70%, transparent)",flexShrink:0},children:(0,l.jsx)(ms,{name:"image",size:20})}):null,(0,l.jsxs)("span",{style:{display:"flex",flexDirection:"column"},children:[(0,l.jsx)("span",{style:{fontSize:"var(--type-body-sm)",fontWeight:500,color:"var(--color-fg)"},children:a}),(0,l.jsx)("span",{style:{fontSize:"var(--type-meta)",color:"color-mix(in srgb, var(--color-fg) 72%, transparent)"},children:r})]})]})]})}let h8={default:{hero:{headline:"The AI experience infrastructure for the conversational web.",subhead:"Adaptive, personalized web experiences — composed in real time for every visitor, human or agent.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages versus the static control.","Personalized, conversational experiences composed at arrival.","Structured, citable content — authoritative inside every LLM."],whereAceSits:{headline:"Ace sits on top of your existing stack and delivers personalized, conversational experiences to AI-native visitors — and structured, citable content to the AI agents shaping decisions upstream.",guarantees:[{title:"No Generative AI risk",body:"Your words, never hallucinated."},{title:"No replatforming",body:"Sits on the stack you already run."},{title:"No content treadmill",body:"Reassembled, not rewritten."}]},knowledgeBase:{lead:"Ace builds your brand's Knowledge Base — ingesting everything your brand knows across every source, atomizing it into modular content units, and aligning every atom against semantic intent. The result is a living, adaptive digital representation of your brand that can respond to any audience, in any format, in real time.",chips:[{prompt:"What sources can Ace ingest?",atomId:"ace-kb-01"},{prompt:"What is atomization?",atomId:"ace-kb-02"},{prompt:"How does intent matching work?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"Assembled in real time — a human side, and a machine side.",chips:[{prompt:"How does Ace read intent?",atomId:"ace-dual-human"},{prompt:"How do agents cite our content?",atomId:"ace-dual-machine"}]},useCases:{order:["Conversion","Consideration","Engagement"],subhead:"Three places Ace delivers immediate results.",chips:[{prompt:"What results have you actually seen so far?",atomId:"ace-uc-conversion"},{prompt:"What is the missing middle?",atomId:"ace-uc-consideration"},{prompt:"How does Ace surface our research?",atomId:"ace-uc-engagement"}]},ctaHeadline:"Ready to see Ace on your stack?",keepExploring:["How fast can we go live?","What will security want to know?","How does it price?","Show me a live example","Why not a chatbot?"]}
214,"CMO / CCO":{hero:{headline:"The growth infrastructure for the conversational web.",subhead:"Adaptive, personalized experiences — composed in real time for every visitor, human or agent.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages vs. the static control. The lift your peers are already booking.","Personalized, conversational experiences composed the moment they arrive.","Be the brand cited inside every answer engine, not the one paraphrased."],whereAceSits:{headline:"Ace sits on top of your existing stack — personalized experiences for buyers, citable content for the agents shaping decisions upstream.",guarantees:[{title:"No Generative AI risk",body:"your words, never hallucinated."},{title:"No replatforming",body:"results without a rebuild."},{title:"No content treadmill",body:"more output, not more headcount."}]},knowledgeBase:{lead:"Ace builds your brand’s Knowledge Base — every source, atomized and intent-aligned — into a living asset that converts any audience, in any format, in real time.",chips:[{prompt:"What does it take to stand up?",atomId:"ace-kb-01"},{prompt:"How fast to first results?",atomId:"ace-kb-02"},{prompt:"What does it replace?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"One knowledge base, two experiences — the buyers you’re chasing, and the machines now deciding who gets found.",chips:[{prompt:"How does this lift conversion?",atomId:"ace-dual-human"},{prompt:"How do we become the cited authority?",atomId:"ace-dual-machine"}]},useCases:{order:["Conversion","Consideration","Engagement"],subhead:"Three places Ace moves the number fastest.",chips:[{prompt:"Where do we see ROI first?",atomId:"ace-uc-conversion"},{prompt:"What’s the fastest win?",atomId:"ace-uc-consideration"},{prompt:"How is impact measured?",atomId:"ace-uc-engagement"}]},ctaHeadline:"Ready to see Ace on your stack?",keepExploring:["What outcomes have brands seen?","What did it replace?","How does it price?","Show me a live example","How fast to value?"]},"CDO / CTO":{hero:{headline:"AI experience infrastructure for the conversational web.",subhead:"Composed in real time for every visitor — on top of the stack you already run.",secondaryCtaLabel:"See the architecture live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages vs. the static control. Measured, not modeled.","Intent resolved and composed server-side at arrival.","Structured, schema-rich, citable content the models can parse deterministically."],whereAceSits:{headline:"Ace sits on top of your existing stack — structured, citable content to agents; composed experiences to people — with nothing ripped out.",guarantees:[{title:"No Generative AI risk",body:"your words, never hallucinated."},{title:"No replatforming",body:"sits on the stack you already run."},{title:"No content treadmill",body:"reassembled, not rewritten."}]},knowledgeBase:{lead:"Ace ingests every source, atomizes it into modular units, and aligns each atom to semantic intent — a deterministic, inspectable representation of what your brand knows.",chips:[{prompt:"What sources can Ace read?",atomId:"ace-kb-01"},{prompt:"How is data handled and stored?",atomId:"ace-kb-02"},{prompt:"What does it expose to a crawler?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"One knowledge base, two outputs — a composed human side and a structured machine side, from the same atoms.",chips:[{prompt:"How does Ace read intent?",atomId:"ace-dual-human"},{prompt:"How do agents cite our content?",atomId:"ace-dual-machine"}]},useCases:{order:["Conversion","Consideration","Engagement"],subhead:"Three deployment patterns, lowest integration risk first.",chips:[{prompt:"What’s the integration lift?",atomId:"ace-uc-conversion"},{prompt:"How does it fail safely?",atomId:"ace-uc-consideration"},{prompt:"What’s the latency?",atomId:"ace-uc-engagement"}]},ctaHeadline:"Ready to see Ace on your stack?",keepExploring:["Where does it sit in our architecture?","What will security want to know?","Is there hallucination risk?","What’s the data flow?","Show me a live example"]},"Growth / Performance":{hero:{headline:"Built to convert the traffic you already have.",subhead:"Adaptive, personalized experiences composed at arrival — for every visitor, human or agent. Built to lift conversion.",secondaryCtaLabel:"See the lift live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages vs. the static control.","Capture high-intent visitors in the format most likely to convert.","Show up where the next high-intent click starts."],whereAceSits:{headline:"Ace sits on top of your existing stack — personalized, converting experiences for visitors; citable content for the agents upstream.",guarantees:[{title:"No Generative AI risk",body:"your words, never hallucinated."},{title:"No replatforming",body:"test on real URLs in 24 hours."},{title:"No content treadmill",body:"more conversion from the assets you have."}]},knowledgeBase:{lead:"Ace turns every source into intent-aligned atoms it can reassemble for each visitor — so the page meets them at their stage, in the format most likely to convert.",chips:[{prompt:"How does intent matching work?",atomId:"ace-kb-01"}
214,{prompt:"How is lift attributed?",atomId:"ace-kb-02"},{prompt:"Can we A/B against control?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"One knowledge base, two experiences — conversion on the human side, visibility on the machine side.",chips:[{prompt:"How does Ace read intent?",atomId:"ace-dual-human"},{prompt:"How much lift should we expect?",atomId:"ace-dual-machine"}]},useCases:{order:["Conversion","Consideration","Engagement"],subhead:"Start where the conversion lift is biggest.",chips:[{prompt:"How does Ace lift conversion?",atomId:"ace-uc-conversion"},{prompt:"How fast can we prove it?",atomId:"ace-uc-consideration"},{prompt:"What’s the 3× measured against?",atomId:"ace-uc-engagement"}]},ctaHeadline:"Ready to see Ace on your funnel?",keepExploring:["How fast can we go live?","How much lift should we expect?","How is lift attributed?","Show me a before/after","Why not a chatbot?"]},Brand:{hero:{headline:"On-brand for humans and machines.",subhead:"Adaptive, personalized experiences composed from your own approved content — reassembled, never rewritten.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages vs. the static control — every variant on-brand.","Conversational experiences that still sound like you.","Be the source AI quotes, in your words, not a competitor’s paraphrase."],whereAceSits:{headline:"Ace sits on top of your existing stack — on-brand experiences for people; accurate, citable content for the agents.",guarantees:[{title:"No Generative AI risk",body:"your words, never hallucinated."},{title:"No replatforming",body:"sits on the stack you already run."},{title:"No content treadmill",body:"reassembled, not rewritten."}]},knowledgeBase:{lead:"Ace atomizes your approved content and aligns every atom to intent — so each experience is recombined from things you’ve already signed off, never invented.",chips:[{prompt:"How does it stay on-brand?",atomId:"ace-kb-01"},{prompt:"Can we set guardrails?",atomId:"ace-kb-02"},{prompt:"Does it ever generate net-new claims?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"One knowledge base, two experiences — on-brand for people, accurate and citable for machines.",chips:[{prompt:"How do we review what changes?",atomId:"ace-dual-human"},{prompt:"How do agents cite us accurately?",atomId:"ace-dual-machine"}]},useCases:{order:["Engagement","Consideration","Conversion"],subhead:"Three ways to extend the brand without diluting it.",chips:[{prompt:"How does Ace surface our best work?",atomId:"ace-uc-engagement"},{prompt:"Is every variant on-brand?",atomId:"ace-uc-consideration"},{prompt:"How are guardrails enforced?",atomId:"ace-uc-conversion"}]},ctaHeadline:"Ready to see Ace on your stack?",keepExploring:["Will it stay on-brand?","Can we set guardrails?","How do we review changes?","Does it hallucinate?","Show me a before/after"]},Content:{hero:{headline:"Make every piece work harder — for humans and machines.",subhead:"Your library, atomized and reassembled 
214in real time for every reader — and made citable for every agent. No new content required.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages vs. the static control.","The right thinking, to the right reader, in the right format.","Your ideas surfaced by the engines, not a competitor’s summary."],whereAceSits:{headline:"Ace sits on top of your existing stack — the right content for each reader; citable content for the agents.",guarantees:[{title:"No Generative AI risk",body:"your words, never hallucinated."},{title:"No replatforming",body:"works on the content you already have."},{title:"No content treadmill",body:"more from your library, not more headcount."}]},knowledgeBase:{lead:"Ace ingests everything you’ve already made — web, hubs, video, reports — atomizes it, and aligns it to intent, so your full body of work becomes reusable, on demand.",chips:[{prompt:"What sources can Ace read?",atomId:"ace-kb-01"},{prompt:"Does it require new content?",atomId:"ace-kb-02"},{prompt:"How does it surface old reports?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"One library, two experiences — the right read for a person, the citable source for a machine.",chips:[{prompt:"How does Ace surface our research?",atomId:"ace-dual-human"},{prompt:"How do agents cite our content?",atomId:"ace-dual-machine"}]},useCases:{order:["Engagement","Consideration","Conversion"],subhead:"Three ways to make existing content earn more.",chips:[{prompt:"How does Ace surface our research?",atomId:"ace-uc-engagement"},{prompt:"Does it need new content?",atomId:"ace-uc-consideration"},{prompt:"How does it repurpose on-brand?",atomId:"ace-uc-conversion"}]},ctaHeadline:"Ready to see Ace on your library?",keepExploring:["What sources can it read?","Does it need new content?","How does it repurpose on-brand?","How does it surface research?","Show me a live example"]},"Media / Paid":{hero:{headline:"Convert the traffic you’re buying.",subhead:"Adaptive post-click experiences composed for each visitor’s intent — human or agent. More conversion per dollar.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages vs. the static control.","Match the page to the ad’s promise, the moment they land.","Capture demand routed through answer engines you don’t bid on yet."],whereAceSits:{headline:"Ace sits on top of your existing stack — high-converting post-click experiences for visitors; citable content for the agents routing demand.",guarantees:[{title:"No Generative AI risk",body:"your words, never hallucinated."},{title:"No replatforming",body:"keep your LP and UTM logic."},{title:"No content treadmill",body:"one page that adapts to every campaign."}]},knowledgeBase:{lead:"Ace atomizes your content and aligns it to intent — so the post-click experience reshapes itself to match each campaign, source, and audience automatically.",chips:[{prompt:"Does it work per campaign?",atomId:"ace-kb-01"},{prompt:"Can I keep UTM logic?",atomId:"ace-kb-02"},{prompt:"How does it match the ad creative?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"One knowledge base, two experiences — convert the click, and capture the demand before it.",chips:[{prompt:"How does Ace read intent?",atomId:"ace-dual-human"},{prompt:"How does this lift ROAS?",atomId:"ace-dual-machine"}]},useCases:{order:["Conversion","Consideration","Engagement"],subhead:"Start where wasted spend is highest.",chips:[{prompt:"How does Ace lift ROAS?",atomId:"ace-uc-conversion"},{prompt:"Does it work per campaign?",atomId:"ace-uc-consideration"},{prompt:"How fast can we test it?",atomId:"ace-uc-engagement"}]},ctaHeadline:"Ready to see Ace on a landing page?",keepExploring:["How does it lift ROAS?","Does it work per campaign?","Can I keep UTMs?","How fast can we test?","Show me a before/after"]},"Martech / Ops":{hero:{headline:"One layer for humans and machines.",subhead:"Adaptive experiences and structured agent content from a single knowledge base — on top of the stack you already run.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages vs. the static control.","Personalization without another rule engine to maintain.","Structured, citable content from the same source of truth."],whereAceSits:{headline:"Ace sits on top of your existing stack — one layer that serves people and machines, with no new system of record.",guarantees:[{title:"No Generative AI risk",body:"your words, never hallucinated."},{title:"No replatforming",body:"sits on the stack you already run."},{title:"No content treadmill",body:"reassembled, not rewritten."}]},knowledgeBase:{lead:"Ace ingests from your existing properties and assets — no new CMS, no new SoR — atomizes them, and aligns to intent, so one knowledge base feeds every output.",chips:[{prompt:"What sources can Ace read?",atomId:"ace-kb-01"},{prompt:"Is there a new system of record?",atomId:"ace-kb-02"},{prompt:"What tools can it replace?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"One knowledge base, two outputs — fewer point tools, not more.",chips:[{prompt:"Where does it sit in the stack?",atomId:"ace-dual-human"},{prompt:"What does it consolidate?",atomId:"ace-dual-machine"}]},useCases:{order:["Conversion","Consideration","Engagement"],subhead:"Three patterns, ranked by integration simplicity.",chips:[{prompt:"What’s the integration lift?",atomId:"ace-uc-conversion"},{prompt:"What does it replace?",atomId:"ace-uc-consideration"}
214,{prompt:"How is content ingested?",atomId:"ace-uc-engagement"}]},ctaHeadline:"Ready to see Ace on your stack?",keepExploring:["Where does it sit in the stack?","What does it consolidate?","What will security want?","What’s the integration lift?","Show me a live example"]},Agency:{hero:{headline:"Convert humans and machines — on your clients’ URLs.",subhead:"Adaptive, personalized experiences composed in real time from each client’s own content. Results to show, no rebuild to run.",secondaryCtaLabel:"See Ace live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages vs. the static control — a number to put in the deck.","Deliver conversational experiences without a client replatform.","Own the AI-visibility mandate clients are now asking about."],whereAceSits:{headline:"Ace sits on top of each client’s existing stack — on-brand experiences for their visitors; citable content for the agents.",guarantees:[{title:"No Generative AI risk",body:"their words, never hallucinated."},{title:"No replatforming",body:"deploy on their URLs in 24 hours."},{title:"No content treadmill",body:"more from their library, not more retainer hours."}]},knowledgeBase:{lead:"Ace ingests the client’s existing content, atomizes it, and aligns to intent — a per-client knowledge base you can stand up fast and report on.",chips:[{prompt:"Can I run this across accounts?",atomId:"ace-kb-01"},{prompt:"How fast is a client preview?",atomId:"ace-kb-02"},{prompt:"Can I white-label the report?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"One client knowledge base, two experiences — a win you can show on both sides.",chips:[{prompt:"How does Ace read intent?",atomId:"ace-dual-human"},{prompt:"What can I show the client?",atomId:"ace-dual-machine"}]},useCases:{order:["Conversion","Engagement","Consideration"],subhead:"Three repeatable plays to run across the book.",chips:[{prompt:"What results can I show?",atomId:"ace-uc-conversion"},{prompt:"How fast is a client preview?",atomId:"ace-uc-engagement"},{prompt:"Can I run it across clients?",atomId:"ace-uc-consideration"}]},ctaHeadline:"Ready to bring a client preview?",keepExploring:["Can I run it across clients?","Is there a partner model?","What can I show clients?","How fast is a preview?","How does pricing work for us?"]},"Investor / Strategic":{hero:{headline:"The semantic layer for humans and machines.",subhead:"AI experience infrastructure for the conversational web — one knowledge base composed for people and structured for agents.",secondaryCtaLabel:"See it live on Google",secondaryCtaAccentWord:"Google"},statTiles:["Up to 3× on adaptive pages vs. the static control. The value proof.","The human-side market: personalization, finally delivered.","The machine-side market: the citable layer for the agentic web."],whereAceSits:{headline:"Ace sits on top of any stack — a horizontal layer serving both the human and machine sides of every brand’s web presence.",guarantees:[{title:"No Generative AI risk",body:"a brand-safe moat enterprises can adopt."},{title:"No replatforming",body:"zero switching cost on the way in."},{title:"No content treadmill",body:"margin-friendly, reassembled not rewritten."}]},knowledgeBase:{lead:"The Knowledge Base is the moat: every source atomized and intent-aligned into a proprietary semantic asset that compounds per customer and feeds both markets.",chips:[{prompt:"What’s the defensible moat?",atomId:"ace-kb-01"},{prompt:"How does it compound per customer?",atomId:"ace-kb-02"},{prompt:"Is this a feature or a platform?",atomId:"ace-kb-03"}]},dualAudience:{subhead:"One asset, two markets — the structural reason this is a category, not a feature.",chips:[{prompt:"What’s the moat?",atomId:"ace-dual-human"},{prompt:"Why two markets from one layer?",atomId:"ace-dual-machine"}]},useCases:{order:["Conversion","Consideration","Engagement"],subhead:"Three wedges into a horizontal platform.",chips:[{prompt:"What’s the land-and-expand motion?",atomId:"ace-uc-conversion"},{prompt:"How does it monetize?",atomId:"ace-uc-consideration"},{prompt:"What’s the TAM?",atomId:"ace-uc-engagement"}]},ctaHeadline:"Ready to see Ace on your stack?",keepExploring:["What’s the moat?","Is this a feature or a category?","How does it monetize?","What’s the TAM?","What does live-on-Google prove?"]}},h7={"01":{src:"/knotch/ace/kb-ingest.png",alt:"Every source flows into one Knowledge Base"},"02":{src:"/knotch/ace/kb-atomize.png",alt:"Long-form content broken into reusable atoms"},"03":{src:"/knotch/ace/kb-align.png",alt:"Atoms matched to audie
214nce intent"}},h9={Conversion:{src:"/knotch/ace/uc-conversion.png",alt:"Conversion"},Consideration:{src:"/knotch/ace/uc-consideration.png",alt:"Consideration"},Engagement:{src:"/knotch/ace/uc-engagement.png",alt:"Engagement"}},ge={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto",paddingInline:"clamp(20px, 5vw, 40px)"},gt="inline-flex items-center justify-center no-underline whitespace-nowrap rounded-full font-medium uppercase tracking-[0.06em] text-[length:var(--type-meta)] [font-family:var(--font-mono)] transition duration-300 ease-out hover:-translate-y-px cursor-pointer disabled:cursor-not-allowed disabled:opacity-60",ga={fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",fontWeight:"var(--font-weight-default)",letterSpacing:"0.16em",textTransform:"uppercase",color:"var(--color-fg-muted)",margin:0},gr={borderTop:"1px solid var(--color-border)"},gn={display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 260px), 1fr))",gap:"20px",marginTop:"2.5rem"};function go({index:e,eyebrow:t,children:a}){return(0,l.jsx)("section",{"aria-label":t,style:{...ge,paddingBlock:"90px 0"},children:(0,l.jsxs)("div",{style:{...gr,paddingTop:"40px"},children:[(0,l.jsxs)("p",{style:{...ga,marginBottom:"18px"},children:[e?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:e})," "]}):null,(0,l.jsx)("span",{style:{color:"var(--color-fg-muted)"},children:t})]}),a]})})}function gi({children:e,maxWidth:t,level:a="h2"}){return(0,l.jsx)("h2",{style:{fontSize:"h3"===a?"var(--type-h2)":"var(--type-h1)",fontWeight:"var(--font-weight-default)",lineHeight:1.15,letterSpacing:"-0.03em",color:"var(--color-fg)",margin:0,maxWidth:t},children:e})}function gs(){return(0,l.jsx)("img",{src:"/knotch/ace/audience-human.png",alt:"A personalized, on-brand experience composed for an AI-native visitor",loading:"lazy",style:{width:"100%",aspectRatio:"3 / 2",objectFit:"cover",borderRadius:"16px",display:"block"}})}function gl(){return(0,l.jsx)("img",{src:"/knotch/ace/audience-agent.png",alt:"Structured, citable content served to AI agents and LLMs",loading:"lazy",style:{width:"100%",aspectRatio:"3 / 2",objectFit:"cover",borderRadius:"16px",display:"block"}})}let gc=["Google","Zillow","ally","Cox Automotive","Square","Deloitte.","GEICO"],gd=[{icon:"trending-up",title:"Increase engagement",body:(0,l.jsxs)(l.Fragment,{children:["Up to ",(0,l.jsx)(gh,{children:"5×"})," on adaptive pages versus the static control."]})},{icon:"message-circle",title:"Win AI-native buyers",body:(0,l.jsxs)(l.Fragment,{children:["Personalized, conversational experiences that convert up to"," ",(0,l.jsx)(gh,{children:"3× more"}),"."]})},{icon:"eye",title:"Stay visible to AI agents",body:(0,l.jsxs)(l.Fragment,{children:["Structured, citable content — authoritative inside"," ",(0,l.jsx)(function({children:e}){return(0,l.jsx)("span",{style:{color:"var(--color-brand-500)",fontFamily:"var(--font-mono)"},children:e})},{children:"every LLM"}),"."]})}],gu=[{icon:"shield-check",title:"No Generative AI risk",body:"Your words, never hallucinated."},{icon:"layers",title:"No replatforming",body:"Sits on the stack you already run."},{icon:"infinity",title:"No content treadmill",body:"Reassembled, not rewritten."}],gp=[{step:"01",title:"Ingest",icon:"download",tagline:"Every source. One place.",body:"Ace pulls from your existing web properties, content hubs, video, feeds, and brand assets. No new content required.",chip:"What sources can Ace read?"},{step:"02",title:"Atomize",icon:"grid-3x3",tagline:"Break it down. Build it up.",body:"Every piece of content is broken into modular atoms — tagged by topic, audience, funnel stage, and intent — so Ace can reassemble them for any visitor.",chip:"What exactly is an atom?"},{step:"03",title:"Align",icon:"target",tagline:"Intent-matched. Always.",body:"Every atom is mapped against semantic intent. Ace knows what you have, what audiences are asking, and where your coverage has gaps.",chip:"How does intent matching work?"}],gm=Object.fromEntries([{name:"Conversion",tagline:"Turn AI-native traffic into customers.",body:"Ace adapts each experience to the visitor's intent the moment they land — in the format most likely to convert them. More of the traffic you're already generating, captured.",chip:"How does Ace lift conversion?"},{name:"Consideration",tagline:"Shorten the path from interest to intent.",body:"Most buyers live in the missing middle. Ace reads where they are, surfaces what moves them forward, and adapts as their questions evolve. Shorter cycles. Higher intent at conversion.",chip:"What is the missing middle?"},{name:"Engagement",tagline:"Make thought leadership work harder.",body:"Your best ideas are buried in reports readers skim. Ace brings the right thinking to the right reader — assembled from your full body of work, in whatever format fits the moment.",chip:"How does Ace surface our research?"}].map(e=>[e.name,e]));function gh({children:e}){return(0,l.jsx)("span",{style:{color:"var(--color-brand-500)",fontWeight:"var(--font-weight-default)"},children:e})}function gg({cards:e,idBase:t}){let a=(0,eu.useRef)(null),[r,n]=(0,eu.useState)(0),o=e.length,i=(0,eu.useCallback)(()=>{let e=a.current;if(!e)return;let t=e.firstElementChild;if(!t)return;let r=t.offsetWidth+20;n(Math.max(0,Math.min(o-1,Math.round(e.scrollLeft/r))))},[o]);(0,eu.useEffect)(()=>{let e=a.current;if(e)return e.addEventListener("scroll",i,{passive:!0}),()=>e.removeEventListener("scroll",i)},[i]);let s=(0,eu.useCallback)(e=>{let t=a.current;if(!t)return;let r=t.firstElementChild;if(!r)return;let n=r.offsetWidth+20,o=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;t.scrollBy({left:e*n,behavior:o?"auto":"smooth"})},[]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{position:"relative",overflow:"hidden"},children:[(0,l.jsx)("div",{ref:a,className:"knotch-carousel-track",style:{display:"flex",gap:"20px",overflowX:"auto",scrollSnapType:"x mandatory",scrollbarWidth:"none"},children:e.map((e,t)=>(0,l.jsx)("div",{style:{flex:"0 0 calc(92% - 10px)",scrollSnapAlign:"start"},children:e},t))}),(0,l.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",top:0,bottom:0,right:0,width:"120px",pointerEvents:"none",background:"linear-gradient(90deg, transparent, var(--color-bg))"}})]}),(0,l.jsx)("style",{children:".knotch-carousel-track::-webkit-scrollbar{display:none;}"}),(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginTop:"20px"},children:[(0,l.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",color:"var(--color-fg-muted)"},children:[r+1," / ",o]}),(0,l.jsxs)("div",{style:{display:"flex",gap:"10px"},children:[(0,l.jsx)(gf,{direction:"prev",label:`Previous ${t} card`,onClick:()=>s(-1)}),(0,l.jsx)(gf,{direction:"next",label:`Next ${t} card`,onClick:()=>s(1)})]})]})]})}function gf({direction:e,label:t,onClick:a}){return(0,l.jsx)("button",{type:"button","aria-label":t,onClick:a,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"40px",height:"40px",borderRadius:"50%",background:"transparent",border:"1px solid var(--color-border)",color:"var(--color-fg)",cursor:"pointer"},children:(0,l.jsx)(ms,{name:"prev"===e?"chevron-left":"chevron-right",size:18})})}let gy={default:{heroSubhead:"The Content Intelligence & Optimization Platform. Measure what your content does, prove its value, and make every piece work harder — powered by your own first-party data.",statTiles:["Up to 3× on the content Knotch One optimizes.","Tie every piece of content to the outcomes it drives.","Fine-tuned by your first-party data — not someone else's."],carousels:{measure:{lead:"Knotch One combines three types of data signals — engagement, value & sentiment, and audience journeys — to give you a holistic view of how your audience perceives your content and where it over- or under-performs.",slideChips:[{prompt:"How do Knotch Cards capture sentiment?",atomId:"knotch-one-measure-0-chip"},{prompt:"What journeys can it map?",atomId:"knotch-one-measure-1-chip"},{prompt:"What's in the Knotch Score?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Connect every page directly to engagement, conversions, and brand impact. Gain actionable insights to optimize your strategy and make every piece of content work harder for the business.",slideChips:[{prompt:"What does the audit score?",atomId:"knotch-one-prove-0-chip"}
214,{prompt:"How is conversion attributed?",atomId:"knotch-one-prove-1-chip"},{prompt:"How does it tie to revenue?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"Knotch One is the only generative AI platform built with content performance at its core. Trained on your unique content data, content landscape, and brand guidelines — to optimize, atomize, version, and create new content that generates results.",slideChips:[{prompt:"How is content repurposed?",atomId:"knotch-one-improve-0-chip"},{prompt:"What does optimize mean?",atomId:"knotch-one-improve-1-chip"},{prompt:"How on-brand is it?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Designed for marketers — easy-to-use tools, automated insights, and efficient workflows so you focus on strategy, not spreadsheets.",slideChips:[{prompt:"What do the dashboards show?",atomId:"knotch-one-effortless-0-chip"},{prompt:"How much manual work?",atomId:"knotch-one-effortless-1-chip"},{prompt:"Who is it built for?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see Knotch One on your library?",subhead:"A working audit within 24 hours, on your real content. See what's performing, what isn't, and where to act first."},keepExploring:["How fast can we go live?","What's the Knotch Score?","How does attribution work?","Show me a live dashboard","What does it cost?"]},"CMO / CCO":{heroSubhead:"The Content Intelligence & Optimization Platform. Prove content’s contribution to the business, and make every piece work harder — on your own first-party data.",statTiles:["Up to 3× on the content Knotch One optimizes.","Tie every piece of content to the outcomes it drives — a number you can take upstairs.","Fine-tuned by your first-party data, not someone else’s."],carousels:{measure:{lead:"Knotch One combines engagement, value & sentiment, and audience-journey signals into one view of how content performs — so you can defend the budget with evidence, not anecdotes.",slideChips:[{prompt:"What does the Knotch Score tell leadership?",atomId:"knotch-one-measure-0-chip"},{prompt:"What journeys prove impact?",atomId:"knotch-one-measure-1-chip"},{prompt:"How do I report this up?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Connect every page to engagement, conversions, and brand impact — the line from content spend to business outcome, in one number.",slideChips:[{prompt:"How does it connect content to revenue?",atomId:"knotch-one-prove-0-chip"},{prompt:"How is conversion attributed?",atomId:"knotch-one-prove-1-chip"},{prompt:"Can I show ROI in one number?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"The only generative-AI platform built with content performance at its core — trained on your data and brand to turn proof into more output without more headcount.",slideChips:[{prompt:"How does AI lift performance?",atomId:"knotch-one-improve-0-chip"},{prompt:"Does it stay on-brand?",atomId:"knotch-one-improve-1-chip"},{prompt:"More output without more team?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Marketer-friendly tools and automated insights — so your team spends time on strategy and the story, not spreadsheets.",slideChips:[{prompt:"What do the dashboards show leadership?",atomId:"knotch-one-effortless-0-chip"},{prompt:"How much manual work?",atomId:"knotch-one-effortless-1-chip"},{prompt:"Who is it built for?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see Knotch One on your library?",subhead:"A working audit within 24 hours, on your real content. See what’s performing, what isn’t, and where to act first."},keepExploring:["What ROI have brands seen?","How does it tie content to revenue?","What did it replace?","Show me a live dashboard","How fast to value?"]},"CDO / CTO":{heroSubhead:"The Content Intelligence & Optimization Platform — powered by your own first-party data, not third-party guesswork. Measurable, attributable, yours.",statTiles:["Up to 3× on the content Knotch One optimizes.","Outcome attribution built on data you own and can audit.","Fine-tuned by your first-party data, not someone else’s."],carousels:{measure:{lead:"Knotch One unifies engagement, value & sentiment, and journey signals into one auditable view — first-party, traceable, and yours to govern.",slideChips:[{prompt:"What signals power the score?",atomId:"knotch-one-measure-0-chip"},{prompt:"How are journeys tracked technically?",atomId:"knotch-one-measure-1-chip"},{prompt:"What’s the data model?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Multi-session, full-funnel attribution connects content to outcomes with a defensible data model — no black box, no borrowed third-party signal.",slideChips:[{prompt:"How 
214is conversion attributed?",atomId:"knotch-one-prove-0-chip"},{prompt:"Is attribution auditable?",atomId:"knotch-one-prove-1-chip"},{prompt:"What’s the methodology?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"A generative-AI layer trained only on your content data and brand guidelines — your data stays your data, and the model never learns from anyone else’s.",slideChips:[{prompt:"What data trains the AI?",atomId:"knotch-one-improve-0-chip"},{prompt:"Is our data isolated?",atomId:"knotch-one-improve-1-chip"},{prompt:"How on-brand is the output?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Automated pipelines do the scoring and tagging — no manual lift, no spreadsheets, and a clear line of provenance for every number.",slideChips:[{prompt:"How automated is the pipeline?",atomId:"knotch-one-effortless-0-chip"},{prompt:"What’s the manual lift?",atomId:"knotch-one-effortless-1-chip"},{prompt:"How is data governed?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see Knotch One on your library?",subhead:"A working audit within 24 hours, on your real content. Built on first-party data you own and can audit."},keepExploring:["Where does the data live?","How is attribution modeled?","Is our data used to train shared models?","Show me a live dashboard","What does security want to know?"]},"Growth / Performance":{heroSubhead:"The Content Intelligence & Optimization Platform. See which content converts, prove it, and optimize the rest — on your first-party data.",statTiles:["Up to 3× on the content Knotch One optimizes.","Tie every piece to the conversions it drives.","Fine-tuned by your first-party data, not someone else’s."],carousels:{measure:{lead:"Knotch One combines engagement, value & sentiment, and journey signals into one score — so you can see exactly which content pulls its weight in the funnel.",slideChips:[{prompt:"What’s in the Knotch Score?",atomId:"knotch-one-measure-0-chip"},{prompt:"Which assets drive conversion?",atomId:"knotch-one-measure-1-chip"},{prompt:"How do journeys map to the funnel?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Multi-session, full-funnel attribution ties conversions to each asset — first, middle, or last touch — so you optimize on real contribution, not last-click.",slideChips:[{prompt:"How is conversion attributed?",atomId:"knotch-one-prove-0-chip"},{prompt:"Beyond last-click?",atomId:"knotch-one-prove-1-chip"},{prompt:"How does it tie to revenue?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"A generative-AI platform built on performance — repurpose winners, fix underperformers, and compound conversion from the content you already have.",slideChips:[{prompt:"How does it optimize low performers?",atomId:"knotch-one-improve-0-chip"},{prompt:"How are winners repurposed?",atomId:"knotch-one-improve-1-chip"},{prompt:"How fast does it compound?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Automated insights surface what to change next — act faster, test more, and stop hand-building reports.",slideChips:[{prompt:"What do dashboards show?",atomId:"knotch-one-effortless-0-chip"},{prompt:"How fast to act?",atomId:"knotch-one-effortless-1-chip"},{prompt:"How much manual work?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see Knotch One on your library?",subhead:"A working audit within 24 hours, on your real content. See what converts, what doesn’t, and where to act first."},keepExploring:["Which content converts?","How is conversion attributed?","How fast can I see lift?","Show me a live dashboard","What’s the Knotch Score?"]},Brand:{heroSubhead:"The Content Intelligence & Optimization Platform. Prove your brand’s content lands, and improve it — on your own data, in your own voice.",statTiles:["Up to 3× on the content Knotch One optimizes.","Move past vanity metrics to how content actually shifts perception.","Fine-tuned by your first-party data and brand guidelines, not someone else’s."],carousels:{measure:{lead:"Knotch One combines engagement, value & sentiment, and journey signals — so you finally see how audiences perceive your content, not just whether they clicked.",slideChips:[{prompt:"How do Knotch Cards capture sentiment?",atomId:"knotch-one-measure-0-chip"},{prompt:"What does the audience really think?",atomId:"knotch-one-measure-1-chip"},{prompt:"What’s in the Knotch Score?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Connect every page to engagement, conversions, and brand impact — proof that brand work moves the business, in language leadership respects.",slideChips:[{prompt:"How does it prove brand impact?",atomId:"knotch-one-prove-0-chip"},{prompt:"Beyond vanity metrics?",atomId:"knotch-one-prove-1-chip"}
214,{prompt:"How is impact attributed?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"The only generative-AI platform built on performance — trained on your brand guidelines, so optimization amplifies your voice instead of flattening it.",slideChips:[{prompt:"How on-brand is the AI?",atomId:"knotch-one-improve-0-chip"},{prompt:"How are guardrails enforced?",atomId:"knotch-one-improve-1-chip"},{prompt:"Does it preserve our voice?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Marketer-friendly tools and automated insights free your team to protect the work, not wrangle spreadsheets.",slideChips:[{prompt:"What do the dashboards show?",atomId:"knotch-one-effortless-0-chip"},{prompt:"How much manual work?",atomId:"knotch-one-effortless-1-chip"},{prompt:"Who is it built for?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see Knotch One on your library?",subhead:"A working audit within 24 hours, on your real content. See what resonates, what doesn’t, and where to act first."},keepExploring:["How does it measure perception?","Does optimization stay on-brand?","What’s sentiment based on?","Show me a live dashboard","How does it prove brand impact?"]},Content:{heroSubhead:"The Content Intelligence & Optimization Platform. Prove your content’s value, and make every piece work harder — trained on your own data, not someone else’s.",statTiles:["Up to 3× on the content Knotch One optimizes.","Tie every piece you make to the outcomes it drives.","Fine-tuned by your first-party data, not someone else’s."],carousels:{measure:{lead:"Knotch One combines engagement, value & sentiment, and journey signals into one view — so you know which pieces land, which fade, and why, without guessing from a downstream KPI weeks later.",slideChips:[{prompt:"How do Knotch Cards capture sentiment?",atomId:"knotch-one-measure-0-chip"},{prompt:"What journeys can it map?",atomId:"knotch-one-measure-1-chip"},{prompt:"What’s in the Knotch Score?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Connect every page to engagement, conversions, and brand impact — finally proving the value of the work your team pours itself into.",slideChips:[{prompt:"What does the audit score?",atomId:"knotch-one-prove-0-chip"},{prompt:"How does it prove value?",atomId:"knotch-one-prove-1-chip"},{prompt:"How is conversion attributed?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"The only generative-AI platform built on performance — version your winners and revive your underperformers, on-brand, without doubling the team.",slideChips:[{prompt:"How is content repurposed?",atomId:"knotch-one-improve-0-chip"},{prompt:"What does optimize mean?",atomId:"knotch-one-improve-1-chip"},{prompt:"How on-brand is it?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Marketer-friendly dashboards and automated insights organize the work for you — so you spend your time on the ideas, not the reporting.",slideChips:[{prompt:"What do the dashboards show?",atomId:"knotch-one-effortless-0-chip"},{prompt:"How much manual work?",atomId:"knotch-one-effortless-1-chip"},{prompt:"Who is it built for?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see Knotch One on your library?",subhead:"A working audit within 24 hours, on your real content. See what’s performing, what isn’t, and where to act first."},keepExploring:["How does it prove content value?","How is content repurposed?","Does it stay on-brand?","Show me a live dashboard","What’s the Knotch Score?"]},"Media / Paid":{heroSubhead:"The Content Intelligence & Optimization Platform. Prove which content earns the paid traffic you send it — and optimize the rest — on your first-party data.",statTiles:["Up to 3× on the content Knotch One optimizes.","Tie the content behind your campaigns to the conversions it drives.","Fine-tuned by your first-party data, not someone else’s."],carousels:{measure:{lead:"Knotch One combines engagement, value & sentiment, and journey signals — so you can see which content actually converts the audiences you’re paying to send to it.",slideChips:[{prompt:"Which assets convert paid traffic?",atomId:"knotch-one-measure-0-chip"},{prompt:"How do journeys map to campaigns?",atomId:"knotch-one-measure-1-chip"},{prompt:"What’s in the Knotch Score?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Multi-session, full-funnel attribution ties conversions to each asset in the paid journey — so you know 
214which content justifies the spend behind it.",slideChips:[{prompt:"How is conversion attributed across the journey?",atomId:"knotch-one-prove-0-chip"},{prompt:"Beyond last-click?",atomId:"knotch-one-prove-1-chip"},{prompt:"How does it tie to spend?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"A generative-AI platform built on performance — fix the landing content dragging campaigns down and repurpose what converts across audiences.",slideChips:[{prompt:"How does it fix landing content?",atomId:"knotch-one-improve-0-chip"},{prompt:"How are winners repurposed?",atomId:"knotch-one-improve-1-chip"},{prompt:"How fast does it lift?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Automated insights flag the content costing you conversions — no manual audits, no waiting on a quarterly readout.",slideChips:[{prompt:"What do the dashboards show?",atomId:"knotch-one-effortless-0-chip"},{prompt:"How fast to act?",atomId:"knotch-one-effortless-1-chip"},{prompt:"How much manual work?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see Knotch One on your library?",subhead:"A working audit within 24 hours, on your real content. See what converts your paid traffic, what doesn’t, and where to act first."},keepExploring:["Which content converts paid traffic?","How is conversion attributed?","Can I tie it to campaigns?","Show me a live dashboard","How fast to value?"]},"Martech / Ops":{heroSubhead:"The Content Intelligence & Optimization Platform. Measure, prove, and optimize content from one platform — on your first-party data, no spreadsheet sprawl.",statTiles:["Up to 3× on the content Knotch One optimizes.","One scored source of truth for content performance.","Fine-tuned by your first-party data, not someone else’s."],carousels:{measure:{lead:"Knotch One unifies engagement, value & sentiment, and journey signals into one platform — replacing the patchwork of analytics tools and manual tagging.",slideChips:[{prompt:"What signals does it unify?",atomId:"knotch-one-measure-0-chip"},{prompt:"What does it replace?",atomId:"knotch-one-measure-1-chip"},{prompt:"How are journeys tracked?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Always-on, multi-session attribution scores every asset automatically — no spreadsheets, no manual tagging, no point-in-time snapshots that go stale.",slideChips:[{prompt:"Is scoring automated?",atomId:"knotch-one-prove-0-chip"},{prompt:"How is attribution modeled?",atomId:"knotch-one-prove-1-chip"},{prompt:"Any manual tagging?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"A generative-AI layer trained on your data and brand — one system to measure and improve, not another disconnected tool to integrate.",slideChips:[{prompt:"What trains the AI?",atomId:"knotch-one-improve-0-chip"},{prompt:"Is it one system or another tool?",atomId:"knotch-one-improve-1-chip"},{prompt:"How on-brand is output?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Automated insights and self-running workflows mean fewer tools to maintain and no manual reporting lift on your team.",slideChips:[{prompt:"How automated are workflows?",atomId:"knotch-one-effortless-0-chip"},{prompt:"What’s the manual lift?",atomId:"knotch-one-effortless-1-chip"},{prompt:"How does it fit the stack?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see Knotch One on your library?",subhead:"A working audit within 24 hours, on your real content. One platform for what’s performing, what isn’t, and where to act first."},keepExploring:["What tools does it replace?","How does it integrate?","Where does the data live?","Show me a live dashboard","How is attribution modeled?"]},Agency:{heroSubhead:"The Content Intelligence & Optimization Platform. Prove your content work to clients, and improve it across the book — on their first-party data.",statTiles:["Up to 3× on the content Knotch One optimizes — a number to put in the client report.","Tie the content you deliver to the outcomes it drives for clients.","Fine-tuned by each client’s first-party data, not someone else’s."],carousels:{measure:{lead:"Knotch One combines engagement, value & sentiment, and journey signals into one view per client — so you walk into every QBR with evidence, not opinions.",slideChips:[{prompt:"What can I show in a QBR?",atomId:"knotch-one-measure-0-chip"},{prompt:"What journeys can it map?",atomId:"knotch-one-measure-1-chip"},{prompt:"What’s in the Knotch Score?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Multi-session, full-funnel attribution proves the content you produce drives outcomes — the case for renewal and expansion, in one number.",slideChips:[{prompt:"How does it prove our content value?",atomId:"knotch-one-prove-0-chip"}
214,{prompt:"How is conversion attributed?",atomId:"knotch-one-prove-1-chip"},{prompt:"Can I white-label it?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"A generative-AI platform built on performance — version winners and fix underperformers across accounts, on-brand, without burning retainer hours.",slideChips:[{prompt:"How are winners repurposed across accounts?",atomId:"knotch-one-improve-0-chip"},{prompt:"What does optimize mean?",atomId:"knotch-one-improve-1-chip"},{prompt:"How on-brand is it?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Automated insights and dashboards mean you report more, faster — with less of your team’s time spent assembling decks.",slideChips:[{prompt:"Can I report faster?",atomId:"knotch-one-effortless-0-chip"},{prompt:"How much manual work?",atomId:"knotch-one-effortless-1-chip"},{prompt:"Can I run it across clients?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see Knotch One on a client’s library?",subhead:"A working audit within 24 hours, on their real content. See what’s performing, what isn’t, and where to act first."},keepExploring:["Can I run this across clients?","Can I white-label the report?","What can I show clients?","Show me a live dashboard","How does pricing work for us?"]},"Investor / Strategic":{heroSubhead:"The Content Intelligence & Optimization Platform — the first-party data engine that proves content drives revenue, and the measurement layer beneath the Ace expansion.",statTiles:["Up to 3× on the content Knotch One optimizes — the value proof.","The data that ties content to outcomes — and seeds the knowledge base.","Fine-tuned by proprietary first-party data, not someone else’s."],carousels:{measure:{lead:"Knotch One unifies engagement, value & sentiment, and journey signals — a proprietary first-party data asset that deepens with every customer and every piece of content.",slideChips:[{prompt:"What’s the proprietary data asset?",atomId:"knotch-one-measure-0-chip"},{prompt:"How does it compound?",atomId:"knotch-one-measure-1-chip"},{prompt:"What’s the Knotch Score?",atomId:"knotch-one-measure-2-chip"}]},prove:{lead:"Full-funnel attribution proves content drives revenue — the wedge that lands the customer and the data that compounds the moat.",slideChips:[{prompt:"Does it prove content drives revenue?",atomId:"knotch-one-prove-0-chip"},{prompt:"What’s the land motion?",atomId:"knotch-one-prove-1-chip"},{prompt:"How is value attributed?",atomId:"knotch-one-prove-2-chip"}]},improve:{lead:"A generative-AI layer trained on proprietary content data — the margin-expanding, retention-driving half of the platform, and the on-ramp to Ace.",slideChips:[{prompt:"How does it expand into Ace?",atomId:"knotch-one-improve-0-chip"},{prompt:"What’s the margin profile?",atomId:"knotch-one-improve-1-chip"},{prompt:"How does AI drive retention?",atomId:"knotch-one-improve-2-chip"}]},effortless:{lead:"Automated, self-running workflows keep cost-to-serve low — the operating leverage behind the model.",slideChips:[{prompt:"What’s the operating leverage?",atomId:"knotch-one-effortless-0-chip"},{prompt:"How low is cost-to-serve?",atomId:"knotch-one-effortless-1-chip"},{prompt:"How automated is it?",atomId:"knotch-one-effortless-2-chip"}]}},cta:{headline:"Ready to see the platform on real content?",subhead:"A working audit within 24 hours, on real content. The proof point and the land motion behind the thesis."},keepExploring:["How does this attach to Ace?","What’s the data moat?","What’s the expansion motion?","Show me a live dashboard","How does it retain?"]}},gv="#6d28d9",gb={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto",paddingInline:"24px"},gx={fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",fontWeight:"var(--font-weight-default)",letterSpacing:"0.16em",textTransform:"uppercase",color:"var(--color-fg-muted)",margin:0},gw={borderTop:"1px solid var(--color-border)"};function gk({children:e,maxWidth:t,level:a="h2"}){return(0,l.jsx)("h2",{style:{fontSize:"h3"===a?"var(--type-h2)":"var(--type-h1)",fontWeight:"var(--font-weight-default)",lineHeight:1.15,color:"var(--color-fg)",margin:0,maxWidth:t},children:e})}function g_({capability:e,carouselCopy:t,swapping:a}){let r=e.cards.map(e=>(0,l.jsx)(gj,{card:e},e.caption));return(0,l.jsx)("section",{"aria-label":`${e.index} — ${e.label}`,style:{...gb,paddingBlock:"90px 0"},children:(0,l.jsxs)("div",{style:{...gw,paddingTop:"40px"}
214,children:[(0,l.jsxs)("p",{style:{...gx,marginBottom:"16px"},children:[(0,l.jsx)("span",{style:{color:gv},children:e.index})," ",(0,l.jsx)("span",{style:{color:"var(--color-fg-muted)"},children:e.label})]}),(0,l.jsx)(gk,{maxWidth:"22ch",children:e.heading}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",lineHeight:1.5,color:"var(--color-fg-muted)",margin:"18px 0 36px 0",maxWidth:"70ch"},children:(0,l.jsx)(hN,{swapping:a,children:t.lead})}),(0,l.jsx)(gg,{cards:r,idBase:e.slug})]})})}function gj({card:e}){return(0,l.jsxs)("article",{style:{background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"24px",padding:"44px",display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 200px), 1fr))",gap:"48px",alignItems:"center",height:"100%"},children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{style:{fontSize:"var(--type-h2)",fontWeight:"var(--font-weight-default)",lineHeight:1.14,letterSpacing:"-0.025em",color:"var(--color-fg)",margin:0},children:e.title}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.6,color:"var(--color-fg-body)",margin:"1rem 0 0 0",maxWidth:"42ch"},children:e.body})]}),e.image?(0,l.jsx)("img",{src:e.image,alt:e.caption,loading:"lazy",style:{width:"100%",aspectRatio:"4 / 3",objectFit:"cover",borderRadius:"18px",display:"block"}}):(0,l.jsx)(gS,{caption:e.caption})]})}function gS({caption:e}){return(0,l.jsxs)("div",{"aria-hidden":"true",style:{background:"color-mix(in srgb, var(--color-fg) 4%, var(--color-bg-subtle))",borderRadius:"18px",aspectRatio:"4 / 3",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"12px",textAlign:"center",padding:"28px"},children:[(0,l.jsx)("span",{style:{width:"52px",height:"52px",borderRadius:"14px",background:"linear-gradient(135deg, #c4b5fd, #7fd4d4)",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"#4c1d95"},children:(0,l.jsx)(ms,{name:"bar-chart-3",size:22})}),(0,l.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.12em",textTransform:"uppercase",color:gv},children:e})]})}function gC({children:e}){return(0,l.jsx)("span",{style:{color:gv,fontFamily:"var(--font-mono)"},children:e})}let gI=["Google","Zillow","ally","Cox Automotive","Square","Deloitte.","GEICO"],gN=[{icon:"trending-up",title:"Increase conversions",body:(0,l.jsxs)(l.Fragment,{children:["Up to ",(0,l.jsx)(function({children:e}){return(0,l.jsx)("span",{style:{color:gv,fontWeight:"var(--font-weight-default)"},children:e})},{children:"3×"})," on the content Knotch One optimizes."]})},{icon:"circle-check",title:"Prove brand impact",body:(0,l.jsxs)(l.Fragment,{children:["Tie every piece of content to ",(0,l.jsx)(gC,{children:"the outcomes"})," it drives."]})},{icon:"zap",title:"Optimize with AI",body:(0,l.jsxs)(l.Fragment,{children:["Fine-tuned by ",(0,l.jsx)(gC,{children:"your first-party data"}),"— not someone else's."]})}],gA=[{index:"01",label:"Measure",slug:"measure",heading:"A 360° view of your content's performance.",intro:"Knotch One combines three types of data signals — engagement, value & sentiment, and audience journeys — to give you a holistic view of how your audience perceives your content and where it over- or under-performs.",cards:[{title:"Collect audience sentiment & feedback.",body:"Use Knotch Cards to survey people directly on your content, in the moment that matters. Get the true value your content is providing your audience — not a guess derived from a downstream KPI weeks after the fact.",chip:"How do Knotch Cards capture sentiment?",caption:"Sentiment survey",image:"/knotch/knotch-one/measure-1.png"},{title:"Track content journeys.",body:"Follow the path readers take across sessions and channels. Knotch traces every touch to each asset on every journey.",chip:"What journeys can it map?",caption:"Content journey",image:"/knotch/knotch-one/measure-2.png"},{title:"Measure engagement signals.",body:"Engagement, value, and sentiment combined into one Knotch Score for every asset in your library.",chip:"What's in the Knotch Score?",caption:"Knotch Score",image:"/knotch/knotch-one/measure-3.png"}]},{index:"02",label:"Prove",slug:"prove",heading:"Prove your content's value.",intro:"Connect every page directly to engagement, conversions, and brand impact. Gain actionable insights to optimize your strategy and make every piece of content work harder for the business.",cards:[{title:"Always-on content performance audit.",body:"Track effectiveness with Knotch One's always-on audit. Every piece in your library is scored, ranked, and re-scored as new data lands — no spreadsheets, no manual tagging, no point-in-time snapshots that go stale by Monday.",chip:"What does the audit score?",caption:"Performance audit",image:"/knotch/knotch-one/prove-1.png"},{title:"Attribute conversions.",body:"Multi-session, full-funnel attribution ties conversions to each asset in the journey — first, middle, or last.",chip:"How is conversion attributed?",caption:"Conversion funnel",image:"/knotch/knotch-one/prove-2.png"},{title:"Connect content to revenue.",body:"Tie every page to engagement, conversions, and brand impact — and report it in one number.",chip:"How does it tie to revenue?",caption:"Content to revenue",image:"/knotch/knotch-one/prove-3.png"}]},{index:"03",label:"Improve",slug:"improve",heading:"Improve your content's performance.",intro:"Knotch One is the only generative AI platform built with content performance at its core. Trained on your unique content data, content landscape, and brand guidelines — to optimize, atomize, version, and create new content that generates results.",cards:[{title:"Repurpose high-performing content.",body:"Trained on your data and brand guidelines, Knotch's AI versions top performers for different audiences, segments, channels, and formats. On-brand, amplified, and shipped without doubling the content team.",chip:"How is content repurposed?",caption:"Repurpose",image:"/knotch/knotch-one/improve-1.png"},{title:"Optimize low performers.",body:"Revitalize your underperformers — optimizing low-performing pages, sentiment, and content you paid to produce from scratch.",chip:"What does optimize mean?",caption:"Optimize",image:"/knotch/knotch-one/improve-2.png"},{title:"Create on-brand content.",body:"Generate net-new content trained on your brand guidelines and your content data — not someone else's.",chip:"How on-brand is it?",caption:"Create",image:"/knotch/knotch-one/improve-3.png"}]},{index:"04",label:"Effortless",slug:"effortless",heading:"Do it effortlessly.",intro:"Designed for marketers — easy-to-use tools, automated insights, and efficie
214nt workflows so you focus on strategy, not spreadsheets.",cards:[{title:"Effortless analytics.",body:"Powerful, marketer-friendly dashboards. Track performance, uncover insights, and act faster than ever.",chip:"What do the dashboards show?",caption:"Analytics dashboard",image:"/knotch/knotch-one/effortless-1.png"},{title:"Automated insights.",body:"Knotch One organizes the work for you, delivering insights and results without the manual lift.",chip:"How much manual work?",caption:"Automated insights",image:"/knotch/knotch-one/effortless-2.png"},{title:"Efficient workflows.",body:"Built for marketers — focus on strategy, not spreadsheets, with workflows that run themselves.",chip:"Who is it built for?",caption:"Workflow",image:"/knotch/knotch-one/effortless-3.png"}]}];var gE=e.i(43906),gT=e.i(67083);let gP={maxWidth:"var(--width-lg, 1024px)",marginInline:"auto",paddingInline:"24px"};function gz(e){(0,oA.useGSAP)(()=>{let t=e.current;if(!t)return;let a=Array.from(t.querySelectorAll("[data-typewriter]")),r=Array.from(t.querySelectorAll("[data-reveal]")),n=M.gsap.matchMedia();n.add("(prefers-reduced-motion: reduce)",()=>{for(let e of a)M.gsap.set(e.querySelectorAll("[data-char]"),{opacity:1});M.gsap.set(r,{opacity:1,y:0})}),n.add("(prefers-reduced-motion: no-preference)",()=>{let e=M.gsap.timeline();a.forEach((t,a)=>{let r=t.querySelectorAll("[data-char]");if(0===r.length)return;let n=Math.min(.045,1.5/r.length);e.to(r,{opacity:1,duration:.18,ease:"power1.out",stagger:n},0===a?0:"+=0.2")}),r.length>0&&e.fromTo(r,{opacity:0,y:20},{opacity:1,y:0,duration:.9,ease:"power3.out",stagger:.2},"+=0.35")})},{scope:e})}function gR({text:e,style:t,className:a}){let r=e.split("\n");return(0,l.jsx)("span",{"data-typewriter":!0,"aria-hidden":"true",className:a,style:{display:"block",...t},children:r.map((e,t)=>(0,l.jsxs)(eu.Fragment,{children:[t>0&&(0,l.jsx)("br",{}),Array.from(e).map((e,a)=>(0,l.jsx)("span",{"data-char":!0,style:{opacity:0,whiteSpace:"pre-wrap"},children:e},`${t}-${a}`))]},t))})}function gL({as:e="div",children:t,style:a,className:r,"aria-label":n}){return(0,l.jsx)(e,{"data-reveal":!0,className:r,style:{opacity:0,...a},"aria-label":n,children:t})}let gO={maxWidth:"var(--width-lg, 1024px)",marginInline:"auto",paddingInline:"24px"},gM=[{icon:"globe",title:"Remote first",body:"Knotch is fully remote — work where you do your best thinking, with a team spread across 17 states and 3 countries."},{icon:"pie-chart",title:"Equity grants",body:"Every full-time employee gets equity option grants — you don't just feel ownership of the company, you have it."}
214,{icon:"heart",title:"Comprehensive benefits",body:"For your mind, body & soul — a benefits package built for the remote working world."}],gH=[{icon:"heart-pulse",title:"Health, covered",body:"Medical, dental and vision plans — plus a One Medical membership for you and your family, where applicable."},{icon:"wallet",title:"$300 monthly stipend",body:"Reimbursement toward mental-health wellness, professional development and food costs."},{icon:"house",title:"Home office budget",body:"$200 reimbursement to build your at-home setup — plus everything you need to work well remotely."},{icon:"palmtree",title:"Real time off",body:"12+ guaranteed paid holidays and unlimited time off — and we mean it."},{icon:"trending-up",title:"401k & equity",body:"A 401k through Principal, equity grants for all full-time employees, and spot bonuses for over-performers."},{icon:"users",title:"Community matters",body:"Charity matches and encouragement to get involved in your community — plus internal mobility and growth paths."}],gD=[{label:"Resume review",body:"You put in the time to submit — we put in the time to review. A team member reads every resume to spot the passion behind the paper."},{label:"Initial call",body:"Let's chat. Our chance to get to know you, answer questions, and learn what excites you about joining us."},{label:"Manager interview",body:"Meet your potential manager and dive into the role, your goals, and how we can succeed together."},{label:"Meet the team",body:"Chat with the people you'll work with most often and see what life here is really like."},{label:"Technical interview",body:"For roles that need specific skills — the floor is yours to show off your expertise on real-world challenges."},{label:"Offer",body:"Success. We extend an offer and welcome you aboard with open arms — and a few celebratory emojis 🎉"}],gq={maxWidth:"var(--width-lg, 1024px)",marginInline:"auto",paddingInline:"24px"},gW=[{name:"Anda Gansca",title:"Co-Founder & CEO",avatar:"/knotch/team/anda-gansca.avif"},{name:"Aron Tzimas",title:"Co-Founder, Chief Product Officer",avatar:"/knotch/team/aron-tzimas.avif"},{name:"Ben Smith",title:"Chief Operating Officer",avatar:"/knotch/team/ben-smith.avif"},{name:"Andrew Bolton",title:"Chief Customer Officer",avatar:"/knotch/team/andrew-bolton.avif"},{name:"David Brown",title:"SVP, Head of Strategy",avatar:"/knotch/team/david-brown.avif"},{name:"Sekhar Vajjhala",title:"SVP of Engineering",avatar:"/knotch/team/sekhar-vajjhala.avif"},{name:"Tamika Bryant-Cromer",title:"SVP, Legal & HR Affairs",avatar:"/knotch/team/tamika-bryant-cromer.avif"},{name:"Jason Lee",title:"SVP, Strategic Finance",avatar:"/knotch/team/jason-lee.avif"}],g$=[{name:"Hilarie Koplow-McAdams",title:"Venture Partner, NEA",avatar:"/knotch/team/hilarie-koplow-mcadams.avif"},{name:"Tony Weisman",title:"Former CMO, Dunkin'",avatar:"/knotch/team/tony-weisman.avif"},{name:"Anda Gansca",title:"Co-Founder & CEO, Knotch",avatar:"/knotch/team/anda-gansca.avif"}],gU="Something went wrong. Please try again.",gF="Enter a valid email address.",gB=`
215.kns-row {
216  display: flex;
217  gap: 10px;
218  align-items: flex-start;
219  flex-wrap: wrap;
220}
221.kns-input {
222  flex: 1 1 260px;
223  min-width: 0;
224  background: color-mix(in srgb, var(--kns-fg) 6%, transparent);
225  border: 1px solid color-mix(in srgb, var(--kns-fg) 18%, transparent);
226  border-radius: var(--radius-sm, 10px);
227  padding: 13px 15px;
228  font-family: var(--font-sans);
229  font-size: var(--type-body-sm);
230  color: var(--kns-fg);
231  outline: none;
232  transition: border-color 0.18s ease, background 0.18s ease;
233}
234.kns-input:focus {
235  border-color: var(--color-brand-500);
236  background: color-mix(in srgb, var(--kns-fg) 10%, transparent);
237}
238.kns-input::placeholder {
239  color: color-mix(in srgb, var(--kns-fg) 40%, transparent);
240}
241.kns-submit {
242  transition: transform 0.18s ease, opacity 0.18s ease;
243}
244.kns-submit:hover:not(:disabled) {
245  transform: translateY(-1px);
246}
247.kns-link {
248  color: inherit;
249  text-decoration: underline;
250  text-underline-offset: 2px;
251}
252.kns-link:hover {
253  color: var(--color-brand-500);
254}
255@media (prefers-reduced-motion: reduce) {
256  .kns-submit, .kns-input { transition: none; }
257  .kns-submit:hover:not(:disabled) { transform: none; }
258}
259`,gG="announcement";function gK(){let e=(0,T.useClientConfig)().theme.surfaces[gG],[t,a]=(0,eu.useState)(""),[r,n]=(0,eu.useState)(null),[o,i]=(0,eu.useState)(!1),[s,c]=(0,eu.useState)(!1),d=async e=>{if(e.preventDefault(),!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim()))return void n(gF);n(null),i(!0);try{let e=await fetch("/api/hubspot/forms",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({form:"newsletter",values:{email:t.trim()},page:{uri:window.location.href,name:document.title}}
259)});if(e.ok)c(!0),(0,en.logTelemetry)("knotch-newsletter.subscribed",{});else if(422===e.status){let{message:t}=await e.json();n(t??gF)}else(0,en.logTelemetry)("knotch-newsletter.failed",{status:e.status}),n(gU)}catch{(0,en.logTelemetry)("knotch-newsletter.failed",{status:0}),n(gU)}finally{i(!1)}};return(0,l.jsxs)("section",{"data-knotch-newsletter":"","aria-label":"Newsletter signup",style:gV,children:[(0,l.jsx)("style",{children:gB}),(0,l.jsx)(om.SurfaceContextProvider,{contrast:e.contrast,children:s?(0,l.jsxs)("div",{"data-knotch-newsletter-success":"",role:"status","aria-live":"polite",children:[(0,l.jsx)(nY.Headline,{data:{text:"You're subscribed.",level:3},atomId:"newsletter-success-headline"}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:"Look out for Knoteworthy in your inbox."},atomId:"newsletter-success-subhead"})})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(nY.Headline,{data:{text:"Get Knoteworthy in your inbox.",level:3},atomId:"newsletter-headline"}),(0,l.jsx)("div",{style:{marginTop:"10px",maxWidth:"54ch"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:"Our newsletter on content, AI, and what is actually working for marketing leaders."},atomId:"newsletter-subhead"})}),(0,l.jsxs)("form",{onSubmit:d,style:{marginTop:"24px",maxWidth:"520px"},children:[(0,l.jsxs)("div",{className:"kns-row",children:[(0,l.jsx)("label",{htmlFor:"kns-email",className:"sr-only",style:gZ,children:"Work email"}),(0,l.jsx)("input",{id:"kns-email",name:"email",type:"email",autoComplete:"email",placeholder:"[email protected]",value:t,"aria-required":!0,"aria-invalid":!!r||void 0,"aria-describedby":r?"kns-error":void 0,onChange:e=>{a(e.currentTarget.value),r&&n(null)},className:"kns-input"}),(0,l.jsx)("button",{type:"submit",disabled:o,className:"kns-submit focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",style:{background:"var(--color-button-bg, #272626)",color:"var(--color-button-text, #efece5)",border:"none",borderRadius:"var(--radius-full, 9999px)",padding:"13px 26px",fontFamily:"var(--font-sans)",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-emphasis, 600)",cursor:o?"not-allowed":"pointer",opacity:o?.6:1},children:o?"Subscribing…":"Subscribe"})]}),r?(0,l.jsx)("p",{id:"kns-error","data-knotch-newsletter-error":"",role:"alert",style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-meta)",color:"var(--color-brand-500)",margin:"10px 0 0"},children:r}):null,(0,l.jsxs)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-meta)",lineHeight:1.5,color:"var(--surface-fg-muted, var(--color-fg-muted))",margin:"14px 0 0"},children:["By subscribing you agree to the"," ",(0,l.jsx)("a",{href:"/legal/privacy-policy",className:"kns-link",target:"_blank",rel:"noreferrer",children:"Knotch Privacy Policy"}),". Unsubscribe any time."]})]})]})})]})}let gV={"--kns-fg":`var(--surface-${gG}-fg, var(--color-fg))`,"--surface-fg-muted":`var(--surface-${gG}-fg-muted, var(--color-fg-muted))`,"--surface-accent":`var(--surface-${gG}-accent)`,background:`var(--surface-${gG}-bg, var(--color-bg-subtle))`,color:`var(--surface-${gG}-fg, var(--color-fg))`,border:`var(--surface-${gG}-border, 1px solid var(--color-border))`,boxShadow:`var(--surface-${gG}-shadow)`,borderRadius:"24px",padding:"40px"},gZ={position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0 0 0 0)",whiteSpace:"nowrap",border:0};var gY=e.i(33374);function gJ(){let[e,t]=(0,eu.useState)({status:"loading"});return(0,eu.useEffect)(()=>{let e=new AbortController;return(async()=>{try{let a=await fetch("/api/webflow/articles",{signal:e.signal});if(!a.ok){(0,en.logTelemetry)("knotch-articles.fetch-error",{status:a.status}),t({status:"error"});return}let r=gY.KnotchArticleListResponse.safeParse(await a.json());if(!r.success){(0,en.logTelemetry)("knotch-articles.invalid",{message:r.error.message}),t({status:"error"});return}t({status:"success",articles:r.data.articles,groups:r.data.groups})}catch(e){if(e?.name==="AbortError")return;(0,en.logTelemetry)("knotch-articles.fetch-failed",{message:e instanceof Error?e.message:"unknown"}),t({status:"error"})}})(),()=>e.abort()},[]),e}
259let gX={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto",paddingInline:"clamp(20px, 5vw, 40px)"},gQ={display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 320px), 1fr))",gap:"24px",alignItems:"stretch"},g0={fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",fontWeight:"var(--font-weight-default)",letterSpacing:"0.16em",textTransform:"uppercase",color:"var(--color-fg-muted)",margin:0},g1={maxWidth:"var(--width-lg, 1180px)",marginInline:"auto",paddingInline:"40px"},g2={maxWidth:"760px",marginInline:"auto"},g5={fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",fontWeight:500,letterSpacing:"0.14em",textTransform:"uppercase",margin:0},g4=`
260[data-knotch-page="content"] .art-body h2 {
261  font-family: var(--font-sans); font-weight: 500; font-size: var(--type-h3);
262  letter-spacing: -0.025em; line-height: 1.16; margin: 44px 0 14px;
263  color: var(--color-brand-500); scroll-margin-top: 96px;
264}
265[data-knotch-page="content"] .art-body h3,
266[data-knotch-page="content"] .art-body h4 {
267  font-family: var(--font-sans); font-weight: 500; font-size: var(--type-h6);
268  letter-spacing: -0.02em; line-height: 1.2; margin: 32px 0 10px;
269  color: var(--color-brand-500);
270}
271[data-knotch-page="content"] .art-body p {
272  font-family: var(--font-sans); font-size: var(--type-body); line-height: 1.7;
273  color: var(--color-fg); margin: 0 0 22px;
274}
275[data-knotch-page="content"] .art-body a {
276  color: var(--color-brand-500);
277  border-bottom: 1px solid color-mix(in srgb, var(--color-brand-500) 40%, transparent);
278  text-decoration: none;
279}
280[data-knotch-page="content"] .art-body ul,
281[data-knotch-page="content"] .art-body ol { margin: 0 0 22px; padding-left: 1.3em; }
282[data-knotch-page="content"] .art-body li {
283  font-family: var(--font-sans); font-size: var(--type-body); line-height: 1.7;
284  color: var(--color-fg); margin: 0 0 8px;
285}
286[data-knotch-page="content"] .art-body blockquote {
287  border-left: 3px solid var(--color-brand-500); padding: 6px 0 6px 22px;
288  margin: 30px 0; font-family: var(--font-sans); font-weight: 500;
289  font-size: var(--type-h6); line-height: 1.4; letter-spacing: -0.015em;
290  color: var(--color-fg);
291}
292[data-knotch-page="content"] .art-body img {
293  max-width: 100%; height: auto; border-radius: 16px; margin: 8px 0 24px; display: block;
294}
295[data-knotch-page="content"] .art-body figure { margin: 8px 0 24px; }
296[data-knotch-page="content"] .art-body figcaption {
297  font-family: var(--font-mono); font-size: var(--type-meta);
298  color: var(--color-fg-muted); margin-top: 8px;
299}
300[data-knotch-page="content"] .art-body iframe {
301  width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; margin: 8px 0 24px;
302}
303[data-knotch-page="content"] .art-body strong,
304[data-knotch-page="content"] .art-body b { font-weight: 600; }
305`,g3=["January","February","March","April","May","June","July","August","September","October","November","December"];function g6(){return(0,l.jsxs)("div",{"data-knotch-page":"content",children:[(0,l.jsx)("style",{children:g4}),(0,l.jsx)("section",{style:{...g1,paddingBlock:"120px 96px"},children:(0,l.jsxs)("div",{style:{...g2,display:"flex",flexDirection:"column",gap:"18px"},children:[(0,l.jsx)(uq.Pulser,{height:"20px",width:"38%",radius:"var(--radius-full, 999px)"}),(0,l.jsx)(uq.Pulser,{height:"42px",width:"92%"}),(0,l.jsx)(uq.Pulser,{height:"42px",width:"62%"}),(0,l.jsx)("div",{style:{aspectRatio:"21 / 9",marginTop:"14px"},children:(0,l.jsx)(uq.Pulser,{height:"100%",width:"100%",radius:"24px"})}),(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"12px",marginTop:"14px"},children:[(0,l.jsx)(uq.Pulser,{height:"16px",width:"100%"}),(0,l.jsx)(uq.Pulser,{height:"16px",width:"97%"}),(0,l.jsx)(uq.Pulser,{height:"16px",width:"99%"}),(0,l.jsx)(uq.Pulser,{height:"16px",width:"55%"})]})]})})]})}function g8({notFound:e}){let{Link:t}=(0,ei.useQueenNavigation)();return(0,l.jsxs)("section",{style:{...g1,paddingBlock:"160px 96px",textAlign:"center"},children:[(0,l.jsx)("h1",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-h3)",fontWeight:500,color:"var(--color-fg)",margin:0}
305,children:e?"We couldn’t find that article.":"Something went wrong."}),(0,l.jsx)("p",{style:{marginTop:"16px"},children:(0,l.jsx)(t,{href:"/explore/resources",style:{color:"var(--color-brand-500)",fontFamily:"var(--font-sans)"},children:"← Back to Resources"})})]})}function g7({article:e,recommended:t}){let{Link:a}=(0,ei.useQueenNavigation)(),r=e.categories[0],n=function(e){if(!e)return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:`${g3[t.getUTCMonth()]} ${t.getUTCFullYear()}`}(e.date),o=[`${e.readMinutes} min read`,n].filter(Boolean);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("section",{"aria-label":"Article header",style:{...g1,paddingBlock:"120px 0"},children:(0,l.jsxs)("div",{style:g2,children:[(0,l.jsxs)(a,{href:"/explore/resources",style:{display:"inline-flex",alignItems:"center",gap:"7px",fontFamily:"var(--font-mono)",fontSize:"var(--type-body-sm)",color:"var(--color-fg-muted)",textDecoration:"none",marginBottom:"28px"},children:[(0,l.jsx)(ms,{name:"chevron-left",size:16}),"Back"]}),(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"14px",marginBottom:"18px"},children:[r?(0,l.jsx)("span",{style:{...g5,color:"var(--color-brand-500)"},children:r}):null,r?(0,l.jsx)("span",{"aria-hidden":"true",style:{width:"3px",height:"3px",borderRadius:"50%",background:"var(--color-fg-muted)"}}):null,(0,l.jsx)("span",{style:{...g5,letterSpacing:"0.04em",color:"var(--color-fg-muted)"},children:o.join(" · ")})]}),(0,l.jsx)("h1",{style:{fontFamily:"var(--font-sans)",fontWeight:500,fontSize:"var(--type-h1)",lineHeight:1.06,letterSpacing:"-0.035em",margin:0,color:"var(--color-fg)"},children:e.title}),e.author?(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"12px",marginTop:"24px"},children:[(0,l.jsx)("span",{style:{width:"40px",height:"40px",borderRadius:"50%",background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"var(--color-fg-muted)"},children:(0,l.jsx)(ms,{name:"user",size:18})}),(0,l.jsx)("span",{style:{fontFamily:"var(--font-sans)",fontWeight:500,fontSize:"var(--type-body-sm)",color:"var(--color-fg)"},children:e.author})]}):null,(0,l.jsx)("div",{style:{aspectRatio:"21 / 9",borderRadius:"24px",overflow:"hidden",marginTop:"32px",background:"linear-gradient(135deg,#2a2a28,#161512)"},children:e.featureImageUrl?(0,l.jsx)("img",{src:e.featureImageUrl,alt:e.featureImageAlt??"",style:{width:"100%",height:"100%",objectFit:"cover"}}):null})]})}),(0,l.jsx)("section",{"aria-label":"Article",style:{...g1,paddingBlock:"44px 0"},children:(0,l.jsx)("div",{style:g2,children:(0,l.jsx)("div",{className:"art-body",dangerouslySetInnerHTML:{__html:e.bodyHtml}})})}),t.length>0?(0,l.jsxs)("section",{"aria-label":"Recommended",style:{...g1,paddingBlock:"90px 96px"},children:[(0,l.jsx)("div",{"aria-hidden":"true",style:{height:"1px",background:"var(--color-border)",margin:"0 0 40px"}}),(0,l.jsx)("p",{style:{...g5,letterSpacing:"0.16em",color:"var(--color-fg-muted)",marginBottom:"18px"},children:"Recommended"}),(0,l.jsx)("h2",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-h3)",fontWeight:500,lineHeight:1.12,letterSpacing:"-0.025em",margin:"0 0 36px",color:"var(--color-fg)"},children:"More from Ace."}),(0,l.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"24px",alignItems:"stretch"},children:t.map(e=>(0,l.jsx)(mm,{data:{title:e.title,category:e.categories[0]??"Article",minRead:e.readMinutes,icon:"file-text",imageUrl:e.featureImageUrl??void 0,imageAlt:e.featureImageAlt??void 0,description:e.excerpt??void 0},atomId:`content-rec-${e.slug}`,href:`/explore/resources/${encodeURIComponent(e.slug)}`},e.id))})]}):null]})}let g9={maxWidth:"var(--width-lg, 1024px)",marginInline:"auto",paddingInline:"24px"},fe="inline-flex items-center justify-center no-underline whitespace-nowrap rounded-full font-medium uppercase tracking-[0.06em] text-[13px] [font-family:var(--font-mono)] transition duration-300 ease-out hover:-translate-y-px cursor-pointer disabled:cursor-not-allowed disabled:opacity-60",ft=["Google","Zillow","ally","Cox Automotive","Square","Deloitte.","GEICO"],fa={maxWidth:"var(--width-lg, 1024px)",marginInline:"auto",paddingInline:"24px"},fr="inline-flex items-center justify-center no-underline whitespace-nowrap rounded-full font-medium uppercase tracking-[0.06em] text-[13px] [font-family:var(--font-mono)] transition duration-300 ease-out hover:-translate-y-
305px cursor-pointer disabled:cursor-not-allowed disabled:opacity-60",fn=["linear-gradient(135deg, #e3ec8a, #8fc35a)","linear-gradient(135deg, #a8b8e8, #e0a8d0)","linear-gradient(135deg, #cdd6e0, #f0c9b0)","linear-gradient(135deg, #8fb4e8, #cdd6e0)","linear-gradient(135deg, #f3cf7a, #e8a24e)","linear-gradient(135deg, #f0a93c, #7fc15a)"];function fo(e){let t=(0,eu.useRef)(null);gz(t);let{open:a}=(0,U.useDemoForm)();return(0,l.jsxs)("div",{ref:t,"data-knotch-page":"proof",children:[(0,l.jsxs)("section",{"aria-label":"Proof hero",style:{...fa,paddingBlock:"calc(var(--space-md, 16px) * 2) 40px",display:"flex",flexDirection:"column"},children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)",fontWeight:500,letterSpacing:"0.08em",textTransform:"uppercase",color:"var(--surface-fg-muted, var(--color-fg-muted))",margin:"0 0 1rem 0"},children:"Customers"}),(0,l.jsx)("h1",{"aria-label":"The teams composing the next decade.",style:{fontSize:"var(--type-display)",fontWeight:500,lineHeight:1.05,margin:0,maxWidth:"540px"},children:(0,l.jsx)(gR,{text:"The teams composing the next decade.",style:{minHeight:"1em"}})}),(0,l.jsx)(gL,{as:"p",style:{fontSize:"var(--type-body)",fontWeight:400,lineHeight:1.3,color:"var(--surface-fg-muted, var(--color-fg-muted))",marginTop:"1.5rem",marginBottom:0,maxWidth:"520px"},children:"From Fortune 50 to category-defining startups — the brands rebuilding the layer underneath their digital experience with Knotch."}),(0,l.jsxs)(gL,{style:{display:"flex",flexWrap:"wrap",gap:"0.75rem",marginTop:"2rem"},children:[(0,l.jsx)(nQ.Button,{variant:"bare",onClick:()=>{(0,en.logTelemetry)("knotch-proof-cta-clicked",{cta:"get-demo"}),a()},className:`${fr} px-[28px] py-[16px] bg-[#0d0d0c] text-[#efece5] hover:opacity-90`,children:"Get demo"}),(0,l.jsxs)(nQ.Button,{variant:"bare",onClick:()=>{(0,en.logTelemetry)("knotch-proof-cta-clicked",{cta:"see-ace-live-google"}),window.open("https://www.thinkwithgoogle.com/next/v2/","_blank","noopener,noreferrer")},className:`${fr} gap-[9px] px-[24px] py-[15px] border border-[#d8d2c4] bg-transparent text-[#272626] hover:bg-[color:color-mix(in_srgb,#272626_6%,transparent)]`,children:["↗ See Ace live on"," ",(0,l.jsx)("span",{style:{color:"var(--surface-accent, var(--color-brand-500))"},children:"Google"})]})]})]}),(0,l.jsx)("section",{"aria-label":"Customer logos",style:{...fa,paddingBlock:"var(--space-lg, 64px)"},children:(0,l.jsx)(h_,{items:hS})}),(0,l.jsx)(hp,{}),(0,l.jsxs)("section",{"aria-label":"In their words",style:{...fa,paddingBlock:"var(--space-lg, 64px)"},children:[(0,l.jsx)("h2",{style:{fontSize:"var(--type-meta)",fontWeight:500,letterSpacing:"0.08em",textTransform:"uppercase",color:"var(--surface-fg-muted, var(--color-fg-muted))",margin:"0 0 1.5rem 0"},children:"In their words"}),(0,l.jsx)(mt,{atomId:"proof-quotes",data:{layout:"feature",quotes:[{emphasis:"announcement",quote:"At Ally, we've always believed the best financial experiences are the ones that meet customers on their terms, in their moment. AI has the potential to fundamentally change the direct relationship we have with our customers as AI intermediaries increasingly shape how people discover and engage with brands. Together with Knotch, we're not waiting for the landscape to shift around us — we're using ACE to dynamically show prospective customers exactly how Ally can fit into their specific financial life, from the first moment of discovery through to conversion. That's not just smart marketing: that's how we protect and deepen the trust our customers place in us.",name:"Andrea Brimmer",title:"CMO · Ally Financial"},{quote:"I never dreamed we would get what we got from our partnership with Knotch. I thought I was bringing in a platform. What I actually got was the ease of a system and the benefit of a human partnership I’d be hard pressed to do my job without.",name:"Jordan Blakley",title:"Sr. Director of Online Marketing · Realtor.com"},{quote:"Growth in our business now depends on meeting every consumer with the right next step whether they are buying, renting or just browsing. ACE takes the content and expertise we have already built and reassembles it around each visitor's intent in real time, turning our content and experience into trust that moves people to take action.",name:"Ravi Kandikonda",t
305itle:"Chief Marketing Officer · Zillow"}]}})]})]})}["Google","Deloitte","Ally","Zillow","Cox Automotive","GEICO","Synchrony","Square","Dropbox","Northwind","Trailhead Bank","Ridgepoint Health","Meridian","Beacon Labs","Crestline","Atlas Group","Harbor & Co"].map((e,t)=>({name:e,tint:fn[t%6]}));let fi=`Last updated January 17, 2024
306
307This privacy policy for Knotch, Inc. a Delaware corporation (“Company,” “we,” “us,” or “our“), describes how and why we might collect, store, use, and/or share (“process“) your information when you use our services (“Services“), such as when you:
308
309- Visit our website at http://www.knotch.com or any website of ours that links to this privacy notice.
310
311- Engage with us in other related ways, including any sales, marketing, or events.
312
313**Questions or concerns?** Reading this privacy notice will help you understand your privacy rights and choices. If you do not agree with our policies and practices, please do not use our Services. If you still have any questions or concerns, please contact us at [email protected].
314
315## SUMMARY OF KEY POINTS
316
317**This summary provides key points from our privacy policy, but you can find out more details about any of these topics by clicking the link following each key point or by using our table of contents below to find the section you are looking for. You can also click** here to go directly to our table of contents.
318
319**What personal information do we process?** When you visit, use, or navigate our Services, we may process personal information depending on how you interact with Knotch and the Services, the choices you make, and the products and features you use. Click here to learn more.
320
321**Do we process any sensitive personal information?** We do not process sensitive personal information.
322
323**Do we receive any information from third parties?** We may receive information from public databases, marketing partners, social media platforms, and other outside sources. Click here to learn more.
324
325**How do we process your information?** We process your information to provide, improve, and administer our Services, communicate with you, for security and fraud prevention, and to comply with law. We may also process your information for other purposes with your consent. We process your information only when we have a valid legal reason to do so. Click here to learn more.
326
327**In what situations and with which parties do we share personal information?** We may share information in specific situations and with specific third parties. Click here to learn more.
328
329**How do we keep your information safe?** We have organizational and technical processes and procedures in place to protect your personal information. However, no electronic transmission over the internet or information storage technology can be guaranteed to be 100% secure, so we cannot promise or guarantee that hackers, cybercriminals, or other unauthorized third parties will not be able to defeat our security and improperly collect, access, steal, or modify your information. Click here to learn more.
330
331**What are your rights?** Depending on where you are located geographically, the applicable privacy law may mean you have certain rights regarding your personal information. Click here to learn more.
332
333**How do you exercise your rights?** The easiest way to exercise your rights is by contacting us at [email protected]. We will consider and act upon any request in accordance with applicable data protection laws.
334
335Want to learn more about what Knotch does with any information we collect? Click here to review the notice in full.
336
337## TABLE OF CONTENTS
338
339- WHAT INFORMATION DO WE COLLECT?
340
341- HOW DO WE PROCESS YOUR INFORMATION?
342
343- EU-U.S. DATA PRIVACY FRAMEWORK AND THE RIGHTS OF EU AND UK INDIVIDUALS
344
345- WHEN AND WITH WHOM DO WE SHARE YOUR PERSONAL INFORMATION?
346
347- DO WE USE COOKIES AND OTHER TRACKING TECHNOLOGIES?
348
349- IS YOUR INFORMATION TRANSFERRED INTERNATIONALLY?
350
351- HOW LONG DO WE KEEP YOUR INFORMATION?
352
353- HOW DO WE KEEP YOUR INFORMATION SAFE?
354
355- DO WE COLLECT INFORMATION FROM MINORS?
356
357- WHAT ARE YOUR PRIVACY RIGHTS?
358
359- CONTROLS FOR DO-NOT-TRACK FEATURES
360
361- DO CALIFORNIA RESIDENTS HAVE SPECIFIC PRIVACY RIGHTS?
362
363- DO WE MAKE UPDATES TO THIS NOTICE?
364
365- HOW CAN YOU CONTACT US ABOUT THIS NOTICE?
366
367- HOW CAN YOU REVIEW, UPDATE, OR DELETE THE DATA WE COLLECT FROM YOU?
368
369## 1. WHAT INFORMATION DO WE COLLECT?
370
371### Personal information you disclose to us
372
373**In Short:** We collect personal information that you provide to us. We collect personal information that you voluntarily provide to us when you register on the Services, express an interest in obtaining information about us or our products and Services, when you participate in activities on the Services, or otherwise when you contact us.
374
375**Personal Information Provided by You.** The personal information that we collect depends on the context of your interactions with us and the Services, the choices you make, and the products and features you use. The personal information we collect may include the following:
376
377- names
378
379- phone numbers
380
381- email addresses
382
383- job titles
384
385- contact preferences
386
387**Sensitive Information.** We do not process sensitive information.
388
389All personal information that you provide to us must be true, complete, and accurate, and you must notify us of any changes to such personal information.
390
391### Information automatically collected
392
393**In Short:** Some information — such as your Internet Protocol (IP) address and/
393or browser and device characteristics — may be collected automatically when you visit our Services.
394
395We may automatically collect certain information when you visit, use, or navigate the Services. This information does not reveal your specific identity (like your name or contact information) but may include device and usage information, such as your anonymized IP address, browser and device characteristics, operating system, language preferences, referring URLs, device name, country, location, information about how and when you use our Services, and other technical information. This information is primarily needed to maintain the security and operation of our Services, and for our internal analytics and reporting purposes.
396
397Like many businesses, we also collect information through cookies and similar technologies.
398
399The information we collect may include:
400
401**Log and Usage Data**. Log and usage data is service-related, diagnostic, usage, and performance information our servers automatically collect when you access or use our Services and which we record in log files. Depending on how you interact with us, this log data may include your IP address, device information, browser type, and settings and information about your activity in the Services (such as the date/time stamps associated with your usage, pages and files viewed, searches, and other actions you take such as which features you use), device event information (such as system activity, error reports (sometimes called “crash dumps”), and hardware settings).
402
403**Device Data**. We collect device data such as information about your computer, phone, tablet, or other device you use to access the Services. Depending on the device used, this device data may include information such as your anonymized IP address (or proxy server), device and application identification numbers, location, browser type, hardware model, Internet service provider and/or mobile carrier, operating system, and system configuration information.
404
405**Location Data**. We collect location data such as information about your device’s location, which can be either precise or imprecise. How much information we collect depends on the type and settings of the device you use to access the Services. For example, we may use GPS and other technologies to collect geolocation data that tells us your current location (based on your IP address). You can opt out of allowing us to collect this information either by refusing access to the information or by disabling your Location setting on your device. However, if you choose to opt out, you may not be able to use certain aspects of the Services.
406
407### Information collected from other sources
408
409**In Short:** We may collect limited data from public databases, marketing partners, social media platforms, and other outside sources.
410
411In order to enhance our ability to provide relevant marketing, offers, and services to you and update our records, we may obtain information about you from other sources, such as public databases, joint marketing partners, affiliate programs, data providers, social media platforms, and from other third parties. This information includes mailing addresses, job titles, email addresses, phone numbers, intent data (or user behavior data), Internet Protocol (IP) addresses, social media profiles, social media URLs, and custom profiles, for purposes of targeted advertising and event promotion. If you interact with us on a social media platform using your social media account (e.g., Facebook or Twitter), we receive personal information about you such as your name, email address, and gender. Any personal information that we collect from your social media account depends on your social media account’s privacy settings.
412
413## 2. HOW DO WE PROCESS YOUR INFORMATION?
414
415**In Short:** We process your information to provide, improve, and administer our Services, communicate with you, for security and fraud prevention, and to comply with law. We may also process your information for other purposes with your consent.
416
417### We process your personal information for a variety of reasons, depending on how you interact with our Services, including:
418
419- To facilitate account creation and authentication and otherwise manage user accounts. We may process your information so you can create and log in to your account, as well as keep your account in 
419working order.
420
421- To deliver and facilitate delivery of services to the user. We may process your information to provide you with the requested service.
422
423- To save or protect an individual’s vital interest. We may process your information when necessary to save or protect an individual’s vital interest, such as to prevent harm.
424
425## 3. EU-U.S. DATA PRIVACY FRAMEWORK AND THE RIGHTS OF EU AND UK INDIVIDUALS
426
427**In Short:** We only process EU AND UK individuals personal information when we believe it is necessary and we have a valid legal reason (i.e. legal basis) to do so under applicable law, like with your consent, to comply with laws, to provide you with services, to enter into or fulfill our contractual obligations, to protect your rights, or to fulfill our legitimate business interests and obligations.
428
429### If you are located in the EU or UK, this section applies to you.
430
431Please note that if you use the Knotch website in the European Union (“EU”) or United Kingdom (“UK”), personal information about you may be transferred outside the EU and UK. Knotch recognizes that EU and UK law requires “adequate protection” for the transfer of personally identifiable information about individuals in the EU and UK to Knotch in the United States.
432
433Knotch complies with the EU-U.S. Data Privacy Framework (EU-U.S. DPF) and the UK Extension to the EU-U.S. DPF, as set forth by the U.S. Department of Commerce. Knotch has certified to the U.S. Department of Commerce that it adheres to the EU-U.S. Data Privacy Framework Principles (EU-U.S. DPF Principles) with regard to the processing of personal data received from the European Union and the United Kingdom in reliance on the EU-U.S. DPF and the UK Extension to the EU-U.S. DPF. If there is any conflict between the terms in this privacy policy and the EU-U.S. DPF Principles, the Principles shall govern. To learn more about the Data Privacy Framework (DPF) Program, and to view our certification, please visit https://www.dataprivacyframework.gov/
434
435### Rights of EU-UK Data Subjects
436
437If you are an EU-UK Data Subject, you have the right to access or opt-out of the sharing or processing of your own personal information subject to certain limitations, such as where the legitimate rights of other persons would be infringed or where the burden or expense of providing access would be disproportionate. If you wish to exercise such rights, please contact us as described below.
438
439### Choices of EU-UK Data Subjects
440
441We will provide appropriate choice in the event we use your personal information for purposes materially different from the purposes for which it was originally collected.
442
443### Recourse, Enforcement, and Liability
444
445Please contact us as specified below if you have any questions, want access to your personal information, or otherwise need assistance. We remain responsible for our collection, use and disclosure of personal information in accordance with the Framework. We also are responsible for third-party agents that process such personal information on our behalf, unless we prove that we are not responsible for the event giving rise to the damage. In certain situations, we may be required to disclose personal information in response to lawful requests by public authorities, including meeting national security or law enforcement requirements.
446
447In compliance with the EU-U.S. DPF and the UK Extension to the EU-U.S. DPF, Knotch commits to resolve DPF Principles-related complaints about our collection and use of your personal information. EU and UK individuals with inquiries or complaints regarding our handling of personal data received in reliance on the EU-U.S. DPF and the UK Extension to the EU-U.S. DPF, should first contact Knotch at: [email protected]. We are also subject to the investigatory and enforcement powers of the Federal Trade Commission with respect to the Framework. In addition, under certain conditions, more fully described on the Framework website, EU-UK Data Subjects may invoke binding arbitration for non-monetary issues when other dispute resolution procedures have been exhausted.
448
449In compliance with the EU-U.S. DPF and the UK Extension to the EU-U.S. DPF, Knotch commits to cooperate and comply respectively with the advice of the panel established by the EU data protection authorities (DPAs) and the UK Information Commissioner’s Office (ICO) with regard to unresolved complaints concerning our handling of personal data received in reliance on the EU-U.S. DPF and the UK Extension to the EU-U.S. DPF.
450
451### Data Subject Rights
452
453You may request access to personal information we hold about you and, provided that you are not a current customer, you may also ask to be removed from our database. If the personal information we hold about you is 
453incorrect, we will correct it upon your request. You also have the right to opt-out of the sharing of your personal information with third parties and the use of your personal information for a purpose materially different from that which was originally intended. Please email your request to [email protected]. Please state “Request/Remove/Change Personal Data” in the subject line of your email.
454
455### Legal bases
456
457We may rely on the following legal bases to process your personal information:
458
459**Consent.** We may process your information if you have given us permission (i.e., consent) to use your personal information for a specific purpose. You can withdraw your consent at any time.
460
461**Performance of a Contract.** We may process your personal information when we believe it is necessary to fulfill our contractual obligations to you, including providing our Services or, at your request, prior to entering into a contract with you.
462
463**Legal Obligations.** We may process your information where we believe it is necessary for compliance with our legal obligations, such as to cooperate with a law enforcement body or regulatory agency, exercise or defend our legal rights, or disclose your information as evidence in litigation in which we are involved.
464
465**Vital Interests.** We may process your information where we believe it is necessary to protect your vital interests or the vital interests of a third party, such as situations involving potential threats to the safety of any person.
466
467**Location of Servers**. Our servers are located in the United States. If you are accessing our Services from outside the United States, please be aware that your information may be transferred to, stored, and processed by us in our facilities and by those third parties with whom we may share your personal information (see “WHEN AND WITH WHOM DO WE SHARE YOUR PERSONAL INFORMATION?” above), in the United States, and other countries.
468
469### If you are located in Canada, this section applies to you.
470
471We may process your information if you have given us specific permission (i.e., express consent) to use your personal information for a specific purpose, or in situations where your permission can be inferred (i.e., implied consent). You can withdraw your consent at any time.
472
473In some exceptional cases, we may be legally permitted under applicable law to process your information without your consent, including, for example:
474
475- If collection is clearly in the interests of an individual and consent cannot be obtained in a timely way
476
477- For investigations and fraud detection and prevention
478
479- For business transactions provided certain conditions are met
480
481- If it is contained in a witness statement and the collection is necessary to assess, process, or settle an insurance claim
482
483- For identifying injured, ill, or deceased persons and communicating with next of kin
484
485- If we have reasonable grounds to believe an individual has been, is, or may be victim of financial abuse
486
487- If it is reasonable to expect collection and use with consent would compromise the availability or the accuracy of the information and the collection is reasonable for purposes related to investigating a breach of an agreement or a contravention of the laws of Canada or a province
488
489- If disclosure is required to comply with a subpoena, warrant, court order, or rules of the court relating to the production of records
490
491- If it was produced by an individual in the course of their employment, business, or profession and the collection is consistent with the purposes for which the information was produced
492
493- If the collection is solely for journalistic, artistic, or literary purposes If the information is publicly available and is specified by the regulations
494
495**Location of Servers**. Our servers are located in the United States. If you are accessing our Services from outside the United States, please be aware that your information may be transferred to, stored, and processed by us in our facilities and by those third parties with whom we may share your personal information (see “WHEN AND WITH WHOM DO WE SHARE YOUR PERSONAL INFORMATION?” above), in the United States, and other countries
496
497## 4. WHEN AND WITH WHOM DO WE SHARE YOUR PERSONAL INFORMATION?
498
499**In Short:** We may share information in specific situations described 
499in this section and/or with the following third parties.
500
501We may need to share your personal information in the following situations:
502
503**Business Transfers.** We may share or transfer your information in connection with, or during negotiations of, any merger, sale of company assets, financing, or acquisition of all or a portion of our business to another company.
504
505**Business Partners.** We may share your information with our business partners to offer you certain products, services, or promotions.
506
507## 5. DO WE USE COOKIES AND OTHER TRACKING TECHNOLOGIES?
508
509**In Short:** We may use cookies and other tracking technologies to collect and store your information.
510
511We may use cookies and similar tracking technologies (like web beacons and pixels) to access or store information. Specific information about how we use such technologies is set out in our here.
512
513## 6. IS YOUR INFORMATION TRANSFERRED INTERNATIONALLY?
514
515**In Short:** We may transfer, store, and process your information in countries other than your own.
516
517Our servers are located in the United States. If you are accessing our Services from outside the United States, please be aware that your information may be transferred to, stored, and processed by us in our facilities and by those third parties with whom we may share your personal information (see “WHEN AND WITH WHOM DO WE SHARE YOUR PERSONAL INFORMATION?” above), in the United States, and other countries.
518
519## 7. HOW LONG DO WE KEEP YOUR INFORMATION?
520
521**In Short:** We keep your information for as long as necessary to fulfill the purposes outlined in this privacy notice unless otherwise required by law.
522
523We will keep your personal information for as long as it is necessary for the purposes set out in this privacy notice, unless a longer retention period is required or permitted by law (such as tax, accounting, or other legal requirements).
524
525When we have no ongoing legitimate business need to process your personal information, we will either delete or anonymize such information, or, if this is not possible (for example, because your personal information has been stored in backup archives), then we will securely store your personal information and isolate it from any further processing until deletion is possible.
526
527## 8. HOW DO WE KEEP YOUR INFORMATION SAFE?
528
529**In Short:** We aim to protect your personal information through a system of organizational and technical security measures.
530
531We have implemented appropriate and reasonable technical and organizational security measures designed to protect the security of any personal information we process. However, despite our safeguards and efforts to secure your information, no electronic transmission over the Internet or information storage technology can be guaranteed to be 100% secure, so we cannot promise or guarantee that hackers, cybercriminals, or other unauthorized third parties will not be able to defeat our security and improperly collect, access, steal, or modify your information. Although we will do our best to protect your personal information, transmission of personal information to and from our Services is at your own risk. You should only access the Services within a secure environment.
532
533## 9. DO WE COLLECT INFORMATION FROM MINORS?
534
535**In Short:** We do not knowingly collect data from or market to children under 18 years of age.
536
537We do not knowingly solicit data from or market to children under 18 years of age. By using the Services, you represent that you are at least 18 or that you are the parent or guardian of such a minor and consent to such minor dependent’s use of the Services.
538
539If we learn that personal information from users less than 18 years of age has been collected, we will deactivate the account and take reasonable measures to promptly delete such data from our records. If you become aware of any data we may have collected from children under age 18, please contact us at [email protected].
540
541## 10. WHAT ARE YOUR PRIVACY RIGHTS?
542
543**In Short:** In some regions, such as the European Economic Area (EEA), United Kingdom (UK), and Canada, you have rights that allow you greater access to and control over your personal information. You may review, change, or terminate your account at any time.
544
545In some regions (like the EEA, UK, and Canada), you have certain rights under applicable data protection laws. These may include the right (i) to request access and obtain a copy of your personal information, (ii) to request rectification or erasure; (iii) to restrict the processing of your personal information; and (iv) if applicable, to data portability. In certain circumstances, you may also have the right to object to the processing of your personal information. You can make such a request by contacting us by using the contact details provided in the section “HOW CAN YOU CONTACT US ABOUT THIS NOTICE?” below.
546
547We will consider and act upon any request in accordance with applicable data protection laws.
548
549If you are located in the EEA or UK and you believe we are unlawfully processing your personal information, you also have the right to complain to your local data protection supervisory authority. You can find their contact details here.
550
551If you are located in Switzerland, the contact details for the data protection authorities are available here.
552
553**Withdrawing your consent:** If we are relying on your consent to process your personal information, which may be express and/
553or implied consent depending on the applicable law, you have the right to withdraw your consent at any time. You can withdraw your consent at any time by contacting us by using the contact details provided in the section “HOW CAN YOU CONTACT US ABOUT THIS NOTICE?” below.
554
555However, please note that this will not affect the lawfulness of the processing before its withdrawal nor, when applicable law allows, will it affect the processing of your personal information conducted in reliance on lawful processing grounds other than consent.
556
557**Opting out of marketing and promotional communications:** You can unsubscribe from our marketing and promotional communications at any time by clicking on the unsubscribe link in the emails that we send, or by contacting us using the details provided in the section “HOW CAN YOU CONTACT US ABOUT THIS NOTICE?” below. You will then be removed from the marketing lists. However, we may still communicate with you — for example, to send you service-related messages that are necessary for the administration and use of your account, to respond to service requests, or for other non-marketing purposes.
558
559### Account Information
560
561If you would at any time like to review or change the information in your account or terminate your account, you can:
562
563- Contact us using the contact information provided.
564
565Upon your request to terminate your account, we will deactivate or delete your account and information from our active databases. However, we may retain some information in our files to prevent fraud, troubleshoot problems, assist with any investigations, enforce our legal terms and/or comply with applicable legal requirements.
566
567**Cookies and similar technologies:** Most Web browsers are set to accept cookies by default. If you prefer, you can usually choose to set your browser to remove cookies and to reject cookies. If you choose to remove cookies or reject cookies, this could affect certain features or services of our Services. To opt out of interest-based advertising by advertisers on our Services visit http://www.aboutads.info/choices/.
568
569## 11. CONTROLS FOR DO-NOT-TRACK FEATURES
570
571Most web browsers and some mobile operating systems and mobile applications include a Do-Not-Track (“DNT”) feature or setting you can activate to signal your privacy preference not to have data about your online browsing activities monitored and collected. At this stage no uniform technology standard for recognizing and implementing DNT signals has been finalized. As such, we do not currently respond to DNT browser signals or any other mechanism that automatically communicates your choice not to be tracked online. If a standard for online tracking is adopted that we must follow in the future, we will inform you about that practice in a revised version of this privacy notice.
572
573## 12. DO CALIFORNIA RESIDENTS HAVE SPECIFIC PRIVACY RIGHTS?
574
575**In Short:** Yes, if you are a resident of California, you are granted specific rights regarding access to your personal information.
576
577California Civil Code Section 1798.83, also known as the “Shine The Light” law, permits our users who are California residents to request and obtain from us, once a year and free of charge, information about categories of personal information (if any) we disclosed to third parties for direct marketing purposes and the names and addresses of all third parties with which we shared personal information in the immediately preceding calendar year. If you are a California resident and would like to make such a request, please submit your request in writing to us using the contact information provided below.
578
579If you are under 18 years of age, reside in California, and have a registered account with us, you have the right to request removal of unwanted data that you publicly post on the Services. To request removal of such data, please contact us using the contact information provided below and include the email address associated with your account and a statement that you reside in California. We will make sure the data is not publicly displayed on the Services, but please be aware that the data may not be completely or comprehensively removed from all our systems (e.g., backups, etc.).
580
581### CCPA Privacy Notice
582
583The California Code of Regulations defines a “resident” as:
584
585(1) every individual who is in the State of California for other than a temporary or transitory purpose and
586
587(2) every individual who is domiciled in the State of California who is outside the State of California for a temporary or transitory purpose
588
589All other individuals are defined as “non-residents.”
590
591If this definition of “resident” applies to you, we must adhere to certain rights and obligations regarding your personal information.
592
593### What categories of personal information do we collect?
594
595We have collected the following categories of personal information in the past twelve (12) months:
596
597### A. Identifiers
598
599**Examples:** Contact details, such as real name, alias, postal address, telephone or mobile contact number, unique personal identifier, online identifier, Internet Protocol address, email address, and account name.
600
601**Collected:** Yes
602
603### B. Personal information categories listed in the California Customer Records statute
604
605**Examples:** Name, contact information, education, employment, employment history, and financial information.
606
607**Collected:** Yes
608
609### C. Protected classification characteristics under California or federal law
610
611**Examples:** Gender and date of birth.
612
613**Collected:** No
614
615### D. Commercial information
616
617**Examples:** Transaction information, purchase history, financial details, and payment information.
618
619**Collected:** No
620
621### E. Biometric information
622
623**Examples:** Fingerprints and voiceprints.
624
625**Collected:** No
626
627### F. Internet or other similar network activity
628
629**Examples:** Browsing history, search history, online behavior, interest data, and interactions with our and other websites, applications, systems, and advertisements.
630
631**Collected:** Yes
632
633### G. Geolocation data
634
635**Examples:** Device location.
636
637**Collected:** No
638
639### H. Audio, electronic, visual, thermal, olfactory, or similar information
640
641**Examples:** Images and audio, video or call recordings created in connection with our business activities.
642
643**Collected:** Yes
644
645### I. Professional or employment-related information
646
647**Examples:** Business contact details in order to provide you our Services at a business level or job title, work history, and professional qualifications if you apply for a job with us.
648
649**Collected:** Yes
650
651### J. Education Information
652
653**Examples:** Student records and directory information.
654
655**Collected:** No
656
657### K. Inferences drawn from other personal information
658
659**Examples:** Inferences drawn from any of the collected personal information listed above to create a profile or summary about, for example, an individual's preferences and characteristics.
660
661**Collected:** Yes
662
663We may also collect other personal information outside of these categories through instances where you interact with us in person, online, or by phone or mail in the context of:
664
665- Receiving help through our customer support channels;
666
667- Participation in customer surveys or contests; and
668
669- Facilitation in the delivery of our Services and to respond to your inquiries.
670
671### How do we use and share your personal information?
672
673More information about our data collection and sharing practices can be found in this privacy notice.
674
675You may contact us or by referring to the contact details at the bottom of this document.
676
677If you are using an authorized agent to exercise your right to opt out we may deny a request if the authorized agent does not submit proof that they have been validly authorized to act on your behalf.
678
679### Will your information be shared with anyone else?
680
681We may disclose your personal information with our service providers pursuant to a written contract between us and each service provider. Each service provider is a for profit entity that processes the information on our behalf.
682
683We may use your personal information for our own business purposes, such as for undertaking internal research for technological development and demonstration. This is not considered to be “selling” of your personal information.
684
685Knotch has not disclosed or sold any personal information to third parties for a business or commercial purpose in the preceding twelve (12) months. Knotch will not sell personal information in the future belonging to website visitors, users, and other consumers.
686
687### Your rights with respect to your personal data
688
689Right to request deletion of the data — Request to delete
690
691You can ask for the deletion of your personal information. If you ask us to delete your personal information, we will respect your request and delete your personal information, subject to certain exceptions provided by law, such as (but not limited to) the exercise by another consumer of his or her right to free speech, our compliance requirements resulting from a legal obligation, or any processing that may be required to protect against illegal activities.
692
693Right to be informed — Request to know
694
695Depending on the circumstances, you have a right to know:
696
697- whether we collect and use your personal information;
698
699- the categories of personal information that we collect;
700
701- the purposes for which the collected personal information is used; whether we sell your personal information to third parties;
702
703- the categories of personal information that we sold or disclosed for a business purpose;
704
705- the categories of third parties to whom the personal information was sold or disclosed for a business purpose; and
706
707- the business or commercial purpose for collecting or selling personal information.
708
709In accordance with applicable law, we are not obligated to provide or delete consumer information that is de-identified in response to a consumer request or to re-identify individual data to verify a consumer request.
710
711Right to Non-Discrimination for the Exercise of a Consumer’s Privacy Rights
712
713We will not discriminate against you if you exercise your privacy rights.
714
715Verification process
716
717Upon receiving your request, we will need to verify your identity to determine you are the same person about whom we have the information in our system. These verification efforts require us to ask you to provide information so that we can match it with information you have previously provided us. For instance, depending on the type of request you submit, we may ask you to provide certain information so that we can match the information you provide with the information we already have on file, or we may contact you through a communication method (e.g., phone or email) that you have previously provided to us. We may al
717so use other verification methods as the circumstances dictate.
718
719We will only use personal information provided in your request to verify your identity or authority to make the request. To the extent possible, we will avoid requesting additional information from you for the purposes of verification. However, if we cannot verify your identity from the information already maintained by us, we may request that you provide additional information for the purposes of verifying your identity and for security or fraud-prevention purposes. We will delete such additionally provided information as soon as we finish verifying you.
720
721Other privacy rights
722
723You may object to the processing of your personal information.
724
725You may request correction of your personal data if it is incorrect or no longer relevant, or ask to restrict the processing of the information.
726
727You can designate an authorized agent to make a request under the CCPA on your behalf. We may deny a request from an authorized agent that does not submit proof that they have been validly authorized to act on your behalf in accordance with the CCPA.
728
729You may request to opt out from future selling of your personal information to third parties. Upon receiving an opt-out request, we will act upon the request as soon as feasibly possible, but no later than fifteen (15) days from the date of the request submission.
730
731To exercise these rights, you can contact us or by referring to the contact details at the bottom of this document. If you have a complaint about how we handle your data, we would like to hear from you.
732
733## 13. DO WE MAKE UPDATES TO THIS NOTICE?
734
735**In Short:** Yes, we will update this notice as necessary to stay compliant with relevant laws.
736
737We may update this privacy notice from time to time. The updated version will be indicated by an updated “Revised” date and the updated version will be effective as soon as it is accessible. If we make material changes to this privacy notice, we may notify you either by prominently posting a notice of such changes or by directly sending you a notification. We encourage you to review this privacy notice frequently to be informed of how we are protecting your information.
738
739## 14. HOW CAN YOU CONTACT US ABOUT THIS NOTICE?
740
741If you have questions or comments about this notice, you may contact our security team by email at [email protected], or by post to:
742
7433811 Ditmars, #1079
744
745Astoria, NY 11105
746
747## 15. HOW CAN YOU REVIEW, UPDATE, OR DELETE THE DATA WE COLLECT FROM YOU?
748
749Based on the applicable laws of your country, you may have the right to request access to the personal information we collect from you, change that information, or delete it. To request to review, update, or delete your personal information, please contact us at [email protected].
750
751Please note that this Privacy Statement may change from time to time. We will notify you of any material changes to this Privacy Statement by posting a link on the home page of our website that says “Revised Privacy Statement”. We will also indicate a revised Effective Date at the top of this Privacy Policy and the changes in the Privacy Statement will not be effective until 30 days after first posting the revised version. Please check this Privacy Statement regularly.`,fs={maxWidth:"var(--width-md, 768px)",marginInline:"auto",paddingInline:"24px",paddingBlock:"140px 96px"},fl={h2:({node:e,...t})=>(0,l.jsx)("h2",{style:{fontSize:"var(--type-h3)",fontWeight:600,lineHeight:1.25,marginTop:"var(--space-lg, 48px)",marginBottom:"var(--space-sm, 12px)"},...t}),h3:({node:e,...t})=>(0,l.jsx)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:600,lineHeight:1.3,marginTop:"var(--space-md, 24px)",marginBottom:"var(--space-xs, 8px)"},...t}),p:({node:e,...t})=>(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",lineHeight:1.6,color:"var(--color-fg-muted)",marginBottom:"var(--space-sm, 12px)"},...t}),ul:({node:e,...t})=>(0,l.jsx)("ul",{style:{paddingLeft:"var(--space-md, 24px)",listStyleType:"disc",marginBottom:"var(--space-sm, 12px)"},...t}),li:({node:e,...t})=>(0,l.jsx)("li",{style:{fontSize:"var(--type-body)",lineHeight:1.6,color:"var(--color-fg-muted)",marginBottom:"var(--space-xs, 8px)"},...t}),strong:({node:e,...t})=>(0,l.jsx)("strong",{style:{fontWeight:600,color:"var(--color-fg)"},...t}),a:({node:e,...t})=>(0,l.jsx)("a",{style:{color:"var(--color-brand-600, var(--color-brand-500))",textDecoration:"underline"},...t})},fc={id:"knotch",components:{form:{Component:function({data:e}){var t;let a=e.steps?e.steps:e.fields.reduce((e,t)=>
751Math.max(e,t.step??1),1),[r,n]=(0,eu.useState)({}),[o,i]=(0,eu.useState)(1),[s,c]=(0,eu.useState)({}),[d,u]=(0,eu.useState)(!1);if(d)return(0,l.jsx)(pT,{headline:e.success.headline,body:e.success.body});let p=(t=e.fields,t.filter(e=>(e.step??1)===o)),m=o>=a;return(0,l.jsxs)("form",{"data-atom-kind":"form","data-recipe":e.recipe,"data-step":o,onSubmit:e=>{let t;e.preventDefault(),c(t=pC(p,r)),Object.keys(t).length>0||(m?u(!0):i(e=>e+1))},className:"flex flex-col gap-[var(--space-md,16px)] rounded-[var(--radius-lg)] border border-[color:var(--color-border)] bg-[color:var(--color-bg)] p-[var(--space-lg,24px)]",children:[a>1&&(0,l.jsxs)("p",{"data-form-step-indicator":"",className:"text-[length:var(--type-meta)] text-[color:var(--color-fg-muted)]",children:["Step ",o," of ",a]}),p.map(e=>(0,l.jsx)(pE,{field:e,value:r[e.name]??"",error:s[e.name],onChange:t=>n(a=>({...a,[e.name]:t}))},e.name)),(0,l.jsx)("button",{type:"submit","data-form-submit":m?"":void 0,className:"mt-1 inline-flex items-center justify-center rounded-[var(--radius-md)] bg-[color:var(--color-brand-500)] px-4 py-2 font-medium text-[color:var(--color-primary-on)] transition hover:bg-[color:var(--color-brand-600)]",children:m?e.submit_label:"Continue"})]})},propsSchema:pN,recipes:Object.keys({contact:{slots:[],description:"A lead-capture / contact form (name, email, company, ...) ending in a submit. Use for 'get a demo', 'talk to sales', or 'book a walkthrough'. Set `steps` > 1 to paginate. NOT for a pick-from-a-set composer (use selector-group)."}}??{})},"typed-statement":{Component:function({data:e,atomId:t}){return(0,l.jsx)("section",{"data-atom-kind":"typed-statement","data-atom-id":t,"data-recipe":e.recipe,style:{...pz[e.recipe],paddingBlock:"var(--space-lg,64px)",paddingInline:"24px"},children:(0,l.jsx)("p",{style:{fontSize:"var(--type-display)",fontWeight:500,lineHeight:1.05,fontFamily:"var(--font-heading)",margin:0},children:e.lines.map((e,t)=>(0,l.jsx)("span",{"data-accent":e.accent?"true":void 0,style:{display:"block",color:e.accent?"var(--surface-accent,var(--color-brand-500))":"inherit"},children:e.text},t))})})},propsSchema:pP,recipes:Object.keys({left:{slots:[],description:"Left-aligned typed statement; types on scroll-into-view, accent words in brand red."},centered:{slots:[],description:"Centered typed statement; types on scroll-into-view, accent words in brand red."},pinned:{slots:[],description:"Pinned two-line typed statement; section pins while the red-accent second line types in."}}??{})},"logo-marquee":{Component:function({data:e,atomId:t}){let a=e.speed??"normal",r=e.direction??"ltr",n=pL[a];return(0,l.jsxs)("section",{"data-atom-kind":"logo-marquee","data-atom-id":t,"data-speed":a,"data-direction":r,style:{overflow:"hidden",paddingBlock:"var(--space-md, 32px)",paddingInline:"24px"},children:[(0,l.jsx)("style",{children:pO}),(0,l.jsxs)("div",{className:"lm-track",style:{display:"flex",gap:0,width:"max-content",alignItems:"center",animationDuration:n,animationDirection:"rtl"===r?"reverse":"normal"},children:[(0,l.jsx)("div",{style:{display:"flex",gap:"var(--space-xl, 40px)",alignItems:"center",paddingInlineEnd:"var(--space-xl, 40px)"},children:e.logos.map((e,t)=>(0,l.jsx)("img",{src:e.src,alt:e.alt,style:{height:"32px",width:"auto",objectFit:"contain",display:"block"}},t))}),(0,l.jsx)("div",{"aria-hidden":"true",style:{display:"flex",gap:"var(--space-xl, 40px)",alignItems:"center",paddingInlineEnd:"var(--space-xl, 40px)"},children:e.logos.map((e,t)=>(0,l.jsx)("img",{src:e.src,alt:"",style:{height:"32px",width:"auto",objectFit:"contain",display:"block"}},t))})]})]})},propsSchema:pR,recipes:Object.keys((void 0)??{})},"long-form":{Component:function({data:e,atomId:t}){let a=e.emphasis??"normal",r=(0,T.useClientConfig)().theme.surfaces[a],n={"--surface-accent":`var(--surface-${a}-accent)`,"--surface-fg-muted":`var(--surface-${a}-fg-muted, var(--color-fg-muted))`,background:`var(--surface-${a}-bg)`,color:`var(--surface-${a}-fg)`,border:`var(--surface-${a}-border, none)`,boxShadow:`var(--surface-${a}-shadow)`,borderRadius:"var(--radius-lg)"};return(0,l.jsx)(om.SurfaceContextProvider,{contrast:r.contrast,children:(0,l.jsxs)("section",{"data-atom-kind":"long-form","data-atom-id":t,"data-recipe":e.recipe,"data-emphasis":a,style:n,children:["expandable"===e.recipe&&(0,l.jsx)(p$,{data:e,emphasis:a,atomId:t}),"scroll-panel"===e.recipe&&(0,l.jsx)(pU,{data:e}),"two-column"===e.recipe&&(0,l.jsx)(pF,{data:e})]})})},propsSchema:pD,recipes:Object.keys({expandable:{slots:[],description:"Collapsed long-form with a fade mask + read-more toggle; expands inline with a Show less control to minimise distraction and respect page rhythm."},"scroll-panel":{slots:[],description:"Fixed-height card surface with internal scroll, rendering the prose in a compact framed panel ideal for dense reference material."},"two-column":{slots:[],description:"Sticky lede in the left rail, flowing prose on the right, for editorial long-reads where orientation context persists during scroll."}}??{})},"brief-card":{Component:function({data:e,atomId:t}){let a=e.emphasis??"normal",r=(0,T.useClientConfig)().theme.surfaces[a],{onClick:n}=(0,uD.useTriggerHandler)(e.answer_all_action,t,null),o={"--surface-accent":`var(--surface-${a}-accent)`,"--surface-fg-muted":`var(--surface-${a}-fg-muted, var(--color-fg-muted))`,background:`var(--surface-${a}-bg)`,color:`var(--surface-${a}-fg)`,border:`var(--surface-${a}-border, none)`,boxShadow:`var(--surface-${a}-shadow)`,borderRadius:"var(--radius-lg)",padding:"var(--space-md, 24px)"};return(0,l.jsx)(om.SurfaceContextProvider,{contrast:r.contrast,children:(0,l.jsxs)("div",{"data-atom-kind":"brief-card","data-atom-id":t,"data-emphasis":a,style:o,children:[(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--space-sm, 
75112px)",marginBottom:"var(--space-md, 24px)"},children:[e.icon?(0,l.jsx)("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"2.25rem",height:"2.25rem",borderRadius:"var(--radius-md)",background:"color-mix(in srgb, var(--surface-accent) 12%, transparent)",fontSize:"var(--type-body)",flexShrink:0},children:e.icon}):null,(0,l.jsx)("h3",{style:{fontSize:"var(--type-h3)",fontWeight:700,margin:0,color:`var(--surface-${a}-fg)`},children:e.title})]}),(0,l.jsx)("ul",{style:{listStyle:"none",margin:0,padding:0,display:"flex",flexDirection:"column",gap:"var(--space-xs, 8px)",marginBottom:"var(--space-md, 24px)"},children:e.questions.map((e,t)=>(0,l.jsx)("li",{style:{fontSize:"var(--type-body)",color:"var(--surface-fg-muted)",paddingLeft:"var(--space-sm, 12px)",borderLeft:"2px solid var(--surface-accent)"},children:e.text},t))}),(0,l.jsx)("button",{type:"button","data-brief-answer-all":!0,onClick:n??void 0,style:{fontSize:"var(--type-body-sm)",fontWeight:600,color:"var(--surface-accent)",background:"none",border:"none",padding:0,cursor:n?"pointer":"default",display:"inline-flex",alignItems:"center",gap:"var(--space-xs, 4px)"},children:"Answer all →"})]})})},propsSchema:pB,recipes:Object.keys((void 0)??{})},"resource-card":{Component:function({data:e,atomId:t}){let{onClick:a}=(0,uD.useTriggerHandler)(e.action,t,null),r={background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"var(--radius-lg)",padding:"var(--space-md, 16px)",width:"100%",textAlign:"left",cursor:a?"pointer":"default"},n={fontSize:"var(--type-body)",fontWeight:600,color:"var(--color-fg)",margin:0},o={fontSize:"var(--type-body-sm)",color:"var(--color-fg-muted)",margin:0},i={fontSize:"var(--type-body-sm)",color:"var(--color-fg-muted)",marginTop:"var(--space-xs, 4px)",marginBottom:0},s="audio"===e.recipe?(0,l.jsx)(pK,{data:e,titleStyle:n,metaStyle:o,summaryStyle:i}):(0,l.jsx)(pV,{data:e,titleStyle:n,metaStyle:o,summaryStyle:i});return a?(0,l.jsx)("button",{type:"button","data-atom-kind":"resource-card","data-atom-id":t,"data-recipe":e.recipe,"data-resource-action":!0,onClick:a,style:r,className:"focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",children:s}):(0,l.jsx)("div",{"data-atom-kind":"resource-card","data-atom-id":t,"data-recipe":e.recipe,style:r,children:s})},propsSchema:pG,recipes:Object.keys({audio:{slots:[],description:"Audio/podcast resource card: play glyph + duration label; click opens or plays the resource."},story:{slots:[],description:"Story resource card: a thumbnail-led layout with title + summary; click opens the story."}}??{})},"recap-player":{Component:function({data:e,atomId:t}){let[a,r]=(0,eu.useState)(0),[n,o]=(0,eu.useState)(e.default_modality??e.modalities[0]??"text"),[i,s]=(0,eu.useState)(1),[c,d]=(0,eu.useState)("read"),[u,p]=(0,eu.useState)(e.beats),m=(0,eu.useRef)(!1);(0,eu.useEffect)(()=>{if(m.current)return;m.current=!0;let a=(0,sE.readJsonFrom)(sE.CONVERSATION_STORAGE_BACKEND,`recap-player:${t}`);if(a){if(1!==a.v)return;r(a.beatIdx),o(e.modalities.includes(a.modality)?a.modality:e.default_modality??e.modalities[0]??"text"),s(a.speed),d(a.mode),p(a.beats)}},[t,e.modalities,e.default_modality]),(0,eu.useEffect)(()=>{(0,sE.writeJsonFrom)(sE.CONVERSATION_STORAGE_BACKEND,`recap-player:${t}`,{v:1,beatIdx:a,modality:n,speed:i,mode:c,beats:u})},[t,a,n,i,c,u]);let h=u[a];return(0,l.jsxs)("div",{"data-atom-kind":"recap-player","data-atom-id":t,style:{display:"flex",flexDirection:"column",gap:"var(--space-md, 16px)",padding:"var(--space-lg, 24px)",borderRadius:"var(--radius-lg)",border:"1px solid var(--color-border)",background:"var(--color-bg)"},children:[(0,l.jsx)("h2",{style:{fontSize:"var(--type-h3)",fontFamily:"var(--font-heading)",color:"var(--color-fg)",margin:0},children:e.title}),(0,l.jsx)("div",{role:"group","aria-label":"Playback mode",style:{display:"flex",gap:"var(--space-xs, 8px)"},children:["read","listen"].map(e=>(0,l.jsx)("button",{type:"button","aria-pressed":c===e,onClick:()=>{d(e),(0,en.logTelemetry)("recap_player:mode_toggle",{atomId:t,mode:e})},style:{padding:"6px 14px",borderRadius:"var(--radius-md)",border:"1px solid var(--color-border)",background:c===e?"var(--color-brand-500)":"var(--color-bg)",color:c===e?"var(--color-primary-on)":"var(--color-fg)",fontSize:"var(--type-body-sm)",cursor:"pointer",fontWeight:c===e?600:400},children:"read"===e?"Read":"Listen"},e))}),(0,l.jsx)("div",{role:"group","aria-label":"Modality",style:{display:"flex",gap:"var(--space-xs, 8px)",flexWrap:"wrap"},children:e.modalities.map(e=>(0,l.jsx)("button",{type:"button","aria-pressed":n===e,onClick:()=>{o(e),(0,en.logTelemetry)("recap_player:modality_change",{atomId:t,modality:e})},style:{padding:"4px 12px",borderRadius:"var(--radius-md)",border:"1px solid var(--color-border)",background:n===e?"var(--color-brand-100)":"transparent",color:n===e?"var(--color-brand-700)":"var(--color-fg-muted)",fontSize:"var(--type-meta)",cursor:"pointer",textTransform:"capitalize"},children:e},e))}),h&&(0,l.jsxs)("div",{"data-recap-player-content":"",style:{padding:"var(--space-md, 16px)",borderRadius:"var(--radius-md)",background:"var(--color-surface-subtle, var(--color-bg-muted))",border:"1px solid var(--color-border)"},children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)",color:"var(--color-fg-muted)",margin:"0 0 8px",textTransform:"uppercase",letterSpacing:"0.05em"},children:h.label}),(0,l.jsx)("p",{"data-recap-player-beat-text":"",style:{fontSize:"var(--type-body)",color:"var(--color-fg)",margin:0,lineHeight:1.6},children:h.text})]}),(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--space-sm, 
75112px)",flexWrap:"wrap"},children:[(0,l.jsx)("button",{type:"button","aria-label":"Previous beat",onClick:()=>{r(e=>Math.max(e-1,0)),(0,en.logTelemetry)("recap_player:prev_beat",{atomId:t})},style:pQ,children:"‹"}),(0,l.jsx)("button",{type:"button","aria-label":"Back 15 seconds",onClick:()=>{r(e=>pY(u,e,-15)),(0,en.logTelemetry)("recap_player:skip_back",{atomId:t,seconds:-15})},style:pQ,children:"«15"}),(0,l.jsx)("button",{type:"button","aria-label":"Forward 15 seconds",onClick:()=>{r(e=>pY(u,e,15)),(0,en.logTelemetry)("recap_player:skip_forward",{atomId:t,seconds:15})},style:pQ,children:"15»"}),(0,l.jsx)("button",{type:"button","aria-label":"Next beat",onClick:()=>{r(e=>Math.min(e+1,u.length-1)),(0,en.logTelemetry)("recap_player:next_beat",{atomId:t})},style:pQ,children:"›"}),(0,l.jsxs)("button",{type:"button","aria-label":`Playback speed: ${i}\xd7. Click to change.`,onClick:()=>{s(e=>{let a,r=-1===(a=pZ.indexOf(e))?1:pZ[(a+1)%pZ.length]??1;return(0,en.logTelemetry)("recap_player:speed_change",{atomId:t,speed:r}),r})},"data-recap-player-speed":"",style:{...pQ,marginLeft:"auto",minWidth:"48px",fontWeight:600},children:[i,"×"]})]}),(0,l.jsx)("ol",{"aria-label":"Beats timeline",style:{listStyle:"none",margin:0,padding:0,display:"flex",flexDirection:"column",gap:"var(--space-xs, 8px)"},children:u.map((e,n)=>{let o=n===a;return(0,l.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:"var(--space-xs, 8px)"},children:[(0,l.jsxs)("button",{type:"button","aria-current":o?"true":void 0,"aria-label":`Jump to ${e.label}`,onClick:()=>{r(n),(0,en.logTelemetry)("recap_player:beat_jump",{atomId:t,beatIdx:n})},style:{flex:1,textAlign:"left",padding:"6px 10px",borderRadius:"var(--radius-sm)",border:o?"1px solid var(--color-brand-500)":"1px solid transparent",background:o?"var(--color-brand-50)":"transparent",color:o?"var(--color-brand-700)":"var(--color-fg)",fontSize:"var(--type-body-sm)",fontWeight:o?600:400,cursor:"pointer"},children:[e.label,(0,l.jsxs)("span",{style:{marginLeft:"8px",fontSize:"var(--type-meta)",color:"var(--color-fg-muted)"},children:[e.duration_s,"s"]})]}),(0,l.jsx)("button",{type:"button","aria-label":`Move ${e.label} up`,disabled:0===n,onClick:()=>{0!==n&&p(e=>{let o=pJ(e,n,n-1);return a===n?r(n-1):a===n-1&&r(n),(0,en.logTelemetry)("recap_player:beat_reorder",{atomId:t,from:n,to:n-1}),o})},style:{...p0,opacity:0===n?.3:1},children:"↑"}),(0,l.jsx)("button",{type:"button","aria-label":`Move ${e.label} down`,disabled:n===u.length-1,onClick:()=>{n>=u.length-1||p(e=>{let o=pJ(e,n,n+1);return a===n?r(n+1):a===n+1&&r(n),(0,en.logTelemetry)("recap_player:beat_reorder",{atomId:t,from:n,to:n+1}),o})},style:{...p0,opacity:n===u.length-1?.3:1},children:"↓"})]},e.id)})})]})},propsSchema:pX,recipes:Object.keys((void 0)??{})},"process-steps":{Component:p2,propsSchema:p1,recipes:Object.keys((void 0)??{})},"person-card":{Component:p4,propsSchema:p5,recipes:Object.keys((void 0)??{})},"stat-card":{Component:p8,propsSchema:p3,recipes:Object.keys((void 0)??{})},"customer-logo-grid":{Component:function({data:e,atomId:t}){return(0,l.jsx)("div",{"data-atom-kind":"customer-logo-grid","data-atom-id":t,style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(150px, 1fr))",gap:"18px"},children:e.logos.map((e,t)=>{let a={background:e.tint??"var(--color-bg-subtle)",borderRadius:"var(--radius-md)",minHeight:"112px",display:"flex",alignItems:"center",justifyContent:"center",padding:"var(--space-xs, 8px) var(--space-sm, 16px)"};return(0,l.jsx)("div",{"data-logo-name":e.name,style:a,children:(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-emphasis, 600)",lineHeight:1.2,color:"var(--color-fg)",margin:0,textAlign:"center"},children:e.name})},t)})})},propsSchema:p7,recipes:Object.keys((void 0)??{})},"quote-grid":{Component:mt,propsSchema:p9,recipes:Object.keys((void 0)??{})},"customer-card":{Component:mn,propsSchema:mr,recipes:Object.keys((void 0)??{})},"resource-tile":{Component:mm,propsSchema:ml,recipes:Object.keys((void 0)??{})}},chrome:{Header:function({header:e}){var t;let a,r,n,o,{hasLogo:i,navMenu:s,navLinks:c,ctas:d}=(t=e.layout,a=!1,r=null,n=[],o=[],(0,mh.walkChromeItems)(t,e=>{"LOGO"===e.type?a=!0:"NAV_MENU"===e.type?null===r&&(r=e):"NAV_LINK"===e.type?n.push(e):"CTA_BUTTON"===e.type&&o.push(e)}),{hasLogo:a,navMenu:r,navLinks:n,ctas:o}),u=s?s.tabs:[];return(0,l.jsxs)("div",{"data-knotch-header":"",className:"px-[var(--spacing-6,24px)] md:px-[var(--spacing-16,64px)]",style:{zIndex:40,paddingTop:"28px"},children:[(0,l.jsx)("style",{children:"html[data-knotch-response-open] [data-template-root]{isolation:auto!important;}html[data-knotch-response-open] [data-chrome-sticky]{z-index:55!important;transform:none!important;}"}),(0,l.jsxs)("div",{className:"relative hidden w-full md:block",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("div",{children:i?(0,l.jsx)(my,{}):null}),(0,l.jsx)("div",{className:"flex items-center",style:{gap:"var(--spacing-2, 8px)"},children:d.map((e,t)=>(0,l.jsx)(mW,{label:e.label,href:e.href??"#"},`${e.label}:${e.href??t}`))})]}),(0,l.jsx)("div",{className:"absolute left-1/2 top-0 -translate-x-1/2",children:(0,l.jsx)(mD,{tabs:u,links:c,personaPlaceholder:m5})})]}),(0,l.jsx)("div",{className:"md:hidden",children:(0,l.jsx)(m2,{hasLogo:i,tabs:u,links:c,ctas:d,personaPlaceholder:m5})})]})},headerFloat:!0,scrollRevealHeader:!0,Footer:function({footer:e}
751){let t=e.emphasis??"normal",a=(0,T.useClientConfig)().theme.surfaces[t],r={background:`var(--surface-${t}-bg)`,color:`var(--surface-${t}-fg)`,border:`var(--surface-${t}-border, none)`,boxShadow:`var(--surface-${t}-shadow)`,padding:"var(--space-lg, 64px) 0 var(--spacing-8, 32px)","--color-fg":`var(--surface-${t}-fg)`,"--color-fg-muted":`var(--surface-${t}-fg-muted, var(--surface-${t}-fg))`};return(0,l.jsx)(om.SurfaceContextProvider,{contrast:a.contrast,children:(0,l.jsx)("footer",{"data-knotch-footer":"","data-emphasis":t,style:r,children:(0,l.jsxs)("div",{style:m4,children:[(0,l.jsxs)("nav",{"aria-label":"Footer",className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-[1.5fr_1fr_1fr_1fr_1fr]",style:{gap:"40px"},children:[(0,l.jsxs)("div",{className:"flex flex-col items-start sm:col-span-2 md:col-span-1",children:[(0,l.jsx)("span",{style:{fontFamily:"var(--font-sans)",fontSize:"34px",fontWeight:500,letterSpacing:"-0.03em",lineHeight:1,color:"var(--color-fg)"},children:"Knotch"}),(0,l.jsx)("div",{style:{marginTop:"26px"},children:(0,l.jsx)(he,{})})]}),m3.map(e=>(0,l.jsxs)("div",{className:"flex flex-col",style:{gap:"var(--spacing-3, 12px)"},children:[(0,l.jsx)("h2",{style:{fontSize:"var(--type-meta)",fontFamily:"var(--font-mono)",textTransform:"uppercase",letterSpacing:"0.14em",color:"var(--color-fg-muted)",margin:0},children:e.heading}),(0,l.jsx)("ul",{className:"flex flex-col list-none p-0 m-0",style:{gap:"var(--spacing-2, 8px)"},children:e.links.map(e=>(0,l.jsx)("li",{children:(0,l.jsx)(m7,{label:e.label,href:e.href})},`${e.label}:${e.href}`))})]},e.heading))]}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center",style:{marginTop:"var(--space-lg, 64px)",paddingTop:"var(--spacing-6, 24px)",borderTop:"1px solid color-mix(in oklab, currentColor 15%, transparent)",fontSize:"var(--type-meta)",fontFamily:"var(--font-mono)",letterSpacing:"0.04em",color:"var(--color-fg-muted)",gap:"var(--spacing-2, 8px)"},children:[(0,l.jsx)("span",{children:"© 2026 Knotch, Inc."}),(0,l.jsx)("span",{"aria-hidden":"true",children:"·"}),(0,l.jsx)(m7,{label:"Privacy Policy",href:"/legal/privacy-policy",inheritType:!0})]})]})})})},chatTheme:"dark",DemoForm:function(){let{isOpen:e,close:t}=(0,U.useDemoForm)(),[a,r]=(0,eu.useState)({}),[n,o]=(0,eu.useState)({}),[i,s]=(0,eu.useState)(!1),[c,d]=(0,eu.useState)(!1),[u,p]=(0,eu.useState)(!1),[m,h]=(0,eu.useState)(!1),[g,f]=(0,eu.useState)(null),y=(0,eu.useRef)(null),v=(0,eu.useRef)(null);(0,eu.useEffect)(()=>{if(!e)return;r({}),o({}),s(!1),d(!1),p(!1),h(!1),f(null);let t=setTimeout(()=>y.current?.focus(),550);return()=>clearTimeout(t)},[e]),(0,eu.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]);let b=(e,t)=>r(a=>({...a,[e]:t})),x=async e=>{e.preventDefault();let r=pC(hr,a),n=!i;if(Object.keys(r).length>0||n){o(r),d(n);return}o({}),d(!1),p(!0),f(null);try{let e=await fetch("/api/hubspot/forms",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({values:a,marketingConsent:i,page:{uri:window.location.href,name:document.title}})});if(e.ok)h(!0),v.current=setTimeout(()=>t(),3200);else if(422===e.status){let{field:t,message:a}=await e.json();o({[t]:a})}else f(hs)}catch{f(hs)}finally{p(!1)}};return(0,l.jsxs)("form",{"data-knotch-demo-form":"",onSubmit:x,style:{"--kdf-fg":"var(--chat-dark-fg, #efece5)",position:"relative",background:"transparent",padding:"26px 36px"},children:[(0,l.jsx)("style",{children:hi}),(0,l.jsx)(hd,{onClose:t}),m?(0,l.jsx)(hu,{}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("header",{children:(0,l.jsx)("h3",{style:{fontSize:"var(--type-h3)",fontWeight:"var(--font-weight-default, 500)",color:"var(--kdf-fg)",letterSpacing:"-0.5px",margin:0},children:"Let's start a conversation."})}),(0,l.jsx)("div",{className:"kdf-grid",style:{marginTop:"22px"},children:hn.map(e=>(0,l.jsx)(hl,{field:e,value:a[e.name]??"",error:n[e.name],onChange:t=>b(e.name,t),inputRef:"firstName"===e.name?y:void 0},e.name))}),(0,l.jsx)("div",{style:{marginTop:"12px"},children:(0,l.jsx)(hl,{field:ho,value:a[ho.name]??"",error:n[ho.name],onChange:e=>b(ho.name,e)})}),(0,l.jsx)(hc,{checked:i,error:c,onChange:e=>{s(e),e&&d(!1)}}),g&&(0,l.jsx)("p",{"data-demo-form-error":"",style:{fontSize:"var(--type-meta)",color:"var(--color-brand-500)",marginTop:"6px",marginBottom:0},children:g}),(0,l.jsx)("button",{type:"submit",disabled:u,className:"kdf-submit",style:{background:"var(--color-button-bg, #272626)",color:"var(--color-button-text, #efece5)",border:"none",borderRadius:"var(--radius-full, 9999px)",padding:"14px 26px",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-emphasis, 600)",cursor:u?"not-allowed":"pointer",opacity:u?.6:1,alignSelf:"flex-start",marginTop:"10px"},children:u?"Sending…":"Get a Demo"})]})]})}
751,Background:function(){let{currentPath:e}=(0,ei.useQueenNavigation)(),t="/"===e,a=(0,eu.useRef)(null),r=(0,eu.useRef)(null);return((0,eu.useEffect)(()=>{if(!t)return;let e=a.current,n=r.current;if(!e||!n)return;let o=n.getContext("2d");if(!o)return;let i=getComputedStyle(n),s=ha(i,["--color-accent-500","--color-brand-500"],"#FF0048"),l=ha(i,["--color-fg"],"#272626"),c=window.matchMedia("(prefers-reduced-motion: reduce)").matches,d=0,u=0,p=1,m=0,h=[],g=1,f={x:-9999,y:-9999};function y(){n&&o&&(p=Math.min(window.devicePixelRatio||1,2),d=window.innerWidth,u=window.innerHeight,n.width=Math.floor(d*p),n.height=Math.floor(u*p),n.style.width=`${d}px`,n.style.height=`${u}px`,o.setTransform(p,0,0,p,0,0),function(e){let t=d+80,a=u+80;h=[];for(let r=0;r<e;r++)h.push({x:-80+Math.random()*(t- -80),y:-80+Math.random()*(a- -80),vx:(Math.random()-.5)*.9,vy:(Math.random()-.5)*.9,r:1+1.6*Math.random()})}(Math.max(20,Math.min(200,Math.round(window.innerWidth*window.innerHeight/1296e3*120)))),c&&x())}function v(){if(!e)return;let t=window.innerHeight||1;g=Math.max(0,Math.min(1,1-(window.scrollY-0*t)/(.5*t))),e.style.opacity=String(g)}function b(e,t){if(f.x<=-9e3)return 0;let a=Math.hypot(f.x-e,f.y-t);return a>=200?0:(1-a/200)*.8}function x(){if(o){o.clearRect(0,0,d,u),o.lineWidth=1;for(let e=0;e<h.length;e++)for(let t=e+1;t<h.length;t++){let a=h[e],r=h[t],n=Math.hypot(a.x-r.x,a.y-r.y);if(n<180){let e=1-n/180;o.strokeStyle=ht(s,Math.min(1,.07*e+b((a.x+r.x)/2,(a.y+r.y)/2)*e)),o.beginPath(),o.moveTo(a.x,a.y),o.lineTo(r.x,r.y),o.stroke()}}for(let e=0;e<h.length;e++){let t=h[e];o.fillStyle=ht(l,Math.min(1,.34+b(t.x,t.y))),o.beginPath(),o.arc(t.x,t.y,t.r,0,2*Math.PI),o.fill()}}}function w(e){f.x=e.clientX,f.y=e.clientY}function k(){f.x=-9999,f.y=-9999}return(window.addEventListener("resize",y,{passive:!0}),window.addEventListener("scroll",v,{passive:!0}),y(),v(),c)?(x(),()=>{window.removeEventListener("resize",y),window.removeEventListener("scroll",v)}):(window.addEventListener("mousemove",w,{passive:!0}),window.addEventListener("mouseleave",k),m=requestAnimationFrame(function e(){if(0===g){m=requestAnimationFrame(e);return}let t=d+80,a=u+80,r=f.x>-9e3;for(let e=0;e<h.length;e++){let n=h[e],o=0,i=0,s=0,l=1/0;r&&(l=Math.hypot(i=f.x-n.x,s=f.y-n.y))<200&&(o=1-l/200);let c=.3+.7*o;if(n.x+=n.vx*c,n.y+=n.vy*c,(n.x<-80||n.x>t)&&(n.vx*=-1),(n.y<-80||n.y>a)&&(n.vy*=-1),r&&l<200){let e=.005*o;n.x+=i*e,n.y+=s*e}}x(),m=requestAnimationFrame(e)}),()=>{m&&cancelAnimationFrame(m),window.removeEventListener("resize",y),window.removeEventListener("scroll",v),window.removeEventListener("mousemove",w),window.removeEventListener("mouseleave",k)})},[t]),t)?(0,l.jsxs)("div",{ref:a,"aria-hidden":"true",style:{position:"fixed",inset:0,zIndex:-1,pointerEvents:"none"},children:[(0,l.jsx)("style",{children:`
752        @keyframes knotch-node-graph-in { from { opacity: 0 } to { opacity: 1 } }
753        @media (prefers-reduced-motion: reduce) {
754          [data-knotch-node-graph] { animation: none !important; }
755        }
756      `}),(0,l.jsx)("canvas",{ref:r,"data-knotch-node-graph":"",style:{position:"absolute",inset:0,width:"100vw",height:"100vh",display:"block",animation:"knotch-node-graph-in 1.4s ease-out 0.4s both"}})]}):null}},pages:{"/":function(e){let{displayedPersonaId:t,swapping:a}=hI(),r=hA[t??"default"]??hA.default,n=hA.default,{open:o}=(0,U.useDemoForm)(),[i,s]=(0,eu.useState)(!1),c=()=>{(0,en.logTelemetry)("knotch-home-cta-clicked",{cta:"get-demo"}),o()};return(0,l.jsxs)("div",{"data-knotch-page":"home",children:[(0,l.jsx)("section",{"aria-label":"Knotch home hero",style:{...hP,paddingBlock:"140px var(--space-xl, 80px)"},children:(0,l.jsxs)("div",{"data-knotch-hero-grid":"",style:{display:"grid",gridTemplateColumns:"1.15fr 0.85fr",gap:"56px",alignItems:"stretch"},children:[(0,l.jsx)("style",{children:`
757            @media (max-width: 760px) {
758              [data-knotch-hero-grid] { grid-template-columns: 1fr !important; }
759            }
760          `}),(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,l.jsx)("p",{style:{...hR,letterSpacing:"0.2em",marginBottom:"18px"},children:"Knotch"}),(0,l.jsxs)("h1",{"aria-label":`Meet Ace. ${r.hero.headline}`,style:{fontSize:"var(--type-display)",fontWeight:"var(--font-weight-default)",lineHeight:1.04,letterSpacing:"-0.035em",margin:0,maxWidth:"18ch"},children:[(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:"Meet Ace."}),(0,l.jsx)("br",{}),(0,l.jsx)(hN,{swapping:a,children:r.hero.headline})]}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",fontWeight:"var(--font-weight-light)",lineHeight:1.5,color:"var(--color-fg-body)",marginTop:"1.5rem",marginBottom:0,maxWidth:"40ch"},children:(0,l.jsx)(hN,{swapping:a,children:null===t?(0,l.jsxs)(l.Fragment,{children:["Intelligent web experiences built to convert"," ",(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:"humans"})," and"," ",(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:"machines"}),"."]}):r.hero.subhead})}),(0,l.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"12px",marginTop:"2rem"},children:[(0,l.jsx)(nQ.Button,{variant:"bare",onClick:c,className:`${hz} bg-[color:var(--color-button-bg)] text-[color:var(--color-button-text)] hover:opacity-90`,children:"Get demo"}),(0,l.jsxs)(nQ.Button,{variant:"bare",onClick:()=>
760{(0,en.logTelemetry)("knotch-home-cta-clicked",{cta:"see-live-google"}),window.open("https://www.thinkwithgoogle.com/next/v2/","_blank","noopener,noreferrer")},className:`${hz} border border-[color:var(--color-border)] bg-transparent text-[color:var(--color-fg)] hover:bg-[color:color-mix(in_srgb,var(--color-fg)_6%,transparent)]`,children:[(0,l.jsx)(ms,{name:"arrow-up-right",size:14}),r.hero.secondaryCtaAccentWord&&r.hero.secondaryCtaLabel.endsWith(r.hero.secondaryCtaAccentWord)?(0,l.jsxs)(l.Fragment,{children:[r.hero.secondaryCtaLabel.slice(0,r.hero.secondaryCtaLabel.length-r.hero.secondaryCtaAccentWord.length),(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:r.hero.secondaryCtaAccentWord})]}):r.hero.secondaryCtaLabel]})]}),(0,l.jsxs)("div",{style:{marginTop:"34px",display:"flex",flexDirection:"column",gap:"1rem"},children:[(0,l.jsx)("span",{style:{...hR,fontSize:"var(--type-overline)",letterSpacing:"0.12em"},children:"Built in partnership with"}),(0,l.jsx)("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"26px",rowGap:"0.75rem",filter:"grayscale(1)",opacity:.7},children:hW.map(e=>(0,l.jsx)("img",{src:e.src,alt:e.name,loading:"lazy",style:{height:`${e.height}px`,width:"auto",display:"block"}},e.name))})]})]}),(0,l.jsxs)("article",{"aria-label":"Watch the announcement",style:{position:"relative",overflow:"hidden",isolation:"isolate",minHeight:"440px",display:"flex",flexDirection:"column",background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"26px",padding:"26px",boxShadow:"0 30px 70px -44px rgba(39,38,38,0.4)"},children:[(0,l.jsx)("video",{src:hE,poster:hT,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,"aria-hidden":"true",style:{position:"absolute",inset:0,zIndex:0,width:"100%",height:"100%",objectFit:"cover"}}),(0,l.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",inset:0,zIndex:1,background:"linear-gradient(180deg, color-mix(in srgb, var(--color-bg) 58%, transparent) 0%, color-mix(in srgb, var(--color-bg) 20%, transparent) 40%, color-mix(in srgb, var(--color-bg) 32%, transparent) 62%, color-mix(in srgb, var(--color-bg) 74%, transparent) 100%)"}}),(0,l.jsxs)("div",{style:{position:"relative",zIndex:2,display:"flex",flexDirection:"column",flex:1},children:[(0,l.jsx)("span",{style:hR,children:"Ace"}),(0,l.jsx)("h2",{style:{fontSize:"var(--type-h3)",fontWeight:"var(--font-weight-default)",lineHeight:1.15,letterSpacing:"-0.02em",color:"var(--color-fg)",margin:"6px 0 0 0",maxWidth:"12ch"},children:"Watch the announcement"}),(0,l.jsxs)("div",{style:{marginTop:"auto",paddingTop:"2.5rem",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem"},children:[(0,l.jsx)("button",{type:"button",onClick:()=>{(0,en.logTelemetry)("knotch-home-video-clicked",{video:"announcement"}),s(!0)},"aria-label":"Play the announcement video",style:{width:"56px",height:"56px",borderRadius:"50%",border:"none",cursor:"pointer",background:"var(--color-button-bg)",color:"var(--color-button-text)",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,boxShadow:"0 6px 20px color-mix(in srgb, var(--color-fg) 22%, transparent)"},children:(0,l.jsx)(ms,{name:"play",size:20})}),(0,l.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.14em",textTransform:"uppercase",color:"var(--color-fg-muted)"},children:"60 seconds"})]})]})]})]})}),(0,l.jsxs)(hO,{eyebrow:"The shift",children:[(0,l.jsx)(hM,{maxWidth:"22ch",children:(0,l.jsxs)(hN,{swapping:a,children:[r.shift.headline.lead," ",(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:r.shift.headline.tail})]})}),(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 360px), 1fr))",gap:"20px",marginTop:"2.5rem"},children:[(0,l.jsx)(hH,{tone:"light",label:"Humans",body:r.shift.humansBody,stat:">80%",statLabel:r.shift.humansStatLabel,swapping:a}),(0,l.jsx)(hH,{tone:"dark",label:"Agents",body:r.shift.agentsBody,stat:"+7,851",statLabel:r.shift.agentsStatLabel,swapping:a})]})]}),(0,l.jsxs)(hO,{eyebrow:"The answer",children:[(0,l.jsxs)(hM,{maxWidth:"22ch",children:["This is why we built Ace."," ",(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"}
760,children:"To win both audiences."})]}),(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 360px), 1fr))",gap:"20px",marginTop:"2.5rem"},children:[(0,l.jsxs)("article",{style:{background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"22px",padding:"28px",display:"flex",flexDirection:"column"},children:[(0,l.jsx)(hD,{}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",lineHeight:1.2,letterSpacing:"-0.02em",color:"var(--color-fg)",margin:"22px 0 0"},children:"For humans."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.6,color:"var(--color-fg-body)",margin:"12px 0 0",maxWidth:"44ch"},children:(0,l.jsx)(hN,{swapping:a,children:r.answer.humansBody})})]}),(0,l.jsxs)("article",{style:{background:"var(--color-button-bg)",borderRadius:"22px",padding:"28px",display:"flex",flexDirection:"column"},children:[(0,l.jsx)(hq,{}),(0,l.jsxs)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",lineHeight:1.2,letterSpacing:"-0.02em",color:"var(--color-button-text)",margin:"22px 0 0"},children:["For agents."," ",(0,l.jsx)("span",{style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-light)",color:"color-mix(in srgb, var(--color-button-text) 60%, transparent)"},children:"(Coming Soon)"})]}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.6,color:"color-mix(in srgb, var(--color-button-text) 72%, transparent)",margin:"12px 0 0",maxWidth:"44ch"},children:(0,l.jsx)(hN,{swapping:a,children:r.answer.agentsBody})})]})]}),(0,l.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 360px), 1fr))",gap:"20px",marginTop:"12px"},children:n.answer.chips.map(e=>(0,l.jsx)(hk,{prompt:e.prompt,atomId:e.atomId},e.atomId))})]}),(0,l.jsx)(hp,{}),(0,l.jsxs)(hO,{eyebrow:"Trusted by",children:[(0,l.jsx)(hM,{level:"h3",maxWidth:"22ch",children:"Trusted by the best brands in the world."}),(0,l.jsx)("div",{style:{marginTop:"2.5rem"},children:(0,l.jsx)(h_,{items:hS})})]}),(0,l.jsx)("section",{"aria-label":r.cta.headline,style:{...hP,paddingBlock:"var(--space-lg, 64px)"},children:(0,l.jsxs)("div",{style:{background:"linear-gradient(150deg, #ff8a9e, #ff5a6e 55%, #ff0048)",borderRadius:"24px",padding:"48px",display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between",gap:"2rem"},children:[(0,l.jsx)("h2",{style:{fontSize:"var(--type-h2)",fontWeight:"var(--font-weight-default)",lineHeight:1.12,letterSpacing:"-0.025em",color:"#ffffff",margin:0,maxWidth:"14ch"},children:(0,l.jsx)(hN,{swapping:a,children:r.cta.headline})}),(0,l.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:"12px"},children:(0,l.jsx)(nQ.Button,{variant:"bare",onClick:c,className:`${hz} bg-[color:var(--color-button-bg)] text-[color:var(--color-button-text)] hover:opacity-90`,children:"Get demo"})})]})}),i?(0,l.jsx)(iA.BrandedModal,{open:!0,onOpenChange:s,title:"Watch the Ace announcement",description:"A 60-second video introducing Ace, the AI experience infrastructure for the conversational web.",className:"!w-[min(94vw,880px)] !p-0 !overflow-hidden",scrim:"color-mix(in srgb, #f4f5f7 70%, transparent)",children:(0,l.jsx)("video",{src:hE,poster:hT,controls:!0,autoPlay:!0,playsInline:!0,style:{display:"block",width:"100%",aspectRatio:"16 / 9",background:"#000",borderRadius:"var(--radius-xl)"}})}):null]})},"/products/ace":function(e){let{displayedPersonaId:t,swapping:a}=hI(),r=h8[t??"default"]??h8.default,n=h8.default,{open:o}=(0,U.useDemoForm)();return(0,l.jsxs)("div",{"data-knotch-page":"products-ace",children:[(0,l.jsxs)("section",{"aria-label":"Ace product hero",style:{...ge,paddingBlock:"calc(var(--space-md, 16px) * 2) 40px"},children:[(0,l.jsxs)("p",{style:{...ga,marginBottom:"1.75rem"},children:["Products /"," ",(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:"Ace"})]}),(0,l.jsxs)("div",{"data-knotch-hero-grid":"",style:{display:"grid",gridTemplateColumns:"1.05fr 0.95fr",gap:"56px",alignItems:"stretch"},children:[(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,l.jsxs)("h1",{"aria-label":"Ace. Built to convert humans and machines.",style:{fontSize:"var(--type-display)",fontWeight:"var(--font-weight-default)",lineHeight:1.04,letterSpacing:"-0.035em",margin:0},children:[(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:"Ace."}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{children:"Built to convert humans and machines."})]}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",fontWeight:"var(--font-weight-light)",lineHeight:1.5,marginTop:"1.5rem",marginBottom:0,maxWidth:"44ch"},children:(0,l.jsxs)(hN,{swapping:a,children:[(0,l.jsx)("span",{style:{color:"var(--color-fg)"},children:r.hero.headline})," ",(0,l.jsx)("span",{style:{color:"var(--color-fg-muted)"},children:r.hero.subhead})]})}),(0,l.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"12px",marginTop:"2rem"},children:[(0,l.jsx)(nQ.Button,{variant:"bare",onClick:()=>
760{(0,en.logTelemetry)("knotch-ace-cta-clicked",{cta:"get-demo"}),o()},className:`${gt} px-[28px] py-[16px] bg-[color:var(--color-button-bg)] text-[color:var(--color-button-text)] hover:opacity-90`,children:"Get demo"}),(0,l.jsxs)(nQ.Button,{variant:"bare",onClick:()=>{(0,en.logTelemetry)("knotch-ace-cta-clicked",{cta:"see-live-google"}),window.open("https://www.thinkwithgoogle.com/next/v2/","_blank","noopener,noreferrer")},className:`${gt} gap-[9px] px-[24px] py-[15px] border border-[color:var(--color-border)] bg-transparent text-[color:var(--color-fg)] hover:bg-[color:color-mix(in_srgb,var(--color-fg)_6%,transparent)]`,children:[(0,l.jsx)(ms,{name:"arrow-up-right",size:14}),r.hero.secondaryCtaAccentWord&&r.hero.secondaryCtaLabel.endsWith(r.hero.secondaryCtaAccentWord)?(0,l.jsxs)(l.Fragment,{children:[r.hero.secondaryCtaLabel.slice(0,r.hero.secondaryCtaLabel.length-r.hero.secondaryCtaAccentWord.length),(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:r.hero.secondaryCtaAccentWord})]}):r.hero.secondaryCtaLabel]})]})]}),(0,l.jsx)(h6,{quote:"Growth in our business now depends on meeting every consumer with the right next step whether they are buying, renting or just browsing. ACE takes the content and expertise we have already built and reassembles it around each visitor's intent in real time, turning our content and experience into trust that moves people to take action.",name:"Ravi Kandikonda",role:"Chief Marketing Officer · Zillow",gradient:"linear-gradient(150deg, #ff8a9e, #ff5a6e 55%, #ff0048)",showAvatar:!1})]}),(0,l.jsxs)("div",{style:{...gr,marginTop:"44px",paddingTop:"28px",display:"flex",alignItems:"center",flexWrap:"wrap",gap:"1rem 2.25rem"},children:[(0,l.jsx)("span",{style:{...ga,whiteSpace:"nowrap"},children:"Built in partnership with"}),(0,l.jsx)("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"1.875rem",rowGap:"0.75rem",opacity:.5},children:gc.map(e=>(0,l.jsx)("span",{style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-default)",color:"var(--color-fg)"},children:e},e))})]}),(0,l.jsx)("style",{children:`
761          @media (max-width: 760px) {
762            [data-knotch-hero-grid] { grid-template-columns: 1fr !important; }
763          }
764          @media (max-width: 640px) {
765            [data-knotch-feature-row] { grid-template-columns: 1fr !important; }
766            [data-knotch-feature-row] > * { border-left: none !important; border-top: 1px solid var(--color-border); }
767            [data-knotch-feature-row] > *:first-child { border-top: none; }
768          }
769        `}),(0,l.jsx)("div",{"data-knotch-feature-row":"",style:{marginTop:"var(--space-lg, 64px)",background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"var(--radius-lg, 22px)",display:"grid",gridTemplateColumns:"repeat(3, minmax(0, 1fr))",overflow:"hidden"},children:gd.map((e,a)=>(0,l.jsxs)("div",{style:{position:"relative",padding:"28px",borderLeft:0===a?"none":"1px solid var(--color-border)",display:"flex",flexDirection:"column",gap:"12px"},children:[(0,l.jsxs)("span",{"aria-hidden":"true",style:{position:"absolute",top:"20px",right:"20px",fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.04em",color:"var(--color-fg-muted)"},children:["/0",a+1]}),(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:(0,l.jsx)(ms,{name:e.icon,size:22})}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",lineHeight:1.2,color:"var(--color-fg)",margin:0},children:e.title}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.5,color:"var(--color-fg-body)",margin:0},children:null===t?e.body:r.statTiles[a]})]},e.title))})]}),(0,l.jsx)(hp,{}),(0,l.jsxs)(go,{index:"02",eyebrow:"Where Ace sits",children:[(0,l.jsx)(gi,{maxWidth:"26ch",children:(0,l.jsx)(hN,{swapping:a,children:null===t?(0,l.jsxs)(l.Fragment,{children:["Ace sits on top of your existing stack and delivers"," ",(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:"personalized, conversational experiences"})," ","to AI-native visitors — and structured, citable content to the AI agents shaping decisions upstream."]}):r.whereAceSits.headline})}),(0,l.jsx)("div",{style:gn,children:gu.map((e,t)=>{let a=r.whereAceSits.guarantees[t];return(0,l.jsxs)("article",{style:{background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"var(--radius-lg, 22px)",padding:"26px",display:"flex",flexDirection:"column",gap:"12px"},children:[(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:(0,l.jsx)(ms,{name:e.icon,size:24})}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",lineHeight:1.2,color:"var(--color-fg)",margin:0},children:a.title}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.5,color:"var(--color-fg-muted)",margin:0},children:a.body})]},e.title)})})]}),(0,l.jsxs)(go,{index:"03",eyebrow:"How Ace works",children:[(0,l.jsx)(gi,{children:"The Knowledge Base."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",lineHeight:1.6,color:"var(--color-fg-body)",margin:"1.25rem 0 0 0",maxWidth:"80ch"},children:(0,l.jsx)(hN,{swapping:a,children:r.knowledgeBase.lead})}),(0,l.jsx)("div",{style:gn,children:gp.map(e=>(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[(0,l.jsxs)("article",{style:{flex:1,background:"var(--color-bg-subtle)",borderRadius:"var(--radius-lg, 22px)",padding:"28px",display:"flex",flexDirection:"column"},children:[(0,l.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:"8px",fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.16em",textTransform:"uppercase",color:"var(--color-brand-500)",marginBottom:"16
769px"},children:[(0,l.jsx)("span",{"aria-hidden":"true",style:{width:"7px",height:"7px",borderRadius:"50%",background:"var(--color-brand-500)",flexShrink:0}}),"Step ",e.step," / ",e.title]}),(0,l.jsx)("img",{src:h7[e.step].src,alt:h7[e.step].alt,style:{width:"100%",aspectRatio:"16 / 10",objectFit:"cover",background:"#fff",borderRadius:"12px",marginBottom:"18px",display:"block"}}),(0,l.jsxs)("h4",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",lineHeight:1.2,letterSpacing:"-0.02em",color:"var(--color-fg)",margin:0},children:[e.title,".",(0,l.jsx)("span",{style:{display:"block",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-default)",lineHeight:1.3,color:"var(--color-fg-muted)",marginTop:"3px"},children:e.tagline})]}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.55,color:"var(--color-fg-body)",margin:"14px 0 0 0"},children:e.body})]}),(0,l.jsx)(hk,{prompt:n.knowledgeBase.chips.find(t=>t.atomId===`ace-kb-${e.step}`)?.prompt??e.chip,atomId:`ace-kb-${e.step}`})]},e.step))})]}),(0,l.jsxs)(go,{index:"04",eyebrow:"One knowledge base / two experiences",children:[(0,l.jsx)(gi,{children:"Dual-audience delivery."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",lineHeight:1.6,color:"var(--color-fg-body)",margin:"1rem 0 0 0"},children:(0,l.jsx)(hN,{swapping:a,children:r.dualAudience.subhead})}),(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 320px), 1fr))",gap:"20px",marginTop:"2.5rem"},children:[(0,l.jsxs)("article",{style:{background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"var(--radius-lg, 22px)",padding:"28px",display:"flex",flexDirection:"column"},children:[(0,l.jsx)(gs,{}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",lineHeight:1.2,color:"var(--color-fg)",margin:"22px 0 0"},children:"For AI-native visitors."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-default)",color:"var(--color-fg-muted)",margin:"3px 0 0"},children:"Personalized. Conversational. Converting."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.6,color:"var(--color-fg-body)",margin:"14px 0 0"},children:"Ace reads intent the moment a visitor lands — entry path, referral, behavior, journey stage — and assembles a one-to-one experience from your Knowledge Base. Every visit is different. Every one is on-brand."})]}),(0,l.jsxs)("article",{style:{background:"var(--surface-featured-bg, var(--color-fg))",borderRadius:"var(--radius-lg, 22px)",padding:"28px",display:"flex",flexDirection:"column"},children:[(0,l.jsx)(gl,{}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",lineHeight:1.2,color:"var(--surface-featured-fg, #efece5)",margin:"22px 0 0"},children:"For AI agents & LLMs."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-default)",color:"var(--surface-featured-fg-muted, rgba(239,236,229,0.7))",margin:"3px 0 0"},children:"Structured. Citable. Authoritative."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.6,color:"var(--surface-featured-fg-muted, rgba(239,236,229,0.7))",margin:"14px 0 0"},children:"Ace serves structured, semantically rich content directly to the models that decide who gets discovered — visible and accurate inside ChatGPT, Gemini, Claude, and every answer engine that follows."})]})]})]}),(0,l.jsxs)(go,{index:"05",eyebrow:"Where to start",children:[(0,l.jsx)(gi,{children:"Use cases — where to start."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",lineHeight:1.6,color:"var(--color-fg-body)",margin:"1rem 0 0 0"},children:(0,l.jsx)(hN,{swapping:a,children:r.useCases.subhead})}),(0,l.jsx)("div",{style:gn,children:r.useCases.order.map(e=>{let t=gm[e];return(0,l.jsxs)("article",{style:{background:"var(--color-bg-subtle)",borderRadius:"var(--radius-lg, 22px)",padding:"28px",display:"flex",flexDirection:"column"},children:[(0,l.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.14em",textTransform:"uppercase",color:"var(--color-fg-muted)",marginBottom:"10px"},children:["uc / ",t.name.toLowerCase()]}),(0,l.jsxs)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",lineHeight:1.2,letterSpacing:"-0.02em",color:"var(--color-fg)",margin:0},children:[t.name,".",(0,l.jsx)("span",{style:{display:"block",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-default)",lineHeight:1.3,color:"var(--color-fg-muted)",marginTop:"4px"},children:t.tagline})]}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.55,color:"var(--color-fg-body)",margin:"14px 0 18px 0"},children:t.body}),(0,l.jsx)("img",{src:h9[t.name].src,alt:h9[t.name].alt,style:{width:"100%",aspectRatio:"16 / 10",objectFit:"cover",background:"#fff",borderRadius:"12px",marginTop:"auto",display:"block"}})]},t.name)}
769)}),(0,l.jsx)("div",{style:{marginTop:"16px"},children:(0,l.jsx)(hk,{prompt:n.useCases.chips.find(e=>"ace-uc-conversion"===e.atomId)?.prompt??gm.Conversion.chip,atomId:"ace-uc-conversion"})})]})]})},"/acelaunch":function(e){return(0,l.jsxs)("div",{"data-knotch-page":"acelaunch",children:[(0,l.jsx)(h1,{}),hJ.map(e=>(0,l.jsx)(h3,{video:e},e.id))]})},"/products/knotch":function(e){let{displayedPersonaId:t,swapping:a}=hI(),r=gy[t??"default"]??gy.default,{open:n}=(0,U.useDemoForm)();return(0,l.jsxs)("div",{"data-knotch-page":"products-knotch",children:[(0,l.jsxs)("section",{"aria-label":"Knotch One product hero",style:{...gb,paddingBlock:"calc(var(--space-md, 16px) * 2) 40px"},children:[(0,l.jsxs)("p",{style:{...gx,marginBottom:"1.75rem"},children:["Products /"," ",(0,l.jsx)("span",{style:{color:gv},children:"Knotch One"})]}),(0,l.jsxs)("div",{"data-knotch-hero-grid":"",style:{display:"grid",gridTemplateColumns:"1.05fr 0.95fr",gap:"56px",alignItems:"stretch"},children:[(0,l.jsx)("style",{children:`
770            @media (max-width: 760px) {
771              [data-knotch-hero-grid] { grid-template-columns: 1fr !important; }
772            }
773          `}),(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,l.jsxs)("h1",{"aria-label":"Knotch One. Prove it. Improve it.",style:{fontSize:"var(--type-display)",fontWeight:"var(--font-weight-default)",lineHeight:1.04,letterSpacing:"-0.035em",margin:0},children:[(0,l.jsx)("span",{style:{color:gv},children:"Knotch One."}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{children:"Prove it. Improve it."})]}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",fontWeight:"var(--font-weight-light)",lineHeight:1.5,marginTop:"1.5rem",marginBottom:0,maxWidth:"40ch"},children:(0,l.jsx)(hN,{swapping:a,children:null===t?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{style:{color:"var(--color-fg)"},children:"The Content Intelligence & Optimization Platform."})," ",(0,l.jsx)("span",{style:{color:"var(--color-fg-muted)"},children:"Measure what your content does, prove its value, and make every piece work harder — powered by your own first-party data."})]}):r.heroSubhead})}),(0,l.jsx)("div",{style:{marginTop:"2rem"},children:(0,l.jsx)(nQ.Button,{variant:"bare",onClick:()=>{(0,en.logTelemetry)("knotch-one-cta-clicked",{cta:"get-demo"}),n()},className:"inline-flex items-center justify-center no-underline whitespace-nowrap rounded-full font-medium uppercase tracking-[0.06em] text-[length:var(--type-meta)] [font-family:var(--font-mono)] transition duration-300 ease-out hover:-translate-y-px cursor-pointer disabled:cursor-not-allowed disabled:opacity-60 px-[28px] py-[16px] bg-[color:var(--color-button-bg)] text-[color:var(--color-button-text)] hover:opacity-90",children:"Get demo"})})]}),(0,l.jsx)(h6,{quote:"I never dreamed we would get what we got from our partnership with Knotch. I thought I was bringing in a platform. What I actually got was the ease of a system and the benefit of a human partnership I’d be hard pressed to do my job without.",name:"Jordan Blakley",role:"Sr. Director of Online Marketing · Realtor.com",gradient:"linear-gradient(150deg, #c4b5fd, #a78bfa 45%, #7fd4d4)",showAvatar:!1})]}),(0,l.jsxs)("div",{style:{...gw,marginTop:"44px",paddingTop:"28px",display:"flex",alignItems:"center",flexWrap:"wrap",gap:"1rem 2.25rem"},children:[(0,l.jsx)("span",{style:{...gx,whiteSpace:"nowrap"},children:"Trusted by"}),(0,l.jsx)("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"1.875rem",rowGap:"0.75rem",opacity:.5},children:gI.map(e=>(0,l.jsx)("span",{style:{fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-default)",color:"var(--color-fg)"},children:e},e))})]}),(0,l.jsx)("style",{children:`
774          @media (max-width: 640px) {
775            [data-knotch-feature-row] { grid-template-columns: 1fr !important; }
776            [data-knotch-feature-row] > * { border-left: none !important; border-top: 1px solid var(--color-border); }
777            [data-knotch-feature-row] > *:first-child { border-top: none; }
778          }
779        `}),(0,l.jsx)("div",{"data-knotch-feature-row":"",style:{marginTop:"28px",background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"22px",display:"grid",gridTemplateColumns:"repeat(3, minmax(0, 1fr))",overflow:"hidden"},children:gN.map((e,a)=>(0,l.jsxs)("div",{style:{position:"relative",padding:"36px",borderLeft:0===a?"none":"1px solid var(--color-border)",display:"flex",flexDirection:"column",gap:"12px"},children:[(0,l.jsxs)("span",{"aria-hidden":"true",style:{position:"absolute",top:"20px",right:"20px",fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",letterSpacing:"0.04em",color:"var(--color-fg-muted)"},children:["/0",a+1]}),(0,l.jsx)("span",{style:{color:gv},children:(0,l.jsx)(ms,{name:e.icon,size:22})}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:"var(--font-weight-default)",lineHeight:1.2,letterSpacing:"-0.02em",color:"var(--color-fg)",margin:0},children:e.title}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",lineHeight:1.55,color:"var(--color-fg-body)",margin:0},children:null===t?e.body:r.statTiles[a]})]},e.title))})]}),gA.map(e=>(0,l.jsx)(g_,{capability:e,carouselCopy:r.carousels[e.slug],swapping:a},e.index))]})},"/explore/careers":function(e){let t=(0,eu.useRef)(null);return gz(t),(0,l.jsxs)("div",{ref:t,"data-knotch-page":"careers",children:[(0,l.jsxs)("section",{"aria-label":"Careers hero",style:{...gO,paddingBlock:"calc(var(--space-md, 16px) * 2) 40px",display:"flex",flexDirection:"column"},children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)",fontWeight:500,letterSpacing:"0.08em",textTransform:"uppercase",color:"var(--surface-accent, var(--color-brand-500))",margin:"0 0 1rem 0"},children:"Explore / Careers"}),(0,l.jsx)("h1",{"aria-label":"Join the team.",style:{fontSize:"var(--type-display)",fontWeight:500,lineHeight:1.05,margin:0,maxWidth:"540px"},children:(0,l.jsx)(gR,{text:"Join the team."})}),(0,l.jsx)(gL,{as:"p",style:{fontSize:"var(--type-body)",fontWeight:400,lineHeight:1.3,color:"var(--surface-fg-muted, var(--color-fg-muted))",marginTop:"1.5rem",marginBottom:0,maxWidth:"640px"},children:"We're always looking for hungry, talented & fun people to join our fully remote family."}),(0,l.jsx)(gL,{style:{display:"flex",flexWrap:"wrap",gap:"0.75rem",marginTop:"2rem"},children:(0,l.jsx)(nQ.Button,{asChild:!0,variant:"bare",className:"inline-flex items-center justify-center no-underline whitespace-nowrap rounded-full font-medium uppercase tracking-[0.06em] text-[13px] [font-family:var(--font-mono)] transition duration-300 ease-out hover:-translate-y-
779px cursor-pointer disabled:cursor-not-allowed disabled:opacity-60 px-[28px] py-[16px] bg-[#0d0d0c] text-[#efece5] hover:opacity-90",children:(0,l.jsx)("a",{href:"https://ats.rippling.com/knotch-inc/jobs",target:"_blank",rel:"noopener noreferrer",onClick:()=>{(0,en.logTelemetry)("knotch-careers-cta-clicked",{cta:"view-open-roles"})},children:"View open roles"})})})]}),(0,l.jsxs)("section",{"aria-label":"Life at Knotch, in numbers",style:{...gO,paddingBlock:"90px 0"},children:[(0,l.jsx)("h2",{style:{fontSize:"var(--type-h1)",fontWeight:500,lineHeight:1.2,margin:"0 0 2.5rem 0"},children:"Life at Knotch, in numbers."}),(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 280px), 1fr))",gap:"20px"},children:[(0,l.jsx)(p8,{atomId:"careers-stat-remote",data:{title:"Remote first",description:"A fully remote company — employees across 17 states and 3 countries.",metric:"100%",label:"Remote",tint:"green"}}),(0,l.jsx)(p8,{atomId:"careers-stat-stipend",data:{title:"Monthly stipend",description:"Toward mental-health wellness, professional development and food.",metric:"$300",label:"Every month",tint:"orange"}}),(0,l.jsx)(p8,{atomId:"careers-stat-recharge",data:{title:"Time to recharge",description:"Guaranteed paid holidays — plus unlimited time off.",metric:"12+",label:"Holidays",tint:"yellow"}})]})]}),(0,l.jsxs)("section",{"aria-label":"Why people join",style:{...gO,paddingBlock:"90px 0"},children:[(0,l.jsx)("h2",{style:{fontSize:"var(--type-h1)",fontWeight:500,lineHeight:1.2,margin:"0 0 0.5rem 0"},children:"Why people join."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",color:"var(--color-fg-muted)",margin:"0 0 2.5rem 0"},children:"Ownership, balance, and a team that ships."}),(0,l.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 280px), 1fr))",gap:"20px"},children:gM.map(e=>(0,l.jsxs)("article",{"aria-label":e.title,style:{display:"flex",flexDirection:"column",gap:"1.25rem",background:"var(--color-bg-subtle)",border:"1px solid var(--color-border)",borderRadius:"22px",padding:"36px"},children:[(0,l.jsx)("span",{style:{color:"var(--surface-accent, var(--color-brand-500))",display:"inline-flex"},children:(0,l.jsx)(ms,{name:e.icon,size:24})}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h5)",fontWeight:500,lineHeight:1.2,margin:0},children:e.title}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",color:"var(--color-fg-muted)",lineHeight:1.6,margin:0},children:e.body})]},e.title))})]}),(0,l.jsxs)("section",{"aria-label":"Benefits for your mind and body",style:{...gO,paddingBlock:"90px 0"},children:[(0,l.jsx)("h2",{style:{fontSize:"var(--type-h1)",fontWeight:500,lineHeight:1.2,margin:"0 0 0.5rem 0"},children:"Benefits for your mind & body."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",color:"var(--color-fg-muted)",margin:"0 0 2.5rem 0"},children:"Work-life balance, written into the package."}),(0,l.jsx)("div",{style:{background:"color-mix(in srgb, var(--color-fg) 3%, var(--color-bg))",border:"1px solid var(--color-border)",borderRadius:"24px",padding:"48px",display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 280px), 1fr))",gap:"44px 48px"},children:gH.map(e=>(0,l.jsxs)("div",{"aria-label":e.title,style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:[(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[(0,l.jsx)("span",{style:{color:"var(--surface-accent, var(--color-brand-500))",display:"inline-flex"},children:(0,l.jsx)(ms,{name:e.icon,size:18})}),(0,l.jsx)("h3",{style:{fontSize:"var(--type-h6)",fontWeight:500,lineHeight:1.2,margin:0},children:e.title})]}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body-sm)",color:"var(--color-fg-muted)",lineHeight:1.6,margin:0},children:e.body})]},e.title))})]}),(0,l.jsxs)("section",{"aria-label":"What to expect from our interview process",style:{...gO,paddingBlock:"90px 0"},children:[(0,l.jsx)("h2",{style:{fontSize:"var(--type-h1)",fontWeight:500,lineHeight:1.2,margin:"0 0 0.5rem 0"},children:"What to expect from our interview process."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",color:"var(--color-fg-muted)",margin:"0 0 2.5rem 0"},children:"Six steps — every one of them with a real human on the other side."}),(0,l.jsx)(p2,{atomId:"careers-process",data:{steps:[...gD]}})]})]})},"/explore/company":function(e){let t=(0,eu.useRef)(null);return gz(t),(0,l.jsxs)("div",{ref:t,"data-knotch-page":"company",children:[(0,l.jsxs)("section",{"aria-label":"Company hero",style:{...gq,paddingBlock:"calc(var(--space-md, 16px) * 2) 40px",display:"flex",flexDirection:"column"},children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)",fontWeight:500,letterSpacing:"0.08em",textTransform:"uppercase",color:"var(--surface-accent, var(--color-brand-500))",margin:"0 0 1rem 0"},children:"Explore / Company"}),(0,l.jsx)("h1",{"aria-label":"Building the future of the conversational web.",style:{fontSize:"var(--type-display)",fontWeight:500,lineHeight:1.05,margin:0,maxWidth:"540px"},children:(0,l.jsx)(gR,{text:"Building the future of the conversational web."})}),(0,l.jsx)(gL,{as:"p",style:{fontSize:"var(--type-body)",fontWeight:400,lineHeight:1.3,color:"var(--surface-fg-muted, var(--color-fg-muted))",marginTop:"1.5rem",marginBottom:0,maxWidth:"640px"}
779,children:"Ace is a new product from Knotch — built by a team that has spent a decade proving what content is worth."})]}),(0,l.jsxs)("section",{"aria-label":"Meet the Knotch leadership team",style:{...gq,paddingBlock:"var(--space-lg, 64px)"},children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)",fontWeight:500,letterSpacing:"0.08em",textTransform:"uppercase",color:"var(--surface-accent, var(--color-brand-500))",margin:"0 0 0.5rem 0"},children:"Team"}),(0,l.jsx)("h2",{style:{fontSize:"var(--type-h1)",fontWeight:500,lineHeight:1.2,margin:"0 0 2.5rem 0"},children:"Meet the Knotch leadership team."}),(0,l.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 240px), 1fr))",gap:"1.5rem"},children:gW.map((e,t)=>(0,l.jsx)(p4,{atomId:`company-leader-${t+1}`,data:{name:e.name,title:e.title,avatar:e.avatar}},e.name))})]}),(0,l.jsxs)("section",{"aria-label":"Supported by a board of industry leaders",style:{...gq,paddingBlock:"var(--space-lg, 64px)"},children:[(0,l.jsx)("p",{style:{fontSize:"var(--type-meta)",fontWeight:500,letterSpacing:"0.08em",textTransform:"uppercase",color:"var(--surface-accent, var(--color-brand-500))",margin:"0 0 0.5rem 0"},children:"Board"}),(0,l.jsx)("h2",{style:{fontSize:"var(--type-h1)",fontWeight:500,lineHeight:1.2,margin:"0 0 2.5rem 0"},children:"Supported by a board of industry leaders."}),(0,l.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 280px), 1fr))",gap:"1.5rem"},children:g$.map((e,t)=>(0,l.jsx)(p4,{atomId:`company-board-${t+1}`,data:{name:e.name,title:e.title,avatar:e.avatar}},`${e.name}-board`))})]})]})},"/explore/resources":function(e){let t=gJ(),[a,r]=(0,eu.useState)("All"),[n,o]=(0,eu.useState)(24),i="success"===t.status?t.articles:[],s="success"===t.status?t.groups:[],c="All"===a?i:i.filter(e=>e.group===a),d=c.slice(0,n),u=n<c.length,p=[{label:"All",count:i.length,active:"All"===a,disabled:!1},...s.map(e=>{let t=i.filter(t=>t.group===e).length;return{label:e,count:t,active:a===e,disabled:0===t}})];return(0,l.jsxs)("div",{"data-knotch-page":"explore-resources",children:[(0,l.jsxs)("section",{"aria-label":"Resources — header",style:{...gX,paddingBlock:"140px 0"},children:[(0,l.jsxs)("p",{style:{...g0,marginBottom:"22px"},children:["Explore / ",(0,l.jsx)("span",{style:{color:"var(--color-brand-500)"},children:"Resources"})]}),(0,l.jsx)("h1",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-display)",fontWeight:"var(--font-weight-default)",lineHeight:1.02,letterSpacing:"-0.035em",margin:0,color:"var(--color-fg)"},children:"Resources."}),(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body)",fontWeight:"var(--font-weight-light)",lineHeight:1.5,color:"var(--color-fg-muted)",margin:"20px 0 0",maxWidth:"54ch"},children:"Reading, watching, listening — what is worth your time, picked from the Knotch team, our customers, and the world we operate in."})]}),(0,l.jsxs)("section",{"aria-label":"Resources grid",style:{...gX,paddingBlock:"44px 96px"},children:["success"===t.status&&s.length>0?(0,l.jsx)("div",{"data-resources-filter":!0,role:"group","aria-label":"Filter resources by type",style:{display:"flex",flexWrap:"wrap",gap:"10px",marginBottom:"32px"},children:p.map(e=>{let t=e.active;return(0,l.jsxs)("button",{type:"button",disabled:e.disabled,"aria-pressed":t,onClick:e.disabled?void 0:()=>{var t;(t=e.label)!==a&&((0,en.logTelemetry)("knotch-resources-filter",{group:t}),r(t),o(24))},className:e.disabled?void 0:"focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",style:{display:"inline-flex",alignItems:"center",gap:"7px",fontFamily:"var(--font-mono)",fontSize:"var(--type-body-sm)",letterSpacing:"0.04em",textTransform:"uppercase",padding:"9px 18px",borderRadius:"var(--radius-full, 999px)",border:"1px solid var(--color-border)",background:t?"var(--color-brand-500)":"transparent",color:t?"var(--color-bg)":e.disabled?"var(--color-fg-muted)":"var(--color-fg)",opacity:e.disabled?.45:1,cursor:e.disabled?"default":"pointer"},children:[e.label,(0,l.jsx)("span",{style:{opacity:.7},children:e.count})]},e.label)})}):null,"loading"===t.status?(0,l.jsx)("div",{style:gQ,children:Array.from({length:6},(e,t)=>(0,l.jsx)(oS.PublishedComponentSkeleton,{kind:"published-card"},t))}):"error"===t.status?(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body)",color:"var(--color-fg-muted)",margin:0},children:"Resources are temporarily unavailable — please try again shortly."}):0===i.length?(0,l.jsx)("p",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-body)",color:"var(--color-fg-muted)",margin:0},children:"No resources to show yet — check back soon."}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{style:gQ,children:d.map((e,t)=>(0,l.jsx)(mm,{data:{title:e.title,category:e.categories[0]??"Art
779icle",minRead:e.readMinutes,icon:"file-text",imageUrl:e.featureImageUrl??void 0,imageAlt:e.featureImageAlt??void 0,description:e.excerpt??void 0,badge:0===t?"Latest":void 0},atomId:`resource-tile-${e.slug}`,href:`/explore/resources/${encodeURIComponent(e.slug)}`},e.id))}),u?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",marginTop:"48px"},children:(0,l.jsx)("button",{type:"button","data-resources-show-more":!0,onClick:()=>{(0,en.logTelemetry)("knotch-resources-show-more",{visibleCount:n}),o(e=>e+24)},style:{display:"inline-flex",alignItems:"center",gap:"9px",fontFamily:"var(--font-mono)",fontWeight:"var(--font-weight-default)",fontSize:"var(--type-body-sm)",letterSpacing:"0.06em",textTransform:"uppercase",color:"var(--color-fg)",background:"transparent",border:"1px solid var(--color-border)",borderRadius:"var(--radius-full, 999px)",padding:"15px 28px",cursor:"pointer"},className:"focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-brand-500)] focus-visible:ring-offset-2",children:"Show more"})}):null]})]}),(0,l.jsx)("section",{style:{...gX,paddingBlock:"0 96px"},children:(0,l.jsx)(gK,{})})]})},"/explore/resources/:slug":function({path:e}){let t,a=(t=e.split("/").filter(Boolean))[t.length-1]??"",r=function(e){let[t,a]=(0,eu.useState)({status:"loading"});return(0,eu.useEffect)(()=>{if(!e)return void a({status:"loading"});a({status:"loading"});let t=new AbortController;return(async()=>{try{let r=await fetch(`/api/webflow/articles/${encodeURIComponent(e)}`,{signal:t.signal});if(404===r.status)return void a({status:"error",reason:"not-found"});if(!r.ok){(0,en.logTelemetry)("knotch-article.fetch-error",{slug:e,status:r.status}),a({status:"error",reason:"failed"});return}let n=gY.KnotchArticle.safeParse(await r.json());if(!n.success){(0,en.logTelemetry)("knotch-article.invalid",{slug:e,message:n.error.message}),a({status:"error",reason:"failed"});return}a({status:"success",article:n.data})}catch(t){if(t?.name==="AbortError")return;(0,en.logTelemetry)("knotch-article.fetch-failed",{slug:e,message:t instanceof Error?t.message:"unknown"}),a({status:"error",reason:"failed"})}})(),()=>t.abort()},[e]),t}(a),n=gJ();if("loading"===r.status)return(0,l.jsx)(g6,{});if("error"===r.status)return(0,l.jsx)("div",{"data-knotch-page":"content",children:(0,l.jsx)(g8,{notFound:"not-found"===r.reason})});let o="success"===n.status?n.articles.filter(e=>e.slug!==a).slice(0,3):[];return(0,l.jsxs)("div",{"data-knotch-page":"content",children:[(0,l.jsx)("style",{children:g4}),(0,l.jsx)(g7,{article:r.article,recommended:o})]})},"/recap":function(e){let{turns:t,clearRecap:a,clearRecapEntry:r}=(0,$.useConversation)(),n=(0,eu.useMemo)(()=>t.filter(e=>"cold-start"!==e.source&&!!e.message?.trim()&&!e.cancelled).sort((e,t)=>t.started_at-e.started_at),[t]),o=0===n.length;return(0,l.jsxs)("div",{"data-knotch-page":"recap",children:[(0,l.jsx)("section",{"aria-label":"Recap header",style:{...gP,paddingBlock:"var(--space-lg, 64px)"},children:(0,l.jsxs)("div",{style:{display:"flex",gap:"24px",alignItems:"flex-end",justifyContent:"space-between",flexWrap:"wrap"},children:[(0,l.jsxs)("div",{style:{maxWidth:"640px"},children:[(0,l.jsx)("p",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--type-meta)",fontWeight:"var(--font-weight-default)",letterSpacing:"0.16em",textTransform:"uppercase",color:"var(--color-fg-muted)",margin:"0 0 12px 0"},children:"Recap"}),(0,l.jsx)("h1",{style:{fontSize:"var(--type-display)",fontWeight:"var(--font-weight-default)",lineHeight:1.04,letterSpacing:"-0.035em",margin:"0 0 1rem 0"},children:"You just watched Ace work."}),(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",lineHeight:1.5,color:"var(--color-fg-muted)",margin:0},children:"Every answer on this site was composed for you in real time — assembled from Knotch’s Knowledge Base to match what you came to find. Here’s your recap, powered by Ace."})]}),o?null:(0,l.jsx)("button",{type:"button",onClick:a,"aria-label":"Clear all recap entries",style:{flexShrink:0,borderRadius:"999px",padding:"10px 20px",border:"none",cursor:"pointer",background:"var(--color-brand-500)",color:"var(--color-bg)",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-emphasis, 600)"},children:"Clear All"})]})}),o?(0,l.jsx)("section",{"aria-label":"Recap empty",style:{...gP,paddingBottom:"var(--space-lg, 64px)"},children:(0,l.jsx)("p",{style:{fontSize:"var(--type-body)",color:"var(--color-fg-muted)",margin:0},children:"Ask Ace a question and your first answer will land here."})}):(0,l.jsx)("section",{"aria-label":"Recap history",style:{...gP,paddingBottom:"var(--space-lg, 64px)"},children:(0,l.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--space-xl, 64px)"},children:n.map(e=>(0,l.jsxs)("article",{"data-recap-entry":e.id,children:[(0,l.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"14px",marginBottom:"20px"},children:[(0,l.jsx)(gT.KnotchAskedPill,{query:(0,gE.askedPillQuery)(e)??e.message??""}),(0,l.jsx)("button",{type:"button",onClick:()=>r(e.id),"aria-label":"Dismiss this recap entry",style:{flexShrink:0,width:"40px",height:"40px",borderRadius:"50%",border:"none",cursor:"pointer",background:"var(--color-brand-500)",color:"var(--color-bg)",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"var(--type-body)",lineHeight:1},children:"×"})]}),(0,l.jsx)(im.TurnCanvas,{turnId:e.id,Skeleton:nZ.ComponentSkeleton})]},e.id))})})]})},"/customers":fo,"/customers/ace-live":function(e){let t=(0,eu.useRef)(null);gz(t);let{open:a}=(0,U.useDemoForm)();return(0,l.jsxs)("div",{ref:t,"data-knotch-page":"ace-live",children:[(0,l.jsxs)("section",{"aria-label":"Ace live hero",style:{...g9,paddingBlock:"calc(var(--space-md, 16px) * 2) 40px",display:"flex",flexDirection:"column"},children:[(0,l.jsxs)("p",{style:{fontSize:"var(--type-meta)",fontWeight:500,letterSpacing:"0.08em",textTransform:"uppercase",color:"var(--surface-fg-muted, var(--color-fg-muted))",margin:"0 0 1rem 0"},children:["Customers /"," ",(0,l.jsx)("span",{style:{color:"var(--surface-accent, var(--color-brand-500))"},children:"Examples"})]}),(0,l.jsx)("h1",{"aria-label":"Ace, live.",style:{fontSize:"var(--type-display)",fontWeight:500,lineHeight:1.05,margin:0,maxWidth:"540px"},children:(0,l.jsx)(gR,{text:"Ace, live.",style:{minHeight:"1em"}})}),(0,l.jsx)(gL,{as:"p",style:{fontSize:"var(--type-body)",fontWeight:400,lineHeight:1.3,color:"var(--surface-fg-muted, var(--color-fg-muted))",marginTop:"1.5rem",marginBottom:0,maxWidth:"520px"},children:"Composed experiences running in production — open them in a new tab and watch the page assemble for you."}),(0,l.jsxs)(gL,{style:{display:"flex",flexWrap:"wrap",gap:"0.75rem",marginTop:"2rem"},children:[(0,l.jsx)(nQ.Button,{variant:"bare",onClick:()=>
779{(0,en.logTelemetry)("knotch-ace-live-cta-clicked",{cta:"get-demo"}),a()},className:`${fe} px-[28px] py-[16px] bg-[#0d0d0c] text-[#efece5] hover:opacity-90`,children:"Get demo"}),(0,l.jsxs)(nQ.Button,{variant:"bare",onClick:()=>{(0,en.logTelemetry)("knotch-ace-live-cta-clicked",{cta:"see-live-google"}),window.open("https://www.thinkwithgoogle.com/next/v2/","_blank","noopener,noreferrer")},className:`${fe} gap-[9px] px-[24px] py-[15px] border border-[#d8d2c4] bg-transparent text-[#272626] hover:bg-[color:color-mix(in_srgb,#272626_6%,transparent)]`,children:["↗ See Ace live on"," ",(0,l.jsx)("span",{style:{color:"var(--surface-accent, var(--color-brand-500))"},children:"Google"})]})]})]}),(0,l.jsx)("section",{"aria-label":"Built in partnership with",style:{...g9,paddingBlock:"var(--space-md, 24px)",borderTop:"1px solid var(--color-border, color-mix(in srgb, var(--color-fg) 10%, transparent))",borderBottom:"1px solid var(--color-border, color-mix(in srgb, var(--color-fg) 10%, transparent))"},children:(0,l.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"1.5rem"},children:[(0,l.jsx)("span",{style:{fontSize:"var(--type-meta)",color:"var(--color-fg-muted)",textTransform:"uppercase",letterSpacing:"0.08em",whiteSpace:"nowrap"},children:"Built in partnership with"}),ft.map(e=>(0,l.jsx)("span",{style:{fontSize:"var(--type-body-sm)",color:"var(--color-fg-muted)"},children:e},e))]})}),(0,l.jsxs)("section",{"aria-label":"Customer examples",style:{...g9,paddingBlock:"var(--space-lg, 64px)"},children:[(0,l.jsx)("style",{children:`
780          @media (max-width: 640px) {
781            [data-ace-bento] { grid-template-columns: 1fr !important; }
782            [data-ace-bento] > * { grid-column: auto !important; min-height: 0 !important; }
783          }
784        `}),(0,l.jsxs)("div",{"data-ace-bento":"",style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 280px), 1fr))",gap:"1rem"},children:[(0,l.jsx)("div",{style:{gridColumn:"span 2",minHeight:"420px"},children:(0,l.jsx)(mn,{atomId:"ace-live-google",data:{name:"Google",description:"Think with Google — adaptive editorial at global scale.",status:"live",action:{message:"Show me Ace live on Google"}}})}),(0,l.jsx)("div",{style:{minHeight:"420px"},children:(0,l.jsx)(mn,{atomId:"ace-live-ally",data:{name:"Ally",description:"Adaptive homepage.",status:"coming-soon"}})}),(0,l.jsx)(mn,{atomId:"ace-live-zillow",data:{name:"Zillow",description:"Composed listings content.",status:"coming-soon"}}),(0,l.jsx)(mn,{atomId:"ace-live-geico",data:{name:"GEICO",description:"Conversational coverage pages.",status:"coming-soon"}}),(0,l.jsx)(mn,{atomId:"ace-live-square",data:{name:"Square",description:"Composed merchant journeys.",status:"coming-soon"}}),(0,l.jsx)(mn,{atomId:"ace-live-cox",data:{name:"Cox Automotive",description:"Inventory experiences.",status:"coming-soon"}}),(0,l.jsx)(mn,{atomId:"ace-live-deloitte",data:{name:"Deloitte",description:"Thought-leadership hub.",status:"coming-soon"}})]})]})]})},"/customers/proof":fo,"/legal/privacy-policy":function(e){return(0,l.jsx)("div",{"data-knotch-page":"legal-privacy",children:(0,l.jsxs)("section",{"aria-label":"Privacy policy",style:fs,children:[(0,l.jsxs)("h1",{style:{fontSize:"var(--type-h2)",fontWeight:500,lineHeight:1.1,margin:"0 0 var(--space-lg, 48px) 0"},children:["Knotch, Inc.",(0,l.jsx)("br",{}),"Privacy Policy"]}),(0,l.jsx)(pM.default,{remarkPlugins:[pH.default],components:fl,children:fi})]})})}}};var fd=e.i(32518);let fu="Pick your industry",fp="Choose your industry",fm="all-businesses",fh="section-hero",fg={check:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round",children:(0,l.jsx)("path",{d:"M20 6 9 17l-5-5"})}),apple:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",children:(0,l.jsx)("path",{d:"M16.365 12.79c-.03-2.53 2.066-3.74 2.16-3.8-1.18-1.72-3.01-1.96-3.66-1.98-1.55-.16-3.03.92-3.82.92-.79 0-2.01-.9-3.31-.88-1.7.03-3.27.99-4.14 2.51-1.77 3.07-.45 7.6 1.27 10.09.84 1.22 1.84 2.59 3.15 2.54 1.27-.05 1.75-.82 3.28-.82 1.53 0 1.96.82 3.3.79 1.37-.02 2.23-1.24 3.06-2.47.97-1.41 1.36-2.78 1.38-2.85-.03-.01-2.64-1.01-2.67-4.05zM13.84 5.4c.7-.85 1.17-2.03 1.04-3.2-1.01.04-2.23.67-2.95 1.52-.65.75-1.22 1.95-1.07 3.1 1.13.09 2.28-.57 2.98-1.42z"})}),jewel:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 800 800",fill:"currentColor",children:(0,l.jsx)("path",{d:"M800,133.69v532.62c0,73.83-59.83,133.69-133.69,133.69H133.69C59.86,800,0,740.17,0,666.31V133.69C0,59.86,59.86,0,133.69,0h532.62c73.86,0,133.69,59.83,133.69,133.69ZM654.5,187.7c0-23.3-18.9-42.2-42.2-42.2H187.67c-23.3,0-42.2,18.9-42.2,42.2v424.69c0,23.3,18.9,42.2,42.2,42.2h424.66c23.3,0,42.2-18.9,42.2-42.2V187.7h-.03ZM290.88,315.25c0-13.45,10.83-24.34,24.2-24.34h169.76c13.39,0,24.2,10.92,24.2,24.34v169.5c0,13.45-10.78,24.34-24.2,24.34h-169.76c-13.39,0-24.2-10.92-24.2-24.34v-169.5Z"})}),"image-placeholder":({className:e})=>(0,l.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,l.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3"}),(0,l.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.8"}),(0,l.jsx)("path",{d:"m21 15-4.6-4.6L5 22"})]}),globe:({className:e})=>(0,l.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,children:[(0,l.jsx)("circle",{cx:"12",cy:"12",r:"9.2"}),(0,l.jsx)("path",{d:"M2.8 12h18.4M12 2.8c2.6 2.6 3.9 5.8 3.9 9.2s-1.3 6.6-3.9 9.2c-2.6-2.6-3.9-5.8-3.9-9.2s1.3-6.6 3.9-9.2z"})]}),twitter:({className:e})=>
784(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",children:(0,l.jsx)("path",{d:"M23 5.1c-.8.4-1.7.6-2.6.8a4.5 4.5 0 0 0 2-2.5c-.9.5-1.8.9-2.9 1.1a4.5 4.5 0 0 0-7.7 4.1A12.8 12.8 0 0 1 2.5 3.9a4.5 4.5 0 0 0 1.4 6 4.4 4.4 0 0 1-2.1-.5v.1a4.5 4.5 0 0 0 3.6 4.4c-.7.2-1.4.2-2 .1a4.5 4.5 0 0 0 4.2 3.1A9 9 0 0 1 1 19a12.7 12.7 0 0 0 6.9 2c8.3 0 12.8-6.9 12.8-12.8v-.6c.9-.6 1.6-1.4 2.3-2.5z"})}),facebook:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",children:(0,l.jsx)("path",{d:"M13.5 9H16l.5-3h-3V4.5c0-.9.3-1.5 1.6-1.5h1.5V.3C16.3.26 15.3.2 14.2.2c-2.3 0-3.9 1.4-3.9 4v1.8H7.5v3h2.8v9h3.2V9z"})}),instagram:({className:e})=>(0,l.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.9,children:[(0,l.jsx)("rect",{x:"2.5",y:"2.5",width:"19",height:"19",rx:"5.2"}),(0,l.jsx)("circle",{cx:"12",cy:"12",r:"4.4"}),(0,l.jsx)("circle",{cx:"17.6",cy:"6.4",r:"1.15",fill:"currentColor",stroke:"none"})]}),bag:({className:e})=>(0,l.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,l.jsx)("path",{d:"M6.4 8h11.2l-.9 11.3a1 1 0 0 1-1 .9H8.3a1 1 0 0 1-1-.9L6.4 8Z"}),(0,l.jsx)("path",{d:"M9 8V6a3 3 0 0 1 6 0v2"})]}),tap:({className:e})=>(0,l.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,l.jsx)("rect",{x:"5",y:"3.5",width:"9",height:"17",rx:"2"}),(0,l.jsx)("path",{d:"M17 8.5a5 5 0 0 1 0 7M19.5 6a8 8 0 0 1 0 12"})]}),bolt:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",children:(0,l.jsx)("path",{d:"M14 3 6 13h5l-1 8 9-12h-5l1-6Z"})}),chart:({className:e})=>(0,l.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,l.jsx)("path",{d:"M4 4v16h16"}),(0,l.jsx)("path",{d:"M8 20v-6M12 20v-10M16 20v-14"})]}),tag:({className:e})=>(0,l.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,l.jsx)("path",{d:"M4 4h7l9 9-7 7-9-9V4Z"}),(0,l.jsx)("circle",{cx:"8.2",cy:"8.2",r:"1.3"})]}),heart:({className:e})=>(0,l.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinejoin:"round",children:(0,l.jsx)("path",{d:"M12 20.2 4.8 13a4.6 4.6 0 0 1 6.5-6.5l.7.7.7-.7A4.6 4.6 0 0 1 19.2 13Z"})})};Object.keys(fg);let ff=new Map,fy=new Set,fv=0,fb=new Set,fx=new Set;function fw(e){return fy.add(e),()=>fy.delete(e)}function fk(e){return(0,eu.useCallback)(t=>{let a=ff.get(e);if(t!==a&&(null!==t||void 0!==a))for(let a of(null===t?ff.delete(e):ff.set(e,t),fv+=1,fb=new Set(ff.keys()),fy))a()},[e])}function f_({id:e}){let t=fk(e),a=(0,eu.useCallback)(a=>{t(a?a.closest(`#${CSS.escape(e)}`):null)},[t,e]);return(0,l.jsx)("span",{hidden:!0,ref:a,"data-square-section-mount-probe":""})}let fj="w-[min(1140px,94vw)] max-w-none max-h-[92vh] rounded-[var(--radius-lg-container)] p-0",fS={border:"none"},fC="rgba(3, 3, 3, 0.64)",fI="px-[34px] pb-[32px] pt-[30px]";function fN({onClose:e,style:t}){return(0,l.jsx)("button",{type:"button","aria-label":"Close",onClick:e,className:"sticky top-[14px] z-[6] float-right ml-auto flex h-[38px] w-[38px] cursor-pointer items-center justify-center rounded-[var(--radius-full)] border transition-colors",style:{margin:"0 0 -38px auto",borderColor:"var(--color-border)",background:"var(--color-bg)",color:"var(--color-fg)",fontSize:"var(--sq-type-21, 21px)",lineHeight:"var(--leading-none)",boxShadow:"0 4px 16px rgba(0, 0, 0, 0.18)",...t},children:"×"})}function fA({prev:e,next:t,position:a}){let r=(0,eu.useRef)(null);return((0,eu.useEffect)(()=>{r.current?.closest('[role="dialog"]')?.scrollTo({top:0})},[a]),"u"<typeof document)?null:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{ref:r,"aria-hidden":"true",className:"shrink-0 md:hidden",style:{height:"calc(132px + env(safe-area-inset-bottom))"}}),(0,o$.createPortal)((0,l.jsxs)("div",{className:"pointer-events-none fixed inset-x-0 bottom-[calc(14px+e
784nv(safe-area-inset-bottom))] z-[1002] flex items-stretch justify-between px-[6px] md:bottom-auto md:top-1/2 md:-translate-y-1/2",children:[(0,l.jsx)(fE,{direction:"prev",kicker:"Previous",target:e}),(0,l.jsx)(fE,{direction:"next",kicker:"Up next",target:t})]}),document.body)]})}function fE({direction:e,kicker:t,target:a}){return(0,l.jsxs)("button",{type:"button",onClick:a.onClick,"aria-label":`${t}: ${a.label}`,"data-overlay-satellite":!0,className:"pointer-events-auto flex w-[96px] shrink-0 cursor-pointer flex-col items-center justify-start gap-[7px] border-0 bg-transparent p-0 md:w-[112px] md:gap-[9px]",children:[(0,l.jsx)("span",{"aria-hidden":"true",className:"flex h-[42px] w-[42px] items-center justify-center rounded-[var(--radius-full)] border text-[length:var(--sq-type-17,17px)] transition-colors hover:bg-[color:var(--color-bg-subtle)] md:h-[46px] md:w-[46px] md:text-[length:var(--sq-type-19,19px)]",style:{borderColor:"var(--color-border)",background:"var(--color-bg)",color:"var(--color-fg)",lineHeight:"var(--leading-none)",boxShadow:"0 4px 16px rgba(0, 0, 0, 0.18)"},children:"next"===e?"→":"←"}),(0,l.jsxs)("span",{className:"block w-full rounded-[10px] border px-[9px] py-[5px] text-center text-[length:var(--sq-type-105,10.5px)] md:text-[length:11.5px]",style:{background:"rgb(from var(--color-bg) r g b / 0.95)",borderColor:"var(--color-border)",fontWeight:"var(--font-weight-semibold, 600)",lineHeight:"var(--sq-lh-13, 1.3)",color:"var(--color-fg)",boxShadow:"0 4px 16px rgba(0, 0, 0, 0.12)"},children:[(0,l.jsx)("span",{className:"mb-[1px] block uppercase",style:{fontFamily:"var(--font-mono)",fontSize:"9px",letterSpacing:"var(--sq-ls-09, 0.09em)",color:"var(--color-fg-muted)"},children:t}),(0,l.jsx)("span",{className:"line-clamp-3",children:a.label})]})]})}let fT={maxWidth:"var(--width-xl, 1200px)",marginInline:"auto",paddingInline:"var(--space-24, 24px)"};function fP(e){return{"--headline-size":e,"--headline-size-mobile":e}}let fz="https://app.squareup.com/signup/",fR="https://squareup.com/us/en/sales/contact?page=/us/en/sales",fL="section-products",fO="section-features",fM="section-proof",fH="section-square_compare",fD="section-square_pricing",fq="section-square_hardware";function fW(){let e=(0,eu.useRef)(null),[t,a]=(0,eu.useState)("static");return(0,eu.useEffect)(()=>{let t=e.current;if(!t||!("IntersectionObserver"in window)||window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return;a("hidden");let r=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(a("in"),r.unobserve(e.target))})},{threshold:.12,rootMargin:"0px 0px -7% 0px"});return r.observe(t),()=>r.disconnect()},[]),{ref:e,style:"static"===t?void 0:{opacity:+("in"===t),transform:"in"===t?"none":"translateY(42px)",transition:"opacity 0.55s cubic-bezier(0.22, 0.68, 0, 1), transform 0.55s cubic-bezier(0.22, 0.68, 0, 1)"}}}function f$({text:e}){let t=(0,eu.useRef)(null),[a,r]=(0,eu.useState)(!1),[n,o]=(0,eu.useState)(!1);if((0,eu.useEffect)(()=>{let e=t.current;if(!e||!("IntersectionObserver"in window)||window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return;r(!0);let a=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(o(!0),a.unobserve(e.target))})},{threshold:.12,rootMargin:"0px 0px -7% 0px"});return a.observe(e),()=>a.disconnect()},[]),!a)return(0,l.jsx)("span",{ref:t,children:e});let i=e.split(/\s+/).filter(Boolean);return(0,l.jsx)("span",{ref:t,style:{display:"block",clipPath:"inset(-0.5em)"},children:i.map((e,t)=>(0,l.jsxs)(eu.Fragment,{children:[t>0?" ":"",(0,l.jsx)("span",{style:{display:"inline-block",transform:n?"translateY(0)":"translateY(118%)",transition:"transform 0.6s cubic-bezier(0.22, 0.68, 0, 1)",transitionDelay:`${52*t}ms`},children:e})]},`${e}-${t}`))})}let fU={eyebrow:"Compare",heading:"See how Square POS compares."},fF=["*TrustScore data on this page was collected on 6/30/26 and can be found at https://www.trustpilot.com.","Competitive data on this page was collected on 4/7/2025 and is based on information found on Paypal, Shopify and Clover. This information is subject to change or update without notice. Square does not make any representations as to the completeness or accuracy of the information on this page."],fB=[{key:"paypal",name:"PayPal",trust:"1.3",trustReviews:"39,635 reviews"},{key:"clover",name:"Clover",trust:"2.1",trustReviews:"2,146 reviews"},{key:"shopify",name:"Shopify",trust:"1.3",trustReviews:"4,805 reviews"}],fG=[{kind:"value",dim:"In-person processing",square:{value:"2.6% + 15¢ · Free",sub:"2.5% Plus · 2.4% Premium"},rivals:[{value:"2.29% + 9¢",sub:"per transaction"},{value:"Unclear — info only by phone",unclear:!0},{value:"2.6% + 10¢",sub:"Basic plan"}
vendor: 1,182 bytes, line 784
784]},{kind:"value",dim:"Online processing",square:{value:"3.3% + 30¢ · Free",sub:"2.9% + 30¢ Plus & Premium"},rivals:[{value:"Varies by product",unclear:!0},{value:"Unclear — info only by phone",unclear:!0},{value:"2.9% + 30¢",sub:"Basic plan"}]},{kind:"check",dim:"No hidden fees or contracts",rivals:["cross","cross","cross"]},{kind:"check",dim:"No chargeback fees",rivals:["cross","cross","cross"]},{kind:"check",dim:"No Amex, corporate, or international card fees",rivals:["cross","unclear","cross"]},{kind:"value",dim:"Features included",square:{value:"POS, inventory, team & customer tools — included with Free plan"},rivals:[{value:"Payments-first; many tools are add-ons"},{value:"Tiered plans; features gated by add-ons"},{value:"Monthly plan required for full POS / staff tools"}]},{kind:"value",dim:"Setup time",square:{value:"Quick setup — designed to be easy to learn"},rivals:[{value:"Quick online; in-person setup varies",footnote:!0},{value:"Varies by reseller / merchant account",footnote:!0},{value:"Fast online; in-person needs Shopify POS setup",footnote:!0}]},{kind:"value",dim:"Hardware options",square:{value:"Reader · Stand · Terminal · Register"}
784,rivals:[{value:"Limited first-party in-person hardware",footnote:!0},{value:"Proprietary hardware line",footnote:!0},{value:"Reader / POS Go; narrower in-person range",footnote:!0}]}],fK="var(--sq-blue-tint, #e6f0ff)",fV="var(--sq-trust-row-bg, #e7f6ef)",fZ={square:"var(--sq-trust-star-square, #73cf11)",paypal:"var(--sq-trust-star-paypal, #ff3722)",shopify:"var(--sq-trust-star-shopify, #ff3722)",clover:"var(--sq-trust-star-clover, #ff8622)"},fY="1.7fr 1.15fr 1fr 1fr 1fr",fJ={padding:"16px 16px",display:"flex",flexDirection:"column",justifyContent:"center",textAlign:"left"};function fX(){let[e,t]=(0,eu.useState)(!1),a=fW();return(0,l.jsxs)("section",{id:fH,ref:fk(fH),"data-section":"square_compare",className:"scroll-mt-36 py-[var(--space-60,60px)] md:py-[var(--space-100,100px)]",style:{background:"var(--color-bg)",borderTop:"1px solid var(--color-border)"},children:[(0,l.jsxs)("div",{style:fT,children:[(0,l.jsxs)("div",{className:"mb-[30px] flex flex-col items-start gap-[10px]",children:[(0,l.jsxs)("div",{ref:a.ref,style:{...a.style,"--headline-line-height":"var(--leading-tight)","--headline-tracking":"var(--tracking-tight)","--headline-weight":"var(--font-weight-medium)"},children:[(0,l.jsx)("span",{style:{display:"block",marginBottom:"var(--space-10, 10px)",fontFamily:"var(--font-mono)",fontWeight:"var(--font-weight-default)",fontSize:"var(--type-meta)",textTransform:"uppercase",letterSpacing:"var(--tracking-wide)",lineHeight:"var(--leading-body)",color:"var(--color-brand-500)"},children:fU.eyebrow}),(0,l.jsx)(nY.Headline,{data:{text:fU.heading,level:2},atomId:"square_compare_heading"})]}),fU.sub?(0,l.jsx)("p",{className:"mt-[10px] max-w-[52ch]",style:{fontSize:"var(--type-body-sm)",lineHeight:"calc(var(--type-body) * var(--leading-body))",color:"var(--color-fg-muted)"},children:fU.sub}):null]}),(0,l.jsxs)("div",{className:"relative overflow-hidden",style:{maxHeight:"505px",borderRadius:"var(--radius-lg)"},children:[(0,l.jsx)(fQ,{}),(0,l.jsx)("div",{className:"absolute inset-x-0 bottom-0 flex items-end justify-center pb-[26px]",style:{height:"190px",background:"linear-gradient(180deg, rgb(from var(--color-bg) r g b / 0) 0%, rgb(from var(--color-bg) r g b / 0.72) 46%, var(--color-bg) 92%)",backdropFilter:"blur(3px)",WebkitBackdropFilter:"blur(3px)"},children:(0,l.jsx)(nQ.Button,{variant:"filled",type:"button","aria-haspopup":"dialog","data-atom-id":"square_compare_expand",onClick:()=>t(!0),className:"h-[50px] px-[30px] cursor-pointer",style:{"--button-size":"var(--type-body-sm)","--button-weight":"var(--font-weight-medium)","--button-radius":"var(--radius-pill)",lineHeight:"var(--leading-none)",boxShadow:"var(--shadow-raised)"},children:"See the full comparison"})})]})]}),(0,l.jsx)(f7,{open:e,onClose:()=>t(!1)})]})}function fQ({inModal:e=!1}){let t=fG.length-1;return(0,l.jsx)("div",{className:"overflow-x-auto",style:e?{margin:"0 -34px"}:{border:"1px solid var(--color-border)",borderRadius:"var(--radius-lg)",background:"var(--color-bg)"},children:(0,l.jsxs)("div",{className:"min-w-[660px] sm:min-w-[780px]",style:{padding:e?"0 34px 16px":"0 22px 16px",lineHeight:"calc(var(--type-body) * var(--leading-body))"},children:[(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:fY,alignItems:"stretch"},children:[(0,l.jsx)("span",{style:{...fJ,...f1}}),(0,l.jsx)("b",{style:{...fJ,...f1,color:"var(--color-fg)",fontWeight:"var(--font-weight-semibold, 600)",background:fK,borderRadius:"var(--radius-md) var(--radius-md) 0 0"},children:"Square"}),fB.map(e=>(0,l.jsx)("i",{style:{...fJ,...f1,fontStyle:"normal"},children:e.name},e.key))]}),(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:fY,alignItems:"stretch",borderTop:"1px solid var(--color-border-subtle, var(--color-border))"},children:[(0,l.jsx)("span",{style:{...fJ,...f0,background:fV,fontSize:"var(--sq-type-15, 15px)",fontWeight:"var(--font-weight-semibold, 600)",color:"var(--color-fg)"},children:"Trustpilot rating"}),(0,l.jsx)(f2,{starColor:fZ.square??"",scoreColor:"var(--sq-trust-score-green, #00875a)",trust:"3.9",reviews:"7,366 reviews",background:"var(--sq-trust-row-bg-square, #d9efe3)"}),fB.map(e=>(0,l.jsx)(f2,{starColor:fZ[e.key]??"",scoreColor:"var(--color-fg)",trust:e.trust,reviews:e.trustReviews,background:fV},e.key))]}),fG.map((e,a)=>(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:fY,alignItems:"stretch",borderTop:"1px solid var(--color-border-subtle, var(--color-border))"},children:[(0,l.jsx)("span",{style:{...fJ,fontSize:"var(--sq-type-15, 15px)",color:"var(--color-fg-muted)"},children:e.dim}),(0,l.jsx)(f6,{row:e,roundBottom:a===t}),e.rivals.map((t,a)=>(0,l.jsx)(f8,{row:e,cell:t},a))]},e.dim))]})})}let f0={justifyContent:"flex-start"},f1={fontFamily:"var(--font-mono)",textTransform:"uppercase",letterSpacing:"var(--sq-ls-06, 0.06em)",fontSize:"var(--sq-type-11-5, 11.5px)",color:"var(--color-fg-muted)",paddingTop:"18px",paddingBottom:"18px"};function f2({starColor:e,scoreColor:t,trust:a,reviews:r,background:n}){return(0,l.jsxs)("div",{style:{...fJ,...f0,background:n},children:[(0,l.jsxs)("b",{style:{fontFamily:"var(--font-heading)",fontWeight:"var(--font-weight-bold)",fontSize:"var(--sq-type-19, 19px)",lineHeight:"var(--leading-none)",color:t,display:"inline-flex",alignItems:"baseline",gap:"4px"},children:[a," ",(0,l.jsx)("i",{"aria-hidden":"true",style:{fontStyle:"normal",fontSize:"var(--type-meta)",color:e},children:"★"})]}),(0,l.jsx)("small",{style:{...f4,fontSize:"var(--sq-type-12, 12px)"},children:r})]})}function f5(){return(0,l.jsx)("sup",{style:{color:"var(--color-brand-500)",fontSize:"var(--type-overline)",marginLeft:"2px",lineHeight:"inherit",position:"static",top:"auto",verticalAlign:"baseline"},children:"*"})}let f4={color:"var(--color-fg-muted)",fontSize:"var(--sq-type-12-5, 12.5px)",marginTop:"4px",fontWeight:"var(--font-weight-default)"},f3={fontSize:"var(--sq-type-12-5, 12.5px)",fontWeight:"var(--font-weight-semibold, 600)"};function f6({row:e,roundBottom:t}){let a={...fJ,background:fK,color:"var(--color-fg)",...f3,...t?{borderRadius:"0 0 var(--radius-md) var(--radius-md)"}:{}};return"check"===e.kind?(0,l.jsx)("div",{style:{...a,color:"var(--color-brand-500)",fontWeight:"var(--font-weight-bold, 700)",fontSize:"var(--sq-type-19, 19px)"},children:"✓"}):(0,l.jsxs)("div",{style:a,children:[e.square.value,e.square.sub?(0,l.jsx)("small",{style:f4,children:e.square.sub}):null]})}function f8({row:e,cell:t}){return"check"===e.kind?"check"===t?(0,l.jsx)("div",{style:{...fJ,color:"var(--color-brand-500)",fontWeight:"var(--font-weight-bold, 700)",fontSize:"var(--sq-type-19, 19px)"},children:"✓"}):"unclear"===t?(0,l.jsxs)("div",{style:{...fJ,...f3,color:"var(--color-fg-muted)"},children:["Unclear",(0,l.jsx)(f5,{})]}):(0,l.jsx)("div",{style:{...fJ,color:"var(--color-fg-muted)",fontSize:"var(--type-body, 18px)"},children:"✗"}):(0,l.jsxs)("div",{style:{...fJ,...f3,color:t.unclear?"var(--color-fg-muted)":"var(--color-fg)"},children:[t.value,t.unclear||t.footnote?(0,l.jsx)(f5,{}):null,t.sub?(0,l.jsx)("small",{style:f4,children:t.sub}):null]})}function f7({open:e,onClose:t}){return(0,l.jsx)(iA.BrandedModal,{open:e,onOpenChange:e=>{e||t()},title:"How Square POS compares",className:fj,style:fS,scrim:fC,hideCloseButton:!0,children:(0,l.jsxs)("div",{className:fI,children:[(0,l.jsx)(fN,{onClose:t}),(0,l.jsx)("div",{className:"mb-[10px] flex flex-wrap items-center justify-between gap-x-[20px] gap-y-[12px] pr-[56px] md:pr-0",children:(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("span",{style:{display:"block",fontFamily:"var(--font-mono)",fontWeight:"var(--font-weight-default)",fontSize:"var(--type-meta)",textTransform:"uppercase",letterSpacing:"var(--tracking-wide)",lineHeight:"var(--leading-body)",color:"var(--color-fg-muted)"},children:"Compare"}
784),(0,l.jsx)("h3",{tabIndex:-1,className:"outline-none",style:{fontFamily:"var(--font-heading)",fontWeight:"var(--font-weight-bold)",fontSize:"var(--type-modal-title, 30px)",lineHeight:"var(--sq-lh-112, 1.12)",letterSpacing:"var(--sq-ls-neg015, -0.015em)",margin:0,color:"var(--color-fg)"},children:"See how Square POS compares."})]})}),(0,l.jsx)(fQ,{inModal:!0}),fF.map(e=>(0,l.jsx)("p",{className:"mt-[18px]",style:{fontSize:"var(--type-meta)",color:"var(--color-fg-muted)",lineHeight:"calc(var(--type-body) * var(--leading-body))"},children:e},e.slice(0,24)))]})})}let f9="appearance-none bg-transparent border-0 p-0 text-left cursor-pointer";function ye(){let[e,t]=(0,eu.useState)(!1),a=(0,eu.useCallback)(()=>t(!0),[]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mt-[var(--space-62,62px)] max-[600px]:mt-[var(--space-34,34px)] flex flex-wrap items-center gap-[var(--space-18,18px)] max-[600px]:w-full max-[600px]:justify-center max-[600px]:gap-[var(--space-7,7px)]",children:[(0,l.jsx)(nQ.Button,{variant:"bare",asChild:!0,className:`${f9} no-underline flex items-center whitespace-nowrap gap-[var(--space-15,15p
784x)] max-[600px]:gap-[var(--space-5,5px)] text-[length:var(--rating-bar-size,17px)] max-[600px]:text-[length:var(--rating-bar-size-mobile,13px)]`,style:{fontFamily:"var(--font-heading)",fontWeight:"var(--font-weight-bold)"},children:(0,l.jsxs)("a",{href:"https://apps.apple.com/us/app/square-point-of-sale-pos/id335393788",target:"_blank",rel:"noopener noreferrer","aria-label":"Square Point of Sale on the App Store — rated 4.8 (opens in a new tab)",children:[(0,l.jsx)("span",{className:"flex items-center text-[length:var(--rating-bar-store-size,15.5px)] max-[600px]:text-[length:var(--rating-bar-store-size-mobile,12.5px)]",children:"App Store"}),(0,l.jsx)("span",{"aria-hidden":"true",className:"w-px shrink-0 h-[var(--rating-bar-divider-height,28px)] max-[600px]:h-[var(--rating-bar-divider-height-mobile,16px)]",style:{background:"var(--color-border)"}}),(0,l.jsxs)("span",{className:"flex items-baseline gap-[var(--space-5,5px)] max-[600px]:gap-[var(--space-4,4px)]",children:[(0,l.jsx)("span",{children:"Square"}),(0,l.jsx)("b",{style:{color:"var(--rating-bar-score-color, #00875a)"},children:"4.8"}),(0,l.jsx)("span",{"aria-hidden":"true",className:"max-[600px]:text-[length:var(--rating-bar-star-size-mobile,10.5px)]",style:{color:"var(--rating-bar-star-color, #00b67a)"},children:"★"}),(0,l.jsx)("span",{className:"max-[600px]:hidden",style:{color:"var(--color-fg-muted)",fontFamily:"var(--font-sans)",fontWeight:"var(--font-weight-default)"},children:"· 603K ratings"})]})]})}),(0,l.jsx)(nQ.Button,{variant:"bare",type:"button",onClick:a,className:`${f9} no-underline hover:underline underline-offset-[3px] whitespace-nowrap text-[length:var(--rating-bar-link-size,14.5px)] max-[600px]:basis-full max-[600px]:whitespace-normal max-[600px]:text-center max-[600px]:mt-[10px]`,style:{color:"var(--color-brand-500)",fontWeight:"var(--font-weight-medium)"},children:"See why sellers choose Square"})]}),(0,l.jsx)(f7,{open:e,onClose:()=>t(!1)})]})}let yt="hero",ya={maxWidth:"1160px",marginInline:"auto"};function yr({content:e}){let t=fg.check;return(0,l.jsxs)("section",{id:fh,"data-section":yt,className:"relative overflow-hidden min-h-[600px] max-[600px]:min-h-0 px-[var(--space-24,24px)] max-[600px]:px-[var(--space-16,16px)] pt-[var(--space-24,24px)] max-[600px]:pt-[var(--space-30,30px)] pb-[var(--space-40,40px)] max-[600px]:pb-[var(--space-36,36px)]",children:[(0,l.jsx)(f_,{id:fh}),(0,l.jsx)("div",{style:{...ya,...fd.cqContainer},children:(0,l.jsxs)("div",{className:"grid grid-cols-1 items-stretch gap-x-[var(--space-20,20px)] gap-y-[var(--space-40,40px)] @min-[56rem]:grid-cols-[2fr_1fr]",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start self-start pt-[var(--hero-eyebrow-offset,52px)] max-[600px]:pt-[var(--hero-eyebrow-offset-mobile,0px)]",children:[(0,l.jsx)(nJ.Label,{data:{text:e.eyebrow},atomId:"square_hero_eyebrow"}),(0,l.jsx)("div",{className:"mt-[var(--space-10,10px)] max-[600px]:mt-[var(--space-6,6px)]",children:(0,l.jsx)(nY.Headline,{data:{text:e.headline,level:1},atomId:"square_hero_headline"})}),(0,l.jsx)("div",{className:"mt-[var(--space-32,32px)] flex flex-wrap items-center gap-[var(--space-12,12px)]",children:e.trustItems.map(e=>(0,l.jsxs)(cd.Chip,{className:"gap-[var(--space-10,10px)] max-[600px]:gap-[var(--space-6,6px)] max-[600px]:px-[var(--chip-padding-x-mobile,13px)] max-[600px]:py-[var(--chip-padding-y-mobile,8px)]",children:[(0,l.jsx)("span",{"aria-hidden":"true",className:"inline-flex h-4 w-4 shrink-0",style:{color:"var(--color-brand-500)"},children:t?(0,l.jsx)(t,{className:"h-full w-full"}):null}),e]},e))}),(0,l.jsxs)("div",{className:"w-full @min-[56rem]:w-[calc(100%-4rem)] mt-[var(--space-36,36px)] max-[600px]:mt-[var(--space-24,24px)] flex flex-col gap-[var(--space-12,12px)] min-[600px]:flex-row [--button-width:100%] min-[600px]:[--button-width:auto]",style:{"--button-min-h":"var(--space-50,50px)","--button-padding-x":"var(--space-40,40px)","--button-padding-y":"0px"},children:[(0,l.jsx)("div",{className:"[--button-size:var(--hero-cta-size,17px)] max-[600px]:[--button-size:var(--hero-cta-size-mobile,16.5px)] [--button-weight:var(--font-weight-medium)] max-[600px]:[--button-weight:var(--font-weight-semibold)]",style:{"--button-family":"var(--font-sans)","--button-padding-x":"clamp(var(--space-24,24px), 12vw, var(--space-120,120px))"},children:(0,l.jsx)(ok.Button,{data:{label:"Get started free",href:fz,style:"primary"},atomId:"square_hero_cta_primary",trackingId:"square_hero_cta_primary",parentSectionId:yt})}),(0,l.jsx)("div",{className:"[--button-size:14.5px] max-[600px]:[--button-size:15.5px]",style:{"--button-fg":"var(--color-fg)","--button-bg":"var(--color-bg)","--button-border-color":"var(--color-border)","--button-weight":"var(--font-weight-medium)"},children:(0,l.jsx)(ok.Button,{data:{label:"Selling at scale? Contact sales",href:fR,style:"secondary"},atomId:"square_hero_cta_secondary",trackingId:"square_hero_cta_secondary",parentSectionId:yt})})]}),(0,l.jsx)(ye,{})]}),(0,l.jsx)(yn,{art:e.art})]})})]})}function yn({art:e}){return(0,l.jsx)("div",{className:"w-full overflow-hidden aspect-[16/9] h-auto rounded-[var(--radius-md)] @min-[56rem]:aspect-auto @min-[56rem]:h-full @min-[56rem]:rounded-[var(--radius-lg-container)]",style:{background:"var(--color-bg-subtle)"},children:(0,l.jsx)("img",{src:e.imageUrl,alt:e.altText,className:"h-full w-full object-cover [object-position:var(--hero-art-pos)] @min-[56rem]:[object-position:var(--hero-art-pos-wide)]",style:{"--hero-art-pos":e.objectPosition??"50% 50%","--hero-art-pos-wide":e.objectPositionWide??e.objectPosition??"50% 50%",transform:[e.flip?"scaleX(-1)":null,e.scale?`scale(${e.scale}
784)`:null].filter(Boolean).join(" ")||void 0}})})}let yo=`
785@keyframes square-marquee {
786  from { transform: translateX(0); }
787  to   { transform: translateX(-50%); }
788}
789[data-square-marquee] .mq-track {
790  animation-name: square-marquee;
791  animation-timing-function: linear;
792  animation-iteration-count: infinite;
793}
794[data-square-marquee]:hover .mq-track { animation-play-state: paused; }
795@media (prefers-reduced-motion: reduce) {
796  [data-square-marquee] .mq-track { animation-play-state: paused; }
797}
798`;function yi({perk:e}){let t=fg[e.icon];return(0,l.jsxs)("div",{className:"flex shrink-0 items-center whitespace-nowrap gap-[var(--space-12)] max-[600px]:gap-[var(--space-10)] px-[var(--space-20)] py-[var(--space-12)] max-[600px]:px-[var(--space-16)] max-[600px]:py-[var(--space-10)]",style:{background:"var(--color-bg)",border:"1px solid var(--color-border)",borderRadius:"var(--radius-lg-container, 16px)"},children:[(0,l.jsx)("span",{"aria-hidden":"true",className:"inline-flex shrink-0 h-[var(--space-20,20px)] w-[var(--space-20,20px)]",style:{color:"var(--color-brand-500)"},children:t?(0,l.jsx)(t,{className:"h-full w-full"}):null}),(0,l.jsxs)("span",{className:"flex flex-col",children:[(0,l.jsx)("b",{style:{fontFamily:"var(--font-heading)",fontSize:"var(--type-body-sm, 16px)",fontWeight:"var(--font-weight-bold)",lineHeight:"var(--leading-relaxed)",color:"var(--color-fg)"},children:e.title}),(0,l.jsx)("span",{style:{fontFamily:"var(--font-sans)",fontSize:"var(--type-meta, 13px)",fontWeight:"var(--font-weight-default)",lineHeight:"var(--leading-relaxed)",color:"var(--surface-subtle-fg-muted, var(--color-fg-muted))",marginTop:"var(--space-2, 2px)"}
798,children:e.subtitle})]})]})}function ys({perks:e,hidden:t}){return(0,l.jsx)("div",{"aria-hidden":t?"true":void 0,className:"flex shrink-0 items-center gap-[var(--space-14)] pr-[var(--space-14)]",children:e.map((e,t)=>(0,l.jsx)(yi,{perk:e},t))})}function yl({perks:e}){return(0,l.jsxs)("section",{"data-square-marquee":"",className:"py-[var(--space-16)] max-[600px]:py-[var(--space-12)]",style:{overflow:"hidden",background:"var(--color-bg-subtle)",borderTop:"1px solid var(--color-border-subtle, var(--color-border))",borderBottom:"1px solid var(--color-border-subtle, var(--color-border))"},children:[(0,l.jsx)("style",{children:yo}),(0,l.jsxs)("div",{className:"mq-track flex items-center",style:{width:"max-content",animationDuration:"46s"},children:[(0,l.jsx)(ys,{perks:e}),(0,l.jsx)(ys,{perks:e,hidden:!0})]})]})}let yc={default:[{icon:"bag",title:"Sell everywhere",subtitle:"in person, online, on the go — in sync"},{icon:"tap",title:"Every major way they pay",subtitle:"tap, contactless, Apple Pay, Google Pay, cash"},{icon:"bolt",title:"Go live today",subtitle:"easy to run — easy to learn"},{icon:"chart",title:"Know what sells",subtitle:"real-time data on sales, team, and customers"},{icon:"tag",title:"$0 to start",subtitle:"no monthly fees, no contracts"}],restaurants:[{icon:"bag",title:"Sell everywhere",subtitle:"dine-in, takeout, delivery & online — in sync"},{icon:"tap",title:"Every major way they pay",subtitle:"tap, tableside, online, Apple Pay & cash"},{icon:"bolt",title:"Go live today",subtitle:"easy to run — easy to learn"},{icon:"chart",title:"Know what sells",subtitle:"real-time data on menu items, staff & guests"},{icon:"tag",title:"$0 to start",subtitle:"no monthly fees, no contracts"}],retail:[{icon:"bag",title:"Sell everywhere",subtitle:"in-store & online, in sync"},{icon:"tap",title:"Every major way they pay",subtitle:"tap, contactless, Apple Pay & cash"},{icon:"chart",title:"Always know what's in stock",subtitle:"real-time inventory, every location"},{icon:"heart",title:"Grow confidently",subtitle:"CRM, loyalty & gift cards, built in"},{icon:"tag",title:"Start free",subtitle:"upgrade when you're ready"}],beauty:[{icon:"bag",title:"Book more clients",subtitle:"24/7 online booking, any device"},{icon:"tap",title:"Never miss a payment",subtitle:"no-show fees charged automatically"},{icon:"chart",title:"Know every client",subtitle:"history, notes and allergy alerts"},{icon:"heart",title:"Reward your regulars",subtitle:"loyalty and marketing, built in"},{icon:"tag",title:"Start free",subtitle:"upgrade when you need more"}],"health-and-wellness":[{icon:"bag",title:"Fill your classes",subtitle:"24/7 online booking, any device"},{icon:"tap",title:"Protect your time",subtitle:"no-show fees charged automatically"},{icon:"chart",title:"Know every client",subtitle:"booking history and profiles, automatic"},{icon:"heart",title:"Loyalty, built in",subtitle:"rewards and marketing in one system"},{icon:"tag",title:"Start free",subtitle:"upgrade when you need more"}],"general-services":[{icon:"bag",title:"Get paid your way",subtitle:"cards, wallets, and payment links"},{icon:"tap",title:"Estimate to invoice",subtitle:"one click, from the job site"},{icon:"chart",title:"Remember every customer",subtitle:"full service history, automatic"},{icon:"heart",title:"Your office is mobile",subtitle:"no fixed hardware required"},{icon:"tag",title:"No long-term contracts",subtitle:"cancel any time"}],"professional-services":[{icon:"bag",title:"Get paid online",subtitle:"invoice smarter, track in real time"},{icon:"tap",title:"Automatic billing",subtitle:"recurring invoices for retainer clients"},{icon:"chart",title:"Let clients book you",subtitle:"24/7 online scheduling"},{icon:"heart",title:"Tax filings, automated",subtitle:"federal & state, on your behalf"},{icon:"tag",title:"Track invoices live",subtitle:"see viewed, paid and overdue"}]},yd=["restaurants","retail","beauty","health-and-wellness","general-services","professional-services"];function yu(e){return null!=e&&yd.includes(e)}let yp="square-regen-sequence",ym="swap",yh="square-regen-shimmer",yg=(0,eu.createContext)({dis
798playedPersonaId:null,regenerating:!1});function yf(){let{displayedPersonaId:e}=(0,eu.useContext)(yg);return yu(e)?e:"default"}function yy({children:e}){let{activePersonaId:t,isRehydrating:a}=(0,R.useActivePersona)(),[r,n]=(0,eu.useState)(t),[o,i]=(0,eu.useState)(!1),s=(0,eu.useRef)(t);(0,eu.useEffect)(()=>{if(s.current!==t){if(s.current=t,window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||a){n(t),i(!1);return}i(!0)}},[t,a]);let c=(0,eu.useCallback)(e=>{n(e)},[]),d=(0,eu.useCallback)(()=>{i(!1)},[]);return(0,l.jsx)(yg.Provider,{value:{displayedPersonaId:r,regenerating:o},children:(0,l.jsxs)("div",{style:{position:"relative"},children:[e,o?(0,l.jsx)(yv,{personaId:t,onSwap:c,onDone:d}):null]})})}function yv({personaId:e,onSwap:t,onDone:a}){let r=(0,eu.useRef)(null),{tokens:n,named:o}=(0,M.useBrandMotion)();(0,oA.useGSAP)(()=>{let i=r.current;if(!i)return;let s=o[yp];if(!s){t(e),a();return}let l=s(i,n);if(!("call"in l)){t(e),a();return}return l.call(()=>t(e),void 0,ym),l.eventCallback("onComplete",a),()=>l.kill()},{dependencies:[e,n,o,t,a]}),(0,oA.useGSAP)(()=>{let e=r.current;if(!e)return;let t=o[yh];if(!t)return;let a=t(e,n);return()=>a.kill()},{dependencies:[n,o]});let i="var(--color-brand-500)",s={position:"absolute",inset:0,zIndex:"var(--z-veil, 20)",pointerEvents:"none",opacity:0,background:`linear-gradient(100deg, color-mix(in srgb, ${i} 5%, transparent) 25%, color-mix(in srgb, ${i} 16%, transparent) 50%, color-mix(in srgb, ${i} 5%, transparent) 75%)`,backgroundSize:"200% 100%",backdropFilter:"blur(7px)",WebkitBackdropFilter:"blur(7px)"};return(0,l.jsx)("div",{ref:r,"data-square-regen-veil":"","aria-hidden":"true",style:s})}function yb({tool:e,onLearnMore:t}){let a=`square_suite_tile_${e.key}`,r={header:(0,l.jsx)("div",{style:{"--headline-weight":"var(--font-weight-bold)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.stat?.value??e.headline,level:5},atomId:`${a}-title`})}),action:(0,l.jsx)("span",{className:"text-[length:var(--type-meta)] font-[var(--font-weight-semibold)] text-[color:var(--color-brand-500)]",children:"Learn more →"}),eyebrow:(0,l.jsx)("div",{style:{"--label-size":"var(--type-overline)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)","--label-tracking":"var(--tracking-caps)"},children:(0,l.jsx)(nJ.Label,{data:{text:e.eyebrow},atomId:`${a}-eyebrow`})}),body:(0,l.jsx)("div",{style:{"--subhead-size":"var(--type-meta)","--subhead-fg":"var(--surface-normal-fg-muted, var(--color-fg-muted))"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:e.stat?.label??e.sub},atomId:`${a}-desc`})}),media:(0,l.jsx)(oL.Image,{data:{src:e.imageSrc,alt:e.imageAlt},atomId:`${a}-img`})};return(0,l.jsx)(oz.Card,{data:{recipe:"thumbnail-row",emphasis:"normal"},atomId:a,parentSectionId:null,slots:r,onActivate:t})}let yx={eyebrow:"The Square Suite",heading:"Add the tools your business needs as you grow.",subheading:"Start selling today and pay only standard processing fees on transactions — then add the tools you need, all on one login and one set of data."},yw={restaurants:{eyebrow:"The Square Restaurant Suite",heading:"Add the tools your restaurant needs as you grow.",subheading:"Start selling today and pay only standard processing fees on transactions — then add the tools you need, all sharing one set of menu, order, and customer data."}},yk="https://images.ctfassets.net/2d5q1td6cyxq/",y_={key:"payroll",eyebrow:"Payroll",headline:"Make payroll a breeze.",sub:"Run payroll, pay taxes, and stay ahead of compliance — straight from your POS.",stat:{value:"1 day before payday",label:"Run payroll with Instant Payments"},imageSrc:`${yk}oVHCECJOEySntSNWUgNUD/81b223cd56f351372ef8d7b5a54f48dc/1167_InSitu_USEN_Payroll_Dashboard-Overview_1__1_.png?w=240&fm=webp&q=80`,imageAlt:"Payroll in Square",detail:{layout:"modules",kpis:[{value:"$35+$6",label:"/mo per person, full-service"},{value:"Unlimited",label:"pay runs"},{value:"Cancel",label:"anytime · no contracts"}],mods:[{heading:"Run payroll from your dashboard",body:"Pay your team from the same place you run sales — import timecards and tips from your Square POS and process payroll quickly.",imageSrc:`${yk}5wCBtbIPnF0VNU7ZRXyu3q/0f599d1f60ec8a712cd9675e65b7026a/1167_iPhone13Pro_USEN_Overview_full-service-payroll_v2_1__1_.png?w=760&fm=webp&q=80`,imageAlt:"Run payroll from your dashboard"},{heading:"Taxes and tax filings, automated",body:"Square online payroll services automate your federal and state tax filings and payments on your behalf, and handle W-2s and 1099s so you can focus on running your business.",imageSrc:`${yk}2PtYeCPZrRrrgfU9VPk1u7/5be6800553bc57d32dbdce51746acd65/PD05998-SQS-USEN-taxes-and-compliance__1_.png?w=760&fm=webp&q=80`,imageAlt:"Taxes and tax filings, automated"},{heading:"Benefits and bookkeeping that sync",body:"Offer health insurance and retirement, and sync payroll with QuickBooks Online — no double entry.",imageSrc:`${yk}53iF3814iP4QglFJWOXYQN/a32b27e6210202b51b8e582a3374fd7f/PD05998-SQS-payroll-pricing.jpg?w=760&fm=webp&q=80`,imageAlt:"Benefits and bookkeeping that sync"}],quote:{text:"“Square Payroll takes all of my payroll stress away and frees up my time so I can better manage my business.”",attribution:"Kelly A. · Blueprint Lighting"}}},yj={key:"invoices",eyebrow:"Invoices",headline:"Send invoices, get paid online.",sub:"Estimates, contracts, recurring billing, and online payments — all in one place.",stat:{value:"$0",label:"unlimited basic invoices"},imageSrc:`${yk}67iqhcKWQQOIuRhABRI2Ny/49b664f74a0eafb740bc3a476c3ad63b/PD07366_-_USEN_-_Hero_-_Desktop.png?w=240&fm=webp&q=80`,imageAlt:"Invoices in Square",detail:{layout:"modules",kpis:[{value:"Recurring",label:"billing & estimates"}],mods:[{heading:"Give customers more ways to pay",body:"Cards, Apple Pay, and Google Pay — with card-on-file and automatic taxes and discounts.",imageSrc:`${yk}6wftPqsbKiYdbEWwPydIae/41126a302421f34176b9dc33c32a6045/PD07367_-_USEN_-_Module_1_-_Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Give customers more ways to pay"},{heading:"Keep projects organized start to finish",body:"A pipeline view, shared project details, custom packages, editable templates, e-signature, and cash-flow insights.",imageSrc:`${yk}PjVLGojvK6lcRvGDQa8eM/ab98b5f0c715fa18c82f288b22e6b1e8/PD07368_-_USEN_-_Module_2_-_Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Keep projects organized start to finish"},{heading:"Automate your billing",body:"Recurring invoices, automatic reminders, deposit requests, flexible payment schedules, and estimates that convert to invoices.",imageSrc:`${yk}32UiBowrhtJuKN2k3EeEF4/ad801b3607103b3bdf09d828a848e874/PD07369_-_USEN_-_Module_3_-_Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Automate your billing"},{heading:"Make your business stand out",body:"Add your logo and colors, choose layouts, and add custom fields and contract terms to look professional on every send.",imageSrc:`${yk}2ubctYxkYd2k036kdePofV/28123aed91100babfe9aea607f6244c7/PD07370_-_USEN_-_Module_4_-_Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Make your business stand out"}]}},yS={key:"appointments",eyebrow:"Appointments",headline:"Simplify bookings and stay organized.",sub:"Booking, staff, and payments in one place — synced in real time.",stat:{value:"Free",label:"to start"},imageSrc:`${yk}1D1NJ3yAFPzKdfboEGS0pC/a1d68331c149b184bad6b1d03f713c49/Appointments_USEN.png?w=240&fm=webp&q=80`,imageAlt:"Appointments in Square",detail:{layout:"modules",kpis:[{value:"No-show fees",label:"charged via cards on file"}],mods:[{heading:"Let clients book 24/7",body:"A free booking site so clients book any time — with staff schedules, Google Calendar sync, and resource booking built in.",imageSrc:`${yk}4kQdHqlNQWBcCorzJOxD8o/a7edc932b4029bd1a1bd4bf283b92135/PD07333_USEN_Module_1_De
798sktop.png?w=760&fm=webp&q=80`,imageAlt:"Let clients book 24/7"},{heading:"Take payments in person and online",body:"Accept every major payment type and Tap to Pay on iPhone or Android — and keep cards on file for no-show fees.",imageSrc:`${yk}H4UTv2I0pC4Ad8Gvwaniz/ce612794504546c5629e150db3adb1e3/PD07334_USEN_Module_2_Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Take payments in person and online"},{heading:"Send reminders automatically",body:"Automatic email and text confirmations, no-show policies, and waitlists help keep your schedule organized without the busywork.",imageSrc:`${yk}5FNc3R15l9rUnXiUNlXFAq/3190518f5f49115b06c6f2debd750883/PD07335_USEN_Module_3_Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Send reminders automatically"},{heading:"Reach clients in new ways",body:"Get discovered on the Square Go marketplace, take bookings from social, and sell prepaid packages and memberships.",imageSrc:`${yk}jsEeJnfn9qTydMFhLszem/7e12ff74d77f518400e35af1de3c96b8/PD07337_USEN_Slide_4.png?w=760&fm=webp&q=80`,imageAlt:"Reach clients in new ways"}]}},yC={key:"loyalty",eyebrow:"Loyalty",headline:"Reward your regulars.",sub:"A rewards program built into checkout — points, tiers, and automatic texts.",stat:{value:"Built-in",label:"rewards enrolled right at checkout"},imageSrc:`${yk}17nmvLTnkdV0SoHJytRdgv/779a98320615ab3b8876571b77f7372c/USEN_PD05655-hero-module-desktop.png?w=240&fm=webp&q=80`,imageAlt:"Loyalty in Square",detail:{layout:"modules",kpis:[{value:"30 days",label:"free trial"},{value:"No",label:"contracts"}],mods:[{heading:"Easy to set up",body:"Choose how customers earn — by visit, spend, or item — and let them enroll right at the POS, your site, or an invoice.",imageSrc:`${yk}
7983pg2QMWMv7rhV6Pjtoh897/946a5fa4e6a1220b7ca8b602ed55bf60/USEN_PD05655-module-1-image-2-desktop.png?w=760&fm=webp&q=80`,imageAlt:"Easy to set up"},{heading:"Engage your customers",body:"Run bonus-point promotions, offer digital loyalty passes for Apple Wallet, and reward your best customers with VIP tiers.",imageSrc:`${yk}5jXNw3YgQzTnGhWVbDcSfu/2a1df7904b3a9d3ae1993952a47e55b5/USEN_PD05655-module-7-image-1-desktop.png?w=760&fm=webp&q=80`,imageAlt:"Engage your customers"},{heading:"Know your customers with 360° data",body:"See top customers, loyalty-attributed sales, and spend comparisons — then refine promotions from what actually works.",imageSrc:`${yk}6LMys73xdO8gjLWgsuellO/c374eed19419102eef56aad1a3490442/USEN_PD05655-module-4-image-1.png?w=760&fm=webp&q=80`,imageAlt:"Know your customers with 360° data"},{heading:"Rewarding for every kind of business",body:"From cafés to salons to retail, loyalty programs help build customer relationships across every vertical.",imageSrc:`${yk}5f0Hr6iEp8354mbhRyGJgJ/7948afd1aa20bd4eefdcbb0d4f606559/USEN_PD05655-module-5-image-1.png?w=760&fm=webp&q=80`,imageAlt:"Rewarding for every kind of business"}]}},yI={key:"marketing",eyebrow:"Marketing",headline:"Reach the right customers at the right time.",sub:"Automated email and text campaigns — powered by your own sales data.",stat:{value:"Email + text",label:"campaigns built from your sales data"},imageSrc:`${yk}5e5Kw7MoqBpyTgxSjPySaa/db1ebf8bd117bd0a66393c3458dc3549/PD03241_USEN_email_marketing.png?w=240&fm=webp&q=80`,imageAlt:"Marketing in Square",detail:{layout:"modules",kpis:[{value:"Unlimited",label:"email sends"},{value:"500–2,500",label:"texts/mo included"},{value:"Built-in",label:"CRM included"}],mods:[{heading:"Market your business across email and text",body:"Promote events, deals, and offers across email and text to stay top of mind with customers — online and in store.",imageSrc:`${yk}veLq1D7qwrmusQtsmM5rC/2f7f0a6253d964a3a0d579f408b2511d/PD03239_USEN_Market_your_business.png?w=760&fm=webp&q=80`,imageAlt:"Market your business across email and text"},{heading:"Send messages on autopilot",body:"Set it up once and send welcome, birthday, win-back, and abandoned-cart messages automatically.",imageSrc:`${yk}3gbPT6Jal3SlnGs2aOj48p/6255f49180f9e2c9ebee70e75ae48ed3/PD03239_USEN_Save_time_with_automations.png?w=760&fm=webp&q=80`,imageAlt:"Send messages on autopilot"},{heading:"Make the most of a free CRM",body:"Square Customer Directory gives you a 360° view of customers and their sales — built in, at no extra cost.",imageSrc:`${yk}6LpO81g1aJXgbFcEGx2OCM/f5086d73ed247e8cd029bfc9806cad14/PD03239_USEN_Make_the_most_of_our_free_CRM_tools.png?w=760&fm=webp&q=80`,imageAlt:"Make the most of a free CRM"},{heading:"Reach new customers with Google Reviews",body:"Automatically collect Google reviews by email and text after a sale — at no extra cost.",imageSrc:`${yk}4x4CWoeucAIabcVUPcZH3s/ff0e142fa771369e335505c315847c43/PD03239_-_USEN_Google_Reviews.png?w=760&fm=webp&q=80`,imageAlt:"Reach new customers with Google Reviews"}]}},yN={key:"sell",eyebrow:"Point of sale",headline:"Sell everywhere, in sync",sub:"See in-person, online, and third-party app sales from one place.",stat:{value:"Every channel",label:"in person, online & delivery"},imageSrc:`${yk}2cYLbTrzL4QAE32lnCu8II/6c6131f2f126d29fd7dcf95e71d5226c/PD07329-online-store.png?w=240&fm=webp&q=80`,imageAlt:"Point of sale in Square",detail:{layout:"capability",blocks:[{heading:"One view of every sale",body:"See all in-person, online, and third-party app sales from your POS."},{heading:"Online, pickup & delivery",body:"Sell online and offer in-store pickup, shipping, and local delivery."},{heading:"Manage devices anywhere",body:"Manage all your POS devices from anywhere through your Square Dashboard."}]}},yA={default:[y_,yj,yS,yC,yI,yN],restaurants:[{key:"kds",eyebrow:"Kitchen Display System",headline:"Run your kitchen your way.",sub:"Route tickets, time courses, and get every order right — on one screen.",stat:{value:"$20–30",label:"/mo per device"},imageSrc:`${yk}2fBEqAG8CidL08ND9WZfZx/7a625a1bf137e0bec3893519eac28f39/PD02487_-_base_USEN_KDS.png?w=240&fm=webp&q=80`,imageAlt:"Kitchen Display System in Square",detail:{layout:"modules",kpis:[{value:"One screen",label:"every channel"}],mods:[{heading:"Display orders from anywhere",body:"Instantly send orders to the kitchen and fulfill from one durable display — in-house, online, and delivery.",imageSrc:`${yk}1TlYTiZn3wbKxiYo5g9utc/aba1153f2b006a3d386170fe07d62a7b/PD07074_-_USEN_RST_BOH_carousel.png?w=760&fm=webp&q=80`,imageAlt:"Display orders from anywhere"},{heading:"Route to the right station",body:"Customize tickets and route them to the right prep station to optimize throughput.",imageSrc:`${yk}6teoHCaqdy8HNaZlHBGa5h/903767ff58dd332faa216f6e13747ce2/PD07074_-_USEN_RST_KDS_carousel.png?w=760&fm=webp&q=80`,imageAlt:"Route to the right station"},{heading:"Time every course",body:"Organize orders, time dishes, and streamline front- and back-of-house communication with coursing.",imageSrc:`${yk}33XcRlkuUw90sVaRGOIISh/58688da3e1855e6a8090ba24b255af1e/PD07074_-_RST_chef_carousel.png?w=760&fm=webp&q=80`,imageAlt:"Time every course"}]}},{key:"online",eyebrow:"Online Ordering",headline:"Boost your business with online ordering.",sub:"A branded ordering page that takes orders in minutes — and keeps more of every sale.",stat:{value:"Save on fees",label:"vs. third-party delivery apps"},imageSrc:`${yk}3XIgzQBpUt6EsxGCquEqFi/5336aa7c7914e3b08a93c6ff5e84cec9/PD07402_-_USEN_Online_Store-Slide1.png?w=240&fm=webp&q=80`,imageAlt:"Online Ordering in Square",detail:{layout:"modules",kpis:[{value:"Minutes",label:"to start taking orders"},{value:"Free",label:"on any Square plan"}],mods:[{heading:"Start in minutes",body:"Launch a branded online ordering profile with any Square plan.",imageSrc:`${yk}3XIgzQBpUt6EsxGCquEqFi/5336aa7c7914e3b08a93c6ff5e84cec9/PD07402_-_USEN_Online_Store-Slide1.png?w=760&fm=webp&q=80`,imageAlt:"Start in minutes"},{heading:"Stay updated automatically",body:"Item counts prevent overselling by updating availability as you sell.",imageSrc:`${yk}6teoHCaqdy8HNaZlHBGa5h/903767ff58dd332faa216f6e13747ce2/PD07074_-_USEN_RST_KDS_carousel.png?w=760&fm=webp&q=80`,imageAlt:"Stay updated automatically"},{heading:"Offer delivery with top apps",body:"Integrate Uber Eats and DoorDash and manage all menus and orders from one dashboard.",imageSrc:`${yk}1TlYTiZn3wbKxiYo5g9utc/aba1153f2b006a3d386170fe07d62a7b/PD07074_-_USEN_RST_BOH_carousel.png?w=760&fm=webp&q=80`,imageAlt:"Offer delivery with top apps"}]}},{key:"team",eyebrow:"Team Management",headline:"Keep your team organized.",sub:"Permissions, schedules, timecards, and tips — then run payroll from the same place.",stat:{value:"Automated",label:"federal & state tax filings"},imageSrc:`${yk}6YEeu8EIaEOxz2AqA3NoLQ/af506dc8032ae7350a576e7eed0bc7d3/PD07402_-_USEN_Payroll-Slide2.png?w=240&fm=webp&q=80`,imageAlt:"Team Management in Square",detail:{layout:"modules",kpis:[{value:"One place",label:"schedules, tips & pay"},{value:"Cancel",label:"anytime"}],mods:[{heading:"Spend less time on admin",body:"Manage onboarding, time, schedules, and labor costs in one place.",imageSrc:`${yk}6YEeu8EIaEOxz2AqA3NoLQ/af506dc8032ae7350a576e7eed0bc7d3/PD07402_-_USEN_Payroll-Slide2.png?w=760&fm=webp&q=80`,imageAlt:"Spend less time on admin"},{heading:"Control what your team sees",body:"Let staff view schedules, swap shifts, and see payroll through the Square Team app.",imageSrc:`${yk}
7983Y6SfTKmF0SXgIrNNPsH9B/f2474ac1b7bf1b152b18fcc79d0f1141/PD07402_-_USEN_Cashflow-Slide3.png?w=760&fm=webp&q=80`,imageAlt:"Control what your team sees"},{heading:"Tips and gratuity, handled",body:"Import tips from the POS and charge automatic gratuity for larger parties.",imageSrc:`${yk}XnKO5B6kpjwXAgrkDwaXl/821c140302558dd91bb642c6e232a78e/PD07400_-_USEN_Live-Sales-Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Tips and gratuity, handled"}]}},{key:"loyalty",eyebrow:"Loyalty",headline:"Reward your regulars.",sub:"A rewards program built into checkout — diners enroll right at the POS.",stat:{value:"Automatic",label:"enrollment at checkout"},imageSrc:`${yk}2KHXqAXluNZOFYUJsTEAIJ/75875412ea322aa2115195ea79aef111/PD07402_-_USEN_Loyalty-slide5.png?w=240&fm=webp&q=80`,imageAlt:"Loyalty in Square",detail:{layout:"modules",kpis:[{value:"30 days",label:"free trial"},{value:"No",label:"contracts"}],mods:[{heading:"Reward customers at checkout",body:"Diners earn points and redeem rewards right at the register.",imageSrc:`${yk}2KHXqAXluNZOFYUJsTEAIJ/75875412ea322aa2115195ea79aef111/PD07402_-_USEN_Loyalty-slide5.png?w=760&fm=webp&q=80`,imageAlt:"Reward customers at checkout"},{heading:"Know your most valuable diners",body:"Tailor experiences from guest profiles that track purchase and order history.",imageSrc:`${yk}XnKO5B6kpjwXAgrkDwaXl/821c140302558dd91bb642c6e232a78e/PD07400_-_USEN_Live-Sales-Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Know your most valuable diners"},{heading:"Enroll right at the register",body:"The checkout prompts customers to sign up — at the POS, online, or an invoice.",imageSrc:`${yk}4nHiqCE4LcYvI4BSuSgB9W/d5410932e8923dd887ff93d17a67dc82/PD07397_-_USEN_QSR-cart-Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Enroll right at the register"}],quote:{text:"“The checkout automatically prompts customers to sign up for the loyalty program — it has an estimated 70,000 members.”",attribution:"Lucky Bean"}}},{key:"giftcards",eyebrow:"Gift Cards",headline:"Sell gift cards diners love to give.",sub:"Digital and physical gift cards — sold in person and online, redeemed anywhere you take payments.",stat:{value:"Both",label:"digital & physical"},imageSrc:`${yk}2qurEgI38hg0CmtIu3ehx/2ca8fbf0327716499d8193d5d40db04d/PD07402_-_USEN_GiftCards-slide6.png?w=240&fm=webp&q=80`,imageAlt:"Gift Cards in Square",detail:{layout:"modules",kpis:[{value:"In person",label:"+ online"},{value:"Built-in",label:"to checkout"},{value:"New",label:"revenue stream"}],mods:[{heading:"Sell in person and online",body:"Offer eGift cards on your ordering page and physical cards at the counter.",imageSrc:`${yk}2qurEgI38hg0CmtIu3ehx/2ca8fbf0327716499d8193d5d40db04d/PD07402_-_USEN_GiftCards-slide6.png?w=760&fm=webp&q=80`,imageAlt:"Sell in person and online"},{heading:"Redeem anywhere",body:"Redeem at the POS just like any payment — balance tracked automatically.",imageSrc:`${yk}4nHiqCE4LcYvI4BSuSgB9W/d5410932e8923dd887ff93d17a67dc82/PD07397_-_USEN_QSR-cart-Desktop.png?w=760&fm=webp&q=80`,imageAlt:"Redeem anywhere"},{heading:"Stay top of mind",body:"Pair with loyalty and marketing to stay in touch with your diners.",imageSrc:`${yk}1JujF04i4EHnzrhKi0bqSv/e21022e8163746c5fbb7026f6dc711d7/PD07402_-_USEN_Marketing-slide4.png?w=760&fm=webp&q=80`,imageAlt:"Stay top of mind"}]}},{key:"sell",eyebrow:"Point of sale",headline:"Take orders from anywhere",sub:"Counter, online, takeout, delivery, and catering — never miss a sale, even offline.",stat:{value:"Every channel",label:"counter · online · delivery"},imageSrc:`${yk}4nHiqCE4LcYvI4BSuSgB9W/d5410932e8923dd887ff93d17a67dc82/PD07397_-_USEN_QSR-cart-Desktop.png?w=240&fm=webp&q=80`,imageAlt:"Point of sale in Square",detail:{layout:"capability",blocks:[{heading:"One integrated POS",body:"Take counter, online, takeout, delivery, and catering orders from one system."},{heading:"Accept every payment",body:"Tap, dip, swipe, and contactless — and keep selling even when you’re offline."},{heading:"Built for the rush",body:"A fast, durable POS designed to be easy for your team to learn."}]}}],retail:[yC,yI,yj,y_,yS,yN],beauty:[yS,y_,yj,yC,yI,yN],"health-and-wellness":[yS,y_,yj,yC,yI,yN],"general-services":[yj,y_,yS,yC,yI,yN],"professional-services":[yj,yS,y_,yC,yI,yN]},yE="var(--sq-blue-tint, #e6f0ff)",yT="var(--sq-surface-2, #f2f2f2)",yP="0.07em",
798yz="calc(var(--type-body) * var(--leading-body))";function yR({eyebrow:e,headline:t,sub:a,kpis:r,blocks:n,quote:o,idPrefix:i,blockIdPrefix:s}){return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"grid gap-[26px] p-[var(--space-40,40px)] md:grid-cols-[1.15fr_.85fr] md:items-center md:gap-[40px]",style:{background:`linear-gradient(158deg, ${yE}, var(--color-bg) 68%)`,borderBottom:"1px solid var(--color-border)"},children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:{"--label-color":"var(--color-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)",fontSize:"var(--type-meta)"},children:(0,l.jsx)(nJ.Label,{data:{text:e},atomId:`${i}_eyebrow`})}),(0,l.jsx)("div",{className:"mt-[8px]",style:{"--headline-size":"var(--type-h2)","--headline-line-height":"var(--leading-snug)","--headline-tracking":"var(--tracking-tight)","--headline-weight":"var(--font-weight-medium)"},children:(0,l.jsx)(nY.Headline,{data:{text:t,level:3},atomId:`${i}_headline`})}),a?(0,l.jsx)("div",{className:"mt-[14px] max-w-[42ch]",style:{"--prose-fg":"var(--color-fg-muted)",fontSize:"var(--type-body)"},children:(0,l.jsx)(nX.Prose,{data:{markdown:a,size:"body"},atomId:`${i}_sub`})}):null]}),(0,l.jsx)("div",{className:"flex flex-col md:border-l md:border-[color:var(--color-border)] md:pl-[30px]",children:r.map((e,t)=>(0,l.jsxs)("div",{className:t>0?"mt-[14px] border-t border-[color:var(--color-border)] pt-[14px]":"",children:[(0,l.jsx)("b",{style:{display:"block",fontFamily:"var(--font-heading)",fontWeight:"var(--font-weight-bold)",fontSize:"var(--type-stat-sm)",lineHeight:"var(--leading-none)",letterSpacing:"var(--tracking-tight)",color:"var(--color-brand-500)"},children:e.value}),(0,l.jsx)("div",{className:"mt-[5px] max-w-[17ch]",style:{lineHeight:yz,fontSize:"var(--type-meta)"},children:(0,l.jsx)(ip.Meta,{data:{text:e.label},atomId:`${i}_kpi_${t}`})})]},e.value+e.label))})]}),(0,l.jsx)("div",{className:"px-[52px] py-[8px]",children:n.map((e,t)=>(0,l.jsxs)("div",{className:`grid items-center gap-[26px] py-[40px] md:grid-cols-2 md:gap-[46px] ${t>0?"border-t":""}`,style:t>0?{borderColor:"var(--color-border-subtle, var(--color-border))"}:void 0,children:[(0,l.jsx)("div",{className:t%2?"md:order-2":"",children:(0,l.jsx)("div",{className:"flex aspect-[16/11] flex-col overflow-hidden rounded-[var(--radius-lg-container,16px)]",style:{background:yT},children:(0,l.jsx)(oL.Image,{data:{src:e.imageSrc,alt:e.imageAlt,ratio:"fill"},atomId:`${s}_img_${t}`})})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:{...fP("var(--type-h4)"),"--headline-weight":"var(--font-weight-semibold, 600)","--headline-line-height":"1.16","--headline-tracking":"var(--tracking-tight)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.heading,level:4},atomId:`${s}_h_${t}`})}),(0,l.jsx)("p",{className:"mt-[10px] max-w-[46ch]",style:{fontSize:"15.5px",lineHeight:"var(--sq-lh-155, 1.55)",color:"var(--color-fg-muted)"},children:e.body})]})]},e.heading))}),o?(0,l.jsxs)("figure",{className:"m-[30px_52px] rounded-[var(--radius-lg-container,16px)] px-[32px] py-[28px]",style:{background:"var(--surface-subtle-bg, var(--color-bg-subtle))"},children:[(0,l.jsx)("blockquote",{className:"m-0",style:{fontFamily:"var(--font-display)",fontWeight:"var(--font-weight-default)",fontSize:"24px",lineHeight:"var(--sq-lh-14, 1.4)",color:"var(--color-fg)"},children:o.text}),(0,l.jsx)("figcaption",{className:"mt-[14px]",children:(0,l.jsx)("div",{style:{"--label-color":"var(--color-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)","--label-size":"var(--type-overline)","--label-tracking":yP,fontSize:"var(--type-overline)",lineHeight:yz},children:(0,l.jsx)(nJ.Label,{data:{text:o.attribution},atomId:`${i}_quote_attr`})})})]}):null]})}function yL({label:e,className:t="px-[24px] py-[14px]",forYou:a=!0}){return(0,l.jsxs)("div",{className:`flex items-center gap-[10px] ${t}`,style:{background:yE,borderBottom:"1px solid var(--color-border)",fontSize:"14px",color:"var(--color-fg)"},children:[(0,l.jsx)("span",{"aria-hidden":"true",className:"inline-block h-[16px] w-[16px] animate-spin rounded-[var(--radius-full)] border-2",style:{borderColor:"var(--color-border)",borderTopColor:"var(--color-brand-500)"}}),"Generating ",e,a?" for you":"","…"]})}function yO({label:e}){return(0,l.jsxs)("div",{children:[(0,l.jsx)(yL,{label:e}),(0,l.jsxs)("div",{className:"p-[48px]",children:[(0,l.jsxs)("div",{className:"mb-[34px] grid gap-[26px] md:grid-cols-2 md:gap-[42px]",children:[(0,l.jsxs)("div",{className:"flex flex-col justify-center gap-[16px]",children:[(0,l.jsx)(uq.Pulser,{height:"18px",width:"38%"}),(0,l.jsx)(uq.Pulser,{height:"18px",width:"82%"}),(0,l.jsx)(uq.Pulser,{height:"18px",width:"58%"})]}),(0,l.jsx)(uq.Pulser,{height:"auto",radius:"var(--radius-lg-container, 16px)",style:{aspectRatio:"4 / 3"}})]}),(0,l.jsx)(uq.Pulser,{height:"210px",radius:"var(--radius-lg-container, 16px)",className:"mb-[26px]"}),(0,l.jsx)(uq.Pulser,{height:"210px",radius:"var(--radius-lg-container, 16px)"})]})]})}function yM(e,t){let[a,r]=(0,eu.useState)(!0);return(0,eu.useEffect)(()=>
798{if(null==e)return;r(!0);let a=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches,n=window.setTimeout(()=>r(!1),a?0:t);return()=>window.clearTimeout(n)},[e,t]),a}function yH({tools:e,openIndex:t,onClose:a,onNavigate:r}){let n=e.length,o=null!=t?e[t]:null,i=yM(t,600),s=null!=t?(t-1+n)%n:0,c=null!=t?(t+1)%n:0;return(0,l.jsxs)(iA.BrandedModal,{open:null!=t,onOpenChange:e=>{e||a()},title:o?.eyebrow??"",description:o?.headline,className:fj,style:fS,scrim:fC,hideCloseButton:!0,onInteractOutside:e=>{let t=e.detail.originalEvent.target;t?.closest?.("[data-overlay-satellite]")&&e.preventDefault()},children:[(0,l.jsx)(fN,{onClose:a,style:{margin:"14px 14px -52px auto"}}),i&&o?"capability"===o.detail.layout?(0,l.jsx)(yq,{label:o.headline}):(0,l.jsx)(yO,{label:o.eyebrow}):o?"capability"===o.detail.layout?(0,l.jsx)(yD,{eyebrow:o.eyebrow,headline:o.headline,teaser:o.sub,blocks:o.detail.blocks,idPrefix:`square_suite_${o.key}`}):(0,l.jsx)(yR,{eyebrow:o.eyebrow,headline:o.headline,sub:o.sub,kpis:o.detail.kpis,blocks:o.detail.mods,quote:o.detail.quote,idPrefix:`square_suite_${o.key}`,blockIdPrefix:`square_suite_${o.key}_mod`}):null,null!=t&&n>1?(0,l.jsx)(fA,{position:t,prev:{label:e[s]?.eyebrow??"",onClick:()=>r(s)},next:{label:e[c]?.eyebrow??"",onClick:()=>r(c)}}):null]})}function yD({eyebrow:e,headline:t,teaser:a,blocks:r,idPrefix:n}){let o=fg.jewel;return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"p-[var(--space-40,40px)]",style:{background:`linear-gradient(158deg, ${yE}, var(--color-bg) 70%)`,borderBottom:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{style:{"--label-color":"var(--color-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)"},children:(0,l.jsx)(nJ.Label,{data:{text:e},atomId:`${n}_eyebrow`})}),(0,l.jsx)("div",{className:"mt-[8px]",style:{"--headline-size":"var(--type-h2)","--headline-line-height":"1.06","--headline-tracking":"var(--tracking-tight)","--headline-weight":"var(--font-weight-medium)"},children:(0,l.jsx)(nY.Headline,{data:{text:t,level:3},atomId:`${n}_headline`})}),(0,l.jsx)("div",{className:"mt-[10px]",style:{"--prose-fg":"var(--color-fg-muted)"},children:(0,l.jsx)(nX.Prose,{data:{markdown:a,size:"body-sm"},atomId:`${n}_teaser`})})]}),(0,l.jsx)("div",{className:"p-[var(--space-40,40px)]",children:(0,l.jsx)("div",{className:"grid grid-cols-1 gap-[16px] md:grid-cols-3 md:gap-[28px]",children:r.map((e,t)=>(0,l.jsxs)("div",{className:"flex items-start gap-[12px]",children:[(0,l.jsx)("span",{"aria-hidden":"true",className:"inline-flex flex-none items-center justify-center rounded-[var(--radius-md)]",style:{width:34,height:34,background:yE,color:"var(--color-brand-500)"},children:o?(0,l.jsx)("span",{className:"inline-flex flex-none",style:{width:15,height:15},children:(0,l.jsx)(o,{className:"h-full w-full"})}):null}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:{"--headline-size":"var(--type-h6)","--headline-weight":"var(--font-weight-bold)","--headline-line-height":"1.2","--headline-tracking":"var(--tracking-tight)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.heading,level:4},atomId:`${n}_blk_h_${t}`})}),(0,l.jsx)("p",{className:"mt-[3px]",style:{fontSize:"13.5px",lineHeight:"var(--sq-lh-145, 1.45)",color:"var(--color-fg-muted)"},children:e.body})]})]},e.heading))})})]})}function yq({label:e}){return(0,l.jsxs)("div",{children:[(0,l.jsx)(yL,{label:e,forYou:!1}),(0,l.jsxs)("div",{className:"flex flex-col justify-center gap-[16px] px-[40px] py-[36px]",children:[(0,l.jsx)(uq.Pulser,{height:"16px",width:"40%"}),(0,l.jsx)(uq.Pulser,{height:"16px",width:"85%"}),(0,l.jsx)(uq.Pulser,{height:"16px",width:"70%"}),(0,l.jsx)(uq.Pulser,{height:"16px",width:"55%"})]})]})}function yW(){let e=yf(),t="default"===e?yx:yw[e]??yx,a=yA[e],r=fW(),[n,o]=(0,eu.useState)(null);return(0,eu.useEffect)(()=>o(null),[e]),(0,l.jsxs)("section",{id:fL,ref:fk(fL),className:"scroll-mt-36",children:[(0,l.jsxs)("div",{style:fT,className:"py-[var(--space-100,100px)] max-[600px]:py-[var(--space-60,60px)]",children:[(0,l.jsx)("div",{ref:r.ref,style:r.style,children:(0,l.jsx)(ih.SectionHeader,{eyebrow:t.eyebrow,heading:t.heading,subheading:t.subheading,subheadingMeasure:"var(--measure-body, 60ch)"})}),(0,l.jsx)("div",{className:"mt-[var(--space-40,40px)] max-[600px]:mt-[var(--space-30,30px)] grid grid-cols-2 gap-[var(--space-16,16px)] max-[600px]:gap-[var(--space-10,10px)] lg:grid-cols-3 max-[600px]:[&_[data-card-inner]]:flex-col max-[600px]:[&_[data-card-inner]]:items-stretch max-[600px]:[&_[data-card-inner]]:!gap-[var(--space-14,14px)] max-[600px]:[&_[data-slot=header]>
798*]:line-clamp-none max-[600px]:[&_[data-slot=body]>*]:line-clamp-none max-[600px]:[&_[data-slot=action]]:!mt-auto max-[600px]:[&_[data-slot=action]]:pt-[var(--space-12,12px)]",children:a.map((e,t)=>(0,l.jsx)("div",{className:"min-w-0",children:(0,l.jsx)(yb,{tool:e,onLearnMore:()=>o(t)})},e.key))})]}),(0,l.jsx)(yH,{tools:a,openIndex:n,onClose:()=>o(null),onNavigate:o})]})}function y$({topic:e,onLearnMore:t}){let a=`square_pos_card_${e.key}`,r={header:(0,l.jsx)("div",{style:{"--headline-weight":"var(--font-weight-bold)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.stat?.value??e.headline,level:4},atomId:`${a}-title`})}),action:(0,l.jsx)("span",{className:"text-[length:var(--type-meta)] font-[var(--font-weight-semibold)] underline underline-offset-[3px]",children:"Learn more"}),eyebrow:(0,l.jsx)("div",{style:{"--label-size":"var(--type-overline)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-semibold)","--label-tracking":"var(--tracking-caps)"},children:(0,l.jsx)(nJ.Label,{data:{text:e.eyebrow},atomId:`${a}-eyebrow`})}),body:(0,l.jsx)(oU.Subhead,{data:{markdown:e.stat?.label??e.sum},atomId:`${a}-desc`}),media:(0,l.jsx)(oL.Image,{data:{src:e.imageSrc,alt:e.imageAlt},atomId:`${a}-img`})};return(0,l.jsx)(oz.Card,{data:{recipe:"media-overlay",emphasis:"featured"},atomId:a,parentSectionId:null,slots:r,onActivate:t})}let yU={default:{eyebrow:"Built-in Point of Sale",heading:"Built for the way you sell."},restaurants:{eyebrow:"Built for Restaurants",heading:"Built for the rush — front and back of house."},retail:{eyebrow:"Built for Retail",heading:"Sell everywhere. Manage everything. Grow confidently."},beauty:{eyebrow:"Built for Beauty",heading:"Book more clients. Run a smoother business."},"health-and-wellness":{eyebrow:"Built for Health & Wellness",heading:"Run your studio. Fill your classes. Grow your business."},"general-services":{eyebrow:"Built for General Services",heading:"From estimate to payment — all in one place."},"professional-services":{eyebrow:"Built for Professional Services",heading:"Get paid on your terms, every time."}},yF="https://images.ctfassets.net/2d5q1td6cyxq/",yB="?w=760&fm=webp&q=80",yG={default:[{key:"pay",eyebrow:"Take all major payments",headline:"Accept all major payment types.",sum:"Cards, contactless, cash & gift cards — in person, online, or over the phone.",stat:{value:"2.6% + 15¢",label:"per in-person tap"},imageSrc:`${yF}2ua0sZg8olHWWoJNEArADU/97d61cf237a833406f09ea80d7c20eac/PD07138-payments-anywhere-laptop.png?w=720&fm=webp&q=80`,imageAlt:"Take all major payments in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Every major payment type",body:"Accept major credit cards, contactless payments, keyed-in payments, cash, and Square gift cards.",imageSrc:`${yF}2Xe6hFb7F47YjPmKhx8h25/9f2b44d6a3ee6c91bb1eaaaa5476acb5/PD06634_-_USEN_Stand_2nd_gen_v1_Card_Insert_Farmers_Market.png${yB}`,imageAlt:"Every major payment type"},{heading:"Tap to Pay",body:"Take contactless cards, Apple Pay, and Google Pay with Tap to Pay on iPhone or Android.",imageSrc:`${yF}oR342NIw0HmvTLjKvlCL5/96bbcaee7e52f96cc51e60a13c88ee74/PD07140-payments-tap-to-pay.png${yB}`,imageAlt:"Tap to Pay"},{heading:"Get paid across channels",body:"Get paid in person, online, or over the phone, then access your revenue — and keep the line moving at checkout.",imageSrc:`${yF}4OXTBgjXkTOYuG3onjy89Z/1e752ae60920ae7bff3513cb02079a3d/PD07138-payments-anywhere-stand-.png${yB}`,imageAlt:"Get paid across channels"},{heading:"Key in by phone",body:"Key in a customer’s credit card over the phone when they’re not in front of you.",imageSrc:`${yF}uDNSYum5wszwIgf9iROAq/e2f2585d6ffa0b09f06e33e3ca398ea9/PD05368_USEN_revised_hero.png${yB}`,imageAlt:"Key in by phone"},{heading:"Built-in protection",body:"Fraud protection, data security, dispute management, and PCI compliance are built into your PO
798S.",imageSrc:`${yF}3FPBu7g8a80YBr0s4sGzAA/7d081633963084364780c8e3ba7802a7/PD05907_-_Proactive_Fraud_Protection.png${yB}`,imageAlt:"Built-in protection"},{heading:"Clear pricing",body:"One simple per-transaction rate, with no setup fees or long-term contracts.",imageSrc:`${yF}4ThHfh76uJLTiW5c4Ol0SO/0caf6ab3a7dc4b702bc661d222494f95/PD08098_-_USEN_tap.png${yB}`,imageAlt:"Clear pricing"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"sell",eyebrow:"Sell what you offer",headline:"One catalog, every channel — in sync.",sum:"Sell in person, online, and over the phone, with every order in one place.",stat:{value:"Every channel",label:"in person, online & delivery — in sync"},imageSrc:`${yF}2cYLbTrzL4QAE32lnCu8II/6c6131f2f126d29fd7dcf95e71d5226c/PD07329-online-store.png?w=720&fm=webp&q=80`,imageAlt:"Sell what you offer in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"One connected system",body:"Take payments in person, online, and over the phone with all sales connected in one system — no extra apps needed.",imageSrc:`${yF}2ua0sZg8olHWWoJNEArADU/97d61cf237a833406f09ea80d7c20eac/PD07138-payments-anywhere-laptop.png${yB}`,imageAlt:"One connected system"},{heading:"One item library",body:"Manage items once and sell them everywhere, with stock that updates as you go.",imageSrc:`${yF}6VhwqJWH1JEITY3Cf6VJnq/f8e656cc05c523d4ec24831534e3d8b1/PD07327-features-sell.png${yB}`,imageAlt:"One item library"},{heading:"Every order in one place",body:"Handle in-person, online, and pickup or delivery orders from one place.",imageSrc:`${yF}4nHiqCE4LcYvI4BSuSgB9W/d5410932e8923dd887ff93d17a67dc82/PD07397_-_USEN_QSR-cart-Desktop.png${yB}`,imageAlt:"Every order in one place"},{heading:"Real-time insights",body:"See real-time data on sales, team, and customers across every channel.",imageSrc:`${yF}3WvzH2dr4MwQaZuOCFjZjq/91ada7e34849444c4efc6406d3df93df/PD07351_-_USEN_Inventory-Mobile.png${yB}`,imageAlt:"Real-time insights"}]}},{key:"organize",eyebrow:"Move fast and stay organized",headline:"Run it fast — stock stays right.",sum:"One item library, real-time stock, and a checkout that's easy for your team to learn.",stat:{value:"Real-time stock",label:"synced as you sell"},imageSrc:`${yF}1Upj6heZj0hvn7JmoZJnvi/1ac80e575f88e4eae3f22220e53c50fa/PD07327-features-organized.png?w=720&fm=webp&q=80`,imageAlt:"Move fast and stay organized in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Single item library",body:"Add menu items, products, services, or custom packages to one item library and ring up sales with a custom item grid — with real-time stock visibility.",imageSrc:`${yF}6J9FGYBTj0rau2gEGa7UZW/24e0bcf86638839abc1876c6c1010b21/PD07349_-_USEN_Retail-Inventory-Mobile.png${yB}`,imageAlt:"Single item library"},{heading:"Advanced inventory",body:"Add advanced inventory features to manage a retail business across multiple locations and sales channels.",imageSrc:`${yF}6MvsTkVIV58VYN4iV06Dw1/65d3fdd280fc7a8a4b85decd24be78a5/PD03696_-_inventory_management.png${yB}`,imageAlt:"Advanced inventory"},{heading:"Easy to run",body:"Get started with an intuitive POS that’s easy to learn — designed for new staff to pick up quickly.",imageSrc:`${yF}2BArydwskcVDHxiQnnQPOW/701227f49f862efe308e76b6aeb67cc2/pos-mode-device-retail.png${yB}`,imageAlt:"Easy to run"},{heading:"Fast, easy checkout",body:"Quick keys, discounts, modifiers, and tipping help speed up checkout — and the POS is easy to learn.",imageSrc:`${yF}138sak02W7OKLltJxfKxmZ/9bf4d18e24abf27b5051ab2da33f0ba4/pos-mode-device-all-businesses.png${yB}`,imageAlt:"Fast, easy checkout"}]}},{key:"grow",eyebrow:"Learn from every sale",headline:"See what works, then build on it.",sum:"Real-time insights, reporting, and customer tools that turn each sale into the next.",stat:{value:"Your numbers, live",label:"sales, team & customer data"},imageSrc:`${yF}19oGKq54H07C4WTWLRZWNG/904046e383c7d872ec89e20282193728/PD07327-features-grow.png?w=720&fm=webp&q=80`,imageAlt:"Learn from every sale in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Real-time insights",body:"Get real-time data and business insights on your sales, your team, and your customers.",imageSrc:`${yF}XnKO5B6kpjwXAgrkDwaXl/821c140302558dd91bb642c6e232a78e/PD07400_-_USEN_Live-Sales-Desktop.png${yB}`,imageAlt:"Real-time insights"},{heading:"Top-line metrics",body:"Access metrics by time period — gross sales, sales count, and refunds — right from your app.",imageSrc:`${yF}3WvzH2dr4MwQaZuOCFjZjq/91ada7e34849444c4efc6406d3df93df/PD07351_-_USEN_Inventory-Mobile.png${yB}`,imageAlt:"Top-line metrics"},{heading:"Free CRM",body:"Square Customer Directory gives a 360° view of customers and their sales.",imageSrc:`${yF}6LpO81g1aJXgbFcEGx2OCM/f5086d73ed247e8cd029bfc9806cad14/PD03239_USEN_Make_the_most_of_our_free_CRM_tools.png${yB}`,imageAlt:"Free CRM"},{heading:"Reporting & analytics",body:"Sales reporting and analytics help you see your numbers and make decisions — right from the app.",imageSrc:`${yF}doBvapcT79ku0vGocN2GP/daa4c2535edbc2055e6f40f3f928b36a/PD06964_-_USEN_products_iphone.png${yB}`,imageAlt:"Reporting & analytics"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"hardware",eyebrow:"Hardware",headline:"Hardware and software, in one.",sum:"From a $59 reader to a full register — pick 
798what fits how you sell.",stat:{value:"from $59",label:"Reader · Stand · Terminal · Register"},imageSrc:`${yF}2s5OPaoVzE9UghL7zMgdTU/32ecd8b5e5b07ec3dd2f2b2a3e44335b/PD07056_-_USEN_terminal.png?w=720&fm=webp&q=80`,imageAlt:"Hardware in Square",detail:{layout:"hardware",label:"Pick your hardware",picks:[{name:"Square Reader",price:"$59",bestFor:"Pop-ups, markets & selling on the go",imageSrc:`${yF}7unpvnbWcFqXwSR0wxKixD/ead4394e96263da9ca2b1130e868047d/PD07139-payments-hardware-reader.png?w=420&fm=webp&q=80`,imageAlt:"Square Reader"},{name:"Square Stand",price:"$149",bestFor:"Counters, cafés & retail",imageSrc:`${yF}1ESULnPNveszD8sDY98OdC/9f4ce3a570fb63ef4c81840c0e989e21/PD07056_-_USEN_stand.png?w=420&fm=webp&q=80`,imageAlt:"Square Stand"},{name:"Square Terminal",price:"$299",bestFor:"Tableside, line-busting & mobile",imageSrc:`${yF}2s5OPaoVzE9UghL7zMgdTU/32ecd8b5e5b07ec3dd2f2b2a3e44335b/PD07056_-_USEN_terminal.png?w=420&fm=webp&q=80`,imageAlt:"Square Terminal"},{name:"Square Register",price:"$899",bestFor:"High-volume counters",imageSrc:`${yF}3pwyY1ZbvZLlh7R7WAOcOR/cacb105292fdc9722ed4cd0c61955a6a/PD08115_USEN_Register.png?w=420&fm=webp&q=80`,imageAlt:"Square Register"}]}}],restaurants:[{key:"pay",eyebrow:"Take all major payments",headline:"Never miss a sale, even offline.",sum:"Accept tap, dip, swipe and contactless — at the counter, tableside, or online.",stat:{value:"2.6% + 15¢",label:"per in-person tap"},imageSrc:`${yF}4nHiqCE4LcYvI4BSuSgB9W/d5410932e8923dd887ff93d17a67dc82/PD07397_-_USEN_QSR-cart-Desktop.png?w=720&fm=webp&q=80`,imageAlt:"Take all major payments in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Every major payment type",body:"Accept cards, contactless, Apple Pay, Google Pay, and cash — counter, tableside, or online.",imageSrc:`${yF}2Xe6hFb7F47YjPmKhx8h25/9f2b44d6a3ee6c91bb1eaaaa5476acb5/PD06634_-_USEN_Stand_2nd_gen_v1_Card_Insert_Farmers_Market.png${yB}`,imageAlt:"Every major payment type"},{heading:"Works offline",body:"Keep taking payments even when the internet drops, so you never miss a sale.",imageSrc:`${yF}vmmCQ9C01ypdGAhHcyahe/1241e9db2611cf09efb2eddf42abfee3/PD07465_-_USEN_Internet_down.jpg${yB}`,imageAlt:"Works offline"},{heading:"Tap to Pay",body:"Take contactless payments right on your phone — no extra hardware.",imageSrc:`${yF}oR342NIw0HmvTLjKvlCL5/96bbcaee7e52f96cc51e60a13c88ee74/PD07140-payments-tap-to-pay.png${yB}`,imageAlt:"Tap to Pay"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — per location"}]}},{key:"sell",eyebrow:"Manage every order",headline:"Fulfill every order from one screen.",sum:"In-house, online, takeout, delivery, and catering — no tablet farms, no order chaos.",stat:{value:"Every order",label:"one screen, every channel"},imageSrc:`${yF}3XIgzQBpUt6EsxGCquEqFi/5336aa7c7914e3b08a93c6ff5e84cec9/PD07402_-_USEN_Online_Store-Slide1.png?w=720&fm=webp&q=80`,imageAlt:"Manage every order in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Every channel, one place",body:"In-restaurant, online, takeout, delivery, and catering orders flow into one system.",imageSrc:`${yF}2cYLbTrzL4QAE32lnCu8II/6c6131f2f126d29fd7dcf95e71d5226c/PD07329-online-store.png${yB}`,imageAlt:"Every channel, one place"},{heading:"No tablet farms",body:"Manage first-party and third-party orders without juggling devices.",imageSrc:`${yF}1TlYTiZn3wbKxiYo5g9utc/aba1153f2b006a3d386170fe07d62a7b/PD07074_-_USEN_RST_BOH_carousel.png${yB}`,imageAlt:"No tablet farms"},{heading:"Real-time menu sync",body:"Menus and item counts update everywhere as you sell.",imageSrc:`${yF}7aVqH6pjwjwWpLf5Bd1Ad4/62ebb2a87130d0e6c3a6b003f9d6d4b1/PD07399_-_USEN_QSR-Bar-QuickCart-Mobile.png${yB}`,imageAlt:"Real-time menu sync"}]}},{key:"organize",eyebrow:"Run your kitchen",headline:"Route tickets, auto-86, get it right.",sum:"A custom kitchen display routes tickets to the right station and updates sold-out items live.",stat:{value:"Auto-86",label:"sold-out items update live"},imageSrc:`${yF}6teoHCaqdy8HNaZlHBGa5h/903767ff58dd332faa216f6e13747ce2/PD07074_-_USEN_RST_KDS_carousel.png?w=720&fm=webp&q=80`,imageAlt:"Run your kitchen in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Route to the right station",body:"Send tickets to the right prep station to optimize throughput.",imageSrc:`${yF}1OmLHhqYfiw1y3Ylae6W5b/cf21dfbcb2c325a8753bcaf18801b5d9/PD07163-QSR-hardware-kds.png${yB}`,imageAlt:"Route to the right station"},{heading:"Auto-86 sold-out items",body:"Availability updates live across every channel when you run out.",imageSrc:`${yF}2fBEqAG8CidL08ND9WZfZx/7a625a1bf137e0bec3893519eac28f39/PD02487_-_base_USEN_KDS.png${yB}`,imageAlt:"Auto-86 sold-out items"},{heading:"Time every course",body:"Coursing and seat management keep front and back of house in sync.",imageSrc:`${yF}74Woumjo43F7dgGC87HpLc/c759b5d4dc9f5ceda42b7a651da14503/PD07398_-_USEN_FSR-Table-layout-Mobile.png${yB}`,imageAlt:"Time every course"}]}},{key:"grow",eyebrow:"Learn from every sale",headline:"See what works, then build on it.",sum:"Real-time reports on sales, kitchen performance, and your most valuable regulars.",stat:{value:"Your numbers, live",label:"sales, kitchen & guests"},imageSrc:`${yF}XnKO5B6kpjwXAgrkDwaXl/821c140302558dd91bb642c6e232a78e/PD07400_-_USEN_Live-Sales-Desktop.png?w=720&fm=webp&q=80`,imageAlt:"Learn from every sale in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Live sales & kitchen data",body:"Real-time reports on sales trends, kitchen performance, and close-of-day.",imageSrc:`${yF}3WvzH2dr4MwQaZuOCFjZjq/91ada7e34849444c4efc6406d3df93df/PD07351_-_USEN_Inventory-Mobile.png${yB}`,imageAlt:"Live sales & kitchen data"},{heading:"Loyalty and marketing built in",body:"Rewards and campaigns powered by your own sales data.",imageSrc:`${yF}2KHXqAXluNZOFYUJsTEAIJ/75875412ea322aa2115195ea79aef111/PD07402_-_USEN_Loyalty-slide5.png${yB}`,imageAlt:"Loyalty and marketing built in"},{heading:"Smarter menu decisions",body:"Fine-tune menu pricing and inventory from POS data.",imageSrc:`${yF}4nHiqCE4LcYvI4BSuSgB9W/d5410932e8923dd887ff93d17a67dc82/PD07397_-_USEN_QSR-cart-Desktop.png${yB}`,imageAlt:"Smarter menu decisions"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — per location"}]}},{key:"hardware",eyebrow:"Hardware",headline:"Hardware built for hospital
798ity.",sum:"From a $59 reader to a high-volume register — pick what fits your service.",stat:{value:"from $59",label:"Reader · Stand · Terminal · Register"},imageSrc:`${yF}2fBEqAG8CidL08ND9WZfZx/7a625a1bf137e0bec3893519eac28f39/PD02487_-_base_USEN_KDS.png?w=720&fm=webp&q=80`,imageAlt:"Hardware in Square",detail:{layout:"hardware",label:"Pick your hardware",picks:[{name:"Square Reader",price:"$59",bestFor:"Food trucks, markets & events",imageSrc:`${yF}7unpvnbWcFqXwSR0wxKixD/ead4394e96263da9ca2b1130e868047d/PD07139-payments-hardware-reader.png?w=420&fm=webp&q=80`,imageAlt:"Square Reader"},{name:"Square Stand",price:"$149",bestFor:"Counters, cafés & QSR",imageSrc:`${yF}1ESULnPNveszD8sDY98OdC/9f4ce3a570fb63ef4c81840c0e989e21/PD07056_-_USEN_stand.png?w=420&fm=webp&q=80`,imageAlt:"Square Stand"},{name:"Square Terminal",price:"$299",bestFor:"Tableside & line-busting",imageSrc:`${yF}2s5OPaoVzE9UghL7zMgdTU/32ecd8b5e5b07ec3dd2f2b2a3e44335b/PD07056_-_USEN_terminal.png?w=420&fm=webp&q=80`,imageAlt:"Square Terminal"},{name:"Square Register",price:"$899",bestFor:"High-volume full-service",imageSrc:`${yF}3pwyY1ZbvZLlh7R7WAOcOR/cacb105292fdc9722ed4cd0c61955a6a/PD08115_USEN_Register.png?w=420&fm=webp&q=80`,imageAlt:"Square Register"}]}}],retail:[{key:"pay",eyebrow:"Take all major payments",headline:"Get paid every way your customers shop.",sum:"Tap, dip, swipe, and contactless — at the counter, curbside, or online.",stat:{value:"2.6% + 15¢",label:"per in-person tap"},imageSrc:`${yF}5iPdYcmpHHfEIG1CEL1oCB/f36e96e683869cafb9d75b2c3e78b2c2/PD05549_-_USEN_retail_hero.png?w=720&fm=webp&q=80`,imageAlt:"Take all major payments in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Every major payment type",body:"Accept cards, contactless, Apple Pay, Google Pay, and cash — in-store, curbside, or online.",imageSrc:`${yF}2Xe6hFb7F47YjPmKhx8h25/9f2b44d6a3ee6c91bb1eaaaa5476acb5/PD06634_-_USEN_Stand_2nd_gen_v1_Card_Insert_Farmers_Market.png${yB}`,imageAlt:"Every major payment type"},{heading:"Tap to Pay",body:"Take contactless payments right on your phone — no extra hardware.",imageSrc:`${yF}oR342NIw0HmvTLjKvlCL5/96bbcaee7e52f96cc51e60a13c88ee74/PD07140-payments-tap-to-pay.png${yB}`,imageAlt:"Tap to Pay"},{heading:"One system, however they pay",body:"One item library and one set of sales data, no matter how a customer checks out.",imageSrc:`${yF}2BArydwskcVDHxiQnnQPOW/701227f49f862efe308e76b6aeb67cc2/pos-mode-device-retail.png${yB}`,imageAlt:"One system, however they pay"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"sell",eyebrow:"Sell everywhere",headline:"In-store. Online. One system.",sum:"Build or sync an online store, offer in-store pickup or delivery, and manage every channel from one platform.",stat:{value:"One system",label:"in-store & online, in sync"},imageSrc:`${yF}6xcGlWRoqNk72QK8DOUWSM/cc83cf45d830e9121876e7aa64ebeafd/rtl-us-image-marquee-general-1.jpg?w=720&fm=webp&q=80`,imageAlt:"Sell everywhere in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Sync your online store",body:"Inventory updates automatically across every channel as you sell — no manual reconciliation.",imageSrc:`${yF}7A4cRDuJj2jUYiDOWkhtUD/ef9e198758e71d021023d3bf6b33bbbf/PD07353_-_USEN_OnlineStore-slide1.png${yB}`,imageAlt:"Sync your online store"},{heading:"In-store pickup & delivery",body:"Offer buy-online-pickup-in-store or delivery from the same catalog you sell from at the counter.",imageSrc:`${yF}DYvwtynsBdmM8XFiJlXTS/eccca5509863a5839d0dbb81593da352/PD03696_-_customer_tools.png${yB}`,imageAlt:"In-store pickup & delivery"},{heading:"One catalog, every channel",body:"Manage items, prices, and promotions once — they show up everywhere you sell.",imageSrc:`${yF}6VhwqJWH1JEITY3Cf6VJnq/f8e656cc05c523d4ec24831534e3d8b1/PD07327-features-sell.png${yB}`,imageAlt:"One catalog, every channel"}]}},{key:"organize",eyebrow:"Advanced inventory",headline:"Always know what's in stock — everywhere you sell.",sum:"Auto-create items and SKUs by scanning barcodes. Set low-stock alerts and manage purchase orders.",stat:{value:"Real-time",label:"stock synced across locations"},imageSrc:`${yF}6MvsTkVIV58VYN4iV06Dw1/65d3fdd280fc7a8a4b85decd24be78a5/PD03696_-_inventory_management.png?w=720&fm=webp&q=80`,imageAlt:"Advanced inventory in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Scan to create items",body:"Auto-create items and SKUs by scanning barcodes — no manual data entry.",imageSrc:`${yF}
7983ajglRCyaIrAm3c90UG82e/d908975c37f4120df09fdbf36dc01ba0/PD06635_-_USEN_Stand_2nd_gen_v2_Barcode_Scan_Retail_Apparel.png${yB}`,imageAlt:"Scan to create items"},{heading:"Low-stock alerts",body:"Get notified before you run out, and manage purchase orders from the same screen.",imageSrc:`${yF}6J9FGYBTj0rau2gEGa7UZW/24e0bcf86638839abc1876c6c1010b21/PD07349_-_USEN_Retail-Inventory-Mobile.png${yB}`,imageAlt:"Low-stock alerts"},{heading:"Synced across locations",body:"Inventory stays in sync across every location and every online channel in real time.",imageSrc:`${yF}4ILDSZO25YmEfJzT4CmTzs/c11d447628a146e4c740d58bd7c93d22/PD07352_-_USEN_Automation-Mobile.png${yB}`,imageAlt:"Synced across locations"}]}},{key:"grow",eyebrow:"Know your customers",headline:"Turn shoppers into regulars.",sum:"Track purchase history, run loyalty programs, and sell gift cards — from the same system you check out with.",stat:{value:"Built-in",label:"CRM, loyalty & gift cards"},imageSrc:`${yF}DYvwtynsBdmM8XFiJlXTS/eccca5509863a5839d0dbb81593da352/PD03696_-_customer_tools.png?w=720&fm=webp&q=80`,imageAlt:"Know your customers in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Customer Directory",body:"See purchase history and preferences right at checkout to personalize every visit.",imageSrc:`${yF}6LpO81g1aJXgbFcEGx2OCM/f5086d73ed247e8cd029bfc9806cad14/PD03239_USEN_Make_the_most_of_our_free_CRM_tools.png${yB}`,imageAlt:"Customer Directory"},{heading:"Loyalty, built in",body:"Reward repeat shoppers with a program that lives inside your POS — no extra app.",imageSrc:`${yF}
7983pg2QMWMv7rhV6Pjtoh897/946a5fa4e6a1220b7ca8b602ed55bf60/USEN_PD05655-module-1-image-2-desktop.png${yB}`,imageAlt:"Loyalty, built in"},{heading:"Gift cards, in-store & online",body:"Sell digital and physical gift cards that work everywhere you sell.",imageSrc:`${yF}2OWp9j5Z5AEccJxH8C0P9D/c35db62cbed7427aa51f8c5e159d5cac/PD03952_USEN_Gift_card_1.png${yB}`,imageAlt:"Gift cards, in-store & online"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"hardware",eyebrow:"Hardware",headline:"Hardware built for the sales floor.",sum:"From a $59 reader to a self-service Stand — pick what fits your floor.",stat:{value:"from $59",label:"Reader · Stand · Terminal · Register"},imageSrc:`${yF}3zfL8vIhAdrbstTgMcMby7/8e95fb44e2d8d1cab73a7793b54b0dc7/Kiosk.png?w=720&fm=webp&q=80`,imageAlt:"Hardware in Square",detail:{layout:"hardware",label:"Pick your hardware",picks:[{name:"Square Reader",price:"$59",bestFor:"Pop-ups, markets & mobile selling",imageSrc:`${yF}7unpvnbWcFqXwSR0wxKixD/ead4394e96263da9ca2b1130e868047d/PD07139-payments-hardware-reader.png?w=420&fm=webp&q=80`,imageAlt:"Square Reader"},{name:"Square Stand",price:"$149",bestFor:"Counters & fitting rooms",imageSrc:`${yF}1ESULnPNveszD8sDY98OdC/9f4ce3a570fb63ef4c81840c0e989e21/PD07056_-_USEN_stand.png?w=420&fm=webp&q=80`,imageAlt:"Square Stand"},{name:"Square Terminal",price:"$299",bestFor:"Line-busting & curbside pickup",imageSrc:`${yF}2s5OPaoVzE9UghL7zMgdTU/32ecd8b5e5b07ec3dd2f2b2a3e44335b/PD07056_-_USEN_terminal.png?w=420&fm=webp&q=80`,imageAlt:"Square Terminal"},{name:"Square Register",price:"$899",bestFor:"High-volume, high-SKU stores",imageSrc:`${yF}3pwyY1ZbvZLlh7R7WAOcOR/cacb105292fdc9722ed4cd0c61955a6a/PD08115_USEN_Register.png?w=420&fm=webp&q=80`,imageAlt:"Square Register"}]}}],beauty:[{key:"pay",eyebrow:"Cancellation policies",headline:"Charge for no-shows.",sum:"Keep cards on file to enforce cancellation policies and charge no-show fees.",stat:{value:"2.6% + 15¢",label:"per in-person tap"},imageSrc:`${yF}2XZr6L7rcfMO77iVPPRhKk/b693f5440e4340845ddaf340a20a91c0/PD07222-beauty_salon-hero-1.png?w=720&fm=webp&q=80`,imageAlt:"Cancellation policies in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"No-show fees, enforced",body:"Enforce cancellation policies and charge no-show fees with card on file.",imageSrc:`${yF}H4UTv2I0pC4Ad8Gvwaniz/ce612794504546c5629e150db3adb1e3/PD07334_USEN_Module_2_Desktop.png${yB}`,imageAlt:"No-show fees, enforced"},{heading:"Gift cards",body:"Sell digital and physical gift cards clients can redeem in person or online.",imageSrc:`${yF}2qurEgI38hg0CmtIu3ehx/2ca8fbf0327716499d8193d5d40db04d/PD07402_-_USEN_GiftCards-slide6.png${yB}`,imageAlt:"Gift cards"},{heading:"Every major payment type",body:"Tap, dip, contactless, and Tap to Pay — no extra hardware needed.",imageSrc:`${yF}CKIUW7F2lmtTOC46FIRsE/f427ef26c91e32c70dccbe09550b662d/PD07223-beauty_salon-features-2.png${yB}`,imageAlt:"Every major payment type"},{heading:"Secure and compliant",body:"Fraud protection, dispute management, and PCI compliance are built in — every payment protected.",imageSrc:`${yF}5gF7BbIZ4rXsOrs6vnVPKi/528e01fea5ac3ac46056776c6364f298/PD05904_-_PCI_Compliance.png${yB}`,imageAlt:"Secure and compliant"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"sell",eyebrow:"Book more clients",headline:"Let clients book themselves, any time.",sum:"A free online booking website lets clients book 24/7 on any device, with automated reminders to cut down no-shows.",stat:{value:"24/7",label:"online booking, any device"},imageSrc:`${yF}1osdZl99Gnh9A8ih46dwXh/a4f3d2066e236b4cf0a629d831a4aa8b/PD07223-beauty_salon-features-1.png?w=720&fm=webp&q=80`,imageAlt:"Book more clients in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Free booking website",body:"A free, customizable online booking site — clients book any time, any device.",imageSrc:`${yF}4kQdHqlNQWBcCorzJOxD8o/a7edc932b4029bd1a1bd4bf283b92135/PD07333_USEN_Module_1_De
798sktop.png${yB}`,imageAlt:"Free booking website"},{heading:"Automated reminders",body:"SMS and email reminders reduce no-shows before they happen.",imageSrc:`${yF}5FNc3R15l9rUnXiUNlXFAq/3190518f5f49115b06c6f2debd750883/PD07335_USEN_Module_3_Desktop.png${yB}`,imageAlt:"Automated reminders"},{heading:"Google Calendar sync",body:"Prevent double-bookings by syncing automatically with Google Calendar.",imageSrc:`${yF}1D1NJ3yAFPzKdfboEGS0pC/a1d68331c149b184bad6b1d03f713c49/Appointments_USEN.png${yB}`,imageAlt:"Google Calendar sync"}]}},{key:"organize",eyebrow:"Know every client",headline:"Every client, remembered.",sum:"Detailed client records, preferences, treatment history, and allergy notes, right at your fingertips.",stat:{value:"Every visit",label:"personalized with client history"},imageSrc:`${yF}6LpO81g1aJXgbFcEGx2OCM/f5086d73ed247e8cd029bfc9806cad14/PD03239_USEN_Make_the_most_of_our_free_CRM_tools.png?w=720&fm=webp&q=80`,imageAlt:"Know every client in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Client profiles and notes",body:"Maintain detailed records including preferences, treatment history, and allergy notes.",imageSrc:`${yF}1SukgJSD263TNZprQHJZz5/f9880d42657d130a5f4a9d579d11ee18/PD03261_USEN_CRM.png${yB}`,imageAlt:"Client profiles and notes"},{heading:"Proof it pays off",body:"Urban Nail Box grew to 75% repeat bookings and 30% revenue growth with Square client tools.",imageSrc:`${yF}3QLaufdOFrGQRfULY0kYc7/6b97b27ca47710201b3de33dc2a6e0b1/PD07743_-_stylist.png${yB}`,imageAlt:"Proof it pays off"},{heading:"Automated marketing",body:"Targeted campaigns and loyalty programs, powered by your client data.",imageSrc:`${yF}3gbPT6Jal3SlnGs2aOj48p/6255f49180f9e2c9ebee70e75ae48ed3/PD03239_USEN_Save_time_with_automations.png${yB}`,imageAlt:"Automated marketing"},{heading:"Resource booking",body:"Book rooms and stations alongside staff to avoid scheduling conflicts.",imageSrc:`${yF}1osdZl99Gnh9A8ih46dwXh/a4f3d2066e236b4cf0a629d831a4aa8b/PD07223-beauty_salon-features-1.png${yB}`,imageAlt:"Resource booking"}]}},{key:"grow",eyebrow:"Grow your brand",headline:"Know your clients. Grow your brand.",sum:"Loyalty programs, commission tiers, and inventory tracking help you turn one-time visits into a real practice.",stat:{value:"Built-in",label:"loyalty and marketing"},imageSrc:`${yF}2H3Oq07LHRjz33L13snhrM/1653d302c2026acf1a4ab574b6521172/PD07225-features-revenue_streams.jpg?w=720&fm=webp&q=80`,imageAlt:"Grow your brand in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Loyalty programs",body:"Turn one-time visits into regulars with a rewards program built into checkout.",imageSrc:`${yF}GNDKC0jafAr0znvuqPkK0/b10b03975f3b76956eeb0c760c6a53c4/PD04806-fitness-loyalty.png${yB}`,imageAlt:"Loyalty programs"},{heading:"Commission tiers",body:"Set commission tiers for staff and track performance from the same dashboard.",imageSrc:`${yF}6YEeu8EIaEOxz2AqA3NoLQ/af506dc8032ae7350a576e7eed0bc7d3/PD07402_-_USEN_Payroll-Slide2.png${yB}`,imageAlt:"Commission tiers"},{heading:"Inventory tracking",body:"Track retail product inventory alongside your service bookings.",imageSrc:`${yF}6J9FGYBTj0rau2gEGa7UZW/24e0bcf86638839abc1876c6c1010b21/PD07349_-_USEN_Retail-Inventory-Mobile.png${yB}`,imageAlt:"Inventory tracking"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"hardware",eyebrow:"Hardware",headline:"Hardware built for the treatment room.",sum:"From a $59 reader at checkout to a full front-desk Register, pick what fits your studio.",stat:{value:"from $59",label:"Reader · Stand · Terminal · Register"},imageSrc:`${yF}1ImCjXOZ3h2KkRNWi42UxM/d8bb8af5ee7305d5f46313e13bf8a423/PD07226-beauty_salon-reader.png?w=720&fm=webp&q=80`,imageAlt:"Hardware in Square",detail:{layout:"hardware",label:"Pick your hardware",picks:[{name:"Square Reader",price:"$59",bestFor:"Chairs, stations and mobile checkout",imageSrc:`${yF}7unpvnbWcFqXwSR0wxKixD/ead4394e96263da9ca2b1130e868047d/PD07139-payments-hardware-reader.png?w=420&fm=webp&q=80`,imageAlt:"Square Reader"},{name:"Square Stand",price:"$149",bestFor:"Front desk and checkout counter",imageSrc:`${yF}1ESULnPNveszD8sDY98OdC/9f4ce3a570fb63ef4c81840c0e989e21/PD07056_-_USEN_stand.png?w=420&fm=webp&q=80`,imageAlt:"Square Stand"},{name:"Square Terminal",price:"$299",bestFor:"Checkout right at the chair",imageSrc:`${yF}2s5OPaoVzE9UghL7zMgdTU/32ecd8b5e5b07ec3dd2f2b2a3e44335b/PD07056_-_USEN_terminal.png?w=420&fm=webp&q=80`,imageAlt:"Square Terminal"},{name:"Square Register",price:"$899",bestFor:"High-volume salons and spas",imageSrc:`${yF}
7983pwyY1ZbvZLlh7R7WAOcOR/cacb105292fdc9722ed4cd0c61955a6a/PD08115_USEN_Register.png?w=420&fm=webp&q=80`,imageAlt:"Square Register"}]}}],"health-and-wellness":[{key:"pay",eyebrow:"Protect your time",headline:"Protect your time. Secure your revenue.",sum:"Upfront payments and card on file reduce losses from no-shows and last-minute cancellations.",stat:{value:"2.6% + 15¢",label:"per in-person tap"},imageSrc:`${yF}sQVEbNUgPY4TjumCPg0HZ/8e310ed82c8f37a0ed681970aa7a5f9e/PD04804-fitness-hero-USEN.png?w=720&fm=webp&q=80`,imageAlt:"Protect your time in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Collect payment at booking",body:"Collect payment at time of booking to reduce losses from no-shows and late cancellations.",imageSrc:`${yF}5fq24HTAGLQKUn8ZunOInB/a39127b44d1844e080df7270bc55a161/PD07334_USEN_Module_2_Mobile.png${yB}`,imageAlt:"Collect payment at booking"},{heading:"Contactless payments",body:"Accept tap, dip, and card on file — right at the front desk or on the mat.",imageSrc:`${yF}oR342NIw0HmvTLjKvlCL5/96bbcaee7e52f96cc51e60a13c88ee74/PD07140-payments-tap-to-pay.png${yB}`,imageAlt:"Contactless payments"},{heading:"Card on file",body:"Keep a card on file so cancellation policies enforce themselves.",imageSrc:`${yF}H4UTv2I0pC4Ad8Gvwaniz/ce612794504546c5629e150db3adb1e3/PD07334_USEN_Module_2_Desktop.png${yB}`,imageAlt:"Card on file"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"sell",eyebrow:"Fill your classes",headline:"Fill your classes. Manage your schedule.",sum:"Set up recurring class schedules, assign instructors, and let clients book 24/7 via a free booking website.",stat:{value:"24/7",label:"class and group booking"},imageSrc:`${yF}1nqOM8pa5jOaEEEwhsXN93/35fc7c48d3a1d668e68d474c806ef237/PD04806-fitness-marketing.png?w=720&fm=webp&q=80`,imageAlt:"Fill your classes in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Recurring class schedules",body:"Set up recurring classes and duplicate schedules in a few taps.",imageSrc:`${yF}1osdZl99Gnh9A8ih46dwXh/a4f3d2066e236b4cf0a629d831a4aa8b/PD07223-beauty_salon-features-1.png${yB}`,imageAlt:"Recurring class schedules"},{heading:"Instructor assignment",body:"Assign instructors to classes and prevent booking conflicts automatically.",imageSrc:`${yF}1D1NJ3yAFPzKdfboEGS0pC/a1d68331c149b184bad6b1d03f713c49/Appointments_USEN.png${yB}`,imageAlt:"Instructor assignment"},{heading:"Free booking website",body:"Clients can book 24/7 via a free, branded booking website.",imageSrc:`${yF}4kQdHqlNQWBcCorzJOxD8o/a7edc932b4029bd1a1bd4bf283b92135/PD07333_USEN_Module_1_Desktop.png${yB}`,imageAlt:"Free booking website"}]}},{key:"organize",eyebrow:"Know every client",headline:"Know every client. Deliver better care.",sum:"Automatically generate client profiles and record booking patterns in a unified system.",stat:{value:"Every visit",label:"personalized with client history"},imageSrc:`${yF}2pYU4IlKfK8FcuahL28He5/fc75f76dc617c1fd53960457e164909a/PD04806-fitness-invoices.png?w=720&fm=webp&q=80`,imageAlt:"Know every client in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Automatic client profiles",body:"Client profiles are generated automatically as clients book and visit.",imageSrc:`${yF}6LpO81g1aJXgbFcEGx2OCM/f5086d73ed247e8cd029bfc9806cad14/PD03239_USEN_Make_the_most_of_our_free_CRM_tools.png${yB}`,imageAlt:"Automatic client profiles"},{heading:"Booking pattern history",body:"See booking patterns and history in a unified system.",imageSrc:`${yF}1SukgJSD263TNZprQHJZz5/f9880d42657d130a5f4a9d579d11ee18/PD03261_USEN_CRM.png${yB}`,imageAlt:"Booking pattern history"},{heading:"Dashboard analytics",body:"Monitor studio performance and class attendance from one dashboard.",imageSrc:`${yF}19oGKq54H07C4WTWLRZWNG/904046e383c7d872ec89e20282193728/PD07327-features-grow.png${yB}`,imageAlt:"Dashboard analytics"}]}},{key:"grow",eyebrow:"Loyalty, built in",headline:"Loyalty and marketing, built in.",sum:"A built-in loyalty program and targeted email and SMS campaigns, powered by your class and booking data.",stat:{value:"Built-in",label:"loyalty program"},imageSrc:`${yF}GNDKC0jafAr0znvuqPkK0/b10b03975f3b76956eeb0c760c6a53c4/PD04806-fitness-loyalty.png?w=720&fm=webp&q=80`,imageAlt:"Loyalty, built in in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Built-in loyalty program",body:"Encourage repeat visits with a loyalty program built into checkout.",imageSrc:`${yF}2KHXqAXluNZOFYUJsTEAIJ/75875412ea322aa2115195ea79aef111/PD07402_-_USEN_Loyalty-slide5.png${yB}`,imageAlt:"Built-in loyalty program"},{heading:"Targeted campaigns",body:"Square Marketing sends targeted email and SMS campaigns to fill classes.",imageSrc:`${yF}5e5Kw7MoqBpyTgxSjPySaa/db1ebf8bd117bd0a66393c3458dc3549/PD03241_USEN_email_marketing.png${yB}`,imageAlt:"Targeted campaigns"},{heading:"Performance tracking",body:"Monitor loyalty program impact via the Square Dashboard.",imageSrc:`${yF}15Qy90J8Hm8cPCsZB3UQjd/4df865f8f9ac62ab0f53c3e414d9ae43/PD07134_-_USEN_desktop_loyalty.png${yB}`,imageAlt:"Performance tracking"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"hardware",eyebrow:"Hardware",headline:"Hardware built for the studio floor.",sum:"From a $59 reader at the front desk to a full front-desk Register, pick 
798what fits your studio.",stat:{value:"from $59",label:"Reader · Stand · Terminal · Register"},imageSrc:`${yF}3zfL8vIhAdrbstTgMcMby7/8e95fb44e2d8d1cab73a7793b54b0dc7/Kiosk.png?w=720&fm=webp&q=80`,imageAlt:"Hardware in Square",detail:{layout:"hardware",label:"Pick your hardware",picks:[{name:"Square Reader",price:"$59",bestFor:"Front desk and mobile check-in",imageSrc:`${yF}7unpvnbWcFqXwSR0wxKixD/ead4394e96263da9ca2b1130e868047d/PD07139-payments-hardware-reader.png?w=420&fm=webp&q=80`,imageAlt:"Square Reader"},{name:"Square Stand",price:"$149",bestFor:"Studio front desk",imageSrc:`${yF}1ESULnPNveszD8sDY98OdC/9f4ce3a570fb63ef4c81840c0e989e21/PD07056_-_USEN_stand.png?w=420&fm=webp&q=80`,imageAlt:"Square Stand"},{name:"Square Terminal",price:"$299",bestFor:"Poolside, trailside or on the mat",imageSrc:`${yF}2s5OPaoVzE9UghL7zMgdTU/32ecd8b5e5b07ec3dd2f2b2a3e44335b/PD07056_-_USEN_terminal.png?w=420&fm=webp&q=80`,imageAlt:"Square Terminal"},{name:"Square Register",price:"$899",bestFor:"High-volume studios and clinics",imageSrc:`${yF}3pwyY1ZbvZLlh7R7WAOcOR/cacb105292fdc9722ed4cd0c61955a6a/PD08115_USEN_Register.png?w=420&fm=webp&q=80`,imageAlt:"Square Register"}]}}],"general-services":[{key:"pay",eyebrow:"Get paid your way",headline:"Accept any payment, anywhere you work.",sum:"Credit cards, digital wallets, and payment links — collect on-site or send a link from the road.",stat:{value:"Payment links",label:"send by text or email"},imageSrc:`${yF}4o5LR1qpNfiaachmxPwXGq/3b30b1aa29d7221b8d2f0cab80ee8114/PD06175-_USEN_Methods_Img.png?w=720&fm=webp&q=80`,imageAlt:"Get paid your way in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Every major payment type",body:"Accept credit cards, Apple Pay, and Google Pay in addition to cash.",imageSrc:`${yF}2Xe6hFb7F47YjPmKhx8h25/9f2b44d6a3ee6c91bb1eaaaa5476acb5/PD06634_-_USEN_Stand_2nd_gen_v1_Card_Insert_Farmers_Market.png${yB}`,imageAlt:"Every major payment type"},{heading:"Payment links",body:"Send a payment link by text or email when you are not on-site.",imageSrc:`${yF}4Omd2jZ1FKaP9xVEACiDbz/6ec097e2c40d11b0ae7fca1dd76a34e6/PD07138-payments-anywhere-phone.png${yB}`,imageAlt:"Payment links"},{heading:"Card on file",body:"Save a card securely for repeat jobs and faster billing.",imageSrc:`${yF}H4UTv2I0pC4Ad8Gvwaniz/ce612794504546c5629e150db3adb1e3/PD07334_USEN_Module_2_Desktop.png${yB}`,imageAlt:"Card on file"}]}},{key:"sell",eyebrow:"From estimate to payment",headline:"Send the estimate. Get the job. Get paid.",sum:"Professional estimates convert to invoices in one click — send them by email or SMS from the job site.",stat:{value:"One click",label:"estimates convert to invoices"},imageSrc:`${yF}1P2jkSTtznxL6Yt2DEKZRw/08e00ea63227c5155de5fde42e62d704/PD06175-_USEN_Estimate_Img.png?w=720&fm=webp&q=80`,imageAlt:"From estimate to payment in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Estimates in one click",body:"Create detailed estimates that convert to invoices with a single click.",imageSrc:`${yF}2ubctYxkYd2k036kdePofV/28123aed91100babfe9aea607f6244c7/PD07370_-_USEN_-_Module_4_-_Desktop.png${yB}`,imageAlt:"Estimates in one click"},{heading:"Send from anywhere",body:"Send professional estimates and invoices by email or SMS from the job site.",imageSrc:`${yF}7KL2YQLtcT5sY2pRZeaXyM/4408e1ee71294148f7a5b7c529cae5bd/PD06175-_USEN_Invoices_Img.png${yB}`,imageAlt:"Send from anywhere"},{heading:"Real-time status",body:"Track invoice status in real time and send automated reminders.",imageSrc:`${yF}67iqhcKWQQOIuRhABRI2Ny/49b664f74a0eafb740bc3a476c3ad63b/PD07366_-_USEN_-_Hero_-_Desktop.png${yB}`,imageAlt:"Real-time status"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"organize",eyebrow:"Remember every customer",headline:"Remember every customer. Win repeat business.",sum:"Maintain detailed customer profiles and full service history to manage recurring clients efficie
798ntly.",stat:{value:"Full history",label:"every customer, every job"},imageSrc:`${yF}2erAGqOKoimt8XH5zjgCXD/1385a7643eefb3e5f654fa548bdbd331/Mask_Group__7_.png?w=788&h=578&fm=avif&q=85&fit=scale`,imageAlt:"Remember every customer in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Customer profiles",body:"Maintain detailed customer profiles including contact info and full service history.",imageSrc:`${yF}1SukgJSD263TNZprQHJZz5/f9880d42657d130a5f4a9d579d11ee18/PD03261_USEN_CRM.png${yB}`,imageAlt:"Customer profiles"},{heading:"Recurring clients",body:"Manage recurring clients efficiently from the same system you invoice from.",imageSrc:`${yF}32UiBowrhtJuKN2k3EeEF4/ad801b3607103b3bdf09d828a848e874/PD07369_-_USEN_-_Module_3_-_Desktop.png${yB}`,imageAlt:"Recurring clients"},{heading:"No long-term contracts",body:"Cancel any time — no long-term contracts on any plan.",imageSrc:`${yF}1EJGKLKVpCY8ozv9pitfHC/0a35c25b77c899b4da41de0459fc040a/PD07372_-_US_-_Costa_Oil_-_Desktop.png${yB}`,imageAlt:"No long-term contracts"}]}},{key:"grow",eyebrow:"Your office is wherever you are",headline:"Your office is wherever you are.",sum:"Manage your business from your phone with the Square mobile app — no fixed hardware required.",stat:{value:"No fixed",label:"hardware required"},imageSrc:"https://images-cdn2.welcomesoftware.com/Zz1iOTk3ODU5MDg4ZWIxMWYwOTFjZTkyNGQ0YzJlNDdjOQ==?width=1168&height=780",imageAlt:"Your office is wherever you are in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Mobile POS",body:"Manage your business from your phone. No fixed hardware required.",imageSrc:`${yF}doBvapcT79ku0vGocN2GP/daa4c2535edbc2055e6f40f3f928b36a/PD06964_-_USEN_products_iphone.png${yB}`,imageAlt:"Mobile POS"},{heading:"Process payments on-site",body:"Process payments and manage appointments from the mobile app.",imageSrc:`${yF}ah0miZPiEPGcHXq7ee7zO/2f00ba0a51f2b28d5e040bf6875c4112/PD07327-features-payment.png${yB}`,imageAlt:"Process payments on-site"},{heading:"CRM on the go",body:"Access customer history and service records right from the job site.",imageSrc:`${yF}2pYU4IlKfK8FcuahL28He5/fc75f76dc617c1fd53960457e164909a/PD04806-fitness-invoices.png${yB}`,imageAlt:"CRM on the go"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"hardware",eyebrow:"Hardware",headline:"Hardware built for the road.",sum:"From a $59 reader for on-site visits to a full front-desk Register, pick what fits your business.",stat:{value:"from $59",label:"Reader · Stand · Terminal · Register"},imageSrc:`${yF}3zfL8vIhAdrbstTgMcMby7/8e95fb44e2d8d1cab73a7793b54b0dc7/Kiosk.png?w=720&fm=webp&q=80`,imageAlt:"Hardware in Square",detail:{layout:"hardware",label:"Pick your hardware",picks:[{name:"Square Reader",price:"$59",bestFor:"On-site visits, no fixed hardware",imageSrc:`${yF}7unpvnbWcFqXwSR0wxKixD/ead4394e96263da9ca2b1130e868047d/PD07139-payments-hardware-reader.png?w=420&fm=webp&q=80`,imageAlt:"Square Reader"},{name:"Square Stand",price:"$149",bestFor:"Office or shop front desk",imageSrc:`${yF}1ESULnPNveszD8sDY98OdC/9f4ce3a570fb63ef4c81840c0e989e21/PD07056_-_USEN_stand.png?w=420&fm=webp&q=80`,imageAlt:"Square Stand"},{name:"Square Terminal",price:"$299",bestFor:"Job sites and service calls",imageSrc:`${yF}2s5OPaoVzE9UghL7zMgdTU/32ecd8b5e5b07ec3dd2f2b2a3e44335b/PD07056_-_USEN_terminal.png?w=420&fm=webp&q=80`,imageAlt:"Square Terminal"},{name:"Square Register",price:"$899",bestFor:"High-volume shops and showrooms",imageSrc:`${yF}3pwyY1ZbvZLlh7R7WAOcOR/cacb105292fdc9722ed4cd0c61955a6a/PD08115_USEN_Register.png?w=420&fm=webp&q=80`,imageAlt:"Square Register"}]}}],"professional-services":[{key:"pay",eyebrow:"Get paid on your terms",headline:"Invoice smarter. Get paid online.",sum:"Create customized invoices, accept credit cards and digital wallets, and track status in real time.",stat:{value:"Real-time",label:"invoice status tracking"},imageSrc:`${yF}1EJGKLKVpCY8ozv9pitfHC/0a35c25b77c899b4da41de0459fc040a/PD07372_-_US_-_Costa_Oil_-_Desktop.png?w=720&fm=webp&q=80`,imageAlt:"Get paid on your terms in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Customized invoices",body:"Create and send professional invoices with milestone-based billing and attached contracts.",imageSrc:`${yF}2ubctYxkYd2k036kdePofV/28123aed91100babfe9aea607f6244c7/PD07370_-_USEN_-_Module_4_-_Desktop.png${yB}`,imageAlt:"Customized invoices"},{heading:"Real-time status tracking",body:"See when an invoice is viewed and get automated reminders for overdue payments.",imageSrc:`${yF}7KL2YQLtcT5sY2pRZeaXyM/4408e1ee71294148f7a5b7c529cae5bd/PD06175-_USEN_Invoices_Img.png${yB}`,imageAlt:"Real-time status tracking"},{heading:"Digital wallets",body:"Accept Apple Pay and Google Pay in addition to credit cards.",imageSrc:`${yF}6wftPqsbKiYdbEWwPydIae/41126a302421f34176b9dc33c32a6045/PD07367_-_USEN_-_Module_1_-_Desktop.png${yB}`,imageAlt:"Digital wallets"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"sell",eyebrow:"Recurring billing",headline:"Set it up once. Get paid automatically.",sum:"Set up automatic recurring invoices for subscription or retainer-based clients, with a card on file for seamless payments.",stat:{value:"Automatic",label:"recurring billing for retainer clients"},imageSrc:`${yF}32UiBowrhtJuKN2k3EeEF4/ad801b3607103b3bdf09d828a848e874/PD07369_-_USEN_-_Module_3_-_Desktop.png?w=720&fm=webp&q=80`,imageAlt:"Recurring billing in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Retainer billing",body:"Set up recurring invoices for subscription or retainer-based clients.",imageSrc:`${yF}67iqhcKWQQOIuRhABRI2Ny/49b664f74a0eafb740bc3a476c3ad63b/PD07366_-_USEN_-_Hero_-_Desktop.png${yB}`,imageAlt:"Retainer billing"},{heading:"Cards on file",body:"Clients save a card on file for seamless, automatic payments.",imageSrc:`${yF}H4UTv2I0pC4Ad8Gvwaniz/ce612794504546c5629e150db3adb1e3/PD07334_USEN_Module_2_Desktop.png${yB}`,imageAlt:"Cards on file"},{heading:"Milestone billing",body:"Bill in stages as project milestones are completed.",imageSrc:`${yF}PjVLGojvK6lcRvGDQa8eM/ab98b5f0c715fa18c82f288b22e6b1e8/PD07368_-_USEN_-_Module_2_-_Desktop.png${yB}`,imageAlt:"Milestone billing"}]}},{key:"organize",eyebrow:"Let clients book you",headline:"Let clients book you. Focus on the work.",sum:"Online booking, automated reminders, client history, and calendar management — clients book 24/7 via a free booking website.",stat:{value:"24/7",label:"online booking, synced with Google Calendar"},imageSrc:`${yF}1D1NJ3yAFPzKdfboEGS0pC/a1d68331c149b184bad6b1d03f713c49/Appointments_USEN.png?w=720&fm=webp&q=80`,imageAlt:"Let clients book you in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Free booking website",body:"Clients book 24/7 via a free, branded booking website.",imageSrc:`${yF}4kQdHqlNQWBcCorzJOxD8o/a7edc932b4029bd1a1bd4bf283b92135/PD07333_USEN_Module_1_De
798sktop.png${yB}`,imageAlt:"Free booking website"},{heading:"Automated reminders",body:"Cut down on missed appointments with automatic reminders.",imageSrc:`${yF}5FNc3R15l9rUnXiUNlXFAq/3190518f5f49115b06c6f2debd750883/PD07335_USEN_Module_3_Desktop.png${yB}`,imageAlt:"Automated reminders"},{heading:"Google Calendar sync",body:"Keep your calendar in sync automatically.",imageSrc:`${yF}1osdZl99Gnh9A8ih46dwXh/a4f3d2066e236b4cf0a629d831a4aa8b/PD07223-beauty_salon-features-1.png${yB}`,imageAlt:"Google Calendar sync"}]}},{key:"grow",eyebrow:"Team management",headline:"Payroll that handles compliance for you.",sum:"Time tracking, automated tax filings, and compliance tools, plus support for 401(k) and health benefits.",stat:{value:"Automated",label:"tax filings and compliance"},imageSrc:`${yF}2PtYeCPZrRrrgfU9VPk1u7/5be6800553bc57d32dbdce51746acd65/PD05998-SQS-USEN-taxes-and-compliance__1_.png?w=720&fm=webp&q=80`,imageAlt:"Team management in Square",detail:{layout:"included",label:"What’s included",blocks:[{heading:"Time tracking",body:"Track hours and process payroll from the same system you invoice from.",imageSrc:`${yF}oVHCECJOEySntSNWUgNUD/81b223cd56f351372ef8d7b5a54f48dc/1167_InSitu_USEN_Payroll_Dashboard-Overview_1__1_.png${yB}`,imageAlt:"Time tracking"},{heading:"Automated tax filings",body:"Automated tax filings and compliance tools keep you audit-ready.",imageSrc:`${yF}6GyCitsL1PuuuTx2waDNms/4f4c58143c24fe5ba494078c658b7535/PD07337_USEN_Slide_7.png${yB}`,imageAlt:"Automated tax filings"},{heading:"401(k) and health benefits",body:"Offer retirement and health benefits without extra paperwork.",imageSrc:`${yF}53iF3814iP4QglFJWOXYQN/a32b27e6210202b51b8e582a3374fd7f/PD05998-SQS-payroll-pricing.jpg${yB}`,imageAlt:"401(k) and health benefits"}],metricsLabel:"By the numbers",metrics:[{value:"2.6% + 15¢",label:"per in-person tap, dip, or swipe (Free plan)"},{value:"Next business day",label:"transfers to your bank — free"},{value:"No contracts",label:"no setup fees · cancel anytime"},{value:"$0",label:"to start — no monthly fees"}]}},{key:"hardware",eyebrow:"Hardware",headline:"Hardware for wherever you work.",sum:"From a $59 reader for on-site visits to a full front-desk Register.",stat:{value:"from $59",label:"Reader · Stand · Terminal · Register"},imageSrc:`${yF}3zfL8vIhAdrbstTgMcMby7/8e95fb44e2d8d1cab73a7793b54b0dc7/Kiosk.png?w=720&fm=webp&q=80`,imageAlt:"Hardware in Square",detail:{layout:"hardware",label:"Pick your hardware",picks:[{name:"Square Reader",price:"$59",bestFor:"On-site visits and mobile work",imageSrc:`${yF}7unpvnbWcFqXwSR0wxKixD/ead4394e96263da9ca2b1130e868047d/PD07139-payments-hardware-reader.png?w=420&fm=webp&q=80`,imageAlt:"Square Reader"},{name:"Square Stand",price:"$149",bestFor:"Front desk and office checkout",imageSrc:`${yF}1ESULnPNveszD8sDY98OdC/9f4ce3a570fb63ef4c81840c0e989e21/PD07056_-_USEN_stand.png?w=420&fm=webp&q=80`,imageAlt:"Square Stand"},{name:"Square Terminal",price:"$299",bestFor:"Wherever the job takes you",imageSrc:`${yF}2s5OPaoVzE9UghL7zMgdTU/32ecd8b5e5b07ec3dd2f2b2a3e44335b/PD07056_-_USEN_terminal.png?w=420&fm=webp&q=80`,imageAlt:"Square Terminal"},{name:"Square Register",price:"$899",bestFor:"High-volume front desks",imageSrc:`${yF}3pwyY1ZbvZLlh7R7WAOcOR/cacb105292fdc9722ed4cd0c61955a6a/PD08115_USEN_Register.png?w=420&fm=webp&q=80`,imageAlt:"Square Register"}]}}]};function yK({topics:e,openIndex:t,onClose:a,onNavigate:r,onPickDevice:n}){let o=e.length,i=null!=t?e[t]:null,s=yM(t,680),c=null!=t?(t-1+o)%o:0,d=null!=t?(t+1)%o:0;return(0,l.jsxs)(iA.BrandedModal,{open:null!=t,onOpenChange:e=>{e||a()},title:i?.eyebrow??"",description:i?.headline,className:fj,style:fS,scrim:fC,hideCloseButton:!0,onInteractOutside:e=>{let t=e.detail.originalEvent.target;t?.closest?.("[data-overlay-satellite]")&&e.preventDefault()},children:[(0,l.jsx)(fN,{onClose:a,style:{margin:"14px 14px -52px auto"}}),s&&i?(0,l.jsx)(yQ,{label:i.eyebrow}):i?(0,l.jsxs)("div",{className:"p-[32px]",children:[(0,l.jsxs)("div",{className:"mb-[10px] flex flex-col gap-[12px]",children:[(0,l.jsx)("div",{style:{"--label-color":"var(--color-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)",fontSize:"var(--type-meta)"},children:(0,l.jsx)(nJ.Label,{data:{text:i.eyebrow},atomId:`square_pos_${i.key}_eyebrow`})}),(0,l.jsx)("div",{style:{"--headline-size":"var(--type-h3)","--headline-line-height":"1.12","--headline-tracking":"-0.01em","--headline-weight":"var(--font-weight-medium)"},children:(0,l.jsx)(nY.Headline,{data:{text:i.headline,level:3},atomId:`square_pos_${i.key}_headline`})})]}),"hardware"===i.detail.layout?(0,l.jsx)(yX,{label:i.detail.label,picks:i.detail.picks,idPrefix:`square_pos_${i.key}`,onPickDevice:n}):(0,l.jsxs)(l.Fragment,{children:[i.detail.metrics?.length?(0,l.jsx)(yY,{label:i.detail.metricsLabel??"By the numbers",metrics:i.detail.metrics,idPrefix:`square_pos_${i.key}`}):null,(0,l.jsx)(yZ,{label:i.detail.label,blocks:i.detail.blocks,idPrefix:`square_pos_${i.key}`})]})]}):null,null!=t&&o>1?(0,l.jsx)(fA,{position:t,prev:{label:e[c]?.eyebrow??"",onClick:()=>r(c)},next:{label:e[d]?.eyebrow??"",onClick:()=>r(d)}}):null]})}function yV({label:e,idSuffix:t,idPrefix:a,children:r}){return(0,l.jsxs)("div",{className:"mt-[30px] pt-[28px]",style:{borderTop:"1px solid var(--color-border)"},children:[(0,l.jsx)("div",{className:"mb-[16px]",style:{"--label-color":"var(--color-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)","--label-size":"var(--type-overline)","--label-tracking":yP,fontSize:"var(--type-overline)",lineHeight:yz},children:(0,l.jsx)(nJ.Label,{data:{text:e},atomId:`${a}_${t}_label`})}),r]})}function yZ({label:e,blocks:t,idPrefix:a}){return(0,l.jsx)(yV,{label:e,idPrefix:a,idSuffix:"incl",children:(0,l.jsx)("div",{className:"px-[52px] py-[8px]",children:t.map((e,t)=>(0,l.jsxs)("div",{className:`grid items-center gap-[26px] pb-[40px] md:grid-cols-2 md:gap-[46px] ${0===t?"pt-[10px]":"border-t pt-[40px]"}`,style:t>0?{borderColor:"var(--color-border-subtle, var(--color-border))"}:void 0,children:[(0,l.jsx)("div",{className:t%2?"md:order-2":"",children:(0,l.jsx)("div",{className:"flex aspect-[16/11] flex-col overflow-hidden rounded-[var(--radius-lg-container,16px)]",style:{background:yT},children:(0,l.jsx)(oL.Image,{data:{src:e.imageSrc,alt:e.imageAlt,ratio:"fill"},atomId:`${a}_incl_img_${t}`})})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:{"--headline-size":"var(--type-h4)","--headline-weight":"var(--font-weight-semibold, 600)","--headline-line-height":"1.16","--headline-tracking":"var(--tracking-tight)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.heading,level:4},atomId:`${a}_incl_h_${t}`})}),(0,l.jsx)("p",{className:"mt-[10px] max-w-[46ch]",style:{fontSize:"15.5px",lineHeight:"var(--sq-lh-155, 1.55)",color:"var(--color-fg-muted)"},children:e.body})]})]},e.heading))})})}function yY({label:e,metrics:t,idPrefix:a}){return(0,l.jsx)(yV,{label:e,idPrefix:a,idSuffix:"num",children:(0,l.jsx)("div",{className:"grid grid-cols-[repeat(auto-fit,minmax(150px,1fr))] gap-[12px]",children:t.map(e=>(0,l.jsxs)("div",{className:"rounded-[var(--radius-md)] p-[18px]",style:{background:"var(--surface-subtle-bg, var(--color-bg-subtle))"},children:[(0,l.jsx)("div",{style:{fontFamily:"var(--font-heading)",fontWeight:"var(--font-weight-bold)",fontSize:"var(--type-h4)",lineHeight:"var(--leading-none)",letterSpacing:"var(--tracking-tight)",color:"var(--color-fg)"},children:e.value}),(0,l.jsx)("div",{className:"mt-[6px]",style:{fontSize:"12px",lineHeight:"var(--sq-lh-13, 1.3)",color:"var(--color-fg-muted)"},children:e.label})]},e.value+e.label))})})}let yJ=`
799[data-sq-hwcard] {
800  appearance: none;
801  font: inherit;
802  color: inherit;
803  cursor: pointer;
804  width: 100%;
805  border: 1px solid var(--color-border);
806  background: var(--color-bg);
807  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
808}
809[data-sq-hwcard]:hover {
810  transform: translateY(-3px);
811  box-shadow: var(--shadow-raised);
812  border-color: var(--color-brand-500);
813}
814[data-sq-hwcard]:focus-visible {
815  outline: 2px solid var(--color-brand-500);
816  outline-offset: 2px;
817}
818[data-sq-hwlearn] {
819  color: var(--color-fg);
820  transition: color 0.15s ease;
821}
822[data-sq-hwcard]:hover [data-sq-hwlearn] {
823  color: var(--color-brand-500);
824}
825`;function yX({label:e,picks:t,idPrefix:a,onPickDevice:r}){return(0,l.jsxs)(yV,{label:e,idPrefix:a,idSuffix:"hw",children:[(0,l.jsx)("style",{children:yJ}),(0,l.jsx)("div",{className:"mt-[24px] grid grid-cols-2 gap-[12px] md:grid-cols-4 md:gap-[16px]",children:t.map((e,t)=>{let n=null!=r;return(0,l.jsxs)(n?"button":"div",{...n?{type:"button","data-sq-hwcard":"",onClick:()=>r(e.name),"aria-label":`Learn more about ${e.name}`}:{},className:"rounded-[var(--radius-lg)] px-[16px] pb-[18px] pt-[16px] text-center",style:n?void 0:{border:"1px solid var(--color-border)",background:"var(--color-bg)"},children:[(0,l.jsx)("div",{className:"mb-[12px] flex aspect-square items-center justify-center rounded-[var(--radius-md)]",style:{background:yT},children:(0,l.jsx)(oL.Image,{data:{src:e.imageSrc,alt:e.imageAlt,size:"xl"},atomId:`${a}_hw_img_${t}`})}),(0,l.jsx)("div",{style:{fontFamily:"var(--font-heading)",fontWeight:"var(--font-weight-bold)",fontSize:"14.5px",lineHeight:yz,color:"var(--color-fg)"},children:e.name}),(0,l.jsx)("div",{className:"mt-[2px]",style:{fontFamily:"var(--font-heading)",fontSize:"var(--type-h6)",color:"var(--color-brand-500)"},children:e.price}),(0,l.jsx)("div",{className:"mt-[7px]",style:{fontSize:"12px",lineHeight:"var(--sq-lh-13, 1.3)",color:"var(--color-fg-muted)"},children:e.bestFor}),n?(0,l.jsx)("span",{"data-sq-hwlearn":"",className:"mt-[10px] inline-block underline [text-underline-offset:3px]",style:{fontSize:"var(--sq-type-13, 13px)",fontWeight:"var(--font-weight-semibold)"},children:"Learn more"}):null]},e.name)})})]})}function yQ({label:e}){return(0,l.jsxs)("div",{children:[(0,l.jsx)(yL,{label:e,className:"px-[20px] py-[14px]"}),(0,l.jsxs)("div",{className:"px-[30px] py-[26px]",children:[(0,l.jsxs)("div",{className:"mb-[22px] flex gap-[16px]",children:[(0,l.jsx)(uq.Pulser,{height:"84px",width:"84px",radius:"var(--radius-md)"}),(0,l.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-[10px]",children:[(0,l.jsx)(uq.Pulser,{height:"16px",width:"50%"}),(0,l.jsx)(uq.Pulser,{height:"16px",width:"78%"})]})]}),(0,l.jsx)("div",{className:"mb-[22px] grid grid-cols-2 gap-x-[24px] gap-y-[14px]",children:[0,1,2,3].map(e=>(0,l.jsx)(uq.Pulser,{height:"46px",radius:"var(--radius-md)"},e))}),(0,l.jsxs)("div",{className:"flex gap-[18px]",children:[(0,l.jsx)(uq.Pulser,{height:"92px",radius:"var(--radius-md)",className:"flex-1"}),(0,l.jsx)(uq.Pulser,{height:"92px",radius:"var(--radius-md)",className:"flex-1"})]})]})]})}let y0="https://images.ctfassets.net/2d5q1td6cyxq/",y1="?fm=webp&w=480&q=80",y2="?fm=webp&w=760&q=80",y5=[{key:"reader",name:"Square Reader",shortName:"Reader",price:"$59",imageSrc:`${y0}7unpvnbWcFqXwSR0wxKixD/ead4394e96263da9ca2b1130e868047d/PD07139-payments-hardware-reader.png${y1}`,imageAlt:"Square Reader",description:"Start selling in minutes with a bite-sized reader that plugs right in and never needs to be charged.",bestFor:"Pop-ups, markets & selling on the go",detail
825:{eyebrow:"Square Reader",headline:"Accept chip and contactless, anywhere you sell.",sub:"Accept chip cards and contactless payments on the go or at the counter — a full POS that fits in your pocket.",kpis:[{value:"$59",label:"one-time · 2.6% + 15¢ per tap or dip"},{value:"All day",label:"battery in a pocket-sized reader"},{value:"24 hrs",label:"of offline payments if Wi-Fi drops"}],mods:[{heading:"Just dip or tap to pay",body:"Chip cards, contactless cards, Apple Pay, and Google Pay — a dip clears in about two seconds.",imageSrc:`${y0}2Xe6hFb7F47YjPmKhx8h25/9f2b44d6a3ee6c91bb1eaaaa5476acb5/PD06634_-_USEN_Stand_2nd_gen_v1_Card_Insert_Farmers_Market.png${y2}`,imageAlt:"Inserting a card into a Square Reader at a farmers market"},{heading:"A battery that keeps up",body:"Pocket-sized with an all-day battery — pair over Bluetooth 5.3 and sell from open to close.",imageSrc:`${y0}7unpvnbWcFqXwSR0wxKixD/ead4394e96263da9ca2b1130e868047d/PD07139-payments-hardware-reader.png${y2}`,imageAlt:"Square Reader"},{heading:"Secure payments every time",body:"Fraud prevention and dispute management are built in, and transfers land next business day — or instantly for 1.5%.",imageSrc:`${y0}4CyCPpCxwMteR1008S5WMb/5f892d625342e28fef88ab85d646e861/PD07466_-_Tap_a_contactless_card.png${y2}`,imageAlt:"Tapping a contactless card on a Square Reader"}]}},{key:"stand",name:"Square Stand",shortName:"Stand",price:"$149",imageSrc:`${y0}1ESULnPNveszD8sDY98OdC/9f4ce3a570fb63ef4c81840c0e989e21/PD07056_-_USEN_stand.png${y1}`,imageAlt:"Square Stand",description:"Simplify checkout in just one swivel with an iPad POS you already know how to use.",bestFor:"Counters, cafés & retail",detail:{eyebrow:"Square Stand",headline:"iPad to POS in minutes.",sub:"Turn the iPad you already own into a full point of sale in minutes.",kpis:[{value:"$149",label:"or $14/mo over 12 months"},{value:"180°",label:"swivel — you ring up, they pay"},{value:"24 hrs",label:"of offline payments on iPad battery"}],mods:[{heading:"One screen, double the ease",body:"Add items on your side, swivel the screen, and the customer taps, dips, or pays with their phone.",imageSrc:`${y0}7o20mu5ZN53hZaTovOApmY/04e8f2470d8d3206104151fe2641ed28/PD06631_-_USEN_Stand_1st_gen_Card_Tap_Retail_Home.jpg${y2}`,imageAlt:"Customer tapping a card on a Square Stand"},{heading:"Stress less with a reliable POS",body:"Runs on iPad battery when the power blips and keeps taking payments offline for up to 24 hours.",imageSrc:`${y0}6GSUXxobQStrsW9hlAZ2X2/6dbbe7047976ce4c83db87523222dd1f/PD06632_-_USEN_Stand_2nd_gen_LED_Studio.jpg${y2}`,imageAlt:"Square Stand on a studio counter"},{heading:"The Square app that fits",body:"Free POS software for restaurants, retail, appointments, or general use — pick the one built for you.",imageSrc:`${y0}3c5Hb7rOHRGHTOSgTdQMNK/30f7beb007a2aeb61b04711cf6803699/PD06633_-_USEN_Stand_2nd_gen_v2_iPhone_Tap_Cafe.png${y2}`,imageAlt:"Paying with a phone at a café counter Square Stand"},{heading:"Accessorize and customize",body:"Cash drawers, receipt printers, and barcode scanners connect over the USB hub and Bluetooth.",imageSrc:`${y0}3ajglRCyaIrAm3c90UG82e/d908975c37f4120df09fdbf36dc01ba0/PD06635_-_USEN_Stand_2nd_gen_v2_Barcode_Scan_Retail_Apparel.png${y2}`,imageAlt:"Scanning a barcode at a Square Stand in an apparel shop"}]}},{key:"terminal",name:"Square Terminal",shortName:"Terminal",price:"$299",imageSrc:`${y0}2s5OPaoVzE9UghL7zMgdTU/32ecd8b5e5b07ec3dd2f2b2a3e44335b/PD07056_-_USEN_terminal.png${y1}`,imageAlt:"Square Terminal",description:"Be ready for any sale, anywhere, with a super-portable all-in-one device that takes payments and prints receipts.",bestFor:"Tableside, line-busting & mobile",detail:{eyebrow:"Square Terminal",headline:"The compact card machine that flexes to your needs.",sub:"An all-in-one card machine that takes payments and prints receipts, anywhere business happens.",kpis:[{value:"$299",label:"or $27/mo for 12 months"},{value:"Built-in",label:"receipt printer + all-day battery"},{value:"24 hrs",label:"of offline payments, synced when back online"}],mods:[{heading:"Made to fit your space",body:"Streamlined and transportable — it works the counter today and goes wherever the sale is tomorrow.",imageSrc:`${y0}2L1n5SYXAu05ONREDtSB3n/ae63259281f402be1e7ab3c61d1817f2/PD07465_-_USEN_Made_to_fit.png${y2}`,imageAlt:"Square Terminal on a counter"},{heading:"Internet down? No problem",body:"Keep taking payments for up to 24 hours offline — everything syncs when you reconnect.",imageSrc:`${y0}vmmCQ9C01ypdGAhHcyahe/1241e9db2611cf09efb2eddf42abfee3/PD07465_-_USEN_Internet_down.jpg${y2}`,imageAlt:"Taking a payment on Square Terminal offline"},{heading:"Let customers pay their way",body:"Dip a chip, tap a contactless card or phone, or swipe a magstripe — all on one device.",imageSrc:`${y0}1Lllo3ScaJJ12rIieEAs0A/0ac84af93b6b8b7411866d443cc6738f/PD07466_-_USEN_DIp_a_chip_card.png${y2}`,imageAlt:"Dipping a chip card into Square Terminal"},{heading:"Customize your software",body:"Square POS comes pre-loaded — sign in and start selling, no downloads required.",imageSrc:`${y0}4Ml29s2e7Tc5eS3QabXGoM/b8eb64c16a75e38a42361e156188e78d/PD07465_-_USEN_Customize_your_software.png${y2}`,imageAlt:"Square Terminal software home screen"}]}},{key:"register",name:"Square Register",shortName:"Register",price:"$899",imageSrc:`${y0}
8253pwyY1ZbvZLlh7R7WAOcOR/cacb105292fdc9722ed4cd0c61955a6a/PD08115_USEN_Register.png${y1}`,imageAlt:"Square Register",description:"A fully integrated POS with built-in payments, a receipt printer, and two responsive screens for lightning-fast checkout.",bestFor:"High-volume counters",detail:{eyebrow:"Square Register",headline:"Dual screens. Tough enough for every rush.",sub:"A fully integrated register with built-in payments and two responsive screens for lightning-fast checkout.",kpis:[{value:"$899",label:"or $44/mo over 24 months"},{value:"2 screens",label:"seller-side + customer-facing touch"},{value:"IP54",label:"rated against spills and splashes"}],mods:[{heading:"Payments keep flowing",body:"Tap, dip, and up to 24 hours of offline payments — the line never waits on the Wi-Fi.",imageSrc:`${y0}4ThHfh76uJLTiW5c4Ol0SO/0caf6ab3a7dc4b702bc661d222494f95/PD08098_-_USEN_tap.png${y2}`,imageAlt:"Tapping to pay on Square Register"},{heading:"Fast under pressure",body:"Up to 2.7 GHz with 8GB of RAM — instant launches and back-to-back checkouts all rush long.",imageSrc:`${y0}6f93Kwy3Ha5QMChZcl9Jrq/4b71bf1c469c14cd7f127e141a81ed94/large.Aspect_Ratio.png${y2}`,imageAlt:"Square Register dual screens"},{heading:"Software built for your industry",body:"Food & Beverage, Retail, and Beauty modes come built in — pick the one that matches your counter.",imageSrc:`${y0}4v9B3ZeCNGpK52SnB7lNxO/ff9f53c98f42607b16ad29264c97ee1b/PD08101_-_USEN_F_and_B_mobile.png${y2}`,imageAlt:"Square Register industry software modes"},{heading:"Accessorize the counter",body:"Add a cash drawer, receipt printer, or barcode scanner as the counter grows.",imageSrc:`${y0}7gTaI9tW6QQOXlN0IxkIzk/e087884ffd75b7357198a7c9286b3830/PD08103_-_printer.png${y2}`,imageAlt:"Square Register with a receipt printer"}]}}],y4={eyebrow:"Hardware",heading:"Hardware that fits the way you work.",subheading:"Pick a device — from a reader in your pocket to an all-in-one register — and see what it's built for."},y3={default:y4,restaurants:{eyebrow:"Hardware",heading:"Hardware built for hospitality.",subheading:"Pick a device — from a reader in your pocket to a high-volume register — and see what it's built for."},retail:y4,beauty:y4,"health-and-wellness":y4,"general-services":y4,"professional-services":y4},y6={restaurants:{reader:"Food trucks, markets & events",stand:"Counters, cafés & QSR",terminal:"Tableside & line-busting",register:"High-volume full-service"},retail:{reader:"Pop-ups, markets & mobile selling",stand:"Counters & fitting rooms",terminal:"Line-busting & curbside pickup",register:"High-volume, high-SKU stores"},beauty:{reader:"Chairs, stations and mobile checkout",stand:"Front desk and checkout counter",terminal:"Checkout right at the chair",register:"High-volume salons and spas"},"health-and-wellness":{reader:"Front desk and mobile check-in",stand:"Studio front desk",terminal:"Poolside, trailside or on the mat",register:"High-volume studios and clinics"},"general-services":{reader:"On-site visits, no fixed hardware",stand:"Office or shop front desk",terminal:"Job sites and service calls",register:"High-volume shops and showrooms"},"professional-services":{reader:"On-site visits and mobile work",stand:"Front desk and office checkout",terminal:"Wherever the job takes you",register:"High-volume front desks"}},y8={restaurants:{reader:"Take tap, dip, and contactless payments anywhere — markets, pop-ups, and food trucks.",stand:"Simplify checkout in one swivel with an iPad POS your staff already know how to use.",terminal:"Take orders and payments tableside and print receipts from a super-portable all-in-one device.",register:"A fully integrated POS with built-in payments and two screens for lightning-fast service."}},y7={restaurants:{reader:"Take payments tableside, curbside, or at the market stall — the Reader rides in an apron pocket.",stand:"A counter POS built for cafés and quick service — one swivel and the customer pays.",terminal:"Servers carry it to the table — pay-at-table with a printed receipt on the spot.",register:"Built for the dinner rush — dual screens keep the line moving while the kitchen stays in sync."},retail:{reader:"Sell at pop-ups, trunk shows, and markets — the Reader turns your phone into the checkout counter.",stand:"A boutique-ready counter POS — scan the barcode, swivel the screen, done.",terminal:"Line-bust during rushes and sale days — checkout happens wherever the customer is standing.",register:"High-volume checkout with a customer-facing display and barcode speed."},beauty:{reader:"Check clients out chairside — no walk to the front desk between appointments.",stand:"Front-desk checkout that matches your studio — clients tap and go.",terminal:"Bring checkout to the chair — payment and receipt without leaving the client.",register:"Run a busy front desk — rebooking, retail, and checkout across two screens."}
825,"health-and-wellness":{reader:"Collect payment in the treatment room or at the desk — wherever it is easiest for the client.",stand:"A calm front-desk checkout — intake and payment in one stop.",terminal:"Check patients out in the room and print a receipt on the spot.",register:"A front desk that handles co-pays, packages, and retail without slowing intake."},"general-services":{reader:"Get paid in the driveway the moment a job wraps — no invoicing lag.",stand:"A shop-counter POS holding things down while the crews are in the field.",terminal:"Rides along on every job — payment plus a printed receipt at the door.",register:"The command center back at the shop — estimates, invoices, and payments in one place."},"professional-services":{reader:"Take a retainer or session payment anywhere you meet clients.",stand:"A reception-desk POS for payments and deposits between appointments.",terminal:"Meet clients anywhere and settle the invoice on the spot.",register:"A polished front-of-office checkout with client-facing clarity."}},y9={restaurants:{body:"Restaurant mode runs coursing, kitchen tickets, and menu management right on the Register.",imageSrc:`${y0}4v9B3ZeCNGpK52SnB7lNxO/ff9f53c98f42607b16ad29264c97ee1b/PD08101_-_USEN_F_and_B_mobile.png${y2}`,imageAlt:"Square Register restaurant mode"},retail:{body:"Retail mode brings barcode checkout, inventory, and exchanges to the front counter.",imageSrc:`${y0}22bBKstN1Euq2R87xcmjS0/fd888228ede634986579f0fc2a69159f/PD08101_-_USEN_Retail_mobile.png${y2}`,imageAlt:"Square Register retail mode"},beauty:{body:"Appointments mode handles booking, rebooking, and checkout from the same two screens.",imageSrc:`${y0}5D1u83i7joTjowrJjuUjYM/53bd2c6d1e9fd435c4d33e08699f7b08/PD08101_-_USEN_Beauty_mobile.png${y2}`,imageAlt:"Square Register appointments mode"},"health-and-wellness":{body:"Appointments mode handles booking, intake, and checkout from the same two screens.",imageSrc:`${y0}5D1u83i7joTjowrJjuUjYM/53bd2c6d1e9fd435c4d33e08699f7b08/PD08101_-_USEN_Beauty_mobile.png${y2}`,imageAlt:"Square Register appointments mode"},"general-services":{body:"Retail mode brings barcode checkout, inventory, and invoices to the front counter.",imageSrc:`${y0}22bBKstN1Euq2R87xcmjS0/fd888228ede634986579f0fc2a69159f/PD08101_-_USEN_Retail_mobile.png${y2}`,imageAlt:"Square Register retail mode"},"professional-services":{body:"Appointments mode handles booking, invoicing, and checkout from the same two screens.",imageSrc:`${y0}5D1u83i7joTjowrJjuUjYM/53bd2c6d1e9fd435c4d33e08699f7b08/PD08101_-_USEN_Beauty_mobile.png${y2}`,imageAlt:"Square Register appointments mode"}};function ve({openIndex:e,personaKey:t,onClose:a,onNavigate:r}){let n=y5.length,o=null!=e?y5[e]:null,i=o?.detail,s=yM(e,600),c=null!=e?(e-1+n)%n:0,d=null!=e?(e+1)%n:0,u=o&&yu(t)?y7[t][o.key]:i?.sub,p=o&&i?i.mods.map((e,a)=>"register"===o.key&&2===a&&yu(t)?{...e,...y9[t]}:e):void 0;return(0,l.jsxs)(iA.BrandedModal,{open:null!=e,onOpenChange:e=>{e||a()},title:i?.eyebrow??"",description:i?.headline,className:fj,style:fS,scrim:fC,hideCloseButton:!0,onInteractOutside:e=>{let t=e.detail.originalEvent.target;t?.closest?.("[data-overlay-satellite]")&&e.preventDefault()},children:[(0,l.jsx)(fN,{onClose:a,style:{margin:"14px 14px -52px auto"}}),s&&i?(0,l.jsx)(yO,{label:o?.shortName??""}):i&&o&&p?(0,l.jsx)(yR,{eyebrow:i.eyebrow,headline:i.headline,sub:u,kpis:i.kpis,blocks:p,idPrefix:"square_hw_modal",blockIdPrefix:"square_hw_mod"}):null,null!=e?(0,l.jsx)(fA,{position:e,prev:{label:y5[c]?.shortName??"",onClick:()=>r(c)},next:{label:y5[d]?.shortName??"",onClick:()=>r(d)}}):null]})}function vt(){let e=yf(),t=yG[e],[a,r]=(0,eu.useState)(null),[n,o]=(0,eu.useState)(null),[i,s]=(0,eu.useState)(null);return(0,eu.useEffect)(()=>{r(null),o(null),s(null)},[e]),(0,l.jsxs)("section",{id:fO,ref:fk(fO),className:"scroll-mt-36",style:{background:"var(--color-bg-subtle)"},children:[(0,l.jsxs)("div",{style:fT,className:"py-[var(--space-100,100px)] max-[600px]:py-[var(--space-60,60px)]",children:[(0,l.jsx)(va,{eyebrow:yU[e].eyebrow,heading:yU[e].heading}),(0,l.jsx)("div",{className:"mt-[var(--space-40,40px)] max-[600px]:mt-[var(--space-30,30px)] grid grid-cols-1 gap-[var(--space-24,24px)] max-[600px]:gap-[var(--space-14,14px)] md:grid-cols-3 md:grid-rows-[320px_320px]",style:{"--surface-featured-scrim":"var(--sq-card-scrim, rgba(8, 8, 12, 0.5))"},children:t.map((e,t)=>(0,l.jsx)("div",{className:`max-[600px]:aspect-[16/10] max-[600px]:[--card-backdrop-min-height:0px] ${0===t?"md:row-span-2":""}`,children:(0,l.jsx)(y$,{topic:e,onLearnMore:()=>r(t)})},e.key))})]}),(0,l.jsx)(yK,{topics:t,openIndex:a,onClose:()=>r(null),onNavigate:r,onPickDevice:e=>{let t=function(e){let t=/reader|stand|terminal|register/.exec(e.toLowerCase())?.[0];if(!t)return null;let a=y5.findIndex(e=>e.key===t);return -1===a?null:a}(e);null!=t&&(s(a),r(null),o(t))}}),(0,l.jsx)(ve,{openIndex:n,personaKey:e,onClose:()=>{o(null),null!=i&&(r(i),s(null))},onNavigate:o})]})}function va({eyebrow:e,heading:t}){return(0,l.jsxs)("header",{className:"m-0 flex flex-col gap-[var(--section-header-gap,var(--space-sm,8px))]",children:[(0,l.jsx)("p",{style:{fontSize:"var(--section-header-eyebrow-size,var(--type-meta))",fontFamily:"var(--section-header-eyebrow-family, inherit)"},className:"m-0 font-[var(--section-header-eyebrow-weight,var(--font-weight-default))] uppercase tracking-[var(--section-header-eyebrow-tracking,var(--tracking-wider))] text-[color:var(--section-header-eyebrow-color,var(--surface-accent,var(--color-brand-500)))]",children:e}),(0,l.jsx)("h2",{"data-section-heading":"",style:{fontFamily:"var(--headline-family)",lineHeight:"var(--section-header-heading-line-height, normal)",textWrap:"var(--section-header-heading-wrap, auto)",color:"var(--surface-fg, var(--color-fg))"},className:"m-0 font-[var(--headline-weight)] tracking-[var(--section-header-heading-tracking,var(--headline-tracking))]",children:(0,l.jsx)(f$,{text:t})})]})}
825let vr=/\[([^\]]+)\]\([^)]+\)/g,vn=e=>e.replace(vr,"$1").trim();function vo(e){return e?e.split("\n").map(e=>e.trim()).filter(Boolean).map(e=>{let t=e.match(/^(.+?):\s+(.+)$/);return t?{heading:vn(t[1]??""),body:vn(t[2]??"")}:null}).filter(e=>null!==e):[]}let vi=/(\d+(?:\.\d+)?%|\$\d[\d,]*)/;function vs(e,t=1e3){if(!e)return null;try{let a=new URL(e);return a.searchParams.has("width")&&(a.searchParams.set("width",String(t)),a.searchParams.delete("height")),a.toString()}catch{return e}}let vl=(e,t)=>0===t?0:(e%t+t)%t;function vc(e,t=!1){let a=(0,eu.useCallback)(t=>{let a=window.matchMedia(e);return a.addEventListener("change",t),()=>a.removeEventListener("change",t)},[e]);return(0,eu.useSyncExternalStore)(a,()=>window.matchMedia(e).matches,()=>t)}function vd({story:e,atom:t,active:a,sequence:r}){let n=(0,L.useArticleOverlay)(),o={eyebrow:(0,l.jsxs)("span",{className:"flex flex-wrap items-baseline gap-x-[var(--space-10,10px)] gap-y-[var(--space-5,4px)]",style:{"--label-color":"var(--surface-announcement-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)","--label-tracking":"var(--tracking-caps)"},children:[(0,l.jsx)(oU.Subhead,{data:{markdown:`**${e.businessName}**`},atomId:`${e.atomId}-biz`}),e.category?(0,l.jsx)(nJ.Label,{data:{text:e.category},atomId:`${e.atomId}-cat`}):null]}),header:(0,l.jsx)(nY.Headline,{data:{text:e.stat,level:4},atomId:`${e.atomId}-stat`})};return e.image&&(o.media=(0,l.jsx)(oL.Image,{data:{src:e.image,alt:""},atomId:`${e.atomId}-img`})),a&&(o.action=(0,l.jsx)("span",{className:"text-[length:var(--type-meta)] font-[var(--font-weight-semibold)] underline",children:"Read the story"})),(0,l.jsx)(oz.Card,{data:{recipe:"media-overlay",emphasis:"featured"},atomId:e.atomId,parentSectionId:null,slots:o,onActivate:()=>{var a;return a=e.slug,void(a&&r.length>1?n.openArticleWithSequence(t,r,a):n.openArticle(t))}})}let vu={restaurants:["food and beverage"],retail:["retail"],beauty:["beauty"],"health-and-wellness":["wellness","healthcare"],"general-services":[],"professional-services":["photography"]};function vp(e,t){let a=(Array.isArray(e)?e:[]).filter(e=>"string"==typeof e&&e.trim().length>0),r=t?.persona,n=t?.label?.trim();if(!r||"default"===r)return 0===a.length?{industry:void 0,reason:"untagged"}:{industry:a[0],reason:"no-preference"};let o=a.map(e=>({tag:e,key:e.toLowerCase().replace(/&/g," and ").replace(/[^a-z0-9]+/g," ").trim()}));for(let e of vu[r]){let t=o.find(t=>t.key===e);if(t)return{industry:t.tag,reason:"page-match"}}return n?{industry:n,reason:"page-label"}:{industry:void 0,reason:0===a.length?"untagged":"no-page-match"}}let vm=/\s*\|\s*Square\s*$/i,vh={default:{eyebrow:"Customers",heading:"See how businesses like yours use Square.",subheading:"Real stories from real sellers across food, beauty, and retail."},restaurants:{eyebrow:"Customers",heading:"See how restaurants like yours run on Square.",subheading:"Real stories from real restaurants — QSR, full-service, cafés, and bars."},retail:{eyebrow:"Customers",heading:"See how retail businesses like yours run on Square.",subheading:"Real stories from real retailers — shops, boutiques, and multi-location businesses."},beauty:{eyebrow:"Customers",heading:"See how beauty businesses like yours run on Square.",subheading:"Real stories from real salons, studios, and independent beauty pros."},"health-and-wellness":{eyebrow:"Customers",heading:"See how wellness businesses like yours run on Square.",subheading:"Real stories from real studios, gyms, and wellness practitioners."},"general-services":{eyebrow:"Customers",heading:"See how service businesses like yours run on Square.",subheading:"Real stories from real service businesses of every kind."},"professional-services":{eyebrow:"Customers",heading:"See how service businesses like yours run on Square.",subheading:"Real stories from real consultants, agencies, and service pros."}};function vg(e,t){let{industries:a,chronologicalOrdering:r}=t;return{name:"atoms",params:{custom_interests:[{value:e,limit:12,structural_filters:{categorical_content_modality:"text",editorial_type:["Case Study"],...a&&a.length>0?{industries:[...a]}:{}},...void 0===r?{}:{chronological_feed_ordering:r},expand:!0,backfill:!0}],exclude_atom_ids:[],include_article_detail:!0}}}let vf={default:vg("Real customer success stories of sellers running on Square: how businesses use Square point of sale and payments to grow, speed up service, and save time",{}),restaurants:vg("Restaurant, cafe, bar, and food truck success stories: how owners use Square for menus, tableside orders, kitchen tickets, and faster table service",{industries:["Food and Beverage"]}),retail:vg("Retail store and shop success stories: how store owners use Square for inventory, stock, checkout speed, and product sourcing across locations",{industries:["Retail"]}),beauty:vg("Salon, hair, nail, and barbershop success stories: how beauty owners use Square for client bookings and appointments, cut no-shows, and grow their salons",{industries:["Beauty"]}),"health-and-wellness":vg("Fitness studio, gym, and wellness practice success stories: how owners use Square for class schedules, memberships, client bookings, and trainers",{industries:["Wellness","Healthcare"]}),"general-services":vg("Field service, home repair, cleaning, and contractor success stories: how owners use Square for estimates, invoices, on-site payments, and repeat customers",{industries:["Manufacturing","Supply Chain","Wholesale","Hospital
825ity"]}),"professional-services":vg("Consultant, agency, and professional practice success stories: how owners use Square for invoices, retainer billing, client bookings, and tracking payments",{industries:["Healthcare","Photography","Beauty"],chronologicalOrdering:!1})};function vy(){var e,t;let a,r,n=yf(),o=vh[n],i=fW(),{status:s,items:c}=(e=vf[n],t={limit:12},a=(0,sA.usePublishedFeed)(e),r=(0,eu.useMemo)(()=>"success"!==a.status?[]:(function(e){let t=new Set,a=new Set,r=[];for(let n of e){let e=n.article?.slug??n.article_id??n.id??"",o=(n.article?.title??"").trim().toLowerCase();!(e&&t.has(e))&&(o&&a.has(o)||(e&&t.add(e),o&&a.add(o),r.push(n)))}return r})(a.atoms).slice(0,t.limit).map(e=>{let t,a,r;return{atom:e,vm:(t=e.atom_metadata,a=e.article,r=(a.summary??"").split("\n\n")[0]?.trim()??"",{atomId:t.atom_id??e.id??a.slug??"",slug:a.slug??e.article_id??t.atom_id??e.id??"",eyebrow:t.topic??t.editorial_type??"",title:t.headline??a.title??"",description:e.content??r,subhead:a.description??r,image:vs(a.featured_image_url??t.media_url),blocks:vo(a.summary),stats:function(e){if(!e)return[];let t=[];for(let a of e){let e=a.replace(/^[-\s]+/,"").trim(),r=e.match(vi);if(!r)continue;let n=r[1]??"";t.push({value:n,caption:e.replace(n,"").replace(/\s{2,}/g," ").trim()})}return t}(t.insights),readMoreUrl:t.original_content_url??a.url??void 0})}}),[a,t.limit]),{status:a.status,items:r}),{personas:d}=(0,R.useActivePersona)(),u=(0,eu.useMemo)(()=>({persona:n,label:d.find(e=>e.id===n)?.label}),[n,d]),p=(0,eu.useMemo)(()=>c.filter(({atom:e})=>{let t,a;return t=e.atom_metadata.original_content_url??e.article.url??"",a=e.article.title??"",t.includes("/case-studies/")&&!/^\s*case studies/i.test(a)}).slice(0,3).map(({atom:e})=>{var t,a;let r,n,o,i,{reason:s}=vp(e.atom_metadata.industries,u);return("page-label"===s||"no-page-match"===s)&&(0,en.logTelemetry)("square-customers.industry-no-page-tag",{reason:s,persona:u.persona,slug:e.article.slug,industries:e.atom_metadata.industries}),{story:(t=e,a=u,r=t.atom_metadata,o=(n=t.article).slug??t.article_id??r.atom_id??t.id??"",i=(r.headline??n.title??"").replace(vm,"").trim(),{atomId:r.atom_id??t.id??o,slug:o,businessName:o.replace(/-\d+$/,"").split("-").map(e=>"and"===e?"&":e.charAt(0).toUpperCase()+e.slice(1)).filter(Boolean).join(" ").trim(),category:function(e,t){let{industry:a}=vp(e,t);return a?a.replace(/\band\b/gi,"&").toUpperCase():""}(r.industries,a),stat:i,image:vs(n.featured_image_url??r.media_url,1200)}),atom:e}}),[c,u]),m=(0,eu.useMemo)(()=>(function(e){let t=new Set,a=[];for(let r of e)!r.slug||t.has(r.slug)||(t.add(r.slug),a.push({slug:r.slug,label:r.label,atom:r.atom}));return a})(p.map(({story:e,atom:t})=>({slug:e.slug,label:e.businessName,atom:t}))),[p]),[h,g]=(0,eu.useState)(0),f=vc("(max-width: 767.98px)");return(0,l.jsx)("section",{id:fM,ref:fk(fM),className:"scroll-mt-36",style:{background:"var(--surface-announcement-bg)"},children:(0,l.jsxs)("div",{style:{...fT,"--surface-fg":"var(--color-bg)","--surface-fg-muted":"var(--color-bg-subtle)","--surface-featured-bg":"var(--color-fg)","--surface-featured-border":"none","--surface-featured-shadow":"var(--shadow-raised)"},className:"py-[var(--space-100,100px)] max-[600px]:py-[var(--space-60,60px)]",children:[(0,l.jsx)("div",{ref:i.ref,style:i.style,children:(0,l.jsx)(ih.SectionHeader,{eyebrow:o.eyebrow,heading:o.heading,subheading:o.subheading,eyebrowColor:"var(--surface-announcement-accent)"})}),(0,l.jsx)("div",{className:"mt-[var(--section-header-content-gap,var(--space-40,40px))] max-[600px]:mt-[var(--space-30,30px)] flex flex-col gap-[var(--space-14,14px)] max-[600px]:gap-[var(--space-12,12px)] md:h-[clamp(420px,54vh,560px)] md:flex-row",onMouseLeave:()=>g(0),children:"loading"===s?Array.from({length:3},(e,t)=>(0,l.jsx)("div",{className:"h-[380px] overflow-hidden rounded-[var(--radius-lg,16px)] md:h-full",style:{flexGrow:0===t?2.7:1},children:(0,l.jsx)(nZ.ComponentSkeleton,{state:"pending"})},t)):p.map(({story:e,atom:t},a)=>(0,l.jsx)("div",{className:"relative min-w-0 cursor-pointer overflow-hidden rounded-[var(--radius-lg,16px)] h-[380px] transition-[flex-grow] duration-500 ease-[
825cubic-bezier(.22,.68,0,1)] md:h-full",style:{flexGrow:a===h?2.7:1},onMouseEnter:()=>g(a),children:(0,l.jsx)(vd,{story:e,atom:t,active:f||a===h,sequence:m})},e.atomId||a))})]})})}let vv="square_hardware";function vb(){let e=yf(),t=y3[e],[a,r]=(0,eu.useState)(null),n=fW();return(0,l.jsxs)("section",{id:fq,ref:fk(fq),"data-section":vv,className:"scroll-mt-36 pt-[var(--space-60,60px)] pb-[var(--space-8,8px)] md:pt-[var(--space-100,100px)] md:pb-[calc(var(--space-100,100px)_-_var(--hw-disclaimer-block))]",style:{background:"var(--surface-subtle-bg)",color:"var(--surface-subtle-fg)","--surface-accent":"var(--surface-subtle-accent)","--surface-fg":"var(--surface-subtle-fg)","--surface-fg-muted":"var(--surface-subtle-fg-muted, var(--color-fg-muted))","--hw-disclaimer-block":"calc(var(--space-32,32px) + var(--type-body) * var(--leading-body))"},children:[(0,l.jsxs)("div",{style:fT,children:[(0,l.jsx)("div",{className:"mb-[var(--space-40,40px)]",ref:n.ref,style:n.style,children:(0,l.jsx)(ih.SectionHeader,{eyebrow:t.eyebrow,heading:t.heading,subheading:t.subheading,subheadingMeasure:"46ch",eyebrowColor:"var(--color-fg-muted)"})}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-[18px] min-[601px]:grid-cols-2",children:y5.map((t,a)=>(0,l.jsx)(vx,{device:t,bestFor:"default"===e?t.bestFor:y6[e][t.key],description:"default"===e?t.description:y8[e]?.[t.key]??t.description,index:a,onLearnMore:()=>r(a)},t.name))}),(0,l.jsx)("p",{className:"mt-[var(--space-12,12px)] text-center md:mt-[var(--space-32,32px)]",style:{fontSize:"var(--type-meta)",color:"var(--surface-fg-muted, var(--color-fg-muted))",lineHeight:"calc(var(--type-body) * var(--leading-body))"},children:"*App Store rating data was collected on 7/21/26 and can be found at https://apps.apple.com."})]}),(0,l.jsx)(ve,{openIndex:a,personaKey:e,onClose:()=>r(null),onNavigate:r})]})}function vx({device:e,bestFor:t,description:a,index:r,onLearnMore:n}){return(0,l.jsx)(oz.Card,{data:{recipe:"feature-card",emphasis:"normal"},atomId:`square_hw_card_${r}`,parentSectionId:vv,slots:{media:(0,l.jsx)("div",{className:"flex min-h-[200px] items-center justify-center p-[22px]",style:{background:"var(--surface-subtle-bg)"},children:(0,l.jsx)(oL.Image,{data:{src:e.imageSrc,alt:e.imageAlt,size:"xl"},atomId:`square_hw_img_${r}`})}),header:(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"mb-[10px]",style:{"--label-color":"var(--color-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)","--label-size":"var(--type-overline)"},children:(0,l.jsx)(nJ.Label,{data:{text:"Hardware"},atomId:`square_hw_tag_${r}`})}),(0,l.jsx)("div",{style:fP("var(--type-h4)"),children:(0,l.jsx)(nY.Headline,{data:{text:e.name,level:3},atomId:`square_hw_name_${r}`})})]}),body:(0,l.jsxs)(oI.Stack,{data:{gap:"sm"},atomId:`square_hw_body_${r}`,children:[(0,l.jsx)("div",{style:{fontFamily:"var(--font-heading)",fontWeight:"var(--font-weight-bold)",fontSize:"var(--type-h4)",lineHeight:"var(--leading-none)",letterSpacing:"var(--tracking-tight)",color:"var(--color-fg)"},children:e.price}),(0,l.jsx)(nX.Prose,{data:{markdown:a,size:"body-sm"},atomId:`square_hw_desc_${r}`}),(0,l.jsxs)("div",{style:{fontSize:"var(--type-meta)",color:"var(--color-fg)"},children:[(0,l.jsx)("span",{style:{marginRight:"8px","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)","--label-size":"var(--type-overline)"},children:(0,l.jsx)(nJ.Label,{data:{text:"Best for"},atomId:`square_hw_bestfor_${r}`})}),t]})]}),action:(0,l.jsx)(nQ.Button,{variant:"bare",onClick:n,id:`square_hw_learnmore_${r}`,"data-atom-id":`square_hw_learnmore_${r}`,className:"inline-flex cursor-pointer items-center text-[length:var(--sq-type-14-5,14.5px)] font-[var(--font-weight-semibold)] text-[color:var(--color-fg)] underline decoration-1 underline-offset-[3px] transition-colors hover:text-[color:var(--color-brand-500)]",children:"Learn more"})}})}let vw={headline:"Make your next move.",body:"Everything you need to take your first payment — free to start, no contracts."},vk={headline:"Your retail business deserves room to grow.",body:vw.body},v_={headline:"Your salon deserves room to grow.",body:vw.body},vj={headline:"Your studio deserves room to grow.",body:vw.body},vS={headline:"Your business deserves room to grow.",body:vw.body},vC={headline:"Your business deserves room to grow.",body:vw.body},vI={default:vw,restaurants:{headline:"Your restaurant deserves a future.",body:"No hidden fees, no restrictive contracts, and no fine print. Add or subtract what you need, and cancel any time."},retail:vk,beauty:v_,"health-and-wellness":vj,"general-services":vS,"professional-services":vC},vN="United States (English)",vA="https://squareup.com/us/en",vE=[{label:"Square on Twitter",href:"https://twitter.com/Square",icon:"twitter"},{label:"Square on Facebook",href:"https://www.facebook.com/square",icon:"facebook"},{label:"Square on Instagram",href:"https://instagram.com/square",icon:"instagram"}],vT=[{label:"Your Privacy Choices",href:"https://squareup.com/us/en/legal/general/your-privacy-choices",consent:!0},{label:"Privacy Notice",href:"https://squareup.com/us/en/legal/general/privacy"},{label:"Security",href:"https://squareup.com/us/en/payments/secure"},{label:"Trust Center",href:"https://trust.squareup.com"},{label:"Terms of Service",href:"https://squareup.com/us/en/legal/general/ua"},{label:"Government",href:"https://squareup.com/us/en/legal/general/gov"},{label:"Licenses",href:"https://squareup.com/us/en/legal/general/licenses"},{label:"Square Capital, LLC Licenses",href:"https://squareup.com/us/en/legal/capital/capital-licenses"},{label:"Consumer Health Privacy",href:"https://squareup.com/us/en/legal/general/consumer-health-privacy"},{label:"Hardware Compliance Certifications",href:"https://squareup.com/us/en/legal/general/dc"},{label:"Block, Inc.",href:"https://block.xyz"}];var vP=e.i(48728);let vz={color:"var(--sq-footer-fg, #ffffff)",fontSize:"var(--type-body-sm)",fontWeight:"var(--font-weight-semibold)",lineHeight:"calc(var(--type-body) * var(--leading-body))"};function vR({links:e,cmpConfigured:t}){let a=e=>{"function"==typeof window.OneTrust?.ToggleInfoDisplay&&(e.preventDefault(),(0,vP.openConsentPreferences)())};return(0,l.jsx)("ul",{className:"flex list-none flex-col items-start p-0 md:items-end",children:e.map(e=>{let r="consent"in e&&t;return(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:e.href,target:"_blank",rel:"noopener",className:"inline-block py-[9px] no-underline hover:underline md:text-right",style:vz,onClick:r?a:void 0,"aria-haspopup":r?"dialog":void 0,children:e.label})},e.label)})})}let vL="square_bottom";function vO(){let{theme:e,integrations:t}=(0,T.useClientConfig)(),a=yf(),r=e.surfaces.announcement?.contrast??"dark",n=vI[a],o=t?.onetrust!=null;return(0,l.jsx)(om.SurfaceContextProvider,{contrast:r,children:(0,l.jsxs)("section",{id:`section-${vL}`,"data-section":vL,style:{background:"var(--surface-announcement-bg)",color:"var(--surface-announcement-fg)","--surface-accent":"var(--surface-announcement-accent)","--surface-fg-muted":"var(--surface-announcement-fg-muted, var(--color-fg-muted))","--prose-fg":"var(--surface-announcement-fg-muted)"},children:[(0,l.jsxs)("div",{className:"py-[var(--space-60,60px)] md:py-[var(--space-100,100px)]",style:{...fT,maxWidth:"680px",textAlign:"center"},children:[(0,l.jsx)(vM,{name:"jewel",size:46,color:"var(--color-brand-500)",className:"mx-auto mb-[24px]"}),(0,l.jsx)(vD,{text:n.headline}),(0,l.jsx)("div",{className:"mx-auto mt-[16px] mb-[30px] max-w-[46ch]",style:{fontSize:"var(--type-body)"},children:(0,l.jsx)(nX.Prose,{data:{markdown:n.body},atomId:"square_bottom_body"})}),(0,l.jsx)(nQ.Button,{variant:"filled",asChild:!0,"data-atom-id":"square_bottom_cta",className:"h-[54px] px-[var(--space-40,40px)]",style:{"--button-size":"17px","--button-weight":"var(--font-weight-medium)","--button-radius":"var(--radius-pill)",lineHeight:"var(--leading-none)"},children:(0,l.jsx)("a",{id:"square_bottom_cta",href:fz,target:"_blank",rel:"noopener noreferrer",children:"Get started free"})})]}),(0,l.jsxs)("div",{className:"pb-[56px] pt-[8px]",style:fT,children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-[20px] py-[26px]",style:{borderBottom:"1px solid color-mix(in srgb, var(--surface-announcement-fg) 24%, transparent)"},children:[(0,l.jsxs)("a",{href:vA,target:"_blank",rel:"noopener",className:"inline-flex items-center gap-[12px] no-underline hover:underline",style:vz,children:[(0,l.jsx)(vM,{name:"globe",size:26}),vN]}),(0,l.jsx)("div",{className:"flex items-center gap-[22px]",children:vE.map(e=>(0,l.jsx)("a",{href:e.href,target:"_blank",rel:"noopener","aria-label":e.label,className:"inline-flex transition-opacity hover:opacity-75",style:{color:"var(--surface-announcement-fg)"},children:(0,l.jsx)(vM,{name:e.icon,size:19})},e.icon))})]}),(0,l.jsxs)("div",{className:"flex flex-col justify-between gap-[18px] pt-[26px] md:flex-row md:gap-[30px]",children:[(0,l.jsxs)("div",{className:"max-w-[560px]",style:{color:"var(--sq-footer-fineprint, #8a8a8a)",fontSize:"var(--type-body-sm)",lineHeight:"var(--leading-body)"},children:["© 2026 Block, Inc.",(0,l.jsx)("br",{}),"Block, Inc. is a financial services platform and not an FDIC-insured bank."]}),(0,l.jsx)(vR,{links:vT,cmpConfigured:o})]})]})]})})}function vM({name:e,size:t,color:a,className:r=""}){let n=fg[e];return n?(0,l.jsx)("span",{"aria-hidden":"true",className:`inline-flex flex-none ${r}`,style:{width:t,height:t,...a?{color:a}:{}},children:(0,l.jsx)(n,{className:"h-full w-full"})}):null}let vH={fontFamily:"var(--headline-family)",fontSize:"var(--type-h1)",lineHeight:"var(--leading-tight)",letterSpacing:"var(--headline-tracking)",fontWeight:"var(--headline-weight)"};function vD({text:e}){return(0,l.jsx)("h1",{"data-atom-id":"square_bottom_headline",style:vH,children:(0,l.jsx)(f$,{text:e})})}let vq={default:{hero:{eyebrow:"SQUARE POINT OF SALE",headline:"Accept payments, manage inventory, and grow your business **— all from one POS.**",trustItems:["Free to sign up","No setup fees","No long-term contracts"],art:{imageUrl:"https://images.ctfassets.net/2d5q1td6cyxq/4Tt4o40yU18qCDEAxFRxQm/e7517aa5e6e1d1e0eef56881d0844b4e/PD06526_-_AUEN_hero_collage.png?w=1380&h=980&fm=avif&q=85&fit=scale",altText:"Square Point of Sale hardware — Stand, Terminal, Register, and Reader",objectPositionWide:"100% center"}}},restaurants:{hero:{eyebrow:"SQUARE FOR RESTAURANTS",headline:"Take orders, run the kitchen, and turn tables faster **— all from one POS.**",trustItems:["Free to sign up","Your suite of restaurant tools","N
825o long-term contracts"],art:{imageUrl:"https://images-cdn1.welcomesoftware.com/Zz0xMmUwODE1NmEzYjgxMWYwYjMxODg2OWE3ZjZkMzMwMA==?width=1200&height=760",altText:"Square Point of Sale hardware — Stand, Terminal, Register, and Reader"}}},retail:{hero:{eyebrow:"SQUARE FOR RETAIL",headline:"Sell in-store and online, manage inventory, and build customer relationships **— all from one POS.**",trustItems:["Free to sign up","Your suite of retail tools","No long-term contracts"],art:{imageUrl:"https://images.ctfassets.net/2d5q1td6cyxq/14WxIlecbUxhWJzFyT807n/528d821b598753e9078e68ea6db91deb/PD07052-XL-retail-testimonial-Phylum.png",altText:"A shop owner handing a customer their purchase at a Square counter",objectPosition:"72% center"}}},beauty:{hero:{eyebrow:"SQUARE FOR BEAUTY",headline:"Bookings, payments, and client insights together — know which clients drive your revenue **— all from one POS.**",trustItems:["Free to sign up","Your suite of beauty tools","No long-term contracts"],art:{imageUrl:"https://images-cdn2.welcomesoftware.com/Zz0zNzFmYjA4MGI0MjcxMWYwYTE0MzEyZDA2MTYyZWYzZA==",altText:"Square Point of Sale hardware — Stand, Terminal, Register, and Reader"}}},"health-and-wellness":{hero:{eyebrow:"SQUARE FOR HEALTH & WELLNESS",headline:"Class scheduling, client management, and payments **— all from one POS.**",trustItems:["Free to sign up","Your suite of wellness tools","No long-term contracts"],art:{imageUrl:"https://images.ctfassets.net/2d5q1td6cyxq/sQVEbNUgPY4TjumCPg0HZ/8e310ed82c8f37a0ed681970aa7a5f9e/PD04804-fitness-hero-USEN.png",altText:"A fitness studio owner checking a client in on Square",objectPosition:"0% center",scale:1.35}}},"general-services":{hero:{eyebrow:"SQUARE FOR GENERAL SERVICES",headline:"Send estimates, invoice in one click, and get paid on-site **— all from one POS.**",trustItems:["Free to sign up","Your suite of home-services tools","No long-term contracts"],art:{imageUrl:"https://images.ctfassets.net/2d5q1td6cyxq/1P2jkSTtznxL6Yt2DEKZRw/08e00ea63227c5155de5fde42e62d704/PD06175-_USEN_Estimate_Img.png",altText:"A Square estimate being sent from a job site",objectPosition:"50% 15%"}}},"professional-services":{hero:{eyebrow:"SQUARE FOR PROFESSIONAL SERVICES",headline:"Send invoices, accept every payment, and keep projects on track **— all from one POS.**",trustItems:["Free to sign up","Your suite of professional tools","No long-term contracts"],art:{imageUrl:"https://images.ctfassets.net/2d5q1td6cyxq/2lG8i0I3FIKCHFdT9oeO6p/8e59bbf767b724bcc90fec2dcc29bec3/PD02625_-_Streamline_workflow__1_.png?w=1200&fm=webp&q=82",altText:"A professional working through admin at a desk",flip:!0}}}},vW="https://images.ctfassets.net/2d5q1td6cyxq/",v$="?fm=webp&w=160&q=80",vU=vW+"bgiU5wh3eMb4XeRi86AIh/7d6fa7fde7ec01fa88e3d37dc22dcf8f/Background_visual.png?w=1600&fm=webp&q=80",vF="PRICING",vB="Start free. Scale when you're ready.",vG="Free, Plus, and Premium — no setup fees, no contracts.",vK={restaurants:"Free, Plus, and Premium — per location, no setup fees, no contracts."};function vV(e){return"default"===e?vG:vK[e]??vG}let vZ=[{key:"free",name:"Free",price:"$0",per:"/mo",rate:"2.6% + 15¢",features:["Full POS — accept every payment","Items, inventory and sales reports","Online store + in person, in sync","Customer Directory and digital receipts"],cta:"Get started free",ctaVariant:"secondary"},{key:"plus",name:"Plus",price:"$49",per:"/mo · per location",rate:"2.5% + 15¢",badge:"Most popular",features:["Everything in Free","Lower in-person rate — 2.5% + 15¢","Advanced inventory and reporting","Advanced team management"],cta:"Start free trial",ctaVariant:"primary"},{key:"premium",name:"Premium",price:"$149",per:"/mo · per location",rate:"2.4% + 15¢",features:["Everything in Plus","Our lowest rate — 2.4% + 15¢","Lower online processing fees","Advanced reporting and permissions"],cta:"Start free trial",ctaVariant:"secondary"}],vY={eyebrow:"SQUARE PRO",head:"Processing $250K+ annually?",copy:"High volume, multiple locations, or unique needs? Get a custom plan and processing rate built around your business.",cta:"Contact sales"},vJ="See what every plan includes.",vX="Free, Plus, and Premium — compared feature by feature.",vQ=["Free","Plus","Premium"],v0=[{cat:"Fees",blurb
825:"Pay only when you sell — and pay less as you grow.",imageSrc:vW+"2ua0sZg8olHWWoJNEArADU/97d61cf237a833406f09ea80d7c20eac/PD07138-payments-anywhere-laptop.png"+v$,rows:[["Monthly software fee","$0","$49","$149"],["In-person rate","2.6% + 15¢","2.5% + 15¢","2.4% + 15¢"],["Online rate","3.3% + 30¢","2.9% + 30¢","2.9% + 30¢"],["Setup fees and contracts","None","None","None"]]},{cat:"Payments",blurb:"Accept every way your customers want to pay.",imageSrc:vW+"138sak02W7OKLltJxfKxmZ/9bf4d18e24abf27b5051ab2da33f0ba4/pos-mode-device-all-businesses.png"+v$,rows:[["Tap, dip, swipe and contactless","✓","✓","✓"],["Tap to Pay on iPhone and Android","✓","✓","✓"],["Manual entry and card on file","✓","✓","✓"],["Square gift cards","✓","✓","✓"]]},{cat:"Items and inventory",blurb:"One item library; stock that stays accurate everywhere.",imageSrc:vW+"1Upj6heZj0hvn7JmoZJnvi/1ac80e575f88e4eae3f22220e53c50fa/PD07327-features-organized.png"+v$,rows:[["Item library, categories and modifiers","✓","✓","✓"],["Inventory tracking and low-stock alerts","✓","✓","✓"],["Advanced and aging inventory reports","—","✓","✓"],["Bulk inventory intake","—","✓","✓"]]},{cat:"Customers",blurb:"Know your regulars, then bring them back.",imageSrc:vW+"1SukgJSD263TNZprQHJZz5/f9880d42657d130a5f4a9d579d11ee18/PD03261_USEN_CRM.png"+v$,rows:[["Customer Directory and digital receipts","✓","✓","✓"],["Customer segmentation","—","✓","✓"]]},{cat:"Sell everywhere",blurb:"In person, online, and on the go — always in sync.",imageSrc:vW+"2cYLbTrzL4QAE32lnCu8II/6c6131f2f126d29fd7dcf95e71d5226c/PD07329-online-store.png"+v$,rows:[["Online store + in person, in sync","✓","✓","✓"],["Cross-location returns and fulfillment","—","✓","✓"]]},{cat:"Reporting and team",blurb:"See what is working and run your team from the POS.",imageSrc:vW+"19oGKq54H07C4WTWLRZWNG/904046e383c7d872ec89e20282193728/PD07327-features-grow.png"+v$,rows:[["Sales and item reports","✓","✓","✓"],["Team passcodes and permissions","✓","✓","✓"],["Advanced reporting and team management","—","✓","✓"]]},{cat:"Support and money",blurb:"Get paid across channels, with real support when you need it.",imageSrc:vW+"2BArydwskcVDHxiQnnQPOW/701227f49f862efe308e76b6aeb67cc2/pos-mode-device-retail.png"+v$,rows:[["Phone and email support","✓","✓","✓"],["Next-business-day transfers","Free","Free","Free"],["Instant transfers","1.75%","1.75%","1.75%"]]}],v1={restaurants:[{key:"free",name:"Free",price:"$0",per:"/mo · per location",rate:"2.6% + 15¢",features:["POS app for any payment","Item and menu management","Pickup and local delivery","Branded online ordering page"],cta:"Get started free",ctaVariant:"secondary"},{key:"plus",name:"Plus",price:"$49",per:"/mo · per location",rate:"2.5% + 15¢",badge:"Recommended",features:["Everything in Free","Advanced restaurant POS features","Split or reopened checks","$30/mo Square KDS per device"],cta:"Get started free",ctaVariant:"primary"},{key:"premium",name:"Premium",price:"$149",per:"/mo · per location",rate:"2.4% + 15¢",features:["Everything in Plus","Coursing and seat management","24/7 phone support","$20/mo Square KDS per device"],cta:"Get started free",ctaVariant:"secondary"}],beauty:[{key:"free",name:"Free",price:"$0",per:"/mo",rate:"2.6% + 15¢",features:["Unlimited staff","Free online booking website","Cancellation policies","Class scheduling"],cta:"Get started free",ctaVariant:"secondary"},{key:"plus",name:"Plus",price:"$29",per:"/mo · per location",rate:"2.5% + 15¢",badge:"Recommended",features:["Everything in Free","Customer confirmation texts","Advanced access management","Custom staff commissions"],cta:"Get started free",ctaVariant:"primary"},{key:"premium",name:"Premium",price:"$69",per:"/mo · per location",rate:"2.4% + 15¢",features:["Everything in Plus","Advanced access management","Resource management","Our lowest rate — 2.4% + 15¢"],cta:"Get started free",ctaVariant:"secondary"}],"health-and-wellness":[{key:"free",name:"Free",price:"$0",per:"/mo",rate:"2.6% + 15¢",features:["Unlimited staff","Free online booking website","Cancellation policies","Class scheduling"],cta:"Get started free",ctaVariant:"secondary"},{key:"plus",name:"Plus",price:"$29",per:"/mo · per location",rate:"2.5% + 15¢",badge:"Recommended",features:["Everything in Free","Customer confirmation texts","Advanced access management","Custom staff commissions"],cta:"Get started free",ctaVariant:"primary"},{key:"premium",name:"Premium",price:"$69",per:"/mo · per location",rate:"2.4% + 15¢",features:["Everything in Plus","Advanced access management","Resource management","Our lowest rate — 2.4% + 15¢"],cta:"Get started free",ctaVariant:"secondary"}]};function v2(e){return"default"===e?vZ:v1[e]??vZ}let v5={restaurants:{eyebrow:"SQUARE PRO",head:"High volume? Multiple locations?",copy:"Processing over $250,000 a year? You may qualify for custom pricing. Talk to our team about hardware discounts, onsite installation, staff training, data migration, and account management.",cta:"Contact sales"},beauty:{eyebrow:"SQUARE PRO",head:"Processing $250K+ annually?",copy:"High volume or multiple locations? Get a custom plan and processing rate built around your business.",cta:"Contact sales"},"health-and-wellness":{eyebrow:"SQUARE PRO",head:"Processing $250K+ annually?",copy:"High volume or multiple locations? Get a custom plan and processing rate built around your business.",cta:"Contact sales"}};function v4(e){return"default"===e?vY:v5[e]??vY}
825let v3={restaurants:[{cat:"Fees",blurb:"Pay only when you sell — and pay less as you grow.",imageSrc:vW+"4nHiqCE4LcYvI4BSuSgB9W/d5410932e8923dd887ff93d17a67dc82/PD07397_-_USEN_QSR-cart-Desktop.png"+v$,rows:[["Monthly software fee","$0","$49","$149"],["In-person rate","2.6% + 15¢","2.5% + 15¢","2.4% + 15¢"],["Online rate","3.3% + 30¢","2.9% + 30¢","2.9% + 30¢"],["Setup fees and contracts","None","None","None"]]},{cat:"Orders & menus",blurb:"Take every order, on every channel, from one POS.",imageSrc:vW+"3XIgzQBpUt6EsxGCquEqFi/5336aa7c7914e3b08a93c6ff5e84cec9/PD07402_-_USEN_Online_Store-Slide1.png"+v$,rows:[["POS app for any payment","✓","✓","✓"],["Item and menu management","✓","✓","✓"],["Pickup and local delivery","✓","✓","✓"],["Branded online ordering page","✓","✓","✓"]]},{cat:"Service tools",blurb:"The depth full-service rooms need as they grow.",imageSrc:vW+"2fBEqAG8CidL08ND9WZfZx/7a625a1bf137e0bec3893519eac28f39/PD02487_-_base_USEN_KDS.png"+v$,rows:[["Split or reopened checks","—","✓","✓"],["Close-of-day reports","—","✓","✓"],["Coursing and seat management","—","—","✓"]]},{cat:"Kitchen & counter add-ons",blurb:"Speed up the kitchen and the counter.",imageSrc:vW+"6teoHCaqdy8HNaZlHBGa5h/903767ff58dd332faa216f6e13747ce2/PD07074_-_USEN_RST_KDS_carousel.png"+v$,rows:[["Square KDS, per device","—","$30/mo","$20/mo"],["Stand kiosk add-on, per device","—","$50/mo","$30/mo"]]},{cat:"Inventory & reporting",blurb:"Know what’s selling and what’s running low.",imageSrc:vW+"XnKO5B6kpjwXAgrkDwaXl/821c140302558dd91bb642c6e232a78e/PD07400_-_USEN_Live-Sales-Desktop.png"+v$,rows:[["Integrated inventory tracking","—","✓","✓"],["Advanced reporting","—","✓","✓"]]},{cat:"Support",blurb:"Real help when service is on the line.",imageSrc:vW+"6YEeu8EIaEOxz2AqA3NoLQ/af506dc8032ae7350a576e7eed0bc7d3/PD07402_-_USEN_Payroll-Slide2.png"+v$,rows:[["Email support","✓","✓","✓"],["24/7 phone support","—","—","✓"]]}],beauty:[{cat:"Fees",blurb:"Pay only when you book — and pay less as you grow.",imageSrc:vW+"2XZr6L7rcfMO77iVPPRhKk/b693f5440e4340845ddaf340a20a91c0/PD07222-beauty_salon-hero-1.png"+v$,rows:[["Monthly software fee","$0","$29","$69"],["In-person rate","2.6% + 15¢","2.5% + 15¢","2.4% + 15¢"],["Setup fees and contracts","None","None","None"]]},{cat:"Booking and scheduling",blurb:"A free booking website that works around the clock.",imageSrc:vW+"1osdZl99Gnh9A8ih46dwXh/a4f3d2066e236b4cf0a629d831a4aa8b/PD07223-beauty_salon-features-1.png"+v$,rows:[["Free online booking website","✓","✓","✓"],["Class and group booking","✓","✓","✓"],["Automated SMS and email reminders","✓","✓","✓"],["Customer confirmation texts","—","✓","✓"]]},{cat:"Clients and payments",blurb:"Protect your schedule and know every client.",imageSrc:vW+"6LpO81g1aJXgbFcEGx2OCM/f5086d73ed247e8cd029bfc9806cad14/PD03239_USEN_Make_the_most_of_our_free_CRM_tools.png"+v$,rows:[["Card on file","✓","✓","✓"],["Client profiles and notes","✓","✓","✓"],["Resource management","—","✓","✓"]]},{cat:"Team and access",blurb:"Give staff the right access as you grow.",imageSrc:vW+"1ImCjXOZ3h2KkRNWi42UxM/d8bb8af5ee7305d5f46313e13bf8a423/PD07226-beauty_salon-reader.png"+v$,rows:[["Custom staff commissions","—","✓","✓"],["Advanced access management","—","✓","✓"]]},{cat:"Support",blurb:"Real help when you need it.",imageSrc:vW+"2H3Oq07LHRjz33L13snhrM/1653d302c2026acf1a4ab574b6521172/PD07225-features-revenue_streams.jpg"+v$,rows:[["Email support","✓","✓","✓"],["Phone support","—","—","✓"]]}],"health-and-wellness":[{cat:"Fees",blurb:"Pay only when you book — and pay less as you grow.",imageSrc:vW+"sQVEbNUgPY4TjumCPg0HZ/8e310ed82c8f37a0ed681970aa7a5f9e/PD04804-fitness-hero-USEN.png"+v$,rows:[["Monthly software fee","$0","$29","$69"],["In-person rate","2.6% + 15¢","2.5% + 15¢","2.4% + 15¢"],["Setup fees and contracts","None","None","None"]]},{cat:"Booking and scheduling",blurb:"Recurring classes that fill themselves.",imageSrc:vW+"1nqOM8pa5jOaEEEwhsXN93/35fc7c48d3a1d668e68d474c806ef237/PD04806-fitness-marketing.png"+v$,rows:[["Free online booking website","✓","✓","✓"],["Recurring class scheduling","✓","✓","✓"],["Instru
825ctor assignment","✓","✓","✓"],["Customer confirmation texts","—","✓","✓"]]},{cat:"Clients and payments",blurb:"Protect your time and know every client.",imageSrc:vW+"2pYU4IlKfK8FcuahL28He5/fc75f76dc617c1fd53960457e164909a/PD04806-fitness-invoices.png"+v$,rows:[["Card on file","✓","✓","✓"],["Automatic client profiles","✓","✓","✓"],["Resource management","—","✓","✓"]]},{cat:"Team and access",blurb:"Give staff the right access as you grow.",imageSrc:vW+"GNDKC0jafAr0znvuqPkK0/b10b03975f3b76956eeb0c760c6a53c4/PD04806-fitness-loyalty.png"+v$,rows:[["Custom staff commissions","—","✓","✓"],["Advanced access management","—","✓","✓"]]},{cat:"Support",blurb:"Real help when you need it.",imageSrc:vW+"sQVEbNUgPY4TjumCPg0HZ/8e310ed82c8f37a0ed681970aa7a5f9e/PD04804-fitness-hero-USEN.png"+v$,rows:[["Email support","✓","✓","✓"],["Phone support","—","—","✓"]]}]},v6="minmax(0, 2.13fr) 1fr 1fr 1fr",v8={fontFamily:"var(--font-mono)",fontSize:"var(--sq-type-10-5, 10.5px)",fontWeight:"var(--font-weight-default)",letterSpacing:"var(--sq-ls-07, 0.07em)",textTransform:"uppercase",color:"var(--color-fg-muted)",textAlign:"center",padding:"14px 16px"},v7={fontSize:"var(--sq-type-12-5, 12.5px)",fontWeight:"var(--font-weight-semibold, 600)",color:"var(--color-fg)",textAlign:"center",padding:"13px 16px"};function v9({value:e}){return"✓"===e?(0,l.jsx)("div",{style:{...v7,color:"var(--color-brand-500)",fontWeight:"var(--font-weight-bold, 700)",fontSize:"var(--sq-type-15, 15px)"},children:"✓"}):"—"===e?(0,l.jsx)("div",{style:{...v7,color:"var(--color-fg-muted)"},children:"—"}):(0,l.jsx)("div",{style:v7,children:e})}function be(){var e;let t="default"===(e=yf())?v0:v3[e]??v0;return(0,l.jsx)("div",{className:"overflow-x-auto",children:(0,l.jsxs)("div",{className:"min-w-[560px]",children:[(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:v6},children:[(0,l.jsx)("span",{style:v8}),vQ.map(e=>(0,l.jsx)("span",{style:v8,children:e},e))]}),t.map((e,t)=>(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:`flex items-center gap-[14px] pb-[12px] ${0===t?"pt-[20px]":"pt-[28px]"}`,children:[(0,l.jsx)("div",{className:"w-[54px] flex-none",children:(0,l.jsx)(oL.Image,{data:{src:e.imageSrc,alt:"",ratio:"1:1"},atomId:`square_compare_thumb_${t}`})}),(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("div",{style:{...fP("var(--type-h6)"),"--headline-weight":"var(--font-weight-bold)","--headline-line-height":"var(--leading-snug)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.cat,level:4},atomId:`square_compare_cat_${t}`})}),(0,l.jsx)("div",{className:"mt-[2px]",style:{"--prose-fg":"var(--color-fg-muted)"},children:(0,l.jsx)(nX.Prose,{data:{markdown:e.blurb,size:"meta"},atomId:`square_compare_blurb_${t}`})})]})]}),e.rows.map((e,t)=>(0,l.jsxs)("div",{style:{display:"grid",gridTemplateColumns:v6,alignItems:"center",borderTop:0===t?void 0:"1px solid var(--color-border-soft, #f0efee)"},children:[(0,l.jsx)("span",{style:{fontSize:"var(--sq-type-13-5, 13.5px)",color:"var(--color-fg)",padding:"13px 16px"},children:e[0]}),(0,l.jsx)(v9,{value:e[1]}),(0,l.jsx)(v9,{value:e[2]}),(0,l.jsx)(v9,{value:e[3]})]},e[0]))]},e.cat))]})})}function bt({open:e,onOpenChange:t}){return(0,l.jsx)(iA.BrandedModal,{open:e,onOpenChange:t,title:vJ,description:vX,className:fj,style:fS,scrim:fC,hideCloseButton:!0,children:(0,l.jsxs)("div",{className:fI,children:[(0,l.jsx)(fN,{onClose:()=>t(!1)}),(0,l.jsxs)("div",{className:"mb-[18px]",children:[(0,l.jsx)("div",{className:"mb-[8px]",style:{"--label-color":"var(--color-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)"},children:(0,l.jsx)(nJ.Label,{data:{text:"WHAT'S INCLUDED"},atomId:"square_compare_eyebrow"})}),(0,l.jsx)("div",{style:{...fP("var(--type-modal-title, 30px)"),"--headline-weight":"var(--font-weight-bold)","--headline-line-height":"var(--leading-snug)","--headline-tracking":"var(--tracking-tight)"},children:(0,l.jsx)(nY.Headline,{data:{text:vJ,level:3},atomId:"square_compare_title"})}),(0,l.jsx)("div",{className:"mt-[6px]",style:{"--subhead-fg":"var(--color-fg-muted)"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:vX},atomId:"square_compare_sub"})})]}),(0,l.jsx)(be,{})]})})}let ba={paddingInline:"max(20px, calc((100vw - var(--width-xl, 1200px)) / 2 + 20px))"},br="calc(var(--type-body) * var(--leading-body))";function bn(){let e=yf(),t=vV(e),a=v2(e),[r,n]=(0,eu.useState)(!1);return(0,l.jsxs)("section",{id:fD,ref:fk(fD),"data-section":"square_pricing",className:"scroll-mt-36",style:{background:"var(--color-bg)"},children:[(0,l.jsx)("div",{className:"hidden min-[601px]:block",children:(0,l.jsxs)("div",{className:"relative overflow-hidden",children:[(0,l.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 z-0 flex",style:{"--image-radius":"0"},children:(0,l.jsx)(oL.Image,{data:{src:vU,alt:"",ratio:"fill"},atomId:"square_pricing_bg"})}),(0,l.jsxs)("div",{className:"relative z-[2] py-[56px]",style:ba,children:[(0,l.jsx)(om.SurfaceContextProvider,{contrast:"dark",children:(0,l.jsxs)("div",{className:"text-left",style:{color:"var(--color-bg)"},children:[(0,l.jsx)("div",{className:"mb-[var(--space-10,10px)]",style:{"--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)"},children:(0,l.jsx)(nJ.Label,{data:{text:vF},atomId:"square_pricing_eyebrow"})}),(0,l.jsx)("div",{className:"[text-wrap:balance]",style:{"--headline-size":"var(--type-h2)","--headline-weight":"var(--font-weight-medium)","--headline-line-height":"var(--leading-tight)","--headline-tracking":"var(--tracking-tight)"},children:(0,l.jsx)(nY.Headline,{data:{text:vB,level:2},atomId:"square_pricing_heading"})}),(0,l.jsx)("div",{className:"mt-[18px] max-w-[48ch]",style:{"--subhead-size":"var(--sq-type-15, 15px)"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:t},atomId:"square_pricing_sub"})})]})}),(0,l.jsxs)("div",{className:"mt-[26px] grid grid-cols-1 items-stretch gap-[18px] min-[601px]:grid-cols-3",children:[a.map(e=>(0,l.jsx)(bl,{plan:e,deck:"desktop",onCompare:()=>n(!0)},e.key)),(0,l.jsx)(bc,{})]})]})]})}),(0,l.jsxs)("div",{className:"min-[601px]:hidden py-[40px]",style:{...ba,"--sq-badge-bg":"var(--color-brand-500)","--sq-badge-fg":"var(--color-bg)"},children:[(0,l.jsx)(bo,{}),(0,l.jsx)(bi,{onCompare:()=>n(!0)})]}),(0,l.jsx)(bt,{open:r,onOpenChange:n})]})}function bo(){let e=vV(yf());return(0,l.jsxs)("div",{className:"text-left",children:[(0,l.jsx)("div",{className:"mb-[var(--space-10,10px)]",style:{"--label-color":"var(--color-fg)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)"},children:(0,l.jsx)(nJ.Label,{data:{text:vF},atomId:"square_pricing_eyebrow_m"})}),(0,l.jsx)("div",{className:"[text-wrap:balance]",style:{"--headline-size":"var(--type-h2)","--headline-weight":"var(--font-weight-medium)","--headline-line-height":"var(--leading-tight)","--headline-tracking":"var(--tracking-tight)"},children:(0,l.jsx)(nY.Headline,{data:{text:vB,level:2},atomId:"square_pricing_heading_m"})}),(0,l.jsx)("div",{className:"mt-[14px] max-w-[42ch]",style:{"--subhead-size":"var(--sq-type-15, 15px)","--subhead-fg":"var(--color-fg-muted)"},children:(0,l.jsx)(oU.Subhead,{data:{markdown:e},atomId:"square_pricing_sub_m"})})]})}function bi({onCompare:e}){let t=v2(yf()),a=(0,eu.useRef)(null),[r,n]=(0,eu.useState)(0),o=[...v2(yf()).map(e=>e.name),"Pro"];return(0,l.jsxs)("div",{className:"mt-[22px]",children:[(0,l.jsx)("div",{className:"mb-[8px] flex justify-center",children:(0,l.jsx)("div",{className:"flex w-max max-w-full items-center gap-[2px] overflow-x-auto rounded-[var(--radius-pill)] border border-[color:var(--color-border)] p-[4px] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:o.map((e,t)=>(0,l.jsx)("button",{type:"button",onClick:()=>{let e;return e=a.current?.children[t],void e?.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})},"aria-pressed":r===t,className:"cursor-pointer whitespace-nowrap rounded-[var(--radius-pill)] px-[16px] py-[7px] text-[length:var(--type-body-sm)] transition-colors",style:{fontWeight:"var(--font-weight-medium)",lineHeight:"var(--leading-none)",background:r===t?"var(--sq-seg-active-bg, #ececec)":"transparent",color:"var(--color-fg)"},children:e},e))})}),(0,l.jsxs)("div",{ref:a,onScroll:()=>{let e=a.current;if(!e)return;let t=e.scrollLeft+e.clientWidth/2,r=0,o=1/0;
825Array.from(e.children).forEach((e,a)=>{let n=Math.abs(e.offsetLeft+e.offsetWidth/2-t);n<o&&(o=n,r=a)}),n(r)},className:"flex snap-x snap-mandatory gap-[12px] overflow-x-auto pb-[6px] pt-[14px] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:[t.map(t=>(0,l.jsx)("div",{className:"w-[288px] flex-none snap-center",children:(0,l.jsx)(bl,{plan:t,deck:"mobile",onCompare:e})},t.key)),(0,l.jsx)("div",{className:"w-[288px] flex-none snap-center",children:(0,l.jsx)(bs,{})})]}),(0,l.jsx)("div",{className:"mt-[18px] flex items-center justify-center gap-[7px]",children:o.map((e,t)=>(0,l.jsx)("span",{"aria-hidden":"true",className:"h-[7px] rounded-[var(--radius-pill,100px)] transition-all",style:{width:r===t?"20px":"7px",background:r===t?"var(--color-brand-500)":"var(--color-border)"}},e))})]})}function bs(){let e=v4(yf());return(0,l.jsxs)("article",{"data-plancard":"custom",className:"flex h-full flex-col rounded-[var(--radius-lg,10px)] p-[var(--space-30,30px)] text-left",style:{background:"var(--color-bg)",color:"var(--color-fg)",border:"1px solid var(--color-border)",lineHeight:br},children:[(0,l.jsx)("div",{className:"mb-[var(--space-10,10px)]",style:{"--label-color":"var(--color-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)"},children:(0,l.jsx)(nJ.Label,{data:{text:e.eyebrow},atomId:"square_pricing_custom_eyebrow_m"})}),(0,l.jsx)("div",{style:{...fP("var(--type-lead)"),"--headline-weight":"var(--font-weight-bold)","--headline-line-height":br,"--headline-tracking":"var(--tracking-normal, 0)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.head,level:3},atomId:"square_pricing_custom_head_m"})}),(0,l.jsx)("div",{className:"mb-[18px] mt-[8px] flex-1",style:{"--prose-fg":"var(--color-fg-muted)","--prose-size":"var(--sq-type-14, 14px)"},children:(0,l.jsx)(nX.Prose,{data:{markdown:e.copy},atomId:"square_pricing_custom_copy_m"})}),(0,l.jsx)(bd,{variant:"secondary",full:!0,href:fR,id:"square_pricing_custom_cta_m",children:e.cta})]})}function bl({plan:e,onCompare:t,deck:a}){let r="mobile"===a?"_m":"",n=!!e.badge;return(0,l.jsxs)("article",{"data-plancard":e.key,className:"relative flex flex-col rounded-[var(--radius-lg,10px)] p-[var(--space-30,30px)] text-left",style:{background:"var(--color-bg)",color:"var(--color-fg)",border:n?"2px solid var(--color-brand-500)":"1px solid var(--color-border)",lineHeight:br},children:[e.badge?(0,l.jsx)("span",{className:"absolute left-[24px] top-[-11px]",style:{background:"var(--sq-badge-bg, #cce1ff)",color:"var(--sq-badge-fg, #005ad9)",fontFamily:"var(--font-mono)",fontSize:"var(--type-overline)",fontWeight:"var(--font-weight-medium)",textTransform:"uppercase",letterSpacing:"var(--tracking-widest)",padding:"4px 11px",borderRadius:"var(--radius-badge,2px)"},children:e.badge}):null,(0,l.jsx)("div",{style:{...fP("var(--type-lead)"),"--headline-weight":"var(--font-weight-bold)","--headline-line-height":br,"--headline-tracking":"var(--tracking-normal, 0)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.name,level:3},atomId:`square_pricing_name_${e.key}`})}),(0,l.jsxs)("div",{className:"mt-[6px]",style:{fontFamily:"var(--font-heading)",fontWeight:"var(--font-weight-bold)",fontSize:"38px",lineHeight:"var(--leading-none)",letterSpacing:"var(--tracking-tight)"},children:[e.price,(0,l.jsx)("span",{className:"ml-[5px]",style:{fontFamily:"var(--font-sans)",fontWeight:"var(--font-weight-default)",fontSize:"var(--type-meta)",letterSpacing:"var(--tracking-normal, 0)",color:"var(--color-fg-muted)"},children:e.per})]}),(0,l.jsxs)("div",{className:"mt-[8px]",style:{fontSize:"14px",fontWeight:"var(--font-weight-semibold, 600)",color:"var(--color-fg)"},children:[e.rate,(0,l.jsx)("small",{className:"mt-[2px] block",style:{fontSize:"12.5px",fontWeight:"var(--font-weight-default)",color:"var(--color-fg-muted)"},children:"per in-person tap, dip, or swipe"})]}),(0,l.jsx)("div",{className:"mb-[18px] mt-[14px] flex-1",style:{"--surface-accent":"var(--color-brand-500)","--list-item-line-height":"calc(var(--type-body) * var(--leading-body))",color:"var(--color-fg-muted)"},children:(0,l.jsx)(oO.List,{data:{title:null,items:[...e.features],marker:"check",size:"meta"},atomId:`square_pricing_feats_${e.key}`})}),(0,l.jsx)(bd,{variant:e.ctaVariant,full:!0,href:fz,id:`square_pricing_cta_${e.key}${r}`,children:e.cta}),(0,l.jsx)(bd,{variant:"ghost",full:!0,onClick:t,"aria-haspopup":"dialog",className:"mt-[18px]",id:`square_pricing_compare_${e.key}${r}`,children:"Compare plans"})]})}function bc(){let e=v4(yf());return(0,l.jsxs)("article",{"data-plancard":"custom",className:"flex flex-col items-start gap-[26px] rounded-[var(--radius-lg,10px
825)] p-[var(--space-30,30px)] text-left min-[601px]:col-span-3 min-[601px]:flex-row min-[601px]:items-center min-[601px]:justify-between",style:{background:"var(--color-bg)",color:"var(--color-fg)",border:"1px solid var(--color-border)"},children:[(0,l.jsxs)("div",{className:"min-w-0 min-[601px]:flex-[1_1_420px]",children:[(0,l.jsx)("div",{className:"mb-[var(--space-10,10px)]",style:{"--label-color":"var(--color-fg-muted)","--label-family":"var(--font-mono)","--label-weight":"var(--font-weight-default)"},children:(0,l.jsx)(nJ.Label,{data:{text:e.eyebrow},atomId:"square_pricing_custom_eyebrow"})}),(0,l.jsx)("div",{style:{...fP("var(--type-lead)"),"--headline-weight":"var(--font-weight-bold)","--headline-line-height":br,"--headline-tracking":"var(--tracking-normal, 0)"},children:(0,l.jsx)(nY.Headline,{data:{text:e.head,level:3},atomId:"square_pricing_custom_head"})}),(0,l.jsx)("div",{className:"mt-[8px] max-w-[62ch]",style:{"--prose-fg":"var(--color-fg-muted)","--prose-size":"var(--sq-type-14, 14px)"},children:(0,l.jsx)(nX.Prose,{data:{markdown:e.copy},atomId:"square_pricing_custom_copy"})})]}),(0,l.jsx)(bd,{variant:"secondary",href:fR,id:"square_pricing_custom_cta",children:e.cta})]})}function bd({variant:e,full:t=!1,href:a,id:r,children:n,className:o="",...i}){let s="inline-flex cursor-pointer items-center justify-center gap-[.55ch] whitespace-nowrap rounded-[var(--radius-pill,100px)] transition-colors",c={fontWeight:"var(--font-weight-medium)",lineHeight:"var(--leading-none)"};if("ghost"===e)return(0,l.jsx)(nQ.Button,{variant:"bare",id:r,style:{...c,fontSize:"14px"},className:`${s} h-auto border border-transparent text-[color:var(--color-brand-500)] hover:underline ${t?"w-full":""} ${o}`,...i,children:n});let d=`${s} h-[50px] px-[30px] text-[length:var(--type-body-sm)] ${"primary"===e?"bg-[color:var(--color-button-bg)] text-[color:var(--color-button-text)] border border-transparent hover:bg-[color:var(--color-button-hover)]":"bg-[color:var(--color-bg)] text-[color:var(--color-fg)] border border-[color:var(--color-border)] hover:border-[color:var(--color-fg)]"} ${t?"w-full":""} ${o}`;return a?(0,l.jsx)(nQ.Button,{variant:"bare",asChild:!0,style:c,className:d,children:(0,l.jsx)("a",{id:r,href:a,target:"_blank",rel:"noopener noreferrer",children:n})}):(0,l.jsx)(nQ.Button,{variant:"bare",id:r,style:c,className:d,...i,children:n})}function bu(){let e=yf(),t=vq[e];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(yr,{content:t.hero}),(0,l.jsx)(yl,{perks:yc[e]}),(0,l.jsx)(yW,{}),(0,l.jsx)(vt,{}),(0,l.jsx)(vy,{}),(0,l.jsx)(fX,{}),(0,l.jsx)(bn,{}),(0,l.jsx)(vb,{}),(0,l.jsx)(vO,{})]})}var bp=e.i(74719);let bm=em.z.object({body:em.z.array(em.z.object({block_type:em.z.string(),value:em.z.unknown()})).optional()}).passthrough(),bh=em.z.object({basic_image:em.z.object({file:em.z.string(),alt_text:em.z.string().optional()}).nullable().optional()}).passthrough(),bg=em.z.object({url:em.z.string().min(1),provider:em.z.string().optional(),caption:em.z.string().optional()}).passthrough(),bf=/sq-taxonomy|__taxonomies|list-item-content__category|locale-selector|single-toc|sq-data-viz|css-/i,by=/marketo|based on your region|country_redirection|ai sales rep|jenny richards/i,bv=/^\d+\.\s/,bb=e=>e.replace(/\s*-\/\^\s*$/,"");function bx(e,t=900){try{let a=new URL(e);return a.searchParams.has("width")&&(a.searchParams.set("width",String(t)),a.searchParams.delete("height")),a.toString()}catch{return e}}function bw(e){try{return new URL(e).pathname}catch{return e}}function bk({className:e}){return(0,l.jsx)("svg",{viewBox:"0 0 2000 501.43",className:e,"aria-hidden":"true",focusable:"false",children:(0,l.jsx)("path",{fill:"currentColor",d:"M501.43,83.79v333.84c0,46.27-37.5,83.79-83.79,83.79H83.79c-46.28,0-83.79-37.5-83.79-83.79V83.79C0,37.52,37.52,0,83.79,0h333.84c46.29,0,83.79,37.5,83.79,83.79ZM410.23,117.65c0-14.61-11.85-26.45-26.45-26.45H117.63c-14.61,0-26.45,11.84-26.45,26.45v266.19c0,14.61,11.84,26.45,26.45,26.45h266.17c14.61,0,26.45-11.85,26.45-26.45V117.65h-.02ZM182.32,197.6c0-8.43,6.79-15.26,15.17-15.26h106.4c8.39,0,15.17,6.84,15.17,15.26v106.24c0,8.43-6.75,15.26-15.17,15.26h-106.4c-8.39,0-15.17-6.84-15.17-15.26v-106.24ZM778.95,221.94l-3.85-.86c-41.04-9.31-65.81-14.93-65.81-42,0-24.2,23.02-41.11,55.98-41.11,30.52,0,53.74,12.76,73.08,40.16,1.11,1.57,2.84,2.61,4.74,2.84,1.89.23,3.79-.35,5.23-1.59l32.16-27.71c2.68-2.31,3.15-6.22,1.1-9.09-24.19-33.89-67.01-54.12-114.56-54.12-31.56,0-60.34,9.26-81.04,26.08-21.73,17.65-33.21,41.93-33.21,70.23,0,63.76,54.74,76.94,98.71,87.53,4.45,1.08,8.77,2.1,12.95,3.08,39.74,9.36,66,15.54,66,43.74s-24.04,45.48-61.24,45.48c-33.71,0-64.35-17.1-86.28-48.14-1.1-1.55-2.8-2.59-4.68-2.84-1.88-.25-3.73.28-5.2,1.49l-33.86,27.99c-2.72,2.25-3.28,6.14-1.3,9.05,25.63,37.64,76.48,61.97,129.56,61.97,32.56,0,62.52-9.57,84.36-26.95,23.27-18.51,35.57-44.01,35.57-73.73,0-67.27-57.62-80.13-108.45-91.48ZM1126.34,177.74h-40.76c-3.74,0-6.78,3.04-6.78,6.78v19.06c-12.6-14.21-33.77-30.22-65.18-30.22s-56.88,12.32-75.37,35.62c-17.16,21.63-26.62,51.73-26.62,84.75s9.45,63.12,26.62,84.75c18.49,23.31,44.56,35.62,75.37,35.62,26.63,0,49.1-9.45,65.18-27.37v107.92c0,3.74,3.04,6.78,6.78,6.78h40.76c3.74,0,6.78-3.04,6.78-6.78V184.52c0-3.74-3.04-6.78-6.78-6.78ZM1080.11,287.17v13.57c0,39.86-21.97,65.61-55.98,65.61-36.15,0-57.74-27.15-57.74-72.61s21.58-72.61,57.74-72.61c34.01,0,55.98,25.93,55.98,66.05ZM1360.6,177.74h-40.76c-3.74,0-6.78,3.04-6.78,6.78v130.66c0,32.45-23.32,49.42-46.36,49.42-26.03,0-39.79-15.58-39.79-45.04v-135.03c0-3.74-3.04-6.78-6.78-6.78h-40.76c-3.74,0-6.78,3.04-6.78,6.78v146.41c0,50.53,30.93,83.17,78.8,83.17,23.76,0,43.95-9.67,61.67-29.56v17.96c0,3.74,3.04,6.78,6.78,6.78h40.76c3.74,0,6.78-3.04,6.78-6.78v-217.99c0-3.74-3.04-6.78-6.78-6.78ZM1607.93,367.07c-8.79-.24-12.72-4.78-12.72-14.7v-98.9c0-51.66-31.71-80.11-89.3-80.11-44.71,0-80.07,23.24-94.59,62.18-.66,1.78-.52,3.78.39,5.47.93,1.73,2.57,2.98,4.48,3.42l37.83,8.71c3.37.77,6.78-1.14,7.94-4.45,6.74-19.11,20.01-28.01,41.76-28.01,25.53,0,38.48,11.62,38.48,34.54v3.2l-62.73,12.98c-53.04,11.03-77.74,34.25-77.74,73.09s32.22,68.73,78.36,68.73c28.25,0,51.2-8.69,66.46-25.16,9.13,17.73,33.93,26.29,62.3,21.35,3.24-.57,5.6-3.38,5.6-6.69v-28.9c0-3.63-2.93-6.67-6.52-6.77ZM1542.21,300.54v26.89c0,27.56-27.28,41.98-54.24,41.98-20.26,0-32.35-10.13-32.35-27.1,0-19.37,14.63-26.41,38.23-31.5l48.36-10.27ZM1774.35,177.33c-3.17-.52-6.47-.77-10.09-.77-27.5,0-50.92,12.35-62.11,32.47v-24.51c0-3.74-3.04-6.78-6.78-6.78h-40.76c-3.74,0-6.78,3.04-6.78,6.78v217.99
825c0,3.74,3.04,6.78,6.78,6.78h40.76c3.74,0,6.78-3.04,6.78-6.78v-114.9c0-34.27,23.2-57.3,57.74-57.3,4.7,0,8.63.17,12.74.56,1.89.18,3.79-.45,5.2-1.73,1.41-1.28,2.22-3.11,2.22-5.02v-40.09c0-3.34-2.39-6.16-5.69-6.7ZM1973.75,206.72c-18.32-21.83-44.82-33.36-76.62-33.36s-59.09,12.34-79.33,34.76c-19.98,22.12-30.98,52.52-30.98,85.61,0,70.87,46.26,120.37,112.49,120.37,43.9,0,79.17-21.53,96.77-59.08.8-1.7.85-3.61.14-5.37-.71-1.76-2.14-3.15-3.91-3.82l-33.69-12.76c-3.39-1.28-7.27.37-8.63,3.68-8.08,19.63-26.56,30.9-50.68,30.9-33.08,0-56.1-23.59-60.26-61.64h154.16c3.74,0,6.78-3.04,6.78-6.78v-11.63c0-31.99-9.32-60.72-26.25-80.88ZM1945.22,264.82h-103.37c7.73-28.91,27.66-45.45,54.84-45.45,34.72,0,47.8,23.3,48.52,45.45Z"})})}function b_(){return(0,l.jsx)("a",{href:"/","aria-label":"Square home",className:"inline-flex shrink-0",children:(0,l.jsx)(bk,{className:"h-6 max-[600px]:h-5 w-auto text-[color:var(--color-fg)]"})})}function bj({open:e,useSheet:t,onDismiss:a,boundaryRef:r,dropdown:n,sheet:o}){let i=e&&!t,[s,c]=(0,eu.useState)(!1);return(0,eu.useEffect)(()=>{if(!i)return void c(!1);let e=requestAnimationFrame(()=>c(!0));return()=>cancelAnimationFrame(e)},[i]),(0,eu.useEffect)(()=>{if(i)return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)};function e(e){r.current&&!r.current.contains(e.target)&&a()}function t(e){"Escape"===e.key&&a()}},[i,r,a]),(0,l.jsxs)(l.Fragment,{children:[i?n(s):null,o]})}let bS="(max-width: 599.98px)";var bC=e.i(58706);let bI=(0,eu.createContext)(null),bN=bI.Provider;function bA({personas:e,activePersonaId:t,isDefaultPersona:a,onSelect:r,variant:n}){return(0,l.jsxs)("div",{role:"sheet"===n?"listbox":void 0,children:[(0,l.jsx)("div",{style:"dropdown"===n?{padding:"8px 12px 6px",fontFamily:"var(--font-mono)",fontSize:"var(--type-overline, 11px)",textTransform:"uppercase",letterSpacing:"var(--tracking-widest, 0.125em)",color:"var(--color-fg-muted)"}:{padding:"6px 10px 10px",fontFamily:"var(--font-heading)",fontSize:"var(--persona-picker-sheet-heading-size, 19px)",fontWeight:"var(--font-weight-semibold, 600)",color:"var(--color-fg)"},children:fp}),e.map((e,o)=>{let i=a?e.id===fm:e.id===t;return(0,l.jsx)("button",{type:"button",role:"option",id:(0,oD.chatPersonaOptionId)(o),"aria-selected":i,onClick:()=>r(e.id),className:"flex w-full cursor-pointer items-center gap-[var(--space-12)] border-0 bg-none text-left",style:"dropdown"===n?{padding:"11px 12px",borderRadius:"var(--radius-md)",fontSize:"var(--persona-picker-option-size, 15.5px)",color:"var(--color-fg)",fontWeight:i?"var(--font-weight-semibold, 600)":"var(--font-weight-default, 400)"}:{padding:"14px 10px",borderBottom:"1px solid var(--color-border)",fontSize:"var(--type-body-sm, 16px)",color:"var(--color-fg)",fontWeight:i?"var(--font-weight-semibold, 600)":"var(--font-weight-default, 400)"},children:(0,l.jsxs)("span",{className:"contents",children:[(0,l.jsx)("span",{className:"flex-1",children:e.label}),i?(0,l.jsx)("span",{"aria-hidden":"true",style:{color:"var(--color-brand-500)"},children:"✓"}):null]})},e.id)})]})}function bE({open:e,onOpenChange:t,personas:a,activePersonaId:r,isDefaultPersona:n,onSelect:o}){return(0,l.jsxs)(iA.BrandedModal,{open:e,onOpenChange:t,title:fp,hideCloseButton:!0,scrim:"var(--color-overlay-scrim)",enterFrom:"bottom",style:{top:"auto",bottom:0,borderTopLeftRadius:"var(--radius-sheet, 20px)",borderTopRightRadius:"var(--radius-sheet, 20px)",borderBottomLeftRadius:"var(--radius-none)",borderBottomRightRadius:"var(--radius-none)"},className:"left-0 right-0 w-full max-w-none max-h-[90dvh] px-[20px] pt-[6px] pb-[calc(20px+env(safe-area-inset-bottom))]",children:[(0,l.jsx)("div",{"aria-hidden":"true",className:"mx-auto mb-[6px] h-[5px] w-[42px] rounded-[var(--radius-sm)] bg-[color:var(--color-border)]"}),(0,l.jsx)(bA,{variant:"sheet",personas:a,activePersonaId:r,isDefaultPersona:n,onSelect:o})]})}function bT(){let{personas:e,activePersonaId:t,switchPersona:a}=(0,R.useActivePersona)(),[r,n]=(0,eu.useState)(!1),[o,i]=(0,eu.useState)(!0),s=(0,eu.useRef)(null),c=(0,eu.useCallback)(()=>n(!1),[]),d=(0,eu.useContext)(bI),u=null!==d;(0,eu.useEffect)(()=>
825{if(u)return;let e=window.matchMedia("(min-width: 600px)"),t=()=>i(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[u]);let p=null!==d?!d.isMobile:o;(0,eu.useEffect)(()=>{n(!1)},[p]);let m=null===t||t===fm,h=e.find(e=>e.id===t)??null,g=m?fu:h?.label??fu;return(0,l.jsxs)("div",{className:"flex items-center gap-[var(--space-12)] min-w-0",children:[(0,l.jsx)("span",{className:"hidden min-[900px]:block min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",style:{fontSize:"var(--type-meta, 13px)",fontWeight:"var(--font-weight-semibold, 600)",color:"var(--color-fg)"},children:"See how Square POS fits your business"}),m?(0,l.jsx)("style",{children:`
826          @keyframes square-pill-breathe {
827            0%, 100% { border-color: var(--color-border); }
828            50% { border-color: color-mix(in srgb, var(--color-brand-500) 75%, transparent); }
829          }
830          .square-pill-breathe { animation: square-pill-breathe 3s ease-in-out infinite; }
831        `}):null,(0,l.jsxs)("div",{ref:s,className:"relative shrink-0",children:[(0,l.jsx)(sH.Pill,{type:"button",id:oD.CHAT_TRACKING_IDS.personaTrigger,"aria-haspopup":"true","aria-expanded":r,onClick:()=>n(e=>!e),className:(m?"square-pill-breathe ":"")+"gap-[var(--space-8)] cursor-pointer rounded-[var(--radius-pill)] border-[color:var(--color-border)] pt-0 pr-[var(--space-8)] pb-0 pl-[var(--space-14)]",style:{"--pill-hover-bg":"var(--color-bg-subtle)","--pill-hover-fg":"var(--color-fg)",height:"34px",borderWidth:"1.5px",fontFamily:"var(--font-sans)",fontSize:"var(--type-meta, 13px)",fontWeight:"var(--font-weight-semibold, 600)"},children:(0,l.jsxs)("span",{className:"contents",children:[m?(0,l.jsx)("span",{"aria-hidden":"true",children:"✦"}):null,(0,l.jsx)("span",{className:"max-w-[12rem] truncate",children:g}),(0,l.jsx)("span",{"aria-hidden":"true",children:r?"▴":"▾"})]})}),(0,l.jsx)(bj,{open:r,useSheet:!p,onDismiss:c,boundaryRef:s,dropdown:r=>(0,l.jsx)("div",{role:"listbox",style:{position:"absolute",top:"48px",left:0,width:"288px",zIndex:"var(--z-header-popover, 70)",borderRadius:"var(--radius-lg)",border:"1px solid var(--color-border)",background:"var(--color-bg)",boxShadow:"var(--shadow-elevated)",padding:"7px",opacity:+!!r,transform:r?"translateY(0)":"translateY(-6px)",transition:"opacity 0.16s ease, transform 0.16s ease"},children:(0,l.jsx)(bA,{variant:"dropdown",personas:e,activePersonaId:t,isDefaultPersona:m,onSelect:e=>{a(e),n(!1)}})}),sheet:(0,l.jsx)(bE,{open:r&&!p,onOpenChange:n,personas:e,activePersonaId:t,isDefaultPersona:m,onSelect:e=>{a(e),n(!1)}})})]})]})}let bP={filled:"filled",ghost:"ghost","ghost-primary":"ghost-primary",outlined:"outlined",phone:"filled"};function bz({ctas:e}){return 0===e.length?null:(0,l.jsxs)("div",{className:"flex items-center shrink-0 gap-[var(--space-12,12px)] max-[600px]:gap-[var(--space-6,6px)] [--button-padding-x:16px] max-[600px]:[--button-padding-x:var(--space-8,8px)]",style:{"--button-weight":"var(--font-weight-medium, 500)","--button-fg":"var(--color-fg)","--button-border-color":"var(--color-border)","--button-min-h":"36px","--button-padding-y":"0px","--button-size":"12.5px","--button-line-height":"1","--button-bg-hover":"transparent","--button-fg-hover":"var(--color-fg)"},children:[(0,l.jsx)("style",{children:`
832        .square-cta-hover-border:hover { border-color: var(--color-fg) !important; }
833      `}),e.map((e,t)=>{let a=bP[e.style],r=e.label.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"");return(0,l.jsx)(nQ.Button,{asChild:!0,variant:a,className:"outlined"===a||"ghost-primary"===a?"square-cta-hover-border":void 0,children:(0,l.jsx)("a",{id:`square_header_cta_${t}_${r}`,href:e.href??"#",children:e.label})},`${e.href??""}::${e.label}`)})]})}let bR={backgroundColor:"color-mix(in srgb, var(--color-bg) 92%, transparent)",backdropFilter:"saturate(1.8) blur(10px)",WebkitBackdropFilter:"saturate(1.8) blur(10px)"},bL="max(var(--sq-header-gutter, 24px), calc((100% - var(--width-xl, 1200px)) / 2 + var(--sq-header-gutter, 24px)))",bO="self-stretch flex items-center min-h-0 max-[599.98px]:overflow-hidden";function bM({header:e,state:t}){var a;let r,n,{hasLogo:o,ctas:i}=(a=e.layout,r=!1,n=[],(0,mh.walkChromeItems)(a,e=>{"LOGO"===e.type?r=!0:"CTA_BUTTON"===e.type&&n.push(e)}),{hasLogo:r,ctas:n}),{isMobile:s,rightSlot:c}=t;return(0,l.jsxs)("div",{"data-square-header":"","data-device":s?"mobile":"desktop","data-right-slot":c,className:"group [--sq-header-gutter:var(--space-24,24px)] max-[599.98px]:[--sq-header-gutter:var(--space-20,20px)] max-[374.98px]:[--sq-header-gutter:var(--space-16,16px)]",style:{display:"grid",gridTemplateColumns:`${bL} auto minmax(0, 1fr) auto ${bL}`,gridTemplateRows:"58px 1px",isolation:"isolate"},children:[(0,l.jsx)("div",{"aria-hidden":"true",style:{gridArea:"1 / 1 / 3 / -1",...bR,position:"relative",zIndex:-1,pointerEvents:"none"}}),o?(0,l.jsx)("div",{className:bO,style:{gridArea:"1 / 2 / 2 / 3",justifySelf:"start"},children:(0,l.jsx)(b_,{})}):null,(0,l.jsx)("div",{className:`${bO} row-start-1 min-[600px]:col-start-3 min-[600px]:col-end-4 max-[599.98px]:col-start-3 max-[599.98px]:col-end-5 min-[600px]:justify-self-center max-[599.98px]:justify-self-end min-[600px]:px-[var(--space-24)] min-w-0 max-w-full relative z-[1] max-[599.98px]:group-data-[right-slot=ctas
833]:hidden`,children:(0,l.jsx)(bT,{})}),(0,l.jsx)("div",{className:`${bO} row-start-1 min-[600px]:col-start-4 min-[600px]:col-end-5 max-[599.98px]:col-start-3 max-[599.98px]:col-end-5 justify-self-end min-w-0 max-[599.98px]:max-w-full max-[599.98px]:group-data-[right-slot=persona]:hidden max-[599.98px]:group-data-[right-slot=pending]:hidden`,children:(0,l.jsx)(bz,{ctas:i})}),(0,l.jsx)("div",{"aria-hidden":"true",style:{gridRow:2,gridColumn:"1 / -1",background:"var(--color-border)"}})]})}let bH={id:"square",components:{},pages:{"/":function(e){return(0,l.jsx)(yy,{children:(0,l.jsx)(bu,{})})}},articleOverlay:{Body:function({atom:e}){let t=(0,L.useArticleOverlay)(),{sequence:a,currentSlug:r}=t,n=e.atom_metadata,o=e.article,i=n.headline??o.title??"",s=o.description??(o.summary??"").split("\n\n")[0]??"",c=n.media_url??o.featured_image_url??void 0,{blocks:d,stats:u}=function(e,t){let a=bm.safeParse(e.article.source_data);if(!a.success||!a.data.body)return{blocks:[],stats:[]};let r=[],n=[];for(let e of a.data.body)if("basic_image"===e.block_type){let t=bh.safeParse(e.value);t.success&&t.data.basic_image?.file&&r.push({kind:"image",src:t.data.basic_image.file,alt:t.data.basic_image.alt_text??""})}else if("inline_video"===e.block_type){let t=bg.safeParse(e.value);t.success&&(t.data.provider??"youtube")==="youtube"&&r.push({kind:"video",src:t.data.url,caption:t.data.caption?.trim()||void 0})}else if("body_text"===e.block_type&&"string"==typeof e.value){let t=function(e){let t;try{t=new DOMParser().parseFromString(e,"text/html")}catch{return{blocks:[],stats:[]}}let a=[];t.querySelectorAll(".sq-data-viz__big-text").forEach(e=>{let t=(e.textContent??"").trim(),r=e.nextElementSibling,n=r&&r.classList.contains("sq-data-viz__small-text")?(r.textContent??"").trim():"";t&&a.push({value:t,caption:n})});let r=[],n=e=>bf.test(e.className?.toString?.()??""),o=e=>{for(let t of Array.from(e.children)){if(n(t))continue;let e=t.tagName.toLowerCase(),a=bb((t.textContent??"").replace(/\s+/g," ").trim());if("div"===e){o(t);continue}if(!(!a||by.test(a)||bv.test(a))){if("h2"===e)r.push({kind:"heading",level:2,text:a});else if("h3"===e||"h4"===e)r.push({kind:"heading",level:3,text:a});else if("p"===e)r.push({kind:"para",text:a});else if("blockquote"===e)r.push({kind:"quote",text:a});else if("ul"===e||"ol"===e){let e=Array.from(t.querySelectorAll(":scope > li")).filter(e=>!n(e)).map(e=>bb((e.textContent??"").replace(/\s+/g," ").trim())).filter(Boolean);e.length&&r.push({kind:"list",items:e})}}}};return o(t.body.querySelector(".rich-text")??t.body),{blocks:r,stats:a}}(e.value);r.push(...t.blocks),n.push(...t.stats)}if(!r.some(e=>"video"===e.kind)){let t=e.article.video_asset;if(t?.video_url){let e={kind:"video",src:t.video_url,caption:t.title},a=r.findIndex(e=>"para"===e.kind);r.splice(a>=0?a+1:0,0,e)}}let o=r.findIndex(e=>"heading"===e.kind&&/about this business/i.test(e.text));if(o>=0){let e=o+1;for(;e<r.length;){let t=r[e];if(!t)break;if("list"===t.kind||"heading"===t.kind&&3===t.level)e++;else break}r.splice(o,e-o)}let i=t?bw(t):void 0;i&&(r=r.filter(e=>"image"!==e.kind||bw(e.src)!==i));let s=r.findIndex(e=>"para"===e.kind);if(s>0){let e=r.slice(0,s).filter(e=>"image"===e.kind);if(e.length>0){let t=r.slice(0,s).filter(e=>"image"!==e.kind);r.splice(0,s,...t);let a=r.findIndex(e=>"para"===e.kind)+1;r.splice(a,0,...e)}}return{blocks:r,stats:n}}(e,c),p=0===d.length,m=p?vo(o.summary):[],h=p?(0,n0.pickInsights)(e,8):[],g=a&&r?a.findIndex(e=>e.slug===r):-1,f=a&&a.length>1&&g>=0?{prev:a[vl(g-1,a.length)],next:a[vl(g+1,a.length)]}:null,y=e=>{let r=e?.atom??null;r&&a?t.openArticleWithSequence(r,a,e.slug):t.navigateTo(e.slug)},v=f?(0,l.jsx)(fA,{position:r??"",prev:{label:f.prev.label,onClick:()=>y(f.prev)},next:{label:f.next.label,onClick:()=>y(f.next)}}):null,b=(o.authors??[]).flatMap(e=>{let t=e.author,a=[t.first_name,t.last_name].map(e=>e?.trim()??"").filter(e=>e.length>0).join(" ");if(!a)return[];let r=t.bio;return[{name:a,bio:"string"==typeof r?r:void 0}]}),x=b.map(e=>e.name).join(", "),w=b.filter(e=>e.bio),k=function(e){if(!e)return;let t=new Date(e);if(!Number.isNaN(t.getTime()))return t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"}).toUpperCase()}(o.post_date),_=[];return d.forEach((e,t)=>{"heading"===e.kind&&2===e.level&&_.push({id:`csb-h-${t}`,text:e.text})}),(0,l.jsxs)("div",{className:"-m-6 flex flex-col pt-[var(--space-50,50px)] px-[var(--space-40,40px)] pb-[var(--space-30,30px)] max-[600px]:pt-[var(--space-24,24px)] max-[600px]:px-[var(--space-18,18px)] max-[600px]:pb-[var(--space-30,30px)]",children:[(0,l.jsx)("h2",{style:{fontFamily:"var(--font-heading)"},className:"m-0 mt-[16px] mb-[46px] max-[600px]:mt-[10px] max-[600px]:mb-[26px] text-[length:var(--type-h2)] max-[600px]:text-[length:var(--type-h4)] font-[var(--font-weight-bold)] leading-[var(--leading-snug)] tracking-[var(--tracking-tight)] text-[color:var(--color-fg)]",children:i}),c||s||x||k?(0,l.jsxs)("div",{className:"mb-[44px] max-[600px]:mb-[30px] grid items-start gap-[38px] max-[600px]:gap-[18px] md:grid-cols-[1.12fr_1fr]",children:[c?(0,l.jsx)("div",{className:"overflow-hidden rounded-[var(--radius-lg-container,16px)]",children:(0,l.jsx)("img",{src:bx(c),alt:"",className:"block h-auto w-full object-cover"})}):null,(0,l.jsxs)("div",{className:"min-w-0",children:[s?(0,l.jsx)("p",{className:"m-0 mt-[2px] text-[length:var(--type-body)] leading-[var(--leading-loose)] text-[color:var(--color-fg)]",children:s}):null,x||k?(0,l.jsxs)("p",{style:{fontFamily:"var(--font-mono)"},className:"m-0 mt-[24px] max-[600px]:mt-[18px] uppercase text-[length:var(--type-overline)] tracking-[var(--tracking-caps)] leading-[var(--leading-loose)] text-[color:var(--color-fg-muted)]",children:[x?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("b",{className:"font-[var(--font-weight-semibold)] text-[color:var(--color-fg)]",children:["BY ",x]}),k?" · ":null]}):null,k]}):null]})]}):null,(0,l.jsxs)("div",{className:_.length>
8330?"grid gap-[60px] md:grid-cols-[216px_minmax(0,1fr)]":void 0,children:[_.length>0?(0,l.jsx)("aside",{className:"hidden md:block",children:(0,l.jsxs)("div",{className:"sticky top-[44px]",children:[(0,l.jsx)("div",{style:{fontFamily:"var(--font-heading)"},className:"mb-[14px] text-[length:var(--type-h5)] font-[var(--font-weight-bold)] text-[color:var(--color-fg)]",children:"Table of contents"}),(0,l.jsx)("nav",{className:"flex flex-col",children:_.map(e=>(0,l.jsx)("button",{type:"button",onClick:()=>document.getElementById(e.id)?.scrollIntoView({behavior:"smooth",block:"start"}),className:"m-0 cursor-pointer appearance-none border-0 bg-transparent p-0 py-[6px] text-left text-[length:var(--type-meta)] leading-[var(--leading-body)] text-[color:var(--color-fg)] hover:text-[color:var(--color-brand-500)]",children:e.text},e.id))})]})}):null,(0,l.jsxs)("div",{className:"flex min-w-0 flex-col gap-[var(--space-20,20px)]",children:[d.map((t,a)=>"image"===t.kind?(0,l.jsx)("img",{src:bx(t.src),alt:t.alt,className:"my-[10px] w-full rounded-[var(--radius-lg-container,16px)]"},a):"video"===t.kind?(0,l.jsxs)("div",{className:"my-[10px]",children:[(0,l.jsx)("div",{className:"overflow-hidden rounded-[var(--radius-lg-container,16px)]",children:(0,l.jsx)(bp.Video,{data:{provider:"youtube",src:t.src,alt:t.caption||i||"Watch the video"},atomId:`${n.atom_id??e.id??"square-article"}-video-${a}`})}),t.caption?(0,l.jsx)("p",{className:"m-0 mt-[8px] text-[length:var(--type-meta)] text-[color:var(--color-fg-muted)]",children:t.caption}):null]},t.src):"heading"===t.kind?(0,l.jsx)("h3",{id:2===t.level?`csb-h-${a}`:void 0,style:{fontFamily:"var(--font-heading)"},className:2===t.level?"m-0 mt-[16px] text-[length:var(--type-h4)] max-[600px]:text-[length:var(--type-lead)] font-[var(--font-weight-bold)] leading-[var(--leading-snug)] tracking-[var(--tracking-tight)] text-[color:var(--color-fg)]":"m-0 text-[length:var(--type-h5)] font-[var(--font-weight-bold)] leading-[var(--leading-snug)] text-[color:var(--color-fg)]",children:t.text},a):"quote"===t.kind?(0,l.jsx)("blockquote",{style:{fontFamily:"var(--font-heading)",borderTopRightRadius:"var(--radius-md)",borderBottomRightRadius:"var(--radius-md)"},className:"m-0 border-l-4 border-[color:var(--color-brand-500)] bg-[color:var(--color-bg-subtle)] p-[18px_22px] text-[length:var(--type-lead)] max-[600px]:text-[length:var(--type-h5)] font-[var(--font-weight-semibold)] leading-[var(--leading-body)] text-[color:var(--color-fg)]",children:t.text},a):"list"===t.kind?(0,l.jsx)("ul",{className:"m-0 flex list-disc flex-col gap-[var(--space-5,6px)] pl-[var(--space-20,20px)]",children:t.items.map((e,t)=>(0,l.jsx)("li",{className:"text-[length:var(--type-body)] text-[color:var(--color-fg-muted)]",children:e},t))},a):(0,l.jsx)("p",{className:"m-0 text-[length:var(--type-body)] leading-[var(--leading-loose)] text-[color:var(--color-fg)]",children:t.text},a)),u.length>0?(0,l.jsx)("div",{className:"mt-[var(--space-10,8px)] flex flex-wrap gap-[var(--space-30,32px)] border-t border-[color:var(--color-border)] pt-[var(--space-20,20px)]",children:u.map((e,t)=>(0,l.jsxs)("div",{className:"min-w-[140px] flex-1",children:[(0,l.jsx)("div",{className:"text-[length:var(--type-stat-md)] font-[var(--font-weight-bold)] text-[color:var(--color-brand-500)]",children:e.value}),(0,l.jsx)("div",{className:"line-clamp-2 text-[length:var(--type-meta)] text-[color:var(--color-fg-muted)]",children:e.caption})]},t))}):null,m.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col gap-[var(--space-5,6px)]",children:[(0,l.jsx)("h3",{className:"m-0 text-[length:var(--type-h5)] text-[color:var(--color-fg)]",children:e.heading}),(0,l.jsx)("p",{className:"m-0 text-[length:var(--type-body)] text-[color:var(--color-fg-muted)]",children:e.body})]},`s${t}`)),h.length>0?(0,l.jsx)("ol",{className:"m-0 flex list-decimal flex-col gap-[var(--space-10,8px)] pl-[var(--space-20,20px)]",children:h.map((e,t)=>(0,l.jsx)("li",{className:"text-[length:var(--type-body)] text-[color:var(--color-fg-muted)]",children:e.replace(/^[-\s]+/,"")},t))}):null]})]}),w.length>0?(0,l.jsx)("div",{className:"mt-[42px] flex flex-col gap-[var(--space-16,16px)] border-t border-[color:var(--color-border)] pt-[30px] pb-[26px]",children:w.map(e=>(0,l.jsxs)("p",{className:"m-0 text-[length:var(--type-body)] leading-[var(--leading-loose)] text-[color:var(--color-fg)]",children:[(0,l.jsx)("b",{className:"text-[length:var(--type-body-sm)] font-[var(--font-weight-bold)]",children:e.name})," ",e.bio]},e.name))}):null,v]})},frameClassName:"w-[min(95vw,1032px)] max-[600px]:h-[100dvh] max-[600px]:max-h-[100dvh] max-[600px]:w-screen max-[600px]:rounded-none"}
833,chrome:{Header:function({header:e}){let t,a,r,n,o,i=(t=(0,eu.useSyncExternalStore)(fw,()=>fv,()=>0),a=(0,eu.useSyncExternalStore)(fw,()=>fb,()=>fx),r=(0,bC.useSentinelCondense)(fh,{condenseLinePx:1,uncondenseLinePx:64,remeasureKey:t}),n=0===a.size?"unknown":a.has(fh)?r?"out-of-view":"in-view":"out-of-view",o=vc(bS),(0,eu.useMemo)(()=>({isMobile:o,heroStatus:n,rightSlot:"unknown"===n?"pending":"in-view"===n?"persona":"ctas"}),[n,o]));return(0,l.jsx)(bN,{value:i,children:(0,l.jsx)(bM,{header:e,state:i})})},headerFloat:!0,Footer:()=>null},icons:{source:"square",catalog:[{name:"check",description:"Affirmative checkmark inline next to a short trust/feature bullet (e.g. the hero's trust-item pills)."},{name:"apple",description:"Apple / App Store brand mark. Use next to an 'App Store' mention (e.g. the hero's ratings dockbar)."},{name:"jewel",description:"The Square brand jewel (square-in-square mark). Use as a decorative brand accent above a headline — e.g. the closing call-to-action."},{name:"image-placeholder",description:"Framed-photo outline. Use ONLY as a stand-in where an image is expected but none is available yet (a grey media tile awaiting real art) — never as a semantic icon for a concept."},{name:"globe",description:"Region / language / locale. Use for a country-or-language selector (e.g. the footer 'United States (English)' link)."},{name:"twitter",description:"Link to the brand's Twitter/X profile (footer social row)."},{name:"facebook",description:"Link to the brand's Facebook page (footer social row)."},{name:"instagram",description:"Link to the brand's Instagram profile (footer social row)."},{name:"bag",description:"Shopping bag — omnichannel selling ('sell everywhere', in person + online)."},{name:"tap",description:"Contactless / tap-to-pay device — accepting every payment method (tap, contactless, wallets)."},{name:"bolt",description:"Lightning bolt — speed / instant setup ('go live today', fast onboarding)."},{name:"chart",description:"Bar chart — analytics / reporting ('know what sells', real-time sales data)."},{name:"tag",description:"Price tag — pricing / cost ('$0 to start', no monthly fees)."},{name:"heart",description:"Heart outline — customer affinity and retention: loyalty programs, rewards, repeat clients, CRM. Not for 'favorite/save' UI affordances."}],byName:fg},motion:{tokens:{duration:{base:.28,slow:.44}},named:{[yp]:(e,t)=>{let a=1.4*t.duration.slow,r=M.gsap.timeline();return r.to(e,{opacity:1,duration:t.duration.base,ease:t.ease.enter}),r.addLabel(ym),r.to(e,{opacity:0,duration:t.duration.base,ease:t.ease.exit,delay:a}),r},[yh]:(e,t)=>M.gsap.to(e,{backgroundPosition:"-200% 0",duration:2.5*t.duration.slow,ease:"none",repeat:-1})}},trackSinks:[{sink:"cdp",kind:"cdp",options:{flushMs:2e4,maxBatch:20}}],trackMaps:[{sink:"cdp",clicks:[{id:oD.CHAT_TRACKING_IDS.send,event:"Chat Message Sent"}],pageView:{event:"Page Viewed",onBoot:!0},links:{event:"Click Link"},scrollDepth:{event:"Scroll Page"},heartbeat:{event:"Heartbeat",intervalMs:5e3},consentChange:{event:"Onetrust Consent Changed"},lifecycle:{articleView:"Case Study Viewed"}}]},bD={margin:"24px",padding:"20px 24px",border:"2px dashed var(--color-brand-500, #7b61c4)",borderRadius:"8px",background:"var(--color-bg-subtle, rgba(123, 97, 196, 0.06))",color:"var(--color-fg, inherit)"},bq={fontSize:"var(--type-meta)",fontWeight:"var(--font-weight-emphasis, 600)",letterSpacing:"0.08em",color:"var(--color-brand-500, #7b61c4)"},bW={fontSize:"var(--type-h4)",fontWeight:"var(--font-weight-emphasis, 600)",margin:"4px 0 12px"},b$={fontSize:"var(--type-meta)",color:"var(--color-fg-muted, inherit)"},bU={fontSize:"var(--type-body-sm)",margin:"0 0 10px",whiteSpace:"pre-wrap",overflowWrap:"anywhere"};function bF(e){return"string"==typeof e?e:JSON.stringify(e,null,1)}function bB({refName:e,content:t,facets:a}){let r=Object.entries(t);return(0,l.jsxs)("section",{id:`section-${e}`,"data-section":e,style:bD,children:[(0,l.jsx)("div",{style:bq,children:"PLACEHOLDER SECTION · GEICO PACK PENDING"}),(0,l.jsx)("div",{style:bW,children:e}),0===r.length?(0,l.jsx)("p",{style:bU,children:"(no authored copy)"}):r.map(([e,t])=>(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:b$,children:e}),(0,l.jsx)("p",{style:bU,children:bF(t)})]},e)),a?(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:b$,children:"facets (feed scoping this section would query with)"}),(0,l.jsx)("p",{style:bU,children:bF(a)})]}):null]})}let bG=new Set(["geico-resources"]),bK=em.z.record(em.z.string(),em.z.unknown()),bV=Object.fromEntries(["geico-hero","geico-why-geico","geico-coverage-explainer","geico-getting-started","geico-savings-comparison","geico-bundle-savings","geico-quote-cta","geico-resume-quote","geico-resources","geico-faq"].map(e=>[e,{Component:({content:t,facets:a})=>(0,eu.createElement)(bB,{refName:e,content:t,facets:a}),copySchema:bK,...bG.has(e)?{acceptsFacets:!0}:{}}]));function bZ(e,t,a){let r=`[PLACEHOLDER \xb7 ${e} \xb7 PACK PAGE]`;return[{refName:"geico-home-hero",content:{eyebrow:`${r} MOTORCYCLE INSURANCE`,headline:`${r} ${t}`,body:`${r} Placeholder hero copy — replaced by the real GEICO pack page for this persona.`,cta:{label:`${r} Get a motorcycle quote`,href:"https://www.geico.com/motorcycle-insurance/"}}},...a.map(([e,t])=>({refName:e,content:{heading:`${r} ${t}`,body:`${r} Placeholder section copy.`}}))]}let bY=bZ("NO PERSONA (default page)","Coverage built for how you ride",[["geico-home-why","Why riders choose GEICO"],["geico-home-coverage","What a motorcycle policy covers"]]),bJ={the_switcher:bZ("THE SWITCHER","See what you could save by switching",[["geico-home-savings","Compare what you pay today"],["geico-home-coverage","What a motorcycle policy covers"]]),the_cross_sell_bundler:bZ("THE CROSS-SELL / BUNDLER","Add your bike and bundle",[["geico-home-bundle","Bundle auto and motorcycle"],["geico-home-coverage","What a motorcycle policy covers"]]),the_aspiring_rider:bZ("THE ASPIRING RIDER","Your first bike, covered",[["geico-home-getting-started","Getting started as a rider"],["geico-home-coverage","What a motorcycle policy covers"]])},bX={zillow:cc,wwc:p_,knotch:fc,square:bH,geico:{id:"geico",components:{},pages:{"/":function(){let{activePersonaId:e,isBootResolving:t}=(0,R.useActivePersona)();if(t)return(0,l.jsx)("div",{className:"min-h-screen",children:(0,l.jsx)(n
833Z.ComponentSkeleton,{state:"pending"})});let a=(e?bJ[e]:void 0)??bY;return(0,l.jsx)(l.Fragment,{children:a.map(e=>(0,l.jsx)(bB,{refName:e.refName,content:e.content},e.refName))})}},campaignSections:bV}};function bQ(e){return e&&0!==e.length?e.map(e=>bX[e]).filter(e=>void 0!==e):[]}function b0(e){return e instanceof Element?e.closest("a, button, input, textarea, select"):null}function b1(e,t,a){let r,n=(r=t.innerText?.trim()||t.getAttribute("aria-label")?.trim()||t.getAttribute("placeholder")?.trim()||t.getAttribute("value")?.trim()||void 0)?r.slice(0,200):void 0,o=t.tagName.toLowerCase();return"camelCase"===a?{type:e,elementText:n,elementType:o}:{type:e,element_text:n,element_type:o}}function b2(e,t,a){if("camelCase"===e.field_casing){let r={type:e.events.view,viewType:t};return a&&(r.originalContentUrl=a),r}let r={type:e.events.view,view_type:t};return a&&(r.original_content_url=a),r}function b5(e,t){for(let a of t)window.parent.postMessage(e,a)}var b4=e.i(68072);function b3(e,t){return"string"==typeof e.sink?e.sink===t.sink:!0===t.authored}let b6={endpoint:"/api/square/cdp/batch",flushMs:2e4,maxBatch:20,queueMax:200,maxBytes:49152},b8=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid"],b7={martech:function(e){let t=t=>{let a=t.detail;if(!a?.event||!b3(a,e))return;let r=window.martech;r?.track?.({...a.properties??{},event:a.event})};return window.addEventListener(b4.TRACK_EVENT,t),{stop:()=>window.removeEventListener(b4.TRACK_EVENT,t)}},cdp:function(e){let t,a,r=(t=e.options??{},a=e=>"number"==typeof t[e]?t[e]:b6[e],{endpoint:"string"==typeof t.endpoint?t.endpoint:b6.endpoint,flushMs:a("flushMs"),maxBatch:a("maxBatch"),queueMax:a("queueMax"),maxBytes:a("maxBytes")}),n=function(){let e={},t=new URLSearchParams(window.location.search);for(let a of b8){let r=t.get(a);r&&(e[a]=r)}return e}(),o=Object.keys(n).length>0;return function(e){let{config:t,endpoint:a,toMessage:r,serialize:n,telemetryPrefix:o}=e,i=[],s=null,l=null,c=()=>{let t=i.slice(0,e.maxBatch);for(;t.length>1&&n(t).length>e.maxBytes;)t=t.slice(0,Math.ceil(t.length/2));return i=i.slice(t.length),t},d=()=>{null!==s&&(clearTimeout(s),s=null)},u=()=>{if(d(),0===i.length||l)return;let e=c(),t=n(e);(0,en.logTelemetry)(`${o}.flush`,{count:e.length,transport:"fetch"}),l=fetch(a,{method:"POST",headers:{"content-type":"application/json"},body:t,keepalive:!0}).catch(t=>{(0,en.logTelemetry)(`${o}.flush-failed`,{count:e.length,error:String(t)})}).finally(()=>{l=null,i.length>0&&u()})},p=a=>{let n=a.detail;if(!n?.event||!b3(n,t))return;let l=r(n);if(null!==l){if(i.push(l),i.length>e.queueMax){let t=i.length-e.queueMax;i=i.slice(t),(0,en.logTelemetry)(`${o}.dropped`,{reason:"queue-full",count:t})}(0,en.logTelemetry)(`${o}.queued`,{event:n.event,queueLength:i.length}),i.length>=e.maxBatch||e.flushImmediately?.(n)?u():null===s&&(s=setTimeout(u,e.flushMs))}},m=e=>{if("visibilitychange"===e.type&&"visible"===document.visibilityState||0===i.length)return;let t=c(),r=new Blob([n(t)],{type:"application/json"});(0,en.logTelemetry)(`${o}.flush`,{count:t.length,transport:"beacon"}),navigator.sendBeacon?.(a,r)};return window.addEventListener(b4.TRACK_EVENT,p),window.addEventListener("pagehide",m),document.addEventListener("visibilitychange",m),{stop(e){if(d(),window.removeEventListener(b4.TRACK_EVENT,p),window.removeEventListener("pagehide",m),document.removeEventListener("visibilitychange",m),e?.discard){i.length>0&&(0,en.logTelemetry)(`${o}.dropped`,{reason:"stopped",count:i.length}),i=[];return}u()}}}({config:e,endpoint:r.endpoint,toMessage:e=>{let t,a;return{...e.isViewEntry?{apiMethod:"page"}:{apiMethod:"track",eventName:e.event},properties:{...(t={},(a=nC())&&a.size>0&&(t.onetrust_active_group=[...a].join(",")),t),...e.properties??{}},timestamp:new Date().toISOString(),context:{userAgent:navigator.userAgent,locale:navigator.language,page:{path:window.location.pathname,url:window.location.href,...e.viewId?{sessionToken:e.viewId}:{}},...o?{campaign:n}:{}}}},serialize:e=>JSON.stringify({batch:e}),flushImmediately:e=>!0===e.isViewEntry,telemetryPrefix:"square-cdp",flushMs:r.flushMs,maxBatch:r.maxBatch,queueMax:r.queueMax,maxBytes:r.maxBytes})}};function b9(e){let t=b7[e.kind];return t?t(e):((0,en.logTelemetry)("track-sinks.unknown-kind",{kind:e.kind,sink:e.sink}),{stop:()=>{}})}function xe({blueprint:e,config:t,registry:a,Template:r,brandMotion:n,personalizationBannerCopy:o,personalizationBannerHidden:i,personaPickerContent:s,articleOverlayBodies:g,publishedCardRenderer:y,packIcons:v,packPages:x,campaignSections:k,afterCanvas:j,packChrome:C,getAuthHeaders:N,authReady:T,trackingActive:P,children:O}){let q,W=(0,D.useCanvas)(),G=(0,eu.useMemo)(()=>h(W),[W]),{currentPath:er}=(0,ei.useQueenNavigation)(),en=(0,eu.useMemo)(()=>(0,el.resolvePersonasForPath)(t.personas,er),[t.personas,er]),eo=(0,eu.useMemo)(()=>(function(e,t){var a;let r=e?.active_persona_id,n=(a=e?.page.context_selector)&&("PILL_PICKER"===a.type||"DROPDOWN_PICKER"===a.type||"CARD_PICKER"===a.type)&&"persona"===a.selection_semantic?a.options.map(e=>({id:e.id,label:e.label,description:e.description,icon:"icon_url"in e?e.icon_url:void 0})):null;if(null!==n)return n.length<2?{personas:[],defaultPersonaId:null,
833source:"blueprint-picker"}:{personas:n,source:"blueprint-picker",...p(n,r)};if(t.length>=2){let a=t.map(e=>({id:e.key,label:e.display_label??e.key,description:e.value,icon:e.icon}));return e?.page.context_selector.type==="GUIDED_FLOW"?{personas:a,defaultPersonaId:null,source:"client-config"}:{personas:a,source:"client-config",...p(a,r)}}return{personas:[],defaultPersonaId:null,source:"none"}})(e,en),[e,en]),es=(q=e?.page?.context_selector,q?.type==="DROPDOWN_PICKER"&&q?.selection_semantic==="persona"),{state:ec,registerCanvas:ed}=(0,D.useCanvasState)(),ep=(0,eu.useRef)(ec);(0,eu.useEffect)(()=>{ep.current=ec},[ec]);let em=(0,eu.useCallback)(async(e,t)=>{let a,r,n,o=ep.current.path;try{let r=new Headers(await N()),n=function(e){let t=Object.entries(e);if(0!==t.length)return t.map(([e,t])=>`${e}=${encodeURIComponent(t)}`).join("; ")}(function(e,t={}){let a={};for(let[t,r]of new URLSearchParams(e))t in a||(a[t]=r);return function(e,t={}){let a={};for(let[t,r]of Object.entries(e)){if(Object.keys(a).length>=8)break;let e=t.trim().toLowerCase();if(!e||d.includes(e)||!function(e){return c.some(t=>e.includes(t))}(e))continue;let n=(Array.isArray(r)?r[0]:r)?.trim();n&&(n.length>128||(a[e]=n))}let r=function(e){if(!e)return null;try{let{hostname:t}=new URL(e);return t||null}catch{return null}}(t.referrer);return r&&Object.keys(a).length<8&&(a.referrer_host=r),Object.freeze(a)}(a,t)}(window.location.search));n&&r.set("X-Kn-Signal",n),a=await fetch(`/api/blueprint/canvas?path=${encodeURIComponent(o)}`+(null===e?"":`&persona_id=${encodeURIComponent(e)}`),{headers:r,signal:t,cache:"no-store"})}catch(e){if(e?.name==="AbortError")throw e;return null}if(!a.ok)return null;try{r=await a.json()}catch{return null}let i=u.Canvas.safeParse(r);if(!i.success)return null;let s=(n=ep.current.canvas)&&"cold_start"in n?n.cold_start?.message:void 0,l=i.data.cold_start?.message;return ed(o,i.data),{coldStartMessage:void 0!==l&&l!==s?l:null}},[N,ed]);return(0,l.jsx)("div",{style:{...(0,z.buildThemeStyle)(t.theme),...(0,E.buildComponentStyle)(t.theme.componentStyles),...(0,m.buildBlueprintStyle)(e,W),fontFamily:"var(--font-sans)",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",color:"var(--color-fg-body, var(--color-fg))",height:"100%"},children:(0,l.jsx)(R.ActivePersonaProvider,{personas:eo.personas,defaultPersonaId:eo.defaultPersonaId,unknownActivePersonaId:eo.unknownActivePersonaId,brandId:t.brandId,refetchBlueprint:es?void 0:em,children:(0,l.jsx)(F.GuidedFlowProvider,{brandId:t.brandId,children:(0,l.jsx)(ea.TrackingActiveProvider,{active:P,children:(0,l.jsxs)($.ConversationProvider,{getAuthHeaders:N,authReady:T,chatRegionConfig:G,children:[(0,l.jsx)(xt,{}),(0,l.jsx)(H.CanvasAnchorProvider,{children:(0,l.jsx)(Q.RegistryProvider,{registry:a,children:(0,l.jsx)(K.PackChromeProvider,{chrome:C,children:(0,l.jsx)(B.AfterCanvasProvider,{component:j,children:(0,l.jsx)(Y.PackPagesProvider,{pages:x,children:(0,l.jsx)(Z.CampaignSectionsProvider,{sections:k,children:(0,l.jsx)(X.PublishedFeedRendererProvider,{renderer:I.PublishedFeed,children:(0,l.jsx)(J.PublishedCardRendererProvider,{renderer:y,children:(0,l.jsx)(V.PackIconsProvider,{icons:v,children:(0,l.jsxs)(M.BrandMotionProvider,{motion:n,children:[(0,l.jsx)(nf,{}),(0,l.jsx)(w.GuidedFlowModal,{brandId:t.brandId,personaPickerContent:s}),i?null:(0,l.jsx)(S.PersonalizationBanner,{copy:o}),(0,l.jsxs)(et.SummaryProvider,{getAuthHeaders:N,children:[(0,l.jsx)(A.SummaryModal,{}),(0,l.jsxs)(L.ArticleOverlayProvider,{children:[(0,l.jsx)(f.ArticleOverlay,{bodies:g}),(0,l.jsxs)(ee.ResponseViewProvider,{children:[(0,l.jsx)(_.KnotchResponseView,{}),(0,l.jsx)(b.ComposeModal,{}),(0,l.jsx)(U.DemoFormProvider,{children:(0,l.jsx)(xr,{Template:r,children:(0,l.jsx)(xn,{children:O})})})]})]})]})]})})})})})})})})})})]})})})})})}function xt(){let{activePersonaId:e}=(0,R.useActivePersona)(),{currentPath:t}=(0,ei.useQueenNavigation)(),{conversationId:a}=(0,$.useConversation)();return(0,es.useTrackContextSync)({personaId:e,conversationId:a,path:t}),null}function xa(){var e,t,a;let r,n=(0,T.useClientConfig)(),o=nb(),i=nT(),s=(e=n.analytics?.ktagAccountId,t=eg.NEXT_PUBLIC_QUEEN_KTAG_ACCOUNT_ID,e??t),[c,d]=(0,eu.useState)(!1),u=(0,eu.useRef)(null);(0,eu.useEffect)(()=>{},[s]),(0,eu.useEffect)(()=>
833{o||d(nA(i,"analytics"))},[o,i]),(0,eu.useEffect)(()=>{if(!o)return;let e=function(){if("u"<typeof IntersectionObserver)return{stop:()=>{}};let e=(void 0)??document.documentElement,t=document.documentElement,a=new IntersectionObserver(a=>{var r;let n=a[a.length-1];if(!n||0===n.intersectionRatio)return;let o=e.clientHeight;r=Math.min(Math.max(0,Math.round(o-n.intersectionRect.bottom)),Math.max(0,o-96)),t.style.setProperty(nB,`${r}px`),t.style.setProperty(nG,`${r/2}px`)},{root:null,threshold:nK});a.observe(e);let r=()=>{"hidden"!==document.visibilityState&&(a.unobserve(e),a.observe(e))};return document.addEventListener("visibilitychange",r),{stop:()=>{document.removeEventListener("visibilitychange",r),a.disconnect(),t.style.removeProperty(nB),t.style.removeProperty(nG)}}}(),t=bQ(n.packs??[]),a=t.find(e=>e.eventBridge)?.eventBridge??null,r=a?function(e){if(0===e.target_origins.length)return{stop:()=>{}};function t(t){let a=t.detail;b5(b2(e,"article",a?.original_content_url),e.target_origins)}b5(b2(e,"ace"),e.target_origins),window.addEventListener(L.ARTICLE_VIEW_EVENT,t);let a=new WeakSet,r=null,n=null;function o(t){let o=b0(t.target);!o||a.has(o)||(null!==r&&clearTimeout(r),n=o,r=setTimeout(()=>{n===o&&(a.add(o),b5(b1(e.events.hover,o,e.field_casing),e.target_origins))},500))}function i(e){b0(e.target)===n&&(null!==r&&(clearTimeout(r),r=null),n=null)}function s(t){let a=b0(t.target);a&&b5(b1(e.events.click,a,e.field_casing),e.target_origins)}return document.addEventListener("mouseover",o,!0),document.addEventListener("mouseout",i,!0),document.addEventListener("click",s,!0),{stop(){document.removeEventListener("mouseover",o,!0),document.removeEventListener("mouseout",i,!0),document.removeEventListener("click",s,!0),window.removeEventListener(L.ARTICLE_VIEW_EVENT,t),null!==r&&clearTimeout(r)}}}(a):null;if(!s)return()=>{e.stop(),r?.stop()};let i=function(e){let t,a,r,n;if(!e.accountId)throw Error("startEmbedEventTracker: accountId is required");if(0===e.scrollSurfaces.length)throw Error("startEmbedEventTracker: at least one scroll surface is required");let o=window.location.origin,i=e.iframeUrl??window.location.href,s=e.forwarderVersion??"1.0.0",l="function"==typeof crypto.randomUUID?crypto.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`,c={kind:"probing",attempt:1},d=[],u=Date.now(),p=[],m=!1,h=!1;function g(e){if(p.length>=256){let e=p.shift();m||((0,en.logTelemetry)("ktag-relay-buffer-overflow",{dropped_event_type:e?.type??"unknown"}),m=!0)}p.push(e)}function f(e){var t,a;switch(c.kind){case"probing":g(e);return;case"relay":case"consent-pending":let r;t=function(e,t){if(!t||"content_interaction"!==e.type)return e;let a={...e};return delete a.target_text,a}(e,c.privacyMode),a=c.parentOrigin,r={kn_relay:1,type:"event",nonce:"function"==typeof crypto.randomUUID?crypto.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`,payload:t},window.parent.postMessage(r,a);return;case"silent":case"silent-telemetry":return;case"standalone-embed":if(h){let t;t=window.ktag,t?.trackEvent?t.trackEvent({...e,source:"queen-embed",embed_context:"no-parent-ktag",embed_target_url:window.location.href}):(0,en.logTelemetry)("ktag-standalone-trackevent-missing",{event_type:e.type})}else g(e);return}}function y(e){let t;f({...{time_stamp:Date.now(),session_time_stamp:"number"==typeof(t=window.ktag?.loadTime)&&Number.isFinite(t)?t:u,content_height:document.documentElement.scrollHeight,content_width:document.documentElement.scrollWidth},...e,type:e.type})}function v(){if(0!==p.length)for(let e of p.splice(0))f(e)}function b(){p.length=0}d.push(()=>{void 0!==r&&clearTimeout(r),void 0!==n&&clearTimeout(n)});let x=new Map,w=[];function k(e,t){switch(c.kind){case"probing":{let a=x.get(t.surface)??{};"iframe_scroll_progress"===e?a.scrollProgress=t:void 0!==t.visibility_state?a.activityVisibility=t:a.activityHeartbeat=t,x.set(t.surface,a);return}case"relay":case"consent-pending":var a;let r;a=c.parentOrigin,r={kn_relay:1,type:e,nonce:"function"==typeof crypto.randomUUID?crypto.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`,payload:t},window.parent.postMessage(r,a);return;case"silent":case"silent-telemetry":case"standalone-embed":return}}function _(){if(0===x.size)return;let e=Array.from(x.values());for(let t of(x.clear(),e))t.scrollProgress&&k("iframe_scroll_progress",t.scrollProgress),t.activityHeartbeat&&k("iframe_activity",t.activityHeartbeat),t.activityVisibility&&k("iframe_activity",t.activityVisibility)}function j(){x.clear()}let S="iframe";function C(){void 0===n&&(n=setTimeout(()=>{n=void 0,k("iframe_activity",{surface:S})},1e3))}function I(){k("iframe_activity",{surface:S,visibility_state:"hidden"===document.visibilityState?"hidden":"visible"})}function N(){void 0!==t&&(clearTimeout(t),t=void 0),void 0!==a&&(clearTimeout(a),a=void 0)}function A(t){let a;N(),c={kind:"standalone-embed"},(0,en.logTelemetry)("ktag-parent-missing",{reason:t}),e.onFallbackToStandalone?.(),j(),a=Date.now(),function e(){let t=window.ktag;if(t?.trackEvent){r=void 0,h=!0,(()=>
833{v()})();return}if(Date.now()-a>3e4){r=void 0,(0,en.logTelemetry)("ktag-standalone-trackevent-missing",{reason:"ready-timeout-30s"});return}r=setTimeout(e,100)}()}function E(t){let a={account_id:e.accountId,origin_claim:o,forwarder_version:s,iframe_url:i};window.parent.postMessage({kn_relay:1,type:"probe",nonce:l,payload:a},"*"),c={kind:"probing",attempt:t}}function T(t){let a=n$.safeParse(t.data);if(!a.success)return;let r=a.data;if("probing"!==c.kind&&"standalone-embed"!==c.kind&&t.origin!==c.parentOrigin)return void(0,en.logTelemetry)("ktag-postmessage-origin-mismatch",{expected:c.parentOrigin,received:t.origin});switch(r.type){case"ack":!function(e,t){if("probing"!==c.kind||e.nonce!==l)return;let a=nM.safeParse(e.payload);if(!a.success)return(0,en.logTelemetry)("ktag-postmessage-validation-failed",{type:"ack",issues:a.error.issues});let r=a.data,n=t.origin;if(N(),"pending"===r.consent_state||"unknown"===r.consent_state){c={kind:"consent-pending",parentOrigin:n,privacyMode:r.privacy_mode},v(),_();return}if(r.reject_mode){c={kind:"silent",reason:"reject-mode",parentOrigin:n},(0,en.logTelemetry)("ktag-parent-policy-suppressed",{reason:"reject-mode"}),b(),j();return}c={kind:"relay",parentOrigin:n,privacyMode:r.privacy_mode},v(),_()}(r,t);break;case"nack":!function(e,t){if("probing"!==c.kind||e.nonce!==l)return;let a=nH.safeParse(e.payload);if(!a.success)return(0,en.logTelemetry)("ktag-postmessage-validation-failed",{type:"nack",issues:a.error.issues});let r=a.data;N(),c={kind:"silent-telemetry",reason:r.reason,parentOrigin:t.origin},(0,en.logTelemetry)("ktag-parent-rejected",{reason:r.reason}),b(),j()}(r,t);break;case"parent_state_change":!function(e){var t,a;if("probing"===c.kind||"standalone-embed"===c.kind)return;let r=nW.safeParse(e.payload);if(!r.success)return(0,en.logTelemetry)("ktag-postmessage-validation-failed",{type:"parent_state_change",issues:r.error.issues});let n=(t=r.data,a=c.parentOrigin,"denied"===t.consent_state?{kind:"silent",reason:"consent-denied",parentOrigin:a}:t.reject_mode?{kind:"silent",reason:"reject-mode",parentOrigin:a}:"pending"===t.consent_state||"unknown"===t.consent_state?{kind:"consent-pending",parentOrigin:a,privacyMode:t.privacy_mode}:{kind:"relay",parentOrigin:a,privacyMode:t.privacy_mode});!function(e,t){if(e.kind===t.kind){"silent"===e.kind&&"silent"===t.kind&&e.reason!==t.reason&&(0,en.logTelemetry)("ktag-relay-silent-reason-changed",{prev_reason:e.reason,next_reason:t.reason});return}"relay"===e.kind&&"silent"===t.kind?"reject-mode"===t.reason?(0,en.logTelemetry)("ktag-relay-parent-rejected-midsession",{}):(0,en.logTelemetry)("ktag-relay-consent-denied",{from:"relay"}):("silent"===e.kind||"silent-telemetry"===e.kind)&&"relay"===t.kind?"silent"===e.kind&&"reject-mode"===e.reason?(0,en.logTelemetry)("ktag-relay-parent-rejected-resumed",{}):(0,en.logTelemetry)("ktag-relay-state-transition",{from:e.kind,to:"relay"}):"consent-pending"===e.kind&&"relay"===t.kind?(0,en.logTelemetry)("ktag-relay-consent-granted",{}):"consent-pending"===e.kind&&"silent"===t.kind?(0,en.logTelemetry)("ktag-relay-consent-denied",{from:"consent-pending"}):"relay"===e.kind&&"consent-pending"===t.kind?(0,en.logTelemetry)("ktag-relay-consent-pending-midsession",{}):(0,en.logTelemetry)("ktag-relay-state-transition",{from:e.kind,to:t.kind})}(c,n),c=n}(r);break;case"event_dropped":let n;(n=nD.safeParse(r.payload)).success?(0,en.logTelemetry)("ktag-relay-dropped",{reason:n.data.reason,event_nonce:n.data.event_nonce}):(0,en.logTelemetry)("ktag-postmessage-validation-failed",{type:"event_dropped",issues:n.error.issues});break;case"host_viewport":{let t=nq.safeParse(r.payload);t.success&&e.onHostViewport?.(t.data.overflow_bottom)}}}function P(e){C();let t=function(e,t){if(!e)return{interaction_type:"click",target_x:t.clientX,target_y:t.clientY};let a=e,r=function(e,t=4){let a=e,r=0;for(;null!==a&&r<=t;){if(a.matches(nU)&&a.children.length<=4){let e=1>=function(e){if(!e)return 0;let t=0;for(let a of e.children)(a.textContent??"").trim().length>0&&(t+=1);return t}(a),t=0===nF(a)&&(a.textContent??"").replace(/\s\s+/g," ").trim().length<=150;if(e||t)return a}
833a=a.parentElement,r+=1}return null}(e);if(r)a=r;else if(nF(e)>=2)return null;let n=[],o=a,i=0;for(;o&&"html"!==o.tagName.toLowerCase()&&i<8;){let e=o.tagName.toLowerCase();o.id&&(e+=`#${o.id}`),n.unshift(e),o=o.parentElement,i++}let s="string"==typeof a.className&&a.className.length>0?a.className:void 0,l=(a.textContent??"").trim().slice(0,200)||void 0;return{target_path:n.join(">"),target_text:l,target_class:s,target_id:a.id||void 0,target_url:(a instanceof HTMLAnchorElement&&a.href?a.href:void 0)??a.closest("[data-kn-target-url]")?.getAttribute("data-kn-target-url")??void 0,target_x:t.clientX,target_y:t.clientY,interaction_type:"click"}}(e.target,e);null!==t&&y({type:"content_interaction",...t})}for(let t of(window.addEventListener("message",T),d.push(()=>window.removeEventListener("message",T)),document.addEventListener("click",P,!0),d.push(()=>document.removeEventListener("click",P,!0)),window.addEventListener("mousemove",C,{passive:!0}),d.push(()=>window.removeEventListener("mousemove",C)),window.addEventListener("touchstart",C,{passive:!0}),d.push(()=>window.removeEventListener("touchstart",C)),window.addEventListener("touchmove",C,{passive:!0}),d.push(()=>window.removeEventListener("touchmove",C)),window.addEventListener("keydown",C,{passive:!0}),d.push(()=>window.removeEventListener("keydown",C)),window.addEventListener("focusin",C),d.push(()=>window.removeEventListener("focusin",C)),window.addEventListener("focusout",C),d.push(()=>window.removeEventListener("focusout",C)),document.addEventListener("visibilitychange",I),d.push(()=>document.removeEventListener("visibilitychange",I)),e.scrollSurfaces)){var z;let e={surface:t.surface,scroller:t.scroller,peakY:0,lastEmittedScrollY:-1,lastEmittedContentHeight:-1,hasEmitted:!1,rafHandle:null,lastEmitTime:0};w.push(e);let a=()=>{null===e.rafHandle&&(e.rafHandle=requestAnimationFrame(()=>{e.rafHandle=null;let t=e.scroller.scrollTop,a=e.scroller.scrollHeight,r=e.scroller.clientHeight;if(t>e.peakY&&(e.peakY=t),e.hasEmitted&&e.peakY===e.lastEmittedScrollY&&a===e.lastEmittedContentHeight)return;let n=Date.now();e.hasEmitted&&n-e.lastEmitTime<2e3||(!function(e,t,a,r){if(a<=0)return;let n=Math.min(100,t/a*100);k("iframe_scroll_progress",{scroll_y:t,content_height:a,viewport_height:r,percent:n,surface:e})}(e.surface,e.peakY,a,r),e.lastEmittedScrollY=e.peakY,e.lastEmittedContentHeight=a,e.lastEmitTime=n,e.hasEmitted=!0)}))},r=(z=e.scroller)===document.documentElement||z===document.body?window:z,n=()=>{C(),a()};r.addEventListener("scroll",n,{passive:!0}),d.push(()=>r.removeEventListener("scroll",n));let o=new ResizeObserver(a);o.observe(e.scroller),d.push(()=>o.disconnect()),d.push(()=>{null!==e.rafHandle&&(cancelAnimationFrame(e.rafHandle),e.rafHandle=null)})}if(window.parent===window)A("self-parent");else{let e=1,r=500;E(1);let n=()=>{t=setTimeout(()=>{"probing"===c.kind&&(E(e+=1),r=Math.min(2*r,1500),n())},r)};n(),a=setTimeout(()=>{"probing"===c.kind&&A("probe-timeout")},1e4)}let R=!1;return{notifyRouteChange(e){for(let e of w)e.peakY=0,e.lastEmittedScrollY=-1,e.lastEmittedContentHeight=-1,e.hasEmitted=!1;y({type:"route_change",target_url:e})},stop(){if(!R){for(let e of(R=!0,N(),d))try{e()}catch{}d.length=0}}}}({accountId:s,scrollSurfaces:[{surface:"iframe-document",scroller:function(e=document.body){for(let t of e.querySelectorAll("*")){if(t===document.documentElement||t===document.body||!(t instanceof HTMLElement))continue;let{overflowY:e}=window.getComputedStyle(t);if("auto"===e||"scroll"===e)return t}return document.documentElement}()}],onFallbackToStandalone:()=>d(!0)});return u.current=i,()=>{i.stop(),u.current=null,e.stop(),r?.stop()}},[o,s,n.packs]);let p=nA(i,"analytics");return a=n.packs,(r=(0,eu.useRef)(p)).current=p,(0,eu.useEffect)(()=>{if(!p)return;let e=bQ(a??[]).find(e=>e.trackSinks)?.trackSinks??[];if(0===e.length)return;e.some(e=>!0===e.authored)||(0,en.logTelemetry)("track-sinks.no-authored-sink",{sinks:e.map(e=>e.sink).join(",")});let t=e.map(b9);return()=>t.forEach(e=>e.stop({discard:!r.current}))},[a,p]),(0,eu.useEffect)(()=>{if(!p)return;let e=bQ(n.packs??[]).find(e=>e.trackMaps)?.trackMaps??[];
833if(0===e.length)return;let t=e.map(e=>(0,eo.startTrackMap)(e));return()=>t.forEach(e=>e.stop())},[n.packs,p]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(nV,{onRouteChange:e=>u.current?.notifyRouteChange(e),expectsKtagPageViewApi:!o&&nA(i,"analytics")||c}),s&&c?(0,l.jsx)(nw,{accountId:s}):null]})}function xr({Template:e,children:t}){let a=nb(),r=(0,O.useBootBlueprint)(),n=(0,D.useCanvas)(),o=(0,T.useClientConfig)(),{Header:i,Footer:s,headerFloat:c,scrollRevealHeader:d,DemoForm:u,Background:p,chatCtaSectionId:m,chatCtaLabel:g}=(0,K.usePackChrome)(),f=i??k.Header,y=s??x.Footer,b=!!i&&!!c,w=!!o.packs?.includes("knotch"),_=!!o.packs?.includes("zillow"),{personas:S}=(0,R.useActivePersona)(),I=r?.page.context_selector.type==="GUIDED_FLOW",N=n?.chat??void 0,A=n?.initial_suggestions??void 0,E=m?h(n).get(m):void 0;return(0,l.jsx)(e,{embed:a,floatingHeader:b,scrollRevealHeader:!!i&&!!d,backgroundSlot:p?(0,l.jsx)(p,{}):void 0,headerSlot:r?.page.header?(0,l.jsx)(f,{header:r.page.header}):void 0,footerSlot:r?.page.footer?(0,l.jsx)(y,{footer:r.page.footer}):void 0,chatInputSlot:N?(0,l.jsx)(q.ChatInput,{placeholder:N.placeholder??void 0,initialSuggestions:A,ctaSlot:m?(0,l.jsx)(W.ChatSectionContent,{sectionId:m,accepts:E?.accepts,max:E?.max,forceButtonLabel:g}):void 0,demoForm:u?(0,l.jsx)(u,{}):void 0,drawerContent:(0,l.jsx)(l.Fragment,{children:(m?function e(t,a){let r=[];for(let n of t)if("group"===n.kind){let e=n.items.filter(e=>"SECTION"!==e.type||e.section_id!==a);e.length>0&&r.push({...n,items:e})}else{let t=e(n.children,a);t.length>0&&r.push({...n,children:t})}return r}(N.layout,m):N.layout).map((e,t)=>(0,l.jsx)(v.ChromeBlockRenderer,{block:e},t))})}):void 0,tocSlot:w||_?void 0:(0,l.jsx)(G.InPageToc,{}),modalityToggleSlot:(0,l.jsx)(j.ModalityToggle,{}),personaPillSlot:!(S.length>=2)||I||b?void 0:(0,l.jsx)(C.PersonaSelector,{}),children:t})}function xn({children:e}){let{modality:t}=(0,P.useModality)(),{isRehydrating:a}=(0,R.useActivePersona)();return a?null:"STORIES"===t?(0,l.jsx)(N.StoriesDeck,{children:e}):"AUDIO"===t?(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)(y.AudioTransport,{}),e]}):(0,l.jsx)(l.Fragment,{children:e})}e.s(["OrchestratorShell",0,function({envelope:e,config:t,children:a}){let r=function(){let[e,t]=(0,eu.useState)("pending"),[a,r]=(0,eu.useState)(null),n=nm();(0,eu.useEffect)(()=>{if(n)return void t("ready");let e=!1;return nh().then(()=>{e||t("ready")},a=>{e||(r(a instanceof Error?a:Error(String(a))),t("error"))}),()=>{e=!0}},[n]);let o=(0,eu.useCallback)(async()=>n?"queen-dev-bypass":ng(),[n]);return{status:e,error:a,isBypass:n,getIdToken:o}}(),[n]=(0,eu.useState)(e);(0,eu.useEffect)(()=>{let e=window.__QUEEN_VERSION__;(0,en.logTelemetry)("boot",e??{version:"unknown"})},[]);let o=(0,eu.useMemo)(()=>bQ(t.packs),[t.packs]),i=(0,eu.useMemo)(()=>(0,er.createRegistry)(g.components,o),[o]),s=(0,eu.useMemo)(()=>(0,M.resolveBrandMotion)(o.map(e=>e.motion).filter(e=>void 0!==e)),[o]),c=(0,eu.useMemo)(()=>o.find(e=>e.personalizationBannerCopy)?.personalizationBannerCopy,[o]),d=o.some(e=>e.personalizationBannerHidden),u=(0,eu.useMemo)(()=>o.find(e=>e.personaPickerContent)?.personaPickerContent,[o]),p=(0,eu.useMemo)(()=>o.find(e=>e.articleOverlay)?.articleOverlay,[o]),m=(0,eu.useMemo)(()=>o.find(e=>e.publishedCard)?.publishedCard??null,[o]),h=(0,eu.useMemo)(()=>o.find(e=>e.icons)?.icons??null,[o]),f=(0,eu.useMemo)(()=>(0,K.resolvePackChrome)(o),[o]),y=(0,eu.useMemo)(()=>o.some(e=>(e.trackMaps?.length??0)>0),[o]),v=(0,eu.useMemo)(()=>{let e={};for(let t of o)for(let[a,r]of Object.entries(t.pages??{}))!r||a in e||(e[a]=r);return e},[o]),b=(0,eu.useMemo)(()=>{let e={};for(let t of o)for(let[a,r]of Object.entries(t.campaignSections??{}))!r||a in e||(e[a]=r);return e},[o]),x=(0,eu.useMemo)(()=>o.find(e=>e.afterCanvas)?.afterCanvas,[o]),w=ep[t.templateId]??ep.EDITORIAL_DISCOVERY,k=(0,eu.useCallback)(async()=>{let e=await r.getIdToken();return{Authorization:`Bearer ${e}`,"X-Brand-Id":eg.NEXT_PUBLIC_QUEEN_BRAND_ID}},[r]);return(0,l.jsx)(nv,{children:(0,l.jsx)(T.ClientConfigProvider,{config:t,children:(0,l.jsxs)(nP,{integrations:t.integrations,children:[(0,l.jsx)(xa,{}),(0,l.jsx)(nL,{}
833),(0,l.jsx)(P.ModalityProvider,{defaultModality:t.defaultModality,enabledModalities:t.enabledModalities,children:(0,l.jsx)(O.BootBlueprintProvider,{bootBlueprint:n,children:(0,l.jsx)(D.CanvasProvider,{children:(0,l.jsx)(xe,{blueprint:n,config:t,registry:i,Template:w,brandMotion:s,personalizationBannerCopy:c,personalizationBannerHidden:d,personaPickerContent:u,articleOverlayBodies:p,publishedCardRenderer:m,packIcons:h,packPages:v,campaignSections:b,afterCanvas:x,packChrome:f,getAuthHeaders:k,authReady:"ready"===r.status,trackingActive:y,children:a})})})})]})})})}],78884)}]);

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.