var n,e;function t(){if(e)return n;function t(n,e,t){n instanceof RegExp&&(n=r(n,t)),e instanceof RegExp&&(e=r(e,t));const f=i(n,e,t);return f&&{start:f[0],end:f[1],pre:t.slice(0,f[0]),body:t.slice(f[0]+n.length,f[1]),post:t.slice(f[1]+e.length)}}function r(n,e){const t=e.match(n);return t?t[0]:null}function i(n,e,t){let r,i,f,o,u,c=t.indexOf(n),l=t.indexOf(e,c+1),s=c;if(c>=0&&l>0){if(n===e)return[c,l];for(r=[],f=t.length;s>=0&&!u;)s===c?(r.push(s),c=t.indexOf(n,s+1)):1===r.length?u=[r.pop(),l]:(i=r.pop(),i<f&&(f=i,o=l),l=t.indexOf(e,s+1)),s=c<l&&c>=0?c:l;r.length&&(u=[f,o])}return u}return e=1,n=t,t.range=i,n}export{t as __require};