{"version":3,"file":"Ask_AI.CW6RFYyG.mjs","names":["_Fragment","React.useRef","React.useState","p","React.Fragment"],"sources":["https:/framerusercontent.com/modules/SNu8qvdUvCm5Im6q3wLa/0Vv0OJ3DUFo92TKNQpd9/Ask_AI.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import*as ReactDOM from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion}from\"framer-motion\";/**\n * AskSouvik — Framer code component\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 132\n * @framerIntrinsicHeight 44\n * @framerDisableUnlink\n */const FONT_STACK=\"'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\";const COLLAPSED_WIDTH=132;const COLLAPSED_HEIGHT=44;const MOBILE_BREAKPOINT=640;const ANIM={duration:.5,ease:[.32,.72,0,1]};// ─── LINK-AWARE MESSAGE RENDERER ──────────────────────────\nfunction MessageContent({text,linkColor}){const parts=[];const linkRegex=/<a\\s+href=\"([^\"]+)\"[^>]*>([\\s\\S]*?)<\\/a>/gi;let lastIndex=0;let match;while((match=linkRegex.exec(text))!==null){if(match.index>lastIndex)parts.push(text.slice(lastIndex,match.index));parts.push(/*#__PURE__*/_jsx(\"a\",{href:match[1],target:\"_blank\",rel:\"noopener noreferrer\",style:{color:linkColor,textDecoration:\"underline\",textUnderlineOffset:\"2px\",fontWeight:500,cursor:\"pointer\"},children:match[2]},match.index));lastIndex=match.index+match[0].length;}if(lastIndex<text.length)parts.push(text.slice(lastIndex));return /*#__PURE__*/_jsx(_Fragment,{children:parts});}export default function AskSouvik(props){const{apiKey,model,systemPrompt,pillLabel,greeting,subGreeting,placeholder,suggestedPrompts,autoExpandDelay,idleCollapseDelay,autoExpandOncePerSession,chatWidth,chatHeight,offsetBottom,offsetRight,accentBase,accent1,accent2,accent3,textColor,bgColor,borderColor,userBubbleColor,aiBubbleColor,chipBgColor,chipBorderColor,chipHoverColor,linkColor}=props;const wrapperRef=React.useRef(null);const inputRef=React.useRef(null);const scrollRef=React.useRef(null);const idleTimerRef=React.useRef(null);const wasAtBottomRef=React.useRef(true);const[open,setOpen]=React.useState(false);const[input,setInput]=React.useState(\"\");const[isThinking,setIsThinking]=React.useState(false);const[hasInteracted,setHasInteracted]=React.useState(false);const[messages,setMessages]=React.useState([{sender:\"ai\",text:greeting}]);const[mounted,setMounted]=React.useState(false);const[isMobile,setIsMobile]=React.useState(false);const[showInitialGreeting,setShowInitialGreeting]=React.useState(false);const[showThinkingBeforeGreeting,setShowThinkingBeforeGreeting]=React.useState(false);const[usedPrompts,setUsedPrompts]=React.useState(new Set);const[showChipsAfterResponse,setShowChipsAfterResponse]=React.useState(false);const remainingPrompts=(suggestedPrompts||[]).filter(p=>!usedPrompts.has(p));const hasRemainingPrompts=remainingPrompts.length>0;const renderTarget=RenderTarget.current();const isCanvas=renderTarget===RenderTarget.canvas;const isPreview=renderTarget===RenderTarget.preview;React.useEffect(()=>{setMounted(true);},[]);React.useEffect(()=>{if(typeof window===\"undefined\")return;const check=()=>setIsMobile(window.innerWidth<MOBILE_BREAKPOINT);check();window.addEventListener(\"resize\",check);return()=>window.removeEventListener(\"resize\",check);},[]);React.useEffect(()=>{setMessages([{sender:\"ai\",text:greeting}]);},[greeting]);React.useEffect(()=>{if(!isMobile||!open)return;if(typeof document===\"undefined\")return;const prevOverflow=document.body.style.overflow;const prevTouchAction=document.body.style.touchAction;document.body.style.overflow=\"hidden\";document.body.style.touchAction=\"none\";return()=>{document.body.style.overflow=prevOverflow;document.body.style.touchAction=prevTouchAction;};},[isMobile,open]);React.useEffect(()=>{if(isCanvas)return;if(autoExpandDelay<=0)return;const sessionKey=\"askSouvik:autoExpanded\";if(autoExpandOncePerSession&&!isPreview){try{if(sessionStorage.getItem(sessionKey)===\"1\")return;}catch(e){}}const t=window.setTimeout(()=>{setOpen(true);if(autoExpandOncePerSession&&!isPreview){try{sessionStorage.setItem(sessionKey,\"1\");}catch(e){}}},autoExpandDelay*2e3);return()=>window.clearTimeout(t);},[autoExpandDelay,autoExpandOncePerSession,isCanvas,isPreview]);React.useEffect(()=>{if(!open){setShowInitialGreeting(false);setShowThinkingBeforeGreeting(false);return;}if(messages.length!==1||messages[0].sender!==\"ai\")return;if(showInitialGreeting)return;const t1=window.setTimeout(()=>setShowThinkingBeforeGreeting(true),200);const t2=window.setTimeout(()=>{setShowThinkingBeforeGreeting(false);setShowInitialGreeting(true);},2e3);return()=>{window.clearTimeout(t1);window.clearTimeout(t2);};},[open,messages,showInitialGreeting]);React.useEffect(()=>{if(idleTimerRef.current){window.clearTimeout(idleTimerRef.current);idleTimerRef.current=null;}if(open&&!hasInteracted&&idleCollapseDelay>0){idleTimerRef.current=window.setTimeout(()=>setOpen(false),idleCollapseDelay*1e3);}return()=>{if(idleTimerRef.current)window.clearTimeout(idleTimerRef.current);};},[open,hasInteracted,idleCollapseDelay]);React.useEffect(()=>{if(isMobile)return;function onClick(e){if(open&&wrapperRef.current&&!wrapperRef.current.contains(e.target))setOpen(false);}document.addEventListener(\"mousedown\",onClick);return()=>document.removeEventListener(\"mousedown\",onClick);},[open,isMobile]);React.useEffect(()=>{function onKey(e){if(e.key===\"Escape\"&&open)setOpen(false);}document.addEventListener(\"keydown\",onKey);return()=>document.removeEventListener(\"keydown\",onKey);},[open]);React.useEffect(()=>{const el=scrollRef.current;if(!el)return;function onScroll(){if(!el)return;wasAtBottomRef.current=el.scrollHeight-el.scrollTop-el.clientHeight<80;}el.addEventListener(\"scroll\",onScroll,{passive:true});return()=>el.removeEventListener(\"scroll\",onScroll);},[open]);React.useEffect(()=>{const el=scrollRef.current;if(!el)return;if(wasAtBottomRef.current)el.scrollTop=el.scrollHeight;},[messages,isThinking,showInitialGreeting,showThinkingBeforeGreeting,showChipsAfterResponse]);React.useEffect(()=>{if(open){const t=setTimeout(()=>inputRef.current?.focus(),250);return()=>clearTimeout(t);}},[open]);const markInteracted=()=>{if(!hasInteracted)setHasInteracted(true);};const handleOpen=()=>{setOpen(true);markInteracted();};const handleClose=()=>setOpen(false);const sendMessage=async text=>{const trimmed=text.trim();if(!trimmed||isThinking)return;markInteracted();setShowChipsAfterResponse(false);const next=[...messages,{sender:\"user\",text:trimmed}];setMessages(next);setInput(\"\");setIsThinking(true);try{const reply=await callGroq(next,apiKey,model,systemPrompt);setMessages(prev=>[...prev,{sender:\"ai\",text:reply}]);}catch(err){const errMsg=err?.message||\"\";let friendly=\"Hmm, something glitched on my end. Mind trying again?\";if(errMsg.includes(\"429\"))friendly=\"Getting a lot of messages right now — give me a sec and try again 🙏\";else if(errMsg.includes(\"401\")||errMsg.includes(\"403\")||errMsg.includes(\"invalid_api_key\"))friendly=\"Looks like my API key isn't quite right. Souvik needs to check the settings.\";else if(errMsg.includes(\"network\")||errMsg.includes(\"fetch\"))friendly=\"Couldn't reach my brain right now — connection issue. Try again?\";setMessages(prev=>[...prev,{sender:\"ai\",text:friendly}]);}finally{setIsThinking(false);setShowChipsAfterResponse(true);}};const handleSend=()=>sendMessage(input);const handleChipClick=prompt=>{setUsedPrompts(prev=>new Set([...prev,prompt]));sendMessage(prompt);};const showInitialChips=showInitialGreeting&&messages.length===1&&hasRemainingPrompts;const showPostResponseChips=showChipsAfterResponse&&!isThinking&&hasRemainingPrompts&&messages.length>1;const showGreetingBubbles=showInitialGreeting&&messages[0]?.sender===\"ai\";const showPreGreetingTyping=!showInitialGreeting&&showThinkingBeforeGreeting&&messages.length===1&&messages[0]?.sender===\"ai\";const expandedWidth=isMobile?Math.min(typeof window!==\"undefined\"?window.innerWidth-32:360,420):chatWidth;const expandedHeight=isMobile?Math.min(typeof window!==\"undefined\"?window.innerHeight-80:560,640):chatHeight;const ChipRow=({prompts,delay=0})=>/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,delay},style:{display:\"flex\",flexWrap:\"wrap\",gap:6,marginTop:4,alignSelf:\"flex-start\",maxWidth:\"100%\"},children:prompts.map((p,i)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>handleChipClick(p),style:{background:chipBgColor,border:`1px solid ${chipBorderColor}`,borderRadius:999,padding:\"6px 12px\",fontSize:12.5,color:textColor,cursor:\"pointer\",fontFamily:\"inherit\",transition:\"background 0.15s ease, transform 0.15s ease\",whiteSpace:\"nowrap\"},onMouseEnter:e=>{e.currentTarget.style.transform=\"translateY(-1px)\";e.currentTarget.style.background=chipHoverColor;},onMouseLeave:e=>{e.currentTarget.style.transform=\"translateY(0)\";e.currentTarget.style.background=chipBgColor;},children:p},i))});const aiBubbleStyle={alignSelf:\"flex-start\",maxWidth:\"85%\",padding:\"9px 13px\",borderRadius:14,fontSize:13.5,lineHeight:1.45,background:aiBubbleColor,color:textColor,border:`1px solid ${borderColor}`,whiteSpace:\"pre-wrap\",wordBreak:\"break-word\"};const floatingUI=/*#__PURE__*/_jsxs(_Fragment,{children:[isMobile&&/*#__PURE__*/_jsx(motion.div,{initial:false,animate:{opacity:open?1:0},transition:{duration:.3},onTouchMove:e=>{if(open)e.preventDefault();},onWheel:e=>{if(open)e.preventDefault();},style:{position:\"fixed\",inset:0,background:\"rgba(0,0,0,0.5)\",backdropFilter:\"blur(4px)\",WebkitBackdropFilter:\"blur(4px)\",zIndex:9998,pointerEvents:open?\"auto\":\"none\",touchAction:open?\"none\":\"auto\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",bottom:open&&isMobile?\"50%\":offsetBottom,right:open&&isMobile?\"50%\":offsetRight,transform:open&&isMobile?\"translate(50%, 50%)\":\"translate(0, 0)\",zIndex:9999,fontFamily:FONT_STACK,pointerEvents:\"auto\",transition:\"bottom 0.5s cubic-bezier(0.32,0.72,0,1), right 0.5s cubic-bezier(0.32,0.72,0,1), transform 0.5s cubic-bezier(0.32,0.72,0,1)\"},onMouseDown:markInteracted,children:[/*#__PURE__*/_jsx(OrbStyles,{}),/*#__PURE__*/_jsxs(motion.div,{ref:wrapperRef,initial:false,animate:{width:open?expandedWidth:COLLAPSED_WIDTH,height:open?expandedHeight:COLLAPSED_HEIGHT,borderRadius:open?18:22},transition:ANIM,style:{background:bgColor,border:`1px solid ${borderColor}`,overflow:\"hidden\",boxShadow:open?\"0 20px 60px -12px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.02)\":\"0 4px 16px -4px rgba(0,0,0,0.08)\",position:\"relative\"},children:[/*#__PURE__*/_jsxs(motion.button,{type:\"button\",onClick:handleOpen,initial:false,animate:{opacity:open?0:1},transition:{duration:.2,delay:open?0:.25},style:{position:\"absolute\",inset:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:8,background:\"transparent\",border:\"none\",cursor:\"pointer\",color:textColor,fontSize:14,fontWeight:500,fontFamily:\"inherit\",whiteSpace:\"nowrap\",pointerEvents:open?\"none\":\"auto\"},children:[/*#__PURE__*/_jsx(ColorOrb,{size:22,base:accentBase,a1:accent1,a2:accent2,a3:accent3}),/*#__PURE__*/_jsx(\"span\",{children:pillLabel})]}),/*#__PURE__*/_jsxs(motion.div,{initial:false,animate:{opacity:open?1:0},transition:{duration:.2,delay:open?.25:0},style:{position:\"absolute\",inset:0,display:\"flex\",flexDirection:\"column\",pointerEvents:open?\"auto\":\"none\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,padding:\"14px 16px\",borderBottom:`1px solid ${borderColor}`,flexShrink:0},children:[/*#__PURE__*/_jsx(ColorOrb,{size:28,base:accentBase,a1:accent1,a2:accent2,a3:accent3}),/*#__PURE__*/_jsx(\"span\",{style:{color:textColor,fontSize:14,fontWeight:600,lineHeight:1.2,flex:1,minWidth:0},children:\"Souvik\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:handleClose,\"aria-label\":\"Close\",style:{width:28,height:28,borderRadius:8,border:\"none\",background:\"transparent\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:textColor,opacity:.5,padding:0},onMouseEnter:e=>e.currentTarget.style.opacity=\"1\",onMouseLeave:e=>e.currentTarget.style.opacity=\"0.5\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 3L11 11M11 3L3 11\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\"})})})]}),/*#__PURE__*/_jsxs(\"div\",{ref:scrollRef,onWheel:e=>e.stopPropagation(),onTouchMove:e=>e.stopPropagation(),style:{flex:1,minHeight:0,overflowY:\"auto\",overscrollBehavior:\"contain\",WebkitOverflowScrolling:\"touch\",touchAction:\"pan-y\",padding:\"16px\",display:\"flex\",flexDirection:\"column\",gap:10},children:[showGreetingBubbles&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3},style:aiBubbleStyle,children:/*#__PURE__*/_jsx(MessageContent,{text:messages[0].text,linkColor:linkColor})}),subGreeting&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,delay:.15},style:aiBubbleStyle,children:/*#__PURE__*/_jsx(MessageContent,{text:subGreeting,linkColor:linkColor})}),showInitialChips&&/*#__PURE__*/_jsx(ChipRow,{prompts:remainingPrompts,delay:.3})]}),showPreGreetingTyping&&/*#__PURE__*/_jsxs(motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},style:{alignSelf:\"flex-start\",padding:\"11px 13px\",borderRadius:14,background:aiBubbleColor,border:`1px solid ${borderColor}`,display:\"flex\",gap:4,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Dot,{delay:0,color:textColor}),/*#__PURE__*/_jsx(Dot,{delay:.15,color:textColor}),/*#__PURE__*/_jsx(Dot,{delay:.3,color:textColor})]}),messages.slice(1).map((msg,i)=>{const isLastAiMessage=i===messages.slice(1).length-1&&msg.sender===\"ai\";return /*#__PURE__*/_jsxs(React.Fragment,{children:[/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,ease:[.32,.72,0,1]},style:{alignSelf:msg.sender===\"user\"?\"flex-end\":\"flex-start\",maxWidth:\"85%\",padding:\"9px 13px\",borderRadius:14,fontSize:13.5,lineHeight:1.45,background:msg.sender===\"user\"?userBubbleColor:aiBubbleColor,color:msg.sender===\"user\"?\"#ffffff\":textColor,border:msg.sender===\"ai\"?`1px solid ${borderColor}`:\"none\",whiteSpace:\"pre-wrap\",wordBreak:\"break-word\"},children:msg.sender===\"ai\"?/*#__PURE__*/_jsx(MessageContent,{text:msg.text,linkColor:linkColor}):msg.text}),isLastAiMessage&&showPostResponseChips&&/*#__PURE__*/_jsx(ChipRow,{prompts:remainingPrompts,delay:.1})]},`m-${i}`);}),isThinking&&/*#__PURE__*/_jsxs(motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},style:{alignSelf:\"flex-start\",padding:\"11px 13px\",borderRadius:14,background:aiBubbleColor,border:`1px solid ${borderColor}`,display:\"flex\",gap:4,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Dot,{delay:0,color:textColor}),/*#__PURE__*/_jsx(Dot,{delay:.15,color:textColor}),/*#__PURE__*/_jsx(Dot,{delay:.3,color:textColor})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8,padding:\"12px\",borderTop:`1px solid ${borderColor}`,flexShrink:0},children:[/*#__PURE__*/_jsx(\"input\",{ref:inputRef,type:\"text\",value:input,onChange:e=>{setInput(e.target.value);markInteracted();},onFocus:markInteracted,onKeyDown:e=>{markInteracted();if(e.key===\"Enter\"&&!e.shiftKey){e.preventDefault();handleSend();}},placeholder:placeholder,disabled:isThinking,style:{flex:1,background:\"transparent\",border:`1px solid ${borderColor}`,borderRadius:10,padding:\"9px 12px\",fontSize:13.5,color:textColor,outline:\"none\",fontFamily:\"inherit\",minWidth:0}}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:handleSend,disabled:!input.trim()||isThinking,\"aria-label\":\"Send\",style:{width:36,height:36,borderRadius:10,border:\"none\",background:userBubbleColor,cursor:!input.trim()||isThinking?\"not-allowed\":\"pointer\",opacity:!input.trim()||isThinking?.4:1,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,transition:\"opacity 0.15s ease\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1.5 7L12.5 7M12.5 7L7.5 2M12.5 7L7.5 12\",stroke:\"white\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]})]})]})]})]});if(isCanvas){return /*#__PURE__*/_jsx(\"div\",{style:{width:156,height:44,borderRadius:22,border:`1px dashed ${borderColor}`,background:bgColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:8,color:textColor,fontSize:13,fontFamily:FONT_STACK},children:/*#__PURE__*/_jsxs(\"span\",{style:{opacity:.5},children:[\"● \",pillLabel,\" (in preview)\"]})});}if(!mounted||typeof document===\"undefined\")return null;return /*#__PURE__*/ReactDOM.createPortal(floatingUI,document.body);}async function callGroq(history,apiKey,model,systemPrompt){if(!apiKey)return\"I haven't been wired up yet — Souvik needs to add the API key in the component settings.\";const apiMessages=[];if(systemPrompt?.trim())apiMessages.push({role:\"system\",content:systemPrompt});const conversationHistory=history[0]?.sender===\"ai\"?history.slice(1):history;for(const m of conversationHistory)apiMessages.push({role:m.sender===\"user\"?\"user\":\"assistant\",content:m.text});const res=await fetch(\"https://api.groq.com/openai/v1/chat/completions\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Authorization:`Bearer ${apiKey}`},body:JSON.stringify({model,messages:apiMessages,temperature:.7,max_tokens:500})});if(!res.ok)throw new Error(`(${res.status}) ${(await res.text()).slice(0,120)}`);const data=await res.json();return(data?.choices?.[0]?.message?.content??\"\").trim()||\"(I went quiet for a sec — try asking again?)\";}function ColorOrb({size,base,a1,a2,a3}){const blur=Math.max(size*.015,1),contrast=size<30?1.2:Math.max(size*.008,1.5),dot=Math.max(size*.008,.1),shadow=Math.max(size*.008,1);return /*#__PURE__*/_jsx(\"div\",{className:\"askai-orb\",style:{width:size,height:size,\"--ai-base\":base,\"--ai-a1\":a1,\"--ai-a2\":a2,\"--ai-a3\":a3,\"--ai-blur\":`${blur}px`,\"--ai-contrast\":contrast,\"--ai-dot\":`${dot}px`,\"--ai-shadow\":`${shadow}px`}});}function OrbStyles(){return /*#__PURE__*/_jsx(\"style\",{children:`\n@property --askai-angle { syntax: \"<angle>\"; inherits: false; initial-value: 0deg; }\n.askai-orb { display: grid; grid-template-areas: \"stack\"; overflow: hidden; border-radius: 50%; position: relative; flex-shrink: 0; transform: scale(1.1); }\n.askai-orb::before, .askai-orb::after { content: \"\"; display: block; grid-area: stack; width: 100%; height: 100%; border-radius: 50%; }\n.askai-orb::before { background: conic-gradient(from calc(var(--askai-angle)*2) at 25% 70%,var(--ai-a3),transparent 20% 80%,var(--ai-a3)),conic-gradient(from calc(var(--askai-angle)*2) at 45% 75%,var(--ai-a2),transparent 30% 60%,var(--ai-a2)),conic-gradient(from calc(var(--askai-angle)*-3) at 80% 20%,var(--ai-a1),transparent 40% 60%,var(--ai-a1)),conic-gradient(from calc(var(--askai-angle)*2) at 15% 5%,var(--ai-a2),transparent 10% 90%,var(--ai-a2)),conic-gradient(from calc(var(--askai-angle)*1) at 20% 80%,var(--ai-a1),transparent 10% 90%,var(--ai-a1)),conic-gradient(from calc(var(--askai-angle)*-2) at 85% 10%,var(--ai-a3),transparent 20% 80%,var(--ai-a3)); box-shadow: inset var(--ai-base) 0 0 var(--ai-shadow) calc(var(--ai-shadow)*0.2); filter: blur(var(--ai-blur)) contrast(var(--ai-contrast)); animation: askai-spin 20s linear infinite; }\n.askai-orb::after { background-image: radial-gradient(circle at center,var(--ai-base) var(--ai-dot),transparent var(--ai-dot)); background-size: calc(var(--ai-dot)*2) calc(var(--ai-dot)*2); mix-blend-mode: overlay; }\n@keyframes askai-spin { to { --askai-angle: 360deg; } }\n@media (prefers-reduced-motion: reduce) { .askai-orb::before { animation: none; } }\n`});}function Dot({delay,color}){return /*#__PURE__*/_jsx(motion.span,{animate:{opacity:[.2,1,.2],y:[0,-2,0]},transition:{duration:1,repeat:Infinity,delay,ease:\"easeInOut\"},style:{width:5,height:5,borderRadius:\"50%\",background:color,opacity:.4,display:\"inline-block\"}});}AskSouvik.defaultProps={apiKey:\"\",model:\"llama-3.3-70b-versatile\",systemPrompt:`You are Souvik. Speak in first person (\"I\", \"my\", \"me\") — never as an AI or chatbot. Never say \"as an AI\" or anything similar. If someone asks if you're an AI, deflect naturally: \"I'm just Souvik, happy to answer whatever you've got.\"\n\nTONE\nWarm, direct, slightly informal. Capitalise the first word of every sentence. Short replies — 2–4 sentences unless someone asks for more. Occasional dry humour is fine. No corporate fluff, no bullet-point dumps unless explicitly asked.\n\nABOUT ME\nI'm a product designer with 5+ years of experience, currently based in Berlin. I also spend time in Hannover — my partner's from there. Right now I'm looking for product/UX design roles in Germany. I like working at the intersection of AI, product thinking, and clean execution — especially when problems are messy or complex.\n\nWORK — ACCENTURE (2024–2025)\nDesigned AI-powered MVPs for Google's Vertex AI sales enablement team. Simplified complex AI workflows into intuitive demos, cutting prep and delivery time by around 5x. Built an Airbus manufacturing diagram validation tool — AI-assisted QA for engineering diagrams. Redesigned Google Cloud marketing dashboards with AI-driven insights and improved information architecture. Also worked on improving Etisalat's customer experience through journey redesign.\n\nWORK — WIPRO (2020–2024)\nRedesigned Dell's post-sale workflows across 17+ countries — reduced process time by around 80%. Led end-to-end design for UnitedHealth Group's member mobile app, used by 2M+ users. Built and scaled a healthcare design system. Conducted accessibility testing with visually impaired users and ensured WCAG 2.1 and ADA compliance.\n\nSTRENGTHS\nAI-native product design, simplifying complex systems and AI outputs, design systems and scalability, accessibility (WCAG 2.1 / ADA), strong visual craft and motion, end-to-end product thinking.\n\nSKILLS\nUX Research, Journey Mapping, Service Blueprint, System Thinking, Information Architecture, Interaction Design, Wireframing, Prototyping, Usability Testing, A/B Testing, AI-enhanced UX, Accessibility, Responsive Design, Design Systems, Cross-functional Collaboration.\n\nTOOLS\nI partner with AI to not just design but actually build things. Figma and Claude for design, Framer for website development, ChatGPT for prompt creation with voice, Claude for prototyping, Miro for research articulation, Dovetail for research synthesis, Adobe Firefly for image generation, InDesign for documents, Premiere Pro for video editing.\n\nCURRENT FOCUS\nBuilding my portfolio in Framer with custom code components — things like a colour tester tool, small HTML animations, and vibe-coded prototypes of real projects. Also deep in a chatbot project, similar to this one — custom built from UI to API. Exploring how AI can speed up prototyping, improve decision-making, and make complex systems more understandable.\n\nGoing through my own job search, I noticed how hard it is to stay on top of applications — tracking what you applied to, tailoring your CV, writing cover letters that actually pass ATS. A lot of people aren't making it through simply because they're not using the right keywords or framing their skills correctly, not because they're underqualified. So I built a SaaS tool to fix that. It helps job seekers track applications, generate role-tailored CVs, and write cover letters matched to the job description. Check it out at <a href=\"https://www.tracka.my\">www.tracka.my</a>.\n\nPREDEFINED PROMPT ANSWERS\nUse these answers when the user asks the matching question. Stay close to the substance but keep the tone natural. Always include the HTML link tags exactly as written — the chat renders them as clickable links.\n\nIf asked \"Tell me about your work\":\nHey! I've spent about 5 years working in IT consultancies, collaborating with clients from all around the world. One project I'm especially proud of is with Google Vertex AI and Airbus — we created a manufacturing validation tool that showed how AI can make complex workflows smoother. You can see the full case study here: <a href=\"https://www.souvikb.net/ux/pitchhub\">Airbus / PitchHub project →</a>. And beyond that, I've been working on my own job tracker tool — while job hunting myself I realised how many others face the same challenges, so I built something to help: <a href=\"https://www.tracka.my\">www.tracka.my</a>.\n\nIf asked \"What are you looking for?\":\nI've been attending AI meetups and masterclasses to level up, and I've evolved from a pure product designer into more of a builder mindset. With AI, I've enjoyed the freedom to create end-to-end products, and I'd love to join a team where I can apply and grow these skills. I'm actively looking for product or UX design roles in Germany — Berlin is home right now, but open to other cities too. If that sounds like your team, reach out at souvik.b@alumni.nid.edu.\n\nIf asked \"Show me a project\":\nTwo projects I'd love to share — the Google Vertex AI collaboration with Airbus (<a href=\"https://www.souvikb.net/ux/pitchhub\">see case study →</a>), which showed how AI can fit into complex workflows while keeping humans in the loop. And the UnitedHealth Group member portal (<a href=\"https://www.souvikb.net/ux/member-portal\">see case study →</a>) — end-to-end design, 2M+ users, full design system and accessibility-first. Both are worth a look!\n\nIf asked \"What have you been working on lately?\" or similar:\nHonestly, a lot. I've been building out my Framer portfolio with custom code components, but the bigger thing right now is a SaaS product I've been working on. Going through job search myself, I realised how hard it is to keep track of applications and tailor your CV and cover letter for each role. A lot of people don't make it past ATS systems — not because they're underqualified, but because they're not using the right keywords or framing. So I built a tool to fix that: application tracking, role-tailored CV generation, and cover letters that actually match the job description. Check it out at <a href=\"https://www.tracka.my\">www.tracka.my</a>.\n\nDESIGN PROCESS\nI start by clearly articulating the problem and why it matters. Then research — user interviews, data, competitive analysis. I move through ideation, wireframing, prototyping, and testing, and I let feedback shape iterations at every stage.\n\nHANDLING FEEDBACK\nI stay curious and ask what's behind the feedback. I separate ego from the work, dig into the real concern, and come back with alternatives. The goal is always the best outcome, not winning the argument.\n\nPRIORITISING FEATURES\nI use frameworks like Impact vs Effort or RICE scoring. I balance what solves the biggest user problem with what's actually feasible and aligned to business goals. Data and research back the call.\n\nWORKING WITH ENGINEERS\nI bring engineers in early — they shouldn't see designs for the first time at handoff. I provide detailed specs and component libraries, stay flexible around constraints, and stay involved during sprints to give feedback on implementations.\n\nDESIGN DECISIONS I DISAGREED WITH\nI present the situation objectively, share my reasoning with a clear user or business case, and look for middle ground. I've learned that influence matters more than being right, and the best outcomes usually come from genuine collaboration.\n\nMEASURING SUCCESS\nI define KPIs before launch — conversion rates, task completion, satisfaction scores. I combine quantitative analytics with qualitative feedback, track over time, and connect design changes to broader business objectives.\n\nSTAYING CURRENT\nI experiment through side projects and prototypes. I follow design communities, do peer critique, and evaluate trends against actual user needs rather than chasing them blindly.\n\nAI AND DESIGN\nAI augments creativity — it doesn't replace judgment or empathy. I use it for ideation, prototyping speed, and making complex outputs interpretable. I also think seriously about bias, transparency, and building in human oversight whenever AI is making decisions that affect users.\n\nDESIGNING FOR AI FEATURES\nTransparency first — users need to understand what the AI is doing. Design for failure states gracefully. Introduce features progressively to build trust. Always give users a way to override or correct the AI.\n\nDESIGN SYSTEMS\nI've built and scaled design systems from scratch — components, tokens, documentation, governance. The value is consistency and speed across teams. The hard part is adoption, and I've learned that systems succeed when designers feel ownership over them, not just handed a rulebook.\n\nQUESTIONS I ASK COMPANIES\nHow is AI being integrated into the product roadmap and design process? What does success look like in this role after six months? How does the team approach responsible AI and bias mitigation? What opportunities exist to work on AI or ML-driven features?\n\nCONTACT\nIf someone wants to get in touch, tell them to email me at souvik.b@alumni.nid.edu.\n\nLINK FORMAT RULES\nWhen including links in your replies, always use this exact HTML format: <a href=\"URL\">link text</a>\nThe chat renders these as real clickable links. Never write raw URLs as plain text — always wrap them in anchor tags.\nApproved links you may use:\n- Airbus / PitchHub case study: https://www.souvikb.net/ux/pitchhub\n- UnitedHealth Group / Member Portal: https://www.souvikb.net/ux/member-portal\n- Honda Fleet Sync: https://www.souvikb.net/ux/fleet-sync\n- Desi Aroma: https://www.souvikb.net/ux/desi-aroma\n- AccessNow: https://www.souvikb.net/ux/accessnow\n- Streamliner: https://www.souvikb.net/ux/streamliner\n- Job tracker SaaS: https://www.tracka.my\n- Email: souvik.b@alumni.nid.edu\nDo not invent or guess any other URLs.\n\nRULES\n- First word of every sentence must be capitalised.\n- Never break character.\n- If asked something genuinely unknown, say \"Honestly not sure on that one.\"`,pillLabel:\"Ask Souvik\",greeting:\"Hey, I'm Souvik 👋\",subGreeting:\"Ask me anything about my work, experience, or projects.\",placeholder:\"Type a message…\",suggestedPrompts:[\"Tell me about your work\",\"What are you looking for?\",\"Show me a project\"],autoExpandDelay:3,idleCollapseDelay:12,autoExpandOncePerSession:true,chatWidth:380,chatHeight:500,offsetBottom:24,offsetRight:24,accentBase:\"#1a1a1a\",accent1:\"#ff6b9d\",accent2:\"#74c7ec\",accent3:\"#a78bfa\",textColor:\"#0a0a0a\",bgColor:\"#ffffff\",borderColor:\"rgba(0, 0, 0, 0.08)\",userBubbleColor:\"#0a0a0a\",aiBubbleColor:\"#f7f7f7\",chipBgColor:\"#ffffff\",chipBorderColor:\"rgba(0, 0, 0, 0.12)\",chipHoverColor:\"#f0f0f0\",linkColor:\"#0066cc\"};addPropertyControls(AskSouvik,{apiKey:{type:ControlType.String,title:\"Groq API Key\",placeholder:\"gsk_...\"},model:{type:ControlType.Enum,title:\"Model\",options:[\"llama-3.3-70b-versatile\",\"llama-3.1-8b-instant\",\"mixtral-8x7b-32768\",\"gemma2-9b-it\"],optionTitles:[\"Llama 3.3 70B (best quality)\",\"Llama 3.1 8B (fastest)\",\"Mixtral 8x7B\",\"Gemma 2 9B\"],defaultValue:\"llama-3.3-70b-versatile\"},systemPrompt:{type:ControlType.String,title:\"Personality / About\",displayTextArea:true},pillLabel:{type:ControlType.String,title:\"Pill Label\"},greeting:{type:ControlType.String,title:\"Greeting\",displayTextArea:true},subGreeting:{type:ControlType.String,title:\"Sub-greeting\",displayTextArea:true},placeholder:{type:ControlType.String,title:\"Input Placeholder\"},suggestedPrompts:{type:ControlType.Array,title:\"Suggested Prompts\",control:{type:ControlType.String},maxCount:8},autoExpandDelay:{type:ControlType.Number,title:\"Auto-open After\",min:0,max:30,step:1,unit:\"s\"},idleCollapseDelay:{type:ControlType.Number,title:\"Auto-close After\",min:0,max:60,step:1,unit:\"s\"},autoExpandOncePerSession:{type:ControlType.Boolean,title:\"Once Per Session\",defaultValue:true},chatWidth:{type:ControlType.Number,title:\"Chat Width\",min:280,max:600,step:10,unit:\"px\"},chatHeight:{type:ControlType.Number,title:\"Chat Height\",min:320,max:800,step:10,unit:\"px\"},offsetBottom:{type:ControlType.Number,title:\"Offset Bottom\",min:0,max:200,step:4,unit:\"px\"},offsetRight:{type:ControlType.Number,title:\"Offset Right\",min:0,max:200,step:4,unit:\"px\"},accentBase:{type:ControlType.Color,title:\"Orb Base\"},accent1:{type:ControlType.Color,title:\"Orb Accent 1\"},accent2:{type:ControlType.Color,title:\"Orb Accent 2\"},accent3:{type:ControlType.Color,title:\"Orb Accent 3\"},textColor:{type:ControlType.Color,title:\"Text\"},bgColor:{type:ControlType.Color,title:\"Background\"},borderColor:{type:ControlType.Color,title:\"Border\"},userBubbleColor:{type:ControlType.Color,title:\"User Bubble\"},aiBubbleColor:{type:ControlType.Color,title:\"AI Bubble\"},chipBgColor:{type:ControlType.Color,title:\"Chip Background\"},chipBorderColor:{type:ControlType.Color,title:\"Chip Border\"},chipHoverColor:{type:ControlType.Color,title:\"Chip Hover\"},linkColor:{type:ControlType.Color,title:\"Link Color\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AskSouvik\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ask_AI.map"],"mappings":"4RASA,SAAS,EAAe,CAAC,OAAK,aAAW,CAAC,IAAM,EAAM,EAAE,CAAO,EAAU,6CAAiD,EAAU,EAAM,EAAM,MAAO,EAAM,EAAU,KAAK,EAAK,IAAI,MAAS,EAAM,MAAM,GAAU,EAAM,KAAK,EAAK,MAAM,EAAU,EAAM,MAAM,CAAC,CAAC,EAAM,KAAkB,EAAK,IAAI,CAAC,KAAK,EAAM,GAAG,OAAO,SAAS,IAAI,sBAAsB,MAAM,CAAC,MAAM,EAAU,eAAe,YAAY,oBAAoB,MAAM,WAAW,IAAI,OAAO,UAAU,CAAC,SAAS,EAAM,GAAG,CAAC,EAAM,MAAM,CAAC,CAAC,EAAU,EAAM,MAAM,EAAM,GAAG,OAAmE,OA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