From 5951baa263983976ff119c2310e21e691e41f1c8 Mon Sep 17 00:00:00 2001 From: Espen Henriksen Date: Tue, 4 Dec 2018 21:17:29 +0100 Subject: [PATCH 1/3] Replace buble with babel --- package.json | 10 +- src/index.js | 80 ++++++++----- test/__snapshots__/index.test.js.snap | 156 +++++++++++++------------- 3 files changed, 133 insertions(+), 113 deletions(-) diff --git a/package.json b/package.json index ae930b86..84bd38b4 100644 --- a/package.json +++ b/package.json @@ -43,9 +43,11 @@ "license": "MIT", "dependencies": { "@babel/core": "^7.1.6", - "@babel/plugin-proposal-class-properties": "7.1.0", - "@babel/plugin-syntax-jsx": "^7.0.0", + "@babel/plugin-proposal-class-properties": "^7.1.0", + "@babel/plugin-transform-for-of": "^7.2.0", "@babel/polyfill": "^7.0.0", + "@babel/preset-env": "^7.2.0", + "@babel/preset-react": "^7.0.0", "asyncro": "^3.0.0", "autoprefixer": "^9.0.0", "babel-plugin-transform-async-to-promises": "^0.8.1", @@ -57,8 +59,7 @@ "gzip-size": "^5.0.0", "pretty-bytes": "^5.1.0", "rollup": "^0.67.3", - "rollup-plugin-babel": "^4.1.0-0", - "rollup-plugin-buble": "^0.19.4", + "rollup-plugin-babel": "^4.0.3", "rollup-plugin-bundle-size": "^1.0.1", "rollup-plugin-commonjs": "^9.0.0", "rollup-plugin-es3": "^1.1.0", @@ -79,7 +80,6 @@ "devDependencies": { "@babel/cli": "^7.1.5", "@babel/node": "^7.0.0", - "@babel/preset-env": "^7.1.6", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^23.6.0", "directory-tree": "^2.1.0", diff --git a/src/index.js b/src/index.js index 950aa9d7..3a6b9bd2 100644 --- a/src/index.js +++ b/src/index.js @@ -8,8 +8,8 @@ import cssnano from 'cssnano'; import { rollup, watch } from 'rollup'; import commonjs from 'rollup-plugin-commonjs'; import babel from 'rollup-plugin-babel'; +import { loadPartialConfig, DEFAULT_EXTENSIONS } from '@babel/core'; import nodeResolve from 'rollup-plugin-node-resolve'; -import buble from 'rollup-plugin-buble'; import { terser } from 'rollup-plugin-terser'; import postcss from 'rollup-plugin-postcss'; import alias from 'rollup-plugin-strict-alias'; @@ -226,6 +226,54 @@ export default async function microbundle(options) { ); } +function createBabelConfig(options) { + const partialConfig = loadPartialConfig(); + const hasBabelConfigFile = partialConfig.hasFilesystemConfig(); + + // Allow project to configure babel with local config file + if (hasBabelConfigFile) { + return { + extensions: [...DEFAULT_EXTENSIONS, '.ts', '.tsx'], + }; + } + + // No babelrc exists, use default config + // TODO move this into a separate babel-preset-microbundle package + return { + babelrc: false, + extensions: [...DEFAULT_EXTENSIONS, '.ts', '.tsx'], + presets: [ + [require.resolve('@babel/preset-react'), { pragma: options.jsx }], + [ + require.resolve('@babel/preset-env'), + { + loose: true, + exclude: [ + // Disabling preset-env async/await support so we can use + // plugin-transform-async-to-promises + 'transform-async-to-generator', + 'transform-regenerator', + ], + }, + ], + ], + plugins: [ + [ + require.resolve('babel-plugin-transform-async-to-promises'), + { inlineHelpers: true, externalHelpers: true }, + ], + [ + require.resolve('@babel/plugin-proposal-class-properties'), + { loose: true }, + ], + [ + require.resolve('@babel/plugin-transform-for-of'), + { assumeArray: true }, + ], + ], + }; +} + function createConfig(options, entry, format, writeMeta) { let { pkg } = options; @@ -377,26 +425,7 @@ function createConfig(options, entry, format, writeMeta) { }, }), !useTypescript && flow({ all: true, pretty: true }), - // Only used for async await - babel({ - // We mainly use bublé to transpile JS and only use babel to - // transpile down `async/await`. To prevent conflicts with user - // supplied configurations we set this option to false. Note - // that we never supported using custom babel configs anyway. - babelrc: false, - exclude: 'node_modules/**', - plugins: [ - require.resolve('@babel/plugin-syntax-jsx'), - [ - require.resolve('babel-plugin-transform-async-to-promises'), - { inlineHelpers: true, externalHelpers: true }, - ], - [ - require.resolve('@babel/plugin-proposal-class-properties'), - { loose: true }, - ], - ], - }), + babel(createBabelConfig(options)), { // Custom plugin that removes shebang from code because newer // versions of bublé bundle their own private version of `acorn` @@ -419,15 +448,6 @@ function createConfig(options, entry, format, writeMeta) { }; }, }, - buble({ - exclude: 'node_modules/**', - jsx: options.jsx || 'h', - objectAssign: options.assign || 'Object.assign', - transforms: { - dangerousForOf: true, - dangerousTaggedTemplateString: true, - }, - }), // We should upstream this to rollup // format==='cjs' && replace({ // [`module.exports = ${rollupName};`]: '', diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index 91a38180..51f47b3c 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -20,12 +20,12 @@ basic Build \\"basicLib\\" to dist: -202 B: basic-lib.js.gz -145 B: basic-lib.js.br -203 B: basic-lib.mjs.gz -145 B: basic-lib.mjs.br -280 B: basic-lib.umd.js.gz -215 B: basic-lib.umd.js.br" +229 B: basic-lib.js.gz +174 B: basic-lib.js.br +230 B: basic-lib.mjs.gz +177 B: basic-lib.mjs.br +306 B: basic-lib.umd.js.gz +247 B: basic-lib.umd.js.br" `; exports[`fixtures basic-css 1`] = ` @@ -77,12 +77,12 @@ basic-json Build \\"basicJson\\" to dist: -130 B: basic-json.js.gz -81 B: basic-json.js.br -129 B: basic-json.mjs.gz -81 B: basic-json.mjs.br -209 B: basic-json.umd.js.gz -149 B: basic-json.umd.js.br" +93 B: basic-json.js.gz +65 B: basic-json.js.br +92 B: basic-json.mjs.gz +64 B: basic-json.mjs.br +173 B: basic-json.umd.js.gz +126 B: basic-json.umd.js.br" `; exports[`fixtures basic-ts 1`] = ` @@ -108,12 +108,12 @@ basic-ts Build \\"basicLibTs\\" to dist: -98 B: basic-lib-ts.js.gz -67 B: basic-lib-ts.js.br -92 B: basic-lib-ts.mjs.gz -58 B: basic-lib-ts.mjs.br -176 B: basic-lib-ts.umd.js.gz -139 B: basic-lib-ts.umd.js.br" +104 B: basic-lib-ts.js.gz +76 B: basic-lib-ts.js.br +97 B: basic-lib-ts.mjs.gz +73 B: basic-lib-ts.mjs.br +180 B: basic-lib-ts.umd.js.gz +137 B: basic-lib-ts.umd.js.br" `; exports[`fixtures basic-tsx 1`] = ` @@ -137,12 +137,12 @@ basic-tsx Build \\"basicLibTsx\\" to dist: -211 B: basic-lib-tsx.js.gz -168 B: basic-lib-tsx.js.br -212 B: basic-lib-tsx.mjs.gz -170 B: basic-lib-tsx.mjs.br -290 B: basic-lib-tsx.umd.js.gz -228 B: basic-lib-tsx.umd.js.br" +235 B: basic-lib-tsx.js.gz +188 B: basic-lib-tsx.js.br +239 B: basic-lib-tsx.mjs.gz +191 B: basic-lib-tsx.mjs.br +311 B: basic-lib-tsx.umd.js.gz +253 B: basic-lib-tsx.umd.js.br" `; exports[`fixtures basic-with-cwd 1`] = ` @@ -167,12 +167,12 @@ basic-with-cwd Build \\"basic\\" to dist: -202 B: basic.js.gz -145 B: basic.js.br -203 B: basic.mjs.gz -145 B: basic.mjs.br -276 B: basic.umd.js.gz -208 B: basic.umd.js.br" +229 B: basic.js.gz +174 B: basic.js.br +230 B: basic.mjs.gz +177 B: basic.mjs.br +303 B: basic.umd.js.gz +232 B: basic.umd.js.br" `; exports[`fixtures class-decorators-ts 1`] = ` @@ -251,12 +251,12 @@ custom-source Build \\"customSource\\" to dist: -202 B: custom-source.js.gz -145 B: custom-source.js.br -203 B: custom-source.mjs.gz -145 B: custom-source.mjs.br -281 B: custom-source.umd.js.gz -209 B: custom-source.umd.js.br" +229 B: custom-source.js.gz +174 B: custom-source.js.br +230 B: custom-source.mjs.gz +177 B: custom-source.mjs.br +308 B: custom-source.umd.js.gz +235 B: custom-source.umd.js.br" `; exports[`fixtures custom-source-with-cwd 1`] = ` @@ -281,12 +281,12 @@ custom-source-with-cwd Build \\"customSrc\\" to dist: -202 B: custom-src.js.gz -145 B: custom-src.js.br -203 B: custom-src.mjs.gz -145 B: custom-src.mjs.br -279 B: custom-src.umd.js.gz -212 B: custom-src.umd.js.br" +229 B: custom-src.js.gz +174 B: custom-src.js.br +230 B: custom-src.mjs.gz +177 B: custom-src.mjs.br +307 B: custom-src.umd.js.gz +243 B: custom-src.umd.js.br" `; exports[`fixtures esnext-ts 1`] = ` @@ -310,12 +310,12 @@ esnext-ts Build \\"esnextTs\\" to dist: -470 B: esnext-ts.js.gz -404 B: esnext-ts.js.br -470 B: esnext-ts.mjs.gz -409 B: esnext-ts.mjs.br -528 B: esnext-ts.umd.js.gz -461 B: esnext-ts.umd.js.br" +473 B: esnext-ts.js.gz +408 B: esnext-ts.js.br +474 B: esnext-ts.mjs.gz +416 B: esnext-ts.mjs.br +532 B: esnext-ts.umd.js.gz +464 B: esnext-ts.umd.js.br" `; exports[`fixtures jsx 1`] = ` @@ -336,12 +336,12 @@ jsx Build \\"jsx\\" to dist: -211 B: jsx.js.gz -168 B: jsx.js.br -212 B: jsx.mjs.gz -170 B: jsx.mjs.br -283 B: jsx.umd.js.gz -230 B: jsx.umd.js.br" +160 B: jsx.js.gz +125 B: jsx.js.br +162 B: jsx.mjs.gz +124 B: jsx.mjs.br +234 B: jsx.umd.js.gz +187 B: jsx.umd.js.br" `; exports[`fixtures name-custom-amd 1`] = ` @@ -364,12 +364,12 @@ name-custom-amd Build \\"customNameAmd\\" to dist: -202 B: name-custom-amd.js.gz -145 B: name-custom-amd.js.br -203 B: name-custom-amd.mjs.gz -145 B: name-custom-amd.mjs.br -283 B: name-custom-amd.umd.js.gz -214 B: name-custom-amd.umd.js.br" +229 B: name-custom-amd.js.gz +174 B: name-custom-amd.js.br +230 B: name-custom-amd.mjs.gz +177 B: name-custom-amd.mjs.br +310 B: name-custom-amd.umd.js.gz +245 B: name-custom-amd.umd.js.br" `; exports[`fixtures name-custom-cli 1`] = ` @@ -392,12 +392,12 @@ name-custom-cli Build \\"nameCustomCli\\" to dist: -202 B: name-custom.js.gz -145 B: name-custom.js.br -203 B: name-custom.mjs.gz -145 B: name-custom.mjs.br -283 B: name-custom.umd.js.gz -215 B: name-custom.umd.js.br" +229 B: name-custom.js.gz +174 B: name-custom.js.br +230 B: name-custom.mjs.gz +177 B: name-custom.mjs.br +309 B: name-custom.umd.js.gz +247 B: name-custom.umd.js.br" `; exports[`fixtures no-pkg 1`] = ` @@ -419,12 +419,12 @@ no-pkg Build \\"noPkg\\" to dist: -202 B: no-pkg.js.gz -145 B: no-pkg.js.br -203 B: no-pkg.mjs.gz -145 B: no-pkg.mjs.br -276 B: no-pkg.umd.js.gz -217 B: no-pkg.umd.js.br" +229 B: no-pkg.js.gz +174 B: no-pkg.js.br +230 B: no-pkg.mjs.gz +177 B: no-pkg.mjs.br +303 B: no-pkg.umd.js.gz +246 B: no-pkg.umd.js.br" `; exports[`fixtures no-pkg-name 1`] = ` @@ -447,12 +447,12 @@ no-pkg-name Build \\"noPkgName\\" to dist: -202 B: no-pkg-name.js.gz -145 B: no-pkg-name.js.br -203 B: no-pkg-name.mjs.gz -145 B: no-pkg-name.mjs.br -280 B: no-pkg-name.umd.js.gz -216 B: no-pkg-name.umd.js.br" +229 B: no-pkg-name.js.gz +174 B: no-pkg-name.js.br +230 B: no-pkg-name.mjs.gz +177 B: no-pkg-name.mjs.br +307 B: no-pkg-name.umd.js.gz +245 B: no-pkg-name.umd.js.br" `; exports[`fixtures pretty 1`] = ` From 9e85232856a7f37bbf1c4a43cd9b0f4b4fe50665 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Tue, 11 Dec 2018 09:27:17 +0100 Subject: [PATCH 2/3] Fix async not transpiled with TS --- package.json | 2 +- src/index.js | 2 +- test/__snapshots__/index.test.js.snap | 70 +++++++++++++++++++++-- test/fixtures/async-iife-ts/package.json | 3 + test/fixtures/async-iife-ts/src/index.ts | 3 + test/fixtures/async-iife-ts/tsconfig.json | 5 ++ test/fixtures/async-ts/package.json | 3 + test/fixtures/async-ts/src/index.ts | 3 + test/fixtures/async-ts/tsconfig.json | 5 ++ test/fixtures/esnext-ts/src/index.ts | 4 +- 10 files changed, 90 insertions(+), 10 deletions(-) create mode 100644 test/fixtures/async-iife-ts/package.json create mode 100644 test/fixtures/async-iife-ts/src/index.ts create mode 100644 test/fixtures/async-iife-ts/tsconfig.json create mode 100644 test/fixtures/async-ts/package.json create mode 100644 test/fixtures/async-ts/src/index.ts create mode 100644 test/fixtures/async-ts/tsconfig.json diff --git a/package.json b/package.json index 84bd38b4..75767c18 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@babel/preset-react": "^7.0.0", "asyncro": "^3.0.0", "autoprefixer": "^9.0.0", - "babel-plugin-transform-async-to-promises": "^0.8.1", + "babel-plugin-transform-async-to-promises": "^0.8.3", "brotli-size": "^0.0.3", "camelcase": "^5.0.0", "chalk": "^2.4.0", diff --git a/src/index.js b/src/index.js index 3a6b9bd2..22185411 100644 --- a/src/index.js +++ b/src/index.js @@ -420,7 +420,7 @@ function createConfig(options, entry, format, writeMeta) { }, tsconfigOverride: { compilerOptions: { - target: 'es2017', + target: 'esnext', }, }, }), diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index 51f47b3c..d2cbedc1 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -1,5 +1,63 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`fixtures async-iife-ts 1`] = ` +"Used script: microbundle + +Directory tree: + +async-iife-ts + dist + async-iife-ts.js + async-iife-ts.js.map + async-iife-ts.mjs + async-iife-ts.mjs.map + async-iife-ts.umd.js + async-iife-ts.umd.js.map + index.d.ts + package.json + src + index.ts + tsconfig.json + + +Build \\"asyncIifeTs\\" to dist: +93 B: async-iife-ts.js.gz +74 B: async-iife-ts.js.br +93 B: async-iife-ts.mjs.gz +74 B: async-iife-ts.mjs.br +164 B: async-iife-ts.umd.js.gz +123 B: async-iife-ts.umd.js.br" +`; + +exports[`fixtures async-ts 1`] = ` +"Used script: microbundle + +Directory tree: + +async-ts + dist + async-ts.js + async-ts.js.map + async-ts.mjs + async-ts.mjs.map + async-ts.umd.js + async-ts.umd.js.map + index.d.ts + package.json + src + index.ts + tsconfig.json + + +Build \\"asyncTs\\" to dist: +84 B: async-ts.js.gz +61 B: async-ts.js.br +94 B: async-ts.mjs.gz +76 B: async-ts.mjs.br +179 B: async-ts.umd.js.gz +144 B: async-ts.umd.js.br" +`; + exports[`fixtures basic 1`] = ` "Used script: microbundle @@ -310,12 +368,12 @@ esnext-ts Build \\"esnextTs\\" to dist: -473 B: esnext-ts.js.gz -408 B: esnext-ts.js.br -474 B: esnext-ts.mjs.gz -416 B: esnext-ts.mjs.br -532 B: esnext-ts.umd.js.gz -464 B: esnext-ts.umd.js.br" +966 B: esnext-ts.js.gz +868 B: esnext-ts.js.br +965 B: esnext-ts.mjs.gz +869 B: esnext-ts.mjs.br +1022 B: esnext-ts.umd.js.gz +920 B: esnext-ts.umd.js.br" `; exports[`fixtures jsx 1`] = ` diff --git a/test/fixtures/async-iife-ts/package.json b/test/fixtures/async-iife-ts/package.json new file mode 100644 index 00000000..196e2285 --- /dev/null +++ b/test/fixtures/async-iife-ts/package.json @@ -0,0 +1,3 @@ +{ + "name": "async-iife-ts" +} diff --git a/test/fixtures/async-iife-ts/src/index.ts b/test/fixtures/async-iife-ts/src/index.ts new file mode 100644 index 00000000..863d5c5e --- /dev/null +++ b/test/fixtures/async-iife-ts/src/index.ts @@ -0,0 +1,3 @@ +(async function() { + console.log('foo'); +})(); diff --git a/test/fixtures/async-iife-ts/tsconfig.json b/test/fixtures/async-iife-ts/tsconfig.json new file mode 100644 index 00000000..265086f8 --- /dev/null +++ b/test/fixtures/async-iife-ts/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "rootDir": "./src" + } +} diff --git a/test/fixtures/async-ts/package.json b/test/fixtures/async-ts/package.json new file mode 100644 index 00000000..484645c1 --- /dev/null +++ b/test/fixtures/async-ts/package.json @@ -0,0 +1,3 @@ +{ + "name": "async-ts" +} diff --git a/test/fixtures/async-ts/src/index.ts b/test/fixtures/async-ts/src/index.ts new file mode 100644 index 00000000..3098a3a3 --- /dev/null +++ b/test/fixtures/async-ts/src/index.ts @@ -0,0 +1,3 @@ +export class MyClass { + async foo() {} +} diff --git a/test/fixtures/async-ts/tsconfig.json b/test/fixtures/async-ts/tsconfig.json new file mode 100644 index 00000000..265086f8 --- /dev/null +++ b/test/fixtures/async-ts/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "rootDir": "./src" + } +} diff --git a/test/fixtures/esnext-ts/src/index.ts b/test/fixtures/esnext-ts/src/index.ts index 057955a9..28164300 100644 --- a/test/fixtures/esnext-ts/src/index.ts +++ b/test/fixtures/esnext-ts/src/index.ts @@ -1,10 +1,10 @@ export default async function foo() { const out = []; - for await (const item of [1,2]) { + for await (const item of [1, 2]) { out.push(item); } return out; } -foo().then(console.log) +foo().then(console.log); From e1b44eff44bcf4fe7ba84db4d273716515f1e85d Mon Sep 17 00:00:00 2001 From: Leah Date: Sat, 23 Feb 2019 19:13:46 +0100 Subject: [PATCH 3/3] Fix snapshots + babel plugin update --- package.json | 2 +- test/__snapshots__/index.test.js.snap | 825 ++++++++++++++++++++++++-- 2 files changed, 792 insertions(+), 35 deletions(-) diff --git a/package.json b/package.json index 2b480773..ec0a07ed 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "pretty-bytes": "^5.1.0", "rollup": "^0.67.3", "rollup-plugin-alias": "^1.5.1", - "rollup-plugin-babel": "^4.0.3", + "rollup-plugin-babel": "^4.3.2", "rollup-plugin-bundle-size": "^1.0.1", "rollup-plugin-commonjs": "^9.0.0", "rollup-plugin-es3": "^1.1.0", diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index d2cbedc1..538c3b51 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -1,5 +1,46 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`fixtures alias 1`] = ` +"Used script: microbundle --no-sourcemap --alias ./constants=./constants-debug + +Directory tree: + +alias + dist + alias-mapping.js + alias-mapping.mjs + alias-mapping.umd.js + package.json + src + constants-debug.js + constants.js + index.js + + +Build \\"aliasMapping\\" to dist: +62 B: alias-mapping.js.gz +46 B: alias-mapping.js.br +62 B: alias-mapping.mjs.gz +46 B: alias-mapping.mjs.br +156 B: alias-mapping.umd.js.gz +111 B: alias-mapping.umd.js.br" +`; + +exports[`fixtures alias 2`] = ` +"console.log(\\"DEBUG should be true: \\",!0); +" +`; + +exports[`fixtures alias 3`] = ` +"console.log(\\"DEBUG should be true: \\",!0); +" +`; + +exports[`fixtures alias 4`] = ` +"!function(e,o){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?o():\\"function\\"==typeof define&&define.amd?define(o):o()}(0,function(){console.log(\\"DEBUG should be true: \\",!0)}); +" +`; + exports[`fixtures async-iife-ts 1`] = ` "Used script: microbundle @@ -29,6 +70,32 @@ Build \\"asyncIifeTs\\" to dist: 123 B: async-iife-ts.umd.js.br" `; +exports[`fixtures async-iife-ts 2`] = ` +"!function(){try{console.log(\\"foo\\")}catch(o){return Promise.reject(o)}}(); +//# sourceMappingURL=async-iife-ts.js.map +" +`; + +exports[`fixtures async-iife-ts 3`] = `"{\\"version\\":3,\\"file\\":\\"async-iife-ts.js\\",\\"sources\\":[\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"(async function() {\\\\n\\\\tconsole.log('foo');\\\\n})();\\\\n\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"mappings\\":\\"CAAA,eACCA,QAAQC,IAAI,0CADb\\"}"`; + +exports[`fixtures async-iife-ts 4`] = ` +"!function(){try{console.log(\\"foo\\")}catch(o){return Promise.reject(o)}}(); +//# sourceMappingURL=async-iife-ts.mjs.map +" +`; + +exports[`fixtures async-iife-ts 5`] = `"{\\"version\\":3,\\"file\\":\\"async-iife-ts.mjs\\",\\"sources\\":[\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"(async function() {\\\\n\\\\tconsole.log('foo');\\\\n})();\\\\n\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"mappings\\":\\"CAAA,eACCA,QAAQC,IAAI,0CADb\\"}"`; + +exports[`fixtures async-iife-ts 6`] = ` +"!function(e,o){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?o():\\"function\\"==typeof define&&define.amd?define(o):o()}(0,function(){!function(){try{console.log(\\"foo\\")}catch(e){return Promise.reject(e)}}()}); +//# sourceMappingURL=async-iife-ts.umd.js.map +" +`; + +exports[`fixtures async-iife-ts 7`] = `"{\\"version\\":3,\\"file\\":\\"async-iife-ts.umd.js\\",\\"sources\\":[\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"(async function() {\\\\n\\\\tconsole.log('foo');\\\\n})();\\\\n\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"mappings\\":\\"2IAAA,eACCA,QAAQC,IAAI,0CADb\\"}"`; + +exports[`fixtures async-iife-ts 8`] = `""`; + exports[`fixtures async-ts 1`] = ` "Used script: microbundle @@ -58,6 +125,37 @@ Build \\"asyncTs\\" to dist: 144 B: async-ts.umd.js.br" `; +exports[`fixtures async-ts 2`] = ` +"exports.MyClass=function(){function o(){}return o.prototype.foo=function(){},o}(); +//# sourceMappingURL=async-ts.js.map +" +`; + +exports[`fixtures async-ts 3`] = `"{\\"version\\":3,\\"file\\":\\"async-ts.js\\",\\"sources\\":[\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"export class MyClass {\\\\n\\\\tasync foo() {}\\\\n}\\\\n\\"],\\"names\\":[\\"foo\\"],\\"mappings\\":\\"gBAAA,4CACOA,mBADP\\"}"`; + +exports[`fixtures async-ts 4`] = ` +"var o=function(){function o(){}return o.prototype.foo=function(){},o}();export{o as MyClass}; +//# sourceMappingURL=async-ts.mjs.map +" +`; + +exports[`fixtures async-ts 5`] = `"{\\"version\\":3,\\"file\\":\\"async-ts.mjs\\",\\"sources\\":[\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"export class MyClass {\\\\n\\\\tasync foo() {}\\\\n}\\\\n\\"],\\"names\\":[\\"MyClass\\",\\"foo\\"],\\"mappings\\":\\"IAAaA,EAAb,4CACOC,mBADP\\"}"`; + +exports[`fixtures async-ts 6`] = ` +"!function(n,e){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?e(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],e):e(n.asyncTs={})}(this,function(n){n.MyClass=function(){function n(){}return n.prototype.foo=function(){},n}()}); +//# sourceMappingURL=async-ts.umd.js.map +" +`; + +exports[`fixtures async-ts 7`] = `"{\\"version\\":3,\\"file\\":\\"async-ts.umd.js\\",\\"sources\\":[\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"export class MyClass {\\\\n\\\\tasync foo() {}\\\\n}\\\\n\\"],\\"names\\":[\\"foo\\"],\\"mappings\\":\\"uLAAA,4CACOA,mBADP\\"}"`; + +exports[`fixtures async-ts 8`] = ` +"export declare class MyClass { + foo(): Promise; +} +" +`; + exports[`fixtures basic 1`] = ` "Used script: microbundle @@ -86,6 +184,30 @@ Build \\"basicLib\\" to dist: 247 B: basic-lib.umd.js.br" `; +exports[`fixtures basic 2`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures basic 4`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),t=0;t total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures basic 6`] = ` +"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):e.basicLib=r()}(this,function(){var e=function(){try{for(var e=arguments.length,r=new Array(e),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"2KAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,qFCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + exports[`fixtures basic-css 1`] = ` "Used script: microbundle @@ -115,6 +237,32 @@ Build \\"basicCss\\" to dist: 135 B: basic-css.umd.js.br" `; +exports[`fixtures basic-css 2`] = `".testing{display:flex;color:red;background:#00f}"`; + +exports[`fixtures basic-css 3`] = ` +"module.exports=function(){var e=document.createElement(\\"div\\");return e.className=\\"testing\\",e}; +//# sourceMappingURL=basic-css.js.map +" +`; + +exports[`fixtures basic-css 4`] = `"{\\"version\\":3,\\"file\\":\\"basic-css.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"import './two.css';\\\\n\\\\nexport default function() {\\\\n\\\\tconst el = document.createElement('div');\\\\n\\\\tel.className = 'testing';\\\\n\\\\treturn el;\\\\n}\\\\n\\"],\\"names\\":[\\"el\\",\\"document\\",\\"createElement\\",\\"className\\"],\\"mappings\\":\\"eAEe,eACRA,EAAKC,SAASC,cAAc,cAClCF,EAAGG,UAAY,UACRH\\"}"`; + +exports[`fixtures basic-css 5`] = ` +"export default function(){var e=document.createElement(\\"div\\");return e.className=\\"testing\\",e} +//# sourceMappingURL=basic-css.mjs.map +" +`; + +exports[`fixtures basic-css 6`] = `"{\\"version\\":3,\\"file\\":\\"basic-css.mjs\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"import './two.css';\\\\n\\\\nexport default function() {\\\\n\\\\tconst el = document.createElement('div');\\\\n\\\\tel.className = 'testing';\\\\n\\\\treturn el;\\\\n}\\\\n\\"],\\"names\\":[\\"el\\",\\"document\\",\\"createElement\\",\\"className\\"],\\"mappings\\":\\"eAEe,eACRA,EAAKC,SAASC,cAAc,cAClCF,EAAGG,UAAY,UACRH\\"}"`; + +exports[`fixtures basic-css 7`] = ` +"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):e.basicCss=n()}(this,function(){return function(){var e=document.createElement(\\"div\\");return e.className=\\"testing\\",e}}); +//# sourceMappingURL=basic-css.umd.js.map +" +`; + +exports[`fixtures basic-css 8`] = `"{\\"version\\":3,\\"file\\":\\"basic-css.umd.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"import './two.css';\\\\n\\\\nexport default function() {\\\\n\\\\tconst el = document.createElement('div');\\\\n\\\\tel.className = 'testing';\\\\n\\\\treturn el;\\\\n}\\\\n\\"],\\"names\\":[\\"el\\",\\"document\\",\\"createElement\\",\\"className\\"],\\"mappings\\":\\"8KAEe,eACRA,EAAKC,SAASC,cAAc,cAClCF,EAAGG,UAAY,UACRH\\"}"`; + exports[`fixtures basic-json 1`] = ` "Used script: microbundle @@ -143,6 +291,30 @@ Build \\"basicJson\\" to dist: 126 B: basic-json.umd.js.br" `; +exports[`fixtures basic-json 2`] = ` +"var e={test:\\"true\\"};module.exports=function(){return Promise.resolve(e)}; +//# sourceMappingURL=basic-json.js.map +" +`; + +exports[`fixtures basic-json 3`] = `"{\\"version\\":3,\\"file\\":\\"basic-json.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"import two from './two.json';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn two;\\\\n}\\\\n\\"],\\"names\\":[\\"two\\"],\\"mappings\\":\\"qEAGQA\\"}"`; + +exports[`fixtures basic-json 4`] = ` +"var e={test:\\"true\\"};export default function(){return Promise.resolve(e)} +//# sourceMappingURL=basic-json.mjs.map +" +`; + +exports[`fixtures basic-json 5`] = `"{\\"version\\":3,\\"file\\":\\"basic-json.mjs\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"import two from './two.json';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn two;\\\\n}\\\\n\\"],\\"names\\":[\\"two\\"],\\"mappings\\":\\"qEAGQA\\"}"`; + +exports[`fixtures basic-json 6`] = ` +"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):e.basicJson=n()}(this,function(){var e={test:\\"true\\"};return function(){return Promise.resolve(e)}}); +//# sourceMappingURL=basic-json.umd.js.map +" +`; + +exports[`fixtures basic-json 7`] = `"{\\"version\\":3,\\"file\\":\\"basic-json.umd.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"import two from './two.json';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn two;\\\\n}\\\\n\\"],\\"names\\":[\\"two\\"],\\"mappings\\":\\"qOAGQA\\"}"`; + exports[`fixtures basic-ts 1`] = ` "Used script: microbundle @@ -174,6 +346,47 @@ Build \\"basicLibTs\\" to dist: 137 B: basic-lib-ts.umd.js.br" `; +exports[`fixtures basic-ts 2`] = ` +"var n=new(function(){function n(){}return n.prototype.drive=function(n){return!0},n}());module.exports=n; +//# sourceMappingURL=basic-lib-ts.js.map +" +`; + +exports[`fixtures basic-ts 3`] = `"{\\"version\\":3,\\"file\\":\\"basic-lib-ts.js\\",\\"sources\\":[\\"../src/index.ts\\",\\"../src/car.ts\\"],\\"sourcesContent\\":[\\"import Car from './car';\\\\n\\\\nlet Ferrari = new Car();\\\\n\\\\nexport default Ferrari;\\\\n\\",\\"export interface Driveable {\\\\n\\\\tdrive(distance: number): boolean;\\\\n}\\\\n\\\\nexport default class Car implements Driveable {\\\\n\\\\tpublic drive(distance: number): boolean {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n}\\\\n\\"],\\"names\\":[\\"Ferrari\\",\\"drive\\",\\"distance\\"],\\"mappings\\":\\"IAEIA,EAAU,gDCGNC,MAAA,SAAMC,UACL\\"}"`; + +exports[`fixtures basic-ts 4`] = ` +"export default new(function(){function n(){}return n.prototype.drive=function(n){return!0},n}()); +//# sourceMappingURL=basic-lib-ts.mjs.map +" +`; + +exports[`fixtures basic-ts 5`] = `"{\\"version\\":3,\\"file\\":\\"basic-lib-ts.mjs\\",\\"sources\\":[\\"../src/index.ts\\",\\"../src/car.ts\\"],\\"sourcesContent\\":[\\"import Car from './car';\\\\n\\\\nlet Ferrari = new Car();\\\\n\\\\nexport default Ferrari;\\\\n\\",\\"export interface Driveable {\\\\n\\\\tdrive(distance: number): boolean;\\\\n}\\\\n\\\\nexport default class Car implements Driveable {\\\\n\\\\tpublic drive(distance: number): boolean {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n}\\\\n\\"],\\"names\\":[\\"drive\\",\\"distance\\"],\\"mappings\\":\\"eAEc,gDCGNA,MAAA,SAAMC,UACL\\"}"`; + +exports[`fixtures basic-ts 6`] = ` +"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=n():\\"function\\"==typeof define&&define.amd?define(n):e.basicLibTs=n()}(this,function(){return new(function(){function e(){}return e.prototype.drive=function(e){return!0},e}())}); +//# sourceMappingURL=basic-lib-ts.umd.js.map +" +`; + +exports[`fixtures basic-ts 7`] = `"{\\"version\\":3,\\"file\\":\\"basic-lib-ts.umd.js\\",\\"sources\\":[\\"../src/index.ts\\",\\"../src/car.ts\\"],\\"sourcesContent\\":[\\"import Car from './car';\\\\n\\\\nlet Ferrari = new Car();\\\\n\\\\nexport default Ferrari;\\\\n\\",\\"export interface Driveable {\\\\n\\\\tdrive(distance: number): boolean;\\\\n}\\\\n\\\\nexport default class Car implements Driveable {\\\\n\\\\tpublic drive(distance: number): boolean {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n}\\\\n\\"],\\"names\\":[\\"drive\\",\\"distance\\"],\\"mappings\\":\\"gLAEc,gDCGNA,MAAA,SAAMC,UACL\\"}"`; + +exports[`fixtures basic-ts 8`] = ` +"export interface Driveable { + drive(distance: number): boolean; +} +export default class Car implements Driveable { + drive(distance: number): boolean; +} +" +`; + +exports[`fixtures basic-ts 9`] = ` +"import Car from './car'; +declare let Ferrari: Car; +export default Ferrari; +" +`; + exports[`fixtures basic-tsx 1`] = ` "Used script: microbundle @@ -203,25 +416,54 @@ Build \\"basicLibTsx\\" to dist: 253 B: basic-lib-tsx.umd.js.br" `; +exports[`fixtures basic-tsx 2`] = ` +"var r=function(r,n){for(var e=arguments.length,o=new Array(e>2?e-2:0),t=2;t ({ tag, props, children });\\\\n\\\\nexport default class Foo {\\\\n\\\\trender() {\\\\n\\\\t\\\\treturn (\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t\\\\t\\\\t

Hello, World!

\\\\n\\\\t\\\\t\\\\t\\\\t

A JSX demo.

\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t);\\\\n\\\\t}\\\\n}\\\\n\\"],\\"names\\":[\\"h\\",\\"tag\\",\\"props\\",\\"children\\",\\"render\\",\\"id\\"],\\"mappings\\":\\"AAAA,IAAMA,EAAI,SAACC,EAAKC,8BAAUC,mCAAAA,0BAAc,CAAEF,IAAAA,EAAKC,MAAAA,EAAOC,SAAAA,+DAGrDC,OAAA,kBAEEJ,SAAKK,GAAG,OACPL,6BACAA\\"}"`; + +exports[`fixtures basic-tsx 4`] = ` +"var r=function(r,n){for(var e=arguments.length,t=new Array(e>2?e-2:0),o=2;o ({ tag, props, children });\\\\n\\\\nexport default class Foo {\\\\n\\\\trender() {\\\\n\\\\t\\\\treturn (\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t\\\\t\\\\t

Hello, World!

\\\\n\\\\t\\\\t\\\\t\\\\t

A JSX demo.

\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t);\\\\n\\\\t}\\\\n}\\\\n\\"],\\"names\\":[\\"h\\",\\"tag\\",\\"props\\",\\"children\\",\\"render\\",\\"id\\"],\\"mappings\\":\\"AAAA,IAAMA,EAAI,SAACC,EAAKC,8BAAUC,mCAAAA,0BAAc,CAAEF,IAAAA,EAAKC,MAAAA,EAAOC,SAAAA,+DAGrDC,OAAA,kBAEEJ,SAAKK,GAAG,OACPL,6BACAA\\"}"`; + +exports[`fixtures basic-tsx 6`] = ` +"!function(n,e){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=e():\\"function\\"==typeof define&&define.amd?define(e):n.basicLibTsx=e()}(this,function(){var n=function(n,e){for(var o=arguments.length,t=new Array(o>2?o-2:0),r=2;r ({ tag, props, children });\\\\n\\\\nexport default class Foo {\\\\n\\\\trender() {\\\\n\\\\t\\\\treturn (\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t\\\\t\\\\t

Hello, World!

\\\\n\\\\t\\\\t\\\\t\\\\t

A JSX demo.

\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t);\\\\n\\\\t}\\\\n}\\\\n\\"],\\"names\\":[\\"h\\",\\"tag\\",\\"props\\",\\"children\\",\\"render\\",\\"id\\"],\\"mappings\\":\\"0KAAA,IAAMA,EAAI,SAACC,EAAKC,8BAAUC,mCAAAA,0BAAc,CAAEF,IAAAA,EAAKC,MAAAA,EAAOC,SAAAA,uDAGrDC,OAAA,kBAEEJ,SAAKK,GAAG,OACPL,6BACAA\\"}"`; + +exports[`fixtures basic-tsx 8`] = ` +"export default class Foo { + render(): any; +} +" +`; + exports[`fixtures basic-with-cwd 1`] = ` -"Used script: microbundle --cwd ./basic +"Used script: microbundle Directory tree: -basic-with-cwd - basic - dist - basic.js - basic.js.map - basic.mjs - basic.mjs.map - basic.umd.js - basic.umd.js.map - package.json - src - index.js - two.js +basic + dist + basic.js + basic.js.map + basic.mjs + basic.mjs.map + basic.umd.js + basic.umd.js.map package.json + src + index.js + two.js Build \\"basic\\" to dist: @@ -233,6 +475,30 @@ Build \\"basic\\" to dist: 232 B: basic.umd.js.br" `; +exports[`fixtures basic-with-cwd 2`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures basic-with-cwd 4`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),t=0;t total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures basic-with-cwd 6`] = ` +"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):e.basic=r()}(this,function(){var e=function(){try{for(var e=arguments.length,r=new Array(e),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"wKAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,qFCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + exports[`fixtures class-decorators-ts 1`] = ` "Used script: microbundle --raw @@ -262,6 +528,41 @@ Build \\"classDecoratorsTs\\" to dist: 352 B: class-decorators-ts.umd.js.br" `; +exports[`fixtures class-decorators-ts 2`] = ` +"var e=function(){function e(e){this.greeting=e}return e.prototype.greet=function(){return\\"Hello, \\"+this.greeting},e}(),t=new(e=function(e,t,r,o){var n,c=arguments.length,l=c<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,o);else for(var f=e.length-1;f>=0;f--)(n=e[f])&&(l=(c<3?n(l):c>3?n(t,r,l):n(t,r))||l);return c>3&&l&&Object.defineProperty(t,r,l),l}([function(e){Object.seal(e),Object.seal(e.prototype)}],e))(\\"Hello World\\");module.exports=t; +//# sourceMappingURL=class-decorators-ts.js.map +" +`; + +exports[`fixtures class-decorators-ts 3`] = `"{\\"version\\":3,\\"file\\":\\"class-decorators-ts.js\\",\\"sources\\":[\\"../src/index.ts\\",\\"../../../../node_modules/tslib/tslib.es6.js\\"],\\"sourcesContent\\":[\\"function sealed(constructor: Function) {\\\\n\\\\tObject.seal(constructor);\\\\n\\\\tObject.seal(constructor.prototype);\\\\n}\\\\n\\\\n@sealed\\\\nclass Greeter {\\\\n\\\\tgreeting: string;\\\\n\\\\tconstructor(message: string) {\\\\n\\\\t\\\\tthis.greeting = message;\\\\n\\\\t}\\\\n\\\\tgreet() {\\\\n\\\\t\\\\treturn 'Hello, ' + this.greeting;\\\\n\\\\t}\\\\n}\\\\n\\\\nexport default new Greeter('Hello World');\\\\n\\",\\"/*! *****************************************************************************\\\\r\\\\nCopyright (c) Microsoft Corporation. All rights reserved.\\\\r\\\\nLicensed under the Apache License, Version 2.0 (the \\\\\\"License\\\\\\"); you may not use\\\\r\\\\nthis file except in compliance with the License. You may obtain a copy of the\\\\r\\\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\\\r\\\\n\\\\r\\\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\\\r\\\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\\\r\\\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\\\r\\\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\\\r\\\\n\\\\r\\\\nSee the Apache Version 2.0 License for specific language governing permissions\\\\r\\\\nand limitations under the License.\\\\r\\\\n***************************************************************************** */\\\\r\\\\n/* global Reflect, Promise */\\\\r\\\\n\\\\r\\\\nvar extendStatics = function(d, b) {\\\\r\\\\n extendStatics = Object.setPrototypeOf ||\\\\r\\\\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\\\\r\\\\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\\\\r\\\\n return extendStatics(d, b);\\\\r\\\\n};\\\\r\\\\n\\\\r\\\\nexport function __extends(d, b) {\\\\r\\\\n extendStatics(d, b);\\\\r\\\\n function __() { this.constructor = d; }\\\\r\\\\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport var __assign = function() {\\\\r\\\\n __assign = Object.assign || function __assign(t) {\\\\r\\\\n for (var s, i = 1, n = arguments.length; i < n; i++) {\\\\r\\\\n s = arguments[i];\\\\r\\\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\\\\r\\\\n }\\\\r\\\\n return t;\\\\r\\\\n }\\\\r\\\\n return __assign.apply(this, arguments);\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __rest(s, e) {\\\\r\\\\n var t = {};\\\\r\\\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\\\\r\\\\n t[p] = s[p];\\\\r\\\\n if (s != null && typeof Object.getOwnPropertySymbols === \\\\\\"function\\\\\\")\\\\r\\\\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\\\\r\\\\n t[p[i]] = s[p[i]];\\\\r\\\\n return t;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __decorate(decorators, target, key, desc) {\\\\r\\\\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\\\\r\\\\n if (typeof Reflect === \\\\\\"object\\\\\\" && typeof Reflect.decorate === \\\\\\"function\\\\\\") r = Reflect.decorate(decorators, target, key, desc);\\\\r\\\\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\\\\r\\\\n return c > 3 && r && Object.defineProperty(target, key, r), r;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __param(paramIndex, decorator) {\\\\r\\\\n return function (target, key) { decorator(target, key, paramIndex); }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __metadata(metadataKey, metadataValue) {\\\\r\\\\n if (typeof Reflect === \\\\\\"object\\\\\\" && typeof Reflect.metadata === \\\\\\"function\\\\\\") return Reflect.metadata(metadataKey, metadataValue);\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __awaiter(thisArg, _arguments, P, generator) {\\\\r\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\r\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\r\\\\n function rejected(value) { try { step(generator[\\\\\\"throw\\\\\\"](value)); } catch (e) { reject(e); } }\\\\r\\\\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\\\\r\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\r\\\\n });\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __generator(thisArg, body) {\\\\r\\\\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\\\\r\\\\n return g = { next: verb(0), \\\\\\"throw\\\\\\": verb(1), \\\\\\"return\\\\\\": verb(2) }, typeof Symbol === \\\\\\"function\\\\\\" && (g[Symbol.iterator] = function() { return this; }), g;\\\\r\\\\n function verb(n) { return function (v) { return step([n, v]); }; }\\\\r\\\\n function step(op) {\\\\r\\\\n if (f) throw new TypeError(\\\\\\"Generator is already executing.\\\\\\");\\\\r\\\\n while (_) try {\\\\r\\\\n if (f = 1, y && (t = op[0] & 2 ? y[\\\\\\"return\\\\\\"] : op[0] ? y[\\\\\\"throw\\\\\\"] || ((t = y[\\\\\\"return\\\\\\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\\\\r\\\\n if (y = 0, t) op = [op[0] & 2, t.value];\\\\r\\\\n switch (op[0]) {\\\\r\\\\n case 0: case 1: t = op; break;\\\\r\\\\n case 4: _.label++; return { value: op[1], done: false };\\\\r\\\\n case 5: _.label++; y = op[1]; op = [0]; continue;\\\\r\\\\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\\\\r\\\\n default:\\\\r\\\\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\\\\r\\\\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\\\\r\\\\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\\\\r\\\\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\\\\r\\\\n if (t[2]) _.ops.pop();\\\\r\\\\n _.trys.pop(); continue;\\\\r\\\\n }\\\\r\\\\n op = body.call(thisArg, _);\\\\r\\\\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\\\\r\\\\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\\\\r\\\\n }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __exportStar(m, exports) {\\\\r\\\\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __values(o) {\\\\r\\\\n var m = typeof Symbol === \\\\\\"function\\\\\\" && o[Symbol.iterator], i = 0;\\\\r\\\\n if (m) return m.call(o);\\\\r\\\\n return {\\\\r\\\\n next: function () {\\\\r\\\\n if (o && i >= o.length) o = void 0;\\\\r\\\\n return { value: o && o[i++], done: !o };\\\\r\\\\n }\\\\r\\\\n };\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __read(o, n) {\\\\r\\\\n var m = typeof Symbol === \\\\\\"function\\\\\\" && o[Symbol.iterator];\\\\r\\\\n if (!m) return o;\\\\r\\\\n var i = m.call(o), r, ar = [], e;\\\\r\\\\n try {\\\\r\\\\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\\\\r\\\\n }\\\\r\\\\n catch (error) { e = { error: error }; }\\\\r\\\\n finally {\\\\r\\\\n try {\\\\r\\\\n if (r && !r.done && (m = i[\\\\\\"return\\\\\\"])) m.call(i);\\\\r\\\\n }\\\\r\\\\n finally { if (e) throw e.error; }\\\\r\\\\n }\\\\r\\\\n return ar;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __spread() {\\\\r\\\\n for (var ar = [], i = 0; i < arguments.length; i++)\\\\r\\\\n ar = ar.concat(__read(arguments[i]));\\\\r\\\\n return ar;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __await(v) {\\\\r\\\\n return this instanceof __await ? (this.v = v, this) : new __await(v);\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __asyncGenerator(thisArg, _arguments, generator) {\\\\r\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\"Symbol.asyncIterator is not defined.\\\\\\");\\\\r\\\\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\\\\r\\\\n return i = {}, verb(\\\\\\"next\\\\\\"), verb(\\\\\\"throw\\\\\\"), verb(\\\\\\"return\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i;\\\\r\\\\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\\\\r\\\\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\\\\r\\\\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\\\\r\\\\n function fulfill(value) { resume(\\\\\\"next\\\\\\", value); }\\\\r\\\\n function reject(value) { resume(\\\\\\"throw\\\\\\", value); }\\\\r\\\\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __asyncDelegator(o) {\\\\r\\\\n var i, p;\\\\r\\\\n return i = {}, verb(\\\\\\"next\\\\\\"), verb(\\\\\\"throw\\\\\\", function (e) { throw e; }), verb(\\\\\\"return\\\\\\"), i[Symbol.iterator] = function () { return this; }, i;\\\\r\\\\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \\\\\\"return\\\\\\" } : f ? f(v) : v; } : f; }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __asyncValues(o) {\\\\r\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\"Symbol.asyncIterator is not defined.\\\\\\");\\\\r\\\\n var m = o[Symbol.asyncIterator], i;\\\\r\\\\n return m ? m.call(o) : (o = typeof __values === \\\\\\"function\\\\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\\\\"next\\\\\\"), verb(\\\\\\"throw\\\\\\"), verb(\\\\\\"return\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\\\r\\\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\\\r\\\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __makeTemplateObject(cooked, raw) {\\\\r\\\\n if (Object.defineProperty) { Object.defineProperty(cooked, \\\\\\"raw\\\\\\", { value: raw }); } else { cooked.raw = raw; }\\\\r\\\\n return cooked;\\\\r\\\\n};\\\\r\\\\n\\\\r\\\\nexport function __importStar(mod) {\\\\r\\\\n if (mod && mod.__esModule) return mod;\\\\r\\\\n var result = {};\\\\r\\\\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\\\\r\\\\n result.default = mod;\\\\r\\\\n return result;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __importDefault(mod) {\\\\r\\\\n return (mod && mod.__esModule) ? mod : { default: mod };\\\\r\\\\n}\\\\r\\\\n\\"],\\"names\\":[\\"Greeter\\",\\"message\\",\\"greeting\\",\\"greet\\",\\"this\\",\\"decorators\\",\\"target\\",\\"key\\",\\"desc\\",\\"d\\",\\"c\\",\\"arguments\\",\\"length\\",\\"r\\",\\"Object\\",\\"getOwnPropertyDescriptor\\",\\"Reflect\\",\\"decorate\\",\\"i\\",\\"defineProperty\\",\\"constructor\\",\\"seal\\",\\"prototype\\"],\\"mappings\\":\\"AAMA,IAAMA,EAAO,sBAEAC,QACNC,SAAWD,qBAEjBE,MAAA,iBACQ,UAAYC,KAAKF,YANb,KAUE,IAVTF,WC4CqBK,EAAYC,EAAQC,EAAKC,OAC2EC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,KAC9F,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,UACzIH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,IDtDhE,SAAgBO,GACfN,OAAOO,KAAKD,GACZN,OAAOO,KAAKD,EAAYE,aAInBtB,IAUqB\\"}"`; + +exports[`fixtures class-decorators-ts 4`] = ` +"var e=function(){function e(e){this.greeting=e}return e.prototype.greet=function(){return\\"Hello, \\"+this.greeting},e}();export default new(e=function(e,t,r,n){var o,c=arguments.length,l=c<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,n);else for(var f=e.length-1;f>=0;f--)(o=e[f])&&(l=(c<3?o(l):c>3?o(t,r,l):o(t,r))||l);return c>3&&l&&Object.defineProperty(t,r,l),l}([function(e){Object.seal(e),Object.seal(e.prototype)}],e))(\\"Hello World\\"); +//# sourceMappingURL=class-decorators-ts.mjs.map +" +`; + +exports[`fixtures class-decorators-ts 5`] = `"{\\"version\\":3,\\"file\\":\\"class-decorators-ts.mjs\\",\\"sources\\":[\\"../src/index.ts\\",\\"../../../../node_modules/tslib/tslib.es6.js\\"],\\"sourcesContent\\":[\\"function sealed(constructor: Function) {\\\\n\\\\tObject.seal(constructor);\\\\n\\\\tObject.seal(constructor.prototype);\\\\n}\\\\n\\\\n@sealed\\\\nclass Greeter {\\\\n\\\\tgreeting: string;\\\\n\\\\tconstructor(message: string) {\\\\n\\\\t\\\\tthis.greeting = message;\\\\n\\\\t}\\\\n\\\\tgreet() {\\\\n\\\\t\\\\treturn 'Hello, ' + this.greeting;\\\\n\\\\t}\\\\n}\\\\n\\\\nexport default new Greeter('Hello World');\\\\n\\",\\"/*! *****************************************************************************\\\\r\\\\nCopyright (c) Microsoft Corporation. All rights reserved.\\\\r\\\\nLicensed under the Apache License, Version 2.0 (the \\\\\\"License\\\\\\"); you may not use\\\\r\\\\nthis file except in compliance with the License. You may obtain a copy of the\\\\r\\\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\\\r\\\\n\\\\r\\\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\\\r\\\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\\\r\\\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\\\r\\\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\\\r\\\\n\\\\r\\\\nSee the Apache Version 2.0 License for specific language governing permissions\\\\r\\\\nand limitations under the License.\\\\r\\\\n***************************************************************************** */\\\\r\\\\n/* global Reflect, Promise */\\\\r\\\\n\\\\r\\\\nvar extendStatics = function(d, b) {\\\\r\\\\n extendStatics = Object.setPrototypeOf ||\\\\r\\\\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\\\\r\\\\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\\\\r\\\\n return extendStatics(d, b);\\\\r\\\\n};\\\\r\\\\n\\\\r\\\\nexport function __extends(d, b) {\\\\r\\\\n extendStatics(d, b);\\\\r\\\\n function __() { this.constructor = d; }\\\\r\\\\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport var __assign = function() {\\\\r\\\\n __assign = Object.assign || function __assign(t) {\\\\r\\\\n for (var s, i = 1, n = arguments.length; i < n; i++) {\\\\r\\\\n s = arguments[i];\\\\r\\\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\\\\r\\\\n }\\\\r\\\\n return t;\\\\r\\\\n }\\\\r\\\\n return __assign.apply(this, arguments);\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __rest(s, e) {\\\\r\\\\n var t = {};\\\\r\\\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\\\\r\\\\n t[p] = s[p];\\\\r\\\\n if (s != null && typeof Object.getOwnPropertySymbols === \\\\\\"function\\\\\\")\\\\r\\\\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\\\\r\\\\n t[p[i]] = s[p[i]];\\\\r\\\\n return t;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __decorate(decorators, target, key, desc) {\\\\r\\\\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\\\\r\\\\n if (typeof Reflect === \\\\\\"object\\\\\\" && typeof Reflect.decorate === \\\\\\"function\\\\\\") r = Reflect.decorate(decorators, target, key, desc);\\\\r\\\\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\\\\r\\\\n return c > 3 && r && Object.defineProperty(target, key, r), r;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __param(paramIndex, decorator) {\\\\r\\\\n return function (target, key) { decorator(target, key, paramIndex); }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __metadata(metadataKey, metadataValue) {\\\\r\\\\n if (typeof Reflect === \\\\\\"object\\\\\\" && typeof Reflect.metadata === \\\\\\"function\\\\\\") return Reflect.metadata(metadataKey, metadataValue);\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __awaiter(thisArg, _arguments, P, generator) {\\\\r\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\r\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\r\\\\n function rejected(value) { try { step(generator[\\\\\\"throw\\\\\\"](value)); } catch (e) { reject(e); } }\\\\r\\\\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\\\\r\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\r\\\\n });\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __generator(thisArg, body) {\\\\r\\\\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\\\\r\\\\n return g = { next: verb(0), \\\\\\"throw\\\\\\": verb(1), \\\\\\"return\\\\\\": verb(2) }, typeof Symbol === \\\\\\"function\\\\\\" && (g[Symbol.iterator] = function() { return this; }), g;\\\\r\\\\n function verb(n) { return function (v) { return step([n, v]); }; }\\\\r\\\\n function step(op) {\\\\r\\\\n if (f) throw new TypeError(\\\\\\"Generator is already executing.\\\\\\");\\\\r\\\\n while (_) try {\\\\r\\\\n if (f = 1, y && (t = op[0] & 2 ? y[\\\\\\"return\\\\\\"] : op[0] ? y[\\\\\\"throw\\\\\\"] || ((t = y[\\\\\\"return\\\\\\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\\\\r\\\\n if (y = 0, t) op = [op[0] & 2, t.value];\\\\r\\\\n switch (op[0]) {\\\\r\\\\n case 0: case 1: t = op; break;\\\\r\\\\n case 4: _.label++; return { value: op[1], done: false };\\\\r\\\\n case 5: _.label++; y = op[1]; op = [0]; continue;\\\\r\\\\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\\\\r\\\\n default:\\\\r\\\\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\\\\r\\\\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\\\\r\\\\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\\\\r\\\\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\\\\r\\\\n if (t[2]) _.ops.pop();\\\\r\\\\n _.trys.pop(); continue;\\\\r\\\\n }\\\\r\\\\n op = body.call(thisArg, _);\\\\r\\\\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\\\\r\\\\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\\\\r\\\\n }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __exportStar(m, exports) {\\\\r\\\\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __values(o) {\\\\r\\\\n var m = typeof Symbol === \\\\\\"function\\\\\\" && o[Symbol.iterator], i = 0;\\\\r\\\\n if (m) return m.call(o);\\\\r\\\\n return {\\\\r\\\\n next: function () {\\\\r\\\\n if (o && i >= o.length) o = void 0;\\\\r\\\\n return { value: o && o[i++], done: !o };\\\\r\\\\n }\\\\r\\\\n };\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __read(o, n) {\\\\r\\\\n var m = typeof Symbol === \\\\\\"function\\\\\\" && o[Symbol.iterator];\\\\r\\\\n if (!m) return o;\\\\r\\\\n var i = m.call(o), r, ar = [], e;\\\\r\\\\n try {\\\\r\\\\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\\\\r\\\\n }\\\\r\\\\n catch (error) { e = { error: error }; }\\\\r\\\\n finally {\\\\r\\\\n try {\\\\r\\\\n if (r && !r.done && (m = i[\\\\\\"return\\\\\\"])) m.call(i);\\\\r\\\\n }\\\\r\\\\n finally { if (e) throw e.error; }\\\\r\\\\n }\\\\r\\\\n return ar;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __spread() {\\\\r\\\\n for (var ar = [], i = 0; i < arguments.length; i++)\\\\r\\\\n ar = ar.concat(__read(arguments[i]));\\\\r\\\\n return ar;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __await(v) {\\\\r\\\\n return this instanceof __await ? (this.v = v, this) : new __await(v);\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __asyncGenerator(thisArg, _arguments, generator) {\\\\r\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\"Symbol.asyncIterator is not defined.\\\\\\");\\\\r\\\\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\\\\r\\\\n return i = {}, verb(\\\\\\"next\\\\\\"), verb(\\\\\\"throw\\\\\\"), verb(\\\\\\"return\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i;\\\\r\\\\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\\\\r\\\\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\\\\r\\\\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\\\\r\\\\n function fulfill(value) { resume(\\\\\\"next\\\\\\", value); }\\\\r\\\\n function reject(value) { resume(\\\\\\"throw\\\\\\", value); }\\\\r\\\\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __asyncDelegator(o) {\\\\r\\\\n var i, p;\\\\r\\\\n return i = {}, verb(\\\\\\"next\\\\\\"), verb(\\\\\\"throw\\\\\\", function (e) { throw e; }), verb(\\\\\\"return\\\\\\"), i[Symbol.iterator] = function () { return this; }, i;\\\\r\\\\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \\\\\\"return\\\\\\" } : f ? f(v) : v; } : f; }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __asyncValues(o) {\\\\r\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\"Symbol.asyncIterator is not defined.\\\\\\");\\\\r\\\\n var m = o[Symbol.asyncIterator], i;\\\\r\\\\n return m ? m.call(o) : (o = typeof __values === \\\\\\"function\\\\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\\\\"next\\\\\\"), verb(\\\\\\"throw\\\\\\"), verb(\\\\\\"return\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\\\r\\\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\\\r\\\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __makeTemplateObject(cooked, raw) {\\\\r\\\\n if (Object.defineProperty) { Object.defineProperty(cooked, \\\\\\"raw\\\\\\", { value: raw }); } else { cooked.raw = raw; }\\\\r\\\\n return cooked;\\\\r\\\\n};\\\\r\\\\n\\\\r\\\\nexport function __importStar(mod) {\\\\r\\\\n if (mod && mod.__esModule) return mod;\\\\r\\\\n var result = {};\\\\r\\\\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\\\\r\\\\n result.default = mod;\\\\r\\\\n return result;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __importDefault(mod) {\\\\r\\\\n return (mod && mod.__esModule) ? mod : { default: mod };\\\\r\\\\n}\\\\r\\\\n\\"],\\"names\\":[\\"Greeter\\",\\"message\\",\\"greeting\\",\\"greet\\",\\"this\\",\\"decorators\\",\\"target\\",\\"key\\",\\"desc\\",\\"d\\",\\"c\\",\\"arguments\\",\\"length\\",\\"r\\",\\"Object\\",\\"getOwnPropertyDescriptor\\",\\"Reflect\\",\\"decorate\\",\\"i\\",\\"defineProperty\\",\\"constructor\\",\\"seal\\",\\"prototype\\"],\\"mappings\\":\\"AAMA,IAAMA,EAAO,sBAEAC,QACNC,SAAWD,qBAEjBE,MAAA,iBACQ,UAAYC,KAAKF,YANb,kBAUE,IAVTF,WC4CqBK,EAAYC,EAAQC,EAAKC,OAC2EC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,KAC9F,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,UACzIH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,IDtDhE,SAAgBO,GACfN,OAAOO,KAAKD,GACZN,OAAOO,KAAKD,EAAYE,aAInBtB,IAUqB\\"}"`; + +exports[`fixtures class-decorators-ts 6`] = ` +"!function(e,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=t():\\"function\\"==typeof define&&define.amd?define(t):e.classDecoratorsTs=t()}(this,function(){var e=function(){function e(e){this.greeting=e}return e.prototype.greet=function(){return\\"Hello, \\"+this.greeting},e}();return new(e=function(e,t,n,o){var r,f=arguments.length,c=f<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(c=(f<3?r(c):f>3?r(t,n,c):r(t,n))||c);return f>3&&c&&Object.defineProperty(t,n,c),c}([function(e){Object.seal(e),Object.seal(e.prototype)}],e))(\\"Hello World\\")}); +//# sourceMappingURL=class-decorators-ts.umd.js.map +" +`; + +exports[`fixtures class-decorators-ts 7`] = `"{\\"version\\":3,\\"file\\":\\"class-decorators-ts.umd.js\\",\\"sources\\":[\\"../src/index.ts\\",\\"../../../../node_modules/tslib/tslib.es6.js\\"],\\"sourcesContent\\":[\\"function sealed(constructor: Function) {\\\\n\\\\tObject.seal(constructor);\\\\n\\\\tObject.seal(constructor.prototype);\\\\n}\\\\n\\\\n@sealed\\\\nclass Greeter {\\\\n\\\\tgreeting: string;\\\\n\\\\tconstructor(message: string) {\\\\n\\\\t\\\\tthis.greeting = message;\\\\n\\\\t}\\\\n\\\\tgreet() {\\\\n\\\\t\\\\treturn 'Hello, ' + this.greeting;\\\\n\\\\t}\\\\n}\\\\n\\\\nexport default new Greeter('Hello World');\\\\n\\",\\"/*! *****************************************************************************\\\\r\\\\nCopyright (c) Microsoft Corporation. All rights reserved.\\\\r\\\\nLicensed under the Apache License, Version 2.0 (the \\\\\\"License\\\\\\"); you may not use\\\\r\\\\nthis file except in compliance with the License. You may obtain a copy of the\\\\r\\\\nLicense at http://www.apache.org/licenses/LICENSE-2.0\\\\r\\\\n\\\\r\\\\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\\\r\\\\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\\\\r\\\\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\\\\r\\\\nMERCHANTABLITY OR NON-INFRINGEMENT.\\\\r\\\\n\\\\r\\\\nSee the Apache Version 2.0 License for specific language governing permissions\\\\r\\\\nand limitations under the License.\\\\r\\\\n***************************************************************************** */\\\\r\\\\n/* global Reflect, Promise */\\\\r\\\\n\\\\r\\\\nvar extendStatics = function(d, b) {\\\\r\\\\n extendStatics = Object.setPrototypeOf ||\\\\r\\\\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\\\\r\\\\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\\\\r\\\\n return extendStatics(d, b);\\\\r\\\\n};\\\\r\\\\n\\\\r\\\\nexport function __extends(d, b) {\\\\r\\\\n extendStatics(d, b);\\\\r\\\\n function __() { this.constructor = d; }\\\\r\\\\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport var __assign = function() {\\\\r\\\\n __assign = Object.assign || function __assign(t) {\\\\r\\\\n for (var s, i = 1, n = arguments.length; i < n; i++) {\\\\r\\\\n s = arguments[i];\\\\r\\\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\\\\r\\\\n }\\\\r\\\\n return t;\\\\r\\\\n }\\\\r\\\\n return __assign.apply(this, arguments);\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __rest(s, e) {\\\\r\\\\n var t = {};\\\\r\\\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\\\\r\\\\n t[p] = s[p];\\\\r\\\\n if (s != null && typeof Object.getOwnPropertySymbols === \\\\\\"function\\\\\\")\\\\r\\\\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\\\\r\\\\n t[p[i]] = s[p[i]];\\\\r\\\\n return t;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __decorate(decorators, target, key, desc) {\\\\r\\\\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\\\\r\\\\n if (typeof Reflect === \\\\\\"object\\\\\\" && typeof Reflect.decorate === \\\\\\"function\\\\\\") r = Reflect.decorate(decorators, target, key, desc);\\\\r\\\\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\\\\r\\\\n return c > 3 && r && Object.defineProperty(target, key, r), r;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __param(paramIndex, decorator) {\\\\r\\\\n return function (target, key) { decorator(target, key, paramIndex); }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __metadata(metadataKey, metadataValue) {\\\\r\\\\n if (typeof Reflect === \\\\\\"object\\\\\\" && typeof Reflect.metadata === \\\\\\"function\\\\\\") return Reflect.metadata(metadataKey, metadataValue);\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __awaiter(thisArg, _arguments, P, generator) {\\\\r\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\r\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\r\\\\n function rejected(value) { try { step(generator[\\\\\\"throw\\\\\\"](value)); } catch (e) { reject(e); } }\\\\r\\\\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\\\\r\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\r\\\\n });\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __generator(thisArg, body) {\\\\r\\\\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\\\\r\\\\n return g = { next: verb(0), \\\\\\"throw\\\\\\": verb(1), \\\\\\"return\\\\\\": verb(2) }, typeof Symbol === \\\\\\"function\\\\\\" && (g[Symbol.iterator] = function() { return this; }), g;\\\\r\\\\n function verb(n) { return function (v) { return step([n, v]); }; }\\\\r\\\\n function step(op) {\\\\r\\\\n if (f) throw new TypeError(\\\\\\"Generator is already executing.\\\\\\");\\\\r\\\\n while (_) try {\\\\r\\\\n if (f = 1, y && (t = op[0] & 2 ? y[\\\\\\"return\\\\\\"] : op[0] ? y[\\\\\\"throw\\\\\\"] || ((t = y[\\\\\\"return\\\\\\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\\\\r\\\\n if (y = 0, t) op = [op[0] & 2, t.value];\\\\r\\\\n switch (op[0]) {\\\\r\\\\n case 0: case 1: t = op; break;\\\\r\\\\n case 4: _.label++; return { value: op[1], done: false };\\\\r\\\\n case 5: _.label++; y = op[1]; op = [0]; continue;\\\\r\\\\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\\\\r\\\\n default:\\\\r\\\\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\\\\r\\\\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\\\\r\\\\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\\\\r\\\\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\\\\r\\\\n if (t[2]) _.ops.pop();\\\\r\\\\n _.trys.pop(); continue;\\\\r\\\\n }\\\\r\\\\n op = body.call(thisArg, _);\\\\r\\\\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\\\\r\\\\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\\\\r\\\\n }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __exportStar(m, exports) {\\\\r\\\\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __values(o) {\\\\r\\\\n var m = typeof Symbol === \\\\\\"function\\\\\\" && o[Symbol.iterator], i = 0;\\\\r\\\\n if (m) return m.call(o);\\\\r\\\\n return {\\\\r\\\\n next: function () {\\\\r\\\\n if (o && i >= o.length) o = void 0;\\\\r\\\\n return { value: o && o[i++], done: !o };\\\\r\\\\n }\\\\r\\\\n };\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __read(o, n) {\\\\r\\\\n var m = typeof Symbol === \\\\\\"function\\\\\\" && o[Symbol.iterator];\\\\r\\\\n if (!m) return o;\\\\r\\\\n var i = m.call(o), r, ar = [], e;\\\\r\\\\n try {\\\\r\\\\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\\\\r\\\\n }\\\\r\\\\n catch (error) { e = { error: error }; }\\\\r\\\\n finally {\\\\r\\\\n try {\\\\r\\\\n if (r && !r.done && (m = i[\\\\\\"return\\\\\\"])) m.call(i);\\\\r\\\\n }\\\\r\\\\n finally { if (e) throw e.error; }\\\\r\\\\n }\\\\r\\\\n return ar;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __spread() {\\\\r\\\\n for (var ar = [], i = 0; i < arguments.length; i++)\\\\r\\\\n ar = ar.concat(__read(arguments[i]));\\\\r\\\\n return ar;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __await(v) {\\\\r\\\\n return this instanceof __await ? (this.v = v, this) : new __await(v);\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __asyncGenerator(thisArg, _arguments, generator) {\\\\r\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\"Symbol.asyncIterator is not defined.\\\\\\");\\\\r\\\\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\\\\r\\\\n return i = {}, verb(\\\\\\"next\\\\\\"), verb(\\\\\\"throw\\\\\\"), verb(\\\\\\"return\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i;\\\\r\\\\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\\\\r\\\\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\\\\r\\\\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\\\\r\\\\n function fulfill(value) { resume(\\\\\\"next\\\\\\", value); }\\\\r\\\\n function reject(value) { resume(\\\\\\"throw\\\\\\", value); }\\\\r\\\\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __asyncDelegator(o) {\\\\r\\\\n var i, p;\\\\r\\\\n return i = {}, verb(\\\\\\"next\\\\\\"), verb(\\\\\\"throw\\\\\\", function (e) { throw e; }), verb(\\\\\\"return\\\\\\"), i[Symbol.iterator] = function () { return this; }, i;\\\\r\\\\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \\\\\\"return\\\\\\" } : f ? f(v) : v; } : f; }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __asyncValues(o) {\\\\r\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\"Symbol.asyncIterator is not defined.\\\\\\");\\\\r\\\\n var m = o[Symbol.asyncIterator], i;\\\\r\\\\n return m ? m.call(o) : (o = typeof __values === \\\\\\"function\\\\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\\\\"next\\\\\\"), verb(\\\\\\"throw\\\\\\"), verb(\\\\\\"return\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\\\r\\\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\\\r\\\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __makeTemplateObject(cooked, raw) {\\\\r\\\\n if (Object.defineProperty) { Object.defineProperty(cooked, \\\\\\"raw\\\\\\", { value: raw }); } else { cooked.raw = raw; }\\\\r\\\\n return cooked;\\\\r\\\\n};\\\\r\\\\n\\\\r\\\\nexport function __importStar(mod) {\\\\r\\\\n if (mod && mod.__esModule) return mod;\\\\r\\\\n var result = {};\\\\r\\\\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\\\\r\\\\n result.default = mod;\\\\r\\\\n return result;\\\\r\\\\n}\\\\r\\\\n\\\\r\\\\nexport function __importDefault(mod) {\\\\r\\\\n return (mod && mod.__esModule) ? mod : { default: mod };\\\\r\\\\n}\\\\r\\\\n\\"],\\"names\\":[\\"Greeter\\",\\"message\\",\\"greeting\\",\\"greet\\",\\"this\\",\\"decorators\\",\\"target\\",\\"key\\",\\"desc\\",\\"d\\",\\"c\\",\\"arguments\\",\\"length\\",\\"r\\",\\"Object\\",\\"getOwnPropertyDescriptor\\",\\"Reflect\\",\\"decorate\\",\\"i\\",\\"defineProperty\\",\\"constructor\\",\\"seal\\",\\"prototype\\"],\\"mappings\\":\\"gLAMA,IAAMA,EAAO,sBAEAC,QACNC,SAAWD,qBAEjBE,MAAA,iBACQ,UAAYC,KAAKF,YANb,UAUE,IAVTF,EC4CC,SAAoBK,EAAYC,EAAQC,EAAKC,OAC2EC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,KAC9F,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,UACzIH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,IDtDhE,SAAgBO,GACfN,OAAOO,KAAKD,GACZN,OAAOO,KAAKD,EAAYE,aAInBtB,IAUqB\\"}"`; + +exports[`fixtures class-decorators-ts 8`] = ` +"declare class Greeter { + greeting: string; + constructor(message: string); + greet(): string; +} +declare const _default: Greeter; +export default _default; +" +`; + exports[`fixtures class-properties 1`] = ` "Used script: microbundle @@ -289,6 +590,30 @@ Build \\"classProperties\\" to dist: 145 B: class-properties.umd.js.br" `; +exports[`fixtures class-properties 2`] = ` +"var a=function(){this.baz=3};a.bar=2;var o=new a;exports.Foo=a,exports.default=o; +//# sourceMappingURL=class-properties.js.map +" +`; + +exports[`fixtures class-properties 3`] = `"{\\"version\\":3,\\"file\\":\\"class-properties.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"export class Foo {\\\\n\\\\tstatic bar = 2;\\\\n\\\\tbaz = 3;\\\\n}\\\\n\\\\nexport default new Foo();\\\\n\\"],\\"names\\":[\\"Foo\\",\\"baz\\",\\"bar\\"],\\"mappings\\":\\"IAAaA,kBAEZC,IAAM,GAFMD,EACLE,IAAM,EAId,MAAe,IAAIF\\"}"`; + +exports[`fixtures class-properties 4`] = ` +"var t=function(){this.baz=3};t.bar=2;export default new t;export{t as Foo}; +//# sourceMappingURL=class-properties.mjs.map +" +`; + +exports[`fixtures class-properties 5`] = `"{\\"version\\":3,\\"file\\":\\"class-properties.mjs\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"export class Foo {\\\\n\\\\tstatic bar = 2;\\\\n\\\\tbaz = 3;\\\\n}\\\\n\\\\nexport default new Foo();\\\\n\\"],\\"names\\":[\\"Foo\\",\\"baz\\",\\"bar\\"],\\"mappings\\":\\"IAAaA,kBAEZC,IAAM,GAFMD,EACLE,IAAM,iBAIC,IAAIF\\"}"`; + +exports[`fixtures class-properties 6`] = ` +"!function(e,o){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?o(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],o):o(e.classProperties={})}(this,function(e){var o=function(){this.baz=3};o.bar=2;var t=new o;e.Foo=o,e.default=t}); +//# sourceMappingURL=class-properties.umd.js.map +" +`; + +exports[`fixtures class-properties 7`] = `"{\\"version\\":3,\\"file\\":\\"class-properties.umd.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"export class Foo {\\\\n\\\\tstatic bar = 2;\\\\n\\\\tbaz = 3;\\\\n}\\\\n\\\\nexport default new Foo();\\\\n\\"],\\"names\\":[\\"Foo\\",\\"baz\\",\\"bar\\"],\\"mappings\\":\\"yLAAaA,kBAEZC,IAAM,GAFMD,EACLE,IAAM,QAIC,IAAIF\\"}"`; + exports[`fixtures custom-source 1`] = ` "Used script: microbundle @@ -317,25 +642,47 @@ Build \\"customSource\\" to dist: 235 B: custom-source.umd.js.br" `; +exports[`fixtures custom-source 2`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures custom-source 4`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),t=0;t total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures custom-source 6`] = ` +"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):e.customSource=r()}(this,function(){var e=function(){try{for(var e=arguments.length,r=new Array(e),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"+KAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,qFCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + exports[`fixtures custom-source-with-cwd 1`] = ` -"Used script: microbundle --cwd ./custom-source +"Used script: microbundle Directory tree: -custom-source-with-cwd - custom-source - dist - custom-src.js - custom-src.js.map - custom-src.mjs - custom-src.mjs.map - custom-src.umd.js - custom-src.umd.js.map - package.json - src - custom-source.js - two.js +custom-source + dist + custom-src.js + custom-src.js.map + custom-src.mjs + custom-src.mjs.map + custom-src.umd.js + custom-src.umd.js.map package.json + src + custom-source.js + two.js Build \\"customSrc\\" to dist: @@ -347,6 +694,119 @@ Build \\"customSrc\\" to dist: 243 B: custom-src.umd.js.br" `; +exports[`fixtures custom-source-with-cwd 2`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures custom-source-with-cwd 4`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),t=0;t total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures custom-source-with-cwd 6`] = ` +"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):e.customSrc=r()}(this,function(){var e=function(){try{for(var e=arguments.length,r=new Array(e),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"4KAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,qFCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures default-named 1`] = ` +"Used script: microbundle + +Directory tree: + +default-named + dist + default-named.js + default-named.js.map + default-named.mjs + default-named.mjs.map + default-named.umd.js + default-named.umd.js.map + package.json + src + index.js + + +Build \\"defaultNamed\\" to dist: +59 B: default-named.js.gz +42 B: default-named.js.br +70 B: default-named.mjs.gz +58 B: default-named.mjs.br +162 B: default-named.umd.js.gz +124 B: default-named.umd.js.br" +`; + +exports[`fixtures default-named 2`] = ` +"exports.foo=42,exports.default=function(){}; +//# sourceMappingURL=default-named.js.map +" +`; + +exports[`fixtures default-named 3`] = `"{\\"version\\":3,\\"file\\":\\"default-named.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"export const foo = 42;\\\\nexport default function bar() {}\\\\n\\"],\\"names\\":[],\\"mappings\\":\\"YAAmB,mBACnB\\"}"`; + +exports[`fixtures default-named 4`] = ` +"var t=42;export default function(){}export{t as foo}; +//# sourceMappingURL=default-named.mjs.map +" +`; + +exports[`fixtures default-named 5`] = `"{\\"version\\":3,\\"file\\":\\"default-named.mjs\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"export const foo = 42;\\\\nexport default function bar() {}\\\\n\\"],\\"names\\":[\\"foo\\"],\\"mappings\\":\\"IAAaA,EAAM,kBACnB\\"}"`; + +exports[`fixtures default-named 6`] = ` +"!function(e,f){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?f(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],f):f(e.defaultNamed={})}(this,function(e){e.foo=42,e.default=function(){}}); +//# sourceMappingURL=default-named.umd.js.map +" +`; + +exports[`fixtures default-named 7`] = `"{\\"version\\":3,\\"file\\":\\"default-named.umd.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"export const foo = 42;\\\\nexport default function bar() {}\\\\n\\"],\\"names\\":[],\\"mappings\\":\\"wLAAmB,aACJ\\"}"`; + +exports[`fixtures define 1`] = ` +"Used script: microbundle --no-sourcemap --define DEBUG=false + +Directory tree: + +define + dist + alias.js + alias.mjs + alias.umd.js + index.js + package.json + + +Build \\"alias\\" to dist: +50 B: alias.js.gz +34 B: alias.js.br +50 B: alias.mjs.gz +34 B: alias.mjs.br +141 B: alias.umd.js.gz +105 B: alias.umd.js.br" +`; + +exports[`fixtures define 2`] = ` +"console.log(\\"debug mode\\",!1); +" +`; + +exports[`fixtures define 3`] = ` +"console.log(\\"debug mode\\",!1); +" +`; + +exports[`fixtures define 4`] = ` +"!function(e,o){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?o():\\"function\\"==typeof define&&define.amd?define(o):o()}(0,function(){console.log(\\"debug mode\\",!0)}); +" +`; + exports[`fixtures esnext-ts 1`] = ` "Used script: microbundle --raw @@ -368,12 +828,41 @@ esnext-ts Build \\"esnextTs\\" to dist: -966 B: esnext-ts.js.gz -868 B: esnext-ts.js.br -965 B: esnext-ts.mjs.gz -869 B: esnext-ts.mjs.br -1022 B: esnext-ts.umd.js.gz -920 B: esnext-ts.umd.js.br" +1312 B: esnext-ts.js.gz +1193 B: esnext-ts.js.br +1312 B: esnext-ts.mjs.gz +1197 B: esnext-ts.mjs.br +1372 B: esnext-ts.umd.js.gz +1245 B: esnext-ts.umd.js.br" +`; + +exports[`fixtures esnext-ts 2`] = ` +"var n=function(){function n(){}return n.prototype.then=function(e,r){var o=new n,i=this.s;if(i){var u=1&i?e:r;if(u){try{t(o,1,u(this.v))}catch(n){t(o,2,n)}return o}return this}return this.o=function(n){try{var i=n.v;1&n.s?t(o,1,e?e(i):i):r?t(o,1,r(i)):t(o,2,i)}catch(n){t(o,2,n)}},o},n}();function t(e,r,o){if(!e.s){if(o instanceof n){if(!o.s)return void(o.o=t.bind(null,e,r));1&r&&(r=o.s),o=o.v}if(o&&o.then)return void o.then(t.bind(null,e,r),t.bind(null,e,2));e.s=r,e.v=o;var i=e.o;i&&i(e)}}function e(t){return t instanceof n&&1&t.s}function r(n,t){try{var e=n()}catch(n){return t(!0,n)}return e&&e.then?e.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}var o={},i=(function(){function e(n){this._entry=n,this._pact=null,this._resolve=null,this._return=null,this._promise=null}function r(n){return{value:n,done:!0}}function i(n){return{value:n,done:!1}}e.prototype[Symbol.asyncIterator||(Symbol.asyncIterator=Symbol(\\"Symbol.asyncIterator\\"))]=function(){return this},e.prototype._yield=function(t){return this._resolve(t&&t.then?t.then(i):i(t)),this._pact=new n},e.prototype.next=function(e){var i=this;return i._promise=new Promise(function(u){var l=i._pact;if(null===l){var c=function(n){i._resolve(n&&n.then?n.then(r):r(n)),i._pact=null,i._resolve=null},f=i._entry;if(null===f)return u(i._promise);i._entry=null,i._resolve=u,f(i).then(c,function(t){if(t===o)c(i._return);else{var e=new n;i._resolve(e),i._pact=null,i._resolve=null,_resolve(e,2,t)}})}else i._pact=null,i._resolve=u,t(l,1,e)})},e.prototype.return=function(n){var e=this;return e._promise=new Promise(function(i){var u=e._pact;if(null===u)return null===e._entry?i(e._promise):(e._entry=null,i(n&&n.then?n.then(r):r(n)));e._return=n,e._resolve=i,e._pact=null,t(u,2,o)})},e.prototype.throw=function(n){var e=this;return e._promise=new Promise(function(r,o){var i=e._pact;if(null===i)return null===e._entry?r(e._promise):(e._entry=null,o(n));e._resolve=r,e._pact=null,t(i,2,n)})}}(),function(){try{var o,i,u,l,c=[],f=!0,h=!1,s=r(function(){return function(r,l){try{var h=function(){o=function(n){var t;if(\\"function\\"==typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\"Object is not async iterable\\")}([1,2]);var r=function(r,o,i){for(var u;;){var l=r();if(e(l)&&(l=l.v),!l)return c;if(l.then){u=0;break}var c=i();if(c&&c.then){if(!e(c)){u=1;break}c=c.s}if(o){var f=o();if(f&&f.then&&!e(f)){u=2;break}}}var h=new n,s=t.bind(null,h,2);return(0===u?l.then(v):1===u?c.then(a):f.then(_)).then(void 0,s),h;function a(n){c=n;do{if(o&&(f=o())&&f.then&&!e(f))return void f.then(_).then(void 0,s);if(!(l=r())||e(l)&&!l.v)return void t(h,1,c);if(l.then)return void l.then(v).then(void 0,s);e(c=i())&&(c=c.v)}while(!c||!c.then);c.then(a).then(void 0,s)}function v(n){n?(c=i())&&c.then?c.then(a).then(void 0,s):a(c):t(h,1,c)}function _(){(l=r())?l.then?l.then(v).then(void 0,s):v(l):t(h,1,c)}}(function(){return!!Promise.resolve(o.next()).then(function(n){return f=i.done,i=n,Promise.resolve(i.value).then(function(n){return u=n,!f})})},function(){return!!(f=!0)},function(){c.push(u)});if(r&&r.then)return r.then(function(){})}()}catch(n){return l(n)}return h&&h.then?h.then(void 0,l):h}(0,function(n){h=!0,l=n})},function(n,t){function e(e){if(n)throw t;return t}var i=r(function(){var n=function(){if(!f&&null!=o.return)return Promise.resolve(o.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(h)throw l;if(n)throw t;return t});return i&&i.then?i.then(e):e()});return Promise.resolve(s&&s.then?s.then(function(n){return c}):c)}catch(n){return Promise.reject(n)}});i().then(console.log),module.exports=i; +//# sourceMappingURL=esnext-ts.js.map +" +`; + +exports[`fixtures esnext-ts 3`] = `"{\\"version\\":3,\\"file\\":\\"esnext-ts.js\\",\\"sources\\":[\\"../../../../node_modules/babel-plugin-transform-async-to-promises/helpers.js\\",\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"// A type of promise-like that resolves synchronously and supports only one observer\\\\nexport const _Pact = (function() {\\\\n\\\\tfunction _Pact() {}\\\\n\\\\t_Pact.prototype.then = function(onFulfilled, onRejected) {\\\\n\\\\t\\\\tconst result = new _Pact();\\\\n\\\\t\\\\tconst state = this.s;\\\\n\\\\t\\\\tif (state) {\\\\n\\\\t\\\\t\\\\tconst callback = state & 1 ? onFulfilled : onRejected;\\\\n\\\\t\\\\t\\\\tif (callback) {\\\\n\\\\t\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 1, callback(this.v));\\\\n\\\\t\\\\t\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 2, e);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\treturn this;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tthis.o = function(_this) {\\\\n\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\tconst value = _this.v;\\\\n\\\\t\\\\t\\\\t\\\\tif (_this.s & 1) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 1, onFulfilled ? onFulfilled(value) : value);\\\\n\\\\t\\\\t\\\\t\\\\t} else if (onRejected) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 1, onRejected(value));\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 2, value);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(result, 2, e);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\treturn result;\\\\n\\\\t}\\\\n\\\\treturn _Pact;\\\\n})();\\\\n\\\\n// Settles a pact synchronously\\\\nexport function _settle(pact, state, value) {\\\\n\\\\tif (!pact.s) {\\\\n\\\\t\\\\tif (value instanceof _Pact) {\\\\n\\\\t\\\\t\\\\tif (value.s) {\\\\n\\\\t\\\\t\\\\t\\\\tif (state & 1) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tstate = value.s;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tvalue = value.v;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tvalue.o = _settle.bind(null, pact, state);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (value && value.then) {\\\\n\\\\t\\\\t\\\\tvalue.then(_settle.bind(null, pact, state), _settle.bind(null, pact, 2));\\\\n\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tpact.s = state;\\\\n\\\\t\\\\tpact.v = value;\\\\n\\\\t\\\\tconst observer = pact.o;\\\\n\\\\t\\\\tif (observer) {\\\\n\\\\t\\\\t\\\\tobserver(pact);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\nexport function _isSettledPact(thenable) {\\\\n\\\\treturn thenable instanceof _Pact && thenable.s & 1;\\\\n}\\\\n\\\\n// Converts argument to a function that always returns a Promise\\\\nexport function _async(f) {\\\\n\\\\treturn function() {\\\\n\\\\t\\\\tfor (var args = [], i = 0; i < arguments.length; i++) {\\\\n\\\\t\\\\t\\\\targs[i] = arguments[i];\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\treturn Promise.resolve(f.apply(this, args));\\\\n\\\\t\\\\t} catch(e) {\\\\n\\\\t\\\\t\\\\treturn Promise.reject(e);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\n// Awaits on a value that may or may not be a Promise (equivalent to the await keyword in ES2015, with continuations passed explicitly)\\\\nexport function _await(value, then, direct) {\\\\n\\\\tif (direct) {\\\\n\\\\t\\\\treturn then ? then(value) : value;\\\\n\\\\t}\\\\n\\\\tif (!value || !value.then) {\\\\n\\\\t\\\\tvalue = Promise.resolve(value);\\\\n\\\\t}\\\\n\\\\treturn then ? value.then(then) : value;\\\\n}\\\\n\\\\n// Awaits on a value that may or may not be a Promise, then ignores it\\\\nexport function _awaitIgnored(value, direct) {\\\\n\\\\tif (!direct) {\\\\n\\\\t\\\\treturn value && value.then ? value.then(_empty) : Promise.resolve();\\\\n\\\\t}\\\\n}\\\\n\\\\n// Proceeds after a value has resolved, or proceeds immediately if the value is not thenable\\\\nexport function _continue(value, then) {\\\\n\\\\treturn value && value.then ? value.then(then) : then(value);\\\\n}\\\\n\\\\n// Proceeds after a value has resolved, or proceeds immediately if the value is not thenable\\\\nexport function _continueIgnored(value) {\\\\n\\\\tif (value && value.then) {\\\\n\\\\t\\\\treturn value.then(_empty);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously iterate through an object that has a length property, passing the index as the first argument to the callback (even as the length property changes)\\\\nexport function _forTo(array, body, check) {\\\\n\\\\tvar i = -1, pact, reject;\\\\n\\\\tfunction _cycle(result) {\\\\n\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\twhile (++i < array.length && (!check || !check())) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = body(i);\\\\n\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_cycle, reject || (reject = _settle.bind(null, pact = new _Pact(), 2)));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (pact) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tpact = result;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t_settle(pact || (pact = new Pact()), 2, e);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\t_cycle();\\\\n\\\\treturn pact;\\\\n}\\\\n\\\\n// Asynchronously iterate through an object's properties (including properties inherited from the prototype)\\\\n// Uses a snapshot of the object's properties\\\\nexport function _forIn(target, body, check) {\\\\n\\\\tvar keys = [];\\\\n\\\\tfor (var key in target) {\\\\n\\\\t\\\\tkeys.push(key);\\\\n\\\\t}\\\\n\\\\treturn _forTo(keys, function(i) { return body(keys[i]); }, check);\\\\n}\\\\n\\\\n// Asynchronously iterate through an object's own properties (excluding properties inherited from the prototype)\\\\n// Uses a snapshot of the object's properties\\\\nexport function _forOwn(target, body, check) {\\\\n\\\\tvar keys = [];\\\\n\\\\tfor (var key in target) {\\\\n\\\\t\\\\tif (Object.prototype.hasOwnProperty.call(target, key)) {\\\\n\\\\t\\\\t\\\\tkeys.push(key);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\treturn _forTo(keys, function(i) { return body(keys[i]); }, check);\\\\n}\\\\n\\\\n// Asynchronously iterate through an object's values\\\\n// Uses for...of if the runtime supports it, otherwise iterates until length on a copy\\\\nexport function _forOf(target, body, check) {\\\\n\\\\tif (typeof Symbol !== \\\\\\"undefined\\\\\\") {\\\\n\\\\t\\\\tvar iteratorSymbol = Symbol.iterator;\\\\n\\\\t\\\\tif (iteratorSymbol && (iteratorSymbol in target)) {\\\\n\\\\t\\\\t\\\\tvar iterator = target[iteratorSymbol](), step, pact, reject;\\\\n\\\\t\\\\t\\\\tfunction _cycle(result) {\\\\n\\\\t\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\twhile (!(step = iterator.next()).done && (!check || !check())) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = body(step.value);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_cycle, reject || (reject = _settle.bind(null, pact = new _Pact(), 2)));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (pact) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tpact = result;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact || (pact = new Pact()), 2, e);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t_cycle();\\\\n\\\\t\\\\t\\\\tif (iterator.return) {\\\\n\\\\t\\\\t\\\\t\\\\tvar _fixup = function(value) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (!step.done) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\titerator.return();\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} catch(e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn value;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (pact && pact.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn pact.then(_fixup, function(e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tthrow _fixup(e);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t});\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t_fixup();\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\treturn pact;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\t// No support for Symbol.iterator\\\\n\\\\tif (!(\\\\\\"length\\\\\\" in target)) {\\\\n\\\\t\\\\tthrow new TypeError(\\\\\\"value is not iterable\\\\\\");\\\\n\\\\t}\\\\n\\\\t// Handle live collections properly\\\\n\\\\tvar values = [];\\\\n\\\\tfor (var i = 0; i < target.length; i++) {\\\\n\\\\t\\\\tvalues.push(target[i]);\\\\n\\\\t}\\\\n\\\\treturn _forTo(values, function(i) { return body(values[i]); }, check);\\\\n}\\\\n\\\\n// Asynchronously iterate on a value using it's async iterator if present, or its synchronous iterator if missing\\\\nexport function _forAwaitOf(target, body, check) {\\\\n\\\\tif (typeof Symbol !== \\\\\\"undefined\\\\\\") {\\\\n\\\\t\\\\tvar asyncIteratorSymbol = Symbol.asyncIterator;\\\\n\\\\t\\\\tif (asyncIteratorSymbol && (asyncIteratorSymbol in target)) {\\\\n\\\\t\\\\t\\\\tvar pact = new _Pact();\\\\n\\\\t\\\\t\\\\tvar iterator = target[asyncIteratorSymbol]();\\\\n\\\\t\\\\t\\\\titerator.next().then(_resumeAfterNext).then(void 0, _reject);\\\\n\\\\t\\\\t\\\\treturn pact;\\\\n\\\\t\\\\t\\\\tfunction _resumeAfterBody(result) {\\\\n\\\\t\\\\t\\\\t\\\\tif (check && !check()) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn _settle(pact, 1, iterator.return ? iterator.return().then(function() { return result; }) : result);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\titerator.next().then(_resumeAfterNext).then(void 0, _reject);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tfunction _resumeAfterNext(step) {\\\\n\\\\t\\\\t\\\\t\\\\tif (step.done) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1);\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tPromise.resolve(body(step.value)).then(_resumeAfterBody).then(void 0, _reject);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tfunction _reject(error) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(pact, 2, iterator.return ? iterator.return().then(function() { return error; }) : error);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\treturn Promise.resolve(_forOf(target, function(value) { return Promise.resolve(value).then(body); }, check));\\\\n}\\\\n\\\\n// Asynchronously implement a generic for loop\\\\nexport function _for(test, update, body) {\\\\n\\\\tvar stage;\\\\n\\\\tfor (;;) {\\\\n\\\\t\\\\tvar shouldContinue = test();\\\\n\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\tstage = 0;\\\\n\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = result.s;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tstage = 1;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (update) {\\\\n\\\\t\\\\t\\\\tvar updateValue = update();\\\\n\\\\t\\\\t\\\\tif (updateValue && updateValue.then && !_isSettledPact(updateValue)) {\\\\n\\\\t\\\\t\\\\t\\\\tstage = 2;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tvar pact = new _Pact();\\\\n\\\\tvar reject = _settle.bind(null, pact, 2);\\\\n\\\\t(stage === 0 ? shouldContinue.then(_resumeAfterTest) : stage === 1 ? result.then(_resumeAfterBody) : updateValue.then(_resumeAfterUpdate)).then(void 0, reject);\\\\n\\\\treturn pact;\\\\n\\\\tfunction _resumeAfterBody(value) {\\\\n\\\\t\\\\tresult = value;\\\\n\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\tif (update) {\\\\n\\\\t\\\\t\\\\t\\\\tupdateValue = update();\\\\n\\\\t\\\\t\\\\t\\\\tif (updateValue && updateValue.then && !_isSettledPact(updateValue)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tupdateValue.then(_resumeAfterUpdate).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tshouldContinue = test();\\\\n\\\\t\\\\t\\\\tif (!shouldContinue || (_isSettledPact(shouldContinue) && !shouldContinue.v)) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} while (!result || !result.then);\\\\n\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterTest(shouldContinue) {\\\\n\\\\t\\\\tif (shouldContinue) {\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t_resumeAfterBody(result);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterUpdate() {\\\\n\\\\t\\\\tif (shouldContinue = test()) {\\\\n\\\\t\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t_resumeAfterTest(shouldContinue);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously implement a do ... while loop\\\\nexport function _do(body, test) {\\\\n\\\\tvar awaitBody;\\\\n\\\\tdo {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tawaitBody = true;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvar shouldContinue = test();\\\\n\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t}\\\\n\\\\t} while (!shouldContinue.then);\\\\n\\\\tconst pact = new _Pact();\\\\n\\\\tconst reject = _settle.bind(null, pact, 2);\\\\n\\\\t(awaitBody ? result.then(_resumeAfterBody) : shouldContinue.then(_resumeAfterTest)).then(void 0, reject);\\\\n\\\\treturn pact;\\\\n\\\\tfunction _resumeAfterBody(value) {\\\\n\\\\t\\\\tresult = value;\\\\n\\\\t\\\\tfor (;;) {\\\\n\\\\t\\\\t\\\\tshouldContinue = test();\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterTest(shouldContinue) {\\\\n\\\\t\\\\tif (shouldContinue) {\\\\n\\\\t\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue = test();\\\\n\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} while (!shouldContinue.then);\\\\n\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously implement a switch statement\\\\nexport function _switch(discriminant, cases) {\\\\n\\\\tvar dispatchIndex = -1;\\\\n\\\\tvar awaitBody;\\\\n\\\\touter: {\\\\n\\\\t\\\\tfor (var i = 0; i < cases.length; i++) {\\\\n\\\\t\\\\t\\\\tvar test = cases[i][0];\\\\n\\\\t\\\\t\\\\tif (test) {\\\\n\\\\t\\\\t\\\\t\\\\tvar testValue = test();\\\\n\\\\t\\\\t\\\\t\\\\tif (testValue && testValue.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak outer;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (testValue === discriminant) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t// Found the default case, set it as the pending dispatch case\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (dispatchIndex !== -1) {\\\\n\\\\t\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\t\\\\tvar body = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t\\\\twhile (!body) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbody = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tawaitBody = true;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak outer;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tvar fallthroughCheck = cases[dispatchIndex][2];\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t} while (fallthroughCheck && !fallthroughCheck());\\\\n\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tconst pact = new _Pact();\\\\n\\\\tconst reject = _settle.bind(null, pact, 2);\\\\n\\\\t(awaitBody ? result.then(_resumeAfterBody) : testValue.then(_resumeAfterTest)).then(void 0, reject);\\\\n\\\\treturn pact;\\\\n\\\\tfunction _resumeAfterTest(value) {\\\\n\\\\t\\\\tfor (;;) {\\\\n\\\\t\\\\t\\\\tif (value === discriminant) {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (++i === cases.length) {\\\\n\\\\t\\\\t\\\\t\\\\tif (dispatchIndex !== -1) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\ttest = cases[i][0];\\\\n\\\\t\\\\t\\\\tif (test) {\\\\n\\\\t\\\\t\\\\t\\\\tvalue = test();\\\\n\\\\t\\\\t\\\\t\\\\tif (value && value.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tvalue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\tvar body = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\twhile (!body) {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t\\\\tbody = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tvar fallthroughCheck = cases[dispatchIndex][2];\\\\n\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t} while (fallthroughCheck && !fallthroughCheck());\\\\n\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterBody(result) {\\\\n\\\\t\\\\tfor (;;) {\\\\n\\\\t\\\\t\\\\tvar fallthroughCheck = cases[dispatchIndex][2];\\\\n\\\\t\\\\t\\\\tif (!fallthroughCheck || fallthroughCheck()) {\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\tvar body = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\twhile (!body) {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t\\\\tbody = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously call a function and pass the result to explicitly passed continuations\\\\nexport function _call(body, then, direct) {\\\\n\\\\tif (direct) {\\\\n\\\\t\\\\treturn then ? then(body()) : body();\\\\n\\\\t}\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = Promise.resolve(body());\\\\n\\\\t\\\\treturn then ? result.then(then) : result;\\\\n\\\\t} catch (e) {\\\\n\\\\t\\\\treturn Promise.reject(e);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously call a function and swallow the result\\\\nexport function _callIgnored(body, direct) {\\\\n\\\\treturn _call(body, _empty, direct);\\\\n}\\\\n\\\\n// Asynchronously call a function and pass the result to explicitly passed continuations\\\\nexport function _invoke(body, then) {\\\\n\\\\tvar result = body();\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(then);\\\\n\\\\t}\\\\n\\\\treturn then(result);\\\\n}\\\\n\\\\n// Asynchronously call a function and swallow the result\\\\nexport function _invokeIgnored(body) {\\\\n\\\\tvar result = body();\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(_empty);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously call a function and send errors to recovery continuation\\\\nexport function _catch(body, recover) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t} catch(e) {\\\\n\\\\t\\\\treturn recover(e);\\\\n\\\\t}\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(void 0, recover);\\\\n\\\\t}\\\\n\\\\treturn result;\\\\n}\\\\n\\\\n// Asynchronously await a promise and pass the result to a finally continuation\\\\nexport function _finallyRethrows(body, finalizer) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t} catch (e) {\\\\n\\\\t\\\\treturn finalizer(true, e);\\\\n\\\\t}\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(finalizer.bind(null, false), finalizer.bind(null, true));\\\\n\\\\t}\\\\n\\\\treturn finalizer(false, value);\\\\n}\\\\n\\\\n// Asynchronously await a promise and invoke a finally continuation that always overrides the result\\\\nexport function _finally(body, finalizer) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t} catch (e) {\\\\n\\\\t\\\\treturn finalizer();\\\\n\\\\t}\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(finalizer, finalizer);\\\\n\\\\t}\\\\n\\\\treturn finalizer();\\\\n}\\\\n\\\\n// Rethrow or return a value from a finally continuation\\\\nexport function _rethrow(thrown, value) {\\\\n\\\\tif (thrown)\\\\n\\\\t\\\\tthrow value;\\\\n\\\\treturn value;\\\\n}\\\\n\\\\n// Empty function to implement break and other control flow that ignores asynchronous results\\\\nexport function _empty() {\\\\n}\\\\n\\\\n// Sentinel value for early returns in generators \\\\nexport const _earlyReturn = {};\\\\n\\\\n// Asynchronously call a function and send errors to recovery continuation, skipping early returns\\\\nexport function _catchInGenerator(body, recover) {\\\\n\\\\treturn _catch(body, function(e) {\\\\n\\\\t\\\\tif (e === _earlyReturn) {\\\\n\\\\t\\\\t\\\\tthrow e;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn recover(e);\\\\n\\\\t});\\\\n}\\\\n\\\\n// Asynchronous generator class; accepts the entrypoint of the generator, to which it passes itself when the generator should start\\\\nexport const _AsyncGenerator = (function() {\\\\n\\\\tfunction _AsyncGenerator(entry) {\\\\n\\\\t\\\\tthis._entry = entry;\\\\n\\\\t\\\\tthis._pact = null;\\\\n\\\\t\\\\tthis._resolve = null;\\\\n\\\\t\\\\tthis._return = null;\\\\n\\\\t\\\\tthis._promise = null;\\\\n\\\\t}\\\\n\\\\n\\\\tfunction _wrapReturnedValue(value) {\\\\n\\\\t\\\\treturn { value: value, done: true };\\\\n\\\\t}\\\\n\\\\tfunction _wrapYieldedValue(value) {\\\\n\\\\t\\\\treturn { value: value, done: false };\\\\n\\\\t}\\\\n\\\\n\\\\t_AsyncGenerator.prototype[Symbol.asyncIterator || (Symbol.asyncIterator = Symbol(\\\\\\"Symbol.asyncIterator\\\\\\"))] = function() {\\\\n\\\\t\\\\treturn this;\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype._yield = function(value) {\\\\n\\\\t\\\\t// Yield the value to the pending next call\\\\n\\\\t\\\\tthis._resolve(value && value.then ? value.then(_wrapYieldedValue) : _wrapYieldedValue(value));\\\\n\\\\t\\\\t// Return a pact for an upcoming next/return/throw call\\\\n\\\\t\\\\treturn this._pact = new _Pact();\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype.next = function(value) {\\\\n\\\\t\\\\t// Advance the generator, starting it if it has yet to be started\\\\n\\\\t\\\\tconst _this = this;\\\\n\\\\t\\\\treturn _this._promise = new Promise(function (resolve) {\\\\n\\\\t\\\\t\\\\tconst _pact = _this._pact;\\\\n\\\\t\\\\t\\\\tif (_pact === null) {\\\\n\\\\t\\\\t\\\\t\\\\tconst _entry = _this._entry;\\\\n\\\\t\\\\t\\\\t\\\\tif (_entry === null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Generator is started, but not awaiting a yield expression\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Abandon the next call!\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn resolve(_this._promise);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t// Start the generator\\\\n\\\\t\\\\t\\\\t\\\\t_this._entry = null;\\\\n\\\\t\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t\\\\tfunction returnValue(value) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve(value && value.then ? value.then(_wrapReturnedValue) : _wrapReturnedValue(value));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve = null;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t_entry(_this).then(returnValue, function(error) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (error === _earlyReturn) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturnValue(_this._return);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tconst pact = new _Pact();\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve(pact);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve = null;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_resolve(pact, 2, error);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t});\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t// Generator is started and a yield expression is pending, settle it\\\\n\\\\t\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t\\\\t_settle(_pact, 1, value);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype.return = function(value) {\\\\n\\\\t\\\\t// Early return from the generator if started, otherwise abandons the generator\\\\n\\\\t\\\\tconst _this = this;\\\\n\\\\t\\\\treturn _this._promise = new Promise(function (resolve) {\\\\n\\\\t\\\\t\\\\tconst _pact = _this._pact;\\\\n\\\\t\\\\t\\\\tif (_pact === null) {\\\\n\\\\t\\\\t\\\\t\\\\tif (_this._entry === null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Generator is started, but not awaiting a yield expression\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Abandon the return call!\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn resolve(_this._promise);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t// Generator is not started, abandon it and return the specified value\\\\n\\\\t\\\\t\\\\t\\\\t_this._entry = null;\\\\n\\\\t\\\\t\\\\t\\\\treturn resolve(value && value.then ? value.then(_wrapReturnedValue) : _wrapReturnedValue(value));\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t// Settle the yield expression with a rejected \\\\\\"early return\\\\\\" value\\\\n\\\\t\\\\t\\\\t_this._return = value;\\\\n\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t_settle(_pact, 2, _earlyReturn);\\\\n\\\\t\\\\t});\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype.throw = function(error) {\\\\n\\\\t\\\\t// Inject an exception into the pending yield expression\\\\n\\\\t\\\\tconst _this = this;\\\\n\\\\t\\\\treturn _this._promise = new Promise(function (resolve, reject) {\\\\n\\\\t\\\\t\\\\tconst _pact = _this._pact;\\\\n\\\\t\\\\t\\\\tif (_pact === null) {\\\\n\\\\t\\\\t\\\\t\\\\tif (_this._entry === null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Generator is started, but not awaiting a yield expression\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Abandon the throw call!\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn resolve(_this._promise);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t// Generator is not started, abandon it and return a rejected Promise containing the error\\\\n\\\\t\\\\t\\\\t\\\\t_this._entry = null;\\\\n\\\\t\\\\t\\\\t\\\\treturn reject(error);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t// Settle the yield expression with the value as a rejection\\\\n\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t_settle(_pact, 2, error);\\\\n\\\\t\\\\t});\\\\n\\\\t};\\\\n\\\\t\\\\n\\\\treturn _AsyncGenerator;\\\\n})();\\\\n\\",\\"export default async function foo() {\\\\n\\\\tconst out = [];\\\\n\\\\tfor await (const item of [1, 2]) {\\\\n\\\\t\\\\tout.push(item);\\\\n\\\\t}\\\\n\\\\n\\\\treturn out;\\\\n}\\\\n\\\\nfoo().then(console.log);\\\\n\\"],\\"names\\":[\\"_Pact\\",\\"prototype\\",\\"then\\",\\"onFulfilled\\",\\"onRejected\\",\\"result\\",\\"state\\",\\"this\\",\\"s\\",\\"callback\\",\\"_settle\\",\\"v\\",\\"e\\",\\"o\\",\\"_this\\",\\"value\\",\\"pact\\",\\"bind\\",\\"observer\\",\\"_isSettledPact\\",\\"thenable\\",\\"_finallyRethrows\\",\\"body\\",\\"finalizer\\",\\"_earlyReturn\\",\\"foo\\",\\"_AsyncGenerator\\",\\"entry\\",\\"_entry\\",\\"_pact\\",\\"_resolve\\",\\"_return\\",\\"_promise\\",\\"_wrapReturnedValue\\",\\"done\\",\\"_wrapYieldedValue\\",\\"Symbol\\",\\"asyncIterator\\",\\"_yield\\",\\"next\\",\\"Promise\\",\\"resolve\\",\\"returnValue\\",\\"error\\",\\"return\\",\\"throw\\",\\"reject\\",\\"out\\",\\"recover\\",\\"test\\",\\"update\\",\\"stage\\",\\"shouldContinue\\",\\"updateValue\\",\\"_resumeAfterTest\\",\\"_resumeAfterBody\\",\\"_resumeAfterUpdate\\",\\"push\\",\\"console\\",\\"log\\"],\\"mappings\\":\\"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\\"}"`; + +exports[`fixtures esnext-ts 4`] = ` +"var n=function(){function n(){}return n.prototype.then=function(e,r){var o=new n,i=this.s;if(i){var u=1&i?e:r;if(u){try{t(o,1,u(this.v))}catch(n){t(o,2,n)}return o}return this}return this.o=function(n){try{var i=n.v;1&n.s?t(o,1,e?e(i):i):r?t(o,1,r(i)):t(o,2,i)}catch(n){t(o,2,n)}},o},n}();function t(e,r,o){if(!e.s){if(o instanceof n){if(!o.s)return void(o.o=t.bind(null,e,r));1&r&&(r=o.s),o=o.v}if(o&&o.then)return void o.then(t.bind(null,e,r),t.bind(null,e,2));e.s=r,e.v=o;var i=e.o;i&&i(e)}}function e(t){return t instanceof n&&1&t.s}function r(n,t){try{var e=n()}catch(n){return t(!0,n)}return e&&e.then?e.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}var o={},i=(function(){function e(n){this._entry=n,this._pact=null,this._resolve=null,this._return=null,this._promise=null}function r(n){return{value:n,done:!0}}function i(n){return{value:n,done:!1}}e.prototype[Symbol.asyncIterator||(Symbol.asyncIterator=Symbol(\\"Symbol.asyncIterator\\"))]=function(){return this},e.prototype._yield=function(t){return this._resolve(t&&t.then?t.then(i):i(t)),this._pact=new n},e.prototype.next=function(e){var i=this;return i._promise=new Promise(function(u){var l=i._pact;if(null===l){var f=function(n){i._resolve(n&&n.then?n.then(r):r(n)),i._pact=null,i._resolve=null},c=i._entry;if(null===c)return u(i._promise);i._entry=null,i._resolve=u,c(i).then(f,function(t){if(t===o)f(i._return);else{var e=new n;i._resolve(e),i._pact=null,i._resolve=null,_resolve(e,2,t)}})}else i._pact=null,i._resolve=u,t(l,1,e)})},e.prototype.return=function(n){var e=this;return e._promise=new Promise(function(i){var u=e._pact;if(null===u)return null===e._entry?i(e._promise):(e._entry=null,i(n&&n.then?n.then(r):r(n)));e._return=n,e._resolve=i,e._pact=null,t(u,2,o)})},e.prototype.throw=function(n){var e=this;return e._promise=new Promise(function(r,o){var i=e._pact;if(null===i)return null===e._entry?r(e._promise):(e._entry=null,o(n));e._resolve=r,e._pact=null,t(i,2,n)})}}(),function(){try{var o,i,u,l,f=[],c=!0,h=!1,a=r(function(){return function(r,l){try{var h=function(){o=function(n){var t;if(\\"function\\"==typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\"Object is not async iterable\\")}([1,2]);var r=function(r,o,i){for(var u;;){var l=r();if(e(l)&&(l=l.v),!l)return f;if(l.then){u=0;break}var f=i();if(f&&f.then){if(!e(f)){u=1;break}f=f.s}if(o){var c=o();if(c&&c.then&&!e(c)){u=2;break}}}var h=new n,a=t.bind(null,h,2);return(0===u?l.then(v):1===u?f.then(s):c.then(_)).then(void 0,a),h;function s(n){f=n;do{if(o&&(c=o())&&c.then&&!e(c))return void c.then(_).then(void 0,a);if(!(l=r())||e(l)&&!l.v)return void t(h,1,f);if(l.then)return void l.then(v).then(void 0,a);e(f=i())&&(f=f.v)}while(!f||!f.then);f.then(s).then(void 0,a)}function v(n){n?(f=i())&&f.then?f.then(s).then(void 0,a):s(f):t(h,1,f)}function _(){(l=r())?l.then?l.then(v).then(void 0,a):v(l):t(h,1,f)}}(function(){return!!Promise.resolve(o.next()).then(function(n){return c=i.done,i=n,Promise.resolve(i.value).then(function(n){return u=n,!c})})},function(){return!!(c=!0)},function(){f.push(u)});if(r&&r.then)return r.then(function(){})}()}catch(n){return l(n)}return h&&h.then?h.then(void 0,l):h}(0,function(n){h=!0,l=n})},function(n,t){function e(e){if(n)throw t;return t}var i=r(function(){var n=function(){if(!c&&null!=o.return)return Promise.resolve(o.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(h)throw l;if(n)throw t;return t});return i&&i.then?i.then(e):e()});return Promise.resolve(a&&a.then?a.then(function(n){return f}):f)}catch(n){return Promise.reject(n)}});i().then(console.log);export default i; +//# sourceMappingURL=esnext-ts.mjs.map +" +`; + +exports[`fixtures esnext-ts 5`] = `"{\\"version\\":3,\\"file\\":\\"esnext-ts.mjs\\",\\"sources\\":[\\"../../../../node_modules/babel-plugin-transform-async-to-promises/helpers.js\\",\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"// A type of promise-like that resolves synchronously and supports only one observer\\\\nexport const _Pact = (function() {\\\\n\\\\tfunction _Pact() {}\\\\n\\\\t_Pact.prototype.then = function(onFulfilled, onRejected) {\\\\n\\\\t\\\\tconst result = new _Pact();\\\\n\\\\t\\\\tconst state = this.s;\\\\n\\\\t\\\\tif (state) {\\\\n\\\\t\\\\t\\\\tconst callback = state & 1 ? onFulfilled : onRejected;\\\\n\\\\t\\\\t\\\\tif (callback) {\\\\n\\\\t\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 1, callback(this.v));\\\\n\\\\t\\\\t\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 2, e);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\treturn this;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tthis.o = function(_this) {\\\\n\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\tconst value = _this.v;\\\\n\\\\t\\\\t\\\\t\\\\tif (_this.s & 1) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 1, onFulfilled ? onFulfilled(value) : value);\\\\n\\\\t\\\\t\\\\t\\\\t} else if (onRejected) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 1, onRejected(value));\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 2, value);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(result, 2, e);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\treturn result;\\\\n\\\\t}\\\\n\\\\treturn _Pact;\\\\n})();\\\\n\\\\n// Settles a pact synchronously\\\\nexport function _settle(pact, state, value) {\\\\n\\\\tif (!pact.s) {\\\\n\\\\t\\\\tif (value instanceof _Pact) {\\\\n\\\\t\\\\t\\\\tif (value.s) {\\\\n\\\\t\\\\t\\\\t\\\\tif (state & 1) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tstate = value.s;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tvalue = value.v;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tvalue.o = _settle.bind(null, pact, state);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (value && value.then) {\\\\n\\\\t\\\\t\\\\tvalue.then(_settle.bind(null, pact, state), _settle.bind(null, pact, 2));\\\\n\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tpact.s = state;\\\\n\\\\t\\\\tpact.v = value;\\\\n\\\\t\\\\tconst observer = pact.o;\\\\n\\\\t\\\\tif (observer) {\\\\n\\\\t\\\\t\\\\tobserver(pact);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\nexport function _isSettledPact(thenable) {\\\\n\\\\treturn thenable instanceof _Pact && thenable.s & 1;\\\\n}\\\\n\\\\n// Converts argument to a function that always returns a Promise\\\\nexport function _async(f) {\\\\n\\\\treturn function() {\\\\n\\\\t\\\\tfor (var args = [], i = 0; i < arguments.length; i++) {\\\\n\\\\t\\\\t\\\\targs[i] = arguments[i];\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\treturn Promise.resolve(f.apply(this, args));\\\\n\\\\t\\\\t} catch(e) {\\\\n\\\\t\\\\t\\\\treturn Promise.reject(e);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\n// Awaits on a value that may or may not be a Promise (equivalent to the await keyword in ES2015, with continuations passed explicitly)\\\\nexport function _await(value, then, direct) {\\\\n\\\\tif (direct) {\\\\n\\\\t\\\\treturn then ? then(value) : value;\\\\n\\\\t}\\\\n\\\\tif (!value || !value.then) {\\\\n\\\\t\\\\tvalue = Promise.resolve(value);\\\\n\\\\t}\\\\n\\\\treturn then ? value.then(then) : value;\\\\n}\\\\n\\\\n// Awaits on a value that may or may not be a Promise, then ignores it\\\\nexport function _awaitIgnored(value, direct) {\\\\n\\\\tif (!direct) {\\\\n\\\\t\\\\treturn value && value.then ? value.then(_empty) : Promise.resolve();\\\\n\\\\t}\\\\n}\\\\n\\\\n// Proceeds after a value has resolved, or proceeds immediately if the value is not thenable\\\\nexport function _continue(value, then) {\\\\n\\\\treturn value && value.then ? value.then(then) : then(value);\\\\n}\\\\n\\\\n// Proceeds after a value has resolved, or proceeds immediately if the value is not thenable\\\\nexport function _continueIgnored(value) {\\\\n\\\\tif (value && value.then) {\\\\n\\\\t\\\\treturn value.then(_empty);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously iterate through an object that has a length property, passing the index as the first argument to the callback (even as the length property changes)\\\\nexport function _forTo(array, body, check) {\\\\n\\\\tvar i = -1, pact, reject;\\\\n\\\\tfunction _cycle(result) {\\\\n\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\twhile (++i < array.length && (!check || !check())) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = body(i);\\\\n\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_cycle, reject || (reject = _settle.bind(null, pact = new _Pact(), 2)));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (pact) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tpact = result;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t_settle(pact || (pact = new Pact()), 2, e);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\t_cycle();\\\\n\\\\treturn pact;\\\\n}\\\\n\\\\n// Asynchronously iterate through an object's properties (including properties inherited from the prototype)\\\\n// Uses a snapshot of the object's properties\\\\nexport function _forIn(target, body, check) {\\\\n\\\\tvar keys = [];\\\\n\\\\tfor (var key in target) {\\\\n\\\\t\\\\tkeys.push(key);\\\\n\\\\t}\\\\n\\\\treturn _forTo(keys, function(i) { return body(keys[i]); }, check);\\\\n}\\\\n\\\\n// Asynchronously iterate through an object's own properties (excluding properties inherited from the prototype)\\\\n// Uses a snapshot of the object's properties\\\\nexport function _forOwn(target, body, check) {\\\\n\\\\tvar keys = [];\\\\n\\\\tfor (var key in target) {\\\\n\\\\t\\\\tif (Object.prototype.hasOwnProperty.call(target, key)) {\\\\n\\\\t\\\\t\\\\tkeys.push(key);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\treturn _forTo(keys, function(i) { return body(keys[i]); }, check);\\\\n}\\\\n\\\\n// Asynchronously iterate through an object's values\\\\n// Uses for...of if the runtime supports it, otherwise iterates until length on a copy\\\\nexport function _forOf(target, body, check) {\\\\n\\\\tif (typeof Symbol !== \\\\\\"undefined\\\\\\") {\\\\n\\\\t\\\\tvar iteratorSymbol = Symbol.iterator;\\\\n\\\\t\\\\tif (iteratorSymbol && (iteratorSymbol in target)) {\\\\n\\\\t\\\\t\\\\tvar iterator = target[iteratorSymbol](), step, pact, reject;\\\\n\\\\t\\\\t\\\\tfunction _cycle(result) {\\\\n\\\\t\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\twhile (!(step = iterator.next()).done && (!check || !check())) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = body(step.value);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_cycle, reject || (reject = _settle.bind(null, pact = new _Pact(), 2)));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (pact) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tpact = result;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact || (pact = new Pact()), 2, e);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t_cycle();\\\\n\\\\t\\\\t\\\\tif (iterator.return) {\\\\n\\\\t\\\\t\\\\t\\\\tvar _fixup = function(value) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (!step.done) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\titerator.return();\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} catch(e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn value;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (pact && pact.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn pact.then(_fixup, function(e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tthrow _fixup(e);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t});\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t_fixup();\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\treturn pact;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\t// No support for Symbol.iterator\\\\n\\\\tif (!(\\\\\\"length\\\\\\" in target)) {\\\\n\\\\t\\\\tthrow new TypeError(\\\\\\"value is not iterable\\\\\\");\\\\n\\\\t}\\\\n\\\\t// Handle live collections properly\\\\n\\\\tvar values = [];\\\\n\\\\tfor (var i = 0; i < target.length; i++) {\\\\n\\\\t\\\\tvalues.push(target[i]);\\\\n\\\\t}\\\\n\\\\treturn _forTo(values, function(i) { return body(values[i]); }, check);\\\\n}\\\\n\\\\n// Asynchronously iterate on a value using it's async iterator if present, or its synchronous iterator if missing\\\\nexport function _forAwaitOf(target, body, check) {\\\\n\\\\tif (typeof Symbol !== \\\\\\"undefined\\\\\\") {\\\\n\\\\t\\\\tvar asyncIteratorSymbol = Symbol.asyncIterator;\\\\n\\\\t\\\\tif (asyncIteratorSymbol && (asyncIteratorSymbol in target)) {\\\\n\\\\t\\\\t\\\\tvar pact = new _Pact();\\\\n\\\\t\\\\t\\\\tvar iterator = target[asyncIteratorSymbol]();\\\\n\\\\t\\\\t\\\\titerator.next().then(_resumeAfterNext).then(void 0, _reject);\\\\n\\\\t\\\\t\\\\treturn pact;\\\\n\\\\t\\\\t\\\\tfunction _resumeAfterBody(result) {\\\\n\\\\t\\\\t\\\\t\\\\tif (check && !check()) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn _settle(pact, 1, iterator.return ? iterator.return().then(function() { return result; }) : result);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\titerator.next().then(_resumeAfterNext).then(void 0, _reject);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tfunction _resumeAfterNext(step) {\\\\n\\\\t\\\\t\\\\t\\\\tif (step.done) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1);\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tPromise.resolve(body(step.value)).then(_resumeAfterBody).then(void 0, _reject);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tfunction _reject(error) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(pact, 2, iterator.return ? iterator.return().then(function() { return error; }) : error);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\treturn Promise.resolve(_forOf(target, function(value) { return Promise.resolve(value).then(body); }, check));\\\\n}\\\\n\\\\n// Asynchronously implement a generic for loop\\\\nexport function _for(test, update, body) {\\\\n\\\\tvar stage;\\\\n\\\\tfor (;;) {\\\\n\\\\t\\\\tvar shouldContinue = test();\\\\n\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\tstage = 0;\\\\n\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = result.s;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tstage = 1;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (update) {\\\\n\\\\t\\\\t\\\\tvar updateValue = update();\\\\n\\\\t\\\\t\\\\tif (updateValue && updateValue.then && !_isSettledPact(updateValue)) {\\\\n\\\\t\\\\t\\\\t\\\\tstage = 2;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tvar pact = new _Pact();\\\\n\\\\tvar reject = _settle.bind(null, pact, 2);\\\\n\\\\t(stage === 0 ? shouldContinue.then(_resumeAfterTest) : stage === 1 ? result.then(_resumeAfterBody) : updateValue.then(_resumeAfterUpdate)).then(void 0, reject);\\\\n\\\\treturn pact;\\\\n\\\\tfunction _resumeAfterBody(value) {\\\\n\\\\t\\\\tresult = value;\\\\n\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\tif (update) {\\\\n\\\\t\\\\t\\\\t\\\\tupdateValue = update();\\\\n\\\\t\\\\t\\\\t\\\\tif (updateValue && updateValue.then && !_isSettledPact(updateValue)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tupdateValue.then(_resumeAfterUpdate).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tshouldContinue = test();\\\\n\\\\t\\\\t\\\\tif (!shouldContinue || (_isSettledPact(shouldContinue) && !shouldContinue.v)) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} while (!result || !result.then);\\\\n\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterTest(shouldContinue) {\\\\n\\\\t\\\\tif (shouldContinue) {\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t_resumeAfterBody(result);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterUpdate() {\\\\n\\\\t\\\\tif (shouldContinue = test()) {\\\\n\\\\t\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t_resumeAfterTest(shouldContinue);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously implement a do ... while loop\\\\nexport function _do(body, test) {\\\\n\\\\tvar awaitBody;\\\\n\\\\tdo {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tawaitBody = true;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvar shouldContinue = test();\\\\n\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t}\\\\n\\\\t} while (!shouldContinue.then);\\\\n\\\\tconst pact = new _Pact();\\\\n\\\\tconst reject = _settle.bind(null, pact, 2);\\\\n\\\\t(awaitBody ? result.then(_resumeAfterBody) : shouldContinue.then(_resumeAfterTest)).then(void 0, reject);\\\\n\\\\treturn pact;\\\\n\\\\tfunction _resumeAfterBody(value) {\\\\n\\\\t\\\\tresult = value;\\\\n\\\\t\\\\tfor (;;) {\\\\n\\\\t\\\\t\\\\tshouldContinue = test();\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterTest(shouldContinue) {\\\\n\\\\t\\\\tif (shouldContinue) {\\\\n\\\\t\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue = test();\\\\n\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} while (!shouldContinue.then);\\\\n\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously implement a switch statement\\\\nexport function _switch(discriminant, cases) {\\\\n\\\\tvar dispatchIndex = -1;\\\\n\\\\tvar awaitBody;\\\\n\\\\touter: {\\\\n\\\\t\\\\tfor (var i = 0; i < cases.length; i++) {\\\\n\\\\t\\\\t\\\\tvar test = cases[i][0];\\\\n\\\\t\\\\t\\\\tif (test) {\\\\n\\\\t\\\\t\\\\t\\\\tvar testValue = test();\\\\n\\\\t\\\\t\\\\t\\\\tif (testValue && testValue.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak outer;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (testValue === discriminant) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t// Found the default case, set it as the pending dispatch case\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (dispatchIndex !== -1) {\\\\n\\\\t\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\t\\\\tvar body = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t\\\\twhile (!body) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbody = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tawaitBody = true;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak outer;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tvar fallthroughCheck = cases[dispatchIndex][2];\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t} while (fallthroughCheck && !fallthroughCheck());\\\\n\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tconst pact = new _Pact();\\\\n\\\\tconst reject = _settle.bind(null, pact, 2);\\\\n\\\\t(awaitBody ? result.then(_resumeAfterBody) : testValue.then(_resumeAfterTest)).then(void 0, reject);\\\\n\\\\treturn pact;\\\\n\\\\tfunction _resumeAfterTest(value) {\\\\n\\\\t\\\\tfor (;;) {\\\\n\\\\t\\\\t\\\\tif (value === discriminant) {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (++i === cases.length) {\\\\n\\\\t\\\\t\\\\t\\\\tif (dispatchIndex !== -1) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\ttest = cases[i][0];\\\\n\\\\t\\\\t\\\\tif (test) {\\\\n\\\\t\\\\t\\\\t\\\\tvalue = test();\\\\n\\\\t\\\\t\\\\t\\\\tif (value && value.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tvalue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\tvar body = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\twhile (!body) {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t\\\\tbody = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tvar fallthroughCheck = cases[dispatchIndex][2];\\\\n\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t} while (fallthroughCheck && !fallthroughCheck());\\\\n\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterBody(result) {\\\\n\\\\t\\\\tfor (;;) {\\\\n\\\\t\\\\t\\\\tvar fallthroughCheck = cases[dispatchIndex][2];\\\\n\\\\t\\\\t\\\\tif (!fallthroughCheck || fallthroughCheck()) {\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\tvar body = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\twhile (!body) {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t\\\\tbody = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously call a function and pass the result to explicitly passed continuations\\\\nexport function _call(body, then, direct) {\\\\n\\\\tif (direct) {\\\\n\\\\t\\\\treturn then ? then(body()) : body();\\\\n\\\\t}\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = Promise.resolve(body());\\\\n\\\\t\\\\treturn then ? result.then(then) : result;\\\\n\\\\t} catch (e) {\\\\n\\\\t\\\\treturn Promise.reject(e);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously call a function and swallow the result\\\\nexport function _callIgnored(body, direct) {\\\\n\\\\treturn _call(body, _empty, direct);\\\\n}\\\\n\\\\n// Asynchronously call a function and pass the result to explicitly passed continuations\\\\nexport function _invoke(body, then) {\\\\n\\\\tvar result = body();\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(then);\\\\n\\\\t}\\\\n\\\\treturn then(result);\\\\n}\\\\n\\\\n// Asynchronously call a function and swallow the result\\\\nexport function _invokeIgnored(body) {\\\\n\\\\tvar result = body();\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(_empty);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously call a function and send errors to recovery continuation\\\\nexport function _catch(body, recover) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t} catch(e) {\\\\n\\\\t\\\\treturn recover(e);\\\\n\\\\t}\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(void 0, recover);\\\\n\\\\t}\\\\n\\\\treturn result;\\\\n}\\\\n\\\\n// Asynchronously await a promise and pass the result to a finally continuation\\\\nexport function _finallyRethrows(body, finalizer) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t} catch (e) {\\\\n\\\\t\\\\treturn finalizer(true, e);\\\\n\\\\t}\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(finalizer.bind(null, false), finalizer.bind(null, true));\\\\n\\\\t}\\\\n\\\\treturn finalizer(false, value);\\\\n}\\\\n\\\\n// Asynchronously await a promise and invoke a finally continuation that always overrides the result\\\\nexport function _finally(body, finalizer) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t} catch (e) {\\\\n\\\\t\\\\treturn finalizer();\\\\n\\\\t}\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(finalizer, finalizer);\\\\n\\\\t}\\\\n\\\\treturn finalizer();\\\\n}\\\\n\\\\n// Rethrow or return a value from a finally continuation\\\\nexport function _rethrow(thrown, value) {\\\\n\\\\tif (thrown)\\\\n\\\\t\\\\tthrow value;\\\\n\\\\treturn value;\\\\n}\\\\n\\\\n// Empty function to implement break and other control flow that ignores asynchronous results\\\\nexport function _empty() {\\\\n}\\\\n\\\\n// Sentinel value for early returns in generators \\\\nexport const _earlyReturn = {};\\\\n\\\\n// Asynchronously call a function and send errors to recovery continuation, skipping early returns\\\\nexport function _catchInGenerator(body, recover) {\\\\n\\\\treturn _catch(body, function(e) {\\\\n\\\\t\\\\tif (e === _earlyReturn) {\\\\n\\\\t\\\\t\\\\tthrow e;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn recover(e);\\\\n\\\\t});\\\\n}\\\\n\\\\n// Asynchronous generator class; accepts the entrypoint of the generator, to which it passes itself when the generator should start\\\\nexport const _AsyncGenerator = (function() {\\\\n\\\\tfunction _AsyncGenerator(entry) {\\\\n\\\\t\\\\tthis._entry = entry;\\\\n\\\\t\\\\tthis._pact = null;\\\\n\\\\t\\\\tthis._resolve = null;\\\\n\\\\t\\\\tthis._return = null;\\\\n\\\\t\\\\tthis._promise = null;\\\\n\\\\t}\\\\n\\\\n\\\\tfunction _wrapReturnedValue(value) {\\\\n\\\\t\\\\treturn { value: value, done: true };\\\\n\\\\t}\\\\n\\\\tfunction _wrapYieldedValue(value) {\\\\n\\\\t\\\\treturn { value: value, done: false };\\\\n\\\\t}\\\\n\\\\n\\\\t_AsyncGenerator.prototype[Symbol.asyncIterator || (Symbol.asyncIterator = Symbol(\\\\\\"Symbol.asyncIterator\\\\\\"))] = function() {\\\\n\\\\t\\\\treturn this;\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype._yield = function(value) {\\\\n\\\\t\\\\t// Yield the value to the pending next call\\\\n\\\\t\\\\tthis._resolve(value && value.then ? value.then(_wrapYieldedValue) : _wrapYieldedValue(value));\\\\n\\\\t\\\\t// Return a pact for an upcoming next/return/throw call\\\\n\\\\t\\\\treturn this._pact = new _Pact();\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype.next = function(value) {\\\\n\\\\t\\\\t// Advance the generator, starting it if it has yet to be started\\\\n\\\\t\\\\tconst _this = this;\\\\n\\\\t\\\\treturn _this._promise = new Promise(function (resolve) {\\\\n\\\\t\\\\t\\\\tconst _pact = _this._pact;\\\\n\\\\t\\\\t\\\\tif (_pact === null) {\\\\n\\\\t\\\\t\\\\t\\\\tconst _entry = _this._entry;\\\\n\\\\t\\\\t\\\\t\\\\tif (_entry === null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Generator is started, but not awaiting a yield expression\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Abandon the next call!\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn resolve(_this._promise);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t// Start the generator\\\\n\\\\t\\\\t\\\\t\\\\t_this._entry = null;\\\\n\\\\t\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t\\\\tfunction returnValue(value) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve(value && value.then ? value.then(_wrapReturnedValue) : _wrapReturnedValue(value));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve = null;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t_entry(_this).then(returnValue, function(error) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (error === _earlyReturn) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturnValue(_this._return);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tconst pact = new _Pact();\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve(pact);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve = null;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_resolve(pact, 2, error);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t});\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t// Generator is started and a yield expression is pending, settle it\\\\n\\\\t\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t\\\\t_settle(_pact, 1, value);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype.return = function(value) {\\\\n\\\\t\\\\t// Early return from the generator if started, otherwise abandons the generator\\\\n\\\\t\\\\tconst _this = this;\\\\n\\\\t\\\\treturn _this._promise = new Promise(function (resolve) {\\\\n\\\\t\\\\t\\\\tconst _pact = _this._pact;\\\\n\\\\t\\\\t\\\\tif (_pact === null) {\\\\n\\\\t\\\\t\\\\t\\\\tif (_this._entry === null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Generator is started, but not awaiting a yield expression\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Abandon the return call!\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn resolve(_this._promise);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t// Generator is not started, abandon it and return the specified value\\\\n\\\\t\\\\t\\\\t\\\\t_this._entry = null;\\\\n\\\\t\\\\t\\\\t\\\\treturn resolve(value && value.then ? value.then(_wrapReturnedValue) : _wrapReturnedValue(value));\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t// Settle the yield expression with a rejected \\\\\\"early return\\\\\\" value\\\\n\\\\t\\\\t\\\\t_this._return = value;\\\\n\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t_settle(_pact, 2, _earlyReturn);\\\\n\\\\t\\\\t});\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype.throw = function(error) {\\\\n\\\\t\\\\t// Inject an exception into the pending yield expression\\\\n\\\\t\\\\tconst _this = this;\\\\n\\\\t\\\\treturn _this._promise = new Promise(function (resolve, reject) {\\\\n\\\\t\\\\t\\\\tconst _pact = _this._pact;\\\\n\\\\t\\\\t\\\\tif (_pact === null) {\\\\n\\\\t\\\\t\\\\t\\\\tif (_this._entry === null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Generator is started, but not awaiting a yield expression\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Abandon the throw call!\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn resolve(_this._promise);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t// Generator is not started, abandon it and return a rejected Promise containing the error\\\\n\\\\t\\\\t\\\\t\\\\t_this._entry = null;\\\\n\\\\t\\\\t\\\\t\\\\treturn reject(error);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t// Settle the yield expression with the value as a rejection\\\\n\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t_settle(_pact, 2, error);\\\\n\\\\t\\\\t});\\\\n\\\\t};\\\\n\\\\t\\\\n\\\\treturn _AsyncGenerator;\\\\n})();\\\\n\\",\\"export default async function foo() {\\\\n\\\\tconst out = [];\\\\n\\\\tfor await (const item of [1, 2]) {\\\\n\\\\t\\\\tout.push(item);\\\\n\\\\t}\\\\n\\\\n\\\\treturn out;\\\\n}\\\\n\\\\nfoo().then(console.log);\\\\n\\"],\\"names\\":[\\"_Pact\\",\\"prototype\\",\\"then\\",\\"onFulfilled\\",\\"onRejected\\",\\"result\\",\\"state\\",\\"this\\",\\"s\\",\\"callback\\",\\"_settle\\",\\"v\\",\\"e\\",\\"o\\",\\"_this\\",\\"value\\",\\"pact\\",\\"bind\\",\\"observer\\",\\"_isSettledPact\\",\\"thenable\\",\\"_finallyRethrows\\",\\"body\\",\\"finalizer\\",\\"_earlyReturn\\",\\"foo\\",\\"_AsyncGenerator\\",\\"entry\\",\\"_entry\\",\\"_pact\\",\\"_resolve\\",\\"_return\\",\\"_promise\\",\\"_wrapReturnedValue\\",\\"done\\",\\"_wrapYieldedValue\\",\\"Symbol\\",\\"asyncIterator\\",\\"_yield\\",\\"next\\",\\"Promise\\",\\"resolve\\",\\"returnValue\\",\\"error\\",\\"return\\",\\"throw\\",\\"reject\\",\\"out\\",\\"recover\\",\\"test\\",\\"update\\",\\"stage\\",\\"shouldContinue\\",\\"updateValue\\",\\"_resumeAfterTest\\",\\"_resumeAfterBody\\",\\"_resumeAfterUpdate\\",\\"push\\",\\"console\\",\\"log\\"],\\"mappings\\":\\"AACA,IAAaA,EAAS,oBACZA,YACTA,EAAMC,UAAUC,KAAO,SAASC,EAAaC,OACtCC,EAAS,IAAIL,EACbM,EAAQC,KAAKC,KACfF,EAAO,KACJG,EAAmB,EAARH,EAAYH,EAAcC,KACvCK,EAAU,KAEZC,EAAQL,EAAQ,EAAGI,EAASF,KAAKI,IAChC,MAAOC,GACRF,EAAQL,EAAQ,EAAGO,UAEbP,SAEAE,iBAGJM,EAAI,SAASC,WAEVC,EAAQD,EAAMH,EACN,EAAVG,EAAMN,EACTE,EAAQL,EAAQ,EAAGF,EAAcA,EAAYY,GAASA,GAC5CX,EACVM,EAAQL,EAAQ,EAAGD,EAAWW,IAE9BL,EAAQL,EAAQ,EAAGU,GAEnB,MAAOH,GACRF,EAAQL,EAAQ,EAAGO,KAGdP,GAEDL,EAlCc,GAsCtB,SAAgBU,EAAQM,EAAMV,EAAOS,OAC/BC,EAAKR,EAAG,IACRO,aAAiBf,EAAO,KACvBe,EAAMP,cAMTO,EAAMF,EAAIH,EAAQO,KAAK,KAAMD,EAAMV,IALvB,EAARA,IACHA,EAAQS,EAAMP,GAEfO,EAAQA,EAAMJ,KAMZI,GAASA,EAAMb,iBAClBa,EAAMb,KAAKQ,EAAQO,KAAK,KAAMD,EAAMV,GAAQI,EAAQO,KAAK,KAAMD,EAAM,IAGtEA,EAAKR,EAAIF,EACTU,EAAKL,EAAII,MACHG,EAAWF,EAAKH,EAClBK,GACHA,EAASF,IAKL,SAASG,EAAeC,UACvBA,aAAoBpB,GAAsB,EAAboB,EAASZ,EA+fvC,SAASa,EAAiBC,EAAMC,WAEjClB,EAASiB,IACZ,MAAOV,UACDW,GAAU,EAAMX,UAEpBP,GAAUA,EAAOH,KACbG,EAAOH,KAAKqB,EAAUN,KAAK,MAAM,GAAQM,EAAUN,KAAK,MAAM,IAE/DM,GAAU,EAAOR,OA4BlB,IAAMS,EAAe,GCtmBEC,GDmnBE,oBACtBC,EAAgBC,QACnBC,OAASD,OACTE,MAAQ,UACRC,SAAW,UACXC,QAAU,UACVC,SAAW,cAGRC,EAAmBlB,SACpB,CAAEA,MAAOA,EAAOmB,MAAM,YAErBC,EAAkBpB,SACnB,CAAEA,MAAOA,EAAOmB,MAAM,GAG9BR,EAAgBzB,UAAUmC,OAAOC,gBAAkBD,OAAOC,cAAgBD,OAAO,0BAA4B,kBACrG7B,MAERmB,EAAgBzB,UAAUqC,OAAS,SAASvB,eAEtCe,SAASf,GAASA,EAAMb,KAAOa,EAAMb,KAAKiC,GAAqBA,EAAkBpB,IAE/ER,KAAKsB,MAAQ,IAAI7B,GAEzB0B,EAAgBzB,UAAUsC,KAAO,SAASxB,OAEnCD,EAAQP,YACPO,EAAMkB,SAAW,IAAIQ,QAAQ,SAAUC,OACvCZ,EAAQf,EAAMe,SACN,OAAVA,EAAgB,KAUVa,EAAT,SAAqB3B,GACpBD,EAAMgB,SAASf,GAASA,EAAMb,KAAOa,EAAMb,KAAK+B,GAAsBA,EAAmBlB,IACzFD,EAAMe,MAAQ,KACdf,EAAMgB,SAAW,MAZZF,EAASd,EAAMc,UACN,OAAXA,SAGIa,EAAQ3B,EAAMkB,UAGtBlB,EAAMc,OAAS,KACfd,EAAMgB,SAAWW,EAMjBb,EAAOd,GAAOZ,KAAKwC,EAAa,SAASC,MACpCA,IAAUnB,EACbkB,EAAY5B,EAAMiB,aACZ,KACAf,EAAO,IAAIhB,EACjBc,EAAMgB,SAASd,GACfF,EAAMe,MAAQ,KACdf,EAAMgB,SAAW,KACjBA,SAASd,EAAM,EAAG2B,WAKpB7B,EAAMe,MAAQ,KACdf,EAAMgB,SAAWW,EACjB/B,EAAQmB,EAAO,EAAGd,MAIrBW,EAAgBzB,UAAU2C,OAAS,SAAS7B,OAErCD,EAAQP,YACPO,EAAMkB,SAAW,IAAIQ,QAAQ,SAAUC,OACvCZ,EAAQf,EAAMe,SACN,OAAVA,SACkB,OAAjBf,EAAMc,OAGFa,EAAQ3B,EAAMkB,WAGtBlB,EAAMc,OAAS,KACRa,EAAQ1B,GAASA,EAAMb,KAAOa,EAAMb,KAAK+B,GAAsBA,EAAmBlB,KAG1FD,EAAMiB,QAAUhB,EAChBD,EAAMgB,SAAWW,EACjB3B,EAAMe,MAAQ,KACdnB,EAAQmB,EAAO,EAAGL,MAGpBE,EAAgBzB,UAAU4C,MAAQ,SAASF,OAEpC7B,EAAQP,YACPO,EAAMkB,SAAW,IAAIQ,QAAQ,SAAUC,EAASK,OAChDjB,EAAQf,EAAMe,SACN,OAAVA,SACkB,OAAjBf,EAAMc,OAGFa,EAAQ3B,EAAMkB,WAGtBlB,EAAMc,OAAS,KACRkB,EAAOH,IAGf7B,EAAMgB,SAAWW,EACjB3B,EAAMe,MAAQ,KACdnB,EAAQmB,EAAO,EAAGc,MAxGW,8BClnBzBI,EAAM,mCDmjBN,SAAgBzB,EAAM0B,WAEvB3C,kQCpjBoB,CAAC,EAAG,UD+P9B,SAAqB4C,EAAMC,EAAQ5B,WAC9B6B,IACK,KACJC,EAAiBH,OACjB9B,EAAeiC,KAClBA,EAAiBA,EAAezC,IAE5ByC,SACG/C,KAEJ+C,EAAelD,KAAM,CACxBiD,EAAQ,YAGL9C,EAASiB,OACTjB,GAAUA,EAAOH,KAAM,KACtBiB,EAAed,GAEZ,CACN8C,EAAQ,QAFR9C,EAASA,EAAOG,KAMd0C,EAAQ,KACPG,EAAcH,OACdG,GAAeA,EAAYnD,OAASiB,EAAekC,GAAc,CACpEF,EAAQ,cAKPnC,EAAO,IAAIhB,EACX8C,EAASpC,EAAQO,KAAK,KAAMD,EAAM,UAC3B,IAAVmC,EAAcC,EAAelD,KAAKoD,GAA8B,IAAVH,EAAc9C,EAAOH,KAAKqD,GAAoBF,EAAYnD,KAAKsD,IAAqBtD,UAAK,EAAQ4C,GACjJ9B,WACEuC,EAAiBxC,GACzBV,EAASU,IACN,IACEmC,IACHG,EAAcH,MACKG,EAAYnD,OAASiB,EAAekC,eACtDA,EAAYnD,KAAKsD,GAAoBtD,UAAK,EAAQ4C,QAIpDM,EAAiBH,MACO9B,EAAeiC,KAAoBA,EAAezC,cACzED,EAAQM,EAAM,EAAGX,MAGd+C,EAAelD,iBAClBkD,EAAelD,KAAKoD,GAAkBpD,UAAK,EAAQ4C,GAIhD3B,EADJd,EAASiB,OAERjB,EAASA,EAAOM,UAERN,IAAWA,EAAOH,MAC5BG,EAAOH,KAAKqD,GAAkBrD,UAAK,EAAQ4C,YAEnCQ,EAAiBF,GACrBA,GACH/C,EAASiB,MACKjB,EAAOH,KACpBG,EAAOH,KAAKqD,GAAkBrD,UAAK,EAAQ4C,GAE3CS,EAAiBlD,GAGlBK,EAAQM,EAAM,EAAGX,YAGVmD,KACJJ,EAAiBH,KAChBG,EAAelD,KAClBkD,EAAelD,KAAKoD,GAAkBpD,UAAK,EAAQ4C,GAEnDQ,EAAiBF,GAGlB1C,EAAQM,EAAM,EAAGX,0LC/UlB0C,EAAIU,mDDmjBSnC,GACZ,MAAMV,UACAoC,EAAQpC,UAEZP,GAAUA,EAAOH,KACbG,EAAOH,UAAK,EAAQ8C,GAErB3C,2XCvjBA0C,IAAAA,4CAGF7C,KAAKwD,QAAQC\\"}"`; + +exports[`fixtures esnext-ts 6`] = ` +"!function(n,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=t():\\"function\\"==typeof define&&define.amd?define(t):n.esnextTs=t()}(this,function(){var n=function(){function n(){}return n.prototype.then=function(e,r){var o=new n,i=this.s;if(i){var u=1&i?e:r;if(u){try{t(o,1,u(this.v))}catch(n){t(o,2,n)}return o}return this}return this.o=function(n){try{var i=n.v;1&n.s?t(o,1,e?e(i):i):r?t(o,1,r(i)):t(o,2,i)}catch(n){t(o,2,n)}},o},n}();function t(e,r,o){if(!e.s){if(o instanceof n){if(!o.s)return void(o.o=t.bind(null,e,r));1&r&&(r=o.s),o=o.v}if(o&&o.then)return void o.then(t.bind(null,e,r),t.bind(null,e,2));e.s=r,e.v=o;var i=e.o;i&&i(e)}}function e(t){return t instanceof n&&1&t.s}function r(n,t){try{var e=n()}catch(n){return t(!0,n)}return e&&e.then?e.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}var o={},i=(function(){function e(n){this._entry=n,this._pact=null,this._resolve=null,this._return=null,this._promise=null}function r(n){return{value:n,done:!0}}function i(n){return{value:n,done:!1}}e.prototype[Symbol.asyncIterator||(Symbol.asyncIterator=Symbol(\\"Symbol.asyncIterator\\"))]=function(){return this},e.prototype._yield=function(t){return this._resolve(t&&t.then?t.then(i):i(t)),this._pact=new n},e.prototype.next=function(e){var i=this;return i._promise=new Promise(function(u){var l=i._pact;if(null===l){var f=function(n){i._resolve(n&&n.then?n.then(r):r(n)),i._pact=null,i._resolve=null},c=i._entry;if(null===c)return u(i._promise);i._entry=null,i._resolve=u,c(i).then(f,function(t){if(t===o)f(i._return);else{var e=new n;i._resolve(e),i._pact=null,i._resolve=null,_resolve(e,2,t)}})}else i._pact=null,i._resolve=u,t(l,1,e)})},e.prototype.return=function(n){var e=this;return e._promise=new Promise(function(i){var u=e._pact;if(null===u)return null===e._entry?i(e._promise):(e._entry=null,i(n&&n.then?n.then(r):r(n)));e._return=n,e._resolve=i,e._pact=null,t(u,2,o)})},e.prototype.throw=function(n){var e=this;return e._promise=new Promise(function(r,o){var i=e._pact;if(null===i)return null===e._entry?r(e._promise):(e._entry=null,o(n));e._resolve=r,e._pact=null,t(i,2,n)})}}(),function(){try{var o,i,u,l,f=[],c=!0,h=!1,s=r(function(){return function(r,l){try{var h=function(){o=function(n){var t;if(\\"function\\"==typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\"Object is not async iterable\\")}([1,2]);var r=function(r,o,i){for(var u;;){var l=r();if(e(l)&&(l=l.v),!l)return f;if(l.then){u=0;break}var f=i();if(f&&f.then){if(!e(f)){u=1;break}f=f.s}if(o){var c=o();if(c&&c.then&&!e(c)){u=2;break}}}var h=new n,s=t.bind(null,h,2);return(0===u?l.then(v):1===u?f.then(a):c.then(y)).then(void 0,s),h;function a(n){f=n;do{if(o&&(c=o())&&c.then&&!e(c))return void c.then(y).then(void 0,s);if(!(l=r())||e(l)&&!l.v)return void t(h,1,f);if(l.then)return void l.then(v).then(void 0,s);e(f=i())&&(f=f.v)}while(!f||!f.then);f.then(a).then(void 0,s)}function v(n){n?(f=i())&&f.then?f.then(a).then(void 0,s):a(f):t(h,1,f)}function y(){(l=r())?l.then?l.then(v).then(void 0,s):v(l):t(h,1,f)}}(function(){return!!Promise.resolve(o.next()).then(function(n){return c=i.done,i=n,Promise.resolve(i.value).then(function(n){return u=n,!c})})},function(){return!!(c=!0)},function(){f.push(u)});if(r&&r.then)return r.then(function(){})}()}catch(n){return l(n)}return h&&h.then?h.then(void 0,l):h}(0,function(n){h=!0,l=n})},function(n,t){function e(e){if(n)throw t;return t}var i=r(function(){var n=function(){if(!c&&null!=o.return)return Promise.resolve(o.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(h)throw l;if(n)throw t;return t});return i&&i.then?i.then(e):e()});return Promise.resolve(s&&s.then?s.then(function(n){return f}):f)}catch(n){return Promise.reject(n)}});return i().then(console.log),i}); +//# sourceMappingURL=esnext-ts.umd.js.map +" +`; + +exports[`fixtures esnext-ts 7`] = `"{\\"version\\":3,\\"file\\":\\"esnext-ts.umd.js\\",\\"sources\\":[\\"../../../../node_modules/babel-plugin-transform-async-to-promises/helpers.js\\",\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"// A type of promise-like that resolves synchronously and supports only one observer\\\\nexport const _Pact = (function() {\\\\n\\\\tfunction _Pact() {}\\\\n\\\\t_Pact.prototype.then = function(onFulfilled, onRejected) {\\\\n\\\\t\\\\tconst result = new _Pact();\\\\n\\\\t\\\\tconst state = this.s;\\\\n\\\\t\\\\tif (state) {\\\\n\\\\t\\\\t\\\\tconst callback = state & 1 ? onFulfilled : onRejected;\\\\n\\\\t\\\\t\\\\tif (callback) {\\\\n\\\\t\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 1, callback(this.v));\\\\n\\\\t\\\\t\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 2, e);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\treturn this;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tthis.o = function(_this) {\\\\n\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\tconst value = _this.v;\\\\n\\\\t\\\\t\\\\t\\\\tif (_this.s & 1) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 1, onFulfilled ? onFulfilled(value) : value);\\\\n\\\\t\\\\t\\\\t\\\\t} else if (onRejected) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 1, onRejected(value));\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(result, 2, value);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(result, 2, e);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\treturn result;\\\\n\\\\t}\\\\n\\\\treturn _Pact;\\\\n})();\\\\n\\\\n// Settles a pact synchronously\\\\nexport function _settle(pact, state, value) {\\\\n\\\\tif (!pact.s) {\\\\n\\\\t\\\\tif (value instanceof _Pact) {\\\\n\\\\t\\\\t\\\\tif (value.s) {\\\\n\\\\t\\\\t\\\\t\\\\tif (state & 1) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tstate = value.s;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tvalue = value.v;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tvalue.o = _settle.bind(null, pact, state);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (value && value.then) {\\\\n\\\\t\\\\t\\\\tvalue.then(_settle.bind(null, pact, state), _settle.bind(null, pact, 2));\\\\n\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tpact.s = state;\\\\n\\\\t\\\\tpact.v = value;\\\\n\\\\t\\\\tconst observer = pact.o;\\\\n\\\\t\\\\tif (observer) {\\\\n\\\\t\\\\t\\\\tobserver(pact);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\nexport function _isSettledPact(thenable) {\\\\n\\\\treturn thenable instanceof _Pact && thenable.s & 1;\\\\n}\\\\n\\\\n// Converts argument to a function that always returns a Promise\\\\nexport function _async(f) {\\\\n\\\\treturn function() {\\\\n\\\\t\\\\tfor (var args = [], i = 0; i < arguments.length; i++) {\\\\n\\\\t\\\\t\\\\targs[i] = arguments[i];\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\treturn Promise.resolve(f.apply(this, args));\\\\n\\\\t\\\\t} catch(e) {\\\\n\\\\t\\\\t\\\\treturn Promise.reject(e);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\n// Awaits on a value that may or may not be a Promise (equivalent to the await keyword in ES2015, with continuations passed explicitly)\\\\nexport function _await(value, then, direct) {\\\\n\\\\tif (direct) {\\\\n\\\\t\\\\treturn then ? then(value) : value;\\\\n\\\\t}\\\\n\\\\tif (!value || !value.then) {\\\\n\\\\t\\\\tvalue = Promise.resolve(value);\\\\n\\\\t}\\\\n\\\\treturn then ? value.then(then) : value;\\\\n}\\\\n\\\\n// Awaits on a value that may or may not be a Promise, then ignores it\\\\nexport function _awaitIgnored(value, direct) {\\\\n\\\\tif (!direct) {\\\\n\\\\t\\\\treturn value && value.then ? value.then(_empty) : Promise.resolve();\\\\n\\\\t}\\\\n}\\\\n\\\\n// Proceeds after a value has resolved, or proceeds immediately if the value is not thenable\\\\nexport function _continue(value, then) {\\\\n\\\\treturn value && value.then ? value.then(then) : then(value);\\\\n}\\\\n\\\\n// Proceeds after a value has resolved, or proceeds immediately if the value is not thenable\\\\nexport function _continueIgnored(value) {\\\\n\\\\tif (value && value.then) {\\\\n\\\\t\\\\treturn value.then(_empty);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously iterate through an object that has a length property, passing the index as the first argument to the callback (even as the length property changes)\\\\nexport function _forTo(array, body, check) {\\\\n\\\\tvar i = -1, pact, reject;\\\\n\\\\tfunction _cycle(result) {\\\\n\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\twhile (++i < array.length && (!check || !check())) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = body(i);\\\\n\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_cycle, reject || (reject = _settle.bind(null, pact = new _Pact(), 2)));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (pact) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tpact = result;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t_settle(pact || (pact = new Pact()), 2, e);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\t_cycle();\\\\n\\\\treturn pact;\\\\n}\\\\n\\\\n// Asynchronously iterate through an object's properties (including properties inherited from the prototype)\\\\n// Uses a snapshot of the object's properties\\\\nexport function _forIn(target, body, check) {\\\\n\\\\tvar keys = [];\\\\n\\\\tfor (var key in target) {\\\\n\\\\t\\\\tkeys.push(key);\\\\n\\\\t}\\\\n\\\\treturn _forTo(keys, function(i) { return body(keys[i]); }, check);\\\\n}\\\\n\\\\n// Asynchronously iterate through an object's own properties (excluding properties inherited from the prototype)\\\\n// Uses a snapshot of the object's properties\\\\nexport function _forOwn(target, body, check) {\\\\n\\\\tvar keys = [];\\\\n\\\\tfor (var key in target) {\\\\n\\\\t\\\\tif (Object.prototype.hasOwnProperty.call(target, key)) {\\\\n\\\\t\\\\t\\\\tkeys.push(key);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\treturn _forTo(keys, function(i) { return body(keys[i]); }, check);\\\\n}\\\\n\\\\n// Asynchronously iterate through an object's values\\\\n// Uses for...of if the runtime supports it, otherwise iterates until length on a copy\\\\nexport function _forOf(target, body, check) {\\\\n\\\\tif (typeof Symbol !== \\\\\\"undefined\\\\\\") {\\\\n\\\\t\\\\tvar iteratorSymbol = Symbol.iterator;\\\\n\\\\t\\\\tif (iteratorSymbol && (iteratorSymbol in target)) {\\\\n\\\\t\\\\t\\\\tvar iterator = target[iteratorSymbol](), step, pact, reject;\\\\n\\\\t\\\\t\\\\tfunction _cycle(result) {\\\\n\\\\t\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\twhile (!(step = iterator.next()).done && (!check || !check())) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = body(step.value);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_cycle, reject || (reject = _settle.bind(null, pact = new _Pact(), 2)));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (pact) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tpact = result;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t} catch (e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact || (pact = new Pact()), 2, e);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t_cycle();\\\\n\\\\t\\\\t\\\\tif (iterator.return) {\\\\n\\\\t\\\\t\\\\t\\\\tvar _fixup = function(value) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (!step.done) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\titerator.return();\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} catch(e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn value;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (pact && pact.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn pact.then(_fixup, function(e) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tthrow _fixup(e);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t});\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t_fixup();\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\treturn pact;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\t// No support for Symbol.iterator\\\\n\\\\tif (!(\\\\\\"length\\\\\\" in target)) {\\\\n\\\\t\\\\tthrow new TypeError(\\\\\\"value is not iterable\\\\\\");\\\\n\\\\t}\\\\n\\\\t// Handle live collections properly\\\\n\\\\tvar values = [];\\\\n\\\\tfor (var i = 0; i < target.length; i++) {\\\\n\\\\t\\\\tvalues.push(target[i]);\\\\n\\\\t}\\\\n\\\\treturn _forTo(values, function(i) { return body(values[i]); }, check);\\\\n}\\\\n\\\\n// Asynchronously iterate on a value using it's async iterator if present, or its synchronous iterator if missing\\\\nexport function _forAwaitOf(target, body, check) {\\\\n\\\\tif (typeof Symbol !== \\\\\\"undefined\\\\\\") {\\\\n\\\\t\\\\tvar asyncIteratorSymbol = Symbol.asyncIterator;\\\\n\\\\t\\\\tif (asyncIteratorSymbol && (asyncIteratorSymbol in target)) {\\\\n\\\\t\\\\t\\\\tvar pact = new _Pact();\\\\n\\\\t\\\\t\\\\tvar iterator = target[asyncIteratorSymbol]();\\\\n\\\\t\\\\t\\\\titerator.next().then(_resumeAfterNext).then(void 0, _reject);\\\\n\\\\t\\\\t\\\\treturn pact;\\\\n\\\\t\\\\t\\\\tfunction _resumeAfterBody(result) {\\\\n\\\\t\\\\t\\\\t\\\\tif (check && !check()) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn _settle(pact, 1, iterator.return ? iterator.return().then(function() { return result; }) : result);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\titerator.next().then(_resumeAfterNext).then(void 0, _reject);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tfunction _resumeAfterNext(step) {\\\\n\\\\t\\\\t\\\\t\\\\tif (step.done) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1);\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tPromise.resolve(body(step.value)).then(_resumeAfterBody).then(void 0, _reject);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tfunction _reject(error) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(pact, 2, iterator.return ? iterator.return().then(function() { return error; }) : error);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\treturn Promise.resolve(_forOf(target, function(value) { return Promise.resolve(value).then(body); }, check));\\\\n}\\\\n\\\\n// Asynchronously implement a generic for loop\\\\nexport function _for(test, update, body) {\\\\n\\\\tvar stage;\\\\n\\\\tfor (;;) {\\\\n\\\\t\\\\tvar shouldContinue = test();\\\\n\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\tstage = 0;\\\\n\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = result.s;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tstage = 1;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (update) {\\\\n\\\\t\\\\t\\\\tvar updateValue = update();\\\\n\\\\t\\\\t\\\\tif (updateValue && updateValue.then && !_isSettledPact(updateValue)) {\\\\n\\\\t\\\\t\\\\t\\\\tstage = 2;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tvar pact = new _Pact();\\\\n\\\\tvar reject = _settle.bind(null, pact, 2);\\\\n\\\\t(stage === 0 ? shouldContinue.then(_resumeAfterTest) : stage === 1 ? result.then(_resumeAfterBody) : updateValue.then(_resumeAfterUpdate)).then(void 0, reject);\\\\n\\\\treturn pact;\\\\n\\\\tfunction _resumeAfterBody(value) {\\\\n\\\\t\\\\tresult = value;\\\\n\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\tif (update) {\\\\n\\\\t\\\\t\\\\t\\\\tupdateValue = update();\\\\n\\\\t\\\\t\\\\t\\\\tif (updateValue && updateValue.then && !_isSettledPact(updateValue)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tupdateValue.then(_resumeAfterUpdate).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tshouldContinue = test();\\\\n\\\\t\\\\t\\\\tif (!shouldContinue || (_isSettledPact(shouldContinue) && !shouldContinue.v)) {\\\\n\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} while (!result || !result.then);\\\\n\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterTest(shouldContinue) {\\\\n\\\\t\\\\tif (shouldContinue) {\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t_resumeAfterBody(result);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterUpdate() {\\\\n\\\\t\\\\tif (shouldContinue = test()) {\\\\n\\\\t\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t_resumeAfterTest(shouldContinue);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously implement a do ... while loop\\\\nexport function _do(body, test) {\\\\n\\\\tvar awaitBody;\\\\n\\\\tdo {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tawaitBody = true;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvar shouldContinue = test();\\\\n\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t}\\\\n\\\\t} while (!shouldContinue.then);\\\\n\\\\tconst pact = new _Pact();\\\\n\\\\tconst reject = _settle.bind(null, pact, 2);\\\\n\\\\t(awaitBody ? result.then(_resumeAfterBody) : shouldContinue.then(_resumeAfterTest)).then(void 0, reject);\\\\n\\\\treturn pact;\\\\n\\\\tfunction _resumeAfterBody(value) {\\\\n\\\\t\\\\tresult = value;\\\\n\\\\t\\\\tfor (;;) {\\\\n\\\\t\\\\t\\\\tshouldContinue = test();\\\\n\\\\t\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (shouldContinue.then) {\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterTest(shouldContinue) {\\\\n\\\\t\\\\tif (shouldContinue) {\\\\n\\\\t\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(result)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult = result.v;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tshouldContinue = test();\\\\n\\\\t\\\\t\\\\t\\\\tif (_isSettledPact(shouldContinue)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tshouldContinue = shouldContinue.v;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (!shouldContinue) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} while (!shouldContinue.then);\\\\n\\\\t\\\\t\\\\tshouldContinue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously implement a switch statement\\\\nexport function _switch(discriminant, cases) {\\\\n\\\\tvar dispatchIndex = -1;\\\\n\\\\tvar awaitBody;\\\\n\\\\touter: {\\\\n\\\\t\\\\tfor (var i = 0; i < cases.length; i++) {\\\\n\\\\t\\\\t\\\\tvar test = cases[i][0];\\\\n\\\\t\\\\t\\\\tif (test) {\\\\n\\\\t\\\\t\\\\t\\\\tvar testValue = test();\\\\n\\\\t\\\\t\\\\t\\\\tif (testValue && testValue.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak outer;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (testValue === discriminant) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t// Found the default case, set it as the pending dispatch case\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (dispatchIndex !== -1) {\\\\n\\\\t\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\t\\\\tvar body = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t\\\\twhile (!body) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbody = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tawaitBody = true;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak outer;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tvar fallthroughCheck = cases[dispatchIndex][2];\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t} while (fallthroughCheck && !fallthroughCheck());\\\\n\\\\t\\\\t\\\\treturn result;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tconst pact = new _Pact();\\\\n\\\\tconst reject = _settle.bind(null, pact, 2);\\\\n\\\\t(awaitBody ? result.then(_resumeAfterBody) : testValue.then(_resumeAfterTest)).then(void 0, reject);\\\\n\\\\treturn pact;\\\\n\\\\tfunction _resumeAfterTest(value) {\\\\n\\\\t\\\\tfor (;;) {\\\\n\\\\t\\\\t\\\\tif (value === discriminant) {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tif (++i === cases.length) {\\\\n\\\\t\\\\t\\\\t\\\\tif (dispatchIndex !== -1) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\ttest = cases[i][0];\\\\n\\\\t\\\\t\\\\tif (test) {\\\\n\\\\t\\\\t\\\\t\\\\tvalue = test();\\\\n\\\\t\\\\t\\\\t\\\\tif (value && value.then) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tvalue.then(_resumeAfterTest).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex = i;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tdo {\\\\n\\\\t\\\\t\\\\tvar body = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\twhile (!body) {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t\\\\tbody = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tvar result = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tvar fallthroughCheck = cases[dispatchIndex][2];\\\\n\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t} while (fallthroughCheck && !fallthroughCheck());\\\\n\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t}\\\\n\\\\tfunction _resumeAfterBody(result) {\\\\n\\\\t\\\\tfor (;;) {\\\\n\\\\t\\\\t\\\\tvar fallthroughCheck = cases[dispatchIndex][2];\\\\n\\\\t\\\\t\\\\tif (!fallthroughCheck || fallthroughCheck()) {\\\\n\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\tvar body = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\twhile (!body) {\\\\n\\\\t\\\\t\\\\t\\\\tdispatchIndex++;\\\\n\\\\t\\\\t\\\\t\\\\tbody = cases[dispatchIndex][1];\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\tresult = body();\\\\n\\\\t\\\\t\\\\tif (result && result.then) {\\\\n\\\\t\\\\t\\\\t\\\\tresult.then(_resumeAfterBody).then(void 0, reject);\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t_settle(pact, 1, result);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously call a function and pass the result to explicitly passed continuations\\\\nexport function _call(body, then, direct) {\\\\n\\\\tif (direct) {\\\\n\\\\t\\\\treturn then ? then(body()) : body();\\\\n\\\\t}\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = Promise.resolve(body());\\\\n\\\\t\\\\treturn then ? result.then(then) : result;\\\\n\\\\t} catch (e) {\\\\n\\\\t\\\\treturn Promise.reject(e);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously call a function and swallow the result\\\\nexport function _callIgnored(body, direct) {\\\\n\\\\treturn _call(body, _empty, direct);\\\\n}\\\\n\\\\n// Asynchronously call a function and pass the result to explicitly passed continuations\\\\nexport function _invoke(body, then) {\\\\n\\\\tvar result = body();\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(then);\\\\n\\\\t}\\\\n\\\\treturn then(result);\\\\n}\\\\n\\\\n// Asynchronously call a function and swallow the result\\\\nexport function _invokeIgnored(body) {\\\\n\\\\tvar result = body();\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(_empty);\\\\n\\\\t}\\\\n}\\\\n\\\\n// Asynchronously call a function and send errors to recovery continuation\\\\nexport function _catch(body, recover) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t} catch(e) {\\\\n\\\\t\\\\treturn recover(e);\\\\n\\\\t}\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(void 0, recover);\\\\n\\\\t}\\\\n\\\\treturn result;\\\\n}\\\\n\\\\n// Asynchronously await a promise and pass the result to a finally continuation\\\\nexport function _finallyRethrows(body, finalizer) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t} catch (e) {\\\\n\\\\t\\\\treturn finalizer(true, e);\\\\n\\\\t}\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(finalizer.bind(null, false), finalizer.bind(null, true));\\\\n\\\\t}\\\\n\\\\treturn finalizer(false, value);\\\\n}\\\\n\\\\n// Asynchronously await a promise and invoke a finally continuation that always overrides the result\\\\nexport function _finally(body, finalizer) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tvar result = body();\\\\n\\\\t} catch (e) {\\\\n\\\\t\\\\treturn finalizer();\\\\n\\\\t}\\\\n\\\\tif (result && result.then) {\\\\n\\\\t\\\\treturn result.then(finalizer, finalizer);\\\\n\\\\t}\\\\n\\\\treturn finalizer();\\\\n}\\\\n\\\\n// Rethrow or return a value from a finally continuation\\\\nexport function _rethrow(thrown, value) {\\\\n\\\\tif (thrown)\\\\n\\\\t\\\\tthrow value;\\\\n\\\\treturn value;\\\\n}\\\\n\\\\n// Empty function to implement break and other control flow that ignores asynchronous results\\\\nexport function _empty() {\\\\n}\\\\n\\\\n// Sentinel value for early returns in generators \\\\nexport const _earlyReturn = {};\\\\n\\\\n// Asynchronously call a function and send errors to recovery continuation, skipping early returns\\\\nexport function _catchInGenerator(body, recover) {\\\\n\\\\treturn _catch(body, function(e) {\\\\n\\\\t\\\\tif (e === _earlyReturn) {\\\\n\\\\t\\\\t\\\\tthrow e;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn recover(e);\\\\n\\\\t});\\\\n}\\\\n\\\\n// Asynchronous generator class; accepts the entrypoint of the generator, to which it passes itself when the generator should start\\\\nexport const _AsyncGenerator = (function() {\\\\n\\\\tfunction _AsyncGenerator(entry) {\\\\n\\\\t\\\\tthis._entry = entry;\\\\n\\\\t\\\\tthis._pact = null;\\\\n\\\\t\\\\tthis._resolve = null;\\\\n\\\\t\\\\tthis._return = null;\\\\n\\\\t\\\\tthis._promise = null;\\\\n\\\\t}\\\\n\\\\n\\\\tfunction _wrapReturnedValue(value) {\\\\n\\\\t\\\\treturn { value: value, done: true };\\\\n\\\\t}\\\\n\\\\tfunction _wrapYieldedValue(value) {\\\\n\\\\t\\\\treturn { value: value, done: false };\\\\n\\\\t}\\\\n\\\\n\\\\t_AsyncGenerator.prototype[Symbol.asyncIterator || (Symbol.asyncIterator = Symbol(\\\\\\"Symbol.asyncIterator\\\\\\"))] = function() {\\\\n\\\\t\\\\treturn this;\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype._yield = function(value) {\\\\n\\\\t\\\\t// Yield the value to the pending next call\\\\n\\\\t\\\\tthis._resolve(value && value.then ? value.then(_wrapYieldedValue) : _wrapYieldedValue(value));\\\\n\\\\t\\\\t// Return a pact for an upcoming next/return/throw call\\\\n\\\\t\\\\treturn this._pact = new _Pact();\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype.next = function(value) {\\\\n\\\\t\\\\t// Advance the generator, starting it if it has yet to be started\\\\n\\\\t\\\\tconst _this = this;\\\\n\\\\t\\\\treturn _this._promise = new Promise(function (resolve) {\\\\n\\\\t\\\\t\\\\tconst _pact = _this._pact;\\\\n\\\\t\\\\t\\\\tif (_pact === null) {\\\\n\\\\t\\\\t\\\\t\\\\tconst _entry = _this._entry;\\\\n\\\\t\\\\t\\\\t\\\\tif (_entry === null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Generator is started, but not awaiting a yield expression\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Abandon the next call!\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn resolve(_this._promise);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t// Start the generator\\\\n\\\\t\\\\t\\\\t\\\\t_this._entry = null;\\\\n\\\\t\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t\\\\tfunction returnValue(value) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve(value && value.then ? value.then(_wrapReturnedValue) : _wrapReturnedValue(value));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve = null;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t_entry(_this).then(returnValue, function(error) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif (error === _earlyReturn) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\treturnValue(_this._return);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tconst pact = new _Pact();\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve(pact);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_this._resolve = null;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t_resolve(pact, 2, error);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t});\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t// Generator is started and a yield expression is pending, settle it\\\\n\\\\t\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t\\\\t_settle(_pact, 1, value);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype.return = function(value) {\\\\n\\\\t\\\\t// Early return from the generator if started, otherwise abandons the generator\\\\n\\\\t\\\\tconst _this = this;\\\\n\\\\t\\\\treturn _this._promise = new Promise(function (resolve) {\\\\n\\\\t\\\\t\\\\tconst _pact = _this._pact;\\\\n\\\\t\\\\t\\\\tif (_pact === null) {\\\\n\\\\t\\\\t\\\\t\\\\tif (_this._entry === null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Generator is started, but not awaiting a yield expression\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Abandon the return call!\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn resolve(_this._promise);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t// Generator is not started, abandon it and return the specified value\\\\n\\\\t\\\\t\\\\t\\\\t_this._entry = null;\\\\n\\\\t\\\\t\\\\t\\\\treturn resolve(value && value.then ? value.then(_wrapReturnedValue) : _wrapReturnedValue(value));\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t// Settle the yield expression with a rejected \\\\\\"early return\\\\\\" value\\\\n\\\\t\\\\t\\\\t_this._return = value;\\\\n\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t_settle(_pact, 2, _earlyReturn);\\\\n\\\\t\\\\t});\\\\n\\\\t};\\\\n\\\\t_AsyncGenerator.prototype.throw = function(error) {\\\\n\\\\t\\\\t// Inject an exception into the pending yield expression\\\\n\\\\t\\\\tconst _this = this;\\\\n\\\\t\\\\treturn _this._promise = new Promise(function (resolve, reject) {\\\\n\\\\t\\\\t\\\\tconst _pact = _this._pact;\\\\n\\\\t\\\\t\\\\tif (_pact === null) {\\\\n\\\\t\\\\t\\\\t\\\\tif (_this._entry === null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Generator is started, but not awaiting a yield expression\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Abandon the throw call!\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn resolve(_this._promise);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t// Generator is not started, abandon it and return a rejected Promise containing the error\\\\n\\\\t\\\\t\\\\t\\\\t_this._entry = null;\\\\n\\\\t\\\\t\\\\t\\\\treturn reject(error);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t// Settle the yield expression with the value as a rejection\\\\n\\\\t\\\\t\\\\t_this._resolve = resolve;\\\\n\\\\t\\\\t\\\\t_this._pact = null;\\\\n\\\\t\\\\t\\\\t_settle(_pact, 2, error);\\\\n\\\\t\\\\t});\\\\n\\\\t};\\\\n\\\\t\\\\n\\\\treturn _AsyncGenerator;\\\\n})();\\\\n\\",\\"export default async function foo() {\\\\n\\\\tconst out = [];\\\\n\\\\tfor await (const item of [1, 2]) {\\\\n\\\\t\\\\tout.push(item);\\\\n\\\\t}\\\\n\\\\n\\\\treturn out;\\\\n}\\\\n\\\\nfoo().then(console.log);\\\\n\\"],\\"names\\":[\\"_Pact\\",\\"prototype\\",\\"then\\",\\"onFulfilled\\",\\"onRejected\\",\\"result\\",\\"state\\",\\"this\\",\\"s\\",\\"callback\\",\\"_settle\\",\\"v\\",\\"e\\",\\"o\\",\\"_this\\",\\"value\\",\\"pact\\",\\"bind\\",\\"observer\\",\\"_isSettledPact\\",\\"thenable\\",\\"_finallyRethrows\\",\\"body\\",\\"finalizer\\",\\"_earlyReturn\\",\\"foo\\",\\"_AsyncGenerator\\",\\"entry\\",\\"_entry\\",\\"_pact\\",\\"_resolve\\",\\"_return\\",\\"_promise\\",\\"_wrapReturnedValue\\",\\"done\\",\\"_wrapYieldedValue\\",\\"Symbol\\",\\"asyncIterator\\",\\"_yield\\",\\"next\\",\\"Promise\\",\\"resolve\\",\\"returnValue\\",\\"error\\",\\"return\\",\\"throw\\",\\"reject\\",\\"out\\",\\"recover\\",\\"test\\",\\"update\\",\\"stage\\",\\"shouldContinue\\",\\"updateValue\\",\\"_resumeAfterTest\\",\\"_resumeAfterBody\\",\\"_resumeAfterUpdate\\",\\"push\\",\\"console\\",\\"log\\"],\\"mappings\\":\\"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\\"}"`; + +exports[`fixtures esnext-ts 8`] = ` +"export default function foo(): Promise; +" `; exports[`fixtures jsx 1`] = ` @@ -402,6 +891,30 @@ Build \\"jsx\\" to dist: 187 B: jsx.umd.js.br" `; +exports[`fixtures jsx 2`] = ` +"module.exports=function(){function e(){}return e.prototype.render=function(){return React.createElement(\\"div\\",{id:\\"app\\"},React.createElement(\\"h1\\",null,\\"Hello, World!\\"),React.createElement(\\"p\\",null,\\"A JSX demo.\\"))},e}(); +//# sourceMappingURL=jsx.js.map +" +`; + +exports[`fixtures jsx 3`] = `"{\\"version\\":3,\\"file\\":\\"jsx.js\\",\\"sources\\":[\\"../index.js\\"],\\"sourcesContent\\":[\\"const h = (tag, props, ...children) => ({ tag, props, children });\\\\n\\\\nexport default class Foo {\\\\n\\\\trender() {\\\\n\\\\t\\\\treturn (\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t\\\\t\\\\t

Hello, World!

\\\\n\\\\t\\\\t\\\\t\\\\t

A JSX demo.

\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t);\\\\n\\\\t}\\\\n}\\\\n\\"],\\"names\\":[\\"render\\",\\"React\\",\\"id\\"],\\"mappings\\":\\"2DAGCA,OAAA,kBAEEC,2BAAKC,GAAG,OACPD,+CACAA\\"}"`; + +exports[`fixtures jsx 4`] = ` +"export default(function(){function e(){}return e.prototype.render=function(){return React.createElement(\\"div\\",{id:\\"app\\"},React.createElement(\\"h1\\",null,\\"Hello, World!\\"),React.createElement(\\"p\\",null,\\"A JSX demo.\\"))},e}()); +//# sourceMappingURL=jsx.mjs.map +" +`; + +exports[`fixtures jsx 5`] = `"{\\"version\\":3,\\"file\\":\\"jsx.mjs\\",\\"sources\\":[\\"../index.js\\"],\\"sourcesContent\\":[\\"const h = (tag, props, ...children) => ({ tag, props, children });\\\\n\\\\nexport default class Foo {\\\\n\\\\trender() {\\\\n\\\\t\\\\treturn (\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t\\\\t\\\\t

Hello, World!

\\\\n\\\\t\\\\t\\\\t\\\\t

A JSX demo.

\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t);\\\\n\\\\t}\\\\n}\\\\n\\"],\\"names\\":[\\"render\\",\\"React\\",\\"id\\"],\\"mappings\\":\\"2DAGCA,OAAA,kBAEEC,2BAAKC,GAAG,OACPD,+CACAA\\"}"`; + +exports[`fixtures jsx 6`] = ` +"!function(e,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=t():\\"function\\"==typeof define&&define.amd?define(t):e.jsx=t()}(this,function(){return function(){function e(){}return e.prototype.render=function(){return React.createElement(\\"div\\",{id:\\"app\\"},React.createElement(\\"h1\\",null,\\"Hello, World!\\"),React.createElement(\\"p\\",null,\\"A JSX demo.\\"))},e}()}); +//# sourceMappingURL=jsx.umd.js.map +" +`; + +exports[`fixtures jsx 7`] = `"{\\"version\\":3,\\"file\\":\\"jsx.umd.js\\",\\"sources\\":[\\"../index.js\\"],\\"sourcesContent\\":[\\"const h = (tag, props, ...children) => ({ tag, props, children });\\\\n\\\\nexport default class Foo {\\\\n\\\\trender() {\\\\n\\\\t\\\\treturn (\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t\\\\t\\\\t

Hello, World!

\\\\n\\\\t\\\\t\\\\t\\\\t

A JSX demo.

\\\\n\\\\t\\\\t\\\\t
\\\\n\\\\t\\\\t);\\\\n\\\\t}\\\\n}\\\\n\\"],\\"names\\":[\\"render\\",\\"React\\",\\"id\\"],\\"mappings\\":\\"qNAGCA,OAAA,kBAEEC,2BAAKC,GAAG,OACPD,+CACAA\\"}"`; + exports[`fixtures name-custom-amd 1`] = ` "Used script: microbundle @@ -430,6 +943,30 @@ Build \\"customNameAmd\\" to dist: 245 B: name-custom-amd.umd.js.br" `; +exports[`fixtures name-custom-amd 2`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures name-custom-amd 4`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),t=0;t total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures name-custom-amd 6`] = ` +"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):e.customNameAmd=r()}(this,function(){var e=function(){try{for(var e=arguments.length,r=new Array(e),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"gLAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,qFCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + exports[`fixtures name-custom-cli 1`] = ` "Used script: microbundle --name nameCustomCli @@ -458,6 +995,30 @@ Build \\"nameCustomCli\\" to dist: 247 B: name-custom.umd.js.br" `; +exports[`fixtures name-custom-cli 2`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures name-custom-cli 4`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),t=0;t total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures name-custom-cli 6`] = ` +"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):e.nameCustomCli=r()}(this,function(){var e=function(){try{for(var e=arguments.length,r=new Array(e),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"gLAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,qFCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + exports[`fixtures no-pkg 1`] = ` "Used script: microbundle @@ -485,6 +1046,30 @@ Build \\"noPkg\\" to dist: 246 B: no-pkg.umd.js.br" `; +exports[`fixtures no-pkg 2`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures no-pkg 4`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),t=0;t total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures no-pkg 6`] = ` +"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):e.noPkg=r()}(this,function(){var e=function(){try{for(var e=arguments.length,r=new Array(e),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"wKAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,qFCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + exports[`fixtures no-pkg-name 1`] = ` "Used script: microbundle @@ -513,6 +1098,30 @@ Build \\"noPkgName\\" to dist: 245 B: no-pkg-name.umd.js.br" `; +exports[`fixtures no-pkg-name 2`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures no-pkg-name 4`] = ` +"var r=function(){try{for(var r=arguments.length,e=new Array(r),t=0;t total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"IAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,6FCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + +exports[`fixtures no-pkg-name 6`] = ` +"!function(e,r){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=r():\\"function\\"==typeof define&&define.amd?define(r):e.noPkgName=r()}(this,function(){var e=function(){try{for(var e=arguments.length,r=new Array(e),n=0;n total + value, 0);\\\\n}\\\\n\\",\\"import { two } from './two';\\\\n\\\\nexport default async function(...args) {\\\\n\\\\treturn [await two(...args), await two(...args)];\\\\n}\\\\n\\"],\\"names\\":[\\"two\\",\\"args\\",\\"reduce\\",\\"total\\",\\"value\\"],\\"mappings\\":\\"4KAAsBA,4CAAOC,2BAAAA,yCACrBA,EAAKC,OAAO,SAACC,EAAOC,UAAUD,EAAQC,GAAO,qFCCpBH,2BAAAA,6CAClBD,eAAOC,4CAAaD,eAAOC,2BAAlC\\"}"`; + exports[`fixtures pretty 1`] = ` "Used script: microbundle @@ -540,6 +1149,30 @@ Build \\"pretty\\" to dist: 5.3 kB: pretty.umd.js.br" `; +exports[`fixtures pretty 2`] = ` +"exports.allTheIpsum=\\"\\\\n\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\nmistakes than you do from your masterpieces.\\\\n\\\\nTrees grow in all kinds of ways. They're not all perfectly straight. Not every limb is perfect. Now let's put some happy\\\\nlittle clouds in here. We have no limits to our world. We're only limited by our imagination. The first step to doing\\\\nanything is to believe you can do it. See it finished in your mind before you ever start. Even trees need a friend. We\\\\nall need friends. And that's when it becomes fun - you don't have to spend your time thinking about what's happening -\\\\nyou just let it happen.\\\\n\\\\nरिती संपादक बेंगलूर अन्तरराष्ट्रीयकरन शीघ्र भाषा चिदंश उद्योग विस्तरणक्षमता चिदंश एकएस तरहथा। प्रोत्साहित उपेक्ष बिन्दुओ\\\\nध्येय देने गुजरना ऎसाजीस निर्माण नवंबर लिए। एसेएवं उपलब्धता मुश्किले डाले। बहतर सहायता माध्यम भाषाओ समूह\\\\n\\\\n井待品亡写回横提和指生志考結。重特天県偏切運録広詳三人転者数代歳。秀天戦機広八型希金生作事国第。年米教止証車断級弘報安楽\\\\n銀必約現獲料切。点額講問課覧傷邸出送跡出懲。編米人験由社迷入解公著片法記択昇必崎掲清。摩出元自越食多県実間旅売主注理併間\\\\n話策。小政退時年福米越給新家入解美露方堀港朝。俊間髪物縦該高報見甲購形州日事。\\\\n\\\\n🌸🍂🌃🐧🍘🏧🍮 🌶👢🔗🐥🔼🎮 🐤🍲📆👧🎼🐒 💑🍖📴🐠🍼 🎱🔮🍦💳👹 💫🏮📅🍑📭🎎 🏭💿🏫🔢👚💩 👇🌄🌗🔵💦 🔺🔡🌍🐗🏀📫\\\\n📻🍵🐰🔜🕧 🌴🌞🕙🎨🎾🔊🏰 🎑🌆🔁🌂 🕐📣📉🌴🕠📢 🎀📖🎋🔱📒💰 🍅🐻🌃🌖. 🎁🕔👎🎷📀📞 🍁🔫🍀🌃📹 💈📂💶👕 🍡📰👛🐻\\\\n🍖🐽💫📼 🍆🎀💛👫🔹 🎷🕙🌱👸🕁🔝 🍸🔅👿🐡. 🐟🔐🏡🔅👾 🐱💱👺🍶 🎠🔆🎤🏥🌻🗾 👽🎯💈🏣🔊📴💆🏫 🔉🌉🍃🌻 🎅🔌🔻💣 🌸🍎🐀🌇\\\\n🗻👔📤💤🔶. 🍆👣🕕👦📦👑 🐍🐉🔶🕕 🍲👩🍍🌕📻👒📵 🔣🌋🌟👼 🔏📀🐆🍖🍮 🐁🌘🐻🏥🐡🔶🔘🏭 👡🔫🔗📊📻 🍂💧🌿📥🔚 📹💻🔌💠🌚\\\\n🐦💴🌎🌞🏤.\\\\n\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\nmistakes than you do from your masterpieces. That's why I paint - because I can create the kind of world I want - and I\\\\ncan make this world as happy as I want it. I was blessed with a very steady hand; and it comes in very handy when you're\\\\ndoing these little delicate things. We'll paint one happy little tree right here. These things happen automatically. All\\\\nyou have to do is just let them happen.\\\\n\\\\n🐻🍘💀🐪 🕧🎂🕃🍵🏠 💎🌄🐐📘🐄 🍂🏤👊🍖 👆🍂📫👪🐈🕢👓 👯🕞🏉🍚🎆🔠🌵 🎭🎎💵📮📭 🔪💨📢📕 🐔📬👪🏄🐙🗽📤.\\\\n💛👴💧🎁👗💟👡💎 🎷🕡👮🗾🍷 🎪🍇🍩💰 📫🐗🎄🍍🎃 🎯🌴🐍🔉📰 👼👧🐢🕔🔷📞🍩 🔘👑🌆🌒🔣 🔆👺📴👾 🔝💑💸💒🏡🔸 🔟👞📷🔱👠\\\\n📵🏠📕🕝🐂👪 💐🎾🕁🗾👊📪. 🍉🏁👰🏡🕔💒🐯 🐟🍡📴🌿👱👢 📵💄🌊🌵🐫🍏 🎎🕠🍍💭💀👖 🎵💘🔗🍖 📧🌘🍅🕚📘🔮 👤🌾👿🐍🎽🌹\\\\n🎲🎎💅📪🐐🍢📈 🏣🐑👇👼🐄🍔 🍠📧🌊🕁🔛🐩. 🌺📊🍼🐁💼 🔈💬🌱🎑🔊🐙💲👩 🍇👞📎👻🌔 💑🕁🎲💤 🎮📃🕖📖 📻💬🔢💔🐇👬 🔨🌃📈🔞\\\\n🌒🎈👙🔥🐊 📭👍📢👊📟.\\\\n\\\\n出死問民同歴術荘面族上自。窃指写氷名続球投込光試事樹増。作合副者扶実権守安展感意環待質出。告供体企紙勢構込君奪属仕子業戦\\\\n浮私。長論攻士踊再連公雪地約政近第公。界地島命党浮国沼出問気混心未独院。朝原妙画岡性制領子金次問無浦妥混口時研。道記険健\\\\n集立根聖間前設集族山要本覧。変注再悩式付療場図験問県家界月止収文。\\\\n\\\\nलेकिन उसके संपादक उपलब्ध दिनांक प्रति सम्पर्क प्राधिकरन नाकर मुक्त कलइस वेबजाल वर्तमान समस्याओ देखने भोगोलिक केन्द्रिय\\\\nकिया खयालात विज्ञान ध्येय गटको साधन चिदंश पासपाई व्याख्या मार्गदर्शन संदेश जिवन प्रतिबध वार्तालाप किके विश्व खरिदने\\\\nहुआआदी तकनीकी संदेश सारांश असरकारक वार्तालाप चाहे पहोच। अतित पुर्णता केन्द्रिय\\\\n\\\\n👅💾🐂🔙 🐂🎠👶🐮🐛 👛💗💶🌿💒 🐐🌱🐶🌴🏤🐒 🔪🍡🎸🐛🍖 📗🎓🏊🕀🎿 🔅📋📥👳🔝 🐗👝🏄🐲 📂🎷🐎🏯💎🐹 📲🍍🏥🔂🕚🐉🎤\\\\n🌕🐴📐🎪💋. 💔👂🐗📷🎐 🌹📔💒📝👎📭 🔖🍶💺🕘 🔡💘🎪🔚🔯👉 💯🎉👠🎁🐌💵 👌🔉🎹🕒💕🍁 🏡🍢🔹🔷👀💦🏉👀 👑🐺🐁🏤\\\\n🎺🍁🐙🐮🌃🕢🐟 🍶🎃🕕🔦 🐧🔝💔💚🔫👍 🌉🔁🌄📺 👓🎳📧🌆💖🍋🕔. 🍥🔘🗼📟 🍹🔸🔰🕣🌍 🏡💽🍬👗👧 📩👬🌻🐐🌞🌎🐵🔛 🏆🌹🍰🔬📕\\\\n👋🎩🍓🌏👙 🎁🏃🎌🍳🔋👎📔 🐈🌽🔘💮 🏬🐷💿🕕. 📕👖📦📡 🎅🎺🏭🍗💜💷🐦 💻💚🐪🕠🔀 💰🍹💶🍶🎥📄 🌛👕🐲🐣🍷🎬 🐥🎯🔵🎹\\\\n🌿👌🐚🍛🏪 🌵📞💃📗👱👩 📟🐸🌺🐅👮 💚🐦💉💞🌛 🔼🔤👓🏡💩.\\\\n\\\\n\\\\nयधपि बाजार तकरीबन आंतरजाल प्राधिकरन लगती संदेश एसलिये बिन्दुओ प्रोत्साहित जानकारी ढांचामात्रुभाषा बाजार बदले प्रमान\\\\nअनुवाद विकेन्द्रित पसंद ढांचा हमारि जोवे उद्योग संस्थान और्४५० विकसित उदेश लेकिन सकती वार्तालाप लाभान्वित संदेश उदेश\\\\nपहोच। लचकनहि अनुवाद सुविधा एकत्रित कीने सक्षम भीयह अत्यंत लचकनहि निरपेक्ष कराना हमारि प्राप्त पुर्णता प्रतिबध्दता होगा\\\\nउन्हे जाएन खयालात पहोचाना\\\\n\\\\n散待望会窮縮囲前賀理格顔欧製暮景初子加。首稿覧析回未帯則号医間本取退埋帯品。右歳約幻病護指極講賞京応。野受移供頑特公却報\\\\n法利務水提士政駐物際。角媛分地昧況面日残金真福方雨入顔作化。最刊情感売校見強移本説注辞。経必好以小球生音明優去験見政感治\\\\n報付。講刊切記勝帯載豪著転読金止。金子森午模移言兆埠関価亡出目載。\\\\n\\\\nWork on one thing at a time. Don't get carried away - we have plenty of time. Everything is happy if you choose to make\\\\nit that way. Happy painting, God bless. You can create anything that makes you happy. Just make a decision and let it\\\\ngo. Nice little clouds playing around in the sky.You can do anything here - the only pre-requisite is that it makes you\\\\nhappy. I'm going to mix up a little color. We’ll use Van Dyke Brown, Permanent Red, and a little bit of Prussian Blue.\\\\nLet's make some happy little clouds in our world.\\\\n\\\\nपहेला गएआप स्वतंत्र प्राधिकरन सेऔर अनुकूल ब्रौशर बिन्दुओमे सदस्य गुजरना तकनिकल वैश्विक सकते बनाति चिदंश चाहे कुशलता\\\\nवर्तमान प्रोत्साहित देने विवरन पहोचाना विकेन्द्रियकरण अनुकूल विभाजनक्षमता औषधिक अन्य खरिदे दिये आवश्यक समस्याए कम्प्युटर\\\\nविनिमय अविरोधता लाभान्वित लाभो ढांचा\\\\n\\\\n抄聞調時得直決移警撃覧進聞滑公政央。日探劇票選伊追短青功書更将奈府成多。味治理育月漬安意散護良読京。芳豚大度面傾府山応著\\\\n器地捜志。止高棋戻管明証経処流自勝動続。装載聞視属王減通橋説主費事業情芸。追若得本臭稿事馬予治川劇覧記今竹犯破育食。参兆\\\\n徹括単写東家素講舞校食医咋存務代連子。球設国事検問周東集題聞供奈。\\\\n\\\\n🍊🌆📛🍛🌊🍡🍒 🔦🐟🐵🍚🌐🍛🐏 🔆💍📟🎧 🔐📤💺🐒 🔥🔬🐣💹🌻👚 🎰👯🎡🗻💯🐉🌗 🍐👣🐯🔖📚 💡📟👨🍮🍼💛📞 🕕🐁🌾🏧💻📷\\\\n💗🐢🏥🎵🐰🍉 🏥🔎💛💘🔧🍛🎿 🍟🌰🐴🏫🎀 🎷🌿🌴🏤🍢📳🍺 🐗👷🌳👦📩🌁 🐂🔜🔙📕. 🌎🍠📓📠🕡 🎽🔺🔱🌔📗🎤 🎫🍃👚🍤🐽🌰\\\\n🕠🌉📪🍒🐃💲 🎢🔯👶🔙🔚🕝 🍮📒🏉🏨🐝🌿 👔💫🏁🎺 🐸💞🌈🐸 📣🔯📅🐍🐴 🌑🌍🌛👀 🕂👟🐕📃🎇🔞 🍮🔏🍥👨 🐪📲🐐🎁 🍥🔁📑💮🌘.\\\\n🌏🎎🍛👯 🔈🎸💨🏧📚 🏪💼🎣🔚 🐤💳💁👓 👃🍆🕘🐋👬🐣 🕚🏃🌄🔷🌈🔖 💥💧🔴🌛🍁👦 💣🐐🕓🎠🕚🕞🏭 💨👓🏢🌓🔄. 📪🔜💹👤👂🐭\\\\n🕚🔎🐂🏂👍📻 👾💠🌕📻🎍 🐟🔬🏢💍 👓👠👤🎐💸👝 🔟💕🕛💊 🍩🌙👬🐘 🍪🔙📉💔🐝🕝 📭🕡🎼💈📇🔡 👓🍁🎾👯👨 🏇🍱🐢🌛\\\\n🎇🐩📴🎋🕁📎🎈 🐌👱📎🍹👆 👐🍐📗👽🐹💜 📭🌔🌅🍯👀.\\\\n\\\\n🔜🐰🏊🍃🐮 🔪🔐📇🐩 🐬👔🍙🍩💉 🏉👩👔🍞🍟🌂 🍺🕔🌖🔪🔩🍥 🎓🍒🌅🐘💛 🐔🐊📶🐊 👂📌👂🍺 💗🐳🎠📧🏭💧 🐝📅🍆🔞🏆\\\\n👇🔂🐺🔬🎯🔳🎐🎍 💖💅🐲🔭📔🏊🔋 🐨📫🕢🎁. 🐯💁🔘📰🐪 💥👭🍘🎴📣💂💄 🐏🔊🐚👔🎿🐙 🔕🐞💹📁 🔊👴👬👪 👠📱👃📍 🏢🐃🍯🍹🗻\\\\n🐩💮👲👠 🍏🎽📄🐋 🔣💉🔉📒💸🎭👎 💁🗾🔵🐪🍣 🍃🔝💥🔒👴. 📦🔟🔶💷🍥 🍚🕤👦🍻🔥🍹 👄🌜🐑🌀🐃🔪🕦 🌟🐶🍞🕥🌛 👮🐄🏬🎴👂💼📵\\\\n🌋📐🐲👥 🔒🏭🔭💿🎫🎄 💓🐓🎐🎁👔📟 💌🍇🎶👷🎬 🌌💀🎸💡 📔🐢💁🔊👘🐳🌞 🎩📝💟🍼💦🔄 🕒🍼🏧🎄🔃💐. 🎆🌜👗👿 🐁🌑💮👙🎌👞\\\\n🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. \\"; +//# sourceMappingURL=pretty.js.map +" +`; + +exports[`fixtures pretty 3`] = `"{\\"version\\":3,\\"file\\":\\"pretty.js\\",\\"sources\\":[],\\"sourcesContent\\":[],\\"names\\":[],\\"mappings\\":\\"\\"}"`; + +exports[`fixtures pretty 4`] = ` +"var n=\\"\\\\n\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\nmistakes than you do from your masterpieces.\\\\n\\\\nTrees grow in all kinds of ways. They're not all perfectly straight. Not every limb is perfect. Now let's put some happy\\\\nlittle clouds in here. We have no limits to our world. We're only limited by our imagination. The first step to doing\\\\nanything is to believe you can do it. See it finished in your mind before you ever start. Even trees need a friend. We\\\\nall need friends. And that's when it becomes fun - you don't have to spend your time thinking about what's happening -\\\\nyou just let it happen.\\\\n\\\\nरिती संपादक बेंगलूर अन्तरराष्ट्रीयकरन शीघ्र भाषा चिदंश उद्योग विस्तरणक्षमता चिदंश एकएस तरहथा। प्रोत्साहित उपेक्ष बिन्दुओ\\\\nध्येय देने गुजरना ऎसाजीस निर्माण नवंबर लिए। एसेएवं उपलब्धता मुश्किले डाले। बहतर सहायता माध्यम भाषाओ समूह\\\\n\\\\n井待品亡写回横提和指生志考結。重特天県偏切運録広詳三人転者数代歳。秀天戦機広八型希金生作事国第。年米教止証車断級弘報安楽\\\\n銀必約現獲料切。点額講問課覧傷邸出送跡出懲。編米人験由社迷入解公著片法記択昇必崎掲清。摩出元自越食多県実間旅売主注理併間\\\\n話策。小政退時年福米越給新家入解美露方堀港朝。俊間髪物縦該高報見甲購形州日事。\\\\n\\\\n🌸🍂🌃🐧🍘🏧🍮 🌶👢🔗🐥🔼🎮 🐤🍲📆👧🎼🐒 💑🍖📴🐠🍼 🎱🔮🍦💳👹 💫🏮📅🍑📭🎎 🏭💿🏫🔢👚💩 👇🌄🌗🔵💦 🔺🔡🌍🐗🏀📫\\\\n📻🍵🐰🔜🕧 🌴🌞🕙🎨🎾🔊🏰 🎑🌆🔁🌂 🕐📣📉🌴🕠📢 🎀📖🎋🔱📒💰 🍅🐻🌃🌖. 🎁🕔👎🎷📀📞 🍁🔫🍀🌃📹 💈📂💶👕 🍡📰👛🐻\\\\n🍖🐽💫📼 🍆🎀💛👫🔹 🎷🕙🌱👸🕁🔝 🍸🔅👿🐡. 🐟🔐🏡🔅👾 🐱💱👺🍶 🎠🔆🎤🏥🌻🗾 👽🎯💈🏣🔊📴💆🏫 🔉🌉🍃🌻 🎅🔌🔻💣 🌸🍎🐀🌇\\\\n🗻👔📤💤🔶. 🍆👣🕕👦📦👑 🐍🐉🔶🕕 🍲👩🍍🌕📻👒📵 🔣🌋🌟👼 🔏📀🐆🍖🍮 🐁🌘🐻🏥🐡🔶🔘🏭 👡🔫🔗📊📻 🍂💧🌿📥🔚 📹💻🔌💠🌚\\\\n🐦💴🌎🌞🏤.\\\\n\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\nmistakes than you do from your masterpieces. That's why I paint - because I can create the kind of world I want - and I\\\\ncan make this world as happy as I want it. I was blessed with a very steady hand; and it comes in very handy when you're\\\\ndoing these little delicate things. We'll paint one happy little tree right here. These things happen automatically. All\\\\nyou have to do is just let them happen.\\\\n\\\\n🐻🍘💀🐪 🕧🎂🕃🍵🏠 💎🌄🐐📘🐄 🍂🏤👊🍖 👆🍂📫👪🐈🕢👓 👯🕞🏉🍚🎆🔠🌵 🎭🎎💵📮📭 🔪💨📢📕 🐔📬👪🏄🐙🗽📤.\\\\n💛👴💧🎁👗💟👡💎 🎷🕡👮🗾🍷 🎪🍇🍩💰 📫🐗🎄🍍🎃 🎯🌴🐍🔉📰 👼👧🐢🕔🔷📞🍩 🔘👑🌆🌒🔣 🔆👺📴👾 🔝💑💸💒🏡🔸 🔟👞📷🔱👠\\\\n📵🏠📕🕝🐂👪 💐🎾🕁🗾👊📪. 🍉🏁👰🏡🕔💒🐯 🐟🍡📴🌿👱👢 📵💄🌊🌵🐫🍏 🎎🕠🍍💭💀👖 🎵💘🔗🍖 📧🌘🍅🕚📘🔮 👤🌾👿🐍🎽🌹\\\\n🎲🎎💅📪🐐🍢📈 🏣🐑👇👼🐄🍔 🍠📧🌊🕁🔛🐩. 🌺📊🍼🐁💼 🔈💬🌱🎑🔊🐙💲👩 🍇👞📎👻🌔 💑🕁🎲💤 🎮📃🕖📖 📻💬🔢💔🐇👬 🔨🌃📈🔞\\\\n🌒🎈👙🔥🐊 📭👍📢👊📟.\\\\n\\\\n出死問民同歴術荘面族上自。窃指写氷名続球投込光試事樹増。作合副者扶実権守安展感意環待質出。告供体企紙勢構込君奪属仕子業戦\\\\n浮私。長論攻士踊再連公雪地約政近第公。界地島命党浮国沼出問気混心未独院。朝原妙画岡性制領子金次問無浦妥混口時研。道記険健\\\\n集立根聖間前設集族山要本覧。変注再悩式付療場図験問県家界月止収文。\\\\n\\\\nलेकिन उसके संपादक उपलब्ध दिनांक प्रति सम्पर्क प्राधिकरन नाकर मुक्त कलइस वेबजाल वर्तमान समस्याओ देखने भोगोलिक केन्द्रिय\\\\nकिया खयालात विज्ञान ध्येय गटको साधन चिदंश पासपाई व्याख्या मार्गदर्शन संदेश जिवन प्रतिबध वार्तालाप किके विश्व खरिदने\\\\nहुआआदी तकनीकी संदेश सारांश असरकारक वार्तालाप चाहे पहोच। अतित पुर्णता केन्द्रिय\\\\n\\\\n👅💾🐂🔙 🐂🎠👶🐮🐛 👛💗💶🌿💒 🐐🌱🐶🌴🏤🐒 🔪🍡🎸🐛🍖 📗🎓🏊🕀🎿 🔅📋📥👳🔝 🐗👝🏄🐲 📂🎷🐎🏯💎🐹 📲🍍🏥🔂🕚🐉🎤\\\\n🌕🐴📐🎪💋. 💔👂🐗📷🎐 🌹📔💒📝👎📭 🔖🍶💺🕘 🔡💘🎪🔚🔯👉 💯🎉👠🎁🐌💵 👌🔉🎹🕒💕🍁 🏡🍢🔹🔷👀💦🏉👀 👑🐺🐁🏤\\\\n🎺🍁🐙🐮🌃🕢🐟 🍶🎃🕕🔦 🐧🔝💔💚🔫👍 🌉🔁🌄📺 👓🎳📧🌆💖🍋🕔. 🍥🔘🗼📟 🍹🔸🔰🕣🌍 🏡💽🍬👗👧 📩👬🌻🐐🌞🌎🐵🔛 🏆🌹🍰🔬📕\\\\n👋🎩🍓🌏👙 🎁🏃🎌🍳🔋👎📔 🐈🌽🔘💮 🏬🐷💿🕕. 📕👖📦📡 🎅🎺🏭🍗💜💷🐦 💻💚🐪🕠🔀 💰🍹💶🍶🎥📄 🌛👕🐲🐣🍷🎬 🐥🎯🔵🎹\\\\n🌿👌🐚🍛🏪 🌵📞💃📗👱👩 📟🐸🌺🐅👮 💚🐦💉💞🌛 🔼🔤👓🏡💩.\\\\n\\\\n\\\\nयधपि बाजार तकरीबन आंतरजाल प्राधिकरन लगती संदेश एसलिये बिन्दुओ प्रोत्साहित जानकारी ढांचामात्रुभाषा बाजार बदले प्रमान\\\\nअनुवाद विकेन्द्रित पसंद ढांचा हमारि जोवे उद्योग संस्थान और्४५० विकसित उदेश लेकिन सकती वार्तालाप लाभान्वित संदेश उदेश\\\\nपहोच। लचकनहि अनुवाद सुविधा एकत्रित कीने सक्षम भीयह अत्यंत लचकनहि निरपेक्ष कराना हमारि प्राप्त पुर्णता प्रतिबध्दता होगा\\\\nउन्हे जाएन खयालात पहोचाना\\\\n\\\\n散待望会窮縮囲前賀理格顔欧製暮景初子加。首稿覧析回未帯則号医間本取退埋帯品。右歳約幻病護指極講賞京応。野受移供頑特公却報\\\\n法利務水提士政駐物際。角媛分地昧況面日残金真福方雨入顔作化。最刊情感売校見強移本説注辞。経必好以小球生音明優去験見政感治\\\\n報付。講刊切記勝帯載豪著転読金止。金子森午模移言兆埠関価亡出目載。\\\\n\\\\nWork on one thing at a time. Don't get carried away - we have plenty of time. Everything is happy if you choose to make\\\\nit that way. Happy painting, God bless. You can create anything that makes you happy. Just make a decision and let it\\\\ngo. Nice little clouds playing around in the sky.You can do anything here - the only pre-requisite is that it makes you\\\\nhappy. I'm going to mix up a little color. We’ll use Van Dyke Brown, Permanent Red, and a little bit of Prussian Blue.\\\\nLet's make some happy little clouds in our world.\\\\n\\\\nपहेला गएआप स्वतंत्र प्राधिकरन सेऔर अनुकूल ब्रौशर बिन्दुओमे सदस्य गुजरना तकनिकल वैश्विक सकते बनाति चिदंश चाहे कुशलता\\\\nवर्तमान प्रोत्साहित देने विवरन पहोचाना विकेन्द्रियकरण अनुकूल विभाजनक्षमता औषधिक अन्य खरिदे दिये आवश्यक समस्याए कम्प्युटर\\\\nविनिमय अविरोधता लाभान्वित लाभो ढांचा\\\\n\\\\n抄聞調時得直決移警撃覧進聞滑公政央。日探劇票選伊追短青功書更将奈府成多。味治理育月漬安意散護良読京。芳豚大度面傾府山応著\\\\n器地捜志。止高棋戻管明証経処流自勝動続。装載聞視属王減通橋説主費事業情芸。追若得本臭稿事馬予治川劇覧記今竹犯破育食。参兆\\\\n徹括単写東家素講舞校食医咋存務代連子。球設国事検問周東集題聞供奈。\\\\n\\\\n🍊🌆📛🍛🌊🍡🍒 🔦🐟🐵🍚🌐🍛🐏 🔆💍📟🎧 🔐📤💺🐒 🔥🔬🐣💹🌻👚 🎰👯🎡🗻💯🐉🌗 🍐👣🐯🔖📚 💡📟👨🍮🍼💛📞 🕕🐁🌾🏧💻📷\\\\n💗🐢🏥🎵🐰🍉 🏥🔎💛💘🔧🍛🎿 🍟🌰🐴🏫🎀 🎷🌿🌴🏤🍢📳🍺 🐗👷🌳👦📩🌁 🐂🔜🔙📕. 🌎🍠📓📠🕡 🎽🔺🔱🌔📗🎤 🎫🍃👚🍤🐽🌰\\\\n🕠🌉📪🍒🐃💲 🎢🔯👶🔙🔚🕝 🍮📒🏉🏨🐝🌿 👔💫🏁🎺 🐸💞🌈🐸 📣🔯📅🐍🐴 🌑🌍🌛👀 🕂👟🐕📃🎇🔞 🍮🔏🍥👨 🐪📲🐐🎁 🍥🔁📑💮🌘.\\\\n🌏🎎🍛👯 🔈🎸💨🏧📚 🏪💼🎣🔚 🐤💳💁👓 👃🍆🕘🐋👬🐣 🕚🏃🌄🔷🌈🔖 💥💧🔴🌛🍁👦 💣🐐🕓🎠🕚🕞🏭 💨👓🏢🌓🔄. 📪🔜💹👤👂🐭\\\\n🕚🔎🐂🏂👍📻 👾💠🌕📻🎍 🐟🔬🏢💍 👓👠👤🎐💸👝 🔟💕🕛💊 🍩🌙👬🐘 🍪🔙📉💔🐝🕝 📭🕡🎼💈📇🔡 👓🍁🎾👯👨 🏇🍱🐢🌛\\\\n🎇🐩📴🎋🕁📎🎈 🐌👱📎🍹👆 👐🍐📗👽🐹💜 📭🌔🌅🍯👀.\\\\n\\\\n🔜🐰🏊🍃🐮 🔪🔐📇🐩 🐬👔🍙🍩💉 🏉👩👔🍞🍟🌂 🍺🕔🌖🔪🔩🍥 🎓🍒🌅🐘💛 🐔🐊📶🐊 👂📌👂🍺 💗🐳🎠📧🏭💧 🐝📅🍆🔞🏆\\\\n👇🔂🐺🔬🎯🔳🎐🎍 💖💅🐲🔭📔🏊🔋 🐨📫🕢🎁. 🐯💁🔘📰🐪 💥👭🍘🎴📣💂💄 🐏🔊🐚👔🎿🐙 🔕🐞💹📁 🔊👴👬👪 👠📱👃📍 🏢🐃🍯🍹🗻\\\\n🐩💮👲👠 🍏🎽📄🐋 🔣💉🔉📒💸🎭👎 💁🗾🔵🐪🍣 🍃🔝💥🔒👴. 📦🔟🔶💷🍥 🍚🕤👦🍻🔥🍹 👄🌜🐑🌀🐃🔪🕦 🌟🐶🍞🕥🌛 👮🐄🏬🎴👂💼📵\\\\n🌋📐🐲👥 🔒🏭🔭💿🎫🎄 💓🐓🎐🎁👔📟 💌🍇🎶👷🎬 🌌💀🎸💡 📔🐢💁🔊👘🐳🌞 🎩📝💟🍼💦🔄 🕒🍼🏧🎄🔃💐. 🎆🌜👗👿 🐁🌑💮👙🎌👞\\\\n🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. \\";export{n as allTheIpsum}; +//# sourceMappingURL=pretty.mjs.map +" +`; + +exports[`fixtures pretty 5`] = `"{\\"version\\":3,\\"file\\":\\"pretty.mjs\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"export const allTheIpsum = \`\\\\n\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\nmistakes than you do from your masterpieces.\\\\n\\\\nTrees grow in all kinds of ways. They're not all perfectly straight. Not every limb is perfect. Now let's put some happy\\\\nlittle clouds in here. We have no limits to our world. We're only limited by our imagination. The first step to doing\\\\nanything is to believe you can do it. See it finished in your mind before you ever start. Even trees need a friend. We\\\\nall need friends. And that's when it becomes fun - you don't have to spend your time thinking about what's happening -\\\\nyou just let it happen.\\\\n\\\\nरिती संपादक बेंगलूर अन्तरराष्ट्रीयकरन शीघ्र भाषा चिदंश उद्योग विस्तरणक्षमता चिदंश एकएस तरहथा। प्रोत्साहित उपेक्ष बिन्दुओ\\\\nध्येय देने गुजरना ऎसाजीस निर्माण नवंबर लिए। एसेएवं उपलब्धता मुश्किले डाले। बहतर सहायता माध्यम भाषाओ समूह\\\\n\\\\n井待品亡写回横提和指生志考結。重特天県偏切運録広詳三人転者数代歳。秀天戦機広八型希金生作事国第。年米教止証車断級弘報安楽\\\\n銀必約現獲料切。点額講問課覧傷邸出送跡出懲。編米人験由社迷入解公著片法記択昇必崎掲清。摩出元自越食多県実間旅売主注理併間\\\\n話策。小政退時年福米越給新家入解美露方堀港朝。俊間髪物縦該高報見甲購形州日事。\\\\n\\\\n🌸🍂🌃🐧🍘🏧🍮 🌶👢🔗🐥🔼🎮 🐤🍲📆👧🎼🐒 💑🍖📴🐠🍼 🎱🔮🍦💳👹 💫🏮📅🍑📭🎎 🏭💿🏫🔢👚💩 👇🌄🌗🔵💦 🔺🔡🌍🐗🏀📫\\\\n📻🍵🐰🔜🕧 🌴🌞🕙🎨🎾🔊🏰 🎑🌆🔁🌂 🕐📣📉🌴🕠📢 🎀📖🎋🔱📒💰 🍅🐻🌃🌖. 🎁🕔👎🎷📀📞 🍁🔫🍀🌃📹 💈📂💶👕 🍡📰👛🐻\\\\n🍖🐽💫📼 🍆🎀💛👫🔹 🎷🕙🌱👸🕁🔝 🍸🔅👿🐡. 🐟🔐🏡🔅👾 🐱💱👺🍶 🎠🔆🎤🏥🌻🗾 👽🎯💈🏣🔊📴💆🏫 🔉🌉🍃🌻 🎅🔌🔻💣 🌸🍎🐀🌇\\\\n🗻👔📤💤🔶. 🍆👣🕕👦📦👑 🐍🐉🔶🕕 🍲👩🍍🌕📻👒📵 🔣🌋🌟👼 🔏📀🐆🍖🍮 🐁🌘🐻🏥🐡🔶🔘🏭 👡🔫🔗📊📻 🍂💧🌿📥🔚 📹💻🔌💠🌚\\\\n🐦💴🌎🌞🏤.\\\\n\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\nmistakes than you do from your masterpieces. That's why I paint - because I can create the kind of world I want - and I\\\\ncan make this world as happy as I want it. I was blessed with a very steady hand; and it comes in very handy when you're\\\\ndoing these little delicate things. We'll paint one happy little tree right here. These things happen automatically. All\\\\nyou have to do is just let them happen.\\\\n\\\\n🐻🍘💀🐪 🕧🎂🕃🍵🏠 💎🌄🐐📘🐄 🍂🏤👊🍖 👆🍂📫👪🐈🕢👓 👯🕞🏉🍚🎆🔠🌵 🎭🎎💵📮📭 🔪💨📢📕 🐔📬👪🏄🐙🗽📤.\\\\n💛👴💧🎁👗💟👡💎 🎷🕡👮🗾🍷 🎪🍇🍩💰 📫🐗🎄🍍🎃 🎯🌴🐍🔉📰 👼👧🐢🕔🔷📞🍩 🔘👑🌆🌒🔣 🔆👺📴👾 🔝💑💸💒🏡🔸 🔟👞📷🔱👠\\\\n📵🏠📕🕝🐂👪 💐🎾🕁🗾👊📪. 🍉🏁👰🏡🕔💒🐯 🐟🍡📴🌿👱👢 📵💄🌊🌵🐫🍏 🎎🕠🍍💭💀👖 🎵💘🔗🍖 📧🌘🍅🕚📘🔮 👤🌾👿🐍🎽🌹\\\\n🎲🎎💅📪🐐🍢📈 🏣🐑👇👼🐄🍔 🍠📧🌊🕁🔛🐩. 🌺📊🍼🐁💼 🔈💬🌱🎑🔊🐙💲👩 🍇👞📎👻🌔 💑🕁🎲💤 🎮📃🕖📖 📻💬🔢💔🐇👬 🔨🌃📈🔞\\\\n🌒🎈👙🔥🐊 📭👍📢👊📟.\\\\n\\\\n出死問民同歴術荘面族上自。窃指写氷名続球投込光試事樹増。作合副者扶実権守安展感意環待質出。告供体企紙勢構込君奪属仕子業戦\\\\n浮私。長論攻士踊再連公雪地約政近第公。界地島命党浮国沼出問気混心未独院。朝原妙画岡性制領子金次問無浦妥混口時研。道記険健\\\\n集立根聖間前設集族山要本覧。変注再悩式付療場図験問県家界月止収文。\\\\n\\\\nलेकिन उसके संपादक उपलब्ध दिनांक प्रति सम्पर्क प्राधिकरन नाकर मुक्त कलइस वेबजाल वर्तमान समस्याओ देखने भोगोलिक केन्द्रिय\\\\nकिया खयालात विज्ञान ध्येय गटको साधन चिदंश पासपाई व्याख्या मार्गदर्शन संदेश जिवन प्रतिबध वार्तालाप किके विश्व खरिदने\\\\nहुआआदी तकनीकी संदेश सारांश असरकारक वार्तालाप चाहे पहोच। अतित पुर्णता केन्द्रिय\\\\n\\\\n👅💾🐂🔙 🐂🎠👶🐮🐛 👛💗💶🌿💒 🐐🌱🐶🌴🏤🐒 🔪🍡🎸🐛🍖 📗🎓🏊🕀🎿 🔅📋📥👳🔝 🐗👝🏄🐲 📂🎷🐎🏯💎🐹 📲🍍🏥🔂🕚🐉🎤\\\\n🌕🐴📐🎪💋. 💔👂🐗📷🎐 🌹📔💒📝👎📭 🔖🍶💺🕘 🔡💘🎪🔚🔯👉 💯🎉👠🎁🐌💵 👌🔉🎹🕒💕🍁 🏡🍢🔹🔷👀💦🏉👀 👑🐺🐁🏤\\\\n🎺🍁🐙🐮🌃🕢🐟 🍶🎃🕕🔦 🐧🔝💔💚🔫👍 🌉🔁🌄📺 👓🎳📧🌆💖🍋🕔. 🍥🔘🗼📟 🍹🔸🔰🕣🌍 🏡💽🍬👗👧 📩👬🌻🐐🌞🌎🐵🔛 🏆🌹🍰🔬📕\\\\n👋🎩🍓🌏👙 🎁🏃🎌🍳🔋👎📔 🐈🌽🔘💮 🏬🐷💿🕕. 📕👖📦📡 🎅🎺🏭🍗💜💷🐦 💻💚🐪🕠🔀 💰🍹💶🍶🎥📄 🌛👕🐲🐣🍷🎬 🐥🎯🔵🎹\\\\n🌿👌🐚🍛🏪 🌵📞💃📗👱👩 📟🐸🌺🐅👮 💚🐦💉💞🌛 🔼🔤👓🏡💩.\\\\n\\\\n\\\\nयधपि बाजार तकरीबन आंतरजाल प्राधिकरन लगती संदेश एसलिये बिन्दुओ प्रोत्साहित जानकारी ढांचामात्रुभाषा बाजार बदले प्रमान\\\\nअनुवाद विकेन्द्रित पसंद ढांचा हमारि जोवे उद्योग संस्थान और्४५० विकसित उदेश लेकिन सकती वार्तालाप लाभान्वित संदेश उदेश\\\\nपहोच। लचकनहि अनुवाद सुविधा एकत्रित कीने सक्षम भीयह अत्यंत लचकनहि निरपेक्ष कराना हमारि प्राप्त पुर्णता प्रतिबध्दता होगा\\\\nउन्हे जाएन खयालात पहोचाना\\\\n\\\\n散待望会窮縮囲前賀理格顔欧製暮景初子加。首稿覧析回未帯則号医間本取退埋帯品。右歳約幻病護指極講賞京応。野受移供頑特公却報\\\\n法利務水提士政駐物際。角媛分地昧況面日残金真福方雨入顔作化。最刊情感売校見強移本説注辞。経必好以小球生音明優去験見政感治\\\\n報付。講刊切記勝帯載豪著転読金止。金子森午模移言兆埠関価亡出目載。\\\\n\\\\nWork on one thing at a time. Don't get carried away - we have plenty of time. Everything is happy if you choose to make\\\\nit that way. Happy painting, God bless. You can create anything that makes you happy. Just make a decision and let it\\\\ngo. Nice little clouds playing around in the sky.You can do anything here - the only pre-requisite is that it makes you\\\\nhappy. I'm going to mix up a little color. We’ll use Van Dyke Brown, Permanent Red, and a little bit of Prussian Blue.\\\\nLet's make some happy little clouds in our world.\\\\n\\\\nपहेला गएआप स्वतंत्र प्राधिकरन सेऔर अनुकूल ब्रौशर बिन्दुओमे सदस्य गुजरना तकनिकल वैश्विक सकते बनाति चिदंश चाहे कुशलता\\\\nवर्तमान प्रोत्साहित देने विवरन पहोचाना विकेन्द्रियकरण अनुकूल विभाजनक्षमता औषधिक अन्य खरिदे दिये आवश्यक समस्याए कम्प्युटर\\\\nविनिमय अविरोधता लाभान्वित लाभो ढांचा\\\\n\\\\n抄聞調時得直決移警撃覧進聞滑公政央。日探劇票選伊追短青功書更将奈府成多。味治理育月漬安意散護良読京。芳豚大度面傾府山応著\\\\n器地捜志。止高棋戻管明証経処流自勝動続。装載聞視属王減通橋説主費事業情芸。追若得本臭稿事馬予治川劇覧記今竹犯破育食。参兆\\\\n徹括単写東家素講舞校食医咋存務代連子。球設国事検問周東集題聞供奈。\\\\n\\\\n🍊🌆📛🍛🌊🍡🍒 🔦🐟🐵🍚🌐🍛🐏 🔆💍📟🎧 🔐📤💺🐒 🔥🔬🐣💹🌻👚 🎰👯🎡🗻💯🐉🌗 🍐👣🐯🔖📚 💡📟👨🍮🍼💛📞 🕕🐁🌾🏧💻📷\\\\n💗🐢🏥🎵🐰🍉 🏥🔎💛💘🔧🍛🎿 🍟🌰🐴🏫🎀 🎷🌿🌴🏤🍢📳🍺 🐗👷🌳👦📩🌁 🐂🔜🔙📕. 🌎🍠📓📠🕡 🎽🔺🔱🌔📗🎤 🎫🍃👚🍤🐽🌰\\\\n🕠🌉📪🍒🐃💲 🎢🔯👶🔙🔚🕝 🍮📒🏉🏨🐝🌿 👔💫🏁🎺 🐸💞🌈🐸 📣🔯📅🐍🐴 🌑🌍🌛👀 🕂👟🐕📃🎇🔞 🍮🔏🍥👨 🐪📲🐐🎁 🍥🔁📑💮🌘.\\\\n🌏🎎🍛👯 🔈🎸💨🏧📚 🏪💼🎣🔚 🐤💳💁👓 👃🍆🕘🐋👬🐣 🕚🏃🌄🔷🌈🔖 💥💧🔴🌛🍁👦 💣🐐🕓🎠🕚🕞🏭 💨👓🏢🌓🔄. 📪🔜💹👤👂🐭\\\\n🕚🔎🐂🏂👍📻 👾💠🌕📻🎍 🐟🔬🏢💍 👓👠👤🎐💸👝 🔟💕🕛💊 🍩🌙👬🐘 🍪🔙📉💔🐝🕝 📭🕡🎼💈📇🔡 👓🍁🎾👯👨 🏇🍱🐢🌛\\\\n🎇🐩📴🎋🕁📎🎈 🐌👱📎🍹👆 👐🍐📗👽🐹💜 📭🌔🌅🍯👀.\\\\n\\\\n🔜🐰🏊🍃🐮 🔪🔐📇🐩 🐬👔🍙🍩💉 🏉👩👔🍞🍟🌂 🍺🕔🌖🔪🔩🍥 🎓🍒🌅🐘💛 🐔🐊📶🐊 👂📌👂🍺 💗🐳🎠📧🏭💧 🐝📅🍆🔞🏆\\\\n👇🔂🐺🔬🎯🔳🎐🎍 💖💅🐲🔭📔🏊🔋 🐨📫🕢🎁. 🐯💁🔘📰🐪 💥👭🍘🎴📣💂💄 🐏🔊🐚👔🎿🐙 🔕🐞💹📁 🔊👴👬👪 👠📱👃📍 🏢🐃🍯🍹🗻\\\\n🐩💮👲👠 🍏🎽📄🐋 🔣💉🔉📒💸🎭👎 💁🗾🔵🐪🍣 🍃🔝💥🔒👴. 📦🔟🔶💷🍥 🍚🕤👦🍻🔥🍹 👄🌜🐑🌀🐃🔪🕦 🌟🐶🍞🕥🌛 👮🐄🏬🎴👂💼📵\\\\n🌋📐🐲👥 🔒🏭🔭💿🎫🎄 💓🐓🎐🎁👔📟 💌🍇🎶👷🎬 🌌💀🎸💡 📔🐢💁🔊👘🐳🌞 🎩📝💟🍼💦🔄 🕒🍼🏧🎄🔃💐. 🎆🌜👗👿 🐁🌑💮👙🎌👞\\\\n🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. \`;\\\\n\\"],\\"names\\":[\\"allTheIpsum\\"],\\"mappings\\":\\"IAAaA\\"}"`; + +exports[`fixtures pretty 6`] = ` +"!function(e,n){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?n(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],n):n(e.pretty={})}(this,function(e){e.allTheIpsum=\\"\\\\n\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\nmistakes than you do from your masterpieces.\\\\n\\\\nTrees grow in all kinds of ways. They're not all perfectly straight. Not every limb is perfect. Now let's put some happy\\\\nlittle clouds in here. We have no limits to our world. We're only limited by our imagination. The first step to doing\\\\nanything is to believe you can do it. See it finished in your mind before you ever start. Even trees need a friend. We\\\\nall need friends. And that's when it becomes fun - you don't have to spend your time thinking about what's happening -\\\\nyou just let it happen.\\\\n\\\\nरिती संपादक बेंगलूर अन्तरराष्ट्रीयकरन शीघ्र भाषा चिदंश उद्योग विस्तरणक्षमता चिदंश एकएस तरहथा। प्रोत्साहित उपेक्ष बिन्दुओ\\\\nध्येय देने गुजरना ऎसाजीस निर्माण नवंबर लिए। एसेएवं उपलब्धता मुश्किले डाले। बहतर सहायता माध्यम भाषाओ समूह\\\\n\\\\n井待品亡写回横提和指生志考結。重特天県偏切運録広詳三人転者数代歳。秀天戦機広八型希金生作事国第。年米教止証車断級弘報安楽\\\\n銀必約現獲料切。点額講問課覧傷邸出送跡出懲。編米人験由社迷入解公著片法記択昇必崎掲清。摩出元自越食多県実間旅売主注理併間\\\\n話策。小政退時年福米越給新家入解美露方堀港朝。俊間髪物縦該高報見甲購形州日事。\\\\n\\\\n🌸🍂🌃🐧🍘🏧🍮 🌶👢🔗🐥🔼🎮 🐤🍲📆👧🎼🐒 💑🍖📴🐠🍼 🎱🔮🍦💳👹 💫🏮📅🍑📭🎎 🏭💿🏫🔢👚💩 👇🌄🌗🔵💦 🔺🔡🌍🐗🏀📫\\\\n📻🍵🐰🔜🕧 🌴🌞🕙🎨🎾🔊🏰 🎑🌆🔁🌂 🕐📣📉🌴🕠📢 🎀📖🎋🔱📒💰 🍅🐻🌃🌖. 🎁🕔👎🎷📀📞 🍁🔫🍀🌃📹 💈📂💶👕 🍡📰👛🐻\\\\n🍖🐽💫📼 🍆🎀💛👫🔹 🎷🕙🌱👸🕁🔝 🍸🔅👿🐡. 🐟🔐🏡🔅👾 🐱💱👺🍶 🎠🔆🎤🏥🌻🗾 👽🎯💈🏣🔊📴💆🏫 🔉🌉🍃🌻 🎅🔌🔻💣 🌸🍎🐀🌇\\\\n🗻👔📤💤🔶. 🍆👣🕕👦📦👑 🐍🐉🔶🕕 🍲👩🍍🌕📻👒📵 🔣🌋🌟👼 🔏📀🐆🍖🍮 🐁🌘🐻🏥🐡🔶🔘🏭 👡🔫🔗📊📻 🍂💧🌿📥🔚 📹💻🔌💠🌚\\\\n🐦💴🌎🌞🏤.\\\\n\\\\nThere is immense joy in just watching - watching all the little creatures in nature. I'll go over the colors one more\\\\ntime that we use: Titanium white, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap green, Cad yellow,\\\\nand Permanent red. If you don't like it - change it. It's your world. Be brave. Sometimes you learn more from your\\\\nmistakes than you do from your masterpieces. That's why I paint - because I can create the kind of world I want - and I\\\\ncan make this world as happy as I want it. I was blessed with a very steady hand; and it comes in very handy when you're\\\\ndoing these little delicate things. We'll paint one happy little tree right here. These things happen automatically. All\\\\nyou have to do is just let them happen.\\\\n\\\\n🐻🍘💀🐪 🕧🎂🕃🍵🏠 💎🌄🐐📘🐄 🍂🏤👊🍖 👆🍂📫👪🐈🕢👓 👯🕞🏉🍚🎆🔠🌵 🎭🎎💵📮📭 🔪💨📢📕 🐔📬👪🏄🐙🗽📤.\\\\n💛👴💧🎁👗💟👡💎 🎷🕡👮🗾🍷 🎪🍇🍩💰 📫🐗🎄🍍🎃 🎯🌴🐍🔉📰 👼👧🐢🕔🔷📞🍩 🔘👑🌆🌒🔣 🔆👺📴👾 🔝💑💸💒🏡🔸 🔟👞📷🔱👠\\\\n📵🏠📕🕝🐂👪 💐🎾🕁🗾👊📪. 🍉🏁👰🏡🕔💒🐯 🐟🍡📴🌿👱👢 📵💄🌊🌵🐫🍏 🎎🕠🍍💭💀👖 🎵💘🔗🍖 📧🌘🍅🕚📘🔮 👤🌾👿🐍🎽🌹\\\\n🎲🎎💅📪🐐🍢📈 🏣🐑👇👼🐄🍔 🍠📧🌊🕁🔛🐩. 🌺📊🍼🐁💼 🔈💬🌱🎑🔊🐙💲👩 🍇👞📎👻🌔 💑🕁🎲💤 🎮📃🕖📖 📻💬🔢💔🐇👬 🔨🌃📈🔞\\\\n🌒🎈👙🔥🐊 📭👍📢👊📟.\\\\n\\\\n出死問民同歴術荘面族上自。窃指写氷名続球投込光試事樹増。作合副者扶実権守安展感意環待質出。告供体企紙勢構込君奪属仕子業戦\\\\n浮私。長論攻士踊再連公雪地約政近第公。界地島命党浮国沼出問気混心未独院。朝原妙画岡性制領子金次問無浦妥混口時研。道記険健\\\\n集立根聖間前設集族山要本覧。変注再悩式付療場図験問県家界月止収文。\\\\n\\\\nलेकिन उसके संपादक उपलब्ध दिनांक प्रति सम्पर्क प्राधिकरन नाकर मुक्त कलइस वेबजाल वर्तमान समस्याओ देखने भोगोलिक केन्द्रिय\\\\nकिया खयालात विज्ञान ध्येय गटको साधन चिदंश पासपाई व्याख्या मार्गदर्शन संदेश जिवन प्रतिबध वार्तालाप किके विश्व खरिदने\\\\nहुआआदी तकनीकी संदेश सारांश असरकारक वार्तालाप चाहे पहोच। अतित पुर्णता केन्द्रिय\\\\n\\\\n👅💾🐂🔙 🐂🎠👶🐮🐛 👛💗💶🌿💒 🐐🌱🐶🌴🏤🐒 🔪🍡🎸🐛🍖 📗🎓🏊🕀🎿 🔅📋📥👳🔝 🐗👝🏄🐲 📂🎷🐎🏯💎🐹 📲🍍🏥🔂🕚🐉🎤\\\\n🌕🐴📐🎪💋. 💔👂🐗📷🎐 🌹📔💒📝👎📭 🔖🍶💺🕘 🔡💘🎪🔚🔯👉 💯🎉👠🎁🐌💵 👌🔉🎹🕒💕🍁 🏡🍢🔹🔷👀💦🏉👀 👑🐺🐁🏤\\\\n🎺🍁🐙🐮🌃🕢🐟 🍶🎃🕕🔦 🐧🔝💔💚🔫👍 🌉🔁🌄📺 👓🎳📧🌆💖🍋🕔. 🍥🔘🗼📟 🍹🔸🔰🕣🌍 🏡💽🍬👗👧 📩👬🌻🐐🌞🌎🐵🔛 🏆🌹🍰🔬📕\\\\n👋🎩🍓🌏👙 🎁🏃🎌🍳🔋👎📔 🐈🌽🔘💮 🏬🐷💿🕕. 📕👖📦📡 🎅🎺🏭🍗💜💷🐦 💻💚🐪🕠🔀 💰🍹💶🍶🎥📄 🌛👕🐲🐣🍷🎬 🐥🎯🔵🎹\\\\n🌿👌🐚🍛🏪 🌵📞💃📗👱👩 📟🐸🌺🐅👮 💚🐦💉💞🌛 🔼🔤👓🏡💩.\\\\n\\\\n\\\\nयधपि बाजार तकरीबन आंतरजाल प्राधिकरन लगती संदेश एसलिये बिन्दुओ प्रोत्साहित जानकारी ढांचामात्रुभाषा बाजार बदले प्रमान\\\\nअनुवाद विकेन्द्रित पसंद ढांचा हमारि जोवे उद्योग संस्थान और्४५० विकसित उदेश लेकिन सकती वार्तालाप लाभान्वित संदेश उदेश\\\\nपहोच। लचकनहि अनुवाद सुविधा एकत्रित कीने सक्षम भीयह अत्यंत लचकनहि निरपेक्ष कराना हमारि प्राप्त पुर्णता प्रतिबध्दता होगा\\\\nउन्हे जाएन खयालात पहोचाना\\\\n\\\\n散待望会窮縮囲前賀理格顔欧製暮景初子加。首稿覧析回未帯則号医間本取退埋帯品。右歳約幻病護指極講賞京応。野受移供頑特公却報\\\\n法利務水提士政駐物際。角媛分地昧況面日残金真福方雨入顔作化。最刊情感売校見強移本説注辞。経必好以小球生音明優去験見政感治\\\\n報付。講刊切記勝帯載豪著転読金止。金子森午模移言兆埠関価亡出目載。\\\\n\\\\nWork on one thing at a time. Don't get carried away - we have plenty of time. Everything is happy if you choose to make\\\\nit that way. Happy painting, God bless. You can create anything that makes you happy. Just make a decision and let it\\\\ngo. Nice little clouds playing around in the sky.You can do anything here - the only pre-requisite is that it makes you\\\\nhappy. I'm going to mix up a little color. We’ll use Van Dyke Brown, Permanent Red, and a little bit of Prussian Blue.\\\\nLet's make some happy little clouds in our world.\\\\n\\\\nपहेला गएआप स्वतंत्र प्राधिकरन सेऔर अनुकूल ब्रौशर बिन्दुओमे सदस्य गुजरना तकनिकल वैश्विक सकते बनाति चिदंश चाहे कुशलता\\\\nवर्तमान प्रोत्साहित देने विवरन पहोचाना विकेन्द्रियकरण अनुकूल विभाजनक्षमता औषधिक अन्य खरिदे दिये आवश्यक समस्याए कम्प्युटर\\\\nविनिमय अविरोधता लाभान्वित लाभो ढांचा\\\\n\\\\n抄聞調時得直決移警撃覧進聞滑公政央。日探劇票選伊追短青功書更将奈府成多。味治理育月漬安意散護良読京。芳豚大度面傾府山応著\\\\n器地捜志。止高棋戻管明証経処流自勝動続。装載聞視属王減通橋説主費事業情芸。追若得本臭稿事馬予治川劇覧記今竹犯破育食。参兆\\\\n徹括単写東家素講舞校食医咋存務代連子。球設国事検問周東集題聞供奈。\\\\n\\\\n🍊🌆📛🍛🌊🍡🍒 🔦🐟🐵🍚🌐🍛🐏 🔆💍📟🎧 🔐📤💺🐒 🔥🔬🐣💹🌻👚 🎰👯🎡🗻💯🐉🌗 🍐👣🐯🔖📚 💡📟👨🍮🍼💛📞 🕕🐁🌾🏧💻📷\\\\n💗🐢🏥🎵🐰🍉 🏥🔎💛💘🔧🍛🎿 🍟🌰🐴🏫🎀 🎷🌿🌴🏤🍢📳🍺 🐗👷🌳👦📩🌁 🐂🔜🔙📕. 🌎🍠📓📠🕡 🎽🔺🔱🌔📗🎤 🎫🍃👚🍤🐽🌰\\\\n🕠🌉📪🍒🐃💲 🎢🔯👶🔙🔚🕝 🍮📒🏉🏨🐝🌿 👔💫🏁🎺 🐸💞🌈🐸 📣🔯📅🐍🐴 🌑🌍🌛👀 🕂👟🐕📃🎇🔞 🍮🔏🍥👨 🐪📲🐐🎁 🍥🔁📑💮🌘.\\\\n🌏🎎🍛👯 🔈🎸💨🏧📚 🏪💼🎣🔚 🐤💳💁👓 👃🍆🕘🐋👬🐣 🕚🏃🌄🔷🌈🔖 💥💧🔴🌛🍁👦 💣🐐🕓🎠🕚🕞🏭 💨👓🏢🌓🔄. 📪🔜💹👤👂🐭\\\\n🕚🔎🐂🏂👍📻 👾💠🌕📻🎍 🐟🔬🏢💍 👓👠👤🎐💸👝 🔟💕🕛💊 🍩🌙👬🐘 🍪🔙📉💔🐝🕝 📭🕡🎼💈📇🔡 👓🍁🎾👯👨 🏇🍱🐢🌛\\\\n🎇🐩📴🎋🕁📎🎈 🐌👱📎🍹👆 👐🍐📗👽🐹💜 📭🌔🌅🍯👀.\\\\n\\\\n🔜🐰🏊🍃🐮 🔪🔐📇🐩 🐬👔🍙🍩💉 🏉👩👔🍞🍟🌂 🍺🕔🌖🔪🔩🍥 🎓🍒🌅🐘💛 🐔🐊📶🐊 👂📌👂🍺 💗🐳🎠📧🏭💧 🐝📅🍆🔞🏆\\\\n👇🔂🐺🔬🎯🔳🎐🎍 💖💅🐲🔭📔🏊🔋 🐨📫🕢🎁. 🐯💁🔘📰🐪 💥👭🍘🎴📣💂💄 🐏🔊🐚👔🎿🐙 🔕🐞💹📁 🔊👴👬👪 👠📱👃📍 🏢🐃🍯🍹🗻\\\\n🐩💮👲👠 🍏🎽📄🐋 🔣💉🔉📒💸🎭👎 💁🗾🔵🐪🍣 🍃🔝💥🔒👴. 📦🔟🔶💷🍥 🍚🕤👦🍻🔥🍹 👄🌜🐑🌀🐃🔪🕦 🌟🐶🍞🕥🌛 👮🐄🏬🎴👂💼📵\\\\n🌋📐🐲👥 🔒🏭🔭💿🎫🎄 💓🐓🎐🎁👔📟 💌🍇🎶👷🎬 🌌💀🎸💡 📔🐢💁🔊👘🐳🌞 🎩📝💟🍼💦🔄 🕒🍼🏧🎄🔃💐. 🎆🌜👗👿 🐁🌑💮👙🎌👞\\\\n🏫📙🌌🕙🐥 👓🌑💎💸📹📒 👋🐎🍡🎾👸🗽 📢📓🌍🏮📳🔈 👶🐷🐭🎿🔴🗾🏬 🌆🔈🍡💞💭🎨. \\"}); +//# sourceMappingURL=pretty.umd.js.map +" +`; + +exports[`fixtures pretty 7`] = `"{\\"version\\":3,\\"file\\":\\"pretty.umd.js\\",\\"sources\\":[],\\"sourcesContent\\":[],\\"names\\":[],\\"mappings\\":\\"\\"}"`; + exports[`fixtures raw 1`] = ` "Used script: microbundle --raw @@ -567,6 +1200,30 @@ Build \\"raw\\" to dist: 1245 B: raw.umd.js.br" `; +exports[`fixtures raw 2`] = ` +"exports.OneKilobyteOfBobRoss=\\"\\\\n\\\\tWe might as well make some Almighty mountains today as well, what the heck.\\\\n\\\\tIn your imagination you can go anywhere you want. Nice little fluffy clouds\\\\n\\\\tlaying around in the sky being lazy. You have to make those little noises or\\\\n\\\\tit won't work. Clouds are free they come and go as they please.\\\\n\\\\n\\\\tTrees grow in all kinds of ways. They're not all perfectly straight. Not\\\\n\\\\tevery limb is perfect. Now let's put some happy little clouds in here. We\\\\n\\\\thave no limits to our world. We're only limited by our imagination. The\\\\n\\\\tfirst step to doing anything is to believe you can do it. See it finished\\\\n\\\\tin your mind before you ever start. Even trees need a friend. We all need\\\\n\\\\tfriends. And that's when it becomes fun - you don't have to spend your\\\\n\\\\ttime thinking about what's happening - you just let it happen.\\\\n\\\\n\\\\tI thought today we would do a happy little picture. We don't have to be\\\\n\\\\tconcerned about it. We just have to let it fall where it will. I'm gonna\\\\n\\\\tstart with a little Alizarin crimson and a touch of Prussian blue Be so\\\\n\\\\tvery light. Be a gentle whisper. The only prerequisite is that it makes\\\\n\\\\tyou happy. If it makes you happy then it's good. This is truly an almighty\\\\n\\\\tmountain.\\\\n\\\\n\\\\tThat's why I paint - because I can create the kind of world I want - and I\\\\n\\\\tcan make this world as happy as I want it. I was blessed with a very steady\\\\n\\\\thand; and it comes in very handy when you're doing these little delicate\\\\n\\\\tthings. We'll paint one happy little tree right here. These things happen\\\\n\\\\tautomatically. All you have to do is just let them happen.\\\\n\\\\n\\\\tYou can do anything here - the only pre-requisite is that it makes you\\\\n\\\\thappy. I'm going to mix up a little color. We’ll use Van Dyke Brown,\\\\n\\\\tPermanent Red, and a little bit of Prussian Blue. Let's make some happy\\\\n\\\\tlittle clouds in our world.\\\\n\\\\n\\\\tWork on one thing at a time. Don't get carried away - we have plenty of\\\\n\\\\ttime. Everything is happy if you choose to make it that way. Happy\\\\n\\\\tpainting, God bless. You can create anything that makes you happy. Just\\\\n\\\\tmake a decision and let it go. Nice little clouds playing around in the\\\\n\\\\tsky.\\\\n\\\\n\\\\tAnytime you learn something your time and energy are not wasted. Van Dyke\\\\n\\\\tBrown is a very nice brown, it's almost like a chocolate brown. It's\\\\n\\\\timportant to me that you're happy. In nature, dead trees are just as normal\\\\n\\\\tas live trees. Painting should do one thing. It should put happiness in\\\\n\\\\tyour heart.\\\\n\\\\n\\\\tThere is immense joy in just watching - watching all the little creatures\\\\n\\\\tin nature. I'll go over the colors one more time that we use: Titanium\\\\n\\\\twhite, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap\\\\n\\\\tgreen, Cad yellow, and Permanent red. If you don't like it - change it.\\\\n\\\\tIt's your world. Be brave. Sometimes you learn more from your mistakes than\\\\n\\\\tyou do from your masterpieces.\\"; +//# sourceMappingURL=raw.js.map +" +`; + +exports[`fixtures raw 3`] = `"{\\"version\\":3,\\"file\\":\\"raw.js\\",\\"sources\\":[],\\"sourcesContent\\":[],\\"names\\":[],\\"mappings\\":\\"\\"}"`; + +exports[`fixtures raw 4`] = ` +"var e=\\"\\\\n\\\\tWe might as well make some Almighty mountains today as well, what the heck.\\\\n\\\\tIn your imagination you can go anywhere you want. Nice little fluffy clouds\\\\n\\\\tlaying around in the sky being lazy. You have to make those little noises or\\\\n\\\\tit won't work. Clouds are free they come and go as they please.\\\\n\\\\n\\\\tTrees grow in all kinds of ways. They're not all perfectly straight. Not\\\\n\\\\tevery limb is perfect. Now let's put some happy little clouds in here. We\\\\n\\\\thave no limits to our world. We're only limited by our imagination. The\\\\n\\\\tfirst step to doing anything is to believe you can do it. See it finished\\\\n\\\\tin your mind before you ever start. Even trees need a friend. We all need\\\\n\\\\tfriends. And that's when it becomes fun - you don't have to spend your\\\\n\\\\ttime thinking about what's happening - you just let it happen.\\\\n\\\\n\\\\tI thought today we would do a happy little picture. We don't have to be\\\\n\\\\tconcerned about it. We just have to let it fall where it will. I'm gonna\\\\n\\\\tstart with a little Alizarin crimson and a touch of Prussian blue Be so\\\\n\\\\tvery light. Be a gentle whisper. The only prerequisite is that it makes\\\\n\\\\tyou happy. If it makes you happy then it's good. This is truly an almighty\\\\n\\\\tmountain.\\\\n\\\\n\\\\tThat's why I paint - because I can create the kind of world I want - and I\\\\n\\\\tcan make this world as happy as I want it. I was blessed with a very steady\\\\n\\\\thand; and it comes in very handy when you're doing these little delicate\\\\n\\\\tthings. We'll paint one happy little tree right here. These things happen\\\\n\\\\tautomatically. All you have to do is just let them happen.\\\\n\\\\n\\\\tYou can do anything here - the only pre-requisite is that it makes you\\\\n\\\\thappy. I'm going to mix up a little color. We’ll use Van Dyke Brown,\\\\n\\\\tPermanent Red, and a little bit of Prussian Blue. Let's make some happy\\\\n\\\\tlittle clouds in our world.\\\\n\\\\n\\\\tWork on one thing at a time. Don't get carried away - we have plenty of\\\\n\\\\ttime. Everything is happy if you choose to make it that way. Happy\\\\n\\\\tpainting, God bless. You can create anything that makes you happy. Just\\\\n\\\\tmake a decision and let it go. Nice little clouds playing around in the\\\\n\\\\tsky.\\\\n\\\\n\\\\tAnytime you learn something your time and energy are not wasted. Van Dyke\\\\n\\\\tBrown is a very nice brown, it's almost like a chocolate brown. It's\\\\n\\\\timportant to me that you're happy. In nature, dead trees are just as normal\\\\n\\\\tas live trees. Painting should do one thing. It should put happiness in\\\\n\\\\tyour heart.\\\\n\\\\n\\\\tThere is immense joy in just watching - watching all the little creatures\\\\n\\\\tin nature. I'll go over the colors one more time that we use: Titanium\\\\n\\\\twhite, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap\\\\n\\\\tgreen, Cad yellow, and Permanent red. If you don't like it - change it.\\\\n\\\\tIt's your world. Be brave. Sometimes you learn more from your mistakes than\\\\n\\\\tyou do from your masterpieces.\\";export{e as OneKilobyteOfBobRoss}; +//# sourceMappingURL=raw.mjs.map +" +`; + +exports[`fixtures raw 5`] = `"{\\"version\\":3,\\"file\\":\\"raw.mjs\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"export const OneKilobyteOfBobRoss = \`\\\\n\\\\tWe might as well make some Almighty mountains today as well, what the heck.\\\\n\\\\tIn your imagination you can go anywhere you want. Nice little fluffy clouds\\\\n\\\\tlaying around in the sky being lazy. You have to make those little noises or\\\\n\\\\tit won't work. Clouds are free they come and go as they please.\\\\n\\\\n\\\\tTrees grow in all kinds of ways. They're not all perfectly straight. Not\\\\n\\\\tevery limb is perfect. Now let's put some happy little clouds in here. We\\\\n\\\\thave no limits to our world. We're only limited by our imagination. The\\\\n\\\\tfirst step to doing anything is to believe you can do it. See it finished\\\\n\\\\tin your mind before you ever start. Even trees need a friend. We all need\\\\n\\\\tfriends. And that's when it becomes fun - you don't have to spend your\\\\n\\\\ttime thinking about what's happening - you just let it happen.\\\\n\\\\n\\\\tI thought today we would do a happy little picture. We don't have to be\\\\n\\\\tconcerned about it. We just have to let it fall where it will. I'm gonna\\\\n\\\\tstart with a little Alizarin crimson and a touch of Prussian blue Be so\\\\n\\\\tvery light. Be a gentle whisper. The only prerequisite is that it makes\\\\n\\\\tyou happy. If it makes you happy then it's good. This is truly an almighty\\\\n\\\\tmountain.\\\\n\\\\n\\\\tThat's why I paint - because I can create the kind of world I want - and I\\\\n\\\\tcan make this world as happy as I want it. I was blessed with a very steady\\\\n\\\\thand; and it comes in very handy when you're doing these little delicate\\\\n\\\\tthings. We'll paint one happy little tree right here. These things happen\\\\n\\\\tautomatically. All you have to do is just let them happen.\\\\n\\\\n\\\\tYou can do anything here - the only pre-requisite is that it makes you\\\\n\\\\thappy. I'm going to mix up a little color. We’ll use Van Dyke Brown,\\\\n\\\\tPermanent Red, and a little bit of Prussian Blue. Let's make some happy\\\\n\\\\tlittle clouds in our world.\\\\n\\\\n\\\\tWork on one thing at a time. Don't get carried away - we have plenty of\\\\n\\\\ttime. Everything is happy if you choose to make it that way. Happy\\\\n\\\\tpainting, God bless. You can create anything that makes you happy. Just\\\\n\\\\tmake a decision and let it go. Nice little clouds playing around in the\\\\n\\\\tsky.\\\\n\\\\n\\\\tAnytime you learn something your time and energy are not wasted. Van Dyke\\\\n\\\\tBrown is a very nice brown, it's almost like a chocolate brown. It's\\\\n\\\\timportant to me that you're happy. In nature, dead trees are just as normal\\\\n\\\\tas live trees. Painting should do one thing. It should put happiness in\\\\n\\\\tyour heart.\\\\n\\\\n\\\\tThere is immense joy in just watching - watching all the little creatures\\\\n\\\\tin nature. I'll go over the colors one more time that we use: Titanium\\\\n\\\\twhite, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap\\\\n\\\\tgreen, Cad yellow, and Permanent red. If you don't like it - change it.\\\\n\\\\tIt's your world. Be brave. Sometimes you learn more from your mistakes than\\\\n\\\\tyou do from your masterpieces.\`;\\\\n\\"],\\"names\\":[\\"OneKilobyteOfBobRoss\\"],\\"mappings\\":\\"IAAaA\\"}"`; + +exports[`fixtures raw 6`] = ` +"!function(e,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?t(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],t):t(e.raw={})}(this,function(e){e.OneKilobyteOfBobRoss=\\"\\\\n\\\\tWe might as well make some Almighty mountains today as well, what the heck.\\\\n\\\\tIn your imagination you can go anywhere you want. Nice little fluffy clouds\\\\n\\\\tlaying around in the sky being lazy. You have to make those little noises or\\\\n\\\\tit won't work. Clouds are free they come and go as they please.\\\\n\\\\n\\\\tTrees grow in all kinds of ways. They're not all perfectly straight. Not\\\\n\\\\tevery limb is perfect. Now let's put some happy little clouds in here. We\\\\n\\\\thave no limits to our world. We're only limited by our imagination. The\\\\n\\\\tfirst step to doing anything is to believe you can do it. See it finished\\\\n\\\\tin your mind before you ever start. Even trees need a friend. We all need\\\\n\\\\tfriends. And that's when it becomes fun - you don't have to spend your\\\\n\\\\ttime thinking about what's happening - you just let it happen.\\\\n\\\\n\\\\tI thought today we would do a happy little picture. We don't have to be\\\\n\\\\tconcerned about it. We just have to let it fall where it will. I'm gonna\\\\n\\\\tstart with a little Alizarin crimson and a touch of Prussian blue Be so\\\\n\\\\tvery light. Be a gentle whisper. The only prerequisite is that it makes\\\\n\\\\tyou happy. If it makes you happy then it's good. This is truly an almighty\\\\n\\\\tmountain.\\\\n\\\\n\\\\tThat's why I paint - because I can create the kind of world I want - and I\\\\n\\\\tcan make this world as happy as I want it. I was blessed with a very steady\\\\n\\\\thand; and it comes in very handy when you're doing these little delicate\\\\n\\\\tthings. We'll paint one happy little tree right here. These things happen\\\\n\\\\tautomatically. All you have to do is just let them happen.\\\\n\\\\n\\\\tYou can do anything here - the only pre-requisite is that it makes you\\\\n\\\\thappy. I'm going to mix up a little color. We’ll use Van Dyke Brown,\\\\n\\\\tPermanent Red, and a little bit of Prussian Blue. Let's make some happy\\\\n\\\\tlittle clouds in our world.\\\\n\\\\n\\\\tWork on one thing at a time. Don't get carried away - we have plenty of\\\\n\\\\ttime. Everything is happy if you choose to make it that way. Happy\\\\n\\\\tpainting, God bless. You can create anything that makes you happy. Just\\\\n\\\\tmake a decision and let it go. Nice little clouds playing around in the\\\\n\\\\tsky.\\\\n\\\\n\\\\tAnytime you learn something your time and energy are not wasted. Van Dyke\\\\n\\\\tBrown is a very nice brown, it's almost like a chocolate brown. It's\\\\n\\\\timportant to me that you're happy. In nature, dead trees are just as normal\\\\n\\\\tas live trees. Painting should do one thing. It should put happiness in\\\\n\\\\tyour heart.\\\\n\\\\n\\\\tThere is immense joy in just watching - watching all the little creatures\\\\n\\\\tin nature. I'll go over the colors one more time that we use: Titanium\\\\n\\\\twhite, Thalo green, Prussian blue, Van Dyke brown, Alizarin crimson, Sap\\\\n\\\\tgreen, Cad yellow, and Permanent red. If you don't like it - change it.\\\\n\\\\tIt's your world. Be brave. Sometimes you learn more from your mistakes than\\\\n\\\\tyou do from your masterpieces.\\"}); +//# sourceMappingURL=raw.umd.js.map +" +`; + +exports[`fixtures raw 7`] = `"{\\"version\\":3,\\"file\\":\\"raw.umd.js\\",\\"sources\\":[],\\"sourcesContent\\":[],\\"names\\":[],\\"mappings\\":\\"\\"}"`; + exports[`fixtures shebang 1`] = ` "Used script: microbundle @@ -593,3 +1250,103 @@ Build \\"shebang\\" to dist: 177 B: shebang.umd.js.gz 149 B: shebang.umd.js.br" `; + +exports[`fixtures shebang 2`] = ` +"#!/usr/bin/env node +exports.foo=function(){return\\"hello world\\"}; +//# sourceMappingURL=shebang.js.map +" +`; + +exports[`fixtures shebang 3`] = `"{\\"version\\":3,\\"file\\":\\"shebang.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"#!/usr/bin/env node\\\\n\\\\nexport function foo() {\\\\n\\\\treturn 'hello world';\\\\n}\\\\n\\"],\\"names\\":[],\\"mappings\\":\\";YAEO,iBACC\\"}"`; + +exports[`fixtures shebang 4`] = ` +"#!/usr/bin/env node +function o(){return\\"hello world\\"}export{o as foo}; +//# sourceMappingURL=shebang.mjs.map +" +`; + +exports[`fixtures shebang 5`] = `"{\\"version\\":3,\\"file\\":\\"shebang.mjs\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"#!/usr/bin/env node\\\\n\\\\nexport function foo() {\\\\n\\\\treturn 'hello world';\\\\n}\\\\n\\"],\\"names\\":[\\"foo\\"],\\"mappings\\":\\";AAEO,SAASA,UACR\\"}"`; + +exports[`fixtures shebang 6`] = ` +"#!/usr/bin/env node +!function(e,o){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?o(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],o):o(e.shebang={})}(this,function(e){e.foo=function(){return\\"hello world\\"}}); +//# sourceMappingURL=shebang.umd.js.map +" +`; + +exports[`fixtures shebang 7`] = `"{\\"version\\":3,\\"file\\":\\"shebang.umd.js\\",\\"sources\\":[\\"../src/index.js\\"],\\"sourcesContent\\":[\\"#!/usr/bin/env node\\\\n\\\\nexport function foo() {\\\\n\\\\treturn 'hello world';\\\\n}\\\\n\\"],\\"names\\":[],\\"mappings\\":\\";mLAEO,iBACC\\"}"`; + +exports[`fixtures ts-mixed-exports 1`] = ` +"Used script: microbundle + +Directory tree: + +ts-mixed-exports + dist + car.d.ts + index.d.ts + ts-mixed-exports.js + ts-mixed-exports.js.map + ts-mixed-exports.mjs + ts-mixed-exports.mjs.map + ts-mixed-exports.umd.js + ts-mixed-exports.umd.js.map + package.json + src + car.ts + index.ts + tsconfig.json + + +Build \\"tsMixedExports\\" to dist: +112 B: ts-mixed-exports.js.gz +89 B: ts-mixed-exports.js.br +113 B: ts-mixed-exports.mjs.gz +98 B: ts-mixed-exports.mjs.br +204 B: ts-mixed-exports.umd.js.gz +160 B: ts-mixed-exports.umd.js.br" +`; + +exports[`fixtures ts-mixed-exports 2`] = ` +"export interface Driveable { + drive(distance: number): boolean; +} +export default class Car implements Driveable { + drive(distance: number): boolean; +} +" +`; + +exports[`fixtures ts-mixed-exports 3`] = ` +"import Car from './car'; +declare let Ferrari: Car; +export { Car }; +export default Ferrari; +" +`; + +exports[`fixtures ts-mixed-exports 4`] = ` +"var r=function(){function r(){}return r.prototype.drive=function(r){return!0},r}(),t=new r;exports.Car=r,exports.default=t; +//# sourceMappingURL=ts-mixed-exports.js.map +" +`; + +exports[`fixtures ts-mixed-exports 5`] = `"{\\"version\\":3,\\"file\\":\\"ts-mixed-exports.js\\",\\"sources\\":[\\"../src/car.ts\\",\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"export interface Driveable {\\\\n\\\\tdrive(distance: number): boolean;\\\\n}\\\\n\\\\nexport default class Car implements Driveable {\\\\n\\\\tpublic drive(distance: number): boolean {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n}\\\\n\\",\\"import Car from './car';\\\\n\\\\nlet Ferrari = new Car();\\\\n\\\\nexport { Car };\\\\n\\\\nexport default Ferrari;\\\\n\\"],\\"names\\":[\\"Car\\",\\"drive\\",\\"distance\\",\\"Ferrari\\"],\\"mappings\\":\\"IAIqBA,8CACbC,MAAA,SAAMC,UACL,QCJLC,EAAU,IAAIH\\"}"`; + +exports[`fixtures ts-mixed-exports 6`] = ` +"var t=function(){function t(){}return t.prototype.drive=function(t){return!0},t}();export default new t;export{t as Car}; +//# sourceMappingURL=ts-mixed-exports.mjs.map +" +`; + +exports[`fixtures ts-mixed-exports 7`] = `"{\\"version\\":3,\\"file\\":\\"ts-mixed-exports.mjs\\",\\"sources\\":[\\"../src/car.ts\\",\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"export interface Driveable {\\\\n\\\\tdrive(distance: number): boolean;\\\\n}\\\\n\\\\nexport default class Car implements Driveable {\\\\n\\\\tpublic drive(distance: number): boolean {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n}\\\\n\\",\\"import Car from './car';\\\\n\\\\nlet Ferrari = new Car();\\\\n\\\\nexport { Car };\\\\n\\\\nexport default Ferrari;\\\\n\\"],\\"names\\":[\\"Car\\",\\"drive\\",\\"distance\\"],\\"mappings\\":\\"IAIqBA,8CACbC,MAAA,SAAMC,UACL,uBCJK,IAAIF\\"}"`; + +exports[`fixtures ts-mixed-exports 8`] = ` +"!function(e,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?t(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],t):t(e.tsMixedExports={})}(this,function(e){var t=function(){function e(){}return e.prototype.drive=function(e){return!0},e}(),n=new t;e.Car=t,e.default=n}); +//# sourceMappingURL=ts-mixed-exports.umd.js.map +" +`; + +exports[`fixtures ts-mixed-exports 9`] = `"{\\"version\\":3,\\"file\\":\\"ts-mixed-exports.umd.js\\",\\"sources\\":[\\"../src/car.ts\\",\\"../src/index.ts\\"],\\"sourcesContent\\":[\\"export interface Driveable {\\\\n\\\\tdrive(distance: number): boolean;\\\\n}\\\\n\\\\nexport default class Car implements Driveable {\\\\n\\\\tpublic drive(distance: number): boolean {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n}\\\\n\\",\\"import Car from './car';\\\\n\\\\nlet Ferrari = new Car();\\\\n\\\\nexport { Car };\\\\n\\\\nexport default Ferrari;\\\\n\\"],\\"names\\":[\\"Car\\",\\"drive\\",\\"distance\\",\\"Ferrari\\"],\\"mappings\\":\\"wLAIqBA,8CACbC,MAAA,SAAMC,UACL,QCJLC,EAAU,IAAIH\\"}"`;