{"version":3,"file":"DentavisChips.BAMPSwkG.mjs","names":["__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_CaDWdxiz","ControlType","DentavisChips","props","clean","text","chips","chipBg","chipColor","chip","i","init_DentavisChips"],"sources":["https:/framerusercontent.com/modules/RQdGBOFDlVgYWWqR5Wxe/yc3DRRwfvO0fUix4Qn9C/DentavisChips.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Splittet einen ·-separierten Text in einzelne Chip-Badges.\n * Funktioniert mit plain text und formattedText (HTML) aus Framer CMS.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 260\n * @framerIntrinsicHeight 80\n */export default function DentavisChips(props){const{text=\"\",chipBg=\"rgb(231,236,247)\",chipColor=\"rgb(16,43,120)\"}=props;// Strip HTML, decode entities, normalize whitespace\nconst clean=(text||\"\").replace(/<[^>]*>/g,\" \").replace(/&middot;/gi,\"\\xb7\").replace(/&amp;/gi,\"&\").replace(/&nbsp;/gi,\" \").replace(/\\u00b7/g,\"\\xb7\")// Unicode middle dot\n.replace(/\\s+/g,\" \").trim();const chips=clean?clean.split(/\\s*·\\s*/).map(c=>c.trim()).filter(Boolean):[];if(!text||chips.length===0)return null;return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"row\",flexWrap:\"wrap\",gap:6,width:\"100%\"},children:chips.map((chip,i)=>/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",padding:\"4px 12px\",height:26,borderRadius:999,backgroundColor:chipBg,color:chipColor,fontSize:11,fontWeight:600,letterSpacing:\"0.1em\",textTransform:\"uppercase\",fontFamily:\"'Satoshi', 'Inter', -apple-system, sans-serif\",whiteSpace:\"nowrap\",boxSizing:\"border-box\"},children:chip},i))});}addPropertyControls(DentavisChips,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Implantologie \\xb7 PRGF \\xb7 Regeneration \\xb7 Chirurgie\",displayTextArea:true},chipBg:{type:ControlType.Color,title:\"Badge BG\",defaultValue:\"rgb(231,236,247)\"},chipColor:{type:ControlType.Color,title:\"Badge Text\",defaultValue:\"rgb(16,43,120)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DentavisChips\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"80\",\"framerIntrinsicWidth\":\"260\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DentavisChips.map"],"mappings":"A,4JAQG,SAAwBM,EAAc,EAAM,CAAC,GAAK,CAAC,OAAK,GAAG,SAAO,mBAAmB,YAAU,kBAAkBC,EAC9GC,GAAOC,GAAM,GAAA,CAAI,QAAQ,WAAW,GAAG,CAAC,CAAC,QAAQ,aAAa,GAAM,CAAC,CAAC,QAAQ,UAAU,GAAG,CAAC,CAAC,QAAQ,WAAW,GAAG,CAAC,CAAC,QAAQ,UAAU,GAAM,CAAC,CACnJ,QAAQ,OAAO,GAAG,CAAC,CAAC,KAAK,EAAQC,EAAMF,EAAMA,EAAM,MAAM,SAAS,CAAC,CAAC,IAAI,GAAGP,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,OAAO,EAAE,CAAC,EAAyC,MAApC,CAACQ,GAAMC,EAAM,SAAS,EAAS,KAAyB,gBAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,cAAc,MAAM,SAAS,OAAO,IAAI,EAAE,MAAM,MAAM,EAAE,SAASA,EAAM,KAAK,EAAK,IAAiB,gBAAK,OAAO,CAAC,MAAM,CAAC,QAAQ,cAAc,WAAW,SAAS,QAAQ,WAAW,OAAO,GAAG,aAAa,IAAI,gBAAgBC,EAAO,MAAMC,EAAU,SAAS,GAAG,WAAW,IAAI,cAAc,QA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