{"version":3,"file":"BlogDaten.BYi20VZS.mjs","names":["__esmMin","init_jsx_runtime","c","p","addPropertyControls","init_framer_BpuvUAiZ","ControlType","Quelle","name","url","Statistik","props","card","BLUE","zahl","text","quelle","quelleUrl","Balkendiagramm","rows","daten","s","i","v","hl","max","r","titel","einheit","FONT","__FramerMetadata__","init_BlogDaten","\"exports\"","\"Statistik\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerDisableUnlink\"","\"framerSupportedLayoutHeight\"","\"framerSupportedLayoutWidth\"","\"framerContractVersion\"","\"Balkendiagramm\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/Et7GFAg2eb9mslBqkd3d/PLOwEvPnUOCVwiE53sYV/BlogDaten.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// Daten-Bausteine fuer Blogartikel: Statistik-Box und Balkendiagramm, jeweils mit verlinkter Quelle.\nconst BLUE=\"#0A7CFF\";const FONT='\"Geist\", \"Inter\", system-ui, sans-serif';function Quelle({name,url}){if(!name)return null;return /*#__PURE__*/_jsxs(\"div\",{style:{marginTop:14,fontSize:13,lineHeight:1.4,color:\"#6B7280\"},children:[\"Quelle:\",\" \",url?/*#__PURE__*/_jsx(\"a\",{href:url,target:\"_blank\",rel:\"noopener\",style:{color:\"#6B7280\",textDecoration:\"underline\",textUnderlineOffset:2},children:name}):name]});}const card={width:\"100%\",boxSizing:\"border-box\",fontFamily:FONT,background:\"linear-gradient(135deg, #F4F8FF 0%, #FFFFFF 70%)\",border:\"1px solid #E3EAF5\",borderRadius:16,padding:\"24px 26px\",margin:\"8px 0\",color:\"#111\"};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export function Statistik(props){const{zahl,text,quelle,quelleUrl}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,...card},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:22,alignItems:\"center\",flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:52,fontWeight:600,letterSpacing:\"-0.04em\",lineHeight:1,color:BLUE,flex:\"0 0 auto\"},children:zahl}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:17,lineHeight:1.5,fontWeight:500,flex:\"1 1 240px\",color:\"#1F2937\"},children:text})]}),/*#__PURE__*/_jsx(Quelle,{name:quelle,url:quelleUrl})]});}Statistik.defaultProps={zahl:\"82 %\",text:\"der B2B-Eink\\xe4ufer nehmen zumindest manchmal Termine mit Verk\\xe4ufern an, die von sich aus auf sie zugehen.\",quelle:\"RAIN Group, Top Performance in Sales Prospecting\",quelleUrl:\"\"};addPropertyControls(Statistik,{zahl:{type:ControlType.String,title:\"Zahl\"},text:{type:ControlType.String,title:\"Text\",displayTextArea:true},quelle:{type:ControlType.String,title:\"Quelle\"},quelleUrl:{type:ControlType.String,title:\"Quelle-URL\"}});/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export function Balkendiagramm(props){const{titel,daten,einheit,quelle,quelleUrl}=props;// Format: \"Bezeichnung=Wert; Bezeichnung=Wert*\"  (* = hervorheben)\nconst rows=(daten||\"\").split(/;|\\n/).map(s=>s.trim()).filter(Boolean).map(s=>{const i=s.lastIndexOf(\"=\");let v=s.slice(i+1).trim();const hl=v.endsWith(\"*\");v=v.replace(\"*\",\"\");return{label:s.slice(0,i).trim(),value:parseFloat(v.replace(\",\",\".\"))||0,raw:v,hl};});const max=Math.max(1,...rows.map(r=>r.value));return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,...card},role:\"figure\",\"aria-label\":titel,children:[titel?/*#__PURE__*/_jsx(\"div\",{style:{fontSize:18,fontWeight:600,letterSpacing:\"-0.01em\",lineHeight:1.35,marginBottom:18},children:titel}):null,/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:14},children:rows.map((r,i)=>/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",gap:12,fontSize:15,lineHeight:1.4,marginBottom:6,color:\"#374151\"},children:[/*#__PURE__*/_jsx(\"span\",{children:r.label}),/*#__PURE__*/_jsxs(\"span\",{style:{fontWeight:600,color:r.hl?BLUE:\"#111\",whiteSpace:\"nowrap\"},children:[r.raw,einheit]})]}),/*#__PURE__*/_jsx(\"div\",{style:{height:12,background:\"#E9EEF6\",borderRadius:99,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:{width:`${r.value/max*100}%`,height:\"100%\",borderRadius:99,background:r.hl?BLUE:\"#9CB8E6\"}})})]},i))}),/*#__PURE__*/_jsx(Quelle,{name:quelle,url:quelleUrl})]});}Balkendiagramm.defaultProps={titel:\"Redeanteil des Verk\\xe4ufers\",daten:\"Gewonnene Deals=57*; Verlorene Deals=62\",einheit:\" %\",quelle:\"Gong Labs\",quelleUrl:\"\"};addPropertyControls(Balkendiagramm,{titel:{type:ControlType.String,title:\"Titel\"},daten:{type:ControlType.String,title:\"Daten\",displayTextArea:true,description:\"Bezeichnung=Wert; … (* hinter dem Wert = hervorheben)\"},einheit:{type:ControlType.String,title:\"Einheit\"},quelle:{type:ControlType.String,title:\"Quelle\"},quelleUrl:{type:ControlType.String,title:\"Quelle-URL\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"Statistik\":{\"type\":\"reactComponent\",\"name\":\"Statistik\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"Balkendiagramm\":{\"type\":\"reactComponent\",\"name\":\"Balkendiagramm\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\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