{"version":3,"file":"PackageFeatures.CI73ib7k.mjs","names":[],"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\":\"any-fillable\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"sOAKG,SAAwB,EAAgB,EAAM,CAAC,IAAM,EAAS,EAAM,UAAU,2EA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