diff options
| author | Shipwreckt <me@shipwreckt.co.uk> | 2025-10-31 20:02:14 +0000 |
|---|---|---|
| committer | Shipwreckt <me@shipwreckt.co.uk> | 2025-10-31 20:02:14 +0000 |
| commit | 7a52ddeba2a68388b544f529d2d92104420f77b0 (patch) | |
| tree | 15ddd47457a2cb4a96060747437d36474e4f6b4e /node_modules/http-equiv-refresh/index-es5.js.map | |
| parent | 53d6ae2b5568437afa5e4995580a3fb679b7b91b (diff) | |
Changed from static to 11ty!
Diffstat (limited to 'node_modules/http-equiv-refresh/index-es5.js.map')
| -rw-r--r-- | node_modules/http-equiv-refresh/index-es5.js.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/http-equiv-refresh/index-es5.js.map b/node_modules/http-equiv-refresh/index-es5.js.map new file mode 100644 index 0000000..bf32636 --- /dev/null +++ b/node_modules/http-equiv-refresh/index-es5.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;AAAA,IAAM,OAAO,GAAG,wEAAhB;;eAIe,kBAAA,OAAO,EACtB;AACC,EAAA,OAAO,GAAG,OAAO,CAAC,IAAR,CAAa,OAAb,CAAV;AAEA,MAAI,OAAJ,EAAa,GAAb;;AAEA,MAAI,OAAO,KAAK,IAAhB,EACA;AACC,IAAA,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAD,CAAR,EAAa,EAAb,CAAlB;AAEA,IAAA,GAAG,GAAG,OAAO,CAAC,CAAD,CAAP,IAAc,OAAO,CAAC,CAAD,CAArB,IAA4B,IAAlC,CAHD,CAGyC;AACxC,GALD,MAOA;AACC,IAAA,OAAO,GAAG,IAAV;AACA,IAAA,GAAG,GAAG,IAAN;AACA;;AAED,SAAO;AAAE,IAAA,OAAO,EAAP,OAAF;AAAW,IAAA,GAAG,EAAH;AAAX,GAAP;AACA,C","file":"index-es5.js","sourcesContent":["const PATTERN = /^\\s*(\\d+)(?:\\s*;(?:\\s*url\\s*=)?\\s*(?:[\"']\\s*(.*?)\\s*['\"]|(.*?)))?\\s*$/i;\n\n\n\nexport default content =>\n{\n\tcontent = PATTERN.exec(content);\n\n\tlet timeout, url;\n\n\tif (content !== null)\n\t{\n\t\ttimeout = parseInt(content[1], 10);\n\n\t\turl = content[2] || content[3] || null; // first matching group\n\t}\n\telse\n\t{\n\t\ttimeout = null;\n\t\turl = null;\n\t}\n\n\treturn { timeout, url };\n};\n"]}
\ No newline at end of file |
