{"version":3,"file":"PackageFeatureComparisonMobile.CyhWMPin.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/n4MwBAPU05xoakQkYn1e/XLlb0RADamFwbGbNLMN5/PackageFeatureComparisonMobile.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function PackageFeatureComparisonMobile(props){const{showCta,ctaUrl,showComparisonLink,comparisonLinkUrl}=props;const[selectedPackage,setSelectedPackage]=useState(\"fully-guided\");// Brand colors\nconst colors={green:\"#65DB6A\",cream:\"#FDF9F4\",white:\"#FFFFFF\",charcoal:\"#1B1B1B\",grayText:\"#666666\",grayLight:\"#E5E5E5\",greenLight:\"#E8FAE9\"};const packages={\"we-file\":{name:\"We File For You\",popular:false},\"fully-guided\":{name:\"Fully Guided\",popular:true},\"attorney-led\":{name:\"Attorney-Led\",popular:false}};const features=[{category:\"DOCUMENTATION\",items:[{name:\"State-specific divorce forms\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Personalized documents based on your case\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Unlimited document revisions\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Filing instructions\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Custom parenting plan creation\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Spousal support calculations\",weFile:true,fullyGuided:true,attorneyLed:true}]},{category:\"SUPPORT\",items:[{name:\"Email support\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Phone support\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Dedicated case manager\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Priority support\",weFile:false,fullyGuided:true,attorneyLed:true},{name:\"Attorney consultation access\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Direct attorney communication\",weFile:false,fullyGuided:false,attorneyLed:true}]},{category:\"FILING & PROCESSING\",items:[{name:\"Automated court filing\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Spouse signature collection\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Service of process assistance\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Court correspondence management\",weFile:false,fullyGuided:true,attorneyLed:true},{name:\"Filing status tracking\",weFile:true,fullyGuided:true,attorneyLed:true}]},{category:\"MEDIATION & LEGAL REPRESENTATION\",items:[{name:\"Mediation sessions (up to 3 hours)\",weFile:false,fullyGuided:true,attorneyLed:true},{name:\"Conflict resolution tools\",weFile:false,fullyGuided:true,attorneyLed:true},{name:\"Negotiation guidance\",weFile:false,fullyGuided:true,attorneyLed:true},{name:\"Full attorney representation\",weFile:false,fullyGuided:false,attorneyLed:true},{name:\"Court appearances\",weFile:false,fullyGuided:false,attorneyLed:true},{name:\"Discovery process management\",weFile:false,fullyGuided:false,attorneyLed:true}]},{category:\"ADDITIONAL SERVICES\",items:[{name:\"100% satisfaction guarantee\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Secure document storage\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Mobile app access\",weFile:true,fullyGuided:true,attorneyLed:true},{name:\"Co-parenting app (coParenter)\",weFile:false,fullyGuided:true,attorneyLed:true},{name:\"Financial calculator tools\",weFile:true,fullyGuided:true,attorneyLed:true}]}];const getFeatureValue=item=>{if(selectedPackage===\"we-file\")return item.weFile;if(selectedPackage===\"fully-guided\")return item.fullyGuided;return item.attorneyLed;};return /*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:\"600px\",margin:\"60px auto\",padding:\"0 20px\",fontFamily:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\",backgroundColor:colors.cream},children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",marginBottom:\"32px\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontSize:\"32px\",fontWeight:\"700\",color:colors.charcoal,marginBottom:\"12px\"},children:\"Compare Package Features\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:\"16px\",color:colors.grayText},children:\"See exactly what's included in each package\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:\"32px\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{fontSize:\"14px\",fontWeight:\"600\",color:colors.charcoal,marginBottom:\"12px\"},children:\"Select Package:\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"8px\"},children:Object.entries(packages).map(([key,pkg])=>/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setSelectedPackage(key),style:{padding:\"16px 20px\",fontSize:\"16px\",fontWeight:\"600\",color:selectedPackage===key?colors.white:colors.charcoal,backgroundColor:selectedPackage===key?colors.charcoal:colors.white,border:`2px solid ${selectedPackage===key?colors.charcoal:colors.grayLight}`,borderRadius:\"12px\",cursor:\"pointer\",textAlign:\"left\",transition:\"all 0.2s\",position:\"relative\"},children:[pkg.name,pkg.popular&&/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:\"50%\",right:\"16px\",transform:\"translateY(-50%)\",backgroundColor:colors.green,color:colors.white,padding:\"4px 12px\",borderRadius:\"12px\",fontSize:\"11px\",fontWeight:\"600\",textTransform:\"uppercase\"},children:\"Popular\"})]},key))})]}),/*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:colors.white,borderRadius:\"12px\",border:`1px solid ${colors.grayLight}`,overflow:\"hidden\"},children:features.map((category,catIndex)=>/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:{padding:\"16px 20px\",backgroundColor:colors.cream,borderTop:catIndex>0?`1px solid ${colors.grayLight}`:\"none\"},children:/*#__PURE__*/_jsx(\"p\",{style:{fontSize:\"13px\",fontWeight:\"700\",color:colors.green,textTransform:\"uppercase\",letterSpacing:\"0.5px\",margin:0},children:category.category})}),category.items.map((item,itemIndex)=>{const isIncluded=getFeatureValue(item);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"16px 20px\",borderTop:`1px solid ${colors.grayLight}`},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"15px\",color:colors.charcoal,flex:1,paddingRight:\"16px\"},children:item.name}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"20px\",color:isIncluded?colors.green:colors.grayText,flexShrink:0},children:isIncluded?\"✓\":\"—\"})]},itemIndex);})]},catIndex))}),(showCta===true||showCta===\"true\"||showCta===undefined)&&/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",marginTop:\"32px\"},children:/*#__PURE__*/_jsx(\"a\",{href:ctaUrl||\"https://go.divorce.com/s/start\",style:{display:\"block\",width:\"100%\",padding:\"16px\",fontSize:\"18px\",fontWeight:\"600\",color:colors.white,backgroundColor:colors.charcoal,border:\"none\",borderRadius:\"28px\",textDecoration:\"none\",cursor:\"pointer\",transition:\"background-color 0.2s\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"#333333\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=colors.charcoal;},children:\"Get Started Today\"})}),(showComparisonLink===true||showComparisonLink===\"true\"||showComparisonLink===undefined)&&/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",marginTop:\"16px\"},children:/*#__PURE__*/_jsx(\"a\",{href:comparisonLinkUrl||\"#comparison\",style:{background:\"none\",border:\"none\",color:colors.charcoal,fontSize:\"14px\",textDecoration:\"underline\",cursor:\"pointer\",display:\"inline-block\"},children:\"Compare all packages side-by-side\"})})]});}// Add Framer property controls\nPackageFeatureComparisonMobile.defaultProps={showCta:true,ctaUrl:\"https://go.divorce.com/s/start\",showComparisonLink:true,comparisonLinkUrl:\"#comparison\"};addPropertyControls(PackageFeatureComparisonMobile,{showCta:{type:ControlType.Boolean,title:\"Show CTA Button\",defaultValue:true,description:\"Toggle to show/hide the 'Get Started Today' button\"},ctaUrl:{type:ControlType.String,title:\"CTA URL\",defaultValue:\"https://go.divorce.com/s/start\",placeholder:\"https://go.divorce.com/s/start\",description:\"URL for the Get Started button\"},showComparisonLink:{type:ControlType.Boolean,title:\"Show Comparison Link\",defaultValue:true,description:\"Toggle to show/hide the 'Compare all packages' link\"},comparisonLinkUrl:{type:ControlType.String,title:\"Comparison Link URL\",defaultValue:\"#comparison\",placeholder:\"#comparison or full URL\",description:\"URL for the side-by-side comparison link (use # for anchor)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PackageFeatureComparisonMobile\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PackageFeatureComparisonMobile.map"],"mappings":"kLAAyI,SAAwB,EAA+B,EAAM,CAAC,GAAK,CAAC,UAAQ,SAAO,qBAAmB,qBAAmB,EAAW,CAAC,EAAgB,GAAoBA,EAAS,eAAe,CACpU,EAAO,CAAC,MAAM,UAAU,MAAM,UAAU,MAAM,UAAU,SAAS,UAAU,SAAS,UAAU,UAAU,UAAU,WAAW,UAAU,CAAO,EAAS,CAAC,UAAU,CAAC,KAAK,kBAAkB,QAAQ,GAAM,CAAC,eAAe,CAAC,KAAK,eAAe,QAAQ,GAAK,CAAC,eAAe,CAAC,KAAK,eAAe,QAAQ,GAAM,CAAC,CAAO,EAAS,CAAC,CAAC,SAAS,gBAAgB,MAAM,CAAC,CAAC,KAAK,+BAA+B,OAAO,GAAK,YAAY,GAAK,YAAY,GAAK,CAAC,CAAC,KAAK,4CAA4C,OAAO,GAAK,YAAY,GAAK,YAAY,GAAK,CAAC,CAAC,KAAK,+BAA+B,OAAO,GAAK,YAAY,GAAK,YAAY,GAAK,CAAC,CAAC,KAAK,sBAAsB,OAAO,GAAK,YAAY,GAAK,YAAY,GAAK,CAAC,CAAC,KAAK,iCAAiC,OAAO,GAAK,YAAY,GAAK,YAAY,GAAK,CAAC,CAAC,KAAK,+BAA+B,OAAO,GAAK,YAAY,GAAK,YAAY,GAAK,CAAC,CAAC,CAAC,CAAC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