{"version":3,"file":"stringUtils-BQBnpSPF.js","sources":["../../src/utils/stringUtils.tsx"],"sourcesContent":["import Linkify from 'linkify-react'\nimport Link from '../common/components/link'\n\nexport const urlEncodeEmail = (email: string) => {\n return encodeURIComponent(email).replace(/%40/g, '@')\n}\n\nexport const convertTextToLinks = (text: string) => {\n return (\n {\n const { href } = attributes\n return (\n {\n event.stopPropagation()\n }}\n underline='always'\n href={href}\n target='_blank'\n rel='noopener noreferrer'\n sx={{ wordBreak: 'break-all' }}\n >\n {content}\n \n )\n },\n }}\n >\n {text}\n \n )\n}\n"],"names":["urlEncodeEmail","email","convertTextToLinks","text","jsx","Linkify","attributes","content","href","Link","event"],"mappings":"qeAGa,MAAAA,EAAkBC,GACtB,mBAAmBA,CAAK,EAAE,QAAQ,OAAQ,GAAG,EAGzCC,EAAsBC,GAE/BC,EAAA,IAACC,EAAA,CACC,QAAS,CACP,OAAQ,CAAC,CAAE,WAAAC,EAAY,QAAAC,KAAc,CAC7B,KAAA,CAAE,KAAAC,GAASF,EAEf,OAAAF,EAAA,IAACK,EAAA,CACC,QAAUC,GAAU,CAClBA,EAAM,gBAAgB,CACxB,EACA,UAAU,SACV,KAAAF,EACA,OAAO,SACP,IAAI,sBACJ,GAAI,CAAE,UAAW,WAAY,EAE5B,SAAAD,CAAA,CACH,CAAA,CAGN,EAEC,SAAAJ,CAAA,CACH"}