Make images smaller using best-in-class codecs, right in the browser.
JavaScript
Rollup build
Jake Archibald56e10b3aa2e7
diff --git a/.gitignore b/.gitignoreindex 9d58f008..4ae777d8 100644--- a/.gitignore+++ b/.gitignore@@ -1,6 +1,11 @@+.tmpnode_modules-/build-/*.log*.scss.d.ts*.css.d.ts+build*.o++# Auto-generated by lib/feature-plugin.js+src/features-worker/index.ts+src/client/lazy-app/worker-bridge/meta.ts+src/client/lazy-app/feature-meta/index.tsdiff --git a/.nvmrc b/.nvmrcindex ba5fe175..9cd25a1f 100644--- a/.nvmrc+++ b/.nvmrc@@ -1 +1 @@-10.16.2+12.18.3diff --git a/.prettierrc.json b/.prettierrc.jsonnew file mode 100644index 00000000..a20502b7--- /dev/null+++ b/.prettierrc.json@@ -0,0 +1,4 @@+{+ "singleQuote": true,+ "trailingComma": "all"+}diff --git a/_headers.ejs b/_headers.ejsdeleted file mode 100644index 999e0982..00000000--- a/_headers.ejs+++ /dev/null@@ -1,18 +0,0 @@-# Long-term cache by default.-/*- Cache-Control: max-age=31536000--# And here are the exceptions:-/- Cache-Control: no-cache--/serviceworker.js- Cache-Control: no-cache--/manifest.json- Cache-Control: must-revalidate, max-age=3600--# URLs in /assets do not include a hash and are mutable.-# But it isn't a big deal if the user gets an old version.-/assets/*- Cache-Control: must-revalidate, max-age=3600diff --git a/client-tsconfig.json b/client-tsconfig.jsonnew file mode 100644index 00000000..676e06ee--- /dev/null+++ b/client-tsconfig.json@@ -0,0 +1,19 @@+{+ "extends": "./generic-tsconfig.json",+ "compilerOptions": {+ "lib": ["esnext", "dom", "dom.iterable"],+ "types": []+ },+ "include": [+ "src/features/**/client/**/*",+ "src/features/**/shared/**/*",+ "src/features/client-utils/**/*",+ "src/shared/**/*",+ "src/client/**/*",+ // Not really clean, but we need these to access the type of the functions+ // for comlink+ "src/features/**/worker/**/*",+ "src/features-worker/**/*",+ "src/features/worker-utils/**/*"+ ]+}diff --git a/codecs/avif/Makefile b/codecs/avif/Makefileindex 2323e773..ff0364d5 100644--- a/codecs/avif/Makefile+++ b/codecs/avif/Makefile@@ -1,136 +1,84 @@-CODEC_URL = https://github.com/AOMediaCodec/libavif/archive/v0.8.1.tar.gz+CODEC_URL = https://github.com/AOMediaCodec/libavif/archive/31d7c6d1e32cf467ac24fb8c7a76c4902a4c00db.tar.gzCODEC_PACKAGE = node_modules/libavif.tar.gz-CODEC_ENC_DIR = node_modules/libavif-enc-CODEC_ENC_BUILD_DIR := $(CODEC_ENC_DIR)/build-CODEC_ENC_OUT := $(CODEC_ENC_BUILD_DIR)/libavif.a--CODEC_DEC_DIR = node_modules/libavif-dec-CODEC_DEC_BUILD_DIR := $(CODEC_DEC_DIR)/build-CODEC_DEC_OUT := $(CODEC_DEC_BUILD_DIR)/libavif.a-LIBAOM_URL = https://aomedia.googlesource.com/aom/+archive/v2.0.0.tar.gzLIBAOM_PACKAGE = node_modules/libaom.tar.gz-LIBAOM_ENC_DIR := $(CODEC_ENC_DIR)/ext/aom-LIBAOM_ENC_BUILD_DIR := $(LIBAOM_ENC_DIR)/build.libavif-LIBAOM_ENC_OUT := $(LIBAOM_ENC_BUILD_DIR)/libaom.a--LIBAOM_DEC_DIR := $(CODEC_DEC_DIR)/ext/aom-LIBAOM_DEC_BUILD_DIR := $(LIBAOM_DEC_DIR)/build.libavif-LIBAOM_DEC_OUT := $(LIBAOM_DEC_BUILD_DIR)/libaom.a+export CODEC_DIR = node_modules/libavif+BUILD_DIR := node_modules/build+ENC_BUILD_DIR := $(BUILD_DIR)/enc+ENC_MT_BUILD_DIR := $(BUILD_DIR)/enc-mt+DEC_BUILD_DIR := $(BUILD_DIR)/dec+export LIBAOM_DIR = node_modules/libaomOUT_ENC_JS = enc/avif_enc.js-OUT_ENC_CPP = $(OUT_ENC_JS:.js=.cpp)-OUT_ENC_WASM = $(OUT_ENC_JS:.js=.wasm)-+OUT_ENC_MT_JS = enc/avif_enc_mt.jsOUT_DEC_JS = dec/avif_dec.js-OUT_DEC_CPP = $(OUT_DEC_JS:.js=.cpp)-OUT_DEC_WASM = $(OUT_DEC_JS:.js=.wasm)-# ERROR_ON_UNDEFINED_SYMBOLS=0 is needed to seperate the encoder and decoder-EMSCRIPTEN_FLAGS = ${CXXFLAGS} \- ${LDFLAGS} \- --bind \- --closure 1 \- -s ALLOW_MEMORY_GROWTH=1 \- -s MODULARIZE=1 \- -s ERROR_ON_UNDEFINED_SYMBOLS=0+OUT_ENC_CPP = enc/avif_enc.cpp+OUT_DEC_CPP = dec/avif_dec.cpp-CODEC_EMCMAKE = emcmake cmake \- -DCMAKE_BUILD_TYPE=Release \- -DBUILD_SHARED_LIBS=0 \- -DAVIF_CODEC_AOM=1 \- -DAVIF_LOCAL_AOM=1 \- ../--LIBAOM_FLAGS = -DCMAKE_BUILD_TYPE=Release \- -DENABLE_CCACHE=0 \- -DAOM_TARGET_CPU=generic \- -DENABLE_DOCS=0 \- -DENABLE_TESTS=0 \- -DENABLE_EXAMPLES=0 \- -DENABLE_TOOLS=0 \- -DCONFIG_ACCOUNTING=1 \- -DCONFIG_INSPECTION=0 \- -DCONFIG_MULTITHREAD=0 \- -DCONFIG_RUNTIME_CPU_DETECT=0 \- -DCONFIG_WEBM_IO=0+HELPER_MAKEFLAGS := -f helper.Makefile.PHONY: all clean-all: $(OUT_ENC_JS) $(OUT_DEC_JS)--$(OUT_ENC_JS): $(OUT_ENC_CPP) $(LIBAOM_ENC_OUT) $(CODEC_ENC_OUT)- $(CXX) \- -I $(CODEC_ENC_DIR)/include \- ${EMSCRIPTEN_FLAGS} \- -s 'EXPORT_NAME="$(basename $(@F))"' \- -o $@ \- $+--$(OUT_DEC_JS): $(OUT_DEC_CPP) $(LIBAOM_DEC_OUT) $(CODEC_DEC_OUT)- $(CXX) \- -I $(CODEC_DEC_DIR)/include \- ${EMSCRIPTEN_FLAGS} \- -s 'EXPORT_NAME="$(basename $(@F))"' \- -o $@ \- $+--$(CODEC_ENC_OUT): $(CODEC_ENC_DIR)/CMakeLists.txt $(LIBAOM_ENC_OUT)- mkdir -p $(CODEC_ENC_BUILD_DIR)- cd $(CODEC_ENC_BUILD_DIR) && \- $(CODEC_EMCMAKE) && \- $(MAKE)--$(CODEC_DEC_OUT): $(CODEC_DEC_DIR)/CMakeLists.txt $(LIBAOM_DEC_OUT)- mkdir -p $(CODEC_DEC_BUILD_DIR)- cd $(CODEC_DEC_BUILD_DIR) && \- $(CODEC_EMCMAKE) && \- $(MAKE)--$(LIBAOM_ENC_OUT): $(LIBAOM_ENC_DIR)/CMakeLists.txt- mkdir -p $(LIBAOM_ENC_BUILD_DIR)- cd $(LIBAOM_ENC_BUILD_DIR) && \- emcmake cmake \- $(LIBAOM_FLAGS) \- -DCONFIG_AV1_DECODER=0 \- -DCONFIG_AV1_HIGHBITDEPTH=0 \- ../ && \- $(MAKE)--$(LIBAOM_DEC_OUT): $(LIBAOM_DEC_DIR)/CMakeLists.txt- mkdir -p $(LIBAOM_DEC_BUILD_DIR)- cd $(LIBAOM_DEC_BUILD_DIR) && \- emcmake cmake \- $(LIBAOM_FLAGS) \- -DCONFIG_AV1_ENCODER=0 \- ../ && \- $(MAKE)--$(CODEC_ENC_DIR)/CMakeLists.txt: $(CODEC_ENC_DIR)-$(CODEC_DEC_DIR)/CMakeLists.txt: $(CODEC_DEC_DIR)--$(LIBAOM_ENC_DIR)/CMakeLists.txt: $(LIBAOM_ENC_DIR)-$(LIBAOM_DEC_DIR)/CMakeLists.txt: $(LIBAOM_DEC_DIR)+all: $(OUT_ENC_JS) $(OUT_DEC_JS) $(OUT_ENC_MT_JS)++$(OUT_ENC_JS): $(OUT_ENC_CPP) $(CODEC_DIR)/CMakeLists.txt $(LIBAOM_DIR)/CMakeLists.txt+ $(MAKE) \+ $(HELPER_MAKEFLAGS) \+ BUILD_DIR=$(ENC_BUILD_DIR) \+ OUT_JS=$@ \+ OUT_CPP=$< \+ LIBAOM_FLAGS="\+ -DCONFIG_AV1_DECODER=0 \+ -DCONFIG_MULTITHREAD=0 \+ -DCONFIG_AV1_HIGHBITDEPTH=0 \+ " \+ LIBAVIF_FLAGS="-DAVIF_CODEC_AOM_DECODE=0"++$(OUT_ENC_MT_JS): $(OUT_ENC_CPP) $(CODEC_DIR)/CMakeLists.txt $(LIBAOM_DIR)/CMakeLists.txt+ $(MAKE) \+ $(HELPER_MAKEFLAGS) \+ BUILD_DIR=$(ENC_MT_BUILD_DIR) \+ OUT_JS=$@ \+ OUT_CPP=$< \+ LIBAOM_FLAGS="\+ -DCONFIG_AV1_DECODER=0 \+ -DCONFIG_AV1_HIGHBITDEPTH=0 \+ " \+ LIBAVIF_FLAGS="-DAVIF_CODEC_AOM_DECODE=0" \+ OUT_FLAGS="-pthread"++$(OUT_DEC_JS): $(OUT_DEC_CPP) $(CODEC_DIR)/CMakeLists.txt $(LIBAOM_DIR)/CMakeLists.txt+ $(MAKE) \+ $(HELPER_MAKEFLAGS) \+ BUILD_DIR=$(DEC_BUILD_DIR) \+ OUT_JS=$@ \+ OUT_CPP=$< \+ LIBAOM_FLAGS="\+ -DCONFIG_AV1_ENCODER=0 \+ -DCONFIG_MULTITHREAD=0 \+ " \+ LIBAVIF_FLAGS="-DAVIF_CODEC_AOM_ENCODE=0"$(CODEC_PACKAGE):+ mkdir -p $(@D)curl -sL $(CODEC_URL) -o $@$(LIBAOM_PACKAGE):+ mkdir -p $(@D)curl -sL $(LIBAOM_URL) -o $@-$(CODEC_ENC_DIR) $(CODEC_DEC_DIR): $(CODEC_PACKAGE)- mkdir -p $@- tar xz --strip 1 -C $@ -f $(CODEC_PACKAGE)+$(CODEC_DIR)/CMakeLists.txt: $(CODEC_PACKAGE)+ mkdir -p $(@D)+ tar xzm --strip 1 -C $(@D) -f $(CODEC_PACKAGE)-$(LIBAOM_ENC_DIR) $(LIBAOM_DEC_DIR): $(LIBAOM_PACKAGE)- mkdir -p $@- tar xz -C $@ -f $(LIBAOM_PACKAGE)+$(LIBAOM_DIR)/CMakeLists.txt: $(LIBAOM_PACKAGE)+ mkdir -p $(@D)+ tar xzm -C $(@D) -f $(LIBAOM_PACKAGE)clean:- $(RM) $(LIBAOM_PACKAGE) $(CODEC_PACKAGE) $(OUT_ENC_JS) $(OUT_ENC_WASM) $(OUT_DEC_JS) $(OUT_DEC_WASM)- $(MAKE) -C $(CODEC_ENC_BUILD_DIR) clean- $(MAKE) -C $(CODEC_DEC_BUILD_DIR) clean- $(MAKE) -C $(LIBAOM_ENC_BUILD_DIR) clean- $(MAKE) -C $(LIBAOM_DEC_BUILD_DIR) clean+ $(MAKE) $(HELPER_MAKEFLAGS) BUILD_DIR=$(ENC_BUILD_DIR) OUT_JS=$(OUT_ENC_JS) clean+ $(MAKE) $(HELPER_MAKEFLAGS) BUILD_DIR=$(ENC_MT_BUILD_DIR) OUT_JS=$(OUT_ENC_MT_JS) clean+ $(MAKE) $(HELPER_MAKEFLAGS) BUILD_DIR=$(DEC_BUILD_DIR) OUT_JS=$(OUT_DEC_JS) cleandiff --git a/codecs/avif/dec/avif_dec.cpp b/codecs/avif/dec/avif_dec.cppindex 27757b2a..2022542c 100644--- a/codecs/avif/dec/avif_dec.cpp+++ b/codecs/avif/dec/avif_dec.cpp@@ -8,15 +8,10 @@ thread_local const val Uint8ClampedArray = val::global("Uint8ClampedArray");thread_local const val ImageData = val::global("ImageData");val decode(std::string avifimage) {- // point raw.data and raw.size to the contents of an .avif(s)- avifROData raw = {- .data = (uint8_t*)avifimage.c_str(),- .size = avifimage.length()- };-avifImage* image = avifImageCreateEmpty();avifDecoder* decoder = avifDecoderCreate();- avifResult decodeResult = avifDecoderRead(decoder, image, &raw);+ avifResult decodeResult =+ avifDecoderReadMemory(decoder, image, (uint8_t*)avifimage.c_str(), avifimage.length());// image is an independent copy of decoded data, decoder may be destroyed hereavifDecoderDestroy(decoder);@@ -25,7 +20,8 @@ val decode(std::string avifimage) {if (decodeResult == AVIF_RESULT_OK) {// Convert to interleaved RGB(A)/BGR(A) using a libavif-allocated buffer.avifRGBImage rgb;- avifRGBImageSetDefaults(&rgb, image); // Defaults to AVIF_RGB_FORMAT_RGBA which is what we want.+ avifRGBImageSetDefaults(&rgb,+ image); // Defaults to AVIF_RGB_FORMAT_RGBA which is what we want.rgb.depth = 8; // Does not need to match image->depth. We always want 8-bit pixels.avifRGBImageAllocatePixels(&rgb);@@ -33,7 +29,9 @@ val decode(std::string avifimage) {// We want to create a *copy* of the decoded data to be owned by the JavaScript side.// For that, we perform `new Uint8Array(wasmMemBuffer, wasmPtr, wasmSize).slice()`:- result = ImageData.new_(Uint8ClampedArray.new_(typed_memory_view(rgb.rowBytes * rgb.height, rgb.pixels)), rgb.width, rgb.height);+ result = ImageData.new_(+ Uint8ClampedArray.new_(typed_memory_view(rgb.rowBytes * rgb.height, rgb.pixels)), rgb.width,+ rgb.height);// Now we can safely free the RGB pixels:avifRGBImageFreePixels(&rgb);diff --git a/codecs/avif/dec/avif_dec.d.ts b/codecs/avif/dec/avif_dec.d.tsindex ff52bcff..b2e56d3b 100644--- a/codecs/avif/dec/avif_dec.d.ts+++ b/codecs/avif/dec/avif_dec.d.ts@@ -1,6 +1,7 @@-interface AVIFModule extends EmscriptenWasm.Module {+export interface AVIFModule extends EmscriptenWasm.Module {decode(data: BufferSource): ImageData | null;}-export default function(opts: EmscriptenWasm.ModuleOpts): AVIFModule;+declare var moduleFactory: EmscriptenWasm.ModuleFactory<AVIFModule>;+export default moduleFactory;diff --git a/codecs/avif/dec/avif_dec.js b/codecs/avif/dec/avif_dec.jsindex b823497b..e61d0d58 100644--- a/codecs/avif/dec/avif_dec.js+++ b/codecs/avif/dec/avif_dec.js@@ -1,72 +1,1275 @@+var Module = (function () {+ var _scriptDir = import.meta.url;-var avif_dec = (function() {- var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;- if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;- return (-function(avif_dec) {- avif_dec = avif_dec || {};+ return function (Module) {+ Module = Module || {};+ var f;+ f || (f = typeof Module !== 'undefined' ? Module : {});+ var aa, ba;+ f.ready = new Promise(function (a, b) {+ aa = a;+ ba = b;+ });+ var r = {},+ t;+ for (t in f) f.hasOwnProperty(t) && (r[t] = f[t]);+ var u = '',+ ca;+ u = self.location.href;+ _scriptDir && (u = _scriptDir);+ 0 !== u.indexOf('blob:')+ ? (u = u.substr(0, u.lastIndexOf('/') + 1))+ : (u = '');+ ca = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var da = f.print || console.log.bind(console),+ v = f.printErr || console.warn.bind(console);+ for (t in r) r.hasOwnProperty(t) && (f[t] = r[t]);+ r = null;+ var ea = 0,+ w;+ f.wasmBinary && (w = f.wasmBinary);+ var noExitRuntime;+ f.noExitRuntime && (noExitRuntime = f.noExitRuntime);+ 'object' !== typeof WebAssembly && x('no native wasm support detected');+ var z,+ A = new WebAssembly.Table({+ initial: 675,+ maximum: 675,+ element: 'anyfunc',+ }),+ fa = !1,+ ha = new TextDecoder('utf8');+ function ia(a, b, c) {+ var d = B;+ if (0 < c) {+ c = b + c - 1;+ for (var e = 0; e < a.length; ++e) {+ var g = a.charCodeAt(e);+ if (55296 <= g && 57343 >= g) {+ var k = a.charCodeAt(++e);+ g = (65536 + ((g & 1023) << 10)) | (k & 1023);+ }+ if (127 >= g) {+ if (b >= c) break;+ d[b++] = g;+ } else {+ if (2047 >= g) {+ if (b + 1 >= c) break;+ d[b++] = 192 | (g >> 6);+ } else {+ if (65535 >= g) {+ if (b + 2 >= c) break;+ d[b++] = 224 | (g >> 12);+ } else {+ if (b + 3 >= c) break;+ d[b++] = 240 | (g >> 18);+ d[b++] = 128 | ((g >> 12) & 63);+ }+ d[b++] = 128 | ((g >> 6) & 63);+ }+ d[b++] = 128 | (g & 63);+ }+ }+ d[b] = 0;+ }+ }+ var ja = new TextDecoder('utf-16le');+ function ka(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && C[c]; ) ++c;+ return ja.decode(B.subarray(a, c << 1));+ }+ function la(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var e = 0; e < c; ++e) (E[b >> 1] = a.charCodeAt(e)), (b += 2);+ E[b >> 1] = 0;+ return b - d;+ }+ function ma(a) {+ return 2 * a.length;+ }+ function na(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var e = F[(a + 4 * c) >> 2];+ if (0 == e) break;+ ++c;+ 65536 <= e+ ? ((e -= 65536),+ (d += String.fromCharCode(55296 | (e >> 10), 56320 | (e & 1023))))+ : (d += String.fromCharCode(e));+ }+ return d;+ }+ function oa(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var e = 0; e < a.length; ++e) {+ var g = a.charCodeAt(e);+ if (55296 <= g && 57343 >= g) {+ var k = a.charCodeAt(++e);+ g = (65536 + ((g & 1023) << 10)) | (k & 1023);+ }+ F[b >> 2] = g;+ b += 4;+ if (b + 4 > c) break;+ }+ F[b >> 2] = 0;+ return b - d;+ }+ function pa(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var G, H, B, E, C, F, I, qa, ra;+ function sa(a) {+ G = a;+ f.HEAP8 = H = new Int8Array(a);+ f.HEAP16 = E = new Int16Array(a);+ f.HEAP32 = F = new Int32Array(a);+ f.HEAPU8 = B = new Uint8Array(a);+ f.HEAPU16 = C = new Uint16Array(a);+ f.HEAPU32 = I = new Uint32Array(a);+ f.HEAPF32 = qa = new Float32Array(a);+ f.HEAPF64 = ra = new Float64Array(a);+ }+ var ta = f.INITIAL_MEMORY || 16777216;+ f.wasmMemory+ ? (z = f.wasmMemory)+ : (z = new WebAssembly.Memory({ initial: ta / 65536, maximum: 32768 }));+ z && (G = z.buffer);+ ta = G.byteLength;+ sa(G);+ var ua = [],+ va = [],+ wa = [],+ xa = [];+ function ya() {+ var a = f.preRun.shift();+ ua.unshift(a);+ }+ var J = 0,+ za = null,+ K = null;+ f.preloadedImages = {};+ f.preloadedAudios = {};+ function x(a) {+ if (f.onAbort) f.onAbort(a);+ v(a);+ fa = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ ba(a);+ throw a;+ }+ function Aa() {+ var a = M;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var M = 'avif_dec.wasm';+ if (!Aa()) {+ var Ba = M;+ M = f.locateFile ? f.locateFile(Ba, u) : u + Ba;+ }+ function Ca() {+ try {+ if (w) return new Uint8Array(w);+ if (ca) return ca(M);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ x(a);+ }+ }+ function Da() {+ return w || 'function' !== typeof fetch+ ? Promise.resolve().then(Ca)+ : fetch(M, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + M + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Ca();+ });+ }+ va.push({+ Y: function () {+ Ea();+ },+ });+ function N(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(f);+ else {+ var c = b.Y;+ 'number' === typeof c+ ? void 0 === b.U+ ? A.get(c)()+ : A.get(c)(b.U)+ : c(void 0 === b.U ? null : b.U);+ }+ }+ }+ function Fa(a) {+ this.T = a - 16;+ this.ea = function (b) {+ F[(this.T + 8) >> 2] = b;+ };+ this.ba = function (b) {+ F[(this.T + 0) >> 2] = b;+ };+ this.ca = function () {+ F[(this.T + 4) >> 2] = 0;+ };+ this.aa = function () {+ H[(this.T + 12) >> 0] = 0;+ };+ this.da = function () {+ H[(this.T + 13) >> 0] = 0;+ };+ this.$ = function (b, c) {+ this.ea(b);+ this.ba(c);+ this.ca();+ this.aa();+ this.da();+ };+ }+ function O() {+ return 0 < O.W;+ }+ function Ga(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var Ha = void 0;+ function P(a) {+ for (var b = ''; B[a]; ) b += Ha[B[a++]];+ return b;+ }+ var Q = {},+ S = {},+ Ia = {};+ function Ja(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Ka(a, b) {+ a = Ja(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function La(a) {+ var b = Error,+ c = Ka(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var Ma = void 0;+ function T(a) {+ throw new Ma(a);+ }+ var Na = void 0;+ function Oa(a, b) {+ function c(h) {+ h = b(h);+ if (h.length !== d.length)+ throw new Na('Mismatched type converter count');+ for (var p = 0; p < d.length; ++p) U(d[p], h[p]);+ }+ var d = [];+ d.forEach(function (h) {+ Ia[h] = a;+ });+ var e = Array(a.length),+ g = [],+ k = 0;+ a.forEach(function (h, p) {+ S.hasOwnProperty(h)+ ? (e[p] = S[h])+ : (g.push(h),+ Q.hasOwnProperty(h) || (Q[h] = []),+ Q[h].push(function () {+ e[p] = S[h];+ ++k;+ k === g.length && c(e);+ }));+ });+ 0 === g.length && c(e);+ }+ function U(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || T('type "' + d + '" must have a positive integer typeid pointer');+ if (S.hasOwnProperty(a)) {+ if (c.Z) return;+ T("Cannot register type '" + d + "' twice");+ }+ S[a] = b;+ delete Ia[a];+ Q.hasOwnProperty(a) &&+ ((b = Q[a]),+ delete Q[a],+ b.forEach(function (e) {+ e();+ }));+ }+ var Pa = [],+ V = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Sa(a) {+ 4 < a && 0 === --V[a].V && ((V[a] = void 0), Pa.push(a));+ }+ function Ta(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Pa.length ? Pa.pop() : V.length;+ V[b] = { V: 1, value: a };+ return b;+ }+ }+ function Ua(a) {+ return this.fromWireType(I[a >> 2]);+ }+ function Va(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Wa(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(qa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(ra[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Xa(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Ka(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Ya(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Za(a, b) {+ var c = f;+ if (void 0 === c[a].R) {+ var d = c[a];+ c[a] = function () {+ c[a].R.hasOwnProperty(arguments.length) ||+ T(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].R ++ ')!',+ );+ return c[a].R[arguments.length].apply(this, arguments);+ };+ c[a].R = [];+ c[a].R[d.X] = d;+ }+ }+ function $a(a, b, c) {+ f.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== f[a].R && void 0 !== f[a].R[c])) &&+ T("Cannot register public name '" + a + "' twice"),+ Za(a, a),+ f.hasOwnProperty(c) &&+ T(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (f[a].R[c] = b))+ : ((f[a] = b), void 0 !== c && (f[a].ga = c));+ }+ function ab(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(F[(b >> 2) + d]);+ return c;+ }+ function bb(a, b) {+ 0 <= a.indexOf('j') ||+ x('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var e;+ -1 != a.indexOf('j')+ ? (e =+ c && c.length+ ? f['dynCall_' + a].apply(null, [b].concat(c))+ : f['dynCall_' + a].call(null, b))+ : (e = A.get(b).apply(null, c));+ return e;+ };+ }+ function cb(a, b) {+ a = P(a);+ var c = -1 != a.indexOf('j') ? bb(a, b) : A.get(b);+ 'function' !== typeof c &&+ T('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var db = void 0;+ function eb(a) {+ a = fb(a);+ var b = P(a);+ W(a);+ return b;+ }+ function gb(a, b) {+ function c(g) {+ e[g] || S[g] || (Ia[g] ? Ia[g].forEach(c) : (d.push(g), (e[g] = !0)));+ }+ var d = [],+ e = {};+ b.forEach(c);+ throw new db(a + ': ' + d.map(eb).join([', ']));+ }+ function hb(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return H[d];+ }+ : function (d) {+ return B[d];+ };+ case 1:+ return c+ ? function (d) {+ return E[d >> 1];+ }+ : function (d) {+ return C[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return F[d >> 2];+ }+ : function (d) {+ return I[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var ib = {};+ function jb() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function kb(a, b) {+ var c = S[a];+ void 0 === c && T(b + ' has unknown type ' + eb(a));+ return c;+ }+ for (+ var lb = {}, mb = [null, [], []], nb = Array(256), ob = 0;+ 256 > ob;+ ++ob+ )+ nb[ob] = String.fromCharCode(ob);+ Ha = nb;+ Ma = f.BindingError = La('BindingError');+ Na = f.InternalError = La('InternalError');+ f.count_emval_handles = function () {+ for (var a = 0, b = 5; b < V.length; ++b) void 0 !== V[b] && ++a;+ return a;+ };+ f.get_first_emval = function () {+ for (var a = 5; a < V.length; ++a) if (void 0 !== V[a]) return V[a];+ return null;+ };+ db = f.UnboundTypeError = La('UnboundTypeError');+ var wb = {+ w: function (a) {+ return pb(a + 16) + 16;+ },+ t: function () {},+ v: function (a, b, c) {+ new Fa(a).$(b, c);+ 'uncaught_exception' in O ? O.W++ : (O.W = 1);+ throw a;+ },+ b: A,+ F: function (a, b, c, d, e) {+ var g = Ga(c);+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (k) {+ return !!k;+ },+ toWireType: function (k, h) {+ return h ? d : e;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (k) {+ if (1 === c) var h = H;+ else if (2 === c) h = E;+ else if (4 === c) h = F;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(h[k >> g]);+ },+ S: null,+ });+ },+ E: function (a, b) {+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (c) {+ var d = V[c].value;+ Sa(c);+ return d;+ },+ toWireType: function (c, d) {+ return Ta(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Ua,+ S: null,+ });+ },+ r: function (a, b, c) {+ c = Ga(c);+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, e) {+ if ('number' !== typeof e && 'boolean' !== typeof e)+ throw new TypeError(+ 'Cannot convert "' + Va(e) + '" to ' + this.name,+ );+ return e;+ },+ argPackAdvance: 8,+ readValueFromPointer: Wa(b, c),+ S: null,+ });+ },+ x: function (a, b, c, d, e, g) {+ var k = ab(b, c);+ a = P(a);+ e = cb(d, e);+ $a(+ a,+ function () {+ gb('Cannot call ' + a + ' due to unbound types', k);+ },+ b - 1,+ );+ Oa(k, function (h) {+ var p = a,+ l = a;+ h = [h[0], null].concat(h.slice(1));+ var m = e,+ q = h.length;+ 2 > q &&+ T(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var y = null !== h[1] && !1, D = !1, n = 1; n < h.length; ++n)+ if (null !== h[n] && void 0 === h[n].S) {+ D = !0;+ break;+ }+ var Qa = 'void' !== h[0].name,+ L = '',+ R = '';+ for (n = 0; n < q - 2; ++n)+ (L += (0 !== n ? ', ' : '') + 'arg' + n),+ (R += (0 !== n ? ', ' : '') + 'arg' + n + 'Wired');+ l =+ 'return function ' ++ Ja(l) ++ '(' ++ L ++ ') {\nif (arguments.length !== ' ++ (q - 2) ++ ") {\nthrowBindingError('function " ++ l ++ " called with ' + arguments.length + ' arguments, expected " ++ (q - 2) ++ " args!');\n}\n";+ D && (l += 'var destructors = [];\n');+ var Ra = D ? 'destructors' : 'null';+ L = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ m = [T, m, g, Ya, h[0], h[1]];+ y &&+ (l += 'var thisWired = classParam.toWireType(' + Ra + ', this);\n');+ for (n = 0; n < q - 2; ++n)+ (l +=+ 'var arg' ++ n ++ 'Wired = argType' ++ n ++ '.toWireType(' ++ Ra ++ ', arg' ++ n ++ '); // ' ++ h[n + 2].name ++ '\n'),+ L.push('argType' + n),+ m.push(h[n + 2]);+ y && (R = 'thisWired' + (0 < R.length ? ', ' : '') + R);+ l +=+ (Qa ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < R.length ? ', ' : '') ++ R ++ ');\n';+ if (D) l += 'runDestructors(destructors);\n';+ else+ for (n = y ? 1 : 2; n < h.length; ++n)+ (q = 1 === n ? 'thisWired' : 'arg' + (n - 2) + 'Wired'),+ null !== h[n].S &&+ ((l += q + '_dtor(' + q + '); // ' + h[n].name + '\n'),+ L.push(q + '_dtor'),+ m.push(h[n].S));+ Qa && (l += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ L.push(l + '}\n');+ h = Xa(L).apply(null, m);+ n = b - 1;+ if (!f.hasOwnProperty(p))+ throw new Na('Replacing nonexistant public symbol');+ void 0 !== f[p].R && void 0 !== n+ ? (f[p].R[n] = h)+ : ((f[p] = h), (f[p].X = n));+ return [];+ });+ },+ f: function (a, b, c, d, e) {+ function g(l) {+ return l;+ }+ b = P(b);+ -1 === e && (e = 4294967295);+ var k = Ga(c);+ if (0 === d) {+ var h = 32 - 8 * c;+ g = function (l) {+ return (l << h) >>> h;+ };+ }+ var p = -1 != b.indexOf('unsigned');+ U(a, {+ name: b,+ fromWireType: g,+ toWireType: function (l, m) {+ if ('number' !== typeof m && 'boolean' !== typeof m)+ throw new TypeError(+ 'Cannot convert "' + Va(m) + '" to ' + this.name,+ );+ if (m < d || m > e)+ throw new TypeError(+ 'Passing a number "' ++ Va(m) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ e ++ ']!',+ );+ return p ? m >>> 0 : m | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: hb(b, k, 0 !== d),+ S: null,+ });+ },+ e: function (a, b, c) {+ function d(g) {+ g >>= 2;+ var k = I;+ return new e(G, k[g + 1], k[g]);+ }+ var e = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = P(c);+ U(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { Z: !0 },+ );+ },+ s: function (a, b) {+ b = P(b);+ var c = 'std::string' === b;+ U(a, {+ name: b,+ fromWireType: function (d) {+ var e = I[d >> 2];+ if (c)+ for (var g = d + 4, k = 0; k <= e; ++k) {+ var h = d + 4 + k;+ if (k == e || 0 == B[h]) {+ if (g) {+ for (var p = g + (h - g), l = g; !(l >= p) && B[l]; ) ++l;+ g = ha.decode(B.subarray(g, l));+ } else g = '';+ if (void 0 === m) var m = g;+ else (m += String.fromCharCode(0)), (m += g);+ g = h + 1;+ }+ }+ else {+ m = Array(e);+ for (k = 0; k < e; ++k) m[k] = String.fromCharCode(B[d + 4 + k]);+ m = m.join('');+ }+ W(d);+ return m;+ },+ toWireType: function (d, e) {+ e instanceof ArrayBuffer && (e = new Uint8Array(e));+ var g = 'string' === typeof e;+ g ||+ e instanceof Uint8Array ||+ e instanceof Uint8ClampedArray ||+ e instanceof Int8Array ||+ T('Cannot pass non-string to std::string');+ var k = (c && g+ ? function () {+ for (var l = 0, m = 0; m < e.length; ++m) {+ var q = e.charCodeAt(m);+ 55296 <= q &&+ 57343 >= q &&+ (q =+ (65536 + ((q & 1023) << 10)) |+ (e.charCodeAt(++m) & 1023));+ 127 >= q+ ? ++l+ : (l = 2047 >= q ? l + 2 : 65535 >= q ? l + 3 : l + 4);+ }+ return l;+ }+ : function () {+ return e.length;+ })(),+ h = pb(4 + k + 1);+ I[h >> 2] = k;+ if (c && g) ia(e, h + 4, k + 1);+ else if (g)+ for (g = 0; g < k; ++g) {+ var p = e.charCodeAt(g);+ 255 < p &&+ (W(h),+ T('String has UTF-16 code units that do not fit in 8 bits'));+ B[h + 4 + g] = p;+ }+ else for (g = 0; g < k; ++g) B[h + 4 + g] = e[g];+ null !== d && d.push(W, h);+ return h;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ua,+ S: function (d) {+ W(d);+ },+ });+ },+ l: function (a, b, c) {+ c = P(c);+ if (2 === b) {+ var d = ka;+ var e = la;+ var g = ma;+ var k = function () {+ return C;+ };+ var h = 1;+ } else+ 4 === b &&+ ((d = na),+ (e = oa),+ (g = pa),+ (k = function () {+ return I;+ }),+ (h = 2));+ U(a, {+ name: c,+ fromWireType: function (p) {+ for (var l = I[p >> 2], m = k(), q, y = p + 4, D = 0; D <= l; ++D) {+ var n = p + 4 + D * b;+ if (D == l || 0 == m[n >> h])+ (y = d(y, n - y)),+ void 0 === q+ ? (q = y)+ : ((q += String.fromCharCode(0)), (q += y)),+ (y = n + b);+ }+ W(p);+ return q;+ },+ toWireType: function (p, l) {+ 'string' !== typeof l &&+ T('Cannot pass non-string to C++ string type ' + c);+ var m = g(l),+ q = pb(4 + m + b);+ I[q >> 2] = m >> h;+ e(l, q + 4, m + b);+ null !== p && p.push(W, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ua,+ S: function (p) {+ W(p);+ },+ });+ },+ G: function (a, b) {+ b = P(b);+ U(a, {+ fa: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ p: Sa,+ H: function (a) {+ if (0 === a) return Ta(jb());+ var b = ib[a];+ a = void 0 === b ? P(a) : b;+ return Ta(jb()[a]);+ },+ y: function (a) {+ 4 < a && (V[a].V += 1);+ },+ n: function (a, b, c, d) {+ a || T('Cannot use deleted val. handle = ' + a);+ a = V[a].value;+ var e = lb[b];+ if (!e) {+ e = '';+ for (var g = 0; g < b; ++g) e += (0 !== g ? ', ' : '') + 'arg' + g;+ var k =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (g = 0; g < b; ++g)+ k +=+ 'var argType' ++ g ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ g ++ '], "parameter ' ++ g ++ '");\nvar arg' ++ g ++ ' = argType' ++ g ++ '.readValueFromPointer(args);\nargs += argType' ++ g ++ "['argPackAdvance'];\n";+ e = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ k ++ ('var obj = new constructor(' ++ e ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(kb, f, Ta);+ lb[b] = e;+ }+ return e(a, c, d);+ },+ m: function () {+ x();+ },+ u: function () {+ v('missing function: aom_codec_av1_cx');+ x(-1);+ },+ g: function (a, b) {+ X(a, b || 1);+ throw 'longjmp';+ },+ C: function (a, b, c) {+ B.copyWithin(a, b, b + c);+ },+ h: function (a) {+ a >>>= 0;+ var b = B.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ z.grow((Math.min(2147483648, d) - G.byteLength + 65535) >>> 16);+ sa(z.buffer);+ var e = 1;+ break a;+ } catch (g) {}+ e = void 0;+ }+ if (e) return !0;+ }+ return !1;+ },+ D: function () {+ return 0;+ },+ z: function () {},+ q: function (a, b, c, d) {+ for (var e = 0, g = 0; g < c; g++) {+ for (+ var k = F[(b + 8 * g) >> 2], h = F[(b + (8 * g + 4)) >> 2], p = 0;+ p < h;+ p+++ ) {+ var l = B[k + p],+ m = mb[a];+ if (0 === l || 10 === l) {+ for (l = 0; m[l] && !(NaN <= l); ) ++l;+ l = ha.decode(+ m.subarray ? m.subarray(0, l) : new Uint8Array(m.slice(0, l)),+ );+ (1 === a ? da : v)(l);+ m.length = 0;+ } else m.push(l);+ }+ e += h;+ }+ F[d >> 2] = e;+ return 0;+ },+ c: function () {+ return ea | 0;+ },+ j: qb,+ A: rb,+ B: sb,+ i: tb,+ o: ub,+ k: vb,+ a: z,+ d: function (a) {+ ea = a | 0;+ },+ };+ (function () {+ function a(e) {+ f.asm = e.exports;+ J--;+ f.monitorRunDependencies && f.monitorRunDependencies(J);+ 0 == J &&+ (null !== za && (clearInterval(za), (za = null)),+ K && ((e = K), (K = null), e()));+ }+ function b(e) {+ a(e.instance);+ }+ function c(e) {+ return Da()+ .then(function (g) {+ return WebAssembly.instantiate(g, d);+ })+ .then(e, function (g) {+ v('failed to asynchronously prepare wasm: ' + g);+ x(g);+ });+ }+ var d = { a: wb };+ J++;+ f.monitorRunDependencies && f.monitorRunDependencies(J);+ if (f.instantiateWasm)+ try {+ return f.instantiateWasm(d, a);+ } catch (e) {+ return (+ v('Module.instantiateWasm callback failed with error: ' + e), !1+ );+ }+ (function () {+ if (+ w ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ Aa() ||+ 'function' !== typeof fetch+ )+ return c(b);+ fetch(M, { credentials: 'same-origin' }).then(function (e) {+ return WebAssembly.instantiateStreaming(e, d).then(b, function (g) {+ v('wasm streaming compile failed: ' + g);+ v('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })();+ return {};+ })();+ var Ea = (f.___wasm_call_ctors = function () {+ return (Ea = f.___wasm_call_ctors = f.asm.I).apply(null, arguments);+ }),+ pb = (f._malloc = function () {+ return (pb = f._malloc = f.asm.J).apply(null, arguments);+ }),+ W = (f._free = function () {+ return (W = f._free = f.asm.K).apply(null, arguments);+ }),+ fb = (f.___getTypeName = function () {+ return (fb = f.___getTypeName = f.asm.L).apply(null, arguments);+ });+ f.___embind_register_native_and_builtin_types = function () {+ return (f.___embind_register_native_and_builtin_types = f.asm.M).apply(+ null,+ arguments,+ );+ };+ var X = (f._setThrew = function () {+ return (X = f._setThrew = f.asm.N).apply(null, arguments);+ }),+ Y = (f.stackSave = function () {+ return (Y = f.stackSave = f.asm.O).apply(null, arguments);+ }),+ Z = (f.stackRestore = function () {+ return (Z = f.stackRestore = f.asm.P).apply(null, arguments);+ });+ f.dynCall_jiji = function () {+ return (f.dynCall_jiji = f.asm.Q).apply(null, arguments);+ };+ function ub(a, b, c) {+ var d = Y();+ try {+ A.get(a)(b, c);+ } catch (e) {+ Z(d);+ if (e !== e + 0 && 'longjmp' !== e) throw e;+ X(1, 0);+ }+ }+ function vb(a, b, c, d, e) {+ var g = Y();+ try {+ A.get(a)(b, c, d, e);+ } catch (k) {+ Z(g);+ if (k !== k + 0 && 'longjmp' !== k) throw k;+ X(1, 0);+ }+ }+ function qb(a, b, c) {+ var d = Y();+ try {+ return A.get(a)(b, c);+ } catch (e) {+ Z(d);+ if (e !== e + 0 && 'longjmp' !== e) throw e;+ X(1, 0);+ }+ }+ function tb(a, b) {+ var c = Y();+ try {+ A.get(a)(b);+ } catch (d) {+ Z(c);+ if (d !== d + 0 && 'longjmp' !== d) throw d;+ X(1, 0);+ }+ }+ function sb(a) {+ var b = Y();+ try {+ A.get(a)();+ } catch (c) {+ Z(b);+ if (c !== c + 0 && 'longjmp' !== c) throw c;+ X(1, 0);+ }+ }+ function rb(a, b, c, d, e) {+ var g = Y();+ try {+ return A.get(a)(b, c, d, e);+ } catch (k) {+ Z(g);+ if (k !== k + 0 && 'longjmp' !== k) throw k;+ X(1, 0);+ }+ }+ var xb;+ K = function yb() {+ xb || zb();+ xb || (K = yb);+ };+ function zb() {+ function a() {+ if (!xb && ((xb = !0), (f.calledRun = !0), !fa)) {+ N(va);+ N(wa);+ aa(f);+ if (f.onRuntimeInitialized) f.onRuntimeInitialized();+ if (f.postRun)+ for (+ 'function' == typeof f.postRun && (f.postRun = [f.postRun]);+ f.postRun.length;-var d;d||(d=typeof avif_dec !== 'undefined' ? avif_dec : {});var aa,ba;d.ready=new Promise(function(a,b){aa=a;ba=b});var r={},t;for(t in d)d.hasOwnProperty(t)&&(r[t]=d[t]);var u=!1,v=!1,ca=!1,da=!1;u="object"===typeof window;v="function"===typeof importScripts;ca="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;da=!u&&!ca&&!v;var w="",x,z,ea,fa;-if(ca)w=v?require("path").dirname(w)+"/":__dirname+"/",x=function(a,b){ea||(ea=require("fs"));fa||(fa=require("path"));a=fa.normalize(a);return ea.readFileSync(a,b?null:"utf8")},z=function(a){a=x(a,!0);a.buffer||(a=new Uint8Array(a));a.buffer||A("Assertion failed: undefined");return a},1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),process.on("uncaughtException",function(a){throw a;}),process.on("unhandledRejection",A),d.inspect=function(){return"[Emscripten Module object]"};-else if(da)"undefined"!=typeof read&&(x=function(a){return read(a)}),z=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");"object"===typeof a||A("Assertion failed: undefined");return a},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(u||v)v?w=self.location.href:document.currentScript&&(w=document.currentScript.src),_scriptDir&&-(w=_scriptDir),0!==w.indexOf("blob:")?w=w.substr(0,w.lastIndexOf("/")+1):w="",x=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText},v&&(z=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var ha=d.print||console.log.bind(console),B=d.printErr||console.warn.bind(console);for(t in r)r.hasOwnProperty(t)&&(d[t]=r[t]);r=null;var ia=0,D;d.wasmBinary&&(D=d.wasmBinary);var noExitRuntime;-d.noExitRuntime&&(noExitRuntime=d.noExitRuntime);"object"!==typeof WebAssembly&&A("no native wasm support detected");var E,ja=new WebAssembly.Table({initial:675,maximum:675,element:"anyfunc"}),ka=!1,la="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;-function ma(a,b,c){var e=b+c;for(c=b;a[c]&&!(c>=e);)++c;if(16<c-b&&a.subarray&&la)return la.decode(a.subarray(b,c));for(e="";b<c;){var f=a[b++];if(f&128){var g=a[b++]&63;if(192==(f&224))e+=String.fromCharCode((f&31)<<6|g);else{var h=a[b++]&63;f=224==(f&240)?(f&15)<<12|g<<6|h:(f&7)<<18|g<<12|h<<6|a[b++]&63;65536>f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}return e}-function na(a,b,c){var e=F;if(0<c){c=b+c-1;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var h=a.charCodeAt(++f);g=65536+((g&1023)<<10)|h&1023}if(127>=g){if(b>=c)break;e[b++]=g}else{if(2047>=g){if(b+1>=c)break;e[b++]=192|g>>6}else{if(65535>=g){if(b+2>=c)break;e[b++]=224|g>>12}else{if(b+3>=c)break;e[b++]=240|g>>18;e[b++]=128|g>>12&63}e[b++]=128|g>>6&63}e[b++]=128|g&63}}e[b]=0}}var oa="undefined"!==typeof TextDecoder?new TextDecoder("utf-16le"):void 0;-function pa(a,b){var c=a>>1;for(var e=c+b/2;!(c>=e)&&G[c];)++c;c<<=1;if(32<c-a&&oa)return oa.decode(F.subarray(a,c));c=0;for(e="";;){var f=H[a+2*c>>1];if(0==f||c==b/2)return e;++c;e+=String.fromCharCode(f)}}function qa(a,b,c){void 0===c&&(c=2147483647);if(2>c)return 0;c-=2;var e=b;c=c<2*a.length?c/2:a.length;for(var f=0;f<c;++f)H[b>>1]=a.charCodeAt(f),b+=2;H[b>>1]=0;return b-e}function ra(a){return 2*a.length}-function sa(a,b){for(var c=0,e="";!(c>=b/4);){var f=I[a+4*c>>2];if(0==f)break;++c;65536<=f?(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023)):e+=String.fromCharCode(f)}return e}function ta(a,b,c){void 0===c&&(c=2147483647);if(4>c)return 0;var e=b;c=e+c-4;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var h=a.charCodeAt(++f);g=65536+((g&1023)<<10)|h&1023}I[b>>2]=g;b+=4;if(b+4>c)break}I[b>>2]=0;return b-e}-function ua(a){for(var b=0,c=0;c<a.length;++c){var e=a.charCodeAt(c);55296<=e&&57343>=e&&++c;b+=4}return b}var J,va,F,H,G,I,K,wa,xa;function ya(a){J=a;d.HEAP8=va=new Int8Array(a);d.HEAP16=H=new Int16Array(a);d.HEAP32=I=new Int32Array(a);d.HEAPU8=F=new Uint8Array(a);d.HEAPU16=G=new Uint16Array(a);d.HEAPU32=K=new Uint32Array(a);d.HEAPF32=wa=new Float32Array(a);d.HEAPF64=xa=new Float64Array(a)}var za=d.INITIAL_MEMORY||16777216;d.wasmMemory?E=d.wasmMemory:E=new WebAssembly.Memory({initial:za/65536,maximum:32768});-E&&(J=E.buffer);za=J.byteLength;ya(J);I[153976]=5858944;function Aa(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b(d);else{var c=b.ma;"number"===typeof c?void 0===b.ia?d.dynCall_v(c):d.dynCall_vi(c,b.ia):c(void 0===b.ia?null:b.ia)}}}var Ba=[],Ca=[],Da=[],Ea=[];function Fa(){var a=d.preRun.shift();Ba.unshift(a)}var L=0,Ga=null,N=null;d.preloadedImages={};d.preloadedAudios={};-function A(a){if(d.onAbort)d.onAbort(a);B(a);ka=!0;a=new WebAssembly.RuntimeError("abort("+a+"). Build with -s ASSERTIONS=1 for more info.");ba(a);throw a;}function Ha(a){var b=O;return String.prototype.startsWith?b.startsWith(a):0===b.indexOf(a)}function Ia(){return Ha("data:application/octet-stream;base64,")}var O="avif_dec.wasm";if(!Ia()){var Ja=O;O=d.locateFile?d.locateFile(Ja,w):w+Ja}-function Ka(){try{if(D)return new Uint8Array(D);if(z)return z(O);throw"both async and sync fetching of the wasm failed";}catch(a){A(a)}}function La(){return D||!u&&!v||"function"!==typeof fetch||Ha("file://")?new Promise(function(a){a(Ka())}):fetch(O,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+O+"'";return a.arrayBuffer()}).catch(function(){return Ka()})}Ca.push({ma:function(){Ma()}});function Na(){return 0<Na.ka}-function Oa(a){switch(a){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+a);}}var Pa=void 0;function P(a){for(var b="";F[a];)b+=Pa[F[a++]];return b}var Q={},R={},Qa={};function Ra(a){if(void 0===a)return"_unknown";a=a.replace(/[^a-zA-Z0-9_]/g,"$");var b=a.charCodeAt(0);return 48<=b&&57>=b?"_"+a:a}-function Sa(a,b){a=Ra(a);return(new Function("body","return function "+a+'() {\n "use strict"; return body.apply(this, arguments);\n};\n'))(b)}function Ta(a){var b=Error,c=Sa(a,function(e){this.name=a;this.message=e;e=Error(e).stack;void 0!==e&&(this.stack=this.toString()+"\n"+e.replace(/^Error(:[^\n]*)?\n/,""))});c.prototype=Object.create(b.prototype);c.prototype.constructor=c;c.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message};return c}-var Ua=void 0;function T(a){throw new Ua(a);}var Va=void 0;function Wa(a,b){function c(l){l=b(l);if(l.length!==e.length)throw new Va("Mismatched type converter count");for(var k=0;k<e.length;++k)U(e[k],l[k])}var e=[];e.forEach(function(l){Qa[l]=a});var f=Array(a.length),g=[],h=0;a.forEach(function(l,k){R.hasOwnProperty(l)?f[k]=R[l]:(g.push(l),Q.hasOwnProperty(l)||(Q[l]=[]),Q[l].push(function(){f[k]=R[l];++h;h===g.length&&c(f)}))});0===g.length&&c(f)}-function U(a,b,c){c=c||{};if(!("argPackAdvance"in b))throw new TypeError("registerType registeredInstance requires argPackAdvance");var e=b.name;a||T('type "'+e+'" must have a positive integer typeid pointer');if(R.hasOwnProperty(a)){if(c.na)return;T("Cannot register type '"+e+"' twice")}R[a]=b;delete Qa[a];Q.hasOwnProperty(a)&&(b=Q[a],delete Q[a],b.forEach(function(f){f()}))}var Xa=[],V=[{},{value:void 0},{value:null},{value:!0},{value:!1}];-function Ya(a){4<a&&0===--V[a].ja&&(V[a]=void 0,Xa.push(a))}function ab(a){switch(a){case void 0:return 1;case null:return 2;case !0:return 3;case !1:return 4;default:var b=Xa.length?Xa.pop():V.length;V[b]={ja:1,value:a};return b}}function bb(a){return this.fromWireType(K[a>>2])}function cb(a){if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a}-function db(a,b){switch(b){case 2:return function(c){return this.fromWireType(wa[c>>2])};case 3:return function(c){return this.fromWireType(xa[c>>3])};default:throw new TypeError("Unknown float type: "+a);}}function eb(a){var b=Function;if(!(b instanceof Function))throw new TypeError("new_ called with constructor type "+typeof b+" which is not a function");var c=Sa(b.name||"unknownFunctionName",function(){});c.prototype=b.prototype;c=new c;a=b.apply(c,a);return a instanceof Object?a:c}-function fb(a){for(;a.length;){var b=a.pop();a.pop()(b)}}function gb(a,b){var c=d;if(void 0===c[a].ga){var e=c[a];c[a]=function(){c[a].ga.hasOwnProperty(arguments.length)||T("Function '"+b+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+c[a].ga+")!");return c[a].ga[arguments.length].apply(this,arguments)};c[a].ga=[];c[a].ga[e.la]=e}}-function hb(a,b,c){d.hasOwnProperty(a)?((void 0===c||void 0!==d[a].ga&&void 0!==d[a].ga[c])&&T("Cannot register public name '"+a+"' twice"),gb(a,a),d.hasOwnProperty(c)&&T("Cannot register multiple overloads of a function with the same number of arguments ("+c+")!"),d[a].ga[c]=b):(d[a]=b,void 0!==c&&(d[a].pa=c))}function ib(a,b){for(var c=[],e=0;e<a;e++)c.push(I[(b>>2)+e]);return c}-function jb(a,b){a=P(a);var c=d["dynCall_"+a];for(var e=[],f=1;f<a.length;++f)e.push("a"+f);f="return function dynCall_"+(a+"_"+b)+"("+e.join(", ")+") {\n";f+=" return dynCall(rawFunction"+(e.length?", ":"")+e.join(", ")+");\n";c=(new Function("dynCall","rawFunction",f+"};\n"))(c,b);"function"!==typeof c&&T("unknown function pointer with signature "+a+": "+b);return c}var kb=void 0;function lb(a){a=mb(a);var b=P(a);W(a);return b}-function nb(a,b){function c(g){f[g]||R[g]||(Qa[g]?Qa[g].forEach(c):(e.push(g),f[g]=!0))}var e=[],f={};b.forEach(c);throw new kb(a+": "+e.map(lb).join([", "]));}function ob(a,b,c){switch(b){case 0:return c?function(e){return va[e]}:function(e){return F[e]};case 1:return c?function(e){return H[e>>1]}:function(e){return G[e>>1]};case 2:return c?function(e){return I[e>>2]}:function(e){return K[e>>2]};default:throw new TypeError("Unknown integer type: "+a);}}var pb={};-function qb(){return"object"===typeof globalThis?globalThis:Function("return this")()}function rb(a,b){var c=R[a];void 0===c&&T(b+" has unknown type "+lb(a));return c}for(var sb={},tb=[null,[],[]],ub=Array(256),vb=0;256>vb;++vb)ub[vb]=String.fromCharCode(vb);Pa=ub;Ua=d.BindingError=Ta("BindingError");Va=d.InternalError=Ta("InternalError");d.count_emval_handles=function(){for(var a=0,b=5;b<V.length;++b)void 0!==V[b]&&++a;return a};-d.get_first_emval=function(){for(var a=5;a<V.length;++a)if(void 0!==V[a])return V[a];return null};kb=d.UnboundTypeError=Ta("UnboundTypeError");-var Db={u:function(a){return wb(a)},r:function(){},t:function(a){"uncaught_exception"in Na?Na.ka++:Na.ka=1;throw a;},D:function(a,b,c,e,f){var g=Oa(c);b=P(b);U(a,{name:b,fromWireType:function(h){return!!h},toWireType:function(h,l){return l?e:f},argPackAdvance:8,readValueFromPointer:function(h){if(1===c)var l=va;else if(2===c)l=H;else if(4===c)l=I;else throw new TypeError("Unknown boolean type size: "+b);return this.fromWireType(l[h>>g])},ha:null})},C:function(a,b){b=P(b);U(a,{name:b,fromWireType:function(c){var e=-V[c].value;Ya(c);return e},toWireType:function(c,e){return ab(e)},argPackAdvance:8,readValueFromPointer:bb,ha:null})},p:function(a,b,c){c=Oa(c);b=P(b);U(a,{name:b,fromWireType:function(e){return e},toWireType:function(e,f){if("number"!==typeof f&&"boolean"!==typeof f)throw new TypeError('Cannot convert "'+cb(f)+'" to '+this.name);return f},argPackAdvance:8,readValueFromPointer:db(b,c),ha:null})},v:function(a,b,c,e,f,g){var h=ib(b,c);a=P(a);f=jb(e,f);hb(a,function(){nb("Cannot call "+a+" due to unbound types",-h)},b-1);Wa(h,function(l){var k=[l[0],null].concat(l.slice(1)),n=l=a,p=f,q=k.length;2>q&&T("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var y=null!==k[1]&&!1,C=!1,m=1;m<k.length;++m)if(null!==k[m]&&void 0===k[m].ha){C=!0;break}var Za="void"!==k[0].name,M="",S="";for(m=0;m<q-2;++m)M+=(0!==m?", ":"")+"arg"+m,S+=(0!==m?", ":"")+"arg"+m+"Wired";n="return function "+Ra(n)+"("+M+") {\nif (arguments.length !== "+(q-2)+") {\nthrowBindingError('function "+n+" called with ' + arguments.length + ' arguments, expected "+-(q-2)+" args!');\n}\n";C&&(n+="var destructors = [];\n");var $a=C?"destructors":"null";M="throwBindingError invoker fn runDestructors retType classParam".split(" ");p=[T,p,g,fb,k[0],k[1]];y&&(n+="var thisWired = classParam.toWireType("+$a+", this);\n");for(m=0;m<q-2;++m)n+="var arg"+m+"Wired = argType"+m+".toWireType("+$a+", arg"+m+"); // "+k[m+2].name+"\n",M.push("argType"+m),p.push(k[m+2]);y&&(S="thisWired"+(0<S.length?", ":"")+S);n+=(Za?"var rv = ":"")+"invoker(fn"+(0<S.length?", ":"")+S+");\n";-if(C)n+="runDestructors(destructors);\n";else for(m=y?1:2;m<k.length;++m)q=1===m?"thisWired":"arg"+(m-2)+"Wired",null!==k[m].ha&&(n+=q+"_dtor("+q+"); // "+k[m].name+"\n",M.push(q+"_dtor"),p.push(k[m].ha));Za&&(n+="var ret = retType.fromWireType(rv);\nreturn ret;\n");M.push(n+"}\n");k=eb(M).apply(null,p);m=b-1;if(!d.hasOwnProperty(l))throw new Va("Replacing nonexistant public symbol");void 0!==d[l].ga&&void 0!==m?d[l].ga[m]=k:(d[l]=k,d[l].la=m);return[]})},d:function(a,b,c,e,f){function g(n){return n}-b=P(b);-1===f&&(f=4294967295);var h=Oa(c);if(0===e){var l=32-8*c;g=function(n){return n<<l>>>l}}var k=-1!=b.indexOf("unsigned");U(a,{name:b,fromWireType:g,toWireType:function(n,p){if("number"!==typeof p&&"boolean"!==typeof p)throw new TypeError('Cannot convert "'+cb(p)+'" to '+this.name);if(p<e||p>f)throw new TypeError('Passing a number "'+cb(p)+'" from JS side to C/C++ side to an argument of type "'+b+'", which is outside the valid range ['+e+", "+f+"]!");return k?p>>>0:p|0},argPackAdvance:8,readValueFromPointer:ob(b,-h,0!==e),ha:null})},c:function(a,b,c){function e(g){g>>=2;var h=K;return new f(J,h[g+1],h[g])}var f=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];c=P(c);U(a,{name:c,fromWireType:e,argPackAdvance:8,readValueFromPointer:e},{na:!0})},q:function(a,b){b=P(b);var c="std::string"===b;U(a,{name:b,fromWireType:function(e){var f=K[e>>2];if(c)for(var g=e+4,h=0;h<=f;++h){var l=e+4+h;if(h==f||0==F[l]){g=g?ma(F,g,l-g):"";if(void 0===k)var k=g;else k+=String.fromCharCode(0),-k+=g;g=l+1}}else{k=Array(f);for(h=0;h<f;++h)k[h]=String.fromCharCode(F[e+4+h]);k=k.join("")}W(e);return k},toWireType:function(e,f){f instanceof ArrayBuffer&&(f=new Uint8Array(f));var g="string"===typeof f;g||f instanceof Uint8Array||f instanceof Uint8ClampedArray||f instanceof Int8Array||T("Cannot pass non-string to std::string");var h=(c&&g?function(){for(var n=0,p=0;p<f.length;++p){var q=f.charCodeAt(p);55296<=q&&57343>=q&&(q=65536+((q&1023)<<10)|f.charCodeAt(++p)&1023);127>=q?++n:n=2047>=q?n+-2:65535>=q?n+3:n+4}return n}:function(){return f.length})(),l=wb(4+h+1);K[l>>2]=h;if(c&&g)na(f,l+4,h+1);else if(g)for(g=0;g<h;++g){var k=f.charCodeAt(g);255<k&&(W(l),T("String has UTF-16 code units that do not fit in 8 bits"));F[l+4+g]=k}else for(g=0;g<h;++g)F[l+4+g]=f[g];null!==e&&e.push(W,l);return l},argPackAdvance:8,readValueFromPointer:bb,ha:function(e){W(e)}})},j:function(a,b,c){c=P(c);if(2===b){var e=pa;var f=qa;var g=ra;var h=function(){return G};var l=1}else 4===b&&(e=sa,f=ta,g=ua,h=function(){return K},-l=2);U(a,{name:c,fromWireType:function(k){for(var n=K[k>>2],p=h(),q,y=k+4,C=0;C<=n;++C){var m=k+4+C*b;if(C==n||0==p[m>>l])y=e(y,m-y),void 0===q?q=y:(q+=String.fromCharCode(0),q+=y),y=m+b}W(k);return q},toWireType:function(k,n){"string"!==typeof n&&T("Cannot pass non-string to C++ string type "+c);var p=g(n),q=wb(4+p+b);K[q>>2]=p>>l;f(n,q+4,p+b);null!==k&&k.push(W,q);return q},argPackAdvance:8,readValueFromPointer:bb,ha:function(k){W(k)}})},E:function(a,b){b=P(b);U(a,{oa:!0,name:b,argPackAdvance:0,-fromWireType:function(){},toWireType:function(){}})},n:Ya,F:function(a){if(0===a)return ab(qb());var b=pb[a];a=void 0===b?P(a):b;return ab(qb()[a])},w:function(a){4<a&&(V[a].ja+=1)},l:function(a,b,c,e){a||T("Cannot use deleted val. handle = "+a);a=V[a].value;var f=sb[b];if(!f){f="";for(var g=0;g<b;++g)f+=(0!==g?", ":"")+"arg"+g;var h="return function emval_allocator_"+b+"(constructor, argTypes, args) {\n";for(g=0;g<b;++g)h+="var argType"+g+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+-g+'], "parameter '+g+'");\nvar arg'+g+" = argType"+g+".readValueFromPointer(args);\nargs += argType"+g+"['argPackAdvance'];\n";f=(new Function("requireRegisteredType","Module","__emval_register",h+("var obj = new constructor("+f+");\nreturn __emval_register(obj);\n}\n")))(rb,d,ab);sb[b]=f}return f(a,c,e)},k:function(){A()},s:function(){B("missing function: aom_codec_av1_cx");A(-1)},e:function(a,b){X(a,b||1);throw"longjmp";},A:function(a,b,c){F.copyWithin(a,b,b+c)},f:function(a){a>>>=0;var b=F.length;-if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var e=b*(1+.2/c);e=Math.min(e,a+100663296);e=Math.max(16777216,a,e);0<e%65536&&(e+=65536-e%65536);a:{try{E.grow(Math.min(2147483648,e)-J.byteLength+65535>>>16);ya(E.buffer);var f=1;break a}catch(g){}f=void 0}if(f)return!0}return!1},B:function(){return 0},x:function(){},o:function(a,b,c,e){for(var f=0,g=0;g<c;g++){for(var h=I[b+8*g>>2],l=I[b+(8*g+4)>>2],k=0;k<l;k++){var n=F[h+k],p=tb[a];0===n||10===n?((1===a?ha:B)(ma(p,0)),p.length=0):p.push(n)}f+=l}I[e>>-2]=f;return 0},a:function(){return ia|0},h:xb,y:yb,z:zb,g:Ab,m:Bb,i:Cb,memory:E,b:function(a){ia=a|0},table:ja};-(function(){function a(f){d.asm=f.exports;L--;d.monitorRunDependencies&&d.monitorRunDependencies(L);0==L&&(null!==Ga&&(clearInterval(Ga),Ga=null),N&&(f=N,N=null,f()))}function b(f){a(f.instance)}function c(f){return La().then(function(g){return WebAssembly.instantiate(g,e)}).then(f,function(g){B("failed to asynchronously prepare wasm: "+g);A(g)})}var e={a:Db};L++;d.monitorRunDependencies&&d.monitorRunDependencies(L);if(d.instantiateWasm)try{return d.instantiateWasm(e,a)}catch(f){return B("Module.instantiateWasm callback failed with error: "+-f),!1}(function(){if(D||"function"!==typeof WebAssembly.instantiateStreaming||Ia()||Ha("file://")||"function"!==typeof fetch)return c(b);fetch(O,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,e).then(b,function(g){B("wasm streaming compile failed: "+g);B("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})();-var Ma=d.___wasm_call_ctors=function(){return(Ma=d.___wasm_call_ctors=d.asm.G).apply(null,arguments)},wb=d._malloc=function(){return(wb=d._malloc=d.asm.H).apply(null,arguments)},W=d._free=function(){return(W=d._free=d.asm.I).apply(null,arguments)},mb=d.___getTypeName=function(){return(mb=d.___getTypeName=d.asm.J).apply(null,arguments)};d.___embind_register_native_and_builtin_types=function(){return(d.___embind_register_native_and_builtin_types=d.asm.K).apply(null,arguments)};-var X=d._setThrew=function(){return(X=d._setThrew=d.asm.L).apply(null,arguments)},Y=d.stackSave=function(){return(Y=d.stackSave=d.asm.M).apply(null,arguments)},Z=d.stackRestore=function(){return(Z=d.stackRestore=d.asm.N).apply(null,arguments)},Eb=d.dynCall_v=function(){return(Eb=d.dynCall_v=d.asm.O).apply(null,arguments)},Fb=d.dynCall_vi=function(){return(Fb=d.dynCall_vi=d.asm.P).apply(null,arguments)},Gb=d.dynCall_vii=function(){return(Gb=d.dynCall_vii=d.asm.Q).apply(null,arguments)},Hb=d.dynCall_viiii=-function(){return(Hb=d.dynCall_viiii=d.asm.R).apply(null,arguments)};d.dynCall_ii=function(){return(d.dynCall_ii=d.asm.S).apply(null,arguments)};var Ib=d.dynCall_iii=function(){return(Ib=d.dynCall_iii=d.asm.T).apply(null,arguments)};d.dynCall_iiii=function(){return(d.dynCall_iiii=d.asm.U).apply(null,arguments)};var Jb=d.dynCall_iiiii=function(){return(Jb=d.dynCall_iiiii=d.asm.V).apply(null,arguments)};d.dynCall_viiiiii=function(){return(d.dynCall_viiiiii=d.asm.W).apply(null,arguments)};-d.dynCall_viiiii=function(){return(d.dynCall_viiiii=d.asm.X).apply(null,arguments)};d.dynCall_viiiiiiii=function(){return(d.dynCall_viiiiiiii=d.asm.Y).apply(null,arguments)};d.dynCall_viiiiiiiiiii=function(){return(d.dynCall_viiiiiiiiiii=d.asm.Z).apply(null,arguments)};d.dynCall_viiiiiiiiiiii=function(){return(d.dynCall_viiiiiiiiiiii=d.asm._).apply(null,arguments)};d.dynCall_viii=function(){return(d.dynCall_viii=d.asm.$).apply(null,arguments)};-d.dynCall_viiiiiii=function(){return(d.dynCall_viiiiiii=d.asm.aa).apply(null,arguments)};d.dynCall_iiiiiii=function(){return(d.dynCall_iiiiiii=d.asm.ba).apply(null,arguments)};d.dynCall_iidiiii=function(){return(d.dynCall_iidiiii=d.asm.ca).apply(null,arguments)};d.dynCall_i=function(){return(d.dynCall_i=d.asm.da).apply(null,arguments)};d.dynCall_viiiiiiiiii=function(){return(d.dynCall_viiiiiiiiii=d.asm.ea).apply(null,arguments)};-d.dynCall_jiji=function(){return(d.dynCall_jiji=d.asm.fa).apply(null,arguments)};function Bb(a,b,c){var e=Y();try{Gb(a,b,c)}catch(f){Z(e);if(f!==f+0&&"longjmp"!==f)throw f;X(1,0)}}function Cb(a,b,c,e,f){var g=Y();try{Hb(a,b,c,e,f)}catch(h){Z(g);if(h!==h+0&&"longjmp"!==h)throw h;X(1,0)}}function xb(a,b,c){var e=Y();try{return Ib(a,b,c)}catch(f){Z(e);if(f!==f+0&&"longjmp"!==f)throw f;X(1,0)}}function Ab(a,b){var c=Y();try{Fb(a,b)}catch(e){Z(c);if(e!==e+0&&"longjmp"!==e)throw e;X(1,0)}}-function zb(a){var b=Y();try{Eb(a)}catch(c){Z(b);if(c!==c+0&&"longjmp"!==c)throw c;X(1,0)}}function yb(a,b,c,e,f){var g=Y();try{return Jb(a,b,c,e,f)}catch(h){Z(g);if(h!==h+0&&"longjmp"!==h)throw h;X(1,0)}}var Kb;N=function Lb(){Kb||Mb();Kb||(N=Lb)};-function Mb(){function a(){if(!Kb&&(Kb=!0,d.calledRun=!0,!ka)){Aa(Ca);Aa(Da);aa(d);if(d.onRuntimeInitialized)d.onRuntimeInitialized();if(d.postRun)for("function"==typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;){var b=d.postRun.shift();Ea.unshift(b)}Aa(Ea)}}if(!(0<L)){if(d.preRun)for("function"==typeof d.preRun&&(d.preRun=[d.preRun]);d.preRun.length;)Fa();Aa(Ba);0<L||(d.setStatus?(d.setStatus("Running..."),setTimeout(function(){setTimeout(function(){d.setStatus("")},1);a()},1)):a())}}-d.run=Mb;if(d.preInit)for("function"==typeof d.preInit&&(d.preInit=[d.preInit]);0<d.preInit.length;)d.preInit.pop()();noExitRuntime=!0;Mb();+ ) {+ var b = f.postRun.shift();+ xa.unshift(b);+ }+ N(xa);+ }+ }+ if (!(0 < J)) {+ if (f.preRun)+ for (+ 'function' == typeof f.preRun && (f.preRun = [f.preRun]);+ f.preRun.length;+ )+ ya();+ N(ua);+ 0 < J ||+ (f.setStatus+ ? (f.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ f.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ f.run = zb;+ if (f.preInit)+ for (+ 'function' == typeof f.preInit && (f.preInit = [f.preInit]);+ 0 < f.preInit.length;- return avif_dec.ready-}-);+ )+ f.preInit.pop()();+ noExitRuntime = !0;+ zb();++ return Module.ready;+ };})();-if (typeof exports === 'object' && typeof module === 'object')- module.exports = avif_dec;- else if (typeof define === 'function' && define['amd'])- define([], function() { return avif_dec; });- else if (typeof exports === 'object')- exports["avif_dec"] = avif_dec;-\ No newline at end of file+export default Module;diff --git a/codecs/avif/dec/avif_dec.wasm b/codecs/avif/dec/avif_dec.wasmindex f20ca762..5f318129 100644Binary files a/codecs/avif/dec/avif_dec.wasm and b/codecs/avif/dec/avif_dec.wasm differdiff --git a/codecs/avif/enc/avif_enc.cpp b/codecs/avif/enc/avif_enc.cppindex e13e4b2d..56a2b517 100644--- a/codecs/avif/enc/avif_enc.cpp+++ b/codecs/avif/enc/avif_enc.cpp@@ -1,4 +1,5 @@#include <emscripten/bind.h>+#include <emscripten/threading.h>#include <emscripten/val.h>#include "avif/avif.h"@@ -50,13 +51,10 @@ val encode(std::string buffer, int width, int height, AvifOptions options) {avifImage* image = avifImageCreate(width, height, depth, format);- if (- options.maxQuantizer == AVIF_QUANTIZER_LOSSLESS &&- options.minQuantizer == AVIF_QUANTIZER_LOSSLESS &&- options.minQuantizerAlpha == AVIF_QUANTIZER_LOSSLESS &&- options.maxQuantizerAlpha == AVIF_QUANTIZER_LOSSLESS &&- format == AVIF_PIXEL_FORMAT_YUV444- ) {+ if (options.maxQuantizer == AVIF_QUANTIZER_LOSSLESS &&+ options.minQuantizer == AVIF_QUANTIZER_LOSSLESS &&+ options.minQuantizerAlpha == AVIF_QUANTIZER_LOSSLESS &&+ options.maxQuantizerAlpha == AVIF_QUANTIZER_LOSSLESS && format == AVIF_PIXEL_FORMAT_YUV444) {image->matrixCoefficients = AVIF_MATRIX_COEFFICIENTS_IDENTITY;} else {image->matrixCoefficients = AVIF_MATRIX_COEFFICIENTS_BT709;@@ -71,7 +69,7 @@ val encode(std::string buffer, int width, int height, AvifOptions options) {avifImageRGBToYUV(image, &srcRGB);avifEncoder* encoder = avifEncoderCreate();- encoder->maxThreads = 1;+ encoder->maxThreads = emscripten_num_logical_cores();encoder->minQuantizer = options.minQuantizer;encoder->maxQuantizer = options.maxQuantizer;encoder->minQuantizerAlpha = options.minQuantizerAlpha;diff --git a/codecs/avif/enc/avif_enc.d.ts b/codecs/avif/enc/avif_enc.d.tsindex c00e18e7..e32d84b9 100644--- a/codecs/avif/enc/avif_enc.d.ts+++ b/codecs/avif/enc/avif_enc.d.ts@@ -1,7 +1,23 @@-import { EncodeOptions } from '../../../src/codecs/avif/encoder-meta';+export interface EncodeOptions {+ minQuantizer: number;+ maxQuantizer: number;+ minQuantizerAlpha: number;+ maxQuantizerAlpha: number;+ tileRowsLog2: number;+ tileColsLog2: number;+ speed: number;+ subsample: number;+}-interface AVIFModule extends EmscriptenWasm.Module {- encode(data: BufferSource, width: number, height: number, options: EncodeOptions): Uint8Array | null;+export interface AVIFModule extends EmscriptenWasm.Module {+ encode(+ data: BufferSource,+ width: number,+ height: number,+ options: EncodeOptions,+ ): Uint8Array | null;}-export default function(opts: EmscriptenWasm.ModuleOpts): AVIFModule;+declare var moduleFactory: EmscriptenWasm.ModuleFactory<AVIFModule>;++export default moduleFactory;diff --git a/codecs/avif/enc/avif_enc.js b/codecs/avif/enc/avif_enc.jsindex 64f68c8e..9210222f 100644--- a/codecs/avif/enc/avif_enc.js+++ b/codecs/avif/enc/avif_enc.js@@ -1,113 +1,2448 @@+var Module = (function () {+ var _scriptDir = import.meta.url;-var avif_enc = (function() {- var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;- if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;- return (-function(avif_enc) {- avif_enc = avif_enc || {};+ return function (Module) {+ Module = Module || {};+ var g;+ g || (g = typeof Module !== 'undefined' ? Module : {});+ var aa, ba;+ g.ready = new Promise(function (a, b) {+ aa = a;+ ba = b;+ });+ var ca = {},+ l;+ for (l in g) g.hasOwnProperty(l) && (ca[l] = g[l]);+ var r = '',+ da;+ r = self.location.href;+ _scriptDir && (r = _scriptDir);+ 0 !== r.indexOf('blob:')+ ? (r = r.substr(0, r.lastIndexOf('/') + 1))+ : (r = '');+ da = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var ea = g.print || console.log.bind(console),+ u = g.printErr || console.warn.bind(console);+ for (l in ca) ca.hasOwnProperty(l) && (g[l] = ca[l]);+ ca = null;+ var fa = 0,+ ha;+ g.wasmBinary && (ha = g.wasmBinary);+ var noExitRuntime;+ g.noExitRuntime && (noExitRuntime = g.noExitRuntime);+ 'object' !== typeof WebAssembly && x('no native wasm support detected');+ var z,+ A = new WebAssembly.Table({+ initial: 901,+ maximum: 901,+ element: 'anyfunc',+ }),+ ia = !1,+ ja = new TextDecoder('utf8');+ function ka(a) {+ for (var b = 0; a[b] && !(NaN <= b); ) ++b;+ return ja.decode(+ a.subarray ? a.subarray(0, b) : new Uint8Array(a.slice(0, b)),+ );+ }+ function la(a, b) {+ if (!a) return '';+ b = a + b;+ for (var c = a; !(c >= b) && B[c]; ) ++c;+ return ja.decode(B.subarray(a, c));+ }+ function ma(a, b, c, d) {+ if (!(0 < d)) return 0;+ var e = c;+ d = c + d - 1;+ for (var f = 0; f < a.length; ++f) {+ var h = a.charCodeAt(f);+ if (55296 <= h && 57343 >= h) {+ var k = a.charCodeAt(++f);+ h = (65536 + ((h & 1023) << 10)) | (k & 1023);+ }+ if (127 >= h) {+ if (c >= d) break;+ b[c++] = h;+ } else {+ if (2047 >= h) {+ if (c + 1 >= d) break;+ b[c++] = 192 | (h >> 6);+ } else {+ if (65535 >= h) {+ if (c + 2 >= d) break;+ b[c++] = 224 | (h >> 12);+ } else {+ if (c + 3 >= d) break;+ b[c++] = 240 | (h >> 18);+ b[c++] = 128 | ((h >> 12) & 63);+ }+ b[c++] = 128 | ((h >> 6) & 63);+ }+ b[c++] = 128 | (h & 63);+ }+ }+ b[c] = 0;+ return c - e;+ }+ function na(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d &&+ 57343 >= d &&+ (d = (65536 + ((d & 1023) << 10)) | (a.charCodeAt(++c) & 1023));+ 127 >= d ? ++b : (b = 2047 >= d ? b + 2 : 65535 >= d ? b + 3 : b + 4);+ }+ return b;+ }+ var pa = new TextDecoder('utf-16le');+ function qa(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && ra[c]; ) ++c;+ return pa.decode(B.subarray(a, c << 1));+ }+ function sa(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var e = 0; e < c; ++e) (C[b >> 1] = a.charCodeAt(e)), (b += 2);+ C[b >> 1] = 0;+ return b - d;+ }+ function ta(a) {+ return 2 * a.length;+ }+ function ua(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var e = E[(a + 4 * c) >> 2];+ if (0 == e) break;+ ++c;+ 65536 <= e+ ? ((e -= 65536),+ (d += String.fromCharCode(55296 | (e >> 10), 56320 | (e & 1023))))+ : (d += String.fromCharCode(e));+ }+ return d;+ }+ function va(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var e = 0; e < a.length; ++e) {+ var f = a.charCodeAt(e);+ if (55296 <= f && 57343 >= f) {+ var h = a.charCodeAt(++e);+ f = (65536 + ((f & 1023) << 10)) | (h & 1023);+ }+ E[b >> 2] = f;+ b += 4;+ if (b + 4 > c) break;+ }+ E[b >> 2] = 0;+ return b - d;+ }+ function wa(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var F, G, B, C, ra, E, H, xa, ya;+ function za(a) {+ F = a;+ g.HEAP8 = G = new Int8Array(a);+ g.HEAP16 = C = new Int16Array(a);+ g.HEAP32 = E = new Int32Array(a);+ g.HEAPU8 = B = new Uint8Array(a);+ g.HEAPU16 = ra = new Uint16Array(a);+ g.HEAPU32 = H = new Uint32Array(a);+ g.HEAPF32 = xa = new Float32Array(a);+ g.HEAPF64 = ya = new Float64Array(a);+ }+ var Aa = g.INITIAL_MEMORY || 16777216;+ g.wasmMemory+ ? (z = g.wasmMemory)+ : (z = new WebAssembly.Memory({ initial: Aa / 65536, maximum: 32768 }));+ z && (F = z.buffer);+ Aa = F.byteLength;+ za(F);+ var Ba = [],+ Ca = [],+ Da = [],+ Ea = [];+ function Fa() {+ var a = g.preRun.shift();+ Ba.unshift(a);+ }+ var Ga = Math.abs,+ Ha = Math.ceil,+ Ia = Math.floor,+ Ja = Math.min,+ I = 0,+ Ka = null,+ La = null;+ g.preloadedImages = {};+ g.preloadedAudios = {};+ function x(a) {+ if (g.onAbort) g.onAbort(a);+ u(a);+ ia = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ ba(a);+ throw a;+ }+ function Ma() {+ var a = J;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var J = 'avif_enc.wasm';+ if (!Ma()) {+ var Na = J;+ J = g.locateFile ? g.locateFile(Na, r) : r + Na;+ }+ function Oa() {+ try {+ if (ha) return new Uint8Array(ha);+ if (da) return da(J);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ x(a);+ }+ }+ function Pa() {+ return ha || 'function' !== typeof fetch+ ? Promise.resolve().then(Oa)+ : fetch(J, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + J + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Oa();+ });+ }+ var K, Qa;+ Ca.push({+ fb: function () {+ Ra();+ },+ });+ function Sa(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(g);+ else {+ var c = b.fb;+ 'number' === typeof c+ ? void 0 === b.Ia+ ? A.get(c)()+ : A.get(c)(b.Ia)+ : c(void 0 === b.Ia ? null : b.Ia);+ }+ }+ }+ function Ta(a) {+ this.Ba = a - 16;+ this.wb = function (b) {+ E[(this.Ba + 8) >> 2] = b;+ };+ this.tb = function (b) {+ E[(this.Ba + 0) >> 2] = b;+ };+ this.ub = function () {+ E[(this.Ba + 4) >> 2] = 0;+ };+ this.sb = function () {+ G[(this.Ba + 12) >> 0] = 0;+ };+ this.vb = function () {+ G[(this.Ba + 13) >> 0] = 0;+ };+ this.kb = function (b, c) {+ this.wb(b);+ this.tb(c);+ this.ub();+ this.sb();+ this.vb();+ };+ }+ function Ua() {+ return 0 < Ua.Ua;+ }+ function Va(a, b) {+ for (var c = 0, d = a.length - 1; 0 <= d; d--) {+ var e = a[d];+ '.' === e+ ? a.splice(d, 1)+ : '..' === e+ ? (a.splice(d, 1), c++)+ : c && (a.splice(d, 1), c--);+ }+ if (b) for (; c; c--) a.unshift('..');+ return a;+ }+ function Wa(a) {+ var b = '/' === a.charAt(0),+ c = '/' === a.substr(-1);+ (a = Va(+ a.split('/').filter(function (d) {+ return !!d;+ }),+ !b,+ ).join('/')) ||+ b ||+ (a = '.');+ a && c && (a += '/');+ return (b ? '/' : '') + a;+ }+ function Xa(a) {+ var b = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/+ .exec(a)+ .slice(1);+ a = b[0];+ b = b[1];+ if (!a && !b) return '.';+ b && (b = b.substr(0, b.length - 1));+ return a + b;+ }+ function Ya(a) {+ if ('/' === a) return '/';+ a = Wa(a);+ a = a.replace(/\/$/, '');+ var b = a.lastIndexOf('/');+ return -1 === b ? a : a.substr(b + 1);+ }+ function Za() {+ for (var a = '', b = !1, c = arguments.length - 1; -1 <= c && !b; c--) {+ b = 0 <= c ? arguments[c] : '/';+ if ('string' !== typeof b)+ throw new TypeError('Arguments to path.resolve must be strings');+ if (!b) return '';+ a = b + '/' + a;+ b = '/' === b.charAt(0);+ }+ a = Va(+ a.split('/').filter(function (d) {+ return !!d;+ }),+ !b,+ ).join('/');+ return (b ? '/' : '') + a || '.';+ }+ var $a = [];+ function ab(a, b) {+ $a[a] = { input: [], pa: [], Aa: b };+ bb(a, cb);+ }+ var cb = {+ open: function (a) {+ var b = $a[a.node.Ga];+ if (!b) throw new L(43);+ a.oa = b;+ a.seekable = !1;+ },+ close: function (a) {+ a.oa.Aa.flush(a.oa);+ },+ flush: function (a) {+ a.oa.Aa.flush(a.oa);+ },+ read: function (a, b, c, d) {+ if (!a.oa || !a.oa.Aa.Ta) throw new L(60);+ for (var e = 0, f = 0; f < d; f++) {+ try {+ var h = a.oa.Aa.Ta(a.oa);+ } catch (k) {+ throw new L(29);+ }+ if (void 0 === h && 0 === e) throw new L(6);+ if (null === h || void 0 === h) break;+ e++;+ b[c + f] = h;+ }+ e && (a.node.timestamp = Date.now());+ return e;+ },+ write: function (a, b, c, d) {+ if (!a.oa || !a.oa.Aa.Ka) throw new L(60);+ try {+ for (var e = 0; e < d; e++) a.oa.Aa.Ka(a.oa, b[c + e]);+ } catch (f) {+ throw new L(29);+ }+ d && (a.node.timestamp = Date.now());+ return e;+ },+ },+ db = {+ Ta: function (a) {+ if (!a.input.length) {+ var b = null;+ 'undefined' != typeof window && 'function' == typeof window.prompt+ ? ((b = window.prompt('Input: ')), null !== b && (b += '\n'))+ : 'function' == typeof readline &&+ ((b = readline()), null !== b && (b += '\n'));+ if (!b) return null;+ var c = Array(na(b) + 1);+ b = ma(b, c, 0, c.length);+ c.length = b;+ a.input = c;+ }+ return a.input.shift();+ },+ Ka: function (a, b) {+ null === b || 10 === b+ ? (ea(ka(a.pa)), (a.pa = []))+ : 0 != b && a.pa.push(b);+ },+ flush: function (a) {+ a.pa && 0 < a.pa.length && (ea(ka(a.pa)), (a.pa = []));+ },+ },+ eb = {+ Ka: function (a, b) {+ null === b || 10 === b+ ? (u(ka(a.pa)), (a.pa = []))+ : 0 != b && a.pa.push(b);+ },+ flush: function (a) {+ a.pa && 0 < a.pa.length && (u(ka(a.pa)), (a.pa = []));+ },+ },+ M = {+ qa: null,+ ua: function () {+ return M.createNode(null, '/', 16895, 0);+ },+ createNode: function (a, b, c, d) {+ if (24576 === (c & 61440) || 4096 === (c & 61440)) throw new L(63);+ M.qa ||+ (M.qa = {+ dir: {+ node: {+ wa: M.la.wa,+ sa: M.la.sa,+ Ca: M.la.Ca,+ Ea: M.la.Ea,+ Za: M.la.Za,+ ab: M.la.ab,+ $a: M.la.$a,+ Ya: M.la.Ya,+ Ha: M.la.Ha,+ },+ stream: { za: M.ma.za },+ },+ file: {+ node: { wa: M.la.wa, sa: M.la.sa },+ stream: {+ za: M.ma.za,+ read: M.ma.read,+ write: M.ma.write,+ Na: M.ma.Na,+ Va: M.ma.Va,+ Xa: M.ma.Xa,+ },+ },+ link: {+ node: { wa: M.la.wa, sa: M.la.sa, Da: M.la.Da },+ stream: {},+ },+ Oa: { node: { wa: M.la.wa, sa: M.la.sa }, stream: fb },+ });+ c = gb(a, b, c, d);+ 16384 === (c.mode & 61440)+ ? ((c.la = M.qa.dir.node), (c.ma = M.qa.dir.stream), (c.ka = {}))+ : 32768 === (c.mode & 61440)+ ? ((c.la = M.qa.file.node),+ (c.ma = M.qa.file.stream),+ (c.na = 0),+ (c.ka = null))+ : 40960 === (c.mode & 61440)+ ? ((c.la = M.qa.link.node), (c.ma = M.qa.link.stream))+ : 8192 === (c.mode & 61440) &&+ ((c.la = M.qa.Oa.node), (c.ma = M.qa.Oa.stream));+ c.timestamp = Date.now();+ a && (a.ka[b] = c);+ return c;+ },+ Gb: function (a) {+ if (a.ka && a.ka.subarray) {+ for (var b = [], c = 0; c < a.na; ++c) b.push(a.ka[c]);+ return b;+ }+ return a.ka;+ },+ Hb: function (a) {+ return a.ka+ ? a.ka.subarray+ ? a.ka.subarray(0, a.na)+ : new Uint8Array(a.ka)+ : new Uint8Array(0);+ },+ Pa: function (a, b) {+ var c = a.ka ? a.ka.length : 0;+ c >= b ||+ ((b = Math.max(b, (c * (1048576 > c ? 2 : 1.125)) >>> 0)),+ 0 != c && (b = Math.max(b, 256)),+ (c = a.ka),+ (a.ka = new Uint8Array(b)),+ 0 < a.na && a.ka.set(c.subarray(0, a.na), 0));+ },+ qb: function (a, b) {+ if (a.na != b)+ if (0 == b) (a.ka = null), (a.na = 0);+ else {+ if (!a.ka || a.ka.subarray) {+ var c = a.ka;+ a.ka = new Uint8Array(b);+ c && a.ka.set(c.subarray(0, Math.min(b, a.na)));+ } else if ((a.ka || (a.ka = []), a.ka.length > b))+ a.ka.length = b;+ else for (; a.ka.length < b; ) a.ka.push(0);+ a.na = b;+ }+ },+ la: {+ wa: function (a) {+ var b = {};+ b.Fb = 8192 === (a.mode & 61440) ? a.id : 1;+ b.Jb = a.id;+ b.mode = a.mode;+ b.Mb = 1;+ b.uid = 0;+ b.Ib = 0;+ b.Ga = a.Ga;+ 16384 === (a.mode & 61440)+ ? (b.size = 4096)+ : 32768 === (a.mode & 61440)+ ? (b.size = a.na)+ : 40960 === (a.mode & 61440)+ ? (b.size = a.link.length)+ : (b.size = 0);+ b.Cb = new Date(a.timestamp);+ b.Lb = new Date(a.timestamp);+ b.Eb = new Date(a.timestamp);+ b.cb = 4096;+ b.Db = Math.ceil(b.size / b.cb);+ return b;+ },+ sa: function (a, b) {+ void 0 !== b.mode && (a.mode = b.mode);+ void 0 !== b.timestamp && (a.timestamp = b.timestamp);+ void 0 !== b.size && M.qb(a, b.size);+ },+ Ca: function () {+ throw hb[44];+ },+ Ea: function (a, b, c, d) {+ return M.createNode(a, b, c, d);+ },+ Za: function (a, b, c) {+ if (16384 === (a.mode & 61440)) {+ try {+ var d = ib(b, c);+ } catch (f) {}+ if (d) for (var e in d.ka) throw new L(55);+ }+ delete a.parent.ka[a.name];+ a.name = c;+ b.ka[c] = a;+ a.parent = b;+ },+ ab: function (a, b) {+ delete a.ka[b];+ },+ $a: function (a, b) {+ var c = ib(a, b),+ d;+ for (d in c.ka) throw new L(55);+ delete a.ka[b];+ },+ Ya: function (a) {+ var b = ['.', '..'],+ c;+ for (c in a.ka) a.ka.hasOwnProperty(c) && b.push(c);+ return b;+ },+ Ha: function (a, b, c) {+ a = M.createNode(a, b, 41471, 0);+ a.link = c;+ return a;+ },+ Da: function (a) {+ if (40960 !== (a.mode & 61440)) throw new L(28);+ return a.link;+ },+ },+ ma: {+ read: function (a, b, c, d, e) {+ var f = a.node.ka;+ if (e >= a.node.na) return 0;+ a = Math.min(a.node.na - e, d);+ if (8 < a && f.subarray) b.set(f.subarray(e, e + a), c);+ else for (d = 0; d < a; d++) b[c + d] = f[e + d];+ return a;+ },+ write: function (a, b, c, d, e, f) {+ b.buffer === G.buffer && (f = !1);+ if (!d) return 0;+ a = a.node;+ a.timestamp = Date.now();+ if (b.subarray && (!a.ka || a.ka.subarray)) {+ if (f) return (a.ka = b.subarray(c, c + d)), (a.na = d);+ if (0 === a.na && 0 === e)+ return (a.ka = b.slice(c, c + d)), (a.na = d);+ if (e + d <= a.na) return a.ka.set(b.subarray(c, c + d), e), d;+ }+ M.Pa(a, e + d);+ if (a.ka.subarray && b.subarray) a.ka.set(b.subarray(c, c + d), e);+ else for (f = 0; f < d; f++) a.ka[e + f] = b[c + f];+ a.na = Math.max(a.na, e + d);+ return d;+ },+ za: function (a, b, c) {+ 1 === c+ ? (b += a.position)+ : 2 === c && 32768 === (a.node.mode & 61440) && (b += a.node.na);+ if (0 > b) throw new L(28);+ return b;+ },+ Na: function (a, b, c) {+ M.Pa(a.node, b + c);+ a.node.na = Math.max(a.node.na, b + c);+ },+ Va: function (a, b, c, d, e, f) {+ 0 === b || x('Assertion failed: undefined');+ if (32768 !== (a.node.mode & 61440)) throw new L(43);+ a = a.node.ka;+ if (f & 2 || a.buffer !== F) {+ if (0 < d || d + c < a.length)+ a.subarray+ ? (a = a.subarray(d, d + c))+ : (a = Array.prototype.slice.call(a, d, d + c));+ d = !0;+ f = 16384 * Math.ceil(c / 16384);+ for (b = jb(f); c < f; ) G[b + c++] = 0;+ c = b;+ if (!c) throw new L(48);+ G.set(a, c);+ } else (d = !1), (c = a.byteOffset);+ return { Ba: c, Bb: d };+ },+ Xa: function (a, b, c, d, e) {+ if (32768 !== (a.node.mode & 61440)) throw new L(43);+ if (e & 2) return 0;+ M.ma.write(a, b, 0, d, c, !1);+ return 0;+ },+ },+ },+ kb = null,+ lb = {},+ mb = [],+ nb = 1,+ ob = null,+ pb = !0,+ qb = {},+ L = null,+ hb = {};+ function N(a, b) {+ a = Za('/', a);+ b = b || {};+ if (!a) return { path: '', node: null };+ var c = { Sa: !0, La: 0 },+ d;+ for (d in c) void 0 === b[d] && (b[d] = c[d]);+ if (8 < b.La) throw new L(32);+ a = Va(+ a.split('/').filter(function (h) {+ return !!h;+ }),+ !1,+ );+ var e = kb;+ c = '/';+ for (d = 0; d < a.length; d++) {+ var f = d === a.length - 1;+ if (f && b.parent) break;+ e = ib(e, a[d]);+ c = Wa(c + '/' + a[d]);+ e.Fa && (!f || (f && b.Sa)) && (e = e.Fa.root);+ if (!f || b.Ra)+ for (f = 0; 40960 === (e.mode & 61440); )+ if (+ ((e = rb(c)),+ (c = Za(Xa(c), e)),+ (e = N(c, { La: b.La }).node),+ 40 < f++)+ )+ throw new L(32);+ }+ return { path: c, node: e };+ }+ function sb(a) {+ for (var b; ; ) {+ if (a === a.parent)+ return (+ (a = a.ua.Wa),+ b ? ('/' !== a[a.length - 1] ? a + '/' + b : a + b) : a+ );+ b = b ? a.name + '/' + b : a.name;+ a = a.parent;+ }+ }+ function tb(a, b) {+ for (var c = 0, d = 0; d < b.length; d++)+ c = ((c << 5) - c + b.charCodeAt(d)) | 0;+ return ((a + c) >>> 0) % ob.length;+ }+ function ib(a, b) {+ var c;+ if ((c = (c = ub(a, 'x')) ? c : a.la.Ca ? 0 : 2)) throw new L(c, a);+ for (c = ob[tb(a.id, b)]; c; c = c.nb) {+ var d = c.name;+ if (c.parent.id === a.id && d === b) return c;+ }+ return a.la.Ca(a, b);+ }+ function gb(a, b, c, d) {+ a = new vb(a, b, c, d);+ b = tb(a.parent.id, a.name);+ a.nb = ob[b];+ return (ob[b] = a);+ }+ var wb = {+ r: 0,+ rs: 1052672,+ 'r+': 2,+ w: 577,+ wx: 705,+ xw: 705,+ 'w+': 578,+ 'wx+': 706,+ 'xw+': 706,+ a: 1089,+ ax: 1217,+ xa: 1217,+ 'a+': 1090,+ 'ax+': 1218,+ 'xa+': 1218,+ };+ function xb(a) {+ var b = ['r', 'w', 'rw'][a & 3];+ a & 512 && (b += 'w');+ return b;+ }+ function ub(a, b) {+ if (pb) return 0;+ if (-1 === b.indexOf('r') || a.mode & 292) {+ if (+ (-1 !== b.indexOf('w') && !(a.mode & 146)) ||+ (-1 !== b.indexOf('x') && !(a.mode & 73))+ )+ return 2;+ } else return 2;+ return 0;+ }+ function yb(a, b) {+ try {+ return ib(a, b), 20;+ } catch (c) {}+ return ub(a, 'wx');+ }+ function zb(a) {+ var b = 4096;+ for (a = a || 0; a <= b; a++) if (!mb[a]) return a;+ throw new L(33);+ }+ function Ab(a, b) {+ Bb || ((Bb = function () {}), (Bb.prototype = {}));+ var c = new Bb(),+ d;+ for (d in a) c[d] = a[d];+ a = c;+ b = zb(b);+ a.va = b;+ return (mb[b] = a);+ }+ var fb = {+ open: function (a) {+ a.ma = lb[a.node.Ga].ma;+ a.ma.open && a.ma.open(a);+ },+ za: function () {+ throw new L(70);+ },+ };+ function bb(a, b) {+ lb[a] = { ma: b };+ }+ function Cb(a, b) {+ var c = '/' === b,+ d = !b;+ if (c && kb) throw new L(10);+ if (!c && !d) {+ var e = N(b, { Sa: !1 });+ b = e.path;+ e = e.node;+ if (e.Fa) throw new L(10);+ if (16384 !== (e.mode & 61440)) throw new L(54);+ }+ b = { type: a, Ob: {}, Wa: b, mb: [] };+ a = a.ua(b);+ a.ua = b;+ b.root = a;+ c ? (kb = a) : e && ((e.Fa = b), e.ua && e.ua.mb.push(b));+ }+ function Db(a, b, c) {+ var d = N(a, { parent: !0 }).node;+ a = Ya(a);+ if (!a || '.' === a || '..' === a) throw new L(28);+ var e = yb(d, a);+ if (e) throw new L(e);+ if (!d.la.Ea) throw new L(63);+ return d.la.Ea(d, a, b, c);+ }+ function O(a) {+ Db(a, 16895, 0);+ }+ function Eb(a, b, c) {+ 'undefined' === typeof c && ((c = b), (b = 438));+ Db(a, b | 8192, c);+ }+ function Fb(a, b) {+ if (!Za(a)) throw new L(44);+ var c = N(b, { parent: !0 }).node;+ if (!c) throw new L(44);+ b = Ya(b);+ var d = yb(c, b);+ if (d) throw new L(d);+ if (!c.la.Ha) throw new L(63);+ c.la.Ha(c, b, a);+ }+ function rb(a) {+ a = N(a).node;+ if (!a) throw new L(44);+ if (!a.la.Da) throw new L(28);+ return Za(sb(a.parent), a.la.Da(a));+ }+ function Gb(a, b, c, d) {+ if ('' === a) throw new L(44);+ if ('string' === typeof b) {+ var e = wb[b];+ if ('undefined' === typeof e)+ throw Error('Unknown file open mode: ' + b);+ b = e;+ }+ c = b & 64 ? (('undefined' === typeof c ? 438 : c) & 4095) | 32768 : 0;+ if ('object' === typeof a) var f = a;+ else {+ a = Wa(a);+ try {+ f = N(a, { Ra: !(b & 131072) }).node;+ } catch (k) {}+ }+ e = !1;+ if (b & 64)+ if (f) {+ if (b & 128) throw new L(20);+ } else (f = Db(a, c, 0)), (e = !0);+ if (!f) throw new L(44);+ 8192 === (f.mode & 61440) && (b &= -513);+ if (b & 65536 && 16384 !== (f.mode & 61440)) throw new L(54);+ if (+ !e &&+ (c = f+ ? 40960 === (f.mode & 61440)+ ? 32+ : 16384 === (f.mode & 61440) && ('r' !== xb(b) || b & 512)+ ? 31+ : ub(f, xb(b))+ : 44)+ )+ throw new L(c);+ if (b & 512) {+ c = f;+ var h;+ 'string' === typeof c ? (h = N(c, { Ra: !0 }).node) : (h = c);+ if (!h.la.sa) throw new L(63);+ if (16384 === (h.mode & 61440)) throw new L(31);+ if (32768 !== (h.mode & 61440)) throw new L(28);+ if ((c = ub(h, 'w'))) throw new L(c);+ h.la.sa(h, { size: 0, timestamp: Date.now() });+ }+ b &= -131713;+ d = Ab(+ {+ node: f,+ path: sb(f),+ flags: b,+ seekable: !0,+ position: 0,+ ma: f.ma,+ Ab: [],+ error: !1,+ },+ d,+ );+ d.ma.open && d.ma.open(d);+ !g.logReadFiles ||+ b & 1 ||+ (Hb || (Hb = {}),+ a in Hb ||+ ((Hb[a] = 1), u('FS.trackingDelegate error on read file: ' + a)));+ try {+ qb.onOpenFile &&+ ((f = 0),+ 1 !== (b & 2097155) && (f |= 1),+ 0 !== (b & 2097155) && (f |= 2),+ qb.onOpenFile(a, f));+ } catch (k) {+ u(+ "FS.trackingDelegate['onOpenFile']('" ++ a ++ "', flags) threw an exception: " ++ k.message,+ );+ }+ return d;+ }+ function Ib(a, b, c) {+ if (null === a.va) throw new L(8);+ if (!a.seekable || !a.ma.za) throw new L(70);+ if (0 != c && 1 != c && 2 != c) throw new L(28);+ a.position = a.ma.za(a, b, c);+ a.Ab = [];+ }+ function Jb() {+ L ||+ ((L = function (a, b) {+ this.node = b;+ this.rb = function (c) {+ this.ya = c;+ };+ this.rb(a);+ this.message = 'FS error';+ }),+ (L.prototype = Error()),+ (L.prototype.constructor = L),+ [44].forEach(function (a) {+ hb[a] = new L(a);+ hb[a].stack = '<generic error, no stack>';+ }));+ }+ var Kb;+ function Lb(a, b) {+ var c = 0;+ a && (c |= 365);+ b && (c |= 146);+ return c;+ }+ function Mb(a, b, c) {+ a = Wa('/dev/' + a);+ var d = Lb(!!b, !!c);+ Nb || (Nb = 64);+ var e = (Nb++ << 8) | 0;+ bb(e, {+ open: function (f) {+ f.seekable = !1;+ },+ close: function () {+ c && c.buffer && c.buffer.length && c(10);+ },+ read: function (f, h, k, m) {+ for (var n = 0, p = 0; p < m; p++) {+ try {+ var t = b();+ } catch (v) {+ throw new L(29);+ }+ if (void 0 === t && 0 === n) throw new L(6);+ if (null === t || void 0 === t) break;+ n++;+ h[k + p] = t;+ }+ n && (f.node.timestamp = Date.now());+ return n;+ },+ write: function (f, h, k, m) {+ for (var n = 0; n < m; n++)+ try {+ c(h[k + n]);+ } catch (p) {+ throw new L(29);+ }+ m && (f.node.timestamp = Date.now());+ return n;+ },+ });+ Eb(a, d, e);+ }+ var Nb,+ P = {},+ Bb,+ Hb,+ Ob = void 0;+ function Pb() {+ Ob += 4;+ return E[(Ob - 4) >> 2];+ }+ function Qb(a) {+ a = mb[a];+ if (!a) throw new L(8);+ return a;+ }+ var Rb = {};+ function Sb(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Tb(a) {+ return this.fromWireType(H[a >> 2]);+ }+ var Ub = {},+ R = {},+ Vb = {};+ function Wb(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Xb(a, b) {+ a = Wb(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function Yb(a) {+ var b = Error,+ c = Xb(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var Zb = void 0;+ function $b(a, b, c) {+ function d(k) {+ k = c(k);+ if (k.length !== a.length)+ throw new Zb('Mismatched type converter count');+ for (var m = 0; m < a.length; ++m) S(a[m], k[m]);+ }+ a.forEach(function (k) {+ Vb[k] = b;+ });+ var e = Array(b.length),+ f = [],+ h = 0;+ b.forEach(function (k, m) {+ R.hasOwnProperty(k)+ ? (e[m] = R[k])+ : (f.push(k),+ Ub.hasOwnProperty(k) || (Ub[k] = []),+ Ub[k].push(function () {+ e[m] = R[k];+ ++h;+ h === f.length && d(e);+ }));+ });+ 0 === f.length && d(e);+ }+ function ac(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var bc = void 0;+ function T(a) {+ for (var b = ''; B[a]; ) b += bc[B[a++]];+ return b;+ }+ var cc = void 0;+ function U(a) {+ throw new cc(a);+ }+ function S(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || U('type "' + d + '" must have a positive integer typeid pointer');+ if (R.hasOwnProperty(a)) {+ if (c.jb) return;+ U("Cannot register type '" + d + "' twice");+ }+ R[a] = b;+ delete Vb[a];+ Ub.hasOwnProperty(a) &&+ ((b = Ub[a]),+ delete Ub[a],+ b.forEach(function (e) {+ e();+ }));+ }+ var dc = [],+ V = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function ec(a) {+ 4 < a && 0 === --V[a].Ma && ((V[a] = void 0), dc.push(a));+ }+ function fc(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = dc.length ? dc.pop() : V.length;+ V[b] = { Ma: 1, value: a };+ return b;+ }+ }+ function gc(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function hc(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(xa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(ya[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function ic(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Xb(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function jc(a, b) {+ var c = g;+ if (void 0 === c[a].ra) {+ var d = c[a];+ c[a] = function () {+ c[a].ra.hasOwnProperty(arguments.length) ||+ U(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].ra ++ ')!',+ );+ return c[a].ra[arguments.length].apply(this, arguments);+ };+ c[a].ra = [];+ c[a].ra[d.bb] = d;+ }+ }+ function kc(a, b, c) {+ g.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== g[a].ra && void 0 !== g[a].ra[c])) &&+ U("Cannot register public name '" + a + "' twice"),+ jc(a, a),+ g.hasOwnProperty(c) &&+ U(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (g[a].ra[c] = b))+ : ((g[a] = b), void 0 !== c && (g[a].Nb = c));+ }+ function lc(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(E[(b >> 2) + d]);+ return c;+ }+ function mc(a, b) {+ 0 <= a.indexOf('j') ||+ x('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var e;+ -1 != a.indexOf('j')+ ? (e =+ c && c.length+ ? g['dynCall_' + a].apply(null, [b].concat(c))+ : g['dynCall_' + a].call(null, b))+ : (e = A.get(b).apply(null, c));+ return e;+ };+ }+ function nc(a, b) {+ a = T(a);+ var c = -1 != a.indexOf('j') ? mc(a, b) : A.get(b);+ 'function' !== typeof c &&+ U('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var oc = void 0;+ function pc(a) {+ a = qc(a);+ var b = T(a);+ W(a);+ return b;+ }+ function rc(a, b) {+ function c(f) {+ e[f] || R[f] || (Vb[f] ? Vb[f].forEach(c) : (d.push(f), (e[f] = !0)));+ }+ var d = [],+ e = {};+ b.forEach(c);+ throw new oc(a + ': ' + d.map(pc).join([', ']));+ }+ function sc(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return G[d];+ }+ : function (d) {+ return B[d];+ };+ case 1:+ return c+ ? function (d) {+ return C[d >> 1];+ }+ : function (d) {+ return ra[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return E[d >> 2];+ }+ : function (d) {+ return H[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var tc = {};+ function uc() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function vc(a, b) {+ var c = R[a];+ void 0 === c && U(b + ' has unknown type ' + pc(a));+ return c;+ }+ var wc = {};+ function vb(a, b, c, d) {+ a || (a = this);+ this.parent = a;+ this.ua = a.ua;+ this.Fa = null;+ this.id = nb++;+ this.name = b;+ this.mode = c;+ this.la = {};+ this.ma = {};+ this.Ga = d;+ }+ Object.defineProperties(vb.prototype, {+ read: {+ get: function () {+ return 365 === (this.mode & 365);+ },+ set: function (a) {+ a ? (this.mode |= 365) : (this.mode &= -366);+ },+ },+ write: {+ get: function () {+ return 146 === (this.mode & 146);+ },+ set: function (a) {+ a ? (this.mode |= 146) : (this.mode &= -147);+ },+ },+ });+ Jb();+ ob = Array(4096);+ Cb(M, '/');+ O('/tmp');+ O('/home');+ O('/home/web_user');+ (function () {+ O('/dev');+ bb(259, {+ read: function () {+ return 0;+ },+ write: function (c, d, e, f) {+ return f;+ },+ });+ Eb('/dev/null', 259);+ ab(1280, db);+ ab(1536, eb);+ Eb('/dev/tty', 1280);+ Eb('/dev/tty1', 1536);+ if (+ 'object' === typeof crypto &&+ 'function' === typeof crypto.getRandomValues+ ) {+ var a = new Uint8Array(1);+ var b = function () {+ crypto.getRandomValues(a);+ return a[0];+ };+ }+ b ||+ (b = function () {+ x('random_device');+ });+ Mb('random', b);+ Mb('urandom', b);+ O('/dev/shm');+ O('/dev/shm/tmp');+ })();+ O('/proc');+ O('/proc/self');+ O('/proc/self/fd');+ Cb(+ {+ ua: function () {+ var a = gb('/proc/self', 'fd', 16895, 73);+ a.la = {+ Ca: function (b, c) {+ var d = mb[+c];+ if (!d) throw new L(8);+ b = {+ parent: null,+ ua: { Wa: 'fake' },+ la: {+ Da: function () {+ return d.path;+ },+ },+ };+ return (b.parent = b);+ },+ };+ return a;+ },+ },+ '/proc/self/fd',+ );+ Zb = g.InternalError = Yb('InternalError');+ for (var xc = Array(256), yc = 0; 256 > yc; ++yc)+ xc[yc] = String.fromCharCode(yc);+ bc = xc;+ cc = g.BindingError = Yb('BindingError');+ g.count_emval_handles = function () {+ for (var a = 0, b = 5; b < V.length; ++b) void 0 !== V[b] && ++a;+ return a;+ };+ g.get_first_emval = function () {+ for (var a = 5; a < V.length; ++a) if (void 0 !== V[a]) return V[a];+ return null;+ };+ oc = g.UnboundTypeError = Yb('UnboundTypeError');+ var Kc = {+ w: function (a) {+ return jb(a + 16) + 16;+ },+ T: function () {},+ R: function (a, b, c) {+ new Ta(a).kb(b, c);+ 'uncaught_exception' in Ua ? Ua.Ua++ : (Ua.Ua = 1);+ throw a;+ },+ b: A,+ p: function (a, b, c) {+ Ob = c;+ try {+ var d = Qb(a);+ switch (b) {+ case 0:+ var e = Pb();+ return 0 > e ? -28 : Gb(d.path, d.flags, 0, e).va;+ case 1:+ case 2:+ return 0;+ case 3:+ return d.flags;+ case 4:+ return (e = Pb()), (d.flags |= e), 0;+ case 12:+ return (e = Pb()), (C[(e + 0) >> 1] = 2), 0;+ case 13:+ case 14:+ return 0;+ case 16:+ case 8:+ return -28;+ case 9:+ return (E[zc() >> 2] = 28), -1;+ default:+ return -28;+ }+ } catch (f) {+ return ('undefined' !== typeof P && f instanceof L) || x(f), -f.ya;+ }+ },+ K: function (a, b, c) {+ Ob = c;+ try {+ var d = Qb(a);+ switch (b) {+ case 21509:+ case 21505:+ return d.oa ? 0 : -59;+ case 21510:+ case 21511:+ case 21512:+ case 21506:+ case 21507:+ case 21508:+ return d.oa ? 0 : -59;+ case 21519:+ if (!d.oa) return -59;+ var e = Pb();+ return (E[e >> 2] = 0);+ case 21520:+ return d.oa ? -28 : -59;+ case 21531:+ a = e = Pb();+ if (!d.ma.lb) throw new L(59);+ return d.ma.lb(d, b, a);+ case 21523:+ return d.oa ? 0 : -59;+ case 21524:+ return d.oa ? 0 : -59;+ default:+ x('bad ioctl syscall ' + b);+ }+ } catch (f) {+ return ('undefined' !== typeof P && f instanceof L) || x(f), -f.ya;+ }+ },+ L: function (a, b, c) {+ Ob = c;+ try {+ var d = la(a),+ e = Pb();+ return Gb(d, b, e).va;+ } catch (f) {+ return ('undefined' !== typeof P && f instanceof L) || x(f), -f.ya;+ }+ },+ A: function (a) {+ var b = Rb[a];+ delete Rb[a];+ var c = b.ob,+ d = b.pb,+ e = b.Qa,+ f = e+ .map(function (h) {+ return h.ib;+ })+ .concat(+ e.map(function (h) {+ return h.yb;+ }),+ );+ $b([a], f, function (h) {+ var k = {};+ e.forEach(function (m, n) {+ var p = h[n],+ t = m.gb,+ v = m.hb,+ w = h[n + e.length],+ q = m.xb,+ D = m.zb;+ k[m.eb] = {+ read: function (y) {+ return p.fromWireType(t(v, y));+ },+ write: function (y, Q) {+ var oa = [];+ q(D, y, w.toWireType(oa, Q));+ Sb(oa);+ },+ };+ });+ return [+ {+ name: b.name,+ fromWireType: function (m) {+ var n = {},+ p;+ for (p in k) n[p] = k[p].read(m);+ d(m);+ return n;+ },+ toWireType: function (m, n) {+ for (var p in k)+ if (!(p in n))+ throw new TypeError('Missing field: "' + p + '"');+ var t = c();+ for (p in k) k[p].write(t, n[p]);+ null !== m && m.push(d, t);+ return t;+ },+ argPackAdvance: 8,+ readValueFromPointer: Tb,+ ta: d,+ },+ ];+ });+ },+ N: function (a, b, c, d, e) {+ var f = ac(c);+ b = T(b);+ S(a, {+ name: b,+ fromWireType: function (h) {+ return !!h;+ },+ toWireType: function (h, k) {+ return k ? d : e;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (h) {+ if (1 === c) var k = G;+ else if (2 === c) k = C;+ else if (4 === c) k = E;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(k[h >> f]);+ },+ ta: null,+ });+ },+ M: function (a, b) {+ b = T(b);+ S(a, {+ name: b,+ fromWireType: function (c) {+ var d = V[c].value;+ ec(c);+ return d;+ },+ toWireType: function (c, d) {+ return fc(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Tb,+ ta: null,+ });+ },+ s: function (a, b, c) {+ c = ac(c);+ b = T(b);+ S(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, e) {+ if ('number' !== typeof e && 'boolean' !== typeof e)+ throw new TypeError(+ 'Cannot convert "' + gc(e) + '" to ' + this.name,+ );+ return e;+ },+ argPackAdvance: 8,+ readValueFromPointer: hc(b, c),+ ta: null,+ });+ },+ y: function (a, b, c, d, e, f) {+ var h = lc(b, c);+ a = T(a);+ e = nc(d, e);+ kc(+ a,+ function () {+ rc('Cannot call ' + a + ' due to unbound types', h);+ },+ b - 1,+ );+ $b([], h, function (k) {+ var m = a,+ n = a;+ k = [k[0], null].concat(k.slice(1));+ var p = e,+ t = k.length;+ 2 > t &&+ U(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var v = null !== k[1] && !1, w = !1, q = 1; q < k.length; ++q)+ if (null !== k[q] && void 0 === k[q].ta) {+ w = !0;+ break;+ }+ var D = 'void' !== k[0].name,+ y = '',+ Q = '';+ for (q = 0; q < t - 2; ++q)+ (y += (0 !== q ? ', ' : '') + 'arg' + q),+ (Q += (0 !== q ? ', ' : '') + 'arg' + q + 'Wired');+ n =+ 'return function ' ++ Wb(n) ++ '(' ++ y ++ ') {\nif (arguments.length !== ' ++ (t - 2) ++ ") {\nthrowBindingError('function " ++ n ++ " called with ' + arguments.length + ' arguments, expected " ++ (t - 2) ++ " args!');\n}\n";+ w && (n += 'var destructors = [];\n');+ var oa = w ? 'destructors' : 'null';+ y = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ p = [U, p, f, Sb, k[0], k[1]];+ v &&+ (n += 'var thisWired = classParam.toWireType(' + oa + ', this);\n');+ for (q = 0; q < t - 2; ++q)+ (n +=+ 'var arg' ++ q ++ 'Wired = argType' ++ q ++ '.toWireType(' ++ oa ++ ', arg' ++ q ++ '); // ' ++ k[q + 2].name ++ '\n'),+ y.push('argType' + q),+ p.push(k[q + 2]);+ v && (Q = 'thisWired' + (0 < Q.length ? ', ' : '') + Q);+ n +=+ (D ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < Q.length ? ', ' : '') ++ Q ++ ');\n';+ if (w) n += 'runDestructors(destructors);\n';+ else+ for (q = v ? 1 : 2; q < k.length; ++q)+ (t = 1 === q ? 'thisWired' : 'arg' + (q - 2) + 'Wired'),+ null !== k[q].ta &&+ ((n += t + '_dtor(' + t + '); // ' + k[q].name + '\n'),+ y.push(t + '_dtor'),+ p.push(k[q].ta));+ D && (n += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ y.push(n + '}\n');+ k = ic(y).apply(null, p);+ q = b - 1;+ if (!g.hasOwnProperty(m))+ throw new Zb('Replacing nonexistant public symbol');+ void 0 !== g[m].ra && void 0 !== q+ ? (g[m].ra[q] = k)+ : ((g[m] = k), (g[m].bb = q));+ return [];+ });+ },+ i: function (a, b, c, d, e) {+ function f(n) {+ return n;+ }+ b = T(b);+ -1 === e && (e = 4294967295);+ var h = ac(c);+ if (0 === d) {+ var k = 32 - 8 * c;+ f = function (n) {+ return (n << k) >>> k;+ };+ }+ var m = -1 != b.indexOf('unsigned');+ S(a, {+ name: b,+ fromWireType: f,+ toWireType: function (n, p) {+ if ('number' !== typeof p && 'boolean' !== typeof p)+ throw new TypeError(+ 'Cannot convert "' + gc(p) + '" to ' + this.name,+ );+ if (p < d || p > e)+ throw new TypeError(+ 'Passing a number "' ++ gc(p) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ e ++ ']!',+ );+ return m ? p >>> 0 : p | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: sc(b, h, 0 !== d),+ ta: null,+ });+ },+ h: function (a, b, c) {+ function d(f) {+ f >>= 2;+ var h = H;+ return new e(F, h[f + 1], h[f]);+ }+ var e = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = T(c);+ S(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { jb: !0 },+ );+ },+ u: function (a, b) {+ b = T(b);+ var c = 'std::string' === b;+ S(a, {+ name: b,+ fromWireType: function (d) {+ var e = H[d >> 2];+ if (c)+ for (var f = d + 4, h = 0; h <= e; ++h) {+ var k = d + 4 + h;+ if (h == e || 0 == B[k]) {+ f = la(f, k - f);+ if (void 0 === m) var m = f;+ else (m += String.fromCharCode(0)), (m += f);+ f = k + 1;+ }+ }+ else {+ m = Array(e);+ for (h = 0; h < e; ++h) m[h] = String.fromCharCode(B[d + 4 + h]);+ m = m.join('');+ }+ W(d);+ return m;+ },+ toWireType: function (d, e) {+ e instanceof ArrayBuffer && (e = new Uint8Array(e));+ var f = 'string' === typeof e;+ f ||+ e instanceof Uint8Array ||+ e instanceof Uint8ClampedArray ||+ e instanceof Int8Array ||+ U('Cannot pass non-string to std::string');+ var h = (c && f+ ? function () {+ return na(e);+ }+ : function () {+ return e.length;+ })(),+ k = jb(4 + h + 1);+ H[k >> 2] = h;+ if (c && f) ma(e, B, k + 4, h + 1);+ else if (f)+ for (f = 0; f < h; ++f) {+ var m = e.charCodeAt(f);+ 255 < m &&+ (W(k),+ U('String has UTF-16 code units that do not fit in 8 bits'));+ B[k + 4 + f] = m;+ }+ else for (f = 0; f < h; ++f) B[k + 4 + f] = e[f];+ null !== d && d.push(W, k);+ return k;+ },+ argPackAdvance: 8,+ readValueFromPointer: Tb,+ ta: function (d) {+ W(d);+ },+ });+ },+ n: function (a, b, c) {+ c = T(c);+ if (2 === b) {+ var d = qa;+ var e = sa;+ var f = ta;+ var h = function () {+ return ra;+ };+ var k = 1;+ } else+ 4 === b &&+ ((d = ua),+ (e = va),+ (f = wa),+ (h = function () {+ return H;+ }),+ (k = 2));+ S(a, {+ name: c,+ fromWireType: function (m) {+ for (var n = H[m >> 2], p = h(), t, v = m + 4, w = 0; w <= n; ++w) {+ var q = m + 4 + w * b;+ if (w == n || 0 == p[q >> k])+ (v = d(v, q - v)),+ void 0 === t+ ? (t = v)+ : ((t += String.fromCharCode(0)), (t += v)),+ (v = q + b);+ }+ W(m);+ return t;+ },+ toWireType: function (m, n) {+ 'string' !== typeof n &&+ U('Cannot pass non-string to C++ string type ' + c);+ var p = f(n),+ t = jb(4 + p + b);+ H[t >> 2] = p >> k;+ e(n, t + 4, p + b);+ null !== m && m.push(W, t);+ return t;+ },+ argPackAdvance: 8,+ readValueFromPointer: Tb,+ ta: function (m) {+ W(m);+ },+ });+ },+ F: function (a, b, c, d, e, f) {+ Rb[a] = { name: T(b), ob: nc(c, d), pb: nc(e, f), Qa: [] };+ },+ z: function (a, b, c, d, e, f, h, k, m, n) {+ Rb[a].Qa.push({+ eb: T(b),+ ib: c,+ gb: nc(d, e),+ hb: f,+ yb: h,+ xb: nc(k, m),+ zb: n,+ });+ },+ O: function (a, b) {+ b = T(b);+ S(a, {+ Kb: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ t: ec,+ S: function (a) {+ if (0 === a) return fc(uc());+ var b = tc[a];+ a = void 0 === b ? T(a) : b;+ return fc(uc()[a]);+ },+ x: function (a) {+ 4 < a && (V[a].Ma += 1);+ },+ H: function (a, b, c, d) {+ a || U('Cannot use deleted val. handle = ' + a);+ a = V[a].value;+ var e = wc[b];+ if (!e) {+ e = '';+ for (var f = 0; f < b; ++f) e += (0 !== f ? ', ' : '') + 'arg' + f;+ var h =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (f = 0; f < b; ++f)+ h +=+ 'var argType' ++ f ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ f ++ '], "parameter ' ++ f ++ '");\nvar arg' ++ f ++ ' = argType' ++ f ++ '.readValueFromPointer(args);\nargs += argType' ++ f ++ "['argPackAdvance'];\n";+ e = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ h ++ ('var obj = new constructor(' ++ e ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(vc, g, fc);+ wc[b] = e;+ }+ return e(a, c, d);+ },+ v: function () {+ x();+ },+ P: function () {+ u('missing function: aom_codec_av1_dx');+ x(-1);+ },+ g: function (a, b) {+ X(a, b || 1);+ throw 'longjmp';+ },+ I: function (a, b, c) {+ B.copyWithin(a, b, b + c);+ },+ j: function (a) {+ a >>>= 0;+ var b = B.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ z.grow((Math.min(2147483648, d) - F.byteLength + 65535) >>> 16);+ za(z.buffer);+ var e = 1;+ break a;+ } catch (f) {}+ e = void 0;+ }+ if (e) return !0;+ }+ return !1;+ },+ r: function (a) {+ try {+ var b = Qb(a);+ if (null === b.va) throw new L(8);+ b.Ja && (b.Ja = null);+ try {+ b.ma.close && b.ma.close(b);+ } catch (c) {+ throw c;+ } finally {+ mb[b.va] = null;+ }+ b.va = null;+ return 0;+ } catch (c) {+ return ('undefined' !== typeof P && c instanceof L) || x(c), c.ya;+ }+ },+ J: function (a, b, c, d) {+ try {+ a: {+ for (var e = Qb(a), f = (a = 0); f < c; f++) {+ var h = E[(b + (8 * f + 4)) >> 2],+ k = e,+ m = E[(b + 8 * f) >> 2],+ n = h,+ p = void 0,+ t = G;+ if (0 > n || 0 > p) throw new L(28);+ if (null === k.va) throw new L(8);+ if (1 === (k.flags & 2097155)) throw new L(8);+ if (16384 === (k.node.mode & 61440)) throw new L(31);+ if (!k.ma.read) throw new L(28);+ var v = 'undefined' !== typeof p;+ if (!v) p = k.position;+ else if (!k.seekable) throw new L(70);+ var w = k.ma.read(k, t, m, n, p);+ v || (k.position += w);+ var q = w;+ if (0 > q) {+ var D = -1;+ break a;+ }+ a += q;+ if (q < h) break;+ }+ D = a;+ }+ E[d >> 2] = D;+ return 0;+ } catch (y) {+ return ('undefined' !== typeof P && y instanceof L) || x(y), y.ya;+ }+ },+ E: function (a, b, c, d, e) {+ try {+ var f = Qb(a);+ a = 4294967296 * c + (b >>> 0);+ if (-9007199254740992 >= a || 9007199254740992 <= a) return -61;+ Ib(f, a, d);+ Qa = [+ f.position >>> 0,+ ((K = f.position),+ 1 <= +Ga(K)+ ? 0 < K+ ? (Ja(+Ia(K / 4294967296), 4294967295) | 0) >>> 0+ : ~~+Ha((K - +(~~K >>> 0)) / 4294967296) >>> 0+ : 0),+ ];+ E[e >> 2] = Qa[0];+ E[(e + 4) >> 2] = Qa[1];+ f.Ja && 0 === a && 0 === d && (f.Ja = null);+ return 0;+ } catch (h) {+ return ('undefined' !== typeof P && h instanceof L) || x(h), h.ya;+ }+ },+ q: function (a, b, c, d) {+ try {+ a: {+ for (var e = Qb(a), f = (a = 0); f < c; f++) {+ var h = e,+ k = E[(b + 8 * f) >> 2],+ m = E[(b + (8 * f + 4)) >> 2],+ n = void 0,+ p = G;+ if (0 > m || 0 > n) throw new L(28);+ if (null === h.va) throw new L(8);+ if (0 === (h.flags & 2097155)) throw new L(8);+ if (16384 === (h.node.mode & 61440)) throw new L(31);+ if (!h.ma.write) throw new L(28);+ h.seekable && h.flags & 1024 && Ib(h, 0, 2);+ var t = 'undefined' !== typeof n;+ if (!t) n = h.position;+ else if (!h.seekable) throw new L(70);+ var v = h.ma.write(h, p, k, m, n, void 0);+ t || (h.position += v);+ try {+ if (h.path && qb.onWriteToFile) qb.onWriteToFile(h.path);+ } catch (D) {+ u(+ "FS.trackingDelegate['onWriteToFile']('" ++ h.path ++ "') threw an exception: " ++ D.message,+ );+ }+ var w = v;+ if (0 > w) {+ var q = -1;+ break a;+ }+ a += w;+ }+ q = a;+ }+ E[d >> 2] = q;+ return 0;+ } catch (D) {+ return ('undefined' !== typeof P && D instanceof L) || x(D), D.ya;+ }+ },+ d: function () {+ return fa | 0;+ },+ k: Ac,+ f: Bc,+ o: Cc,+ G: Dc,+ C: Ec,+ B: Fc,+ D: Gc,+ m: Hc,+ l: Ic,+ e: Jc,+ a: z,+ c: function (a) {+ fa = a | 0;+ },+ Q: function (a) {+ var b = (Date.now() / 1e3) | 0;+ a && (E[a >> 2] = b);+ return b;+ },+ };+ (function () {+ function a(e) {+ g.asm = e.exports;+ I--;+ g.monitorRunDependencies && g.monitorRunDependencies(I);+ 0 == I &&+ (null !== Ka && (clearInterval(Ka), (Ka = null)),+ La && ((e = La), (La = null), e()));+ }+ function b(e) {+ a(e.instance);+ }+ function c(e) {+ return Pa()+ .then(function (f) {+ return WebAssembly.instantiate(f, d);+ })+ .then(e, function (f) {+ u('failed to asynchronously prepare wasm: ' + f);+ x(f);+ });+ }+ var d = { a: Kc };+ I++;+ g.monitorRunDependencies && g.monitorRunDependencies(I);+ if (g.instantiateWasm)+ try {+ return g.instantiateWasm(d, a);+ } catch (e) {+ return (+ u('Module.instantiateWasm callback failed with error: ' + e), !1+ );+ }+ (function () {+ if (+ ha ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ Ma() ||+ 'function' !== typeof fetch+ )+ return c(b);+ fetch(J, { credentials: 'same-origin' }).then(function (e) {+ return WebAssembly.instantiateStreaming(e, d).then(b, function (f) {+ u('wasm streaming compile failed: ' + f);+ u('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })();+ return {};+ })();+ var Ra = (g.___wasm_call_ctors = function () {+ return (Ra = g.___wasm_call_ctors = g.asm.U).apply(null, arguments);+ }),+ jb = (g._malloc = function () {+ return (jb = g._malloc = g.asm.V).apply(null, arguments);+ }),+ W = (g._free = function () {+ return (W = g._free = g.asm.W).apply(null, arguments);+ }),+ qc = (g.___getTypeName = function () {+ return (qc = g.___getTypeName = g.asm.X).apply(null, arguments);+ });+ g.___embind_register_native_and_builtin_types = function () {+ return (g.___embind_register_native_and_builtin_types = g.asm.Y).apply(+ null,+ arguments,+ );+ };+ var zc = (g.___errno_location = function () {+ return (zc = g.___errno_location = g.asm.Z).apply(null, arguments);+ }),+ X = (g._setThrew = function () {+ return (X = g._setThrew = g.asm._).apply(null, arguments);+ }),+ Y = (g.stackSave = function () {+ return (Y = g.stackSave = g.asm.$).apply(null, arguments);+ }),+ Z = (g.stackRestore = function () {+ return (Z = g.stackRestore = g.asm.aa).apply(null, arguments);+ }),+ Lc = (g.dynCall_iiiijj = function () {+ return (Lc = g.dynCall_iiiijj = g.asm.ba).apply(null, arguments);+ }),+ Mc = (g.dynCall_ij = function () {+ return (Mc = g.dynCall_ij = g.asm.ca).apply(null, arguments);+ }),+ Nc = (g.dynCall_jjij = function () {+ return (Nc = g.dynCall_jjij = g.asm.da).apply(null, arguments);+ });+ g.dynCall_jiiiiiiiii = function () {+ return (g.dynCall_jiiiiiiiii = g.asm.ea).apply(null, arguments);+ };+ g.dynCall_jiji = function () {+ return (g.dynCall_jiji = g.asm.fa).apply(null, arguments);+ };+ g.dynCall_jiiiiiiii = function () {+ return (g.dynCall_jiiiiiiii = g.asm.ga).apply(null, arguments);+ };+ g.dynCall_jiiiiii = function () {+ return (g.dynCall_jiiiiii = g.asm.ha).apply(null, arguments);+ };+ g.dynCall_jiiiii = function () {+ return (g.dynCall_jiiiii = g.asm.ia).apply(null, arguments);+ };+ g.dynCall_iiijii = function () {+ return (g.dynCall_iiijii = g.asm.ja).apply(null, arguments);+ };+ function Bc(a, b, c) {+ var d = Y();+ try {+ return A.get(a)(b, c);+ } catch (e) {+ Z(d);+ if (e !== e + 0 && 'longjmp' !== e) throw e;+ X(1, 0);+ }+ }+ function Hc(a, b) {+ var c = Y();+ try {+ A.get(a)(b);+ } catch (d) {+ Z(c);+ if (d !== d + 0 && 'longjmp' !== d) throw d;+ X(1, 0);+ }+ }+ function Jc(a, b, c, d, e) {+ var f = Y();+ try {+ A.get(a)(b, c, d, e);+ } catch (h) {+ Z(f);+ if (h !== h + 0 && 'longjmp' !== h) throw h;+ X(1, 0);+ }+ }+ function Ic(a, b, c) {+ var d = Y();+ try {+ A.get(a)(b, c);+ } catch (e) {+ Z(d);+ if (e !== e + 0 && 'longjmp' !== e) throw e;+ X(1, 0);+ }+ }+ function Ac(a, b) {+ var c = Y();+ try {+ return A.get(a)(b);+ } catch (d) {+ Z(c);+ if (d !== d + 0 && 'longjmp' !== d) throw d;+ X(1, 0);+ }+ }+ function Dc(a, b, c, d, e, f, h, k, m, n) {+ var p = Y();+ try {+ return A.get(a)(b, c, d, e, f, h, k, m, n);+ } catch (t) {+ Z(p);+ if (t !== t + 0 && 'longjmp' !== t) throw t;+ X(1, 0);+ }+ }+ function Cc(a, b, c, d, e, f, h, k, m) {+ var n = Y();+ try {+ return A.get(a)(b, c, d, e, f, h, k, m);+ } catch (p) {+ Z(n);+ if (p !== p + 0 && 'longjmp' !== p) throw p;+ X(1, 0);+ }+ }+ function Gc(a, b, c, d, e, f) {+ var h = Y();+ try {+ return Nc(a, b, c, d, e, f);+ } catch (k) {+ Z(h);+ if (k !== k + 0 && 'longjmp' !== k) throw k;+ X(1, 0);+ }+ }+ function Ec(a, b, c, d, e, f, h, k) {+ var m = Y();+ try {+ return Lc(a, b, c, d, e, f, h, k);+ } catch (n) {+ Z(m);+ if (n !== n + 0 && 'longjmp' !== n) throw n;+ X(1, 0);+ }+ }+ function Fc(a, b, c) {+ var d = Y();+ try {+ return Mc(a, b, c);+ } catch (e) {+ Z(d);+ if (e !== e + 0 && 'longjmp' !== e) throw e;+ X(1, 0);+ }+ }+ var Oc;+ La = function Pc() {+ Oc || Qc();+ Oc || (La = Pc);+ };+ function Qc() {+ function a() {+ if (!Oc && ((Oc = !0), (g.calledRun = !0), !ia)) {+ g.noFSInit ||+ Kb ||+ ((Kb = !0),+ Jb(),+ (g.stdin = g.stdin),+ (g.stdout = g.stdout),+ (g.stderr = g.stderr),+ g.stdin ? Mb('stdin', g.stdin) : Fb('/dev/tty', '/dev/stdin'),+ g.stdout+ ? Mb('stdout', null, g.stdout)+ : Fb('/dev/tty', '/dev/stdout'),+ g.stderr+ ? Mb('stderr', null, g.stderr)+ : Fb('/dev/tty1', '/dev/stderr'),+ Gb('/dev/stdin', 'r'),+ Gb('/dev/stdout', 'w'),+ Gb('/dev/stderr', 'w'));+ Sa(Ca);+ pb = !1;+ Sa(Da);+ aa(g);+ if (g.onRuntimeInitialized) g.onRuntimeInitialized();+ if (g.postRun)+ for (+ 'function' == typeof g.postRun && (g.postRun = [g.postRun]);+ g.postRun.length;-var f;f||(f=typeof avif_enc !== 'undefined' ? avif_enc : {});var aa,ba;f.ready=new Promise(function(a,b){aa=a;ba=b});var ca={},m;for(m in f)f.hasOwnProperty(m)&&(ca[m]=f[m]);var da=!1,r=!1,ea=!1,fa=!1;da="object"===typeof window;r="function"===typeof importScripts;ea="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;fa=!da&&!ea&&!r;var u="",ha,ia,ja,ka;-if(ea)u=r?require("path").dirname(u)+"/":__dirname+"/",ha=function(a,b){ja||(ja=require("fs"));ka||(ka=require("path"));a=ka.normalize(a);return ja.readFileSync(a,b?null:"utf8")},ia=function(a){a=ha(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a},1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),process.on("uncaughtException",function(a){throw a;}),process.on("unhandledRejection",x),f.inspect=function(){return"[Emscripten Module object]"};else if(fa)"undefined"!=-typeof read&&(ha=function(a){return read(a)}),ia=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");assert("object"===typeof a);return a},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(da||r)r?u=self.location.href:document.currentScript&&(u=document.currentScript.src),_scriptDir&&(u=_scriptDir),0!==u.indexOf("blob:")?u=u.substr(0,-u.lastIndexOf("/")+1):u="",ha=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText},r&&(ia=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var la=f.print||console.log.bind(console),z=f.printErr||console.warn.bind(console);for(m in ca)ca.hasOwnProperty(m)&&(f[m]=ca[m]);ca=null;var ma=0,na;f.wasmBinary&&(na=f.wasmBinary);var noExitRuntime;f.noExitRuntime&&(noExitRuntime=f.noExitRuntime);-"object"!==typeof WebAssembly&&x("no native wasm support detected");var A,oa=new WebAssembly.Table({initial:901,maximum:901,element:"anyfunc"}),pa=!1;function assert(a,b){a||x("Assertion failed: "+b)}var qa="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;-function B(a,b,c){var d=b+c;for(c=b;a[c]&&!(c>=d);)++c;if(16<c-b&&a.subarray&&qa)return qa.decode(a.subarray(b,c));for(d="";b<c;){var e=a[b++];if(e&128){var g=a[b++]&63;if(192==(e&224))d+=String.fromCharCode((e&31)<<6|g);else{var h=a[b++]&63;e=224==(e&240)?(e&15)<<12|g<<6|h:(e&7)<<18|g<<12|h<<6|a[b++]&63;65536>e?d+=String.fromCharCode(e):(e-=65536,d+=String.fromCharCode(55296|e>>10,56320|e&1023))}}else d+=String.fromCharCode(e)}return d}-function sa(a,b,c,d){if(!(0<d))return 0;var e=c;d=c+d-1;for(var g=0;g<a.length;++g){var h=a.charCodeAt(g);if(55296<=h&&57343>=h){var k=a.charCodeAt(++g);h=65536+((h&1023)<<10)|k&1023}if(127>=h){if(c>=d)break;b[c++]=h}else{if(2047>=h){if(c+1>=d)break;b[c++]=192|h>>6}else{if(65535>=h){if(c+2>=d)break;b[c++]=224|h>>12}else{if(c+3>=d)break;b[c++]=240|h>>18;b[c++]=128|h>>12&63}b[c++]=128|h>>6&63}b[c++]=128|h&63}}b[c]=0;return c-e}-function ta(a){for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|a.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}return b}var ua="undefined"!==typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function va(a,b){var c=a>>1;for(var d=c+b/2;!(c>=d)&&wa[c];)++c;c<<=1;if(32<c-a&&ua)return ua.decode(C.subarray(a,c));c=0;for(d="";;){var e=E[a+2*c>>1];if(0==e||c==b/2)return d;++c;d+=String.fromCharCode(e)}}-function xa(a,b,c){void 0===c&&(c=2147483647);if(2>c)return 0;c-=2;var d=b;c=c<2*a.length?c/2:a.length;for(var e=0;e<c;++e)E[b>>1]=a.charCodeAt(e),b+=2;E[b>>1]=0;return b-d}function ya(a){return 2*a.length}function za(a,b){for(var c=0,d="";!(c>=b/4);){var e=F[a+4*c>>2];if(0==e)break;++c;65536<=e?(e-=65536,d+=String.fromCharCode(55296|e>>10,56320|e&1023)):d+=String.fromCharCode(e)}return d}-function Aa(a,b,c){void 0===c&&(c=2147483647);if(4>c)return 0;var d=b;c=d+c-4;for(var e=0;e<a.length;++e){var g=a.charCodeAt(e);if(55296<=g&&57343>=g){var h=a.charCodeAt(++e);g=65536+((g&1023)<<10)|h&1023}F[b>>2]=g;b+=4;if(b+4>c)break}F[b>>2]=0;return b-d}function Ba(a){for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);55296<=d&&57343>=d&&++c;b+=4}return b}var G,H,C,E,wa,F,I,Ca,Da;-function Ea(a){G=a;f.HEAP8=H=new Int8Array(a);f.HEAP16=E=new Int16Array(a);f.HEAP32=F=new Int32Array(a);f.HEAPU8=C=new Uint8Array(a);f.HEAPU16=wa=new Uint16Array(a);f.HEAPU32=I=new Uint32Array(a);f.HEAPF32=Ca=new Float32Array(a);f.HEAPF64=Da=new Float64Array(a)}var Fa=f.INITIAL_MEMORY||16777216;f.wasmMemory?A=f.wasmMemory:A=new WebAssembly.Memory({initial:Fa/65536,maximum:32768});A&&(G=A.buffer);Fa=G.byteLength;Ea(G);F[219592]=6121408;-function Ga(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b(f);else{var c=b.qb;"number"===typeof c?void 0===b.Ya?f.dynCall_v(c):f.dynCall_vi(c,b.Ya):c(void 0===b.Ya?null:b.Ya)}}}var Ha=[],Ia=[],Ja=[],Ka=[];function La(){var a=f.preRun.shift();Ha.unshift(a)}var Ma=Math.abs,Na=Math.ceil,Oa=Math.floor,Pa=Math.min,J=0,Qa=null,Ra=null;f.preloadedImages={};f.preloadedAudios={};-function x(a){if(f.onAbort)f.onAbort(a);z(a);pa=!0;a=new WebAssembly.RuntimeError("abort("+a+"). Build with -s ASSERTIONS=1 for more info.");ba(a);throw a;}function Sa(a){var b=K;return String.prototype.startsWith?b.startsWith(a):0===b.indexOf(a)}function Ta(){return Sa("data:application/octet-stream;base64,")}var K="avif_enc.wasm";if(!Ta()){var Ua=K;K=f.locateFile?f.locateFile(Ua,u):u+Ua}-function Va(){try{if(na)return new Uint8Array(na);if(ia)return ia(K);throw"both async and sync fetching of the wasm failed";}catch(a){x(a)}}function Wa(){return na||!da&&!r||"function"!==typeof fetch||Sa("file://")?new Promise(function(a){a(Va())}):fetch(K,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+K+"'";return a.arrayBuffer()}).catch(function(){return Va()})}var Xa,Ya;Ia.push({qb:function(){Za()}});function $a(){return 0<$a.Va}-function ab(a,b){for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");return a}function bb(a){var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=ab(a.split("/").filter(function(d){return!!d}),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a}-function cb(a){var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&(b=b.substr(0,b.length-1));return a+b}function db(a){if("/"===a)return"/";var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)}-function eb(){for(var a="",b=!1,c=arguments.length-1;-1<=c&&!b;c--){b=0<=c?arguments[c]:"/";if("string"!==typeof b)throw new TypeError("Arguments to path.resolve must be strings");if(!b)return"";a=b+"/"+a;b="/"===b.charAt(0)}a=ab(a.split("/").filter(function(d){return!!d}),!b).join("/");return(b?"/":"")+a||"."}var fb=[];function gb(a,b){fb[a]={input:[],output:[],Ua:b};hb(a,ib)}-var ib={open:function(a){var b=fb[a.node.rdev];if(!b)throw new L(43);a.tty=b;a.seekable=!1},close:function(a){a.tty.Ua.flush(a.tty)},flush:function(a){a.tty.Ua.flush(a.tty)},read:function(a,b,c,d){if(!a.tty||!a.tty.Ua.jb)throw new L(60);for(var e=0,g=0;g<d;g++){try{var h=a.tty.Ua.jb(a.tty)}catch(k){throw new L(29);}if(void 0===h&&0===e)throw new L(6);if(null===h||void 0===h)break;e++;b[c+g]=h}e&&(a.node.timestamp=Date.now());return e},write:function(a,b,c,d){if(!a.tty||!a.tty.Ua.$a)throw new L(60);-try{for(var e=0;e<d;e++)a.tty.Ua.$a(a.tty,b[c+e])}catch(g){throw new L(29);}d&&(a.node.timestamp=Date.now());return e}},jb={jb:function(a){if(!a.input.length){var b=null;if(ea){var c=Buffer.Va?Buffer.Va(256):new Buffer(256),d=0;try{d=ja.readSync(process.stdin.fd,c,0,256,null)}catch(e){if(-1!=e.toString().indexOf("EOF"))d=0;else throw e;}0<d?b=c.slice(0,d).toString("utf-8"):b=null}else"undefined"!=typeof window&&"function"==typeof window.prompt?(b=window.prompt("Input: "),null!==b&&(b+="\n")):"function"==-typeof readline&&(b=readline(),null!==b&&(b+="\n"));if(!b)return null;c=Array(ta(b)+1);b=sa(b,c,0,c.length);c.length=b;a.input=c}return a.input.shift()},$a:function(a,b){null===b||10===b?(la(B(a.output,0)),a.output=[]):0!=b&&a.output.push(b)},flush:function(a){a.output&&0<a.output.length&&(la(B(a.output,0)),a.output=[])}},kb={$a:function(a,b){null===b||10===b?(z(B(a.output,0)),a.output=[]):0!=b&&a.output.push(b)},flush:function(a){a.output&&0<a.output.length&&(z(B(a.output,0)),a.output=[])}},M={Ma:null,-Qa:function(){return M.createNode(null,"/",16895,0)},createNode:function(a,b,c,d){if(24576===(c&61440)||4096===(c&61440))throw new L(63);M.Ma||(M.Ma={dir:{node:{Ra:M.Ja.Ra,Oa:M.Ja.Oa,lookup:M.Ja.lookup,Wa:M.Ja.Wa,rename:M.Ja.rename,unlink:M.Ja.unlink,rmdir:M.Ja.rmdir,readdir:M.Ja.readdir,symlink:M.Ja.symlink},stream:{Ta:M.Ka.Ta}},file:{node:{Ra:M.Ja.Ra,Oa:M.Ja.Oa},stream:{Ta:M.Ka.Ta,read:M.Ka.read,write:M.Ka.write,cb:M.Ka.cb,kb:M.Ka.kb,mb:M.Ka.mb}},link:{node:{Ra:M.Ja.Ra,Oa:M.Ja.Oa,readlink:M.Ja.readlink},-stream:{}},eb:{node:{Ra:M.Ja.Ra,Oa:M.Ja.Oa},stream:lb}});c=mb(a,b,c,d);16384===(c.mode&61440)?(c.Ja=M.Ma.dir.node,c.Ka=M.Ma.dir.stream,c.Ia={}):32768===(c.mode&61440)?(c.Ja=M.Ma.file.node,c.Ka=M.Ma.file.stream,c.La=0,c.Ia=null):40960===(c.mode&61440)?(c.Ja=M.Ma.link.node,c.Ka=M.Ma.link.stream):8192===(c.mode&61440)&&(c.Ja=M.Ma.eb.node,c.Ka=M.Ma.eb.stream);c.timestamp=Date.now();a&&(a.Ia[b]=c);return c},Hb:function(a){if(a.Ia&&a.Ia.subarray){for(var b=[],c=0;c<a.La;++c)b.push(a.Ia[c]);return b}return a.Ia},-Ib:function(a){return a.Ia?a.Ia.subarray?a.Ia.subarray(0,a.La):new Uint8Array(a.Ia):new Uint8Array(0)},fb:function(a,b){var c=a.Ia?a.Ia.length:0;c>=b||(b=Math.max(b,c*(1048576>c?2:1.125)>>>0),0!=c&&(b=Math.max(b,256)),c=a.Ia,a.Ia=new Uint8Array(b),0<a.La&&a.Ia.set(c.subarray(0,a.La),0))},Ab:function(a,b){if(a.La!=b)if(0==b)a.Ia=null,a.La=0;else{if(!a.Ia||a.Ia.subarray){var c=a.Ia;a.Ia=new Uint8Array(b);c&&a.Ia.set(c.subarray(0,Math.min(b,a.La)))}else if(a.Ia||(a.Ia=[]),a.Ia.length>b)a.Ia.length=b;-else for(;a.Ia.length<b;)a.Ia.push(0);a.La=b}},Ja:{Ra:function(a){var b={};b.dev=8192===(a.mode&61440)?a.id:1;b.ino=a.id;b.mode=a.mode;b.nlink=1;b.uid=0;b.gid=0;b.rdev=a.rdev;16384===(a.mode&61440)?b.size=4096:32768===(a.mode&61440)?b.size=a.La:40960===(a.mode&61440)?b.size=a.link.length:b.size=0;b.atime=new Date(a.timestamp);b.mtime=new Date(a.timestamp);b.ctime=new Date(a.timestamp);b.ob=4096;b.blocks=Math.ceil(b.size/b.ob);return b},Oa:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&-(a.timestamp=b.timestamp);void 0!==b.size&&M.Ab(a,b.size)},lookup:function(){throw nb[44];},Wa:function(a,b,c,d){return M.createNode(a,b,c,d)},rename:function(a,b,c){if(16384===(a.mode&61440)){try{var d=ob(b,c)}catch(g){}if(d)for(var e in d.Ia)throw new L(55);}delete a.parent.Ia[a.name];a.name=c;b.Ia[c]=a;a.parent=b},unlink:function(a,b){delete a.Ia[b]},rmdir:function(a,b){var c=ob(a,b),d;for(d in c.Ia)throw new L(55);delete a.Ia[b]},readdir:function(a){var b=[".",".."],c;for(c in a.Ia)a.Ia.hasOwnProperty(c)&&-b.push(c);return b},symlink:function(a,b,c){a=M.createNode(a,b,41471,0);a.link=c;return a},readlink:function(a){if(40960!==(a.mode&61440))throw new L(28);return a.link}},Ka:{read:function(a,b,c,d,e){var g=a.node.Ia;if(e>=a.node.La)return 0;a=Math.min(a.node.La-e,d);if(8<a&&g.subarray)b.set(g.subarray(e,e+a),c);else for(d=0;d<a;d++)b[c+d]=g[e+d];return a},write:function(a,b,c,d,e,g){b.buffer===H.buffer&&(g=!1);if(!d)return 0;a=a.node;a.timestamp=Date.now();if(b.subarray&&(!a.Ia||a.Ia.subarray)){if(g)return a.Ia=-b.subarray(c,c+d),a.La=d;if(0===a.La&&0===e)return a.Ia=b.slice(c,c+d),a.La=d;if(e+d<=a.La)return a.Ia.set(b.subarray(c,c+d),e),d}M.fb(a,e+d);if(a.Ia.subarray&&b.subarray)a.Ia.set(b.subarray(c,c+d),e);else for(g=0;g<d;g++)a.Ia[e+g]=b[c+g];a.La=Math.max(a.La,e+d);return d},Ta:function(a,b,c){1===c?b+=a.position:2===c&&32768===(a.node.mode&61440)&&(b+=a.node.La);if(0>b)throw new L(28);return b},cb:function(a,b,c){M.fb(a.node,b+c);a.node.La=Math.max(a.node.La,b+c)},kb:function(a,b,c,d,e,g){assert(0===-b);if(32768!==(a.node.mode&61440))throw new L(43);a=a.node.Ia;if(g&2||a.buffer!==G){if(0<d||d+c<a.length)a.subarray?a=a.subarray(d,d+c):a=Array.prototype.slice.call(a,d,d+c);d=!0;g=16384*Math.ceil(c/16384);for(b=pb(g);c<g;)H[b+c++]=0;c=b;if(!c)throw new L(48);H.set(a,c)}else d=!1,c=a.byteOffset;return{Mb:c,Gb:d}},mb:function(a,b,c,d,e){if(32768!==(a.node.mode&61440))throw new L(43);if(e&2)return 0;M.Ka.write(a,b,0,d,c,!1);return 0}}},qb=null,rb={},sb=[],tb=1,ub=null,vb=!0,wb={},L=null,nb={};-function N(a,b){a=eb("/",a);b=b||{};if(!a)return{path:"",node:null};var c={ib:!0,ab:0},d;for(d in c)void 0===b[d]&&(b[d]=c[d]);if(8<b.ab)throw new L(32);a=ab(a.split("/").filter(function(h){return!!h}),!1);var e=qb;c="/";for(d=0;d<a.length;d++){var g=d===a.length-1;if(g&&b.parent)break;e=ob(e,a[d]);c=bb(c+"/"+a[d]);e.Xa&&(!g||g&&b.ib)&&(e=e.Xa.root);if(!g||b.hb)for(g=0;40960===(e.mode&61440);)if(e=xb(c),c=eb(cb(c),e),e=N(c,{ab:b.ab}).node,40<g++)throw new L(32);}return{path:c,node:e}}-function yb(a){for(var b;;){if(a===a.parent)return a=a.Qa.lb,b?"/"!==a[a.length-1]?a+"/"+b:a+b:a;b=b?a.name+"/"+b:a.name;a=a.parent}}function zb(a,b){for(var c=0,d=0;d<b.length;d++)c=(c<<5)-c+b.charCodeAt(d)|0;return(a+c>>>0)%ub.length}function ob(a,b){var c;if(c=(c=Ab(a,"x"))?c:a.Ja.lookup?0:2)throw new L(c,a);for(c=ub[zb(a.id,b)];c;c=c.xb){var d=c.name;if(c.parent.id===a.id&&d===b)return c}return a.Ja.lookup(a,b)}-function mb(a,b,c,d){a=new Bb(a,b,c,d);b=zb(a.parent.id,a.name);a.xb=ub[b];return ub[b]=a}var Cb={r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218};function Db(a){var b=["r","w","rw"][a&3];a&512&&(b+="w");return b}function Ab(a,b){if(vb)return 0;if(-1===b.indexOf("r")||a.mode&292){if(-1!==b.indexOf("w")&&!(a.mode&146)||-1!==b.indexOf("x")&&!(a.mode&73))return 2}else return 2;return 0}-function Eb(a,b){try{return ob(a,b),20}catch(c){}return Ab(a,"wx")}function Fb(a){var b=4096;for(a=a||0;a<=b;a++)if(!sb[a])return a;throw new L(33);}function Gb(a,b){Hb||(Hb=function(){},Hb.prototype={});var c=new Hb,d;for(d in a)c[d]=a[d];a=c;b=Fb(b);a.fd=b;return sb[b]=a}var lb={open:function(a){a.Ka=rb[a.node.rdev].Ka;a.Ka.open&&a.Ka.open(a)},Ta:function(){throw new L(70);}};function hb(a,b){rb[a]={Ka:b}}-function Ib(a,b){var c="/"===b,d=!b;if(c&&qb)throw new L(10);if(!c&&!d){var e=N(b,{ib:!1});b=e.path;e=e.node;if(e.Xa)throw new L(10);if(16384!==(e.mode&61440))throw new L(54);}b={type:a,Lb:{},lb:b,wb:[]};a=a.Qa(b);a.Qa=b;b.root=a;c?qb=a:e&&(e.Xa=b,e.Qa&&e.Qa.wb.push(b))}function Jb(a,b,c){var d=N(a,{parent:!0}).node;a=db(a);if(!a||"."===a||".."===a)throw new L(28);var e=Eb(d,a);if(e)throw new L(e);if(!d.Ja.Wa)throw new L(63);return d.Ja.Wa(d,a,b,c)}function O(a){Jb(a,16895,0)}-function Kb(a,b,c){"undefined"===typeof c&&(c=b,b=438);Jb(a,b|8192,c)}function Lb(a,b){if(!eb(a))throw new L(44);var c=N(b,{parent:!0}).node;if(!c)throw new L(44);b=db(b);var d=Eb(c,b);if(d)throw new L(d);if(!c.Ja.symlink)throw new L(63);c.Ja.symlink(c,b,a)}function xb(a){a=N(a).node;if(!a)throw new L(44);if(!a.Ja.readlink)throw new L(28);return eb(yb(a.parent),a.Ja.readlink(a))}-function Mb(a,b,c,d){if(""===a)throw new L(44);if("string"===typeof b){var e=Cb[b];if("undefined"===typeof e)throw Error("Unknown file open mode: "+b);b=e}c=b&64?("undefined"===typeof c?438:c)&4095|32768:0;if("object"===typeof a)var g=a;else{a=bb(a);try{g=N(a,{hb:!(b&131072)}).node}catch(k){}}e=!1;if(b&64)if(g){if(b&128)throw new L(20);}else g=Jb(a,c,0),e=!0;if(!g)throw new L(44);8192===(g.mode&61440)&&(b&=-513);if(b&65536&&16384!==(g.mode&61440))throw new L(54);if(!e&&(c=g?40960===(g.mode&61440)?-32:16384===(g.mode&61440)&&("r"!==Db(b)||b&512)?31:Ab(g,Db(b)):44))throw new L(c);if(b&512){c=g;var h;"string"===typeof c?h=N(c,{hb:!0}).node:h=c;if(!h.Ja.Oa)throw new L(63);if(16384===(h.mode&61440))throw new L(31);if(32768!==(h.mode&61440))throw new L(28);if(c=Ab(h,"w"))throw new L(c);h.Ja.Oa(h,{size:0,timestamp:Date.now()})}b&=-131713;d=Gb({node:g,path:yb(g),flags:b,seekable:!0,position:0,Ka:g.Ka,Fb:[],error:!1},d);d.Ka.open&&d.Ka.open(d);!f.logReadFiles||b&1||(Nb||(Nb={}),a in Nb||(Nb[a]=1,z("FS.trackingDelegate error on read file: "+-a)));try{wb.onOpenFile&&(g=0,1!==(b&2097155)&&(g|=1),0!==(b&2097155)&&(g|=2),wb.onOpenFile(a,g))}catch(k){z("FS.trackingDelegate['onOpenFile']('"+a+"', flags) threw an exception: "+k.message)}return d}function Ob(a,b,c){if(null===a.fd)throw new L(8);if(!a.seekable||!a.Ka.Ta)throw new L(70);if(0!=c&&1!=c&&2!=c)throw new L(28);a.position=a.Ka.Ta(a,b,c);a.Fb=[]}-function Pb(){L||(L=function(a,b){this.node=b;this.Bb=function(c){this.Sa=c};this.Bb(a);this.message="FS error"},L.prototype=Error(),L.prototype.constructor=L,[44].forEach(function(a){nb[a]=new L(a);nb[a].stack="<generic error, no stack>"}))}var Qb;function Rb(a,b){var c=0;a&&(c|=365);b&&(c|=146);return c}-function Sb(a,b,c){a=bb("/dev/"+a);var d=Rb(!!b,!!c);Tb||(Tb=64);var e=Tb++<<8|0;hb(e,{open:function(g){g.seekable=!1},close:function(){c&&c.buffer&&c.buffer.length&&c(10)},read:function(g,h,k,l){for(var n=0,p=0;p<l;p++){try{var t=b()}catch(v){throw new L(29);}if(void 0===t&&0===n)throw new L(6);if(null===t||void 0===t)break;n++;h[k+p]=t}n&&(g.node.timestamp=Date.now());return n},write:function(g,h,k,l){for(var n=0;n<l;n++)try{c(h[k+n])}catch(p){throw new L(29);}l&&(g.node.timestamp=Date.now());return n}});-Kb(a,d,e)}var Tb,Q={},Hb,Nb,Ub=void 0;function Vb(){Ub+=4;return F[Ub-4>>2]}function Wb(a){a=sb[a];if(!a)throw new L(8);return a}var Xb={};function Yb(a){for(;a.length;){var b=a.pop();a.pop()(b)}}function Zb(a){return this.fromWireType(I[a>>2])}var $b={},R={},ac={};function bc(a){if(void 0===a)return"_unknown";a=a.replace(/[^a-zA-Z0-9_]/g,"$");var b=a.charCodeAt(0);return 48<=b&&57>=b?"_"+a:a}-function cc(a,b){a=bc(a);return(new Function("body","return function "+a+'() {\n "use strict"; return body.apply(this, arguments);\n};\n'))(b)}function dc(a){var b=Error,c=cc(a,function(d){this.name=a;this.message=d;d=Error(d).stack;void 0!==d&&(this.stack=this.toString()+"\n"+d.replace(/^Error(:[^\n]*)?\n/,""))});c.prototype=Object.create(b.prototype);c.prototype.constructor=c;c.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message};return c}-var ec=void 0;function fc(a,b,c){function d(k){k=c(k);if(k.length!==a.length)throw new ec("Mismatched type converter count");for(var l=0;l<a.length;++l)S(a[l],k[l])}a.forEach(function(k){ac[k]=b});var e=Array(b.length),g=[],h=0;b.forEach(function(k,l){R.hasOwnProperty(k)?e[l]=R[k]:(g.push(k),$b.hasOwnProperty(k)||($b[k]=[]),$b[k].push(function(){e[l]=R[k];++h;h===g.length&&d(e)}))});0===g.length&&d(e)}-function hc(a){switch(a){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+a);}}var ic=void 0;function T(a){for(var b="";C[a];)b+=ic[C[a++]];return b}var jc=void 0;function U(a){throw new jc(a);}-function S(a,b,c){c=c||{};if(!("argPackAdvance"in b))throw new TypeError("registerType registeredInstance requires argPackAdvance");var d=b.name;a||U('type "'+d+'" must have a positive integer typeid pointer');if(R.hasOwnProperty(a)){if(c.ub)return;U("Cannot register type '"+d+"' twice")}R[a]=b;delete ac[a];$b.hasOwnProperty(a)&&(b=$b[a],delete $b[a],b.forEach(function(e){e()}))}var kc=[],V=[{},{value:void 0},{value:null},{value:!0},{value:!1}];-function lc(a){4<a&&0===--V[a].bb&&(V[a]=void 0,kc.push(a))}function mc(a){switch(a){case void 0:return 1;case null:return 2;case !0:return 3;case !1:return 4;default:var b=kc.length?kc.pop():V.length;V[b]={bb:1,value:a};return b}}function nc(a){if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a}-function oc(a,b){switch(b){case 2:return function(c){return this.fromWireType(Ca[c>>2])};case 3:return function(c){return this.fromWireType(Da[c>>3])};default:throw new TypeError("Unknown float type: "+a);}}function pc(a){var b=Function;if(!(b instanceof Function))throw new TypeError("new_ called with constructor type "+typeof b+" which is not a function");var c=cc(b.name||"unknownFunctionName",function(){});c.prototype=b.prototype;c=new c;a=b.apply(c,a);return a instanceof Object?a:c}-function qc(a,b){var c=f;if(void 0===c[a].Na){var d=c[a];c[a]=function(){c[a].Na.hasOwnProperty(arguments.length)||U("Function '"+b+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+c[a].Na+")!");return c[a].Na[arguments.length].apply(this,arguments)};c[a].Na=[];c[a].Na[d.nb]=d}}-function rc(a,b,c){f.hasOwnProperty(a)?((void 0===c||void 0!==f[a].Na&&void 0!==f[a].Na[c])&&U("Cannot register public name '"+a+"' twice"),qc(a,a),f.hasOwnProperty(c)&&U("Cannot register multiple overloads of a function with the same number of arguments ("+c+")!"),f[a].Na[c]=b):(f[a]=b,void 0!==c&&(f[a].Kb=c))}function sc(a,b){for(var c=[],d=0;d<a;d++)c.push(F[(b>>2)+d]);return c}-function tc(a,b){a=T(a);var c=f["dynCall_"+a];for(var d=[],e=1;e<a.length;++e)d.push("a"+e);e="return function dynCall_"+(a+"_"+b)+"("+d.join(", ")+") {\n";e+=" return dynCall(rawFunction"+(d.length?", ":"")+d.join(", ")+");\n";c=(new Function("dynCall","rawFunction",e+"};\n"))(c,b);"function"!==typeof c&&U("unknown function pointer with signature "+a+": "+b);return c}var uc=void 0;function vc(a){a=wc(a);var b=T(a);W(a);return b}-function xc(a,b){function c(g){e[g]||R[g]||(ac[g]?ac[g].forEach(c):(d.push(g),e[g]=!0))}var d=[],e={};b.forEach(c);throw new uc(a+": "+d.map(vc).join([", "]));}function yc(a,b,c){switch(b){case 0:return c?function(d){return H[d]}:function(d){return C[d]};case 1:return c?function(d){return E[d>>1]}:function(d){return wa[d>>1]};case 2:return c?function(d){return F[d>>2]}:function(d){return I[d>>2]};default:throw new TypeError("Unknown integer type: "+a);}}var zc={};-function Ac(){return"object"===typeof globalThis?globalThis:Function("return this")()}function Bc(a,b){var c=R[a];void 0===c&&U(b+" has unknown type "+vc(a));return c}var Cc={};function Bb(a,b,c,d){a||(a=this);this.parent=a;this.Qa=a.Qa;this.Xa=null;this.id=tb++;this.name=b;this.mode=c;this.Ja={};this.Ka={};this.rdev=d}-Object.defineProperties(Bb.prototype,{read:{get:function(){return 365===(this.mode&365)},set:function(a){a?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146===(this.mode&146)},set:function(a){a?this.mode|=146:this.mode&=-147}}});Pb();ub=Array(4096);Ib(M,"/");O("/tmp");O("/home");O("/home/web_user");-(function(){O("/dev");hb(259,{read:function(){return 0},write:function(d,e,g,h){return h}});Kb("/dev/null",259);gb(1280,jb);gb(1536,kb);Kb("/dev/tty",1280);Kb("/dev/tty1",1536);if("object"===typeof crypto&&"function"===typeof crypto.getRandomValues){var a=new Uint8Array(1);var b=function(){crypto.getRandomValues(a);return a[0]}}else if(ea)try{var c=require("crypto");b=function(){return c.randomBytes(1)[0]}}catch(d){}b||(b=function(){x("random_device")});Sb("random",b);Sb("urandom",b);O("/dev/shm");-O("/dev/shm/tmp")})();O("/proc");O("/proc/self");O("/proc/self/fd");Ib({Qa:function(){var a=mb("/proc/self","fd",16895,73);a.Ja={lookup:function(b,c){var d=sb[+c];if(!d)throw new L(8);b={parent:null,Qa:{lb:"fake"},Ja:{readlink:function(){return d.path}}};return b.parent=b}};return a}},"/proc/self/fd");ec=f.InternalError=dc("InternalError");for(var Dc=Array(256),Ec=0;256>Ec;++Ec)Dc[Ec]=String.fromCharCode(Ec);ic=Dc;jc=f.BindingError=dc("BindingError");-f.count_emval_handles=function(){for(var a=0,b=5;b<V.length;++b)void 0!==V[b]&&++a;return a};f.get_first_emval=function(){for(var a=5;a<V.length;++a)if(void 0!==V[a])return V[a];return null};uc=f.UnboundTypeError=dc("UnboundTypeError");-var Qc={w:function(a){return pb(a)},T:function(){},R:function(a){"uncaught_exception"in $a?$a.Va++:$a.Va=1;throw a;},p:function(a,b,c){Ub=c;try{var d=Wb(a);switch(b){case 0:var e=Vb();return 0>e?-28:Mb(d.path,d.flags,0,e).fd;case 1:case 2:return 0;case 3:return d.flags;case 4:return e=Vb(),d.flags|=e,0;case 12:return e=Vb(),E[e+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return F[Fc()>>2]=28,-1;default:return-28}}catch(g){return"undefined"!==typeof Q&&g instanceof L||x(g),-g.Sa}},-K:function(a,b,c){Ub=c;try{var d=Wb(a);switch(b){case 21509:case 21505:return d.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return d.tty?0:-59;case 21519:if(!d.tty)return-59;var e=Vb();return F[e>>2]=0;case 21520:return d.tty?-28:-59;case 21531:a=e=Vb();if(!d.Ka.vb)throw new L(59);return d.Ka.vb(d,b,a);case 21523:return d.tty?0:-59;case 21524:return d.tty?0:-59;default:x("bad ioctl syscall "+b)}}catch(g){return"undefined"!==typeof Q&&g instanceof L||x(g),-g.Sa}},L:function(a,-b,c){Ub=c;try{var d=a?B(C,a,void 0):"",e=Vb();return Mb(d,b,e).fd}catch(g){return"undefined"!==typeof Q&&g instanceof L||x(g),-g.Sa}},A:function(a){var b=Xb[a];delete Xb[a];var c=b.yb,d=b.zb,e=b.gb,g=e.map(function(h){return h.tb}).concat(e.map(function(h){return h.Db}));fc([a],g,function(h){var k={};e.forEach(function(l,n){var p=h[n],t=l.rb,v=l.sb,w=h[n+e.length],q=l.Cb,D=l.Eb;k[l.pb]={read:function(y){return p.fromWireType(t(v,y))},write:function(y,P){var ra=[];q(D,y,w.toWireType(ra,P));Yb(ra)}}});-return[{name:b.name,fromWireType:function(l){var n={},p;for(p in k)n[p]=k[p].read(l);d(l);return n},toWireType:function(l,n){for(var p in k)if(!(p in n))throw new TypeError('Missing field: "'+p+'"');var t=c();for(p in k)k[p].write(t,n[p]);null!==l&&l.push(d,t);return t},argPackAdvance:8,readValueFromPointer:Zb,Pa:d}]})},N:function(a,b,c,d,e){var g=hc(c);b=T(b);S(a,{name:b,fromWireType:function(h){return!!h},toWireType:function(h,k){return k?d:e},argPackAdvance:8,readValueFromPointer:function(h){if(1===-c)var k=H;else if(2===c)k=E;else if(4===c)k=F;else throw new TypeError("Unknown boolean type size: "+b);return this.fromWireType(k[h>>g])},Pa:null})},M:function(a,b){b=T(b);S(a,{name:b,fromWireType:function(c){var d=V[c].value;lc(c);return d},toWireType:function(c,d){return mc(d)},argPackAdvance:8,readValueFromPointer:Zb,Pa:null})},s:function(a,b,c){c=hc(c);b=T(b);S(a,{name:b,fromWireType:function(d){return d},toWireType:function(d,e){if("number"!==typeof e&&"boolean"!==typeof e)throw new TypeError('Cannot convert "'+-nc(e)+'" to '+this.name);return e},argPackAdvance:8,readValueFromPointer:oc(b,c),Pa:null})},y:function(a,b,c,d,e,g){var h=sc(b,c);a=T(a);e=tc(d,e);rc(a,function(){xc("Cannot call "+a+" due to unbound types",h)},b-1);fc([],h,function(k){var l=[k[0],null].concat(k.slice(1)),n=k=a,p=e,t=l.length;2>t&&U("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var v=null!==l[1]&&!1,w=!1,q=1;q<l.length;++q)if(null!==l[q]&&void 0===l[q].Pa){w=!0;break}var D="void"!==l[0].name,-y="",P="";for(q=0;q<t-2;++q)y+=(0!==q?", ":"")+"arg"+q,P+=(0!==q?", ":"")+"arg"+q+"Wired";n="return function "+bc(n)+"("+y+") {\nif (arguments.length !== "+(t-2)+") {\nthrowBindingError('function "+n+" called with ' + arguments.length + ' arguments, expected "+(t-2)+" args!');\n}\n";w&&(n+="var destructors = [];\n");var ra=w?"destructors":"null";y="throwBindingError invoker fn runDestructors retType classParam".split(" ");p=[U,p,g,Yb,l[0],l[1]];v&&(n+="var thisWired = classParam.toWireType("+ra+", this);\n");-for(q=0;q<t-2;++q)n+="var arg"+q+"Wired = argType"+q+".toWireType("+ra+", arg"+q+"); // "+l[q+2].name+"\n",y.push("argType"+q),p.push(l[q+2]);v&&(P="thisWired"+(0<P.length?", ":"")+P);n+=(D?"var rv = ":"")+"invoker(fn"+(0<P.length?", ":"")+P+");\n";if(w)n+="runDestructors(destructors);\n";else for(q=v?1:2;q<l.length;++q)t=1===q?"thisWired":"arg"+(q-2)+"Wired",null!==l[q].Pa&&(n+=t+"_dtor("+t+"); // "+l[q].name+"\n",y.push(t+"_dtor"),p.push(l[q].Pa));D&&(n+="var ret = retType.fromWireType(rv);\nreturn ret;\n");-y.push(n+"}\n");l=pc(y).apply(null,p);q=b-1;if(!f.hasOwnProperty(k))throw new ec("Replacing nonexistant public symbol");void 0!==f[k].Na&&void 0!==q?f[k].Na[q]=l:(f[k]=l,f[k].nb=q);return[]})},i:function(a,b,c,d,e){function g(n){return n}b=T(b);-1===e&&(e=4294967295);var h=hc(c);if(0===d){var k=32-8*c;g=function(n){return n<<k>>>k}}var l=-1!=b.indexOf("unsigned");S(a,{name:b,fromWireType:g,toWireType:function(n,p){if("number"!==typeof p&&"boolean"!==typeof p)throw new TypeError('Cannot convert "'+-nc(p)+'" to '+this.name);if(p<d||p>e)throw new TypeError('Passing a number "'+nc(p)+'" from JS side to C/C++ side to an argument of type "'+b+'", which is outside the valid range ['+d+", "+e+"]!");return l?p>>>0:p|0},argPackAdvance:8,readValueFromPointer:yc(b,h,0!==d),Pa:null})},f:function(a,b,c){function d(g){g>>=2;var h=I;return new e(G,h[g+1],h[g])}var e=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];c=T(c);S(a,{name:c,fromWireType:d,argPackAdvance:8,-readValueFromPointer:d},{ub:!0})},u:function(a,b){b=T(b);var c="std::string"===b;S(a,{name:b,fromWireType:function(d){var e=I[d>>2];if(c)for(var g=d+4,h=0;h<=e;++h){var k=d+4+h;if(h==e||0==C[k]){g=g?B(C,g,k-g):"";if(void 0===l)var l=g;else l+=String.fromCharCode(0),l+=g;g=k+1}}else{l=Array(e);for(h=0;h<e;++h)l[h]=String.fromCharCode(C[d+4+h]);l=l.join("")}W(d);return l},toWireType:function(d,e){e instanceof ArrayBuffer&&(e=new Uint8Array(e));var g="string"===typeof e;g||e instanceof Uint8Array||e instanceof-Uint8ClampedArray||e instanceof Int8Array||U("Cannot pass non-string to std::string");var h=(c&&g?function(){return ta(e)}:function(){return e.length})(),k=pb(4+h+1);I[k>>2]=h;if(c&&g)sa(e,C,k+4,h+1);else if(g)for(g=0;g<h;++g){var l=e.charCodeAt(g);255<l&&(W(k),U("String has UTF-16 code units that do not fit in 8 bits"));C[k+4+g]=l}else for(g=0;g<h;++g)C[k+4+g]=e[g];null!==d&&d.push(W,k);return k},argPackAdvance:8,readValueFromPointer:Zb,Pa:function(d){W(d)}})},n:function(a,b,c){c=T(c);if(2===b){var d=-va;var e=xa;var g=ya;var h=function(){return wa};var k=1}else 4===b&&(d=za,e=Aa,g=Ba,h=function(){return I},k=2);S(a,{name:c,fromWireType:function(l){for(var n=I[l>>2],p=h(),t,v=l+4,w=0;w<=n;++w){var q=l+4+w*b;if(w==n||0==p[q>>k])v=d(v,q-v),void 0===t?t=v:(t+=String.fromCharCode(0),t+=v),v=q+b}W(l);return t},toWireType:function(l,n){"string"!==typeof n&&U("Cannot pass non-string to C++ string type "+c);var p=g(n),t=pb(4+p+b);I[t>>2]=p>>k;e(n,t+4,p+b);null!==l&&l.push(W,t);return t},argPackAdvance:8,-readValueFromPointer:Zb,Pa:function(l){W(l)}})},G:function(a,b,c,d,e,g){Xb[a]={name:T(b),yb:tc(c,d),zb:tc(e,g),gb:[]}},z:function(a,b,c,d,e,g,h,k,l,n){Xb[a].gb.push({pb:T(b),tb:c,rb:tc(d,e),sb:g,Db:h,Cb:tc(k,l),Eb:n})},O:function(a,b){b=T(b);S(a,{Jb:!0,name:b,argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},t:lc,S:function(a){if(0===a)return mc(Ac());var b=zc[a];a=void 0===b?T(a):b;return mc(Ac()[a])},x:function(a){4<a&&(V[a].bb+=1)},H:function(a,b,c,d){a||U("Cannot use deleted val. handle = "+-a);a=V[a].value;var e=Cc[b];if(!e){e="";for(var g=0;g<b;++g)e+=(0!==g?", ":"")+"arg"+g;var h="return function emval_allocator_"+b+"(constructor, argTypes, args) {\n";for(g=0;g<b;++g)h+="var argType"+g+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+g+'], "parameter '+g+'");\nvar arg'+g+" = argType"+g+".readValueFromPointer(args);\nargs += argType"+g+"['argPackAdvance'];\n";e=(new Function("requireRegisteredType","Module","__emval_register",h+("var obj = new constructor("+e+");\nreturn __emval_register(obj);\n}\n")))(Bc,-f,mc);Cc[b]=e}return e(a,c,d)},v:function(){x()},P:function(){z("missing function: aom_codec_av1_dx");x(-1)},d:function(a,b){X(a,b||1);throw"longjmp";},I:function(a,b,c){C.copyWithin(a,b,b+c)},j:function(a){a>>>=0;var b=C.length;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,a+100663296);d=Math.max(16777216,a,d);0<d%65536&&(d+=65536-d%65536);a:{try{A.grow(Math.min(2147483648,d)-G.byteLength+65535>>>16);Ea(A.buffer);var e=1;break a}catch(g){}e=void 0}if(e)return!0}return!1},-r:function(a){try{var b=Wb(a);if(null===b.fd)throw new L(8);b.Za&&(b.Za=null);try{b.Ka.close&&b.Ka.close(b)}catch(c){throw c;}finally{sb[b.fd]=null}b.fd=null;return 0}catch(c){return"undefined"!==typeof Q&&c instanceof L||x(c),c.Sa}},J:function(a,b,c,d){try{a:{for(var e=Wb(a),g=a=0;g<c;g++){var h=F[b+(8*g+4)>>2],k=e,l=F[b+8*g>>2],n=h,p=void 0,t=H;if(0>n||0>p)throw new L(28);if(null===k.fd)throw new L(8);if(1===(k.flags&2097155))throw new L(8);if(16384===(k.node.mode&61440))throw new L(31);if(!k.Ka.read)throw new L(28);-var v="undefined"!==typeof p;if(!v)p=k.position;else if(!k.seekable)throw new L(70);var w=k.Ka.read(k,t,l,n,p);v||(k.position+=w);var q=w;if(0>q){var D=-1;break a}a+=q;if(q<h)break}D=a}F[d>>2]=D;return 0}catch(y){return"undefined"!==typeof Q&&y instanceof L||x(y),y.Sa}},E:function(a,b,c,d,e){try{var g=Wb(a);a=4294967296*c+(b>>>0);if(-9007199254740992>=a||9007199254740992<=a)return-61;Ob(g,a,d);Ya=[g.position>>>0,(Xa=g.position,1<=+Ma(Xa)?0<Xa?(Pa(+Oa(Xa/4294967296),4294967295)|0)>>>0:~~+Na((Xa-+(~~Xa>>>-0))/4294967296)>>>0:0)];F[e>>2]=Ya[0];F[e+4>>2]=Ya[1];g.Za&&0===a&&0===d&&(g.Za=null);return 0}catch(h){return"undefined"!==typeof Q&&h instanceof L||x(h),h.Sa}},q:function(a,b,c,d){try{a:{for(var e=Wb(a),g=a=0;g<c;g++){var h=e,k=F[b+8*g>>2],l=F[b+(8*g+4)>>2],n=void 0,p=H;if(0>l||0>n)throw new L(28);if(null===h.fd)throw new L(8);if(0===(h.flags&2097155))throw new L(8);if(16384===(h.node.mode&61440))throw new L(31);if(!h.Ka.write)throw new L(28);h.seekable&&h.flags&1024&&Ob(h,0,2);var t="undefined"!==-typeof n;if(!t)n=h.position;else if(!h.seekable)throw new L(70);var v=h.Ka.write(h,p,k,l,n,void 0);t||(h.position+=v);try{if(h.path&&wb.onWriteToFile)wb.onWriteToFile(h.path)}catch(D){z("FS.trackingDelegate['onWriteToFile']('"+h.path+"') threw an exception: "+D.message)}var w=v;if(0>w){var q=-1;break a}a+=w}q=a}F[d>>2]=q;return 0}catch(D){return"undefined"!==typeof Q&&D instanceof L||x(D),D.Sa}},b:function(){return ma|0},k:Gc,e:Hc,o:Ic,F:Jc,C:Kc,B:Lc,D:Mc,m:Nc,l:Oc,c:Pc,memory:A,g:function(a){a=+a;-return 0<=a?+Oa(a+.5):+Na(a-.5)},h:function(a){a=+a;return 0<=a?+Oa(a+.5):+Na(a-.5)},a:function(a){ma=a|0},table:oa,Q:function(a){var b=Date.now()/1E3|0;a&&(F[a>>2]=b);return b}};-(function(){function a(e){f.asm=e.exports;J--;f.monitorRunDependencies&&f.monitorRunDependencies(J);0==J&&(null!==Qa&&(clearInterval(Qa),Qa=null),Ra&&(e=Ra,Ra=null,e()))}function b(e){a(e.instance)}function c(e){return Wa().then(function(g){return WebAssembly.instantiate(g,d)}).then(e,function(g){z("failed to asynchronously prepare wasm: "+g);x(g)})}var d={a:Qc};J++;f.monitorRunDependencies&&f.monitorRunDependencies(J);if(f.instantiateWasm)try{return f.instantiateWasm(d,a)}catch(e){return z("Module.instantiateWasm callback failed with error: "+-e),!1}(function(){if(na||"function"!==typeof WebAssembly.instantiateStreaming||Ta()||Sa("file://")||"function"!==typeof fetch)return c(b);fetch(K,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(g){z("wasm streaming compile failed: "+g);z("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})();-var Za=f.___wasm_call_ctors=function(){return(Za=f.___wasm_call_ctors=f.asm.U).apply(null,arguments)},pb=f._malloc=function(){return(pb=f._malloc=f.asm.V).apply(null,arguments)},W=f._free=function(){return(W=f._free=f.asm.W).apply(null,arguments)},wc=f.___getTypeName=function(){return(wc=f.___getTypeName=f.asm.X).apply(null,arguments)};f.___embind_register_native_and_builtin_types=function(){return(f.___embind_register_native_and_builtin_types=f.asm.Y).apply(null,arguments)};-var Fc=f.___errno_location=function(){return(Fc=f.___errno_location=f.asm.Z).apply(null,arguments)},X=f._setThrew=function(){return(X=f._setThrew=f.asm._).apply(null,arguments)},Y=f.stackSave=function(){return(Y=f.stackSave=f.asm.$).apply(null,arguments)},Z=f.stackRestore=function(){return(Z=f.stackRestore=f.asm.aa).apply(null,arguments)},Rc=f.dynCall_vi=function(){return(Rc=f.dynCall_vi=f.asm.ba).apply(null,arguments)},Sc=f.dynCall_vii=function(){return(Sc=f.dynCall_vii=f.asm.ca).apply(null,arguments)};-f.dynCall_viii=function(){return(f.dynCall_viii=f.asm.da).apply(null,arguments)};var Tc=f.dynCall_viiii=function(){return(Tc=f.dynCall_viiii=f.asm.ea).apply(null,arguments)},Uc=f.dynCall_ii=function(){return(Uc=f.dynCall_ii=f.asm.fa).apply(null,arguments)},Vc=f.dynCall_iii=function(){return(Vc=f.dynCall_iii=f.asm.ga).apply(null,arguments)};f.dynCall_iiii=function(){return(f.dynCall_iiii=f.asm.ha).apply(null,arguments)};f.dynCall_iiiii=function(){return(f.dynCall_iiiii=f.asm.ia).apply(null,arguments)};-var Wc=f.dynCall_iiiiiiiii=function(){return(Wc=f.dynCall_iiiiiiiii=f.asm.ja).apply(null,arguments)},Xc=f.dynCall_iiiiiiiiii=function(){return(Xc=f.dynCall_iiiiiiiiii=f.asm.ka).apply(null,arguments)},Yc=f.dynCall_iiiijj=function(){return(Yc=f.dynCall_iiiijj=f.asm.la).apply(null,arguments)},Zc=f.dynCall_ij=function(){return(Zc=f.dynCall_ij=f.asm.ma).apply(null,arguments)},$c=f.dynCall_jjij=function(){return($c=f.dynCall_jjij=f.asm.na).apply(null,arguments)};-f.dynCall_i=function(){return(f.dynCall_i=f.asm.oa).apply(null,arguments)};f.dynCall_iiiiii=function(){return(f.dynCall_iiiiii=f.asm.pa).apply(null,arguments)};f.dynCall_viiiii=function(){return(f.dynCall_viiiii=f.asm.qa).apply(null,arguments)};f.dynCall_viiiiii=function(){return(f.dynCall_viiiiii=f.asm.ra).apply(null,arguments)};f.dynCall_viiiiiiii=function(){return(f.dynCall_viiiiiiii=f.asm.sa).apply(null,arguments)};f.dynCall_viiiiiii=function(){return(f.dynCall_viiiiiii=f.asm.ta).apply(null,arguments)};-f.dynCall_viiiiiiiiiii=function(){return(f.dynCall_viiiiiiiiiii=f.asm.ua).apply(null,arguments)};f.dynCall_jiiiiiiiii=function(){return(f.dynCall_jiiiiiiiii=f.asm.va).apply(null,arguments)};f.dynCall_iiiiiiii=function(){return(f.dynCall_iiiiiiii=f.asm.wa).apply(null,arguments)};f.dynCall_iiiiiii=function(){return(f.dynCall_iiiiiii=f.asm.xa).apply(null,arguments)};f.dynCall_iiiiiiiiiiii=function(){return(f.dynCall_iiiiiiiiiiii=f.asm.ya).apply(null,arguments)};-f.dynCall_iidiiii=function(){return(f.dynCall_iidiiii=f.asm.za).apply(null,arguments)};f.dynCall_jiji=function(){return(f.dynCall_jiji=f.asm.Aa).apply(null,arguments)};f.dynCall_viiiiiiiiii=function(){return(f.dynCall_viiiiiiiiii=f.asm.Ba).apply(null,arguments)};f.dynCall_viiiiiiiiiiiii=function(){return(f.dynCall_viiiiiiiiiiiii=f.asm.Ca).apply(null,arguments)};f.dynCall_jiiiiiiii=function(){return(f.dynCall_jiiiiiiii=f.asm.Da).apply(null,arguments)};-f.dynCall_ff=function(){return(f.dynCall_ff=f.asm.Ea).apply(null,arguments)};f.dynCall_jiiiiii=function(){return(f.dynCall_jiiiiii=f.asm.Fa).apply(null,arguments)};f.dynCall_jiiiii=function(){return(f.dynCall_jiiiii=f.asm.Ga).apply(null,arguments)};f.dynCall_iiijii=function(){return(f.dynCall_iiijii=f.asm.Ha).apply(null,arguments)};function Hc(a,b,c){var d=Y();try{return Vc(a,b,c)}catch(e){Z(d);if(e!==e+0&&"longjmp"!==e)throw e;X(1,0)}}-function Nc(a,b){var c=Y();try{Rc(a,b)}catch(d){Z(c);if(d!==d+0&&"longjmp"!==d)throw d;X(1,0)}}function Pc(a,b,c,d,e){var g=Y();try{Tc(a,b,c,d,e)}catch(h){Z(g);if(h!==h+0&&"longjmp"!==h)throw h;X(1,0)}}function Oc(a,b,c){var d=Y();try{Sc(a,b,c)}catch(e){Z(d);if(e!==e+0&&"longjmp"!==e)throw e;X(1,0)}}function Gc(a,b){var c=Y();try{return Uc(a,b)}catch(d){Z(c);if(d!==d+0&&"longjmp"!==d)throw d;X(1,0)}}-function Jc(a,b,c,d,e,g,h,k,l,n){var p=Y();try{return Xc(a,b,c,d,e,g,h,k,l,n)}catch(t){Z(p);if(t!==t+0&&"longjmp"!==t)throw t;X(1,0)}}function Ic(a,b,c,d,e,g,h,k,l){var n=Y();try{return Wc(a,b,c,d,e,g,h,k,l)}catch(p){Z(n);if(p!==p+0&&"longjmp"!==p)throw p;X(1,0)}}function Mc(a,b,c,d,e,g){var h=Y();try{return $c(a,b,c,d,e,g)}catch(k){Z(h);if(k!==k+0&&"longjmp"!==k)throw k;X(1,0)}}-function Kc(a,b,c,d,e,g,h,k){var l=Y();try{return Yc(a,b,c,d,e,g,h,k)}catch(n){Z(l);if(n!==n+0&&"longjmp"!==n)throw n;X(1,0)}}function Lc(a,b,c){var d=Y();try{return Zc(a,b,c)}catch(e){Z(d);if(e!==e+0&&"longjmp"!==e)throw e;X(1,0)}}var ad;Ra=function bd(){ad||cd();ad||(Ra=bd)};-function cd(){function a(){if(!ad&&(ad=!0,f.calledRun=!0,!pa)){f.noFSInit||Qb||(Qb=!0,Pb(),f.stdin=f.stdin,f.stdout=f.stdout,f.stderr=f.stderr,f.stdin?Sb("stdin",f.stdin):Lb("/dev/tty","/dev/stdin"),f.stdout?Sb("stdout",null,f.stdout):Lb("/dev/tty","/dev/stdout"),f.stderr?Sb("stderr",null,f.stderr):Lb("/dev/tty1","/dev/stderr"),Mb("/dev/stdin","r"),Mb("/dev/stdout","w"),Mb("/dev/stderr","w"));Ga(Ia);vb=!1;Ga(Ja);aa(f);if(f.onRuntimeInitialized)f.onRuntimeInitialized();if(f.postRun)for("function"==-typeof f.postRun&&(f.postRun=[f.postRun]);f.postRun.length;){var b=f.postRun.shift();Ka.unshift(b)}Ga(Ka)}}if(!(0<J)){if(f.preRun)for("function"==typeof f.preRun&&(f.preRun=[f.preRun]);f.preRun.length;)La();Ga(Ha);0<J||(f.setStatus?(f.setStatus("Running..."),setTimeout(function(){setTimeout(function(){f.setStatus("")},1);a()},1)):a())}}f.run=cd;if(f.preInit)for("function"==typeof f.preInit&&(f.preInit=[f.preInit]);0<f.preInit.length;)f.preInit.pop()();noExitRuntime=!0;cd();+ ) {+ var b = g.postRun.shift();+ Ea.unshift(b);+ }+ Sa(Ea);+ }+ }+ if (!(0 < I)) {+ if (g.preRun)+ for (+ 'function' == typeof g.preRun && (g.preRun = [g.preRun]);+ g.preRun.length;+ )+ Fa();+ Sa(Ba);+ 0 < I ||+ (g.setStatus+ ? (g.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ g.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ g.run = Qc;+ if (g.preInit)+ for (+ 'function' == typeof g.preInit && (g.preInit = [g.preInit]);+ 0 < g.preInit.length;- return avif_enc.ready-}-);+ )+ g.preInit.pop()();+ noExitRuntime = !0;+ Qc();++ return Module.ready;+ };})();-if (typeof exports === 'object' && typeof module === 'object')- module.exports = avif_enc;- else if (typeof define === 'function' && define['amd'])- define([], function() { return avif_enc; });- else if (typeof exports === 'object')- exports["avif_enc"] = avif_enc;-\ No newline at end of file+export default Module;diff --git a/codecs/avif/enc/avif_enc.wasm b/codecs/avif/enc/avif_enc.wasmindex 35eba637..d2420722 100644Binary files a/codecs/avif/enc/avif_enc.wasm and b/codecs/avif/enc/avif_enc.wasm differdiff --git a/codecs/avif/enc/avif_enc_mt.d.ts b/codecs/avif/enc/avif_enc_mt.d.tsnew file mode 100644index 00000000..8aa887fe--- /dev/null+++ b/codecs/avif/enc/avif_enc_mt.d.ts@@ -0,0 +1,2 @@+export * from './avif_enc';+export { default } from './avif_enc';diff --git a/codecs/avif/enc/avif_enc_mt.js b/codecs/avif/enc/avif_enc_mt.jsnew file mode 100644index 00000000..88a6143a--- /dev/null+++ b/codecs/avif/enc/avif_enc_mt.js@@ -0,0 +1,3268 @@+var avif_enc_mt = (function () {+ var _scriptDir = import.meta.url;++ return function (avif_enc_mt) {+ avif_enc_mt = avif_enc_mt || {};++ function f() {+ m.buffer != n && p(m.buffer);+ return aa;+ }+ function t() {+ m.buffer != n && p(m.buffer);+ return ba;+ }+ function ca() {+ m.buffer != n && p(m.buffer);+ return da;+ }+ function ea() {+ m.buffer != n && p(m.buffer);+ return fa;+ }+ function w() {+ m.buffer != n && p(m.buffer);+ return ha;+ }+ function x() {+ m.buffer != n && p(m.buffer);+ return ia;+ }+ function ja() {+ m.buffer != n && p(m.buffer);+ return ka;+ }+ function la() {+ m.buffer != n && p(m.buffer);+ return ma;+ }+ var z;+ z || (z = typeof avif_enc_mt !== 'undefined' ? avif_enc_mt : {});+ var na, oa;+ z.ready = new Promise(function (a, b) {+ na = a;+ oa = b;+ });+ var pa = {},+ A;+ for (A in z) z.hasOwnProperty(A) && (pa[A] = z[A]);+ var D = z.ENVIRONMENT_IS_PTHREAD || !1;+ D && (n = z.buffer);+ var F = '';+ function qa(a) {+ return z.locateFile ? z.locateFile(a, F) : F + a;+ }+ var ra;+ F = self.location.href;+ _scriptDir && (F = _scriptDir);+ 0 !== F.indexOf('blob:')+ ? (F = F.substr(0, F.lastIndexOf('/') + 1))+ : (F = '');+ ra = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var sa = z.print || console.log.bind(console),+ G = z.printErr || console.warn.bind(console);+ for (A in pa) pa.hasOwnProperty(A) && (z[A] = pa[A]);+ pa = null;+ var ta = 0,+ ua;+ z.wasmBinary && (ua = z.wasmBinary);+ var noExitRuntime;+ z.noExitRuntime && (noExitRuntime = z.noExitRuntime);+ 'object' !== typeof WebAssembly && H('no native wasm support detected');+ var m,+ wa,+ threadInfoStruct = 0,+ selfThreadId = 0,+ xa = !1;+ function ya(a, b) {+ a || H('Assertion failed: ' + b);+ }+ function za(a, b, c) {+ c = b + c;+ for (var d = ''; !(b >= c); ) {+ var e = a[b++];+ if (!e) break;+ if (e & 128) {+ var g = a[b++] & 63;+ if (192 == (e & 224)) d += String.fromCharCode(((e & 31) << 6) | g);+ else {+ var h = a[b++] & 63;+ e =+ 224 == (e & 240)+ ? ((e & 15) << 12) | (g << 6) | h+ : ((e & 7) << 18) | (g << 12) | (h << 6) | (a[b++] & 63);+ 65536 > e+ ? (d += String.fromCharCode(e))+ : ((e -= 65536),+ (d += String.fromCharCode(+ 55296 | (e >> 10),+ 56320 | (e & 1023),+ )));+ }+ } else d += String.fromCharCode(e);+ }+ return d;+ }+ function I(a, b) {+ return a ? za(t(), a, b) : '';+ }+ function Aa(a, b, c, d) {+ if (!(0 < d)) return 0;+ var e = c;+ d = c + d - 1;+ for (var g = 0; g < a.length; ++g) {+ var h = a.charCodeAt(g);+ if (55296 <= h && 57343 >= h) {+ var k = a.charCodeAt(++g);+ h = (65536 + ((h & 1023) << 10)) | (k & 1023);+ }+ if (127 >= h) {+ if (c >= d) break;+ b[c++] = h;+ } else {+ if (2047 >= h) {+ if (c + 1 >= d) break;+ b[c++] = 192 | (h >> 6);+ } else {+ if (65535 >= h) {+ if (c + 2 >= d) break;+ b[c++] = 224 | (h >> 12);+ } else {+ if (c + 3 >= d) break;+ b[c++] = 240 | (h >> 18);+ b[c++] = 128 | ((h >> 12) & 63);+ }+ b[c++] = 128 | ((h >> 6) & 63);+ }+ b[c++] = 128 | (h & 63);+ }+ }+ b[c] = 0;+ return c - e;+ }+ function Ba(a, b, c) {+ Aa(a, t(), b, c);+ }+ function Ca(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d &&+ 57343 >= d &&+ (d = (65536 + ((d & 1023) << 10)) | (a.charCodeAt(++c) & 1023));+ 127 >= d ? ++b : (b = 2047 >= d ? b + 2 : 65535 >= d ? b + 3 : b + 4);+ }+ return b;+ }+ function Da(a, b) {+ for (var c = 0, d = ''; ; ) {+ var e = ca()[(a + 2 * c) >> 1];+ if (0 == e || c == b / 2) return d;+ ++c;+ d += String.fromCharCode(e);+ }+ }+ function Ea(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var e = 0; e < c; ++e) {+ var g = a.charCodeAt(e);+ ca()[b >> 1] = g;+ b += 2;+ }+ ca()[b >> 1] = 0;+ return b - d;+ }+ function Fa(a) {+ return 2 * a.length;+ }+ function Ga(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var e = w()[(a + 4 * c) >> 2];+ if (0 == e) break;+ ++c;+ 65536 <= e+ ? ((e -= 65536),+ (d += String.fromCharCode(55296 | (e >> 10), 56320 | (e & 1023))))+ : (d += String.fromCharCode(e));+ }+ return d;+ }+ function Ha(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var e = 0; e < a.length; ++e) {+ var g = a.charCodeAt(e);+ if (55296 <= g && 57343 >= g) {+ var h = a.charCodeAt(++e);+ g = (65536 + ((g & 1023) << 10)) | (h & 1023);+ }+ w()[b >> 2] = g;+ b += 4;+ if (b + 4 > c) break;+ }+ w()[b >> 2] = 0;+ return b - d;+ }+ function Ia(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var n, aa, ba, da, fa, ha, ia, ka, ma;+ function p(a) {+ n = a;+ z.HEAP8 = aa = new Int8Array(a);+ z.HEAP16 = da = new Int16Array(a);+ z.HEAP32 = ha = new Int32Array(a);+ z.HEAPU8 = ba = new Uint8Array(a);+ z.HEAPU16 = fa = new Uint16Array(a);+ z.HEAPU32 = ia = new Uint32Array(a);+ z.HEAPF32 = ka = new Float32Array(a);+ z.HEAPF64 = ma = new Float64Array(a);+ }+ var Ja = z.INITIAL_MEMORY || 16777216;+ if (D) (m = z.wasmMemory), (n = z.buffer);+ else if (z.wasmMemory) m = z.wasmMemory;+ else if (+ ((m = new WebAssembly.Memory({+ initial: Ja / 65536,+ maximum: 32768,+ shared: !0,+ })),+ !(m.buffer instanceof SharedArrayBuffer))+ )+ throw (+ (G(+ 'requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag',+ ),+ Error('bad memory'))+ );+ m && (n = m.buffer);+ Ja = n.byteLength;+ p(n);+ var J,+ Ka = [],+ La = [],+ Ma = [],+ Na = [];+ function Oa() {+ var a = z.preRun.shift();+ Ka.unshift(a);+ }+ var K = 0,+ Pa = null,+ Qa = null;+ z.preloadedImages = {};+ z.preloadedAudios = {};+ function H(a) {+ if (z.onAbort) z.onAbort(a);+ D && console.error('Pthread aborting at ' + Error().stack);+ G(a);+ xa = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ oa(a);+ throw a;+ }+ function Ra() {+ var a = Sa;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var Sa = 'avif_enc_mt.wasm';+ Ra() || (Sa = qa(Sa));+ function Ta() {+ try {+ if (ua) return new Uint8Array(ua);+ if (ra) return ra(Sa);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ H(a);+ }+ }+ function Ua() {+ return ua || 'function' !== typeof fetch+ ? Promise.resolve().then(Ta)+ : fetch(Sa, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok)+ throw "failed to load wasm binary file at '" + Sa + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Ta();+ });+ }+ var Va,+ Wa,+ Ya = {+ 575941: function (a, b) {+ setTimeout(function () {+ Xa(a, b);+ }, 0);+ },+ 576019: function () {+ throw 'Canceled!';+ },+ };+ function Za(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(z);+ else {+ var c = b.pc;+ 'number' === typeof c+ ? void 0 === b.sb+ ? J.get(c)()+ : J.get(c)(b.sb)+ : c(void 0 === b.sb ? null : b.sb);+ }+ }+ }+ function $a(a, b, c) {+ var d;+ -1 != a.indexOf('j')+ ? (d =+ c && c.length+ ? z['dynCall_' + a].apply(null, [b].concat(c))+ : z['dynCall_' + a].call(null, b))+ : (d = J.get(b).apply(null, c));+ return d;+ }+ z.dynCall = $a;+ var ab = 0,+ bb = 0,+ cb = 0;+ function db(a, b, c) {+ ab = a | 0;+ cb = b | 0;+ bb = c | 0;+ }+ z.registerPthreadPtr = db;+ function eb(a, b) {+ if (0 >= a || a > f().length || a & 1 || 0 > b) return -28;+ if (0 == b) return 0;+ 2147483647 <= b && (b = Infinity);+ var c = Atomics.load(w(), L.Yb >> 2),+ d = 0;+ if (+ c == a &&+ Atomics.compareExchange(w(), L.Yb >> 2, c, 0) == c &&+ (--b, (d = 1), 0 >= b)+ )+ return 1;+ a = Atomics.notify(w(), a >> 2, b);+ if (0 <= a) return a + d;+ throw 'Atomics.notify returned an unexpected value ' + a;+ }+ z._emscripten_futex_wake = eb;+ function fb(a) {+ if (D)+ throw 'Internal Error! cleanupThread() can only ever be called from main application thread!';+ if (!a) throw 'Internal Error! Null pthread_ptr in cleanupThread!';+ w()[(a + 12) >> 2] = 0;+ (a = L.fb[a]) && L.Cb(a.worker);+ }+ var L = {+ Sc: 1,+ hd: { hc: 0, ic: 0 },+ bb: [],+ lb: [],+ wc: function () {+ for (var a = navigator.hardwareConcurrency, b = 0; b < a; ++b) L.Nb();+ },+ xc: function () {+ L.$a = M(232);+ for (var a = 0; 58 > a; ++a) x()[L.$a / 4 + a] = 0;+ w()[(L.$a + 12) >> 2] = L.$a;+ a = L.$a + 156;+ w()[a >> 2] = a;+ var b = M(512);+ for (a = 0; 128 > a; ++a) x()[b / 4 + a] = 0;+ Atomics.store(x(), (L.$a + 104) >> 2, b);+ Atomics.store(x(), (L.$a + 40) >> 2, L.$a);+ Atomics.store(x(), (L.$a + 44) >> 2, 42);+ L.Wb();+ db(L.$a, !1, 1);+ gb(L.$a);+ },+ yc: function () {+ L.Wb();+ na(z);+ L.receiveObjectTransfer = L.Gc;+ L.setThreadStatus = L.Jc;+ L.threadCancel = L.Oc;+ L.threadExit = L.Pc;+ },+ Wb: function () {+ L.Yb = hb;+ },+ fb: {},+ Eb: [],+ Jc: function () {},+ fc: function () {+ for (; 0 < L.Eb.length; ) L.Eb.pop()();+ D && threadInfoStruct && ib();+ },+ Pc: function (a) {+ var b = ab | 0;+ b &&+ (Atomics.store(x(), (b + 4) >> 2, a),+ Atomics.store(x(), (b + 0) >> 2, 1),+ Atomics.store(x(), (b + 60) >> 2, 1),+ Atomics.store(x(), (b + 64) >> 2, 0),+ L.fc(),+ eb(b + 0, 2147483647),+ db(0, 0, 0),+ (threadInfoStruct = 0),+ D && postMessage({ cmd: 'exit' }));+ },+ Oc: function () {+ L.fc();+ Atomics.store(x(), (threadInfoStruct + 4) >> 2, -1);+ Atomics.store(x(), (threadInfoStruct + 0) >> 2, 1);+ eb(threadInfoStruct + 0, 2147483647);+ threadInfoStruct = selfThreadId = 0;+ db(0, 0, 0);+ postMessage({ cmd: 'cancelDone' });+ },+ td: function () {+ for (var a in L.fb) {+ var b = L.fb[a];+ b && b.worker && L.Cb(b.worker);+ }+ L.fb = {};+ for (a = 0; a < L.bb.length; ++a) {+ var c = L.bb[a];+ c.terminate();+ }+ L.bb = [];+ for (a = 0; a < L.lb.length; ++a)+ (c = L.lb[a]), (b = c.ab), L.Hb(b), c.terminate();+ L.lb = [];+ },+ Hb: function (a) {+ if (a) {+ if (a.threadInfoStruct) {+ var b = w()[(a.threadInfoStruct + 104) >> 2];+ w()[(a.threadInfoStruct + 104) >> 2] = 0;+ O(b);+ O(a.threadInfoStruct);+ }+ a.threadInfoStruct = 0;+ a.Fb && a.ob && O(a.ob);+ a.ob = 0;+ a.worker && (a.worker.ab = null);+ }+ },+ Cb: function (a) {+ delete L.fb[a.ab.jc];+ L.bb.push(a);+ L.lb.splice(L.lb.indexOf(a), 1);+ L.Hb(a.ab);+ a.ab = void 0;+ },+ Gc: function () {},+ Xb: function (a, b) {+ a.onmessage = function (c) {+ var d = c.data,+ e = d.cmd;+ a.ab && (L.Gb = a.ab.threadInfoStruct);+ if (d.targetThread && d.targetThread != (ab | 0)) {+ var g = L.fb[d.sd];+ g+ ? g.worker.postMessage(c.data, d.transferList)+ : console.error(+ 'Internal error! Worker sent a message "' ++ e ++ '" to target pthread ' ++ d.targetThread ++ ', but that thread no longer exists!',+ );+ } else if ('processQueuedMainThreadWork' === e) jb();+ else if ('spawnThread' === e) kb(c.data);+ else if ('cleanupThread' === e) fb(d.thread);+ else if ('killThread' === e) {+ c = d.thread;+ if (D)+ throw 'Internal Error! killThread() can only ever be called from main application thread!';+ if (!c) throw 'Internal Error! Null pthread_ptr in killThread!';+ w()[(c + 12) >> 2] = 0;+ c = L.fb[c];+ c.worker.terminate();+ L.Hb(c);+ L.lb.splice(L.lb.indexOf(c.worker), 1);+ c.worker.ab = void 0;+ } else if ('cancelThread' === e) {+ c = d.thread;+ if (D)+ throw 'Internal Error! cancelThread() can only ever be called from main application thread!';+ if (!c) throw 'Internal Error! Null pthread_ptr in cancelThread!';+ L.fb[c].worker.postMessage({ cmd: 'cancel' });+ } else+ 'loaded' === e+ ? ((a.loaded = !0), b && b(a), a.vb && (a.vb(), delete a.vb))+ : 'print' === e+ ? sa('Thread ' + d.threadId + ': ' + d.text)+ : 'printErr' === e+ ? G('Thread ' + d.threadId + ': ' + d.text)+ : 'alert' === e+ ? alert('Thread ' + d.threadId + ': ' + d.text)+ : 'exit' === e+ ? a.ab && Atomics.load(x(), (a.ab.jc + 68) >> 2) && L.Cb(a)+ : 'cancelDone' === e+ ? L.Cb(a)+ : 'objectTransfer' !== e &&+ ('setimmediate' === c.data.target+ ? a.postMessage(c.data)+ : G('worker sent an unknown command ' + e));+ L.Gb = void 0;+ };+ a.onerror = function (c) {+ G(+ 'pthread sent an error! ' ++ c.filename ++ ':' ++ c.lineno ++ ': ' ++ c.message,+ );+ };+ a.postMessage({+ cmd: 'load',+ urlOrBlob: z.mainScriptUrlOrBlob || _scriptDir,+ wasmMemory: m,+ wasmModule: wa,+ });+ },+ Nb: function () {+ var a = qa('avif_enc_mt.worker.js');+ L.bb.push(new Worker(a));+ },+ qc: function () {+ 0 == L.bb.length && (L.Nb(), L.Xb(L.bb[0]));+ return 0 < L.bb.length ? L.bb.pop() : null;+ },+ Wc: function (a) {+ for (a = performance.now() + a; performance.now() < a; );+ },+ };+ z.establishStackSpace = function (a) {+ P(a);+ };+ z.getNoExitRuntime = function () {+ return noExitRuntime;+ };+ var lb;+ lb = D+ ? function () {+ return performance.now() - z.__performance_now_clock_drift;+ }+ : function () {+ return performance.now();+ };+ function mb(a, b) {+ L.Eb.push(function () {+ J.get(a)(b);+ });+ }+ function nb(a, b) {+ for (var c = 0, d = a.length - 1; 0 <= d; d--) {+ var e = a[d];+ '.' === e+ ? a.splice(d, 1)+ : '..' === e+ ? (a.splice(d, 1), c++)+ : c && (a.splice(d, 1), c--);+ }+ if (b) for (; c; c--) a.unshift('..');+ return a;+ }+ function ob(a) {+ var b = '/' === a.charAt(0),+ c = '/' === a.substr(-1);+ (a = nb(+ a.split('/').filter(function (d) {+ return !!d;+ }),+ !b,+ ).join('/')) ||+ b ||+ (a = '.');+ a && c && (a += '/');+ return (b ? '/' : '') + a;+ }+ function pb(a) {+ var b = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/+ .exec(a)+ .slice(1);+ a = b[0];+ b = b[1];+ if (!a && !b) return '.';+ b && (b = b.substr(0, b.length - 1));+ return a + b;+ }+ function qb(a) {+ if ('/' === a) return '/';+ a = ob(a);+ a = a.replace(/\/$/, '');+ var b = a.lastIndexOf('/');+ return -1 === b ? a : a.substr(b + 1);+ }+ function rb() {+ if (+ 'object' === typeof crypto &&+ 'function' === typeof crypto.getRandomValues+ ) {+ var a = new Uint8Array(1);+ return function () {+ crypto.getRandomValues(a);+ return a[0];+ };+ }+ return function () {+ H('randomDevice');+ };+ }+ function sb() {+ for (var a = '', b = !1, c = arguments.length - 1; -1 <= c && !b; c--) {+ b = 0 <= c ? arguments[c] : '/';+ if ('string' !== typeof b)+ throw new TypeError('Arguments to path.resolve must be strings');+ if (!b) return '';+ a = b + '/' + a;+ b = '/' === b.charAt(0);+ }+ a = nb(+ a.split('/').filter(function (d) {+ return !!d;+ }),+ !b,+ ).join('/');+ return (b ? '/' : '') + a || '.';+ }+ var tb = [];+ function ub(a, b) {+ tb[a] = { input: [], Za: [], pb: b };+ vb(a, wb);+ }+ var wb = {+ open: function (a) {+ var b = tb[a.node.Bb];+ if (!b) throw new Q(43);+ a.Ya = b;+ a.seekable = !1;+ },+ close: function (a) {+ a.Ya.pb.flush(a.Ya);+ },+ flush: function (a) {+ a.Ya.pb.flush(a.Ya);+ },+ read: function (a, b, c, d) {+ if (!a.Ya || !a.Ya.pb.Vb) throw new Q(60);+ for (var e = 0, g = 0; g < d; g++) {+ try {+ var h = a.Ya.pb.Vb(a.Ya);+ } catch (k) {+ throw new Q(29);+ }+ if (void 0 === h && 0 === e) throw new Q(6);+ if (null === h || void 0 === h) break;+ e++;+ b[c + g] = h;+ }+ e && (a.node.timestamp = Date.now());+ return e;+ },+ write: function (a, b, c, d) {+ if (!a.Ya || !a.Ya.pb.Jb) throw new Q(60);+ try {+ for (var e = 0; e < d; e++) a.Ya.pb.Jb(a.Ya, b[c + e]);+ } catch (g) {+ throw new Q(29);+ }+ d && (a.node.timestamp = Date.now());+ return e;+ },+ },+ xb = {+ Vb: function (a) {+ if (!a.input.length) {+ var b = null;+ 'undefined' != typeof window && 'function' == typeof window.prompt+ ? ((b = window.prompt('Input: ')), null !== b && (b += '\n'))+ : 'function' == typeof readline &&+ ((b = readline()), null !== b && (b += '\n'));+ if (!b) return null;+ var c = Array(Ca(b) + 1);+ b = Aa(b, c, 0, c.length);+ c.length = b;+ a.input = c;+ }+ return a.input.shift();+ },+ Jb: function (a, b) {+ null === b || 10 === b+ ? (sa(za(a.Za, 0)), (a.Za = []))+ : 0 != b && a.Za.push(b);+ },+ flush: function (a) {+ a.Za && 0 < a.Za.length && (sa(za(a.Za, 0)), (a.Za = []));+ },+ },+ yb = {+ Jb: function (a, b) {+ null === b || 10 === b+ ? (G(za(a.Za, 0)), (a.Za = []))+ : 0 != b && a.Za.push(b);+ },+ flush: function (a) {+ a.Za && 0 < a.Za.length && (G(za(a.Za, 0)), (a.Za = []));+ },+ },+ R = {+ cb: null,+ ib: function () {+ return R.createNode(null, '/', 16895, 0);+ },+ createNode: function (a, b, c, d) {+ if (24576 === (c & 61440) || 4096 === (c & 61440)) throw new Q(63);+ R.cb ||+ (R.cb = {+ dir: {+ node: {+ kb: R.Va.kb,+ gb: R.Va.gb,+ tb: R.Va.tb,+ zb: R.Va.zb,+ dc: R.Va.dc,+ kc: R.Va.kc,+ ec: R.Va.ec,+ cc: R.Va.cc,+ Db: R.Va.Db,+ },+ stream: { nb: R.Wa.nb },+ },+ file: {+ node: { kb: R.Va.kb, gb: R.Va.gb },+ stream: {+ nb: R.Wa.nb,+ read: R.Wa.read,+ write: R.Wa.write,+ Mb: R.Wa.Mb,+ Zb: R.Wa.Zb,+ ac: R.Wa.ac,+ },+ },+ link: {+ node: { kb: R.Va.kb, gb: R.Va.gb, ub: R.Va.ub },+ stream: {},+ },+ Ob: { node: { kb: R.Va.kb, gb: R.Va.gb }, stream: zb },+ });+ c = Ab(a, b, c, d);+ 16384 === (c.mode & 61440)+ ? ((c.Va = R.cb.dir.node), (c.Wa = R.cb.dir.stream), (c.Ua = {}))+ : 32768 === (c.mode & 61440)+ ? ((c.Va = R.cb.file.node),+ (c.Wa = R.cb.file.stream),+ (c.Xa = 0),+ (c.Ua = null))+ : 40960 === (c.mode & 61440)+ ? ((c.Va = R.cb.link.node), (c.Wa = R.cb.link.stream))+ : 8192 === (c.mode & 61440) &&+ ((c.Va = R.cb.Ob.node), (c.Wa = R.cb.Ob.stream));+ c.timestamp = Date.now();+ a && (a.Ua[b] = c);+ return c;+ },+ bd: function (a) {+ if (a.Ua && a.Ua.subarray) {+ for (var b = [], c = 0; c < a.Xa; ++c) b.push(a.Ua[c]);+ return b;+ }+ return a.Ua;+ },+ cd: function (a) {+ return a.Ua+ ? a.Ua.subarray+ ? a.Ua.subarray(0, a.Xa)+ : new Uint8Array(a.Ua)+ : new Uint8Array(0);+ },+ Rb: function (a, b) {+ var c = a.Ua ? a.Ua.length : 0;+ c >= b ||+ ((b = Math.max(b, (c * (1048576 > c ? 2 : 1.125)) >>> 0)),+ 0 != c && (b = Math.max(b, 256)),+ (c = a.Ua),+ (a.Ua = new Uint8Array(b)),+ 0 < a.Xa && a.Ua.set(c.subarray(0, a.Xa), 0));+ },+ Hc: function (a, b) {+ if (a.Xa != b)+ if (0 == b) (a.Ua = null), (a.Xa = 0);+ else {+ if (!a.Ua || a.Ua.subarray) {+ var c = a.Ua;+ a.Ua = new Uint8Array(b);+ c && a.Ua.set(c.subarray(0, Math.min(b, a.Xa)));+ } else if ((a.Ua || (a.Ua = []), a.Ua.length > b))+ a.Ua.length = b;+ else for (; a.Ua.length < b; ) a.Ua.push(0);+ a.Xa = b;+ }+ },+ Va: {+ kb: function (a) {+ var b = {};+ b.$c = 8192 === (a.mode & 61440) ? a.id : 1;+ b.fd = a.id;+ b.mode = a.mode;+ b.md = 1;+ b.uid = 0;+ b.dd = 0;+ b.Bb = a.Bb;+ 16384 === (a.mode & 61440)+ ? (b.size = 4096)+ : 32768 === (a.mode & 61440)+ ? (b.size = a.Xa)+ : 40960 === (a.mode & 61440)+ ? (b.size = a.link.length)+ : (b.size = 0);+ b.Uc = new Date(a.timestamp);+ b.kd = new Date(a.timestamp);+ b.Zc = new Date(a.timestamp);+ b.mc = 4096;+ b.Vc = Math.ceil(b.size / b.mc);+ return b;+ },+ gb: function (a, b) {+ void 0 !== b.mode && (a.mode = b.mode);+ void 0 !== b.timestamp && (a.timestamp = b.timestamp);+ void 0 !== b.size && R.Hc(a, b.size);+ },+ tb: function () {+ throw Bb[44];+ },+ zb: function (a, b, c, d) {+ return R.createNode(a, b, c, d);+ },+ dc: function (a, b, c) {+ if (16384 === (a.mode & 61440)) {+ try {+ var d = Cb(b, c);+ } catch (g) {}+ if (d) for (var e in d.Ua) throw new Q(55);+ }+ delete a.parent.Ua[a.name];+ a.name = c;+ b.Ua[c] = a;+ a.parent = b;+ },+ kc: function (a, b) {+ delete a.Ua[b];+ },+ ec: function (a, b) {+ var c = Cb(a, b),+ d;+ for (d in c.Ua) throw new Q(55);+ delete a.Ua[b];+ },+ cc: function (a) {+ var b = ['.', '..'],+ c;+ for (c in a.Ua) a.Ua.hasOwnProperty(c) && b.push(c);+ return b;+ },+ Db: function (a, b, c) {+ a = R.createNode(a, b, 41471, 0);+ a.link = c;+ return a;+ },+ ub: function (a) {+ if (40960 !== (a.mode & 61440)) throw new Q(28);+ return a.link;+ },+ },+ Wa: {+ read: function (a, b, c, d, e) {+ var g = a.node.Ua;+ if (e >= a.node.Xa) return 0;+ a = Math.min(a.node.Xa - e, d);+ if (8 < a && g.subarray) b.set(g.subarray(e, e + a), c);+ else for (d = 0; d < a; d++) b[c + d] = g[e + d];+ return a;+ },+ write: function (a, b, c, d, e, g) {+ b.buffer === f().buffer && (g = !1);+ if (!d) return 0;+ a = a.node;+ a.timestamp = Date.now();+ if (b.subarray && (!a.Ua || a.Ua.subarray)) {+ if (g) return (a.Ua = b.subarray(c, c + d)), (a.Xa = d);+ if (0 === a.Xa && 0 === e)+ return (a.Ua = b.slice(c, c + d)), (a.Xa = d);+ if (e + d <= a.Xa) return a.Ua.set(b.subarray(c, c + d), e), d;+ }+ R.Rb(a, e + d);+ if (a.Ua.subarray && b.subarray) a.Ua.set(b.subarray(c, c + d), e);+ else for (g = 0; g < d; g++) a.Ua[e + g] = b[c + g];+ a.Xa = Math.max(a.Xa, e + d);+ return d;+ },+ nb: function (a, b, c) {+ 1 === c+ ? (b += a.position)+ : 2 === c && 32768 === (a.node.mode & 61440) && (b += a.node.Xa);+ if (0 > b) throw new Q(28);+ return b;+ },+ Mb: function (a, b, c) {+ R.Rb(a.node, b + c);+ a.node.Xa = Math.max(a.node.Xa, b + c);+ },+ Zb: function (a, b, c, d, e, g) {+ ya(0 === b);+ if (32768 !== (a.node.mode & 61440)) throw new Q(43);+ a = a.node.Ua;+ if (g & 2 || a.buffer !== n) {+ if (0 < d || d + c < a.length)+ a.subarray+ ? (a = a.subarray(d, d + c))+ : (a = Array.prototype.slice.call(a, d, d + c));+ d = !0;+ g = 16384 * Math.ceil(c / 16384);+ for (b = M(g); c < g; ) f()[b + c++] = 0;+ c = b;+ if (!c) throw new Q(48);+ f().set(a, c);+ } else (d = !1), (c = a.byteOffset);+ return { qd: c, Tc: d };+ },+ ac: function (a, b, c, d, e) {+ if (32768 !== (a.node.mode & 61440)) throw new Q(43);+ if (e & 2) return 0;+ R.Wa.write(a, b, 0, d, c, !1);+ return 0;+ },+ },+ },+ Db = null,+ Eb = {},+ Fb = [],+ Gb = 1,+ Hb = null,+ Ib = !0,+ Jb = {},+ Q = null,+ Bb = {};+ function Kb(a, b) {+ a = sb('/', a);+ b = b || {};+ if (!a) return { path: '', node: null };+ var c = { Ub: !0, Kb: 0 },+ d;+ for (d in c) void 0 === b[d] && (b[d] = c[d]);+ if (8 < b.Kb) throw new Q(32);+ a = nb(+ a.split('/').filter(function (h) {+ return !!h;+ }),+ !1,+ );+ var e = Db;+ c = '/';+ for (d = 0; d < a.length; d++) {+ var g = d === a.length - 1;+ if (g && b.parent) break;+ e = Cb(e, a[d]);+ c = ob(c + '/' + a[d]);+ e.Ab && (!g || (g && b.Ub)) && (e = e.Ab.root);+ if (!g || b.Tb)+ for (g = 0; 40960 === (e.mode & 61440); )+ if (+ ((e = Lb(c)),+ (c = sb(pb(c), e)),+ (e = Kb(c, { Kb: b.Kb }).node),+ 40 < g++)+ )+ throw new Q(32);+ }+ return { path: c, node: e };+ }+ function Mb(a) {+ for (var b; ; ) {+ if (a === a.parent)+ return (+ (a = a.ib.$b),+ b ? ('/' !== a[a.length - 1] ? a + '/' + b : a + b) : a+ );+ b = b ? a.name + '/' + b : a.name;+ a = a.parent;+ }+ }+ function Nb(a, b) {+ for (var c = 0, d = 0; d < b.length; d++)+ c = ((c << 5) - c + b.charCodeAt(d)) | 0;+ return ((a + c) >>> 0) % Hb.length;+ }+ function Cb(a, b) {+ var c;+ if ((c = (c = Ob(a, 'x')) ? c : a.Va.tb ? 0 : 2)) throw new Q(c, a);+ for (c = Hb[Nb(a.id, b)]; c; c = c.Cc) {+ var d = c.name;+ if (c.parent.id === a.id && d === b) return c;+ }+ return a.Va.tb(a, b);+ }+ function Ab(a, b, c, d) {+ a = new Pb(a, b, c, d);+ b = Nb(a.parent.id, a.name);+ a.Cc = Hb[b];+ return (Hb[b] = a);+ }+ var Qb = {+ r: 0,+ rs: 1052672,+ 'r+': 2,+ w: 577,+ wx: 705,+ xw: 705,+ 'w+': 578,+ 'wx+': 706,+ 'xw+': 706,+ a: 1089,+ ax: 1217,+ xa: 1217,+ 'a+': 1090,+ 'ax+': 1218,+ 'xa+': 1218,+ };+ function Rb(a) {+ var b = ['r', 'w', 'rw'][a & 3];+ a & 512 && (b += 'w');+ return b;+ }+ function Ob(a, b) {+ if (Ib) return 0;+ if (-1 === b.indexOf('r') || a.mode & 292) {+ if (+ (-1 !== b.indexOf('w') && !(a.mode & 146)) ||+ (-1 !== b.indexOf('x') && !(a.mode & 73))+ )+ return 2;+ } else return 2;+ return 0;+ }+ function Sb(a, b) {+ try {+ return Cb(a, b), 20;+ } catch (c) {}+ return Ob(a, 'wx');+ }+ function Tb(a) {+ var b = 4096;+ for (a = a || 0; a <= b; a++) if (!Fb[a]) return a;+ throw new Q(33);+ }+ function Ub(a, b) {+ Vb || ((Vb = function () {}), (Vb.prototype = {}));+ var c = new Vb(),+ d;+ for (d in a) c[d] = a[d];+ a = c;+ b = Tb(b);+ a.jb = b;+ return (Fb[b] = a);+ }+ var zb = {+ open: function (a) {+ a.Wa = Eb[a.node.Bb].Wa;+ a.Wa.open && a.Wa.open(a);+ },+ nb: function () {+ throw new Q(70);+ },+ };+ function vb(a, b) {+ Eb[a] = { Wa: b };+ }+ function Wb(a, b) {+ var c = '/' === b,+ d = !b;+ if (c && Db) throw new Q(10);+ if (!c && !d) {+ var e = Kb(b, { Ub: !1 });+ b = e.path;+ e = e.node;+ if (e.Ab) throw new Q(10);+ if (16384 !== (e.mode & 61440)) throw new Q(54);+ }+ b = { type: a, od: {}, $b: b, Bc: [] };+ a = a.ib(b);+ a.ib = b;+ b.root = a;+ c ? (Db = a) : e && ((e.Ab = b), e.ib && e.ib.Bc.push(b));+ }+ function Xb(a, b, c) {+ var d = Kb(a, { parent: !0 }).node;+ a = qb(a);+ if (!a || '.' === a || '..' === a) throw new Q(28);+ var e = Sb(d, a);+ if (e) throw new Q(e);+ if (!d.Va.zb) throw new Q(63);+ return d.Va.zb(d, a, b, c);+ }+ function S(a) {+ Xb(a, 16895, 0);+ }+ function Yb(a, b, c) {+ 'undefined' === typeof c && ((c = b), (b = 438));+ Xb(a, b | 8192, c);+ }+ function Zb(a, b) {+ if (!sb(a)) throw new Q(44);+ var c = Kb(b, { parent: !0 }).node;+ if (!c) throw new Q(44);+ b = qb(b);+ var d = Sb(c, b);+ if (d) throw new Q(d);+ if (!c.Va.Db) throw new Q(63);+ c.Va.Db(c, b, a);+ }+ function Lb(a) {+ a = Kb(a).node;+ if (!a) throw new Q(44);+ if (!a.Va.ub) throw new Q(28);+ return sb(Mb(a.parent), a.Va.ub(a));+ }+ function $b(a, b, c, d) {+ if ('' === a) throw new Q(44);+ if ('string' === typeof b) {+ var e = Qb[b];+ if ('undefined' === typeof e)+ throw Error('Unknown file open mode: ' + b);+ b = e;+ }+ c = b & 64 ? (('undefined' === typeof c ? 438 : c) & 4095) | 32768 : 0;+ if ('object' === typeof a) var g = a;+ else {+ a = ob(a);+ try {+ g = Kb(a, { Tb: !(b & 131072) }).node;+ } catch (k) {}+ }+ e = !1;+ if (b & 64)+ if (g) {+ if (b & 128) throw new Q(20);+ } else (g = Xb(a, c, 0)), (e = !0);+ if (!g) throw new Q(44);+ 8192 === (g.mode & 61440) && (b &= -513);+ if (b & 65536 && 16384 !== (g.mode & 61440)) throw new Q(54);+ if (+ !e &&+ (c = g+ ? 40960 === (g.mode & 61440)+ ? 32+ : 16384 === (g.mode & 61440) && ('r' !== Rb(b) || b & 512)+ ? 31+ : Ob(g, Rb(b))+ : 44)+ )+ throw new Q(c);+ if (b & 512) {+ c = g;+ var h;+ 'string' === typeof c ? (h = Kb(c, { Tb: !0 }).node) : (h = c);+ if (!h.Va.gb) throw new Q(63);+ if (16384 === (h.mode & 61440)) throw new Q(31);+ if (32768 !== (h.mode & 61440)) throw new Q(28);+ if ((c = Ob(h, 'w'))) throw new Q(c);+ h.Va.gb(h, { size: 0, timestamp: Date.now() });+ }+ b &= -131713;+ d = Ub(+ {+ node: g,+ path: Mb(g),+ flags: b,+ seekable: !0,+ position: 0,+ Wa: g.Wa,+ Rc: [],+ error: !1,+ },+ d,+ );+ d.Wa.open && d.Wa.open(d);+ !z.logReadFiles ||+ b & 1 ||+ (ac || (ac = {}),+ a in ac ||+ ((ac[a] = 1), G('FS.trackingDelegate error on read file: ' + a)));+ try {+ Jb.onOpenFile &&+ ((g = 0),+ 1 !== (b & 2097155) && (g |= 1),+ 0 !== (b & 2097155) && (g |= 2),+ Jb.onOpenFile(a, g));+ } catch (k) {+ G(+ "FS.trackingDelegate['onOpenFile']('" ++ a ++ "', flags) threw an exception: " ++ k.message,+ );+ }+ return d;+ }+ function bc(a, b, c) {+ if (null === a.jb) throw new Q(8);+ if (!a.seekable || !a.Wa.nb) throw new Q(70);+ if (0 != c && 1 != c && 2 != c) throw new Q(28);+ a.position = a.Wa.nb(a, b, c);+ a.Rc = [];+ }+ function cc() {+ Q ||+ ((Q = function (a, b) {+ this.node = b;+ this.Ic = function (c) {+ this.mb = c;+ };+ this.Ic(a);+ this.message = 'FS error';+ }),+ (Q.prototype = Error()),+ (Q.prototype.constructor = Q),+ [44].forEach(function (a) {+ Bb[a] = new Q(a);+ Bb[a].stack = '<generic error, no stack>';+ }));+ }+ var dc;+ function ec(a, b) {+ var c = 0;+ a && (c |= 365);+ b && (c |= 146);+ return c;+ }+ function fc(a, b, c) {+ a = ob('/dev/' + a);+ var d = ec(!!b, !!c);+ gc || (gc = 64);+ var e = (gc++ << 8) | 0;+ vb(e, {+ open: function (g) {+ g.seekable = !1;+ },+ close: function () {+ c && c.buffer && c.buffer.length && c(10);+ },+ read: function (g, h, k, l) {+ for (var q = 0, r = 0; r < l; r++) {+ try {+ var v = b();+ } catch (y) {+ throw new Q(29);+ }+ if (void 0 === v && 0 === q) throw new Q(6);+ if (null === v || void 0 === v) break;+ q++;+ h[k + r] = v;+ }+ q && (g.node.timestamp = Date.now());+ return q;+ },+ write: function (g, h, k, l) {+ for (var q = 0; q < l; q++)+ try {+ c(h[k + q]);+ } catch (r) {+ throw new Q(29);+ }+ l && (g.node.timestamp = Date.now());+ return q;+ },+ });+ Yb(a, d, e);+ }+ var gc,+ hc = {},+ Vb,+ ac,+ ic = void 0;+ function jc() {+ ic += 4;+ return w()[(ic - 4) >> 2];+ }+ function kc(a) {+ a = Fb[a];+ if (!a) throw new Q(8);+ return a;+ }+ function lc(a, b, c) {+ if (D) return T(1, 1, a, b, c);+ ic = c;+ try {+ var d = kc(a);+ switch (b) {+ case 0:+ var e = jc();+ return 0 > e ? -28 : $b(d.path, d.flags, 0, e).jb;+ case 1:+ case 2:+ return 0;+ case 3:+ return d.flags;+ case 4:+ return (e = jc()), (d.flags |= e), 0;+ case 12:+ return (e = jc()), (ca()[(e + 0) >> 1] = 2), 0;+ case 13:+ case 14:+ return 0;+ case 16:+ case 8:+ return -28;+ case 9:+ return (w()[mc() >> 2] = 28), -1;+ default:+ return -28;+ }+ } catch (g) {+ return ('undefined' !== typeof hc && g instanceof Q) || H(g), -g.mb;+ }+ }+ function nc(a, b, c) {+ if (D) return T(2, 1, a, b, c);+ ic = c;+ try {+ var d = kc(a);+ switch (b) {+ case 21509:+ case 21505:+ return d.Ya ? 0 : -59;+ case 21510:+ case 21511:+ case 21512:+ case 21506:+ case 21507:+ case 21508:+ return d.Ya ? 0 : -59;+ case 21519:+ if (!d.Ya) return -59;+ var e = jc();+ return (w()[e >> 2] = 0);+ case 21520:+ return d.Ya ? -28 : -59;+ case 21531:+ a = e = jc();+ if (!d.Wa.zc) throw new Q(59);+ return d.Wa.zc(d, b, a);+ case 21523:+ return d.Ya ? 0 : -59;+ case 21524:+ return d.Ya ? 0 : -59;+ default:+ H('bad ioctl syscall ' + b);+ }+ } catch (g) {+ return ('undefined' !== typeof hc && g instanceof Q) || H(g), -g.mb;+ }+ }+ function oc(a, b, c) {+ if (D) return T(3, 1, a, b, c);+ ic = c;+ try {+ var d = I(a),+ e = jc();+ return $b(d, b, e).jb;+ } catch (g) {+ return ('undefined' !== typeof hc && g instanceof Q) || H(g), -g.mb;+ }+ }+ var pc = {};+ function qc(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function rc(a) {+ return this.fromWireType(x()[a >> 2]);+ }+ var sc = {},+ tc = {},+ uc = {};+ function vc(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function wc(a, b) {+ a = vc(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function xc(a) {+ var b = Error,+ c = wc(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var yc = void 0;+ function zc(a, b, c) {+ function d(k) {+ k = c(k);+ if (k.length !== a.length)+ throw new yc('Mismatched type converter count');+ for (var l = 0; l < a.length; ++l) U(a[l], k[l]);+ }+ a.forEach(function (k) {+ uc[k] = b;+ });+ var e = Array(b.length),+ g = [],+ h = 0;+ b.forEach(function (k, l) {+ tc.hasOwnProperty(k)+ ? (e[l] = tc[k])+ : (g.push(k),+ sc.hasOwnProperty(k) || (sc[k] = []),+ sc[k].push(function () {+ e[l] = tc[k];+ ++h;+ h === g.length && d(e);+ }));+ });+ 0 === g.length && d(e);+ }+ function Ac(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var Bc = void 0;+ function V(a) {+ for (var b = ''; t()[a]; ) b += Bc[t()[a++]];+ return b;+ }+ var Cc = void 0;+ function W(a) {+ throw new Cc(a);+ }+ function U(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || W('type "' + d + '" must have a positive integer typeid pointer');+ if (tc.hasOwnProperty(a)) {+ if (c.uc) return;+ W("Cannot register type '" + d + "' twice");+ }+ tc[a] = b;+ delete uc[a];+ sc.hasOwnProperty(a) &&+ ((b = sc[a]),+ delete sc[a],+ b.forEach(function (e) {+ e();+ }));+ }+ var Dc = [],+ X = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Ec(a) {+ 4 < a && 0 === --X[a].Lb && ((X[a] = void 0), Dc.push(a));+ }+ function Fc(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Dc.length ? Dc.pop() : X.length;+ X[b] = { Lb: 1, value: a };+ return b;+ }+ }+ function Gc(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Hc(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(ja()[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(la()[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Ic(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = wc(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Jc(a, b) {+ var c = z;+ if (void 0 === c[a].eb) {+ var d = c[a];+ c[a] = function () {+ c[a].eb.hasOwnProperty(arguments.length) ||+ W(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].eb ++ ')!',+ );+ return c[a].eb[arguments.length].apply(this, arguments);+ };+ c[a].eb = [];+ c[a].eb[d.lc] = d;+ }+ }+ function Kc(a, b, c) {+ z.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== z[a].eb && void 0 !== z[a].eb[c])) &&+ W("Cannot register public name '" + a + "' twice"),+ Jc(a, a),+ z.hasOwnProperty(c) &&+ W(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (z[a].eb[c] = b))+ : ((z[a] = b), void 0 !== c && (z[a].nd = c));+ }+ function Lc(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(w()[(b >> 2) + d]);+ return c;+ }+ function Mc(a, b) {+ ya(+ 0 <= a.indexOf('j'),+ 'getDynCaller should only be called with i64 sigs',+ );+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ return $a(a, b, c);+ };+ }+ function Nc(a, b) {+ a = V(a);+ var c = -1 != a.indexOf('j') ? Mc(a, b) : J.get(b);+ 'function' !== typeof c &&+ W('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var Oc = void 0;+ function Pc(a) {+ a = Qc(a);+ var b = V(a);+ O(a);+ return b;+ }+ function Rc(a, b) {+ function c(g) {+ e[g] || tc[g] || (uc[g] ? uc[g].forEach(c) : (d.push(g), (e[g] = !0)));+ }+ var d = [],+ e = {};+ b.forEach(c);+ throw new Oc(a + ': ' + d.map(Pc).join([', ']));+ }+ function Sc(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return f()[d];+ }+ : function (d) {+ return t()[d];+ };+ case 1:+ return c+ ? function (d) {+ return ca()[d >> 1];+ }+ : function (d) {+ return ea()[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return w()[d >> 2];+ }+ : function (d) {+ return x()[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var Tc = {};+ function Uc() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function Vc(a, b) {+ var c = tc[a];+ void 0 === c && W(b + ' has unknown type ' + Pc(a));+ return c;+ }+ var Wc = {};+ function Xc(a, b, c) {+ if (0 >= a || a > f().length || a & 1) return -28;+ a = Atomics.wait(w(), a >> 2, b, c);+ if ('timed-out' === a) return -73;+ if ('not-equal' === a) return -6;+ if ('ok' === a) return 0;+ throw 'Atomics.wait returned an unexpected value ' + a;+ }+ function T(a, b) {+ for (+ var c = arguments.length - 2, d = Y(), e = Yc(8 * c), g = e >> 3, h = 0;+ h < c;+ h+++ )+ la()[g + h] = arguments[2 + h];+ c = Zc(a, c, e, b);+ P(d);+ return c;+ }+ var $c = [],+ ad = [],+ bd = [+ 0,+ 'undefined' !== typeof document ? document : 0,+ 'undefined' !== typeof window ? window : 0,+ ];+ function cd(a) {+ a = 2 < a ? I(a) : a;+ return (+ bd[a] ||+ ('undefined' !== typeof document ? document.querySelector(a) : void 0)+ );+ }+ function dd(a, b, c) {+ var d = cd(a);+ if (!d) return -4;+ d.yb && ((w()[d.yb >> 2] = b), (w()[(d.yb + 4) >> 2] = c));+ if (d.bc || !d.Yc)+ d.bc && (d = d.bc),+ (a = !1),+ d.xb &&+ d.xb.wb &&+ ((a = d.xb.wb.getParameter(2978)),+ (a =+ 0 === a[0] &&+ 0 === a[1] &&+ a[2] === d.width &&+ a[3] === d.height)),+ (d.width = b),+ (d.height = c),+ a && d.xb.wb.viewport(0, 0, b, c);+ else {+ if (d.yb) {+ d = w()[(d.yb + 8) >> 2];+ a = a ? I(a) : '';+ var e = Y(),+ g = Yc(12),+ h = 0;+ if (a) {+ h = Ca(a) + 1;+ var k = M(h);+ Ba(a, k, h);+ h = k;+ }+ w()[g >> 2] = h;+ w()[(g + 4) >> 2] = b;+ w()[(g + 8) >> 2] = c;+ ed(0, d, 657457152, 0, h, g);+ P(e);+ return 1;+ }+ return -4;+ }+ return 0;+ }+ function fd(a, b, c) {+ return D ? T(4, 1, a, b, c) : dd(a, b, c);+ }+ function gd(a) {+ var b = a.getExtension('ANGLE_instanced_arrays');+ b &&+ ((a.vertexAttribDivisor = function (c, d) {+ b.vertexAttribDivisorANGLE(c, d);+ }),+ (a.drawArraysInstanced = function (c, d, e, g) {+ b.drawArraysInstancedANGLE(c, d, e, g);+ }),+ (a.drawElementsInstanced = function (c, d, e, g, h) {+ b.drawElementsInstancedANGLE(c, d, e, g, h);+ }));+ }+ function hd(a) {+ var b = a.getExtension('OES_vertex_array_object');+ b &&+ ((a.createVertexArray = function () {+ return b.createVertexArrayOES();+ }),+ (a.deleteVertexArray = function (c) {+ b.deleteVertexArrayOES(c);+ }),+ (a.bindVertexArray = function (c) {+ b.bindVertexArrayOES(c);+ }),+ (a.isVertexArray = function (c) {+ return b.isVertexArrayOES(c);+ }));+ }+ function id(a) {+ var b = a.getExtension('WEBGL_draw_buffers');+ b &&+ (a.drawBuffers = function (c, d) {+ b.drawBuffersWEBGL(c, d);+ });+ }+ function jd(a) {+ a || (a = kd);+ if (!a.vc) {+ a.vc = !0;+ var b = a.wb;+ gd(b);+ hd(b);+ id(b);+ b.ad = b.getExtension('EXT_disjoint_timer_query');+ b.ld = b.getExtension('WEBGL_multi_draw');+ var c = 'OES_texture_float OES_texture_half_float OES_standard_derivatives OES_vertex_array_object WEBGL_compressed_texture_s3tc WEBGL_depth_texture OES_element_index_uint EXT_texture_filter_anisotropic EXT_frag_depth WEBGL_draw_buffers ANGLE_instanced_arrays OES_texture_float_linear OES_texture_half_float_linear EXT_blend_minmax EXT_shader_texture_lod EXT_texture_norm16 WEBGL_compressed_texture_pvrtc EXT_color_buffer_half_float WEBGL_color_buffer_float EXT_sRGB WEBGL_compressed_texture_etc1 EXT_disjoint_timer_query WEBGL_compressed_texture_etc WEBGL_compressed_texture_astc EXT_color_buffer_float WEBGL_compressed_texture_s3tc_srgb EXT_disjoint_timer_query_webgl2 WEBKIT_WEBGL_compressed_texture_pvrtc'.split(+ ' ',+ );+ (b.getSupportedExtensions() || []).forEach(function (d) {+ -1 != c.indexOf(d) && b.getExtension(d);+ });+ }+ }+ var kd,+ ld = ['default', 'low-power', 'high-performance'];+ function md(a) {+ if (D) return T(5, 1, a);+ try {+ var b = kc(a);+ if (null === b.jb) throw new Q(8);+ b.Ib && (b.Ib = null);+ try {+ b.Wa.close && b.Wa.close(b);+ } catch (c) {+ throw c;+ } finally {+ Fb[b.jb] = null;+ }+ b.jb = null;+ return 0;+ } catch (c) {+ return ('undefined' !== typeof hc && c instanceof Q) || H(c), c.mb;+ }+ }+ function nd(a, b, c, d) {+ if (D) return T(6, 1, a, b, c, d);+ try {+ a: {+ for (var e = kc(a), g = (a = 0); g < c; g++) {+ var h = w()[(b + 8 * g) >> 2],+ k = w()[(b + (8 * g + 4)) >> 2],+ l = e,+ q = f(),+ r = h,+ v = k,+ y = void 0;+ if (0 > v || 0 > y) throw new Q(28);+ if (null === l.jb) throw new Q(8);+ if (1 === (l.flags & 2097155)) throw new Q(8);+ if (16384 === (l.node.mode & 61440)) throw new Q(31);+ if (!l.Wa.read) throw new Q(28);+ var B = 'undefined' !== typeof y;+ if (!B) y = l.position;+ else if (!l.seekable) throw new Q(70);+ var u = l.Wa.read(l, q, r, v, y);+ B || (l.position += u);+ var N = u;+ if (0 > N) {+ var E = -1;+ break a;+ }+ a += N;+ if (N < k) break;+ }+ E = a;+ }+ w()[d >> 2] = E;+ return 0;+ } catch (C) {+ return ('undefined' !== typeof hc && C instanceof Q) || H(C), C.mb;+ }+ }+ function od(a, b, c, d, e) {+ if (D) return T(7, 1, a, b, c, d, e);+ try {+ var g = kc(a);+ a = 4294967296 * c + (b >>> 0);+ if (-9007199254740992 >= a || 9007199254740992 <= a) return -61;+ bc(g, a, d);+ Wa = [+ g.position >>> 0,+ ((Va = g.position),+ 1 <= +Math.abs(Va)+ ? 0 < Va+ ? (Math.min(+Math.floor(Va / 4294967296), 4294967295) | 0) >>> 0+ : ~~+Math.ceil((Va - +(~~Va >>> 0)) / 4294967296) >>> 0+ : 0),+ ];+ w()[e >> 2] = Wa[0];+ w()[(e + 4) >> 2] = Wa[1];+ g.Ib && 0 === a && 0 === d && (g.Ib = null);+ return 0;+ } catch (h) {+ return ('undefined' !== typeof hc && h instanceof Q) || H(h), h.mb;+ }+ }+ function pd(a, b, c, d) {+ if (D) return T(8, 1, a, b, c, d);+ try {+ a: {+ for (var e = kc(a), g = (a = 0); g < c; g++) {+ var h = w()[(b + 8 * g) >> 2],+ k = w()[(b + (8 * g + 4)) >> 2],+ l = e,+ q = f(),+ r = h,+ v = k,+ y = void 0;+ if (0 > v || 0 > y) throw new Q(28);+ if (null === l.jb) throw new Q(8);+ if (0 === (l.flags & 2097155)) throw new Q(8);+ if (16384 === (l.node.mode & 61440)) throw new Q(31);+ if (!l.Wa.write) throw new Q(28);+ l.seekable && l.flags & 1024 && bc(l, 0, 2);+ var B = 'undefined' !== typeof y;+ if (!B) y = l.position;+ else if (!l.seekable) throw new Q(70);+ var u = l.Wa.write(l, q, r, v, y, void 0);+ B || (l.position += u);+ try {+ if (l.path && Jb.onWriteToFile) Jb.onWriteToFile(l.path);+ } catch (C) {+ G(+ "FS.trackingDelegate['onWriteToFile']('" ++ l.path ++ "') threw an exception: " ++ C.message,+ );+ }+ var N = u;+ if (0 > N) {+ var E = -1;+ break a;+ }+ a += N;+ }+ E = a;+ }+ w()[d >> 2] = E;+ return 0;+ } catch (C) {+ return ('undefined' !== typeof hc && C instanceof Q) || H(C), C.mb;+ }+ }+ function kb(a) {+ if (D)+ throw 'Internal Error! spawnThread() can only ever be called from main application thread!';+ var b = L.qc();+ if (void 0 !== b.ab) throw 'Internal error!';+ if (!a.qb) throw 'Internal error, no pthread ptr!';+ L.lb.push(b);+ for (var c = M(512), d = 0; 128 > d; ++d) w()[(c + 4 * d) >> 2] = 0;+ var e = a.ob + a.rb;+ d = L.fb[a.qb] = {+ worker: b,+ ob: a.ob,+ rb: a.rb,+ Fb: a.Fb,+ jc: a.qb,+ threadInfoStruct: a.qb,+ };+ var g = d.threadInfoStruct >> 2;+ Atomics.store(x(), g, 0);+ Atomics.store(x(), g + 1, 0);+ Atomics.store(x(), g + 2, 0);+ Atomics.store(x(), g + 17, a.Pb);+ Atomics.store(x(), g + 26, c);+ Atomics.store(x(), g + 12, 0);+ Atomics.store(x(), g + 10, d.threadInfoStruct);+ Atomics.store(x(), g + 11, 42);+ Atomics.store(x(), g + 27, a.rb);+ Atomics.store(x(), g + 21, a.rb);+ Atomics.store(x(), g + 20, e);+ Atomics.store(x(), g + 29, e);+ Atomics.store(x(), g + 30, a.Pb);+ Atomics.store(x(), g + 32, a.hc);+ Atomics.store(x(), g + 33, a.ic);+ c = qd() + 40;+ Atomics.store(x(), g + 44, c);+ b.ab = d;+ var h = {+ cmd: 'run',+ start_routine: a.Nc,+ arg: a.sb,+ threadInfoStruct: a.qb,+ selfThreadId: a.qb,+ parentThreadId: a.Dc,+ stackBase: a.ob,+ stackSize: a.rb,+ };+ b.vb = function () {+ h.time = performance.now();+ b.postMessage(h, a.Qc);+ };+ b.loaded && (b.vb(), delete b.vb);+ }+ function rd() {+ return ab | 0;+ }+ z._pthread_self = rd;+ function sd(a, b) {+ if (!a) return G('pthread_join attempted on a null thread pointer!'), 71;+ if (D && selfThreadId == a)+ return G('PThread ' + a + ' is attempting to join to itself!'), 16;+ if (!D && L.$a == a)+ return G('Main thread ' + a + ' is attempting to join to itself!'), 16;+ if (w()[(a + 12) >> 2] !== a)+ return (+ G(+ 'pthread_join attempted on thread ' ++ a ++ ', which does not point to a valid thread, or does not exist anymore!',+ ),+ 71+ );+ if (Atomics.load(x(), (a + 68) >> 2))+ return (+ G('Attempted to join thread ' + a + ', which was already detached!'),+ 28+ );+ for (;;) {+ var c = Atomics.load(x(), (a + 0) >> 2);+ if (1 == c)+ return (+ (c = Atomics.load(x(), (a + 4) >> 2)),+ b && (w()[b >> 2] = c),+ Atomics.store(x(), (a + 68) >> 2, 1),+ D ? postMessage({ cmd: 'cleanupThread', thread: a }) : fb(a),+ 0+ );+ if (+ D &&+ threadInfoStruct &&+ !Atomics.load(x(), (threadInfoStruct + 60) >> 2) &&+ 2 == Atomics.load(x(), (threadInfoStruct + 0) >> 2)+ )+ throw 'Canceled!';+ D || jb();+ Xc(a + 0, c, D ? 100 : 1);+ }+ }+ D || L.wc();+ function Pb(a, b, c, d) {+ a || (a = this);+ this.parent = a;+ this.ib = a.ib;+ this.Ab = null;+ this.id = Gb++;+ this.name = b;+ this.mode = c;+ this.Va = {};+ this.Wa = {};+ this.Bb = d;+ }+ Object.defineProperties(Pb.prototype, {+ read: {+ get: function () {+ return 365 === (this.mode & 365);+ },+ set: function (a) {+ a ? (this.mode |= 365) : (this.mode &= -366);+ },+ },+ write: {+ get: function () {+ return 146 === (this.mode & 146);+ },+ set: function (a) {+ a ? (this.mode |= 146) : (this.mode &= -147);+ },+ },+ });+ cc();+ Hb = Array(4096);+ Wb(R, '/');+ S('/tmp');+ S('/home');+ S('/home/web_user');+ (function () {+ S('/dev');+ vb(259, {+ read: function () {+ return 0;+ },+ write: function (b, c, d, e) {+ return e;+ },+ });+ Yb('/dev/null', 259);+ ub(1280, xb);+ ub(1536, yb);+ Yb('/dev/tty', 1280);+ Yb('/dev/tty1', 1536);+ var a = rb();+ fc('random', a);+ fc('urandom', a);+ S('/dev/shm');+ S('/dev/shm/tmp');+ })();+ S('/proc');+ S('/proc/self');+ S('/proc/self/fd');+ Wb(+ {+ ib: function () {+ var a = Ab('/proc/self', 'fd', 16895, 73);+ a.Va = {+ tb: function (b, c) {+ var d = Fb[+c];+ if (!d) throw new Q(8);+ b = {+ parent: null,+ ib: { $b: 'fake' },+ Va: {+ ub: function () {+ return d.path;+ },+ },+ };+ return (b.parent = b);+ },+ };+ return a;+ },+ },+ '/proc/self/fd',+ );+ yc = z.InternalError = xc('InternalError');+ for (var td = Array(256), ud = 0; 256 > ud; ++ud)+ td[ud] = String.fromCharCode(ud);+ Bc = td;+ Cc = z.BindingError = xc('BindingError');+ z.count_emval_handles = function () {+ for (var a = 0, b = 5; b < X.length; ++b) void 0 !== X[b] && ++a;+ return a;+ };+ z.get_first_emval = function () {+ for (var a = 5; a < X.length; ++a) if (void 0 !== X[a]) return X[a];+ return null;+ };+ Oc = z.UnboundTypeError = xc('UnboundTypeError');+ var vd = [null, lc, nc, oc, fd, md, nd, od, pd];+ D ||+ La.push({+ pc: function () {+ wd();+ },+ });+ var Gd = {+ m: function (a, b, c, d) {+ H(+ 'Assertion failed: ' ++ I(a) ++ ', at: ' ++ [b ? I(b) : 'unknown filename', c, d ? I(d) : 'unknown function'],+ );+ },+ fa: function (a, b) {+ return mb(a, b);+ },+ C: lc,+ Y: nc,+ Z: oc,+ K: function (a) {+ var b = pc[a];+ delete pc[a];+ var c = b.Ec,+ d = b.Fc,+ e = b.Sb,+ g = e+ .map(function (h) {+ return h.tc;+ })+ .concat(+ e.map(function (h) {+ return h.Lc;+ }),+ );+ zc([a], g, function (h) {+ var k = {};+ e.forEach(function (l, q) {+ var r = h[q],+ v = l.rc,+ y = l.sc,+ B = h[q + e.length],+ u = l.Kc,+ N = l.Mc;+ k[l.oc] = {+ read: function (E) {+ return r.fromWireType(v(y, E));+ },+ write: function (E, C) {+ var va = [];+ u(N, E, B.toWireType(va, C));+ qc(va);+ },+ };+ });+ return [+ {+ name: b.name,+ fromWireType: function (l) {+ var q = {},+ r;+ for (r in k) q[r] = k[r].read(l);+ d(l);+ return q;+ },+ toWireType: function (l, q) {+ for (var r in k)+ if (!(r in q))+ throw new TypeError('Missing field: "' + r + '"');+ var v = c();+ for (r in k) k[r].write(v, q[r]);+ null !== l && l.push(d, v);+ return v;+ },+ argPackAdvance: 8,+ readValueFromPointer: rc,+ hb: d,+ },+ ];+ });+ },+ aa: function (a, b, c, d, e) {+ var g = Ac(c);+ b = V(b);+ U(a, {+ name: b,+ fromWireType: function (h) {+ return !!h;+ },+ toWireType: function (h, k) {+ return k ? d : e;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (h) {+ if (1 === c) var k = f();+ else if (2 === c) k = ca();+ else if (4 === c) k = w();+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(k[h >> g]);+ },+ hb: null,+ });+ },+ $: function (a, b) {+ b = V(b);+ U(a, {+ name: b,+ fromWireType: function (c) {+ var d = X[c].value;+ Ec(c);+ return d;+ },+ toWireType: function (c, d) {+ return Fc(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: rc,+ hb: null,+ });+ },+ F: function (a, b, c) {+ c = Ac(c);+ b = V(b);+ U(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, e) {+ if ('number' !== typeof e && 'boolean' !== typeof e)+ throw new TypeError(+ 'Cannot convert "' + Gc(e) + '" to ' + this.name,+ );+ return e;+ },+ argPackAdvance: 8,+ readValueFromPointer: Hc(b, c),+ hb: null,+ });+ },+ J: function (a, b, c, d, e, g) {+ var h = Lc(b, c);+ a = V(a);+ e = Nc(d, e);+ Kc(+ a,+ function () {+ Rc('Cannot call ' + a + ' due to unbound types', h);+ },+ b - 1,+ );+ zc([], h, function (k) {+ var l = a,+ q = a;+ k = [k[0], null].concat(k.slice(1));+ var r = e,+ v = k.length;+ 2 > v &&+ W(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var y = null !== k[1] && !1, B = !1, u = 1; u < k.length; ++u)+ if (null !== k[u] && void 0 === k[u].hb) {+ B = !0;+ break;+ }+ var N = 'void' !== k[0].name,+ E = '',+ C = '';+ for (u = 0; u < v - 2; ++u)+ (E += (0 !== u ? ', ' : '') + 'arg' + u),+ (C += (0 !== u ? ', ' : '') + 'arg' + u + 'Wired');+ q =+ 'return function ' ++ vc(q) ++ '(' ++ E ++ ') {\nif (arguments.length !== ' ++ (v - 2) ++ ") {\nthrowBindingError('function " ++ q ++ " called with ' + arguments.length + ' arguments, expected " ++ (v - 2) ++ " args!');\n}\n";+ B && (q += 'var destructors = [];\n');+ var va = B ? 'destructors' : 'null';+ E = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ r = [W, r, g, qc, k[0], k[1]];+ y &&+ (q += 'var thisWired = classParam.toWireType(' + va + ', this);\n');+ for (u = 0; u < v - 2; ++u)+ (q +=+ 'var arg' ++ u ++ 'Wired = argType' ++ u ++ '.toWireType(' ++ va ++ ', arg' ++ u ++ '); // ' ++ k[u + 2].name ++ '\n'),+ E.push('argType' + u),+ r.push(k[u + 2]);+ y && (C = 'thisWired' + (0 < C.length ? ', ' : '') + C);+ q +=+ (N ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < C.length ? ', ' : '') ++ C ++ ');\n';+ if (B) q += 'runDestructors(destructors);\n';+ else+ for (u = y ? 1 : 2; u < k.length; ++u)+ (v = 1 === u ? 'thisWired' : 'arg' + (u - 2) + 'Wired'),+ null !== k[u].hb &&+ ((q += v + '_dtor(' + v + '); // ' + k[u].name + '\n'),+ E.push(v + '_dtor'),+ r.push(k[u].hb));+ N && (q += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ E.push(q + '}\n');+ k = Ic(E).apply(null, r);+ u = b - 1;+ if (!z.hasOwnProperty(l))+ throw new yc('Replacing nonexistant public symbol');+ void 0 !== z[l].eb && void 0 !== u+ ? (z[l].eb[u] = k)+ : ((z[l] = k), (z[l].lc = u));+ return [];+ });+ },+ n: function (a, b, c, d, e) {+ function g(q) {+ return q;+ }+ b = V(b);+ -1 === e && (e = 4294967295);+ var h = Ac(c);+ if (0 === d) {+ var k = 32 - 8 * c;+ g = function (q) {+ return (q << k) >>> k;+ };+ }+ var l = -1 != b.indexOf('unsigned');+ U(a, {+ name: b,+ fromWireType: g,+ toWireType: function (q, r) {+ if ('number' !== typeof r && 'boolean' !== typeof r)+ throw new TypeError(+ 'Cannot convert "' + Gc(r) + '" to ' + this.name,+ );+ if (r < d || r > e)+ throw new TypeError(+ 'Passing a number "' ++ Gc(r) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ e ++ ']!',+ );+ return l ? r >>> 0 : r | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: Sc(b, h, 0 !== d),+ hb: null,+ });+ },+ k: function (a, b, c) {+ function d(g) {+ g >>= 2;+ var h = x();+ return new e(n, h[g + 1], h[g]);+ }+ var e = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = V(c);+ U(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { uc: !0 },+ );+ },+ G: function (a, b) {+ b = V(b);+ var c = 'std::string' === b;+ U(a, {+ name: b,+ fromWireType: function (d) {+ var e = x()[d >> 2];+ if (c)+ for (var g = d + 4, h = 0; h <= e; ++h) {+ var k = d + 4 + h;+ if (h == e || 0 == t()[k]) {+ g = I(g, k - g);+ if (void 0 === l) var l = g;+ else (l += String.fromCharCode(0)), (l += g);+ g = k + 1;+ }+ }+ else {+ l = Array(e);+ for (h = 0; h < e; ++h)+ l[h] = String.fromCharCode(t()[d + 4 + h]);+ l = l.join('');+ }+ O(d);+ return l;+ },+ toWireType: function (d, e) {+ e instanceof ArrayBuffer && (e = new Uint8Array(e));+ var g = 'string' === typeof e;+ g ||+ e instanceof Uint8Array ||+ e instanceof Uint8ClampedArray ||+ e instanceof Int8Array ||+ W('Cannot pass non-string to std::string');+ var h = (c && g+ ? function () {+ return Ca(e);+ }+ : function () {+ return e.length;+ })(),+ k = M(4 + h + 1);+ x()[k >> 2] = h;+ if (c && g) Ba(e, k + 4, h + 1);+ else if (g)+ for (g = 0; g < h; ++g) {+ var l = e.charCodeAt(g);+ 255 < l &&+ (O(k),+ W('String has UTF-16 code units that do not fit in 8 bits'));+ t()[k + 4 + g] = l;+ }+ else for (g = 0; g < h; ++g) t()[k + 4 + g] = e[g];+ null !== d && d.push(O, k);+ return k;+ },+ argPackAdvance: 8,+ readValueFromPointer: rc,+ hb: function (d) {+ O(d);+ },+ });+ },+ x: function (a, b, c) {+ c = V(c);+ if (2 === b) {+ var d = Da;+ var e = Ea;+ var g = Fa;+ var h = function () {+ return ea();+ };+ var k = 1;+ } else+ 4 === b &&+ ((d = Ga),+ (e = Ha),+ (g = Ia),+ (h = function () {+ return x();+ }),+ (k = 2));+ U(a, {+ name: c,+ fromWireType: function (l) {+ for (+ var q = x()[l >> 2], r = h(), v, y = l + 4, B = 0;+ B <= q;+ ++B+ ) {+ var u = l + 4 + B * b;+ if (B == q || 0 == r[u >> k])+ (y = d(y, u - y)),+ void 0 === v+ ? (v = y)+ : ((v += String.fromCharCode(0)), (v += y)),+ (y = u + b);+ }+ O(l);+ return v;+ },+ toWireType: function (l, q) {+ 'string' !== typeof q &&+ W('Cannot pass non-string to C++ string type ' + c);+ var r = g(q),+ v = M(4 + r + b);+ x()[v >> 2] = r >> k;+ e(q, v + 4, r + b);+ null !== l && l.push(O, v);+ return v;+ },+ argPackAdvance: 8,+ readValueFromPointer: rc,+ hb: function (l) {+ O(l);+ },+ });+ },+ N: function (a, b, c, d, e, g) {+ pc[a] = { name: V(b), Ec: Nc(c, d), Fc: Nc(e, g), Sb: [] };+ },+ p: function (a, b, c, d, e, g, h, k, l, q) {+ pc[a].Sb.push({+ oc: V(b),+ tc: c,+ rc: Nc(d, e),+ sc: g,+ Lc: h,+ Kc: Nc(k, l),+ Mc: q,+ });+ },+ ba: function (a, b) {+ b = V(b);+ U(a, {+ gd: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ T: function (a, b) {+ if (a == b) postMessage({ cmd: 'processQueuedMainThreadWork' });+ else if (D) postMessage({ targetThread: a, cmd: 'processThreadQueue' });+ else {+ a = (a = L.fb[a]) && a.worker;+ if (!a) return;+ a.postMessage({ cmd: 'processThreadQueue' });+ }+ return 1;+ },+ w: Ec,+ _: function (a) {+ if (0 === a) return Fc(Uc());+ var b = Tc[a];+ a = void 0 === b ? V(a) : b;+ return Fc(Uc()[a]);+ },+ I: function (a) {+ 4 < a && (X[a].Lb += 1);+ },+ U: function (a, b, c, d) {+ a || W('Cannot use deleted val. handle = ' + a);+ a = X[a].value;+ var e = Wc[b];+ if (!e) {+ e = '';+ for (var g = 0; g < b; ++g) e += (0 !== g ? ', ' : '') + 'arg' + g;+ var h =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (g = 0; g < b; ++g)+ h +=+ 'var argType' ++ g ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ g ++ '], "parameter ' ++ g ++ '");\nvar arg' ++ g ++ ' = argType' ++ g ++ '.readValueFromPointer(args);\nargs += argType' ++ g ++ "['argPackAdvance'];\n";+ e = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ h ++ ('var obj = new constructor(' ++ e ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(Vc, z, Fc);+ Wc[b] = e;+ }+ return e(a, c, d);+ },+ o: function () {+ H();+ },+ t: function (a, b, c) {+ ad.length = 0;+ var d;+ for (c >>= 2; (d = t()[b++]); )+ (d = 105 > d) && c & 1 && c++,+ ad.push(d ? la()[c++ >> 1] : w()[c]),+ ++c;+ return Ya[a].apply(null, ad);+ },+ W: function () {},+ A: function () {},+ h: Xc,+ i: eb,+ f: lb,+ v: function () {+ return cb | 0;+ },+ u: function () {+ return bb | 0;+ },+ j: function (a, b) {+ Z(a, b || 1);+ throw 'longjmp';+ },+ P: function (a, b, c) {+ t().copyWithin(a, b, b + c);+ },+ ea: function () {+ return navigator.hardwareConcurrency;+ },+ Q: function (a, b, c) {+ $c.length = b;+ c >>= 3;+ for (var d = 0; d < b; d++) $c[d] = la()[c + d];+ return (0 > a ? Ya[-a - 1] : vd[a]).apply(null, $c);+ },+ q: function (a) {+ a >>>= 0;+ var b = t().length;+ if (a <= b || 2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ m.grow((Math.min(2147483648, d) - n.byteLength + 65535) >>> 16);+ p(m.buffer);+ var e = 1;+ break a;+ } catch (g) {}+ e = void 0;+ }+ if (e) return !0;+ }+ return !1;+ },+ R: function (a, b, c) {+ return cd(a) ? dd(a, b, c) : fd(a, b, c);+ },+ g: function () {},+ S: function (a, b) {+ var c = {};+ b >>= 2;+ c.alpha = !!w()[b];+ c.depth = !!w()[b + 1];+ c.stencil = !!w()[b + 2];+ c.antialias = !!w()[b + 3];+ c.premultipliedAlpha = !!w()[b + 4];+ c.preserveDrawingBuffer = !!w()[b + 5];+ var d = w()[b + 6];+ c.powerPreference = ld[d];+ c.failIfMajorPerformanceCaveat = !!w()[b + 7];+ c.Ac = w()[b + 8];+ c.jd = w()[b + 9];+ c.Qb = w()[b + 10];+ c.nc = w()[b + 11];+ c.pd = w()[b + 12];+ c.rd = w()[b + 13];+ a = cd(a);+ !a || c.nc+ ? (c = 0)+ : (a = a.getContext('webgl', c))+ ? ((b = M(8)),+ (w()[(b + 4) >> 2] = ab | 0),+ (d = { ed: b, attributes: c, version: c.Ac, wb: a }),+ a.canvas && (a.canvas.xb = d),+ ('undefined' === typeof c.Qb || c.Qb) && jd(d),+ (c = b))+ : (c = 0);+ return c;+ },+ E: md,+ X: nd,+ L: od,+ D: pd,+ c: function () {+ return ta | 0;+ },+ O: function () {+ L.xc();+ },+ z: xd,+ M: yd,+ y: zd,+ r: Ad,+ s: Bd,+ l: Cd,+ d: Dd,+ a: m || z.wasmMemory,+ V: function (a) {+ var b = L.Eb.pop();+ a && b();+ },+ B: mb,+ H: function (a, b, c, d) {+ if ('undefined' === typeof SharedArrayBuffer)+ return (+ G(+ 'Current environment does not support SharedArrayBuffer, pthreads are not available!',+ ),+ 6+ );+ if (!a)+ return G('pthread_create called with a null thread pointer!'), 28;+ var e = [];+ if (D && 0 === e.length) return Ed(687865856, a, b, c, d);+ var g = 0,+ h = 0,+ k = 0,+ l = 0;+ if (b) {+ var q = w()[b >> 2];+ q += 81920;+ g = w()[(b + 8) >> 2];+ h = 0 !== w()[(b + 12) >> 2];+ if (0 === w()[(b + 16) >> 2]) {+ var r = w()[(b + 20) >> 2],+ v = w()[(b + 24) >> 2];+ k = b + 20;+ l = b + 24;+ var y = L.Gb ? L.Gb : ab | 0;+ if (k || l)+ if (y)+ if (w()[(y + 12) >> 2] !== y)+ G(+ 'pthread_getschedparam attempted on thread ' ++ y ++ ', which does not point to a valid thread, or does not exist anymore!',+ );+ else {+ var B = Atomics.load(x(), (y + 108 + 20) >> 2);+ y = Atomics.load(x(), (y + 108 + 24) >> 2);+ k && (w()[k >> 2] = B);+ l && (w()[l >> 2] = y);+ }+ else+ G('pthread_getschedparam called with a null thread pointer!');+ k = w()[(b + 20) >> 2];+ l = w()[(b + 24) >> 2];+ w()[(b + 20) >> 2] = r;+ w()[(b + 24) >> 2] = v;+ } else (k = w()[(b + 20) >> 2]), (l = w()[(b + 24) >> 2]);+ } else q = 2097152;+ (b = 0 == g) ? (g = Fd(16, q)) : ((g -= q), ya(0 < g));+ r = M(232);+ for (v = 0; 58 > v; ++v) x()[(r >> 2) + v] = 0;+ w()[a >> 2] = r;+ w()[(r + 12) >> 2] = r;+ a = r + 156;+ w()[a >> 2] = a;+ c = {+ ob: g,+ rb: q,+ Fb: b,+ hc: k,+ ic: l,+ Pb: h,+ Nc: c,+ qb: r,+ Dc: ab | 0,+ sb: d,+ Qc: e,+ };+ D ? ((c.Xc = 'spawnThread'), postMessage(c, e)) : kb(c);+ return 0;+ },+ ca: function (a, b) {+ return sd(a, b);+ },+ e: rd,+ b: function (a) {+ ta = a | 0;+ },+ da: function (a) {+ var b = (Date.now() / 1e3) | 0;+ a && (w()[a >> 2] = b);+ return b;+ },+ };+ (function () {+ function a(e, g) {+ z.asm = e.exports;+ J = z.asm.ga;+ wa = g;+ if (!D) {+ var h = L.bb.length;+ L.bb.forEach(function (k) {+ L.Xb(k, function () {+ if (+ !--h &&+ (K--,+ z.monitorRunDependencies && z.monitorRunDependencies(K),+ 0 == K && (null !== Pa && (clearInterval(Pa), (Pa = null)), Qa))+ ) {+ var l = Qa;+ Qa = null;+ l();+ }+ });+ });+ }+ }+ function b(e) {+ a(e.instance, e.module);+ }+ function c(e) {+ return Ua()+ .then(function (g) {+ return WebAssembly.instantiate(g, d);+ })+ .then(e, function (g) {+ G('failed to asynchronously prepare wasm: ' + g);+ H(g);+ });+ }+ var d = { a: Gd };+ D ||+ (ya(!D, 'addRunDependency cannot be used in a pthread worker'),+ K++,+ z.monitorRunDependencies && z.monitorRunDependencies(K));+ if (z.instantiateWasm)+ try {+ return z.instantiateWasm(d, a);+ } catch (e) {+ return (+ G('Module.instantiateWasm callback failed with error: ' + e), !1+ );+ }+ (function () {+ return ua ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ Ra() ||+ 'function' !== typeof fetch+ ? c(b)+ : fetch(Sa, { credentials: 'same-origin' }).then(function (e) {+ return WebAssembly.instantiateStreaming(e, d).then(b, function (+ g,+ ) {+ G('wasm streaming compile failed: ' + g);+ G('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })().catch(oa);+ return {};+ })();+ var wd = (z.___wasm_call_ctors = function () {+ return (wd = z.___wasm_call_ctors = z.asm.ha).apply(null, arguments);+ }),+ M = (z._malloc = function () {+ return (M = z._malloc = z.asm.ia).apply(null, arguments);+ }),+ O = (z._free = function () {+ return (O = z._free = z.asm.ja).apply(null, arguments);+ }),+ Qc = (z.___getTypeName = function () {+ return (Qc = z.___getTypeName = z.asm.ka).apply(null, arguments);+ });+ z.___embind_register_native_and_builtin_types = function () {+ return (z.___embind_register_native_and_builtin_types = z.asm.la).apply(+ null,+ arguments,+ );+ };+ var qd = (z._emscripten_get_global_libc = function () {+ return (qd = z._emscripten_get_global_libc = z.asm.ma).apply(+ null,+ arguments,+ );+ }),+ mc = (z.___errno_location = function () {+ return (mc = z.___errno_location = z.asm.na).apply(null, arguments);+ });+ z.___em_js__initPthreadsJS = function () {+ return (z.___em_js__initPthreadsJS = z.asm.oa).apply(null, arguments);+ };+ var Y = (z.stackSave = function () {+ return (Y = z.stackSave = z.asm.pa).apply(null, arguments);+ }),+ P = (z.stackRestore = function () {+ return (P = z.stackRestore = z.asm.qa).apply(null, arguments);+ }),+ Yc = (z.stackAlloc = function () {+ return (Yc = z.stackAlloc = z.asm.ra).apply(null, arguments);+ }),+ Z = (z._setThrew = function () {+ return (Z = z._setThrew = z.asm.sa).apply(null, arguments);+ }),+ Fd = (z._memalign = function () {+ return (Fd = z._memalign = z.asm.ta).apply(null, arguments);+ });+ z._emscripten_main_browser_thread_id = function () {+ return (z._emscripten_main_browser_thread_id = z.asm.ua).apply(+ null,+ arguments,+ );+ };+ var ib = (z.___pthread_tsd_run_dtors = function () {+ return (ib = z.___pthread_tsd_run_dtors = z.asm.va).apply(+ null,+ arguments,+ );+ }),+ jb = (z._emscripten_main_thread_process_queued_calls = function () {+ return (jb = z._emscripten_main_thread_process_queued_calls =+ z.asm.wa).apply(null, arguments);+ });+ z._emscripten_current_thread_process_queued_calls = function () {+ return (z._emscripten_current_thread_process_queued_calls =+ z.asm.xa).apply(null, arguments);+ };+ var gb = (z._emscripten_register_main_browser_thread_id = function () {+ return (gb = z._emscripten_register_main_browser_thread_id =+ z.asm.ya).apply(null, arguments);+ }),+ Xa = (z._do_emscripten_dispatch_to_thread = function () {+ return (Xa = z._do_emscripten_dispatch_to_thread = z.asm.za).apply(+ null,+ arguments,+ );+ });+ z._emscripten_async_run_in_main_thread = function () {+ return (z._emscripten_async_run_in_main_thread = z.asm.Aa).apply(+ null,+ arguments,+ );+ };+ z._emscripten_sync_run_in_main_thread = function () {+ return (z._emscripten_sync_run_in_main_thread = z.asm.Ba).apply(+ null,+ arguments,+ );+ };+ z._emscripten_sync_run_in_main_thread_0 = function () {+ return (z._emscripten_sync_run_in_main_thread_0 = z.asm.Ca).apply(+ null,+ arguments,+ );+ };+ z._emscripten_sync_run_in_main_thread_1 = function () {+ return (z._emscripten_sync_run_in_main_thread_1 = z.asm.Da).apply(+ null,+ arguments,+ );+ };+ z._emscripten_sync_run_in_main_thread_2 = function () {+ return (z._emscripten_sync_run_in_main_thread_2 = z.asm.Ea).apply(+ null,+ arguments,+ );+ };+ z._emscripten_sync_run_in_main_thread_xprintf_varargs = function () {+ return (z._emscripten_sync_run_in_main_thread_xprintf_varargs =+ z.asm.Fa).apply(null, arguments);+ };+ z._emscripten_sync_run_in_main_thread_3 = function () {+ return (z._emscripten_sync_run_in_main_thread_3 = z.asm.Ga).apply(+ null,+ arguments,+ );+ };+ var Ed = (z._emscripten_sync_run_in_main_thread_4 = function () {+ return (Ed = z._emscripten_sync_run_in_main_thread_4 = z.asm.Ha).apply(+ null,+ arguments,+ );+ });+ z._emscripten_sync_run_in_main_thread_5 = function () {+ return (z._emscripten_sync_run_in_main_thread_5 = z.asm.Ia).apply(+ null,+ arguments,+ );+ };+ z._emscripten_sync_run_in_main_thread_6 = function () {+ return (z._emscripten_sync_run_in_main_thread_6 = z.asm.Ja).apply(+ null,+ arguments,+ );+ };+ z._emscripten_sync_run_in_main_thread_7 = function () {+ return (z._emscripten_sync_run_in_main_thread_7 = z.asm.Ka).apply(+ null,+ arguments,+ );+ };+ var Zc = (z._emscripten_run_in_main_runtime_thread_js = function () {+ return (Zc = z._emscripten_run_in_main_runtime_thread_js =+ z.asm.La).apply(null, arguments);+ }),+ ed = (z.__emscripten_call_on_thread = function () {+ return (ed = z.__emscripten_call_on_thread = z.asm.Ma).apply(+ null,+ arguments,+ );+ });+ z._emscripten_tls_init = function () {+ return (z._emscripten_tls_init = z.asm.Na).apply(null, arguments);+ };+ z.dynCall_jiiiiiiiii = function () {+ return (z.dynCall_jiiiiiiiii = z.asm.Oa).apply(null, arguments);+ };+ z.dynCall_jiji = function () {+ return (z.dynCall_jiji = z.asm.Pa).apply(null, arguments);+ };+ z.dynCall_jiiiiiiii = function () {+ return (z.dynCall_jiiiiiiii = z.asm.Qa).apply(null, arguments);+ };+ z.dynCall_jiiiiii = function () {+ return (z.dynCall_jiiiiii = z.asm.Ra).apply(null, arguments);+ };+ z.dynCall_jiiiii = function () {+ return (z.dynCall_jiiiii = z.asm.Sa).apply(null, arguments);+ };+ z.dynCall_iiijii = function () {+ return (z.dynCall_iiijii = z.asm.Ta).apply(null, arguments);+ };+ var hb = (z._main_thread_futex = 877788);+ function Bd(a, b) {+ var c = Y();+ try {+ J.get(a)(b);+ } catch (d) {+ P(c);+ if (d !== d + 0 && 'longjmp' !== d) throw d;+ Z(1, 0);+ }+ }+ function Dd(a, b, c, d, e) {+ var g = Y();+ try {+ J.get(a)(b, c, d, e);+ } catch (h) {+ P(g);+ if (h !== h + 0 && 'longjmp' !== h) throw h;+ Z(1, 0);+ }+ }+ function Cd(a, b, c) {+ var d = Y();+ try {+ J.get(a)(b, c);+ } catch (e) {+ P(d);+ if (e !== e + 0 && 'longjmp' !== e) throw e;+ Z(1, 0);+ }+ }+ function Ad(a, b, c, d, e, g, h, k, l) {+ var q = Y();+ try {+ return J.get(a)(b, c, d, e, g, h, k, l);+ } catch (r) {+ P(q);+ if (r !== r + 0 && 'longjmp' !== r) throw r;+ Z(1, 0);+ }+ }+ function xd(a, b, c) {+ var d = Y();+ try {+ return J.get(a)(b, c);+ } catch (e) {+ P(d);+ if (e !== e + 0 && 'longjmp' !== e) throw e;+ Z(1, 0);+ }+ }+ function zd(a, b, c, d, e) {+ var g = Y();+ try {+ return J.get(a)(b, c, d, e);+ } catch (h) {+ P(g);+ if (h !== h + 0 && 'longjmp' !== h) throw h;+ Z(1, 0);+ }+ }+ function yd(a, b, c, d) {+ var e = Y();+ try {+ return J.get(a)(b, c, d);+ } catch (g) {+ P(e);+ if (g !== g + 0 && 'longjmp' !== g) throw g;+ Z(1, 0);+ }+ }+ z.PThread = L;+ z.PThread = L;+ z._pthread_self = rd;+ z.wasmMemory = m;+ z.ExitStatus = Hd;+ var Id;+ function Hd(a) {+ this.name = 'ExitStatus';+ this.message = 'Program terminated with exit(' + a + ')';+ this.status = a;+ }+ Qa = function Jd() {+ Id || Kd();+ Id || (Qa = Jd);+ };+ function Kd() {+ function a() {+ if (!Id && ((Id = !0), (z.calledRun = !0), !xa)) {+ z.noFSInit ||+ dc ||+ ((dc = !0),+ cc(),+ (z.stdin = z.stdin),+ (z.stdout = z.stdout),+ (z.stderr = z.stderr),+ z.stdin ? fc('stdin', z.stdin) : Zb('/dev/tty', '/dev/stdin'),+ z.stdout+ ? fc('stdout', null, z.stdout)+ : Zb('/dev/tty', '/dev/stdout'),+ z.stderr+ ? fc('stderr', null, z.stderr)+ : Zb('/dev/tty1', '/dev/stderr'),+ $b('/dev/stdin', 'r'),+ $b('/dev/stdout', 'w'),+ $b('/dev/stderr', 'w'));+ Za(La);+ D || ((Ib = !1), Za(Ma));+ na(z);+ if (z.onRuntimeInitialized) z.onRuntimeInitialized();+ if (!D) {+ if (z.postRun)+ for (+ 'function' == typeof z.postRun && (z.postRun = [z.postRun]);+ z.postRun.length;++ ) {+ var b = z.postRun.shift();+ Na.unshift(b);+ }+ Za(Na);+ }+ }+ }+ if (!(0 < K)) {+ if (!D) {+ if (z.preRun)+ for (+ 'function' == typeof z.preRun && (z.preRun = [z.preRun]);+ z.preRun.length;++ )+ Oa();+ Za(Ka);+ }+ 0 < K ||+ (z.setStatus+ ? (z.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ z.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ z.run = Kd;+ if (z.preInit)+ for (+ 'function' == typeof z.preInit && (z.preInit = [z.preInit]);+ 0 < z.preInit.length;++ )+ z.preInit.pop()();+ D || (noExitRuntime = !0);+ D ? L.yc() : Kd();++ return avif_enc_mt.ready;+ };+})();+export default avif_enc_mt;diff --git a/codecs/avif/enc/avif_enc_mt.wasm b/codecs/avif/enc/avif_enc_mt.wasmnew file mode 100755index 00000000..3f0bd522Binary files /dev/null and b/codecs/avif/enc/avif_enc_mt.wasm differdiff --git a/codecs/avif/enc/avif_enc_mt.worker.js b/codecs/avif/enc/avif_enc_mt.worker.jsnew file mode 100644index 00000000..6addb120--- /dev/null+++ b/codecs/avif/enc/avif_enc_mt.worker.js@@ -0,0 +1,103 @@+var threadInfoStruct = 0;+var selfThreadId = 0;+var parentThreadId = 0;+var initializedJS = false;+var Module = {};+function threadPrintErr() {+ var text = Array.prototype.slice.call(arguments).join(' ');+ console.error(text);+}+function threadAlert() {+ var text = Array.prototype.slice.call(arguments).join(' ');+ postMessage({ cmd: 'alert', text: text, threadId: selfThreadId });+}+var err = threadPrintErr;+this.alert = threadAlert;+Module['instantiateWasm'] = function (info, receiveInstance) {+ var instance = new WebAssembly.Instance(Module['wasmModule'], info);+ Module['wasmModule'] = null;+ receiveInstance(instance);+ return instance.exports;+};+this.onmessage = function (e) {+ try {+ if (e.data.cmd === 'load') {+ Module['wasmModule'] = e.data.wasmModule;+ Module['wasmMemory'] = e.data.wasmMemory;+ Module['buffer'] = Module['wasmMemory'].buffer;+ Module['ENVIRONMENT_IS_PTHREAD'] = true;+ import(e.data.urlOrBlob)+ .then(function (avif_enc_mt) {+ return avif_enc_mt.default(Module);+ })+ .then(function (instance) {+ Module = instance;+ postMessage({ cmd: 'loaded' });+ });+ } else if (e.data.cmd === 'objectTransfer') {+ Module['PThread'].receiveObjectTransfer(e.data);+ } else if (e.data.cmd === 'run') {+ Module['__performance_now_clock_drift'] = performance.now() - e.data.time;+ threadInfoStruct = e.data.threadInfoStruct;+ Module['registerPthreadPtr'](+ threadInfoStruct,+ /*isMainBrowserThread=*/ 0,+ /*isMainRuntimeThread=*/ 0,+ );+ selfThreadId = e.data.selfThreadId;+ parentThreadId = e.data.parentThreadId;+ var max = e.data.stackBase;+ var top = e.data.stackBase + e.data.stackSize;+ Module['establishStackSpace'](top, max);+ Module['_emscripten_tls_init']();+ Module['PThread'].receiveObjectTransfer(e.data);+ Module['PThread'].setThreadStatus(Module['_pthread_self'](), 1);+ if (!initializedJS) {+ Module['___embind_register_native_and_builtin_types']();+ initializedJS = true;+ }+ try {+ var result = Module['dynCall']('ii', e.data.start_routine, [+ e.data.arg,+ ]);+ if (!Module['getNoExitRuntime']()) Module['PThread'].threadExit(result);+ } catch (ex) {+ if (ex === 'Canceled!') {+ Module['PThread'].threadCancel();+ } else if (ex != 'unwind') {+ Atomics.store(+ Module['HEAPU32'],+ (threadInfoStruct + 4) >> /*C_STRUCTS.pthread.threadExitCode*/ 2,+ ex instanceof Module['ExitStatus'] ? ex.status : -2,+ );+ /*A custom entry specific to Emscripten denoting that the thread crashed.*/ Atomics.store(+ Module['HEAPU32'],+ (threadInfoStruct + 0) >> /*C_STRUCTS.pthread.threadStatus*/ 2,+ 1,+ );+ Module['_emscripten_futex_wake'](+ threadInfoStruct + 0,+ /*C_STRUCTS.pthread.threadStatus*/ 2147483647,+ );+ if (!(ex instanceof Module['ExitStatus'])) throw ex;+ }+ }+ } else if (e.data.cmd === 'cancel') {+ if (threadInfoStruct) {+ Module['PThread'].threadCancel();+ }+ } else if (e.data.target === 'setimmediate') {+ } else if (e.data.cmd === 'processThreadQueue') {+ if (threadInfoStruct) {+ Module['_emscripten_current_thread_process_queued_calls']();+ }+ } else {+ err('worker.js received unknown command ' + e.data.cmd);+ err(e.data);+ }+ } catch (ex) {+ err('worker.js onmessage() captured an uncaught exception: ' + ex);+ if (ex && ex.stack) err(ex.stack);+ throw ex;+ }+};diff --git a/codecs/avif/helper.Makefile b/codecs/avif/helper.Makefilenew file mode 100644index 00000000..f0d46da2--- /dev/null+++ b/codecs/avif/helper.Makefile@@ -0,0 +1,75 @@+# This is a helper Makefile for building LibAVIF + LibAOM with given params.+#+# Params that must be supplied by the caller:+# $(CODEC_DIR)+# $(LIBAOM_DIR)+# $(BUILD_DIR)+# $(OUT_JS)+# $(OUT_CPP)+# $(LIBAOM_FLAGS)+# $(LIBAVIF_FLAGS)++CODEC_BUILD_DIR := $(BUILD_DIR)/libavif+CODEC_OUT := $(CODEC_BUILD_DIR)/libavif.a++LIBAOM_BUILD_DIR := $(BUILD_DIR)/libaom+LIBAOM_OUT := $(LIBAOM_BUILD_DIR)/libaom.a++OUT_WASM = $(OUT_JS:.js=.wasm)+OUT_WORKER=$(OUT_JS:.js=.worker.js)++.PHONY: all clean++all: $(OUT_JS)++$(OUT_JS): $(OUT_CPP) $(LIBAOM_OUT) $(CODEC_OUT)+ $(CXX) \+ -I $(CODEC_DIR)/include \+ $(CXXFLAGS) \+ $(LDFLAGS) \+ $(OUT_FLAGS) \+ --bind \+ --closure 1 \+ -s ALLOW_MEMORY_GROWTH=1 \+ -s MODULARIZE=1 \+ -s TEXTDECODER=2 \+ -s ENVIRONMENT='worker' \+ -s EXPORT_ES6=1 \+ -s EXPORT_NAME="$(basename $(@F))" \+ -o $@ \+ $+++$(CODEC_OUT): $(CODEC_DIR)/CMakeLists.txt $(LIBAOM_OUT)+ emcmake cmake \+ -DCMAKE_BUILD_TYPE=Release \+ -DBUILD_SHARED_LIBS=0 \+ -DAVIF_CODEC_AOM=1 \+ -DAOM_LIBRARY=$(LIBAOM_OUT) \+ -DAOM_INCLUDE_DIR=$(LIBAOM_DIR) \+ $(LIBAVIF_FLAGS) \+ -B $(CODEC_BUILD_DIR) \+ $(CODEC_DIR) && \+ $(MAKE) -C $(CODEC_BUILD_DIR)++$(LIBAOM_OUT): $(LIBAOM_DIR)/CMakeLists.txt+ emcmake cmake \+ -DCMAKE_BUILD_TYPE=Release \+ -DENABLE_CCACHE=0 \+ -DAOM_TARGET_CPU=generic \+ -DENABLE_DOCS=0 \+ -DENABLE_TESTS=0 \+ -DENABLE_EXAMPLES=0 \+ -DENABLE_TOOLS=0 \+ -DCONFIG_ACCOUNTING=1 \+ -DCONFIG_INSPECTION=0 \+ -DCONFIG_RUNTIME_CPU_DETECT=0 \+ -DCONFIG_WEBM_IO=0 \+ $(LIBAOM_FLAGS) \+ -B $(LIBAOM_BUILD_DIR) \+ $(LIBAOM_DIR) && \+ $(MAKE) -C $(LIBAOM_BUILD_DIR)++clean:+ $(RM) $(OUT_JS) $(OUT_WASM) $(OUT_WORKER)+ $(MAKE) -C $(CODEC_BUILD_DIR) clean+ $(MAKE) -C $(LIBAOM_BUILD_DIR) cleandiff --git a/codecs/build-rust.sh b/codecs/build-rust.shindex 0cbe3ffa..338403c3 100755--- a/codecs/build-rust.sh+++ b/codecs/build-rust.sh@@ -1,4 +1,10 @@set -e-docker build -t squoosh-rust - < ../rust.Dockerfile-docker run --rm -v $PWD:/src squoosh-rust "$@"+if [ ! -z "$RUST_IMG" ]+then+ # Get part after ":" (https://stackoverflow.com/a/15149278/439965).+ IMG_SUFFIX=-${RUST_IMG#*:}+fi+IMG_NAME=squoosh-rust$IMG_SUFFIX+docker build -t $IMG_NAME --build-arg RUST_IMG - < ../rust.Dockerfile+docker run --rm -v $PWD:/src $IMG_NAME "$@"diff --git a/codecs/cpp.Dockerfile b/codecs/cpp.Dockerfileindex 31172834..946f5b45 100644--- a/codecs/cpp.Dockerfile+++ b/codecs/cpp.Dockerfile@@ -1,8 +1,8 @@-FROM emscripten/emsdk:1.40.0+FROM emscripten/emsdk:2.0.8RUN apt-get update && apt-get install -qqy autoconf libtool pkg-config-ENV CFLAGS "-Os -flto"+ENV CFLAGS "-O3 -flto"ENV CXXFLAGS "${CFLAGS} -std=c++17"-ENV LDFLAGS "${CFLAGS}"+ENV LDFLAGS "${CFLAGS} -s PTHREAD_POOL_SIZE=navigator.hardwareConcurrency"# Build and cache standard libraries with these flagsRUN emcc ${CXXFLAGS} --bind -xc++ /dev/null -o /dev/nullWORKDIR /srcdiff --git a/codecs/hqx/Dockerfile b/codecs/hqx/Dockerfiledeleted file mode 100644index 1d1bf545..00000000--- a/codecs/hqx/Dockerfile+++ /dev/null@@ -1,11 +0,0 @@-# This is intentionally an old version of Rust. Newer versions-# generate _significantly_ bigger Wasm binaries.-FROM rust:1.37-RUN rustup target add wasm32-unknown-unknown-RUN curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh--RUN mkdir /opt/binaryen && \- curl -L https://github.com/WebAssembly/binaryen/releases/download/1.38.32/binaryen-1.38.32-x86-linux.tar.gz | tar -xzf - -C /opt/binaryen --strip 1--ENV PATH="/opt/binaryen:${PATH}"-WORKDIR /srcdiff --git a/codecs/hqx/build.sh b/codecs/hqx/build.shdeleted file mode 100755index 0820d1a9..00000000--- a/codecs/hqx/build.sh+++ /dev/null@@ -1,21 +0,0 @@-#!/bin/bash--set -e--echo "============================================="-echo "Compiling wasm"-echo "============================================="-(- wasm-pack build -- --verbose --locked- rm pkg/.gitignore-)-echo "============================================="-echo "Compiling wasm done"-echo "============================================="--echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"-echo "Did you update your docker image?"-echo "Run \`docker pull ubuntu\`"-echo "Run \`docker pull rust\`"-echo "Run \`docker build -t squoosh-hqx .\`"-echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"diff --git a/codecs/hqx/package.json b/codecs/hqx/package.jsonindex 61f6193e..291be308 100644--- a/codecs/hqx/package.json+++ b/codecs/hqx/package.json@@ -1,7 +1,6 @@{"name": "hqx","scripts": {- "build:image": "docker build -t squoosh-hqx - < Dockerfile",- "build": "docker run --rm -v $(pwd):/src squoosh-hqx ./build.sh"+ "build": "RUST_IMG=rust:1.40 ../build-rust.sh"}}diff --git a/codecs/hqx/pkg/README.md b/codecs/hqx/pkg/README.mdnew file mode 100644index 00000000..c0ceccad--- /dev/null+++ b/codecs/hqx/pkg/README.md@@ -0,0 +1,5 @@+# HQX++- Source: <https://github.com/CryZe/wasmboy-rs>+- Version: v0.1.2+- License: Apache 2.0diff --git a/codecs/hqx/pkg/squooshhqx.d.ts b/codecs/hqx/pkg/squooshhqx.d.tsindex 8d8f5f2e..c4c43fa5 100644--- a/codecs/hqx/pkg/squooshhqx.d.ts+++ b/codecs/hqx/pkg/squooshhqx.d.ts@@ -1,10 +1,48 @@/* tslint:disable *//* eslint-disable *//**-* @param {Uint32Array} input_image-* @param {number} input_width-* @param {number} input_height-* @param {number} factor-* @returns {Uint32Array}-*/-export function resize(input_image: Uint32Array, input_width: number, input_height: number, factor: number): Uint32Array;+ * @param {Uint32Array} input_image+ * @param {number} input_width+ * @param {number} input_height+ * @param {number} factor+ * @returns {Uint32Array}+ */+export function resize(+ input_image: Uint32Array,+ input_width: number,+ input_height: number,+ factor: number,+): Uint32Array;++export type InitInput =+ | RequestInfo+ | URL+ | Response+ | BufferSource+ | WebAssembly.Module;++export interface InitOutput {+ readonly memory: WebAssembly.Memory;+ readonly resize: (+ a: number,+ b: number,+ c: number,+ d: number,+ e: number,+ f: number,+ ) => void;+ readonly __wbindgen_malloc: (a: number) => number;+ readonly __wbindgen_free: (a: number, b: number) => void;+}++/**+ * If `module_or_path` is {RequestInfo} or {URL}, makes a request and+ * for everything else, calls `WebAssembly.instantiate` directly.+ *+ * @param {InitInput | Promise<InitInput>} module_or_path+ *+ * @returns {Promise<InitOutput>}+ */+export default function init(+ module_or_path?: InitInput | Promise<InitInput>,+): Promise<InitOutput>;diff --git a/codecs/hqx/pkg/squooshhqx.js b/codecs/hqx/pkg/squooshhqx.jsindex 3d59678b..8fd6c83f 100644--- a/codecs/hqx/pkg/squooshhqx.js+++ b/codecs/hqx/pkg/squooshhqx.js@@ -1,2 +1,107 @@-import * as wasm from "./squooshhqx_bg.wasm";-export * from "./squooshhqx_bg.js";\ No newline at end of file+let wasm;++let cachegetUint32Memory0 = null;+function getUint32Memory0() {+ if (+ cachegetUint32Memory0 === null ||+ cachegetUint32Memory0.buffer !== wasm.memory.buffer+ ) {+ cachegetUint32Memory0 = new Uint32Array(wasm.memory.buffer);+ }+ return cachegetUint32Memory0;+}++let WASM_VECTOR_LEN = 0;++function passArray32ToWasm0(arg, malloc) {+ const ptr = malloc(arg.length * 4);+ getUint32Memory0().set(arg, ptr / 4);+ WASM_VECTOR_LEN = arg.length;+ return ptr;+}++let cachegetInt32Memory0 = null;+function getInt32Memory0() {+ if (+ cachegetInt32Memory0 === null ||+ cachegetInt32Memory0.buffer !== wasm.memory.buffer+ ) {+ cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);+ }+ return cachegetInt32Memory0;+}++function getArrayU32FromWasm0(ptr, len) {+ return getUint32Memory0().subarray(ptr / 4, ptr / 4 + len);+}+/**+ * @param {Uint32Array} input_image+ * @param {number} input_width+ * @param {number} input_height+ * @param {number} factor+ * @returns {Uint32Array}+ */+export function resize(input_image, input_width, input_height, factor) {+ var ptr0 = passArray32ToWasm0(input_image, wasm.__wbindgen_malloc);+ var len0 = WASM_VECTOR_LEN;+ wasm.resize(8, ptr0, len0, input_width, input_height, factor);+ var r0 = getInt32Memory0()[8 / 4 + 0];+ var r1 = getInt32Memory0()[8 / 4 + 1];+ var v1 = getArrayU32FromWasm0(r0, r1).slice();+ wasm.__wbindgen_free(r0, r1 * 4);+ return v1;+}++async function load(module, imports) {+ if (typeof Response === 'function' && module instanceof Response) {+ if (typeof WebAssembly.instantiateStreaming === 'function') {+ try {+ return await WebAssembly.instantiateStreaming(module, imports);+ } catch (e) {+ if (module.headers.get('Content-Type') != 'application/wasm') {+ console.warn(+ '`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n',+ e,+ );+ } else {+ throw e;+ }+ }+ }++ const bytes = await module.arrayBuffer();+ return await WebAssembly.instantiate(bytes, imports);+ } else {+ const instance = await WebAssembly.instantiate(module, imports);++ if (instance instanceof WebAssembly.Instance) {+ return { instance, module };+ } else {+ return instance;+ }+ }+}++async function init(input) {+ if (typeof input === 'undefined') {+ input = import.meta.url.replace(/\.js$/, '_bg.wasm');+ }+ const imports = {};++ if (+ typeof input === 'string' ||+ (typeof Request === 'function' && input instanceof Request) ||+ (typeof URL === 'function' && input instanceof URL)+ ) {+ input = fetch(input);+ }++ const { instance, module } = await load(await input, imports);++ wasm = instance.exports;+ init.__wbindgen_wasm_module = module;++ return wasm;+}++export default init;diff --git a/codecs/hqx/pkg/squooshhqx_bg.js b/codecs/hqx/pkg/squooshhqx_bg.jsdeleted file mode 100644index d3f586a6..00000000--- a/codecs/hqx/pkg/squooshhqx_bg.js+++ /dev/null@@ -1,48 +0,0 @@-import * as wasm from './squooshhqx_bg.wasm';--let cachegetUint32Memory0 = null;-function getUint32Memory0() {- if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {- cachegetUint32Memory0 = new Uint32Array(wasm.memory.buffer);- }- return cachegetUint32Memory0;-}--let WASM_VECTOR_LEN = 0;--function passArray32ToWasm0(arg, malloc) {- const ptr = malloc(arg.length * 4);- getUint32Memory0().set(arg, ptr / 4);- WASM_VECTOR_LEN = arg.length;- return ptr;-}--let cachegetInt32Memory0 = null;-function getInt32Memory0() {- if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {- cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);- }- return cachegetInt32Memory0;-}--function getArrayU32FromWasm0(ptr, len) {- return getUint32Memory0().subarray(ptr / 4, ptr / 4 + len);-}-/**-* @param {Uint32Array} input_image-* @param {number} input_width-* @param {number} input_height-* @param {number} factor-* @returns {Uint32Array}-*/-export function resize(input_image, input_width, input_height, factor) {- var ptr0 = passArray32ToWasm0(input_image, wasm.__wbindgen_malloc);- var len0 = WASM_VECTOR_LEN;- wasm.resize(8, ptr0, len0, input_width, input_height, factor);- var r0 = getInt32Memory0()[8 / 4 + 0];- var r1 = getInt32Memory0()[8 / 4 + 1];- var v1 = getArrayU32FromWasm0(r0, r1).slice();- wasm.__wbindgen_free(r0, r1 * 4);- return v1;-}-diff --git a/codecs/hqx/pkg/squooshhqx_bg.wasm b/codecs/hqx/pkg/squooshhqx_bg.wasmindex 2213c7e9..ab28fd7e 100644Binary files a/codecs/hqx/pkg/squooshhqx_bg.wasm and b/codecs/hqx/pkg/squooshhqx_bg.wasm differdiff --git a/codecs/imagequant/Makefile b/codecs/imagequant/Makefileindex 1b56ab76..6d0c7897 100644--- a/codecs/imagequant/Makefile+++ b/codecs/imagequant/Makefile@@ -18,7 +18,9 @@ all: $(OUT_JS)--closure 1 \-s ALLOW_MEMORY_GROWTH=1 \-s MODULARIZE=1 \- -s 'EXPORT_NAME="$(basename $(@F))"' \+ -s TEXTDECODER=2 \+ -s ENVIRONMENT='worker' \+ -s EXPORT_ES6=1 \-o $@ \$+diff --git a/codecs/imagequant/example.html b/codecs/imagequant/example.htmlindex c2a90c0c..fc94ab3e 100644--- a/codecs/imagequant/example.html+++ b/codecs/imagequant/example.html@@ -1,18 +1,17 @@-<!doctype html>+<!DOCTYPE html><style>canvas {image-rendering: pixelated;}</style>-<script src='imagequant.js'></script>-<script>- const Module = imagequant();+<script type="module">+ import imagequant from './imagequant.js';async function loadImage(src) {// Load imageconst img = document.createElement('img');img.src = src;- await new Promise(resolve => img.onload = resolve);+ await new Promise((resolve) => (img.onload = resolve));// Make canvas same size as imageconst canvas = document.createElement('canvas');[canvas.width, canvas.height] = [img.width, img.height];@@ -22,19 +21,32 @@return ctx.getImageData(0, 0, img.width, img.height);}- Module.onRuntimeInitialized = async _ => {- console.log('Version:', Module.version().toString(16));+ async function main() {+ const module = await imagequant();++ console.log('Version:', module.version().toString(16));const image = await loadImage('../example.png');- // const rawImage = Module.quantize(image.data, image.width, image.height, 256, 1.0);- const rawImage = Module.zx_quantize(image.data, image.width, image.height, 1.0);+ const rawImage = module.quantize(+ image.data,+ image.width,+ image.height,+ 256,+ 1.0,+ );console.log('done');- const imageData = new ImageData(new Uint8ClampedArray(rawImage.buffer), image.width, image.height);+ const imageData = new ImageData(+ new Uint8ClampedArray(rawImage.buffer),+ image.width,+ image.height,+ );const canvas = document.createElement('canvas');canvas.width = image.width;canvas.height = image.height;const ctx = canvas.getContext('2d');ctx.putImageData(imageData, 0, 0);document.body.appendChild(canvas);- };+ }++ main();</script>diff --git a/codecs/imagequant/imagequant.d.ts b/codecs/imagequant/imagequant.d.tsindex d25d7a35..e30b39d1 100644--- a/codecs/imagequant/imagequant.d.ts+++ b/codecs/imagequant/imagequant.d.ts@@ -1,6 +1,19 @@-interface QuantizerModule extends EmscriptenWasm.Module {- quantize(data: BufferSource, width: number, height: number, numColors: number, dither: number): Uint8ClampedArray;- zx_quantize(data: BufferSource, width: number, height: number, dither: number): Uint8ClampedArray;+export interface QuantizerModule extends EmscriptenWasm.Module {+ quantize(+ data: BufferSource,+ width: number,+ height: number,+ numColors: number,+ dither: number,+ ): Uint8ClampedArray;+ zx_quantize(+ data: BufferSource,+ width: number,+ height: number,+ dither: number,+ ): Uint8ClampedArray;}-export default function(opts: EmscriptenWasm.ModuleOpts): QuantizerModule;+declare var moduleFactory: EmscriptenWasm.ModuleFactory<QuantizerModule>;++export default moduleFactory;diff --git a/codecs/imagequant/imagequant.js b/codecs/imagequant/imagequant.jsindex cad60c5e..d02df407 100644--- a/codecs/imagequant/imagequant.js+++ b/codecs/imagequant/imagequant.js@@ -1,68 +1,1142 @@+var Module = (function () {+ var _scriptDir = import.meta.url;-var imagequant = (function() {- var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;- if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;- return (-function(imagequant) {- imagequant = imagequant || {};+ return function (Module) {+ Module = Module || {};+ var e;+ e || (e = typeof Module !== 'undefined' ? Module : {});+ var aa, r;+ e.ready = new Promise(function (a, b) {+ aa = a;+ r = b;+ });+ var t = {},+ u;+ for (u in e) e.hasOwnProperty(u) && (t[u] = e[u]);+ var v = '',+ ba;+ v = self.location.href;+ _scriptDir && (v = _scriptDir);+ 0 !== v.indexOf('blob:')+ ? (v = v.substr(0, v.lastIndexOf('/') + 1))+ : (v = '');+ ba = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var ca = e.print || console.log.bind(console),+ w = e.printErr || console.warn.bind(console);+ for (u in t) t.hasOwnProperty(u) && (e[u] = t[u]);+ t = null;+ var y;+ e.wasmBinary && (y = e.wasmBinary);+ var noExitRuntime;+ e.noExitRuntime && (noExitRuntime = e.noExitRuntime);+ 'object' !== typeof WebAssembly && z('no native wasm support detected');+ var A,+ da = !1,+ ea = new TextDecoder('utf8');+ function fa(a, b, c) {+ var d = B;+ if (0 < c) {+ c = b + c - 1;+ for (var f = 0; f < a.length; ++f) {+ var g = a.charCodeAt(f);+ if (55296 <= g && 57343 >= g) {+ var l = a.charCodeAt(++f);+ g = (65536 + ((g & 1023) << 10)) | (l & 1023);+ }+ if (127 >= g) {+ if (b >= c) break;+ d[b++] = g;+ } else {+ if (2047 >= g) {+ if (b + 1 >= c) break;+ d[b++] = 192 | (g >> 6);+ } else {+ if (65535 >= g) {+ if (b + 2 >= c) break;+ d[b++] = 224 | (g >> 12);+ } else {+ if (b + 3 >= c) break;+ d[b++] = 240 | (g >> 18);+ d[b++] = 128 | ((g >> 12) & 63);+ }+ d[b++] = 128 | ((g >> 6) & 63);+ }+ d[b++] = 128 | (g & 63);+ }+ }+ d[b] = 0;+ }+ }+ var ha = new TextDecoder('utf-16le');+ function ia(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && D[c]; ) ++c;+ return ha.decode(B.subarray(a, c << 1));+ }+ function ja(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var f = 0; f < c; ++f) (E[b >> 1] = a.charCodeAt(f)), (b += 2);+ E[b >> 1] = 0;+ return b - d;+ }+ function ka(a) {+ return 2 * a.length;+ }+ function la(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var f = F[(a + 4 * c) >> 2];+ if (0 == f) break;+ ++c;+ 65536 <= f+ ? ((f -= 65536),+ (d += String.fromCharCode(55296 | (f >> 10), 56320 | (f & 1023))))+ : (d += String.fromCharCode(f));+ }+ return d;+ }+ function ma(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var f = 0; f < a.length; ++f) {+ var g = a.charCodeAt(f);+ if (55296 <= g && 57343 >= g) {+ var l = a.charCodeAt(++f);+ g = (65536 + ((g & 1023) << 10)) | (l & 1023);+ }+ F[b >> 2] = g;+ b += 4;+ if (b + 4 > c) break;+ }+ F[b >> 2] = 0;+ return b - d;+ }+ function na(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var G, oa, B, E, D, F, H, pa, qa;+ function ra(a) {+ G = a;+ e.HEAP8 = oa = new Int8Array(a);+ e.HEAP16 = E = new Int16Array(a);+ e.HEAP32 = F = new Int32Array(a);+ e.HEAPU8 = B = new Uint8Array(a);+ e.HEAPU16 = D = new Uint16Array(a);+ e.HEAPU32 = H = new Uint32Array(a);+ e.HEAPF32 = pa = new Float32Array(a);+ e.HEAPF64 = qa = new Float64Array(a);+ }+ var sa = e.INITIAL_MEMORY || 16777216;+ e.wasmMemory+ ? (A = e.wasmMemory)+ : (A = new WebAssembly.Memory({ initial: sa / 65536, maximum: 32768 }));+ A && (G = A.buffer);+ sa = G.byteLength;+ ra(G);+ var J,+ ta = [],+ ua = [],+ va = [],+ wa = [];+ function xa() {+ var a = e.preRun.shift();+ ta.unshift(a);+ }+ var K = 0,+ ya = null,+ L = null;+ e.preloadedImages = {};+ e.preloadedAudios = {};+ function z(a) {+ if (e.onAbort) e.onAbort(a);+ w(a);+ da = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ r(a);+ throw a;+ }+ function za() {+ var a = N;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var N = 'imagequant.wasm';+ if (!za()) {+ var Aa = N;+ N = e.locateFile ? e.locateFile(Aa, v) : v + Aa;+ }+ function Ba() {+ try {+ if (y) return new Uint8Array(y);+ if (ba) return ba(N);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ z(a);+ }+ }+ function Ca() {+ return y || 'function' !== typeof fetch+ ? Promise.resolve().then(Ba)+ : fetch(N, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + N + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Ba();+ });+ }+ function O(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(e);+ else {+ var c = b.J;+ 'number' === typeof c+ ? void 0 === b.G+ ? J.get(c)()+ : J.get(c)(b.G)+ : c(void 0 === b.G ? null : b.G);+ }+ }+ }+ function Da(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var Ea = void 0;+ function P(a) {+ for (var b = ''; B[a]; ) b += Ea[B[a++]];+ return b;+ }+ var Q = {},+ R = {},+ S = {};+ function Fa(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Ga(a, b) {+ a = Fa(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function Ha(a) {+ var b = Error,+ c = Ga(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var Ia = void 0;+ function T(a) {+ throw new Ia(a);+ }+ var Ja = void 0;+ function Ka(a, b) {+ function c(h) {+ h = b(h);+ if (h.length !== d.length)+ throw new Ja('Mismatched type converter count');+ for (var p = 0; p < d.length; ++p) U(d[p], h[p]);+ }+ var d = [];+ d.forEach(function (h) {+ S[h] = a;+ });+ var f = Array(a.length),+ g = [],+ l = 0;+ a.forEach(function (h, p) {+ R.hasOwnProperty(h)+ ? (f[p] = R[h])+ : (g.push(h),+ Q.hasOwnProperty(h) || (Q[h] = []),+ Q[h].push(function () {+ f[p] = R[h];+ ++l;+ l === g.length && c(f);+ }));+ });+ 0 === g.length && c(f);+ }+ function U(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || T('type "' + d + '" must have a positive integer typeid pointer');+ if (R.hasOwnProperty(a)) {+ if (c.K) return;+ T("Cannot register type '" + d + "' twice");+ }+ R[a] = b;+ delete S[a];+ Q.hasOwnProperty(a) &&+ ((b = Q[a]),+ delete Q[a],+ b.forEach(function (f) {+ f();+ }));+ }+ var Na = [],+ V = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Oa(a) {+ 4 < a && 0 === --V[a].H && ((V[a] = void 0), Na.push(a));+ }+ function W(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Na.length ? Na.pop() : V.length;+ V[b] = { H: 1, value: a };+ return b;+ }+ }+ function Pa(a) {+ return this.fromWireType(H[a >> 2]);+ }+ function Qa(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Ra(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(pa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(qa[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Sa(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Ga(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Ta(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Ua(a, b) {+ var c = e;+ if (void 0 === c[a].D) {+ var d = c[a];+ c[a] = function () {+ c[a].D.hasOwnProperty(arguments.length) ||+ T(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].D ++ ')!',+ );+ return c[a].D[arguments.length].apply(this, arguments);+ };+ c[a].D = [];+ c[a].D[d.I] = d;+ }+ }+ function Va(a, b, c) {+ e.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== e[a].D && void 0 !== e[a].D[c])) &&+ T("Cannot register public name '" + a + "' twice"),+ Ua(a, a),+ e.hasOwnProperty(c) &&+ T(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (e[a].D[c] = b))+ : ((e[a] = b), void 0 !== c && (e[a].M = c));+ }+ function Wa(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(F[(b >> 2) + d]);+ return c;+ }+ function Xa(a, b) {+ 0 <= a.indexOf('j') ||+ z('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var f;+ -1 != a.indexOf('j')+ ? (f =+ c && c.length+ ? e['dynCall_' + a].apply(null, [b].concat(c))+ : e['dynCall_' + a].call(null, b))+ : (f = J.get(b).apply(null, c));+ return f;+ };+ }+ function Ya(a, b) {+ a = P(a);+ var c = -1 != a.indexOf('j') ? Xa(a, b) : J.get(b);+ 'function' !== typeof c &&+ T('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var Za = void 0;+ function $a(a) {+ a = ab(a);+ var b = P(a);+ X(a);+ return b;+ }+ function bb(a, b) {+ function c(g) {+ f[g] || R[g] || (S[g] ? S[g].forEach(c) : (d.push(g), (f[g] = !0)));+ }+ var d = [],+ f = {};+ b.forEach(c);+ throw new Za(a + ': ' + d.map($a).join([', ']));+ }+ function cb(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return oa[d];+ }+ : function (d) {+ return B[d];+ };+ case 1:+ return c+ ? function (d) {+ return E[d >> 1];+ }+ : function (d) {+ return D[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return F[d >> 2];+ }+ : function (d) {+ return H[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var db = {};+ function eb() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function fb(a, b) {+ var c = R[a];+ void 0 === c && T(b + ' has unknown type ' + $a(a));+ return c;+ }+ for (var gb = {}, hb = [null, [], []], ib = Array(256), Y = 0; 256 > Y; ++Y)+ ib[Y] = String.fromCharCode(Y);+ Ea = ib;+ Ia = e.BindingError = Ha('BindingError');+ Ja = e.InternalError = Ha('InternalError');+ e.count_emval_handles = function () {+ for (var a = 0, b = 5; b < V.length; ++b) void 0 !== V[b] && ++a;+ return a;+ };+ e.get_first_emval = function () {+ for (var a = 5; a < V.length; ++a) if (void 0 !== V[a]) return V[a];+ return null;+ };+ Za = e.UnboundTypeError = Ha('UnboundTypeError');+ ua.push({+ J: function () {+ jb();+ },+ });+ var lb = {+ o: function () {},+ p: function (a, b, c, d, f) {+ var g = Da(c);+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (l) {+ return !!l;+ },+ toWireType: function (l, h) {+ return h ? d : f;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (l) {+ if (1 === c) var h = oa;+ else if (2 === c) h = E;+ else if (4 === c) h = F;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(h[l >> g]);+ },+ F: null,+ });+ },+ v: function (a, b) {+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (c) {+ var d = V[c].value;+ Oa(c);+ return d;+ },+ toWireType: function (c, d) {+ return W(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Pa,+ F: null,+ });+ },+ m: function (a, b, c) {+ c = Da(c);+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, f) {+ if ('number' !== typeof f && 'boolean' !== typeof f)+ throw new TypeError(+ 'Cannot convert "' + Qa(f) + '" to ' + this.name,+ );+ return f;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ra(b, c),+ F: null,+ });+ },+ f: function (a, b, c, d, f, g) {+ var l = Wa(b, c);+ a = P(a);+ f = Ya(d, f);+ Va(+ a,+ function () {+ bb('Cannot call ' + a + ' due to unbound types', l);+ },+ b - 1,+ );+ Ka(l, function (h) {+ var p = a,+ k = a;+ h = [h[0], null].concat(h.slice(1));+ var m = f,+ q = h.length;+ 2 > q &&+ T(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var x = null !== h[1] && !1, C = !1, n = 1; n < h.length; ++n)+ if (null !== h[n] && void 0 === h[n].F) {+ C = !0;+ break;+ }+ var La = 'void' !== h[0].name,+ I = '',+ M = '';+ for (n = 0; n < q - 2; ++n)+ (I += (0 !== n ? ', ' : '') + 'arg' + n),+ (M += (0 !== n ? ', ' : '') + 'arg' + n + 'Wired');+ k =+ 'return function ' ++ Fa(k) ++ '(' ++ I ++ ') {\nif (arguments.length !== ' ++ (q - 2) ++ ") {\nthrowBindingError('function " ++ k ++ " called with ' + arguments.length + ' arguments, expected " ++ (q - 2) ++ " args!');\n}\n";+ C && (k += 'var destructors = [];\n');+ var Ma = C ? 'destructors' : 'null';+ I = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ m = [T, m, g, Ta, h[0], h[1]];+ x &&+ (k += 'var thisWired = classParam.toWireType(' + Ma + ', this);\n');+ for (n = 0; n < q - 2; ++n)+ (k +=+ 'var arg' ++ n ++ 'Wired = argType' ++ n ++ '.toWireType(' ++ Ma ++ ', arg' ++ n ++ '); // ' ++ h[n + 2].name ++ '\n'),+ I.push('argType' + n),+ m.push(h[n + 2]);+ x && (M = 'thisWired' + (0 < M.length ? ', ' : '') + M);+ k +=+ (La ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < M.length ? ', ' : '') ++ M ++ ');\n';+ if (C) k += 'runDestructors(destructors);\n';+ else+ for (n = x ? 1 : 2; n < h.length; ++n)+ (q = 1 === n ? 'thisWired' : 'arg' + (n - 2) + 'Wired'),+ null !== h[n].F &&+ ((k += q + '_dtor(' + q + '); // ' + h[n].name + '\n'),+ I.push(q + '_dtor'),+ m.push(h[n].F));+ La && (k += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ I.push(k + '}\n');+ h = Sa(I).apply(null, m);+ n = b - 1;+ if (!e.hasOwnProperty(p))+ throw new Ja('Replacing nonexistant public symbol');+ void 0 !== e[p].D && void 0 !== n+ ? (e[p].D[n] = h)+ : ((e[p] = h), (e[p].I = n));+ return [];+ });+ },+ c: function (a, b, c, d, f) {+ function g(k) {+ return k;+ }+ b = P(b);+ -1 === f && (f = 4294967295);+ var l = Da(c);+ if (0 === d) {+ var h = 32 - 8 * c;+ g = function (k) {+ return (k << h) >>> h;+ };+ }+ var p = -1 != b.indexOf('unsigned');+ U(a, {+ name: b,+ fromWireType: g,+ toWireType: function (k, m) {+ if ('number' !== typeof m && 'boolean' !== typeof m)+ throw new TypeError(+ 'Cannot convert "' + Qa(m) + '" to ' + this.name,+ );+ if (m < d || m > f)+ throw new TypeError(+ 'Passing a number "' ++ Qa(m) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ f ++ ']!',+ );+ return p ? m >>> 0 : m | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: cb(b, l, 0 !== d),+ F: null,+ });+ },+ b: function (a, b, c) {+ function d(g) {+ g >>= 2;+ var l = H;+ return new f(G, l[g + 1], l[g]);+ }+ var f = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = P(c);+ U(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { K: !0 },+ );+ },+ i: function (a, b) {+ b = P(b);+ var c = 'std::string' === b;+ U(a, {+ name: b,+ fromWireType: function (d) {+ var f = H[d >> 2];+ if (c)+ for (var g = d + 4, l = 0; l <= f; ++l) {+ var h = d + 4 + l;+ if (l == f || 0 == B[h]) {+ if (g) {+ for (var p = g + (h - g), k = g; !(k >= p) && B[k]; ) ++k;+ g = ea.decode(B.subarray(g, k));+ } else g = '';+ if (void 0 === m) var m = g;+ else (m += String.fromCharCode(0)), (m += g);+ g = h + 1;+ }+ }+ else {+ m = Array(f);+ for (l = 0; l < f; ++l) m[l] = String.fromCharCode(B[d + 4 + l]);+ m = m.join('');+ }+ X(d);+ return m;+ },+ toWireType: function (d, f) {+ f instanceof ArrayBuffer && (f = new Uint8Array(f));+ var g = 'string' === typeof f;+ g ||+ f instanceof Uint8Array ||+ f instanceof Uint8ClampedArray ||+ f instanceof Int8Array ||+ T('Cannot pass non-string to std::string');+ var l = (c && g+ ? function () {+ for (var k = 0, m = 0; m < f.length; ++m) {+ var q = f.charCodeAt(m);+ 55296 <= q &&+ 57343 >= q &&+ (q =+ (65536 + ((q & 1023) << 10)) |+ (f.charCodeAt(++m) & 1023));+ 127 >= q+ ? ++k+ : (k = 2047 >= q ? k + 2 : 65535 >= q ? k + 3 : k + 4);+ }+ return k;+ }+ : function () {+ return f.length;+ })(),+ h = kb(4 + l + 1);+ H[h >> 2] = l;+ if (c && g) fa(f, h + 4, l + 1);+ else if (g)+ for (g = 0; g < l; ++g) {+ var p = f.charCodeAt(g);+ 255 < p &&+ (X(h),+ T('String has UTF-16 code units that do not fit in 8 bits'));+ B[h + 4 + g] = p;+ }+ else for (g = 0; g < l; ++g) B[h + 4 + g] = f[g];+ null !== d && d.push(X, h);+ return h;+ },+ argPackAdvance: 8,+ readValueFromPointer: Pa,+ F: function (d) {+ X(d);+ },+ });+ },+ h: function (a, b, c) {+ c = P(c);+ if (2 === b) {+ var d = ia;+ var f = ja;+ var g = ka;+ var l = function () {+ return D;+ };+ var h = 1;+ } else+ 4 === b &&+ ((d = la),+ (f = ma),+ (g = na),+ (l = function () {+ return H;+ }),+ (h = 2));+ U(a, {+ name: c,+ fromWireType: function (p) {+ for (var k = H[p >> 2], m = l(), q, x = p + 4, C = 0; C <= k; ++C) {+ var n = p + 4 + C * b;+ if (C == k || 0 == m[n >> h])+ (x = d(x, n - x)),+ void 0 === q+ ? (q = x)+ : ((q += String.fromCharCode(0)), (q += x)),+ (x = n + b);+ }+ X(p);+ return q;+ },+ toWireType: function (p, k) {+ 'string' !== typeof k &&+ T('Cannot pass non-string to C++ string type ' + c);+ var m = g(k),+ q = kb(4 + m + b);+ H[q >> 2] = m >> h;+ f(k, q + 4, m + b);+ null !== p && p.push(X, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Pa,+ F: function (p) {+ X(p);+ },+ });+ },+ q: function (a, b) {+ b = P(b);+ U(a, {+ L: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ g: Oa,+ n: function (a) {+ if (0 === a) return W(eb());+ var b = db[a];+ a = void 0 === b ? P(a) : b;+ return W(eb()[a]);+ },+ j: function (a) {+ 4 < a && (V[a].H += 1);+ },+ k: function (a, b, c, d) {+ a || T('Cannot use deleted val. handle = ' + a);+ a = V[a].value;+ var f = gb[b];+ if (!f) {+ f = '';+ for (var g = 0; g < b; ++g) f += (0 !== g ? ', ' : '') + 'arg' + g;+ var l =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (g = 0; g < b; ++g)+ l +=+ 'var argType' ++ g ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ g ++ '], "parameter ' ++ g ++ '");\nvar arg' ++ g ++ ' = argType' ++ g ++ '.readValueFromPointer(args);\nargs += argType' ++ g ++ "['argPackAdvance'];\n";+ f = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ l ++ ('var obj = new constructor(' ++ f ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(fb, e, W);+ gb[b] = f;+ }+ return f(a, c, d);+ },+ e: function () {+ z();+ },+ t: function (a, b, c) {+ B.copyWithin(a, b, b + c);+ },+ d: function (a) {+ a >>>= 0;+ var b = B.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ A.grow((Math.min(2147483648, d) - G.byteLength + 65535) >>> 16);+ ra(A.buffer);+ var f = 1;+ break a;+ } catch (g) {}+ f = void 0;+ }+ if (f) return !0;+ }+ return !1;+ },+ u: function () {+ return 0;+ },+ r: function () {},+ l: function (a, b, c, d) {+ for (var f = 0, g = 0; g < c; g++) {+ for (+ var l = F[(b + 8 * g) >> 2], h = F[(b + (8 * g + 4)) >> 2], p = 0;+ p < h;+ p+++ ) {+ var k = B[l + p],+ m = hb[a];+ if (0 === k || 10 === k) {+ for (k = 0; m[k] && !(NaN <= k); ) ++k;+ k = ea.decode(+ m.subarray ? m.subarray(0, k) : new Uint8Array(m.slice(0, k)),+ );+ (1 === a ? ca : w)(k);+ m.length = 0;+ } else m.push(k);+ }+ f += h;+ }+ F[d >> 2] = f;+ return 0;+ },+ a: A,+ s: function () {},+ };+ (function () {+ function a(f) {+ e.asm = f.exports;+ J = e.asm.w;+ K--;+ e.monitorRunDependencies && e.monitorRunDependencies(K);+ 0 == K &&+ (null !== ya && (clearInterval(ya), (ya = null)),+ L && ((f = L), (L = null), f()));+ }+ function b(f) {+ a(f.instance);+ }+ function c(f) {+ return Ca()+ .then(function (g) {+ return WebAssembly.instantiate(g, d);+ })+ .then(f, function (g) {+ w('failed to asynchronously prepare wasm: ' + g);+ z(g);+ });+ }+ var d = { a: lb };+ K++;+ e.monitorRunDependencies && e.monitorRunDependencies(K);+ if (e.instantiateWasm)+ try {+ return e.instantiateWasm(d, a);+ } catch (f) {+ return (+ w('Module.instantiateWasm callback failed with error: ' + f), !1+ );+ }+ (function () {+ return y ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ za() ||+ 'function' !== typeof fetch+ ? c(b)+ : fetch(N, { credentials: 'same-origin' }).then(function (f) {+ return WebAssembly.instantiateStreaming(f, d).then(b, function (+ g,+ ) {+ w('wasm streaming compile failed: ' + g);+ w('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })().catch(r);+ return {};+ })();+ var jb = (e.___wasm_call_ctors = function () {+ return (jb = e.___wasm_call_ctors = e.asm.x).apply(null, arguments);+ }),+ kb = (e._malloc = function () {+ return (kb = e._malloc = e.asm.y).apply(null, arguments);+ }),+ X = (e._free = function () {+ return (X = e._free = e.asm.z).apply(null, arguments);+ }),+ ab = (e.___getTypeName = function () {+ return (ab = e.___getTypeName = e.asm.A).apply(null, arguments);+ });+ e.___embind_register_native_and_builtin_types = function () {+ return (e.___embind_register_native_and_builtin_types = e.asm.B).apply(+ null,+ arguments,+ );+ };+ e.dynCall_jiji = function () {+ return (e.dynCall_jiji = e.asm.C).apply(null, arguments);+ };+ var Z;+ L = function mb() {+ Z || nb();+ Z || (L = mb);+ };+ function nb() {+ function a() {+ if (!Z && ((Z = !0), (e.calledRun = !0), !da)) {+ O(ua);+ O(va);+ aa(e);+ if (e.onRuntimeInitialized) e.onRuntimeInitialized();+ if (e.postRun)+ for (+ 'function' == typeof e.postRun && (e.postRun = [e.postRun]);+ e.postRun.length;-var d;d||(d=typeof imagequant !== 'undefined' ? imagequant : {});var aa;d.ready=new Promise(function(a){aa=a});var r={},t;for(t in d)d.hasOwnProperty(t)&&(r[t]=d[t]);var u=!1,v=!1,ba=!1,ca=!1;u="object"===typeof window;v="function"===typeof importScripts;ba="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;ca=!u&&!ba&&!v;var w="",x,z,da,ea;-if(ba)w=v?require("path").dirname(w)+"/":__dirname+"/",x=function(a,b){da||(da=require("fs"));ea||(ea=require("path"));a=ea.normalize(a);return da.readFileSync(a,b?null:"utf8")},z=function(a){a=x(a,!0);a.buffer||(a=new Uint8Array(a));a.buffer||A("Assertion failed: undefined");return a},1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),process.on("uncaughtException",function(a){throw a;}),process.on("unhandledRejection",A),d.inspect=function(){return"[Emscripten Module object]"};-else if(ca)"undefined"!=typeof read&&(x=function(a){return read(a)}),z=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");"object"===typeof a||A("Assertion failed: undefined");return a},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(u||v)v?w=self.location.href:document.currentScript&&(w=document.currentScript.src),_scriptDir&&-(w=_scriptDir),0!==w.indexOf("blob:")?w=w.substr(0,w.lastIndexOf("/")+1):w="",x=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText},v&&(z=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var fa=d.print||console.log.bind(console),B=d.printErr||console.warn.bind(console);for(t in r)r.hasOwnProperty(t)&&(d[t]=r[t]);r=null;var D;d.wasmBinary&&(D=d.wasmBinary);var noExitRuntime;-d.noExitRuntime&&(noExitRuntime=d.noExitRuntime);"object"!==typeof WebAssembly&&A("no native wasm support detected");var E,ha=new WebAssembly.Table({initial:46,maximum:46,element:"anyfunc"}),ia=!1,ja="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;-function ka(a,b,c){var e=b+c;for(c=b;a[c]&&!(c>=e);)++c;if(16<c-b&&a.subarray&&ja)return ja.decode(a.subarray(b,c));for(e="";b<c;){var f=a[b++];if(f&128){var g=a[b++]&63;if(192==(f&224))e+=String.fromCharCode((f&31)<<6|g);else{var l=a[b++]&63;f=224==(f&240)?(f&15)<<12|g<<6|l:(f&7)<<18|g<<12|l<<6|a[b++]&63;65536>f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}return e}-function la(a,b,c){var e=F;if(0<c){c=b+c-1;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var l=a.charCodeAt(++f);g=65536+((g&1023)<<10)|l&1023}if(127>=g){if(b>=c)break;e[b++]=g}else{if(2047>=g){if(b+1>=c)break;e[b++]=192|g>>6}else{if(65535>=g){if(b+2>=c)break;e[b++]=224|g>>12}else{if(b+3>=c)break;e[b++]=240|g>>18;e[b++]=128|g>>12&63}e[b++]=128|g>>6&63}e[b++]=128|g&63}}e[b]=0}}var ma="undefined"!==typeof TextDecoder?new TextDecoder("utf-16le"):void 0;-function na(a,b){var c=a>>1;for(var e=c+b/2;!(c>=e)&&G[c];)++c;c<<=1;if(32<c-a&&ma)return ma.decode(F.subarray(a,c));c=0;for(e="";;){var f=H[a+2*c>>1];if(0==f||c==b/2)return e;++c;e+=String.fromCharCode(f)}}function oa(a,b,c){void 0===c&&(c=2147483647);if(2>c)return 0;c-=2;var e=b;c=c<2*a.length?c/2:a.length;for(var f=0;f<c;++f)H[b>>1]=a.charCodeAt(f),b+=2;H[b>>1]=0;return b-e}function pa(a){return 2*a.length}-function qa(a,b){for(var c=0,e="";!(c>=b/4);){var f=I[a+4*c>>2];if(0==f)break;++c;65536<=f?(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023)):e+=String.fromCharCode(f)}return e}function ra(a,b,c){void 0===c&&(c=2147483647);if(4>c)return 0;var e=b;c=e+c-4;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var l=a.charCodeAt(++f);g=65536+((g&1023)<<10)|l&1023}I[b>>2]=g;b+=4;if(b+4>c)break}I[b>>2]=0;return b-e}-function sa(a){for(var b=0,c=0;c<a.length;++c){var e=a.charCodeAt(c);55296<=e&&57343>=e&&++c;b+=4}return b}var J,ta,F,H,G,I,L,ua,va;function wa(a){J=a;d.HEAP8=ta=new Int8Array(a);d.HEAP16=H=new Int16Array(a);d.HEAP32=I=new Int32Array(a);d.HEAPU8=F=new Uint8Array(a);d.HEAPU16=G=new Uint16Array(a);d.HEAPU32=L=new Uint32Array(a);d.HEAPF32=ua=new Float32Array(a);d.HEAPF64=va=new Float64Array(a)}var xa=d.INITIAL_MEMORY||16777216;d.wasmMemory?E=d.wasmMemory:E=new WebAssembly.Memory({initial:xa/65536,maximum:32768});-E&&(J=E.buffer);xa=J.byteLength;wa(J);I[1472]=5248928;function M(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b(d);else{var c=b.Y;"number"===typeof c?void 0===b.U?d.dynCall_v(c):d.dynCall_vi(c,b.U):c(void 0===b.U?null:b.U)}}}var ya=[],za=[],Aa=[],Ba=[];function Ca(){var a=d.preRun.shift();ya.unshift(a)}var N=0,Da=null,O=null;d.preloadedImages={};d.preloadedAudios={};-function A(a){if(d.onAbort)d.onAbort(a);fa(a);B(a);ia=!0;throw new WebAssembly.RuntimeError("abort("+a+"). Build with -s ASSERTIONS=1 for more info.");}function Ea(a){var b=Q;return String.prototype.startsWith?b.startsWith(a):0===b.indexOf(a)}function Fa(){return Ea("data:application/octet-stream;base64,")}var Q="imagequant.wasm";if(!Fa()){var Ga=Q;Q=d.locateFile?d.locateFile(Ga,w):w+Ga}-function Ha(){try{if(D)return new Uint8Array(D);if(z)return z(Q);throw"both async and sync fetching of the wasm failed";}catch(a){A(a)}}function Ia(){return D||!u&&!v||"function"!==typeof fetch||Ea("file://")?new Promise(function(a){a(Ha())}):fetch(Q,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+Q+"'";return a.arrayBuffer()}).catch(function(){return Ha()})}za.push({Y:function(){Ja()}});function R(){return 0<R.W}-function Ka(a){switch(a){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+a);}}var La=void 0;function S(a){for(var b="";F[a];)b+=La[F[a++]];return b}var T={},U={},V={};function Ma(a){if(void 0===a)return"_unknown";a=a.replace(/[^a-zA-Z0-9_]/g,"$");var b=a.charCodeAt(0);return 48<=b&&57>=b?"_"+a:a}-function Na(a,b){a=Ma(a);return(new Function("body","return function "+a+'() {\n "use strict"; return body.apply(this, arguments);\n};\n'))(b)}function Oa(a){var b=Error,c=Na(a,function(e){this.name=a;this.message=e;e=Error(e).stack;void 0!==e&&(this.stack=this.toString()+"\n"+e.replace(/^Error(:[^\n]*)?\n/,""))});c.prototype=Object.create(b.prototype);c.prototype.constructor=c;c.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message};return c}-var Pa=void 0;function W(a){throw new Pa(a);}var Qa=void 0;function Ra(a,b){function c(k){k=b(k);if(k.length!==e.length)throw new Qa("Mismatched type converter count");for(var h=0;h<e.length;++h)X(e[h],k[h])}var e=[];e.forEach(function(k){V[k]=a});var f=Array(a.length),g=[],l=0;a.forEach(function(k,h){U.hasOwnProperty(k)?f[h]=U[k]:(g.push(k),T.hasOwnProperty(k)||(T[k]=[]),T[k].push(function(){f[h]=U[k];++l;l===g.length&&c(f)}))});0===g.length&&c(f)}-function X(a,b,c){c=c||{};if(!("argPackAdvance"in b))throw new TypeError("registerType registeredInstance requires argPackAdvance");var e=b.name;a||W('type "'+e+'" must have a positive integer typeid pointer');if(U.hasOwnProperty(a)){if(c.Z)return;W("Cannot register type '"+e+"' twice")}U[a]=b;delete V[a];T.hasOwnProperty(a)&&(b=T[a],delete T[a],b.forEach(function(f){f()}))}var Sa=[],Y=[{},{value:void 0},{value:null},{value:!0},{value:!1}];-function Ta(a){4<a&&0===--Y[a].V&&(Y[a]=void 0,Sa.push(a))}function Ua(a){switch(a){case void 0:return 1;case null:return 2;case !0:return 3;case !1:return 4;default:var b=Sa.length?Sa.pop():Y.length;Y[b]={V:1,value:a};return b}}function Xa(a){return this.fromWireType(L[a>>2])}function Ya(a){if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a}-function Za(a,b){switch(b){case 2:return function(c){return this.fromWireType(ua[c>>2])};case 3:return function(c){return this.fromWireType(va[c>>3])};default:throw new TypeError("Unknown float type: "+a);}}function $a(a){var b=Function;if(!(b instanceof Function))throw new TypeError("new_ called with constructor type "+typeof b+" which is not a function");var c=Na(b.name||"unknownFunctionName",function(){});c.prototype=b.prototype;c=new c;a=b.apply(c,a);return a instanceof Object?a:c}-function ab(a){for(;a.length;){var b=a.pop();a.pop()(b)}}function bb(a,b){var c=d;if(void 0===c[a].S){var e=c[a];c[a]=function(){c[a].S.hasOwnProperty(arguments.length)||W("Function '"+b+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+c[a].S+")!");return c[a].S[arguments.length].apply(this,arguments)};c[a].S=[];c[a].S[e.X]=e}}-function cb(a,b,c){d.hasOwnProperty(a)?((void 0===c||void 0!==d[a].S&&void 0!==d[a].S[c])&&W("Cannot register public name '"+a+"' twice"),bb(a,a),d.hasOwnProperty(c)&&W("Cannot register multiple overloads of a function with the same number of arguments ("+c+")!"),d[a].S[c]=b):(d[a]=b,void 0!==c&&(d[a].aa=c))}function db(a,b){for(var c=[],e=0;e<a;e++)c.push(I[(b>>2)+e]);return c}-function eb(a,b){a=S(a);var c=d["dynCall_"+a];for(var e=[],f=1;f<a.length;++f)e.push("a"+f);f="return function dynCall_"+(a+"_"+b)+"("+e.join(", ")+") {\n";f+=" return dynCall(rawFunction"+(e.length?", ":"")+e.join(", ")+");\n";c=(new Function("dynCall","rawFunction",f+"};\n"))(c,b);"function"!==typeof c&&W("unknown function pointer with signature "+a+": "+b);return c}var fb=void 0;function gb(a){a=hb(a);var b=S(a);Z(a);return b}-function ib(a,b){function c(g){f[g]||U[g]||(V[g]?V[g].forEach(c):(e.push(g),f[g]=!0))}var e=[],f={};b.forEach(c);throw new fb(a+": "+e.map(gb).join([", "]));}function jb(a,b,c){switch(b){case 0:return c?function(e){return ta[e]}:function(e){return F[e]};case 1:return c?function(e){return H[e>>1]}:function(e){return G[e>>1]};case 2:return c?function(e){return I[e>>2]}:function(e){return L[e>>2]};default:throw new TypeError("Unknown integer type: "+a);}}var kb={};-function lb(){return"object"===typeof globalThis?globalThis:Function("return this")()}function mb(a,b){var c=U[a];void 0===c&&W(b+" has unknown type "+gb(a));return c}for(var nb={},ob=[null,[],[]],pb=Array(256),qb=0;256>qb;++qb)pb[qb]=String.fromCharCode(qb);La=pb;Pa=d.BindingError=Oa("BindingError");Qa=d.InternalError=Oa("InternalError");d.count_emval_handles=function(){for(var a=0,b=5;b<Y.length;++b)void 0!==Y[b]&&++a;return a};-d.get_first_emval=function(){for(var a=5;a<Y.length;++a)if(void 0!==Y[a])return Y[a];return null};fb=d.UnboundTypeError=Oa("UnboundTypeError");-var sb={n:function(a){return rb(a)},w:function(){},m:function(a){"uncaught_exception"in R?R.W++:R.W=1;throw a;},u:function(a,b,c,e,f){var g=Ka(c);b=S(b);X(a,{name:b,fromWireType:function(l){return!!l},toWireType:function(l,k){return k?e:f},argPackAdvance:8,readValueFromPointer:function(l){if(1===c)var k=ta;else if(2===c)k=H;else if(4===c)k=I;else throw new TypeError("Unknown boolean type size: "+b);return this.fromWireType(k[l>>g])},T:null})},t:function(a,b){b=S(b);X(a,{name:b,fromWireType:function(c){var e=-Y[c].value;Ta(c);return e},toWireType:function(c,e){return Ua(e)},argPackAdvance:8,readValueFromPointer:Xa,T:null})},h:function(a,b,c){c=Ka(c);b=S(b);X(a,{name:b,fromWireType:function(e){return e},toWireType:function(e,f){if("number"!==typeof f&&"boolean"!==typeof f)throw new TypeError('Cannot convert "'+Ya(f)+'" to '+this.name);return f},argPackAdvance:8,readValueFromPointer:Za(b,c),T:null})},d:function(a,b,c,e,f,g){var l=db(b,c);a=S(a);f=eb(e,f);cb(a,function(){ib("Cannot call "+a+" due to unbound types",-l)},b-1);Ra(l,function(k){var h=[k[0],null].concat(k.slice(1)),n=k=a,p=f,q=h.length;2>q&&W("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var y=null!==h[1]&&!1,C=!1,m=1;m<h.length;++m)if(null!==h[m]&&void 0===h[m].T){C=!0;break}var Va="void"!==h[0].name,K="",P="";for(m=0;m<q-2;++m)K+=(0!==m?", ":"")+"arg"+m,P+=(0!==m?", ":"")+"arg"+m+"Wired";n="return function "+Ma(n)+"("+K+") {\nif (arguments.length !== "+(q-2)+") {\nthrowBindingError('function "+n+" called with ' + arguments.length + ' arguments, expected "+-(q-2)+" args!');\n}\n";C&&(n+="var destructors = [];\n");var Wa=C?"destructors":"null";K="throwBindingError invoker fn runDestructors retType classParam".split(" ");p=[W,p,g,ab,h[0],h[1]];y&&(n+="var thisWired = classParam.toWireType("+Wa+", this);\n");for(m=0;m<q-2;++m)n+="var arg"+m+"Wired = argType"+m+".toWireType("+Wa+", arg"+m+"); // "+h[m+2].name+"\n",K.push("argType"+m),p.push(h[m+2]);y&&(P="thisWired"+(0<P.length?", ":"")+P);n+=(Va?"var rv = ":"")+"invoker(fn"+(0<P.length?", ":"")+P+");\n";-if(C)n+="runDestructors(destructors);\n";else for(m=y?1:2;m<h.length;++m)q=1===m?"thisWired":"arg"+(m-2)+"Wired",null!==h[m].T&&(n+=q+"_dtor("+q+"); // "+h[m].name+"\n",K.push(q+"_dtor"),p.push(h[m].T));Va&&(n+="var ret = retType.fromWireType(rv);\nreturn ret;\n");K.push(n+"}\n");h=$a(K).apply(null,p);m=b-1;if(!d.hasOwnProperty(k))throw new Qa("Replacing nonexistant public symbol");void 0!==d[k].S&&void 0!==m?d[k].S[m]=h:(d[k]=h,d[k].X=m);return[]})},b:function(a,b,c,e,f){function g(n){return n}b=-S(b);-1===f&&(f=4294967295);var l=Ka(c);if(0===e){var k=32-8*c;g=function(n){return n<<k>>>k}}var h=-1!=b.indexOf("unsigned");X(a,{name:b,fromWireType:g,toWireType:function(n,p){if("number"!==typeof p&&"boolean"!==typeof p)throw new TypeError('Cannot convert "'+Ya(p)+'" to '+this.name);if(p<e||p>f)throw new TypeError('Passing a number "'+Ya(p)+'" from JS side to C/C++ side to an argument of type "'+b+'", which is outside the valid range ['+e+", "+f+"]!");return h?p>>>0:p|0},argPackAdvance:8,readValueFromPointer:jb(b,-l,0!==e),T:null})},a:function(a,b,c){function e(g){g>>=2;var l=L;return new f(J,l[g+1],l[g])}var f=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];c=S(c);X(a,{name:c,fromWireType:e,argPackAdvance:8,readValueFromPointer:e},{Z:!0})},i:function(a,b){b=S(b);var c="std::string"===b;X(a,{name:b,fromWireType:function(e){var f=L[e>>2];if(c)for(var g=e+4,l=0;l<=f;++l){var k=e+4+l;if(0==F[k]||l==f){g=g?ka(F,g,k-g):"";if(void 0===h)var h=g;else h+=String.fromCharCode(0),-h+=g;g=k+1}}else{h=Array(f);for(l=0;l<f;++l)h[l]=String.fromCharCode(F[e+4+l]);h=h.join("")}Z(e);return h},toWireType:function(e,f){f instanceof ArrayBuffer&&(f=new Uint8Array(f));var g="string"===typeof f;g||f instanceof Uint8Array||f instanceof Uint8ClampedArray||f instanceof Int8Array||W("Cannot pass non-string to std::string");var l=(c&&g?function(){for(var n=0,p=0;p<f.length;++p){var q=f.charCodeAt(p);55296<=q&&57343>=q&&(q=65536+((q&1023)<<10)|f.charCodeAt(++p)&1023);127>=q?++n:n=2047>=q?n+-2:65535>=q?n+3:n+4}return n}:function(){return f.length})(),k=rb(4+l+1);L[k>>2]=l;if(c&&g)la(f,k+4,l+1);else if(g)for(g=0;g<l;++g){var h=f.charCodeAt(g);255<h&&(Z(k),W("String has UTF-16 code units that do not fit in 8 bits"));F[k+4+g]=h}else for(g=0;g<l;++g)F[k+4+g]=f[g];null!==e&&e.push(Z,k);return k},argPackAdvance:8,readValueFromPointer:Xa,T:function(e){Z(e)}})},e:function(a,b,c){c=S(c);if(2===b){var e=na;var f=oa;var g=pa;var l=function(){return G};var k=1}else 4===b&&(e=qa,f=ra,g=sa,l=function(){return L},-k=2);X(a,{name:c,fromWireType:function(h){for(var n=L[h>>2],p=l(),q,y=h+4,C=0;C<=n;++C){var m=h+4+C*b;if(0==p[m>>k]||C==n)y=e(y,m-y),void 0===q?q=y:(q+=String.fromCharCode(0),q+=y),y=m+b}Z(h);return q},toWireType:function(h,n){"string"!==typeof n&&W("Cannot pass non-string to C++ string type "+c);var p=g(n),q=rb(4+p+b);L[q>>2]=p>>k;f(n,q+4,p+b);null!==h&&h.push(Z,q);return q},argPackAdvance:8,readValueFromPointer:Xa,T:function(h){Z(h)}})},j:function(a,b){b=S(b);X(a,{$:!0,name:b,argPackAdvance:0,fromWireType:function(){},-toWireType:function(){}})},r:Ta,v:function(a){if(0===a)return Ua(lb());var b=kb[a];a=void 0===b?S(a):b;return Ua(lb()[a])},k:function(a){4<a&&(Y[a].V+=1)},l:function(a,b,c,e){a||W("Cannot use deleted val. handle = "+a);a=Y[a].value;var f=nb[b];if(!f){f="";for(var g=0;g<b;++g)f+=(0!==g?", ":"")+"arg"+g;var l="return function emval_allocator_"+b+"(constructor, argTypes, args) {\n";for(g=0;g<b;++g)l+="var argType"+g+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+g+'], "parameter '+g+-'");\nvar arg'+g+" = argType"+g+".readValueFromPointer(args);\nargs += argType"+g+"['argPackAdvance'];\n";f=(new Function("requireRegisteredType","Module","__emval_register",l+("var obj = new constructor("+f+");\nreturn __emval_register(obj);\n}\n")))(mb,d,Ua);nb[b]=f}return f(a,c,e)},f:function(){A()},q:function(a,b,c){F.copyWithin(a,b,b+c)},c:function(a){a>>>=0;var b=F.length;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var e=b*(1+.2/c);e=Math.min(e,a+100663296);e=Math.max(16777216,a,e);0<e%-65536&&(e+=65536-e%65536);a:{try{E.grow(Math.min(2147483648,e)-J.byteLength+65535>>>16);wa(E.buffer);var f=1;break a}catch(g){}f=void 0}if(f)return!0}return!1},s:function(){return 0},o:function(){},g:function(a,b,c,e){for(var f=0,g=0;g<c;g++){for(var l=I[b+8*g>>2],k=I[b+(8*g+4)>>2],h=0;h<k;h++){var n=F[l+h],p=ob[a];0===n||10===n?((1===a?fa:B)(ka(p,0)),p.length=0):p.push(n)}f+=k}I[e>>2]=f;return 0},memory:E,p:function(){},table:ha};-(function(){function a(f){d.asm=f.exports;N--;d.monitorRunDependencies&&d.monitorRunDependencies(N);0==N&&(null!==Da&&(clearInterval(Da),Da=null),O&&(f=O,O=null,f()))}function b(f){a(f.instance)}function c(f){return Ia().then(function(g){return WebAssembly.instantiate(g,e)}).then(f,function(g){B("failed to asynchronously prepare wasm: "+g);A(g)})}var e={a:sb};N++;d.monitorRunDependencies&&d.monitorRunDependencies(N);if(d.instantiateWasm)try{return d.instantiateWasm(e,a)}catch(f){return B("Module.instantiateWasm callback failed with error: "+-f),!1}(function(){if(D||"function"!==typeof WebAssembly.instantiateStreaming||Fa()||Ea("file://")||"function"!==typeof fetch)return c(b);fetch(Q,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,e).then(b,function(g){B("wasm streaming compile failed: "+g);B("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})();-var Ja=d.___wasm_call_ctors=function(){return(Ja=d.___wasm_call_ctors=d.asm.x).apply(null,arguments)},rb=d._malloc=function(){return(rb=d._malloc=d.asm.y).apply(null,arguments)},Z=d._free=function(){return(Z=d._free=d.asm.z).apply(null,arguments)},hb=d.___getTypeName=function(){return(hb=d.___getTypeName=d.asm.A).apply(null,arguments)};d.___embind_register_native_and_builtin_types=function(){return(d.___embind_register_native_and_builtin_types=d.asm.B).apply(null,arguments)};-d.dynCall_iiiiiif=function(){return(d.dynCall_iiiiiif=d.asm.C).apply(null,arguments)};d.dynCall_viiiiif=function(){return(d.dynCall_viiiiif=d.asm.D).apply(null,arguments)};d.dynCall_iiiiif=function(){return(d.dynCall_iiiiif=d.asm.E).apply(null,arguments)};d.dynCall_viiiif=function(){return(d.dynCall_viiiif=d.asm.F).apply(null,arguments)};d.dynCall_ii=function(){return(d.dynCall_ii=d.asm.G).apply(null,arguments)};d.dynCall_i=function(){return(d.dynCall_i=d.asm.H).apply(null,arguments)};-d.dynCall_vi=function(){return(d.dynCall_vi=d.asm.I).apply(null,arguments)};d.dynCall_iii=function(){return(d.dynCall_iii=d.asm.J).apply(null,arguments)};d.dynCall_vif=function(){return(d.dynCall_vif=d.asm.K).apply(null,arguments)};d.dynCall_iidiiii=function(){return(d.dynCall_iidiiii=d.asm.L).apply(null,arguments)};d.dynCall_vii=function(){return(d.dynCall_vii=d.asm.M).apply(null,arguments)};d.dynCall_iiii=function(){return(d.dynCall_iiii=d.asm.N).apply(null,arguments)};-d.dynCall_jiji=function(){return(d.dynCall_jiji=d.asm.O).apply(null,arguments)};d.dynCall_viiiiii=function(){return(d.dynCall_viiiiii=d.asm.P).apply(null,arguments)};d.dynCall_viiiii=function(){return(d.dynCall_viiiii=d.asm.Q).apply(null,arguments)};d.dynCall_viiii=function(){return(d.dynCall_viiii=d.asm.R).apply(null,arguments)};var tb;O=function ub(){tb||vb();tb||(O=ub)};-function vb(){function a(){if(!tb&&(tb=!0,d.calledRun=!0,!ia)){M(za);M(Aa);aa(d);if(d.onRuntimeInitialized)d.onRuntimeInitialized();if(d.postRun)for("function"==typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;){var b=d.postRun.shift();Ba.unshift(b)}M(Ba)}}if(!(0<N)){if(d.preRun)for("function"==typeof d.preRun&&(d.preRun=[d.preRun]);d.preRun.length;)Ca();M(ya);0<N||(d.setStatus?(d.setStatus("Running..."),setTimeout(function(){setTimeout(function(){d.setStatus("")},1);a()},1)):a())}}-d.run=vb;if(d.preInit)for("function"==typeof d.preInit&&(d.preInit=[d.preInit]);0<d.preInit.length;)d.preInit.pop()();noExitRuntime=!0;vb();+ ) {+ var b = e.postRun.shift();+ wa.unshift(b);+ }+ O(wa);+ }+ }+ if (!(0 < K)) {+ if (e.preRun)+ for (+ 'function' == typeof e.preRun && (e.preRun = [e.preRun]);+ e.preRun.length;+ )+ xa();+ O(ta);+ 0 < K ||+ (e.setStatus+ ? (e.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ e.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ e.run = nb;+ if (e.preInit)+ for (+ 'function' == typeof e.preInit && (e.preInit = [e.preInit]);+ 0 < e.preInit.length;- return imagequant.ready-}-);+ )+ e.preInit.pop()();+ noExitRuntime = !0;+ nb();++ return Module.ready;+ };})();-if (typeof exports === 'object' && typeof module === 'object')- module.exports = imagequant;- else if (typeof define === 'function' && define['amd'])- define([], function() { return imagequant; });- else if (typeof exports === 'object')- exports["imagequant"] = imagequant;-\ No newline at end of file+export default Module;diff --git a/codecs/imagequant/imagequant.wasm b/codecs/imagequant/imagequant.wasmold mode 100644new mode 100755index 483de012..4f633dbcBinary files a/codecs/imagequant/imagequant.wasm and b/codecs/imagequant/imagequant.wasm differdiff --git a/codecs/jxl/Makefile b/codecs/jxl/Makefilenew file mode 100644index 00000000..f4152507--- /dev/null+++ b/codecs/jxl/Makefile@@ -0,0 +1,59 @@+CODEC_URL = https://gitlab.com/wg1/jpeg-xl.git+CODEC_VERSION = v0.1+CODEC_DIR = node_modules/jxl+CODEC_BUILD_DIR := $(CODEC_DIR)/build+CODEC_OUT := $(CODEC_BUILD_DIR)/lib/libjxl.a++OUT_JS = enc/jxl_enc.js dec/jxl_dec.js+OUT_WASM = $(OUT_JS:.js=.wasm)++.PHONY: all clean++all: $(OUT_JS)++%.js: %.cpp $(LIBAOM_OUT) $(CODEC_OUT)+ $(CXX) \+ -I $(CODEC_DIR) \+ -I $(CODEC_DIR)/lib \+ -I $(CODEC_DIR)/lib/include \+ -I $(CODEC_BUILD_DIR)/lib/include \+ -I $(CODEC_DIR)/third_party/highway \+ -I $(CODEC_DIR)/third_party/skcms \+ -I $(CODEC_DIR)/third_party/brunsli \+ -I $(CODEC_DIR)/third_party/brunsli/c/include \+ ${CXXFLAGS} \+ ${LDFLAGS} \+ --bind \+ --closure 1 \+ -s ALLOW_MEMORY_GROWTH=1 \+ -s MODULARIZE=1 \+ -s TEXTDECODER=2 \+ -s ENVIRONMENT='worker' \+ -s EXPORT_ES6=1 \+ -s EXPORT_NAME="$(basename $(@F))" \+ -o $@ \+ $+ \+ $(CODEC_BUILD_DIR)/artifacts/libbrunslienc-static.bc \+ $(CODEC_BUILD_DIR)/artifacts/libbrunslicommon-static.bc \+ $(CODEC_BUILD_DIR)/artifacts/libbrunslidec-static.bc \+ $(CODEC_BUILD_DIR)/third_party/brotli/libbrotlidec-static.a \+ $(CODEC_BUILD_DIR)/third_party/brotli/libbrotlienc-static.a \+ $(CODEC_BUILD_DIR)/third_party/brotli/libbrotlicommon-static.a \+ $(CODEC_BUILD_DIR)/third_party/libskcms.a \+ $(CODEC_BUILD_DIR)/third_party/highway/libhwy.a++$(CODEC_OUT): $(CODEC_DIR)/CMakeLists.txt+ mkdir -p $(CODEC_BUILD_DIR)+ cd $(CODEC_BUILD_DIR) && \+ emcmake cmake ../ && \+ $(MAKE) jxl-static++$(CODEC_DIR)/CMakeLists.txt: $(CODEC_DIR)++$(CODEC_DIR):+ mkdir -p $@+ git clone $(CODEC_URL) --recursive -j`nproc` --depth 1 --branch $(CODEC_VERSION) $@++clean:+ $(RM) $(OUT_JS) $(OUT_WASM)+ $(MAKE) -C $(CODEC_BUILD_DIR) cleandiff --git a/codecs/jxl/dec/jxl_dec.cpp b/codecs/jxl/dec/jxl_dec.cppnew file mode 100644index 00000000..556d49b4--- /dev/null+++ b/codecs/jxl/dec/jxl_dec.cpp@@ -0,0 +1,72 @@+#include <emscripten/bind.h>+#include <emscripten/val.h>++#include <jxl/decode.h>+#include "lib/jxl/color_encoding_internal.h"++#include "skcms.h"++using namespace emscripten;++thread_local const val Uint8ClampedArray = val::global("Uint8ClampedArray");+thread_local const val ImageData = val::global("ImageData");++// R, G, B, A+#define COMPONENTS_PER_PIXEL 4++#define EXPECT_TRUE(a) \+ if (!(a)) { \+ return val::null(); \+ }++#define EXPECT_EQ(a, b) EXPECT_TRUE((a) == (b));++val decode(std::string data) {+ std::unique_ptr<JxlDecoder,+ std::integral_constant<decltype(&JxlDecoderDestroy), JxlDecoderDestroy>>+ dec(JxlDecoderCreate(nullptr));+ EXPECT_EQ(JXL_DEC_SUCCESS,+ JxlDecoderSubscribeEvents(+ dec.get(), JXL_DEC_BASIC_INFO | JXL_DEC_COLOR_ENCODING | JXL_DEC_FULL_IMAGE));++ auto next_in = (const uint8_t*)data.c_str();+ auto avail_in = data.size();+ EXPECT_EQ(JXL_DEC_BASIC_INFO, JxlDecoderProcessInput(dec.get(), &next_in, &avail_in));+ JxlBasicInfo info;+ EXPECT_EQ(JXL_DEC_SUCCESS, JxlDecoderGetBasicInfo(dec.get(), &info));+ size_t pixel_count = info.xsize * info.ysize;+ size_t component_count = pixel_count * COMPONENTS_PER_PIXEL;++ EXPECT_EQ(JXL_DEC_COLOR_ENCODING, JxlDecoderProcessInput(dec.get(), &next_in, &avail_in));+ static const JxlPixelFormat format = {COMPONENTS_PER_PIXEL, JXL_TYPE_FLOAT, JXL_LITTLE_ENDIAN, 0};+ size_t icc_size;+ EXPECT_EQ(JXL_DEC_SUCCESS, JxlDecoderGetICCProfileSize(dec.get(), &format,+ JXL_COLOR_PROFILE_TARGET_DATA, &icc_size));+ std::vector<uint8_t> icc_profile(icc_size);+ EXPECT_EQ(JXL_DEC_SUCCESS,+ JxlDecoderGetColorAsICCProfile(dec.get(), &format, JXL_COLOR_PROFILE_TARGET_DATA,+ icc_profile.data(), icc_profile.size()));++ auto float_pixels = std::make_unique<float[]>(component_count);+ EXPECT_EQ(JXL_DEC_SUCCESS, JxlDecoderSetImageOutBuffer(dec.get(), &format, float_pixels.get(),+ component_count * sizeof(float)));+ EXPECT_EQ(JXL_DEC_FULL_IMAGE, JxlDecoderProcessInput(dec.get(), &next_in, &avail_in));++ auto byte_pixels = std::make_unique<uint8_t[]>(component_count);+ // Convert to sRGB.+ skcms_ICCProfile jxl_profile;+ EXPECT_TRUE(skcms_Parse(icc_profile.data(), icc_profile.size(), &jxl_profile));+ EXPECT_TRUE(skcms_Transform(+ float_pixels.get(), skcms_PixelFormat_RGBA_ffff,+ info.alpha_premultiplied ? skcms_AlphaFormat_PremulAsEncoded : skcms_AlphaFormat_Unpremul,+ &jxl_profile, byte_pixels.get(), skcms_PixelFormat_RGBA_8888, skcms_AlphaFormat_Unpremul,+ skcms_sRGB_profile(), pixel_count));++ return ImageData.new_(+ Uint8ClampedArray.new_(typed_memory_view(component_count, byte_pixels.get())), info.xsize,+ info.ysize);+}++EMSCRIPTEN_BINDINGS(my_module) {+ function("decode", &decode);+}diff --git a/codecs/jxl/dec/jxl_dec.d.ts b/codecs/jxl/dec/jxl_dec.d.tsnew file mode 100644index 00000000..4751f578--- /dev/null+++ b/codecs/jxl/dec/jxl_dec.d.ts@@ -0,0 +1,7 @@+export interface JXLModule extends EmscriptenWasm.Module {+ decode(data: BufferSource): ImageData | null;+}++declare var moduleFactory: EmscriptenWasm.ModuleFactory<JXLModule>;++export default moduleFactory;diff --git a/codecs/jxl/dec/jxl_dec.js b/codecs/jxl/dec/jxl_dec.jsnew file mode 100644index 00000000..17ff25e4--- /dev/null+++ b/codecs/jxl/dec/jxl_dec.js@@ -0,0 +1,1195 @@+var jxl_dec = (function () {+ var _scriptDir = import.meta.url;++ return function (jxl_dec) {+ jxl_dec = jxl_dec || {};++ var e;+ e || (e = typeof jxl_dec !== 'undefined' ? jxl_dec : {});+ var aa, ba;+ e.ready = new Promise(function (a, b) {+ aa = a;+ ba = b;+ });+ var r = {},+ t;+ for (t in e) e.hasOwnProperty(t) && (r[t] = e[t]);+ var ca = './this.program',+ u = '',+ da;+ u = self.location.href;+ _scriptDir && (u = _scriptDir);+ 0 !== u.indexOf('blob:')+ ? (u = u.substr(0, u.lastIndexOf('/') + 1))+ : (u = '');+ da = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var ea = e.print || console.log.bind(console),+ v = e.printErr || console.warn.bind(console);+ for (t in r) r.hasOwnProperty(t) && (e[t] = r[t]);+ r = null;+ e.thisProgram && (ca = e.thisProgram);+ var w;+ e.wasmBinary && (w = e.wasmBinary);+ var noExitRuntime;+ e.noExitRuntime && (noExitRuntime = e.noExitRuntime);+ 'object' !== typeof WebAssembly && y('no native wasm support detected');+ var z,+ fa = !1,+ ha = new TextDecoder('utf8');+ function ia(a, b, c) {+ var d = A;+ if (0 < c) {+ c = b + c - 1;+ for (var f = 0; f < a.length; ++f) {+ var g = a.charCodeAt(f);+ if (55296 <= g && 57343 >= g) {+ var l = a.charCodeAt(++f);+ g = (65536 + ((g & 1023) << 10)) | (l & 1023);+ }+ if (127 >= g) {+ if (b >= c) break;+ d[b++] = g;+ } else {+ if (2047 >= g) {+ if (b + 1 >= c) break;+ d[b++] = 192 | (g >> 6);+ } else {+ if (65535 >= g) {+ if (b + 2 >= c) break;+ d[b++] = 224 | (g >> 12);+ } else {+ if (b + 3 >= c) break;+ d[b++] = 240 | (g >> 18);+ d[b++] = 128 | ((g >> 12) & 63);+ }+ d[b++] = 128 | ((g >> 6) & 63);+ }+ d[b++] = 128 | (g & 63);+ }+ }+ d[b] = 0;+ }+ }+ var ja = new TextDecoder('utf-16le');+ function ka(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && B[c]; ) ++c;+ return ja.decode(A.subarray(a, c << 1));+ }+ function la(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var f = 0; f < c; ++f) (D[b >> 1] = a.charCodeAt(f)), (b += 2);+ D[b >> 1] = 0;+ return b - d;+ }+ function ma(a) {+ return 2 * a.length;+ }+ function na(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var f = E[(a + 4 * c) >> 2];+ if (0 == f) break;+ ++c;+ 65536 <= f+ ? ((f -= 65536),+ (d += String.fromCharCode(55296 | (f >> 10), 56320 | (f & 1023))))+ : (d += String.fromCharCode(f));+ }+ return d;+ }+ function oa(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var f = 0; f < a.length; ++f) {+ var g = a.charCodeAt(f);+ if (55296 <= g && 57343 >= g) {+ var l = a.charCodeAt(++f);+ g = (65536 + ((g & 1023) << 10)) | (l & 1023);+ }+ E[b >> 2] = g;+ b += 4;+ if (b + 4 > c) break;+ }+ E[b >> 2] = 0;+ return b - d;+ }+ function pa(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var F, G, A, D, B, E, H, qa, ra;+ function sa(a) {+ F = a;+ e.HEAP8 = G = new Int8Array(a);+ e.HEAP16 = D = new Int16Array(a);+ e.HEAP32 = E = new Int32Array(a);+ e.HEAPU8 = A = new Uint8Array(a);+ e.HEAPU16 = B = new Uint16Array(a);+ e.HEAPU32 = H = new Uint32Array(a);+ e.HEAPF32 = qa = new Float32Array(a);+ e.HEAPF64 = ra = new Float64Array(a);+ }+ var ta = e.INITIAL_MEMORY || 16777216;+ e.wasmMemory+ ? (z = e.wasmMemory)+ : (z = new WebAssembly.Memory({ initial: ta / 65536, maximum: 32768 }));+ z && (F = z.buffer);+ ta = F.byteLength;+ sa(F);+ var J,+ ua = [],+ va = [],+ wa = [],+ xa = [];+ function ya() {+ var a = e.preRun.shift();+ ua.unshift(a);+ }+ var K = 0,+ za = null,+ L = null;+ e.preloadedImages = {};+ e.preloadedAudios = {};+ function y(a) {+ if (e.onAbort) e.onAbort(a);+ v(a);+ fa = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ ba(a);+ throw a;+ }+ function Aa() {+ var a = N;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var N = 'jxl_dec.wasm';+ if (!Aa()) {+ var Ba = N;+ N = e.locateFile ? e.locateFile(Ba, u) : u + Ba;+ }+ function Ca() {+ try {+ if (w) return new Uint8Array(w);+ if (da) return da(N);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ y(a);+ }+ }+ function Da() {+ return w || 'function' !== typeof fetch+ ? Promise.resolve().then(Ca)+ : fetch(N, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + N + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Ca();+ });+ }+ function O(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(e);+ else {+ var c = b.L;+ 'number' === typeof c+ ? void 0 === b.I+ ? J.get(c)()+ : J.get(c)(b.I)+ : c(void 0 === b.I ? null : b.I);+ }+ }+ }+ function Ea(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var Fa = void 0;+ function P(a) {+ for (var b = ''; A[a]; ) b += Fa[A[a++]];+ return b;+ }+ var Q = {},+ R = {},+ S = {};+ function Ga(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Ha(a, b) {+ a = Ga(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function Ia(a) {+ var b = Error,+ c = Ha(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var Ja = void 0;+ function T(a) {+ throw new Ja(a);+ }+ var Ka = void 0;+ function La(a, b) {+ function c(h) {+ h = b(h);+ if (h.length !== d.length)+ throw new Ka('Mismatched type converter count');+ for (var p = 0; p < d.length; ++p) U(d[p], h[p]);+ }+ var d = [];+ d.forEach(function (h) {+ S[h] = a;+ });+ var f = Array(a.length),+ g = [],+ l = 0;+ a.forEach(function (h, p) {+ R.hasOwnProperty(h)+ ? (f[p] = R[h])+ : (g.push(h),+ Q.hasOwnProperty(h) || (Q[h] = []),+ Q[h].push(function () {+ f[p] = R[h];+ ++l;+ l === g.length && c(f);+ }));+ });+ 0 === g.length && c(f);+ }+ function U(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || T('type "' + d + '" must have a positive integer typeid pointer');+ if (R.hasOwnProperty(a)) {+ if (c.M) return;+ T("Cannot register type '" + d + "' twice");+ }+ R[a] = b;+ delete S[a];+ Q.hasOwnProperty(a) &&+ ((b = Q[a]),+ delete Q[a],+ b.forEach(function (f) {+ f();+ }));+ }+ var Ma = [],+ V = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Na(a) {+ 4 < a && 0 === --V[a].J && ((V[a] = void 0), Ma.push(a));+ }+ function W(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Ma.length ? Ma.pop() : V.length;+ V[b] = { J: 1, value: a };+ return b;+ }+ }+ function Oa(a) {+ return this.fromWireType(H[a >> 2]);+ }+ function Ra(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Sa(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(qa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(ra[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Ta(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Ha(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Ua(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Va(a, b) {+ var c = e;+ if (void 0 === c[a].G) {+ var d = c[a];+ c[a] = function () {+ c[a].G.hasOwnProperty(arguments.length) ||+ T(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].G ++ ')!',+ );+ return c[a].G[arguments.length].apply(this, arguments);+ };+ c[a].G = [];+ c[a].G[d.K] = d;+ }+ }+ function Wa(a, b, c) {+ e.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== e[a].G && void 0 !== e[a].G[c])) &&+ T("Cannot register public name '" + a + "' twice"),+ Va(a, a),+ e.hasOwnProperty(c) &&+ T(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (e[a].G[c] = b))+ : ((e[a] = b), void 0 !== c && (e[a].O = c));+ }+ function Xa(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(E[(b >> 2) + d]);+ return c;+ }+ function Ya(a, b) {+ 0 <= a.indexOf('j') ||+ y('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var f;+ -1 != a.indexOf('j')+ ? (f =+ c && c.length+ ? e['dynCall_' + a].apply(null, [b].concat(c))+ : e['dynCall_' + a].call(null, b))+ : (f = J.get(b).apply(null, c));+ return f;+ };+ }+ function Za(a, b) {+ a = P(a);+ var c = -1 != a.indexOf('j') ? Ya(a, b) : J.get(b);+ 'function' !== typeof c &&+ T('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var $a = void 0;+ function ab(a) {+ a = bb(a);+ var b = P(a);+ X(a);+ return b;+ }+ function cb(a, b) {+ function c(g) {+ f[g] || R[g] || (S[g] ? S[g].forEach(c) : (d.push(g), (f[g] = !0)));+ }+ var d = [],+ f = {};+ b.forEach(c);+ throw new $a(a + ': ' + d.map(ab).join([', ']));+ }+ function db(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return G[d];+ }+ : function (d) {+ return A[d];+ };+ case 1:+ return c+ ? function (d) {+ return D[d >> 1];+ }+ : function (d) {+ return B[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return E[d >> 2];+ }+ : function (d) {+ return H[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var eb = {};+ function fb() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function gb(a, b) {+ var c = R[a];+ void 0 === c && T(b + ' has unknown type ' + ab(a));+ return c;+ }+ var hb = {},+ ib = {};+ function jb() {+ if (!kb) {+ var a = {+ USER: 'web_user',+ LOGNAME: 'web_user',+ PATH: '/',+ PWD: '/',+ HOME: '/home/web_user',+ LANG:+ (+ ('object' === typeof navigator &&+ navigator.languages &&+ navigator.languages[0]) ||+ 'C'+ ).replace('-', '_') + '.UTF-8',+ _: ca || './this.program',+ },+ b;+ for (b in ib) a[b] = ib[b];+ var c = [];+ for (b in a) c.push(b + '=' + a[b]);+ kb = c;+ }+ return kb;+ }+ for (var kb, lb = [null, [], []], mb = Array(256), Y = 0; 256 > Y; ++Y)+ mb[Y] = String.fromCharCode(Y);+ Fa = mb;+ Ja = e.BindingError = Ia('BindingError');+ Ka = e.InternalError = Ia('InternalError');+ e.count_emval_handles = function () {+ for (var a = 0, b = 5; b < V.length; ++b) void 0 !== V[b] && ++a;+ return a;+ };+ e.get_first_emval = function () {+ for (var a = 5; a < V.length; ++a) if (void 0 !== V[a]) return V[a];+ return null;+ };+ $a = e.UnboundTypeError = Ia('UnboundTypeError');+ va.push({+ L: function () {+ nb();+ },+ });+ var pb = {+ h: function () {},+ o: function (a, b, c, d, f) {+ var g = Ea(c);+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (l) {+ return !!l;+ },+ toWireType: function (l, h) {+ return h ? d : f;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (l) {+ if (1 === c) var h = G;+ else if (2 === c) h = D;+ else if (4 === c) h = E;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(h[l >> g]);+ },+ H: null,+ });+ },+ x: function (a, b) {+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (c) {+ var d = V[c].value;+ Na(c);+ return d;+ },+ toWireType: function (c, d) {+ return W(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Oa,+ H: null,+ });+ },+ n: function (a, b, c) {+ c = Ea(c);+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, f) {+ if ('number' !== typeof f && 'boolean' !== typeof f)+ throw new TypeError(+ 'Cannot convert "' + Ra(f) + '" to ' + this.name,+ );+ return f;+ },+ argPackAdvance: 8,+ readValueFromPointer: Sa(b, c),+ H: null,+ });+ },+ q: function (a, b, c, d, f, g) {+ var l = Xa(b, c);+ a = P(a);+ f = Za(d, f);+ Wa(+ a,+ function () {+ cb('Cannot call ' + a + ' due to unbound types', l);+ },+ b - 1,+ );+ La(l, function (h) {+ var p = a,+ k = a;+ h = [h[0], null].concat(h.slice(1));+ var m = f,+ q = h.length;+ 2 > q &&+ T(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var x = null !== h[1] && !1, C = !1, n = 1; n < h.length; ++n)+ if (null !== h[n] && void 0 === h[n].H) {+ C = !0;+ break;+ }+ var Pa = 'void' !== h[0].name,+ I = '',+ M = '';+ for (n = 0; n < q - 2; ++n)+ (I += (0 !== n ? ', ' : '') + 'arg' + n),+ (M += (0 !== n ? ', ' : '') + 'arg' + n + 'Wired');+ k =+ 'return function ' ++ Ga(k) ++ '(' ++ I ++ ') {\nif (arguments.length !== ' ++ (q - 2) ++ ") {\nthrowBindingError('function " ++ k ++ " called with ' + arguments.length + ' arguments, expected " ++ (q - 2) ++ " args!');\n}\n";+ C && (k += 'var destructors = [];\n');+ var Qa = C ? 'destructors' : 'null';+ I = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ m = [T, m, g, Ua, h[0], h[1]];+ x &&+ (k += 'var thisWired = classParam.toWireType(' + Qa + ', this);\n');+ for (n = 0; n < q - 2; ++n)+ (k +=+ 'var arg' ++ n ++ 'Wired = argType' ++ n ++ '.toWireType(' ++ Qa ++ ', arg' ++ n ++ '); // ' ++ h[n + 2].name ++ '\n'),+ I.push('argType' + n),+ m.push(h[n + 2]);+ x && (M = 'thisWired' + (0 < M.length ? ', ' : '') + M);+ k +=+ (Pa ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < M.length ? ', ' : '') ++ M ++ ');\n';+ if (C) k += 'runDestructors(destructors);\n';+ else+ for (n = x ? 1 : 2; n < h.length; ++n)+ (q = 1 === n ? 'thisWired' : 'arg' + (n - 2) + 'Wired'),+ null !== h[n].H &&+ ((k += q + '_dtor(' + q + '); // ' + h[n].name + '\n'),+ I.push(q + '_dtor'),+ m.push(h[n].H));+ Pa && (k += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ I.push(k + '}\n');+ h = Ta(I).apply(null, m);+ n = b - 1;+ if (!e.hasOwnProperty(p))+ throw new Ka('Replacing nonexistant public symbol');+ void 0 !== e[p].G && void 0 !== n+ ? (e[p].G[n] = h)+ : ((e[p] = h), (e[p].K = n));+ return [];+ });+ },+ d: function (a, b, c, d, f) {+ function g(k) {+ return k;+ }+ b = P(b);+ -1 === f && (f = 4294967295);+ var l = Ea(c);+ if (0 === d) {+ var h = 32 - 8 * c;+ g = function (k) {+ return (k << h) >>> h;+ };+ }+ var p = -1 != b.indexOf('unsigned');+ U(a, {+ name: b,+ fromWireType: g,+ toWireType: function (k, m) {+ if ('number' !== typeof m && 'boolean' !== typeof m)+ throw new TypeError(+ 'Cannot convert "' + Ra(m) + '" to ' + this.name,+ );+ if (m < d || m > f)+ throw new TypeError(+ 'Passing a number "' ++ Ra(m) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ f ++ ']!',+ );+ return p ? m >>> 0 : m | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: db(b, l, 0 !== d),+ H: null,+ });+ },+ c: function (a, b, c) {+ function d(g) {+ g >>= 2;+ var l = H;+ return new f(F, l[g + 1], l[g]);+ }+ var f = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = P(c);+ U(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { M: !0 },+ );+ },+ j: function (a, b) {+ b = P(b);+ var c = 'std::string' === b;+ U(a, {+ name: b,+ fromWireType: function (d) {+ var f = H[d >> 2];+ if (c)+ for (var g = d + 4, l = 0; l <= f; ++l) {+ var h = d + 4 + l;+ if (l == f || 0 == A[h]) {+ if (g) {+ for (var p = g + (h - g), k = g; !(k >= p) && A[k]; ) ++k;+ g = ha.decode(A.subarray(g, k));+ } else g = '';+ if (void 0 === m) var m = g;+ else (m += String.fromCharCode(0)), (m += g);+ g = h + 1;+ }+ }+ else {+ m = Array(f);+ for (l = 0; l < f; ++l) m[l] = String.fromCharCode(A[d + 4 + l]);+ m = m.join('');+ }+ X(d);+ return m;+ },+ toWireType: function (d, f) {+ f instanceof ArrayBuffer && (f = new Uint8Array(f));+ var g = 'string' === typeof f;+ g ||+ f instanceof Uint8Array ||+ f instanceof Uint8ClampedArray ||+ f instanceof Int8Array ||+ T('Cannot pass non-string to std::string');+ var l = (c && g+ ? function () {+ for (var k = 0, m = 0; m < f.length; ++m) {+ var q = f.charCodeAt(m);+ 55296 <= q &&+ 57343 >= q &&+ (q =+ (65536 + ((q & 1023) << 10)) |+ (f.charCodeAt(++m) & 1023));+ 127 >= q+ ? ++k+ : (k = 2047 >= q ? k + 2 : 65535 >= q ? k + 3 : k + 4);+ }+ return k;+ }+ : function () {+ return f.length;+ })(),+ h = ob(4 + l + 1);+ H[h >> 2] = l;+ if (c && g) ia(f, h + 4, l + 1);+ else if (g)+ for (g = 0; g < l; ++g) {+ var p = f.charCodeAt(g);+ 255 < p &&+ (X(h),+ T('String has UTF-16 code units that do not fit in 8 bits'));+ A[h + 4 + g] = p;+ }+ else for (g = 0; g < l; ++g) A[h + 4 + g] = f[g];+ null !== d && d.push(X, h);+ return h;+ },+ argPackAdvance: 8,+ readValueFromPointer: Oa,+ H: function (d) {+ X(d);+ },+ });+ },+ i: function (a, b, c) {+ c = P(c);+ if (2 === b) {+ var d = ka;+ var f = la;+ var g = ma;+ var l = function () {+ return B;+ };+ var h = 1;+ } else+ 4 === b &&+ ((d = na),+ (f = oa),+ (g = pa),+ (l = function () {+ return H;+ }),+ (h = 2));+ U(a, {+ name: c,+ fromWireType: function (p) {+ for (var k = H[p >> 2], m = l(), q, x = p + 4, C = 0; C <= k; ++C) {+ var n = p + 4 + C * b;+ if (C == k || 0 == m[n >> h])+ (x = d(x, n - x)),+ void 0 === q+ ? (q = x)+ : ((q += String.fromCharCode(0)), (q += x)),+ (x = n + b);+ }+ X(p);+ return q;+ },+ toWireType: function (p, k) {+ 'string' !== typeof k &&+ T('Cannot pass non-string to C++ string type ' + c);+ var m = g(k),+ q = ob(4 + m + b);+ H[q >> 2] = m >> h;+ f(k, q + 4, m + b);+ null !== p && p.push(X, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Oa,+ H: function (p) {+ X(p);+ },+ });+ },+ p: function (a, b) {+ b = P(b);+ U(a, {+ N: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ f: Na,+ g: function (a) {+ if (0 === a) return W(fb());+ var b = eb[a];+ a = void 0 === b ? P(a) : b;+ return W(fb()[a]);+ },+ k: function (a) {+ 4 < a && (V[a].J += 1);+ },+ l: function (a, b, c, d) {+ a || T('Cannot use deleted val. handle = ' + a);+ a = V[a].value;+ var f = hb[b];+ if (!f) {+ f = '';+ for (var g = 0; g < b; ++g) f += (0 !== g ? ', ' : '') + 'arg' + g;+ var l =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (g = 0; g < b; ++g)+ l +=+ 'var argType' ++ g ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ g ++ '], "parameter ' ++ g ++ '");\nvar arg' ++ g ++ ' = argType' ++ g ++ '.readValueFromPointer(args);\nargs += argType' ++ g ++ "['argPackAdvance'];\n";+ f = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ l ++ ('var obj = new constructor(' ++ f ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(gb, e, W);+ hb[b] = f;+ }+ return f(a, c, d);+ },+ b: function () {+ y();+ },+ t: function (a, b, c) {+ A.copyWithin(a, b, b + c);+ },+ e: function (a) {+ a >>>= 0;+ var b = A.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ z.grow((Math.min(2147483648, d) - F.byteLength + 65535) >>> 16);+ sa(z.buffer);+ var f = 1;+ break a;+ } catch (g) {}+ f = void 0;+ }+ if (f) return !0;+ }+ return !1;+ },+ u: function (a, b) {+ var c = 0;+ jb().forEach(function (d, f) {+ var g = b + c;+ f = E[(a + 4 * f) >> 2] = g;+ for (g = 0; g < d.length; ++g) G[f++ >> 0] = d.charCodeAt(g);+ G[f >> 0] = 0;+ c += d.length + 1;+ });+ return 0;+ },+ v: function (a, b) {+ var c = jb();+ E[a >> 2] = c.length;+ var d = 0;+ c.forEach(function (f) {+ d += f.length + 1;+ });+ E[b >> 2] = d;+ return 0;+ },+ w: function () {+ return 0;+ },+ r: function () {},+ m: function (a, b, c, d) {+ for (var f = 0, g = 0; g < c; g++) {+ for (+ var l = E[(b + 8 * g) >> 2], h = E[(b + (8 * g + 4)) >> 2], p = 0;+ p < h;+ p+++ ) {+ var k = A[l + p],+ m = lb[a];+ if (0 === k || 10 === k) {+ for (k = 0; m[k] && !(NaN <= k); ) ++k;+ k = ha.decode(+ m.subarray ? m.subarray(0, k) : new Uint8Array(m.slice(0, k)),+ );+ (1 === a ? ea : v)(k);+ m.length = 0;+ } else m.push(k);+ }+ f += h;+ }+ E[d >> 2] = f;+ return 0;+ },+ a: z,+ s: function () {},+ };+ (function () {+ function a(f) {+ e.asm = f.exports;+ J = e.asm.y;+ K--;+ e.monitorRunDependencies && e.monitorRunDependencies(K);+ 0 == K &&+ (null !== za && (clearInterval(za), (za = null)),+ L && ((f = L), (L = null), f()));+ }+ function b(f) {+ a(f.instance);+ }+ function c(f) {+ return Da()+ .then(function (g) {+ return WebAssembly.instantiate(g, d);+ })+ .then(f, function (g) {+ v('failed to asynchronously prepare wasm: ' + g);+ y(g);+ });+ }+ var d = { a: pb };+ K++;+ e.monitorRunDependencies && e.monitorRunDependencies(K);+ if (e.instantiateWasm)+ try {+ return e.instantiateWasm(d, a);+ } catch (f) {+ return (+ v('Module.instantiateWasm callback failed with error: ' + f), !1+ );+ }+ (function () {+ return w ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ Aa() ||+ 'function' !== typeof fetch+ ? c(b)+ : fetch(N, { credentials: 'same-origin' }).then(function (f) {+ return WebAssembly.instantiateStreaming(f, d).then(b, function (+ g,+ ) {+ v('wasm streaming compile failed: ' + g);+ v('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })().catch(ba);+ return {};+ })();+ var nb = (e.___wasm_call_ctors = function () {+ return (nb = e.___wasm_call_ctors = e.asm.z).apply(null, arguments);+ }),+ ob = (e._malloc = function () {+ return (ob = e._malloc = e.asm.A).apply(null, arguments);+ }),+ X = (e._free = function () {+ return (X = e._free = e.asm.B).apply(null, arguments);+ }),+ bb = (e.___getTypeName = function () {+ return (bb = e.___getTypeName = e.asm.C).apply(null, arguments);+ });+ e.___embind_register_native_and_builtin_types = function () {+ return (e.___embind_register_native_and_builtin_types = e.asm.D).apply(+ null,+ arguments,+ );+ };+ e.dynCall_iiji = function () {+ return (e.dynCall_iiji = e.asm.E).apply(null, arguments);+ };+ e.dynCall_jiji = function () {+ return (e.dynCall_jiji = e.asm.F).apply(null, arguments);+ };+ var Z;+ L = function qb() {+ Z || rb();+ Z || (L = qb);+ };+ function rb() {+ function a() {+ if (!Z && ((Z = !0), (e.calledRun = !0), !fa)) {+ O(va);+ O(wa);+ aa(e);+ if (e.onRuntimeInitialized) e.onRuntimeInitialized();+ if (e.postRun)+ for (+ 'function' == typeof e.postRun && (e.postRun = [e.postRun]);+ e.postRun.length;++ ) {+ var b = e.postRun.shift();+ xa.unshift(b);+ }+ O(xa);+ }+ }+ if (!(0 < K)) {+ if (e.preRun)+ for (+ 'function' == typeof e.preRun && (e.preRun = [e.preRun]);+ e.preRun.length;++ )+ ya();+ O(ua);+ 0 < K ||+ (e.setStatus+ ? (e.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ e.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ e.run = rb;+ if (e.preInit)+ for (+ 'function' == typeof e.preInit && (e.preInit = [e.preInit]);+ 0 < e.preInit.length;++ )+ e.preInit.pop()();+ noExitRuntime = !0;+ rb();++ return jxl_dec.ready;+ };+})();+export default jxl_dec;diff --git a/codecs/jxl/dec/jxl_dec.wasm b/codecs/jxl/dec/jxl_dec.wasmnew file mode 100755index 00000000..6ca170e9Binary files /dev/null and b/codecs/jxl/dec/jxl_dec.wasm differdiff --git a/codecs/jxl/enc/jxl_enc.cpp b/codecs/jxl/enc/jxl_enc.cppnew file mode 100644index 00000000..41314c2b--- /dev/null+++ b/codecs/jxl/enc/jxl_enc.cpp@@ -0,0 +1,115 @@+#include <emscripten/bind.h>+#include <emscripten/val.h>++#include "lib/jxl/enc_file.h"+#include "lib/jxl/external_image.h"++using namespace emscripten;++thread_local const val Uint8Array = val::global("Uint8Array");++struct JXLOptions {+ // 1 = slowest+ // 7 = fastest+ int speed;+ float quality;+ bool progressive;+ int epf;+ int nearLossless;+ bool lossyPalette;+};++val encode(std::string image, int width, int height, JXLOptions options) {+ jxl::CompressParams cparams;+ jxl::PassesEncoderState passes_enc_state;+ jxl::CodecInOut io;+ jxl::PaddedBytes bytes;+ jxl::ImageBundle* main = &io.Main();++ cparams.epf = options.epf;+ cparams.speed_tier = static_cast<jxl::SpeedTier>(options.speed);+ cparams.near_lossless = options.nearLossless;++ if (options.lossyPalette) {+ cparams.lossy_palette = true;+ cparams.palette_colors = 0;+ cparams.options.predictor = jxl::Predictor::Zero;+ }++ // Reduce memory usage of tree learning for lossless data.+ // TODO(veluca93): this is a mitigation for excessive memory usage in the JXL encoder.+ cparams.options.nb_repeats = 0.1;++ float quality = options.quality;++ // Quality settings roughly match libjpeg qualities.+ if (quality < 7 || quality == 100) {+ cparams.modular_mode = true;+ // Internal modular quality to roughly match VarDCT size.+ cparams.quality_pair.first = cparams.quality_pair.second =+ std::min(35 + (quality - 7) * 3.0f, 100.0f);+ } else {+ cparams.modular_mode = false;+ if (quality >= 30) {+ cparams.butteraugli_distance = 0.1 + (100 - quality) * 0.09;+ } else {+ cparams.butteraugli_distance = 6.4 + pow(2.5, (30 - quality) / 5.0f) / 6.25f;+ }+ }++ if (options.progressive) {+ cparams.qprogressive_mode = true;+ cparams.progressive_dc = 1;+ cparams.responsive = 1;+ }++ if (cparams.modular_mode) {+ if (cparams.quality_pair.first != 100 || cparams.quality_pair.second != 100) {+ cparams.color_transform = jxl::ColorTransform::kXYB;+ } else {+ cparams.color_transform = jxl::ColorTransform::kNone;+ }+ }++ if (cparams.near_lossless) {+ // Near-lossless assumes -R 0+ cparams.responsive = 0;+ cparams.modular_mode = true;+ }++ io.metadata.m.SetAlphaBits(8);+ if (!io.metadata.size.Set(width, height)) {+ return val::null();+ }++ uint8_t* inBuffer = (uint8_t*)image.c_str();++ auto result = jxl::ConvertImage(+ jxl::Span<const uint8_t>(reinterpret_cast<const uint8_t*>(image.data()), image.size()), width,+ height, jxl::ColorEncoding::SRGB(/*is_gray=*/false), /*has_alpha=*/true,+ /*alpha_is_premultiplied=*/false, /*bits_per_alpha=*/8, /*bits_per_sample=*/8,+ /*big_endian=*/false, /*flipped_y=*/false, /*pool=*/nullptr, main);++ if (!result) {+ return val::null();+ }++ auto js_result = val::null();+ if (EncodeFile(cparams, &io, &passes_enc_state, &bytes)) {+ js_result = Uint8Array.new_(typed_memory_view(bytes.size(), bytes.data()));+ }++ return js_result;+}++EMSCRIPTEN_BINDINGS(my_module) {+ value_object<JXLOptions>("JXLOptions")+ .field("speed", &JXLOptions::speed)+ .field("quality", &JXLOptions::quality)+ .field("progressive", &JXLOptions::progressive)+ .field("nearLossless", &JXLOptions::nearLossless)+ .field("lossyPalette", &JXLOptions::lossyPalette)+ .field("epf", &JXLOptions::epf);++ function("encode", &encode);+}diff --git a/codecs/jxl/enc/jxl_enc.d.ts b/codecs/jxl/enc/jxl_enc.d.tsnew file mode 100644index 00000000..140019bb--- /dev/null+++ b/codecs/jxl/enc/jxl_enc.d.ts@@ -0,0 +1,21 @@+export interface EncodeOptions {+ speed: number;+ quality: number;+ progressive: boolean;+ epf: number;+ nearLossless: number;+ lossyPalette: boolean;+}++export interface JXLModule extends EmscriptenWasm.Module {+ encode(+ data: BufferSource,+ width: number,+ height: number,+ options: EncodeOptions,+ ): Uint8Array | null;+}++declare var moduleFactory: EmscriptenWasm.ModuleFactory<JXLModule>;++export default moduleFactory;diff --git a/codecs/jxl/enc/jxl_enc.js b/codecs/jxl/enc/jxl_enc.jsnew file mode 100644index 00000000..f57f3fee--- /dev/null+++ b/codecs/jxl/enc/jxl_enc.js@@ -0,0 +1,1606 @@+var jxl_enc = (function () {+ var _scriptDir = import.meta.url;++ return function (jxl_enc) {+ jxl_enc = jxl_enc || {};++ var f;+ f || (f = typeof jxl_enc !== 'undefined' ? jxl_enc : {});+ var aa, ba;+ f.ready = new Promise(function (a, b) {+ aa = a;+ ba = b;+ });+ var t = {},+ w;+ for (w in f) f.hasOwnProperty(w) && (t[w] = f[w]);+ var ca = './this.program',+ y = '',+ da;+ y = self.location.href;+ _scriptDir && (y = _scriptDir);+ 0 !== y.indexOf('blob:')+ ? (y = y.substr(0, y.lastIndexOf('/') + 1))+ : (y = '');+ da = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var ea = f.print || console.log.bind(console),+ z = f.printErr || console.warn.bind(console);+ for (w in t) t.hasOwnProperty(w) && (f[w] = t[w]);+ t = null;+ f.thisProgram && (ca = f.thisProgram);+ var A;+ f.wasmBinary && (A = f.wasmBinary);+ var noExitRuntime;+ f.noExitRuntime && (noExitRuntime = f.noExitRuntime);+ 'object' !== typeof WebAssembly && C('no native wasm support detected');+ var D,+ fa = !1,+ ha = new TextDecoder('utf8');+ function ia(a, b) {+ if (!a) return '';+ b = a + b;+ for (var c = a; !(c >= b) && E[c]; ) ++c;+ return ha.decode(E.subarray(a, c));+ }+ function ja(a, b, c, d) {+ if (0 < d) {+ d = c + d - 1;+ for (var g = 0; g < a.length; ++g) {+ var h = a.charCodeAt(g);+ if (55296 <= h && 57343 >= h) {+ var m = a.charCodeAt(++g);+ h = (65536 + ((h & 1023) << 10)) | (m & 1023);+ }+ if (127 >= h) {+ if (c >= d) break;+ b[c++] = h;+ } else {+ if (2047 >= h) {+ if (c + 1 >= d) break;+ b[c++] = 192 | (h >> 6);+ } else {+ if (65535 >= h) {+ if (c + 2 >= d) break;+ b[c++] = 224 | (h >> 12);+ } else {+ if (c + 3 >= d) break;+ b[c++] = 240 | (h >> 18);+ b[c++] = 128 | ((h >> 12) & 63);+ }+ b[c++] = 128 | ((h >> 6) & 63);+ }+ b[c++] = 128 | (h & 63);+ }+ }+ b[c] = 0;+ }+ }+ function ka(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d &&+ 57343 >= d &&+ (d = (65536 + ((d & 1023) << 10)) | (a.charCodeAt(++c) & 1023));+ 127 >= d ? ++b : (b = 2047 >= d ? b + 2 : 65535 >= d ? b + 3 : b + 4);+ }+ return b;+ }+ var la = new TextDecoder('utf-16le');+ function ma(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && F[c]; ) ++c;+ return la.decode(E.subarray(a, c << 1));+ }+ function na(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var g = 0; g < c; ++g) (G[b >> 1] = a.charCodeAt(g)), (b += 2);+ G[b >> 1] = 0;+ return b - d;+ }+ function oa(a) {+ return 2 * a.length;+ }+ function pa(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var g = H[(a + 4 * c) >> 2];+ if (0 == g) break;+ ++c;+ 65536 <= g+ ? ((g -= 65536),+ (d += String.fromCharCode(55296 | (g >> 10), 56320 | (g & 1023))))+ : (d += String.fromCharCode(g));+ }+ return d;+ }+ function qa(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var g = 0; g < a.length; ++g) {+ var h = a.charCodeAt(g);+ if (55296 <= h && 57343 >= h) {+ var m = a.charCodeAt(++g);+ h = (65536 + ((h & 1023) << 10)) | (m & 1023);+ }+ H[b >> 2] = h;+ b += 4;+ if (b + 4 > c) break;+ }+ H[b >> 2] = 0;+ return b - d;+ }+ function ra(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var I, J, E, G, F, H, K, sa, ta;+ function ua(a) {+ I = a;+ f.HEAP8 = J = new Int8Array(a);+ f.HEAP16 = G = new Int16Array(a);+ f.HEAP32 = H = new Int32Array(a);+ f.HEAPU8 = E = new Uint8Array(a);+ f.HEAPU16 = F = new Uint16Array(a);+ f.HEAPU32 = K = new Uint32Array(a);+ f.HEAPF32 = sa = new Float32Array(a);+ f.HEAPF64 = ta = new Float64Array(a);+ }+ var va = f.INITIAL_MEMORY || 16777216;+ f.wasmMemory+ ? (D = f.wasmMemory)+ : (D = new WebAssembly.Memory({ initial: va / 65536, maximum: 32768 }));+ D && (I = D.buffer);+ va = I.byteLength;+ ua(I);+ var L,+ wa = [],+ xa = [],+ ya = [],+ za = [];+ function Aa() {+ var a = f.preRun.shift();+ wa.unshift(a);+ }+ var M = 0,+ Ba = null,+ N = null;+ f.preloadedImages = {};+ f.preloadedAudios = {};+ function C(a) {+ if (f.onAbort) f.onAbort(a);+ z(a);+ fa = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ ba(a);+ throw a;+ }+ function Ca() {+ var a = O;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var O = 'jxl_enc.wasm';+ if (!Ca()) {+ var Da = O;+ O = f.locateFile ? f.locateFile(Da, y) : y + Da;+ }+ function Ea() {+ try {+ if (A) return new Uint8Array(A);+ if (da) return da(O);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ C(a);+ }+ }+ function Fa() {+ return A || 'function' !== typeof fetch+ ? Promise.resolve().then(Ea)+ : fetch(O, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + O + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Ea();+ });+ }+ function P(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(f);+ else {+ var c = b.fa;+ 'number' === typeof c+ ? void 0 === b.$+ ? L.get(c)()+ : L.get(c)(b.$)+ : c(void 0 === b.$ ? null : b.$);+ }+ }+ }+ function Ga(a) {+ this.V = a - 16;+ this.ra = function (b) {+ H[(this.V + 8) >> 2] = b;+ };+ this.oa = function (b) {+ H[(this.V + 0) >> 2] = b;+ };+ this.pa = function () {+ H[(this.V + 4) >> 2] = 0;+ };+ this.na = function () {+ J[(this.V + 12) >> 0] = 0;+ };+ this.qa = function () {+ J[(this.V + 13) >> 0] = 0;+ };+ this.ka = function (b, c) {+ this.ra(b);+ this.oa(c);+ this.pa();+ this.na();+ this.qa();+ };+ }+ function Q() {+ return 0 < Q.ca;+ }+ var Ha = {};+ function Ia(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Ja(a) {+ return this.fromWireType(K[a >> 2]);+ }+ var R = {},+ S = {},+ Ka = {};+ function La(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Ma(a, b) {+ a = La(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function Na(a) {+ var b = Error,+ c = Ma(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var Oa = void 0;+ function Pa(a, b, c) {+ function d(k) {+ k = c(k);+ if (k.length !== a.length)+ throw new Oa('Mismatched type converter count');+ for (var n = 0; n < a.length; ++n) T(a[n], k[n]);+ }+ a.forEach(function (k) {+ Ka[k] = b;+ });+ var g = Array(b.length),+ h = [],+ m = 0;+ b.forEach(function (k, n) {+ S.hasOwnProperty(k)+ ? (g[n] = S[k])+ : (h.push(k),+ R.hasOwnProperty(k) || (R[k] = []),+ R[k].push(function () {+ g[n] = S[k];+ ++m;+ m === h.length && d(g);+ }));+ });+ 0 === h.length && d(g);+ }+ function Qa(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var Ra = void 0;+ function U(a) {+ for (var b = ''; E[a]; ) b += Ra[E[a++]];+ return b;+ }+ var Sa = void 0;+ function V(a) {+ throw new Sa(a);+ }+ function T(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || V('type "' + d + '" must have a positive integer typeid pointer');+ if (S.hasOwnProperty(a)) {+ if (c.ja) return;+ V("Cannot register type '" + d + "' twice");+ }+ S[a] = b;+ delete Ka[a];+ R.hasOwnProperty(a) &&+ ((b = R[a]),+ delete R[a],+ b.forEach(function (g) {+ g();+ }));+ }+ var Ta = [],+ X = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Ua(a) {+ 4 < a && 0 === --X[a].aa && ((X[a] = void 0), Ta.push(a));+ }+ function Va(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Ta.length ? Ta.pop() : X.length;+ X[b] = { aa: 1, value: a };+ return b;+ }+ }+ function Wa(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Xa(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(sa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(ta[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Ya(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Ma(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Za(a, b) {+ var c = f;+ if (void 0 === c[a].S) {+ var d = c[a];+ c[a] = function () {+ c[a].S.hasOwnProperty(arguments.length) ||+ V(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].S ++ ')!',+ );+ return c[a].S[arguments.length].apply(this, arguments);+ };+ c[a].S = [];+ c[a].S[d.da] = d;+ }+ }+ function $a(a, b, c) {+ f.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== f[a].S && void 0 !== f[a].S[c])) &&+ V("Cannot register public name '" + a + "' twice"),+ Za(a, a),+ f.hasOwnProperty(c) &&+ V(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (f[a].S[c] = b))+ : ((f[a] = b), void 0 !== c && (f[a].Aa = c));+ }+ function ab(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(H[(b >> 2) + d]);+ return c;+ }+ function bb(a, b) {+ 0 <= a.indexOf('j') ||+ C('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var g;+ -1 != a.indexOf('j')+ ? (g =+ c && c.length+ ? f['dynCall_' + a].apply(null, [b].concat(c))+ : f['dynCall_' + a].call(null, b))+ : (g = L.get(b).apply(null, c));+ return g;+ };+ }+ function Y(a, b) {+ a = U(a);+ var c = -1 != a.indexOf('j') ? bb(a, b) : L.get(b);+ 'function' !== typeof c &&+ V('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var cb = void 0;+ function db(a) {+ a = eb(a);+ var b = U(a);+ Z(a);+ return b;+ }+ function fb(a, b) {+ function c(h) {+ g[h] || S[h] || (Ka[h] ? Ka[h].forEach(c) : (d.push(h), (g[h] = !0)));+ }+ var d = [],+ g = {};+ b.forEach(c);+ throw new cb(a + ': ' + d.map(db).join([', ']));+ }+ function gb(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return J[d];+ }+ : function (d) {+ return E[d];+ };+ case 1:+ return c+ ? function (d) {+ return G[d >> 1];+ }+ : function (d) {+ return F[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return H[d >> 2];+ }+ : function (d) {+ return K[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var hb = {};+ function ib() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function jb(a, b) {+ var c = S[a];+ void 0 === c && V(b + ' has unknown type ' + db(a));+ return c;+ }+ var kb = {},+ lb = {};+ function mb() {+ if (!nb) {+ var a = {+ USER: 'web_user',+ LOGNAME: 'web_user',+ PATH: '/',+ PWD: '/',+ HOME: '/home/web_user',+ LANG:+ (+ ('object' === typeof navigator &&+ navigator.languages &&+ navigator.languages[0]) ||+ 'C'+ ).replace('-', '_') + '.UTF-8',+ _: ca || './this.program',+ },+ b;+ for (b in lb) a[b] = lb[b];+ var c = [];+ for (b in a) c.push(b + '=' + a[b]);+ nb = c;+ }+ return nb;+ }+ var nb,+ ob = [null, [], []];+ function pb(a) {+ return 0 === a % 4 && (0 !== a % 100 || 0 === a % 400);+ }+ function qb(a, b) {+ for (var c = 0, d = 0; d <= b; c += a[d++]);+ return c;+ }+ var rb = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],+ sb = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];+ function tb(a, b) {+ for (a = new Date(a.getTime()); 0 < b; ) {+ var c = a.getMonth(),+ d = (pb(a.getFullYear()) ? rb : sb)[c];+ if (b > d - a.getDate())+ (b -= d - a.getDate() + 1),+ a.setDate(1),+ 11 > c+ ? a.setMonth(c + 1)+ : (a.setMonth(0), a.setFullYear(a.getFullYear() + 1));+ else {+ a.setDate(a.getDate() + b);+ break;+ }+ }+ return a;+ }+ function ub(a, b, c, d) {+ function g(e, l, u) {+ for (e = 'number' === typeof e ? e.toString() : e || ''; e.length < l; )+ e = u[0] + e;+ return e;+ }+ function h(e, l) {+ return g(e, l, '0');+ }+ function m(e, l) {+ function u(B) {+ return 0 > B ? -1 : 0 < B ? 1 : 0;+ }+ var v;+ 0 === (v = u(e.getFullYear() - l.getFullYear())) &&+ 0 === (v = u(e.getMonth() - l.getMonth())) &&+ (v = u(e.getDate() - l.getDate()));+ return v;+ }+ function k(e) {+ switch (e.getDay()) {+ case 0:+ return new Date(e.getFullYear() - 1, 11, 29);+ case 1:+ return e;+ case 2:+ return new Date(e.getFullYear(), 0, 3);+ case 3:+ return new Date(e.getFullYear(), 0, 2);+ case 4:+ return new Date(e.getFullYear(), 0, 1);+ case 5:+ return new Date(e.getFullYear() - 1, 11, 31);+ case 6:+ return new Date(e.getFullYear() - 1, 11, 30);+ }+ }+ function n(e) {+ e = tb(new Date(e.R + 1900, 0, 1), e.Z);+ var l = new Date(e.getFullYear() + 1, 0, 4),+ u = k(new Date(e.getFullYear(), 0, 4));+ l = k(l);+ return 0 >= m(u, e)+ ? 0 >= m(l, e)+ ? e.getFullYear() + 1+ : e.getFullYear()+ : e.getFullYear() - 1;+ }+ var p = H[(d + 40) >> 2];+ d = {+ xa: H[d >> 2],+ wa: H[(d + 4) >> 2],+ X: H[(d + 8) >> 2],+ W: H[(d + 12) >> 2],+ U: H[(d + 16) >> 2],+ R: H[(d + 20) >> 2],+ Y: H[(d + 24) >> 2],+ Z: H[(d + 28) >> 2],+ Ba: H[(d + 32) >> 2],+ va: H[(d + 36) >> 2],+ ya: p ? ia(p) : '',+ };+ c = ia(c);+ p = {+ '%c': '%a %b %d %H:%M:%S %Y',+ '%D': '%m/%d/%y',+ '%F': '%Y-%m-%d',+ '%h': '%b',+ '%r': '%I:%M:%S %p',+ '%R': '%H:%M',+ '%T': '%H:%M:%S',+ '%x': '%m/%d/%y',+ '%X': '%H:%M:%S',+ '%Ec': '%c',+ '%EC': '%C',+ '%Ex': '%m/%d/%y',+ '%EX': '%H:%M:%S',+ '%Ey': '%y',+ '%EY': '%Y',+ '%Od': '%d',+ '%Oe': '%e',+ '%OH': '%H',+ '%OI': '%I',+ '%Om': '%m',+ '%OM': '%M',+ '%OS': '%S',+ '%Ou': '%u',+ '%OU': '%U',+ '%OV': '%V',+ '%Ow': '%w',+ '%OW': '%W',+ '%Oy': '%y',+ };+ for (var q in p) c = c.replace(new RegExp(q, 'g'), p[q]);+ var r = 'Sunday Monday Tuesday Wednesday Thursday Friday Saturday'.split(+ ' ',+ ),+ x = 'January February March April May June July August September October November December'.split(+ ' ',+ );+ p = {+ '%a': function (e) {+ return r[e.Y].substring(0, 3);+ },+ '%A': function (e) {+ return r[e.Y];+ },+ '%b': function (e) {+ return x[e.U].substring(0, 3);+ },+ '%B': function (e) {+ return x[e.U];+ },+ '%C': function (e) {+ return h(((e.R + 1900) / 100) | 0, 2);+ },+ '%d': function (e) {+ return h(e.W, 2);+ },+ '%e': function (e) {+ return g(e.W, 2, ' ');+ },+ '%g': function (e) {+ return n(e).toString().substring(2);+ },+ '%G': function (e) {+ return n(e);+ },+ '%H': function (e) {+ return h(e.X, 2);+ },+ '%I': function (e) {+ e = e.X;+ 0 == e ? (e = 12) : 12 < e && (e -= 12);+ return h(e, 2);+ },+ '%j': function (e) {+ return h(e.W + qb(pb(e.R + 1900) ? rb : sb, e.U - 1), 3);+ },+ '%m': function (e) {+ return h(e.U + 1, 2);+ },+ '%M': function (e) {+ return h(e.wa, 2);+ },+ '%n': function () {+ return '\n';+ },+ '%p': function (e) {+ return 0 <= e.X && 12 > e.X ? 'AM' : 'PM';+ },+ '%S': function (e) {+ return h(e.xa, 2);+ },+ '%t': function () {+ return '\t';+ },+ '%u': function (e) {+ return e.Y || 7;+ },+ '%U': function (e) {+ var l = new Date(e.R + 1900, 0, 1),+ u = 0 === l.getDay() ? l : tb(l, 7 - l.getDay());+ e = new Date(e.R + 1900, e.U, e.W);+ return 0 > m(u, e)+ ? h(+ Math.ceil(+ (31 -+ u.getDate() ++ (qb(pb(e.getFullYear()) ? rb : sb, e.getMonth() - 1) - 31) ++ e.getDate()) /+ 7,+ ),+ 2,+ )+ : 0 === m(u, l)+ ? '01'+ : '00';+ },+ '%V': function (e) {+ var l = new Date(e.R + 1901, 0, 4),+ u = k(new Date(e.R + 1900, 0, 4));+ l = k(l);+ var v = tb(new Date(e.R + 1900, 0, 1), e.Z);+ return 0 > m(v, u)+ ? '53'+ : 0 >= m(l, v)+ ? '01'+ : h(+ Math.ceil(+ (u.getFullYear() < e.R + 1900+ ? e.Z + 32 - u.getDate()+ : e.Z + 1 - u.getDate()) / 7,+ ),+ 2,+ );+ },+ '%w': function (e) {+ return e.Y;+ },+ '%W': function (e) {+ var l = new Date(e.R, 0, 1),+ u =+ 1 === l.getDay()+ ? l+ : tb(l, 0 === l.getDay() ? 1 : 7 - l.getDay() + 1);+ e = new Date(e.R + 1900, e.U, e.W);+ return 0 > m(u, e)+ ? h(+ Math.ceil(+ (31 -+ u.getDate() ++ (qb(pb(e.getFullYear()) ? rb : sb, e.getMonth() - 1) - 31) ++ e.getDate()) /+ 7,+ ),+ 2,+ )+ : 0 === m(u, l)+ ? '01'+ : '00';+ },+ '%y': function (e) {+ return (e.R + 1900).toString().substring(2);+ },+ '%Y': function (e) {+ return e.R + 1900;+ },+ '%z': function (e) {+ e = e.va;+ var l = 0 <= e;+ e = Math.abs(e) / 60;+ return (+ (l ? '+' : '-') ++ String('0000' + ((e / 60) * 100 + (e % 60))).slice(-4)+ );+ },+ '%Z': function (e) {+ return e.ya;+ },+ '%%': function () {+ return '%';+ },+ };+ for (q in p)+ 0 <= c.indexOf(q) && (c = c.replace(new RegExp(q, 'g'), p[q](d)));+ q = vb(c);+ if (q.length > b) return 0;+ J.set(q, a);+ return q.length - 1;+ }+ Oa = f.InternalError = Na('InternalError');+ for (var wb = Array(256), xb = 0; 256 > xb; ++xb)+ wb[xb] = String.fromCharCode(xb);+ Ra = wb;+ Sa = f.BindingError = Na('BindingError');+ f.count_emval_handles = function () {+ for (var a = 0, b = 5; b < X.length; ++b) void 0 !== X[b] && ++a;+ return a;+ };+ f.get_first_emval = function () {+ for (var a = 5; a < X.length; ++a) if (void 0 !== X[a]) return X[a];+ return null;+ };+ cb = f.UnboundTypeError = Na('UnboundTypeError');+ function vb(a) {+ var b = Array(ka(a) + 1);+ ja(a, b, 0, b.length);+ return b;+ }+ xa.push({+ fa: function () {+ yb();+ },+ });+ var Ab = {+ q: function (a) {+ return zb(a + 16) + 16;+ },+ D: function () {},+ p: function (a, b, c) {+ new Ga(a).ka(b, c);+ 'uncaught_exception' in Q ? Q.ca++ : (Q.ca = 1);+ throw a;+ },+ m: function (a) {+ var b = Ha[a];+ delete Ha[a];+ var c = b.la,+ d = b.ma,+ g = b.ba,+ h = g+ .map(function (m) {+ return m.ia;+ })+ .concat(+ g.map(function (m) {+ return m.ta;+ }),+ );+ Pa([a], h, function (m) {+ var k = {};+ g.forEach(function (n, p) {+ var q = m[p],+ r = n.ga,+ x = n.ha,+ e = m[p + g.length],+ l = n.sa,+ u = n.ua;+ k[n.ea] = {+ read: function (v) {+ return q.fromWireType(r(x, v));+ },+ write: function (v, B) {+ var W = [];+ l(u, v, e.toWireType(W, B));+ Ia(W);+ },+ };+ });+ return [+ {+ name: b.name,+ fromWireType: function (n) {+ var p = {},+ q;+ for (q in k) p[q] = k[q].read(n);+ d(n);+ return p;+ },+ toWireType: function (n, p) {+ for (var q in k)+ if (!(q in p))+ throw new TypeError('Missing field: "' + q + '"');+ var r = c();+ for (q in k) k[q].write(r, p[q]);+ null !== n && n.push(d, r);+ return r;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ja,+ T: d,+ },+ ];+ });+ },+ z: function (a, b, c, d, g) {+ var h = Qa(c);+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (m) {+ return !!m;+ },+ toWireType: function (m, k) {+ return k ? d : g;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (m) {+ if (1 === c) var k = J;+ else if (2 === c) k = G;+ else if (4 === c) k = H;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(k[m >> h]);+ },+ T: null,+ });+ },+ y: function (a, b) {+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (c) {+ var d = X[c].value;+ Ua(c);+ return d;+ },+ toWireType: function (c, d) {+ return Va(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Ja,+ T: null,+ });+ },+ j: function (a, b, c) {+ c = Qa(c);+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, g) {+ if ('number' !== typeof g && 'boolean' !== typeof g)+ throw new TypeError(+ 'Cannot convert "' + Wa(g) + '" to ' + this.name,+ );+ return g;+ },+ argPackAdvance: 8,+ readValueFromPointer: Xa(b, c),+ T: null,+ });+ },+ l: function (a, b, c, d, g, h) {+ var m = ab(b, c);+ a = U(a);+ g = Y(d, g);+ $a(+ a,+ function () {+ fb('Cannot call ' + a + ' due to unbound types', m);+ },+ b - 1,+ );+ Pa([], m, function (k) {+ var n = a,+ p = a;+ k = [k[0], null].concat(k.slice(1));+ var q = g,+ r = k.length;+ 2 > r &&+ V(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var x = null !== k[1] && !1, e = !1, l = 1; l < k.length; ++l)+ if (null !== k[l] && void 0 === k[l].T) {+ e = !0;+ break;+ }+ var u = 'void' !== k[0].name,+ v = '',+ B = '';+ for (l = 0; l < r - 2; ++l)+ (v += (0 !== l ? ', ' : '') + 'arg' + l),+ (B += (0 !== l ? ', ' : '') + 'arg' + l + 'Wired');+ p =+ 'return function ' ++ La(p) ++ '(' ++ v ++ ') {\nif (arguments.length !== ' ++ (r - 2) ++ ") {\nthrowBindingError('function " ++ p ++ " called with ' + arguments.length + ' arguments, expected " ++ (r - 2) ++ " args!');\n}\n";+ e && (p += 'var destructors = [];\n');+ var W = e ? 'destructors' : 'null';+ v = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ q = [V, q, h, Ia, k[0], k[1]];+ x &&+ (p += 'var thisWired = classParam.toWireType(' + W + ', this);\n');+ for (l = 0; l < r - 2; ++l)+ (p +=+ 'var arg' ++ l ++ 'Wired = argType' ++ l ++ '.toWireType(' ++ W ++ ', arg' ++ l ++ '); // ' ++ k[l + 2].name ++ '\n'),+ v.push('argType' + l),+ q.push(k[l + 2]);+ x && (B = 'thisWired' + (0 < B.length ? ', ' : '') + B);+ p +=+ (u ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < B.length ? ', ' : '') ++ B ++ ');\n';+ if (e) p += 'runDestructors(destructors);\n';+ else+ for (l = x ? 1 : 2; l < k.length; ++l)+ (r = 1 === l ? 'thisWired' : 'arg' + (l - 2) + 'Wired'),+ null !== k[l].T &&+ ((p += r + '_dtor(' + r + '); // ' + k[l].name + '\n'),+ v.push(r + '_dtor'),+ q.push(k[l].T));+ u && (p += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ v.push(p + '}\n');+ k = Ya(v).apply(null, q);+ l = b - 1;+ if (!f.hasOwnProperty(n))+ throw new Oa('Replacing nonexistant public symbol');+ void 0 !== f[n].S && void 0 !== l+ ? (f[n].S[l] = k)+ : ((f[n] = k), (f[n].da = l));+ return [];+ });+ },+ d: function (a, b, c, d, g) {+ function h(p) {+ return p;+ }+ b = U(b);+ -1 === g && (g = 4294967295);+ var m = Qa(c);+ if (0 === d) {+ var k = 32 - 8 * c;+ h = function (p) {+ return (p << k) >>> k;+ };+ }+ var n = -1 != b.indexOf('unsigned');+ T(a, {+ name: b,+ fromWireType: h,+ toWireType: function (p, q) {+ if ('number' !== typeof q && 'boolean' !== typeof q)+ throw new TypeError(+ 'Cannot convert "' + Wa(q) + '" to ' + this.name,+ );+ if (q < d || q > g)+ throw new TypeError(+ 'Passing a number "' ++ Wa(q) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ g ++ ']!',+ );+ return n ? q >>> 0 : q | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: gb(b, m, 0 !== d),+ T: null,+ });+ },+ c: function (a, b, c) {+ function d(h) {+ h >>= 2;+ var m = K;+ return new g(I, m[h + 1], m[h]);+ }+ var g = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = U(c);+ T(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { ja: !0 },+ );+ },+ k: function (a, b) {+ b = U(b);+ var c = 'std::string' === b;+ T(a, {+ name: b,+ fromWireType: function (d) {+ var g = K[d >> 2];+ if (c)+ for (var h = d + 4, m = 0; m <= g; ++m) {+ var k = d + 4 + m;+ if (m == g || 0 == E[k]) {+ h = ia(h, k - h);+ if (void 0 === n) var n = h;+ else (n += String.fromCharCode(0)), (n += h);+ h = k + 1;+ }+ }+ else {+ n = Array(g);+ for (m = 0; m < g; ++m) n[m] = String.fromCharCode(E[d + 4 + m]);+ n = n.join('');+ }+ Z(d);+ return n;+ },+ toWireType: function (d, g) {+ g instanceof ArrayBuffer && (g = new Uint8Array(g));+ var h = 'string' === typeof g;+ h ||+ g instanceof Uint8Array ||+ g instanceof Uint8ClampedArray ||+ g instanceof Int8Array ||+ V('Cannot pass non-string to std::string');+ var m = (c && h+ ? function () {+ return ka(g);+ }+ : function () {+ return g.length;+ })(),+ k = zb(4 + m + 1);+ K[k >> 2] = m;+ if (c && h) ja(g, E, k + 4, m + 1);+ else if (h)+ for (h = 0; h < m; ++h) {+ var n = g.charCodeAt(h);+ 255 < n &&+ (Z(k),+ V('String has UTF-16 code units that do not fit in 8 bits'));+ E[k + 4 + h] = n;+ }+ else for (h = 0; h < m; ++h) E[k + 4 + h] = g[h];+ null !== d && d.push(Z, k);+ return k;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ja,+ T: function (d) {+ Z(d);+ },+ });+ },+ h: function (a, b, c) {+ c = U(c);+ if (2 === b) {+ var d = ma;+ var g = na;+ var h = oa;+ var m = function () {+ return F;+ };+ var k = 1;+ } else+ 4 === b &&+ ((d = pa),+ (g = qa),+ (h = ra),+ (m = function () {+ return K;+ }),+ (k = 2));+ T(a, {+ name: c,+ fromWireType: function (n) {+ for (var p = K[n >> 2], q = m(), r, x = n + 4, e = 0; e <= p; ++e) {+ var l = n + 4 + e * b;+ if (e == p || 0 == q[l >> k])+ (x = d(x, l - x)),+ void 0 === r+ ? (r = x)+ : ((r += String.fromCharCode(0)), (r += x)),+ (x = l + b);+ }+ Z(n);+ return r;+ },+ toWireType: function (n, p) {+ 'string' !== typeof p &&+ V('Cannot pass non-string to C++ string type ' + c);+ var q = h(p),+ r = zb(4 + q + b);+ K[r >> 2] = q >> k;+ g(p, r + 4, q + b);+ null !== n && n.push(Z, r);+ return r;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ja,+ T: function (n) {+ Z(n);+ },+ });+ },+ n: function (a, b, c, d, g, h) {+ Ha[a] = { name: U(b), la: Y(c, d), ma: Y(g, h), ba: [] };+ },+ f: function (a, b, c, d, g, h, m, k, n, p) {+ Ha[a].ba.push({+ ea: U(b),+ ia: c,+ ga: Y(d, g),+ ha: h,+ ta: m,+ sa: Y(k, n),+ ua: p,+ });+ },+ A: function (a, b) {+ b = U(b);+ T(a, {+ za: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ g: Ua,+ C: function (a) {+ if (0 === a) return Va(ib());+ var b = hb[a];+ a = void 0 === b ? U(a) : b;+ return Va(ib()[a]);+ },+ B: function (a) {+ 4 < a && (X[a].aa += 1);+ },+ o: function (a, b, c, d) {+ a || V('Cannot use deleted val. handle = ' + a);+ a = X[a].value;+ var g = kb[b];+ if (!g) {+ g = '';+ for (var h = 0; h < b; ++h) g += (0 !== h ? ', ' : '') + 'arg' + h;+ var m =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (h = 0; h < b; ++h)+ m +=+ 'var argType' ++ h ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ h ++ '], "parameter ' ++ h ++ '");\nvar arg' ++ h ++ ' = argType' ++ h ++ '.readValueFromPointer(args);\nargs += argType' ++ h ++ "['argPackAdvance'];\n";+ g = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ m ++ ('var obj = new constructor(' ++ g ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(jb, f, Va);+ kb[b] = g;+ }+ return g(a, c, d);+ },+ b: function () {+ C();+ },+ t: function (a, b, c) {+ E.copyWithin(a, b, b + c);+ },+ e: function (a) {+ a >>>= 0;+ var b = E.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ D.grow((Math.min(2147483648, d) - I.byteLength + 65535) >>> 16);+ ua(D.buffer);+ var g = 1;+ break a;+ } catch (h) {}+ g = void 0;+ }+ if (g) return !0;+ }+ return !1;+ },+ v: function (a, b) {+ var c = 0;+ mb().forEach(function (d, g) {+ var h = b + c;+ g = H[(a + 4 * g) >> 2] = h;+ for (h = 0; h < d.length; ++h) J[g++ >> 0] = d.charCodeAt(h);+ J[g >> 0] = 0;+ c += d.length + 1;+ });+ return 0;+ },+ w: function (a, b) {+ var c = mb();+ H[a >> 2] = c.length;+ var d = 0;+ c.forEach(function (g) {+ d += g.length + 1;+ });+ H[b >> 2] = d;+ return 0;+ },+ x: function () {+ return 0;+ },+ r: function () {},+ i: function (a, b, c, d) {+ for (var g = 0, h = 0; h < c; h++) {+ for (+ var m = H[(b + 8 * h) >> 2], k = H[(b + (8 * h + 4)) >> 2], n = 0;+ n < k;+ n+++ ) {+ var p = E[m + n],+ q = ob[a];+ if (0 === p || 10 === p) {+ for (p = 0; q[p] && !(NaN <= p); ) ++p;+ p = ha.decode(+ q.subarray ? q.subarray(0, p) : new Uint8Array(q.slice(0, p)),+ );+ (1 === a ? ea : z)(p);+ q.length = 0;+ } else q.push(p);+ }+ g += k;+ }+ H[d >> 2] = g;+ return 0;+ },+ a: D,+ s: function () {},+ u: function (a, b, c, d) {+ return ub(a, b, c, d);+ },+ };+ (function () {+ function a(g) {+ f.asm = g.exports;+ L = f.asm.E;+ M--;+ f.monitorRunDependencies && f.monitorRunDependencies(M);+ 0 == M &&+ (null !== Ba && (clearInterval(Ba), (Ba = null)),+ N && ((g = N), (N = null), g()));+ }+ function b(g) {+ a(g.instance);+ }+ function c(g) {+ return Fa()+ .then(function (h) {+ return WebAssembly.instantiate(h, d);+ })+ .then(g, function (h) {+ z('failed to asynchronously prepare wasm: ' + h);+ C(h);+ });+ }+ var d = { a: Ab };+ M++;+ f.monitorRunDependencies && f.monitorRunDependencies(M);+ if (f.instantiateWasm)+ try {+ return f.instantiateWasm(d, a);+ } catch (g) {+ return (+ z('Module.instantiateWasm callback failed with error: ' + g), !1+ );+ }+ (function () {+ return A ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ Ca() ||+ 'function' !== typeof fetch+ ? c(b)+ : fetch(O, { credentials: 'same-origin' }).then(function (g) {+ return WebAssembly.instantiateStreaming(g, d).then(b, function (+ h,+ ) {+ z('wasm streaming compile failed: ' + h);+ z('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })().catch(ba);+ return {};+ })();+ var yb = (f.___wasm_call_ctors = function () {+ return (yb = f.___wasm_call_ctors = f.asm.F).apply(null, arguments);+ }),+ zb = (f._malloc = function () {+ return (zb = f._malloc = f.asm.G).apply(null, arguments);+ }),+ Z = (f._free = function () {+ return (Z = f._free = f.asm.H).apply(null, arguments);+ }),+ eb = (f.___getTypeName = function () {+ return (eb = f.___getTypeName = f.asm.I).apply(null, arguments);+ });+ f.___embind_register_native_and_builtin_types = function () {+ return (f.___embind_register_native_and_builtin_types = f.asm.J).apply(+ null,+ arguments,+ );+ };+ f.dynCall_viijii = function () {+ return (f.dynCall_viijii = f.asm.K).apply(null, arguments);+ };+ f.dynCall_iiji = function () {+ return (f.dynCall_iiji = f.asm.L).apply(null, arguments);+ };+ f.dynCall_jiji = function () {+ return (f.dynCall_jiji = f.asm.M).apply(null, arguments);+ };+ f.dynCall_iiiiiijj = function () {+ return (f.dynCall_iiiiiijj = f.asm.N).apply(null, arguments);+ };+ f.dynCall_iiiiij = function () {+ return (f.dynCall_iiiiij = f.asm.O).apply(null, arguments);+ };+ f.dynCall_iiiiijj = function () {+ return (f.dynCall_iiiiijj = f.asm.P).apply(null, arguments);+ };+ var Bb;+ N = function Cb() {+ Bb || Db();+ Bb || (N = Cb);+ };+ function Db() {+ function a() {+ if (!Bb && ((Bb = !0), (f.calledRun = !0), !fa)) {+ P(xa);+ P(ya);+ aa(f);+ if (f.onRuntimeInitialized) f.onRuntimeInitialized();+ if (f.postRun)+ for (+ 'function' == typeof f.postRun && (f.postRun = [f.postRun]);+ f.postRun.length;++ ) {+ var b = f.postRun.shift();+ za.unshift(b);+ }+ P(za);+ }+ }+ if (!(0 < M)) {+ if (f.preRun)+ for (+ 'function' == typeof f.preRun && (f.preRun = [f.preRun]);+ f.preRun.length;++ )+ Aa();+ P(wa);+ 0 < M ||+ (f.setStatus+ ? (f.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ f.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ f.run = Db;+ if (f.preInit)+ for (+ 'function' == typeof f.preInit && (f.preInit = [f.preInit]);+ 0 < f.preInit.length;++ )+ f.preInit.pop()();+ noExitRuntime = !0;+ Db();++ return jxl_enc.ready;+ };+})();+export default jxl_enc;diff --git a/codecs/jxl/enc/jxl_enc.wasm b/codecs/jxl/enc/jxl_enc.wasmnew file mode 100755index 00000000..393c086bBinary files /dev/null and b/codecs/jxl/enc/jxl_enc.wasm differdiff --git a/codecs/jxl/package.json b/codecs/jxl/package.jsonnew file mode 100644index 00000000..7503f466--- /dev/null+++ b/codecs/jxl/package.json@@ -0,0 +1,6 @@+{+ "name": "jxl",+ "scripts": {+ "build": "../build-cpp.sh"+ }+}diff --git a/codecs/mozjpeg_enc/Makefile b/codecs/mozjpeg_enc/Makefileindex 30b5ca0e..062b5dc4 100644--- a/codecs/mozjpeg_enc/Makefile+++ b/codecs/mozjpeg_enc/Makefile@@ -14,11 +14,13 @@ all: $(OUT_JS)-I $(CODEC_DIR) \${CXXFLAGS} \${LDFLAGS} \- --bind \--closure 1 \+ --bind \-s ALLOW_MEMORY_GROWTH=1 \-s MODULARIZE=1 \- -s 'EXPORT_NAME="$(basename $(@F))"' \+ -s TEXTDECODER=2 \+ -s ENVIRONMENT='worker' \+ -s EXPORT_ES6=1 \-o $@ \$+diff --git a/codecs/mozjpeg_enc/example.html b/codecs/mozjpeg_enc/example.htmlindex 2cff900f..82f2511c 100644--- a/codecs/mozjpeg_enc/example.html+++ b/codecs/mozjpeg_enc/example.html@@ -1,13 +1,12 @@-<!doctype html>-<script src='mozjpeg_enc.js'></script>-<script>- const module = mozjpeg_enc();+<!DOCTYPE html>+<script type="module">+ import mozjpeg_enc from './mozjpeg_enc.js';async function loadImage(src) {// Load imageconst img = document.createElement('img');img.src = src;- await new Promise(resolve => img.onload = resolve);+ await new Promise((resolve) => (img.onload = resolve));// Make canvas same size as imageconst canvas = document.createElement('canvas');[canvas.width, canvas.height] = [img.width, img.height];@@ -17,7 +16,9 @@return ctx.getImageData(0, 0, img.width, img.height);}- module.onRuntimeInitialized = async _ => {+ async function main() {+ const module = await mozjpeg_enc();+console.log('Version:', module.version().toString(16));const image = await loadImage('../example.png');const result = module.encode(image.data, image.width, image.height, {@@ -39,10 +40,12 @@chroma_quality: 75,});- const blob = new Blob([result], {type: 'image/jpeg'});+ const blob = new Blob([result], { type: 'image/jpeg' });const blobURL = URL.createObjectURL(blob);const img = document.createElement('img');img.src = blobURL;document.body.appendChild(img);- };+ }++ main();</script>diff --git a/codecs/mozjpeg_enc/mozjpeg_enc.d.ts b/codecs/mozjpeg_enc/mozjpeg_enc.d.tsindex 58e808f4..3c730ae3 100644--- a/codecs/mozjpeg_enc/mozjpeg_enc.d.ts+++ b/codecs/mozjpeg_enc/mozjpeg_enc.d.ts@@ -1,7 +1,37 @@-import { EncodeOptions } from '../../src/codecs/mozjpeg/encoder-meta';+export const enum MozJpegColorSpace {+ GRAYSCALE = 1,+ RGB,+ YCbCr,+}++export interface EncodeOptions {+ quality: number;+ baseline: boolean;+ arithmetic: boolean;+ progressive: boolean;+ optimize_coding: boolean;+ smoothing: number;+ color_space: MozJpegColorSpace;+ quant_table: number;+ trellis_multipass: boolean;+ trellis_opt_zero: boolean;+ trellis_opt_table: boolean;+ trellis_loops: number;+ auto_subsample: boolean;+ chroma_subsample: number;+ separate_chroma_quality: boolean;+ chroma_quality: number;+}-interface MozJPEGModule extends EmscriptenWasm.Module {- encode(data: BufferSource, width: number, height: number, options: EncodeOptions): Uint8Array;+export interface MozJPEGModule extends EmscriptenWasm.Module {+ encode(+ data: BufferSource,+ width: number,+ height: number,+ options: EncodeOptions,+ ): Uint8Array;}-export default function(opts: EmscriptenWasm.ModuleOpts): MozJPEGModule;+declare var moduleFactory: EmscriptenWasm.ModuleFactory<MozJPEGModule>;++export default moduleFactory;diff --git a/codecs/mozjpeg_enc/mozjpeg_enc.js b/codecs/mozjpeg_enc/mozjpeg_enc.jsindex 7c6d20f6..da8de588 100644--- a/codecs/mozjpeg_enc/mozjpeg_enc.js+++ b/codecs/mozjpeg_enc/mozjpeg_enc.js@@ -1,72 +1,1285 @@+var Module = (function () {+ var _scriptDir = import.meta.url;-var mozjpeg_enc = (function() {- var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;- if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;- return (-function(mozjpeg_enc) {- mozjpeg_enc = mozjpeg_enc || {};+ return function (Module) {+ Module = Module || {};+ var f;+ f || (f = typeof Module !== 'undefined' ? Module : {});+ var aa, ba;+ f.ready = new Promise(function (a, b) {+ aa = a;+ ba = b;+ });+ var r = {},+ t;+ for (t in f) f.hasOwnProperty(t) && (r[t] = f[t]);+ var ca = './this.program';+ function ea(a, b) {+ throw b;+ }+ var u = '',+ fa;+ u = self.location.href;+ _scriptDir && (u = _scriptDir);+ 0 !== u.indexOf('blob:')+ ? (u = u.substr(0, u.lastIndexOf('/') + 1))+ : (u = '');+ fa = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var ha = f.print || console.log.bind(console),+ v = f.printErr || console.warn.bind(console);+ for (t in r) r.hasOwnProperty(t) && (f[t] = r[t]);+ r = null;+ f.thisProgram && (ca = f.thisProgram);+ f.quit && (ea = f.quit);+ var w;+ f.wasmBinary && (w = f.wasmBinary);+ var noExitRuntime;+ f.noExitRuntime && (noExitRuntime = f.noExitRuntime);+ 'object' !== typeof WebAssembly && A('no native wasm support detected');+ var B,+ ia = !1,+ ja = new TextDecoder('utf8');+ function ka(a, b, c) {+ var d = C;+ if (0 < c) {+ c = b + c - 1;+ for (var e = 0; e < a.length; ++e) {+ var g = a.charCodeAt(e);+ if (55296 <= g && 57343 >= g) {+ var m = a.charCodeAt(++e);+ g = (65536 + ((g & 1023) << 10)) | (m & 1023);+ }+ if (127 >= g) {+ if (b >= c) break;+ d[b++] = g;+ } else {+ if (2047 >= g) {+ if (b + 1 >= c) break;+ d[b++] = 192 | (g >> 6);+ } else {+ if (65535 >= g) {+ if (b + 2 >= c) break;+ d[b++] = 224 | (g >> 12);+ } else {+ if (b + 3 >= c) break;+ d[b++] = 240 | (g >> 18);+ d[b++] = 128 | ((g >> 12) & 63);+ }+ d[b++] = 128 | ((g >> 6) & 63);+ }+ d[b++] = 128 | (g & 63);+ }+ }+ d[b] = 0;+ }+ }+ var la = new TextDecoder('utf-16le');+ function ma(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && D[c]; ) ++c;+ return la.decode(C.subarray(a, c << 1));+ }+ function na(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var e = 0; e < c; ++e) (E[b >> 1] = a.charCodeAt(e)), (b += 2);+ E[b >> 1] = 0;+ return b - d;+ }+ function oa(a) {+ return 2 * a.length;+ }+ function pa(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var e = G[(a + 4 * c) >> 2];+ if (0 == e) break;+ ++c;+ 65536 <= e+ ? ((e -= 65536),+ (d += String.fromCharCode(55296 | (e >> 10), 56320 | (e & 1023))))+ : (d += String.fromCharCode(e));+ }+ return d;+ }+ function qa(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var e = 0; e < a.length; ++e) {+ var g = a.charCodeAt(e);+ if (55296 <= g && 57343 >= g) {+ var m = a.charCodeAt(++e);+ g = (65536 + ((g & 1023) << 10)) | (m & 1023);+ }+ G[b >> 2] = g;+ b += 4;+ if (b + 4 > c) break;+ }+ G[b >> 2] = 0;+ return b - d;+ }+ function ra(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var H, I, C, E, D, G, J, sa, ta;+ function ua(a) {+ H = a;+ f.HEAP8 = I = new Int8Array(a);+ f.HEAP16 = E = new Int16Array(a);+ f.HEAP32 = G = new Int32Array(a);+ f.HEAPU8 = C = new Uint8Array(a);+ f.HEAPU16 = D = new Uint16Array(a);+ f.HEAPU32 = J = new Uint32Array(a);+ f.HEAPF32 = sa = new Float32Array(a);+ f.HEAPF64 = ta = new Float64Array(a);+ }+ var va = f.INITIAL_MEMORY || 16777216;+ f.wasmMemory+ ? (B = f.wasmMemory)+ : (B = new WebAssembly.Memory({ initial: va / 65536, maximum: 32768 }));+ B && (H = B.buffer);+ va = H.byteLength;+ ua(H);+ var K,+ wa = [],+ xa = [],+ ya = [],+ za = [];+ function Aa() {+ var a = f.preRun.shift();+ wa.unshift(a);+ }+ var L = 0,+ Ba = null,+ M = null;+ f.preloadedImages = {};+ f.preloadedAudios = {};+ function A(a) {+ if (f.onAbort) f.onAbort(a);+ v(a);+ ia = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ ba(a);+ throw a;+ }+ function Ca() {+ var a = N;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var N = 'mozjpeg_enc.wasm';+ if (!Ca()) {+ var Da = N;+ N = f.locateFile ? f.locateFile(Da, u) : u + Da;+ }+ function Ea() {+ try {+ if (w) return new Uint8Array(w);+ if (fa) return fa(N);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ A(a);+ }+ }+ function Fa() {+ return w || 'function' !== typeof fetch+ ? Promise.resolve().then(Ea)+ : fetch(N, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + N + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Ea();+ });+ }+ function O(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(f);+ else {+ var c = b.R;+ 'number' === typeof c+ ? void 0 === b.L+ ? K.get(c)()+ : K.get(c)(b.L)+ : c(void 0 === b.L ? null : b.L);+ }+ }+ }+ var P = {};+ function Ga(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Q(a) {+ return this.fromWireType(J[a >> 2]);+ }+ var R = {},+ S = {},+ Ha = {};+ function Ia(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Ja(a, b) {+ a = Ia(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function Ka(a) {+ var b = Error,+ c = Ja(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var La = void 0;+ function Ma(a, b, c) {+ function d(h) {+ h = c(h);+ if (h.length !== a.length)+ throw new La('Mismatched type converter count');+ for (var n = 0; n < a.length; ++n) T(a[n], h[n]);+ }+ a.forEach(function (h) {+ Ha[h] = b;+ });+ var e = Array(b.length),+ g = [],+ m = 0;+ b.forEach(function (h, n) {+ S.hasOwnProperty(h)+ ? (e[n] = S[h])+ : (g.push(h),+ R.hasOwnProperty(h) || (R[h] = []),+ R[h].push(function () {+ e[n] = S[h];+ ++m;+ m === g.length && d(e);+ }));+ });+ 0 === g.length && d(e);+ }+ function Na(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var Oa = void 0;+ function U(a) {+ for (var b = ''; C[a]; ) b += Oa[C[a++]];+ return b;+ }+ var Pa = void 0;+ function W(a) {+ throw new Pa(a);+ }+ function T(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || W('type "' + d + '" must have a positive integer typeid pointer');+ if (S.hasOwnProperty(a)) {+ if (c.V) return;+ W("Cannot register type '" + d + "' twice");+ }+ S[a] = b;+ delete Ha[a];+ R.hasOwnProperty(a) &&+ ((b = R[a]),+ delete R[a],+ b.forEach(function (e) {+ e();+ }));+ }+ var Qa = [],+ X = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Ra(a) {+ 4 < a && 0 === --X[a].M && ((X[a] = void 0), Qa.push(a));+ }+ function Sa(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Qa.length ? Qa.pop() : X.length;+ X[b] = { M: 1, value: a };+ return b;+ }+ }+ function Ta(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Ua(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(sa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(ta[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Va(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Ja(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Wa(a, b) {+ var c = f;+ if (void 0 === c[a].J) {+ var d = c[a];+ c[a] = function () {+ c[a].J.hasOwnProperty(arguments.length) ||+ W(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].J ++ ')!',+ );+ return c[a].J[arguments.length].apply(this, arguments);+ };+ c[a].J = [];+ c[a].J[d.O] = d;+ }+ }+ function Xa(a, b, c) {+ f.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== f[a].J && void 0 !== f[a].J[c])) &&+ W("Cannot register public name '" + a + "' twice"),+ Wa(a, a),+ f.hasOwnProperty(c) &&+ W(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (f[a].J[c] = b))+ : ((f[a] = b), void 0 !== c && (f[a].ba = c));+ }+ function Ya(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(G[(b >> 2) + d]);+ return c;+ }+ function Za(a, b) {+ 0 <= a.indexOf('j') ||+ A('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var e;+ -1 != a.indexOf('j')+ ? (e =+ c && c.length+ ? f['dynCall_' + a].apply(null, [b].concat(c))+ : f['dynCall_' + a].call(null, b))+ : (e = K.get(b).apply(null, c));+ return e;+ };+ }+ function Y(a, b) {+ a = U(a);+ var c = -1 != a.indexOf('j') ? Za(a, b) : K.get(b);+ 'function' !== typeof c &&+ W('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var $a = void 0;+ function ab(a) {+ a = bb(a);+ var b = U(a);+ Z(a);+ return b;+ }+ function cb(a, b) {+ function c(g) {+ e[g] || S[g] || (Ha[g] ? Ha[g].forEach(c) : (d.push(g), (e[g] = !0)));+ }+ var d = [],+ e = {};+ b.forEach(c);+ throw new $a(a + ': ' + d.map(ab).join([', ']));+ }+ function db(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return I[d];+ }+ : function (d) {+ return C[d];+ };+ case 1:+ return c+ ? function (d) {+ return E[d >> 1];+ }+ : function (d) {+ return D[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return G[d >> 2];+ }+ : function (d) {+ return J[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var eb = {};+ function fb() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function gb(a, b) {+ var c = S[a];+ void 0 === c && W(b + ' has unknown type ' + ab(a));+ return c;+ }+ var hb = {},+ ib = {};+ function jb() {+ if (!kb) {+ var a = {+ USER: 'web_user',+ LOGNAME: 'web_user',+ PATH: '/',+ PWD: '/',+ HOME: '/home/web_user',+ LANG:+ (+ ('object' === typeof navigator &&+ navigator.languages &&+ navigator.languages[0]) ||+ 'C'+ ).replace('-', '_') + '.UTF-8',+ _: ca || './this.program',+ },+ b;+ for (b in ib) a[b] = ib[b];+ var c = [];+ for (b in a) c.push(b + '=' + a[b]);+ kb = c;+ }+ return kb;+ }+ var kb,+ lb = [null, [], []];+ La = f.InternalError = Ka('InternalError');+ for (var mb = Array(256), nb = 0; 256 > nb; ++nb)+ mb[nb] = String.fromCharCode(nb);+ Oa = mb;+ Pa = f.BindingError = Ka('BindingError');+ f.count_emval_handles = function () {+ for (var a = 0, b = 5; b < X.length; ++b) void 0 !== X[b] && ++a;+ return a;+ };+ f.get_first_emval = function () {+ for (var a = 5; a < X.length; ++a) if (void 0 !== X[a]) return X[a];+ return null;+ };+ $a = f.UnboundTypeError = Ka('UnboundTypeError');+ xa.push({+ R: function () {+ ob();+ },+ });+ var rb = {+ B: function () {},+ o: function (a) {+ var b = P[a];+ delete P[a];+ var c = b.W,+ d = b.X,+ e = b.N,+ g = e+ .map(function (m) {+ return m.U;+ })+ .concat(+ e.map(function (m) {+ return m.Z;+ }),+ );+ Ma([a], g, function (m) {+ var h = {};+ e.forEach(function (n, k) {+ var l = m[k],+ q = n.S,+ x = n.T,+ y = m[k + e.length],+ p = n.Y,+ da = n.$;+ h[n.P] = {+ read: function (z) {+ return l.fromWireType(q(x, z));+ },+ write: function (z, F) {+ var V = [];+ p(da, z, y.toWireType(V, F));+ Ga(V);+ },+ };+ });+ return [+ {+ name: b.name,+ fromWireType: function (n) {+ var k = {},+ l;+ for (l in h) k[l] = h[l].read(n);+ d(n);+ return k;+ },+ toWireType: function (n, k) {+ for (var l in h)+ if (!(l in k))+ throw new TypeError('Missing field: "' + l + '"');+ var q = c();+ for (l in h) h[l].write(q, k[l]);+ null !== n && n.push(d, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Q,+ K: d,+ },+ ];+ });+ },+ y: function (a, b, c, d, e) {+ var g = Na(c);+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (m) {+ return !!m;+ },+ toWireType: function (m, h) {+ return h ? d : e;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (m) {+ if (1 === c) var h = I;+ else if (2 === c) h = E;+ else if (4 === c) h = G;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(h[m >> g]);+ },+ K: null,+ });+ },+ x: function (a, b) {+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (c) {+ var d = X[c].value;+ Ra(c);+ return d;+ },+ toWireType: function (c, d) {+ return Sa(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Q,+ K: null,+ });+ },+ k: function (a, b, c) {+ c = Na(c);+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, e) {+ if ('number' !== typeof e && 'boolean' !== typeof e)+ throw new TypeError(+ 'Cannot convert "' + Ta(e) + '" to ' + this.name,+ );+ return e;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ua(b, c),+ K: null,+ });+ },+ g: function (a, b, c, d, e, g) {+ var m = Ya(b, c);+ a = U(a);+ e = Y(d, e);+ Xa(+ a,+ function () {+ cb('Cannot call ' + a + ' due to unbound types', m);+ },+ b - 1,+ );+ Ma([], m, function (h) {+ var n = a,+ k = a;+ h = [h[0], null].concat(h.slice(1));+ var l = e,+ q = h.length;+ 2 > q &&+ W(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var x = null !== h[1] && !1, y = !1, p = 1; p < h.length; ++p)+ if (null !== h[p] && void 0 === h[p].K) {+ y = !0;+ break;+ }+ var da = 'void' !== h[0].name,+ z = '',+ F = '';+ for (p = 0; p < q - 2; ++p)+ (z += (0 !== p ? ', ' : '') + 'arg' + p),+ (F += (0 !== p ? ', ' : '') + 'arg' + p + 'Wired');+ k =+ 'return function ' ++ Ia(k) ++ '(' ++ z ++ ') {\nif (arguments.length !== ' ++ (q - 2) ++ ") {\nthrowBindingError('function " ++ k ++ " called with ' + arguments.length + ' arguments, expected " ++ (q - 2) ++ " args!');\n}\n";+ y && (k += 'var destructors = [];\n');+ var V = y ? 'destructors' : 'null';+ z = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ l = [W, l, g, Ga, h[0], h[1]];+ x &&+ (k += 'var thisWired = classParam.toWireType(' + V + ', this);\n');+ for (p = 0; p < q - 2; ++p)+ (k +=+ 'var arg' ++ p ++ 'Wired = argType' ++ p ++ '.toWireType(' ++ V ++ ', arg' ++ p ++ '); // ' ++ h[p + 2].name ++ '\n'),+ z.push('argType' + p),+ l.push(h[p + 2]);+ x && (F = 'thisWired' + (0 < F.length ? ', ' : '') + F);+ k +=+ (da ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < F.length ? ', ' : '') ++ F ++ ');\n';+ if (y) k += 'runDestructors(destructors);\n';+ else+ for (p = x ? 1 : 2; p < h.length; ++p)+ (q = 1 === p ? 'thisWired' : 'arg' + (p - 2) + 'Wired'),+ null !== h[p].K &&+ ((k += q + '_dtor(' + q + '); // ' + h[p].name + '\n'),+ z.push(q + '_dtor'),+ l.push(h[p].K));+ da && (k += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ z.push(k + '}\n');+ h = Va(z).apply(null, l);+ p = b - 1;+ if (!f.hasOwnProperty(n))+ throw new La('Replacing nonexistant public symbol');+ void 0 !== f[n].J && void 0 !== p+ ? (f[n].J[p] = h)+ : ((f[n] = h), (f[n].O = p));+ return [];+ });+ },+ d: function (a, b, c, d, e) {+ function g(k) {+ return k;+ }+ b = U(b);+ -1 === e && (e = 4294967295);+ var m = Na(c);+ if (0 === d) {+ var h = 32 - 8 * c;+ g = function (k) {+ return (k << h) >>> h;+ };+ }+ var n = -1 != b.indexOf('unsigned');+ T(a, {+ name: b,+ fromWireType: g,+ toWireType: function (k, l) {+ if ('number' !== typeof l && 'boolean' !== typeof l)+ throw new TypeError(+ 'Cannot convert "' + Ta(l) + '" to ' + this.name,+ );+ if (l < d || l > e)+ throw new TypeError(+ 'Passing a number "' ++ Ta(l) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ e ++ ']!',+ );+ return n ? l >>> 0 : l | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: db(b, m, 0 !== d),+ K: null,+ });+ },+ c: function (a, b, c) {+ function d(g) {+ g >>= 2;+ var m = J;+ return new e(H, m[g + 1], m[g]);+ }+ var e = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = U(c);+ T(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { V: !0 },+ );+ },+ l: function (a, b) {+ b = U(b);+ var c = 'std::string' === b;+ T(a, {+ name: b,+ fromWireType: function (d) {+ var e = J[d >> 2];+ if (c)+ for (var g = d + 4, m = 0; m <= e; ++m) {+ var h = d + 4 + m;+ if (m == e || 0 == C[h]) {+ if (g) {+ for (var n = g + (h - g), k = g; !(k >= n) && C[k]; ) ++k;+ g = ja.decode(C.subarray(g, k));+ } else g = '';+ if (void 0 === l) var l = g;+ else (l += String.fromCharCode(0)), (l += g);+ g = h + 1;+ }+ }+ else {+ l = Array(e);+ for (m = 0; m < e; ++m) l[m] = String.fromCharCode(C[d + 4 + m]);+ l = l.join('');+ }+ Z(d);+ return l;+ },+ toWireType: function (d, e) {+ e instanceof ArrayBuffer && (e = new Uint8Array(e));+ var g = 'string' === typeof e;+ g ||+ e instanceof Uint8Array ||+ e instanceof Uint8ClampedArray ||+ e instanceof Int8Array ||+ W('Cannot pass non-string to std::string');+ var m = (c && g+ ? function () {+ for (var k = 0, l = 0; l < e.length; ++l) {+ var q = e.charCodeAt(l);+ 55296 <= q &&+ 57343 >= q &&+ (q =+ (65536 + ((q & 1023) << 10)) |+ (e.charCodeAt(++l) & 1023));+ 127 >= q+ ? ++k+ : (k = 2047 >= q ? k + 2 : 65535 >= q ? k + 3 : k + 4);+ }+ return k;+ }+ : function () {+ return e.length;+ })(),+ h = pb(4 + m + 1);+ J[h >> 2] = m;+ if (c && g) ka(e, h + 4, m + 1);+ else if (g)+ for (g = 0; g < m; ++g) {+ var n = e.charCodeAt(g);+ 255 < n &&+ (Z(h),+ W('String has UTF-16 code units that do not fit in 8 bits'));+ C[h + 4 + g] = n;+ }+ else for (g = 0; g < m; ++g) C[h + 4 + g] = e[g];+ null !== d && d.push(Z, h);+ return h;+ },+ argPackAdvance: 8,+ readValueFromPointer: Q,+ K: function (d) {+ Z(d);+ },+ });+ },+ f: function (a, b, c) {+ c = U(c);+ if (2 === b) {+ var d = ma;+ var e = na;+ var g = oa;+ var m = function () {+ return D;+ };+ var h = 1;+ } else+ 4 === b &&+ ((d = pa),+ (e = qa),+ (g = ra),+ (m = function () {+ return J;+ }),+ (h = 2));+ T(a, {+ name: c,+ fromWireType: function (n) {+ for (var k = J[n >> 2], l = m(), q, x = n + 4, y = 0; y <= k; ++y) {+ var p = n + 4 + y * b;+ if (y == k || 0 == l[p >> h])+ (x = d(x, p - x)),+ void 0 === q+ ? (q = x)+ : ((q += String.fromCharCode(0)), (q += x)),+ (x = p + b);+ }+ Z(n);+ return q;+ },+ toWireType: function (n, k) {+ 'string' !== typeof k &&+ W('Cannot pass non-string to C++ string type ' + c);+ var l = g(k),+ q = pb(4 + l + b);+ J[q >> 2] = l >> h;+ e(k, q + 4, l + b);+ null !== n && n.push(Z, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Q,+ K: function (n) {+ Z(n);+ },+ });+ },+ p: function (a, b, c, d, e, g) {+ P[a] = { name: U(b), W: Y(c, d), X: Y(e, g), N: [] };+ },+ b: function (a, b, c, d, e, g, m, h, n, k) {+ P[a].N.push({+ P: U(b),+ U: c,+ S: Y(d, e),+ T: g,+ Z: m,+ Y: Y(h, n),+ $: k,+ });+ },+ z: function (a, b) {+ b = U(b);+ T(a, {+ aa: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ i: Ra,+ A: function (a) {+ if (0 === a) return Sa(fb());+ var b = eb[a];+ a = void 0 === b ? U(a) : b;+ return Sa(fb()[a]);+ },+ n: function (a) {+ 4 < a && (X[a].M += 1);+ },+ q: function (a, b, c, d) {+ a || W('Cannot use deleted val. handle = ' + a);+ a = X[a].value;+ var e = hb[b];+ if (!e) {+ e = '';+ for (var g = 0; g < b; ++g) e += (0 !== g ? ', ' : '') + 'arg' + g;+ var m =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (g = 0; g < b; ++g)+ m +=+ 'var argType' ++ g ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ g ++ '], "parameter ' ++ g ++ '");\nvar arg' ++ g ++ ' = argType' ++ g ++ '.readValueFromPointer(args);\nargs += argType' ++ g ++ "['argPackAdvance'];\n";+ e = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ m ++ ('var obj = new constructor(' ++ e ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(gb, f, Sa);+ hb[b] = e;+ }+ return e(a, c, d);+ },+ h: function () {+ A();+ },+ t: function (a, b, c) {+ C.copyWithin(a, b, b + c);+ },+ e: function (a) {+ a >>>= 0;+ var b = C.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ B.grow((Math.min(2147483648, d) - H.byteLength + 65535) >>> 16);+ ua(B.buffer);+ var e = 1;+ break a;+ } catch (g) {}+ e = void 0;+ }+ if (e) return !0;+ }+ return !1;+ },+ u: function (a, b) {+ var c = 0;+ jb().forEach(function (d, e) {+ var g = b + c;+ e = G[(a + 4 * e) >> 2] = g;+ for (g = 0; g < d.length; ++g) I[e++ >> 0] = d.charCodeAt(g);+ I[e >> 0] = 0;+ c += d.length + 1;+ });+ return 0;+ },+ v: function (a, b) {+ var c = jb();+ G[a >> 2] = c.length;+ var d = 0;+ c.forEach(function (e) {+ d += e.length + 1;+ });+ G[b >> 2] = d;+ return 0;+ },+ m: function (a) {+ if (!noExitRuntime) {+ if (f.onExit) f.onExit(a);+ ia = !0;+ }+ ea(a, new qb(a));+ },+ w: function () {+ return 0;+ },+ r: function () {},+ j: function (a, b, c, d) {+ for (var e = 0, g = 0; g < c; g++) {+ for (+ var m = G[(b + 8 * g) >> 2], h = G[(b + (8 * g + 4)) >> 2], n = 0;+ n < h;+ n+++ ) {+ var k = C[m + n],+ l = lb[a];+ if (0 === k || 10 === k) {+ for (k = 0; l[k] && !(NaN <= k); ) ++k;+ k = ja.decode(+ l.subarray ? l.subarray(0, k) : new Uint8Array(l.slice(0, k)),+ );+ (1 === a ? ha : v)(k);+ l.length = 0;+ } else l.push(k);+ }+ e += h;+ }+ G[d >> 2] = e;+ return 0;+ },+ a: B,+ s: function () {},+ };+ (function () {+ function a(e) {+ f.asm = e.exports;+ K = f.asm.C;+ L--;+ f.monitorRunDependencies && f.monitorRunDependencies(L);+ 0 == L &&+ (null !== Ba && (clearInterval(Ba), (Ba = null)),+ M && ((e = M), (M = null), e()));+ }+ function b(e) {+ a(e.instance);+ }+ function c(e) {+ return Fa()+ .then(function (g) {+ return WebAssembly.instantiate(g, d);+ })+ .then(e, function (g) {+ v('failed to asynchronously prepare wasm: ' + g);+ A(g);+ });+ }+ var d = { a: rb };+ L++;+ f.monitorRunDependencies && f.monitorRunDependencies(L);+ if (f.instantiateWasm)+ try {+ return f.instantiateWasm(d, a);+ } catch (e) {+ return (+ v('Module.instantiateWasm callback failed with error: ' + e), !1+ );+ }+ (function () {+ return w ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ Ca() ||+ 'function' !== typeof fetch+ ? c(b)+ : fetch(N, { credentials: 'same-origin' }).then(function (e) {+ return WebAssembly.instantiateStreaming(e, d).then(b, function (+ g,+ ) {+ v('wasm streaming compile failed: ' + g);+ v('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })().catch(ba);+ return {};+ })();+ var ob = (f.___wasm_call_ctors = function () {+ return (ob = f.___wasm_call_ctors = f.asm.D).apply(null, arguments);+ }),+ Z = (f._free = function () {+ return (Z = f._free = f.asm.E).apply(null, arguments);+ }),+ pb = (f._malloc = function () {+ return (pb = f._malloc = f.asm.F).apply(null, arguments);+ }),+ bb = (f.___getTypeName = function () {+ return (bb = f.___getTypeName = f.asm.G).apply(null, arguments);+ });+ f.___embind_register_native_and_builtin_types = function () {+ return (f.___embind_register_native_and_builtin_types = f.asm.H).apply(+ null,+ arguments,+ );+ };+ f.dynCall_jiji = function () {+ return (f.dynCall_jiji = f.asm.I).apply(null, arguments);+ };+ var sb;+ function qb(a) {+ this.name = 'ExitStatus';+ this.message = 'Program terminated with exit(' + a + ')';+ this.status = a;+ }+ M = function tb() {+ sb || ub();+ sb || (M = tb);+ };+ function ub() {+ function a() {+ if (!sb && ((sb = !0), (f.calledRun = !0), !ia)) {+ O(xa);+ O(ya);+ aa(f);+ if (f.onRuntimeInitialized) f.onRuntimeInitialized();+ if (f.postRun)+ for (+ 'function' == typeof f.postRun && (f.postRun = [f.postRun]);+ f.postRun.length;-var d;d||(d=typeof mozjpeg_enc !== 'undefined' ? mozjpeg_enc : {});var aa;d.ready=new Promise(function(a){aa=a});var r={},t;for(t in d)d.hasOwnProperty(t)&&(r[t]=d[t]);var ba="./this.program";function u(a,b){throw b;}var v=!1,w=!1,ca=!1,da=!1;v="object"===typeof window;w="function"===typeof importScripts;ca="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;da=!v&&!ca&&!w;var x="",B,C,ea,fa;-if(ca)x=w?require("path").dirname(x)+"/":__dirname+"/",B=function(a,b){ea||(ea=require("fs"));fa||(fa=require("path"));a=fa.normalize(a);return ea.readFileSync(a,b?null:"utf8")},C=function(a){a=B(a,!0);a.buffer||(a=new Uint8Array(a));a.buffer||D("Assertion failed: undefined");return a},1<process.argv.length&&(ba=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),process.on("uncaughtException",function(a){if(!(a instanceof ha))throw a;}),process.on("unhandledRejection",D),u=function(a){process.exit(a)},-d.inspect=function(){return"[Emscripten Module object]"};else if(da)"undefined"!=typeof read&&(B=function(a){return read(a)}),C=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");"object"===typeof a||D("Assertion failed: undefined");return a},"function"===typeof quit&&(u=function(a){quit(a)}),"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:-print);else if(v||w)w?x=self.location.href:document.currentScript&&(x=document.currentScript.src),_scriptDir&&(x=_scriptDir),0!==x.indexOf("blob:")?x=x.substr(0,x.lastIndexOf("/")+1):x="",B=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText},w&&(C=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var ia=d.print||console.log.bind(console),E=d.printErr||console.warn.bind(console);-for(t in r)r.hasOwnProperty(t)&&(d[t]=r[t]);r=null;d.thisProgram&&(ba=d.thisProgram);d.quit&&(u=d.quit);var G;d.wasmBinary&&(G=d.wasmBinary);var noExitRuntime;d.noExitRuntime&&(noExitRuntime=d.noExitRuntime);"object"!==typeof WebAssembly&&D("no native wasm support detected");var H,ja=new WebAssembly.Table({initial:122,maximum:122,element:"anyfunc"}),la=!1,ma="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;-function na(a,b,c){var e=b+c;for(c=b;a[c]&&!(c>=e);)++c;if(16<c-b&&a.subarray&&ma)return ma.decode(a.subarray(b,c));for(e="";b<c;){var f=a[b++];if(f&128){var g=a[b++]&63;if(192==(f&224))e+=String.fromCharCode((f&31)<<6|g);else{var l=a[b++]&63;f=224==(f&240)?(f&15)<<12|g<<6|l:(f&7)<<18|g<<12|l<<6|a[b++]&63;65536>f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}return e}-function oa(a,b,c){var e=I;if(0<c){c=b+c-1;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var l=a.charCodeAt(++f);g=65536+((g&1023)<<10)|l&1023}if(127>=g){if(b>=c)break;e[b++]=g}else{if(2047>=g){if(b+1>=c)break;e[b++]=192|g>>6}else{if(65535>=g){if(b+2>=c)break;e[b++]=224|g>>12}else{if(b+3>=c)break;e[b++]=240|g>>18;e[b++]=128|g>>12&63}e[b++]=128|g>>6&63}e[b++]=128|g&63}}e[b]=0}}var pa="undefined"!==typeof TextDecoder?new TextDecoder("utf-16le"):void 0;-function qa(a,b){var c=a>>1;for(var e=c+b/2;!(c>=e)&&ra[c];)++c;c<<=1;if(32<c-a&&pa)return pa.decode(I.subarray(a,c));c=0;for(e="";;){var f=J[a+2*c>>1];if(0==f||c==b/2)return e;++c;e+=String.fromCharCode(f)}}function sa(a,b,c){void 0===c&&(c=2147483647);if(2>c)return 0;c-=2;var e=b;c=c<2*a.length?c/2:a.length;for(var f=0;f<c;++f)J[b>>1]=a.charCodeAt(f),b+=2;J[b>>1]=0;return b-e}function ta(a){return 2*a.length}-function ua(a,b){for(var c=0,e="";!(c>=b/4);){var f=K[a+4*c>>2];if(0==f)break;++c;65536<=f?(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023)):e+=String.fromCharCode(f)}return e}function va(a,b,c){void 0===c&&(c=2147483647);if(4>c)return 0;var e=b;c=e+c-4;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var l=a.charCodeAt(++f);g=65536+((g&1023)<<10)|l&1023}K[b>>2]=g;b+=4;if(b+4>c)break}K[b>>2]=0;return b-e}-function wa(a){for(var b=0,c=0;c<a.length;++c){var e=a.charCodeAt(c);55296<=e&&57343>=e&&++c;b+=4}return b}var L,M,I,J,ra,K,N,xa,ya;function za(a){L=a;d.HEAP8=M=new Int8Array(a);d.HEAP16=J=new Int16Array(a);d.HEAP32=K=new Int32Array(a);d.HEAPU8=I=new Uint8Array(a);d.HEAPU16=ra=new Uint16Array(a);d.HEAPU32=N=new Uint32Array(a);d.HEAPF32=xa=new Float32Array(a);d.HEAPF64=ya=new Float64Array(a)}var Aa=d.INITIAL_MEMORY||16777216;d.wasmMemory?H=d.wasmMemory:H=new WebAssembly.Memory({initial:Aa/65536,maximum:32768});-H&&(L=H.buffer);Aa=L.byteLength;za(L);K[22876]=5334544;function Ba(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b(d);else{var c=b.ga;"number"===typeof c?void 0===b.$?d.dynCall_v(c):d.dynCall_vi(c,b.$):c(void 0===b.$?null:b.$)}}}var Ca=[],Da=[],Ea=[],Fa=[];function Ga(){var a=d.preRun.shift();Ca.unshift(a)}var O=0,Ha=null,P=null;d.preloadedImages={};d.preloadedAudios={};-function D(a){if(d.onAbort)d.onAbort(a);ia(a);E(a);la=!0;throw new WebAssembly.RuntimeError("abort("+a+"). Build with -s ASSERTIONS=1 for more info.");}function Ia(a){var b=Q;return String.prototype.startsWith?b.startsWith(a):0===b.indexOf(a)}function Ja(){return Ia("data:application/octet-stream;base64,")}var Q="mozjpeg_enc.wasm";if(!Ja()){var Ka=Q;Q=d.locateFile?d.locateFile(Ka,x):x+Ka}-function La(){try{if(G)return new Uint8Array(G);if(C)return C(Q);throw"both async and sync fetching of the wasm failed";}catch(a){D(a)}}function Ma(){return G||!v&&!w||"function"!==typeof fetch||Ia("file://")?new Promise(function(a){a(La())}):fetch(Q,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+Q+"'";return a.arrayBuffer()}).catch(function(){return La()})}Da.push({ga:function(){Na()}});function Oa(){return 0<Oa.ba}var Pa={};-function Qa(a){for(;a.length;){var b=a.pop();a.pop()(b)}}function Ra(a){return this.fromWireType(N[a>>2])}var R={},S={},Sa={};function Ta(a){if(void 0===a)return"_unknown";a=a.replace(/[^a-zA-Z0-9_]/g,"$");var b=a.charCodeAt(0);return 48<=b&&57>=b?"_"+a:a}function Ua(a,b){a=Ta(a);return(new Function("body","return function "+a+'() {\n "use strict"; return body.apply(this, arguments);\n};\n'))(b)}-function Va(a){var b=Error,c=Ua(a,function(e){this.name=a;this.message=e;e=Error(e).stack;void 0!==e&&(this.stack=this.toString()+"\n"+e.replace(/^Error(:[^\n]*)?\n/,""))});c.prototype=Object.create(b.prototype);c.prototype.constructor=c;c.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message};return c}var Wa=void 0;-function Xa(a,b,c){function e(k){k=c(k);if(k.length!==a.length)throw new Wa("Mismatched type converter count");for(var h=0;h<a.length;++h)T(a[h],k[h])}a.forEach(function(k){Sa[k]=b});var f=Array(b.length),g=[],l=0;b.forEach(function(k,h){S.hasOwnProperty(k)?f[h]=S[k]:(g.push(k),R.hasOwnProperty(k)||(R[k]=[]),R[k].push(function(){f[h]=S[k];++l;l===g.length&&e(f)}))});0===g.length&&e(f)}-function Ya(a){switch(a){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+a);}}var Za=void 0;function U(a){for(var b="";I[a];)b+=Za[I[a++]];return b}var $a=void 0;function V(a){throw new $a(a);}-function T(a,b,c){c=c||{};if(!("argPackAdvance"in b))throw new TypeError("registerType registeredInstance requires argPackAdvance");var e=b.name;a||V('type "'+e+'" must have a positive integer typeid pointer');if(S.hasOwnProperty(a)){if(c.ka)return;V("Cannot register type '"+e+"' twice")}S[a]=b;delete Sa[a];R.hasOwnProperty(a)&&(b=R[a],delete R[a],b.forEach(function(f){f()}))}var ab=[],X=[{},{value:void 0},{value:null},{value:!0},{value:!1}];-function bb(a){4<a&&0===--X[a].aa&&(X[a]=void 0,ab.push(a))}function cb(a){switch(a){case void 0:return 1;case null:return 2;case !0:return 3;case !1:return 4;default:var b=ab.length?ab.pop():X.length;X[b]={aa:1,value:a};return b}}function db(a){if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a}-function eb(a,b){switch(b){case 2:return function(c){return this.fromWireType(xa[c>>2])};case 3:return function(c){return this.fromWireType(ya[c>>3])};default:throw new TypeError("Unknown float type: "+a);}}function fb(a){var b=Function;if(!(b instanceof Function))throw new TypeError("new_ called with constructor type "+typeof b+" which is not a function");var c=Ua(b.name||"unknownFunctionName",function(){});c.prototype=b.prototype;c=new c;a=b.apply(c,a);return a instanceof Object?a:c}-function gb(a,b){var c=d;if(void 0===c[a].Y){var e=c[a];c[a]=function(){c[a].Y.hasOwnProperty(arguments.length)||V("Function '"+b+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+c[a].Y+")!");return c[a].Y[arguments.length].apply(this,arguments)};c[a].Y=[];c[a].Y[e.ea]=e}}-function hb(a,b,c){d.hasOwnProperty(a)?((void 0===c||void 0!==d[a].Y&&void 0!==d[a].Y[c])&&V("Cannot register public name '"+a+"' twice"),gb(a,a),d.hasOwnProperty(c)&&V("Cannot register multiple overloads of a function with the same number of arguments ("+c+")!"),d[a].Y[c]=b):(d[a]=b,void 0!==c&&(d[a].ra=c))}function ib(a,b){for(var c=[],e=0;e<a;e++)c.push(K[(b>>2)+e]);return c}-function Y(a,b){a=U(a);var c=d["dynCall_"+a];for(var e=[],f=1;f<a.length;++f)e.push("a"+f);f="return function dynCall_"+(a+"_"+b)+"("+e.join(", ")+") {\n";f+=" return dynCall(rawFunction"+(e.length?", ":"")+e.join(", ")+");\n";c=(new Function("dynCall","rawFunction",f+"};\n"))(c,b);"function"!==typeof c&&V("unknown function pointer with signature "+a+": "+b);return c}var jb=void 0;function kb(a){a=lb(a);var b=U(a);Z(a);return b}-function mb(a,b){function c(g){f[g]||S[g]||(Sa[g]?Sa[g].forEach(c):(e.push(g),f[g]=!0))}var e=[],f={};b.forEach(c);throw new jb(a+": "+e.map(kb).join([", "]));}function nb(a,b,c){switch(b){case 0:return c?function(e){return M[e]}:function(e){return I[e]};case 1:return c?function(e){return J[e>>1]}:function(e){return ra[e>>1]};case 2:return c?function(e){return K[e>>2]}:function(e){return N[e>>2]};default:throw new TypeError("Unknown integer type: "+a);}}var ob={};-function pb(){return"object"===typeof globalThis?globalThis:Function("return this")()}function qb(a,b){var c=S[a];void 0===c&&V(b+" has unknown type "+kb(a));return c}var rb={},sb={};function tb(){if(!ub){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"===typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ba||"./this.program"},b;for(b in sb)a[b]=sb[b];var c=[];for(b in a)c.push(b+"="+a[b]);ub=c}return ub}-var ub,vb=[null,[],[]];Wa=d.InternalError=Va("InternalError");for(var wb=Array(256),xb=0;256>xb;++xb)wb[xb]=String.fromCharCode(xb);Za=wb;$a=d.BindingError=Va("BindingError");d.count_emval_handles=function(){for(var a=0,b=5;b<X.length;++b)void 0!==X[b]&&++a;return a};d.get_first_emval=function(){for(var a=5;a<X.length;++a)if(void 0!==X[a])return X[a];return null};jb=d.UnboundTypeError=Va("UnboundTypeError");-var zb={j:function(a){return yb(a)},C:function(){},A:function(a){"uncaught_exception"in Oa?Oa.ba++:Oa.ba=1;throw a;},l:function(a){var b=Pa[a];delete Pa[a];var c=b.la,e=b.ma,f=b.da,g=f.map(function(l){return l.ja}).concat(f.map(function(l){return l.oa}));Xa([a],g,function(l){var k={};f.forEach(function(h,m){var n=l[m],q=h.ha,y=h.ia,z=l[m+f.length],p=h.na,ka=h.pa;k[h.fa]={read:function(A){return n.fromWireType(q(y,A))},write:function(A,F){var W=[];p(ka,A,z.toWireType(W,F));Qa(W)}}});return[{name:b.name,-fromWireType:function(h){var m={},n;for(n in k)m[n]=k[n].read(h);e(h);return m},toWireType:function(h,m){for(var n in k)if(!(n in m))throw new TypeError('Missing field: "'+n+'"');var q=c();for(n in k)k[n].write(q,m[n]);null!==h&&h.push(e,q);return q},argPackAdvance:8,readValueFromPointer:Ra,Z:e}]})},x:function(a,b,c,e,f){var g=Ya(c);b=U(b);T(a,{name:b,fromWireType:function(l){return!!l},toWireType:function(l,k){return k?e:f},argPackAdvance:8,readValueFromPointer:function(l){if(1===c)var k=M;else if(2===-c)k=J;else if(4===c)k=K;else throw new TypeError("Unknown boolean type size: "+b);return this.fromWireType(k[l>>g])},Z:null})},w:function(a,b){b=U(b);T(a,{name:b,fromWireType:function(c){var e=X[c].value;bb(c);return e},toWireType:function(c,e){return cb(e)},argPackAdvance:8,readValueFromPointer:Ra,Z:null})},h:function(a,b,c){c=Ya(c);b=U(b);T(a,{name:b,fromWireType:function(e){return e},toWireType:function(e,f){if("number"!==typeof f&&"boolean"!==typeof f)throw new TypeError('Cannot convert "'+db(f)+-'" to '+this.name);return f},argPackAdvance:8,readValueFromPointer:eb(b,c),Z:null})},e:function(a,b,c,e,f,g){var l=ib(b,c);a=U(a);f=Y(e,f);hb(a,function(){mb("Cannot call "+a+" due to unbound types",l)},b-1);Xa([],l,function(k){var h=[k[0],null].concat(k.slice(1)),m=k=a,n=f,q=h.length;2>q&&V("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var y=null!==h[1]&&!1,z=!1,p=1;p<h.length;++p)if(null!==h[p]&&void 0===h[p].Z){z=!0;break}var ka="void"!==h[0].name,A="",F=-"";for(p=0;p<q-2;++p)A+=(0!==p?", ":"")+"arg"+p,F+=(0!==p?", ":"")+"arg"+p+"Wired";m="return function "+Ta(m)+"("+A+") {\nif (arguments.length !== "+(q-2)+") {\nthrowBindingError('function "+m+" called with ' + arguments.length + ' arguments, expected "+(q-2)+" args!');\n}\n";z&&(m+="var destructors = [];\n");var W=z?"destructors":"null";A="throwBindingError invoker fn runDestructors retType classParam".split(" ");n=[V,n,g,Qa,h[0],h[1]];y&&(m+="var thisWired = classParam.toWireType("+W+", this);\n");-for(p=0;p<q-2;++p)m+="var arg"+p+"Wired = argType"+p+".toWireType("+W+", arg"+p+"); // "+h[p+2].name+"\n",A.push("argType"+p),n.push(h[p+2]);y&&(F="thisWired"+(0<F.length?", ":"")+F);m+=(ka?"var rv = ":"")+"invoker(fn"+(0<F.length?", ":"")+F+");\n";if(z)m+="runDestructors(destructors);\n";else for(p=y?1:2;p<h.length;++p)q=1===p?"thisWired":"arg"+(p-2)+"Wired",null!==h[p].Z&&(m+=q+"_dtor("+q+"); // "+h[p].name+"\n",A.push(q+"_dtor"),n.push(h[p].Z));ka&&(m+="var ret = retType.fromWireType(rv);\nreturn ret;\n");-A.push(m+"}\n");h=fb(A).apply(null,n);p=b-1;if(!d.hasOwnProperty(k))throw new Wa("Replacing nonexistant public symbol");void 0!==d[k].Y&&void 0!==p?d[k].Y[p]=h:(d[k]=h,d[k].ea=p);return[]})},b:function(a,b,c,e,f){function g(m){return m}b=U(b);-1===f&&(f=4294967295);var l=Ya(c);if(0===e){var k=32-8*c;g=function(m){return m<<k>>>k}}var h=-1!=b.indexOf("unsigned");T(a,{name:b,fromWireType:g,toWireType:function(m,n){if("number"!==typeof n&&"boolean"!==typeof n)throw new TypeError('Cannot convert "'+db(n)+-'" to '+this.name);if(n<e||n>f)throw new TypeError('Passing a number "'+db(n)+'" from JS side to C/C++ side to an argument of type "'+b+'", which is outside the valid range ['+e+", "+f+"]!");return h?n>>>0:n|0},argPackAdvance:8,readValueFromPointer:nb(b,l,0!==e),Z:null})},a:function(a,b,c){function e(g){g>>=2;var l=N;return new f(L,l[g+1],l[g])}var f=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];c=U(c);T(a,{name:c,fromWireType:e,argPackAdvance:8,-readValueFromPointer:e},{ka:!0})},i:function(a,b){b=U(b);var c="std::string"===b;T(a,{name:b,fromWireType:function(e){var f=N[e>>2];if(c)for(var g=e+4,l=0;l<=f;++l){var k=e+4+l;if(0==I[k]||l==f){g=g?na(I,g,k-g):"";if(void 0===h)var h=g;else h+=String.fromCharCode(0),h+=g;g=k+1}}else{h=Array(f);for(l=0;l<f;++l)h[l]=String.fromCharCode(I[e+4+l]);h=h.join("")}Z(e);return h},toWireType:function(e,f){f instanceof ArrayBuffer&&(f=new Uint8Array(f));var g="string"===typeof f;g||f instanceof Uint8Array||-f instanceof Uint8ClampedArray||f instanceof Int8Array||V("Cannot pass non-string to std::string");var l=(c&&g?function(){for(var m=0,n=0;n<f.length;++n){var q=f.charCodeAt(n);55296<=q&&57343>=q&&(q=65536+((q&1023)<<10)|f.charCodeAt(++n)&1023);127>=q?++m:m=2047>=q?m+2:65535>=q?m+3:m+4}return m}:function(){return f.length})(),k=yb(4+l+1);N[k>>2]=l;if(c&&g)oa(f,k+4,l+1);else if(g)for(g=0;g<l;++g){var h=f.charCodeAt(g);255<h&&(Z(k),V("String has UTF-16 code units that do not fit in 8 bits"));I[k+4+g]=-h}else for(g=0;g<l;++g)I[k+4+g]=f[g];null!==e&&e.push(Z,k);return k},argPackAdvance:8,readValueFromPointer:Ra,Z:function(e){Z(e)}})},d:function(a,b,c){c=U(c);if(2===b){var e=qa;var f=sa;var g=ta;var l=function(){return ra};var k=1}else 4===b&&(e=ua,f=va,g=wa,l=function(){return N},k=2);T(a,{name:c,fromWireType:function(h){for(var m=N[h>>2],n=l(),q,y=h+4,z=0;z<=m;++z){var p=h+4+z*b;if(0==n[p>>k]||z==m)y=e(y,p-y),void 0===q?q=y:(q+=String.fromCharCode(0),q+=y),y=p+b}Z(h);return q},toWireType:function(h,-m){"string"!==typeof m&&V("Cannot pass non-string to C++ string type "+c);var n=g(m),q=yb(4+n+b);N[q>>2]=n>>k;f(m,q+4,n+b);null!==h&&h.push(Z,q);return q},argPackAdvance:8,readValueFromPointer:Ra,Z:function(h){Z(h)}})},m:function(a,b,c,e,f,g){Pa[a]={name:U(b),la:Y(c,e),ma:Y(f,g),da:[]}},f:function(a,b,c,e,f,g,l,k,h,m){Pa[a].da.push({fa:U(b),ja:c,ha:Y(e,f),ia:g,oa:l,na:Y(k,h),pa:m})},y:function(a,b){b=U(b);T(a,{qa:!0,name:b,argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},v:bb,-B:function(a){if(0===a)return cb(pb());var b=ob[a];a=void 0===b?U(a):b;return cb(pb()[a])},k:function(a){4<a&&(X[a].aa+=1)},n:function(a,b,c,e){a||V("Cannot use deleted val. handle = "+a);a=X[a].value;var f=rb[b];if(!f){f="";for(var g=0;g<b;++g)f+=(0!==g?", ":"")+"arg"+g;var l="return function emval_allocator_"+b+"(constructor, argTypes, args) {\n";for(g=0;g<b;++g)l+="var argType"+g+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+g+'], "parameter '+g+'");\nvar arg'+g+" = argType"+-g+".readValueFromPointer(args);\nargs += argType"+g+"['argPackAdvance'];\n";f=(new Function("requireRegisteredType","Module","__emval_register",l+("var obj = new constructor("+f+");\nreturn __emval_register(obj);\n}\n")))(qb,d,cb);rb[b]=f}return f(a,c,e)},r:function(){D()},q:function(a,b,c){I.copyWithin(a,b,b+c)},c:function(a){a>>>=0;var b=I.length;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var e=b*(1+.2/c);e=Math.min(e,a+100663296);e=Math.max(16777216,a,e);0<e%65536&&(e+=65536-e%65536);a:{try{H.grow(Math.min(2147483648,-e)-L.byteLength+65535>>>16);za(H.buffer);var f=1;break a}catch(g){}f=void 0}if(f)return!0}return!1},s:function(a,b){var c=0;tb().forEach(function(e,f){var g=b+c;f=K[a+4*f>>2]=g;for(g=0;g<e.length;++g)M[f++>>0]=e.charCodeAt(g);M[f>>0]=0;c+=e.length+1});return 0},t:function(a,b){var c=tb();K[a>>2]=c.length;var e=0;c.forEach(function(f){e+=f.length+1});K[b>>2]=e;return 0},z:function(a){if(!noExitRuntime&&(la=!0,d.onExit))d.onExit(a);u(a,new ha(a))},u:function(){return 0},o:function(){},g:function(a,-b,c,e){for(var f=0,g=0;g<c;g++){for(var l=K[b+8*g>>2],k=K[b+(8*g+4)>>2],h=0;h<k;h++){var m=I[l+h],n=vb[a];0===m||10===m?((1===a?ia:E)(na(n,0)),n.length=0):n.push(m)}f+=k}K[e>>2]=f;return 0},memory:H,p:function(){},table:ja};-(function(){function a(f){d.asm=f.exports;O--;d.monitorRunDependencies&&d.monitorRunDependencies(O);0==O&&(null!==Ha&&(clearInterval(Ha),Ha=null),P&&(f=P,P=null,f()))}function b(f){a(f.instance)}function c(f){return Ma().then(function(g){return WebAssembly.instantiate(g,e)}).then(f,function(g){E("failed to asynchronously prepare wasm: "+g);D(g)})}var e={a:zb};O++;d.monitorRunDependencies&&d.monitorRunDependencies(O);if(d.instantiateWasm)try{return d.instantiateWasm(e,a)}catch(f){return E("Module.instantiateWasm callback failed with error: "+-f),!1}(function(){if(G||"function"!==typeof WebAssembly.instantiateStreaming||Ja()||Ia("file://")||"function"!==typeof fetch)return c(b);fetch(Q,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,e).then(b,function(g){E("wasm streaming compile failed: "+g);E("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})();-var Na=d.___wasm_call_ctors=function(){return(Na=d.___wasm_call_ctors=d.asm.D).apply(null,arguments)},Z=d._free=function(){return(Z=d._free=d.asm.E).apply(null,arguments)},yb=d._malloc=function(){return(yb=d._malloc=d.asm.F).apply(null,arguments)},lb=d.___getTypeName=function(){return(lb=d.___getTypeName=d.asm.G).apply(null,arguments)};d.___embind_register_native_and_builtin_types=function(){return(d.___embind_register_native_and_builtin_types=d.asm.H).apply(null,arguments)};-d.dynCall_i=function(){return(d.dynCall_i=d.asm.I).apply(null,arguments)};d.dynCall_vi=function(){return(d.dynCall_vi=d.asm.J).apply(null,arguments)};d.dynCall_iii=function(){return(d.dynCall_iii=d.asm.K).apply(null,arguments)};d.dynCall_viii=function(){return(d.dynCall_viii=d.asm.L).apply(null,arguments)};d.dynCall_ii=function(){return(d.dynCall_ii=d.asm.M).apply(null,arguments)};d.dynCall_iiiiii=function(){return(d.dynCall_iiiiii=d.asm.N).apply(null,arguments)};-d.dynCall_viiiii=function(){return(d.dynCall_viiiii=d.asm.O).apply(null,arguments)};d.dynCall_vii=function(){return(d.dynCall_vii=d.asm.P).apply(null,arguments)};d.dynCall_iiiiiii=function(){return(d.dynCall_iiiiiii=d.asm.Q).apply(null,arguments)};d.dynCall_iiiii=function(){return(d.dynCall_iiiii=d.asm.R).apply(null,arguments)};d.dynCall_iiii=function(){return(d.dynCall_iiii=d.asm.S).apply(null,arguments)};d.dynCall_viiiiiiii=function(){return(d.dynCall_viiiiiiii=d.asm.T).apply(null,arguments)};-d.dynCall_viiii=function(){return(d.dynCall_viiii=d.asm.U).apply(null,arguments)};d.dynCall_viiiiiii=function(){return(d.dynCall_viiiiiii=d.asm.V).apply(null,arguments)};d.dynCall_jiji=function(){return(d.dynCall_jiji=d.asm.W).apply(null,arguments)};d.dynCall_viiiiii=function(){return(d.dynCall_viiiiii=d.asm.X).apply(null,arguments)};var Ab;function ha(a){this.name="ExitStatus";this.message="Program terminated with exit("+a+")";this.status=a}P=function Bb(){Ab||Cb();Ab||(P=Bb)};-function Cb(){function a(){if(!Ab&&(Ab=!0,d.calledRun=!0,!la)){Ba(Da);Ba(Ea);aa(d);if(d.onRuntimeInitialized)d.onRuntimeInitialized();if(d.postRun)for("function"==typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;){var b=d.postRun.shift();Fa.unshift(b)}Ba(Fa)}}if(!(0<O)){if(d.preRun)for("function"==typeof d.preRun&&(d.preRun=[d.preRun]);d.preRun.length;)Ga();Ba(Ca);0<O||(d.setStatus?(d.setStatus("Running..."),setTimeout(function(){setTimeout(function(){d.setStatus("")},1);a()},1)):a())}}-d.run=Cb;if(d.preInit)for("function"==typeof d.preInit&&(d.preInit=[d.preInit]);0<d.preInit.length;)d.preInit.pop()();noExitRuntime=!0;Cb();+ ) {+ var b = f.postRun.shift();+ za.unshift(b);+ }+ O(za);+ }+ }+ if (!(0 < L)) {+ if (f.preRun)+ for (+ 'function' == typeof f.preRun && (f.preRun = [f.preRun]);+ f.preRun.length;+ )+ Aa();+ O(wa);+ 0 < L ||+ (f.setStatus+ ? (f.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ f.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ f.run = ub;+ if (f.preInit)+ for (+ 'function' == typeof f.preInit && (f.preInit = [f.preInit]);+ 0 < f.preInit.length;- return mozjpeg_enc.ready-}-);+ )+ f.preInit.pop()();+ noExitRuntime = !0;+ ub();++ return Module.ready;+ };})();-if (typeof exports === 'object' && typeof module === 'object')- module.exports = mozjpeg_enc;- else if (typeof define === 'function' && define['amd'])- define([], function() { return mozjpeg_enc; });- else if (typeof exports === 'object')- exports["mozjpeg_enc"] = mozjpeg_enc;-\ No newline at end of file+export default Module;diff --git a/codecs/mozjpeg_enc/mozjpeg_enc.wasm b/codecs/mozjpeg_enc/mozjpeg_enc.wasmold mode 100644new mode 100755index bf5df729..e8551346Binary files a/codecs/mozjpeg_enc/mozjpeg_enc.wasm and b/codecs/mozjpeg_enc/mozjpeg_enc.wasm differdiff --git a/codecs/oxipng/Cargo.lock b/codecs/oxipng/Cargo.lockindex 4d52d832..7f763f45 100644--- a/codecs/oxipng/Cargo.lock+++ b/codecs/oxipng/Cargo.lock@@ -1,16 +1,22 @@# This file is automatically @generated by Cargo.# It is not intended for manual editing.+[[package]]+name = "adler"+version = "0.2.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"+[[package]]name = "adler32"-version = "1.1.0"+version = "1.2.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "567b077b825e468cc974f0020d4082ee6e03132512f207ef1a02fd5d00d1f32d"+checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234"[[package]]name = "autocfg"-version = "1.0.0"+version = "1.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"[[package]]name = "bit-vec"@@ -38,9 +44,9 @@ checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820"[[package]]name = "bytemuck"-version = "1.2.0"+version = "1.4.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "37fa13df2292ecb479ec23aa06f4507928bef07839be9ef15281411076629431"+checksum = "41aa2ec95ca3b5c54cf73c91acf06d24f4495d5f1b1c12506ae3483d646177ac"[[package]]name = "byteorder"@@ -50,9 +56,9 @@ checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"[[package]]name = "cc"-version = "1.0.58"+version = "1.0.62"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f9a06fb2e53271d7c279ec1efea6ab691c35a2ae67ec0d91d7acec0caf13b518"+checksum = "f1770ced377336a88a67c473594ccc14eca6f4559217c34f64aac8f83d641b40"[[package]]name = "cfg-if"@@ -60,6 +66,12 @@ version = "0.1.10"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"+[[package]]+name = "cfg-if"+version = "1.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"+[[package]]name = "cloudflare-zlib"version = "0.2.5"@@ -78,6 +90,18 @@ dependencies = ["cc",]+[[package]]+name = "color_quant"+version = "1.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"++[[package]]+name = "const_fn"+version = "0.4.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c478836e029dcef17fb47c89023448c64f781a046e0300e257ad8225ae59afab"+[[package]]name = "crc"version = "1.8.1"@@ -89,58 +113,57 @@ dependencies = [[[package]]name = "crc32fast"-version = "1.2.0"+version = "1.2.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1"+checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"dependencies = [- "cfg-if",+ "cfg-if 1.0.0",][[package]]-name = "crossbeam-deque"-version = "0.7.3"+name = "crossbeam-channel"+version = "0.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285"+checksum = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775"dependencies = [- "crossbeam-epoch",+ "cfg-if 1.0.0","crossbeam-utils",- "maybe-uninit",][[package]]-name = "crossbeam-epoch"-version = "0.8.2"+name = "crossbeam-deque"+version = "0.8.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"+checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9"dependencies = [- "autocfg",- "cfg-if",+ "cfg-if 1.0.0",+ "crossbeam-epoch","crossbeam-utils",- "lazy_static",- "maybe-uninit",- "memoffset",- "scopeguard",][[package]]-name = "crossbeam-queue"-version = "0.2.3"+name = "crossbeam-epoch"+version = "0.9.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570"+checksum = "ec0f606a85340376eef0d6d8fec399e6d4a544d648386c6645eb6d0653b27d9f"dependencies = [- "cfg-if",+ "cfg-if 1.0.0",+ "const_fn","crossbeam-utils",- "maybe-uninit",+ "lazy_static",+ "memoffset",+ "scopeguard",][[package]]name = "crossbeam-utils"-version = "0.7.2"+version = "0.8.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"+checksum = "ec91540d98355f690a86367e566ecad2e9e579f230230eb7c21398372be73ea5"dependencies = ["autocfg",- "cfg-if",+ "cfg-if 1.0.0",+ "const_fn","lazy_static",]@@ -156,27 +179,34 @@ dependencies = [[[package]]name = "either"-version = "1.5.3"+version = "1.6.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"++[[package]]+name = "hashbrown"+version = "0.9.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"+checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"[[package]]name = "hermit-abi"-version = "0.1.15"+version = "0.1.17"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"+checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"dependencies = ["libc",][[package]]name = "image"-version = "0.23.7"+version = "0.23.11"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a2397fc43bd5648b7117aabb3c5e62d0e62c194826ec77b0b4d0c41e62744635"+checksum = "b4f0a8345b33b082aedec2f4d7d4a926b845cee184cbe78b703413066564431b"dependencies = ["bytemuck","byteorder",+ "color_quant","num-iter","num-rational","num-traits",@@ -185,11 +215,12 @@ dependencies = [[[package]]name = "indexmap"-version = "1.4.0"+version = "1.6.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c398b2b113b55809ceb9ee3e753fcbac793f1956663f3c36549c1346015c2afe"+checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2"dependencies = ["autocfg",+ "hashbrown","rayon",]@@ -210,39 +241,42 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"[[package]]name = "libc"-version = "0.2.72"+version = "0.2.80"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a9f8082297d534141b30c8d39e9b1773713ab50fdbe4ff30f750d063b3bfd701"+checksum = "4d58d1b70b004888f764dfbf6a26a3b0342a1632d33968e4a179d8011c760614"[[package]]-name = "libdeflater"-version = "0.2.0"+name = "libdeflate-sys"+version = "0.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "66dca08b13369865b2f6dca1dd05f833985cbe6c12a676b04d55f78b85e80246"+checksum = "21e39efa87b84db3e13ff4e2dfac1e57220abcbd7fe8ec44d238f7f4f787cc1f"dependencies = ["cc",][[package]]-name = "log"-version = "0.4.8"+name = "libdeflater"+version = "0.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"+checksum = "a4810980d791f26d470e2d7d91a3d4d22aa3a4b709fb7e9c5e43ee54f83a01f2"dependencies = [- "cfg-if",+ "libdeflate-sys",][[package]]-name = "maybe-uninit"-version = "2.0.0"+name = "log"+version = "0.4.11"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"+checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b"+dependencies = [+ "cfg-if 0.1.10",+][[package]]name = "memoffset"-version = "0.5.5"+version = "0.5.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f"+checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa"dependencies = ["autocfg",]@@ -256,11 +290,21 @@ dependencies = ["adler32",]+[[package]]+name = "miniz_oxide"+version = "0.4.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d"+dependencies = [+ "adler",+ "autocfg",+]+[[package]]name = "num-integer"-version = "0.1.43"+version = "0.1.44"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b"+checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"dependencies = ["autocfg","num-traits",@@ -268,9 +312,9 @@ dependencies = [[[package]]name = "num-iter"-version = "0.1.41"+version = "0.1.42"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7a6e6b7c748f995c4c29c5f5ae0248536e04a5739927c74ec0fa564805094b9f"+checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59"dependencies = ["autocfg","num-integer",@@ -279,9 +323,9 @@ dependencies = [[[package]]name = "num-rational"-version = "0.3.0"+version = "0.3.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a5b4d7360f362cfb50dde8143501e6940b22f644be75a4cc90b2d81968908138"+checksum = "12ac428b1cb17fce6f731001d307d351ec70a6d202fc2e60f7d4c5e42d8f4f07"dependencies = ["autocfg","num-integer",@@ -290,9 +334,9 @@ dependencies = [[[package]]name = "num-traits"-version = "0.2.12"+version = "0.2.14"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"+checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"dependencies = ["autocfg",]@@ -307,43 +351,60 @@ dependencies = ["libc",]+[[package]]+name = "once_cell"+version = "1.5.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0"+[[package]]name = "oxipng"-version = "3.0.0"+version = "4.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d5fd695858078338d73862ff3755f820eff0bf4f3304e4b52f22aba53463183a"+checksum = "ea40b366cecfce76ee3b082e7e6567b82cdef75644a22442ca8584bc666ff4eb"dependencies = ["bit-vec","byteorder","cloudflare-zlib","crc",+ "crossbeam-channel","image","indexmap","itertools","libdeflater","log",- "miniz_oxide",+ "miniz_oxide 0.4.3",+ "rayon","rgb",- "zopfli",+ "rustc_version",+]++[[package]]+name = "pest"+version = "2.1.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"+dependencies = [+ "ucd-trie",][[package]]name = "png"-version = "0.16.6"+version = "0.16.7"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c150bf7479fafe3dd8740dbe48cc33b2a3efb7b0fe3483aced8bbc39f6d0238d"+checksum = "dfe7f9f1c730833200b134370e1d5098964231af8450bce9b78ee3ab5278b970"dependencies = ["bitflags","crc32fast","deflate",- "miniz_oxide",+ "miniz_oxide 0.3.7",][[package]]name = "proc-macro2"-version = "1.0.18"+version = "1.0.24"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa"+checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"dependencies = ["unicode-xid",]@@ -359,9 +420,9 @@ dependencies = [[[package]]name = "rayon"-version = "1.3.1"+version = "1.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "62f02856753d04e03e26929f820d0a0a337ebe71f849801eea335d464b349080"+checksum = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674"dependencies = ["autocfg","crossbeam-deque",@@ -371,12 +432,12 @@ dependencies = [[[package]]name = "rayon-core"-version = "1.7.1"+version = "1.9.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e92e15d89083484e11353891f1af602cc661426deb9564c298b270c726973280"+checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a"dependencies = [+ "crossbeam-channel","crossbeam-deque",- "crossbeam-queue","crossbeam-utils","lazy_static","num_cpus",@@ -384,33 +445,63 @@ dependencies = [[[package]]name = "rgb"-version = "0.8.20"+version = "0.8.25"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "90ef54b45ae131327a88597e2463fee4098ad6c88ba7b6af4b3987db8aad4098"+checksum = "287f3c3f8236abb92d8b7e36797f19159df4b58f0a658cc3fb6dd3004b1f3bd3"dependencies = ["bytemuck",]+[[package]]+name = "rustc_version"+version = "0.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "65c94201b44764d6d1f7e37c15a8289ed55e546c1762c7f1d57f616966e0c181"+dependencies = [+ "semver",+]+[[package]]name = "scopeguard"version = "1.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"+[[package]]+name = "semver"+version = "0.11.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6"+dependencies = [+ "semver-parser",+]++[[package]]+name = "semver-parser"+version = "0.10.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "42ef146c2ad5e5f4b037cd6ce2ebb775401729b19a82040c1beac9d36c7d1428"+dependencies = [+ "pest",+]+[[package]]name = "squoosh-oxipng"version = "0.1.0"dependencies = [+ "crossbeam-channel","log",+ "once_cell","oxipng",+ "rayon","wasm-bindgen",][[package]]name = "syn"-version = "1.0.34"+version = "1.0.48"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "936cae2873c940d92e697597c5eee105fb570cd5689c695806f672883653349b"+checksum = "cc371affeffc477f42a221a1e4297aedcea33d47d19b61455588bd9d8f6b19ac"dependencies = ["proc-macro2","quote",@@ -418,10 +509,10 @@ dependencies = [][[package]]-name = "typed-arena"-version = "1.7.0"+name = "ucd-trie"+version = "0.1.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a9b2228007eba4120145f785df0f6c92ea538f5a3635a612ecf4e334c8c1446d"+checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"[[package]]name = "unicode-xid"@@ -431,19 +522,19 @@ checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"[[package]]name = "wasm-bindgen"-version = "0.2.64"+version = "0.2.68"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6a634620115e4a229108b71bde263bb4220c483b3f07f5ba514ee8d15064c4c2"+checksum = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42"dependencies = [- "cfg-if",+ "cfg-if 0.1.10","wasm-bindgen-macro",][[package]]name = "wasm-bindgen-backend"-version = "0.2.64"+version = "0.2.68"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3e53963b583d18a5aa3aaae4b4c1cb535218246131ba22a71f05b518098571df"+checksum = "f22b422e2a757c35a73774860af8e112bff612ce6cb604224e8e47641a9e4f68"dependencies = ["bumpalo","lazy_static",@@ -456,9 +547,9 @@ dependencies = [[[package]]name = "wasm-bindgen-macro"-version = "0.2.64"+version = "0.2.68"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3fcfd5ef6eec85623b4c6e844293d4516470d8f19cd72d0d12246017eb9060b8"+checksum = "6b13312a745c08c469f0b292dd2fcd6411dba5f7160f593da6ef69b64e407038"dependencies = ["quote","wasm-bindgen-macro-support",@@ -466,9 +557,9 @@ dependencies = [[[package]]name = "wasm-bindgen-macro-support"-version = "0.2.64"+version = "0.2.68"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9adff9ee0e94b926ca81b57f57f86d5545cdcb1d259e21ec9bdd95b901754c75"+checksum = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe"dependencies = ["proc-macro2","quote",@@ -479,18 +570,6 @@ dependencies = [[[package]]name = "wasm-bindgen-shared"-version = "0.2.64"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7f7b90ea6c632dd06fd765d44542e234d5e63d9bb917ecd64d79778a13bd79ae"--[[package]]-name = "zopfli"-version = "0.4.0"+version = "0.2.68"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4079b79464426ade2a1b0177fb0ce8396ba6b4084267407e333573c666073964"-dependencies = [- "adler32",- "byteorder",- "crc",- "typed-arena",-]+checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307"diff --git a/codecs/oxipng/Cargo.toml b/codecs/oxipng/Cargo.tomlindex 86f1b609..73ef8261 100644--- a/codecs/oxipng/Cargo.toml+++ b/codecs/oxipng/Cargo.toml@@ -5,14 +5,23 @@ authors = ["Ingvar Stepanyan <[email protected]>"]edition = "2018"publish = false+[package.metadata.wasm-pack.profile.release]+wasm-opt = ["-O", "--no-validation"]+[lib]crate-type = ["cdylib"][dependencies]-oxipng = { version = "3.0.0", default-features = false }-wasm-bindgen = "0.2.64"-log = { version = "0.4", features = ["release_max_level_off"] }+oxipng = { version = "4.0.0", default-features = false, features = ["libdeflater"] }+wasm-bindgen = "0.2.68"+log = { version = "0.4.11", features = ["release_max_level_off"] }+rayon = { version = "1.5.0", optional = true }+once_cell = { version = "1.5.2", optional = true }+crossbeam-channel = { version = "0.5.0", optional = true }[profile.release]lto = trueopt-level = "s"++[features]+parallel = ["oxipng/parallel", "rayon", "crossbeam-channel", "once_cell"]diff --git a/codecs/oxipng/Dockerfile b/codecs/oxipng/Dockerfiledeleted file mode 100644index 5448d170..00000000--- a/codecs/oxipng/Dockerfile+++ /dev/null@@ -1,12 +0,0 @@-FROM rust-RUN rustup target add wasm32-unknown-unknown-RUN curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh--RUN mkdir /opt/wabt && \- curl -L https://github.com/WebAssembly/wabt/releases/download/1.0.17/wabt-1.0.17-ubuntu.tar.gz | tar -xzf - -C /opt/wabt --strip 1--RUN mkdir /opt/wasi-sdk && \- curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-11/wasi-sdk-11.0-linux.tar.gz | tar -xzf - -C /opt/wasi-sdk --strip 1--ENV PATH="/opt/wabt/bin:/opt/wasi-sdk/bin:${PATH}"-WORKDIR /srcdiff --git a/codecs/oxipng/build.sh b/codecs/oxipng/build.shnew file mode 100755index 00000000..3f7568df--- /dev/null+++ b/codecs/oxipng/build.sh@@ -0,0 +1,8 @@+#!/bin/bash++set -e++rm -rf pkg,{-parallel}+wasm-pack build --target web+RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' wasm-pack build -t web -d pkg-parallel -- -Z build-std=panic_abort,std --features=parallel+rm pkg{,-parallel}/.gitignorediff --git a/codecs/oxipng/package.json b/codecs/oxipng/package.jsonindex 552448fd..6d7a7bad 100644--- a/codecs/oxipng/package.json+++ b/codecs/oxipng/package.json@@ -1,6 +1,6 @@{"name": "oxipng","scripts": {- "build": "../build-rust.sh"+ "build": "RUST_IMG=rustlang/rust:8bb115b1090d ../build-rust.sh ./build.sh"}}diff --git a/codecs/oxipng/pkg-parallel/README.md b/codecs/oxipng/pkg-parallel/README.mdnew file mode 100644index 00000000..1381f3ed--- /dev/null+++ b/codecs/oxipng/pkg-parallel/README.md@@ -0,0 +1,5 @@+# OxiPNG++- Source: <https://github.com/shssoichiro/oxipng>+- Version: v3.0.0+- License: MITdiff --git a/codecs/oxipng/pkg-parallel/package.json b/codecs/oxipng/pkg-parallel/package.jsonnew file mode 100644index 00000000..33415cae--- /dev/null+++ b/codecs/oxipng/pkg-parallel/package.json@@ -0,0 +1,15 @@+{+ "name": "squoosh-oxipng",+ "collaborators": [+ "Ingvar Stepanyan <[email protected]>"+ ],+ "version": "0.1.0",+ "files": [+ "squoosh_oxipng_bg.wasm",+ "squoosh_oxipng.js",+ "squoosh_oxipng.d.ts"+ ],+ "module": "squoosh_oxipng.js",+ "types": "squoosh_oxipng.d.ts",+ "sideEffects": false+}diff --git a/codecs/oxipng/pkg-parallel/squoosh_oxipng.d.ts b/codecs/oxipng/pkg-parallel/squoosh_oxipng.d.tsnew file mode 100644index 00000000..e062e01a--- /dev/null+++ b/codecs/oxipng/pkg-parallel/squoosh_oxipng.d.ts@@ -0,0 +1,53 @@+/* tslint:disable */+/* eslint-disable */+/**+ * @param {Uint8Array} data+ * @param {number} level+ * @returns {Uint8Array}+ */+export function optimise(data: Uint8Array, level: number): Uint8Array;+/**+ * @param {number} num+ * @returns {any}+ */+export function worker_initializer(num: number): any;+/**+ */+export function start_main_thread(): void;+/**+ */+export function start_worker_thread(): void;++export type InitInput =+ | RequestInfo+ | URL+ | Response+ | BufferSource+ | WebAssembly.Module;++export interface InitOutput {+ readonly optimise: (a: number, b: number, c: number, d: number) => void;+ readonly malloc: (a: number) => number;+ readonly free: (a: number) => void;+ readonly worker_initializer: (a: number) => number;+ readonly start_main_thread: () => void;+ readonly start_worker_thread: () => void;+ readonly __wbindgen_export_0: WebAssembly.Memory;+ readonly __wbindgen_malloc: (a: number) => number;+ readonly __wbindgen_free: (a: number, b: number) => void;+ readonly __wbindgen_start: () => void;+}++/**+ * If `module_or_path` is {RequestInfo} or {URL}, makes a request and+ * for everything else, calls `WebAssembly.instantiate` directly.+ *+ * @param {InitInput | Promise<InitInput>} module_or_path+ * @param {WebAssembly.Memory} maybe_memory+ *+ * @returns {Promise<InitOutput>}+ */+export default function init(+ module_or_path?: InitInput | Promise<InitInput>,+ maybe_memory?: WebAssembly.Memory,+): Promise<InitOutput>;diff --git a/codecs/oxipng/pkg-parallel/squoosh_oxipng.js b/codecs/oxipng/pkg-parallel/squoosh_oxipng.jsnew file mode 100644index 00000000..63b7e03c--- /dev/null+++ b/codecs/oxipng/pkg-parallel/squoosh_oxipng.js@@ -0,0 +1,196 @@+let wasm;+let memory;++const heap = new Array(32).fill(undefined);++heap.push(undefined, null, true, false);++let heap_next = heap.length;++function addHeapObject(obj) {+ if (heap_next === heap.length) heap.push(heap.length + 1);+ const idx = heap_next;+ heap_next = heap[idx];++ heap[idx] = obj;+ return idx;+}++let cachedTextDecoder = new TextDecoder('utf-8', {+ ignoreBOM: true,+ fatal: true,+});++cachedTextDecoder.decode();++let cachegetUint8Memory0 = null;+function getUint8Memory0() {+ if (+ cachegetUint8Memory0 === null ||+ cachegetUint8Memory0.buffer !== wasm.__wbindgen_export_0.buffer+ ) {+ cachegetUint8Memory0 = new Uint8Array(wasm.__wbindgen_export_0.buffer);+ }+ return cachegetUint8Memory0;+}++function getStringFromWasm0(ptr, len) {+ return cachedTextDecoder.decode(getUint8Memory0().slice(ptr, ptr + len));+}++let WASM_VECTOR_LEN = 0;++function passArray8ToWasm0(arg, malloc) {+ const ptr = malloc(arg.length * 1);+ getUint8Memory0().set(arg, ptr / 1);+ WASM_VECTOR_LEN = arg.length;+ return ptr;+}++let cachegetInt32Memory0 = null;+function getInt32Memory0() {+ if (+ cachegetInt32Memory0 === null ||+ cachegetInt32Memory0.buffer !== wasm.__wbindgen_export_0.buffer+ ) {+ cachegetInt32Memory0 = new Int32Array(wasm.__wbindgen_export_0.buffer);+ }+ return cachegetInt32Memory0;+}++function getArrayU8FromWasm0(ptr, len) {+ return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);+}+/**+ * @param {Uint8Array} data+ * @param {number} level+ * @returns {Uint8Array}+ */+export function optimise(data, level) {+ try {+ const retptr = wasm.__wbindgen_export_1.value - 16;+ wasm.__wbindgen_export_1.value = retptr;+ var ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);+ var len0 = WASM_VECTOR_LEN;+ wasm.optimise(retptr, ptr0, len0, level);+ var r0 = getInt32Memory0()[retptr / 4 + 0];+ var r1 = getInt32Memory0()[retptr / 4 + 1];+ var v1 = getArrayU8FromWasm0(r0, r1).slice();+ wasm.__wbindgen_free(r0, r1 * 1);+ return v1;+ } finally {+ wasm.__wbindgen_export_1.value += 16;+ }+}++function getObject(idx) {+ return heap[idx];+}++function dropObject(idx) {+ if (idx < 36) return;+ heap[idx] = heap_next;+ heap_next = idx;+}++function takeObject(idx) {+ const ret = getObject(idx);+ dropObject(idx);+ return ret;+}+/**+ * @param {number} num+ * @returns {any}+ */+export function worker_initializer(num) {+ var ret = wasm.worker_initializer(num);+ return takeObject(ret);+}++/**+ */+export function start_main_thread() {+ wasm.start_main_thread();+}++/**+ */+export function start_worker_thread() {+ wasm.start_worker_thread();+}++async function load(module, imports, maybe_memory) {+ if (typeof Response === 'function' && module instanceof Response) {+ memory = imports.wbg.memory = new WebAssembly.Memory({+ initial: 17,+ maximum: 16384,+ shared: true,+ });+ if (typeof WebAssembly.instantiateStreaming === 'function') {+ try {+ return await WebAssembly.instantiateStreaming(module, imports);+ } catch (e) {+ if (module.headers.get('Content-Type') != 'application/wasm') {+ console.warn(+ '`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n',+ e,+ );+ } else {+ throw e;+ }+ }+ }++ const bytes = await module.arrayBuffer();+ return await WebAssembly.instantiate(bytes, imports);+ } else {+ memory = imports.wbg.memory = maybe_memory;+ const instance = await WebAssembly.instantiate(module, imports);++ if (instance instanceof WebAssembly.Instance) {+ return { instance, module };+ } else {+ return instance;+ }+ }+}++async function init(input, maybe_memory) {+ if (typeof input === 'undefined') {+ input = import.meta.url.replace(/\.js$/, '_bg.wasm');+ }+ const imports = {};+ imports.wbg = {};+ imports.wbg.__wbindgen_module = function () {+ var ret = init.__wbindgen_wasm_module;+ return addHeapObject(ret);+ };+ imports.wbg.__wbindgen_memory = function () {+ var ret = wasm.__wbindgen_export_0;+ return addHeapObject(ret);+ };+ imports.wbg.__wbg_of_6510501edc06d65e = function (arg0, arg1) {+ var ret = Array.of(takeObject(arg0), takeObject(arg1));+ return addHeapObject(ret);+ };+ imports.wbg.__wbindgen_throw = function (arg0, arg1) {+ throw new Error(getStringFromWasm0(arg0, arg1));+ };++ if (+ typeof input === 'string' ||+ (typeof Request === 'function' && input instanceof Request) ||+ (typeof URL === 'function' && input instanceof URL)+ ) {+ input = fetch(input);+ }++ const { instance, module } = await load(await input, imports, maybe_memory);++ wasm = instance.exports;+ init.__wbindgen_wasm_module = module;+ wasm.__wbindgen_start();+ return wasm;+}++export default init;diff --git a/codecs/oxipng/pkg-parallel/squoosh_oxipng_bg.wasm b/codecs/oxipng/pkg-parallel/squoosh_oxipng_bg.wasmnew file mode 100644index 00000000..93eff79bBinary files /dev/null and b/codecs/oxipng/pkg-parallel/squoosh_oxipng_bg.wasm differdiff --git a/codecs/oxipng/pkg-parallel/squoosh_oxipng_bg.wasm.d.ts b/codecs/oxipng/pkg-parallel/squoosh_oxipng_bg.wasm.d.tsnew file mode 100644index 00000000..e4189249--- /dev/null+++ b/codecs/oxipng/pkg-parallel/squoosh_oxipng_bg.wasm.d.ts@@ -0,0 +1,12 @@+/* tslint:disable */+/* eslint-disable */+export function optimise(a: number, b: number, c: number, d: number): void;+export function malloc(a: number): number;+export function free(a: number): void;+export function worker_initializer(a: number): number;+export function start_main_thread(): void;+export function start_worker_thread(): void;+export const __wbindgen_export_0: WebAssembly.Memory;+export function __wbindgen_malloc(a: number): number;+export function __wbindgen_free(a: number, b: number): void;+export function __wbindgen_start(): void;diff --git a/codecs/oxipng/pkg/README.md b/codecs/oxipng/pkg/README.mdnew file mode 100644index 00000000..1381f3ed--- /dev/null+++ b/codecs/oxipng/pkg/README.md@@ -0,0 +1,5 @@+# OxiPNG++- Source: <https://github.com/shssoichiro/oxipng>+- Version: v3.0.0+- License: MITdiff --git a/codecs/oxipng/pkg/squoosh_oxipng.d.ts b/codecs/oxipng/pkg/squoosh_oxipng.d.tsindex 1c95bae4..c8377d5a 100644--- a/codecs/oxipng/pkg/squoosh_oxipng.d.ts+++ b/codecs/oxipng/pkg/squoosh_oxipng.d.ts@@ -1,8 +1,36 @@/* tslint:disable *//* eslint-disable *//**-* @param {Uint8Array} data-* @param {number} level-* @returns {Uint8Array}-*/+ * @param {Uint8Array} data+ * @param {number} level+ * @returns {Uint8Array}+ */export function optimise(data: Uint8Array, level: number): Uint8Array;++export type InitInput =+ | RequestInfo+ | URL+ | Response+ | BufferSource+ | WebAssembly.Module;++export interface InitOutput {+ readonly memory: WebAssembly.Memory;+ readonly optimise: (a: number, b: number, c: number, d: number) => void;+ readonly malloc: (a: number) => number;+ readonly free: (a: number) => void;+ readonly __wbindgen_malloc: (a: number) => number;+ readonly __wbindgen_free: (a: number, b: number) => void;+}++/**+ * If `module_or_path` is {RequestInfo} or {URL}, makes a request and+ * for everything else, calls `WebAssembly.instantiate` directly.+ *+ * @param {InitInput | Promise<InitInput>} module_or_path+ *+ * @returns {Promise<InitOutput>}+ */+export default function init(+ module_or_path?: InitInput | Promise<InitInput>,+): Promise<InitOutput>;diff --git a/codecs/oxipng/pkg/squoosh_oxipng.js b/codecs/oxipng/pkg/squoosh_oxipng.jsindex 24abe864..ca755b63 100644--- a/codecs/oxipng/pkg/squoosh_oxipng.js+++ b/codecs/oxipng/pkg/squoosh_oxipng.js@@ -1,2 +1,126 @@-import * as wasm from "./squoosh_oxipng_bg.wasm";-export * from "./squoosh_oxipng_bg.js";\ No newline at end of file+let wasm;++let cachedTextDecoder = new TextDecoder('utf-8', {+ ignoreBOM: true,+ fatal: true,+});++cachedTextDecoder.decode();++let cachegetUint8Memory0 = null;+function getUint8Memory0() {+ if (+ cachegetUint8Memory0 === null ||+ cachegetUint8Memory0.buffer !== wasm.memory.buffer+ ) {+ cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);+ }+ return cachegetUint8Memory0;+}++function getStringFromWasm0(ptr, len) {+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));+}++let WASM_VECTOR_LEN = 0;++function passArray8ToWasm0(arg, malloc) {+ const ptr = malloc(arg.length * 1);+ getUint8Memory0().set(arg, ptr / 1);+ WASM_VECTOR_LEN = arg.length;+ return ptr;+}++let cachegetInt32Memory0 = null;+function getInt32Memory0() {+ if (+ cachegetInt32Memory0 === null ||+ cachegetInt32Memory0.buffer !== wasm.memory.buffer+ ) {+ cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);+ }+ return cachegetInt32Memory0;+}++function getArrayU8FromWasm0(ptr, len) {+ return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);+}+/**+ * @param {Uint8Array} data+ * @param {number} level+ * @returns {Uint8Array}+ */+export function optimise(data, level) {+ try {+ const retptr = wasm.__wbindgen_export_0.value - 16;+ wasm.__wbindgen_export_0.value = retptr;+ var ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);+ var len0 = WASM_VECTOR_LEN;+ wasm.optimise(retptr, ptr0, len0, level);+ var r0 = getInt32Memory0()[retptr / 4 + 0];+ var r1 = getInt32Memory0()[retptr / 4 + 1];+ var v1 = getArrayU8FromWasm0(r0, r1).slice();+ wasm.__wbindgen_free(r0, r1 * 1);+ return v1;+ } finally {+ wasm.__wbindgen_export_0.value += 16;+ }+}++async function load(module, imports) {+ if (typeof Response === 'function' && module instanceof Response) {+ if (typeof WebAssembly.instantiateStreaming === 'function') {+ try {+ return await WebAssembly.instantiateStreaming(module, imports);+ } catch (e) {+ if (module.headers.get('Content-Type') != 'application/wasm') {+ console.warn(+ '`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n',+ e,+ );+ } else {+ throw e;+ }+ }+ }++ const bytes = await module.arrayBuffer();+ return await WebAssembly.instantiate(bytes, imports);+ } else {+ const instance = await WebAssembly.instantiate(module, imports);++ if (instance instanceof WebAssembly.Instance) {+ return { instance, module };+ } else {+ return instance;+ }+ }+}++async function init(input) {+ if (typeof input === 'undefined') {+ input = import.meta.url.replace(/\.js$/, '_bg.wasm');+ }+ const imports = {};+ imports.wbg = {};+ imports.wbg.__wbindgen_throw = function (arg0, arg1) {+ throw new Error(getStringFromWasm0(arg0, arg1));+ };++ if (+ typeof input === 'string' ||+ (typeof Request === 'function' && input instanceof Request) ||+ (typeof URL === 'function' && input instanceof URL)+ ) {+ input = fetch(input);+ }++ const { instance, module } = await load(await input, imports);++ wasm = instance.exports;+ init.__wbindgen_wasm_module = module;++ return wasm;+}++export default init;diff --git a/codecs/oxipng/pkg/squoosh_oxipng_bg.js b/codecs/oxipng/pkg/squoosh_oxipng_bg.jsdeleted file mode 100644index 87154f54..00000000--- a/codecs/oxipng/pkg/squoosh_oxipng_bg.js+++ /dev/null@@ -1,60 +0,0 @@-import * as wasm from './squoosh_oxipng_bg.wasm';--const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;--let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });--cachedTextDecoder.decode();--let cachegetUint8Memory0 = null;-function getUint8Memory0() {- if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {- cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);- }- return cachegetUint8Memory0;-}--function getStringFromWasm0(ptr, len) {- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));-}--let WASM_VECTOR_LEN = 0;--function passArray8ToWasm0(arg, malloc) {- const ptr = malloc(arg.length * 1);- getUint8Memory0().set(arg, ptr / 1);- WASM_VECTOR_LEN = arg.length;- return ptr;-}--let cachegetInt32Memory0 = null;-function getInt32Memory0() {- if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {- cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);- }- return cachegetInt32Memory0;-}--function getArrayU8FromWasm0(ptr, len) {- return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);-}-/**-* @param {Uint8Array} data-* @param {number} level-* @returns {Uint8Array}-*/-export function optimise(data, level) {- var ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);- var len0 = WASM_VECTOR_LEN;- wasm.optimise(8, ptr0, len0, level);- var r0 = getInt32Memory0()[8 / 4 + 0];- var r1 = getInt32Memory0()[8 / 4 + 1];- var v1 = getArrayU8FromWasm0(r0, r1).slice();- wasm.__wbindgen_free(r0, r1 * 1);- return v1;-}--export const __wbindgen_throw = function(arg0, arg1) {- throw new Error(getStringFromWasm0(arg0, arg1));-};-diff --git a/codecs/oxipng/pkg/squoosh_oxipng_bg.wasm b/codecs/oxipng/pkg/squoosh_oxipng_bg.wasmindex 7b1309eb..e18ca4fb 100644Binary files a/codecs/oxipng/pkg/squoosh_oxipng_bg.wasm and b/codecs/oxipng/pkg/squoosh_oxipng_bg.wasm differdiff --git a/codecs/oxipng/pkg/squoosh_oxipng_bg.d.ts b/codecs/oxipng/pkg/squoosh_oxipng_bg.wasm.d.tssimilarity index 100%rename from codecs/oxipng/pkg/squoosh_oxipng_bg.d.tsrename to codecs/oxipng/pkg/squoosh_oxipng_bg.wasm.d.tsdiff --git a/codecs/oxipng/rust-toolchain b/codecs/oxipng/rust-toolchainnew file mode 100644index 00000000..bf867e0a--- /dev/null+++ b/codecs/oxipng/rust-toolchain@@ -0,0 +1 @@+nightlydiff --git a/codecs/oxipng/src/lib.rs b/codecs/oxipng/src/lib.rsindex c4ead1d2..b47fc75f 100644--- a/codecs/oxipng/src/lib.rs+++ b/codecs/oxipng/src/lib.rs@@ -1,9 +1,12 @@-mod malloc_shim;-use wasm_bindgen::prelude::*;use oxipng::AlphaOptim;-#[wasm_bindgen(catch)]+mod malloc_shim;++#[cfg(feature = "parallel")]+pub mod parallel;++#[wasm_bindgen]pub fn optimise(data: &[u8], level: u8) -> Vec<u8> {let mut options = oxipng::Options::from_preset(level);options.alphas.insert(AlphaOptim::Black);diff --git a/codecs/oxipng/src/parallel.rs b/codecs/oxipng/src/parallel.rsnew file mode 100644index 00000000..e5ced704--- /dev/null+++ b/codecs/oxipng/src/parallel.rs@@ -0,0 +1,61 @@+use crossbeam_channel::{Sender, Receiver, bounded};+use once_cell::sync::OnceCell;+use wasm_bindgen::prelude::*;+use wasm_bindgen::JsValue;++#[wasm_bindgen]+extern "C" {+ #[wasm_bindgen(js_namespace = Array, js_name = of)]+ fn array_of_2(a: JsValue, b: JsValue) -> JsValue;+}++// This is one of the parts that work around Chromium incorrectly implementing postMessage:+// https://bugs.chromium.org/p/chromium/issues/detail?id=1075645+//+// rayon::ThreadPoolBuilder (used below) executes spawn handler to populate the worker pool,+// and then blocks the current thread until each worker unblocks its (opaque) lock.+//+// Normally, we could use postMessage directly inside the spawn handler to+// post module + memory + threadPtr to each worker, and the block the current thread.+//+// However, that bug means that postMessage is currently delayed until the next event loop,+// which will never spin since we block the current thread, and so the other workers will+// never be able to unblock us.+//+// To work around this problem, we:+// 1) Expose `worker_initializer` that returns module + memory pair (without threadPtr)+// that workers can be initialised with to become native threads.+// JavaScript can postMessage this pair in advance, and asynchronously wait for workers+// to acknowledge the receipt.+// 2) Create a global communication channel on the Rust side using crossbeam.+// It will be used to send threadPtr to the pre-initialised workers+// instead of postMessage.+// 3) Provide a separate `start_main_thread` that expects all workers to be ready,+// and just uses the provided channel to send `threadPtr`s using the+// shared memory and blocks the current thread until they're all grabbed.+// 4) Provide a `worker_initializer` that is expected to be invoked from various workers,+// reads one `threadPtr` from the shared channel and starts running it.+static CHANNEL: OnceCell<(Sender<rayon::ThreadBuilder>, Receiver<rayon::ThreadBuilder>)> = OnceCell::new();++#[wasm_bindgen]+pub fn worker_initializer(num: usize) -> JsValue {+ CHANNEL.get_or_init(|| bounded(num));+ array_of_2(wasm_bindgen::module(), wasm_bindgen::memory())+}++#[wasm_bindgen]+pub fn start_main_thread() {+ let (sender, _) = CHANNEL.get().unwrap();++ rayon::ThreadPoolBuilder::new()+ .num_threads(sender.capacity().unwrap())+ .spawn_handler(|thread| Ok(sender.send(thread).unwrap_throw()))+ .build_global()+ .unwrap_throw()+}++#[wasm_bindgen]+pub fn start_worker_thread() {+ let (_, receiver) = CHANNEL.get().unwrap();+ receiver.recv().unwrap_throw().run()+}diff --git a/codecs/resize/pkg/squoosh_resize.d.ts b/codecs/resize/pkg/squoosh_resize.d.tsindex e984b053..a07bae4c 100644--- a/codecs/resize/pkg/squoosh_resize.d.ts+++ b/codecs/resize/pkg/squoosh_resize.d.ts@@ -1,14 +1,60 @@/* tslint:disable *//* eslint-disable *//**-* @param {Uint8Array} input_image-* @param {number} input_width-* @param {number} input_height-* @param {number} output_width-* @param {number} output_height-* @param {number} typ_idx-* @param {boolean} premultiply-* @param {boolean} color_space_conversion-* @returns {Uint8Array}-*/-export function resize(input_image: Uint8Array, input_width: number, input_height: number, output_width: number, output_height: number, typ_idx: number, premultiply: boolean, color_space_conversion: boolean): Uint8Array;+ * @param {Uint8Array} input_image+ * @param {number} input_width+ * @param {number} input_height+ * @param {number} output_width+ * @param {number} output_height+ * @param {number} typ_idx+ * @param {boolean} premultiply+ * @param {boolean} color_space_conversion+ * @returns {Uint8Array}+ */+export function resize(+ input_image: Uint8Array,+ input_width: number,+ input_height: number,+ output_width: number,+ output_height: number,+ typ_idx: number,+ premultiply: boolean,+ color_space_conversion: boolean,+): Uint8Array;++export type InitInput =+ | RequestInfo+ | URL+ | Response+ | BufferSource+ | WebAssembly.Module;++export interface InitOutput {+ readonly memory: WebAssembly.Memory;+ readonly resize: (+ a: number,+ b: number,+ c: number,+ d: number,+ e: number,+ f: number,+ g: number,+ h: number,+ i: number,+ j: number,+ ) => void;+ readonly __wbindgen_malloc: (a: number) => number;+ readonly __wbindgen_free: (a: number, b: number) => void;+}++/**+ * If `module_or_path` is {RequestInfo} or {URL}, makes a request and+ * for everything else, calls `WebAssembly.instantiate` directly.+ *+ * @param {InitInput | Promise<InitInput>} module_or_path+ *+ * @returns {Promise<InitOutput>}+ */+export default function init(+ module_or_path?: InitInput | Promise<InitInput>,+): Promise<InitOutput>;diff --git a/codecs/resize/pkg/squoosh_resize.js b/codecs/resize/pkg/squoosh_resize.jsindex ae32b04d..bfb298ba 100644--- a/codecs/resize/pkg/squoosh_resize.js+++ b/codecs/resize/pkg/squoosh_resize.js@@ -1,2 +1,131 @@-import * as wasm from "./squoosh_resize_bg.wasm";-export * from "./squoosh_resize_bg.js";\ No newline at end of file+let wasm;++let cachegetUint8Memory0 = null;+function getUint8Memory0() {+ if (+ cachegetUint8Memory0 === null ||+ cachegetUint8Memory0.buffer !== wasm.memory.buffer+ ) {+ cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);+ }+ return cachegetUint8Memory0;+}++let WASM_VECTOR_LEN = 0;++function passArray8ToWasm0(arg, malloc) {+ const ptr = malloc(arg.length * 1);+ getUint8Memory0().set(arg, ptr / 1);+ WASM_VECTOR_LEN = arg.length;+ return ptr;+}++let cachegetInt32Memory0 = null;+function getInt32Memory0() {+ if (+ cachegetInt32Memory0 === null ||+ cachegetInt32Memory0.buffer !== wasm.memory.buffer+ ) {+ cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);+ }+ return cachegetInt32Memory0;+}++function getArrayU8FromWasm0(ptr, len) {+ return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);+}+/**+ * @param {Uint8Array} input_image+ * @param {number} input_width+ * @param {number} input_height+ * @param {number} output_width+ * @param {number} output_height+ * @param {number} typ_idx+ * @param {boolean} premultiply+ * @param {boolean} color_space_conversion+ * @returns {Uint8Array}+ */+export function resize(+ input_image,+ input_width,+ input_height,+ output_width,+ output_height,+ typ_idx,+ premultiply,+ color_space_conversion,+) {+ var ptr0 = passArray8ToWasm0(input_image, wasm.__wbindgen_malloc);+ var len0 = WASM_VECTOR_LEN;+ wasm.resize(+ 8,+ ptr0,+ len0,+ input_width,+ input_height,+ output_width,+ output_height,+ typ_idx,+ premultiply,+ color_space_conversion,+ );+ var r0 = getInt32Memory0()[8 / 4 + 0];+ var r1 = getInt32Memory0()[8 / 4 + 1];+ var v1 = getArrayU8FromWasm0(r0, r1).slice();+ wasm.__wbindgen_free(r0, r1 * 1);+ return v1;+}++async function load(module, imports) {+ if (typeof Response === 'function' && module instanceof Response) {+ if (typeof WebAssembly.instantiateStreaming === 'function') {+ try {+ return await WebAssembly.instantiateStreaming(module, imports);+ } catch (e) {+ if (module.headers.get('Content-Type') != 'application/wasm') {+ console.warn(+ '`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n',+ e,+ );+ } else {+ throw e;+ }+ }+ }++ const bytes = await module.arrayBuffer();+ return await WebAssembly.instantiate(bytes, imports);+ } else {+ const instance = await WebAssembly.instantiate(module, imports);++ if (instance instanceof WebAssembly.Instance) {+ return { instance, module };+ } else {+ return instance;+ }+ }+}++async function init(input) {+ if (typeof input === 'undefined') {+ input = import.meta.url.replace(/\.js$/, '_bg.wasm');+ }+ const imports = {};++ if (+ typeof input === 'string' ||+ (typeof Request === 'function' && input instanceof Request) ||+ (typeof URL === 'function' && input instanceof URL)+ ) {+ input = fetch(input);+ }++ const { instance, module } = await load(await input, imports);++ wasm = instance.exports;+ init.__wbindgen_wasm_module = module;++ return wasm;+}++export default init;diff --git a/codecs/resize/pkg/squoosh_resize_bg.js b/codecs/resize/pkg/squoosh_resize_bg.jsdeleted file mode 100644index bfbf2f9f..00000000--- a/codecs/resize/pkg/squoosh_resize_bg.js+++ /dev/null@@ -1,52 +0,0 @@-import * as wasm from './squoosh_resize_bg.wasm';--let cachegetUint8Memory0 = null;-function getUint8Memory0() {- if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {- cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);- }- return cachegetUint8Memory0;-}--let WASM_VECTOR_LEN = 0;--function passArray8ToWasm0(arg, malloc) {- const ptr = malloc(arg.length * 1);- getUint8Memory0().set(arg, ptr / 1);- WASM_VECTOR_LEN = arg.length;- return ptr;-}--let cachegetInt32Memory0 = null;-function getInt32Memory0() {- if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {- cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);- }- return cachegetInt32Memory0;-}--function getArrayU8FromWasm0(ptr, len) {- return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);-}-/**-* @param {Uint8Array} input_image-* @param {number} input_width-* @param {number} input_height-* @param {number} output_width-* @param {number} output_height-* @param {number} typ_idx-* @param {boolean} premultiply-* @param {boolean} color_space_conversion-* @returns {Uint8Array}-*/-export function resize(input_image, input_width, input_height, output_width, output_height, typ_idx, premultiply, color_space_conversion) {- var ptr0 = passArray8ToWasm0(input_image, wasm.__wbindgen_malloc);- var len0 = WASM_VECTOR_LEN;- wasm.resize(8, ptr0, len0, input_width, input_height, output_width, output_height, typ_idx, premultiply, color_space_conversion);- var r0 = getInt32Memory0()[8 / 4 + 0];- var r1 = getInt32Memory0()[8 / 4 + 1];- var v1 = getArrayU8FromWasm0(r0, r1).slice();- wasm.__wbindgen_free(r0, r1 * 1);- return v1;-}-diff --git a/codecs/resize/pkg/squoosh_resize_bg.wasm b/codecs/resize/pkg/squoosh_resize_bg.wasmindex 35425a77..f0d8264f 100644Binary files a/codecs/resize/pkg/squoosh_resize_bg.wasm and b/codecs/resize/pkg/squoosh_resize_bg.wasm differdiff --git a/codecs/rotate/rotate.wasm b/codecs/rotate/rotate.wasmindex a03bb89d..8c7122c9 100755Binary files a/codecs/rotate/rotate.wasm and b/codecs/rotate/rotate.wasm differdiff --git a/codecs/rust.Dockerfile b/codecs/rust.Dockerfileindex f21b0468..d0f89433 100644--- a/codecs/rust.Dockerfile+++ b/codecs/rust.Dockerfile@@ -1,9 +1,13 @@-FROM emscripten/emsdk:1.39.19 AS wasm-tools+ARG RUST_IMG=rust:1.47++FROM emscripten/emsdk:2.0.8 AS wasm-toolsWORKDIR /opt/wasm-toolsRUN wget -qO- https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-unknown-linux-musl.tar.gz | tar -xzf - --strip 1-FROM rust:1.44-stretch AS rust+FROM $RUST_IMG AS rust+ARG RUST_IMGRUN rustup target add wasm32-unknown-unknown+RUN if [[ $RUST_IMG = rustlang/rust:* ]] ; then rustup component add rust-src ; fiCOPY --from=wasm-tools /emsdk/upstream/bin/wasm-opt /emsdk/upstream/bin/clang /usr/local/bin/COPY --from=wasm-tools /emsdk/upstream/lib/ /usr/local/lib/COPY --from=wasm-tools /emsdk/upstream/emscripten/system/include/libc/ /wasm32/include/@@ -12,4 +16,4 @@ COPY --from=wasm-tools /opt/wasm-tools/wasm-pack /usr/local/cargo/bin/ENV CPATH="/wasm32/include"WORKDIR /src-CMD ["sh", "-c", "rm -rf pkg && wasm-pack build -- --verbose --locked && rm pkg/.gitignore"]+CMD ["sh", "-c", "rm -rf pkg && wasm-pack build --target web -- --verbose --locked && rm pkg/.gitignore"]diff --git a/codecs/webp/Makefile b/codecs/webp/Makefileindex 1b871179..5845e7f0 100644--- a/codecs/webp/Makefile+++ b/codecs/webp/Makefile@@ -1,4 +1,4 @@-CODEC_URL := https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.0.2.tar.gz+CODEC_URL := https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gzCODEC_DIR = node_modules/libwebpCODEC_OUT_RELATIVE = src/.libs/libwebp.aCODEC_OUT := $(addprefix $(CODEC_DIR)/, $(CODEC_OUT_RELATIVE))@@ -18,7 +18,9 @@ all: $(OUT_JS)--closure 1 \-s ALLOW_MEMORY_GROWTH=1 \-s MODULARIZE=1 \- -s 'EXPORT_NAME="$(basename $(@F))"' \+ -s TEXTDECODER=2 \+ -s ENVIRONMENT='worker' \+ -s EXPORT_ES6=1 \-o $@ \$+diff --git a/codecs/webp/dec/example.html b/codecs/webp/dec/example.htmlindex 46089934..64eb175f 100644--- a/codecs/webp/dec/example.html+++ b/codecs/webp/dec/example.html@@ -1,22 +1,20 @@<!doctype html><script src='webp_dec.js'></script><script>- const Module = webp_dec();-async function loadFile(src) {const resp = await fetch(src);return await resp.arrayBuffer();}- Module.onRuntimeInitialized = async _ => {- console.log('Version:', Module.version().toString(16));+ webp_dec().then(async module => {+ console.log('Version:', module.version().toString(16));const image = await loadFile('../../example.webp');- const imageData = Module.decode(image);+ const imageData = module.decode(image);const canvas = document.createElement('canvas');- canvas.width = result.width;- canvas.height = result.height;+ canvas.width = imageData.width;+ canvas.height = imageData.height;document.body.appendChild(canvas);const ctx = canvas.getContext('2d');ctx.putImageData(imageData, 0, 0);- };+ });</script>diff --git a/codecs/webp/dec/webp_dec.d.ts b/codecs/webp/dec/webp_dec.d.tsindex a26279d8..ff6a5974 100644--- a/codecs/webp/dec/webp_dec.d.ts+++ b/codecs/webp/dec/webp_dec.d.ts@@ -1,5 +1,7 @@-interface WebPModule extends EmscriptenWasm.Module {+export interface WebPModule extends EmscriptenWasm.Module {decode(data: BufferSource): ImageData | null;}-export default function(opts: EmscriptenWasm.ModuleOpts): WebPModule;+declare var moduleFactory: EmscriptenWasm.ModuleFactory<WebPModule>;++export default moduleFactory;diff --git a/codecs/webp/dec/webp_dec.js b/codecs/webp/dec/webp_dec.jsindex 0145beb2..4fe8fc48 100644--- a/codecs/webp/dec/webp_dec.js+++ b/codecs/webp/dec/webp_dec.js@@ -1,67 +1,1110 @@+var Module = (function () {+ var _scriptDir = import.meta.url;-var webp_dec = (function() {- var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;- if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;- return (-function(webp_dec) {- webp_dec = webp_dec || {};+ return function (Module) {+ Module = Module || {};+ var e;+ e || (e = typeof Module !== 'undefined' ? Module : {});+ var aa, r;+ e.ready = new Promise(function (a, b) {+ aa = a;+ r = b;+ });+ var t = {},+ u;+ for (u in e) e.hasOwnProperty(u) && (t[u] = e[u]);+ var v = '',+ ba;+ v = self.location.href;+ _scriptDir && (v = _scriptDir);+ 0 !== v.indexOf('blob:')+ ? (v = v.substr(0, v.lastIndexOf('/') + 1))+ : (v = '');+ ba = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var x = e.printErr || console.warn.bind(console);+ for (u in t) t.hasOwnProperty(u) && (e[u] = t[u]);+ t = null;+ var y;+ e.wasmBinary && (y = e.wasmBinary);+ var noExitRuntime;+ e.noExitRuntime && (noExitRuntime = e.noExitRuntime);+ 'object' !== typeof WebAssembly && z('no native wasm support detected');+ var A,+ ca = !1,+ da = new TextDecoder('utf8');+ function ea(a, b, c) {+ var d = C;+ if (0 < c) {+ c = b + c - 1;+ for (var f = 0; f < a.length; ++f) {+ var g = a.charCodeAt(f);+ if (55296 <= g && 57343 >= g) {+ var k = a.charCodeAt(++f);+ g = (65536 + ((g & 1023) << 10)) | (k & 1023);+ }+ if (127 >= g) {+ if (b >= c) break;+ d[b++] = g;+ } else {+ if (2047 >= g) {+ if (b + 1 >= c) break;+ d[b++] = 192 | (g >> 6);+ } else {+ if (65535 >= g) {+ if (b + 2 >= c) break;+ d[b++] = 224 | (g >> 12);+ } else {+ if (b + 3 >= c) break;+ d[b++] = 240 | (g >> 18);+ d[b++] = 128 | ((g >> 12) & 63);+ }+ d[b++] = 128 | ((g >> 6) & 63);+ }+ d[b++] = 128 | (g & 63);+ }+ }+ d[b] = 0;+ }+ }+ var fa = new TextDecoder('utf-16le');+ function ha(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && D[c]; ) ++c;+ return fa.decode(C.subarray(a, c << 1));+ }+ function ia(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var f = 0; f < c; ++f) (E[b >> 1] = a.charCodeAt(f)), (b += 2);+ E[b >> 1] = 0;+ return b - d;+ }+ function ja(a) {+ return 2 * a.length;+ }+ function ka(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var f = F[(a + 4 * c) >> 2];+ if (0 == f) break;+ ++c;+ 65536 <= f+ ? ((f -= 65536),+ (d += String.fromCharCode(55296 | (f >> 10), 56320 | (f & 1023))))+ : (d += String.fromCharCode(f));+ }+ return d;+ }+ function la(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var f = 0; f < a.length; ++f) {+ var g = a.charCodeAt(f);+ if (55296 <= g && 57343 >= g) {+ var k = a.charCodeAt(++f);+ g = (65536 + ((g & 1023) << 10)) | (k & 1023);+ }+ F[b >> 2] = g;+ b += 4;+ if (b + 4 > c) break;+ }+ F[b >> 2] = 0;+ return b - d;+ }+ function ma(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var G, na, C, E, D, F, H, oa, pa;+ function qa(a) {+ G = a;+ e.HEAP8 = na = new Int8Array(a);+ e.HEAP16 = E = new Int16Array(a);+ e.HEAP32 = F = new Int32Array(a);+ e.HEAPU8 = C = new Uint8Array(a);+ e.HEAPU16 = D = new Uint16Array(a);+ e.HEAPU32 = H = new Uint32Array(a);+ e.HEAPF32 = oa = new Float32Array(a);+ e.HEAPF64 = pa = new Float64Array(a);+ }+ var ra = e.INITIAL_MEMORY || 16777216;+ e.wasmMemory+ ? (A = e.wasmMemory)+ : (A = new WebAssembly.Memory({ initial: ra / 65536, maximum: 32768 }));+ A && (G = A.buffer);+ ra = G.byteLength;+ qa(G);+ var J,+ sa = [],+ ta = [],+ ua = [],+ va = [];+ function wa() {+ var a = e.preRun.shift();+ sa.unshift(a);+ }+ var K = 0,+ xa = null,+ M = null;+ e.preloadedImages = {};+ e.preloadedAudios = {};+ function z(a) {+ if (e.onAbort) e.onAbort(a);+ x(a);+ ca = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ r(a);+ throw a;+ }+ function ya() {+ var a = N;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var N = 'webp_dec.wasm';+ if (!ya()) {+ var za = N;+ N = e.locateFile ? e.locateFile(za, v) : v + za;+ }+ function Aa() {+ try {+ if (y) return new Uint8Array(y);+ if (ba) return ba(N);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ z(a);+ }+ }+ function Ba() {+ return y || 'function' !== typeof fetch+ ? Promise.resolve().then(Aa)+ : fetch(N, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + N + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Aa();+ });+ }+ function O(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(e);+ else {+ var c = b.G;+ 'number' === typeof c+ ? void 0 === b.C+ ? J.get(c)()+ : J.get(c)(b.C)+ : c(void 0 === b.C ? null : b.C);+ }+ }+ }+ function Ca(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var Da = void 0;+ function P(a) {+ for (var b = ''; C[a]; ) b += Da[C[a++]];+ return b;+ }+ var Q = {},+ R = {},+ S = {};+ function Ea(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Fa(a, b) {+ a = Ea(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function Ga(a) {+ var b = Error,+ c = Fa(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var Ha = void 0;+ function T(a) {+ throw new Ha(a);+ }+ var Ia = void 0;+ function Ja(a, b) {+ function c(h) {+ h = b(h);+ if (h.length !== d.length)+ throw new Ia('Mismatched type converter count');+ for (var p = 0; p < d.length; ++p) U(d[p], h[p]);+ }+ var d = [];+ d.forEach(function (h) {+ S[h] = a;+ });+ var f = Array(a.length),+ g = [],+ k = 0;+ a.forEach(function (h, p) {+ R.hasOwnProperty(h)+ ? (f[p] = R[h])+ : (g.push(h),+ Q.hasOwnProperty(h) || (Q[h] = []),+ Q[h].push(function () {+ f[p] = R[h];+ ++k;+ k === g.length && c(f);+ }));+ });+ 0 === g.length && c(f);+ }+ function U(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || T('type "' + d + '" must have a positive integer typeid pointer');+ if (R.hasOwnProperty(a)) {+ if (c.H) return;+ T("Cannot register type '" + d + "' twice");+ }+ R[a] = b;+ delete S[a];+ Q.hasOwnProperty(a) &&+ ((b = Q[a]),+ delete Q[a],+ b.forEach(function (f) {+ f();+ }));+ }+ var Ma = [],+ V = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Na(a) {+ 4 < a && 0 === --V[a].D && ((V[a] = void 0), Ma.push(a));+ }+ function W(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Ma.length ? Ma.pop() : V.length;+ V[b] = { D: 1, value: a };+ return b;+ }+ }+ function Oa(a) {+ return this.fromWireType(H[a >> 2]);+ }+ function Pa(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Qa(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(oa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(pa[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Ra(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Fa(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Sa(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Ta(a, b) {+ var c = e;+ if (void 0 === c[a].A) {+ var d = c[a];+ c[a] = function () {+ c[a].A.hasOwnProperty(arguments.length) ||+ T(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].A ++ ')!',+ );+ return c[a].A[arguments.length].apply(this, arguments);+ };+ c[a].A = [];+ c[a].A[d.F] = d;+ }+ }+ function Ua(a, b, c) {+ e.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== e[a].A && void 0 !== e[a].A[c])) &&+ T("Cannot register public name '" + a + "' twice"),+ Ta(a, a),+ e.hasOwnProperty(c) &&+ T(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (e[a].A[c] = b))+ : ((e[a] = b), void 0 !== c && (e[a].J = c));+ }+ function Va(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(F[(b >> 2) + d]);+ return c;+ }+ function Wa(a, b) {+ 0 <= a.indexOf('j') ||+ z('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var f;+ -1 != a.indexOf('j')+ ? (f =+ c && c.length+ ? e['dynCall_' + a].apply(null, [b].concat(c))+ : e['dynCall_' + a].call(null, b))+ : (f = J.get(b).apply(null, c));+ return f;+ };+ }+ function Xa(a, b) {+ a = P(a);+ var c = -1 != a.indexOf('j') ? Wa(a, b) : J.get(b);+ 'function' !== typeof c &&+ T('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var Ya = void 0;+ function Za(a) {+ a = $a(a);+ var b = P(a);+ X(a);+ return b;+ }+ function ab(a, b) {+ function c(g) {+ f[g] || R[g] || (S[g] ? S[g].forEach(c) : (d.push(g), (f[g] = !0)));+ }+ var d = [],+ f = {};+ b.forEach(c);+ throw new Ya(a + ': ' + d.map(Za).join([', ']));+ }+ function bb(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return na[d];+ }+ : function (d) {+ return C[d];+ };+ case 1:+ return c+ ? function (d) {+ return E[d >> 1];+ }+ : function (d) {+ return D[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return F[d >> 2];+ }+ : function (d) {+ return H[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var cb = {};+ function db() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function eb(a, b) {+ var c = R[a];+ void 0 === c && T(b + ' has unknown type ' + Za(a));+ return c;+ }+ for (var fb = {}, gb = Array(256), Y = 0; 256 > Y; ++Y)+ gb[Y] = String.fromCharCode(Y);+ Da = gb;+ Ha = e.BindingError = Ga('BindingError');+ Ia = e.InternalError = Ga('InternalError');+ e.count_emval_handles = function () {+ for (var a = 0, b = 5; b < V.length; ++b) void 0 !== V[b] && ++a;+ return a;+ };+ e.get_first_emval = function () {+ for (var a = 5; a < V.length; ++a) if (void 0 !== V[a]) return V[a];+ return null;+ };+ Ya = e.UnboundTypeError = Ga('UnboundTypeError');+ ta.push({+ G: function () {+ hb();+ },+ });+ var jb = {+ g: function () {},+ o: function (a, b, c, d, f) {+ var g = Ca(c);+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (k) {+ return !!k;+ },+ toWireType: function (k, h) {+ return h ? d : f;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (k) {+ if (1 === c) var h = na;+ else if (2 === c) h = E;+ else if (4 === c) h = F;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(h[k >> g]);+ },+ B: null,+ });+ },+ r: function (a, b) {+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (c) {+ var d = V[c].value;+ Na(c);+ return d;+ },+ toWireType: function (c, d) {+ return W(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Oa,+ B: null,+ });+ },+ n: function (a, b, c) {+ c = Ca(c);+ b = P(b);+ U(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, f) {+ if ('number' !== typeof f && 'boolean' !== typeof f)+ throw new TypeError(+ 'Cannot convert "' + Pa(f) + '" to ' + this.name,+ );+ return f;+ },+ argPackAdvance: 8,+ readValueFromPointer: Qa(b, c),+ B: null,+ });+ },+ j: function (a, b, c, d, f, g) {+ var k = Va(b, c);+ a = P(a);+ f = Xa(d, f);+ Ua(+ a,+ function () {+ ab('Cannot call ' + a + ' due to unbound types', k);+ },+ b - 1,+ );+ Ja(k, function (h) {+ var p = a,+ m = a;+ h = [h[0], null].concat(h.slice(1));+ var n = f,+ q = h.length;+ 2 > q &&+ T(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var w = null !== h[1] && !1, B = !1, l = 1; l < h.length; ++l)+ if (null !== h[l] && void 0 === h[l].B) {+ B = !0;+ break;+ }+ var Ka = 'void' !== h[0].name,+ I = '',+ L = '';+ for (l = 0; l < q - 2; ++l)+ (I += (0 !== l ? ', ' : '') + 'arg' + l),+ (L += (0 !== l ? ', ' : '') + 'arg' + l + 'Wired');+ m =+ 'return function ' ++ Ea(m) ++ '(' ++ I ++ ') {\nif (arguments.length !== ' ++ (q - 2) ++ ") {\nthrowBindingError('function " ++ m ++ " called with ' + arguments.length + ' arguments, expected " ++ (q - 2) ++ " args!');\n}\n";+ B && (m += 'var destructors = [];\n');+ var La = B ? 'destructors' : 'null';+ I = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ n = [T, n, g, Sa, h[0], h[1]];+ w &&+ (m += 'var thisWired = classParam.toWireType(' + La + ', this);\n');+ for (l = 0; l < q - 2; ++l)+ (m +=+ 'var arg' ++ l ++ 'Wired = argType' ++ l ++ '.toWireType(' ++ La ++ ', arg' ++ l ++ '); // ' ++ h[l + 2].name ++ '\n'),+ I.push('argType' + l),+ n.push(h[l + 2]);+ w && (L = 'thisWired' + (0 < L.length ? ', ' : '') + L);+ m +=+ (Ka ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < L.length ? ', ' : '') ++ L ++ ');\n';+ if (B) m += 'runDestructors(destructors);\n';+ else+ for (l = w ? 1 : 2; l < h.length; ++l)+ (q = 1 === l ? 'thisWired' : 'arg' + (l - 2) + 'Wired'),+ null !== h[l].B &&+ ((m += q + '_dtor(' + q + '); // ' + h[l].name + '\n'),+ I.push(q + '_dtor'),+ n.push(h[l].B));+ Ka && (m += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ I.push(m + '}\n');+ h = Ra(I).apply(null, n);+ l = b - 1;+ if (!e.hasOwnProperty(p))+ throw new Ia('Replacing nonexistant public symbol');+ void 0 !== e[p].A && void 0 !== l+ ? (e[p].A[l] = h)+ : ((e[p] = h), (e[p].F = l));+ return [];+ });+ },+ c: function (a, b, c, d, f) {+ function g(m) {+ return m;+ }+ b = P(b);+ -1 === f && (f = 4294967295);+ var k = Ca(c);+ if (0 === d) {+ var h = 32 - 8 * c;+ g = function (m) {+ return (m << h) >>> h;+ };+ }+ var p = -1 != b.indexOf('unsigned');+ U(a, {+ name: b,+ fromWireType: g,+ toWireType: function (m, n) {+ if ('number' !== typeof n && 'boolean' !== typeof n)+ throw new TypeError(+ 'Cannot convert "' + Pa(n) + '" to ' + this.name,+ );+ if (n < d || n > f)+ throw new TypeError(+ 'Passing a number "' ++ Pa(n) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ f ++ ']!',+ );+ return p ? n >>> 0 : n | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: bb(b, k, 0 !== d),+ B: null,+ });+ },+ b: function (a, b, c) {+ function d(g) {+ g >>= 2;+ var k = H;+ return new f(G, k[g + 1], k[g]);+ }+ var f = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = P(c);+ U(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { H: !0 },+ );+ },+ i: function (a, b) {+ b = P(b);+ var c = 'std::string' === b;+ U(a, {+ name: b,+ fromWireType: function (d) {+ var f = H[d >> 2];+ if (c)+ for (var g = d + 4, k = 0; k <= f; ++k) {+ var h = d + 4 + k;+ if (k == f || 0 == C[h]) {+ if (g) {+ for (var p = g + (h - g), m = g; !(m >= p) && C[m]; ) ++m;+ g = da.decode(C.subarray(g, m));+ } else g = '';+ if (void 0 === n) var n = g;+ else (n += String.fromCharCode(0)), (n += g);+ g = h + 1;+ }+ }+ else {+ n = Array(f);+ for (k = 0; k < f; ++k) n[k] = String.fromCharCode(C[d + 4 + k]);+ n = n.join('');+ }+ X(d);+ return n;+ },+ toWireType: function (d, f) {+ f instanceof ArrayBuffer && (f = new Uint8Array(f));+ var g = 'string' === typeof f;+ g ||+ f instanceof Uint8Array ||+ f instanceof Uint8ClampedArray ||+ f instanceof Int8Array ||+ T('Cannot pass non-string to std::string');+ var k = (c && g+ ? function () {+ for (var m = 0, n = 0; n < f.length; ++n) {+ var q = f.charCodeAt(n);+ 55296 <= q &&+ 57343 >= q &&+ (q =+ (65536 + ((q & 1023) << 10)) |+ (f.charCodeAt(++n) & 1023));+ 127 >= q+ ? ++m+ : (m = 2047 >= q ? m + 2 : 65535 >= q ? m + 3 : m + 4);+ }+ return m;+ }+ : function () {+ return f.length;+ })(),+ h = ib(4 + k + 1);+ H[h >> 2] = k;+ if (c && g) ea(f, h + 4, k + 1);+ else if (g)+ for (g = 0; g < k; ++g) {+ var p = f.charCodeAt(g);+ 255 < p &&+ (X(h),+ T('String has UTF-16 code units that do not fit in 8 bits'));+ C[h + 4 + g] = p;+ }+ else for (g = 0; g < k; ++g) C[h + 4 + g] = f[g];+ null !== d && d.push(X, h);+ return h;+ },+ argPackAdvance: 8,+ readValueFromPointer: Oa,+ B: function (d) {+ X(d);+ },+ });+ },+ h: function (a, b, c) {+ c = P(c);+ if (2 === b) {+ var d = ha;+ var f = ia;+ var g = ja;+ var k = function () {+ return D;+ };+ var h = 1;+ } else+ 4 === b &&+ ((d = ka),+ (f = la),+ (g = ma),+ (k = function () {+ return H;+ }),+ (h = 2));+ U(a, {+ name: c,+ fromWireType: function (p) {+ for (var m = H[p >> 2], n = k(), q, w = p + 4, B = 0; B <= m; ++B) {+ var l = p + 4 + B * b;+ if (B == m || 0 == n[l >> h])+ (w = d(w, l - w)),+ void 0 === q+ ? (q = w)+ : ((q += String.fromCharCode(0)), (q += w)),+ (w = l + b);+ }+ X(p);+ return q;+ },+ toWireType: function (p, m) {+ 'string' !== typeof m &&+ T('Cannot pass non-string to C++ string type ' + c);+ var n = g(m),+ q = ib(4 + n + b);+ H[q >> 2] = n >> h;+ f(m, q + 4, n + b);+ null !== p && p.push(X, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Oa,+ B: function (p) {+ X(p);+ },+ });+ },+ p: function (a, b) {+ b = P(b);+ U(a, {+ I: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ e: Na,+ f: function (a) {+ if (0 === a) return W(db());+ var b = cb[a];+ a = void 0 === b ? P(a) : b;+ return W(db()[a]);+ },+ k: function (a) {+ 4 < a && (V[a].D += 1);+ },+ l: function (a, b, c, d) {+ a || T('Cannot use deleted val. handle = ' + a);+ a = V[a].value;+ var f = fb[b];+ if (!f) {+ f = '';+ for (var g = 0; g < b; ++g) f += (0 !== g ? ', ' : '') + 'arg' + g;+ var k =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (g = 0; g < b; ++g)+ k +=+ 'var argType' ++ g ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ g ++ '], "parameter ' ++ g ++ '");\nvar arg' ++ g ++ ' = argType' ++ g ++ '.readValueFromPointer(args);\nargs += argType' ++ g ++ "['argPackAdvance'];\n";+ f = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ k ++ ('var obj = new constructor(' ++ f ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(eb, e, W);+ fb[b] = f;+ }+ return f(a, c, d);+ },+ m: function () {+ z();+ },+ q: function (a, b, c) {+ C.copyWithin(a, b, b + c);+ },+ d: function (a) {+ a >>>= 0;+ var b = C.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ A.grow((Math.min(2147483648, d) - G.byteLength + 65535) >>> 16);+ qa(A.buffer);+ var f = 1;+ break a;+ } catch (g) {}+ f = void 0;+ }+ if (f) return !0;+ }+ return !1;+ },+ a: A,+ };+ (function () {+ function a(f) {+ e.asm = f.exports;+ J = e.asm.s;+ K--;+ e.monitorRunDependencies && e.monitorRunDependencies(K);+ 0 == K &&+ (null !== xa && (clearInterval(xa), (xa = null)),+ M && ((f = M), (M = null), f()));+ }+ function b(f) {+ a(f.instance);+ }+ function c(f) {+ return Ba()+ .then(function (g) {+ return WebAssembly.instantiate(g, d);+ })+ .then(f, function (g) {+ x('failed to asynchronously prepare wasm: ' + g);+ z(g);+ });+ }+ var d = { a: jb };+ K++;+ e.monitorRunDependencies && e.monitorRunDependencies(K);+ if (e.instantiateWasm)+ try {+ return e.instantiateWasm(d, a);+ } catch (f) {+ return (+ x('Module.instantiateWasm callback failed with error: ' + f), !1+ );+ }+ (function () {+ return y ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ ya() ||+ 'function' !== typeof fetch+ ? c(b)+ : fetch(N, { credentials: 'same-origin' }).then(function (f) {+ return WebAssembly.instantiateStreaming(f, d).then(b, function (+ g,+ ) {+ x('wasm streaming compile failed: ' + g);+ x('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })().catch(r);+ return {};+ })();+ var hb = (e.___wasm_call_ctors = function () {+ return (hb = e.___wasm_call_ctors = e.asm.t).apply(null, arguments);+ }),+ ib = (e._malloc = function () {+ return (ib = e._malloc = e.asm.u).apply(null, arguments);+ }),+ X = (e._free = function () {+ return (X = e._free = e.asm.v).apply(null, arguments);+ }),+ $a = (e.___getTypeName = function () {+ return ($a = e.___getTypeName = e.asm.w).apply(null, arguments);+ });+ e.___embind_register_native_and_builtin_types = function () {+ return (e.___embind_register_native_and_builtin_types = e.asm.x).apply(+ null,+ arguments,+ );+ };+ var Z;+ M = function kb() {+ Z || lb();+ Z || (M = kb);+ };+ function lb() {+ function a() {+ if (!Z && ((Z = !0), (e.calledRun = !0), !ca)) {+ O(ta);+ O(ua);+ aa(e);+ if (e.onRuntimeInitialized) e.onRuntimeInitialized();+ if (e.postRun)+ for (+ 'function' == typeof e.postRun && (e.postRun = [e.postRun]);+ e.postRun.length;-var d;d||(d=typeof webp_dec !== 'undefined' ? webp_dec : {});var aa,ba;d.ready=new Promise(function(a,b){aa=a;ba=b});var t={},u;for(u in d)d.hasOwnProperty(u)&&(t[u]=d[u]);var v=!1,w=!1,ca=!1,da=!1;v="object"===typeof window;w="function"===typeof importScripts;ca="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;da=!v&&!ca&&!w;var x="",z,A,ea,fa;-if(ca)x=w?require("path").dirname(x)+"/":__dirname+"/",z=function(a,b){ea||(ea=require("fs"));fa||(fa=require("path"));a=fa.normalize(a);return ea.readFileSync(a,b?null:"utf8")},A=function(a){a=z(a,!0);a.buffer||(a=new Uint8Array(a));a.buffer||B("Assertion failed: undefined");return a},1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),process.on("uncaughtException",function(a){throw a;}),process.on("unhandledRejection",B),d.inspect=function(){return"[Emscripten Module object]"};-else if(da)"undefined"!=typeof read&&(z=function(a){return read(a)}),A=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");"object"===typeof a||B("Assertion failed: undefined");return a},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(v||w)w?x=self.location.href:document.currentScript&&(x=document.currentScript.src),_scriptDir&&-(x=_scriptDir),0!==x.indexOf("blob:")?x=x.substr(0,x.lastIndexOf("/")+1):x="",z=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText},w&&(A=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});d.print||console.log.bind(console);var C=d.printErr||console.warn.bind(console);for(u in t)t.hasOwnProperty(u)&&(d[u]=t[u]);t=null;var D;d.wasmBinary&&(D=d.wasmBinary);var noExitRuntime;-d.noExitRuntime&&(noExitRuntime=d.noExitRuntime);"object"!==typeof WebAssembly&&B("no native wasm support detected");var E,ha=new WebAssembly.Table({initial:130,maximum:130,element:"anyfunc"}),ia=!1,ja="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;-function ka(a,b,c){var e=F;if(0<c){c=b+c-1;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var n=a.charCodeAt(++f);g=65536+((g&1023)<<10)|n&1023}if(127>=g){if(b>=c)break;e[b++]=g}else{if(2047>=g){if(b+1>=c)break;e[b++]=192|g>>6}else{if(65535>=g){if(b+2>=c)break;e[b++]=224|g>>12}else{if(b+3>=c)break;e[b++]=240|g>>18;e[b++]=128|g>>12&63}e[b++]=128|g>>6&63}e[b++]=128|g&63}}e[b]=0}}var la="undefined"!==typeof TextDecoder?new TextDecoder("utf-16le"):void 0;-function ma(a,b){var c=a>>1;for(var e=c+b/2;!(c>=e)&&G[c];)++c;c<<=1;if(32<c-a&&la)return la.decode(F.subarray(a,c));c=0;for(e="";;){var f=H[a+2*c>>1];if(0==f||c==b/2)return e;++c;e+=String.fromCharCode(f)}}function na(a,b,c){void 0===c&&(c=2147483647);if(2>c)return 0;c-=2;var e=b;c=c<2*a.length?c/2:a.length;for(var f=0;f<c;++f)H[b>>1]=a.charCodeAt(f),b+=2;H[b>>1]=0;return b-e}function oa(a){return 2*a.length}-function pa(a,b){for(var c=0,e="";!(c>=b/4);){var f=I[a+4*c>>2];if(0==f)break;++c;65536<=f?(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023)):e+=String.fromCharCode(f)}return e}function qa(a,b,c){void 0===c&&(c=2147483647);if(4>c)return 0;var e=b;c=e+c-4;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var n=a.charCodeAt(++f);g=65536+((g&1023)<<10)|n&1023}I[b>>2]=g;b+=4;if(b+4>c)break}I[b>>2]=0;return b-e}-function ra(a){for(var b=0,c=0;c<a.length;++c){var e=a.charCodeAt(c);55296<=e&&57343>=e&&++c;b+=4}return b}var J,sa,F,H,G,I,L,ta,ua;function va(a){J=a;d.HEAP8=sa=new Int8Array(a);d.HEAP16=H=new Int16Array(a);d.HEAP32=I=new Int32Array(a);d.HEAPU8=F=new Uint8Array(a);d.HEAPU16=G=new Uint16Array(a);d.HEAPU32=L=new Uint32Array(a);d.HEAPF32=ta=new Float32Array(a);d.HEAPF64=ua=new Float64Array(a)}var wa=d.INITIAL_MEMORY||16777216;d.wasmMemory?E=d.wasmMemory:E=new WebAssembly.Memory({initial:wa/65536,maximum:32768});-E&&(J=E.buffer);wa=J.byteLength;va(J);I[3260]=5256080;function M(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b(d);else{var c=b.P;"number"===typeof c?void 0===b.L?d.dynCall_v(c):d.dynCall_vi(c,b.L):c(void 0===b.L?null:b.L)}}}var xa=[],ya=[],za=[],Aa=[];function Ba(){var a=d.preRun.shift();xa.unshift(a)}var N=0,Ca=null,P=null;d.preloadedImages={};d.preloadedAudios={};-function B(a){if(d.onAbort)d.onAbort(a);C(a);ia=!0;a=new WebAssembly.RuntimeError("abort("+a+"). Build with -s ASSERTIONS=1 for more info.");ba(a);throw a;}function Da(a){var b=Q;return String.prototype.startsWith?b.startsWith(a):0===b.indexOf(a)}function Ea(){return Da("data:application/octet-stream;base64,")}var Q="webp_dec.wasm";if(!Ea()){var Fa=Q;Q=d.locateFile?d.locateFile(Fa,x):x+Fa}-function Ga(){try{if(D)return new Uint8Array(D);if(A)return A(Q);throw"both async and sync fetching of the wasm failed";}catch(a){B(a)}}function Ha(){return D||!v&&!w||"function"!==typeof fetch||Da("file://")?new Promise(function(a){a(Ga())}):fetch(Q,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+Q+"'";return a.arrayBuffer()}).catch(function(){return Ga()})}ya.push({P:function(){Ia()}});function R(){return 0<R.N}-function Ja(a){switch(a){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+a);}}var Ka=void 0;function S(a){for(var b="";F[a];)b+=Ka[F[a++]];return b}var T={},U={},V={};function La(a){if(void 0===a)return"_unknown";a=a.replace(/[^a-zA-Z0-9_]/g,"$");var b=a.charCodeAt(0);return 48<=b&&57>=b?"_"+a:a}-function Ma(a,b){a=La(a);return(new Function("body","return function "+a+'() {\n "use strict"; return body.apply(this, arguments);\n};\n'))(b)}function Na(a){var b=Error,c=Ma(a,function(e){this.name=a;this.message=e;e=Error(e).stack;void 0!==e&&(this.stack=this.toString()+"\n"+e.replace(/^Error(:[^\n]*)?\n/,""))});c.prototype=Object.create(b.prototype);c.prototype.constructor=c;c.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message};return c}-var Oa=void 0;function W(a){throw new Oa(a);}var Pa=void 0;function Qa(a,b){function c(k){k=b(k);if(k.length!==e.length)throw new Pa("Mismatched type converter count");for(var h=0;h<e.length;++h)X(e[h],k[h])}var e=[];e.forEach(function(k){V[k]=a});var f=Array(a.length),g=[],n=0;a.forEach(function(k,h){U.hasOwnProperty(k)?f[h]=U[k]:(g.push(k),T.hasOwnProperty(k)||(T[k]=[]),T[k].push(function(){f[h]=U[k];++n;n===g.length&&c(f)}))});0===g.length&&c(f)}-function X(a,b,c){c=c||{};if(!("argPackAdvance"in b))throw new TypeError("registerType registeredInstance requires argPackAdvance");var e=b.name;a||W('type "'+e+'" must have a positive integer typeid pointer');if(U.hasOwnProperty(a)){if(c.R)return;W("Cannot register type '"+e+"' twice")}U[a]=b;delete V[a];T.hasOwnProperty(a)&&(b=T[a],delete T[a],b.forEach(function(f){f()}))}var Ra=[],Y=[{},{value:void 0},{value:null},{value:!0},{value:!1}];-function Sa(a){4<a&&0===--Y[a].M&&(Y[a]=void 0,Ra.push(a))}function Ta(a){switch(a){case void 0:return 1;case null:return 2;case !0:return 3;case !1:return 4;default:var b=Ra.length?Ra.pop():Y.length;Y[b]={M:1,value:a};return b}}function Wa(a){return this.fromWireType(L[a>>2])}function Xa(a){if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a}-function Ya(a,b){switch(b){case 2:return function(c){return this.fromWireType(ta[c>>2])};case 3:return function(c){return this.fromWireType(ua[c>>3])};default:throw new TypeError("Unknown float type: "+a);}}function Za(a){var b=Function;if(!(b instanceof Function))throw new TypeError("new_ called with constructor type "+typeof b+" which is not a function");var c=Ma(b.name||"unknownFunctionName",function(){});c.prototype=b.prototype;c=new c;a=b.apply(c,a);return a instanceof Object?a:c}-function $a(a){for(;a.length;){var b=a.pop();a.pop()(b)}}function ab(a,b){var c=d;if(void 0===c[a].J){var e=c[a];c[a]=function(){c[a].J.hasOwnProperty(arguments.length)||W("Function '"+b+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+c[a].J+")!");return c[a].J[arguments.length].apply(this,arguments)};c[a].J=[];c[a].J[e.O]=e}}-function bb(a,b,c){d.hasOwnProperty(a)?((void 0===c||void 0!==d[a].J&&void 0!==d[a].J[c])&&W("Cannot register public name '"+a+"' twice"),ab(a,a),d.hasOwnProperty(c)&&W("Cannot register multiple overloads of a function with the same number of arguments ("+c+")!"),d[a].J[c]=b):(d[a]=b,void 0!==c&&(d[a].T=c))}function cb(a,b){for(var c=[],e=0;e<a;e++)c.push(I[(b>>2)+e]);return c}-function db(a,b){a=S(a);var c=d["dynCall_"+a];for(var e=[],f=1;f<a.length;++f)e.push("a"+f);f="return function dynCall_"+(a+"_"+b)+"("+e.join(", ")+") {\n";f+=" return dynCall(rawFunction"+(e.length?", ":"")+e.join(", ")+");\n";c=(new Function("dynCall","rawFunction",f+"};\n"))(c,b);"function"!==typeof c&&W("unknown function pointer with signature "+a+": "+b);return c}var eb=void 0;function fb(a){a=gb(a);var b=S(a);Z(a);return b}-function hb(a,b){function c(g){f[g]||U[g]||(V[g]?V[g].forEach(c):(e.push(g),f[g]=!0))}var e=[],f={};b.forEach(c);throw new eb(a+": "+e.map(fb).join([", "]));}function ib(a,b,c){switch(b){case 0:return c?function(e){return sa[e]}:function(e){return F[e]};case 1:return c?function(e){return H[e>>1]}:function(e){return G[e>>1]};case 2:return c?function(e){return I[e>>2]}:function(e){return L[e>>2]};default:throw new TypeError("Unknown integer type: "+a);}}var jb={};-function kb(){return"object"===typeof globalThis?globalThis:Function("return this")()}function lb(a,b){var c=U[a];void 0===c&&W(b+" has unknown type "+fb(a));return c}for(var mb={},nb=Array(256),ob=0;256>ob;++ob)nb[ob]=String.fromCharCode(ob);Ka=nb;Oa=d.BindingError=Na("BindingError");Pa=d.InternalError=Na("InternalError");d.count_emval_handles=function(){for(var a=0,b=5;b<Y.length;++b)void 0!==Y[b]&&++a;return a};-d.get_first_emval=function(){for(var a=5;a<Y.length;++a)if(void 0!==Y[a])return Y[a];return null};eb=d.UnboundTypeError=Na("UnboundTypeError");-var qb={m:function(a){return pb(a)},i:function(){},l:function(a){"uncaught_exception"in R?R.N++:R.N=1;throw a;},j:function(a,b,c,e,f){var g=Ja(c);b=S(b);X(a,{name:b,fromWireType:function(n){return!!n},toWireType:function(n,k){return k?e:f},argPackAdvance:8,readValueFromPointer:function(n){if(1===c)var k=sa;else if(2===c)k=H;else if(4===c)k=I;else throw new TypeError("Unknown boolean type size: "+b);return this.fromWireType(k[n>>g])},K:null})},r:function(a,b){b=S(b);X(a,{name:b,fromWireType:function(c){var e=-Y[c].value;Sa(c);return e},toWireType:function(c,e){return Ta(e)},argPackAdvance:8,readValueFromPointer:Wa,K:null})},g:function(a,b,c){c=Ja(c);b=S(b);X(a,{name:b,fromWireType:function(e){return e},toWireType:function(e,f){if("number"!==typeof f&&"boolean"!==typeof f)throw new TypeError('Cannot convert "'+Xa(f)+'" to '+this.name);return f},argPackAdvance:8,readValueFromPointer:Ya(b,c),K:null})},e:function(a,b,c,e,f,g){var n=cb(b,c);a=S(a);f=db(e,f);bb(a,function(){hb("Cannot call "+a+" due to unbound types",-n)},b-1);Qa(n,function(k){var h=[k[0],null].concat(k.slice(1)),p=k=a,q=f,m=h.length;2>m&&W("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var r=null!==h[1]&&!1,y=!1,l=1;l<h.length;++l)if(null!==h[l]&&void 0===h[l].K){y=!0;break}var Ua="void"!==h[0].name,K="",O="";for(l=0;l<m-2;++l)K+=(0!==l?", ":"")+"arg"+l,O+=(0!==l?", ":"")+"arg"+l+"Wired";p="return function "+La(p)+"("+K+") {\nif (arguments.length !== "+(m-2)+") {\nthrowBindingError('function "+p+" called with ' + arguments.length + ' arguments, expected "+-(m-2)+" args!');\n}\n";y&&(p+="var destructors = [];\n");var Va=y?"destructors":"null";K="throwBindingError invoker fn runDestructors retType classParam".split(" ");q=[W,q,g,$a,h[0],h[1]];r&&(p+="var thisWired = classParam.toWireType("+Va+", this);\n");for(l=0;l<m-2;++l)p+="var arg"+l+"Wired = argType"+l+".toWireType("+Va+", arg"+l+"); // "+h[l+2].name+"\n",K.push("argType"+l),q.push(h[l+2]);r&&(O="thisWired"+(0<O.length?", ":"")+O);p+=(Ua?"var rv = ":"")+"invoker(fn"+(0<O.length?", ":"")+O+");\n";-if(y)p+="runDestructors(destructors);\n";else for(l=r?1:2;l<h.length;++l)m=1===l?"thisWired":"arg"+(l-2)+"Wired",null!==h[l].K&&(p+=m+"_dtor("+m+"); // "+h[l].name+"\n",K.push(m+"_dtor"),q.push(h[l].K));Ua&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n");K.push(p+"}\n");h=Za(K).apply(null,q);l=b-1;if(!d.hasOwnProperty(k))throw new Pa("Replacing nonexistant public symbol");void 0!==d[k].J&&void 0!==l?d[k].J[l]=h:(d[k]=h,d[k].O=l);return[]})},b:function(a,b,c,e,f){function g(p){return p}b=-S(b);-1===f&&(f=4294967295);var n=Ja(c);if(0===e){var k=32-8*c;g=function(p){return p<<k>>>k}}var h=-1!=b.indexOf("unsigned");X(a,{name:b,fromWireType:g,toWireType:function(p,q){if("number"!==typeof q&&"boolean"!==typeof q)throw new TypeError('Cannot convert "'+Xa(q)+'" to '+this.name);if(q<e||q>f)throw new TypeError('Passing a number "'+Xa(q)+'" from JS side to C/C++ side to an argument of type "'+b+'", which is outside the valid range ['+e+", "+f+"]!");return h?q>>>0:q|0},argPackAdvance:8,readValueFromPointer:ib(b,-n,0!==e),K:null})},a:function(a,b,c){function e(g){g>>=2;var n=L;return new f(J,n[g+1],n[g])}var f=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];c=S(c);X(a,{name:c,fromWireType:e,argPackAdvance:8,readValueFromPointer:e},{R:!0})},h:function(a,b){b=S(b);var c="std::string"===b;X(a,{name:b,fromWireType:function(e){var f=L[e>>2];if(c)for(var g=e+4,n=0;n<=f;++n){var k=e+4+n;if(n==f||0==F[k]){if(g){var h=g;var p=F,q=h+(k-g);for(g=h;p[g]&&!(g>=q);)++g;-if(16<g-h&&p.subarray&&ja)h=ja.decode(p.subarray(h,g));else{for(q="";h<g;){var m=p[h++];if(m&128){var r=p[h++]&63;if(192==(m&224))q+=String.fromCharCode((m&31)<<6|r);else{var y=p[h++]&63;m=224==(m&240)?(m&15)<<12|r<<6|y:(m&7)<<18|r<<12|y<<6|p[h++]&63;65536>m?q+=String.fromCharCode(m):(m-=65536,q+=String.fromCharCode(55296|m>>10,56320|m&1023))}}else q+=String.fromCharCode(m)}h=q}}else h="";if(void 0===l)var l=h;else l+=String.fromCharCode(0),l+=h;g=k+1}}else{l=Array(f);for(n=0;n<f;++n)l[n]=String.fromCharCode(F[e+-4+n]);l=l.join("")}Z(e);return l},toWireType:function(e,f){f instanceof ArrayBuffer&&(f=new Uint8Array(f));var g="string"===typeof f;g||f instanceof Uint8Array||f instanceof Uint8ClampedArray||f instanceof Int8Array||W("Cannot pass non-string to std::string");var n=(c&&g?function(){for(var p=0,q=0;q<f.length;++q){var m=f.charCodeAt(q);55296<=m&&57343>=m&&(m=65536+((m&1023)<<10)|f.charCodeAt(++q)&1023);127>=m?++p:p=2047>=m?p+2:65535>=m?p+3:p+4}return p}:function(){return f.length})(),k=pb(4+n+1);L[k>>-2]=n;if(c&&g)ka(f,k+4,n+1);else if(g)for(g=0;g<n;++g){var h=f.charCodeAt(g);255<h&&(Z(k),W("String has UTF-16 code units that do not fit in 8 bits"));F[k+4+g]=h}else for(g=0;g<n;++g)F[k+4+g]=f[g];null!==e&&e.push(Z,k);return k},argPackAdvance:8,readValueFromPointer:Wa,K:function(e){Z(e)}})},d:function(a,b,c){c=S(c);if(2===b){var e=ma;var f=na;var g=oa;var n=function(){return G};var k=1}else 4===b&&(e=pa,f=qa,g=ra,n=function(){return L},k=2);X(a,{name:c,fromWireType:function(h){for(var p=L[h>>2],q=-n(),m,r=h+4,y=0;y<=p;++y){var l=h+4+y*b;if(y==p||0==q[l>>k])r=e(r,l-r),void 0===m?m=r:(m+=String.fromCharCode(0),m+=r),r=l+b}Z(h);return m},toWireType:function(h,p){"string"!==typeof p&&W("Cannot pass non-string to C++ string type "+c);var q=g(p),m=pb(4+q+b);L[m>>2]=q>>k;f(p,m+4,q+b);null!==h&&h.push(Z,m);return m},argPackAdvance:8,readValueFromPointer:Wa,K:function(h){Z(h)}})},k:function(a,b){b=S(b);X(a,{S:!0,name:b,argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},o:Sa,s:function(a){if(0===-a)return Ta(kb());var b=jb[a];a=void 0===b?S(a):b;return Ta(kb()[a])},n:function(a){4<a&&(Y[a].M+=1)},f:function(a,b,c,e){a||W("Cannot use deleted val. handle = "+a);a=Y[a].value;var f=mb[b];if(!f){f="";for(var g=0;g<b;++g)f+=(0!==g?", ":"")+"arg"+g;var n="return function emval_allocator_"+b+"(constructor, argTypes, args) {\n";for(g=0;g<b;++g)n+="var argType"+g+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+g+'], "parameter '+g+'");\nvar arg'+g+" = argType"+g+".readValueFromPointer(args);\nargs += argType"+-g+"['argPackAdvance'];\n";f=(new Function("requireRegisteredType","Module","__emval_register",n+("var obj = new constructor("+f+");\nreturn __emval_register(obj);\n}\n")))(lb,d,Ta);mb[b]=f}return f(a,c,e)},q:function(){B()},p:function(a,b,c){F.copyWithin(a,b,b+c)},c:function(a){a>>>=0;var b=F.length;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var e=b*(1+.2/c);e=Math.min(e,a+100663296);e=Math.max(16777216,a,e);0<e%65536&&(e+=65536-e%65536);a:{try{E.grow(Math.min(2147483648,e)-J.byteLength+65535>>>-16);va(E.buffer);var f=1;break a}catch(g){}f=void 0}if(f)return!0}return!1},memory:E,table:ha};-(function(){function a(f){d.asm=f.exports;N--;d.monitorRunDependencies&&d.monitorRunDependencies(N);0==N&&(null!==Ca&&(clearInterval(Ca),Ca=null),P&&(f=P,P=null,f()))}function b(f){a(f.instance)}function c(f){return Ha().then(function(g){return WebAssembly.instantiate(g,e)}).then(f,function(g){C("failed to asynchronously prepare wasm: "+g);B(g)})}var e={a:qb};N++;d.monitorRunDependencies&&d.monitorRunDependencies(N);if(d.instantiateWasm)try{return d.instantiateWasm(e,a)}catch(f){return C("Module.instantiateWasm callback failed with error: "+-f),!1}(function(){if(D||"function"!==typeof WebAssembly.instantiateStreaming||Ea()||Da("file://")||"function"!==typeof fetch)return c(b);fetch(Q,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,e).then(b,function(g){C("wasm streaming compile failed: "+g);C("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})();-var Ia=d.___wasm_call_ctors=function(){return(Ia=d.___wasm_call_ctors=d.asm.t).apply(null,arguments)},pb=d._malloc=function(){return(pb=d._malloc=d.asm.u).apply(null,arguments)},Z=d._free=function(){return(Z=d._free=d.asm.v).apply(null,arguments)},gb=d.___getTypeName=function(){return(gb=d.___getTypeName=d.asm.w).apply(null,arguments)};d.___embind_register_native_and_builtin_types=function(){return(d.___embind_register_native_and_builtin_types=d.asm.x).apply(null,arguments)};-d.dynCall_iii=function(){return(d.dynCall_iii=d.asm.y).apply(null,arguments)};d.dynCall_vii=function(){return(d.dynCall_vii=d.asm.z).apply(null,arguments)};d.dynCall_ii=function(){return(d.dynCall_ii=d.asm.A).apply(null,arguments)};d.dynCall_i=function(){return(d.dynCall_i=d.asm.B).apply(null,arguments)};d.dynCall_vi=function(){return(d.dynCall_vi=d.asm.C).apply(null,arguments)};d.dynCall_iiii=function(){return(d.dynCall_iiii=d.asm.D).apply(null,arguments)};-d.dynCall_iiiiiii=function(){return(d.dynCall_iiiiiii=d.asm.E).apply(null,arguments)};d.dynCall_viiii=function(){return(d.dynCall_viiii=d.asm.F).apply(null,arguments)};d.dynCall_viiiii=function(){return(d.dynCall_viiiii=d.asm.G).apply(null,arguments)};d.dynCall_viiiiiiiii=function(){return(d.dynCall_viiiiiiiii=d.asm.H).apply(null,arguments)};d.dynCall_viiiiii=function(){return(d.dynCall_viiiiii=d.asm.I).apply(null,arguments)};var rb;P=function sb(){rb||tb();rb||(P=sb)};-function tb(){function a(){if(!rb&&(rb=!0,d.calledRun=!0,!ia)){M(ya);M(za);aa(d);if(d.onRuntimeInitialized)d.onRuntimeInitialized();if(d.postRun)for("function"==typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;){var b=d.postRun.shift();Aa.unshift(b)}M(Aa)}}if(!(0<N)){if(d.preRun)for("function"==typeof d.preRun&&(d.preRun=[d.preRun]);d.preRun.length;)Ba();M(xa);0<N||(d.setStatus?(d.setStatus("Running..."),setTimeout(function(){setTimeout(function(){d.setStatus("")},1);a()},1)):a())}}-d.run=tb;if(d.preInit)for("function"==typeof d.preInit&&(d.preInit=[d.preInit]);0<d.preInit.length;)d.preInit.pop()();noExitRuntime=!0;tb();+ ) {+ var b = e.postRun.shift();+ va.unshift(b);+ }+ O(va);+ }+ }+ if (!(0 < K)) {+ if (e.preRun)+ for (+ 'function' == typeof e.preRun && (e.preRun = [e.preRun]);+ e.preRun.length;+ )+ wa();+ O(sa);+ 0 < K ||+ (e.setStatus+ ? (e.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ e.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ e.run = lb;+ if (e.preInit)+ for (+ 'function' == typeof e.preInit && (e.preInit = [e.preInit]);+ 0 < e.preInit.length;- return webp_dec.ready-}-);+ )+ e.preInit.pop()();+ noExitRuntime = !0;+ lb();++ return Module.ready;+ };})();-if (typeof exports === 'object' && typeof module === 'object')- module.exports = webp_dec;- else if (typeof define === 'function' && define['amd'])- define([], function() { return webp_dec; });- else if (typeof exports === 'object')- exports["webp_dec"] = webp_dec;-\ No newline at end of file+export default Module;diff --git a/codecs/webp/dec/webp_dec.wasm b/codecs/webp/dec/webp_dec.wasmold mode 100644new mode 100755index 90e97548..8aec0c35Binary files a/codecs/webp/dec/webp_dec.wasm and b/codecs/webp/dec/webp_dec.wasm differdiff --git a/codecs/webp/enc/example.html b/codecs/webp/enc/example.htmlindex d868a9de..2b0c8c4a 100644--- a/codecs/webp/enc/example.html+++ b/codecs/webp/enc/example.html@@ -1,8 +1,6 @@<!doctype html><script src='webp_enc.js'></script><script>- const module = webp_enc();-async function loadImage(src) {// Load imageconst img = document.createElement('img');@@ -17,7 +15,7 @@return ctx.getImageData(0, 0, img.width, img.height);}- module.onRuntimeInitialized = async _ => {+ webp_enc().then(async module => {console.log('Version:', module.version().toString(16));const image = await loadImage('../../example.png');const result = module.encode(image.data, image.width, image.height, {@@ -56,5 +54,5 @@const img = document.createElement('img');img.src = blobURL;document.body.appendChild(img);- };+ });</script>diff --git a/codecs/webp/enc/webp_enc.d.ts b/codecs/webp/enc/webp_enc.d.tsindex 106290db..28019151 100644--- a/codecs/webp/enc/webp_enc.d.ts+++ b/codecs/webp/enc/webp_enc.d.ts@@ -1,7 +1,42 @@-import { EncodeOptions } from '../../../src/codecs/webp/encoder-meta';+export interface EncodeOptions {+ quality: number;+ target_size: number;+ target_PSNR: number;+ method: number;+ sns_strength: number;+ filter_strength: number;+ filter_sharpness: number;+ filter_type: number;+ partitions: number;+ segments: number;+ pass: number;+ show_compressed: number;+ preprocessing: number;+ autofilter: number;+ partition_limit: number;+ alpha_compression: number;+ alpha_filtering: number;+ alpha_quality: number;+ lossless: number;+ exact: number;+ image_hint: number;+ emulate_jpeg_size: number;+ thread_level: number;+ low_memory: number;+ near_lossless: number;+ use_delta_palette: number;+ use_sharp_yuv: number;+}-interface WebPModule extends EmscriptenWasm.Module {- encode(data: BufferSource, width: number, height: number, options: EncodeOptions): Uint8Array | null;+export interface WebPModule extends EmscriptenWasm.Module {+ encode(+ data: BufferSource,+ width: number,+ height: number,+ options: EncodeOptions,+ ): Uint8Array | null;}-export default function(opts: EmscriptenWasm.ModuleOpts): WebPModule;+declare var moduleFactory: EmscriptenWasm.ModuleFactory<WebPModule>;++export default moduleFactory;diff --git a/codecs/webp/enc/webp_enc.js b/codecs/webp/enc/webp_enc.jsindex ad2e4f0c..dbaa1762 100644--- a/codecs/webp/enc/webp_enc.js+++ b/codecs/webp/enc/webp_enc.js@@ -1,72 +1,1235 @@+var Module = (function () {+ var _scriptDir = import.meta.url;-var webp_enc = (function() {- var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;- if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;- return (-function(webp_enc) {- webp_enc = webp_enc || {};+ return function (Module) {+ Module = Module || {};+ var g;+ g || (g = typeof Module !== 'undefined' ? Module : {});+ var aa, ba;+ g.ready = new Promise(function (a, b) {+ aa = a;+ ba = b;+ });+ var r = {},+ t;+ for (t in g) g.hasOwnProperty(t) && (r[t] = g[t]);+ var u = '',+ ca;+ u = self.location.href;+ _scriptDir && (u = _scriptDir);+ 0 !== u.indexOf('blob:')+ ? (u = u.substr(0, u.lastIndexOf('/') + 1))+ : (u = '');+ ca = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var v = g.printErr || console.warn.bind(console);+ for (t in r) r.hasOwnProperty(t) && (g[t] = r[t]);+ r = null;+ var z;+ g.wasmBinary && (z = g.wasmBinary);+ var noExitRuntime;+ g.noExitRuntime && (noExitRuntime = g.noExitRuntime);+ 'object' !== typeof WebAssembly && A('no native wasm support detected');+ var B,+ da = !1,+ fa = new TextDecoder('utf8');+ function ha(a, b, c) {+ var d = C;+ if (0 < c) {+ c = b + c - 1;+ for (var e = 0; e < a.length; ++e) {+ var f = a.charCodeAt(e);+ if (55296 <= f && 57343 >= f) {+ var k = a.charCodeAt(++e);+ f = (65536 + ((f & 1023) << 10)) | (k & 1023);+ }+ if (127 >= f) {+ if (b >= c) break;+ d[b++] = f;+ } else {+ if (2047 >= f) {+ if (b + 1 >= c) break;+ d[b++] = 192 | (f >> 6);+ } else {+ if (65535 >= f) {+ if (b + 2 >= c) break;+ d[b++] = 224 | (f >> 12);+ } else {+ if (b + 3 >= c) break;+ d[b++] = 240 | (f >> 18);+ d[b++] = 128 | ((f >> 12) & 63);+ }+ d[b++] = 128 | ((f >> 6) & 63);+ }+ d[b++] = 128 | (f & 63);+ }+ }+ d[b] = 0;+ }+ }+ var ia = new TextDecoder('utf-16le');+ function ja(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && D[c]; ) ++c;+ return ia.decode(C.subarray(a, c << 1));+ }+ function ka(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var e = 0; e < c; ++e) (E[b >> 1] = a.charCodeAt(e)), (b += 2);+ E[b >> 1] = 0;+ return b - d;+ }+ function la(a) {+ return 2 * a.length;+ }+ function ma(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var e = G[(a + 4 * c) >> 2];+ if (0 == e) break;+ ++c;+ 65536 <= e+ ? ((e -= 65536),+ (d += String.fromCharCode(55296 | (e >> 10), 56320 | (e & 1023))))+ : (d += String.fromCharCode(e));+ }+ return d;+ }+ function na(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var e = 0; e < a.length; ++e) {+ var f = a.charCodeAt(e);+ if (55296 <= f && 57343 >= f) {+ var k = a.charCodeAt(++e);+ f = (65536 + ((f & 1023) << 10)) | (k & 1023);+ }+ G[b >> 2] = f;+ b += 4;+ if (b + 4 > c) break;+ }+ G[b >> 2] = 0;+ return b - d;+ }+ function oa(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var H, I, C, E, D, G, J, pa, qa;+ function ra(a) {+ H = a;+ g.HEAP8 = I = new Int8Array(a);+ g.HEAP16 = E = new Int16Array(a);+ g.HEAP32 = G = new Int32Array(a);+ g.HEAPU8 = C = new Uint8Array(a);+ g.HEAPU16 = D = new Uint16Array(a);+ g.HEAPU32 = J = new Uint32Array(a);+ g.HEAPF32 = pa = new Float32Array(a);+ g.HEAPF64 = qa = new Float64Array(a);+ }+ var sa = g.INITIAL_MEMORY || 16777216;+ g.wasmMemory+ ? (B = g.wasmMemory)+ : (B = new WebAssembly.Memory({ initial: sa / 65536, maximum: 32768 }));+ B && (H = B.buffer);+ sa = H.byteLength;+ ra(H);+ var K,+ ta = [],+ ua = [],+ va = [],+ wa = [];+ function xa() {+ var a = g.preRun.shift();+ ta.unshift(a);+ }+ var L = 0,+ ya = null,+ M = null;+ g.preloadedImages = {};+ g.preloadedAudios = {};+ function A(a) {+ if (g.onAbort) g.onAbort(a);+ v(a);+ da = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ ba(a);+ throw a;+ }+ function za() {+ var a = N;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var N = 'webp_enc.wasm';+ if (!za()) {+ var Aa = N;+ N = g.locateFile ? g.locateFile(Aa, u) : u + Aa;+ }+ function Ba() {+ try {+ if (z) return new Uint8Array(z);+ if (ca) return ca(N);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ A(a);+ }+ }+ function Ca() {+ return z || 'function' !== typeof fetch+ ? Promise.resolve().then(Ba)+ : fetch(N, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + N + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Ba();+ });+ }+ function O(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(g);+ else {+ var c = b.L;+ 'number' === typeof c+ ? void 0 === b.G+ ? K.get(c)()+ : K.get(c)(b.G)+ : c(void 0 === b.G ? null : b.G);+ }+ }+ }+ var P = {};+ function Da(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Q(a) {+ return this.fromWireType(J[a >> 2]);+ }+ var R = {},+ S = {},+ Ea = {};+ function Fa(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Ga(a, b) {+ a = Fa(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function Ha(a) {+ var b = Error,+ c = Ga(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var Ia = void 0;+ function Ja(a, b, c) {+ function d(h) {+ h = c(h);+ if (h.length !== a.length)+ throw new Ia('Mismatched type converter count');+ for (var n = 0; n < a.length; ++n) T(a[n], h[n]);+ }+ a.forEach(function (h) {+ Ea[h] = b;+ });+ var e = Array(b.length),+ f = [],+ k = 0;+ b.forEach(function (h, n) {+ S.hasOwnProperty(h)+ ? (e[n] = S[h])+ : (f.push(h),+ R.hasOwnProperty(h) || (R[h] = []),+ R[h].push(function () {+ e[n] = S[h];+ ++k;+ k === f.length && d(e);+ }));+ });+ 0 === f.length && d(e);+ }+ function Ka(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var La = void 0;+ function U(a) {+ for (var b = ''; C[a]; ) b += La[C[a++]];+ return b;+ }+ var Ma = void 0;+ function W(a) {+ throw new Ma(a);+ }+ function T(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || W('type "' + d + '" must have a positive integer typeid pointer');+ if (S.hasOwnProperty(a)) {+ if (c.P) return;+ W("Cannot register type '" + d + "' twice");+ }+ S[a] = b;+ delete Ea[a];+ R.hasOwnProperty(a) &&+ ((b = R[a]),+ delete R[a],+ b.forEach(function (e) {+ e();+ }));+ }+ var Na = [],+ X = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Oa(a) {+ 4 < a && 0 === --X[a].H && ((X[a] = void 0), Na.push(a));+ }+ function Pa(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Na.length ? Na.pop() : X.length;+ X[b] = { H: 1, value: a };+ return b;+ }+ }+ function Qa(a, b) {+ var c = g;+ if (void 0 === c[a].F) {+ var d = c[a];+ c[a] = function () {+ c[a].F.hasOwnProperty(arguments.length) ||+ W(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].F ++ ')!',+ );+ return c[a].F[arguments.length].apply(this, arguments);+ };+ c[a].F = [];+ c[a].F[d.J] = d;+ }+ }+ function Ra(a, b, c) {+ g.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== g[a].F && void 0 !== g[a].F[c])) &&+ W("Cannot register public name '" + a + "' twice"),+ Qa(a, a),+ g.hasOwnProperty(c) &&+ W(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (g[a].F[c] = b))+ : ((g[a] = b), void 0 !== c && (g[a].X = c));+ }+ function Sa(a, b, c) {+ switch (b) {+ case 0:+ return function (d) {+ return this.fromWireType((c ? I : C)[d]);+ };+ case 1:+ return function (d) {+ return this.fromWireType((c ? E : D)[d >> 1]);+ };+ case 2:+ return function (d) {+ return this.fromWireType((c ? G : J)[d >> 2]);+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ function Ta(a) {+ a = Ua(a);+ var b = U(a);+ Y(a);+ return b;+ }+ function Va(a, b) {+ var c = S[a];+ void 0 === c && W(b + ' has unknown type ' + Ta(a));+ return c;+ }+ function Wa(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Xa(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(pa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(qa[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Ya(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Ga(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Za(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(G[(b >> 2) + d]);+ return c;+ }+ function $a(a, b) {+ 0 <= a.indexOf('j') ||+ A('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var e;+ -1 != a.indexOf('j')+ ? (e =+ c && c.length+ ? g['dynCall_' + a].apply(null, [b].concat(c))+ : g['dynCall_' + a].call(null, b))+ : (e = K.get(b).apply(null, c));+ return e;+ };+ }+ function Z(a, b) {+ a = U(a);+ var c = -1 != a.indexOf('j') ? $a(a, b) : K.get(b);+ 'function' !== typeof c &&+ W('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var ab = void 0;+ function bb(a, b) {+ function c(f) {+ e[f] || S[f] || (Ea[f] ? Ea[f].forEach(c) : (d.push(f), (e[f] = !0)));+ }+ var d = [],+ e = {};+ b.forEach(c);+ throw new ab(a + ': ' + d.map(Ta).join([', ']));+ }+ function cb(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return I[d];+ }+ : function (d) {+ return C[d];+ };+ case 1:+ return c+ ? function (d) {+ return E[d >> 1];+ }+ : function (d) {+ return D[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return G[d >> 2];+ }+ : function (d) {+ return J[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var db = {};+ function eb() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ var fb = {};+ Ia = g.InternalError = Ha('InternalError');+ for (var gb = Array(256), hb = 0; 256 > hb; ++hb)+ gb[hb] = String.fromCharCode(hb);+ La = gb;+ Ma = g.BindingError = Ha('BindingError');+ g.count_emval_handles = function () {+ for (var a = 0, b = 5; b < X.length; ++b) void 0 !== X[b] && ++a;+ return a;+ };+ g.get_first_emval = function () {+ for (var a = 5; a < X.length; ++a) if (void 0 !== X[a]) return X[a];+ return null;+ };+ ab = g.UnboundTypeError = Ha('UnboundTypeError');+ ua.push({+ L: function () {+ ib();+ },+ });+ var kb = {+ w: function () {},+ m: function (a) {+ var b = P[a];+ delete P[a];+ var c = b.R,+ d = b.S,+ e = b.I,+ f = e+ .map(function (k) {+ return k.O;+ })+ .concat(+ e.map(function (k) {+ return k.U;+ }),+ );+ Ja([a], f, function (k) {+ var h = {};+ e.forEach(function (n, l) {+ var m = k[l],+ q = n.M,+ w = n.N,+ x = k[l + e.length],+ p = n.T,+ ea = n.V;+ h[n.K] = {+ read: function (y) {+ return m.fromWireType(q(w, y));+ },+ write: function (y, F) {+ var V = [];+ p(ea, y, x.toWireType(V, F));+ Da(V);+ },+ };+ });+ return [+ {+ name: b.name,+ fromWireType: function (n) {+ var l = {},+ m;+ for (m in h) l[m] = h[m].read(n);+ d(n);+ return l;+ },+ toWireType: function (n, l) {+ for (var m in h)+ if (!(m in l))+ throw new TypeError('Missing field: "' + m + '"');+ var q = c();+ for (m in h) h[m].write(q, l[m]);+ null !== n && n.push(d, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Q,+ D: d,+ },+ ];+ });+ },+ s: function (a, b, c, d, e) {+ var f = Ka(c);+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (k) {+ return !!k;+ },+ toWireType: function (k, h) {+ return h ? d : e;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (k) {+ if (1 === c) var h = I;+ else if (2 === c) h = E;+ else if (4 === c) h = G;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(h[k >> f]);+ },+ D: null,+ });+ },+ r: function (a, b) {+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (c) {+ var d = X[c].value;+ Oa(c);+ return d;+ },+ toWireType: function (c, d) {+ return Pa(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Q,+ D: null,+ });+ },+ o: function (a, b, c, d) {+ function e() {}+ c = Ka(c);+ b = U(b);+ e.values = {};+ T(a, {+ name: b,+ constructor: e,+ fromWireType: function (f) {+ return this.constructor.values[f];+ },+ toWireType: function (f, k) {+ return k.value;+ },+ argPackAdvance: 8,+ readValueFromPointer: Sa(b, c, d),+ D: null,+ });+ Ra(b, e);+ },+ f: function (a, b, c) {+ var d = Va(a, 'enum');+ b = U(b);+ a = d.constructor;+ d = Object.create(d.constructor.prototype, {+ value: { value: c },+ constructor: { value: Ga(d.name + '_' + b, function () {}) },+ });+ a.values[c] = d;+ a[b] = d;+ },+ k: function (a, b, c) {+ c = Ka(c);+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, e) {+ if ('number' !== typeof e && 'boolean' !== typeof e)+ throw new TypeError(+ 'Cannot convert "' + Wa(e) + '" to ' + this.name,+ );+ return e;+ },+ argPackAdvance: 8,+ readValueFromPointer: Xa(b, c),+ D: null,+ });+ },+ i: function (a, b, c, d, e, f) {+ var k = Za(b, c);+ a = U(a);+ e = Z(d, e);+ Ra(+ a,+ function () {+ bb('Cannot call ' + a + ' due to unbound types', k);+ },+ b - 1,+ );+ Ja([], k, function (h) {+ var n = a,+ l = a;+ h = [h[0], null].concat(h.slice(1));+ var m = e,+ q = h.length;+ 2 > q &&+ W(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var w = null !== h[1] && !1, x = !1, p = 1; p < h.length; ++p)+ if (null !== h[p] && void 0 === h[p].D) {+ x = !0;+ break;+ }+ var ea = 'void' !== h[0].name,+ y = '',+ F = '';+ for (p = 0; p < q - 2; ++p)+ (y += (0 !== p ? ', ' : '') + 'arg' + p),+ (F += (0 !== p ? ', ' : '') + 'arg' + p + 'Wired');+ l =+ 'return function ' ++ Fa(l) ++ '(' ++ y ++ ') {\nif (arguments.length !== ' ++ (q - 2) ++ ") {\nthrowBindingError('function " ++ l ++ " called with ' + arguments.length + ' arguments, expected " ++ (q - 2) ++ " args!');\n}\n";+ x && (l += 'var destructors = [];\n');+ var V = x ? 'destructors' : 'null';+ y = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ m = [W, m, f, Da, h[0], h[1]];+ w &&+ (l += 'var thisWired = classParam.toWireType(' + V + ', this);\n');+ for (p = 0; p < q - 2; ++p)+ (l +=+ 'var arg' ++ p ++ 'Wired = argType' ++ p ++ '.toWireType(' ++ V ++ ', arg' ++ p ++ '); // ' ++ h[p + 2].name ++ '\n'),+ y.push('argType' + p),+ m.push(h[p + 2]);+ w && (F = 'thisWired' + (0 < F.length ? ', ' : '') + F);+ l +=+ (ea ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < F.length ? ', ' : '') ++ F ++ ');\n';+ if (x) l += 'runDestructors(destructors);\n';+ else+ for (p = w ? 1 : 2; p < h.length; ++p)+ (q = 1 === p ? 'thisWired' : 'arg' + (p - 2) + 'Wired'),+ null !== h[p].D &&+ ((l += q + '_dtor(' + q + '); // ' + h[p].name + '\n'),+ y.push(q + '_dtor'),+ m.push(h[p].D));+ ea && (l += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ y.push(l + '}\n');+ h = Ya(y).apply(null, m);+ p = b - 1;+ if (!g.hasOwnProperty(n))+ throw new Ia('Replacing nonexistant public symbol');+ void 0 !== g[n].F && void 0 !== p+ ? (g[n].F[p] = h)+ : ((g[n] = h), (g[n].J = p));+ return [];+ });+ },+ d: function (a, b, c, d, e) {+ function f(l) {+ return l;+ }+ b = U(b);+ -1 === e && (e = 4294967295);+ var k = Ka(c);+ if (0 === d) {+ var h = 32 - 8 * c;+ f = function (l) {+ return (l << h) >>> h;+ };+ }+ var n = -1 != b.indexOf('unsigned');+ T(a, {+ name: b,+ fromWireType: f,+ toWireType: function (l, m) {+ if ('number' !== typeof m && 'boolean' !== typeof m)+ throw new TypeError(+ 'Cannot convert "' + Wa(m) + '" to ' + this.name,+ );+ if (m < d || m > e)+ throw new TypeError(+ 'Passing a number "' ++ Wa(m) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ e ++ ']!',+ );+ return n ? m >>> 0 : m | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: cb(b, k, 0 !== d),+ D: null,+ });+ },+ c: function (a, b, c) {+ function d(f) {+ f >>= 2;+ var k = J;+ return new e(H, k[f + 1], k[f]);+ }+ var e = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = U(c);+ T(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { P: !0 },+ );+ },+ l: function (a, b) {+ b = U(b);+ var c = 'std::string' === b;+ T(a, {+ name: b,+ fromWireType: function (d) {+ var e = J[d >> 2];+ if (c)+ for (var f = d + 4, k = 0; k <= e; ++k) {+ var h = d + 4 + k;+ if (k == e || 0 == C[h]) {+ if (f) {+ for (var n = f + (h - f), l = f; !(l >= n) && C[l]; ) ++l;+ f = fa.decode(C.subarray(f, l));+ } else f = '';+ if (void 0 === m) var m = f;+ else (m += String.fromCharCode(0)), (m += f);+ f = h + 1;+ }+ }+ else {+ m = Array(e);+ for (k = 0; k < e; ++k) m[k] = String.fromCharCode(C[d + 4 + k]);+ m = m.join('');+ }+ Y(d);+ return m;+ },+ toWireType: function (d, e) {+ e instanceof ArrayBuffer && (e = new Uint8Array(e));+ var f = 'string' === typeof e;+ f ||+ e instanceof Uint8Array ||+ e instanceof Uint8ClampedArray ||+ e instanceof Int8Array ||+ W('Cannot pass non-string to std::string');+ var k = (c && f+ ? function () {+ for (var l = 0, m = 0; m < e.length; ++m) {+ var q = e.charCodeAt(m);+ 55296 <= q &&+ 57343 >= q &&+ (q =+ (65536 + ((q & 1023) << 10)) |+ (e.charCodeAt(++m) & 1023));+ 127 >= q+ ? ++l+ : (l = 2047 >= q ? l + 2 : 65535 >= q ? l + 3 : l + 4);+ }+ return l;+ }+ : function () {+ return e.length;+ })(),+ h = jb(4 + k + 1);+ J[h >> 2] = k;+ if (c && f) ha(e, h + 4, k + 1);+ else if (f)+ for (f = 0; f < k; ++f) {+ var n = e.charCodeAt(f);+ 255 < n &&+ (Y(h),+ W('String has UTF-16 code units that do not fit in 8 bits'));+ C[h + 4 + f] = n;+ }+ else for (f = 0; f < k; ++f) C[h + 4 + f] = e[f];+ null !== d && d.push(Y, h);+ return h;+ },+ argPackAdvance: 8,+ readValueFromPointer: Q,+ D: function (d) {+ Y(d);+ },+ });+ },+ h: function (a, b, c) {+ c = U(c);+ if (2 === b) {+ var d = ja;+ var e = ka;+ var f = la;+ var k = function () {+ return D;+ };+ var h = 1;+ } else+ 4 === b &&+ ((d = ma),+ (e = na),+ (f = oa),+ (k = function () {+ return J;+ }),+ (h = 2));+ T(a, {+ name: c,+ fromWireType: function (n) {+ for (var l = J[n >> 2], m = k(), q, w = n + 4, x = 0; x <= l; ++x) {+ var p = n + 4 + x * b;+ if (x == l || 0 == m[p >> h])+ (w = d(w, p - w)),+ void 0 === q+ ? (q = w)+ : ((q += String.fromCharCode(0)), (q += w)),+ (w = p + b);+ }+ Y(n);+ return q;+ },+ toWireType: function (n, l) {+ 'string' !== typeof l &&+ W('Cannot pass non-string to C++ string type ' + c);+ var m = f(l),+ q = jb(4 + m + b);+ J[q >> 2] = m >> h;+ e(l, q + 4, m + b);+ null !== n && n.push(Y, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Q,+ D: function (n) {+ Y(n);+ },+ });+ },+ n: function (a, b, c, d, e, f) {+ P[a] = { name: U(b), R: Z(c, d), S: Z(e, f), I: [] };+ },+ b: function (a, b, c, d, e, f, k, h, n, l) {+ P[a].I.push({+ K: U(b),+ O: c,+ M: Z(d, e),+ N: f,+ U: k,+ T: Z(h, n),+ V: l,+ });+ },+ t: function (a, b) {+ b = U(b);+ T(a, {+ W: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ g: Oa,+ v: function (a) {+ if (0 === a) return Pa(eb());+ var b = db[a];+ a = void 0 === b ? U(a) : b;+ return Pa(eb()[a]);+ },+ u: function (a) {+ 4 < a && (X[a].H += 1);+ },+ p: function (a, b, c, d) {+ a || W('Cannot use deleted val. handle = ' + a);+ a = X[a].value;+ var e = fb[b];+ if (!e) {+ e = '';+ for (var f = 0; f < b; ++f) e += (0 !== f ? ', ' : '') + 'arg' + f;+ var k =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (f = 0; f < b; ++f)+ k +=+ 'var argType' ++ f ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ f ++ '], "parameter ' ++ f ++ '");\nvar arg' ++ f ++ ' = argType' ++ f ++ '.readValueFromPointer(args);\nargs += argType' ++ f ++ "['argPackAdvance'];\n";+ e = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ k ++ ('var obj = new constructor(' ++ e ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(Va, g, Pa);+ fb[b] = e;+ }+ return e(a, c, d);+ },+ j: function () {+ A();+ },+ q: function (a, b, c) {+ C.copyWithin(a, b, b + c);+ },+ e: function (a) {+ a >>>= 0;+ var b = C.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ B.grow((Math.min(2147483648, d) - H.byteLength + 65535) >>> 16);+ ra(B.buffer);+ var e = 1;+ break a;+ } catch (f) {}+ e = void 0;+ }+ if (e) return !0;+ }+ return !1;+ },+ a: B,+ };+ (function () {+ function a(e) {+ g.asm = e.exports;+ K = g.asm.x;+ L--;+ g.monitorRunDependencies && g.monitorRunDependencies(L);+ 0 == L &&+ (null !== ya && (clearInterval(ya), (ya = null)),+ M && ((e = M), (M = null), e()));+ }+ function b(e) {+ a(e.instance);+ }+ function c(e) {+ return Ca()+ .then(function (f) {+ return WebAssembly.instantiate(f, d);+ })+ .then(e, function (f) {+ v('failed to asynchronously prepare wasm: ' + f);+ A(f);+ });+ }+ var d = { a: kb };+ L++;+ g.monitorRunDependencies && g.monitorRunDependencies(L);+ if (g.instantiateWasm)+ try {+ return g.instantiateWasm(d, a);+ } catch (e) {+ return (+ v('Module.instantiateWasm callback failed with error: ' + e), !1+ );+ }+ (function () {+ return z ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ za() ||+ 'function' !== typeof fetch+ ? c(b)+ : fetch(N, { credentials: 'same-origin' }).then(function (e) {+ return WebAssembly.instantiateStreaming(e, d).then(b, function (+ f,+ ) {+ v('wasm streaming compile failed: ' + f);+ v('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })().catch(ba);+ return {};+ })();+ var ib = (g.___wasm_call_ctors = function () {+ return (ib = g.___wasm_call_ctors = g.asm.y).apply(null, arguments);+ }),+ jb = (g._malloc = function () {+ return (jb = g._malloc = g.asm.z).apply(null, arguments);+ }),+ Y = (g._free = function () {+ return (Y = g._free = g.asm.A).apply(null, arguments);+ }),+ Ua = (g.___getTypeName = function () {+ return (Ua = g.___getTypeName = g.asm.B).apply(null, arguments);+ });+ g.___embind_register_native_and_builtin_types = function () {+ return (g.___embind_register_native_and_builtin_types = g.asm.C).apply(+ null,+ arguments,+ );+ };+ var lb;+ M = function mb() {+ lb || nb();+ lb || (M = mb);+ };+ function nb() {+ function a() {+ if (!lb && ((lb = !0), (g.calledRun = !0), !da)) {+ O(ua);+ O(va);+ aa(g);+ if (g.onRuntimeInitialized) g.onRuntimeInitialized();+ if (g.postRun)+ for (+ 'function' == typeof g.postRun && (g.postRun = [g.postRun]);+ g.postRun.length;-var d;d||(d=typeof webp_enc !== 'undefined' ? webp_enc : {});var aa,ba;d.ready=new Promise(function(a,b){aa=a;ba=b});var r={},u;for(u in d)d.hasOwnProperty(u)&&(r[u]=d[u]);var w=!1,x=!1,ca=!1,da=!1;w="object"===typeof window;x="function"===typeof importScripts;ca="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;da=!w&&!ca&&!x;var y="",A,B,ea,fa;-if(ca)y=x?require("path").dirname(y)+"/":__dirname+"/",A=function(a,b){ea||(ea=require("fs"));fa||(fa=require("path"));a=fa.normalize(a);return ea.readFileSync(a,b?null:"utf8")},B=function(a){a=A(a,!0);a.buffer||(a=new Uint8Array(a));a.buffer||C("Assertion failed: undefined");return a},1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),process.on("uncaughtException",function(a){throw a;}),process.on("unhandledRejection",C),d.inspect=function(){return"[Emscripten Module object]"};-else if(da)"undefined"!=typeof read&&(A=function(a){return read(a)}),B=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");"object"===typeof a||C("Assertion failed: undefined");return a},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(w||x)x?y=self.location.href:document.currentScript&&(y=document.currentScript.src),_scriptDir&&-(y=_scriptDir),0!==y.indexOf("blob:")?y=y.substr(0,y.lastIndexOf("/")+1):y="",A=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText},x&&(B=function(a){var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});d.print||console.log.bind(console);var D=d.printErr||console.warn.bind(console);for(u in r)r.hasOwnProperty(u)&&(d[u]=r[u]);r=null;var E;d.wasmBinary&&(E=d.wasmBinary);var noExitRuntime;-d.noExitRuntime&&(noExitRuntime=d.noExitRuntime);"object"!==typeof WebAssembly&&C("no native wasm support detected");var G,ha=new WebAssembly.Table({initial:125,maximum:125,element:"anyfunc"}),ia=!1,ja="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;-function la(a,b,c){var e=H;if(0<c){c=b+c-1;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var l=a.charCodeAt(++f);g=65536+((g&1023)<<10)|l&1023}if(127>=g){if(b>=c)break;e[b++]=g}else{if(2047>=g){if(b+1>=c)break;e[b++]=192|g>>6}else{if(65535>=g){if(b+2>=c)break;e[b++]=224|g>>12}else{if(b+3>=c)break;e[b++]=240|g>>18;e[b++]=128|g>>12&63}e[b++]=128|g>>6&63}e[b++]=128|g&63}}e[b]=0}}var ma="undefined"!==typeof TextDecoder?new TextDecoder("utf-16le"):void 0;-function na(a,b){var c=a>>1;for(var e=c+b/2;!(c>=e)&&I[c];)++c;c<<=1;if(32<c-a&&ma)return ma.decode(H.subarray(a,c));c=0;for(e="";;){var f=J[a+2*c>>1];if(0==f||c==b/2)return e;++c;e+=String.fromCharCode(f)}}function oa(a,b,c){void 0===c&&(c=2147483647);if(2>c)return 0;c-=2;var e=b;c=c<2*a.length?c/2:a.length;for(var f=0;f<c;++f)J[b>>1]=a.charCodeAt(f),b+=2;J[b>>1]=0;return b-e}function pa(a){return 2*a.length}-function qa(a,b){for(var c=0,e="";!(c>=b/4);){var f=K[a+4*c>>2];if(0==f)break;++c;65536<=f?(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023)):e+=String.fromCharCode(f)}return e}function ra(a,b,c){void 0===c&&(c=2147483647);if(4>c)return 0;var e=b;c=e+c-4;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g){var l=a.charCodeAt(++f);g=65536+((g&1023)<<10)|l&1023}K[b>>2]=g;b+=4;if(b+4>c)break}K[b>>2]=0;return b-e}-function sa(a){for(var b=0,c=0;c<a.length;++c){var e=a.charCodeAt(c);55296<=e&&57343>=e&&++c;b+=4}return b}var L,M,H,J,I,K,N,ta,ua;function va(a){L=a;d.HEAP8=M=new Int8Array(a);d.HEAP16=J=new Int16Array(a);d.HEAP32=K=new Int32Array(a);d.HEAPU8=H=new Uint8Array(a);d.HEAPU16=I=new Uint16Array(a);d.HEAPU32=N=new Uint32Array(a);d.HEAPF32=ta=new Float32Array(a);d.HEAPF64=ua=new Float64Array(a)}var wa=d.INITIAL_MEMORY||16777216;d.wasmMemory?G=d.wasmMemory:G=new WebAssembly.Memory({initial:wa/65536,maximum:32768});-G&&(L=G.buffer);wa=L.byteLength;va(L);K[8648]=5277632;function xa(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b(d);else{var c=b.Z;"number"===typeof c?void 0===b.T?d.dynCall_v(c):d.dynCall_vi(c,b.T):c(void 0===b.T?null:b.T)}}}var ya=[],za=[],Aa=[],Ba=[];function Ca(){var a=d.preRun.shift();ya.unshift(a)}var O=0,Da=null,P=null;d.preloadedImages={};d.preloadedAudios={};-function C(a){if(d.onAbort)d.onAbort(a);D(a);ia=!0;a=new WebAssembly.RuntimeError("abort("+a+"). Build with -s ASSERTIONS=1 for more info.");ba(a);throw a;}function Ea(a){var b=Q;return String.prototype.startsWith?b.startsWith(a):0===b.indexOf(a)}function Fa(){return Ea("data:application/octet-stream;base64,")}var Q="webp_enc.wasm";if(!Fa()){var Ga=Q;Q=d.locateFile?d.locateFile(Ga,y):y+Ga}-function Ha(){try{if(E)return new Uint8Array(E);if(B)return B(Q);throw"both async and sync fetching of the wasm failed";}catch(a){C(a)}}function Ia(){return E||!w&&!x||"function"!==typeof fetch||Ea("file://")?new Promise(function(a){a(Ha())}):fetch(Q,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+Q+"'";return a.arrayBuffer()}).catch(function(){return Ha()})}za.push({Z:function(){Ja()}});function Ka(){return 0<Ka.V}var La={};-function Ma(a){for(;a.length;){var b=a.pop();a.pop()(b)}}function Na(a){return this.fromWireType(N[a>>2])}var R={},S={},Oa={};function Pa(a){if(void 0===a)return"_unknown";a=a.replace(/[^a-zA-Z0-9_]/g,"$");var b=a.charCodeAt(0);return 48<=b&&57>=b?"_"+a:a}function Qa(a,b){a=Pa(a);return(new Function("body","return function "+a+'() {\n "use strict"; return body.apply(this, arguments);\n};\n'))(b)}-function Ra(a){var b=Error,c=Qa(a,function(e){this.name=a;this.message=e;e=Error(e).stack;void 0!==e&&(this.stack=this.toString()+"\n"+e.replace(/^Error(:[^\n]*)?\n/,""))});c.prototype=Object.create(b.prototype);c.prototype.constructor=c;c.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message};return c}var Sa=void 0;-function Ta(a,b,c){function e(k){k=c(k);if(k.length!==a.length)throw new Sa("Mismatched type converter count");for(var h=0;h<a.length;++h)T(a[h],k[h])}a.forEach(function(k){Oa[k]=b});var f=Array(b.length),g=[],l=0;b.forEach(function(k,h){S.hasOwnProperty(k)?f[h]=S[k]:(g.push(k),R.hasOwnProperty(k)||(R[k]=[]),R[k].push(function(){f[h]=S[k];++l;l===g.length&&e(f)}))});0===g.length&&e(f)}-function Ua(a){switch(a){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+a);}}var Va=void 0;function U(a){for(var b="";H[a];)b+=Va[H[a++]];return b}var Wa=void 0;function V(a){throw new Wa(a);}-function T(a,b,c){c=c||{};if(!("argPackAdvance"in b))throw new TypeError("registerType registeredInstance requires argPackAdvance");var e=b.name;a||V('type "'+e+'" must have a positive integer typeid pointer');if(S.hasOwnProperty(a)){if(c.da)return;V("Cannot register type '"+e+"' twice")}S[a]=b;delete Oa[a];R.hasOwnProperty(a)&&(b=R[a],delete R[a],b.forEach(function(f){f()}))}var Xa=[],X=[{},{value:void 0},{value:null},{value:!0},{value:!1}];-function Ya(a){4<a&&0===--X[a].U&&(X[a]=void 0,Xa.push(a))}function Za(a){switch(a){case void 0:return 1;case null:return 2;case !0:return 3;case !1:return 4;default:var b=Xa.length?Xa.pop():X.length;X[b]={U:1,value:a};return b}}-function $a(a,b){var c=d;if(void 0===c[a].S){var e=c[a];c[a]=function(){c[a].S.hasOwnProperty(arguments.length)||V("Function '"+b+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+c[a].S+")!");return c[a].S[arguments.length].apply(this,arguments)};c[a].S=[];c[a].S[e.X]=e}}-function ab(a,b,c){d.hasOwnProperty(a)?((void 0===c||void 0!==d[a].S&&void 0!==d[a].S[c])&&V("Cannot register public name '"+a+"' twice"),$a(a,a),d.hasOwnProperty(c)&&V("Cannot register multiple overloads of a function with the same number of arguments ("+c+")!"),d[a].S[c]=b):(d[a]=b,void 0!==c&&(d[a].ka=c))}-function bb(a,b,c){switch(b){case 0:return function(e){return this.fromWireType((c?M:H)[e])};case 1:return function(e){return this.fromWireType((c?J:I)[e>>1])};case 2:return function(e){return this.fromWireType((c?K:N)[e>>2])};default:throw new TypeError("Unknown integer type: "+a);}}function cb(a){a=db(a);var b=U(a);Y(a);return b}function eb(a,b){var c=S[a];void 0===c&&V(b+" has unknown type "+cb(a));return c}-function fb(a){if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a}function gb(a,b){switch(b){case 2:return function(c){return this.fromWireType(ta[c>>2])};case 3:return function(c){return this.fromWireType(ua[c>>3])};default:throw new TypeError("Unknown float type: "+a);}}-function hb(a){var b=Function;if(!(b instanceof Function))throw new TypeError("new_ called with constructor type "+typeof b+" which is not a function");var c=Qa(b.name||"unknownFunctionName",function(){});c.prototype=b.prototype;c=new c;a=b.apply(c,a);return a instanceof Object?a:c}function ib(a,b){for(var c=[],e=0;e<a;e++)c.push(K[(b>>2)+e]);return c}-function Z(a,b){a=U(a);var c=d["dynCall_"+a];for(var e=[],f=1;f<a.length;++f)e.push("a"+f);f="return function dynCall_"+(a+"_"+b)+"("+e.join(", ")+") {\n";f+=" return dynCall(rawFunction"+(e.length?", ":"")+e.join(", ")+");\n";c=(new Function("dynCall","rawFunction",f+"};\n"))(c,b);"function"!==typeof c&&V("unknown function pointer with signature "+a+": "+b);return c}var jb=void 0;-function kb(a,b){function c(g){f[g]||S[g]||(Oa[g]?Oa[g].forEach(c):(e.push(g),f[g]=!0))}var e=[],f={};b.forEach(c);throw new jb(a+": "+e.map(cb).join([", "]));}function lb(a,b,c){switch(b){case 0:return c?function(e){return M[e]}:function(e){return H[e]};case 1:return c?function(e){return J[e>>1]}:function(e){return I[e>>1]};case 2:return c?function(e){return K[e>>2]}:function(e){return N[e>>2]};default:throw new TypeError("Unknown integer type: "+a);}}var mb={};-function nb(){return"object"===typeof globalThis?globalThis:Function("return this")()}var ob={};Sa=d.InternalError=Ra("InternalError");for(var pb=Array(256),qb=0;256>qb;++qb)pb[qb]=String.fromCharCode(qb);Va=pb;Wa=d.BindingError=Ra("BindingError");d.count_emval_handles=function(){for(var a=0,b=5;b<X.length;++b)void 0!==X[b]&&++a;return a};d.get_first_emval=function(){for(var a=5;a<X.length;++a)if(void 0!==X[a])return X[a];return null};jb=d.UnboundTypeError=Ra("UnboundTypeError");-var sb={u:function(a){return rb(a)},x:function(){},t:function(a){"uncaught_exception"in Ka?Ka.V++:Ka.V=1;throw a;},i:function(a){var b=La[a];delete La[a];var c=b.ea,e=b.fa,f=b.W,g=f.map(function(l){return l.ba}).concat(f.map(function(l){return l.ha}));Ta([a],g,function(l){var k={};f.forEach(function(h,m){var q=l[m],n=h.$,t=h.aa,v=l[m+f.length],p=h.ga,ka=h.ia;k[h.Y]={read:function(z){return q.fromWireType(n(t,z))},write:function(z,F){var W=[];p(ka,z,v.toWireType(W,F));Ma(W)}}});return[{name:b.name,-fromWireType:function(h){var m={},q;for(q in k)m[q]=k[q].read(h);e(h);return m},toWireType:function(h,m){for(var q in k)if(!(q in m))throw new TypeError('Missing field: "'+q+'"');var n=c();for(q in k)k[q].write(n,m[q]);null!==h&&h.push(e,n);return n},argPackAdvance:8,readValueFromPointer:Na,R:e}]})},r:function(a,b,c,e,f){var g=Ua(c);b=U(b);T(a,{name:b,fromWireType:function(l){return!!l},toWireType:function(l,k){return k?e:f},argPackAdvance:8,readValueFromPointer:function(l){if(1===c)var k=M;else if(2===-c)k=J;else if(4===c)k=K;else throw new TypeError("Unknown boolean type size: "+b);return this.fromWireType(k[l>>g])},R:null})},q:function(a,b){b=U(b);T(a,{name:b,fromWireType:function(c){var e=X[c].value;Ya(c);return e},toWireType:function(c,e){return Za(e)},argPackAdvance:8,readValueFromPointer:Na,R:null})},l:function(a,b,c,e){function f(){}c=Ua(c);b=U(b);f.values={};T(a,{name:b,constructor:f,fromWireType:function(g){return this.constructor.values[g]},toWireType:function(g,l){return l.value},argPackAdvance:8,-readValueFromPointer:bb(b,c,e),R:null});ab(b,f)},k:function(a,b,c){var e=eb(a,"enum");b=U(b);a=e.constructor;e=Object.create(e.constructor.prototype,{value:{value:c},constructor:{value:Qa(e.name+"_"+b,function(){})}});a.values[c]=e;a[b]=e},g:function(a,b,c){c=Ua(c);b=U(b);T(a,{name:b,fromWireType:function(e){return e},toWireType:function(e,f){if("number"!==typeof f&&"boolean"!==typeof f)throw new TypeError('Cannot convert "'+fb(f)+'" to '+this.name);return f},argPackAdvance:8,readValueFromPointer:gb(b,-c),R:null})},f:function(a,b,c,e,f,g){var l=ib(b,c);a=U(a);f=Z(e,f);ab(a,function(){kb("Cannot call "+a+" due to unbound types",l)},b-1);Ta([],l,function(k){var h=[k[0],null].concat(k.slice(1)),m=k=a,q=f,n=h.length;2>n&&V("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var t=null!==h[1]&&!1,v=!1,p=1;p<h.length;++p)if(null!==h[p]&&void 0===h[p].R){v=!0;break}var ka="void"!==h[0].name,z="",F="";for(p=0;p<n-2;++p)z+=(0!==p?", ":"")+"arg"+p,F+=(0!==p?", ":"")+"arg"+-p+"Wired";m="return function "+Pa(m)+"("+z+") {\nif (arguments.length !== "+(n-2)+") {\nthrowBindingError('function "+m+" called with ' + arguments.length + ' arguments, expected "+(n-2)+" args!');\n}\n";v&&(m+="var destructors = [];\n");var W=v?"destructors":"null";z="throwBindingError invoker fn runDestructors retType classParam".split(" ");q=[V,q,g,Ma,h[0],h[1]];t&&(m+="var thisWired = classParam.toWireType("+W+", this);\n");for(p=0;p<n-2;++p)m+="var arg"+p+"Wired = argType"+p+".toWireType("+W+-", arg"+p+"); // "+h[p+2].name+"\n",z.push("argType"+p),q.push(h[p+2]);t&&(F="thisWired"+(0<F.length?", ":"")+F);m+=(ka?"var rv = ":"")+"invoker(fn"+(0<F.length?", ":"")+F+");\n";if(v)m+="runDestructors(destructors);\n";else for(p=t?1:2;p<h.length;++p)n=1===p?"thisWired":"arg"+(p-2)+"Wired",null!==h[p].R&&(m+=n+"_dtor("+n+"); // "+h[p].name+"\n",z.push(n+"_dtor"),q.push(h[p].R));ka&&(m+="var ret = retType.fromWireType(rv);\nreturn ret;\n");z.push(m+"}\n");h=hb(z).apply(null,q);p=b-1;if(!d.hasOwnProperty(k))throw new Sa("Replacing nonexistant public symbol");-void 0!==d[k].S&&void 0!==p?d[k].S[p]=h:(d[k]=h,d[k].X=p);return[]})},b:function(a,b,c,e,f){function g(m){return m}b=U(b);-1===f&&(f=4294967295);var l=Ua(c);if(0===e){var k=32-8*c;g=function(m){return m<<k>>>k}}var h=-1!=b.indexOf("unsigned");T(a,{name:b,fromWireType:g,toWireType:function(m,q){if("number"!==typeof q&&"boolean"!==typeof q)throw new TypeError('Cannot convert "'+fb(q)+'" to '+this.name);if(q<e||q>f)throw new TypeError('Passing a number "'+fb(q)+'" from JS side to C/C++ side to an argument of type "'+-b+'", which is outside the valid range ['+e+", "+f+"]!");return h?q>>>0:q|0},argPackAdvance:8,readValueFromPointer:lb(b,l,0!==e),R:null})},a:function(a,b,c){function e(g){g>>=2;var l=N;return new f(L,l[g+1],l[g])}var f=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];c=U(c);T(a,{name:c,fromWireType:e,argPackAdvance:8,readValueFromPointer:e},{da:!0})},h:function(a,b){b=U(b);var c="std::string"===b;T(a,{name:b,fromWireType:function(e){var f=N[e>>2];if(c)for(var g=-e+4,l=0;l<=f;++l){var k=e+4+l;if(l==f||0==H[k]){if(g){var h=g;var m=H,q=h+(k-g);for(g=h;m[g]&&!(g>=q);)++g;if(16<g-h&&m.subarray&&ja)h=ja.decode(m.subarray(h,g));else{for(q="";h<g;){var n=m[h++];if(n&128){var t=m[h++]&63;if(192==(n&224))q+=String.fromCharCode((n&31)<<6|t);else{var v=m[h++]&63;n=224==(n&240)?(n&15)<<12|t<<6|v:(n&7)<<18|t<<12|v<<6|m[h++]&63;65536>n?q+=String.fromCharCode(n):(n-=65536,q+=String.fromCharCode(55296|n>>10,56320|n&1023))}}else q+=String.fromCharCode(n)}h=q}}else h="";if(void 0===-p)var p=h;else p+=String.fromCharCode(0),p+=h;g=k+1}}else{p=Array(f);for(l=0;l<f;++l)p[l]=String.fromCharCode(H[e+4+l]);p=p.join("")}Y(e);return p},toWireType:function(e,f){f instanceof ArrayBuffer&&(f=new Uint8Array(f));var g="string"===typeof f;g||f instanceof Uint8Array||f instanceof Uint8ClampedArray||f instanceof Int8Array||V("Cannot pass non-string to std::string");var l=(c&&g?function(){for(var m=0,q=0;q<f.length;++q){var n=f.charCodeAt(q);55296<=n&&57343>=n&&(n=65536+((n&1023)<<10)|f.charCodeAt(++q)&-1023);127>=n?++m:m=2047>=n?m+2:65535>=n?m+3:m+4}return m}:function(){return f.length})(),k=rb(4+l+1);N[k>>2]=l;if(c&&g)la(f,k+4,l+1);else if(g)for(g=0;g<l;++g){var h=f.charCodeAt(g);255<h&&(Y(k),V("String has UTF-16 code units that do not fit in 8 bits"));H[k+4+g]=h}else for(g=0;g<l;++g)H[k+4+g]=f[g];null!==e&&e.push(Y,k);return k},argPackAdvance:8,readValueFromPointer:Na,R:function(e){Y(e)}})},e:function(a,b,c){c=U(c);if(2===b){var e=na;var f=oa;var g=pa;var l=function(){return I};var k=1}else 4===-b&&(e=qa,f=ra,g=sa,l=function(){return N},k=2);T(a,{name:c,fromWireType:function(h){for(var m=N[h>>2],q=l(),n,t=h+4,v=0;v<=m;++v){var p=h+4+v*b;if(v==m||0==q[p>>k])t=e(t,p-t),void 0===n?n=t:(n+=String.fromCharCode(0),n+=t),t=p+b}Y(h);return n},toWireType:function(h,m){"string"!==typeof m&&V("Cannot pass non-string to C++ string type "+c);var q=g(m),n=rb(4+q+b);N[n>>2]=q>>k;f(m,n+4,q+b);null!==h&&h.push(Y,n);return n},argPackAdvance:8,readValueFromPointer:Na,R:function(h){Y(h)}})},j:function(a,b,c,-e,f,g){La[a]={name:U(b),ea:Z(c,e),fa:Z(f,g),W:[]}},d:function(a,b,c,e,f,g,l,k,h,m){La[a].W.push({Y:U(b),ba:c,$:Z(e,f),aa:g,ha:l,ga:Z(k,h),ia:m})},s:function(a,b){b=U(b);T(a,{ja:!0,name:b,argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},p:Ya,w:function(a){if(0===a)return Za(nb());var b=mb[a];a=void 0===b?U(a):b;return Za(nb()[a])},v:function(a){4<a&&(X[a].U+=1)},m:function(a,b,c,e){a||V("Cannot use deleted val. handle = "+a);a=X[a].value;var f=ob[b];if(!f){f="";for(var g=0;g<b;++g)f+=-(0!==g?", ":"")+"arg"+g;var l="return function emval_allocator_"+b+"(constructor, argTypes, args) {\n";for(g=0;g<b;++g)l+="var argType"+g+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+g+'], "parameter '+g+'");\nvar arg'+g+" = argType"+g+".readValueFromPointer(args);\nargs += argType"+g+"['argPackAdvance'];\n";f=(new Function("requireRegisteredType","Module","__emval_register",l+("var obj = new constructor("+f+");\nreturn __emval_register(obj);\n}\n")))(eb,d,Za);ob[b]=f}return f(a,-c,e)},o:function(){C()},n:function(a,b,c){H.copyWithin(a,b,b+c)},c:function(a){a>>>=0;var b=H.length;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var e=b*(1+.2/c);e=Math.min(e,a+100663296);e=Math.max(16777216,a,e);0<e%65536&&(e+=65536-e%65536);a:{try{G.grow(Math.min(2147483648,e)-L.byteLength+65535>>>16);va(G.buffer);var f=1;break a}catch(g){}f=void 0}if(f)return!0}return!1},memory:G,table:ha};-(function(){function a(f){d.asm=f.exports;O--;d.monitorRunDependencies&&d.monitorRunDependencies(O);0==O&&(null!==Da&&(clearInterval(Da),Da=null),P&&(f=P,P=null,f()))}function b(f){a(f.instance)}function c(f){return Ia().then(function(g){return WebAssembly.instantiate(g,e)}).then(f,function(g){D("failed to asynchronously prepare wasm: "+g);C(g)})}var e={a:sb};O++;d.monitorRunDependencies&&d.monitorRunDependencies(O);if(d.instantiateWasm)try{return d.instantiateWasm(e,a)}catch(f){return D("Module.instantiateWasm callback failed with error: "+-f),!1}(function(){if(E||"function"!==typeof WebAssembly.instantiateStreaming||Fa()||Ea("file://")||"function"!==typeof fetch)return c(b);fetch(Q,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,e).then(b,function(g){D("wasm streaming compile failed: "+g);D("falling back to ArrayBuffer instantiation");return c(b)})})})();return{}})();-var Ja=d.___wasm_call_ctors=function(){return(Ja=d.___wasm_call_ctors=d.asm.y).apply(null,arguments)},rb=d._malloc=function(){return(rb=d._malloc=d.asm.z).apply(null,arguments)},Y=d._free=function(){return(Y=d._free=d.asm.A).apply(null,arguments)},db=d.___getTypeName=function(){return(db=d.___getTypeName=d.asm.B).apply(null,arguments)};d.___embind_register_native_and_builtin_types=function(){return(d.___embind_register_native_and_builtin_types=d.asm.C).apply(null,arguments)};-d.dynCall_i=function(){return(d.dynCall_i=d.asm.D).apply(null,arguments)};d.dynCall_vi=function(){return(d.dynCall_vi=d.asm.E).apply(null,arguments)};d.dynCall_iii=function(){return(d.dynCall_iii=d.asm.F).apply(null,arguments)};d.dynCall_viii=function(){return(d.dynCall_viii=d.asm.G).apply(null,arguments)};d.dynCall_fii=function(){return(d.dynCall_fii=d.asm.H).apply(null,arguments)};d.dynCall_viif=function(){return(d.dynCall_viif=d.asm.I).apply(null,arguments)};-d.dynCall_ii=function(){return(d.dynCall_ii=d.asm.J).apply(null,arguments)};d.dynCall_iiiiii=function(){return(d.dynCall_iiiiii=d.asm.K).apply(null,arguments)};d.dynCall_viiiii=function(){return(d.dynCall_viiiii=d.asm.L).apply(null,arguments)};d.dynCall_iiii=function(){return(d.dynCall_iiii=d.asm.M).apply(null,arguments)};d.dynCall_viiiiiiiii=function(){return(d.dynCall_viiiiiiiii=d.asm.N).apply(null,arguments)};d.dynCall_viiii=function(){return(d.dynCall_viiii=d.asm.O).apply(null,arguments)};-d.dynCall_viiiiii=function(){return(d.dynCall_viiiiii=d.asm.P).apply(null,arguments)};var tb;P=function ub(){tb||vb();tb||(P=ub)};-function vb(){function a(){if(!tb&&(tb=!0,d.calledRun=!0,!ia)){xa(za);xa(Aa);aa(d);if(d.onRuntimeInitialized)d.onRuntimeInitialized();if(d.postRun)for("function"==typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;){var b=d.postRun.shift();Ba.unshift(b)}xa(Ba)}}if(!(0<O)){if(d.preRun)for("function"==typeof d.preRun&&(d.preRun=[d.preRun]);d.preRun.length;)Ca();xa(ya);0<O||(d.setStatus?(d.setStatus("Running..."),setTimeout(function(){setTimeout(function(){d.setStatus("")},1);a()},1)):a())}}-d.run=vb;if(d.preInit)for("function"==typeof d.preInit&&(d.preInit=[d.preInit]);0<d.preInit.length;)d.preInit.pop()();noExitRuntime=!0;vb();+ ) {+ var b = g.postRun.shift();+ wa.unshift(b);+ }+ O(wa);+ }+ }+ if (!(0 < L)) {+ if (g.preRun)+ for (+ 'function' == typeof g.preRun && (g.preRun = [g.preRun]);+ g.preRun.length;+ )+ xa();+ O(ta);+ 0 < L ||+ (g.setStatus+ ? (g.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ g.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ g.run = nb;+ if (g.preInit)+ for (+ 'function' == typeof g.preInit && (g.preInit = [g.preInit]);+ 0 < g.preInit.length;- return webp_enc.ready-}-);+ )+ g.preInit.pop()();+ noExitRuntime = !0;+ nb();++ return Module.ready;+ };})();-if (typeof exports === 'object' && typeof module === 'object')- module.exports = webp_enc;- else if (typeof define === 'function' && define['amd'])- define([], function() { return webp_enc; });- else if (typeof exports === 'object')- exports["webp_enc"] = webp_enc;-\ No newline at end of file+export default Module;diff --git a/codecs/webp/enc/webp_enc.wasm b/codecs/webp/enc/webp_enc.wasmold mode 100644new mode 100755index 5141c2b4..463df0c5Binary files a/codecs/webp/enc/webp_enc.wasm and b/codecs/webp/enc/webp_enc.wasm differdiff --git a/codecs/wp2/Makefile b/codecs/wp2/Makefilenew file mode 100644index 00000000..06013b62--- /dev/null+++ b/codecs/wp2/Makefile@@ -0,0 +1,50 @@+CODEC_URL = https://chromium.googlesource.com/codecs/libwebp2/+archive/c90b5b476004c9a98731ae1c175cebab5de50fbf.tar.gz+CODEC_DIR = node_modules/wp2+CODEC_BUILD_DIR := $(CODEC_DIR)/.build+CODEC_OUT := $(CODEC_BUILD_DIR)/libwebp2.a++OUT_JS = enc/wp2_enc.js dec/wp2_dec.js+OUT_WASM = $(OUT_JS:.js=.wasm)++.PHONY: all clean++all: $(OUT_JS)++%.js: %.cpp $(CODEC_OUT)+ $(CXX) \+ -I $(CODEC_DIR) \+ ${CXXFLAGS} \+ ${LDFLAGS} \+ --bind \+ --closure 1 \+ -s ALLOW_MEMORY_GROWTH=1 \+ -s MODULARIZE=1 \+ -s TEXTDECODER=2 \+ -s ENVIRONMENT='worker' \+ -s EXPORT_ES6=1 \+ -s EXPORT_NAME="$(basename $(@F))" \+ -o $@ \+ $+++$(CODEC_OUT): $(CODEC_BUILD_DIR)/Makefile+ cd $(CODEC_BUILD_DIR) && \+ $(MAKE)++$(CODEC_BUILD_DIR)/Makefile: $(CODEC_DIR)/CMakeLists.txt+ mkdir -p $(CODEC_BUILD_DIR)+ cd $(CODEC_BUILD_DIR) && \+ emcmake cmake \+ -DWP2_ENABLE_SIMD=0 \+ -DWP2_BUILD_TESTS=0 \+ -DWP2_ENABLE_TESTS=0 \+ -DWP2_BUILD_EXAMPLES=0 \+ -DWP2_BUILD_EXTRAS=0 \+ ../++$(CODEC_DIR)/CMakeLists.txt:+ mkdir -p $(CODEC_DIR)+ curl -sL $(CODEC_URL) | tar xz -C $(CODEC_DIR)++clean:+ $(RM) $(OUT_JS) $(OUT_WASM)+ $(MAKE) -C $(CODEC_BUILD_DIR) cleandiff --git a/codecs/wp2/dec/README.md b/codecs/wp2/dec/README.mdnew file mode 100644index 00000000..4ebef7e7--- /dev/null+++ b/codecs/wp2/dec/README.md@@ -0,0 +1,17 @@+# WebP2 decoder++- Source: <https://chromium.googlesource.com/codecs/libwebp2>++## Dependencies++- Docker++## Example++N/A++## API++### `ImageData decode(uint8_t* image_buffer, int image_width, int image_height)`++Decodes the given WebP2 buffer into raw RGBA represented as an `ImageData`.diff --git a/codecs/wp2/dec/wp2_dec.cpp b/codecs/wp2/dec/wp2_dec.cppnew file mode 100644index 00000000..5ee45156--- /dev/null+++ b/codecs/wp2/dec/wp2_dec.cpp@@ -0,0 +1,24 @@+#include <emscripten/bind.h>+#include <emscripten/val.h>+#include <cstdio>+#include "src/wp2/decode.h"++using namespace emscripten;++thread_local const val Uint8ClampedArray = val::global("Uint8ClampedArray");+thread_local const val ImageData = val::global("ImageData");++val decode(std::string image_in) {+ WP2::ArgbBuffer buffer(WP2_rgbA_32);+ WP2Status status = WP2::Decode(image_in, &buffer);+ if (status != WP2_STATUS_OK) {+ return val::null();+ }+ return ImageData.new_(+ Uint8ClampedArray.new_(typed_memory_view(buffer.stride * buffer.height, buffer.GetRow8(0))),+ buffer.width, buffer.height);+}++EMSCRIPTEN_BINDINGS(my_module) {+ function("decode", &decode);+}diff --git a/codecs/wp2/dec/wp2_dec.d.ts b/codecs/wp2/dec/wp2_dec.d.tsnew file mode 100644index 00000000..ddd6aece--- /dev/null+++ b/codecs/wp2/dec/wp2_dec.d.ts@@ -0,0 +1,7 @@+export interface WP2Module extends EmscriptenWasm.Module {+ decode(data: BufferSource): ImageData | null;+}++declare var moduleFactory: EmscriptenWasm.ModuleFactory<WP2Module>;++export default moduleFactory;diff --git a/codecs/wp2/dec/wp2_dec.js b/codecs/wp2/dec/wp2_dec.jsnew file mode 100644index 00000000..4695b44a--- /dev/null+++ b/codecs/wp2/dec/wp2_dec.js@@ -0,0 +1,1185 @@+var wp2_dec = (function () {+ var _scriptDir = import.meta.url;++ return function (wp2_dec) {+ wp2_dec = wp2_dec || {};++ var e;+ e || (e = typeof wp2_dec !== 'undefined' ? wp2_dec : {});+ var aa, ba;+ e.ready = new Promise(function (a, b) {+ aa = a;+ ba = b;+ });+ var r = {},+ t;+ for (t in e) e.hasOwnProperty(t) && (r[t] = e[t]);+ var u = '',+ ca;+ u = self.location.href;+ _scriptDir && (u = _scriptDir);+ 0 !== u.indexOf('blob:')+ ? (u = u.substr(0, u.lastIndexOf('/') + 1))+ : (u = '');+ ca = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var da = e.print || console.log.bind(console),+ v = e.printErr || console.warn.bind(console);+ for (t in r) r.hasOwnProperty(t) && (e[t] = r[t]);+ r = null;+ var w;+ e.wasmBinary && (w = e.wasmBinary);+ var noExitRuntime;+ e.noExitRuntime && (noExitRuntime = e.noExitRuntime);+ 'object' !== typeof WebAssembly && y('no native wasm support detected');+ var z,+ ea = !1,+ fa = new TextDecoder('utf8');+ function ha(a, b, c) {+ var d = A;+ if (0 < c) {+ c = b + c - 1;+ for (var f = 0; f < a.length; ++f) {+ var g = a.charCodeAt(f);+ if (55296 <= g && 57343 >= g) {+ var l = a.charCodeAt(++f);+ g = (65536 + ((g & 1023) << 10)) | (l & 1023);+ }+ if (127 >= g) {+ if (b >= c) break;+ d[b++] = g;+ } else {+ if (2047 >= g) {+ if (b + 1 >= c) break;+ d[b++] = 192 | (g >> 6);+ } else {+ if (65535 >= g) {+ if (b + 2 >= c) break;+ d[b++] = 224 | (g >> 12);+ } else {+ if (b + 3 >= c) break;+ d[b++] = 240 | (g >> 18);+ d[b++] = 128 | ((g >> 12) & 63);+ }+ d[b++] = 128 | ((g >> 6) & 63);+ }+ d[b++] = 128 | (g & 63);+ }+ }+ d[b] = 0;+ }+ }+ var ia = new TextDecoder('utf-16le');+ function ja(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && B[c]; ) ++c;+ return ia.decode(A.subarray(a, c << 1));+ }+ function ka(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var f = 0; f < c; ++f) (D[b >> 1] = a.charCodeAt(f)), (b += 2);+ D[b >> 1] = 0;+ return b - d;+ }+ function la(a) {+ return 2 * a.length;+ }+ function ma(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var f = E[(a + 4 * c) >> 2];+ if (0 == f) break;+ ++c;+ 65536 <= f+ ? ((f -= 65536),+ (d += String.fromCharCode(55296 | (f >> 10), 56320 | (f & 1023))))+ : (d += String.fromCharCode(f));+ }+ return d;+ }+ function na(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var f = 0; f < a.length; ++f) {+ var g = a.charCodeAt(f);+ if (55296 <= g && 57343 >= g) {+ var l = a.charCodeAt(++f);+ g = (65536 + ((g & 1023) << 10)) | (l & 1023);+ }+ E[b >> 2] = g;+ b += 4;+ if (b + 4 > c) break;+ }+ E[b >> 2] = 0;+ return b - d;+ }+ function oa(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var F, G, A, D, B, E, H, pa, qa;+ function ra(a) {+ F = a;+ e.HEAP8 = G = new Int8Array(a);+ e.HEAP16 = D = new Int16Array(a);+ e.HEAP32 = E = new Int32Array(a);+ e.HEAPU8 = A = new Uint8Array(a);+ e.HEAPU16 = B = new Uint16Array(a);+ e.HEAPU32 = H = new Uint32Array(a);+ e.HEAPF32 = pa = new Float32Array(a);+ e.HEAPF64 = qa = new Float64Array(a);+ }+ var sa = e.INITIAL_MEMORY || 16777216;+ e.wasmMemory+ ? (z = e.wasmMemory)+ : (z = new WebAssembly.Memory({ initial: sa / 65536, maximum: 32768 }));+ z && (F = z.buffer);+ sa = F.byteLength;+ ra(F);+ var J,+ ta = [],+ ua = [],+ va = [],+ wa = [];+ function xa() {+ var a = e.preRun.shift();+ ta.unshift(a);+ }+ var K = 0,+ ya = null,+ L = null;+ e.preloadedImages = {};+ e.preloadedAudios = {};+ function y(a) {+ if (e.onAbort) e.onAbort(a);+ v(a);+ ea = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ ba(a);+ throw a;+ }+ function za() {+ var a = N;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var N = 'wp2_dec.wasm';+ if (!za()) {+ var Aa = N;+ N = e.locateFile ? e.locateFile(Aa, u) : u + Aa;+ }+ function Ba() {+ try {+ if (w) return new Uint8Array(w);+ if (ca) return ca(N);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ y(a);+ }+ }+ function Ca() {+ return w || 'function' !== typeof fetch+ ? Promise.resolve().then(Ba)+ : fetch(N, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + N + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Ba();+ });+ }+ function O(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(e);+ else {+ var c = b.P;+ 'number' === typeof c+ ? void 0 === b.L+ ? J.get(c)()+ : J.get(c)(b.L)+ : c(void 0 === b.L ? null : b.L);+ }+ }+ }+ function Da(a) {+ this.K = a - 16;+ this.X = function (b) {+ E[(this.K + 8) >> 2] = b;+ };+ this.U = function (b) {+ E[(this.K + 0) >> 2] = b;+ };+ this.V = function () {+ E[(this.K + 4) >> 2] = 0;+ };+ this.T = function () {+ G[(this.K + 12) >> 0] = 0;+ };+ this.W = function () {+ G[(this.K + 13) >> 0] = 0;+ };+ this.S = function (b, c) {+ this.X(b);+ this.U(c);+ this.V();+ this.T();+ this.W();+ };+ }+ function P() {+ return 0 < P.N;+ }+ function Ea(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var Fa = void 0;+ function Q(a) {+ for (var b = ''; A[a]; ) b += Fa[A[a++]];+ return b;+ }+ var R = {},+ S = {},+ T = {};+ function Ga(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Ha(a, b) {+ a = Ga(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function Ia(a) {+ var b = Error,+ c = Ha(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var Ja = void 0;+ function U(a) {+ throw new Ja(a);+ }+ var Ka = void 0;+ function La(a, b) {+ function c(h) {+ h = b(h);+ if (h.length !== d.length)+ throw new Ka('Mismatched type converter count');+ for (var p = 0; p < d.length; ++p) V(d[p], h[p]);+ }+ var d = [];+ d.forEach(function (h) {+ T[h] = a;+ });+ var f = Array(a.length),+ g = [],+ l = 0;+ a.forEach(function (h, p) {+ S.hasOwnProperty(h)+ ? (f[p] = S[h])+ : (g.push(h),+ R.hasOwnProperty(h) || (R[h] = []),+ R[h].push(function () {+ f[p] = S[h];+ ++l;+ l === g.length && c(f);+ }));+ });+ 0 === g.length && c(f);+ }+ function V(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || U('type "' + d + '" must have a positive integer typeid pointer');+ if (S.hasOwnProperty(a)) {+ if (c.R) return;+ U("Cannot register type '" + d + "' twice");+ }+ S[a] = b;+ delete T[a];+ R.hasOwnProperty(a) &&+ ((b = R[a]),+ delete R[a],+ b.forEach(function (f) {+ f();+ }));+ }+ var Oa = [],+ W = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Pa(a) {+ 4 < a && 0 === --W[a].M && ((W[a] = void 0), Oa.push(a));+ }+ function X(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Oa.length ? Oa.pop() : W.length;+ W[b] = { M: 1, value: a };+ return b;+ }+ }+ function Qa(a) {+ return this.fromWireType(H[a >> 2]);+ }+ function Ra(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Sa(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(pa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(qa[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Ta(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Ha(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Ua(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Va(a, b) {+ var c = e;+ if (void 0 === c[a].I) {+ var d = c[a];+ c[a] = function () {+ c[a].I.hasOwnProperty(arguments.length) ||+ U(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].I ++ ')!',+ );+ return c[a].I[arguments.length].apply(this, arguments);+ };+ c[a].I = [];+ c[a].I[d.O] = d;+ }+ }+ function Wa(a, b, c) {+ e.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== e[a].I && void 0 !== e[a].I[c])) &&+ U("Cannot register public name '" + a + "' twice"),+ Va(a, a),+ e.hasOwnProperty(c) &&+ U(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (e[a].I[c] = b))+ : ((e[a] = b), void 0 !== c && (e[a].Z = c));+ }+ function Xa(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(E[(b >> 2) + d]);+ return c;+ }+ function Ya(a, b) {+ 0 <= a.indexOf('j') ||+ y('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var f;+ -1 != a.indexOf('j')+ ? (f =+ c && c.length+ ? e['dynCall_' + a].apply(null, [b].concat(c))+ : e['dynCall_' + a].call(null, b))+ : (f = J.get(b).apply(null, c));+ return f;+ };+ }+ function Za(a, b) {+ a = Q(a);+ var c = -1 != a.indexOf('j') ? Ya(a, b) : J.get(b);+ 'function' !== typeof c &&+ U('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var $a = void 0;+ function ab(a) {+ a = bb(a);+ var b = Q(a);+ Y(a);+ return b;+ }+ function cb(a, b) {+ function c(g) {+ f[g] || S[g] || (T[g] ? T[g].forEach(c) : (d.push(g), (f[g] = !0)));+ }+ var d = [],+ f = {};+ b.forEach(c);+ throw new $a(a + ': ' + d.map(ab).join([', ']));+ }+ function db(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return G[d];+ }+ : function (d) {+ return A[d];+ };+ case 1:+ return c+ ? function (d) {+ return D[d >> 1];+ }+ : function (d) {+ return B[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return E[d >> 2];+ }+ : function (d) {+ return H[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var eb = {};+ function fb() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function gb(a, b) {+ var c = S[a];+ void 0 === c && U(b + ' has unknown type ' + ab(a));+ return c;+ }+ for (var hb = {}, ib = [null, [], []], jb = Array(256), Z = 0; 256 > Z; ++Z)+ jb[Z] = String.fromCharCode(Z);+ Fa = jb;+ Ja = e.BindingError = Ia('BindingError');+ Ka = e.InternalError = Ia('InternalError');+ e.count_emval_handles = function () {+ for (var a = 0, b = 5; b < W.length; ++b) void 0 !== W[b] && ++a;+ return a;+ };+ e.get_first_emval = function () {+ for (var a = 5; a < W.length; ++a) if (void 0 !== W[a]) return W[a];+ return null;+ };+ $a = e.UnboundTypeError = Ia('UnboundTypeError');+ ua.push({+ P: function () {+ kb();+ },+ });+ var mb = {+ s: function (a) {+ return lb(a + 16) + 16;+ },+ g: function () {},+ r: function (a, b, c) {+ new Da(a).S(b, c);+ 'uncaught_exception' in P ? P.N++ : (P.N = 1);+ throw a;+ },+ x: function (a, b, c, d, f) {+ var g = Ea(c);+ b = Q(b);+ V(a, {+ name: b,+ fromWireType: function (l) {+ return !!l;+ },+ toWireType: function (l, h) {+ return h ? d : f;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (l) {+ if (1 === c) var h = G;+ else if (2 === c) h = D;+ else if (4 === c) h = E;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(h[l >> g]);+ },+ J: null,+ });+ },+ w: function (a, b) {+ b = Q(b);+ V(a, {+ name: b,+ fromWireType: function (c) {+ var d = W[c].value;+ Pa(c);+ return d;+ },+ toWireType: function (c, d) {+ return X(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Qa,+ J: null,+ });+ },+ m: function (a, b, c) {+ c = Ea(c);+ b = Q(b);+ V(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, f) {+ if ('number' !== typeof f && 'boolean' !== typeof f)+ throw new TypeError(+ 'Cannot convert "' + Ra(f) + '" to ' + this.name,+ );+ return f;+ },+ argPackAdvance: 8,+ readValueFromPointer: Sa(b, c),+ J: null,+ });+ },+ t: function (a, b, c, d, f, g) {+ var l = Xa(b, c);+ a = Q(a);+ f = Za(d, f);+ Wa(+ a,+ function () {+ cb('Cannot call ' + a + ' due to unbound types', l);+ },+ b - 1,+ );+ La(l, function (h) {+ var p = a,+ k = a;+ h = [h[0], null].concat(h.slice(1));+ var m = f,+ q = h.length;+ 2 > q &&+ U(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var x = null !== h[1] && !1, C = !1, n = 1; n < h.length; ++n)+ if (null !== h[n] && void 0 === h[n].J) {+ C = !0;+ break;+ }+ var Ma = 'void' !== h[0].name,+ I = '',+ M = '';+ for (n = 0; n < q - 2; ++n)+ (I += (0 !== n ? ', ' : '') + 'arg' + n),+ (M += (0 !== n ? ', ' : '') + 'arg' + n + 'Wired');+ k =+ 'return function ' ++ Ga(k) ++ '(' ++ I ++ ') {\nif (arguments.length !== ' ++ (q - 2) ++ ") {\nthrowBindingError('function " ++ k ++ " called with ' + arguments.length + ' arguments, expected " ++ (q - 2) ++ " args!');\n}\n";+ C && (k += 'var destructors = [];\n');+ var Na = C ? 'destructors' : 'null';+ I = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ m = [U, m, g, Ua, h[0], h[1]];+ x &&+ (k += 'var thisWired = classParam.toWireType(' + Na + ', this);\n');+ for (n = 0; n < q - 2; ++n)+ (k +=+ 'var arg' ++ n ++ 'Wired = argType' ++ n ++ '.toWireType(' ++ Na ++ ', arg' ++ n ++ '); // ' ++ h[n + 2].name ++ '\n'),+ I.push('argType' + n),+ m.push(h[n + 2]);+ x && (M = 'thisWired' + (0 < M.length ? ', ' : '') + M);+ k +=+ (Ma ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < M.length ? ', ' : '') ++ M ++ ');\n';+ if (C) k += 'runDestructors(destructors);\n';+ else+ for (n = x ? 1 : 2; n < h.length; ++n)+ (q = 1 === n ? 'thisWired' : 'arg' + (n - 2) + 'Wired'),+ null !== h[n].J &&+ ((k += q + '_dtor(' + q + '); // ' + h[n].name + '\n'),+ I.push(q + '_dtor'),+ m.push(h[n].J));+ Ma && (k += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ I.push(k + '}\n');+ h = Ta(I).apply(null, m);+ n = b - 1;+ if (!e.hasOwnProperty(p))+ throw new Ka('Replacing nonexistant public symbol');+ void 0 !== e[p].I && void 0 !== n+ ? (e[p].I[n] = h)+ : ((e[p] = h), (e[p].O = n));+ return [];+ });+ },+ c: function (a, b, c, d, f) {+ function g(k) {+ return k;+ }+ b = Q(b);+ -1 === f && (f = 4294967295);+ var l = Ea(c);+ if (0 === d) {+ var h = 32 - 8 * c;+ g = function (k) {+ return (k << h) >>> h;+ };+ }+ var p = -1 != b.indexOf('unsigned');+ V(a, {+ name: b,+ fromWireType: g,+ toWireType: function (k, m) {+ if ('number' !== typeof m && 'boolean' !== typeof m)+ throw new TypeError(+ 'Cannot convert "' + Ra(m) + '" to ' + this.name,+ );+ if (m < d || m > f)+ throw new TypeError(+ 'Passing a number "' ++ Ra(m) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ f ++ ']!',+ );+ return p ? m >>> 0 : m | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: db(b, l, 0 !== d),+ J: null,+ });+ },+ b: function (a, b, c) {+ function d(g) {+ g >>= 2;+ var l = H;+ return new f(F, l[g + 1], l[g]);+ }+ var f = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = Q(c);+ V(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { R: !0 },+ );+ },+ n: function (a, b) {+ b = Q(b);+ var c = 'std::string' === b;+ V(a, {+ name: b,+ fromWireType: function (d) {+ var f = H[d >> 2];+ if (c)+ for (var g = d + 4, l = 0; l <= f; ++l) {+ var h = d + 4 + l;+ if (l == f || 0 == A[h]) {+ if (g) {+ for (var p = g + (h - g), k = g; !(k >= p) && A[k]; ) ++k;+ g = fa.decode(A.subarray(g, k));+ } else g = '';+ if (void 0 === m) var m = g;+ else (m += String.fromCharCode(0)), (m += g);+ g = h + 1;+ }+ }+ else {+ m = Array(f);+ for (l = 0; l < f; ++l) m[l] = String.fromCharCode(A[d + 4 + l]);+ m = m.join('');+ }+ Y(d);+ return m;+ },+ toWireType: function (d, f) {+ f instanceof ArrayBuffer && (f = new Uint8Array(f));+ var g = 'string' === typeof f;+ g ||+ f instanceof Uint8Array ||+ f instanceof Uint8ClampedArray ||+ f instanceof Int8Array ||+ U('Cannot pass non-string to std::string');+ var l = (c && g+ ? function () {+ for (var k = 0, m = 0; m < f.length; ++m) {+ var q = f.charCodeAt(m);+ 55296 <= q &&+ 57343 >= q &&+ (q =+ (65536 + ((q & 1023) << 10)) |+ (f.charCodeAt(++m) & 1023));+ 127 >= q+ ? ++k+ : (k = 2047 >= q ? k + 2 : 65535 >= q ? k + 3 : k + 4);+ }+ return k;+ }+ : function () {+ return f.length;+ })(),+ h = lb(4 + l + 1);+ H[h >> 2] = l;+ if (c && g) ha(f, h + 4, l + 1);+ else if (g)+ for (g = 0; g < l; ++g) {+ var p = f.charCodeAt(g);+ 255 < p &&+ (Y(h),+ U('String has UTF-16 code units that do not fit in 8 bits'));+ A[h + 4 + g] = p;+ }+ else for (g = 0; g < l; ++g) A[h + 4 + g] = f[g];+ null !== d && d.push(Y, h);+ return h;+ },+ argPackAdvance: 8,+ readValueFromPointer: Qa,+ J: function (d) {+ Y(d);+ },+ });+ },+ h: function (a, b, c) {+ c = Q(c);+ if (2 === b) {+ var d = ja;+ var f = ka;+ var g = la;+ var l = function () {+ return B;+ };+ var h = 1;+ } else+ 4 === b &&+ ((d = ma),+ (f = na),+ (g = oa),+ (l = function () {+ return H;+ }),+ (h = 2));+ V(a, {+ name: c,+ fromWireType: function (p) {+ for (var k = H[p >> 2], m = l(), q, x = p + 4, C = 0; C <= k; ++C) {+ var n = p + 4 + C * b;+ if (C == k || 0 == m[n >> h])+ (x = d(x, n - x)),+ void 0 === q+ ? (q = x)+ : ((q += String.fromCharCode(0)), (q += x)),+ (x = n + b);+ }+ Y(p);+ return q;+ },+ toWireType: function (p, k) {+ 'string' !== typeof k &&+ U('Cannot pass non-string to C++ string type ' + c);+ var m = g(k),+ q = lb(4 + m + b);+ H[q >> 2] = m >> h;+ f(k, q + 4, m + b);+ null !== p && p.push(Y, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Qa,+ J: function (p) {+ Y(p);+ },+ });+ },+ y: function (a, b) {+ b = Q(b);+ V(a, {+ Y: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ e: Pa,+ f: function (a) {+ if (0 === a) return X(fb());+ var b = eb[a];+ a = void 0 === b ? Q(a) : b;+ return X(fb()[a]);+ },+ i: function (a) {+ 4 < a && (W[a].M += 1);+ },+ j: function (a, b, c, d) {+ a || U('Cannot use deleted val. handle = ' + a);+ a = W[a].value;+ var f = hb[b];+ if (!f) {+ f = '';+ for (var g = 0; g < b; ++g) f += (0 !== g ? ', ' : '') + 'arg' + g;+ var l =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (g = 0; g < b; ++g)+ l +=+ 'var argType' ++ g ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ g ++ '], "parameter ' ++ g ++ '");\nvar arg' ++ g ++ ' = argType' ++ g ++ '.readValueFromPointer(args);\nargs += argType' ++ g ++ "['argPackAdvance'];\n";+ f = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ l ++ ('var obj = new constructor(' ++ f ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(gb, e, X);+ hb[b] = f;+ }+ return f(a, c, d);+ },+ k: function () {+ y();+ },+ v: function (a, b, c) {+ A.copyWithin(a, b, b + c);+ },+ d: function (a) {+ a >>>= 0;+ var b = A.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ z.grow((Math.min(2147483648, d) - F.byteLength + 65535) >>> 16);+ ra(z.buffer);+ var f = 1;+ break a;+ } catch (g) {}+ f = void 0;+ }+ if (f) return !0;+ }+ return !1;+ },+ l: function (a, b, c, d) {+ for (var f = 0, g = 0; g < c; g++) {+ for (+ var l = E[(b + 8 * g) >> 2], h = E[(b + (8 * g + 4)) >> 2], p = 0;+ p < h;+ p+++ ) {+ var k = A[l + p],+ m = ib[a];+ if (0 === k || 10 === k) {+ for (k = 0; m[k] && !(NaN <= k); ) ++k;+ k = fa.decode(+ m.subarray ? m.subarray(0, k) : new Uint8Array(m.slice(0, k)),+ );+ (1 === a ? da : v)(k);+ m.length = 0;+ } else m.push(k);+ }+ f += h;+ }+ E[d >> 2] = f;+ return 0;+ },+ a: z,+ o: function () {+ return 0;+ },+ q: function () {+ return 0;+ },+ p: function () {},+ A: function () {+ return 6;+ },+ z: function () {},+ u: function () {},+ };+ (function () {+ function a(f) {+ e.asm = f.exports;+ J = e.asm.B;+ K--;+ e.monitorRunDependencies && e.monitorRunDependencies(K);+ 0 == K &&+ (null !== ya && (clearInterval(ya), (ya = null)),+ L && ((f = L), (L = null), f()));+ }+ function b(f) {+ a(f.instance);+ }+ function c(f) {+ return Ca()+ .then(function (g) {+ return WebAssembly.instantiate(g, d);+ })+ .then(f, function (g) {+ v('failed to asynchronously prepare wasm: ' + g);+ y(g);+ });+ }+ var d = { a: mb };+ K++;+ e.monitorRunDependencies && e.monitorRunDependencies(K);+ if (e.instantiateWasm)+ try {+ return e.instantiateWasm(d, a);+ } catch (f) {+ return (+ v('Module.instantiateWasm callback failed with error: ' + f), !1+ );+ }+ (function () {+ return w ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ za() ||+ 'function' !== typeof fetch+ ? c(b)+ : fetch(N, { credentials: 'same-origin' }).then(function (f) {+ return WebAssembly.instantiateStreaming(f, d).then(b, function (+ g,+ ) {+ v('wasm streaming compile failed: ' + g);+ v('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })().catch(ba);+ return {};+ })();+ var kb = (e.___wasm_call_ctors = function () {+ return (kb = e.___wasm_call_ctors = e.asm.C).apply(null, arguments);+ }),+ lb = (e._malloc = function () {+ return (lb = e._malloc = e.asm.D).apply(null, arguments);+ }),+ Y = (e._free = function () {+ return (Y = e._free = e.asm.E).apply(null, arguments);+ }),+ bb = (e.___getTypeName = function () {+ return (bb = e.___getTypeName = e.asm.F).apply(null, arguments);+ });+ e.___embind_register_native_and_builtin_types = function () {+ return (e.___embind_register_native_and_builtin_types = e.asm.G).apply(+ null,+ arguments,+ );+ };+ e.dynCall_jiji = function () {+ return (e.dynCall_jiji = e.asm.H).apply(null, arguments);+ };+ var nb;+ L = function ob() {+ nb || pb();+ nb || (L = ob);+ };+ function pb() {+ function a() {+ if (!nb && ((nb = !0), (e.calledRun = !0), !ea)) {+ O(ua);+ O(va);+ aa(e);+ if (e.onRuntimeInitialized) e.onRuntimeInitialized();+ if (e.postRun)+ for (+ 'function' == typeof e.postRun && (e.postRun = [e.postRun]);+ e.postRun.length;++ ) {+ var b = e.postRun.shift();+ wa.unshift(b);+ }+ O(wa);+ }+ }+ if (!(0 < K)) {+ if (e.preRun)+ for (+ 'function' == typeof e.preRun && (e.preRun = [e.preRun]);+ e.preRun.length;++ )+ xa();+ O(ta);+ 0 < K ||+ (e.setStatus+ ? (e.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ e.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ e.run = pb;+ if (e.preInit)+ for (+ 'function' == typeof e.preInit && (e.preInit = [e.preInit]);+ 0 < e.preInit.length;++ )+ e.preInit.pop()();+ noExitRuntime = !0;+ pb();++ return wp2_dec.ready;+ };+})();+export default wp2_dec;diff --git a/codecs/wp2/dec/wp2_dec.wasm b/codecs/wp2/dec/wp2_dec.wasmnew file mode 100755index 00000000..b3e471abBinary files /dev/null and b/codecs/wp2/dec/wp2_dec.wasm differdiff --git a/codecs/wp2/enc/README.md b/codecs/wp2/enc/README.mdnew file mode 100644index 00000000..82a5469c--- /dev/null+++ b/codecs/wp2/enc/README.md@@ -0,0 +1,17 @@+# WebP2 encoder++- Source: <https://chromium.googlesource.com/codecs/libwebp2>++## Dependencies++- Docker++## Example++N/A++## API++### `UInt8Array encode(uint8_t* image_buffer, int image_width, int image_height, WP2::EncoderConfig config)`++Encodes the given image with given dimension to WebP2.diff --git a/codecs/wp2/enc/wp2_enc.cpp b/codecs/wp2/enc/wp2_enc.cppnew file mode 100644index 00000000..3066101b--- /dev/null+++ b/codecs/wp2/enc/wp2_enc.cpp@@ -0,0 +1,38 @@+#include <emscripten/bind.h>+#include <emscripten/val.h>+#include <cstdio>+#include "src/wp2/encode.h"++using namespace emscripten;++thread_local const val Uint8Array = val::global("Uint8Array");++val encode(std::string image_in, int image_width, int image_height, WP2::EncoderConfig config) {+ uint8_t* image_buffer = (uint8_t*)image_in.c_str();+ WP2::ArgbBuffer src = WP2::ArgbBuffer();+ WP2Status status =+ src.Import(WP2_rgbA_32, // Format. WP2_RGBA_32 is the same but NOT premultiplied alpha+ image_width, image_height, image_buffer, 4 * image_width);+ if (status != WP2_STATUS_OK) {+ return val::null();+ }++ WP2::MemoryWriter memory_writer;+ status = WP2::Encode(src, &memory_writer, config);+ if (status != WP2_STATUS_OK) {+ return val::null();+ }++ return Uint8Array.new_(typed_memory_view(memory_writer.size_, memory_writer.mem_));+}++EMSCRIPTEN_BINDINGS(my_module) {+ value_object<WP2::EncoderConfig>("WP2EncoderConfig")+ .field("quality", &WP2::EncoderConfig::quality)+ .field("alpha_quality", &WP2::EncoderConfig::alpha_quality)+ .field("speed", &WP2::EncoderConfig::speed)+ .field("pass", &WP2::EncoderConfig::pass)+ .field("sns", &WP2::EncoderConfig::sns);++ function("encode", &encode);+}diff --git a/codecs/wp2/enc/wp2_enc.d.ts b/codecs/wp2/enc/wp2_enc.d.tsnew file mode 100644index 00000000..8e9fef9e--- /dev/null+++ b/codecs/wp2/enc/wp2_enc.d.ts@@ -0,0 +1,20 @@+export interface EncodeOptions {+ quality: number;+ alpha_quality: number;+ speed: number;+ pass: number;+ sns: number;+}++export interface WP2Module extends EmscriptenWasm.Module {+ encode(+ data: BufferSource,+ width: number,+ height: number,+ options: EncodeOptions,+ ): Uint8Array | null;+}++declare var moduleFactory: EmscriptenWasm.ModuleFactory<WP2Module>;++export default moduleFactory;diff --git a/codecs/wp2/enc/wp2_enc.js b/codecs/wp2/enc/wp2_enc.jsnew file mode 100644index 00000000..ba9f9140--- /dev/null+++ b/codecs/wp2/enc/wp2_enc.js@@ -0,0 +1,1277 @@+var wp2_enc = (function () {+ var _scriptDir = import.meta.url;++ return function (wp2_enc) {+ wp2_enc = wp2_enc || {};++ var f;+ f || (f = typeof wp2_enc !== 'undefined' ? wp2_enc : {});+ var aa, ba;+ f.ready = new Promise(function (a, b) {+ aa = a;+ ba = b;+ });+ var r = {},+ t;+ for (t in f) f.hasOwnProperty(t) && (r[t] = f[t]);+ var u = '',+ ca;+ u = self.location.href;+ _scriptDir && (u = _scriptDir);+ 0 !== u.indexOf('blob:')+ ? (u = u.substr(0, u.lastIndexOf('/') + 1))+ : (u = '');+ ca = function (a) {+ var b = new XMLHttpRequest();+ b.open('GET', a, !1);+ b.responseType = 'arraybuffer';+ b.send(null);+ return new Uint8Array(b.response);+ };+ var da = f.print || console.log.bind(console),+ v = f.printErr || console.warn.bind(console);+ for (t in r) r.hasOwnProperty(t) && (f[t] = r[t]);+ r = null;+ var w;+ f.wasmBinary && (w = f.wasmBinary);+ var noExitRuntime;+ f.noExitRuntime && (noExitRuntime = f.noExitRuntime);+ 'object' !== typeof WebAssembly && A('no native wasm support detected');+ var B,+ ea = !1,+ fa = new TextDecoder('utf8');+ function C(a, b) {+ if (!a) return '';+ b = a + b;+ for (var c = a; !(c >= b) && D[c]; ) ++c;+ return fa.decode(D.subarray(a, c));+ }+ function ia(a, b, c) {+ var d = D;+ if (0 < c) {+ c = b + c - 1;+ for (var e = 0; e < a.length; ++e) {+ var g = a.charCodeAt(e);+ if (55296 <= g && 57343 >= g) {+ var m = a.charCodeAt(++e);+ g = (65536 + ((g & 1023) << 10)) | (m & 1023);+ }+ if (127 >= g) {+ if (b >= c) break;+ d[b++] = g;+ } else {+ if (2047 >= g) {+ if (b + 1 >= c) break;+ d[b++] = 192 | (g >> 6);+ } else {+ if (65535 >= g) {+ if (b + 2 >= c) break;+ d[b++] = 224 | (g >> 12);+ } else {+ if (b + 3 >= c) break;+ d[b++] = 240 | (g >> 18);+ d[b++] = 128 | ((g >> 12) & 63);+ }+ d[b++] = 128 | ((g >> 6) & 63);+ }+ d[b++] = 128 | (g & 63);+ }+ }+ d[b] = 0;+ }+ }+ var ja = new TextDecoder('utf-16le');+ function ka(a, b) {+ var c = a >> 1;+ for (b = c + b / 2; !(c >= b) && E[c]; ) ++c;+ return ja.decode(D.subarray(a, c << 1));+ }+ function la(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (2 > c) return 0;+ c -= 2;+ var d = b;+ c = c < 2 * a.length ? c / 2 : a.length;+ for (var e = 0; e < c; ++e) (G[b >> 1] = a.charCodeAt(e)), (b += 2);+ G[b >> 1] = 0;+ return b - d;+ }+ function ma(a) {+ return 2 * a.length;+ }+ function na(a, b) {+ for (var c = 0, d = ''; !(c >= b / 4); ) {+ var e = H[(a + 4 * c) >> 2];+ if (0 == e) break;+ ++c;+ 65536 <= e+ ? ((e -= 65536),+ (d += String.fromCharCode(55296 | (e >> 10), 56320 | (e & 1023))))+ : (d += String.fromCharCode(e));+ }+ return d;+ }+ function oa(a, b, c) {+ void 0 === c && (c = 2147483647);+ if (4 > c) return 0;+ var d = b;+ c = d + c - 4;+ for (var e = 0; e < a.length; ++e) {+ var g = a.charCodeAt(e);+ if (55296 <= g && 57343 >= g) {+ var m = a.charCodeAt(++e);+ g = (65536 + ((g & 1023) << 10)) | (m & 1023);+ }+ H[b >> 2] = g;+ b += 4;+ if (b + 4 > c) break;+ }+ H[b >> 2] = 0;+ return b - d;+ }+ function pa(a) {+ for (var b = 0, c = 0; c < a.length; ++c) {+ var d = a.charCodeAt(c);+ 55296 <= d && 57343 >= d && ++c;+ b += 4;+ }+ return b;+ }+ var I, J, D, G, E, H, K, qa, ra;+ function sa(a) {+ I = a;+ f.HEAP8 = J = new Int8Array(a);+ f.HEAP16 = G = new Int16Array(a);+ f.HEAP32 = H = new Int32Array(a);+ f.HEAPU8 = D = new Uint8Array(a);+ f.HEAPU16 = E = new Uint16Array(a);+ f.HEAPU32 = K = new Uint32Array(a);+ f.HEAPF32 = qa = new Float32Array(a);+ f.HEAPF64 = ra = new Float64Array(a);+ }+ var ta = f.INITIAL_MEMORY || 16777216;+ f.wasmMemory+ ? (B = f.wasmMemory)+ : (B = new WebAssembly.Memory({ initial: ta / 65536, maximum: 32768 }));+ B && (I = B.buffer);+ ta = I.byteLength;+ sa(I);+ var L,+ ua = [],+ va = [],+ wa = [],+ xa = [];+ function ya() {+ var a = f.preRun.shift();+ ua.unshift(a);+ }+ var M = 0,+ za = null,+ N = null;+ f.preloadedImages = {};+ f.preloadedAudios = {};+ function A(a) {+ if (f.onAbort) f.onAbort(a);+ v(a);+ ea = !0;+ a = new WebAssembly.RuntimeError(+ 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.',+ );+ ba(a);+ throw a;+ }+ function Aa() {+ var a = O;+ return String.prototype.startsWith+ ? a.startsWith('data:application/octet-stream;base64,')+ : 0 === a.indexOf('data:application/octet-stream;base64,');+ }+ var O = 'wp2_enc.wasm';+ if (!Aa()) {+ var Ba = O;+ O = f.locateFile ? f.locateFile(Ba, u) : u + Ba;+ }+ function Ca() {+ try {+ if (w) return new Uint8Array(w);+ if (ca) return ca(O);+ throw 'both async and sync fetching of the wasm failed';+ } catch (a) {+ A(a);+ }+ }+ function Da() {+ return w || 'function' !== typeof fetch+ ? Promise.resolve().then(Ca)+ : fetch(O, { credentials: 'same-origin' })+ .then(function (a) {+ if (!a.ok) throw "failed to load wasm binary file at '" + O + "'";+ return a.arrayBuffer();+ })+ .catch(function () {+ return Ca();+ });+ }+ function P(a) {+ for (; 0 < a.length; ) {+ var b = a.shift();+ if ('function' == typeof b) b(f);+ else {+ var c = b.Y;+ 'number' === typeof c+ ? void 0 === b.S+ ? L.get(c)()+ : L.get(c)(b.S)+ : c(void 0 === b.S ? null : b.S);+ }+ }+ }+ function Ea(a) {+ this.R = a - 16;+ this.ja = function (b) {+ H[(this.R + 8) >> 2] = b;+ };+ this.ga = function (b) {+ H[(this.R + 0) >> 2] = b;+ };+ this.ha = function () {+ H[(this.R + 4) >> 2] = 0;+ };+ this.fa = function () {+ J[(this.R + 12) >> 0] = 0;+ };+ this.ia = function () {+ J[(this.R + 13) >> 0] = 0;+ };+ this.ca = function (b, c) {+ this.ja(b);+ this.ga(c);+ this.ha();+ this.fa();+ this.ia();+ };+ }+ function Q() {+ return 0 < Q.V;+ }+ var Fa = {};+ function Ga(a) {+ for (; a.length; ) {+ var b = a.pop();+ a.pop()(b);+ }+ }+ function Ha(a) {+ return this.fromWireType(K[a >> 2]);+ }+ var R = {},+ S = {},+ Ia = {};+ function Ja(a) {+ if (void 0 === a) return '_unknown';+ a = a.replace(/[^a-zA-Z0-9_]/g, '$');+ var b = a.charCodeAt(0);+ return 48 <= b && 57 >= b ? '_' + a : a;+ }+ function Ka(a, b) {+ a = Ja(a);+ return new Function(+ 'body',+ 'return function ' ++ a ++ '() {\n "use strict"; return body.apply(this, arguments);\n};\n',+ )(b);+ }+ function La(a) {+ var b = Error,+ c = Ka(a, function (d) {+ this.name = a;+ this.message = d;+ d = Error(d).stack;+ void 0 !== d &&+ (this.stack =+ this.toString() + '\n' + d.replace(/^Error(:[^\n]*)?\n/, ''));+ });+ c.prototype = Object.create(b.prototype);+ c.prototype.constructor = c;+ c.prototype.toString = function () {+ return void 0 === this.message+ ? this.name+ : this.name + ': ' + this.message;+ };+ return c;+ }+ var Ma = void 0;+ function Na(a, b, c) {+ function d(h) {+ h = c(h);+ if (h.length !== a.length)+ throw new Ma('Mismatched type converter count');+ for (var k = 0; k < a.length; ++k) T(a[k], h[k]);+ }+ a.forEach(function (h) {+ Ia[h] = b;+ });+ var e = Array(b.length),+ g = [],+ m = 0;+ b.forEach(function (h, k) {+ S.hasOwnProperty(h)+ ? (e[k] = S[h])+ : (g.push(h),+ R.hasOwnProperty(h) || (R[h] = []),+ R[h].push(function () {+ e[k] = S[h];+ ++m;+ m === g.length && d(e);+ }));+ });+ 0 === g.length && d(e);+ }+ function Oa(a) {+ switch (a) {+ case 1:+ return 0;+ case 2:+ return 1;+ case 4:+ return 2;+ case 8:+ return 3;+ default:+ throw new TypeError('Unknown type size: ' + a);+ }+ }+ var Pa = void 0;+ function U(a) {+ for (var b = ''; D[a]; ) b += Pa[D[a++]];+ return b;+ }+ var Qa = void 0;+ function W(a) {+ throw new Qa(a);+ }+ function T(a, b, c) {+ c = c || {};+ if (!('argPackAdvance' in b))+ throw new TypeError(+ 'registerType registeredInstance requires argPackAdvance',+ );+ var d = b.name;+ a || W('type "' + d + '" must have a positive integer typeid pointer');+ if (S.hasOwnProperty(a)) {+ if (c.ba) return;+ W("Cannot register type '" + d + "' twice");+ }+ S[a] = b;+ delete Ia[a];+ R.hasOwnProperty(a) &&+ ((b = R[a]),+ delete R[a],+ b.forEach(function (e) {+ e();+ }));+ }+ var Ra = [],+ X = [+ {},+ { value: void 0 },+ { value: null },+ { value: !0 },+ { value: !1 },+ ];+ function Sa(a) {+ 4 < a && 0 === --X[a].T && ((X[a] = void 0), Ra.push(a));+ }+ function Ta(a) {+ switch (a) {+ case void 0:+ return 1;+ case null:+ return 2;+ case !0:+ return 3;+ case !1:+ return 4;+ default:+ var b = Ra.length ? Ra.pop() : X.length;+ X[b] = { T: 1, value: a };+ return b;+ }+ }+ function Ua(a) {+ if (null === a) return 'null';+ var b = typeof a;+ return 'object' === b || 'array' === b || 'function' === b+ ? a.toString()+ : '' + a;+ }+ function Va(a, b) {+ switch (b) {+ case 2:+ return function (c) {+ return this.fromWireType(qa[c >> 2]);+ };+ case 3:+ return function (c) {+ return this.fromWireType(ra[c >> 3]);+ };+ default:+ throw new TypeError('Unknown float type: ' + a);+ }+ }+ function Wa(a) {+ var b = Function;+ if (!(b instanceof Function))+ throw new TypeError(+ 'new_ called with constructor type ' ++ typeof b ++ ' which is not a function',+ );+ var c = Ka(b.name || 'unknownFunctionName', function () {});+ c.prototype = b.prototype;+ c = new c();+ a = b.apply(c, a);+ return a instanceof Object ? a : c;+ }+ function Xa(a, b) {+ var c = f;+ if (void 0 === c[a].O) {+ var d = c[a];+ c[a] = function () {+ c[a].O.hasOwnProperty(arguments.length) ||+ W(+ "Function '" ++ b ++ "' called with an invalid number of arguments (" ++ arguments.length ++ ') - expects one of (' ++ c[a].O ++ ')!',+ );+ return c[a].O[arguments.length].apply(this, arguments);+ };+ c[a].O = [];+ c[a].O[d.W] = d;+ }+ }+ function Ya(a, b, c) {+ f.hasOwnProperty(a)+ ? ((void 0 === c || (void 0 !== f[a].O && void 0 !== f[a].O[c])) &&+ W("Cannot register public name '" + a + "' twice"),+ Xa(a, a),+ f.hasOwnProperty(c) &&+ W(+ 'Cannot register multiple overloads of a function with the same number of arguments (' ++ c ++ ')!',+ ),+ (f[a].O[c] = b))+ : ((f[a] = b), void 0 !== c && (f[a].oa = c));+ }+ function Za(a, b) {+ for (var c = [], d = 0; d < a; d++) c.push(H[(b >> 2) + d]);+ return c;+ }+ function $a(a, b) {+ 0 <= a.indexOf('j') ||+ A('Assertion failed: getDynCaller should only be called with i64 sigs');+ var c = [];+ return function () {+ c.length = arguments.length;+ for (var d = 0; d < arguments.length; d++) c[d] = arguments[d];+ var e;+ -1 != a.indexOf('j')+ ? (e =+ c && c.length+ ? f['dynCall_' + a].apply(null, [b].concat(c))+ : f['dynCall_' + a].call(null, b))+ : (e = L.get(b).apply(null, c));+ return e;+ };+ }+ function Y(a, b) {+ a = U(a);+ var c = -1 != a.indexOf('j') ? $a(a, b) : L.get(b);+ 'function' !== typeof c &&+ W('unknown function pointer with signature ' + a + ': ' + b);+ return c;+ }+ var ab = void 0;+ function bb(a) {+ a = cb(a);+ var b = U(a);+ Z(a);+ return b;+ }+ function db(a, b) {+ function c(g) {+ e[g] || S[g] || (Ia[g] ? Ia[g].forEach(c) : (d.push(g), (e[g] = !0)));+ }+ var d = [],+ e = {};+ b.forEach(c);+ throw new ab(a + ': ' + d.map(bb).join([', ']));+ }+ function eb(a, b, c) {+ switch (b) {+ case 0:+ return c+ ? function (d) {+ return J[d];+ }+ : function (d) {+ return D[d];+ };+ case 1:+ return c+ ? function (d) {+ return G[d >> 1];+ }+ : function (d) {+ return E[d >> 1];+ };+ case 2:+ return c+ ? function (d) {+ return H[d >> 2];+ }+ : function (d) {+ return K[d >> 2];+ };+ default:+ throw new TypeError('Unknown integer type: ' + a);+ }+ }+ var fb = {};+ function gb() {+ return 'object' === typeof globalThis+ ? globalThis+ : Function('return this')();+ }+ function hb(a, b) {+ var c = S[a];+ void 0 === c && W(b + ' has unknown type ' + bb(a));+ return c;+ }+ var ib = {},+ jb = [null, [], []];+ Ma = f.InternalError = La('InternalError');+ for (var kb = Array(256), lb = 0; 256 > lb; ++lb)+ kb[lb] = String.fromCharCode(lb);+ Pa = kb;+ Qa = f.BindingError = La('BindingError');+ f.count_emval_handles = function () {+ for (var a = 0, b = 5; b < X.length; ++b) void 0 !== X[b] && ++a;+ return a;+ };+ f.get_first_emval = function () {+ for (var a = 5; a < X.length; ++a) if (void 0 !== X[a]) return X[a];+ return null;+ };+ ab = f.UnboundTypeError = La('UnboundTypeError');+ va.push({+ Y: function () {+ mb();+ },+ });+ var ob = {+ p: function (a, b, c, d) {+ A(+ 'Assertion failed: ' ++ C(a) ++ ', at: ' ++ [b ? C(b) : 'unknown filename', c, d ? C(d) : 'unknown function'],+ );+ },+ A: function (a) {+ return nb(a + 16) + 16;+ },+ G: function () {},+ z: function (a, b, c) {+ new Ea(a).ca(b, c);+ 'uncaught_exception' in Q ? Q.V++ : (Q.V = 1);+ throw a;+ },+ o: function (a) {+ var b = Fa[a];+ delete Fa[a];+ var c = b.da,+ d = b.ea,+ e = b.U,+ g = e+ .map(function (m) {+ return m.aa;+ })+ .concat(+ e.map(function (m) {+ return m.la;+ }),+ );+ Na([a], g, function (m) {+ var h = {};+ e.forEach(function (k, l) {+ var n = m[l],+ q = k.Z,+ x = k.$,+ y = m[l + e.length],+ p = k.ka,+ ha = k.ma;+ h[k.X] = {+ read: function (z) {+ return n.fromWireType(q(x, z));+ },+ write: function (z, F) {+ var V = [];+ p(ha, z, y.toWireType(V, F));+ Ga(V);+ },+ };+ });+ return [+ {+ name: b.name,+ fromWireType: function (k) {+ var l = {},+ n;+ for (n in h) l[n] = h[n].read(k);+ d(k);+ return l;+ },+ toWireType: function (k, l) {+ for (var n in h)+ if (!(n in l))+ throw new TypeError('Missing field: "' + n + '"');+ var q = c();+ for (n in h) h[n].write(q, l[n]);+ null !== k && k.push(d, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ha,+ P: d,+ },+ ];+ });+ },+ x: function (a, b, c, d, e) {+ var g = Oa(c);+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (m) {+ return !!m;+ },+ toWireType: function (m, h) {+ return h ? d : e;+ },+ argPackAdvance: 8,+ readValueFromPointer: function (m) {+ if (1 === c) var h = J;+ else if (2 === c) h = G;+ else if (4 === c) h = H;+ else throw new TypeError('Unknown boolean type size: ' + b);+ return this.fromWireType(h[m >> g]);+ },+ P: null,+ });+ },+ w: function (a, b) {+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (c) {+ var d = X[c].value;+ Sa(c);+ return d;+ },+ toWireType: function (c, d) {+ return Ta(d);+ },+ argPackAdvance: 8,+ readValueFromPointer: Ha,+ P: null,+ });+ },+ i: function (a, b, c) {+ c = Oa(c);+ b = U(b);+ T(a, {+ name: b,+ fromWireType: function (d) {+ return d;+ },+ toWireType: function (d, e) {+ if ('number' !== typeof e && 'boolean' !== typeof e)+ throw new TypeError(+ 'Cannot convert "' + Ua(e) + '" to ' + this.name,+ );+ return e;+ },+ argPackAdvance: 8,+ readValueFromPointer: Va(b, c),+ P: null,+ });+ },+ n: function (a, b, c, d, e, g) {+ var m = Za(b, c);+ a = U(a);+ e = Y(d, e);+ Ya(+ a,+ function () {+ db('Cannot call ' + a + ' due to unbound types', m);+ },+ b - 1,+ );+ Na([], m, function (h) {+ var k = a,+ l = a;+ h = [h[0], null].concat(h.slice(1));+ var n = e,+ q = h.length;+ 2 > q &&+ W(+ "argTypes array size mismatch! Must at least get return value and 'this' types!",+ );+ for (var x = null !== h[1] && !1, y = !1, p = 1; p < h.length; ++p)+ if (null !== h[p] && void 0 === h[p].P) {+ y = !0;+ break;+ }+ var ha = 'void' !== h[0].name,+ z = '',+ F = '';+ for (p = 0; p < q - 2; ++p)+ (z += (0 !== p ? ', ' : '') + 'arg' + p),+ (F += (0 !== p ? ', ' : '') + 'arg' + p + 'Wired');+ l =+ 'return function ' ++ Ja(l) ++ '(' ++ z ++ ') {\nif (arguments.length !== ' ++ (q - 2) ++ ") {\nthrowBindingError('function " ++ l ++ " called with ' + arguments.length + ' arguments, expected " ++ (q - 2) ++ " args!');\n}\n";+ y && (l += 'var destructors = [];\n');+ var V = y ? 'destructors' : 'null';+ z = 'throwBindingError invoker fn runDestructors retType classParam'.split(+ ' ',+ );+ n = [W, n, g, Ga, h[0], h[1]];+ x &&+ (l += 'var thisWired = classParam.toWireType(' + V + ', this);\n');+ for (p = 0; p < q - 2; ++p)+ (l +=+ 'var arg' ++ p ++ 'Wired = argType' ++ p ++ '.toWireType(' ++ V ++ ', arg' ++ p ++ '); // ' ++ h[p + 2].name ++ '\n'),+ z.push('argType' + p),+ n.push(h[p + 2]);+ x && (F = 'thisWired' + (0 < F.length ? ', ' : '') + F);+ l +=+ (ha ? 'var rv = ' : '') ++ 'invoker(fn' ++ (0 < F.length ? ', ' : '') ++ F ++ ');\n';+ if (y) l += 'runDestructors(destructors);\n';+ else+ for (p = x ? 1 : 2; p < h.length; ++p)+ (q = 1 === p ? 'thisWired' : 'arg' + (p - 2) + 'Wired'),+ null !== h[p].P &&+ ((l += q + '_dtor(' + q + '); // ' + h[p].name + '\n'),+ z.push(q + '_dtor'),+ n.push(h[p].P));+ ha && (l += 'var ret = retType.fromWireType(rv);\nreturn ret;\n');+ z.push(l + '}\n');+ h = Wa(z).apply(null, n);+ p = b - 1;+ if (!f.hasOwnProperty(k))+ throw new Ma('Replacing nonexistant public symbol');+ void 0 !== f[k].O && void 0 !== p+ ? (f[k].O[p] = h)+ : ((f[k] = h), (f[k].W = p));+ return [];+ });+ },+ c: function (a, b, c, d, e) {+ function g(l) {+ return l;+ }+ b = U(b);+ -1 === e && (e = 4294967295);+ var m = Oa(c);+ if (0 === d) {+ var h = 32 - 8 * c;+ g = function (l) {+ return (l << h) >>> h;+ };+ }+ var k = -1 != b.indexOf('unsigned');+ T(a, {+ name: b,+ fromWireType: g,+ toWireType: function (l, n) {+ if ('number' !== typeof n && 'boolean' !== typeof n)+ throw new TypeError(+ 'Cannot convert "' + Ua(n) + '" to ' + this.name,+ );+ if (n < d || n > e)+ throw new TypeError(+ 'Passing a number "' ++ Ua(n) ++ '" from JS side to C/C++ side to an argument of type "' ++ b ++ '", which is outside the valid range [' ++ d ++ ', ' ++ e ++ ']!',+ );+ return k ? n >>> 0 : n | 0;+ },+ argPackAdvance: 8,+ readValueFromPointer: eb(b, m, 0 !== d),+ P: null,+ });+ },+ b: function (a, b, c) {+ function d(g) {+ g >>= 2;+ var m = K;+ return new e(I, m[g + 1], m[g]);+ }+ var e = [+ Int8Array,+ Uint8Array,+ Int16Array,+ Uint16Array,+ Int32Array,+ Uint32Array,+ Float32Array,+ Float64Array,+ ][b];+ c = U(c);+ T(+ a,+ {+ name: c,+ fromWireType: d,+ argPackAdvance: 8,+ readValueFromPointer: d,+ },+ { ba: !0 },+ );+ },+ k: function (a, b) {+ b = U(b);+ var c = 'std::string' === b;+ T(a, {+ name: b,+ fromWireType: function (d) {+ var e = K[d >> 2];+ if (c)+ for (var g = d + 4, m = 0; m <= e; ++m) {+ var h = d + 4 + m;+ if (m == e || 0 == D[h]) {+ g = C(g, h - g);+ if (void 0 === k) var k = g;+ else (k += String.fromCharCode(0)), (k += g);+ g = h + 1;+ }+ }+ else {+ k = Array(e);+ for (m = 0; m < e; ++m) k[m] = String.fromCharCode(D[d + 4 + m]);+ k = k.join('');+ }+ Z(d);+ return k;+ },+ toWireType: function (d, e) {+ e instanceof ArrayBuffer && (e = new Uint8Array(e));+ var g = 'string' === typeof e;+ g ||+ e instanceof Uint8Array ||+ e instanceof Uint8ClampedArray ||+ e instanceof Int8Array ||+ W('Cannot pass non-string to std::string');+ var m = (c && g+ ? function () {+ for (var l = 0, n = 0; n < e.length; ++n) {+ var q = e.charCodeAt(n);+ 55296 <= q &&+ 57343 >= q &&+ (q =+ (65536 + ((q & 1023) << 10)) |+ (e.charCodeAt(++n) & 1023));+ 127 >= q+ ? ++l+ : (l = 2047 >= q ? l + 2 : 65535 >= q ? l + 3 : l + 4);+ }+ return l;+ }+ : function () {+ return e.length;+ })(),+ h = nb(4 + m + 1);+ K[h >> 2] = m;+ if (c && g) ia(e, h + 4, m + 1);+ else if (g)+ for (g = 0; g < m; ++g) {+ var k = e.charCodeAt(g);+ 255 < k &&+ (Z(h),+ W('String has UTF-16 code units that do not fit in 8 bits'));+ D[h + 4 + g] = k;+ }+ else for (g = 0; g < m; ++g) D[h + 4 + g] = e[g];+ null !== d && d.push(Z, h);+ return h;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ha,+ P: function (d) {+ Z(d);+ },+ });+ },+ f: function (a, b, c) {+ c = U(c);+ if (2 === b) {+ var d = ka;+ var e = la;+ var g = ma;+ var m = function () {+ return E;+ };+ var h = 1;+ } else+ 4 === b &&+ ((d = na),+ (e = oa),+ (g = pa),+ (m = function () {+ return K;+ }),+ (h = 2));+ T(a, {+ name: c,+ fromWireType: function (k) {+ for (var l = K[k >> 2], n = m(), q, x = k + 4, y = 0; y <= l; ++y) {+ var p = k + 4 + y * b;+ if (y == l || 0 == n[p >> h])+ (x = d(x, p - x)),+ void 0 === q+ ? (q = x)+ : ((q += String.fromCharCode(0)), (q += x)),+ (x = p + b);+ }+ Z(k);+ return q;+ },+ toWireType: function (k, l) {+ 'string' !== typeof l &&+ W('Cannot pass non-string to C++ string type ' + c);+ var n = g(l),+ q = nb(4 + n + b);+ K[q >> 2] = n >> h;+ e(l, q + 4, n + b);+ null !== k && k.push(Z, q);+ return q;+ },+ argPackAdvance: 8,+ readValueFromPointer: Ha,+ P: function (k) {+ Z(k);+ },+ });+ },+ q: function (a, b, c, d, e, g) {+ Fa[a] = { name: U(b), da: Y(c, d), ea: Y(e, g), U: [] };+ },+ e: function (a, b, c, d, e, g, m, h, k, l) {+ Fa[a].U.push({+ X: U(b),+ aa: c,+ Z: Y(d, e),+ $: g,+ la: m,+ ka: Y(h, k),+ ma: l,+ });+ },+ y: function (a, b) {+ b = U(b);+ T(a, {+ na: !0,+ name: b,+ argPackAdvance: 0,+ fromWireType: function () {},+ toWireType: function () {},+ });+ },+ j: Sa,+ F: function (a) {+ if (0 === a) return Ta(gb());+ var b = fb[a];+ a = void 0 === b ? U(a) : b;+ return Ta(gb()[a]);+ },+ m: function (a) {+ 4 < a && (X[a].T += 1);+ },+ t: function (a, b, c, d) {+ a || W('Cannot use deleted val. handle = ' + a);+ a = X[a].value;+ var e = ib[b];+ if (!e) {+ e = '';+ for (var g = 0; g < b; ++g) e += (0 !== g ? ', ' : '') + 'arg' + g;+ var m =+ 'return function emval_allocator_' ++ b ++ '(constructor, argTypes, args) {\n';+ for (g = 0; g < b; ++g)+ m +=+ 'var argType' ++ g ++ " = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + " ++ g ++ '], "parameter ' ++ g ++ '");\nvar arg' ++ g ++ ' = argType' ++ g ++ '.readValueFromPointer(args);\nargs += argType' ++ g ++ "['argPackAdvance'];\n";+ e = new Function(+ 'requireRegisteredType',+ 'Module',+ '__emval_register',+ m ++ ('var obj = new constructor(' ++ e ++ ');\nreturn __emval_register(obj);\n}\n'),+ )(hb, f, Ta);+ ib[b] = e;+ }+ return e(a, c, d);+ },+ g: function () {+ A();+ },+ u: function (a, b, c) {+ D.copyWithin(a, b, b + c);+ },+ d: function (a) {+ a >>>= 0;+ var b = D.length;+ if (2147483648 < a) return !1;+ for (var c = 1; 4 >= c; c *= 2) {+ var d = b * (1 + 0.2 / c);+ d = Math.min(d, a + 100663296);+ d = Math.max(16777216, a, d);+ 0 < d % 65536 && (d += 65536 - (d % 65536));+ a: {+ try {+ B.grow((Math.min(2147483648, d) - I.byteLength + 65535) >>> 16);+ sa(B.buffer);+ var e = 1;+ break a;+ } catch (g) {}+ e = void 0;+ }+ if (e) return !0;+ }+ return !1;+ },+ v: function () {+ return 0;+ },+ r: function () {},+ h: function (a, b, c, d) {+ for (var e = 0, g = 0; g < c; g++) {+ for (+ var m = H[(b + 8 * g) >> 2], h = H[(b + (8 * g + 4)) >> 2], k = 0;+ k < h;+ k+++ ) {+ var l = D[m + k],+ n = jb[a];+ if (0 === l || 10 === l) {+ for (l = 0; n[l] && !(NaN <= l); ) ++l;+ l = fa.decode(+ n.subarray ? n.subarray(0, l) : new Uint8Array(n.slice(0, l)),+ );+ (1 === a ? da : v)(l);+ n.length = 0;+ } else n.push(l);+ }+ e += h;+ }+ H[d >> 2] = e;+ return 0;+ },+ a: B,+ l: function () {+ return 0;+ },+ E: function () {+ return 0;+ },+ D: function () {},+ C: function () {+ return 6;+ },+ B: function () {},+ s: function () {},+ };+ (function () {+ function a(e) {+ f.asm = e.exports;+ L = f.asm.H;+ M--;+ f.monitorRunDependencies && f.monitorRunDependencies(M);+ 0 == M &&+ (null !== za && (clearInterval(za), (za = null)),+ N && ((e = N), (N = null), e()));+ }+ function b(e) {+ a(e.instance);+ }+ function c(e) {+ return Da()+ .then(function (g) {+ return WebAssembly.instantiate(g, d);+ })+ .then(e, function (g) {+ v('failed to asynchronously prepare wasm: ' + g);+ A(g);+ });+ }+ var d = { a: ob };+ M++;+ f.monitorRunDependencies && f.monitorRunDependencies(M);+ if (f.instantiateWasm)+ try {+ return f.instantiateWasm(d, a);+ } catch (e) {+ return (+ v('Module.instantiateWasm callback failed with error: ' + e), !1+ );+ }+ (function () {+ return w ||+ 'function' !== typeof WebAssembly.instantiateStreaming ||+ Aa() ||+ 'function' !== typeof fetch+ ? c(b)+ : fetch(O, { credentials: 'same-origin' }).then(function (e) {+ return WebAssembly.instantiateStreaming(e, d).then(b, function (+ g,+ ) {+ v('wasm streaming compile failed: ' + g);+ v('falling back to ArrayBuffer instantiation');+ return c(b);+ });+ });+ })().catch(ba);+ return {};+ })();+ var mb = (f.___wasm_call_ctors = function () {+ return (mb = f.___wasm_call_ctors = f.asm.I).apply(null, arguments);+ }),+ nb = (f._malloc = function () {+ return (nb = f._malloc = f.asm.J).apply(null, arguments);+ }),+ Z = (f._free = function () {+ return (Z = f._free = f.asm.K).apply(null, arguments);+ }),+ cb = (f.___getTypeName = function () {+ return (cb = f.___getTypeName = f.asm.L).apply(null, arguments);+ });+ f.___embind_register_native_and_builtin_types = function () {+ return (f.___embind_register_native_and_builtin_types = f.asm.M).apply(+ null,+ arguments,+ );+ };+ f.dynCall_jiji = function () {+ return (f.dynCall_jiji = f.asm.N).apply(null, arguments);+ };+ var pb;+ N = function qb() {+ pb || rb();+ pb || (N = qb);+ };+ function rb() {+ function a() {+ if (!pb && ((pb = !0), (f.calledRun = !0), !ea)) {+ P(va);+ P(wa);+ aa(f);+ if (f.onRuntimeInitialized) f.onRuntimeInitialized();+ if (f.postRun)+ for (+ 'function' == typeof f.postRun && (f.postRun = [f.postRun]);+ f.postRun.length;++ ) {+ var b = f.postRun.shift();+ xa.unshift(b);+ }+ P(xa);+ }+ }+ if (!(0 < M)) {+ if (f.preRun)+ for (+ 'function' == typeof f.preRun && (f.preRun = [f.preRun]);+ f.preRun.length;++ )+ ya();+ P(ua);+ 0 < M ||+ (f.setStatus+ ? (f.setStatus('Running...'),+ setTimeout(function () {+ setTimeout(function () {+ f.setStatus('');+ }, 1);+ a();+ }, 1))+ : a());+ }+ }+ f.run = rb;+ if (f.preInit)+ for (+ 'function' == typeof f.preInit && (f.preInit = [f.preInit]);+ 0 < f.preInit.length;++ )+ f.preInit.pop()();+ noExitRuntime = !0;+ rb();++ return wp2_enc.ready;+ };+})();+export default wp2_enc;diff --git a/codecs/wp2/enc/wp2_enc.wasm b/codecs/wp2/enc/wp2_enc.wasmnew file mode 100755index 00000000..0157b60fBinary files /dev/null and b/codecs/wp2/enc/wp2_enc.wasm differdiff --git a/codecs/wp2/package.json b/codecs/wp2/package.jsonnew file mode 100644index 00000000..acc575b2--- /dev/null+++ b/codecs/wp2/package.json@@ -0,0 +1,6 @@+{+ "name": "wp2",+ "scripts": {+ "build": "../build-cpp.sh"+ }+}diff --git a/config/add-css-types.js b/config/add-css-types.jsdeleted file mode 100644index 97ef9a11..00000000--- a/config/add-css-types.js+++ /dev/null@@ -1,76 +0,0 @@-const DtsCreator = require('typed-css-modules');-const chokidar = require('chokidar');-const util = require('util');-const sass = require('node-sass');-const normalizePath = require('normalize-path');--const sassRender = util.promisify(sass.render);--async function sassToCss(path) {- const result = await sassRender({ file: path });- return result.css;-}--/**- * @typedef {Object} Opts- * @property {boolean} watch Watch for changes- */-/**- * Create typing files for CSS & SCSS.- *- * @param {string[]} rootPaths Paths to search within- * @param {Opts} [opts={}] Options.- */-function addCssTypes(rootPaths, opts = {}) {- return new Promise((resolve) => {- const { watch = false } = opts;-- const paths = [];- const preReadyPromises = [];- let ready = false;-- for (const rootPath of rootPaths) {- const rootPathUnix = normalizePath(rootPath);- // Look for scss & css in each path.- paths.push(rootPathUnix + '/**/*.scss');- paths.push(rootPathUnix + '/**/*.css');- }-- // For simplicity, the watcher is used even if we're not watching.- // If we're not watching, we stop the watcher after the initial files are found.- const watcher = chokidar.watch(paths, {- // Avoid processing already-processed files.- ignored: '*.d.*',- // Without this, travis and netlify builds never complete. I'm not sure why, but it might be- // related to https://github.com/paulmillr/chokidar/pull/758- persistent: watch,- });-- function change(path) {- const promise = (async function() {- const creator = new DtsCreator({ camelCase: true });- const result = path.endsWith('.scss') ?- await creator.create(path, await sassToCss(path)) :- await creator.create(path);-- await result.writeFile();- })();-- if (!ready) preReadyPromises.push(promise);- }-- watcher.on('change', change);- watcher.on('add', change);-- // 'ready' is when events have been fired for file discovery.- watcher.on('ready', () => {- ready = true;- // Wait for the current set of processing to finish.- Promise.all(preReadyPromises).then(resolve);- // And if we're not watching, close the watcher.- if (!watch) watcher.close();- });- });-}--module.exports = addCssTypes;diff --git a/config/asset-template-plugin.js b/config/asset-template-plugin.jsdeleted file mode 100644index fb882d3b..00000000--- a/config/asset-template-plugin.js+++ /dev/null@@ -1,47 +0,0 @@-const path = require('path');-const fs = require('fs');-const ejs = require('ejs');-const AssetsPlugin = require('assets-webpack-plugin');--module.exports = class AssetTemplatePlugin extends AssetsPlugin {- constructor(options) {- options = options || {};- if (!options.template) throw Error('AssetTemplatePlugin: template option is required.');- super({- useCompilerPath: true,- filename: options.filename,- processOutput: files => this._processOutput(files)- });- this._template = path.resolve(process.cwd(), options.template);- const ignore = options.ignore || /(manifest\.json|\.DS_Store)$/;- this._ignore = typeof ignore === 'function' ? ({ test: ignore }) : ignore;- }-- _processOutput(files) {- const mapping = {- all: [],- byType: {},- entries: {}- };- for (const entryName in files) {- // non-entry-point-derived assets are collected under an empty string key- // since that's a bit awkward, we'll call them "assets"- const name = entryName === '' ? 'assets' : entryName;- const listing = files[entryName];- const entry = mapping.entries[name] = {- all: [],- byType: {}- };- for (let type in listing) {- const list = [].concat(listing[type]).filter(file => !this._ignore.test(file));- if (!list.length) continue;- mapping.all = mapping.all.concat(list);- mapping.byType[type] = (mapping.byType[type] || []).concat(list);- entry.all = entry.all.concat(list);- entry.byType[type] = (entry.byType[type] || []).concat(list);- }- }- mapping.files = mapping.all;- return ejs.render(fs.readFileSync(this._template, 'utf8'), mapping);- }-};diff --git a/config/async-component-loader.js b/config/async-component-loader.jsdeleted file mode 100644index 90ca4cd3..00000000--- a/config/async-component-loader.js+++ /dev/null@@ -1,29 +0,0 @@-let loaderUtils = require('loader-utils');-let componentPath = require.resolve('./async-component');--module.exports = function () { };-module.exports.pitch = function (remainingRequest) {- this.cacheable && this.cacheable();- let query = loaderUtils.getOptions(this) || {};- let routeName = typeof query.name === 'function' ? query.name(this.resourcePath) : null;- let name;- if (routeName !== null) {- name = routeName;- }- else if ('name' in query) {- name = query.name;- }- else if ('formatName' in query) {- name = query.formatName(this.resourcePath);- }-- return `- import async from ${JSON.stringify(componentPath)};- function load(cb) {- require.ensure([], function (require) {- cb( require(${loaderUtils.stringifyRequest(this, '!!' + remainingRequest)}) );- }${name ? (', ' + JSON.stringify(name)) : ''});- }- export default async(load);- `;-};\ No newline at end of filediff --git a/config/async-component.js b/config/async-component.jsdeleted file mode 100644index b4dfc4d4..00000000--- a/config/async-component.js+++ /dev/null@@ -1,30 +0,0 @@-import { h, Component } from 'preact';--export default function (req) {- function Async() {- Component.call(this);-- let b, old;- this.componentWillMount = () => {- b = this.base = this.nextBase || this.__b; // short circuits 1st render- req(m => {- this.setState({ child: m.default || m });- });- };-- this.shouldComponentUpdate = (_, nxt) => {- nxt = nxt.child === void 0;- if (nxt && old === void 0 && !!b) {- old = h(b.nodeName, { dangerouslySetInnerHTML: { __html: b.innerHTML } });- }- else {- old = ''; // dump it- }- return !nxt;- };-- this.render = (p, s) => s.child ? h(s.child, p) : old;- }- (Async.prototype = new Component()).constructor = Async;- return Async;-}\ No newline at end of filediff --git a/config/auto-sw-plugin.js b/config/auto-sw-plugin.jsdeleted file mode 100644index 5223f254..00000000--- a/config/auto-sw-plugin.js+++ /dev/null@@ -1,158 +0,0 @@-const util = require('util');-const minimatch = require('minimatch');-const SingleEntryPlugin = require('webpack/lib/SingleEntryPlugin');-const WebWorkerTemplatePlugin = require('webpack/lib/webworker/WebWorkerTemplatePlugin');-const ParserHelpers = require('webpack/lib/ParserHelpers');--const NAME = 'auto-sw-plugin';-const JS_TYPES = ['auto', 'esm', 'dynamic'];--/**- * Automatically finds and bundles Service Workers by looking for navigator.serviceWorker.register(..).- * An Array of webpack assets is injected into the Service Worker bundle as a `BUILD_ASSETS` global.- * Hidden and `.map` files are excluded by default, and this can be customized using the include & exclude options.- * @example- * // webpack config- * plugins: [- * new AutoSWPlugin({- * exclude: [- * '**\/.*', // don't expose hidden files (default)- * '**\/*.map', // don't precache sourcemaps (default)- * 'index.html' // don't cache the page itself- * ]- * })- * ]- * @param {Object} [options={}]- * @param {string[]} [options.exclude] Minimatch pattern(s) of which assets to omit from BUILD_ASSETS.- * @param {string[]} [options.include] Minimatch pattern(s) of assets to allow in BUILD_ASSETS.- */-module.exports = class AutoSWPlugin {- constructor(options) {- this.options = Object.assign({- exclude: [- '**/*.map',- '**/.*'- ]- }, options || {});- }-- apply(compiler) {- const serviceWorkers = [];-- compiler.hooks.emit.tapPromise(NAME, compilation => this.emit(compiler, compilation, serviceWorkers));-- compiler.hooks.normalModuleFactory.tap(NAME, (factory) => {- for (const type of JS_TYPES) {- factory.hooks.parser.for(`javascript/${type}`).tap(NAME, parser => {- let counter = 0;-- const processRegisterCall = expr => {- const dep = parser.evaluateExpression(expr.arguments[0]);-- if (!dep.isString()) {- parser.state.module.warnings.push({- message: 'navigator.serviceWorker.register() will only be bundled if passed a String literal.'- });- return false;- }-- const filename = dep.string;- const outputFilename = this.options.filename || 'serviceworker.js'- const context = parser.state.current.context;- serviceWorkers.push({- outputFilename,- filename,- context- });-- const id = `__webpack__serviceworker__${++counter}`;- ParserHelpers.toConstantDependency(parser, id)(expr.arguments[0]);- return ParserHelpers.addParsedVariableToModule(parser, id, '__webpack_public_path__ + ' + JSON.stringify(outputFilename));- };-- parser.hooks.call.for('navigator.serviceWorker.register').tap(NAME, processRegisterCall);- parser.hooks.call.for('self.navigator.serviceWorker.register').tap(NAME, processRegisterCall);- parser.hooks.call.for('window.navigator.serviceWorker.register').tap(NAME, processRegisterCall);- });- }- });- }-- createFilter(list) {- const filters = [].concat(list);- for (let i=0; i<filters.length; i++) {- if (typeof filters[i] === 'string') {- filters[i] = minimatch.filter(filters[i]);- }- }- return filters;- }-- async emit(compiler, compilation, serviceWorkers) {- let assetMapping = Object.keys(compilation.assets);- if (this.options.include) {- const filters = this.createFilter(this.options.include);- assetMapping = assetMapping.filter(filename => {- for (const filter of filters) {- if (filter(filename)) return true;- }- return false;- });- }- if (this.options.exclude) {- const filters = this.createFilter(this.options.exclude);- assetMapping = assetMapping.filter(filename => {- for (const filter of filters) {- if (filter(filename)) return false;- }- return true;- });- }- await Promise.all(serviceWorkers.map(- (serviceWorker, index) => this.compileServiceWorker(compiler, compilation, serviceWorker, index, assetMapping)- ));- }-- async compileServiceWorker(compiler, compilation, options, index, assetMapping) {- const entryFilename = options.filename;-- const chunkFilename = compiler.options.output.chunkFilename.replace(/\.([a-z]+)$/i, '.serviceworker.$1');- const workerOptions = {- filename: options.outputFilename, // chunkFilename.replace(/\.?\[(?:chunkhash|contenthash|hash)(:\d+(?::\d+)?)?\]/g, ''),- chunkFilename: this.options.chunkFilename || chunkFilename,- globalObject: 'self'- };-- const childCompiler = compilation.createChildCompiler(NAME, { filename: workerOptions.filename });- (new WebWorkerTemplatePlugin(workerOptions)).apply(childCompiler);-- /* The duplication DefinePlugin ends up causing is problematic (it doesn't hoist injections), so we'll do it manually. */- // (new DefinePlugin({- // BUILD_ASSETS: JSON.stringify(assetMapping)- // })).apply(childCompiler);- (new SingleEntryPlugin(options.context, entryFilename, workerOptions.filename)).apply(childCompiler);-- const subCache = `subcache ${__dirname} ${entryFilename} ${index}`;- let childCompilation;- childCompiler.hooks.compilation.tap(NAME, c => {- childCompilation = c;- if (childCompilation.cache) {- if (!childCompilation.cache[subCache]) childCompilation.cache[subCache] = {};- childCompilation.cache = childCompilation.cache[subCache];- }- });-- await (util.promisify(childCompiler.runAsChild.bind(childCompiler)))();-- const versionVar = this.options.version ?- `var VERSION = ${JSON.stringify(this.options.version)};` : '';- const original = childCompilation.assets[workerOptions.filename].source();- const source = `${versionVar}var BUILD_ASSETS=${JSON.stringify(assetMapping)};${original}`;- childCompilation.assets[workerOptions.filename] = {- source: () => source,- size: () => Buffer.byteLength(source, 'utf8')- };-- Object.assign(compilation.assets, childCompilation.assets);- }-};diff --git a/config/watch-timestamps-plugin.js b/config/watch-timestamps-plugin.jsdeleted file mode 100644index d193f5c6..00000000--- a/config/watch-timestamps-plugin.js+++ /dev/null@@ -1,30 +0,0 @@-const fs = require('fs');--/** A Webpack plugin to refresh file mtime values from disk before compiling.- * This is used in order to account for SCSS-generated .d.ts files written- * as part of compilation so they trigger only a single recompile per write.- *- * All credit for the technique and implementation goes to @reiv. See:- * https://github.com/Jimdo/typings-for-css-modules-loader/issues/48#issuecomment-347036461- */-module.exports = class WatchTimestampsPlugin {- constructor(patterns) {- this.patterns = patterns;- }-- apply(compiler) {- compiler.hooks.watchRun.tapAsync('watch-timestamps-plugin', (watch, callback) => {- const patterns = this.patterns;- const timestamps = watch.fileTimestamps;-- for (const filepath of timestamps) {- if (patterns.some(pat => pat instanceof RegExp ? pat.test(filepath) : filepath.indexOf(pat) === 0)) {- let time = fs.statSync(filepath).mtime;- if (timestamps instanceof Map) timestamps.set(filepath, time);- else timestamps[filepath] = time;- }- }- callback();- });- }-};diff --git a/emscripten-wasm.d.ts b/emscripten-types.d.tssimilarity index 74%rename from emscripten-wasm.d.tsrename to emscripten-types.d.tsindex 2d56197e..9f94d16d 100644--- a/emscripten-wasm.d.ts+++ b/emscripten-types.d.ts@@ -1,11 +1,16 @@// These types roughly model the object that the JS files generated by Emscripten define. Copied from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/emscripten/index.d.ts and turned into a type definition rather than a global to support our way of using Emscripten.// TODO(@surma): Upstream this?declare namespace EmscriptenWasm {- type EnvironmentType = "WEB" | "NODE" | "SHELL" | "WORKER";+ type ModuleFactory<T extends Module = Module> = (+ moduleOverrides?: ModuleOpts,+ ) => Promise<T>;++ type EnvironmentType = 'WEB' | 'NODE' | 'SHELL' | 'WORKER';// Options object for modularized Emscripten files. Shoe-horned by @surma.// FIXME: This an incomplete definition!interface ModuleOpts {+ mainScriptUrlOrBlob?: string;noInitialRun?: boolean;locateFile?: (url: string) => string;onRuntimeInitialized?: () => void;@@ -16,9 +21,9 @@ declare namespace EmscriptenWasm {printErr(str: string): void;arguments: string[];environment: EnvironmentType;- preInit: { (): void }[];- preRun: { (): void }[];- postRun: { (): void }[];+ preInit: { (): void }[];+ preRun: { (): void }[];+ postRun: { (): void }[];preinitializedWebGLContext: WebGLRenderingContext;noInitialRun: boolean;noExitRuntime: boolean;@@ -27,17 +32,25 @@ declare namespace EmscriptenWasm {wasmBinary: ArrayBuffer;destroy(object: object): void;- getPreloadedPackage(remotePackageName: string, remotePackageSize: number): ArrayBuffer;+ getPreloadedPackage(+ remotePackageName: string,+ remotePackageSize: number,+ ): ArrayBuffer;instantiateWasm(- imports: WebAssembly.Imports,- successCallback: (module: WebAssembly.Module) => void+ imports: WebAssembly.Imports,+ successCallback: (module: WebAssembly.Module) => void,): WebAssembly.Exports;locateFile(url: string): string;onCustomMessage(event: MessageEvent): void;Runtime: any;- ccall(ident: string, returnType: string | null, argTypes: string[], args: any[]): any;+ ccall(+ ident: string,+ returnType: string | null,+ argTypes: string[],+ args: any[],+ ): any;cwrap(ident: string, returnType: string | null, argTypes: string[]): any;setValue(ptr: number, value: any, type: string, noSafe?: boolean): void;@@ -50,7 +63,12 @@ declare namespace EmscriptenWasm {ALLOC_NONE: number;allocate(slab: any, types: string, allocator: number, ptr: number): number;- allocate(slab: any, types: string[], allocator: number, ptr: number): number;+ allocate(+ slab: any,+ types: string[],+ allocator: number,+ ptr: number,+ ): number;Pointer_stringify(ptr: number, length?: number): string;UTF16ToString(ptr: number): string;@@ -67,7 +85,7 @@ declare namespace EmscriptenWasm {HEAP8: Int8Array;HEAP16: Int16Array;HEAP32: Int32Array;- HEAPU8: Uint8Array;+ HEAPU8: Uint8Array;HEAPU16: Uint16Array;HEAPU32: Uint32Array;HEAPF32: Float32Array;@@ -84,16 +102,23 @@ declare namespace EmscriptenWasm {addOnPostRun(cb: () => any): void;// Tools- intArrayFromString(stringy: string, dontAddNull?: boolean, length?: number): number[];+ intArrayFromString(+ stringy: string,+ dontAddNull?: boolean,+ length?: number,+ ): number[];intArrayToString(array: number[]): string;- writeStringToMemory(str: string, buffer: number, dontAddNull: boolean): void;+ writeStringToMemory(+ str: string,+ buffer: number,+ dontAddNull: boolean,+ ): void;writeArrayToMemory(array: number[], buffer: number): void;writeAsciiToMemory(str: string, buffer: number, dontAddNull: boolean): void;addRunDependency(id: any): void;removeRunDependency(id: any): void;-preloadedImages: any;preloadedAudios: any;@@ -104,4 +129,3 @@ declare namespace EmscriptenWasm {onRuntimeInitialized: () => void | null;}}-diff --git a/generic-tsconfig.json b/generic-tsconfig.jsonnew file mode 100644index 00000000..63be8ac0--- /dev/null+++ b/generic-tsconfig.json@@ -0,0 +1,23 @@+{+ "compilerOptions": {+ "target": "ES2019",+ "downlevelIteration": true,+ "module": "esnext",+ "jsx": "react",+ "jsxFactory": "h",+ "strict": true,+ "moduleResolution": "node",+ "composite": true,+ "declarationMap": true,+ "baseUrl": "./",+ "rootDir": "./",+ "outDir": ".tmp/ts",+ "allowSyntheticDefaultImports": true,+ "paths": {+ "static-build/*": ["src/static-build/*"],+ "client/*": ["src/client/*"],+ "shared/*": ["src/shared/*"],+ "features/*": ["src/features/*"]+ }+ }+}diff --git a/global.d.ts b/global.d.tsdeleted file mode 100644index 0f8de726..00000000--- a/global.d.ts+++ /dev/null@@ -1,23 +0,0 @@-declare const __webpack_public_path__: string;-declare const PRERENDER: boolean;--declare interface NodeModule {- hot: any;-}--declare interface Window {- STATE: any;- ga: typeof ga;-}--declare namespace JSX {- interface Element { }- interface IntrinsicElements { }- interface HTMLAttributes {- decoding?: string;- }-}--declare module 'classnames' {- export default function classnames(...args: any[]): string;-}diff --git a/lib/client-bundle-plugin.js b/lib/client-bundle-plugin.jsnew file mode 100644index 00000000..b798b4da--- /dev/null+++ b/lib/client-bundle-plugin.js@@ -0,0 +1,175 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import rollup from 'rollup';++const prefix = 'client-bundle:';+const entryPathPlaceholder = 'CLIENT_BUNDLE_PLUGIN_ENTRY_PATH';+const importsPlaceholder = 'CLIENT_BUNDLE_PLUGIN_IMPORTS';+const allSrcPlaceholder = 'CLIENT_BUNDLE_PLUGIN_ALL_SRC';++export function getDependencies(clientOutput, item) {+ const crawlDependencies = new Set([item.fileName]);++ for (const fileName of crawlDependencies) {+ const chunk = clientOutput.find((v) => v.fileName === fileName);++ for (const dep of chunk.imports) {+ crawlDependencies.add(dep);+ }+ }++ // Don't add self as dependency+ crawlDependencies.delete(item.fileName);++ return [...crawlDependencies];+}++export default function (inputOptions, outputOptions, resolveFileUrl) {+ let cache;+ let entryPointPlaceholderMap;+ let exportCounter;+ let clientBundle;+ let clientOutput;++ return {+ name: 'client-bundle',+ buildStart() {+ entryPointPlaceholderMap = new Map();+ exportCounter = 0;+ },+ async resolveId(id, importer) {+ if (!id.startsWith(prefix)) return null;++ const realId = id.slice(prefix.length);+ const resolveResult = await this.resolve(realId, importer);+ // Add an additional .js to the end so it ends up with .js at the end in the _virtual folder.+ if (resolveResult) return prefix + resolveResult.id + '.js';+ // This Rollup couldn't resolve it, but maybe the inner one can.+ return id + '.js';+ },+ load(id) {+ if (!id.startsWith(prefix)) return;++ const realId = id.slice(prefix.length, -'.js'.length);++ exportCounter++;++ entryPointPlaceholderMap.set(exportCounter, realId);++ return [+ `export default import.meta.${entryPathPlaceholder + exportCounter};`,+ `export const imports = import.meta.${+ importsPlaceholder + exportCounter+ };`,+ `export const allSrc = import.meta.${+ allSrcPlaceholder + exportCounter+ };`,+ ].join('\n');+ },+ async buildEnd(error) {+ const entryPoints = [...entryPointPlaceholderMap.values()];+ // The static-build is done, so now we can perform our client build.+ // Exit early if there's nothing to build.+ if (error || entryPoints.length === 0) return;++ clientBundle = await rollup.rollup({+ ...inputOptions,+ cache,+ input: entryPoints,+ });++ cache = clientBundle.cache;+ },+ async renderStart(staticBuildOutputOpts) {+ // The static-build has started generating output, so we can do the same for our client build.+ // Exit early if there's nothing to build.+ if (!clientBundle) return;+ const copiedOutputOptions = {+ assetFileNames: staticBuildOutputOpts.assetFileNames,+ };+ clientOutput = (+ await clientBundle.generate({+ ...copiedOutputOptions,+ ...outputOptions,+ })+ ).output;+ },+ resolveImportMeta(property, { moduleId, format }) {+ // Pick up the placeholder exports we created earlier, and fill in the correct details.+ let num = undefined;++ if (property.startsWith(entryPathPlaceholder)) {+ num = Number(property.slice(entryPathPlaceholder.length));+ } else if (property.startsWith(importsPlaceholder)) {+ num = Number(property.slice(importsPlaceholder.length));+ } else if (property.startsWith(allSrcPlaceholder)) {+ num = Number(property.slice(allSrcPlaceholder.length));+ } else {+ // This isn't one of our placeholders.+ return;+ }++ const id = entryPointPlaceholderMap.get(num);+ const clientEntry = clientOutput.find(+ (item) => item.facadeModuleId === id,+ );++ if (property.startsWith(entryPathPlaceholder)) {+ return resolveFileUrl({+ fileName: clientEntry.fileName,+ moduleId,+ format,+ });+ }++ const dependencies = getDependencies(clientOutput, clientEntry);++ if (property.startsWith(allSrcPlaceholder)) {+ return JSON.stringify(+ [clientEntry.code, ...dependencies.map((d) => d.code)].join(';'),+ );+ }++ return (+ '[' ++ dependencies+ .map((item) => {+ const entry = clientOutput.find((v) => v.fileName === item);++ return resolveFileUrl({+ fileName: entry.fileName,+ moduleId,+ format: outputOptions.format,+ });+ })+ .join(',') ++ ']'+ );+ },+ async generateBundle(options, bundle) {+ // Exit early if there's nothing to build.+ if (!clientOutput) return;+ // Copy everything from the client bundle into the main bundle.+ for (const clientEntry of clientOutput) {+ // Skip if the file already exists+ if (clientEntry.fileName in bundle) continue;++ this.emitFile({+ type: 'asset',+ source: clientEntry.code || clientEntry.source,+ fileName: clientEntry.fileName,+ });+ }+ },+ };+}diff --git a/lib/css-plugin.js b/lib/css-plugin.jsnew file mode 100644index 00000000..7bee09b2--- /dev/null+++ b/lib/css-plugin.js@@ -0,0 +1,191 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { promises as fsp, readFileSync } from 'fs';+import { createHash } from 'crypto';+import { promisify } from 'util';+import {+ parse as parsePath,+ resolve as resolvePath,+ dirname,+ normalize as nomalizePath,+} from 'path';++import postcss from 'postcss';+import postCSSNested from 'postcss-nested';+import postCSSUrl from 'postcss-url';+import postCSSModules from 'postcss-modules';+import postCSSSimpleVars from 'postcss-simple-vars';+import cssNano from 'cssnano';+import camelCase from 'lodash.camelcase';+import glob from 'glob';++const globP = promisify(glob);++const moduleSuffix = '.css';+const sourcePrefix = 'css:';+const addPrefix = 'add-css:';+const assetRe = new RegExp('/fake/path/to/asset/([^/]+)/', 'g');++const appendCssModule = '\0appendCss';+const appendCssSource = `+ export default function appendCss(css) {+ const style = document.createElement('style');+ style.textContent = css;+ document.head.append(style);+ }+`;++export default function (resolveFileUrl) {+ /** @type {string[]} */+ let emittedCSSIds;+ /** @type {Map<string, string>} */+ let hashToId;+ /** @type {Map<string, { module: string, css: string }>} */+ let pathToResult;++ return {+ name: 'css',+ async buildStart() {+ emittedCSSIds = [];+ hashToId = new Map();+ pathToResult = new Map();++ const cssPaths = (+ await globP('src/**/*.css', {+ nodir: true,+ absolute: true,+ })+ ).map((cssPath) =>+ // glob() returns windows paths with a forward slash. Normalise it:+ nomalizePath(cssPath),+ );++ await Promise.all(+ cssPaths.map(async (path) => {+ this.addWatchFile(path);+ const file = await fsp.readFile(path);+ let moduleJSON;++ const cssResult = await postcss([+ postCSSNested,+ postCSSSimpleVars(),+ postCSSModules({+ getJSON(_, json) {+ moduleJSON = json;+ },+ root: '',+ }),+ postCSSUrl({+ url: ({ relativePath, url }) => {+ if (/^(https?|data):/.test(url)) return url;+ const parsedPath = parsePath(relativePath);+ const source = readFileSync(+ resolvePath(dirname(path), relativePath),+ );+ const fileId = this.emitFile({+ type: 'asset',+ name: parsedPath.base,+ source,+ });+ const hash = createHash('md5');+ hash.update(source);+ const md5 = hash.digest('hex');+ hashToId.set(md5, fileId);+ return `/fake/path/to/asset/${md5}/`;+ },+ }),+ cssNano,+ ]).process(file, {+ from: path,+ });++ const cssClassExports = Object.entries(moduleJSON).map(+ ([key, val]) =>+ `export const ${camelCase(key)} = ${JSON.stringify(val)};`,+ );++ const defs =+ '// This file is autogenerated by lib/css-plugin.js\n' ++ Object.keys(moduleJSON)+ .map((key) => `export const ${camelCase(key)}: string;`)+ .join('\n');++ const defPath = path + '.d.ts';+ const currentDefFileContent = await fsp+ .readFile(defPath, { encoding: 'utf8' })+ .catch(() => undefined);++ // Only write the file if contents have changed, otherwise it causes a loop with+ // TypeScript's file watcher.+ if (defs !== currentDefFileContent) {+ await fsp.writeFile(defPath, defs);+ }++ pathToResult.set(path, {+ module: cssClassExports.join('\n'),+ css: cssResult.css,+ });+ }),+ );+ },+ async resolveId(id, importer) {+ if (id === appendCssModule) return id;++ const prefix = id.startsWith(sourcePrefix)+ ? sourcePrefix+ : id.startsWith(addPrefix)+ ? addPrefix+ : undefined;++ if (!prefix) return;++ const resolved = await this.resolve(id.slice(prefix.length), importer);+ if (!resolved) throw Error(`Couldn't resolve ${id} from ${importer}`);++ return prefix + resolved.id;+ },+ async load(id) {+ if (id === appendCssModule) return appendCssSource;+ if (id.startsWith(sourcePrefix)) {+ const path = nomalizePath(id.slice(sourcePrefix.length));++ if (!pathToResult.has(path)) {+ throw Error(`Cannot find ${path} in pathToResult`);+ }++ const cssStr = JSON.stringify(pathToResult.get(path).css).replace(+ assetRe,+ (match, hash) =>+ `" + import.meta.ROLLUP_FILE_URL_${hashToId.get(hash)} + "`,+ );++ return `export default ${cssStr};`;+ }+ if (id.startsWith(addPrefix)) {+ const path = id.slice(addPrefix.length);+ return (+ `import css from 'css:${path}';\n` ++ `import appendCss from '${appendCssModule}';\n` ++ `appendCss(css);\n`+ );+ }+ if (id.endsWith(moduleSuffix)) {+ if (!pathToResult.has(id)) {+ throw Error(`Cannot find ${id} in pathToResult`);+ }++ return pathToResult.get(id).module;+ }+ },+ };+}diff --git a/lib/data-url-plugin.js b/lib/data-url-plugin.jsnew file mode 100644index 00000000..cf725d4d--- /dev/null+++ b/lib/data-url-plugin.js@@ -0,0 +1,41 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { promises as fs } from 'fs';++import { lookup as lookupMime } from 'mime-types';++const prefix = 'data-url:';++export default function dataURLPlugin() {+ return {+ name: 'data-url-plugin',+ async resolveId(id, importer) {+ if (!id.startsWith(prefix)) return;+ return (+ prefix + (await this.resolve(id.slice(prefix.length), importer)).id+ );+ },+ async load(id) {+ if (!id.startsWith(prefix)) return;+ const realId = id.slice(prefix.length);+ this.addWatchFile(realId);++ const source = await fs.readFile(realId);+ const type = lookupMime(realId) || 'text/plain';++ return `export default 'data:${type};base64,${source.toString(+ 'base64',+ )}';`;+ },+ };+}diff --git a/lib/emit-files-plugin.js b/lib/emit-files-plugin.jsnew file mode 100644index 00000000..90a42a87--- /dev/null+++ b/lib/emit-files-plugin.js@@ -0,0 +1,37 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import * as path from 'path';+import { promises as fs } from 'fs';+import glob from 'glob';+import { promisify } from 'util';++const globP = promisify(glob);++export default function emitFiles({ root, include }) {+ return {+ name: 'emit-files-plugin',+ async buildStart() {+ const paths = await globP(include, { nodir: true, cwd: root });++ await Promise.all(+ paths.map(async (filePath) => {+ return this.emitFile({+ type: 'asset',+ source: await fs.readFile(path.join(root, filePath)),+ fileName: 'static/' + filePath,+ });+ }),+ );+ },+ };+}diff --git a/lib/feature-plugin.js b/lib/feature-plugin.jsnew file mode 100644index 00000000..ee20fa57--- /dev/null+++ b/lib/feature-plugin.js@@ -0,0 +1,270 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { promisify } from 'util';+import * as path from 'path';+import { posix } from 'path';+import glob from 'glob';+import { promises as fsp } from 'fs';++const globP = promisify(glob);+const autoGenComment =+ '// This file is autogenerated by lib/feature-plugin.js\n';++export default function () {+ let previousWorkerImports;+ let previousJoinedMetas;++ /**+ * Generates the worker file & tsconfig for all features+ *+ * @param {string[]} workerImports+ */+ async function generateWorkerFile(workerImports) {+ const workerBasePath = path.join(process.cwd(), 'src', 'features-worker');++ const featuresWorkerTsNames = workerImports.map((tsImport) => [+ path.relative(workerBasePath, tsImport).split(path.sep).join(posix.sep),+ path.basename(tsImport),+ ]);++ const workerFile = [+ autoGenComment,+ `import { expose } from 'comlink';`,+ `import { timed } from './util';`,+ featuresWorkerTsNames.map(+ ([path, name]) => `import ${name} from './${path}';`,+ ),+ `const exports = {`,+ featuresWorkerTsNames.map(([_, name]) => [+ ` ${name}(`,+ ` ...args: Parameters<typeof ${name}>`,+ ` ): ReturnType<typeof ${name}> {`,+ ` return timed('${name}', () => ${name}(...args));`,+ ` },`,+ ]),+ `};`,+ `export type ProcessorWorkerApi = typeof exports;`,+ `// 'as any' to work around the way our client code has insight into worker code`,+ `expose(exports, self as any);`,+ ]+ .flat(Infinity)+ .join('\n');++ await fsp.writeFile(path.join(workerBasePath, 'index.ts'), workerFile);+ }++ /**+ * Generates the client JS to call worker methods.+ *+ * @param {string[]} workerImports+ */+ async function generateWorkerBridge(workerImports) {+ const workerBridgeBasePath = path.join(+ process.cwd(),+ 'src',+ 'client',+ 'lazy-app',+ 'worker-bridge',+ );++ const featuresWorkerBridgeTsNames = workerImports.map((tsImport) => [+ path+ .relative(workerBridgeBasePath, tsImport)+ .split(path.sep)+ .join(posix.sep),+ path.basename(tsImport),+ ]);++ const bridgeMeta = [+ autoGenComment,+ featuresWorkerBridgeTsNames.map(+ ([path, name]) => `import type ${name} from '${path}';`,+ ),+ `export const methodNames = ${JSON.stringify(+ featuresWorkerBridgeTsNames.map(([_, name]) => name),+ null,+ ' ',+ )} as const;`,+ `export interface BridgeMethods {`,+ featuresWorkerBridgeTsNames.map(([_, name]) => [+ ` ${name}(`,+ ` signal: AbortSignal,`,+ ` ...args: Parameters<typeof ${name}>`,+ ` ): Promise<ReturnType<typeof ${name}>>;`,+ ]),+ `}`,+ ]+ .flat(Infinity)+ .join('\n');++ await fsp.writeFile(path.join(workerBridgeBasePath, 'meta.ts'), bridgeMeta);+ }++ async function generateWorkerFiles() {+ const workerImports = (+ await globP('src/features/*/**/worker/*.ts', {+ absolute: true,+ })+ )+ .filter((tsFile) => !tsFile.endsWith('.d.ts'))+ .map((tsFile) => tsFile.slice(0, -'.ts'.length));++ const joinedWorkerImports = workerImports.join();++ // Avoid regenerating if nothing's changed.+ // This also prevents an infinite loop in the watcher.+ if (joinedWorkerImports === previousWorkerImports) return;++ previousWorkerImports = joinedWorkerImports;+ await Promise.all([+ generateWorkerFile(workerImports),+ generateWorkerBridge(workerImports),+ ]);+ }++ async function generateFeatureMeta() {+ const getTsFiles = (glob) =>+ globP(glob, {+ absolute: true,+ }).then((paths) =>+ paths+ .filter((tsFile) => !tsFile.endsWith('.d.ts'))+ .map((tsFile) => tsFile.slice(0, -'.ts'.length)),+ );++ const metas = await Promise.all(+ [+ 'src/features/encoders/*/shared/meta.ts',+ 'src/features/processors/*/shared/meta.ts',+ 'src/features/preprocessors/*/shared/meta.ts',+ ].map((glob) => getTsFiles(glob)),+ );++ const [encoderMetas, processorMetas, preprocessorMetas] = metas;++ const featureMetaBasePath = path.join(+ process.cwd(),+ 'src',+ 'client',+ 'lazy-app',+ 'feature-meta',+ );++ const joinedMetas = metas.flat().join();++ // Avoid regenerating if nothing's changed.+ // This also prevents an infinite loop in the watcher.+ if (joinedMetas === previousJoinedMetas) return;+ previousJoinedMetas = joinedMetas;++ const getTsName = (tsImport) => [+ path+ .relative(featureMetaBasePath, tsImport)+ .split(path.sep)+ .join(posix.sep),+ path.basename(tsImport.slice(0, -'/shared/meta'.length)),+ ];++ const encoderMetaTsNames = encoderMetas.map((tsImport) =>+ getTsName(tsImport),+ );+ const processorMetaTsNames = processorMetas.map((tsImport) =>+ getTsName(tsImport),+ );+ const preprocessorMetaTsNames = preprocessorMetas.map((tsImport) =>+ getTsName(tsImport),+ );++ const featureMeta = [+ autoGenComment,+ // Encoder stuff+ encoderMetaTsNames.map(+ ([path, name]) => `import * as ${name}EncoderMeta from '${path}';`,+ ),+ encoderMetaTsNames.map(+ ([path, name]) =>+ `import * as ${name}EncoderEntry from '${path.replace(+ /shared\/meta$/,+ 'client',+ )}';`,+ ),+ `export type EncoderState =`,+ encoderMetaTsNames.map(+ ([_, name]) =>+ ` | { type: "${name}", options: ${name}EncoderMeta.EncodeOptions }`,+ ),+ `;`,+ `export type EncoderOptions =`,+ encoderMetaTsNames.map(+ ([_, name]) => ` | ${name}EncoderMeta.EncodeOptions`,+ ),+ `;`,+ `export const encoderMap = {`,+ encoderMetaTsNames.map(+ ([_, name]) =>+ ` ${name}: { meta: ${name}EncoderMeta, ...${name}EncoderEntry },`,+ ),+ `};`,+ `export type EncoderType = keyof typeof encoderMap`,+ // Processor stuff+ processorMetaTsNames.map(+ ([path, name]) => `import * as ${name}ProcessorMeta from '${path}';`,+ ),+ `interface Enableable { enabled: boolean; }`,+ `export interface ProcessorOptions {`,+ processorMetaTsNames.map(+ ([_, name]) => ` ${name}: ${name}ProcessorMeta.Options;`,+ ),+ `}`,+ `export interface ProcessorState {`,+ processorMetaTsNames.map(+ ([_, name]) => ` ${name}: Enableable & ${name}ProcessorMeta.Options;`,+ ),+ `}`,+ `export const defaultProcessorState: ProcessorState = {`,+ processorMetaTsNames.map(+ ([_, name]) =>+ ` ${name}: { enabled: false, ...${name}ProcessorMeta.defaultOptions },`,+ ),+ `}`,+ // Preprocessor stuff+ preprocessorMetaTsNames.map(+ ([path, name]) => `import * as ${name}PreprocessorMeta from '${path}';`,+ ),+ `export interface PreprocessorState {`,+ preprocessorMetaTsNames.map(+ ([_, name]) => ` ${name}: ${name}PreprocessorMeta.Options,`,+ ),+ `}`,+ `export const defaultPreprocessorState: PreprocessorState = {`,+ preprocessorMetaTsNames.map(+ ([_, name]) => ` ${name}: ${name}PreprocessorMeta.defaultOptions,`,+ ),+ `};`,+ ]+ .flat(Infinity)+ .join('\n');++ await fsp.writeFile(+ path.join(featureMetaBasePath, 'index.ts'),+ featureMeta,+ );+ }++ return {+ name: 'feature-plugin',+ async buildStart() {+ await Promise.all([generateWorkerFiles(), generateFeatureMeta()]);+ },+ };+}diff --git a/lib/initial-css-plugin.js b/lib/initial-css-plugin.jsnew file mode 100644index 00000000..c01b8f65--- /dev/null+++ b/lib/initial-css-plugin.js@@ -0,0 +1,54 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { promisify } from 'util';++import path from 'path';+import { posix } from 'path';+import glob from 'glob';++const globP = promisify(glob);++const moduleId = 'initial-css:';++export default function initialCssPlugin() {+ return {+ name: 'initial-css-plugin',+ resolveId(id) {+ if (id === moduleId) return moduleId;+ },+ async load(id) {+ if (id !== moduleId) return;++ const matches = await globP('shared/initial-app/**/*.css', {+ nodir: true,+ cwd: path.join(process.cwd(), 'src'),+ });++ // Sort the matches so the parentmost items appear first.+ // This is a bit of a hack, but it means the util stuff appears in the cascade first.+ const sortedMatches = matches+ .map((match) => path.normalize(match).split(path.sep))+ .sort((a, b) => a.length - b.length)+ .map((match) => posix.join(...match));++ const imports = sortedMatches+ .map((id, i) => `import css${i} from 'css:${id}';\n`)+ .join('');++ return (+ imports ++ `export default ${sortedMatches.map((_, i) => `css${i}`).join(' + ')};`+ );+ },+ };+}diff --git a/lib/move-output.js b/lib/move-output.jsnew file mode 100644index 00000000..c789fa28--- /dev/null+++ b/lib/move-output.js@@ -0,0 +1,19 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+// Move .tmp/build/static to docs/+const fs = require('fs');+const del = require('del');+const path = require('path');++del.sync('build');+fs.renameSync(path.join('.tmp', 'build', 'static'), 'build');diff --git a/lib/node-external-plugin.js b/lib/node-external-plugin.jsnew file mode 100644index 00000000..c0e6d92e--- /dev/null+++ b/lib/node-external-plugin.js@@ -0,0 +1,24 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+// Check that a node module exists, but treat it as external.+export default function () {+ return {+ name: 'node-external',+ resolveId(id) {+ try {+ require.resolve(id);+ return { id, external: true };+ } catch (err) {}+ },+ };+}diff --git a/lib/omt.ejs b/lib/omt.ejsnew file mode 100644index 00000000..2f2741ed--- /dev/null+++ b/lib/omt.ejs@@ -0,0 +1,92 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++// If the loader is already loaded, just stop.+if (!self.<%- amdFunctionName %>) {+ const singleRequire = async name => {+ if (name === 'require') return require;+ let url;+ if (name.startsWith(location.origin)) {+ url = name.slice(location.origin.length);+ } else {+ url = name.slice(1) + '.js';+ }+ if (!url.startsWith('/c/')) {+ url = '/c' + url;+ }+ name = './static' + url;+ if (registry[name]) return registry[name];++ if (!registry[name]) {+ <% if (useEval) { %>+ const text = await fetch(url).then(resp => resp.text());+ eval(text);+ <% } else { %>+ if ("document" in self) {+ await new Promise(resolve => {+ const script = document.createElement("script");+ script.src = url;+ document.head.appendChild(script);+ script.onload = resolve;+ });+ } else {+ importScripts(url);+ }+ <% } %>+ }+ if (!registry[name]) {+ throw new Error(`Module ${name} didn’t register its module`);+ }+ return registry[name];+ };++ const require = (names, resolve) => {+ Promise.all(names.map(singleRequire))+ .then(modules => resolve(modules.length === 1 ? modules[0] : modules));+ };++ const registry = {+ require: Promise.resolve(require)+ };++ self.<%- amdFunctionName %> = (moduleName, depsNames, factory) => {+ if (registry[moduleName]) {+ // Module is already loading or loaded.+ return;+ }+ registry[moduleName] = Promise.resolve().then(() => {+ let exports = {};+ const module = {+ uri: location.origin + moduleName.slice(1)+ };+ return Promise.all(+ depsNames.map(depName => {+ switch(depName) {+ case "exports":+ return exports;+ case "module":+ return module;+ default:+ return singleRequire(depName);+ }+ })+ ).then(deps => {+ const facValue = factory(...deps);+ if (!exports.default) {+ exports.default = facValue;+ }+ return exports;+ });+ });+ };+}diff --git a/lib/resolve-dirs-plugin.js b/lib/resolve-dirs-plugin.jsnew file mode 100644index 00000000..24354741--- /dev/null+++ b/lib/resolve-dirs-plugin.js@@ -0,0 +1,36 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { posix as pathUtils } from 'path';++export default function resolveDirs(paths) {+ const pathBaseDir = paths.map((path) => [+ pathUtils.basename(path),+ pathUtils.dirname(path),+ ]);++ return {+ name: 'resolve-dirs',+ async resolveId(id) {+ const match = pathBaseDir.find(+ ([pathId]) => id === pathId || id.startsWith(pathId + '/'),+ );+ if (!match) return;+ const pathDir = match[1];+ const resolveResult = await this.resolve(`./${pathDir}/${id}`, './');+ if (!resolveResult) {+ throw new Error(`Couldn't find ${'./' + id}`);+ }+ return pathUtils.resolve(resolveResult.id);+ },+ };+}diff --git a/lib/run-script.js b/lib/run-script.jsnew file mode 100644index 00000000..fefd9f75--- /dev/null+++ b/lib/run-script.js@@ -0,0 +1,34 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { fork } from 'child_process';++export default function runScript(path) {+ return {+ name: 'run-script',+ writeBundle() {+ return new Promise((resolve, reject) => {+ const proc = fork(path, {+ stdio: 'inherit',+ });++ proc.on('exit', (code) => {+ if (code !== 0) {+ reject(Error('Static build failed'));+ return;+ }+ resolve();+ });+ });+ },+ };+}diff --git a/lib/simple-ts.js b/lib/simple-ts.jsnew file mode 100644index 00000000..758e0e3a--- /dev/null+++ b/lib/simple-ts.js@@ -0,0 +1,142 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { spawn } from 'child_process';+import { relative, join } from 'path';+import { promises as fsp } from 'fs';+import { promisify } from 'util';++import * as ts from 'typescript';+import glob from 'glob';+import { sync as whichSync } from 'which';++const globP = promisify(glob);++const tscPath = whichSync('tsc');++const extRe = /\.tsx?$/;++function loadConfig(mainPath) {+ const fileName = ts.findConfigFile(mainPath, ts.sys.fileExists);+ if (!fileName) throw Error('tsconfig not found');+ const text = ts.sys.readFile(fileName);+ const loadedConfig = ts.parseConfigFileTextToJson(fileName, text).config;+ const parsedTsConfig = ts.parseJsonConfigFileContent(+ loadedConfig,+ ts.sys,+ process.cwd(),+ undefined,+ fileName,+ );+ return parsedTsConfig;+}++export default function simpleTS(mainPath, { noBuild, watch } = {}) {+ const config = loadConfig(mainPath);+ const args = ['-b', mainPath];++ let tsBuildDone;++ async function watchBuiltFiles(rollupContext) {+ const matches = await globP(config.options.outDir + '/**/*.js');+ for (const match of matches) rollupContext.addWatchFile(match);+ }++ async function tsBuild(rollupContext) {+ if (tsBuildDone) {+ // Watch lists are cleared on each build, so we need to rewatch all the JS files.+ await watchBuiltFiles(rollupContext);+ return tsBuildDone;+ }+ if (noBuild) {+ return (tsBuildDone = Promise.resolve());+ }+ tsBuildDone = Promise.resolve().then(async () => {+ await new Promise((resolve) => {+ const proc = spawn(tscPath, args, {+ stdio: 'inherit',+ });++ proc.on('exit', (code) => {+ if (code !== 0) {+ throw Error('TypeScript build failed');+ }+ resolve();+ });+ });++ await watchBuiltFiles(rollupContext);++ if (watch) {+ tsBuildDone.then(() => {+ spawn(tscPath, [...args, '--watch', '--preserveWatchOutput'], {+ stdio: 'inherit',+ });+ });+ }+ });++ return tsBuildDone;+ }++ return {+ name: 'simple-ts',+ resolveId(id, importer) {+ // If there isn't an importer, it's an entry point, so we don't need to resolve it relative+ // to something.+ if (!importer) return null;++ const tsResolve = ts.resolveModuleName(+ id,+ importer,+ config.options,+ ts.sys,+ );++ if (+ // It didn't find anything+ !tsResolve.resolvedModule ||+ // Or if it's linking to a definition file, it's something in node_modules,+ // or something local like css.d.ts+ tsResolve.resolvedModule.extension === '.d.ts'+ ) {+ return null;+ }+ return tsResolve.resolvedModule.resolvedFileName;+ },+ async load(id) {+ if (!extRe.test(id)) return null;++ // TypeScript building is deferred until the first TS file load.+ // This allows prerequisites to happen first,+ // such as css.d.ts generation in css-plugin.+ await tsBuild(this);++ // Look for the JS equivalent in the tmp folder+ const newId = join(+ config.options.outDir,+ relative(process.cwd(), id),+ ).replace(extRe, '.js');++ console.log(+ `simple-ts mapping`,+ id,+ 'to',+ newId,+ 'with outDir',+ config.options.outDir,+ );++ return fsp.readFile(newId, { encoding: 'utf8' });+ },+ };+}diff --git a/lib/sw-plugin.js b/lib/sw-plugin.jsnew file mode 100644index 00000000..75809a4e--- /dev/null+++ b/lib/sw-plugin.js@@ -0,0 +1,67 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { createHash } from 'crypto';+import { posix } from 'path';++const importPrefix = 'service-worker:';++export default function serviceWorkerPlugin({+ output = 'sw.js',+ filterAssets = () => true,+} = {}) {+ return {+ name: 'service-worker',+ async resolveId(id, importer) {+ if (!id.startsWith(importPrefix)) return;++ const plainId = id.slice(importPrefix.length);+ const result = await this.resolve(plainId, importer);+ if (!result) return;++ return importPrefix + result.id;+ },+ load(id) {+ if (!id.startsWith(importPrefix)) return;+ const fileId = this.emitFile({+ type: 'chunk',+ id: id.slice(importPrefix.length),+ fileName: output,+ });++ return `export default import.meta.ROLLUP_FILE_URL_${fileId};`;+ },+ generateBundle(options, bundle) {+ const swChunk = bundle[output];+ const toCacheInSW = Object.values(bundle).filter(+ (item) => item !== swChunk && filterAssets(item),+ );+ const urls = toCacheInSW.map(+ (item) =>+ posix+ .relative(posix.dirname(output), item.fileName)+ .replace(/((?<=^|\/)index)?\.html?$/, '') || '.',+ );++ const versionHash = createHash('sha1');+ for (const item of toCacheInSW) {+ versionHash.update(item.code || item.source);+ }+ const version = versionHash.digest('hex');++ swChunk.code =+ `const ASSETS = ${JSON.stringify(urls, null, ' ')};\n` ++ `const VERSION = ${JSON.stringify(version)};\n` ++ swChunk.code;+ },+ };+}diff --git a/lib/url-plugin.js b/lib/url-plugin.jsnew file mode 100644index 00000000..aabe3b09--- /dev/null+++ b/lib/url-plugin.js@@ -0,0 +1,75 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { promises as fs } from 'fs';+import { basename } from 'path';++const defaultOpts = {+ prefix: 'url',+};++export default function urlPlugin(opts) {+ opts = Object.assign({}, defaultOpts, opts);++ /** @type {Map<string, Buffer>} */+ let assetIdToSourceBuffer;++ const prefix = opts.prefix + ':';+ return {+ name: 'url-plugin',+ buildStart() {+ assetIdToSourceBuffer = new Map();+ },+ augmentChunkHash(info) {+ // Get the sources for all assets imported by this chunk.+ const buffers = Object.keys(info.modules)+ .map((moduleId) => assetIdToSourceBuffer.get(moduleId))+ .filter(Boolean);++ if (buffers.length === 0) return;++ for (const moduleId of Object.keys(info.modules)) {+ const buffer = assetIdToSourceBuffer.get(moduleId);+ if (buffer) buffers.push(buffer);+ }++ const combinedBuffer =+ buffers.length === 1 ? buffers[0] : Buffer.concat(buffers);++ return combinedBuffer;+ },+ async resolveId(id, importer) {+ if (!id.startsWith(prefix)) return;+ const realId = id.slice(prefix.length);+ const resolveResult = await this.resolve(realId, importer);++ if (!resolveResult) {+ throw Error(`Cannot find ${realId}`);+ }+ // Add an additional .js to the end so it ends up with .js at the end in the _virtual folder.+ return prefix + resolveResult.id + '.js';+ },+ async load(id) {+ if (!id.startsWith(prefix)) return;+ const realId = id.slice(prefix.length, -'.js'.length);+ const source = await fs.readFile(realId);+ assetIdToSourceBuffer.set(id, source);+ this.addWatchFile(realId);++ return `export default import.meta.ROLLUP_FILE_URL_${this.emitFile({+ type: 'asset',+ source,+ name: basename(realId),+ })}`;+ },+ };+}diff --git a/missing-types.d.ts b/missing-types.d.tsnew file mode 100644index 00000000..fd9b62de--- /dev/null+++ b/missing-types.d.ts@@ -0,0 +1,40 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="./emscripten-types.d.ts" />++declare module 'url:*' {+ const value: string;+ export default value;+}++declare module 'omt:*' {+ const value: string;+ export default value;+}++declare module 'css:*' {+ const source: string;+ export default source;+}++declare module 'data-url:*' {+ const url: string;+ export default url;+}++declare var ga: {+ (...args: any[]): void;+ q: any[];+};++declare const __PRODUCTION__: boolean;diff --git a/package-lock.json b/package-lock.jsonindex 6d425c06..10e3b58a 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,8302 +1,8553 @@{"name": "squoosh",- "version": "1.12.0",- "lockfileVersion": 1,+ "version": "2.0.0",+ "lockfileVersion": 2,"requires": true,- "dependencies": {- "@babel/code-frame": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz",- "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==",- "dev": true,- "requires": {- "@babel/highlight": "^7.0.0"+ "packages": {+ "": {+ "version": "2.0.0",+ "license": "apache-2.0",+ "dependencies": {+ "wasm-feature-detect": "^1.2.9"+ },+ "devDependencies": {+ "@rollup/plugin-commonjs": "^15.1.0",+ "@rollup/plugin-node-resolve": "^9.0.0",+ "@rollup/plugin-replace": "^2.3.4",+ "@surma/rollup-plugin-off-main-thread": "^1.4.2",+ "@types/node": "^14.14.7",+ "comlink": "^4.3.0",+ "cssnano": "^4.1.10",+ "del": "^5.1.0",+ "file-drop-element": "^1.0.1",+ "husky": "^4.3.0",+ "idb-keyval": "^3.2.0",+ "linkstate": "^2.0.0",+ "lint-staged": "^10.5.1",+ "lodash.camelcase": "^4.3.0",+ "mime-types": "^2.1.27",+ "pointer-tracker": "^2.4.0",+ "postcss": "^7.0.35",+ "postcss-modules": "^3.2.2",+ "postcss-nested": "^4.2.3",+ "postcss-simple-vars": "^5.0.2",+ "postcss-url": "^8.0.0",+ "preact": "^10.5.5",+ "preact-render-to-string": "^5.1.11",+ "prettier": "^2.1.2",+ "pretty-bytes": "^5.4.1",+ "rollup": "^2.33.1",+ "rollup-plugin-terser": "^7.0.2",+ "serve": "^11.3.2",+ "typescript": "^4.0.5",+ "which": "^2.0.2"+ }+ },+ "node_modules/@babel/code-frame": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",+ "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",+ "dev": true,+ "dependencies": {+ "@babel/highlight": "^7.10.4"+ }+ },+ "node_modules/@babel/helper-validator-identifier": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",+ "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==",+ "dev": true+ },+ "node_modules/@babel/highlight": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz",+ "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==",+ "dev": true,+ "dependencies": {+ "@babel/helper-validator-identifier": "^7.10.4",+ "chalk": "^2.0.0",+ "js-tokens": "^4.0.0"}},- "@babel/core": {- "version": "7.4.5",- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.4.5.tgz",- "integrity": "sha512-OvjIh6aqXtlsA8ujtGKfC7LYWksYSX8yQcM8Ay3LuvVeQ63lcOKgoZWVqcpFwkd29aYU9rVx7jxhfhiEDV9MZA==",+ "node_modules/@babel/highlight/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "@babel/code-frame": "^7.0.0",- "@babel/generator": "^7.4.4",- "@babel/helpers": "^7.4.4",- "@babel/parser": "^7.4.5",- "@babel/template": "^7.4.4",- "@babel/traverse": "^7.4.5",- "@babel/types": "^7.4.4",- "convert-source-map": "^1.1.0",- "debug": "^4.1.0",- "json5": "^2.1.0",- "lodash": "^4.17.11",- "resolve": "^1.3.2",- "semver": "^5.4.1",- "source-map": "^0.5.0"- },"dependencies": {- "debug": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",- "dev": true,- "requires": {- "ms": "^2.1.1"- }- },- "json5": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz",- "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==",- "dev": true,- "requires": {- "minimist": "^1.2.0"- }- },- "minimist": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",- "dev": true- },- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",- "dev": true- }+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/generator": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.4.4.tgz",- "integrity": "sha512-53UOLK6TVNqKxf7RUh8NE851EHRxOOeVXKbK2bivdb+iziMyk03Sr4eaE9OELCbyZAAafAKPDwF2TPUES5QbxQ==",+ "node_modules/@babel/highlight/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,- "requires": {- "@babel/types": "^7.4.4",- "jsesc": "^2.5.1",- "lodash": "^4.17.11",- "source-map": "^0.5.0",- "trim-right": "^1.0.1"- },"dependencies": {- "jsesc": {- "version": "2.5.2",- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",- "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",- "dev": true- }+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/helper-annotate-as-pure": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz",- "integrity": "sha512-3UYcJUj9kvSLbLbUIfQTqzcy5VX7GRZ/CCDrnOaZorFFM01aXp1+GJwuFGV4NDDoAS+mOUyHcO6UD/RfqOks3Q==",+ "node_modules/@babel/highlight/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "@babel/types": "^7.0.0"+ "dependencies": {+ "color-name": "1.1.3"}},- "@babel/helper-builder-binary-assignment-operator-visitor": {- "version": "7.1.0",- "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.1.0.tgz",- "integrity": "sha512-qNSR4jrmJ8M1VMM9tibvyRAHXQs2PmaksQF7c1CGJNipfe3D8p+wgNwgso/P2A2r2mdgBWAXljNWR0QRZAMW8w==",- "dev": true,- "requires": {- "@babel/helper-explode-assignable-expression": "^7.1.0",- "@babel/types": "^7.0.0"- }+ "node_modules/@babel/highlight/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true},- "@babel/helper-call-delegate": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.4.4.tgz",- "integrity": "sha512-l79boDFJ8S1c5hvQvG+rc+wHw6IuH7YldmRKsYtpbawsxURu/paVy57FZMomGK22/JckepaikOkY0MoAmdyOlQ==",+ "node_modules/@babel/highlight/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "@babel/helper-hoist-variables": "^7.4.4",- "@babel/traverse": "^7.4.4",- "@babel/types": "^7.4.4"+ "engines": {+ "node": ">=4"}},- "@babel/helper-create-class-features-plugin": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.4.4.tgz",- "integrity": "sha512-UbBHIa2qeAGgyiNR9RszVF7bUHEdgS4JAUNT8SiqrAN6YJVxlOxeLr5pBzb5kan302dejJ9nla4RyKcR1XT6XA==",+ "node_modules/@babel/highlight/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "@babel/helper-function-name": "^7.1.0",- "@babel/helper-member-expression-to-functions": "^7.0.0",- "@babel/helper-optimise-call-expression": "^7.0.0",- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-replace-supers": "^7.4.4",- "@babel/helper-split-export-declaration": "^7.4.4"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/helper-define-map": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.4.4.tgz",- "integrity": "sha512-IX3Ln8gLhZpSuqHJSnTNBWGDE9kdkTEWl21A/K7PQ00tseBwbqCHTvNLHSBd9M0R5rER4h5Rsvj9vw0R5SieBg==",+ "node_modules/@nodelib/fs.scandir": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",+ "integrity": "sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw==","dev": true,- "requires": {- "@babel/helper-function-name": "^7.1.0",- "@babel/types": "^7.4.4",- "lodash": "^4.17.11"+ "dependencies": {+ "@nodelib/fs.stat": "2.0.3",+ "run-parallel": "^1.1.9"+ },+ "engines": {+ "node": ">= 8"}},- "@babel/helper-explode-assignable-expression": {- "version": "7.1.0",- "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.1.0.tgz",- "integrity": "sha512-NRQpfHrJ1msCHtKjbzs9YcMmJZOg6mQMmGRB+hbamEdG5PNpaSm95275VD92DvJKuyl0s2sFiDmMZ+EnnvufqA==",+ "node_modules/@nodelib/fs.stat": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz",+ "integrity": "sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==","dev": true,- "requires": {- "@babel/traverse": "^7.1.0",- "@babel/types": "^7.0.0"+ "engines": {+ "node": ">= 8"}},- "@babel/helper-function-name": {- "version": "7.1.0",- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz",- "integrity": "sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==",+ "node_modules/@nodelib/fs.walk": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz",+ "integrity": "sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==","dev": true,- "requires": {- "@babel/helper-get-function-arity": "^7.0.0",- "@babel/template": "^7.1.0",- "@babel/types": "^7.0.0"+ "dependencies": {+ "@nodelib/fs.scandir": "2.1.3",+ "fastq": "^1.6.0"+ },+ "engines": {+ "node": ">= 8"}},- "@babel/helper-get-function-arity": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz",- "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==",+ "node_modules/@rollup/plugin-commonjs": {+ "version": "15.1.0",+ "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-15.1.0.tgz",+ "integrity": "sha512-xCQqz4z/o0h2syQ7d9LskIMvBSH4PX5PjYdpSSvgS+pQik3WahkQVNWg3D8XJeYjZoVWnIUQYDghuEMRGrmQYQ==","dev": true,- "requires": {- "@babel/types": "^7.0.0"+ "dependencies": {+ "@rollup/pluginutils": "^3.1.0",+ "commondir": "^1.0.1",+ "estree-walker": "^2.0.1",+ "glob": "^7.1.6",+ "is-reference": "^1.2.1",+ "magic-string": "^0.25.7",+ "resolve": "^1.17.0"+ },+ "engines": {+ "node": ">= 8.0.0"}},- "@babel/helper-hoist-variables": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.4.4.tgz",- "integrity": "sha512-VYk2/H/BnYbZDDg39hr3t2kKyifAm1W6zHRfhx8jGjIHpQEBv9dry7oQ2f3+J703TLu69nYdxsovl0XYfcnK4w==",- "dev": true,- "requires": {- "@babel/types": "^7.4.4"- }+ "node_modules/@rollup/plugin-commonjs/node_modules/estree-walker": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.1.tgz",+ "integrity": "sha512-tF0hv+Yi2Ot1cwj9eYHtxC0jB9bmjacjQs6ZBTj82H8JwUywFuc+7E83NWfNMwHXZc11mjfFcVXPe9gEP4B8dg==",+ "dev": true},- "@babel/helper-member-expression-to-functions": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0.tgz",- "integrity": "sha512-avo+lm/QmZlv27Zsi0xEor2fKcqWG56D5ae9dzklpIaY7cQMK5N8VSpaNVPPagiqmy7LrEjK1IWdGMOqPu5csg==",+ "node_modules/@rollup/plugin-node-resolve": {+ "version": "9.0.0",+ "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-9.0.0.tgz",+ "integrity": "sha512-gPz+utFHLRrd41WMP13Jq5mqqzHL3OXrfj3/MkSyB6UBIcuNt9j60GCbarzMzdf1VHFpOxfQh/ez7wyadLMqkg==","dev": true,- "requires": {- "@babel/types": "^7.0.0"+ "dependencies": {+ "@rollup/pluginutils": "^3.1.0",+ "@types/resolve": "1.17.1",+ "builtin-modules": "^3.1.0",+ "deepmerge": "^4.2.2",+ "is-module": "^1.0.0",+ "resolve": "^1.17.0"+ },+ "engines": {+ "node": ">= 10.0.0"}},- "@babel/helper-module-imports": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz",- "integrity": "sha512-aP/hlLq01DWNEiDg4Jn23i+CXxW/owM4WpDLFUbpjxe4NS3BhLVZQ5i7E0ZrxuQ/vwekIeciyamgB1UIYxxM6A==",+ "node_modules/@rollup/plugin-replace": {+ "version": "2.3.4",+ "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-2.3.4.tgz",+ "integrity": "sha512-waBhMzyAtjCL1GwZes2jaE9MjuQ/DQF2BatH3fRivUF3z0JBFrU0U6iBNC/4WR+2rLKhaAhPWDNPYp4mI6RqdQ==","dev": true,- "requires": {- "@babel/types": "^7.0.0"+ "dependencies": {+ "@rollup/pluginutils": "^3.1.0",+ "magic-string": "^0.25.7"}},- "@babel/helper-module-transforms": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.4.4.tgz",- "integrity": "sha512-3Z1yp8TVQf+B4ynN7WoHPKS8EkdTbgAEy0nU0rs/1Kw4pDgmvYH3rz3aI11KgxKCba2cn7N+tqzV1mY2HMN96w==",+ "node_modules/@rollup/pluginutils": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz",+ "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==","dev": true,- "requires": {- "@babel/helper-module-imports": "^7.0.0",- "@babel/helper-simple-access": "^7.1.0",- "@babel/helper-split-export-declaration": "^7.4.4",- "@babel/template": "^7.4.4",- "@babel/types": "^7.4.4",- "lodash": "^4.17.11"+ "dependencies": {+ "@types/estree": "0.0.39",+ "estree-walker": "^1.0.1",+ "picomatch": "^2.2.2"+ },+ "engines": {+ "node": ">= 8.0.0"}},- "@babel/helper-optimise-call-expression": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0.tgz",- "integrity": "sha512-u8nd9NQePYNQV8iPWu/pLLYBqZBa4ZaY1YWRFMuxrid94wKI1QNt67NEZ7GAe5Kc/0LLScbim05xZFWkAdrj9g==",+ "node_modules/@surma/rollup-plugin-off-main-thread": {+ "version": "1.4.2",+ "resolved": "https://registry.npmjs.org/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-1.4.2.tgz",+ "integrity": "sha512-yBMPqmd1yEJo/280PAMkychuaALyQ9Lkb5q1ck3mjJrFuEobIfhnQ4J3mbvBoISmR3SWMWV+cGB/I0lCQee79A==","dev": true,- "requires": {- "@babel/types": "^7.0.0"+ "dependencies": {+ "ejs": "^2.6.1",+ "magic-string": "^0.25.0"}},- "@babel/helper-plugin-utils": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz",- "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==",+ "node_modules/@types/color-name": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",+ "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==","dev": true},- "@babel/helper-regex": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.4.4.tgz",- "integrity": "sha512-Y5nuB/kESmR3tKjU8Nkn1wMGEx1tjJX076HBMeL3XLQCu6vA/YRzuTW0bbb+qRnXvQGn+d6Rx953yffl8vEy7Q==",- "dev": true,- "requires": {- "lodash": "^4.17.11"- }+ "node_modules/@types/estree": {+ "version": "0.0.39",+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz",+ "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==",+ "dev": true},- "@babel/helper-remap-async-to-generator": {- "version": "7.1.0",- "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.1.0.tgz",- "integrity": "sha512-3fOK0L+Fdlg8S5al8u/hWE6vhufGSn0bN09xm2LXMy//REAF8kDCrYoOBKYmA8m5Nom+sV9LyLCwrFynA8/slg==",+ "node_modules/@types/glob": {+ "version": "7.1.3",+ "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz",+ "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==","dev": true,- "requires": {- "@babel/helper-annotate-as-pure": "^7.0.0",- "@babel/helper-wrap-function": "^7.1.0",- "@babel/template": "^7.1.0",- "@babel/traverse": "^7.1.0",- "@babel/types": "^7.0.0"+ "dependencies": {+ "@types/minimatch": "*",+ "@types/node": "*"}},- "@babel/helper-replace-supers": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.4.4.tgz",- "integrity": "sha512-04xGEnd+s01nY1l15EuMS1rfKktNF+1CkKmHoErDppjAAZL+IUBZpzT748x262HF7fibaQPhbvWUl5HeSt1EXg==",- "dev": true,- "requires": {- "@babel/helper-member-expression-to-functions": "^7.0.0",- "@babel/helper-optimise-call-expression": "^7.0.0",- "@babel/traverse": "^7.4.4",- "@babel/types": "^7.4.4"- }+ "node_modules/@types/minimatch": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",+ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==",+ "dev": true},- "@babel/helper-simple-access": {- "version": "7.1.0",- "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.1.0.tgz",- "integrity": "sha512-Vk+78hNjRbsiu49zAPALxTb+JUQCz1aolpd8osOF16BGnLtseD21nbHgLPGUwrXEurZgiCOUmvs3ExTu4F5x6w==",- "dev": true,- "requires": {- "@babel/template": "^7.1.0",- "@babel/types": "^7.0.0"- }+ "node_modules/@types/node": {+ "version": "14.14.7",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.7.tgz",+ "integrity": "sha512-Zw1vhUSQZYw+7u5dAwNbIA9TuTotpzY/OF7sJM9FqPOF3SPjKnxrjoTktXDZgUjybf4cWVBP7O8wvKdSaGHweg==",+ "dev": true+ },+ "node_modules/@types/parse-json": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",+ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==",+ "dev": true+ },+ "node_modules/@types/q": {+ "version": "1.5.4",+ "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz",+ "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==",+ "dev": true},- "@babel/helper-split-export-declaration": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz",- "integrity": "sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q==",+ "node_modules/@types/resolve": {+ "version": "1.17.1",+ "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz",+ "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==","dev": true,- "requires": {- "@babel/types": "^7.4.4"+ "dependencies": {+ "@types/node": "*"}},- "@babel/helper-wrap-function": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.2.0.tgz",- "integrity": "sha512-o9fP1BZLLSrYlxYEYyl2aS+Flun5gtjTIG8iln+XuEzQTs0PLagAGSXUcqruJwD5fM48jzIEggCKpIfWTcR7pQ==",+ "node_modules/@zeit/schemas": {+ "version": "2.6.0",+ "resolved": "https://registry.npmjs.org/@zeit/schemas/-/schemas-2.6.0.tgz",+ "integrity": "sha512-uUrgZ8AxS+Lio0fZKAipJjAh415JyrOZowliZAzmnJSsf7piVL5w+G0+gFJ0KSu3QRhvui/7zuvpLz03YjXAhg==",+ "dev": true+ },+ "node_modules/accepts": {+ "version": "1.3.7",+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",+ "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==","dev": true,- "requires": {- "@babel/helper-function-name": "^7.1.0",- "@babel/template": "^7.1.0",- "@babel/traverse": "^7.1.0",- "@babel/types": "^7.2.0"+ "dependencies": {+ "mime-types": "~2.1.24",+ "negotiator": "0.6.2"+ },+ "engines": {+ "node": ">= 0.6"}},- "@babel/helpers": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.4.4.tgz",- "integrity": "sha512-igczbR/0SeuPR8RFfC7tGrbdTbFL3QTvH6D+Z6zNxnTe//GyqmtHmDkzrqDmyZ3eSwPqB/LhyKoU5DXsp+Vp2A==",+ "node_modules/aggregate-error": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz",+ "integrity": "sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA==","dev": true,- "requires": {- "@babel/template": "^7.4.4",- "@babel/traverse": "^7.4.4",- "@babel/types": "^7.4.4"+ "dependencies": {+ "clean-stack": "^2.0.0",+ "indent-string": "^4.0.0"+ },+ "engines": {+ "node": ">=8"}},- "@babel/highlight": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz",- "integrity": "sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==",+ "node_modules/ajv": {+ "version": "6.5.3",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.3.tgz",+ "integrity": "sha512-LqZ9wY+fx3UMiiPd741yB2pj3hhil+hQc8taf4o2QGRFpWgZ2V5C8HA165DY9sS3fJwsk7uT7ZlFEyC3Ig3lLg==","dev": true,- "requires": {- "chalk": "^2.0.0",- "esutils": "^2.0.2",- "js-tokens": "^4.0.0"- },"dependencies": {- "js-tokens": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",- "dev": true- }+ "fast-deep-equal": "^2.0.1",+ "fast-json-stable-stringify": "^2.0.0",+ "json-schema-traverse": "^0.4.1",+ "uri-js": "^4.2.2"}},- "@babel/parser": {- "version": "7.4.5",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.5.tgz",- "integrity": "sha512-9mUqkL1FF5T7f0WDFfAoDdiMVPWsdD1gZYzSnaXsxUCUqzuch/8of9G3VUSNiZmMBoRxT3neyVsqeiL/ZPcjew==",+ "node_modules/alphanum-sort": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz",+ "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=","dev": true},- "@babel/plugin-proposal-async-generator-functions": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.2.0.tgz",- "integrity": "sha512-+Dfo/SCQqrwx48ptLVGLdE39YtWRuKc/Y9I5Fy0P1DDBB9lsAHpjcEJQt+4IifuSOSTLBKJObJqMvaO1pIE8LQ==",+ "node_modules/ansi-align": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz",+ "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-remap-async-to-generator": "^7.1.0",- "@babel/plugin-syntax-async-generators": "^7.2.0"+ "dependencies": {+ "string-width": "^2.0.0"}},- "@babel/plugin-proposal-class-properties": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.4.4.tgz",- "integrity": "sha512-WjKTI8g8d5w1Bc9zgwSz2nfrsNQsXcCf9J9cdCvrJV6RF56yztwm4TmJC0MgJ9tvwO9gUA/mcYe89bLdGfiXFg==",+ "node_modules/ansi-align/node_modules/ansi-regex": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=","dev": true,- "requires": {- "@babel/helper-create-class-features-plugin": "^7.4.4",- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">=4"}},- "@babel/plugin-proposal-json-strings": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.2.0.tgz",- "integrity": "sha512-MAFV1CA/YVmYwZG0fBQyXhmj0BHCB5egZHCKWIFVv/XCxAeVGIHfos3SwDck4LvCllENIAg7xMKOG5kH0dzyUg==",+ "node_modules/ansi-align/node_modules/is-fullwidth-code-point": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/plugin-syntax-json-strings": "^7.2.0"+ "engines": {+ "node": ">=4"}},- "@babel/plugin-proposal-object-rest-spread": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.4.tgz",- "integrity": "sha512-dMBG6cSPBbHeEBdFXeQ2QLc5gUpg4Vkaz8octD4aoW/ISO+jBOcsuxYL7bsb5WSu8RLP6boxrBIALEHgoHtO9g==",+ "node_modules/ansi-align/node_modules/string-width": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/plugin-syntax-object-rest-spread": "^7.2.0"+ "dependencies": {+ "is-fullwidth-code-point": "^2.0.0",+ "strip-ansi": "^4.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-proposal-optional-catch-binding": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.2.0.tgz",- "integrity": "sha512-mgYj3jCcxug6KUcX4OBoOJz3CMrwRfQELPQ5560F70YQUBZB7uac9fqaWamKR1iWUzGiK2t0ygzjTScZnVz75g==",+ "node_modules/ansi-align/node_modules/strip-ansi": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/plugin-syntax-optional-catch-binding": "^7.2.0"+ "dependencies": {+ "ansi-regex": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-proposal-unicode-property-regex": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.4.tgz",- "integrity": "sha512-j1NwnOqMG9mFUOH58JTFsA/+ZYzQLUZ/drqWUqxCYLGeu2JFZL8YrNC9hBxKmWtAuOCHPcRpgv7fhap09Fb4kA==",+ "node_modules/ansi-colors": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",+ "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-regex": "^7.4.4",- "regexpu-core": "^4.5.4"+ "engines": {+ "node": ">=6"}},- "@babel/plugin-syntax-async-generators": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.2.0.tgz",- "integrity": "sha512-1ZrIRBv2t0GSlcwVoQ6VgSLpLgiN/FVQUzt9znxo7v2Ov4jJrs8RY8tv0wvDmFN3qIdMKWrmMMW6yZ0G19MfGg==",+ "node_modules/ansi-escapes": {+ "version": "4.3.1",+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz",+ "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "type-fest": "^0.11.0"+ },+ "engines": {+ "node": ">=8"}},- "@babel/plugin-syntax-flow": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.2.0.tgz",- "integrity": "sha512-r6YMuZDWLtLlu0kqIim5o/3TNRAlWb073HwT3e2nKf9I8IIvOggPrnILYPsrrKilmn/mYEMCf/Z07w3yQJF6dg==",+ "node_modules/ansi-regex": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">=8"}},- "@babel/plugin-syntax-json-strings": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz",- "integrity": "sha512-5UGYnMSLRE1dqqZwug+1LISpA403HzlSfsg6P9VXU6TBjcSHeNlw4DxDx7LgpF+iKZoOG/+uzqoRHTdcUpiZNg==",+ "node_modules/ansi-styles": {+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",+ "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "@types/color-name": "^1.1.1",+ "color-convert": "^2.0.1"+ },+ "engines": {+ "node": ">=8"}},- "@babel/plugin-syntax-object-rest-spread": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz",- "integrity": "sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA==",- "dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"- }+ "node_modules/arch": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/arch/-/arch-2.1.2.tgz",+ "integrity": "sha512-NTBIIbAfkJeIletyABbVtdPgeKfDafR+1mZV/AyyfC1UkVkp9iUjV+wwmqtUgphHYajbI86jejBJp5e+jkGTiQ==",+ "dev": true},- "@babel/plugin-syntax-optional-catch-binding": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.2.0.tgz",- "integrity": "sha512-bDe4xKNhb0LI7IvZHiA13kff0KEfaGX/Hv4lMA9+7TEc63hMNvfKo6ZFpXhKuEp+II/q35Gc4NoMeDZyaUbj9w==",- "dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"- }+ "node_modules/arg": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/arg/-/arg-2.0.0.tgz",+ "integrity": "sha512-XxNTUzKnz1ctK3ZIcI2XUPlD96wbHP2nGqkPKpvk/HNRlPveYrXIVSTk9m3LcqOgDPg3B1nMvdV/K8wZd7PG4w==",+ "dev": true},- "@babel/plugin-syntax-typescript": {- "version": "7.3.3",- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.3.3.tgz",- "integrity": "sha512-dGwbSMA1YhVS8+31CnPR7LB4pcbrzcV99wQzby4uAfrkZPYZlQ7ImwdpzLqi6Z6IL02b8IAL379CaMwo0x5Lag==",+ "node_modules/argparse": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "sprintf-js": "~1.0.2"}},- "@babel/plugin-transform-arrow-functions": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.2.0.tgz",- "integrity": "sha512-ER77Cax1+8/8jCB9fo4Ud161OZzWN5qawi4GusDuRLcDbDG+bIGYY20zb2dfAFdTRGzrfq2xZPvF0R64EHnimg==",+ "node_modules/array-union": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">=8"}},- "@babel/plugin-transform-async-to-generator": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.4.4.tgz",- "integrity": "sha512-YiqW2Li8TXmzgbXw+STsSqPBPFnGviiaSp6CYOq55X8GQ2SGVLrXB6pNid8HkqkZAzOH6knbai3snhP7v0fNwA==",+ "node_modules/astral-regex": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",+ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==","dev": true,- "requires": {- "@babel/helper-module-imports": "^7.0.0",- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-remap-async-to-generator": "^7.1.0"+ "engines": {+ "node": ">=8"}},- "@babel/plugin-transform-block-scoped-functions": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.2.0.tgz",- "integrity": "sha512-ntQPR6q1/NKuphly49+QiQiTN0O63uOwjdD6dhIjSWBI5xlrbUFh720TIpzBhpnrLfv2tNH/BXvLIab1+BAI0w==",- "dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"- }+ "node_modules/balanced-match": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",+ "dev": true},- "@babel/plugin-transform-block-scoping": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.4.4.tgz",- "integrity": "sha512-jkTUyWZcTrwxu5DD4rWz6rDB5Cjdmgz6z7M7RLXOJyCUkFBawssDGcGh8M/0FTSB87avyJI1HsTwUXp9nKA1PA==",+ "node_modules/big.js": {+ "version": "5.2.2",+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "lodash": "^4.17.11"+ "engines": {+ "node": "*"}},- "@babel/plugin-transform-classes": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.4.tgz",- "integrity": "sha512-/e44eFLImEGIpL9qPxSRat13I5QNRgBLu2hOQJCF7VLy/otSM/sypV1+XaIw5+502RX/+6YaSAPmldk+nhHDPw==",- "dev": true,- "requires": {- "@babel/helper-annotate-as-pure": "^7.0.0",- "@babel/helper-define-map": "^7.4.4",- "@babel/helper-function-name": "^7.1.0",- "@babel/helper-optimise-call-expression": "^7.0.0",- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-replace-supers": "^7.4.4",- "@babel/helper-split-export-declaration": "^7.4.4",- "globals": "^11.1.0"- }+ "node_modules/boolbase": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",+ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=",+ "dev": true},- "@babel/plugin-transform-computed-properties": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.2.0.tgz",- "integrity": "sha512-kP/drqTxY6Xt3NNpKiMomfgkNn4o7+vKxK2DDKcBG9sHj51vHqMBGy8wbDS/J4lMxnqs153/T3+DmCEAkC5cpA==",+ "node_modules/boxen": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz",+ "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "ansi-align": "^2.0.0",+ "camelcase": "^4.0.0",+ "chalk": "^2.0.1",+ "cli-boxes": "^1.0.0",+ "string-width": "^2.0.0",+ "term-size": "^1.2.0",+ "widest-line": "^2.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-destructuring": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.4.tgz",- "integrity": "sha512-/aOx+nW0w8eHiEHm+BTERB2oJn5D127iye/SUQl7NjHy0lf+j7h4MKMMSOwdazGq9OxgiNADncE+SRJkCxjZpQ==",+ "node_modules/boxen/node_modules/ansi-regex": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-dotall-regex": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.4.4.tgz",- "integrity": "sha512-P05YEhRc2h53lZDjRPk/OektxCVevFzZs2Gfjd545Wde3k+yFDbXORgl2e0xpbq8mLcKJ7Idss4fAg0zORN/zg==",+ "node_modules/boxen/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-regex": "^7.4.4",- "regexpu-core": "^4.5.4"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-duplicate-keys": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.2.0.tgz",- "integrity": "sha512-q+yuxW4DsTjNceUiTzK0L+AfQ0zD9rWaTLiUqHA8p0gxx7lu1EylenfzjeIWNkPy6e/0VG/Wjw9uf9LueQwLOw==",+ "node_modules/boxen/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-exponentiation-operator": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.2.0.tgz",- "integrity": "sha512-umh4hR6N7mu4Elq9GG8TOu9M0bakvlsREEC+ialrQN6ABS4oDQ69qJv1VtR3uxlKMCQMCvzk7vr17RHKcjx68A==",+ "node_modules/boxen/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "@babel/helper-builder-binary-assignment-operator-visitor": "^7.1.0",- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "color-name": "1.1.3"}},- "@babel/plugin-transform-flow-strip-types": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.4.4.tgz",- "integrity": "sha512-WyVedfeEIILYEaWGAUWzVNyqG4sfsNooMhXWsu/YzOvVGcsnPb5PguysjJqI3t3qiaYj0BR8T2f5njdjTGe44Q==",- "dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/plugin-syntax-flow": "^7.2.0"- }+ "node_modules/boxen/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true},- "@babel/plugin-transform-for-of": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.4.tgz",- "integrity": "sha512-9T/5Dlr14Z9TIEXLXkt8T1DU7F24cbhwhMNUziN3hB1AXoZcdzPcTiKGRn/6iOymDqtTKWnr/BtRKN9JwbKtdQ==",+ "node_modules/boxen/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-function-name": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.4.4.tgz",- "integrity": "sha512-iU9pv7U+2jC9ANQkKeNF6DrPy4GBa4NWQtl6dHB4Pb3izX2JOEvDTFarlNsBj/63ZEzNNIAMs3Qw4fNCcSOXJA==",+ "node_modules/boxen/node_modules/is-fullwidth-code-point": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=","dev": true,- "requires": {- "@babel/helper-function-name": "^7.1.0",- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-literals": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.2.0.tgz",- "integrity": "sha512-2ThDhm4lI4oV7fVQ6pNNK+sx+c/GM5/SaML0w/r4ZB7sAneD/piDJtwdKlNckXeyGK7wlwg2E2w33C/Hh+VFCg==",+ "node_modules/boxen/node_modules/string-width": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "is-fullwidth-code-point": "^2.0.0",+ "strip-ansi": "^4.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-member-expression-literals": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.2.0.tgz",- "integrity": "sha512-HiU3zKkSU6scTidmnFJ0bMX8hz5ixC93b4MHMiYebmk2lUVNGOboPsqQvx5LzooihijUoLR/v7Nc1rbBtnc7FA==",+ "node_modules/boxen/node_modules/strip-ansi": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "ansi-regex": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-modules-amd": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.2.0.tgz",- "integrity": "sha512-mK2A8ucqz1qhrdqjS9VMIDfIvvT2thrEsIQzbaTdc5QFzhDjQv2CkJJ5f6BXIkgbmaoax3zBr2RyvV/8zeoUZw==",+ "node_modules/boxen/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "@babel/helper-module-transforms": "^7.1.0",- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-modules-commonjs": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.4.4.tgz",- "integrity": "sha512-4sfBOJt58sEo9a2BQXnZq+Q3ZTSAUXyK3E30o36BOGnJ+tvJ6YSxF0PG6kERvbeISgProodWuI9UVG3/FMY6iw==",+ "node_modules/brace-expansion": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==","dev": true,- "requires": {- "@babel/helper-module-transforms": "^7.4.4",- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-simple-access": "^7.1.0"+ "dependencies": {+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"}},- "@babel/plugin-transform-modules-systemjs": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.4.4.tgz",- "integrity": "sha512-MSiModfILQc3/oqnG7NrP1jHaSPryO6tA2kOMmAQApz5dayPxWiHqmq4sWH2xF5LcQK56LlbKByCd8Aah/OIkQ==",+ "node_modules/braces": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==","dev": true,- "requires": {- "@babel/helper-hoist-variables": "^7.4.4",- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "fill-range": "^7.0.1"+ },+ "engines": {+ "node": ">=8"}},- "@babel/plugin-transform-modules-umd": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.2.0.tgz",- "integrity": "sha512-BV3bw6MyUH1iIsGhXlOK6sXhmSarZjtJ/vMiD9dNmpY8QXFFQTj+6v92pcfy1iqa8DeAfJFwoxcrS/TUZda6sw==",+ "node_modules/browserslist": {+ "version": "4.14.0",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.0.tgz",+ "integrity": "sha512-pUsXKAF2lVwhmtpeA3LJrZ76jXuusrNyhduuQs7CDFf9foT4Y38aQOserd2lMe5DSSrjf3fx34oHwryuvxAUgQ==","dev": true,- "requires": {- "@babel/helper-module-transforms": "^7.1.0",- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "caniuse-lite": "^1.0.30001111",+ "electron-to-chromium": "^1.3.523",+ "escalade": "^3.0.2",+ "node-releases": "^1.1.60"+ },+ "bin": {+ "browserslist": "cli.js"+ },+ "engines": {+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"}},- "@babel/plugin-transform-named-capturing-groups-regex": {- "version": "7.4.5",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.5.tgz",- "integrity": "sha512-z7+2IsWafTBbjNsOxU/Iv5CvTJlr5w4+HGu1HovKYTtgJ362f7kBcQglkfmlspKKZ3bgrbSGvLfNx++ZJgCWsg==",+ "node_modules/buffer-from": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",+ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",+ "dev": true+ },+ "node_modules/builtin-modules": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.1.0.tgz",+ "integrity": "sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==","dev": true,- "requires": {- "regexp-tree": "^0.1.6"+ "engines": {+ "node": ">=6"}},- "@babel/plugin-transform-new-target": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.4.tgz",- "integrity": "sha512-r1z3T2DNGQwwe2vPGZMBNjioT2scgWzK9BCnDEh+46z8EEwXBq24uRzd65I7pjtugzPSj921aM15RpESgzsSuA==",+ "node_modules/bytes": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",+ "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">= 0.8"}},- "@babel/plugin-transform-object-super": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.2.0.tgz",- "integrity": "sha512-VMyhPYZISFZAqAPVkiYb7dUe2AsVi2/wCT5+wZdsNO31FojQJa9ns40hzZ6U9f50Jlq4w6qwzdBB2uwqZ00ebg==",+ "node_modules/caller-callsite": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz",+ "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-replace-supers": "^7.1.0"+ "dependencies": {+ "callsites": "^2.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-parameters": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.4.tgz",- "integrity": "sha512-oMh5DUO1V63nZcu/ZVLQFqiihBGo4OpxJxR1otF50GMeCLiRx5nUdtokd+u9SuVJrvvuIh9OosRFPP4pIPnwmw==",+ "node_modules/caller-callsite/node_modules/callsites": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz",+ "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=","dev": true,- "requires": {- "@babel/helper-call-delegate": "^7.4.4",- "@babel/helper-get-function-arity": "^7.0.0",- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-property-literals": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.2.0.tgz",- "integrity": "sha512-9q7Dbk4RhgcLp8ebduOpCbtjh7C0itoLYHXd9ueASKAG/is5PQtMR5VJGka9NKqGhYEGn5ITahd4h9QeBMylWQ==",+ "node_modules/caller-path": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz",+ "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "caller-callsite": "^2.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-regenerator": {- "version": "7.4.5",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.5.tgz",- "integrity": "sha512-gBKRh5qAaCWntnd09S8QC7r3auLCqq5DI6O0DlfoyDjslSBVqBibrMdsqO+Uhmx3+BlOmE/Kw1HFxmGbv0N9dA==",+ "node_modules/callsites": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==","dev": true,- "requires": {- "regenerator-transform": "^0.14.0"+ "engines": {+ "node": ">=6"}},- "@babel/plugin-transform-reserved-words": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.2.0.tgz",- "integrity": "sha512-fz43fqW8E1tAB3DKF19/vxbpib1fuyCwSPE418ge5ZxILnBhWyhtPgz8eh1RCGGJlwvksHkyxMxh0eenFi+kFw==",+ "node_modules/camelcase": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",+ "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">=4"}},- "@babel/plugin-transform-shorthand-properties": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz",- "integrity": "sha512-QP4eUM83ha9zmYtpbnyjTLAGKQritA5XW/iG9cjtuOI8s1RuL/3V6a3DeSHfKutJQ+ayUfeZJPcnCYEQzaPQqg==",+ "node_modules/caniuse-api": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",+ "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "browserslist": "^4.0.0",+ "caniuse-lite": "^1.0.0",+ "lodash.memoize": "^4.1.2",+ "lodash.uniq": "^4.5.0"}},- "@babel/plugin-transform-spread": {- "version": "7.2.2",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.2.2.tgz",- "integrity": "sha512-KWfky/58vubwtS0hLqEnrWJjsMGaOeSBn90Ezn5Jeg9Z8KKHmELbP1yGylMlm5N6TPKeY9A2+UaSYLdxahg01w==",+ "node_modules/caniuse-lite": {+ "version": "1.0.30001116",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001116.tgz",+ "integrity": "sha512-f2lcYnmAI5Mst9+g0nkMIznFGsArRmZ0qU+dnq8l91hymdc2J3SFbiPhOJEeDqC1vtE8nc1qNQyklzB8veJefQ==",+ "dev": true+ },+ "node_modules/chalk": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"+ },+ "engines": {+ "node": ">=10"}},- "@babel/plugin-transform-sticky-regex": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.2.0.tgz",- "integrity": "sha512-KKYCoGaRAf+ckH8gEL3JHUaFVyNHKe3ASNsZ+AlktgHevvxGigoIttrEJb8iKN03Q7Eazlv1s6cx2B2cQ3Jabw==",+ "node_modules/ci-info": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",+ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==",+ "dev": true+ },+ "node_modules/clean-stack": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",+ "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-regex": "^7.0.0"+ "engines": {+ "node": ">=6"}},- "@babel/plugin-transform-template-literals": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.4.4.tgz",- "integrity": "sha512-mQrEC4TWkhLN0z8ygIvEL9ZEToPhG5K7KDW3pzGqOfIGZ28Jb0POUkeWcoz8HnHvhFy6dwAT1j8OzqN8s804+g==",+ "node_modules/cli-boxes": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz",+ "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=","dev": true,- "requires": {- "@babel/helper-annotate-as-pure": "^7.0.0",- "@babel/helper-plugin-utils": "^7.0.0"+ "engines": {+ "node": ">=0.10.0"}},- "@babel/plugin-transform-typeof-symbol": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.2.0.tgz",- "integrity": "sha512-2LNhETWYxiYysBtrBTqL8+La0jIoQQnIScUJc74OYvUGRmkskNY4EzLCnjHBzdmb38wqtTaixpo1NctEcvMDZw==",+ "node_modules/cli-cursor": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0"+ "dependencies": {+ "restore-cursor": "^3.1.0"+ },+ "engines": {+ "node": ">=8"}},- "@babel/plugin-transform-typescript": {- "version": "7.4.5",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.4.5.tgz",- "integrity": "sha512-RPB/YeGr4ZrFKNwfuQRlMf2lxoCUaU01MTw39/OFE/RiL8HDjtn68BwEPft1P7JN4akyEmjGWAMNldOV7o9V2g==",+ "node_modules/cli-truncate": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz",+ "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/plugin-syntax-typescript": "^7.2.0"+ "dependencies": {+ "slice-ansi": "^3.0.0",+ "string-width": "^4.2.0"+ },+ "engines": {+ "node": ">=8"}},- "@babel/plugin-transform-unicode-regex": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.4.4.tgz",- "integrity": "sha512-il+/XdNw01i93+M9J9u4T7/e/Ue/vWfNZE4IRUQjplu2Mqb/AFTDimkw2tdEdSH50wuQXZAbXSql0UphQke+vA==",+ "node_modules/clipboardy": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-1.2.3.tgz",+ "integrity": "sha512-2WNImOvCRe6r63Gk9pShfkwXsVtKCroMAevIbiae021mS850UkWPbevxsBz3tnvjZIEGvlwaqCPsw+4ulzNgJA==","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/helper-regex": "^7.4.4",- "regexpu-core": "^4.5.4"+ "dependencies": {+ "arch": "^2.1.0",+ "execa": "^0.8.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/preset-env": {- "version": "7.4.5",- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.4.5.tgz",- "integrity": "sha512-f2yNVXM+FsR5V8UwcFeIHzHWgnhXg3NpRmy0ADvALpnhB0SLbCvrCRr4BLOUYbQNLS+Z0Yer46x9dJXpXewI7w==",- "dev": true,- "requires": {- "@babel/helper-module-imports": "^7.0.0",- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/plugin-proposal-async-generator-functions": "^7.2.0",- "@babel/plugin-proposal-json-strings": "^7.2.0",- "@babel/plugin-proposal-object-rest-spread": "^7.4.4",- "@babel/plugin-proposal-optional-catch-binding": "^7.2.0",- "@babel/plugin-proposal-unicode-property-regex": "^7.4.4",- "@babel/plugin-syntax-async-generators": "^7.2.0",- "@babel/plugin-syntax-json-strings": "^7.2.0",- "@babel/plugin-syntax-object-rest-spread": "^7.2.0",- "@babel/plugin-syntax-optional-catch-binding": "^7.2.0",- "@babel/plugin-transform-arrow-functions": "^7.2.0",- "@babel/plugin-transform-async-to-generator": "^7.4.4",- "@babel/plugin-transform-block-scoped-functions": "^7.2.0",- "@babel/plugin-transform-block-scoping": "^7.4.4",- "@babel/plugin-transform-classes": "^7.4.4",- "@babel/plugin-transform-computed-properties": "^7.2.0",- "@babel/plugin-transform-destructuring": "^7.4.4",- "@babel/plugin-transform-dotall-regex": "^7.4.4",- "@babel/plugin-transform-duplicate-keys": "^7.2.0",- "@babel/plugin-transform-exponentiation-operator": "^7.2.0",- "@babel/plugin-transform-for-of": "^7.4.4",- "@babel/plugin-transform-function-name": "^7.4.4",- "@babel/plugin-transform-literals": "^7.2.0",- "@babel/plugin-transform-member-expression-literals": "^7.2.0",- "@babel/plugin-transform-modules-amd": "^7.2.0",- "@babel/plugin-transform-modules-commonjs": "^7.4.4",- "@babel/plugin-transform-modules-systemjs": "^7.4.4",- "@babel/plugin-transform-modules-umd": "^7.2.0",- "@babel/plugin-transform-named-capturing-groups-regex": "^7.4.5",- "@babel/plugin-transform-new-target": "^7.4.4",- "@babel/plugin-transform-object-super": "^7.2.0",- "@babel/plugin-transform-parameters": "^7.4.4",- "@babel/plugin-transform-property-literals": "^7.2.0",- "@babel/plugin-transform-regenerator": "^7.4.5",- "@babel/plugin-transform-reserved-words": "^7.2.0",- "@babel/plugin-transform-shorthand-properties": "^7.2.0",- "@babel/plugin-transform-spread": "^7.2.0",- "@babel/plugin-transform-sticky-regex": "^7.2.0",- "@babel/plugin-transform-template-literals": "^7.4.4",- "@babel/plugin-transform-typeof-symbol": "^7.2.0",- "@babel/plugin-transform-unicode-regex": "^7.4.4",- "@babel/types": "^7.4.4",- "browserslist": "^4.6.0",- "core-js-compat": "^3.1.1",- "invariant": "^2.2.2",- "js-levenshtein": "^1.1.3",- "semver": "^5.5.0"- }- },- "@babel/preset-flow": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/@babel/preset-flow/-/preset-flow-7.0.0.tgz",- "integrity": "sha512-bJOHrYOPqJZCkPVbG1Lot2r5OSsB+iUOaxiHdlOeB1yPWS6evswVHwvkDLZ54WTaTRIk89ds0iHmGZSnxlPejQ==",+ "node_modules/clipboardy/node_modules/cross-spawn": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",+ "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/plugin-transform-flow-strip-types": "^7.0.0"+ "dependencies": {+ "lru-cache": "^4.0.1",+ "shebang-command": "^1.2.0",+ "which": "^1.2.9"}},- "@babel/preset-typescript": {- "version": "7.3.3",- "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.3.3.tgz",- "integrity": "sha512-mzMVuIP4lqtn4du2ynEfdO0+RYcslwrZiJHXu4MGaC1ctJiW2fyaeDrtjJGs7R/KebZ1sgowcIoWf4uRpEfKEg==",+ "node_modules/clipboardy/node_modules/execa": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz",+ "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=","dev": true,- "requires": {- "@babel/helper-plugin-utils": "^7.0.0",- "@babel/plugin-transform-typescript": "^7.3.2"+ "dependencies": {+ "cross-spawn": "^5.0.1",+ "get-stream": "^3.0.0",+ "is-stream": "^1.1.0",+ "npm-run-path": "^2.0.0",+ "p-finally": "^1.0.0",+ "signal-exit": "^3.0.0",+ "strip-eof": "^1.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/register": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.4.4.tgz",- "integrity": "sha512-sn51H88GRa00+ZoMqCVgOphmswG4b7mhf9VOB0LUBAieykq2GnRFerlN+JQkO/ntT7wz4jaHNSRPg9IdMPEUkA==",+ "node_modules/clipboardy/node_modules/get-stream": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",+ "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=","dev": true,- "requires": {- "core-js": "^3.0.0",- "find-cache-dir": "^2.0.0",- "lodash": "^4.17.11",- "mkdirp": "^0.5.1",- "pirates": "^4.0.0",- "source-map-support": "^0.5.9"+ "engines": {+ "node": ">=4"}},- "@babel/template": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.4.4.tgz",- "integrity": "sha512-CiGzLN9KgAvgZsnivND7rkA+AeJ9JB0ciPOD4U59GKbQP2iQl+olF1l76kJOupqidozfZ32ghwBEJDhnk9MEcw==",+ "node_modules/clipboardy/node_modules/is-stream": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",+ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=","dev": true,- "requires": {- "@babel/code-frame": "^7.0.0",- "@babel/parser": "^7.4.4",- "@babel/types": "^7.4.4"+ "engines": {+ "node": ">=0.10.0"}},- "@babel/traverse": {- "version": "7.4.5",- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.5.tgz",- "integrity": "sha512-Vc+qjynwkjRmIFGxy0KYoPj4FdVDxLej89kMHFsWScq999uX+pwcX4v9mWRjW0KcAYTPAuVQl2LKP1wEVLsp+A==",+ "node_modules/clipboardy/node_modules/npm-run-path": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",+ "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=","dev": true,- "requires": {- "@babel/code-frame": "^7.0.0",- "@babel/generator": "^7.4.4",- "@babel/helper-function-name": "^7.1.0",- "@babel/helper-split-export-declaration": "^7.4.4",- "@babel/parser": "^7.4.5",- "@babel/types": "^7.4.4",- "debug": "^4.1.0",- "globals": "^11.1.0",- "lodash": "^4.17.11"- },"dependencies": {- "debug": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",- "dev": true,- "requires": {- "ms": "^2.1.1"- }- },- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",- "dev": true- }+ "path-key": "^2.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@babel/types": {- "version": "7.4.4",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.4.4.tgz",- "integrity": "sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ==",+ "node_modules/clipboardy/node_modules/path-key": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",+ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=","dev": true,- "requires": {- "esutils": "^2.0.2",- "lodash": "^4.17.11",- "to-fast-properties": "^2.0.0"+ "engines": {+ "node": ">=4"}},- "@cnakazawa/watch": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.3.tgz",- "integrity": "sha512-r5160ogAvGyHsal38Kux7YYtodEKOj89RGb28ht1jh3SJb08VwRwAKKJL0bGb04Zd/3r9FL3BFIc3bBidYffCA==",+ "node_modules/clipboardy/node_modules/shebang-command": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",+ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=","dev": true,- "requires": {- "exec-sh": "^0.3.2",- "minimist": "^1.2.0"- },"dependencies": {- "minimist": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",- "dev": true- }- }- },- "@fimbul/bifrost": {- "version": "0.15.0",- "resolved": "https://registry.npmjs.org/@fimbul/bifrost/-/bifrost-0.15.0.tgz",- "integrity": "sha512-sHTwnwA9YhxcVEJkBlfKH1KLmGQGnNYPxk+09w5NnkXelYiiP8a5f351weYfxG0CUPLt1Fgkha20Y/9+jhjn/Q==",- "dev": true,- "requires": {- "@fimbul/ymir": "^0.15.0",- "get-caller-file": "^2.0.0",- "tslib": "^1.8.1",- "tsutils": "^3.1.0"+ "shebang-regex": "^1.0.0"},- "dependencies": {- "get-caller-file": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.1.tgz",- "integrity": "sha512-SpOZHfz845AH0wJYVuZk2jWDqFmu7Xubsx+ldIpwzy5pDUpu7OJHK7QYNSA2NPlDSKQwM1GFaAkciOWjjW92Sg==",- "dev": true- },- "tsutils": {- "version": "3.5.2",- "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.5.2.tgz",- "integrity": "sha512-qIlklNuI/1Dzfm+G+kJV5gg3gimZIX5haYtIVQe7qGyKd7eu8T1t1DY6pz4Sc2CGXAj9s1izycctm9Zfl9sRuQ==",- "dev": true,- "requires": {- "tslib": "^1.8.1"- }- }+ "engines": {+ "node": ">=0.10.0"}},- "@fimbul/ymir": {- "version": "0.15.0",- "resolved": "https://registry.npmjs.org/@fimbul/ymir/-/ymir-0.15.0.tgz",- "integrity": "sha512-Ow0TfxxQ65vIktHcZyXHeDsGKuzJ9Vt6y77R/aOrXQXLMdYHG+XdbiUWzQbtaGOmNzYVkQfINiFnIdvn5Bn24g==",+ "node_modules/clipboardy/node_modules/shebang-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",+ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=","dev": true,- "requires": {- "inversify": "^5.0.0",- "reflect-metadata": "^0.1.12",- "tslib": "^1.8.1"+ "engines": {+ "node": ">=0.10.0"}},- "@jest/console": {- "version": "24.7.1",- "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.7.1.tgz",- "integrity": "sha512-iNhtIy2M8bXlAOULWVTUxmnelTLFneTNEkHCgPmgd+zNwy9zVddJ6oS5rZ9iwoscNdT5mMwUd0C51v/fSlzItg==",+ "node_modules/clipboardy/node_modules/which": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==","dev": true,- "requires": {- "@jest/source-map": "^24.3.0",- "chalk": "^2.0.1",- "slash": "^2.0.0"- },"dependencies": {- "slash": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",- "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",- "dev": true- }+ "isexe": "^2.0.0"+ },+ "bin": {+ "which": "bin/which"}},- "@jest/core": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/@jest/core/-/core-24.8.0.tgz",- "integrity": "sha512-R9rhAJwCBQzaRnrRgAdVfnglUuATXdwTRsYqs6NMdVcAl5euG8LtWDe+fVkN27YfKVBW61IojVsXKaOmSnqd/A==",+ "node_modules/coa": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz",+ "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==","dev": true,- "requires": {- "@jest/console": "^24.7.1",- "@jest/reporters": "^24.8.0",- "@jest/test-result": "^24.8.0",- "@jest/transform": "^24.8.0",- "@jest/types": "^24.8.0",- "ansi-escapes": "^3.0.0",- "chalk": "^2.0.1",- "exit": "^0.1.2",- "graceful-fs": "^4.1.15",- "jest-changed-files": "^24.8.0",- "jest-config": "^24.8.0",- "jest-haste-map": "^24.8.0",- "jest-message-util": "^24.8.0",- "jest-regex-util": "^24.3.0",- "jest-resolve-dependencies": "^24.8.0",- "jest-runner": "^24.8.0",- "jest-runtime": "^24.8.0",- "jest-snapshot": "^24.8.0",- "jest-util": "^24.8.0",- "jest-validate": "^24.8.0",- "jest-watcher": "^24.8.0",- "micromatch": "^3.1.10",- "p-each-series": "^1.0.0",- "pirates": "^4.0.1",- "realpath-native": "^1.1.0",- "rimraf": "^2.5.4",- "strip-ansi": "^5.0.0"- },"dependencies": {- "ansi-regex": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",- "dev": true- },- "graceful-fs": {- "version": "4.1.15",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",- "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",- "dev": true- },- "strip-ansi": {- "version": "5.2.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",- "dev": true,- "requires": {- "ansi-regex": "^4.1.0"- }- }+ "@types/q": "^1.5.1",+ "chalk": "^2.4.1",+ "q": "^1.1.2"+ },+ "engines": {+ "node": ">= 4.0"}},- "@jest/environment": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.8.0.tgz",- "integrity": "sha512-vlGt2HLg7qM+vtBrSkjDxk9K0YtRBi7HfRFaDxoRtyi+DyVChzhF20duvpdAnKVBV6W5tym8jm0U9EfXbDk1tw==",+ "node_modules/coa/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "@jest/fake-timers": "^24.8.0",- "@jest/transform": "^24.8.0",- "@jest/types": "^24.8.0",- "jest-mock": "^24.8.0"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "@jest/fake-timers": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.8.0.tgz",- "integrity": "sha512-2M4d5MufVXwi6VzZhJ9f5S/wU4ud2ck0kxPof1Iz3zWx6Y+V2eJrES9jEktB6O3o/oEyk+il/uNu9PvASjWXQw==",+ "node_modules/coa/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,- "requires": {- "@jest/types": "^24.8.0",- "jest-message-util": "^24.8.0",- "jest-mock": "^24.8.0"- }- },- "@jest/reporters": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-24.8.0.tgz",- "integrity": "sha512-eZ9TyUYpyIIXfYCrw0UHUWUvE35vx5I92HGMgS93Pv7du+GHIzl+/vh8Qj9MCWFK/4TqyttVBPakWMOfZRIfxw==",- "dev": true,- "requires": {- "@jest/environment": "^24.8.0",- "@jest/test-result": "^24.8.0",- "@jest/transform": "^24.8.0",- "@jest/types": "^24.8.0",- "chalk": "^2.0.1",- "exit": "^0.1.2",- "glob": "^7.1.2",- "istanbul-lib-coverage": "^2.0.2",- "istanbul-lib-instrument": "^3.0.1",- "istanbul-lib-report": "^2.0.4",- "istanbul-lib-source-maps": "^3.0.1",- "istanbul-reports": "^2.1.1",- "jest-haste-map": "^24.8.0",- "jest-resolve": "^24.8.0",- "jest-runtime": "^24.8.0",- "jest-util": "^24.8.0",- "jest-worker": "^24.6.0",- "node-notifier": "^5.2.1",- "slash": "^2.0.0",- "source-map": "^0.6.0",- "string-length": "^2.0.0"- },- "dependencies": {- "slash": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",- "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",- "dev": true- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- }+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "@jest/source-map": {- "version": "24.3.0",- "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.3.0.tgz",- "integrity": "sha512-zALZt1t2ou8le/crCeeiRYzvdnTzaIlpOWaet45lNSqNJUnXbppUUFR4ZUAlzgDmKee4Q5P/tKXypI1RiHwgag==",+ "node_modules/coa/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "callsites": "^3.0.0",- "graceful-fs": "^4.1.15",- "source-map": "^0.6.0"- },"dependencies": {- "callsites": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",- "dev": true- },- "graceful-fs": {- "version": "4.1.15",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",- "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",- "dev": true- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- }+ "color-name": "1.1.3"}},- "@jest/test-result": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.8.0.tgz",- "integrity": "sha512-+YdLlxwizlfqkFDh7Mc7ONPQAhA4YylU1s529vVM1rsf67vGZH/2GGm5uO8QzPeVyaVMobCQ7FTxl38QrKRlng==",- "dev": true,- "requires": {- "@jest/console": "^24.7.1",- "@jest/types": "^24.8.0",- "@types/istanbul-lib-coverage": "^2.0.0"- }+ "node_modules/coa/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true},- "@jest/test-sequencer": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-24.8.0.tgz",- "integrity": "sha512-OzL/2yHyPdCHXEzhoBuq37CE99nkme15eHkAzXRVqthreWZamEMA0WoetwstsQBCXABhczpK03JNbc4L01vvLg==",+ "node_modules/coa/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "@jest/test-result": "^24.8.0",- "jest-haste-map": "^24.8.0",- "jest-runner": "^24.8.0",- "jest-runtime": "^24.8.0"+ "engines": {+ "node": ">=4"}},- "@jest/transform": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.8.0.tgz",- "integrity": "sha512-xBMfFUP7TortCs0O+Xtez2W7Zu1PLH9bvJgtraN1CDST6LBM/eTOZ9SfwS/lvV8yOfcDpFmwf9bq5cYbXvqsvA==",+ "node_modules/coa/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "@babel/core": "^7.1.0",- "@jest/types": "^24.8.0",- "babel-plugin-istanbul": "^5.1.0",- "chalk": "^2.0.1",- "convert-source-map": "^1.4.0",- "fast-json-stable-stringify": "^2.0.0",- "graceful-fs": "^4.1.15",- "jest-haste-map": "^24.8.0",- "jest-regex-util": "^24.3.0",- "jest-util": "^24.8.0",- "micromatch": "^3.1.10",- "realpath-native": "^1.1.0",- "slash": "^2.0.0",- "source-map": "^0.6.1",- "write-file-atomic": "2.4.1"- },"dependencies": {- "graceful-fs": {- "version": "4.1.15",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",- "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",- "dev": true- },- "slash": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",- "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",- "dev": true- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@jest/types": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.8.0.tgz",- "integrity": "sha512-g17UxVr2YfBtaMUxn9u/4+siG1ptg9IGYAYwvpwn61nBg779RXnjE/m7CxYcIzEt0AbHZZAHSEZNhkE2WxURVg==",+ "node_modules/color": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/color/-/color-3.1.2.tgz",+ "integrity": "sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==","dev": true,- "requires": {- "@types/istanbul-lib-coverage": "^2.0.0",- "@types/istanbul-reports": "^1.1.1",- "@types/yargs": "^12.0.9"+ "dependencies": {+ "color-convert": "^1.9.1",+ "color-string": "^1.5.2"}},- "@mrmlnc/readdir-enhanced": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz",- "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==",+ "node_modules/color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==","dev": true,- "requires": {- "call-me-maybe": "^1.0.1",- "glob-to-regexp": "^0.3.0"+ "dependencies": {+ "color-name": "~1.1.4"+ },+ "engines": {+ "node": ">=7.0.0"}},- "@nodelib/fs.stat": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz",- "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==",- "dev": true- },- "@sindresorhus/is": {- "version": "0.7.0",- "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.7.0.tgz",- "integrity": "sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow==",+ "node_modules/color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==","dev": true},- "@types/babel__core": {- "version": "7.1.2",- "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.2.tgz",- "integrity": "sha512-cfCCrFmiGY/yq0NuKNxIQvZFy9kY/1immpSpTngOnyIbD4+eJOG5mxphhHDv3CHL9GltO4GcKr54kGBg3RNdbg==",- "dev": true,- "requires": {- "@babel/parser": "^7.1.0",- "@babel/types": "^7.0.0",- "@types/babel__generator": "*",- "@types/babel__template": "*",- "@types/babel__traverse": "*"- }- },- "@types/babel__generator": {- "version": "7.0.2",- "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.0.2.tgz",- "integrity": "sha512-NHcOfab3Zw4q5sEE2COkpfXjoE7o+PmqD9DQW4koUT3roNxwziUdXGnRndMat/LJNUtePwn1TlP4do3uoe3KZQ==",+ "node_modules/color-string": {+ "version": "1.5.3",+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz",+ "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==","dev": true,- "requires": {- "@babel/types": "^7.0.0"+ "dependencies": {+ "color-name": "^1.0.0",+ "simple-swizzle": "^0.2.2"}},- "@types/babel__template": {- "version": "7.0.2",- "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.0.2.tgz",- "integrity": "sha512-/K6zCpeW7Imzgab2bLkLEbz0+1JlFSrUMdw7KoIIu+IUdu51GWaBZpd3y1VXGVXzynvGa4DaIaxNZHiON3GXUg==",+ "node_modules/color/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "@babel/parser": "^7.1.0",- "@babel/types": "^7.0.0"+ "dependencies": {+ "color-name": "1.1.3"}},- "@types/babel__traverse": {- "version": "7.0.6",- "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.6.tgz",- "integrity": "sha512-XYVgHF2sQ0YblLRMLNPB3CkFMewzFmlDsH/TneZFHUXDlABQgh88uOxuez7ZcXxayLFrqLwtDH1t+FmlFwNZxw==",- "dev": true,- "requires": {- "@babel/types": "^7.3.0"- }+ "node_modules/color/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true},- "@types/events": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz",- "integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==",+ "node_modules/comlink": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/comlink/-/comlink-4.3.0.tgz",+ "integrity": "sha512-mu4KKKNuW8TvkfpW/H88HBPeILubBS6T94BdD1VWBXNXfiyqVtwUCVNO1GeNOBTsIswzsMjWlycYr+77F5b84g==","dev": true},- "@types/glob": {- "version": "7.1.1",- "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz",- "integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==",+ "node_modules/commander": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.0.tgz",+ "integrity": "sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q==","dev": true,- "requires": {- "@types/events": "*",- "@types/minimatch": "*",- "@types/node": "*"+ "engines": {+ "node": ">= 6"}},- "@types/istanbul-lib-coverage": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz",- "integrity": "sha512-hRJD2ahnnpLgsj6KWMYSrmXkM3rm2Dl1qkx6IOFD5FnuNPXJIG5L0dhgKXCYTRMGzU4n0wImQ/xfmRc4POUFlg==",+ "node_modules/commondir": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",+ "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=","dev": true},- "@types/istanbul-lib-report": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz",- "integrity": "sha512-3BUTyMzbZa2DtDI2BkERNC6jJw2Mr2Y0oGI7mRxYNBPxppbtEK1F66u3bKwU2g+wxwWI7PAoRpJnOY1grJqzHg==",+ "node_modules/compare-versions": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz",+ "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==",+ "dev": true+ },+ "node_modules/compressible": {+ "version": "2.0.18",+ "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",+ "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==","dev": true,- "requires": {- "@types/istanbul-lib-coverage": "*"+ "dependencies": {+ "mime-db": ">= 1.43.0 < 2"+ },+ "engines": {+ "node": ">= 0.6"}},- "@types/istanbul-reports": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-1.1.1.tgz",- "integrity": "sha512-UpYjBi8xefVChsCoBpKShdxTllC9pwISirfoZsUa2AAdQg/Jd2KQGtSbw+ya7GPo7x/wAPlH6JBhKhAsXUEZNA==",+ "node_modules/compression": {+ "version": "1.7.3",+ "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.3.tgz",+ "integrity": "sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg==","dev": true,- "requires": {- "@types/istanbul-lib-coverage": "*",- "@types/istanbul-lib-report": "*"+ "dependencies": {+ "accepts": "~1.3.5",+ "bytes": "3.0.0",+ "compressible": "~2.0.14",+ "debug": "2.6.9",+ "on-headers": "~1.0.1",+ "safe-buffer": "5.1.2",+ "vary": "~1.1.2"+ },+ "engines": {+ "node": ">= 0.8.0"}},- "@types/minimatch": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",- "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==",- "dev": true- },- "@types/node": {- "version": "10.14.15",- "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.15.tgz",- "integrity": "sha512-CBR5avlLcu0YCILJiDIXeU2pTw7UK/NIxfC63m7d7CVamho1qDEzXKkOtEauQRPMy6MI8mLozth+JJkas7HY6g==",- "dev": true- },- "@types/normalize-package-data": {- "version": "2.4.0",- "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz",- "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==",- "dev": true- },- "@types/pretty-bytes": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/@types/pretty-bytes/-/pretty-bytes-5.1.0.tgz",- "integrity": "sha512-rc7x/HkZyguytBsCUVvcdARplUf0DsrRXqv3yO0v0CIgXuuwNlgYZRfYGCFHxr1CTnKHjCIJ13tB9t49ZixOIw==",- "dev": true- },- "@types/q": {- "version": "1.5.2",- "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz",- "integrity": "sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==",- "dev": true- },- "@types/stack-utils": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz",- "integrity": "sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==",- "dev": true- },- "@types/webassembly-js-api": {- "version": "0.0.3",- "resolved": "https://registry.npmjs.org/@types/webassembly-js-api/-/webassembly-js-api-0.0.3.tgz",- "integrity": "sha512-9c8QN9vJKF8PYeMeh459PbCfNJVF7rJN9F7AAv7zrLvkmFC8/9OhUTEDZnFl8JzyHDArqbEWaNh72EpmzBKo9Q==",- "dev": true- },- "@types/yargs": {- "version": "12.0.12",- "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-12.0.12.tgz",- "integrity": "sha512-SOhuU4wNBxhhTHxYaiG5NY4HBhDIDnJF60GU+2LqHAdKKer86//e4yg69aENCtQ04n0ovz+tq2YPME5t5yp4pw==",- "dev": true- },- "@webassemblyjs/ast": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.8.5.tgz",- "integrity": "sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ==",+ "node_modules/compression/node_modules/debug": {+ "version": "2.6.9",+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==","dev": true,- "requires": {- "@webassemblyjs/helper-module-context": "1.8.5",- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",- "@webassemblyjs/wast-parser": "1.8.5"+ "dependencies": {+ "ms": "2.0.0"}},- "@webassemblyjs/floating-point-hex-parser": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz",- "integrity": "sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ==",+ "node_modules/compression/node_modules/ms": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=","dev": true},- "@webassemblyjs/helper-api-error": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz",- "integrity": "sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA==",+ "node_modules/compression/node_modules/safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==","dev": true},- "@webassemblyjs/helper-buffer": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz",- "integrity": "sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q==",+ "node_modules/concat-map": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=","dev": true},- "@webassemblyjs/helper-code-frame": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz",- "integrity": "sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ==",+ "node_modules/content-disposition": {+ "version": "0.5.2",+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz",+ "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=","dev": true,- "requires": {- "@webassemblyjs/wast-printer": "1.8.5"+ "engines": {+ "node": ">= 0.6"}},- "@webassemblyjs/helper-fsm": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz",- "integrity": "sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow==",- "dev": true- },- "@webassemblyjs/helper-module-context": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz",- "integrity": "sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g==",+ "node_modules/cosmiconfig": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz",+ "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==","dev": true,- "requires": {- "@webassemblyjs/ast": "1.8.5",- "mamacro": "^0.0.3"+ "dependencies": {+ "@types/parse-json": "^4.0.0",+ "import-fresh": "^3.2.1",+ "parse-json": "^5.0.0",+ "path-type": "^4.0.0",+ "yaml": "^1.10.0"+ },+ "engines": {+ "node": ">=10"}},- "@webassemblyjs/helper-wasm-bytecode": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz",- "integrity": "sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ==",- "dev": true+ "node_modules/cross-spawn": {+ "version": "7.0.3",+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",+ "dev": true,+ "dependencies": {+ "path-key": "^3.1.0",+ "shebang-command": "^2.0.0",+ "which": "^2.0.1"+ },+ "engines": {+ "node": ">= 8"+ }},- "@webassemblyjs/helper-wasm-section": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz",- "integrity": "sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA==",+ "node_modules/css-color-names": {+ "version": "0.0.4",+ "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",+ "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=","dev": true,- "requires": {- "@webassemblyjs/ast": "1.8.5",- "@webassemblyjs/helper-buffer": "1.8.5",- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",- "@webassemblyjs/wasm-gen": "1.8.5"+ "engines": {+ "node": "*"}},- "@webassemblyjs/ieee754": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz",- "integrity": "sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g==",+ "node_modules/css-declaration-sorter": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz",+ "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==","dev": true,- "requires": {- "@xtuc/ieee754": "^1.2.0"+ "dependencies": {+ "postcss": "^7.0.1",+ "timsort": "^0.3.0"+ },+ "engines": {+ "node": ">4"}},- "@webassemblyjs/leb128": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.8.5.tgz",- "integrity": "sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A==",+ "node_modules/css-declaration-sorter/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "@xtuc/long": "4.2.2"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "@webassemblyjs/utf8": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.8.5.tgz",- "integrity": "sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw==",- "dev": true+ "node_modules/css-declaration-sorter/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }},- "@webassemblyjs/wasm-edit": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz",- "integrity": "sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q==",+ "node_modules/css-declaration-sorter/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "@webassemblyjs/ast": "1.8.5",- "@webassemblyjs/helper-buffer": "1.8.5",- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",- "@webassemblyjs/helper-wasm-section": "1.8.5",- "@webassemblyjs/wasm-gen": "1.8.5",- "@webassemblyjs/wasm-opt": "1.8.5",- "@webassemblyjs/wasm-parser": "1.8.5",- "@webassemblyjs/wast-printer": "1.8.5"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "@webassemblyjs/wasm-gen": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz",- "integrity": "sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg==",+ "node_modules/css-declaration-sorter/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "@webassemblyjs/ast": "1.8.5",- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",- "@webassemblyjs/ieee754": "1.8.5",- "@webassemblyjs/leb128": "1.8.5",- "@webassemblyjs/utf8": "1.8.5"+ "dependencies": {+ "color-name": "1.1.3"}},- "@webassemblyjs/wasm-opt": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz",- "integrity": "sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q==",+ "node_modules/css-declaration-sorter/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/css-declaration-sorter/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "@webassemblyjs/ast": "1.8.5",- "@webassemblyjs/helper-buffer": "1.8.5",- "@webassemblyjs/wasm-gen": "1.8.5",- "@webassemblyjs/wasm-parser": "1.8.5"+ "engines": {+ "node": ">=4"}},- "@webassemblyjs/wasm-parser": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz",- "integrity": "sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw==",+ "node_modules/css-declaration-sorter/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "@webassemblyjs/ast": "1.8.5",- "@webassemblyjs/helper-api-error": "1.8.5",- "@webassemblyjs/helper-wasm-bytecode": "1.8.5",- "@webassemblyjs/ieee754": "1.8.5",- "@webassemblyjs/leb128": "1.8.5",- "@webassemblyjs/utf8": "1.8.5"+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"}},- "@webassemblyjs/wast-parser": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz",- "integrity": "sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg==",+ "node_modules/css-declaration-sorter/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,- "requires": {- "@webassemblyjs/ast": "1.8.5",- "@webassemblyjs/floating-point-hex-parser": "1.8.5",- "@webassemblyjs/helper-api-error": "1.8.5",- "@webassemblyjs/helper-code-frame": "1.8.5",- "@webassemblyjs/helper-fsm": "1.8.5",- "@xtuc/long": "4.2.2"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "@webassemblyjs/wast-printer": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz",- "integrity": "sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg==",+ "node_modules/css-select": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz",+ "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==","dev": true,- "requires": {- "@webassemblyjs/ast": "1.8.5",- "@webassemblyjs/wast-parser": "1.8.5",- "@xtuc/long": "4.2.2"+ "dependencies": {+ "boolbase": "^1.0.0",+ "css-what": "^3.2.1",+ "domutils": "^1.7.0",+ "nth-check": "^1.0.2"}},- "@webcomponents/custom-elements": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@webcomponents/custom-elements/-/custom-elements-1.2.4.tgz",- "integrity": "sha512-WiTlgz6/kuwajYIcgyq64rSlCtb2AvbxwwrExP3wr6rKbJ72I3hi/sb4KdGUumfC+isDn2F0btZGk4MnWpyO1Q==",+ "node_modules/css-select-base-adapter": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz",+ "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==","dev": true},- "@webpack-cli/serve": {- "version": "0.1.8",- "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-0.1.8.tgz",- "integrity": "sha512-gZUEX/12h3DL0+FAxkCbuVCK3LH0+p7jmpu2MFCi2g4FZWs37ZrBEtG06h5OZpx3yAaKzOtBe6vYP+0D7b3tlA==",+ "node_modules/css-tree": {+ "version": "1.0.0-alpha.37",+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.37.tgz",+ "integrity": "sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==","dev": true,- "requires": {- "@webpack-cli/utils": "^0.2.2",- "@webpack-cli/webpack-scaffold": "^0.1.8",- "chalk": "^2.4.1",- "cross-spawn": "^6.0.5",- "inquirer": "^6.2.0"+ "dependencies": {+ "mdn-data": "2.0.4",+ "source-map": "^0.6.1"+ },+ "engines": {+ "node": ">=8.0.0"}},- "@webpack-cli/utils": {- "version": "0.2.2",- "resolved": "https://registry.npmjs.org/@webpack-cli/utils/-/utils-0.2.2.tgz",- "integrity": "sha512-tzyRLHdZIO0GfTz8/LHUv5PBaYbaT3ekKG2nzXkiNnkLWBo9JYBhR6N94+9ahqSCGwZ+Q+3igM/frdesQP43Sg==",- "dev": true,- "requires": {- "chalk": "^2.4.1",- "cross-spawn": "^6.0.5",- "findup-sync": "^3.0.0",- "global-modules": "^1.0.0",- "got": "8.x.x",- "jest": "^24.8.0",- "jscodeshift": "^0.6.4",- "log-symbols": "^2.2.0",- "p-each-series": "^1.0.0",- "prettier": "^1.17.0",- "yeoman-environment": "^2.3.4",- "yeoman-generator": "^3.1.1"- },- "dependencies": {- "findup-sync": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz",- "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==",- "dev": true,- "requires": {- "detect-file": "^1.0.0",- "is-glob": "^4.0.0",- "micromatch": "^3.0.4",- "resolve-dir": "^1.0.1"- }- }- }- },- "@webpack-cli/webpack-scaffold": {- "version": "0.1.8",- "resolved": "https://registry.npmjs.org/@webpack-cli/webpack-scaffold/-/webpack-scaffold-0.1.8.tgz",- "integrity": "sha512-sXL7VC7HQwaa0ppVT272kk060IqjrQxMge5WVo+Ls7F8cRklTdjkxPXhgWG0Q72/xeLOlu7hgCh5v2p86ULTng==",+ "node_modules/css-what": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.3.0.tgz",+ "integrity": "sha512-pv9JPyatiPaQ6pf4OvD/dbfm0o5LviWmwxNWzblYf/1u9QZd0ihV+PMwy5jdQWQ3349kZmKEx9WXuSka2dM4cg==","dev": true,- "requires": {- "jscodeshift": "^0.6.4"+ "engines": {+ "node": ">= 6"}},- "@xtuc/ieee754": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",- "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",- "dev": true- },- "@xtuc/long": {- "version": "4.2.2",- "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",- "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",- "dev": true- },- "abab": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.0.tgz",- "integrity": "sha512-sY5AXXVZv4Y1VACTtR11UJCPHHudgY5i26Qj5TypE6DKlIApbwb5uqhXcJ5UUGbvZNRh7EeIoW+LrJumBsKp7w==",- "dev": true- },- "abbrev": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",- "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",- "dev": true- },- "accepts": {- "version": "1.3.7",- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",- "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",+ "node_modules/cssesc": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==","dev": true,- "requires": {- "mime-types": "~2.1.24",- "negotiator": "0.6.2"+ "bin": {+ "cssesc": "bin/cssesc"},- "dependencies": {- "mime-db": {- "version": "1.40.0",- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",- "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==",- "dev": true- },- "mime-types": {- "version": "2.1.24",- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz",- "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==",- "dev": true,- "requires": {- "mime-db": "1.40.0"- }- }+ "engines": {+ "node": ">=4"}},- "acorn": {- "version": "5.7.3",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz",- "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==",- "dev": true- },- "acorn-globals": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.0.tgz",- "integrity": "sha512-hMtHj3s5RnuhvHPowpBYvJVj3rAar82JiDQHvGs1zO0l10ocX/xEdBShNHTJaboucJUsScghp74pH3s7EnHHQw==",+ "node_modules/cssnano": {+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz",+ "integrity": "sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ==","dev": true,- "requires": {- "acorn": "^6.0.1",- "acorn-walk": "^6.0.1"- },"dependencies": {- "acorn": {- "version": "6.0.2",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.0.2.tgz",- "integrity": "sha512-GXmKIvbrN3TV7aVqAzVFaMW8F8wzVX7voEBRO3bDA64+EX37YSayggRJP5Xig6HYHBkWKpFg9W5gg6orklubhg==",- "dev": true- }+ "cosmiconfig": "^5.0.0",+ "cssnano-preset-default": "^4.0.7",+ "is-resolvable": "^1.0.0",+ "postcss": "^7.0.0"+ },+ "engines": {+ "node": ">=6.9.0"}},- "acorn-walk": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.1.0.tgz",- "integrity": "sha512-ugTb7Lq7u4GfWSqqpwE0bGyoBZNMTok/zDBXxfEG0QM50jNlGhIWjRC1pPN7bvV1anhF+bs+/gNcRw+o55Evbg==",- "dev": true- },- "ajv": {- "version": "6.5.3",- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.3.tgz",- "integrity": "sha512-LqZ9wY+fx3UMiiPd741yB2pj3hhil+hQc8taf4o2QGRFpWgZ2V5C8HA165DY9sS3fJwsk7uT7ZlFEyC3Ig3lLg==",+ "node_modules/cssnano-preset-default": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz",+ "integrity": "sha512-x0YHHx2h6p0fCl1zY9L9roD7rnlltugGu7zXSKQx6k2rYw0Hi3IqxcoAGF7u9Q5w1nt7vK0ulxV8Lo+EvllGsA==","dev": true,- "requires": {- "fast-deep-equal": "^2.0.1",- "fast-json-stable-stringify": "^2.0.0",- "json-schema-traverse": "^0.4.1",- "uri-js": "^4.2.2"+ "dependencies": {+ "css-declaration-sorter": "^4.0.1",+ "cssnano-util-raw-cache": "^4.0.1",+ "postcss": "^7.0.0",+ "postcss-calc": "^7.0.1",+ "postcss-colormin": "^4.0.3",+ "postcss-convert-values": "^4.0.1",+ "postcss-discard-comments": "^4.0.2",+ "postcss-discard-duplicates": "^4.0.2",+ "postcss-discard-empty": "^4.0.1",+ "postcss-discard-overridden": "^4.0.1",+ "postcss-merge-longhand": "^4.0.11",+ "postcss-merge-rules": "^4.0.3",+ "postcss-minify-font-values": "^4.0.2",+ "postcss-minify-gradients": "^4.0.2",+ "postcss-minify-params": "^4.0.2",+ "postcss-minify-selectors": "^4.0.2",+ "postcss-normalize-charset": "^4.0.1",+ "postcss-normalize-display-values": "^4.0.2",+ "postcss-normalize-positions": "^4.0.2",+ "postcss-normalize-repeat-style": "^4.0.2",+ "postcss-normalize-string": "^4.0.2",+ "postcss-normalize-timing-functions": "^4.0.2",+ "postcss-normalize-unicode": "^4.0.1",+ "postcss-normalize-url": "^4.0.1",+ "postcss-normalize-whitespace": "^4.0.2",+ "postcss-ordered-values": "^4.1.2",+ "postcss-reduce-initial": "^4.0.3",+ "postcss-reduce-transforms": "^4.0.2",+ "postcss-svgo": "^4.0.2",+ "postcss-unique-selectors": "^4.0.1"+ },+ "engines": {+ "node": ">=6.9.0"}},- "ajv-errors": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.0.tgz",- "integrity": "sha1-7PAh+hCP0X37Xms4Py3SM+Mf/Fk=",- "dev": true- },- "ajv-keywords": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz",- "integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=",- "dev": true- },- "alphanum-sort": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz",- "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=",- "dev": true- },- "amdefine": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",- "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",- "dev": true- },- "ansi-colors": {- "version": "3.2.3",- "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz",- "integrity": "sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw==",- "dev": true- },- "ansi-escapes": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",- "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",- "dev": true- },- "ansi-html": {- "version": "0.0.7",- "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz",- "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=",- "dev": true- },- "ansi-regex": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",- "dev": true- },- "ansi-styles": {+ "node_modules/cssnano-preset-default/node_modules/ansi-styles": {"version": "3.2.1","resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz","integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {+ "dependencies": {"color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "anymatch": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",- "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",+ "node_modules/cssnano-preset-default/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,- "requires": {- "micromatch": "^3.1.4",- "normalize-path": "^2.1.1"- },"dependencies": {- "normalize-path": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",- "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",- "dev": true,- "requires": {- "remove-trailing-separator": "^1.0.1"- }- }+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "aproba": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",- "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==",- "dev": true- },- "are-we-there-yet": {- "version": "1.1.5",- "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",- "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",+ "node_modules/cssnano-preset-default/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "delegates": "^1.0.0",- "readable-stream": "^2.0.6"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "argparse": {- "version": "1.0.10",- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",+ "node_modules/cssnano-preset-default/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "sprintf-js": "~1.0.2"+ "dependencies": {+ "color-name": "1.1.3"}},- "arr-diff": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",- "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=",- "dev": true- },- "arr-flatten": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",- "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",- "dev": true- },- "arr-union": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",- "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",- "dev": true- },- "array-differ": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz",- "integrity": "sha1-7/UuN1gknTO+QCuLuOVkuytdQDE=",- "dev": true- },- "array-equal": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz",- "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=",- "dev": true- },- "array-find-index": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",- "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=",- "dev": true- },- "array-flatten": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",- "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=",+ "node_modules/cssnano-preset-default/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "array-union": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",- "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=",+ "node_modules/cssnano-preset-default/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "array-uniq": "^1.0.1"+ "engines": {+ "node": ">=4"}},- "array-uniq": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz",- "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=",- "dev": true- },- "array-unique": {- "version": "0.3.2",- "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",- "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=",- "dev": true+ "node_modules/cssnano-preset-default/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }},- "arrify": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",- "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=",- "dev": true+ "node_modules/cssnano-preset-default/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }},- "asn1": {- "version": "0.2.4",- "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",- "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",+ "node_modules/cssnano-util-get-arguments": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz",+ "integrity": "sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8=","dev": true,- "requires": {- "safer-buffer": "~2.1.0"+ "engines": {+ "node": ">=6.9.0"}},- "asn1.js": {- "version": "4.10.1",- "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz",- "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==",+ "node_modules/cssnano-util-get-match": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz",+ "integrity": "sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0=","dev": true,- "requires": {- "bn.js": "^4.0.0",- "inherits": "^2.0.1",- "minimalistic-assert": "^1.0.0"+ "engines": {+ "node": ">=6.9.0"}},- "assert": {- "version": "1.5.0",- "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz",- "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==",+ "node_modules/cssnano-util-raw-cache": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz",+ "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==","dev": true,- "requires": {- "object-assign": "^4.1.1",- "util": "0.10.3"- },"dependencies": {- "inherits": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",- "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=",- "dev": true- },- "util": {- "version": "0.10.3",- "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",- "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",- "dev": true,- "requires": {- "inherits": "2.0.1"- }- }+ "postcss": "^7.0.0"+ },+ "engines": {+ "node": ">=6.9.0"}},- "assert-plus": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",- "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",- "dev": true- },- "assets-webpack-plugin": {- "version": "3.9.10",- "resolved": "https://registry.npmjs.org/assets-webpack-plugin/-/assets-webpack-plugin-3.9.10.tgz",- "integrity": "sha512-aWmIi46fRhicSScuZ0n1Gk5c5vJehCihHm2L7nd7NdBqXWi5JRM+mREz/hmMay67fSRgXk5JEKFGAF1gE33z0Q==",+ "node_modules/cssnano-util-raw-cache/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "camelcase": "^5.0.0",- "escape-string-regexp": "^1.0.3",- "lodash": "^4.17.10",- "mkdirp": "^0.5.1"- },"dependencies": {- "camelcase": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.0.0.tgz",- "integrity": "sha512-faqwZqnWxbxn+F1d399ygeamQNy3lPp/H9H6rNrqYh4FSVCtcY+3cub1MxA8o9mDd55mM8Aghuu/kuyYA6VTsA==",- "dev": true- },- "escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",- "dev": true- }+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "assign-symbols": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",- "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",- "dev": true- },- "ast-types": {- "version": "0.11.7",- "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.11.7.tgz",- "integrity": "sha512-2mP3TwtkY/aTv5X3ZsMpNAbOnyoC/aMJwJSoaELPkHId0nSQgFcnU4dRW3isxiz7+zBexk0ym3WNVjMiQBnJSw==",- "dev": true+ "node_modules/cssnano-util-raw-cache/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }},- "astral-regex": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",- "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",- "dev": true+ "node_modules/cssnano-util-raw-cache/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }},- "async": {- "version": "2.6.1",- "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz",- "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==",+ "node_modules/cssnano-util-raw-cache/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "lodash": "^4.17.10"+ "dependencies": {+ "color-name": "1.1.3"}},- "async-each": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz",- "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==",+ "node_modules/cssnano-util-raw-cache/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "async-foreach": {- "version": "0.1.3",- "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz",- "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=",- "dev": true+ "node_modules/cssnano-util-raw-cache/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }},- "async-limiter": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz",- "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==",- "dev": true+ "node_modules/cssnano-util-raw-cache/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }},- "asynckit": {- "version": "0.4.0",- "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",- "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",- "dev": true+ "node_modules/cssnano-util-raw-cache/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }},- "atob": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",- "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",- "dev": true+ "node_modules/cssnano-util-same-parent": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz",+ "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==",+ "dev": true,+ "engines": {+ "node": ">=6.9.0"+ }},- "aws-sign2": {- "version": "0.7.0",- "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",- "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=",- "dev": true+ "node_modules/cssnano/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }},- "aws4": {- "version": "1.8.0",- "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",- "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==",- "dev": true+ "node_modules/cssnano/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }},- "babel-code-frame": {- "version": "6.26.0",- "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",- "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",+ "node_modules/cssnano/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "chalk": "^1.1.3",- "esutils": "^2.0.2",- "js-tokens": "^3.0.2"+ "dependencies": {+ "has-flag": "^3.0.0"},+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/cssnano/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,"dependencies": {- "ansi-styles": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",- "dev": true- },- "chalk": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",- "dev": true,- "requires": {- "ansi-styles": "^2.2.1",- "escape-string-regexp": "^1.0.2",- "has-ansi": "^2.0.0",- "strip-ansi": "^3.0.0",- "supports-color": "^2.0.0"- },- "dependencies": {- "escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",- "dev": true- }- }- },- "supports-color": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",- "dev": true- }+ "color-name": "1.1.3"}},- "babel-core": {- "version": "7.0.0-bridge.0",- "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz",- "integrity": "sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==",+ "node_modules/cssnano/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "babel-jest": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-24.8.0.tgz",- "integrity": "sha512-+5/kaZt4I9efoXzPlZASyK/lN9qdRKmmUav9smVc0ruPQD7IsfucQ87gpOE8mn2jbDuS6M/YOW6n3v9ZoIfgnw==",+ "node_modules/cssnano/node_modules/cosmiconfig": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz",+ "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==","dev": true,- "requires": {- "@jest/transform": "^24.8.0",- "@jest/types": "^24.8.0",- "@types/babel__core": "^7.1.0",- "babel-plugin-istanbul": "^5.1.0",- "babel-preset-jest": "^24.6.0",- "chalk": "^2.4.2",- "slash": "^2.0.0"- },"dependencies": {- "slash": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",- "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",- "dev": true- }+ "import-fresh": "^2.0.0",+ "is-directory": "^0.3.1",+ "js-yaml": "^3.13.1",+ "parse-json": "^4.0.0"+ },+ "engines": {+ "node": ">=4"}},- "babel-plugin-istanbul": {- "version": "5.1.4",- "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.1.4.tgz",- "integrity": "sha512-dySz4VJMH+dpndj0wjJ8JPs/7i1TdSPb1nRrn56/92pKOF9VKC1FMFJmMXjzlGGusnCAqujP6PBCiKq0sVA+YQ==",+ "node_modules/cssnano/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "find-up": "^3.0.0",- "istanbul-lib-instrument": "^3.3.0",- "test-exclude": "^5.2.3"- },- "dependencies": {- "find-up": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",- "dev": true,- "requires": {- "locate-path": "^3.0.0"- }- },- "locate-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",- "dev": true,- "requires": {- "p-locate": "^3.0.0",- "path-exists": "^3.0.0"- }- },- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }- },- "p-locate": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",- "dev": true,- "requires": {- "p-limit": "^2.0.0"- }- },- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",- "dev": true- }+ "engines": {+ "node": ">=4"}},- "babel-plugin-jest-hoist": {- "version": "24.6.0",- "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.6.0.tgz",- "integrity": "sha512-3pKNH6hMt9SbOv0F3WVmy5CWQ4uogS3k0GY5XLyQHJ9EGpAT9XWkFd2ZiXXtkwFHdAHa5j7w7kfxSP5lAIwu7w==",+ "node_modules/cssnano/node_modules/import-fresh": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz",+ "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=","dev": true,- "requires": {- "@types/babel__traverse": "^7.0.6"+ "dependencies": {+ "caller-path": "^2.0.0",+ "resolve-from": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "babel-preset-jest": {- "version": "24.6.0",- "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.6.0.tgz",- "integrity": "sha512-pdZqLEdmy1ZK5kyRUfvBb2IfTPb2BUvIJczlPspS8fWmBQslNNDBqVfh7BW5leOVJMDZKzjD8XEyABTk6gQ5yw==",+ "node_modules/cssnano/node_modules/parse-json": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",+ "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=","dev": true,- "requires": {- "@babel/plugin-syntax-object-rest-spread": "^7.0.0",- "babel-plugin-jest-hoist": "^24.6.0"+ "dependencies": {+ "error-ex": "^1.3.1",+ "json-parse-better-errors": "^1.0.1"+ },+ "engines": {+ "node": ">=4"}},- "balanced-match": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",- "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",- "dev": true- },- "base": {- "version": "0.11.2",- "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",- "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",+ "node_modules/cssnano/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "cache-base": "^1.0.1",- "class-utils": "^0.3.5",- "component-emitter": "^1.2.1",- "define-property": "^1.0.0",- "isobject": "^3.0.1",- "mixin-deep": "^1.2.0",- "pascalcase": "^0.1.1"- },"dependencies": {- "define-property": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",- "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",- "dev": true,- "requires": {- "is-descriptor": "^1.0.0"- }- },- "is-accessor-descriptor": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",- "dev": true,- "requires": {- "kind-of": "^6.0.0"- }- },- "is-data-descriptor": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",- "dev": true,- "requires": {- "kind-of": "^6.0.0"- }- },- "is-descriptor": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",- "dev": true,- "requires": {- "is-accessor-descriptor": "^1.0.0",- "is-data-descriptor": "^1.0.0",- "kind-of": "^6.0.2"- }- }+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"}},- "base64-js": {- "version": "1.3.1",- "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",- "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==",- "dev": true- },- "batch": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz",- "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=",- "dev": true+ "node_modules/cssnano/node_modules/resolve-from": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",+ "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }},- "bcrypt-pbkdf": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",- "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",+ "node_modules/cssnano/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,- "optional": true,- "requires": {- "tweetnacl": "^0.14.3"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "bfj": {- "version": "6.1.2",- "resolved": "https://registry.npmjs.org/bfj/-/bfj-6.1.2.tgz",- "integrity": "sha512-BmBJa4Lip6BPRINSZ0BPEIfB1wUY/9rwbwvIHQA1KjX9om29B6id0wnWXq7m3bn5JrUVjeOTnVuhPT1FiHwPGw==",+ "node_modules/csso": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/csso/-/csso-4.0.3.tgz",+ "integrity": "sha512-NL3spysxUkcrOgnpsT4Xdl2aiEiBG6bXswAABQVHcMrfjjBisFOKwLDOmf4wf32aPdcJws1zds2B0Rg+jqMyHQ==","dev": true,- "requires": {- "bluebird": "^3.5.5",- "check-types": "^8.0.3",- "hoopy": "^0.1.4",- "tryer": "^1.0.1"+ "dependencies": {+ "css-tree": "1.0.0-alpha.39"+ },+ "engines": {+ "node": ">=8.0.0"}},- "big.js": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz",- "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==",- "dev": true+ "node_modules/csso/node_modules/css-tree": {+ "version": "1.0.0-alpha.39",+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.39.tgz",+ "integrity": "sha512-7UvkEYgBAHRG9Nt980lYxjsTrCyHFN53ky3wVsDkiMdVqylqRt+Zc+jm5qw7/qyOvN2dHSYtX0e4MbCCExSvnA==",+ "dev": true,+ "dependencies": {+ "mdn-data": "2.0.6",+ "source-map": "^0.6.1"+ },+ "engines": {+ "node": ">=8.0.0"+ }},- "binary-extensions": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz",- "integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==",+ "node_modules/csso/node_modules/mdn-data": {+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.6.tgz",+ "integrity": "sha512-rQvjv71olwNHgiTbfPZFkJtjNMciWgswYeciZhtvWLO8bmX3TnhyA62I6sTWOyZssWHJJjY6/KiWwqQsWWsqOA==","dev": true},- "binaryextensions": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/binaryextensions/-/binaryextensions-2.1.2.tgz",- "integrity": "sha512-xVNN69YGDghOqCCtA6FI7avYrr02mTJjOgB0/f1VPD3pJC8QEvjTKWc4epDx8AqxxA75NI0QpVM2gPJXUbE4Tg==",+ "node_modules/cuint": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/cuint/-/cuint-0.2.2.tgz",+ "integrity": "sha1-QICG1AlVDCYxFVYZ6fp7ytw7mRs=","dev": true},- "block-stream": {- "version": "0.0.9",- "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",- "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=",+ "node_modules/debug": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz",+ "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==","dev": true,- "requires": {- "inherits": "~2.0.0"+ "dependencies": {+ "ms": "2.1.2"+ },+ "engines": {+ "node": ">=6.0"}},- "bluebird": {- "version": "3.5.5",- "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.5.tgz",- "integrity": "sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==",+ "node_modules/dedent": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz",+ "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=","dev": true},- "bn.js": {- "version": "4.11.8",- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",- "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",- "dev": true+ "node_modules/deep-extend": {+ "version": "0.6.0",+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",+ "dev": true,+ "engines": {+ "node": ">=4.0.0"+ }},- "body-parser": {- "version": "1.19.0",- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",- "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",+ "node_modules/deepmerge": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",+ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==","dev": true,- "requires": {- "bytes": "3.1.0",- "content-type": "~1.0.4",- "debug": "2.6.9",- "depd": "~1.1.2",- "http-errors": "1.7.2",- "iconv-lite": "0.4.24",- "on-finished": "~2.3.0",- "qs": "6.7.0",- "raw-body": "2.4.0",- "type-is": "~1.6.17"- },- "dependencies": {- "bytes": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",- "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==",- "dev": true- },- "http-errors": {- "version": "1.7.2",- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",- "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",- "dev": true,- "requires": {- "depd": "~1.1.2",- "inherits": "2.0.3",- "setprototypeof": "1.1.1",- "statuses": ">= 1.5.0 < 2",- "toidentifier": "1.0.0"- }- },- "qs": {- "version": "6.7.0",- "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",- "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==",- "dev": true- },- "setprototypeof": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",- "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",- "dev": true- },- "statuses": {- "version": "1.5.0",- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",- "dev": true- }+ "engines": {+ "node": ">=0.10.0"}},- "bonjour": {- "version": "3.5.0",- "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz",- "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=",+ "node_modules/define-properties": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==","dev": true,- "requires": {- "array-flatten": "^2.1.0",- "deep-equal": "^1.0.1",- "dns-equal": "^1.0.0",- "dns-txt": "^2.0.2",- "multicast-dns": "^6.0.1",- "multicast-dns-service-types": "^1.1.0"- },- "dependencies": {- "array-flatten": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz",- "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==",- "dev": true- }+ "dependencies": {+ "object-keys": "^1.0.12"+ },+ "engines": {+ "node": ">= 0.4"}},- "boolbase": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",- "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=",- "dev": true+ "node_modules/del": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/del/-/del-5.1.0.tgz",+ "integrity": "sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA==",+ "dev": true,+ "dependencies": {+ "globby": "^10.0.1",+ "graceful-fs": "^4.2.2",+ "is-glob": "^4.0.1",+ "is-path-cwd": "^2.2.0",+ "is-path-inside": "^3.0.1",+ "p-map": "^3.0.0",+ "rimraf": "^3.0.0",+ "slash": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ }},- "brace-expansion": {- "version": "1.1.11",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",+ "node_modules/dir-glob": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==","dev": true,- "requires": {- "balanced-match": "^1.0.0",- "concat-map": "0.0.1"+ "dependencies": {+ "path-type": "^4.0.0"+ },+ "engines": {+ "node": ">=8"}},- "braces": {- "version": "2.3.2",- "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",- "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",+ "node_modules/dom-serializer": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz",+ "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==","dev": true,- "requires": {- "arr-flatten": "^1.1.0",- "array-unique": "^0.3.2",- "extend-shallow": "^2.0.1",- "fill-range": "^4.0.0",- "isobject": "^3.0.1",- "repeat-element": "^1.1.2",- "snapdragon": "^0.8.1",- "snapdragon-node": "^2.0.1",- "split-string": "^3.0.2",- "to-regex": "^3.0.1"- },- "dependencies": {- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- }+ "dependencies": {+ "domelementtype": "^2.0.1",+ "entities": "^2.0.0"}},- "brorand": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",- "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=",+ "node_modules/dom-serializer/node_modules/domelementtype": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.0.1.tgz",+ "integrity": "sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ==","dev": true},- "browser-process-hrtime": {- "version": "0.1.3",- "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz",- "integrity": "sha512-bRFnI4NnjO6cnyLmOV/7PVoDEMJChlcfN0z4s1YMBY989/SvlfMI1lgCnkFUs53e9gQF+w7qu7XdllSTiSl8Aw==",+ "node_modules/domelementtype": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",+ "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==","dev": true},- "browser-resolve": {- "version": "1.11.3",- "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz",- "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==",+ "node_modules/domutils": {+ "version": "1.7.0",+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",+ "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==","dev": true,- "requires": {- "resolve": "1.1.7"- },"dependencies": {- "resolve": {- "version": "1.1.7",- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",- "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=",- "dev": true- }+ "dom-serializer": "0",+ "domelementtype": "1"}},- "browserify-aes": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",- "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",+ "node_modules/dot-prop": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz",+ "integrity": "sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A==","dev": true,- "requires": {- "buffer-xor": "^1.0.3",- "cipher-base": "^1.0.0",- "create-hash": "^1.1.0",- "evp_bytestokey": "^1.0.3",- "inherits": "^2.0.1",- "safe-buffer": "^5.0.1"+ "dependencies": {+ "is-obj": "^2.0.0"+ },+ "engines": {+ "node": ">=8"}},- "browserify-cipher": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz",- "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==",+ "node_modules/dot-prop/node_modules/is-obj": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",+ "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==","dev": true,- "requires": {- "browserify-aes": "^1.0.4",- "browserify-des": "^1.0.0",- "evp_bytestokey": "^1.0.0"+ "engines": {+ "node": ">=8"}},- "browserify-des": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz",- "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==",+ "node_modules/ejs": {+ "version": "2.7.4",+ "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.7.4.tgz",+ "integrity": "sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA==","dev": true,- "requires": {- "cipher-base": "^1.0.1",- "des.js": "^1.0.0",- "inherits": "^2.0.1",- "safe-buffer": "^5.1.2"+ "hasInstallScript": true,+ "engines": {+ "node": ">=0.10.0"}},- "browserify-rsa": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",- "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",+ "node_modules/electron-to-chromium": {+ "version": "1.3.538",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.538.tgz",+ "integrity": "sha512-rlyYXLlOoZkJuvY4AJXUpP7CHRVtwZz311HPVoEO1UHo/kqDCsP1pNas0A9paZuPEiYGdLwrjllF2hs69NEaTw==",+ "dev": true+ },+ "node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "dev": true+ },+ "node_modules/emojis-list": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",+ "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==","dev": true,- "requires": {- "bn.js": "^4.1.0",- "randombytes": "^2.0.1"+ "engines": {+ "node": ">= 4"}},- "browserify-sign": {- "version": "4.0.4",- "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz",- "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=",+ "node_modules/end-of-stream": {+ "version": "1.4.4",+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==","dev": true,- "requires": {- "bn.js": "^4.1.1",- "browserify-rsa": "^4.0.0",- "create-hash": "^1.1.0",- "create-hmac": "^1.1.2",- "elliptic": "^6.0.0",- "inherits": "^2.0.1",- "parse-asn1": "^5.0.0"+ "dependencies": {+ "once": "^1.4.0"}},- "browserify-zlib": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz",- "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==",+ "node_modules/enquirer": {+ "version": "2.3.6",+ "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",+ "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==","dev": true,- "requires": {- "pako": "~1.0.5"+ "dependencies": {+ "ansi-colors": "^4.1.1"+ },+ "engines": {+ "node": ">=8.6"}},- "browserslist": {- "version": "4.6.0",- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.6.0.tgz",- "integrity": "sha512-Jk0YFwXBuMOOol8n6FhgkDzn3mY9PYLYGk29zybF05SbRTsMgPqmTNeQQhOghCxq5oFqAXE3u4sYddr4C0uRhg==",+ "node_modules/entities": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz",+ "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==",+ "dev": true+ },+ "node_modules/error-ex": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==","dev": true,- "requires": {- "caniuse-lite": "^1.0.30000967",- "electron-to-chromium": "^1.3.133",- "node-releases": "^1.1.19"+ "dependencies": {+ "is-arrayish": "^0.2.1"}},- "bser": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/bser/-/bser-2.0.0.tgz",- "integrity": "sha1-mseNPtXZFYBP2HrLFYvHlxR6Fxk=",+ "node_modules/es-abstract": {+ "version": "1.17.6",+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",+ "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==","dev": true,- "requires": {- "node-int64": "^0.4.0"+ "dependencies": {+ "es-to-primitive": "^1.2.1",+ "function-bind": "^1.1.1",+ "has": "^1.0.3",+ "has-symbols": "^1.0.1",+ "is-callable": "^1.2.0",+ "is-regex": "^1.1.0",+ "object-inspect": "^1.7.0",+ "object-keys": "^1.1.1",+ "object.assign": "^4.1.0",+ "string.prototype.trimend": "^1.0.1",+ "string.prototype.trimstart": "^1.0.1"+ },+ "engines": {+ "node": ">= 0.4"}},- "buffer": {- "version": "4.9.1",- "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz",- "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=",+ "node_modules/es-to-primitive": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==","dev": true,- "requires": {- "base64-js": "^1.0.2",- "ieee754": "^1.1.4",- "isarray": "^1.0.0"+ "dependencies": {+ "is-callable": "^1.1.4",+ "is-date-object": "^1.0.1",+ "is-symbol": "^1.0.2"+ },+ "engines": {+ "node": ">= 0.4"}},- "buffer-alloc": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz",- "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==",+ "node_modules/escalade": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.0.2.tgz",+ "integrity": "sha512-gPYAU37hYCUhW5euPeR+Y74F7BL+IBsV93j5cvGriSaD1aG6MGsqsV1yamRdrWrb2j3aiZvb0X+UBOWpx3JWtQ==","dev": true,- "requires": {- "buffer-alloc-unsafe": "^1.1.0",- "buffer-fill": "^1.0.0"+ "engines": {+ "node": ">=6"}},- "buffer-alloc-unsafe": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz",- "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==",- "dev": true+ "node_modules/escape-string-regexp": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",+ "dev": true,+ "engines": {+ "node": ">=0.8.0"+ }},- "buffer-fill": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz",- "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=",- "dev": true+ "node_modules/esm": {+ "version": "3.2.25",+ "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz",+ "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==",+ "dev": true,+ "engines": {+ "node": ">=6"+ }},- "buffer-from": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",- "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",- "dev": true+ "node_modules/esprima": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",+ "dev": true,+ "bin": {+ "esparse": "bin/esparse.js",+ "esvalidate": "bin/esvalidate.js"+ },+ "engines": {+ "node": ">=4"+ }},- "buffer-indexof": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz",- "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==",+ "node_modules/estree-walker": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz",+ "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==","dev": true},- "buffer-xor": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",- "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=",- "dev": true+ "node_modules/execa": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",+ "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",+ "dev": true,+ "dependencies": {+ "cross-spawn": "^7.0.0",+ "get-stream": "^5.0.0",+ "human-signals": "^1.1.1",+ "is-stream": "^2.0.0",+ "merge-stream": "^2.0.0",+ "npm-run-path": "^4.0.0",+ "onetime": "^5.1.0",+ "signal-exit": "^3.0.2",+ "strip-final-newline": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ }},- "builtin-modules": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",- "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",+ "node_modules/fast-deep-equal": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=","dev": true},- "builtin-status-codes": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",- "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=",- "dev": true+ "node_modules/fast-glob": {+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.4.tgz",+ "integrity": "sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ==",+ "dev": true,+ "dependencies": {+ "@nodelib/fs.stat": "^2.0.2",+ "@nodelib/fs.walk": "^1.2.3",+ "glob-parent": "^5.1.0",+ "merge2": "^1.3.0",+ "micromatch": "^4.0.2",+ "picomatch": "^2.2.1"+ },+ "engines": {+ "node": ">=8"+ }},- "bytes": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",- "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=",+ "node_modules/fast-json-stable-stringify": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==","dev": true},- "cacache": {- "version": "12.0.2",- "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.2.tgz",- "integrity": "sha512-ifKgxH2CKhJEg6tNdAwziu6Q33EvuG26tYcda6PT3WKisZcYDXsnEdnRv67Po3yCzFfaSoMjGZzJyD2c3DT1dg==",+ "node_modules/fast-url-parser": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz",+ "integrity": "sha1-9K8+qfNNiicc9YrSs3WfQx8LMY0=","dev": true,- "requires": {- "bluebird": "^3.5.5",- "chownr": "^1.1.1",- "figgy-pudding": "^3.5.1",- "glob": "^7.1.4",- "graceful-fs": "^4.1.15",- "infer-owner": "^1.0.3",- "lru-cache": "^5.1.1",- "mississippi": "^3.0.0",- "mkdirp": "^0.5.1",- "move-concurrently": "^1.0.1",- "promise-inflight": "^1.0.1",- "rimraf": "^2.6.3",- "ssri": "^6.0.1",- "unique-filename": "^1.1.1",- "y18n": "^4.0.0"- },- "dependencies": {- "glob": {- "version": "7.1.4",- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",- "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",- "dev": true,- "requires": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^3.0.4",- "once": "^1.3.0",- "path-is-absolute": "^1.0.0"- }- },- "graceful-fs": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz",- "integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==",- "dev": true- },- "lru-cache": {- "version": "5.1.1",- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",- "dev": true,- "requires": {- "yallist": "^3.0.2"- }- },- "rimraf": {- "version": "2.6.3",- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",- "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",- "dev": true,- "requires": {- "glob": "^7.1.3"- }- },- "yallist": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",- "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==",- "dev": true- }+ "dependencies": {+ "punycode": "^1.3.2"}},- "cache-base": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",- "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",+ "node_modules/fast-url-parser/node_modules/punycode": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",+ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",+ "dev": true+ },+ "node_modules/fastq": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz",+ "integrity": "sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==","dev": true,- "requires": {- "collection-visit": "^1.0.0",- "component-emitter": "^1.2.1",- "get-value": "^2.0.6",- "has-value": "^1.0.0",- "isobject": "^3.0.1",- "set-value": "^2.0.0",- "to-object-path": "^0.3.0",- "union-value": "^1.0.0",- "unset-value": "^1.0.0"- }- },- "cacheable-request": {- "version": "2.1.4",- "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-2.1.4.tgz",- "integrity": "sha1-DYCIAbY0KtM8kd+dC0TcCbkeXD0=",+ "dependencies": {+ "reusify": "^1.0.4"+ }+ },+ "node_modules/figures": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",+ "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==","dev": true,- "requires": {- "clone-response": "1.0.2",- "get-stream": "3.0.0",- "http-cache-semantics": "3.8.1",- "keyv": "3.0.0",- "lowercase-keys": "1.0.0",- "normalize-url": "2.0.1",- "responselike": "1.0.2"- },"dependencies": {- "get-stream": {- "version": "3.0.0",- "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",- "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=",- "dev": true- },- "lowercase-keys": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz",- "integrity": "sha1-TjNms55/VFfjXxMkvfb4jQv8cwY=",- "dev": true- }+ "escape-string-regexp": "^1.0.5"+ },+ "engines": {+ "node": ">=8"}},- "call-me-maybe": {+ "node_modules/file-drop-element": {"version": "1.0.1",- "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz",- "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=",+ "resolved": "https://registry.npmjs.org/file-drop-element/-/file-drop-element-1.0.1.tgz",+ "integrity": "sha512-na2cwntTVgMsR+BZ2YBr/XQk941DKDw2LJKbV7g6TRdGBQ3rx8V53oEviG8zPWoBOySwK9w/SlZ/gb/F/48I8A==","dev": true},- "caller-callsite": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz",- "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=",+ "node_modules/fill-range": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==","dev": true,- "requires": {- "callsites": "^2.0.0"+ "dependencies": {+ "to-regex-range": "^5.0.1"+ },+ "engines": {+ "node": ">=8"}},- "caller-path": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz",- "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=",+ "node_modules/find-up": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==","dev": true,- "requires": {- "caller-callsite": "^2.0.0"+ "dependencies": {+ "locate-path": "^5.0.0",+ "path-exists": "^4.0.0"+ },+ "engines": {+ "node": ">=8"}},- "callsites": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz",- "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=",- "dev": true- },- "camel-case": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz",- "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=",+ "node_modules/find-versions": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-3.2.0.tgz",+ "integrity": "sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww==","dev": true,- "requires": {- "no-case": "^2.2.0",- "upper-case": "^1.1.1"+ "dependencies": {+ "semver-regex": "^2.0.0"+ },+ "engines": {+ "node": ">=6"}},- "camelcase": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",- "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=",+ "node_modules/fs.realpath": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=","dev": true},- "camelcase-keys": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",- "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=",- "dev": true,- "requires": {- "camelcase": "^2.0.0",- "map-obj": "^1.0.0"- }- },- "caniuse-api": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",- "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==",+ "node_modules/fsevents": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",+ "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==","dev": true,- "requires": {- "browserslist": "^4.0.0",- "caniuse-lite": "^1.0.0",- "lodash.memoize": "^4.1.2",- "lodash.uniq": "^4.5.0"+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"}},- "caniuse-lite": {- "version": "1.0.30000969",- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000969.tgz",- "integrity": "sha512-Kus0yxkoAJgVc0bax7S4gLSlFifCa7MnSZL9p9VuS/HIKEL4seaqh28KIQAAO50cD/rJ5CiJkJFapkdDAlhFxQ==",+ "node_modules/function-bind": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==","dev": true},- "capture-exit": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz",- "integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==",+ "node_modules/generic-names": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/generic-names/-/generic-names-2.0.1.tgz",+ "integrity": "sha512-kPCHWa1m9wGG/OwQpeweTwM/PYiQLrUIxXbt/P4Nic3LbGjCP0YwrALHW1uNLKZ0LIMg+RF+XRlj2ekT9ZlZAQ==","dev": true,- "requires": {- "rsvp": "^4.8.4"+ "dependencies": {+ "loader-utils": "^1.1.0"}},- "caseless": {- "version": "0.12.0",- "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",- "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=",+ "node_modules/get-own-enumerable-property-symbols": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz",+ "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==","dev": true},- "chalk": {- "version": "2.4.2",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "node_modules/get-stream": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==","dev": true,- "requires": {- "ansi-styles": "^3.2.1",- "escape-string-regexp": "^1.0.5",- "supports-color": "^5.3.0"- },"dependencies": {- "escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",- "dev": true- }- }- },- "chardet": {- "version": "0.7.0",- "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",- "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",- "dev": true- },- "check-types": {- "version": "8.0.3",- "resolved": "https://registry.npmjs.org/check-types/-/check-types-8.0.3.tgz",- "integrity": "sha512-YpeKZngUmG65rLudJ4taU7VLkOCTMhNl/u4ctNC56LQS/zJTyNH0Lrtwm1tfTsbLlwvlfsA2d1c8vCf/Kh2KwQ==",- "dev": true- },- "chokidar": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.0.2.tgz",- "integrity": "sha512-c4PR2egjNjI1um6bamCQ6bUNPDiyofNQruHvKgHQ4gDUP/ITSVSzNsiI5OWtHOsX323i5ha/kk4YmOZ1Ktg7KA==",- "dev": true,- "requires": {- "anymatch": "^3.0.1",- "braces": "^3.0.2",- "fsevents": "^2.0.6",- "glob-parent": "^5.0.0",- "is-binary-path": "^2.1.0",- "is-glob": "^4.0.1",- "normalize-path": "^3.0.0",- "readdirp": "^3.1.1"+ "pump": "^3.0.0"},- "dependencies": {- "anymatch": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.0.3.tgz",- "integrity": "sha512-c6IvoeBECQlMVuYUjSwimnhmztImpErfxJzWZhIQinIvQWoGOnB0dLIgifbPHQt5heS6mNlaZG16f06H3C8t1g==",- "dev": true,- "requires": {- "normalize-path": "^3.0.0",- "picomatch": "^2.0.4"- }- },- "braces": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",- "dev": true,- "requires": {- "fill-range": "^7.0.1"- }- },- "fill-range": {- "version": "7.0.1",- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",- "dev": true,- "requires": {- "to-regex-range": "^5.0.1"- }- },- "fsevents": {- "version": "2.0.7",- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.0.7.tgz",- "integrity": "sha512-a7YT0SV3RB+DjYcppwVDLtn13UQnmg0SWZS7ezZD0UjnLwXmy8Zm21GMVGLaFGimIqcvyMQaOJBrop8MyOp1kQ==",- "dev": true,- "optional": true- },- "glob-parent": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz",- "integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==",- "dev": true,- "requires": {- "is-glob": "^4.0.1"- }- },- "is-glob": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",- "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",- "dev": true,- "requires": {- "is-extglob": "^2.1.1"- }- },- "is-number": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",- "dev": true- },- "normalize-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",- "dev": true- },- "to-regex-range": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",- "dev": true,- "requires": {- "is-number": "^7.0.0"- }- }+ "engines": {+ "node": ">=8"}},- "chownr": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz",- "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==",- "dev": true- },- "chrome-trace-event": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz",- "integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==",+ "node_modules/glob": {+ "version": "7.1.6",+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==","dev": true,- "requires": {- "tslib": "^1.9.0"+ "dependencies": {+ "fs.realpath": "^1.0.0",+ "inflight": "^1.0.4",+ "inherits": "2",+ "minimatch": "^3.0.4",+ "once": "^1.3.0",+ "path-is-absolute": "^1.0.0"+ },+ "engines": {+ "node": "*"}},- "ci-info": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",- "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==",- "dev": true- },- "cipher-base": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",- "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==",+ "node_modules/glob-parent": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",+ "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==","dev": true,- "requires": {- "inherits": "^2.0.1",- "safe-buffer": "^5.0.1"+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"}},- "class-utils": {- "version": "0.3.6",- "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",- "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",+ "node_modules/globby": {+ "version": "10.0.2",+ "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz",+ "integrity": "sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==","dev": true,- "requires": {- "arr-union": "^3.1.0",- "define-property": "^0.2.5",- "isobject": "^3.0.0",- "static-extend": "^0.1.1"- },"dependencies": {- "define-property": {- "version": "0.2.5",- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",- "dev": true,- "requires": {- "is-descriptor": "^0.1.0"- }- }+ "@types/glob": "^7.1.1",+ "array-union": "^2.1.0",+ "dir-glob": "^3.0.1",+ "fast-glob": "^3.0.3",+ "glob": "^7.1.3",+ "ignore": "^5.1.1",+ "merge2": "^1.2.3",+ "slash": "^3.0.0"+ },+ "engines": {+ "node": ">=8"}},- "classnames": {- "version": "2.2.6",- "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz",- "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==",+ "node_modules/graceful-fs": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",+ "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==","dev": true},- "clean-css": {- "version": "4.2.1",- "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz",- "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==",+ "node_modules/has": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==","dev": true,- "requires": {- "source-map": "~0.6.0"- },"dependencies": {- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- }- }- },- "clean-webpack-plugin": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-1.0.1.tgz",- "integrity": "sha512-gvwfMsqu3HBgTVvaBa1H3AZKO03CHpr5uP92SPIktP3827EovAitwW+1xoqXyTxCuXnLYpMHG5ytS4AoukHDWA==",- "dev": true,- "requires": {- "rimraf": "^2.6.1"+ "function-bind": "^1.1.1"+ },+ "engines": {+ "node": ">= 0.4.0"}},- "cli-cursor": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",- "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",+ "node_modules/has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==","dev": true,- "requires": {- "restore-cursor": "^2.0.0"+ "engines": {+ "node": ">=8"}},- "cli-table": {- "version": "0.3.1",- "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz",- "integrity": "sha1-9TsFJmqLGguTSz0IIebi3FkUriM=",+ "node_modules/has-symbols": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==","dev": true,- "requires": {- "colors": "1.0.3"- },- "dependencies": {- "colors": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz",- "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=",- "dev": true- }+ "engines": {+ "node": ">= 0.4"}},- "cli-width": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz",- "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=",+ "node_modules/hex-color-regex": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",+ "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==","dev": true},- "cliui": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",- "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",- "dev": true,- "requires": {- "string-width": "^1.0.1",- "strip-ansi": "^3.0.1",- "wrap-ansi": "^2.0.0"- }- },- "clone": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",- "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",+ "node_modules/hsl-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz",+ "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=","dev": true},- "clone-buffer": {+ "node_modules/hsla-regex": {"version": "1.0.0",- "resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz",- "integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg=",+ "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz",+ "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=","dev": true},- "clone-deep": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz",- "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==",+ "node_modules/html-comment-regex": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.2.tgz",+ "integrity": "sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==",+ "dev": true+ },+ "node_modules/human-signals": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",+ "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==","dev": true,- "requires": {- "is-plain-object": "^2.0.4",- "kind-of": "^6.0.2",- "shallow-clone": "^3.0.0"+ "engines": {+ "node": ">=8.12.0"}},- "clone-response": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",- "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",+ "node_modules/husky": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.0.tgz",+ "integrity": "sha512-tTMeLCLqSBqnflBZnlVDhpaIMucSGaYyX6855jM4AguGeWCeSzNdb1mfyWduTZ3pe3SJVvVWGL0jO1iKZVPfTA==","dev": true,- "requires": {- "mimic-response": "^1.0.0"+ "hasInstallScript": true,+ "dependencies": {+ "chalk": "^4.0.0",+ "ci-info": "^2.0.0",+ "compare-versions": "^3.6.0",+ "cosmiconfig": "^7.0.0",+ "find-versions": "^3.2.0",+ "opencollective-postinstall": "^2.0.2",+ "pkg-dir": "^4.2.0",+ "please-upgrade-node": "^3.2.0",+ "slash": "^3.0.0",+ "which-pm-runs": "^1.0.0"+ },+ "bin": {+ "husky-run": "bin/run.js",+ "husky-upgrade": "lib/upgrader/bin.js"+ },+ "engines": {+ "node": ">=10"}},- "clone-stats": {- "version": "0.0.1",- "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz",- "integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=",+ "node_modules/icss-replace-symbols": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz",+ "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=","dev": true},- "cloneable-readable": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/cloneable-readable/-/cloneable-readable-1.1.3.tgz",- "integrity": "sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==",+ "node_modules/icss-utils": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-4.1.1.tgz",+ "integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==","dev": true,- "requires": {- "inherits": "^2.0.1",- "process-nextick-args": "^2.0.0",- "readable-stream": "^2.3.5"+ "dependencies": {+ "postcss": "^7.0.14"+ },+ "engines": {+ "node": ">= 6"}},- "co": {- "version": "4.6.0",- "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",- "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=",- "dev": true- },- "coa": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz",- "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==",+ "node_modules/icss-utils/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "@types/q": "^1.5.1",- "chalk": "^2.4.1",- "q": "^1.1.2"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "code-point-at": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",- "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",- "dev": true- },- "collection-visit": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",- "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=",+ "node_modules/icss-utils/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,- "requires": {- "map-visit": "^1.0.0",- "object-visit": "^1.0.0"+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "color": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/color/-/color-3.1.1.tgz",- "integrity": "sha512-PvUltIXRjehRKPSy89VnDWFKY58xyhTLyxIg21vwQBI6qLwZNPmC8k3C1uytIgFKEpOIzN4y32iPm8231zFHIg==",+ "node_modules/icss-utils/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "color-convert": "^1.9.1",- "color-string": "^1.5.2"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "color-convert": {+ "node_modules/icss-utils/node_modules/color-convert": {"version": "1.9.3","resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz","integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {+ "dependencies": {"color-name": "1.1.3"}},- "color-name": {+ "node_modules/icss-utils/node_modules/color-name": {"version": "1.1.3","resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz","integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "color-string": {- "version": "1.5.3",- "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz",- "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==",+ "node_modules/icss-utils/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "color-name": "^1.0.0",- "simple-swizzle": "^0.2.2"+ "engines": {+ "node": ">=4"}},- "colors": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz",- "integrity": "sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg==",- "dev": true- },- "combined-stream": {- "version": "1.0.7",- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz",- "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==",+ "node_modules/icss-utils/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "delayed-stream": "~1.0.0"+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"}},- "comlink": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/comlink/-/comlink-3.1.1.tgz",- "integrity": "sha512-8H9/mrssKE9B4ZMLcN/2bZd1cukP61SrOjm8vhxpRSN8oCw7MSroNNm3Y7/vPUhK5a2AO55vb20rXm3840l3Pw==",- "dev": true- },- "commander": {- "version": "2.17.1",- "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",- "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==",- "dev": true+ "node_modules/icss-utils/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }},- "commondir": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",- "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=",+ "node_modules/idb-keyval": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-3.2.0.tgz",+ "integrity": "sha512-slx8Q6oywCCSfKgPgL0sEsXtPVnSbTLWpyiDcu6msHOyKOLari1TD1qocXVCft80umnkk3/Qqh3lwoFt8T/BPQ==","dev": true},- "component-emitter": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",- "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",- "dev": true+ "node_modules/ignore": {+ "version": "5.1.8",+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz",+ "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==",+ "dev": true,+ "engines": {+ "node": ">= 4"+ }},- "compressible": {- "version": "2.0.17",- "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.17.tgz",- "integrity": "sha512-BGHeLCK1GV7j1bSmQQAi26X+GgWcTjLr/0tzSvMCl3LH1w1IJ4PFSPoV5316b30cneTziC+B1a+3OjoSUcQYmw==",+ "node_modules/import-fresh": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",+ "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==","dev": true,- "requires": {- "mime-db": ">= 1.40.0 < 2"- },"dependencies": {- "mime-db": {- "version": "1.40.0",- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",- "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==",- "dev": true- }+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"+ },+ "engines": {+ "node": ">=6"}},- "compression": {- "version": "1.7.4",- "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz",- "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==",+ "node_modules/indent-string": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==","dev": true,- "requires": {- "accepts": "~1.3.5",- "bytes": "3.0.0",- "compressible": "~2.0.16",- "debug": "2.6.9",- "on-headers": "~1.0.2",- "safe-buffer": "5.1.2",- "vary": "~1.1.2"+ "engines": {+ "node": ">=8"}},- "concat-map": {- "version": "0.0.1",- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",- "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",+ "node_modules/indexes-of": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz",+ "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=","dev": true},- "concat-stream": {- "version": "1.6.2",- "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",- "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",+ "node_modules/inflight": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=","dev": true,- "requires": {- "buffer-from": "^1.0.0",- "inherits": "^2.0.3",- "readable-stream": "^2.2.2",- "typedarray": "^0.0.6"+ "dependencies": {+ "once": "^1.3.0",+ "wrappy": "1"}},- "connect-history-api-fallback": {- "version": "1.6.0",- "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz",- "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==",+ "node_modules/inherits": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==","dev": true},- "console-browserify": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz",- "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=",+ "node_modules/ini": {+ "version": "1.3.5",+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",+ "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==","dev": true,- "requires": {- "date-now": "^0.1.4"+ "engines": {+ "node": "*"}},- "console-control-strings": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",- "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",- "dev": true- },- "constants-browserify": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz",- "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=",- "dev": true- },- "content-disposition": {- "version": "0.5.3",- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",- "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",+ "node_modules/is-absolute-url": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz",+ "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=","dev": true,- "requires": {- "safe-buffer": "5.1.2"+ "engines": {+ "node": ">=0.10.0"}},- "content-type": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",- "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==",+ "node_modules/is-arrayish": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=","dev": true},- "convert-source-map": {- "version": "1.6.0",- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz",- "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==",+ "node_modules/is-callable": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",+ "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==","dev": true,- "requires": {- "safe-buffer": "~5.1.1"+ "engines": {+ "node": ">= 0.4"}},- "cookie": {- "version": "0.4.0",- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",- "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==",- "dev": true- },- "cookie-signature": {- "version": "1.0.6",- "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",- "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=",- "dev": true+ "node_modules/is-color-stop": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz",+ "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=",+ "dev": true,+ "dependencies": {+ "css-color-names": "^0.0.4",+ "hex-color-regex": "^1.1.0",+ "hsl-regex": "^1.0.0",+ "hsla-regex": "^1.0.0",+ "rgb-regex": "^1.0.1",+ "rgba-regex": "^1.0.0"+ }},- "copy-concurrently": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz",- "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==",+ "node_modules/is-date-object": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",+ "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==","dev": true,- "requires": {- "aproba": "^1.1.1",- "fs-write-stream-atomic": "^1.0.8",- "iferr": "^0.1.5",- "mkdirp": "^0.5.1",- "rimraf": "^2.5.4",- "run-queue": "^1.0.0"+ "engines": {+ "node": ">= 0.4"}},- "copy-descriptor": {- "version": "0.1.1",- "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",- "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=",- "dev": true+ "node_modules/is-directory": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz",+ "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }},- "copy-webpack-plugin": {- "version": "5.0.4",- "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-5.0.4.tgz",- "integrity": "sha512-YBuYGpSzoCHSSDGyHy6VJ7SHojKp6WHT4D7ItcQFNAYx2hrwkMe56e97xfVR0/ovDuMTrMffXUiltvQljtAGeg==",+ "node_modules/is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=","dev": true,- "requires": {- "cacache": "^11.3.3",- "find-cache-dir": "^2.1.0",- "glob-parent": "^3.1.0",- "globby": "^7.1.1",- "is-glob": "^4.0.1",- "loader-utils": "^1.2.3",- "minimatch": "^3.0.4",- "normalize-path": "^3.0.0",- "p-limit": "^2.2.0",- "schema-utils": "^1.0.0",- "serialize-javascript": "^1.7.0",- "webpack-log": "^2.0.0"- },- "dependencies": {- "bluebird": {- "version": "3.5.5",- "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.5.tgz",- "integrity": "sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==",- "dev": true- },- "cacache": {- "version": "11.3.3",- "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.3.tgz",- "integrity": "sha512-p8WcneCytvzPxhDvYp31PD039vi77I12W+/KfR9S8AZbaiARFBCpsPJS+9uhWfeBfeAtW7o/4vt3MUqLkbY6nA==",- "dev": true,- "requires": {- "bluebird": "^3.5.5",- "chownr": "^1.1.1",- "figgy-pudding": "^3.5.1",- "glob": "^7.1.4",- "graceful-fs": "^4.1.15",- "lru-cache": "^5.1.1",- "mississippi": "^3.0.0",- "mkdirp": "^0.5.1",- "move-concurrently": "^1.0.1",- "promise-inflight": "^1.0.1",- "rimraf": "^2.6.3",- "ssri": "^6.0.1",- "unique-filename": "^1.1.1",- "y18n": "^4.0.0"- }- },- "glob": {- "version": "7.1.4",- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",- "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",- "dev": true,- "requires": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^3.0.4",- "once": "^1.3.0",- "path-is-absolute": "^1.0.0"- }- },- "graceful-fs": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz",- "integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==",- "dev": true- },- "is-glob": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",- "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",- "dev": true,- "requires": {- "is-extglob": "^2.1.1"- }- },- "lru-cache": {- "version": "5.1.1",- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",- "dev": true,- "requires": {- "yallist": "^3.0.2"- }- },- "normalize-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",- "dev": true- },- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }- },- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",- "dev": true- },- "rimraf": {- "version": "2.6.3",- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",- "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",- "dev": true,- "requires": {- "glob": "^7.1.3"- }- },- "yallist": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",- "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==",- "dev": true- }+ "engines": {+ "node": ">=0.10.0"}},- "core-js": {- "version": "3.1.3",- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.1.3.tgz",- "integrity": "sha512-PWZ+ZfuaKf178BIAg+CRsljwjIMRV8MY00CbZczkR6Zk5LfkSkjGoaab3+bqRQWVITNZxQB7TFYz+CFcyuamvA==",- "dev": true+ "node_modules/is-fullwidth-code-point": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",+ "dev": true,+ "engines": {+ "node": ">=8"+ }},- "core-js-compat": {- "version": "3.1.3",- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.1.3.tgz",- "integrity": "sha512-EP018pVhgwsKHz3YoN1hTq49aRe+h017Kjz0NQz3nXV0cCRMvH3fLQl+vEPGr4r4J5sk4sU3tUC7U1aqTCeJeA==",+ "node_modules/is-glob": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==","dev": true,- "requires": {- "browserslist": "^4.6.0",- "core-js-pure": "3.1.3",- "semver": "^6.1.0"- },"dependencies": {- "semver": {- "version": "6.1.1",- "resolved": "https://registry.npmjs.org/semver/-/semver-6.1.1.tgz",- "integrity": "sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ==",- "dev": true- }+ "is-extglob": "^2.1.1"+ },+ "engines": {+ "node": ">=0.10.0"}},- "core-js-pure": {- "version": "3.1.3",- "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.1.3.tgz",- "integrity": "sha512-k3JWTrcQBKqjkjI0bkfXS0lbpWPxYuHWfMMjC1VDmzU4Q58IwSbuXSo99YO/hUHlw/EB4AlfA2PVxOGkrIq6dA==",+ "node_modules/is-module": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",+ "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=","dev": true},- "core-util-is": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",- "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",- "dev": true+ "node_modules/is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",+ "dev": true,+ "engines": {+ "node": ">=0.12.0"+ }},- "cosmiconfig": {- "version": "5.2.1",- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz",- "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==",+ "node_modules/is-obj": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",+ "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=","dev": true,- "requires": {- "import-fresh": "^2.0.0",- "is-directory": "^0.3.1",- "js-yaml": "^3.13.1",- "parse-json": "^4.0.0"+ "engines": {+ "node": ">=0.10.0"}},- "create-ecdh": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz",- "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==",+ "node_modules/is-path-cwd": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz",+ "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==","dev": true,- "requires": {- "bn.js": "^4.1.0",- "elliptic": "^6.0.0"+ "engines": {+ "node": ">=6"}},- "create-hash": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",- "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",+ "node_modules/is-path-inside": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz",+ "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==","dev": true,- "requires": {- "cipher-base": "^1.0.1",- "inherits": "^2.0.1",- "md5.js": "^1.3.4",- "ripemd160": "^2.0.1",- "sha.js": "^2.4.0"+ "engines": {+ "node": ">=8"}},- "create-hmac": {- "version": "1.1.7",- "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",- "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",+ "node_modules/is-reference": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz",+ "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==","dev": true,- "requires": {- "cipher-base": "^1.0.3",- "create-hash": "^1.1.0",- "inherits": "^2.0.1",- "ripemd160": "^2.0.0",- "safe-buffer": "^5.0.1",- "sha.js": "^2.4.8"+ "dependencies": {+ "@types/estree": "*"}},- "critters-webpack-plugin": {- "version": "2.4.0",- "resolved": "https://registry.npmjs.org/critters-webpack-plugin/-/critters-webpack-plugin-2.4.0.tgz",- "integrity": "sha512-CFzD4g693aEzmtCE3IORvqk5FwvSofBscaQkVQvXWuStwhSuNsFMG2xrrxCghy8L1Pt6t2CG3G/tIPaiYD1WQw==",+ "node_modules/is-regex": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",+ "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==","dev": true,- "requires": {- "css": "^2.2.1",- "cssnano": "^4.1.7",- "jsdom": "^12.0.0",- "parse5": "^4.0.0",- "postcss": "^7.0.5",- "pretty-bytes": "^4.0.2",- "webpack-log": "^2.0.0",- "webpack-sources": "^1.3.0"- },"dependencies": {- "postcss": {- "version": "7.0.17",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.17.tgz",- "integrity": "sha512-546ZowA+KZ3OasvQZHsbuEpysvwTZNGJv9EfyCQdsIDltPSWHAeTQ5fQy/Npi2ZDtLI3zs7Ps/p6wThErhm9fQ==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "pretty-bytes": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz",- "integrity": "sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk=",- "dev": true- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- },- "webpack-sources": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.3.0.tgz",- "integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==",- "dev": true,- "requires": {- "source-list-map": "^2.0.0",- "source-map": "~0.6.1"- }- }+ "has-symbols": "^1.0.1"+ },+ "engines": {+ "node": ">= 0.4"}},- "cross-spawn": {- "version": "6.0.5",- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",+ "node_modules/is-regexp": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz",+ "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=","dev": true,- "requires": {- "nice-try": "^1.0.4",- "path-key": "^2.0.1",- "semver": "^5.5.0",- "shebang-command": "^1.2.0",- "which": "^1.2.9"+ "engines": {+ "node": ">=0.10.0"}},- "crypto-browserify": {- "version": "3.12.0",- "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",- "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==",+ "node_modules/is-resolvable": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz",+ "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==",+ "dev": true+ },+ "node_modules/is-stream": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",+ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==","dev": true,- "requires": {- "browserify-cipher": "^1.0.0",- "browserify-sign": "^4.0.0",- "create-ecdh": "^4.0.0",- "create-hash": "^1.1.0",- "create-hmac": "^1.1.0",- "diffie-hellman": "^5.0.0",- "inherits": "^2.0.1",- "pbkdf2": "^3.0.3",- "public-encrypt": "^4.0.0",- "randombytes": "^2.0.0",- "randomfill": "^1.0.3"- }- },- "css": {- "version": "2.2.4",- "resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz",- "integrity": "sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/is-svg": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz",+ "integrity": "sha512-gi4iHK53LR2ujhLVVj+37Ykh9GLqYHX6JOVXbLAucaG/Cqw9xwdFOjDM2qeifLs1sF1npXXFvDu0r5HNgCMrzQ==","dev": true,- "requires": {- "inherits": "^2.0.3",- "source-map": "^0.6.1",- "source-map-resolve": "^0.5.2",- "urix": "^0.1.0"+ "dependencies": {+ "html-comment-regex": "^1.1.0"},+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/is-symbol": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",+ "dev": true,"dependencies": {- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- }+ "has-symbols": "^1.0.1"+ },+ "engines": {+ "node": ">= 0.4"}},- "css-color-names": {- "version": "0.0.4",- "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",- "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=",+ "node_modules/isexe": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=","dev": true},- "css-declaration-sorter": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz",- "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==",+ "node_modules/jest-worker": {+ "version": "26.3.0",+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.3.0.tgz",+ "integrity": "sha512-Vmpn2F6IASefL+DVBhPzI2J9/GJUsqzomdeN+P+dK8/jKxbh8R3BtFnx3FIta7wYlPU62cpJMJQo4kuOowcMnw==","dev": true,- "requires": {- "postcss": "^7.0.1",- "timsort": "^0.3.0"- },"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "@types/node": "*",+ "merge-stream": "^2.0.0",+ "supports-color": "^7.0.0"+ },+ "engines": {+ "node": ">= 10.13.0"}},- "css-loader": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-1.0.1.tgz",- "integrity": "sha512-+ZHAZm/yqvJ2kDtPne3uX0C+Vr3Zn5jFn2N4HywtS5ujwvsVkyg0VArEXpl3BgczDA8anieki1FIzhchX4yrDw==",- "dev": true,- "requires": {- "babel-code-frame": "^6.26.0",- "css-selector-tokenizer": "^0.7.0",- "icss-utils": "^2.1.0",- "loader-utils": "^1.0.2",- "lodash": "^4.17.11",- "postcss": "^6.0.23",- "postcss-modules-extract-imports": "^1.2.0",- "postcss-modules-local-by-default": "^1.2.0",- "postcss-modules-scope": "^1.1.0",- "postcss-modules-values": "^1.3.0",- "postcss-value-parser": "^3.3.0",- "source-list-map": "^2.0.0"- }- },- "css-modules-loader-core": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/css-modules-loader-core/-/css-modules-loader-core-1.1.0.tgz",- "integrity": "sha1-WQhmgpShvs0mGuCkziGwtVHyHRY=",+ "node_modules/js-tokens": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",+ "dev": true+ },+ "node_modules/js-yaml": {+ "version": "3.14.0",+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",+ "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==","dev": true,- "requires": {- "icss-replace-symbols": "1.1.0",- "postcss": "6.0.1",- "postcss-modules-extract-imports": "1.1.0",- "postcss-modules-local-by-default": "1.2.0",- "postcss-modules-scope": "1.1.0",- "postcss-modules-values": "1.3.0"- },"dependencies": {- "ansi-styles": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",- "dev": true- },- "chalk": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",- "dev": true,- "requires": {- "ansi-styles": "^2.2.1",- "escape-string-regexp": "^1.0.2",- "has-ansi": "^2.0.0",- "strip-ansi": "^3.0.0",- "supports-color": "^2.0.0"- },- "dependencies": {- "escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",- "dev": true- },- "supports-color": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",- "dev": true- }- }- },- "has-flag": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",- "dev": true- },- "postcss": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.1.tgz",- "integrity": "sha1-AA29H47vIXqjaLmiEsX8QLKo8/I=",- "dev": true,- "requires": {- "chalk": "^1.1.3",- "source-map": "^0.5.6",- "supports-color": "^3.2.3"- }- },- "postcss-modules-extract-imports": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz",- "integrity": "sha1-thTJcgvmgW6u41+zpfqh26agXds=",- "dev": true,- "requires": {- "postcss": "^6.0.1"- }- },- "supports-color": {- "version": "3.2.3",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",- "dev": true,- "requires": {- "has-flag": "^1.0.0"- }- }+ "argparse": "^1.0.7",+ "esprima": "^4.0.0"+ },+ "bin": {+ "js-yaml": "bin/js-yaml.js"}},- "css-select": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",- "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",+ "node_modules/json-parse-better-errors": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",+ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",+ "dev": true+ },+ "node_modules/json-parse-even-better-errors": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",+ "dev": true+ },+ "node_modules/json-schema-traverse": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",+ "dev": true+ },+ "node_modules/json5": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==","dev": true,- "requires": {- "boolbase": "~1.0.0",- "css-what": "2.1",- "domutils": "1.5.1",- "nth-check": "~1.0.1"+ "dependencies": {+ "minimist": "^1.2.0"+ },+ "bin": {+ "json5": "lib/cli.js"}},- "css-select-base-adapter": {- "version": "0.1.1",- "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz",- "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==",+ "node_modules/lines-and-columns": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",+ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=","dev": true},- "css-selector-tokenizer": {- "version": "0.7.1",- "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz",- "integrity": "sha512-xYL0AMZJ4gFzJQsHUKa5jiWWi2vH77WVNg7JYRyewwj6oPh4yb/y6Y9ZCw9dsj/9UauMhtuxR+ogQd//EdEVNA==",+ "node_modules/linkstate": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/linkstate/-/linkstate-2.0.0.tgz",+ "integrity": "sha512-ti9WqRjpLqUd8wv4vUDjeqMeAObSieeEJA7QHpUKTDr75gkuWTsgm4+Tngg/3uTogSz68hJ/c+676rLfSgqHUg==","dev": true,- "requires": {- "cssesc": "^0.1.0",- "fastparse": "^1.1.1",- "regexpu-core": "^1.0.0"+ "dependencies": {+ "esm": "^3.2.25"+ }+ },+ "node_modules/lint-staged": {+ "version": "10.5.1",+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.1.tgz",+ "integrity": "sha512-fTkTGFtwFIJJzn/PbUO3RXyEBHIhbfYBE7+rJyLcOXabViaO/h6OslgeK6zpeUtzkDrzkgyAYDTLAwx6JzDTHw==",+ "dev": true,+ "dependencies": {+ "chalk": "^4.1.0",+ "cli-truncate": "^2.1.0",+ "commander": "^6.2.0",+ "cosmiconfig": "^7.0.0",+ "debug": "^4.2.0",+ "dedent": "^0.7.0",+ "enquirer": "^2.3.6",+ "execa": "^4.1.0",+ "listr2": "^3.2.2",+ "log-symbols": "^4.0.0",+ "micromatch": "^4.0.2",+ "normalize-path": "^3.0.0",+ "please-upgrade-node": "^3.2.0",+ "string-argv": "0.3.1",+ "stringify-object": "^3.3.0"},+ "bin": {+ "lint-staged": "bin/lint-staged.js"+ }+ },+ "node_modules/listr2": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.2.2.tgz",+ "integrity": "sha512-AajqcZEUikF2ioph6PfH3dIuxJclhr3i3kHgTOP0xeXdWQohrvJAAmqVcV43/GI987HFY/vzT73jYXoa4esDHg==",+ "dev": true,"dependencies": {- "regexpu-core": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz",- "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=",- "dev": true,- "requires": {- "regenerate": "^1.2.1",- "regjsgen": "^0.2.0",- "regjsparser": "^0.1.4"- }- }+ "chalk": "^4.1.0",+ "cli-truncate": "^2.1.0",+ "figures": "^3.2.0",+ "indent-string": "^4.0.0",+ "log-update": "^4.0.0",+ "p-map": "^4.0.0",+ "rxjs": "^6.6.3",+ "through": "^2.3.8"+ },+ "engines": {+ "node": ">=10.0.0"}},- "css-tree": {- "version": "1.0.0-alpha.28",- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.28.tgz",- "integrity": "sha512-joNNW1gCp3qFFzj4St6zk+Wh/NBv0vM5YbEreZk0SD4S23S+1xBKb6cLDg2uj4P4k/GUMlIm6cKIDqIG+vdt0w==",+ "node_modules/listr2/node_modules/p-map": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",+ "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==","dev": true,- "requires": {- "mdn-data": "~1.1.0",- "source-map": "^0.5.3"+ "dependencies": {+ "aggregate-error": "^3.0.0"+ },+ "engines": {+ "node": ">=10"}},- "css-unit-converter": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.1.tgz",- "integrity": "sha1-2bkoGtz9jO2TW9urqDeGiX9k6ZY=",- "dev": true+ "node_modules/loader-utils": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz",+ "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==",+ "dev": true,+ "dependencies": {+ "big.js": "^5.2.2",+ "emojis-list": "^3.0.0",+ "json5": "^1.0.1"+ },+ "engines": {+ "node": ">=4.0.0"+ }},- "css-url-regex": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/css-url-regex/-/css-url-regex-1.1.0.tgz",- "integrity": "sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w=",+ "node_modules/locate-path": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",+ "dev": true,+ "dependencies": {+ "p-locate": "^4.1.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/lodash.camelcase": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",+ "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=","dev": true},- "css-what": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.0.tgz",- "integrity": "sha1-lGfQMsOM+u+58teVASUwYvh/ob0=",+ "node_modules/lodash.memoize": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",+ "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=","dev": true},- "cssesc": {- "version": "0.1.0",- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz",- "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=",+ "node_modules/lodash.uniq": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",+ "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=","dev": true},- "cssnano": {- "version": "4.1.10",- "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz",- "integrity": "sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ==",+ "node_modules/log-symbols": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz",+ "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==","dev": true,- "requires": {- "cosmiconfig": "^5.0.0",- "cssnano-preset-default": "^4.0.7",- "is-resolvable": "^1.0.0",- "postcss": "^7.0.0"- },"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "chalk": "^4.0.0"+ },+ "engines": {+ "node": ">=10"}},- "cssnano-preset-default": {- "version": "4.0.7",- "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz",- "integrity": "sha512-x0YHHx2h6p0fCl1zY9L9roD7rnlltugGu7zXSKQx6k2rYw0Hi3IqxcoAGF7u9Q5w1nt7vK0ulxV8Lo+EvllGsA==",+ "node_modules/log-update": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz",+ "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==","dev": true,- "requires": {- "css-declaration-sorter": "^4.0.1",- "cssnano-util-raw-cache": "^4.0.1",- "postcss": "^7.0.0",- "postcss-calc": "^7.0.1",- "postcss-colormin": "^4.0.3",- "postcss-convert-values": "^4.0.1",- "postcss-discard-comments": "^4.0.2",- "postcss-discard-duplicates": "^4.0.2",- "postcss-discard-empty": "^4.0.1",- "postcss-discard-overridden": "^4.0.1",- "postcss-merge-longhand": "^4.0.11",- "postcss-merge-rules": "^4.0.3",- "postcss-minify-font-values": "^4.0.2",- "postcss-minify-gradients": "^4.0.2",- "postcss-minify-params": "^4.0.2",- "postcss-minify-selectors": "^4.0.2",- "postcss-normalize-charset": "^4.0.1",- "postcss-normalize-display-values": "^4.0.2",- "postcss-normalize-positions": "^4.0.2",- "postcss-normalize-repeat-style": "^4.0.2",- "postcss-normalize-string": "^4.0.2",- "postcss-normalize-timing-functions": "^4.0.2",- "postcss-normalize-unicode": "^4.0.1",- "postcss-normalize-url": "^4.0.1",- "postcss-normalize-whitespace": "^4.0.2",- "postcss-ordered-values": "^4.1.2",- "postcss-reduce-initial": "^4.0.3",- "postcss-reduce-transforms": "^4.0.2",- "postcss-svgo": "^4.0.2",- "postcss-unique-selectors": "^4.0.1"- },"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "ansi-escapes": "^4.3.0",+ "cli-cursor": "^3.1.0",+ "slice-ansi": "^4.0.0",+ "wrap-ansi": "^6.2.0"+ },+ "engines": {+ "node": ">=10"}},- "cssnano-util-get-arguments": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz",- "integrity": "sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8=",- "dev": true- },- "cssnano-util-get-match": {+ "node_modules/log-update/node_modules/slice-ansi": {"version": "4.0.0",- "resolved": "https://registry.npmjs.org/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz",- "integrity": "sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0=",- "dev": true- },- "cssnano-util-raw-cache": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz",- "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==",+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz",+ "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==","dev": true,- "requires": {- "postcss": "^7.0.0"- },"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "ansi-styles": "^4.0.0",+ "astral-regex": "^2.0.0",+ "is-fullwidth-code-point": "^3.0.0"+ },+ "engines": {+ "node": ">=10"}},- "cssnano-util-same-parent": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz",- "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==",- "dev": true- },- "csso": {- "version": "3.5.1",- "resolved": "https://registry.npmjs.org/csso/-/csso-3.5.1.tgz",- "integrity": "sha512-vrqULLffYU1Q2tLdJvaCYbONStnfkfimRxXNaGjxMldI0C7JPBC4rB1RyjhfdZ4m1frm8pM9uRPKH3d2knZ8gg==",+ "node_modules/lru-cache": {+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",+ "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==","dev": true,- "requires": {- "css-tree": "1.0.0-alpha.29"- },"dependencies": {- "css-tree": {- "version": "1.0.0-alpha.29",- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.29.tgz",- "integrity": "sha512-sRNb1XydwkW9IOci6iB2xmy8IGCj6r/fr+JWitvJ2JxQRPzN3T4AGGVWCMlVmVwM1gtgALJRmGIlWv5ppnGGkg==",- "dev": true,- "requires": {- "mdn-data": "~1.1.0",- "source-map": "^0.5.3"- }- }+ "pseudomap": "^1.0.2",+ "yallist": "^2.1.2"}},- "cssom": {- "version": "0.3.4",- "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.4.tgz",- "integrity": "sha512-+7prCSORpXNeR4/fUP3rL+TzqtiFfhMvTd7uEqMdgPvLPt4+uzFUeufx5RHjGTACCargg/DiEt/moMQmvnfkog==",- "dev": true- },- "cssstyle": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-1.1.1.tgz",- "integrity": "sha512-364AI1l/M5TYcFH83JnOH/pSqgaNnKmYgKrm0didZMGKWjQB60dymwWy1rKUgL3J1ffdq9xVi2yGLHdSjjSNog==",+ "node_modules/magic-string": {+ "version": "0.25.7",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz",+ "integrity": "sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==","dev": true,- "requires": {- "cssom": "0.3.x"+ "dependencies": {+ "sourcemap-codec": "^1.4.4"}},- "currently-unhandled": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz",- "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=",- "dev": true,- "requires": {- "array-find-index": "^1.0.1"- }- },- "cyclist": {- "version": "0.2.2",- "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz",- "integrity": "sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA=",+ "node_modules/mdn-data": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz",+ "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==","dev": true},- "dargs": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/dargs/-/dargs-6.1.0.tgz",- "integrity": "sha512-5dVBvpBLBnPwSsYXqfybFyehMmC/EenKEcf23AhCTgTf48JFBbmJKqoZBsERDnjL0FyiVTYWdFsRfTLHxLyKdQ==",+ "node_modules/merge-stream": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==","dev": true},- "dashdash": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",- "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",+ "node_modules/merge2": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==","dev": true,- "requires": {- "assert-plus": "^1.0.0"+ "engines": {+ "node": ">= 8"}},- "data-urls": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.0.1.tgz",- "integrity": "sha512-0HdcMZzK6ubMUnsMmQmG0AcLQPvbvb47R0+7CCZQCYgcd8OUWG91CG7sM6GoXgjz+WLl4ArFzHtBMy/QqSF4eg==",+ "node_modules/micromatch": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz",+ "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==","dev": true,- "requires": {- "abab": "^2.0.0",- "whatwg-mimetype": "^2.1.0",- "whatwg-url": "^7.0.0"+ "dependencies": {+ "braces": "^3.0.1",+ "picomatch": "^2.0.5"+ },+ "engines": {+ "node": ">=8"}},- "date-now": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",- "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=",- "dev": true+ "node_modules/mime": {+ "version": "2.4.6",+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",+ "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA==",+ "dev": true,+ "bin": {+ "mime": "cli.js"+ },+ "engines": {+ "node": ">=4.0.0"+ }},- "dateformat": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz",- "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==",- "dev": true+ "node_modules/mime-db": {+ "version": "1.44.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",+ "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==",+ "dev": true,+ "engines": {+ "node": ">= 0.6"+ }},- "debug": {- "version": "2.6.9",- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",+ "node_modules/mime-types": {+ "version": "2.1.27",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",+ "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==","dev": true,- "requires": {- "ms": "2.0.0"+ "dependencies": {+ "mime-db": "1.44.0"+ },+ "engines": {+ "node": ">= 0.6"}},- "decamelize": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",- "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",- "dev": true+ "node_modules/mimic-fn": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",+ "dev": true,+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/minimatch": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",+ "dev": true,+ "dependencies": {+ "brace-expansion": "^1.1.7"+ },+ "engines": {+ "node": "*"+ }},- "decode-uri-component": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",- "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=",+ "node_modules/minimist": {+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==","dev": true},- "decompress-response": {- "version": "3.3.0",- "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",- "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",+ "node_modules/mkdirp": {+ "version": "0.5.5",+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",+ "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==","dev": true,- "requires": {- "mimic-response": "^1.0.0"+ "dependencies": {+ "minimist": "^1.2.5"+ },+ "bin": {+ "mkdirp": "bin/cmd.js"}},- "deep-equal": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz",- "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=",+ "node_modules/ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==","dev": true},- "deep-extend": {- "version": "0.6.0",- "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",- "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",- "dev": true+ "node_modules/negotiator": {+ "version": "0.6.2",+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",+ "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",+ "dev": true,+ "engines": {+ "node": ">= 0.6"+ }},- "deep-is": {- "version": "0.1.3",- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",- "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",+ "node_modules/node-releases": {+ "version": "1.1.60",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.60.tgz",+ "integrity": "sha512-gsO4vjEdQaTusZAEebUWp2a5d7dF5DYoIpDG7WySnk7BuZDW+GPpHXoXXuYawRBr/9t5q54tirPz79kFIWg4dA==","dev": true},- "default-gateway": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-4.2.0.tgz",- "integrity": "sha512-h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA==",+ "node_modules/normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==","dev": true,- "requires": {- "execa": "^1.0.0",- "ip-regex": "^2.1.0"+ "engines": {+ "node": ">=0.10.0"}},- "define-properties": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",- "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",+ "node_modules/normalize-url": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz",+ "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==","dev": true,- "requires": {- "object-keys": "^1.0.12"+ "engines": {+ "node": ">=6"}},- "define-property": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",- "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",+ "node_modules/npm-run-path": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==","dev": true,- "requires": {- "is-descriptor": "^1.0.2",- "isobject": "^3.0.1"- },"dependencies": {- "is-accessor-descriptor": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",- "dev": true,- "requires": {- "kind-of": "^6.0.0"- }- },- "is-data-descriptor": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",- "dev": true,- "requires": {- "kind-of": "^6.0.0"- }- },- "is-descriptor": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",- "dev": true,- "requires": {- "is-accessor-descriptor": "^1.0.0",- "is-data-descriptor": "^1.0.0",- "kind-of": "^6.0.2"- }- }+ "path-key": "^3.0.0"+ },+ "engines": {+ "node": ">=8"}},- "del": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/del/-/del-4.1.1.tgz",- "integrity": "sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ==",+ "node_modules/nth-check": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",+ "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==","dev": true,- "requires": {- "@types/glob": "^7.1.1",- "globby": "^6.1.0",- "is-path-cwd": "^2.0.0",- "is-path-in-cwd": "^2.0.0",- "p-map": "^2.0.0",- "pify": "^4.0.1",- "rimraf": "^2.6.3"- },"dependencies": {- "globby": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz",- "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=",- "dev": true,- "requires": {- "array-union": "^1.0.1",- "glob": "^7.0.3",- "object-assign": "^4.0.1",- "pify": "^2.0.0",- "pinkie-promise": "^2.0.0"- },- "dependencies": {- "pify": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",- "dev": true- }- }- },- "pify": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",- "dev": true- },- "rimraf": {- "version": "2.6.3",- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",- "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",- "dev": true,- "requires": {- "glob": "^7.1.3"- }- }+ "boolbase": "~1.0.0"}},- "delayed-stream": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",- "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",- "dev": true- },- "delegates": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",- "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",- "dev": true- },- "depd": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",- "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=",+ "node_modules/object-inspect": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz",+ "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==","dev": true},- "des.js": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz",- "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=",+ "node_modules/object-keys": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==","dev": true,- "requires": {- "inherits": "^2.0.1",- "minimalistic-assert": "^1.0.0"+ "engines": {+ "node": ">= 0.4"}},- "destroy": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",- "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=",- "dev": true- },- "detect-conflict": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/detect-conflict/-/detect-conflict-1.0.1.tgz",- "integrity": "sha1-CIZXpmqWHAUBnbfEIwiDsca0F24=",- "dev": true- },- "detect-file": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",- "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=",- "dev": true+ "node_modules/object.assign": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",+ "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",+ "dev": true,+ "dependencies": {+ "define-properties": "^1.1.2",+ "function-bind": "^1.1.1",+ "has-symbols": "^1.0.0",+ "object-keys": "^1.0.11"+ },+ "engines": {+ "node": ">= 0.4"+ }},- "detect-newline": {+ "node_modules/object.getownpropertydescriptors": {"version": "2.1.0",- "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz",- "integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=",- "dev": true- },- "detect-node": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz",- "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==",- "dev": true- },- "diff": {- "version": "3.5.0",- "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",- "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",- "dev": true+ "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz",+ "integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==",+ "dev": true,+ "dependencies": {+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.0-next.1"+ },+ "engines": {+ "node": ">= 0.8"+ }},- "diff-sequences": {- "version": "24.3.0",- "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.3.0.tgz",- "integrity": "sha512-xLqpez+Zj9GKSnPWS0WZw1igGocZ+uua8+y+5dDNTT934N3QuY1sp2LkHzwiaYQGz60hMq0pjAshdeXm5VUOEw==",- "dev": true+ "node_modules/object.values": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz",+ "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==",+ "dev": true,+ "dependencies": {+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.0-next.1",+ "function-bind": "^1.1.1",+ "has": "^1.0.3"+ },+ "engines": {+ "node": ">= 0.4"+ }},- "diffie-hellman": {- "version": "5.0.3",- "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",- "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",+ "node_modules/on-headers": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",+ "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==","dev": true,- "requires": {- "bn.js": "^4.1.0",- "miller-rabin": "^4.0.0",- "randombytes": "^2.0.0"+ "engines": {+ "node": ">= 0.8"}},- "dir-glob": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.0.0.tgz",- "integrity": "sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag==",+ "node_modules/once": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=","dev": true,- "requires": {- "arrify": "^1.0.1",- "path-type": "^3.0.0"+ "dependencies": {+ "wrappy": "1"}},- "dns-equal": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz",- "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=",- "dev": true+ "node_modules/onetime": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",+ "dev": true,+ "dependencies": {+ "mimic-fn": "^2.1.0"+ },+ "engines": {+ "node": ">=6"+ }},- "dns-packet": {- "version": "1.3.1",- "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz",- "integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==",+ "node_modules/opencollective-postinstall": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz",+ "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==","dev": true,- "requires": {- "ip": "^1.1.0",- "safe-buffer": "^5.0.1"+ "bin": {+ "opencollective-postinstall": "index.js"}},- "dns-txt": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/dns-txt/-/dns-txt-2.0.2.tgz",- "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=",+ "node_modules/p-finally": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",+ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=","dev": true,- "requires": {- "buffer-indexof": "^1.0.0"+ "engines": {+ "node": ">=4"}},- "doctrine": {- "version": "0.7.2",- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-0.7.2.tgz",- "integrity": "sha1-fLhgNZujvpDgQLJrcpzkv6ZUxSM=",+ "node_modules/p-limit": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==","dev": true,- "requires": {- "esutils": "^1.1.6",- "isarray": "0.0.1"- },"dependencies": {- "esutils": {- "version": "1.1.6",- "resolved": "https://registry.npmjs.org/esutils/-/esutils-1.1.6.tgz",- "integrity": "sha1-wBzKqa5LiXxtDD4hCuUvPHqEQ3U=",- "dev": true- },- "isarray": {- "version": "0.0.1",- "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",- "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",- "dev": true- }+ "p-try": "^2.0.0"+ },+ "engines": {+ "node": ">=6"}},- "dom-converter": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.1.4.tgz",- "integrity": "sha1-pF71cnuJDJv/5tfIduexnLDhfzs=",+ "node_modules/p-locate": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==","dev": true,- "requires": {- "utila": "~0.3"- },"dependencies": {- "utila": {- "version": "0.3.3",- "resolved": "https://registry.npmjs.org/utila/-/utila-0.3.3.tgz",- "integrity": "sha1-1+jn1+MJEHCSsF+NloiCTWM6QiY=",- "dev": true- }+ "p-limit": "^2.2.0"+ },+ "engines": {+ "node": ">=8"}},- "dom-serializer": {- "version": "0.1.0",- "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz",- "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=",+ "node_modules/p-map": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz",+ "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==","dev": true,- "requires": {- "domelementtype": "~1.1.1",- "entities": "~1.1.1"- },"dependencies": {- "domelementtype": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz",- "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=",- "dev": true- }+ "aggregate-error": "^3.0.0"+ },+ "engines": {+ "node": ">=8"}},- "domain-browser": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",- "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==",- "dev": true- },- "domelementtype": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz",- "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=",- "dev": true+ "node_modules/p-try": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",+ "dev": true,+ "engines": {+ "node": ">=6"+ }},- "domexception": {+ "node_modules/parent-module": {"version": "1.0.1",- "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz",- "integrity": "sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==",+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==","dev": true,- "requires": {- "webidl-conversions": "^4.0.2"+ "dependencies": {+ "callsites": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "domhandler": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.1.0.tgz",- "integrity": "sha1-0mRvXlf2w7qxHPbLBdPArPdBJZQ=",+ "node_modules/parse-json": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz",+ "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==","dev": true,- "requires": {- "domelementtype": "1"+ "dependencies": {+ "@babel/code-frame": "^7.0.0",+ "error-ex": "^1.3.1",+ "json-parse-even-better-errors": "^2.3.0",+ "lines-and-columns": "^1.1.6"+ },+ "engines": {+ "node": ">=8"}},- "domutils": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",- "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",+ "node_modules/path-exists": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==","dev": true,- "requires": {- "dom-serializer": "0",- "domelementtype": "1"+ "engines": {+ "node": ">=8"}},- "dot-prop": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz",- "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==",+ "node_modules/path-is-absolute": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=","dev": true,- "requires": {- "is-obj": "^1.0.0"+ "engines": {+ "node": ">=0.10.0"}},- "duplexer": {- "version": "0.1.1",- "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz",- "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=",- "dev": true- },- "duplexer3": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",- "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=",+ "node_modules/path-is-inside": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",+ "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=","dev": true},- "duplexify": {- "version": "3.6.0",- "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.6.0.tgz",- "integrity": "sha512-fO3Di4tBKJpYTFHAxTU00BcfWMY9w24r/x21a6rZRbsD/ToUgGxsMbiGRmB7uVAXeGKXD9MwiLZa5E97EVgIRQ==",+ "node_modules/path-key": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==","dev": true,- "requires": {- "end-of-stream": "^1.0.0",- "inherits": "^2.0.1",- "readable-stream": "^2.0.0",- "stream-shift": "^1.0.0"- }- },- "ecc-jsbn": {- "version": "0.1.2",- "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",- "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",- "dev": true,- "optional": true,- "requires": {- "jsbn": "~0.1.0",- "safer-buffer": "^2.1.0"- }- },- "editions": {- "version": "2.1.3",- "resolved": "https://registry.npmjs.org/editions/-/editions-2.1.3.tgz",- "integrity": "sha512-xDZyVm0A4nLgMNWVVLJvcwMjI80ShiH/27RyLiCnW1L273TcJIA25C4pwJ33AWV01OX6UriP35Xu+lH4S7HWQw==",- "dev": true,- "requires": {- "errlop": "^1.1.1",- "semver": "^5.6.0"- },- "dependencies": {- "semver": {- "version": "5.7.0",- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",- "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",- "dev": true- }+ "engines": {+ "node": ">=8"}},- "ee-first": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",- "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=",- "dev": true- },- "ejs": {- "version": "2.6.2",- "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.6.2.tgz",- "integrity": "sha512-PcW2a0tyTuPHz3tWyYqtK6r1fZ3gp+3Sop8Ph+ZYN81Ob5rwmbHEzaqs10N3BEsaGTkh/ooniXK+WwszGlc2+Q==",+ "node_modules/path-parse": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",+ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==","dev": true},- "electron-to-chromium": {- "version": "1.3.135",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.135.tgz",- "integrity": "sha512-xXLNstRdVsisPF3pL3H9TVZo2XkMILfqtD6RiWIUmDK2sFX1Bjwqmd8LBp0Kuo2FgKO63JXPoEVGm8WyYdwP0Q==",+ "node_modules/path-to-regexp": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz",+ "integrity": "sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==","dev": true},- "elliptic": {- "version": "6.5.0",- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.0.tgz",- "integrity": "sha512-eFOJTMyCYb7xtE/caJ6JJu+bhi67WCYNbkGSknu20pmM8Ke/bqOfdnZWxyoGN26JgfxTbXrsCkEw4KheCT/KGg==",+ "node_modules/path-type": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==","dev": true,- "requires": {- "bn.js": "^4.4.0",- "brorand": "^1.0.1",- "hash.js": "^1.0.0",- "hmac-drbg": "^1.0.0",- "inherits": "^2.0.1",- "minimalistic-assert": "^1.0.0",- "minimalistic-crypto-utils": "^1.0.0"+ "engines": {+ "node": ">=8"}},- "emojis-list": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz",- "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=",- "dev": true- },- "encodeurl": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",- "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=",- "dev": true+ "node_modules/picomatch": {+ "version": "2.2.2",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",+ "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",+ "dev": true,+ "engines": {+ "node": ">=8.6"+ }},- "end-of-stream": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",- "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",+ "node_modules/pkg-dir": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==","dev": true,- "requires": {- "once": "^1.4.0"+ "dependencies": {+ "find-up": "^4.0.0"+ },+ "engines": {+ "node": ">=8"}},- "enhanced-resolve": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz",- "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==",+ "node_modules/please-upgrade-node": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz",+ "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==","dev": true,- "requires": {- "graceful-fs": "^4.1.2",- "memory-fs": "^0.4.0",- "tapable": "^1.0.0"+ "dependencies": {+ "semver-compare": "^1.0.0"}},- "entities": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz",- "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=",+ "node_modules/pointer-tracker": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/pointer-tracker/-/pointer-tracker-2.4.0.tgz",+ "integrity": "sha512-pWI2tpaM/XNtc9mUTv42Rmjf6mkHvE8LT5DDEq0G7baPNhxNM9E3CepubPplSoSLk9E5bwQrAMyDcPVmJyTW4g==","dev": true},- "errlop": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/errlop/-/errlop-1.1.1.tgz",- "integrity": "sha512-WX7QjiPHhsny7/PQvrhS5VMizXXKoKCS3udaBp8gjlARdbn+XmK300eKBAAN0hGyRaTCtRpOaxK+xFVPUJ3zkw==",+ "node_modules/postcss": {+ "version": "7.0.35",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==","dev": true,- "requires": {- "editions": "^2.1.2"+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"}},- "errno": {- "version": "0.1.7",- "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",- "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==",+ "node_modules/postcss-calc": {+ "version": "7.0.3",+ "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.3.tgz",+ "integrity": "sha512-IB/EAEmZhIMEIhG7Ov4x+l47UaXOS1n2f4FBUk/aKllQhtSCxWhTzn0nJgkqN7fo/jcWySvWTSB6Syk9L+31bA==","dev": true,- "requires": {- "prr": "~1.0.1"+ "dependencies": {+ "postcss": "^7.0.27",+ "postcss-selector-parser": "^6.0.2",+ "postcss-value-parser": "^4.0.2"}},- "error": {- "version": "7.0.2",- "resolved": "https://registry.npmjs.org/error/-/error-7.0.2.tgz",- "integrity": "sha1-pfdf/02ZJhJt2sDqXcOOaJFTywI=",+ "node_modules/postcss-calc/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "string-template": "~0.2.1",- "xtend": "~4.0.0"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "error-ex": {- "version": "1.3.2",- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",- "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",+ "node_modules/postcss-calc/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,- "requires": {- "is-arrayish": "^0.2.1"+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "es-abstract": {- "version": "1.12.0",- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz",- "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==",+ "node_modules/postcss-calc/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "es-to-primitive": "^1.1.1",- "function-bind": "^1.1.1",- "has": "^1.0.1",- "is-callable": "^1.1.3",- "is-regex": "^1.0.4"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "es-to-primitive": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz",- "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=",+ "node_modules/postcss-calc/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "is-callable": "^1.1.1",- "is-date-object": "^1.0.1",- "is-symbol": "^1.0.1"+ "dependencies": {+ "color-name": "1.1.3"}},- "escape-html": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",- "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=",+ "node_modules/postcss-calc/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "escape-string-regexp": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",- "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",- "dev": true+ "node_modules/postcss-calc/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }},- "escodegen": {- "version": "1.11.0",- "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.11.0.tgz",- "integrity": "sha512-IeMV45ReixHS53K/OmfKAIztN/igDHzTJUhZM3k1jMhIZWjk45SMwAtBsEXiJp3vSPmTcu6CXn7mDvFHRN66fw==",+ "node_modules/postcss-calc/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "esprima": "^3.1.3",- "estraverse": "^4.2.0",- "esutils": "^2.0.2",- "optionator": "^0.8.1",- "source-map": "~0.6.1"+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"},+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-calc/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,"dependencies": {- "esprima": {- "version": "3.1.3",- "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz",- "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=",- "dev": true- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true,- "optional": true- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "eslint-scope": {+ "node_modules/postcss-colormin": {"version": "4.0.3",- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz",- "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==",+ "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz",+ "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==","dev": true,- "requires": {- "esrecurse": "^4.1.0",- "estraverse": "^4.1.1"+ "dependencies": {+ "browserslist": "^4.0.0",+ "color": "^3.0.0",+ "has": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"}},- "esprima": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",- "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",- "dev": true- },- "esrecurse": {- "version": "4.2.1",- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",- "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",+ "node_modules/postcss-colormin/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "estraverse": "^4.1.0"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "estraverse": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz",- "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=",- "dev": true+ "node_modules/postcss-colormin/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }},- "esutils": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",- "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=",- "dev": true+ "node_modules/postcss-colormin/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }},- "etag": {- "version": "1.8.1",- "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",- "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",- "dev": true+ "node_modules/postcss-colormin/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }},- "eventemitter3": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz",- "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==",+ "node_modules/postcss-colormin/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "events": {+ "node_modules/postcss-colormin/node_modules/has-flag": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/events/-/events-3.0.0.tgz",- "integrity": "sha512-Dc381HFWJzEOhQ+d8pkNon++bk9h6cdAoAj4iE6Q4y6xgTzySWXlKn05/TVNpjnfRqi/X0EpJEJohPjNI3zpVA==",- "dev": true- },- "eventsource": {- "version": "1.0.7",- "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.0.7.tgz",- "integrity": "sha512-4Ln17+vVT0k8aWq+t/bF5arcS3EpT9gYtW66EPacdj/mAFevznsnyoHLPy2BA8gbIQeIHoPsvwmfBftfcG//BQ==",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "original": "^1.0.0"+ "engines": {+ "node": ">=4"}},- "evp_bytestokey": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",- "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",+ "node_modules/postcss-colormin/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "md5.js": "^1.3.4",- "safe-buffer": "^5.1.1"+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"}},- "exec-sh": {- "version": "0.3.2",- "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.2.tgz",- "integrity": "sha512-9sLAvzhI5nc8TpuQUh4ahMdCrWT00wPWz7j47/emR5+2qEfoZP5zzUXvx+vdx+H6ohhnsYC31iX04QLYJK8zTg==",+ "node_modules/postcss-colormin/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},- "execa": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",- "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",+ "node_modules/postcss-colormin/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,- "requires": {- "cross-spawn": "^6.0.0",- "get-stream": "^4.0.0",- "is-stream": "^1.1.0",- "npm-run-path": "^2.0.0",- "p-finally": "^1.0.0",- "signal-exit": "^3.0.0",- "strip-eof": "^1.0.0"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "exit": {- "version": "0.1.2",- "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",- "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=",- "dev": true- },- "expand-brackets": {- "version": "2.1.4",- "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",- "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=",+ "node_modules/postcss-convert-values": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz",+ "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==","dev": true,- "requires": {- "debug": "^2.3.3",- "define-property": "^0.2.5",- "extend-shallow": "^2.0.1",- "posix-character-classes": "^0.1.0",- "regex-not": "^1.0.0",- "snapdragon": "^0.8.1",- "to-regex": "^3.0.1"- },- "dependencies": {- "define-property": {- "version": "0.2.5",- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",- "dev": true,- "requires": {- "is-descriptor": "^0.1.0"- }- },- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- }+ "dependencies": {+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"}},- "expand-tilde": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz",- "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=",+ "node_modules/postcss-convert-values/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "homedir-polyfill": "^1.0.1"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "expect": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/expect/-/expect-24.8.0.tgz",- "integrity": "sha512-/zYvP8iMDrzaaxHVa724eJBCKqSHmO0FA7EDkBiRHxg6OipmMn1fN+C8T9L9K8yr7UONkOifu6+LLH+z76CnaA==",+ "node_modules/postcss-convert-values/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,- "requires": {- "@jest/types": "^24.8.0",- "ansi-styles": "^3.2.0",- "jest-get-type": "^24.8.0",- "jest-matcher-utils": "^24.8.0",- "jest-message-util": "^24.8.0",- "jest-regex-util": "^24.3.0"+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "exports-loader": {- "version": "0.7.0",- "resolved": "https://registry.npmjs.org/exports-loader/-/exports-loader-0.7.0.tgz",- "integrity": "sha512-RKwCrO4A6IiKm0pG3c9V46JxIHcDplwwGJn6+JJ1RcVnh/WSGJa0xkmk5cRVtgOPzCAtTMGj2F7nluh9L0vpSA==",+ "node_modules/postcss-convert-values/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "loader-utils": "^1.1.0",- "source-map": "0.5.0"- },"dependencies": {- "source-map": {- "version": "0.5.0",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.0.tgz",- "integrity": "sha1-D+llA6yGpa213mP05BKuSHLNvoY=",- "dev": true- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "express": {- "version": "4.17.1",- "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",- "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",+ "node_modules/postcss-convert-values/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "accepts": "~1.3.7",- "array-flatten": "1.1.1",- "body-parser": "1.19.0",- "content-disposition": "0.5.3",- "content-type": "~1.0.4",- "cookie": "0.4.0",- "cookie-signature": "1.0.6",- "debug": "2.6.9",- "depd": "~1.1.2",- "encodeurl": "~1.0.2",- "escape-html": "~1.0.3",- "etag": "~1.8.1",- "finalhandler": "~1.1.2",- "fresh": "0.5.2",- "merge-descriptors": "1.0.1",- "methods": "~1.1.2",- "on-finished": "~2.3.0",- "parseurl": "~1.3.3",- "path-to-regexp": "0.1.7",- "proxy-addr": "~2.0.5",- "qs": "6.7.0",- "range-parser": "~1.2.1",- "safe-buffer": "5.1.2",- "send": "0.17.1",- "serve-static": "1.14.1",- "setprototypeof": "1.1.1",- "statuses": "~1.5.0",- "type-is": "~1.6.18",- "utils-merge": "1.0.1",- "vary": "~1.1.2"- },"dependencies": {- "accepts": {- "version": "1.3.7",- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",- "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",- "dev": true,- "requires": {- "mime-types": "~2.1.24",- "negotiator": "0.6.2"- }- },- "mime-db": {- "version": "1.40.0",- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",- "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==",- "dev": true- },- "mime-types": {- "version": "2.1.24",- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz",- "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==",- "dev": true,- "requires": {- "mime-db": "1.40.0"- }- },- "negotiator": {- "version": "0.6.2",- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",- "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",- "dev": true- },- "parseurl": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",- "dev": true- },- "qs": {- "version": "6.7.0",- "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",- "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==",- "dev": true- },- "setprototypeof": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",- "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",- "dev": true- },- "statuses": {- "version": "1.5.0",- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",- "dev": true- }+ "color-name": "1.1.3"}},- "extend": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",- "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",+ "node_modules/postcss-convert-values/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "extend-shallow": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",- "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=",+ "node_modules/postcss-convert-values/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "assign-symbols": "^1.0.0",- "is-extendable": "^1.0.1"- },- "dependencies": {- "is-extendable": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",- "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",- "dev": true,- "requires": {- "is-plain-object": "^2.0.4"- }- }+ "engines": {+ "node": ">=4"}},- "external-editor": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz",- "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==",+ "node_modules/postcss-convert-values/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "chardet": "^0.7.0",- "iconv-lite": "^0.4.24",- "tmp": "^0.0.33"- },"dependencies": {- "iconv-lite": {- "version": "0.4.24",- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",- "dev": true,- "requires": {- "safer-buffer": ">= 2.1.2 < 3"- }- }+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"}},- "extglob": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",- "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",+ "node_modules/postcss-convert-values/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-convert-values/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,- "requires": {- "array-unique": "^0.3.2",- "define-property": "^1.0.0",- "expand-brackets": "^2.1.4",- "extend-shallow": "^2.0.1",- "fragment-cache": "^0.2.1",- "regex-not": "^1.0.0",- "snapdragon": "^0.8.1",- "to-regex": "^3.0.1"- },"dependencies": {- "define-property": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",- "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",- "dev": true,- "requires": {- "is-descriptor": "^1.0.0"- }- },- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- },- "is-accessor-descriptor": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",- "dev": true,- "requires": {- "kind-of": "^6.0.0"- }- },- "is-data-descriptor": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",- "dev": true,- "requires": {- "kind-of": "^6.0.0"- }- },- "is-descriptor": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",- "dev": true,- "requires": {- "is-accessor-descriptor": "^1.0.0",- "is-data-descriptor": "^1.0.0",- "kind-of": "^6.0.2"- }- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "extsprintf": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",- "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",- "dev": true+ "node_modules/postcss-discard-comments": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz",+ "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==",+ "dev": true,+ "dependencies": {+ "postcss": "^7.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }},- "fast-deep-equal": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",- "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",- "dev": true+ "node_modules/postcss-discard-comments/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }},- "fast-glob": {- "version": "2.2.7",- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz",- "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==",+ "node_modules/postcss-discard-comments/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,- "requires": {- "@mrmlnc/readdir-enhanced": "^2.2.1",- "@nodelib/fs.stat": "^1.1.2",- "glob-parent": "^3.1.0",- "is-glob": "^4.0.0",- "merge2": "^1.2.3",- "micromatch": "^3.1.10"+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "fast-json-stable-stringify": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",- "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=",- "dev": true+ "node_modules/postcss-discard-comments/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }},- "fast-levenshtein": {- "version": "2.0.6",- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",- "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",- "dev": true+ "node_modules/postcss-discard-comments/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }},- "fastparse": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz",- "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==",+ "node_modules/postcss-discard-comments/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "faye-websocket": {- "version": "0.10.0",- "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz",- "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=",+ "node_modules/postcss-discard-comments/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "websocket-driver": ">=0.5.1"+ "engines": {+ "node": ">=4"}},- "fb-watchman": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.0.tgz",- "integrity": "sha1-VOmr99+i8mzZsWNsWIwa/AXeXVg=",+ "node_modules/postcss-discard-comments/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "bser": "^2.0.0"+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"}},- "figgy-pudding": {- "version": "3.5.1",- "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz",- "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w==",- "dev": true+ "node_modules/postcss-discard-comments/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }},- "figures": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",- "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",+ "node_modules/postcss-discard-duplicates": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz",+ "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==","dev": true,- "requires": {- "escape-string-regexp": "^1.0.5"+ "dependencies": {+ "postcss": "^7.0.0"},+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-discard-duplicates/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,"dependencies": {- "escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",- "dev": true- }+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "file-drop-element": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/file-drop-element/-/file-drop-element-0.2.0.tgz",- "integrity": "sha512-BGDdaJ4U2Cz0qhv6YGLnuhVtKcN8fp7F/4dS7lGSL1Fbe8m4cbGk+8awwHW0xcFqutMojxGchMVuWYQpEpP/Qg==",- "dev": true+ "node_modules/postcss-discard-duplicates/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }},- "file-loader": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-4.2.0.tgz",- "integrity": "sha512-+xZnaK5R8kBJrHK0/6HRlrKNamvVS5rjyuju+rnyxRGuwUJwpAMsVzUl5dz6rK8brkzjV6JpcFNjp6NqV0g1OQ==",+ "node_modules/postcss-discard-duplicates/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "loader-utils": "^1.2.3",- "schema-utils": "^2.0.0"+ "dependencies": {+ "has-flag": "^3.0.0"},+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-discard-duplicates/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,"dependencies": {- "schema-utils": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.1.0.tgz",- "integrity": "sha512-g6SViEZAfGNrToD82ZPUjq52KUPDYc+fN5+g6Euo5mLokl/9Yx14z0Cu4RR1m55HtBXejO0sBt+qw79axN+Fiw==",- "dev": true,- "requires": {- "ajv": "^6.1.0",- "ajv-keywords": "^3.1.0"- }- }+ "color-name": "1.1.3"}},- "filesize": {- "version": "3.6.1",- "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",- "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg==",+ "node_modules/postcss-discard-duplicates/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "fill-range": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",- "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",+ "node_modules/postcss-discard-duplicates/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "extend-shallow": "^2.0.1",- "is-number": "^3.0.0",- "repeat-string": "^1.6.1",- "to-regex-range": "^2.1.0"- },- "dependencies": {- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- }+ "engines": {+ "node": ">=4"}},- "finalhandler": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",- "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",+ "node_modules/postcss-discard-duplicates/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "debug": "2.6.9",- "encodeurl": "~1.0.2",- "escape-html": "~1.0.3",- "on-finished": "~2.3.0",- "parseurl": "~1.3.3",- "statuses": "~1.5.0",- "unpipe": "~1.0.0"- },- "dependencies": {- "parseurl": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",- "dev": true- },- "statuses": {- "version": "1.5.0",- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",- "dev": true- }+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"}},- "find-cache-dir": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz",- "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==",+ "node_modules/postcss-discard-duplicates/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,- "requires": {- "commondir": "^1.0.1",- "make-dir": "^2.0.0",- "pkg-dir": "^3.0.0"- },"dependencies": {- "find-up": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",- "dev": true,- "requires": {- "locate-path": "^3.0.0"- }- },- "locate-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",- "dev": true,- "requires": {- "p-locate": "^3.0.0",- "path-exists": "^3.0.0"- }- },- "make-dir": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",- "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",- "dev": true,- "requires": {- "pify": "^4.0.1",- "semver": "^5.6.0"- }- },- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }- },- "p-locate": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",- "dev": true,- "requires": {- "p-limit": "^2.0.0"- }- },- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",- "dev": true- },- "pify": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",- "dev": true- },- "pkg-dir": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",- "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",- "dev": true,- "requires": {- "find-up": "^3.0.0"- }- },- "semver": {- "version": "5.7.0",- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",- "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",- "dev": true- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "find-up": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",- "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",+ "node_modules/postcss-discard-empty": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz",+ "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==","dev": true,- "requires": {- "locate-path": "^2.0.0"+ "dependencies": {+ "postcss": "^7.0.0"+ },+ "engines": {+ "node": ">=6.9.0"}},- "findup-sync": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz",- "integrity": "sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=",+ "node_modules/postcss-discard-empty/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "detect-file": "^1.0.0",- "is-glob": "^3.1.0",- "micromatch": "^3.0.4",- "resolve-dir": "^1.0.1"+ "dependencies": {+ "color-convert": "^1.9.0"},+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-discard-empty/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,"dependencies": {- "is-glob": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",- "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",- "dev": true,- "requires": {- "is-extglob": "^2.1.0"- }- }+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "first-chunk-stream": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-2.0.0.tgz",- "integrity": "sha1-G97NuOCDwGZLkZRVgVd6Q6nzHXA=",+ "node_modules/postcss-discard-empty/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "readable-stream": "^2.0.2"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-discard-empty/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"}},- "flow-parser": {- "version": "0.100.0",- "resolved": "https://registry.npmjs.org/flow-parser/-/flow-parser-0.100.0.tgz",- "integrity": "sha512-4dpz6vfe0rCizZ8czLxrUhAascJspkKDUqINLiKEKCgua91A8hf4f22augPosu1mq9d1hquI+siM8VfDTw+8CA==",+ "node_modules/postcss-discard-empty/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "flush-write-stream": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.3.tgz",- "integrity": "sha512-calZMC10u0FMUqoiunI2AiGIIUtUIvifNwkHhNupZH4cbNnW1Itkoh/Nf5HFYmDrwWPjrUxpkZT0KhuCq0jmGw==",+ "node_modules/postcss-discard-empty/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "inherits": "^2.0.1",- "readable-stream": "^2.0.4"+ "engines": {+ "node": ">=4"}},- "follow-redirects": {- "version": "1.7.0",- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.7.0.tgz",- "integrity": "sha512-m/pZQy4Gj287eNy94nivy5wchN3Kp+Q5WgUPNy5lJSZ3sgkVKSYV/ZChMAQVIgx1SqfZ2zBZtPA2YlXIWxxJOQ==",+ "node_modules/postcss-discard-empty/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "debug": "^3.2.6"+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"},+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-discard-empty/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,"dependencies": {- "debug": {- "version": "3.2.6",- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",- "dev": true,- "requires": {- "ms": "^2.1.1"- }- },- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",- "dev": true- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "for-in": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",- "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",- "dev": true+ "node_modules/postcss-discard-overridden": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz",+ "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==",+ "dev": true,+ "dependencies": {+ "postcss": "^7.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }},- "forever-agent": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",- "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=",- "dev": true+ "node_modules/postcss-discard-overridden/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-discard-overridden/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }},- "form-data": {- "version": "2.3.2",- "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz",- "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=",+ "node_modules/postcss-discard-overridden/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "asynckit": "^0.4.0",- "combined-stream": "1.0.6",- "mime-types": "^2.1.12"+ "dependencies": {+ "has-flag": "^3.0.0"},+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-discard-overridden/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,"dependencies": {- "combined-stream": {- "version": "1.0.6",- "resolved": "http://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz",- "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=",- "dev": true,- "requires": {- "delayed-stream": "~1.0.0"- }- }+ "color-name": "1.1.3"}},- "forwarded": {- "version": "0.1.2",- "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",- "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=",+ "node_modules/postcss-discard-overridden/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "fragment-cache": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",- "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=",+ "node_modules/postcss-discard-overridden/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "map-cache": "^0.2.2"+ "engines": {+ "node": ">=4"}},- "fresh": {- "version": "0.5.2",- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",- "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=",- "dev": true+ "node_modules/postcss-discard-overridden/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }},- "from2": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz",- "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=",+ "node_modules/postcss-discard-overridden/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,- "requires": {- "inherits": "^2.0.1",- "readable-stream": "^2.0.0"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "fs-write-stream-atomic": {- "version": "1.0.10",- "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz",- "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=",+ "node_modules/postcss-merge-longhand": {+ "version": "4.0.11",+ "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz",+ "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==","dev": true,- "requires": {- "graceful-fs": "^4.1.2",- "iferr": "^0.1.5",- "imurmurhash": "^0.1.4",- "readable-stream": "1 || 2"+ "dependencies": {+ "css-color-names": "0.0.4",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0",+ "stylehacks": "^4.0.0"+ },+ "engines": {+ "node": ">=6.9.0"}},- "fs.realpath": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",- "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",+ "node_modules/postcss-merge-longhand/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-merge-longhand/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-merge-longhand/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-merge-longhand/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-merge-longhand/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "fsevents": {- "version": "1.2.7",- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.7.tgz",- "integrity": "sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw==",+ "node_modules/postcss-merge-longhand/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "optional": true,- "requires": {- "nan": "^2.9.2",- "node-pre-gyp": "^0.10.0"+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-merge-longhand/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"},+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-merge-longhand/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-merge-longhand/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,"dependencies": {- "abbrev": {- "version": "1.1.1",- "bundled": true,- "dev": true,- "optional": true- },- "ansi-regex": {- "version": "2.1.1",- "bundled": true,- "dev": true,- "optional": true- },- "aproba": {- "version": "1.2.0",- "bundled": true,- "dev": true,- "optional": true- },- "are-we-there-yet": {- "version": "1.1.5",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "delegates": "^1.0.0",- "readable-stream": "^2.0.6"- }- },- "balanced-match": {- "version": "1.0.0",- "bundled": true,- "dev": true,- "optional": true- },- "brace-expansion": {- "version": "1.1.11",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "balanced-match": "^1.0.0",- "concat-map": "0.0.1"- }- },- "chownr": {- "version": "1.1.1",- "bundled": true,- "dev": true,- "optional": true- },- "code-point-at": {- "version": "1.1.0",- "bundled": true,- "dev": true,- "optional": true- },- "concat-map": {- "version": "0.0.1",- "bundled": true,- "dev": true,- "optional": true- },- "console-control-strings": {- "version": "1.1.0",- "bundled": true,- "dev": true,- "optional": true- },- "core-util-is": {- "version": "1.0.2",- "bundled": true,- "dev": true,- "optional": true- },- "debug": {- "version": "2.6.9",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "ms": "2.0.0"- }- },- "deep-extend": {- "version": "0.6.0",- "bundled": true,- "dev": true,- "optional": true- },- "delegates": {- "version": "1.0.0",- "bundled": true,- "dev": true,- "optional": true- },- "detect-libc": {- "version": "1.0.3",- "bundled": true,- "dev": true,- "optional": true- },- "fs-minipass": {- "version": "1.2.5",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "minipass": "^2.2.1"- }- },- "fs.realpath": {- "version": "1.0.0",- "bundled": true,- "dev": true,- "optional": true- },- "gauge": {- "version": "2.7.4",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "aproba": "^1.0.3",- "console-control-strings": "^1.0.0",- "has-unicode": "^2.0.0",- "object-assign": "^4.1.0",- "signal-exit": "^3.0.0",- "string-width": "^1.0.1",- "strip-ansi": "^3.0.1",- "wide-align": "^1.1.0"- }- },- "glob": {- "version": "7.1.3",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^3.0.4",- "once": "^1.3.0",- "path-is-absolute": "^1.0.0"- }- },- "has-unicode": {- "version": "2.0.1",- "bundled": true,- "dev": true,- "optional": true- },- "iconv-lite": {- "version": "0.4.24",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "safer-buffer": ">= 2.1.2 < 3"- }- },- "ignore-walk": {- "version": "3.0.1",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "minimatch": "^3.0.4"- }- },- "inflight": {- "version": "1.0.6",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "once": "^1.3.0",- "wrappy": "1"- }- },- "inherits": {- "version": "2.0.3",- "bundled": true,- "dev": true,- "optional": true- },- "ini": {- "version": "1.3.5",- "bundled": true,- "dev": true,- "optional": true- },- "is-fullwidth-code-point": {- "version": "1.0.0",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "number-is-nan": "^1.0.0"- }- },- "isarray": {- "version": "1.0.0",- "bundled": true,- "dev": true,- "optional": true- },- "minimatch": {- "version": "3.0.4",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "brace-expansion": "^1.1.7"- }- },- "minimist": {- "version": "0.0.8",- "bundled": true,- "dev": true,- "optional": true- },- "minipass": {- "version": "2.3.5",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "safe-buffer": "^5.1.2",- "yallist": "^3.0.0"- }- },- "minizlib": {- "version": "1.2.1",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "minipass": "^2.2.1"- }- },- "mkdirp": {- "version": "0.5.1",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "minimist": "0.0.8"- }- },- "ms": {- "version": "2.0.0",- "bundled": true,- "dev": true,- "optional": true- },- "needle": {- "version": "2.2.4",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "debug": "^2.1.2",- "iconv-lite": "^0.4.4",- "sax": "^1.2.4"- }- },- "node-pre-gyp": {- "version": "0.10.3",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "detect-libc": "^1.0.2",- "mkdirp": "^0.5.1",- "needle": "^2.2.1",- "nopt": "^4.0.1",- "npm-packlist": "^1.1.6",- "npmlog": "^4.0.2",- "rc": "^1.2.7",- "rimraf": "^2.6.1",- "semver": "^5.3.0",- "tar": "^4"- }- },- "nopt": {- "version": "4.0.1",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "abbrev": "1",- "osenv": "^0.1.4"- }- },- "npm-bundled": {- "version": "1.0.5",- "bundled": true,- "dev": true,- "optional": true- },- "npm-packlist": {- "version": "1.2.0",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "ignore-walk": "^3.0.1",- "npm-bundled": "^1.0.1"- }- },- "npmlog": {- "version": "4.1.2",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "are-we-there-yet": "~1.1.2",- "console-control-strings": "~1.1.0",- "gauge": "~2.7.3",- "set-blocking": "~2.0.0"- }- },- "number-is-nan": {- "version": "1.0.1",- "bundled": true,- "dev": true,- "optional": true- },- "object-assign": {- "version": "4.1.1",- "bundled": true,- "dev": true,- "optional": true- },- "once": {- "version": "1.4.0",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "wrappy": "1"- }- },- "os-homedir": {- "version": "1.0.2",- "bundled": true,- "dev": true,- "optional": true- },- "os-tmpdir": {- "version": "1.0.2",- "bundled": true,- "dev": true,- "optional": true- },- "osenv": {- "version": "0.1.5",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "os-homedir": "^1.0.0",- "os-tmpdir": "^1.0.0"- }- },- "path-is-absolute": {- "version": "1.0.1",- "bundled": true,- "dev": true,- "optional": true- },- "process-nextick-args": {- "version": "2.0.0",- "bundled": true,- "dev": true,- "optional": true- },- "rc": {- "version": "1.2.8",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "deep-extend": "^0.6.0",- "ini": "~1.3.0",- "minimist": "^1.2.0",- "strip-json-comments": "~2.0.1"- },- "dependencies": {- "minimist": {- "version": "1.2.0",- "bundled": true,- "dev": true,- "optional": true- }- }- },- "readable-stream": {- "version": "2.3.6",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "core-util-is": "~1.0.0",- "inherits": "~2.0.3",- "isarray": "~1.0.0",- "process-nextick-args": "~2.0.0",- "safe-buffer": "~5.1.1",- "string_decoder": "~1.1.1",- "util-deprecate": "~1.0.1"- }- },- "rimraf": {- "version": "2.6.3",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "glob": "^7.1.3"- }- },- "safe-buffer": {- "version": "5.1.2",- "bundled": true,- "dev": true,- "optional": true- },- "safer-buffer": {- "version": "2.1.2",- "bundled": true,- "dev": true,- "optional": true- },- "sax": {- "version": "1.2.4",- "bundled": true,- "dev": true,- "optional": true- },- "semver": {- "version": "5.6.0",- "bundled": true,- "dev": true,- "optional": true- },- "set-blocking": {- "version": "2.0.0",- "bundled": true,- "dev": true,- "optional": true- },- "signal-exit": {- "version": "3.0.2",- "bundled": true,- "dev": true,- "optional": true- },- "string-width": {- "version": "1.0.2",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "code-point-at": "^1.0.0",- "is-fullwidth-code-point": "^1.0.0",- "strip-ansi": "^3.0.0"- }- },- "string_decoder": {- "version": "1.1.1",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "safe-buffer": "~5.1.0"- }- },- "strip-ansi": {- "version": "3.0.1",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "ansi-regex": "^2.0.0"- }- },- "strip-json-comments": {- "version": "2.0.1",- "bundled": true,- "dev": true,- "optional": true- },- "tar": {- "version": "4.4.8",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "chownr": "^1.1.1",- "fs-minipass": "^1.2.5",- "minipass": "^2.3.4",- "minizlib": "^1.1.1",- "mkdirp": "^0.5.0",- "safe-buffer": "^5.1.2",- "yallist": "^3.0.2"- }- },- "util-deprecate": {- "version": "1.0.2",- "bundled": true,- "dev": true,- "optional": true- },- "wide-align": {- "version": "1.1.3",- "bundled": true,- "dev": true,- "optional": true,- "requires": {- "string-width": "^1.0.2 || 2"- }- },- "wrappy": {- "version": "1.0.2",- "bundled": true,- "dev": true,- "optional": true- },- "yallist": {- "version": "3.0.3",- "bundled": true,- "dev": true,- "optional": true- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-merge-rules": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz",+ "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==",+ "dev": true,+ "dependencies": {+ "browserslist": "^4.0.0",+ "caniuse-api": "^3.0.0",+ "cssnano-util-same-parent": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-selector-parser": "^3.0.0",+ "vendors": "^1.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-merge-rules/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-merge-rules/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-merge-rules/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-merge-rules/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-merge-rules/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-merge-rules/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-merge-rules/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-merge-rules/node_modules/postcss-selector-parser": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",+ "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==",+ "dev": true,+ "dependencies": {+ "dot-prop": "^5.2.0",+ "indexes-of": "^1.0.1",+ "uniq": "^1.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/postcss-merge-rules/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-minify-font-values": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz",+ "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==",+ "dev": true,+ "dependencies": {+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-minify-font-values/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-font-values/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-font-values/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-font-values/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-minify-font-values/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-minify-font-values/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-font-values/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-minify-font-values/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-minify-font-values/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-minify-gradients": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz",+ "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==",+ "dev": true,+ "dependencies": {+ "cssnano-util-get-arguments": "^4.0.0",+ "is-color-stop": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-minify-gradients/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-gradients/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-gradients/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-gradients/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-minify-gradients/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-minify-gradients/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-gradients/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-minify-gradients/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-minify-gradients/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-minify-params": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz",+ "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==",+ "dev": true,+ "dependencies": {+ "alphanum-sort": "^1.0.0",+ "browserslist": "^4.0.0",+ "cssnano-util-get-arguments": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0",+ "uniqs": "^2.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-minify-params/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-params/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-params/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-params/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-minify-params/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-minify-params/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-params/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-minify-params/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-minify-params/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-minify-selectors": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz",+ "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==",+ "dev": true,+ "dependencies": {+ "alphanum-sort": "^1.0.0",+ "has": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-selector-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-minify-selectors/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-selectors/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-selectors/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-selectors/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-minify-selectors/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-minify-selectors/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-minify-selectors/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-minify-selectors/node_modules/postcss-selector-parser": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",+ "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==",+ "dev": true,+ "dependencies": {+ "dot-prop": "^5.2.0",+ "indexes-of": "^1.0.1",+ "uniq": "^1.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/postcss-minify-selectors/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-modules": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/postcss-modules/-/postcss-modules-3.2.2.tgz",+ "integrity": "sha512-JQ8IAqHELxC0N6tyCg2UF40pACY5oiL6UpiqqcIFRWqgDYO8B0jnxzoQ0EOpPrWXvcpu6BSbQU/3vSiq7w8Nhw==",+ "dev": true,+ "dependencies": {+ "generic-names": "^2.0.1",+ "icss-replace-symbols": "^1.1.0",+ "lodash.camelcase": "^4.3.0",+ "postcss": "^7.0.32",+ "postcss-modules-extract-imports": "^2.0.0",+ "postcss-modules-local-by-default": "^3.0.2",+ "postcss-modules-scope": "^2.2.0",+ "postcss-modules-values": "^3.0.0",+ "string-hash": "^1.1.1"+ }+ },+ "node_modules/postcss-modules-extract-imports": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz",+ "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==",+ "dev": true,+ "dependencies": {+ "postcss": "^7.0.5"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/postcss-modules-extract-imports/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-extract-imports/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-extract-imports/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-extract-imports/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-modules-extract-imports/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-modules-extract-imports/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-extract-imports/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-modules-extract-imports/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-modules-local-by-default": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz",+ "integrity": "sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==",+ "dev": true,+ "dependencies": {+ "icss-utils": "^4.1.1",+ "postcss": "^7.0.32",+ "postcss-selector-parser": "^6.0.2",+ "postcss-value-parser": "^4.1.0"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/postcss-modules-local-by-default/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-local-by-default/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-local-by-default/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-local-by-default/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-modules-local-by-default/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-modules-local-by-default/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-local-by-default/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-modules-local-by-default/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-modules-scope": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz",+ "integrity": "sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==",+ "dev": true,+ "dependencies": {+ "postcss": "^7.0.6",+ "postcss-selector-parser": "^6.0.0"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/postcss-modules-scope/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-scope/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-scope/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-scope/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-modules-scope/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-modules-scope/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-scope/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-modules-scope/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-modules-values": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz",+ "integrity": "sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==",+ "dev": true,+ "dependencies": {+ "icss-utils": "^4.0.0",+ "postcss": "^7.0.6"+ }+ },+ "node_modules/postcss-modules-values/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-values/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-values/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-values/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-modules-values/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-modules-values/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules-values/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-modules-values/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-modules/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-modules/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-modules/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-modules/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-modules/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-nested": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-4.2.3.tgz",+ "integrity": "sha512-rOv0W1HquRCamWy2kFl3QazJMMe1ku6rCFoAAH+9AcxdbpDeBr6k968MLWuLjvjMcGEip01ak09hKOEgpK9hvw==",+ "dev": true,+ "dependencies": {+ "postcss": "^7.0.32",+ "postcss-selector-parser": "^6.0.2"+ }+ },+ "node_modules/postcss-normalize-charset": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz",+ "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==",+ "dev": true,+ "dependencies": {+ "postcss": "^7.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-normalize-charset/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-charset/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-charset/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-charset/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-normalize-charset/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-normalize-charset/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-charset/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-normalize-charset/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-normalize-display-values": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz",+ "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==",+ "dev": true,+ "dependencies": {+ "cssnano-util-get-match": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-normalize-display-values/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-display-values/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-display-values/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-display-values/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-normalize-display-values/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-normalize-display-values/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-display-values/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-normalize-display-values/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-normalize-display-values/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-normalize-positions": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz",+ "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==",+ "dev": true,+ "dependencies": {+ "cssnano-util-get-arguments": "^4.0.0",+ "has": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-normalize-positions/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-positions/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-positions/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-positions/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-normalize-positions/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-normalize-positions/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-positions/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-normalize-positions/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-normalize-positions/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-normalize-repeat-style": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz",+ "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==",+ "dev": true,+ "dependencies": {+ "cssnano-util-get-arguments": "^4.0.0",+ "cssnano-util-get-match": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-normalize-repeat-style/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-repeat-style/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-repeat-style/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-repeat-style/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-normalize-repeat-style/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-normalize-repeat-style/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-repeat-style/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-normalize-repeat-style/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-normalize-repeat-style/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-normalize-string": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz",+ "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==",+ "dev": true,+ "dependencies": {+ "has": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-normalize-string/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-string/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-string/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-string/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-normalize-string/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-normalize-string/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-string/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-normalize-string/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-normalize-string/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-normalize-timing-functions": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz",+ "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==",+ "dev": true,+ "dependencies": {+ "cssnano-util-get-match": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-normalize-timing-functions/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-timing-functions/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-timing-functions/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-timing-functions/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-normalize-timing-functions/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-normalize-timing-functions/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-timing-functions/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-normalize-timing-functions/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-normalize-timing-functions/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-normalize-unicode": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz",+ "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==",+ "dev": true,+ "dependencies": {+ "browserslist": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-normalize-unicode/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-unicode/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-unicode/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-unicode/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-normalize-unicode/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-normalize-unicode/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-unicode/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-normalize-unicode/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-normalize-unicode/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-normalize-url": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz",+ "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==",+ "dev": true,+ "dependencies": {+ "is-absolute-url": "^2.0.0",+ "normalize-url": "^3.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-normalize-url/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-url/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-url/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-url/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-normalize-url/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-normalize-url/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-url/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-normalize-url/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-normalize-url/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-normalize-whitespace": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz",+ "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==",+ "dev": true,+ "dependencies": {+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-normalize-whitespace/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-whitespace/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-whitespace/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-whitespace/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-normalize-whitespace/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-normalize-whitespace/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-normalize-whitespace/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-normalize-whitespace/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-normalize-whitespace/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-ordered-values": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz",+ "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==",+ "dev": true,+ "dependencies": {+ "cssnano-util-get-arguments": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-ordered-values/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-ordered-values/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-ordered-values/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-ordered-values/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-ordered-values/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-ordered-values/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-ordered-values/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-ordered-values/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-ordered-values/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-reduce-initial": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz",+ "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==",+ "dev": true,+ "dependencies": {+ "browserslist": "^4.0.0",+ "caniuse-api": "^3.0.0",+ "has": "^1.0.0",+ "postcss": "^7.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-reduce-initial/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-reduce-initial/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-reduce-initial/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-reduce-initial/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-reduce-initial/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-reduce-initial/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-reduce-initial/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-reduce-initial/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-reduce-transforms": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz",+ "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==",+ "dev": true,+ "dependencies": {+ "cssnano-util-get-match": "^4.0.0",+ "has": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-reduce-transforms/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-reduce-transforms/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-reduce-transforms/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-reduce-transforms/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-reduce-transforms/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-reduce-transforms/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-reduce-transforms/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-reduce-transforms/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "node_modules/postcss-reduce-transforms/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-selector-parser": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz",+ "integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==",+ "dev": true,+ "dependencies": {+ "cssesc": "^3.0.0",+ "indexes-of": "^1.0.1",+ "uniq": "^1.0.1"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-simple-vars": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/postcss-simple-vars/-/postcss-simple-vars-5.0.2.tgz",+ "integrity": "sha512-xWIufxBoINJv6JiLb7jl5oElgp+6puJwvT5zZHliUSydoLz4DADRB3NDDsYgfKVwojn4TDLiseoC65MuS8oGGg==",+ "dev": true,+ "dependencies": {+ "postcss": "^7.0.14"+ }+ },+ "node_modules/postcss-svgo": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.2.tgz",+ "integrity": "sha512-C6wyjo3VwFm0QgBy+Fu7gCYOkCmgmClghO+pjcxvrcBKtiKt0uCF+hvbMO1fyv5BMImRK90SMb+dwUnfbGd+jw==",+ "dev": true,+ "dependencies": {+ "is-svg": "^3.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0",+ "svgo": "^1.0.0"+ },+ "engines": {+ "node": ">=6.9.0"}},- "fstream": {- "version": "1.0.12",- "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",- "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",+ "node_modules/postcss-svgo/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "graceful-fs": "^4.1.2",- "inherits": "~2.0.0",- "mkdirp": ">=0.5 0",- "rimraf": "2"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "function-bind": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",- "dev": true+ "node_modules/postcss-svgo/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }},- "gauge": {- "version": "2.7.4",- "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",- "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",+ "node_modules/postcss-svgo/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "aproba": "^1.0.3",- "console-control-strings": "^1.0.0",- "has-unicode": "^2.0.0",- "object-assign": "^4.1.0",- "signal-exit": "^3.0.0",- "string-width": "^1.0.1",- "strip-ansi": "^3.0.1",- "wide-align": "^1.1.0"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-svgo/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"}},- "gaze": {+ "node_modules/postcss-svgo/node_modules/color-name": {"version": "1.1.3",- "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz",- "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "node_modules/postcss-svgo/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "globule": "^1.0.0"+ "engines": {+ "node": ">=4"}},- "get-caller-file": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",- "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==",+ "node_modules/postcss-svgo/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-svgo/node_modules/postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},- "get-stdin": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz",- "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==",+ "node_modules/postcss-svgo/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/postcss-unique-selectors": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz",+ "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==",+ "dev": true,+ "dependencies": {+ "alphanum-sort": "^1.0.0",+ "postcss": "^7.0.0",+ "uniqs": "^2.0.0"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/postcss-unique-selectors/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-unique-selectors/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-unique-selectors/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-unique-selectors/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-unique-selectors/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "get-stream": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",- "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",+ "node_modules/postcss-unique-selectors/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "pump": "^3.0.0"+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-unique-selectors/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"},+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-unique-selectors/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,"dependencies": {- "pump": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",- "dev": true,- "requires": {- "end-of-stream": "^1.1.0",- "once": "^1.3.1"- }- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "get-value": {- "version": "2.0.6",- "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",- "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=",+ "node_modules/postcss-url": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/postcss-url/-/postcss-url-8.0.0.tgz",+ "integrity": "sha512-E2cbOQ5aii2zNHh8F6fk1cxls7QVFZjLPSrqvmiza8OuXLzIpErij8BDS5Y3STPfJgpIMNCPEr8JlKQWEoozUw==",+ "dev": true,+ "dependencies": {+ "mime": "^2.3.1",+ "minimatch": "^3.0.4",+ "mkdirp": "^0.5.0",+ "postcss": "^7.0.2",+ "xxhashjs": "^0.2.1"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-url/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-url/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-url/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-url/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "dependencies": {+ "color-name": "1.1.3"+ }+ },+ "node_modules/postcss-url/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "getpass": {- "version": "0.1.7",- "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",- "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",+ "node_modules/postcss-url/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "assert-plus": "^1.0.0"+ "engines": {+ "node": ">=4"}},- "gh-got": {- "version": "6.0.0",- "resolved": "https://registry.npmjs.org/gh-got/-/gh-got-6.0.0.tgz",- "integrity": "sha512-F/mS+fsWQMo1zfgG9MD8KWvTWPPzzhuVwY++fhQ5Ggd+0P+CAMHtzMZhNxG+TqGfHDChJKsbh6otfMGqO2AKBw==",+ "node_modules/postcss-url/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "got": "^7.0.0",- "is-plain-obj": "^1.1.0"+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"},+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/postcss-url/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,"dependencies": {- "get-stream": {- "version": "3.0.0",- "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",- "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=",- "dev": true- },- "got": {- "version": "7.1.0",- "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz",- "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==",- "dev": true,- "requires": {- "decompress-response": "^3.2.0",- "duplexer3": "^0.1.4",- "get-stream": "^3.0.0",- "is-plain-obj": "^1.1.0",- "is-retry-allowed": "^1.0.0",- "is-stream": "^1.0.0",- "isurl": "^1.0.0-alpha5",- "lowercase-keys": "^1.0.0",- "p-cancelable": "^0.3.0",- "p-timeout": "^1.1.1",- "safe-buffer": "^5.0.1",- "timed-out": "^4.0.0",- "url-parse-lax": "^1.0.0",- "url-to-options": "^1.0.1"- }- },- "p-cancelable": {- "version": "0.3.0",- "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz",- "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==",- "dev": true- },- "p-timeout": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz",- "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=",- "dev": true,- "requires": {- "p-finally": "^1.0.0"- }- },- "prepend-http": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",- "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=",- "dev": true- },- "url-parse-lax": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz",- "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=",- "dev": true,- "requires": {- "prepend-http": "^1.0.1"- }- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "github-username": {+ "node_modules/postcss-value-parser": {"version": "4.1.0",- "resolved": "https://registry.npmjs.org/github-username/-/github-username-4.1.0.tgz",- "integrity": "sha1-y+KABBiDIG2kISrp5LXxacML9Bc=",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz",+ "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==",+ "dev": true+ },+ "node_modules/postcss/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "gh-got": "^6.0.0"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "glob": {- "version": "7.1.3",- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",- "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",- "dev": true,- "requires": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^3.0.4",- "once": "^1.3.0",- "path-is-absolute": "^1.0.0"+ "node_modules/postcss/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "glob-parent": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",- "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",+ "node_modules/postcss/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "is-glob": "^3.1.0",- "path-dirname": "^1.0.0"+ "dependencies": {+ "has-flag": "^3.0.0"},+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,"dependencies": {- "is-glob": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",- "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",- "dev": true,- "requires": {- "is-extglob": "^2.1.0"- }- }+ "color-name": "1.1.3"}},- "glob-to-regexp": {- "version": "0.3.0",- "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz",- "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=",+ "node_modules/postcss/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "global-modules": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz",- "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==",+ "node_modules/postcss/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "global-prefix": "^1.0.1",- "is-windows": "^1.0.1",- "resolve-dir": "^1.0.0"+ "engines": {+ "node": ">=4"}},- "global-prefix": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz",- "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=",+ "node_modules/postcss/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,- "requires": {- "expand-tilde": "^2.0.2",- "homedir-polyfill": "^1.0.1",- "ini": "^1.3.4",- "is-windows": "^1.0.1",- "which": "^1.2.14"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "globals": {- "version": "11.12.0",- "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",+ "node_modules/preact": {+ "version": "10.5.5",+ "resolved": "https://registry.npmjs.org/preact/-/preact-10.5.5.tgz",+ "integrity": "sha512-5ONLNH1SXMzzbQoExZX4TELemNt+TEDb622xXFNfZngjjM9qtrzseJt+EfiUu4TZ6EJ95X5sE1ES4yqHFSIdhg==","dev": true},- "globby": {- "version": "7.1.1",- "resolved": "https://registry.npmjs.org/globby/-/globby-7.1.1.tgz",- "integrity": "sha1-+yzP+UAfhgCUXfral0QMypcrhoA=",+ "node_modules/preact-render-to-string": {+ "version": "5.1.11",+ "resolved": "https://registry.npmjs.org/preact-render-to-string/-/preact-render-to-string-5.1.11.tgz",+ "integrity": "sha512-8DXkx8WzeUexYyh9ZjlBSsqcJVOndidw10t1MK1gLx6at4QxQE3RfqaObPgy5WOnw2piyh9kanNB7w7+dmaq4g==","dev": true,- "requires": {- "array-union": "^1.0.1",- "dir-glob": "^2.0.0",- "glob": "^7.1.2",- "ignore": "^3.3.5",- "pify": "^3.0.0",- "slash": "^1.0.0"+ "dependencies": {+ "pretty-format": "^3.8.0"}},- "globule": {- "version": "1.3.1",- "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.1.tgz",- "integrity": "sha512-OVyWOHgw29yosRHCHo7NncwR1hW5ew0W/UrvtwvjefVJeQ26q4/8r8FmPsSF1hJ93IgWkyv16pCTz6WblMzm/g==",+ "node_modules/prettier": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz",+ "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==","dev": true,- "requires": {- "glob": "~7.1.1",- "lodash": "~4.17.12",- "minimatch": "~3.0.2"+ "bin": {+ "prettier": "bin-prettier.js"},- "dependencies": {- "lodash": {- "version": "4.17.15",- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",- "dev": true- }+ "engines": {+ "node": ">=10.13.0"}},- "got": {- "version": "8.3.2",- "resolved": "https://registry.npmjs.org/got/-/got-8.3.2.tgz",- "integrity": "sha512-qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw==",+ "node_modules/pretty-bytes": {+ "version": "5.4.1",+ "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.4.1.tgz",+ "integrity": "sha512-s1Iam6Gwz3JI5Hweaz4GoCD1WUNUIyzePFy5+Js2hjwGVt2Z79wNN+ZKOZ2vB6C+Xs6njyB84Z1IthQg8d9LxA==","dev": true,- "requires": {- "@sindresorhus/is": "^0.7.0",- "cacheable-request": "^2.1.1",- "decompress-response": "^3.3.0",- "duplexer3": "^0.1.4",- "get-stream": "^3.0.0",- "into-stream": "^3.1.0",- "is-retry-allowed": "^1.1.0",- "isurl": "^1.0.0-alpha5",- "lowercase-keys": "^1.0.0",- "mimic-response": "^1.0.0",- "p-cancelable": "^0.4.0",- "p-timeout": "^2.0.1",- "pify": "^3.0.0",- "safe-buffer": "^5.1.1",- "timed-out": "^4.0.1",- "url-parse-lax": "^3.0.0",- "url-to-options": "^1.0.1"- },- "dependencies": {- "get-stream": {- "version": "3.0.0",- "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",- "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=",- "dev": true- }+ "engines": {+ "node": ">=6"}},- "graceful-fs": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",- "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",+ "node_modules/pretty-format": {+ "version": "3.8.0",+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-3.8.0.tgz",+ "integrity": "sha1-v77VbV6ad2ZF9LH/eqGjrE+jw4U=",+ "dev": true+ },+ "node_modules/pseudomap": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",+ "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=","dev": true},- "grouped-queue": {- "version": "0.3.3",- "resolved": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.3.3.tgz",- "integrity": "sha1-wWfSpTGcWg4JZO9qJbfC34mWyFw=",+ "node_modules/pump": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==","dev": true,- "requires": {- "lodash": "^4.17.2"+ "dependencies": {+ "end-of-stream": "^1.1.0",+ "once": "^1.3.1"}},- "growly": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz",- "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=",- "dev": true+ "node_modules/punycode": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",+ "dev": true,+ "engines": {+ "node": ">=6"+ }},- "gzip-size": {- "version": "5.1.1",- "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz",- "integrity": "sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA==",+ "node_modules/q": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",+ "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=",+ "dev": true,+ "engines": {+ "node": ">=0.6.0",+ "teleport": ">=0.2.0"+ }+ },+ "node_modules/randombytes": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==","dev": true,- "requires": {- "duplexer": "^0.1.1",- "pify": "^4.0.1"- },"dependencies": {- "pify": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",- "dev": true- }+ "safe-buffer": "^5.1.0"}},- "handle-thing": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz",- "integrity": "sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ==",- "dev": true+ "node_modules/range-parser": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",+ "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",+ "dev": true,+ "engines": {+ "node": ">= 0.6"+ }},- "handlebars": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.tgz",- "integrity": "sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw==",+ "node_modules/rc": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==","dev": true,- "requires": {- "neo-async": "^2.6.0",- "optimist": "^0.6.1",- "source-map": "^0.6.1",- "uglify-js": "^3.1.4"- },"dependencies": {- "neo-async": {- "version": "2.6.1",- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",- "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==",- "dev": true- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- }+ "deep-extend": "^0.6.0",+ "ini": "~1.3.0",+ "minimist": "^1.2.0",+ "strip-json-comments": "~2.0.1"+ },+ "bin": {+ "rc": "cli.js"}},- "har-schema": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",- "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=",- "dev": true+ "node_modules/registry-auth-token": {+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz",+ "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==",+ "dev": true,+ "dependencies": {+ "rc": "^1.1.6",+ "safe-buffer": "^5.0.1"+ }},- "har-validator": {- "version": "5.0.3",- "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz",- "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=",+ "node_modules/registry-url": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz",+ "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=","dev": true,- "requires": {- "ajv": "^5.1.0",- "har-schema": "^2.0.0"+ "dependencies": {+ "rc": "^1.0.1"},+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/resolve": {+ "version": "1.17.0",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",+ "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",+ "dev": true,"dependencies": {- "ajv": {- "version": "5.5.2",- "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",- "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=",- "dev": true,- "requires": {- "co": "^4.6.0",- "fast-deep-equal": "^1.0.0",- "fast-json-stable-stringify": "^2.0.0",- "json-schema-traverse": "^0.3.0"- }- },- "fast-deep-equal": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",- "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",- "dev": true- },- "json-schema-traverse": {- "version": "0.3.1",- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",- "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",- "dev": true- }+ "path-parse": "^1.0.6"}},- "has": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",+ "node_modules/resolve-from": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==","dev": true,- "requires": {- "function-bind": "^1.1.1"+ "engines": {+ "node": ">=4"}},- "has-ansi": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",- "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",+ "node_modules/restore-cursor": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==","dev": true,- "requires": {- "ansi-regex": "^2.0.0"+ "dependencies": {+ "onetime": "^5.1.0",+ "signal-exit": "^3.0.2"+ },+ "engines": {+ "node": ">=8"}},- "has-flag": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",- "dev": true+ "node_modules/reusify": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",+ "dev": true,+ "engines": {+ "iojs": ">=1.0.0",+ "node": ">=0.10.0"+ }},- "has-symbol-support-x": {- "version": "1.4.2",- "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz",- "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==",+ "node_modules/rgb-regex": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz",+ "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=","dev": true},- "has-symbols": {+ "node_modules/rgba-regex": {"version": "1.0.0",- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz",- "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=",+ "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz",+ "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=","dev": true},- "has-to-string-tag-x": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz",- "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==",+ "node_modules/rimraf": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==","dev": true,- "requires": {- "has-symbol-support-x": "^1.4.1"+ "dependencies": {+ "glob": "^7.1.3"+ },+ "bin": {+ "rimraf": "bin.js"}},- "has-unicode": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",- "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",- "dev": true- },- "has-value": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",- "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=",+ "node_modules/rollup": {+ "version": "2.33.1",+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.33.1.tgz",+ "integrity": "sha512-uY4O/IoL9oNW8MMcbA5hcOaz6tZTMIh7qJHx/tzIJm+n1wLoY38BLn6fuy7DhR57oNFLMbDQtDeJoFURt5933w==","dev": true,- "requires": {- "get-value": "^2.0.6",- "has-values": "^1.0.0",- "isobject": "^3.0.0"+ "dependencies": {+ "fsevents": "~2.1.2"+ },+ "bin": {+ "rollup": "dist/bin/rollup"+ },+ "engines": {+ "node": ">=10.0.0"+ },+ "optionalDependencies": {+ "fsevents": "~2.1.2"}},- "has-values": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",- "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=",+ "node_modules/rollup-plugin-terser": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz",+ "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==","dev": true,- "requires": {- "is-number": "^3.0.0",- "kind-of": "^4.0.0"- },"dependencies": {- "kind-of": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",- "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=",- "dev": true,- "requires": {- "is-buffer": "^1.1.5"- }- }+ "@babel/code-frame": "^7.10.4",+ "jest-worker": "^26.2.1",+ "serialize-javascript": "^4.0.0",+ "terser": "^5.0.0"}},- "hash-base": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",- "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=",- "dev": true,- "requires": {- "inherits": "^2.0.1",- "safe-buffer": "^5.0.1"- }+ "node_modules/run-parallel": {+ "version": "1.1.9",+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz",+ "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==",+ "dev": true},- "hash.js": {- "version": "1.1.7",- "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",- "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",+ "node_modules/rxjs": {+ "version": "6.6.3",+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz",+ "integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==","dev": true,- "requires": {- "inherits": "^2.0.3",- "minimalistic-assert": "^1.0.1"+ "dependencies": {+ "tslib": "^1.9.0"+ },+ "engines": {+ "npm": ">=2.0.0"}},- "he": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",- "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=",+ "node_modules/safe-buffer": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==","dev": true},- "hex-color-regex": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",- "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==",+ "node_modules/sax": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",+ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==","dev": true},- "hmac-drbg": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",- "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=",+ "node_modules/semver-compare": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",+ "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=",+ "dev": true+ },+ "node_modules/semver-regex": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz",+ "integrity": "sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==","dev": true,- "requires": {- "hash.js": "^1.0.3",- "minimalistic-assert": "^1.0.0",- "minimalistic-crypto-utils": "^1.0.1"+ "engines": {+ "node": ">=6"}},- "homedir-polyfill": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz",- "integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=",+ "node_modules/serialize-javascript": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz",+ "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==","dev": true,- "requires": {- "parse-passwd": "^1.0.0"+ "dependencies": {+ "randombytes": "^2.1.0"}},- "hoopy": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz",- "integrity": "sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ==",- "dev": true+ "node_modules/serve": {+ "version": "11.3.2",+ "resolved": "https://registry.npmjs.org/serve/-/serve-11.3.2.tgz",+ "integrity": "sha512-yKWQfI3xbj/f7X1lTBg91fXBP0FqjJ4TEi+ilES5yzH0iKJpN5LjNb1YzIfQg9Rqn4ECUS2SOf2+Kmepogoa5w==",+ "dev": true,+ "dependencies": {+ "@zeit/schemas": "2.6.0",+ "ajv": "6.5.3",+ "arg": "2.0.0",+ "boxen": "1.3.0",+ "chalk": "2.4.1",+ "clipboardy": "1.2.3",+ "compression": "1.7.3",+ "serve-handler": "6.1.3",+ "update-check": "1.5.2"+ },+ "bin": {+ "serve": "bin/serve.js"+ }},- "hosted-git-info": {- "version": "2.7.1",- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",- "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==",- "dev": true+ "node_modules/serve-handler": {+ "version": "6.1.3",+ "resolved": "https://registry.npmjs.org/serve-handler/-/serve-handler-6.1.3.tgz",+ "integrity": "sha512-FosMqFBNrLyeiIDvP1zgO6YoTzFYHxLDEIavhlmQ+knB2Z7l1t+kGLHkZIDN7UVWqQAmKI3D20A6F6jo3nDd4w==",+ "dev": true,+ "dependencies": {+ "bytes": "3.0.0",+ "content-disposition": "0.5.2",+ "fast-url-parser": "1.1.3",+ "mime-types": "2.1.18",+ "minimatch": "3.0.4",+ "path-is-inside": "1.0.2",+ "path-to-regexp": "2.2.1",+ "range-parser": "1.2.0"+ }},- "hpack.js": {- "version": "2.1.6",- "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",- "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=",+ "node_modules/serve-handler/node_modules/mime-db": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz",+ "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==","dev": true,- "requires": {- "inherits": "^2.0.1",- "obuf": "^1.0.0",- "readable-stream": "^2.0.1",- "wbuf": "^1.1.0"+ "engines": {+ "node": ">= 0.6"}},- "hsl-regex": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz",- "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=",- "dev": true+ "node_modules/serve-handler/node_modules/mime-types": {+ "version": "2.1.18",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz",+ "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==",+ "dev": true,+ "dependencies": {+ "mime-db": "~1.33.0"+ },+ "engines": {+ "node": ">= 0.6"+ }},- "hsla-regex": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz",- "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=",- "dev": true+ "node_modules/serve/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }},- "html-comment-regex": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.2.tgz",- "integrity": "sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==",- "dev": true+ "node_modules/serve/node_modules/chalk": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",+ "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }},- "html-encoding-sniffer": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz",- "integrity": "sha512-71lZziiDnsuabfdYiUeWdCVyKuqwWi23L8YeIgV9jSSZHCtb6wB1BKWooH7L3tn4/FuZJMVWyNaIDr4RGmaSYw==",+ "node_modules/serve/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "whatwg-encoding": "^1.0.1"+ "dependencies": {+ "color-name": "1.1.3"}},- "html-entities": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz",- "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=",+ "node_modules/serve/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "html-minifier": {- "version": "3.5.20",- "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.20.tgz",- "integrity": "sha512-ZmgNLaTp54+HFKkONyLFEfs5dd/ZOtlquKaTnqIWFmx3Av5zG6ZPcV2d0o9XM2fXOTxxIf6eDcwzFFotke/5zA==",+ "node_modules/serve/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "camel-case": "3.0.x",- "clean-css": "4.2.x",- "commander": "2.17.x",- "he": "1.1.x",- "param-case": "2.1.x",- "relateurl": "0.2.x",- "uglify-js": "3.4.x"+ "engines": {+ "node": ">=4"}},- "html-webpack-plugin": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-3.2.0.tgz",- "integrity": "sha1-sBq71yOsqqeze2r0SS69oD2d03s=",+ "node_modules/serve/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "html-minifier": "^3.2.3",- "loader-utils": "^0.2.16",- "lodash": "^4.17.3",- "pretty-error": "^2.0.2",- "tapable": "^1.0.0",- "toposort": "^1.0.0",- "util.promisify": "1.0.0"- },- "dependencies": {- "loader-utils": {- "version": "0.2.17",- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz",- "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=",- "dev": true,- "requires": {- "big.js": "^3.1.3",- "emojis-list": "^2.0.0",- "json5": "^0.5.0",- "object-assign": "^4.0.1"- }- }+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "htmlparser2": {- "version": "3.3.0",- "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.3.0.tgz",- "integrity": "sha1-zHDQWln2VC5D8OaFyYLhTJJKnv4=",+ "node_modules/shebang-command": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==","dev": true,- "requires": {- "domelementtype": "1",- "domhandler": "2.1",- "domutils": "1.1",- "readable-stream": "1.0"- },"dependencies": {- "domutils": {- "version": "1.1.6",- "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.1.6.tgz",- "integrity": "sha1-vdw94Jm5ou+sxRxiPyj0FuzFdIU=",- "dev": true,- "requires": {- "domelementtype": "1"- }- },- "isarray": {- "version": "0.0.1",- "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",- "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",- "dev": true- },- "readable-stream": {- "version": "1.0.34",- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",- "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",- "dev": true,- "requires": {- "core-util-is": "~1.0.0",- "inherits": "~2.0.1",- "isarray": "0.0.1",- "string_decoder": "~0.10.x"- }- },- "string_decoder": {- "version": "0.10.31",- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",- "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",- "dev": true- }+ "shebang-regex": "^3.0.0"+ },+ "engines": {+ "node": ">=8"}},- "http-cache-semantics": {- "version": "3.8.1",- "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz",- "integrity": "sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==",- "dev": true- },- "http-deceiver": {- "version": "1.2.7",- "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz",- "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=",- "dev": true- },- "http-errors": {- "version": "1.6.3",- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",- "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=",+ "node_modules/shebang-regex": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==","dev": true,- "requires": {- "depd": "~1.1.2",- "inherits": "2.0.3",- "setprototypeof": "1.1.0",- "statuses": ">= 1.4.0 < 2"+ "engines": {+ "node": ">=8"}},- "http-parser-js": {- "version": "0.4.10",- "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.10.tgz",- "integrity": "sha1-ksnBN0w1CF912zWexWzCV8u5P6Q=",+ "node_modules/signal-exit": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",+ "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==","dev": true},- "http-proxy": {- "version": "1.17.0",- "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz",- "integrity": "sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==",+ "node_modules/simple-swizzle": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",+ "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=","dev": true,- "requires": {- "eventemitter3": "^3.0.0",- "follow-redirects": "^1.0.0",- "requires-port": "^1.0.0"+ "dependencies": {+ "is-arrayish": "^0.3.1"}},- "http-proxy-middleware": {- "version": "0.19.1",- "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz",- "integrity": "sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q==",- "dev": true,- "requires": {- "http-proxy": "^1.17.0",- "is-glob": "^4.0.0",- "lodash": "^4.17.11",- "micromatch": "^3.1.10"- }+ "node_modules/simple-swizzle/node_modules/is-arrayish": {+ "version": "0.3.2",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",+ "dev": true},- "http-signature": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",- "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",+ "node_modules/slash": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==","dev": true,- "requires": {- "assert-plus": "^1.0.0",- "jsprim": "^1.2.2",- "sshpk": "^1.7.0"+ "engines": {+ "node": ">=8"}},- "https-browserify": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz",- "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=",- "dev": true- },- "husky": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/husky/-/husky-3.0.4.tgz",- "integrity": "sha512-7Rnt8aJfy+MlV28snmYK7O7vWwtOfeVxV6KhLpUFXlmx5ukQ1nQmNUB7QsAwSgdySB5X+bm7q7JIRgazqBUzKA==",+ "node_modules/slice-ansi": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz",+ "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==","dev": true,- "requires": {- "chalk": "^2.4.2",- "cosmiconfig": "^5.2.1",- "execa": "^1.0.0",- "get-stdin": "^7.0.0",- "is-ci": "^2.0.0",- "opencollective-postinstall": "^2.0.2",- "pkg-dir": "^4.2.0",- "please-upgrade-node": "^3.2.0",- "read-pkg": "^5.1.1",- "run-node": "^1.0.0",- "slash": "^3.0.0"- },"dependencies": {- "slash": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",- "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",- "dev": true- }+ "ansi-styles": "^4.0.0",+ "astral-regex": "^2.0.0",+ "is-fullwidth-code-point": "^3.0.0"+ },+ "engines": {+ "node": ">=8"}},- "iconv-lite": {- "version": "0.4.24",- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",+ "node_modules/source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==","dev": true,- "requires": {- "safer-buffer": ">= 2.1.2 < 3"+ "engines": {+ "node": ">=0.10.0"}},- "icss-replace-symbols": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz",- "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=",- "dev": true- },- "icss-utils": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-2.1.0.tgz",- "integrity": "sha1-g/Cg7DeL8yRheLbCrZE28TWxyWI=",+ "node_modules/source-map-support": {+ "version": "0.5.19",+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz",+ "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==","dev": true,- "requires": {- "postcss": "^6.0.1"+ "dependencies": {+ "buffer-from": "^1.0.0",+ "source-map": "^0.6.0"}},- "idb-keyval": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-3.2.0.tgz",- "integrity": "sha512-slx8Q6oywCCSfKgPgL0sEsXtPVnSbTLWpyiDcu6msHOyKOLari1TD1qocXVCft80umnkk3/Qqh3lwoFt8T/BPQ==",+ "node_modules/sourcemap-codec": {+ "version": "1.4.8",+ "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",+ "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==","dev": true},- "ieee754": {- "version": "1.1.13",- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",- "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==",+ "node_modules/sprintf-js": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",+ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=","dev": true},- "iferr": {- "version": "0.1.5",- "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz",- "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=",+ "node_modules/stable": {+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",+ "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==","dev": true},- "ignore": {- "version": "3.3.10",- "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz",- "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==",+ "node_modules/string-argv": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz",+ "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==",+ "dev": true,+ "engines": {+ "node": ">=0.6.19"+ }+ },+ "node_modules/string-hash": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/string-hash/-/string-hash-1.1.3.tgz",+ "integrity": "sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs=","dev": true},- "import-fresh": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz",- "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=",+ "node_modules/string-width": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",+ "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==","dev": true,- "requires": {- "caller-path": "^2.0.0",- "resolve-from": "^3.0.0"+ "dependencies": {+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.0"+ },+ "engines": {+ "node": ">=8"}},- "import-local": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz",- "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==",+ "node_modules/string.prototype.trimend": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",+ "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==","dev": true,- "requires": {- "pkg-dir": "^3.0.0",- "resolve-cwd": "^2.0.0"- },"dependencies": {- "find-up": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",- "dev": true,- "requires": {- "locate-path": "^3.0.0"- }- },- "locate-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",- "dev": true,- "requires": {- "p-locate": "^3.0.0",- "path-exists": "^3.0.0"- }- },- "p-limit": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz",- "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }- },- "p-locate": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",- "dev": true,- "requires": {- "p-limit": "^2.0.0"- }- },- "p-try": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz",- "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==",- "dev": true- },- "pkg-dir": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",- "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",- "dev": true,- "requires": {- "find-up": "^3.0.0"- }- }+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.5"}},- "imurmurhash": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",- "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",- "dev": true- },- "in-publish": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz",- "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==",- "dev": true- },- "indent-string": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",- "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=",+ "node_modules/string.prototype.trimstart": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",+ "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==","dev": true,- "requires": {- "repeating": "^2.0.0"+ "dependencies": {+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.5"}},- "indexes-of": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz",- "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=",- "dev": true+ "node_modules/stringify-object": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz",+ "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==",+ "dev": true,+ "dependencies": {+ "get-own-enumerable-property-symbols": "^3.0.0",+ "is-obj": "^1.0.1",+ "is-regexp": "^1.0.0"+ },+ "engines": {+ "node": ">=4"+ }},- "infer-owner": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz",- "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==",- "dev": true+ "node_modules/strip-ansi": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",+ "dev": true,+ "dependencies": {+ "ansi-regex": "^5.0.0"+ },+ "engines": {+ "node": ">=8"+ }},- "inflight": {- "version": "1.0.6",- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",- "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",+ "node_modules/strip-eof": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",+ "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=","dev": true,- "requires": {- "once": "^1.3.0",- "wrappy": "1"+ "engines": {+ "node": ">=0.10.0"}},- "inherits": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",- "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",- "dev": true+ "node_modules/strip-final-newline": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",+ "dev": true,+ "engines": {+ "node": ">=6"+ }},- "ini": {- "version": "1.3.5",- "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",- "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",- "dev": true+ "node_modules/strip-json-comments": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",+ "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }},- "inquirer": {- "version": "6.3.1",- "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.3.1.tgz",- "integrity": "sha512-MmL624rfkFt4TG9y/Jvmt8vdmOo836U7Y0Hxr2aFk3RelZEGX4Igk0KabWrcaaZaTv9uzglOqWh1Vly+FAWAXA==",+ "node_modules/stylehacks": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz",+ "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==","dev": true,- "requires": {- "ansi-escapes": "^3.2.0",- "chalk": "^2.4.2",- "cli-cursor": "^2.1.0",- "cli-width": "^2.0.0",- "external-editor": "^3.0.3",- "figures": "^2.0.0",- "lodash": "^4.17.11",- "mute-stream": "0.0.7",- "run-async": "^2.2.0",- "rxjs": "^6.4.0",- "string-width": "^2.1.0",- "strip-ansi": "^5.1.0",- "through": "^2.3.6"- },"dependencies": {- "ansi-regex": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",- "dev": true- },- "is-fullwidth-code-point": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",- "dev": true- },- "string-width": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",- "dev": true,- "requires": {- "is-fullwidth-code-point": "^2.0.0",- "strip-ansi": "^4.0.0"- },- "dependencies": {- "strip-ansi": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",- "dev": true,- "requires": {- "ansi-regex": "^3.0.0"- }- }- }- },- "strip-ansi": {- "version": "5.2.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",- "dev": true,- "requires": {- "ansi-regex": "^4.1.0"- },- "dependencies": {- "ansi-regex": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",- "dev": true- }- }- }+ "browserslist": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-selector-parser": "^3.0.0"+ },+ "engines": {+ "node": ">=6.9.0"}},- "internal-ip": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-4.3.0.tgz",- "integrity": "sha512-S1zBo1D6zcsyuC6PMmY5+55YMILQ9av8lotMx447Bq6SAgo/sDK6y6uUKmuYhW7eacnIhFfsPmCNYdDzsnnDCg==",+ "node_modules/stylehacks/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,- "requires": {- "default-gateway": "^4.2.0",- "ipaddr.js": "^1.9.0"+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"}},- "interpret": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz",- "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=",- "dev": true- },- "into-stream": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",- "integrity": "sha1-lvsKk2wSur1v8XUqF9BWFqvQlMY=",+ "node_modules/stylehacks/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,- "requires": {- "from2": "^2.1.1",- "p-is-promise": "^1.1.0"+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"}},- "invariant": {- "version": "2.2.4",- "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",- "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",+ "node_modules/stylehacks/node_modules/chalk/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "loose-envify": "^1.0.0"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "inversify": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/inversify/-/inversify-5.0.1.tgz",- "integrity": "sha512-Ieh06s48WnEYGcqHepdsJUIJUXpwH5o5vodAX+DK2JA/gjy4EbEcQZxw+uFfzysmKjiLXGYwNG3qDZsKVMcINQ==",- "dev": true- },- "invert-kv": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",- "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=",- "dev": true- },- "ip": {- "version": "1.1.5",- "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",- "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=",- "dev": true- },- "ip-regex": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz",- "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=",- "dev": true- },- "ipaddr.js": {- "version": "1.9.0",- "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.0.tgz",- "integrity": "sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==",- "dev": true- },- "is-absolute-url": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz",- "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=",- "dev": true- },- "is-accessor-descriptor": {- "version": "0.1.6",- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",- "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",+ "node_modules/stylehacks/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "kind-of": "^3.0.2"- },"dependencies": {- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,- "requires": {- "is-buffer": "^1.1.5"- }- }+ "color-name": "1.1.3"}},- "is-arrayish": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",- "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",+ "node_modules/stylehacks/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "is-binary-path": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",+ "node_modules/stylehacks/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "binary-extensions": "^2.0.0"+ "engines": {+ "node": ">=4"}},- "is-buffer": {- "version": "1.1.6",- "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",- "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",- "dev": true- },- "is-builtin-module": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz",- "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=",+ "node_modules/stylehacks/node_modules/postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,- "requires": {- "builtin-modules": "^1.0.0"+ "dependencies": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ },+ "engines": {+ "node": ">=6.0.0"}},- "is-callable": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz",- "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==",- "dev": true- },- "is-ci": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz",- "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==",+ "node_modules/stylehacks/node_modules/postcss-selector-parser": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",+ "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==","dev": true,- "requires": {- "ci-info": "^2.0.0"+ "dependencies": {+ "dot-prop": "^5.2.0",+ "indexes-of": "^1.0.1",+ "uniq": "^1.0.1"+ },+ "engines": {+ "node": ">=8"}},- "is-color-stop": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz",- "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=",+ "node_modules/stylehacks/node_modules/supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,- "requires": {- "css-color-names": "^0.0.4",- "hex-color-regex": "^1.1.0",- "hsl-regex": "^1.0.0",- "hsla-regex": "^1.0.0",- "rgb-regex": "^1.0.1",- "rgba-regex": "^1.0.0"+ "dependencies": {+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=6"}},- "is-data-descriptor": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",- "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",+ "node_modules/supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==","dev": true,- "requires": {- "kind-of": "^3.0.2"- },"dependencies": {- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,- "requires": {- "is-buffer": "^1.1.5"- }- }+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=8"}},- "is-date-object": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz",- "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=",- "dev": true- },- "is-descriptor": {- "version": "0.1.6",- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",- "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",+ "node_modules/svgo": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz",+ "integrity": "sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==","dev": true,- "requires": {- "is-accessor-descriptor": "^0.1.6",- "is-data-descriptor": "^0.1.4",- "kind-of": "^5.0.0"- },"dependencies": {- "kind-of": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",- "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",- "dev": true- }+ "chalk": "^2.4.1",+ "coa": "^2.0.2",+ "css-select": "^2.0.0",+ "css-select-base-adapter": "^0.1.1",+ "css-tree": "1.0.0-alpha.37",+ "csso": "^4.0.2",+ "js-yaml": "^3.13.1",+ "mkdirp": "~0.5.1",+ "object.values": "^1.1.0",+ "sax": "~1.2.4",+ "stable": "^0.1.8",+ "unquote": "~1.1.1",+ "util.promisify": "~1.0.0"+ },+ "bin": {+ "svgo": "bin/svgo"+ },+ "engines": {+ "node": ">=4.0.0"}},- "is-directory": {- "version": "0.3.1",- "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz",- "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=",- "dev": true- },- "is-extendable": {- "version": "0.1.1",- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",- "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",- "dev": true- },- "is-extglob": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",- "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",- "dev": true+ "node_modules/svgo/node_modules/ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "dependencies": {+ "color-convert": "^1.9.0"+ },+ "engines": {+ "node": ">=4"+ }},- "is-finite": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz",- "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==",- "dev": true+ "node_modules/svgo/node_modules/chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "engines": {+ "node": ">=4"+ }},- "is-fullwidth-code-point": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",+ "node_modules/svgo/node_modules/color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,- "requires": {- "number-is-nan": "^1.0.0"+ "dependencies": {+ "color-name": "1.1.3"}},- "is-generator-fn": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",- "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",+ "node_modules/svgo/node_modules/color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "is-glob": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz",- "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=",+ "node_modules/svgo/node_modules/has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true,- "requires": {- "is-extglob": "^2.1.1"+ "engines": {+ "node": ">=4"}},- "is-number": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",- "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",+ "node_modules/svgo/node_modules/supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,- "requires": {- "kind-of": "^3.0.2"- },"dependencies": {- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,- "requires": {- "is-buffer": "^1.1.5"- }- }+ "has-flag": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "is-obj": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",- "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",- "dev": true- },- "is-object": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz",- "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA=",- "dev": true+ "node_modules/term-size": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz",+ "integrity": "sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk=",+ "dev": true,+ "dependencies": {+ "execa": "^0.7.0"+ },+ "engines": {+ "node": ">=4"+ }},- "is-path-cwd": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz",- "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==",- "dev": true+ "node_modules/term-size/node_modules/cross-spawn": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",+ "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=",+ "dev": true,+ "dependencies": {+ "lru-cache": "^4.0.1",+ "shebang-command": "^1.2.0",+ "which": "^1.2.9"+ }},- "is-path-in-cwd": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz",- "integrity": "sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ==",+ "node_modules/term-size/node_modules/execa": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz",+ "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=","dev": true,- "requires": {- "is-path-inside": "^2.1.0"+ "dependencies": {+ "cross-spawn": "^5.0.1",+ "get-stream": "^3.0.0",+ "is-stream": "^1.1.0",+ "npm-run-path": "^2.0.0",+ "p-finally": "^1.0.0",+ "signal-exit": "^3.0.0",+ "strip-eof": "^1.0.0"+ },+ "engines": {+ "node": ">=4"}},- "is-path-inside": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-2.1.0.tgz",- "integrity": "sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg==",+ "node_modules/term-size/node_modules/get-stream": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",+ "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=","dev": true,- "requires": {- "path-is-inside": "^1.0.2"+ "engines": {+ "node": ">=4"}},- "is-plain-obj": {+ "node_modules/term-size/node_modules/is-stream": {"version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",- "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=",- "dev": true+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",+ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",+ "dev": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/term-size/node_modules/npm-run-path": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",+ "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",+ "dev": true,+ "dependencies": {+ "path-key": "^2.0.0"+ },+ "engines": {+ "node": ">=4"+ }},- "is-plain-object": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",- "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",+ "node_modules/term-size/node_modules/path-key": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",+ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=","dev": true,- "requires": {- "isobject": "^3.0.1"+ "engines": {+ "node": ">=4"}},- "is-promise": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",- "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=",- "dev": true- },- "is-regex": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz",- "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=",+ "node_modules/term-size/node_modules/shebang-command": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",+ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=","dev": true,- "requires": {- "has": "^1.0.1"+ "dependencies": {+ "shebang-regex": "^1.0.0"+ },+ "engines": {+ "node": ">=0.10.0"}},- "is-resolvable": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz",- "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==",- "dev": true- },- "is-retry-allowed": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz",- "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=",- "dev": true- },- "is-scoped": {+ "node_modules/term-size/node_modules/shebang-regex": {"version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-scoped/-/is-scoped-1.0.0.tgz",- "integrity": "sha1-RJypgpnnEwOCViieyytUDcQ3yzA=",+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",+ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=","dev": true,- "requires": {- "scoped-regex": "^1.0.0"+ "engines": {+ "node": ">=0.10.0"}},- "is-stream": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",- "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",- "dev": true- },- "is-svg": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz",- "integrity": "sha512-gi4iHK53LR2ujhLVVj+37Ykh9GLqYHX6JOVXbLAucaG/Cqw9xwdFOjDM2qeifLs1sF1npXXFvDu0r5HNgCMrzQ==",+ "node_modules/term-size/node_modules/which": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==","dev": true,- "requires": {- "html-comment-regex": "^1.1.0"+ "dependencies": {+ "isexe": "^2.0.0"+ },+ "bin": {+ "which": "bin/which"}},- "is-symbol": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz",- "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=",- "dev": true- },- "is-there": {- "version": "4.4.4",- "resolved": "https://registry.npmjs.org/is-there/-/is-there-4.4.4.tgz",- "integrity": "sha512-WbEGbR5i/vSLJ/cc72kVCoM0RvKWmtmPpRXriNlhsredolym2aSTHZA02IzvDR5ewmwD0V6e9S3s9aHs6Ygw5A==",- "dev": true+ "node_modules/terser": {+ "version": "5.3.1",+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.3.1.tgz",+ "integrity": "sha512-yD80f4hdwCWTH5mojzxe1q8bN1oJbsK/vfJGLcPZM/fl+/jItIVNKhFIHqqR71OipFWMLgj3Kc+GIp6CeIqfnA==",+ "dev": true,+ "dependencies": {+ "commander": "^2.20.0",+ "source-map": "~0.6.1",+ "source-map-support": "~0.5.12"+ },+ "bin": {+ "terser": "bin/terser"+ },+ "engines": {+ "node": ">=6.0.0"+ }},- "is-typedarray": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",- "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",+ "node_modules/terser/node_modules/commander": {+ "version": "2.20.3",+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==","dev": true},- "is-utf8": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",- "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=",+ "node_modules/through": {+ "version": "2.3.8",+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",+ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=","dev": true},- "is-windows": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",- "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",+ "node_modules/timsort": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz",+ "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=","dev": true},- "is-wsl": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz",- "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=",- "dev": true+ "node_modules/to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "dev": true,+ "dependencies": {+ "is-number": "^7.0.0"+ },+ "engines": {+ "node": ">=8.0"+ }},- "isarray": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",- "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",+ "node_modules/tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==","dev": true},- "isbinaryfile": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz",- "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==",+ "node_modules/type-fest": {+ "version": "0.11.0",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz",+ "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==","dev": true,- "requires": {- "buffer-alloc": "^1.2.0"+ "engines": {+ "node": ">=8"}},- "isexe": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",- "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",- "dev": true+ "node_modules/typescript": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz",+ "integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==",+ "dev": true,+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=4.2.0"+ }},- "isobject": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",- "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",+ "node_modules/uniq": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz",+ "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=","dev": true},- "isstream": {- "version": "0.1.2",- "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",- "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",+ "node_modules/uniqs": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz",+ "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=","dev": true},- "istanbul-lib-coverage": {- "version": "2.0.5",- "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz",- "integrity": "sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==",+ "node_modules/unquote": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz",+ "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=","dev": true},- "istanbul-lib-instrument": {- "version": "3.3.0",- "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz",- "integrity": "sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA==",+ "node_modules/update-check": {+ "version": "1.5.2",+ "resolved": "https://registry.npmjs.org/update-check/-/update-check-1.5.2.tgz",+ "integrity": "sha512-1TrmYLuLj/5ZovwUS7fFd1jMH3NnFDN1y1A8dboedIDt7zs/zJMo6TwwlhYKkSeEwzleeiSBV5/3c9ufAQWDaQ==","dev": true,- "requires": {- "@babel/generator": "^7.4.0",- "@babel/parser": "^7.4.3",- "@babel/template": "^7.4.0",- "@babel/traverse": "^7.4.3",- "@babel/types": "^7.4.0",- "istanbul-lib-coverage": "^2.0.5",- "semver": "^6.0.0"- },- "dependencies": {- "semver": {- "version": "6.1.1",- "resolved": "https://registry.npmjs.org/semver/-/semver-6.1.1.tgz",- "integrity": "sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ==",- "dev": true- }+ "dependencies": {+ "registry-auth-token": "3.3.2",+ "registry-url": "3.1.0"}},- "istanbul-lib-report": {- "version": "2.0.8",- "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz",- "integrity": "sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ==",+ "node_modules/uri-js": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",+ "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==","dev": true,- "requires": {- "istanbul-lib-coverage": "^2.0.5",- "make-dir": "^2.1.0",- "supports-color": "^6.1.0"- },"dependencies": {- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "punycode": "^2.1.0"}},- "istanbul-lib-source-maps": {- "version": "3.0.6",- "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz",- "integrity": "sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==",+ "node_modules/util.promisify": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz",+ "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==","dev": true,- "requires": {- "debug": "^4.1.1",- "istanbul-lib-coverage": "^2.0.5",- "make-dir": "^2.1.0",- "rimraf": "^2.6.3",- "source-map": "^0.6.1"- },"dependencies": {- "debug": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",- "dev": true,- "requires": {- "ms": "^2.1.1"- }- },- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",- "dev": true- },- "rimraf": {- "version": "2.6.3",- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",- "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",- "dev": true,- "requires": {- "glob": "^7.1.3"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- }+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.2",+ "has-symbols": "^1.0.1",+ "object.getownpropertydescriptors": "^2.1.0"}},- "istanbul-reports": {- "version": "2.2.6",- "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.2.6.tgz",- "integrity": "sha512-SKi4rnMyLBKe0Jy2uUdx28h8oG7ph2PPuQPvIAh31d+Ci+lSiEu4C+h3oBPuJ9+mPKhOyW0M8gY4U5NM1WLeXA==",+ "node_modules/vary": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",+ "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=","dev": true,- "requires": {- "handlebars": "^4.1.2"+ "engines": {+ "node": ">= 0.8"}},- "istextorbinary": {- "version": "2.5.1",- "resolved": "https://registry.npmjs.org/istextorbinary/-/istextorbinary-2.5.1.tgz",- "integrity": "sha512-pv/JNPWnfpwGjPx7JrtWTwsWsxkrK3fNzcEVnt92YKEIErps4Fsk49+qzCe9iQF2hjqK8Naqf8P9kzoeCuQI1g==",+ "node_modules/vendors": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz",+ "integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==",+ "dev": true+ },+ "node_modules/wasm-feature-detect": {+ "version": "1.2.9",+ "resolved": "https://registry.npmjs.org/wasm-feature-detect/-/wasm-feature-detect-1.2.9.tgz",+ "integrity": "sha512-2E9/gtLVLpv2wnZDyYv8WY2dR9gHbmyv5uhZsnOcMSzqc78aGZpKQORPNcnrPwAU23nFUo7GAwKuoTAWRgsJ7Q=="+ },+ "node_modules/which": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==","dev": true,- "requires": {- "binaryextensions": "^2.1.2",- "editions": "^2.1.3",- "textextensions": "^2.4.0"+ "dependencies": {+ "isexe": "^2.0.0"+ },+ "bin": {+ "node-which": "bin/node-which"+ },+ "engines": {+ "node": ">= 8"}},- "isurl": {+ "node_modules/which-pm-runs": {"version": "1.0.0",- "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz",- "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==",+ "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz",+ "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=",+ "dev": true+ },+ "node_modules/widest-line": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz",+ "integrity": "sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==","dev": true,- "requires": {- "has-to-string-tag-x": "^1.2.0",- "is-object": "^1.0.1"+ "dependencies": {+ "string-width": "^2.1.1"+ },+ "engines": {+ "node": ">=4"}},- "jest": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest/-/jest-24.8.0.tgz",- "integrity": "sha512-o0HM90RKFRNWmAWvlyV8i5jGZ97pFwkeVoGvPW1EtLTgJc2+jcuqcbbqcSZLE/3f2S5pt0y2ZBETuhpWNl1Reg==",+ "node_modules/widest-line/node_modules/ansi-regex": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=","dev": true,- "requires": {- "import-local": "^2.0.0",- "jest-cli": "^24.8.0"- },- "dependencies": {- "ansi-regex": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",- "dev": true- },- "camelcase": {- "version": "5.3.1",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",- "dev": true- },- "cliui": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",- "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",- "dev": true,- "requires": {- "string-width": "^2.1.1",- "strip-ansi": "^4.0.0",- "wrap-ansi": "^2.0.0"- }- },- "find-up": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",- "dev": true,- "requires": {- "locate-path": "^3.0.0"- }- },- "invert-kv": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",- "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==",- "dev": true- },- "is-fullwidth-code-point": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",- "dev": true- },- "jest-cli": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-24.8.0.tgz",- "integrity": "sha512-+p6J00jSMPQ116ZLlHJJvdf8wbjNbZdeSX9ptfHX06/MSNaXmKihQzx5vQcw0q2G6JsdVkUIdWbOWtSnaYs3yA==",- "dev": true,- "requires": {- "@jest/core": "^24.8.0",- "@jest/test-result": "^24.8.0",- "@jest/types": "^24.8.0",- "chalk": "^2.0.1",- "exit": "^0.1.2",- "import-local": "^2.0.0",- "is-ci": "^2.0.0",- "jest-config": "^24.8.0",- "jest-util": "^24.8.0",- "jest-validate": "^24.8.0",- "prompts": "^2.0.1",- "realpath-native": "^1.1.0",- "yargs": "^12.0.2"- }- },- "lcid": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",- "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",- "dev": true,- "requires": {- "invert-kv": "^2.0.0"- }- },- "locate-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",- "dev": true,- "requires": {- "p-locate": "^3.0.0",- "path-exists": "^3.0.0"- }- },- "os-locale": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",- "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",- "dev": true,- "requires": {- "execa": "^1.0.0",- "lcid": "^2.0.0",- "mem": "^4.0.0"- }- },- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }- },- "p-locate": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",- "dev": true,- "requires": {- "p-limit": "^2.0.0"- }- },- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",- "dev": true- },- "string-width": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",- "dev": true,- "requires": {- "is-fullwidth-code-point": "^2.0.0",- "strip-ansi": "^4.0.0"- }- },- "strip-ansi": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",- "dev": true,- "requires": {- "ansi-regex": "^3.0.0"- }- },- "which-module": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",- "dev": true- },- "yargs": {- "version": "12.0.5",- "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz",- "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==",- "dev": true,- "requires": {- "cliui": "^4.0.0",- "decamelize": "^1.2.0",- "find-up": "^3.0.0",- "get-caller-file": "^1.0.1",- "os-locale": "^3.0.0",- "require-directory": "^2.1.1",- "require-main-filename": "^1.0.1",- "set-blocking": "^2.0.0",- "string-width": "^2.0.0",- "which-module": "^2.0.0",- "y18n": "^3.2.1 || ^4.0.0",- "yargs-parser": "^11.1.1"- }- },- "yargs-parser": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz",- "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==",- "dev": true,- "requires": {- "camelcase": "^5.0.0",- "decamelize": "^1.2.0"- }- }+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/widest-line/node_modules/is-fullwidth-code-point": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",+ "dev": true,+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/widest-line/node_modules/string-width": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",+ "dev": true,+ "dependencies": {+ "is-fullwidth-code-point": "^2.0.0",+ "strip-ansi": "^4.0.0"+ },+ "engines": {+ "node": ">=4"}},- "jest-changed-files": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.8.0.tgz",- "integrity": "sha512-qgANC1Yrivsq+UrLXsvJefBKVoCsKB0Hv+mBb6NMjjZ90wwxCDmU3hsCXBya30cH+LnPYjwgcU65i6yJ5Nfuug==",+ "node_modules/widest-line/node_modules/strip-ansi": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=","dev": true,- "requires": {- "@jest/types": "^24.8.0",- "execa": "^1.0.0",- "throat": "^4.0.0"+ "dependencies": {+ "ansi-regex": "^3.0.0"+ },+ "engines": {+ "node": ">=4"}},- "jest-config": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-24.8.0.tgz",- "integrity": "sha512-Czl3Nn2uEzVGsOeaewGWoDPD8GStxCpAe0zOYs2x2l0fZAgPbCr3uwUkgNKV3LwE13VXythM946cd5rdGkkBZw==",+ "node_modules/wrap-ansi": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==","dev": true,- "requires": {- "@babel/core": "^7.1.0",- "@jest/test-sequencer": "^24.8.0",- "@jest/types": "^24.8.0",- "babel-jest": "^24.8.0",- "chalk": "^2.0.1",- "glob": "^7.1.1",- "jest-environment-jsdom": "^24.8.0",- "jest-environment-node": "^24.8.0",- "jest-get-type": "^24.8.0",- "jest-jasmine2": "^24.8.0",- "jest-regex-util": "^24.3.0",- "jest-resolve": "^24.8.0",- "jest-util": "^24.8.0",- "jest-validate": "^24.8.0",- "micromatch": "^3.1.10",- "pretty-format": "^24.8.0",- "realpath-native": "^1.1.0"- }- },- "jest-diff": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-24.8.0.tgz",- "integrity": "sha512-wxetCEl49zUpJ/bvUmIFjd/o52J+yWcoc5ZyPq4/W1LUKGEhRYDIbP1KcF6t+PvqNrGAFk4/JhtxDq/Nnzs66g==",- "dev": true,- "requires": {- "chalk": "^2.0.1",- "diff-sequences": "^24.3.0",- "jest-get-type": "^24.8.0",- "pretty-format": "^24.8.0"+ "dependencies": {+ "ansi-styles": "^4.0.0",+ "string-width": "^4.1.0",+ "strip-ansi": "^6.0.0"+ },+ "engines": {+ "node": ">=8"}},- "jest-docblock": {- "version": "24.3.0",- "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.3.0.tgz",- "integrity": "sha512-nlANmF9Yq1dufhFlKG9rasfQlrY7wINJbo3q01tu56Jv5eBU5jirylhF2O5ZBnLxzOVBGRDz/9NAwNyBtG4Nyg==",+ "node_modules/wrappy": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",+ "dev": true+ },+ "node_modules/xxhashjs": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/xxhashjs/-/xxhashjs-0.2.2.tgz",+ "integrity": "sha512-AkTuIuVTET12tpsVIQo+ZU6f/qDmKuRUcjaqR+OIvm+aCBsZ95i7UVY5WJ9TMsSaZ0DA2WxoZ4acu0sPH+OKAw==","dev": true,- "requires": {- "detect-newline": "^2.1.0"+ "dependencies": {+ "cuint": "^0.2.2"}},- "jest-each": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-24.8.0.tgz",- "integrity": "sha512-NrwK9gaL5+XgrgoCsd9svsoWdVkK4gnvyhcpzd6m487tXHqIdYeykgq3MKI1u4I+5Zf0tofr70at9dWJDeb+BA==",+ "node_modules/yallist": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",+ "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",+ "dev": true+ },+ "node_modules/yaml": {+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz",+ "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==",+ "dev": true,+ "engines": {+ "node": ">= 6"+ }+ }+ },+ "dependencies": {+ "@babel/code-frame": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",+ "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==","dev": true,"requires": {- "@jest/types": "^24.8.0",- "chalk": "^2.0.1",- "jest-get-type": "^24.8.0",- "jest-util": "^24.8.0",- "pretty-format": "^24.8.0"+ "@babel/highlight": "^7.10.4"}},- "jest-environment-jsdom": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.8.0.tgz",- "integrity": "sha512-qbvgLmR7PpwjoFjM/sbuqHJt/NCkviuq9vus9NBn/76hhSidO+Z6Bn9tU8friecegbJL8gzZQEMZBQlFWDCwAQ==",+ "@babel/helper-validator-identifier": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",+ "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==",+ "dev": true+ },+ "@babel/highlight": {+ "version": "7.10.4",+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz",+ "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==","dev": true,"requires": {- "@jest/environment": "^24.8.0",- "@jest/fake-timers": "^24.8.0",- "@jest/types": "^24.8.0",- "jest-mock": "^24.8.0",- "jest-util": "^24.8.0",- "jsdom": "^11.5.1"- },- "dependencies": {- "jsdom": {- "version": "11.12.0",- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-11.12.0.tgz",- "integrity": "sha512-y8Px43oyiBM13Zc1z780FrfNLJCXTL40EWlty/LXUtcjykRBNgLlCjWXpfSPBl2iv+N7koQN+dvqszHZgT/Fjw==",+ "@babel/helper-validator-identifier": "^7.10.4",+ "chalk": "^2.0.0",+ "js-tokens": "^4.0.0"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "abab": "^2.0.0",- "acorn": "^5.5.3",- "acorn-globals": "^4.1.0",- "array-equal": "^1.0.0",- "cssom": ">= 0.3.2 < 0.4.0",- "cssstyle": "^1.0.0",- "data-urls": "^1.0.0",- "domexception": "^1.0.1",- "escodegen": "^1.9.1",- "html-encoding-sniffer": "^1.0.2",- "left-pad": "^1.3.0",- "nwsapi": "^2.0.7",- "parse5": "4.0.0",- "pn": "^1.1.0",- "request": "^2.87.0",- "request-promise-native": "^1.0.5",- "sax": "^1.2.4",- "symbol-tree": "^3.2.2",- "tough-cookie": "^2.3.4",- "w3c-hr-time": "^1.0.1",- "webidl-conversions": "^4.0.2",- "whatwg-encoding": "^1.0.3",- "whatwg-mimetype": "^2.1.0",- "whatwg-url": "^6.4.1",- "ws": "^5.2.0",- "xml-name-validator": "^3.0.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"}},- "whatwg-url": {- "version": "6.5.0",- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.5.0.tgz",- "integrity": "sha512-rhRZRqx/TLJQWUpQ6bmrt2UV4f0HCQ463yQuONJqC6fO2VoEb1pTYddbe59SkYq87aoM5A3bdhMZiUiVws+fzQ==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "lodash.sortby": "^4.7.0",- "tr46": "^1.0.1",- "webidl-conversions": "^4.0.2"+ "color-name": "1.1.3"}},- "ws": {- "version": "5.2.2",- "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz",- "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,"requires": {- "async-limiter": "~1.0.0"+ "has-flag": "^3.0.0"}}}},- "jest-environment-node": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.8.0.tgz",- "integrity": "sha512-vIGUEScd1cdDgR6sqn2M08sJTRLQp6Dk/eIkCeO4PFHxZMOgy+uYLPMC4ix3PEfM5Au/x3uQ/5Tl0DpXXZsJ/Q==",+ "@nodelib/fs.scandir": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",+ "integrity": "sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw==","dev": true,"requires": {- "@jest/environment": "^24.8.0",- "@jest/fake-timers": "^24.8.0",- "@jest/types": "^24.8.0",- "jest-mock": "^24.8.0",- "jest-util": "^24.8.0"+ "@nodelib/fs.stat": "2.0.3",+ "run-parallel": "^1.1.9"}},- "jest-get-type": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.8.0.tgz",- "integrity": "sha512-RR4fo8jEmMD9zSz2nLbs2j0zvPpk/KCEz3a62jJWbd2ayNo0cb+KFRxPHVhE4ZmgGJEQp0fosmNz84IfqM8cMQ==",+ "@nodelib/fs.stat": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz",+ "integrity": "sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==","dev": true},- "jest-haste-map": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.8.0.tgz",- "integrity": "sha512-ZBPRGHdPt1rHajWelXdqygIDpJx8u3xOoLyUBWRW28r3tagrgoepPrzAozW7kW9HrQfhvmiv1tncsxqHJO1onQ==",+ "@nodelib/fs.walk": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz",+ "integrity": "sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==",+ "dev": true,+ "requires": {+ "@nodelib/fs.scandir": "2.1.3",+ "fastq": "^1.6.0"+ }+ },+ "@rollup/plugin-commonjs": {+ "version": "15.1.0",+ "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-15.1.0.tgz",+ "integrity": "sha512-xCQqz4z/o0h2syQ7d9LskIMvBSH4PX5PjYdpSSvgS+pQik3WahkQVNWg3D8XJeYjZoVWnIUQYDghuEMRGrmQYQ==","dev": true,"requires": {- "@jest/types": "^24.8.0",- "anymatch": "^2.0.0",- "fb-watchman": "^2.0.0",- "fsevents": "^1.2.7",- "graceful-fs": "^4.1.15",- "invariant": "^2.2.4",- "jest-serializer": "^24.4.0",- "jest-util": "^24.8.0",- "jest-worker": "^24.6.0",- "micromatch": "^3.1.10",- "sane": "^4.0.3",- "walker": "^1.0.7"- },- "dependencies": {- "graceful-fs": {- "version": "4.1.15",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",- "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",+ "@rollup/pluginutils": "^3.1.0",+ "commondir": "^1.0.1",+ "estree-walker": "^2.0.1",+ "glob": "^7.1.6",+ "is-reference": "^1.2.1",+ "magic-string": "^0.25.7",+ "resolve": "^1.17.0"+ },+ "dependencies": {+ "estree-walker": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.1.tgz",+ "integrity": "sha512-tF0hv+Yi2Ot1cwj9eYHtxC0jB9bmjacjQs6ZBTj82H8JwUywFuc+7E83NWfNMwHXZc11mjfFcVXPe9gEP4B8dg==","dev": true}}},- "jest-jasmine2": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.8.0.tgz",- "integrity": "sha512-cEky88npEE5LKd5jPpTdDCLvKkdyklnaRycBXL6GNmpxe41F0WN44+i7lpQKa/hcbXaQ+rc9RMaM4dsebrYong==",+ "@rollup/plugin-node-resolve": {+ "version": "9.0.0",+ "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-9.0.0.tgz",+ "integrity": "sha512-gPz+utFHLRrd41WMP13Jq5mqqzHL3OXrfj3/MkSyB6UBIcuNt9j60GCbarzMzdf1VHFpOxfQh/ez7wyadLMqkg==","dev": true,"requires": {- "@babel/traverse": "^7.1.0",- "@jest/environment": "^24.8.0",- "@jest/test-result": "^24.8.0",- "@jest/types": "^24.8.0",- "chalk": "^2.0.1",- "co": "^4.6.0",- "expect": "^24.8.0",- "is-generator-fn": "^2.0.0",- "jest-each": "^24.8.0",- "jest-matcher-utils": "^24.8.0",- "jest-message-util": "^24.8.0",- "jest-runtime": "^24.8.0",- "jest-snapshot": "^24.8.0",- "jest-util": "^24.8.0",- "pretty-format": "^24.8.0",- "throat": "^4.0.0"- }- },- "jest-leak-detector": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.8.0.tgz",- "integrity": "sha512-cG0yRSK8A831LN8lIHxI3AblB40uhv0z+SsQdW3GoMMVcK+sJwrIIyax5tu3eHHNJ8Fu6IMDpnLda2jhn2pD/g==",+ "@rollup/pluginutils": "^3.1.0",+ "@types/resolve": "1.17.1",+ "builtin-modules": "^3.1.0",+ "deepmerge": "^4.2.2",+ "is-module": "^1.0.0",+ "resolve": "^1.17.0"+ }+ },+ "@rollup/plugin-replace": {+ "version": "2.3.4",+ "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-2.3.4.tgz",+ "integrity": "sha512-waBhMzyAtjCL1GwZes2jaE9MjuQ/DQF2BatH3fRivUF3z0JBFrU0U6iBNC/4WR+2rLKhaAhPWDNPYp4mI6RqdQ==","dev": true,"requires": {- "pretty-format": "^24.8.0"+ "@rollup/pluginutils": "^3.1.0",+ "magic-string": "^0.25.7"}},- "jest-matcher-utils": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.8.0.tgz",- "integrity": "sha512-lex1yASY51FvUuHgm0GOVj7DCYEouWSlIYmCW7APSqB9v8mXmKSn5+sWVF0MhuASG0bnYY106/49JU1FZNl5hw==",+ "@rollup/pluginutils": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz",+ "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==","dev": true,"requires": {- "chalk": "^2.0.1",- "jest-diff": "^24.8.0",- "jest-get-type": "^24.8.0",- "pretty-format": "^24.8.0"+ "@types/estree": "0.0.39",+ "estree-walker": "^1.0.1",+ "picomatch": "^2.2.2"}},- "jest-message-util": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.8.0.tgz",- "integrity": "sha512-p2k71rf/b6ns8btdB0uVdljWo9h0ovpnEe05ZKWceQGfXYr4KkzgKo3PBi8wdnd9OtNh46VpNIJynUn/3MKm1g==",+ "@surma/rollup-plugin-off-main-thread": {+ "version": "1.4.2",+ "resolved": "https://registry.npmjs.org/@surma/rollup-plugin-off-main-thread/-/rollup-plugin-off-main-thread-1.4.2.tgz",+ "integrity": "sha512-yBMPqmd1yEJo/280PAMkychuaALyQ9Lkb5q1ck3mjJrFuEobIfhnQ4J3mbvBoISmR3SWMWV+cGB/I0lCQee79A==","dev": true,"requires": {- "@babel/code-frame": "^7.0.0",- "@jest/test-result": "^24.8.0",- "@jest/types": "^24.8.0",- "@types/stack-utils": "^1.0.1",- "chalk": "^2.0.1",- "micromatch": "^3.1.10",- "slash": "^2.0.0",- "stack-utils": "^1.0.1"- },- "dependencies": {- "slash": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",- "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",- "dev": true- }+ "ejs": "^2.6.1",+ "magic-string": "^0.25.0"}},- "jest-mock": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.8.0.tgz",- "integrity": "sha512-6kWugwjGjJw+ZkK4mDa0Df3sDlUTsV47MSrT0nGQ0RBWJbpODDQ8MHDVtGtUYBne3IwZUhtB7elxHspU79WH3A==",+ "@types/color-name": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",+ "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==",+ "dev": true+ },+ "@types/estree": {+ "version": "0.0.39",+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz",+ "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==",+ "dev": true+ },+ "@types/glob": {+ "version": "7.1.3",+ "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz",+ "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==","dev": true,"requires": {- "@jest/types": "^24.8.0"+ "@types/minimatch": "*",+ "@types/node": "*"}},- "jest-pnp-resolver": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz",- "integrity": "sha512-pgFw2tm54fzgYvc/OHrnysABEObZCUNFnhjoRjaVOCN8NYc032/gVjPaHD4Aq6ApkSieWtfKAFQtmDKAmhupnQ==",+ "@types/minimatch": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",+ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==",+ "dev": true+ },+ "@types/node": {+ "version": "14.14.7",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.7.tgz",+ "integrity": "sha512-Zw1vhUSQZYw+7u5dAwNbIA9TuTotpzY/OF7sJM9FqPOF3SPjKnxrjoTktXDZgUjybf4cWVBP7O8wvKdSaGHweg==",+ "dev": true+ },+ "@types/parse-json": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",+ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==","dev": true},- "jest-regex-util": {- "version": "24.3.0",- "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.3.0.tgz",- "integrity": "sha512-tXQR1NEOyGlfylyEjg1ImtScwMq8Oh3iJbGTjN7p0J23EuVX1MA8rwU69K4sLbCmwzgCUbVkm0FkSF9TdzOhtg==",+ "@types/q": {+ "version": "1.5.4",+ "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz",+ "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==","dev": true},- "jest-resolve": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.8.0.tgz",- "integrity": "sha512-+hjSzi1PoRvnuOICoYd5V/KpIQmkAsfjFO71458hQ2Whi/yf1GDeBOFj8Gxw4LrApHsVJvn5fmjcPdmoUHaVKw==",+ "@types/resolve": {+ "version": "1.17.1",+ "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz",+ "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==","dev": true,"requires": {- "@jest/types": "^24.8.0",- "browser-resolve": "^1.11.3",- "chalk": "^2.0.1",- "jest-pnp-resolver": "^1.2.1",- "realpath-native": "^1.1.0"+ "@types/node": "*"}},- "jest-resolve-dependencies": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.8.0.tgz",- "integrity": "sha512-hyK1qfIf/krV+fSNyhyJeq3elVMhK9Eijlwy+j5jqmZ9QsxwKBiP6qukQxaHtK8k6zql/KYWwCTQ+fDGTIJauw==",+ "@zeit/schemas": {+ "version": "2.6.0",+ "resolved": "https://registry.npmjs.org/@zeit/schemas/-/schemas-2.6.0.tgz",+ "integrity": "sha512-uUrgZ8AxS+Lio0fZKAipJjAh415JyrOZowliZAzmnJSsf7piVL5w+G0+gFJ0KSu3QRhvui/7zuvpLz03YjXAhg==",+ "dev": true+ },+ "accepts": {+ "version": "1.3.7",+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",+ "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==","dev": true,"requires": {- "@jest/types": "^24.8.0",- "jest-regex-util": "^24.3.0",- "jest-snapshot": "^24.8.0"+ "mime-types": "~2.1.24",+ "negotiator": "0.6.2"}},- "jest-runner": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-24.8.0.tgz",- "integrity": "sha512-utFqC5BaA3JmznbissSs95X1ZF+d+4WuOWwpM9+Ak356YtMhHE/GXUondZdcyAAOTBEsRGAgH/0TwLzfI9h7ow==",+ "aggregate-error": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz",+ "integrity": "sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA==","dev": true,"requires": {- "@jest/console": "^24.7.1",- "@jest/environment": "^24.8.0",- "@jest/test-result": "^24.8.0",- "@jest/types": "^24.8.0",- "chalk": "^2.4.2",- "exit": "^0.1.2",- "graceful-fs": "^4.1.15",- "jest-config": "^24.8.0",- "jest-docblock": "^24.3.0",- "jest-haste-map": "^24.8.0",- "jest-jasmine2": "^24.8.0",- "jest-leak-detector": "^24.8.0",- "jest-message-util": "^24.8.0",- "jest-resolve": "^24.8.0",- "jest-runtime": "^24.8.0",- "jest-util": "^24.8.0",- "jest-worker": "^24.6.0",- "source-map-support": "^0.5.6",- "throat": "^4.0.0"- },- "dependencies": {- "graceful-fs": {- "version": "4.1.15",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",- "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",- "dev": true- }+ "clean-stack": "^2.0.0",+ "indent-string": "^4.0.0"}},- "jest-runtime": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.8.0.tgz",- "integrity": "sha512-Mq0aIXhvO/3bX44ccT+czU1/57IgOMyy80oM0XR/nyD5zgBcesF84BPabZi39pJVA6UXw+fY2Q1N+4BiVUBWOA==",+ "ajv": {+ "version": "6.5.3",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.3.tgz",+ "integrity": "sha512-LqZ9wY+fx3UMiiPd741yB2pj3hhil+hQc8taf4o2QGRFpWgZ2V5C8HA165DY9sS3fJwsk7uT7ZlFEyC3Ig3lLg==","dev": true,"requires": {- "@jest/console": "^24.7.1",- "@jest/environment": "^24.8.0",- "@jest/source-map": "^24.3.0",- "@jest/transform": "^24.8.0",- "@jest/types": "^24.8.0",- "@types/yargs": "^12.0.2",- "chalk": "^2.0.1",- "exit": "^0.1.2",- "glob": "^7.1.3",- "graceful-fs": "^4.1.15",- "jest-config": "^24.8.0",- "jest-haste-map": "^24.8.0",- "jest-message-util": "^24.8.0",- "jest-mock": "^24.8.0",- "jest-regex-util": "^24.3.0",- "jest-resolve": "^24.8.0",- "jest-snapshot": "^24.8.0",- "jest-util": "^24.8.0",- "jest-validate": "^24.8.0",- "realpath-native": "^1.1.0",- "slash": "^2.0.0",- "strip-bom": "^3.0.0",- "yargs": "^12.0.2"+ "fast-deep-equal": "^2.0.1",+ "fast-json-stable-stringify": "^2.0.0",+ "json-schema-traverse": "^0.4.1",+ "uri-js": "^4.2.2"+ }+ },+ "alphanum-sort": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz",+ "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=",+ "dev": true+ },+ "ansi-align": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz",+ "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=",+ "dev": true,+ "requires": {+ "string-width": "^2.0.0"},"dependencies": {"ansi-regex": {@@ -8305,108 +8556,181 @@"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=","dev": true},- "camelcase": {- "version": "5.3.1",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",- "dev": true- },- "cliui": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",- "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",- "dev": true,- "requires": {- "string-width": "^2.1.1",- "strip-ansi": "^4.0.0",- "wrap-ansi": "^2.0.0"- }- },- "find-up": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",- "dev": true,- "requires": {- "locate-path": "^3.0.0"- }- },- "graceful-fs": {- "version": "4.1.15",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",- "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",- "dev": true- },- "invert-kv": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",- "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==",- "dev": true- },"is-fullwidth-code-point": {"version": "2.0.0","resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz","integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=","dev": true},- "lcid": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",- "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",+ "string-width": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==","dev": true,"requires": {- "invert-kv": "^2.0.0"+ "is-fullwidth-code-point": "^2.0.0",+ "strip-ansi": "^4.0.0"}},- "locate-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",+ "strip-ansi": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",+ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=","dev": true,"requires": {- "p-locate": "^3.0.0",- "path-exists": "^3.0.0"+ "ansi-regex": "^3.0.0"}+ }+ }+ },+ "ansi-colors": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",+ "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",+ "dev": true+ },+ "ansi-escapes": {+ "version": "4.3.1",+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz",+ "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==",+ "dev": true,+ "requires": {+ "type-fest": "^0.11.0"+ }+ },+ "ansi-regex": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",+ "dev": true+ },+ "ansi-styles": {+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",+ "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",+ "dev": true,+ "requires": {+ "@types/color-name": "^1.1.1",+ "color-convert": "^2.0.1"+ }+ },+ "arch": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/arch/-/arch-2.1.2.tgz",+ "integrity": "sha512-NTBIIbAfkJeIletyABbVtdPgeKfDafR+1mZV/AyyfC1UkVkp9iUjV+wwmqtUgphHYajbI86jejBJp5e+jkGTiQ==",+ "dev": true+ },+ "arg": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/arg/-/arg-2.0.0.tgz",+ "integrity": "sha512-XxNTUzKnz1ctK3ZIcI2XUPlD96wbHP2nGqkPKpvk/HNRlPveYrXIVSTk9m3LcqOgDPg3B1nMvdV/K8wZd7PG4w==",+ "dev": true+ },+ "argparse": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",+ "dev": true,+ "requires": {+ "sprintf-js": "~1.0.2"+ }+ },+ "array-union": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",+ "dev": true+ },+ "astral-regex": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",+ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",+ "dev": true+ },+ "balanced-match": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",+ "dev": true+ },+ "big.js": {+ "version": "5.2.2",+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",+ "dev": true+ },+ "boolbase": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",+ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=",+ "dev": true+ },+ "boxen": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz",+ "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==",+ "dev": true,+ "requires": {+ "ansi-align": "^2.0.0",+ "camelcase": "^4.0.0",+ "chalk": "^2.0.1",+ "cli-boxes": "^1.0.0",+ "string-width": "^2.0.0",+ "term-size": "^1.2.0",+ "widest-line": "^2.0.0"+ },+ "dependencies": {+ "ansi-regex": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",+ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",+ "dev": true},- "os-locale": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",- "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "execa": "^1.0.0",- "lcid": "^2.0.0",- "mem": "^4.0.0"+ "color-convert": "^1.9.0"}},- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "p-try": "^2.0.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"}},- "p-locate": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "p-limit": "^2.0.0"+ "color-name": "1.1.3"}},- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "slash": {+ "is-fullwidth-code-point": {"version": "2.0.0",- "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",- "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=","dev": true},"string-width": {@@ -8428,3003 +8752,2384 @@"ansi-regex": "^3.0.0"}},- "strip-bom": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",- "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",- "dev": true- },- "which-module": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",- "dev": true- },- "yargs": {- "version": "12.0.5",- "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz",- "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==",- "dev": true,- "requires": {- "cliui": "^4.0.0",- "decamelize": "^1.2.0",- "find-up": "^3.0.0",- "get-caller-file": "^1.0.1",- "os-locale": "^3.0.0",- "require-directory": "^2.1.1",- "require-main-filename": "^1.0.1",- "set-blocking": "^2.0.0",- "string-width": "^2.0.0",- "which-module": "^2.0.0",- "y18n": "^3.2.1 || ^4.0.0",- "yargs-parser": "^11.1.1"- }- },- "yargs-parser": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz",- "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==",+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,"requires": {- "camelcase": "^5.0.0",- "decamelize": "^1.2.0"+ "has-flag": "^3.0.0"}}}},- "jest-serializer": {- "version": "24.4.0",- "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.4.0.tgz",- "integrity": "sha512-k//0DtglVstc1fv+GY/VHDIjrtNjdYvYjMlbLUed4kxrE92sIUewOi5Hj3vrpB8CXfkJntRPDRjCrCvUhBdL8Q==",- "dev": true+ "brace-expansion": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",+ "dev": true,+ "requires": {+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"+ }},- "jest-snapshot": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.8.0.tgz",- "integrity": "sha512-5ehtWoc8oU9/cAPe6fez6QofVJLBKyqkY2+TlKTOf0VllBB/mqUNdARdcjlZrs9F1Cv+/HKoCS/BknT0+tmfPg==",+ "braces": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==","dev": true,"requires": {- "@babel/types": "^7.0.0",- "@jest/types": "^24.8.0",- "chalk": "^2.0.1",- "expect": "^24.8.0",- "jest-diff": "^24.8.0",- "jest-matcher-utils": "^24.8.0",- "jest-message-util": "^24.8.0",- "jest-resolve": "^24.8.0",- "mkdirp": "^0.5.1",- "natural-compare": "^1.4.0",- "pretty-format": "^24.8.0",- "semver": "^5.5.0"- }- },- "jest-util": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.8.0.tgz",- "integrity": "sha512-DYZeE+XyAnbNt0BG1OQqKy/4GVLPtzwGx5tsnDrFcax36rVE3lTA5fbvgmbVPUZf9w77AJ8otqR4VBbfFJkUZA==",+ "fill-range": "^7.0.1"+ }+ },+ "browserslist": {+ "version": "4.14.0",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.0.tgz",+ "integrity": "sha512-pUsXKAF2lVwhmtpeA3LJrZ76jXuusrNyhduuQs7CDFf9foT4Y38aQOserd2lMe5DSSrjf3fx34oHwryuvxAUgQ==","dev": true,"requires": {- "@jest/console": "^24.7.1",- "@jest/fake-timers": "^24.8.0",- "@jest/source-map": "^24.3.0",- "@jest/test-result": "^24.8.0",- "@jest/types": "^24.8.0",- "callsites": "^3.0.0",- "chalk": "^2.0.1",- "graceful-fs": "^4.1.15",- "is-ci": "^2.0.0",- "mkdirp": "^0.5.1",- "slash": "^2.0.0",- "source-map": "^0.6.0"+ "caniuse-lite": "^1.0.30001111",+ "electron-to-chromium": "^1.3.523",+ "escalade": "^3.0.2",+ "node-releases": "^1.1.60"+ }+ },+ "buffer-from": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",+ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",+ "dev": true+ },+ "builtin-modules": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.1.0.tgz",+ "integrity": "sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==",+ "dev": true+ },+ "bytes": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",+ "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=",+ "dev": true+ },+ "caller-callsite": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz",+ "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=",+ "dev": true,+ "requires": {+ "callsites": "^2.0.0"},"dependencies": {"callsites": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",- "dev": true- },- "graceful-fs": {- "version": "4.1.15",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",- "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",- "dev": true- },- "slash": {"version": "2.0.0",- "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",- "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",- "dev": true- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz",+ "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=","dev": true}}},- "jest-validate": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-24.8.0.tgz",- "integrity": "sha512-+/N7VOEMW1Vzsrk3UWBDYTExTPwf68tavEPKDnJzrC6UlHtUDU/fuEdXqFoHzv9XnQ+zW6X3qMZhJ3YexfeLDA==",+ "caller-path": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz",+ "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=","dev": true,"requires": {- "@jest/types": "^24.8.0",- "camelcase": "^5.0.0",- "chalk": "^2.0.1",- "jest-get-type": "^24.8.0",- "leven": "^2.1.0",- "pretty-format": "^24.8.0"- },- "dependencies": {- "camelcase": {- "version": "5.3.1",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",- "dev": true- }+ "caller-callsite": "^2.0.0"}},- "jest-watcher": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.8.0.tgz",- "integrity": "sha512-SBjwHt5NedQoVu54M5GEx7cl7IGEFFznvd/HNT8ier7cCAx/Qgu9ZMlaTQkvK22G1YOpcWBLQPFSImmxdn3DAw==",+ "callsites": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",+ "dev": true+ },+ "camelcase": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",+ "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=",+ "dev": true+ },+ "caniuse-api": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",+ "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==","dev": true,"requires": {- "@jest/test-result": "^24.8.0",- "@jest/types": "^24.8.0",- "@types/yargs": "^12.0.9",- "ansi-escapes": "^3.0.0",- "chalk": "^2.0.1",- "jest-util": "^24.8.0",- "string-length": "^2.0.0"+ "browserslist": "^4.0.0",+ "caniuse-lite": "^1.0.0",+ "lodash.memoize": "^4.1.2",+ "lodash.uniq": "^4.5.0"}},- "jest-worker": {- "version": "24.6.0",- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.6.0.tgz",- "integrity": "sha512-jDwgW5W9qGNvpI1tNnvajh0a5IE/PuGLFmHk6aR/BZFz8tSgGw17GsDPXAJ6p91IvYDjOw8GpFbvvZGAK+DPQQ==",+ "caniuse-lite": {+ "version": "1.0.30001116",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001116.tgz",+ "integrity": "sha512-f2lcYnmAI5Mst9+g0nkMIznFGsArRmZ0qU+dnq8l91hymdc2J3SFbiPhOJEeDqC1vtE8nc1qNQyklzB8veJefQ==",+ "dev": true+ },+ "chalk": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==","dev": true,"requires": {- "merge-stream": "^1.0.1",- "supports-color": "^6.1.0"- },- "dependencies": {- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"}},- "js-base64": {- "version": "2.5.2",- "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.2.tgz",- "integrity": "sha512-Vg8czh0Q7sFBSUMWWArX/miJeBWYBPpdU/3M/DKSaekLMqrqVPaedp+5mZhie/r0lgrcaYBfwXatEew6gwgiQQ==",+ "ci-info": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",+ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==","dev": true},- "js-levenshtein": {- "version": "1.1.6",- "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz",- "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==",+ "clean-stack": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",+ "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==","dev": true},- "js-tokens": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",- "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=",+ "cli-boxes": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz",+ "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=","dev": true},- "js-yaml": {- "version": "3.13.1",- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",- "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",+ "cli-cursor": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==","dev": true,"requires": {- "argparse": "^1.0.7",- "esprima": "^4.0.0"+ "restore-cursor": "^3.1.0"}},- "jsbn": {- "version": "0.1.1",- "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",- "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",- "dev": true,- "optional": true- },- "jscodeshift": {- "version": "0.6.4",- "resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-0.6.4.tgz",- "integrity": "sha512-+NF/tlNbc2WEhXUuc4WEJLsJumF84tnaMUZW2hyJw3jThKKRvsPX4sPJVgO1lPE28z0gNL+gwniLG9d8mYvQCQ==",+ "cli-truncate": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz",+ "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==","dev": true,"requires": {- "@babel/core": "^7.1.6",- "@babel/parser": "^7.1.6",- "@babel/plugin-proposal-class-properties": "^7.1.0",- "@babel/plugin-proposal-object-rest-spread": "^7.0.0",- "@babel/preset-env": "^7.1.6",- "@babel/preset-flow": "^7.0.0",- "@babel/preset-typescript": "^7.1.0",- "@babel/register": "^7.0.0",- "babel-core": "^7.0.0-bridge.0",- "colors": "^1.1.2",- "flow-parser": "0.*",- "graceful-fs": "^4.1.11",- "micromatch": "^3.1.10",- "neo-async": "^2.5.0",- "node-dir": "^0.1.17",- "recast": "^0.16.1",- "temp": "^0.8.1",- "write-file-atomic": "^2.3.0"- }- },- "jsdom": {- "version": "12.2.0",- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-12.2.0.tgz",- "integrity": "sha512-QPOggIJ8fquWPLaYYMoh+zqUmdphDtu1ju0QGTitZT1Yd8I5qenPpXM1etzUegu3MjVp8XPzgZxdn8Yj7e40ig==",+ "slice-ansi": "^3.0.0",+ "string-width": "^4.2.0"+ }+ },+ "clipboardy": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-1.2.3.tgz",+ "integrity": "sha512-2WNImOvCRe6r63Gk9pShfkwXsVtKCroMAevIbiae021mS850UkWPbevxsBz3tnvjZIEGvlwaqCPsw+4ulzNgJA==","dev": true,"requires": {- "abab": "^2.0.0",- "acorn": "^6.0.2",- "acorn-globals": "^4.3.0",- "array-equal": "^1.0.0",- "cssom": "^0.3.4",- "cssstyle": "^1.1.1",- "data-urls": "^1.0.1",- "domexception": "^1.0.1",- "escodegen": "^1.11.0",- "html-encoding-sniffer": "^1.0.2",- "nwsapi": "^2.0.9",- "parse5": "5.1.0",- "pn": "^1.1.0",- "request": "^2.88.0",- "request-promise-native": "^1.0.5",- "saxes": "^3.1.3",- "symbol-tree": "^3.2.2",- "tough-cookie": "^2.4.3",- "w3c-hr-time": "^1.0.1",- "webidl-conversions": "^4.0.2",- "whatwg-encoding": "^1.0.5",- "whatwg-mimetype": "^2.2.0",- "whatwg-url": "^7.0.0",- "ws": "^6.1.0",- "xml-name-validator": "^3.0.0"- },- "dependencies": {- "acorn": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.2.1.tgz",- "integrity": "sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q==",- "dev": true- },- "ajv": {- "version": "6.10.2",- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",- "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",+ "arch": "^2.1.0",+ "execa": "^0.8.0"+ },+ "dependencies": {+ "cross-spawn": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",+ "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=","dev": true,"requires": {- "fast-deep-equal": "^2.0.1",- "fast-json-stable-stringify": "^2.0.0",- "json-schema-traverse": "^0.4.1",- "uri-js": "^4.2.2"+ "lru-cache": "^4.0.1",+ "shebang-command": "^1.2.0",+ "which": "^1.2.9"}},- "har-validator": {- "version": "5.1.3",- "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",- "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",+ "execa": {+ "version": "0.8.0",+ "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz",+ "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=","dev": true,"requires": {- "ajv": "^6.5.5",- "har-schema": "^2.0.0"+ "cross-spawn": "^5.0.1",+ "get-stream": "^3.0.0",+ "is-stream": "^1.1.0",+ "npm-run-path": "^2.0.0",+ "p-finally": "^1.0.0",+ "signal-exit": "^3.0.0",+ "strip-eof": "^1.0.0"}},- "oauth-sign": {- "version": "0.9.0",- "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",- "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",- "dev": true- },- "parse5": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.0.tgz",- "integrity": "sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ==",+ "get-stream": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",+ "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=","dev": true},- "punycode": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",- "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",+ "is-stream": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",+ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=","dev": true},- "request": {- "version": "2.88.0",- "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",- "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==",+ "npm-run-path": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",+ "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=","dev": true,"requires": {- "aws-sign2": "~0.7.0",- "aws4": "^1.8.0",- "caseless": "~0.12.0",- "combined-stream": "~1.0.6",- "extend": "~3.0.2",- "forever-agent": "~0.6.1",- "form-data": "~2.3.2",- "har-validator": "~5.1.0",- "http-signature": "~1.2.0",- "is-typedarray": "~1.0.0",- "isstream": "~0.1.2",- "json-stringify-safe": "~5.0.1",- "mime-types": "~2.1.19",- "oauth-sign": "~0.9.0",- "performance-now": "^2.1.0",- "qs": "~6.5.2",- "safe-buffer": "^5.1.2",- "tough-cookie": "~2.4.3",- "tunnel-agent": "^0.6.0",- "uuid": "^3.3.2"- },- "dependencies": {- "tough-cookie": {- "version": "2.4.3",- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",- "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==",- "dev": true,- "requires": {- "psl": "^1.1.24",- "punycode": "^1.4.1"- }- }+ "path-key": "^2.0.0"}},- "tough-cookie": {- "version": "2.5.0",- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",- "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",+ "path-key": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",+ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",+ "dev": true+ },+ "shebang-command": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",+ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=","dev": true,"requires": {- "psl": "^1.1.28",- "punycode": "^2.1.1"- },- "dependencies": {- "punycode": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",- "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",- "dev": true- }+ "shebang-regex": "^1.0.0"}- }- }- },- "jsesc": {- "version": "0.5.0",- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",- "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",- "dev": true- },- "json-buffer": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",- "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=",- "dev": true- },- "json-parse-better-errors": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",- "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",- "dev": true- },- "json-schema": {- "version": "0.2.3",- "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",- "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=",- "dev": true- },- "json-schema-traverse": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",- "dev": true- },- "json-stringify-safe": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",- "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",- "dev": true- },- "json3": {- "version": "3.3.3",- "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz",- "integrity": "sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA==",- "dev": true- },- "json5": {- "version": "0.5.1",- "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",- "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",- "dev": true- },- "jsprim": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",- "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",- "dev": true,- "requires": {- "assert-plus": "1.0.0",- "extsprintf": "1.3.0",- "json-schema": "0.2.3",- "verror": "1.10.0"- }- },- "keyv": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.0.0.tgz",- "integrity": "sha512-eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA==",- "dev": true,- "requires": {- "json-buffer": "3.0.0"- }- },- "killable": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/killable/-/killable-1.0.1.tgz",- "integrity": "sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg==",- "dev": true- },- "kind-of": {- "version": "6.0.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",- "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",- "dev": true- },- "kleur": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",- "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",- "dev": true- },- "last-call-webpack-plugin": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz",- "integrity": "sha512-7KI2l2GIZa9p2spzPIVZBYyNKkN+e/SQPpnjlTiPhdbDW3F86tdKKELxKpzJ5sgU19wQWsACULZmpTPYHeWO5w==",- "dev": true,- "requires": {- "lodash": "^4.17.5",- "webpack-sources": "^1.1.0"- }- },- "lcid": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",- "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",- "dev": true,- "requires": {- "invert-kv": "^1.0.0"- }- },- "left-pad": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz",- "integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==",- "dev": true- },- "leven": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz",- "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=",- "dev": true- },- "levn": {- "version": "0.3.0",- "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",- "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",- "dev": true,- "requires": {- "prelude-ls": "~1.1.2",- "type-check": "~0.3.2"+ },+ "shebang-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",+ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",+ "dev": true+ },+ "which": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",+ "dev": true,+ "requires": {+ "isexe": "^2.0.0"+ }+ }}},- "lines-and-columns": {- "version": "1.1.6",- "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",- "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=",- "dev": true- },- "linkstate": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/linkstate/-/linkstate-1.1.1.tgz",- "integrity": "sha512-5SICdxQG9FpWk44wSEoM2WOCUNuYfClp10t51XAIV5E7vUILF/dTYxf0vJw6bW2dUd2wcQon+LkNtRijpNLrig==",- "dev": true- },- "load-json-file": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",- "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",+ "coa": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz",+ "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==","dev": true,"requires": {- "graceful-fs": "^4.1.2",- "parse-json": "^2.2.0",- "pify": "^2.0.0",- "pinkie-promise": "^2.0.0",- "strip-bom": "^2.0.0"+ "@types/q": "^1.5.1",+ "chalk": "^2.4.1",+ "q": "^1.1.2"},"dependencies": {- "parse-json": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",- "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "error-ex": "^1.2.0"+ "color-name": "1.1.3"}},- "pify": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true+ },+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "loader-runner": {- "version": "2.4.0",- "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz",- "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==",- "dev": true- },- "loader-utils": {- "version": "1.2.3",- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",- "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",+ "color": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/color/-/color-3.1.2.tgz",+ "integrity": "sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==","dev": true,"requires": {- "big.js": "^5.2.2",- "emojis-list": "^2.0.0",- "json5": "^1.0.1"+ "color-convert": "^1.9.1",+ "color-string": "^1.5.2"},"dependencies": {- "big.js": {- "version": "5.2.2",- "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",- "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",- "dev": true- },- "json5": {- "version": "1.0.1",- "resolved": "http://registry.npmjs.org/json5/-/json5-1.0.1.tgz",- "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "minimist": "^1.2.0"+ "color-name": "1.1.3"}},- "minimist": {- "version": "1.2.0",- "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true}}},- "locate-path": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",- "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",+ "color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==","dev": true,"requires": {- "p-locate": "^2.0.0",- "path-exists": "^3.0.0"+ "color-name": "~1.1.4"}},- "lodash": {- "version": "4.17.11",- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",- "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",- "dev": true- },- "lodash.memoize": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",- "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=",- "dev": true- },- "lodash.sortby": {- "version": "4.7.0",- "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",- "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=",- "dev": true- },- "lodash.uniq": {- "version": "4.5.0",- "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",- "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=",+ "color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==","dev": true},- "log-symbols": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",- "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==",+ "color-string": {+ "version": "1.5.3",+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz",+ "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==","dev": true,"requires": {- "chalk": "^2.0.1"+ "color-name": "^1.0.0",+ "simple-swizzle": "^0.2.2"}},- "loglevel": {- "version": "1.6.3",- "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.3.tgz",- "integrity": "sha512-LoEDv5pgpvWgPF4kNYuIp0qqSJVWak/dML0RY74xlzMZiT9w77teNAwKYKWBTYjlokMirg+o3jBwp+vlLrcfAA==",+ "comlink": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/comlink/-/comlink-4.3.0.tgz",+ "integrity": "sha512-mu4KKKNuW8TvkfpW/H88HBPeILubBS6T94BdD1VWBXNXfiyqVtwUCVNO1GeNOBTsIswzsMjWlycYr+77F5b84g==","dev": true},- "loose-envify": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",- "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",- "dev": true,- "requires": {- "js-tokens": "^3.0.0 || ^4.0.0"- }- },- "loud-rejection": {- "version": "1.6.0",- "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz",- "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=",- "dev": true,- "requires": {- "currently-unhandled": "^0.4.1",- "signal-exit": "^3.0.0"- }- },- "lower-case": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz",- "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=",+ "commander": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.0.tgz",+ "integrity": "sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q==","dev": true},- "lowercase-keys": {+ "commondir": {"version": "1.0.1",- "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",- "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",+ "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",+ "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=","dev": true},- "lru-cache": {- "version": "4.1.3",- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz",- "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==",+ "compare-versions": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz",+ "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==",+ "dev": true+ },+ "compressible": {+ "version": "2.0.18",+ "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",+ "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==","dev": true,"requires": {- "pseudomap": "^1.0.2",- "yallist": "^2.1.2"+ "mime-db": ">= 1.43.0 < 2"}},- "make-dir": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",- "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",+ "compression": {+ "version": "1.7.3",+ "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.3.tgz",+ "integrity": "sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg==","dev": true,"requires": {- "pify": "^4.0.1",- "semver": "^5.6.0"+ "accepts": "~1.3.5",+ "bytes": "3.0.0",+ "compressible": "~2.0.14",+ "debug": "2.6.9",+ "on-headers": "~1.0.1",+ "safe-buffer": "5.1.2",+ "vary": "~1.1.2"},"dependencies": {- "pify": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",+ "debug": {+ "version": "2.6.9",+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",+ "dev": true,+ "requires": {+ "ms": "2.0.0"+ }+ },+ "ms": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=","dev": true},- "semver": {- "version": "5.7.0",- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",- "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",+ "safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==","dev": true}}},- "makeerror": {- "version": "1.0.11",- "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.11.tgz",- "integrity": "sha1-4BpckQnyr3lmDk6LlYd5AYT1qWw=",- "dev": true,- "requires": {- "tmpl": "1.0.x"- }- },- "mamacro": {- "version": "0.0.3",- "resolved": "https://registry.npmjs.org/mamacro/-/mamacro-0.0.3.tgz",- "integrity": "sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA==",- "dev": true- },- "map-age-cleaner": {- "version": "0.1.2",- "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.2.tgz",- "integrity": "sha512-UN1dNocxQq44IhJyMI4TU8phc2m9BddacHRPRjKGLYaF0jqd3xLz0jS0skpAU9WgYyoR4gHtUpzytNBS385FWQ==",- "dev": true,- "requires": {- "p-defer": "^1.0.0"- }- },- "map-cache": {- "version": "0.2.2",- "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",- "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=",+ "concat-map": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=","dev": true},- "map-obj": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",- "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",+ "content-disposition": {+ "version": "0.5.2",+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz",+ "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=","dev": true},- "map-visit": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",- "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=",+ "cosmiconfig": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz",+ "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==","dev": true,"requires": {- "object-visit": "^1.0.0"+ "@types/parse-json": "^4.0.0",+ "import-fresh": "^3.2.1",+ "parse-json": "^5.0.0",+ "path-type": "^4.0.0",+ "yaml": "^1.10.0"}},- "md5.js": {- "version": "1.3.5",- "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",- "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==",+ "cross-spawn": {+ "version": "7.0.3",+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==","dev": true,"requires": {- "hash-base": "^3.0.0",- "inherits": "^2.0.1",- "safe-buffer": "^5.1.2"+ "path-key": "^3.1.0",+ "shebang-command": "^2.0.0",+ "which": "^2.0.1"}},- "mdn-data": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-1.1.4.tgz",- "integrity": "sha512-FSYbp3lyKjyj3E7fMl6rYvUdX0FBXaluGqlFoYESWQlyUTq8R+wp0rkFxoYFqZlHCvsUXGjyJmLQSnXToYhOSA==",- "dev": true- },- "media-typer": {- "version": "0.3.0",- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",- "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",+ "css-color-names": {+ "version": "0.0.4",+ "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",+ "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=","dev": true},- "mem": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/mem/-/mem-4.0.0.tgz",- "integrity": "sha512-WQxG/5xYc3tMbYLXoXPm81ET2WDULiU5FxbuIoNbJqLOOI8zehXFdZuiUEgfdrU2mVB1pxBZUGlYORSrpuJreA==",- "dev": true,- "requires": {- "map-age-cleaner": "^0.1.1",- "mimic-fn": "^1.0.0",- "p-is-promise": "^1.1.0"- }- },- "mem-fs": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/mem-fs/-/mem-fs-1.1.3.tgz",- "integrity": "sha1-uK6NLj/Lb10/kWXBLUVRoGXZicw=",- "dev": true,- "requires": {- "through2": "^2.0.0",- "vinyl": "^1.1.0",- "vinyl-file": "^2.0.0"- }- },- "mem-fs-editor": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/mem-fs-editor/-/mem-fs-editor-5.1.0.tgz",- "integrity": "sha512-2Yt2GCYEbcotYbIJagmow4gEtHDqzpq5XN94+yAx/NT5+bGqIjkXnm3KCUQfE6kRfScGp9IZknScoGRKu8L78w==",+ "css-declaration-sorter": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz",+ "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==","dev": true,"requires": {- "commondir": "^1.0.1",- "deep-extend": "^0.6.0",- "ejs": "^2.5.9",- "glob": "^7.0.3",- "globby": "^8.0.1",- "isbinaryfile": "^3.0.2",- "mkdirp": "^0.5.0",- "multimatch": "^2.0.0",- "rimraf": "^2.2.8",- "through2": "^2.0.0",- "vinyl": "^2.0.1"+ "postcss": "^7.0.1",+ "timsort": "^0.3.0"},"dependencies": {- "clone": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",- "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=",- "dev": true+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }},- "clone-stats": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz",- "integrity": "sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=",- "dev": true+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }},- "globby": {- "version": "8.0.2",- "resolved": "https://registry.npmjs.org/globby/-/globby-8.0.2.tgz",- "integrity": "sha512-yTzMmKygLp8RUpG1Ymu2VXPSJQZjNAZPD4ywgYEaG7e4tBJeUQBO8OpXrf1RCNcEs5alsoJYPAMiIHP0cmeC7w==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "array-union": "^1.0.1",- "dir-glob": "2.0.0",- "fast-glob": "^2.0.2",- "glob": "^7.1.2",- "ignore": "^3.3.5",- "pify": "^3.0.0",- "slash": "^1.0.0"+ "color-name": "1.1.3"}},- "replace-ext": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz",- "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "vinyl": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.2.0.tgz",- "integrity": "sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg==",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "clone": "^2.1.1",- "clone-buffer": "^1.0.0",- "clone-stats": "^1.0.0",- "cloneable-readable": "^1.0.0",- "remove-trailing-separator": "^1.0.1",- "replace-ext": "^1.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}- }- }- },- "memory-fs": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz",- "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=",- "dev": true,- "requires": {- "errno": "^0.1.3",- "readable-stream": "^2.0.1"- }- },- "meow": {- "version": "3.7.0",- "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",- "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=",- "dev": true,- "requires": {- "camelcase-keys": "^2.0.0",- "decamelize": "^1.1.2",- "loud-rejection": "^1.0.0",- "map-obj": "^1.0.1",- "minimist": "^1.1.3",- "normalize-package-data": "^2.3.4",- "object-assign": "^4.0.1",- "read-pkg-up": "^1.0.1",- "redent": "^1.0.0",- "trim-newlines": "^1.0.0"- },- "dependencies": {- "minimist": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",- "dev": true- }- }- },- "merge-descriptors": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",- "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=",- "dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }},- "merge-stream": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz",- "integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=",+ "css-select": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz",+ "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==","dev": true,"requires": {- "readable-stream": "^2.0.1"+ "boolbase": "^1.0.0",+ "css-what": "^3.2.1",+ "domutils": "^1.7.0",+ "nth-check": "^1.0.2"}},- "merge2": {- "version": "1.2.3",- "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.2.3.tgz",- "integrity": "sha512-gdUU1Fwj5ep4kplwcmftruWofEFt6lfpkkr3h860CXbAB9c3hGb55EOL2ali0Td5oebvW0E1+3Sr+Ur7XfKpRA==",- "dev": true- },- "methods": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",- "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=",+ "css-select-base-adapter": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz",+ "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==","dev": true},- "micromatch": {- "version": "3.1.10",- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",- "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",- "dev": true,- "requires": {- "arr-diff": "^4.0.0",- "array-unique": "^0.3.2",- "braces": "^2.3.1",- "define-property": "^2.0.2",- "extend-shallow": "^3.0.2",- "extglob": "^2.0.4",- "fragment-cache": "^0.2.1",- "kind-of": "^6.0.2",- "nanomatch": "^1.2.9",- "object.pick": "^1.3.0",- "regex-not": "^1.0.0",- "snapdragon": "^0.8.1",- "to-regex": "^3.0.2"- }- },- "miller-rabin": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",- "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==",+ "css-tree": {+ "version": "1.0.0-alpha.37",+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.37.tgz",+ "integrity": "sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==","dev": true,"requires": {- "bn.js": "^4.0.0",- "brorand": "^1.0.1"+ "mdn-data": "2.0.4",+ "source-map": "^0.6.1"}},- "mime": {- "version": "1.6.0",- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",+ "css-what": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.3.0.tgz",+ "integrity": "sha512-pv9JPyatiPaQ6pf4OvD/dbfm0o5LviWmwxNWzblYf/1u9QZd0ihV+PMwy5jdQWQ3349kZmKEx9WXuSka2dM4cg==","dev": true},- "mime-db": {- "version": "1.36.0",- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz",- "integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==",+ "cssesc": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==","dev": true},- "mime-types": {- "version": "2.1.20",- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz",- "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==",+ "cssnano": {+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz",+ "integrity": "sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ==","dev": true,"requires": {- "mime-db": "~1.36.0"+ "cosmiconfig": "^5.0.0",+ "cssnano-preset-default": "^4.0.7",+ "is-resolvable": "^1.0.0",+ "postcss": "^7.0.0"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "cosmiconfig": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz",+ "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==",+ "dev": true,+ "requires": {+ "import-fresh": "^2.0.0",+ "is-directory": "^0.3.1",+ "js-yaml": "^3.13.1",+ "parse-json": "^4.0.0"+ }+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "import-fresh": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz",+ "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=",+ "dev": true,+ "requires": {+ "caller-path": "^2.0.0",+ "resolve-from": "^3.0.0"+ }+ },+ "parse-json": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",+ "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=",+ "dev": true,+ "requires": {+ "error-ex": "^1.3.1",+ "json-parse-better-errors": "^1.0.1"+ }+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "resolve-from": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",+ "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=",+ "dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "mimic-fn": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",- "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",- "dev": true- },- "mimic-response": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",- "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",- "dev": true- },- "mini-css-extract-plugin": {- "version": "0.8.0",- "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-0.8.0.tgz",- "integrity": "sha512-MNpRGbNA52q6U92i0qbVpQNsgk7LExy41MdAlG84FeytfDOtRIf/mCHdEgG8rpTKOaNKiqUnZdlptF469hxqOw==",+ "cssnano-preset-default": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz",+ "integrity": "sha512-x0YHHx2h6p0fCl1zY9L9roD7rnlltugGu7zXSKQx6k2rYw0Hi3IqxcoAGF7u9Q5w1nt7vK0ulxV8Lo+EvllGsA==","dev": true,"requires": {- "loader-utils": "^1.1.0",- "normalize-url": "1.9.1",- "schema-utils": "^1.0.0",- "webpack-sources": "^1.1.0"+ "css-declaration-sorter": "^4.0.1",+ "cssnano-util-raw-cache": "^4.0.1",+ "postcss": "^7.0.0",+ "postcss-calc": "^7.0.1",+ "postcss-colormin": "^4.0.3",+ "postcss-convert-values": "^4.0.1",+ "postcss-discard-comments": "^4.0.2",+ "postcss-discard-duplicates": "^4.0.2",+ "postcss-discard-empty": "^4.0.1",+ "postcss-discard-overridden": "^4.0.1",+ "postcss-merge-longhand": "^4.0.11",+ "postcss-merge-rules": "^4.0.3",+ "postcss-minify-font-values": "^4.0.2",+ "postcss-minify-gradients": "^4.0.2",+ "postcss-minify-params": "^4.0.2",+ "postcss-minify-selectors": "^4.0.2",+ "postcss-normalize-charset": "^4.0.1",+ "postcss-normalize-display-values": "^4.0.2",+ "postcss-normalize-positions": "^4.0.2",+ "postcss-normalize-repeat-style": "^4.0.2",+ "postcss-normalize-string": "^4.0.2",+ "postcss-normalize-timing-functions": "^4.0.2",+ "postcss-normalize-unicode": "^4.0.1",+ "postcss-normalize-url": "^4.0.1",+ "postcss-normalize-whitespace": "^4.0.2",+ "postcss-ordered-values": "^4.1.2",+ "postcss-reduce-initial": "^4.0.3",+ "postcss-reduce-transforms": "^4.0.2",+ "postcss-svgo": "^4.0.2",+ "postcss-unique-selectors": "^4.0.1"},"dependencies": {- "normalize-url": {- "version": "1.9.1",- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz",- "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "object-assign": "^4.0.1",- "prepend-http": "^1.0.0",- "query-string": "^4.1.0",- "sort-keys": "^1.0.0"+ "color-name": "1.1.3"}},- "prepend-http": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",- "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "query-string": {- "version": "4.3.4",- "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz",- "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "object-assign": "^4.1.0",- "strict-uri-encode": "^1.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "sort-keys": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz",- "integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "is-plain-obj": "^1.0.0"+ "has-flag": "^3.0.0"}}}},- "minimalistic-assert": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",- "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==",- "dev": true- },- "minimalistic-crypto-utils": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",- "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=",+ "cssnano-util-get-arguments": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz",+ "integrity": "sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8=","dev": true},- "minimatch": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",- "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",- "dev": true,- "requires": {- "brace-expansion": "^1.1.7"- }- },- "minimist": {- "version": "0.0.8",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",- "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",+ "cssnano-util-get-match": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz",+ "integrity": "sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0=","dev": true},- "mississippi": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz",- "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==",+ "cssnano-util-raw-cache": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz",+ "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==","dev": true,"requires": {- "concat-stream": "^1.5.0",- "duplexify": "^3.4.2",- "end-of-stream": "^1.1.0",- "flush-write-stream": "^1.0.0",- "from2": "^2.1.0",- "parallel-transform": "^1.1.0",- "pump": "^3.0.0",- "pumpify": "^1.3.3",- "stream-each": "^1.1.0",- "through2": "^2.0.0"+ "postcss": "^7.0.0"},"dependencies": {- "pump": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "end-of-stream": "^1.1.0",- "once": "^1.3.1"+ "has-flag": "^3.0.0"}}}},- "mixin-deep": {- "version": "1.3.1",- "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz",- "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==",+ "cssnano-util-same-parent": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz",+ "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==",+ "dev": true+ },+ "csso": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/csso/-/csso-4.0.3.tgz",+ "integrity": "sha512-NL3spysxUkcrOgnpsT4Xdl2aiEiBG6bXswAABQVHcMrfjjBisFOKwLDOmf4wf32aPdcJws1zds2B0Rg+jqMyHQ==","dev": true,"requires": {- "for-in": "^1.0.2",- "is-extendable": "^1.0.1"+ "css-tree": "1.0.0-alpha.39"},"dependencies": {- "is-extendable": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",- "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",+ "css-tree": {+ "version": "1.0.0-alpha.39",+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.39.tgz",+ "integrity": "sha512-7UvkEYgBAHRG9Nt980lYxjsTrCyHFN53ky3wVsDkiMdVqylqRt+Zc+jm5qw7/qyOvN2dHSYtX0e4MbCCExSvnA==","dev": true,"requires": {- "is-plain-object": "^2.0.4"+ "mdn-data": "2.0.6",+ "source-map": "^0.6.1"}+ },+ "mdn-data": {+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.6.tgz",+ "integrity": "sha512-rQvjv71olwNHgiTbfPZFkJtjNMciWgswYeciZhtvWLO8bmX3TnhyA62I6sTWOyZssWHJJjY6/KiWwqQsWWsqOA==",+ "dev": true}}},- "mkdirp": {- "version": "0.5.1",- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",- "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",- "dev": true,- "requires": {- "minimist": "0.0.8"- }- },- "move-concurrently": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",- "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=",- "dev": true,- "requires": {- "aproba": "^1.1.1",- "copy-concurrently": "^1.0.0",- "fs-write-stream-atomic": "^1.0.8",- "mkdirp": "^0.5.1",- "rimraf": "^2.5.4",- "run-queue": "^1.0.3"- }- },- "ms": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",- "dev": true- },- "multicast-dns": {- "version": "6.2.3",- "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz",- "integrity": "sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g==",- "dev": true,- "requires": {- "dns-packet": "^1.3.1",- "thunky": "^1.0.2"- }- },- "multicast-dns-service-types": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz",- "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=",+ "cuint": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/cuint/-/cuint-0.2.2.tgz",+ "integrity": "sha1-QICG1AlVDCYxFVYZ6fp7ytw7mRs=","dev": true},- "multimatch": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz",- "integrity": "sha1-nHkGoi+0wCkZ4vX3UWG0zb1LKis=",+ "debug": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz",+ "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==","dev": true,"requires": {- "array-differ": "^1.0.0",- "array-union": "^1.0.1",- "arrify": "^1.0.0",- "minimatch": "^3.0.0"+ "ms": "2.1.2"}},- "mute-stream": {- "version": "0.0.7",- "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",- "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",- "dev": true- },- "nan": {- "version": "2.11.0",- "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.0.tgz",- "integrity": "sha512-F4miItu2rGnV2ySkXOQoA8FKz/SR2Q2sWP0sbTxNxz/tuokeC8WxOhPMcwi0qIyGtVn/rrSeLbvVkznqCdwYnw==",- "dev": true,- "optional": true- },- "nanomatch": {- "version": "1.2.13",- "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",- "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",- "dev": true,- "requires": {- "arr-diff": "^4.0.0",- "array-unique": "^0.3.2",- "define-property": "^2.0.2",- "extend-shallow": "^3.0.2",- "fragment-cache": "^0.2.1",- "is-windows": "^1.0.2",- "kind-of": "^6.0.2",- "object.pick": "^1.3.0",- "regex-not": "^1.0.0",- "snapdragon": "^0.8.1",- "to-regex": "^3.0.1"- }- },- "natural-compare": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",- "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",- "dev": true- },- "negotiator": {- "version": "0.6.2",- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",- "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",+ "dedent": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz",+ "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=","dev": true},- "neo-async": {- "version": "2.5.2",- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.5.2.tgz",- "integrity": "sha512-vdqTKI9GBIYcAEbFAcpKPErKINfPF5zIuz3/niBfq8WUZjpT2tytLlFVrBgWdOtqI4uaA/Rb6No0hux39XXDuw==",+ "deep-extend": {+ "version": "0.6.0",+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==","dev": true},- "nice-try": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",- "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",+ "deepmerge": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",+ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==","dev": true},- "no-case": {- "version": "2.3.2",- "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz",- "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==",+ "define-properties": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==","dev": true,"requires": {- "lower-case": "^1.1.1"+ "object-keys": "^1.0.12"}},- "node-dir": {- "version": "0.1.17",- "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz",- "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=",+ "del": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/del/-/del-5.1.0.tgz",+ "integrity": "sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA==","dev": true,"requires": {- "minimatch": "^3.0.2"+ "globby": "^10.0.1",+ "graceful-fs": "^4.2.2",+ "is-glob": "^4.0.1",+ "is-path-cwd": "^2.2.0",+ "is-path-inside": "^3.0.1",+ "p-map": "^3.0.0",+ "rimraf": "^3.0.0",+ "slash": "^3.0.0"}},- "node-fetch": {- "version": "2.6.0",- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",- "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==",- "dev": true- },- "node-forge": {- "version": "0.7.5",- "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz",- "integrity": "sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ==",- "dev": true- },- "node-gyp": {- "version": "3.8.0",- "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz",- "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==",+ "dir-glob": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==","dev": true,"requires": {- "fstream": "^1.0.0",- "glob": "^7.0.3",- "graceful-fs": "^4.1.2",- "mkdirp": "^0.5.0",- "nopt": "2 || 3",- "npmlog": "0 || 1 || 2 || 3 || 4",- "osenv": "0",- "request": "^2.87.0",- "rimraf": "2",- "semver": "~5.3.0",- "tar": "^2.0.0",- "which": "1"- },- "dependencies": {- "semver": {- "version": "5.3.0",- "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",- "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=",- "dev": true- }+ "path-type": "^4.0.0"}},- "node-int64": {- "version": "0.4.0",- "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",- "integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=",- "dev": true- },- "node-libs-browser": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz",- "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==",+ "dom-serializer": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz",+ "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==","dev": true,"requires": {- "assert": "^1.1.1",- "browserify-zlib": "^0.2.0",- "buffer": "^4.3.0",- "console-browserify": "^1.1.0",- "constants-browserify": "^1.0.0",- "crypto-browserify": "^3.11.0",- "domain-browser": "^1.1.1",- "events": "^3.0.0",- "https-browserify": "^1.0.0",- "os-browserify": "^0.3.0",- "path-browserify": "0.0.1",- "process": "^0.11.10",- "punycode": "^1.2.4",- "querystring-es3": "^0.2.0",- "readable-stream": "^2.3.3",- "stream-browserify": "^2.0.1",- "stream-http": "^2.7.2",- "string_decoder": "^1.0.0",- "timers-browserify": "^2.0.4",- "tty-browserify": "0.0.0",- "url": "^0.11.0",- "util": "^0.11.0",- "vm-browserify": "^1.0.1"+ "domelementtype": "^2.0.1",+ "entities": "^2.0.0"},"dependencies": {- "punycode": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",- "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",+ "domelementtype": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.0.1.tgz",+ "integrity": "sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ==","dev": true}}},- "node-modules-regexp": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz",- "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=",+ "domelementtype": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",+ "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==","dev": true},- "node-notifier": {- "version": "5.4.0",- "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.0.tgz",- "integrity": "sha512-SUDEb+o71XR5lXSTyivXd9J7fCloE3SyP4lSgt3lU2oSANiox+SxlNRGPjDKrwU1YN3ix2KN/VGGCg0t01rttQ==",- "dev": true,- "requires": {- "growly": "^1.3.0",- "is-wsl": "^1.1.0",- "semver": "^5.5.0",- "shellwords": "^0.1.1",- "which": "^1.3.0"- }- },- "node-releases": {- "version": "1.1.19",- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.19.tgz",- "integrity": "sha512-SH/B4WwovHbulIALsQllAVwqZZD1kPmKCqrhGfR29dXjLAVZMHvBjD3S6nL9D/J9QkmZ1R92/0wCMDKXUUvyyA==",+ "domutils": {+ "version": "1.7.0",+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",+ "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==","dev": true,"requires": {- "semver": "^5.3.0"+ "dom-serializer": "0",+ "domelementtype": "1"}},- "node-sass": {- "version": "4.13.0",- "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.13.0.tgz",- "integrity": "sha512-W1XBrvoJ1dy7VsvTAS5q1V45lREbTlZQqFbiHb3R3OTTCma0XBtuG6xZ6Z4506nR4lmHPTqVRwxT6KgtWC97CA==",+ "dot-prop": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz",+ "integrity": "sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A==","dev": true,"requires": {- "async-foreach": "^0.1.3",- "chalk": "^1.1.1",- "cross-spawn": "^3.0.0",- "gaze": "^1.0.0",- "get-stdin": "^4.0.1",- "glob": "^7.0.3",- "in-publish": "^2.0.0",- "lodash": "^4.17.15",- "meow": "^3.7.0",- "mkdirp": "^0.5.1",- "nan": "^2.13.2",- "node-gyp": "^3.8.0",- "npmlog": "^4.0.0",- "request": "^2.88.0",- "sass-graph": "^2.2.4",- "stdout-stream": "^1.4.0",- "true-case-path": "^1.0.2"- },- "dependencies": {- "ajv": {- "version": "6.12.0",- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz",- "integrity": "sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==",- "dev": true,- "requires": {- "fast-deep-equal": "^3.1.1",- "fast-json-stable-stringify": "^2.0.0",- "json-schema-traverse": "^0.4.1",- "uri-js": "^4.2.2"- }- },- "ansi-styles": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",- "dev": true- },- "chalk": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",- "dev": true,- "requires": {- "ansi-styles": "^2.2.1",- "escape-string-regexp": "^1.0.2",- "has-ansi": "^2.0.0",- "strip-ansi": "^3.0.0",- "supports-color": "^2.0.0"- }- },- "cross-spawn": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz",- "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=",- "dev": true,- "requires": {- "lru-cache": "^4.0.1",- "which": "^1.2.9"- }- },- "escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",- "dev": true- },- "fast-deep-equal": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",- "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==",- "dev": true- },- "get-stdin": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",- "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",- "dev": true- },- "har-validator": {- "version": "5.1.3",- "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",- "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",- "dev": true,- "requires": {- "ajv": "^6.5.5",- "har-schema": "^2.0.0"- }- },- "lodash": {- "version": "4.17.15",- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",- "dev": true- },- "nan": {- "version": "2.14.0",- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",- "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==",- "dev": true- },- "oauth-sign": {- "version": "0.9.0",- "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",- "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",- "dev": true- },- "request": {- "version": "2.88.2",- "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",- "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",- "dev": true,- "requires": {- "aws-sign2": "~0.7.0",- "aws4": "^1.8.0",- "caseless": "~0.12.0",- "combined-stream": "~1.0.6",- "extend": "~3.0.2",- "forever-agent": "~0.6.1",- "form-data": "~2.3.2",- "har-validator": "~5.1.3",- "http-signature": "~1.2.0",- "is-typedarray": "~1.0.0",- "isstream": "~0.1.2",- "json-stringify-safe": "~5.0.1",- "mime-types": "~2.1.19",- "oauth-sign": "~0.9.0",- "performance-now": "^2.1.0",- "qs": "~6.5.2",- "safe-buffer": "^5.1.2",- "tough-cookie": "~2.5.0",- "tunnel-agent": "^0.6.0",- "uuid": "^3.3.2"- }- },- "supports-color": {+ "is-obj": "^2.0.0"+ },+ "dependencies": {+ "is-obj": {"version": "2.0.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",+ "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==","dev": true- },- "tough-cookie": {- "version": "2.5.0",- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",- "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",- "dev": true,- "requires": {- "psl": "^1.1.28",- "punycode": "^2.1.1"- }}}},- "nopt": {- "version": "3.0.6",- "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",- "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",+ "ejs": {+ "version": "2.7.4",+ "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.7.4.tgz",+ "integrity": "sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA==",+ "dev": true+ },+ "electron-to-chromium": {+ "version": "1.3.538",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.538.tgz",+ "integrity": "sha512-rlyYXLlOoZkJuvY4AJXUpP7CHRVtwZz311HPVoEO1UHo/kqDCsP1pNas0A9paZuPEiYGdLwrjllF2hs69NEaTw==",+ "dev": true+ },+ "emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "dev": true+ },+ "emojis-list": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",+ "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",+ "dev": true+ },+ "end-of-stream": {+ "version": "1.4.4",+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==","dev": true,"requires": {- "abbrev": "1"+ "once": "^1.4.0"}},- "normalize-package-data": {- "version": "2.4.0",- "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz",- "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==",+ "enquirer": {+ "version": "2.3.6",+ "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",+ "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==","dev": true,"requires": {- "hosted-git-info": "^2.1.4",- "is-builtin-module": "^1.0.0",- "semver": "2 || 3 || 4 || 5",- "validate-npm-package-license": "^3.0.1"+ "ansi-colors": "^4.1.1"}},- "normalize-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",+ "entities": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz",+ "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==","dev": true},- "normalize-url": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz",- "integrity": "sha512-D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw==",+ "error-ex": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==","dev": true,"requires": {- "prepend-http": "^2.0.0",- "query-string": "^5.0.1",- "sort-keys": "^2.0.0"+ "is-arrayish": "^0.2.1"}},- "npm-run-path": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",- "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",+ "es-abstract": {+ "version": "1.17.6",+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",+ "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==","dev": true,"requires": {- "path-key": "^2.0.0"+ "es-to-primitive": "^1.2.1",+ "function-bind": "^1.1.1",+ "has": "^1.0.3",+ "has-symbols": "^1.0.1",+ "is-callable": "^1.2.0",+ "is-regex": "^1.1.0",+ "object-inspect": "^1.7.0",+ "object-keys": "^1.1.1",+ "object.assign": "^4.1.0",+ "string.prototype.trimend": "^1.0.1",+ "string.prototype.trimstart": "^1.0.1"}},- "npmlog": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",- "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",+ "es-to-primitive": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==","dev": true,"requires": {- "are-we-there-yet": "~1.1.2",- "console-control-strings": "~1.1.0",- "gauge": "~2.7.3",- "set-blocking": "~2.0.0"+ "is-callable": "^1.1.4",+ "is-date-object": "^1.0.1",+ "is-symbol": "^1.0.2"}},- "nth-check": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz",- "integrity": "sha1-mSms32KPwsQQmN6rgqxYDPFJquQ=",- "dev": true,- "requires": {- "boolbase": "~1.0.0"- }+ "escalade": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.0.2.tgz",+ "integrity": "sha512-gPYAU37hYCUhW5euPeR+Y74F7BL+IBsV93j5cvGriSaD1aG6MGsqsV1yamRdrWrb2j3aiZvb0X+UBOWpx3JWtQ==",+ "dev": true},- "number-is-nan": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",- "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",+ "escape-string-regexp": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=","dev": true},- "nwsapi": {- "version": "2.0.9",- "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.0.9.tgz",- "integrity": "sha512-nlWFSCTYQcHk/6A9FFnfhKc14c3aFhfdNBXgo8Qgi9QTBu/qg3Ww+Uiz9wMzXd1T8GFxPc2QIHB6Qtf2XFryFQ==",+ "esm": {+ "version": "3.2.25",+ "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz",+ "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==","dev": true},- "oauth-sign": {- "version": "0.8.2",- "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz",- "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=",+ "esprima": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==","dev": true},- "object-assign": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",- "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",+ "estree-walker": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz",+ "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==","dev": true},- "object-copy": {- "version": "0.1.0",- "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",- "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=",+ "execa": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",+ "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==","dev": true,"requires": {- "copy-descriptor": "^0.1.0",- "define-property": "^0.2.5",- "kind-of": "^3.0.3"- },- "dependencies": {- "define-property": {- "version": "0.2.5",- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",- "dev": true,- "requires": {- "is-descriptor": "^0.1.0"- }- },- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "dev": true,- "requires": {- "is-buffer": "^1.1.5"- }- }+ "cross-spawn": "^7.0.0",+ "get-stream": "^5.0.0",+ "human-signals": "^1.1.1",+ "is-stream": "^2.0.0",+ "merge-stream": "^2.0.0",+ "npm-run-path": "^4.0.0",+ "onetime": "^5.1.0",+ "signal-exit": "^3.0.2",+ "strip-final-newline": "^2.0.0"}},- "object-keys": {- "version": "1.0.12",- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz",- "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==",+ "fast-deep-equal": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=","dev": true},- "object-visit": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",- "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=",+ "fast-glob": {+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.4.tgz",+ "integrity": "sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ==","dev": true,"requires": {- "isobject": "^3.0.0"+ "@nodelib/fs.stat": "^2.0.2",+ "@nodelib/fs.walk": "^1.2.3",+ "glob-parent": "^5.1.0",+ "merge2": "^1.3.0",+ "micromatch": "^4.0.2",+ "picomatch": "^2.2.1"}},- "object.assign": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",- "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",- "dev": true,- "requires": {- "define-properties": "^1.1.2",- "function-bind": "^1.1.1",- "has-symbols": "^1.0.0",- "object-keys": "^1.0.11"- }+ "fast-json-stable-stringify": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",+ "dev": true},- "object.getownpropertydescriptors": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz",- "integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=",+ "fast-url-parser": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz",+ "integrity": "sha1-9K8+qfNNiicc9YrSs3WfQx8LMY0=","dev": true,"requires": {- "define-properties": "^1.1.2",- "es-abstract": "^1.5.1"+ "punycode": "^1.3.2"+ },+ "dependencies": {+ "punycode": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",+ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",+ "dev": true+ }}},- "object.pick": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",- "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",+ "fastq": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz",+ "integrity": "sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==","dev": true,"requires": {- "isobject": "^3.0.1"+ "reusify": "^1.0.4"}},- "object.values": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz",- "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==",+ "figures": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",+ "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==","dev": true,"requires": {- "define-properties": "^1.1.3",- "es-abstract": "^1.12.0",- "function-bind": "^1.1.1",- "has": "^1.0.3"+ "escape-string-regexp": "^1.0.5"}},- "obuf": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz",- "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==",+ "file-drop-element": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/file-drop-element/-/file-drop-element-1.0.1.tgz",+ "integrity": "sha512-na2cwntTVgMsR+BZ2YBr/XQk941DKDw2LJKbV7g6TRdGBQ3rx8V53oEviG8zPWoBOySwK9w/SlZ/gb/F/48I8A==","dev": true},- "on-finished": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",- "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",+ "fill-range": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==","dev": true,"requires": {- "ee-first": "1.1.1"+ "to-regex-range": "^5.0.1"}},- "on-headers": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",- "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==",- "dev": true- },- "once": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",- "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",+ "find-up": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==","dev": true,"requires": {- "wrappy": "1"+ "locate-path": "^5.0.0",+ "path-exists": "^4.0.0"}},- "onetime": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",- "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",+ "find-versions": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-3.2.0.tgz",+ "integrity": "sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww==","dev": true,"requires": {- "mimic-fn": "^1.0.0"+ "semver-regex": "^2.0.0"}},- "opencollective-postinstall": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz",- "integrity": "sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw==",+ "fs.realpath": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=","dev": true},- "opener": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.1.tgz",- "integrity": "sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA==",+ "fsevents": {+ "version": "2.1.3",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",+ "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",+ "dev": true,+ "optional": true+ },+ "function-bind": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==","dev": true},- "opn": {- "version": "5.5.0",- "resolved": "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz",- "integrity": "sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA==",+ "generic-names": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/generic-names/-/generic-names-2.0.1.tgz",+ "integrity": "sha512-kPCHWa1m9wGG/OwQpeweTwM/PYiQLrUIxXbt/P4Nic3LbGjCP0YwrALHW1uNLKZ0LIMg+RF+XRlj2ekT9ZlZAQ==","dev": true,"requires": {- "is-wsl": "^1.1.0"+ "loader-utils": "^1.1.0"}},- "optimist": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",- "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",+ "get-own-enumerable-property-symbols": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz",+ "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==",+ "dev": true+ },+ "get-stream": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==","dev": true,"requires": {- "minimist": "~0.0.1",- "wordwrap": "~0.0.2"- },- "dependencies": {- "wordwrap": {- "version": "0.0.3",- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",- "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",- "dev": true- }+ "pump": "^3.0.0"}},- "optimize-css-assets-webpack-plugin": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-5.0.1.tgz",- "integrity": "sha512-Rqm6sSjWtx9FchdP0uzTQDc7GXDKnwVEGoSxjezPkzMewx7gEWE9IMUYKmigTRC4U3RaNSwYVnUDLuIdtTpm0A==",+ "glob": {+ "version": "7.1.6",+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==","dev": true,"requires": {- "cssnano": "^4.1.0",- "last-call-webpack-plugin": "^3.0.0"+ "fs.realpath": "^1.0.0",+ "inflight": "^1.0.4",+ "inherits": "2",+ "minimatch": "^3.0.4",+ "once": "^1.3.0",+ "path-is-absolute": "^1.0.0"}},- "optionator": {- "version": "0.8.2",- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",- "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",+ "glob-parent": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",+ "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==","dev": true,"requires": {- "deep-is": "~0.1.3",- "fast-levenshtein": "~2.0.4",- "levn": "~0.3.0",- "prelude-ls": "~1.1.2",- "type-check": "~0.3.2",- "wordwrap": "~1.0.0"+ "is-glob": "^4.0.1"}},- "original": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",- "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==",+ "globby": {+ "version": "10.0.2",+ "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz",+ "integrity": "sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==","dev": true,"requires": {- "url-parse": "^1.4.3"+ "@types/glob": "^7.1.1",+ "array-union": "^2.1.0",+ "dir-glob": "^3.0.1",+ "fast-glob": "^3.0.3",+ "glob": "^7.1.3",+ "ignore": "^5.1.1",+ "merge2": "^1.2.3",+ "slash": "^3.0.0"}},- "os-browserify": {- "version": "0.3.0",- "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",- "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=",- "dev": true- },- "os-homedir": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",- "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",+ "graceful-fs": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",+ "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==","dev": true},- "os-locale": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",- "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",+ "has": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==","dev": true,"requires": {- "lcid": "^1.0.0"+ "function-bind": "^1.1.1"}},- "os-tmpdir": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",- "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",+ "has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==","dev": true},- "osenv": {- "version": "0.1.5",- "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",- "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",- "dev": true,- "requires": {- "os-homedir": "^1.0.0",- "os-tmpdir": "^1.0.0"- }+ "has-symbols": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",+ "dev": true},- "p-cancelable": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.4.1.tgz",- "integrity": "sha512-HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ==",+ "hex-color-regex": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",+ "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==","dev": true},- "p-defer": {+ "hsl-regex": {"version": "1.0.0",- "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",- "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=",+ "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz",+ "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=","dev": true},- "p-each-series": {+ "hsla-regex": {"version": "1.0.0",- "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-1.0.0.tgz",- "integrity": "sha1-kw89Et0fUOdDRFeiLNbwSsatf3E=",- "dev": true,- "requires": {- "p-reduce": "^1.0.0"- }+ "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz",+ "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=",+ "dev": true},- "p-finally": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",- "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",+ "html-comment-regex": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.2.tgz",+ "integrity": "sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==","dev": true},- "p-is-promise": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz",- "integrity": "sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4=",+ "human-signals": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",+ "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==","dev": true},- "p-limit": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",- "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",+ "husky": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.0.tgz",+ "integrity": "sha512-tTMeLCLqSBqnflBZnlVDhpaIMucSGaYyX6855jM4AguGeWCeSzNdb1mfyWduTZ3pe3SJVvVWGL0jO1iKZVPfTA==","dev": true,"requires": {- "p-try": "^1.0.0"+ "chalk": "^4.0.0",+ "ci-info": "^2.0.0",+ "compare-versions": "^3.6.0",+ "cosmiconfig": "^7.0.0",+ "find-versions": "^3.2.0",+ "opencollective-postinstall": "^2.0.2",+ "pkg-dir": "^4.2.0",+ "please-upgrade-node": "^3.2.0",+ "slash": "^3.0.0",+ "which-pm-runs": "^1.0.0"}},- "p-locate": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",- "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",+ "icss-replace-symbols": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz",+ "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=",+ "dev": true+ },+ "icss-utils": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-4.1.1.tgz",+ "integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==","dev": true,"requires": {- "p-limit": "^1.1.0"+ "postcss": "^7.0.14"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "p-map": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz",- "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==",+ "idb-keyval": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-3.2.0.tgz",+ "integrity": "sha512-slx8Q6oywCCSfKgPgL0sEsXtPVnSbTLWpyiDcu6msHOyKOLari1TD1qocXVCft80umnkk3/Qqh3lwoFt8T/BPQ==","dev": true},- "p-reduce": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz",- "integrity": "sha1-GMKw3ZNqRpClKfgjH1ig/bakffo=",+ "ignore": {+ "version": "5.1.8",+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz",+ "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==","dev": true},- "p-retry": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-3.0.1.tgz",- "integrity": "sha512-XE6G4+YTTkT2a0UWb2kjZe8xNwf8bIbnqpc/IS/idOBVhyves0mK5OJgeocjx7q5pvX/6m23xuzVPYT1uGM73w==",- "dev": true,- "requires": {- "retry": "^0.12.0"- }- },- "p-timeout": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-2.0.1.tgz",- "integrity": "sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA==",+ "import-fresh": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",+ "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==","dev": true,"requires": {- "p-finally": "^1.0.0"+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"}},- "p-try": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",- "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",+ "indent-string": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==","dev": true},- "pako": {- "version": "1.0.10",- "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.10.tgz",- "integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==",+ "indexes-of": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz",+ "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=","dev": true},- "parallel-transform": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz",- "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=",- "dev": true,- "requires": {- "cyclist": "~0.2.2",- "inherits": "^2.0.3",- "readable-stream": "^2.1.5"- }- },- "param-case": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz",- "integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=",+ "inflight": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=","dev": true,"requires": {- "no-case": "^2.2.0"+ "once": "^1.3.0",+ "wrappy": "1"}},- "parse-asn1": {- "version": "5.1.4",- "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.4.tgz",- "integrity": "sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw==",- "dev": true,- "requires": {- "asn1.js": "^4.0.0",- "browserify-aes": "^1.0.0",- "create-hash": "^1.1.0",- "evp_bytestokey": "^1.0.0",- "pbkdf2": "^3.0.3",- "safe-buffer": "^5.1.1"- }+ "inherits": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",+ "dev": true},- "parse-json": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",- "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=",- "dev": true,- "requires": {- "error-ex": "^1.3.1",- "json-parse-better-errors": "^1.0.1"- }+ "ini": {+ "version": "1.3.5",+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",+ "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",+ "dev": true},- "parse-passwd": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",- "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=",+ "is-absolute-url": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz",+ "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=","dev": true},- "parse5": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz",- "integrity": "sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==",+ "is-arrayish": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=","dev": true},- "parseurl": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",+ "is-callable": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",+ "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==","dev": true},- "pascalcase": {- "version": "0.1.1",- "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",- "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",+ "is-color-stop": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz",+ "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=",+ "dev": true,+ "requires": {+ "css-color-names": "^0.0.4",+ "hex-color-regex": "^1.1.0",+ "hsl-regex": "^1.0.0",+ "hsla-regex": "^1.0.0",+ "rgb-regex": "^1.0.1",+ "rgba-regex": "^1.0.0"+ }+ },+ "is-date-object": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",+ "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==","dev": true},- "path-browserify": {- "version": "0.0.1",- "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz",- "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==",+ "is-directory": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz",+ "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=","dev": true},- "path-dirname": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",- "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",+ "is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=","dev": true},- "path-exists": {+ "is-fullwidth-code-point": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==","dev": true},- "path-is-absolute": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",- "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",+ "is-glob": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",+ "dev": true,+ "requires": {+ "is-extglob": "^2.1.1"+ }+ },+ "is-module": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",+ "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=","dev": true},- "path-is-inside": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",- "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=",+ "is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==","dev": true},- "path-key": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",- "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",+ "is-obj": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",+ "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=","dev": true},- "path-parse": {- "version": "1.0.6",- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",- "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",+ "is-path-cwd": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz",+ "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==","dev": true},- "path-to-regexp": {- "version": "0.1.7",- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",- "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=",+ "is-path-inside": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz",+ "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==","dev": true},- "path-type": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz",- "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==",+ "is-reference": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz",+ "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==","dev": true,"requires": {- "pify": "^3.0.0"+ "@types/estree": "*"}},- "pbkdf2": {- "version": "3.0.17",- "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz",- "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==",+ "is-regex": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",+ "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==","dev": true,"requires": {- "create-hash": "^1.1.2",- "create-hmac": "^1.1.4",- "ripemd160": "^2.0.1",- "safe-buffer": "^5.0.1",- "sha.js": "^2.4.8"+ "has-symbols": "^1.0.1"}},- "performance-now": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",- "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=",- "dev": true- },- "picomatch": {- "version": "2.0.6",- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.0.6.tgz",- "integrity": "sha512-Btng9qVvFsW6FkXYQQK5nEI5i8xdXFDmlKxC7Q8S2Bu5HGWnbQf7ts2kOoxJIrZn5hmw61RZIayAg2zBuJDtyQ==",+ "is-regexp": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz",+ "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=","dev": true},- "pify": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",+ "is-resolvable": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz",+ "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==","dev": true},- "pinkie": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",- "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",+ "is-stream": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",+ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==","dev": true},- "pinkie-promise": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",- "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",+ "is-svg": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz",+ "integrity": "sha512-gi4iHK53LR2ujhLVVj+37Ykh9GLqYHX6JOVXbLAucaG/Cqw9xwdFOjDM2qeifLs1sF1npXXFvDu0r5HNgCMrzQ==","dev": true,"requires": {- "pinkie": "^2.0.0"+ "html-comment-regex": "^1.1.0"}},- "pirates": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz",- "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==",+ "is-symbol": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==","dev": true,"requires": {- "node-modules-regexp": "^1.0.0"+ "has-symbols": "^1.0.1"}},- "pkg-dir": {- "version": "4.2.0",- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",- "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",+ "isexe": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",+ "dev": true+ },+ "jest-worker": {+ "version": "26.3.0",+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.3.0.tgz",+ "integrity": "sha512-Vmpn2F6IASefL+DVBhPzI2J9/GJUsqzomdeN+P+dK8/jKxbh8R3BtFnx3FIta7wYlPU62cpJMJQo4kuOowcMnw==","dev": true,"requires": {- "find-up": "^4.0.0"- },- "dependencies": {- "find-up": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",- "dev": true,- "requires": {- "locate-path": "^5.0.0",- "path-exists": "^4.0.0"- }- },- "locate-path": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",- "dev": true,- "requires": {- "p-locate": "^4.1.0"- }- },- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }- },- "p-locate": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",- "dev": true,- "requires": {- "p-limit": "^2.2.0"- }- },- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",- "dev": true- },- "path-exists": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",- "dev": true- }+ "@types/node": "*",+ "merge-stream": "^2.0.0",+ "supports-color": "^7.0.0"}},- "please-upgrade-node": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz",- "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==",+ "js-tokens": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",+ "dev": true+ },+ "js-yaml": {+ "version": "3.14.0",+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",+ "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==","dev": true,"requires": {- "semver-compare": "^1.0.0"+ "argparse": "^1.0.7",+ "esprima": "^4.0.0"}},- "pn": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz",- "integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==",+ "json-parse-better-errors": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",+ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==","dev": true},- "pointer-tracker": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/pointer-tracker/-/pointer-tracker-2.0.3.tgz",- "integrity": "sha512-PURBF4oc45JPECuguX6oPL3pJU5AlF0Nb/4sZdmqzPNAkV4LGL9MJMqb0smWDtmQ0F0KpbxEJn4/Lf5ugN1keQ==",+ "json-parse-even-better-errors": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",+ "dev": true+ },+ "json-schema-traverse": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==","dev": true},- "portfinder": {- "version": "1.0.21",- "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.21.tgz",- "integrity": "sha512-ESabpDCzmBS3ekHbmpAIiESq3udRsCBGiBZLsC+HgBKv2ezb0R4oG+7RnYEVZ/ZCfhel5Tx3UzdNWA0Lox2QCA==",+ "json5": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==","dev": true,"requires": {- "async": "^1.5.2",- "debug": "^2.2.0",- "mkdirp": "0.5.x"- },- "dependencies": {- "async": {- "version": "1.5.2",- "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",- "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=",- "dev": true- }+ "minimist": "^1.2.0"}},- "posix-character-classes": {- "version": "0.1.1",- "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",- "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",+ "lines-and-columns": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",+ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=","dev": true},- "postcss": {- "version": "6.0.23",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz",- "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==",+ "linkstate": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/linkstate/-/linkstate-2.0.0.tgz",+ "integrity": "sha512-ti9WqRjpLqUd8wv4vUDjeqMeAObSieeEJA7QHpUKTDr75gkuWTsgm4+Tngg/3uTogSz68hJ/c+676rLfSgqHUg==","dev": true,"requires": {- "chalk": "^2.4.1",- "source-map": "^0.6.1",- "supports-color": "^5.4.0"- },- "dependencies": {- "ansi-styles": {- "version": "3.2.1",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",- "dev": true,- "requires": {- "color-convert": "^1.9.0"- }- },- "chalk": {- "version": "2.4.1",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",- "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",- "dev": true,- "requires": {- "ansi-styles": "^3.2.1",- "escape-string-regexp": "^1.0.5",- "supports-color": "^5.3.0"- },- "dependencies": {- "escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",- "dev": true- }- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "5.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "esm": "^3.2.25"}},- "postcss-calc": {- "version": "7.0.1",- "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.1.tgz",- "integrity": "sha512-oXqx0m6tb4N3JGdmeMSc/i91KppbYsFZKdH0xMOqK8V1rJlzrKlTdokz8ozUXLVejydRN6u2IddxpcijRj2FqQ==",+ "lint-staged": {+ "version": "10.5.1",+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.1.tgz",+ "integrity": "sha512-fTkTGFtwFIJJzn/PbUO3RXyEBHIhbfYBE7+rJyLcOXabViaO/h6OslgeK6zpeUtzkDrzkgyAYDTLAwx6JzDTHw==","dev": true,"requires": {- "css-unit-converter": "^1.1.1",- "postcss": "^7.0.5",- "postcss-selector-parser": "^5.0.0-rc.4",- "postcss-value-parser": "^3.3.1"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "postcss-value-parser": {- "version": "3.3.1",- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",- "dev": true- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "chalk": "^4.1.0",+ "cli-truncate": "^2.1.0",+ "commander": "^6.2.0",+ "cosmiconfig": "^7.0.0",+ "debug": "^4.2.0",+ "dedent": "^0.7.0",+ "enquirer": "^2.3.6",+ "execa": "^4.1.0",+ "listr2": "^3.2.2",+ "log-symbols": "^4.0.0",+ "micromatch": "^4.0.2",+ "normalize-path": "^3.0.0",+ "please-upgrade-node": "^3.2.0",+ "string-argv": "0.3.1",+ "stringify-object": "^3.3.0"}},- "postcss-colormin": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz",- "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==",+ "listr2": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.2.2.tgz",+ "integrity": "sha512-AajqcZEUikF2ioph6PfH3dIuxJclhr3i3kHgTOP0xeXdWQohrvJAAmqVcV43/GI987HFY/vzT73jYXoa4esDHg==","dev": true,"requires": {- "browserslist": "^4.0.0",- "color": "^3.0.0",- "has": "^1.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"+ "chalk": "^4.1.0",+ "cli-truncate": "^2.1.0",+ "figures": "^3.2.0",+ "indent-string": "^4.0.0",+ "log-update": "^4.0.0",+ "p-map": "^4.0.0",+ "rxjs": "^6.6.3",+ "through": "^2.3.8"},"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "p-map": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",+ "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==","dev": true,"requires": {- "has-flag": "^3.0.0"+ "aggregate-error": "^3.0.0"}}}},- "postcss-convert-values": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz",- "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==",+ "loader-utils": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz",+ "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==","dev": true,"requires": {- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "big.js": "^5.2.2",+ "emojis-list": "^3.0.0",+ "json5": "^1.0.1"}},- "postcss-discard-comments": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz",- "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==",+ "locate-path": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==","dev": true,"requires": {- "postcss": "^7.0.0"+ "p-locate": "^4.1.0"+ }+ },+ "lodash.camelcase": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",+ "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=",+ "dev": true+ },+ "lodash.memoize": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",+ "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=",+ "dev": true+ },+ "lodash.uniq": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",+ "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=",+ "dev": true+ },+ "log-symbols": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz",+ "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==",+ "dev": true,+ "requires": {+ "chalk": "^4.0.0"+ }+ },+ "log-update": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz",+ "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==",+ "dev": true,+ "requires": {+ "ansi-escapes": "^4.3.0",+ "cli-cursor": "^3.1.0",+ "slice-ansi": "^4.0.0",+ "wrap-ansi": "^6.2.0"},"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "slice-ansi": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz",+ "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==","dev": true,"requires": {- "has-flag": "^3.0.0"+ "ansi-styles": "^4.0.0",+ "astral-regex": "^2.0.0",+ "is-fullwidth-code-point": "^3.0.0"}}}},- "postcss-discard-duplicates": {+ "lru-cache": {+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",+ "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",+ "dev": true,+ "requires": {+ "pseudomap": "^1.0.2",+ "yallist": "^2.1.2"+ }+ },+ "magic-string": {+ "version": "0.25.7",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz",+ "integrity": "sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==",+ "dev": true,+ "requires": {+ "sourcemap-codec": "^1.4.4"+ }+ },+ "mdn-data": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz",+ "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==",+ "dev": true+ },+ "merge-stream": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",+ "dev": true+ },+ "merge2": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",+ "dev": true+ },+ "micromatch": {"version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz",- "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz",+ "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==","dev": true,"requires": {- "postcss": "^7.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "braces": "^3.0.1",+ "picomatch": "^2.0.5"}},- "postcss-discard-empty": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz",- "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==",+ "mime": {+ "version": "2.4.6",+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",+ "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA==",+ "dev": true+ },+ "mime-db": {+ "version": "1.44.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",+ "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==",+ "dev": true+ },+ "mime-types": {+ "version": "2.1.27",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",+ "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==","dev": true,"requires": {- "postcss": "^7.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "mime-db": "1.44.0"}},- "postcss-discard-overridden": {+ "mimic-fn": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",+ "dev": true+ },+ "minimatch": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",+ "dev": true,+ "requires": {+ "brace-expansion": "^1.1.7"+ }+ },+ "minimist": {+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",+ "dev": true+ },+ "mkdirp": {+ "version": "0.5.5",+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",+ "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",+ "dev": true,+ "requires": {+ "minimist": "^1.2.5"+ }+ },+ "ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",+ "dev": true+ },+ "negotiator": {+ "version": "0.6.2",+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",+ "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",+ "dev": true+ },+ "node-releases": {+ "version": "1.1.60",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.60.tgz",+ "integrity": "sha512-gsO4vjEdQaTusZAEebUWp2a5d7dF5DYoIpDG7WySnk7BuZDW+GPpHXoXXuYawRBr/9t5q54tirPz79kFIWg4dA==",+ "dev": true+ },+ "normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",+ "dev": true+ },+ "normalize-url": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz",+ "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==",+ "dev": true+ },+ "npm-run-path": {"version": "4.0.1",- "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz",- "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==",+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==","dev": true,"requires": {- "postcss": "^7.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "path-key": "^3.0.0"+ }+ },+ "nth-check": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",+ "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",+ "dev": true,+ "requires": {+ "boolbase": "~1.0.0"}},- "postcss-merge-longhand": {- "version": "4.0.11",- "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz",- "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==",+ "object-inspect": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz",+ "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==",+ "dev": true+ },+ "object-keys": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",+ "dev": true+ },+ "object.assign": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",+ "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==","dev": true,"requires": {- "css-color-names": "0.0.4",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0",- "stylehacks": "^4.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "define-properties": "^1.1.2",+ "function-bind": "^1.1.1",+ "has-symbols": "^1.0.0",+ "object-keys": "^1.0.11"}},- "postcss-merge-rules": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz",- "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==",+ "object.getownpropertydescriptors": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz",+ "integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==","dev": true,"requires": {- "browserslist": "^4.0.0",- "caniuse-api": "^3.0.0",- "cssnano-util-same-parent": "^4.0.0",- "postcss": "^7.0.0",- "postcss-selector-parser": "^3.0.0",- "vendors": "^1.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "postcss-selector-parser": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz",- "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=",- "dev": true,- "requires": {- "dot-prop": "^4.1.1",- "indexes-of": "^1.0.1",- "uniq": "^1.0.1"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.0-next.1"}},- "postcss-minify-font-values": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz",- "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==",+ "object.values": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz",+ "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==","dev": true,"requires": {- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.0-next.1",+ "function-bind": "^1.1.1",+ "has": "^1.0.3"}},- "postcss-minify-gradients": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz",- "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==",+ "on-headers": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",+ "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==",+ "dev": true+ },+ "once": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=","dev": true,"requires": {- "cssnano-util-get-arguments": "^4.0.0",- "is-color-stop": "^1.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "wrappy": "1"}},- "postcss-minify-params": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz",- "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==",+ "onetime": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==","dev": true,"requires": {- "alphanum-sort": "^1.0.0",- "browserslist": "^4.0.0",- "cssnano-util-get-arguments": "^4.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0",- "uniqs": "^2.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "mimic-fn": "^2.1.0"}},- "postcss-minify-selectors": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz",- "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==",+ "opencollective-postinstall": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz",+ "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==",+ "dev": true+ },+ "p-finally": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",+ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",+ "dev": true+ },+ "p-limit": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==","dev": true,"requires": {- "alphanum-sort": "^1.0.0",- "has": "^1.0.0",- "postcss": "^7.0.0",- "postcss-selector-parser": "^3.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "postcss-selector-parser": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz",- "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=",- "dev": true,- "requires": {- "dot-prop": "^4.1.1",- "indexes-of": "^1.0.1",- "uniq": "^1.0.1"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "p-try": "^2.0.0"}},- "postcss-modules-extract-imports": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.1.tgz",- "integrity": "sha512-6jt9XZwUhwmRUhb/CkyJY020PYaPJsCyt3UjbaWo6XEbH/94Hmv6MP7fG2C5NDU/BcHzyGYxNtHvM+LTf9HrYw==",+ "p-locate": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==","dev": true,"requires": {- "postcss": "^6.0.1"+ "p-limit": "^2.2.0"}},- "postcss-modules-local-by-default": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz",- "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=",+ "p-map": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz",+ "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==","dev": true,"requires": {- "css-selector-tokenizer": "^0.7.0",- "postcss": "^6.0.1"+ "aggregate-error": "^3.0.0"}},- "postcss-modules-scope": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz",- "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=",+ "p-try": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",+ "dev": true+ },+ "parent-module": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==","dev": true,"requires": {- "css-selector-tokenizer": "^0.7.0",- "postcss": "^6.0.1"+ "callsites": "^3.0.0"}},- "postcss-modules-values": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz",- "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=",+ "parse-json": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz",+ "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==","dev": true,"requires": {- "icss-replace-symbols": "^1.1.0",- "postcss": "^6.0.1"+ "@babel/code-frame": "^7.0.0",+ "error-ex": "^1.3.1",+ "json-parse-even-better-errors": "^2.3.0",+ "lines-and-columns": "^1.1.6"}},- "postcss-normalize-charset": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz",- "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==",+ "path-exists": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",+ "dev": true+ },+ "path-is-absolute": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",+ "dev": true+ },+ "path-is-inside": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",+ "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=",+ "dev": true+ },+ "path-key": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",+ "dev": true+ },+ "path-parse": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",+ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",+ "dev": true+ },+ "path-to-regexp": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz",+ "integrity": "sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==",+ "dev": true+ },+ "path-type": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",+ "dev": true+ },+ "picomatch": {+ "version": "2.2.2",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",+ "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",+ "dev": true+ },+ "pkg-dir": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==","dev": true,"requires": {- "postcss": "^7.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "find-up": "^4.0.0"}},- "postcss-normalize-display-values": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz",- "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==",+ "please-upgrade-node": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz",+ "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==","dev": true,"requires": {- "cssnano-util-get-match": "^4.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }+ "semver-compare": "^1.0.0"}},- "postcss-normalize-positions": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz",- "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==",+ "pointer-tracker": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/pointer-tracker/-/pointer-tracker-2.4.0.tgz",+ "integrity": "sha512-pWI2tpaM/XNtc9mUTv42Rmjf6mkHvE8LT5DDEq0G7baPNhxNM9E3CepubPplSoSLk9E5bwQrAMyDcPVmJyTW4g==",+ "dev": true+ },+ "postcss": {+ "version": "7.0.35",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==","dev": true,"requires": {- "cssnano-util-get-arguments": "^4.0.0",- "has": "^1.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"},"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"+ "color-convert": "^1.9.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "has-flag": "^3.0.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}- }- }- },- "postcss-normalize-repeat-style": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz",- "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==",- "dev": true,- "requires": {- "cssnano-util-get-arguments": "^4.0.0",- "cssnano-util-get-match": "^4.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"+ "color-name": "1.1.3"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},"supports-color": {@@ -11438,99 +11143,73 @@}}},- "postcss-normalize-string": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz",- "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==",+ "postcss-calc": {+ "version": "7.0.3",+ "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.3.tgz",+ "integrity": "sha512-IB/EAEmZhIMEIhG7Ov4x+l47UaXOS1n2f4FBUk/aKllQhtSCxWhTzn0nJgkqN7fo/jcWySvWTSB6Syk9L+31bA==","dev": true,"requires": {- "has": "^1.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"+ "postcss": "^7.0.27",+ "postcss-selector-parser": "^6.0.2",+ "postcss-value-parser": "^4.0.2"},"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"+ "color-convert": "^1.9.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "has-flag": "^3.0.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}- }- }- },- "postcss-normalize-timing-functions": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz",- "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==",- "dev": true,- "requires": {- "cssnano-util-get-match": "^4.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"- },- "dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"+ "color-name": "1.1.3"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }- }- },- "postcss-normalize-unicode": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz",- "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==",- "dev": true,- "requires": {- "browserslist": "^4.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"- },- "dependencies": {"postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {"chalk": "^2.4.2",@@ -11538,12 +11217,6 @@"supports-color": "^6.1.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },"supports-color": {"version": "6.1.0","resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",@@ -11555,28 +11228,75 @@}}},- "postcss-normalize-url": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz",- "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==",+ "postcss-colormin": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz",+ "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==","dev": true,"requires": {- "is-absolute-url": "^2.0.0",- "normalize-url": "^3.0.0",+ "browserslist": "^4.0.0",+ "color": "^3.0.0",+ "has": "^1.0.0","postcss": "^7.0.0","postcss-value-parser": "^3.0.0"},"dependencies": {- "normalize-url": {- "version": "3.3.0",- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz",- "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},"postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {"chalk": "^2.4.2",@@ -11584,10 +11304,10 @@"supports-color": "^6.1.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},"supports-color": {@@ -11601,59 +11321,72 @@}}},- "postcss-normalize-whitespace": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz",- "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==",+ "postcss-convert-values": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz",+ "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==","dev": true,"requires": {"postcss": "^7.0.0","postcss-value-parser": "^3.0.0"},"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"+ "color-convert": "^1.9.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }},- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "has-flag": "^3.0.0"+ "color-name": "1.1.3"}- }- }- },- "postcss-ordered-values": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz",- "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==",- "dev": true,- "requires": {- "cssnano-util-get-arguments": "^4.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"- },- "dependencies": {+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },"postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {"chalk": "^2.4.2",@@ -11661,10 +11394,10 @@"supports-color": "^6.1.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},"supports-color": {@@ -11678,62 +11411,71 @@}}},- "postcss-reduce-initial": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz",- "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==",+ "postcss-discard-comments": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz",+ "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==","dev": true,"requires": {- "browserslist": "^4.0.0",- "caniuse-api": "^3.0.0",- "has": "^1.0.0","postcss": "^7.0.0"},"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"+ "color-convert": "^1.9.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }},- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "has-flag": "^3.0.0"+ "color-name": "1.1.3"}- }- }- },- "postcss-reduce-transforms": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz",- "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==",- "dev": true,- "requires": {- "cssnano-util-get-match": "^4.0.0",- "has": "^1.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0"- },- "dependencies": {+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },"postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {"chalk": "^2.4.2",@@ -11741,12 +11483,6 @@"supports-color": "^6.1.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },"supports-color": {"version": "6.1.0","resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",@@ -11758,80 +11494,71 @@}}},- "postcss-selector-parser": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz",- "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==",- "dev": true,- "requires": {- "cssesc": "^2.0.0",- "indexes-of": "^1.0.1",- "uniq": "^1.0.1"- },- "dependencies": {- "cssesc": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz",- "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==",- "dev": true- }- }- },- "postcss-svgo": {+ "postcss-discard-duplicates": {"version": "4.0.2",- "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.2.tgz",- "integrity": "sha512-C6wyjo3VwFm0QgBy+Fu7gCYOkCmgmClghO+pjcxvrcBKtiKt0uCF+hvbMO1fyv5BMImRK90SMb+dwUnfbGd+jw==",+ "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz",+ "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==","dev": true,"requires": {- "is-svg": "^3.0.0",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0",- "svgo": "^1.0.0"+ "postcss": "^7.0.0"},"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"+ "color-convert": "^1.9.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }},- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "has-flag": "^3.0.0"+ "color-name": "1.1.3"}- }- }- },- "postcss-unique-selectors": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz",- "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==",- "dev": true,- "requires": {- "alphanum-sort": "^1.0.0",- "postcss": "^7.0.0",- "uniqs": "^2.0.0"- },- "dependencies": {+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },"postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {"chalk": "^2.4.2",@@ -11839,12 +11566,6 @@"supports-color": "^6.1.0"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },"supports-color": {"version": "6.1.0","resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",@@ -11856,2038 +11577,1519 @@}}},- "postcss-value-parser": {- "version": "3.3.0",- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz",- "integrity": "sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU=",- "dev": true- },- "preact": {- "version": "8.4.2",- "resolved": "https://registry.npmjs.org/preact/-/preact-8.4.2.tgz",- "integrity": "sha512-TsINETWiisfB6RTk0wh3/mvxbGRvx+ljeBccZ4Z6MPFKgu/KFGyf2Bmw3Z/jlXhL5JlNKY6QAbA9PVyzIy9//A==",- "dev": true- },- "prelude-ls": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",- "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",- "dev": true- },- "prepend-http": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",- "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=",- "dev": true- },- "prerender-loader": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/prerender-loader/-/prerender-loader-1.3.0.tgz",- "integrity": "sha512-j5a7vl7QjLiNL2+7ATHiTHIcV18xf8hDJUbkl66svHfuCMd7QV/0Iwu1Yp8JcRNt7UEKSxgJQ35WZSOaRCQhZQ==",+ "postcss-discard-empty": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz",+ "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==","dev": true,"requires": {- "jsdom": "^11.11.0",- "loader-utils": "^1.1.0"+ "postcss": "^7.0.0"},"dependencies": {- "jsdom": {- "version": "11.12.0",- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-11.12.0.tgz",- "integrity": "sha512-y8Px43oyiBM13Zc1z780FrfNLJCXTL40EWlty/LXUtcjykRBNgLlCjWXpfSPBl2iv+N7koQN+dvqszHZgT/Fjw==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "abab": "^2.0.0",- "acorn": "^5.5.3",- "acorn-globals": "^4.1.0",- "array-equal": "^1.0.0",- "cssom": ">= 0.3.2 < 0.4.0",- "cssstyle": "^1.0.0",- "data-urls": "^1.0.0",- "domexception": "^1.0.1",- "escodegen": "^1.9.1",- "html-encoding-sniffer": "^1.0.2",- "left-pad": "^1.3.0",- "nwsapi": "^2.0.7",- "parse5": "4.0.0",- "pn": "^1.1.0",- "request": "^2.87.0",- "request-promise-native": "^1.0.5",- "sax": "^1.2.4",- "symbol-tree": "^3.2.2",- "tough-cookie": "^2.3.4",- "w3c-hr-time": "^1.0.1",- "webidl-conversions": "^4.0.2",- "whatwg-encoding": "^1.0.3",- "whatwg-mimetype": "^2.1.0",- "whatwg-url": "^6.4.1",- "ws": "^5.2.0",- "xml-name-validator": "^3.0.0"+ "color-convert": "^1.9.0"}},- "whatwg-url": {- "version": "6.5.0",- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.5.0.tgz",- "integrity": "sha512-rhRZRqx/TLJQWUpQ6bmrt2UV4f0HCQ463yQuONJqC6fO2VoEb1pTYddbe59SkYq87aoM5A3bdhMZiUiVws+fzQ==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "lodash.sortby": "^4.7.0",- "tr46": "^1.0.1",- "webidl-conversions": "^4.0.2"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "ws": {- "version": "5.2.2",- "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz",- "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "async-limiter": "~1.0.0"+ "color-name": "1.1.3"}- }- }- },- "prettier": {- "version": "1.18.0",- "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.0.tgz",- "integrity": "sha512-YsdAD29M0+WY2xXZk3i0PA16olY9qZss+AuODxglXcJ+2ZBwFv+6k5tE8GS8/HKAthaajlS/WqhdgcjumOrPlg==",- "dev": true- },- "pretty-bytes": {- "version": "5.3.0",- "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.3.0.tgz",- "integrity": "sha512-hjGrh+P926p4R4WbaB6OckyRtO0F0/lQBiT+0gnxjV+5kjPBrfVBFCsCLbMqVQeydvIoouYTCmmEURiH3R1Bdg==",- "dev": true- },- "pretty-error": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.1.tgz",- "integrity": "sha1-X0+HyPkeWuPzuoerTPXgOxoX8aM=",- "dev": true,- "requires": {- "renderkid": "^2.0.1",- "utila": "~0.4"- }- },- "pretty-format": {- "version": "24.8.0",- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.8.0.tgz",- "integrity": "sha512-P952T7dkrDEplsR+TuY7q3VXDae5Sr7zmQb12JU/NDQa/3CH7/QW0yvqLcGN6jL+zQFKaoJcPc+yJxMTGmosqw==",- "dev": true,- "requires": {- "@jest/types": "^24.8.0",- "ansi-regex": "^4.0.0",- "ansi-styles": "^3.2.0",- "react-is": "^16.8.4"- },- "dependencies": {- "ansi-regex": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true- }- }- },- "private": {- "version": "0.1.8",- "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",- "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==",- "dev": true- },- "process": {- "version": "0.11.10",- "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",- "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",- "dev": true- },- "process-nextick-args": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",- "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",- "dev": true- },- "progress": {- "version": "1.1.8",- "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz",- "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=",- "dev": true- },- "progress-bar-webpack-plugin": {- "version": "1.12.1",- "resolved": "https://registry.npmjs.org/progress-bar-webpack-plugin/-/progress-bar-webpack-plugin-1.12.1.tgz",- "integrity": "sha512-tVbPB5xBbqNwdH3mwcxzjL1r1Vrm/xGu93OsqVSAbCaXGoKFvfWIh0gpMDpn2kYsPVRSAIK0pBkP9Vfs+JJibQ==",- "dev": true,- "requires": {- "chalk": "^1.1.1",- "object.assign": "^4.0.1",- "progress": "^1.1.8"- },- "dependencies": {- "ansi-styles": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "chalk": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "ansi-styles": "^2.2.1",- "escape-string-regexp": "^1.0.2",- "has-ansi": "^2.0.0",- "strip-ansi": "^3.0.0",- "supports-color": "^2.0.0"- },- "dependencies": {- "escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",- "dev": true- }+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},"supports-color": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",- "dev": true+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "promise-inflight": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",- "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=",- "dev": true- },- "prompts": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.1.0.tgz",- "integrity": "sha512-+x5TozgqYdOwWsQFZizE/Tra3fKvAoy037kOyU6cgz84n8f6zxngLOV4O32kTwt9FcLCxAqw0P/c8rOr9y+Gfg==",- "dev": true,- "requires": {- "kleur": "^3.0.2",- "sisteransi": "^1.0.0"- }- },- "proxy-addr": {- "version": "2.0.5",- "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.5.tgz",- "integrity": "sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==",- "dev": true,- "requires": {- "forwarded": "~0.1.2",- "ipaddr.js": "1.9.0"- }- },- "prr": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",- "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=",- "dev": true- },- "pseudomap": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",- "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=",- "dev": true- },- "psl": {- "version": "1.1.29",- "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz",- "integrity": "sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ==",- "dev": true- },- "public-encrypt": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",- "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",- "dev": true,- "requires": {- "bn.js": "^4.1.0",- "browserify-rsa": "^4.0.0",- "create-hash": "^1.1.0",- "parse-asn1": "^5.0.0",- "randombytes": "^2.0.1",- "safe-buffer": "^5.1.2"- }- },- "pump": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz",- "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==",- "dev": true,- "requires": {- "end-of-stream": "^1.1.0",- "once": "^1.3.1"- }- },- "pumpify": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz",- "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==",- "dev": true,- "requires": {- "duplexify": "^3.6.0",- "inherits": "^2.0.3",- "pump": "^2.0.0"- }- },- "punycode": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",- "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",- "dev": true- },- "q": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",- "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=",- "dev": true- },- "qs": {- "version": "6.5.2",- "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",- "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==",- "dev": true- },- "query-string": {- "version": "5.1.1",- "resolved": "http://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz",- "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==",- "dev": true,- "requires": {- "decode-uri-component": "^0.2.0",- "object-assign": "^4.1.0",- "strict-uri-encode": "^1.0.0"- }- },- "querystring": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",- "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",- "dev": true- },- "querystring-es3": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",- "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=",- "dev": true- },- "querystringify": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.1.tgz",- "integrity": "sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA==",- "dev": true- },- "randombytes": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",- "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",- "dev": true,- "requires": {- "safe-buffer": "^5.1.0"- }- },- "randomfill": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",- "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",- "dev": true,- "requires": {- "randombytes": "^2.0.5",- "safe-buffer": "^5.1.0"- }- },- "range-parser": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",- "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",- "dev": true- },- "raw-body": {- "version": "2.4.0",- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",- "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",+ "postcss-discard-overridden": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz",+ "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==","dev": true,"requires": {- "bytes": "3.1.0",- "http-errors": "1.7.2",- "iconv-lite": "0.4.24",- "unpipe": "1.0.0"+ "postcss": "^7.0.0"},"dependencies": {- "bytes": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",- "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==",- "dev": true- },- "http-errors": {- "version": "1.7.2",- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",- "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "depd": "~1.1.2",- "inherits": "2.0.3",- "setprototypeof": "1.1.1",- "statuses": ">= 1.5.0 < 2",- "toidentifier": "1.0.0"+ "color-convert": "^1.9.0"}},- "setprototypeof": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",- "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",- "dev": true- },- "statuses": {- "version": "1.5.0",- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",- "dev": true- }- }- },- "raw-loader": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-3.1.0.tgz",- "integrity": "sha512-lzUVMuJ06HF4rYveaz9Tv0WRlUMxJ0Y1hgSkkgg+50iEdaI0TthyEDe08KIHb0XsF6rn8WYTqPCaGTZg3sX+qA==",- "dev": true,- "requires": {- "loader-utils": "^1.1.0",- "schema-utils": "^2.0.1"- },- "dependencies": {- "schema-utils": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.0.1.tgz",- "integrity": "sha512-HJFKJ4JixDpRur06QHwi8uu2kZbng318ahWEKgBjc0ZklcE4FDvmm2wghb448q0IRaABxIESt8vqPFvwgMB80A==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "ajv": "^6.1.0",- "ajv-keywords": "^3.1.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}- }- }- },- "react-is": {- "version": "16.8.6",- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.6.tgz",- "integrity": "sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==",- "dev": true- },- "read-chunk": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/read-chunk/-/read-chunk-3.2.0.tgz",- "integrity": "sha512-CEjy9LCzhmD7nUpJ1oVOE6s/hBkejlcJEgLQHVnQznOSilOPb+kpKktlLfFDK3/WP43+F80xkUTM2VOkYoSYvQ==",- "dev": true,- "requires": {- "pify": "^4.0.1",- "with-open-file": "^0.1.6"- },- "dependencies": {- "pify": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",- "dev": true- }- }- },- "read-pkg": {- "version": "5.2.0",- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",- "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==",- "dev": true,- "requires": {- "@types/normalize-package-data": "^2.4.0",- "normalize-package-data": "^2.5.0",- "parse-json": "^5.0.0",- "type-fest": "^0.6.0"- },- "dependencies": {- "normalize-package-data": {- "version": "2.5.0",- "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",- "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "hosted-git-info": "^2.1.4",- "resolve": "^1.10.0",- "semver": "2 || 3 || 4 || 5",- "validate-npm-package-license": "^3.0.1"+ "color-name": "1.1.3"}},- "parse-json": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz",- "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "@babel/code-frame": "^7.0.0",- "error-ex": "^1.3.1",- "json-parse-better-errors": "^1.0.1",- "lines-and-columns": "^1.1.6"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "resolve": {- "version": "1.12.0",- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz",- "integrity": "sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "path-parse": "^1.0.6"+ "has-flag": "^3.0.0"}}}},- "read-pkg-up": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",- "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",+ "postcss-merge-longhand": {+ "version": "4.0.11",+ "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz",+ "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==","dev": true,"requires": {- "find-up": "^1.0.0",- "read-pkg": "^1.0.0"+ "css-color-names": "0.0.4",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0",+ "stylehacks": "^4.0.0"},"dependencies": {- "find-up": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",- "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "path-exists": "^2.0.0",- "pinkie-promise": "^2.0.0"+ "color-convert": "^1.9.0"}},- "path-exists": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",- "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "pinkie-promise": "^2.0.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "path-type": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",- "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "graceful-fs": "^4.1.2",- "pify": "^2.0.0",- "pinkie-promise": "^2.0.0"+ "color-name": "1.1.3"}},- "pify": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "read-pkg": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",- "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "load-json-file": "^1.0.0",- "normalize-package-data": "^2.3.2",- "path-type": "^1.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}- }- }- },- "readable-stream": {- "version": "2.3.6",- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",- "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",- "dev": true,- "requires": {- "core-util-is": "~1.0.0",- "inherits": "~2.0.3",- "isarray": "~1.0.0",- "process-nextick-args": "~2.0.0",- "safe-buffer": "~5.1.1",- "string_decoder": "~1.1.1",- "util-deprecate": "~1.0.1"- }- },- "readdirp": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.1.2.tgz",- "integrity": "sha512-8rhl0xs2cxfVsqzreYCvs8EwBfn/DhVdqtoLmw19uI3SC5avYX9teCurlErfpPXGmYtMHReGaP2RsLnFvz/lnw==",- "dev": true,- "requires": {- "picomatch": "^2.0.4"- }- },- "realpath-native": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/realpath-native/-/realpath-native-1.1.0.tgz",- "integrity": "sha512-wlgPA6cCIIg9gKz0fgAPjnzh4yR/LnXovwuo9hvyGvx3h8nX4+/iLZplfUWasXpqD8BdnGnP5njOFjkUwPzvjA==",- "dev": true,- "requires": {- "util.promisify": "^1.0.0"- }- },- "recast": {- "version": "0.16.2",- "resolved": "https://registry.npmjs.org/recast/-/recast-0.16.2.tgz",- "integrity": "sha512-O/7qXi51DPjRVdbrpNzoBQH5dnAPQNbfoOFyRiUwreTMJfIHYOEBzwuH+c0+/BTSJ3CQyKs6ILSWXhESH6Op3A==",- "dev": true,- "requires": {- "ast-types": "0.11.7",- "esprima": "~4.0.0",- "private": "~0.1.5",- "source-map": "~0.6.1"- },- "dependencies": {- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- }- }- },- "rechoir": {- "version": "0.6.2",- "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz",- "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=",- "dev": true,- "requires": {- "resolve": "^1.1.6"- }- },- "redent": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",- "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=",- "dev": true,- "requires": {- "indent-string": "^2.1.0",- "strip-indent": "^1.0.1"- }- },- "reflect-metadata": {- "version": "0.1.12",- "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.12.tgz",- "integrity": "sha512-n+IyV+nGz3+0q3/Yf1ra12KpCyi001bi4XFxSjbiWWjfqb52iTTtpGXmCCAOWWIAn9KEuFZKGqBERHmrtScZ3A==",- "dev": true- },- "regenerate": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",- "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==",- "dev": true- },- "regenerate-unicode-properties": {- "version": "8.1.0",- "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz",- "integrity": "sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==",- "dev": true,- "requires": {- "regenerate": "^1.4.0"- }- },- "regenerator-transform": {- "version": "0.14.0",- "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.0.tgz",- "integrity": "sha512-rtOelq4Cawlbmq9xuMR5gdFmv7ku/sFoB7sRiywx7aq53bc52b4j6zvH7Te1Vt/X2YveDKnCGUbioieU7FEL3w==",- "dev": true,- "requires": {- "private": "^0.1.6"- }- },- "regex-not": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",- "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",- "dev": true,- "requires": {- "extend-shallow": "^3.0.2",- "safe-regex": "^1.1.0"- }- },- "regexp-tree": {- "version": "0.1.10",- "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.10.tgz",- "integrity": "sha512-K1qVSbcedffwuIslMwpe6vGlj+ZXRnGkvjAtFHfDZZZuEdA/h0dxljAPu9vhUo6Rrx2U2AwJ+nSQ6hK+lrP5MQ==",- "dev": true- },- "regexpu-core": {- "version": "4.5.4",- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.4.tgz",- "integrity": "sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ==",- "dev": true,- "requires": {- "regenerate": "^1.4.0",- "regenerate-unicode-properties": "^8.0.2",- "regjsgen": "^0.5.0",- "regjsparser": "^0.6.0",- "unicode-match-property-ecmascript": "^1.0.4",- "unicode-match-property-value-ecmascript": "^1.1.0"- },- "dependencies": {- "regjsgen": {- "version": "0.5.0",- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.0.tgz",- "integrity": "sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA==",+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},- "regjsparser": {- "version": "0.6.0",- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz",- "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "jsesc": "~0.5.0"+ "has-flag": "^3.0.0"}}}},- "regjsgen": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",- "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=",- "dev": true- },- "regjsparser": {- "version": "0.1.5",- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz",- "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=",- "dev": true,- "requires": {- "jsesc": "~0.5.0"- }- },- "relateurl": {- "version": "0.2.7",- "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz",- "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=",- "dev": true- },- "remove-trailing-separator": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",- "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",- "dev": true- },- "renderkid": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.1.tgz",- "integrity": "sha1-iYyr/Ivt5Le5ETWj/9Mj5YwNsxk=",- "dev": true,- "requires": {- "css-select": "^1.1.0",- "dom-converter": "~0.1",- "htmlparser2": "~3.3.0",- "strip-ansi": "^3.0.0",- "utila": "~0.3"- },- "dependencies": {- "utila": {- "version": "0.3.3",- "resolved": "https://registry.npmjs.org/utila/-/utila-0.3.3.tgz",- "integrity": "sha1-1+jn1+MJEHCSsF+NloiCTWM6QiY=",- "dev": true- }- }- },- "repeat-element": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",- "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==",- "dev": true- },- "repeat-string": {- "version": "1.6.1",- "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",- "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",- "dev": true- },- "repeating": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",- "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",- "dev": true,- "requires": {- "is-finite": "^1.0.0"- }- },- "replace-ext": {- "version": "0.0.1",- "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz",- "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=",- "dev": true- },- "request": {- "version": "2.87.0",- "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz",- "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==",- "dev": true,- "requires": {- "aws-sign2": "~0.7.0",- "aws4": "^1.6.0",- "caseless": "~0.12.0",- "combined-stream": "~1.0.5",- "extend": "~3.0.1",- "forever-agent": "~0.6.1",- "form-data": "~2.3.1",- "har-validator": "~5.0.3",- "http-signature": "~1.2.0",- "is-typedarray": "~1.0.0",- "isstream": "~0.1.2",- "json-stringify-safe": "~5.0.1",- "mime-types": "~2.1.17",- "oauth-sign": "~0.8.2",- "performance-now": "^2.1.0",- "qs": "~6.5.1",- "safe-buffer": "^5.1.1",- "tough-cookie": "~2.3.3",- "tunnel-agent": "^0.6.0",- "uuid": "^3.1.0"- }- },- "request-promise-core": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.1.tgz",- "integrity": "sha1-Pu4AssWqgyOc+wTFcA2jb4HNCLY=",- "dev": true,- "requires": {- "lodash": "^4.13.1"- }- },- "request-promise-native": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.5.tgz",- "integrity": "sha1-UoF3D2jgyXGeUWP9P6tIIhX0/aU=",- "dev": true,- "requires": {- "request-promise-core": "1.1.1",- "stealthy-require": "^1.1.0",- "tough-cookie": ">=2.3.3"- }- },- "require-directory": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",- "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",- "dev": true- },- "require-main-filename": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",- "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=",- "dev": true- },- "requires-port": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",- "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=",- "dev": true- },- "resolve": {- "version": "1.8.1",- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz",- "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==",- "dev": true,- "requires": {- "path-parse": "^1.0.5"- }- },- "resolve-cwd": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz",- "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=",- "dev": true,- "requires": {- "resolve-from": "^3.0.0"- }- },- "resolve-dir": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz",- "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=",- "dev": true,- "requires": {- "expand-tilde": "^2.0.0",- "global-modules": "^1.0.0"- }- },- "resolve-from": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",- "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=",- "dev": true- },- "resolve-url": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",- "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",- "dev": true- },- "responselike": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",- "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",- "dev": true,- "requires": {- "lowercase-keys": "^1.0.0"- }- },- "restore-cursor": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",- "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",- "dev": true,- "requires": {- "onetime": "^2.0.0",- "signal-exit": "^3.0.2"- }- },- "ret": {- "version": "0.1.15",- "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",- "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",- "dev": true- },- "retry": {- "version": "0.12.0",- "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",- "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=",- "dev": true- },- "rgb-regex": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz",- "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=",- "dev": true- },- "rgba-regex": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz",- "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=",- "dev": true- },- "rimraf": {- "version": "2.6.2",- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",- "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",- "dev": true,- "requires": {- "glob": "^7.0.5"- }- },- "ripemd160": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",- "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",- "dev": true,- "requires": {- "hash-base": "^3.0.0",- "inherits": "^2.0.1"- }- },- "rsvp": {- "version": "4.8.5",- "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz",- "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==",- "dev": true- },- "run-async": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",- "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",- "dev": true,- "requires": {- "is-promise": "^2.1.0"- }- },- "run-node": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz",- "integrity": "sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==",- "dev": true- },- "run-queue": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz",- "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=",- "dev": true,- "requires": {- "aproba": "^1.1.1"- }- },- "rxjs": {- "version": "6.5.2",- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz",- "integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==",- "dev": true,- "requires": {- "tslib": "^1.9.0"- }- },- "safe-buffer": {- "version": "5.1.2",- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",- "dev": true- },- "safe-regex": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",- "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",+ "postcss-merge-rules": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz",+ "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==","dev": true,"requires": {- "ret": "~0.1.10"+ "browserslist": "^4.0.0",+ "caniuse-api": "^3.0.0",+ "cssnano-util-same-parent": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-selector-parser": "^3.0.0",+ "vendors": "^1.0.0"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "postcss-selector-parser": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",+ "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==",+ "dev": true,+ "requires": {+ "dot-prop": "^5.2.0",+ "indexes-of": "^1.0.1",+ "uniq": "^1.0.1"+ }+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "safer-buffer": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",- "dev": true- },- "sane": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/sane/-/sane-4.1.0.tgz",- "integrity": "sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==",+ "postcss-minify-font-values": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz",+ "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==","dev": true,"requires": {- "@cnakazawa/watch": "^1.0.3",- "anymatch": "^2.0.0",- "capture-exit": "^2.0.0",- "exec-sh": "^0.3.2",- "execa": "^1.0.0",- "fb-watchman": "^2.0.0",- "micromatch": "^3.1.4",- "minimist": "^1.1.1",- "walker": "~1.0.5"- },- "dependencies": {- "minimist": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "sass-graph": {- "version": "2.2.4",- "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",- "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=",+ "postcss-minify-gradients": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz",+ "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==","dev": true,"requires": {- "glob": "^7.0.0",- "lodash": "^4.0.0",- "scss-tokenizer": "^0.2.3",- "yargs": "^7.0.0"+ "cssnano-util-get-arguments": "^4.0.0",+ "is-color-stop": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "sass-loader": {- "version": "7.3.1",- "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-7.3.1.tgz",- "integrity": "sha512-tuU7+zm0pTCynKYHpdqaPpe+MMTQ76I9TPZ7i4/5dZsigE350shQWe5EZNl5dBidM49TPET75tNqRbcsUZWeNA==",+ "postcss-minify-params": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz",+ "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==","dev": true,"requires": {- "clone-deep": "^4.0.1",- "loader-utils": "^1.0.1",- "neo-async": "^2.5.0",- "pify": "^4.0.1",- "semver": "^6.3.0"+ "alphanum-sort": "^1.0.0",+ "browserslist": "^4.0.0",+ "cssnano-util-get-arguments": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0",+ "uniqs": "^2.0.0"},"dependencies": {- "pify": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "semver": {- "version": "6.3.0",- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "sax": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",- "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",- "dev": true- },- "saxes": {- "version": "3.1.11",- "resolved": "https://registry.npmjs.org/saxes/-/saxes-3.1.11.tgz",- "integrity": "sha512-Ydydq3zC+WYDJK1+gRxRapLIED9PWeSuuS41wqyoRmzvhhh9nc+QQrVMKJYzJFULazeGhzSV0QleN2wD3boh2g==",- "dev": true,- "requires": {- "xmlchars": "^2.1.1"- }- },- "schema-utils": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",- "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",- "dev": true,- "requires": {- "ajv": "^6.1.0",- "ajv-errors": "^1.0.0",- "ajv-keywords": "^3.1.0"- }- },- "scoped-regex": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/scoped-regex/-/scoped-regex-1.0.0.tgz",- "integrity": "sha1-o0a7Gs1CB65wvXwMfKnlZra63bg=",- "dev": true- },- "script-ext-html-webpack-plugin": {- "version": "2.1.4",- "resolved": "https://registry.npmjs.org/script-ext-html-webpack-plugin/-/script-ext-html-webpack-plugin-2.1.4.tgz",- "integrity": "sha512-7MAv3paAMfh9y2Rg+yQKp9jEGC5cEcmdge4EomRqri10qoczmliYEVPVNz0/5e9QQ202e05qDll9B8zZlY9N1g==",+ "postcss-minify-selectors": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz",+ "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==","dev": true,"requires": {- "debug": "^4.1.1"+ "alphanum-sort": "^1.0.0",+ "has": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-selector-parser": "^3.0.0"},"dependencies": {- "debug": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "ms": "^2.1.1"+ "color-convert": "^1.9.0"}},- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",- "dev": true- }- }- },- "scss-tokenizer": {- "version": "0.2.3",- "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz",- "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=",- "dev": true,- "requires": {- "js-base64": "^2.1.8",- "source-map": "^0.4.2"- },- "dependencies": {- "source-map": {- "version": "0.4.4",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",- "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "amdefine": ">=0.0.4"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}- }- }- },- "select-hose": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",- "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=",- "dev": true- },- "selfsigned": {- "version": "1.10.4",- "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.4.tgz",- "integrity": "sha512-9AukTiDmHXGXWtWjembZ5NDmVvP2695EtpgbCsxCa68w3c88B+alqbmZ4O3hZ4VWGXeGWzEVdvqgAJD8DQPCDw==",- "dev": true,- "requires": {- "node-forge": "0.7.5"- }- },- "semver": {- "version": "5.5.1",- "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz",- "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==",- "dev": true- },- "semver-compare": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",- "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=",- "dev": true- },- "send": {- "version": "0.17.1",- "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",- "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",- "dev": true,- "requires": {- "debug": "2.6.9",- "depd": "~1.1.2",- "destroy": "~1.0.4",- "encodeurl": "~1.0.2",- "escape-html": "~1.0.3",- "etag": "~1.8.1",- "fresh": "0.5.2",- "http-errors": "~1.7.2",- "mime": "1.6.0",- "ms": "2.1.1",- "on-finished": "~2.3.0",- "range-parser": "~1.2.1",- "statuses": "~1.5.0"- },- "dependencies": {- "http-errors": {- "version": "1.7.3",- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz",- "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==",+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "depd": "~1.1.2",- "inherits": "2.0.4",- "setprototypeof": "1.1.1",- "statuses": ">= 1.5.0 < 2",- "toidentifier": "1.0.0"+ "color-name": "1.1.3"}},- "inherits": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "ms": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",- "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "setprototypeof": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",- "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",- "dev": true+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }},- "statuses": {- "version": "1.5.0",- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",- "dev": true+ "postcss-selector-parser": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",+ "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==",+ "dev": true,+ "requires": {+ "dot-prop": "^5.2.0",+ "indexes-of": "^1.0.1",+ "uniq": "^1.0.1"+ }+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "serialize-javascript": {- "version": "1.7.0",- "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.7.0.tgz",- "integrity": "sha512-ke8UG8ulpFOxO8f8gRYabHQe/ZntKlcig2Mp+8+URDP1D8vJZ0KUt7LYo07q25Z/+JVSgpr/cui9PIp5H6/+nA==",- "dev": true- },- "serve-index": {- "version": "1.9.1",- "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz",- "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=",- "dev": true,- "requires": {- "accepts": "~1.3.4",- "batch": "0.6.1",- "debug": "2.6.9",- "escape-html": "~1.0.3",- "http-errors": "~1.6.2",- "mime-types": "~2.1.17",- "parseurl": "~1.3.2"- }- },- "serve-static": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",- "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",+ "postcss-modules": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/postcss-modules/-/postcss-modules-3.2.2.tgz",+ "integrity": "sha512-JQ8IAqHELxC0N6tyCg2UF40pACY5oiL6UpiqqcIFRWqgDYO8B0jnxzoQ0EOpPrWXvcpu6BSbQU/3vSiq7w8Nhw==","dev": true,"requires": {- "encodeurl": "~1.0.2",- "escape-html": "~1.0.3",- "parseurl": "~1.3.3",- "send": "0.17.1"+ "generic-names": "^2.0.1",+ "icss-replace-symbols": "^1.1.0",+ "lodash.camelcase": "^4.3.0",+ "postcss": "^7.0.32",+ "postcss-modules-extract-imports": "^2.0.0",+ "postcss-modules-local-by-default": "^3.0.2",+ "postcss-modules-scope": "^2.2.0",+ "postcss-modules-values": "^3.0.0",+ "string-hash": "^1.1.1"},"dependencies": {- "parseurl": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "set-blocking": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",- "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",- "dev": true- },- "set-value": {+ "postcss-modules-extract-imports": {"version": "2.0.0",- "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz",- "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==",+ "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz",+ "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==","dev": true,"requires": {- "extend-shallow": "^2.0.1",- "is-extendable": "^0.1.1",- "is-plain-object": "^2.0.3",- "split-string": "^3.0.1"+ "postcss": "^7.0.5"},"dependencies": {- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "is-extendable": "^0.1.0"+ "color-convert": "^1.9.0"}- }- }- },- "setimmediate": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",- "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=",- "dev": true- },- "setprototypeof": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",- "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==",- "dev": true- },- "sha.js": {- "version": "2.4.11",- "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",- "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",- "dev": true,- "requires": {- "inherits": "^2.0.1",- "safe-buffer": "^5.0.1"- }- },- "shallow-clone": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz",- "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==",- "dev": true,- "requires": {- "kind-of": "^6.0.2"- }- },- "shebang-command": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",- "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",- "dev": true,- "requires": {- "shebang-regex": "^1.0.0"- }- },- "shebang-regex": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",- "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",- "dev": true- },- "shelljs": {- "version": "0.8.3",- "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.3.tgz",- "integrity": "sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==",- "dev": true,- "requires": {- "glob": "^7.0.0",- "interpret": "^1.0.0",- "rechoir": "^0.6.2"- }- },- "shellwords": {- "version": "0.1.1",- "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz",- "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==",- "dev": true- },- "signal-exit": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",- "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",- "dev": true- },- "simple-swizzle": {- "version": "0.2.2",- "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",- "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=",- "dev": true,- "requires": {- "is-arrayish": "^0.3.1"- },- "dependencies": {- "is-arrayish": {- "version": "0.3.2",- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",- "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true- }- }- },- "sisteransi": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.0.tgz",- "integrity": "sha512-N+z4pHB4AmUv0SjveWRd6q1Nj5w62m5jodv+GD8lvmbY/83T/rpbJGZOnK5T149OldDj4Db07BSv9xY4K6NTPQ==",- "dev": true- },- "slash": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",- "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",- "dev": true- },- "snapdragon": {- "version": "0.8.2",- "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",- "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",- "dev": true,- "requires": {- "base": "^0.11.1",- "debug": "^2.2.0",- "define-property": "^0.2.5",- "extend-shallow": "^2.0.1",- "map-cache": "^0.2.2",- "source-map": "^0.5.6",- "source-map-resolve": "^0.5.0",- "use": "^3.1.0"- },- "dependencies": {- "define-property": {- "version": "0.2.5",- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "is-descriptor": "^0.1.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "is-extendable": "^0.1.0"+ "has-flag": "^3.0.0"}}}},- "snapdragon-node": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",- "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",+ "postcss-modules-local-by-default": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz",+ "integrity": "sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==","dev": true,"requires": {- "define-property": "^1.0.0",- "isobject": "^3.0.0",- "snapdragon-util": "^3.0.1"+ "icss-utils": "^4.1.1",+ "postcss": "^7.0.32",+ "postcss-selector-parser": "^6.0.2",+ "postcss-value-parser": "^4.1.0"},"dependencies": {- "define-property": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",- "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "is-descriptor": "^1.0.0"+ "color-convert": "^1.9.0"}},- "is-accessor-descriptor": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "kind-of": "^6.0.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "is-data-descriptor": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "kind-of": "^6.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "is-descriptor": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "is-accessor-descriptor": "^1.0.0",- "is-data-descriptor": "^1.0.0",- "kind-of": "^6.0.2"+ "has-flag": "^3.0.0"}}}},- "snapdragon-util": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",- "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",+ "postcss-modules-scope": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz",+ "integrity": "sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==","dev": true,"requires": {- "kind-of": "^3.2.0"+ "postcss": "^7.0.6",+ "postcss-selector-parser": "^6.0.0"},"dependencies": {- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "is-buffer": "^1.1.5"+ "color-convert": "^1.9.0"}- }- }- },- "sockjs": {- "version": "0.3.19",- "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz",- "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==",- "dev": true,- "requires": {- "faye-websocket": "^0.10.0",- "uuid": "^3.0.1"- }- },- "sockjs-client": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.3.0.tgz",- "integrity": "sha512-R9jxEzhnnrdxLCNln0xg5uGHqMnkhPSTzUZH2eXcR03S/On9Yvoq2wyUZILRUhZCNVu2PmwWVoyuiPz8th8zbg==",- "dev": true,- "requires": {- "debug": "^3.2.5",- "eventsource": "^1.0.7",- "faye-websocket": "~0.11.1",- "inherits": "^2.0.3",- "json3": "^3.3.2",- "url-parse": "^1.4.3"- },- "dependencies": {- "debug": {- "version": "3.2.6",- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "ms": "^2.1.1"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "faye-websocket": {- "version": "0.11.3",- "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz",- "integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "websocket-driver": ">=0.5.1"+ "color-name": "1.1.3"}},- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "sort-keys": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz",- "integrity": "sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=",- "dev": true,- "requires": {- "is-plain-obj": "^1.0.0"- }- },- "source-list-map": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz",- "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==",- "dev": true- },- "source-map": {- "version": "0.5.7",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",- "dev": true- },- "source-map-loader": {- "version": "0.2.4",- "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-0.2.4.tgz",- "integrity": "sha512-OU6UJUty+i2JDpTItnizPrlpOIBLmQbWMuBg9q5bVtnHACqw1tn9nNwqJLbv0/00JjnJb/Ee5g5WS5vrRv7zIQ==",- "dev": true,- "requires": {- "async": "^2.5.0",- "loader-utils": "^1.1.0"- }- },- "source-map-resolve": {- "version": "0.5.2",- "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz",- "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==",- "dev": true,- "requires": {- "atob": "^2.1.1",- "decode-uri-component": "^0.2.0",- "resolve-url": "^0.2.1",- "source-map-url": "^0.4.0",- "urix": "^0.1.0"- }- },- "source-map-support": {- "version": "0.5.12",- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.12.tgz",- "integrity": "sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ==",+ "postcss-modules-values": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz",+ "integrity": "sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==","dev": true,"requires": {- "buffer-from": "^1.0.0",- "source-map": "^0.6.0"+ "icss-utils": "^4.0.0",+ "postcss": "^7.0.6"},"dependencies": {- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "source-map-url": {- "version": "0.4.0",- "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",- "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=",- "dev": true- },- "spdx-correct": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz",- "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==",- "dev": true,- "requires": {- "spdx-expression-parse": "^3.0.0",- "spdx-license-ids": "^3.0.0"- }- },- "spdx-exceptions": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz",- "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==",- "dev": true- },- "spdx-expression-parse": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",- "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",+ "postcss-nested": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-4.2.3.tgz",+ "integrity": "sha512-rOv0W1HquRCamWy2kFl3QazJMMe1ku6rCFoAAH+9AcxdbpDeBr6k968MLWuLjvjMcGEip01ak09hKOEgpK9hvw==","dev": true,"requires": {- "spdx-exceptions": "^2.1.0",- "spdx-license-ids": "^3.0.0"+ "postcss": "^7.0.32",+ "postcss-selector-parser": "^6.0.2"}},- "spdx-license-ids": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz",- "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==",- "dev": true- },- "spdy": {+ "postcss-normalize-charset": {"version": "4.0.1",- "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.1.tgz",- "integrity": "sha512-HeZS3PBdMA+sZSu0qwpCxl3DeALD5ASx8pAX0jZdKXSpPWbQ6SYGnlg3BBmYLx5LtiZrmkAZfErCm2oECBcioA==",+ "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz",+ "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==","dev": true,"requires": {- "debug": "^4.1.0",- "handle-thing": "^2.0.0",- "http-deceiver": "^1.2.7",- "select-hose": "^2.0.0",- "spdy-transport": "^3.0.0"+ "postcss": "^7.0.0"},"dependencies": {- "debug": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "ms": "^2.1.1"+ "color-name": "1.1.3"}},- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "spdy-transport": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz",- "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==",+ "postcss-normalize-display-values": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz",+ "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==","dev": true,"requires": {- "debug": "^4.1.0",- "detect-node": "^2.0.4",- "hpack.js": "^2.1.6",- "obuf": "^1.1.2",- "readable-stream": "^3.0.6",- "wbuf": "^1.7.3"+ "cssnano-util-get-match": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"},"dependencies": {- "debug": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "ms": "^2.1.1"+ "color-convert": "^1.9.0"}},- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "readable-stream": {- "version": "3.4.0",- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz",- "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "inherits": "^2.0.3",- "string_decoder": "^1.1.1",- "util-deprecate": "^1.0.1"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}- }- }- },- "split-string": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",- "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",- "dev": true,- "requires": {- "extend-shallow": "^3.0.0"- }- },- "sprintf-js": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",- "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",- "dev": true- },- "sshpk": {- "version": "1.14.2",- "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz",- "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=",- "dev": true,- "requires": {- "asn1": "~0.2.3",- "assert-plus": "^1.0.0",- "bcrypt-pbkdf": "^1.0.0",- "dashdash": "^1.12.0",- "ecc-jsbn": "~0.1.1",- "getpass": "^0.1.1",- "jsbn": "~0.1.0",- "safer-buffer": "^2.0.2",- "tweetnacl": "~0.14.0"- }- },- "ssri": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz",- "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==",- "dev": true,- "requires": {- "figgy-pudding": "^3.5.1"- }- },- "stable": {- "version": "0.1.8",- "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",- "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",- "dev": true- },- "stack-utils": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.2.tgz",- "integrity": "sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA==",- "dev": true- },- "static-extend": {- "version": "0.1.2",- "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",- "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=",- "dev": true,- "requires": {- "define-property": "^0.2.5",- "object-copy": "^0.1.0"- },- "dependencies": {- "define-property": {- "version": "0.2.5",- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "is-descriptor": "^0.1.0"+ "has-flag": "^3.0.0"}}}},- "statuses": {- "version": "1.5.0",- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",- "dev": true- },- "stdout-stream": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz",- "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==",- "dev": true,- "requires": {- "readable-stream": "^2.0.1"- }- },- "stealthy-require": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz",- "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=",- "dev": true- },- "stream-browserify": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz",- "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==",- "dev": true,- "requires": {- "inherits": "~2.0.1",- "readable-stream": "^2.0.2"- }- },- "stream-each": {- "version": "1.2.3",- "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz",- "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==",- "dev": true,- "requires": {- "end-of-stream": "^1.1.0",- "stream-shift": "^1.0.0"- }- },- "stream-http": {- "version": "2.8.3",- "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz",- "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==",- "dev": true,- "requires": {- "builtin-status-codes": "^3.0.0",- "inherits": "^2.0.1",- "readable-stream": "^2.3.6",- "to-arraybuffer": "^1.0.0",- "xtend": "^4.0.0"- }- },- "stream-shift": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz",- "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=",- "dev": true- },- "strict-uri-encode": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz",- "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=",- "dev": true- },- "string-length": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz",- "integrity": "sha1-1A27aGo6zpYMHP/KVivyxF+DY+0=",+ "postcss-normalize-positions": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz",+ "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==","dev": true,"requires": {- "astral-regex": "^1.0.0",- "strip-ansi": "^4.0.0"+ "cssnano-util-get-arguments": "^4.0.0",+ "has": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"},"dependencies": {- "ansi-regex": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "strip-ansi": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "ansi-regex": "^3.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}- }- }- },- "string-template": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/string-template/-/string-template-0.2.1.tgz",- "integrity": "sha1-QpMuWYo1LQH8IuwzZ9nYTuxsmt0=",- "dev": true- },- "string-width": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",- "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",- "dev": true,- "requires": {- "code-point-at": "^1.0.0",- "is-fullwidth-code-point": "^1.0.0",- "strip-ansi": "^3.0.0"- }- },- "string_decoder": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",- "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",- "dev": true,- "requires": {- "safe-buffer": "~5.1.0"- }- },- "strip-ansi": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",- "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",- "dev": true,- "requires": {- "ansi-regex": "^2.0.0"- }- },- "strip-bom": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",- "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",- "dev": true,- "requires": {- "is-utf8": "^0.2.0"- }- },- "strip-bom-stream": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz",- "integrity": "sha1-+H217yYT9paKpUWr/h7HKLaoKco=",- "dev": true,- "requires": {- "first-chunk-stream": "^2.0.0",- "strip-bom": "^2.0.0"- }- },- "strip-eof": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",- "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=",- "dev": true- },- "strip-indent": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",- "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=",- "dev": true,- "requires": {- "get-stdin": "^4.0.1"- },- "dependencies": {- "get-stdin": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",- "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",- "dev": true- }- }- },- "style-loader": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-1.0.0.tgz",- "integrity": "sha512-B0dOCFwv7/eY31a5PCieNwMgMhVGFe9w+rh7s/Bx8kfFkrth9zfTZquoYvdw8URgiqxObQKcpW51Ugz1HjfdZw==",- "dev": true,- "requires": {- "loader-utils": "^1.2.3",- "schema-utils": "^2.0.1"- },- "dependencies": {- "schema-utils": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.0.1.tgz",- "integrity": "sha512-HJFKJ4JixDpRur06QHwi8uu2kZbng318ahWEKgBjc0ZklcE4FDvmm2wghb448q0IRaABxIESt8vqPFvwgMB80A==",+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "ajv": "^6.1.0",- "ajv-keywords": "^3.1.0"+ "has-flag": "^3.0.0"}}}},- "stylehacks": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz",- "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==",+ "postcss-normalize-repeat-style": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz",+ "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==","dev": true,"requires": {- "browserslist": "^4.0.0",+ "cssnano-util-get-arguments": "^4.0.0",+ "cssnano-util-get-match": "^4.0.0","postcss": "^7.0.0",- "postcss-selector-parser": "^3.0.0"+ "postcss-value-parser": "^3.0.0"},"dependencies": {- "postcss": {- "version": "7.0.16",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.16.tgz",- "integrity": "sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"+ "color-convert": "^1.9.0"}},- "postcss-selector-parser": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz",- "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "dot-prop": "^4.1.1",- "indexes-of": "^1.0.1",- "uniq": "^1.0.1"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},"supports-color": {@@ -13901,2466 +13103,1932 @@}}},- "supports-color": {- "version": "5.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- },- "svgo": {- "version": "1.2.2",- "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.2.2.tgz",- "integrity": "sha512-rAfulcwp2D9jjdGu+0CuqlrAUin6bBWrpoqXWwKDZZZJfXcUXQSxLJOFJCQCSA0x0pP2U0TxSlJu2ROq5Bq6qA==",+ "postcss-normalize-string": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz",+ "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==","dev": true,"requires": {- "chalk": "^2.4.1",- "coa": "^2.0.2",- "css-select": "^2.0.0",- "css-select-base-adapter": "^0.1.1",- "css-tree": "1.0.0-alpha.28",- "css-url-regex": "^1.1.0",- "csso": "^3.5.1",- "js-yaml": "^3.13.1",- "mkdirp": "~0.5.1",- "object.values": "^1.1.0",- "sax": "~1.2.4",- "stable": "^0.1.8",- "unquote": "~1.1.1",- "util.promisify": "~1.0.0"+ "has": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"},"dependencies": {- "css-select": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.0.2.tgz",- "integrity": "sha512-dSpYaDVoWaELjvZ3mS6IKZM/y2PMPa/XYoEfYNZePL4U/XgyxZNroHEHReDx/d+VgXh9VbCTtFqLkFbmeqeaRQ==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "boolbase": "^1.0.0",- "css-what": "^2.1.2",- "domutils": "^1.7.0",- "nth-check": "^1.0.2"+ "color-name": "1.1.3"}},- "css-what": {- "version": "2.1.3",- "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",- "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "domutils": {- "version": "1.7.0",- "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",- "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "dom-serializer": "0",- "domelementtype": "1"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "nth-check": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",- "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "boolbase": "~1.0.0"+ "has-flag": "^3.0.0"}}}},- "symbol-tree": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.2.tgz",- "integrity": "sha1-rifbOPZgp64uHDt9G8KQgZuFGeY=",- "dev": true- },- "tapable": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.0.tgz",- "integrity": "sha512-IlqtmLVaZA2qab8epUXbVWRn3aB1imbDMJtjB3nu4X0NqPkcY/JH9ZtCBWKHWPxs8Svi9tyo8w2dBoi07qZbBA==",- "dev": true- },- "tar": {- "version": "2.2.2",- "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",- "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",- "dev": true,- "requires": {- "block-stream": "*",- "fstream": "^1.0.12",- "inherits": "2"- }- },- "temp": {- "version": "0.8.3",- "resolved": "https://registry.npmjs.org/temp/-/temp-0.8.3.tgz",- "integrity": "sha1-4Ma8TSa5AxJEEOT+2BEDAU38H1k=",+ "postcss-normalize-timing-functions": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz",+ "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==","dev": true,"requires": {- "os-tmpdir": "^1.0.0",- "rimraf": "~2.2.6"+ "cssnano-util-get-match": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"},"dependencies": {- "rimraf": {- "version": "2.2.8",- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz",- "integrity": "sha1-5Dm+Kq7jJzIZUnMPmaiSnk/FBYI=",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "terser": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/terser/-/terser-4.1.2.tgz",- "integrity": "sha512-jvNoEQSPXJdssFwqPSgWjsOrb+ELoE+ILpHPKXC83tIxOlh2U75F1KuB2luLD/3a6/7K3Vw5pDn+hvu0C4AzSw==",+ "postcss-normalize-unicode": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz",+ "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==","dev": true,"requires": {- "commander": "^2.20.0",- "source-map": "~0.6.1",- "source-map-support": "~0.5.12"+ "browserslist": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"},"dependencies": {- "commander": {- "version": "2.20.0",- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",- "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true- }- }- },- "terser-webpack-plugin": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.1.tgz",- "integrity": "sha512-ZXmmfiwtCLfz8WKZyYUuuHf3dMYEjg8NrjHMb0JqHVHVOSkzp3cW2/XG1fP3tRhqEqSzMwzzRQGtAPbs4Cncxg==",- "dev": true,- "requires": {- "cacache": "^12.0.2",- "find-cache-dir": "^2.1.0",- "is-wsl": "^1.1.0",- "schema-utils": "^1.0.0",- "serialize-javascript": "^1.7.0",- "source-map": "^0.6.1",- "terser": "^4.1.2",- "webpack-sources": "^1.4.0",- "worker-farm": "^1.7.0"- },- "dependencies": {- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},- "webpack-sources": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.0.tgz",- "integrity": "sha512-1e4Cxgqfl8vnDhXMMpegX7JWWP7HwV8Kp8/Oefs6EG52bRtOR9vuOXM1Gl1vy6NwHfUxHeuR6ElD4HamuRPO0A==",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "source-list-map": "^2.0.0",- "source-map": "~0.6.1"+ "has-flag": "^3.0.0"}}}},- "test-exclude": {- "version": "5.2.3",- "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-5.2.3.tgz",- "integrity": "sha512-M+oxtseCFO3EDtAaGH7iiej3CBkzXqFMbzqYAACdzKui4eZA+pq3tZEwChvOdNfa7xxy8BfbmgJSIr43cC/+2g==",+ "postcss-normalize-url": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz",+ "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==","dev": true,"requires": {- "glob": "^7.1.3",- "minimatch": "^3.0.4",- "read-pkg-up": "^4.0.0",- "require-main-filename": "^2.0.0"+ "is-absolute-url": "^2.0.0",+ "normalize-url": "^3.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"},"dependencies": {- "find-up": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "locate-path": "^3.0.0"+ "color-convert": "^1.9.0"}},- "load-json-file": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz",- "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "graceful-fs": "^4.1.2",- "parse-json": "^4.0.0",- "pify": "^3.0.0",- "strip-bom": "^3.0.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "locate-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "p-locate": "^3.0.0",- "path-exists": "^3.0.0"+ "color-name": "1.1.3"}},- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true},- "p-locate": {+ "has-flag": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "p-limit": "^2.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},- "read-pkg": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz",- "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "postcss-normalize-whitespace": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz",+ "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==",+ "dev": true,+ "requires": {+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "load-json-file": "^4.0.0",- "normalize-package-data": "^2.3.2",- "path-type": "^3.0.0"+ "color-convert": "^1.9.0"}},- "read-pkg-up": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz",- "integrity": "sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "find-up": "^3.0.0",- "read-pkg": "^3.0.0"+ "color-name": "1.1.3"}},- "require-main-filename": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "strip-bom": {+ "has-flag": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",- "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true- }- }- },- "text-table": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",- "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",- "dev": true- },- "textextensions": {- "version": "2.4.0",- "resolved": "https://registry.npmjs.org/textextensions/-/textextensions-2.4.0.tgz",- "integrity": "sha512-qftQXnX1DzpSV8EddtHIT0eDDEiBF8ywhFYR2lI9xrGtxqKN+CvLXhACeCIGbCpQfxxERbrkZEFb8cZcDKbVZA==",- "dev": true- },- "throat": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz",- "integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=",- "dev": true- },- "through": {- "version": "2.3.8",- "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",- "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",- "dev": true- },- "through2": {- "version": "2.0.5",- "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",- "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==",- "dev": true,- "requires": {- "readable-stream": "~2.3.6",- "xtend": "~4.0.1"- }- },- "thunky": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.0.3.tgz",- "integrity": "sha512-YwT8pjmNcAXBZqrubu22P4FYsh2D4dxRmnWBOL8Jk8bUcRUtc5326kx32tuTmFDAZtLOGEVNl8POAR8j896Iow==",- "dev": true- },- "timed-out": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz",- "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=",- "dev": true- },- "timers-browserify": {- "version": "2.0.11",- "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.11.tgz",- "integrity": "sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ==",- "dev": true,- "requires": {- "setimmediate": "^1.0.4"- }- },- "timsort": {- "version": "0.3.0",- "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz",- "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=",- "dev": true- },- "tmp": {- "version": "0.0.33",- "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",- "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",- "dev": true,- "requires": {- "os-tmpdir": "~1.0.2"- }- },- "tmpl": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz",- "integrity": "sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=",- "dev": true- },- "to-arraybuffer": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz",- "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=",- "dev": true- },- "to-fast-properties": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",- "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",- "dev": true- },- "to-object-path": {- "version": "0.3.0",- "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",- "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=",- "dev": true,- "requires": {- "kind-of": "^3.0.2"- },- "dependencies": {- "kind-of": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "is-buffer": "^1.1.5"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}- }- }- },- "to-regex": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",- "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",- "dev": true,- "requires": {- "define-property": "^2.0.2",- "extend-shallow": "^3.0.2",- "regex-not": "^1.0.2",- "safe-regex": "^1.1.0"- }- },- "to-regex-range": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",- "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",- "dev": true,- "requires": {- "is-number": "^3.0.0",- "repeat-string": "^1.6.1"- }- },- "toidentifier": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",- "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",- "dev": true- },- "toposort": {- "version": "1.0.7",- "resolved": "https://registry.npmjs.org/toposort/-/toposort-1.0.7.tgz",- "integrity": "sha1-LmhELZ9k7HILjMieZEOsbKqVACk=",- "dev": true- },- "tough-cookie": {- "version": "2.3.4",- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz",- "integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==",- "dev": true,- "requires": {- "punycode": "^1.4.1"- },- "dependencies": {- "punycode": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",- "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",- "dev": true- }- }- },- "tr46": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz",- "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=",- "dev": true,- "requires": {- "punycode": "^2.1.0"- }- },- "travis-size-report": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/travis-size-report/-/travis-size-report-1.1.0.tgz",- "integrity": "sha512-mAMeCPZ1TvUEXDvweVCAG/ek6KgPeVsmQYXtv6I85UoIUIFAI/mCXnN7vyvTSCjIa8B0+cYn5slvqNn9Jo0U0g==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "escape-string-regexp": "^2.0.0",- "glob": "^7.1.3",- "gzip-size": "^5.1.0",- "minimist": "^1.2.0",- "node-fetch": "^2.3.0",- "pretty-bytes": "^5.1.0",- "typescript": "^3.4.4"- },- "dependencies": {- "minimist": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "trim-newlines": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",- "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=",- "dev": true- },- "trim-right": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",- "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",- "dev": true- },- "true-case-path": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz",- "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==",- "dev": true,- "requires": {- "glob": "^7.1.2"- }- },- "tryer": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz",- "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==",- "dev": true- },- "ts-loader": {- "version": "6.0.3",- "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-6.0.3.tgz",- "integrity": "sha512-iICBD4PryhnGNdtaDva49UGODHFVcuK7p4+G8CP1TVcUhTC4hkcy4MC2dzWwALSnpOzfUfA/4u8B2F64wsMgjQ==",+ "postcss-ordered-values": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz",+ "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==","dev": true,"requires": {- "chalk": "^2.3.0",- "enhanced-resolve": "^4.0.0",- "loader-utils": "^1.0.2",- "micromatch": "^4.0.0",- "semver": "^6.0.0"+ "cssnano-util-get-arguments": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"},"dependencies": {- "braces": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "fill-range": "^7.0.1"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "fill-range": {- "version": "7.0.1",- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "to-regex-range": "^5.0.1"+ "color-name": "1.1.3"}},- "is-number": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "micromatch": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz",- "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "braces": "^3.0.1",- "picomatch": "^2.0.5"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "semver": {- "version": "6.1.1",- "resolved": "https://registry.npmjs.org/semver/-/semver-6.1.1.tgz",- "integrity": "sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ==",+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},- "to-regex-range": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "is-number": "^7.0.0"+ "has-flag": "^3.0.0"}}}},- "tslib": {- "version": "1.9.3",- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",- "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==",- "dev": true- },- "tslint": {- "version": "5.19.0",- "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.19.0.tgz",- "integrity": "sha512-1LwwtBxfRJZnUvoS9c0uj8XQtAnyhWr9KlNvDIdB+oXyT+VpsOAaEhEgKi1HrZ8rq0ki/AAnbGSv4KM6/AfVZw==",- "dev": true,- "requires": {- "@babel/code-frame": "^7.0.0",- "builtin-modules": "^1.1.1",- "chalk": "^2.3.0",- "commander": "^2.12.1",- "diff": "^3.2.0",- "glob": "^7.1.1",- "js-yaml": "^3.13.1",- "minimatch": "^3.0.4",- "mkdirp": "^0.5.1",- "resolve": "^1.3.2",- "semver": "^5.3.0",- "tslib": "^1.8.0",- "tsutils": "^2.29.0"- }- },- "tslint-config-airbnb": {- "version": "5.11.1",- "resolved": "https://registry.npmjs.org/tslint-config-airbnb/-/tslint-config-airbnb-5.11.1.tgz",- "integrity": "sha512-hkaittm2607vVMe8eotANGN1CimD5tor7uoY3ypg2VTtEcDB/KGWYbJOz58t8LI4cWSyWtgqYQ5F0HwKxxhlkQ==",- "dev": true,- "requires": {- "tslint-consistent-codestyle": "^1.14.1",- "tslint-eslint-rules": "^5.4.0",- "tslint-microsoft-contrib": "~5.2.1"- }- },- "tslint-config-semistandard": {- "version": "8.0.1",- "resolved": "https://registry.npmjs.org/tslint-config-semistandard/-/tslint-config-semistandard-8.0.1.tgz",- "integrity": "sha512-iiBzHGchSnU7qgncqqrmE4AYbzpH1Zap8uEnLimRqzJJQaAUUYA4qKApPpjuAQwIrNMaCaM5YaWPFtketD6kpA==",- "dev": true,- "requires": {- "tslint-config-standard": "^8.0.1"- }- },- "tslint-config-standard": {- "version": "8.0.1",- "resolved": "https://registry.npmjs.org/tslint-config-standard/-/tslint-config-standard-8.0.1.tgz",- "integrity": "sha512-OWG+NblgjQlVuUS/Dmq3ax2v5QDZwRx4L0kEuDi7qFY9UI6RJhhNfoCV1qI4el8Fw1c5a5BTrjQJP0/jhGXY/Q==",- "dev": true,- "requires": {- "tslint-eslint-rules": "^5.3.1"- }- },- "tslint-consistent-codestyle": {- "version": "1.14.1",- "resolved": "https://registry.npmjs.org/tslint-consistent-codestyle/-/tslint-consistent-codestyle-1.14.1.tgz",- "integrity": "sha512-UxGRX2fF5LpZtqYpuPFaIva+2D7ASX3pTVw41yis6Hmw7PPA3cBnFEX1jqRsnyxGrca6mHxz7xDnwCHtOjWJMQ==",- "dev": true,- "requires": {- "@fimbul/bifrost": "^0.15.0",- "tslib": "^1.7.1",- "tsutils": "^2.29.0"- }- },- "tslint-eslint-rules": {- "version": "5.4.0",- "resolved": "https://registry.npmjs.org/tslint-eslint-rules/-/tslint-eslint-rules-5.4.0.tgz",- "integrity": "sha512-WlSXE+J2vY/VPgIcqQuijMQiel+UtmXS+4nvK4ZzlDiqBfXse8FAvkNnTcYhnQyOTW5KFM+uRRGXxYhFpuBc6w==",+ "postcss-reduce-initial": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz",+ "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==","dev": true,"requires": {- "doctrine": "0.7.2",- "tslib": "1.9.0",- "tsutils": "^3.0.0"+ "browserslist": "^4.0.0",+ "caniuse-api": "^3.0.0",+ "has": "^1.0.0",+ "postcss": "^7.0.0"},"dependencies": {- "tslib": {- "version": "1.9.0",- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.0.tgz",- "integrity": "sha512-f/qGG2tUkrISBlQZEjEqoZ3B2+npJjIf04H1wuAv9iA8i04Icp+61KRXxFdha22670NJopsZCIjhC3SnjPRKrQ==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "tsutils": {+ "has-flag": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.0.0.tgz",- "integrity": "sha512-LjHBWR0vWAUHWdIAoTjoqi56Kz+FDKBgVEuL+gVPG/Pv7QW5IdaDDeK9Txlr6U0Cmckp5EgCIq1T25qe3J6hyw==",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "tslib": "^1.8.1"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}- }- }- },- "tslint-microsoft-contrib": {- "version": "5.2.1",- "resolved": "https://registry.npmjs.org/tslint-microsoft-contrib/-/tslint-microsoft-contrib-5.2.1.tgz",- "integrity": "sha512-PDYjvpo0gN9IfMULwKk0KpVOPMhU6cNoT9VwCOLeDl/QS8v8W2yspRpFFuUS7/c5EIH/n8ApMi8TxJAz1tfFUA==",- "dev": true,- "requires": {- "tsutils": "^2.27.2 <2.29.0"- },- "dependencies": {- "tsutils": {- "version": "2.28.0",- "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.28.0.tgz",- "integrity": "sha512-bh5nAtW0tuhvOJnx1GLRn5ScraRLICGyJV5wJhtRWOLsxW70Kk5tZtpK3O/hW6LDnqKS9mlUMPZj9fEMJ0gxqA==",+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "tslib": "^1.8.1"+ "has-flag": "^3.0.0"}}}},- "tslint-react": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/tslint-react/-/tslint-react-4.0.0.tgz",- "integrity": "sha512-9fNE0fm9zNDx1+b6hgy8rgDN2WsQLRiIrn3+fbqm0tazBVF6jiaCFAITxmU+WSFWYE03Xhp1joCircXOe1WVAQ==",+ "postcss-reduce-transforms": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz",+ "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==","dev": true,"requires": {- "tsutils": "^3.9.1"+ "cssnano-util-get-match": "^4.0.0",+ "has": "^1.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0"},"dependencies": {- "tsutils": {- "version": "3.9.1",- "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.9.1.tgz",- "integrity": "sha512-hrxVtLtPqQr//p8/msPT1X1UYXUjizqSit5d9AQ5k38TcV38NyecL5xODNxa73cLe/5sdiJ+w1FqzDhRBA/anA==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",+ "dev": true+ },+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==",+ "dev": true,+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",+ "dev": true+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "tslib": "^1.8.1"+ "has-flag": "^3.0.0"}}}},- "tsutils": {- "version": "2.29.0",- "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz",- "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==",- "dev": true,- "requires": {- "tslib": "^1.8.1"- }- },- "tty-browserify": {- "version": "0.0.0",- "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz",- "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=",- "dev": true- },- "tunnel-agent": {- "version": "0.6.0",- "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",- "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",+ "postcss-selector-parser": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz",+ "integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==","dev": true,"requires": {- "safe-buffer": "^5.0.1"+ "cssesc": "^3.0.0",+ "indexes-of": "^1.0.1",+ "uniq": "^1.0.1"}},- "tweetnacl": {- "version": "0.14.5",- "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",- "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",- "dev": true,- "optional": true- },- "type-check": {- "version": "0.3.2",- "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",- "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",+ "postcss-simple-vars": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/postcss-simple-vars/-/postcss-simple-vars-5.0.2.tgz",+ "integrity": "sha512-xWIufxBoINJv6JiLb7jl5oElgp+6puJwvT5zZHliUSydoLz4DADRB3NDDsYgfKVwojn4TDLiseoC65MuS8oGGg==","dev": true,"requires": {- "prelude-ls": "~1.1.2"+ "postcss": "^7.0.14"}},- "type-fest": {- "version": "0.6.0",- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz",- "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==",- "dev": true- },- "type-is": {- "version": "1.6.18",- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",+ "postcss-svgo": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.2.tgz",+ "integrity": "sha512-C6wyjo3VwFm0QgBy+Fu7gCYOkCmgmClghO+pjcxvrcBKtiKt0uCF+hvbMO1fyv5BMImRK90SMb+dwUnfbGd+jw==","dev": true,"requires": {- "media-typer": "0.3.0",- "mime-types": "~2.1.24"+ "is-svg": "^3.0.0",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0",+ "svgo": "^1.0.0"},"dependencies": {- "mime-db": {- "version": "1.40.0",- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz",- "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==",- "dev": true- },- "mime-types": {- "version": "2.1.24",- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz",- "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "mime-db": "1.40.0"+ "color-convert": "^1.9.0"}- }- }- },- "typed-css-modules": {- "version": "0.4.2",- "resolved": "https://registry.npmjs.org/typed-css-modules/-/typed-css-modules-0.4.2.tgz",- "integrity": "sha512-8L6efZplgnraEw1RWz1Nc6swfLm6PAawivvdwFhzkFa3CJu+cPbK9712i4CAAf+JA0/Ufe19iDTPIk1WSpoz/w==",- "dev": true,- "requires": {- "camelcase": "^4.1.0",- "chalk": "^2.1.0",- "chokidar": "^2.1.2",- "css-modules-loader-core": "^1.1.0",- "glob": "^7.1.2",- "is-there": "^4.4.2",- "mkdirp": "^0.5.1",- "yargs": "^8.0.2"- },- "dependencies": {- "ansi-regex": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",- "dev": true- },- "binary-extensions": {- "version": "1.13.1",- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",- "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",- "dev": true},- "camelcase": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",- "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=",- "dev": true- },- "chokidar": {- "version": "2.1.5",- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.5.tgz",- "integrity": "sha512-i0TprVWp+Kj4WRPtInjexJ8Q+BqTE909VpH8xVhXrJkoc5QC8VO9TryGOqTr+2hljzc1sC62t22h5tZePodM/A==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "anymatch": "^2.0.0",- "async-each": "^1.0.1",- "braces": "^2.3.2",- "fsevents": "^1.2.7",- "glob-parent": "^3.1.0",- "inherits": "^2.0.3",- "is-binary-path": "^1.0.0",- "is-glob": "^4.0.0",- "normalize-path": "^3.0.0",- "path-is-absolute": "^1.0.0",- "readdirp": "^2.2.1",- "upath": "^1.1.1"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "cross-spawn": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",- "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "lru-cache": "^4.0.1",- "shebang-command": "^1.2.0",- "which": "^1.2.9"+ "color-name": "1.1.3"}},- "execa": {- "version": "0.7.0",- "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz",- "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=",- "dev": true,- "requires": {- "cross-spawn": "^5.0.1",- "get-stream": "^3.0.0",- "is-stream": "^1.1.0",- "npm-run-path": "^2.0.0",- "p-finally": "^1.0.0",- "signal-exit": "^3.0.0",- "strip-eof": "^1.0.0"- }+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true},- "get-stream": {+ "has-flag": {"version": "3.0.0",- "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",- "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "is-binary-path": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",- "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "binary-extensions": "^1.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "is-fullwidth-code-point": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",+ "postcss-value-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==","dev": true},- "load-json-file": {- "version": "2.0.0",- "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",- "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "graceful-fs": "^4.1.2",- "parse-json": "^2.2.0",- "pify": "^2.0.0",- "strip-bom": "^3.0.0"+ "has-flag": "^3.0.0"}- },- "mem": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz",- "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=",+ }+ }+ },+ "postcss-unique-selectors": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz",+ "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==",+ "dev": true,+ "requires": {+ "alphanum-sort": "^1.0.0",+ "postcss": "^7.0.0",+ "uniqs": "^2.0.0"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "mimic-fn": "^1.0.0"+ "color-convert": "^1.9.0"}},- "normalize-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",- "dev": true- },- "os-locale": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",- "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "execa": "^0.7.0",- "lcid": "^1.0.0",- "mem": "^1.1.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "parse-json": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",- "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "error-ex": "^1.2.0"+ "color-name": "1.1.3"}},- "path-type": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",- "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=",- "dev": true,- "requires": {- "pify": "^2.0.0"- }+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true},- "pify": {- "version": "2.3.0",- "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz",- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "read-pkg": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz",- "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "load-json-file": "^2.0.0",- "normalize-package-data": "^2.3.2",- "path-type": "^2.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "read-pkg-up": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz",- "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "find-up": "^2.0.0",- "read-pkg": "^2.0.0"+ "has-flag": "^3.0.0"}- },- "readdirp": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",- "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",+ }+ }+ },+ "postcss-url": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/postcss-url/-/postcss-url-8.0.0.tgz",+ "integrity": "sha512-E2cbOQ5aii2zNHh8F6fk1cxls7QVFZjLPSrqvmiza8OuXLzIpErij8BDS5Y3STPfJgpIMNCPEr8JlKQWEoozUw==",+ "dev": true,+ "requires": {+ "mime": "^2.3.1",+ "minimatch": "^3.0.4",+ "mkdirp": "^0.5.0",+ "postcss": "^7.0.2",+ "xxhashjs": "^0.2.1"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "graceful-fs": "^4.1.11",- "micromatch": "^3.1.10",- "readable-stream": "^2.0.2"+ "color-convert": "^1.9.0"}},- "string-width": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "is-fullwidth-code-point": "^2.0.0",- "strip-ansi": "^4.0.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "strip-ansi": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "ansi-regex": "^3.0.0"+ "color-name": "1.1.3"}},- "strip-bom": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",- "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",- "dev": true- },- "which-module": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "y18n": {- "version": "3.2.1",- "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",- "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=",+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "yargs": {- "version": "8.0.2",- "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz",- "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "camelcase": "^4.1.0",- "cliui": "^3.2.0",- "decamelize": "^1.1.1",- "get-caller-file": "^1.0.1",- "os-locale": "^2.0.0",- "read-pkg-up": "^2.0.0",- "require-directory": "^2.1.1",- "require-main-filename": "^1.0.1",- "set-blocking": "^2.0.0",- "string-width": "^2.0.0",- "which-module": "^2.0.0",- "y18n": "^3.2.1",- "yargs-parser": "^7.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "yargs-parser": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz",- "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "camelcase": "^4.1.0"+ "has-flag": "^3.0.0"}}}},- "typedarray": {- "version": "0.0.6",- "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",- "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",+ "postcss-value-parser": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz",+ "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==","dev": true},- "typescript": {- "version": "3.5.3",- "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.3.tgz",- "integrity": "sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==",+ "preact": {+ "version": "10.5.5",+ "resolved": "https://registry.npmjs.org/preact/-/preact-10.5.5.tgz",+ "integrity": "sha512-5ONLNH1SXMzzbQoExZX4TELemNt+TEDb622xXFNfZngjjM9qtrzseJt+EfiUu4TZ6EJ95X5sE1ES4yqHFSIdhg==","dev": true},- "uglify-js": {- "version": "3.4.9",- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz",- "integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==",+ "preact-render-to-string": {+ "version": "5.1.11",+ "resolved": "https://registry.npmjs.org/preact-render-to-string/-/preact-render-to-string-5.1.11.tgz",+ "integrity": "sha512-8DXkx8WzeUexYyh9ZjlBSsqcJVOndidw10t1MK1gLx6at4QxQE3RfqaObPgy5WOnw2piyh9kanNB7w7+dmaq4g==","dev": true,"requires": {- "commander": "~2.17.1",- "source-map": "~0.6.1"- },- "dependencies": {- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- }+ "pretty-format": "^3.8.0"}},- "unicode-canonical-property-names-ecmascript": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz",- "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==",+ "prettier": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz",+ "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==","dev": true},- "unicode-match-property-ecmascript": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz",- "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==",+ "pretty-bytes": {+ "version": "5.4.1",+ "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.4.1.tgz",+ "integrity": "sha512-s1Iam6Gwz3JI5Hweaz4GoCD1WUNUIyzePFy5+Js2hjwGVt2Z79wNN+ZKOZ2vB6C+Xs6njyB84Z1IthQg8d9LxA==",+ "dev": true+ },+ "pretty-format": {+ "version": "3.8.0",+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-3.8.0.tgz",+ "integrity": "sha1-v77VbV6ad2ZF9LH/eqGjrE+jw4U=",+ "dev": true+ },+ "pseudomap": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",+ "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=",+ "dev": true+ },+ "pump": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",+ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==","dev": true,"requires": {- "unicode-canonical-property-names-ecmascript": "^1.0.4",- "unicode-property-aliases-ecmascript": "^1.0.4"+ "end-of-stream": "^1.1.0",+ "once": "^1.3.1"}},- "unicode-match-property-value-ecmascript": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz",- "integrity": "sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g==",+ "punycode": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==","dev": true},- "unicode-property-aliases-ecmascript": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz",- "integrity": "sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==",+ "q": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",+ "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=","dev": true},- "union-value": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz",- "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=",+ "randombytes": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==","dev": true,"requires": {- "arr-union": "^3.1.0",- "get-value": "^2.0.6",- "is-extendable": "^0.1.1",- "set-value": "^0.4.3"- },- "dependencies": {- "extend-shallow": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",- "dev": true,- "requires": {- "is-extendable": "^0.1.0"- }- },- "set-value": {- "version": "0.4.3",- "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz",- "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=",- "dev": true,- "requires": {- "extend-shallow": "^2.0.1",- "is-extendable": "^0.1.1",- "is-plain-object": "^2.0.1",- "to-object-path": "^0.3.0"- }- }+ "safe-buffer": "^5.1.0"}},- "uniq": {+ "range-parser": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",+ "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",+ "dev": true+ },+ "rc": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",+ "dev": true,+ "requires": {+ "deep-extend": "^0.6.0",+ "ini": "~1.3.0",+ "minimist": "^1.2.0",+ "strip-json-comments": "~2.0.1"+ }+ },+ "registry-auth-token": {+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz",+ "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==",+ "dev": true,+ "requires": {+ "rc": "^1.1.6",+ "safe-buffer": "^5.0.1"+ }+ },+ "registry-url": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz",+ "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=",+ "dev": true,+ "requires": {+ "rc": "^1.0.1"+ }+ },+ "resolve": {+ "version": "1.17.0",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",+ "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",+ "dev": true,+ "requires": {+ "path-parse": "^1.0.6"+ }+ },+ "resolve-from": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",+ "dev": true+ },+ "restore-cursor": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",+ "dev": true,+ "requires": {+ "onetime": "^5.1.0",+ "signal-exit": "^3.0.2"+ }+ },+ "reusify": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",+ "dev": true+ },+ "rgb-regex": {"version": "1.0.1",- "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz",- "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=",+ "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz",+ "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=","dev": true},- "uniqs": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz",- "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=",+ "rgba-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz",+ "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=","dev": true},- "unique-filename": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz",- "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==",+ "rimraf": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==","dev": true,"requires": {- "unique-slug": "^2.0.0"+ "glob": "^7.1.3"}},- "unique-slug": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.0.tgz",- "integrity": "sha1-22Z258fMBimHj/GWCXx4hVrp9Ks=",+ "rollup": {+ "version": "2.33.1",+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.33.1.tgz",+ "integrity": "sha512-uY4O/IoL9oNW8MMcbA5hcOaz6tZTMIh7qJHx/tzIJm+n1wLoY38BLn6fuy7DhR57oNFLMbDQtDeJoFURt5933w==","dev": true,"requires": {- "imurmurhash": "^0.1.4"+ "fsevents": "~2.1.2"}},- "unpipe": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",- "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=",- "dev": true+ "rollup-plugin-terser": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz",+ "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==",+ "dev": true,+ "requires": {+ "@babel/code-frame": "^7.10.4",+ "jest-worker": "^26.2.1",+ "serialize-javascript": "^4.0.0",+ "terser": "^5.0.0"+ }},- "unquote": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz",- "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=",+ "run-parallel": {+ "version": "1.1.9",+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz",+ "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==","dev": true},- "unset-value": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",- "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=",+ "rxjs": {+ "version": "6.6.3",+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz",+ "integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==","dev": true,"requires": {- "has-value": "^0.3.1",- "isobject": "^3.0.0"- },- "dependencies": {- "has-value": {- "version": "0.3.1",- "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",- "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=",- "dev": true,- "requires": {- "get-value": "^2.0.3",- "has-values": "^0.1.4",- "isobject": "^2.0.0"- },- "dependencies": {- "isobject": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",- "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",- "dev": true,- "requires": {- "isarray": "1.0.0"- }- }- }- },- "has-values": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",- "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=",- "dev": true- }+ "tslib": "^1.9.0"}},- "untildify": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/untildify/-/untildify-3.0.3.tgz",- "integrity": "sha512-iSk/J8efr8uPT/Z4eSUywnqyrQU7DSdMfdqK4iWEaUVVmcP5JcnpRqmVMwcwcnmI1ATFNgC5V90u09tBynNFKA==",+ "safe-buffer": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==","dev": true},- "upath": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/upath/-/upath-1.1.2.tgz",- "integrity": "sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q==",+ "sax": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",+ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==","dev": true},- "upper-case": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz",- "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=",+ "semver-compare": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz",+ "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=","dev": true},- "uri-js": {- "version": "4.2.2",- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",- "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",+ "semver-regex": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz",+ "integrity": "sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==",+ "dev": true+ },+ "serialize-javascript": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz",+ "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==","dev": true,"requires": {- "punycode": "^2.1.0"+ "randombytes": "^2.1.0"}},- "urix": {- "version": "0.1.0",- "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",- "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",- "dev": true- },- "url": {- "version": "0.11.0",- "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz",- "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=",+ "serve": {+ "version": "11.3.2",+ "resolved": "https://registry.npmjs.org/serve/-/serve-11.3.2.tgz",+ "integrity": "sha512-yKWQfI3xbj/f7X1lTBg91fXBP0FqjJ4TEi+ilES5yzH0iKJpN5LjNb1YzIfQg9Rqn4ECUS2SOf2+Kmepogoa5w==","dev": true,"requires": {- "punycode": "1.3.2",- "querystring": "0.2.0"+ "@zeit/schemas": "2.6.0",+ "ajv": "6.5.3",+ "arg": "2.0.0",+ "boxen": "1.3.0",+ "chalk": "2.4.1",+ "clipboardy": "1.2.3",+ "compression": "1.7.3",+ "serve-handler": "6.1.3",+ "update-check": "1.5.2"},"dependencies": {- "punycode": {- "version": "1.3.2",- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",- "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "chalk": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",+ "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ }+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true+ },+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }}}},- "url-loader": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-2.1.0.tgz",- "integrity": "sha512-kVrp/8VfEm5fUt+fl2E0FQyrpmOYgMEkBsv8+UDP1wFhszECq5JyGF33I7cajlVY90zRZ6MyfgKXngLvHYZX8A==",+ "serve-handler": {+ "version": "6.1.3",+ "resolved": "https://registry.npmjs.org/serve-handler/-/serve-handler-6.1.3.tgz",+ "integrity": "sha512-FosMqFBNrLyeiIDvP1zgO6YoTzFYHxLDEIavhlmQ+knB2Z7l1t+kGLHkZIDN7UVWqQAmKI3D20A6F6jo3nDd4w==","dev": true,"requires": {- "loader-utils": "^1.2.3",- "mime": "^2.4.4",- "schema-utils": "^2.0.0"+ "bytes": "3.0.0",+ "content-disposition": "0.5.2",+ "fast-url-parser": "1.1.3",+ "mime-types": "2.1.18",+ "minimatch": "3.0.4",+ "path-is-inside": "1.0.2",+ "path-to-regexp": "2.2.1",+ "range-parser": "1.2.0"},"dependencies": {- "mime": {- "version": "2.4.4",- "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.4.tgz",- "integrity": "sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA==",+ "mime-db": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz",+ "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==","dev": true},- "schema-utils": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.0.1.tgz",- "integrity": "sha512-HJFKJ4JixDpRur06QHwi8uu2kZbng318ahWEKgBjc0ZklcE4FDvmm2wghb448q0IRaABxIESt8vqPFvwgMB80A==",+ "mime-types": {+ "version": "2.1.18",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz",+ "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==","dev": true,"requires": {- "ajv": "^6.1.0",- "ajv-keywords": "^3.1.0"+ "mime-db": "~1.33.0"}}}},- "url-parse": {- "version": "1.4.7",- "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.7.tgz",- "integrity": "sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg==",+ "shebang-command": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==","dev": true,"requires": {- "querystringify": "^2.1.1",- "requires-port": "^1.0.0"+ "shebang-regex": "^3.0.0"}},- "url-parse-lax": {+ "shebang-regex": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",- "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",- "dev": true,- "requires": {- "prepend-http": "^2.0.0"- }- },- "url-to-options": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",- "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=",+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==","dev": true},- "use": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",- "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",+ "signal-exit": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",+ "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==","dev": true},- "util": {- "version": "0.11.1",- "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz",- "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==",+ "simple-swizzle": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",+ "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=","dev": true,"requires": {- "inherits": "2.0.3"+ "is-arrayish": "^0.3.1"+ },+ "dependencies": {+ "is-arrayish": {+ "version": "0.3.2",+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==",+ "dev": true+ }}},- "util-deprecate": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",- "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",+ "slash": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==","dev": true},- "util.promisify": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz",- "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==",+ "slice-ansi": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz",+ "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==","dev": true,"requires": {- "define-properties": "^1.1.2",- "object.getownpropertydescriptors": "^2.0.3"+ "ansi-styles": "^4.0.0",+ "astral-regex": "^2.0.0",+ "is-fullwidth-code-point": "^3.0.0"}},- "utila": {- "version": "0.4.0",- "resolved": "https://registry.npmjs.org/utila/-/utila-0.4.0.tgz",- "integrity": "sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=",- "dev": true- },- "utils-merge": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",- "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=",- "dev": true- },- "uuid": {- "version": "3.3.2",- "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",- "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==",- "dev": true- },- "v8-compile-cache": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz",- "integrity": "sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w==",+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==","dev": true},- "validate-npm-package-license": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",- "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",+ "source-map-support": {+ "version": "0.5.19",+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz",+ "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==","dev": true,"requires": {- "spdx-correct": "^3.0.0",- "spdx-expression-parse": "^3.0.0"+ "buffer-from": "^1.0.0",+ "source-map": "^0.6.0"}},- "vary": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",- "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",+ "sourcemap-codec": {+ "version": "1.4.8",+ "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",+ "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==","dev": true},- "vendors": {+ "sprintf-js": {"version": "1.0.3",- "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.3.tgz",- "integrity": "sha512-fOi47nsJP5Wqefa43kyWSg80qF+Q3XA6MUkgi7Hp1HQaKDQW4cQrK2D0P7mmbFtsV1N89am55Yru/nyEwRubcw==",+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",+ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=","dev": true},- "verror": {- "version": "1.10.0",- "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",- "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",- "dev": true,- "requires": {- "assert-plus": "^1.0.0",- "core-util-is": "1.0.2",- "extsprintf": "^1.2.0"- }- },- "vinyl": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz",- "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=",- "dev": true,- "requires": {- "clone": "^1.0.0",- "clone-stats": "^0.0.1",- "replace-ext": "0.0.1"- }- },- "vinyl-file": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/vinyl-file/-/vinyl-file-2.0.0.tgz",- "integrity": "sha1-p+v1/779obfRjRQPyweyI++2dRo=",- "dev": true,- "requires": {- "graceful-fs": "^4.1.2",- "pify": "^2.3.0",- "pinkie-promise": "^2.0.0",- "strip-bom": "^2.0.0",- "strip-bom-stream": "^2.0.0",- "vinyl": "^1.1.0"- },- "dependencies": {- "pify": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",- "dev": true- }- }+ "stable": {+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",+ "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",+ "dev": true},- "vm-browserify": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.0.tgz",- "integrity": "sha512-iq+S7vZJE60yejDYM0ek6zg308+UZsdtPExWP9VZoCFCz1zkJoXFnAX7aZfd/ZwrkidzdUZL0C/ryW+JwAiIGw==",+ "string-argv": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz",+ "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==","dev": true},- "w3c-hr-time": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz",- "integrity": "sha1-gqwr/2PZUOqeMYmlimViX+3xkEU=",- "dev": true,- "requires": {- "browser-process-hrtime": "^0.1.2"- }+ "string-hash": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/string-hash/-/string-hash-1.1.3.tgz",+ "integrity": "sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs=",+ "dev": true},- "walker": {- "version": "1.0.7",- "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz",- "integrity": "sha1-L3+bj9ENZ3JisYqITijRlhjgKPs=",+ "string-width": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",+ "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==","dev": true,"requires": {- "makeerror": "1.0.x"+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.0"}},- "watchpack": {- "version": "1.6.0",- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.6.0.tgz",- "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==",+ "string.prototype.trimend": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",+ "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==","dev": true,"requires": {- "chokidar": "^2.0.2",- "graceful-fs": "^4.1.2",- "neo-async": "^2.5.0"- },- "dependencies": {- "binary-extensions": {- "version": "1.13.1",- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",- "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",- "dev": true- },- "chokidar": {- "version": "2.1.8",- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",- "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==",- "dev": true,- "requires": {- "anymatch": "^2.0.0",- "async-each": "^1.0.1",- "braces": "^2.3.2",- "fsevents": "^1.2.7",- "glob-parent": "^3.1.0",- "inherits": "^2.0.3",- "is-binary-path": "^1.0.0",- "is-glob": "^4.0.0",- "normalize-path": "^3.0.0",- "path-is-absolute": "^1.0.0",- "readdirp": "^2.2.1",- "upath": "^1.1.1"- }- },- "is-binary-path": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",- "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",- "dev": true,- "requires": {- "binary-extensions": "^1.0.0"- }- },- "normalize-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",- "dev": true- },- "readdirp": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",- "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",- "dev": true,- "requires": {- "graceful-fs": "^4.1.11",- "micromatch": "^3.1.10",- "readable-stream": "^2.0.2"- }- }+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.5"}},- "wbuf": {- "version": "1.7.3",- "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz",- "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==",+ "string.prototype.trimstart": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",+ "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==","dev": true,"requires": {- "minimalistic-assert": "^1.0.0"+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.5"}},- "webidl-conversions": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz",- "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==",- "dev": true- },- "webpack": {- "version": "4.39.3",- "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.39.3.tgz",- "integrity": "sha512-BXSI9M211JyCVc3JxHWDpze85CvjC842EvpRsVTc/d15YJGlox7GIDd38kJgWrb3ZluyvIjgenbLDMBQPDcxYQ==",+ "stringify-object": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz",+ "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==","dev": true,"requires": {- "@webassemblyjs/ast": "1.8.5",- "@webassemblyjs/helper-module-context": "1.8.5",- "@webassemblyjs/wasm-edit": "1.8.5",- "@webassemblyjs/wasm-parser": "1.8.5",- "acorn": "^6.2.1",- "ajv": "^6.10.2",- "ajv-keywords": "^3.4.1",- "chrome-trace-event": "^1.0.2",- "enhanced-resolve": "^4.1.0",- "eslint-scope": "^4.0.3",- "json-parse-better-errors": "^1.0.2",- "loader-runner": "^2.4.0",- "loader-utils": "^1.2.3",- "memory-fs": "^0.4.1",- "micromatch": "^3.1.10",- "mkdirp": "^0.5.1",- "neo-async": "^2.6.1",- "node-libs-browser": "^2.2.1",- "schema-utils": "^1.0.0",- "tapable": "^1.1.3",- "terser-webpack-plugin": "^1.4.1",- "watchpack": "^1.6.0",- "webpack-sources": "^1.4.1"- },- "dependencies": {- "acorn": {- "version": "6.3.0",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.3.0.tgz",- "integrity": "sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA==",- "dev": true- },- "ajv": {- "version": "6.10.2",- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",- "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",- "dev": true,- "requires": {- "fast-deep-equal": "^2.0.1",- "fast-json-stable-stringify": "^2.0.0",- "json-schema-traverse": "^0.4.1",- "uri-js": "^4.2.2"- }- },- "ajv-keywords": {- "version": "3.4.1",- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.1.tgz",- "integrity": "sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ==",- "dev": true- },- "neo-async": {- "version": "2.6.1",- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",- "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==",- "dev": true- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "tapable": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz",- "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==",- "dev": true- },- "webpack-sources": {- "version": "1.4.3",- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz",- "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==",- "dev": true,- "requires": {- "source-list-map": "^2.0.0",- "source-map": "~0.6.1"- }- }+ "get-own-enumerable-property-symbols": "^3.0.0",+ "is-obj": "^1.0.1",+ "is-regexp": "^1.0.0"}- },- "webpack-bundle-analyzer": {- "version": "3.4.1",- "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.4.1.tgz",- "integrity": "sha512-Bs8D/1zF+17lhqj2OYmzi7HEVYqEVxu7lCO9Ff8BwajenOU0vAwEoV8e4ICCPNZAcqR1PCR/7o2SkW+cnCmF0A==",- "dev": true,- "requires": {- "acorn": "^6.0.7",- "acorn-walk": "^6.1.1",- "bfj": "^6.1.1",- "chalk": "^2.4.1",- "commander": "^2.18.0",- "ejs": "^2.6.1",- "express": "^4.16.3",- "filesize": "^3.6.1",- "gzip-size": "^5.0.0",- "lodash": "^4.17.15",- "mkdirp": "^0.5.1",- "opener": "^1.5.1",- "ws": "^6.0.0"- },- "dependencies": {- "acorn": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.2.1.tgz",- "integrity": "sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q==",- "dev": true- },- "acorn-walk": {- "version": "6.2.0",- "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz",- "integrity": "sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==",- "dev": true- },- "commander": {- "version": "2.20.0",- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",- "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",- "dev": true- },- "lodash": {- "version": "4.17.15",- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",- "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",- "dev": true- }+ },+ "strip-ansi": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",+ "dev": true,+ "requires": {+ "ansi-regex": "^5.0.0"}},- "webpack-cli": {- "version": "3.3.4",- "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-3.3.4.tgz",- "integrity": "sha512-ubJGQEKMtBSpT+LiL5hXvn2GIOWiRWItR1DGUqJRhwRBeGhpRXjvF5f0erqdRJLErkfqS5/Ldkkedh4AL5Q1ZQ==",+ "strip-eof": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",+ "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=",+ "dev": true+ },+ "strip-final-newline": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",+ "dev": true+ },+ "strip-json-comments": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",+ "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",+ "dev": true+ },+ "stylehacks": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz",+ "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==","dev": true,"requires": {- "chalk": "^2.4.1",- "cross-spawn": "^6.0.5",- "enhanced-resolve": "^4.1.0",- "findup-sync": "^2.0.0",- "global-modules": "^1.0.0",- "import-local": "^2.0.0",- "interpret": "^1.1.0",- "loader-utils": "^1.1.0",- "prettier": "^1.17.0",- "supports-color": "^5.5.0",- "v8-compile-cache": "^2.0.2",- "yargs": "^12.0.5"+ "browserslist": "^4.0.0",+ "postcss": "^7.0.0",+ "postcss-selector-parser": "^3.0.0"},"dependencies": {- "ansi-regex": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",- "dev": true- },- "camelcase": {- "version": "5.3.1",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",- "dev": true- },- "cliui": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",- "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",- "dev": true,- "requires": {- "string-width": "^2.1.1",- "strip-ansi": "^4.0.0",- "wrap-ansi": "^2.0.0"- }- },- "find-up": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",- "dev": true,- "requires": {- "locate-path": "^3.0.0"- }- },- "invert-kv": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",- "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==",- "dev": true- },- "is-fullwidth-code-point": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",- "dev": true- },- "lcid": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",- "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "invert-kv": "^2.0.0"+ "color-convert": "^1.9.0"}},- "locate-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "p-locate": "^3.0.0",- "path-exists": "^3.0.0"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},- "os-locale": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",- "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "execa": "^1.0.0",- "lcid": "^2.0.0",- "mem": "^4.0.0"+ "color-name": "1.1.3"}},- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",+ "dev": true},- "p-locate": {+ "has-flag": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",- "dev": true,- "requires": {- "p-limit": "^2.0.0"- }- },- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "string-width": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",- "dev": true,- "requires": {- "is-fullwidth-code-point": "^2.0.0",- "strip-ansi": "^4.0.0"- }- },- "strip-ansi": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",+ "postcss": {+ "version": "7.0.34",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.34.tgz",+ "integrity": "sha512-H/7V2VeNScX9KE83GDrDZNiGT1m2H+UTnlinIzhjlLX9hfMUn1mHNnGeX81a1c8JSBdBvqk7c2ZOG6ZPn5itGw==","dev": true,"requires": {- "ansi-regex": "^3.0.0"+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"}},- "which-module": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",- "dev": true- },- "yargs": {- "version": "12.0.5",- "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz",- "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==",+ "postcss-selector-parser": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",+ "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==","dev": true,"requires": {- "cliui": "^4.0.0",- "decamelize": "^1.2.0",- "find-up": "^3.0.0",- "get-caller-file": "^1.0.1",- "os-locale": "^3.0.0",- "require-directory": "^2.1.1",- "require-main-filename": "^1.0.1",- "set-blocking": "^2.0.0",- "string-width": "^2.0.0",- "which-module": "^2.0.0",- "y18n": "^3.2.1 || ^4.0.0",- "yargs-parser": "^11.1.1"+ "dot-prop": "^5.2.0",+ "indexes-of": "^1.0.1",+ "uniq": "^1.0.1"}},- "yargs-parser": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz",- "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==",+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==","dev": true,"requires": {- "camelcase": "^5.0.0",- "decamelize": "^1.2.0"+ "has-flag": "^3.0.0"}}}},- "webpack-dev-middleware": {- "version": "3.7.0",- "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.7.0.tgz",- "integrity": "sha512-qvDesR1QZRIAZHOE3iQ4CXLZZSQ1lAUsSpnQmlB1PBfoN/xdRjmge3Dok0W4IdaVLJOGJy3sGI4sZHwjRU0PCA==",+ "supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==","dev": true,"requires": {- "memory-fs": "^0.4.1",- "mime": "^2.4.2",- "range-parser": "^1.2.1",- "webpack-log": "^2.0.0"- },- "dependencies": {- "mime": {- "version": "2.4.4",- "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.4.tgz",- "integrity": "sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA==",- "dev": true- }+ "has-flag": "^4.0.0"}},- "webpack-dev-server": {- "version": "3.8.0",- "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-3.8.0.tgz",- "integrity": "sha512-Hs8K9yI6pyMvGkaPTeTonhD6JXVsigXDApYk9JLW4M7viVBspQvb1WdAcWxqtmttxNW4zf2UFLsLNe0y87pIGQ==",+ "svgo": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz",+ "integrity": "sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==","dev": true,"requires": {- "ansi-html": "0.0.7",- "bonjour": "^3.5.0",- "chokidar": "^2.1.6",- "compression": "^1.7.4",- "connect-history-api-fallback": "^1.6.0",- "debug": "^4.1.1",- "del": "^4.1.1",- "express": "^4.17.1",- "html-entities": "^1.2.1",- "http-proxy-middleware": "^0.19.1",- "import-local": "^2.0.0",- "internal-ip": "^4.3.0",- "ip": "^1.1.5",- "is-absolute-url": "^3.0.0",- "killable": "^1.0.1",- "loglevel": "^1.6.3",- "opn": "^5.5.0",- "p-retry": "^3.0.1",- "portfinder": "^1.0.21",- "schema-utils": "^1.0.0",- "selfsigned": "^1.10.4",- "semver": "^6.3.0",- "serve-index": "^1.9.1",- "sockjs": "0.3.19",- "sockjs-client": "1.3.0",- "spdy": "^4.0.1",- "strip-ansi": "^3.0.1",- "supports-color": "^6.1.0",- "url": "^0.11.0",- "webpack-dev-middleware": "^3.7.0",- "webpack-log": "^2.0.0",- "ws": "^6.2.1",- "yargs": "12.0.5"+ "chalk": "^2.4.1",+ "coa": "^2.0.2",+ "css-select": "^2.0.0",+ "css-select-base-adapter": "^0.1.1",+ "css-tree": "1.0.0-alpha.37",+ "csso": "^4.0.2",+ "js-yaml": "^3.13.1",+ "mkdirp": "~0.5.1",+ "object.values": "^1.1.0",+ "sax": "~1.2.4",+ "stable": "^0.1.8",+ "unquote": "~1.1.1",+ "util.promisify": "~1.0.0"},"dependencies": {- "ansi-regex": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",- "dev": true- },- "binary-extensions": {- "version": "1.13.1",- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",- "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",- "dev": true- },- "camelcase": {- "version": "5.3.1",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",- "dev": true- },- "chokidar": {- "version": "2.1.6",- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.6.tgz",- "integrity": "sha512-V2jUo67OKkc6ySiRpJrjlpJKl9kDuG+Xb8VgsGzb+aEouhgS1D0weyPU4lEzdAcsCAvrih2J2BqyXqHWvVLw5g==",- "dev": true,- "requires": {- "anymatch": "^2.0.0",- "async-each": "^1.0.1",- "braces": "^2.3.2",- "fsevents": "^1.2.7",- "glob-parent": "^3.1.0",- "inherits": "^2.0.3",- "is-binary-path": "^1.0.0",- "is-glob": "^4.0.0",- "normalize-path": "^3.0.0",- "path-is-absolute": "^1.0.0",- "readdirp": "^2.2.1",- "upath": "^1.1.1"- }- },- "cliui": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",- "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev": true,"requires": {- "string-width": "^2.1.1",- "strip-ansi": "^4.0.0",- "wrap-ansi": "^2.0.0"- },- "dependencies": {- "strip-ansi": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",- "dev": true,- "requires": {- "ansi-regex": "^3.0.0"- }- }+ "color-convert": "^1.9.0"}},- "debug": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev": true,"requires": {- "ms": "^2.1.1"+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"}},- "find-up": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev": true,"requires": {- "locate-path": "^3.0.0"+ "color-name": "1.1.3"}},- "invert-kv": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",- "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==",+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev": true},- "is-absolute-url": {+ "has-flag": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-3.0.0.tgz",- "integrity": "sha512-3OkP8XrM2Xq4/IxsJnClfMp3OaM3TAatLPLKPeWcxLBTrpe6hihwtX+XZfJTcXg/FTRi4qjy0y/C5qiyNxY24g==",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev": true},- "is-binary-path": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",- "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev": true,"requires": {- "binary-extensions": "^1.0.0"+ "has-flag": "^3.0.0"}- },- "is-fullwidth-code-point": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",- "dev": true- },- "lcid": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",- "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",+ }+ }+ },+ "term-size": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz",+ "integrity": "sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk=",+ "dev": true,+ "requires": {+ "execa": "^0.7.0"+ },+ "dependencies": {+ "cross-spawn": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",+ "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=","dev": true,"requires": {- "invert-kv": "^2.0.0"+ "lru-cache": "^4.0.1",+ "shebang-command": "^1.2.0",+ "which": "^1.2.9"}},- "locate-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",+ "execa": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz",+ "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=","dev": true,"requires": {- "p-locate": "^3.0.0",- "path-exists": "^3.0.0"+ "cross-spawn": "^5.0.1",+ "get-stream": "^3.0.0",+ "is-stream": "^1.1.0",+ "npm-run-path": "^2.0.0",+ "p-finally": "^1.0.0",+ "signal-exit": "^3.0.0",+ "strip-eof": "^1.0.0"}},- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",- "dev": true- },- "normalize-path": {+ "get-stream": {"version": "3.0.0",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",+ "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=","dev": true},- "os-locale": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",- "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",- "dev": true,- "requires": {- "execa": "^1.0.0",- "lcid": "^2.0.0",- "mem": "^4.0.0"- }- },- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }- },- "p-locate": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",- "dev": true,- "requires": {- "p-limit": "^2.0.0"- }- },- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",+ "is-stream": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",+ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=","dev": true},- "readdirp": {- "version": "2.2.1",- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",- "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",+ "npm-run-path": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",+ "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=","dev": true,"requires": {- "graceful-fs": "^4.1.11",- "micromatch": "^3.1.10",- "readable-stream": "^2.0.2"+ "path-key": "^2.0.0"}},- "semver": {- "version": "6.3.0",- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",+ "path-key": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",+ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=","dev": true},- "string-width": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",- "dev": true,- "requires": {- "is-fullwidth-code-point": "^2.0.0",- "strip-ansi": "^4.0.0"- },- "dependencies": {- "strip-ansi": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",- "dev": true,- "requires": {- "ansi-regex": "^3.0.0"- }- }- }- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "shebang-command": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",+ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=","dev": true,"requires": {- "has-flag": "^3.0.0"+ "shebang-regex": "^1.0.0"}},- "which-module": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",+ "shebang-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",+ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=","dev": true},- "ws": {- "version": "6.2.1",- "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz",- "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==",- "dev": true,- "requires": {- "async-limiter": "~1.0.0"- }- },- "yargs": {- "version": "12.0.5",- "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz",- "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==",- "dev": true,- "requires": {- "cliui": "^4.0.0",- "decamelize": "^1.2.0",- "find-up": "^3.0.0",- "get-caller-file": "^1.0.1",- "os-locale": "^3.0.0",- "require-directory": "^2.1.1",- "require-main-filename": "^1.0.1",- "set-blocking": "^2.0.0",- "string-width": "^2.0.0",- "which-module": "^2.0.0",- "y18n": "^3.2.1 || ^4.0.0",- "yargs-parser": "^11.1.1"- }- },- "yargs-parser": {- "version": "11.1.1",- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz",- "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==",+ "which": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==","dev": true,"requires": {- "camelcase": "^5.0.0",- "decamelize": "^1.2.0"+ "isexe": "^2.0.0"}}}},- "webpack-log": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz",- "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==",- "dev": true,- "requires": {- "ansi-colors": "^3.0.0",- "uuid": "^3.3.2"- }- },- "webpack-sources": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.2.0.tgz",- "integrity": "sha512-9BZwxR85dNsjWz3blyxdOhTgtnQvv3OEs5xofI0wPYTwu5kaWxS08UuD1oI7WLBLpRO+ylf0ofnXLXWmGb2WMw==",+ "terser": {+ "version": "5.3.1",+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.3.1.tgz",+ "integrity": "sha512-yD80f4hdwCWTH5mojzxe1q8bN1oJbsK/vfJGLcPZM/fl+/jItIVNKhFIHqqR71OipFWMLgj3Kc+GIp6CeIqfnA==","dev": true,"requires": {- "source-list-map": "^2.0.0",- "source-map": "~0.6.1"+ "commander": "^2.20.0",+ "source-map": "~0.6.1",+ "source-map-support": "~0.5.12"},"dependencies": {- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",+ "commander": {+ "version": "2.20.3",+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==","dev": true}}},- "websocket-driver": {- "version": "0.7.3",- "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.3.tgz",- "integrity": "sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg==",- "dev": true,- "requires": {- "http-parser-js": ">=0.4.0 <0.4.11",- "safe-buffer": ">=5.1.0",- "websocket-extensions": ">=0.1.1"- }- },- "websocket-extensions": {- "version": "0.1.3",- "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz",- "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==",+ "through": {+ "version": "2.3.8",+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",+ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=","dev": true},- "whatwg-encoding": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz",- "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==",- "dev": true,- "requires": {- "iconv-lite": "0.4.24"- },- "dependencies": {- "iconv-lite": {- "version": "0.4.24",- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",- "dev": true,- "requires": {- "safer-buffer": ">= 2.1.2 < 3"- }- }- }- },- "whatwg-mimetype": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.2.0.tgz",- "integrity": "sha512-5YSO1nMd5D1hY3WzAQV3PzZL83W3YeyR1yW9PcH26Weh1t+Vzh9B6XkDh7aXm83HBZ4nSMvkjvN2H2ySWIvBgw==",+ "timsort": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz",+ "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=","dev": true},- "whatwg-url": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.0.0.tgz",- "integrity": "sha512-37GeVSIJ3kn1JgKyjiYNmSLP1yzbpb29jdmwBSgkD9h40/hyrR/OifpVUndji3tmwGgD8qpw7iQu3RSbCrBpsQ==",- "dev": true,- "requires": {- "lodash.sortby": "^4.7.0",- "tr46": "^1.0.1",- "webidl-conversions": "^4.0.2"- }- },- "which": {- "version": "1.3.1",- "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",+ "to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==","dev": true,"requires": {- "isexe": "^2.0.0"+ "is-number": "^7.0.0"}},- "which-module": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz",- "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=",+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==","dev": true},- "wide-align": {- "version": "1.1.3",- "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",- "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",- "dev": true,- "requires": {- "string-width": "^1.0.2 || 2"- }+ "type-fest": {+ "version": "0.11.0",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz",+ "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==",+ "dev": true},- "with-open-file": {- "version": "0.1.6",- "resolved": "https://registry.npmjs.org/with-open-file/-/with-open-file-0.1.6.tgz",- "integrity": "sha512-SQS05JekbtwQSgCYlBsZn/+m2gpn4zWsqpCYIrCHva0+ojXcnmUEPsBN6Ipoz3vmY/81k5PvYEWSxER2g4BTqA==",- "dev": true,- "requires": {- "p-finally": "^1.0.0",- "p-try": "^2.1.0",- "pify": "^4.0.1"- },- "dependencies": {- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",- "dev": true- },- "pify": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",- "dev": true- }- }+ "typescript": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz",+ "integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==",+ "dev": true},- "wordwrap": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",- "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=",+ "uniq": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz",+ "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=","dev": true},- "worker-farm": {- "version": "1.7.0",- "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz",- "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==",- "dev": true,- "requires": {- "errno": "~0.1.7"- }+ "uniqs": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz",+ "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=",+ "dev": true},- "worker-plugin": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/worker-plugin/-/worker-plugin-3.1.0.tgz",- "integrity": "sha512-iQ9KTTmmN5fhfc2KMR7CcDblvcrg1QQ4pXymqZ3cRZF8L0890YLBcEqlIsGPdxoFwghyN8RA1pCEhCKuTF4Lkw==",- "dev": true,- "requires": {- "loader-utils": "^1.1.0"- }+ "unquote": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz",+ "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=",+ "dev": true},- "wrap-ansi": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",- "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",+ "update-check": {+ "version": "1.5.2",+ "resolved": "https://registry.npmjs.org/update-check/-/update-check-1.5.2.tgz",+ "integrity": "sha512-1TrmYLuLj/5ZovwUS7fFd1jMH3NnFDN1y1A8dboedIDt7zs/zJMo6TwwlhYKkSeEwzleeiSBV5/3c9ufAQWDaQ==","dev": true,"requires": {- "string-width": "^1.0.1",- "strip-ansi": "^3.0.1"+ "registry-auth-token": "3.3.2",+ "registry-url": "3.1.0"}},- "wrappy": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",- "dev": true- },- "write-file-atomic": {- "version": "2.4.1",- "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.1.tgz",- "integrity": "sha512-TGHFeZEZMnv+gBFRfjAcxL5bPHrsGKtnb4qsFAws7/vlh+QfwAaySIw4AXP9ZskTTh5GWu3FLuJhsWVdiJPGvg==",+ "uri-js": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",+ "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==","dev": true,"requires": {- "graceful-fs": "^4.1.11",- "imurmurhash": "^0.1.4",- "signal-exit": "^3.0.2"+ "punycode": "^2.1.0"}},- "ws": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/ws/-/ws-6.1.0.tgz",- "integrity": "sha512-H3dGVdGvW2H8bnYpIDc3u3LH8Wue3Qh+Zto6aXXFzvESkTVT6rAfKR6tR/+coaUvxs8yHtmNV0uioBF62ZGSTg==",+ "util.promisify": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz",+ "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==","dev": true,"requires": {- "async-limiter": "~1.0.0"+ "define-properties": "^1.1.3",+ "es-abstract": "^1.17.2",+ "has-symbols": "^1.0.1",+ "object.getownpropertydescriptors": "^2.1.0"}},- "xml-name-validator": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz",- "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==",- "dev": true- },- "xmlchars": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.1.1.tgz",- "integrity": "sha512-7hew1RPJ1iIuje/Y01bGD/mXokXxegAgVS+e+E0wSi2ILHQkYAH1+JXARwTjZSM4Z4Z+c73aKspEcqj+zPPL/w==",- "dev": true- },- "xtend": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",- "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=",+ "vary": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",+ "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=","dev": true},- "y18n": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==",+ "vendors": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz",+ "integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==","dev": true},- "yallist": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",- "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",- "dev": true+ "wasm-feature-detect": {+ "version": "1.2.9",+ "resolved": "https://registry.npmjs.org/wasm-feature-detect/-/wasm-feature-detect-1.2.9.tgz",+ "integrity": "sha512-2E9/gtLVLpv2wnZDyYv8WY2dR9gHbmyv5uhZsnOcMSzqc78aGZpKQORPNcnrPwAU23nFUo7GAwKuoTAWRgsJ7Q=="},- "yargs": {- "version": "7.1.0",- "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz",- "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=",+ "which": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==","dev": true,"requires": {- "camelcase": "^3.0.0",- "cliui": "^3.2.0",- "decamelize": "^1.1.1",- "get-caller-file": "^1.0.1",- "os-locale": "^1.4.0",- "read-pkg-up": "^1.0.1",- "require-directory": "^2.1.1",- "require-main-filename": "^1.0.1",- "set-blocking": "^2.0.0",- "string-width": "^1.0.2",- "which-module": "^1.0.0",- "y18n": "^3.2.1",- "yargs-parser": "^5.0.0"- },- "dependencies": {- "camelcase": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",- "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",- "dev": true- },- "y18n": {- "version": "3.2.1",- "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",- "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=",- "dev": true- }+ "isexe": "^2.0.0"}},- "yargs-parser": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",- "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",- "dev": true,- "requires": {- "camelcase": "^3.0.0"- },- "dependencies": {- "camelcase": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",- "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",- "dev": true- }- }+ "which-pm-runs": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz",+ "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=",+ "dev": true},- "yeoman-environment": {- "version": "2.3.4",- "resolved": "https://registry.npmjs.org/yeoman-environment/-/yeoman-environment-2.3.4.tgz",- "integrity": "sha512-KLxE5ft/74Qj7h3AsQZv8G6MEEHYJwmD5F99nfOVaep3rBzCtbrJKkdqWc7bDV141Nr8UZZsIXmzc3IcCm6E2w==",+ "widest-line": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz",+ "integrity": "sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==","dev": true,"requires": {- "chalk": "^2.4.1",- "cross-spawn": "^6.0.5",- "debug": "^3.1.0",- "diff": "^3.5.0",- "escape-string-regexp": "^1.0.2",- "globby": "^8.0.1",- "grouped-queue": "^0.3.3",- "inquirer": "^6.0.0",- "is-scoped": "^1.0.0",- "lodash": "^4.17.10",- "log-symbols": "^2.2.0",- "mem-fs": "^1.1.0",- "strip-ansi": "^4.0.0",- "text-table": "^0.2.0",- "untildify": "^3.0.3"+ "string-width": "^2.1.1"},"dependencies": {"ansi-regex": {@@ -16369,42 +15037,22 @@"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=","dev": true},- "debug": {- "version": "3.2.6",- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",- "dev": true,- "requires": {- "ms": "^2.1.1"- }- },- "escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",+ "is-fullwidth-code-point": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=","dev": true},- "globby": {- "version": "8.0.2",- "resolved": "https://registry.npmjs.org/globby/-/globby-8.0.2.tgz",- "integrity": "sha512-yTzMmKygLp8RUpG1Ymu2VXPSJQZjNAZPD4ywgYEaG7e4tBJeUQBO8OpXrf1RCNcEs5alsoJYPAMiIHP0cmeC7w==",+ "string-width": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==","dev": true,"requires": {- "array-union": "^1.0.1",- "dir-glob": "2.0.0",- "fast-glob": "^2.0.2",- "glob": "^7.1.2",- "ignore": "^3.3.5",- "pify": "^3.0.0",- "slash": "^1.0.0"+ "is-fullwidth-code-point": "^2.0.0",+ "strip-ansi": "^4.0.0"}},- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",- "dev": true- },"strip-ansi": {"version": "4.0.0","resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",@@ -16416,161 +15064,43 @@}}},- "yeoman-generator": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/yeoman-generator/-/yeoman-generator-3.2.0.tgz",- "integrity": "sha512-iR/qb2je3GdXtSfxgvOXxUW0Cp8+C6LaZaNlK2BAICzFNzwHtM10t/QBwz5Ea9nk6xVDQNj4Q889TjCXGuIv8w==",+ "wrap-ansi": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==","dev": true,"requires": {- "async": "^2.6.0",- "chalk": "^2.3.0",- "cli-table": "^0.3.1",- "cross-spawn": "^6.0.5",- "dargs": "^6.0.0",- "dateformat": "^3.0.3",- "debug": "^4.1.0",- "detect-conflict": "^1.0.0",- "error": "^7.0.2",- "find-up": "^3.0.0",- "github-username": "^4.0.0",- "istextorbinary": "^2.2.1",- "lodash": "^4.17.10",- "make-dir": "^1.1.0",- "mem-fs-editor": "^5.0.0",- "minimist": "^1.2.0",- "pretty-bytes": "^5.1.0",- "read-chunk": "^3.0.0",- "read-pkg-up": "^4.0.0",- "rimraf": "^2.6.2",- "run-async": "^2.0.0",- "shelljs": "^0.8.0",- "text-table": "^0.2.0",- "through2": "^3.0.0",- "yeoman-environment": "^2.0.5"- },- "dependencies": {- "debug": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",- "dev": true,- "requires": {- "ms": "^2.1.1"- }- },- "find-up": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",- "dev": true,- "requires": {- "locate-path": "^3.0.0"- }- },- "load-json-file": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz",- "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=",- "dev": true,- "requires": {- "graceful-fs": "^4.1.2",- "parse-json": "^4.0.0",- "pify": "^3.0.0",- "strip-bom": "^3.0.0"- }- },- "locate-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",- "dev": true,- "requires": {- "p-locate": "^3.0.0",- "path-exists": "^3.0.0"- }- },- "make-dir": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",- "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==",- "dev": true,- "requires": {- "pify": "^3.0.0"- }- },- "minimist": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",- "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",- "dev": true- },- "ms": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",- "dev": true- },- "p-limit": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",- "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",- "dev": true,- "requires": {- "p-try": "^2.0.0"- }- },- "p-locate": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",- "dev": true,- "requires": {- "p-limit": "^2.0.0"- }- },- "p-try": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",- "dev": true- },- "read-pkg": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz",- "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=",- "dev": true,- "requires": {- "load-json-file": "^4.0.0",- "normalize-package-data": "^2.3.2",- "path-type": "^3.0.0"- }- },- "read-pkg-up": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz",- "integrity": "sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==",- "dev": true,- "requires": {- "find-up": "^3.0.0",- "read-pkg": "^3.0.0"- }- },- "strip-bom": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",- "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",- "dev": true- },- "through2": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz",- "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==",- "dev": true,- "requires": {- "readable-stream": "2 || 3"- }- }+ "ansi-styles": "^4.0.0",+ "string-width": "^4.1.0",+ "strip-ansi": "^6.0.0"+ }+ },+ "wrappy": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",+ "dev": true+ },+ "xxhashjs": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/xxhashjs/-/xxhashjs-0.2.2.tgz",+ "integrity": "sha512-AkTuIuVTET12tpsVIQo+ZU6f/qDmKuRUcjaqR+OIvm+aCBsZ95i7UVY5WJ9TMsSaZ0DA2WxoZ4acu0sPH+OKAw==",+ "dev": true,+ "requires": {+ "cuint": "^0.2.2"}+ },+ "yallist": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",+ "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",+ "dev": true+ },+ "yaml": {+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz",+ "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==",+ "dev": true}}}diff --git a/package.json b/package.jsonindex 47bd1b53..c0628a4a 100644--- a/package.json+++ b/package.json@@ -1,77 +1,57 @@{"private": true,"name": "squoosh",- "version": "1.12.0",+ "version": "2.0.0","license": "apache-2.0","scripts": {- "start": "webpack-dev-server --host 0.0.0.0 --hot",- "build": "webpack -p",- "lint": "tslint -c tslint.json -p tsconfig.json -t verbose",- "lintfix": "tslint -c tslint.json -p tsconfig.json -t verbose --fix 'src/**/*.{ts,tsx,js,jsx}'",- "sizereport": "sizereport --config"+ "build": "rollup -c && node lib/move-output.js",+ "debug": "node --inspect-brk node_modules/.bin/rollup -c",+ "dev": "rollup -cw & npm run serve",+ "serve": "serve --config server.json .tmp/build/static"+ },+ "devDependencies": {+ "@rollup/plugin-commonjs": "^15.1.0",+ "@rollup/plugin-node-resolve": "^9.0.0",+ "@rollup/plugin-replace": "^2.3.4",+ "@surma/rollup-plugin-off-main-thread": "^1.4.2",+ "@types/node": "^14.14.7",+ "comlink": "^4.3.0",+ "cssnano": "^4.1.10",+ "del": "^5.1.0",+ "file-drop-element": "^1.0.1",+ "husky": "^4.3.0",+ "idb-keyval": "^3.2.0",+ "linkstate": "^2.0.0",+ "lint-staged": "^10.5.1",+ "lodash.camelcase": "^4.3.0",+ "mime-types": "^2.1.27",+ "pointer-tracker": "^2.4.0",+ "postcss": "^7.0.35",+ "postcss-modules": "^3.2.2",+ "postcss-nested": "^4.2.3",+ "postcss-simple-vars": "^5.0.2",+ "postcss-url": "^8.0.0",+ "preact": "^10.5.5",+ "preact-render-to-string": "^5.1.11",+ "prettier": "^2.1.2",+ "pretty-bytes": "^5.4.1",+ "rollup": "^2.33.1",+ "rollup-plugin-terser": "^7.0.2",+ "serve": "^11.3.2",+ "typescript": "^4.0.5",+ "which": "^2.0.2"},"husky": {"hooks": {- "pre-commit": "npm run lint"+ "pre-commit": "lint-staged"}},- "devDependencies": {- "@types/node": "10.14.15",- "@types/pretty-bytes": "5.1.0",- "@types/webassembly-js-api": "0.0.3",- "@webcomponents/custom-elements": "1.2.4",- "@webpack-cli/serve": "0.1.8",- "assets-webpack-plugin": "3.9.10",- "chalk": "2.4.2",- "chokidar": "3.0.2",- "classnames": "2.2.6",- "clean-webpack-plugin": "1.0.1",- "comlink": "3.1.1",- "copy-webpack-plugin": "5.0.4",- "critters-webpack-plugin": "2.4.0",- "css-loader": "1.0.1",- "ejs": "2.6.2",- "escape-string-regexp": "2.0.0",- "exports-loader": "0.7.0",- "file-drop-element": "0.2.0",- "file-loader": "4.2.0",- "gzip-size": "5.1.1",- "html-webpack-plugin": "3.2.0",- "husky": "3.0.4",- "idb-keyval": "3.2.0",- "linkstate": "1.1.1",- "loader-utils": "1.2.3",- "mini-css-extract-plugin": "0.8.0",- "minimatch": "3.0.4",- "node-fetch": "2.6.0",- "node-sass": "4.13.0",- "normalize-path": "^3.0.0",- "optimize-css-assets-webpack-plugin": "5.0.1",- "pointer-tracker": "2.0.3",- "preact": "8.4.2",- "prerender-loader": "1.3.0",- "pretty-bytes": "5.3.0",- "progress-bar-webpack-plugin": "1.12.1",- "raw-loader": "3.1.0",- "readdirp": "3.1.2",- "sass-loader": "7.3.1",- "script-ext-html-webpack-plugin": "2.1.4",- "source-map-loader": "0.2.4",- "style-loader": "1.0.0",- "terser-webpack-plugin": "1.4.1",- "travis-size-report": "1.1.0",- "ts-loader": "6.0.3",- "tslint": "5.19.0",- "tslint-config-airbnb": "5.11.1",- "tslint-config-semistandard": "8.0.1",- "tslint-react": "4.0.0",- "typed-css-modules": "0.4.2",- "typescript": "3.5.3",- "url-loader": "2.1.0",- "webpack": "4.39.3",- "webpack-bundle-analyzer": "3.4.1",- "webpack-cli": "3.3.4",- "webpack-dev-server": "3.8.0",- "worker-plugin": "3.1.0"+ "lint-staged": {+ "*.{js,css,json,md,ts,tsx}": [+ "prettier --write"+ ]+ },+ "dependencies": {+ "wasm-feature-detect": "^1.2.9"}}diff --git a/rollup.config.js b/rollup.config.jsnew file mode 100644index 00000000..29ccc638--- /dev/null+++ b/rollup.config.js@@ -0,0 +1,143 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import * as path from 'path';+import { promises as fsp } from 'fs';+import del from 'del';+import resolve from '@rollup/plugin-node-resolve';+import commonjs from '@rollup/plugin-commonjs';+import { terser } from 'rollup-plugin-terser';+import OMT from '@surma/rollup-plugin-off-main-thread';+import replace from '@rollup/plugin-replace';++import simpleTS from './lib/simple-ts';+import clientBundlePlugin from './lib/client-bundle-plugin';+import nodeExternalPlugin from './lib/node-external-plugin';+import cssPlugin from './lib/css-plugin';+import urlPlugin from './lib/url-plugin';+import resolveDirsPlugin from './lib/resolve-dirs-plugin';+import runScript from './lib/run-script';+import emitFiles from './lib/emit-files-plugin';+import featurePlugin from './lib/feature-plugin';+import initialCssPlugin from './lib/initial-css-plugin';+import serviceWorkerPlugin from './lib/sw-plugin';+import dataURLPlugin from './lib/data-url-plugin';++function resolveFileUrl({ fileName }) {+ return JSON.stringify(fileName.replace(/^static\//, '/'));+}++// With AMD output, Rollup always uses document.baseURI, which breaks in workers.+// This fixes it:+function resolveImportMeta(property, { chunkId }) {+ if (property !== 'url') return;+ return `new URL(${resolveFileUrl({ fileName: chunkId })}, location).href`;+}++const dir = '.tmp/build';+const staticPath = 'static/c/[name]-[hash][extname]';+const jsPath = staticPath.replace('[extname]', '.js');++function jsFileName(chunkInfo) {+ if (!chunkInfo.facadeModuleId) return jsPath;+ const parsedPath = path.parse(chunkInfo.facadeModuleId);+ if (parsedPath.name !== 'index') return jsPath;+ // Come up with a better name than 'index'+ const name = parsedPath.dir.split('/').slice(-1);+ return jsPath.replace('[name]', name);+}++export default async function ({ watch }) {+ const omtLoaderPromise = fsp.readFile(+ path.join(__dirname, 'lib', 'omt.ejs'),+ 'utf-8',+ );+ await del('.tmp/build');++ const isProduction = !watch;++ const tsPluginInstance = simpleTS('.', {+ watch,+ });+ const commonPlugins = () => [+ tsPluginInstance,+ resolveDirsPlugin([+ 'src/static-build',+ 'src/client',+ 'src/shared',+ 'src/features',+ 'src/features-worker',+ 'src/features-worker-worker-bridge',+ 'src/sw',+ 'codecs',+ ]),+ urlPlugin(),+ dataURLPlugin(),+ cssPlugin(resolveFileUrl),+ ];++ return {+ input: 'src/static-build/index.tsx',+ output: {+ dir,+ format: 'cjs',+ assetFileNames: staticPath,+ exports: 'named',+ },+ watch: {+ clearScreen: false,+ // Don't watch the ts files. Instead we watch the output from the ts compiler.+ exclude: ['**/*.ts', '**/*.tsx'],+ // Sometimes TypeScript does its thing a little slowly, which causes+ // Rollup to build twice on each change. This delay seems to fix it,+ // although we may need to change this number over time.+ buildDelay: 250,+ },+ preserveModules: true,+ plugins: [+ { resolveFileUrl, resolveImportMeta },+ clientBundlePlugin(+ {+ external: ['worker_threads'],+ plugins: [+ { resolveFileUrl, resolveImportMeta },+ OMT({ loader: await omtLoaderPromise }),+ serviceWorkerPlugin({ output: 'static/sw.js' }),+ ...commonPlugins(),+ commonjs(),+ resolve(),+ replace({ __PRERENDER__: false, __PRODUCTION__: isProduction }),+ isProduction ? terser({ module: true }) : {},+ ],+ preserveEntrySignatures: false,+ },+ {+ dir,+ format: 'amd',+ chunkFileNames: jsFileName,+ entryFileNames: jsFileName,+ // This is needed because emscripten's workers use 'this', so they trigger all kinds of interop things,+ // such as double-wrapping objects in { default }.+ interop: false,+ },+ resolveFileUrl,+ ),+ ...commonPlugins(),+ emitFiles({ include: '**/*', root: path.join(__dirname, 'src', 'copy') }),+ nodeExternalPlugin(),+ featurePlugin(),+ replace({ __PRERENDER__: true, __PRODUCTION__: isProduction }),+ initialCssPlugin(),+ runScript(dir + '/static-build/index.js'),+ ],+ };+}diff --git a/serve.json b/serve.jsonnew file mode 100644index 00000000..283758dc--- /dev/null+++ b/serve.json@@ -0,0 +1,13 @@+{+ "headers": [+ {+ "source": "**/*",+ "headers": [+ {+ "key": "Cache-Control",+ "value": "no-cache"+ }+ ]+ }+ ]+}diff --git a/sizereport.config.js b/sizereport.config.jsdeleted file mode 100644index 7b7546b7..00000000--- a/sizereport.config.js+++ /dev/null@@ -1,14 +0,0 @@-const escapeRE = require("escape-string-regexp");--module.exports = {- repo: "GoogleChromeLabs/squoosh",- path: "build/**/!(*.map)",- branch: "dev",- findRenamed(path, newPaths) {- const nameParts = /^(.+\.)[a-f0-9]+(\..+)$/.exec(path);- if (!nameParts) return;-- const matchRe = new RegExp(`^${escapeRE(nameParts[1])}[a-f0-9]+${escapeRE(nameParts[2])}$`);- return newPaths.find(newPath => matchRe.test(newPath));- }-};diff --git a/src/components/App/index.tsx b/src/client/initial-app/App/index.tsxsimilarity index 53%rename from src/components/App/index.tsxrename to src/client/initial-app/App/index.tsxindex 46b8313c..a96ea6ee 100644--- a/src/components/App/index.tsx+++ b/src/client/initial-app/App/index.tsx@@ -1,23 +1,21 @@+import type { FileDropEvent } from 'file-drop-element';+import type SnackBarElement from 'shared/initial-app/custom-els/snack-bar';+import type { SnackOptions } from 'shared/initial-app/custom-els/snack-bar';+import { h, Component } from 'preact';-import { bind, linkRef, Fileish } from '../../lib/initial-util';-import * as style from './style.scss';-import { FileDropEvent } from 'file-drop-element';+import { linkRef } from 'shared/initial-app/util';+import * as style from './style.css';+import 'add-css:./style.css';import 'file-drop-element';-import SnackBarElement, { SnackOptions } from '../../lib/SnackBar';-import '../../lib/SnackBar';-import Intro from '../intro';-import '../custom-els/LoadingSpinner';+import 'shared/initial-app/custom-els/snack-bar';+import Intro from 'shared/initial-app/Intro';+import 'shared/initial-app/custom-els/loading-spinner';const ROUTE_EDITOR = '/editor';-const compressPromise = import(- /* webpackChunkName: "main-app" */- '../compress');--const swBridgePromise = import(- /* webpackChunkName: "sw-bridge" */- '../../lib/sw-bridge');+const compressPromise = import('client/lazy-app/Compress');+const swBridgePromise = import('client/lazy-app/sw-bridge');function back() {window.history.back();@@ -27,14 +25,16 @@ interface Props {}interface State {awaitingShareTarget: boolean;- file?: File | Fileish;+ file?: File;isEditorOpen: Boolean;- Compress?: typeof import('../compress').default;+ Compress?: typeof import('client/lazy-app/Compress').default;}export default class App extends Component<Props, State> {state: State = {- awaitingShareTarget: new URL(location.href).searchParams.has('share-target'),+ awaitingShareTarget: new URL(location.href).searchParams.has(+ 'share-target',+ ),isEditorOpen: false,file: undefined,Compress: undefined,@@ -45,11 +45,13 @@ export default class App extends Component<Props, State> {constructor() {super();- compressPromise.then((module) => {- this.setState({ Compress: module.default });- }).catch(() => {- this.showSnack('Failed to load app');- });+ compressPromise+ .then((module) => {+ this.setState({ Compress: module.default });+ })+ .catch(() => {+ this.showSnack('Failed to load app');+ });swBridgePromise.then(async ({ offliner, getSharedImage }) => {offliner(this.showSnack);@@ -61,16 +63,6 @@ export default class App extends Component<Props, State> {this.setState({ file, awaitingShareTarget: false });});- // In development, persist application state across hot reloads:- if (process.env.NODE_ENV === 'development') {- this.setState(window.STATE);- const oldCDU = this.componentDidUpdate;- this.componentDidUpdate = (props, state, prev) => {- if (oldCDU) oldCDU.call(this, props, state, prev);- window.STATE = this.state;- };- }-// Since iOS 10, Apple tries to prevent disabling pinch-zoom. This is great in theory, but// really breaks things on Squoosh, as you can easily end up zooming the UI when you mean to// zoom the image. Once you've done this, it's really difficult to undo. Anyway, this seems to@@ -82,54 +74,61 @@ export default class App extends Component<Props, State> {window.addEventListener('popstate', this.onPopState);}- @bind- private onFileDrop({ files }: FileDropEvent) {+ private onFileDrop = ({ files }: FileDropEvent) => {if (!files || files.length === 0) return;const file = files[0];this.openEditor();this.setState({ file });- }+ };- @bind- private onIntroPickFile(file: File | Fileish) {+ private onIntroPickFile = (file: File) => {this.openEditor();this.setState({ file });- }+ };- @bind- private showSnack(message: string, options: SnackOptions = {}): Promise<string> {+ private showSnack = (+ message: string,+ options: SnackOptions = {},+ ): Promise<string> => {if (!this.snackbar) throw Error('Snackbar missing');return this.snackbar.showSnackbar(message, options);- }+ };- @bind- private onPopState() {+ private onPopState = () => {this.setState({ isEditorOpen: location.pathname === ROUTE_EDITOR });- }+ };- @bind- private openEditor() {+ private openEditor = () => {if (this.state.isEditorOpen) return;// Change path, but preserve query string.const editorURL = new URL(location.href);editorURL.pathname = ROUTE_EDITOR;history.pushState(null, '', editorURL.href);this.setState({ isEditorOpen: true });- }+ };- render({}: Props, { file, isEditorOpen, Compress, awaitingShareTarget }: State) {+ render(+ {}: Props,+ { file, isEditorOpen, Compress, awaitingShareTarget }: State,+ ) {const showSpinner = awaitingShareTarget || (isEditorOpen && !Compress);return (- <div id="app" class={style.app}>- <file-drop accept="image/*" onfiledrop={this.onFileDrop} class={style.drop}>- {- showSpinner- ? <loading-spinner class={style.appLoader}/>- : isEditorOpen- ? Compress && <Compress file={file!} showSnack={this.showSnack} onBack={back} />- : <Intro onFile={this.onIntroPickFile} showSnack={this.showSnack} />- }+ <div class={style.app}>+ <file-drop+ accept="image/*"+ onfiledrop={this.onFileDrop}+ class={style.drop}+ >+ {showSpinner ? (+ <loading-spinner class={style.appLoader} />+ ) : isEditorOpen ? (+ Compress && (+ <Compress file={file!} showSnack={this.showSnack} onBack={back} />+ )+ ) : (+ <Intro onFile={this.onIntroPickFile} showSnack={this.showSnack} />+ )}<snack-bar ref={linkRef(this, 'snackbar')} /></file-drop></div>diff --git a/src/components/App/style.scss b/src/client/initial-app/App/style.csssimilarity index 95%rename from src/components/App/style.scssrename to src/client/initial-app/App/style.cssindex f7c48425..d23b5483 100644--- a/src/components/App/style.scss+++ b/src/client/initial-app/App/style.css@@ -24,7 +24,7 @@right: 10px;bottom: 10px;border: 2px dashed #fff;- background-color:rgba(88, 116, 88, 0.2);+ background-color: rgba(88, 116, 88, 0.2);border-color: rgba(65, 129, 65, 0.5);border-radius: 10px;opacity: 0;diff --git a/src/client/initial-app/custom-els/missing-types.d.ts b/src/client/initial-app/custom-els/missing-types.d.tsnew file mode 100644index 00000000..37aa4e00--- /dev/null+++ b/src/client/initial-app/custom-els/missing-types.d.ts@@ -0,0 +1,18 @@+/// <reference path="../../../shared/initial-app/custom-els/snack-bar/missing-types.d.ts" />+/// <reference path="../../../shared/initial-app/custom-els/loading-spinner/missing-types.d.ts" />+import type { FileDropElement, FileDropEvent } from 'file-drop-element';++interface FileDropAttributes extends preact.JSX.HTMLAttributes {+ accept?: string;+ onfiledrop?: ((this: FileDropElement, ev: FileDropEvent) => any) | null;+}++declare module 'preact' {+ namespace createElement.JSX {+ interface IntrinsicElements {+ 'file-drop': FileDropAttributes;+ }+ }+}++export {};diff --git a/src/client/initial-app/index.tsx b/src/client/initial-app/index.tsxnew file mode 100644index 00000000..c81affc4--- /dev/null+++ b/src/client/initial-app/index.tsx@@ -0,0 +1,44 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { h, render } from 'preact';+import App from './App';++const root = document.getElementById('app') as HTMLElement;++async function main() {+ if (!__PRODUCTION__) await import('preact/debug');+ render(<App />, root);+}++main();++// Analytics+{+ // Determine the current display mode.+ const displayMode =+ navigator.standalone ||+ window.matchMedia('(display-mode: standalone)').matches+ ? 'standalone'+ : 'browser';++ // Setup analytics+ window.ga = window.ga || ((...args) => (ga.q = ga.q || []).push(args));+ ga('create', 'UA-128752250-1', 'auto');+ ga('set', 'transport', 'beacon');+ ga('set', 'dimension1', displayMode);+ ga('send', 'pageview', '/index.html', { title: 'Squoosh' });+ // Load the GA script+ const script = document.createElement('script');+ script.src = 'https://www.google-analytics.com/analytics.js';+ document.head.appendChild(script);+}diff --git a/src/client/lazy-app/Compress/Options/Checkbox/index.tsx b/src/client/lazy-app/Compress/Options/Checkbox/index.tsxnew file mode 100644index 00000000..e2fd19ec--- /dev/null+++ b/src/client/lazy-app/Compress/Options/Checkbox/index.tsx@@ -0,0 +1,23 @@+import { h, Component } from 'preact';+import * as style from './style.css';+import 'add-css:./style.css';+import { UncheckedIcon, CheckedIcon } from '../../../icons';++interface Props extends preact.JSX.HTMLAttributes {}+interface State {}++export default class Checkbox extends Component<Props, State> {+ render(props: Props) {+ return (+ <div class={style.checkbox}>+ {props.checked ? (+ <CheckedIcon class={`${style.icon} ${style.checked}`} />+ ) : (+ <UncheckedIcon class={style.icon} />+ )}+ {/* @ts-ignore - TS bug https://github.com/microsoft/TypeScript/issues/16019 */}+ <input class={style.realCheckbox} type="checkbox" {...props} />+ </div>+ );+ }+}diff --git a/src/components/checkbox/style.scss b/src/client/lazy-app/Compress/Options/Checkbox/style.csssimilarity index 93%rename from src/components/checkbox/style.scssrename to src/client/lazy-app/Compress/Options/Checkbox/style.cssindex 67aecd6a..c68bd895 100644--- a/src/components/checkbox/style.scss+++ b/src/client/lazy-app/Compress/Options/Checkbox/style.css@@ -18,5 +18,5 @@}.checked {- fill: #34B9EB;+ fill: #34b9eb;}diff --git a/src/client/lazy-app/Compress/Options/Expander/index.tsx b/src/client/lazy-app/Compress/Options/Expander/index.tsxnew file mode 100644index 00000000..e0e013db--- /dev/null+++ b/src/client/lazy-app/Compress/Options/Expander/index.tsx@@ -0,0 +1,66 @@+import { h, Component, ComponentChild, ComponentChildren } from 'preact';+import * as style from './style.css';+import 'add-css:./style.css';+import { transitionHeight } from '../../../util';++interface Props {+ children: ComponentChildren;+}+interface State {+ children: ComponentChildren;+ outgoingChildren: ComponentChildren;+}++export default class Expander extends Component<Props, State> {+ static getDerivedStateFromProps(+ props: Props,+ state: State,+ ): Partial<State> | null {+ if (!props.children && state.children) {+ return { children: props.children, outgoingChildren: state.children };+ }++ if (props.children !== state.children) {+ return { children: props.children, outgoingChildren: undefined };+ }++ return null;+ }++ async componentDidUpdate(_: Props, previousState: State) {+ let heightFrom: number;+ let heightTo: number;++ if (previousState.children && !this.state.children) {+ heightFrom = (this.base as HTMLElement).getBoundingClientRect().height;+ heightTo = 0;+ } else if (!previousState.children && this.state.children) {+ heightFrom = 0;+ heightTo = (this.base as HTMLElement).getBoundingClientRect().height;+ } else {+ return;+ }++ (this.base as HTMLElement).style.overflow = 'hidden';++ await transitionHeight(this.base as HTMLElement, {+ duration: 300,+ from: heightFrom,+ to: heightTo,+ });++ // Unset the height & overflow, so element changes do the right thing.+ (this.base as HTMLElement).style.height = '';+ (this.base as HTMLElement).style.overflow = '';++ this.setState({ outgoingChildren: undefined });+ }++ render({}: Props, { children, outgoingChildren }: State) {+ return (+ <div class={outgoingChildren ? style.childrenExiting : ''}>+ {outgoingChildren || children}+ </div>+ );+ }+}diff --git a/src/components/expander/style.scss b/src/client/lazy-app/Compress/Options/Expander/style.csssimilarity index 100%rename from src/components/expander/style.scssrename to src/client/lazy-app/Compress/Options/Expander/style.cssdiff --git a/src/custom-els/RangeInput/index.ts b/src/client/lazy-app/Compress/Options/Range/custom-els/RangeInput/index.tssimilarity index 74%rename from src/custom-els/RangeInput/index.tsrename to src/client/lazy-app/Compress/Options/Range/custom-els/RangeInput/index.tsindex 838a24c5..49b8c58b 100644--- a/src/custom-els/RangeInput/index.ts+++ b/src/client/lazy-app/Compress/Options/Range/custom-els/RangeInput/index.ts@@ -1,11 +1,25 @@import PointerTracker from 'pointer-tracker';-import { bind } from '../../lib/initial-util';-import * as style from './styles.css';+import * as style from './style.css';+import 'add-css:./style.css';const RETARGETED_EVENTS = ['focus', 'blur'];const UPDATE_EVENTS = ['input', 'change'];-const REFLECTED_PROPERTIES = ['name', 'min', 'max', 'step', 'value', 'disabled'];-const REFLECTED_ATTRIBUTES = ['name', 'min', 'max', 'step', 'value', 'disabled'];+const REFLECTED_PROPERTIES = [+ 'name',+ 'min',+ 'max',+ 'step',+ 'value',+ 'disabled',+];+const REFLECTED_ATTRIBUTES = [+ 'name',+ 'min',+ 'max',+ 'step',+ 'value',+ 'disabled',+];function getPrescision(value: string): number {const afterDecimal = value.split('.')[1];@@ -51,12 +65,14 @@ class RangeInputElement extends HTMLElement {if (this.contains(this._input)) return;this.innerHTML =`<div class="${style.thumbWrapper}">` +- `<div class="${style.thumb}"></div>` +- `<div class="${style.valueDisplay}"></div>` ++ `<div class="${style.thumb}"></div>` ++ `<div class="${style.valueDisplay}"></div>` +'</div>';this.insertBefore(this._input, this.firstChild);- this._valueDisplay = this.querySelector('.' + style.valueDisplay) as HTMLDivElement;+ this._valueDisplay = this.querySelector(+ '.' + style.valueDisplay,+ ) as HTMLDivElement;// Set inline styles (this is useful when used with frameworks which might clear inline styles)this._update();}@@ -69,7 +85,11 @@ class RangeInputElement extends HTMLElement {this.setAttribute('label-precision', precision);}- attributeChangedCallback(name: string, oldValue: string, newValue: string | null) {+ attributeChangedCallback(+ name: string,+ oldValue: string,+ newValue: string | null,+ ) {if (this._ignoreChange) return;if (newValue === null) {this._input.removeAttribute(name);@@ -80,33 +100,38 @@ class RangeInputElement extends HTMLElement {this._update();}- @bind- private _retargetEvent(event: Event) {+ private _retargetEvent = (event: Event) => {event.stopImmediatePropagation();const retargetted = new Event(event.type, event);this.dispatchEvent(retargetted);- }+ };- @bind- private _update() {+ private _update = () => {+ // Not connected?+ if (!this._valueDisplay) return;const value = Number(this.value) || 0;const min = Number(this.min) || 0;const max = Number(this.max) || 100;- const labelPrecision = Number(this.labelPrecision) || getPrescision(this.step) || 0;- const percent = 100 * (value - min) / (max - min);- const displayValue = labelPrecision ? value.toFixed(labelPrecision) :- Math.round(value).toString();+ const labelPrecision =+ Number(this.labelPrecision) || getPrescision(this.step) || 0;+ const percent = (100 * (value - min)) / (max - min);+ const displayValue = labelPrecision+ ? value.toFixed(labelPrecision)+ : Math.round(value).toString();this._valueDisplay!.textContent = displayValue;this.style.setProperty('--value-percent', percent + '%');this.style.setProperty('--value-width', '' + displayValue.length);- }+ };private _reflectAttributes() {this._ignoreChange = true;for (const attributeName of REFLECTED_ATTRIBUTES) {if (this._input.hasAttribute(attributeName)) {- this.setAttribute(attributeName, this._input.getAttribute(attributeName)!);+ this.setAttribute(+ attributeName,+ this._input.getAttribute(attributeName)!,+ );} else {this.removeAttribute(attributeName);}diff --git a/src/client/lazy-app/Compress/Options/Range/custom-els/RangeInput/missing-types.d.ts b/src/client/lazy-app/Compress/Options/Range/custom-els/RangeInput/missing-types.d.tsnew file mode 100644index 00000000..7800e014--- /dev/null+++ b/src/client/lazy-app/Compress/Options/Range/custom-els/RangeInput/missing-types.d.ts@@ -0,0 +1,9 @@+declare module 'preact' {+ namespace createElement.JSX {+ interface IntrinsicElements {+ 'range-input': HTMLAttributes;+ }+ }+}++export {};diff --git a/src/custom-els/RangeInput/styles.css b/src/client/lazy-app/Compress/Options/Range/custom-els/RangeInput/style.csssimilarity index 74%rename from src/custom-els/RangeInput/styles.cssrename to src/client/lazy-app/Compress/Options/Range/custom-els/RangeInput/style.cssindex 21ca4767..0b18ea33 100644--- a/src/custom-els/RangeInput/styles.css+++ b/src/client/lazy-app/Compress/Options/Range/custom-els/RangeInput/style.css@@ -23,8 +23,10 @@ range-input::before {width: 100%;height: 2px;border-radius: 1px;- box-shadow: 0 -.5px 0 rgba(0,0,0,0.3), inset 0 .5px 0 rgba(255,255,255,0.2), 0 .5px 0 rgba(255,255,255,0.3);- background: linear-gradient(#34B9EB, #218ab1) 0/ var(--value-percent, 0%) 100% no-repeat #eee;+ box-shadow: 0 -0.5px 0 rgba(0, 0, 0, 0.3),+ inset 0 0.5px 0 rgba(255, 255, 255, 0.2), 0 0.5px 0 rgba(255, 255, 255, 0.3);+ background: linear-gradient(#34b9eb, #218ab1) 0 / var(--value-percent, 0%)+ 100% no-repeat #eee;}.input {@@ -41,11 +43,12 @@ range-input::before {bottom: 3px;left: var(--value-percent, 0%);margin-left: -6px;- background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><circle cx="5" cy="5" r="1" fill="%235D509E" /></svg>') center no-repeat #34B9EB;+ background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><circle cx="5" cy="5" r="1" fill="%235D509E" /></svg>')+ center no-repeat #34b9eb;border-radius: 50%;width: 12px;height: 12px;- box-shadow: 0 0.5px 2px rgba(0,0,0,0.3);+ box-shadow: 0 0.5px 2px rgba(0, 0, 0, 0.3);}.thumb-wrapper {@@ -58,7 +61,8 @@ range-input::before {}.value-display {- background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="62" fill="none"><path fill="%2334B9EB" d="M27.3 27.3C25 29.6 17 35.8 17 43v3c0 3 2.5 5 3.2 5.8a6 6 0 1 1-8.5 0C12.6 51 15 49 15 46v-3c0-7.2-8-13.4-10.3-15.7A16 16 0 0 1 16 0a16 16 0 0 1 11.3 27.3z"/><circle cx="16" cy="56" r="1" fill="%235D509E"/></svg>') top center no-repeat;+ background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="62" fill="none"><path fill="%2334B9EB" d="M27.3 27.3C25 29.6 17 35.8 17 43v3c0 3 2.5 5 3.2 5.8a6 6 0 1 1-8.5 0C12.6 51 15 49 15 46v-3c0-7.2-8-13.4-10.3-15.7A16 16 0 0 1 16 0a16 16 0 0 1 11.3 27.3z"/><circle cx="16" cy="56" r="1" fill="%235D509E"/></svg>')+ top center no-repeat;position: absolute;box-sizing: border-box;left: var(--value-percent, 0%);@@ -68,15 +72,15 @@ range-input::before {text-align: center;padding: 8px 3px 0;margin: 0 0 0 -16px;- filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));+ filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));transform-origin: 50% 90%;opacity: 0.0001;- transform: scale(.2);+ transform: scale(0.2);color: #fff;font: inherit;- font-size: calc(100% - var(--value-width, 3) / 5 * .2em);+ font-size: calc(100% - var(--value-width, 3) / 5 * 0.2em);text-overflow: clip;- text-shadow: 0 -.5px 0 rgba(0,0,0,0.4);+ text-shadow: 0 -0.5px 0 rgba(0, 0, 0, 0.4);transition: all 200ms ease;transition-property: opacity, transform;will-change: transform;@@ -90,5 +94,5 @@ range-input::before {}.touch-active + .thumb-wrapper .thumb {- box-shadow: 0 1px 3px rgba(0,0,0,0.5);+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);}diff --git a/src/components/range/index.tsx b/src/client/lazy-app/Compress/Options/Range/index.tsxsimilarity index 66%rename from src/components/range/index.tsxrename to src/client/lazy-app/Compress/Options/Range/index.tsxindex 0d69511a..e4ed66b9 100644--- a/src/components/range/index.tsx+++ b/src/client/lazy-app/Compress/Options/Range/index.tsx@@ -1,34 +1,32 @@import { h, Component } from 'preact';-import * as style from './style.scss';-import RangeInputElement from '../../custom-els/RangeInput';-import '../../custom-els/RangeInput';-import { linkRef, bind } from '../../lib/initial-util';+import * as style from './style.css';+import 'add-css:./style.css';+import RangeInputElement from './custom-els/RangeInput';+import './custom-els/RangeInput';+import { linkRef } from 'shared/initial-app/util';-interface Props extends JSX.HTMLAttributes {}+interface Props extends preact.JSX.HTMLAttributes {}interface State {}export default class Range extends Component<Props, State> {rangeWc?: RangeInputElement;- @bind- private onTextInput(event: Event) {+ private onTextInput = (event: Event) => {const input = event.target as HTMLInputElement;const value = input.value.trim();if (!value) return;this.rangeWc!.value = input.value;- const { onInput } = this.props;- if (onInput) onInput(event);- }+ this.rangeWc!.dispatchEvent(+ new InputEvent('input', {+ bubbles: event.bubbles,+ }),+ );+ };render(props: Props) {- const {- children,- ...otherProps- } = props;+ const { children, ...otherProps } = props;- const {- value, min, max, step,- } = props;+ const { value, min, max, step } = props;return (<label class={style.range}>diff --git a/src/components/range/style.scss b/src/client/lazy-app/Compress/Options/Range/style.csssimilarity index 96%rename from src/components/range/style.scssrename to src/client/lazy-app/Compress/Options/Range/style.cssindex ffe0d54e..b8ed2b69 100644--- a/src/components/range/style.scss+++ b/src/client/lazy-app/Compress/Options/Range/style.css@@ -43,7 +43,7 @@color: #000;}- // Remove the number controls+ /* Remove the number controls */-moz-appearance: textfield;&::-webkit-outer-spin-button,diff --git a/src/client/lazy-app/Compress/Options/Select/index.tsx b/src/client/lazy-app/Compress/Options/Select/index.tsxnew file mode 100644index 00000000..d6cbb6d0--- /dev/null+++ b/src/client/lazy-app/Compress/Options/Select/index.tsx@@ -0,0 +1,27 @@+import { h, Component } from 'preact';+import * as style from './style.css';+import 'add-css:./style.css';++interface Props extends preact.JSX.HTMLAttributes {+ large?: boolean;+}+interface State {}++export default class Select extends Component<Props, State> {+ render(props: Props) {+ const { large, ...otherProps } = props;++ return (+ <div class={style.select}>+ {/* @ts-ignore - TS bug https://github.com/microsoft/TypeScript/issues/16019 */}+ <select+ class={`${style.builtinSelect} ${large ? style.large : ''}`}+ {...otherProps}+ />+ <svg class={style.arrow} viewBox="0 0 10 5">+ <path d="M0 0l5 5 5-5z" />+ </svg>+ </div>+ );+ }+}diff --git a/src/components/select/style.scss b/src/client/lazy-app/Compress/Options/Select/style.csssimilarity index 100%rename from src/components/select/style.scssrename to src/client/lazy-app/Compress/Options/Select/style.cssdiff --git a/src/client/lazy-app/Compress/Options/index.tsx b/src/client/lazy-app/Compress/Options/index.tsxnew file mode 100644index 00000000..ede3b056--- /dev/null+++ b/src/client/lazy-app/Compress/Options/index.tsx@@ -0,0 +1,190 @@+import { h, Component } from 'preact';++import * as style from './style.css';+import 'add-css:./style.css';+import { cleanSet, cleanMerge } from '../../util/clean-modify';++import type { SourceImage, OutputType } from '..';+import {+ EncoderOptions,+ EncoderState,+ ProcessorState,+ ProcessorOptions,+ encoderMap,+} from '../../feature-meta';+import Expander from './Expander';+import Checkbox from './Checkbox';+import Select from './Select';+import { Options as QuantOptionsComponent } from 'features/processors/quantize/client';+import { Options as ResizeOptionsComponent } from 'features/processors/resize/client';++interface Props {+ mobileView: boolean;+ source?: SourceImage;+ encoderState?: EncoderState;+ processorState: ProcessorState;+ onEncoderTypeChange(newType: OutputType): void;+ onEncoderOptionsChange(newOptions: EncoderOptions): void;+ onProcessorOptionsChange(newOptions: ProcessorState): void;+}++interface State {+ supportedEncoderMap?: PartialButNotUndefined<typeof encoderMap>;+}++type PartialButNotUndefined<T> = {+ [P in keyof T]: T[P];+};++const supportedEncoderMapP: Promise<PartialButNotUndefined<+ typeof encoderMap+>> = (async () => {+ const supportedEncoderMap: PartialButNotUndefined<typeof encoderMap> = {+ ...encoderMap,+ };++ // Filter out entries where the feature test fails+ await Promise.all(+ Object.entries(encoderMap).map(async ([encoderName, details]) => {+ if ('featureTest' in details && !(await details.featureTest())) {+ delete supportedEncoderMap[encoderName as keyof typeof encoderMap];+ }+ }),+ );++ return supportedEncoderMap;+})();++export default class Options extends Component<Props, State> {+ state: State = {+ supportedEncoderMap: undefined,+ };++ constructor() {+ super();+ supportedEncoderMapP.then((supportedEncoderMap) =>+ this.setState({ supportedEncoderMap }),+ );+ }++ private onEncoderTypeChange = (event: Event) => {+ const el = event.currentTarget as HTMLSelectElement;++ // The select element only has values matching encoder types,+ // so 'as' is safe here.+ const type = el.value as OutputType;+ this.props.onEncoderTypeChange(type);+ };++ private onProcessorEnabledChange = (event: Event) => {+ const el = event.currentTarget as HTMLInputElement;+ const processor = el.name.split('.')[0] as keyof ProcessorState;++ this.props.onProcessorOptionsChange(+ cleanSet(this.props.processorState, `${processor}.enabled`, el.checked),+ );+ };++ private onQuantizerOptionsChange = (opts: ProcessorOptions['quantize']) => {+ this.props.onProcessorOptionsChange(+ cleanMerge(this.props.processorState, 'quantize', opts),+ );+ };++ private onResizeOptionsChange = (opts: ProcessorOptions['resize']) => {+ this.props.onProcessorOptionsChange(+ cleanMerge(this.props.processorState, 'resize', opts),+ );+ };++ render(+ { source, encoderState, processorState, onEncoderOptionsChange }: Props,+ { supportedEncoderMap }: State,+ ) {+ const encoder = encoderState && encoderMap[encoderState.type];+ const EncoderOptionComponent =+ encoder && 'Options' in encoder ? encoder.Options : undefined;++ return (+ <div class={style.optionsScroller}>+ <Expander>+ {!encoderState ? null : (+ <div>+ <h3 class={style.optionsTitle}>Edit</h3>+ <label class={style.sectionEnabler}>+ <Checkbox+ name="resize.enable"+ checked={!!processorState.resize.enabled}+ onChange={this.onProcessorEnabledChange}+ />+ Resize+ </label>+ <Expander>+ {processorState.resize.enabled ? (+ <ResizeOptionsComponent+ isVector={Boolean(source && source.vectorImage)}+ inputWidth={source ? source.preprocessed.width : 1}+ inputHeight={source ? source.preprocessed.height : 1}+ options={processorState.resize}+ onChange={this.onResizeOptionsChange}+ />+ ) : null}+ </Expander>++ <label class={style.sectionEnabler}>+ <Checkbox+ name="quantize.enable"+ checked={!!processorState.quantize.enabled}+ onChange={this.onProcessorEnabledChange}+ />+ Reduce palette+ </label>+ <Expander>+ {processorState.quantize.enabled ? (+ <QuantOptionsComponent+ options={processorState.quantize}+ onChange={this.onQuantizerOptionsChange}+ />+ ) : null}+ </Expander>+ </div>+ )}+ </Expander>++ <h3 class={style.optionsTitle}>Compress</h3>++ <section class={`${style.optionOneCell} ${style.optionsSection}`}>+ {supportedEncoderMap ? (+ <Select+ value={encoderState ? encoderState.type : 'identity'}+ onChange={this.onEncoderTypeChange}+ large+ >+ <option value="identity">Original Image</option>+ {Object.entries(supportedEncoderMap).map(([type, encoder]) => (+ <option value={type}>{encoder.meta.label}</option>+ ))}+ </Select>+ ) : (+ <Select large>+ <option>Loading…</option>+ </Select>+ )}+ </section>++ <Expander>+ {EncoderOptionComponent && (+ <EncoderOptionComponent+ options={+ // Casting options, as encoderOptionsComponentMap[encodeData.type] ensures+ // the correct type, but typescript isn't smart enough.+ encoderState!.options as any+ }+ onChange={onEncoderOptionsChange}+ />+ )}+ </Expander>+ </div>+ );+ }+}diff --git a/src/components/Options/style.scss b/src/client/lazy-app/Compress/Options/style.csssimilarity index 81%rename from src/components/Options/style.scssrename to src/client/lazy-app/Compress/Options/style.cssindex 96520a5f..ac0efca4 100644--- a/src/components/Options/style.scss+++ b/src/client/lazy-app/Compress/Options/style.css@@ -1,9 +1,14 @@-$horizontalPadding: 15px;+.options-scroller {+ overflow-x: hidden;+ overflow-y: auto;+ -webkit-overflow-scrolling: touch;+ --horizontal-padding: 15px;+}.options-title {background: rgba(0, 0, 0, 0.9);margin: 0;- padding: 10px $horizontalPadding;+ padding: 10px var(--horizontal-padding);font-weight: normal;font-size: 1.4rem;border-bottom: 1px solid #000;@@ -14,13 +19,13 @@ $horizontalPadding: 15px;align-items: center;grid-template-columns: 87px 1fr;grid-gap: 0.7em;- padding: 10px $horizontalPadding;+ padding: 10px var(--horizontal-padding);}.option-one-cell {display: grid;grid-template-columns: 1fr;- padding: 10px $horizontalPadding;+ padding: 10px var(--horizontal-padding);}.option-input-first,@@ -30,7 +35,7 @@ $horizontalPadding: 15px;align-items: center;grid-template-columns: auto 1fr;grid-gap: 0.7em;- padding: 10px $horizontalPadding;+ padding: 10px var(--horizontal-padding);}.section-enabler {@@ -51,9 +56,3 @@ $horizontalPadding: 15px;box-sizing: border-box;box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);}--.options-scroller {- overflow-x: hidden;- overflow-y: auto;- -webkit-overflow-scrolling: touch;-}diff --git a/src/components/Output/custom-els/PinchZoom/index.ts b/src/client/lazy-app/Compress/Output/custom-els/PinchZoom/index.tssimilarity index 89%rename from src/components/Output/custom-els/PinchZoom/index.tsrename to src/client/lazy-app/Compress/Output/custom-els/PinchZoom/index.tsindex 48f1a033..a14514d3 100644--- a/src/components/Output/custom-els/PinchZoom/index.ts+++ b/src/client/lazy-app/Compress/Output/custom-els/PinchZoom/index.ts@@ -1,5 +1,5 @@import PointerTracker, { Pointer } from 'pointer-tracker';-import './styles.css';+import 'add-css:./styles.css';interface Point {clientX: number;@@ -56,7 +56,7 @@ function getAbsoluteValue(value: string | number, max: number): number {if (typeof value === 'number') return value;if (value.trimRight().endsWith('%')) {- return max * parseFloat(value) / 100;+ return (max * parseFloat(value)) / 100;}return parseFloat(value);}@@ -66,7 +66,10 @@ function getAbsoluteValue(value: string | number, max: number): number {let cachedSvg: SVGSVGElement;function getSVG(): SVGSVGElement {- return cachedSvg || (cachedSvg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'));+ return (+ cachedSvg ||+ (cachedSvg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'))+ );}function createMatrix(): SVGMatrix {@@ -93,14 +96,16 @@ export default class PinchZoom extends HTMLElement {// Watch for children changes.// Note this won't fire for initial contents,// so _stageElChange is also called in connectedCallback.- new MutationObserver(() => this._stageElChange())- .observe(this, { childList: true });+ new MutationObserver(() => this._stageElChange()).observe(this, {+ childList: true,+ });// Watch for pointersconst pointerTracker: PointerTracker = new PointerTracker(this, {start: (pointer, event) => {// We only want to track 2 pointers at most- if (pointerTracker.currentPointers.length === 2 || !this._positioningEl) return false;+ if (pointerTracker.currentPointers.length === 2 || !this._positioningEl)+ return false;event.preventDefault();return true;},@@ -109,7 +114,7 @@ export default class PinchZoom extends HTMLElement {},});- this.addEventListener('wheel', event => this._onWheel(event));+ this.addEventListener('wheel', (event) => this._onWheel(event));}connectedCallback() {@@ -132,17 +137,11 @@ export default class PinchZoom extends HTMLElement {* Change the scale, adjusting x/y by a given transform origin.*/scaleTo(scale: number, opts: ScaleToOpts = {}) {- let {- originX = 0,- originY = 0,- } = opts;+ let { originX = 0, originY = 0 } = opts;- const {- relativeTo = 'content',- allowChangeEvent = false,- } = opts;+ const { relativeTo = 'content', allowChangeEvent = false } = opts;- const relativeToEl = (relativeTo === 'content' ? this._positioningEl : this);+ const relativeToEl = relativeTo === 'content' ? this._positioningEl : this;// No content element? Fall back to just setting scaleif (!relativeToEl || !this._positioningEl) {@@ -175,15 +174,9 @@ export default class PinchZoom extends HTMLElement {* Update the stage with a given scale/x/y.*/setTransform(opts: SetTransformOpts = {}) {- const {- scale = this.scale,- allowChangeEvent = false,- } = opts;+ const { scale = this.scale, allowChangeEvent = false } = opts;- let {- x = this.x,- y = this.y,- } = opts;+ let { x = this.x, y = this.y } = opts;// If we don't have an element to position, just set the value as given.// We'll check bounds later.@@ -242,16 +235,17 @@ export default class PinchZoom extends HTMLElement {/*** Update transform values without checking bounds. This is only called in setTransform.*/- private _updateTransform(scale: number, x: number, y: number, allowChangeEvent: boolean) {+ private _updateTransform(+ scale: number,+ x: number,+ y: number,+ allowChangeEvent: boolean,+ ) {// Avoid scaling to zeroif (scale < MIN_SCALE) return;// Return if there's no change- if (- scale === this.scale &&- x === this.x &&- y === this.y- ) return;+ if (scale === this.scale && x === this.x && y === this.y) return;this._transform.e = x;this._transform.f = y;@@ -296,7 +290,8 @@ export default class PinchZoom extends HTMLElement {let { deltaY } = event;const { ctrlKey, deltaMode } = event;- if (deltaMode === 1) { // 1 is "lines", 0 is "pixels"+ if (deltaMode === 1) {+ // 1 is "lines", 0 is "pixels"// Firefox uses "lines" for some types of mousedeltaY *= 15;}@@ -313,7 +308,10 @@ export default class PinchZoom extends HTMLElement {});}- private _onPointerMove(previousPointers: Pointer[], currentPointers: Pointer[]) {+ private _onPointerMove(+ previousPointers: Pointer[],+ currentPointers: Pointer[],+ ) {if (!this._positioningEl) return;// Combine next points with previous points@@ -333,7 +331,9 @@ export default class PinchZoom extends HTMLElement {const scaleDiff = prevDistance ? newDistance / prevDistance : 1;this._applyChange({- originX, originY, scaleDiff,+ originX,+ originY,+ scaleDiff,panX: newMidpoint.clientX - prevMidpoint.clientX,panY: newMidpoint.clientY - prevMidpoint.clientY,allowChangeEvent: true,@@ -343,8 +343,10 @@ export default class PinchZoom extends HTMLElement {/** Transform the view & fire a change event */private _applyChange(opts: ApplyChangeOpts = {}) {const {- panX = 0, panY = 0,- originX = 0, originY = 0,+ panX = 0,+ panY = 0,+ originX = 0,+ originY = 0,scaleDiff = 1,allowChangeEvent = false,} = opts;diff --git a/src/client/lazy-app/Compress/Output/custom-els/PinchZoom/missing-types.d.ts b/src/client/lazy-app/Compress/Output/custom-els/PinchZoom/missing-types.d.tsnew file mode 100644index 00000000..5f28f1e7--- /dev/null+++ b/src/client/lazy-app/Compress/Output/custom-els/PinchZoom/missing-types.d.ts@@ -0,0 +1,9 @@+declare module 'preact' {+ namespace createElement.JSX {+ interface IntrinsicElements {+ 'pinch-zoom': HTMLAttributes;+ }+ }+}++export {};diff --git a/src/components/Output/custom-els/PinchZoom/styles.css b/src/client/lazy-app/Compress/Output/custom-els/PinchZoom/styles.csssimilarity index 100%rename from src/components/Output/custom-els/PinchZoom/styles.cssrename to src/client/lazy-app/Compress/Output/custom-els/PinchZoom/styles.cssdiff --git a/src/components/Output/custom-els/TwoUp/index.ts b/src/client/lazy-app/Compress/Output/custom-els/TwoUp/index.tssimilarity index 85%rename from src/components/Output/custom-els/TwoUp/index.tsrename to src/client/lazy-app/Compress/Output/custom-els/TwoUp/index.tsindex 3c8c566e..e003be25 100644--- a/src/components/Output/custom-els/TwoUp/index.ts+++ b/src/client/lazy-app/Compress/Output/custom-els/TwoUp/index.ts@@ -1,5 +1,6 @@import PointerTracker, { Pointer } from 'pointer-tracker';import * as styles from './styles.css';+import 'add-css:./styles.css';const legacyClipCompatAttr = 'legacy-clip-compat';const orientationAttr = 'orientation';@@ -11,7 +12,9 @@ type TwoUpOrientation = 'horizontal' | 'vertical';* the left-hand side, and the second child becomes the right-hand side.*/export default class TwoUp extends HTMLElement {- static get observedAttributes() { return [orientationAttr]; }+ static get observedAttributes() {+ return [orientationAttr];+ }private readonly _handle = document.createElement('div');/**@@ -31,20 +34,20 @@ export default class TwoUp extends HTMLElement {*/private _everConnected = false;- constructor () {+ constructor() {super();this._handle.className = styles.twoUpHandle;// Watch for children changes.// Note this won't fire for initial contents,// so _childrenChange is also called in connectedCallback.- new MutationObserver(() => this._childrenChange())- .observe(this, { childList: true });+ new MutationObserver(() => this._childrenChange()).observe(this, {+ childList: true,+ });// Watch for element size changes.if ('ResizeObserver' in window) {- new ResizeObserver(() => this._resetPosition())- .observe(this);+ new ResizeObserver(() => this._resetPosition()).observe(this);} else {window.addEventListener('resize', () => this._resetPosition());}@@ -70,11 +73,9 @@ export default class TwoUp extends HTMLElement {connectedCallback() {this._childrenChange();- this._handle.innerHTML = `<div class="${styles.scrubber}">${- `<svg viewBox="0 0 27 20" fill="currentColor">${- '<path d="M17 19.2l9.5-9.6L16.9 0zM9.6 0L0 9.6l9.6 9.6z"/>'- }</svg>`- }</div>`;+ this._handle.innerHTML = `<div class="${+ styles.scrubber+ }">${`<svg viewBox="0 0 27 20" fill="currentColor">${'<path d="M17 19.2l9.5-9.6L16.9 0zM9.6 0L0 9.6l9.6 9.6z"/>'}</svg>`}</div>`;if (!this._everConnected) {this._resetPosition();@@ -92,7 +93,8 @@ export default class TwoUp extends HTMLElement {// Set the initial position of the handle.requestAnimationFrame(() => {const bounds = this.getBoundingClientRect();- const dimensionAxis = this.orientation === 'vertical' ? 'height' : 'width';+ const dimensionAxis =+ this.orientation === 'vertical' ? 'height' : 'width';this._position = bounds[dimensionAxis] * this._relativePosition;this._setPosition();});@@ -149,11 +151,15 @@ export default class TwoUp extends HTMLElement {const dimensionAxis = this.orientation === 'vertical' ? 'height' : 'width';const bounds = this.getBoundingClientRect();- this._position = this._positionOnPointerStart ++ this._position =+ this._positionOnPointerStart +(currentPoint[pointAxis] - startPoint[pointAxis]);// Clamp position to element bounds.- this._position = Math.max(0, Math.min(this._position, bounds[dimensionAxis]));+ this._position = Math.max(+ 0,+ Math.min(this._position, bounds[dimensionAxis]),+ );this._relativePosition = this._position / bounds[dimensionAxis];this._setPosition();}diff --git a/src/client/lazy-app/Compress/Output/custom-els/TwoUp/missing-types.d.ts b/src/client/lazy-app/Compress/Output/custom-els/TwoUp/missing-types.d.tsnew file mode 100644index 00000000..19e7f234--- /dev/null+++ b/src/client/lazy-app/Compress/Output/custom-els/TwoUp/missing-types.d.ts@@ -0,0 +1,14 @@+interface TwoUpAttributes extends preact.JSX.HTMLAttributes {+ orientation?: string;+ 'legacy-clip-compat'?: boolean;+}++declare module 'preact' {+ namespace createElement.JSX {+ interface IntrinsicElements {+ 'two-up': TwoUpAttributes;+ }+ }+}++export {};diff --git a/src/components/Output/custom-els/TwoUp/styles.css b/src/client/lazy-app/Compress/Output/custom-els/TwoUp/styles.csssimilarity index 83%rename from src/components/Output/custom-els/TwoUp/styles.cssrename to src/client/lazy-app/Compress/Output/custom-els/TwoUp/styles.cssindex 73c555da..a823c7e0 100644--- a/src/components/Output/custom-els/TwoUp/styles.css+++ b/src/client/lazy-app/Compress/Output/custom-els/TwoUp/styles.css@@ -37,7 +37,8 @@ two-up[legacy-clip-compat] > :not(.two-up-handle) {height: 100%;width: var(--bar-size);margin: 0 auto;- box-shadow: inset calc(var(--bar-size) / 2) 0 0 rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.4);+ box-shadow: inset calc(var(--bar-size) / 2) 0 0 rgba(0, 0, 0, 0.1),+ 0 1px 4px rgba(0, 0, 0, 0.4);background: var(--track-color);}@@ -51,9 +52,9 @@ two-up[legacy-clip-compat] > :not(.two-up-handle) {width: var(--thumb-size);height: calc(var(--thumb-size) * 0.9);background: var(--thumb-background);- border: 1px solid rgba(0,0,0,0.2);+ border: 1px solid rgba(0, 0, 0, 0.2);border-radius: var(--thumb-size);- box-shadow: 0 1px 4px rgba(0,0,0,0.1);+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);color: var(--thumb-color);box-sizing: border-box;padding: 0 calc(var(--thumb-size) * 0.24);@@ -73,12 +74,13 @@ two-up[orientation='vertical'] .two-up-handle {two-up[orientation='vertical'] .two-up-handle::before {width: auto;height: var(--bar-size);- box-shadow: inset 0 calc(var(--bar-size) / 2) 0 rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.4);+ box-shadow: inset 0 calc(var(--bar-size) / 2) 0 rgba(0, 0, 0, 0.1),+ 0 1px 4px rgba(0, 0, 0, 0.4);margin: calc((var(--bar-touch-size) - var(--bar-size)) / 2) 0 0 0;}two-up[orientation='vertical'] .scrubber {- box-shadow: 1px 0 4px rgba(0,0,0,0.1);+ box-shadow: 1px 0 4px rgba(0, 0, 0, 0.1);transform: translate(-50%, -50%) rotate(-90deg);}@@ -106,7 +108,9 @@ two-up[orientation='vertical'] > :nth-child(2):not(.two-up-handle) {Even in legacy-clip-compat, prefer clip-path if it's supported.It performs way better in Safari.*/-@supports not ((clip-path: inset(0 0 0 0)) or (-webkit-clip-path: inset(0 0 0 0))) {+@supports not (+ (clip-path: inset(0 0 0 0)) or (-webkit-clip-path: inset(0 0 0 0))+) {two-up[legacy-clip-compat] > :nth-child(1):not(.two-up-handle) {clip: rect(auto var(--split-point) auto auto);}@@ -115,11 +119,13 @@ two-up[orientation='vertical'] > :nth-child(2):not(.two-up-handle) {clip: rect(auto auto auto var(--split-point));}- two-up[orientation='vertical'][legacy-clip-compat] > :nth-child(1):not(.two-up-handle) {+ two-up[orientation='vertical'][legacy-clip-compat]+ > :nth-child(1):not(.two-up-handle) {clip: rect(auto auto var(--split-point) auto);}- two-up[orientation='vertical'][legacy-clip-compat] > :nth-child(2):not(.two-up-handle) {+ two-up[orientation='vertical'][legacy-clip-compat]+ > :nth-child(2):not(.two-up-handle) {clip: rect(var(--split-point) auto auto auto);}}diff --git a/src/components/Output/index.tsx b/src/client/lazy-app/Compress/Output/index.tsxsimilarity index 75%rename from src/components/Output/index.tsxrename to src/client/lazy-app/Compress/Output/index.tsxindex 36ba4120..94a653a9 100644--- a/src/components/Output/index.tsx+++ b/src/client/lazy-app/Compress/Output/index.tsx@@ -1,33 +1,35 @@import { h, Component } from 'preact';-import PinchZoom, { ScaleToOpts } from './custom-els/PinchZoom';+import type PinchZoom from './custom-els/PinchZoom';+import type { ScaleToOpts } from './custom-els/PinchZoom';import './custom-els/PinchZoom';import './custom-els/TwoUp';-import * as style from './style.scss';-import { bind, linkRef } from '../../lib/initial-util';-import { shallowEqual, drawDataToCanvas } from '../../lib/util';+import * as style from './style.css';+import 'add-css:./style.css';+import { shallowEqual, drawDataToCanvas } from '../../util';import {- ToggleBackgroundIcon,- AddIcon,- RemoveIcon,- BackIcon,- ToggleBackgroundActiveIcon,- RotateIcon,-} from '../../lib/icons';+ ToggleBackgroundIcon,+ AddIcon,+ RemoveIcon,+ BackIcon,+ ToggleBackgroundActiveIcon,+ RotateIcon,+} from '../../icons';import { twoUpHandle } from './custom-els/TwoUp/styles.css';-import { InputProcessorState } from '../../codecs/input-processors';-import { cleanSet } from '../../lib/clean-modify';-import { SourceImage } from '../compress';+import type { PreprocessorState } from '../../feature-meta';+import { cleanSet } from '../../util/clean-modify';+import type { SourceImage } from '../../Compress';+import { linkRef } from 'shared/initial-app/util';interface Props {source?: SourceImage;- inputProcessorState?: InputProcessorState;+ preprocessorState?: PreprocessorState;mobileView: boolean;leftCompressed?: ImageData;rightCompressed?: ImageData;leftImgContain: boolean;rightImgContain: boolean;onBack: () => void;- onInputProcessorChange: (newState: InputProcessorState) => void;+ onPreprocessorChange: (newState: PreprocessorState) => void;}interface State {@@ -84,12 +86,14 @@ export default class Output extends Component<Props, State> {const rightDraw = this.rightDrawable();const sourceFileChanged =// Has the value become (un)defined?- (!!this.props.source !== !!prevProps.source) ||+ !!this.props.source !== !!prevProps.source ||// Or has the file changed?- (this.props.source && prevProps.source && this.props.source.file !== prevProps.source.file);+ (this.props.source &&+ prevProps.source &&+ this.props.source.file !== prevProps.source.file);- const oldSourceData = prevProps.source && prevProps.source.processed;- const newSourceData = this.props.source && this.props.source.processed;+ const oldSourceData = prevProps.source && prevProps.source.preprocessed;+ const newSourceData = this.props.source && this.props.source.preprocessed;const pinchZoom = this.pinchZoomLeft!;if (sourceFileChanged) {@@ -100,13 +104,17 @@ export default class Output extends Component<Props, State> {y: 0,scale: 1,});- } else if (oldSourceData && newSourceData && oldSourceData !== newSourceData) {+ } else if (+ oldSourceData &&+ newSourceData &&+ oldSourceData !== newSourceData+ ) {// Since the pinch zoom transform origin is the top-left of the content, we need to flip// things around a bit when the content size changes, so the new content appears as if it were// central to the previous content.const scaleChange = 1 - pinchZoom.scale;- const oldXScaleOffset = oldSourceData.width / 2 * scaleChange;- const oldYScaleOffset = oldSourceData.height / 2 * scaleChange;+ const oldXScaleOffset = (oldSourceData.width / 2) * scaleChange;+ const oldYScaleOffset = (oldSourceData.height / 2) * scaleChange;pinchZoom.setTransform({allowChangeEvent: true,@@ -124,41 +132,38 @@ export default class Output extends Component<Props, State> {}shouldComponentUpdate(nextProps: Props, nextState: State) {- return !shallowEqual(this.props, nextProps) || !shallowEqual(this.state, nextState);+ return (+ !shallowEqual(this.props, nextProps) ||+ !shallowEqual(this.state, nextState)+ );}private leftDrawable(props: Props = this.props): ImageData | undefined {- return props.leftCompressed || (props.source && props.source.processed);+ return props.leftCompressed || (props.source && props.source.preprocessed);}private rightDrawable(props: Props = this.props): ImageData | undefined {- return props.rightCompressed || (props.source && props.source.processed);+ return props.rightCompressed || (props.source && props.source.preprocessed);}- @bind- private toggleBackground() {+ private toggleBackground = () => {this.setState({altBackground: !this.state.altBackground,});- }+ };- @bind- private zoomIn() {+ private zoomIn = () => {if (!this.pinchZoomLeft) throw Error('Missing pinch-zoom element');-this.pinchZoomLeft.scaleTo(this.state.scale * 1.25, scaleToOpts);- }+ };- @bind- private zoomOut() {+ private zoomOut = () => {if (!this.pinchZoomLeft) throw Error('Missing pinch-zoom element');-this.pinchZoomLeft.scaleTo(this.state.scale / 1.25, scaleToOpts);- }+ };- @bind- private onRotateClick() {- const { inputProcessorState } = this.props;+ private onRotateClick = () => {+ const { preprocessorState: inputProcessorState } = this.props;if (!inputProcessorState) return;const newState = cleanSet(@@ -167,39 +172,38 @@ export default class Output extends Component<Props, State> {(inputProcessorState.rotate.rotate + 90) % 360,);- this.props.onInputProcessorChange(newState);- }+ this.props.onPreprocessorChange(newState);+ };- @bind- private onScaleValueFocus() {+ private onScaleValueFocus = () => {this.setState({ editingScale: true }, () => {if (this.scaleInput) {- // Firefox unfocuses the input straight away unless I force a style calculation here. I have- // no idea why, but it's late and I'm quite tired.+ // Firefox unfocuses the input straight away unless I force a style+ // calculation here. I have no idea why, but it's late and I'm quite+ // tired.getComputedStyle(this.scaleInput).transform;this.scaleInput.focus();}});- }+ };- @bind- private onScaleInputBlur() {+ private onScaleInputBlur = () => {this.setState({ editingScale: false });- }+ };- @bind- private onScaleInputChanged(event: Event) {+ private onScaleInputChanged = (event: Event) => {const target = event.target as HTMLInputElement;const percent = parseFloat(target.value);if (isNaN(percent)) return;if (!this.pinchZoomLeft) throw Error('Missing pinch-zoom element');this.pinchZoomLeft.scaleTo(percent / 100, scaleToOpts);- }+ };- @bind- private onPinchZoomLeftChange(event: Event) {- if (!this.pinchZoomRight || !this.pinchZoomLeft) throw Error('Missing pinch-zoom element');+ private onPinchZoomLeftChange = (event: Event) => {+ if (!this.pinchZoomRight || !this.pinchZoomLeft) {+ throw Error('Missing pinch-zoom element');+ }this.setState({scale: this.pinchZoomLeft.scale,});@@ -208,7 +212,7 @@ export default class Output extends Component<Props, State> {x: this.pinchZoomLeft.x,y: this.pinchZoomLeft.y,});- }+ };/*** We're using two pinch zoom elements, but we want them to stay in sync. When one moves, we@@ -218,8 +222,7 @@ export default class Output extends Component<Props, State> {** @param event Event to redirect*/- @bind- private onRetargetableEvent(event: Event) {+ private onRetargetableEvent = (event: Event) => {const targetEl = event.target as HTMLElement;if (!this.pinchZoomLeft) throw Error('Missing pinch-zoom element');// If the event is on the handle of the two-up, let it through,@@ -232,7 +235,10 @@ export default class Output extends Component<Props, State> {event.preventDefault();// Clone the event & dispatch// Some TypeScript trickery needed due to https://github.com/Microsoft/TypeScript/issues/3841- const clonedEvent = new (event.constructor as typeof Event)(event.type, event);+ const clonedEvent = new (event.constructor as typeof Event)(+ event.type,+ event,+ );this.retargetedEvents.add(clonedEvent);this.pinchZoomLeft.dispatchEvent(clonedEvent);@@ -246,7 +252,7 @@ export default class Output extends Component<Props, State> {) {document.activeElement.blur();}- }+ };render({ mobileView, leftImgContain, rightImgContain, source, onBack }: Props,@@ -255,10 +261,12 @@ export default class Output extends Component<Props, State> {const leftDraw = this.leftDrawable();const rightDraw = this.rightDrawable();// To keep position stable, the output is put in a square using the longest dimension.- const originalImage = source && source.processed;+ const originalImage = source && source.preprocessed;return (- <div class={`${style.output} ${altBackground ? style.altBackground : ''}`}>+ <div+ class={`${style.output} ${altBackground ? style.altBackground : ''}`}+ ><two-uplegacy-clip-compatclass={style.twoUp}@@ -282,21 +290,24 @@ export default class Output extends Component<Props, State> {width={leftDraw && leftDraw.width}height={leftDraw && leftDraw.height}style={{- width: originalImage && originalImage.width,- height: originalImage && originalImage.height,+ width: originalImage ? originalImage.width : '',+ height: originalImage ? originalImage.height : '',objectFit: leftImgContain ? 'contain' : '',}}/></pinch-zoom>- <pinch-zoom class={style.pinchZoom} ref={linkRef(this, 'pinchZoomRight')}>+ <pinch-zoom+ class={style.pinchZoom}+ ref={linkRef(this, 'pinchZoomRight')}+ ><canvasclass={style.pinchTarget}ref={linkRef(this, 'canvasRight')}width={rightDraw && rightDraw.width}height={rightDraw && rightDraw.height}style={{- width: originalImage && originalImage.width,- height: originalImage && originalImage.height,+ width: originalImage ? originalImage.width : '',+ height: originalImage ? originalImage.height : '',objectFit: rightImgContain ? 'contain' : '',}}/>@@ -327,9 +338,12 @@ export default class Output extends Component<Props, State> {onBlur={this.onScaleInputBlur}/>) : (- <span class={style.zoom} tabIndex={0} onFocus={this.onScaleValueFocus}>- <span class={style.zoomValue}>{Math.round(scale * 100)}</span>- %+ <span+ class={style.zoom}+ tabIndex={0}+ onFocus={this.onScaleValueFocus}+ >+ <span class={style.zoomValue}>{Math.round(scale * 100)}</span>%</span>)}<button class={style.button} onClick={this.zoomIn}>@@ -337,7 +351,11 @@ export default class Output extends Component<Props, State> {</button></div><div class={style.buttonsNoWrap}>- <button class={style.button} onClick={this.onRotateClick} title="Rotate image">+ <button+ class={style.button}+ onClick={this.onRotateClick}+ title="Rotate image"+ ><RotateIcon /></button><button@@ -345,10 +363,11 @@ export default class Output extends Component<Props, State> {onClick={this.toggleBackground}title="Change canvas color">- {altBackground- ? <ToggleBackgroundActiveIcon />- : <ToggleBackgroundIcon />- }+ {altBackground ? (+ <ToggleBackgroundActiveIcon />+ ) : (+ <ToggleBackgroundIcon />+ )}</button></div></div>diff --git a/src/components/Output/style.scss b/src/client/lazy-app/Compress/Output/style.csssimilarity index 75%rename from src/components/Output/style.scssrename to src/client/lazy-app/Compress/Output/style.cssindex ce1b68fc..ab56f174 100644--- a/src/components/Output/style.scss+++ b/src/client/lazy-app/Compress/Output/style.css@@ -1,5 +1,5 @@.output {- composes: abs-fill from '../../lib/util.scss';+ composes: abs-fill from '../../../../shared/initial-app/util.css';&::before {content: '';@@ -19,12 +19,12 @@}.two-up {- composes: abs-fill from '../../lib/util.scss';+ composes: abs-fill from '../../../../shared/initial-app/util.css';--accent-color: var(--button-fg);}.pinch-zoom {- composes: abs-fill from '../../lib/util.scss';+ composes: abs-fill from '../../../../shared/initial-app/util.css';outline: none;display: flex;justify-content: center;@@ -32,11 +32,11 @@}.pinch-target {- // This fixes a severe painting bug in Chrome.- // We should try to remove this once the issue is fixed.- // https://bugs.chromium.org/p/chromium/issues/detail?id=870222#c10+ /* This fixes a severe painting bug in Chrome.+ * We should try to remove this once the issue is fixed.+ * https://bugs.chromium.org/p/chromium/issues/detail?id=870222#c10 */will-change: auto;- // Prevent the image becoming misshapen due to default flexbox layout.+ /* Prevent the image becoming misshapen due to default flexbox layout. */flex-shrink: 0;}@@ -52,7 +52,7 @@flex-wrap: wrap;contain: content;- // Allow clicks to fall through to the pinch zoom area+ /* Allow clicks to fall through to the pinch zoom area */pointer-events: none;& > * {pointer-events: auto;@@ -91,7 +91,7 @@box-sizing: border-box;margin: 4px;background-color: #fff;- border: 1px solid rgba(0,0,0,0.2);+ border: 1px solid rgba(0, 0, 0, 0.2);border-radius: 5px;line-height: 1;white-space: nowrap;@@ -119,7 +119,7 @@}&.active {- background: #34B9EB;+ background: #34b9eb;color: #fff;&:hover {@@ -129,7 +129,7 @@}.zoom {- color: #625E80;+ color: #625e80;cursor: text;width: 6em;font: inherit;@@ -137,7 +137,7 @@justify-content: center;&:focus {- box-shadow: inset 0 1px 4px rgba(0,0,0,0.2), 0 0 0 2px var(--button-fg);+ box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2), 0 0 0 2px var(--button-fg);}}diff --git a/src/components/results/FileSize.tsx b/src/client/lazy-app/Compress/Results/FileSize.tsxsimilarity index 74%rename from src/components/results/FileSize.tsxrename to src/client/lazy-app/Compress/Results/FileSize.tsxindex 9355882a..973d1d81 100644--- a/src/components/results/FileSize.tsx+++ b/src/client/lazy-app/Compress/Results/FileSize.tsx@@ -1,6 +1,6 @@import { h, Component } from 'preact';-import * as prettyBytes from 'pretty-bytes';-import * as style from './style.scss';+import prettyBytes from 'pretty-bytes';+import * as style from './style.css';interface Props {blob: Blob;@@ -11,7 +11,7 @@ interface State {}export default class FileSize extends Component<Props, State> {render({ blob, compareTo }: Props) {- let comparison: JSX.Element | undefined;+ let comparison: preact.JSX.Element | undefined;if (compareTo) {const delta = blob.size / compareTo.size;@@ -30,12 +30,14 @@ export default class FileSize extends Component<Props, State> {</span>);} else {- comparison = (- <span class={style.sizeDelta}>no change</span>- );+ comparison = <span class={style.sizeDelta}>no change</span>;}}- return <span>{prettyBytes(blob.size)} {comparison}</span>;+ return (+ <span>+ {prettyBytes(blob.size)} {comparison}+ </span>+ );}}diff --git a/src/components/results/index.tsx b/src/client/lazy-app/Compress/Results/index.tsxsimilarity index 69%rename from src/components/results/index.tsxrename to src/client/lazy-app/Compress/Results/index.tsxindex 1886ae5b..57f8e73d 100644--- a/src/components/results/index.tsx+++ b/src/client/lazy-app/Compress/Results/index.tsx@@ -1,16 +1,20 @@import { h, Component, ComponentChildren, ComponentChild } from 'preact';-import * as style from './style.scss';+import * as style from './style.css';+import 'add-css:./style.css';import FileSize from './FileSize';-import { DownloadIcon, CopyAcrossIcon, CopyAcrossIconProps } from '../../lib/icons';-import '../custom-els/LoadingSpinner';-import { SourceImage } from '../compress';-import { Fileish, bind } from '../../lib/initial-util';+import {+ DownloadIcon,+ CopyAcrossIcon,+ CopyAcrossIconProps,+} from 'client/lazy-app/icons';+import 'shared/initial-app/custom-els/loading-spinner';+import { SourceImage } from '../';interface Props {loading: boolean;source?: SourceImage;- imageFile?: Fileish;+ imageFile?: File;downloadUrl?: string;children: ComponentChildren;copyDirection: CopyAcrossIconProps['copyDirection'];@@ -32,7 +36,7 @@ const loadingReactionDelay = 500;export default class Results extends Component<Props, State> {state: State = {- showLoadingState: false,+ showLoadingState: this.props.loading,};/** The timeout ID between entering the loading state, and changing UI */@@ -52,45 +56,50 @@ export default class Results extends Component<Props, State> {}}- @bind- private onCopyToOtherClick(event: Event) {+ private onCopyToOtherClick = (event: Event) => {event.preventDefault();this.props.onCopyToOtherClick();- }+ };- @bind- onDownload() {+ private onDownload = () => {// GA can’t do floats. So we round to ints. We're deliberately rounding to nearest kilobyte to// avoid cases where exact image sizes leak something interesting about the user.const before = Math.round(this.props.source!.file.size / 1024);const after = Math.round(this.props.imageFile!.size / 1024);- const change = Math.round(after / before * 1000);+ const change = Math.round((after / before) * 1000);ga('send', 'event', 'compression', 'download', {metric1: before,metric2: after,metric3: change,});- }+ };render(- { source, imageFile, downloadUrl, children, copyDirection, buttonPosition }: Props,+ {+ source,+ imageFile,+ downloadUrl,+ children,+ copyDirection,+ buttonPosition,+ }: Props,{ showLoadingState }: State,) {-return (<div class={`${style.results} ${buttonPositionClass[buttonPosition]}`}><div class={style.resultData}>- {(children as ComponentChild[])[0]- ? <div class={style.resultTitle}>{children}</div>- : null- }- {!imageFile || showLoadingState ? 'Working…' :+ {children ? <div class={style.resultTitle}>{children}</div> : null}+ {!imageFile || showLoadingState ? (+ 'Working…'+ ) : (<FileSizeblob={imageFile}- compareTo={(source && imageFile !== source.file) ? source.file : undefined}+ compareTo={+ source && imageFile !== source.file ? source.file : undefined+ }/>- }+ )}</div><button@@ -98,13 +107,18 @@ export default class Results extends Component<Props, State> {title="Copy settings to other side"onClick={this.onCopyToOtherClick}>- <CopyAcrossIcon class={style.copyIcon} copyDirection={copyDirection} />+ <CopyAcrossIcon+ class={style.copyIcon}+ copyDirection={copyDirection}+ /></button><div class={style.download}>- {(downloadUrl && imageFile) && (+ {downloadUrl && imageFile && (<a- class={`${style.downloadLink} ${showLoadingState ? style.downloadLinkDisable : ''}`}+ class={`${style.downloadLink} ${+ showLoadingState ? style.downloadLinkDisable : ''+ }`}href={downloadUrl}download={imageFile.name}title="Download"diff --git a/src/components/results/style.scss b/src/client/lazy-app/Compress/Results/style.csssimilarity index 95%rename from src/components/results/style.scssrename to src/client/lazy-app/Compress/Results/style.cssindex 43acc732..1918c841 100644--- a/src/components/results/style.scss+++ b/src/client/lazy-app/Compress/Results/style.css@@ -82,7 +82,7 @@.download {grid-row: 1;grid-column: download-button;- background: #34B9EB;+ background: #34b9eb;--size: 38px;width: var(--size);height: var(--size);@@ -124,7 +124,7 @@.copy-to-other {grid-row: 1;grid-column: copy-button;- composes: unbutton from '../../lib/util.scss';+ composes: unbutton from '../../../../shared/initial-app/util.css';composes: download;background: #656565;diff --git a/src/components/compress/custom-els/MultiPanel/index.ts b/src/client/lazy-app/Compress/custom-els/MultiPanel/index.tssimilarity index 93%rename from src/components/compress/custom-els/MultiPanel/index.tsrename to src/client/lazy-app/Compress/custom-els/MultiPanel/index.tsindex 9e8081c7..d8ddfd7b 100644--- a/src/components/compress/custom-els/MultiPanel/index.ts+++ b/src/client/lazy-app/Compress/custom-els/MultiPanel/index.ts@@ -1,5 +1,6 @@import * as style from './styles.css';-import { transitionHeight } from '../../../../lib/util';+import 'add-css:./styles.css';+import { transitionHeight } from 'client/lazy-app/util';interface CloseAllOptions {exceptFirst?: boolean;@@ -56,7 +57,8 @@ async function open(heading: HTMLElement) {await null;await transitionHeight(content, {- from, to,+ from,+ to,duration: 300,});@@ -69,7 +71,9 @@ async function open(heading: HTMLElement) {* and odd index element becomes the expandable content.*/export default class MultiPanel extends HTMLElement {- static get observedAttributes() { return [openOneOnlyAttr]; }+ static get observedAttributes() {+ return [openOneOnlyAttr];+ }constructor() {super();@@ -79,15 +83,20 @@ export default class MultiPanel extends HTMLElement {this.addEventListener('keydown', this._onKeyDown);// Watch for children changes.- new MutationObserver(() => this._childrenChange())- .observe(this, { childList: true });+ new MutationObserver(() => this._childrenChange()).observe(this, {+ childList: true,+ });}connectedCallback() {this._childrenChange();}- attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null) {+ attributeChangedCallback(+ name: string,+ oldValue: string | null,+ newValue: string | null,+ ) {if (name === openOneOnlyAttr && newValue === null) {this._closeAll({ exceptFirst: true });}@@ -170,7 +179,9 @@ export default class MultiPanel extends HTMLElement {private _closeAll(options: CloseAllOptions = {}): void {const { exceptFirst = false } = options;- let els = [...this.children].filter(el => el.matches('[content-expanded]')) as HTMLElement[];+ let els = [...this.children].filter((el) =>+ el.matches('[content-expanded]'),+ ) as HTMLElement[];if (exceptFirst) {els = els.slice(1);@@ -191,7 +202,9 @@ export default class MultiPanel extends HTMLElement {// if at the end of this loop, runout of element for content,// it means it has odd number of elements. log error and set heading to end the loop.if (!content) {- console.error('<multi-panel> requires an even number of element children.');+ console.error(+ '<multi-panel> requires an even number of element children.',+ );break;}diff --git a/src/client/lazy-app/Compress/custom-els/MultiPanel/missing-types.d.ts b/src/client/lazy-app/Compress/custom-els/MultiPanel/missing-types.d.tsnew file mode 100644index 00000000..416a22a0--- /dev/null+++ b/src/client/lazy-app/Compress/custom-els/MultiPanel/missing-types.d.ts@@ -0,0 +1,13 @@+interface MultiPanelAttributes extends preact.JSX.HTMLAttributes {+ 'open-one-only'?: boolean;+}++declare module 'preact' {+ namespace createElement.JSX {+ interface IntrinsicElements {+ 'multi-panel': MultiPanelAttributes;+ }+ }+}++export {};diff --git a/src/components/compress/custom-els/MultiPanel/styles.css b/src/client/lazy-app/Compress/custom-els/MultiPanel/styles.csssimilarity index 73%rename from src/components/compress/custom-els/MultiPanel/styles.cssrename to src/client/lazy-app/Compress/custom-els/MultiPanel/styles.cssindex 07ce0f6f..0efe86ce 100644--- a/src/components/compress/custom-els/MultiPanel/styles.css+++ b/src/client/lazy-app/Compress/custom-els/MultiPanel/styles.css@@ -5,6 +5,6 @@height: 0px;overflow: auto;}-.panel-content[aria-expanded=true] {+.panel-content[aria-expanded='true'] {height: auto;}diff --git a/src/client/lazy-app/Compress/index.tsx b/src/client/lazy-app/Compress/index.tsxnew file mode 100644index 00000000..63af05ee--- /dev/null+++ b/src/client/lazy-app/Compress/index.tsx@@ -0,0 +1,886 @@+import { h, Component } from 'preact';++import * as style from './style.css';+import 'add-css:./style.css';+import {+ blobToImg,+ drawableToImageData,+ blobToText,+ builtinDecode,+ sniffMimeType,+ canDecodeImageType,+ abortable,+ assertSignal,+} from '../util';+import {+ PreprocessorState,+ ProcessorState,+ EncoderState,+ encoderMap,+ defaultPreprocessorState,+ defaultProcessorState,+ EncoderType,+ EncoderOptions,+} from '../feature-meta';+import Output from './Output';+import Options from './Options';+import ResultCache from './result-cache';+import { cleanMerge, cleanSet } from '../util/clean-modify';+import './custom-els/MultiPanel';+import Results from './Results';+import WorkerBridge from '../worker-bridge';+import { resize } from 'features/processors/resize/client';+import type SnackBarElement from 'shared/initial-app/custom-els/snack-bar';+import { CopyAcrossIconProps, ExpandIcon } from '../icons';++export type OutputType = EncoderType | 'identity';++export interface SourceImage {+ file: File;+ decoded: ImageData;+ preprocessed: ImageData;+ vectorImage?: HTMLImageElement;+}++interface SideSettings {+ processorState: ProcessorState;+ encoderState?: EncoderState;+}++interface Side {+ processed?: ImageData;+ file?: File;+ downloadUrl?: string;+ data?: ImageData;+ latestSettings: SideSettings;+ encodedSettings?: SideSettings;+ loading: boolean;+}++interface Props {+ file: File;+ showSnack: SnackBarElement['showSnackbar'];+ onBack: () => void;+}++interface State {+ source?: SourceImage;+ sides: [Side, Side];+ /** Source image load */+ loading: boolean;+ error?: string;+ mobileView: boolean;+ preprocessorState: PreprocessorState;+ encodedPreprocessorState?: PreprocessorState;+}++interface MainJob {+ file: File;+ preprocessorState: PreprocessorState;+}++interface SideJob {+ processorState: ProcessorState;+ encoderState?: EncoderState;+}++async function decodeImage(+ signal: AbortSignal,+ blob: Blob,+ workerBridge: WorkerBridge,+): Promise<ImageData> {+ assertSignal(signal);+ const mimeType = await abortable(signal, sniffMimeType(blob));+ const canDecode = await abortable(signal, canDecodeImageType(mimeType));++ try {+ if (!canDecode) {+ if (mimeType === 'image/avif') {+ return await workerBridge.avifDecode(signal, blob);+ }+ if (mimeType === 'image/webp') {+ return await workerBridge.webpDecode(signal, blob);+ }+ if (mimeType === 'image/jpegxl') {+ return await workerBridge.jxlDecode(signal, blob);+ }+ if (mimeType === 'image/webp2') {+ return await workerBridge.wp2Decode(signal, blob);+ }+ // If it's not one of those types, fall through and try built-in decoding for a laugh.+ }+ return await abortable(signal, builtinDecode(blob));+ } catch (err) {+ if (err.name === 'AbortError') throw err;+ console.log(err);+ throw Error("Couldn't decode image");+ }+}++async function preprocessImage(+ signal: AbortSignal,+ data: ImageData,+ preprocessorState: PreprocessorState,+ workerBridge: WorkerBridge,+): Promise<ImageData> {+ assertSignal(signal);+ let processedData = data;++ if (preprocessorState.rotate.rotate !== 0) {+ processedData = await workerBridge.rotate(+ signal,+ processedData,+ preprocessorState.rotate,+ );+ }++ return processedData;+}++async function processImage(+ signal: AbortSignal,+ source: SourceImage,+ processorState: ProcessorState,+ workerBridge: WorkerBridge,+): Promise<ImageData> {+ assertSignal(signal);+ let result = source.preprocessed;++ if (processorState.resize.enabled) {+ result = await resize(signal, source, processorState.resize, workerBridge);+ }+ if (processorState.quantize.enabled) {+ result = await workerBridge.quantize(+ signal,+ result,+ processorState.quantize,+ );+ }+ return result;+}++async function compressImage(+ signal: AbortSignal,+ image: ImageData,+ encodeData: EncoderState,+ sourceFilename: string,+ workerBridge: WorkerBridge,+): Promise<File> {+ assertSignal(signal);++ const encoder = encoderMap[encodeData.type];+ const compressedData = await encoder.encode(+ signal,+ workerBridge,+ image,+ // The type of encodeData.options is enforced via the previous line+ encodeData.options as any,+ );++ return new File(+ [compressedData],+ sourceFilename.replace(/.[^.]*$/, `.${encoder.meta.extension}`),+ { type: encoder.meta.mimeType },+ );+}++function stateForNewSourceData(state: State): State {+ let newState = { ...state };++ for (const i of [0, 1]) {+ // Ditch previous encodings+ const downloadUrl = state.sides[i].downloadUrl;+ if (downloadUrl) URL.revokeObjectURL(downloadUrl);++ newState = cleanMerge(state, `sides.${i}`, {+ preprocessed: undefined,+ file: undefined,+ downloadUrl: undefined,+ data: undefined,+ encodedSettings: undefined,+ });+ }++ return newState;+}++async function processSvg(+ signal: AbortSignal,+ blob: Blob,+): Promise<HTMLImageElement> {+ assertSignal(signal);+ // Firefox throws if you try to draw an SVG to canvas that doesn't have width/height.+ // In Chrome it loads, but drawImage behaves weirdly.+ // This function sets width/height if it isn't already set.+ const parser = new DOMParser();+ const text = await abortable(signal, blobToText(blob));+ const document = parser.parseFromString(text, 'image/svg+xml');+ const svg = document.documentElement!;++ if (svg.hasAttribute('width') && svg.hasAttribute('height')) {+ return blobToImg(blob);+ }++ const viewBox = svg.getAttribute('viewBox');+ if (viewBox === null) throw Error('SVG must have width/height or viewBox');++ const viewboxParts = viewBox.split(/\s+/);+ svg.setAttribute('width', viewboxParts[2]);+ svg.setAttribute('height', viewboxParts[3]);++ const serializer = new XMLSerializer();+ const newSource = serializer.serializeToString(document);+ return abortable(+ signal,+ blobToImg(new Blob([newSource], { type: 'image/svg+xml' })),+ );+}++/**+ * If two processors are disabled, they're considered equivalent, otherwise+ * equivalence is based on ===+ */+function processorStateEquivalent(a: ProcessorState, b: ProcessorState) {+ // Quick exit+ if (a === b) return true;++ // All processors have the same keys+ for (const key of Object.keys(a) as Array<keyof ProcessorState>) {+ // If both processors are disabled, they're the same.+ if (!a[key].enabled && !b[key].enabled) continue;+ if (a !== b) return false;+ }++ return true;+}++// These are only used in the mobile view+const resultTitles = ['Top', 'Bottom'] as const;+// These are only used in the desktop view+const buttonPositions = ['download-left', 'download-right'] as const;++const originalDocumentTitle = document.title;++function updateDocumentTitle(filename: string = ''): void {+ document.title = filename+ ? `${filename} - ${originalDocumentTitle}`+ : originalDocumentTitle;+}++export default class Compress extends Component<Props, State> {+ widthQuery = window.matchMedia('(max-width: 599px)');++ state: State = {+ source: undefined,+ loading: false,+ preprocessorState: defaultPreprocessorState,+ sides: [+ {+ latestSettings: {+ processorState: defaultProcessorState,+ encoderState: undefined,+ },+ loading: false,+ },+ {+ latestSettings: {+ processorState: defaultProcessorState,+ encoderState: {+ type: 'mozJPEG',+ options: encoderMap.mozJPEG.meta.defaultOptions,+ },+ },+ loading: false,+ },+ ],+ mobileView: this.widthQuery.matches,+ };++ private readonly encodeCache = new ResultCache();+ // One for each side+ private readonly workerBridges = [new WorkerBridge(), new WorkerBridge()];+ /** Abort controller for actions that impact both sites, like source image decoding and preprocessing */+ private mainAbortController = new AbortController();+ // And again one for each side+ private sideAbortControllers = [new AbortController(), new AbortController()];+ /** For debouncing calls to updateImage for each side. */+ private updateImageTimeout?: number;++ constructor(props: Props) {+ super(props);+ this.widthQuery.addListener(this.onMobileWidthChange);+ this.sourceFile = props.file;+ this.queueUpdateImage({ immediate: true });++ import('../sw-bridge').then(({ mainAppLoaded }) => mainAppLoaded());+ }++ private onMobileWidthChange = () => {+ this.setState({ mobileView: this.widthQuery.matches });+ };++ private onEncoderTypeChange(index: 0 | 1, newType: OutputType): void {+ this.setState({+ sides: cleanSet(+ this.state.sides,+ `${index}.latestSettings.encoderState`,+ newType === 'identity'+ ? undefined+ : {+ type: newType,+ options: encoderMap[newType].meta.defaultOptions,+ },+ ),+ });+ }++ private onProcessorOptionsChange(+ index: 0 | 1,+ options: ProcessorState,+ ): void {+ this.setState({+ sides: cleanSet(+ this.state.sides,+ `${index}.latestSettings.processorState`,+ options,+ ),+ });+ }++ private onEncoderOptionsChange(index: 0 | 1, options: EncoderOptions): void {+ this.setState({+ sides: cleanSet(+ this.state.sides,+ `${index}.latestSettings.encoderState.options`,+ options,+ ),+ });+ }++ componentWillReceiveProps(nextProps: Props): void {+ if (nextProps.file !== this.props.file) {+ this.sourceFile = nextProps.file;+ this.queueUpdateImage({ immediate: true });+ }+ }++ componentWillUnmount(): void {+ updateDocumentTitle();+ this.mainAbortController.abort();+ for (const controller of this.sideAbortControllers) {+ controller.abort();+ }+ }++ componentDidUpdate(prevProps: Props, prevState: State): void {+ this.queueUpdateImage();+ }++ private async onCopyToOtherClick(index: 0 | 1) {+ const otherIndex = index ? 0 : 1;+ const oldSettings = this.state.sides[otherIndex];+ const newSettings = { ...this.state.sides[index] };++ // Create a new object URL for the new settings. This avoids both sides sharing a URL, which+ // means it can be safely revoked without impacting the other side.+ if (newSettings.file) {+ newSettings.downloadUrl = URL.createObjectURL(newSettings.file);+ }++ this.setState({+ sides: cleanSet(this.state.sides, otherIndex, newSettings),+ });++ const result = await this.props.showSnack('Settings copied across', {+ timeout: 5000,+ actions: ['undo', 'dismiss'],+ });++ if (result !== 'undo') return;++ this.setState({+ sides: cleanSet(this.state.sides, otherIndex, oldSettings),+ });+ }++ private onPreprocessorChange = async (+ preprocessorState: PreprocessorState,+ ): Promise<void> => {+ const source = this.state.source;+ if (!source) return;++ const oldRotate = this.state.preprocessorState.rotate.rotate;+ const newRotate = preprocessorState.rotate.rotate;+ const orientationChanged = oldRotate % 180 !== newRotate % 180;++ this.setState((state) => ({+ loading: true,+ preprocessorState,+ // Flip resize values if orientation has changed+ sides: !orientationChanged+ ? state.sides+ : (state.sides.map((side) => {+ const currentResizeSettings =+ side.latestSettings.processorState.resize;+ const resizeSettings: Partial<ProcessorState['resize']> = {+ width: currentResizeSettings.height,+ height: currentResizeSettings.width,+ };+ return cleanMerge(+ side,+ 'latestSettings.processorState.resize',+ resizeSettings,+ );+ }) as [Side, Side]),+ }));+ };++ /**+ * Debounce the heavy lifting of updateImage.+ * Otherwise, the thrashing causes jank, and sometimes crashes iOS Safari.+ */+ private queueUpdateImage({ immediate }: { immediate?: boolean } = {}): void {+ // Call updateImage after this delay, unless queueUpdateImage is called+ // again, in which case the timeout is reset.+ const delay = 100;++ clearTimeout(this.updateImageTimeout);+ if (immediate) {+ this.updateImage();+ } else {+ this.updateImageTimeout = setTimeout(() => this.updateImage(), delay);+ }+ }++ private sourceFile: File;+ /** The in-progress job for decoding and preprocessing */+ private activeMainJob?: MainJob;+ /** The in-progress job for each side (processing and encoding) */+ private activeSideJobs: [SideJob?, SideJob?] = [undefined, undefined];++ /**+ * Perform image processing.+ *+ * This function is a monster, but I didn't want to break it up, because it+ * never gets partially called. Instead, it looks at the current state, and+ * decides which steps can be skipped, and which can be cached.+ */+ private async updateImage() {+ const currentState = this.state;++ // State of the last completed job, or ongoing job+ const latestMainJobState: Partial<MainJob> = this.activeMainJob || {+ file: currentState.source && currentState.source.file,+ preprocessorState: currentState.encodedPreprocessorState,+ };+ const latestSideJobStates: Partial<SideJob>[] = currentState.sides.map(+ (side, i) =>+ this.activeSideJobs[i] || {+ processorState:+ side.encodedSettings && side.encodedSettings.processorState,+ encoderState:+ side.encodedSettings && side.encodedSettings.encoderState,+ },+ );++ // State for this job+ const mainJobState: MainJob = {+ file: this.sourceFile,+ preprocessorState: currentState.preprocessorState,+ };+ const sideJobStates: SideJob[] = currentState.sides.map((side) => ({+ // If there isn't an encoder selected, we don't process either+ processorState: side.latestSettings.encoderState+ ? side.latestSettings.processorState+ : defaultProcessorState,+ encoderState: side.latestSettings.encoderState,+ }));++ // Figure out what needs doing:+ const needsDecoding = latestMainJobState.file != mainJobState.file;+ const needsPreprocessing =+ needsDecoding ||+ latestMainJobState.preprocessorState !== mainJobState.preprocessorState;+ const sideWorksNeeded = latestSideJobStates.map((latestSideJob, i) => {+ const needsProcessing =+ needsPreprocessing ||+ !latestSideJob.processorState ||+ // If we're going to or from 'original image' we should reprocess+ !!latestSideJob.encoderState !== !!sideJobStates[i].encoderState ||+ !processorStateEquivalent(+ latestSideJob.processorState,+ sideJobStates[i].processorState,+ );++ return {+ processing: needsProcessing,+ encoding:+ needsProcessing ||+ latestSideJob.encoderState !== sideJobStates[i].encoderState,+ };+ });++ let jobNeeded = false;++ // Abort running tasks & cycle the controllers+ if (needsDecoding || needsPreprocessing) {+ this.mainAbortController.abort();+ this.mainAbortController = new AbortController();+ jobNeeded = true;+ this.activeMainJob = mainJobState;+ }+ for (const [i, sideWorkNeeded] of sideWorksNeeded.entries()) {+ if (sideWorkNeeded.processing || sideWorkNeeded.encoding) {+ this.sideAbortControllers[i].abort();+ this.sideAbortControllers[i] = new AbortController();+ jobNeeded = true;+ this.activeSideJobs[i] = sideJobStates[i];+ }+ }++ if (!jobNeeded) return;++ const mainSignal = this.mainAbortController.signal;+ const sideSignals = this.sideAbortControllers.map((ac) => ac.signal);++ let decoded: ImageData;+ let vectorImage: HTMLImageElement | undefined;++ // Handle decoding+ if (needsDecoding) {+ try {+ assertSignal(mainSignal);+ this.setState({+ source: undefined,+ loading: true,+ });++ // Special-case SVG. We need to avoid createImageBitmap because of+ // https://bugs.chromium.org/p/chromium/issues/detail?id=606319.+ // Also, we cache the HTMLImageElement so we can perform vector resizing later.+ if (mainJobState.file.type.startsWith('image/svg+xml')) {+ vectorImage = await processSvg(mainSignal, mainJobState.file);+ decoded = drawableToImageData(vectorImage);+ } else {+ decoded = await decodeImage(+ mainSignal,+ mainJobState.file,+ // Either worker is good enough here.+ this.workerBridges[0],+ );+ }++ // Set default resize values+ this.setState((currentState) => {+ if (mainSignal.aborted) return {};+ const sides = currentState.sides.map((side) => {+ const resizeState: Partial<ProcessorState['resize']> = {+ width: decoded.width,+ height: decoded.height,+ // Disable resizing, to make it clearer to the user that something changed here+ enabled: false,+ };+ return cleanMerge(+ side,+ 'latestSettings.processorState.resize',+ resizeState,+ );+ }) as [Side, Side];+ return { sides };+ });+ } catch (err) {+ if (err.name === 'AbortError') return;+ this.props.showSnack(`Source decoding error: ${err}`);+ throw err;+ }+ } else {+ ({ decoded, vectorImage } = currentState.source!);+ }++ let source: SourceImage;++ // Handle preprocessing+ if (needsPreprocessing) {+ try {+ assertSignal(mainSignal);+ this.setState({+ loading: true,+ });++ const preprocessed = await preprocessImage(+ mainSignal,+ decoded,+ mainJobState.preprocessorState,+ // Either worker is good enough here.+ this.workerBridges[0],+ );++ source = {+ decoded,+ vectorImage,+ preprocessed,+ file: mainJobState.file,+ };++ // Update state for process completion, including intermediate render+ this.setState((currentState) => {+ if (mainSignal.aborted) return {};+ let newState: State = {+ ...currentState,+ loading: false,+ source,+ encodedPreprocessorState: mainJobState.preprocessorState,+ sides: currentState.sides.map((side) => {+ if (side.downloadUrl) URL.revokeObjectURL(side.downloadUrl);++ const newSide: Side = {+ ...side,+ // Intermediate render+ data: preprocessed,+ processed: undefined,+ encodedSettings: undefined,+ };+ return newSide;+ }) as [Side, Side],+ };+ newState = stateForNewSourceData(newState);+ updateDocumentTitle(source.file.name);+ return newState;+ });+ } catch (err) {+ if (err.name === 'AbortError') return;+ this.props.showSnack(`Preprocessing error: ${err}`);+ throw err;+ }+ } else {+ source = currentState.source!;+ }++ // That's the main part of the job done.+ this.activeMainJob = undefined;++ // Allow side jobs to happen in parallel+ sideWorksNeeded.forEach(async (sideWorkNeeded, sideIndex) => {+ try {+ // If processing is true, encoding is always true.+ if (!sideWorkNeeded.encoding) return;++ const signal = sideSignals[sideIndex];+ const jobState = sideJobStates[sideIndex];+ const workerBridge = this.workerBridges[sideIndex];+ let file: File;+ let data: ImageData;+ let processed: ImageData | undefined = undefined;++ // If there's no encoder state, this is "original image", which also+ // doesn't allow processing.+ if (!jobState.encoderState) {+ file = source.file;+ data = source.preprocessed;+ } else {+ const cacheResult = this.encodeCache.match(+ source.preprocessed,+ jobState.processorState,+ jobState.encoderState,+ );++ if (cacheResult) {+ ({ file, processed, data } = cacheResult);+ } else {+ // Set loading state for this side+ this.setState((currentState) => {+ if (signal.aborted) return {};+ const sides = cleanMerge(currentState.sides, sideIndex, {+ loading: true,+ });+ return { sides };+ });++ if (sideWorkNeeded.processing) {+ processed = await processImage(+ signal,+ source,+ jobState.processorState,+ workerBridge,+ );++ // Update state for process completion, including intermediate render+ this.setState((currentState) => {+ if (signal.aborted) return {};+ const currentSide = currentState.sides[sideIndex];+ const side: Side = {+ ...currentSide,+ processed,+ // Intermediate render+ data: processed,+ encodedSettings: {+ ...currentSide.encodedSettings,+ processorState: jobState.processorState,+ },+ };+ const sides = cleanSet(currentState.sides, sideIndex, side);+ return { sides };+ });+ } else {+ processed = currentState.sides[sideIndex].processed!;+ }++ file = await compressImage(+ signal,+ processed,+ jobState.encoderState,+ source.file.name,+ workerBridge,+ );+ data = await decodeImage(signal, file, workerBridge);++ this.encodeCache.add({+ data,+ processed,+ file,+ preprocessed: source.preprocessed,+ encoderState: jobState.encoderState,+ processorState: jobState.processorState,+ });+ }+ }++ this.setState((currentState) => {+ if (signal.aborted) return {};+ const currentSide = currentState.sides[sideIndex];++ if (currentSide.downloadUrl) {+ URL.revokeObjectURL(currentSide.downloadUrl);+ }++ const side: Side = {+ ...currentSide,+ data,+ file,+ downloadUrl: URL.createObjectURL(file),+ loading: false,+ processed,+ encodedSettings: {+ processorState: jobState.processorState,+ encoderState: jobState.encoderState,+ },+ };+ const sides = cleanSet(currentState.sides, sideIndex, side);+ return { sides };+ });++ this.activeSideJobs[sideIndex] = undefined;+ } catch (err) {+ if (err.name === 'AbortError') return;+ this.props.showSnack(`Processing error: ${err}`);+ throw err;+ }+ });+ }++ render(+ { onBack }: Props,+ { loading, sides, source, mobileView, preprocessorState }: State,+ ) {+ const [leftSide, rightSide] = sides;+ const [leftImageData, rightImageData] = sides.map((i) => i.data);++ const options = sides.map((side, index) => (+ <Options+ source={source}+ mobileView={mobileView}+ processorState={side.latestSettings.processorState}+ encoderState={side.latestSettings.encoderState}+ onEncoderTypeChange={this.onEncoderTypeChange.bind(+ this,+ index as 0 | 1,+ )}+ onEncoderOptionsChange={this.onEncoderOptionsChange.bind(+ this,+ index as 0 | 1,+ )}+ onProcessorOptionsChange={this.onProcessorOptionsChange.bind(+ this,+ index as 0 | 1,+ )}+ />+ ));++ const copyDirections = (mobileView+ ? ['down', 'up']+ : ['right', 'left']) as CopyAcrossIconProps['copyDirection'][];++ const results = sides.map((side, index) => (+ <Results+ downloadUrl={side.downloadUrl}+ imageFile={side.file}+ source={source}+ loading={loading || side.loading}+ copyDirection={copyDirections[index]}+ onCopyToOtherClick={this.onCopyToOtherClick.bind(this, index as 0 | 1)}+ buttonPosition={mobileView ? 'stack-right' : buttonPositions[index]}+ >+ {!mobileView+ ? null+ : [+ <ExpandIcon class={style.expandIcon} key="expand-icon" />,+ `${resultTitles[index]} (${+ side.latestSettings.encoderState+ ? encoderMap[side.latestSettings.encoderState.type].meta.label+ : 'Original Image'+ })`,+ ]}+ </Results>+ ));++ // For rendering, we ideally want the settings that were used to create the+ // data, not the latest settings.+ const leftDisplaySettings =+ leftSide.encodedSettings || leftSide.latestSettings;+ const rightDisplaySettings =+ rightSide.encodedSettings || rightSide.latestSettings;+ const leftImgContain =+ leftDisplaySettings.processorState.resize.enabled &&+ leftDisplaySettings.processorState.resize.fitMethod === 'contain';+ const rightImgContain =+ rightDisplaySettings.processorState.resize.enabled &&+ rightDisplaySettings.processorState.resize.fitMethod === 'contain';++ return (+ <div class={style.compress}>+ <Output+ source={source}+ mobileView={mobileView}+ leftCompressed={leftImageData}+ rightCompressed={rightImageData}+ leftImgContain={leftImgContain}+ rightImgContain={rightImgContain}+ onBack={onBack}+ preprocessorState={preprocessorState}+ onPreprocessorChange={this.onPreprocessorChange}+ />+ {mobileView ? (+ <div class={style.options}>+ <multi-panel class={style.multiPanel} open-one-only>+ {results[0]}+ {options[0]}+ {results[1]}+ {options[1]}+ </multi-panel>+ </div>+ ) : (+ [+ <div class={style.options} key="options0">+ {options[0]}+ {results[0]}+ </div>,+ <div class={style.options} key="options1">+ {options[1]}+ {results[1]}+ </div>,+ ]+ )}+ </div>+ );+ }+}diff --git a/src/components/compress/result-cache.ts b/src/client/lazy-app/Compress/result-cache.tssimilarity index 58%rename from src/components/compress/result-cache.tsrename to src/client/lazy-app/Compress/result-cache.tsindex aa966e61..e1265a33 100644--- a/src/components/compress/result-cache.ts+++ b/src/client/lazy-app/Compress/result-cache.ts@@ -1,20 +1,16 @@-import { EncoderState } from '../../codecs/encoders';-import { Fileish } from '../../lib/initial-util';-import { shallowEqual } from '../../lib/util';-import { PreprocessorState } from '../../codecs/preprocessors';--import * as identity from '../../codecs/identity/encoder-meta';+import { EncoderState, ProcessorState } from '../feature-meta';+import { shallowEqual } from '../util';interface CacheResult {- preprocessed: ImageData;+ processed: ImageData;data: ImageData;- file: Fileish;+ file: File;}interface CacheEntry extends CacheResult {- preprocessorState: PreprocessorState;+ processorState: ProcessorState;encoderState: EncoderState;- sourceData: ImageData;+ preprocessed: ImageData;}const SIZE = 5;@@ -23,7 +19,6 @@ export default class ResultCache {private readonly _entries: CacheEntry[] = [];add(entry: CacheEntry) {- if (entry.encoderState.type === identity.type) throw Error('Cannot cache identity encodes');// Add the new entry to the startthis._entries.unshift(entry);// Remove the last entry if we're now bigger than SIZE@@ -31,27 +26,31 @@ export default class ResultCache {}match(- sourceData: ImageData,- preprocessorState: PreprocessorState,+ preprocessed: ImageData,+ processorState: ProcessorState,encoderState: EncoderState,): CacheResult | undefined {const matchingIndex = this._entries.findIndex((entry) => {// Check for quick exits:- if (entry.sourceData !== sourceData) return false;+ if (entry.preprocessed !== preprocessed) return false;if (entry.encoderState.type !== encoderState.type) return false;// Check that each set of options in the preprocessor are the same- for (const prop in preprocessorState) {+ for (const prop in processorState) {if (!shallowEqual(- (preprocessorState as any)[prop],- (entry.preprocessorState as any)[prop],+ (processorState as any)[prop],+ (entry.processorState as any)[prop],)- ) return false;+ ) {+ return false;+ }}// Check detailed encoder options- if (!shallowEqual(encoderState.options, entry.encoderState.options)) return false;+ if (!shallowEqual(encoderState.options, entry.encoderState.options)) {+ return false;+ }return true;});@@ -66,10 +65,6 @@ export default class ResultCache {this._entries.unshift(matchingEntry);}- return {- data: matchingEntry.data,- preprocessed: matchingEntry.preprocessed,- file: matchingEntry.file,- };+ return { ...matchingEntry };}}diff --git a/src/components/compress/style.scss b/src/client/lazy-app/Compress/style.csssimilarity index 94%rename from src/components/compress/style.scssrename to src/client/lazy-app/Compress/style.cssindex 3afe8eda..545a91eb 100644--- a/src/components/compress/style.scss+++ b/src/client/lazy-app/Compress/style.css@@ -42,7 +42,7 @@flex-flow: column;overflow: hidden;- // Reorder so headings appear after content:+ /* Reorder so headings appear after content: */& > :nth-child(1) {order: 2;margin-bottom: 10px;@@ -71,5 +71,5 @@}:focus .expand-icon {- fill: #34B9EB;+ fill: #34b9eb;}diff --git a/src/client/lazy-app/feature-meta/.gitignore b/src/client/lazy-app/feature-meta/.gitignorenew file mode 100644index 00000000..e69de29bdiff --git a/src/lib/icons.tsx b/src/client/lazy-app/icons/index.tsxsimilarity index 50%rename from src/lib/icons.tsxrename to src/client/lazy-app/icons/index.tsxindex 94b9836b..7b1f19fb 100644--- a/src/lib/icons.tsx+++ b/src/client/lazy-app/icons/index.tsx@@ -1,76 +1,86 @@import { h } from 'preact';-// tslint:disable:max-line-length variable-name--const Icon = (props: JSX.HTMLAttributes) => (- <svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" {...props} />+const Icon = (props: preact.JSX.HTMLAttributes) => (+ // @ts-ignore - TS bug https://github.com/microsoft/TypeScript/issues/16019+ <svg+ width="24"+ height="24"+ viewBox="0 0 24 24"+ fill="currentColor"+ {...props}+ />);-export const DownloadIcon = (props: JSX.HTMLAttributes) => (+export const DownloadIcon = (props: preact.JSX.HTMLAttributes) => (<Icon {...props}>- <path d="M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-7h-2zm-6 .7l2.6-2.6 1.4 1.4-5 5-5-5 1.4-1.4 2.6 2.6V3h2z"/>+ <path d="M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-7h-2zm-6 .7l2.6-2.6 1.4 1.4-5 5-5-5 1.4-1.4 2.6 2.6V3h2z" /></Icon>);-export const ToggleBackgroundIcon = (props: JSX.HTMLAttributes) => (+export const ToggleBackgroundIcon = (props: preact.JSX.HTMLAttributes) => (<Icon {...props}>- <path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3c0 1.1.9 2 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z"/>+ <path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3c0 1.1.9 2 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z" /></Icon>);-export const ToggleBackgroundActiveIcon = (props: JSX.HTMLAttributes) => (+export const ToggleBackgroundActiveIcon = (+ props: preact.JSX.HTMLAttributes,+) => (<Icon {...props}>- <path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8a2 2 0 0 0-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2a2 2 0 0 0-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.9 2 2 2zm10-4h2v-2h-2v2zm0-4h2V7h-2v2zm0 8a2 2 0 0 0 2-2h-2v2zM5 7H3v12c0 1.1.9 2 2 2h12v-2H5V7zm10-2h2V3h-2v2zm0 12h2v-2h-2v2z"/>+ <path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8a2 2 0 0 0-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2a2 2 0 0 0-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.9 2 2 2zm10-4h2v-2h-2v2zm0-4h2V7h-2v2zm0 8a2 2 0 0 0 2-2h-2v2zM5 7H3v12c0 1.1.9 2 2 2h12v-2H5V7zm10-2h2V3h-2v2zm0 12h2v-2h-2v2z" /></Icon>);-export const RotateIcon = (props: JSX.HTMLAttributes) => (+export const RotateIcon = (props: preact.JSX.HTMLAttributes) => (<Icon {...props}>- <path d="M15.6 5.5L11 1v3a8 8 0 0 0 0 16v-2a6 6 0 0 1 0-12v4l4.5-4.5zm4.3 5.5a8 8 0 0 0-1.6-3.9L17 8.5c.5.8.9 1.6 1 2.5h2zM13 17.9v2a8 8 0 0 0 3.9-1.6L15.5 17c-.8.5-1.6.9-2.5 1zm3.9-2.4l1.4 1.4A8 8 0 0 0 20 13h-2c-.1.9-.5 1.7-1 2.5z"/>+ <path d="M15.6 5.5L11 1v3a8 8 0 0 0 0 16v-2a6 6 0 0 1 0-12v4l4.5-4.5zm4.3 5.5a8 8 0 0 0-1.6-3.9L17 8.5c.5.8.9 1.6 1 2.5h2zM13 17.9v2a8 8 0 0 0 3.9-1.6L15.5 17c-.8.5-1.6.9-2.5 1zm3.9-2.4l1.4 1.4A8 8 0 0 0 20 13h-2c-.1.9-.5 1.7-1 2.5z" /></Icon>);-export const AddIcon = (props: JSX.HTMLAttributes) => (+export const AddIcon = (props: preact.JSX.HTMLAttributes) => (<Icon {...props}>- <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>+ <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" /></Icon>);-export const RemoveIcon = (props: JSX.HTMLAttributes) => (+export const RemoveIcon = (props: preact.JSX.HTMLAttributes) => (<Icon {...props}>- <path d="M19 13H5v-2h14v2z"/>+ <path d="M19 13H5v-2h14v2z" /></Icon>);-export const UncheckedIcon = (props: JSX.HTMLAttributes) => (+export const UncheckedIcon = (props: preact.JSX.HTMLAttributes) => (<Icon {...props}>- <path d="M21.3 2.7v18.6H2.7V2.7h18.6m0-2.7H2.7A2.7 2.7 0 0 0 0 2.7v18.6A2.7 2.7 0 0 0 2.7 24h18.6a2.7 2.7 0 0 0 2.7-2.7V2.7A2.7 2.7 0 0 0 21.3 0z"/>+ <path d="M21.3 2.7v18.6H2.7V2.7h18.6m0-2.7H2.7A2.7 2.7 0 0 0 0 2.7v18.6A2.7 2.7 0 0 0 2.7 24h18.6a2.7 2.7 0 0 0 2.7-2.7V2.7A2.7 2.7 0 0 0 21.3 0z" /></Icon>);-export const CheckedIcon = (props: JSX.HTMLAttributes) => (+export const CheckedIcon = (props: preact.JSX.HTMLAttributes) => (<Icon {...props}>- <path d="M21.3 0H2.7A2.7 2.7 0 0 0 0 2.7v18.6A2.7 2.7 0 0 0 2.7 24h18.6a2.7 2.7 0 0 0 2.7-2.7V2.7A2.7 2.7 0 0 0 21.3 0zm-12 18.7L2.7 12l1.8-1.9L9.3 15 19.5 4.8l1.8 1.9z"/>+ <path d="M21.3 0H2.7A2.7 2.7 0 0 0 0 2.7v18.6A2.7 2.7 0 0 0 2.7 24h18.6a2.7 2.7 0 0 0 2.7-2.7V2.7A2.7 2.7 0 0 0 21.3 0zm-12 18.7L2.7 12l1.8-1.9L9.3 15 19.5 4.8l1.8 1.9z" /></Icon>);-export const ExpandIcon = (props: JSX.HTMLAttributes) => (+export const ExpandIcon = (props: preact.JSX.HTMLAttributes) => (<Icon {...props}>- <path d="M16.6 8.6L12 13.2 7.4 8.6 6 10l6 6 6-6z"/>+ <path d="M16.6 8.6L12 13.2 7.4 8.6 6 10l6 6 6-6z" /></Icon>);-export const BackIcon = (props: JSX.HTMLAttributes) => (+export const BackIcon = (props: preact.JSX.HTMLAttributes) => (<Icon {...props}>- <path d="M20 11H7.8l5.6-5.6L12 4l-8 8 8 8 1.4-1.4L7.8 13H20v-2z"/>+ <path d="M20 11H7.8l5.6-5.6L12 4l-8 8 8 8 1.4-1.4L7.8 13H20v-2z" /></Icon>);const copyAcrossRotations = {- up: 90, right: 180, down: -90, left: 0,+ up: 90,+ right: 180,+ down: -90,+ left: 0,};-export interface CopyAcrossIconProps extends JSX.HTMLAttributes {+export interface CopyAcrossIconProps extends preact.JSX.HTMLAttributes {copyDirection: keyof typeof copyAcrossRotations;}@@ -83,10 +93,16 @@ export const CopyAcrossIcon = (props: CopyAcrossIconProps) => {<Icon {...otherProps}><defs><clipPath id={id}>- <path d="M-12-12v24h24v-24zM4.5 2h-4v3l-5-5 5-5v3h4z" transform={`translate(12 13) rotate(${rotation})`}/>+ <path+ d="M-12-12v24h24v-24zM4.5 2h-4v3l-5-5 5-5v3h4z"+ transform={`translate(12 13) rotate(${rotation})`}+ /></clipPath></defs>- <path clip-path={`url(#${id})`} d="M19 3h-4.2c-.4-1.2-1.5-2-2.8-2s-2.4.8-2.8 2H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-7 0a1 1 0 0 1 0 2c-.6 0-1-.4-1-1s.4-1 1-1z"/>+ <path+ clip-path={`url(#${id})`}+ d="M19 3h-4.2c-.4-1.2-1.5-2-2.8-2s-2.4.8-2.8 2H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-7 0a1 1 0 0 1 0 2c-.6 0-1-.4-1-1s.4-1 1-1z"+ /></Icon>);};diff --git a/src/lib/sw-bridge.ts b/src/client/lazy-app/sw-bridge/index.tssimilarity index 88%rename from src/lib/sw-bridge.tsrename to src/client/lazy-app/sw-bridge/index.tsindex 9fba54b7..13322685 100644--- a/src/lib/sw-bridge.ts+++ b/src/client/lazy-app/sw-bridge/index.ts@@ -1,7 +1,8 @@+import type SnackBarElement from 'shared/initial-app/custom-els/snack-bar';+import { get, set } from 'idb-keyval';-// Just for TypeScript-import SnackBarElement from './SnackBar';+import swUrl from 'service-worker:sw';/** Tell the service worker to skip waiting */async function skipWaiting() {@@ -18,14 +19,14 @@ async function getMostActiveServiceWorker() {}/** Wait for an installing worker */-async function installingWorker(reg: ServiceWorkerRegistration): Promise<ServiceWorker> {+async function installingWorker(+ reg: ServiceWorkerRegistration,+): Promise<ServiceWorker> {if (reg.installing) return reg.installing;return new Promise<ServiceWorker>((resolve) => {- reg.addEventListener(- 'updatefound',- () => resolve(reg.installing!),- { once: true },- );+ reg.addEventListener('updatefound', () => resolve(reg.installing!), {+ once: true,+ });});}@@ -59,12 +60,7 @@ export function getSharedImage(): Promise<File> {/** Set up the service worker and monitor changes */export async function offliner(showSnack: SnackBarElement['showSnackbar']) {- // This needs to be a typeof because Webpack.- if (typeof PRERENDER === 'boolean') return;-- if (process.env.NODE_ENV === 'production') {- navigator.serviceWorker.register('../sw');- }+ if (__PRODUCTION__) navigator.serviceWorker.register(swUrl);const hasController = !!navigator.serviceWorker.controller;diff --git a/src/lib/clean-modify.ts b/src/client/lazy-app/util/clean-modify.tssimilarity index 94%rename from src/lib/clean-modify.tsrename to src/client/lazy-app/util/clean-modify.tsindex ed750ed6..aefb0370 100644--- a/src/lib/clean-modify.ts+++ b/src/client/lazy-app/util/clean-modify.ts@@ -20,9 +20,9 @@ function cleanSetOrMerge<A extends any[] | object>(last = last[key] = copy(last[key]);} else {// Merge or set.- last[key] = merge ?- Object.assign(copy(last[key]), toSetOrMerge) :- toSetOrMerge;+ last[key] = merge+ ? Object.assign(copy(last[key]), toSetOrMerge)+ : toSetOrMerge;}}diff --git a/src/lib/util.ts b/src/client/lazy-app/util/index.tssimilarity index 75%rename from src/lib/util.tsrename to src/client/lazy-app/util/index.tsindex 23fc0a5b..a9634348 100644--- a/src/lib/util.ts+++ b/src/client/lazy-app/util/index.ts@@ -1,5 +1,18 @@-/** Compare two objects, returning a boolean indicating if- * they have the same properties and strictly equal values.+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/**+ * Compare two objects, returning a boolean indicating if+ * they have the same properties and strictly equal values.*/export function shallowEqual(one: any, two: any) {for (const i in one) if (one[i] !== two[i]) return false;@@ -22,7 +35,11 @@ export function drawDataToCanvas(canvas: HTMLCanvasElement, data: ImageData) {* @param {string} type A mime type, eg image/jpeg.* @param {number} [quality] Between 0-1.*/-export async function canvasEncode(data: ImageData, type: string, quality?: number): Promise<Blob> {+export async function canvasEncode(+ data: ImageData,+ type: string,+ quality?: number,+): Promise<Blob> {const canvas = document.createElement('canvas');canvas.width = data.width;canvas.height = data.height;@@ -33,7 +50,9 @@ export async function canvasEncode(data: ImageData, type: string, quality?: numblet blob: Blob | null;if ('toBlob' in canvas) {- blob = await new Promise<Blob | null>(r => canvas.toBlob(r, type, quality));+ blob = await new Promise<Blob | null>((r) =>+ canvas.toBlob(r, type, quality),+ );} else {// Welcome to Edge.// TypeScript thinks `canvas` is 'never', so it needs casting.@@ -129,15 +148,16 @@ const magicNumberToMimeType = new Map<RegExp, string>([[/^II*/, 'image/tiff'],[/^MM\x00*/, 'image/tiff'],[/^RIFF....WEBPVP8[LX ]/, 'image/webp'],+ [/^\xF4\xFF\x6F/, 'image/webp2'],[/^\x00\x00\x00 ftypavif\x00\x00\x00\x00/, 'image/avif'],+ [/^\xff\x0a/, 'image/jpegxl'],]);export async function sniffMimeType(blob: Blob): Promise<string> {const firstChunk = await blobToArrayBuffer(blob.slice(0, 16));- const firstChunkString =- Array.from(new Uint8Array(firstChunk))- .map(v => String.fromCodePoint(v))- .join('');+ const firstChunkString = Array.from(new Uint8Array(firstChunk))+ .map((v) => String.fromCodePoint(v))+ .join('');for (const [detector, mimeType] of magicNumberToMimeType) {if (detector.test(firstChunkString)) {return mimeType;@@ -191,8 +211,10 @@ export function drawableToImageData(export async function builtinDecode(blob: Blob): Promise<ImageData> {// Prefer createImageBitmap as it's the off-thread option for Firefox.- const drawable = 'createImageBitmap' in self ?- await createImageBitmap(blob) : await blobToImg(blob);+ const drawable =+ 'createImageBitmap' in self+ ? await createImageBitmap(blob)+ : await blobToImg(blob);return drawableToImageData(drawable);}@@ -201,8 +223,12 @@ export type BuiltinResizeMethod = 'pixelated' | 'low' | 'medium' | 'high';export function builtinResize(data: ImageData,- sx: number, sy: number, sw: number, sh: number,- dw: number, dh: number,+ sx: number,+ sy: number,+ sw: number,+ sh: number,+ dw: number,+ dh: number,method: BuiltinResizeMethod,): ImageData {const canvasSource = document.createElement('canvas');@@ -230,7 +256,10 @@ export function builtinResize(* @param field An HTMLInputElement, but the casting is done here to tidy up onChange.* @param defaultVal Value to return if 'field' doesn't exist.*/-export function inputFieldValueAsNumber(field: any, defaultVal: number = 0): number {+export function inputFieldValueAsNumber(+ field: any,+ defaultVal: number = 0,+): number {if (!field) return defaultVal;return Number(inputFieldValue(field));}@@ -239,7 +268,10 @@ export function inputFieldValueAsNumber(field: any, defaultVal: number = 0): num* @param field An HTMLInputElement, but the casting is done here to tidy up onChange.* @param defaultVal Value to return if 'field' doesn't exist.*/-export function inputFieldCheckedAsNumber(field: any, defaultVal: number = 0): number {+export function inputFieldCheckedAsNumber(+ field: any,+ defaultVal: number = 0,+): number {if (!field) return defaultVal;return Number(inputFieldChecked(field));}@@ -248,7 +280,10 @@ export function inputFieldCheckedAsNumber(field: any, defaultVal: number = 0): n* @param field An HTMLInputElement, but the casting is done here to tidy up onChange.* @param defaultVal Value to return if 'field' doesn't exist.*/-export function inputFieldChecked(field: any, defaultVal: boolean = false): boolean {+export function inputFieldChecked(+ field: any,+ defaultVal: boolean = false,+): boolean {if (!field) return defaultVal;return (field as HTMLInputElement).checked;}@@ -291,7 +326,10 @@ interface TransitionOptions {easing?: string;}-export async function transitionHeight(el: HTMLElement, opts: TransitionOptions): Promise<void> {+export async function transitionHeight(+ el: HTMLElement,+ opts: TransitionOptions,+): Promise<void> {const {from = el.getBoundingClientRect().height,to = el.getBoundingClientRect().height,@@ -330,3 +368,44 @@ export async function transitionHeight(el: HTMLElement, opts: TransitionOptions)export function preventDefault(event: Event) {event.preventDefault();}++/**+ * Throw an abort error if a signal is aborted.+ */+export function assertSignal(signal: AbortSignal) {+ if (signal.aborted) throw new DOMException('AbortError', 'AbortError');+}++/**+ * Take a signal and promise, and returns a promise that rejects with an AbortError if the abort is+ * signalled, otherwise resolves with the promise.+ */+export async function abortable<T>(+ signal: AbortSignal,+ promise: Promise<T>,+): Promise<T> {+ assertSignal(signal);+ return Promise.race([+ promise,+ new Promise<T>((_, reject) => {+ signal.addEventListener('abort', () =>+ reject(new DOMException('AbortError', 'AbortError')),+ );+ }),+ ]);+}++/**+ * Test whether <canvas> can encode to a particular type.+ */+export async function canvasEncodeTest(mimeType: string): Promise<boolean> {+ try {+ const blob = await canvasEncode(new ImageData(1, 1), mimeType);+ // According to the spec, the blob should be null if the format isn't supported…+ if (!blob) return false;+ // …but Safari & Firefox fall back to PNG, so we need to check the mime type.+ return blob.type === mimeType;+ } catch (err) {+ return false;+ }+}diff --git a/src/client/lazy-app/worker-bridge/index.ts b/src/client/lazy-app/worker-bridge/index.tsnew file mode 100644index 00000000..1babcef8--- /dev/null+++ b/src/client/lazy-app/worker-bridge/index.ts@@ -0,0 +1,71 @@+import { wrap } from 'comlink';+import { BridgeMethods, methodNames } from './meta';+import workerURL from 'omt:../../../features-worker';+import type { ProcessorWorkerApi } from '../../../features-worker';+import { abortable } from '../util';++/** How long the worker should be idle before terminating. */+const workerTimeout = 10_000;++interface WorkerBridge extends BridgeMethods {}++class WorkerBridge {+ protected _queue = Promise.resolve() as Promise<unknown>;+ /** Worker instance associated with this processor. */+ protected _worker?: Worker;+ /** Comlinked worker API. */+ protected _workerApi?: ProcessorWorkerApi;+ /** ID from setTimeout */+ protected _workerTimeout?: number;++ protected _terminateWorker() {+ if (!this._worker) return;+ this._worker.terminate();+ this._worker = undefined;+ this._workerApi = undefined;+ }++ protected _startWorker() {+ this._worker = new Worker(workerURL);+ this._workerApi = wrap<ProcessorWorkerApi>(this._worker);+ }+}++for (const methodName of methodNames) {+ WorkerBridge.prototype[methodName] = function (+ this: WorkerBridge,+ signal: AbortSignal,+ ...args: any+ ) {+ this._queue = this._queue+ // Ignore any errors in the queue+ .catch(() => {})+ .then(async () => {+ if (signal.aborted) throw new DOMException('AbortError', 'AbortError');++ clearTimeout(this._workerTimeout);+ if (!this._worker) this._startWorker();++ const onAbort = () => this._terminateWorker();+ signal.addEventListener('abort', onAbort);++ return abortable(+ signal,+ // @ts-ignore - TypeScript can't figure this out+ this._workerApi,+ ).finally(() => {+ // No longer care about aborting - this task is complete.+ signal.removeEventListener('abort', onAbort);++ // Start a timer to clear up the worker.+ this._workerTimeout = setTimeout(() => {+ this._terminateWorker();+ }, workerTimeout);+ });+ });++ return this._queue;+ } as any;+}++export default WorkerBridge;diff --git a/src/client/missing-types.d.ts b/src/client/missing-types.d.tsnew file mode 100644index 00000000..a176b0a8--- /dev/null+++ b/src/client/missing-types.d.ts@@ -0,0 +1,47 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../missing-types.d.ts" />+/// <reference path="../shared/initial-app/Intro/missing-types.d.ts" />++interface Navigator {+ readonly standalone: boolean;+}++declare module 'add-css:*' {}++declare module 'service-worker:*' {+ const url: string;+ export default url;+}++declare module 'preact/debug' {}++interface ResizeObserverCallback {+ (entries: ResizeObserverEntry[], observer: ResizeObserver): void;+}++interface ResizeObserverEntry {+ readonly target: Element;+ readonly contentRect: DOMRectReadOnly;+}++interface ResizeObserver {+ observe(target: Element): void;+ unobserve(target: Element): void;+ disconnect(): void;+}++declare var ResizeObserver: {+ prototype: ResizeObserver;+ new (callback: ResizeObserverCallback): ResizeObserver;+};diff --git a/src/codecs/avif/decoder-meta.ts b/src/codecs/avif/decoder-meta.tsdeleted file mode 100644index 55987d27..00000000--- a/src/codecs/avif/decoder-meta.ts+++ /dev/null@@ -1,7 +0,0 @@-export const name = 'WASM AVIF Decoder';--const supportedMimeTypes = ['image/avif'];--export function canHandleMimeType(mimeType: string): boolean {- return supportedMimeTypes.includes(mimeType);-}diff --git a/src/codecs/avif/decoder.ts b/src/codecs/avif/decoder.tsdeleted file mode 100644index 0dc55b37..00000000--- a/src/codecs/avif/decoder.ts+++ /dev/null@@ -1,16 +0,0 @@-import avif_dec, { AVIFModule } from '../../../codecs/avif/dec/avif_dec';-import wasmUrl from '../../../codecs/avif/dec/avif_dec.wasm';-import { initEmscriptenModule } from '../util';--let emscriptenModule: Promise<AVIFModule>;--export async function decode(data: ArrayBuffer): Promise<ImageData> {- if (!emscriptenModule) emscriptenModule = initEmscriptenModule(avif_dec, wasmUrl);-- const module = await emscriptenModule;- const result = module.decode(data);- if (!result) {- throw new Error('Decoding error');- }- return result;-}diff --git a/src/codecs/avif/encoder-meta.ts b/src/codecs/avif/encoder-meta.tsdeleted file mode 100644index c051064e..00000000--- a/src/codecs/avif/encoder-meta.ts+++ /dev/null@@ -1,27 +0,0 @@-export interface EncodeOptions {- minQuantizer: number;- maxQuantizer: number;- minQuantizerAlpha: number;- maxQuantizerAlpha: number;- tileRowsLog2: number;- tileColsLog2: number;- speed: number;- subsample: number;-}--export const type = 'avif';-export const label = 'AVIF';-export const mimeType = 'image/avif';-export const extension = 'avif';-export const defaultOptions: EncodeOptions = {- minQuantizer: 33,- maxQuantizer: 63,- minQuantizerAlpha: 33,- maxQuantizerAlpha: 63,- tileColsLog2: 0,- tileRowsLog2: 0,- speed: 8,- subsample: 1,-};--export interface EncoderState { type: typeof type; options: EncodeOptions; }diff --git a/src/codecs/avif/encoder.ts b/src/codecs/avif/encoder.tsdeleted file mode 100644index 50b33ab1..00000000--- a/src/codecs/avif/encoder.ts+++ /dev/null@@ -1,20 +0,0 @@-import avif_enc, { AVIFModule } from '../../../codecs/avif/enc/avif_enc';-import wasmUrl from '../../../codecs/avif/enc/avif_enc.wasm';-import { EncodeOptions } from './encoder-meta';-import { initEmscriptenModule } from '../util';--let emscriptenModule: Promise<AVIFModule>;--export async function encode(data: ImageData, options: EncodeOptions): Promise<ArrayBuffer> {- if (!emscriptenModule) emscriptenModule = initEmscriptenModule(avif_enc, wasmUrl);-- const module = await emscriptenModule;- const result = module.encode(data.data, data.width, data.height, options);-- if (!result) {- throw new Error('Encoding error');- }-- // wasm can’t run on SharedArrayBuffers, so we hard-cast to ArrayBuffer.- return result.buffer as ArrayBuffer;-}diff --git a/src/codecs/browser-bmp/encoder-meta.ts b/src/codecs/browser-bmp/encoder-meta.tsdeleted file mode 100644index 7a24e5ba..00000000--- a/src/codecs/browser-bmp/encoder-meta.ts+++ /dev/null@@ -1,11 +0,0 @@-import { canvasEncodeTest } from '../generic/util';--export interface EncodeOptions { }-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'browser-bmp';-export const label = 'Browser BMP';-export const mimeType = 'image/bmp';-export const extension = 'bmp';-export const defaultOptions: EncodeOptions = {};-export const featureTest = () => canvasEncodeTest(mimeType);diff --git a/src/codecs/browser-bmp/encoder.ts b/src/codecs/browser-bmp/encoder.tsdeleted file mode 100644index 7c879d97..00000000--- a/src/codecs/browser-bmp/encoder.ts+++ /dev/null@@ -1,6 +0,0 @@-import { mimeType } from './encoder-meta';-import { canvasEncode } from '../../lib/util';--export function encode(data: ImageData) {- return canvasEncode(data, mimeType);-}diff --git a/src/codecs/browser-gif/encoder-meta.ts b/src/codecs/browser-gif/encoder-meta.tsdeleted file mode 100644index dd373298..00000000--- a/src/codecs/browser-gif/encoder-meta.ts+++ /dev/null@@ -1,11 +0,0 @@-import { canvasEncodeTest } from '../generic/util';--export interface EncodeOptions {}-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'browser-gif';-export const label = 'Browser GIF';-export const mimeType = 'image/gif';-export const extension = 'gif';-export const defaultOptions: EncodeOptions = {};-export const featureTest = () => canvasEncodeTest(mimeType);diff --git a/src/codecs/browser-gif/encoder.ts b/src/codecs/browser-gif/encoder.tsdeleted file mode 100644index 7c879d97..00000000--- a/src/codecs/browser-gif/encoder.ts+++ /dev/null@@ -1,6 +0,0 @@-import { mimeType } from './encoder-meta';-import { canvasEncode } from '../../lib/util';--export function encode(data: ImageData) {- return canvasEncode(data, mimeType);-}diff --git a/src/codecs/browser-jp2/encoder-meta.ts b/src/codecs/browser-jp2/encoder-meta.tsdeleted file mode 100644index f6b56413..00000000--- a/src/codecs/browser-jp2/encoder-meta.ts+++ /dev/null@@ -1,11 +0,0 @@-import { canvasEncodeTest } from '../generic/util';--export interface EncodeOptions { }-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'browser-jp2';-export const label = 'Browser JPEG 2000';-export const mimeType = 'image/jp2';-export const extension = 'jp2';-export const defaultOptions: EncodeOptions = {};-export const featureTest = () => canvasEncodeTest(mimeType);diff --git a/src/codecs/browser-jp2/encoder.ts b/src/codecs/browser-jp2/encoder.tsdeleted file mode 100644index 7c879d97..00000000--- a/src/codecs/browser-jp2/encoder.ts+++ /dev/null@@ -1,6 +0,0 @@-import { mimeType } from './encoder-meta';-import { canvasEncode } from '../../lib/util';--export function encode(data: ImageData) {- return canvasEncode(data, mimeType);-}diff --git a/src/codecs/browser-jpeg/encoder-meta.ts b/src/codecs/browser-jpeg/encoder-meta.tsdeleted file mode 100644index ae47407a..00000000--- a/src/codecs/browser-jpeg/encoder-meta.ts+++ /dev/null@@ -1,8 +0,0 @@-export interface EncodeOptions { quality: number; }-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'browser-jpeg';-export const label = 'Browser JPEG';-export const mimeType = 'image/jpeg';-export const extension = 'jpg';-export const defaultOptions: EncodeOptions = { quality: 0.75 };diff --git a/src/codecs/browser-jpeg/encoder.ts b/src/codecs/browser-jpeg/encoder.tsdeleted file mode 100644index 9e40156f..00000000--- a/src/codecs/browser-jpeg/encoder.ts+++ /dev/null@@ -1,6 +0,0 @@-import { EncodeOptions, mimeType } from './encoder-meta';-import { canvasEncode } from '../../lib/util';--export function encode(data: ImageData, { quality }: EncodeOptions) {- return canvasEncode(data, mimeType, quality);-}diff --git a/src/codecs/browser-jpeg/options.ts b/src/codecs/browser-jpeg/options.tsdeleted file mode 100644index 61a7817c..00000000--- a/src/codecs/browser-jpeg/options.ts+++ /dev/null@@ -1,3 +0,0 @@-import qualityOption from '../generic/quality-option';--export default qualityOption({ min: 0, max: 1, step: 0.01 });diff --git a/src/codecs/browser-pdf/encoder-meta.ts b/src/codecs/browser-pdf/encoder-meta.tsdeleted file mode 100644index 6fa0f369..00000000--- a/src/codecs/browser-pdf/encoder-meta.ts+++ /dev/null@@ -1,11 +0,0 @@-import { canvasEncodeTest } from '../generic/util';--export interface EncodeOptions { }-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'browser-pdf';-export const label = 'Browser PDF';-export const mimeType = 'application/pdf';-export const extension = 'pdf';-export const defaultOptions: EncodeOptions = {};-export const featureTest = () => canvasEncodeTest(mimeType);diff --git a/src/codecs/browser-pdf/encoder.ts b/src/codecs/browser-pdf/encoder.tsdeleted file mode 100644index 7c879d97..00000000--- a/src/codecs/browser-pdf/encoder.ts+++ /dev/null@@ -1,6 +0,0 @@-import { mimeType } from './encoder-meta';-import { canvasEncode } from '../../lib/util';--export function encode(data: ImageData) {- return canvasEncode(data, mimeType);-}diff --git a/src/codecs/browser-png/encoder-meta.ts b/src/codecs/browser-png/encoder-meta.tsdeleted file mode 100644index a3c25aa2..00000000--- a/src/codecs/browser-png/encoder-meta.ts+++ /dev/null@@ -1,8 +0,0 @@-export interface EncodeOptions {}-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'browser-png';-export const label = 'Browser PNG';-export const mimeType = 'image/png';-export const extension = 'png';-export const defaultOptions: EncodeOptions = {};diff --git a/src/codecs/browser-png/encoder.tsx b/src/codecs/browser-png/encoder.tsxdeleted file mode 100644index 7c879d97..00000000--- a/src/codecs/browser-png/encoder.tsx+++ /dev/null@@ -1,6 +0,0 @@-import { mimeType } from './encoder-meta';-import { canvasEncode } from '../../lib/util';--export function encode(data: ImageData) {- return canvasEncode(data, mimeType);-}diff --git a/src/codecs/browser-tiff/encoder-meta.ts b/src/codecs/browser-tiff/encoder-meta.tsdeleted file mode 100644index f56f0827..00000000--- a/src/codecs/browser-tiff/encoder-meta.ts+++ /dev/null@@ -1,11 +0,0 @@-import { canvasEncodeTest } from '../generic/util';--export interface EncodeOptions { }-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'browser-tiff';-export const label = 'Browser TIFF';-export const mimeType = 'image/tiff';-export const extension = 'tiff';-export const defaultOptions: EncodeOptions = {};-export const featureTest = () => canvasEncodeTest(mimeType);diff --git a/src/codecs/browser-tiff/encoder.ts b/src/codecs/browser-tiff/encoder.tsdeleted file mode 100644index 7c879d97..00000000--- a/src/codecs/browser-tiff/encoder.ts+++ /dev/null@@ -1,6 +0,0 @@-import { mimeType } from './encoder-meta';-import { canvasEncode } from '../../lib/util';--export function encode(data: ImageData) {- return canvasEncode(data, mimeType);-}diff --git a/src/codecs/browser-webp/encoder-meta.ts b/src/codecs/browser-webp/encoder-meta.tsdeleted file mode 100644index 03971198..00000000--- a/src/codecs/browser-webp/encoder-meta.ts+++ /dev/null@@ -1,11 +0,0 @@-import { canvasEncodeTest } from '../generic/util';--export interface EncodeOptions { quality: number; }-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'browser-webp';-export const label = 'Browser WebP';-export const mimeType = 'image/webp';-export const extension = 'webp';-export const defaultOptions: EncodeOptions = { quality: 0.75 };-export const featureTest = () => canvasEncodeTest(mimeType);diff --git a/src/codecs/browser-webp/encoder.ts b/src/codecs/browser-webp/encoder.tsdeleted file mode 100644index 9e40156f..00000000--- a/src/codecs/browser-webp/encoder.ts+++ /dev/null@@ -1,6 +0,0 @@-import { EncodeOptions, mimeType } from './encoder-meta';-import { canvasEncode } from '../../lib/util';--export function encode(data: ImageData, { quality }: EncodeOptions) {- return canvasEncode(data, mimeType, quality);-}diff --git a/src/codecs/browser-webp/options.ts b/src/codecs/browser-webp/options.tsdeleted file mode 100644index 61a7817c..00000000--- a/src/codecs/browser-webp/options.ts+++ /dev/null@@ -1,3 +0,0 @@-import qualityOption from '../generic/quality-option';--export default qualityOption({ min: 0, max: 1, step: 0.01 });diff --git a/src/codecs/decoders.ts b/src/codecs/decoders.tsdeleted file mode 100644index b66be104..00000000--- a/src/codecs/decoders.ts+++ /dev/null@@ -1,18 +0,0 @@-import { builtinDecode, sniffMimeType, canDecodeImageType } from '../lib/util';-import Processor from './processor';--export async function decodeImage(blob: Blob, processor: Processor): Promise<ImageData> {- const mimeType = await sniffMimeType(blob);- const canDecode = await canDecodeImageType(mimeType);-- try {- if (!canDecode) {- if (mimeType === 'image/avif') return await processor.avifDecode(blob);- if (mimeType === 'image/webp') return await processor.webpDecode(blob);- // If it's not one of those types, fall through and try built-in decoding for a laugh.- }- return await builtinDecode(blob);- } catch (err) {- throw Error("Couldn't decode image");- }-}diff --git a/src/codecs/encoders.ts b/src/codecs/encoders.tsdeleted file mode 100644index 6997c555..00000000--- a/src/codecs/encoders.ts+++ /dev/null@@ -1,82 +0,0 @@-import * as identity from './identity/encoder-meta';-import * as oxiPNG from './oxipng/encoder-meta';-import * as mozJPEG from './mozjpeg/encoder-meta';-import * as webP from './webp/encoder-meta';-import * as avif from './avif/encoder-meta';-import * as browserPNG from './browser-png/encoder-meta';-import * as browserJPEG from './browser-jpeg/encoder-meta';-import * as browserWebP from './browser-webp/encoder-meta';-import * as browserGIF from './browser-gif/encoder-meta';-import * as browserTIFF from './browser-tiff/encoder-meta';-import * as browserJP2 from './browser-jp2/encoder-meta';-import * as browserBMP from './browser-bmp/encoder-meta';-import * as browserPDF from './browser-pdf/encoder-meta';--export interface EncoderSupportMap {- [key: string]: boolean;-}--export type EncoderState =- identity.EncoderState |- oxiPNG.EncoderState |- mozJPEG.EncoderState |- webP.EncoderState |- avif.EncoderState |- browserPNG.EncoderState |- browserJPEG.EncoderState |- browserWebP.EncoderState |- browserGIF.EncoderState |- browserTIFF.EncoderState |- browserJP2.EncoderState |- browserBMP.EncoderState |- browserPDF.EncoderState;--export type EncoderOptions =- identity.EncodeOptions |- oxiPNG.EncodeOptions |- mozJPEG.EncodeOptions |- webP.EncodeOptions |- avif.EncodeOptions |- browserPNG.EncodeOptions |- browserJPEG.EncodeOptions |- browserWebP.EncodeOptions |- browserGIF.EncodeOptions |- browserTIFF.EncodeOptions |- browserJP2.EncodeOptions |- browserBMP.EncodeOptions |- browserPDF.EncodeOptions;--export type EncoderType = keyof typeof encoderMap;--export const encoderMap = {- [identity.type]: identity,- [oxiPNG.type]: oxiPNG,- [mozJPEG.type]: mozJPEG,- [webP.type]: webP,- [avif.type]: avif,- [browserPNG.type]: browserPNG,- [browserJPEG.type]: browserJPEG,- [browserWebP.type]: browserWebP,- // Safari & Firefox only:- [browserBMP.type]: browserBMP,- // Safari only:- [browserGIF.type]: browserGIF,- [browserTIFF.type]: browserTIFF,- [browserJP2.type]: browserJP2,- [browserPDF.type]: browserPDF,-};--export const encoders = Array.from(Object.values(encoderMap));--/** Does this browser support a given encoder? Indexed by label */-export const encodersSupported = Promise.resolve().then(async () => {- const encodersSupported: EncoderSupportMap = {};-- await Promise.all(encoders.map(async (encoder) => {- // If the encoder provides a featureTest, call it, otherwise assume supported.- const isSupported = !('featureTest' in encoder) || await encoder.featureTest();- encodersSupported[encoder.type] = isSupported;- }));-- return encodersSupported;-});diff --git a/src/codecs/generic/util.ts b/src/codecs/generic/util.tsdeleted file mode 100644index 5b704693..00000000--- a/src/codecs/generic/util.ts+++ /dev/null@@ -1,13 +0,0 @@-import { canvasEncode } from '../../lib/util';--export async function canvasEncodeTest(mimeType: string) {- try {- const blob = await canvasEncode(new ImageData(1, 1), mimeType);- // According to the spec, the blob should be null if the format isn't supported…- if (!blob) return false;- // …but Safari & Firefox fall back to PNG, so we need to check the mime type.- return blob.type === mimeType;- } catch (err) {- return false;- }-}diff --git a/src/codecs/hqx/processor-meta.ts b/src/codecs/hqx/processor-meta.tsdeleted file mode 100644index 29417d71..00000000--- a/src/codecs/hqx/processor-meta.ts+++ /dev/null@@ -1,3 +0,0 @@-export interface HqxOptions {- factor: 2 | 3 | 4;-}diff --git a/src/codecs/hqx/processor.ts b/src/codecs/hqx/processor.tsdeleted file mode 100644index be67a917..00000000--- a/src/codecs/hqx/processor.ts+++ /dev/null@@ -1,20 +0,0 @@-import { resize } from '../../../codecs/hqx/pkg';-import { HqxOptions } from './processor-meta';--export async function hqx(- data: ImageData,- opts: HqxOptions,-): Promise<ImageData> {- const input = data;- const result = resize(- new Uint32Array(input.data.buffer),- input.width,- input.height,- opts.factor,- );- return new ImageData(- new Uint8ClampedArray(result.buffer),- data.width * opts.factor,- data.height * opts.factor,- );-}diff --git a/src/codecs/identity/encoder-meta.ts b/src/codecs/identity/encoder-meta.tsdeleted file mode 100644index 84f76d0b..00000000--- a/src/codecs/identity/encoder-meta.ts+++ /dev/null@@ -1,6 +0,0 @@-export interface EncodeOptions {}-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'identity';-export const label = 'Original image';-export const defaultOptions: EncodeOptions = {};diff --git a/src/codecs/imagequant/processor-meta.ts b/src/codecs/imagequant/processor-meta.tsdeleted file mode 100644index 960cf7e1..00000000--- a/src/codecs/imagequant/processor-meta.ts+++ /dev/null@@ -1,11 +0,0 @@-export interface QuantizeOptions {- zx: number;- maxNumColors: number;- dither: number;-}--export const defaultOptions: QuantizeOptions = {- zx: 0,- maxNumColors: 256,- dither: 1.0,-};diff --git a/src/codecs/imagequant/processor.ts b/src/codecs/imagequant/processor.tsdeleted file mode 100644index 3e22e7a5..00000000--- a/src/codecs/imagequant/processor.ts+++ /dev/null@@ -1,19 +0,0 @@-import imagequant, { QuantizerModule } from '../../../codecs/imagequant/imagequant';-import wasmUrl from '../../../codecs/imagequant/imagequant.wasm';-import { QuantizeOptions } from './processor-meta';-import { initEmscriptenModule } from '../util';--let emscriptenModule: Promise<QuantizerModule>;--export async function process(data: ImageData, opts: QuantizeOptions): Promise<ImageData> {- if (!emscriptenModule) emscriptenModule = initEmscriptenModule(imagequant, wasmUrl);-- const module = await emscriptenModule;-- const result = opts.zx ?- module.zx_quantize(data.data, data.width, data.height, opts.dither)- :- module.quantize(data.data, data.width, data.height, opts.maxNumColors, opts.dither);-- return new ImageData(result, data.width, data.height);-}diff --git a/src/codecs/input-processors.ts b/src/codecs/input-processors.tsdeleted file mode 100644index ff3a654b..00000000--- a/src/codecs/input-processors.ts+++ /dev/null@@ -1,9 +0,0 @@-import { defaultOptions as rotateDefaultOptions } from './rotate/processor-meta';--export interface InputProcessorState {- rotate: import('./rotate/processor-meta').RotateOptions;-}--export const defaultInputProcessorState: InputProcessorState = {- rotate: rotateDefaultOptions,-};diff --git a/src/codecs/mozjpeg/encoder-meta.ts b/src/codecs/mozjpeg/encoder-meta.tsdeleted file mode 100644index db33e2bc..00000000--- a/src/codecs/mozjpeg/encoder-meta.ts+++ /dev/null@@ -1,49 +0,0 @@-export enum MozJpegColorSpace {- GRAYSCALE = 1,- RGB,- YCbCr,-}--export interface EncodeOptions {- quality: number;- baseline: boolean;- arithmetic: boolean;- progressive: boolean;- optimize_coding: boolean;- smoothing: number;- color_space: MozJpegColorSpace;- quant_table: number;- trellis_multipass: boolean;- trellis_opt_zero: boolean;- trellis_opt_table: boolean;- trellis_loops: number;- auto_subsample: boolean;- chroma_subsample: number;- separate_chroma_quality: boolean;- chroma_quality: number;-}--export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'mozjpeg';-export const label = 'MozJPEG';-export const mimeType = 'image/jpeg';-export const extension = 'jpg';-export const defaultOptions: EncodeOptions = {- quality: 75,- baseline: false,- arithmetic: false,- progressive: true,- optimize_coding: true,- smoothing: 0,- color_space: MozJpegColorSpace.YCbCr,- quant_table: 3,- trellis_multipass: false,- trellis_opt_zero: false,- trellis_opt_table: false,- trellis_loops: 1,- auto_subsample: true,- chroma_subsample: 2,- separate_chroma_quality: false,- chroma_quality: 75,-};diff --git a/src/codecs/mozjpeg/encoder.ts b/src/codecs/mozjpeg/encoder.tsdeleted file mode 100644index c6390f06..00000000--- a/src/codecs/mozjpeg/encoder.ts+++ /dev/null@@ -1,15 +0,0 @@-import mozjpeg_enc, { MozJPEGModule } from '../../../codecs/mozjpeg_enc/mozjpeg_enc';-import wasmUrl from '../../../codecs/mozjpeg_enc/mozjpeg_enc.wasm';-import { EncodeOptions } from './encoder-meta';-import { initEmscriptenModule } from '../util';--let emscriptenModule: Promise<MozJPEGModule>;--export async function encode(data: ImageData, options: EncodeOptions): Promise<ArrayBuffer> {- if (!emscriptenModule) emscriptenModule = initEmscriptenModule(mozjpeg_enc, wasmUrl);-- const module = await emscriptenModule;- const resultView = module.encode(data.data, data.width, data.height, options);- // wasm can’t run on SharedArrayBuffers, so we hard-cast to ArrayBuffer.- return resultView.buffer as ArrayBuffer;-}diff --git a/src/codecs/oxipng/encoder-meta.ts b/src/codecs/oxipng/encoder-meta.tsdeleted file mode 100644index c7e08113..00000000--- a/src/codecs/oxipng/encoder-meta.ts+++ /dev/null@@ -1,13 +0,0 @@-export interface EncodeOptions {- level: number;-}-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'png';-export const label = 'OxiPNG';-export const mimeType = 'image/png';-export const extension = 'png';--export const defaultOptions: EncodeOptions = {- level: 2,-};diff --git a/src/codecs/oxipng/encoder.ts b/src/codecs/oxipng/encoder.tsdeleted file mode 100644index b0469d76..00000000--- a/src/codecs/oxipng/encoder.ts+++ /dev/null@@ -1,6 +0,0 @@-import { optimise } from '../../../codecs/oxipng/pkg';-import { EncodeOptions } from './encoder-meta';--export async function compress(data: ArrayBuffer, options: EncodeOptions): Promise<ArrayBuffer> {- return optimise(new Uint8Array(data), options.level).buffer;-}diff --git a/src/codecs/oxipng/options.tsx b/src/codecs/oxipng/options.tsxdeleted file mode 100644index 99ebef61..00000000--- a/src/codecs/oxipng/options.tsx+++ /dev/null@@ -1,42 +0,0 @@-import { h, Component } from 'preact';-import { bind } from '../../lib/initial-util';-import { inputFieldValueAsNumber, preventDefault } from '../../lib/util';-import { EncodeOptions } from './encoder-meta';-import Range from '../../components/range';-import * as style from '../../components/Options/style.scss';--type Props = {- options: EncodeOptions;- onChange(newOptions: EncodeOptions): void;-};--export default class OxiPNGEncoderOptions extends Component<Props, {}> {- @bind- onChange(event: Event) {- const form = (event.currentTarget as HTMLInputElement).closest('form') as HTMLFormElement;-- const options: EncodeOptions = {- level: inputFieldValueAsNumber(form.level),- };- this.props.onChange(options);- }-- render({ options }: Props) {- return (- <form class={style.optionsSection} onSubmit={preventDefault}>- <div class={style.optionOneCell}>- <Range- name="level"- min="0"- max="3"- step="1"- value={options.level}- onInput={this.onChange}- >- Effort:- </Range>- </div>- </form>- );- }-}diff --git a/src/codecs/preprocessors.ts b/src/codecs/preprocessors.tsdeleted file mode 100644index 859437e0..00000000--- a/src/codecs/preprocessors.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- QuantizeOptions, defaultOptions as quantizerDefaultOptions,-} from './imagequant/processor-meta';-import { ResizeOptions, defaultOptions as resizeDefaultOptions } from './resize/processor-meta';--interface Enableable {- enabled: boolean;-}-export interface PreprocessorState {- quantizer: Enableable & QuantizeOptions;- resize: Enableable & ResizeOptions;-}--export const defaultPreprocessorState: PreprocessorState = {- quantizer: {- enabled: false,- ...quantizerDefaultOptions,- },- resize: {- enabled: false,- ...resizeDefaultOptions,- },-};diff --git a/src/codecs/processor-worker/index.ts b/src/codecs/processor-worker/index.tsdeleted file mode 100644index a8701703..00000000--- a/src/codecs/processor-worker/index.ts+++ /dev/null@@ -1,114 +0,0 @@-import { expose } from 'comlink';-import { isHqx } from '../resize/processor-meta';-import { clamp } from '../util';--function timed<T>(name: string, func: () => Promise<T>) {- console.time(name);- return func().finally(() => console.timeEnd(name));-}--async function mozjpegEncode(- data: ImageData, options: import('../mozjpeg/encoder-meta').EncodeOptions,-): Promise<ArrayBuffer> {- const { encode } = await import(- /* webpackChunkName: "process-mozjpeg-enc" */- '../mozjpeg/encoder');- return timed('mozjpegEncode', () => encode(data, options));-}--async function quantize(- data: ImageData, opts: import('../imagequant/processor-meta').QuantizeOptions,-): Promise<ImageData> {- const { process } = await import(- /* webpackChunkName: "process-imagequant" */- '../imagequant/processor');- return timed('quantize', () => process(data, opts));-}--async function rotate(- data: ImageData, opts: import('../rotate/processor-meta').RotateOptions,-): Promise<ImageData> {- const { rotate } = await import(- /* webpackChunkName: "process-rotate" */- '../rotate/processor');-- return timed('rotate', () => rotate(data, opts));-}--async function resize(- data: ImageData, opts: import('../resize/processor-meta').WorkerResizeOptions,-): Promise<ImageData> {- if (isHqx(opts)) {- const { hqx } = await import(- /* webpackChunkName: "process-hqx" */- '../hqx/processor');-- const widthRatio = opts.width / data.width;- const heightRatio = opts.height / data.height;- const ratio = Math.max(widthRatio, heightRatio);- if (ratio <= 1) return data;- const factor = clamp(Math.ceil(ratio), { min: 2, max: 4 }) as 2|3|4;- return timed('hqx', () => hqx(data, { factor }));- }- const { resize } = await import(- /* webpackChunkName: "process-resize" */- '../resize/processor');-- return timed('resize', () => resize(data, opts));-}--async function oxiPngEncode(- data: ArrayBuffer, options: import('../oxipng/encoder-meta').EncodeOptions,-): Promise<ArrayBuffer> {- const { compress } = await import(- /* webpackChunkName: "process-oxipng" */- '../oxipng/encoder');- return timed('oxiPngEncode', () => compress(data, options));-}--async function webpEncode(- data: ImageData, options: import('../webp/encoder-meta').EncodeOptions,-): Promise<ArrayBuffer> {- const { encode } = await import(- /* webpackChunkName: "process-webp-enc" */- '../webp/encoder');- return timed('webpEncode', () => encode(data, options));-}--async function webpDecode(data: ArrayBuffer): Promise<ImageData> {- const { decode } = await import(- /* webpackChunkName: "process-webp-dec" */- '../webp/decoder');- return timed('webpDecode', () => decode(data));-}--async function avifEncode(- data: ImageData, options: import('../avif/encoder-meta').EncodeOptions,-): Promise<ArrayBuffer> {- const { encode } = await import(- /* webpackChunkName: "process-avif-enc" */- '../avif/encoder');- return timed('avifEncode', () => encode(data, options));-}--async function avifDecode(data: ArrayBuffer): Promise<ImageData> {- const { decode } = await import(- /* webpackChunkName: "process-avif-dec" */- '../avif/decoder');- return timed('avifDencode', () => decode(data));-}--const exports = {- mozjpegEncode,- quantize,- rotate,- resize,- oxiPngEncode,- webpEncode,- webpDecode,- avifEncode,- avifDecode,-};-export type ProcessorWorkerApi = typeof exports;--expose(exports, self);diff --git a/src/codecs/processor-worker/tsconfig.json b/src/codecs/processor-worker/tsconfig.jsondeleted file mode 100644index efb9ce2b..00000000--- a/src/codecs/processor-worker/tsconfig.json+++ /dev/null@@ -1,18 +0,0 @@-{- "compileOnSave": false,- "compilerOptions": {- "strict": true,- "target": "esnext",- "module": "esnext",- "lib": [- "webworker",- "esnext"- ],- "moduleResolution": "node",- "experimentalDecorators": true,- "noUnusedLocals": true,- "sourceMap": true,- "allowJs": false,- "baseUrl": "."- }-}diff --git a/src/codecs/processor.ts b/src/codecs/processor.tsdeleted file mode 100644index 41f6ddfa..00000000--- a/src/codecs/processor.ts+++ /dev/null@@ -1,231 +0,0 @@-import { proxy } from 'comlink';-import { QuantizeOptions } from './imagequant/processor-meta';-import { canvasEncode, blobToArrayBuffer } from '../lib/util';-import { EncodeOptions as MozJPEGEncoderOptions } from './mozjpeg/encoder-meta';-import { EncodeOptions as OxiPNGEncoderOptions } from './oxipng/encoder-meta';-import { EncodeOptions as WebPEncoderOptions } from './webp/encoder-meta';-import { EncodeOptions as AvifEncoderOptions } from './avif/encoder-meta';-import { EncodeOptions as BrowserJPEGOptions } from './browser-jpeg/encoder-meta';-import { EncodeOptions as BrowserWebpEncodeOptions } from './browser-webp/encoder-meta';-import { BrowserResizeOptions, VectorResizeOptions } from './resize/processor-meta';-import { browserResize, vectorResize } from './resize/processor-sync';-import * as browserBMP from './browser-bmp/encoder';-import * as browserPNG from './browser-png/encoder';-import * as browserJPEG from './browser-jpeg/encoder';-import * as browserWebP from './browser-webp/encoder';-import * as browserGIF from './browser-gif/encoder';-import * as browserTIFF from './browser-tiff/encoder';-import * as browserJP2 from './browser-jp2/encoder';-import * as browserPDF from './browser-pdf/encoder';-import { bind } from '../lib/initial-util';--type ProcessorWorkerApi = import('./processor-worker').ProcessorWorkerApi;--/** How long the worker should be idle before terminating. */-const workerTimeout = 10000;--interface ProcessingJobOptions {- needsWorker?: boolean;-}--export default class Processor {- /** Worker instance associated with this processor. */- private _worker?: Worker;- /** Comlinked worker API. */- private _workerApi?: ProcessorWorkerApi;- /** Rejector for a pending promise. */- private _abortRejector?: (err: Error) => void;- /** Is work currently happening? */- private _busy = false;- /** Incementing ID so we can tell if a job has been superseded. */- private _latestJobId: number = 0;- /** setTimeout ID for killing the worker when idle. */- private _workerTimeoutId: number = 0;-- /**- * Decorator that manages the (re)starting of the worker and aborting existing jobs. Not all- * processing jobs require a worker (e.g. the main thread canvas encodes), use the needsWorker- * option to control this.- */- private static _processingJob(options: ProcessingJobOptions = {}) {- const { needsWorker = false } = options;-- return (target: Processor, propertyKey: string, descriptor: PropertyDescriptor): void => {- const processingFunc = descriptor.value;-- descriptor.value = async function (this: Processor, ...args: any[]) {- this._latestJobId += 1;- const jobId = this._latestJobId;- this.abortCurrent();-- if (needsWorker) self.clearTimeout(this._workerTimeoutId);-- if (!this._worker && needsWorker) {- // worker-loader does magic here.- // @ts-ignore - Typescript doesn't know about the 2nd param to new Worker, and the- // definition can't be overwritten.- this._worker = new Worker(- './processor-worker',- { name: 'processor-worker', type: 'module' },- ) as Worker;- // Need to do some TypeScript trickery to make the type match.- this._workerApi = proxy(this._worker) as any as ProcessorWorkerApi;- }-- this._busy = true;-- const returnVal = Promise.race([- processingFunc.call(this, ...args),- new Promise((_, reject) => { this._abortRejector = reject; }),- ]);-- // Wait for the operation to settle.- await returnVal.catch(() => {});-- // If no other jobs are happening, cleanup.- if (jobId === this._latestJobId) this._jobCleanup();-- return returnVal;- };- };- }-- private _jobCleanup(): void {- this._busy = false;-- if (!this._worker) return;-- // If the worker is unused for 10 seconds, remove it to save memory.- this._workerTimeoutId = self.setTimeout(this.terminateWorker, workerTimeout);- }-- /** Abort the current job, if any */- abortCurrent() {- if (!this._busy) return;- if (!this._abortRejector) throw Error("There must be a rejector if it's busy");- this._abortRejector(new DOMException('Aborted', 'AbortError'));- this._abortRejector = undefined;- this._busy = false;- this.terminateWorker();- }-- @bind- terminateWorker() {- if (!this._worker) return;- this._worker.terminate();- this._worker = undefined;- }-- // Off main thread jobs:- @Processor._processingJob({ needsWorker: true })- imageQuant(data: ImageData, opts: QuantizeOptions): Promise<ImageData> {- return this._workerApi!.quantize(data, opts);- }-- @Processor._processingJob({ needsWorker: true })- rotate(- data: ImageData, opts: import('./rotate/processor-meta').RotateOptions,- ): Promise<ImageData> {- return this._workerApi!.rotate(data, opts);- }-- @Processor._processingJob({ needsWorker: true })- workerResize(- data: ImageData, opts: import('./resize/processor-meta').WorkerResizeOptions,- ): Promise<ImageData> {- return this._workerApi!.resize(data, opts);- }-- @Processor._processingJob({ needsWorker: true })- mozjpegEncode(- data: ImageData, opts: MozJPEGEncoderOptions,- ): Promise<ArrayBuffer> {- return this._workerApi!.mozjpegEncode(data, opts);- }-- @Processor._processingJob({ needsWorker: true })- async oxiPngEncode(- data: ImageData, opts: OxiPNGEncoderOptions,- ): Promise<ArrayBuffer> {- // OxiPNG expects PNG input.- const pngBlob = await canvasEncode(data, 'image/png');- const pngBuffer = await blobToArrayBuffer(pngBlob);- return this._workerApi!.oxiPngEncode(pngBuffer, opts);- }-- @Processor._processingJob({ needsWorker: true })- webpEncode(data: ImageData, opts: WebPEncoderOptions): Promise<ArrayBuffer> {- return this._workerApi!.webpEncode(data, opts);- }-- @Processor._processingJob({ needsWorker: true })- async webpDecode(blob: Blob): Promise<ImageData> {- const data = await blobToArrayBuffer(blob);- return this._workerApi!.webpDecode(data);- }-- @Processor._processingJob({ needsWorker: true })- async avifDecode(blob: Blob): Promise<ImageData> {- const data = await blobToArrayBuffer(blob);- return this._workerApi!.avifDecode(data);- }-- @Processor._processingJob({ needsWorker: true })- avifEncode(data: ImageData, opts: AvifEncoderOptions): Promise<ArrayBuffer> {- return this._workerApi!.avifEncode(data, opts);- }-- // Not-worker jobs:-- @Processor._processingJob()- browserBmpEncode(data: ImageData): Promise<Blob> {- return browserBMP.encode(data);- }-- @Processor._processingJob()- browserPngEncode(data: ImageData): Promise<Blob> {- return browserPNG.encode(data);- }-- @Processor._processingJob()- browserJpegEncode(data: ImageData, opts: BrowserJPEGOptions): Promise<Blob> {- return browserJPEG.encode(data, opts);- }-- @Processor._processingJob()- browserWebpEncode(data: ImageData, opts: BrowserWebpEncodeOptions): Promise<Blob> {- return browserWebP.encode(data, opts);- }-- @Processor._processingJob()- browserGifEncode(data: ImageData): Promise<Blob> {- return browserGIF.encode(data);- }-- @Processor._processingJob()- browserTiffEncode(data: ImageData): Promise<Blob> {- return browserTIFF.encode(data);- }-- @Processor._processingJob()- browserJp2Encode(data: ImageData): Promise<Blob> {- return browserJP2.encode(data);- }-- @Processor._processingJob()- browserPdfEncode(data: ImageData): Promise<Blob> {- return browserPDF.encode(data);- }-- // Synchronous jobs-- resize(data: ImageData, opts: BrowserResizeOptions) {- this.abortCurrent();- return browserResize(data, opts);- }-- vectorResize(data: HTMLImageElement, opts: VectorResizeOptions) {- this.abortCurrent();- return vectorResize(data, opts);- }-}diff --git a/src/codecs/resize/processor-sync.ts b/src/codecs/resize/processor-sync.tsdeleted file mode 100644index 22b5e85b..00000000--- a/src/codecs/resize/processor-sync.ts+++ /dev/null@@ -1,35 +0,0 @@-import { builtinResize, BuiltinResizeMethod, drawableToImageData } from '../../lib/util';-import { BrowserResizeOptions, VectorResizeOptions } from './processor-meta';-import { getContainOffsets } from './util';--export function browserResize(data: ImageData, opts: BrowserResizeOptions): ImageData {- let sx = 0;- let sy = 0;- let sw = data.width;- let sh = data.height;-- if (opts.fitMethod === 'contain') {- ({ sx, sy, sw, sh } = getContainOffsets(sw, sh, opts.width, opts.height));- }-- return builtinResize(- data, sx, sy, sw, sh, opts.width, opts.height,- opts.method.slice('browser-'.length) as BuiltinResizeMethod,- );-}--export function vectorResize(data: HTMLImageElement, opts: VectorResizeOptions): ImageData {- let sx = 0;- let sy = 0;- let sw = data.width;- let sh = data.height;-- if (opts.fitMethod === 'contain') {- ({ sx, sy, sw, sh } = getContainOffsets(sw, sh, opts.width, opts.height));- }-- return drawableToImageData(data, {- sx, sy, sw, sh,- width: opts.width, height: opts.height,- });-}diff --git a/src/codecs/resize/processor.ts b/src/codecs/resize/processor.tsdeleted file mode 100644index afe2fc2b..00000000--- a/src/codecs/resize/processor.ts+++ /dev/null@@ -1,39 +0,0 @@-import { WorkerResizeOptions } from './processor-meta';-import { getContainOffsets } from './util';-import { resize as codecResize } from '../../../codecs/resize/pkg';--function crop(data: ImageData, sx: number, sy: number, sw: number, sh: number): ImageData {- const inputPixels = new Uint32Array(data.data.buffer);-- // Copy within the same buffer for speed and memory efficiency.- for (let y = 0; y < sh; y += 1) {- const start = ((y + sy) * data.width) + sx;- inputPixels.copyWithin(y * sw, start, start + sw);- }-- return new ImageData(- new Uint8ClampedArray(inputPixels.buffer.slice(0, sw * sh * 4)),- sw, sh,- );-}--/** Resize methods by index */-const resizeMethods: WorkerResizeOptions['method'][] = [- 'triangle', 'catrom', 'mitchell', 'lanczos3',-];--export async function resize(data: ImageData, opts: WorkerResizeOptions): Promise<ImageData> {- let input = data;-- if (opts.fitMethod === 'contain') {- const { sx, sy, sw, sh } = getContainOffsets(data.width, data.height, opts.width, opts.height);- input = crop(input, Math.round(sx), Math.round(sy), Math.round(sw), Math.round(sh));- }-- const result = codecResize(- new Uint8Array(input.data.buffer), input.width, input.height, opts.width, opts.height,- resizeMethods.indexOf(opts.method), opts.premultiply, opts.linearRGB,- );-- return new ImageData(new Uint8ClampedArray(result.buffer), opts.width, opts.height);-}diff --git a/src/codecs/resize/util.ts b/src/codecs/resize/util.tsdeleted file mode 100644index 4e67c47d..00000000--- a/src/codecs/resize/util.ts+++ /dev/null@@ -1,14 +0,0 @@-export function getContainOffsets(sw: number, sh: number, dw: number, dh: number) {- const currentAspect = sw / sh;- const endAspect = dw / dh;-- if (endAspect > currentAspect) {- const newSh = sw / endAspect;- const newSy = (sh - newSh) / 2;- return { sw, sh: newSh, sx: 0, sy: newSy };- }-- const newSw = sh * endAspect;- const newSx = (sw - newSw) / 2;- return { sh, sw: newSw, sx: newSx, sy: 0 };-}diff --git a/src/codecs/rotate/processor-meta.ts b/src/codecs/rotate/processor-meta.tsdeleted file mode 100644index 1b70ccdd..00000000--- a/src/codecs/rotate/processor-meta.ts+++ /dev/null@@ -1,12 +0,0 @@-export interface RotateOptions {- rotate: 0 | 90 | 180 | 270;-}--export const defaultOptions: RotateOptions = { rotate: 0 };--export interface RotateModuleInstance {- exports: {- memory: WebAssembly.Memory;- rotate(width: number, height: number, rotate: 0 | 90 | 180 | 270): void;- };-}diff --git a/src/codecs/util.ts b/src/codecs/util.tsdeleted file mode 100644index b3edcee0..00000000--- a/src/codecs/util.ts+++ /dev/null@@ -1,36 +0,0 @@-type ModuleFactory<M extends EmscriptenWasm.Module> = (- opts: EmscriptenWasm.ModuleOpts,-) => M;--export function initEmscriptenModule<T extends EmscriptenWasm.Module>(- moduleFactory: ModuleFactory<T>,- wasmUrl: string,-): Promise<T> {- return new Promise((resolve) => {- const module = moduleFactory({- // Just to be safe, don't automatically invoke any wasm functions- noInitialRun: true,- locateFile(url: string): string {- // Redirect the request for the wasm binary to whatever webpack gave us.- if (url.endsWith('.wasm')) return wasmUrl;- return url;- },- onRuntimeInitialized() {- // An Emscripten is a then-able that resolves with itself, causing an infite loop when you- // wrap it in a real promise. Delete the `then` prop solves this for now.- // https://github.com/kripken/emscripten/issues/5820- delete (module as any).then;- resolve(module);- },- });- });-}--interface ClampOpts {- min?: number;- max?: number;-}--export function clamp(x: number, opts: ClampOpts): number {- return Math.min(Math.max(x, opts.min || Number.MIN_VALUE), opts.max || Number.MAX_VALUE);-}diff --git a/src/codecs/webp/decoder-meta.ts b/src/codecs/webp/decoder-meta.tsdeleted file mode 100644index 8edf0dd7..00000000--- a/src/codecs/webp/decoder-meta.ts+++ /dev/null@@ -1,7 +0,0 @@-export const name = 'WASM WebP Decoder';--const supportedMimeTypes = ['image/webp'];--export function canHandleMimeType(mimeType: string): boolean {- return supportedMimeTypes.includes(mimeType);-}diff --git a/src/codecs/webp/decoder.ts b/src/codecs/webp/decoder.tsdeleted file mode 100644index e14b0526..00000000--- a/src/codecs/webp/decoder.ts+++ /dev/null@@ -1,16 +0,0 @@-import webp_dec, { WebPModule } from '../../../codecs/webp/dec/webp_dec';-import wasmUrl from '../../../codecs/webp/dec/webp_dec.wasm';-import { initEmscriptenModule } from '../util';--let emscriptenModule: Promise<WebPModule>;--export async function decode(data: ArrayBuffer): Promise<ImageData> {- if (!emscriptenModule) emscriptenModule = initEmscriptenModule(webp_dec, wasmUrl);-- const module = await emscriptenModule;- const result = module.decode(data);- if (!result) {- throw new Error('Decoding error');- }- return result;-}diff --git a/src/codecs/webp/encoder-meta.ts b/src/codecs/webp/encoder-meta.tsdeleted file mode 100644index 330a2825..00000000--- a/src/codecs/webp/encoder-meta.ts+++ /dev/null@@ -1,72 +0,0 @@-export enum WebPImageHint {- WEBP_HINT_DEFAULT, // default preset.- WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot- WEBP_HINT_PHOTO, // outdoor photograph, with natural lighting- WEBP_HINT_GRAPH, // Discrete tone image (graph, map-tile etc).-}--export interface EncodeOptions {- quality: number;- target_size: number;- target_PSNR: number;- method: number;- sns_strength: number;- filter_strength: number;- filter_sharpness: number;- filter_type: number;- partitions: number;- segments: number;- pass: number;- show_compressed: number;- preprocessing: number;- autofilter: number;- partition_limit: number;- alpha_compression: number;- alpha_filtering: number;- alpha_quality: number;- lossless: number;- exact: number;- image_hint: number;- emulate_jpeg_size: number;- thread_level: number;- low_memory: number;- near_lossless: number;- use_delta_palette: number;- use_sharp_yuv: number;-}-export interface EncoderState { type: typeof type; options: EncodeOptions; }--export const type = 'webp';-export const label = 'WebP';-export const mimeType = 'image/webp';-export const extension = 'webp';-// These come from struct WebPConfig in encode.h.-export const defaultOptions: EncodeOptions = {- quality: 75,- target_size: 0,- target_PSNR: 0,- method: 4,- sns_strength: 50,- filter_strength: 60,- filter_sharpness: 0,- filter_type: 1,- partitions: 0,- segments: 4,- pass: 1,- show_compressed: 0,- preprocessing: 0,- autofilter: 0,- partition_limit: 0,- alpha_compression: 1,- alpha_filtering: 1,- alpha_quality: 100,- lossless: 0,- exact: 0,- image_hint: 0,- emulate_jpeg_size: 0,- thread_level: 0,- low_memory: 0,- near_lossless: 100,- use_delta_palette: 0,- use_sharp_yuv: 0,-};diff --git a/src/codecs/webp/encoder.ts b/src/codecs/webp/encoder.tsdeleted file mode 100644index d450f177..00000000--- a/src/codecs/webp/encoder.ts+++ /dev/null@@ -1,18 +0,0 @@-import webp_enc, { WebPModule } from '../../../codecs/webp/enc/webp_enc';-import wasmUrl from '../../../codecs/webp/enc/webp_enc.wasm';-import { EncodeOptions } from './encoder-meta';-import { initEmscriptenModule } from '../util';--let emscriptenModule: Promise<WebPModule>;--export async function encode(data: ImageData, options: EncodeOptions): Promise<ArrayBuffer> {- if (!emscriptenModule) emscriptenModule = initEmscriptenModule(webp_enc, wasmUrl);-- const module = await emscriptenModule;- const result = module.encode(data.data, data.width, data.height, options);- if (!result) {- throw new Error('Encoding error.');- }- // wasm can’t run on SharedArrayBuffers, so we hard-cast to ArrayBuffer.- return result.buffer as ArrayBuffer;-}diff --git a/src/components/Options/index.tsx b/src/components/Options/index.tsxdeleted file mode 100644index ac266dcc..00000000--- a/src/components/Options/index.tsx+++ /dev/null@@ -1,210 +0,0 @@-import { h, Component } from 'preact';--import * as style from './style.scss';-import { bind } from '../../lib/initial-util';-import { cleanSet, cleanMerge } from '../../lib/clean-modify';-import OxiPNGEncoderOptions from '../../codecs/oxipng/options';-import MozJpegEncoderOptions from '../../codecs/mozjpeg/options';-import BrowserJPEGEncoderOptions from '../../codecs/browser-jpeg/options';-import WebPEncoderOptions from '../../codecs/webp/options';-import AvifEncoderOptions from '../../codecs/avif/options';-import BrowserWebPEncoderOptions from '../../codecs/browser-webp/options';--import QuantizerOptionsComponent from '../../codecs/imagequant/options';-import ResizeOptionsComponent from '../../codecs/resize/options';--import * as identity from '../../codecs/identity/encoder-meta';-import * as oxiPNG from '../../codecs/oxipng/encoder-meta';-import * as mozJPEG from '../../codecs/mozjpeg/encoder-meta';-import * as webP from '../../codecs/webp/encoder-meta';-import * as avif from '../../codecs/avif/encoder-meta';-import * as browserPNG from '../../codecs/browser-png/encoder-meta';-import * as browserJPEG from '../../codecs/browser-jpeg/encoder-meta';-import * as browserWebP from '../../codecs/browser-webp/encoder-meta';-import * as browserGIF from '../../codecs/browser-gif/encoder-meta';-import * as browserTIFF from '../../codecs/browser-tiff/encoder-meta';-import * as browserJP2 from '../../codecs/browser-jp2/encoder-meta';-import * as browserBMP from '../../codecs/browser-bmp/encoder-meta';-import * as browserPDF from '../../codecs/browser-pdf/encoder-meta';-import {- EncoderState,- EncoderType,- EncoderOptions,- encoders,- encodersSupported,- EncoderSupportMap,-} from '../../codecs/encoders';-import { QuantizeOptions } from '../../codecs/imagequant/processor-meta';-import { ResizeOptions } from '../../codecs/resize/processor-meta';-import { PreprocessorState } from '../../codecs/preprocessors';-import { SourceImage } from '../compress';-import Checkbox from '../checkbox';-import Expander from '../expander';-import Select from '../select';--const encoderOptionsComponentMap: {- [x: string]: (new (...args: any[]) => Component<any, any>) | undefined;-} = {- [identity.type]: undefined,- [oxiPNG.type]: OxiPNGEncoderOptions,- [mozJPEG.type]: MozJpegEncoderOptions,- [webP.type]: WebPEncoderOptions,- [avif.type]: AvifEncoderOptions,- [browserPNG.type]: undefined,- [browserJPEG.type]: BrowserJPEGEncoderOptions,- [browserWebP.type]: BrowserWebPEncoderOptions,- [browserBMP.type]: undefined,- // Only Safari supports the rest, and it doesn't support quality settings.- [browserGIF.type]: undefined,- [browserTIFF.type]: undefined,- [browserJP2.type]: undefined,- [browserPDF.type]: undefined,-};--interface Props {- mobileView: boolean;- source?: SourceImage;- encoderState: EncoderState;- preprocessorState: PreprocessorState;- onEncoderTypeChange(newType: EncoderType): void;- onEncoderOptionsChange(newOptions: EncoderOptions): void;- onPreprocessorOptionsChange(newOptions: PreprocessorState): void;-}--interface State {- encoderSupportMap?: EncoderSupportMap;-}--export default class Options extends Component<Props, State> {- state: State = {- encoderSupportMap: undefined,- };-- constructor() {- super();- encodersSupported.then(encoderSupportMap => this.setState({ encoderSupportMap }));- }-- @bind- private onEncoderTypeChange(event: Event) {- const el = event.currentTarget as HTMLSelectElement;-- // The select element only has values matching encoder types,- // so 'as' is safe here.- const type = el.value as EncoderType;- this.props.onEncoderTypeChange(type);- }-- @bind- private onPreprocessorEnabledChange(event: Event) {- const el = event.currentTarget as HTMLInputElement;- const preprocessor = el.name.split('.')[0] as keyof PreprocessorState;-- this.props.onPreprocessorOptionsChange(- cleanSet(this.props.preprocessorState, `${preprocessor}.enabled`, el.checked),- );- }-- @bind- private onQuantizerOptionsChange(opts: QuantizeOptions) {- this.props.onPreprocessorOptionsChange(- cleanMerge(this.props.preprocessorState, 'quantizer', opts),- );- }-- @bind- private onResizeOptionsChange(opts: ResizeOptions) {- this.props.onPreprocessorOptionsChange(- cleanMerge(this.props.preprocessorState, 'resize', opts),- );- }-- render(- {- source,- encoderState,- preprocessorState,- onEncoderOptionsChange,- }: Props,- { encoderSupportMap }: State,- ) {- // tslint:disable variable-name- const EncoderOptionComponent = encoderOptionsComponentMap[encoderState.type];-- return (- <div class={style.optionsScroller}>- <Expander>- {encoderState.type === identity.type ? null :- <div>- <h3 class={style.optionsTitle}>Edit</h3>- <label class={style.sectionEnabler}>- <Checkbox- name="resize.enable"- checked={!!preprocessorState.resize.enabled}- onChange={this.onPreprocessorEnabledChange}- />- Resize- </label>- <Expander>- {preprocessorState.resize.enabled ?- <ResizeOptionsComponent- isVector={Boolean(source && source.vectorImage)}- inputWidth={source ? source.processed.width : 1}- inputHeight={source ? source.processed.height : 1}- options={preprocessorState.resize}- onChange={this.onResizeOptionsChange}- />- : null}- </Expander>-- <label class={style.sectionEnabler}>- <Checkbox- name="quantizer.enable"- checked={!!preprocessorState.quantizer.enabled}- onChange={this.onPreprocessorEnabledChange}- />- Reduce palette- </label>- <Expander>- {preprocessorState.quantizer.enabled ?- <QuantizerOptionsComponent- options={preprocessorState.quantizer}- onChange={this.onQuantizerOptionsChange}- />- : null}- </Expander>- </div>- }- </Expander>-- <h3 class={style.optionsTitle}>Compress</h3>-- <section class={`${style.optionOneCell} ${style.optionsSection}`}>- {encoderSupportMap ?- <Select value={encoderState.type} onChange={this.onEncoderTypeChange} large>- {encoders.filter(encoder => encoderSupportMap[encoder.type]).map(encoder => (- // tslint:disable-next-line:jsx-key- <option value={encoder.type}>{encoder.label}</option>- ))}- </Select>- :- <Select large><option>Loading…</option></Select>- }- </section>-- <Expander>- {EncoderOptionComponent ?- <EncoderOptionComponent- options={- // Casting options, as encoderOptionsComponentMap[encodeData.type] ensures- // the correct type, but typescript isn't smart enough.- encoderState.options as any- }- onChange={onEncoderOptionsChange}- />- : null}- </Expander>- </div>- );- }-}diff --git a/src/components/Output/custom-els/PinchZoom/missing-types.d.ts b/src/components/Output/custom-els/PinchZoom/missing-types.d.tsdeleted file mode 100644index 36d680b8..00000000--- a/src/components/Output/custom-els/PinchZoom/missing-types.d.ts+++ /dev/null@@ -1,16 +0,0 @@-declare interface CSSStyleDeclaration {- willChange: string | null;-}--// TypeScript, you make me sad.-// https://github.com/Microsoft/TypeScript/issues/18756-interface Window {- PointerEvent: typeof PointerEvent;- Touch: typeof Touch;-}--declare namespace JSX {- interface IntrinsicElements {- 'pinch-zoom': HTMLAttributes;- }-}diff --git a/src/components/Output/custom-els/TwoUp/missing-types.d.ts b/src/components/Output/custom-els/TwoUp/missing-types.d.tsdeleted file mode 100644index b3c129d5..00000000--- a/src/components/Output/custom-els/TwoUp/missing-types.d.ts+++ /dev/null@@ -1,52 +0,0 @@-declare interface CSSStyleDeclaration {- willChange: string | null;-}--// TypeScript, you make me sad.-// https://github.com/Microsoft/TypeScript/issues/18756-interface Window {- PointerEvent: typeof PointerEvent;- Touch: typeof Touch;-}--interface TwoUpAttributes extends JSX.HTMLAttributes {- 'orientation'?: string;- 'legacy-clip-compat'?: boolean;-}--declare namespace JSX {- interface IntrinsicElements {- 'two-up': TwoUpAttributes;- }-}--interface DOMRectReadOnly {- readonly x: number;- readonly y: number;- readonly width: number;- readonly height: number;- readonly top: number;- readonly right: number;- readonly bottom: number;- readonly left: number;-}--interface ResizeObserverCallback {- (entries: ResizeObserverEntry[], observer: ResizeObserver): void;-}--interface ResizeObserverEntry {- readonly target: Element;- readonly contentRect: DOMRectReadOnly;-}--interface ResizeObserver {- observe(target: Element): void;- unobserve(target: Element): void;- disconnect(): void;-}--declare var ResizeObserver: {- prototype: ResizeObserver;- new(callback: ResizeObserverCallback): ResizeObserver;-};diff --git a/src/components/checkbox/index.tsx b/src/components/checkbox/index.tsxdeleted file mode 100644index 9ed202ab..00000000--- a/src/components/checkbox/index.tsx+++ /dev/null@@ -1,20 +0,0 @@-import { h, Component } from 'preact';-import * as style from './style.scss';-import { UncheckedIcon, CheckedIcon } from '../../lib/icons';--interface Props extends JSX.HTMLAttributes {}-interface State {}--export default class Checkbox extends Component<Props, State> {- render(props: Props) {- return (- <div class={style.checkbox}>- {props.checked- ? <CheckedIcon class={`${style.icon} ${style.checked}`} />- : <UncheckedIcon class={style.icon} />- }- <input class={style.realCheckbox} type="checkbox" {...props}/>- </div>- );- }-}diff --git a/src/components/compress/custom-els/MultiPanel/missing-types.d.ts b/src/components/compress/custom-els/MultiPanel/missing-types.d.tsdeleted file mode 100644index b775fa8a..00000000--- a/src/components/compress/custom-els/MultiPanel/missing-types.d.ts+++ /dev/null@@ -1,9 +0,0 @@-interface MultiPanelAttributes extends JSX.HTMLAttributes {- 'open-one-only'?: boolean;-}--declare namespace JSX {- interface IntrinsicElements {- 'multi-panel': MultiPanelAttributes;- }-}diff --git a/src/components/compress/index.tsx b/src/components/compress/index.tsxdeleted file mode 100644index f48d0173..00000000--- a/src/components/compress/index.tsx+++ /dev/null@@ -1,658 +0,0 @@-import { h, Component } from 'preact';--import { bind, Fileish } from '../../lib/initial-util';-import { blobToImg, drawableToImageData, blobToText } from '../../lib/util';-import * as style from './style.scss';-import Output from '../Output';-import Options from '../Options';-import ResultCache from './result-cache';-import * as identity from '../../codecs/identity/encoder-meta';-import * as oxiPNG from '../../codecs/oxipng/encoder-meta';-import * as mozJPEG from '../../codecs/mozjpeg/encoder-meta';-import * as webP from '../../codecs/webp/encoder-meta';-import * as avif from '../../codecs/avif/encoder-meta';-import * as browserPNG from '../../codecs/browser-png/encoder-meta';-import * as browserJPEG from '../../codecs/browser-jpeg/encoder-meta';-import * as browserWebP from '../../codecs/browser-webp/encoder-meta';-import * as browserGIF from '../../codecs/browser-gif/encoder-meta';-import * as browserTIFF from '../../codecs/browser-tiff/encoder-meta';-import * as browserJP2 from '../../codecs/browser-jp2/encoder-meta';-import * as browserBMP from '../../codecs/browser-bmp/encoder-meta';-import * as browserPDF from '../../codecs/browser-pdf/encoder-meta';-import { EncoderState, EncoderType, EncoderOptions, encoderMap } from '../../codecs/encoders';-import { PreprocessorState, defaultPreprocessorState } from '../../codecs/preprocessors';-import { decodeImage } from '../../codecs/decoders';-import { cleanMerge, cleanSet } from '../../lib/clean-modify';-import Processor from '../../codecs/processor';-import {- BrowserResizeOptions, isWorkerOptions as isWorkerResizeOptions, isHqx, WorkerResizeOptions,-} from '../../codecs/resize/processor-meta';-import './custom-els/MultiPanel';-import Results from '../results';-import { ExpandIcon, CopyAcrossIconProps } from '../../lib/icons';-import SnackBarElement from '../../lib/SnackBar';-import { InputProcessorState, defaultInputProcessorState } from '../../codecs/input-processors';--export interface SourceImage {- file: File | Fileish;- decoded: ImageData;- processed: ImageData;- vectorImage?: HTMLImageElement;- inputProcessorState: InputProcessorState;-}--interface SideSettings {- preprocessorState: PreprocessorState;- encoderState: EncoderState;-}--interface Side {- preprocessed?: ImageData;- file?: Fileish;- downloadUrl?: string;- data?: ImageData;- latestSettings: SideSettings;- encodedSettings?: SideSettings;- loading: boolean;- /** Counter of the latest bmp currently encoding */- loadingCounter: number;- /** Counter of the latest bmp encoded */- loadedCounter: number;-}--interface Props {- file: File | Fileish;- showSnack: SnackBarElement['showSnackbar'];- onBack: () => void;-}--interface State {- source?: SourceImage;- sides: [Side, Side];- /** Source image load */- loading: boolean;- loadingCounter: number;- error?: string;- mobileView: boolean;-}--interface UpdateImageOptions {- skipPreprocessing?: boolean;-}--async function processInput(- data: ImageData,- inputProcessData: InputProcessorState,- processor: Processor,-) {- let processedData = data;-- if (inputProcessData.rotate.rotate !== 0) {- processedData = await processor.rotate(processedData, inputProcessData.rotate);- }-- return processedData;-}--async function preprocessImage(- source: SourceImage,- preprocessData: PreprocessorState,- processor: Processor,-): Promise<ImageData> {- let result = source.processed;-- if (preprocessData.resize.enabled) {- if (preprocessData.resize.method === 'vector' && source.vectorImage) {- result = processor.vectorResize(- source.vectorImage,- preprocessData.resize,- );- } else if (isHqx(preprocessData.resize)) {- // Hqx can only do x2, x3 or x4.- result = await processor.workerResize(result, preprocessData.resize);- // If the target size is not a clean x2, x3 or x4, use Catmull-Rom- // for the remaining scaling.- const pixelOpts = { ...preprocessData.resize, method: 'catrom' };- result = await processor.workerResize(result, pixelOpts as WorkerResizeOptions);- } else if (isWorkerResizeOptions(preprocessData.resize)) {- result = await processor.workerResize(result, preprocessData.resize);- } else {- result = processor.resize(result, preprocessData.resize as BrowserResizeOptions);- }- }- if (preprocessData.quantizer.enabled) {- result = await processor.imageQuant(result, preprocessData.quantizer);- }- return result;-}--async function compressImage(- image: ImageData,- encodeData: EncoderState,- sourceFilename: string,- processor: Processor,-): Promise<Fileish> {- const compressedData = await (() => {- switch (encodeData.type) {- case oxiPNG.type: return processor.oxiPngEncode(image, encodeData.options);- case mozJPEG.type: return processor.mozjpegEncode(image, encodeData.options);- case webP.type: return processor.webpEncode(image, encodeData.options);- case avif.type: return processor.avifEncode(image, encodeData.options);- case browserPNG.type: return processor.browserPngEncode(image);- case browserJPEG.type: return processor.browserJpegEncode(image, encodeData.options);- case browserWebP.type: return processor.browserWebpEncode(image, encodeData.options);- case browserGIF.type: return processor.browserGifEncode(image);- case browserTIFF.type: return processor.browserTiffEncode(image);- case browserJP2.type: return processor.browserJp2Encode(image);- case browserBMP.type: return processor.browserBmpEncode(image);- case browserPDF.type: return processor.browserPdfEncode(image);- default: throw Error(`Unexpected encoder ${JSON.stringify(encodeData)}`);- }- })();-- const encoder = encoderMap[encodeData.type];-- return new Fileish(- [compressedData],- sourceFilename.replace(/.[^.]*$/, `.${encoder.extension}`),- { type: encoder.mimeType },- );-}--function stateForNewSourceData(state: State, newSource: SourceImage): State {- let newState = { ...state };-- for (const i of [0, 1]) {- // Ditch previous encodings- const downloadUrl = state.sides[i].downloadUrl;- if (downloadUrl) URL.revokeObjectURL(downloadUrl);-- newState = cleanMerge(state, `sides.${i}`, {- preprocessed: undefined,- file: undefined,- downloadUrl: undefined,- data: undefined,- encodedSettings: undefined,- });- }-- return newState;-}--async function processSvg(blob: Blob): Promise<HTMLImageElement> {- // Firefox throws if you try to draw an SVG to canvas that doesn't have width/height.- // In Chrome it loads, but drawImage behaves weirdly.- // This function sets width/height if it isn't already set.- const parser = new DOMParser();- const text = await blobToText(blob);- const document = parser.parseFromString(text, 'image/svg+xml');- const svg = document.documentElement!;-- if (svg.hasAttribute('width') && svg.hasAttribute('height')) {- return blobToImg(blob);- }-- const viewBox = svg.getAttribute('viewBox');- if (viewBox === null) throw Error('SVG must have width/height or viewBox');-- const viewboxParts = viewBox.split(/\s+/);- svg.setAttribute('width', viewboxParts[2]);- svg.setAttribute('height', viewboxParts[3]);-- const serializer = new XMLSerializer();- const newSource = serializer.serializeToString(document);- return blobToImg(new Blob([newSource], { type: 'image/svg+xml' }));-}--// These are only used in the mobile view-const resultTitles = ['Top', 'Bottom'];-// These are only used in the desktop view-const buttonPositions =- ['download-left', 'download-right'] as ('download-left' | 'download-right')[];--const originalDocumentTitle = document.title;--export default class Compress extends Component<Props, State> {- widthQuery = window.matchMedia('(max-width: 599px)');-- state: State = {- source: undefined,- loading: false,- loadingCounter: 0,- sides: [- {- latestSettings: {- preprocessorState: defaultPreprocessorState,- encoderState: { type: identity.type, options: identity.defaultOptions },- },- loadingCounter: 0,- loadedCounter: 0,- loading: false,- },- {- latestSettings: {- preprocessorState: defaultPreprocessorState,- encoderState: { type: mozJPEG.type, options: mozJPEG.defaultOptions },- },- loadingCounter: 0,- loadedCounter: 0,- loading: false,- },- ],- mobileView: this.widthQuery.matches,- };-- private readonly encodeCache = new ResultCache();- private readonly leftProcessor = new Processor();- private readonly rightProcessor = new Processor();- // For debouncing calls to updateImage for each side.- private readonly updateImageTimeoutIds: [number?, number?] = [undefined, undefined];-- constructor(props: Props) {- super(props);- this.widthQuery.addListener(this.onMobileWidthChange);- this.updateFile(props.file);-- import('../../lib/sw-bridge').then(({ mainAppLoaded }) => mainAppLoaded());- }-- @bind- private onMobileWidthChange() {- this.setState({ mobileView: this.widthQuery.matches });- }-- private onEncoderTypeChange(index: 0 | 1, newType: EncoderType): void {- this.setState({- sides: cleanSet(this.state.sides, `${index}.latestSettings.encoderState`, {- type: newType,- options: encoderMap[newType].defaultOptions,- }),- });- }-- private onPreprocessorOptionsChange(index: 0 | 1, options: PreprocessorState): void {- this.setState({- sides: cleanSet(this.state.sides, `${index}.latestSettings.preprocessorState`, options),- });- }-- private onEncoderOptionsChange(index: 0 | 1, options: EncoderOptions): void {- this.setState({- sides: cleanSet(this.state.sides, `${index}.latestSettings.encoderState.options`, options),- });- }-- private updateDocumentTitle(filename: string = ''): void {- document.title = filename ? `${filename} - ${originalDocumentTitle}` : originalDocumentTitle;- }-- componentWillReceiveProps(nextProps: Props): void {- if (nextProps.file !== this.props.file) {- this.updateFile(nextProps.file);- }- }-- componentWillUnmount(): void {- this.updateDocumentTitle();- }-- componentDidUpdate(prevProps: Props, prevState: State): void {- const { source, sides } = this.state;-- const sourceDataChanged =- // Has the source object become set/unset?- !!source !== !!prevState.source ||- // Or has the processed data changed?- (source && prevState.source && source.processed !== prevState.source.processed);-- for (const [i, side] of sides.entries()) {- const prevSettings = prevState.sides[i].latestSettings;- const encoderChanged = side.latestSettings.encoderState !== prevSettings.encoderState;- const preprocessorChanged =- side.latestSettings.preprocessorState !== prevSettings.preprocessorState;-- // The image only needs updated if the encoder/preprocessor settings have changed, or the- // source has changed.- if (sourceDataChanged || encoderChanged || preprocessorChanged) {- this.queueUpdateImage(i, {- skipPreprocessing: !sourceDataChanged && !preprocessorChanged,- });- }- }- }-- private async onCopyToOtherClick(index: 0 | 1) {- const otherIndex = (index + 1) % 2;- const oldSettings = this.state.sides[otherIndex];- const newSettings = { ...this.state.sides[index] };-- // Create a new object URL for the new settings. This avoids both sides sharing a URL, which- // means it can be safely revoked without impacting the other side.- if (newSettings.file) newSettings.downloadUrl = URL.createObjectURL(newSettings.file);-- this.setState({- sides: cleanSet(this.state.sides, otherIndex, newSettings),- });-- const result = await this.props.showSnack('Settings copied across', {- timeout: 5000,- actions: ['undo', 'dismiss'],- });-- if (result !== 'undo') return;-- this.setState({- sides: cleanSet(this.state.sides, otherIndex, oldSettings),- });- }-- @bind- private async onInputProcessorChange(options: InputProcessorState): Promise<void> {- const source = this.state.source;- if (!source) return;-- const oldRotate = source.inputProcessorState.rotate.rotate;- const newRotate = options.rotate.rotate;- const orientationChanged = oldRotate % 180 !== newRotate % 180;- const loadingCounter = this.state.loadingCounter + 1;- // Either processor is good enough here.- const processor = this.leftProcessor;-- this.setState({- loadingCounter, loading: true,- source: cleanSet(source, 'inputProcessorState', options),- });-- // Abort any current encode jobs, as they're redundant now.- this.leftProcessor.abortCurrent();- this.rightProcessor.abortCurrent();-- try {- const processed = await processInput(source.decoded, options, processor);-- // Another file has been opened/processed before this one processed.- if (this.state.loadingCounter !== loadingCounter) return;-- let newState = { ...this.state, loading: false };- newState = cleanSet(newState, 'source.processed', processed);- newState = stateForNewSourceData(newState, newState.source!);-- if (orientationChanged) {- // If orientation has changed, we should flip the resize values.- for (const i of [0, 1]) {- const resizeSettings = newState.sides[i].latestSettings.preprocessorState.resize;- newState = cleanMerge(newState, `sides.${i}.latestSettings.preprocessorState.resize`, {- width: resizeSettings.height,- height: resizeSettings.width,- });- }- }- this.setState(newState);- } catch (err) {- if (err.name === 'AbortError') return;- console.error(err);- // Another file has been opened/processed before this one processed.- if (this.state.loadingCounter !== loadingCounter) return;- this.props.showSnack('Processing error');- this.setState({ loading: false });- }- }-- @bind- private async updateFile(file: File | Fileish) {- const loadingCounter = this.state.loadingCounter + 1;- // Either processor is good enough here.- const processor = this.leftProcessor;-- this.setState({ loadingCounter, loading: true });-- // Abort any current encode jobs, as they're redundant now.- this.leftProcessor.abortCurrent();- this.rightProcessor.abortCurrent();-- try {- let decoded: ImageData;- let vectorImage: HTMLImageElement | undefined;-- // Special-case SVG. We need to avoid createImageBitmap because of- // https://bugs.chromium.org/p/chromium/issues/detail?id=606319.- // Also, we cache the HTMLImageElement so we can perform vector resizing later.- if (file.type.startsWith('image/svg+xml')) {- vectorImage = await processSvg(file);- decoded = drawableToImageData(vectorImage);- } else {- // Either processor is good enough here.- decoded = await decodeImage(file, processor);- }-- const processed = await processInput(decoded, defaultInputProcessorState, processor);-- // Another file has been opened/processed before this one processed.- if (this.state.loadingCounter !== loadingCounter) return;-- let newState: State = {- ...this.state,- source: {- decoded, file, vectorImage, processed,- inputProcessorState: defaultInputProcessorState,- },- loading: false,- };-- newState = stateForNewSourceData(newState, newState.source!);-- for (const i of [0, 1]) {- // Default resize values come from the image:- newState = cleanMerge(newState, `sides.${i}.latestSettings.preprocessorState.resize`, {- width: processed.width,- height: processed.height,- method: vectorImage ? 'vector' : 'lanczos3',- });- }-- this.updateDocumentTitle(file.name);- this.setState(newState);- } catch (err) {- if (err.name === 'AbortError') return;- console.error(err);- // Another file has been opened/processed before this one processed.- if (this.state.loadingCounter !== loadingCounter) return;- this.props.showSnack('Invalid image');- this.setState({ loading: false });- }- }-- /**- * Debounce the heavy lifting of updateImage.- * Otherwise, the thrashing causes jank, and sometimes crashes iOS Safari.- */- private queueUpdateImage(index: number, options: UpdateImageOptions = {}): void {- // Call updateImage after this delay, unless queueUpdateImage is called again, in which case the- // timeout is reset.- const delay = 100;-- clearTimeout(this.updateImageTimeoutIds[index]);-- this.updateImageTimeoutIds[index] = self.setTimeout(- () => {- this.updateImage(index, options).catch((err) => {- console.error(err);- });- },- delay,- );- }-- private async updateImage(index: number, options: UpdateImageOptions = {}): Promise<void> {- const {- skipPreprocessing = false,- } = options;- const { source } = this.state;- if (!source) return;-- // Each time we trigger an async encode, the counter changes.- const loadingCounter = this.state.sides[index].loadingCounter + 1;-- let sides = cleanMerge(this.state.sides, index, {- loadingCounter,- loading: true,- });-- this.setState({ sides });-- const side = sides[index];- const settings = side.latestSettings;-- let file: File | Fileish | undefined;- let preprocessed: ImageData | undefined;- let data: ImageData | undefined;- const cacheResult = this.encodeCache.match(- source.processed, settings.preprocessorState, settings.encoderState,- );- const processor = (index === 0) ? this.leftProcessor : this.rightProcessor;-- // Abort anything the processor is currently doing.- // Although the processor will abandon current tasks when a new one is called,- // we might not call another task here. Eg, we might get the result from the cache.- processor.abortCurrent();-- if (cacheResult) {- ({ file, preprocessed, data } = cacheResult);- } else {- try {- // Special case for identity- if (settings.encoderState.type === identity.type) {- file = source.file;- data = source.processed;- } else {- preprocessed = (skipPreprocessing && side.preprocessed)- ? side.preprocessed- : await preprocessImage(source, settings.preprocessorState, processor);-- file = await compressImage(- preprocessed, settings.encoderState, source.file.name, processor,- );- data = await decodeImage(file, processor);-- this.encodeCache.add({- data,- preprocessed,- file,- sourceData: source.processed,- encoderState: settings.encoderState,- preprocessorState: settings.preprocessorState,- });- }- } catch (err) {- if (err.name === 'AbortError') return;- this.props.showSnack(`Processing error (type=${settings.encoderState.type}): ${err}`);- throw err;- }- }-- const latestData = this.state.sides[index];- // If a later encode has landed before this one, return.- if (loadingCounter < latestData.loadedCounter) {- return;- }-- if (latestData.downloadUrl) URL.revokeObjectURL(latestData.downloadUrl);-- sides = cleanMerge(this.state.sides, index, {- file,- data,- preprocessed,- downloadUrl: URL.createObjectURL(file),- loading: sides[index].loadingCounter !== loadingCounter,- loadedCounter: loadingCounter,- encodedSettings: settings,- });-- this.setState({ sides });- }-- render({ onBack }: Props, { loading, sides, source, mobileView }: State) {- const [leftSide, rightSide] = sides;- const [leftImageData, rightImageData] = sides.map(i => i.data);-- const options = sides.map((side, index) => (- // tslint:disable-next-line:jsx-key- <Options- source={source}- mobileView={mobileView}- preprocessorState={side.latestSettings.preprocessorState}- encoderState={side.latestSettings.encoderState}- onEncoderTypeChange={this.onEncoderTypeChange.bind(this, index as 0|1)}- onEncoderOptionsChange={this.onEncoderOptionsChange.bind(this, index as 0|1)}- onPreprocessorOptionsChange={this.onPreprocessorOptionsChange.bind(this, index as 0|1)}- />- ));-- const copyDirections =- (mobileView ? ['down', 'up'] : ['right', 'left']) as CopyAcrossIconProps['copyDirection'][];-- const results = sides.map((side, index) => (- // tslint:disable-next-line:jsx-key- <Results- downloadUrl={side.downloadUrl}- imageFile={side.file}- source={source}- loading={loading || side.loading}- copyDirection={copyDirections[index]}- onCopyToOtherClick={this.onCopyToOtherClick.bind(this, index as 0|1)}- buttonPosition={mobileView ? 'stack-right' : buttonPositions[index]}- >- {!mobileView ? null : [- <ExpandIcon class={style.expandIcon} key="expand-icon"/>,- `${resultTitles[index]} (${encoderMap[side.latestSettings.encoderState.type].label})`,- ]}- </Results>- ));-- // For rendering, we ideally want the settings that were used to create the data, not the latest- // settings.- const leftDisplaySettings = leftSide.encodedSettings || leftSide.latestSettings;- const rightDisplaySettings = rightSide.encodedSettings || rightSide.latestSettings;- const leftImgContain = leftDisplaySettings.preprocessorState.resize.enabled &&- leftDisplaySettings.preprocessorState.resize.fitMethod === 'contain';- const rightImgContain = rightDisplaySettings.preprocessorState.resize.enabled &&- rightDisplaySettings.preprocessorState.resize.fitMethod === 'contain';-- return (- <div class={style.compress}>- <Output- source={source}- mobileView={mobileView}- leftCompressed={leftImageData}- rightCompressed={rightImageData}- leftImgContain={leftImgContain}- rightImgContain={rightImgContain}- onBack={onBack}- inputProcessorState={source && source.inputProcessorState}- onInputProcessorChange={this.onInputProcessorChange}- />- {mobileView- ? (- <div class={style.options}>- <multi-panel class={style.multiPanel} open-one-only>- {results[0]}- {options[0]}- {results[1]}- {options[1]}- </multi-panel>- </div>- ) : ([- <div class={style.options} key="options0">- {options[0]}- {results[0]}- </div>,- <div class={style.options} key="options1">- {options[1]}- {results[1]}- </div>,- ])- }- </div>- );- }-}diff --git a/src/components/custom-els/LoadingSpinner/index.ts b/src/components/custom-els/LoadingSpinner/index.tsdeleted file mode 100644index 843b1b65..00000000--- a/src/components/custom-els/LoadingSpinner/index.ts+++ /dev/null@@ -1,62 +0,0 @@-import * as styles from './styles.css';--/**- * A simple spinner. This custom element has no JS API. Just put it in the document, and it'll- * spin. You can configure the following using CSS custom properties:- *- * --size: Size of the spinner element (it's always square). Default: 28px.- * --color: Color of the spinner. Default: #4285f4.- * --stroke-width: Width of the stroke of the spinner. Default: 3px.- * --delay: Once the spinner enters the DOM, how long until it shows. This prevents the spinner- * appearing on the screen for short operations. Default: 300ms.- */-export default class LoadingSpinner extends HTMLElement {- private _delayTimeout: number = 0;-- constructor() {- super();-- // Ideally we'd use shadow DOM here, but we're targeting browsers without shadow DOM support.- // You can't set attributes/content in a custom element constructor, so I'm waiting a microtask.- Promise.resolve().then(() => {- this.style.display = 'none';- this.innerHTML = '' +- `<div class="${styles.spinnerContainer}">` +- `<div class="${styles.spinnerLayer}">` +- `<div class="${styles.spinnerCircleClipper} ${styles.spinnerLeft}">` +- `<div class="${styles.spinnerCircle}"></div>` +- '</div>' +- `<div class="${styles.spinnerGapPatch}">` +- `<div class="${styles.spinnerCircle}"></div>` +- '</div>' +- `<div class="${styles.spinnerCircleClipper} ${styles.spinnerRight}">` +- `<div class="${styles.spinnerCircle}"></div>` +- '</div>' +- '</div>' +- '</div>';- });- }-- disconnectedCallback() {- this.style.display = 'none';- clearTimeout(this._delayTimeout);- }-- connectedCallback() {- const delayStr = getComputedStyle(this).getPropertyValue('--delay').trim();- let delayNum = parseFloat(delayStr);-- // If seconds…- if (/\ds$/.test(delayStr)) {- // Convert to ms.- delayNum *= 1000;- }-- this._delayTimeout = self.setTimeout(- () => { this.style.display = ''; },- delayNum,- );- }-}--customElements.define('loading-spinner', LoadingSpinner);diff --git a/src/components/custom-els/LoadingSpinner/missing-types.d.ts b/src/components/custom-els/LoadingSpinner/missing-types.d.tsdeleted file mode 100644index b9f29dc3..00000000--- a/src/components/custom-els/LoadingSpinner/missing-types.d.ts+++ /dev/null@@ -1,7 +0,0 @@-interface LoadingSpinner extends JSX.HTMLAttributes {}--declare namespace JSX {- interface IntrinsicElements {- 'loading-spinner': LoadingSpinner;- }-}diff --git a/src/components/expander/index.tsx b/src/components/expander/index.tsxdeleted file mode 100644index 8099937a..00000000--- a/src/components/expander/index.tsx+++ /dev/null@@ -1,71 +0,0 @@-import { h, Component, ComponentChild, ComponentChildren } from 'preact';-import * as style from './style.scss';-import { transitionHeight } from '../../lib/util';--interface Props {- children: ComponentChildren;-}-interface State {- outgoingChildren: ComponentChild[];-}--export default class Expander extends Component<Props, State> {- state: State = {- outgoingChildren: [],- };- private lastElHeight: number = 0;-- componentWillReceiveProps(nextProps: Props) {- const children = this.props.children as ComponentChild[];- const nextChildren = nextProps.children as ComponentChild[];-- if (!nextChildren[0] && children[0]) {- // Cache the current children for the shrink animation.- this.setState({ outgoingChildren: children });- }- }-- componentWillUpdate(nextProps: Props) {- const children = this.props.children as ComponentChild[];- const nextChildren = nextProps.children as ComponentChild[];-- // Only interested if going from empty to not-empty, or not-empty to empty.- if ((children[0] && nextChildren[0]) || (!children[0] && !nextChildren[0])) return;- this.lastElHeight = this.base!.getBoundingClientRect().height;- }-- async componentDidUpdate(previousProps: Props) {- const children = this.props.children as ComponentChild[];- const previousChildren = previousProps.children as ComponentChild[];-- // Only interested if going from empty to not-empty, or not-empty to empty.- if ((children[0] && previousChildren[0]) || (!children[0] && !previousChildren[0])) return;-- // What height do we need to transition to?- this.base!.style.height = '';- this.base!.style.overflow = 'hidden';- const newHeight = children[0] ? this.base!.getBoundingClientRect().height : 0;-- await transitionHeight(this.base!, {- duration: 300,- from: this.lastElHeight,- to: newHeight,- });-- // Unset the height & overflow, so element changes do the right thing.- this.base!.style.height = '';- this.base!.style.overflow = '';- if (this.state.outgoingChildren[0]) this.setState({ outgoingChildren: [] });- }-- render(props: Props, { outgoingChildren }: State) {- const children = props.children as ComponentChild[];- const childrenExiting = !children[0] && outgoingChildren[0];-- return (- <div class={childrenExiting ? style.childrenExiting : ''}>- {children[0] ? children : outgoingChildren}- </div>- );- }-}diff --git a/src/components/intro/imgs/logo.svg b/src/components/intro/imgs/logo.svgdeleted file mode 100644index 72a3656e..00000000--- a/src/components/intro/imgs/logo.svg+++ /dev/null@@ -1 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 414 414"><style>.i{mix-blend-mode:overlay}.k{opacity:.3}.n{fill:#f7ddc4}.o{fill:#eaceb1}.p{fill:#f8e9db}</style><circle cx="207" cy="207" r="203.5" fill="#40403f" stroke="#4a494a" stroke-width="7"/><path fill="#e17926" d="M69.9 122l-6-7.8 11.8-7.3a41.8 41.8 0 0 0-5.8 15.1zm52.1 91.3l-2.8.2c-1.9.2-5.1-.6-7.3.1l1.4 7.1 9.6-2.9a35.8 35.8 0 0 0-.9-4.5zm-3.5 65.1l-1.8 2.2-.4 5.4 1.8-.5a64.5 64.5 0 0 1 8.4-2.1l.6-11.2a29.5 29.5 0 0 0-8.6 6.2zM315.4 81.3a268.6 268.6 0 0 0-94.3-17.7c-40.6 0-79.5 10-116.8 27.9a66.2 66.2 0 0 1 15.8 3.8c7.8-3.4 15.5-6.3 23.3-8.9a247.1 247.1 0 0 1 77.7-12.8A256.8 256.8 0 0 1 301.6 87c-19.6 42-31.5 80-36.3 115.9a255.8 255.8 0 0 0-1.2 60.4 228.7 228.7 0 0 0 11.4 50.4c-34 19.8-66.7 29.4-99.7 29.4a174.2 174.2 0 0 1-55.5-9.3 33.4 33.4 0 0 1-12.1 2.4l-.9 3.5a185.7 185.7 0 0 0 68.5 13.4c38.9 0 76.2-12.9 112-35.1-28.9-73-14-151.5 27.6-236.7zM97.9 158.4c-1.9-3.9-3.9-7.7-6-11.5-.7 1.2-1.5 4-2.9 5.1l3.7 7.1a43.4 43.4 0 0 1 5.2-.7z"/><path fill="#f78f20" d="M270.2 203.5c5-36.7 17.5-75.9 38.3-119.4a263.4 263.4 0 0 0-87.4-15.5c-35.9 0-72.2 8.2-108.2 24.5a64.2 64.2 0 0 1 29.6 16.6l1.4 1.5a12.6 12.6 0 0 1 3.3 4.7 12.7 12.7 0 0 1-.4 6.7 30.3 30.3 0 0 1-14.6 17.9c-8.2 4.4-17.5 3.5-26.4 1.6-2.5-.5-5.2-1-7.8-.4s-4.6 2.6-6.1 5.1c2.1 3.8 4.1 7.6 6 11.5a114.4 114.4 0 0 1 11.8-.4c10.1-.1 20.2-.8 30.2.8a56.9 56.9 0 0 1 13.5 3.4 14.7 14.7 0 0 1 4.7 2.7h.1a16 16 0 0 1 3.5 5.7c6.5 17.8-6.8 33.5-22.8 39.2a70 70 0 0 1-19.7 3.7 8.5 8.5 0 0 1-2.2-.1l1.1 5.8c3.7-1.1 7.4-2.2 11.2-3.1a126.7 126.7 0 0 1 16.3-3.1c4.2-.4 10.8-1.9 14.2 1.3 1.8 1.6 2.8 4 3.8 6.3a128.1 128.1 0 0 1 4.7 12.2 24.2 24.2 0 0 1 1.2 10.3c-.9 5.8-5.3 10.6-10.3 13.8-9.3 6-20.1 9.3-29.9 14.1a59.6 59.6 0 0 0-7.4 4.3l-.5 9.2a87.2 87.2 0 0 1 36.3-1.5 18 18 0 0 1 6.4 2.2c3.6 2.2 5.4 6.5 5.4 10.7s-1.7 8.2-3.8 11.8a50.1 50.1 0 0 1-25.9 20.5c-5.1 1.8-10.4 2.5-15.4 4.2a100.2 100.2 0 0 1-11 3.4 3.1 3.1 0 0 1-.2.8 182.4 182.4 0 0 0 62.6 11.5c35.1 0 69.7-10.5 105.8-32.2a227.4 227.4 0 0 1-11.4-112.3z"/><path fill="#fdcda0" d="M206.8 168.3c7.4-1.2 14.8-11.1 17-22.9s-5.1-21.6-16.4-20.6-18 12.4-16.3 24.3 8.3 20.3 15.7 19.2z"/><path fill="#e17827" d="M246 233.2c-20.9-13.4-30.4-36.2-46.7-59.1-15.5 28-21.7 56.9-41.2 79.1 32.3 1.6 61-7.7 87.9-20z"/><path fill="#c86228" d="M220.6 272.7c-26.7-24.5-36.9-61.6-76.5-83.3 6 34.1 6.9 63.9-14.8 88.9 33.8 8.1 63.7 3.9 91.3-5.6z"/><path fill="none" stroke="#e17827" stroke-miterlimit="10" stroke-width="4" d="M253.3 244c-40.4 17.8-82.8 29-129.6 21.2 7.6-44.3 1.1-86.8-29.1-125.5 51.5-23.9 109.6-38.6 177.2-27.3C250.5 159.3 241 203 253.3 244z"/><g fill="#c96328" opacity=".5"><path d="M151 116.7a4.1 4.1 0 0 0-.5-1.9l-.4-.5c-1-.8-2.5-.9-3.7-1.3l-1.7-.7-.6-.6a64.6 64.6 0 0 0-38.1-19 27.4 27.4 0 0 0-10.3.3c-14.9 3.8-26.8 23.5-24.8 38.3 1.3 9.5 8.2 15.2 15.4 20.7a4.7 4.7 0 0 0 2 1c2.3.3 3.4-4 4.4-5.4s3-4.4 6.1-5a19.3 19.3 0 0 1 7.9.6c8.8 2.1 18.1 3.1 26.4-1.1a26.6 26.6 0 0 0 6.8-4.7 4.2 4.2 0 0 0 1.4-.9 36.2 36.2 0 0 0 4.2-3.6l2.1-2.1a15.4 15.4 0 0 0 3.1-7.7 27.5 27.5 0 0 0 .3-6.4zM207.2 195.8a16 16 0 0 1 1-2.3c5.7-13.4 15.5-24.4 25.4-34.9s19.5-19.1 32.8-22.4a68 68 0 0 1 27.7.4c5.5 1 11.7 1.4 16.8 4s8.9 8 12 12.7a417 417 0 0 1 24.9 44.2c4.7 9.3 10.1 18.7 10.1 29.3a72 72 0 0 1-3.4 19.6c-5.1 17.1-12.5 33.8-19.9 49.9s-16.3 30.5-30.8 40c-21.2 14-48.1 11.4-71.9 8-4-.6-37.8-3.9-38.1-7.1-.2-1.6 10.7-5.2 12.2-5.9a91 91 0 0 0 36.4-28.2 39.8 39.8 0 0 0 6.8-15.8c1.5-8.4 4.1-16.6 8.8-23.7s11.1-12.1 11.1-21.2c0-3.2-.7-6.3-.4-9.5s1.8-6.5 4.8-7.6 4-.5 5-2.1a4 4 0 0 0 .6-2.2 58.4 58.4 0 0 1 8.9-23 67 67 0 0 1-34.8 26.9c-8.8 3.5-18.5 5.8-27.8 4s-18.2-8.5-20.1-17.8a27 27 0 0 1 1.9-15.3zM165.2 180.8a16.2 16.2 0 0 0 .1-2.2 24.3 24.3 0 0 0-1.3-8.9 5.3 5.3 0 0 0-2.8-3.4 2.8 2.8 0 0 0-1.3-.3 15.1 15.1 0 0 0-4.6-2.7 68.5 68.5 0 0 0-13.5-3.4c-10-1.6-20.1-.8-30.2-.8s-19.3 0-27.7 5-12.9 14.6-14.6 23.4-.2 17.2 4.7 24a29.6 29.6 0 0 0 34.1 9.3 6.1 6.1 0 0 0 2.2-1.3c.8-.9 1-2.2 1.6-3.3 1.5-2.9 6.5-1.4 9.1-1.5a77.1 77.1 0 0 0 19.7-3.7c8.9-3.2 17-9.5 21.3-17.5a3.1 3.1 0 0 0 1.6-1.4 8.5 8.5 0 0 0 .6-1.7 45.2 45.2 0 0 0 .8-6.3 18.3 18.3 0 0 0 .2-3.3zM177.8 234.6a24.9 24.9 0 0 0-3.5-11.6c-1.5-2.3-2.3-4.8-5.1-5.2a19.9 19.9 0 0 0-5 .7 9.7 9.7 0 0 0-1.9-2.6c-3.2-3.2-9.9-2-14.1-1.7a130.1 130.1 0 0 0-16.4 2.6 217.7 217.7 0 0 0-31.7 9.4c-9 3.5-18.8 6.8-25.5 14.1-2.5 2.8-6.8 8-7.6 11.7-2.7 12.1.7 27.1 12.6 33.3 7.1 3.7 15.7 3.2 23.7 2.1 4.2-.6 8.5-1.4 11.7-4.1 1.5-1.4 2.7-3.1 4.1-4.5 3-3.2 7-5.3 11-7.1 10-4.5 20.9-7.5 30.3-13.2 5.1-3.1 9.6-7.7 10.7-13.5a8.5 8.5 0 0 0 .3-2.3l2.7-1.3a8.4 8.4 0 0 0 3.2-2.7 6.4 6.4 0 0 0 .5-4.1zM174.7 294.9c-.8-3.2-2.2-6.9-5.7-7.8a6.4 6.4 0 0 0-2-.3l-1.4-1.1a20.2 20.2 0 0 0-6.4-2.2 85.6 85.6 0 0 0-39.6 2.4c-11.1 3.3-30.9 10.3-32.1 23.8a22.7 22.7 0 0 0 4.1 14.7c3.8 5.9 10.3 11.9 17.7 12.2 5.8.2 11.1-2 16.4-3.8s10.4-2.3 15.4-4.2a51 51 0 0 0 24.6-18.3l.8-.2a13.8 13.8 0 0 0 6.7-3.4 9.2 9.2 0 0 0 1.5-2.5c1.3-3 .8-6.3 0-9.3z"/></g><path d="M143.1 110.7a64.4 64.4 0 0 0-38-19 26 26 0 0 0-10.4.3c-14.8 3.7-26.8 23.5-24.8 38.3 1.4 9.5 8.2 15.2 15.4 20.6a4.9 4.9 0 0 0 2 1.1c2.3.3 3.4-4 4.4-5.5s3.1-4.3 6.2-4.9a18.7 18.7 0 0 1 7.8.6c8.8 2.1 18.1 3.1 26.5-1.1a30.1 30.1 0 0 0 14.9-17.4 11.8 11.8 0 0 0 .5-6.7 12.4 12.4 0 0 0-3.1-4.8z" class="n"/><path d="M132.2 141.1l2.8-1.6c-8.6-1.3-12.2-.1-14-.7s-9.4-.2-12-.9-6.1-.5-8.3-1a51.4 51.4 0 0 0-9.8-1.4c-5.1-.5-9.4-2.5-12.3-.3s-4 2.6-5.6 3.6c3 4.8 7.6 8.5 12.3 12.1a4.9 4.9 0 0 0 2 1.1c2.3.3 3.4-4 4.4-5.5s3.1-4.3 6.2-4.9a18.7 18.7 0 0 1 7.8.6c8.8 2.1 18.1 3.1 26.5-1.1z" class="o"/><path d="M147.6 117a12.4 12.4 0 0 0-3.1-4.8l-1.4-1.5a64.4 64.4 0 0 0-38-19 26 26 0 0 0-10.4.3s-13.2 6.8-12.2 21.9c1.3 19 5.1 18.9 15.4 27.7a18.7 18.7 0 0 1 7.8.6c8.8 2.1 18.1 3.1 26.5-1.1a30.1 30.1 0 0 0 14.9-17.4 11.8 11.8 0 0 0 .5-6.7z" class="k p"/><path fill="#34b9eb" d="M149.5 114.8l-.4-.5c-1-.8-2.5-.9-3.7-1.3l-4.7-1.8-8.2-2.4c-6.5-1.7-14.1-3.4-20.3.2a12.3 12.3 0 0 0-6.2 8.4 10.2 10.2 0 0 0 2.8 8.8c2.5 2.4 6.4 3.7 9.7 4.9a71.8 71.8 0 0 0 19.3 5.3 5.4 5.4 0 0 0 2.2 0 3.8 3.8 0 0 0 1.3-.9 29.7 29.7 0 0 0 5.3-4.7 15.4 15.4 0 0 0 3.1-7.7 27.5 27.5 0 0 0 .3-6.4 3.8 3.8 0 0 0-.5-1.9z"/><path d="M347.5 196.5c-4.8-9.6-9.8-19.1-15.1-28.4l-2.6-4.4-1.1-1.8-2-3.3a8.6 8.6 0 0 1-1-1.6l-3.1-4.7c-3.2-4.7-6.8-10-12.1-12.7s-11.2-3-16.7-4a68 68 0 0 0-27.7-.4c-13.4 3.3-23.7 12.7-32.9 22.4s-19.6 21.5-25.4 34.9l-.9 2.3c-1.9 4.9-3 10.2-1.9 15.3 1.8 9.3 10.7 16.1 20.1 17.9l1.7.2H237a68.1 68.1 0 0 0 15.9-4.3 67.3 67.3 0 0 0 34.8-26.9 86.4 86.4 0 0 0-5.8 11.3 44.8 44.8 0 0 0-3.1 11.7 5.1 5.1 0 0 1-.6 2.2c-1 1.6-3.3 1.5-5 2.1a3.8 3.8 0 0 0-1.5.9 217.1 217.1 0 0 0 15.5 93.5 249.7 249.7 0 0 1-51.1 25.2c22.7 3.1 47.5 4.5 67.4-8.5 14.5-9.6 23.7-24.7 30.8-40.1s14.8-32.8 19.8-49.9a68.3 68.3 0 0 0 3.4-19.6c.1-10.6-5.4-20-10-29.3z" class="n"/><path d="M271.8 234.5a12.1 12.1 0 0 0-.1 1.9v1.6l.1 4.2v1.6l.2 4.3.1 1.5.3 4.5a4.9 4.9 0 0 0 .1 1.2l.5 5.5v.2c.4 3.8.9 7.7 1.6 11.5a5.9 5.9 0 0 0 .2 1.3l.7 4.2a16.2 16.2 0 0 1 .4 1.9l.8 3.7.4 2.1.8 3.4.6 2.2.9 3.4.6 2.2 1 3.3a18.7 18.7 0 0 0 .7 2.2l1.1 3.4a17.2 17.2 0 0 0 .7 2.1 52 52 0 0 0 1.3 3.6l.6 1.8 2.1 5.4-5.9 3.7-.5.3-5.7 3.3-.7.4-5.6 3-.8.5-5.6 2.8-.9.5-5.6 2.7-.8.3-5.7 2.6-.8.3-5.8 2.3-.5.2-6.2 2.3c22.7 3.1 47.5 4.5 67.4-8.6a65.9 65.9 0 0 0 15.9-14.8 139.2 139.2 0 0 0-47.9-86zm47.3-65.8c5.8-10.3 4.7-8.6 1.3-19.6-2.7-3.8-5.8-7.4-9.9-9.5s-11.2-3-16.7-4c-3.4-.6-6.7-1.1-10.1-1.4 12.5 11 15.8 21.9 15.9 31.2s-7.9 24.2-11.9 31.6-20 39.9 3.1 10.4c7.2-9.1 15.7-14.5 20.9-23.5s.9-3.5 7.4-15.2z" class="o"/><path d="M293.6 142c-2.4-2.4-6.5-7.1-10-7.9a51.9 51.9 0 0 0-16.2 1.1c-13.3 3.3-23.7 12.7-32.8 22.4s-19.7 21.5-25.4 34.9a16 16 0 0 0-1 2.3c-1.9 4.9-3 10.2-1.9 15.3 1.8 8.9 9.9 15.4 18.7 17.5 13.9.1 35.1-7.3 51-23.6 22.6-23.1 29.8-50.1 17.6-62z" class="k p"/><path fill="#9f87bf" d="M232.5 178.7a16.6 16.6 0 0 0-4.9 3c-4.1 3-7.7 6.6-11.4 9.9s-9.4 6.5-10.8 11.9a14.6 14.6 0 0 0 .6 8.5c1.5 4.8 4.2 9.4 8.4 12.2 7.7 5.1 16.1.7 22.5-4.4s13.1-8.8 16.4-15.7-1.3-13.2-5-17.9-8.9-9.2-14.9-7.8z"/><path fill="#fff" d="M249.3 187.5l-39.5 32.2a19.7 19.7 0 0 0 4.6 4.5c7.7 5.1 16.1.7 22.5-4.4s13.1-8.8 16.4-15.7c2.6-5.4-.6-11.9-4-16.6z" opacity=".1"/><path d="M158.1 165.1h-.1a16.9 16.9 0 0 0-4.7-2.7 68.5 68.5 0 0 0-13.5-3.4c-10-1.6-20.1-.8-30.2-.8s-19.3 0-27.7 5-12.9 14.5-14.6 23.3-.2 17.2 4.7 24a29.7 29.7 0 0 0 34.1 9.3 6.1 6.1 0 0 0 2.2-1.3c.8-.9 1-2.2 1.6-3.3 1.5-2.9 6.5-1.4 9.1-1.5a77.1 77.1 0 0 0 19.7-3.7c16.1-5.8 29.4-21.5 22.9-39.2a15.2 15.2 0 0 0-3.5-5.7z" class="n"/><path d="M115 226.6c2.6-.8-.5-7.5-2.8-11.9a1.4 1.4 0 0 0-1.3-.6c2.1-1.3 6-.3 8.1-.4a77.1 77.1 0 0 0 19.7-3.7 41.7 41.7 0 0 0 18.2-12.8c-14.4-1.6-20.9 12-42.4 9.7-9.4-1-17.5 1.3-25.7 1.5s-14.9-3.8-17.5 1l.7 1.1c4.3 6 11.2 9.7 18.5 10.9h.3a25.6 25.6 0 0 0 4.7.4c5.9.9 11.6 3.2 17.4 4.6a3.8 3.8 0 0 0 2.1.2z" class="o"/><path d="M158.1 165.1h-.1a16.9 16.9 0 0 0-4.7-2.7 68.5 68.5 0 0 0-13.5-3.4c-10-1.6-20.1-.8-30.2-.8s-24 4.9-25.4 21.5c-2.5 30.8 44.5 31.4 56.8 28.9a27.7 27.7 0 0 0 20.6-37.7 15.2 15.2 0 0 0-3.5-5.8z" class="k p"/><path fill="#5d509e" d="M119 180.8a12.7 12.7 0 0 1 3.1-8.4c3-3.4 6.8-4.1 11.1-4.8l6.5-.9c5.9-.7 11.9-1.5 18-1.7a7.2 7.2 0 0 1 2.5.3 5.3 5.3 0 0 1 2.8 3.4 24.3 24.3 0 0 1 1.3 8.9 58.9 58.9 0 0 1-1.1 11.8 8.5 8.5 0 0 1-.6 1.7c-1.1 1.9-3.8 2.1-5.7 2.4a115.4 115.4 0 0 1-23.5.5 21.5 21.5 0 0 1-6.7-1.3 12.4 12.4 0 0 1-7.7-11.9z"/><g fill="#ddc1a8"><path d="M89 149c-1.6 0-1.6-.3-4.2-.7s-1.7-.2-2.8-.1h-.2l3.5 2.7 1.1.8 1.2.3a2.5 2.5 0 0 0 1.5-.8l1-1.4.3-.7zM90.2 221.4h-.1c7.9-.3 15.3 3.2 22.8 5a3.8 3.8 0 0 0 2.1.2c2.6-.8-.5-7.5-2.8-11.9a1.3 1.3 0 0 0-2.2-.1c-3.2 4.4-17.7 6.6-19.8 6.8zM272.5 255.8l-.1-.8a1.9 1.9 0 0 0 .1.8zm-.7-12.8l-.1-5.7.1 5.7zm1.6-18.9c1.8-.6 4.1-.5 5.1-2a6 6 0 0 0 .6-2.2 44.5 44.5 0 0 1 3.1-11.8 85.5 85.5 0 0 1 5.7-11.3 52.7 52.7 0 0 1-15.1 16.4l-.9 11.8zm-1.4 25.1l.4 5.5-.4-5.5zm-.2-6.2l.2 5.8-.2-5.8zm.1-17.8c-.2 3.9-.2 7.8-.2 11.7 0-3.9 0-7.8.2-11.7z"/></g><path d="M66 250.9c.9-3.7 5.1-8.9 7.6-11.6 6.7-7.3 16.5-10.6 25.6-14.1a216.5 216.5 0 0 1 31.6-9.4 114.2 114.2 0 0 1 16.4-2.6c4.2-.3 10.9-1.6 14.2 1.7a18.3 18.3 0 0 1 3.6 6.4 106.8 106.8 0 0 1 4.3 12.4 24 24 0 0 1 .9 10.3c-1.1 5.8-5.7 10.4-10.7 13.4-9.5 5.7-20.4 8.7-30.4 13.3-4 1.8-7.9 3.9-10.9 7-1.5 1.5-2.6 3.2-4.2 4.5a21.7 21.7 0 0 1-11.6 4.1c-8 1.2-16.6 1.7-23.8-2.1-11.8-6.2-15.3-21.1-12.6-33.3z" class="n"/><path d="M111.7 282.9c3.2-1.4 5.9-5.2 8-7.8a1.6 1.6 0 0 1 .8-.6.8.8 0 0 1 .8.3c2.4 1.5-3.6 6.3-3.1 9.2a6.3 6.3 0 0 1-.2 2.7c-.4.9-1.9.5-2.8.6-7 1.1-4-2.5-10.8-1.3 2.9-1.4 4.7-1.9 7.3-3.1zm46.9-31.9c-3.1.4-41.4 15.3-46.8 17.1s-14.2 5.4-23.1 5.4-11 .6-13.4 3.6l-2.5 2.8a20.9 20.9 0 0 0 5.8 4.3c7.2 3.8 15.8 3.3 23.8 2.1 4.1-.5 8.4-1.4 11.6-4.1 1.6-1.3 2.7-3 4.2-4.5 3-3.1 6.9-5.2 10.9-7 10-4.6 20.9-7.6 30.4-13.3a24.9 24.9 0 0 0 7.8-7z" class="o"/><path d="M169.3 233.7a106.8 106.8 0 0 0-4.3-12.4 18.3 18.3 0 0 0-3.6-6.4c-3.3-3.3-10-2-14.2-1.7a114.2 114.2 0 0 0-16.4 2.6 208.6 208.6 0 0 0-24.6 6.9c-15.7 10-20.6 21.9-17 32.2C93.7 268 114 271 136 265.8c8-3.2 16-3.9 23.5-8.4 5-3 9.6-7.6 10.7-13.4a24 24 0 0 0-.9-10.3z" class="k p"/><path fill="#41439a" d="M132.9 227.8c2.9-3.7 8.6-5.6 12.9-6.8s10.2-2 15.3-3.1c1.8-.4 5.3-1.4 7.2-1.1s3.5 2.9 5.1 5.2 3.1 7.6 3.5 11.6a7.4 7.4 0 0 1-.6 4.1 8.4 8.4 0 0 1-3.2 2.7 58.2 58.2 0 0 1-8.1 3.5 118.4 118.4 0 0 1-13.3 3.6c-5.2 1.2-11.5 2.9-16.1-.8a12.5 12.5 0 0 1-4.1-7c-.8-3.4-1-8.1.9-11.2z"/><path fill="#fff" d="M176 228.1l-44.3 12.5a12 12 0 0 0 3.9 6.1c4.6 3.7 10.9 2 16.1.8a118.4 118.4 0 0 0 13.3-3.6 58.2 58.2 0 0 0 8.1-3.5 8.4 8.4 0 0 0 3.2-2.7 7.4 7.4 0 0 0 .6-4.1 52.5 52.5 0 0 0-.9-5.5z" class="i" opacity=".4"/><path d="M164.6 284.7a20.2 20.2 0 0 0-6.4-2.2 85.6 85.6 0 0 0-39.6 2.4c-11.1 3.3-30.9 10.3-32.1 23.8a22.7 22.7 0 0 0 4.1 14.7c3.8 5.9 10.3 11.9 17.7 12.2 5.8.2 11.1-2 16.4-3.8s10.4-2.3 15.4-4.2a50.2 50.2 0 0 0 26-20.4 22.9 22.9 0 0 0 3.8-11.8c.1-4.1-1.8-8.5-5.3-10.7z" class="n"/><path d="M144.4 319.9c-9 3-16.7 3.9-24.8 6.2s-16.5-6.4-21.4 5.6a18.4 18.4 0 0 0 10.1 3.9c5.8.2 11.1-2 16.4-3.8s10.4-2.3 15.4-4.2c9-3.3 17.3-8.7 23.1-16.3-7.3 3.5-14.3 7.1-18.8 8.6z" class="o"/><path d="M164.6 284.7a20.2 20.2 0 0 0-6.4-2.2 86.7 86.7 0 0 0-38.9 2.1c-8.6 7.6-12.9 16.4-10.6 24.2 3.4 11.6 16 23 41.2 14.1a46.8 46.8 0 0 0 16.2-15.7 22.9 22.9 0 0 0 3.8-11.8c.1-4.1-1.8-8.5-5.3-10.7z" class="k p"/><path fill="#005c9f" d="M132.6 303.9c1.8 4.7 6.9 7.4 11.6 8.1a31.6 31.6 0 0 0 9.7-.3c3.9-.7 7.8-1.6 11.6-2.6a13.4 13.4 0 0 0 6.7-3.4 9.2 9.2 0 0 0 1.5-2.5c1.3-3 .8-6.3 0-9.3s-2.2-6.9-5.7-7.8a12.8 12.8 0 0 0-5.5 0c-5.3.8-10.4 2.7-15.7 3.7-3.2.7-6.5 1.3-9.3 3s-5.3 4.5-5.5 7.7a9.7 9.7 0 0 0 .6 3.4z"/><g fill="#fff" class="i k"><path d="M106.3 116.2l-.3 1.2a10.2 10.2 0 0 0 2.8 8.8c2.5 2.4 6.4 3.7 9.7 4.9a71.8 71.8 0 0 0 19.3 5.3 5.4 5.4 0 0 0 2.2 0 3.8 3.8 0 0 0 1.3-.9 29.7 29.7 0 0 0 5.3-4.7 14.4 14.4 0 0 0 1.9-3.1zM119.1 182.4a12.4 12.4 0 0 0 7.6 10.3 21.5 21.5 0 0 0 6.7 1.3 115.4 115.4 0 0 0 23.5-.5c1.9-.3 4.6-.5 5.7-2.4a8.5 8.5 0 0 0 .6-1.7 61 61 0 0 0 1.1-11.3zM132.9 304.7c2.1 4.2 6.8 6.7 11.3 7.3a31.6 31.6 0 0 0 9.7-.3c3.9-.7 7.8-1.6 11.6-2.6a13.4 13.4 0 0 0 6.7-3.4 9.2 9.2 0 0 0 1.5-2.5 12.8 12.8 0 0 0 .3-8z"/></g></svg>\ No newline at end of filediff --git a/src/components/select/index.tsx b/src/components/select/index.tsxdeleted file mode 100644index d9cc9abc..00000000--- a/src/components/select/index.tsx+++ /dev/null@@ -1,20 +0,0 @@-import { h, Component } from 'preact';-import * as style from './style.scss';--interface Props extends JSX.HTMLAttributes {- large?: boolean;-}-interface State {}--export default class Select extends Component<Props, State> {- render(props: Props) {- const { large, ...otherProps } = props;-- return (- <div class={style.select}>- <select class={`${style.builtinSelect} ${large ? style.large : ''}`} {...otherProps} />- <svg class={style.arrow} viewBox="0 0 10 5"><path d="M0 0l5 5 5-5z" /></svg>- </div>- );- }-}diff --git a/src/copy/_headers b/src/copy/_headersnew file mode 100644index 00000000..1de137cc--- /dev/null+++ b/src/copy/_headers@@ -0,0 +1,10 @@+/*+ Cache-Control: no-cache++/c/*+ Cache-Control: max-age=31536000++# COOP+COEP for WebAssembly threads.+/*+ Cross-Origin-Embedder-Policy: require-corp+ Cross-Origin-Opener-Policy: same-origindiff --git a/_redirects.ejs b/src/copy/_redirectssimilarity index 100%rename from _redirects.ejsrename to src/copy/_redirectsdiff --git a/src/custom-els/RangeInput/missing-types.d.ts b/src/custom-els/RangeInput/missing-types.d.tsdeleted file mode 100644index d566207d..00000000--- a/src/custom-els/RangeInput/missing-types.d.ts+++ /dev/null@@ -1,5 +0,0 @@-declare namespace JSX {- interface IntrinsicElements {- 'range-input': HTMLAttributes;- }-}diff --git a/src/features-worker/missing-types.d.ts b/src/features-worker/missing-types.d.tsnew file mode 100644index 00000000..27b1d41c--- /dev/null+++ b/src/features-worker/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../missing-types.d.ts" />diff --git a/src/features-worker/util.ts b/src/features-worker/util.tsnew file mode 100644index 00000000..8b913406--- /dev/null+++ b/src/features-worker/util.ts@@ -0,0 +1,16 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export function timed<T>(name: string, func: () => Promise<T>) {+ console.time(name);+ return func().finally(() => console.timeEnd(name));+}diff --git a/src/features/README.md b/src/features/README.mdnew file mode 100644index 00000000..c59e38d1--- /dev/null+++ b/src/features/README.md@@ -0,0 +1,65 @@+# Feature types++- **decoders** - decode images.+- **encoders** - encode images.+- **processors** - change images, generally in a way that potentially aids compression.+- **preprocessors** - prepares the image for handling.++The key difference between preprocessors and processors is each 'side' in Squoosh can process differently, whereas a preprocessor happens to both sides.++# Adding code to the worker++Any feature can have a `worker` folder. Any script in that folder will have its default export bundled into the worker, using the name of the file.++So, `processors/shout/worker/shout.ts`:++```ts+export default function () {+ console.log('OI YOU');+}+```++…will be bundled into the worker and exposed via comlink as `shout()`.++# Folders++Within a feature, files in the:++- `client` folder will be part of the client project.+- `worker` folder will be part of the worker project.+- `shared` folder will be part of the shared project. Both the client and worker projects can access the shared project.++# Encoder format++Encoders must have the following:++`shared/meta.ts` which exposes the following:++- `label` - The name of the codec as displayed to the user.+- `mimeType` - The mime type to be used when generating the output file.+- `extension` - The file extension to be used when generating the output file.+- `EncodeOptions` - An interface for the codec's options.+- `defaultOptions` - An object of type `EncodeOptions`.++`client/index.ts` which exposes the following:++- `encode` - A method which takes args:+ - `AbortSignal`+ - `WorkerBridge`+ - `ImageData`+ - `EncodeOptions`++And returns (a promise for) an `ArrayBuffer`.++Optionally it may export a method `featureTest`, which returns a boolean indicating support for this decoder.++Optionally it may export a component, `Options`, with the following props:++```ts+interface Props {+ options: EncodeOptions;+ onChange(newOptions: EncodeOptions): void;+}+```++…where `EncodeOptions` are the options for that encoder.diff --git a/src/codecs/generic/quality-option.tsx b/src/features/client-utils/index.tsxsimilarity index 54%rename from src/codecs/generic/quality-option.tsxrename to src/features/client-utils/index.tsxindex ae124947..24ddf80b 100644--- a/src/codecs/generic/quality-option.tsx+++ b/src/features/client-utils/index.tsx@@ -1,16 +1,15 @@import { h, Component } from 'preact';-import { bind } from '../../lib/initial-util';-import * as style from '../../components/Options/style.scss';-import Range from '../../components/range';+import * as style from 'client/lazy-app/Compress/Options/style.css';+import Range from 'client/lazy-app/Compress/Options/Range';interface EncodeOptions {quality: number;}-type Props = {- options: EncodeOptions,- onChange(newOptions: EncodeOptions): void,-};+interface Props {+ options: EncodeOptions;+ onChange(newOptions: EncodeOptions): void;+}interface QualityOptionArg {min?: number;@@ -18,19 +17,22 @@ interface QualityOptionArg {step?: number;}-export default function qualityOption(opts: QualityOptionArg = {}) {- const {- min = 0,- max = 100,- step = 1,- } = opts;+type Constructor<T extends {} = {}> = new (...args: any[]) => T;++// TypeScript requires an exported type for returned classes. This serves as the+// type for the class returned by `qualityOption`.+export interface QualityOptionsInterface extends Component<Props, {}> {}++export function qualityOption(+ opts: QualityOptionArg = {},+): Constructor<QualityOptionsInterface> {+ const { min = 0, max = 100, step = 1 } = opts;class QualityOptions extends Component<Props, {}> {- @bind- onChange(event: Event) {+ onChange = (event: Event) => {const el = event.currentTarget as HTMLInputElement;this.props.onChange({ quality: Number(el.value) });- }+ };render({ options }: Props) {return (diff --git a/src/features/decoders/avif/worker/avifDecode.ts b/src/features/decoders/avif/worker/avifDecode.tsnew file mode 100644index 00000000..963f7b14--- /dev/null+++ b/src/features/decoders/avif/worker/avifDecode.ts@@ -0,0 +1,32 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import avifDecoder, { AVIFModule } from 'codecs/avif/dec/avif_dec';+import wasmUrl from 'url:codecs/avif/dec/avif_dec.wasm';+import { initEmscriptenModule, blobToArrayBuffer } from 'features/worker-utils';++let emscriptenModule: Promise<AVIFModule>;++export default async function decode(blob: Blob): Promise<ImageData> {+ if (!emscriptenModule) {+ emscriptenModule = initEmscriptenModule(avifDecoder, wasmUrl);+ }++ const [module, data] = await Promise.all([+ emscriptenModule,+ blobToArrayBuffer(blob),+ ]);++ const result = module.decode(data);+ if (!result) throw new Error('Decoding error');+ return result;+}diff --git a/src/features/decoders/jxl/worker/jxlDecode.ts b/src/features/decoders/jxl/worker/jxlDecode.tsnew file mode 100644index 00000000..1df498b9--- /dev/null+++ b/src/features/decoders/jxl/worker/jxlDecode.ts@@ -0,0 +1,32 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import jxlDecoder, { JXLModule } from 'codecs/jxl/dec/jxl_dec';+import wasmUrl from 'url:codecs/jxl/dec/jxl_dec.wasm';+import { initEmscriptenModule, blobToArrayBuffer } from 'features/worker-utils';++let emscriptenModule: Promise<JXLModule>;++export default async function decode(blob: Blob): Promise<ImageData> {+ if (!emscriptenModule) {+ emscriptenModule = initEmscriptenModule(jxlDecoder, wasmUrl);+ }++ const [module, data] = await Promise.all([+ emscriptenModule,+ blobToArrayBuffer(blob),+ ]);++ const result = module.decode(data);+ if (!result) throw new Error('Decoding error');+ return result;+}diff --git a/src/features/decoders/webp/worker/webpDecode.ts b/src/features/decoders/webp/worker/webpDecode.tsnew file mode 100644index 00000000..7db01f7c--- /dev/null+++ b/src/features/decoders/webp/worker/webpDecode.ts@@ -0,0 +1,32 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import webpDecoder, { WebPModule } from 'codecs/webp/dec/webp_dec';+import wasmUrl from 'url:codecs/webp/dec/webp_dec.wasm';+import { initEmscriptenModule, blobToArrayBuffer } from 'features/worker-utils';++let emscriptenModule: Promise<WebPModule>;++export default async function decode(blob: Blob): Promise<ImageData> {+ if (!emscriptenModule) {+ emscriptenModule = initEmscriptenModule(webpDecoder, wasmUrl);+ }++ const [module, data] = await Promise.all([+ emscriptenModule,+ blobToArrayBuffer(blob),+ ]);++ const result = module.decode(data);+ if (!result) throw new Error('Decoding error');+ return result;+}diff --git a/src/features/decoders/wp2/worker/wp2Decode.ts b/src/features/decoders/wp2/worker/wp2Decode.tsnew file mode 100644index 00000000..a8ed56b2--- /dev/null+++ b/src/features/decoders/wp2/worker/wp2Decode.ts@@ -0,0 +1,32 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import wp2Decoder, { WP2Module } from 'codecs/wp2/dec/wp2_dec';+import wasmUrl from 'url:codecs/wp2/dec/wp2_dec.wasm';+import { initEmscriptenModule, blobToArrayBuffer } from 'features/worker-utils';++let emscriptenModule: Promise<WP2Module>;++export default async function decode(blob: Blob): Promise<ImageData> {+ if (!emscriptenModule) {+ emscriptenModule = initEmscriptenModule(wp2Decoder, wasmUrl);+ }++ const [module, data] = await Promise.all([+ emscriptenModule,+ blobToArrayBuffer(blob),+ ]);++ const result = module.decode(data);+ if (!result) throw new Error('Decoding error');+ return result;+}diff --git a/src/codecs/avif/options.tsx b/src/features/encoders/avif/client/index.tsxsimilarity index 72%rename from src/codecs/avif/options.tsxrename to src/features/encoders/avif/client/index.tsxindex ac957d3c..cd0990f2 100644--- a/src/codecs/avif/options.tsx+++ b/src/features/encoders/avif/client/index.tsx@@ -1,13 +1,21 @@+import { EncodeOptions, defaultOptions } from '../shared/meta';+import type WorkerBridge from 'client/lazy-app/worker-bridge';import { h, Component } from 'preact';-import { preventDefault, shallowEqual } from '../../lib/util';-import { EncodeOptions, defaultOptions } from './encoder-meta';-import * as style from '../../components/Options/style.scss';-import Checkbox from '../../components/checkbox';-import Expander from '../../components/expander';-import Select from '../../components/select';-import Range from '../../components/range';+import { preventDefault, shallowEqual } from 'client/lazy-app/util';+import * as style from 'client/lazy-app/Compress/Options/style.css';+import Checkbox from 'client/lazy-app/Compress/Options/Checkbox';+import Expander from 'client/lazy-app/Compress/Options/Expander';+import Select from 'client/lazy-app/Compress/Options/Select';+import Range from 'client/lazy-app/Compress/Options/Range';import linkState from 'linkstate';+export const encode = (+ signal: AbortSignal,+ workerBridge: WorkerBridge,+ imageData: ImageData,+ options: EncodeOptions,+) => workerBridge.avifEncode(signal, imageData, options);+interface Props {options: EncodeOptions;onChange(newOptions: EncodeOptions): void;@@ -33,19 +41,32 @@ interface State {const maxQuant = 63;const maxSpeed = 10;-export default class AVIFEncoderOptions extends Component<Props, State> {- static getDerivedStateFromProps(props: Props, state: State): Partial<State> | undefined {- if (state.options && shallowEqual(state.options, props.options)) return;+export class Options extends Component<Props, State> {+ static getDerivedStateFromProps(+ props: Props,+ state: State,+ ): Partial<State> | null {+ if (state.options && shallowEqual(state.options, props.options)) {+ return null;+ }+const { options } = props;const lossless = options.maxQuantizer === 0 && options.minQuantizer === 0;- const minQuantizerValue = lossless ? defaultOptions.minQuantizer : options.minQuantizer;- const maxQuantizerValue = lossless ? defaultOptions.maxQuantizer : options.maxQuantizer;- const losslessAlpha = options.maxQuantizerAlpha === 0 && options.minQuantizerAlpha === 0;- const minQuantizerAlphaValue = losslessAlpha ?- defaultOptions.minQuantizerAlpha : options.minQuantizerAlpha;- const maxQuantizerAlphaValue = losslessAlpha ?- defaultOptions.maxQuantizerAlpha : options.maxQuantizerAlpha;+ const minQuantizerValue = lossless+ ? defaultOptions.minQuantizer+ : options.minQuantizer;+ const maxQuantizerValue = lossless+ ? defaultOptions.maxQuantizer+ : options.maxQuantizer;+ const losslessAlpha =+ options.maxQuantizerAlpha === 0 && options.minQuantizerAlpha === 0;+ const minQuantizerAlphaValue = losslessAlpha+ ? defaultOptions.minQuantizerAlpha+ : options.minQuantizerAlpha;+ const maxQuantizerAlphaValue = losslessAlpha+ ? defaultOptions.maxQuantizerAlpha+ : options.maxQuantizerAlpha;// Create default form state from optionsreturn {@@ -54,12 +75,16 @@ export default class AVIFEncoderOptions extends Component<Props, State> {losslessAlpha,maxQuality: maxQuant - minQuantizerValue,minQuality: maxQuant - maxQuantizerValue,- separateAlpha: options.maxQuantizer !== options.maxQuantizerAlpha ||+ separateAlpha:+ options.maxQuantizer !== options.maxQuantizerAlpha ||options.minQuantizer !== options.minQuantizerAlpha,maxAlphaQuality: maxQuant - minQuantizerAlphaValue,minAlphaQuality: maxQuant - maxQuantizerAlphaValue,grayscale: options.subsample === 0,- subsample: options.subsample === 0 || lossless ? defaultOptions.subsample : options.subsample,+ subsample:+ options.subsample === 0 || lossless+ ? defaultOptions.subsample+ : options.subsample,tileRows: options.tileRowsLog2,tileCols: options.tileColsLog2,effort: maxSpeed - options.speed,@@ -78,9 +103,12 @@ export default class AVIFEncoderOptions extends Component<Props, State> {if (!this._inputChangeCallbacks.has(prop)) {this._inputChangeCallbacks.set(prop, (event: Event) => {const formEl = event.target as HTMLInputElement | HTMLSelectElement;- const newVal = type === 'boolean' ?- 'checked' in formEl ? formEl.checked : !!formEl.value :- Number(formEl.value);+ const newVal =+ type === 'boolean'+ ? 'checked' in formEl+ ? formEl.checked+ : !!formEl.value+ : Number(formEl.value);const newState: Partial<State> = {[prop]: newVal,@@ -115,20 +143,32 @@ export default class AVIFEncoderOptions extends Component<Props, State> {...newState,};- const maxQuantizer = optionState.lossless ? 0 : (maxQuant - optionState.minQuality);- const minQuantizer = optionState.lossless ? 0 : (maxQuant - optionState.maxQuality);+ const maxQuantizer = optionState.lossless+ ? 0+ : maxQuant - optionState.minQuality;+ const minQuantizer = optionState.lossless+ ? 0+ : maxQuant - optionState.maxQuality;const newOptions: EncodeOptions = {maxQuantizer,minQuantizer,- maxQuantizerAlpha: optionState.separateAlpha ?- (optionState.losslessAlpha ? 0 : (maxQuant - optionState.minAlphaQuality)) :- maxQuantizer,- minQuantizerAlpha: optionState.separateAlpha ?- (optionState.losslessAlpha ? 0 : (maxQuant - optionState.maxAlphaQuality)) :- minQuantizer,+ maxQuantizerAlpha: optionState.separateAlpha+ ? optionState.losslessAlpha+ ? 0+ : maxQuant - optionState.minAlphaQuality+ : maxQuantizer,+ minQuantizerAlpha: optionState.separateAlpha+ ? optionState.losslessAlpha+ ? 0+ : maxQuant - optionState.maxAlphaQuality+ : minQuantizer,// Always set to 4:4:4 if lossless- subsample: optionState.grayscale ? 0 : optionState.lossless ? 3 : optionState.subsample,+ subsample: optionState.grayscale+ ? 0+ : optionState.lossless+ ? 3+ : optionState.subsample,tileColsLog2: optionState.tileCols,tileRowsLog2: optionState.tileRows,speed: maxSpeed - optionState.effort,@@ -147,13 +187,24 @@ export default class AVIFEncoderOptions extends Component<Props, State> {}return this._inputChangeCallbacks.get(prop)!;- }+ };render(_: Props,{- effort, grayscale, lossless, losslessAlpha, maxAlphaQuality, maxQuality, minAlphaQuality,- minQuality, separateAlpha, showAdvanced, subsample, tileCols, tileRows,+ effort,+ grayscale,+ lossless,+ losslessAlpha,+ maxAlphaQuality,+ maxQuality,+ minAlphaQuality,+ minQuality,+ separateAlpha,+ showAdvanced,+ subsample,+ tileCols,+ tileRows,}: State,) {return (@@ -199,7 +250,7 @@ export default class AVIFEncoderOptions extends Component<Props, State> {Separate alpha quality</label><Expander>- {separateAlpha && (+ {separateAlpha && (<div><label class={style.optionInputFirst}><Checkbox@@ -209,7 +260,7 @@ export default class AVIFEncoderOptions extends Component<Props, State> {Lossless alpha</label><Expander>- {!losslessAlpha &&+ {!losslessAlpha && (<div><div class={style.optionOneCell}><Range@@ -232,7 +283,7 @@ export default class AVIFEncoderOptions extends Component<Props, State> {</Range></div></div>- }+ )}</Expander></div>)}@@ -245,7 +296,7 @@ export default class AVIFEncoderOptions extends Component<Props, State> {Show advanced settings</label><Expander>- {showAdvanced &&+ {showAdvanced && (<div>{/*<label class={style.optionInputFirst}><Checkbox@@ -256,7 +307,7 @@ export default class AVIFEncoderOptions extends Component<Props, State> {Grayscale</label>*/}<Expander>- {!grayscale && !lossless &&+ {!grayscale && !lossless && (<label class={style.optionTextFirst}>Subsample chroma:<Select@@ -269,7 +320,7 @@ export default class AVIFEncoderOptions extends Component<Props, State> {<option value="3">4:4:4</option></Select></label>- }+ )}</Expander><div class={style.optionOneCell}><Range@@ -292,7 +343,7 @@ export default class AVIFEncoderOptions extends Component<Props, State> {</Range></div></div>- }+ )}</Expander><div class={style.optionOneCell}><Rangediff --git a/src/features/encoders/avif/shared/meta.ts b/src/features/encoders/avif/shared/meta.tsnew file mode 100644index 00000000..28073396--- /dev/null+++ b/src/features/encoders/avif/shared/meta.ts@@ -0,0 +1,29 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import type { EncodeOptions } from 'codecs/avif/enc/avif_enc';++export { EncodeOptions };++export const label = 'AVIF';+export const mimeType = 'image/avif';+export const extension = 'avif';+export const defaultOptions: EncodeOptions = {+ minQuantizer: 33,+ maxQuantizer: 63,+ minQuantizerAlpha: 33,+ maxQuantizerAlpha: 63,+ tileColsLog2: 0,+ tileRowsLog2: 0,+ speed: 8,+ subsample: 1,+};diff --git a/src/features/encoders/avif/shared/missing-types.d.ts b/src/features/encoders/avif/shared/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/avif/shared/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/avif/worker/avifEncode.ts b/src/features/encoders/avif/worker/avifEncode.tsnew file mode 100644index 00000000..b3040439--- /dev/null+++ b/src/features/encoders/avif/worker/avifEncode.ts@@ -0,0 +1,49 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import type { AVIFModule } from 'codecs/avif/enc/avif_enc';+import type { EncodeOptions } from '../shared/meta';+import wasmUrlWithoutMT from 'url:codecs/avif/enc/avif_enc.wasm';+import wasmUrlWithMT from 'url:codecs/avif/enc/avif_enc_mt.wasm';+import workerUrl from 'omt:codecs/avif/enc/avif_enc_mt.worker.js';+import { initEmscriptenModule } from 'features/worker-utils';+import { threads } from 'wasm-feature-detect';++let emscriptenModule: Promise<AVIFModule>;++async function init() {+ if (await threads()) {+ const avifEncoder = await import('codecs/avif/enc/avif_enc_mt');+ return initEmscriptenModule<AVIFModule>(+ avifEncoder.default,+ wasmUrlWithMT,+ workerUrl,+ );+ }+ const avifEncoder = await import('codecs/avif/enc/avif_enc.js');+ return initEmscriptenModule(avifEncoder.default, wasmUrlWithoutMT);+}++export default async function encode(+ data: ImageData,+ options: EncodeOptions,+): Promise<ArrayBuffer> {+ if (!emscriptenModule) emscriptenModule = init();++ const module = await emscriptenModule;+ const result = module.encode(data.data, data.width, data.height, options);++ if (!result) throw new Error('Encoding error');++ // wasm can’t run on SharedArrayBuffers, so we hard-cast to ArrayBuffer.+ return result.buffer as ArrayBuffer;+}diff --git a/src/features/encoders/avif/worker/missing-types.d.ts b/src/features/encoders/avif/worker/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/avif/worker/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/browserGIF/client/index.ts b/src/features/encoders/browserGIF/client/index.tsnew file mode 100644index 00000000..5f4af200--- /dev/null+++ b/src/features/encoders/browserGIF/client/index.ts@@ -0,0 +1,11 @@+import { canvasEncodeTest, canvasEncode } from 'client/lazy-app/util';+import WorkerBridge from 'client/lazy-app/worker-bridge';+import { EncodeOptions, mimeType } from '../shared/meta';++export const featureTest = () => canvasEncodeTest(mimeType);+export const encode = (+ signal: AbortSignal,+ workerBridge: WorkerBridge,+ imageData: ImageData,+ options: EncodeOptions,+) => canvasEncode(imageData, mimeType);diff --git a/src/features/encoders/browserGIF/client/missing-types.d.ts b/src/features/encoders/browserGIF/client/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/browserGIF/client/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/browserGIF/shared/meta.ts b/src/features/encoders/browserGIF/shared/meta.tsnew file mode 100644index 00000000..d14040ab--- /dev/null+++ b/src/features/encoders/browserGIF/shared/meta.ts@@ -0,0 +1,18 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export interface EncodeOptions {}++export const label = 'Browser GIF';+export const mimeType = 'image/gif';+export const extension = 'gif';+export const defaultOptions: EncodeOptions = {};diff --git a/src/features/encoders/browserGIF/shared/missing-types.d.ts b/src/features/encoders/browserGIF/shared/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/browserGIF/shared/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/browserJPEG/client/index.ts b/src/features/encoders/browserJPEG/client/index.tsnew file mode 100644index 00000000..8837c93f--- /dev/null+++ b/src/features/encoders/browserJPEG/client/index.ts@@ -0,0 +1,13 @@+import { canvasEncode } from 'client/lazy-app/util';+import WorkerBridge from 'client/lazy-app/worker-bridge';+import { qualityOption } from 'features/client-utils';+import { mimeType, EncodeOptions } from '../shared/meta';++export const encode = (+ signal: AbortSignal,+ workerBridge: WorkerBridge,+ imageData: ImageData,+ options: EncodeOptions,+) => canvasEncode(imageData, mimeType, options.quality);++export const Options = qualityOption({ min: 0, max: 1, step: 0.01 });diff --git a/src/features/encoders/browserJPEG/client/missing-types.d.ts b/src/features/encoders/browserJPEG/client/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/browserJPEG/client/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/browserJPEG/shared/meta.ts b/src/features/encoders/browserJPEG/shared/meta.tsnew file mode 100644index 00000000..bf218680--- /dev/null+++ b/src/features/encoders/browserJPEG/shared/meta.ts@@ -0,0 +1,20 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export interface EncodeOptions {+ quality: number;+}++export const label = 'Browser JPEG';+export const mimeType = 'image/jpeg';+export const extension = 'jpg';+export const defaultOptions: EncodeOptions = { quality: 0.75 };diff --git a/src/features/encoders/browserJPEG/shared/missing-types.d.ts b/src/features/encoders/browserJPEG/shared/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/browserJPEG/shared/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/browserPNG/client/index.ts b/src/features/encoders/browserPNG/client/index.tsnew file mode 100644index 00000000..3b893551--- /dev/null+++ b/src/features/encoders/browserPNG/client/index.ts@@ -0,0 +1,10 @@+import { canvasEncode } from 'client/lazy-app/util';+import WorkerBridge from 'client/lazy-app/worker-bridge';+import { EncodeOptions, mimeType } from '../shared/meta';++export const encode = (+ signal: AbortSignal,+ workerBridge: WorkerBridge,+ imageData: ImageData,+ options: EncodeOptions,+) => canvasEncode(imageData, mimeType);diff --git a/src/features/encoders/browserPNG/client/missing-types.d.ts b/src/features/encoders/browserPNG/client/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/browserPNG/client/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/browserPNG/shared/meta.ts b/src/features/encoders/browserPNG/shared/meta.tsnew file mode 100644index 00000000..6f73a5a4--- /dev/null+++ b/src/features/encoders/browserPNG/shared/meta.ts@@ -0,0 +1,18 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export interface EncodeOptions {}++export const label = 'Browser PNG';+export const mimeType = 'image/png';+export const extension = 'png';+export const defaultOptions: EncodeOptions = {};diff --git a/src/features/encoders/browserPNG/shared/missing-types.d.ts b/src/features/encoders/browserPNG/shared/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/browserPNG/shared/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/jxl/client/index.tsx b/src/features/encoders/jxl/client/index.tsxnew file mode 100644index 00000000..78f3c727--- /dev/null+++ b/src/features/encoders/jxl/client/index.tsx@@ -0,0 +1,189 @@+import { EncodeOptions } from '../shared/meta';+import type WorkerBridge from 'client/lazy-app/worker-bridge';+import { h, Component } from 'preact';+import { preventDefault, shallowEqual } from 'client/lazy-app/util';+import * as style from 'client/lazy-app/Compress/Options/style.css';+import Range from 'client/lazy-app/Compress/Options/Range';+import Checkbox from 'client/lazy-app/Compress/Options/Checkbox';+import Expander from 'client/lazy-app/Compress/Options/Expander';++export const encode = (+ signal: AbortSignal,+ workerBridge: WorkerBridge,+ imageData: ImageData,+ options: EncodeOptions,+) => workerBridge.jxlEncode(signal, imageData, options);++interface Props {+ options: EncodeOptions;+ onChange(newOptions: EncodeOptions): void;+}++interface State {+ options: EncodeOptions;+ effort: number;+ quality: number;+ progressive: boolean;+ edgePreservingFilter: number;+ lossless: boolean;+ slightLoss: boolean;+}++const maxSpeed = 7;++export class Options extends Component<Props, State> {+ static getDerivedStateFromProps(+ props: Props,+ state: State,+ ): Partial<State> | null {+ if (state.options && shallowEqual(state.options, props.options)) {+ return null;+ }++ const { options } = props;++ // Create default form state from options+ return {+ options,+ effort: maxSpeed - options.speed,+ quality: options.quality,+ progressive: options.progressive,+ edgePreservingFilter: options.epf,+ lossless: options.quality === 100,+ slightLoss: options.lossyPalette,+ };+ }++ // The rest of the defaults are set in getDerivedStateFromProps+ state: State = {+ lossless: false,+ } as State;++ private _inputChangeCallbacks = new Map<string, (event: Event) => void>();++ private _inputChange = (prop: keyof State, type: 'number' | 'boolean') => {+ // Cache the callback for performance+ if (!this._inputChangeCallbacks.has(prop)) {+ this._inputChangeCallbacks.set(prop, (event: Event) => {+ const formEl = event.target as HTMLInputElement | HTMLSelectElement;+ const newVal =+ type === 'boolean'+ ? 'checked' in formEl+ ? formEl.checked+ : !!formEl.value+ : Number(formEl.value);++ const newState: Partial<State> = {+ [prop]: newVal,+ };++ const optionState = {+ ...this.state,+ ...newState,+ };++ const newOptions: EncodeOptions = {+ speed: maxSpeed - optionState.effort,+ quality: optionState.lossless ? 100 : optionState.quality,+ progressive: optionState.progressive,+ epf: optionState.edgePreservingFilter,+ nearLossless: 0,+ lossyPalette: optionState.lossless ? optionState.slightLoss : false,+ };++ // Updating options, so we don't recalculate in getDerivedStateFromProps.+ newState.options = newOptions;++ this.setState(newState);++ this.props.onChange(newOptions);+ });+ }++ return this._inputChangeCallbacks.get(prop)!;+ };++ render(+ {}: Props,+ {+ effort,+ quality,+ progressive,+ edgePreservingFilter,+ lossless,+ slightLoss,+ }: State,+ ) {+ // I'm rendering both lossy and lossless forms, as it becomes much easier when+ // gathering the data.+ return (+ <form class={style.optionsSection} onSubmit={preventDefault}>+ <label class={style.optionInputFirst}>+ <Checkbox+ name="lossless"+ checked={lossless}+ onChange={this._inputChange('lossless', 'boolean')}+ />+ Lossless+ </label>+ <Expander>+ {lossless && (+ <label class={style.optionInputFirst}>+ <Checkbox+ name="slightLoss"+ checked={slightLoss}+ onChange={this._inputChange('slightLoss', 'boolean')}+ />+ Slight loss+ </label>+ )}+ </Expander>+ <Expander>+ {!lossless && (+ <div>+ <div class={style.optionOneCell}>+ <Range+ min="0"+ max="99.9"+ step="0.1"+ value={quality}+ onInput={this._inputChange('quality', 'number')}+ >+ Quality:+ </Range>+ </div>+ <div class={style.optionOneCell}>+ <Range+ min="0"+ max="3"+ value={edgePreservingFilter}+ onInput={this._inputChange('edgePreservingFilter', 'number')}+ >+ Edge preserving filter:+ </Range>+ </div>+ </div>+ )}+ </Expander>+ <label class={style.optionInputFirst}>+ <Checkbox+ name="progressive"+ checked={progressive}+ onChange={this._inputChange('progressive', 'boolean')}+ />+ Progressive rendering+ </label>+ <div class={style.optionOneCell}>+ <Range+ min="0"+ max={maxSpeed - 1}+ value={effort}+ onInput={this._inputChange('effort', 'number')}+ >+ Effort:+ </Range>+ </div>+ </form>+ );+ }+}diff --git a/src/features/encoders/jxl/shared/meta.ts b/src/features/encoders/jxl/shared/meta.tsnew file mode 100644index 00000000..3e20d17c--- /dev/null+++ b/src/features/encoders/jxl/shared/meta.ts@@ -0,0 +1,27 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import type { EncodeOptions } from 'codecs/jxl/enc/jxl_enc';++export { EncodeOptions };++export const label = 'JPEG XL (beta)';+export const mimeType = 'image/jpegxl';+export const extension = 'jxl';+export const defaultOptions: EncodeOptions = {+ speed: 5,+ quality: 50,+ progressive: false,+ epf: 2,+ nearLossless: 0,+ lossyPalette: false,+};diff --git a/src/features/encoders/jxl/worker/jxlEncode.ts b/src/features/encoders/jxl/worker/jxlEncode.tsnew file mode 100644index 00000000..25ee6e77--- /dev/null+++ b/src/features/encoders/jxl/worker/jxlEncode.ts@@ -0,0 +1,33 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import jxlEncoder, { JXLModule } from 'codecs/jxl/enc/jxl_enc';+import wasmUrl from 'url:codecs/jxl/enc/jxl_enc.wasm';+import { initEmscriptenModule } from 'features/worker-utils';+import type { EncodeOptions } from '../shared/meta';++let emscriptenModule: Promise<JXLModule>;++export default async function encode(+ data: ImageData,+ options: EncodeOptions,+): Promise<ArrayBuffer> {+ if (!emscriptenModule) {+ emscriptenModule = initEmscriptenModule(jxlEncoder, wasmUrl);+ }++ const module = await emscriptenModule;+ const result = module.encode(data.data, data.width, data.height, options);+ if (!result) throw new Error('Encoding error.');+ // wasm can’t run on SharedArrayBuffers, so we hard-cast to ArrayBuffer.+ return result.buffer as ArrayBuffer;+}diff --git a/src/codecs/mozjpeg/options.tsx b/src/features/encoders/mozJPEG/client/index.tsxsimilarity index 74%rename from src/codecs/mozjpeg/options.tsxrename to src/features/encoders/mozJPEG/client/index.tsxindex 0cd4722f..ab20af76 100644--- a/src/codecs/mozjpeg/options.tsx+++ b/src/features/encoders/mozJPEG/client/index.tsx@@ -1,13 +1,26 @@+import { EncodeOptions, MozJpegColorSpace } from '../shared/meta';+import type WorkerBridge from 'client/lazy-app/worker-bridge';import { h, Component } from 'preact';-import { bind } from '../../lib/initial-util';-import { inputFieldChecked, inputFieldValueAsNumber, preventDefault } from '../../lib/util';-import { EncodeOptions, MozJpegColorSpace } from './encoder-meta';-import * as style from '../../components/Options/style.scss';-import Checkbox from '../../components/checkbox';-import Expander from '../../components/expander';-import Select from '../../components/select';-import Range from '../../components/range';+import {+ inputFieldChecked,+ inputFieldValueAsNumber,+ preventDefault,+} from 'client/lazy-app/util';+import * as style from 'client/lazy-app/Compress/Options/style.css';import linkState from 'linkstate';+import Range from 'client/lazy-app/Compress/Options/Range';+import Checkbox from 'client/lazy-app/Compress/Options/Checkbox';+import Expander from 'client/lazy-app/Compress/Options/Expander';+import Select from 'client/lazy-app/Compress/Options/Select';++export function encode(+ signal: AbortSignal,+ workerBridge: WorkerBridge,+ imageData: ImageData,+ options: EncodeOptions,+) {+ return workerBridge.mozjpegEncode(signal, imageData, options);+}interface Props {options: EncodeOptions;@@ -18,14 +31,15 @@ interface State {showAdvanced: boolean;}-export default class MozJPEGEncoderOptions extends Component<Props, State> {+export class Options extends Component<Props, State> {state: State = {showAdvanced: false,};- @bind- onChange(event: Event) {- const form = (event.currentTarget as HTMLInputElement).closest('form') as HTMLFormElement;+ onChange = (event: Event) => {+ const form = (event.currentTarget as HTMLInputElement).closest(+ 'form',+ ) as HTMLFormElement;const { options } = this.props;const newOptions: EncodeOptions = {@@ -35,24 +49,56 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {// .checkedbaseline: inputFieldChecked(form.baseline, options.baseline),progressive: inputFieldChecked(form.progressive, options.progressive),- optimize_coding: inputFieldChecked(form.optimize_coding, options.optimize_coding),- trellis_multipass: inputFieldChecked(form.trellis_multipass, options.trellis_multipass),- trellis_opt_zero: inputFieldChecked(form.trellis_opt_zero, options.trellis_opt_zero),- trellis_opt_table: inputFieldChecked(form.trellis_opt_table, options.trellis_opt_table),- auto_subsample: inputFieldChecked(form.auto_subsample, options.auto_subsample),- separate_chroma_quality:- inputFieldChecked(form.separate_chroma_quality, options.separate_chroma_quality),+ optimize_coding: inputFieldChecked(+ form.optimize_coding,+ options.optimize_coding,+ ),+ trellis_multipass: inputFieldChecked(+ form.trellis_multipass,+ options.trellis_multipass,+ ),+ trellis_opt_zero: inputFieldChecked(+ form.trellis_opt_zero,+ options.trellis_opt_zero,+ ),+ trellis_opt_table: inputFieldChecked(+ form.trellis_opt_table,+ options.trellis_opt_table,+ ),+ auto_subsample: inputFieldChecked(+ form.auto_subsample,+ options.auto_subsample,+ ),+ separate_chroma_quality: inputFieldChecked(+ form.separate_chroma_quality,+ options.separate_chroma_quality,+ ),// .valuequality: inputFieldValueAsNumber(form.quality, options.quality),- chroma_quality: inputFieldValueAsNumber(form.chroma_quality, options.chroma_quality),- chroma_subsample: inputFieldValueAsNumber(form.chroma_subsample, options.chroma_subsample),+ chroma_quality: inputFieldValueAsNumber(+ form.chroma_quality,+ options.chroma_quality,+ ),+ chroma_subsample: inputFieldValueAsNumber(+ form.chroma_subsample,+ options.chroma_subsample,+ ),smoothing: inputFieldValueAsNumber(form.smoothing, options.smoothing),- color_space: inputFieldValueAsNumber(form.color_space, options.color_space),- quant_table: inputFieldValueAsNumber(form.quant_table, options.quant_table),- trellis_loops: inputFieldValueAsNumber(form.trellis_loops, options.trellis_loops),+ color_space: inputFieldValueAsNumber(+ form.color_space,+ options.color_space,+ ),+ quant_table: inputFieldValueAsNumber(+ form.quant_table,+ options.quant_table,+ ),+ trellis_loops: inputFieldValueAsNumber(+ form.trellis_loops,+ options.trellis_loops,+ ),};this.props.onChange(newOptions);- }+ };render({ options }: Props, { showAdvanced }: State) {// I'm rendering both lossy and lossless forms, as it becomes much easier when@@ -78,7 +124,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {Show advanced settings</label><Expander>- {showAdvanced ?+ {showAdvanced ? (<div><label class={style.optionTextFirst}>Channels:@@ -93,7 +139,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {</Select></label><Expander>- {options.color_space === MozJpegColorSpace.YCbCr ?+ {options.color_space === MozJpegColorSpace.YCbCr ? (<div><label class={style.optionInputFirst}><Checkbox@@ -104,7 +150,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {Auto subsample chroma</label><Expander>- {options.auto_subsample ? null :+ {options.auto_subsample ? null : (<div class={style.optionOneCell}><Rangename="chroma_subsample"@@ -116,7 +162,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {Subsample chroma by:</Range></div>- }+ )}</Expander><label class={style.optionInputFirst}><Checkbox@@ -127,7 +173,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {Separate chroma quality</label><Expander>- {options.separate_chroma_quality ?+ {options.separate_chroma_quality ? (<div class={style.optionOneCell}><Rangename="chroma_quality"@@ -139,12 +185,10 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {Chroma quality:</Range></div>- : null- }+ ) : null}</Expander></div>- : null- }+ ) : null}</Expander><label class={style.optionInputFirst}><Checkbox@@ -155,7 +199,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {Pointless spec compliance</label><Expander>- {options.baseline ? null :+ {options.baseline ? null : (<label class={style.optionInputFirst}><Checkboxname="progressive"@@ -164,10 +208,10 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {/>Progressive rendering</label>- }+ )}</Expander><Expander>- {options.baseline ?+ {options.baseline ? (<label class={style.optionInputFirst}><Checkboxname="optimize_coding"@@ -176,8 +220,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {/>Optimize Huffman table</label>- : null- }+ ) : null}</Expander><div class={style.optionOneCell}><Range@@ -217,7 +260,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {Trellis multipass</label><Expander>- {options.trellis_multipass ?+ {options.trellis_multipass ? (<label class={style.optionInputFirst}><Checkboxname="trellis_opt_zero"@@ -226,8 +269,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {/>Optimize zero block runs</label>- : null- }+ ) : null}</Expander><label class={style.optionInputFirst}><Checkbox@@ -249,8 +291,7 @@ export default class MozJPEGEncoderOptions extends Component<Props, State> {</Range></div></div>- : null- }+ ) : null}</Expander></form>);diff --git a/src/features/encoders/mozJPEG/client/missing-types.d.ts b/src/features/encoders/mozJPEG/client/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/mozJPEG/client/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/mozJPEG/shared/meta.ts b/src/features/encoders/mozJPEG/shared/meta.tsnew file mode 100644index 00000000..599fc35d--- /dev/null+++ b/src/features/encoders/mozJPEG/shared/meta.ts@@ -0,0 +1,39 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import {+ EncodeOptions,+ MozJpegColorSpace,+} from 'codecs/mozjpeg_enc/mozjpeg_enc';+export { EncodeOptions, MozJpegColorSpace };++export const label = 'MozJPEG';+export const mimeType = 'image/jpeg';+export const extension = 'jpg';+export const defaultOptions: EncodeOptions = {+ quality: 75,+ baseline: false,+ arithmetic: false,+ progressive: true,+ optimize_coding: true,+ smoothing: 0,+ color_space: MozJpegColorSpace.YCbCr,+ quant_table: 3,+ trellis_multipass: false,+ trellis_opt_zero: false,+ trellis_opt_table: false,+ trellis_loops: 1,+ auto_subsample: true,+ chroma_subsample: 2,+ separate_chroma_quality: false,+ chroma_quality: 75,+};diff --git a/src/features/encoders/mozJPEG/shared/missing-types.d.ts b/src/features/encoders/mozJPEG/shared/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/mozJPEG/shared/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/mozJPEG/worker/missing-types.d.ts b/src/features/encoders/mozJPEG/worker/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/encoders/mozJPEG/worker/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/encoders/mozJPEG/worker/mozjpegEncode.ts b/src/features/encoders/mozJPEG/worker/mozjpegEncode.tsnew file mode 100644index 00000000..09f5a5e4--- /dev/null+++ b/src/features/encoders/mozJPEG/worker/mozjpegEncode.ts@@ -0,0 +1,32 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import mozjpeg_enc, { MozJPEGModule } from 'codecs/mozjpeg_enc/mozjpeg_enc';+import { EncodeOptions } from '../shared/meta';+import wasmUrl from 'url:codecs/mozjpeg_enc/mozjpeg_enc.wasm';+import { initEmscriptenModule } from 'features/worker-utils';++let emscriptenModule: Promise<MozJPEGModule>;++export default async function encode(+ data: ImageData,+ options: EncodeOptions,+): Promise<ArrayBuffer> {+ if (!emscriptenModule) {+ emscriptenModule = initEmscriptenModule(mozjpeg_enc, wasmUrl);+ }++ const module = await emscriptenModule;+ const resultView = module.encode(data.data, data.width, data.height, options);+ // wasm can’t run on SharedArrayBuffers, so we hard-cast to ArrayBuffer.+ return resultView.buffer as ArrayBuffer;+}diff --git a/src/features/encoders/oxiPNG/client/index.tsx b/src/features/encoders/oxiPNG/client/index.tsxnew file mode 100644index 00000000..155b3b0c--- /dev/null+++ b/src/features/encoders/oxiPNG/client/index.tsx@@ -0,0 +1,59 @@+import {+ canvasEncode,+ abortable,+ blobToArrayBuffer,+} from 'client/lazy-app/util';+import { EncodeOptions } from '../shared/meta';+import type WorkerBridge from 'client/lazy-app/worker-bridge';+import { h, Component } from 'preact';+import { inputFieldValueAsNumber, preventDefault } from 'client/lazy-app/util';+import * as style from 'client/lazy-app/Compress/Options/style.css';+import Range from 'client/lazy-app/Compress/Options/Range';++export async function encode(+ signal: AbortSignal,+ workerBridge: WorkerBridge,+ imageData: ImageData,+ options: EncodeOptions,+) {+ const pngBlob = await abortable(signal, canvasEncode(imageData, 'image/png'));+ const pngBuffer = await abortable(signal, blobToArrayBuffer(pngBlob));+ return workerBridge.oxipngEncode(signal, pngBuffer, options);+}++type Props = {+ options: EncodeOptions;+ onChange(newOptions: EncodeOptions): void;+};++export class Options extends Component<Props, {}> {+ onChange = (event: Event) => {+ const form = (event.currentTarget as HTMLInputElement).closest(+ 'form',+ ) as HTMLFormElement;++ const options: EncodeOptions = {+ level: inputFieldValueAsNumber(form.level),+ };+ this.props.onChange(options);+ };++ render({ options }: Props) {+ return (+ <form class={style.optionsSection} onSubmit={preventDefault}>+ <div class={style.optionOneCell}>+ <Range+ name="level"+ min="0"+ max="3"+ step="1"+ value={options.level}+ onInput={this.onChange}+ >+ Effort:+ </Range>+ </div>+ </form>+ );+ }+}diff --git a/src/features/encoders/oxiPNG/shared/meta.ts b/src/features/encoders/oxiPNG/shared/meta.tsnew file mode 100644index 00000000..8adc3f18--- /dev/null+++ b/src/features/encoders/oxiPNG/shared/meta.ts@@ -0,0 +1,23 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export interface EncodeOptions {+ level: number;+}++export const label = 'OxiPNG';+export const mimeType = 'image/png';+export const extension = 'png';++export const defaultOptions: EncodeOptions = {+ level: 2,+};diff --git a/src/features/encoders/oxiPNG/worker/oxipngEncode.ts b/src/features/encoders/oxiPNG/worker/oxipngEncode.tsnew file mode 100644index 00000000..43807b48--- /dev/null+++ b/src/features/encoders/oxiPNG/worker/oxipngEncode.ts@@ -0,0 +1,85 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import initOxiWasmST, {+ optimise as optimiseST,+} from 'codecs/oxipng/pkg/squoosh_oxipng';+import initOxiWasmMT, {+ worker_initializer,+ start_main_thread,+ optimise as optimiseMT,+} from 'codecs/oxipng/pkg-parallel/squoosh_oxipng';+import oxiWasmUrlST from 'url:codecs/oxipng/pkg/squoosh_oxipng_bg.wasm';+import oxiWasmUrlMT from 'url:codecs/oxipng/pkg-parallel/squoosh_oxipng_bg.wasm';+import { EncodeOptions } from '../shared/meta';+import { threads } from 'wasm-feature-detect';+import workerURL from 'omt:./sub-worker';+import type { WorkerInit } from './sub-worker';++function initWorker(worker: Worker, workerInit: WorkerInit) {+ return new Promise<void>((resolve) => {+ worker.postMessage(workerInit);+ worker.addEventListener('message', () => resolve(), { once: true });+ });+}++async function initMT() {+ const num = navigator.hardwareConcurrency;++ // First, let browser fetch and spawn Workers for our pool in the background.+ // This is fairly expensive, so we want to start it as early as possible.+ const workers = Array.from({ length: num }, () => new Worker(workerURL));++ // Meanwhile, asynchronously compile, instantiate and initialise Wasm on our main thread.+ await initOxiWasmMT(oxiWasmUrlMT);++ // Get module+memory from the Wasm instance.+ //+ // Ideally we wouldn't go via Wasm bindings here, since both are just JS variables, but memory is+ // currently not exposed on the Wasm instance correctly by wasm-bindgen.+ const workerInit: WorkerInit = worker_initializer(num);++ // Once done, we want to send module+memory to each Worker so that they instantiate Wasm too.+ // While doing so, we need to wait for Workers to acknowledge that they have received our message.+ // Ideally this shouldn't be necessary, but Chromium currently doesn't conform to the spec:+ // https://bugs.chromium.org/p/chromium/issues/detail?id=1075645+ //+ // If we didn't do this ping-pong game, the `start_main_thread` below would block the current+ // thread on an atomic before even *sending* the `postMessage` containing memory,+ // so Workers would never be able to unblock us back.+ await Promise.all(workers.map((worker) => initWorker(worker, workerInit)));++ // Finally, instantiate rayon pool - this will use shared Wasm memory to send tasks to the+ // Workers and then block until they're all ready.+ start_main_thread();++ return optimiseMT;+}++async function initST() {+ await initOxiWasmST(oxiWasmUrlST);+ return optimiseST;+}++let wasmReady: Promise<typeof optimiseMT | typeof optimiseST>;++export default async function encode(+ data: ArrayBuffer,+ options: EncodeOptions,+): Promise<ArrayBuffer> {+ if (!wasmReady) {+ wasmReady = (await threads()) ? initMT() : initST();+ }++ const optimise = await wasmReady;+ return optimise(new Uint8Array(data), options.level).buffer;+}diff --git a/src/features/encoders/oxiPNG/worker/sub-worker/index.ts b/src/features/encoders/oxiPNG/worker/sub-worker/index.tsnew file mode 100644index 00000000..212e81b9--- /dev/null+++ b/src/features/encoders/oxiPNG/worker/sub-worker/index.ts@@ -0,0 +1,25 @@+import initOxiPNG, {+ start_worker_thread,+} from 'codecs/oxipng/pkg-parallel/squoosh_oxipng';++export type WorkerInit = [WebAssembly.Module, WebAssembly.Memory];++addEventListener(+ 'message',+ async (event) => {+ // Tell the "main" thread that we've received the message.+ //+ // At this point, the "main" thread can run Wasm that+ // will synchronously block waiting on other atomics.+ //+ // Note that we don't need to wait for Wasm instantiation here - it's+ // better to start main thread as early as possible, and then it blocks+ // on a shared atomic anyway until Worker is fully ready.+ // @ts-ignore+ postMessage(null);++ await initOxiPNG(...(event.data as WorkerInit));+ start_worker_thread();+ },+ { once: true },+);diff --git a/src/codecs/webp/options.tsx b/src/features/encoders/webP/client/index.tsxsimilarity index 73%rename from src/codecs/webp/options.tsxrename to src/features/encoders/webP/client/index.tsxindex 81ba8dbe..f324df07 100644--- a/src/codecs/webp/options.tsx+++ b/src/features/encoders/webP/client/index.tsx@@ -1,13 +1,31 @@+import { EncodeOptions } from '../shared/meta';+import type WorkerBridge from 'client/lazy-app/worker-bridge';import { h, Component } from 'preact';-import { bind } from '../../lib/initial-util';-import { inputFieldCheckedAsNumber, inputFieldValueAsNumber, preventDefault } from '../../lib/util';-import { EncodeOptions, WebPImageHint } from './encoder-meta';-import * as style from '../../components/Options/style.scss';-import Checkbox from '../../components/checkbox';-import Expander from '../../components/expander';-import Select from '../../components/select';-import Range from '../../components/range';+import {+ inputFieldCheckedAsNumber,+ inputFieldValueAsNumber,+ preventDefault,+} from 'client/lazy-app/util';+import * as style from 'client/lazy-app/Compress/Options/style.css';import linkState from 'linkstate';+import Range from 'client/lazy-app/Compress/Options/Range';+import Checkbox from 'client/lazy-app/Compress/Options/Checkbox';+import Expander from 'client/lazy-app/Compress/Options/Expander';+import Select from 'client/lazy-app/Compress/Options/Select';++export const encode = (+ signal: AbortSignal,+ workerBridge: WorkerBridge,+ imageData: ImageData,+ options: EncodeOptions,+) => workerBridge.webpEncode(signal, imageData, options);++const enum WebPImageHint {+ WEBP_HINT_DEFAULT, // default preset.+ WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot+ WEBP_HINT_PHOTO, // outdoor photograph, with natural lighting+ WEBP_HINT_GRAPH, // Discrete tone image (graph, map-tile etc).+}interface Props {options: EncodeOptions;@@ -20,15 +38,24 @@ interface State {// From kLosslessPresets in config_enc.c// The format is [method, quality].-const losslessPresets:[number, number][] = [- [0, 0], [1, 20], [2, 25], [3, 30], [3, 50],- [4, 50], [4, 75], [4, 90], [5, 90], [6, 100],+const losslessPresets: [number, number][] = [+ [0, 0],+ [1, 20],+ [2, 25],+ [3, 30],+ [3, 50],+ [4, 50],+ [4, 75],+ [4, 90],+ [5, 90],+ [6, 100],];const losslessPresetDefault = 6;function determineLosslessQuality(quality: number, method: number): number {const index = losslessPresets.findIndex(- ([presetMethod, presetQuality]) => presetMethod === method && presetQuality === quality,+ ([presetMethod, presetQuality]) =>+ presetMethod === method && presetQuality === quality,);if (index !== -1) return index;// Quality doesn't match one of the presets.@@ -36,18 +63,20 @@ function determineLosslessQuality(quality: number, method: number): number {return losslessPresetDefault;}-export default class WebPEncoderOptions extends Component<Props, State> {+export class Options extends Component<Props, State> {state: State = {showAdvanced: false,};- @bind- onChange(event: Event) {- const form = (event.currentTarget as HTMLInputElement).closest('form') as HTMLFormElement;+ onChange = (event: Event) => {+ const form = (event.currentTarget as HTMLInputElement).closest(+ 'form',+ ) as HTMLFormElement;const lossless = inputFieldCheckedAsNumber(form.lossless);const { options } = this.props;const losslessPresetValue = inputFieldValueAsNumber(- form.lossless_preset, determineLosslessQuality(options.quality, options.method),+ form.lossless_preset,+ determineLosslessQuality(options.quality, options.method),);const newOptions: EncodeOptions = {@@ -57,39 +86,73 @@ export default class WebPEncoderOptions extends Component<Props, State> {lossless,// Special-cased inputs:// In lossless mode, the quality is derived from the preset.- quality: lossless ?- losslessPresets[losslessPresetValue][1] :- inputFieldValueAsNumber(form.quality, options.quality),+ quality: lossless+ ? losslessPresets[losslessPresetValue][1]+ : inputFieldValueAsNumber(form.quality, options.quality),// In lossless mode, the method is derived from the preset.- method: lossless ?- losslessPresets[losslessPresetValue][0] :- inputFieldValueAsNumber(form.method_input, options.method),- image_hint: inputFieldCheckedAsNumber(form.image_hint, options.image_hint) ?- WebPImageHint.WEBP_HINT_GRAPH :- WebPImageHint.WEBP_HINT_DEFAULT,+ method: lossless+ ? losslessPresets[losslessPresetValue][0]+ : inputFieldValueAsNumber(form.method_input, options.method),+ image_hint: inputFieldCheckedAsNumber(form.image_hint, options.image_hint)+ ? WebPImageHint.WEBP_HINT_GRAPH+ : WebPImageHint.WEBP_HINT_DEFAULT,// .checkedexact: inputFieldCheckedAsNumber(form.exact, options.exact),alpha_compression: inputFieldCheckedAsNumber(- form.alpha_compression, options.alpha_compression,+ form.alpha_compression,+ options.alpha_compression,+ ),+ autofilter: inputFieldCheckedAsNumber(+ form.autofilter,+ options.autofilter,+ ),+ filter_type: inputFieldCheckedAsNumber(+ form.filter_type,+ options.filter_type,+ ),+ use_sharp_yuv: inputFieldCheckedAsNumber(+ form.use_sharp_yuv,+ options.use_sharp_yuv,),- autofilter: inputFieldCheckedAsNumber(form.autofilter, options.autofilter),- filter_type: inputFieldCheckedAsNumber(form.filter_type, options.filter_type),- use_sharp_yuv: inputFieldCheckedAsNumber(form.use_sharp_yuv, options.use_sharp_yuv),// .value- near_lossless: 100 - inputFieldValueAsNumber(form.near_lossless, 100 - options.near_lossless),- alpha_quality: inputFieldValueAsNumber(form.alpha_quality, options.alpha_quality),- alpha_filtering: inputFieldValueAsNumber(form.alpha_filtering, options.alpha_filtering),- sns_strength: inputFieldValueAsNumber(form.sns_strength, options.sns_strength),- filter_strength: inputFieldValueAsNumber(form.filter_strength, options.filter_strength),+ near_lossless:+ 100 -+ inputFieldValueAsNumber(+ form.near_lossless,+ 100 - options.near_lossless,+ ),+ alpha_quality: inputFieldValueAsNumber(+ form.alpha_quality,+ options.alpha_quality,+ ),+ alpha_filtering: inputFieldValueAsNumber(+ form.alpha_filtering,+ options.alpha_filtering,+ ),+ sns_strength: inputFieldValueAsNumber(+ form.sns_strength,+ options.sns_strength,+ ),+ filter_strength: inputFieldValueAsNumber(+ form.filter_strength,+ options.filter_strength,+ ),filter_sharpness:- 7 - inputFieldValueAsNumber(form.filter_sharpness, 7 - options.filter_sharpness),+ 7 -+ inputFieldValueAsNumber(+ form.filter_sharpness,+ 7 - options.filter_sharpness,+ ),pass: inputFieldValueAsNumber(form.pass, options.pass),- preprocessing: inputFieldValueAsNumber(form.preprocessing, options.preprocessing),+ preprocessing: inputFieldValueAsNumber(+ form.preprocessing,+ options.preprocessing,+ ),segments: inputFieldValueAsNumber(form.segments, options.segments),partitions: inputFieldValueAsNumber(form.partitions, options.partitions),};this.props.onChange(newOptions);- }+ };private _losslessSpecificOptions(options: EncodeOptions) {return (@@ -169,7 +232,7 @@ export default class WebPEncoderOptions extends Component<Props, State> {Show advanced settings</label><Expander>- {showAdvanced ?+ {showAdvanced ? (<div><label class={style.optionInputFirst}><Checkbox@@ -210,7 +273,7 @@ export default class WebPEncoderOptions extends Component<Props, State> {Auto adjust filter strength</label><Expander>- {options.autofilter ? null :+ {options.autofilter ? null : (<div class={style.optionOneCell}><Rangename="filter_strength"@@ -222,7 +285,7 @@ export default class WebPEncoderOptions extends Component<Props, State> {Filter strength:</Range></div>- }+ )}</Expander><label class={style.optionInputFirst}><Checkbox@@ -308,8 +371,7 @@ export default class WebPEncoderOptions extends Component<Props, State> {</Range></div></div>- : null- }+ ) : null}</Expander></div>);@@ -330,8 +392,7 @@ export default class WebPEncoderOptions extends Component<Props, State> {</label>{options.lossless? this._losslessSpecificOptions(options)- : this._lossySpecificOptions(options)- }+ : this._lossySpecificOptions(options)}<label class={style.optionInputFirst}><Checkboxname="exact"diff --git a/src/features/encoders/webP/shared/meta.ts b/src/features/encoders/webP/shared/meta.tsnew file mode 100644index 00000000..00811105--- /dev/null+++ b/src/features/encoders/webP/shared/meta.ts@@ -0,0 +1,49 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import type { EncodeOptions } from 'codecs/webp/enc/webp_enc';++export { EncodeOptions };++export const label = 'WebP';+export const mimeType = 'image/webp';+export const extension = 'webp';+// These come from struct WebPConfig in encode.h.+export const defaultOptions: EncodeOptions = {+ quality: 75,+ target_size: 0,+ target_PSNR: 0,+ method: 4,+ sns_strength: 50,+ filter_strength: 60,+ filter_sharpness: 0,+ filter_type: 1,+ partitions: 0,+ segments: 4,+ pass: 1,+ show_compressed: 0,+ preprocessing: 0,+ autofilter: 0,+ partition_limit: 0,+ alpha_compression: 1,+ alpha_filtering: 1,+ alpha_quality: 100,+ lossless: 0,+ exact: 0,+ image_hint: 0,+ emulate_jpeg_size: 0,+ thread_level: 0,+ low_memory: 0,+ near_lossless: 100,+ use_delta_palette: 0,+ use_sharp_yuv: 0,+};diff --git a/src/features/encoders/webP/worker/webpEncode.ts b/src/features/encoders/webP/worker/webpEncode.tsnew file mode 100644index 00000000..254cf070--- /dev/null+++ b/src/features/encoders/webP/worker/webpEncode.ts@@ -0,0 +1,33 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import webpEncoder, { WebPModule } from 'codecs/webp/enc/webp_enc';+import wasmUrl from 'url:codecs/webp/enc/webp_enc.wasm';+import { initEmscriptenModule } from 'features/worker-utils';+import type { EncodeOptions } from '../shared/meta';++let emscriptenModule: Promise<WebPModule>;++export default async function encode(+ data: ImageData,+ options: EncodeOptions,+): Promise<ArrayBuffer> {+ if (!emscriptenModule) {+ emscriptenModule = initEmscriptenModule(webpEncoder, wasmUrl);+ }++ const module = await emscriptenModule;+ const result = module.encode(data.data, data.width, data.height, options);+ if (!result) throw new Error('Encoding error.');+ // wasm can’t run on SharedArrayBuffers, so we hard-cast to ArrayBuffer.+ return result.buffer as ArrayBuffer;+}diff --git a/src/features/encoders/wp2/client/index.tsx b/src/features/encoders/wp2/client/index.tsxnew file mode 100644index 00000000..503f3672--- /dev/null+++ b/src/features/encoders/wp2/client/index.tsx@@ -0,0 +1,113 @@+import { EncodeOptions } from '../shared/meta';+import type WorkerBridge from 'client/lazy-app/worker-bridge';+import { h, Component } from 'preact';+import { inputFieldValueAsNumber, preventDefault } from 'client/lazy-app/util';+import * as style from 'client/lazy-app/Compress/Options/style.css';+import Range from 'client/lazy-app/Compress/Options/Range';++export const encode = (+ signal: AbortSignal,+ workerBridge: WorkerBridge,+ imageData: ImageData,+ options: EncodeOptions,+) => workerBridge.wp2Encode(signal, imageData, options);++interface Props {+ options: EncodeOptions;+ onChange(newOptions: EncodeOptions): void;+}++interface State {+ showAdvanced: boolean;+}++export class Options extends Component<Props, State> {+ state: State = {+ showAdvanced: false,+ };++ private onChange = (event: Event) => {+ const form = (event.currentTarget as HTMLInputElement).closest(+ 'form',+ ) as HTMLFormElement;+ const { options } = this.props;+ const newOptions: EncodeOptions = {+ quality: inputFieldValueAsNumber(form.quality, options.quality),+ alpha_quality: inputFieldValueAsNumber(+ form.alpha_quality,+ options.alpha_quality,+ ),+ speed: inputFieldValueAsNumber(form.speed, options.speed),+ pass: inputFieldValueAsNumber(form.pass, options.pass),+ sns: inputFieldValueAsNumber(form.sns, options.sns),+ };+ this.props.onChange(newOptions);+ };++ render({ options }: Props) {+ return (+ <form class={style.optionsSection} onSubmit={preventDefault}>+ <div class={style.optionOneCell}>+ <Range+ name="quality"+ min="0"+ max="100"+ step="1"+ value={options.quality}+ onInput={this.onChange}+ >+ Quality:+ </Range>+ </div>+ <div class={style.optionOneCell}>+ <Range+ name="alpha_quality"+ min="0"+ max="100"+ step="1"+ value={options.alpha_quality}+ onInput={this.onChange}+ >+ Alpha Quality:+ </Range>+ </div>+ <div class={style.optionOneCell}>+ <Range+ name="speed"+ min="0"+ max="9"+ step="1"+ value={options.speed}+ onInput={this.onChange}+ >+ Speed:+ </Range>+ </div>+ <div class={style.optionOneCell}>+ <Range+ name="pass"+ min="1"+ max="10"+ step="1"+ value={options.pass}+ onInput={this.onChange}+ >+ Pass:+ </Range>+ </div>+ <div class={style.optionOneCell}>+ <Range+ name="sns"+ min="0"+ max="100"+ step="1"+ value={options.sns}+ onInput={this.onChange}+ >+ Spatial noise shaping:+ </Range>+ </div>+ </form>+ );+ }+}diff --git a/src/features/encoders/wp2/shared/meta.ts b/src/features/encoders/wp2/shared/meta.tsnew file mode 100644index 00000000..e9d652f1--- /dev/null+++ b/src/features/encoders/wp2/shared/meta.ts@@ -0,0 +1,26 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import type { EncodeOptions } from 'codecs/wp2/enc/wp2_enc';++export { EncodeOptions };++export const label = 'WebP v2 (unstable)';+export const mimeType = 'image/webp2';+export const extension = 'wp2';+export const defaultOptions: EncodeOptions = {+ quality: 75,+ alpha_quality: 100,+ speed: 5,+ pass: 1,+ sns: 50,+};diff --git a/src/features/encoders/wp2/worker/wp2Encode.ts b/src/features/encoders/wp2/worker/wp2Encode.tsnew file mode 100644index 00000000..ed9fdbef--- /dev/null+++ b/src/features/encoders/wp2/worker/wp2Encode.ts@@ -0,0 +1,33 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import wp2Encoder, { WP2Module } from 'codecs/wp2/enc/wp2_enc';+import wasmUrl from 'url:codecs/wp2/enc/wp2_enc.wasm';+import { initEmscriptenModule } from 'features/worker-utils';+import type { EncodeOptions } from '../shared/meta';++let emscriptenModule: Promise<WP2Module>;++export default async function encode(+ data: ImageData,+ options: EncodeOptions,+): Promise<ArrayBuffer> {+ if (!emscriptenModule) {+ emscriptenModule = initEmscriptenModule(wp2Encoder, wasmUrl);+ }++ const module = await emscriptenModule;+ const result = module.encode(data.data, data.width, data.height, options);+ if (!result) throw new Error('Encoding error.');+ // wasm can’t run on SharedArrayBuffers, so we hard-cast to ArrayBuffer.+ return result.buffer as ArrayBuffer;+}diff --git a/src/features/missing-types.d.ts b/src/features/missing-types.d.tsnew file mode 100644index 00000000..27b1d41c--- /dev/null+++ b/src/features/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../missing-types.d.ts" />diff --git a/src/features/preprocessors/rotate/shared/meta.ts b/src/features/preprocessors/rotate/shared/meta.tsnew file mode 100644index 00000000..f7f210dc--- /dev/null+++ b/src/features/preprocessors/rotate/shared/meta.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export interface Options {+ rotate: 0 | 90 | 180 | 270;+}++export const defaultOptions: Options = {+ rotate: 0,+};diff --git a/src/features/preprocessors/rotate/shared/missing-types.d.ts b/src/features/preprocessors/rotate/shared/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/preprocessors/rotate/shared/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/preprocessors/rotate/worker/missing-types.d.ts b/src/features/preprocessors/rotate/worker/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/preprocessors/rotate/worker/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/codecs/rotate/processor.ts b/src/features/preprocessors/rotate/worker/rotate.tssimilarity index 54%rename from src/codecs/rotate/processor.tsrename to src/features/preprocessors/rotate/worker/rotate.tsindex 805e3a12..905f6bf2 100644--- a/src/codecs/rotate/processor.ts+++ b/src/features/preprocessors/rotate/worker/rotate.ts@@ -1,21 +1,38 @@-import wasmUrl from '../../../codecs/rotate/rotate.wasm';-import { RotateOptions, RotateModuleInstance } from './processor-meta';+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import wasmUrl from 'url:codecs/rotate/rotate.wasm';+import { Options } from '../shared/meta';++export interface RotateModuleInstance {+ exports: {+ memory: WebAssembly.Memory;+ rotate(width: number, height: number, rotate: 0 | 90 | 180 | 270): void;+ };+}// We are loading a 500B module here. Loading the code to feature-detect// `instantiateStreaming` probably takes longer to load than the time we save by// using `instantiateStreaming` in the first place. So let’s just use// `ArrayBuffer`s here.const instancePromise = fetch(wasmUrl)- .then(r => r.arrayBuffer())- .then(buf => WebAssembly.instantiate(buf));+ .then((r) => r.arrayBuffer())+ .then((buf) => WebAssembly.instantiate(buf));-export async function rotate(+export default async function rotate(data: ImageData,- opts: RotateOptions,+ opts: Options,): Promise<ImageData> {- const { instance } = (await instancePromise) as {- instance: RotateModuleInstance;- };+ const instance = (await instancePromise).instance as RotateModuleInstance;// Number of wasm memory pages (á 64KiB) needed to store the image twice.const bytesPerImage = data.width * data.height * 4;diff --git a/src/codecs/imagequant/options.tsx b/src/features/processors/quantize/client/index.tsxsimilarity index 71%rename from src/codecs/imagequant/options.tsxrename to src/features/processors/quantize/client/index.tsxindex 3af660db..e131fdb4 100644--- a/src/codecs/imagequant/options.tsx+++ b/src/features/processors/quantize/client/index.tsx@@ -1,11 +1,14 @@import { h, Component } from 'preact';-import { bind } from '../../lib/initial-util';-import { inputFieldValueAsNumber, konami, preventDefault } from '../../lib/util';-import { QuantizeOptions } from './processor-meta';-import * as style from '../../components/Options/style.scss';-import Expander from '../../components/expander';-import Select from '../../components/select';-import Range from '../../components/range';+import { Options as QuantizeOptions } from '../shared/meta';+import * as style from 'client/lazy-app/Compress/Options/style.css';+import {+ inputFieldValueAsNumber,+ konami,+ preventDefault,+} from 'client/lazy-app/util';+import Expander from 'client/lazy-app/Compress/Options/Expander';+import Select from 'client/lazy-app/Compress/Options/Select';+import Range from 'client/lazy-app/Compress/Options/Range';const konamiPromise = konami();@@ -18,7 +21,7 @@ interface State {extendedSettings: boolean;}-export default class QuantizerOptions extends Component<Props, State> {+export class Options extends Component<Props, State> {state: State = { extendedSettings: false };componentDidMount() {@@ -27,24 +30,28 @@ export default class QuantizerOptions extends Component<Props, State> {});}- @bind- onChange(event: Event) {- const form = (event.currentTarget as HTMLInputElement).closest('form') as HTMLFormElement;+ onChange = (event: Event) => {+ const form = (event.currentTarget as HTMLInputElement).closest(+ 'form',+ ) as HTMLFormElement;const { options } = this.props;const newOptions: QuantizeOptions = {zx: inputFieldValueAsNumber(form.zx, options.zx),- maxNumColors: inputFieldValueAsNumber(form.maxNumColors, options.maxNumColors),+ maxNumColors: inputFieldValueAsNumber(+ form.maxNumColors,+ options.maxNumColors,+ ),dither: inputFieldValueAsNumber(form.dither),};this.props.onChange(newOptions);- }+ };render({ options }: Props, { extendedSettings }: State) {return (<form class={style.optionsSection} onSubmit={preventDefault}><Expander>- {extendedSettings ?+ {extendedSettings ? (<label class={style.optionTextFirst}>Type:<Select@@ -56,10 +63,10 @@ export default class QuantizerOptions extends Component<Props, State> {<option value="1">ZX</option></Select></label>- : null}+ ) : null}</Expander><Expander>- {options.zx ? null :+ {options.zx ? null : (<div class={style.optionOneCell}><Rangename="maxNumColors"@@ -71,7 +78,7 @@ export default class QuantizerOptions extends Component<Props, State> {Colors:</Range></div>- }+ )}</Expander><div class={style.optionOneCell}><Rangediff --git a/src/features/processors/quantize/shared/meta.ts b/src/features/processors/quantize/shared/meta.tsnew file mode 100644index 00000000..410c49a6--- /dev/null+++ b/src/features/processors/quantize/shared/meta.ts@@ -0,0 +1,23 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export interface Options {+ zx: number;+ maxNumColors: number;+ dither: number;+}++export const defaultOptions: Options = {+ zx: 0,+ maxNumColors: 256,+ dither: 1.0,+};diff --git a/src/features/processors/quantize/shared/missing-types.d.ts b/src/features/processors/quantize/shared/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/processors/quantize/shared/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/processors/quantize/worker/missing-types.d.ts b/src/features/processors/quantize/worker/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/processors/quantize/worker/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/processors/quantize/worker/quantize.ts b/src/features/processors/quantize/worker/quantize.tsnew file mode 100644index 00000000..c62c02ee--- /dev/null+++ b/src/features/processors/quantize/worker/quantize.ts@@ -0,0 +1,41 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import imagequant, { QuantizerModule } from 'codecs/imagequant/imagequant';+import wasmUrl from 'url:codecs/imagequant/imagequant.wasm';+import { initEmscriptenModule } from 'features/worker-utils';+import { Options } from '../shared/meta';++let emscriptenModule: Promise<QuantizerModule>;++export default async function process(+ data: ImageData,+ opts: Options,+): Promise<ImageData> {+ if (!emscriptenModule) {+ emscriptenModule = initEmscriptenModule(imagequant, wasmUrl);+ }++ const module = await emscriptenModule;++ const result = opts.zx+ ? module.zx_quantize(data.data, data.width, data.height, opts.dither)+ : module.quantize(+ data.data,+ data.width,+ data.height,+ opts.maxNumColors,+ opts.dither,+ );++ return new ImageData(result, data.width, data.height);+}diff --git a/src/codecs/resize/options.tsx b/src/features/processors/resize/client/index.tsxsimilarity index 65%rename from src/codecs/resize/options.tsxrename to src/features/processors/resize/client/index.tsxindex 624b46a0..5f048a8b 100644--- a/src/codecs/resize/options.tsx+++ b/src/features/processors/resize/client/index.tsx@@ -1,14 +1,101 @@+import {+ builtinResize,+ BuiltinResizeMethod,+ drawableToImageData,+} from 'client/lazy-app/util';+import {+ BrowserResizeOptions,+ VectorResizeOptions,+ WorkerResizeOptions,+ Options as ResizeOptions,+ workerResizeMethods,+} from '../shared/meta';+import { getContainOffsets } from '../shared/util';+import type { SourceImage } from 'client/lazy-app/Compress';+import type WorkerBridge from 'client/lazy-app/worker-bridge';import { h, Component } from 'preact';import linkState from 'linkstate';-import { bind, linkRef } from '../../lib/initial-util';import {- inputFieldValueAsNumber, inputFieldValue, preventDefault, inputFieldChecked,-} from '../../lib/util';-import { ResizeOptions, isWorkerOptions } from './processor-meta';-import * as style from '../../components/Options/style.scss';-import Checkbox from '../../components/checkbox';-import Expander from '../../components/expander';-import Select from '../../components/select';+ inputFieldValueAsNumber,+ inputFieldValue,+ preventDefault,+ inputFieldChecked,+} from 'client/lazy-app/util';+import * as style from 'client/lazy-app/Compress/Options/style.css';+import { linkRef } from 'shared/initial-app/util';+import Select from 'client/lazy-app/Compress/Options/Select';+import Expander from 'client/lazy-app/Compress/Options/Expander';+import Checkbox from 'client/lazy-app/Compress/Options/Checkbox';++/**+ * Return whether a set of options are worker resize options.+ *+ * @param opts+ */+function isWorkerOptions(opts: ResizeOptions): opts is WorkerResizeOptions {+ return (workerResizeMethods as string[]).includes(opts.method);+}++function browserResize(data: ImageData, opts: BrowserResizeOptions): ImageData {+ let sx = 0;+ let sy = 0;+ let sw = data.width;+ let sh = data.height;++ if (opts.fitMethod === 'contain') {+ ({ sx, sy, sw, sh } = getContainOffsets(sw, sh, opts.width, opts.height));+ }++ return builtinResize(+ data,+ sx,+ sy,+ sw,+ sh,+ opts.width,+ opts.height,+ opts.method.slice('browser-'.length) as BuiltinResizeMethod,+ );+}++function vectorResize(+ data: HTMLImageElement,+ opts: VectorResizeOptions,+): ImageData {+ let sx = 0;+ let sy = 0;+ let sw = data.width;+ let sh = data.height;++ if (opts.fitMethod === 'contain') {+ ({ sx, sy, sw, sh } = getContainOffsets(sw, sh, opts.width, opts.height));+ }++ return drawableToImageData(data, {+ sx,+ sy,+ sw,+ sh,+ width: opts.width,+ height: opts.height,+ });+}++export async function resize(+ signal: AbortSignal,+ source: SourceImage,+ options: ResizeOptions,+ workerBridge: WorkerBridge,+) {+ if (options.method === 'vector') {+ if (!source.vectorImage) throw Error('No vector image available');+ return vectorResize(source.vectorImage, options);+ }+ if (isWorkerOptions(options)) {+ return workerBridge.resize(signal, source.preprocessed, options);+ }+ return browserResize(source.preprocessed, options);+}interface Props {isVector: Boolean;@@ -24,7 +111,7 @@ interface State {const sizePresets = [0.25, 0.3333, 0.5, 1, 2, 3, 4];-export default class ResizerOptions extends Component<Props, State> {+export class Options extends Component<Props, State> {state: State = {maintainAspect: true,};@@ -53,15 +140,17 @@ export default class ResizerOptions extends Component<Props, State> {premultiply: inputFieldChecked(form.premultiply, true),linearRGB: inputFieldChecked(form.linearRGB, true),// Casting, as the formfield only returns the correct values.- fitMethod: inputFieldValue(form.fitMethod, options.fitMethod) as ResizeOptions['fitMethod'],+ fitMethod: inputFieldValue(+ form.fitMethod,+ options.fitMethod,+ ) as ResizeOptions['fitMethod'],};this.props.onChange(newOptions);}- @bind- private onChange() {+ private onChange = () => {this.reportOptions();- }+ };private getAspect() {return this.props.inputWidth / this.props.inputHeight;@@ -69,7 +158,9 @@ export default class ResizerOptions extends Component<Props, State> {componentDidUpdate(prevProps: Props, prevState: State) {if (!prevState.maintainAspect && this.state.maintainAspect) {- this.form!.height.value = Math.round(Number(this.form!.width.value) / this.getAspect());+ this.form!.height.value = Math.round(+ Number(this.form!.width.value) / this.getAspect(),+ );this.reportOptions();}}@@ -83,25 +174,23 @@ export default class ResizerOptions extends Component<Props, State> {}}- @bind- private onWidthInput() {+ private onWidthInput = () => {if (this.state.maintainAspect) {const width = inputFieldValueAsNumber(this.form!.width);this.form!.height.value = Math.round(width / this.getAspect());}this.reportOptions();- }+ };- @bind- private onHeightInput() {+ private onHeightInput = () => {if (this.state.maintainAspect) {const height = inputFieldValueAsNumber(this.form!.height);this.form!.width.value = Math.round(height * this.getAspect());}this.reportOptions();- }+ };private generatePresetValues(width: number, height: number) {for (const preset of sizePresets) {@@ -117,14 +206,14 @@ export default class ResizerOptions extends Component<Props, State> {if (width === this.presetWidths[preset] &&height === this.presetHeights[preset]- ) return preset;+ )+ return preset;}return 'custom';}- @bind- private onPresetChange(event: Event) {+ private onPresetChange = (event: Event) => {const select = event.target as HTMLSelectElement;if (select.value === 'custom') return;const multiplier = Number(select.value);@@ -133,11 +222,15 @@ export default class ResizerOptions extends Component<Props, State> {(this.form!.height as HTMLInputElement).value =Math.round(this.props.inputHeight * multiplier) + '';this.reportOptions();- }+ };render({ options, isVector }: Props, { maintainAspect }: State) {return (- <form ref={linkRef(this, 'form')} class={style.optionsSection} onSubmit={preventDefault}>+ <form+ ref={linkRef(this, 'form')}+ class={style.optionsSection}+ onSubmit={preventDefault}+ ><label class={style.optionTextFirst}>Method:<Select@@ -160,9 +253,9 @@ export default class ResizerOptions extends Component<Props, State> {<label class={style.optionTextFirst}>Preset:<Select value={this.getPreset()} onChange={this.onPresetChange}>- {sizePresets.map(preset =>- <option value={preset}>{preset * 100}%</option>,- )}+ {sizePresets.map((preset) => (+ <option value={preset}>{preset * 100}%</option>+ ))}<option value="custom">Custom</option></Select></label>@@ -191,7 +284,7 @@ export default class ResizerOptions extends Component<Props, State> {/></label><Expander>- {isWorkerOptions(options) ?+ {isWorkerOptions(options) ? (<label class={style.optionInputFirst}><Checkboxname="premultiply"@@ -200,9 +293,8 @@ export default class ResizerOptions extends Component<Props, State> {/>Premultiply alpha channel</label>- : null- }- {isWorkerOptions(options) ?+ ) : null}+ {isWorkerOptions(options) ? (<label class={style.optionInputFirst}><Checkboxname="linearRGB"@@ -211,8 +303,7 @@ export default class ResizerOptions extends Component<Props, State> {/>Linear RGB</label>- : null- }+ ) : null}</Expander><label class={style.optionInputFirst}><Checkbox@@ -223,7 +314,7 @@ export default class ResizerOptions extends Component<Props, State> {Maintain aspect ratio</label><Expander>- {maintainAspect ? null :+ {maintainAspect ? null : (<label class={style.optionTextFirst}>Fit method:<Select@@ -235,7 +326,7 @@ export default class ResizerOptions extends Component<Props, State> {<option value="contain">Contain</option></Select></label>- }+ )}</Expander></form>);diff --git a/src/features/processors/resize/client/missing-types.d.ts b/src/features/processors/resize/client/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/processors/resize/client/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/codecs/resize/processor-meta.ts b/src/features/processors/resize/shared/meta.tssimilarity index 59%rename from src/codecs/resize/processor-meta.tsrename to src/features/processors/resize/shared/meta.tsindex ebbf64bf..78b1580b 100644--- a/src/codecs/resize/processor-meta.ts+++ b/src/features/processors/resize/shared/meta.ts@@ -1,3 +1,16 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+type BrowserResizeMethods =| 'browser-pixelated'| 'browser-low'@@ -9,7 +22,8 @@ type WorkerResizeMethods =| 'mitchell'| 'lanczos3'| 'hqx';-const workerResizeMethods: WorkerResizeMethods[] = [++export const workerResizeMethods: WorkerResizeMethods[] = ['triangle','catrom','mitchell',@@ -17,7 +31,7 @@ const workerResizeMethods: WorkerResizeMethods[] = ['hqx',];-export type ResizeOptions =+export type Options =| BrowserResizeOptions| WorkerResizeOptions| VectorResizeOptions;@@ -42,27 +56,7 @@ export interface VectorResizeOptions extends ResizeOptionsCommon {method: 'vector';}-/**- * Return whether a set of options are worker resize options.- *- * @param opts- */-export function isWorkerOptions(- opts: ResizeOptions,-): opts is WorkerResizeOptions {- return (workerResizeMethods as string[]).includes(opts.method);-}--/**- * Return whether a set of options are from the HQ<n>X set- *- * @param opts- */-export function isHqx(opts: ResizeOptions): opts is WorkerResizeOptions {- return opts.method === 'hqx';-}--export const defaultOptions: ResizeOptions = {+export const defaultOptions: Options = {// Width and height will always default to the image size.// This is set elsewhere.width: 1,diff --git a/src/features/processors/resize/shared/missing-types.d.ts b/src/features/processors/resize/shared/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/processors/resize/shared/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/processors/resize/shared/util.ts b/src/features/processors/resize/shared/util.tsnew file mode 100644index 00000000..163b5ebd--- /dev/null+++ b/src/features/processors/resize/shared/util.ts@@ -0,0 +1,32 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++export function getContainOffsets(+ sw: number,+ sh: number,+ dw: number,+ dh: number,+) {+ const currentAspect = sw / sh;+ const endAspect = dw / dh;++ if (endAspect > currentAspect) {+ const newSh = sw / endAspect;+ const newSy = (sh - newSh) / 2;+ return { sw, sh: newSh, sx: 0, sy: newSy };+ }++ const newSw = sh * endAspect;+ const newSx = (sw - newSw) / 2;+ return { sh, sw: newSw, sx: newSx, sy: 0 };+}diff --git a/src/features/processors/resize/worker/missing-types.d.ts b/src/features/processors/resize/worker/missing-types.d.tsnew file mode 100644index 00000000..c729fd74--- /dev/null+++ b/src/features/processors/resize/worker/missing-types.d.ts@@ -0,0 +1,13 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../../../../missing-types.d.ts" />diff --git a/src/features/processors/resize/worker/resize.ts b/src/features/processors/resize/worker/resize.tsnew file mode 100644index 00000000..72fc8ab8--- /dev/null+++ b/src/features/processors/resize/worker/resize.ts@@ -0,0 +1,142 @@+import type { WorkerResizeOptions } from '../shared/meta';+import { getContainOffsets } from '../shared/util';+import initResizeWasm, { resize as wasmResize } from 'codecs/resize/pkg';+import resizeWasmUrl from 'url:codecs/resize/pkg/squoosh_resize_bg.wasm';+import hqxWasmUrl from 'url:codecs/hqx/pkg/squooshhqx_bg.wasm';+import initHqxWasm, { resize as wasmHqx } from 'codecs/hqx/pkg';++interface HqxResizeOptions extends WorkerResizeOptions {+ method: 'hqx';+}++function optsIsHqxOpts(opts: WorkerResizeOptions): opts is HqxResizeOptions {+ return opts.method === 'hqx';+}++function crop(+ data: ImageData,+ sx: number,+ sy: number,+ sw: number,+ sh: number,+): ImageData {+ const inputPixels = new Uint32Array(data.data.buffer);++ // Copy within the same buffer for speed and memory efficiency.+ for (let y = 0; y < sh; y += 1) {+ const start = (y + sy) * data.width + sx;+ inputPixels.copyWithin(y * sw, start, start + sw);+ }++ return new ImageData(+ new Uint8ClampedArray(inputPixels.buffer.slice(0, sw * sh * 4)),+ sw,+ sh,+ );+}++interface ClampOpts {+ min?: number;+ max?: number;+}++function clamp(+ num: number,+ { min = Number.MIN_VALUE, max = Number.MAX_VALUE }: ClampOpts,+): number {+ return Math.min(Math.max(num, min), max);+}++/** Resize methods by index */+const resizeMethods: WorkerResizeOptions['method'][] = [+ 'triangle',+ 'catrom',+ 'mitchell',+ 'lanczos3',+];++let resizeWasmReady: Promise<unknown>;+let hqxWasmReady: Promise<unknown>;++async function hqx(+ input: ImageData,+ opts: HqxResizeOptions,+): Promise<ImageData> {+ if (!hqxWasmReady) {+ hqxWasmReady = initHqxWasm(hqxWasmUrl);+ }++ await hqxWasmReady;++ const widthRatio = opts.width / input.width;+ const heightRatio = opts.height / input.height;+ const ratio = Math.max(widthRatio, heightRatio);+ const factor = clamp(Math.ceil(ratio), { min: 1, max: 4 }) as 1 | 2 | 3 | 4;++ if (factor === 1) return input;++ const result = wasmHqx(+ new Uint32Array(input.data.buffer),+ input.width,+ input.height,+ factor,+ );++ return new ImageData(+ new Uint8ClampedArray(result.buffer),+ input.width * factor,+ input.height * factor,+ );+}++export default async function resize(+ data: ImageData,+ opts: WorkerResizeOptions,+): Promise<ImageData> {+ let input = data;++ if (!resizeWasmReady) {+ resizeWasmReady = initResizeWasm(resizeWasmUrl);+ }++ if (optsIsHqxOpts(opts)) {+ input = await hqx(input, opts);+ // Regular resize to make up the difference+ opts = { ...opts, method: 'catrom' };+ }++ await resizeWasmReady;++ if (opts.fitMethod === 'contain') {+ const { sx, sy, sw, sh } = getContainOffsets(+ data.width,+ data.height,+ opts.width,+ opts.height,+ );+ input = crop(+ input,+ Math.round(sx),+ Math.round(sy),+ Math.round(sw),+ Math.round(sh),+ );+ }++ const result = wasmResize(+ new Uint8Array(input.data.buffer),+ input.width,+ input.height,+ opts.width,+ opts.height,+ resizeMethods.indexOf(opts.method),+ opts.premultiply,+ opts.linearRGB,+ );++ return new ImageData(+ new Uint8ClampedArray(result.buffer),+ opts.width,+ opts.height,+ );+}diff --git a/src/features/worker-utils/index.ts b/src/features/worker-utils/index.tsnew file mode 100644index 00000000..f1fea6df--- /dev/null+++ b/src/features/worker-utils/index.ts@@ -0,0 +1,31 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+export function initEmscriptenModule<T extends EmscriptenWasm.Module>(+ moduleFactory: EmscriptenWasm.ModuleFactory<T>,+ wasmUrl: string,+ workerUrl?: string,+): Promise<T> {+ return moduleFactory({+ // Just to be safe, don't automatically invoke any wasm functions+ noInitialRun: true,+ locateFile: (url: string) => {+ if (url.endsWith('.wasm')) return wasmUrl;+ if (url.endsWith('.worker.js')) return workerUrl!;+ throw Error('Unknown url in locateFile ' + url);+ },+ });+}++export function blobToArrayBuffer(blob: Blob): Promise<ArrayBuffer> {+ return new Response(blob).arrayBuffer();+}diff --git a/src/index.html b/src/index.htmldeleted file mode 100644index d49d4854..00000000--- a/src/index.html+++ /dev/null@@ -1,16 +0,0 @@-<!DOCTYPE html>-<html lang="en">- <head>- <meta charset="utf-8">- <title>Squoosh</title>- <meta name="description" content="Compress and compare images with different codecs, right in your browser">- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">- <meta name="mobile-web-app-capable" content="yes">- <meta name="apple-mobile-web-app-capable" content="yes">- <link rel="shortcut icon" href="/assets/favicon.ico">- <meta name="theme-color" content="#f78f21">- <link rel="manifest" href="/manifest.json">- </head>- <body>- </body>-</html>diff --git a/src/index.ts b/src/index.tsdeleted file mode 100644index 8872f0e8..00000000--- a/src/index.ts+++ /dev/null@@ -1,32 +0,0 @@-declare module '@webcomponents/custom-elements';--function init() {- require('./init-app.tsx');-}--if (!('customElements' in self)) {- import(- /* webpackChunkName: "wc-polyfill" */- '@webcomponents/custom-elements').then(init);-} else {- init();-}--if (typeof PRERENDER === 'undefined') {- // Determine the current display mode.- let displayMode = 'browser';- const mqStandAlone = '(display-mode: standalone)';- if (navigator.standalone || window.matchMedia(mqStandAlone).matches) {- displayMode = 'standalone';- }- // Setup analytics- window.ga = window.ga || ((...args) => (ga.q = ga.q || []).push(args));- ga('create', 'UA-128752250-1', 'auto');- ga('set', 'transport', 'beacon');- ga('set', 'dimension1', displayMode);- ga('send', 'pageview', '/index.html', { title: 'Squoosh' });- // Load the GA script- const s = document.createElement('script');- s.src = 'https://www.google-analytics.com/analytics.js';- document.head!.appendChild(s);-}diff --git a/src/init-app.tsx b/src/init-app.tsxdeleted file mode 100644index 9b0ce2ca..00000000--- a/src/init-app.tsx+++ /dev/null@@ -1,25 +0,0 @@-import { h, render } from 'preact';-import './lib/fix-pmc';-import './style';-import App from './components/App';--// Find the outermost Element in our server-rendered HTML structure.-let root = document.getElementById('app_root') as Element;--// "attach" the client-side rendering to it, updating the DOM in-place instead of replacing:-root = render(<App />, document.body, root);-root.setAttribute('id', 'app_root');--if (process.env.NODE_ENV !== 'production') {- // Enable support for React DevTools and some helpful console warnings:- require('preact/debug');-- // When an update to any module is received, re-import the app and trigger a full re-render:- module.hot.accept('./components/App', () => {- // The linter doesn't like the capital A in App. It is wrong.- // tslint:disable-next-line variable-name- import('./components/App').then(({ default: App }) => {- root = render(<App />, document.body, root);- });- });-}diff --git a/src/lib/SnackBar/missing-types.d.ts b/src/lib/SnackBar/missing-types.d.tsdeleted file mode 100644index 38bea912..00000000--- a/src/lib/SnackBar/missing-types.d.ts+++ /dev/null@@ -1,13 +0,0 @@-import { SnackOptions, SnackShowResult } from '.';--declare global {- namespace JSX {- interface IntrinsicElements {- 'snack-bar': SnackBarAttributes;- }-- interface SnackBarAttributes extends HTMLAttributes {- showSnackbar?: (options: SnackOptions) => Promise<SnackShowResult>;- }- }-}diff --git a/src/lib/fix-pmc.mjs b/src/lib/fix-pmc.mjsdeleted file mode 100644index ca62c17d..00000000--- a/src/lib/fix-pmc.mjs+++ /dev/null@@ -1,26 +0,0 @@-import { options } from 'preact';--const classNameDescriptor = {- enumerable: false,- configurable: true,- get () {- return this.class;- },- set (value) {- this.class = value;- }-};--const old = options.vnode;-options.vnode = vnode => {- const a = vnode.attributes;- if (a != null) {- if ('className' in a) {- a.class = a.className;- }- if ('class' in a) {- Object.defineProperty(a, 'className', classNameDescriptor);- }- }- if (old != null) old(vnode);-};diff --git a/src/lib/initial-util.ts b/src/lib/initial-util.tsdeleted file mode 100644index 51d6b3f4..00000000--- a/src/lib/initial-util.ts+++ /dev/null@@ -1,53 +0,0 @@-// This file contains the utils that are needed for the very first rendering of the page. They're-// here because WebPack isn't quite smart enough to split things in the same file.--/**- * A decorator that binds values to their class instance.- * @example- * class C {- * @bind- * foo () {- * return this;- * }- * }- * let f = new C().foo;- * f() instanceof C; // true- */-export function bind(target: any, propertyKey: string, descriptor: PropertyDescriptor) {- return {- // the first time the prototype property is accessed for an instance,- // define an instance property pointing to the bound function.- // This effectively "caches" the bound prototype method as an instance property.- get() {- const bound = descriptor.value.bind(this);- Object.defineProperty(this, propertyKey, {- value: bound,- });- return bound;- },- };-}--/** Creates a function ref that assigns its value to a given property of an object.- * @example- * // element is stored as `this.foo` when rendered.- * <div ref={linkRef(this, 'foo')} />- */-export function linkRef<T>(obj: any, name: string) {- const refName = `$$ref_${name}`;- let ref = obj[refName];- if (!ref) {- ref = obj[refName] = (c: T) => {- obj[name] = c;- };- }- return ref;-}--// Edge doesn't support `new File`, so here's a hacky alternative.-// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/9551546/-export class Fileish extends Blob {- constructor(data: any[], public name: string, opts?: BlobPropertyBag) {- super(data, opts);- }-}diff --git a/src/lib/missing-types.d.ts b/src/lib/missing-types.d.tsdeleted file mode 100644index 1bc4ed1a..00000000--- a/src/lib/missing-types.d.ts+++ /dev/null@@ -1,7 +0,0 @@-interface HTMLImageElement {- decode: (() => Promise<void>) | undefined;-}--interface CanvasRenderingContext2D {- imageSmoothingQuality: 'low' | 'medium' | 'high';-}diff --git a/src/manifest.json b/src/manifest.jsondeleted file mode 100644index 605af071..00000000--- a/src/manifest.json+++ /dev/null@@ -1,35 +0,0 @@-{- "name": "Squoosh",- "short_name": "Squoosh",- "start_url": "/?utm_medium=PWA&utm_source=launcher",- "display": "standalone",- "orientation": "any",- "background_color": "#fff",- "theme_color": "#f78f21",- "icons": [- {- "src": "/assets/icon-large.png",- "type": "image/png",- "sizes": "1024x1024"- },- {- "src": "/assets/icon-large-maskable.png",- "type": "image/png",- "sizes": "1024x1024",- "purpose": "maskable"- }- ],- "share_target": {- "action": "/?utm_medium=PWA&utm_source=share-target&share-target",- "method": "POST",- "enctype": "multipart/form-data",- "params": {- "files": [- {- "name": "file",- "accept": ["image/*"]- }- ]- }- }-}diff --git a/src/missing-types.d.ts b/src/missing-types.d.tsdeleted file mode 100644index 9174f20e..00000000--- a/src/missing-types.d.ts+++ /dev/null@@ -1,45 +0,0 @@-interface CanvasRenderingContext2D {- filter: string;-}--// Handling file-loader imports:-declare module '*.png' {- const content: string;- export default content;-}--declare module '*.jpg' {- const content: string;- export default content;-}--declare module '*.gif' {- const content: string;- export default content;-}--declare module '*.svg' {- const content: string;- export default content;-}--declare module '*.wasm' {- const content: string;- export default content;-}--declare module 'url-loader!*' {- const value: string;- export default value;-}--declare var VERSION: string;--declare var ga: {- (...args: any[]): void;- q: any[];-};--interface Navigator {- readonly standalone: boolean;-}diff --git a/src/components/intro/imgs/demos/demo-artwork.jpg b/src/shared/initial-app/Intro/imgs/demos/demo-artwork.jpgsimilarity index 100%rename from src/components/intro/imgs/demos/demo-artwork.jpgrename to src/shared/initial-app/Intro/imgs/demos/demo-artwork.jpgdiff --git a/src/components/intro/imgs/demos/demo-device-screen.png b/src/shared/initial-app/Intro/imgs/demos/demo-device-screen.pngsimilarity index 100%rename from src/components/intro/imgs/demos/demo-device-screen.pngrename to src/shared/initial-app/Intro/imgs/demos/demo-device-screen.pngdiff --git a/src/components/intro/imgs/demos/demo-large-photo.jpg b/src/shared/initial-app/Intro/imgs/demos/demo-large-photo.jpgsimilarity index 100%rename from src/components/intro/imgs/demos/demo-large-photo.jpgrename to src/shared/initial-app/Intro/imgs/demos/demo-large-photo.jpgdiff --git a/src/components/intro/imgs/demos/icon-demo-artwork.jpg b/src/shared/initial-app/Intro/imgs/demos/icon-demo-artwork.jpgsimilarity index 100%rename from src/components/intro/imgs/demos/icon-demo-artwork.jpgrename to src/shared/initial-app/Intro/imgs/demos/icon-demo-artwork.jpgdiff --git a/src/components/intro/imgs/demos/icon-demo-device-screen.jpg b/src/shared/initial-app/Intro/imgs/demos/icon-demo-device-screen.jpgsimilarity index 100%rename from src/components/intro/imgs/demos/icon-demo-device-screen.jpgrename to src/shared/initial-app/Intro/imgs/demos/icon-demo-device-screen.jpgdiff --git a/src/components/intro/imgs/demos/icon-demo-large-photo.jpg b/src/shared/initial-app/Intro/imgs/demos/icon-demo-large-photo.jpgsimilarity index 100%rename from src/components/intro/imgs/demos/icon-demo-large-photo.jpgrename to src/shared/initial-app/Intro/imgs/demos/icon-demo-large-photo.jpgdiff --git a/src/components/intro/imgs/demos/icon-demo-logo.png b/src/shared/initial-app/Intro/imgs/demos/icon-demo-logo.pngsimilarity index 100%rename from src/components/intro/imgs/demos/icon-demo-logo.pngrename to src/shared/initial-app/Intro/imgs/demos/icon-demo-logo.pngdiff --git a/src/shared/initial-app/Intro/imgs/logo.svg b/src/shared/initial-app/Intro/imgs/logo.svgnew file mode 100644index 00000000..6371f4c9--- /dev/null+++ b/src/shared/initial-app/Intro/imgs/logo.svg@@ -0,0 +1,2 @@++<svg xmlns="http://www.w3.org/2000/svg" fill="#fff" width="600" height="600" viewBox="0 0 4140 4140"><style>.i{mix-blend-mode:overlay}.k{opacity:.3}.n{fill:#f7ddc4}.o{fill:#eaceb1}.p{fill:#f8e9db}</style><circle cx="2070" cy="2070" r="2035" fill="#40403f" stroke="#4a494a" stroke-width="70"/><path fill="#e17926" d="M699 1220l-60-78 118-73a418 418 0 00-58 151zm521 913l-28 2c-19 2-51-6-73 1l14 71 96-29a358 358 0 00-9-45zm-35 651l-18 22-4 54 18-5a645 645 0 0184-21l6-112a295 295 0 00-86 62zM3154 813a2686 2686 0 00-943-177c-406 0-795 100-1168 279a662 662 0 01158 38c78-34 155-63 233-89a2471 2471 0 01777-128 2568 2568 0 01805 134 4005 4005 0 00-363 1159 2558 2558 0 00-12 604 2287 2287 0 00114 504c-340 198-667 294-997 294a1742 1742 0 01-555-93 334 334 0 01-121 24l-9 35a1857 1857 0 00685 134c389 0 762-129 1120-351-289-730-140-1515 276-2367zM979 1584c-19-39-39-77-60-115-7 12-15 40-29 51l37 71a434 434 0 0152-7z"/><path fill="#f78f20" d="M2702 2035c50-367 175-759 383-1194a2634 2634 0 00-874-155c-359 0-722 82-1082 245a642 642 0 01296 166l14 15a126 126 0 0133 47 127 127 0 01-4 67 303 303 0 01-146 179c-82 44-175 35-264 16-25-5-52-10-78-4s-46 26-61 51c21 38 41 76 60 115a1144 1144 0 01118-4c101-1 202-8 302 8a569 569 0 01135 34 147 147 0 0147 27h1a160 160 0 0135 57c65 178-68 335-228 392a700 700 0 01-197 37 85 85 0 01-22-1l11 58c37-11 74-22 112-31a1267 1267 0 01163-31c42-4 108-19 142 13 18 16 28 40 38 63a1281 1281 0 0147 122 242 242 0 0112 103c-9 58-53 106-103 138-93 60-201 93-299 141a596 596 0 00-74 43l-5 92a872 872 0 01363-15 180 180 0 0164 22c36 22 54 65 54 107s-17 82-38 118a501 501 0 01-259 205c-51 18-104 25-154 42a1002 1002 0 01-110 34 31 31 0 01-2 8 1824 1824 0 00626 115c351 0 697-105 1058-322a2274 2274 0 01-114-1123z"/><path fill="#fdcda0" d="M2068 1683c74-12 148-111 170-229s-51-216-164-206-180 124-163 243 83 203 157 192z"/><path fill="#e17827" d="M2460 2332c-209-134-304-362-467-591-155 280-217 569-412 791 323 16 610-77 879-200z"/><path fill="#c86228" d="M2206 2727c-267-245-369-616-765-833 60 341 69 639-148 889 338 81 637 39 913-56z"/><path fill="none" stroke="#e17827" stroke-miterlimit="10" stroke-width="40" d="M2533 2440c-404 178-828 290-1296 212 76-443 11-868-291-1255 515-239 1096-386 1772-273-213 469-308 906-185 1316z"/><path fill="#c96328" d="M1510 1167a41 41 0 00-5-19l-4-5c-10-8-25-9-37-13l-17-7-6-6a646 646 0 00-381-190 274 274 0 00-103 3c-149 38-268 235-248 383 13 95 82 152 154 207a47 47 0 0020 10c23 3 34-40 44-54s30-44 61-50a193 193 0 0179 6c88 21 181 31 264-11a266 266 0 0068-47 42 42 0 0014-9 362 362 0 0042-36l21-21a154 154 0 0031-77 275 275 0 003-64zm562 791a160 160 0 0110-23c57-134 155-244 254-349s195-191 328-224a680 680 0 01277 4c55 10 117 14 168 40s89 80 120 127a4170 4170 0 01249 442c47 93 101 187 101 293a720 720 0 01-34 196c-51 171-125 338-199 499s-163 305-308 400c-212 140-481 114-719 80-40-6-378-39-381-71-2-16 107-52 122-59a910 910 0 00364-282 398 398 0 0068-158c15-84 41-166 88-237s111-121 111-212c0-32-7-63-4-95s18-65 48-76 40-5 50-21a40 40 0 006-22 584 584 0 0189-230 670 670 0 01-348 269c-88 35-185 58-278 40s-182-85-201-178a270 270 0 0119-153zm-420-150a162 162 0 001-22 243 243 0 00-13-89 53 53 0 00-28-34 28 28 0 00-13-3 151 151 0 00-46-27 685 685 0 00-135-34c-100-16-201-8-302-8s-193 0-277 50-129 146-146 234-2 172 47 240a296 296 0 00341 93 61 61 0 0022-13c8-9 10-22 16-33 15-29 65-14 91-15a771 771 0 00197-37c89-32 170-95 213-175a31 31 0 0016-14 85 85 0 006-17 452 452 0 008-63 183 183 0 002-33zm126 538a249 249 0 00-35-116c-15-23-23-48-51-52a199 199 0 00-50 7 97 97 0 00-19-26c-32-32-99-20-141-17a1301 1301 0 00-164 26 2177 2177 0 00-317 94c-90 35-188 68-255 141-25 28-68 80-76 117-27 121 7 271 126 333 71 37 157 32 237 21 42-6 85-14 117-41 15-14 27-31 41-45 30-32 70-53 110-71 100-45 209-75 303-132 51-31 96-77 107-135a85 85 0 003-23l27-13a84 84 0 0032-27 64 64 0 005-41zm-31 603c-8-32-22-69-57-78a64 64 0 00-20-3l-14-11a202 202 0 00-64-22 856 856 0 00-396 24c-111 33-309 103-321 238a227 227 0 0041 147c38 59 103 119 177 122 58 2 111-20 164-38s104-23 154-42a510 510 0 00246-183l8-2a138 138 0 0067-34 92 92 0 0015-25c13-30 8-63 0-93z" opacity=".5"/><path d="M1431 1107a644 644 0 00-380-190 260 260 0 00-104 3c-148 37-268 235-248 383 14 95 82 152 154 206a49 49 0 0020 11c23 3 34-40 44-55s31-43 62-49a187 187 0 0178 6c88 21 181 31 265-11a301 301 0 00149-174 118 118 0 005-67 124 124 0 00-31-48z" class="n"/><path d="M1322 1411l28-16c-86-13-122-1-140-7s-94-2-120-9-61-5-83-10a514 514 0 00-98-14c-51-5-94-25-123-3s-40 26-56 36c30 48 76 85 123 121a49 49 0 0020 11c23 3 34-40 44-55s31-43 62-49a187 187 0 0178 6c88 21 181 31 265-11z" class="o"/><path d="M1476 1170a124 124 0 00-31-48l-14-15a644 644 0 00-380-190 260 260 0 00-104 3s-132 68-122 219c13 190 51 189 154 277a187 187 0 0178 6c88 21 181 31 265-11a301 301 0 00149-174 118 118 0 005-67z" class="k p"/><path fill="#34b9eb" d="M1495 1148l-4-5c-10-8-25-9-37-13l-47-18-82-24c-65-17-141-34-203 2a123 123 0 00-62 84 102 102 0 0028 88c25 24 64 37 97 49a718 718 0 00193 53 54 54 0 0022 0 38 38 0 0013-9 297 297 0 0053-47 154 154 0 0031-77 275 275 0 003-64 38 38 0 00-5-19z"/><path d="M3475 1965c-48-96-98-191-151-284l-26-44-11-18-20-33a86 86 0 01-10-16l-31-47c-32-47-68-100-121-127s-112-30-167-40a680 680 0 00-277-4c-134 33-237 127-329 224s-196 215-254 349l-9 23c-19 49-30 102-19 153 18 93 107 161 201 179l17 2h102a681 681 0 00159-43 673 673 0 00348-269 864 864 0 00-58 113 448 448 0 00-31 117 51 51 0 01-6 22c-10 16-33 15-50 21a38 38 0 00-15 9 2171 2171 0 00155 935 2497 2497 0 01-511 252c227 31 475 45 674-85 145-96 237-247 308-401s148-328 198-499a683 683 0 0034-196c1-106-54-200-100-293z" class="n"/><path d="M2718 2345a121 121 0 00-1 19v16l1 42v16l2 43 1 15 3 45a49 49 0 001 12l5 55v2c4 38 9 77 16 115a59 59 0 002 13l7 42a162 162 0 014 19l8 37 4 21 8 34 6 22 9 34 6 22 10 33a187 187 0 007 22l11 34a172 172 0 007 21 520 520 0 0013 36l6 18 21 54-59 37-5 3-57 33-7 4-56 30-8 5-56 28-9 5-56 27-8 3-57 26-8 3-58 23-5 2-62 23c227 31 475 45 674-86a659 659 0 00159-148 1392 1392 0 00-479-860zm473-658c58-103 47-86 13-196-27-38-58-74-99-95s-112-30-167-40c-34-6-67-11-101-14 125 110 158 219 159 312s-79 242-119 316-200 399 31 104c72-91 157-145 209-235s9-35 74-152z" class="o"/><path d="M2936 1420c-24-24-65-71-100-79a519 519 0 00-162 11c-133 33-237 127-328 224s-197 215-254 349a160 160 0 00-10 23c-19 49-30 102-19 153 18 89 99 154 187 175 139 1 351-73 510-236 226-231 298-501 176-620z" class="k p"/><path fill="#9f87bf" d="M2325 1787a166 166 0 00-49 30c-41 30-77 66-114 99s-94 65-108 119a146 146 0 006 85c15 48 42 94 84 122 77 51 161 7 225-44s131-88 164-157-13-132-50-179-89-92-149-78z"/><path d="M2493 1875l-395 322a197 197 0 0046 45c77 51 161 7 225-44s131-88 164-157c26-54-6-119-40-166z" opacity=".1"/><path d="M1581 1651h-1a169 169 0 00-47-27 685 685 0 00-135-34c-100-16-201-8-302-8s-193 0-277 50-129 145-146 233-2 172 47 240a297 297 0 00341 93 61 61 0 0022-13c8-9 10-22 16-33 15-29 65-14 91-15a771 771 0 00197-37c161-58 294-215 229-392a152 152 0 00-35-57z" class="n"/><path d="M1150 2266c26-8-5-75-28-119a14 14 0 00-13-6c21-13 60-3 81-4a771 771 0 00197-37 417 417 0 00182-128c-144-16-209 120-424 97-94-10-175 13-257 15s-149-38-175 10l7 11c43 60 112 97 185 109h3a256 256 0 0047 4c59 9 116 32 174 46a38 38 0 0021 2z" class="o"/><path d="M1581 1651h-1a169 169 0 00-47-27 685 685 0 00-135-34c-100-16-201-8-302-8s-240 49-254 215c-25 308 445 314 568 289a277 277 0 00206-377 152 152 0 00-35-58z" class="k p"/><path fill="#5d509e" d="M1190 1808a127 127 0 0131-84c30-34 68-41 111-48l65-9c59-7 119-15 180-17a72 72 0 0125 3 53 53 0 0128 34 243 243 0 0113 89 589 589 0 01-11 118 85 85 0 01-6 17c-11 19-38 21-57 24a1154 1154 0 01-235 5 215 215 0 01-67-13 124 124 0 01-77-119z"/><path fill="#ddc1a8" d="M890 1490c-16 0-16-3-42-7s-17-2-28-1h-2l35 27 11 8 12 3a25 25 0 0015-8l10-14 3-7zm12 724h-1c79-3 153 32 228 50a38 38 0 0021 2c26-8-5-75-28-119a13 13 0 00-22-1c-32 44-177 66-198 68zm1823 344l-1-8a19 19 0 001 8zm-7-128l-1-57 1 57zm16-189c18-6 41-5 51-20a60 60 0 006-22 445 445 0 0131-118 855 855 0 0157-113 527 527 0 01-151 164l-9 118zm-14 251l4 55-4-55zm-2-62l2 58-2-58zm1-178c-2 39-2 78-2 117 0-39 0-78 2-117z"/><path d="M660 2509c9-37 51-89 76-116 67-73 165-106 256-141a2165 2165 0 01316-94 1142 1142 0 01164-26c42-3 109-16 142 17a183 183 0 0136 64 1068 1068 0 0143 124 240 240 0 019 103c-11 58-57 104-107 134-95 57-204 87-304 133-40 18-79 39-109 70-15 15-26 32-42 45a217 217 0 01-116 41c-80 12-166 17-238-21-118-62-153-211-126-333z" class="n"/><path d="M1117 2829c32-14 59-52 80-78a16 16 0 018-6 8 8 0 018 3c24 15-36 63-31 92a63 63 0 01-2 27c-4 9-19 5-28 6-70 11-40-25-108-13 29-14 47-19 73-31zm469-319c-31 4-414 153-468 171s-142 54-231 54-110 6-134 36l-25 28a209 209 0 0058 43c72 38 158 33 238 21 41-5 84-14 116-41 16-13 27-30 42-45 30-31 69-52 109-70 100-46 209-76 304-133a249 249 0 0078-70z" class="o"/><path d="M1693 2337a1068 1068 0 00-43-124 183 183 0 00-36-64c-33-33-100-20-142-17a1142 1142 0 00-164 26 2086 2086 0 00-246 69c-157 100-206 219-170 322 45 131 248 161 468 109 80-32 160-39 235-84 50-30 96-76 107-134a240 240 0 00-9-103z" class="k p"/><path fill="#41439a" d="M1329 2278c29-37 86-56 129-68s102-20 153-31c18-4 53-14 72-11s35 29 51 52 31 76 35 116a74 74 0 01-6 41 84 84 0 01-32 27 582 582 0 01-81 35 1184 1184 0 01-133 36c-52 12-115 29-161-8a125 125 0 01-41-70c-8-34-10-81 9-112z"/><path d="M1760 2281l-443 125a120 120 0 0039 61c46 37 109 20 161 8a1184 1184 0 00133-36 582 582 0 0081-35 84 84 0 0032-27 74 74 0 006-41 525 525 0 00-9-55z" class="i" opacity=".4"/><path d="M1646 2847a202 202 0 00-64-22 856 856 0 00-396 24c-111 33-309 103-321 238a227 227 0 0041 147c38 59 103 119 177 122 58 2 111-20 164-38s104-23 154-42a502 502 0 00260-204 229 229 0 0038-118c1-41-18-85-53-107z" class="n"/><path d="M1444 3199c-90 30-167 39-248 62s-165-64-214 56a184 184 0 00101 39c58 2 111-20 164-38s104-23 154-42c90-33 173-87 231-163-73 35-143 71-188 86z" class="o"/><path d="M1646 2847a202 202 0 00-64-22 867 867 0 00-389 21c-86 76-129 164-106 242 34 116 160 230 412 141a468 468 0 00162-157 229 229 0 0038-118c1-41-18-85-53-107z" class="k p"/><path fill="#005c9f" d="M1326 3039c18 47 69 74 116 81a316 316 0 0097-3c39-7 78-16 116-26a134 134 0 0067-34 92 92 0 0015-25c13-30 8-63 0-93s-22-69-57-78a128 128 0 00-55 0c-53 8-104 27-157 37-32 7-65 13-93 30s-53 45-55 77a97 97 0 006 34z"/><path d="M1063 1162l-3 12a102 102 0 0028 88c25 24 64 37 97 49a718 718 0 00193 53 54 54 0 0022 0 38 38 0 0013-9 297 297 0 0053-47 144 144 0 0019-31zm128 662a124 124 0 0076 103 215 215 0 0067 13 1154 1154 0 00235-5c19-3 46-5 57-24a85 85 0 006-17 610 610 0 0011-113zm138 1223c21 42 68 67 113 73a316 316 0 0097-3c39-7 78-16 116-26a134 134 0 0067-34 92 92 0 0015-25 128 128 0 003-80z" class="i k"/></svg>diff --git a/src/components/intro/index.tsx b/src/shared/initial-app/Intro/index.tsxsimilarity index 64%rename from src/components/intro/index.tsxrename to src/shared/initial-app/Intro/index.tsxindex 3439d309..10b01cbb 100644--- a/src/components/intro/index.tsx+++ b/src/shared/initial-app/Intro/index.tsx@@ -1,18 +1,19 @@import { h, Component } from 'preact';-import { bind, linkRef, Fileish } from '../../lib/initial-util';-import '../custom-els/LoadingSpinner';--import logo from './imgs/logo.svg';-import largePhoto from './imgs/demos/demo-large-photo.jpg';-import artwork from './imgs/demos/demo-artwork.jpg';-import deviceScreen from './imgs/demos/demo-device-screen.png';-import largePhotoIcon from './imgs/demos/icon-demo-large-photo.jpg';-import artworkIcon from './imgs/demos/icon-demo-artwork.jpg';-import deviceScreenIcon from './imgs/demos/icon-demo-device-screen.jpg';-import logoIcon from './imgs/demos/icon-demo-logo.png';-import * as style from './style.scss';-import SnackBarElement from '../../lib/SnackBar';+import { linkRef } from 'shared/initial-app/util';+import '../custom-els/loading-spinner';++import logo from 'url:./imgs/logo.svg';+import largePhoto from 'url:./imgs/demos/demo-large-photo.jpg';+import artwork from 'url:./imgs/demos/demo-artwork.jpg';+import deviceScreen from 'url:./imgs/demos/demo-device-screen.png';+import largePhotoIcon from 'url:./imgs/demos/icon-demo-large-photo.jpg';+import artworkIcon from 'url:./imgs/demos/icon-demo-artwork.jpg';+import deviceScreenIcon from 'url:./imgs/demos/icon-demo-device-screen.jpg';+import logoIcon from 'url:./imgs/demos/icon-demo-logo.png';+import * as style from './style.css';+import type SnackBarElement from 'shared/initial-app/custom-els/snack-bar';+import 'shared/initial-app/custom-els/snack-bar';const demos = [{@@ -44,8 +45,8 @@ const demos = [const installButtonSource = 'introInstallButton-Purple';interface Props {- onFile: (file: File | Fileish) => void;- showSnack: SnackBarElement['showSnackbar'];+ onFile?: (file: File) => void;+ showSnack?: SnackBarElement['showSnackbar'];}interface State {fetchingDemoIndex?: number;@@ -60,52 +61,51 @@ export default class Intro extends Component<Props, State> {constructor() {super();+ if (__PRERENDER__) return;// Listen for beforeinstallprompt events, indicating Squoosh is installable.- window.addEventListener('beforeinstallprompt', this.onBeforeInstallPromptEvent);+ window.addEventListener(+ 'beforeinstallprompt',+ this.onBeforeInstallPromptEvent,+ );// Listen for the appinstalled event, indicating Squoosh has been installed.window.addEventListener('appinstalled', this.onAppInstalled);}- @bind- private resetFileInput() {+ private resetFileInput = () => {this.fileInput!.value = '';- }+ };- @bind- private onFileChange(event: Event): void {+ private onFileChange = (event: Event): void => {const fileInput = event.target as HTMLInputElement;const file = fileInput.files && fileInput.files[0];if (!file) return;this.resetFileInput();- this.props.onFile(file);- }+ this.props.onFile!(file);+ };- @bind- private onButtonClick() {+ private onButtonClick = () => {this.fileInput!.click();- }+ };- @bind- private async onDemoClick(index: number, event: Event) {+ private onDemoClick = async (index: number, event: Event) => {try {this.setState({ fetchingDemoIndex: index });const demo = demos[index];- const blob = await fetch(demo.url).then(r => r.blob());+ const blob = await fetch(demo.url).then((r) => r.blob());// Firefox doesn't like content types like 'image/png; charset=UTF-8', which Webpack's dev// server returns. https://bugzilla.mozilla.org/show_bug.cgi?id=1497925.const type = /[^;]*/.exec(blob.type)![0];- const file = new Fileish([blob], demo.filename, { type });- this.props.onFile(file);+ const file = new File([blob], demo.filename, { type });+ this.props.onFile!(file);} catch (err) {this.setState({ fetchingDemoIndex: undefined });- this.props.showSnack("Couldn't fetch demo image");+ this.props.showSnack!("Couldn't fetch demo image");}- }+ };- @bind- private onBeforeInstallPromptEvent(event: BeforeInstallPromptEvent) {+ private onBeforeInstallPromptEvent = (event: BeforeInstallPromptEvent) => {// Don't show the mini-infobar on mobileevent.preventDefault();@@ -119,10 +119,9 @@ export default class Intro extends Component<Props, State> {nonInteraction: true,};ga('send', 'event', gaEventInfo);- }+ };- @bind- private async onInstallClick(event: Event) {+ private onInstallClick = async (event: Event) => {// Get the deferred beforeinstallprompt eventconst beforeInstallEvent = this.state.beforeInstallEvent;// If there's no deferred prompt, bail.@@ -148,10 +147,9 @@ export default class Intro extends Component<Props, State> {if (outcome === 'dismissed') {this.installingViaButton = false;}- }+ };- @bind- private onAppInstalled() {+ private onAppInstalled = () => {// We don't need the install button, if it's shownthis.setState({ beforeInstallEvent: undefined });@@ -166,20 +164,27 @@ export default class Intro extends Component<Props, State> {// Clear the install method propertythis.installingViaButton = false;- }+ };- render({ }: Props, { fetchingDemoIndex, beforeInstallEvent }: State) {+ render({}: Props, { fetchingDemoIndex, beforeInstallEvent }: State) {return (<div class={style.intro}><div><div class={style.logoSizer}><div class={style.logoContainer}>- <img src={logo} class={style.logo} alt="Squoosh" decoding="async" />+ <img+ src={logo}+ class={style.logo}+ alt="Squoosh"+ decoding="async"+ /></div></div><p class={style.openImageGuide}>Drag & drop or{' '}- <button class={style.selectButton} onClick={this.onButtonClick}>select an image</button>+ <button class={style.selectButton} onClick={this.onButtonClick}>+ select an image+ </button><inputclass={style.hide}ref={linkRef(this, 'fileInput')}@@ -189,28 +194,36 @@ export default class Intro extends Component<Props, State> {</p><p>Or try one of these:</p><ul class={style.demos}>- {demos.map((demo, i) =>+ {demos.map((demo, i) => (<li key={demo.url} class={style.demoItem}>- <button class={style.demoButton} onClick={this.onDemoClick.bind(this, i)}>+ <button+ class={style.demoButton}+ onClick={this.onDemoClick.bind(this, i)}+ ><div class={style.demo}><div class={style.demoImgContainer}><div class={style.demoImgAspect}>- <img class={style.demoIcon} src={demo.iconUrl} alt="" decoding="async" />- {fetchingDemoIndex === i &&+ <img+ class={style.demoIcon}+ src={demo.iconUrl}+ alt=""+ decoding="async"+ />+ {fetchingDemoIndex === i && (<div class={style.demoLoading}><loading-spinner class={style.demoLoadingSpinner} /></div>- }+ )}</div></div><div class={style.demoDescription}>{demo.description}</div></div></button>- </li>,- )}+ </li>+ ))}</ul></div>- {beforeInstallEvent &&+ {beforeInstallEvent && (<buttontype="button"class={style.installButton}@@ -218,10 +231,18 @@ export default class Intro extends Component<Props, State> {>Install</button>- }+ )}<ul class={style.relatedLinks}>- <li><a href="https://github.com/GoogleChromeLabs/squoosh/">View the code</a></li>- <li><a href="https://github.com/GoogleChromeLabs/squoosh/issues">Report a bug</a></li>+ <li>+ <a href="https://github.com/GoogleChromeLabs/squoosh/">+ View the code+ </a>+ </li>+ <li>+ <a href="https://github.com/GoogleChromeLabs/squoosh/issues">+ Report a bug+ </a>+ </li><li><a href="https://github.com/GoogleChromeLabs/squoosh/blob/dev/README.md#privacy">Privacydiff --git a/src/components/intro/missing-types.d.ts b/src/shared/initial-app/Intro/missing-types.d.tssimilarity index 89%rename from src/components/intro/missing-types.d.tsrename to src/shared/initial-app/Intro/missing-types.d.tsindex 8c794d4e..a35205c5 100644--- a/src/components/intro/missing-types.d.ts+++ b/src/shared/initial-app/Intro/missing-types.d.ts@@ -3,7 +3,6 @@* before a user is prompted to "install" a web site to a home screen on mobile.*/interface BeforeInstallPromptEvent extends Event {-/*** Returns an array of DOMString items containing the platforms on which the event was dispatched.* This is provided for user agents that want to present a choice of versions to the user such as,@@ -16,8 +15,8 @@ interface BeforeInstallPromptEvent extends Event {* Returns a Promise that resolves to a DOMString containing either "accepted" or "dismissed".*/readonly userChoice: Promise<{- outcome: 'accepted' | 'dismissed',- platform: string+ outcome: 'accepted' | 'dismissed';+ platform: string;}>;/**@@ -28,5 +27,5 @@ interface BeforeInstallPromptEvent extends Event {}interface WindowEventMap {- "beforeinstallprompt": BeforeInstallPromptEvent;+ beforeinstallprompt: BeforeInstallPromptEvent;}diff --git a/src/components/intro/style.scss b/src/shared/initial-app/Intro/style.csssimilarity index 91%rename from src/components/intro/style.scssrename to src/shared/initial-app/Intro/style.cssindex 21f3946f..6e936e5c 100644--- a/src/components/intro/style.scss+++ b/src/shared/initial-app/Intro/style.css@@ -3,8 +3,9 @@font-style: normal;font-weight: 300;font-display: block;- // This only contains the chars for "Drag & drop or"- src: url('data:font/woff2;base64,d09GMgABAAAAAAXcAA4AAAAACowAAAWJAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbg2gcMAZgAGwRCAqIQIcnCxYAATYCJAMoBCAFgwAHIBvqCFEU84FMI2Xh/P3g+Tfn532yQ/IgYz4BrJyhtkkZwFBYAZ49sI63e5v/NnqzIfbADyE0qxOqK8ESLoNNdULHihxbW0W86/qHEk4wT/eHShPRZJYYqUGkQdLSWCeSemZBzwpKyX/LRoAhMEQhqCFBw5RHNCc4hbVn35FsxtTXVHYyo7miu5VN2AW1fwzVauRgXnIGo2IWsYdViUoLu6mms5VFAn+SeQ4eBazfj7QodrMt4oyQHaGADEPRpTbDqJaoTENNK6DpOralUszf6gI/QsAhWZSMKVOirikSJxZRLBVD0S4mB0kTBRwopjZ/mt/2/25+bcSipgiHRmwiFI1g+XhwlshyEAsbJzGiGH+U5whHNgiXooplafI1rMFbmIqjGAPhmcSkVFxeu9hw87aXsGyL+dPE05qUpK2WyaVQcZVW+aDmw3aalLJKNmQORcpZYtBIuTrncN4xXoVZY617TBSsx2T1DHgGU6u4etE04wha1GEwjVkEaDttOrl1FCOwUMxgHnuooJo62ukcWEuc1/aT+dZ8b142t5tbzc3mGnP1EJqVTEGMYTjG14YxtGEEG+0E2axhe6Oa1E8UrDHDFjhTRywYNWrU9JHTlw7RmaslkrrGcTJ+znW4EzzP0zovE4Z5d0hqVhBobftBIKkwL09SOv3hhCuv1Dp9taTeCJ2Mj3KDT8iDng5DkWzPw/UdP8idNDkMnUyOwEauwnYLQeLC7GskNe72QKe97AmuA42E5FjfyYTM+HTdQ+Xqb+q4JvptyKZN1w47qMMwL58fyKZM1U6NXgWlOFdxx7DpXHDTz4UB89WMK3HH3uY7mavFopGF+u36lGlqZsL4ugmbqvZxveycMO+a4uyN3o7GT2qdHpfr6W++kNTn1crdx7Z+FW7PfffTmfnXV/2ivsh5UX93zdlzct6QlSuHSumG3oGNNT9/m9yXnDcnKfsmDx8xUaoKi+uvGs99H2ieUJUg8bTnVwQcDd/SPKwYWDUv+QkpT6MulMrcPTXNWYnIowxvoiwnX+opTMkvzOMGgpNpqnK32CNVwCnassw0BwQwTa0rLS3m1DfIoxx5PIE8SvEmSk3pHSWZiRVKjOOQSylJSHGXkhT/u/tg/Vm9UZQcS59TGb1qjcuuT0925iaaU1vaWpZJM4ukqWWlrdWSIcVNlOImvnrzLn53UpnSLzbGT5lUlpTiKiPJFEmyqywFLtOhcaYJkWkaGe/oGBlnmiIiIiKYpqHxLmdaWg5JpxxHSXpajsuVlkPSvb1JelqOC0pubbAn2A2UsDdYmTmjvbVlgTRhVBSSxpbF1nZD+jvkUR4rcJeSFBp2d19SUsVW5DjkUkoSoITHJ7iJEpZnZaL4OiF7g92DN1mz8b1RiM9RDk9ps9pcanamlnj2ftqbJpHJ0wpkRn2+RJ6qsGflpYrPnxG6A4r9zqGY3qCcqDuhsWGQhoXpQ0663cWFM4qNR0Jxj1R0UBT36pahMneH4NYV27jElOeyAAAACACAABy4uvGyOsj21Y9h3gIA3PuxYAYAuC/7vftf7L+PXunMAQDwBQIAAAIA5vR/HwCvOQ//TzLL7cPIHUC0zMI5v7+tHiVfzWOeSrJKZbFabWGNSnJE+jmsnmTjTZm6kBi9r0aLgm8qNk6t67ATuPlEitG+g+E7in1GMYxCxmIF9YzNJK7lRoSPc6PCD+8fxhp+YjdttDNAJw3UUU83M1jFClaylkpkU08NVZqkh0oaaBLPnaCTNhqpoaok2UkPZqy/JyfpKnVLkhrq6KGZCjpZxTJWqN9uJofD5HGMzSXHLaVbOmuTSnOp6cTQgJlaB6oF7RIITul8N+1sYjnL6aJqqoZ2inaxDIY2s2zwlXUs5zj7OPJmAPao+ZhVHy0A') format('woff2');+ /* This only contains the chars for "Drag & drop or" */+ src: url('data:font/woff2;base64,d09GMgABAAAAAAXcAA4AAAAACowAAAWJAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbg2gcMAZgAGwRCAqIQIcnCxYAATYCJAMoBCAFgwAHIBvqCFEU84FMI2Xh/P3g+Tfn532yQ/IgYz4BrJyhtkkZwFBYAZ49sI63e5v/NnqzIfbADyE0qxOqK8ESLoNNdULHihxbW0W86/qHEk4wT/eHShPRZJYYqUGkQdLSWCeSemZBzwpKyX/LRoAhMEQhqCFBw5RHNCc4hbVn35FsxtTXVHYyo7miu5VN2AW1fwzVauRgXnIGo2IWsYdViUoLu6mms5VFAn+SeQ4eBazfj7QodrMt4oyQHaGADEPRpTbDqJaoTENNK6DpOralUszf6gI/QsAhWZSMKVOirikSJxZRLBVD0S4mB0kTBRwopjZ/mt/2/25+bcSipgiHRmwiFI1g+XhwlshyEAsbJzGiGH+U5whHNgiXooplafI1rMFbmIqjGAPhmcSkVFxeu9hw87aXsGyL+dPE05qUpK2WyaVQcZVW+aDmw3aalLJKNmQORcpZYtBIuTrncN4xXoVZY617TBSsx2T1DHgGU6u4etE04wha1GEwjVkEaDttOrl1FCOwUMxgHnuooJo62ukcWEuc1/aT+dZ8b142t5tbzc3mGnP1EJqVTEGMYTjG14YxtGEEG+0E2axhe6Oa1E8UrDHDFjhTRywYNWrU9JHTlw7RmaslkrrGcTJ+znW4EzzP0zovE4Z5d0hqVhBobftBIKkwL09SOv3hhCuv1Dp9taTeCJ2Mj3KDT8iDng5DkWzPw/UdP8idNDkMnUyOwEauwnYLQeLC7GskNe72QKe97AmuA42E5FjfyYTM+HTdQ+Xqb+q4JvptyKZN1w47qMMwL58fyKZM1U6NXgWlOFdxx7DpXHDTz4UB89WMK3HH3uY7mavFopGF+u36lGlqZsL4ugmbqvZxveycMO+a4uyN3o7GT2qdHpfr6W++kNTn1crdx7Z+FW7PfffTmfnXV/2ivsh5UX93zdlzct6QlSuHSumG3oGNNT9/m9yXnDcnKfsmDx8xUaoKi+uvGs99H2ieUJUg8bTnVwQcDd/SPKwYWDUv+QkpT6MulMrcPTXNWYnIowxvoiwnX+opTMkvzOMGgpNpqnK32CNVwCnassw0BwQwTa0rLS3m1DfIoxx5PIE8SvEmSk3pHSWZiRVKjOOQSylJSHGXkhT/u/tg/Vm9UZQcS59TGb1qjcuuT0925iaaU1vaWpZJM4ukqWWlrdWSIcVNlOImvnrzLn53UpnSLzbGT5lUlpTiKiPJFEmyqywFLtOhcaYJkWkaGe/oGBlnmiIiIiKYpqHxLmdaWg5JpxxHSXpajsuVlkPSvb1JelqOC0pubbAn2A2UsDdYmTmjvbVlgTRhVBSSxpbF1nZD+jvkUR4rcJeSFBp2d19SUsVW5DjkUkoSoITHJ7iJEpZnZaL4OiF7g92DN1mz8b1RiM9RDk9ps9pcanamlnj2ftqbJpHJ0wpkRn2+RJ6qsGflpYrPnxG6A4r9zqGY3qCcqDuhsWGQhoXpQ0663cWFM4qNR0Jxj1R0UBT36pahMneH4NYV27jElOeyAAAACACAABy4uvGyOsj21Y9h3gIA3PuxYAYAuC/7vftf7L+PXunMAQDwBQIAAAIA5vR/HwCvOQ//TzLL7cPIHUC0zMI5v7+tHiVfzWOeSrJKZbFabWGNSnJE+jmsnmTjTZm6kBi9r0aLgm8qNk6t67ATuPlEitG+g+E7in1GMYxCxmIF9YzNJK7lRoSPc6PCD+8fxhp+YjdttDNAJw3UUU83M1jFClaylkpkU08NVZqkh0oaaBLPnaCTNhqpoaok2UkPZqy/JyfpKnVLkhrq6KGZCjpZxTJWqN9uJofD5HGMzSXHLaVbOmuTSnOp6cTQgJlaB6oF7RIITul8N+1sYjnL6aJqqoZ2inaxDIY2s2zwlXUs5zj7OPJmAPao+ZhVHy0A')+ format('woff2');}@font-face {@@ -12,12 +13,15 @@font-style: normal;font-weight: 500;font-display: block;- // Only contains the chars for "select an image"- src: url('data:font/woff2;base64,d09GMgABAAAAAAXMAA4AAAAACwQAAAV5AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbg1IcMAZgAGwRCAqJUId/CxoAATYCJAMwBCAFgnAHIBskCcjEh6dNff8Ou/9Tj9VZGnUhJeqFzWGiVVOkxkTthr9f6kWkRdsBbkIj3YuLaloFZWr7aBg22z7IOoWqBWCW5cZU3GBrh0n+dAcBYAUlzYHAzWTYchqKXEyAT0zOLIS1qqm+B8q2ur4OhEMy0PHHUH8KklaSr8T0mp/EU7kRvXlI1E09HXA1qLN8Djxa0AsSDOg3cJARb9mtQJoSK3gvEn372/gcAigg/gOnbsT/MYv491GTReW4rJC5LA+h5FFclF6QQgoZ5Kx7GbsuGeytUgFClkOomY2Gdake3m9HegkHieAx/a0hBTALsy4jvpxBcnFXUnjC+2ZS5zHnDeEaJVwi+ZWqzOm4Uvgy4k6kGv4kFDVkfjk1gkVRRkk2zlo42PBbRJmG30cClJQjak7BnfQqHza4ITKftQZ/ZMUaEiyy1+mYCh4clKhDA5rQglZ0oG9jw+qiNvT+SfxIXCeuFdeIq8VV4gpxyRaGOl0JiChiCocfc7e93DwZIPvWgPiZJLcJugxyjW7UQyl4TJk6dWqYU7Cn0WQiWnNJCdGeprqjW63fpVS3mKy4YGZ6I3ya4nbIVgM1mwkpNEBzixlNxfPmH7owvdE4973OM9quvk11dwvnzDUy/Zn5S5Ywpn/PeqXBQI2m4lna05CRtsI6+GIENjS9K4jWRHUGYA2ozdZm2Smmf0DI3aqpeNbsJfxe7YdFmcZAn5gXLCFa2/Umqiu017APFhMZ0rfQp4sJX0ZrJ+n9UtAljr5VYWb6oj1MrpvX3qe6u8WRJg0bj7aPkDOa7m+E0Oa9Y8eY/gbRbr+efH7hcO49bMd28fbDVHcUmm3XkozQGKjeBHSJ4TQnI879LIFmF2v/BJuEQlffJPfE9oKayS/PsPE44fvM4MsBESxbuEEV39d5pw6oW4vD6S1WQC3UpSbHNbK0Jikl0bphSs+0CGW8Ew4Kzw7zarmcVz873JHTFhKYay18R8vY0ozPiHPAGyROAqlW5fLj5+HbWBn9TpgekKsOy8N+4dlFfL9i/Nk3+gY1bwzZUAvLVNiFpvqHRenetSoVrgn2obGtPsltEVxEeHJAQFhyBIcHT9rDvTJm06e0TLgase2gd2RffGJNg0o1zrdRyi9s1bYE5bi85cK+o/nUwvBR5+jweEBaSMoCub29fEFISmib9Dn5yl5kVFpoGrPQSmZhafQ7WimttNCH7Cktohb6kFpoEfIsdDF7SgvZTbaY3mKFyLXQh+wpzWE3mUNQQkWnR+lgiW9Afkunej49Nz3sYlI8XFTRdkNhUR5d6h4oOpJc8OjcItMXVqoHW2fSW6ycWuiM8NDYoICouLAZ9BYrwwmhycvKlt4Q8hUlCV5nZ7vOm2ut2rizcFpuWpSrT3K1Z3xinbuHnXBTyGAljV/XzHZaNGu6y7vLDziMpIyUdOBBRXXlxznUQiOoheZsZk9njG8er1mNmz2eOCQ3x9BbLP+Zxt+VrbEz9aWxmimRvyl4/sumyoM/nw+LNzV4/uP0/9T/P5f08cvhl38USAS/xTYs2fL/VNFF0vd+SVsRB/khPwW4SCi5SHhx8fDgVPAiAqIJRQL/EuK5bsRzNnAiezD1i7u2VyHHAKRU+E2YUaA5DUsE2ZfbApAmsJcxjBwmQ2Xk4Y2BqZJ+oxSzsNEogz1O3/xkBMKEBHSiC8PoQStaoEIflPCHL/wQBCUKoUITlMhHP+olt5ojykUPOrEQTWgY+f449KMPKnSiB72jGrLQhEZO24925LtbkG5DndTkD2/4um+NQBEyUIJsRBxX24tcDGmbWtGJjq05jhzTaMgCcR+6EA4f+KAXDay5u6RsL7xJsm3w3mzvFvggB8nI/AYBdVnxNvx/2wA=') format('woff2');+ /* Only contains the chars for "select an image" */+ src: url('data:font/woff2;base64,d09GMgABAAAAAAXMAA4AAAAACwQAAAV5AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbg1IcMAZgAGwRCAqJUId/CxoAATYCJAMwBCAFgnAHIBskCcjEh6dNff8Ou/9Tj9VZGnUhJeqFzWGiVVOkxkTthr9f6kWkRdsBbkIj3YuLaloFZWr7aBg22z7IOoWqBWCW5cZU3GBrh0n+dAcBYAUlzYHAzWTYchqKXEyAT0zOLIS1qqm+B8q2ur4OhEMy0PHHUH8KklaSr8T0mp/EU7kRvXlI1E09HXA1qLN8Djxa0AsSDOg3cJARb9mtQJoSK3gvEn372/gcAigg/gOnbsT/MYv491GTReW4rJC5LA+h5FFclF6QQgoZ5Kx7GbsuGeytUgFClkOomY2Gdake3m9HegkHieAx/a0hBTALsy4jvpxBcnFXUnjC+2ZS5zHnDeEaJVwi+ZWqzOm4Uvgy4k6kGv4kFDVkfjk1gkVRRkk2zlo42PBbRJmG30cClJQjak7BnfQqHza4ITKftQZ/ZMUaEiyy1+mYCh4clKhDA5rQglZ0oG9jw+qiNvT+SfxIXCeuFdeIq8VV4gpxyRaGOl0JiChiCocfc7e93DwZIPvWgPiZJLcJugxyjW7UQyl4TJk6dWqYU7Cn0WQiWnNJCdGeprqjW63fpVS3mKy4YGZ6I3ya4nbIVgM1mwkpNEBzixlNxfPmH7owvdE4973OM9quvk11dwvnzDUy/Zn5S5Ywpn/PeqXBQI2m4lna05CRtsI6+GIENjS9K4jWRHUGYA2ozdZm2Smmf0DI3aqpeNbsJfxe7YdFmcZAn5gXLCFa2/Umqiu017APFhMZ0rfQp4sJX0ZrJ+n9UtAljr5VYWb6oj1MrpvX3qe6u8WRJg0bj7aPkDOa7m+E0Oa9Y8eY/gbRbr+efH7hcO49bMd28fbDVHcUmm3XkozQGKjeBHSJ4TQnI879LIFmF2v/BJuEQlffJPfE9oKayS/PsPE44fvM4MsBESxbuEEV39d5pw6oW4vD6S1WQC3UpSbHNbK0Jikl0bphSs+0CGW8Ew4Kzw7zarmcVz873JHTFhKYay18R8vY0ozPiHPAGyROAqlW5fLj5+HbWBn9TpgekKsOy8N+4dlFfL9i/Nk3+gY1bwzZUAvLVNiFpvqHRenetSoVrgn2obGtPsltEVxEeHJAQFhyBIcHT9rDvTJm06e0TLgase2gd2RffGJNg0o1zrdRyi9s1bYE5bi85cK+o/nUwvBR5+jweEBaSMoCub29fEFISmib9Dn5yl5kVFpoGrPQSmZhafQ7WimttNCH7Cktohb6kFpoEfIsdDF7SgvZTbaY3mKFyLXQh+wpzWE3mUNQQkWnR+lgiW9Afkunej49Nz3sYlI8XFTRdkNhUR5d6h4oOpJc8OjcItMXVqoHW2fSW6ycWuiM8NDYoICouLAZ9BYrwwmhycvKlt4Q8hUlCV5nZ7vOm2ut2rizcFpuWpSrT3K1Z3xinbuHnXBTyGAljV/XzHZaNGu6y7vLDziMpIyUdOBBRXXlxznUQiOoheZsZk9njG8er1mNmz2eOCQ3x9BbLP+Zxt+VrbEz9aWxmimRvyl4/sumyoM/nw+LNzV4/uP0/9T/P5f08cvhl38USAS/xTYs2fL/VNFF0vd+SVsRB/khPwW4SCi5SHhx8fDgVPAiAqIJRQL/EuK5bsRzNnAiezD1i7u2VyHHAKRU+E2YUaA5DUsE2ZfbApAmsJcxjBwmQ2Xk4Y2BqZJ+oxSzsNEogz1O3/xkBMKEBHSiC8PoQStaoEIflPCHL/wQBCUKoUITlMhHP+olt5ojykUPOrEQTWgY+f449KMPKnSiB72jGrLQhEZO24925LtbkG5DndTkD2/4um+NQBEyUIJsRBxX24tcDGmbWtGJjq05jhzTaMgCcR+6EA4f+KAXDay5u6RsL7xJsm3w3mzvFvggB8nI/AYBdVnxNvx/2wA=')+ format('woff2');}@keyframes fade-in {- from { opacity: 0 }+ from {+ opacity: 0;+ }}.intro {@@ -48,7 +52,7 @@}.logo {- composes: abs-fill from '../../lib/util.scss';+ composes: abs-fill from '../util.css';pointer-events: none;}@@ -63,9 +67,9 @@}.select-button {- composes: unbutton from '../../lib/util.scss';+ composes: unbutton from '../util.css';font-weight: 500;- color: #5D509E;+ color: #5d509e;&:hover,&:focus {@@ -113,7 +117,7 @@}.demo-button {- composes: unbutton from '../../lib/util.scss';+ composes: unbutton from '../util.css';flex: 1;&:hover,@@ -141,11 +145,10 @@.demo-img-aspect {position: relative;padding-top: 100%;-}.demo-icon {- composes: abs-fill from '../../lib/util.scss';+ composes: abs-fill from '../util.css';pointer-events: none;}@@ -159,7 +162,7 @@}.demo-loading {- composes: abs-fill from '../../lib/util.scss';+ composes: abs-fill from '../util.css';background: rgba(0, 0, 0, 0.6);display: flex;align-items: center;@@ -172,14 +175,14 @@}.install-button {- composes: unbutton from '../../lib/util.scss';+ composes: unbutton from '../util.css';&:hover,&:focus {background: #504488;}- background: #5D509E;+ background: #5d509e;border: 1px solid #e8e8e8;color: #fff;padding: 14px;@@ -189,11 +192,13 @@top: 1rem;right: 1rem;- animation: fade-in .3s ease-in-out;+ animation: fade-in 0.3s ease-in-out;}@keyframes fade-in {- from { opacity: 0; }+ from {+ opacity: 0;+ }}.related-links {@@ -213,7 +218,7 @@}& a:link {- color: #5D509E;+ color: #5d509e;text-decoration: none;&:hover {diff --git a/src/shared/initial-app/custom-els/loading-spinner/index.ts b/src/shared/initial-app/custom-els/loading-spinner/index.tsnew file mode 100644index 00000000..3abe3108--- /dev/null+++ b/src/shared/initial-app/custom-els/loading-spinner/index.ts@@ -0,0 +1,59 @@+import * as styles from './styles.css';++// So it doesn't cause an error when running in node+const HTMLEl = ((__PRERENDER__+ ? Object+ : HTMLElement) as unknown) as typeof HTMLElement;++/**+ * A simple spinner. This custom element has no JS API. Just put it in the document, and it'll+ * spin. You can configure the following using CSS custom properties:+ *+ * --size: Size of the spinner element (it's always square). Default: 28px.+ * --color: Color of the spinner. Default: #4285f4.+ * --stroke-width: Width of the stroke of the spinner. Default: 3px.+ * --delay: Once the spinner enters the DOM, how long until it shows. This prevents the spinner+ * appearing on the screen for short operations. Default: 300ms.+ */+export default class LoadingSpinner extends HTMLEl {+ private _delayTimeout: number = 0;++ disconnectedCallback() {+ this.style.display = 'none';+ clearTimeout(this._delayTimeout);+ }++ connectedCallback() {+ this.style.display = 'none';+ // prettier-ignore+ this.innerHTML = '' ++ `<div class="${styles.spinnerContainer}">` ++ `<div class="${styles.spinnerLayer}">` ++ `<div class="${styles.spinnerCircleClipper} ${styles.spinnerLeft}">` ++ `<div class="${styles.spinnerCircle}"></div>` ++ '</div>' ++ `<div class="${styles.spinnerGapPatch}">` ++ `<div class="${styles.spinnerCircle}"></div>` ++ '</div>' ++ `<div class="${styles.spinnerCircleClipper} ${styles.spinnerRight}">` ++ `<div class="${styles.spinnerCircle}"></div>` ++ '</div>' ++ '</div>' ++ '</div>';++ const delayStr = getComputedStyle(this).getPropertyValue('--delay').trim();+ let delayNum = parseFloat(delayStr);++ // If seconds…+ if (/\ds$/.test(delayStr)) {+ // Convert to ms.+ delayNum *= 1000;+ }++ this._delayTimeout = self.setTimeout(() => {+ this.style.display = '';+ }, delayNum);+ }+}++if (!__PRERENDER__) customElements.define('loading-spinner', LoadingSpinner);diff --git a/src/shared/initial-app/custom-els/loading-spinner/missing-types.d.ts b/src/shared/initial-app/custom-els/loading-spinner/missing-types.d.tsnew file mode 100644index 00000000..35f42823--- /dev/null+++ b/src/shared/initial-app/custom-els/loading-spinner/missing-types.d.ts@@ -0,0 +1,13 @@+interface LoadingSpinner extends preact.JSX.HTMLAttributes {}++declare module 'preact' {+ namespace createElement.JSX {+ interface IntrinsicElements {+ 'loading-spinner': LoadingSpinner;+ }+ }+}++// Thing break unless this file is a module.+// Don't ask me why. I don't know.+export {};diff --git a/src/components/custom-els/LoadingSpinner/styles.css b/src/shared/initial-app/custom-els/loading-spinner/styles.csssimilarity index 65%rename from src/components/custom-els/LoadingSpinner/styles.cssrename to src/shared/initial-app/custom-els/loading-spinner/styles.cssindex 63c7856d..45017087 100644--- a/src/components/custom-els/LoadingSpinner/styles.css+++ b/src/shared/initial-app/custom-els/loading-spinner/styles.css@@ -1,32 +1,64 @@@keyframes spinner-left-spin {- from { transform: rotate(130deg); }- 50% { transform: rotate(-5deg); }- to { transform: rotate(130deg); }+ from {+ transform: rotate(130deg);+ }+ 50% {+ transform: rotate(-5deg);+ }+ to {+ transform: rotate(130deg);+ }}@keyframes spinner-right-spin {- from { transform: rotate(-130deg); }- 50% { transform: rotate(5deg); }- to { transform: rotate(-130deg); }+ from {+ transform: rotate(-130deg);+ }+ 50% {+ transform: rotate(5deg);+ }+ to {+ transform: rotate(-130deg);+ }}@keyframes spinner-fade-out {- to { opacity: 0; }+ to {+ opacity: 0;+ }}@keyframes spinner-container-rotate {- to { transform: rotate(360deg) }+ to {+ transform: rotate(360deg);+ }}@keyframes spinner-fill-unfill-rotate {- 12.5% { transform: rotate(135deg); } /* 0.5 * ARCSIZE */- 25% { transform: rotate(270deg); } /* 1 * ARCSIZE */- 37.5% { transform: rotate(405deg); } /* 1.5 * ARCSIZE */- 50% { transform: rotate(540deg); } /* 2 * ARCSIZE */- 62.5% { transform: rotate(675deg); } /* 2.5 * ARCSIZE */- 75% { transform: rotate(810deg); } /* 3 * ARCSIZE */- 87.5% { transform: rotate(945deg); } /* 3.5 * ARCSIZE */- to { transform: rotate(1080deg); } /* 4 * ARCSIZE */+ 12.5% {+ transform: rotate(135deg);+ } /* 0.5 * ARCSIZE */+ 25% {+ transform: rotate(270deg);+ } /* 1 * ARCSIZE */+ 37.5% {+ transform: rotate(405deg);+ } /* 1.5 * ARCSIZE */+ 50% {+ transform: rotate(540deg);+ } /* 2 * ARCSIZE */+ 62.5% {+ transform: rotate(675deg);+ } /* 2.5 * ARCSIZE */+ 75% {+ transform: rotate(810deg);+ } /* 3 * ARCSIZE */+ 87.5% {+ transform: rotate(945deg);+ } /* 3.5 * ARCSIZE */+ to {+ transform: rotate(1080deg);+ } /* 4 * ARCSIZE */}loading-spinner {@@ -91,18 +123,19 @@ loading-spinner .spinner-circle-clipper {loading-spinner .spinner-left .spinner-circle {border-right-color: transparent !important;transform: rotate(129deg);- animation: spinner-left-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;+ animation: spinner-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;}loading-spinner .spinner-right .spinner-circle {left: -100%;border-left-color: transparent !important;transform: rotate(-129deg);- animation: spinner-right-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;+ animation: spinner-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite+ both;}loading-spinner.spinner-fadeout {- animation: spinner-fade-out 400ms cubic-bezier(0.4, 0.0, 0.2, 1) forwards;+ animation: spinner-fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;}loading-spinner .spinner-container {@@ -120,5 +153,6 @@ loading-spinner .spinner-layer {height: 100%;border-color: inherit;/* durations: 4 * ARCTIME */- animation: spinner-fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;+ animation: spinner-fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1)+ infinite both;}diff --git a/src/lib/SnackBar/index.ts b/src/shared/initial-app/custom-els/snack-bar/index.tssimilarity index 77%rename from src/lib/SnackBar/index.tsrename to src/shared/initial-app/custom-els/snack-bar/index.tsindex e790d7ab..8e530c46 100644--- a/src/lib/SnackBar/index.ts+++ b/src/shared/initial-app/custom-els/snack-bar/index.ts@@ -1,15 +1,20 @@import * as style from './styles.css';+// So it doesn't cause an error when running in node+const HTMLEl = ((__PRERENDER__+ ? Object+ : HTMLElement) as unknown) as typeof HTMLElement;+export interface SnackOptions {timeout?: number;actions?: string[];}-function createSnack(message: string, options: SnackOptions): [Element, Promise<string>] {- const {- timeout = 0,- actions = ['dismiss'],- } = options;+function createSnack(+ message: string,+ options: SnackOptions,+): [Element, Promise<string>] {+ const { timeout = 0, actions = ['dismiss'] } = options;const el = document.createElement('div');el.className = style.snackbar;@@ -39,18 +44,19 @@ function createSnack(message: string, options: SnackOptions): [Element, Promise<// Add timeoutif (timeout) {- timeoutId = self.setTimeout(- () => resolve(''),- timeout,- );+ timeoutId = self.setTimeout(() => resolve(''), timeout);}});return [el, result];}-export default class SnackBarElement extends HTMLElement {- private _snackbars: [string, SnackOptions, (action: Promise<string>) => void][] = [];+export default class SnackBarElement extends HTMLEl {+ private _snackbars: [+ string,+ SnackOptions,+ (action: Promise<string>) => void,+ ][] = [];private _processingQueue = false;/**@@ -91,4 +97,4 @@ export default class SnackBarElement extends HTMLElement {}}-customElements.define('snack-bar', SnackBarElement);+if (!__PRERENDER__) customElements.define('snack-bar', SnackBarElement);diff --git a/src/shared/initial-app/custom-els/snack-bar/missing-types.d.ts b/src/shared/initial-app/custom-els/snack-bar/missing-types.d.tsnew file mode 100644index 00000000..98fbd8a1--- /dev/null+++ b/src/shared/initial-app/custom-els/snack-bar/missing-types.d.ts@@ -0,0 +1,16 @@+import type { SnackOptions } from '.';+import type preact from 'preact';++interface SnackBarAttributes extends preact.JSX.HTMLAttributes {+ showSnackbar?: (options: SnackOptions) => Promise<string>;+}++declare module 'preact' {+ namespace createElement.JSX {+ interface IntrinsicElements {+ 'snack-bar': SnackBarAttributes;+ }+ }+}++export {};diff --git a/src/lib/SnackBar/styles.css b/src/shared/initial-app/custom-els/snack-bar/styles.csssimilarity index 91%rename from src/lib/SnackBar/styles.cssrename to src/shared/initial-app/custom-els/snack-bar/styles.cssindex c1ece455..f20552cb 100644--- a/src/lib/SnackBar/styles.css+++ b/src/shared/initial-app/custom-els/snack-bar/styles.css@@ -18,7 +18,7 @@ snack-bar {margin-left: -172px;background: #2a2a2a;border-radius: 2px;- box-shadow: 0 1px 4px rgba(0,0,0,0.5);+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);transform-origin: center;color: #eee;z-index: 100;@@ -26,7 +26,7 @@ snack-bar {will-change: transform;animation: snackbar-show 300ms ease forwards 1;}-.snackbar[aria-hidden="true"] {+.snackbar[aria-hidden='true'] {animation: snackbar-hide 300ms ease forwards 1;}@keyframes snackbar-show {@@ -80,7 +80,7 @@ snack-bar {outline: none;}.button:hover {- background-color: rgba(0,0,0,0.15);+ background-color: rgba(0, 0, 0, 0.15);}.button:focus:before {content: '';@@ -91,7 +91,7 @@ snack-bar {height: 0;padding: 0 0 120%;margin: -60% 0 0 -60%;- background: rgba(255,255,255,0.1);+ background: rgba(255, 255, 255, 0.1);border-radius: 50%;transform-origin: center;will-change: transform;diff --git a/src/lib/util.scss b/src/shared/initial-app/util.csssimilarity index 100%rename from src/lib/util.scssrename to src/shared/initial-app/util.cssdiff --git a/src/shared/initial-app/util.ts b/src/shared/initial-app/util.tsnew file mode 100644index 00000000..d120214b--- /dev/null+++ b/src/shared/initial-app/util.ts@@ -0,0 +1,15 @@+/** Creates a function ref that assigns its value to a given property of an object.+ * @example+ * // element is stored as `this.foo` when rendered.+ * <div ref={linkRef(this, 'foo')} />+ */+export function linkRef<T>(obj: any, name: string) {+ const refName = `$$ref_${name}`;+ let ref = obj[refName];+ if (!ref) {+ ref = obj[refName] = (c: T) => {+ obj[name] = c;+ };+ }+ return ref;+}diff --git a/src/shared/missing-preact-types.d.ts b/src/shared/missing-preact-types.d.tsnew file mode 100644index 00000000..c7c1c81d--- /dev/null+++ b/src/shared/missing-preact-types.d.ts@@ -0,0 +1,11 @@+declare module 'preact' {+ namespace JSX {+ interface HTMLAttributes {+ decoding?: 'sync' | 'async' | 'auto';+ }+ }+}++// Thing break unless this file is a module.+// Don't ask me why. I don't know.+export {};diff --git a/src/shared/missing-types.d.ts b/src/shared/missing-types.d.tsnew file mode 100644index 00000000..baf404ec--- /dev/null+++ b/src/shared/missing-types.d.ts@@ -0,0 +1,15 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../missing-types.d.ts" />++declare const __PRERENDER__: boolean;diff --git a/src/assets/favicon.ico b/src/static-build/assets/favicon.icosimilarity index 100%rename from src/assets/favicon.icorename to src/static-build/assets/favicon.icodiff --git a/src/assets/icon-large-maskable.png b/src/static-build/assets/icon-large-maskable.pngsimilarity index 100%rename from src/assets/icon-large-maskable.pngrename to src/static-build/assets/icon-large-maskable.pngdiff --git a/src/assets/icon-large.png b/src/static-build/assets/icon-large.pngsimilarity index 100%rename from src/assets/icon-large.pngrename to src/static-build/assets/icon-large.pngdiff --git a/src/assets/icon-small.png b/src/static-build/assets/icon-small.pngsimilarity index 100%rename from src/assets/icon-small.pngrename to src/static-build/assets/icon-small.pngdiff --git a/src/static-build/index.tsx b/src/static-build/index.tsxnew file mode 100644index 00000000..cf4d4a3d--- /dev/null+++ b/src/static-build/index.tsx@@ -0,0 +1,62 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { h } from 'preact';++import { renderPage, writeFiles } from './utils';+import IndexPage from './pages/index';+import iconLargeMaskable from 'url:static-build/assets/icon-large-maskable.png';+import iconLarge from 'url:static-build/assets/icon-large.png';++interface Output {+ [outputPath: string]: string;+}+const toOutput: Output = {+ 'index.html': renderPage(<IndexPage />),+ 'manifest.json': JSON.stringify({+ name: 'Squoosh',+ short_name: 'Squoosh',+ start_url: '/?utm_medium=PWA&utm_source=launcher',+ display: 'standalone',+ orientation: 'any',+ background_color: '#fff',+ theme_color: '#f78f21',+ icons: [+ {+ src: iconLarge,+ type: 'image/png',+ sizes: '1024x1024',+ },+ {+ src: iconLargeMaskable,+ type: 'image/png',+ sizes: '1024x1024',+ purpose: 'maskable',+ },+ ],+ share_target: {+ action: '/?utm_medium=PWA&utm_source=share-target&share-target',+ method: 'POST',+ enctype: 'multipart/form-data',+ params: {+ files: [+ {+ name: 'file',+ accept: ['image/*'],+ },+ ],+ },+ },+ }),+};++writeFiles(toOutput);diff --git a/src/static-build/missing-types.d.ts b/src/static-build/missing-types.d.tsnew file mode 100644index 00000000..5c48298c--- /dev/null+++ b/src/static-build/missing-types.d.ts@@ -0,0 +1,27 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../missing-types.d.ts" />+/// <reference path="../shared/initial-app/Intro/missing-types.d.ts" />++declare module 'client-bundle:*' {+ const url: string;+ export default url;+ export const imports: string[];+ /** Source for this script and all its dependencies */+ export const allSrc: string;+}++declare module 'initial-css:' {+ const css: string;+ export default css;+}diff --git a/src/style/index.scss b/src/static-build/pages/index/base.csssimilarity index 50%rename from src/style/index.scssrename to src/static-build/pages/index/base.cssindex 6a638106..71399504 100644--- a/src/style/index.scss+++ b/src/static-build/pages/index/base.css@@ -1,10 +1,32 @@-@import './reset.scss';+button,+a,+img,+input,+select,+textarea {+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);+}++a,+button,+img,+[inert],+.inert {+ user-select: none;+ -webkit-user-select: none;+ user-drag: none;+ -webkit-user-drag: none;+ touch-callout: none;+ -webkit-touch-callout: none;+}-html, body {+html,+body {height: 100%;padding: 0;margin: 0;- font: 12px/1.3 system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, sans-serif;+ font: 12px/1.3 system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica,+ sans-serif;overflow: hidden;overscroll-behavior: none;contain: strict;@@ -13,7 +35,7 @@ html, body {}:root {- --gray-dark: rgba(0,0,0,0.8);+ --gray-dark: rgba(0, 0, 0, 0.8);--button-fg-color: 95, 180, 228;--button-fg: rgb(95, 180, 228);@@ -21,3 +43,13 @@ html, body {--negative: rgb(207, 113, 127);--positive: rgb(149, 212, 159);}++:global(#app) {+ position: absolute;+ left: 0;+ top: 0;+ contain: strict;+ width: 100%;+ height: 100%;+ overflow: hidden;+}diff --git a/src/static-build/pages/index/index.tsx b/src/static-build/pages/index/index.tsxnew file mode 100644index 00000000..c2c4ca6f--- /dev/null+++ b/src/static-build/pages/index/index.tsx@@ -0,0 +1,63 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { h, FunctionalComponent } from 'preact';++import baseCss from 'css:./base.css';+import initialCss from 'initial-css:';+import { allSrc } from 'client-bundle:client/initial-app';+import favicon from 'url:static-build/assets/favicon.ico';+import { escapeStyleScriptContent } from 'static-build/utils';+import Intro from 'shared/initial-app/Intro';++interface Props {}++const Index: FunctionalComponent<Props> = () => (+ <html lang="en">+ <head>+ <title>Squoosh</title>+ <meta+ name="description"+ content="Compress and compare images with different codecs, right in your browser"+ />+ <meta+ name="viewport"+ content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"+ />+ <meta name="mobile-web-app-capable" content="yes" />+ <meta name="apple-mobile-web-app-capable" content="yes" />+ <link rel="shortcut icon" href={favicon} />+ <meta name="theme-color" content="#f78f21" />+ <link rel="manifest" href="/manifest.json" />+ <style+ dangerouslySetInnerHTML={{ __html: escapeStyleScriptContent(baseCss) }}+ />+ <style+ dangerouslySetInnerHTML={{+ __html: escapeStyleScriptContent(initialCss),+ }}+ />+ </head>+ <body>+ <div id="app">+ <Intro />+ </div>+ <script+ dangerouslySetInnerHTML={{+ __html: escapeStyleScriptContent(allSrc),+ }}+ />+ </body>+ </html>+);++export default Index;diff --git a/src/static-build/utils.tsx b/src/static-build/utils.tsxnew file mode 100644index 00000000..fa57e910--- /dev/null+++ b/src/static-build/utils.tsx@@ -0,0 +1,58 @@+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+import { promises as fsp } from 'fs';+import { join as joinPath } from 'path';++import render from 'preact-render-to-string';+import { VNode } from 'preact';++export function renderPage(vnode: VNode) {+ return '<!DOCTYPE html>' + render(vnode);+}++interface OutputMap {+ [path: string]: string;+}++export function writeFiles(toOutput: OutputMap) {+ Promise.all(+ Object.entries(toOutput).map(async ([path, content]) => {+ const pathParts = ['.tmp', 'build', 'static', ...path.split('/')];+ await fsp.mkdir(joinPath(...pathParts.slice(0, -1)), { recursive: true });+ const fullPath = joinPath(...pathParts);+ try {+ await fsp.writeFile(fullPath, content, {+ encoding: 'utf8',+ });+ } catch (err) {+ console.error('Failed to write ' + fullPath);+ throw err;+ }+ }),+ ).catch((err) => {+ console.error(err);+ process.exit(1);+ });+}++/**+ * Escape a string for insertion in a style or script tag+ */+export function escapeStyleScriptContent(str: string): string {+ return str+ .replace(/<!--/g, '<\\!--')+ .replace(/<script/g, '<\\script')+ .replace(/<\/script/g, '<\\/script')+ .replace(/<style/g, '<\\style')+ .replace(/<\/style/g, '<\\/style');+}diff --git a/src/style/reset.scss b/src/style/reset.scssdeleted file mode 100644index c863fb75..00000000--- a/src/style/reset.scss+++ /dev/null@@ -1,12 +0,0 @@-button, a, img, input, select, textarea {- -webkit-tap-highlight-color: rgba(0,0,0,0);-}--a, button, img, [inert], .inert {- user-select: none;- -webkit-user-select: none;- user-drag: none;- -webkit-user-drag: none;- touch-callout: none;- -webkit-touch-callout: none;-}diff --git a/src/sw/index.ts b/src/sw/index.tsindex 7d96b18b..1e611971 100644--- a/src/sw/index.ts+++ b/src/sw/index.ts@@ -1,43 +1,50 @@import {- cacheOrNetworkAndCache, cleanupCache, cacheOrNetwork, cacheBasics, cacheAdditionalProcessors,+ cacheOrNetworkAndCache,+ cleanupCache,+ cacheOrNetwork,+ cacheBasics,+ cacheAdditionalProcessors,serveShareTarget,} from './util';import { get } from 'idb-keyval';// Give TypeScript the correct global.declare var self: ServiceWorkerGlobalScope;-// This is populated by webpack.-declare var BUILD_ASSETS: string[];const versionedCache = 'static-' + VERSION;const dynamicCache = 'dynamic';const expectedCaches = [versionedCache, dynamicCache];self.addEventListener('install', (event) => {- event.waitUntil(async function () {- const promises = [];- promises.push(cacheBasics(versionedCache, BUILD_ASSETS));+ event.waitUntil(+ (async function () {+ const promises = [];+ promises.push(cacheBasics(versionedCache, ASSETS));- // If the user has already interacted with the app, update the codecs too.- if (await get('user-interacted')) {- promises.push(cacheAdditionalProcessors(versionedCache, BUILD_ASSETS));- }+ // If the user has already interacted with the app, update the codecs too.+ if (await get('user-interacted')) {+ promises.push(cacheAdditionalProcessors(versionedCache, ASSETS));+ }- await Promise.all(promises);- }());+ await Promise.all(promises);+ })(),+ );});self.addEventListener('activate', (event) => {self.clients.claim();- event.waitUntil(async function () {- // Remove old caches.- const promises = (await caches.keys()).map((cacheName) => {- if (!expectedCaches.includes(cacheName)) return caches.delete(cacheName);- });+ event.waitUntil(+ (async function () {+ // Remove old caches.+ const promises = (await caches.keys()).map((cacheName) => {+ if (!expectedCaches.includes(cacheName))+ return caches.delete(cacheName);+ });- await Promise.all<any>(promises);- }());+ await Promise.all<any>(promises);+ })(),+ );});self.addEventListener('fetch', (event) => {@@ -58,9 +65,9 @@ self.addEventListener('fetch', (event) => {// We only care about GET from here on in.if (event.request.method !== 'GET') return;- if (url.pathname.startsWith('/demo-') || url.pathname.startsWith('/wc-polyfill')) {+ if (url.pathname.startsWith('/c/demo-')) {cacheOrNetworkAndCache(event, dynamicCache);- cleanupCache(event, dynamicCache, BUILD_ASSETS);+ cleanupCache(event, dynamicCache, ASSETS);return;}@@ -70,7 +77,7 @@ self.addEventListener('fetch', (event) => {self.addEventListener('message', (event) => {switch (event.data) {case 'cache-all':- event.waitUntil(cacheAdditionalProcessors(versionedCache, BUILD_ASSETS));+ event.waitUntil(cacheAdditionalProcessors(versionedCache, ASSETS));break;case 'skip-waiting':self.skipWaiting();diff --git a/src/sw/missing-types.d.ts b/src/sw/missing-types.d.tsindex ec041d77..7c35bff9 100644--- a/src/sw/missing-types.d.ts+++ b/src/sw/missing-types.d.ts@@ -1 +1,16 @@-import '../missing-types';+/**+ * Copyright 2020 Google Inc. All Rights Reserved.+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ * http://www.apache.org/licenses/LICENSE-2.0+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+/// <reference path="../../missing-types.d.ts" />++declare const VERSION: string;+declare const ASSETS: string[];diff --git a/src/sw/tsconfig.json b/src/sw/tsconfig.jsondeleted file mode 100644index efb9ce2b..00000000--- a/src/sw/tsconfig.json+++ /dev/null@@ -1,18 +0,0 @@-{- "compileOnSave": false,- "compilerOptions": {- "strict": true,- "target": "esnext",- "module": "esnext",- "lib": [- "webworker",- "esnext"- ],- "moduleResolution": "node",- "experimentalDecorators": true,- "noUnusedLocals": true,- "sourceMap": true,- "allowJs": false,- "baseUrl": "."- }-}diff --git a/src/sw/util.ts b/src/sw/util.tsindex 7cbbc651..20a901e5 100644--- a/src/sw/util.ts+++ b/src/sw/util.ts@@ -1,90 +1,109 @@-import webpDataUrl from 'url-loader!./tiny.webp';-import avifDataUrl from 'url-loader!./tiny.avif';+import webpDataUrl from 'data-url:./tiny.webp';+import avifDataUrl from 'data-url:./tiny.avif';// Give TypeScript the correct global.declare var self: ServiceWorkerGlobalScope;export function cacheOrNetwork(event: FetchEvent): void {- event.respondWith(async function () {- const cachedResponse = await caches.match(event.request, { ignoreSearch: true });- return cachedResponse || fetch(event.request);- }());+ event.respondWith(+ (async function () {+ const cachedResponse = await caches.match(event.request, {+ ignoreSearch: true,+ });+ return cachedResponse || fetch(event.request);+ })(),+ );}-export function cacheOrNetworkAndCache(event: FetchEvent, cacheName: string): void {- event.respondWith(async function () {- const { request } = event;- // Return from cache if possible.- const cachedResponse = await caches.match(request);- if (cachedResponse) return cachedResponse;-- // Else go to the network.- const response = await fetch(request);- const responseToCache = response.clone();-- event.waitUntil(async function () {- // Cache what we fetched.- const cache = await caches.open(cacheName);- await cache.put(request, responseToCache);- }());-- // Return the network response.- return response;- }());+export function cacheOrNetworkAndCache(+ event: FetchEvent,+ cacheName: string,+): void {+ event.respondWith(+ (async function () {+ const { request } = event;+ // Return from cache if possible.+ const cachedResponse = await caches.match(request);+ if (cachedResponse) return cachedResponse;++ // Else go to the network.+ const response = await fetch(request);+ const responseToCache = response.clone();++ event.waitUntil(+ (async function () {+ // Cache what we fetched.+ const cache = await caches.open(cacheName);+ await cache.put(request, responseToCache);+ })(),+ );++ // Return the network response.+ return response;+ })(),+ );}export function serveShareTarget(event: FetchEvent): void {const dataPromise = event.request.formData();// Redirect so the user can refresh the page without resending data.- // @ts-ignore It doesn't like me giving a response to respondWith, although it's allowed.event.respondWith(Response.redirect('/?share-target'));- event.waitUntil(async function () {- // The page sends this message to tell the service worker it's ready to receive the file.- await nextMessage('share-ready');- const client = await self.clients.get(event.resultingClientId);- const data = await dataPromise;- const file = data.get('file');- client.postMessage({ file, action: 'load-image' });- }());+ event.waitUntil(+ (async function () {+ // The page sends this message to tell the service worker it's ready to receive the file.+ await nextMessage('share-ready');+ const client = await self.clients.get(event.resultingClientId);+ const data = await dataPromise;+ const file = data.get('file');+ client!.postMessage({ file, action: 'load-image' });+ })(),+ );}-export function cleanupCache(event: FetchEvent, cacheName: string, keepAssets: string[]) {- event.waitUntil(async function () {- const cache = await caches.open(cacheName);-- // Clean old entries from the dynamic cache.- const requests = await cache.keys();- const promises = requests.map((cachedRequest) => {- // Get pathname without leading /- const assetPath = new URL(cachedRequest.url).pathname.slice(1);- // If it isn't one of our keepAssets, we don't need it anymore.- if (!keepAssets.includes(assetPath)) return cache.delete(cachedRequest);- });-- await Promise.all<any>(promises);- }());+export function cleanupCache(+ event: FetchEvent,+ cacheName: string,+ keepAssets: string[],+) {+ event.waitUntil(+ (async function () {+ const cache = await caches.open(cacheName);++ // Clean old entries from the dynamic cache.+ const requests = await cache.keys();+ const promises = requests.map((cachedRequest) => {+ // Get pathname without leading /+ const assetPath = new URL(cachedRequest.url).pathname.slice(1);+ // If it isn't one of our keepAssets, we don't need it anymore.+ if (!keepAssets.includes(assetPath)) return cache.delete(cachedRequest);+ });++ await Promise.all<any>(promises);+ })(),+ );}function getAssetsWithPrefix(assets: string[], prefixes: string[]) {- return assets.filter(- asset => prefixes.some(prefix => asset.startsWith(prefix)),+ return assets.filter((asset) =>+ prefixes.some((prefix) => asset.startsWith(prefix)),);}export async function cacheBasics(cacheName: string, buildAssets: string[]) {- const toCache = ['/', '/assets/favicon.ico'];+ const toCache = ['/'];const prefixesToCache = [+ // TODO: this is likely incomplete// Main app JS & CSS:- 'main-app.',+ 'c/initial-app-',// Service worker handler:- 'offliner.',+ 'c/sw-bridge-',// Little icons for the demo images on the homescreen:- 'icon-demo-',+ 'c/icon-demo-',// Site logo:- 'logo.',+ 'c/logo-',];const prefixMatches = getAssetsWithPrefix(buildAssets, prefixesToCache);@@ -95,10 +114,14 @@ export async function cacheBasics(cacheName: string, buildAssets: string[]) {await cache.addAll(toCache);}-export async function cacheAdditionalProcessors(cacheName: string, buildAssets: string[]) {+export async function cacheAdditionalProcessors(+ cacheName: string,+ buildAssets: string[],+) {let toCache = [];const prefixesToCache = [+ // TODO: these will need to change// Worker which handles image processing:'processor-worker.',// processor-worker imports:@@ -106,7 +129,7 @@ export async function cacheAdditionalProcessors(cacheName: string, buildAssets:];const prefixMatches = getAssetsWithPrefix(buildAssets, prefixesToCache);- const wasm = buildAssets.filter(asset => asset.endsWith('.wasm'));+ const wasm = buildAssets.filter((asset) => asset.endsWith('.wasm'));toCache.push(...prefixMatches, ...wasm);@@ -115,14 +138,19 @@ export async function cacheAdditionalProcessors(cacheName: string, buildAssets:if (!self.createImageBitmap) return false;const response = await fetch(dataUrl);const blob = await response.blob();- return createImageBitmap(blob).then(() => true, () => false);+ return createImageBitmap(blob).then(+ () => true,+ () => false,+ );}),- )+ );+ // TODO: this is likely wrong// No point caching decoders the browser already supports:- toCache = toCache.filter(asset =>- (supportsWebP ? !/webp[\-_]dec/.test(asset) : true) &&- (supportsAvif ? !/avif[\-_]dec/.test(asset) : true),+ toCache = toCache.filter(+ (asset) =>+ (supportsWebP ? !/webp[\-_]dec/.test(asset) : true) &&+ (supportsAvif ? !/avif[\-_]dec/.test(asset) : true),);const cache = await caches.open(cacheName);diff --git a/static-build-tsconfig.json b/static-build-tsconfig.jsonnew file mode 100644index 00000000..6bc8605f--- /dev/null+++ b/static-build-tsconfig.json@@ -0,0 +1,8 @@+{+ "extends": "./generic-tsconfig.json",+ "compilerOptions": {+ "lib": ["esnext", "dom"],+ "types": ["node"]+ },+ "include": ["src/shared/**/*", "src/static-build/**/*"]+}diff --git a/tsconfig.json b/tsconfig.jsonindex 9b77b843..9e0261be 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -1,20 +1,9 @@{- "compileOnSave": false,- "compilerOptions": {- "strict": true,- "target": "es2017",- "module": "esnext",- "moduleResolution": "node",- "experimentalDecorators": true,- "noUnusedLocals": true,- "sourceMap": true,- "jsx": "react",- "jsxFactory": "h",- "allowJs": false,- "baseUrl": "."- },- "exclude": [- "src/sw/**/*",- "src/codecs/processor-worker/**/*"+ "extends": "./generic-tsconfig.json",+ "files": [],+ "references": [+ { "path": "./client-tsconfig.json" },+ { "path": "./worker-tsconfig.json" },+ { "path": "./static-build-tsconfig.json" }]}diff --git a/tslint.json b/tslint.jsondeleted file mode 100644index dcccfd87..00000000--- a/tslint.json+++ /dev/null@@ -1,23 +0,0 @@-{- "extends": [- "tslint-config-airbnb",- "tslint-react"- ],- "rules": {- "jsx-boolean-value": [true, "never"],- "jsx-no-multiline-js": false,- "jsx-no-bind": true,- "jsx-no-lambda": true,- "function-name": false,- "variable-name": [true, "check-format", "allow-leading-underscore"],- "no-duplicate-imports": false,- "prefer-template": [true, "allow-single-concat"],- "import-name": false,- "jsx-key": false- },- "linterOptions": {- "exclude": [- "build"- ]- }-}diff --git a/webpack.config.js b/webpack.config.jsdeleted file mode 100644index a53e1763..00000000--- a/webpack.config.js+++ /dev/null@@ -1,357 +0,0 @@-const path = require('path');-const webpack = require('webpack');-const CleanPlugin = require('clean-webpack-plugin');-const TerserPlugin = require('terser-webpack-plugin');-const ProgressBarPlugin = require('progress-bar-webpack-plugin');-const MiniCssExtractPlugin = require('mini-css-extract-plugin');-const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');-const HtmlPlugin = require('html-webpack-plugin');-const ScriptExtHtmlPlugin = require('script-ext-html-webpack-plugin');-const CopyPlugin = require('copy-webpack-plugin');-const WatchTimestampsPlugin = require('./config/watch-timestamps-plugin');-const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;-const WorkerPlugin = require('worker-plugin');-const AutoSWPlugin = require('./config/auto-sw-plugin');-const CrittersPlugin = require('critters-webpack-plugin');-const AssetTemplatePlugin = require('./config/asset-template-plugin');-const addCssTypes = require('./config/add-css-types');--const VERSION = require('./package.json').version;--/** @returns {Promise<import('webpack').Configuration>} */-module.exports = async function(_, env) {- const isProd = env.mode === 'production';- const nodeModules = path.join(__dirname, 'node_modules');- const componentStyleDirs = [- path.join(__dirname, 'src', 'components'),- path.join(__dirname, 'src', 'codecs'),- path.join(__dirname, 'src', 'custom-els'),- path.join(__dirname, 'src', 'lib')- ];-- await addCssTypes(componentStyleDirs, { watch: !isProd });-- return {- mode: isProd ? 'production' : 'development',- entry: {- 'first-interaction': './src/index'- },- devtool: isProd ? 'source-map' : 'inline-source-map',- stats: 'minimal',- output: {- filename: isProd ? '[name].[chunkhash:5].js' : '[name].js',- chunkFilename: '[name].[chunkhash:5].js',- path: path.join(__dirname, 'build'),- publicPath: '/',- globalObject: 'self'- },- resolve: {- extensions: ['.ts', '.tsx', '.mjs', '.js', '.scss', '.css'],- alias: {- style: path.join(__dirname, 'src/style')- }- },- resolveLoader: {- alias: {- // async-component-loader returns a wrapper component that waits for the import to load before rendering:- async: path.join(__dirname, 'config', 'async-component-loader')- }- },- module: {- rules: [- {- oneOf: [- {- test: /(\.mjs|\.esm\.js)$/i,- // don't use strict esm resolution for mjs:- type: 'javascript/auto',- resolve: {},- parser: {- harmony: true,- amd: false,- commonjs: false,- system: false,- requireInclude: false,- requireEnsure: false,- requireContext: false,- browserify: false,- requireJs: false,- node: false- }- },- {- type: 'javascript/auto',- resolve: {},- parser: {- system: false,- requireJs: false- }- }- ]- },- {- test: /\.(scss|sass)$/,- loader: 'sass-loader',- // SCSS gets preprocessed, then treated like any other CSS:- enforce: 'pre',- options: {- sourceMap: true,- includePaths: [nodeModules]- }- },- {- test: /\.(scss|sass|css)$/,- // Only enable CSS Modules within `src/components/*`- include: componentStyleDirs,- use: [- // In production, CSS is extracted to files on disk. In development, it's inlined into JS:- isProd ? MiniCssExtractPlugin.loader : 'style-loader',- {- loader: 'css-loader',- options: {- modules: true,- localIdentName: isProd ? '[hash:base64:5]' : '[local]__[hash:base64:5]',- namedExport: true,- camelCase: true,- importLoaders: 1,- sourceMap: isProd,- sass: true- }- }- ]- },- {- test: /\.(scss|sass|css)$/,- // Process non-modular CSS everywhere *except* `src/components/*`- exclude: componentStyleDirs,- use: [- isProd ? MiniCssExtractPlugin.loader : 'style-loader',- {- loader: 'css-loader',- options: {- importLoaders: 1,- sourceMap: isProd- }- }- ]- },- {- test: /\.tsx?$/,- exclude: nodeModules,- loader: 'ts-loader'- },- {- // All the codec files define a global with the same name as their file name. `exports-loader` attaches those to `module.exports`.- test: /\.js$/,- include: path.join(__dirname, 'src', 'codecs'),- loader: 'exports-loader'- },- {- // Emscripten modules don't work with Webpack's Wasm loader.- test: /\.wasm$/,- exclude: /_bg\.wasm$/,- // This is needed to make webpack NOT process wasm files.- // See https://github.com/webpack/webpack/issues/6725- type: 'javascript/auto',- loader: 'file-loader',- options: {- name: '[name].[hash:5].[ext]',- },- },- {- // Wasm modules generated by Rust + wasm-pack work great with Webpack.- test: /_bg\.wasm$/,- type: 'webassembly/experimental',- },- {- test: /\.(png|svg|jpg|gif)$/,- loader: 'file-loader',- options: {- name: '[name].[hash:5].[ext]',- },- }- ]- },- plugins: [- new webpack.IgnorePlugin(- /(fs|crypto|path)/,- /[/\\]codecs[/\\]/- ),-- // Pretty progressbar showing build progress:- new ProgressBarPlugin({- format: '\u001b[90m\u001b[44mBuild\u001b[49m\u001b[39m [:bar] \u001b[32m\u001b[1m:percent\u001b[22m\u001b[39m (:elapseds) \u001b[2m:msg\u001b[22m\r',- renderThrottle: 100,- summary: false,- total: 10,- clear: true- }),-- // Remove old files before outputting a production build:- isProd && new CleanPlugin([- 'assets',- '**/*.{css,js,json,html,map}'- ], {- root: path.join(__dirname, 'build'),- verbose: false,- beforeEmit: true- }),-- new WorkerPlugin(),-- // In production, extract all CSS to produce files on disk, even for- // lazy-loaded CSS chunks. CSS for async chunks is loaded on-demand.- // This is a modern Webpack 4 replacement for ExtractTextPlugin.- // See: https://github.com/webpack-contrib/mini-css-extract-plugin- // See also: https://twitter.com/wsokra/status/970253245733113856- isProd && new MiniCssExtractPlugin({- filename: '[name].[contenthash:5].css',- chunkFilename: '[name].[contenthash:5].css'- }),-- new OptimizeCssAssetsPlugin({- cssProcessorOptions: {- postcssReduceIdents: {- counterStyle: false,- gridTemplate: false,- keyframes: false- }- }- }),-- // These plugins fix infinite loop in typings-for-css-modules-loader.- // See: https://github.com/Jimdo/typings-for-css-modules-loader/issues/35- new webpack.WatchIgnorePlugin([- /(c|sc|sa)ss\.d\.ts$/- ]),- new WatchTimestampsPlugin([- /(c|sc|sa)ss\.d\.ts$/- ]),-- // For now we're not doing SSR.- new HtmlPlugin({- filename: path.join(__dirname, 'build/index.html'),- template: isProd ? '!!prerender-loader?string!src/index.html' : 'src/index.html',- minify: isProd && {- collapseWhitespace: true,- removeScriptTypeAttributes: true,- removeStyleLinkTypeAttributes: true,- removeRedundantAttributes: true,- removeComments: true- },- manifest: require('./src/manifest.json'),- inject: 'body',- compile: true- }),-- new AutoSWPlugin({ version: VERSION }),-- isProd && new AssetTemplatePlugin({- template: path.join(__dirname, '_headers.ejs'),- filename: '_headers',- }),-- isProd && new AssetTemplatePlugin({- template: path.join(__dirname, '_redirects.ejs'),- filename: '_redirects',- }),-- isProd && new ScriptExtHtmlPlugin({- inline: ['first']- }),-- // Inline constants during build, so they can be folded by UglifyJS.- new webpack.DefinePlugin({- VERSION: JSON.stringify(VERSION),- // We set node.process=false later in this config.- // Here we make sure if (process && process.foo) still works:- process: '({})'- }),-- // Copying files via Webpack allows them to be served dynamically by `webpack serve`- new CopyPlugin([- { from: 'src/manifest.json', to: 'manifest.json' },- { from: 'src/assets', to: 'assets' }- ]),-- // For production builds, output module size analysis to build/report.html- isProd && new BundleAnalyzerPlugin({- analyzerMode: 'static',- defaultSizes: 'gzip',- openAnalyzer: false- }),-- // Inline Critical CSS (for the intro screen, essentially)- isProd && new CrittersPlugin({- // use <link rel="stylesheet" media="not x" onload="this.media='all'"> hack to load async css:- preload: 'media',- // inline all styles from any stylesheet below this size:- inlineThreshold: 2000,- // don't bother lazy-loading non-critical stylesheets below this size, just inline the non-critical styles too:- minimumExternalSize: 4000,- // don't emit <noscript> external stylesheet links since the app fundamentally requires JS anyway:- noscriptFallback: false,- // inline the tiny data URL fonts we have for the intro screen:- inlineFonts: true,- // (and don't lazy load them):- preloadFonts: false- })- ].filter(Boolean), // Filter out any falsey plugin array entries.-- optimization: {- splitChunks: {- // Automatically split code into async chunks.- // See: https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366- },- minimizer: [- new TerserPlugin({- sourceMap: isProd,- extractComments: 'build/licenses.txt',- terserOptions: {- compress: {- inline: 1- },- mangle: {- safari10: true- },- output: {- safari10: true- }- }- })- ]- },-- // Turn off various NodeJS environment polyfills Webpack adds to bundles.- // They're supposed to be added only when used, but the heuristic is loose- // (eg: existence of a variable called setImmedaite in any scope)- node: {- console: false,- // Keep global, it's just an alias of window and used by many third party modules:- global: true,- // Turn off process to avoid bundling a nextTick implementation:- process: false,- // Inline __filename and __dirname values:- __filename: 'mock',- __dirname: 'mock',- // Never embed a portable implementation of Node's Buffer module:- Buffer: false,- // Never embed a setImmediate implementation:- setImmediate: false- },-- devServer: {- // Any unmatched request paths will serve static files from src/*:- contentBase: path.join(__dirname, 'src'),- compress: true,- // Request paths not ending in a file extension serve index.html:- historyApiFallback: true,- // Suppress forwarding of Webpack logs to the browser console:- clientLogLevel: 'none',- // Supress the extensive stats normally printed after a dev build (since sizes are mostly useless):- stats: 'minimal',- // Don't embed an error overlay ("redbox") into the client bundle:- overlay: false- }- };-};diff --git a/worker-tsconfig.json b/worker-tsconfig.jsonnew file mode 100644index 00000000..1fdcc912--- /dev/null+++ b/worker-tsconfig.json@@ -0,0 +1,14 @@+{+ "extends": "./generic-tsconfig.json",+ "compilerOptions": {+ "lib": ["webworker", "esnext"]+ },+ "include": [+ "src/features/**/worker/**/*",+ "src/features/**/sub-worker/**/*",+ "src/features/**/shared/**/*",+ "src/features/worker-utils/**/*",+ "src/features-worker/**/*",+ "src/sw/**/*"+ ]+}