{"version":3,"file":"CssBox.NeMkSwPC.mjs","names":["__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_Bf4_tcb2","ControlType","parseCss","out","s","i","decl","k","v","CssBox","props","border","boxShadow","backdrop","extraCss","init_CssBox"],"sources":["https:/framerusercontent.com/modules/XdnfEdkOBcK9GLolhR55/v4ByZInwGbBfz58HrDZv/CssBox.js"],"sourcesContent":["// GET v28 — a plain box painted with any CSS background/shadow/border.\n// Covers the few surfaces Framer's own fills can't express 1:1: the\n// gradient spine between steps 01–04, the demo card's colour mesh, the\n// voice card's soft shadows. Children-less on purpose; stack it behind\n// real layers with absolute positioning.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";function parseCss(s){const out={};(s||\"\").split(\";\").forEach(decl=>{const i=decl.indexOf(\":\");if(i<0)return;const k=decl.slice(0,i).trim().replace(/-([a-z])/g,(_m,c)=>c.toUpperCase());const v=decl.slice(i+1).trim();if(k&&v)out[k]=v;});return out;}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function CssBox(props){const{background=\"linear-gradient(to bottom,#6E2BEE 0%,#B02A7A 52%,#F24E00 100%)\",border=\"\",borderRadius=\"0px\",boxShadow=\"\",backdrop=\"\",opacity=1,extraCss=\"\"}=props;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",boxSizing:\"border-box\",background,border:border||undefined,borderRadius,boxShadow:boxShadow||undefined,backdropFilter:backdrop||undefined,WebkitBackdropFilter:backdrop||undefined,opacity,pointerEvents:\"none\",...parseCss(extraCss)}});}addPropertyControls(CssBox,{background:{type:ControlType.String,title:\"Background\",displayTextArea:true,defaultValue:\"linear-gradient(to bottom,#6E2BEE 0%,#B02A7A 52%,#F24E00 100%)\"},border:{type:ControlType.String,title:\"Border\",defaultValue:\"\"},borderRadius:{type:ControlType.String,title:\"Radius\",defaultValue:\"0px\"},boxShadow:{type:ControlType.String,title:\"Shadow\",displayTextArea:true,defaultValue:\"\"},backdrop:{type:ControlType.String,title:\"Backdrop\",defaultValue:\"\"},opacity:{type:ControlType.Number,title:\"Opacity\",min:0,max:1,step:.01,defaultValue:1},extraCss:{type:ControlType.String,title:\"Extra CSS\",displayTextArea:true,defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CssBox\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CssBox.map"],"mappings":"A,4JAK+F,SAASM,EAAS,EAAE,CAAC,IAAMC,EAAI,CAAC,EAA2M,OAAxMC,GAAG,GAAA,CAAI,MAAM,GAAG,CAAC,CAAC,QAAQ,GAAM,CAAC,IAAMC,EAAEC,EAAK,QAAQ,GAAG,EAAE,GAAGD,EAAE,EAAE,OAAO,IAAME,EAAED,EAAK,MAAM,EAAED,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,QAAQ,aAAa,EAAG,IAAIR,EAAE,YAAY,CAAC,EAAQW,EAAEF,EAAK,MAAMD,EAAE,CAAC,CAAC,CAAC,KAAK,EAAKE,GAAGC,IAAE,EAAID,GAAGC,EAAE,CAAC,EAASL,CAAI,CAGlV,SAAwBM,EAAO,EAAM,CAAC,GAAK,CAAC,aAAW,iEAAiE,SAAO,GAAG,eAAa,MAAM,YAAU,GAAG,WAAS,GAAG,UAAQ,EAAE,WAAS,IAAIC,EAAM,MAAoB,gBAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,UAAU,aAAa,aAAW,OAAOC,GAAQ,IAAA,GAAU,eAAa,UAAUC,GAAW,IAAA,GAAU,eAAeC,GAAU,IAAA,GAAU,qBAAqBA,GAAU,IAAA,GAAU,UAAQ,cAAc,OAAO,GAAGX,EAASY,CAAQ,CAAC,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