"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=/["&'<>`]/g,s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,g=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,h=/[|\\{}()[\]^$+*?.]/g,x=new WeakMap;function d(r,e){if(r=r.replace(e.subset?f(e.subset):o,u),e.subset||e.escapeOnly)return r;return r.replace(s,c).replace(g,u);function c(t,a,n){return e.format((t.charCodeAt(0)-55296)*1024+t.charCodeAt(1)-56320+65536,n.charCodeAt(a+2),e)}function u(t,a,n){return e.format(t.charCodeAt(0),n.charCodeAt(a+1),e)}}function f(r){let e=x.get(r);return e||(e=l(r),x.set(r,e)),e}function l(r){const e=[];let c=-1;for(;++c<r.length;)e.push(r[c].replace(h,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}exports.core=d;
//# sourceMappingURL=index.cjs464.js.map
