{"version":3,"file":"RichTextBulletBackground.Dgb6DPXb.mjs","names":["useMemo","_Fragment"],"sources":["https:/framerusercontent.com/modules/Jro8e6ZaS5SCwU2IXPPH/4juqshNKgLl5Pp5eE80k/RichTextBulletBackground.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useMemo}from\"react\";// Create a new Framer code override in a new file named `RichTextBulletBackground.tsx`, exporting `withEightPixelBlueBullets`. It wraps an existing CMS-bound RichText canvas element, preserves ref/all props/CMS content/links/typography/embeds/ordered lists/layout, scopes CSS uniquely per instance, and styles unordered-list bullets via background-image only.\nexport function withEightPixelBlueBullets(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const scopeClassName=useMemo(()=>`with-eight-pixel-blue-bullets-${Math.random().toString(36).slice(2,10)}`,[]);const mergedClassName=props.className?`${props.className} ${scopeClassName}`:scopeClassName;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .${scopeClassName} ul {\n                        list-style: none !important;\n                        list-style-type: none !important;\n                        margin-left: 0;\n                        padding-left: 1.5em;\n                    }\n\n                    .${scopeClassName} ul li {\n                        list-style: none !important;\n                        list-style-type: none !important;\n                        list-style-position: outside;\n                        display: block !important;\n                        position: relative;\n                        background-image: radial-gradient(circle, #0057D9 0 3.25px, rgba(0, 87, 217, 0.75) 3.6px, rgba(0, 87, 217, 0.2) 3.9px, transparent 4px);\n                        background-repeat: no-repeat;\n                        background-size: 8px 8px;\n                        background-position: 0 calc(0.5em + 1px);\n                        padding-left: 1.05em;\n                    }\n\n                    .${scopeClassName} ul > li {\n                        margin-bottom: 8px;\n                    }\n\n                    .${scopeClassName} ul > li:last-child {\n                        margin-bottom: 0;\n                    }\n\n                    .${scopeClassName} ol > li {\n                        margin-bottom: 8px;\n                    }\n\n                    .${scopeClassName} ol > li:last-child {\n                        margin-bottom: 0;\n                    }\n\n                    .${scopeClassName} ul li::marker {\n                        content: \"\" !important;\n                        color: transparent !important;\n                        font-size: 0 !important;\n                    }\n\n                    .${scopeClassName} ul li::before {\n                        content: none !important;\n                        display: none !important;\n                        background: none !important;\n                    }\n\n                    .${scopeClassName} ul li > ul,\n                    .${scopeClassName} ul li > ul li {\n                        background-image: none;\n                    }\n\n                    .${scopeClassName} ul li > ul {\n                        list-style: none !important;\n                        list-style-type: none !important;\n                        margin-top: 0.35em;\n                        margin-bottom: 0;\n                        padding-left: 1.5em;\n                    }\n\n                    .${scopeClassName} ul li > ul > li {\n                        background-image: radial-gradient(circle, #0057D9 0 3.25px, rgba(0, 87, 217, 0.75) 3.6px, rgba(0, 87, 217, 0.2) 3.9px, transparent 4px);\n                        background-repeat: no-repeat;\n                        background-size: 8px 8px;\n                        background-position: 0 calc(0.5em + 1px);\n                    }\n                `}),/*#__PURE__*/_jsx(Component,{ref:ref,...props,className:mergedClassName})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withEightPixelBlueBullets\":{\"type\":\"reactHoc\",\"name\":\"withEightPixelBlueBullets\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RichTextBulletBackground.map"],"mappings":"uIACA,SAAgB,EAA0B,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,EAAeA,MAAY,iCAAiC,KAAK,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,CAAC,EAAQ,EAAgB,EAAM,UAAU,GAAG,EAAM,UAAU,GAAG,IAAiB,EAAe,OAAoB,EAAMC,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;uBACzW,EAAe;;;;;;;uBAOf,EAAe;;;;;;;;;;;;;uBAaf,EAAe;;;;uBAIf,EAAe;;;;uBAIf,EAAe;;;;uBAIf,EAAe;;;;uBAIf,EAAe;;;;;;uBAMf,EAAe;;;;;;uBAMf,EAAe;uBACf,EAAe;;;;uBAIf,EAAe;;;;;;;;uBAQf,EAAe;;;;;;iBAMrB,CAAC,EAAe,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,UAAU,CAAe,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,iBArEtB,IAAsC"}