{"version":3,"file":"PromptCard.DUPClFdt.mjs","names":["useState","_jsxs","_jsx","_Fragment","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","l","_e","p","navigator","init_framer_ChujFWHC","addPropertyControls","ControlType","PromptCard","props","label","prompt","style","copied","setCopied","copy","small","FONT","BEAN","PEARL","c","SQUIRREL","__FramerMetadata__","init_PromptCard","init_jsx_runtime","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerIntrinsicWidth\"","\"framerContractVersion\"","\"framerSupportedLayoutWidth\"","\"framerSupportedLayoutHeight\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/JK3u1bJW49n1U4z3xDaJ/6xOso2iTAVXBSGwD86zI/PromptCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Prompt Card (LegalMate design system, Kate 24 Nov 2026)\n// A prompt readers paste into an AI assistant, for blog posts.\n// Pearl 100 card, 12px corners, 20/24 padding. Label row: 6px Squirrel 400 dot + 14m Bean 900, Copy on the right.\n// Prompt text: 16r Bean 900. Code component because Framer can't copy to the clipboard on its own.\nconst BEAN=\"var(--token-9641d032-758b-4c1e-8532-ffe1e4aed94b, rgb(43, 24, 10))\";const SQUIRREL=\"var(--token-4967ffbc-0e50-4a41-9575-9f6d73465850, rgb(148, 135, 124))\";const PEARL=\"var(--token-012d5923-be70-43f5-860f-c428838c167d, rgb(239, 231, 221))\";const FONT='\"Geist\", \"Geist Placeholder\", sans-serif';/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 720\n */export default function PromptCard(props){const{label,prompt,style}=props;const[copied,setCopied]=useState(false);const copy=async()=>{try{await navigator.clipboard.writeText(prompt);setCopied(true);setTimeout(()=>setCopied(false),2e3);}catch(e){}};const small={fontFamily:FONT,fontSize:14,fontWeight:500,lineHeight:\"150%\",letterSpacing:\"-0.04em\",color:BEAN};return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:\"100%\",boxSizing:\"border-box\",background:PEARL,borderRadius:12,padding:\"20px 24px 24px\",display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",gap:16},children:[/*#__PURE__*/_jsxs(\"span\",{style:{...small,display:\"flex\",alignItems:\"center\",gap:8},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:6,height:6,borderRadius:3,background:SQUIRREL,flex:\"none\"}}),label]}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:copy,\"aria-label\":copied?\"Prompt copied\":\"Copy prompt\",style:{...small,display:\"flex\",alignItems:\"center\",gap:8,background:\"none\",border:\"none\",padding:0,cursor:\"pointer\"},children:[copied?\"Copied\":\"Copy\",/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",children:copied?/*#__PURE__*/_jsx(\"path\",{d:\"M20 6 9 17l-5-5\"}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{width:\"14\",height:\"14\",x:\"8\",y:\"8\",rx:\"2\",ry:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"})]})})]})]}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontFamily:FONT,fontSize:16,fontWeight:400,lineHeight:\"150%\",letterSpacing:\"-0.04em\",color:BEAN,whiteSpace:\"pre-wrap\"},children:prompt})]});}addPropertyControls(PromptCard,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Paste into your AI assistant\"},prompt:{type:ControlType.String,title:\"Prompt\",displayTextArea:true,defaultValue:\"Search last week's inbound calls from new callers in LegalMate.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PromptCard\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"720\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PromptCard.map"],"mappings":"A,4LAQG,SAAwBc,EAAWC,EAAM,CAAC,GAAK,CAACC,QAAMC,SAAOC,SAAOH,EAAW,CAACI,EAAOC,GAAWpB,EAAS,EAAK,EAAQqB,EAAK,SAAS,CAAC,GAAG,CAAC,MAAMX,EAAU,UAAU,UAAUO,CAAM,EAAEG,EAAU,EAAI,EAAE,eAAeA,EAAU,EAAK,EAAE,GAAG,CAAE,MAAS,CAAC,CAAC,EAAQE,EAAM,CAAC,WAAWC,EAAK,SAAS,GAAG,WAAW,IAAI,WAAW,OAAO,cAAc,UAAU,MAAMC,CAAI,EAAE,MAAoBvB,gBAAM,MAAM,CAAC,MAAM,CAAC,GAAGiB,EAAM,MAAM,OAAO,UAAU,aAAa,WAAWO,EAAM,aAAa,GAAG,QAAQ,iBAAiB,QAAQ,OAAO,cAAc,SAAS,IAAI,EAAE,EAAE,SAAS,CAAcxB,gBAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,eAAe,gBAAgB,WAAW,SAAS,IAAI,EAAE,EAAE,SAAS,CAAcA,gBAAM,OAAO,CAAC,MAAM,CAAC,GAAGqB,EAAM,QAAQ,OAAO,WAAW,SAAS,IAAI,CAAC,EAAE,SAAS,CAAcpB,gBAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,WAAWyB,EAAS,KAAK,MAAM,CAAC,CAAC,EAAEX,CAAK,CAAC,CAAC,EAAef,gBAAM,SAAS,CAAC,KAAK,SAAS,QAAQoB,EAAK,aA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