{"version":3,"file":"PackageFeatures.CoDLGkiG.mjs","names":["__esmMin","init_jsx_runtime","c","p","init_framer_BisrWwwE","addPropertyControls","PP_FONT_FACE","PP","init_ppBrand","PP_FONT","PackageFeatures","features","props","text","icon","gap","size","minColumnWidth","style","items","row","s","category","item","groups","name","group","i","init_PackageFeatures","ControlType"],"sources":["https:/framerusercontent.com/modules/n38c5vEjpQw4aMeJIhBB/g8XtrHCRDnyO802P6GD7/PackageFeatures.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{PP,PP_FONT,PP_FONT_FACE}from\"https://framerusercontent.com/modules/ntpRMZJn5GXg9XRgRRHO/tBQLb7AcK9gBkXYYoRkl/ppBrand.js\";/**\n * Renders package features from a CMS string.\n * Prefer comma-separated values for easy client edits; newlines still work.\n * @framerSupportedLayoutWidth any-fillable\n * @framerSupportedLayoutHeight any\n */export default function PackageFeatures(props){const features=props.features??\"HDR interior + exterior photos, Client portal gallery, Next-day delivery\";const text=props.text??PP.marine;const icon=props.icon??PP.teal;const gap=props.gap??10;const size=Math.max(props.size??16,16);// 0 keeps the original single column. Above 0 the list flows into as many\n// columns as fit, which is what a full-width band needs — a single column of\n// six short items across 1280px reads as a broken layout.\nconst minColumnWidth=props.minColumnWidth??0;const style=props.style;const items=props.useCmsLists&&Array.isArray(props.cmsFeatures)?props.cmsFeatures.map(row=>row.text.trim()).filter(Boolean):String(features||\"\").split(/[\\n\\r,]+/).map(s=>s.trim()).filter(Boolean);const category=item=>{if(/video|reel|walkthrough/i.test(item))return\"Video\";if(/floor plan|matterport|3d.*tour|hosting|renewal|boundary/i.test(item))return\"Plans & tours\";if(/photo|image|aerial|exterior|interior coverage|twilight|screen replacement|item removal|blue sky/i.test(item))return\"Photos & editing\";return\"Delivery & usage\";};if(props.groupByType&&items.length){const groups=[\"Photos & editing\",\"Video\",\"Plans & tours\",\"Delivery & usage\"].map(name=>({name,items:items.filter(item=>category(item)===name)})).filter(group=>group.items.length);return /*#__PURE__*/_jsxs(\"div\",{className:\"pp-feature-groups\",style:{width:\"100%\",fontFamily:PP_FONT,color:text,...style},children:[/*#__PURE__*/_jsx(\"style\",{children:PP_FONT_FACE+`.pp-feature-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:32px}.pp-feature-groups h3{font-size:18px;line-height:1.35;font-weight:700;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid ${PP.line}}.pp-feature-groups ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}.pp-feature-groups li{display:flex;gap:10px;align-items:flex-start;font-size:16px;line-height:1.6}`}),groups.map(group=>/*#__PURE__*/_jsxs(\"section\",{\"aria-label\":group.name,children:[/*#__PURE__*/_jsx(\"h3\",{children:group.name}),/*#__PURE__*/_jsx(\"ul\",{children:group.items.map((item,i)=>/*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsx(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:icon,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",style:{flex:\"0 0 auto\",marginTop:4},children:/*#__PURE__*/_jsx(\"path\",{d:\"m5 12 4 4L19 6\"})}),/*#__PURE__*/_jsx(\"span\",{children:item})]},i))})]},group.name))]});}if(items.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{...style,minHeight:1}});}return /*#__PURE__*/_jsxs(\"div\",{style:{...minColumnWidth>0?{display:\"grid\",gridTemplateColumns:`repeat(auto-fit, minmax(min(100%, ${minColumnWidth}px), 1fr))`,columnGap:28,rowGap:gap,alignItems:\"start\"}:{display:\"flex\",flexDirection:\"column\",alignItems:\"stretch\",gap},width:\"100%\",...style},children:[/*#__PURE__*/_jsx(\"style\",{children:PP_FONT_FACE}),items.map((item,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"row\",alignItems:\"flex-start\",gap:10,width:\"100%\"},children:[/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",style:{flex:\"0 0 auto\",marginTop:4},children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6L9 17l-5-5\",stroke:icon,strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:PP_FONT,fontWeight:400,fontSize:size,lineHeight:1.6,color:text,flex:\"1 1 auto\"},children:item})]},i))]});}addPropertyControls(PackageFeatures,{groupByType:{type:ControlType.Boolean,title:\"Group by Type\",defaultValue:false},useCmsLists:{type:ControlType.Boolean,title:\"Use CMS Lists\",defaultValue:false},cmsFeatures:{type:ControlType.Array,title:\"CMS Features\",control:{type:ControlType.Object,controls:{text:{type:ControlType.String}}}},features:{type:ControlType.String,title:\"Features\",displayTextArea:true,defaultValue:\"HDR interior + exterior photos, Client portal gallery, Next-day delivery\",description:\"Comma-separated list (newlines also work)\"},text:{type:ControlType.Color,title:\"Text\",defaultValue:PP.marine},icon:{type:ControlType.Color,title:\"Icon\",defaultValue:PP.teal},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:10,min:0,max:40},size:{type:ControlType.Number,title:\"Size\",defaultValue:16,min:10,max:24},minColumnWidth:{type:ControlType.Number,title:\"Min column\",description:\"0 = single column. Above 0, items flow into columns at least this wide.\",defaultValue:0,min:0,max:520,step:10}})// Rebuilt 2026-08-24: PP_FONT now resolves to the private \"PP Biennale\"\n// family, mapped only to the licensed Fontspring webfonts. Framer rebuilds a\n// component only when its own file changes, so dependents of ppBrand.ts must be\n// touched for a token change to reach the published bundle.\n// Rebuild stamp 2026-08-24b: ppBrand Ink 3 / Orange Ink darkened to meet 4.5:1.\n;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PackageFeatures\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\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