import{p,e as _}from"./i18n-Dnhn5Rxr.js";import{R as i,G as o,z as f,a as m,T as g,U as u,V as E,W as R,Y as d}from"./index-DWyDLubb.js";import{h}from"./html-Ih_5QVTo.js";import"./ScrollFade.svelte_svelte_type_style_lang-DPHOQHBm.js";const I=/`([^`]+)`/g,$=/\[([^\]]+)\]\(([^)]+)\)/g,v=/\*\*(.+?)\*\*/g,O=/__(.+?)__/g,L=/\*(.+?)\*/g,S=/(?<!\w)_(.+?)_(?!\w)/g,C=/^\w+:/;function T(r){return r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function k(r,e,t){const n=t.trim();return C.test(n)?/^https?:/i.test(n)?`<a href="${n}" target="_blank" rel="noopener noreferrer">${e}</a>`:e:`<a href="${n}" target="_blank" rel="noopener noreferrer">${e}</a>`}function s(r){let e=T(r);return e=e.replace(I,"<code>$1</code>"),e=e.replace($,k),e=e.replace(v,"<strong>$1</strong>"),e=e.replace(O,"<strong>$1</strong>"),e=e.replace(L,"<em>$1</em>"),e=e.replace(S,"<em>$1</em>"),e=e.replace(/\n/g,"<br>"),e}var D=R('<div class="info-text svelte-9hc4ua"><!></div>');function K(r,e){i(e,!1);let t=p(e,"info",12);var n={get info(){return t()},set info(l){t(l),u()}};_();var a=D(),c=E(a);return h(c,()=>(o(s),o(t()),f(()=>s(t())))),d(a),m(r,a),g(n)}export{K as I};
