{"version":3,"file":"Blog_RichText.CxwWce5I.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/cBCm4Xocxwj4BJBhra75/gX5VY06nHsfjm1AV1NK4/Blog_RichText.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect}from\"react\";// MathJax state tracking\nconst mathJaxState={isLoaded:false};// Helper function to load MathJax - NOW FULLY SSR-SAFE\nconst loadMathJax=()=>{// CRITICAL: Guard against running in a non-browser environment\nif(typeof window===\"undefined\"||mathJaxState.isLoaded){return;}// Now, all code below this point will only execute in a browser\n// environment, which is where document and window are defined.\n// First check if we need MathJax\nif(document.body.querySelector(\"math\")||document.body.textContent.match(/(?:\\$|\\\\\\(|\\\\\\[|\\\\begin\\{.*?})/)){// Configure MathJax\nif(!window.MathJax){window.MathJax={tex:{inlineMath:{\"[+]\":[[\"$\",\"$\"]]}}};}const script=document.createElement(\"script\");script.src=\"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js\";script.async=true;script.onload=()=>{mathJaxState.isLoaded=true;};document.head.appendChild(script);}};// Combined styling and MathJax HOC\nexport const withBlogEnhancements=Component=>{return props=>{useEffect(()=>{loadMathJax()// This call is now safe because loadMathJax itself is guarded\n;},[]);const style=`\n            .framer-image {\n                margin-top: 48px !important;\n                margin-bottom: 24px !important;\n                width: 100%;\n            }\n            ul.framer-text, ol.framer-text {\n                margin-top: 24px !important;\n            }\n            h1.framer-text, h2.framer-text, h3.framer-text {\n                margin-bottom: -12px !important;\n            }\n\n            blockquote.framer-text {\n                background-color: #1C1C1C !important;\n                padding: 58px 24px 24px 24px !important;\n                margin-top: 24px !important;\n                color: #fff !important;\n                background: top 24px left 24px no-repeat url('data:image/svg+xml,<svg width=\"61\" height=\"14\" viewBox=\"0 0 61 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"3.5\" cy=\"7\" r=\"3\" stroke=\"%23FF6300\"/><path d=\"M20.456 11V7.064H16.088V11H14.948V2.72H16.088V6.044H20.456V2.72H21.596V11H20.456ZM23.251 11V4.88H24.367V11H23.251ZM23.251 4.004V2.72H24.391V4.004H23.251ZM28.3563 13.304C27.6443 13.304 27.0643 13.132 26.6163 12.788C26.1763 12.444 25.9163 11.98 25.8363 11.396H27.0003C27.0643 11.716 27.2203 11.956 27.4683 12.116C27.7243 12.284 28.0443 12.368 28.4283 12.368C28.8923 12.368 29.2563 12.236 29.5203 11.972C29.7923 11.716 29.9283 11.344 29.9283 10.856V9.932C29.7203 10.236 29.4643 10.468 29.1603 10.628C28.8563 10.788 28.5083 10.868 28.1163 10.868C27.7483 10.868 27.4083 10.8 27.0963 10.664C26.7923 10.52 26.5283 10.316 26.3043 10.052C26.0803 9.788 25.9043 9.468 25.7763 9.092C25.6563 8.708 25.5963 8.28 25.5963 7.808C25.5963 7.336 25.6563 6.912 25.7763 6.536C25.9043 6.152 26.0803 5.828 26.3043 5.564C26.5283 5.3 26.7923 5.096 27.0963 4.952C27.4083 4.808 27.7443 4.736 28.1043 4.736C28.5043 4.736 28.8563 4.82 29.1603 4.988C29.4643 5.148 29.7203 5.384 29.9283 5.696L29.9403 4.88H31.0323V10.712C31.0323 11.12 30.9683 11.48 30.8403 11.792C30.7203 12.112 30.5443 12.384 30.3123 12.608C30.0803 12.832 29.7963 13.004 29.4603 13.124C29.1323 13.244 28.7643 13.304 28.3563 13.304ZM28.3683 9.932C28.8723 9.932 29.2563 9.748 29.5203 9.38C29.7923 9.012 29.9283 8.488 29.9283 7.808C29.9283 7.128 29.7923 6.604 29.5203 6.236C29.2563 5.86 28.8723 5.672 28.3683 5.672C28.1203 5.672 27.8963 5.724 27.6963 5.828C27.4963 5.924 27.3243 6.064 27.1803 6.248C27.0443 6.432 26.9403 6.656 26.8683 6.92C26.7963 7.176 26.7603 7.472 26.7603 7.808C26.7603 8.144 26.7963 8.444 26.8683 8.708C26.9403 8.964 27.0443 9.184 27.1803 9.368C27.3243 9.544 27.4963 9.684 27.6963 9.788C27.8963 9.884 28.1203 9.932 28.3683 9.932ZM32.5032 11V2.72H33.6192V5.852C33.8512 5.468 34.1432 5.188 34.4952 5.012C34.8552 4.828 35.2232 4.736 35.5992 4.736C35.9112 4.736 36.1952 4.792 36.4512 4.904C36.7072 5.016 36.9232 5.172 37.0992 5.372C37.2832 5.564 37.4232 5.804 37.5192 6.092C37.6152 6.372 37.6632 6.676 37.6632 7.004V11H36.5592V7.208C36.5592 6.736 36.4512 6.372 36.2352 6.116C36.0192 5.86 35.6912 5.732 35.2512 5.732C35.0192 5.732 34.7992 5.78 34.5912 5.876C34.3912 5.964 34.2192 6.092 34.0752 6.26C33.9312 6.428 33.8192 6.628 33.7392 6.86C33.6592 7.084 33.6192 7.336 33.6192 7.616V11H32.5032ZM39.1566 11V2.72H40.2726V11H39.1566ZM41.8257 11V4.88H42.9417V11H41.8257ZM41.8257 4.004V2.72H42.9657V4.004H41.8257ZM46.931 13.304C46.219 13.304 45.639 13.132 45.191 12.788C44.751 12.444 44.491 11.98 44.411 11.396H45.575C45.639 11.716 45.795 11.956 46.043 12.116C46.299 12.284 46.619 12.368 47.003 12.368C47.467 12.368 47.831 12.236 48.095 11.972C48.367 11.716 48.503 11.344 48.503 10.856V9.932C48.295 10.236 48.039 10.468 47.735 10.628C47.431 10.788 47.083 10.868 46.691 10.868C46.323 10.868 45.983 10.8 45.671 10.664C45.367 10.52 45.103 10.316 44.879 10.052C44.655 9.788 44.479 9.468 44.351 9.092C44.231 8.708 44.171 8.28 44.171 7.808C44.171 7.336 44.231 6.912 44.351 6.536C44.479 6.152 44.655 5.828 44.879 5.564C45.103 5.3 45.367 5.096 45.671 4.952C45.983 4.808 46.319 4.736 46.679 4.736C47.079 4.736 47.431 4.82 47.735 4.988C48.039 5.148 48.295 5.384 48.503 5.696L48.515 4.88H49.607V10.712C49.607 11.12 49.543 11.48 49.415 11.792C49.295 12.112 49.119 12.384 48.887 12.608C48.655 12.832 48.371 13.004 48.035 13.124C47.707 13.244 47.339 13.304 46.931 13.304ZM46.943 9.932C47.447 9.932 47.831 9.748 48.095 9.38C48.367 9.012 48.503 8.488 48.503 7.808C48.503 7.128 48.367 6.604 48.095 6.236C47.831 5.86 47.447 5.672 46.943 5.672C46.695 5.672 46.471 5.724 46.271 5.828C46.071 5.924 45.899 6.064 45.755 6.248C45.619 6.432 45.515 6.656 45.443 6.92C45.371 7.176 45.335 7.472 45.335 7.808C45.335 8.144 45.371 8.444 45.443 8.708C45.515 8.964 45.619 9.184 45.755 9.368C45.899 9.544 46.071 9.684 46.271 9.788C46.471 9.884 46.695 9.932 46.943 9.932ZM51.0778 11V2.72H52.1938V5.852C52.4258 5.468 52.7178 5.188 53.0698 5.012C53.4298 4.828 53.7978 4.736 54.1738 4.736C54.4858 4.736 54.7698 4.792 55.0258 4.904C55.2818 5.016 55.4978 5.172 55.6738 5.372C55.8578 5.564 55.9978 5.804 56.0938 6.092C56.1898 6.372 56.2378 6.676 56.2378 7.004V11H55.1338V7.208C55.1338 6.736 55.0258 6.372 54.8098 6.116C54.5938 5.86 54.2658 5.732 53.8258 5.732C53.5938 5.732 53.3738 5.78 53.1658 5.876C52.9658 5.964 52.7938 6.092 52.6498 6.26C52.5058 6.428 52.3938 6.628 52.3138 6.86C52.2338 7.084 52.1938 7.336 52.1938 7.616V11H51.0778ZM59.5676 11C59.1116 11 58.7716 10.872 58.5476 10.616C58.3236 10.36 58.2116 9.976 58.2116 9.464V5.708H57.0356V4.88H58.2116V3.2H59.3156V4.88H60.5636V5.708H59.3156V9.308C59.3156 9.58 59.3756 9.776 59.4956 9.896C59.6156 10.016 59.8116 10.076 60.0836 10.076H60.6236V11H59.5676Z\" fill=\"%23FF6300\"/></svg>');\n            }\n\n            blockquote.framer-text::before {\n                background-color: transparent !important;\n            }\n\n            p a:hover {\n                color: rgba(153, 152, 151, 1) !important;\n            }\n\n            img + p:has(em) {\n                text-align: center !important;\n                font-size: 12px;\n                color: rgba(153, 152, 151, 1);\n                --framer-paragraph-spacing: 0px;\n            }\n            \n            img + p:has(em) a {\n                font-size: 12px !important;\n                color: rgba(153, 152, 151, 1) !important;\n            }\n\n            img + p > em {\n                font-size: 12px;\n                color: rgba(153, 152, 151, 1);\n            }\n        `;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:style}),/*#__PURE__*/_jsx(Component,{...props})]});};};\nexport const __FramerMetadata__ = {\"exports\":{\"withBlogEnhancements\":{\"type\":\"reactHoc\",\"name\":\"withBlogEnhancements\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Blog_RichText.map"],"mappings":"yKAA+E,IAA6B,CACtG,EAAa,CAAC,SAAS,GAAM,CAC7B,MAAgB,CACnB,KAAO,IAAS,QAAa,EAAa,YAG1C,SAAS,KAAK,cAAc,OAAO,EAAE,SAAS,KAAK,YAAY,MAAM,iCAAiC,EAAC,CAC1G,AAAoB,EAAO,UAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAE,IAAM,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,8DAA8D,EAAO,MAAM,GAAK,EAAO,WAAW,CAAC,EAAa,SAAS,IAAO,SAAS,KAAK,YAAY,EAAO,GACxR,EAAqB,GAAmB,IAAQ,MAAc,CAAC,GAAa,EACtF,EAAE,CAAC,CA6CwB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SA7CjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA6CgF,CAAC,CAAc,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,CAAC,CAAC,CAAC"}