const W=()=>{function i(c){return c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function $(c,w,a=null,u=null){let e=c;const s=[],C=/\{%([^%]+)%\}/g;let x;for(;(x=C.exec(e))!==null;)a&&typeof a=="function"&&a(x[1]),u!==null&&(u.value=!0);return e=e.replace(/\{%([^%]+)%\}/g,""),w.slice().sort((l,r)=>r.text.length-l.text.length).forEach(l=>{const r=i(l.text),R=new RegExp(`(?![^<]*>)(?",t);if(m>A)continue;const g=e.lastIndexOf("",t);if(g!==-1&&g>E)continue;const h=e.lastIndexOf("",t);if(h!==-1&&h>k)continue;const p=e.lastIndexOf("",t);if(p!==-1&&p>v)continue;const O=e.lastIndexOf("",t);if(O!==-1&&O>y||s.some(([n,M])=>!(d<=n||t>=M)))continue;const I=o[0],f=`${I}`;e=e.slice(0,t)+f+e.slice(d);const H=f.length-I.length;for(let n=0;nt&&(s[n][0]+=H,s[n][1]+=H);s.push([t,t+f.length]);break}}),e}return{processContent:,ドルescapeRegex:i}};export{W as u};

AltStyle によって変換されたページ (->オリジナル) /