{"version":3,"file":"CCPATable.BVCGr2tc.mjs","names":["useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/POhI4syJk44GXqVZpwB5/5e5H8iCSkJcc1Uqy1WPB/CCPATable.js"],"sourcesContent":["// Responsive CCPA Privacy Table Component\n// Displays a privacy policy table that adapts to different screen sizes (1440px, 1200px, tablet, mobile)\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,startTransition}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function CCPATable(props){const{rows,headerBackground,headerText,borderColor,cellPadding,linkColor,retentionText,footerText,headingFont,bodyFont}=props;const[isMobile,setIsMobile]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const checkMobile=()=>{startTransition(()=>{setIsMobile(window.innerWidth<=768);});};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[]);const containerStyle={width:\"100%\",margin:\"0 auto\",padding:\"32px\",color:\"#222\",backgroundColor:\"#fff\",boxSizing:\"border-box\",...bodyFont};const tableStyle={width:\"100%\",borderCollapse:\"collapse\",marginTop:\"20px\",display:isMobile?\"block\":\"table\",overflowX:isMobile?\"auto\":\"visible\"};const thStyle={padding:`${cellPadding}px`,textAlign:\"left\",border:`1px solid ${borderColor}`,backgroundColor:headerBackground,color:headerText,...headingFont};const tdStyle={padding:`${cellPadding}px`,textAlign:\"left\",border:`1px solid ${borderColor}`,...bodyFont};const linkStyle={color:linkColor,textDecoration:\"none\"};const paragraphStyle={marginTop:\"20px\",...bodyFont};return /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:{overflowX:\"auto\"},children:/*#__PURE__*/_jsxs(\"table\",{style:tableStyle,children:[/*#__PURE__*/_jsx(\"thead\",{children:/*#__PURE__*/_jsxs(\"tr\",{children:[/*#__PURE__*/_jsx(\"th\",{style:thStyle,children:\"Category of Personal Information\"}),/*#__PURE__*/_jsx(\"th\",{style:thStyle,children:\"Did we collect? If so, from what source?\"}),/*#__PURE__*/_jsx(\"th\",{style:thStyle,children:\"Did we sell? If so, to whom and for what purpose?\"}),/*#__PURE__*/_jsx(\"th\",{style:thStyle,children:\"Did we share? If so, to whom and for what purpose?\"}),/*#__PURE__*/_jsx(\"th\",{style:thStyle,children:\"Did we disclose apart from selling or sharing? If so, to whom and for what purpose?\"})]})}),/*#__PURE__*/_jsx(\"tbody\",{children:rows.map((row,index)=>/*#__PURE__*/_jsxs(\"tr\",{children:[/*#__PURE__*/_jsx(\"td\",{style:tdStyle,children:row.category}),/*#__PURE__*/_jsx(\"td\",{style:tdStyle,children:row.collected}),/*#__PURE__*/_jsx(\"td\",{style:tdStyle,children:row.sold}),/*#__PURE__*/_jsx(\"td\",{style:tdStyle,children:row.shared}),/*#__PURE__*/_jsx(\"td\",{style:tdStyle,children:row.disclosed===\"Same as above.\"?\"Same as above.\":/*#__PURE__*/_jsxs(_Fragment,{children:[\"Yes, as described in Section 4 of our Core\",\" \",/*#__PURE__*/_jsx(\"a\",{href:\"/joyca/cookie-policy-2\",style:linkStyle,target:\"_blank\",rel:\"noopener noreferrer\",children:\"Privacy Policy\"}),\".\"]})})]},index))})]})}),/*#__PURE__*/_jsxs(\"p\",{style:paragraphStyle,children:[/*#__PURE__*/_jsx(\"strong\",{children:\"Retention:\"}),\" \",retentionText]}),/*#__PURE__*/_jsx(\"p\",{style:paragraphStyle,children:footerText})]});}addPropertyControls(CCPATable,{rows:{type:ControlType.Array,control:{type:ControlType.Object,controls:{category:{type:ControlType.String,displayTextArea:true,defaultValue:\"Category description\"},collected:{type:ControlType.String,displayTextArea:true,defaultValue:\"Collection information\"},sold:{type:ControlType.String,displayTextArea:true,defaultValue:\"Sale information\"},shared:{type:ControlType.String,displayTextArea:true,defaultValue:\"Sharing information\"},disclosed:{type:ControlType.String,displayTextArea:true,defaultValue:\"Same as above.\"}}},defaultValue:[{category:\"Identifiers such as a real name, alias, postal address, unique personal identifier, online identifier, Internet Protocol address, email address, account name, social security number, driver's license number, passport number, or other similar identifiers.\",collected:\"Yes, from California residents directly, third parties including social media platforms and networks, and automatically via cookies and other technology.\",sold:'Yes, we \"sold\" California residents\\' unique personal identifiers, online identifiers, and IP addresses to our AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.',shared:'Yes, we \"shared\" California residents\\' unique personal identifiers, online identifiers, and IP addresses to our AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.',disclosed:\"link\"},{category:\"Commercial information, including records of personal property, products or services paid for, obtained, or considered, or other consuming histories or tendencies.\",collected:\"Yes, from California residents directly.\",sold:'Yes, we \"sold\" California residents\\' records of products or services considered to our AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.',shared:'Yes, we \"shared\" California residents\\' records of products or services considered to our AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.',disclosed:\"Same as above.\"},{category:\"Internet or other electronic network activity information, including, but not limited to, browsing history, search history, and information regarding a consumer's interaction with an internet website application, or advertisement.\",collected:\"Yes, from California residents directly, third parties including social media platforms and networks, and automatically via cookies and other technology.\",sold:\"Yes, we \\\"sold\\\" California residents' browsing history, search history, and information regarding a consumer's interaction with an internet website application, or advertisement to our AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.\",shared:\"Yes, we \\\"shared\\\" California residents' browsing history, search history, and information regarding a consumer's interaction with an internet website application, or advertisement to our AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.\",disclosed:\"Same as above.\"},{category:\"Geolocation data (general location based on Internet Protocol address).\",collected:\"Yes, from California residents directly, third parties including social media platforms and networks, and automatically via cookies and other technology.\",sold:'Yes, we \"sold\" California residents\\' geolocation data to our AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.',shared:'Yes, we \"shared\" California residents\\' geolocation data to our AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.',disclosed:\"Same as above.\"},{category:\"Inferences drawn from any of the information identified herein to create a profile about a consumer reflecting the consumer's preferences, characteristics, psychological trends, predispositions, behavior, attitudes, intelligence, abilities, and aptitudes.\",collected:\"Yes, we make inferences about California residents' interests.\",sold:'Yes, we \"sold\" inferences about California residents\\' interests to AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.',shared:'Yes, we \"shared\" inferences about California residents\\' interests to our AdTech Providers. The purpose was so that we and they can serve Users cross-context behavioral and targeted advertising.',disclosed:\"Same as above.\"}]},headerBackground:{type:ControlType.Color,title:\"Header Background\",defaultValue:\"#f2f2f2\"},headerText:{type:ControlType.Color,title:\"Header Text\",defaultValue:\"#222\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#ddd\"},cellPadding:{type:ControlType.Number,title:\"Cell Padding\",defaultValue:8,min:4,max:20,step:1,unit:\"px\"},linkColor:{type:ControlType.Color,title:\"Link Color\",defaultValue:\"#0056d6\"},retentionText:{type:ControlType.String,title:\"Retention Text\",displayTextArea:true,defaultValue:\"The length of time for which we retain personal data depends on the purposes for which we collect and use it and how long we need to retain it to comply with applicable laws (including for the purpose of satisfying any legal, regulatory, tax, accounting or reporting requirements), to establish, exercise or defend our legal rights, or to make the data available to judges and courts or the competent public authorities. Once personal data is no longer necessary for the purposes for which it was collected, to meet legal requirements, in connection with legal rights, or for courts or authorities, we delete it.\"},footerText:{type:ControlType.String,title:\"Footer Text\",defaultValue:\"Below is a copy of our CCPA Privacy Policy.\"},headingFont:{type:ControlType.Font,title:\"Heading Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},bodyFont:{type:ControlType.Font,title:\"Body Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.7em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CCPATable\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CCPATable.map"],"mappings":"oNAKG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,OAAK,mBAAiB,aAAW,cAAY,cAAY,YAAU,gBAAc,aAAW,cAAY,YAAU,EAAW,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAC,MAAc,CAAC,GAAU,IAAS,OAAY,OAAO,IAAM,MAAgB,CAAC,MAAoB,CAAC,EAAY,EAAO,YAAY,IAAI,EAAG,EAA+D,OAA5D,GAAa,CAAC,EAAO,iBAAiB,SAAS,EAAY,KAAW,EAAO,oBAAoB,SAAS,EAAY,EAAG,EAAE,CAAC,CAAC,IAAM,EAAe,CAAC,MAAM,OAAO,OAAO,SAAS,QAAQ,OAAO,MAAM,OAAO,gBAAgB,OAAO,UAAU,aAAa,GAAG,EAAS,CAAO,EAAW,CAAC,MAAM,OAAO,eAAe,WAAW,UAAU,OAAO,QAAQ,EAAS,QAAQ,QAAQ,UAAU,EAAS,OAAO,UAAU,CAAO,EAAQ,CAAC,QAAQ,GAAG,EAAY,IAAI,UAAU,OAAO,OAAO,aAAa,IAAc,gBAAgB,EAAiB,MAAM,EAAW,GAAG,EAAY,CAAO,EAAQ,CAAC,QAAQ,GAAG,EAAY,IAAI,UAAU,OAAO,OAAO,aAAa,IAAc,GAAG,EAAS,CAAO,EAAU,CAAC,MAAM,EAAU,eAAe,OAAO,CAAO,EAAe,CAAC,UAAU,OAAO,GAAG,EAAS,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,EAAe,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,UAAU,OAAO,CAAC,SAAsB,EAAM,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