/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
let t;const e=["blockquote","html","hr","checkbox","table","tablerow","tablecell","image"];async function n(e){return t||await r(),t.parse(e)}async function r(){const{Marked:n}=await import("marked"),r=function({text:t}){return`<span style="text-decoration:line-through;">${t}</span>`},a=function({href:t,text:e,title:n}){return`<a${null!=t?` href="${t}"`:""}${null!=n?` title="${n}"`:""} target="_blank">${e??""}</a>`},l=()=>"",o={};for(const t of e)o[t]=l;t=new n({renderer:{del:r,link:a,...o}})}export{n as compileTextElementMarkdownToHTML};
