{"version":3,"sources":["jsdelivr-header.js","/npm/q-encoding@1.0.0/q.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;CCLE,SAAS,GAGV,IAAI,EAAgC,iBAAX,SAAuB,QAG5C,EAA8B,iBAAV,QAAsB,QAC7C,OAAO,SAAW,GAAe,OAI9B,EAA8B,iBAAV,QAAsB,OAC1C,EAAW,SAAW,GAAc,EAAW,SAAW,IAC7D,EAAO,GAMR,IAAI,EAAqB,OAAO,aAgB5B,EAAqB,sCAuBrB,EAAI,CACP,OAvBY,SAAS,GAIrB,OAAO,EAEL,QAAQ,GAAoB,SAAS,GACrC,GAAI,EAAS,IACZ,MAAM,WACL,iIAOF,MAAO,KAAO,IAFE,EAAO,WAAW,GACN,SAAS,IAAI,eACR,OAAO,EACzC,IAEC,QAAQ,QAAS,IACpB,EAIC,OAxCY,SAAS,GACrB,OAAO,EAGL,QAAQ,KAAM,KAKd,QAAQ,sBAAsB,SAAS,EAAI,GAC3C,IAAI,EAAY,SAAS,EAAI,IAC7B,OAAO,EAAmB,EAC3B,GACF,EA4BC,QAAW,SAKZ,GACkB,mBAAV,QACc,iBAAd,OAAO,KACd,OAAO,IAEP,QAAO,WACN,OAAO,CACR,SACM,GAAI,IAAgB,EAAY,SACtC,GAAI,EACH,EAAW,QAAU,OAErB,IAAK,IAAI,KAAO,EACf,EAAE,eAAe,KAAS,EAAY,GAAO,EAAE,SAIjD,EAAK,EAAI,CAGX,CAtFC,CAsFC","file":"/npm/q-encoding@1.0.0/q.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/q-encoding@1.0.0/q.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/*! https://mths.be/q v1.0.0 by @mathias | MIT license */\n;(function(root) {\n\n\t// Detect free variables `exports`.\n\tvar freeExports = typeof exports == 'object' && exports;\n\n\t// Detect free variable `module`.\n\tvar freeModule = typeof module == 'object' && module &&\n\t\tmodule.exports == freeExports && module;\n\n\t// Detect free variable `global`, from Node.js or Browserified code, and use\n\t// it as `root`.\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {\n\t\troot = freeGlobal;\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t// https://tools.ietf.org/html/rfc2047#section-4.2\n\tvar stringFromCharCode = String.fromCharCode;\n\tvar decode = function(input) {\n\t\treturn input\n\t\t\t// Decode `_` into a space. This is character-encoding-independent;\n\t\t\t// see https://tools.ietf.org/html/rfc2047#section-4.2, item 2.\n\t\t\t.replace(/_/g, ' ')\n\t\t\t// Decode escape sequences of the form `=XX` where `XX` is any\n\t\t\t// combination of two hexidecimal digits. For optimal compatibility,\n\t\t\t// lowercase hexadecimal digits are supported as well. See\n\t\t\t// https://tools.ietf.org/html/rfc2045#section-6.7, note 1.\n\t\t\t.replace(/=([a-fA-F0-9]{2})/g, function($0, $1) {\n\t\t\t\tvar codePoint = parseInt($1, 16);\n\t\t\t\treturn stringFromCharCode(codePoint);\n\t\t\t});\n\t};\n\n\tvar regexUnsafeSymbols = /[\\0-\\x1F\"-\\),\\.:-@\\[-\\^`\\{-\\uFFFF]/g;\n\tvar encode = function(string) {\n\t\t// Note: this assumes the input is already encoded into octets (e.g. using\n\t\t// UTF-8), and that the resulting octets are within the extended ASCII\n\t\t// range.\n\t\treturn string\n\t\t\t// Encode symbols that are definitely unsafe (i.e. unsafe in any context).\n\t\t\t.replace(regexUnsafeSymbols, function(symbol) {\n\t\t\t\tif (symbol > '\\xFF') {\n\t\t\t\t\tthrow RangeError(\n\t\t\t\t\t\t'`q.encode()` expects extended ASCII input only. Don\\u2019t ' +\n\t\t\t\t\t\t'forget to encode the input first using a character encoding ' +\n\t\t\t\t\t\t'like UTF-8.'\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tvar codePoint = symbol.charCodeAt(0);\n\t\t\t\tvar hexadecimal = codePoint.toString(16).toUpperCase();\n\t\t\t\treturn '=' + ('0' + hexadecimal).slice(-2);\n\t\t\t})\n\t\t\t// Encode spaces as `_`, as it’s shorter than `=20`.\n\t\t\t.replace(/\\x20/g, '_');\n\t};\n\n\tvar q = {\n\t\t'encode': encode,\n\t\t'decode': decode,\n\t\t'version': '1.0.0'\n\t};\n\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttypeof define == 'function' &&\n\t\ttypeof define.amd == 'object' &&\n\t\tdefine.amd\n\t) {\n\t\tdefine(function() {\n\t\t\treturn q;\n\t\t});\n\t}\telse if (freeExports && !freeExports.nodeType) {\n\t\tif (freeModule) { // in Node.js or RingoJS v0.8.0+\n\t\t\tfreeModule.exports = q;\n\t\t} else { // in Narwhal or RingoJS v0.7.0-\n\t\t\tfor (var key in q) {\n\t\t\t\tq.hasOwnProperty(key) && (freeExports[key] = q[key]);\n\t\t\t}\n\t\t}\n\t} else { // in Rhino or a web browser\n\t\troot.q = q;\n\t}\n\n}(this));\n"]}