import{__module as e}from"../../../../_virtual/unesc.mjs";var r;function t(){return r||(r=1,function(e,r){function t(e){for(var r=e.toLowerCase(),t="",n=!1,o=0;o<6&&void 0!==r[o];o++){var i=r.charCodeAt(o);if(n=32===i,!(i>=97&&i<=102||i>=48&&i<=57))break;t+=r[o]}if(0!==t.length){var u=parseInt(t,16);return u>=55296&&u<=57343||0===u||u>1114111?["�",t.length+(n?1:0)]:[String.fromCodePoint(u),t.length+(n?1:0)]}}r.__esModule=!0,r.default=function(e){if(!n.test(e))return e;for(var r="",o=0;o<e.length;o++)if("\\"!==e[o])r+=e[o];else{var i=t(e.slice(o+1,o+7));if(void 0!==i){r+=i[0],o+=i[1];continue}if("\\"===e[o+1]){r+="\\",o++;continue}e.length===o+1&&(r+=e[o])}return r};var n=/\\/;e.exports=r.default}(e,e.exports)),e.exports}export{t as __require};