"use strict";exports.id=4353,exports.ids=[4353],exports.modules={84353:(s,e,t)=>{t.d(e,{t:()=>useSanitizeContent});var l=t(16689),a=t(86109),r=t.n(a);function useSanitizeContent({description:s}){let[e,t]=(0,l.useState)(!1);if((0,l.useEffect)(()=>{t(!0)},[]),!s)return;let a=r()(s,{allowedTags:r()?.defaults?.allowedTags?.concat(["img","iframe"]),allowedAttributes:{p:["style","class"],strong:["style","class"],em:["style","class"],u:["style","class"],pre:["style","class"],sub:["style"],sup:["style"],span:["style","class"],a:["style","href","data-*","name","target","class"],img:["src","srcset","alt","title","width","height","loading","class"],li:["style","class"],iframe:["src","frameborder","allowfullscreen","class"]},allowedIframeHostnames:["www.youtube.com","player.vimeo.com"],allowedStyles:{"*":{color:[/^#(0x)?[0-9a-f]+$/i,/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/],"background-color":[/^#(0x)?[0-9a-f]+$/i,/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/],"text-align":[/^left$/,/^right$/,/^center$/],"font-size":[/^\d+(?:px|em|%)$/]}},allowedSchemesByTag:{img:["data","http","https"]}});return e?a:""}}};