From 8e4faebc4e87fd1d9fa9ce435c24b2410b8859b8 Mon Sep 17 00:00:00 2001 From: David Estes Date: Tue, 29 May 2018 09:12:20 -0400 Subject: [PATCH] 3.0.0 is coming out with BabelJS Built IN\! --- asset-pipeline-core/build.gradle | 1 + .../groovy/asset/pipeline/JsAssetFile.groovy | 5 +- .../asset/pipeline/JsEs6AssetFile.groovy | 6 +- .../AbstractUrlRewritingProcessor.groovy | 16 +- .../processors/BabelJsProcessor.groovy | 137 ++++ .../ClosureCompilerProcessor.groovy | 2 +- .../pipeline/processors/Es6Processor.groovy | 47 +- .../processors/JsNodeInjectProcessor.groovy | 50 ++ .../processors/JsRequireProcessor.groovy | 70 +- .../resources/asset/pipeline/babel.min.js | 77 +++ .../src/asciidoc/concepts.adoc | 14 + .../src/asciidoc/introduction.adoc | 2 + asset-pipeline-micronaut/build.gradle | 7 +- .../micronaut/AssetPipelineService.java | 3 + .../src/assets/html/manual-new/micronaut.html | 604 ++++++++++++++++++ .../manual-new/micronaut/getting_started.html | 592 +++++++++++++++++ build.gradle | 2 +- .../asset/pipeline/jsx/JsxEs6AssetFile.groovy | 4 +- 18 files changed, 1612 insertions(+), 27 deletions(-) create mode 100644 asset-pipeline-core/src/main/groovy/asset/pipeline/processors/BabelJsProcessor.groovy create mode 100644 asset-pipeline-core/src/main/groovy/asset/pipeline/processors/JsNodeInjectProcessor.groovy create mode 100644 asset-pipeline-core/src/main/resources/asset/pipeline/babel.min.js create mode 100644 asset-pipeline-site/src/assets/html/manual-new/micronaut.html create mode 100644 asset-pipeline-site/src/assets/html/manual-new/micronaut/getting_started.html diff --git a/asset-pipeline-core/build.gradle b/asset-pipeline-core/build.gradle index 755ee83f..59c7d048 100644 --- a/asset-pipeline-core/build.gradle +++ b/asset-pipeline-core/build.gradle @@ -58,6 +58,7 @@ dependencies { doc 'org.fusesource.jansi:jansi:1.11' compile 'org.mozilla:rhino:1.7R4' compile 'com.google.javascript:closure-compiler-unshaded:v20160713' + //compile 'com.google.javascript:closure-compiler-unshaded:v20180506' // compile 'com.google.javascript:closure-compiler-unshaded:v20170124' // compile 'com.google.javascript:closure-compiler-unshaded:v20171112' diff --git a/asset-pipeline-core/src/main/groovy/asset/pipeline/JsAssetFile.groovy b/asset-pipeline-core/src/main/groovy/asset/pipeline/JsAssetFile.groovy index cd744848..c17c6f0f 100644 --- a/asset-pipeline-core/src/main/groovy/asset/pipeline/JsAssetFile.groovy +++ b/asset-pipeline-core/src/main/groovy/asset/pipeline/JsAssetFile.groovy @@ -20,7 +20,8 @@ import asset.pipeline.processors.JsRequireProcessor import java.util.regex.Pattern import asset.pipeline.processors.JsProcessor -import asset.pipeline.processors.Es6Processor +import asset.pipeline.processors.JsNodeInjectProcessor +import asset.pipeline.processors.BabelJsProcessor import groovy.transform.CompileStatic /** * An {@link AssetFile} implementation for Javascript @@ -33,7 +34,7 @@ class JsAssetFile extends AbstractAssetFile { static final List contentType = ['application/javascript', 'application/x-javascript','text/javascript'] static List extensions = ['js'] static String compiledExtension = 'js' - static processors = [JsProcessor,JsRequireProcessor,Es6Processor] + static processors = [JsProcessor,JsNodeInjectProcessor,BabelJsProcessor,JsRequireProcessor] Pattern directivePattern = ~/(?m)^\/\/=(.*)/ } diff --git a/asset-pipeline-core/src/main/groovy/asset/pipeline/JsEs6AssetFile.groovy b/asset-pipeline-core/src/main/groovy/asset/pipeline/JsEs6AssetFile.groovy index 557741d3..53fef5f5 100644 --- a/asset-pipeline-core/src/main/groovy/asset/pipeline/JsEs6AssetFile.groovy +++ b/asset-pipeline-core/src/main/groovy/asset/pipeline/JsEs6AssetFile.groovy @@ -21,6 +21,8 @@ import asset.pipeline.processors.JsRequireProcessor import java.util.regex.Pattern import asset.pipeline.processors.JsProcessor +import asset.pipeline.processors.BabelJsProcessor +import asset.pipeline.processors.JsNodeInjectProcessor import groovy.transform.CompileStatic /** * An {@link AssetFile} implementation for ES6 Javascript @@ -31,9 +33,9 @@ import groovy.transform.CompileStatic @CompileStatic class JsEs6AssetFile extends AbstractAssetFile { static final List contentType = ['application/javascript', 'application/x-javascript','text/javascript'] - static List extensions = ['js.es6'] + static List extensions = ['js.es6','js.es7','js.es8','bjs'] static String compiledExtension = 'js' - static processors = [JsProcessor, JsRequireProcessor, Es6Processor] + static processors = [JsProcessor, JsNodeInjectProcessor,BabelJsProcessor, JsRequireProcessor] Pattern directivePattern = ~/(?m)^\/\/=(.*)/ } diff --git a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/AbstractUrlRewritingProcessor.groovy b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/AbstractUrlRewritingProcessor.groovy index 3311334e..7d9d0de3 100644 --- a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/AbstractUrlRewritingProcessor.groovy +++ b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/AbstractUrlRewritingProcessor.groovy @@ -146,7 +146,7 @@ abstract class AbstractUrlRewritingProcessor extends AbstractProcessor { } - protected String replacementAssetPath(final AssetFile assetFile, final AssetFile currFile) { + protected String replacementAssetPath(final AssetFile assetFile, final AssetFile currFile, Boolean preferRelative=false) { final StringBuilder replacementPathSb = new StringBuilder() def urlConfig = AssetPipelineConfigHolder.config?.url @@ -155,14 +155,18 @@ abstract class AbstractUrlRewritingProcessor extends AbstractProcessor { baseUrl = urlConfig.call(null) } +// println "Replacing Asset Path for ${currFile.path}" if(baseUrl) { replacementPathSb << baseUrl - } else { - replacementPathSb << '/' << (AssetPipelineConfigHolder.config?.mapping ?: 'assets') << '/' + } else if(!preferRelative){ + replacementPathSb << '/' << (AssetPipelineConfigHolder.config?.mapping != null ? AssetPipelineConfigHolder.config?.mapping : 'assets') + if(AssetPipelineConfigHolder.config?.mapping?.size() > 0) { + replacementPathSb << '/' + } } - +// println "FileName Check: ${replacementPathSb}" // file - final String fileName = nameWithoutExtension(currFile.name) + final String fileName = nameWithoutExtension(currFile.path) if(precompiler && precompiler.options.enableDigests) { if(currFile instanceof GenericAssetFile) { replacementPathSb << fileName << '-' << currFile.getByteDigest() << '.' << extensionFromURI(currFile.name) @@ -176,7 +180,7 @@ abstract class AbstractUrlRewritingProcessor extends AbstractProcessor { } } else { if(currFile instanceof GenericAssetFile) { - replacementPathSb << currFile.name + replacementPathSb << currFile.path } else { replacementPathSb << fileName << '.' << currFile.compiledExtension } diff --git a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/BabelJsProcessor.groovy b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/BabelJsProcessor.groovy new file mode 100644 index 00000000..e06a5dd7 --- /dev/null +++ b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/BabelJsProcessor.groovy @@ -0,0 +1,137 @@ +/* +* Copyright 2014 the original author or authors. +* +* 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. +*/ + +package asset.pipeline.processors + +import asset.pipeline.AssetFile +import groovy.util.logging.Commons +import jdk.nashorn.api.scripting.NashornException +import org.mozilla.javascript.Context +import org.mozilla.javascript.Scriptable +import asset.pipeline.AbstractProcessor +import asset.pipeline.AssetCompiler +import asset.pipeline.JsAssetFile +import asset.pipeline.AssetPipelineConfigHolder +import javax.script.Invocable +import javax.script.ScriptEngine +import javax.script.ScriptEngineManager +import javax.script.SimpleBindings + +// CoffeeScript engine will attempt to use Node.JS coffee if it is available on +// the system path. If not, it uses Mozilla Rhino to compile the CoffeeScript +// template using the javascript in-browser compiler. +@Commons +class BabelJsProcessor extends AbstractProcessor { + + static Boolean NODE_SUPPORTED + Scriptable globalScope + ClassLoader classLoader + + static ScriptEngine engine + static SimpleBindings bindings + private static final $LOCK = new Object[0] + BabelJsProcessor(AssetCompiler precompiler) { + super(precompiler) + + try { + classLoader = getClass().getClassLoader() + //Context cx = Context.enter() + //cx.setOptimizationLevel(-1) + //globalScope = cx.initStandardObjects() + loadBabelJs() + } catch(Exception e) { + throw new Exception("CoffeeScript Engine initialization failed.", e) + } finally { + try { + //Context.exit() + } catch(IllegalStateException e) { + } + } + + } + + protected void loadBabelJs() { + if(!engine) { + synchronized($LOCK) { + if(!engine) { + def babelJsResource = classLoader.getResource('asset/pipeline/babel.min.js') + engine = new ScriptEngineManager().getEngineByName("nashorn"); + bindings = new SimpleBindings(); + engine.eval(babelJsResource.getText('UTF-8'), bindings); + } + } + } + + } + + + /** + * Processes an input string from a given AssetFile implementation of coffeescript and converts it to javascript + * @param input String input coffee script text to be converted to javascript + * @param AssetFile instance of the asset file from which this file came from. Not actually used currently for this implementation. + * @return String of compiled javascript + */ + String process(String input,AssetFile assetFile) { + if(!input) { + return input + } + Boolean newEcmascriptKeywordsFound = false + if(input.contains("export ") || input.contains("import ")) { + newEcmascriptKeywordsFound = true; + } + if(!newEcmascriptKeywordsFound && assetFile instanceof JsAssetFile) { + if(!AssetPipelineConfigHolder.config?.enableES6 && ! AssetPipelineConfigHolder.config?."enable-es6") { + return input + } + } + try { + def presets = "{ \"presets\": [\"es2015\",[\"stage-2\",{\"decoratorsLegacy\": true}],\"react\"], \"compact\": false }" + if(AssetPipelineConfigHolder.config?.babel?.options) { + presets = AssetPipelineConfigHolder.config?.babel?.options + } + + + synchronized($LOCK) { + bindings.put("input", input); + bindings.put("optionsJson", presets); + def result = engine.eval("Babel.transform(input, JSON.parse(optionsJson)).code", bindings); + return result + } + } catch(javax.script.ScriptException ex) { + if (ex.getCause() instanceof NashornException) { + String jsStackTrace = NashornException.getScriptStackString(ex.getCause()); + throw new Exception("""BabelJs Engine compilation of javascript failed: ${ex.message} -- \n + ${input} + """,ex) + } else { + throw new Exception("""BabelJs Engine compilation of javascript failed. + $ex + """,ex) + + } + + } catch(Exception e) { + throw new Exception("""BabelJs Engine compilation of javascript failed. + $e + """,e) + } finally { +// Context.exit() + } + } + + + +} diff --git a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/ClosureCompilerProcessor.groovy b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/ClosureCompilerProcessor.groovy index 8a1c79aa..25da0d9d 100644 --- a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/ClosureCompilerProcessor.groovy +++ b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/ClosureCompilerProcessor.groovy @@ -105,7 +105,7 @@ class ClosureCompilerProcessor { case 'ES6': return LanguageMode.ECMASCRIPT6 case 'ES6_STRICT': - return LanguageMode.ECMASCRIPT6 + return LanguageMode.ECMASCRIPT6_STRICT case 'ES5_SCRIPT': return LanguageMode.ECMASCRIPT5_STRICT case 'ES3': diff --git a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/Es6Processor.groovy b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/Es6Processor.groovy index 139bb7eb..827c2190 100644 --- a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/Es6Processor.groovy +++ b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/Es6Processor.groovy @@ -22,7 +22,9 @@ import asset.pipeline.AssetHelper import asset.pipeline.AssetFile import asset.pipeline.AssetPipelineConfigHolder import asset.pipeline.CacheManager +import asset.pipeline.GenericAssetFile import asset.pipeline.JsAssetFile +import sun.net.www.content.text.Generic import java.util.regex.Pattern import com.google.javascript.jscomp.* @@ -47,12 +49,12 @@ class Es6Processor extends AbstractProcessor { String process(final String inputText, final AssetFile assetFile) { - + println "Checking Config: ${AssetPipelineConfigHolder.config}" if(!inputText) { return inputText } if(assetFile instanceof JsAssetFile) { - if(!AssetPipelineConfigHolder.config?.enableES6) { + if(!AssetPipelineConfigHolder.config?.enableES6 && ! AssetPipelineConfigHolder.config?."enable-es6") { return inputText } } @@ -60,7 +62,7 @@ class Es6Processor extends AbstractProcessor { CompilerOptions options = new CompilerOptions() options.trustedStrings = true CompilationLevel.WHITESPACE_ONLY.setOptionsForCompilationLevel(options); - options.setLanguageIn(LanguageMode.ECMASCRIPT6) + options.setLanguageIn(LanguageMode.ECMASCRIPT8) options.setLanguageOut(LanguageMode.ECMASCRIPT5) options.prettyPrint = true options.lineBreak = true @@ -101,20 +103,55 @@ class Es6Processor extends AbstractProcessor { return "goog.require(${quote}${cachedPath}${quote})" } } else if(assetPath.size() > 0) { + println "looking for path: ${assetPath}" AssetFile currFile if(!assetPath.startsWith('/')) { def relativeFileName = [ assetFile.parentPath, modulePath ].join( AssetHelper.DIRECTIVE_FILE_SEPARATOR ) currFile = AssetHelper.fileForUri(relativeFileName,'application/javascript') } - if(!currFile) { currFile = AssetHelper.fileForUri(modulePath,'application/javascript') } - if(!currFile) { currFile = AssetHelper.fileForUri(modulePath + '/' + modulePath,'application/javascript') } + + //Time to look for index.js + if(!currFile) { + println "module not found, checking for index.js" + if(!assetPath.startsWith('/')) { + def relativeFileName = [ assetFile.parentPath, modulePath, 'index.js' ].join( AssetHelper.DIRECTIVE_FILE_SEPARATOR ) + currFile = AssetHelper.fileForUri(relativeFileName + '/index.js','application/javascript') + } + if(!currFile) { + currFile = AssetHelper.fileForUri(modulePath + '/index.js','application/javascript') + } + if(!currFile) { + currFile = AssetHelper.fileForUri(modulePath + '/' + modulePath + '/index.js','application/javascript') + } + println "Checking for currFile: ${currFile}" + } + if(!currFile) { + if(!assetPath.startsWith('/')) { + def relativeFileName = [ assetFile.parentPath, modulePath ].join( AssetHelper.DIRECTIVE_FILE_SEPARATOR ) + currFile = AssetHelper.fileForUri(relativeFileName) + } + if(!currFile) { + currFile = AssetHelper.fileForUri(modulePath) + } + if(!currFile) { + currFile = AssetHelper.fileForUri(modulePath + '/' + modulePath) + } + if(currFile instanceof GenericAssetFile) { + //We have an image file we need its url or byte stream + } else { + currFile = null + } + } + if(!currFile) { + //Time to check FileLoader and see if this file exists as anything else + cachedPaths[assetPath] = null return "goog.require(${quote}${assetPath}${quote})" } else { diff --git a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/JsNodeInjectProcessor.groovy b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/JsNodeInjectProcessor.groovy new file mode 100644 index 00000000..dcf50cb5 --- /dev/null +++ b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/JsNodeInjectProcessor.groovy @@ -0,0 +1,50 @@ +/* + * Copyright 2014 the original author or authors. + * + * 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. + */ +package asset.pipeline.processors + + +import asset.pipeline.AssetCompiler +import asset.pipeline.AssetHelper +import asset.pipeline.AssetFile +import asset.pipeline.AbstractProcessor +import java.util.regex.Pattern + +import static asset.pipeline.utils.net.Urls.isRelative + + +/** + * This Processor iterates over a js file looking for asset_path directive sand + * replaces their path with absolute paths based on the configured. + * In precompiler mode the URLs are also cache digested. + * + * @author David Estes + */ +class JsNodeInjectProcessor extends AbstractProcessor { + + + JsNodeInjectProcessor(final AssetCompiler precompiler) { + super(precompiler) + } + + + String process(final String inputText, final AssetFile assetFile) { + // if(!assetFile.baseFile) { + return "var process = process || {env: {NODE_ENV: \"development\"}};\n${inputText}" + // } else { + // return inputText + // } + } +} diff --git a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/JsRequireProcessor.groovy b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/JsRequireProcessor.groovy index 4e3f0f9f..6a84099c 100644 --- a/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/JsRequireProcessor.groovy +++ b/asset-pipeline-core/src/main/groovy/asset/pipeline/processors/JsRequireProcessor.groovy @@ -56,8 +56,9 @@ class JsRequireProcessor extends AbstractUrlRewritingProcessor { } } else if(assetPath.size() > 0) { AssetFile currFile - if(!assetPath.startsWith('/')) { - def relativeFileName = [ assetFile.parentPath, assetPath ].join( AssetHelper.DIRECTIVE_FILE_SEPARATOR ) + if(!assetPath.startsWith('/') && assetFile.parentPath != null) { + def relativeFileName = [ assetFile.parentPath, assetPath ].join( AssetHelper.DIRECTIVE_FILE_SEPARATOR ) + relativeFileName = AssetHelper.normalizePath(relativeFileName) currFile = AssetHelper.fileForUri(relativeFileName,'application/javascript') } @@ -68,9 +69,50 @@ class JsRequireProcessor extends AbstractUrlRewritingProcessor { if(!currFile) { currFile = AssetHelper.fileForUri(assetPath + '/' + assetPath,'application/javascript') } - if(!currFile || currFile instanceof GenericAssetFile) { + + //look for index.js + if(!currFile) { + if(!assetPath.startsWith('/') && assetFile.parentPath != null) { + def relativeFileName = [ assetFile.parentPath, assetPath, 'index.js' ].join( AssetHelper.DIRECTIVE_FILE_SEPARATOR ) + relativeFileName = AssetHelper.normalizePath(relativeFileName) + currFile = AssetHelper.fileForUri(relativeFileName,'application/javascript') + } + + if(!currFile) { + currFile = AssetHelper.fileForUri(assetPath + '/index.js','application/javascript') + } + + if(!currFile) { + currFile = AssetHelper.fileForUri(assetPath + '/' + assetPath + '/index.js','application/javascript') + } + } + + //look for non js file + if(!currFile) { + if(!assetPath.startsWith('/')) { + def relativeFileName = [ assetFile.parentPath, assetPath].join( AssetHelper.DIRECTIVE_FILE_SEPARATOR ) + relativeFileName = AssetHelper.normalizePath(relativeFileName) + + currFile = AssetHelper.fileForUri(relativeFileName) + } + + if(!currFile) { + currFile = AssetHelper.fileForUri(assetPath) + } + + if(!currFile) { + currFile = AssetHelper.fileForUri(assetPath + '/' + assetPath) + } + + } + if(!currFile) { cachedPaths[assetPath] = null return resultPrefix+"require(${quote}${assetPath}${quote})" + } else if(currFile instanceof GenericAssetFile) { + appendUrlModule(currFile as AssetFile,replacementAssetPath(assetFile, currFile as AssetFile)) + + cachedPaths[assetPath] = currFile.path + return resultPrefix+"_asset_pipeline_require(${quote}${currFile.path}${quote})" } else { currFile.baseFile = assetFile.baseFile ?: assetFile appendModule(currFile) @@ -118,6 +160,27 @@ class JsRequireProcessor extends AbstractUrlRewritingProcessor { CacheManager.addCacheDependency(baseModule.get(), assetFile) } + private appendUrlModule(AssetFile assetFile, String url) { + Map moduleMap = commonJsModules.get() + if(!moduleMap) { + moduleMap = [:] as Map + commonJsModules.set(moduleMap) + } + + if(moduleMap[assetFile.path]) { + return + } + //this is here to prevent circular dependencies + String placeHolderModule = """ + (function() { + var module = {exports: "${url}"}; + return module; + }) + """ + moduleMap[assetFile.path] = placeHolderModule + + } + private encapsulateModule(AssetFile assetFile) { @@ -136,6 +199,7 @@ class JsRequireProcessor extends AbstractUrlRewritingProcessor { } + private String modulesJs() { String output = "var _asset_pipeline_modules = _asset_pipeline_modules || {};\n" output += commonJsModules.get()?.collect { path, encapsulation -> diff --git a/asset-pipeline-core/src/main/resources/asset/pipeline/babel.min.js b/asset-pipeline-core/src/main/resources/asset/pipeline/babel.min.js new file mode 100644 index 00000000..c1088e54 --- /dev/null +++ b/asset-pipeline-core/src/main/resources/asset/pipeline/babel.min.js @@ -0,0 +1,77 @@ +var global = this; +var self = this; +var window = this; +var process = {env: {}}; +var console = {}; +console.debug = print; +console.warn = print; +console.log = print; +console.error = print; +console.trace = print; + +// Object.assign = function (t) { +// for (var s, i = 1, n = arguments.length; i < n; i++) { +// s = arguments[i]; +// for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) +// t[p] = s[p]; +// } +// return t; +// }; + +// (function(e){function f(a,c){function b(a){if(!this||this.constructor!==b)return new b(a);this._keys=[];this._values=[];this._itp=[];this.objectOnly=c;a&&v.call(this,a)}c||w(a,"size",{get:x});a.constructor=b;b.prototype=a;return b}function v(a){this.add?a.forEach(this.add,this):a.forEach(function(a){this.set(a[0],a[1])},this)}function d(a){this.has(a)&&(this._keys.splice(b,1),this._values.splice(b,1),this._itp.forEach(function(a){b 1) { + string += string; + } + n >>= 1; + } + return result; + }; + if (defineProperty) { + defineProperty(String.prototype, 'repeat', { + 'value': repeat, + 'configurable': true, + 'writable': true + }); + } else { + String.prototype.repeat = repeat; + } + }()); +} + +!function(e,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports.Babel=a():e.Babel=a()}("undefined"!=typeof self?self:this,function(){return function(n){var t={};function r(e){if(t[e])return t[e].exports;var a=t[e]={i:e,l:!1,exports:{}};return n[e].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=n,r.c=t,r.d=function(e,a,n){r.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="",r(r.s=354)}([function(e,K,H){(function(V,W){var G;!function(e){var a="object"==typeof K&&K,n=("object"==typeof V&&V&&V.exports,"object"==typeof W&&W);n.global!==n&&n.window;var s="A range’s `stop` value must be greater than or equal to the `start` value.",u="Invalid code point value. Code points range from U+000000 to U+10FFFF.",p=55296,R=56319,f=56320,h=57343,t=/\\x00([^0123456789]|$)/g,r={},d=r.hasOwnProperty,y=function(e,a){for(var n=-1,t=e.length;++n=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c;if((!d||!d[l])&&o.visit(e,l))return}}},h.clearNode=function(e,a){f().removeProperties(e,a),t.path.delete(e)},h.removeProperties=function(e,a){return f().traverseFast(e,h.clearNode,a),e},h.hasType=function(e,a,n){if((0,o().default)(n,e.type))return!1;if(e.type===a)return!0;var t={has:!1,type:a};return h(e,{noScope:!0,blacklist:n,enter:y},null,t),t.has},h.cache=t},function(e,a,n){var t=n(197),r="object"==typeof self&&self&&self.Object===Object&&self,d=t||r||Function("return this")();e.exports=d},function(e,a){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,a,n){"use strict";var t=n(7);function r(){var e,a=(e=n(460))&&e.__esModule?e:{default:e};return r=function(){return a},a}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"VISITOR_KEYS",{enumerable:!0,get:function(){return d.VISITOR_KEYS}}),Object.defineProperty(a,"ALIAS_KEYS",{enumerable:!0,get:function(){return d.ALIAS_KEYS}}),Object.defineProperty(a,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return d.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(a,"NODE_FIELDS",{enumerable:!0,get:function(){return d.NODE_FIELDS}}),Object.defineProperty(a,"BUILDER_KEYS",{enumerable:!0,get:function(){return d.BUILDER_KEYS}}),Object.defineProperty(a,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return d.DEPRECATED_KEYS}}),a.TYPES=void 0,n(142),n(146),n(466),n(467),n(468),n(469),n(470);var d=n(40);(0,r().default)(d.VISITOR_KEYS),(0,r().default)(d.ALIAS_KEYS),(0,r().default)(d.FLIPPED_ALIAS_KEYS),(0,r().default)(d.NODE_FIELDS),(0,r().default)(d.BUILDER_KEYS),(0,r().default)(d.DEPRECATED_KEYS);var i=t(d.VISITOR_KEYS).concat(t(d.FLIPPED_ALIAS_KEYS)).concat(t(d.DEPRECATED_KEYS));a.TYPES=i},function(e,a,n){var d=n(64);e.exports=function(t,r,e){if(d(t),void 0===r)return t;switch(e){case 1:return function(e){return t.call(r,e)};case 2:return function(e,a){return t.call(r,e,a)};case 3:return function(e,a,n){return t.call(r,e,a,n)}}return function(){return t.apply(r,arguments)}}},function(e,a){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(A,e,S){"use strict";(function(a){var e=S(7),g=S(140);function d(e,a){if(e===a)return 0;for(var n=e.length,t=a.length,r=0,d=Math.min(n,t);r=o.length)break;g=o[u++]}else{if((u=o.next()).done)break;g=u.value}var c=g;t[c]=t[c]||{}}for(var l in t){var p=t[l];-1===i.indexOf(l)&&(p.optional=!0),void 0===p.default?p.default=null:p.validate||(p.validate=x(E(p.default)))}f[a]=e.visitor=r,v[a]=e.builder=i,m[a]=e.fields=t,h[a]=e.aliases=d,d.forEach(function(e){y[e]=y[e]||[],y[e].push(a)}),A[a]=e},a.DEPRECATED_KEYS=a.BUILDER_KEYS=a.NODE_FIELDS=a.FLIPPED_ALIAS_KEYS=a.ALIAS_KEYS=a.VISITOR_KEYS=void 0;var t,s=(t=n(144))&&t.__esModule?t:{default:t};var f={};a.VISITOR_KEYS=f;var h={};a.ALIAS_KEYS=h;var y={};a.FLIPPED_ALIAS_KEYS=y;var m={};a.NODE_FIELDS=m;var v={};a.BUILDER_KEYS=v;var b={};function E(e){return Array.isArray(e)?"array":null===e?"null":void 0===e?"undefined":typeof e}function r(e){return{validate:e}}function d(e){return"string"==typeof e?c(e):c.apply(void 0,e)}function i(e){return l(x("array"),g(e))}function u(e){return i(d(e))}function g(r){function e(e,a,n){if(Array.isArray(n))for(var t=0;t","<",">=","<="];a.BOOLEAN_NUMBER_BINARY_OPERATORS=r;var d=["==","===","!=","!=="],i=(a.EQUALITY_BINARY_OPERATORS=d).concat(["in","instanceof"]),o=(a.COMPARISON_BINARY_OPERATORS=i).concat(r);a.BOOLEAN_BINARY_OPERATORS=o;var s=["-","/","%","*","**","&","|",">>",">>>","<<","^"];a.NUMBER_BINARY_OPERATORS=s;var u=["+"].concat(s,o);a.BINARY_OPERATORS=u;var g=["delete","!"];a.BOOLEAN_UNARY_OPERATORS=g;var c=["+","-","~"];a.NUMBER_UNARY_OPERATORS=c;var l=["typeof"];a.STRING_UNARY_OPERATORS=l;var p=["void","throw"].concat(g,c,l);a.UNARY_OPERATORS=p;a.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};var R=t("var used to be block scoped");a.BLOCK_SCOPED_SYMBOL=R;var f=t("should not be considered a local binding");a.NOT_LOCAL_BINDING=f},function(e,a,n){e.exports=n(560)},function(e,a,n){"use strict";var r=n(3),d=n(2);function p(){var e=i(n(620));return p=function(){return e},e}function t(){var e=i(n(47));return t=function(){return e},e}function R(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return R=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){var n,t=e.node,r=e.parent,d=e.scope,i=e.id;void 0===a&&(a=!1);if(t.id)return;if(!R().isObjectProperty(r)&&!R().isObjectMethod(r,{kind:"method"})||r.computed&&!R().isLiteral(r.key)){if(R().isVariableDeclarator(r)){if(i=r.id,R().isIdentifier(i)&&!a){var o=d.parent.getBinding(i.name);if(o&&o.constant&&d.getBinding(i.name)===o)return t.id=R().cloneNode(i),void(t.id[R().NOT_LOCAL_BINDING]=!0)}}else if(R().isAssignmentExpression(r))i=r.left;else if(!i)return}else i=r.key;i&&R().isLiteral(i)?n=function(e){if(R().isNullLiteral(e))return"null";if(R().isRegExpLiteral(e))return"_"+e.pattern+"_"+e.flags;if(R().isTemplateLiteral(e))return e.quasis.map(function(e){return e.value.raw}).join("");if(void 0!==e.value)return e.value+"";return""}(i):i&&R().isIdentifier(i)&&(n=i.name);if(void 0===n)return;return n=R().toBindingIdentifierName(n),(i=R().identifier(n))[R().NOT_LOCAL_BINDING]=!0,function(e,a,n,t){if(e.selfReference){if(!t.hasBinding(n.name)||t.hasGlobal(n.name)){if(!R().isFunction(a))return;var r=f;a.generator&&(r=h);for(var d=r({FUNCTION:a,FUNCTION_ID:n,FUNCTION_KEY:t.generateUidIdentifier(n.name)}).expression,i=d.callee.body.body[0].params,o=0,s=(0,p().default)(a);o=O.length)return"break";j=O[k++]}else{if((k=O.next()).done)return"break";j=k.value}var a=j,e="is"+a,n=c()[e];w.prototype[e]=function(e){return n(this.node,e)},w.prototype["assert"+a]=function(e){if(!n(this.node,e))throw new TypeError("Expected node path of type "+a)}},O=c().TYPES,F=Array.isArray(O),k=0;for(O=F?O:t(O);;){var j;if("break"===D())break}var M=function(e){if("_"===e[0])return"continue";c().TYPES.indexOf(e)<0&&c().TYPES.push(e);var a=o[e];w.prototype["is"+e]=function(e){return a.checkPath(this,e)}};for(var I in o)M(I)},function(e,a,n){var t=n(27).Symbol;e.exports=t},function(e,a,n){var t=n(202),r=n(429),d=n(58);e.exports=function(e){return d(e)?t(e):r(e)}},function(e,a){e.exports=function(a){return function(e){return a(e)}}},function(e,a,n){var t=n(196),r=n(132);e.exports=function(e){return null!=e&&r(e.length)&&!t(e)}},function(e,a,n){"use strict";a.__esModule=!0,a.wrapWithTypes=function(r,d){return function(){var e=i;i=r;try{for(var a=arguments.length,n=Array(a),t=0;t=a.length?{value:void 0,done:!0}:(e=t(a,n),this._i+=e.length,{value:e,done:!1})})},function(e,a){e.exports=function(e,a){return e===a||e!=e&&a!=a}},function(e,a,n){var u=n(199),g=n(200);e.exports=function(e,a,n,t){var r=!n;n||(n={});for(var d=-1,i=a.length;++ddocument.F=Object<\/script>"),e.close(),g=e.F;n--;)delete g[u][i[n]];return g()};e.exports=Object.create||function(e,a){var n;return null!==e?(s[u]=r(e),n=new s,s[u]=null,n[o]=e):n=g(),void 0===a?n:d(n,a)}},function(e,a,n){var r=n(34);e.exports=function(e,a,n){for(var t in a)n&&e[t]?e[t]=a[t]:r(e,t,a[t]);return e}},function(e,a){e.exports=function(e,a,n,t){if(!(e instanceof a)||void 0!==t&&t in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,a,n){"use strict";var c=n(14),l=n(10),p=n(49),R=n(35),f=n(34),h=n(82),y=n(52),m=n(83),v=n(15),b=n(67),E=n(19).f,x=n(124)(0),A=n(21);e.exports=function(n,e,a,t,r,d){var i=c[n],o=i,s=r?"set":"add",u=o&&o.prototype,g={};return A&&"function"==typeof o&&(d||u.forEach&&!R(function(){(new o).entries().next()}))?(o=e(function(e,a){m(e,o,n,"_c"),e._c=new i,null!=a&&y(a,r,e[s],e)}),x("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var r="add"==t||"set"==t;t in u&&(!d||"clear"!=t)&&f(o.prototype,t,function(e,a){if(m(this,o,t),!r&&d&&!v(e))return"get"==t&&void 0;var n=this._c[t](0===e?0:e,a);return r?this:n})}),d||E(o.prototype,"size",{get:function(){return this._c.size}})):(o=t.getConstructor(e,n,r,s),h(o.prototype,a),p.NEED=!0),b(o,n),g[n]=o,l(l.G+l.W+l.F,g),d||t.setStrong(o,n,r),o}},function(e,a,n){"use strict";var t=n(10);e.exports=function(e){t(t.S,e,{of:function(){for(var e=arguments.length,a=new Array(e);e--;)a[e]=arguments[e];return new this(a)}})}},function(e,a,n){"use strict";var t=n(10),i=n(64),o=n(30),s=n(52);e.exports=function(e){t(t.S,e,{from:function(e){var a,n,t,r,d=arguments[1];return i(this),(a=void 0!==d)&&i(d),null==e?new this:(n=[],a?(t=0,r=o(d,arguments[2],2),s(e,!1,function(e){n.push(r(e,t++))})):s(e,!1,n.push,n),new this(n))}})}},function(e,a,n){var t=n(395),r=n(396),d=n(397),i=n(398),o=n(399);function s(e){var a=-1,n=null==e?0:e.length;for(this.clear();++a"),c(g.gutter,t),e,i].join("")}return" "+c(g.gutter,t)+e}).join("\n");return u.message&&!s&&(f=""+" ".repeat(R+1)+u.message+"\n"+f),t?r.reset(f):f}}).call(a,n(24))},function(e,a,n){e.exports=n(611)},function(e,a,n){"use strict";var t=n(118);function i(){var e,a=(e=n(25))&&e.__esModule?e:{default:e};return i=function(){return a},a}Object.defineProperty(a,"__esModule",{value:!0}),a.createItemFromDescriptor=s,a.createConfigItem=function(e,a){var n=void 0===a?{}:a,t=n.dirname,r=void 0===t?".":t,d=n.type;return s((0,o.createDescriptor)(e,i().default.resolve(r),{type:d,alias:"programmatic item"}))},a.getItemDescriptor=function(e){if(e instanceof r)return e._descriptor;return};var o=n(259);function s(e){return new r(e)}var r=function(e){if(this._descriptor=e,Object.defineProperty(this,"_descriptor",{enumerable:!1}),!1===this._descriptor.options)throw new Error("Assertion failure - unexpected false options");this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,t(this)};t(r.prototype)},function(e,a){e.exports=function(e){return"string"==typeof e&&/[@?!+*]\(/.test(e)}},function(e,a,n){var t=n(105);e.exports=function(e){return"string"==typeof e&&(/[*!?{}(|)[\]]/.test(e)||t(e))}},function(e,a,n){var t=n(73),r=1/0;e.exports=function(e){if("string"==typeof e||t(e))return e;var a=e+"";return"0"==a&&1/e==-r?"-0":a}},function(e,a,n){"use strict";function t(){var e,a=(e=n(316))&&e.__esModule?e:{default:e};return t=function(){return a},a}Object.defineProperty(a,"__esModule",{value:!0}),a.is=function(e,a){return"RegExpLiteral"===e.type&&0<=e.flags.indexOf(a)},a.pullFlag=function(e,a){var n=e.flags.split("");if(e.flags.indexOf(a)<0)return;(0,t().default)(n,a),e.flags=n.join("")}},function(e,a){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,a,n){var t=n(61);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==t(e)?e.split(""):Object(e)}},function(e,a){var n=Math.ceil,t=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;if(e[i]!==a[i])return!1}return!0}},function(e,a,n){var t=n(87),r=n(400),d=n(401),i=n(402),o=n(403),s=n(404);function u(e){var a=this.__data__=new t(e);this.size=a.size}u.prototype.clear=r,u.prototype.delete=d,u.prototype.get=i,u.prototype.has=o,u.prototype.set=s,e.exports=u},function(e,a,n){var t=n(43)(n(27),"Map");e.exports=t},function(e,a,n){var t=n(411),r=n(418),d=n(420),i=n(421),o=n(422);function s(e){var a=-1,n=null==e?0:e.length;for(this.clear();++ar;)i(L,a=n[r++])||a==M||a==s||t.push(a);return t},Z=function(e){for(var a,n=e===V,t=D(n?U:b(e)),r=[],d=0;t.length>d;)!i(L,a=t[d++])||n&&!i(V,a)||r.push(L[a]);return r};W||(o((O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var n=l(0ae;)p(ee[ae++]);for(var ne=P(p.store),te=0;ne.length>te;)f(ne[te++]);d(d.S+d.F*!W,"Symbol",{for:function(e){return i(N,e+="")?N[e]:N[e]=O(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var a in N)if(N[a]===e)return a},useSetter:function(){K=!0},useSimple:function(){K=!1}}),d(d.S+d.F*!W,"Object",{create:function(e,a){return void 0===a?A(e):J(A(e),a)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:$,getOwnPropertyNames:Q,getOwnPropertySymbols:Z}),F&&d(d.S+d.F*(!W||u(function(){var e=O();return"[null]"!=k([e])||"{}"!=k({a:e})||"{}"!=k(Object(e))})),"JSON",{stringify:function(e){for(var a,n,t=[e],r=1;arguments.length>r;)t.push(arguments[r++]);if(n=a=t[1],(v(a)||void 0!==e)&&!Y(e))return y(a)||(a=function(e,a){if("function"==typeof n&&(a=n.call(this,e,a)),!Y(a))return a}),t[1]=a,k.apply(F,t)}}),O[j][I]||n(34)(O[j],I,O[j].valueOf),c(O,"Symbol"),c(Math,"Math",!0),c(t.JSON,"JSON",!0)},function(e,a,n){a.f=n(18)},function(e,a,n){var t=n(14),r=n(8),d=n(62),i=n(136),o=n(19).f;e.exports=function(e){var a=r.Symbol||(r.Symbol=d?{}:t.Symbol||{});"_"==e.charAt(0)||e in a||o(a,e,{value:i.f(e)})}},function(e,a){e.exports=function(e,a){for(var n=-1,t=a.length,r=e.length;++n=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;if(e===o)return!0}}return!1};var u=n(29)},function(e,a,n){"use strict";var t=n(9),r=n(3),d=n(2);Object.defineProperty(a,"__esModule",{value:!0}),a.classMethodOrDeclareMethodCommon=a.classMethodOrPropertyCommon=void 0;var i=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(40)),o=n(142);(0,i.default)("AssignmentPattern",{visitor:["left","right"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:t({},o.patternLikeCommon,{left:{validate:(0,i.assertNodeType)("Identifier","ObjectPattern","ArrayPattern")},right:{validate:(0,i.assertNodeType)("Expression")},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}})}),(0,i.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:t({},o.patternLikeCommon,{elements:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("PatternLike")))},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator")))}})}),(0,i.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:t({},o.functionCommon,o.functionTypeAnnotationCommon,{expression:{validate:(0,i.assertValueType)("boolean")},body:{validate:(0,i.assertNodeType)("BlockStatement","Expression")}})}),(0,i.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ClassMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});var s={typeParameters:{validate:(0,i.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,i.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,i.assertNodeType)("Expression")},superTypeParameters:{validate:(0,i.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0}};(0,i.default)("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:t({},s,{declare:{validate:(0,i.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,i.assertValueType)("boolean"),optional:!0},id:{validate:(0,i.assertNodeType)("Identifier"),optional:!0},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator"))),optional:!0}})}),(0,i.default)("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:t({},s,{id:{optional:!0,validate:(0,i.assertNodeType)("Identifier")},body:{validate:(0,i.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,i.assertNodeType)("Expression")},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator"))),optional:!0}})}),(0,i.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,i.assertNodeType)("StringLiteral")}}}),(0,i.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,i.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}}),(0,i.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,i.assertNodeType)("Declaration"),optional:!0},specifiers:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier")))},source:{validate:(0,i.assertNodeType)("StringLiteral"),optional:!0}}}),(0,i.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")},exported:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,i.default)("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,i.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,i.assertNodeType)("Expression")},body:{validate:(0,i.assertNodeType)("Statement")},await:{default:!1,validate:(0,i.assertValueType)("boolean")}}}),(0,i.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,i.assertNodeType)("StringLiteral")}}}),(0,i.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,i.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,i.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,i.assertNodeType)("Identifier")},imported:{validate:(0,i.assertNodeType)("Identifier")},importKind:{validate:(0,i.assertOneOf)(null,"type","typeof")}}}),(0,i.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,i.assertNodeType)("Identifier")},property:{validate:(0,i.assertNodeType)("Identifier")}}});var u,g,c={abstract:{validate:(0,i.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,i.chain)((0,i.assertValueType)("string"),(0,i.assertOneOf)("public","private","protected")),optional:!0},static:{validate:(0,i.assertValueType)("boolean"),optional:!0},computed:{default:!1,validate:(0,i.assertValueType)("boolean")},optional:{validate:(0,i.assertValueType)("boolean"),optional:!0},key:{validate:(0,i.chain)((u=(0,i.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),g=(0,i.assertNodeType)("Expression"),function(e,a,n){(e.computed?g:u)(e,a,n)}),(0,i.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};a.classMethodOrPropertyCommon=c;var l=t({},o.functionCommon,c,{kind:{validate:(0,i.chain)((0,i.assertValueType)("string"),(0,i.assertOneOf)("get","set","method","constructor")),default:"method"},access:{validate:(0,i.chain)((0,i.assertValueType)("string"),(0,i.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Decorator"))),optional:!0}});a.classMethodOrDeclareMethodCommon=l,(0,i.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:t({},l,o.functionTypeAnnotationCommon,{body:{validate:(0,i.assertNodeType)("BlockStatement")}})}),(0,i.default)("ObjectPattern",{visitor:["properties","typeAnnotation"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:t({},o.patternLikeCommon,{properties:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("RestElement","ObjectProperty")))}})}),(0,i.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,i.assertNodeType)("Expression")}}}),(0,i.default)("Super",{aliases:["Expression"]}),(0,i.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,i.assertNodeType)("Expression")},quasi:{validate:(0,i.assertNodeType)("TemplateLiteral")}}}),(0,i.default)("TemplateElement",{builder:["value","tail"],fields:{value:{},tail:{validate:(0,i.assertValueType)("boolean"),default:!1}}}),(0,i.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("TemplateElement")))},expressions:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Expression")))}}}),(0,i.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,i.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,i.assertNodeType)("Expression")}}})},function(e,a,n){"use strict";function t(){var e,a=(e=n(478))&&e.__esModule?e:{default:e};return t=function(){return a},a}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a,n){a&&n&&(a[e]=(0,t().default)([].concat(a[e],n[e]).filter(Boolean)))}},function(e,a,n){var t=n(483),r=n(484),d=n(485);e.exports=function(e,a,n){return a==a?d(e,a,n):t(e,r,n)}},function(e,a){e.exports=function(e){var a=-1,n=Array(e.size);return e.forEach(function(e){n[++a]=e}),n}},function(t,d,r){(function(a){var n=r(17);function e(){var e;try{e=d.storage.debug}catch(e){}return!e&&void 0!==a&&"env"in a&&(e={NODE_ENV:"production"}.DEBUG),e}(d=t.exports=r(527)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},d.formatArgs=function(e){var a=this.useColors;if(e[0]=(a?"%c":"")+this.namespace+(a?" %c":" ")+e[0]+(a?"%c ":" ")+"+"+d.humanize(this.diff),!a)return;var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var t=0,r=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(t++,"%c"===e&&(r=t))}),e.splice(r,0,n)},d.save=function(e){try{null==e?d.storage.removeItem("debug"):d.storage.debug=e}catch(e){}},d.load=e,d.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},d.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),d.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],d.formatters.j=function(e){try{return n(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},d.enable(e())}).call(d,r(24))},function(e,a,n){var d=n(148),i=n(58),o=n(530),s=n(96),u=n(236),g=Math.max;e.exports=function(e,a,n,t){e=i(e)?e:u(e),n=n&&!t?s(n):0;var r=e.length;return n<0&&(n=g(r+n,0)),o(e)?n<=r&&-1",{beforeExpr:s}),template:new u("template"),ellipsis:new u("...",{beforeExpr:s}),backQuote:new u("`",{startsExpr:!0}),dollarBraceL:new u("${",{beforeExpr:s,startsExpr:!0}),at:new u("@"),hash:new u("#"),interpreterDirective:new u("#!..."),eq:new u("=",{beforeExpr:s,isAssign:!0}),assign:new u("_=",{beforeExpr:s,isAssign:!0}),incDec:new u("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:new u("!",{beforeExpr:s,prefix:!0,startsExpr:!0}),tilde:new u("~",{beforeExpr:s,prefix:!0,startsExpr:!0}),pipeline:new c("|>",0),nullishCoalescing:new c("??",1),logicalOR:new c("||",1),logicalAND:new c("&&",2),bitwiseOR:new c("|",3),bitwiseXOR:new c("^",4),bitwiseAND:new c("&",5),equality:new c("==/!=",6),relational:new c("",7),bitShift:new c("<>",8),plusMin:new u("+/-",{beforeExpr:s,binop:9,prefix:!0,startsExpr:!0}),modulo:new c("%",10),star:new c("*",10),slash:new c("/",10),exponent:new u("**",{beforeExpr:s,binop:11,rightAssociative:!0})},l={break:new g("break"),case:new g("case",{beforeExpr:s}),catch:new g("catch"),continue:new g("continue"),debugger:new g("debugger"),default:new g("default",{beforeExpr:s}),do:new g("do",{isLoop:!0,beforeExpr:s}),else:new g("else",{beforeExpr:s}),finally:new g("finally"),for:new g("for",{isLoop:!0}),function:new g("function",{startsExpr:!0}),if:new g("if"),return:new g("return",{beforeExpr:s}),switch:new g("switch"),throw:new g("throw",{beforeExpr:s,prefix:!0,startsExpr:!0}),try:new g("try"),var:new g("var"),let:new g("let"),const:new g("const"),while:new g("while",{isLoop:!0}),with:new g("with"),new:new g("new",{beforeExpr:s,startsExpr:!0}),this:new g("this",{startsExpr:!0}),super:new g("super",{startsExpr:!0}),class:new g("class"),extends:new g("extends",{beforeExpr:s}),export:new g("export"),import:new g("import",{startsExpr:!0}),yield:new g("yield",{beforeExpr:s,startsExpr:!0}),null:new g("null",{startsExpr:!0}),true:new g("true",{startsExpr:!0}),false:new g("false",{startsExpr:!0}),in:new g("in",{beforeExpr:s,binop:7}),instanceof:new g("instanceof",{beforeExpr:s,binop:7}),typeof:new g("typeof",{beforeExpr:s,prefix:!0,startsExpr:!0}),void:new g("void",{beforeExpr:s,prefix:!0,startsExpr:!0}),delete:new g("delete",{beforeExpr:s,prefix:!0,startsExpr:!0})};function R(e){return null!=e&&"Property"===e.type&&"init"===e.kind&&!1===e.method}i(l).forEach(function(e){x["_"+e]=l[e]});function h(e){var a=e.split(" ");return function(e){return 0<=a.indexOf(e)}}var y={6:h("enum await"),strict:h("implements interface let package private protected public static yield"),strictBind:h("eval arguments")},m=h("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this let const class extends export import yield super"),v="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄮㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿪ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",E=new RegExp("["+v+"]"),A=new RegExp("["+v+b+"]");v=b=null;var S=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,257,0,11,39,8,0,22,0,12,39,3,3,55,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,698,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,1,31,6124,20,754,9486,286,82,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541],_=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,280,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,19719,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function T(e,a){for(var n=65536,t=0;t",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},M=/\r\n?|\n|\u2028|\u2029/,I=new RegExp(M.source,"g");function B(e){return 10===e||13===e||8232===e||8233===e}var N=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,L=function(e,a,n,t){this.token=e,this.isExpr=!!a,this.preserveSpace=!!n,this.override=t},U={braceStatement:new L("{",!1),braceExpression:new L("{",!0),templateQuasi:new L("${",!0),parenStatement:new L("(",!1),parenExpression:new L("(",!0),template:new L("`",!0,!0,function(e){return e.readTmplToken()}),functionExpression:new L("function",!0)};x.parenR.updateContext=x.braceR.updateContext=function(){if(1!==this.state.context.length){var e=this.state.context.pop();e===U.braceStatement&&this.curContext()===U.functionExpression?(this.state.context.pop(),this.state.exprAllowed=!1):e===U.templateQuasi?this.state.exprAllowed=!0:this.state.exprAllowed=!e.isExpr}else this.state.exprAllowed=!0},x.name.updateContext=function(e){"of"!==this.state.value||this.curContext()!==U.parenStatement?(this.state.exprAllowed=!1,e!==x._let&&e!==x._const&&e!==x._var||M.test(this.input.slice(this.state.end))&&(this.state.exprAllowed=!0),this.state.isIterator&&(this.state.isIterator=!1)):this.state.exprAllowed=!e.beforeExpr},x.braceL.updateContext=function(e){this.state.context.push(this.braceIsBlock(e)?U.braceStatement:U.braceExpression),this.state.exprAllowed=!0},x.dollarBraceL.updateContext=function(){this.state.context.push(U.templateQuasi),this.state.exprAllowed=!0},x.parenL.updateContext=function(e){var a=e===x._if||e===x._for||e===x._with||e===x._while;this.state.context.push(a?U.parenStatement:U.parenExpression),this.state.exprAllowed=!0},x.incDec.updateContext=function(){},x._function.updateContext=function(e){this.state.exprAllowed&&!this.braceIsBlock(e)&&this.state.context.push(U.functionExpression),this.state.exprAllowed=!1},x.backQuote.updateContext=function(){this.curContext()===U.template?this.state.context.pop():this.state.context.push(U.template),this.state.exprAllowed=!1};var V=/^[\da-fA-F]+$/,W=/^\d+$/;function G(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function K(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return K(e.object)+"."+K(e.property);throw new Error("Node had unexpected type: "+e.type)}U.j_oTag=new L("...",!0,!0),x.jsxName=new u("jsxName"),x.jsxText=new u("jsxText",{beforeExpr:!0}),x.jsxTagStart=new u("jsxTagStart",{startsExpr:!0}),x.jsxTagEnd=new u("jsxTagEnd"),x.jsxTagStart.updateContext=function(){this.state.context.push(U.j_expr),this.state.context.push(U.j_oTag),this.state.exprAllowed=!1},x.jsxTagEnd.updateContext=function(e){var a=this.state.context.pop();a===U.j_oTag&&e===x.slash||a===U.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===U.j_expr):this.state.exprAllowed=!0};var H={sourceType:"script",sourceFilename:void 0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1};var q=function(e,a){this.line=e,this.column=a},Y=function(e,a){this.start=e,this.end=a};function X(e){return e[e.length-1]}var J=function(e){function a(){return e.apply(this,arguments)||this}return o(a,e),a.prototype.raise=function(e,a,n){var t=void 0===n?{}:n,r=t.missingPluginNames,d=t.code,i=function(e,a){for(var n=1,t=0;;){I.lastIndex=t;var r=I.exec(e);if(!(r&&r.index=e.end?(t=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0;else if(0=e.end&&(t=o.trailingComments,delete o.trailingComments)}for(0=e.start&&(a=i.pop());0=e.start;)n=i.pop();if(!n&&a&&(n=a),a&&0=e.start&&this.state.commentPreviousNode){for(d=0;d=u.start&&s.end<=e.end&&this.state.commentPreviousNode&&0e.start);r++);var g=this.state.leadingComments.slice(0,r);g.length&&(e.leadingComments=g),0===(t=this.state.leadingComments.slice(r)).length&&(t=null)}this.state.commentPreviousNode=e,t&&(t.length&&t[0].start>=e.start&&X(t).end<=e.end?e.innerComments=t:e.trailingComments=t),i.push(e)}},a}(function(){function e(){this.sawUnambiguousESM=!1}var a=e.prototype;return a.isReservedWord=function(e){return"await"===e?this.inModule:y[6](e)},a.hasPlugin=function(e){return Object.hasOwnProperty.call(this.plugins,e)},a.getPluginOption=function(e,a){if(this.hasPlugin(e))return this.plugins[e][a]},e}())),z=function(){function e(){}var a=e.prototype;return a.init=function(e,a){this.strict=!1!==e.strictMode&&"module"===e.sourceType,this.input=a,this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.inMethod=!1,this.inFunction=!1,this.inParameters=!1,this.maybeInArrowParameters=!1,this.inGenerator=!1,this.inAsync=!1,this.inPropertyName=!1,this.inType=!1,this.inClassProperty=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isIterator=!1,this.classLevel=0,this.labels=[],this.decoratorStack=[[]],this.yieldInPossibleArrowParameters=null,this.tokens=[],this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.commentPreviousNode=null,this.pos=this.lineStart=0,this.curLine=e.startLine,this.type=x.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=[U.braceStatement],this.exprAllowed=!0,this.containsEsc=this.containsOctal=!1,this.octalPosition=null,this.invalidTemplateEscapePosition=null,this.exportedIdentifiers=[]},a.curPosition=function(){return new q(this.curLine,this.pos-this.lineStart)},a.clone=function(n){var t=this,r=new e;return i(this).forEach(function(e){var a=t[e];n&&"context"!==e||!Array.isArray(a)||(a=a.slice()),r[e]=a}),r},e}(),$={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},Q={bin:[48,49]};Q.oct=Q.bin.concat([50,51,52,53,54,55]),Q.dec=Q.oct.concat([56,57]),Q.hex=Q.dec.concat([65,66,67,68,69,70,97,98,99,100,101,102]);function Z(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}var ee=function(e){function a(){return e.apply(this,arguments)||this}o(a,e);var n=a.prototype;return n.addExtra=function(e,a,n){e&&((e.extra=e.extra||{})[a]=n)},n.isRelational=function(e){return this.match(x.relational)&&this.state.value===e},n.isLookaheadRelational=function(e){var a=this.lookahead();return a.type==x.relational&&a.value==e},n.expectRelational=function(e){this.isRelational(e)?this.next():this.unexpected(null,x.relational)},n.eatRelational=function(e){return!!this.isRelational(e)&&(this.next(),!0)},n.isContextual=function(e){return this.match(x.name)&&this.state.value===e&&!this.state.containsEsc},n.isLookaheadContextual=function(e){var a=this.lookahead();return a.type===x.name&&a.value===e},n.eatContextual=function(e){return this.isContextual(e)&&this.eat(x.name)},n.expectContextual=function(e,a){this.eatContextual(e)||this.unexpected(null,a)},n.canInsertSemicolon=function(){return this.match(x.eof)||this.match(x.braceR)||this.hasPrecedingLineBreak()},n.hasPrecedingLineBreak=function(){return M.test(this.input.slice(this.state.lastTokEnd,this.state.start))},n.isLineTerminator=function(){return this.eat(x.semi)||this.canInsertSemicolon()},n.semicolon=function(){this.isLineTerminator()||this.unexpected(null,x.semi)},n.expect=function(e,a){this.eat(e)||this.unexpected(a,e)},n.unexpected=function(e,a){throw void 0===a&&(a="Unexpected token"),"string"!=typeof a&&(a='Unexpected token, expected "'+a.label+'"'),this.raise(null!=e?e:this.state.start,a)},n.expectPlugin=function(e,a){if(!this.hasPlugin(e))throw this.raise(null!=a?a:this.state.start,"This experimental syntax requires enabling the parser plugin: '"+e+"'",{missingPluginNames:[e]});return!0},n.expectOnePlugin=function(e,a){var n=this;if(!e.some(function(e){return n.hasPlugin(e)}))throw this.raise(null!=a?a:this.state.start,"This experimental syntax requires enabling one of the following parser plugin(s): '"+e.join(", ")+"'",{missingPluginNames:e})},a}(function(t){function e(e,a){var n;return(n=t.call(this)||this).state=new z,n.state.init(e,a),n.isLookahead=!1,n}o(e,t);var a=e.prototype;return a.next=function(){this.options.tokens&&!this.isLookahead&&this.state.tokens.push(new function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new Y(e.startLoc,e.endLoc)}(this.state)),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()},a.eat=function(e){return!!this.match(e)&&(this.next(),!0)},a.match=function(e){return this.state.type===e},a.isKeyword=function(e){return m(e)},a.lookahead=function(){var e=this.state;this.state=e.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1;var a=this.state;return this.state=e,a},a.setStrict=function(e){if(this.state.strict=e,this.match(x.num)||this.match(x.string)){for(this.state.pos=this.state.start;this.state.pos=this.input.length?this.finishToken(x.eof):e.override?e.override(this):this.readToken(this.fullCharCodeAtPos())},a.readToken=function(e){P(e)||92===e?this.readWord():this.getTokenFromCode(e)},a.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.state.pos);return e<=55295||57344<=e?e:(e<<10)+this.input.charCodeAt(this.state.pos+1)-56613888},a.pushComment=function(e,a,n,t,r,d){var i={type:e?"CommentBlock":"CommentLine",value:a,start:n,end:t,loc:new Y(r,d)};this.isLookahead||(this.options.tokens&&this.state.tokens.push(i),this.state.comments.push(i),this.addComment(i))},a.skipBlockComment=function(){var e,a=this.state.curPosition(),n=this.state.pos,t=this.input.indexOf("*/",this.state.pos+=2);for(-1===t&&this.raise(this.state.pos-2,"Unterminated comment"),this.state.pos=t+2,I.lastIndex=n;(e=I.exec(this.input))&&e.index=this.input.length&&this.raise(n,"Unterminated regular expression");var t=this.input.charAt(this.state.pos);if(M.test(t)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===t)a=!0;else if("]"===t&&a)a=!1;else if("/"===t&&!a)break;e="\\"===t}++this.state.pos}var r=this.input.slice(n,this.state.pos);++this.state.pos;for(var d="";this.state.pos=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var r=this.input.charCodeAt(this.state.pos);if(r===e)break;92===r?(a+=this.input.slice(n,this.state.pos),a+=this.readEscapedChar(!1),n=this.state.pos):(!t||8232!==r&&8233!==r)&&B(r)?this.raise(this.state.start,"Unterminated string constant"):++this.state.pos}a+=this.input.slice(n,this.state.pos++),this.finishToken(x.string,a)},a.readTmplToken=function(){for(var e="",a=this.state.pos,n=!1;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated template");var t=this.input.charCodeAt(this.state.pos);if(96===t||36===t&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(x.template)?36===t?(this.state.pos+=2,void this.finishToken(x.dollarBraceL)):(++this.state.pos,void this.finishToken(x.backQuote)):(e+=this.input.slice(a,this.state.pos),void this.finishToken(x.template,n?null:e));if(92===t){e+=this.input.slice(a,this.state.pos);var r=this.readEscapedChar(!0);null===r?n=!0:e+=r,a=this.state.pos}else if(B(t)){switch(e+=this.input.slice(a,this.state.pos),++this.state.pos,t){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(t)}++this.state.curLine,this.state.lineStart=this.state.pos,a=this.state.pos}else++this.state.pos}},a.readEscapedChar=function(e){var a=!e,n=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,n){case 110:return"\n";case 114:return"\r";case 120:var t=this.readHexChar(2,a);return null===t?null:String.fromCharCode(t);case 117:var r=this.readCodePoint(a);return null===r?null:Z(r);case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:return this.state.lineStart=this.state.pos,++this.state.curLine,"";default:if(48<=n&&n<=55){var d=this.state.pos-1,i=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],o=parseInt(i,8);if(255=this.input.length&&this.raise(this.state.start,"Unterminated JSX contents");var n=this.input.charCodeAt(this.state.pos);switch(n){case 60:case 123:return this.state.pos===this.state.start?60===n&&this.state.exprAllowed?(++this.state.pos,this.finishToken(x.jsxTagStart)):this.getTokenFromCode(n):(e+=this.input.slice(a,this.state.pos),this.finishToken(x.jsxText,e));case 38:e+=this.input.slice(a,this.state.pos),e+=this.jsxReadEntity(),a=this.state.pos;break;default:B(n)?(e+=this.input.slice(a,this.state.pos),e+=this.jsxReadNewLine(!0),a=this.state.pos):++this.state.pos}}},a.jsxReadNewLine=function(e){var a,n=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===n&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,a=e?"\n":"\r\n"):a=String.fromCharCode(n),++this.state.curLine,this.state.lineStart=this.state.pos,a},a.jsxReadString=function(e){for(var a="",n=++this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var t=this.input.charCodeAt(this.state.pos);if(t===e)break;38===t?(a+=this.input.slice(n,this.state.pos),a+=this.jsxReadEntity(),n=this.state.pos):B(t)?(a+=this.input.slice(n,this.state.pos),a+=this.jsxReadNewLine(!1),n=this.state.pos):++this.state.pos}return a+=this.input.slice(n,this.state.pos++),this.finishToken(x.string,a)},a.jsxReadEntity=function(){for(var e,a="",n=0,t=this.input[this.state.pos],r=++this.state.pos;this.state.pos"):!G(r)&&G(d)?this.raise(d.start,"Expected corresponding JSX closing tag for <"+K(r.name)+">"):G(r)||G(d)||K(d.name)!==K(r.name)&&this.raise(d.start,"Expected corresponding JSX closing tag for <"+K(r.name)+">")}return G(r)?(n.openingFragment=r,n.closingFragment=d):(n.openingElement=r,n.closingElement=d),n.children=t,this.match(x.relational)&&"<"===this.state.value&&this.raise(this.state.start,"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"),G(r)?this.finishNode(n,"JSXFragment"):this.finishNode(n,"JSXElement")},a.jsxParseElement=function(){var e=this.state.start,a=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,a)},a.parseExprAtom=function(e){return this.match(x.jsxText)?this.parseLiteral(this.state.value,"JSXText"):this.match(x.jsxTagStart)?this.jsxParseElement():n.prototype.parseExprAtom.call(this,e)},a.readToken=function(e){if(this.state.inPropertyName)return n.prototype.readToken.call(this,e);var a=this.curContext();if(a===U.j_expr)return this.jsxReadToken();if(a===U.j_oTag||a===U.j_cTag){if(P(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(x.jsxTagEnd);if((34===e||39===e)&&a===U.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.exprAllowed?(++this.state.pos,this.finishToken(x.jsxTagStart)):n.prototype.readToken.call(this,e)},a.updateContext=function(e){if(this.match(x.braceL)){var a=this.curContext();a===U.j_oTag?this.state.context.push(U.braceExpression):a===U.j_expr?this.state.context.push(U.templateQuasi):n.prototype.updateContext.call(this,e),this.state.exprAllowed=!0}else{if(!this.match(x.slash)||e!==x.jsxTagStart)return n.prototype.updateContext.call(this,e);this.state.context.length-=2,this.state.context.push(U.j_cTag),this.state.exprAllowed=!1}},e}(e)},flow:function(e){return function(E){function e(e,a){var n;return(n=E.call(this,e,a)||this).flowPragma=void 0,n}o(e,E);var a=e.prototype;return a.shouldParseTypes=function(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma},a.addComment=function(e){if(void 0===this.flowPragma){var a=k.exec(e.value);if(a)if("flow"===a[1])this.flowPragma="flow";else{if("noflow"!==a[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}else this.flowPragma=null}return E.prototype.addComment.call(this,e)},a.flowParseTypeInitialiser=function(e){var a=this.state.inType;this.state.inType=!0,this.expect(e||x.colon);var n=this.flowParseType();return this.state.inType=a,n},a.flowParsePredicate=function(){var e=this.startNode(),a=this.state.startLoc,n=this.state.start;this.expect(x.modulo);var t=this.state.startLoc;return this.expectContextual("checks"),a.line===t.line&&a.column===t.column-1||this.raise(n,"Spaces between ´%´ and ´checks´ are not allowed here."),this.eat(x.parenL)?(e.value=this.parseExpression(),this.expect(x.parenR),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")},a.flowParseTypeAndPredicateInitialiser=function(){var e=this.state.inType;this.state.inType=!0,this.expect(x.colon);var a=null,n=null;return this.match(x.modulo)?(this.state.inType=e,n=this.flowParsePredicate()):(a=this.flowParseType(),this.state.inType=e,this.match(x.modulo)&&(n=this.flowParsePredicate())),[a,n]},a.flowParseDeclareClass=function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")},a.flowParseDeclareFunction=function(e){this.next();var a=e.id=this.parseIdentifier(),n=this.startNode(),t=this.startNode();this.isRelational("<")?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,this.expect(x.parenL);var r=this.flowParseFunctionTypeParams();n.params=r.params,n.rest=r.rest,this.expect(x.parenR);var d=this.flowParseTypeAndPredicateInitialiser();return n.returnType=d[0],e.predicate=d[1],t.typeAnnotation=this.finishNode(n,"FunctionTypeAnnotation"),a.typeAnnotation=this.finishNode(t,"TypeAnnotation"),this.finishNode(a,a.type),this.semicolon(),this.finishNode(e,"DeclareFunction")},a.flowParseDeclare=function(e,a){if(this.match(x._class))return this.flowParseDeclareClass(e);if(this.match(x._function))return this.flowParseDeclareFunction(e);if(this.match(x._var))return this.flowParseDeclareVariable(e);if(this.isContextual("module"))return this.lookahead().type===x.dot?this.flowParseDeclareModuleExports(e):(a&&this.unexpected(null,"`declare module` cannot be used inside another `declare module`"),this.flowParseDeclareModule(e));if(this.isContextual("type"))return this.flowParseDeclareTypeAlias(e);if(this.isContextual("opaque"))return this.flowParseDeclareOpaqueType(e);if(this.isContextual("interface"))return this.flowParseDeclareInterface(e);if(this.match(x._export))return this.flowParseDeclareExportDeclaration(e,a);throw this.unexpected()},a.flowParseDeclareVariable=function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.semicolon(),this.finishNode(e,"DeclareVariable")},a.flowParseDeclareModule=function(e){var n=this;this.next(),this.match(x.string)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();var a=e.body=this.startNode(),t=a.body=[];for(this.expect(x.braceL);!this.match(x.braceR);){var r=this.startNode();if(this.match(x._import)){var d=this.lookahead();"type"!==d.value&&"typeof"!==d.value&&this.unexpected(null,"Imports within a `declare module` body must always be `import type` or `import typeof`"),this.next(),this.parseImport(r)}else this.expectContextual("declare","Only declares and type imports are allowed inside declare module"),r=this.flowParseDeclare(r,!0);t.push(r)}this.expect(x.braceR),this.finishNode(a,"BlockStatement");var i=null,o=!1,s="Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module";return t.forEach(function(e){var a;"DeclareExportAllDeclaration"===(a=e).type||"DeclareExportDeclaration"===a.type&&(!a.declaration||"TypeAlias"!==a.declaration.type&&"InterfaceDeclaration"!==a.declaration.type)?("CommonJS"===i&&n.unexpected(e.start,s),i="ES"):"DeclareModuleExports"===e.type&&(o&&n.unexpected(e.start,"Duplicate `declare module.exports` statement"),"ES"===i&&n.unexpected(e.start,s),i="CommonJS",o=!0)}),e.kind=i||"CommonJS",this.finishNode(e,"DeclareModule")},a.flowParseDeclareExportDeclaration=function(e,a){if(this.expect(x._export),this.eat(x._default))return this.match(x._function)||this.match(x._class)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(x._const)||this.match(x._let)||(this.isContextual("type")||this.isContextual("interface"))&&!a){var n=this.state.value,t=F[n];this.unexpected(this.state.start,"`declare export "+n+"` is not supported. Use `"+t+"` instead")}if(this.match(x._var)||this.match(x._function)||this.match(x._class)||this.isContextual("opaque"))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(x.star)||this.match(x.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque"))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()},a.flowParseDeclareModuleExports=function(e){return this.expectContextual("module"),this.expect(x.dot),this.expectContextual("exports"),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")},a.flowParseDeclareTypeAlias=function(e){return this.next(),this.flowParseTypeAlias(e),this.finishNode(e,"DeclareTypeAlias")},a.flowParseDeclareOpaqueType=function(e){return this.next(),this.flowParseOpaqueType(e,!0),this.finishNode(e,"DeclareOpaqueType")},a.flowParseDeclareInterface=function(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")},a.flowParseInterfaceish=function(e,a){if(e.id=this.flowParseRestrictedIdentifier(!a),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(x._extends))for(;e.extends.push(this.flowParseInterfaceExtends()),!a&&this.eat(x.comma););if(this.isContextual("mixins"))for(this.next();e.mixins.push(this.flowParseInterfaceExtends()),this.eat(x.comma););if(this.isContextual("implements"))for(this.next();e.implements.push(this.flowParseInterfaceExtends()),this.eat(x.comma););e.body=this.flowParseObjectType(!0,!1,!1)},a.flowParseInterfaceExtends=function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")},a.flowParseInterface=function(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")},a.checkReservedType=function(e,a){-1")||this.expect(x.comma)}while(!this.isRelational(">"));return this.expectRelational(">"),this.state.inType=a,this.finishNode(n,"TypeParameterDeclaration")},a.flowParseTypeParameterInstantiation=function(){var e=this.startNode(),a=this.state.inType;for(e.params=[],this.state.inType=!0,this.expectRelational("<");!this.isRelational(">");)e.params.push(this.flowParseType()),this.isRelational(">")||this.expect(x.comma);return this.expectRelational(">"),this.state.inType=a,this.finishNode(e,"TypeParameterInstantiation")},a.flowParseInterfaceType=function(){var e=this.startNode();if(this.expectContextual("interface"),e.extends=[],this.eat(x._extends))for(;e.extends.push(this.flowParseInterfaceExtends()),this.eat(x.comma););return e.body=this.flowParseObjectType(!0,!1,!1),this.finishNode(e,"InterfaceTypeAnnotation")},a.flowParseObjectPropertyKey=function(){return this.match(x.num)||this.match(x.string)?this.parseExprAtom():this.parseIdentifier(!0)},a.flowParseObjectTypeIndexer=function(e,a,n){return e.static=a,this.lookahead().type===x.colon?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(x.bracketR),e.value=this.flowParseTypeInitialiser(),e.variance=n,this.finishNode(e,"ObjectTypeIndexer")},a.flowParseObjectTypeInternalSlot=function(e,a){return e.static=a,e.id=this.flowParseObjectPropertyKey(),this.expect(x.bracketR),this.expect(x.bracketR),this.isRelational("<")||this.match(x.parenL)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(x.question)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")},a.flowParseObjectTypeMethodish=function(e){for(e.params=[],e.rest=null,e.typeParameters=null,this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration(!1)),this.expect(x.parenL);!this.match(x.parenR)&&!this.match(x.ellipsis);)e.params.push(this.flowParseFunctionTypeParam()),this.match(x.parenR)||this.expect(x.comma);return this.eat(x.ellipsis)&&(e.rest=this.flowParseFunctionTypeParam()),this.expect(x.parenR),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")},a.flowParseObjectTypeCallProperty=function(e,a){var n=this.startNode();return e.static=a,e.value=this.flowParseObjectTypeMethodish(n),this.finishNode(e,"ObjectTypeCallProperty")},a.flowParseObjectType=function(e,a,n){var t=this.state.inType;this.state.inType=!0;var r,d,i=this.startNode();for(i.callProperties=[],i.properties=[],i.indexers=[],i.internalSlots=[],a&&this.match(x.braceBarL)?(this.expect(x.braceBarL),r=x.braceBarR,d=!0):(this.expect(x.braceL),r=x.braceR,d=!1),i.exact=d;!this.match(r);){var o=!1,s=this.startNode();if(e&&this.isContextual("static")){var u=this.lookahead();u.type!==x.colon&&u.type!==x.question&&(this.next(),o=!0)}var g=this.flowParseVariance();if(this.eat(x.bracketL))this.eat(x.bracketL)?(g&&this.unexpected(g.start),i.internalSlots.push(this.flowParseObjectTypeInternalSlot(s,o))):i.indexers.push(this.flowParseObjectTypeIndexer(s,o,g));else if(this.match(x.parenL)||this.isRelational("<"))g&&this.unexpected(g.start),i.callProperties.push(this.flowParseObjectTypeCallProperty(s,o));else{var c="init";if(this.isContextual("get")||this.isContextual("set")){var l=this.lookahead();l.type!==x.name&&l.type!==x.string&&l.type!==x.num||(c=this.state.value,this.next())}i.properties.push(this.flowParseObjectTypeProperty(s,o,g,c,n))}this.flowObjectTypeSemicolon()}this.expect(r);var p=this.finishNode(i,"ObjectTypeAnnotation");return this.state.inType=t,p},a.flowParseObjectTypeProperty=function(e,a,n,t,r){if(this.match(x.ellipsis))return r||this.unexpected(null,"Spread operator cannot appear in class or interface definitions"),n&&this.unexpected(n.start,"Spread properties cannot have variance"),this.expect(x.ellipsis),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty");e.key=this.flowParseObjectPropertyKey(),e.static=a,e.kind=t;var d=!1;return this.isRelational("<")||this.match(x.parenL)?(e.method=!0,n&&this.unexpected(n.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),"get"!==t&&"set"!==t||this.flowCheckGetterSetterParams(e)):("init"!==t&&this.unexpected(),e.method=!1,this.eat(x.question)&&(d=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=d,this.finishNode(e,"ObjectTypeProperty")},a.flowCheckGetterSetterParams=function(e){var a="get"===e.kind?0:1,n=e.start;e.value.params.length+(e.value.rest?1:0)!==a&&("get"===e.kind?this.raise(n,"getter must not have any formal parameters"):this.raise(n,"setter must have exactly one formal parameter")),"set"===e.kind&&e.value.rest&&this.raise(n,"setter function argument must not be a rest parameter")},a.flowObjectTypeSemicolon=function(){this.eat(x.semi)||this.eat(x.comma)||this.match(x.braceR)||this.match(x.braceBarR)||this.unexpected()},a.flowParseQualifiedTypeIdentifier=function(e,a,n){e=e||this.state.start,a=a||this.state.startLoc;for(var t=n||this.parseIdentifier();this.eat(x.dot);){var r=this.startNodeAt(e,a);r.qualification=t,r.id=this.parseIdentifier(),t=this.finishNode(r,"QualifiedTypeIdentifier")}return t},a.flowParseGenericType=function(e,a,n){var t=this.startNodeAt(e,a);return t.typeParameters=null,t.id=this.flowParseQualifiedTypeIdentifier(e,a,n),this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(t,"GenericTypeAnnotation")},a.flowParseTypeofType=function(){var e=this.startNode();return this.expect(x._typeof),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")},a.flowParseTupleType=function(){var e=this.startNode();for(e.types=[],this.expect(x.bracketL);this.state.pos")}throw new Error("Unreachable")},a.tsParseList=function(e,a){for(var n=[];!this.tsIsListTerminator(e);)n.push(a());return n},a.tsParseDelimitedList=function(e,a){return se(this.tsParseDelimitedListWorker(e,a,!0))},a.tsTryParseDelimitedList=function(e,a){return this.tsParseDelimitedListWorker(e,a,!1)},a.tsParseDelimitedListWorker=function(e,a,n){for(var t=[];!this.tsIsListTerminator(e);){var r=a();if(null==r)return;if(t.push(r),!this.eat(x.comma)){if(this.tsIsListTerminator(e))break;return void(n&&this.expect(x.comma))}}return t},a.tsParseBracketedList=function(e,a,n,t){t||(n?this.expect(x.bracketL):this.expectRelational("<"));var r=this.tsParseDelimitedList(e,a);return n?this.expect(x.bracketR):this.expectRelational(">"),r},a.tsParseEntityName=function(e){for(var a=this.parseIdentifier();this.eat(x.dot);){var n=this.startNodeAtNode(a);n.left=a,n.right=this.parseIdentifier(e),a=this.finishNode(n,"TSQualifiedName")}return a},a.tsParseTypeReference=function(){var e=this.startNode();return e.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.isRelational("<")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")},a.tsParseThisTypePredicate=function(e){this.next();var a=this.startNode();return a.parameterName=e,a.typeAnnotation=this.tsParseTypeAnnotation(!1),this.finishNode(a,"TSTypePredicate")},a.tsParseThisTypeNode=function(){var e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")},a.tsParseTypeQuery=function(){var e=this.startNode();return this.expect(x._typeof),e.exprName=this.tsParseEntityName(!0),this.finishNode(e,"TSTypeQuery")},a.tsParseTypeParameter=function(){var e=this.startNode();return e.name=this.parseIdentifierName(e.start),e.constraint=this.tsEatThenParseType(x._extends),e.default=this.tsEatThenParseType(x.eq),this.finishNode(e,"TSTypeParameter")},a.tsTryParseTypeParameters=function(){if(this.isRelational("<"))return this.tsParseTypeParameters()},a.tsParseTypeParameters=function(){var e=this.startNode();return this.isRelational("<")||this.match(x.jsxTagStart)?this.next():this.unexpected(),e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0),this.finishNode(e,"TSTypeParameterDeclaration")},a.tsFillSignature=function(e,a){var n=e===x.arrow;a.typeParameters=this.tsTryParseTypeParameters(),this.expect(x.parenL),a.parameters=this.tsParseBindingListForSignature(),n?a.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(a.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))},a.tsParseBindingListForSignature=function(){var a=this;return this.parseBindingList(x.parenR).map(function(e){if("Identifier"!==e.type&&"RestElement"!==e.type)throw a.unexpected(e.start,"Name in a signature must be an Identifier.");return e})},a.tsParseTypeMemberSemicolon=function(){this.eat(x.comma)||this.semicolon()},a.tsParseSignatureMember=function(e){var a=this.startNode();return"TSConstructSignatureDeclaration"===e&&this.expect(x._new),this.tsFillSignature(x.colon,a),this.tsParseTypeMemberSemicolon(),this.finishNode(a,e)},a.tsIsUnambiguouslyIndexSignature=function(){return this.next(),this.eat(x.name)&&this.match(x.colon)},a.tsTryParseIndexSignature=function(e){if(this.match(x.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(x.bracketL);var a=this.parseIdentifier();this.expect(x.colon),a.typeAnnotation=this.tsParseTypeAnnotation(!1),this.expect(x.bracketR),e.parameters=[a];var n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}},a.tsParsePropertyOrMethodSignature=function(e,a){this.parsePropertyName(e),this.eat(x.question)&&(e.optional=!0);var n=e;if(a||!this.match(x.parenL)&&!this.isRelational("<")){var t=n;a&&(t.readonly=!0);var r=this.tsTryParseTypeAnnotation();return r&&(t.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSPropertySignature")}var d=n;return this.tsFillSignature(x.colon,d),this.tsParseTypeMemberSemicolon(),this.finishNode(d,"TSMethodSignature")},a.tsParseTypeMember=function(){if(this.match(x.parenL)||this.isRelational("<"))return this.tsParseSignatureMember("TSCallSignatureDeclaration");if(this.match(x._new)&&this.tsLookAhead(this.tsIsStartOfConstructSignature.bind(this)))return this.tsParseSignatureMember("TSConstructSignatureDeclaration");var e=this.startNode(),a=!!this.tsParseModifier(["readonly"]),n=this.tsTryParseIndexSignature(e);return n?(a&&(e.readonly=!0),n):this.tsParsePropertyOrMethodSignature(e,a)},a.tsIsStartOfConstructSignature=function(){return this.next(),this.match(x.parenL)||this.isRelational("<")},a.tsParseTypeLiteral=function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")},a.tsParseObjectTypeMembers=function(){this.expect(x.braceL);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(x.braceR),e},a.tsIsStartOfMappedType=function(){return this.next(),this.eat(x.plusMin)?this.isContextual("readonly"):(this.isContextual("readonly")&&this.next(),!!this.match(x.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(x._in))))},a.tsParseMappedTypeParameter=function(){var e=this.startNode();return e.name=this.parseIdentifierName(e.start),e.constraint=this.tsExpectThenParseType(x._in),this.finishNode(e,"TSTypeParameter")},a.tsParseMappedType=function(){var e=this.startNode();return this.expect(x.braceL),this.match(x.plusMin)?(e.readonly=this.state.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(e.readonly=!0),this.expect(x.bracketL),e.typeParameter=this.tsParseMappedTypeParameter(),this.expect(x.bracketR),this.match(x.plusMin)?(e.optional=this.state.value,this.next(),this.expect(x.question)):this.eat(x.question)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(x.braceR),this.finishNode(e,"TSMappedType")},a.tsParseTupleType=function(){var e=this.startNode();return e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseType.bind(this),!0,!1),this.finishNode(e,"TSTupleType")},a.tsParseParenthesizedType=function(){var e=this.startNode();return this.expect(x.parenL),e.typeAnnotation=this.tsParseType(),this.expect(x.parenR),this.finishNode(e,"TSParenthesizedType")},a.tsParseFunctionOrConstructorType=function(e){var a=this.startNode();return"TSConstructorType"===e&&this.expect(x._new),this.tsFillSignature(x.arrow,a),this.finishNode(a,e)},a.tsParseLiteralTypeNode=function(){var e=this,a=this.startNode();return a.literal=function(){switch(e.state.type){case x.num:return e.parseLiteral(e.state.value,"NumericLiteral");case x.string:return e.parseLiteral(e.state.value,"StringLiteral");case x._true:case x._false:return e.parseBooleanLiteral();default:throw e.unexpected()}}(),this.finishNode(a,"TSLiteralType")},a.tsParseNonArrayType=function(){switch(this.state.type){case x.name:case x._void:case x._null:var e=this.match(x._void)?"TSVoidKeyword":this.match(x._null)?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";default:return}}(this.state.value);if(void 0!==e&&this.lookahead().type!==x.dot){var a=this.startNode();return this.next(),this.finishNode(a,e)}return this.tsParseTypeReference();case x.string:case x.num:case x._true:case x._false:return this.tsParseLiteralTypeNode();case x.plusMin:if("-"===this.state.value){var n=this.startNode();if(this.next(),!this.match(x.num))throw this.unexpected();return n.literal=this.parseLiteral(-this.state.value,"NumericLiteral",n.start,n.loc.start),this.finishNode(n,"TSLiteralType")}break;case x._this:var t=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(t):t;case x._typeof:return this.tsParseTypeQuery();case x.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case x.bracketL:return this.tsParseTupleType();case x.parenL:return this.tsParseParenthesizedType()}throw this.unexpected()},a.tsParseArrayTypeOrHigher=function(){for(var e=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(x.bracketL);)if(this.match(x.bracketR)){var a=this.startNodeAtNode(e);a.elementType=e,this.expect(x.bracketR),e=this.finishNode(a,"TSArrayType")}else{var n=this.startNodeAtNode(e);n.objectType=e,n.indexType=this.tsParseType(),this.expect(x.bracketR),e=this.finishNode(n,"TSIndexedAccessType")}return e},a.tsParseTypeOperator=function(e){var a=this.startNode();return this.expectContextual(e),a.operator=e,a.typeAnnotation=this.tsParseTypeOperatorOrHigher(),this.finishNode(a,"TSTypeOperator")},a.tsParseInferType=function(){var e=this.startNode();this.expectContextual("infer");var a=this.startNode();return a.name=this.parseIdentifierName(a.start),e.typeParameter=this.finishNode(a,"TSTypeParameter"),this.finishNode(e,"TSInferType")},a.tsParseTypeOperatorOrHigher=function(){var a=this,e=["keyof","unique"].find(function(e){return a.isContextual(e)});return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()},a.tsParseUnionOrIntersectionType=function(e,a,n){this.eat(n);var t=a();if(this.match(n)){for(var r=[t];this.eat(n);)r.push(a());var d=this.startNodeAtNode(t);d.types=r,t=this.finishNode(d,e)}return t},a.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),x.bitwiseAND)},a.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),x.bitwiseOR)},a.tsIsStartOfFunctionType=function(){return!!this.isRelational("<")||this.match(x.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},a.tsSkipParameterStart=function(){return!(!this.match(x.name)&&!this.match(x._this)||(this.next(),0))},a.tsIsUnambiguouslyStartOfFunctionType=function(){if(this.next(),this.match(x.parenR)||this.match(x.ellipsis))return!0;if(this.tsSkipParameterStart()){if(this.match(x.colon)||this.match(x.comma)||this.match(x.question)||this.match(x.eq))return!0;if(this.match(x.parenR)&&(this.next(),this.match(x.arrow)))return!0}return!1},a.tsParseTypeOrTypePredicateAnnotation=function(r){var d=this;return this.tsInType(function(){var e=d.startNode();d.expect(r);var a=d.tsIsIdentifier()&&d.tsTryParse(d.tsParseTypePredicatePrefix.bind(d));if(!a)return d.tsParseTypeAnnotation(!1,e);var n=d.tsParseTypeAnnotation(!1),t=d.startNodeAtNode(a);return t.parameterName=a,t.typeAnnotation=n,e.typeAnnotation=d.finishNode(t,"TSTypePredicate"),d.finishNode(e,"TSTypeAnnotation")})},a.tsTryParseTypeOrTypePredicateAnnotation=function(){return this.match(x.colon)?this.tsParseTypeOrTypePredicateAnnotation(x.colon):void 0},a.tsTryParseTypeAnnotation=function(){return this.match(x.colon)?this.tsParseTypeAnnotation():void 0},a.tsTryParseType=function(){return this.tsEatThenParseType(x.colon)},a.tsParseTypePredicatePrefix=function(){var e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),e},a.tsParseTypeAnnotation=function(e,a){var n=this;return void 0===e&&(e=!0),void 0===a&&(a=this.startNode()),this.tsInType(function(){e&&n.expect(x.colon),a.typeAnnotation=n.tsParseType()}),this.finishNode(a,"TSTypeAnnotation")},a.tsParseType=function(){ue(this.state.inType);var e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(x._extends))return e;var a=this.startNodeAtNode(e);return a.checkType=e,a.extendsType=this.tsParseNonConditionalType(),this.expect(x.question),a.trueType=this.tsParseType(),this.expect(x.colon),a.falseType=this.tsParseType(),this.finishNode(a,"TSConditionalType")},a.tsParseNonConditionalType=function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(x._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.tsParseUnionTypeOrHigher()},a.tsParseTypeAssertion=function(){var e=this,a=this.startNode();return a.typeAnnotation=this.tsInType(function(){return e.tsParseType()}),this.expectRelational(">"),a.expression=this.parseMaybeUnary(),this.finishNode(a,"TSTypeAssertion")},a.tsTryParseTypeArgumentsInExpression=function(){var a=this;return this.tsTryParseAndCatch(function(){var e=a.tsParseTypeArguments();return a.expect(x.parenL),e})},a.tsParseHeritageClause=function(){return this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this))},a.tsParseExpressionWithTypeArguments=function(){var e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.isRelational("<")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")},a.tsParseInterfaceDeclaration=function(e){e.id=this.parseIdentifier(),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(x._extends)&&(e.extends=this.tsParseHeritageClause());var a=this.startNode();return a.body=this.tsParseObjectTypeMembers(),e.body=this.finishNode(a,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")},a.tsParseTypeAliasDeclaration=function(e){return e.id=this.parseIdentifier(),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsExpectThenParseType(x.eq),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")},a.tsInType=function(e){var a=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=a}},a.tsEatThenParseType=function(e){return this.match(e)?this.tsNextThenParseType():void 0},a.tsExpectThenParseType=function(e){var a=this;return this.tsDoThenParseType(function(){return a.expect(e)})},a.tsNextThenParseType=function(){var e=this;return this.tsDoThenParseType(function(){return e.next()})},a.tsDoThenParseType=function(e){var a=this;return this.tsInType(function(){return e(),a.tsParseType()})},a.tsParseEnumMember=function(){var e=this.startNode();return e.id=this.match(x.string)?this.parseLiteral(this.state.value,"StringLiteral"):this.parseIdentifier(!0),this.eat(x.eq)&&(e.initializer=this.parseMaybeAssign()),this.finishNode(e,"TSEnumMember")},a.tsParseEnumDeclaration=function(e,a){return a&&(e.const=!0),e.id=this.parseIdentifier(),this.expect(x.braceL),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(x.braceR),this.finishNode(e,"TSEnumDeclaration")},a.tsParseModuleBlock=function(){var e=this.startNode();return this.expect(x.braceL),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,x.braceR),this.finishNode(e,"TSModuleBlock")},a.tsParseModuleOrNamespaceDeclaration=function(e){if(e.id=this.parseIdentifier(),this.eat(x.dot)){var a=this.startNode();this.tsParseModuleOrNamespaceDeclaration(a),e.body=a}else e.body=this.tsParseModuleBlock();return this.finishNode(e,"TSModuleDeclaration")},a.tsParseAmbientExternalModuleDeclaration=function(e){return this.isContextual("global")?(e.global=!0,e.id=this.parseIdentifier()):this.match(x.string)?e.id=this.parseExprAtom():this.unexpected(),this.match(x.braceL)?e.body=this.tsParseModuleBlock():this.semicolon(),this.finishNode(e,"TSModuleDeclaration")},a.tsParseImportEqualsDeclaration=function(e,a){return e.isExport=a||!1,e.id=this.parseIdentifier(),this.expect(x.eq),e.moduleReference=this.tsParseModuleReference(),this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")},a.tsIsExternalModuleReference=function(){return this.isContextual("require")&&this.lookahead().type===x.parenL},a.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)},a.tsParseExternalModuleReference=function(){var e=this.startNode();if(this.expectContextual("require"),this.expect(x.parenL),!this.match(x.string))throw this.unexpected();return e.expression=this.parseLiteral(this.state.value,"StringLiteral"),this.expect(x.parenR),this.finishNode(e,"TSExternalModuleReference")},a.tsLookAhead=function(e){var a=this.state.clone(),n=e();return this.state=a,n},a.tsTryParseAndCatch=function(e){var a=this.state.clone();try{return e()}catch(e){if(e instanceof SyntaxError)return void(this.state=a);throw e}},a.tsTryParse=function(e){var a=this.state.clone(),n=e();return void 0!==n&&!1!==n?n:void(this.state=a)},a.nodeWithSamePosition=function(e,a){var n=this.startNodeAtNode(e);return n.type=a,n.end=e.end,n.loc.end=e.loc.end,e.leadingComments&&(n.leadingComments=e.leadingComments),e.trailingComments&&(n.trailingComments=e.trailingComments),e.innerComments&&(n.innerComments=e.innerComments),n},a.tsTryParseDeclare=function(e){switch(this.state.type){case x._function:return this.next(),this.parseFunction(e,!0);case x._class:return this.parseClass(e,!0,!1);case x._const:if(this.match(x._const)&&this.isLookaheadContextual("enum"))return this.expect(x._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(e,!0);case x._var:case x._let:return this.parseVarStatement(e,this.state.type);case x.name:var a=this.state.value;return"global"===a?this.tsParseAmbientExternalModuleDeclaration(e):this.tsParseDeclaration(e,a,!0)}},a.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)},a.tsParseExpressionStatement=function(e,a){switch(a.name){case"declare":var n=this.tsTryParseDeclare(e);if(n)return n.declare=!0,n;break;case"global":if(this.match(x.braceL)){var t=e;return t.global=!0,t.id=a,t.body=this.tsParseModuleBlock(),this.finishNode(t,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,a.name,!1)}},a.tsParseDeclaration=function(e,a,n){switch(a){case"abstract":if(n||this.match(x._class)){var t=e;return t.abstract=!0,n&&this.next(),this.parseClass(t,!0,!1)}break;case"enum":if(n||this.match(x.name))return n&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case"interface":if(n||this.match(x.name))return n&&this.next(),this.tsParseInterfaceDeclaration(e);break;case"module":if(n&&this.next(),this.match(x.string))return this.tsParseAmbientExternalModuleDeclaration(e);if(n||this.match(x.name))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"namespace":if(n||this.match(x.name))return n&&this.next(),this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(n||this.match(x.name))return n&&this.next(),this.tsParseTypeAliasDeclaration(e)}},a.tsTryParseGenericAsyncArrowFunction=function(a,n){var t=this,e=this.tsTryParseAndCatch(function(){var e=t.startNodeAt(a,n);return e.typeParameters=t.tsParseTypeParameters(),l.prototype.parseFunctionParams.call(t,e),e.returnType=t.tsTryParseTypeOrTypePredicateAnnotation(),t.expect(x.arrow),e});if(e)return e.id=null,e.generator=!1,e.expression=!0,e.async=!0,this.parseFunctionBody(e,!0),this.finishNode(e,"ArrowFunctionExpression")},a.tsParseTypeArguments=function(){var e=this,a=this.startNode();return a.params=this.tsInType(function(){return e.expectRelational("<"),e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e))}),this.expectRelational(">"),this.finishNode(a,"TSTypeParameterInstantiation")},a.tsIsDeclarationStart=function(){if(this.match(x.name))switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return!0}return!1},a.isExportDefaultSpecifier=function(){return!this.tsIsDeclarationStart()&&l.prototype.isExportDefaultSpecifier.call(this)},a.parseAssignableListItem=function(e,a){var n,t=!1;e&&(n=this.parseAccessModifier(),t=!!this.tsParseModifier(["readonly"]));var r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);var d=this.parseMaybeDefault(r.start,r.loc.start,r);if(n||t){var i=this.startNodeAtNode(d);if(a.length&&(i.decorators=a),n&&(i.accessibility=n),t&&(i.readonly=t),"Identifier"!==d.type&&"AssignmentPattern"!==d.type)throw this.raise(i.start,"A parameter property may not be declared using a binding pattern.");return i.parameter=d,this.finishNode(i,"TSParameterProperty")}return a.length&&(r.decorators=a),d},a.parseFunctionBodyAndFinish=function(e,a,n){!n&&this.match(x.colon)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(x.colon));var t="FunctionDeclaration"===a?"TSDeclareFunction":"ClassMethod"===a?"TSDeclareMethod":void 0;t&&!this.match(x.braceL)&&this.isLineTerminator()?this.finishNode(e,t):l.prototype.parseFunctionBodyAndFinish.call(this,e,a,n)},a.parseSubscript=function(e,a,n,t,r){if(!this.hasPrecedingLineBreak()&&this.match(x.bang)){this.state.exprAllowed=!1,this.next();var d=this.startNodeAt(a,n);return d.expression=e,this.finishNode(d,"TSNonNullExpression")}if(!t&&this.isRelational("<")){if(this.atPossibleAsync(e)){var i=this.tsTryParseGenericAsyncArrowFunction(a,n);if(i)return i}var o=this.startNodeAt(a,n);o.callee=e;var s=this.tsTryParseTypeArgumentsInExpression();if(s)return o.arguments=this.parseCallExpressionArguments(x.parenR,!1),o.typeParameters=s,this.finishCallExpression(o)}return l.prototype.parseSubscript.call(this,e,a,n,t,r)},a.parseNewArguments=function(e){var a=this;if(this.isRelational("<")){var n=this.tsTryParseAndCatch(function(){var e=a.tsParseTypeArguments();return a.match(x.parenL)||a.unexpected(),e});n&&(e.typeParameters=n)}l.prototype.parseNewArguments.call(this,e)},a.parseExprOp=function(e,a,n,t,r){if(se(x._in.binop)>t&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){var d=this.startNodeAt(a,n);return d.expression=e,d.typeAnnotation=this.tsNextThenParseType(),this.finishNode(d,"TSAsExpression"),this.parseExprOp(d,a,n,t,r)}return l.prototype.parseExprOp.call(this,e,a,n,t,r)},a.checkReservedWord=function(e,a,n,t){},a.checkDuplicateExports=function(){},a.parseImport=function(e){return this.match(x.name)&&this.lookahead().type===x.eq?this.tsParseImportEqualsDeclaration(e):l.prototype.parseImport.call(this,e)},a.parseExport=function(e){if(this.match(x._import))return this.expect(x._import),this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(x.eq)){var a=e;return a.expression=this.parseExpression(),this.semicolon(),this.finishNode(a,"TSExportAssignment")}if(this.eatContextual("as")){var n=e;return this.expectContextual("namespace"),n.id=this.parseIdentifier(),this.semicolon(),this.finishNode(n,"TSNamespaceExportDeclaration")}return l.prototype.parseExport.call(this,e)},a.isAbstractClass=function(){return this.isContextual("abstract")&&this.lookahead().type===x._class},a.parseExportDefaultExpression=function(){if(this.isAbstractClass()){var e=this.startNode();return this.next(),this.parseClass(e,!0,!0),e.abstract=!0,e}return l.prototype.parseExportDefaultExpression.call(this)},a.parseStatementContent=function(e,a){if(this.state.type===x._const){var n=this.lookahead();if(n.type===x.name&&"enum"===n.value){var t=this.startNode();return this.expect(x._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(t,!0)}}return l.prototype.parseStatementContent.call(this,e,a)},a.parseAccessModifier=function(){return this.tsParseModifier(["public","protected","private"])},a.parseClassMember=function(e,a,n){var t=this.parseAccessModifier();t&&(a.accessibility=t),l.prototype.parseClassMember.call(this,e,a,n)},a.parseClassMemberWithIsStatic=function(e,a,n,t){var r=a,d=a,i=a,o=!1,s=!1;switch(this.tsParseModifier(["abstract","readonly"])){case"readonly":s=!0,o=!!this.tsParseModifier(["abstract"]);break;case"abstract":o=!0,s=!!this.tsParseModifier(["readonly"])}if(o&&(r.abstract=!0),s&&(i.readonly=!0),!o&&!t&&!r.accessibility){var u=this.tsTryParseIndexSignature(a);if(u)return void e.body.push(u)}if(s)return r.static=t,this.parseClassPropertyName(d),this.parsePostMemberNameModifiers(r),void this.pushClassProperty(e,d);l.prototype.parseClassMemberWithIsStatic.call(this,e,a,n,t)},a.parsePostMemberNameModifiers=function(e){this.eat(x.question)&&(e.optional=!0)},a.parseExpressionStatement=function(e,a){return("Identifier"===a.type?this.tsParseExpressionStatement(e,a):void 0)||l.prototype.parseExpressionStatement.call(this,e,a)},a.shouldParseExportDeclaration=function(){return!!this.tsIsDeclarationStart()||l.prototype.shouldParseExportDeclaration.call(this)},a.parseConditional=function(a,e,n,t,r){if(!r||!this.match(x.question))return l.prototype.parseConditional.call(this,a,e,n,t,r);var d=this.state.clone();try{return l.prototype.parseConditional.call(this,a,e,n,t)}catch(e){if(!(e instanceof SyntaxError))throw e;return this.state=d,r.start=e.pos||this.state.start,a}},a.parseParenItem=function(e,a,n){if(e=l.prototype.parseParenItem.call(this,e,a,n),this.eat(x.question)&&(e.optional=!0),this.match(x.colon)){var t=this.startNodeAt(a,n);return t.expression=e,t.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(t,"TSTypeCastExpression")}return e},a.parseExportDeclaration=function(e){var a,n=this.eatContextual("declare");return this.match(x.name)&&(a=this.tsTryParseExportDeclaration()),a||(a=l.prototype.parseExportDeclaration.call(this,e)),a&&n&&(a.declare=!0),a},a.parseClassId=function(e,a,n){if(a&&!n||!this.isContextual("implements")){l.prototype.parseClassId.apply(this,arguments);var t=this.tsTryParseTypeParameters();t&&(e.typeParameters=t)}},a.parseClassProperty=function(e){!e.optional&&this.eat(x.bang)&&(e.definite=!0);var a=this.tsTryParseTypeAnnotation();return a&&(e.typeAnnotation=a),l.prototype.parseClassProperty.call(this,e)},a.pushClassMethod=function(e,a,n,t,r){var d=this.tsTryParseTypeParameters();d&&(a.typeParameters=d),l.prototype.pushClassMethod.call(this,e,a,n,t,r)},a.pushClassPrivateMethod=function(e,a,n,t){var r=this.tsTryParseTypeParameters();r&&(a.typeParameters=r),l.prototype.pushClassPrivateMethod.call(this,e,a,n,t)},a.parseClassSuper=function(e){l.prototype.parseClassSuper.call(this,e),e.superClass&&this.isRelational("<")&&(e.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual("implements")&&(e.implements=this.tsParseHeritageClause())},a.parseObjPropValue=function(e){var a;if(this.isRelational("<"))throw new Error("TODO");for(var n=arguments.length,t=new Array(1=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i,s=o.value;if((0,o.valid)(a))return s}}var u=new R(a),g=l(e,u);switch(u.configured()||u.forever(),u.deactivate(),u.mode()){case"forever":n=[{value:g,valid:function(){return!0}}],c.set(e,n);break;case"invalidate":n=[{value:g,valid:u.validator()}],c.set(e,n);break;case"valid":n?n.push({value:g,valid:u.validator()}):(n=[{value:g,valid:u.validator()}],c.set(e,n))}return g}}Object.defineProperty(a,"__esModule",{value:!0}),a.makeStrongCache=function(e){return d(new r,e)},a.makeWeakCache=function(e){return d(new t,e)};var R=function(){function e(e){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=e}var a=e.prototype;return a.simple=function(){return function(a){function e(e){if("boolean"!=typeof e)return a.using(e);e?a.forever():a.never()}return e.forever=function(){return a.forever()},e.never=function(){return a.never()},e.using=function(e){return a.using(function(){return e()})},e.invalidate=function(e){return a.invalidate(function(){return e()})},e}(this)},a.mode=function(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"},a.forever=function(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0},a.never=function(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0},a.using=function(e){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;var a=e(this._data);return this._pairs.push([a,e]),a},a.invalidate=function(e){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._invalidate=!0,this._configured=!0;var a=e(this._data);return this._pairs.push([a,e]),a},a.validator=function(){var e=this._pairs;return function(a){return e.every(function(e){return e[0]===(0,e[1])(a)})}},a.deactivate=function(){this._active=!1},a.configured=function(){return this._configured},e}()},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;a.default=function(e,a,n){this.key=e.name||n,this.manipulateOptions=e.manipulateOptions,this.post=e.post,this.pre=e.pre,this.visitor=e.visitor||{},this.parserOverride=e.parserOverride,this.generatorOverride=e.generatorOverride,this.options=a}},function(a,e,i){"use strict";(function(e){var n=e&&"win32"===e.platform,t=i(25),r=i(641),d=a.exports;d.diff=i(642),d.unique=i(644),d.braces=i(645),d.brackets=i(655),d.extglob=i(657),d.isExtglob=i(105),d.isGlob=i(106),d.typeOf=i(163),d.normalize=i(658),d.omit=i(660),d.parseGlob=i(664),d.cache=i(668),d.filename=function(e){var a=e.match(r());return a&&a[0]},d.isPath=function(n,t){return t=t||{},function(e){var a=d.unixify(e,t);return t.nocase?n.toLowerCase()===a.toLowerCase():n===a}},d.hasPath=function(a,n){return function(e){return-1!==d.unixify(a,n).indexOf(e)}},d.matchPath=function(e,a){return a&&a.contains?d.hasPath(e,a):d.isPath(e,a)},d.hasFilename=function(n){return function(e){var a=d.filename(e);return a&&n.test(a)}},d.arrayify=function(e){return Array.isArray(e)?e:[e]},d.unixify=function(e,a){return a&&!1===a.unixify?e:a&&!0===a.unixify||n||"\\"===t.sep?d.normalize(e,!1):a&&!0===a.unescape?e?e.toString().replace(/\\(\w)/g,"$1"):"":e},d.escapePath=function(e){return e.replace(/[\\.]/g,"\\$&")},d.unescapeGlob=function(e){return e.replace(/[\\"']/g,"")},d.escapeRe=function(e){return e.replace(/[-[\\$*+?.#^\s{}(|)\]]/g,"\\$&")},a.exports=d}).call(e,i(24))},function(e,a,n){var t=n(262),r=Object.prototype.toString;e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"==typeof e||e instanceof String)return"string";if("number"==typeof e||e instanceof Number)return"number";if("function"==typeof e||e instanceof Function)return"function";if(void 0!==Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var a=r.call(e);return"[object RegExp]"===a?"regexp":"[object Date]"===a?"date":"[object Arguments]"===a?"arguments":"[object Error]"===a?"error":t(e)?"buffer":"[object Set]"===a?"set":"[object WeakSet]"===a?"weakset":"[object Map]"===a?"map":"[object WeakMap]"===a?"weakmap":"[object Symbol]"===a?"symbol":"[object Int8Array]"===a?"int8array":"[object Uint8Array]"===a?"uint8array":"[object Uint8ClampedArray]"===a?"uint8clampedarray":"[object Int16Array]"===a?"int16array":"[object Uint16Array]"===a?"uint16array":"[object Int32Array]"===a?"int32array":"[object Uint32Array]"===a?"uint32array":"[object Float32Array]"===a?"float32array":"[object Float64Array]"===a?"float64array":"object"}},function(e,a,n){"use strict";var c=n(4),o=n(7);Object.defineProperty(a,"__esModule",{value:!0}),a.validate=p;t(n(161));var i=t(n(673)),l=n(264);function t(e){return e&&e.__esModule?e:{default:e}}var r={cwd:l.assertString,root:l.assertString,configFile:l.assertConfigFileSearch,filename:l.assertString,filenameRelative:l.assertString,code:l.assertBoolean,ast:l.assertBoolean,envName:l.assertString},d={babelrc:l.assertBoolean,babelrcRoots:l.assertBabelrcSearch},s={extends:l.assertString,ignore:l.assertIgnoreList,only:l.assertIgnoreList},u={inputSourceMap:l.assertInputSourceMap,presets:l.assertPluginList,plugins:l.assertPluginList,passPerPreset:l.assertBoolean,env:function(e,a){var n=(0,l.assertObject)(e,a);if(n)for(var t=o(n),r=0;r=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i,s=o[0],u=o[1],g=(0,l.assertObject)(""+s,u);if(!g)throw new Error("."+e+"["+s+"] must be an object");p("override",g)}return n},test:l.assertConfigApplicableTest,include:l.assertConfigApplicableTest,exclude:l.assertConfigApplicableTest,retainLines:l.assertBoolean,comments:l.assertBoolean,shouldPrintComment:l.assertFunction,compact:l.assertCompact,minified:l.assertBoolean,auxiliaryCommentBefore:l.assertString,auxiliaryCommentAfter:l.assertString,sourceType:l.assertSourceType,wrapPluginVisitorMethod:l.assertFunction,highlightCode:l.assertBoolean,sourceMaps:l.assertSourceMaps,sourceMap:l.assertSourceMaps,sourceFileName:l.assertString,sourceRoot:l.assertString,getModuleId:l.assertFunction,moduleRoot:l.assertString,moduleIds:l.assertBoolean,moduleId:l.assertString,parserOpts:l.assertObject,generatorOpts:l.assertObject};function p(n,t){return function(e){if(g(e,"sourceMap")&&g(e,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}(t),o(t).forEach(function(e){if("preset"===n&&s[e])throw new Error("."+e+" is not allowed in preset options");if("arguments"!==n&&r[e])throw new Error("."+e+" is only allowed in root programmatic options");if("arguments"!==n&&"configfile"!==n&&d[e]){if("babelrcfile"===n||"extendsfile"===n)throw new Error("."+e+' is not allowed in .babelrc or "extend"ed files, only in root programmatic options, or babel.config.js/config file options');throw new Error("."+e+" is only allowed in root programmatic options, or babel.config.js/config file options")}if("env"===n&&"env"===e)throw new Error("."+e+" is not allowed inside another env block");if("env"===n&&"overrides"===e)throw new Error("."+e+" is not allowed inside an env block");if("override"===n&&"overrides"===e)throw new Error("."+e+" is not allowed inside an overrides block");var a=u[e]||s[e]||d[e]||r[e];if(!a)throw function(e){{if(i.default[e]){var a=i.default[e],n=a.message,t=a.version,r=void 0===t?5:t;throw new ReferenceError("Using removed Babel "+r+" option: ."+e+" - "+n)}var d="Unknown option: ."+e+". Check out http://babeljs.io/docs/usage/options/ for more information about options.";throw new ReferenceError(d)}}(e);a(e,t[e])}),t}function g(e,a){return Object.prototype.hasOwnProperty.call(e,a)}},function(e,a,n){var t=n(23),r=n(73),d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,a){if(t(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||i.test(e)||!d.test(e)||null!=a&&e in Object(a)}},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e,a){e.assertVersion(7);var n=a.all;if("boolean"!=typeof n&&void 0!==n)throw new Error(".all must be a boolean, or undefined");return{manipulateOptions:function(e,a){a.plugins.some(function(e){return"typescript"===(Array.isArray(e)?e[0]:e)})||a.plugins.push(["flow",{all:n}])}}});a.default=r},function(e,a,n){"use strict";var r=n(3),d=n(2);function t(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){var a=e.node||e;if(o(a))return;t().addComment(a,"leading",i)};var i="#__PURE__",o=function(e){var a=e.leadingComments;return!!a&&a.some(function(e){return/[@#]__PURE__/.test(e.value)})}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.addDefault=function(e,a,n){return new r.default(e).addDefault(a,n)},a.addNamed=function(e,a,n,t){return new r.default(e).addNamed(a,n,t)},a.addNamespace=function(e,a,n){return new r.default(e).addNamespace(a,n)},a.addSideEffect=function(e,a,n){return new r.default(e).addSideEffect(a,n)},Object.defineProperty(a,"ImportInjector",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(a,"isModule",{enumerable:!0,get:function(){return t.default}});var r=d(n(723)),t=d(n(297));function d(e){return e&&e.__esModule?e:{default:e}}},function(e,a,n){"use strict";var t=n(9),i=n(4),r=n(3),d=n(2);function o(){var e=c(n(26));return o=function(){return e},e}function s(){var e=c(n(300));return s=function(){return e},e}function u(){var e=c(n(170));return u=function(){return e},e}function g(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return g=function(){return e},e}function c(e){return e&&e.__esModule?e:{default:e}}function l(e,a,n){e=g().cloneNode(e);var t=a?e:g().memberExpression(e,g().identifier("prototype"));return g().callExpression(n.addHelper("getPrototypeOf"),[t])}function p(e){if(e.node.computed){var a=g().VISITOR_KEYS[e.type],n=Array.isArray(a),t=0;for(a=n?a:i(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;"key"!==d&&e.skipKey(d)}}else e.skip()}Object.defineProperty(a,"__esModule",{value:!0}),a.default=a.environmentVisitor=void 0;var R={Function:function(e){e.isMethod()||e.isArrowFunctionExpression()||e.skip()},Method:function(e){p(e)},"ClassProperty|ClassPrivateProperty":function(e){e.node.static||p(e)}};a.environmentVisitor=R;var f=o().default.visitors.merge([R,{Super:function(e,a){var n=e.node,t=e.parentPath;t.isMemberExpression({object:n})&&a.handle(t)}}]),h={memoise:function(e,a){var n=e.scope,t=e.node,r=t.computed,d=t.property;if(r){var i=n.maybeGenerateMemoised(d);i&&this.memoiser.set(d,i,a)}},prop:function(e){var a=e.node,n=a.computed,t=a.property;return this.memoiser.has(t)?g().cloneNode(this.memoiser.get(t)):n?g().cloneNode(t):g().stringLiteral(t.name)},get:function(e){return g().callExpression(this.file.addHelper("get"),[l(this.getObjectRef(),this.isStatic,this.file),this.prop(e),g().thisExpression()])},set:function(e,a){return g().callExpression(this.file.addHelper("set"),[l(this.getObjectRef(),this.isStatic,this.file),this.prop(e),a,g().thisExpression(),g().booleanLiteral(e.isInStrictMode())])},call:function(e,a){return(0,u().default)(this.get(e),g().thisExpression(),a)}},y=t({},h,{prop:function(e){var a=e.node.property;return this.memoiser.has(a)?g().cloneNode(this.memoiser.get(a)):g().cloneNode(a)},get:function(e){var a,n=this.isStatic,t=this.superRef,r=e.node.computed,d=this.prop(e);return a=n?t?g().cloneNode(t):g().memberExpression(g().identifier("Function"),g().identifier("prototype")):t?g().memberExpression(g().cloneNode(t),g().identifier("prototype")):g().memberExpression(g().identifier("Object"),g().identifier("prototype")),g().memberExpression(a,d,r)},set:function(e,a){var n=e.node.computed,t=this.prop(e);return g().assignmentExpression("=",g().memberExpression(g().thisExpression(),t,n),a)}}),m=function(){function e(e){var a=e.methodPath;this.methodPath=a,this.isStatic=a.isClassMethod({static:!0})||a.isObjectMethod(),this.file=e.file,this.superRef=e.superRef,this.isLoose=e.isLoose,this.opts=e}var a=e.prototype;return a.getObjectRef=function(){return g().cloneNode(this.opts.objectRef||this.opts.getObjectRef())},a.replace=function(){var e=this.isLoose?y:h;(0,s().default)(this.methodPath,f,t({file:this.file,isStatic:this.isStatic,getObjectRef:this.getObjectRef.bind(this),superRef:this.superRef},e))},e}();a.default=m},function(e,a,n){"use strict";var r=n(3),d=n(2);function t(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a,n){return 1===n.length&&t().isSpreadElement(n[0])&&t().isIdentifier(n[0].argument,{name:"arguments"})?t().callExpression(t().memberExpression(e,t().identifier("apply")),[a,n[0].argument]):t().callExpression(t().memberExpression(e,t().identifier("call")),[a].concat(n))}},function(e,a,n){"use strict";var D=n(7),O=n(12),i=n(36),t=n(41),F=n(4),r=n(3),d=n(2);function o(){var e=t(["EXPORTS.NAME = VALUE"]);return o=function(){return e},e}function m(){var e=t(["\n if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;\n "]);return m=function(){return e},e}function v(){var e=t(['\n Object.keys(NAMESPACE).forEach(function(key) {\n if (key === "default" || key === "__esModule") return;\n VERIFY_NAME_LIST;\n\n Object.defineProperty(EXPORTS, key, {\n enumerable: true,\n get: function() {\n return NAMESPACE[key];\n },\n });\n });\n ']);return v=function(){return e},e}function b(){var e=t(['\n Object.keys(NAMESPACE).forEach(function(key) {\n if (key === "default" || key === "__esModule") return;\n VERIFY_NAME_LIST;\n\n EXPORTS[key] = NAMESPACE[key];\n });\n ']);return b=function(){return e},e}function R(){var e=t(['\n Object.defineProperty(EXPORTS, "__esModule", {\n value: true,\n });\n ']);return R=function(){return e},e}function f(){var e=t(["\n EXPORTS.__esModule = true;\n "]);return f=function(){return e},e}function s(){var e=t(['\n Object.defineProperty(EXPORTS, "EXPORT_NAME", {\n enumerable: true,\n get: function() {\n return NAMESPACE.IMPORT_NAME;\n },\n });\n ']);return s=function(){return e},e}function u(){var e=t(["EXPORTS.EXPORT_NAME = NAMESPACE.IMPORT_NAME;"]);return u=function(){return e},e}function E(){var e=t(["EXPORTS.NAME = NAMESPACE;"]);return E=function(){return e},e}function x(){var e=t(['\n Object.defineProperty(EXPORTS, "NAME", {\n enumerable: true,\n get: function() {\n return NAMESPACE;\n }\n });\n ']);return x=function(){return e},e}function A(){var e=t(["var NAME = SOURCE;"]);return A=function(){return e},e}function h(){var e=c(n(32));return h=function(){return e},e}function k(){var e=g(n(6));return k=function(){return e},e}function S(){var e=c(n(47));return S=function(){return e},e}function _(){var e=c(n(1124));return _=function(){return e},e}function y(){var e=n(168);return y=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.rewriteModuleStatementsAndPrepareHeader=function(e,a){var n=a.exportName,t=a.strict,r=a.allowTopLevelThis,d=a.strictMode,i=a.loose,o=a.noInterop,s=a.lazy,u=a.esNamespaceOnly;(0,h().default)((0,y().isModule)(e),"Cannot process module statements in a script"),e.node.sourceType="script";var g=(0,C.default)(e,n,{noInterop:o,loose:i,lazy:s,esNamespaceOnly:u});r||(0,T.default)(e);if((0,P.default)(e,g),!1!==d){var c=e.node.directives.some(function(e){return"use strict"===e.value.value});c||e.unshiftContainer("directives",k().directive(k().directiveLiteral("use strict")))}var l=[];(0,C.hasExports)(g)&&!t&&l.push(function(e,a){void 0===a&&(a=!1);return(a?S().default.statement(f()):S().default.statement(R()))({EXPORTS:e.exportName})}(g,i));var p=function(e,a){for(var n=O(null),t=a.local.values(),r=Array.isArray(t),d=0,t=r?t:F(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}for(var o=i,s=o.names,u=Array.isArray(s),g=0,s=u?s:F(s);;){var c;if(u){if(g>=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c;n[l]=!0}}for(var p=!1,R=a.source.values(),f=Array.isArray(R),h=0,R=f?R:F(R);;){var y;if(f){if(h>=R.length)break;y=R[h++]}else{if((h=R.next()).done)break;y=h.value}for(var m=y,v=m.reexports.keys(),b=Array.isArray(v),E=0,v=b?v:F(v);;){var x;if(b){if(E>=v.length)break;x=v[E++]}else{if((E=v.next()).done)break;x=E.value}var A=x;n[A]=!0}for(var S=m.reexportNamespace,_=Array.isArray(S),T=0,S=_?S:F(S);;){var P;if(_){if(T>=S.length)break;P=S[T++]}else{if((T=S.next()).done)break;P=T.value}var C=P;n[C]=!0}p=p||m.reexportAll}if(!p||0===D(n).length)return null;var w=e.scope.generateUidIdentifier("exportNames");return delete n.default,{name:w.name,statement:k().variableDeclaration("var",[k().variableDeclarator(w,k().valueToNode(n))])}}(e,g);p&&(g.exportNameListName=p.name,l.push(p.statement));return l.push.apply(l,function(a,n,e){void 0===e&&(e=!1);for(var t=[],r=[],d=n.local,i=Array.isArray(d),o=0,d=i?d:F(d);;){var s;if(i){if(o>=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s,g=u[0],c=u[1];"import"===c.kind||("hoisted"===c.kind?t.push(j(n,c.names,k().identifier(g))):r.push.apply(r,c.names))}for(var l=n.source.values(),p=Array.isArray(l),R=0,l=p?l:F(l);;){var f;if(p){if(R>=l.length)break;f=l[R++]}else{if((R=l.next()).done)break;f=R.value}var c=f;e||t.push.apply(t,w(n,c,e));for(var h=c.reexportNamespace,y=Array.isArray(h),m=0,h=y?h:F(h);;){var v;if(y){if(m>=h.length)break;v=h[m++]}else{if((m=h.next()).done)break;v=m.value}var b=v;r.push(b)}}return t.push.apply(t,(0,_().default)(r,100).map(function(e){return j(n,e,a.scope.buildUndefinedNode())})),t}(e,g,i)),{meta:g,headers:l}},a.ensureStatementsHoisted=function(e){e.forEach(function(e){e._blockHoist=3})},a.wrapInterop=function(e,a,n){if("none"===n)return null;var t;if("default"===n)t="interopRequireDefault";else{if("namespace"!==n)throw new Error("Unknown interop: "+n);t="interopRequireWildcard"}return k().callExpression(e.hub.file.addHelper(t),[a])},a.buildNamespaceInitStatements=function(e,a,n){void 0===n&&(n=!1);var t=[],r=k().identifier(a.name);a.lazy&&(r=k().callExpression(r,[]));for(var d=a.importsNamespace,i=Array.isArray(d),o=0,d=i?d:F(d);;){var s;if(i){if(o>=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s;u!==a.name&&t.push(S().default.statement(A())({NAME:u,SOURCE:k().cloneNode(r)}))}n&&t.push.apply(t,w(e,a,n));for(var g=a.reexportNamespace,c=Array.isArray(g),l=0,g=c?g:F(g);;){var p;if(c){if(l>=g.length)break;p=g[l++]}else{if((l=g.next()).done)break;p=l.value}var R=p;t.push((a.lazy?S().default.statement(x()):S().default.statement(E()))({EXPORTS:e.exportName,NAME:R,NAMESPACE:k().cloneNode(r)}))}if(a.reexportAll){var f=(h=e,y=k().cloneNode(r),(n?S().default.statement(b()):S().default.statement(v()))({NAMESPACE:y,EXPORTS:h.exportName,VERIFY_NAME_LIST:h.exportNameListName?S().default(m())({EXPORTS_LIST:h.exportNameListName}):null}));f.loc=a.reexportAll.loc,t.push(f)}var h,y;return t},Object.defineProperty(a,"isModule",{enumerable:!0,get:function(){return y().isModule}}),Object.defineProperty(a,"hasExports",{enumerable:!0,get:function(){return C.hasExports}}),Object.defineProperty(a,"isSideEffectImport",{enumerable:!0,get:function(){return C.isSideEffectImport}});var T=c(n(1126)),P=c(n(1127)),C=g(n(1128));function g(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}function c(e){return e&&e.__esModule?e:{default:e}}var w=function(t,e,a){var r=e.lazy?k().callExpression(k().identifier(e.name),[]):k().identifier(e.name),d=a?S().default.statement(u()):S().default(s());return i(e.reexports,function(e){var a=e[0],n=e[1];return d({EXPORTS:t.exportName,EXPORT_NAME:a,NAMESPACE:k().cloneNode(r),IMPORT_NAME:n})})};function j(n,e,a){return k().expressionStatement(e.reduce(function(e,a){return S().default.expression(o())({EXPORTS:n.exportName,NAME:a,VALUE:e})},a))}},function(e,a,n){"use strict";var r=n(3),d=n(2);function c(){var e,a=(e=n(143))&&e.__esModule?e:{default:e};return c=function(){return a},a}function l(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return l=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(s){var e={};return e.JSXNamespacedName=function(e){if(s.throwIfNamespace)throw e.buildCodeFrameError("Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning.")},e.JSXElement={exit:function(e,a){var n=function(e,a){if(!s.filter||s.filter(e.node,a)){var n=e.get("openingElement");n.parent.children=l().react.buildChildren(n.parent);var t,r=function e(a,n){if(l().isJSXIdentifier(a)){if("this"===a.name&&l().isReferenced(a,n))return l().thisExpression();if(!c().default.keyword.isIdentifierNameES6(a.name))return l().stringLiteral(a.name);a.type="Identifier"}else{if(l().isJSXMemberExpression(a))return l().memberExpression(e(a.object,a),e(a.property,a));if(l().isJSXNamespacedName(a))return l().stringLiteral(a.namespace.name+":"+a.name.name)}return a}(n.node.name,n.node),d=[];l().isIdentifier(r)?t=r.name:l().isLiteral(r)&&(t=r.value);var i={tagExpr:r,tagName:t,args:d};s.pre&&s.pre(i,a);var o=n.node.attributes;return o=o.length?function(e,a){var n=[],t=[],r=a.opts.useBuiltIns||!1;if("boolean"!=typeof r)throw new Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");for(;e.length;){var d=e.shift();l().isJSXSpreadAttribute(d)?(n=g(n,t),t.push(d.argument)):n.push(u(d))}if(g(n,t),1===t.length)e=t[0];else{l().isObjectExpression(t[0])||t.unshift(l().objectExpression([]));var i=r?l().memberExpression(l().identifier("Object"),l().identifier("assign")):a.addHelper("extends");e=l().callExpression(i,t)}return e}(o,a):l().nullLiteral(),d.push.apply(d,[o].concat(e.node.children)),s.post&&s.post(i,a),i.call||l().callExpression(i.callee,d)}}(e,a);n&&e.replaceWith(l().inherits(n,e.node))}},e.JSXFragment={exit:function(e,a){if(s.compat)throw e.buildCodeFrameError("Fragment tags are only supported in React 16 and up.");var n=function(e,a){if(!s.filter||s.filter(e.node,a)){var n=e.get("openingElement");n.parent.children=l().react.buildChildren(n.parent);var t=[],r={tagExpr:a.get("jsxFragIdentifier")(),tagName:null,args:t};return s.pre&&s.pre(r,a),t.push.apply(t,[l().nullLiteral()].concat(e.node.children)),s.post&&s.post(r,a),a.set("usedFragment",!0),r.call||l().callExpression(r.callee,t)}}(e,a);n&&e.replaceWith(l().inherits(n,e.node))}},e;function u(e){var a,n=(a=e.value||l().booleanLiteral(!0),l().isJSXExpressionContainer(a)?a.expression:a);return l().isStringLiteral(n)&&!l().isJSXExpressionContainer(e.value)&&(n.value=n.value.replace(/\n\s+/g," "),n.extra&&n.extra.raw&&delete n.extra.raw),l().isValidIdentifier(e.name.name)?e.name.type="Identifier":e.name=l().stringLiteral(l().isJSXNamespacedName(e.name)?e.name.namespace.name+":"+e.name.name.name:e.name.name),l().inherits(l().objectProperty(e.name,n),e)}function g(e,a){return e.length?(a.push(l().objectExpression(e)),[]):e}}},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function i(){var e=r(n(333));return i=function(){return e},e}function o(){var e=r(n(321));return o=function(){return e},e}function s(){var e=r(n(319));return s=function(){return e},e}function u(){var e=r(n(306));return u=function(){return e},e}function g(){var e=r(n(307));return g=function(){return e},e}function c(){var e=r(n(309));return c=function(){return e},e}function l(){var e=r(n(328));return l=function(){return e},e}function p(){var e=r(n(330));return p=function(){return e},e}function R(){var e=r(n(317));return R=function(){return e},e}function f(){var e=r(n(311));return f=function(){return e},e}function h(){var e=r(n(318));return h=function(){return e},e}function y(){var e=r(n(332));return y=function(){return e},e}function m(){var e=r(n(336));return m=function(){return e},e}function v(){var e=r(n(331));return v=function(){return e},e}function b(){var e=r(n(329));return b=function(){return e},e}function E(){var e=r(n(312));return E=function(){return e},e}function x(){var e=r(n(308));return x=function(){return e},e}function A(){var e=r(n(334));return A=function(){return e},e}function S(){var e=r(n(324));return S=function(){return e},e}function _(){var e=r(n(325));return _=function(){return e},e}function T(){var e=r(n(322));return T=function(){return e},e}function P(){var e=r(n(327));return P=function(){return e},e}function C(){var e=r(n(320));return C=function(){return e},e}function w(){var e=r(n(346));return w=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,t().declare)(function(e,a){e.assertVersion(7);var n=!1,t="commonjs",r=!1;if(void 0!==a&&(void 0!==a.loose&&(n=a.loose),void 0!==a.modules&&(t=a.modules),void 0!==a.spec&&(r=a.spec)),"boolean"!=typeof n)throw new Error("Preset es2015 'loose' option must be a boolean.");if("boolean"!=typeof r)throw new Error("Preset es2015 'spec' option must be a boolean.");if(!1!==t&&-1===["commonjs","cjs","amd","umd","systemjs"].indexOf(t))throw new Error("Preset es2015 'modules' option must be 'false' to indicate no modules\nor a module type which be be one of: 'commonjs' (default), 'amd', 'umd', 'systemjs'");var d={loose:n};return{plugins:[[i().default,{loose:n,spec:r}],o().default,s().default,[u().default,{spec:r}],g().default,[c().default,d],l().default,p().default,R().default,[f().default,d],[h().default,d],y().default,m().default,[v().default,d],[b().default,d],[E().default,d],x().default,A().default,C().default,("commonjs"===t||"cjs"===t)&&[S().default,d],"systemjs"===t&&[_().default,d],"amd"===t&&[T().default,d],"umd"===t&&[P().default,d],[w().default,{async:!1,asyncGenerators:!1}]].filter(Boolean)}});a.default=d},function(e,a,n){var i=n(33),o=n(42),s=n(357)(!1),u=n(112)("IE_PROTO");e.exports=function(e,a){var n,t=o(e),r=0,d=[];for(n in t)n!=u&&i(t,n)&&d.push(n);for(;a.length>r;)i(t,n=a[r++])&&(~s(d,n)||d.push(n));return d}},function(e,a,n){var t=n(111),r=Math.max,d=Math.min;e.exports=function(e,a){return(e=t(e))<0?r(e+a,0):d(e,a)}},function(e,a,n){e.exports=!n(21)&&!n(35)(function(){return 7!=Object.defineProperty(n(115)("div"),"a",{get:function(){return 7}}).a})},function(e,a,n){"use strict";var l=n(60),p=n(117),R=n(80),f=n(48),h=n(110),r=Object.assign;e.exports=!r||n(35)(function(){var e={},a={},n=Symbol(),t="abcdefghijklmnopqrst";return e[n]=7,t.split("").forEach(function(e){a[e]=e}),7!=r({},e)[n]||Object.keys(r({},a)).join("")!=t})?function(e,a){for(var n=f(e),t=arguments.length,r=1,d=p.f,i=R.f;r=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c;o[l]=this.addHelper(l)}var p=y().get(e,function(e){return o[e]},i,h(this.scope.getAllBindings())),R=p.nodes;return p.globals.forEach(function(e){a.path.scope.hasBinding(e,!0)&&a.path.scope.rename(e)}),R.forEach(function(e){e._compact=!0}),this.path.unshiftContainer("body",R),this.path.get("body").forEach(function(e){-1!==R.indexOf(e.node)&&e.isVariableDeclaration()&&a.scope.registerDeclaration(e)}),i},a.addTemplateObject=function(){throw new Error("This function has been moved into the template literal transform itself.")},a.buildCodeFrameError=function(e,a,n){void 0===n&&(n=SyntaxError);var t=e&&(e.loc||e._loc);if(a=this.opts.filename+": "+a,!t&&e){var r={loc:null};(0,s().default)(e,g,this.scope,r);var d="This is an error on an internal node. Probably an internal error.";(t=r.loc)&&(d+=" Location has been estimated."),a+=" ("+d+")"}if(t){var i=this.opts.highlightCode,o=void 0===i||i;a+="\n"+(0,u().codeFrameColumns)(this.code,{start:{line:t.start.line,column:t.start.column+1}},{highlightCode:o})}return new n(a)},t(e,[{key:"shebang",get:function(){var e=this.path.node.interpreter;return e?e.value:""},set:function(e){e?this.path.get("interpreter").replaceWith(m().interpreterDirective(e)):this.path.get("interpreter").remove()}}]),e}();a.default=c},function(e,a){e.exports=function(e,a){return{value:a,done:!!e}}},function(e,a,n){var i=n(19),o=n(20),s=n(60);e.exports=n(21)?Object.defineProperties:function(e,a){o(e);for(var n,t=s(a),r=t.length,d=0;d=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}s.remove()}var u=t,g=Array.isArray(u),c=0;for(u=g?u:A(u);;){var l;if(g){if(c>=u.length)break;l=u[c++]}else{if((c=u.next()).done)break;l=c.value}var p=l,R=_().cloneNode(E[p.node.name]);p.replaceWith(R)}n.stop()}})}}(t,d,a,n,e),{nodes:t.program.body,globals:d.globals}},dependencies:d.dependencies}}return i[e]}function s(e,a,n,t){return o(e).build(a,n,t)}var u=S(R.default).map(function(e){return e.replace(/^_/,"")}).filter(function(e){return"__esModule"!==e});a.list=u;var h=s;a.default=h},function(e,a,n){var d=n(18)("iterator"),i=!1;try{var t=[7][d]();t.return=function(){i=!0},Array.from(t,function(){throw 2})}catch(e){}e.exports=function(e,a){if(!a&&!i)return!1;var n=!1;try{var t=[7],r=t[d]();r.next=function(){return{done:n=!0}},t[d]=function(){return r},e(t)}catch(e){}return n}},function(e,a,n){"use strict";var r=n(3),d=n(2);function i(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return i=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.ForAwaitStatement=a.NumericLiteralTypeAnnotation=a.ExistentialTypeParam=a.SpreadProperty=a.RestProperty=a.Flow=a.Pure=a.Generated=a.User=a.Var=a.BlockScoped=a.Referenced=a.Scope=a.Expression=a.Statement=a.BindingIdentifier=a.ReferencedMemberExpression=a.ReferencedIdentifier=void 0;var t={types:["Identifier","JSXIdentifier"],checkPath:function(e,a){var n=e.node,t=e.parent;if(!i().isIdentifier(n,a)&&!i().isJSXMemberExpression(t,a)){if(!i().isJSXIdentifier(n,a))return!1;if(i().react.isCompatTag(n.name))return!1}return i().isReferenced(n,t)}};a.ReferencedIdentifier=t;var o={types:["MemberExpression"],checkPath:function(e){var a=e.node,n=e.parent;return i().isMemberExpression(a)&&i().isReferenced(a,n)}};a.ReferencedMemberExpression=o;var s={types:["Identifier"],checkPath:function(e){var a=e.node,n=e.parent;return i().isIdentifier(a)&&i().isBinding(a,n)}};a.BindingIdentifier=s;var u={types:["Statement"],checkPath:function(e){var a=e.node,n=e.parent;if(i().isStatement(a)){if(i().isVariableDeclaration(a)){if(i().isForXStatement(n,{left:a}))return!1;if(i().isForStatement(n,{init:a}))return!1}return!0}return!1}};a.Statement=u;var g={types:["Expression"],checkPath:function(e){return e.isIdentifier()?e.isReferencedIdentifier():i().isExpression(e.node)}};a.Expression=g;var c={types:["Scopable"],checkPath:function(e){return i().isScope(e.node,e.parent)}};a.Scope=c;var l={checkPath:function(e){return i().isReferenced(e.node,e.parent)}};a.Referenced=l;var p={checkPath:function(e){return i().isBlockScoped(e.node)}};a.BlockScoped=p;var R={types:["VariableDeclaration"],checkPath:function(e){return i().isVar(e.node)}};a.Var=R;a.User={checkPath:function(e){return e.node&&!!e.node.loc}};a.Generated={checkPath:function(e){return!e.isUser()}};a.Pure={checkPath:function(e,a){return e.scope.isPure(e.node,a)}};var f={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath:function(e){var a=e.node;return!!i().isFlow(a)||(i().isImportDeclaration(a)?"type"===a.importKind||"typeof"===a.importKind:i().isExportDeclaration(a)?"type"===a.exportKind:!!i().isImportSpecifier(a)&&("type"===a.importKind||"typeof"===a.importKind))}};a.Flow=f;a.RestProperty={types:["RestElement"],checkPath:function(e){return e.parentPath&&e.parentPath.isObjectPattern()}};a.SpreadProperty={types:["RestElement"],checkPath:function(e){return e.parentPath&&e.parentPath.isObjectExpression()}};a.ExistentialTypeParam={types:["ExistsTypeAnnotation"]};a.NumericLiteralTypeAnnotation={types:["NumberLiteralTypeAnnotation"]};a.ForAwaitStatement={types:["ForOfStatement"],checkPath:function(e){return!0===e.node.await}}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){var n=e.split(".");return function(e){return(0,r.default)(e,n,a)}};var t,r=(t=n(194))&&t.__esModule?t:{default:t}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a,n){if(!(0,g.isMemberExpression)(e))return!1;var t,r=Array.isArray(a)?a:a.split("."),d=[];for(t=e;(0,g.isMemberExpression)(t);t=t.object)d.push(t.property);if(d.push(t),d.lengthr.length)return!1;for(var i=0,o=d.length-1;i=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s,g=a[u];if(Array.isArray(g))for(var c=g,l=Array.isArray(c),p=0,c=l?c:h(c);;){var R;if(l){if(p>=c.length)break;R=c[p++]}else{if((p=c.next()).done)break;R=p.value}var f=R;e(f,n,t)}else e(g,n,t)}};var y=n(29)},function(e,a,n){"use strict";var p=n(4),R=n(93);Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){void 0===a&&(a={});for(var n=a.preserveComments?f:h,t=Array.isArray(n),r=0,n=t?n:p(n);;){var d;if(t){if(r>=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;null!=e[i]&&(e[i]=void 0)}for(var o in e)"_"===o[0]&&null!=e[o]&&(e[o]=void 0);for(var s=R(e),u=Array.isArray(s),g=0,s=u?s:p(s);;){var c;if(u){if(g>=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c;e[l]=null}};var t=n(44),f=["tokens","start","end","loc","raw","rawValue"],h=t.COMMENT_KEYS.concat(["comments"]).concat(f)},function(e,a,n){e.exports=n(506)},function(e,a,n){e.exports=n(508)},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){return(0,t.isVariableDeclaration)(e)&&("var"!==e.kind||e[r.BLOCK_SCOPED_SYMBOL])};var t=n(13),r=n(44)},function(e,a,n){"use strict";var t=n(7),F=n(12),r=n(11),d=n(189),k=n(4),i=n(3),o=n(2);function s(){var e=f(n(151));return s=function(){return e},e}function u(){var e=f(n(237));return u=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var g=f(n(536)),c=f(n(26));function l(){var e=f(n(537));return l=function(){return e},e}var y=f(n(239));function p(){var e=f(n(240));return p=function(){return e},e}function j(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=o&&i?i(e,n):{};t.get||t.set?o(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return j=function(){return e},e}var R=n(100);function f(e){return e&&e.__esModule?e:{default:e}}var M={For:function(e){var a=j().FOR_INIT_KEYS,n=Array.isArray(a),t=0;for(a=n?a:k(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r,i=e.get(d);if(i.isVar())(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerBinding("var",i)}},Declaration:function(e){e.isBlockScoped()||(e.isExportDeclaration()&&e.get("declaration").isDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e))},ReferencedIdentifier:function(e,a){a.references.push(e)},ForXStatement:function(e,a){var n=e.get("left");(n.isPattern()||n.isIdentifier())&&a.constantViolations.push(e)},ExportDeclaration:{exit:function(e){var a=e.node,n=e.scope,t=a.declaration;if(j().isClassDeclaration(t)||j().isFunctionDeclaration(t)){var r=t.id;if(!r)return;var d=n.getBinding(r.name);d&&d.reference(e)}else if(j().isVariableDeclaration(t)){var i=t.declarations,o=Array.isArray(i),s=0;for(i=o?i:k(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var g=u,c=j().getBindingIdentifiers(g);for(var l in c){var p=n.getBinding(l);p&&p.reference(e)}}}}},LabeledStatement:function(e){e.scope.getProgramParent().addGlobal(e.node),e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression:function(e,a){a.assignments.push(e)},UpdateExpression:function(e,a){a.constantViolations.push(e)},UnaryExpression:function(e,a){"delete"===e.node.operator&&a.constantViolations.push(e)},BlockScoped:function(e){var a=e.scope;a.path===e&&(a=a.parent),a.getBlockParent().registerDeclaration(e)},ClassDeclaration:function(e){var a=e.node.id;if(a){var n=a.name;e.scope.bindings[n]=e.scope.getBinding(n)}},Block:function(e){var a=e.get("body"),n=Array.isArray(a),t=0;for(a=n?a:k(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;d.isFunctionDeclaration()&&e.scope.getBlockParent().registerDeclaration(d)}}},h=0,m=function(){function n(e){var a=e.node,n=R.scope.get(a);if(n&&n.path===e)return n;R.scope.set(a,this),this.uid=h++,this.block=a,this.path=e,this.labels=new r}var e=n.prototype;return e.traverse=function(e,a,n){(0,c.default)(e,a,this,n,this.path)},e.generateDeclaredUidIdentifier=function(e){var a=this.generateUidIdentifier(e);return this.push({id:a}),j().cloneNode(a)},e.generateUidIdentifier=function(e){return j().identifier(this.generateUid(e))},e.generateUid=function(e){var a;void 0===e&&(e="temp"),e=j().toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");for(var n=0;a=this._generateUid(e,n),n++,this.hasLabel(a)||this.hasBinding(a)||this.hasGlobal(a)||this.hasReference(a););var t=this.getProgramParent();return t.references[a]=!0,t.uids[a]=!0,a},e._generateUid=function(e,a){var n=e;return 1=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}e(i,n)}}else a.declaration&&e(a.declaration,n);else if(j().isModuleSpecifier(a))e(a.local,n);else if(j().isMemberExpression(a))e(a.object,n),e(a.property,n);else if(j().isIdentifier(a))n.push(a.name);else if(j().isLiteral(a))n.push(a.value);else if(j().isCallExpression(a))e(a.callee,n);else if(j().isObjectExpression(a)||j().isObjectPattern(a)){var o=a.properties,s=Array.isArray(o),u=0;for(o=s?o:k(o);;){var g;if(s){if(u>=o.length)break;g=o[u++]}else{if((u=o.next()).done)break;g=u.value}var c=g;e(c.key||c.argument,n)}}else j().isPrivateName(a)?e(a.id,n):j().isThisExpression(a)?n.push("this"):j().isSuper(a)&&n.push("super")}(n,t);var r=t.join("$");return r=r.replace(/^_/,"")||a||"ref",this.generateUid(r.slice(0,20))},e.generateUidIdentifierBasedOnNode=function(e,a){return j().identifier(this.generateUidBasedOnNode(e,a))},e.isStatic=function(e){if(j().isThisExpression(e)||j().isSuper(e))return!0;if(j().isIdentifier(e)){var a=this.getBinding(e.name);return a?a.constant:this.hasBinding(e.name)}return!1},e.maybeGenerateMemoised=function(e,a){if(this.isStatic(e))return null;var n=this.generateUidIdentifierBasedOnNode(e);return a?n:(this.push({id:n}),j().cloneNode(n))},e.checkBlockScopedCollisions=function(e,a,n,t){if("param"!==a&&("local"!==e.kind&&!("hoisted"===a&&"let"===e.kind||"let"!==a&&"let"!==e.kind&&"const"!==e.kind&&"module"!==e.kind&&("param"!==e.kind||"let"!==a&&"const"!==a))))throw this.hub.file.buildCodeFrameError(t,'Duplicate declaration "'+n+'"',TypeError)},e.rename=function(e,a,n){var t=this.getBinding(e);if(t)return a=a||this.generateUidIdentifier(e).name,new g.default(t,e,a).rename(n)},e._renameFromMap=function(e,a,n,t){e[a]&&(e[n]=t,e[a]=null)},e.dump=function(){var e=(0,u().default)("-",60);console.log(e);var a=this;do{for(var n in console.log("#",a.block.type),a.bindings){var t=a.bindings[n];console.log(" -",n,{constant:t.constant,references:t.references,violations:t.constantViolations.length,kind:t.kind})}}while(a=a.parent);console.log(e)},e.toArray=function(e,a){var n,t=this.hub.file;if(j().isIdentifier(e)){var r=this.getBinding(e.name);if(r&&r.constant&&r.path.isGenericType("Array"))return e}if(j().isArrayExpression(e))return e;if(j().isIdentifier(e,{name:"arguments"}))return j().callExpression(j().memberExpression(j().memberExpression(j().memberExpression(j().identifier("Array"),j().identifier("prototype")),j().identifier("slice")),j().identifier("call")),[e]);var d=[e];return!0===a?n="toConsumableArray":a?(d.push(j().numericLiteral(a)),n="slicedToArray"):n="toArray",j().callExpression(t.addHelper(n),d)},e.hasLabel=function(e){return!!this.getLabel(e)},e.getLabel=function(e){return this.labels.get(e)},e.registerLabel=function(e){this.labels.set(e.node.label.name,e)},e.registerDeclaration=function(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){var a=e.get("declarations"),n=Array.isArray(a),t=0;for(a=n?a:k(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;this.registerBinding(e.node.kind,d)}}else if(e.isClassDeclaration())this.registerBinding("let",e);else if(e.isImportDeclaration()){var i=e.get("specifiers"),o=Array.isArray(i),s=0;for(i=o?i:k(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var g=u;this.registerBinding("module",g)}}else if(e.isExportDeclaration()){var c=e.get("declaration");(c.isClassDeclaration()||c.isFunctionDeclaration()||c.isVariableDeclaration())&&this.registerDeclaration(c)}else this.registerBinding("unknown",e)},e.buildUndefinedNode=function(){return this.hasBinding("undefined")?j().unaryExpression("void",j().numericLiteral(0),!0):j().identifier("undefined")},e.registerConstantViolation=function(e){var a=e.getBindingIdentifiers();for(var n in a){var t=this.getBinding(n);t&&t.reassign(e)}},e.registerBinding=function(e,a,n){if(void 0===n&&(n=a),!e)throw new ReferenceError("no `kind`");if(a.isVariableDeclaration()){var t=a.get("declarations"),r=Array.isArray(t),d=0;for(t=r?t:k(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;this.registerBinding(e,o)}}else{var s=this.getProgramParent(),u=a.getBindingIdentifiers(!0);for(var g in u){var c=u[g],l=Array.isArray(c),p=0;for(c=l?c:k(c);;){var R;if(l){if(p>=c.length)break;R=c[p++]}else{if((p=c.next()).done)break;R=p.value}var f=R,h=this.getOwnBinding(g);if(h){if(h.identifier===f)continue;this.checkBlockScopedCollisions(h,e,g,f)}s.references[g]=!0,h?this.registerConstantViolation(n):this.bindings[g]=new y.default({identifier:f,scope:this,path:n,kind:e})}}}},e.addGlobal=function(e){this.globals[e.name]=e},e.hasUid=function(e){var a=this;do{if(a.uids[e])return!0}while(a=a.parent);return!1},e.hasGlobal=function(e){var a=this;do{if(a.globals[e])return!0}while(a=a.parent);return!1},e.hasReference=function(e){var a=this;do{if(a.references[e])return!0}while(a=a.parent);return!1},e.isPure=function(e,a){if(j().isIdentifier(e)){var n=this.getBinding(e.name);return!!n&&(!a||n.constant)}if(j().isClass(e))return!(e.superClass&&!this.isPure(e.superClass,a))&&this.isPure(e.body,a);if(j().isClassBody(e)){var t=e.body,r=Array.isArray(t),d=0;for(t=r?t:k(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;if(!this.isPure(o,a))return!1}return!0}if(j().isBinary(e))return this.isPure(e.left,a)&&this.isPure(e.right,a);if(j().isArrayExpression(e)){var s=e.elements,u=Array.isArray(s),g=0;for(s=u?s:k(s);;){var c;if(u){if(g>=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c;if(!this.isPure(l,a))return!1}return!0}if(j().isObjectExpression(e)){var p=e.properties,R=Array.isArray(p),f=0;for(p=R?p:k(p);;){var h;if(R){if(f>=p.length)break;h=p[f++]}else{if((f=p.next()).done)break;h=f.value}var y=h;if(!this.isPure(y,a))return!1}return!0}if(j().isClassMethod(e))return!(e.computed&&!this.isPure(e.key,a))&&("get"!==e.kind&&"set"!==e.kind);if(j().isProperty(e))return!(e.computed&&!this.isPure(e.key,a))&&this.isPure(e.value,a);if(j().isUnaryExpression(e))return this.isPure(e.argument,a);if(j().isTaggedTemplateExpression(e))return j().matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,a);if(j().isTemplateLiteral(e)){var m=e.expressions,v=Array.isArray(m),b=0;for(m=v?m:k(m);;){var E;if(v){if(b>=m.length)break;E=m[b++]}else{if((b=m.next()).done)break;E=b.value}var x=E;if(!this.isPure(x,a))return!1}return!0}return j().isPureish(e)},e.setData=function(e,a){return this.data[e]=a},e.getData=function(e){var a=this;do{var n=a.data[e];if(null!=n)return n}while(a=a.parent)},e.removeData=function(e){var a=this;do{null!=a.data[e]&&(a.data[e]=null)}while(a=a.parent)},e.init=function(){this.references||this.crawl()},e.crawl=function(){var e=this.path;if(this.references=F(null),this.bindings=F(null),this.globals=F(null),this.uids=F(null),this.data=F(null),e.isLoop()){var a=j().FOR_INIT_KEYS,n=Array.isArray(a),t=0;for(a=n?a:k(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r,i=e.get(d);i.isBlockScoped()&&this.registerBinding(i.node.kind,i)}}if(e.isFunctionExpression()&&e.has("id")&&(e.get("id").node[j().NOT_LOCAL_BINDING]||this.registerBinding("local",e.get("id"),e)),e.isClassExpression()&&e.has("id")&&(e.get("id").node[j().NOT_LOCAL_BINDING]||this.registerBinding("local",e)),e.isFunction()){var o=e.get("params"),s=Array.isArray(o),u=0;for(o=s?o:k(o);;){var g;if(s){if(u>=o.length)break;g=o[u++]}else{if((u=o.next()).done)break;g=u.value}var c=g;this.registerBinding("param",c)}}if(e.isCatchClause()&&this.registerBinding("let",e),!this.getProgramParent().crawling){var l={references:[],constantViolations:[],assignments:[]};this.crawling=!0,e.traverse(M,l),this.crawling=!1;var p=l.assignments,R=Array.isArray(p),f=0;for(p=R?p:k(p);;){var h;if(R){if(f>=p.length)break;h=p[f++]}else{if((f=p.next()).done)break;h=f.value}var y=h,m=y.getBindingIdentifiers(),v=void 0;for(var b in m)y.scope.getBinding(b)||(v=v||y.scope.getProgramParent()).addGlobal(m[b]);y.scope.registerConstantViolation(y)}var E=l.references,x=Array.isArray(E),A=0;for(E=x?E:k(E);;){var S;if(x){if(A>=E.length)break;S=E[A++]}else{if((A=E.next()).done)break;S=A.value}var _=S,T=_.scope.getBinding(_.node.name);T?T.reference(_):_.scope.getProgramParent().addGlobal(_.node)}var P=l.constantViolations,C=Array.isArray(P),w=0;for(P=C?P:k(P);;){var D;if(C){if(w>=P.length)break;D=P[w++]}else{if((w=P.next()).done)break;D=w.value}var O=D;O.scope.registerConstantViolation(O)}}},e.push=function(e){var a=this.path;a.isBlockStatement()||a.isProgram()||(a=this.getBlockParent().path),a.isSwitchStatement()&&(a=(this.getFunctionParent()||this.getProgramParent()).path),(a.isLoop()||a.isCatchClause()||a.isFunction())&&(a.ensureBlock(),a=a.get("body"));var n=e.unique,t=e.kind||"var",r=null==e._blockHoist?2:e._blockHoist,d="declaration:"+t+":"+r,i=!n&&a.getData(d);if(!i){var o=j().variableDeclaration(t,[]);o._blockHoist=r,i=a.unshiftContainer("body",[o])[0],n||a.setData(d,i)}var s=j().variableDeclarator(e.id,e.init);i.node.declarations.push(s),this.registerBinding(t,i.get("declarations").pop())},e.getProgramParent=function(){var e=this;do{if(e.path.isProgram())return e}while(e=e.parent);throw new Error("Couldn't find a Program")},e.getFunctionParent=function(){var e=this;do{if(e.path.isFunctionParent())return e}while(e=e.parent);return null},e.getBlockParent=function(){var e=this;do{if(e.path.isBlockParent())return e}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")},e.getAllBindings=function(){for(var e=F(null),a=this;(0,l().default)(e,a.bindings),a=a.parent;);return e},e.getAllBindingsOfKind=function(){var e=F(null),a=arguments,n=Array.isArray(a),t=0;for(a=n?a:k(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r,i=this;do{for(var o in i.bindings){var s=i.bindings[o];s.kind===d&&(e[o]=s)}i=i.parent}while(i)}return e},e.bindingIdentifierEquals=function(e,a){return this.getBindingIdentifier(e)===a},e.getBinding=function(e){var a=this;do{var n=a.getOwnBinding(e);if(n)return n}while(a=a.parent)},e.getOwnBinding=function(e){return this.bindings[e]},e.getBindingIdentifier=function(e){var a=this.getBinding(e);return a&&a.identifier},e.getOwnBindingIdentifier=function(e){var a=this.bindings[e];return a&&a.identifier},e.hasOwnBinding=function(e){return!!this.getOwnBinding(e)},e.hasBinding=function(e,a){return!!e&&(!!this.hasOwnBinding(e)||(!!this.parentHasBinding(e,a)||(!!this.hasUid(e)||(!(a||!(0,s().default)(n.globals,e))||!(a||!(0,s().default)(n.contextVariables,e))))))},e.parentHasBinding=function(e,a){return this.parent&&this.parent.hasBinding(e,a)},e.moveBindingTo=function(e,a){var n=this.getBinding(e);n&&(n.scope.removeOwnBinding(e),(n.scope=a).bindings[e]=n)},e.removeOwnBinding=function(e){delete this.bindings[e]},e.removeBinding=function(e){var a=this.getBinding(e);a&&a.scope.removeOwnBinding(e);for(var n=this;n.uids[e]&&(n.uids[e]=!1),n=n.parent;);},d(n,[{key:"parent",get:function(){var e=this.path.findParent(function(e){return e.isScope()});return e&&e.scope}},{key:"parentBlock",get:function(){return this.path.parent}},{key:"hub",get:function(){return this.path.hub}}]),n}();(a.default=m).globals=t(p().default.builtin),m.contextVariables=["arguments","undefined","Infinity","NaN"]},function(e,a,n){var t=n(533),r=n(56);e.exports=function(e){return null==e?[]:t(e,r(e))}},function(e,a,n){var t=n(534),r=n(74),d=n(96),i=n(238);e.exports=function(e,a,n){return a=(n?r(e,a,n):void 0===a)?1:d(a),t(i(e),a)}},function(e,a,n){var t=n(535);e.exports=function(e){return null==e?"":t(e)}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var t=function(){function e(e){var a=e.identifier,n=e.scope,t=e.path,r=e.kind;this.identifier=a,this.scope=n,this.path=t,this.kind=r,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.clearValue()}var a=e.prototype;return a.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},a.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},a.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},a.reassign=function(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)},a.reference=function(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},a.dereference=function(){this.references--,this.referenced=!!this.references},e}();a.default=t},function(e,a,n){"use strict";e.exports=n(544)},function(e,a,n){"use strict";var i=n(82),o=n(49).getWeak,r=n(20),s=n(15),u=n(83),g=n(52),t=n(124),c=n(33),l=n(53),d=t(5),p=t(6),R=0,f=function(e){return e._l||(e._l=new h)},h=function(){this.a=[]},y=function(e,a){return d(e.a,function(e){return e[0]===a})};h.prototype={get:function(e){var a=y(this,e);if(a)return a[1]},has:function(e){return!!y(this,e)},set:function(e,a){var n=y(this,e);n?n[1]=a:this.a.push([e,a])},delete:function(a){var e=p(this.a,function(e){return e[0]===a});return~e&&this.a.splice(e,1),!!~e}},e.exports={getConstructor:function(e,n,t,r){var d=e(function(e,a){u(e,d,n,"_i"),e._t=n,e._i=R++,e._l=void 0,null!=a&&g(a,t,e[r],e)});return i(d.prototype,{delete:function(e){if(!s(e))return!1;var a=o(e);return!0===a?f(l(this,n)).delete(e):a&&c(a,this._i)&&delete a[this._i]},has:function(e){if(!s(e))return!1;var a=o(e);return!0===a?f(l(this,n)).has(e):a&&c(a,this._i)}}),d},def:function(e,a,n){var t=o(r(a),!0);return!0===t?f(e).set(a,n):t[e._i]=n,e},ufstore:f}},function(e,a,n){a.SourceMapGenerator=n(243).SourceMapGenerator,a.SourceMapConsumer=n(555).SourceMapConsumer,a.SourceNode=n(558).SourceNode},function(e,a,n){var r=n(17),t=n(7),d=n(12),R=n(244),f=n(75),g=n(245).ArraySet,i=n(554).MappingList;function o(e){e||(e={}),this._file=f.getArg(e,"file",null),this._sourceRoot=f.getArg(e,"sourceRoot",null),this._skipValidation=f.getArg(e,"skipValidation",!1),this._sources=new g,this._names=new g,this._mappings=new i,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(n){var t=n.sourceRoot,r=new o({file:n.file,sourceRoot:t});return n.eachMapping(function(e){var a={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(a.source=e.source,null!=t&&(a.source=f.relative(t,a.source)),a.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(a.name=e.name)),r.addMapping(a)}),n.sources.forEach(function(e){var a=n.sourceContentFor(e);null!=a&&r.setSourceContent(e,a)}),r},o.prototype.addMapping=function(e){var a=f.getArg(e,"generated"),n=f.getArg(e,"original",null),t=f.getArg(e,"source",null),r=f.getArg(e,"name",null);this._skipValidation||this._validateMapping(a,n,t,r),null!=t&&(t=String(t),this._sources.has(t)||this._sources.add(t)),null!=r&&(r=String(r),this._names.has(r)||this._names.add(r)),this._mappings.add({generatedLine:a.line,generatedColumn:a.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:t,name:r})},o.prototype.setSourceContent=function(e,a){var n=e;null!=this._sourceRoot&&(n=f.relative(this._sourceRoot,n)),null!=a?(this._sourcesContents||(this._sourcesContents=d(null)),this._sourcesContents[f.toSetString(n)]=a):this._sourcesContents&&(delete this._sourcesContents[f.toSetString(n)],0===t(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(r,e,d){var i=e;if(null==e){if(null==r.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');i=r.file}var o=this._sourceRoot;null!=o&&(i=f.relative(o,i));var s=new g,u=new g;this._mappings.unsortedForEach(function(e){if(e.source===i&&null!=e.originalLine){var a=r.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=a.source&&(e.source=a.source,null!=d&&(e.source=f.join(d,e.source)),null!=o&&(e.source=f.relative(o,e.source)),e.originalLine=a.line,e.originalColumn=a.column,null!=a.name&&(e.name=a.name))}var n=e.source;null==n||s.has(n)||s.add(n);var t=e.name;null==t||u.has(t)||u.add(t)},this),this._sources=s,this._names=u,r.sources.forEach(function(e){var a=r.sourceContentFor(e);null!=a&&(null!=d&&(e=f.join(d,e)),null!=o&&(e=f.relative(o,e)),this.setSourceContent(e,a))},this)},o.prototype._validateMapping=function(e,a,n,t){if(a&&"number"!=typeof a.line&&"number"!=typeof a.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&0>>=5)&&(a|=32),t+=g.encode(a),0>1,1==(1&d)?-i:i),n.rest=a}},function(e,a,n){var t=n(154),r=n(12),d=n(11),i=n(75),o=Object.prototype.hasOwnProperty,s=void 0!==d;function u(){this._array=[],this._set=s?new d:r(null)}u.fromArray=function(e,a){for(var n=new u,t=0,r=e.length;t=o.length)break;g=o[u++]}else{if((u=o.next()).done)break;g=u.value}n(g,e[d])}}else n(d,e[d])}return a}var s=o(i(n(568))),u=o(t.nodes),g=o(t.list);function R(e,a,n,t){var r=e[a.type];return r?r(a,n,t):null}function f(e,a,n){if(!e)return 0;p().isExpressionStatement(e)&&(e=e.expression);var t=R(u,e,a);if(!t){var r=R(g,e,a);if(r)for(var d=0;d=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function f(e,a){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var t=!1;;)switch(a){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return N(e).length;default:if(t)return B(e).length;a=(""+a).toLowerCase(),t=!0}}function h(e,a,n){var t=e[a];e[a]=e[n],e[n]=t}function y(e,a,n,t,r){if(0===e.length)return-1;if("string"==typeof n?(t=n,n=0):2147483647=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof a&&(a=c.from(a,t)),c.isBuffer(a))return 0===a.length?-1:m(e,a,n,t,r);if("number"==typeof a)return a&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,a,n):Uint8Array.prototype.lastIndexOf.call(e,a,n):m(e,[a],n,t,r);throw new TypeError("val must be string, number or Buffer")}function m(e,a,n,t,r){var d,i=1,o=e.length,s=a.length;if(void 0!==t&&("ucs2"===(t=String(t).toLowerCase())||"ucs-2"===t||"utf16le"===t||"utf-16le"===t)){if(e.length<2||a.length<2)return-1;o/=i=2,s/=2,n/=2}function u(e,a){return 1===i?e[a]:e.readUInt16BE(a*i)}if(r){var g=-1;for(d=n;d>>10&1023|55296),g=56320|1023&g),t.push(g),r+=c}return function(e){var a=e.length;if(a<=A)return String.fromCharCode.apply(String,e);var n="",t=0;for(;tthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(a>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,a,n);case"utf8":case"utf-8":return x(this,a,n);case"ascii":return S(this,a,n);case"latin1":case"binary":return _(this,a,n);case"base64":return E(this,a,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,a,n);default:if(t)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),t=!0}}.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",a=U.INSPECT_MAX_BYTES;return 0a&&(e+=" ... ")),""},c.prototype.compare=function(e,a,n,t,r){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===a&&(a=0),void 0===n&&(n=e?e.length:0),void 0===t&&(t=0),void 0===r&&(r=this.length),a<0||n>e.length||t<0||r>this.length)throw new RangeError("out of range index");if(r<=t&&n<=a)return 0;if(r<=t)return-1;if(n<=a)return 1;if(this===e)return 0;for(var d=(r>>>=0)-(t>>>=0),i=(n>>>=0)-(a>>>=0),o=Math.min(d,i),s=this.slice(t,r),u=e.slice(a,n),g=0;gthis.length)throw new RangeError("Attempt to write outside buffer bounds");t||(t="utf8");for(var d,i,o,s,u,g,c,l,p,R=!1;;)switch(t){case"hex":return v(this,e,a,n);case"utf8":case"utf-8":return l=a,p=n,L(B(e,(c=this).length-l),c,l,p);case"ascii":return b(this,e,a,n);case"latin1":case"binary":return b(this,e,a,n);case"base64":return s=this,u=a,g=n,L(N(e),s,u,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i=a,o=n,L(function(e,a){for(var n,t,r,d=[],i=0;i>8,r=n%256,d.push(r),d.push(t);return d}(e,(d=this).length-i),d,i,o);default:if(R)throw new TypeError("Unknown encoding: "+t);t=(""+t).toLowerCase(),R=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function S(e,a,n){var t="";n=Math.min(e.length,n);for(var r=a;re.length)throw new RangeError("Index out of range")}function D(e,a,n,t){a<0&&(a=65535+a+1);for(var r=0,d=Math.min(e.length-n,2);r>>8*(t?r:1-r)}function O(e,a,n,t){a<0&&(a=4294967295+a+1);for(var r=0,d=Math.min(e.length-n,4);r>>8*(t?r:3-r)&255}function F(e,a,n,t,r,d){if(n+t>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function k(e,a,n,t,r){return r||F(e,0,n,4),d.write(e,a,n,t,23,4),n+4}function j(e,a,n,t,r){return r||F(e,0,n,8),d.write(e,a,n,t,52,8),n+8}c.prototype.slice=function(e,a){var n,t=this.length;if((e=~~e)<0?(e+=t)<0&&(e=0):t>>8):D(this,e,a,!0),a+2},c.prototype.writeUInt16BE=function(e,a,n){return e=+e,a|=0,n||w(this,e,a,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):D(this,e,a,!1),a+2},c.prototype.writeUInt32LE=function(e,a,n){return e=+e,a|=0,n||w(this,e,a,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[a+3]=e>>>24,this[a+2]=e>>>16,this[a+1]=e>>>8,this[a]=255&e):O(this,e,a,!0),a+4},c.prototype.writeUInt32BE=function(e,a,n){return e=+e,a|=0,n||w(this,e,a,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):O(this,e,a,!1),a+4},c.prototype.writeIntLE=function(e,a,n,t){if(e=+e,a|=0,!t){var r=Math.pow(2,8*n-1);w(this,e,a,n,r-1,-r)}var d=0,i=1,o=0;for(this[a]=255&e;++d>0)-o&255;return a+n},c.prototype.writeIntBE=function(e,a,n,t){if(e=+e,a|=0,!t){var r=Math.pow(2,8*n-1);w(this,e,a,n,r-1,-r)}var d=n-1,i=1,o=0;for(this[a+d]=255&e;0<=--d&&(i*=256);)e<0&&0===o&&0!==this[a+d+1]&&(o=1),this[a+d]=(e/i>>0)-o&255;return a+n},c.prototype.writeInt8=function(e,a,n){return e=+e,a|=0,n||w(this,e,a,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[a]=255&e,a+1},c.prototype.writeInt16LE=function(e,a,n){return e=+e,a|=0,n||w(this,e,a,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8):D(this,e,a,!0),a+2},c.prototype.writeInt16BE=function(e,a,n){return e=+e,a|=0,n||w(this,e,a,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[a]=e>>>8,this[a+1]=255&e):D(this,e,a,!1),a+2},c.prototype.writeInt32LE=function(e,a,n){return e=+e,a|=0,n||w(this,e,a,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[a]=255&e,this[a+1]=e>>>8,this[a+2]=e>>>16,this[a+3]=e>>>24):O(this,e,a,!0),a+4},c.prototype.writeInt32BE=function(e,a,n){return e=+e,a|=0,n||w(this,e,a,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e):O(this,e,a,!1),a+4},c.prototype.writeFloatLE=function(e,a,n){return k(this,e,a,!0,n)},c.prototype.writeFloatBE=function(e,a,n){return k(this,e,a,!1,n)},c.prototype.writeDoubleLE=function(e,a,n){return j(this,e,a,!0,n)},c.prototype.writeDoubleBE=function(e,a,n){return j(this,e,a,!1,n)},c.prototype.copy=function(e,a,n,t){if(n||(n=0),t||0===t||(t=this.length),a>=e.length&&(a=e.length),a||(a=0),0=this.length)throw new RangeError("sourceStart out of bounds");if(t<0)throw new RangeError("sourceEnd out of bounds");t>this.length&&(t=this.length),e.length-a>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(d=a;d>6|192,63&n|128)}else if(n<65536){if((a-=3)<0)break;d.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((a-=4)<0)break;d.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return d}function N(e){return r.toByteArray(function(e){var a;if((e=(a=e,a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")).replace(M,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function L(e,a,n,t){for(var r=0;r=a.length||r>=e.length);++r)a[r+n]=e[r];return r}}).call(U,V(31))},function(e,a){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,a,n){var u=n(605),g={};for(var t in u)u.hasOwnProperty(t)&&(g[u[t]]=t);var i=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in i)if(i.hasOwnProperty(r)){if(!("channels"in i[r]))throw new Error("missing channels property: "+r);if(!("labels"in i[r]))throw new Error("missing channel labels property: "+r);if(i[r].labels.length!==i[r].channels)throw new Error("channel and label counts mismatch: "+r);var d=i[r].channels,o=i[r].labels;delete i[r].channels,delete i[r].labels,Object.defineProperty(i[r],"channels",{value:d}),Object.defineProperty(i[r],"labels",{value:o})}i.rgb.hsl=function(e){var a,n,t=e[0]/255,r=e[1]/255,d=e[2]/255,i=Math.min(t,r,d),o=Math.max(t,r,d),s=o-i;return o===i?a=0:t===o?a=(r-d)/s:r===o?a=2+(d-t)/s:d===o&&(a=4+(t-r)/s),(a=Math.min(60*a,360))<0&&(a+=360),n=(i+o)/2,[a,100*(o===i?0:n<=.5?s/(o+i):s/(2-o-i)),100*n]},i.rgb.hsv=function(e){var a,n,t=e[0],r=e[1],d=e[2],i=Math.min(t,r,d),o=Math.max(t,r,d),s=o-i;return n=0===o?0:s/o*1e3/10,o===i?a=0:t===o?a=(r-d)/s:r===o?a=2+(d-t)/s:d===o&&(a=4+(t-r)/s),(a=Math.min(60*a,360))<0&&(a+=360),[a,n,o/255*1e3/10]},i.rgb.hwb=function(e){var a=e[0],n=e[1],t=e[2];return[i.rgb.hsl(e)[0],100*(1/255*Math.min(a,Math.min(n,t))),100*(t=1-1/255*Math.max(a,Math.max(n,t)))]},i.rgb.cmyk=function(e){var a,n=e[0]/255,t=e[1]/255,r=e[2]/255;return[100*((1-n-(a=Math.min(1-n,1-t,1-r)))/(1-a)||0),100*((1-t-a)/(1-a)||0),100*((1-r-a)/(1-a)||0),100*a]},i.rgb.keyword=function(e){var a=g[e];if(a)return a;var n,t,r,d=1/0;for(var i in u)if(u.hasOwnProperty(i)){var o=u[i],s=(t=e,r=o,Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2)+Math.pow(t[2]-r[2],2));s>1&1)*n*255,(a>>2&1)*n*255]},i.ansi256.rgb=function(e){if(232<=e){var a=10*(e-232)+8;return[a,a,a]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(e){var a=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(a.length)+a},i.hex.rgb=function(e){var a=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];var n=a[0];3===a[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var t=parseInt(n,16);return[t>>16&255,t>>8&255,255&t]},i.rgb.hcg=function(e){var a,n=e[0]/255,t=e[1]/255,r=e[2]/255,d=Math.max(Math.max(n,t),r),i=Math.min(Math.min(n,t),r),o=d-i;return a=o<=0?0:d===n?(t-r)/o%6:d===t?2+(r-n)/o:4+(n-t)/o+4,a/=6,[360*(a%=1),100*o,100*(o<1?i/(1-o):0)]},i.hsl.hcg=function(e){var a=e[1]/100,n=e[2]/100,t=1,r=0;return(t=n<.5?2*a*n:2*a*(1-n))<1&&(r=(n-.5*t)/(1-t)),[e[0],100*t,100*r]},i.hsv.hcg=function(e){var a=e[1]/100,n=e[2]/100,t=a*n,r=0;return t<1&&(r=(n-t)/(1-t)),[e[0],100*t,100*r]},i.hcg.rgb=function(e){var a=e[0]/360,n=e[1]/100,t=e[2]/100;if(0===n)return[255*t,255*t,255*t];var r,d=[0,0,0],i=a%1*6,o=i%1,s=1-o;switch(Math.floor(i)){case 0:d[0]=1,d[1]=o,d[2]=0;break;case 1:d[0]=s,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=o;break;case 3:d[0]=0,d[1]=s,d[2]=1;break;case 4:d[0]=o,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=s}return r=(1-n)*t,[255*(n*d[0]+r),255*(n*d[1]+r),255*(n*d[2]+r)]},i.hcg.hsv=function(e){var a=e[1]/100,n=a+e[2]/100*(1-a),t=0;return 0n;)a.push(arguments[n++]);return y[++h]=function(){o("function"==typeof e?e:Function(e),a)},t(h),h},p=function(e){delete y[e]},"process"==n(61)(c)?t=function(e){c.nextTick(i(v,e,1))}:f&&f.now?t=function(e){f.now(i(v,e,1))}:R?(d=(r=new R).port2,r.port1.onmessage=b,t=i(d.postMessage,d,1)):g.addEventListener&&"function"==typeof postMessage&&!g.importScripts?(t=function(e){g.postMessage(e+"","*")},g.addEventListener("message",b,!1)):t=m in u("script")?function(e){s.appendChild(u("script"))[m]=function(){s.removeChild(this),v.call(e)}}:function(e){setTimeout(i(v,e,1),0)}),e.exports={set:l,clear:p}},function(e,a){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,a,n){var t=n(20),r=n(15),d=n(157);e.exports=function(e,a){if(t(e),r(a)&&a.constructor===e)return a;var n=d.f(e);return(0,n.resolve)(a),n.promise}},function(e,a,n){"use strict";var g=n(9),c=n(16),r=n(3),d=n(2);function l(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return l=function(){return e},e}function p(){var e=n(156);return p=function(){return e},e}function R(){var e=n(102);return R=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a,n){var t=function(a,e){e=g({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},e);try{return(0,p().parse)(a,e)}catch(e){var n=e.loc;throw n&&(e.message+="\n"+(0,R().codeFrameColumns)(a,{start:n}),e.code="BABEL_TEMPLATE_PARSE_ERROR"),e}}(a,n.parser),r=n.placeholderWhitelist,d=n.placeholderPattern,i=void 0===d?f:d,o=n.preserveComments;l().removePropertiesDeep(t,{preserveComments:o}),e.validate(t);var s=[],u=new c;return l().traverse(t,h,{placeholders:s,placeholderNames:u,placeholderWhitelist:r,placeholderPattern:i}),{ast:t,placeholders:s,placeholderNames:u}};var f=/^[_$A-Z0-9]+$/;function h(e,a,n){var t;if(l().isIdentifier(e)||l().isJSXIdentifier(e))t=e.name;else{if(!l().isStringLiteral(e))return;t=e.value}if(n.placeholderPattern&&n.placeholderPattern.test(t)||n.placeholderWhitelist&&n.placeholderWhitelist.has(t)){var r,d=(a=a.slice())[a.length-1],i=d.node,o=d.key;l().isStringLiteral(e)?r="string":l().isNewExpression(i)&&"arguments"===o||l().isCallExpression(i)&&"arguments"===o||l().isFunction(i)&&"params"===o?r="param":l().isExpressionStatement(i)?(r="statement",a=a.slice(0,-1)):r="other",n.placeholders.push({name:t,type:r,resolve:function(e){return function(e,a){for(var n=e,t=0;t=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;if("function"==typeof i.value){var o=a.get(i.value);if(o||(o=new s,a.set(i.value,o)),o.has(i.name))throw new Error(["Duplicate plugin/preset detected.","If you'd like to use two separate instances of a plugin,","they need separate names, e.g.",""," plugins: ["," ['some-plugin', {}],"," ['some-plugin', {}, 'some unique name'],"," ]"].join("\n"));o.add(i.name)}}}(a),a}function p(e,a,n){var t,r,d=n.type,i=n.alias,o=n.ownPass,s=(0,y.getItemDescriptor)(e);if(s)return s;var u=e;if(Array.isArray(u))if(3===u.length){var g=u;u=g[0],r=g[1],t=g[2]}else{var c=u;u=c[0],r=c[1]}var l=void 0,p=null;if("string"==typeof u){if("string"!=typeof d)throw new Error("To resolve a string-based item, the type of item must be given");var R=u,f=("plugin"===d?h.loadPlugin:h.loadPreset)(u,a);p=f.filepath,u=f.value,l={request:R,resolved:p}}if(!u)throw new Error("Unexpected falsy value: "+String(u));if("object"==typeof u&&u.__esModule){if(!u.default)throw new Error("Must export a default export when using ES6 modules.");u=u.default}if("object"!=typeof u&&"function"!=typeof u)throw new Error("Unsupported format: "+typeof u+". Expected an object or a function.");if(null!==p&&"object"==typeof u&&u)throw new Error("Plugin/Preset files are not allowed to export objects, only functions. In "+p);return{name:t,alias:p||i,value:u,options:r,dirname:a,ownPass:o,file:l}}},function(e,a,n){"use strict";var g=n(7);function c(e,a){for(var n=g(a),t=0;t=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;if("function"==typeof o.value){var s=o.value,u=a.get(s);u||(u=new l,a.set(s,u));var g=u.get(o.name);g||(g={value:null},n.push(g),o.ownPass||u.set(o.name,g)),!1===o.options?g.value=null:g.value=o}else n.push({value:o})}return n.reduce(function(e,a){return a.value&&e.push(a.value),e},[])}function U(e,a,n){var t=e.options;return(void 0===t.test||V(n,t.test,a))&&(void 0===t.include||V(n,t.include,a))&&(void 0===t.exclude||!V(n,t.exclude,a))}function V(e,a,n){if("string"!=typeof e.filename)throw new Error("Configuration contains explicit test/include/exclude checks, but no filename was passed to Babel");return G(e,Array.isArray(a)?a:[a],n,!1)}function W(e,a,n,t){if(a){if("string"!=typeof e.filename)throw new Error("Configuration contains ignore checks, but no filename was passed to Babel");if(G(e,a,t))return u("Ignored %o because it matched one of %O from %o",e.filename,a,t),!0}if(n){if("string"!=typeof e.filename)throw new Error("Configuration contains ignore checks, but no filename was passed to Babel");if(!G(e,n,t))return u("Ignored %o because it failed to match one of %O from %o",e.filename,n,t),!0}return!1}function G(a,e,n,t){void 0===t&&(t=!0);var r=[],d=[],i=[];e.forEach(function(e){"string"==typeof e?d.push(e):"function"==typeof e?i.push(e):r.push(e)});var o=a.filename;if(r.some(function(e){return e.test(a.filename)}))return!0;if(i.some(function(e){return e(o)}))return!0;if(0=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}for(var i=d,o=[],s=[],u=[],g=i.concat([(0,F.default)()]),c=Array.isArray(g),l=0,g=c?g:w(g);;){var p;if(c){if(l>=g.length)break;p=g[l++]}else{if((l=g.next()).done)break;p=l.value}var R=p,f=new O.default(e,R.key,R.options);o.push([R,f]),s.push(f),u.push(R.visitor)}for(var h=0;h=x.length)break;_=x[S++]}else{if((S=x.next()).done)break;_=S.value}for(var T=_,P=T,C=Array.isArray(P),w=0,P=C?P:F(P);;){var D;if(C){if(w>=P.length)break;D=P[w++]}else{if((w=P.next()).done)break;D=w.value}var O=D;O.manipulateOptions&&O.manipulateOptions(E,E.parserOpts)}}return E}},function(e,a,n){"use strict";var v=n(4),r=n(3),d=n(2);function t(){var e=u(n(150));return t=function(){return e},e}function i(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return i=function(){return e},e}function o(){var e=u(n(277));return o=function(){return e},e}function b(){var e=n(156);return b=function(){return e},e}function E(){var e=n(102);return E=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a,n,t){n=""+(n||"");var r=null;if(!1!==a.inputSourceMap){try{(r=o().default.fromSource(n))&&(n=o().default.removeComments(n))}catch(e){g("discarding unknown inline input sourcemap",e),n=o().default.removeComments(n)}if(!r)try{(r=o().default.fromMapFileSource(n))&&(n=o().default.removeMapFileComments(n))}catch(e){g("discarding unknown file input sourcemap",e),n=o().default.removeMapFileComments(n)}r||"object"!=typeof a.inputSourceMap||(r=o().default.fromObject(a.inputSourceMap))}if(t){if("Program"===t.type)t=i().file(t,[],[]);else if("File"!==t.type)throw new Error("AST root must be a Program or File node")}else t=function(e,a,n){try{for(var t=[],r=e,d=Array.isArray(r),i=0,r=d?r:v(r);;){var o;if(d){if(i>=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}for(var s=o,u=s,g=Array.isArray(u),c=0,u=g?u:v(u);;){var l;if(g){if(c>=u.length)break;l=u[c++]}else{if((c=u.next()).done)break;l=c.value}var p=l,R=p.parserOverride;if(R){var f=R(n,a.parserOpts,b().parse);void 0!==f&&t.push(f)}}}if(0===t.length)return(0,b().parse)(n,a.parserOpts);if(1===t.length){if("function"==typeof t[0].then)throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");return t[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"===e.code&&(e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.");var h=e.loc,y=e.missingPlugin;if(h){var m=(0,E().codeFrameColumns)(n,{start:{line:h.line,column:h.column+1}},a);e.message=y?(a.filename||"unknown")+": "+(0,x.default)(y[0],h,m):(a.filename||"unknown")+": "+e.message+"\n\n"+m,e.code="BABEL_PARSE_ERROR"}throw e}}(e,a,n);return new s.default(a,{code:n,ast:t,inputMap:r})};var s=u(n(178)),x=u(n(716));function u(e){return e&&e.__esModule?e:{default:e}}var g=(0,t().default)("babel:transform:file")},function(e,o,r){"use strict";(function(n){var a=r(17),d=r(715),i=r(25);function t(e,a){(a=a||{}).isFileComment&&(e=function(e,a){var n=o.mapFileCommentRegex.exec(e),t=n[1]||n[2],r=i.resolve(a,t);try{return d.readFileSync(r,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+r+"\n"+e)}}(e,a.commentFileDir)),a.hasComment&&(e=e.split(",").pop()),a.isEncoded&&(e=new n(e,"base64").toString()),(a.isJSON||a.isEncoded)&&(e=JSON.parse(e)),this.sourcemap=e}Object.defineProperty(o,"commentRegex",{get:function(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}}),Object.defineProperty(o,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}}),t.prototype.toJSON=function(e){return a(this.sourcemap,null,e)},t.prototype.toBase64=function(){var e=this.toJSON();return new n(e).toString("base64")},t.prototype.toComment=function(e){var a="sourceMappingURL=data:application/json;charset=utf-8;base64,"+this.toBase64();return e&&e.multiline?"/*# "+a+" */":"//# "+a},t.prototype.toObject=function(){return JSON.parse(this.toJSON())},t.prototype.addProperty=function(e,a){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,a)},t.prototype.setProperty=function(e,a){return this.sourcemap[e]=a,this},t.prototype.getProperty=function(e){return this.sourcemap[e]},o.fromObject=function(e){return new t(e)},o.fromJSON=function(e){return new t(e,{isJSON:!0})},o.fromBase64=function(e){return new t(e,{isEncoded:!0})},o.fromComment=function(e){return new t(e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{isEncoded:!0,hasComment:!0})},o.fromMapFileComment=function(e,a){return new t(e,{commentFileDir:a,isFileComment:!0,isJSON:!0})},o.fromSource=function(e){var a=e.match(o.commentRegex);return a?o.fromComment(a.pop()):null},o.fromMapFileSource=function(e,a){var n=e.match(o.mapFileCommentRegex);return n?o.fromMapFileComment(n.pop(),a):null},o.removeComments=function(e){return e.replace(o.commentRegex,"")},o.removeMapFileComments=function(e){return e.replace(o.mapFileCommentRegex,"")},o.generateMapFileComment=function(e,a){var n="sourceMappingURL="+e;return a&&a.multiline?"/*# "+n+" */":"//# "+n}}).call(o,r(248).Buffer)},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("asyncGenerators")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("classProperties","classPrivateProperties")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e,a){e.assertVersion(7);var n=a.legacy,t=void 0!==n&&n;if("boolean"!=typeof t)throw new Error("'legacy' must be a boolean.");return{manipulateOptions:function(e,a){a.plugins.push(t?"decorators-legacy":"decorators")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("doExpressions")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("dynamicImport")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("exportDefaultFrom")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("exportNamespaceFrom")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("functionBind")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("functionSent")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("importMeta")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.some(function(e){return"typescript"===(Array.isArray(e)?e[0]:e)})||a.plugins.push("jsx")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("objectRestSpread")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("optionalCatchBinding")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{manipulateOptions:function(e,a){a.plugins.push("pipelineOperator")}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function r(e,n){var t=[];e.forEach(function(e,a){(Array.isArray(e)?e[0]:e)===n&&t.unshift(a)});for(var a=0;a=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;if(i.isClassPrivateProperty()&&i.node.key.id.name===a){e.traverse(o,this),e.skip();break}}}},o=z().traverse.visitors.merge([{PrivateName:s.PrivateName},h().environmentVisitor]),u={memoise:function(e,a){var n=e.scope,t=e.node.object,r=n.maybeGenerateMemoised(t);r&&this.memoiser.set(t,r,a)},receiver:function(e){var a=e.node.object;return this.memoiser.has(a)?z().types.cloneNode(this.memoiser.get(a)):z().types.cloneNode(a)},get:function(e){var a=this.map,n=this.file;return z().types.callExpression(n.addHelper("classPrivateFieldGet"),[this.receiver(e),z().types.cloneNode(a)])},set:function(e,a){var n=this.map,t=this.file;return z().types.callExpression(t.addHelper("classPrivateFieldSet"),[this.receiver(e),z().types.cloneNode(n),a])},call:function(e,a){return this.memoise(e,1),(0,m().default)(this.get(e),this.receiver(e),a)}},g={handle:function(e){var a=this.prop,n=this.file,t=e.node.object;e.replaceWith(z().template.expression(r())({BASE:n.addHelper("classPrivateFieldLooseBase"),REF:t,PROP:a}))}};var H=n?function(e,a){var n=a.scope,t=a.node,r=t.key,d=t.value,i=t.computed;return z().types.expressionStatement(z().types.assignmentExpression("=",z().types.memberExpression(e,r,i||z().types.isLiteral(r)),d||n.buildUndefinedNode()))}:function(e,a,n){var t=a.scope,r=a.node,d=r.key,i=r.value,o=r.computed;return z().types.expressionStatement(z().types.callExpression(n.addHelper("defineProperty"),[e,o||z().types.isLiteral(d)?d:z().types.stringLiteral(d.name),i||t.buildUndefinedNode()]))},q=n?function(e,a,n,t){var r=a.parentPath,d=a.scope,i=a.node.key.id.name,o=d.generateUidIdentifier(i);return r.traverse(s,c({name:i,prop:o,file:t},g)),n.push(z().template.statement(p())({PROP:o,HELPER:t.addHelper("classPrivateFieldLooseKey"),NAME:z().types.stringLiteral(i)})),function(){return z().template.statement(l())({REF:e,PROP:o,VALUE:a.node.value||d.buildUndefinedNode()})}}:function(e,a,n,t){var r=a.parentPath,d=a.scope,i=a.node.key.id.name,o=d.generateUidIdentifier(i);return(0,y().default)(r,s,c({name:i,map:o,file:t},u)),n.push(z().template.statement(f())({MAP:o})),function(){return z().template.statement(R())({MAP:o,REF:e,VALUE:a.node.value||d.buildUndefinedNode()})}};return{inherits:i().default,visitor:{Class:function(e,a){var n,t=!!e.node.superClass,r=[],d=[],i=new Y,o=e.get("body"),s=o.get("body"),u=Array.isArray(s),g=0;for(s=u?s:X(s);;){var c;if(u){if(g>=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c,p=l.node,R=p.computed,f=p.decorators;if(R&&d.push(l),f&&0"===t){var i,o=c().types.isArrowFunctionExpression(d)&&c().types.isExpression(d.body)&&!d.async&&!d.generator;if(o){var s=d.params;1===s.length&&c().types.isIdentifier(s[0])?i=s[0]:0=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d,o=i.node;if(i.isFunctionDeclaration()){var s=g().types.variableDeclaration("let",[g().types.variableDeclarator(o.id,g().types.toExpression(o))]);s._blockHoist=2,o.id=null,i.replaceWith(s)}}}return e.assertVersion(7),{visitor:{BlockStatement:function(e){var a=e.node,n=e.parent;g().types.isFunction(n,{body:a})||g().types.isExportDeclaration(n)||t("body",e)},SwitchCase:function(e){t("consequent",e)}}}});a.default=r},function(e,a,n){"use strict";var t=n(76),c=n(4),o=n(12),r=n(45);function d(){var e=n(1);return d=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=n(730);function x(){var e=s(n(236));return x=function(){return e},e}function h(){var e=s(n(731));return h=function(){return e},e}function A(){var e=n(5);return A=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}var u=new r,g=(0,d().declare)(function(e,a){e.assertVersion(7);var n=a.throwIfClosureRequired,d=void 0!==n&&n,t=a.tdz,i=void 0!==t&&t;if("boolean"!=typeof d)throw new Error(".throwIfClosureRequired must be a boolean, or undefined");if("boolean"!=typeof i)throw new Error(".throwIfClosureRequired must be a boolean, or undefined");return{visitor:{VariableDeclaration:function(e){var a=e.node,n=e.parent,t=e.scope;if(y(a)&&(v(e,null,n,t,!0),a._tdzThis)){for(var r=[a],d=0;d=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var s=o,u=a.addHelper("readOnlyError"),g=A().types.callExpression(u,[A().types.stringLiteral(n)]);s.isAssignmentExpression()?s.get("right").replaceWith(A().types.sequenceExpression([g,s.get("right").node])):s.isUpdateExpression()?s.replaceWith(A().types.sequenceExpression([g,s.node])):s.isForXStatement()&&(s.ensureBlock(),s.node.body.body.unshift(A().types.expressionStatement(g)))}}}},a.updateScopeInfo=function(e){var a=this.scope,n=a.getFunctionParent()||a.getProgramParent(),t=this.letReferences;for(var r in t){var d=t[r],i=a.getBinding(d.name);i&&("let"!==i.kind&&"const"!==i.kind||(i.kind="var",e?a.removeBinding(d.name):a.moveBindingTo(d.name,n)))}},a.remap=function(){var e=this.letReferences,a=this.scope;for(var n in e){var t=e[n];(a.parentHasBinding(n)||a.hasGlobal(n))&&(a.hasOwnBinding(n)&&a.rename(t.name),this.blockPath.scope.hasOwnBinding(n)&&this.blockPath.scope.rename(t.name))}},a.wrapClosure=function(){if(this.throwIfClosureRequired)throw this.blockPath.buildCodeFrameError("Compiling let/const in this block would add a closure (throwIfClosureRequired).");var e=this.block,a=this.outsideLetReferences;if(this.loop)for(var n in a){var t=a[n];(this.scope.hasGlobal(t.name)||this.scope.parentHasBinding(t.name))&&(delete a[t.name],delete this.letReferences[t.name],this.scope.rename(t.name),a[(this.letReferences[t.name]=t).name]=t)}this.has=this.checkLoop(),this.hoistVarDeclarations();var r=(0,x().default)(a).map(function(e){return A().types.cloneNode(e)}),d=r.map(function(e){return A().types.cloneNode(e)}),i=this.blockPath.isSwitchStatement(),o=A().types.functionExpression(null,d,A().types.blockStatement(i?[e]:e.body));this.addContinuations(o);var s,u,g,c=A().types.callExpression(A().types.nullLiteral(),r),l=".callee";if(A().traverse.hasType(o.body,"YieldExpression",A().types.FUNCTION_TYPES)&&(o.generator=!0,c=A().types.yieldExpression(c,!0),l=".argument"+l),A().traverse.hasType(o.body,"AwaitExpression",A().types.FUNCTION_TYPES)&&(o.async=!0,c=A().types.awaitExpression(c),l=".argument"+l),this.has.hasReturn||this.has.hasBreakContinue){var p=this.scope.generateUid("ret");this.body.push(A().types.variableDeclaration("var",[A().types.variableDeclarator(A().types.identifier(p),c)])),s="declarations.0.init"+l,u=this.body.length-1,this.buildHas(p)}else this.body.push(A().types.expressionStatement(c)),s="expression"+l,u=this.body.length-1;if(i){var R=this.blockPath,f=R.parentPath,h=R.listKey,y=R.key;this.blockPath.replaceWithMultiple(this.body),g=f.get(h)[y+u]}else e.body=this.body,g=this.blockPath.get("body")[u];var m,v=g.get(s);if(this.loop){var b=this.scope.generateUid("loop"),E=this.loopPath.insertBefore(A().types.variableDeclaration("var",[A().types.variableDeclarator(A().types.identifier(b),o)]));v.replaceWith(A().types.identifier(b)),m=E[0].get("declarations.0.init")}else v.replaceWith(o),m=v;m.unwrapFunctionEnvironment()},a.addContinuations=function(r){var d=this,i={reassignments:{},returnStatements:[],outsideReferences:this.outsideLetReferences};this.scope.traverse(r,S,i);for(var e=function(e){var a=r.params[e];if(!i.reassignments[a.name])return"continue";var n=a.name,t=d.scope.generateUid(a.name);r.params[e]=A().types.identifier(t),d.scope.rename(n,t,r),i.returnStatements.forEach(function(e){e.insertBefore(A().types.expressionStatement(A().types.assignmentExpression("=",A().types.identifier(n),A().types.identifier(t))))}),r.body.body.push(A().types.expressionStatement(A().types.assignmentExpression("=",A().types.identifier(n),A().types.identifier(t))))},a=0;a=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;"get"===d.kind||"set"===d.kind?p(e,d):l(_().types.cloneNode(e.objId),d,e.body)}}:function(e){for(var a=e.objId,n=e.body,t=e.computedProps,r=e.state,d=t,i=Array.isArray(d),o=0,d=i?d:S(d);;){var s;if(i){if(o>=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s,g=_().types.toComputedKey(u);if("get"===u.kind||"set"===u.kind)p(e,u);else if(_().types.isStringLiteral(g,{value:"__proto__"}))l(a,u,n);else{if(1===t.length)return _().types.callExpression(r.addHelper("defineProperty"),[e.initPropExpression,g,c(u)]);n.push(_().types.expressionStatement(_().types.callExpression(r.addHelper("defineProperty"),[_().types.cloneNode(a),g,c(u)])))}}},o=(0,_().template)("\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n ");function c(e){return _().types.isObjectProperty(e)?e.value:_().types.isObjectMethod(e)?_().types.functionExpression(null,e.params,e.body,e.generator,e.async):void 0}function l(e,a,n){"get"===a.kind&&"set"===a.kind?p(e,a):n.push(_().types.expressionStatement(_().types.assignmentExpression("=",_().types.memberExpression(_().types.cloneNode(e),a.key,a.computed||_().types.isLiteral(a.key)),c(a))))}function p(e,a){var n=e.body,t=e.getMutatorId,r=e.scope,d=!a.computed&&_().types.isIdentifier(a.key)?_().types.stringLiteral(a.key.name):a.key,i=r.maybeGenerateMemoised(d);i&&(n.push(_().types.expressionStatement(_().types.assignmentExpression("=",i,d))),d=i),n.push.apply(n,o({MUTATOR_MAP_REF:t(),KEY:_().types.cloneNode(d),VALUE:c(a),KIND:_().types.identifier(a.kind)}))}return{visitor:{ObjectExpression:{exit:function(e,a){var n=e.node,t=e.parent,r=e.scope,d=!1,i=n.properties,o=Array.isArray(i),s=0;for(i=o?i:S(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}if(d=!0===u.computed)break}if(d){var g=[],c=[],l=!1,p=n.properties,R=Array.isArray(p),f=0;for(p=R?p:S(p);;){var h;if(R){if(f>=p.length)break;h=p[f++]}else{if((f=p.next()).done)break;h=f.value}var y=h;y.computed&&(l=!0),l?c.push(y):g.push(y)}var m,v=r.generateUidIdentifierBasedOnNode(t),b=_().types.objectExpression(g),E=[];E.push(_().types.variableDeclaration("var",[_().types.variableDeclarator(v,b)]));var x=A({scope:r,objId:v,body:E,computedProps:c,initPropExpression:b,getMutatorId:function(){return m||(m=r.generateUidIdentifier("mutatorMap"),E.push(_().types.variableDeclaration("var",[_().types.variableDeclarator(m,_().types.objectExpression([]))]))),_().types.cloneNode(m)},state:a});m&&E.push(_().types.expressionStatement(_().types.callExpression(a.addHelper("defineEnumerableProperties"),[_().types.cloneNode(v),_().types.cloneNode(m)]))),x?e.replaceWith(x):(E.push(_().types.expressionStatement(_().types.cloneNode(v))),e.replaceWithMultiple(E))}}}}}});a.default=r},function(e,a,n){"use strict";var P=n(4);function t(){var e=n(1);return t=function(){return e},e}function C(){var e=n(5);return C=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e,a){e.assertVersion(7);var n=a.loose,t=void 0!==n&&n,r=a.useBuiltIns,g=void 0!==r&&r;if("boolean"!=typeof t)throw new Error(".loose must be a boolean or undefined");var S=t;function _(e){var a=e.declarations,n=Array.isArray(a),t=0;for(a=n?a:P(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;if(C().types.isPattern(d.id))return!0}return!1}function p(e){var a=e.elements,n=Array.isArray(a),t=0;for(a=n?a:P(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;if(C().types.isRestElement(d))return!0}return!1}var R={ReferencedIdentifier:function(e,a){a.bindings[e.node.name]&&(a.deopt=!0,e.stop())}},T=function(){function e(e){this.blockHoist=e.blockHoist,this.operator=e.operator,this.arrays={},this.nodes=e.nodes||[],this.scope=e.scope,this.kind=e.kind,this.arrayOnlySpread=e.arrayOnlySpread,this.addHelper=e.addHelper}var a=e.prototype;return a.buildVariableAssignment=function(e,a){var n,t=this.operator;return C().types.isMemberExpression(e)&&(t="="),(n=t?C().types.expressionStatement(C().types.assignmentExpression(t,e,C().types.cloneNode(a))):C().types.variableDeclaration(this.kind,[C().types.variableDeclarator(e,C().types.cloneNode(a))]))._blockHoist=this.blockHoist,n},a.buildVariableDeclaration=function(e,a){var n=C().types.variableDeclaration("var",[C().types.variableDeclarator(C().types.cloneNode(e),C().types.cloneNode(a))]);return n._blockHoist=this.blockHoist,n},a.push=function(e,a){var n=C().types.cloneNode(a);C().types.isObjectPattern(e)?this.pushObjectPattern(e,n):C().types.isArrayPattern(e)?this.pushArrayPattern(e,n):C().types.isAssignmentPattern(e)?this.pushAssignmentPattern(e,n):this.nodes.push(this.buildVariableAssignment(e,n))},a.toArray=function(e,a){return this.arrayOnlySpread||C().types.isIdentifier(e)&&this.arrays[e.name]?e:this.scope.toArray(e,a)},a.pushAssignmentPattern=function(e,a){var n=e.left,t=e.right,r=this.scope.generateUidIdentifierBasedOnNode(a);this.nodes.push(this.buildVariableDeclaration(r,a));var d,i,o=C().types.conditionalExpression(C().types.binaryExpression("===",C().types.cloneNode(r),this.scope.buildUndefinedNode()),t,C().types.cloneNode(r));C().types.isPattern(n)?("const"===this.kind?(d=this.scope.generateUidIdentifier(r.name),i=this.buildVariableDeclaration(d,o)):(d=r,i=C().types.expressionStatement(C().types.assignmentExpression("=",C().types.cloneNode(r),o))),this.nodes.push(i),this.push(n,d)):this.nodes.push(this.buildVariableAssignment(n,o))},a.pushObjectRest=function(e,a,n,t){for(var r,d,i=[],o=0;oa.elements.length)){if(e.elements.length=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;if(!i)return!1;if(C().types.isMemberExpression(i))return!1}var o=a.elements,s=Array.isArray(o),u=0;for(o=s?o:P(o);;){var g;if(s){if(u>=o.length)break;g=o[u++]}else{if((u=o.next()).done)break;g=u.value}var c=g;if(C().types.isSpreadElement(c))return!1;if(C().types.isCallExpression(c))return!1;if(C().types.isMemberExpression(c))return!1}var l={deopt:!1,bindings:C().types.getBindingIdentifiers(e)};return this.scope.traverse(a,R,l),!l.deopt}},a.pushUnpackedArrayPattern=function(e,a){for(var n=0;n=v.length)break;x=v[E++]}else{if((E=v.next()).done)break;x=E.value}var A=x.id.name;t.bindings[A]&&(t.bindings[A].kind=m.kind)}}}1===p.length?e.replaceWith(p[0]):e.replaceWithMultiple(p)}}}}});a.default=r},function(e,a,t){"use strict";var c=t(4),r=t(9),o=t(738).generate,s=t(739).parse,l=t(0),u=t(314),g=t(315),n=t(743),d=t(744),p=l().addRange(0,1114111),R=l().addRange(0,65535),f=p.clone().remove(10,13,8232,8233),h=f.clone().intersection(R),y=function(e,a,n){return a?n?d.UNICODE_IGNORE_CASE.get(e):d.UNICODE.get(e):d.REGULAR.get(e)},m=function(a,n){var e=n?a+"/"+n:"Binary_Property/"+a;try{return t(745)("./"+e+".js")}catch(e){throw new Error("Failed to recognize value `"+n+"` for property `"+a+"`.")}},v=function(e,a){var n,t=e.split("="),r=t[0];if(1==t.length)n=function(e){try{var a="General_Category",n=g(a,e);return m(a,n)}catch(e){}var t=u(e);return m(t)}(r);else{var d=u(r),i=g(d,t[1]);n=m(d,i)}return a?p.clone().remove(n):n.clone()};l.prototype.iuAddRange=function(e,a){do{var n=E(e);n&&this.add(n)}while(++e<=a);return this};var b=function(e,a){var n=s(a,A.useUnicodeFlag?"u":"");switch(n.type){case"characterClass":case"group":case"value":break;default:n=i(n,a)}r(e,n)},i=function(e,a){return{type:"group",behavior:"ignore",body:[e],raw:"(?:"+a+")"}},E=function(e){return n.get(e)||!1},x=function a(e,n){switch(e.type){case"dot":b(e,(i=A.unicode,o=A.dotAll,o?i?p:R:i?f:h).toString(n));break;case"characterClass":e=function(e,a){var n=l(),t=e.body,r=Array.isArray(t),d=0;for(t=r?t:c(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;switch(o.type){case"value":if(n.add(o.codePoint),A.ignoreCase&&A.unicode&&!A.useUnicodeFlag){var s=E(o.codePoint);s&&n.add(s)}break;case"characterClassRange":var u=o.min.codePoint,g=o.max.codePoint;n.addRange(u,g),A.ignoreCase&&A.unicode&&!A.useUnicodeFlag&&n.iuAddRange(u,g);break;case"characterClassEscape":n.add(y(o.value,A.unicode,A.ignoreCase));break;case"unicodePropertyEscape":n.add(v(o.value,o.negative));break;default:throw new Error("Unknown term type: "+o.type)}}return e.negative&&(n=(A.unicode?p:R).clone().remove(n)),b(e,n.toString(a)),e}(e,n);break;case"unicodePropertyEscape":b(e,v(e.value,e.negative).toString(n));break;case"characterClassEscape":b(e,y(e.value,A.unicode,A.ignoreCase).toString(n));break;case"alternative":case"disjunction":case"group":case"quantifier":e.body=e.body.map(function(e){return a(e,n)});break;case"value":var t=e.codePoint,r=l(t);if(A.ignoreCase&&A.unicode&&!A.useUnicodeFlag){var d=E(t);d&&r.add(d)}b(e,r.toString(n));break;case"anchor":case"empty":case"group":case"reference":break;default:throw new Error("Unknown term type: "+e.type)}var i,o;return e},A={ignoreCase:!1,unicode:!1,dotAll:!1,useUnicodeFlag:!1};e.exports=function(e,a,n){var t={unicodePropertyEscape:n&&n.unicodePropertyEscape};A.ignoreCase=a&&a.includes("i"),A.unicode=a&&a.includes("u");var r=n&&n.dotAllFlag;A.dotAll=r&&a&&a.includes("s"),A.useUnicodeFlag=n&&n.useUnicodeFlag;var d={hasUnicodeFlag:A.useUnicodeFlag,bmpOnly:!A.unicode},i=s(e,a,t);return x(i,d),o(i)}},function(e,a,n){"use strict";var t=n(740),r=n(741);e.exports=function(e){if(t.has(e))return e;if(r.has(e))return r.get(e);throw new Error("Unknown property: "+e)}},function(e,a,n){"use strict";var r=n(742);e.exports=function(e,a){var n=r.get(e);if(!n)throw new Error("Unknown property `"+e+"`.");var t=n.get(a);if(t)return t;throw new Error("Unknown value `"+a+"` for property `"+e+"`.")}},function(e,a,n){var t=n(98)(n(1121));e.exports=t},function(e,a,n){"use strict";var p=n(4),R=n(12);function t(){var e=n(1);return t=function(){return e},e}function f(){var e=n(5);return f=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{ObjectExpression:function(e){var a,n=e.node.properties.filter(function(e){return!f().types.isSpreadElement(e)&&!e.computed}),t=R(null),r=R(null),d=R(null),i=n,o=Array.isArray(i),s=0;for(i=o?i:p(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var g=u,c=(a=g.key,f().types.isIdentifier(a)?a.name:a.value.toString()),l=!1;switch(g.kind){case"get":(t[c]||r[c])&&(l=!0),r[c]=!0;break;case"set":(t[c]||d[c])&&(l=!0),d[c]=!0;break;default:(t[c]||r[c]||d[c])&&(l=!0),t[c]=!0}l&&(g.computed=!0,g.key=f().types.stringLiteral(c))}}}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function f(){var e=n(5);return f=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e,a){e.assertVersion(7);var n=a.loose,t=a.assumeArray;if(!0===n&&!0===t)throw new Error("The loose and assumeArray options cannot be used together in @babel/plugin-transform-for-of");if(t)return{visitor:{ForOfStatement:function(e){var a=e.scope,n=e.node,t=n.left,r=n.right,d=n.body,i=a.generateUidIdentifier("i"),o=a.maybeGenerateMemoised(r,!0),s=[f().types.variableDeclarator(i,f().types.numericLiteral(0))];o?s.push(f().types.variableDeclarator(o,r)):o=r;var u,g=f().types.memberExpression(f().types.cloneNode(o),f().types.cloneNode(i),!0);f().types.isVariableDeclaration(t)?(u=t).declarations[0].init=g:u=f().types.expressionStatement(f().types.assignmentExpression("=",t,g));var c=f().types.toBlock(d);c.body.unshift(u),e.replaceWith(f().types.forStatement(f().types.variableDeclaration("let",s),f().types.binaryExpression("<",f().types.cloneNode(i),f().types.memberExpression(f().types.cloneNode(o),f().types.identifier("length"))),f().types.updateExpression("++",f().types.cloneNode(i)),c))}}};var u=n?function(e,a){var n,t,r,d=e.node,i=e.scope,o=e.parent,s=d.left;if(f().types.isIdentifier(s)||f().types.isPattern(s)||f().types.isMemberExpression(s))t=s,r=null;else{if(!f().types.isVariableDeclaration(s))throw a.buildCodeFrameError(s,"Unknown node type "+s.type+" in ForStatement");t=i.generateUidIdentifier("ref"),n=f().types.variableDeclaration(s.kind,[f().types.variableDeclarator(s.declarations[0].id,f().types.identifier(t.name))]),r=f().types.variableDeclaration("var",[f().types.variableDeclarator(f().types.identifier(t.name))])}var u,g=i.generateUidIdentifier("iterator"),c=i.generateUidIdentifier("isArray"),l=R({LOOP_OBJECT:g,IS_ARRAY:c,OBJECT:d.right,INDEX:i.generateUidIdentifier("i"),ID:t,INTERMEDIATE:r}),p=f().types.isLabeledStatement(o);p&&(u=f().types.labeledStatement(o.label,l));return{replaceParent:p,declar:n,node:u||l,loop:l}}:function(e,a){var n,t=e.node,r=e.scope,d=e.parent,i=t.left,o=r.generateUid("step"),s=f().types.memberExpression(f().types.identifier(o),f().types.identifier("value"));if(f().types.isIdentifier(i)||f().types.isPattern(i)||f().types.isMemberExpression(i))n=f().types.expressionStatement(f().types.assignmentExpression("=",i,s));else{if(!f().types.isVariableDeclaration(i))throw a.buildCodeFrameError(i,"Unknown node type "+i.type+" in ForStatement");n=f().types.variableDeclaration(i.kind,[f().types.variableDeclarator(i.declarations[0].id,s)])}var u=p({ITERATOR_HAD_ERROR_KEY:r.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:r.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:r.generateUidIdentifier("iteratorError"),ITERATOR_KEY:r.generateUidIdentifier("iterator"),STEP_KEY:f().types.identifier(o),OBJECT:t.right}),g=f().types.isLabeledStatement(d),c=u[3].block.body,l=c[0];g&&(c[0]=f().types.labeledStatement(d.label,l));return{replaceParent:g,declar:n,loop:l,node:u}},g=(0,f().template)("\n for (var KEY = 0; KEY < ARR.length; KEY++) BODY;\n "),R=(0,f().template)("\n for (var LOOP_OBJECT = OBJECT,\n IS_ARRAY = Array.isArray(LOOP_OBJECT),\n INDEX = 0,\n LOOP_OBJECT = IS_ARRAY ? LOOP_OBJECT : LOOP_OBJECT[Symbol.iterator]();;) {\n INTERMEDIATE;\n if (IS_ARRAY) {\n if (INDEX >= LOOP_OBJECT.length) break;\n ID = LOOP_OBJECT[INDEX++];\n } else {\n INDEX = LOOP_OBJECT.next();\n if (INDEX.done) break;\n ID = INDEX.value;\n }\n }\n "),p=(0,f().template)("\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (\n var ITERATOR_KEY = OBJECT[Symbol.iterator](), STEP_KEY;\n !(ITERATOR_COMPLETION = (STEP_KEY = ITERATOR_KEY.next()).done);\n ITERATOR_COMPLETION = true\n ) {}\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return != null) {\n ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n ");function c(e){var a=e.node,n=e.scope,t=[],r=a.right;if(!f().types.isIdentifier(r)||!n.hasBinding(r.name)){var d=n.generateUid("arr");t.push(f().types.variableDeclaration("var",[f().types.variableDeclarator(f().types.identifier(d),r)])),r=f().types.identifier(d)}var i=n.generateUidIdentifier("i"),o=g({BODY:a.body,KEY:i,ARR:r});f().types.inherits(o,a),f().types.ensureBlock(o);var s=f().types.memberExpression(f().types.cloneNode(r),f().types.cloneNode(i),!0),u=a.left;return f().types.isVariableDeclaration(u)?(u.declarations[0].init=s,o.body.body.unshift(u)):o.body.body.unshift(f().types.expressionStatement(f().types.assignmentExpression("=",u,s))),e.parentPath.isLabeledStatement()&&(o=f().types.labeledStatement(e.parentPath.node.label,o)),t.push(o),t}return{visitor:{ForOfStatement:function(e,a){var n=e.get("right");if(n.isArrayExpression()||n.isGenericType("Array")||f().types.isArrayTypeAnnotation(n.getTypeAnnotation()))(t=e).parentPath.isLabeledStatement()?t.parentPath.replaceWithMultiple(c(t)):t.replaceWithMultiple(c(t));else{var t,r=e.node,d=u(e,a),i=d.declar,o=d.loop,s=o.body;e.ensureBlock(),i&&s.body.push(i),s.body=s.body.concat(r.body.body),f().types.inherits(o,r),f().types.inherits(o.body,r.body),d.replaceParent?(e.parentPath.replaceWithMultiple(d.node),e.remove()):e.replaceWithMultiple(d.node)}}}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function r(){var e,a=(e=n(46))&&e.__esModule?e:{default:e};return r=function(){return a},a}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{FunctionExpression:{exit:function(e){if("value"!==e.key&&!e.parentPath.isObjectProperty()){var a=(0,r().default)(e);a&&e.replaceWith(a)}}},ObjectProperty:function(e){var a=e.get("value");if(a.isFunction()){var n=(0,r().default)(a);n&&a.replaceWith(n)}}}}});a.default=d},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function r(){var e=n(5);return r=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{BinaryExpression:function(e){var a=e.node;if("instanceof"===a.operator){var n=this.addHelper("instanceof");if(e.findParent(function(e){return e.isVariableDeclarator()&&e.node.id===n||e.isFunctionDeclaration()&&e.node.id&&e.node.id.name===n.name}))return;e.replaceWith(r().types.callExpression(n,[a.left,a.right]))}}}}});a.default=d},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{NumericLiteral:function(e){var a=e.node;a.extra&&/^0[ob]/i.test(a.extra.raw)&&(a.extra=void 0)},StringLiteral:function(e){var a=e.node;a.extra&&/\\[u]/gi.test(a.extra.raw)&&(a.extra=void 0)}}}});a.default=r},function(e,a,n){"use strict";var _=n(4);function t(){var e=n(1);return t=function(){return e},e}function T(){var e=n(171);return T=function(){return e},e}function P(){var e=n(5);return P=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var C=(0,P().template)("\n define(MODULE_NAME, AMD_ARGUMENTS, function(IMPORT_NAMES) {\n })\n"),r=(0,t().declare)(function(e,a){e.assertVersion(7);var b=a.loose,E=a.allowTopLevelThis,x=a.strict,A=a.strictMode,S=a.noInterop;return{visitor:{Program:{exit:function(e){if((0,T().isModule)(e)){var a=this.getModuleName();a&&(a=P().types.stringLiteral(a));var n=(0,T().rewriteModuleStatementsAndPrepareHeader)(e,{loose:b,strict:x,strictMode:A,allowTopLevelThis:E,noInterop:S}),t=n.meta,r=n.headers,d=[],i=[];(0,T().hasExports)(t)&&(d.push(P().types.stringLiteral("exports")),i.push(P().types.identifier(t.exportName)));var o=t.source,s=Array.isArray(o),u=0;for(o=s?o:_(o);;){var g;if(s){if(u>=o.length)break;g=o[u++]}else{if((u=o.next()).done)break;g=u.value}var c=g,l=c[0],p=c[1];if(d.push(P().types.stringLiteral(l)),i.push(P().types.identifier(p.name)),!(0,T().isSideEffectImport)(p)){var R=(0,T().wrapInterop)(e,P().types.identifier(p.name),p.interop);if(R){var f=P().types.expressionStatement(P().types.assignmentExpression("=",P().types.identifier(p.name),R));f.loc=p.loc,r.push(f)}}r.push.apply(r,(0,T().buildNamespaceInitStatements)(t,p,b))}(0,T().ensureStatementsHoisted)(r),e.unshiftContainer("body",r);var h=e.node,y=h.body,m=h.directives;e.node.directives=[],e.node.body=[];var v=e.pushContainer("body",[C({MODULE_NAME:a,AMD_ARGUMENTS:P().types.arrayExpression(d),IMPORT_NAMES:i})])[0].get("expression.arguments").filter(function(e){return e.isFunctionExpression()})[0].get("body");v.pushContainer("directives",m),v.pushContainer("body",y)}}}}}});a.default=r},function(e,a,n){"use strict";var t=n(45),r=n(3),d=n(2);function u(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return u=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){e.traverse(i,{scope:e.scope,bindingNames:a,seen:new t})};var i={UpdateExpression:{exit:function(e){var a=this.scope,n=this.bindingNames,t=e.get("argument");if(t.isIdentifier()){var r=t.node.name;if(n.has(r)&&a.getBinding(r)===e.scope.getBinding(r))if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){var d="++"==e.node.operator?"+=":"-=";e.replaceWith(u().assignmentExpression(d,t.node,u().numericLiteral(1)))}else if(e.node.prefix)e.replaceWith(u().assignmentExpression("=",u().identifier(r),u().binaryExpression(e.node.operator[0],u().unaryExpression("+",t.node),u().numericLiteral(1))));else{var i=e.scope.generateUidIdentifierBasedOnNode(t.node,"old"),o=i.name;e.scope.push({id:i});var s=u().binaryExpression(e.node.operator[0],u().identifier(o),u().numericLiteral(1));e.replaceWith(u().sequenceExpression([u().assignmentExpression("=",u().identifier(o),u().unaryExpression("+",t.node)),u().assignmentExpression("=",u().cloneNode(t.node),s),u().identifier(o)]))}}}},AssignmentExpression:{exit:function(e){var a=this.scope,n=this.seen,t=this.bindingNames;if("="!==e.node.operator&&!n.has(e.node)){n.add(e.node);var r=e.get("left");if(r.isIdentifier()){var d=r.node.name;t.has(d)&&a.getBinding(d)===e.scope.getBinding(d)&&(e.node.right=u().binaryExpression(e.node.operator.slice(0,-1),u().cloneNode(e.node.left),e.node.right),e.node.operator="=")}}}}}},function(e,a,n){"use strict";var T=n(4),P=n(16),g=n(7),t=n(41);function C(){var e=t(["\n var "," = ",";\n "]);return C=function(){return e},e}function w(){var e=t(["\n function ","() {\n const data = ",";\n "," = function(){ return data; };\n return data;\n }\n "]);return w=function(){return e},e}function i(){var e=t(['\n (function(){\n throw new Error(\n "The CommonJS \'" + "','" + "\' variable is not available in ES6 modules." +\n "Consider setting setting sourceType:script or sourceType:unambiguous in your " +\n "Babel config for this file.");\n })()\n ']);return i=function(){return e},e}function r(){var e=n(1);return r=function(){return e},e}function D(){var e=n(171);return D=function(){return e},e}function O(){var e,a=(e=n(323))&&e.__esModule?e:{default:e};return O=function(){return a},a}function F(){var e=n(5);return F=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,r().declare)(function(e,a){e.assertVersion(7);var h=a.loose,n=a.strictNamespace,y=void 0!==n&&n,t=a.mjsStrictNamespace,m=void 0===t||t,v=a.allowTopLevelThis,b=a.strict,E=a.strictMode,x=a.noInterop,r=a.lazy,A=void 0!==r&&r,d=a.allowCommonJSExports,S=void 0===d||d;if(!("boolean"==typeof A||"function"==typeof A||Array.isArray(A)&&A.every(function(e){return"string"==typeof e})))throw new Error(".lazy must be a boolean, array of strings, or a function");if("boolean"!=typeof y)throw new Error(".strictNamespace must be a boolean, or undefined");if("boolean"!=typeof m)throw new Error(".mjsStrictNamespace must be a boolean, or undefined");var u=function(e){return F().template.expression.ast(i(),e)},_={ReferencedIdentifier:function(e){var a=e.node.name;if("module"===a||"exports"===a){var n=e.scope.getBinding(a);this.scope.getBinding(a)!==n||e.parentPath.isObjectProperty({value:e.node})&&e.parentPath.parentPath.isObjectPattern()||e.parentPath.isAssignmentExpression({left:e.node})||e.isAssignmentExpression({left:e.node})||e.replaceWith(u(a))}},AssignmentExpression:function(a){var n=this,e=a.get("left");if(e.isIdentifier()){var t=a.node.name;if("module"!==t&&"exports"!==t)return;var r=a.scope.getBinding(t);if(this.scope.getBinding(t)!==r)return;var d=a.get("right");d.replaceWith(F().types.sequenceExpression([d.node,u(t)]))}else if(e.isPattern()){var i=e.getOuterBindingIdentifiers(),o=g(i).filter(function(e){return("module"===e||"exports"===e)&&n.scope.getBinding(e)===a.scope.getBinding(e)})[0];if(o){var s=a.get("right");s.replaceWith(F().types.sequenceExpression([s.node,u(o)]))}}}};return{visitor:{Program:{exit:function(e,a){if((0,D().isModule)(e)){e.scope.rename("exports"),e.scope.rename("module"),e.scope.rename("require"),e.scope.rename("__filename"),e.scope.rename("__dirname"),S||((0,O().default)(e,new P(["module","exports"])),e.traverse(_,{scope:e.scope}));var n=this.getModuleName();n&&(n=F().types.stringLiteral(n));var t=(0,D().rewriteModuleStatementsAndPrepareHeader)(e,{exportName:"exports",loose:h,strict:b,strictMode:E,allowTopLevelThis:v,noInterop:x,lazy:A,esNamespaceOnly:"string"==typeof a.filename&&/\.mjs$/.test(a.filename)?m:y}),r=t.meta,d=t.headers,i=r.source,o=Array.isArray(i),s=0;for(i=o?i:T(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var g=u,c=g[0],l=g[1],p=F().types.callExpression(F().types.identifier("require"),[F().types.stringLiteral(c)]),R=void 0;if((0,D().isSideEffectImport)(l)){if(l.lazy)throw new Error("Assertion failure");R=F().types.expressionStatement(p)}else{var f=(0,D().wrapInterop)(e,p,l.interop)||p;R=l.lazy?F().template.ast(w(),l.name,f,l.name):F().template.ast(C(),l.name,f)}R.loc=l.loc,d.push(R),d.push.apply(d,(0,D().buildNamespaceInitStatements)(r,l,h))}(0,D().ensureStatementsHoisted)(d),e.unshiftContainer("body",d)}}}}}});a.default=d},function(e,a,n){"use strict";var J=n(12),z=n(4),t=n(76);function r(){var e=n(1);return r=function(){return e},e}function $(){var e,a=(e=n(326))&&e.__esModule?e:{default:e};return $=function(){return a},a}function Q(){var e=n(5);return Q=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var Z=(0,Q().template)('\n SYSTEM_REGISTER(MODULE_NAME, SOURCES, function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: SETTERS,\n execute: function () {\n BODY;\n }\n };\n });\n'),ee=(0,Q().template)('\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n'),d=(0,r().declare)(function(e,a){e.assertVersion(7);var n=a.systemGlobal,Y=void 0===n?"System":n,c=t(),X={"AssignmentExpression|UpdateExpression":function(e){if(!e.node[c]){e.node[c]=!0;var a=e.get(e.isAssignmentExpression()?"left":"argument");if(a.isIdentifier()){var n=a.node.name;if(this.scope.getBinding(n)===e.scope.getBinding(n)){var t=this.exports[n];if(t){var r=e.node,d=e.isUpdateExpression({prefix:!1});d&&(r=Q().types.binaryExpression(r.operator[0],Q().types.unaryExpression("+",Q().types.cloneNode(r.argument)),Q().types.numericLiteral(1)));var i=t,o=Array.isArray(i),s=0;for(i=o?i:z(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var g=u;r=this.buildCall(g,r).expression}d&&(r=Q().types.sequenceExpression([r,e.node])),e.replaceWith(r)}}}}}};return{visitor:{CallExpression:function(e,a){"Import"===e.node.callee.type&&e.replaceWith(Q().types.callExpression(Q().types.memberExpression(Q().types.identifier(a.contextIdent),Q().types.identifier("import")),e.node.arguments))},ReferencedIdentifier:function(e,a){"__moduleName"!=e.node.name||e.scope.hasBinding("__moduleName")||e.replaceWith(Q().types.memberExpression(Q().types.identifier(a.contextIdent),Q().types.identifier("id")))},Program:{enter:function(e,a){a.contextIdent=e.scope.generateUid("context")},exit:function(R,e){var f=R.scope.generateUid("export"),a=e.contextIdent,n=J(null),r=[],t=[],h=[],y=[],d=[],i=[];function o(e,a){n[e]=n[e]||[],n[e].push(a)}function s(a,e,n){var t;r.forEach(function(e){e.key===a&&(t=e)}),t||r.push(t={key:a,imports:[],exports:[]}),t[e]=t[e].concat(n)}function u(e,a){return Q().types.expressionStatement(Q().types.callExpression(Q().types.identifier(f),[Q().types.stringLiteral(e),a]))}var g=R.get("body"),c=!0,l=g,p=Array.isArray(l),m=0;for(l=p?l:z(l);;){var v;if(p){if(m>=l.length)break;v=l[m++]}else{if((m=l.next()).done)break;v=m.value}var b=v;if(b.isExportDeclaration()&&(b=b.get("declaration")),b.isVariableDeclaration()&&"var"!==b.node.kind){c=!1;break}}var E=g,x=Array.isArray(E),A=0;for(E=x?E:z(E);;){var S;if(x){if(A>=E.length)break;S=E[A++]}else{if((A=E.next()).done)break;S=A.value}var _=S;if(c&&_.isFunctionDeclaration())t.push(_.node),i.push(_);else if(_.isImportDeclaration()){var T=_.node.source.value;for(var P in s(T,"imports",_.node.specifiers),_.getBindingIdentifiers())_.scope.removeBinding(P),d.push(Q().types.identifier(P));_.remove()}else if(_.isExportAllDeclaration())s(_.node.source.value,"exports",_.node),_.remove();else if(_.isExportDefaultDeclaration()){var C=_.get("declaration");if(C.isClassDeclaration()||C.isFunctionDeclaration()){var w=C.node.id,D=[];w?(D.push(C.node),D.push(u("default",Q().types.cloneNode(w))),o(w.name,"default")):D.push(u("default",Q().types.toExpression(C.node))),!c||C.isClassDeclaration()?_.replaceWithMultiple(D):(t=t.concat(D),i.push(_))}else _.replaceWith(u("default",C.node))}else if(_.isExportNamedDeclaration()){var O=_.get("declaration");if(O.node){_.replaceWith(O);var F=[],k=void 0;if(_.isFunction()){var j,M=O.node,I=M.id.name;if(c)o(I,I),t.push(M),t.push(u(I,Q().types.cloneNode(M.id))),i.push(_);else(j={})[I]=M.id,k=j}else k=O.getBindingIdentifiers();for(var B in k)o(B,B),F.push(u(B,Q().types.identifier(B)));_.insertAfter(F)}else{var N=_.node.specifiers;if(N&&N.length)if(_.node.source)s(_.node.source.value,"exports",N),_.remove();else{var L=[],U=N,V=Array.isArray(U),W=0;for(U=V?U:z(U);;){var G;if(V){if(W>=U.length)break;G=U[W++]}else{if((W=U.next()).done)break;G=W.value}var K=G;L.push(u(K.exported.name,K.local)),o(K.local.name,K.exported.name)}_.replaceWithMultiple(L)}}}}r.forEach(function(e){var a=[],n=R.scope.generateUid(e.key),t=e.imports,r=Array.isArray(t),d=0;for(t=r?t:z(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;Q().types.isImportNamespaceSpecifier(o)?a.push(Q().types.expressionStatement(Q().types.assignmentExpression("=",o.local,Q().types.identifier(n)))):Q().types.isImportDefaultSpecifier(o)&&(o=Q().types.importSpecifier(o.local,Q().types.identifier("default"))),Q().types.isImportSpecifier(o)&&a.push(Q().types.expressionStatement(Q().types.assignmentExpression("=",o.local,Q().types.memberExpression(Q().types.identifier(n),o.imported))))}if(e.exports.length){var s=R.scope.generateUid("exportObj");a.push(Q().types.variableDeclaration("var",[Q().types.variableDeclarator(Q().types.identifier(s),Q().types.objectExpression([]))]));var u=e.exports,g=Array.isArray(u),c=0;for(u=g?u:z(u);;){var l;if(g){if(c>=u.length)break;l=u[c++]}else{if((c=u.next()).done)break;l=c.value}var p=l;Q().types.isExportAllDeclaration(p)?a.push(ee({KEY:R.scope.generateUidIdentifier("key"),EXPORT_OBJ:Q().types.identifier(s),TARGET:Q().types.identifier(n)})):Q().types.isExportSpecifier(p)&&a.push(Q().types.expressionStatement(Q().types.assignmentExpression("=",Q().types.memberExpression(Q().types.identifier(s),p.exported),Q().types.memberExpression(Q().types.identifier(n),p.local))))}a.push(Q().types.expressionStatement(Q().types.callExpression(Q().types.identifier(f),[Q().types.identifier(s)])))}y.push(Q().types.stringLiteral(e.key)),h.push(Q().types.functionExpression(null,[Q().types.identifier(n)],Q().types.blockStatement(a)))});var H=this.getModuleName();H&&(H=Q().types.stringLiteral(H)),c&&(0,$().default)(R,function(e){return d.push(e)}),d.length&&t.unshift(Q().types.variableDeclaration("var",d.map(function(e){return Q().types.variableDeclarator(e)}))),R.traverse(X,{exports:n,buildCall:u,scope:R.scope});for(var q=0;q=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var s=o;for(var u in n=s.node.id,s.node.init&&t.push(c().expressionStatement(c().assignmentExpression("=",s.node.id,s.node.init))),s.getBindingIdentifiers())a.emit(c().identifier(u),u)}e.parentPath.isFor({left:e.node})?e.replaceWith(n):e.replaceWithMultiple(t)}}}},function(e,a,n){"use strict";var O=n(4);function t(){var e=n(1);return t=function(){return e},e}function F(){var e=n(25);return F=function(){return e},e}function k(){var e=n(171);return k=function(){return e},e}function j(){var e=n(5);return j=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var M=(0,j().template)("\n GLOBAL_REFERENCE = GLOBAL_REFERENCE || {}\n"),I=(0,j().template)('\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMONJS_ARGUMENTS);\n } else {\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n\n GLOBAL_TO_ASSIGN;\n }\n })(this, function(IMPORT_NAMES) {\n })\n'),r=(0,t().declare)(function(e,a){e.assertVersion(7);var A=a.globals,S=a.exactGlobals,_=a.loose,T=a.allowTopLevelThis,P=a.strict,C=a.strictMode,w=a.noInterop;function D(e,a,n){var t;if(a){var r=e[n];t=r?r.split(".").reduce(function(e,a){return j().types.memberExpression(e,j().types.identifier(a))},j().types.identifier("global")):j().types.memberExpression(j().types.identifier("global"),j().types.identifier(j().types.toIdentifier(n)))}else{var d=(0,F().basename)(n,(0,F().extname)(n)),i=e[d]||d;t=j().types.memberExpression(j().types.identifier("global"),j().types.identifier(j().types.toIdentifier(i)))}return t}return{visitor:{Program:{exit:function(e){if((0,k().isModule)(e)){var a=A||{},n=this.getModuleName();n&&(n=j().types.stringLiteral(n));var t=(0,k().rewriteModuleStatementsAndPrepareHeader)(e,{loose:_,strict:P,strictMode:C,allowTopLevelThis:T,noInterop:w}),r=t.meta,d=t.headers,i=[],o=[],s=[],u=[];(0,k().hasExports)(r)&&(i.push(j().types.stringLiteral("exports")),o.push(j().types.identifier("exports")),s.push(j().types.memberExpression(j().types.identifier("mod"),j().types.identifier("exports"))),u.push(j().types.identifier(r.exportName)));var g=r.source,c=Array.isArray(g),l=0;for(g=c?g:O(g);;){var p;if(c){if(l>=g.length)break;p=g[l++]}else{if((l=g.next()).done)break;p=l.value}var R=p,f=R[0],h=R[1];if(i.push(j().types.stringLiteral(f)),o.push(j().types.callExpression(j().types.identifier("require"),[j().types.stringLiteral(f)])),s.push(D(a,S,f)),u.push(j().types.identifier(h.name)),!(0,k().isSideEffectImport)(h)){var y=(0,k().wrapInterop)(e,j().types.identifier(h.name),h.interop);if(y){var m=j().types.expressionStatement(j().types.assignmentExpression("=",j().types.identifier(h.name),y));m.loc=r.loc,d.push(m)}}d.push.apply(d,(0,k().buildNamespaceInitStatements)(r,h,_))}(0,k().ensureStatementsHoisted)(d),e.unshiftContainer("body",d);var v=e.node,b=v.body,E=v.directives;e.node.directives=[],e.node.body=[];var x=e.pushContainer("body",[I({MODULE_NAME:n,AMD_ARGUMENTS:j().types.arrayExpression(i),COMMONJS_ARGUMENTS:o,BROWSER_ARGUMENTS:s,IMPORT_NAMES:u,GLOBAL_TO_ASSIGN:function(e,a,n,t){var r=t?t.value:(0,F().basename)(n,(0,F().extname)(n)),d=j().types.memberExpression(j().types.identifier("global"),j().types.identifier(j().types.toIdentifier(r))),i=[];if(a){var o=e[r];if(o){i=[];var s=o.split(".");d=s.slice(1).reduce(function(e,a){return i.push(M({GLOBAL_REFERENCE:j().types.cloneNode(e)})),j().types.memberExpression(e,j().types.identifier(a))},j().types.memberExpression(j().types.identifier("global"),j().types.identifier(s[0])))}}return i.push(j().types.expressionStatement(j().types.assignmentExpression("=",d,j().types.memberExpression(j().types.identifier("mod"),j().types.identifier("exports"))))),i}(a,S,this.filename||"unknown",n)})])[0].get("expression.arguments")[1].get("body");x.pushContainer("directives",E),x.pushContainer("body",b)}}}}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function i(){var e,a=(e=n(169))&&e.__esModule?e:{default:e};return i=function(){return a},a}function o(){var e=n(5);return o=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{ObjectExpression:function(e,r){var a,d=function(){return a=a||e.scope.generateUidIdentifier("obj")};e.get("properties").forEach(function(e){var a,n,t;e.isMethod()&&(a=e,n=d,t=r,new(i().default)({getObjectRef:n,methodPath:a,file:t}).replace())}),a&&(e.scope.push({id:o().types.cloneNode(a)}),e.replaceWith(o().types.assignmentExpression("=",o().types.cloneNode(a),e.node)))}}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=i(n(1129)),d=i(n(1131));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,t().declare)(function(e,a){e.assertVersion(7);var t=a.loose;return{visitor:{Function:function(e){e.isArrowFunctionExpression()&&e.get("params").some(function(e){return e.isRestElement()||e.isAssignmentPattern()})&&e.arrowFunctionToExpression();var a=(0,d.default)(e),n=(0,r.default)(e,t);(a||n)&&e.scope.crawl()}}}});a.default=o},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function r(){var e=n(5);return r=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{ObjectMethod:function(e){var a=e.node;if("method"===a.kind){var n=r().types.functionExpression(null,a.params,a.body,a.generator,a.async);n.returnType=a.returnType,e.replaceWith(r().types.objectProperty(a.key,n,a.computed))}},ObjectProperty:function(e){var a=e.node;a.shorthand&&(a.shorthand=!1)}}}});a.default=d},function(e,a,n){"use strict";var R=n(4);function t(){var e=n(1);return t=function(){return e},e}function f(){var e=n(5);return f=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e,a){e.assertVersion(7);var c=a.loose;function g(e){for(var a=0;a=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var g=u;f().types.isSpreadElement(g)?(d=l(d,r),r.push((n=g,t=a,c&&!f().types.isIdentifier(n.argument,{name:"arguments"})?n.argument:t.toArray(n.argument,!0)))):d.push(g)}return l(d,r),r}return{visitor:{ArrayExpression:function(e){var a=e.node,n=e.scope,t=a.elements;if(g(t)){var r=p(t,n),d=r.shift();0!==r.length||d===t[0].argument?e.replaceWith(f().types.callExpression(f().types.memberExpression(d,f().types.identifier("concat")),r)):e.replaceWith(d)}},CallExpression:function(e){var a=e.node,n=e.scope,t=a.arguments;if(g(t)){var r=e.get("callee");if(!r.isSuper()){var d,i=n.buildUndefinedNode();a.arguments=[];var o=(d=1===t.length&&"arguments"===t[0].argument.name?[t[0].argument]:p(t,n)).shift();d.length?a.arguments.push(f().types.callExpression(f().types.memberExpression(o,f().types.identifier("concat")),d)):a.arguments.push(o);var s=a.callee;if(r.isMemberExpression()){var u=n.maybeGenerateMemoised(s.object);u?(s.object=f().types.assignmentExpression("=",u,s.object),i=u):i=f().types.cloneNode(s.object),f().types.appendToMemberExpression(s,f().types.identifier("apply"))}else a.callee=f().types.memberExpression(a.callee,f().types.identifier("apply"));f().types.isSuper(i)&&(i=f().types.thisExpression()),a.arguments.unshift(f().types.cloneNode(i))}}},NewExpression:function(e){var a=e.node,n=e.scope,t=a.arguments;if(g(t)){var r=p(t,n),d=r.shift();t=r.length?f().types.callExpression(f().types.memberExpression(d,f().types.identifier("concat")),r):d,e.replaceWith(f().types.callExpression(e.hub.file.addHelper("construct"),[a.callee,t]))}}}}});a.default=r},function(e,a,n){"use strict";var r=n(3),d=n(2);function t(){var e=n(1);return t=function(){return e},e}function i(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(108));return i=function(){return e},e}function o(){var e=n(5);return o=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{RegExpLiteral:function(e){var a=e.node;i().is(a,"y")&&e.replaceWith(o().types.newExpression(o().types.identifier("RegExp"),[o().types.stringLiteral(a.pattern),o().types.stringLiteral(a.flags)]))}}}});a.default=s},function(e,a,n){"use strict";var b=n(4),t=n(41);function E(){var e=t(["\n function ","() {\n const data = ",";\n "," = function() { return data };\n return data;\n } \n "]);return E=function(){return e},e}function r(){var e=n(1);return r=function(){return e},e}function x(){var e=n(5);return x=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,r().declare)(function(e,a){e.assertVersion(7);var R=a.loose,v="taggedTemplateLiteral";return R&&(v+="Loose"),{visitor:{TaggedTemplateExpression:function(e){var a=e.node,n=a.quasi,t=[],r=[],d=!0,i=n.quasis,o=Array.isArray(i),s=0;for(i=o?i:b(i);;){var u;if(o){if(s>=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var g=u.value,c=g.raw,l=g.cooked,p=null==l?e.scope.buildUndefinedNode():x().types.stringLiteral(l);t.push(p),r.push(x().types.stringLiteral(c)),c!==l&&(d=!1)}var R=e.scope.getProgramParent(),f=R.generateUidIdentifier("templateObject"),h=this.addHelper(v),y=[x().types.arrayExpression(t)];d||y.push(x().types.arrayExpression(r));var m=x().template.ast(E(),f,x().types.callExpression(h,y),f);R.path.unshiftContainer("body",m),e.replaceWith(x().types.callExpression(a.tag,[x().types.callExpression(x().types.cloneNode(f),[])].concat(n.expressions)))},TemplateLiteral:function(e){var a=[],n=e.get("expressions"),t=0,r=e.node.quasis,d=Array.isArray(r),i=0;for(r=d?r:b(r);;){var o;if(d){if(i>=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var s=o;if(s.value.cooked&&a.push(x().types.stringLiteral(s.value.cooked)),t=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;if(m().types.isImportDeclaration(i)){if(0===i.node.specifiers.length)return;var o=!0,s=[],u=i.node.specifiers,g=Array.isArray(u),c=0;for(u=g?u:y(u);;){var l;if(g){if(c>=u.length)break;l=u[c++]}else{if((c=u.next()).done)break;l=c.value}var p=l,R=i.scope.getBinding(p.local.name);R&&h(R,a.programPath)?s.push(R.path):o=!1}if(o)i.remove();else for(var f=0;f=n.length)break;i=n[d++]}else{if((d=n.next()).done)break;i=d.value}var o=i;"TSParameterProperty"===o.type&&a.push(o.parameter)}if(a.length){var s=a.map(function(e){var a;if(m().types.isIdentifier(e))a=e.name;else{if(!m().types.isAssignmentPattern(e)||!m().types.isIdentifier(e.left))throw t.buildCodeFrameError("Parameter properties can not be destructuring patterns.");a=e.left.name}var n=m().types.assignmentExpression("=",m().types.memberExpression(m().types.thisExpression(),m().types.identifier(a)),m().types.identifier(a));return m().types.expressionStatement(n)}),u=e.body.body,g=u[0],c=void 0!==g&&m().types.isExpressionStatement(g)&&m().types.isCallExpression(g.expression)&&m().types.isSuper(g.expression.callee);e.body.body=c?[g].concat(s,u.slice(1)):s.concat(u)}}},TSParameterProperty:function(e){e.replaceWith(e.node.parameter)},ClassProperty:function(e){var a=e.node;a.value?(a.accessibility&&(a.accessibility=null),a.abstract&&(a.abstract=null),a.readonly&&(a.readonly=null),a.optional&&(a.optional=null),a.definite&&(a.definite=null),a.typeAnnotation&&(a.typeAnnotation=null)):e.remove()},TSIndexSignature:function(e){e.remove()},ClassDeclaration:function(e){var a=e.node;a.declare?e.remove():a.abstract&&(a.abstract=null)},Class:function(e){var a=e.node;a.typeParameters&&(a.typeParameters=null),a.superTypeParameters&&(a.superTypeParameters=null),a.implements&&(a.implements=null)},Function:function(e){var a=e.node;a.typeParameters&&(a.typeParameters=null),a.returnType&&(a.returnType=null);var n=a.params[0];n&&m().types.isIdentifier(n)&&"this"===n.name&&a.params.shift()},TSModuleDeclaration:function(e){if(!e.node.declare&&"StringLiteral"!==e.node.id.type)throw e.buildCodeFrameError("Namespaces are not supported.");e.remove()},TSInterfaceDeclaration:function(e){e.remove()},TSTypeAliasDeclaration:function(e){e.remove()},TSEnumDeclaration:function(e){(0,d.default)(e,m().types)},TSImportEqualsDeclaration:function(e){throw e.buildCodeFrameError("`import =` is not supported by @babel/plugin-transform-typescript\nPlease consider using `import from '';` alongside Typescript's --allowSyntheticDefaultImports option.")},TSExportAssignment:function(e){throw e.buildCodeFrameError("`export =` is not supported by @babel/plugin-transform-typescript\nPlease consider using `export ;`.")},TSTypeAssertion:function(e){e.replaceWith(e.node.expression)},TSAsExpression:function(e){e.replaceWith(e.node.expression)},TSNonNullExpression:function(e){e.replaceWith(e.node.expression)},CallExpression:function(e){e.node.typeParameters=null},NewExpression:function(e){e.node.typeParameters=null}}};function t(e){var a=e.node;a.typeAnnotation&&(a.typeAnnotation=null),m().types.isIdentifier(a)&&a.optional&&(a.optional=null)}function h(e,a){var n=e.referencePaths,t=Array.isArray(n),r=0;for(n=t?n:y(n);;){var d;if(t){if(r>=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}if(!s(d))return!1}if(e.identifier.name!==o)return!0;var i=!1;return a.traverse({JSXElement:function(){i=!0}}),!i}});a.default=o},function(e,a,n){"use strict";var r=n(3),d=n(2);function t(){var e=n(1);return t=function(){return e},e}function i(){var e,a=(e=n(313))&&e.__esModule?e:{default:e};return i=function(){return a},a}function o(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(108));return o=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{RegExpLiteral:function(e){var a=e.node;o().is(a,"u")&&(a.pattern=(0,i().default)(a.pattern,a.flags),o().pullFlag(a,"u"))}}}});a.default=s},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function r(){var e,a=(e=n(1136))&&e.__esModule?e:{default:e};return r=function(){return a},a}function d(){var e=n(5);return d=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:(0,r().default)({operator:"**",build:function(e,a){return d().types.callExpression(d().types.memberExpression(d().types.identifier("Math"),d().types.identifier("pow")),[e,a])}})}});a.default=i},function(e,a,n){"use strict";var c=n(4);function t(){var e=n(1);return t=function(){return e},e}function r(){var e,a=(e=n(166))&&e.__esModule?e:{default:e};return r=function(){return a},a}function d(){var e=n(5);return d=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=(0,t().declare)(function(e){e.assertVersion(7);var g=!1;return{inherits:r().default,visitor:{Program:function(e,a){var n=a.file.ast.comments,t=a.opts,r=g=!1,d=n,i=Array.isArray(d),o=0;for(d=i?d:c(d);;){var s;if(i){if(o>=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s;0<=u.value.indexOf("@flow")&&(r=!0,u.value=u.value.replace("@flow",""),u.value.replace(/\*/g,"").trim()||(u.ignore=!0))}!r&&t.requireDirective&&(g=!0)},ImportDeclaration:function(e){if(!g&&e.node.specifiers.length){var n=0;e.node.specifiers.forEach(function(e){var a=e.importKind;"type"!==a&&"typeof"!==a||n++}),n===e.node.specifiers.length&&e.remove()}},Flow:function(e){if(g)throw e.buildCodeFrameError("A @flow directive is required when using Flow annotations with the `requireDirective` option.");e.remove()},ClassProperty:function(e){g||(e.node.variance=null,e.node.typeAnnotation=null,e.node.value||e.remove())},Class:function(e){g||(e.node.implements=null,e.get("body.body").forEach(function(e){e.isClassProperty()&&(e.node.typeAnnotation=null,e.node.value||e.remove())}))},AssignmentPattern:function(e){var a=e.node;g||(a.left.optional=!1)},Function:function(e){var a=e.node;if(!g){for(var n=0;n=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d,o=i.get("key");if(i.node.computed&&!o.isPure()){var s=e.scope.generateUidBasedOnNode(o.node),u=f().types.variableDeclarator(f().types.identifier(s),o.node);a.push(u),o.replaceWith(f().types.identifier(s))}}return a}(e),s=function(e){var a=[],n=!0,t=e.node.properties,r=Array.isArray(t),d=0;for(t=r?t:R(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;f().types.isIdentifier(o.key)&&!o.computed?a.push(f().types.stringLiteral(o.key.name)):f().types.isLiteral(o.key)?a.push(f().types.stringLiteral(String(o.key.value))):(a.push(f().types.cloneNode(o.key)),n=!1)}return{keys:a,allLiteral:n}}(e),u=s.keys,g=s.allLiteral;return 0===u.length?[o,d.argument,f().types.callExpression(l(a),[f().types.objectExpression([]),f().types.cloneNode(n)])]:(i=g?f().types.arrayExpression(u):f().types.callExpression(f().types.memberExpression(f().types.arrayExpression(u),f().types.identifier("map")),[a.addHelper("toPropertyKey")]),[o,d.argument,f().types.callExpression(a.addHelper("objectWithoutProperties"),[f().types.cloneNode(n),i])])}function s(e,a,n,t){if(a.isAssignmentPattern())s(e,a.get("left"),n,t);else{if(a.isArrayPattern()&&g(a))for(var r=a.get("elements"),d=0;d=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;if(f().types.isSpreadElement(d))return!0}return!1}(e.node)){var n,t=[],r=[];f().types.isSpreadElement(e.node.properties[0])&&t.push(f().types.objectExpression([]));var d=e.node.properties,i=Array.isArray(d),o=0;for(d=i?d:R(d);;){var s;if(i){if(o>=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s;f().types.isSpreadElement(u)?(g(),t.push(u.argument)):r.push(u)}g(),n=c?l(a):a.addHelper("objectSpread"),e.replaceWith(f().types.callExpression(n,t))}function g(){r.length&&(t.push(f().types.objectExpression(r)),r=[])}}}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function r(){var e,a=(e=n(290))&&e.__esModule?e:{default:e};return r=function(){return a},a}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,t().declare)(function(e){return e.assertVersion(7),{inherits:r().default,visitor:{CatchClause:function(e){if(!e.node.param){var a=e.scope.generateUidIdentifier("unused");e.get("param").replaceWith(a)}}}}});a.default=d},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function o(){var e,a=(e=n(25))&&e.__esModule?e:{default:e};return o=function(){return a},a}function s(){var e=n(5);return s=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){function d(e,a){for(var n=a.arguments[0].properties,t=!0,r=0;r=o.length)break;g=o[u++]}else{if((u=o.next()).done)break;g=u.value}var c=g,l=y.exec(c.value);l&&(t=l[1],d=!0);var p=m.exec(c.value);p&&(r=p[1],i=!0)}a.set("jsxIdentifier",v(t)),a.set("jsxFragIdentifier",v(r)),a.set("usedFragment",!1),a.set("pragmaSet",d),a.set("pragmaFragSet",i)},exit:function(e,a){if(a.get("pragmaSet")&&a.get("usedFragment")&&!a.get("pragmaFragSet"))throw new Error("transform-react-jsx: pragma has been set but pragmafrag has not been set")}},n.JSXAttribute=function(e){i().types.isJSXElement(e.node.value)&&(e.node.value=i().types.jsxExpressionContainer(e.node.value))},{inherits:r().default,visitor:n}});a.default=s},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function r(){var e=n(5);return r=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{JSXOpeningElement:function(e){var a=e.node,n=r().types.jsxIdentifier("__self"),t=r().types.thisExpression();a.attributes.push(r().types.jsxAttribute(n,r().types.jsxExpressionContainer(t)))}}}});a.default=d},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function f(){var e=n(5);return f=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{JSXOpeningElement:function(e,a){var n=f().types.jsxIdentifier("__source"),t=e.container.openingElement.loc;if(t){for(var r=e.container.openingElement.attributes,d=0;d=e.length?(this._t=void 0,r(1)):r(0,"keys"==a?n:"values"==a?e[n]:[n,e[n]])},"values"),d.Arguments=d.Array,t("keys"),t("values"),t("entries")},function(e,a){e.exports=function(){}},function(e,a,n){"use strict";var t=n(81),r=n(65),d=n(67),i={};n(34)(i,n(18)("iterator"),function(){return this}),e.exports=function(e,a,n){e.prototype=t(i,{next:r(1,n)}),d(e,a+" Iterator")}},function(e,a,n){var s=n(111),u=n(109);e.exports=function(o){return function(e,a){var n,t,r=String(u(e)),d=s(a),i=r.length;return d<0||i<=d?o?"":void 0:(n=r.charCodeAt(d))<55296||56319=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}if(e[i])return!0}return!1},a.create=function(e,a,n,t){return i.default.get({parentPath:this.parentPath,parent:e,container:a,key:n,listKey:t})},a.maybeQueue=function(e,a){if(this.trap)throw new Error("Infinite cycle detected");this.queue&&(a?this.queue.push(e):this.priorityQueue.push(e))},a.visitMultiple=function(e,a,n){if(0===e.length)return!1;for(var t=[],r=0;r=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;if(o.resync(),0!==o.contexts.length&&o.contexts[o.contexts.length-1]===this||o.pushContext(this),null!==o.key&&!(0<=a.indexOf(o.node))){if(a.push(o.node),o.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,n))break}}var s=e,u=Array.isArray(s),g=0;for(s=u?s:l(s);;){var c;if(u){if(g>=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}c.popContext()}return this.queue=null,n},a.visit=function(e,a){var n=e[a];return!!n&&(Array.isArray(n)?this.visitMultiple(n,e,a):this.visitSingle(e,a))},e}();a.default=s},function(e,a,n){"use strict";var t;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,((t=n(193))&&t.__esModule?t:{default:t}).default)("React.Component");a.default=r},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){return!!e&&/^[a-z]/.test(e)}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){for(var a=[],n=0;nn.length)throw new Error(t+": Too many arguments passed. Received "+d+" but can receive no more than "+n.length);var i={type:t},o=0;for(var s in n.forEach(function(e){var a,n=g.NODE_FIELDS[t][e];oi;)d.call(e,t=r[i++])&&a.push(t);return a}},function(e,a){e.exports=function(e,a){for(var n=-1,t=null==e?0:e.length,r=0,d=[];++n=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var g=u;if(d=!1,(0,A.isExpression)(g))r.push(g);else if((0,A.isExpressionStatement)(g))r.push(g.expression);else if((0,A.isVariableDeclaration)(g)){if("var"!==g.kind)return;for(var c=g.declarations,l=Array.isArray(c),p=0,c=l?c:E(c);;){var R;if(l){if(p>=c.length)break;R=c[p++]}else{if((p=c.next()).done)break;R=p.value}var f=R,h=(0,x.default)(f);for(var y in h)t.push({kind:g.kind,id:(0,_.default)(h[y])});f.init&&r.push((0,S.assignmentExpression)("=",f.id,f.init))}d=!0}else if((0,A.isIfStatement)(g)){var m=g.consequent?e([g.consequent],n,t):n.buildUndefinedNode(),v=g.alternate?e([g.alternate],n,t):n.buildUndefinedNode();if(!m||!v)return;r.push((0,S.conditionalExpression)(g.test,m,v))}else if((0,A.isBlockStatement)(g)){var b=e(g.body,n,t);if(!b)return;r.push(b)}else{if(!(0,A.isEmptyStatement)(g))return;d=!0}}d&&r.push(n.buildUndefinedNode());return 1===r.length?r[0]:(0,S.sequenceExpression)(r)};var x=t(n(95)),A=n(13),S=n(22),_=t(n(72));function t(e){return e&&e.__esModule?e:{default:e}}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){if((0,r.isStatement)(e))return e;var n,t=!1;if((0,r.isClass)(e))t=!0,n="ClassDeclaration";else if((0,r.isFunction)(e))t=!0,n="FunctionDeclaration";else if((0,r.isAssignmentExpression)(e))return(0,d.expressionStatement)(e);t&&!e.id&&(n=!1);if(!n){if(a)return!1;throw new Error("cannot turn "+e.type+" to a statement")}return e.type=n,e};var r=n(13),d=n(22)},function(e,a,n){"use strict";var u=n(502),g=n(232),c=n(233);function l(){var e=t(n(510));return l=function(){return e},e}function p(){var e=t(n(511));return p=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function e(a){if(void 0===a)return(0,f.identifier)("undefined");if(!0===a||!1===a)return(0,f.booleanLiteral)(a);if(null===a)return(0,f.nullLiteral)();if("string"==typeof a)return(0,f.stringLiteral)(a);if("number"==typeof a){var n,t;if(c(a))n=(0,f.numericLiteral)(Math.abs(a));else t=g(a)?(0,f.numericLiteral)(0):(0,f.numericLiteral)(1),n=(0,f.binaryExpression)("/",t,(0,f.numericLiteral)(0));return(a<0||u(a,-0))&&(n=(0,f.unaryExpression)("-",n)),n}if((0,p().default)(a)){var r=a.source,d=a.toString().match(/\/([a-z]+|)$/)[1];return(0,f.regExpLiteral)(r,d)}if(Array.isArray(a))return(0,f.arrayExpression)(a.map(e));if((0,l().default)(a)){var i=[];for(var o in a){var s=void 0;s=(0,R.default)(o)?(0,f.identifier)(o):(0,f.stringLiteral)(o),i.push((0,f.objectProperty)(s,e(a[o])))}return(0,f.objectExpression)(i)}throw new Error("don't know how to turn this value into a node")};var R=t(n(71)),f=n(22);function t(e){return e&&e.__esModule?e:{default:e}}},function(e,a,n){e.exports=n(503)},function(e,a,n){n(504),e.exports=n(8).Object.is},function(e,a,n){var t=n(10);t(t.S,"Object",{is:n(505)})},function(e,a){e.exports=Object.is||function(e,a){return e===a?0!==e||1/e==1/a:e!=e&&a!=a}},function(e,a,n){n(507),e.exports=n(8).Number.isNaN},function(e,a,n){var t=n(10);t(t.S,"Number",{isNaN:function(e){return e!=e}})},function(e,a,n){n(509),e.exports=n(8).Number.isFinite},function(e,a,n){var t=n(10),r=n(14).isFinite;t(t.S,"Number",{isFinite:function(e){return"number"==typeof e&&r(e)}})},function(e,a,n){var t=n(37),r=n(139),d=n(28),i="[object Object]",o=Function.prototype,s=Object.prototype,u=o.toString,g=s.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!d(e)||t(e)!=i)return!1;var a=r(e);if(null===a)return!0;var n=g.call(a,"constructor")&&a.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},function(e,a,n){var t=n(512),r=n(57),d=n(91),i=d&&d.isRegExp,o=i?r(i):t;e.exports=o},function(e,a,n){var t=n(37),r=n(28),d="[object RegExp]";e.exports=function(e){return r(e)&&t(e)==d}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a,n){void 0===n&&(n=!1);return e.object=(0,t.memberExpression)(e.object,e.property,e.computed),e.property=a,e.computed=!!n,e};var t=n(22)},function(e,a,n){"use strict";var p=n(4);Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){if(!e||!a)return e;for(var n=R.INHERIT_KEYS.optional,t=Array.isArray(n),r=0,n=t?n:p(n);;){var d;if(t){if(r>=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;null==e[i]&&(e[i]=a[i])}for(var o in a)"_"===o[0]&&"__clone"!==o&&(e[o]=a[o]);for(var s=R.INHERIT_KEYS.force,u=Array.isArray(s),g=0,s=u?s:p(s);;){var c;if(u){if(g>=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c;e[l]=a[l]}return(0,f.default)(e,a),e};var t,R=n(44),f=(t=n(224))&&t.__esModule?t:{default:t}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){return e.object=(0,t.memberExpression)(a,e.object),e};var t=n(22)},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){return(0,r.default)(e,a,!0)};var t,r=(t=n(95))&&t.__esModule?t:{default:t}},function(e,a,n){"use strict";var f=n(4);Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a,n){"function"==typeof a&&(a={enter:a});var t=a,r=t.enter,d=t.exit;!function e(a,n,t,r,d){var i=h.VISITOR_KEYS[a.type];if(!i)return;n&&n(a,d,r);for(var o=i,s=Array.isArray(o),u=0,o=s?o:f(o);;){var g;if(s){if(u>=o.length)break;g=o[u++]}else{if((u=o.next()).done)break;g=u.value}var c=g,l=a[c];if(Array.isArray(l))for(var p=0;p=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var s=o;if(typeof a[s]!=typeof n[s])return!1;if(Array.isArray(a[s])){if(!Array.isArray(n[s]))return!1;if(a[s].length!==n[s].length)return!1;for(var u=0;u=d)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}},function(e,a){e.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!1,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{Y:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{Cache:!1,caches:!1,CacheStorage:!1,Client:!1,clients:!1,Clients:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,FetchEvent:!1,importScripts:!1,registration:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,skipWaiting:!1,WindowClient:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}}},function(e,a,n){n(51),n(50),n(546),n(547),n(548),e.exports=n(8).WeakMap},function(e,a,n){"use strict";var d,t=n(124)(0),i=n(121),r=n(49),o=n(177),s=n(241),u=n(15),g=n(35),c=n(53),l="WeakMap",p=r.getWeak,R=Object.isExtensible,f=s.ufstore,h={},y=function(e){return function(){return e(this,0=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},p.prototype.sourceContentFor=function(e,a){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=v.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=v.urlParse(this.sourceRoot))){var t=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(t))return this.sourcesContent[this._sources.indexOf(t)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(a)return null;throw new Error('"'+e+'" is not in the SourceMap.')},p.prototype.generatedPositionFor=function(e){var a=v.getArg(e,"source");if(null!=this.sourceRoot&&(a=v.relative(this.sourceRoot,a)),!this._sources.has(a))return{line:null,column:null,lastColumn:null};var n={source:a=this._sources.indexOf(a),originalLine:v.getArg(e,"line"),originalColumn:v.getArg(e,"column")},t=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,v.getArg(e,"bias",i.GREATEST_LOWER_BOUND));if(0<=t){var r=this._originalMappings[t];if(r.source===n.source)return{line:v.getArg(r,"generatedLine",null),column:v.getArg(r,"generatedColumn",null),lastColumn:v.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},a.BasicSourceMapConsumer=p,(t.prototype=c(i.prototype)).constructor=i,t.prototype._version=3,Object.defineProperty(t.prototype,"sources",{get:function(){for(var e=[],a=0;a=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;this._printComment(d)}}},e}();function E(){this.token(","),this.space()}t((a.default=b).prototype,R)},function(e,a,n){n(51),n(50),n(561),n(562),n(563),e.exports=n(8).WeakSet},function(e,a,n){"use strict";var t=n(241),r=n(53);n(84)("WeakSet",function(e){return function(){return e(this,0":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10},o=function(e,a){return(g().isClassDeclaration(a)||g().isClassExpression(a))&&a.superClass===e};function t(e,a){return g().isMemberExpression(a,{object:e})||g().isCallExpression(a,{callee:e})||g().isNewExpression(a,{callee:e})||g().isBinaryExpression(a,{operator:"**",left:e})||o(e,a)}function s(e,a){return!!(g().isUnaryLike(a)||g().isBinary(a)||g().isConditionalExpression(a,{test:e})||g().isAwaitExpression(a)||g().isTaggedTemplateExpression(a)||g().isTSTypeAssertion(a)||g().isTSAsExpression(a))||t(e,a)}function u(e,a){for(var n=void 0===a?{}:a,t=n.considerArrow,r=void 0!==t&&t,d=n.considerDefaultExports,i=void 0!==d&&d,o=e.length-1,s=e[o],u=e[--o];0=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var s=o;s.init&&(t=!0)}t&&(n="const"===e.kind?h:f);if(this.printList(e.declarations,e,{separator:n}),g().isFor(a)&&(a.left===e||a.init===e))return;this.semicolon()},a.VariableDeclarator=function(e){this.print(e.id,e),e.definite&&this.token("!");this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.token("="),this.space(),this.print(e.init,e))},a.ThrowStatement=a.BreakStatement=a.ReturnStatement=a.ContinueStatement=a.ForOfStatement=a.ForInStatement=void 0;var t=function(a){return function(e){this.word("for"),this.space(),"of"===a&&e.await&&(this.word("await"),this.space()),this.token("("),this.print(e.left,e),this.space(),this.word(a),this.space(),this.print(e.right,e),this.token(")"),this.printBlock(e)}},i=t("in");a.ForInStatement=i;var o=t("of");function s(r,d){return void 0===d&&(d="label"),function(e){this.word(r);var a=e[d];if(a){this.space();var n="label"==d,t=this.startTerminatorless(n);this.print(a,e),this.endTerminatorless(t)}this.semicolon()}}a.ForOfStatement=o;var c=s("continue");a.ContinueStatement=c;var l=s("return","argument");a.ReturnStatement=l;var p=s("break");a.BreakStatement=p;var R=s("throw","argument");function f(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var e=0;e<4;e++)this.space(!0)}function h(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var e=0;e<6;e++)this.space(!0)}a.ThrowStatement=R},function(e,a,n){"use strict";var r=n(3),d=n(2);function t(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.ClassExpression=a.ClassDeclaration=function(e,a){t().isExportDefaultDeclaration(a)||t().isExportNamedDeclaration(a)||this.printJoin(e.decorators,e);e.declare&&(this.word("declare"),this.space());e.abstract&&(this.word("abstract"),this.space());this.word("class"),e.id&&(this.space(),this.print(e.id,e));this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e));e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e));this.space(),this.print(e.body,e)},a.ClassBody=function(e){this.token("{"),this.printInnerComments(e),0===e.body.length?this.token("}"):(this.newline(),this.indent(),this.printSequence(e.body,e),this.dedent(),this.endsWith("\n")||this.newline(),this.rightBrace())},a.ClassProperty=function(e){this.printJoin(e.decorators,e),e.accessibility&&(this.word(e.accessibility),this.space());e.static&&(this.word("static"),this.space());e.abstract&&(this.word("abstract"),this.space());e.readonly&&(this.word("readonly"),this.space());e.computed?(this.token("["),this.print(e.key,e),this.token("]")):(this._variance(e),this.print(e.key,e));e.optional&&this.token("?");e.definite&&this.token("!");this.print(e.typeAnnotation,e),e.value&&(this.space(),this.token("="),this.space(),this.print(e.value,e));this.semicolon()},a.ClassPrivateProperty=function(e){e.static&&(this.word("static"),this.space());this.print(e.key,e),e.value&&(this.space(),this.token("="),this.space(),this.print(e.value,e));this.semicolon()},a.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body,e)},a._classMethodHead=function(e){this.printJoin(e.decorators,e),e.accessibility&&(this.word(e.accessibility),this.space());e.abstract&&(this.word("abstract"),this.space());e.static&&(this.word("static"),this.space());this._methodHead(e)}},function(e,a,n){"use strict";var r=n(3),d=n(2);function i(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return i=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a._params=function(e){this.print(e.typeParameters,e),this.token("("),this._parameters(e.params,e),this.token(")"),this.print(e.returnType,e)},a._parameters=function(e,a){for(var n=0;n"),this.space(),this.print(e.body,e)}},function(r,e,d){"use strict";(function(e){var L=d(17),U=d(36),a={},t=a.hasOwnProperty,V=function(e,a){for(var n in e)t.call(e,n)&&a(n,e[n])},W=a.toString,G=Array.isArray,K=e.isBuffer,H={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},q=/["'\\\b\f\n\r\t]/,Y=/[0-9]/,X=/[ !#-&\(-\[\]-~]/,n=function n(e,t){var r,a,d=function(){m=y,++t.indentLevel,y=t.indent.repeat(t.indentLevel)},i={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},o=t&&t.json;o&&(i.quotes="double",i.wrap=!0),r=i,(a=t)&&V(a,function(e,a){r[e]=a}),"single"!=(t=r).quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");var s,u,g,c,l,p,R="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",f=t.compact,h=t.lowercaseHex,y=t.indent.repeat(t.indentLevel),m="",v=t.__inline1__,b=t.__inline2__,E=f?"":"\n",x=!0,A="binary"==t.numbers,S="octal"==t.numbers,_="decimal"==t.numbers,T="hexadecimal"==t.numbers;if(o&&e&&"function"==typeof e.toJSON&&(e=e.toJSON()),"string"!=typeof(p=e)&&"[object String]"!=W.call(p)){if(l=e,"[object Map]"==W.call(l))return 0==e.size?"new Map()":(f||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+n(U(e),t)+")");if(c=e,"[object Set]"==W.call(c))return 0==e.size?"new Set()":"new Set("+n(U(e),t)+")";if(K(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+n(U(e),t)+")";if(G(e))return s=[],t.wrap=!0,v&&(t.__inline1__=!1,t.__inline2__=!0),b||d(),function(e,a){for(var n=e.length,t=-1;++t>16&255,d[o++]=t>>8&255,d[o++]=255&t;2===r?(t=u[e.charCodeAt(a)]<<2|u[e.charCodeAt(a+1)]>>4,d[o++]=255&t):1===r&&(t=u[e.charCodeAt(a)]<<10|u[e.charCodeAt(a+1)]<<4|u[e.charCodeAt(a+2)]>>2,d[o++]=t>>8&255,d[o++]=255&t);return d},a.fromByteArray=function(e){for(var a,n=e.length,t=n%3,r="",d=[],i=0,o=n-t;i>2],r+=s[a<<4&63],r+="=="):2===t&&(a=(e[n-2]<<8)+e[n-1],r+=s[a>>10],r+=s[a>>4&63],r+=s[a<<2&63],r+="=");return d.push(r),d.join("")};for(var s=[],u=[],g="undefined"!=typeof Uint8Array?Uint8Array:Array,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,d=t.length;r>18&63]+s[r>>12&63]+s[r>>6&63]+s[63&r]);return d.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},function(e,a){a.read=function(e,a,n,t,r){var d,i,o=8*r-t-1,s=(1<>1,g=-7,c=n?r-1:0,l=n?-1:1,p=e[a+c];for(c+=l,d=p&(1<<-g)-1,p>>=-g,g+=o;0>=-g,g+=t;0>1,l=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=t?0:d-1,R=t?1:-1,f=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(o=isNaN(a)?1:0,i=g):(i=Math.floor(Math.log(a)/Math.LN2),a*(s=Math.pow(2,-i))<1&&(i--,s*=2),2<=(a+=1<=i+c?l/s:l*Math.pow(2,1-c))*s&&(i++,s/=2),g<=i+c?(o=0,i=g):1<=i+c?(o=(a*s-1)*Math.pow(2,r),i+=c):(o=a*Math.pow(2,c-1)*Math.pow(2,r),i=0));8<=r;e[n+p]=255&o,p+=R,o/=256,r-=8);for(i=i<"));this.space(),this.print(e.returnType,e)},a.FunctionTypeParam=function(e){this.print(e.name,e),e.optional&&this.token("?");e.name&&(this.token(":"),this.space());this.print(e.typeAnnotation,e)},a.GenericTypeAnnotation=a.ClassImplements=a.InterfaceExtends=function(e){this.print(e.id,e),this.print(e.typeParameters,e)},a._interfaceish=function(e){this.print(e.id,e),this.print(e.typeParameters,e),e.extends.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e));e.mixins&&e.mixins.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e));e.implements&&e.implements.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e));this.space(),this.print(e.body,e)},a._variance=function(e){e.variance&&("plus"===e.variance.kind?this.token("+"):"minus"===e.variance.kind&&this.token("-"))},a.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},a.InterfaceTypeAnnotation=function(e){this.word("interface"),e.extends&&e.extends.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e));this.space(),this.print(e.body,e)},a.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:s})},a.MixedTypeAnnotation=function(){this.word("mixed")},a.EmptyTypeAnnotation=function(){this.word("empty")},a.NullableTypeAnnotation=function(e){this.token("?"),this.print(e.typeAnnotation,e)},a.NumberTypeAnnotation=function(){this.word("number")},a.StringTypeAnnotation=function(){this.word("string")},a.ThisTypeAnnotation=function(){this.word("this")},a.TupleTypeAnnotation=function(e){this.token("["),this.printList(e.types,e),this.token("]")},a.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument,e)},a.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),this.space(),this.token("="),this.space(),this.print(e.right,e),this.semicolon()},a.TypeAnnotation=function(e){this.token(":"),this.space(),e.optional&&this.token("?");this.print(e.typeAnnotation,e)},a.TypeParameterDeclaration=a.TypeParameterInstantiation=function(e){this.token("<"),this.printList(e.params,e,{}),this.token(">")},a.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound,e);e.default&&(this.space(),this.token("="),this.space(),this.print(e.default,e))},a.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),e.supertype&&(this.token(":"),this.space(),this.print(e.supertype,e));e.impltype&&(this.space(),this.token("="),this.space(),this.print(e.impltype,e));this.semicolon()},a.ObjectTypeAnnotation=function(e){var a=this;e.exact?this.token("{|"):this.token("{");var n=e.properties.concat(e.callProperties||[],e.indexers||[],e.internalSlots||[]);n.length&&(this.space(),this.printJoin(n,e,{addNewlines:function(e){if(e&&!n[0])return 1},indent:!0,statement:!0,iterator:function(){1!==n.length&&(a.token(","),a.space())}}),this.space());e.exact?this.token("|}"):this.token("}")},a.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space());this.token("["),this.token("["),this.print(e.id,e),this.token("]"),this.token("]"),e.optional&&this.token("?");e.method||(this.token(":"),this.space());this.print(e.value,e)},a.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space());this.print(e.value,e)},a.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space());this._variance(e),this.token("["),e.id&&(this.print(e.id,e),this.token(":"),this.space());this.print(e.key,e),this.token("]"),this.token(":"),this.space(),this.print(e.value,e)},a.ObjectTypeProperty=function(e){e.static&&(this.word("static"),this.space());this._variance(e),this.print(e.key,e),e.optional&&this.token("?");e.method||(this.token(":"),this.space());this.print(e.value,e)},a.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument,e)},a.QualifiedTypeIdentifier=function(e){this.print(e.qualification,e),this.token("."),this.print(e.id,e)},a.UnionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:u})},a.TypeCastExpression=function(e){this.token("("),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.token(")")},a.Variance=function(e){"plus"===e.kind?this.token("+"):this.token("-")},a.VoidTypeAnnotation=function(){this.word("void")},Object.defineProperty(a,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.NumericLiteral}}),Object.defineProperty(a,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return o.StringLiteral}});var i=n(247),o=n(155);function s(){this.space(),this.token("&"),this.space()}function u(){this.space(),this.token("|"),this.space()}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.File=function(e){e.program&&this.print(e.program.interpreter,e);this.print(e.program,e)},a.Program=function(e){this.printInnerComments(e,!1),this.printSequence(e.directives,e),e.directives&&e.directives.length&&this.newline();this.printSequence(e.body,e)},a.BlockStatement=function(e){this.token("{"),this.printInnerComments(e);var a=e.directives&&e.directives.length;e.body.length||a?(this.newline(),this.printSequence(e.directives,e,{indent:!0}),a&&this.newline(),this.printSequence(e.body,e,{indent:!0}),this.removeTrailingNewline(),this.source("end",e.loc),this.endsWith("\n")||this.newline(),this.rightBrace()):(this.source("end",e.loc),this.token("}"))},a.Noop=function(){},a.Directive=function(e){this.print(e.value,e),this.semicolon()},a.InterpreterDirective=function(e){this.token("#!"+e.value+"\n")},Object.defineProperty(a,"DirectiveLiteral",{enumerable:!0,get:function(){return t.StringLiteral}});var t=n(155)},function(e,a,n){"use strict";var o=n(4);function t(){this.space()}Object.defineProperty(a,"__esModule",{value:!0}),a.JSXAttribute=function(e){this.print(e.name,e),e.value&&(this.token("="),this.print(e.value,e))},a.JSXIdentifier=function(e){this.word(e.name)},a.JSXNamespacedName=function(e){this.print(e.namespace,e),this.token(":"),this.print(e.name,e)},a.JSXMemberExpression=function(e){this.print(e.object,e),this.token("."),this.print(e.property,e)},a.JSXSpreadAttribute=function(e){this.token("{"),this.token("..."),this.print(e.argument,e),this.token("}")},a.JSXExpressionContainer=function(e){this.token("{"),this.print(e.expression,e),this.token("}")},a.JSXSpreadChild=function(e){this.token("{"),this.token("..."),this.print(e.expression,e),this.token("}")},a.JSXText=function(e){var a=this.getPossibleRaw(e);null!=a?this.token(a):this.token(e.value)},a.JSXElement=function(e){var a=e.openingElement;if(this.print(a,e),a.selfClosing)return;this.indent();for(var n=e.children,t=Array.isArray(n),r=0,n=t?n:o(n);;){var d;if(t){if(r>=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;this.print(i,e)}this.dedent(),this.print(e.closingElement,e)},a.JSXOpeningElement=function(e){this.token("<"),this.print(e.name,e),0")):this.token(">")},a.JSXClosingElement=function(e){this.token("")},a.JSXEmptyExpression=function(e){this.printInnerComments(e)},a.JSXFragment=function(e){this.print(e.openingFragment,e),this.indent();for(var a=e.children,n=Array.isArray(a),t=0,a=n?a:o(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;this.print(d,e)}this.dedent(),this.print(e.closingFragment,e)},a.JSXOpeningFragment=function(){this.token("<"),this.token(">")},a.JSXClosingFragment=function(){this.token("")}},function(e,a,n){"use strict";var o=n(4);function r(e,a){!0!==a&&e.token(a)}Object.defineProperty(a,"__esModule",{value:!0}),a.TSTypeAnnotation=function(e){this.token(":"),this.space(),e.optional&&this.token("?");this.print(e.typeAnnotation,e)},a.TSTypeParameterDeclaration=a.TSTypeParameterInstantiation=function(e){this.token("<"),this.printList(e.params,e,{}),this.token(">")},a.TSTypeParameter=function(e){this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint,e));e.default&&(this.space(),this.token("="),this.space(),this.print(e.default,e))},a.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space());e.readonly&&(this.word("readonly"),this.space());this._param(e.parameter)},a.TSDeclareFunction=function(e){e.declare&&(this.word("declare"),this.space());this._functionHead(e),this.token(";")},a.TSDeclareMethod=function(e){this._classMethodHead(e),this.token(";")},a.TSQualifiedName=function(e){this.print(e.left,e),this.token("."),this.print(e.right,e)},a.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e)},a.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e)},a.TSPropertySignature=function(e){var a=e.readonly,n=e.initializer;a&&(this.word("readonly"),this.space());this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation,e),n&&(this.space(),this.token("="),this.space(),this.print(n,e));this.token(";")},a.tsPrintPropertyOrMethodName=function(e){e.computed&&this.token("[");this.print(e.key,e),e.computed&&this.token("]");e.optional&&this.token("?")},a.TSMethodSignature=function(e){this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),this.token(";")},a.TSIndexSignature=function(e){e.readonly&&(this.word("readonly"),this.space());this.token("["),this._parameters(e.parameters,e),this.token("]"),this.print(e.typeAnnotation,e),this.token(";")},a.TSAnyKeyword=function(){this.word("any")},a.TSNumberKeyword=function(){this.word("number")},a.TSObjectKeyword=function(){this.word("object")},a.TSBooleanKeyword=function(){this.word("boolean")},a.TSStringKeyword=function(){this.word("string")},a.TSSymbolKeyword=function(){this.word("symbol")},a.TSVoidKeyword=function(){this.word("void")},a.TSUndefinedKeyword=function(){this.word("undefined")},a.TSNullKeyword=function(){this.word("null")},a.TSNeverKeyword=function(){this.word("never")},a.TSThisType=function(){this.word("this")},a.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},a.TSConstructorType=function(e){this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},a.tsPrintFunctionOrConstructorType=function(e){var a=e.typeParameters,n=e.parameters;this.print(a,e),this.token("("),this._parameters(n,e),this.token(")"),this.space(),this.token("=>"),this.space(),this.print(e.typeAnnotation.typeAnnotation,e)},a.TSTypeReference=function(e){this.print(e.typeName,e),this.print(e.typeParameters,e)},a.TSTypePredicate=function(e){this.print(e.parameterName),this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation)},a.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName)},a.TSTypeLiteral=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)},a.tsPrintTypeLiteralOrInterfaceBody=function(e,a){this.tsPrintBraced(e,a)},a.tsPrintBraced=function(e,a){if(this.token("{"),e.length){this.indent(),this.newline();for(var n=e,t=Array.isArray(n),r=0,n=t?n:o(n);;){var d;if(t){if(r>=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;this.print(i,a),this.newline()}this.dedent(),this.rightBrace()}else this.token("}")},a.TSArrayType=function(e){this.print(e.elementType),this.token("[]")},a.TSTupleType=function(e){this.token("["),this.printList(e.elementTypes,e),this.token("]")},a.TSUnionType=function(e){this.tsPrintUnionOrIntersectionType(e,"|")},a.TSIntersectionType=function(e){this.tsPrintUnionOrIntersectionType(e,"&")},a.tsPrintUnionOrIntersectionType=function(e,a){this.printJoin(e.types,e,{separator:function(){this.space(),this.token(a),this.space()}})},a.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.token("?"),this.space(),this.print(e.trueType),this.space(),this.token(":"),this.space(),this.print(e.falseType)},a.TSInferType=function(e){this.token("infer"),this.space(),this.print(e.typeParameter)},a.TSParenthesizedType=function(e){this.token("("),this.print(e.typeAnnotation,e),this.token(")")},a.TSTypeOperator=function(e){this.token(e.operator),this.space(),this.print(e.typeAnnotation,e)},a.TSIndexedAccessType=function(e){this.print(e.objectType,e),this.token("["),this.print(e.indexType,e),this.token("]")},a.TSMappedType=function(e){var a=e.readonly,n=e.typeParameter,t=e.optional;this.token("{"),this.space(),a&&(r(this,a),this.word("readonly"),this.space());this.token("["),this.word(n.name),this.space(),this.word("in"),this.space(),this.print(n.constraint,n),this.token("]"),t&&(r(this,t),this.token("?"));this.token(":"),this.space(),this.print(e.typeAnnotation,e),this.space(),this.token("}")},a.TSLiteralType=function(e){this.print(e.literal,e)},a.TSExpressionWithTypeArguments=function(e){this.print(e.expression,e),this.print(e.typeParameters,e)},a.TSInterfaceDeclaration=function(e){var a=e.declare,n=e.id,t=e.typeParameters,r=e.extends,d=e.body;a&&(this.word("declare"),this.space());this.word("interface"),this.space(),this.print(n,e),this.print(t,e),r&&(this.space(),this.word("extends"),this.space(),this.printList(r,e));this.space(),this.print(d,e)},a.TSInterfaceBody=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)},a.TSTypeAliasDeclaration=function(e){var a=e.declare,n=e.id,t=e.typeParameters,r=e.typeAnnotation;a&&(this.word("declare"),this.space());this.word("type"),this.space(),this.print(n,e),this.print(t,e),this.space(),this.token("="),this.space(),this.print(r,e),this.token(";")},a.TSAsExpression=function(e){var a=e.expression,n=e.typeAnnotation;this.print(a,e),this.space(),this.word("as"),this.space(),this.print(n,e)},a.TSTypeAssertion=function(e){var a=e.typeAnnotation,n=e.expression;this.token("<"),this.print(a,e),this.token(">"),this.space(),this.print(n,e)},a.TSEnumDeclaration=function(e){var a=e.declare,n=e.const,t=e.id,r=e.members;a&&(this.word("declare"),this.space());n&&(this.word("const"),this.space());this.word("enum"),this.space(),this.print(t,e),this.space(),this.tsPrintBraced(r,e)},a.TSEnumMember=function(e){var a=e.id,n=e.initializer;this.print(a,e),n&&(this.space(),this.token("="),this.space(),this.print(n,e));this.token(",")},a.TSModuleDeclaration=function(e){var a=e.declare,n=e.id;a&&(this.word("declare"),this.space());e.global||(this.word("Identifier"===n.type?"namespace":"module"),this.space());if(this.print(n,e),!e.body)return void this.token(";");var t=e.body;for(;"TSModuleDeclaration"===t.type;)this.token("."),this.print(t.id,t),t=t.body;this.space(),this.print(t,e)},a.TSModuleBlock=function(e){this.tsPrintBraced(e.body,e)},a.TSImportEqualsDeclaration=function(e){var a=e.isExport,n=e.id,t=e.moduleReference;a&&(this.word("export"),this.space());this.word("import"),this.space(),this.print(n,e),this.space(),this.token("="),this.space(),this.print(t,e),this.token(";")},a.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression,e),this.token(")")},a.TSNonNullExpression=function(e){this.print(e.expression,e),this.token("!")},a.TSExportAssignment=function(e){this.word("export"),this.space(),this.token("="),this.space(),this.print(e.expression,e),this.token(";")},a.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id,e)},a.tsPrintSignatureDeclarationBase=function(e){var a=e.typeParameters,n=e.parameters;this.print(a,e),this.token("("),this._parameters(n,e),this.token(")"),this.print(e.typeAnnotation,e)}},function(e,a,n){"use strict";var f=n(4),r=n(3),d=n(2);function p(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return p=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.findParent=function(e){var a=this;for(;a=a.parentPath;)if(e(a))return a;return null},a.find=function(e){var a=this;do{if(e(a))return a}while(a=a.parentPath);return null},a.getFunctionParent=function(){return this.findParent(function(e){return e.isFunction()})},a.getStatementParent=function(){var e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e},a.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,function(e,a,n){for(var t,r=p().VISITOR_KEYS[e.type],d=n,i=Array.isArray(d),o=0,d=i?d:f(d);;){var s;if(i){if(o>=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s,g=u[a+1];if(t)if(g.listKey&&t.listKey===g.listKey&&g.key=g.length)break;p=g[l++]}else{if((l=g.next()).done)break;p=l.value}var R=p;if(R[s]!==u)break e}t=s,r=u}{if(r)return a?a(r,t,i):r;throw new Error("Couldn't find intersection")}},a.getAncestry=function(){var e=this,a=[];for(;a.push(e),e=e.parentPath;);return a},a.isAncestor=function(e){return e.isDescendant(this)},a.isDescendant=function(a){return!!this.findParent(function(e){return e===a})},a.inType=function(){var e=this;for(;e;){for(var a=arguments,n=Array.isArray(a),t=0,a=n?a:f(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;if(e.node.type===d)return!0}e=e.parentPath}return!1};var t;(t=n(54))&&t.__esModule},function(e,a,n){"use strict";var o=n(4),r=n(3),d=n(2);Object.defineProperty(a,"__esModule",{value:!0}),a.getTypeAnnotation=function(){if(this.typeAnnotation)return this.typeAnnotation;var e=this._getTypeAnnotation()||s().anyTypeAnnotation();s().isTypeAnnotation(e)&&(e=e.typeAnnotation);return this.typeAnnotation=e},a._getTypeAnnotation=function(){var e=this.node;if(!e){if("init"===this.key&&this.parentPath.isVariableDeclarator()){var a=this.parentPath.parentPath,n=a.parentPath;return"left"===a.key&&n.isForInStatement()?s().stringTypeAnnotation():"left"===a.key&&n.isForOfStatement()?s().anyTypeAnnotation():s().voidTypeAnnotation()}return}if(e.typeAnnotation)return e.typeAnnotation;var t=i[e.type];if(t)return t.call(this,e);if((t=i[this.parentPath.type])&&t.validParent)return this.parentPath.getTypeAnnotation()},a.isBaseType=function(e,a){return u(e,this.getTypeAnnotation(),a)},a.couldBeBaseType=function(e){var a=this.getTypeAnnotation();if(s().isAnyTypeAnnotation(a))return!0;{if(s().isUnionTypeAnnotation(a)){for(var n=a.types,t=Array.isArray(n),r=0,n=t?n:o(n);;){var d;if(t){if(r>=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;if(s().isAnyTypeAnnotation(i)||u(e,i,!0))return!0}return!1}return u(e,a,!0)}},a.baseTypeStrictlyMatches=function(e){var a=this.getTypeAnnotation();if(e=e.getTypeAnnotation(),!s().isAnyTypeAnnotation(a)&&s().isFlowBaseAnnotation(a))return e.type===a.type},a.isGenericType=function(e){var a=this.getTypeAnnotation();return s().isGenericTypeAnnotation(a)&&s().isIdentifier(a.id,{name:e})};var i=t(n(589));function s(){var e=t(n(6));return s=function(){return e},e}function t(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}function u(e,a,n){if("string"===e)return s().isStringTypeAnnotation(a);if("number"===e)return s().isNumberTypeAnnotation(a);if("boolean"===e)return s().isBooleanTypeAnnotation(a);if("any"===e)return s().isAnyTypeAnnotation(a);if("mixed"===e)return s().isMixedTypeAnnotation(a);if("empty"===e)return s().isEmptyTypeAnnotation(a);if("void"===e)return s().isVoidTypeAnnotation(a);if(n)return!1;throw new Error("Unknown base type "+e)}},function(e,a,n){"use strict";var r=n(3),d=n(2);function i(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return i=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.VariableDeclarator=function(){if(!this.get("id").isIdentifier())return;var e=this.get("init"),a=e.getTypeAnnotation();a&&"AnyTypeAnnotation"===a.type&&e.isCallExpression()&&e.get("callee").isIdentifier({name:"Array"})&&!e.scope.hasBinding("Array",!0)&&(a=u());return a},a.TypeCastExpression=s,a.NewExpression=function(e){if(this.get("callee").isIdentifier())return i().genericTypeAnnotation(e.callee)},a.TemplateLiteral=function(){return i().stringTypeAnnotation()},a.UnaryExpression=function(e){var a=e.operator;{if("void"===a)return i().voidTypeAnnotation();if(0<=i().NUMBER_UNARY_OPERATORS.indexOf(a))return i().numberTypeAnnotation();if(0<=i().STRING_UNARY_OPERATORS.indexOf(a))return i().stringTypeAnnotation();if(0<=i().BOOLEAN_UNARY_OPERATORS.indexOf(a))return i().booleanTypeAnnotation()}},a.BinaryExpression=function(e){var a=e.operator;{if(0<=i().NUMBER_BINARY_OPERATORS.indexOf(a))return i().numberTypeAnnotation();if(0<=i().BOOLEAN_BINARY_OPERATORS.indexOf(a))return i().booleanTypeAnnotation();if("+"===a){var n=this.get("right"),t=this.get("left");return t.isBaseType("number")&&n.isBaseType("number")?i().numberTypeAnnotation():t.isBaseType("string")||n.isBaseType("string")?i().stringTypeAnnotation():i().unionTypeAnnotation([i().stringTypeAnnotation(),i().numberTypeAnnotation()])}}},a.LogicalExpression=function(){return i().createUnionTypeAnnotation([this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()])},a.ConditionalExpression=function(){return i().createUnionTypeAnnotation([this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()])},a.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},a.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},a.UpdateExpression=function(e){var a=e.operator;if("++"===a||"--"===a)return i().numberTypeAnnotation()},a.StringLiteral=function(){return i().stringTypeAnnotation()},a.NumericLiteral=function(){return i().numberTypeAnnotation()},a.BooleanLiteral=function(){return i().booleanTypeAnnotation()},a.NullLiteral=function(){return i().nullLiteralTypeAnnotation()},a.RegExpLiteral=function(){return i().genericTypeAnnotation(i().identifier("RegExp"))},a.ObjectExpression=function(){return i().genericTypeAnnotation(i().identifier("Object"))},a.ArrayExpression=u,a.RestElement=g,a.ClassDeclaration=a.ClassExpression=a.FunctionDeclaration=a.ArrowFunctionExpression=a.FunctionExpression=function(){return i().genericTypeAnnotation(i().identifier("Function"))},a.CallExpression=function(){var e=this.node.callee;{if(l(e))return i().arrayTypeAnnotation(i().stringTypeAnnotation());if(c(e)||p(e))return i().arrayTypeAnnotation(i().anyTypeAnnotation());if(R(e))return i().arrayTypeAnnotation(i().tupleTypeAnnotation([i().stringTypeAnnotation(),i().anyTypeAnnotation()]))}return f(this.get("callee"))},a.TaggedTemplateExpression=function(){return f(this.get("tag"))},Object.defineProperty(a,"Identifier",{enumerable:!0,get:function(){return o.default}});var t,o=(t=n(590))&&t.__esModule?t:{default:t};function s(e){return e.typeAnnotation}function u(){return i().genericTypeAnnotation(i().identifier("Array"))}function g(){return u()}g.validParent=s.validParent=!0;var c=i().buildMatchMemberExpression("Array.from"),l=i().buildMatchMemberExpression("Object.keys"),p=i().buildMatchMemberExpression("Object.values"),R=i().buildMatchMemberExpression("Object.entries");function f(e){if((e=e.resolve()).isFunction()){if(e.is("async"))return e.is("generator")?i().genericTypeAnnotation(i().identifier("AsyncIterator")):i().genericTypeAnnotation(i().identifier("Promise"));if(e.node.returnType)return e.node.returnType}}},function(e,a,n){"use strict";var p=n(4),r=n(3),d=n(2);function R(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return R=function(){return e},e}function f(e,n,t){var a=e.constantViolations.slice();return a.unshift(e.path),a.filter(function(e){var a=(e=e.resolve())._guessExecutionStatusRelativeTo(n);return t&&"function"===a&&t.push(e),"before"===a})}function h(e,a){var n,t,r,d=a.node.operator,i=a.get("right").resolve(),o=a.get("left").resolve();if(o.isIdentifier({name:e})?n=i:i.isIdentifier({name:e})&&(n=o),n)return"==="===d?n.getTypeAnnotation():0<=R().BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(d)?R().numberTypeAnnotation():void 0;if(("==="===d||"=="===d)&&(o.isUnaryExpression({operator:"typeof"})?(t=o,r=i):i.isUnaryExpression({operator:"typeof"})&&(t=i,r=o),t&&t.get("argument").isIdentifier({name:e})&&(r=r.resolve()).isLiteral())){var s=r.node.value;if("string"==typeof s)return R().createTypeAnnotationBasedOnTypeof(s)}}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){if(!this.isReferenced())return;var a=this.scope.getBinding(e.name);if(a)return a.identifier.typeAnnotation?a.identifier.typeAnnotation:function(e,a,n){var t=[],r=[],d=f(e,a,r),i=function e(a,n,t){var r=function(e,a,n){var t;for(;t=a.parentPath;){if(t.isIfStatement()||t.isConditionalExpression()){if("test"===a.key)return;return t}if(t.isFunction()&&t.parentPath.scope.getBinding(n)!==e)return;a=t}}(a,n,t);if(!r)return;var d=r.get("test");var i=[d];var o=[];for(var s=0;s=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c;t.push(l.getTypeAnnotation())}if(t.length)return R().createUnionTypeAnnotation(t)}(a,this,e.name);{if("undefined"===e.name)return R().voidTypeAnnotation();if("NaN"===e.name||"Infinity"===e.name)return R().numberTypeAnnotation();e.name}}},function(e,a,n){"use strict";var l=n(4),r=n(3),d=n(2);function t(){var e=n(102);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.replaceWithMultiple=function(e){this.resync(),e=this._verifyNodeList(e),p().inheritLeadingComments(e[0],this.node),p().inheritTrailingComments(e[e.length-1],this.node),this.node=this.container[this.key]=null;var a=this.insertAfter(e);this.node?this.requeue():this.remove();return a},a.replaceWithSourceString=function(a){this.resync();try{a="("+a+")",a=(0,s().parse)(a)}catch(e){var n=e.loc;throw n&&(e.message+=" - make sure this is an expression.\n"+(0,t().codeFrameColumns)(a,{start:{line:n.line,column:n.column+1}}),e.code="BABEL_REPLACE_SOURCE_ERROR"),e}return a=a.program.body[0].expression,i.default.removeProperties(a),this.replaceWith(a)},a.replaceWith=function(e){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");e instanceof o.default&&(e=e.node);if(!e)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===e)return[this];if(this.isProgram()&&!p().isProgram(e))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(e))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof e)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");var a="";this.isNodeType("Statement")&&p().isExpression(e)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(e)||this.parentPath.isExportDefaultDeclaration()||(e=p().expressionStatement(e),a="expression"));if(this.isNodeType("Expression")&&p().isStatement(e)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e))return this.replaceExpressionWithStatements([e]);var n=this.node;n&&(p().inheritsComments(e,n),p().removeComments(n));return this._replaceWith(e),this.type=e.type,this.setScope(),this.requeue(),[a?this.get(a):this]},a._replaceWith=function(e){if(!this.container)throw new ReferenceError("Container is falsy");this.inList?p().validate(this.parent,this.key,[e]):p().validate(this.parent,this.key,e);this.debug("Replace with "+(e&&e.type)),this.node=this.container[this.key]=e},a.replaceExpressionWithStatements=function(e){this.resync();var a=p().toSequenceExpression(e,this.scope);if(a)return this.replaceWith(a)[0].get("expressions");var n=p().arrowFunctionExpression([],p().blockStatement(e));this.replaceWith(p().callExpression(n,[])),this.traverse(R);for(var t=this.get("callee").getCompletionRecords(),r=Array.isArray(t),d=0,t=r?t:l(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;if(o.isExpressionStatement()){var s=o.findParent(function(e){return e.isLoop()});if(s){var u=s.getData("expressionReplacementReturnUid");if(u)u=p().identifier(u.name);else{var g=this.get("callee");u=g.scope.generateDeclaredUidIdentifier("ret"),g.get("body").pushContainer("body",p().returnStatement(p().cloneNode(u))),s.setData("expressionReplacementReturnUid",u)}o.get("expression").replaceWith(p().assignmentExpression("=",p().cloneNode(u),o.node.expression))}else o.replaceWith(p().returnStatement(o.node.expression))}}var c=this.get("callee");return c.arrowFunctionToExpression(),c.get("body.body")},a.replaceInline=function(e){{if(this.resync(),Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);var a=this._containerInsertAfter(e);return this.remove(),a}return this.replaceWithMultiple(e)}return this.replaceWith(e)}};var i=u(n(26)),o=u(n(54));function s(){var e=n(156);return s=function(){return e},e}function p(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return p=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}var R={Function:function(e){e.skip()},VariableDeclaration:function(e){if("var"===e.node.kind){var a=e.getBindingIdentifiers();for(var n in a)e.scope.push({id:a[n]});var t=[],r=e.node.declarations,d=Array.isArray(r),i=0;for(r=d?r:l(r);;){var o;if(d){if(i>=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var s=o;s.init&&t.push(p().expressionStatement(p().assignmentExpression("=",s.id,s.init)))}e.replaceWithMultiple(t)}}}},function(e,a,n){"use strict";var r=n(3),d=n(2);function i(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(593));return i=function(){return e},e}function o(){var e=s(n(143));return o=function(){return e},e}function t(){var e=s(n(594));return t=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(a,"__esModule",{value:!0}),a.shouldHighlight=l,a.getChalk=p,a.default=function(e,a){void 0===a&&(a={});{if(l(a)){var n=p(a),t={keyword:(r=n).cyan,capitalized:r.yellow,jsx_tag:r.yellow,punctuator:r.yellow,number:r.magenta,string:r.green,regex:r.magenta,comment:r.grey,invalid:r.white.bgRed.bold};return d=t,e.replace(i().default,function(){for(var e=arguments.length,a=new Array(e),n=0;n!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,a.matchToToken=function(e){var a={type:"invalid",value:e[0]};return e[1]?(a.type="string",a.closed=!(!e[3]&&!e[4])):e[5]?a.type="comment":e[6]?(a.type="comment",a.closed=!!e[7]):e[8]?a.type="regex":e[9]?a.type="number":e[10]?a.type="name":e[11]?a.type="punctuator":e[12]&&(a.type="whitespace"),a}},function(C,e,w){"use strict";(function(e){var a=w(7),g=w(4),n=w(595),t=w(598),r=w(12),d=w(16),i=w(602),c=w(603),o=w(607).stdout,s=w(608),l="win32"===e.platform&&!({NODE_ENV:"production"}.TERM||"").toLowerCase().startsWith("xterm"),u=["ansi","ansi","ansi256","ansi16m"],p=new d(["gray"]),R=r(null);function f(e,a){a=a||{};var n=o?o.level:0;e.level=void 0===a.level?n:a.level,e.enabled="enabled"in a?a.enabled:0=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s;n=(n=u.open+n.replace(u.closeRe,u.open)+u.close).replace(/\r?\n/g,u.close+"$&"+u.open)}return c.dim.open=r,n}.apply(e,arguments)};t._styles=e,t._empty=a;var r=this;return Object.defineProperty(t,"level",{enumerable:!0,get:function(){return r.level},set:function(e){r.level=e}}),Object.defineProperty(t,"enabled",{enumerable:!0,get:function(){return r.enabled},set:function(e){r.enabled=e}}),t.hasGrey=this.hasGrey||"gray"===n||"grey"===n,t.__proto__=T,t}n(h.prototype,R),C.exports=h(),C.exports.supportsColor=o,C.exports.default=C.exports}).call(e,w(24))},function(e,a,n){e.exports=n(596)},function(e,a,n){n(597);var t=n(8).Object;e.exports=function(e,a){return t.defineProperties(e,a)}},function(e,a,n){var t=n(10);t(t.S+t.F*!n(21),"Object",{defineProperties:n(180)})},function(e,a,n){e.exports=n(599)},function(e,a,n){n(600),e.exports=n(8).Object.setPrototypeOf},function(e,a,n){var t=n(10);t(t.S,"Object",{setPrototypeOf:n(601).set})},function(e,a,r){var n=r(15),t=r(20),d=function(e,a){if(t(e),!n(a)&&null!==a)throw TypeError(a+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,n,t){try{(t=r(30)(Function.call,r(119).f(Object.prototype,"__proto__").set,2))(e,[]),n=!(e instanceof Array)}catch(e){n=!0}return function(e,a){return d(e,a),n?e.__proto__=a:t(e,a),e}}({},!1):void 0),check:d}},function(e,a,n){"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(t,"\\$&")}},function(e,a,n){"use strict";(function(e){var h=n(2),y=n(7),m=n(11),v=n(604),b=function(e,a){return function(){return"["+(e.apply(v,arguments)+a)+"m"}},E=function(a,n){return function(){var e=a.apply(v,arguments);return"["+(38+n)+";5;"+e+"m"}},x=function(a,n){return function(){var e=a.apply(v,arguments);return"["+(38+n)+";2;"+e[0]+";"+e[1]+";"+e[2]+"m"}};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new m,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.grey=a.color.gray;for(var n=y(a),t=0;t=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var s=o;if(isNaN(s)){if(!(n=s.match(u)))throw new Error("Invalid Chalk template style argument: "+s+" (in style '"+e+"')");t.push(n[2].replace(g,function(e,a,n){return a?l(a):n}))}else t.push(Number(s))}return t}function R(e,a){var n={},t=a,r=Array.isArray(t),d=0;for(t=r?t:m(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i,s=o.styles,u=Array.isArray(s),g=0;for(s=u?s:m(s);;){var c;if(u){if(g>=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c;n[l[0]]=o.inverse?null:l.slice(1)}}for(var p=e,R=y(n),f=0;f>10),a%1024+56320))}return n.join("")}})},function(e,a,n){n(51),n(68),n(50),n(612),n(616),n(617),e.exports=n(8).Promise},function(e,a,n){"use strict";var t,r,d,i,o=n(62),s=n(14),u=n(30),g=n(123),c=n(10),l=n(15),p=n(64),R=n(83),f=n(52),h=n(252),y=n(253).set,m=n(614)(),v=n(157),b=n(254),E=n(615),x=n(255),A="Promise",S=s.TypeError,_=s.process,T=_&&_.versions,P=T&&T.v8||"",C=s[A],w="process"==g(_),D=function(){},O=r=v.f,F=!!function(){try{var e=C.resolve(1),a=(e.constructor={})[n(18)("species")]=function(e){e(D,D)};return(w||"function"==typeof PromiseRejectionEvent)&&e.then(D)instanceof a&&0!==P.indexOf("6.6")&&-1===E.indexOf("Chrome/66")}catch(e){}}(),k=function(e){var a;return!(!l(e)||"function"!=typeof(a=e.then))&&a},j=function(g,n){if(!g._n){g._n=!0;var t=g._c;m(function(){for(var s=g._v,u=1==g._s,e=0,a=function(e){var a,n,t,r=u?e.ok:e.fail,d=e.resolve,i=e.reject,o=e.domain;try{r?(u||(2==g._h&&B(g),g._h=1),!0===r?a=s:(o&&o.enter(),a=r(s),o&&(o.exit(),t=!0)),a===e.promise?i(S("Promise-chain cycle")):(n=k(a))?n.call(a,d,i):d(a)):i(s)}catch(e){o&&!t&&o.exit(),i(e)}};t.length>e;)a(t[e++]);g._c=[],g._n=!1,n&&!g._h&&M(g)})}},M=function(d){y.call(s,function(){var e,a,n,t=d._v,r=I(d);if(r&&(e=b(function(){w?_.emit("unhandledRejection",t,d):(a=s.onunhandledrejection)?a({promise:d,reason:t}):(n=s.console)&&n.error&&n.error("Unhandled promise rejection",t)}),d._h=w||I(d)?2:1),d._a=void 0,r&&e.e)throw e.v})},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},B=function(a){y.call(s,function(){var e;w?_.emit("rejectionHandled",a):(e=s.onrejectionhandled)&&e({promise:a,reason:a._v})})},N=function(e){var a=this;a._d||(a._d=!0,(a=a._w||a)._v=e,a._s=2,a._a||(a._a=a._c.slice()),j(a,!0))},L=function e(n){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===n)throw S("Promise can't be resolved itself");(t=k(n))?m(function(){var a={_w:r,_d:!1};try{t.call(n,u(e,a,1),u(N,a,1))}catch(e){N.call(a,e)}}):(r._v=n,r._s=1,j(r,!1))}catch(e){N.call({_w:r,_d:!1},e)}}};F||(C=function(e){R(this,C,A,"_h"),p(e),t.call(this);try{e(u(L,this,1),u(N,this,1))}catch(e){N.call(this,e)}},(t=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(82)(C.prototype,{then:function(e,a){var n=O(h(this,C));return n.ok="function"!=typeof e||e,n.fail="function"==typeof a&&a,n.domain=w?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),d=function(){var e=new t;this.promise=e,this.resolve=u(L,e,1),this.reject=u(N,e,1)},v.f=O=function(e){return e===C||e===i?new d(e):r(e)}),c(c.G+c.W+c.F*!F,{Promise:C}),n(67)(C,A),n(186)(A),i=n(8)[A],c(c.S+c.F*!F,A,{reject:function(e){var a=O(this);return(0,a.reject)(e),a.promise}}),c(c.S+c.F*(o||!F),A,{resolve:function(e){return x(o&&this===i?C:this,e)}}),c(c.S+c.F*!(F&&n(191)(function(e){C.all(e).catch(D)})),A,{all:function(e){var i=this,a=O(i),o=a.resolve,s=a.reject,n=b(function(){var t=[],r=0,d=1;f(e,!1,function(e){var a=r++,n=!1;t.push(void 0),d++,i.resolve(e).then(function(e){n||(n=!0,t[a]=e,--d||o(t))},s)}),--d||o(t)});return n.e&&s(n.v),a.promise},race:function(e){var a=this,n=O(a),t=n.reject,r=b(function(){f(e,!1,function(e){a.resolve(e).then(n.resolve,t)})});return r.e&&t(r.v),n.promise}})},function(e,a){e.exports=function(e,a,n){var t=void 0===n;switch(a.length){case 0:return t?e():e.call(n);case 1:return t?e(a[0]):e.call(n,a[0]);case 2:return t?e(a[0],a[1]):e.call(n,a[0],a[1]);case 3:return t?e(a[0],a[1],a[2]):e.call(n,a[0],a[1],a[2]);case 4:return t?e(a[0],a[1],a[2],a[3]):e.call(n,a[0],a[1],a[2],a[3])}return e.apply(n,a)}},function(e,a,n){var o=n(14),s=n(253).set,u=o.MutationObserver||o.WebKitMutationObserver,g=o.process,c=o.Promise,l="process"==n(61)(g);e.exports=function(){var n,t,r,e=function(){var e,a;for(l&&(e=g.domain)&&e.exit();n;){a=n.fn,n=n.next;try{a()}catch(e){throw n?r():t=void 0,e}}t=void 0,e&&e.enter()};if(l)r=function(){g.nextTick(e)};else if(!u||o.navigator&&o.navigator.standalone)if(c&&c.resolve){var a=c.resolve(void 0);r=function(){a.then(e)}}else r=function(){s.call(o,e)};else{var d=!0,i=document.createTextNode("");new u(e).observe(i,{characterData:!0}),r=function(){i.data=d=!d}}return function(e){var a={fn:e,next:void 0};t&&(t.next=a),n||(n=a,r()),t=a}}},function(e,a,n){var t=n(14).navigator;e.exports=t&&t.userAgent||""},function(e,a,n){"use strict";var t=n(10),r=n(8),d=n(14),i=n(252),o=n(255);t(t.P+t.R,"Promise",{finally:function(a){var n=i(this,r.Promise||d.Promise),e="function"==typeof a;return this.then(e?function(e){return o(n,a()).then(function(){return e})}:a,e?function(e){return o(n,a()).then(function(){throw e})}:a)}})},function(e,a,n){"use strict";var t=n(10),r=n(157),d=n(254);t(t.S,"Promise",{try:function(e){var a=r.f(this),n=d(e);return(n.e?a.reject:a.resolve)(n.v),a.promise}})},function(e,a,t){"use strict";(function(J){var n=t(11),z=t(4);Object.defineProperty(a,"__esModule",{value:!0}),a.evaluateTruthy=function(){var e=this.evaluate();if(e.confident)return!!e.value},a.evaluate=function(){var e={confident:!0,deoptPath:null,seen:new n},a=ee(this,e);e.confident||(a=void 0);return{confident:e.confident,deopt:e.deoptPath,value:a}};var $=["String","Number","Math"],Q=["random"];function Z(e,a){a.confident&&(a.deoptPath=e,a.confident=!1)}function ee(e,a){var n=e.node,t=a.seen;if(t.has(n)){var r=t.get(n);return r.resolved?r.value:void Z(e,a)}var d={resolved:!1};t.set(n,d);var i=function(e,a){if(!a.confident)return;var n=e.node;if(e.isSequenceExpression()){var t=e.get("expressions");return ee(t[t.length-1],a)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return n.value;if(e.isNullLiteral())return null;if(e.isTemplateLiteral())return ae(e,n.quasis,a);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){var r=e.get("tag.object"),d=r.node.name,i=e.get("tag.property");if(r.isIdentifier()&&"String"===d&&!e.scope.getBinding(d,!0)&&i.isIdentifier&&"raw"===i.node.name)return ae(e,n.quasi.quasis,a,!0)}if(e.isConditionalExpression()){var o=ee(e.get("test"),a);if(!a.confident)return;return ee(o?e.get("consequent"):e.get("alternate"),a)}if(e.isExpressionWrapper())return ee(e.get("expression"),a);if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:n})){var s=e.get("property"),u=e.get("object");if(u.isLiteral()&&s.isIdentifier()){var g=u.node.value,c=typeof g;if("number"===c||"string"===c)return g[s.node.name]}}if(e.isReferencedIdentifier()){var l=e.scope.getBinding(n.name);if(l&&0=m.length)break;E=m[b++]}else{if((b=m.next()).done)break;E=b.value}var x=E,A=x.evaluate();if(!A.confident)return Z(x,a);h.push(A.value)}return h}if(e.isObjectExpression()){for(var S={},_=e.get("properties"),T=_,P=Array.isArray(T),C=0,T=P?T:z(T);;){var w;if(P){if(C>=T.length)break;w=T[C++]}else{if((C=T.next()).done)break;w=C.value}var D=w;if(D.isObjectMethod()||D.isSpreadElement())return Z(D,a);var O=D.get("key"),F=O;if(D.node.computed){if(!(F=F.evaluate()).confident)return Z(O,a);F=F.value}else F=F.isIdentifier()?F.node.name:F.node.value;var k=D.get("value"),j=k.evaluate();if(!j.confident)return Z(k,a);j=j.value,S[F]=j}return S}if(e.isLogicalExpression()){var M=a.confident,I=ee(e.get("left"),a),B=a.confident;a.confident=M;var N=ee(e.get("right"),a),L=a.confident;switch(a.confident=B&&L,n.operator){case"||":if(I&&B)return a.confident=!0,I;if(!a.confident)return;return I||N;case"&&":if((!I&&B||!N&&L)&&(a.confident=!0),!a.confident)return;return I&&N}}if(e.isBinaryExpression()){var U=ee(e.get("left"),a);if(!a.confident)return;var V=ee(e.get("right"),a);if(!a.confident)return;switch(n.operator){case"-":return U-V;case"+":return U+V;case"/":return U/V;case"*":return U*V;case"%":return U%V;case"**":return Math.pow(U,V);case"<":return U":return V=":return V<=U;case"==":return U==V;case"!=":return U!=V;case"===":return U===V;case"!==":return U!==V;case"|":return U|V;case"&":return U&V;case"^":return U^V;case"<<":return U<>":return U>>V;case">>>":return U>>>V}}if(e.isCallExpression()){var W,G,K=e.get("callee");if(K.isIdentifier()&&!e.scope.getBinding(K.node.name,!0)&&0<=$.indexOf(K.node.name)&&(G=J[n.callee.name]),K.isMemberExpression()){var H=K.get("object"),q=K.get("property");if(H.isIdentifier()&&q.isIdentifier()&&0<=$.indexOf(H.node.name)&&Q.indexOf(q.node.name)<0&&(W=J[H.node.name],G=W[q.node.name]),H.isLiteral()&&q.isIdentifier()){var Y=typeof H.node.value;"string"!==Y&&"number"!==Y||(W=H.node.value,G=W[q.node.name])}}if(G){var X=e.get("arguments").map(function(e){return ee(e,a)});if(!a.confident)return;return G.apply(W,X)}}Z(e,a)}(e,a);return a.confident&&(d.resolved=!0,d.value=i),i}function ae(e,a,n,t){void 0===t&&(t=!1);var r="",d=0,i=e.get("expressions"),o=a,s=Array.isArray(o),u=0;for(o=s?o:z(o);;){var g;if(s){if(u>=o.length)break;g=o[u++]}else{if((u=o.next()).done)break;g=u.value}var c=g;if(!n.confident)break;r+=t?c.value.raw:c.value.cooked;var l=i[d++];l&&(r+=String(ee(l,n)))}if(n.confident)return r}}).call(a,t(31))},function(e,a,n){"use strict";var S=n(45),r=n(3),d=n(2);function _(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return _=function(){return e},e}function s(){var e,a=(e=n(46))&&e.__esModule?e:{default:e};return s=function(){return a},a}function u(e,a,n){void 0===a&&(a=!1),void 0===n&&(n=!0);var p=e.findParent(function(e){return e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:!1})}),t=p&&"constructor"===p.node.kind;if(p.isClassProperty())throw e.buildCodeFrameError("Unable to transform arrow inside class property");var r,d,i,o,s,u,g,c,l,R=(r=[],d=[],i=[],o=[],s=[],e.traverse({ClassProperty:function(e){e.node.static||e.skip()},Function:function(e){e.isArrowFunctionExpression()||e.skip()},ThisExpression:function(e){r.push(e)},JSXIdentifier:function(e){"this"===e.node.name&&(e.parentPath.isJSXMemberExpression({object:e.node})||e.parentPath.isJSXOpeningElement({name:e.node}))&&r.push(e)},CallExpression:function(e){e.get("callee").isSuper()&&s.push(e)},MemberExpression:function(e){e.get("object").isSuper()&&o.push(e)},ReferencedIdentifier:function(e){"arguments"===e.node.name&&d.push(e)},MetaProperty:function(e){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&i.push(e)}}),{thisPaths:r,argumentsPaths:d,newTargetPaths:i,superProps:o,superCalls:s}),f=R.thisPaths,h=R.argumentsPaths,y=R.newTargetPaths,m=R.superProps,v=R.superCalls;if(t&&0c.key?"before":"after";var l=m().VISITOR_KEYS[d.type],p=l.indexOf(g.key),R=l.indexOf(c.key);return R=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s;if("callee"!==u.key||!u.parentPath.isCallExpression())return}for(var g=r,c=Array.isArray(g),l=0,g=c?g:y(g);;){var p;if(c){if(l>=g.length)break;p=g[l++]}else{if((l=g.next()).done)break;p=l.value}var R=p,f=!!R.find(function(e){return e.node===a.node});if(!f){var h=this._guessExecutionStatusRelativeTo(R);if(t){if(t!==h)return}else t=h}}return t},a.resolve=function(e,a){return this._resolve(e,a)||this},a._resolve=function(e,a){if(a&&0<=a.indexOf(this))return;if((a=a||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,a)}else if(this.isReferencedIdentifier()){var n=this.scope.getBinding(this.node.name);if(!n)return;if(!n.constant)return;if("module"===n.kind)return;if(n.path!==this){var t=n.path.resolve(e,a);if(this.find(function(e){return e.node===t.node}))return;return t}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,a);if(e&&this.isMemberExpression()){var r=this.toComputedKey();if(!m().isLiteral(r))return;var d=r.value,i=this.get("object").resolve(e,a);if(i.isObjectExpression())for(var o=i.get("properties"),s=o,u=Array.isArray(s),g=0,s=u?s:y(s);;){var c;if(u){if(g>=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c;if(l.isProperty()){var p=l.get("key"),R=l.isnt("computed")&&p.isIdentifier({name:d});if(R=R||p.isLiteral({value:d}))return l.get("value").resolve(e,a)}}else if(i.isArrayExpression()&&!isNaN(+d)){var f=i.get("elements"),h=f[d];if(h)return h.resolve(e,a)}}}},a.isConstantExpression=function(){if(this.isIdentifier()){var e=this.scope.getBinding(this.node.name);return!!e&&(e.constant&&e.path.get("init").isConstantExpression())}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every(function(e){return e.isConstantExpression()}));if(this.isUnaryExpression())return"void"===this.get("operator").node&&this.get("argument").isConstantExpression();if(this.isBinaryExpression())return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression();return!1},a.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find(function(e){if(e.isProgram({sourceType:"module"}))return!0;if(e.isClass())return!0;if(!e.isProgram()&&!e.isFunction())return!1;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement())return!1;var a=e.node;e.isFunction()&&(a=a.body);for(var n=a.directives,t=Array.isArray(n),r=0,n=t?n:y(n);;){var d;if(t){if(r>=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}var i=d;if("use strict"===i.value.value)return!0}})},a.is=void 0;var o=i;a.is=o},function(e,a,n){"use strict";var s=n(4);Object.defineProperty(a,"__esModule",{value:!0}),a.call=function(e){var a=this.opts;if(this.debug(e),this.node&&this._call(a[e]))return!0;if(this.node)return this._call(a[this.node.type]&&a[this.node.type][e]);return!1},a._call=function(e){if(!e)return!1;for(var a=e,n=Array.isArray(a),t=0,a=n?a:s(a);;){var r;if(n){if(t>=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;if(d){var i=this.node;if(!i)return!0;var o=d.call(this.state,this,this.state);if(o&&"object"==typeof o&&"function"==typeof o.then)throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support.If you're using a published plugin, you may need to upgrade your @babel/core version.");if(o)throw new Error("Unexpected return value from visitor method "+d);if(this.node!==i)return!0;if(this.shouldStop||this.shouldSkip||this.removed)return!0}}return!1},a.isBlacklisted=function(){var e=this.opts.blacklist;return e&&-1=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}var d=r;d.maybeQueue(e)}},a._getQueueContexts=function(){var e=this,a=this.contexts;for(;!a.length&&(e=e.parentPath);)a=e.contexts;return a};var t,r=(t=n(26))&&t.__esModule?t:{default:t}},function(e,a,n){"use strict";var d=n(4),t=n(7);Object.defineProperty(a,"__esModule",{value:!0}),a.remove=function(){if(this._assertUnremoved(),this.resync(),this._removeFromScope(),this._callRemovalHooks())return void this._markRemoved();this.shareCommentsWithSiblings(),this._remove(),this._markRemoved()},a._removeFromScope=function(){var a=this,e=this.getBindingIdentifiers();t(e).forEach(function(e){return a.scope.removeBinding(e)})},a._callRemovalHooks=function(){for(var e=i.hooks,a=Array.isArray(e),n=0,e=a?e:d(e);;){var t;if(a){if(n>=e.length)break;t=e[n++]}else{if((n=e.next()).done)break;t=n.value}var r=t;if(r(this,this.parentPath))return!0}},a._remove=function(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)},a._markRemoved=function(){this.shouldSkip=!0,this.removed=!0,this.node=null},a._assertUnremoved=function(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")};var i=n(628)},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.hooks=void 0;a.hooks=[function(e,a){if("test"===e.key&&(a.isWhile()||a.isSwitchCase())||"declaration"===e.key&&a.isExportDeclaration()||"body"===e.key&&a.isLabeledStatement()||"declarations"===e.listKey&&a.isVariableDeclaration()&&1===a.node.declarations.length||"expression"===e.key&&a.isExpressionStatement())return a.remove(),!0},function(e,a){if(a.isSequenceExpression()&&1===a.node.expressions.length)return a.replaceWith(a.node.expressions[0]),!0},function(e,a){if(a.isBinary())return"left"===e.key?a.replaceWith(a.node.right):a.replaceWith(a.node.left),!0},function(e,a){if(a.isIfStatement()&&("consequent"===e.key||"alternate"===e.key)||"body"===e.key&&(a.isLoop()||a.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},function(e,a,n){"use strict";var f=n(4),r=n(3),d=n(2);Object.defineProperty(a,"__esModule",{value:!0}),a.insertBefore=function(e){this._assertUnremoved(),e=this._verifyNodeList(e);var a=this.parentPath;{if(a.isExpressionStatement()||a.isLabeledStatement()||a.isExportNamedDeclaration()||a.isExportDefaultDeclaration()&&this.isDeclaration())return a.insertBefore(e);if(this.isNodeType("Expression")&&"params"!==this.listKey&&"arguments"!==this.listKey||a.isForStatement()&&"init"===this.key)return this.node&&e.push(this.node),this.replaceExpressionWithStatements(e);if(Array.isArray(this.container))return this._containerInsertBefore(e);if(this.isStatementOrBlock()){var n=this.node&&(!this.isExpressionStatement()||null!=this.node.expression);return this.replaceWith(s().blockStatement(n?[this.node]:[])),this.unshiftContainer("body",e)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}},a._containerInsert=function(e,a){var n;this.updateSiblingKeys(e,a.length);var t=[];(n=this.container).splice.apply(n,[e,0].concat(a));for(var r=0;r=g.length)break;p=g[l++]}else{if((l=g.next()).done)break;p=l.value}var R=p;R.maybeQueue(u,!0)}}return t},a._containerInsertBefore=function(e){return this._containerInsert(this.key,e)},a._containerInsertAfter=function(e){return this._containerInsert(this.key+1,e)},a.insertAfter=function(e){this._assertUnremoved(),e=this._verifyNodeList(e);var a=this.parentPath;{if(a.isExpressionStatement()||a.isLabeledStatement()||a.isExportNamedDeclaration()||a.isExportDefaultDeclaration()&&this.isDeclaration())return a.insertAfter(e);if(this.isNodeType("Expression")||a.isForStatement()&&"init"===this.key){if(this.node){var n=this.scope;a.isMethod({computed:!0,key:this.node})&&(n=n.parent);var t=n.generateDeclaredUidIdentifier();e.unshift(s().expressionStatement(s().assignmentExpression("=",s().cloneNode(t),this.node))),e.push(s().expressionStatement(s().cloneNode(t)))}return this.replaceExpressionWithStatements(e)}if(Array.isArray(this.container))return this._containerInsertAfter(e);if(this.isStatementOrBlock()){var r=this.node&&(!this.isExpressionStatement()||null!=this.node.expression);return this.replaceWith(s().blockStatement(r?[this.node]:[])),this.pushContainer("body",e)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}},a.updateSiblingKeys=function(e,a){if(!this.parent)return;for(var n=i.path.get(this.parent),t=0;t=e&&(r.key+=a)}},a._verifyNodeList=function(e){if(!e)return[];e.constructor!==Array&&(e=[e]);for(var a=0;a=e.key){this.attachAfter=!0,e=t.path;var r=t.constantViolations,d=Array.isArray(r),i=0;for(r=d?r:u(r);;){var o;if(d){if(i>=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var s=o;this.getAttachmentParentForPath(s).key>e.key&&(e=s)}}}return e}},a._getAttachmentPath=function(){var e=this.scopes.pop();if(e)if(e.path.isFunction()){if(!this.hasOwnParamBindings(e))return this.getNextScopeAttachmentParent();if(this.scope===e)return;for(var a=e.path.get("body").get("body"),n=0;n=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;n="."===o?n.parentPath:Array.isArray(n)?n[o]:n.get(o,a)}return n},a.getBindingIdentifiers=function(e){return l().getBindingIdentifiers(this.node,e)},a.getOuterBindingIdentifiers=function(e){return l().getOuterBindingIdentifiers(this.node,e)},a.getBindingIdentifierPaths=function(e,a){void 0===e&&(e=!1);void 0===a&&(a=!1);var n=[].concat(this),t=c(null);for(;n.length;){var r=n.shift();if(r&&r.node){var d=l().getBindingIdentifiers.keys[r.node.type];if(r.isIdentifier())if(e){var i=t[r.node.name]=t[r.node.name]||[];i.push(r)}else t[r.node.name]=r;else if(r.isExportDeclaration()){var o=r.get("declaration");o.isDeclaration()&&n.push(o)}else{if(a){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression())continue}if(d)for(var s=0;s=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}e[o]=t}}}M(e),delete e.__esModule,function(e){for(var a in e)if(!N(a)){var n=e[a];"function"==typeof n&&(e[a]={enter:n})}}(e),I(e);for(var s=D(e),u=0;u=R.length)break;y=R[h++]}else{if((h=R.next()).done)break;y=h.value}var m=y;e[m]?L(e[m],l):e[m]=l}}else L(e,l)}}}for(var v in e)if(!N(v)){var b=e[v],E=k().FLIPPED_ALIAS_KEYS[v],x=k().DEPRECATED_KEYS[v];if(x&&(console.trace("Visitor defined for "+v+" but it has been renamed to "+x),E=[x]),E){delete e[v];var A=E,S=Array.isArray(A),_=0;for(A=S?A:O(A);;){var T;if(S){if(_>=A.length)break;T=A[_++]}else{if((_=A.next()).done)break;T=_.value}var P=T,C=e[P];C?L(C,b):e[P]=(0,j().default)(b)}}}for(var w in e)N(w)||I(e[w]);return e}function M(e){if(!e._verified){if("function"==typeof e)throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(var a in e)if("enter"!==a&&"exit"!==a||i(a,e[a]),!N(a)){if(k().TYPES.indexOf(a)<0)throw new Error("You gave us a visitor for the node type "+a+" but it's not a valid type");var n=e[a];if("object"==typeof n)for(var t in n){if("enter"!==t&&"exit"!==t)throw new Error("You passed `traverse()` a visitor object with the property "+a+" that has the invalid property "+t);i(a+"."+t,n[t])}}e._verified=!0}}function i(e,a){var n=[].concat(a),t=Array.isArray(n),r=0;for(n=t?n:O(n);;){var d;if(t){if(r>=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}if("function"!=typeof d)throw new TypeError("Non-function found defined in "+e+" with type "+typeof d)}}function c(a,t,r){var d={},e=function(n){var e=a[n];if(!Array.isArray(e))return"continue";e=e.map(function(a){var e=a;return t&&(e=function(e){return a.call(t,e,t)}),r&&(e=r(t.key,n,e)),e}),d[n]=e};for(var n in a)e(n);return d}function I(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function B(a,n){var e=function(e){if(a.checkPath(e))return n.apply(this,arguments)};return e.toString=function(){return n.toString()},e}function N(e){return"_"===e[0]||("enter"===e||"exit"===e||"shouldSkip"===e||("blacklist"===e||"noScope"===e||"skipKeys"===e))}function L(e,a){for(var n in a)e[n]=[].concat(e[n]||[],a[n])}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;a.default=function(e){this.file=e}},function(e,a,n){"use strict";var t=n(41);function r(){var e=t(['\n export default function _classPrivateFieldSet(receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to set private field on non-instance");\n }\n privateMap.set(receiver, value);\n return value;\n }\n']);return r=function(){return e},e}function d(){var e=t(['\n export default function _classPrivateFieldGet(receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to get private field on non-instance");\n }\n return privateMap.get(receiver);\n }\n']);return d=function(){return e},e}function i(){var e=t(['\n export default function _classPrivateFieldBase(receiver, privateKey) {\n if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {\n throw new TypeError("attempted to use private field on non-instance");\n }\n return receiver;\n }\n']);return i=function(){return e},e}function o(){var e=t(['\n var id = 0;\n export default function _classPrivateFieldKey(name) {\n return "__private_" + (id++) + "_" + name;\n }\n']);return o=function(){return e},e}function s(){var e=t(["\n export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){\n var desc = {};\n Object['ke' + 'ys'](descriptor).forEach(function(key){\n desc[key] = descriptor[key];\n });\n desc.enumerable = !!desc.enumerable;\n desc.configurable = !!desc.configurable;\n if ('value' in desc || desc.initializer){\n desc.writable = true;\n }\n\n desc = decorators.slice().reverse().reduce(function(desc, decorator){\n return decorator(target, property, desc) || desc;\n }, desc);\n\n if (context && desc.initializer !== void 0){\n desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n desc.initializer = undefined;\n }\n\n if (desc.initializer === void 0){\n // This is a hack to avoid this being processed by 'transform-runtime'.\n // See issue #9.\n Object['define' + 'Property'](target, property, desc);\n desc = null;\n }\n\n return desc;\n }\n"]);return s=function(){return e},e}function u(){var e=t(["\n export default function _initializerDefineProperty(target, property, descriptor, context){\n if (!descriptor) return;\n\n Object.defineProperty(target, property, {\n enumerable: descriptor.enumerable,\n configurable: descriptor.configurable,\n writable: descriptor.writable,\n value: descriptor.initializer ? descriptor.initializer.call(context) : void 0,\n });\n }\n"]);return u=function(){return e},e}function g(){var e=t(["\n export default function _initializerWarningHelper(descriptor, context){\n throw new Error(\n 'Decorating class property failed. Please ensure that ' +\n 'proposal-class-properties is enabled and set to use loose mode. ' +\n 'To use proposal-class-properties in spec mode with decorators, wait for ' +\n 'the next major version of decorators in stage 2.'\n );\n }\n"]);return g=function(){return e},e}function c(){var e=t(['\n export default function _toPropertyKey(key) {\n if (typeof key === "symbol") {\n return key;\n } else {\n return String(key);\n }\n }\n']);return c=function(){return e},e}function l(){var e=t(["\n export default function _skipFirstGeneratorNext(fn) {\n return function () {\n var it = fn.apply(this, arguments);\n it.next();\n return it;\n }\n }\n"]);return l=function(){return e},e}function p(){var e=t(['\n export default function _nonIterableRest() {\n throw new TypeError("Invalid attempt to destructure non-iterable instance");\n }\n']);return p=function(){return e},e}function R(){var e=t(['\n export default function _nonIterableSpread() {\n throw new TypeError("Invalid attempt to spread non-iterable instance");\n }\n']);return R=function(){return e},e}function f(){var e=t(["\n export default function _iterableToArrayLimitLoose(arr, i) {\n var _arr = [];\n for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {\n _arr.push(_step.value);\n if (i && _arr.length === i) break;\n }\n return _arr;\n }\n"]);return f=function(){return e},e}function h(){var e=t(['\n export default function _iterableToArrayLimit(arr, i) {\n // this is an expanded form of `for...of` that properly supports abrupt completions of\n // iterators etc. variable names have been minimised to reduce the size of this massive\n // helper. sometimes spec compliancy is annoying :(\n //\n // _n = _iteratorNormalCompletion\n // _d = _didIteratorError\n // _e = _iteratorError\n // _i = _iterator\n // _s = _step\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i["return"] != null) _i["return"]();\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n'],['\n export default function _iterableToArrayLimit(arr, i) {\n // this is an expanded form of \\`for...of\\` that properly supports abrupt completions of\n // iterators etc. variable names have been minimised to reduce the size of this massive\n // helper. sometimes spec compliancy is annoying :(\n //\n // _n = _iteratorNormalCompletion\n // _d = _didIteratorError\n // _e = _iteratorError\n // _i = _iterator\n // _s = _step\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i["return"] != null) _i["return"]();\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n']);return h=function(){return e},e}function y(){var e=t(['\n export default function _iterableToArray(iter) {\n if (\n Symbol.iterator in Object(iter) ||\n Object.prototype.toString.call(iter) === "[object Arguments]"\n ) return Array.from(iter);\n }\n']);return y=function(){return e},e}function m(){var e=t(["\n export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n }\n"]);return m=function(){return e},e}function v(){var e=t(["\n export default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n return arr2;\n }\n }\n"]);return v=function(){return e},e}function b(){var e=t(['\n import arrayWithoutHoles from "arrayWithoutHoles";\n import iterableToArray from "iterableToArray";\n import nonIterableSpread from "nonIterableSpread";\n\n export default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();\n }\n']);return b=function(){return e},e}function E(){var e=t(['\n import arrayWithHoles from "arrayWithHoles";\n import iterableToArray from "iterableToArray";\n import nonIterableRest from "nonIterableRest";\n\n export default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || nonIterableRest();\n }\n']);return E=function(){return e},e}function x(){var e=t(['\n import arrayWithHoles from "arrayWithHoles";\n import iterableToArrayLimitLoose from "iterableToArrayLimitLoose";\n import nonIterableRest from "nonIterableRest";\n\n export default function _slicedToArrayLoose(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || nonIterableRest();\n }\n']);return x=function(){return e},e}function A(){var e=t(['\n import arrayWithHoles from "arrayWithHoles";\n import iterableToArrayLimit from "iterableToArrayLimit";\n import nonIterableRest from "nonIterableRest";\n\n export default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest();\n }\n']);return A=function(){return e},e}function S(){var e=t(["\n export default {};\n"]);return S=function(){return e},e}function _(){var e=t(['\n export default function _classNameTDZError(name) {\n throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys.");\n }\n'],['\n export default function _classNameTDZError(name) {\n throw new Error("Class \\\\"" + name + "\\\\" cannot be referenced in computed property keys.");\n }\n']);return _=function(){return e},e}function T(){var e=t(['\n export default function _readOnlyError(name) {\n throw new Error("\\"" + name + "\\" is read-only");\n }\n'],['\n export default function _readOnlyError(name) {\n throw new Error("\\\\"" + name + "\\\\" is read-only");\n }\n']);return T=function(){return e},e}function P(){var e=t(['\n import undef from "temporalUndefined";\n\n export default function _temporalRef(val, name) {\n if (val === undef) {\n throw new ReferenceError(name + " is not defined - temporal dead zone");\n } else {\n return val;\n }\n }\n']);return P=function(){return e},e}function C(){var e=t(["\n export default function _taggedTemplateLiteralLoose(strings, raw) {\n if (!raw) { raw = strings.slice(0); }\n strings.raw = raw;\n return strings;\n }\n"]);return C=function(){return e},e}function w(){var e=t(["\n export default function _taggedTemplateLiteral(strings, raw) {\n if (!raw) { raw = strings.slice(0); }\n return Object.freeze(Object.defineProperties(strings, {\n raw: { value: Object.freeze(raw) }\n }));\n }\n"]);return w=function(){return e},e}function D(){var e=t(['\n import getPrototypeOf from "getPrototypeOf";\n import superPropBase from "superPropBase";\n import defineProperty from "defineProperty";\n\n function set(target, property, value, receiver) {\n if (typeof Reflect !== "undefined" && Reflect.set) {\n set = Reflect.set;\n } else {\n set = function set(target, property, value, receiver) {\n var base = superPropBase(target, property);\n var desc;\n\n if (base) {\n desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.set) {\n desc.set.call(receiver, value);\n return true;\n } else if (!desc.writable) {\n // Both getter and non-writable fall into this.\n return false;\n }\n }\n\n // Without a super that defines the property, spec boils down to\n // "define on receiver" for some reason.\n desc = Object.getOwnPropertyDescriptor(receiver, property);\n if (desc) {\n if (!desc.writable) {\n // Setter, getter, and non-writable fall into this.\n return false;\n }\n\n desc.value = value;\n Object.defineProperty(receiver, property, desc);\n } else {\n // Avoid setters that may be defined on Sub\'s prototype, but not on\n // the instance.\n defineProperty(receiver, property, value);\n }\n\n return true;\n };\n }\n\n return set(target, property, value, receiver);\n }\n\n export default function _set(target, property, value, receiver, isStrict) {\n var s = set(target, property, value, receiver || target);\n if (!s && isStrict) {\n throw new Error(\'failed to set property\');\n }\n\n return value;\n }\n']);return D=function(){return e},e}function O(){var e=t(['\n import getPrototypeOf from "getPrototypeOf";\n import superPropBase from "superPropBase";\n\n export default function _get(target, property, receiver) {\n if (typeof Reflect !== "undefined" && Reflect.get) {\n _get = Reflect.get;\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n\n if (!base) return;\n\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(receiver);\n }\n\n return desc.value;\n };\n }\n return _get(target, property, receiver || target);\n }\n']);return O=function(){return e},e}function F(){var e=t(['\n import getPrototypeOf from "getPrototypeOf";\n\n export default function _superPropBase(object, property) {\n // Yes, this throws if object is null to being with, that\'s on purpose.\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n }\n']);return F=function(){return e},e}function k(){var e=t(['\n import assertThisInitialized from "assertThisInitialized";\n\n export default function _possibleConstructorReturn(self, call) {\n if (call && (typeof call === "object" || typeof call === "function")) {\n return call;\n }\n return assertThisInitialized(self);\n }\n']);return k=function(){return e},e}function j(){var e=t(["\n export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n }\n"]);return j=function(){return e},e}function M(){var e=t(["\n export default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n }\n"]);return M=function(){return e},e}function I(){var e=t(['\n export default function _objectDestructuringEmpty(obj) {\n if (obj == null) throw new TypeError("Cannot destructure undefined");\n }\n']);return I=function(){return e},e}function B(){var e=t(['\n export default function _newArrowCheck(innerThis, boundThis) {\n if (innerThis !== boundThis) {\n throw new TypeError("Cannot instantiate an arrow function");\n }\n }\n']);return B=function(){return e},e}function N(){var e=t(["\n export default function _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = Object.defineProperty && Object.getOwnPropertyDescriptor\n ? Object.getOwnPropertyDescriptor(obj, key)\n : {};\n if (desc.get || desc.set) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n }\n newObj.default = obj;\n return newObj;\n }\n }\n"]);return N=function(){return e},e}function L(){var e=t(["\n export default function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n }\n"]);return L=function(){return e},e}function U(){var e=t(['\n export default function _instanceof(left, right) {\n if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {\n return right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n }\n']);return U=function(){return e},e}function V(){var e=t(['\n import _gPO from "getPrototypeOf";\n import _sPO from "setPrototypeOf";\n import construct from "construct";\n\n export default function _wrapNativeSuper(Class) {\n var _cache = typeof Map === "function" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null) return null;\n if (typeof Class !== "function") {\n throw new TypeError("Super expression must either be null or a function");\n }\n if (typeof _cache !== "undefined") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return _construct(Class, arguments, _gPO(this).constructor)\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true,\n }\n });\n\n return _sPO(Wrapper, Class);\n }\n\n return _wrapNativeSuper(Class)\n }\n']);return V=function(){return e},e}function W(){var e=t(["\n import setPrototypeOf from \"setPrototypeOf\";\n\n function isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n\n // core-js@3\n if (Reflect.construct.sham) return false;\n\n // Proxy can't be polyfilled. Every browser implemented\n // proxies before or at the same time of Reflect.construct,\n // so if they support Proxy they also support Reflect.construct.\n if (typeof Proxy === \"function\") return true;\n\n // Since Reflect.construct can't be properly polyfilled, some\n // implementations (e.g. core-js@2) don't set the correct internal slots.\n // Those polyfills don't allow us to subclass built-ins, so we need to\n // use our fallback implementation.\n try {\n // If the internal slots aren't set, this throws an error similar to\n // TypeError: this is not a Date object.\n Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));\n return true;\n } catch (e) {\n return false;\n }\n }\n\n export default function _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct;\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n // Avoid issues with Class being present but undefined when it wasn't\n // present in the original call.\n return _construct.apply(null, arguments);\n }\n"]);return W=function(){return e},e}function G(){var e=t(["\n export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n }\n"]);return G=function(){return e},e}function K(){var e=t(["\n export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf\n ? Object.getPrototypeOf\n : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n }\n"]);return K=function(){return e},e}function H(){var e=t(["\n export default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n }\n"]);return H=function(){return e},e}function q(){var e=t(['\n import setPrototypeOf from "setPrototypeOf";\n\n export default function _inherits(subClass, superClass) {\n if (typeof superClass !== "function" && superClass !== null) {\n throw new TypeError("Super expression must either be null or a function");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n }\n']);return q=function(){return e},e}function Y(){var e=t(["\n import defineProperty from \"defineProperty\";\n\n export default function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = (arguments[i] != null) ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n ownKeys.forEach(function(key) {\n defineProperty(target, key, source[key]);\n });\n }\n return target;\n }\n"]);return Y=function(){return e},e}function X(){var e=t(["\n export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n\n return _extends.apply(this, arguments);\n }\n"]);return X=function(){return e},e}function J(){var e=t(["\n export default function _defineProperty(obj, key, value) {\n // Shortcircuit the slow defineProperty path when possible.\n // We are trying to avoid issues where setters defined on the\n // prototype cause side effects under the fast path of simple\n // assignment. By checking for existence of the property with\n // the in operator, we can optimize most of this overhead away.\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n }\n"]);return J=function(){return e},e}function z(){var e=t(["\n export default function _defaults(obj, defaults) {\n var keys = Object.getOwnPropertyNames(defaults);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = Object.getOwnPropertyDescriptor(defaults, key);\n if (value && value.configurable && obj[key] === undefined) {\n Object.defineProperty(obj, key, value);\n }\n }\n return obj;\n }\n"]);return z=function(){return e},e}function $(){var e=t(['\n export default function _defineEnumerableProperties(obj, descs) {\n for (var key in descs) {\n var desc = descs[key];\n desc.configurable = desc.enumerable = true;\n if ("value" in desc) desc.writable = true;\n Object.defineProperty(obj, key, desc);\n }\n\n // Symbols are not enumerated over by for-in loops. If native\n // Symbols are available, fetch all of the descs object\'s own\n // symbol properties and define them on our target object too.\n if (Object.getOwnPropertySymbols) {\n var objectSymbols = Object.getOwnPropertySymbols(descs);\n for (var i = 0; i < objectSymbols.length; i++) {\n var sym = objectSymbols[i];\n var desc = descs[sym];\n desc.configurable = desc.enumerable = true;\n if ("value" in desc) desc.writable = true;\n Object.defineProperty(obj, sym, desc);\n }\n }\n return obj;\n }\n']);return $=function(){return e},e}function Q(){var e=t(['\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i ++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ("value" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n export default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n }\n']);return Q=function(){return e},e}function Z(){var e=t(['\n export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError("Cannot call a class as a function");\n }\n }\n']);return Z=function(){return e},e}function ee(){var e=t(['\n export default function _asyncToGenerator(fn) {\n return function () {\n var self = this, args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function step(key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n }\n function _next(value) { step("next", value); }\n function _throw(err) { step("throw", err); }\n\n _next();\n });\n };\n }\n']);return ee=function(){return e},e}function ae(){var e=t(['\n export default function _asyncGeneratorDelegate(inner, awaitWrap) {\n var iter = {}, waiting = false;\n\n function pump(key, value) {\n waiting = true;\n value = new Promise(function (resolve) { resolve(inner[key](value)); });\n return { done: false, value: awaitWrap(value) };\n };\n\n if (typeof Symbol === "function" && Symbol.iterator) {\n iter[Symbol.iterator] = function () { return this; };\n }\n\n iter.next = function (value) {\n if (waiting) {\n waiting = false;\n return value;\n }\n return pump("next", value);\n };\n\n if (typeof inner.throw === "function") {\n iter.throw = function (value) {\n if (waiting) {\n waiting = false;\n throw value;\n }\n return pump("throw", value);\n };\n }\n\n if (typeof inner.return === "function") {\n iter.return = function (value) {\n return pump("return", value);\n };\n }\n\n return iter;\n }\n']);return ae=function(){return e},e}function ne(){var e=t(['\n import AwaitValue from "AwaitValue";\n\n export default function _awaitAsyncGenerator(value) {\n return new AwaitValue(value);\n }\n']);return ne=function(){return e},e}function te(){var e=t(['\n import AsyncGenerator from "AsyncGenerator";\n\n export default function _wrapAsyncGenerator(fn) {\n return function () {\n return new AsyncGenerator(fn.apply(this, arguments));\n };\n }\n']);return te=function(){return e},e}function re(){var e=t(['\n import AwaitValue from "AwaitValue";\n\n export default function AsyncGenerator(gen) {\n var front, back;\n\n function send(key, arg) {\n return new Promise(function (resolve, reject) {\n var request = {\n key: key,\n arg: arg,\n resolve: resolve,\n reject: reject,\n next: null,\n };\n\n if (back) {\n back = back.next = request;\n } else {\n front = back = request;\n resume(key, arg);\n }\n });\n }\n\n function resume(key, arg) {\n try {\n var result = gen[key](arg)\n var value = result.value;\n var wrappedAwait = value instanceof AwaitValue;\n\n Promise.resolve(wrappedAwait ? value.wrapped : value).then(\n function (arg) {\n if (wrappedAwait) {\n resume("next", arg);\n return\n }\n\n settle(result.done ? "return" : "normal", arg);\n },\n function (err) { resume("throw", err); });\n } catch (err) {\n settle("throw", err);\n }\n }\n\n function settle(type, value) {\n switch (type) {\n case "return":\n front.resolve({ value: value, done: true });\n break;\n case "throw":\n front.reject(value);\n break;\n default:\n front.resolve({ value: value, done: false });\n break;\n }\n\n front = front.next;\n if (front) {\n resume(front.key, front.arg);\n } else {\n back = null;\n }\n }\n\n this._invoke = send;\n\n // Hide "return" method if generator return is not supported\n if (typeof gen.return !== "function") {\n this.return = undefined;\n }\n }\n\n if (typeof Symbol === "function" && Symbol.asyncIterator) {\n AsyncGenerator.prototype[Symbol.asyncIterator] = function () { return this; };\n }\n\n AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); };\n AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); };\n AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); };\n']);return re=function(){return e},e}function de(){var e=t(["\n export default function _AwaitValue(value) {\n this.wrapped = value;\n }\n"]);return de=function(){return e},e}function ie(){var e=t(['\n export default function _asyncIterator(iterable) {\n var method\n if (typeof Symbol === "function") {\n if (Symbol.asyncIterator) {\n method = iterable[Symbol.asyncIterator]\n if (method != null) return method.call(iterable);\n }\n if (Symbol.iterator) {\n method = iterable[Symbol.iterator]\n if (method != null) return method.call(iterable);\n }\n }\n throw new TypeError("Object is not async iterable");\n }\n']);return ie=function(){return e},e}function oe(){var e=t(['\n var REACT_ELEMENT_TYPE;\n\n export default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE = (\n typeof Symbol === "function" && Symbol.for && Symbol.for("react.element")\n ) || 0xeac7;\n }\n\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n\n if (!props && childrenLength !== 0) {\n // If we\'re going to assign props.children, we create a new object now\n // to avoid mutating defaultProps.\n props = {\n children: void 0,\n };\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : \'\' + key,\n ref: null,\n props: props,\n _owner: null,\n };\n }\n']);return oe=function(){return e},e}function se(){var e=t(['\n export default function _typeof(obj) {\n if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {\n _typeof = function (obj) { return typeof obj; };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n }\n\n return _typeof(obj);\n }\n']);return se=function(){return e},e}function ue(){var e,a=(e=n(47))&&e.__esModule?e:{default:e};return ue=function(){return a},a}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var ge={},ce=ge;a.default=ce,ge.typeof=function(){return ue().default.program.ast(se())},ge.jsx=function(){return ue().default.program.ast(oe())},ge.asyncIterator=function(){return ue().default.program.ast(ie())},ge.AwaitValue=function(){return ue().default.program.ast(de())},ge.AsyncGenerator=function(){return ue().default.program.ast(re())},ge.wrapAsyncGenerator=function(){return ue().default.program.ast(te())},ge.awaitAsyncGenerator=function(){return ue().default.program.ast(ne())},ge.asyncGeneratorDelegate=function(){return ue().default.program.ast(ae())},ge.asyncToGenerator=function(){return ue().default.program.ast(ee())},ge.classCallCheck=function(){return ue().default.program.ast(Z())},ge.createClass=function(){return ue().default.program.ast(Q())},ge.defineEnumerableProperties=function(){return ue().default.program.ast($())},ge.defaults=function(){return ue().default.program.ast(z())},ge.defineProperty=function(){return ue().default.program.ast(J())},ge.extends=function(){return ue().default.program.ast(X())},ge.objectSpread=function(){return ue().default.program.ast(Y())},ge.inherits=function(){return ue().default.program.ast(q())},ge.inheritsLoose=function(){return ue().default.program.ast(H())},ge.getPrototypeOf=function(){return ue().default.program.ast(K())},ge.setPrototypeOf=function(){return ue().default.program.ast(G())},ge.construct=function(){return ue().default.program.ast(W())},ge.wrapNativeSuper=function(){return ue().default.program.ast(V())},ge.instanceof=function(){return ue().default.program.ast(U())},ge.interopRequireDefault=function(){return ue().default.program.ast(L())},ge.interopRequireWildcard=function(){return ue().default.program.ast(N())},ge.newArrowCheck=function(){return ue().default.program.ast(B())},ge.objectDestructuringEmpty=function(){return ue().default.program.ast(I())},ge.objectWithoutProperties=function(){return ue().default.program.ast(M())},ge.assertThisInitialized=function(){return ue().default.program.ast(j())},ge.possibleConstructorReturn=function(){return ue().default.program.ast(k())},ge.superPropBase=function(){return ue().default.program.ast(F())},ge.get=function(){return ue().default.program.ast(O())},ge.set=function(){return ue().default.program.ast(D())},ge.taggedTemplateLiteral=function(){return ue().default.program.ast(w())},ge.taggedTemplateLiteralLoose=function(){return ue().default.program.ast(C())},ge.temporalRef=function(){return ue().default.program.ast(P())},ge.readOnlyError=function(){return ue().default.program.ast(T())},ge.classNameTDZError=function(){return ue().default.program.ast(_())},ge.temporalUndefined=function(){return ue().default.program.ast(S())},ge.slicedToArray=function(){return ue().default.program.ast(A())},ge.slicedToArrayLoose=function(){return ue().default.program.ast(x())},ge.toArray=function(){return ue().default.program.ast(E())},ge.toConsumableArray=function(){return ue().default.program.ast(b())},ge.arrayWithoutHoles=function(){return ue().default.program.ast(v())},ge.arrayWithHoles=function(){return ue().default.program.ast(m())},ge.iterableToArray=function(){return ue().default.program.ast(y())},ge.iterableToArrayLimit=function(){return ue().default.program.ast(h())},ge.iterableToArrayLimitLoose=function(){return ue().default.program.ast(f())},ge.nonIterableSpread=function(){return ue().default.program.ast(R())},ge.nonIterableRest=function(){return ue().default.program.ast(p())},ge.skipFirstGeneratorNext=function(){return ue().default.program.ast(l())},ge.toPropertyKey=function(){return ue().default.program.ast(c())},ge.initializerWarningHelper=function(){return ue().default.program.ast(g())},ge.initializerDefineProperty=function(){return ue().default.program.ast(u())},ge.applyDecoratedDescriptor=function(){return ue().default.program.ast(s())},ge.classPrivateFieldLooseKey=function(){return ue().default.program.ast(o())},ge.classPrivateFieldLooseBase=function(){return ue().default.program.ast(i())},ge.classPrivateFieldGet=function(){return ue().default.program.ast(d())},ge.classPrivateFieldSet=function(){return ue().default.program.ast(r())}},function(e,a,n){"use strict";var t=n(7),r=n(41),d=n(3),i=n(2);function o(){var e=r(['\n (function (root, factory) {\n if (typeof define === "function" && define.amd) {\n define(AMD_ARGUMENTS, factory);\n } else if (typeof exports === "object") {\n factory(COMMON_ARGUMENTS);\n } else {\n factory(BROWSER_ARGUMENTS);\n }\n })(UMD_ROOT, function (FACTORY_PARAMETERS) {\n FACTORY_BODY\n });\n ']);return o=function(){return e},e}function s(){var e=p(n(190));return s=function(){return e},e}function u(){var e=l(n(153));return u=function(){return e},e}function g(){var e=l(n(47));return g=function(){return e},e}function c(){var e=p(n(6));return c=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=i&&d?d(e,n):{};t.get||t.set?i(a,n,t):a[n]=e[n]}return a.default=e,a}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){void 0===a&&(a="global");var n,t={global:f,module:h,umd:y,var:m}[a];{if(!t)throw new Error("Unsupported output type "+a);n=t(e)}return(0,u().default)(n).code};var R=function(e){return g().default(o())(e)};function f(e){var a=c().identifier("babelHelpers"),n=[],t=c().functionExpression(null,[c().identifier("global")],c().blockStatement(n)),r=c().program([c().expressionStatement(c().callExpression(t,[c().conditionalExpression(c().binaryExpression("===",c().unaryExpression("typeof",c().identifier("global")),c().stringLiteral("undefined")),c().identifier("self"),c().identifier("global"))]))]);return n.push(c().variableDeclaration("var",[c().variableDeclarator(a,c().assignmentExpression("=",c().memberExpression(c().identifier("global"),a),c().objectExpression([])))])),v(n,a,e),r}function h(e){var a=[],n=v(a,null,e);return a.unshift(c().exportNamedDeclaration(null,t(n).map(function(e){return c().exportSpecifier(c().cloneNode(n[e]),c().identifier(e))}))),c().program(a,[],"module")}function y(e){var a=c().identifier("babelHelpers"),n=[];return n.push(c().variableDeclaration("var",[c().variableDeclarator(a,c().identifier("global"))])),v(n,a,e),c().program([R({FACTORY_PARAMETERS:c().identifier("global"),BROWSER_ARGUMENTS:c().assignmentExpression("=",c().memberExpression(c().identifier("root"),a),c().objectExpression([])),COMMON_ARGUMENTS:c().identifier("exports"),AMD_ARGUMENTS:c().arrayExpression([c().stringLiteral("exports")]),FACTORY_BODY:n,UMD_ROOT:c().identifier("this")})])}function m(e){var a=c().identifier("babelHelpers"),n=[];n.push(c().variableDeclaration("var",[c().variableDeclarator(a,c().objectExpression([]))]));var t=c().program(n);return v(n,a,e),n.push(c().expressionStatement(a)),t}function v(t,a,r){var d=function(e){return a?c().memberExpression(a,c().identifier(e)):c().identifier("_"+e)},i={};return s().list.forEach(function(e){if(!(r&&r.indexOf(e)<0)){var a=i[e]=d(e),n=s().get(e,d,a).nodes;t.push.apply(t,n)}}),i}},function(e,a){e.exports={name:"@babel/core",version:"7.0.0-beta.48",description:"Babel compiler core.",main:"lib/index.js",author:"Sebastian McKenzie ",homepage:"https://babeljs.io/",license:"MIT",repository:"https://github.com/babel/babel/tree/master/packages/babel-core",keywords:["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var","babel-core","compiler"],engines:{node:">=6.9.0"},browser:{"./lib/config/files/index.js":"./lib/config/files/index-browser.js","./lib/transform-file.js":"./lib/transform-file-browser.js"},dependencies:{"@babel/code-frame":"7.0.0-beta.48","@babel/generator":"7.0.0-beta.48","@babel/helpers":"7.0.0-beta.48","@babel/parser":"7.0.0-beta.48","@babel/template":"7.0.0-beta.48","@babel/traverse":"7.0.0-beta.48","@babel/types":"7.0.0-beta.48","convert-source-map":"^1.1.0",debug:"^3.1.0",json5:"^0.5.0",lodash:"^4.17.5",micromatch:"^2.3.11",resolve:"^1.3.2",semver:"^5.4.1","source-map":"^0.5.0"},devDependencies:{"@babel/helper-transform-fixture-test-runner":"7.0.0-beta.48","@babel/register":"7.0.0-beta.48"}}},function(e,a,n){"use strict";var s=n(17),g=n(9),h=n(4),r=n(3),d=n(2);Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){var a=(0,m.default)(e);if(!a)return null;var n=a.options,p=a.context,R={},f=[[]];try{var t=n.plugins,r=n.presets;if(!t||!r)throw new Error("Assertion failure - plugins and presets exist");var d=function e(a,n){var t=a.plugins.map(function(e){return E(e,p)}),r=a.presets.map(function(e){return{preset:A(e,p),pass:e.ownPass?[]:n}});if(0=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s,g=u.preset,c=u.pass;if(!g)return!0;var l=e({plugins:g.plugins,presets:g.presets},c);if(l)return!0;g.options.forEach(function(e){(0,y.mergeOptions)(R,e)})}}0=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}i.apply(this,a)}}}},function(e,a,n){"use strict";var i=n(12),o=n(640),c=n(162);function l(e,a,n){if(!e||!a)return[];if(void 0===(n=n||{}).cache&&(n.cache=!0),!Array.isArray(a))return s(e,a,n);for(var t=a.length,r=0,d=[],i=[];t--;){var o=a[r++];"string"==typeof o&&33===o.charCodeAt(0)?d.push.apply(d,s(e,o.slice(1),n)):i.push.apply(i,s(e,o,n))}return c.diff(i,d)}function s(e,a,n){if("string"!==c.typeOf(e)&&!Array.isArray(e))throw new Error(R("match","files","a string or array"));e=c.arrayify(e);var t=(n=n||{}).negate||!1,r=a;"string"==typeof a&&((t="!"===a.charAt(0))&&(a=a.slice(1)),!0===n.nonegate&&(t=!1));for(var d=p(a,n),i=e.length,o=0,s=[];o|\||\+|\~/g.exec(n);if(c){var l=c.index,p=c[0];if("+"===p)return O(e,a);if("?"===p)return[w(e,a)];">"===p?(n=n.substr(0,l)+n.substr(l+1),d=!0):"|"===p?(n=n.substr(0,l)+n.substr(l+1),i=d=!0,o=p):"~"===p&&(n=n.substr(0,l)+n.substr(l+1),i=d=!0,o=p)}else if(!C(n)){if(!s.silent)throw new TypeError("fill-range: invalid step.");return null}}if(/[.&*()[\]^%$#@!]/.test(e)||/[.&*()[\]^%$#@!]/.test(a)){if(!s.silent)throw new RangeError("fill-range: invalid range arguments.");return null}if(!M(e)||!M(a)||I(e)||I(a)){if(!s.silent)throw new RangeError("fill-range: invalid range arguments.");return null}var R=C(B(e)),f=C(B(a));if(!R&&f||R&&!f){if(!s.silent)throw new TypeError("fill-range: first range argument is incompatible with second.");return null}var h=R,y=(m=n,Math.abs(m>>0)||1);var m;h?(e=+e,a=+a):(e=e.charCodeAt(0),a=a.charCodeAt(0));var v=a=n)return r.substr(0,n);for(;n>r.length&&1>=1,e+=e;return r=(r+=e).substr(0,n)}},function(e,a,n){"use strict";a.before=function(e,a){return e.replace(a,function(e){var a=Math.random().toString().slice(2,7);return t[a]=e,"__ID"+a+"__"})},a.after=function(e){return e.replace(/__ID(.{5})__/g,function(e,a){return t[a]})};var t={}},function(e,a,n){"use strict";var h=n(656),y={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E",punct:"-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};function o(e){if(!h(e))return e;var a=!1;-1!==e.indexOf("[^")&&(a=!0,e=e.split("[^").join("[")),-1!==e.indexOf("[!")&&(a=!0,e=e.split("[!").join("["));for(var n=e.split("["),t=e.split("]"),r=n.length!==t.length,d=e.split(/(?::\]\[:|\[?\[:|:\]\]?)/),i=d.length,o=0,s="",u="",g=[];i--;){var c=d[o++];"^[!"!==c&&"[!"!==c||(c="",a=!0);var l=a?"^":"",p=y[c];p?g.push("["+l+p+"]"):c&&(/^\[?\w-\w\]?$/.test(c)?o===d.length?g.push("["+l+c):1===o?g.push(l+c+"]"):g.push(l+c):1===o?u+=c:o===d.length?s+=c:g.push("["+l+c+"]"))}var R=g.join("|"),f=g.length||1;return 1)?=?)";var S=d++;n[S]=n[o]+"|x|X|\\*";var _=d++;n[_]=n[i]+"|x|X|\\*";var T=d++;n[T]="[v=\\s]*("+n[_]+")(?:\\.("+n[_]+")(?:\\.("+n[_]+")(?:"+n[f]+")?"+n[m]+"?)?)?";var P=d++;n[P]="[v=\\s]*("+n[S]+")(?:\\.("+n[S]+")(?:\\.("+n[S]+")(?:"+n[h]+")?"+n[m]+"?)?)?";var C=d++;n[C]="^"+n[A]+"\\s*"+n[T]+"$";var w=d++;n[w]="^"+n[A]+"\\s*"+n[P]+"$";var D=d++;n[D]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var O=d++;n[O]="(?:~>?)";var F=d++;n[F]="(\\s*)"+n[O]+"\\s+",u[F]=new RegExp(n[F],"g");var k=d++;n[k]="^"+n[O]+n[T]+"$";var j=d++;n[j]="^"+n[O]+n[P]+"$";var M=d++;n[M]="(?:\\^)";var I=d++;n[I]="(\\s*)"+n[M]+"\\s+",u[I]=new RegExp(n[I],"g");var B=d++;n[B]="^"+n[M]+n[T]+"$";var N=d++;n[N]="^"+n[M]+n[P]+"$";var L=d++;n[L]="^"+n[A]+"\\s*("+E+")$|^$";var U=d++;n[U]="^"+n[A]+"\\s*("+b+")$|^$";var V=d++;n[V]="(\\s*)"+n[A]+"\\s*("+E+"|"+n[T]+")",u[V]=new RegExp(n[V],"g");var W=d++;n[W]="^\\s*("+n[T]+")\\s+-\\s+("+n[T]+")\\s*$";var G=d++;n[G]="^\\s*("+n[P]+")\\s+-\\s+("+n[P]+")\\s*$";var K=d++;n[K]="(<|>)?=?\\s*\\*";for(var H=0;H<35;H++)c(H,n[H]),u[H]||(u[H]=new RegExp(n[H]));function q(e,a){if(e instanceof Y)return e;if("string"!=typeof e)return null;if(e.length>t)return null;if(!(a?u[x]:u[v]).test(e))return null;try{return new Y(e,a)}catch(e){return null}}function Y(e,a){if(e instanceof Y){if(e.loose===a)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>t)throw new TypeError("version is longer than "+t+" characters");if(!(this instanceof Y))return new Y(e,a);c("SemVer",e,a),this.loose=a;var n=e.trim().match(a?u[x]:u[v]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var a=+e;if(0<=a&&a":r=$(e,n,t);break;case">=":r=ae(e,n,t);break;case"<":r=Q(e,n,t);break;case"<=":r=ne(e,n,t);break;default:throw new TypeError("Invalid operator: "+a)}return r}function re(e,a){if(e instanceof re){if(e.loose===a)return e;e=e.value}if(!(this instanceof re))return new re(e,a);c("comparator",e,a),this.loose=a,this.parse(e),this.semver===de?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}pe.rcompareIdentifiers=function(e,a){return J(a,e)},pe.major=function(e,a){return new Y(e,a).major},pe.minor=function(e,a){return new Y(e,a).minor},pe.patch=function(e,a){return new Y(e,a).patch},pe.compare=z,pe.compareLoose=function(e,a){return z(e,a,!0)},pe.rcompare=function(e,a,n){return z(a,e,n)},pe.sort=function(e,n){return e.sort(function(e,a){return pe.compare(e,a,n)})},pe.rsort=function(e,n){return e.sort(function(e,a){return pe.rcompare(e,a,n)})},pe.gt=$,pe.lt=Q,pe.eq=Z,pe.neq=ee,pe.gte=ae,pe.lte=ne,pe.cmp=te,pe.Comparator=re;var de={};function ie(e,a){if(e instanceof ie)return e.loose===a?e:new ie(e.raw,a);if(e instanceof re)return new ie(e.value,a);if(!(this instanceof ie))return new ie(e,a);if(this.loose=a,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function oe(e){return!e||"x"===e.toLowerCase()||"*"===e}function se(e,a,n,t,r,d,i,o,s,u,g,c,l){return((a=oe(n)?"":oe(t)?">="+n+".0.0":oe(r)?">="+n+"."+t+".0":">="+a)+" "+(o=oe(s)?"":oe(u)?"<"+(+s+1)+".0.0":oe(g)?"<"+s+"."+(+u+1)+".0":c?"<="+s+"."+u+"."+g+"-"+c:"<="+o)).trim()}function ue(e,a){for(var n=0;n":r=$,d=ne,i=Q,o=">",s=">=";break;case"<":r=Q,d=ae,i=$,o="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ge(e,a,t))return!1;for(var u=0;u=0.0.0")),c=c||e,l=l||e,r(e.semver,c.semver,t)?c=e:i(e.semver,l.semver,t)&&(l=e)}),c.operator===o||c.operator===s)return!1;if((!l.operator||l.operator===o)&&d(e,l.semver))return!1;if(l.operator===s&&i(e,l.semver))return!1}return!0}re.prototype.parse=function(e){var a=this.loose?u[L]:u[U],n=e.match(a);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new Y(n[2],this.loose):this.semver=de},re.prototype.toString=function(){return this.value},re.prototype.test=function(e){return c("Comparator.test",e,this.loose),this.semver===de||("string"==typeof e&&(e=new Y(e,this.loose)),te(e,this.operator,this.semver,this.loose))},re.prototype.intersects=function(e,a){if(!(e instanceof re))throw new TypeError("a Comparator is required");var n;if(""===this.operator)return n=new ie(e.value,a),ge(this.value,n,a);if(""===e.operator)return n=new ie(this.value,a),ge(e.semver,n,a);var t=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),d=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),o=te(this.semver,"<",e.semver,a)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),s=te(this.semver,">",e.semver,a)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return t||r||d&&i||o||s},(pe.Range=ie).prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},ie.prototype.toString=function(){return this.range},ie.prototype.parseRange=function(e){var s=this.loose;e=e.trim(),c("range",e,s);var a=s?u[G]:u[W];e=e.replace(a,se),c("hyphen replace",e),e=e.replace(u[V],"$1$2$3"),c("comparator trim",e,u[V]),e=(e=(e=e.replace(u[F],"$1~")).replace(u[I],"$1^")).split(/\s+/).join(" ");var n=s?u[L]:u[U],t=e.split(" ").map(function(e){return n=s,c("comp",a=e),i=n,a=a.trim().split(/\s+/).map(function(e){return function(i,e){c("caret",i,e);var a=e?u[N]:u[B];return i.replace(a,function(e,a,n,t,r){var d;return c("caret",i,e,a,n,t,r),oe(a)?d="":oe(n)?d=">="+a+".0.0 <"+(+a+1)+".0.0":oe(t)?d="0"===a?">="+a+"."+n+".0 <"+a+"."+(+n+1)+".0":">="+a+"."+n+".0 <"+(+a+1)+".0.0":r?(c("replaceCaret pr",r),"-"!==r.charAt(0)&&(r="-"+r),d="0"===a?"0"===n?">="+a+"."+n+"."+t+r+" <"+a+"."+n+"."+(+t+1):">="+a+"."+n+"."+t+r+" <"+a+"."+(+n+1)+".0":">="+a+"."+n+"."+t+r+" <"+(+a+1)+".0.0"):(c("no pr"),d="0"===a?"0"===n?">="+a+"."+n+"."+t+" <"+a+"."+n+"."+(+t+1):">="+a+"."+n+"."+t+" <"+a+"."+(+n+1)+".0":">="+a+"."+n+"."+t+" <"+(+a+1)+".0.0"),c("caret return",d),d})}(e,i)}).join(" "),c("caret",a),o=n,a=a.trim().split(/\s+/).map(function(e){return i=e,a=o?u[j]:u[k],i.replace(a,function(e,a,n,t,r){var d;return c("tilde",i,e,a,n,t,r),oe(a)?d="":oe(n)?d=">="+a+".0.0 <"+(+a+1)+".0.0":oe(t)?d=">="+a+"."+n+".0 <"+a+"."+(+n+1)+".0":r?(c("replaceTilde pr",r),"-"!==r.charAt(0)&&(r="-"+r),d=">="+a+"."+n+"."+t+r+" <"+a+"."+(+n+1)+".0"):d=">="+a+"."+n+"."+t+" <"+a+"."+(+n+1)+".0",c("tilde return",d),d});var i,a}).join(" "),c("tildes",a),c("replaceXRanges",r=a,d=n),a=r.split(/\s+/).map(function(e){return function(g,e){g=g.trim();var a=e?u[w]:u[C];return g.replace(a,function(e,a,n,t,r,d){c("xRange",g,e,a,n,t,r,d);var i=oe(n),o=i||oe(t),s=o||oe(r),u=s;return"="===a&&u&&(a=""),i?e=">"===a||"<"===a?"<0.0.0":"*":a&&u?(o&&(t=0),s&&(r=0),">"===a?(a=">=",o?(n=+n+1,r=t=0):s&&(t=+t+1,r=0)):"<="===a&&(a="<",o?n=+n+1:t=+t+1),e=a+n+"."+t+"."+r):o?e=">="+n+".0.0 <"+(+n+1)+".0.0":s&&(e=">="+n+"."+t+".0 <"+n+"."+(+t+1)+".0"),c("xRange return",e),e})}(e,d)}).join(" "),c("xrange",a),c("replaceStars",t=a,n),a=t.trim().replace(u[K],""),c("stars",a),a;var a,n,t,r,d,o,i}).join(" ").split(/\s+/);return this.loose&&(t=t.filter(function(e){return!!e.match(n)})),t=t.map(function(e){return new re(e,s)})},ie.prototype.intersects=function(n,t){if(!(n instanceof ie))throw new TypeError("a Range is required");return this.set.some(function(e){return e.every(function(a){return n.set.some(function(e){return e.every(function(e){return a.intersects(e,t)})})})})},pe.toComparators=function(e,a){return new ie(e,a).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},ie.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new Y(e,this.loose));for(var a=0;a",n)},pe.outside=ce,pe.prerelease=function(e,a){var n=q(e,a);return n&&n.prerelease.length?n.prerelease:null},pe.intersects=function(e,a,n){return e=new ie(e,n),a=new ie(a,n),e.intersects(a)},pe.coerce=function(e){if(e instanceof Y)return e;if("string"!=typeof e)return null;var a=e.match(u[D]);return null==a?null:q((a[1]||"0")+"."+(a[2]||"0")+"."+(a[3]||"0"))}}).call(pe,Re(24))},function(e,a,t){"use strict";(function(r){var n=t(103);Object.defineProperty(a,"__esModule",{value:!0}),a.transformSync=s,a.transformAsync=function(e,a){return new n(function(n,t){o(e,a,function(e,a){null==e?n(a):t(e)})})},a.transform=void 0;var e,d=(e=t(77))&&e.__esModule?e:{default:e},i=t(267);var o=function(a,n,e){if("function"==typeof n&&(e=n=void 0),void 0===e)return s(a,n);var t=e;r.nextTick(function(){var e;try{if(null===(e=(0,d.default)(n)))return t(null,null)}catch(e){return t(e)}(0,i.runAsync)(e,a,null,t)})};function s(e,a){var n=(0,d.default)(a);return null===n?null:(0,i.runSync)(n,e)}a.transform=o}).call(a,t(24))},function(e,a,n){"use strict";var t=n(11);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=function(){function e(e,a,n){this._map=new t,this.key=a,this.file=e,this.opts=n||{},this.cwd=e.opts.cwd,this.filename=e.opts.filename}var a=e.prototype;return a.set=function(e,a){this._map.set(e,a)},a.get=function(e){return this._map.get(e)},a.addHelper=function(e){return this.file.addHelper(e)},a.addImport=function(){return this.file.addImport()},a.getModuleName=function(){return this.file.getModuleName()},a.buildCodeFrameError=function(e,a,n){return this.file.buildCodeFrameError(e,a,n)},e}();a.default=r},function(e,a,n){"use strict";function d(){var e=i(n(683));return d=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){if(!t){var e=(0,r.default)({babelrc:!1,configFile:!1,plugins:[o]});if(!(t=e?e.passes[0][0]:void 0))throw new Error("Assertion failure")}return t};var t,r=i(n(77));function i(e){return e&&e.__esModule?e:{default:e}}var o={name:"internal.blockHoist",visitor:{Block:{exit:function(e){for(var a=e.node,n=!1,t=0;t=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}for(var l=c,p=l,R=Array.isArray(p),f=0,p=R?p:A(p);;){var h;if(R){if(f>=p.length)break;h=p[f++]}else{if((f=p.next()).done)break;h=f.value}var y=h,m=y.generatorOverride;if(m){var v=m(r,t.generatorOpts,d,_().default);void 0!==v&&o.push(v)}}}if(0===o.length)n=(0,_().default)(r,t.generatorOpts,d);else{if(1!==o.length)throw new Error("More than one plugin attempted to override codegen.");if("function"==typeof(n=o[0]).then)throw new Error("You appear to be using an async parser plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}var b=n,E=b.code,x=b.map;x&&i&&(x=(0,T.default)(i.toObject(),x));"inline"!==t.sourceMaps&&"both"!==t.sourceMaps||(E+="\n"+S().default.fromObject(x).toComment());"inline"===t.sourceMaps&&(x=null);return{outputCode:E,outputMap:x}};var T=t(n(718));function t(e){return e&&e.__esModule?e:{default:e}}},function(e,a,n){"use strict";var t=n(36),s=n(9),r=n(17),E=n(4),x=n(11);function A(){var e,a=(e=n(242))&&e.__esModule?e:{default:e};return A=function(){return a},a}function S(e){return r([e.line,e.columnStart])}function _(e){var r=new(A().default.SourceMapConsumer)(s({},e,{sourceRoot:null})),d=new x,i=new x,o=null;return r.computeColumnSpans(),r.eachMapping(function(e){if(null!==e.originalLine){var a=d.get(e.source);a||(a={path:e.source,content:r.sourceContentFor(e.source,!0)},d.set(e.source,a));var n=i.get(a);n||(n={source:a,mappings:[]},i.set(a,n));var t={line:e.originalLine,columnStart:e.originalColumn,columnEnd:1/0,name:e.name};o&&o.source===a&&o.mapping.line===e.originalLine&&(o.mapping.columnEnd=e.originalColumn),o={source:a,mapping:t},n.mappings.push({original:t,generated:r.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(function(e){return{line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}})})}},null,A().default.SourceMapConsumer.ORIGINAL_ORDER),{file:e.file,sourceRoot:e.sourceRoot,sources:t(i.values())}}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){for(var n=_(e),t=_(a),r=new(A().default.SourceMapGenerator),d=n.sources,i=Array.isArray(d),o=0,d=i?d:E(d);;){var s;if(i){if(o>=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s,g=u.source;"string"==typeof g.content&&r.setSourceContent(g.path,g.content)}if(1===t.sources.length){var c=t.sources[0],l=new x;!function(e,a){for(var n=e.sources,t=Array.isArray(n),r=0,n=t?n:E(n);;){var d;if(t){if(r>=n.length)break;d=n[r++]}else{if((r=n.next()).done)break;d=r.value}for(var i=d,o=i.source,s=i.mappings,u=s,g=Array.isArray(u),c=0,u=g?u:E(u);;){var l;if(g){if(c>=u.length)break;l=u[c++]}else{if((c=u.next()).done)break;l=c.value}for(var p=l,R=p.original,f=p.generated,h=f,y=Array.isArray(h),m=0,h=y?h:E(h);;){var v;if(y){if(m>=h.length)break;v=h[m++]}else{if((m=h.next()).done)break;v=m.value}var b=v;a(b,R,o)}}}}(n,function(e,n,t){!function(e,a,n){for(var t=function(e,a){var n=e.mappings,t=a.line,r=a.columnStart,d=a.columnEnd;return function(e,a){for(var n=function(e,a){var n=0,t=e.length;for(;na.line?-1:t=a.columnEnd?-1:d<=a.columnStart?1:0})}(e,a),r=Array.isArray(t),d=0,t=r?t:E(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}for(var o=i,s=o.generated,u=s,g=Array.isArray(u),c=0,u=g?u:E(u);;){var l;if(g){if(c>=u.length)break;l=u[c++]}else{if((c=u.next()).done)break;l=c.value}var p=l;n(p)}}}(c,e,function(e){var a=S(e);l.has(a)||(l.set(a,e),r.addMapping({source:t.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name}))})});for(var p=l.values(),R=Array.isArray(p),f=0,p=R?p:E(p);;){var h;if(R){if(f>=p.length)break;h=p[f++]}else{if((f=p.next()).done)break;h=f.value}var y=h;if(y.columnEnd!==1/0){var m={line:y.line,columnStart:y.columnEnd},v=S(m);l.has(v)||r.addMapping({generated:{line:m.line,column:m.columnStart}})}}}var b=r.toJSON();"string"==typeof n.sourceRoot&&(b.sourceRoot=n.sourceRoot);return b}},function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a,n){void 0===a&&(a={});"function"==typeof a&&(n=a);n(new Error("Transforming files is not supported in browsers"),null)}},function(e,a,t){"use strict";(function(d){var n=t(103);Object.defineProperty(a,"__esModule",{value:!0}),a.transformFromAstSync=u,a.transformFromAstAsync=function(e,a,r){return new n(function(n,t){s(e,a,r,function(e,a){null==e?n(a):t(e)})})},a.transformFromAst=void 0;var e,i=(e=t(77))&&e.__esModule?e:{default:e},o=t(267);var s=function(a,n,t,e){if("function"==typeof t&&(e=t=void 0),void 0===e)return u(a,n,t);var r=e;d.nextTick(function(){var e;try{if(null===(e=(0,i.default)(t)))return r(null,null)}catch(e){return r(e)}if(!a)return r(new Error("No AST given"));(0,o.runAsync)(e,n,a,r)})};function u(e,a,n){var t=(0,i.default)(n);if(null===t)return null;if(!e)throw new Error("No AST given");return(0,o.runSync)(t,a,e)}a.transformFromAst=s}).call(a,t(24))},function(e,t,u){"use strict";(function(a){var n=u(103);Object.defineProperty(t,"__esModule",{value:!0}),t.parseSync=s,t.parseAsync=function(e,a){return new n(function(n,t){r(e,a,function(e,a){null==e?n(a):t(e)})})},t.parse=void 0;var d=e(u(77)),i=e(u(276)),o=e(u(275));function e(e){return e&&e.__esModule?e:{default:e}}var r=function(n,t,e){if("function"==typeof t&&(e=t=void 0),void 0===e)return s(n,t);if(null===(0,d.default)(t))return null;var r=e;a.nextTick(function(){var e=null;try{var a=(0,d.default)(t);if(null===a)return r(null,null);e=(0,i.default)(a.passes,(0,o.default)(a),n).ast}catch(e){return r(e)}r(null,e)})};function s(e,a){var n=(0,d.default)(a);return null===n?null:(0,i.default)(n.passes,(0,o.default)(n),e).ast}t.parse=r}).call(t,u(24))},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function r(){var e=n(5);return r=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,t().declare)(function(e){return e.assertVersion(7),{pre:function(e){e.set("helpersNamespace",r().types.identifier("babelHelpers"))}}});a.default=d},function(e,a,n){"use strict";var t=n(233),o=n(7),s=n(9),r=n(3),d=n(2);function u(){var e=i(n(32));return u=function(){return e},e}function x(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return x=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var A=i(n(726)),S=i(n(297));function i(e){return e&&e.__esModule?e:{default:e}}var g=function(){function e(e,a,n){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1};var t=e.find(function(e){return e.isProgram()});this._programPath=t,this._programScope=t.scope,this._file=t.hub.file,this._defaultOpts=this._applyDefaults(a,n,!0)}var a=e.prototype;return a.addDefault=function(e,a){return this.addNamed("default",e,a)},a.addNamed=function(e,a,n){return(0,u().default)("string"==typeof e),this._generateImport(this._applyDefaults(a,n),e)},a.addNamespace=function(e,a){return this._generateImport(this._applyDefaults(e,a),null)},a.addSideEffect=function(e,a){return this._generateImport(this._applyDefaults(e,a),!1)},a._applyDefaults=function(e,a,n){void 0===n&&(n=!1);var t=[];"string"==typeof e?(t.push({importedSource:e}),t.push(a)):((0,u().default)(!a,"Unexpected secondary arguments."),t.push(e));for(var r=s({},this._defaultOpts),d=function(){var a=t[i];if(!a)return"continue";o(r).forEach(function(e){void 0!==a[e]&&(r[e]=a[e])}),n||(void 0!==a.nameHint&&(r.nameHint=a.nameHint),void 0!==a.blockHoist&&(r.blockHoist=a.blockHoist))},i=0;i=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;if(n=o.equals("kind","constructor"))break}if(n)return;if(S.isDerived){var s=w().template.expression.ast(l());e=s.params,a=s.body}else e=[],a=w().types.blockStatement([]);S.path.get("body").unshiftContainer("body",w().types.classMethod("constructor",w().types.identifier("constructor"),e,a))}(),function(){for(var e=S.path.get("body.body"),a=Array.isArray(e),n=0,e=a?e:C(e);;){var t;if(a){if(n>=e.length)break;t=e[n++]}else{if((n=e.next()).done)break;t=n.value}var r=t,d=r.node;if(r.isClassProperty())throw r.buildCodeFrameError("Missing class properties transform.");if(d.decorators)throw r.buildCodeFrameError("Method has decorators, put the decorator plugin before the classes one.");if(w().types.isClassMethod(d)){var i="constructor"===d.kind;i&&r.traverse(f,{isDerived:S.isDerived,file:S.file});var o=new(p().default)({methodPath:r,objectRef:S.classRef,superRef:S.superName,isLoose:S.isLoose,file:S.file});o.replace();var s={returns:[],bareSupers:new c};r.traverse(w().traverse.visitors.merge([p().environmentVisitor,{ReturnStatement:function(e,a){e.getFunctionParent().isArrowFunctionExpression()||a.returns.push(e)},Super:function(e,a){var n=e.node,t=e.parentPath;t.isCallExpression({callee:n})&&a.bareSupers.add(t)}}]),s),i?g(s,d,r):u(d,r)}}}(),function(){if(!S.isDerived)return;var a=S.userConstructorPath,e=a.get("body");a.traverse(A);for(var n,t=!!S.bareSupers.size,r=function(){var e=a.scope.generateDeclaredUidIdentifier("this");return r=function(){return w().types.cloneNode(e)},e},d=S.bareSupers,i=Array.isArray(d),o=0,d=i?d:C(d);;){var s;if(i){if(o>=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s;P(u,S.superName,r,e),t&&u.find(function(e){return e===a||(e.isLoop()||e.isConditional()||e.isArrowFunctionExpression()?(t=!1,!0):void 0)})}for(var g=S.superThises,c=Array.isArray(g),l=0,g=c?g:C(g);;){var p;if(c){if(l>=g.length)break;p=g[l++]}else{if((l=g.next()).done)break;p=l.value}var R=p,f=R.node,h=R.parentPath;h.isMemberExpression({object:f})?R.replaceWith(r()):R.replaceWith(w().types.callExpression(S.file.addHelper("assertThisInitialized"),[r()]))}n=S.isLoose?function(e){var a=w().types.callExpression(S.file.addHelper("assertThisInitialized"),[r()]);return e?w().types.logicalExpression("||",e,a):a}:function(e){return w().types.callExpression(S.file.addHelper("possibleConstructorReturn"),[r()].concat(e||[]))};var y=e.get("body");y.length&&y.pop().isReturnStatement()||e.pushContainer("body",w().types.returnStatement(t?r():n()));for(var m=S.superReturns,v=Array.isArray(m),b=0,m=v?m:C(m);;){var E;if(v){if(b>=m.length)break;E=m[b++]}else{if((b=m.next()).done)break;E=b.value}var x=E;x.get("argument").replaceWith(n(x.node.argument))}}(),S.userConstructor){var e=S.constructorBody,a=S.userConstructor,n=S.construct;e.body=e.body.concat(a.body.body),w().types.inherits(n,a),w().types.inherits(e,a.body)}r()}function r(){i();var e,a,n=S.body;if(S.hasInstanceDescriptors&&(e=R().toClassObject(S.instanceMutatorMap)),S.hasStaticDescriptors&&(a=R().toClassObject(S.staticMutatorMap)),e||a){e&&(e=R().toComputedObjectFromClass(e)),a&&(a=R().toComputedObjectFromClass(a));var t=[w().types.cloneNode(S.classRef),w().types.nullLiteral(),w().types.nullLiteral()];e&&(t[1]=e),a&&(t[2]=a);for(var r=0,d=0;d=y.length)break;b=y[v++]}else{if((v=y.next()).done)break;b=v.value}var E=b;if(!w().types.isIdentifier(E)){h=!1;break}}var x=h?c[0].body.directives:[];f||x.push(w().types.directive(w().types.directiveLiteral("use strict")));if(h)return w().types.toExpression(c[0]);c.push(w().types.returnStatement(w().types.cloneNode(S.classRef)));var A=w().types.arrowFunctionExpression(p,w().types.blockStatement(c,x));return w().types.callExpression(A,R)}(e,a,n,t)};var f=w().traverse.visitors.merge([p().environmentVisitor,{Super:function(e,a){if(!a.isDerived){var n=e.node;if(e.parentPath.isCallExpression({callee:n}))throw e.buildCodeFrameError("super() is only allowed in a derived constructor")}},ThisExpression:function(e,a){if(a.isDerived){var n=e.node;if(!e.parentPath.isMemberExpression({object:n})){var t=w().types.callExpression(a.file.addHelper("assertThisInitialized"),[n]);e.replaceWith(t),e.skip()}}}}])},function(e,a,n){var t=n(736),r=n(274);e.exports=function(e,a){return null!=e&&r(e,a,t)}},function(e,a){var n=Object.prototype.hasOwnProperty;e.exports=function(e,a){return null!=e&&n.call(e,a)}},function(e,a,n){"use strict";var r=n(3),d=n(2);function t(){var e=n(1);return t=function(){return e},e}function i(){var e,a=(e=n(313))&&e.__esModule?e:{default:e};return i=function(){return a},a}function o(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(108));return o=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{RegExpLiteral:function(e){var a=e.node;o().is(a,"s")&&(a.pattern=(0,i().default)(a.pattern,a.flags,{dotAllFlag:!0,useUnicodeFlag:o().is(a,"u")}),o().pullFlag(a,"s"))}}}});a.default=s},function(e,h,y){(function(p,R){var f;(function(){"use strict";var e={function:!0,object:!0},a=(e[typeof window]&&window,e[typeof h]&&h),n=e[typeof p]&&p&&!p.nodeType&&p,t=a&&n&&"object"==typeof R&&R;!t||t.global!==t&&t.window!==t&&t.self;var r=Object.prototype.hasOwnProperty,o=String.fromCharCode,s=Math.floor;function d(){var e,a,n=[],t=-1,r=arguments.length;if(!r)return"";for(var d="";++t>10),a=i%1024+56320,n.push(e,a)),(t+1==r||16384a.codePoint&&O("invalid range in character class",e.raw+"-"+a.raw,n,t),l({type:"characterClassRange",min:e,max:a,range:[n,t]})}function m(e){return"alternative"===e.type?e.body:[e]}function s(e){e=e||1;var a=c.substring(I,I+e);return I+=e||1,a}function v(e){b(e)||O("character",e)}function b(e){if(c.indexOf(e,I)===I)return s(e.length)}function u(){return c[I]}function E(e){return c.indexOf(e,I)===I}function g(e){return c[I+1]===e}function x(e){var a=c.substring(I).match(e);return a&&(a.range=[],a.range[0]=I,s(a[0].length),a.range[1]=I),a}function A(){var e=[],a=I;for(e.push(n());b("|");)e.push(n());return 1===e.length?e[0]:l({type:"disjunction",body:e,range:[a,I]})}function n(){for(var e,a=[],n=I;e=t();)a.push(e);return 1===a.length?a[0]:l({type:"alternative",body:a,range:[n,I]})}function t(){if(I>=c.length||E("|")||E(")"))return null;var e=b("^")?R("start",1):b("$")?R("end",1):b("\\b")?R("boundary",2):b("\\B")?R("not-boundary",2):S("(?=","lookahead","(?!","negativeLookahead");if(e)return e;var a,n,t,r=(t=x(/^[^^$\\.*+?(){[|]/))?f(t):b(".")?l({type:"dot",range:[I-1,I]}):b("\\")?((t=P())||O("atomEscape"),t):(n=I,(t=(a=x(/^\[\^/))?(a=C(),v("]"),y(a,!0,n,I)):b("[")?(a=C(),v("]"),y(a,!1,n,I)):null)?t:S("(?:","ignore","(","normal"));r||O("Expected atom");var d,i,o,s,u,g=(u=I,b("*")?i=h(0):b("+")?i=h(1):b("?")?i=h(0,1):(d=x(/^\{([0-9]+)\}/))?(o=parseInt(d[1],10),i=h(o,o,d.range[0],d.range[1])):(d=x(/^\{([0-9]+),\}/))?(o=parseInt(d[1],10),i=h(o,void 0,d.range[0],d.range[1])):(d=x(/^\{([0-9]+),([0-9]+)\}/))&&(o=parseInt(d[1],10),(s=parseInt(d[2],10))>>0,a>>>=0;for(var d=Array(r);++t=r.length)break;s=r[i++]}else{if((i=r.next()).done)break;s=i.value}for(var u=s,g=u[0],c=u[1],l=c.imports,p=Array.isArray(l),R=0,l=p?l:O(l);;){var f;if(p){if(R>=l.length)break;f=l[R++]}else{if((R=l.next()).done)break;f=R.value}var h=f,y=h[0],m=h[1];e.set(y,[g,m,null])}for(var v=c.importsNamespace,b=Array.isArray(v),E=0,v=b?v:O(v);;){var x;if(b){if(E>=v.length)break;x=v[E++]}else{if((E=v.next()).done)break;x=E.value}var y=x;e.set(y,[g,null,y])}}for(var A=o.local,S=Array.isArray(A),_=0,A=S?A:O(A);;){var T,P;if(S){if(_>=A.length)break;P=A[_++]}else{if((_=A.next()).done)break;P=_.value}var C=P,w=C[0],c=C[1],D=n.get(w);D||(D=[],n.set(w,D)),(T=D).push.apply(T,c.names)}a.traverse(N,{metadata:o,requeueInParent:t,scope:a.scope,exported:n}),(0,B().default)(a,new j(k(e.keys()).concat(k(n.keys())))),a.traverse(L,{seen:new F,metadata:o,requeueInParent:t,scope:a.scope,imported:e,exported:n,buildImportReference:function(e,a){var n=e[0],t=e[1],r=e[2],d=o.source.get(n);if(r)return d.lazy&&(a=I().callExpression(a,[])),a;var i=I().identifier(d.name);return d.lazy&&(i=I().callExpression(i,[])),I().memberExpression(i,I().identifier(t))}})};var N={ClassProperty:function(e){e.skip()},Function:function(e){e.skip()},ClassDeclaration:function(e){var a=this.requeueInParent,n=this.exported,t=this.metadata,r=e.node.id;if(!r)throw new Error("Expected class to have a name");var d=r.name,i=n.get(d)||[];if(0=i.length)break;g=i[s++]}else{if((s=i.next()).done)break;g=s.value}var c=g;if(0=R.length)break;y=R[h++]}else{if((h=R.next()).done)break;y=h.value}var m=y;"default"===m?l=!0:p=!0}for(var v=c.reexports.values(),b=Array.isArray(v),E=0,v=b?v:j(v);;){var x;if(b){if(E>=v.length)break;x=v[E++]}else{if((E=v.next()).done)break;x=E.value}var A=x;"default"===A?l=!0:p=!0}l&&p?c.interop="namespace":l&&(c.interop="default")}}for(var S=r,_=Array.isArray(S),T=0,S=_?S:j(S);;){var P;if(_){if(T>=S.length)break;P=S[T++]}else{if((T=S.next()).done)break;P=T.value}var C=P,w=C[0],D=C[1];if(!1!==n&&!I(D)&&!D.reexportAll)if(!0===n)D.lazy=!/\./.test(w);else if(Array.isArray(n))D.lazy=n.indexOf(w);else{if("function"!=typeof n)throw new Error(".lazy must be a boolean, string array, or function");D.lazy=n(w)}}return{local:u,source:r}}(e,{loose:o,lazy:u}),R=p.local,f=p.source;h=e,h.get("body").forEach(function(e){if(e.isImportDeclaration())e.remove();else if(e.isExportNamedDeclaration())e.node.declaration?(e.node.declaration._blockHoist=e.node._blockHoist,e.replaceWith(e.node.declaration)):e.remove();else if(e.isExportDefaultDeclaration()){var a=e.get("declaration");if(!a.isFunctionDeclaration()&&!a.isClassDeclaration())throw a.buildCodeFrameError("Unexpected default expression export.");a._blockHoist=e.node._blockHoist,e.replaceWith(a)}else e.isExportAllDeclaration()&&e.remove()});var h;for(var y=f,m=Array.isArray(y),v=0,y=m?y:j(y);;){var b;if(m){if(v>=y.length)break;b=y[v++]}else{if((v=y.next()).done)break;b=v.value}var E=b,x=E[1];0 ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n"),A=(0,E().template)("\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n"),S=(0,E().template)("\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n"),_=(0,E().template)("\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n");function T(e,a){if(!e.hasOwnBinding(a.name))return!0;var n=e.getOwnBinding(a.name).kind;return"param"===n||"local"===n}var P={ReferencedIdentifier:function(e,a){var n=e.scope,t=e.node;"eval"!==t.name&&T(n,t)||(a.iife=!0,e.stop())},Scope:function(e){e.skip()}}},function(e,a,n){"use strict";var r=n(3),d=n(2);function s(){var e,a=(e=n(326))&&e.__esModule?e:{default:e};return s=function(){return a},a}function u(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return u=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){void 0===a&&(a=e.scope);var n=e.node,t=u().functionExpression(null,[],n.body,n.generator,n.async),r=t,d=[];(0,s().default)(e,function(e){return a.push({id:e})});var i={foundThis:!1,foundArguments:!1};e.traverse(g,i),i.foundArguments&&(r=u().memberExpression(t,u().identifier("apply")),d=[],i.foundThis&&d.push(u().thisExpression()),i.foundArguments&&(i.foundThis||d.push(u().nullLiteral()),d.push(u().identifier("arguments"))));var o=u().callExpression(r,d);n.generator&&(o=u().yieldExpression(o,!0));return u().returnStatement(o)};var g={enter:function(e,a){e.isThisExpression()&&(a.foundThis=!0),e.isReferencedIdentifier({name:"arguments"})&&(a.foundArguments=!0)},Function:function(e){e.skip()}}},function(e,a,n){"use strict";var A=n(4);function S(){var e=n(5);return S=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){var a=e.node,n=e.scope;if(t=a,r=t.params.length,!(0=s.length)break;c=s[g++]}else{if((g=s.next()).done)break;c=g.value}var l=c,p=l.path,R=l.cause,f=S().types.cloneNode(i);switch(R){case"indexGetter":P(p,f,o.offset);break;case"lengthGetter":C(p,f,o.offset);break;default:p.replaceWith(f)}}return!0}o.references=o.references.concat(o.candidates.map(function(e){var a=e.path;return a}));var h,y,m=S().types.numericLiteral(a.params.length),v=n.generateUidIdentifier("key"),b=n.generateUidIdentifier("len");a.params.length?(h=S().types.binaryExpression("-",S().types.cloneNode(v),S().types.cloneNode(m)),y=S().types.conditionalExpression(S().types.binaryExpression(">",S().types.cloneNode(b),S().types.cloneNode(m)),S().types.binaryExpression("-",S().types.cloneNode(b),S().types.cloneNode(m)),S().types.numericLiteral(0))):(h=S().types.identifier(v.name),y=S().types.identifier(b.name));var E=_({ARGUMENTS:i,ARRAY_KEY:h,ARRAY_LEN:y,START:m,ARRAY:d,KEY:v,LEN:b});if(o.deopted)a.body.body.unshift(E);else{var x=e.getEarliestCommonAncestorFrom(o.references).getStatementParent();x.findParent(function(e){if(!e.isLoop())return e.isFunction();x=e}),x.insertBefore(E)}return!0};var _=(0,S().template)("\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n"),u=(0,S().template)("\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n"),g=(0,S().template)("\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n"),t=(0,S().template)("\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n");function i(e,a){return e.node.name===a.name&&e.scope.bindingIdentifierEquals(a.name,a.outerBinding)}var T={Scope:function(e,a){e.scope.bindingIdentifierEquals(a.name,a.outerBinding)||e.skip()},Flow:function(e){e.isTypeCastExpression()||e.skip()},Function:function(e,a){var n=a.noOptimise;a.noOptimise=!0,e.traverse(T,a),a.noOptimise=n,e.skip()},ReferencedIdentifier:function(e,a){var n=e.node;if("arguments"===n.name&&(a.deopted=!0),i(e,a))if(a.noOptimise)a.deopted=!0;else{var t=e.parentPath;if("params"===t.listKey&&t.key>":return a>>n;case">>>":return a>>>n;case"<<":return a<=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var s=o;if("get"===s.kind||"set"===s.kind){t=!0;break}}if(t){var u={};n.properties=n.properties.filter(function(e){return!!(e.computed||"get"!==e.kind&&"set"!==e.kind)||(c().push(u,e,null,a),!1)}),e.replaceWith(l().types.callExpression(l().types.memberExpression(l().types.identifier("Object"),l().types.identifier("defineProperties")),[n,c().toDefineObject(u)]))}}}}});a.default=i},function(e,a,n){"use strict";var r=n(3),d=n(2);function o(){var e,a=(e=n(1137))&&e.__esModule?e:{default:e};return o=function(){return a},a}function s(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return s=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){var d=e.build,i=e.operator;return{AssignmentExpression:function(e){var a=e.node,n=e.scope;if(a.operator===i+"="){var t=[],r=(0,o().default)(a.left,t,this,n);t.push(s().assignmentExpression("=",r.ref,d(r.uid,a.right))),e.replaceWith(s().sequenceExpression(t))}},BinaryExpression:function(e){var a=e.node;a.operator===i&&e.replaceWith(d(a.left,a.right))}}}},function(e,a,n){"use strict";var r=n(3),d=n(2);function g(){var e=function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var t=d&&r?r(e,n):{};t.get||t.set?d(a,n,t):a[n]=e[n]}return a.default=e,a}}(n(6));return g=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a,n,t,r){var d,i,o;d=g().isIdentifier(e)&&r?e:function(e,a,n,t){var r;{if(g().isSuper(e))return e;if(g().isIdentifier(e)){if(t.hasBinding(e.name))return e;r=e}else{if(!g().isMemberExpression(e))throw new Error("We can't explode this node type "+e.type);if(r=e.object,g().isSuper(r)||g().isIdentifier(r)&&t.hasBinding(r.name))return r}}var d=t.generateUidIdentifierBasedOnNode(r);return t.push({id:d}),a.push(g().assignmentExpression("=",g().cloneNode(d),g().cloneNode(r))),d}(e,a,0,t);if(g().isIdentifier(e))i=g().cloneNode(e),o=d;else{var s=function(e,a,n,t){var r=e.property,d=g().toComputedKey(e,r);if(g().isLiteral(d)&&g().isPureish(d))return d;var i=t.generateUidIdentifierBasedOnNode(r);return t.push({id:i}),a.push(g().assignmentExpression("=",g().cloneNode(i),g().cloneNode(r))),i}(e,a,0,t),u=e.computed||g().isLiteral(s);o=g().memberExpression(g().cloneNode(d),g().cloneNode(s),u),i=g().memberExpression(g().cloneNode(d),g().cloneNode(s),u)}return{uid:o,ref:i}}},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function i(){var e,a=(e=n(166))&&e.__esModule?e:{default:e};return i=function(){return a},a}function o(){var e=n(5);return o=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){function r(e,a){var n=e.getPrevSibling(),t="trailing";n.node||(n=e.parentPath,t="inner"),n.addComment(t,d(e,a)),e.remove()}function d(e,a){var n=e.getSource().replace(/\*-\//g,"*-ESCAPED/").replace(/\*\//g,"*-/");return a&&a.optional&&(n="?"+n),":"!==n[0]&&(n=":: "+n),n}return e.assertVersion(7),{inherits:i().default,visitor:{TypeCastExpression:function(e){var a=e.node;e.get("expression").addComment("trailing",d(e.get("typeAnnotation"))),e.replaceWith(o().types.parenthesizedExpression(a.expression))},Identifier:function(e){if(!e.parentPath.isFlow()){var a=e.node;if(a.typeAnnotation){var n=e.get("typeAnnotation");e.addComment("trailing",d(n,a)),n.remove(),a.optional&&(a.optional=!1)}else a.optional&&(e.addComment("trailing",":: ?"),a.optional=!1)}},AssignmentPattern:{exit:function(e){var a=e.node.left;a.optional&&(a.optional=!1)}},Function:function(e){if(!e.isDeclareFunction()){var a=e.node;if(a.returnType){var n=e.get("returnType"),t=n.get("typeAnnotation");e.get("body").addComment("leading",d(n,t.node)),n.remove()}if(a.typeParameters){var r=e.get("typeParameters");e.get("id").addComment("trailing",d(r,r.node)),r.remove()}}},ClassProperty:function(e){var a=e.node,n=e.parent;if(a.value){if(a.typeAnnotation){var t=e.get("typeAnnotation");e.get("key").addComment("trailing",d(t,t.node)),t.remove()}}else r(e,n)},ExportNamedDeclaration:function(e){var a=e.node,n=e.parent;("type"===a.exportKind||o().types.isFlow(a.declaration))&&r(e,n)},ImportDeclaration:function(e){var a=e.node,n=e.parent;"type"!==a.importKind&&"typeof"!==a.importKind||r(e,n)},Flow:function(e){r(e,e.parent)},Class:function(e){if(e.node.typeParameters){var a=e.get("typeParameters");e.get("body").addComment("leading",d(a,a.node)),a.remove()}}}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function r(){var e=n(5);return r=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{FunctionExpression:{exit:function(e){var a=e.node;a.id&&e.replaceWith(r().types.callExpression(r().types.functionExpression(null,[],r().types.blockStatement([r().types.toStatement(a),r().types.returnStatement(r().types.cloneNode(a.id))])),[]))}}}}});a.default=d},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}function o(){var e=n(5);return o=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{name:"transform-new-target",visitor:{MetaProperty:function(e){var a=e.get("meta"),n=e.get("property"),t=e.scope;if(a.isIdentifier({name:"new"})&&n.isIdentifier({name:"target"})){var r=e.findParent(function(e){return!!e.isClass()||!(!e.isFunction()||e.isArrowFunctionExpression())&&!e.isClassMethod({kind:"constructor"})});if(!r)throw e.buildCodeFrameError("new.target must be under a (non-arrow) function or a class.");var d=r.node;if(!d.id){if(r.isMethod())return void e.replaceWith(t.buildUndefinedNode());d.id=t.generateUidIdentifier("target")}var i=o().types.memberExpression(o().types.thisExpression(),o().types.identifier("constructor"));if(r.isClass())return void e.replaceWith(i);e.replaceWith(o().types.conditionalExpression(o().types.binaryExpression("instanceof",o().types.thisExpression(),o().types.cloneNode(d.id)),i,t.buildUndefinedNode()))}}}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{CallExpression:function(e,a){e.get("callee").matchesPattern("Object.assign")&&(e.node.callee=a.addHelper("extends"))}}}});a.default=r},function(e,a,n){"use strict";function t(){var e=n(1);return t=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){return e.assertVersion(7),{visitor:{CallExpression:function(e,a){e.get("callee").matchesPattern("Object.setPrototypeOf")&&(e.node.callee=a.addHelper("defaults"))}}}});a.default=r},function(e,a,n){"use strict";var c=n(4);function t(){var e=n(1);return t=function(){return e},e}function l(){var e,a=(e=n(316))&&e.__esModule?e:{default:e};return l=function(){return a},a}function p(){var e=n(5);return p=function(){return e},e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(0,t().declare)(function(e){function d(e){var a=e.left;return p().types.isMemberExpression(a)&&p().types.isLiteral(p().types.toComputedKey(a,a.property),{value:"__proto__"})}function i(e,a,n){return p().types.expressionStatement(p().types.callExpression(n.addHelper("defaults"),[a,e.right]))}return e.assertVersion(7),{visitor:{AssignmentExpression:function(e,a){if(d(e.node)){var n=[],t=e.node.left.object,r=e.scope.maybeGenerateMemoised(t);r&&n.push(p().types.expressionStatement(p().types.assignmentExpression("=",r,t))),n.push(i(e.node,p().types.cloneNode(r||t),a)),r&&n.push(p().types.cloneNode(r)),e.replaceWithMultiple(n)}},ExpressionStatement:function(e,a){var n=e.node.expression;p().types.isAssignmentExpression(n,{operator:"="})&&d(n)&&e.replaceWith(i(n,n.left.object,a))},ObjectExpression:function(e,a){var n,t,r=e.node,d=r.properties,i=Array.isArray(d),o=0;for(d=i?d:c(d);;){var s;if(i){if(o>=d.length)break;s=d[o++]}else{if((o=d.next()).done)break;s=o.value}var u=s;t=u,p().types.isLiteral(p().types.toComputedKey(t,t.key),{value:"__proto__"})&&(n=u.value,(0,l().default)(r.properties,u))}if(n){var g=[p().types.objectExpression([]),n];r.properties.length&&g.push(r),e.replaceWith(p().types.callExpression(a.addHelper("extends"),g))}}}}});a.default=r},function(e,a,n){"use strict";var t=n(45);function r(){var e=n(1);return r=function(){return e},e}function s(){var e=n(5);return s=function(){return e},e}function u(){var e,a=(e=n(167))&&e.__esModule?e:{default:e};return u=function(){return a},a}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=(0,r().declare)(function(e,a){e.assertVersion(7);var d=a.allowMutablePropsOnTags;if(null!=d&&!Array.isArray(d))throw new Error(".allowMutablePropsOnTags must be an array, null, or undefined.");var i=new t,o={enter:function(e,a){var n=function(){a.isImmutable=!1,e.stop()};if(e.isJSXClosingElement())e.skip();else{if(e.isJSXIdentifier({name:"ref"})&&e.parentPath.isJSXAttribute({name:e.node}))return n();if(!(e.isJSXIdentifier()||e.isIdentifier()||e.isJSXMemberExpression()||e.isImmutable())){if(e.isPure()){var t=e.evaluate();if(t.confident){var r=t.value;if(!(!a.mutablePropsAllowed&&r&&"object"==typeof r||"function"==typeof r))return void e.skip()}else if(s().types.isIdentifier(t.deopt))return}n()}}}};return{visitor:{JSXElement:function(e){if(!i.has(e.node)){i.add(e.node);var a={isImmutable:!0};if(null!=d){for(var n=e.get("openingElement.name");n.isJSXMemberExpression();)n=n.get("property");var t=n.node.name;a.mutablePropsAllowed=-1=a.length)break;r=a[t++]}else{if((t=a.next()).done)break;r=t.value}if("use strict"===r.value.value)return}e.unshiftContainer("directives",i().types.directive(i().types.directiveLiteral("use strict")))}}}});a.default=r},function(e,a,t){"use strict";var s=t(12),u=t(7),p=t(4),r=t(9),g=t(1157).generate,c=t(1158).parse,R=t(350),o=t(314),l=t(315),n=t(1159),d=t(1160),f=R().addRange(0,1114111),h=R().addRange(0,65535),y=f.clone().remove(10,13,8232,8233),m=y.clone().intersection(h),v=function(e,a,n){return a?n?d.UNICODE_IGNORE_CASE.get(e):d.UNICODE.get(e):d.REGULAR.get(e)},b=function(a,n){var e=n?a+"/"+n:"Binary_Property/"+a;try{return t(1161)("./"+e+".js")}catch(e){throw new Error("Failed to recognize value `"+n+"` for property `"+a+"`.")}},E=function(e,a){var n,t=e.split("="),r=t[0];if(1==t.length)n=function(e){try{var a="General_Category",n=l(a,e);return b(a,n)}catch(e){}var t=o(e);return b(t)}(r);else{var d=o(r),i=l(d,t[1]);n=b(d,i)}return a?f.clone().remove(n):n.clone()};R.prototype.iuAddRange=function(e,a){do{var n=A(e);n&&this.add(n)}while(++e<=a);return this};var x=function(e,a){var n=c(a,T.useUnicodeFlag?"u":"");switch(n.type){case"characterClass":case"group":case"value":break;default:n=i(n,a)}r(e,n)},i=function(e,a){return{type:"group",behavior:"ignore",body:[e],raw:"(?:"+a+")"}},A=function(e){return n.get(e)||!1},S=function(e,a){delete e.name,e.matchIndex=a},_=function a(e,n,t){switch(e.type){case"dot":x(e,(c=T.unicode,l=T.dotAll,l?c?f:h:c?y:m).toString(n));break;case"characterClass":e=function(e,a){var n=R(),t=e.body,r=Array.isArray(t),d=0;for(t=r?t:p(t);;){var i;if(r){if(d>=t.length)break;i=t[d++]}else{if((d=t.next()).done)break;i=d.value}var o=i;switch(o.type){case"value":if(n.add(o.codePoint),T.ignoreCase&&T.unicode&&!T.useUnicodeFlag){var s=A(o.codePoint);s&&n.add(s)}break;case"characterClassRange":var u=o.min.codePoint,g=o.max.codePoint;n.addRange(u,g),T.ignoreCase&&T.unicode&&!T.useUnicodeFlag&&n.iuAddRange(u,g);break;case"characterClassEscape":n.add(v(o.value,T.unicode,T.ignoreCase));break;case"unicodePropertyEscape":n.add(E(o.value,o.negative));break;default:throw new Error("Unknown term type: "+o.type)}}return e.negative&&(n=(T.unicode?f:h).clone().remove(n)),x(e,n.toString(a)),e}(e,n);break;case"unicodePropertyEscape":x(e,E(e.value,e.negative).toString(n));break;case"characterClassEscape":x(e,v(e.value,T.unicode,T.ignoreCase).toString(n));break;case"group":if(t.lastIndex++,e.name){var r=e.name.value;if(t.names[r])throw new Error("Multiple groups with the same name ("+r+") are not allowed.");var d=t.lastIndex;delete e.name,t.names[r]=d,t.onNamedGroup&&t.onNamedGroup.call(null,r,d),t.unmatchedReferences[r]&&(t.unmatchedReferences[r].forEach(function(e){S(e,d)}),delete t.unmatchedReferences[r])}case"alternative":case"disjunction":case"quantifier":e.body=e.body.map(function(e){return a(e,n,t)});break;case"value":var i=e.codePoint,o=R(i);if(T.ignoreCase&&T.unicode&&!T.useUnicodeFlag){var s=A(i);s&&o.add(s)}x(e,o.toString(n));break;case"reference":if(e.name){var u=e.name.value,g=t.names[u];if(g){S(e,g);break}t.unmatchedReferences[u]||(t.unmatchedReferences[u]=[]),t.unmatchedReferences[u].push(e)}break;case"anchor":case"empty":case"group":break;default:throw new Error("Unknown term type: "+e.type)}var c,l;return e},T={ignoreCase:!1,unicode:!1,dotAll:!1,useUnicodeFlag:!1};e.exports=function(e,a,n){var t={unicodePropertyEscape:n&&n.unicodePropertyEscape,namedGroups:n&&n.namedGroup};T.ignoreCase=a&&a.includes("i"),T.unicode=a&&a.includes("u");var r=n&&n.dotAllFlag;T.dotAll=r&&a&&a.includes("s"),T.useUnicodeFlag=n&&n.useUnicodeFlag;var d={hasUnicodeFlag:T.useUnicodeFlag,bmpOnly:!T.unicode},i={onNamedGroup:n&&n.onNamedGroup,lastIndex:0,names:s(null),unmatchedReferences:s(null)},o=c(e,a,t);return _(o,d,i),function(e){var a=u(e.unmatchedReferences);if(0>10),n=e%1024+56320;return String.fromCharCode(a,n)}var o={};function s(e,a){if(-1==a.indexOf("|")){if(e==a)return;throw Error("Invalid node type: "+e+"; expected type: "+a)}if(!(a=d.call(o,a)?o[a]:o[a]=RegExp("^(?:"+a+")$")).test(e))throw Error("Invalid node type: "+e+"; expected types: "+a)}function u(e){var a=e.type;if(d.call(l,a))return l[a](e);throw Error("Invalid node type: "+a)}function g(e){return s(e.type,"anchor|characterClassEscape|characterClassRange|dot|value"),u(e)}function c(e){return s(e.type,"identifier"),e.value}var l={alternative:function(e){s(e.type,"alternative");for(var a=e.body,n=-1,t=a.length,r="";++n");break;case"ignore":a+="?:";break;case"lookahead":a+="?=";break;case"negativeLookahead":a+="?!";break;default:throw Error("Invalid behaviour: "+e.behaviour)}for(var n=e.body,t=-1,r=n.length;++t";throw new Error("Unknown reference type")},value:function(e){s(e.type,"value");var a=e.kind,n=e.codePoint;if("number"!=typeof n)throw new Error("Invalid code point: "+n);switch(a){case"controlLetter":return"\\c"+i(n+64);case"hexadecimalEscape":return"\\x"+("00"+n.toString(16).toUpperCase()).slice(-2);case"identifier":return"\\"+i(n);case"null":return"\\"+n;case"octal":return"\\"+n.toString(8);case"singleEscape":switch(n){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 11:return"\\v";case 12:return"\\f";case 13:return"\\r";default:throw Error("Invalid code point: "+n)}case"symbol":return i(n);case"unicodeEscape":return"\\u"+("0000"+n.toString(16).toUpperCase()).slice(-4);case"unicodeCodePointEscape":return"\\u{"+n.toString(16).toUpperCase()+"}";default:throw Error("Unsupported node kind: "+a)}}},p={generate:u};void 0===(h=function(){return p}.call(y,m,y,R))||(R.exports=h),a.regjsgen=p}).call(this)}).call(y,m(39)(e),m(31))},function(e,a,n){var o,s,K,t,r=n(251);K=r||(o=String.fromCharCode,s=Math.floor,function(){var e,a,n=[],t=-1,r=arguments.length;if(!r)return"";for(var d="";++t>10),a=i%1024+56320,n.push(e,a)),(t+1==r||16384a.codePoint&&I("invalid range in character class",e.raw+"-"+a.raw,n,t),g({type:"characterClassRange",min:e,max:a,range:[n,t]})}function h(e){return"alternative"===e.type?e.body:[e]}function o(e){e=e||1;var a=s.substring(V,V+e);return V+=e||1,a}function y(e){m(e)||I("character",e)}function m(e){if(s.indexOf(e,V)===V)return o(e.length)}function v(){return s[V]}function b(e){return s.indexOf(e,V)===V}function E(e){return s[V+1]===e}function x(e){var a=s.substring(V).match(e);return a&&(a.range=[],a.range[0]=V,o(a[0].length),a.range[1]=V),a}function A(){var e=[],a=V;for(e.push(n());m("|");)e.push(n());return 1===e.length?e[0]:g({type:"disjunction",body:e,range:[a,V]})}function n(){for(var e,a=[],n=V;e=t();)a.push(e);return 1===a.length?a[0]:g({type:"alternative",body:a,range:[n,V]})}function t(){if(V>=s.length||b("|")||b(")"))return null;var e=m("^")?l("start",1):m("$")?l("end",1):m("\\b")?l("boundary",2):m("\\B")?l("not-boundary",2):S("(?=","lookahead","(?!","negativeLookahead");if(e)return e;var a=function(){var e,a,n;if(e=x(/^[^^$\\.*+?(){[|]/))return p(e);if(m("."))return g({type:"dot",range:[V-1,V]});if(m("\\"))return(e=P())||I("atomEscape"),e;if(n=V,e=(a=x(/^\[\^/))?(a=k(),y("]"),f(a,!0,n,V)):m("[")?(a=k(),y("]"),f(a,!1,n,V)):null)return e;if(u.namedGroups&&m("(?<")){var t=D();y(">");var r=_("normal",t.range[0]-3);return r.name=t,r}return S("(?:","ignore","(","normal")}();a||I("Expected atom");var n,t,r,d,i,o=(i=V,m("*")?t=R(0):m("+")?t=R(1):m("?")?t=R(0,1):(n=x(/^\{([0-9]+)\}/))?(r=parseInt(n[1],10),t=R(r,r,n.range[0],n.range[1])):(n=x(/^\{([0-9]+),\}/))?(r=parseInt(n[1],10),t=R(r,void 0,n.range[0],n.range[1])):(n=x(/^\{([0-9]+),([0-9]+)\}/))&&(r=parseInt(n[1],10),(d=parseInt(n[2],10)))/)){var e=D();return y(">"),g({type:"reference",name:a=e,range:[a.range[0]-3,V]})}var a}())return a;if(e){if(m("b"))return d("singleEscape",8,"\\b");m("B")&&I("\\B not possible inside of CharacterClass","",n)}return a=function(){var e,a;if(e=x(/^[fnrtv]/)){var n=0;switch(e[0]){case"t":n=9;break;case"n":n=10;break;case"v":n=11;break;case"f":n=12;break;case"r":n=13}return d("singleEscape",n,"\\"+e[0])}return(e=x(/^c([a-zA-Z])/))?d("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=x(/^x([0-9a-fA-F]{2})/))?d("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=C())?e:u.unicodePropertyEscape&&U&&(e=x(/^([pP])\{([^\}]+)\}/))?g({type:"unicodePropertyEscape",negative:"P"===e[1],value:e[2],range:[e.range[0]-1,e.range[1]],raw:e[0]}):F(v())?m("‌")?d("identifier",8204,"‌"):m("‍")?d("identifier",8205,"‍"):null:d("identifier",(a=o()).charCodeAt(0),a,1)}()}function C(){var e;return(e=x(/^u([0-9a-fA-F]{4})/))?a(d("unicodeEscape",parseInt(e[1],16),e[1],2)):U&&(e=x(/^u\{([0-9a-fA-F]+)\}/))?d("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):void 0}function w(e){var a=v(),n=V;if(e(a.charCodeAt(0))){if(o(),"\\"===a){var t=C();return t&&e(t.codePoint)||I("Invalid escape sequence",null,n,V),K(t.codePoint)}return a}}function D(){var e,a=V,n=w(O);for(n||I("Invalid identifier");e=w(F);)n+=e;return g({type:"identifier",value:n,range:[a,V]})}function O(e){return 36===e||95===e||65<=e&&e<=90||97<=e&&e<=122||48<=e&&e<=57||92===e||128<=e&&/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/.test(String.fromCharCode(e))}function F(e){return O(e)||128<=e&&/[\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19B0-\u19C0\u19C8\u19C9\u19D0-\u19D9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F1\uA900-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]/.test(String.fromCharCode(e))}function k(){var e,a;return b("]")?[]:((a=M())||I("classAtom"),(e=b("]")?[a]:j(a))||I("nonEmptyClassRanges"),e)}function j(e){var a,n,t,r;if(b("-")&&!E("]")){y("-"),(t=M())||I("classAtom"),n=V;var d=k();return d||I("classRanges"),a=e.range[0],"empty"===d.type?[i(e,t,a,n)]:[i(e,t,a,n)].concat(d)}return(r=M())||I("classAtom"),(t=b("]")?r:j(r))||I("nonEmptyClassRangesNoDash"),[e].concat(t)}function M(){return m("-")?p("-"):(e=x(/^[^\\\]-]/))?p(e[0]):m("\\")?((e=T())||I("classEscape"),a(e)):void 0;var e}function I(e,a,n,t){n=null==n?V:n,t=null==t?n:t;var r=Math.max(0,n-10),d=Math.min(t+10,s.length),i=" "+s.substring(r,d),o=" "+new Array(n-r+1).join(" ")+"^";throw SyntaxError(e+" at position "+n+(a?": "+a:"")+"\n"+i+"\n"+o)}u||(u={});var B=[],N=0,L=!0,U=-1!==(e||"").indexOf("u"),V=0;""===(s=String(s))&&(s="(?:)");var W=A();W.range[1]!==s.length&&I("Could not parse entire input - got stuck","",W.range[1]);for(var G=0;G manifestFiles = null; try { diff --git a/asset-pipeline-site/src/assets/html/manual-new/micronaut.html b/asset-pipeline-site/src/assets/html/manual-new/micronaut.html new file mode 100644 index 00000000..994e7756 --- /dev/null +++ b/asset-pipeline-site/src/assets/html/manual-new/micronaut.html @@ -0,0 +1,604 @@ + + + + + + + +Micronaut + + + + + + +
+
+

Micronaut

+
+
+

This section of the documentation discusses configuration and setup of the asset-pipeline plugin for Micronaut based applications. Micronaut functionality includes both development runtime and production asset serving capabilities. All features provided by asset-pipeline are available for use with Micronaut framework except template url replacement helpers (as this has not been standardized in the framework yet). Assets are served at the root url by default instead of /assets to facilitate single page app styles better. If a file is not found, the request will proceed through the Micronaut chain finding any controller endpoints that are registered.

+
+
+

Getting Started

+
+

In Micronaut assets live in the same place as a standard gradle implementation src/assets directory. This folder should contain organizational subdirectories javascripts, images, and stylesheets. Another option is to use a standard folder within assets called something like src/assets/frontend. Useful if simply using asset-pipeline to render and properly digest generated apps from React or other view frameworks.

+
+
+

To get started simply add asset-pipeline to your build.gradle file (See Gradle usage). And the micronaut plugin to the dependencies block:

+
+
+
+
plugins {
+	id "com.bertramlabs.asset-pipeline" version "2.15.0"
+}
+
+dependencies {
+  runtime 'com.bertramlabs.plugins:asset-pipeline-micronaut:2.15.0'
+  //Example LESS or Sass Integration
+  //assets 'com.bertramlabs.plugins:less-asset-pipeline:2.15.0'
+  //assets 'com.bertramlabs.plugins:sass-asset-pipeline:2.15.0'
+}
+
+
+
+ + + + + +
+
Note
+
+Asset-Pipeline requires groovy when running in the development runtime mode. +
+
+
+

By default, the asset-pipeline gradle plugin will automatically attach itself to the shadowJar gradle task as a build dependency. The development runtime will also auto engage so long as no assets/manifest.properties file exists on the classpath.

+
+
+

Configuration

+
+

Configuration handling is still being worked on for micronaut but currently one option is configurable. By default assets in micronaut are rendered at the root url. If a file is not found, the standard micronaut filter chain is used. This is great for serving a Single Page app all in one application all while still using micronaut @Controller endpoints. To change asset-pipelines default mapping to the standard /assets endpoint simply add the following configuration to your Micronaut configuration.

+
+
+
application.groovy
+
+
assets {
+  mapping = "assets"
+}
+
+
+
+
+

Development Runtime

+
+

A great feature built into asset-pipeline is its development runtime support. All assets that are used in your application are automatically generated and processed on the fly when requested. This means when a change is made in a css file or javascript file, the results are instant. A refresh of the page will reflect the changes without needing to wait for any type of FileWatcher. These results are also cached making it highly performant as your project grows.

+
+
+

Micronaut has great native continuous build integration support with Gradle and in some cases developers may not want to use the development runtime and instead rely on this continuous build flow. To do that simply disable developmentRuntime:

+
+
+
build.gradle
+
+
assets {
+  developmentRuntime = false
+}
+
+
+
+

By doing this one can use gradle -t run to kick off continuous runs of the application.

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/asset-pipeline-site/src/assets/html/manual-new/micronaut/getting_started.html b/asset-pipeline-site/src/assets/html/manual-new/micronaut/getting_started.html new file mode 100644 index 00000000..7f5142b7 --- /dev/null +++ b/asset-pipeline-site/src/assets/html/manual-new/micronaut/getting_started.html @@ -0,0 +1,592 @@ + + + + + + + +Getting Started + + + + + + +
+
+

Getting Started

+
+

In Micronaut assets live in the same place as a standard gradle implementation src/assets directory. This folder should contain organizational subdirectories javascripts, images, and stylesheets. Another option is to use a standard folder within assets called something like src/assets/frontend. Useful if simply using asset-pipeline to render and properly digest generated apps from React or other view frameworks.

+
+
+

To get started simply add asset-pipeline to your build.gradle file (See Gradle usage). And the micronaut plugin to the dependencies block:

+
+
+
+
plugins {
+	id "com.bertramlabs.asset-pipeline" version "2.15.0"
+}
+
+dependencies {
+  runtime 'com.bertramlabs.plugins:asset-pipeline-micronaut:2.15.0'
+  //Example LESS or Sass Integration
+  //assets 'com.bertramlabs.plugins:less-asset-pipeline:2.15.0'
+  //assets 'com.bertramlabs.plugins:sass-asset-pipeline:2.15.0'
+}
+
+
+
+ + + + + +
+
Note
+
+Asset-Pipeline requires groovy when running in the development runtime mode. +
+
+
+

By default, the asset-pipeline gradle plugin will automatically attach itself to the shadowJar gradle task as a build dependency. The development runtime will also auto engage so long as no assets/manifest.properties file exists on the classpath.

+
+
+

Configuration

+
+

Configuration handling is still being worked on for micronaut but currently one option is configurable. By default assets in micronaut are rendered at the root url. If a file is not found, the standard micronaut filter chain is used. This is great for serving a Single Page app all in one application all while still using micronaut @Controller endpoints. To change asset-pipelines default mapping to the standard /assets endpoint simply add the following configuration to your Micronaut configuration.

+
+
+
application.groovy
+
+
assets {
+  mapping = "assets"
+}
+
+
+
+
+

Development Runtime

+
+

A great feature built into asset-pipeline is its development runtime support. All assets that are used in your application are automatically generated and processed on the fly when requested. This means when a change is made in a css file or javascript file, the results are instant. A refresh of the page will reflect the changes without needing to wait for any type of FileWatcher. These results are also cached making it highly performant as your project grows.

+
+
+

Micronaut has great native continuous build integration support with Gradle and in some cases developers may not want to use the development runtime and instead rely on this continuous build flow. To do that simply disable developmentRuntime:

+
+
+
build.gradle
+
+
assets {
+  developmentRuntime = false
+}
+
+
+
+

By doing this one can use gradle -t run to kick off continuous runs of the application.

+
+
+
+
+ + + \ No newline at end of file diff --git a/build.gradle b/build.gradle index e65713fc..ac521a83 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { } subprojects { - version = '2.15.1.SNAPSHOT' + version = '3.0.0' } apply plugin: 'groovy' diff --git a/jsx-asset-pipeline/src/main/groovy/asset/pipeline/jsx/JsxEs6AssetFile.groovy b/jsx-asset-pipeline/src/main/groovy/asset/pipeline/jsx/JsxEs6AssetFile.groovy index 5be432b4..cb21004d 100644 --- a/jsx-asset-pipeline/src/main/groovy/asset/pipeline/jsx/JsxEs6AssetFile.groovy +++ b/jsx-asset-pipeline/src/main/groovy/asset/pipeline/jsx/JsxEs6AssetFile.groovy @@ -19,6 +19,8 @@ package asset.pipeline.jsx import asset.pipeline.CacheManager import asset.pipeline.AbstractAssetFile import asset.pipeline.AssetHelper +import asset.pipeline.processors.BabelJsProcessor + import java.util.regex.Pattern import groovy.transform.CompileStatic import asset.pipeline.processors.JsProcessor @@ -34,7 +36,7 @@ class JsxEs6AssetFile extends AbstractAssetFile { static final contentType = ['application/javascript','application/x-javascript','text/javascript'] static extensions = ['jsx.es6', 'js.jsx.es6'] static final String compiledExtension = 'js' - static processors = [JsxProcessor,JsProcessor,JsRequireProcessor, Es6Processor] + static processors = [JsxProcessor, JsProcessor, BabelJsProcessor, JsRequireProcessor] Pattern directivePattern = ~/(?m)^\/\/=(.*)/ }