import{__require as r}from"./get-built-in.mjs";import{__require as e}from"./function-uncurry-this.mjs";var n,t;function a(){if(t)return n;t=1;var a=r(),i=e(),u=String.fromCharCode,f=a("String","fromCodePoint"),c=i("".charAt),s=i("".charCodeAt),o=i("".indexOf),b=i("".slice),k=function(r,e){var n=s(r,e);return n>=48&&n<=57},v=function(r,e,n){if(n>=r.length)return-1;for(var t=0;e<n;e++){var a=h(s(r,e));if(-1===a)return-1;t=16*t+a}return t},h=function(r){return r>=48&&r<=57?r-48:r>=97&&r<=102?r-97+10:r>=65&&r<=70?r-65+10:-1};return n=function(r){for(var e,n="",t=0,a=0;(a=o(r,"\\",a))>-1;){if(n+=b(r,t,a),++a===r.length)return;var i=c(r,a++);switch(i){case"b":n+="\b";break;case"t":n+="\t";break;case"n":n+="\n";break;case"v":n+="\v";break;case"f":n+="\f";break;case"r":n+="\r";break;case"\r":a<r.length&&"\n"===c(r,a)&&++a;case"\n":case"\u2028":case"\u2029":break;case"0":if(k(r,a))return;n+="\0";break;case"x":if(-1===(e=v(r,a,a+2)))return;a+=2,n+=u(e);break;case"u":if(a<r.length&&"{"===c(r,a)){var s=o(r,"}",++a);if(-1===s)return;e=v(r,a,s),a=s+1}else e=v(r,a,a+4),a+=4;if(-1===e||e>1114111)return;n+=f(e);break;default:if(k(i,0))return;n+=i}t=a}return n+b(r,t)}}export{a as __require};