vendor: 18,640 bytes, line 1
1import{f as Vr}from"./chunk-NIF3MU5U.js";var zr=Vr((de,Je)=>{"use strict";(function($,o){typeof de=="object"&&typeof Je<"u"?o(de):typeof define=="function"&&define.amd?define(["exports"],o):o($.URI=$.URI||{})})(de,function($){"use strict";function o(){for(var r=arguments.length,e=Array(r),a=0;a<r;a++)e[a]=arguments[a];if(e.length>1){e[0]=e[0].slice(0,-1);for(var n=e.length-1,i=1;i<n;++i)e[i]=e[i].slice(1,-1);return e[n]=e[n].slice(1),e.join("")}else return e[0]}function t(r){return"(?:"+r+")"}function oe(r){return r===void 0?"undefined":r===null?"null":Object.prototype.toString.call(r).split(" ").pop().split("]").shift().toLowerCase()}function H(r){return r.toUpperCase()}function Ke(r){return r!=null?r instanceof Array?r:typeof r.length!="number"||r.split||r.setInterval||r.call?[r]:Array.prototype.slice.call(r):[]}function We(r,e){var a=r;if(e)for(var n in e)a[n]=e[n];return a}function Ie(r){var e="[A-Za-z]",a="[\\x0D]",n="[0-9]",i="[\\x22]",f=o(n,"[A-Fa-f]"),u="[\\x0A]",s="[\\x20]",c=t(t("%[EFef]"+f+"%"+f+f+"%"+f+f)+"|"+t("%[89A-Fa-f]"+f+"%"+f+f)+"|"+t("%"+f+f)),D="[\\:\\/\\?\\#\\[\\]\\@]",h="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",p=o(D,h),g=r?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",l=r?"[\\uE000-\\uF8FF]":"[]",v=o(e,n,"[\\-\\.\\_\\~]",g),S=t(e+o(e,n,"[\\+\\-\\.]")+"*"),E=t(t(c+"|"+o(v,h,"[\\:]"))+"*"),V=t(t("25[0-5]")+"|"+t("2[0-4]"+n)+"|"+t("1"+n+n)+"|"+t("[1-9]"+n)+"|"+n),R=t(t("25[0-5]")+"|"+t("2[0-4]"+n)+"|"+t("1"+n+n)+"|"+t("0?[1-9]"+n)+"|0?0?"+n),I=t(R+"\\."+R+"\\."+R+"\\."+R),d=t(f+"{1,4}"),A=t(t(d+"\\:"+d)+"|"+I),T=t(t(d+"\\:")+"{6}"+A),U=t("\\:\\:"+t(d+"\\:")+"{5}"+A),z=t(t(d)+"?\\:\\:"+t(d+"\\:")+"{4}"+A),b=t(t(t(d+"\\:")+"{0,1}"+d)+"?\\:\\:"+t(d+"\\:")+"{3}"+A),ie=t(t(t(d+"\\:")+"{0,2}"+d)+"?\\:\\:"+t(d+"\\:")+"{2}"+A),ve=t(t(t(d+"\\:")+"{0,3}"+d)+"?\\:\\:"+d+"\\:"+A),ce=t(t(t(d+"\\:")+"{0,4}"+d)+"?\\:\\:"+A),Q=t(t(t(d+"\\:")+"{0,5}"+d)+"?\\:\\:"+d),B=t(t(t(d+"\\:")+"{0,6}"+d)+"?\\:\\:"),w=t([T,U,z,b,ie,ve,ce,Q,B].join("|")),k=t(t(v+"|"+c)+"+"),Ae=t(w+"\\%25"+k),M=t(w+t("\\%25|\\%(?!"+f+"{2})")+k),mr=t("[vV]"+f+"+\\."+o(v,h,"[\\:]")+"+"),Fr=t("\\["+t(M+"|"+w+"|"+mr)+"\\]"),Ze=t(t(c+"|"+o(v,h))+"*"),te=t(Fr+"|"+I+"(?!"+Ze+")|"+Ze),fe=t(n+"*"),Qe=t(t(E+"@")+"?"+te+t("\\:"+fe)+"?"),ue=t(c+"|"+o(v,h,"[\\:\\@]")),br=t(ue+"*"),Be=t(ue+"+"),wr=t(t(c+"|"+o(v,h,"[\\@]"))+"+"),x=t(t("\\/"+br)+"*"),J=t("\\/"+t(Be+x)+"?"),Ce=t(wr+x),Ee=t(Be+x),K="(?!"+ue+")",Mr=t(x+"|"+J+"|"+Ce+"|"+Ee+"|"+K),W=t(t(ue+"|"+o("[\\/\\?]",l))+"*"),he=t(t(ue+"|[\\/\\?]")+"*"),ke=t(t("\\/\\/"+Qe+x)+"|"+J+"|"+Ee+"|"+K),xr=t(S+"\\:"+ke+t("\\?"+W)+"?"+t("\\#"+he)+"?"),Hr=t(t("\\/\\/"+Qe+x)+"|"+J+"|"+Ce+"|"+K),Lr=t(Hr+t("\\?"+W)+"?"+t("\\#"+he)+"?"),qr=t(xr+"|"+Lr),jr=t(S+"\\:"+ke+t("\\?"+W)+"?"),Gr="^("+S+")\\:"+t(t("\\/\\/("+t("("+E+")@")+"?("+te+")"+t("\\:("+fe+")")+"?)")+"?("+x+"|"+J+"|"+Ee+"|"+K+")")+t("\\?("+W+")")+"?"+t("\\#("+he+")")+"?$",Yr="^(){0}"+t(t("\\/\\/("+t("("+E+")@")+"?("+te+")"+t("\\:("+fe+")")+"?)")+"?("+x+"|"+J+"|"+Ce+"|"+K+")")+t("\\?("+W+")")+"?"+t("\\#("+he+")")+"?$",Xr="^("+S+")\\:"+t(t("\\/\\/("+t("("+E+")@")+"?("+te+")"+t("\\:("+fe+")")+"?)")+"?("+x+"|"+J+"|"+Ee+"|"+K+")")+t("\\?("+W+")")+"?$",Zr="^"+t("\\#("+he+")")+"?$",Qr="^"+t("("+E+")@")+"?("+te+")"+t("\\:("+fe+")")+"?$";return{NOT_SCHEME:new RegExp(o("[^]",e,n,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(o("[^\\%\\:]",v,h),"g"),NOT_HOST:new RegExp(o("[^\\%\\[\\]\\:]",v,h),"g"),NOT_PATH:new RegExp(o("[^\\%\\/\\:\\@]",v,h),"g"),NOT_PATH_NOSCHEME:new RegExp(o("[^\\%\\/\\@]",v,h),"g"),NOT_QUERY:new RegExp(o("[^\\%]",v,h,"[\\:\\@\\/\\?]",l),"g"),NOT_FRAGMENT:new RegExp(o("[^\\%]",v,h,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(o("[^]",v,h),"g"),UNRESERVED:new RegExp(v,"g"),OTHER_CHARS:new RegExp(o("[^\\%]",v,p),"g"),PCT_ENCODED:new RegExp(c,"g"),IPV4ADDRESS:new RegExp("^("+I+")$"),IPV6ADDRESS:new RegExp("^\\[?("+w+")"+t(t("\\%25|\\%(?!"+f+"{2})")+"("+k+")")+"?\\]?$")}}var q=Ie(!1),ee=Ie(!0),se=(function(){function r(e,a){var n=[],i=!0,f=!1,u=void 0;try{for(var s=e[Symbol.iterator](),c;!(i=(c=s.next()).done)&&(n.push(c.value),!(a&&n.length===a));i=!0);}catch(D){f=!0,u=D}finally{try{!i&&s.return&&s.return()}finally{if(f)throw u}}return n}return function(e,a){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,a);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),er=function(r){if(Array.isArray(r)){for(var e=0,a=Array(r.length);e<r.length;e++)a[e]=r[e];return a}else return Array.from(r)},j=2147483647,y=36,le=1,re=26,rr=38,ar=700,Te=72,ye=128,Oe="-",nr=/^xn--/,ir=/[^\0-\x7E]/,tr=/[\x2E\u3002\uFF0E\uFF61]/g,fr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pe=y-le,O=Math.floor,Se=String.fromCharCode;function L(r){throw new RangeError(fr[r])}function ur(r,e){for(var a=[],n=r.length;n--;)a[n]=e(r[n]);return a}function Ne(r,e){var a=r.split("@"),n="";a.length>1&&(n=a[0]+"@",r=a[1]),r=r.replace(tr,".");var i=r.split("."),f=ur(i,e).join(".");return n+f}function Pe(r){for(var e=[],a=0,n=r.length;a<n;){var i=r.charCodeAt(a++);if(i>=55296&&i<=56319&&a<n){var f=r.charCodeAt(a++);(f&64512)==56320?e.push(((i&1023)<<10)+(f&1023)+65536):(e.push(i),a--)}else e.push(i)}return e}var hr=function(e){return String.fromCodePoint.apply(String,er(e))},sr=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:y},_e=function(e,a){return e+22+75*(e<26)-((a!=0)<<5)},Ue=function(e,a,n){var i=0;for(e=n?O(e/ar):e>>1,e+=O(e/a);e>pe*re>>1;i+=y)e=O(e/pe);return O(i+(pe+1)*e/(e+rr))},me=function(e){var a=[],n=e.length,i=0,f=ye,u=Te,s=e.lastIndexOf(Oe);s<0&&(s=0);for(var c=0;c<s;++c)e.charCodeAt(c)>=128&&L("not-basic"),a.push(e.charCodeAt(c));for(var D=s>0?s+1:0;D<n;){for(var h=i,p=1,g=y;;g+=y){D>=n&&L("invalid-input");var l=sr(e.charCodeAt(D++));(l>=y||l>O((j-i)/p))&&L("overflow"),i+=l*p;var v=g<=u?le:g>=u+re?re:g-u;if(l<v)break;var S=y-v;p>O(j/S)&&L("overflow"),p*=S}var E=a.length+1;u=Ue(i-h,E,h==0),O(i/E)>j-f&&L("overflow"),f+=O(i/E),i%=E,a.splice(i++,0,f)}return String.fromCodePoint.apply(String,a)},Fe=function(e){var a=[];e=Pe(e);var n=e.length,i=ye,f=0,u=Te,s=!0,c=!1,D=void 0;try{for(var h=e[Symbol.iterator](),p;!(s=(p=h.next()).done);s=!0){var g=p.value;g<128&&a.push(Se(g))}}catch(M){c=!0,D=M}finally{try{!s&&h.return&&h.return()}finally{if(c)throw D}}var l=a.length,v=l;for(l&&a.push(Oe);v<n;){var S=j,E=!0,V=!1,R=void 0;try{for(var I=e[Symbol.iterator](),d;!(E=(d=I.next()).done);E=!0){var A=d.value;A>=i&&A<S&&(S=A)}}catch(M){V=!0,R=M}finally{try{!E&&I.return&&I.return()}finally{if(V)throw R}}var T=v+1;S-i>O((j-f)/T)&&L("overflow"),f+=(S-i)*T,i=S;var U=!0,z=!1,b=void 0;try{for(var ie=e[Symbol.iterator](),ve;!(U=(ve=ie.next()).done);U=!0){var ce=ve.value;if(ce<i&&++f>j&&L("overflow"),ce==i){for(var Q=f,B=y;;B+=y){var w=B<=u?le:B>=u+re?re:B-u;if(Q<w)break;var k=Q-w,Ae=y-w;a.push(Se(_e(w+k%Ae,0))),Q=O(k/Ae)}a.push(Se(_e(Q,0))),u=Ue(f,T,v==l),f=0,++v}}}catch(M){z=!0,b=M}finally{try{!U&&ie.return&&ie.return()}finally{if(z)throw b}}++f,++i}return a.join("")},vr=function(e){return Ne(e,function(a){return nr.test(a)?me(a.slice(4).toLowerCase()):a})},cr=function(e){return Ne(e,function(a){return ir.test(a)?"xn--"+Fe(a):a})},G={version:"2.1.0",ucs2:{decode:Pe,encode:hr},decode:me,encode:Fe,toASCII:cr,toUnicode:vr},C={};function N(r){var e=r.charCodeAt(0),a=void 0;return e<16?a="%0"+e.toString(16).toUpperCase():e<128?a="%"+e.toString(16).toUpperCase():e<2048?a="%"+(e>>6|192).toString(16).toUpperCase()+"%"+(e&63|128).toString(16).toUpperCase():a="%"+(e>>12|224).toString(16).toUpperCase()+"%"+(e>>6&63|128).toString(16).toUpperCase()+"%"+(e&63|128).toString(16).toUpperCase(),a}function Y(r){for(var e="",a=0,n=r.length;a<n;){var i=parseInt(r.substr(a+1,2),16);if(i<128)e+=String.fromCharCode(i),a+=3;else if(i>=194&&i<224){if(n-a>=6){var f=parseInt(r.substr(a+4,2),16);e+=String.fromCharCode((i&31)<<6|f&63)}else e+=r.substr(a,6);a+=6}else if(i>=224){if(n-a>=9){var u=parseInt(r.substr(a+4,2),16),s=parseInt(r.substr(a+7,2),16);e+=String.fromCharCode((i&15)<<12|(u&63)<<6|s&63)}else e+=r.substr(a,9);a+=9}else e+=r.substr(a,3),a+=3}return e}function De(r,e){function a(n){var i=Y(n);return i.match(e.UNRESERVED)?i:n}return r.scheme&&(r.scheme=String(r.scheme).replace(e.PCT_ENCODED,a).toLowerCase().replace(e.NOT_SCHEME,"")),r.userinfo!==void 0&&(r.userinfo=String(r.userinfo).replace(e.PCT_ENCODED,a).replace(e.NOT_USERINFO,N).replace(e.PCT_ENCODED,H)),r.host!==void 0&&(r.host=String(r.host).replace(e.PCT_ENCODED,a).toLowerCase().replace(e.NOT_HOST,N).replace(e.PCT_ENCODED,H)),r.path!==void 0&&(r.path=String(r.path).replace(e.PCT_ENCODED,a).replace(r.scheme?e.NOT_PATH:e.NOT_PATH_NOSCHEME,N).replace(e.PCT_ENCODED,H)),r.query!==void 0&&(r.query=String(r.query).replace(e.PCT_ENCODED,a).replace(e.NOT_QUERY,N).replace(e.PCT_ENCODED,H)),r.fragment!==void 0&&(r.fragment=String(r.fragment).replace(e.PCT_ENCODED,a).replace(e.NOT_FRAGMENT,N).replace(e.PCT_ENCODED,H)),r}function ge(r){return r.replace(/^0*(.*)/,"$1")||"0"}function $e(r,e){var a=r.match(e.IPV4ADDRESS)||[],n=se(a,2),i=n[1];return i?i.split(".").map(ge).join("."):r}function be(r,e){var a=r.match(e.IPV6ADDRESS)||[],n=se(a,3),i=n[1],f=n[2];if(i){for(var u=i.toLowerCase().split("::").reverse(),s=se(u,2),c=s[0],D=s[1],h=D?D.split(":").map(ge):[],p=c.split(":").map(ge),g=e.IPV4ADDRESS.test(p[p.length-1]),l=g?7:8,v=p.length-l,S=Array(l),E=0;E<l;++E)S[E]=h[E]||p[v+E]||"";g&&(S[l-1]=$e(S[l-1],e));var V=S.reduce(function(T,U,z){if(!U||U==="0"){var b=T[T.length-1];b&&b.index+b.length===z?b.length++:T.push({index:z,length:1})}return T},[]),R=V.sort(function(T,U){return U.length-T.length})[0],I=void 0;if(R&&R.length>1){var d=S.slice(0,R.index),A=S.slice(R.index+R.length);I=d.join(":")+"::"+A.join(":")}else I=S.join(":");return f&&(I+="%"+f),I}else return r}var Er=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,dr="".match(/(){0}/)[1]===void 0;function m(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a={},n=e.iri!==!1?ee:q;e.reference==="suffix"&&(r=(e.scheme?e.scheme+":":"")+"//"+r);var i=r.match(Er);if(i){dr?(a.scheme=i[1],a.userinfo=i[3],a.host=i[4],a.port=parseInt(i[5],10),a.path=i[6]||"",a.query=i[7],a.fragment=i[8],isNaN(a.port)&&(a.port=i[5])):(a.scheme=i[1]||void 0,a.userinfo=r.indexOf("@")!==-1?i[3]:void 0,a.host=r.indexOf("//")!==-1?i[4]:void 0,a.port=parseInt(i[5],10),a.path=i[6]||"",a.query=r.indexOf("?")!==-1?i[7]:void 0,a.fragment=r.indexOf("#")!==-1?i[8]:void 0,isNaN(a.port)&&(a.port=r.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),a.host&&(a.host=be($e(a.host,n),n)),a.scheme===void 0&&a.userinfo===void 0&&a.host===void 0&&a.port===void 0&&!a.path&&a.query===void 0?a.reference="same-document":a.scheme===void 0?a.reference="relative":a.fragment===void 0?a.reference="absolute":a.reference="uri",e.reference&&e.reference!=="suffix"&&e.reference!==a.reference&&(a.error=a.error||"URI is not a "+e.reference+" reference.");var f=C[(e.scheme||a.scheme||"").toLowerCase()];if(!e.unicodeSupport&&(!f||!f.unicodeSupport)){if(a.host&&(e.domainHost||f&&f.domainHost))try{a.host=G.toASCII(a.host.replace(n.PCT_ENCODED,Y).toLowerCase())}catch(u){a.error=a.error||"Host's domain name can not be converted to ASCII via punycode: "+u}De(a,q)}else De(a,n);f&&f.parse&&f.parse(a,e)}else a.error=a.error||"URI can not be parsed.";return a}function or(r,e){var a=e.iri!==!1?ee:q,n=[];return r.userinfo!==void 0&&(n.push(r.userinfo),n.push("@")),r.host!==void 0&&n.push(be($e(String(r.host),a),a).replace(a.IPV6ADDRESS,function(i,f,u){return"["+f+(u?"%25"+u:"")+"]"})),(typeof r.port=="number"||typeof r.port=="string")&&(n.push(":"),n.push(String(r.port))),n.length?n.join(""):void 0}var we=/^\.\.?\//,xe=/^\/\.(\/|$)/,He=/^\/\.\.(\/|$)/,lr=/^\/?(?:.|\n)*?(?=\/|$)/;function X(r){for(var e=[];r.length;)if(r.match(we))r=r.replace(we,"");else if(r.match(xe))r=r.replace(xe,"/");else if(r.match(He))r=r.replace(He,"/"),e.pop();else if(r==="."||r==="..")r="";else{var a=r.match(lr);if(a){var n=a[0];r=r.slice(n.length),e.push(n)}else throw new Error("Unexpected dot segment condition")}return e.join("")}function P(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=e.iri?ee:q,n=[],i=C[(e.scheme||r.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(r,e),r.host&&!a.IPV6ADDRESS.test(r.host)){if(e.domainHost||i&&i.domainHost)try{r.host=e.iri?G.toUnicode(r.host):G.toASCII(r.host.replace(a.PCT_ENCODED,Y).toLowerCase())}catch(s){r.error=r.error||"Host's domain name can not be converted to "+(e.iri?"Unicode":"ASCII")+" via punycode: "+s}}De(r,a),e.reference!=="suffix"&&r.scheme&&(n.push(r.scheme),n.push(":"));var f=or(r,e);if(f!==void 0&&(e.reference!=="suffix"&&n.push("//"),n.push(f),r.path&&r.path.charAt(0)!=="/"&&n.push("/")),r.path!==void 0){var u=r.path;!e.absolutePath&&(!i||!i.absolutePath)&&(u=X(u)),f===void 0&&(u=u.replace(/^\/\//,"/%2F")),n.push(u)}return r.query!==void 0&&(n.push("?"),n.push(r.query)),r.fragment!==void 0&&(n.push("#"),n.push(r.fragment)),n.join("")}function Le(r,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments[3],i={};return n||(r=m(P(r,a),a),e=m(P(e,a),a)),a=a||{},!a.tolerant&&e.scheme?(i.scheme=e.scheme,i.userinfo=e.userinfo,i.host=e.host,i.port=e.port,i.path=X(e.path||""),i.query=e.query):(e.userinfo!==void 0||e.host!==void 0||e.port!==void 0?(i.userinfo=e.userinfo,i.host=e.host,i.port=e.port,i.path=X(e.path||""),i.query=e.query):(e.path?(e.path.charAt(0)==="/"?i.path=X(e.path):((r.userinfo!==void 0||r.host!==void 0||r.port!==void 0)&&!r.path?i.path="/"+e.path:r.path?i.path=r.path.slice(0,r.path.lastIndexOf("/")+1)+e.path:i.path=e.path,i.path=X(i.path)),i.query=e.query):(i.path=r.path,e.query!==void 0?i.query=e.query:i.query=r.query),i.userinfo=r.userinfo,i.host=r.host,i.port=r.port),i.scheme=r.scheme),i.fragment=e.fragment,i}function pr(r,e,a){var n=We({scheme:"null"},a);return P(Le(m(r,n),m(e,n),n,!0),n)}function Sr(r,e){return typeof r=="string"?r=P(m(r,e),e):oe(r)==="object"&&(r=m(P(r,e),e)),r}function Dr(r,e,a){return typeof r=="string"?r=P(m(r,a),a):oe(r)==="object"&&(r=P(r,a)),typeof e=="string"?e=P(m(e,a),a):oe(e)==="object"&&(e=P(e,a)),r===e}function gr(r,e){return r&&r.toString().replace(!e||!e.iri?q.ESCAPE:ee.ESCAPE,N)}function F(r,e){return r&&r.toString().replace(!e||!e.iri?q.PCT_ENCODED:ee.PCT_ENCODED,Y)}var ae={scheme:"http",domainHost:!0,parse:function(e,a){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,a){var n=String(e.scheme).toLowerCase()==="https";return(e.port===(n?443:80)||e.port==="")&&(e.port=void 0),e.path||(e.path="/"),e}},Ve={scheme:"https",domainHost:ae.domainHost,parse:ae.parse,serialize:ae.serialize};function ze(r){return typeof r.secure=="boolean"?r.secure:String(r.scheme).toLowerCase()==="wss"}var ne={scheme:"ws",domainHost:!0,parse:function(e,a){var n=e;return n.secure=ze(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,a){if((e.port===(ze(e)?443:80)||e.port==="")&&(e.port=void 0),typeof e.secure=="boolean"&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),i=se(n,2),f=i[0],u=i[1];e.path=f&&f!=="/"?f:void 0,e.query=u,e.resourceName=void 0}return e.fragment=void 0,e}},Me={scheme:"wss",domainHost:ne.domainHost,parse:ne.parse,serialize:ne.serialize},$r={},Rr=!0,qe="[A-Za-z0-9\\-\\.\\_\\~"+(Rr?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",_="[0-9A-Fa-f]",Ar=t(t("%[EFef]"+_+"%"+_+_+"%"+_+_)+"|"+t("%[89A-Fa-f]"+_+"%"+_+_)+"|"+t("%"+_+_)),Cr="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Ir="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Tr=o(Ir,'[\\"\\\\]'),yr="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Or=new RegExp(qe,"g"),Z=new RegExp(Ar,"g"),Nr=new RegExp(o("[^]",Cr,"[\\.]",'[\\"]',Tr),"g"),je=new RegExp(o("[^]",qe,yr),"g"),Pr=je;function Re(r){var e=Y(r);return e.match(Or)?e:r}var Ge={scheme:"mailto",parse:function(e,a){var n=e,i=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var f=!1,u={},s=n.query.split("&"),c=0,D=s.length;c<D;++c){var h=s[c].split("=");switch(h[0]){case"to":for(var p=h[1].split(","),g=0,l=p.length;g<l;++g)i.push(p[g]);break;case"subject":n.subject=F(h[1],a);break;case"body":n.body=F(h[1],a);break;default:f=!0,u[F(h[0],a)]=F(h[1],a);break}}f&&(n.headers=u)}n.query=void 0;for(var v=0,S=i.length;v<S;++v){var E=i[v].split("@");if(E[0]=F(E[0]),a.unicodeSupport)E[1]=F(E[1],a).toLowerCase();else try{E[1]=G.toASCII(F(E[1],a).toLowerCase())}catch(V){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+V}i[v]=E.join("@")}return n},serialize:function(e,a){var n=e,i=Ke(e.to);if(i){for(var f=0,u=i.length;f<u;++f){var s=String(i[f]),c=s.lastIndexOf("@"),D=s.slice(0,c).replace(Z,Re).replace(Z,H).replace(Nr,N),h=s.slice(c+1);try{h=a.iri?G.toUnicode(h):G.toASCII(F(h,a).toLowerCase())}catch(v){n.error=n.error||"Email address's domain name can not be converted to "+(a.iri?"Unicode":"ASCII")+" via punycode: "+v}i[f]=D+"@"+h}n.path=i.join(",")}var p=e.headers=e.headers||{};e.subject&&(p.subject=e.subject),e.body&&(p.body=e.body);var g=[];for(var l in p)p[l]!==$r[l]&&g.push(l.replace(Z,Re).replace(Z,H).replace(je,N)+"="+p[l].replace(Z,Re).replace(Z,H).replace(Pr,N));return g.length&&(n.query=g.join("&")),n}},_r=/^([^\:]+)\:(.*)/,Ye={scheme:"urn",parse:function(e,a){var n=e.path&&e.path.match(_r),i=e;if(n){var f=a.scheme||i.scheme||"urn",u=n[1].toLowerCase(),s=n[2],c=f+":"+(a.nid||u),D=C[c];i.nid=u,i.nss=s,i.path=void 0,D&&(i=D.parse(i,a))}else i.error=i.error||"URN can not be parsed.";return i},serialize:function(e,a){var n=a.scheme||e.scheme||"urn",i=e.nid,f=n+":"+(a.nid||i),u=C[f];u&&(e=u.serialize(e,a));var s=e,c=e.nss;return s.path=(i||a.nid)+":"+c,s}},Ur=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Xe={scheme:"urn:uuid",parse:function(e,a){var n=e;return n.uuid=n.nss,n.nss=void 0,!a.tolerant&&(!n.uuid||!n.uuid.match(Ur))&&(n.error=n.error||"UUID is not valid."),n},serialize:function(e,a){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};C[ae.scheme]=ae,C[Ve.scheme]=Ve,C[ne.scheme]=ne,C[Me.scheme]=Me,C[Ge.scheme]=Ge,C[Ye.scheme]=Ye,C[Xe.scheme]=Xe,$.SCHEMES=C,$.pctEncChar=N,$.pctDecChars=Y,$.parse=m,$.removeDotSegments=X,$.serialize=P,$.resolveComponents=Le,$.resolve=pr,$.normalize=Sr,$.equal=Dr,$.escapeComponent=gr,$.unescapeComponent=F,Object.defineProperty($,"__esModule",{value:!0})})});export{zr as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.