{"version":3,"file":"PageHeader.vJITWI14.mjs","names":["c"],"sources":["https:/framerusercontent.com/modules/tmSo29HjOOfXbw6QTTQg/57YKxs8IDZYgZXna2xap/PageHeader.js"],"sourcesContent":["// Cortiq page header for inner pages: eyebrow, H1, subtext, optional buttons and highlight chips\n// over an aurora glow. Presets: All Agents (/agents) and Contact (/contact); \"Custom\" exposes every field.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{C,mix,UI}from\"https://framerusercontent.com/modules/HQjIvjxUdgTVeWTXQm05/TzirDUmMbbRZYguHIjsB/Kit.js\";const{Style,Words,Reveal,Btn,Pill,Icon}=UI;const PRESETS={agents:{eyebrow:\"Agent library\",title:\"Meet your *AI workforce.*\",subtitle:\"Pre-built agents for every team, ready to plug into your stack in minutes. Or build your own.\",primaryLabel:\"Build a custom agent\",primaryLink:\"/contact?agent=custom\",secondaryLabel:\"See pricing\",secondaryLink:\"/pricing\",chips:\"6 pre-built agents \\xb7 120+ integrations \\xb7 Human approval on every run\"},contact:{eyebrow:\"Contact\",title:\"Let's talk about your *AI workforce.*\",subtitle:\"Book a demo, ask a question or get help from our team. We reply within one business day.\",primaryLabel:\"\",primaryLink:\"\",secondaryLabel:\"\",secondaryLink:\"\",chips:\"\"}};const css=`\n.ph{padding:184px 0 56px;background:${C.bg};overflow:hidden}\n.ph-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}\n.ph-blob{position:absolute;border-radius:50%;filter:blur(90px);opacity:.55}\n.ph-b1{left:50%;top:-260px;width:820px;height:520px;translate:-50% 0;background:${mix(C.primary,55)};animation:ph-drift 14s ease-in-out infinite}\n.ph-b2{left:22%;top:-120px;width:420px;height:360px;background:${mix(C.accent,35)};animation:ph-drift 18s ease-in-out infinite reverse}\n.ph-b3{right:16%;top:-80px;width:380px;height:320px;background:${mix(\"#6D28D9\",45)};animation:ph-drift 16s ease-in-out infinite}\n@keyframes ph-drift{0%,100%{translate:-50% 0 ;scale:1}50%{translate:-46% 30px;scale:1.08}}\n.ph-b2,.ph-b3{animation-name:ph-drift2}\n@keyframes ph-drift2{0%,100%{translate:0 0}50%{translate:40px 30px}}\n.ph-fade{position:absolute;inset:auto 0 0 0;height:220px;background:linear-gradient(transparent,${C.bg})}\n.ph-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}\n.ph-title{max-width:860px}\n.ph-sub{max-width:600px}\n.ph-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:6px}\n.ph-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:10px}\n.ph-chips span{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 14px;border-radius:999px;font-size:13px;color:${C.text2};background:${mix(C.surface,70)};box-shadow:inset 0 0 0 1px ${C.border}}\n.ph-chips svg{color:${C.accent}}\n@container (max-width: 640px){\n  .ph{padding:140px 0 40px}\n  .ph-btns{flex-direction:column;width:100%}\n  .ph-btns .cq-btn{width:100%}\n}\n`;/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function PageHeader(props){const p=props.preset===\"custom\"?props:{...props,...PRESETS[props.preset]};const{eyebrow,title,subtitle,primaryLabel,primaryLink,secondaryLabel,secondaryLink,chips}=p;return /*#__PURE__*/_jsxs(\"section\",{className:\"cq-root ph\",style:props.style,children:[/*#__PURE__*/_jsx(Style,{css:css}),/*#__PURE__*/_jsxs(\"div\",{className:\"ph-bg\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"cq-dots\"}),/*#__PURE__*/_jsx(\"div\",{className:\"ph-blob ph-b1\"}),/*#__PURE__*/_jsx(\"div\",{className:\"ph-blob ph-b2\"}),/*#__PURE__*/_jsx(\"div\",{className:\"ph-blob ph-b3\"}),/*#__PURE__*/_jsx(\"div\",{className:\"ph-fade\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"cq-wrap\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"ph-in\",children:[eyebrow&&/*#__PURE__*/_jsx(Reveal,{y:10,children:/*#__PURE__*/_jsx(Pill,{label:eyebrow,icon:\"sparkles\"})}),/*#__PURE__*/_jsx(Words,{as:\"h1\",text:title||\"\",className:\"cq-h1 ph-title\",delay:.05}),subtitle&&/*#__PURE__*/_jsx(Reveal,{delay:.25,children:/*#__PURE__*/_jsx(\"p\",{className:\"cq-lead ph-sub\",children:subtitle})}),(primaryLabel||secondaryLabel)&&/*#__PURE__*/_jsxs(Reveal,{className:\"ph-btns\",delay:.35,children:[primaryLabel&&/*#__PURE__*/_jsx(Btn,{label:primaryLabel,href:primaryLink,size:\"lg\",icon:\"arrow-right\"}),secondaryLabel&&/*#__PURE__*/_jsx(Btn,{label:secondaryLabel,href:secondaryLink,size:\"lg\",variant:\"secondary\"})]}),chips&&/*#__PURE__*/_jsx(Reveal,{className:\"ph-chips\",delay:.45,children:chips.split(\"\\xb7\").map((c,i)=>/*#__PURE__*/_jsxs(\"span\",{children:[/*#__PURE__*/_jsx(Icon,{name:\"check\",size:13,stroke:2.4}),c.trim()]},i))})]})})]});}const custom=p=>p.preset!==\"custom\";addPropertyControls(PageHeader,{preset:{type:ControlType.Enum,title:\"Preset\",options:[\"agents\",\"contact\",\"custom\"],optionTitles:[\"All Agents\",\"Contact\",\"Custom\"],defaultValue:\"agents\"},eyebrow:{type:ControlType.String,title:\"Eyebrow\",defaultValue:\"Agent library\",hidden:custom},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Meet your *AI workforce.*\",description:\"Wrap words in *asterisks* for the gradient.\",hidden:custom},subtitle:{type:ControlType.String,title:\"Subtitle\",displayTextArea:true,defaultValue:\"Pre-built agents for every team, ready to plug into your stack in minutes. Or build your own.\",hidden:custom},primaryLabel:{type:ControlType.String,title:\"Primary\",defaultValue:\"Build a custom agent\",hidden:custom},primaryLink:{type:ControlType.Link,title:\"Primary link\",defaultValue:\"/contact\",hidden:custom},secondaryLabel:{type:ControlType.String,title:\"Secondary\",defaultValue:\"\",hidden:custom},secondaryLink:{type:ControlType.Link,title:\"Secondary link\",defaultValue:\"/pricing\",hidden:custom},chips:{type:ControlType.String,title:\"Chips\",defaultValue:\"\",description:\"Separate with \\xb7\",hidden:custom}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PageHeader\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PageHeader.map"],"mappings":"sOA4BG,SAAwB,EAAW,EAAM,CAA2E,GAAK,CAAC,UAAQ,QAAM,WAAS,eAAa,cAAY,iBAAe,gBAAc,SAArJ,EAAM,SAAS,SAAS,EAAM,CAAC,GAAG,EAAM,GAAG,EAAQ,EAAM,OAAO,EAA8F,OAAoB,EAAM,UAAU,CAAC,UAAU,aAAa,MAAM,EAAM,MAAM,SAAS,CAAc,EAAK,EAAM,CAAK,KAAG,CAAC,EAAe,EAAM,MAAM,CAAC,UAAU,QAAQ,cAAc,OAAO,SAAS,CAAc,EAAK,MAAM,CAAC,UAAU,SAAS,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,eAAe,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,eAAe,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,eAAe,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,UAAU,SAAsB,EAAM,MAAM,CAAC,UAAU,QAAQ,SAAS,CAAC,GAAsB,EAAK,EAAO,CAAC,EAAE,GAAG,SAAsB,EAAK,EAAK,CAAC,MAAM,EAAQ,KAAK,UAAU,CAAC,CAAC,CAAC,EAAe,EAAK,EAAM,CAAC,GAAG,KAAK,KAAK,GAAO,GAAG,UAAU,iBAAiB,MAAM,GAAG,CAAC,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