{"version":3,"file":"ZenalystAssistant.BAuMNk37.mjs","names":["React.useState","React.useRef","React.useMemo","_Fragment"],"sources":["https:/framerusercontent.com/modules/3amvR84Vs05B8aolSQd2/ewlNeoTrcEEgQalIsnfT/ZenalystAssistant.js"],"sourcesContent":["/* build: bot-anchor-fix 1789060122368 */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{AnimatePresence,motion,useReducedMotion}from\"framer-motion\";/* ═══════════════════════════════════════════════════════════════════════\n   ZENALYST · ASSISTANT LAUNCHER\n   A bottom-right launcher that opens a conversational panel.\n\n   The mark is drawn as inline SVG rather than a sprite: a rounded cloud\n   body, a dark screen-face with two heavy-lidded eyes, stubby arms and\n   legs, and a chest plate carrying the terminal glyph. Built from paths\n   so it stays crisp at any DPI and recolours with the brand palette\n   instead of shipping a raster.\n\n   The eyes blink on a slow, irregular cadence and the body has a gentle\n   idle float — both stop for prefers-reduced-motion.\n   ═══════════════════════════════════════════════════════════════════════ */const C={ink:\"#07332E\",dark:\"#04211D\",paper:\"#F7FBFA\",teal:\"#18B8AB\",tealSoft:\"#64D8CE\",teal600:\"#0B6F66\",muted:\"#61746F\"};const EASE=[.16,1,.3,1];/* ── the character ──────────────────────────────────────────────────── */function BotMark({size=44,body=C.teal,screen=C.dark,eye=C.tealSoft,blink=true}){/* Eyelids close in pairs on an irregular cadence so the mark reads as\n       alive rather than metronomic. Scaling the eye group from its own centre\n       keeps the pupils in place while the lids travel. */const lid=blink?{scaleY:[1,1,.12,1,1,.12,1]}:undefined;return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 64 64\",\"aria-hidden\":\"true\",style:{display:\"block\",overflow:\"visible\"},children:/*#__PURE__*/_jsxs(\"g\",{transform:\"translate(32,32) scale(0.86)\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"0\",y1:\"-25.5\",x2:\"0\",y2:\"-20\",stroke:body,strokeWidth:\"2.4\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"0\",cy:\"-27.5\",r:\"2.9\",fill:body}),/*#__PURE__*/_jsx(\"rect\",{x:\"-21.5\",y:\"2.5\",width:\"8.5\",height:\"6.4\",rx:\"3.2\",fill:body,opacity:\".95\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"13\",y:\"2.5\",width:\"8.5\",height:\"6.4\",rx:\"3.2\",fill:body,opacity:\".95\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"-12\",y:\"-1.5\",width:\"24\",height:\"19\",rx:\"7.5\",fill:body}),/*#__PURE__*/_jsx(\"rect\",{x:\"-7.6\",y:\"3.2\",width:\"15.2\",height:\"9.6\",rx:\"2.6\",fill:screen}),/*#__PURE__*/_jsx(\"path\",{d:\"M-4.3 6.1l2.5 1.9-2.5 1.9\",fill:\"none\",stroke:eye,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M0.6 9.9h4.0\",fill:\"none\",stroke:eye,strokeWidth:\"1.5\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"-7.5\",y:\"17\",width:\"6\",height:\"5.6\",rx:\"2.8\",fill:body,opacity:\".95\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"1.5\",y:\"17\",width:\"6\",height:\"5.6\",rx:\"2.8\",fill:body,opacity:\".95\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"-15.5\",y:\"-20.5\",width:\"31\",height:\"22\",rx:\"9.5\",fill:body}),/*#__PURE__*/_jsx(\"rect\",{x:\"-18.4\",y:\"-13\",width:\"3.2\",height:\"7.5\",rx:\"1.6\",fill:body,opacity:\".9\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"15.2\",y:\"-13\",width:\"3.2\",height:\"7.5\",rx:\"1.6\",fill:body,opacity:\".9\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"-12\",y:\"-17.4\",width:\"24\",height:\"15.8\",rx:\"6.4\",fill:screen}),/*#__PURE__*/_jsxs(motion.g,{animate:lid,transition:blink?{duration:6,times:[0,.52,.56,.6,.9,.94,1],repeat:Infinity,ease:\"easeInOut\"}:undefined,style:{transformOrigin:\"0px -9.5px\"},children:[/*#__PURE__*/_jsx(\"rect\",{x:\"-6.9\",y:\"-12.6\",width:\"4.2\",height:\"6.2\",rx:\"2.1\",fill:eye}),/*#__PURE__*/_jsx(\"rect\",{x:\"2.7\",y:\"-12.6\",width:\"4.2\",height:\"6.2\",rx:\"2.1\",fill:eye}),/*#__PURE__*/_jsx(\"circle\",{cx:\"-5.6\",cy:\"-11.1\",r:\".85\",fill:\"#fff\",opacity:\".85\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"4\",cy:\"-11.1\",r:\".85\",fill:\"#fff\",opacity:\".85\"})]}),/*#__PURE__*/_jsx(\"path\",{d:\"M-3.1 -4.4c1.6 1.5 4.6 1.5 6.2 0\",fill:\"none\",stroke:eye,strokeWidth:\"1.35\",strokeLinecap:\"round\",opacity:\".75\"})]})});}const CSS=`\n.za-root{position:fixed;z-index:9999;display:flex;flex-direction:column;\n  align-items:flex-end;gap:12px;font-family:\"DM Sans\",Inter,-apple-system,system-ui,sans-serif;\n  -webkit-font-smoothing:antialiased;\n  /* The wrapper is a tall flex box sitting above the page at z-index 9999.\n     Left interactive it swallows clicks meant for whatever is underneath —\n     it was covering the navigation links and killing every nav click.\n     Only the launcher and the panel below opt back in. */\n  pointer-events:none}\n.za-root>*{pointer-events:auto}\n/* top-anchored: launcher first, panel unfurls downward beneath it */\n.za-root.from-top{flex-direction:column-reverse}\n.za-root.from-top .za-panel{transform-origin:top right;\n  max-height:min(640px,calc(100vh - 150px))}\n/* left-anchored: align the stack and the panel's growth origin to the left */\n.za-root.from-left{align-items:flex-start}\n.za-root.from-left .za-panel{transform-origin:bottom left}\n.za-root.from-left.from-top .za-panel{transform-origin:top left}\n.za-root *{box-sizing:border-box}\n/* ── launcher ─────────────────────────────────────────────────────── */\n.za-launch{position:relative;width:76px;height:76px;border-radius:50%;border:0;\n  cursor:pointer;display:grid;place-items:center;padding:0;isolation:isolate;\n  box-shadow:0 22px 48px -14px rgba(7,51,46,.52),0 6px 16px -4px rgba(7,51,46,.24),\n    inset 0 1px 0 rgba(255,255,255,.28),inset 0 -2px 8px rgba(4,33,29,.22);\n  transition:box-shadow .4s cubic-bezier(.16,1,.3,1),background .4s}\n.za-launch:hover{box-shadow:0 30px 64px -16px rgba(7,51,46,.6),0 8px 22px -6px rgba(7,51,46,.3),\n    inset 0 1px 0 rgba(255,255,255,.36),inset 0 -2px 8px rgba(4,33,29,.24)}\n.za-launch:focus-visible{outline:3px solid rgba(24,184,171,.55);outline-offset:4px}\n.za-launch>span{display:grid;place-items:center;position:relative;z-index:2}\n/* a soft aura behind the mark so it lifts off dark and light sections alike */\n.za-aura{position:absolute;inset:-18px;border-radius:50%;pointer-events:none;z-index:0;\n  filter:blur(14px);opacity:.5;transition:opacity .4s cubic-bezier(.16,1,.3,1)}\n.za-launch:hover .za-aura{opacity:.8}\n/* a slow specular sweep across the dome — reads as glass, not chrome */\n.za-sheen{position:absolute;inset:0;border-radius:50%;overflow:hidden;pointer-events:none;z-index:1}\n.za-sheen::after{content:\"\";position:absolute;top:-60%;left:-120%;width:60%;height:220%;\n  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);\n  transform:rotate(18deg);animation:zaSheen 7s cubic-bezier(.16,1,.3,1) infinite}\n@keyframes zaSheen{0%{left:-120%}55%{left:150%}100%{left:150%}}\n/* a single slow pulse ring, so the launcher reads as live without nagging */\n.za-ping{position:absolute;inset:-6px;border-radius:50%;border:1.5px solid;\n  opacity:0;pointer-events:none;animation:zaPing 3.6s cubic-bezier(.16,1,.3,1) infinite}\n.za-ping.two{animation-delay:1.5s;border-width:1px}\n@keyframes zaPing{0%{transform:scale(.86);opacity:.5}70%{transform:scale(1.3);opacity:0}100%{opacity:0}}\n/* ── panel ────────────────────────────────────────────────────────── */\n.za-panel{width:min(428px,calc(100vw - 40px));max-height:min(640px,calc(100vh - 150px));\n  display:flex;flex-direction:column;overflow:hidden;border-radius:24px;\n  background:#FFFFFF;border:1px solid rgba(7,51,46,.09);\n  box-shadow:0 56px 120px -40px rgba(7,51,46,.46),0 12px 32px -10px rgba(7,51,46,.14),\n    inset 0 1px 0 rgba(255,255,255,.9);\n  transform-origin:bottom right}\n.za-head{display:flex;align-items:center;gap:13px;padding:17px 17px 16px;\n  border-bottom:1px solid rgba(7,51,46,.08);\n  background:linear-gradient(180deg,#FAFDFC 0%,#F2F8F6 100%)}\n.za-head-mark{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;\n  background:linear-gradient(145deg,rgba(24,184,171,.16),rgba(24,184,171,.07));\n  border:1px solid rgba(24,184,171,.16);flex:0 0 auto}\n.za-head-txt{display:grid;gap:2px;min-width:0}\n.za-head-txt b{font:700 14.5px \"DM Sans\",sans-serif;color:#07332E;letter-spacing:-.01em}\n.za-head-txt em{display:flex;align-items:center;gap:6px;font-style:normal;\n  font:600 10px \"DM Sans\",sans-serif;color:#61746F}\n.za-head-txt em i{width:7px;height:7px;border-radius:50%;display:block;\n  box-shadow:0 0 0 3px rgba(24,184,171,.18);animation:zaLive 2.4s ease-in-out infinite}\n@keyframes zaLive{0%,100%{box-shadow:0 0 0 3px rgba(24,184,171,.18)}\n  50%{box-shadow:0 0 0 5px rgba(24,184,171,.06)}}\n.za-x{margin-left:auto;width:28px;height:28px;border-radius:8px;border:0;cursor:pointer;\n  background:transparent;color:#61746F;display:grid;place-items:center;\n  transition:background .25s,color .25s}\n.za-x:hover{background:rgba(7,51,46,.06);color:#07332E}\n.za-x:focus-visible{outline:2px solid rgba(24,184,171,.6);outline-offset:1px}\n/* ── messages ─────────────────────────────────────────────────────── */\n.za-body{flex:1 1 auto;overflow-y:auto;padding:18px 17px;display:grid;gap:11px;\n  align-content:start;background:#fff;scrollbar-width:thin}\n.za-body::-webkit-scrollbar{width:8px}\n.za-body::-webkit-scrollbar-thumb{background:rgba(7,51,46,.14);border-radius:99px;\n  border:2px solid #fff}\n.za-msg{max-width:88%;padding:13px 15px;border-radius:16px}\n.za-msg.bot{justify-self:start;background:#F1F6F4;border:1px solid rgba(7,51,46,.06);\n  border-bottom-left-radius:5px}\n.za-msg.user{justify-self:end;background:#07332E;border-bottom-right-radius:5px}\n.za-msg.user p{color:#EAF6F3}\n.za-msg b{display:block;font:700 14.5px/1.4 \"DM Sans\",sans-serif;color:#07332E;\n  margin-bottom:5px;letter-spacing:-.01em}\n.za-msg p{margin:0;font:400 13.5px/1.6 \"DM Sans\",sans-serif;color:#3E5651}\n/* typing dots */\n.za-typing{display:flex;gap:4px;align-items:center;padding:13px}\n.za-typing i{width:6px;height:6px;border-radius:50%;background:#8FA29E;display:block;\n  animation:zaDot 1.3s ease-in-out infinite}\n.za-typing i:nth-child(2){animation-delay:.16s}\n.za-typing i:nth-child(3){animation-delay:.32s}\n@keyframes zaDot{0%,60%,100%{opacity:.32;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}\n/* ── suggested prompts ────────────────────────────────────────────── */\n.za-prompts{display:grid;gap:7px;margin-top:2px}\n.za-prompts button{appearance:none;cursor:pointer;text-align:left;padding:12px 15px;\n  border-radius:13px;border:1px solid rgba(24,184,171,.28);background:rgba(24,184,171,.06);\n  font:600 13px \"DM Sans\",sans-serif;color:#0B6F66;\n  transition:background .25s cubic-bezier(.16,1,.3,1),border-color .25s,transform .25s}\n.za-prompts button:hover{background:rgba(24,184,171,.13);border-color:rgba(24,184,171,.5);\n  transform:translateX(2px)}\n.za-prompts button:focus-visible{outline:2px solid rgba(24,184,171,.6);outline-offset:1px}\n/* ── close-out actions ────────────────────────────────────────────── */\n.za-cta{display:grid;gap:7px;margin-top:4px}\n.za-primary{display:block;text-align:center;padding:11px;border-radius:11px;\n  text-decoration:none;color:#fff;font:700 12.5px \"DM Sans\",sans-serif;\n  transition:transform .25s cubic-bezier(.16,1,.3,1)}\n.za-primary:hover{transform:translateY(-1px)}\n.za-again{appearance:none;cursor:pointer;padding:9px;border-radius:11px;\n  border:1px solid rgba(7,51,46,.12);background:#fff;\n  font:600 12px \"DM Sans\",sans-serif;color:#61746F;transition:background .25s}\n.za-again:hover{background:#F1F6F4}\n/* ── footer ───────────────────────────────────────────────────────── */\n.za-foot{padding:10px 14px;border-top:1px solid rgba(7,51,46,.08);background:#F7FBFA;\n  font:500 10.5px \"DM Sans\",sans-serif;color:#8FA29E}\n.za-foot a{color:#0B6F66;text-decoration:none;font-weight:700}\n.za-foot a:hover{text-decoration:underline}\n@media(max-width:520px){\n  .za-panel{width:calc(100vw - 28px);max-height:calc(100vh - 130px);border-radius:20px}\n  .za-launch{width:64px;height:64px}\n  .za-aura{inset:-12px}\n}\n@media (prefers-reduced-motion: reduce){\n  .za-ping{animation:none;display:none}\n  .za-typing i{animation:none;opacity:.6}\n  .za-sheen::after{animation:none;display:none}\n  .za-head-txt em i{animation:none}\n}\n`;/**\n * @framerIntrinsicWidth 76\n * @framerIntrinsicHeight 76\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ZenalystAssistant({greeting=\"Hi there — how can we help?\",subline=\"Ask about the platform, pricing or a deployment. A real person replies within one business day.\",prompts=\"What does Zenalyst connect to?\\nHow long is a deployment?\\nIs it on-premise ready?\\nI'd like to see a demo\",demoLink=\"/contact\",contactEmail=\"hello@zenalyst.ai\",accent=C.teal,pin=\"bottom-right\",offsetX=28,offsetY=28,style}){const isStatic=useIsStaticRenderer();const reduced=!!useReducedMotion();const still=isStatic||reduced;const[open,setOpen]=React.useState(false);const[thread,setThread]=React.useState([]);const[typing,setTyping]=React.useState(false);const scrollRef=React.useRef(null);const list=React.useMemo(()=>prompts.split(\"\\n\").map(s=>s.trim()).filter(Boolean),[prompts]);/* keep the latest message in view */React.useEffect(()=>{const el=scrollRef.current;if(el)el.scrollTop=el.scrollHeight;},[thread,typing]);/* close on Escape */React.useEffect(()=>{if(!open||typeof window===\"undefined\")return;const onKey=e=>{if(e.key===\"Escape\")setOpen(false);};window.addEventListener(\"keydown\",onKey);return()=>window.removeEventListener(\"keydown\",onKey);},[open]);const ask=q=>{setThread(t=>[...t,{from:\"user\",text:q}]);setTyping(true);/* A holding reply, then the routing. This is a contact surface, not a\n           model — it never invents an answer about the product. */window.setTimeout(()=>{setTyping(false);setThread(t=>[...t,{from:\"bot\",text:\"Thanks — noted. The quickest route is a short call with the team, who can answer this against your own systems.\"}]);},900);};const reset=()=>{setThread([]);setTyping(false);};/* Framer hands the component a `style` carrying the canvas box's own\n       position (often a `top`/`left`). Left unchecked those fight the fixed\n       pin below — with both `top` and `bottom` set, `top` wins and the\n       launcher drifts to the top edge and clips. Strip the offsets out of\n       the inherited style, then apply ours last so they always win. */const{top:_t,left:_l,right:_r,bottom:_b,position:_p,...restStyle}=style||{};/* Framer can hand back either the enum value (\"top-right\") or the\n       human-readable optionTitle (\"Top right\"), so normalise before\n       comparing — otherwise every branch misses and the pin silently\n       falls through to its default. */const pinKey=String(pin||\"\").toLowerCase().replace(/[\\s_]+/g,\"-\");const anchor=pinKey===\"top-right\"?{top:offsetY,right:offsetX}:pinKey===\"top-left\"?{top:offsetY,left:offsetX}:pinKey===\"bottom-left\"?{bottom:offsetY,left:offsetX}:{bottom:offsetY,right:offsetX};const fromTop=pinKey===\"top-right\"||pinKey===\"top-left\";const fromLeft=pinKey===\"top-left\"||pinKey===\"bottom-left\";return /*#__PURE__*/_jsxs(\"div\",{className:\"za-root\"+(fromTop?\" from-top\":\"\")+(fromLeft?\" from-left\":\"\"),style:{...restStyle,/* Framer's container passes height/width 100%, which would\n                   turn this fixed wrapper into a full-viewport box — the\n                   launcher then renders at that box's far edge, off the top\n                   of the screen, instead of in its anchored corner. Neutralise\n                   the inherited sizing and offsets FIRST, then apply position\n                   and the anchor last so nothing can override them. */width:\"auto\",height:\"auto\",maxWidth:\"none\",maxHeight:\"none\",inset:\"auto\",position:\"fixed\",...anchor},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsx(AnimatePresence,{children:open&&/*#__PURE__*/_jsxs(motion.div,{className:\"za-panel\",role:\"dialog\",\"aria-label\":\"Zenalyst assistant\",initial:still?false:{opacity:0,y:fromTop?-16:16,scale:.97},animate:{opacity:1,y:0,scale:1},exit:still?undefined:{opacity:0,y:fromTop?-12:12,scale:.98},transition:{duration:.34,ease:EASE},children:[/*#__PURE__*/_jsxs(\"header\",{className:\"za-head\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"za-head-mark\",children:/*#__PURE__*/_jsx(BotMark,{size:40,body:accent,blink:!still})}),/*#__PURE__*/_jsxs(\"span\",{className:\"za-head-txt\",children:[/*#__PURE__*/_jsx(\"b\",{children:\"Zenalyst assistant\"}),/*#__PURE__*/_jsxs(\"em\",{children:[/*#__PURE__*/_jsx(\"i\",{style:{background:accent}}),\"Online now\"]})]}),/*#__PURE__*/_jsx(\"button\",{className:\"za-x\",onClick:()=>setOpen(false),\"aria-label\":\"Close\",children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"15\",height:\"15\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.2\",strokeLinecap:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 6l12 12M18 6L6 18\"})})})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"za-body\",ref:scrollRef,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"za-msg bot\",children:[/*#__PURE__*/_jsx(\"b\",{children:greeting}),/*#__PURE__*/_jsx(\"p\",{children:subline})]}),thread.map((m,i)=>/*#__PURE__*/_jsx(motion.div,{className:\"za-msg \"+m.from,initial:still?false:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,ease:EASE},children:/*#__PURE__*/_jsx(\"p\",{children:m.text})},i)),typing&&/*#__PURE__*/_jsxs(\"div\",{className:\"za-msg bot za-typing\",\"aria-live\":\"polite\",children:[/*#__PURE__*/_jsx(\"i\",{}),/*#__PURE__*/_jsx(\"i\",{}),/*#__PURE__*/_jsx(\"i\",{})]}),thread.length===0&&/*#__PURE__*/_jsx(\"div\",{className:\"za-prompts\",children:list.map((q,i)=>/*#__PURE__*/_jsx(motion.button,{type:\"button\",onClick:()=>ask(q),initial:still?false:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.34,delay:.06+i*.05,ease:EASE},children:q},q))}),thread.length>0&&/*#__PURE__*/_jsxs(\"div\",{className:\"za-cta\",children:[/*#__PURE__*/_jsx(\"a\",{href:demoLink,className:\"za-primary\",style:{background:C.ink},children:\"Book a demo →\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"za-again\",onClick:reset,children:\"Ask something else\"})]})]}),/*#__PURE__*/_jsxs(\"footer\",{className:\"za-foot\",children:[\"Prefer email? \",/*#__PURE__*/_jsx(\"a\",{href:`mailto:${contactEmail}`,children:contactEmail})]})]})}),/*#__PURE__*/_jsxs(motion.button,{type:\"button\",className:\"za-launch\"+(open?\" on\":\"\"),onClick:()=>setOpen(o=>!o),\"aria-label\":open?\"Close assistant\":\"Open assistant\",\"aria-expanded\":open,style:{background:open?`linear-gradient(150deg, ${C.ink} 0%, ${C.dark} 100%)`:`linear-gradient(150deg, ${accent} 0%, ${C.teal600} 100%)`},whileHover:still?undefined:{scale:1.06},whileTap:still?undefined:{scale:.95},children:[!still&&/*#__PURE__*/_jsx(\"span\",{className:\"za-aura\",style:{background:open?`radial-gradient(circle, ${C.ink} 0%, transparent 70%)`:`radial-gradient(circle, ${accent} 0%, transparent 70%)`}}),/*#__PURE__*/_jsx(\"span\",{className:\"za-sheen\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",initial:false,children:open?/*#__PURE__*/_jsx(motion.span,{initial:still?false:{opacity:0,rotate:-80},animate:{opacity:1,rotate:0},exit:still?undefined:{opacity:0,rotate:80},transition:{duration:.24,ease:EASE},children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"26\",height:\"26\",fill:\"none\",stroke:C.paper,strokeWidth:\"2.3\",strokeLinecap:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 6l12 12M18 6L6 18\"})})},\"x\"):/*#__PURE__*/_jsx(motion.span,{initial:still?false:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:still?undefined:{opacity:0,scale:.8},transition:{duration:.24,ease:EASE},children:/*#__PURE__*/_jsx(motion.span,{animate:still?undefined:{y:[0,-3.5,0]},transition:still?undefined:{duration:4.2,repeat:Infinity,ease:\"easeInOut\"},style:{display:\"grid\",placeItems:\"center\"},children:/*#__PURE__*/_jsx(BotMark,{size:50,body:C.paper,screen:C.dark,eye:accent,blink:!still})})},\"bot\")}),!open&&!still&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{className:\"za-ping\",style:{borderColor:accent}}),/*#__PURE__*/_jsx(\"span\",{className:\"za-ping two\",style:{borderColor:accent}})]})]})]});}addPropertyControls(ZenalystAssistant,{greeting:{type:ControlType.String,title:\"Greeting\",defaultValue:\"Hi there — how can we help?\"},subline:{type:ControlType.String,title:\"Subline\",displayTextArea:true,defaultValue:\"Ask about the platform, pricing or a deployment. A real person replies within one business day.\"},prompts:{type:ControlType.String,title:\"Prompts\",displayTextArea:true,description:\"One suggested question per line.\",defaultValue:\"What does Zenalyst connect to?\\nHow long is a deployment?\\nIs it on-premise ready?\\nI'd like to see a demo\"},demoLink:{type:ControlType.Link,title:\"Demo link\"},contactEmail:{type:ControlType.String,title:\"Contact email\",defaultValue:\"hello@zenalyst.ai\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:C.teal},pin:{type:ControlType.Enum,title:\"Pin to\",options:[\"bottom-right\",\"bottom-left\",\"top-right\",\"top-left\"],optionTitles:[\"Bottom right\",\"Bottom left\",\"Top right\",\"Top left\"],defaultValue:\"bottom-right\"},offsetX:{type:ControlType.Number,title:\"Offset X\",defaultValue:28,min:8,max:80,step:2},offsetY:{type:ControlType.Number,title:\"Offset Y\",defaultValue:28,min:8,max:80,step:2}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ZenalystAssistant\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"76\",\"framerIntrinsicWidth\":\"76\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ZenalystAssistant.map"],"mappings":"kSAY2S,SAAS,EAAQ,CAAC,OAAK,GAAG,OAAK,EAAE,KAAK,SAAO,EAAE,KAAK,MAAI,EAAE,SAAS,QAAM,IAAM,CAEhU,IAAM,EAAI,EAAM,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC,EAAE,IAAA,GAAU,OAAoB,EAAK,MAAM,CAAC,MAAM,EAAK,OAAO,EAAK,QAAQ,YAAY,cAAc,OAAO,MAAM,CAAC,QAAQ,QAAQ,SAAS,SAAS,EAAE,SAAsB,EAAM,IAAI,CAAC,UAAU,+BAA+B,SAAS,CAAc,EAAK,OAAO,CAAC,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,GAAG,MAAM,OAAO,EAAK,YAAY,MAAM,cAAc,OAAO,CAAC,EAAe,EAAK,SAAS,CAAC,GAAG,IAAI,GAAG,QAAQ,EAAE,MAAM,KAAK,CAAI,CAAC,EAAe,EAAK,OAAO,CAAC,EAAE,QAAQ,EAAE,MAAM,MAAM,MAAM,OAAO,MAAM,GAAG,MAAM,KAAK,EAAK,QAAQ,KAAK,CAAC,EAAe,EAAK,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,MAAM,MAAM,OAAO,MAAM,GAAG,MAAM,KAAK,EAAK,QAAQ,KAAK,CAAC,EAAe,EAAK,OAA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