{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/tmp.MeZqI55GKD/b1/node-uri-js_4.4.0+dfsg-4_armhf.changes", "source2": "/srv/reproducible-results/rbuild-debian/tmp.MeZqI55GKD/b2/node-uri-js_4.4.0+dfsg-4_armhf.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,2 +1,2 @@\n \n- f5e45c77168fb68324b60acdd5e13f95 46816 javascript optional node-uri-js_4.4.0+dfsg-4_all.deb\n+ 227423c9acb7252a085f642b7be46ad2 46820 javascript optional node-uri-js_4.4.0+dfsg-4_all.deb\n"}, {"source1": "node-uri-js_4.4.0+dfsg-4_all.deb", "source2": "node-uri-js_4.4.0+dfsg-4_all.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2020-12-30 12:50:43.000000 debian-binary\n--rw-r--r-- 0 0 0 1616 2020-12-30 12:50:43.000000 control.tar.xz\n+-rw-r--r-- 0 0 0 1620 2020-12-30 12:50:43.000000 control.tar.xz\n -rw-r--r-- 0 0 0 45008 2020-12-30 12:50:43.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -8,15 +8,15 @@\n -rw-r--r-- 0 root (0) root (0) 4086 2020-12-30 12:50:43.000000 ./usr/share/doc/node-uri-js/copyright\n drwxr-xr-x 0 root (0) root (0) 0 2020-12-30 12:50:43.000000 ./usr/share/nodejs/\n drwxr-xr-x 0 root (0) root (0) 0 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/\n drwxr-xr-x 0 root (0) root (0) 0 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/\n drwxr-xr-x 0 root (0) root (0) 0 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/es5/\n -rw-r--r-- 0 root (0) root (0) 2689 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/es5/uri.all.d.ts\n -rw-r--r-- 0 root (0) root (0) 51564 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/es5/uri.all.js\n--rw-r--r-- 0 root (0) root (0) 105411 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/es5/uri.all.js.map\n+-rw-r--r-- 0 root (0) root (0) 105414 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/es5/uri.all.js.map\n drwxr-xr-x 0 root (0) root (0) 0 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/esnext/\n -rw-r--r-- 0 root (0) root (0) 23 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/esnext/index.d.ts\n -rw-r--r-- 0 root (0) root (0) 537 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/esnext/index.js\n -rw-r--r-- 0 root (0) root (0) 747 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/esnext/index.js.map\n -rw-r--r-- 0 root (0) root (0) 97 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/esnext/regexps-iri.d.ts\n -rw-r--r-- 0 root (0) root (0) 114 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/esnext/regexps-iri.js\n -rw-r--r-- 0 root (0) root (0) 192 2020-12-30 12:50:43.000000 ./usr/share/nodejs/uri-js/dist/esnext/regexps-iri.js.map\n"}, {"source1": "./usr/share/nodejs/uri-js/dist/es5/uri.all.js.map", "source2": "./usr/share/nodejs/uri-js/dist/es5/uri.all.js.map", "unified_diff": null, "details": [{"source1": "/srv/reproducible-results/rbuild-debian/tmp.MeZqI55GKD/dbd-tmp-PQrzUli/diffoscope_136vadbn/tmpigekgg5j/0/14.map", "source2": "/srv/reproducible-results/rbuild-debian/tmp.MeZqI55GKD/dbd-tmp-PQrzUli/diffoscope_136vadbn/tmp1n1ruv2n/0/14.map", "comments": ["Differences: {'replace': \"OrderedDict([('version', 3), ('file', 'uri.all.js'), ('sources', \"", " \"['../esnext/util.js', '../esnext/regexps-uri.js', '../esnext/regexps-iri.js', \"", " \"'../../../../../../usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/punycode.js', \"", " \"'../esnext/uri.js', '../esnext/schemes/http.js', '../esnext/schemes/https.js', \"", " \"'../esnext/schemes/ws.js', '../esnext/schemes/wss.js', '../esnext/schemes/mailto.js', \"", " \"'../esnext/schemes/urn.js', '../esnext/schemes/urn-uuid.js', '../esnext/index.js']), \"", " \"('sourcesContent', ['export function merge(...sets) {\\\\n if (sets.length > 1) \"", " '{\\\\n sets[0] = sets[0].slice(0, -1);\\\\n const xl = sets.length - '", " '1;\\\\n for (let x = 1; x < xl; ++x) {\\\\n sets[x] = sets[x].slice(1, '", " '-1);\\\\n }\\\\n sets[xl] = sets[xl].slice(1);\\\\n return '", " \"sets.join(\\\\'\\\\');\\\\n }\\\\n else {\\\\n return sets[0];\\\\n \"", " '}\\\\n}\\\\nexport function subexp(str) {\\\\n return \"(?:\" + str + \")\";\\\\n}\\\\nexport '", " 'function typeOf(o) {\\\\n return o === undefined ? \"undefined\" : (o === null ? '", " '\"null\" : Object.prototype.toString.call(o).split(\" '", " '\").pop().split(\"]\").shift().toLowerCase());\\\\n}\\\\nexport function toUpperCase(str) '", " '{\\\\n return str.toUpperCase();\\\\n}\\\\nexport function toArray(obj) {\\\\n return '", " 'obj !== undefined && obj !== null ? (obj instanceof Array ? obj : (typeof obj.length '", " '!== \"number\" || obj.split || obj.setInterval || obj.call ? [obj] : '", " 'Array.prototype.slice.call(obj))) : [];\\\\n}\\\\nexport function assign(target, source) '", " '{\\\\n const obj = target;\\\\n if (source) {\\\\n for (const key in source) '", " '{\\\\n obj[key] = source[key];\\\\n }\\\\n }\\\\n return '", " \"obj;\\\\n}\\\\n//# sourceMappingURL=util.js.map', 'import { merge, subexp } from \"", " '\"./util\";\\\\nexport function buildExps(isIRI) {\\\\n const ALPHA$$ = \"[A-Za-z]\", CR$ '", " '= \"[\\\\\\\\\\\\\\\\x0D]\", DIGIT$$ = \"[0-9]\", DQUOTE$$ = \"[\\\\\\\\\\\\\\\\x22]\", HEXDIG$$ = '", " 'merge(DIGIT$$, \"[A-Fa-f]\"), //case-insensitive\\\\n LF$$ = \"[\\\\\\\\\\\\\\\\x0A]\", SP$$ = '", " '\"[\\\\\\\\\\\\\\\\x20]\", PCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + '", " 'HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + '", " 'HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$)), //expanded\\\\n '", " 'GEN_DELIMS$$ = \"[\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\?\\\\\\\\\\\\\\\\#\\\\\\\\\\\\\\\\[\\\\\\\\\\\\\\\\]\\\\\\\\\\\\\\\\@]\", '", " 'SUB_DELIMS$$ = '", " '\"[\\\\\\\\\\\\\\\\!\\\\\\\\\\\\\\\\$\\\\\\\\\\\\\\\\&\\\\\\\\\\\\\\\\\\\\\\'\\\\\\\\\\\\\\\\(\\\\\\\\\\\\\\\\)\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\+\\\\\\\\\\\\\\\\,\\\\\\\\\\\\\\\\;\\\\\\\\\\\\\\\\=]\", '", " 'RESERVED$$ = merge(GEN_DELIMS$$, SUB_DELIMS$$), UCSCHAR$$ = isIRI ? '", " '\"[\\\\\\\\\\\\\\\\xA0-\\\\\\\\\\\\\\\\u200D\\\\\\\\\\\\\\\\u2010-\\\\\\\\\\\\\\\\u2029\\\\\\\\\\\\\\\\u202F-\\\\\\\\\\\\\\\\uD7FF\\\\\\\\\\\\\\\\uF900-\\\\\\\\\\\\\\\\uFDCF\\\\\\\\\\\\\\\\uFDF0-\\\\\\\\\\\\\\\\uFFEF]\" '", " ': \"[]\", //subset, excludes bidi control characters\\\\n IPRIVATE$$ = isIRI ? '", " '\"[\\\\\\\\\\\\\\\\uE000-\\\\\\\\\\\\\\\\uF8FF]\" : \"[]\", //subset\\\\n UNRESERVED$$ = merge(ALPHA$$, '", " 'DIGIT$$, \"[\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\.\\\\\\\\\\\\\\\\_\\\\\\\\\\\\\\\\~]\", UCSCHAR$$), SCHEME$ = '", " 'subexp(ALPHA$$ + merge(ALPHA$$, DIGIT$$, \"[\\\\\\\\\\\\\\\\+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\.]\") + \"*\"), '", " 'USERINFO$ = subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, '", " '\"[\\\\\\\\\\\\\\\\:]\")) + \"*\"), DEC_OCTET$ = subexp(subexp(\"25[0-5]\") + \"|\" + subexp(\"2[0-4]\" '", " '+ DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + subexp(\"[1-9]\" + DIGIT$$) '", " '+ \"|\" + DIGIT$$), DEC_OCTET_RELAXED$ = subexp(subexp(\"25[0-5]\") + \"|\" + '", " 'subexp(\"2[0-4]\" + DIGIT$$) + \"|\" + subexp(\"1\" + DIGIT$$ + DIGIT$$) + \"|\" + '", " 'subexp(\"0?[1-9]\" + DIGIT$$) + \"|0?0?\" + DIGIT$$), //relaxed parsing rules\\\\n '", " 'IPV4ADDRESS$ = subexp(DEC_OCTET_RELAXED$ + \"\\\\\\\\\\\\\\\\.\" + DEC_OCTET_RELAXED$ + '", " '\"\\\\\\\\\\\\\\\\.\" + DEC_OCTET_RELAXED$ + \"\\\\\\\\\\\\\\\\.\" + DEC_OCTET_RELAXED$), H16$ = '", " 'subexp(HEXDIG$$ + \"{1,4}\"), LS32$ = subexp(subexp(H16$ + \"\\\\\\\\\\\\\\\\:\" + H16$) + \"|\" + '", " 'IPV4ADDRESS$), IPV6ADDRESS1$ = subexp(subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{6}\" + LS32$), '", " '// 6( h16 \":\" ) ls32\\\\n IPV6ADDRESS2$ = '", " 'subexp(\"\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\:\" + subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{5}\" + LS32$), '", " '// \"::\" 5( h16 \":\" ) ls32\\\\n IPV6ADDRESS3$ = '", " 'subexp(subexp(H16$) + \"?\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\:\" + subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{4}\" + '", " 'LS32$), //[ h16 ] \"::\" 4( h16 \":\" ) ls32\\\\n IPV6ADDRESS4$ = '", " 'subexp(subexp(subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{0,1}\" + H16$) + \"?\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\:\" + '", " 'subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{3}\" + LS32$), //[ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" '", " ') ls32\\\\n IPV6ADDRESS5$ = subexp(subexp(subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{0,2}\" + '", " 'H16$) + \"?\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\:\" + subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{2}\" + LS32$), //[ *2( '", " 'h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\\\\n IPV6ADDRESS6$ = '", " 'subexp(subexp(subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{0,3}\" + H16$) + \"?\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\:\" + '", " 'H16$ + \"\\\\\\\\\\\\\\\\:\" + LS32$), //[ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\\\\n '", " 'IPV6ADDRESS7$ = subexp(subexp(subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{0,4}\" + H16$) + '", " '\"?\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\:\" + LS32$), //[ *4( h16 \":\" ) h16 ] \"::\" ls32\\\\n '", " 'IPV6ADDRESS8$ = subexp(subexp(subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{0,5}\" + H16$) + '", " '\"?\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\:\" + H16$), //[ *5( h16 \":\" ) h16 ] \"::\" h16\\\\n '", " 'IPV6ADDRESS9$ = subexp(subexp(subexp(H16$ + \"\\\\\\\\\\\\\\\\:\") + \"{0,6}\" + H16$) + '", " '\"?\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\:\"), //[ *6( h16 \":\" ) h16 ] \"::\"\\\\n IPV6ADDRESS$ = '", " 'subexp([IPV6ADDRESS1$, IPV6ADDRESS2$, IPV6ADDRESS3$, IPV6ADDRESS4$, IPV6ADDRESS5$, '", " 'IPV6ADDRESS6$, IPV6ADDRESS7$, IPV6ADDRESS8$, IPV6ADDRESS9$].join(\"|\")), ZONEID$ = '", " 'subexp(subexp(UNRESERVED$$ + \"|\" + PCT_ENCODED$) + \"+\"), //RFC 6874\\\\n IPV6ADDRZ$ '", " '= subexp(IPV6ADDRESS$ + \"\\\\\\\\\\\\\\\\%25\" + ZONEID$), //RFC 6874\\\\n IPV6ADDRZ_RELAXED$ '", " '= subexp(IPV6ADDRESS$ + subexp(\"\\\\\\\\\\\\\\\\%25|\\\\\\\\\\\\\\\\%(?!\" + HEXDIG$$ + \"{2})\") + '", " 'ZONEID$), //RFC 6874, with relaxed parsing rules\\\\n IPVFUTURE$ = subexp(\"[vV]\" + '", " 'HEXDIG$$ + \"+\\\\\\\\\\\\\\\\.\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\\\\\\\\\\\\\:]\") + \"+\"), '", " 'IP_LITERAL$ = subexp(\"\\\\\\\\\\\\\\\\[\" + subexp(IPV6ADDRZ_RELAXED$ + \"|\" + IPV6ADDRESS$ + '", " '\"|\" + IPVFUTURE$) + \"\\\\\\\\\\\\\\\\]\"), //RFC 6874\\\\n REG_NAME$ = '", " 'subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$)) + \"*\"), HOST$ = '", " 'subexp(IP_LITERAL$ + \"|\" + IPV4ADDRESS$ + \"(?!\" + REG_NAME$ + \")\" + \"|\" + REG_NAME$), '", " 'PORT$ = subexp(DIGIT$$ + \"*\"), AUTHORITY$ = subexp(subexp(USERINFO$ + \"@\") + \"?\" + '", " 'HOST$ + subexp(\"\\\\\\\\\\\\\\\\:\" + PORT$) + \"?\"), PCHAR$ = subexp(PCT_ENCODED$ + \"|\" + '", " 'merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\@]\")), SEGMENT$ = subexp(PCHAR$ '", " '+ \"*\"), SEGMENT_NZ$ = subexp(PCHAR$ + \"+\"), SEGMENT_NZ_NC$ = '", " 'subexp(subexp(PCT_ENCODED$ + \"|\" + merge(UNRESERVED$$, SUB_DELIMS$$, \"[\\\\\\\\\\\\\\\\@]\")) '", " '+ \"+\"), PATH_ABEMPTY$ = subexp(subexp(\"\\\\\\\\\\\\\\\\/\" + SEGMENT$) + \"*\"), PATH_ABSOLUTE$ '", " '= subexp(\"\\\\\\\\\\\\\\\\/\" + subexp(SEGMENT_NZ$ + PATH_ABEMPTY$) + \"?\"), //simplified\\\\n '", " 'PATH_NOSCHEME$ = subexp(SEGMENT_NZ_NC$ + PATH_ABEMPTY$), //simplified\\\\n '", " 'PATH_ROOTLESS$ = subexp(SEGMENT_NZ$ + PATH_ABEMPTY$), //simplified\\\\n PATH_EMPTY$ '", " '= \"(?!\" + PCHAR$ + \")\", PATH$ = subexp(PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + '", " 'PATH_NOSCHEME$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$), QUERY$ = '", " 'subexp(subexp(PCHAR$ + \"|\" + merge(\"[\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\?]\", IPRIVATE$$)) + \"*\"), '", " 'FRAGMENT$ = subexp(subexp(PCHAR$ + \"|[\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\?]\") + \"*\"), HIER_PART$ = '", " 'subexp(subexp(\"\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\/\" + AUTHORITY$ + PATH_ABEMPTY$) + \"|\" + '", " 'PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$), URI$ = subexp(SCHEME$ + '", " '\"\\\\\\\\\\\\\\\\:\" + HIER_PART$ + subexp(\"\\\\\\\\\\\\\\\\?\" + QUERY$) + \"?\" + subexp(\"\\\\\\\\\\\\\\\\#\" + '", " 'FRAGMENT$) + \"?\"), RELATIVE_PART$ = subexp(subexp(\"\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\/\" + AUTHORITY$ + '", " 'PATH_ABEMPTY$) + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + PATH_EMPTY$), '", " 'RELATIVE$ = subexp(RELATIVE_PART$ + subexp(\"\\\\\\\\\\\\\\\\?\" + QUERY$) + \"?\" + '", " 'subexp(\"\\\\\\\\\\\\\\\\#\" + FRAGMENT$) + \"?\"), URI_REFERENCE$ = subexp(URI$ + \"|\" + '", " 'RELATIVE$), ABSOLUTE_URI$ = subexp(SCHEME$ + \"\\\\\\\\\\\\\\\\:\" + HIER_PART$ + '", " 'subexp(\"\\\\\\\\\\\\\\\\?\" + QUERY$) + \"?\"), GENERIC_REF$ = \"^(\" + SCHEME$ + \")\\\\\\\\\\\\\\\\:\" + '", " 'subexp(subexp(\"\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + '", " '\")\" + subexp(\"\\\\\\\\\\\\\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + '", " 'PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + '", " 'subexp(\"\\\\\\\\\\\\\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\\\\\\\\\\\\\#(\" + FRAGMENT$ + \")\") + '", " '\"?$\", RELATIVE_REF$ = \"^(){0}\" + subexp(subexp(\"\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\/(\" + subexp(\"(\" + '", " 'USERINFO$ + \")@\") + \"?(\" + HOST$ + \")\" + subexp(\"\\\\\\\\\\\\\\\\:(\" + PORT$ + \")\") + \"?)\") + '", " '\"?(\" + PATH_ABEMPTY$ + \"|\" + PATH_ABSOLUTE$ + \"|\" + PATH_NOSCHEME$ + \"|\" + '", " 'PATH_EMPTY$ + \")\") + subexp(\"\\\\\\\\\\\\\\\\?(\" + QUERY$ + \")\") + \"?\" + subexp(\"\\\\\\\\\\\\\\\\#(\" '", " '+ FRAGMENT$ + \")\") + \"?$\", ABSOLUTE_REF$ = \"^(\" + SCHEME$ + \")\\\\\\\\\\\\\\\\:\" + '", " 'subexp(subexp(\"\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\/(\" + subexp(\"(\" + USERINFO$ + \")@\") + \"?(\" + HOST$ + '", " '\")\" + subexp(\"\\\\\\\\\\\\\\\\:(\" + PORT$ + \")\") + \"?)\") + \"?(\" + PATH_ABEMPTY$ + \"|\" + '", " 'PATH_ABSOLUTE$ + \"|\" + PATH_ROOTLESS$ + \"|\" + PATH_EMPTY$ + \")\") + '", " 'subexp(\"\\\\\\\\\\\\\\\\?(\" + QUERY$ + \")\") + \"?$\", SAMEDOC_REF$ = \"^\" + subexp(\"\\\\\\\\\\\\\\\\#(\" '", " '+ FRAGMENT$ + \")\") + \"?$\", AUTHORITY_REF$ = \"^\" + subexp(\"(\" + USERINFO$ + \")@\") + '", " '\"?(\" + HOST$ + \")\" + subexp(\"\\\\\\\\\\\\\\\\:(\" + PORT$ + \")\") + \"?$\";\\\\n return '", " '{\\\\n NOT_SCHEME: new RegExp(merge(\"[^]\", ALPHA$$, DIGIT$$, '", " '\"[\\\\\\\\\\\\\\\\+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\.]\"), \"g\"),\\\\n NOT_USERINFO: new '", " 'RegExp(merge(\"[^\\\\\\\\\\\\\\\\%\\\\\\\\\\\\\\\\:]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\\\\n '", " 'NOT_HOST: new RegExp(merge(\"[^\\\\\\\\\\\\\\\\%\\\\\\\\\\\\\\\\[\\\\\\\\\\\\\\\\]\\\\\\\\\\\\\\\\:]\", UNRESERVED$$, '", " 'SUB_DELIMS$$), \"g\"),\\\\n NOT_PATH: new '", " 'RegExp(merge(\"[^\\\\\\\\\\\\\\\\%\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\@]\", UNRESERVED$$, SUB_DELIMS$$), '", " '\"g\"),\\\\n NOT_PATH_NOSCHEME: new RegExp(merge(\"[^\\\\\\\\\\\\\\\\%\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\@]\", '", " 'UNRESERVED$$, SUB_DELIMS$$), \"g\"),\\\\n NOT_QUERY: new '", " 'RegExp(merge(\"[^\\\\\\\\\\\\\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, '", " '\"[\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\@\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\?]\", IPRIVATE$$), \"g\"),\\\\n NOT_FRAGMENT: '", " 'new RegExp(merge(\"[^\\\\\\\\\\\\\\\\%]\", UNRESERVED$$, SUB_DELIMS$$, '", " '\"[\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\@\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\?]\"), \"g\"),\\\\n ESCAPE: new '", " 'RegExp(merge(\"[^]\", UNRESERVED$$, SUB_DELIMS$$), \"g\"),\\\\n UNRESERVED: new '", " 'RegExp(UNRESERVED$$, \"g\"),\\\\n OTHER_CHARS: new RegExp(merge(\"[^\\\\\\\\\\\\\\\\%]\", '", " 'UNRESERVED$$, RESERVED$$), \"g\"),\\\\n PCT_ENCODED: new RegExp(PCT_ENCODED$, '", " '\"g\"),\\\\n IPV4ADDRESS: new RegExp(\"^(\" + IPV4ADDRESS$ + \")$\"),\\\\n '", " 'IPV6ADDRESS: new RegExp(\"^\\\\\\\\\\\\\\\\[?(\" + IPV6ADDRESS$ + \")\" + '", " 'subexp(subexp(\"\\\\\\\\\\\\\\\\%25|\\\\\\\\\\\\\\\\%(?!\" + HEXDIG$$ + \"{2})\") + \"(\" + ZONEID$ + \")\") '", " '+ \"?\\\\\\\\\\\\\\\\]?$\") //RFC 6874, with relaxed parsing rules\\\\n };\\\\n}\\\\nexport '", " \"default buildExps(false);\\\\n//# sourceMappingURL=regexps-uri.js.map', 'import { \"", " 'buildExps } from \"./regexps-uri\";\\\\nexport default buildExps(true);\\\\n//# '", " 'sourceMappingURL=regexps-iri.js.map\\', \"/*! https://mths.be/punycode v1.4.1 by '", " '@mathias */\\\\n\\\\n\\\\n/** Highest positive signed 32-bit float value */\\\\nvar maxInt = '", " '2147483647; // aka. 0x7FFFFFFF or 2^31-1\\\\n\\\\n/** Bootstring parameters */\\\\nvar base '", " '= 36;\\\\nvar tMin = 1;\\\\nvar tMax = 26;\\\\nvar skew = 38;\\\\nvar damp = 700;\\\\nvar '", " \"initialBias = 72;\\\\nvar initialN = 128; // 0x80\\\\nvar delimiter = '-'; // \"", " \"'\\\\\\\\x2D'\\\\n\\\\n/** Regular expressions */\\\\nvar regexPunycode = /^xn--/;\\\\nvar \"", " 'regexNonASCII = /[^\\\\\\\\x20-\\\\\\\\x7E]/; // unprintable ASCII chars + non-ASCII '", " 'chars\\\\nvar regexSeparators = /[\\\\\\\\x2E\\\\\\\\u3002\\\\\\\\uFF0E\\\\\\\\uFF61]/g; // RFC 3490 '", " \"separators\\\\n\\\\n/** Error messages */\\\\nvar errors = {\\\\n 'overflow': 'Overflow: \"", " \"input needs wider integers to process',\\\\n 'not-basic': 'Illegal input >= 0x80 (not \"", " \"a basic code point)',\\\\n 'invalid-input': 'Invalid input'\\\\n};\\\\n\\\\n/** Convenience \"", " 'shortcuts */\\\\nvar baseMinusTMin = base - tMin;\\\\nvar floor = Math.floor;\\\\nvar '", " 'stringFromCharCode = '", " 'String.fromCharCode;\\\\n\\\\n/*--------------------------------------------------------------------------*/\\\\n\\\\n/**\\\\n '", " '* A generic error utility function.\\\\n * @private\\\\n * @param {String} type The error '", " 'type.\\\\n * @returns {Error} Throws a `RangeError` with the applicable error '", " 'message.\\\\n */\\\\nfunction error(type) {\\\\n throw new '", " 'RangeError(errors[type]);\\\\n}\\\\n\\\\n/**\\\\n * A generic `Array#map` utility '", " 'function.\\\\n * @private\\\\n * @param {Array} array The array to iterate over.\\\\n * '", " '@param {Function} callback The function that gets called for every array\\\\n * '", " 'item.\\\\n * @returns {Array} A new array of values returned by the callback '", " 'function.\\\\n */\\\\nfunction map(array, fn) {\\\\n var length = array.length;\\\\n var '", " 'result = [];\\\\n while (length--) {\\\\n result[length] = fn(array[length]);\\\\n '", " '}\\\\n return result;\\\\n}\\\\n\\\\n/**\\\\n * A simple `Array#map`-like wrapper to work with '", " 'domain name strings or email\\\\n * addresses.\\\\n * @private\\\\n * @param {String} '", " 'domain The domain name or email address.\\\\n * @param {Function} callback The function '", " 'that gets called for every\\\\n * character.\\\\n * @returns {Array} A new string of '", " 'characters returned by the callback\\\\n * function.\\\\n */\\\\nfunction mapDomain(string, '", " \"fn) {\\\\n var parts = string.split('@');\\\\n var result = '';\\\\n if (parts.length > \"", " '1) {\\\\n // In email addresses, only the domain name should be punycoded. '", " 'Leave\\\\n // the local part (i.e. everything up to `@`) intact.\\\\n result = '", " \"parts[0] + '@';\\\\n string = parts[1];\\\\n }\\\\n // Avoid `split(regex)` for IE8 \"", " \"compatibility. See #17.\\\\n string = string.replace(regexSeparators, '\\\\\\\\x2E');\\\\n \"", " \"var labels = string.split('.');\\\\n var encoded = map(labels, fn).join('.');\\\\n \"", " 'return result + encoded;\\\\n}\\\\n\\\\n/**\\\\n * Creates an array containing the numeric '", " 'code points of each Unicode\\\\n * character in the string. While JavaScript uses UCS-2 '", " 'internally,\\\\n * this function will convert a pair of surrogate halves (each of '", " 'which\\\\n * UCS-2 exposes as separate characters) into a single code point,\\\\n * '", " 'matching UTF-16.\\\\n * @see `punycode.ucs2.encode`\\\\n * @see '", " '\\\\n * @memberOf punycode.ucs2\\\\n '", " '* @name decode\\\\n * @param {String} string The Unicode input string (UCS-2).\\\\n * '", " '@returns {Array} The new array of code points.\\\\n */\\\\nfunction ucs2decode(string) '", " '{\\\\n var output = [],\\\\n counter = 0,\\\\n length = string.length,\\\\n '", " 'value,\\\\n extra;\\\\n while (counter < length) {\\\\n value = '", " 'string.charCodeAt(counter++);\\\\n if (value >= 0xD800 && value <= 0xDBFF && counter '", " '< length) {\\\\n // high surrogate, and there is a next character\\\\n extra = '", " 'string.charCodeAt(counter++);\\\\n if ((extra & 0xFC00) == 0xDC00) { // low '", " 'surrogate\\\\n output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + '", " '0x10000);\\\\n } else {\\\\n // unmatched surrogate; only append this code '", " 'unit, in case the next\\\\n // code unit is the high surrogate of a surrogate '", " 'pair\\\\n output.push(value);\\\\n counter--;\\\\n }\\\\n } else '", " '{\\\\n output.push(value);\\\\n }\\\\n }\\\\n return output;\\\\n}\\\\n\\\\n/**\\\\n * '", " 'Creates a string based on an array of numeric code points.\\\\n * @see '", " '`punycode.ucs2.decode`\\\\n * @memberOf punycode.ucs2\\\\n * @name encode\\\\n * @param '", " '{Array} codePoints The array of numeric code points.\\\\n * @returns {String} The new '", " 'Unicode string (UCS-2).\\\\n */\\\\nfunction ucs2encode(array) {\\\\n return map(array, '", " \"function(value) {\\\\n var output = '';\\\\n if (value > 0xFFFF) {\\\\n value -= \"", " '0x10000;\\\\n output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\\\\n '", " 'value = 0xDC00 | value & 0x3FF;\\\\n }\\\\n output += '", " \"stringFromCharCode(value);\\\\n return output;\\\\n }).join('');\\\\n}\\\\n\\\\n/**\\\\n * \"", " 'Converts a basic code point into a digit/integer.\\\\n * @see `digitToBasic()`\\\\n * '", " '@private\\\\n * @param {Number} codePoint The basic numeric code point value.\\\\n * '", " '@returns {Number} The numeric value of a basic code point (for use in\\\\n * '", " 'representing integers) in the range `0` to `base - 1`, or `base` if\\\\n * the code '", " 'point does not represent a value.\\\\n */\\\\nfunction basicToDigit(codePoint) {\\\\n if '", " '(codePoint - 48 < 10) {\\\\n return codePoint - 22;\\\\n }\\\\n if (codePoint - 65 < '", " '26) {\\\\n return codePoint - 65;\\\\n }\\\\n if (codePoint - 97 < 26) {\\\\n return '", " 'codePoint - 97;\\\\n }\\\\n return base;\\\\n}\\\\n\\\\n/**\\\\n * Converts a digit/integer '", " 'into a basic code point.\\\\n * @see `basicToDigit()`\\\\n * @private\\\\n * @param '", " '{Number} digit The numeric value of a basic code point.\\\\n * @returns {Number} The '", " 'basic code point whose value (when used for\\\\n * representing integers) is `digit`, '", " 'which needs to be in the range\\\\n * `0` to `base - 1`. If `flag` is non-zero, the '", " 'uppercase form is\\\\n * used; else, the lowercase form is used. The behavior is '", " 'undefined\\\\n * if `flag` is non-zero and `digit` has no uppercase form.\\\\n '", " '*/\\\\nfunction digitToBasic(digit, flag) {\\\\n // 0..25 map to ASCII a..z or A..Z\\\\n '", " '// 26..35 map to ASCII 0..9\\\\n return digit + 22 + 75 * (digit < 26) - ((flag != 0) '", " '<< 5);\\\\n}\\\\n\\\\n/**\\\\n * Bias adaptation function as per section 3.4 of RFC 3492.\\\\n '", " '* https://tools.ietf.org/html/rfc3492#section-3.4\\\\n * @private\\\\n */\\\\nfunction '", " 'adapt(delta, numPoints, firstTime) {\\\\n var k = 0;\\\\n delta = firstTime ? '", " 'floor(delta / damp) : delta >> 1;\\\\n delta += floor(delta / numPoints);\\\\n for ( /* '", " 'no initialization */ ; delta > baseMinusTMin * tMax >> 1; k += base) {\\\\n delta = '", " 'floor(delta / baseMinusTMin);\\\\n }\\\\n return floor(k + (baseMinusTMin + 1) * delta '", " '/ (delta + skew));\\\\n}\\\\n\\\\n/**\\\\n * Converts a Punycode string of ASCII-only symbols '", " 'to a string of Unicode\\\\n * symbols.\\\\n * @memberOf punycode\\\\n * @param {String} '", " 'input The Punycode string of ASCII-only symbols.\\\\n * @returns {String} The resulting '", " \"string of Unicode symbols.\\\\n */\\\\nexport function decode(input) {\\\\n // Don't use \"", " 'UCS-2\\\\n var output = [],\\\\n inputLength = input.length,\\\\n out,\\\\n i = '", " '0,\\\\n n = initialN,\\\\n bias = initialBias,\\\\n basic,\\\\n j,\\\\n '", " 'index,\\\\n oldi,\\\\n w,\\\\n k,\\\\n digit,\\\\n t,\\\\n /** Cached '", " 'calculation results */\\\\n baseMinusT;\\\\n\\\\n // Handle the basic code points: let '", " '`basic` be the number of input code\\\\n // points before the last delimiter, or `0` '", " 'if there is none, then copy\\\\n // the first basic code points to the output.\\\\n\\\\n '", " 'basic = input.lastIndexOf(delimiter);\\\\n if (basic < 0) {\\\\n basic = 0;\\\\n '", " \"}\\\\n\\\\n for (j = 0; j < basic; ++j) {\\\\n // if it's not a basic code point\\\\n \"", " \"if (input.charCodeAt(j) >= 0x80) {\\\\n error('not-basic');\\\\n }\\\\n \"", " 'output.push(input.charCodeAt(j));\\\\n }\\\\n\\\\n // Main decoding loop: start just '", " 'after the last delimiter if any basic code\\\\n // points were copied; start at the '", " 'beginning otherwise.\\\\n\\\\n for (index = basic > 0 ? basic + 1 : 0; index < '", " 'inputLength; /* no final expression */ ) {\\\\n\\\\n // `index` is the index of the '", " 'next character to be consumed.\\\\n // Decode a generalized variable-length integer '", " 'into `delta`,\\\\n // which gets added to `i`. The overflow checking is easier\\\\n '", " '// if we increase `i` as we go, then subtract off its starting\\\\n // value at the '", " 'end to obtain `delta`.\\\\n for (oldi = i, w = 1, k = base; /* no condition */ ; k '", " '+= base) {\\\\n\\\\n if (index >= inputLength) {\\\\n '", " \"error('invalid-input');\\\\n }\\\\n\\\\n digit = \"", " 'basicToDigit(input.charCodeAt(index++));\\\\n\\\\n if (digit >= base || digit > '", " \"floor((maxInt - i) / w)) {\\\\n error('overflow');\\\\n }\\\\n\\\\n i += \"", " 'digit * w;\\\\n t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - '", " 'bias);\\\\n\\\\n if (digit < t) {\\\\n break;\\\\n }\\\\n\\\\n baseMinusT = '", " 'base - t;\\\\n if (w > floor(maxInt / baseMinusT)) {\\\\n '", " \"error('overflow');\\\\n }\\\\n\\\\n w *= baseMinusT;\\\\n\\\\n }\\\\n\\\\n out = \"", " 'output.length + 1;\\\\n bias = adapt(i - oldi, out, oldi == 0);\\\\n\\\\n // `i` was '", " 'supposed to wrap around from `out` to `0`,\\\\n // incrementing `n` each time, so '", " \"we'll fix that now:\\\\n if (floor(i / out) > maxInt - n) {\\\\n \"", " \"error('overflow');\\\\n }\\\\n\\\\n n += floor(i / out);\\\\n i %= out;\\\\n\\\\n // \"", " 'Insert `n` at position `i` of the output\\\\n output.splice(i++, 0, n);\\\\n\\\\n '", " '}\\\\n\\\\n return ucs2encode(output);\\\\n}\\\\n\\\\n/**\\\\n * Converts a string of Unicode '", " 'symbols (e.g. a domain name label) to a\\\\n * Punycode string of ASCII-only '", " 'symbols.\\\\n * @memberOf punycode\\\\n * @param {String} input The string of Unicode '", " 'symbols.\\\\n * @returns {String} The resulting Punycode string of ASCII-only '", " 'symbols.\\\\n */\\\\nexport function encode(input) {\\\\n var n,\\\\n delta,\\\\n '", " 'handledCPCount,\\\\n basicLength,\\\\n bias,\\\\n j,\\\\n m,\\\\n q,\\\\n '", " 'k,\\\\n t,\\\\n currentValue,\\\\n output = [],\\\\n /** `inputLength` will hold '", " 'the number of code points in `input`. */\\\\n inputLength,\\\\n /** Cached '", " 'calculation results */\\\\n handledCPCountPlusOne,\\\\n baseMinusT,\\\\n '", " 'qMinusT;\\\\n\\\\n // Convert the input in UCS-2 to Unicode\\\\n input = '", " 'ucs2decode(input);\\\\n\\\\n // Cache the length\\\\n inputLength = input.length;\\\\n\\\\n '", " '// Initialize the state\\\\n n = initialN;\\\\n delta = 0;\\\\n bias = '", " 'initialBias;\\\\n\\\\n // Handle the basic code points\\\\n for (j = 0; j < inputLength; '", " '++j) {\\\\n currentValue = input[j];\\\\n if (currentValue < 0x80) {\\\\n '", " 'output.push(stringFromCharCode(currentValue));\\\\n }\\\\n }\\\\n\\\\n handledCPCount = '", " 'basicLength = output.length;\\\\n\\\\n // `handledCPCount` is the number of code points '", " 'that have been handled;\\\\n // `basicLength` is the number of basic code '", " 'points.\\\\n\\\\n // Finish the basic string - if it is not empty - with a delimiter\\\\n '", " 'if (basicLength) {\\\\n output.push(delimiter);\\\\n }\\\\n\\\\n // Main encoding '", " 'loop:\\\\n while (handledCPCount < inputLength) {\\\\n\\\\n // All non-basic code '", " 'points < n have been handled already. Find the next\\\\n // larger one:\\\\n for (m '", " '= maxInt, j = 0; j < inputLength; ++j) {\\\\n currentValue = input[j];\\\\n if '", " '(currentValue >= n && currentValue < m) {\\\\n m = currentValue;\\\\n }\\\\n '", " \"}\\\\n\\\\n // Increase `delta` enough to advance the decoder's state to \"", " ',\\\\n // but guard against overflow\\\\n handledCPCountPlusOne = '", " 'handledCPCount + 1;\\\\n if (m - n > floor((maxInt - delta) / '", " \"handledCPCountPlusOne)) {\\\\n error('overflow');\\\\n }\\\\n\\\\n delta += (m - \"", " 'n) * handledCPCountPlusOne;\\\\n n = m;\\\\n\\\\n for (j = 0; j < inputLength; ++j) '", " '{\\\\n currentValue = input[j];\\\\n\\\\n if (currentValue < n && ++delta > '", " \"maxInt) {\\\\n error('overflow');\\\\n }\\\\n\\\\n if (currentValue == n) \"", " '{\\\\n // Represent delta as a generalized variable-length integer\\\\n for '", " '(q = delta, k = base; /* no condition */ ; k += base) {\\\\n t = k <= bias ? '", " 'tMin : (k >= bias + tMax ? tMax : k - bias);\\\\n if (q < t) {\\\\n '", " 'break;\\\\n }\\\\n qMinusT = q - t;\\\\n baseMinusT = base - '", " 't;\\\\n output.push(\\\\n stringFromCharCode(digitToBasic(t + qMinusT '", " '% baseMinusT, 0))\\\\n );\\\\n q = floor(qMinusT / '", " 'baseMinusT);\\\\n }\\\\n\\\\n output.push(stringFromCharCode(digitToBasic(q, '", " '0)));\\\\n bias = adapt(delta, handledCPCountPlusOne, handledCPCount == '", " 'basicLength);\\\\n delta = 0;\\\\n ++handledCPCount;\\\\n }\\\\n '", " \"}\\\\n\\\\n ++delta;\\\\n ++n;\\\\n\\\\n }\\\\n return output.join('');\\\\n}\\\\n\\\\n/**\\\\n * \"", " 'Converts a Punycode string representing a domain name or an email address\\\\n * to '", " 'Unicode. Only the Punycoded parts of the input will be converted, i.e.\\\\n * it '", " \"doesn't matter if you call it on a string that has already been\\\\n * converted to \"", " 'Unicode.\\\\n * @memberOf punycode\\\\n * @param {String} input The Punycoded domain name '", " 'or email address to\\\\n * convert to Unicode.\\\\n * @returns {String} The Unicode '", " 'representation of the given Punycode\\\\n * string.\\\\n */\\\\nexport function '", " 'toUnicode(input) {\\\\n return mapDomain(input, function(string) {\\\\n return '", " 'regexPunycode.test(string) ?\\\\n decode(string.slice(4).toLowerCase()) :\\\\n '", " 'string;\\\\n });\\\\n}\\\\n\\\\n/**\\\\n * Converts a Unicode string representing a domain '", " 'name or an email address to\\\\n * Punycode. Only the non-ASCII parts of the domain '", " \"name will be converted,\\\\n * i.e. it doesn't matter if you call it with a domain \"", " \"that's already in\\\\n * ASCII.\\\\n * @memberOf punycode\\\\n * @param {String} input The \"", " 'domain name or email address to convert, as a\\\\n * Unicode string.\\\\n * @returns '", " '{String} The Punycode representation of the given domain name or\\\\n * email '", " 'address.\\\\n */\\\\nexport function toASCII(input) {\\\\n return mapDomain(input, '", " \"function(string) {\\\\n return regexNonASCII.test(string) ?\\\\n 'xn--' + \"", " \"encode(string) :\\\\n string;\\\\n });\\\\n}\\\\nexport var version = '1.4.1';\\\\n/**\\\\n \"", " \"* An object of methods to convert from JavaScript's internal character\\\\n * \"", " 'representation (UCS-2) to Unicode code points, and back.\\\\n * @see '", " '\\\\n * @memberOf punycode\\\\n * '", " '@type Object\\\\n */\\\\n\\\\nexport var ucs2 = {\\\\n decode: ucs2decode,\\\\n encode: '", " 'ucs2encode\\\\n};\\\\nexport default {\\\\n version: version,\\\\n ucs2: ucs2,\\\\n toASCII: '", " 'toASCII,\\\\n toUnicode: toUnicode,\\\\n encode: encode,\\\\n decode: decode\\\\n}\\\\n\", '", " \"'/**\\\\n * URI.js\\\\n *\\\\n * @fileoverview An RFC 3986 compliant, scheme extendable URI \"", " 'parsing/validating/resolving library for JavaScript.\\\\n * @author Gary Court\\\\n * @see '", " 'http://github.com/garycourt/uri-js\\\\n */\\\\n/**\\\\n * Copyright 2011 Gary Court. All '", " 'rights reserved.\\\\n *\\\\n * Redistribution and use in source and binary forms, with or '", " 'without modification, are\\\\n * permitted provided that the following conditions are '", " 'met:\\\\n *\\\\n * 1. Redistributions of source code must retain the above copyright '", " 'notice, this list of\\\\n * conditions and the following disclaimer.\\\\n *\\\\n * '", " '2. Redistributions in binary form must reproduce the above copyright notice, this '", " 'list\\\\n * of conditions and the following disclaimer in the documentation '", " 'and/or other materials\\\\n * provided with the distribution.\\\\n *\\\\n * THIS '", " \"SOFTWARE IS PROVIDED BY GARY COURT ``AS IS\\\\'\\\\' AND ANY EXPRESS OR IMPLIED\\\\n * \"", " 'WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY '", " 'AND\\\\n * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY '", " 'COURT OR\\\\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, '", " 'EXEMPLARY, OR\\\\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT '", " 'OF SUBSTITUTE GOODS OR\\\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS '", " 'INTERRUPTION) HOWEVER CAUSED AND ON\\\\n * ANY THEORY OF LIABILITY, WHETHER IN '", " 'CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\\\\n * NEGLIGENCE OR OTHERWISE) ARISING '", " 'IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\\\\n * ADVISED OF THE POSSIBILITY '", " 'OF SUCH DAMAGE.\\\\n *\\\\n * The views and conclusions contained in the software and '", " 'documentation are those of the\\\\n * authors and should not be interpreted as '", " 'representing official policies, either expressed\\\\n * or implied, of Gary Court.\\\\n '", " '*/\\\\nimport URI_PROTOCOL from \"./regexps-uri\";\\\\nimport IRI_PROTOCOL from '", " '\"./regexps-iri\";\\\\nimport punycode from \"punycode\";\\\\nimport { toUpperCase, typeOf, '", " 'assign } from \"./util\";\\\\nexport const SCHEMES = {};\\\\nexport function '", " 'pctEncChar(chr) {\\\\n const c = chr.charCodeAt(0);\\\\n let e;\\\\n if (c < '", " '16)\\\\n e = \"%0\" + c.toString(16).toUpperCase();\\\\n else if (c < '", " '128)\\\\n e = \"%\" + c.toString(16).toUpperCase();\\\\n else if (c < '", " '2048)\\\\n e = \"%\" + ((c >> 6) | 192).toString(16).toUpperCase() + \"%\" + ((c & '", " '63) | 128).toString(16).toUpperCase();\\\\n else\\\\n e = \"%\" + ((c >> 12) | '", " '224).toString(16).toUpperCase() + \"%\" + (((c >> 6) & 63) | '", " '128).toString(16).toUpperCase() + \"%\" + ((c & 63) | '", " '128).toString(16).toUpperCase();\\\\n return e;\\\\n}\\\\nexport function '", " 'pctDecChars(str) {\\\\n let newStr = \"\";\\\\n let i = 0;\\\\n const il = '", " 'str.length;\\\\n while (i < il) {\\\\n const c = parseInt(str.substr(i + 1, 2), '", " '16);\\\\n if (c < 128) {\\\\n newStr += '", " 'String.fromCharCode(c);\\\\n i += 3;\\\\n }\\\\n else if (c >= 194 '", " '&& c < 224) {\\\\n if ((il - i) >= 6) {\\\\n const c2 = '", " 'parseInt(str.substr(i + 4, 2), 16);\\\\n newStr += '", " 'String.fromCharCode(((c & 31) << 6) | (c2 & 63));\\\\n }\\\\n else '", " '{\\\\n newStr += str.substr(i, 6);\\\\n }\\\\n i += '", " '6;\\\\n }\\\\n else if (c >= 224) {\\\\n if ((il - i) >= 9) '", " '{\\\\n const c2 = parseInt(str.substr(i + 4, 2), 16);\\\\n '", " 'const c3 = parseInt(str.substr(i + 7, 2), 16);\\\\n newStr += '", " 'String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));\\\\n '", " '}\\\\n else {\\\\n newStr += str.substr(i, 9);\\\\n '", " '}\\\\n i += 9;\\\\n }\\\\n else {\\\\n newStr += '", " 'str.substr(i, 3);\\\\n i += 3;\\\\n }\\\\n }\\\\n return '", " 'newStr;\\\\n}\\\\nfunction _normalizeComponentEncoding(components, protocol) {\\\\n '", " 'function decodeUnreserved(str) {\\\\n const decStr = pctDecChars(str);\\\\n '", " 'return (!decStr.match(protocol.UNRESERVED) ? str : decStr);\\\\n }\\\\n if '", " '(components.scheme)\\\\n components.scheme = '", " 'String(components.scheme).replace(protocol.PCT_ENCODED, '", " 'decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME, \"\");\\\\n if '", " '(components.userinfo !== undefined)\\\\n components.userinfo = '", " 'String(components.userinfo).replace(protocol.PCT_ENCODED, '", " 'decodeUnreserved).replace(protocol.NOT_USERINFO, '", " 'pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\\\\n if (components.host !== '", " 'undefined)\\\\n components.host = '", " 'String(components.host).replace(protocol.PCT_ENCODED, '", " 'decodeUnreserved).toLowerCase().replace(protocol.NOT_HOST, '", " 'pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\\\\n if (components.path !== '", " 'undefined)\\\\n components.path = '", " 'String(components.path).replace(protocol.PCT_ENCODED, '", " 'decodeUnreserved).replace((components.scheme ? protocol.NOT_PATH : '", " 'protocol.NOT_PATH_NOSCHEME), pctEncChar).replace(protocol.PCT_ENCODED, '", " 'toUpperCase);\\\\n if (components.query !== undefined)\\\\n components.query = '", " 'String(components.query).replace(protocol.PCT_ENCODED, '", " 'decodeUnreserved).replace(protocol.NOT_QUERY, '", " 'pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\\\\n if (components.fragment '", " '!== undefined)\\\\n components.fragment = '", " 'String(components.fragment).replace(protocol.PCT_ENCODED, '", " 'decodeUnreserved).replace(protocol.NOT_FRAGMENT, '", " 'pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);\\\\n return '", " 'components;\\\\n}\\\\n;\\\\nfunction _stripLeadingZeros(str) {\\\\n return '", " 'str.replace(/^0*(.*)/, \"$1\") || \"0\";\\\\n}\\\\nfunction _normalizeIPv4(host, protocol) '", " '{\\\\n const matches = host.match(protocol.IPV4ADDRESS) || [];\\\\n const [, '", " 'address] = matches;\\\\n if (address) {\\\\n return '", " 'address.split(\".\").map(_stripLeadingZeros).join(\".\");\\\\n }\\\\n else {\\\\n '", " 'return host;\\\\n }\\\\n}\\\\nfunction _normalizeIPv6(host, protocol) {\\\\n const '", " 'matches = host.match(protocol.IPV6ADDRESS) || [];\\\\n const [, address, zone] = '", " 'matches;\\\\n if (address) {\\\\n const [last, first] = '", " \"address.toLowerCase().split(\\\\'::\\\\').reverse();\\\\n const firstFields = first \"", " '? first.split(\":\").map(_stripLeadingZeros) : [];\\\\n const lastFields = '", " 'last.split(\":\").map(_stripLeadingZeros);\\\\n const isLastFieldIPv4Address = '", " 'protocol.IPV4ADDRESS.test(lastFields[lastFields.length - 1]);\\\\n const '", " 'fieldCount = isLastFieldIPv4Address ? 7 : 8;\\\\n const lastFieldsStart = '", " 'lastFields.length - fieldCount;\\\\n const fields = Array(fieldCount);\\\\n '", " 'for (let x = 0; x < fieldCount; ++x) {\\\\n fields[x] = firstFields[x] || '", " \"lastFields[lastFieldsStart + x] || \\\\'\\\\';\\\\n }\\\\n if \"", " '(isLastFieldIPv4Address) {\\\\n fields[fieldCount - 1] = '", " '_normalizeIPv4(fields[fieldCount - 1], protocol);\\\\n }\\\\n const '", " 'allZeroFields = fields.reduce((acc, field, index) => {\\\\n if (!field || '", " 'field === \"0\") {\\\\n const lastLongest = acc[acc.length - '", " '1];\\\\n if (lastLongest && lastLongest.index + lastLongest.length === '", " 'index) {\\\\n lastLongest.length++;\\\\n '", " '}\\\\n else {\\\\n acc.push({ index, length: 1 '", " '});\\\\n }\\\\n }\\\\n return acc;\\\\n }, '", " '[]);\\\\n const longestZeroFields = allZeroFields.sort((a, b) => b.length - '", " 'a.length)[0];\\\\n let newHost;\\\\n if (longestZeroFields && '", " 'longestZeroFields.length > 1) {\\\\n const newFirst = fields.slice(0, '", " 'longestZeroFields.index);\\\\n const newLast = '", " 'fields.slice(longestZeroFields.index + longestZeroFields.length);\\\\n '", " 'newHost = newFirst.join(\":\") + \"::\" + newLast.join(\":\");\\\\n }\\\\n else '", " '{\\\\n newHost = fields.join(\":\");\\\\n }\\\\n if (zone) '", " '{\\\\n newHost += \"%\" + zone;\\\\n }\\\\n return newHost;\\\\n '", " '}\\\\n else {\\\\n return host;\\\\n }\\\\n}\\\\nconst URI_PARSE = '", " '/^(?:([^:\\\\\\\\/?#]+):)?(?:\\\\\\\\/\\\\\\\\/((?:([^\\\\\\\\/?#@]*)@)?(\\\\\\\\[[^\\\\\\\\/?#\\\\\\\\]]+\\\\\\\\]|[^\\\\\\\\/?#:]*)(?:\\\\\\\\:(\\\\\\\\d*))?))?([^?#]*)(?:\\\\\\\\?([^#]*))?(?:#((?:.|\\\\\\\\n|\\\\\\\\r)*))?/i;\\\\nconst '", " 'NO_MATCH_IS_UNDEFINED = (\"\").match(/(){0}/)[1] === undefined;\\\\nexport function '", " 'parse(uriString, options = {}) {\\\\n const components = {};\\\\n const protocol = '", " '(options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL);\\\\n if (options.reference '", " '=== \"suffix\")\\\\n uriString = (options.scheme ? options.scheme + \":\" : \"\") + '", " '\"//\" + uriString;\\\\n const matches = uriString.match(URI_PARSE);\\\\n if '", " '(matches) {\\\\n if (NO_MATCH_IS_UNDEFINED) {\\\\n //store each '", " 'component\\\\n components.scheme = matches[1];\\\\n '", " 'components.userinfo = matches[3];\\\\n components.host = '", " 'matches[4];\\\\n components.port = parseInt(matches[5], 10);\\\\n '", " 'components.path = matches[6] || \"\";\\\\n components.query = '", " 'matches[7];\\\\n components.fragment = matches[8];\\\\n //fix port '", " 'number\\\\n if (isNaN(components.port)) {\\\\n components.port '", " '= matches[5];\\\\n }\\\\n }\\\\n else { //IE FIX for improper '", " 'RegExp matching\\\\n //store each component\\\\n components.scheme '", " '= matches[1] || undefined;\\\\n components.userinfo = '", " '(uriString.indexOf(\"@\") !== -1 ? matches[3] : undefined);\\\\n '", " 'components.host = (uriString.indexOf(\"//\") !== -1 ? matches[4] : '", " 'undefined);\\\\n components.port = parseInt(matches[5], 10);\\\\n '", " 'components.path = matches[6] || \"\";\\\\n components.query = '", " '(uriString.indexOf(\"?\") !== -1 ? matches[7] : undefined);\\\\n '", " 'components.fragment = (uriString.indexOf(\"#\") !== -1 ? matches[8] : '", " 'undefined);\\\\n //fix port number\\\\n if (isNaN(components.port)) '", " '{\\\\n components.port = '", " '(uriString.match(/\\\\\\\\/\\\\\\\\/(?:.|\\\\\\\\n)*\\\\\\\\:(?:\\\\\\\\/|\\\\\\\\?|\\\\\\\\#|$)/) ? matches[4] : '", " 'undefined);\\\\n }\\\\n }\\\\n if (components.host) '", " '{\\\\n //normalize IP hosts\\\\n components.host = '", " '_normalizeIPv6(_normalizeIPv4(components.host, protocol), protocol);\\\\n '", " '}\\\\n //determine reference type\\\\n if (components.scheme === undefined '", " '&& components.userinfo === undefined && components.host === undefined && '", " 'components.port === undefined && !components.path && components.query === undefined) '", " '{\\\\n components.reference = \"same-document\";\\\\n }\\\\n else if '", " '(components.scheme === undefined) {\\\\n components.reference = '", " '\"relative\";\\\\n }\\\\n else if (components.fragment === undefined) '", " '{\\\\n components.reference = \"absolute\";\\\\n }\\\\n else '", " '{\\\\n components.reference = \"uri\";\\\\n }\\\\n //check for '", " 'reference errors\\\\n if (options.reference && options.reference !== \"suffix\" && '", " 'options.reference !== components.reference) {\\\\n components.error = '", " 'components.error || \"URI is not a \" + options.reference + \" reference.\";\\\\n '", " '}\\\\n //find scheme handler\\\\n const schemeHandler = '", " 'SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\\\\n //check '", " \"if scheme can\\\\'t handle IRIs\\\\n if (!options.unicodeSupport && \"", " '(!schemeHandler || !schemeHandler.unicodeSupport)) {\\\\n //if host '", " 'component is a domain name\\\\n if (components.host && (options.domainHost '", " '|| (schemeHandler && schemeHandler.domainHost))) {\\\\n //convert '", " 'Unicode IDN -> ASCII IDN\\\\n try {\\\\n '", " 'components.host = punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, '", " 'pctDecChars).toLowerCase());\\\\n }\\\\n catch (e) '", " '{\\\\n components.error = components.error || \"Host\\\\\\'s domain name '", " 'can not be converted to ASCII via punycode: \" + e;\\\\n }\\\\n '", " '}\\\\n //convert IRI -> URI\\\\n '", " '_normalizeComponentEncoding(components, URI_PROTOCOL);\\\\n }\\\\n else '", " '{\\\\n //normalize encodings\\\\n '", " '_normalizeComponentEncoding(components, protocol);\\\\n }\\\\n //perform '", " 'scheme specific parsing\\\\n if (schemeHandler && schemeHandler.parse) '", " '{\\\\n schemeHandler.parse(components, options);\\\\n }\\\\n }\\\\n '", " 'else {\\\\n components.error = components.error || \"URI can not be '", " 'parsed.\";\\\\n }\\\\n return components;\\\\n}\\\\n;\\\\nfunction '", " '_recomposeAuthority(components, options) {\\\\n const protocol = (options.iri !== '", " 'false ? IRI_PROTOCOL : URI_PROTOCOL);\\\\n const uriTokens = [];\\\\n if '", " '(components.userinfo !== undefined) {\\\\n '", " 'uriTokens.push(components.userinfo);\\\\n uriTokens.push(\"@\");\\\\n }\\\\n if '", " '(components.host !== undefined) {\\\\n //normalize IP hosts, add brackets and '", " 'escape zone separator for IPv6\\\\n '", " 'uriTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host), protocol), '", " 'protocol).replace(protocol.IPV6ADDRESS, (_, $1, $2) => \"[\" + $1 + ($2 ? \"%25\" + $2 : '", " '\"\") + \"]\"));\\\\n }\\\\n if (typeof components.port === \"number\" || typeof '", " 'components.port === \"string\") {\\\\n uriTokens.push(\":\");\\\\n '", " 'uriTokens.push(String(components.port));\\\\n }\\\\n return uriTokens.length ? '", " 'uriTokens.join(\"\") : undefined;\\\\n}\\\\n;\\\\nconst RDS1 = /^\\\\\\\\.\\\\\\\\.?\\\\\\\\//;\\\\nconst '", " 'RDS2 = /^\\\\\\\\/\\\\\\\\.(\\\\\\\\/|$)/;\\\\nconst RDS3 = /^\\\\\\\\/\\\\\\\\.\\\\\\\\.(\\\\\\\\/|$)/;\\\\nconst '", " 'RDS4 = /^\\\\\\\\.\\\\\\\\.?$/;\\\\nconst RDS5 = /^\\\\\\\\/?(?:.|\\\\\\\\n)*?(?=\\\\\\\\/|$)/;\\\\nexport '", " 'function removeDotSegments(input) {\\\\n const output = [];\\\\n while '", " '(input.length) {\\\\n if (input.match(RDS1)) {\\\\n input = '", " 'input.replace(RDS1, \"\");\\\\n }\\\\n else if (input.match(RDS2)) '", " '{\\\\n input = input.replace(RDS2, \"/\");\\\\n }\\\\n else if '", " '(input.match(RDS3)) {\\\\n input = input.replace(RDS3, \"/\");\\\\n '", " 'output.pop();\\\\n }\\\\n else if (input === \".\" || input === \"..\") '", " '{\\\\n input = \"\";\\\\n }\\\\n else {\\\\n const im = '", " 'input.match(RDS5);\\\\n if (im) {\\\\n const s = '", " 'im[0];\\\\n input = input.slice(s.length);\\\\n '", " 'output.push(s);\\\\n }\\\\n else {\\\\n throw new '", " 'Error(\"Unexpected dot segment condition\");\\\\n }\\\\n }\\\\n }\\\\n '", " 'return output.join(\"\");\\\\n}\\\\n;\\\\nexport function serialize(components, options = {}) '", " '{\\\\n const protocol = (options.iri ? IRI_PROTOCOL : URI_PROTOCOL);\\\\n const '", " 'uriTokens = [];\\\\n //find scheme handler\\\\n const schemeHandler = '", " 'SCHEMES[(options.scheme || components.scheme || \"\").toLowerCase()];\\\\n //perform '", " 'scheme specific serialization\\\\n if (schemeHandler && '", " 'schemeHandler.serialize)\\\\n schemeHandler.serialize(components, '", " 'options);\\\\n if (components.host) {\\\\n //if host component is an IPv6 '", " 'address\\\\n if (protocol.IPV6ADDRESS.test(components.host)) {\\\\n '", " '//TODO: normalize IPv6 address as per RFC 5952\\\\n }\\\\n //if host '", " 'component is a domain name\\\\n else if (options.domainHost || (schemeHandler && '", " 'schemeHandler.domainHost)) {\\\\n //convert IDN via punycode\\\\n '", " 'try {\\\\n components.host = (!options.iri ? '", " 'punycode.toASCII(components.host.replace(protocol.PCT_ENCODED, '", " 'pctDecChars).toLowerCase()) : punycode.toUnicode(components.host));\\\\n '", " '}\\\\n catch (e) {\\\\n components.error = components.error || '", " '\"Host\\\\\\'s domain name can not be converted to \" + (!options.iri ? \"ASCII\" : '", " '\"Unicode\") + \" via punycode: \" + e;\\\\n }\\\\n }\\\\n }\\\\n '", " '//normalize encoding\\\\n _normalizeComponentEncoding(components, protocol);\\\\n '", " 'if (options.reference !== \"suffix\" && components.scheme) {\\\\n '", " 'uriTokens.push(components.scheme);\\\\n uriTokens.push(\":\");\\\\n }\\\\n const '", " 'authority = _recomposeAuthority(components, options);\\\\n if (authority !== '", " 'undefined) {\\\\n if (options.reference !== \"suffix\") {\\\\n '", " 'uriTokens.push(\"//\");\\\\n }\\\\n uriTokens.push(authority);\\\\n if '", " '(components.path && components.path.charAt(0) !== \"/\") {\\\\n '", " 'uriTokens.push(\"/\");\\\\n }\\\\n }\\\\n if (components.path !== undefined) '", " '{\\\\n let s = components.path;\\\\n if (!options.absolutePath && '", " '(!schemeHandler || !schemeHandler.absolutePath)) {\\\\n s = '", " 'removeDotSegments(s);\\\\n }\\\\n if (authority === undefined) '", " '{\\\\n s = s.replace(/^\\\\\\\\/\\\\\\\\//, \"/%2F\"); //don\\\\\\'t allow the path to '", " 'start with \"//\"\\\\n }\\\\n uriTokens.push(s);\\\\n }\\\\n if '", " '(components.query !== undefined) {\\\\n uriTokens.push(\"?\");\\\\n '", " 'uriTokens.push(components.query);\\\\n }\\\\n if (components.fragment !== '", " 'undefined) {\\\\n uriTokens.push(\"#\");\\\\n '", " 'uriTokens.push(components.fragment);\\\\n }\\\\n return uriTokens.join(\"\"); //merge '", " 'tokens into a string\\\\n}\\\\n;\\\\nexport function resolveComponents(base, relative, '", " 'options = {}, skipNormalization) {\\\\n const target = {};\\\\n if '", " '(!skipNormalization) {\\\\n base = parse(serialize(base, options), options); '", " '//normalize base components\\\\n relative = parse(serialize(relative, options), '", " 'options); //normalize relative components\\\\n }\\\\n options = options || '", " '{};\\\\n if (!options.tolerant && relative.scheme) {\\\\n target.scheme = '", " 'relative.scheme;\\\\n //target.authority = relative.authority;\\\\n '", " 'target.userinfo = relative.userinfo;\\\\n target.host = relative.host;\\\\n '", " 'target.port = relative.port;\\\\n target.path = removeDotSegments(relative.path '", " '|| \"\");\\\\n target.query = relative.query;\\\\n }\\\\n else {\\\\n if '", " '(relative.userinfo !== undefined || relative.host !== undefined || relative.port !== '", " 'undefined) {\\\\n //target.authority = relative.authority;\\\\n '", " 'target.userinfo = relative.userinfo;\\\\n target.host = '", " 'relative.host;\\\\n target.port = relative.port;\\\\n target.path = '", " 'removeDotSegments(relative.path || \"\");\\\\n target.query = '", " 'relative.query;\\\\n }\\\\n else {\\\\n if (!relative.path) '", " '{\\\\n target.path = base.path;\\\\n if (relative.query !== '", " 'undefined) {\\\\n target.query = relative.query;\\\\n '", " '}\\\\n else {\\\\n target.query = '", " 'base.query;\\\\n }\\\\n }\\\\n else '", " '{\\\\n if (relative.path.charAt(0) === \"/\") {\\\\n '", " 'target.path = removeDotSegments(relative.path);\\\\n }\\\\n '", " 'else {\\\\n if ((base.userinfo !== undefined || base.host !== '", " 'undefined || base.port !== undefined) && !base.path) {\\\\n '", " 'target.path = \"/\" + relative.path;\\\\n }\\\\n else '", " 'if (!base.path) {\\\\n target.path = '", " 'relative.path;\\\\n }\\\\n else '", " '{\\\\n target.path = base.path.slice(0, '", " 'base.path.lastIndexOf(\"/\") + 1) + relative.path;\\\\n '", " '}\\\\n target.path = '", " 'removeDotSegments(target.path);\\\\n }\\\\n target.query = '", " 'relative.query;\\\\n }\\\\n //target.authority = '", " 'base.authority;\\\\n target.userinfo = base.userinfo;\\\\n '", " 'target.host = base.host;\\\\n target.port = base.port;\\\\n }\\\\n '", " 'target.scheme = base.scheme;\\\\n }\\\\n target.fragment = relative.fragment;\\\\n '", " 'return target;\\\\n}\\\\n;\\\\nexport function resolve(baseURI, relativeURI, options) '", " \"{\\\\n const schemelessOptions = assign({ scheme: \\\\'null\\\\' }, options);\\\\n \"", " 'return serialize(resolveComponents(parse(baseURI, schemelessOptions), '", " 'parse(relativeURI, schemelessOptions), schemelessOptions, true), '", " 'schemelessOptions);\\\\n}\\\\n;\\\\nexport function normalize(uri, options) {\\\\n if '", " '(typeof uri === \"string\") {\\\\n uri = serialize(parse(uri, options), '", " 'options);\\\\n }\\\\n else if (typeOf(uri) === \"object\") {\\\\n uri = '", " 'parse(serialize(uri, options), options);\\\\n }\\\\n return uri;\\\\n}\\\\n;\\\\nexport '", " 'function equal(uriA, uriB, options) {\\\\n if (typeof uriA === \"string\") {\\\\n '", " 'uriA = serialize(parse(uriA, options), options);\\\\n }\\\\n else if (typeOf(uriA) '", " '=== \"object\") {\\\\n uriA = serialize(uriA, options);\\\\n }\\\\n if (typeof '", " 'uriB === \"string\") {\\\\n uriB = serialize(parse(uriB, options), options);\\\\n '", " '}\\\\n else if (typeOf(uriB) === \"object\") {\\\\n uriB = serialize(uriB, '", " 'options);\\\\n }\\\\n return uriA === uriB;\\\\n}\\\\n;\\\\nexport function '", " 'escapeComponent(str, options) {\\\\n return str && str.toString().replace((!options '", " '|| !options.iri ? URI_PROTOCOL.ESCAPE : IRI_PROTOCOL.ESCAPE), '", " 'pctEncChar);\\\\n}\\\\n;\\\\nexport function unescapeComponent(str, options) {\\\\n return '", " 'str && str.toString().replace((!options || !options.iri ? URI_PROTOCOL.PCT_ENCODED : '", " \"IRI_PROTOCOL.PCT_ENCODED), pctDecChars);\\\\n}\\\\n;\\\\n//# sourceMappingURL=uri.js.map', \"", " '\\'const handler = {\\\\n scheme: \"http\",\\\\n domainHost: true,\\\\n parse: '", " 'function (components, options) {\\\\n //report missing host\\\\n if '", " '(!components.host) {\\\\n components.error = components.error || \"HTTP URIs '", " 'must have a host.\";\\\\n }\\\\n return components;\\\\n },\\\\n '", " 'serialize: function (components, options) {\\\\n const secure = '", " 'String(components.scheme).toLowerCase() === \"https\";\\\\n //normalize the '", " 'default port\\\\n if (components.port === (secure ? 443 : 80) || components.port '", " '=== \"\") {\\\\n components.port = undefined;\\\\n }\\\\n '", " '//normalize the empty path\\\\n if (!components.path) {\\\\n '", " 'components.path = \"/\";\\\\n }\\\\n //NOTE: We do not parse query strings '", " 'for HTTP URIs\\\\n //as WWW Form Url Encoded query strings are part of the '", " 'HTML4+ spec,\\\\n //and not the HTTP spec.\\\\n return components;\\\\n '", " \"}\\\\n};\\\\nexport default handler;\\\\n//# sourceMappingURL=http.js.map', 'import http \"", " 'from \"./http\";\\\\nconst handler = {\\\\n scheme: \"https\",\\\\n domainHost: '", " 'http.domainHost,\\\\n parse: http.parse,\\\\n serialize: '", " \"http.serialize\\\\n};\\\\nexport default handler;\\\\n//# sourceMappingURL=https.js.map', \"", " \"'function isSecure(wsComponents) {\\\\n return typeof wsComponents.secure === \"", " \"\\\\'boolean\\\\' ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === \"", " '\"wss\";\\\\n}\\\\n//RFC 6455\\\\nconst handler = {\\\\n scheme: \"ws\",\\\\n domainHost: '", " 'true,\\\\n parse: function (components, options) {\\\\n const wsComponents = '", " 'components;\\\\n //indicate if the secure flag is set\\\\n '", " 'wsComponents.secure = isSecure(wsComponents);\\\\n //construct resouce '", " \"name\\\\n wsComponents.resourceName = (wsComponents.path || \\\\'/\\\\') + \"", " \"(wsComponents.query ? \\\\'?\\\\' + wsComponents.query : \\\\'\\\\');\\\\n \"", " 'wsComponents.path = undefined;\\\\n wsComponents.query = undefined;\\\\n '", " 'return wsComponents;\\\\n },\\\\n serialize: function (wsComponents, options) '", " '{\\\\n //normalize the default port\\\\n if (wsComponents.port === '", " '(isSecure(wsComponents) ? 443 : 80) || wsComponents.port === \"\") {\\\\n '", " 'wsComponents.port = undefined;\\\\n }\\\\n //ensure scheme matches secure '", " \"flag\\\\n if (typeof wsComponents.secure === \\\\'boolean\\\\') {\\\\n \"", " \"wsComponents.scheme = (wsComponents.secure ? \\\\'wss\\\\' : \\\\'ws\\\\');\\\\n \"", " 'wsComponents.secure = undefined;\\\\n }\\\\n //reconstruct path from '", " 'resource name\\\\n if (wsComponents.resourceName) {\\\\n const [path, '", " \"query] = wsComponents.resourceName.split(\\\\'?\\\\');\\\\n wsComponents.path = \"", " \"(path && path !== \\\\'/\\\\' ? path : undefined);\\\\n wsComponents.query = \"", " 'query;\\\\n wsComponents.resourceName = undefined;\\\\n }\\\\n '", " '//forbid fragment component\\\\n wsComponents.fragment = undefined;\\\\n '", " 'return wsComponents;\\\\n }\\\\n};\\\\nexport default handler;\\\\n//# '", " 'sourceMappingURL=ws.js.map\\', \\'import ws from \"./ws\";\\\\nconst handler = {\\\\n '", " 'scheme: \"wss\",\\\\n domainHost: ws.domainHost,\\\\n parse: ws.parse,\\\\n '", " 'serialize: ws.serialize\\\\n};\\\\nexport default handler;\\\\n//# '", " \"sourceMappingURL=wss.js.map', 'import { pctEncChar, pctDecChars, unescapeComponent } \"", " 'from \"../uri\";\\\\nimport punycode from \"punycode\";\\\\nimport { merge, subexp, '", " 'toUpperCase, toArray } from \"../util\";\\\\nconst O = {};\\\\nconst isIRI = true;\\\\n//RFC '", " '3986\\\\nconst UNRESERVED$$ = \"[A-Za-z0-9\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\.\\\\\\\\\\\\\\\\_\\\\\\\\\\\\\\\\~\" + (isIRI '", " '? '", " '\"\\\\\\\\\\\\\\\\xA0-\\\\\\\\\\\\\\\\u200D\\\\\\\\\\\\\\\\u2010-\\\\\\\\\\\\\\\\u2029\\\\\\\\\\\\\\\\u202F-\\\\\\\\\\\\\\\\uD7FF\\\\\\\\\\\\\\\\uF900-\\\\\\\\\\\\\\\\uFDCF\\\\\\\\\\\\\\\\uFDF0-\\\\\\\\\\\\\\\\uFFEF\" '", " ': \"\") + \"]\";\\\\nconst HEXDIG$$ = \"[0-9A-Fa-f]\"; //case-insensitive\\\\nconst '", " 'PCT_ENCODED$ = subexp(subexp(\"%[EFef]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + HEXDIG$$ + \"%\" + '", " 'HEXDIG$$ + HEXDIG$$) + \"|\" + subexp(\"%[89A-Fa-f]\" + HEXDIG$$ + \"%\" + HEXDIG$$ + '", " 'HEXDIG$$) + \"|\" + subexp(\"%\" + HEXDIG$$ + HEXDIG$$)); //expanded\\\\n//RFC 5322, except '", " 'these symbols as per RFC 6068: @ : / ? # [ ] & ; =\\\\n//const ATEXT$$ = '", " '\"[A-Za-z0-9\\\\\\\\\\\\\\\\!\\\\\\\\\\\\\\\\#\\\\\\\\\\\\\\\\$\\\\\\\\\\\\\\\\%\\\\\\\\\\\\\\\\&\\\\\\\\\\\\\\\\\\\\\\'\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\=\\\\\\\\\\\\\\\\?\\\\\\\\\\\\\\\\^\\\\\\\\\\\\\\\\_\\\\\\\\\\\\\\\\`\\\\\\\\\\\\\\\\{\\\\\\\\\\\\\\\\|\\\\\\\\\\\\\\\\}\\\\\\\\\\\\\\\\~]\";\\\\n//const '", " 'WSP$$ = \"[\\\\\\\\\\\\\\\\x20\\\\\\\\\\\\\\\\x09]\";\\\\n//const OBS_QTEXT$$ = '", " '\"[\\\\\\\\\\\\\\\\x01-\\\\\\\\\\\\\\\\x08\\\\\\\\\\\\\\\\x0B\\\\\\\\\\\\\\\\x0C\\\\\\\\\\\\\\\\x0E-\\\\\\\\\\\\\\\\x1F\\\\\\\\\\\\\\\\x7F]\"; '", " '//(%d1-8 / %d11-12 / %d14-31 / %d127)\\\\n//const QTEXT$$ = '", " 'merge(\"[\\\\\\\\\\\\\\\\x21\\\\\\\\\\\\\\\\x23-\\\\\\\\\\\\\\\\x5B\\\\\\\\\\\\\\\\x5D-\\\\\\\\\\\\\\\\x7E]\", OBS_QTEXT$$); '", " '//%d33 / %d35-91 / %d93-126 / obs-qtext\\\\n//const VCHAR$$ = '", " '\"[\\\\\\\\\\\\\\\\x21-\\\\\\\\\\\\\\\\x7E]\";\\\\n//const WSP$$ = \"[\\\\\\\\\\\\\\\\x20\\\\\\\\\\\\\\\\x09]\";\\\\n//const '", " 'OBS_QP$ = subexp(\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" + merge(\"[\\\\\\\\\\\\\\\\x00\\\\\\\\\\\\\\\\x0D\\\\\\\\\\\\\\\\x0A]\", '", " 'OBS_QTEXT$$)); //%d0 / CR / LF / obs-qtext\\\\n//const FWS$ = subexp(subexp(WSP$$ + '", " '\"*\" + \"\\\\\\\\\\\\\\\\x0D\\\\\\\\\\\\\\\\x0A\") + \"?\" + WSP$$ + \"+\");\\\\n//const QUOTED_PAIR$ = '", " 'subexp(subexp(\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" + subexp(VCHAR$$ + \"|\" + WSP$$)) + \"|\" + '", " 'OBS_QP$);\\\\n//const QUOTED_STRING$ = subexp(\\\\\\'\\\\\\\\\\\\\\\\\"\\\\\\' + subexp(FWS$ + \"?\" + '", " 'QCONTENT$) + \"*\" + FWS$ + \"?\" + \\\\\\'\\\\\\\\\\\\\\\\\"\\\\\\');\\\\nconst ATEXT$$ = '", " '\"[A-Za-z0-9\\\\\\\\\\\\\\\\!\\\\\\\\\\\\\\\\$\\\\\\\\\\\\\\\\%\\\\\\\\\\\\\\\\\\\\\\'\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\^\\\\\\\\\\\\\\\\_\\\\\\\\\\\\\\\\`\\\\\\\\\\\\\\\\{\\\\\\\\\\\\\\\\|\\\\\\\\\\\\\\\\}\\\\\\\\\\\\\\\\~]\";\\\\nconst '", " 'QTEXT$$ = '", " '\"[\\\\\\\\\\\\\\\\!\\\\\\\\\\\\\\\\$\\\\\\\\\\\\\\\\%\\\\\\\\\\\\\\\\\\\\\\'\\\\\\\\\\\\\\\\(\\\\\\\\\\\\\\\\)\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\+\\\\\\\\\\\\\\\\,\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\.0-9\\\\\\\\\\\\\\\\<\\\\\\\\\\\\\\\\>A-Z\\\\\\\\\\\\\\\\x5E-\\\\\\\\\\\\\\\\x7E]\";\\\\nconst '", " 'VCHAR$$ = merge(QTEXT$$, \"[\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\]\");\\\\nconst DOT_ATOM_TEXT$ = '", " 'subexp(ATEXT$$ + \"+\" + subexp(\"\\\\\\\\\\\\\\\\.\" + ATEXT$$ + \"+\") + \"*\");\\\\nconst '", " 'QUOTED_PAIR$ = subexp(\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" + VCHAR$$);\\\\nconst QCONTENT$ = '", " 'subexp(QTEXT$$ + \"|\" + QUOTED_PAIR$);\\\\nconst QUOTED_STRING$ = '", " 'subexp(\\\\\\'\\\\\\\\\\\\\\\\\"\\\\\\' + QCONTENT$ + \"*\" + \\\\\\'\\\\\\\\\\\\\\\\\"\\\\\\');\\\\n//RFC 6068\\\\nconst '", " 'DTEXT_NO_OBS$$ = \"[\\\\\\\\\\\\\\\\x21-\\\\\\\\\\\\\\\\x5A\\\\\\\\\\\\\\\\x5E-\\\\\\\\\\\\\\\\x7E]\"; //%d33-90 / '", " '%d94-126\\\\nconst SOME_DELIMS$$ = '", " '\"[\\\\\\\\\\\\\\\\!\\\\\\\\\\\\\\\\$\\\\\\\\\\\\\\\\\\\\\\'\\\\\\\\\\\\\\\\(\\\\\\\\\\\\\\\\)\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\+\\\\\\\\\\\\\\\\,\\\\\\\\\\\\\\\\;\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\@]\";\\\\nconst '", " 'QCHAR$ = subexp(UNRESERVED$$ + \"|\" + PCT_ENCODED$ + \"|\" + SOME_DELIMS$$);\\\\nconst '", " 'DOMAIN$ = subexp(DOT_ATOM_TEXT$ + \"|\" + \"\\\\\\\\\\\\\\\\[\" + DTEXT_NO_OBS$$ + \"*\" + '", " '\"\\\\\\\\\\\\\\\\]\");\\\\nconst LOCAL_PART$ = subexp(DOT_ATOM_TEXT$ + \"|\" + '", " 'QUOTED_STRING$);\\\\nconst ADDR_SPEC$ = subexp(LOCAL_PART$ + \"\\\\\\\\\\\\\\\\@\" + '", " 'DOMAIN$);\\\\nconst TO$ = subexp(ADDR_SPEC$ + subexp(\"\\\\\\\\\\\\\\\\,\" + ADDR_SPEC$) + '", " '\"*\");\\\\nconst HFNAME$ = subexp(QCHAR$ + \"*\");\\\\nconst HFVALUE$ = HFNAME$;\\\\nconst '", " 'HFIELD$ = subexp(HFNAME$ + \"\\\\\\\\\\\\\\\\=\" + HFVALUE$);\\\\nconst HFIELDS2$ = '", " 'subexp(HFIELD$ + subexp(\"\\\\\\\\\\\\\\\\&\" + HFIELD$) + \"*\");\\\\nconst HFIELDS$ = '", " 'subexp(\"\\\\\\\\\\\\\\\\?\" + HFIELDS2$);\\\\nconst MAILTO_URI = new RegExp(\"^mailto\\\\\\\\\\\\\\\\:\" + '", " 'TO$ + \"?\" + HFIELDS$ + \"?$\");\\\\nconst UNRESERVED = new RegExp(UNRESERVED$$, '", " '\"g\");\\\\nconst PCT_ENCODED = new RegExp(PCT_ENCODED$, \"g\");\\\\nconst NOT_LOCAL_PART = '", " 'new RegExp(merge(\"[^]\", ATEXT$$, \"[\\\\\\\\\\\\\\\\.]\", \\\\\\'[\\\\\\\\\\\\\\\\\"]\\\\\\', VCHAR$$), '", " '\"g\");\\\\nconst NOT_DOMAIN = new RegExp(merge(\"[^]\", ATEXT$$, \"[\\\\\\\\\\\\\\\\.]\", '", " '\"[\\\\\\\\\\\\\\\\[]\", DTEXT_NO_OBS$$, \"[\\\\\\\\\\\\\\\\]]\"), \"g\");\\\\nconst NOT_HFNAME = new '", " 'RegExp(merge(\"[^]\", UNRESERVED$$, SOME_DELIMS$$), \"g\");\\\\nconst NOT_HFVALUE = '", " 'NOT_HFNAME;\\\\nconst TO = new RegExp(\"^\" + TO$ + \"$\");\\\\nconst HFIELDS = new '", " 'RegExp(\"^\" + HFIELDS2$ + \"$\");\\\\nfunction decodeUnreserved(str) {\\\\n const decStr '", " '= pctDecChars(str);\\\\n return (!decStr.match(UNRESERVED) ? str : '", " 'decStr);\\\\n}\\\\nconst handler = {\\\\n scheme: \"mailto\",\\\\n parse: function '", " '(components, options) {\\\\n const mailtoComponents = components;\\\\n '", " 'const to = mailtoComponents.to = (mailtoComponents.path ? '", " 'mailtoComponents.path.split(\",\") : []);\\\\n mailtoComponents.path = '", " 'undefined;\\\\n if (mailtoComponents.query) {\\\\n let unknownHeaders = '", " 'false;\\\\n const headers = {};\\\\n const hfields = '", " 'mailtoComponents.query.split(\"&\");\\\\n for (let x = 0, xl = hfields.length; '", " 'x < xl; ++x) {\\\\n const hfield = '", " 'hfields[x].split(\"=\");\\\\n switch (hfield[0]) {\\\\n '", " 'case \"to\":\\\\n const toAddrs = '", " 'hfield[1].split(\",\");\\\\n for (let x = 0, xl = toAddrs.length; '", " 'x < xl; ++x) {\\\\n '", " 'to.push(toAddrs[x]);\\\\n }\\\\n '", " 'break;\\\\n case \"subject\":\\\\n '", " 'mailtoComponents.subject = unescapeComponent(hfield[1], '", " 'options);\\\\n break;\\\\n case '", " '\"body\":\\\\n mailtoComponents.body = '", " 'unescapeComponent(hfield[1], options);\\\\n '", " 'break;\\\\n default:\\\\n unknownHeaders = '", " 'true;\\\\n headers[unescapeComponent(hfield[0], options)] = '", " 'unescapeComponent(hfield[1], options);\\\\n '", " 'break;\\\\n }\\\\n }\\\\n if '", " '(unknownHeaders)\\\\n mailtoComponents.headers = headers;\\\\n '", " '}\\\\n mailtoComponents.query = undefined;\\\\n for (let x = 0, xl = '", " 'to.length; x < xl; ++x) {\\\\n const addr = to[x].split(\"@\");\\\\n '", " 'addr[0] = unescapeComponent(addr[0]);\\\\n if (!options.unicodeSupport) '", " '{\\\\n //convert Unicode IDN -> ASCII IDN\\\\n try '", " '{\\\\n addr[1] = punycode.toASCII(unescapeComponent(addr[1], '", " 'options).toLowerCase());\\\\n }\\\\n catch (e) '", " '{\\\\n mailtoComponents.error = mailtoComponents.error || \"Email '", " 'address\\\\\\'s domain name can not be converted to ASCII via punycode: \" + '", " 'e;\\\\n }\\\\n }\\\\n else {\\\\n addr[1] '", " '= unescapeComponent(addr[1], options).toLowerCase();\\\\n }\\\\n '", " 'to[x] = addr.join(\"@\");\\\\n }\\\\n return mailtoComponents;\\\\n },\\\\n '", " 'serialize: function (mailtoComponents, options) {\\\\n const components = '", " 'mailtoComponents;\\\\n const to = toArray(mailtoComponents.to);\\\\n if '", " '(to) {\\\\n for (let x = 0, xl = to.length; x < xl; ++x) {\\\\n '", " 'const toAddr = String(to[x]);\\\\n const atIdx = '", " 'toAddr.lastIndexOf(\"@\");\\\\n const localPart = (toAddr.slice(0, '", " 'atIdx)).replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, '", " 'toUpperCase).replace(NOT_LOCAL_PART, pctEncChar);\\\\n let domain = '", " 'toAddr.slice(atIdx + 1);\\\\n //convert IDN via '", " 'punycode\\\\n try {\\\\n domain = (!options.iri ? '", " 'punycode.toASCII(unescapeComponent(domain, options).toLowerCase()) : '", " 'punycode.toUnicode(domain));\\\\n }\\\\n catch (e) '", " '{\\\\n components.error = components.error || \"Email address\\\\\\'s '", " 'domain name can not be converted to \" + (!options.iri ? \"ASCII\" : \"Unicode\") + \" via '", " 'punycode: \" + e;\\\\n }\\\\n to[x] = localPart + \"@\" + '", " 'domain;\\\\n }\\\\n components.path = to.join(\",\");\\\\n '", " '}\\\\n const headers = mailtoComponents.headers = mailtoComponents.headers || '", " '{};\\\\n if (mailtoComponents.subject)\\\\n headers[\"subject\"] = '", " 'mailtoComponents.subject;\\\\n if (mailtoComponents.body)\\\\n '", " 'headers[\"body\"] = mailtoComponents.body;\\\\n const fields = [];\\\\n for '", " '(const name in headers) {\\\\n if (headers[name] !== O[name]) '", " '{\\\\n fields.push(name.replace(PCT_ENCODED, '", " 'decodeUnreserved).replace(PCT_ENCODED, toUpperCase).replace(NOT_HFNAME, pctEncChar) '", " '+\\\\n \"=\" +\\\\n '", " 'headers[name].replace(PCT_ENCODED, decodeUnreserved).replace(PCT_ENCODED, '", " 'toUpperCase).replace(NOT_HFVALUE, pctEncChar));\\\\n }\\\\n }\\\\n '", " 'if (fields.length) {\\\\n components.query = fields.join(\"&\");\\\\n '", " '}\\\\n return components;\\\\n }\\\\n};\\\\nexport default handler;\\\\n//# '", " 'sourceMappingURL=mailto.js.map\\', \\'import { SCHEMES } from \"../uri\";\\\\nconst NID$ = '", " '\"(?:[0-9A-Za-z][0-9A-Za-z\\\\\\\\\\\\\\\\-]{1,31})\";\\\\nconst PCT_ENCODED$ = '", " '\"(?:\\\\\\\\\\\\\\\\%[0-9A-Fa-f]{2})\";\\\\nconst TRANS$$ = '", " '\"[0-9A-Za-z\\\\\\\\\\\\\\\\(\\\\\\\\\\\\\\\\)\\\\\\\\\\\\\\\\+\\\\\\\\\\\\\\\\,\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\.\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\=\\\\\\\\\\\\\\\\@\\\\\\\\\\\\\\\\;\\\\\\\\\\\\\\\\$\\\\\\\\\\\\\\\\_\\\\\\\\\\\\\\\\!\\\\\\\\\\\\\\\\*\\\\\\\\\\\\\\\\\\\\\\'\\\\\\\\\\\\\\\\/\\\\\\\\\\\\\\\\?\\\\\\\\\\\\\\\\#]\";\\\\nconst '", " 'NSS$ = \"(?:(?:\" + PCT_ENCODED$ + \"|\" + TRANS$$ + \")+)\";\\\\nconst URN_SCHEME = new '", " 'RegExp(\"^urn\\\\\\\\\\\\\\\\:(\" + NID$ + \")$\");\\\\nconst URN_PATH = new RegExp(\"^(\" + NID$ + '", " '\")\\\\\\\\\\\\\\\\:(\" + NSS$ + \")$\");\\\\nconst URN_PARSE = /^([^\\\\\\\\:]+)\\\\\\\\:(.*)/;\\\\nconst '", " 'URN_EXCLUDED = '", " '/[\\\\\\\\x00-\\\\\\\\x20\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\&\\\\\\\\<\\\\\\\\>\\\\\\\\[\\\\\\\\]\\\\\\\\^\\\\\\\\`\\\\\\\\{\\\\\\\\|\\\\\\\\}\\\\\\\\~\\\\\\\\x7F-\\\\\\\\xFF]/g;\\\\n//RFC '", " '2141\\\\nconst handler = {\\\\n scheme: \"urn\",\\\\n parse: function (components, '", " 'options) {\\\\n const matches = components.path && '", " 'components.path.match(URN_PARSE);\\\\n let urnComponents = components;\\\\n '", " 'if (matches) {\\\\n const scheme = options.scheme || urnComponents.scheme || '", " '\"urn\";\\\\n const nid = matches[1].toLowerCase();\\\\n const nss = '", " 'matches[2];\\\\n const urnScheme = `${scheme}:${options.nid || '", " 'nid}`;\\\\n const schemeHandler = SCHEMES[urnScheme];\\\\n '", " 'urnComponents.nid = nid;\\\\n urnComponents.nss = nss;\\\\n '", " 'urnComponents.path = undefined;\\\\n if (schemeHandler) {\\\\n '", " 'urnComponents = schemeHandler.parse(urnComponents, options);\\\\n '", " '}\\\\n }\\\\n else {\\\\n urnComponents.error = '", " 'urnComponents.error || \"URN can not be parsed.\";\\\\n }\\\\n return '", " 'urnComponents;\\\\n },\\\\n serialize: function (urnComponents, options) '", " '{\\\\n const scheme = options.scheme || urnComponents.scheme || \"urn\";\\\\n '", " 'const nid = urnComponents.nid;\\\\n const urnScheme = `${scheme}:${options.nid '", " '|| nid}`;\\\\n const schemeHandler = SCHEMES[urnScheme];\\\\n if '", " '(schemeHandler) {\\\\n urnComponents = '", " 'schemeHandler.serialize(urnComponents, options);\\\\n }\\\\n const '", " 'uriComponents = urnComponents;\\\\n const nss = urnComponents.nss;\\\\n '", " 'uriComponents.path = `${nid || options.nid}:${nss}`;\\\\n return '", " 'uriComponents;\\\\n },\\\\n};\\\\nexport default handler;\\\\n//# '", " \"sourceMappingURL=urn.js.map', 'const UUID = \"", " '/^[0-9A-Fa-f]{8}(?:\\\\\\\\-[0-9A-Fa-f]{4}){3}\\\\\\\\-[0-9A-Fa-f]{12}$/;\\\\nconst UUID_PARSE '", " '= /^[0-9A-Fa-f\\\\\\\\-]{36}/;\\\\n//RFC 4122\\\\nconst handler = {\\\\n scheme: '", " '\"urn:uuid\",\\\\n parse: function (urnComponents, options) {\\\\n const '", " 'uuidComponents = urnComponents;\\\\n uuidComponents.uuid = '", " 'uuidComponents.nss;\\\\n uuidComponents.nss = undefined;\\\\n if '", " '(!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) '", " '{\\\\n uuidComponents.error = uuidComponents.error || \"UUID is not '", " 'valid.\";\\\\n }\\\\n return uuidComponents;\\\\n },\\\\n serialize: '", " 'function (uuidComponents, options) {\\\\n const urnComponents = '", " 'uuidComponents;\\\\n //normalize UUID\\\\n urnComponents.nss = '", " '(uuidComponents.uuid || \"\").toLowerCase();\\\\n return urnComponents;\\\\n '", " \"},\\\\n};\\\\nexport default handler;\\\\n//# sourceMappingURL=urn-uuid.js.map', 'import { \"", " 'SCHEMES } from \"./uri\";\\\\nimport http from \"./schemes/http\";\\\\nSCHEMES[http.scheme] = '", " 'http;\\\\nimport https from \"./schemes/https\";\\\\nSCHEMES[https.scheme] = '", " 'https;\\\\nimport ws from \"./schemes/ws\";\\\\nSCHEMES[ws.scheme] = ws;\\\\nimport wss from '", " '\"./schemes/wss\";\\\\nSCHEMES[wss.scheme] = wss;\\\\nimport mailto from '", " '\"./schemes/mailto\";\\\\nSCHEMES[mailto.scheme] = mailto;\\\\nimport urn from '", " '\"./schemes/urn\";\\\\nSCHEMES[urn.scheme] = urn;\\\\nimport uuid from '", " '\"./schemes/urn-uuid\";\\\\nSCHEMES[uuid.scheme] = uuid;\\\\nexport * from \"./uri\";\\\\n//# '", " \"sourceMappingURL=index.js.map']), ('names', ['maxInt', 'base', 'tMin', 'tMax', \"", " \"'skew', 'damp', 'initialBias', 'initialN', 'delimiter', 'regexPunycode', \"", " \"'regexNonASCII', 'regexSeparators', 'errors', 'baseMinusTMin', 'floor', 'Math', \"", " \"'stringFromCharCode', 'String', 'fromCharCode', 'error', 'type', 'RangeError', 'map', \"", " \"'array', 'fn', 'length', 'result', 'mapDomain', 'string', 'parts', 'split', \"", " \"'replace', 'labels', 'encoded', 'join', 'ucs2decode', 'output', 'counter', 'value', \"", " \"'extra', 'charCodeAt', 'push', 'ucs2encode', 'basicToDigit', 'codePoint', \"", " \"'digitToBasic', 'digit', 'flag', 'adapt', 'delta', 'numPoints', 'firstTime', 'k', \"", " \"'decode', 'input', 'inputLength', 'out', 'i', 'n', 'bias', 'basic', 'j', 'index', \"", " \"'oldi', 'w', 't', 'baseMinusT', 'lastIndexOf', 'splice', 'encode', 'handledCPCount', \"", " \"'basicLength', 'm', 'q', 'currentValue', 'handledCPCountPlusOne', 'qMinusT', \"", " \"'toUnicode', 'test', 'slice', 'toLowerCase', 'toASCII', 'version', 'ucs2', 'handler', \"", " \"'http', 'ws', 'https', 'wss', 'mailto', 'urn', 'uuid']), ('mappings', \"", " \"';;;;;;;IAAM,SAAU,KAAV,CAAgB,GAAG,IAAnB,EAAqC;IAC1C,MAAI,IAAI,CAAC,MAAL,GAAc,CAAlB,EAAqB;IACpB,IAAA,IAAI,CAAC,CAAD,CAAJ,GAAU,IAAI,CAAC,CAAD,CAAJ,CAAQ,KAAR,CAAc,CAAd,EAAiB,CAAC,CAAlB,CAAV;IACA,UAAM,EAAE,GAAG,IAAI,CAAC,MAAL,GAAc,CAAzB;;IACA,SAAK,IAAI,CAAC,GAAG,CAAb,EAAgB,CAAC,GAAG,EAApB,EAAwB,EAAE,CAA1B,EAA6B;IAC5B,MAAA,IAAI,CAAC,CAAD,CAAJ,GAAU,IAAI,CAAC,CAAD,CAAJ,CAAQ,KAAR,CAAc,CAAd,EAAiB,CAAC,CAAlB,CAAV;IACA;;IACD,IAAA,IAAI,CAAC,EAAD,CAAJ,GAAW,IAAI,CAAC,EAAD,CAAJ,CAAS,KAAT,CAAe,CAAf,CAAX;IACA,WAAO,IAAI,CAAC,IAAL,CAAU,EAAV,CAAP;IACA,GARD,MAQO;IACN,WAAO,IAAI,CAAC,CAAD,CAAX;IACA;IACD;IAEK,SAAU,MAAV,CAAiB,GAAjB,EAA2B;IAChC,SAAO,QAAQ,GAAR,GAAc,GAArB;IACA;IAEK,SAAU,MAAV,CAAi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AC,QAAT,KAAsB,CAAC,cAAc,CAAC,IAAhB,IAAwB,CAAC,cAAc,CAAC,IAAf,CAAoB,KAApB,CAA0B,IAA1B,CAA/C,CAAJ,EAAqF;IACpF,MAAA,cAAc,CAAC,KAAf,GAAuB,cAAc,CAAC,KAAf,IAAwB,oBAA/C;IACA;;IAED,WAAO,cAAP;IACA,GAb0E;IAe3E,EAAA,SAAS,EAAG,UAAU,cAAV,EAAyC,OAAzC,EAA2D;IACtE,UAAM,aAAa,GAAG,cAAtB,CADsE;;IAGtE,IAAA,aAAa,CAAC,GAAd,GAAoB,CAAC,cAAc,CAAC,IAAf,IAAuB,EAAxB,EAA4B,WAA5B,EAApB;IACA,WAAO,aAAP;IACA;IApB0E,CAA5E;;ICTA,OAAO,CAACC,OAAI,CAAC,MAAN,CAAP,GAAuBA,OAAvB;IAGA,OAAO,CAACE,SAAK,CAAC,MAAP,CAAP,GAAwBA,SAAxB;IAGA,OAAO,CAACD,SAAE,CAAC,MAAJ,CAAP,GAAqBA,SAArB;IAGA,OAAO,CAACE,SAAG,CAAC,MAAL,CAAP,GAAsBA,SAAtB;IAGA,OAAO,CAACC,SAAM,CAAC,MAAR,CAAP,GAAyBA,SAAzB;IAGA,OAAO,CAACC,SAAG,CAAC,MAAL,CAAP,GAAsBA,SAAtB;IAGA,OAAO,CAACC,SAAI,CAAC,MAAN,CAAP,GAAuBA,SAAvB;;;;;;;;;;;;;;;;;;;;;')])\"}"], "unified_diff": "@@ -95,15 +95,15 @@\n \"urn\",\n \"uuid\"\n ],\n \"sources\": [\n \"../esnext/util.js\",\n \"../esnext/regexps-uri.js\",\n \"../esnext/regexps-iri.js\",\n- \"../../../../../usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/punycode.js\",\n+ \"../../../../../../usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/punycode.js\",\n \"../esnext/uri.js\",\n \"../esnext/schemes/http.js\",\n \"../esnext/schemes/https.js\",\n \"../esnext/schemes/ws.js\",\n \"../esnext/schemes/wss.js\",\n \"../esnext/schemes/mailto.js\",\n \"../esnext/schemes/urn.js\",\n"}]}]}]}]}]}