/*! Copyright (C) 2016-2020 Timofey Kachalov Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.JavaScriptObfuscator=t():e.JavaScriptObfuscator=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=128)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13);t.METADATA_KEY=r;var o=n(130);t.Container=o.Container;var i=n(22);t.BindingScopeEnum=i.BindingScopeEnum,t.BindingTypeEnum=i.BindingTypeEnum,t.TargetTypeEnum=i.TargetTypeEnum;var a=n(146);t.AsyncContainerModule=a.AsyncContainerModule,t.ContainerModule=a.ContainerModule;var s=n(147);t.injectable=s.injectable;var u=n(148);t.tagged=u.tagged;var l=n(149);t.named=l.named;var d=n(77);t.inject=d.inject,t.LazyServiceIdentifer=d.LazyServiceIdentifer;var c=n(150);t.optional=c.optional;var p=n(151);t.unmanaged=p.unmanaged;var f=n(152);t.multiInject=f.multiInject;var g=n(153);t.targetName=g.targetName;var h=n(154);t.postConstruct=h.postConstruct;var m=n(75);t.MetadataReader=m.MetadataReader;var b=n(28);t.id=b.id;var y=n(26);t.decorate=y.decorate;var S=n(80);t.traverseAncerstors=S.traverseAncerstors,t.taggedConstraint=S.taggedConstraint,t.namedConstraint=S.namedConstraint,t.typeConstraint=S.typeConstraint;var _=n(40);t.getServiceIdentifierAsString=_.getServiceIdentifierAsString;var C=n(155);t.multiBindToService=C.multiBindToService},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceIdentifiers=void 0,function(e){e.Factory__ICalleeDataExtractor="Factory",e.Factory__ICodeTransformer="Factory",e.Factory__IControlFlowCustomNode="Factory",e.Factory__IControlFlowReplacer="Factory",e.Factory__ICustomCodeHelper="Factory",e.Factory__ICustomCodeHelperGroup="Factory",e.Factory__IDeadCodeInjectionCustomNode="Factory",e.Factory__IIdentifierNamesGenerator="Factory",e.Factory__INodeGuard="Factory",e.Factory__INodeTransformer="Factory",e.Factory__IObfuscatedCode="Factory",e.Factory__IObjectExpressionKeysTransformerCustomNode="Factory",e.Factory__IObjectExpressionExtractor="Factory",e.Factory__IStringArrayCustomNode="Factory",e.Factory__TControlFlowStorage="Factory",e.IArrayUtils="IArrayUtils",e.ICalleeDataExtractor="ICalleeDataExtractor",e.ICallsGraphAnalyzer="ICallsGraphAnalyzer",e.ICodeTransformer="ICodeTransformer",e.ICodeTransformerNamesGroupsBuilder="ICodeTransformerNamesGroupsBuilder",e.ICodeTransformersRunner="ICodeTransformersRunner",e.ICryptUtils="ICryptUtils",e.ICryptUtilsSwappedAlphabet="ICryptUtilsSwappedAlphabet",e.ICustomCodeHelper="ICustomCodeHelper",e.ICustomCodeHelperGroup="ICustomCodeHelperGroup",e.IControlFlowReplacer="IControlFlowReplacer",e.ICustomCodeHelperFormatter="ICustomCodeHelperFormatter",e.ICustomCodeHelperObfuscator="ICustomCodeHelperObfuscator",e.IEscapeSequenceEncoder="IEscapeSequenceEncoder",e.IIdentifierNamesGenerator="IIdentifierNamesGenerator",e.IIdentifierReplacer="IIdentifierReplacer",e.IJavaScriptObfuscator="IJavaScriptObfuscator",e.ILevelledTopologicalSorter="ILevelledTopologicalSorter",e.ILiteralNodesCacheStorage="ILiteralNodesCacheStorage",e.ILogger="ILogger",e.INodeGuard="INodeGuard",e.INodeTransformer="INodeTransformer",e.INodeTransformerNamesGroupsBuilder="INodeTransformerNamesGroupsBuilder",e.INodeTransformersRunner="INodeTransformersRunner",e.INumberNumericalExpressionAnalyzer="INumberNumericalExpressionAnalyzer",e.IObfuscationEventEmitter="IObfuscationEventEmitter",e.IObfuscatedCode="IObfuscatedCode",e.IOptions="IOptions",e.IOptionsNormalizer="IOptionsNormalizer",e.IPrevailingKindOfVariablesAnalyzer="IPrevailingKindOfVariablesAnalyzer",e.IObjectExpressionExtractor="IObjectExpressionExtractor",e.IRandomGenerator="IRandomGenerator",e.IRenamePropertiesReplacer="IRenamePropertiesReplacer",e.IScopeIdentifiersTraverser="IScopeIdentifiersTraverser",e.ISourceCode="ISourceCode",e.IScopeAnalyzer="IScopeAnalyzer",e.IStringArrayScopeCallsWrapperLexicalScopeDataStorage="IStringArrayScopeCallsWrapperLexicalScopeDataStorage",e.IStringArrayScopeCallsWrapperNamesDataStorage="IStringArrayScopeCallsWrapperNamesDataStorage",e.IStringArrayStorage="IStringArrayStorage",e.IStringArrayStorageAnalyzer="IStringArrayStorageAnalyzer",e.IVisitedLexicalScopeNodesStackStorage="IVisitedLexicalScopeNodesStackStorage",e.Newable__ICustomNode="Newable",e.Newable__TControlFlowStorage="Newable",e.TCustomNodeGroupStorage="TCustomNodeGroupStorage",e.TInputOptions="TInputOptions"}(t.ServiceIdentifiers||(t.ServiceIdentifiers={}))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=we(n(71)),i=we(n(107)),a=we(n(295)),s=we(n(296)),u=we(n(297)),l=we(n(298)),d=we(n(299)),c=we(n(300)),p=we(n(301)),f=we(n(302)),g=we(n(55)),h=we(n(303)),m=we(n(72)),b=we(n(304)),y=we(n(305)),S=$e(n(306)),_=$e(n(307)),C=we(n(308)),E=we(n(309)),N=we(n(310)),A=we(n(311)),v=we(n(312)),T=we(n(313)),I=we(n(112)),D=we(n(113)),O=we(n(314)),R=we(n(315)),M=we(n(316)),P=we(n(318)),F=we(n(111)),x=$e(n(108)),L=we(n(319)),$=we(n(114)),w=we(n(320)),B=we(n(321)),G=we(n(322)),U=we(n(323)),j=we(n(324)),k=we(n(325)),V=we(n(326)),H=we(n(327)),K=we(n(328)),W=we(n(329)),z=we(n(330)),Y=we(n(331)),X=we(n(332)),q=we(n(333)),Z=we(n(110)),J=we(n(334)),Q=we(n(335)),ee=we(n(336)),te=we(n(337)),ne=we(n(338)),re=we(n(339)),oe=we(n(340)),ie=we(n(341)),ae=we(n(342)),se=we(n(343)),ue=we(n(344)),le=$e(n(345)),de=we(n(346)),ce=we(n(347)),pe=we(n(348)),fe=we(n(349)),ge=we(n(350)),he=we(n(351)),me=we(n(352)),be=we(n(353)),ye=we(n(354)),Se=we(n(355)),_e=we(n(356)),Ce=we(n(357)),Ee=we(n(358)),Ne=$e(n(359)),Ae=we(n(115)),ve=we(n(116)),Te=we(n(360)),Ie=we(n(361)),De=we(n(362)),Oe=we(n(363)),Re=we(n(364)),Me=we(n(117)),Pe=we(n(365)),Fe=we(n(366)),xe=we(n(367));function Le(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Le=function(){return e},e}function $e(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=Le();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function we(e){return e&&e.__esModule?e:{default:e}}var Be={version:"13.0.0",toDate:o.default,toFloat:i.default,toInt:a.default,toBoolean:s.default,equals:u.default,contains:l.default,matches:d.default,isEmail:c.default,isURL:p.default,isMACAddress:f.default,isIP:g.default,isIPRange:h.default,isFQDN:m.default,isBoolean:b.default,isIBAN:V.default,isBIC:H.default,isAlpha:S.default,isAlphaLocales:S.locales,isAlphanumeric:_.default,isAlphanumericLocales:_.locales,isNumeric:C.default,isPassportNumber:E.default,isPort:N.default,isLowercase:A.default,isUppercase:v.default,isAscii:T.default,isFullWidth:I.default,isHalfWidth:D.default,isVariableWidth:O.default,isMultibyte:R.default,isSemVer:M.default,isSurrogatePair:P.default,isInt:F.default,isFloat:x.default,isFloatLocales:x.locales,isDecimal:L.default,isHexadecimal:$.default,isOctal:w.default,isDivisibleBy:B.default,isHexColor:G.default,isRgbColor:U.default,isHSL:j.default,isISRC:k.default,isMD5:K.default,isHash:W.default,isJWT:z.default,isJSON:Y.default,isEmpty:X.default,isLength:q.default,isLocale:y.default,isByteLength:Z.default,isUUID:J.default,isMongoId:Q.default,isAfter:ee.default,isBefore:te.default,isIn:ne.default,isCreditCard:re.default,isIdentityCard:oe.default,isEAN:ie.default,isISIN:ae.default,isISBN:se.default,isISSN:ue.default,isMobilePhone:le.default,isMobilePhoneLocales:le.locales,isPostalCode:Ne.default,isPostalCodeLocales:Ne.locales,isEthereumAddress:de.default,isCurrency:ce.default,isBtcAddress:pe.default,isISO8601:fe.default,isRFC3339:ge.default,isISO31661Alpha2:he.default,isISO31661Alpha3:me.default,isBase32:be.default,isBase64:ye.default,isDataURI:Se.default,isMagnetURI:_e.default,isMimeType:Ce.default,isLatLong:Ee.default,ltrim:Ae.default,rtrim:ve.default,trim:Te.default,escape:Ie.default,unescape:De.default,stripLow:Oe.default,whitelist:Re.default,blacklist:Me.default,isWhitelisted:Pe.default,normalizeEmail:Fe.default,toString:toString,isSlug:xe.default};t.default=Be,e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t;throw t=null===e?"null":"object"===(t=r(e))&&e.constructor&&e.constructor.hasOwnProperty("name")?e.constructor.name:"a ".concat(t),new TypeError("Expected string but received ".concat(t,"."))}},e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeGuards=void 0;const r=n(47);class o{static isArrayPatternNode(e){return e.type===r.NodeType.ArrayPattern}static isArrowFunctionExpressionNode(e){return e.type===r.NodeType.ArrowFunctionExpression}static isAssignmentExpressionNode(e){return e.type===r.NodeType.AssignmentExpression}static isAssignmentPatternNode(e){return e.type===r.NodeType.AssignmentPattern}static isAwaitExpressionNode(e){return e.type===r.NodeType.AwaitExpression}static isBigIntLiteralNode(e){return o.isLiteralNode(e)&&!!e.bigint}static isBlockStatementNode(e){return e.type===r.NodeType.BlockStatement}static isBreakStatementNode(e){return e.type===r.NodeType.BreakStatement}static isCallExpressionNode(e){return e.type===r.NodeType.CallExpression}static isClassDeclarationNode(e){return e.type===r.NodeType.ClassDeclaration&&null!==e.id}static isContinueStatementNode(e){return e.type===r.NodeType.ContinueStatement}static isDirectiveNode(e){return e.type===r.NodeType.ExpressionStatement&&"directive"in e}static isExportAllDeclarationNode(e){return e.type===r.NodeType.ExportAllDeclaration}static isExportNamedDeclarationNode(e){return e.type===r.NodeType.ExportNamedDeclaration}static isExpressionStatementNode(e){return e.type===r.NodeType.ExpressionStatement&&!("directive"in e)}static isFunctionNode(e){return o.isFunctionDeclarationNode(e)||o.isFunctionExpressionNode(e)||o.isArrowFunctionExpressionNode(e)}static isFunctionDeclarationNode(e){return e.type===r.NodeType.FunctionDeclaration&&null!==e.id}static isFunctionExpressionNode(e){return e.type===r.NodeType.FunctionExpression}static isIdentifierNode(e){return e.type===r.NodeType.Identifier}static isIfStatementNode(e){return e.type===r.NodeType.IfStatement}static isImportDeclarationNode(e){return e.type===r.NodeType.ImportDeclaration}static isImportSpecifierNode(e){return e.type===r.NodeType.ImportSpecifier}static isLabelIdentifierNode(e,t){const n=o.isLabeledStatementNode(t)&&t.label===e,r=o.isContinueStatementNode(t)&&t.label===e,i=o.isBreakStatementNode(t)&&t.label===e;return n||r||i}static isLabeledStatementNode(e){return e.type===r.NodeType.LabeledStatement}static isLiteralNode(e){return e.type===r.NodeType.Literal}static isMemberExpressionNode(e){return e.type===r.NodeType.MemberExpression}static isMethodDefinitionNode(e){return e.type===r.NodeType.MethodDefinition}static isNode(e){return e&&void 0!==!e.type}static isNodeWithLexicalScope(e){return o.isProgramNode(e)||o.isFunctionNode(e)}static isNodeWithBlockLexicalScope(e){return o.isNodeWithLexicalScope(e)||o.isBlockStatementNode(e)}static isNodeWithLexicalScopeStatements(e,t){return o.isProgramNode(e)||o.isBlockStatementNode(e)&&o.nodesWithLexicalStatements.includes(t.type)}static isNodeWithStatements(e){return o.isProgramNode(e)||o.isBlockStatementNode(e)||o.isSwitchCaseNode(e)}static isNodeWithComments(e){return Boolean(e.leadingComments)||Boolean(e.trailingComments)}static isObjectPatternNode(e){return e.type===r.NodeType.ObjectPattern}static isObjectExpressionNode(e){return e.type===r.NodeType.ObjectExpression}static isProgramNode(e){return e.type===r.NodeType.Program}static isPropertyNode(e){return e.type===r.NodeType.Property}static isRestElementNode(e){return e.type===r.NodeType.RestElement}static isReturnStatementNode(e){return e.type===r.NodeType.ReturnStatement}static isSequenceExpressionNode(e){return e.type===r.NodeType.SequenceExpression}static isSuperNode(e){return e.type===r.NodeType.Super}static isSwitchCaseNode(e){return e.type===r.NodeType.SwitchCase}static isTaggedTemplateExpressionNode(e){return e.type===r.NodeType.TaggedTemplateExpression}static isTemplateLiteralNode(e){return e.type===r.NodeType.TemplateLiteral}static isUnaryExpressionNode(e){return e.type===r.NodeType.UnaryExpression}static isUseStrictOperator(e){return o.isDirectiveNode(e)&&"use strict"===e.directive}static isVariableDeclarationNode(e){return e.type===r.NodeType.VariableDeclaration}static isVariableDeclaratorNode(e){return e.type===r.NodeType.VariableDeclarator}static isWhileStatementNode(e){return e.type===r.NodeType.WhileStatement}static isYieldExpressionNode(e){return e.type===r.NodeType.YieldExpression}}t.NodeGuards=o,o.nodesWithLexicalStatements=[r.NodeType.ArrowFunctionExpression,r.NodeType.FunctionDeclaration,r.NodeType.FunctionExpression,r.NodeType.MethodDefinition]},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NodeUtils=void 0;const a=i(n(65)),s=i(n(11)),u=n(63),l=n(94),d=n(4),c=n(23);class p{static addXVerbatimPropertyTo(e){return e["x-verbatim-property"]={content:e.raw,precedence:a.Precedence.Primary},e}static clone(e){return p.parentizeAst(p.cloneRecursive(e))}static convertCodeToStructure(e){const t=l.ASTParserFacade.parse(e,{ecmaVersion:u.ecmaVersion,sourceType:"script"});return s.replace(t,{enter:(e,t)=>(p.parentizeNode(e,t),d.NodeGuards.isLiteralNode(e)&&p.addXVerbatimPropertyTo(e),c.NodeMetadata.set(e,{ignoredNode:!1}),e)}),t.body}static convertStructureToCode(e){return e.reduce((e,t)=>e+a.generate(t,{sourceMapWithCode:!0}).code,"")}static getUnaryExpressionArgumentNode(e){return d.NodeGuards.isUnaryExpressionNode(e.argument)?p.getUnaryExpressionArgumentNode(e.argument):e.argument}static parentizeAst(e){var t;const n=null!==(t=e.parentNode)&&void 0!==t?t:null;return s.replace(e,{enter:p.parentizeNode}),n&&(e.parentNode=n),e}static parentizeNode(e,t){return e.parentNode=null!=t?t:e,e}static cloneRecursive(e){if(null===e)return e;const t={};return Object.keys(e).forEach(n=>{var r;if("parentNode"===n)return;const o=null!==(r=e[n])&&void 0!==r?r:null;let i;i=null===o||o instanceof RegExp?o:o instanceof Array?o.map(p.cloneRecursive):"object"==typeof o?p.cloneRecursive(o):o,t[n]=i}),t}}t.NodeUtils=p},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NodeFactory=void 0;const a=i(n(65)),s=n(47);class u{static programNode(e=[]){return{type:s.NodeType.Program,body:e,sourceType:"script",metadata:{ignoredNode:!1}}}static arrayExpressionNode(e=[]){return{type:s.NodeType.ArrayExpression,elements:e,metadata:{ignoredNode:!1}}}static arrowFunctionExpressionNode(e,t,n){return{type:s.NodeType.ArrowFunctionExpression,params:e,expression:t,body:n}}static assignmentExpressionNode(e,t,n){return{type:s.NodeType.AssignmentExpression,operator:e,left:t,right:n,metadata:{ignoredNode:!1}}}static binaryExpressionNode(e,t,n){return{type:s.NodeType.BinaryExpression,operator:e,left:t,right:n,metadata:{ignoredNode:!1}}}static blockStatementNode(e=[]){return{type:s.NodeType.BlockStatement,body:e,metadata:{ignoredNode:!1}}}static breakStatement(e){return{type:s.NodeType.BreakStatement,label:e,metadata:{ignoredNode:!1}}}static callExpressionNode(e,t=[],n=!1){return{type:s.NodeType.CallExpression,callee:e,optional:n,arguments:t,metadata:{ignoredNode:!1}}}static conditionalExpressionNode(e,t,n){return{type:s.NodeType.ConditionalExpression,test:e,consequent:t,alternate:n,metadata:{ignoredNode:!1}}}static continueStatement(e){return{type:s.NodeType.ContinueStatement,label:e,metadata:{ignoredNode:!1}}}static directiveNode(e,t){return{type:s.NodeType.ExpressionStatement,expression:e,directive:t,metadata:{ignoredNode:!1}}}static exportAllDeclarationNode(e){return{type:s.NodeType.ExportAllDeclaration,source:e,metadata:{ignoredNode:!1}}}static exportNamedDeclarationNode(e,t){return{type:s.NodeType.ExportNamedDeclaration,specifiers:e,source:t,metadata:{ignoredNode:!1}}}static expressionStatementNode(e){return{type:s.NodeType.ExpressionStatement,expression:e,metadata:{ignoredNode:!1}}}static functionDeclarationNode(e,t,n){return{type:s.NodeType.FunctionDeclaration,id:u.identifierNode(e),params:t,body:n,generator:!1,metadata:{ignoredNode:!1}}}static functionExpressionNode(e,t){return{type:s.NodeType.FunctionExpression,params:e,body:t,generator:!1,metadata:{ignoredNode:!1}}}static ifStatementNode(e,t,n){return Object.assign(Object.assign({type:s.NodeType.IfStatement,test:e,consequent:t},n&&{alternate:n}),{metadata:{ignoredNode:!1}})}static identifierNode(e){return{type:s.NodeType.Identifier,name:e,metadata:{ignoredNode:!1}}}static importDeclarationNode(e,t){return{type:s.NodeType.ImportDeclaration,specifiers:e,source:t,metadata:{ignoredNode:!1}}}static literalNode(e,t){return t=void 0!==t?t:`'${e}'`,{type:s.NodeType.Literal,value:e,raw:t,"x-verbatim-property":{content:t,precedence:a.Precedence.Primary},metadata:{ignoredNode:!1}}}static logicalExpressionNode(e,t,n){return{type:s.NodeType.LogicalExpression,operator:e,left:t,right:n,metadata:{ignoredNode:!1}}}static memberExpressionNode(e,t,n=!1,r=!1){return{type:s.NodeType.MemberExpression,computed:n,object:e,optional:r,property:t,metadata:{ignoredNode:!1}}}static objectExpressionNode(e){return{type:s.NodeType.ObjectExpression,properties:e,metadata:{ignoredNode:!1}}}static propertyNode(e,t,n=!1){return{type:s.NodeType.Property,key:e,value:t,kind:"init",method:!1,shorthand:!1,computed:n,metadata:{ignoredNode:!1}}}static returnStatementNode(e){return{type:s.NodeType.ReturnStatement,argument:e,metadata:{ignoredNode:!1}}}static sequenceExpressionNode(e){return{type:s.NodeType.SequenceExpression,expressions:e,metadata:{ignoredNode:!1}}}static switchStatementNode(e,t){return{type:s.NodeType.SwitchStatement,discriminant:e,cases:t,metadata:{ignoredNode:!1}}}static switchCaseNode(e,t){return{type:s.NodeType.SwitchCase,test:e,consequent:t,metadata:{ignoredNode:!1}}}static unaryExpressionNode(e,t,n=!0){return{type:s.NodeType.UnaryExpression,operator:e,argument:t,prefix:n,metadata:{ignoredNode:!1}}}static updateExpressionNode(e,t){return{type:s.NodeType.UpdateExpression,operator:e,argument:t,prefix:!1,metadata:{ignoredNode:!1}}}static templateElement(e,t){return{type:s.NodeType.TemplateElement,value:e,tail:t,metadata:{ignoredNode:!1}}}static templateLiteral(e,t){return{type:s.NodeType.TemplateLiteral,expressions:e,quasis:t,metadata:{ignoredNode:!1}}}static variableDeclarationNode(e=[],t="var"){return{type:s.NodeType.VariableDeclaration,declarations:e,kind:t,metadata:{ignoredNode:!1}}}static variableDeclaratorNode(e,t){return{type:s.NodeType.VariableDeclarator,id:e,init:t,metadata:{ignoredNode:!1}}}static whileStatementNode(e,t){return{type:s.NodeType.WhileStatement,test:e,body:t,metadata:{ignoredNode:!1}}}}t.NodeFactory=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeTransformationStage=void 0,function(e){e.ControlFlowFlattening="ControlFlowFlattening",e.Converting="Converting",e.DeadCodeInjection="DeadCodeInjection",e.Finalizing="Finalizing",e.Initializing="Initializing",e.Preparing="Preparing",e.RenameIdentifiers="RenameIdentifiers",e.RenameProperties="RenameProperties",e.Simplifying="Simplifying",e.StringArray="StringArray"}(t.NodeTransformationStage||(t.NodeTransformationStage={}))},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractNodeTransformer=void 0;const a=n(0),s=n(1);let u=class{constructor(e,t){this.randomGenerator=e,this.options=t}};u=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.IRandomGenerator)),i(1,a.inject(s.ServiceIdentifiers.IOptions)),o("design:paramtypes",[Object,Object])],u),t.AbstractNodeTransformer=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initializable=void 0;const r={configurable:!0,enumerable:!0};function o(e,t,n){Reflect.hasMetadata(e,n)||Reflect.defineMetadata(e,t,n)}t.initializable=function(e="initialize"){const t=Object.keys(this)[0];return(n,i)=>{const a=n[e];if(!a||"function"!=typeof a)throw new Error(`\`${e}\` method with initialization logic not `+`found. \`@${t}\` decorator requires \`${e}\` method`);return o("_initialized",!1,n),o("_initializablePropertiesSet",new Set,n),o("_wrappedMethodsSet",new Set,n),function(e,t){const n=Object.getOwnPropertyNames(e),o=[t,"constructor"];n.forEach(n=>{var i;const a=Reflect.getMetadata("_initializablePropertiesSet",e),s=Reflect.getMetadata("_wrappedMethodsSet",e);if(o.includes(n)||a.has(n)||s.has(n))return;if("function"!=typeof e[n])return;const u=null!==(i=Object.getOwnPropertyDescriptor(e,n))&&void 0!==i?i:r,l=u.value;Object.defineProperty(e,n,Object.assign(Object.assign({},u),{value(){if(!Reflect.getMetadata("_initialized",this))throw new Error(`Class should be initialized with \`${t}()\` method`);return l.apply(this,arguments)}})),s.add(n)})}(n,e),function(e,t,n){var o;const i=null!==(o=Object.getOwnPropertyDescriptor(e,t))&&void 0!==o?o:r,a=i.value;Object.defineProperty(e,t,Object.assign(Object.assign({},i),{value:function(){Reflect.defineMetadata("_initialized",!0,this);const e=a.apply(this,arguments);return this[n],e}}))}(n,e,i),function(e,t){var n;Reflect.getMetadata("_initializablePropertiesSet",e).add(t);const o=`_${t.toString()}`,i=null!==(n=Object.getOwnPropertyDescriptor(e,o))&&void 0!==n?n:r;return Object.defineProperty(e,t,Object.assign(Object.assign({},i),{get:function(){if(void 0===this[o])throw new Error(`Property \`${t.toString()}\` is not initialized! Initialize it first!`);return this[o]},set:function(e){this[o]=e}})),i}(n,i)}}},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=n(126);function o(){return"undefined"!=typeof window&&(window.global=window),e.classValidatorMetadataStorage||(e.classValidatorMetadataStorage=new i),e.classValidatorMetadataStorage}var i=function(){function e(){this.validationMetadatas=[],this.constraintMetadatas=[]}return Object.defineProperty(e.prototype,"hasValidationMetaData",{get:function(){return!!this.validationMetadatas.length},enumerable:!0,configurable:!0}),e.prototype.addValidationSchema=function(e){var t=this;(new r.a).transform(e).forEach((function(e){return t.addValidationMetadata(e)}))},e.prototype.addValidationMetadata=function(e){this.validationMetadatas.push(e)},e.prototype.addConstraintMetadata=function(e){this.constraintMetadatas.push(e)},e.prototype.groupByPropertyName=function(e){var t={};return e.forEach((function(e){t[e.propertyName]||(t[e.propertyName]=[]),t[e.propertyName].push(e)})),t},e.prototype.getTargetValidationMetadatas=function(e,t,n){var r=this.validationMetadatas.filter((function(r){return(r.target===e||r.target===t)&&(!!r.always||(!(n&&n.length>0)||r.groups&&!!r.groups.find((function(e){return-1!==n.indexOf(e)}))))})),o=this.validationMetadatas.filter((function(t){return"string"!=typeof t.target&&(t.target!==e&&((!(t.target instanceof Function)||e.prototype instanceof t.target)&&(!!t.always||(!(n&&n.length>0)||t.groups&&!!t.groups.find((function(e){return-1!==n.indexOf(e)}))))))})).filter((function(e){return!r.find((function(t){return t.propertyName===e.propertyName&&t.type===e.type}))}));return r.concat(o)},e.prototype.getTargetValidatorConstraints=function(e){return this.constraintMetadatas.filter((function(t){return t.target===e}))},e}()}).call(this,n(39))},function(e,t){!function e(t){"use strict";var n,r,o,i,a,s;function u(e){var t,n,r={};for(t in e)e.hasOwnProperty(t)&&(n=e[t],r[t]="object"==typeof n&&null!==n?u(n):n);return r}function l(e,t){this.parent=e,this.key=t}function d(e,t,n,r){this.node=e,this.path=t,this.wrap=n,this.ref=r}function c(){}function p(e){return null!=e&&("object"==typeof e&&"string"==typeof e.type)}function f(e,t){return(e===n.ObjectExpression||e===n.ObjectPattern)&&"properties"===t}function g(e,t){for(var n=e.length-1;n>=0;--n)if(e[n].node===t)return!0;return!1}function h(e,t){return(new c).traverse(e,t)}function m(e,t){var n;return n=function(e,t){var n,r,o,i;for(r=e.length,o=0;r;)t(e[i=o+(n=r>>>1)])?r=n:(o=i+1,r-=n+1);return o}(t,(function(t){return t.range[0]>e.range[0]})),e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),(n-=1)>=0&&(e.extendedRange[0]=t[n].range[1]),e}return n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},r={Break:i={},Skip:a={},Remove:s={}},l.prototype.replace=function(e){this.parent[this.key]=e},l.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},c.prototype.path=function(){var e,t,n,r,o;function i(e,t){if(Array.isArray(t))for(n=0,r=t.length;n=0;)if(y=s[c=b[h]])if(Array.isArray(y)){for(m=y.length;(m-=1)>=0;)if(y[m]&&!g(r,y[m])){if(f(u,b[h]))o=new d(y[m],[c,m],"Property",null);else{if(!p(y[m]))continue;o=new d(y[m],[c,m],null,null)}n.push(o)}}else if(p(y)){if(g(r,y))continue;n.push(new d(y,c,null,null))}}}else if(o=r.pop(),l=this.__execute(t.leave,o),this.__state===i||l===i)return},c.prototype.replace=function(e,t){var n,r,o,u,c,g,h,m,b,y,S,_,C;function E(e){var t,r,o,i;if(e.ref.remove())for(r=e.ref.key,i=e.ref.parent,t=n.length;t--;)if((o=n[t]).ref&&o.ref.parent===i){if(o.ref.key=0;)if(y=o[C=b[h]])if(Array.isArray(y)){for(m=y.length;(m-=1)>=0;)if(y[m]){if(f(u,b[h]))g=new d(y[m],[C,m],"Property",new l(y,m));else{if(!p(y[m]))continue;g=new d(y[m],[C,m],null,new l(y,m))}n.push(g)}}else p(y)&&n.push(new d(y,C,null,new l(o,C)))}}else if(g=r.pop(),void 0!==(c=this.__execute(t.leave,g))&&c!==i&&c!==a&&c!==s&&g.ref.replace(c),this.__state!==s&&c!==s||E(g),this.__state===i||c===i)return _.root;return _.root},t.Syntax=n,t.traverse=h,t.replace=function(e,t){return(new c).replace(e,t)},t.attachComments=function(e,t,n){var o,i,a,s,l=[];if(!e.range)throw new Error("attachComments needs range information");if(!n.length){if(t.length){for(a=0,i=t.length;ae.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),l.splice(s,1)):s+=1;return s===l.length?r.Break:l[s].extendedRange[0]>e.range[1]?r.Skip:void 0}}),s=0,h(e,{leave:function(e){for(var t;se.range[1]?r.Skip:void 0}}),e},t.VisitorKeys=o,t.VisitorOption=r,t.Controller=c,t.cloneEnvironment=function(){return e({})},t}(t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeTransformer=void 0,function(e){e.BooleanLiteralTransformer="BooleanLiteralTransformer",e.BlockStatementControlFlowTransformer="BlockStatementControlFlowTransformer",e.BlockStatementSimplifyTransformer="BlockStatementSimplifyTransformer",e.CommentsTransformer="CommentsTransformer",e.CustomCodeHelpersTransformer="CustomCodeHelpersTransformer",e.DeadCodeInjectionTransformer="DeadCodeInjectionTransformer",e.EscapeSequenceTransformer="EscapeSequenceTransformer",e.EvalCallExpressionTransformer="EvalCallExpressionTransformer",e.ExpressionStatementsMergeTransformer="ExpressionStatementsMergeTransformer",e.FunctionControlFlowTransformer="FunctionControlFlowTransformer",e.IfStatementSimplifyTransformer="IfStatementSimplifyTransformer",e.LabeledStatementTransformer="LabeledStatementTransformer",e.MemberExpressionTransformer="MemberExpressionTransformer",e.MetadataTransformer="MetadataTransformer",e.MethodDefinitionTransformer="MethodDefinitionTransformer",e.NumberLiteralTransformer="NumberLiteralTransformer",e.NumberToNumericalExpressionTransformer="NumberToNumericalExpressionTransformer",e.ObfuscatingGuardsTransformer="ObfuscatingGuardsTransformer",e.ObjectExpressionKeysTransformer="ObjectExpressionKeysTransformer",e.ObjectExpressionTransformer="ObjectExpressionTransformer",e.ObjectPatternPropertiesTransformer="ObjectPatternPropertiesTransformer",e.ParentificationTransformer="ParentificationTransformer",e.RenamePropertiesTransformer="RenamePropertiesTransformer",e.ScopeIdentifiersTransformer="ScopeIdentifiersTransformer",e.ScopeThroughIdentifiersTransformer="ScopeThroughIdentifiersTransformer",e.SplitStringTransformer="SplitStringTransformer",e.StringArrayTransformer="StringArrayTransformer",e.StringArrayScopeCallsWrapperTransformer="StringArrayScopeCallsWrapperTransformer",e.TemplateLiteralTransformer="TemplateLiteralTransformer",e.VariableDeclarationsMergeTransformer="VariableDeclarationsMergeTransformer",e.VariablePreserveTransformer="VariablePreserveTransformer"}(t.NodeTransformer||(t.NodeTransformer={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NAMED_TAG="named",t.NAME_TAG="name",t.UNMANAGED_TAG="unmanaged",t.OPTIONAL_TAG="optional",t.INJECT_TAG="inject",t.MULTI_INJECT_TAG="multi_inject",t.TAGGED="inversify:tagged",t.TAGGED_PROP="inversify:tagged_props",t.PARAM_TYPES="inversify:paramtypes",t.DESIGN_PARAM_TYPES="design:paramtypes",t.POST_CONSTRUCT="post_construct"},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){this.groups=[],this.always=!1,this.each=!1,this.context=void 0,this.type=e.type,this.target=e.target,this.propertyName=e.propertyName,this.constraints=e.constraints,this.constraintCls=e.constraintCls,this.validationTypeOptions=e.validationTypeOptions,e.validationOptions&&(this.message=e.validationOptions.message,this.groups=e.validationOptions.groups,this.always=e.validationOptions.always,this.each=e.validationOptions.each,this.context=e.validationOptions.context)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DUPLICATED_INJECTABLE_DECORATOR="Cannot apply @injectable decorator multiple times.",t.DUPLICATED_METADATA="Metadata key was used more than once in a parameter:",t.NULL_ARGUMENT="NULL argument",t.KEY_NOT_FOUND="Key Not Found",t.AMBIGUOUS_MATCH="Ambiguous match found for serviceIdentifier:",t.CANNOT_UNBIND="Could not unbind serviceIdentifier:",t.NOT_REGISTERED="No matching bindings found for serviceIdentifier:",t.MISSING_INJECTABLE_ANNOTATION="Missing required @injectable annotation in:",t.MISSING_INJECT_ANNOTATION="Missing required @inject or @multiInject annotation in:",t.UNDEFINED_INJECT_ANNOTATION=function(e){return"@inject called with undefined this could mean that the class "+e+" has a circular dependency problem. You can use a LazyServiceIdentifer to overcome this limitation."},t.CIRCULAR_DEPENDENCY="Circular dependency found:",t.NOT_IMPLEMENTED="Sorry, this feature is not fully implemented yet.",t.INVALID_BINDING_TYPE="Invalid binding type:",t.NO_MORE_SNAPSHOTS_AVAILABLE="No snapshot available to restore.",t.INVALID_MIDDLEWARE_RETURN="Invalid return type in middleware. Middleware must return!",t.INVALID_FUNCTION_BINDING="Value provided to function binding must be a function!",t.INVALID_TO_SELF_VALUE="The toSelf function can only be applied when a constructor is used as service identifier",t.INVALID_DECORATOR_OPERATION="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.",t.ARGUMENTS_LENGTH_MISMATCH=function(){for(var e=[],t=0;t= than the number of constructor arguments of its base class."},t.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",t.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",t.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",t.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",t.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class",t.POST_CONSTRUCT_ERROR=function(){for(var e=[],t=0;t=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractCustomNode=void 0;const a=n(0),s=n(1);let u=class{constructor(e,t,n,r){this.cachedNode=null,this.identifierNamesGenerator=e(r),this.customCodeHelperFormatter=t,this.randomGenerator=n,this.options=r}getNode(){return this.cachedNode||(this.cachedNode=this.customCodeHelperFormatter.formatStructure(this.getNodeStructure())),this.cachedNode}};u=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.Factory__IIdentifierNamesGenerator)),i(1,a.inject(s.ServiceIdentifiers.ICustomCodeHelperFormatter)),i(2,a.inject(s.ServiceIdentifiers.IRandomGenerator)),i(3,a.inject(s.ServiceIdentifiers.IOptions)),o("design:paramtypes",[Function,Object,Object,Object])],u),t.AbstractCustomNode=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),o=function(){function e(e,t){this.key=e,this.value=t}return e.prototype.toString=function(){return this.key===r.NAMED_TAG?"named: "+this.value.toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+this.value+" }"},e}();t.Metadata=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeStatementUtils=void 0;const r=n(4);class o{static getParentNodeWithStatements(e){return o.getParentNodesWithStatementsRecursive(e,1)[0]}static getParentNodesWithStatements(e){return o.getParentNodesWithStatementsRecursive(e)}static getNextSiblingStatement(e){return o.getSiblingStatementByOffset(e,1)}static getPreviousSiblingStatement(e){return o.getSiblingStatementByOffset(e,-1)}static getRootStatementOfNode(e){if(r.NodeGuards.isProgramNode(e))throw new Error("Unable to find root statement for `Program` node");const t=e.parentNode;if(!t)throw new ReferenceError("`parentNode` property of given node is `undefined`");return r.NodeGuards.isNodeWithStatements(t)?e:o.getRootStatementOfNode(t)}static getScopeOfNode(e){const t=e.parentNode;if(!t)throw new ReferenceError("`parentNode` property of given node is `undefined`");return r.NodeGuards.isNodeWithStatements(t)?t:o.getScopeOfNode(t)}static getParentNodesWithStatementsRecursive(e,t=1/0,n=[],i=0){if(n.length>=t)return n;const a=e.parentNode;if(!a)throw new ReferenceError("`parentNode` property of given node is `undefined`");return(r.NodeGuards.isProgramNode(e)||r.NodeGuards.isNodeWithLexicalScopeStatements(e,a)&&i>0)&&n.push(e),e!==a?o.getParentNodesWithStatementsRecursive(a,t,n,++i):n}static getSiblingStatementByOffset(e,t){const n=o.getScopeOfNode(e),i=r.NodeGuards.isSwitchCaseNode(n)?n.consequent:n.body,a=i.indexOf(e);return i[a+t]||null}}t.NodeStatementUtils=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringArrayEncoding=void 0;const r=n(35);t.StringArrayEncoding=r.MakeEnum({None:"none",Base64:"base64",Rc4:"rc4"})},function(e,t,n){"use strict";var r,o=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractCustomCodeHelper=void 0;const s=n(0),u=n(1),l=n(231),d=n(232);let c=r=class{constructor(e,t,n,r,o){this.cachedNode=null,this.identifierNamesGenerator=e(o),this.customCodeHelperFormatter=t,this.customCodeHelperObfuscator=n,this.randomGenerator=r,this.options=o}getNode(){if(!this.cachedNode){const e=this.getCodeHelperTemplate();this.cachedNode=this.customCodeHelperFormatter.formatStructure(this.getNodeStructure(e))}return this.cachedNode}getGlobalVariableTemplate(){return this.randomGenerator.getRandomGenerator().pickone(r.globalVariableTemplateFunctions)}getCodeHelperTemplate(){return""}};c.globalVariableTemplateFunctions=[l.GlobalVariableTemplate1(),d.GlobalVariableTemplate2()],c=r=o([s.injectable(),a(0,s.inject(u.ServiceIdentifiers.Factory__IIdentifierNamesGenerator)),a(1,s.inject(u.ServiceIdentifiers.ICustomCodeHelperFormatter)),a(2,s.inject(u.ServiceIdentifiers.ICustomCodeHelperObfuscator)),a(3,s.inject(u.ServiceIdentifiers.IRandomGenerator)),a(4,s.inject(u.ServiceIdentifiers.IOptions)),i("design:paramtypes",[Function,Object,Object,Object,Object])],c),t.AbstractCustomCodeHelper=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InversifyContainerFacade=void 0;const r=n(0),o=n(1),i=n(156),a=n(176),s=n(180),u=n(207),l=n(222),d=n(265),c=n(280),p=n(282),f=n(284),g=n(288),h=n(290),m=n(292),b=n(294),y=n(386),S=n(396),_=n(401),C=n(405),E=n(410),N=n(419),A=n(422),v=n(436),T=n(437),I=n(439),D=n(441),O=n(443),R=n(445),M=n(446);t.InversifyContainerFacade=class{constructor(){this.container=new r.Container}static getFactory(e){return t=>n=>t.container.getNamed(e,n)}static getCacheFactory(e){return t=>{const n=new Map;return r=>{if(n.has(r))return n.get(r);const o=t.container.getNamed(e,r);return n.set(r,o),o}}}static getConstructorFactory(e,...t){return n=>{const r=new Map,o=[];return i=>{if(t.forEach((e,t)=>{o[t]||(o[t]=n.container.get(e))}),r.has(i))return new(r.get(i))(...o);const a=n.container.getNamed(e,i);return r.set(i,a),new a(...o)}}}get(e){return this.container.get(e)}getNamed(e,t){return this.container.getNamed(e,t)}load(e,t,n){this.container.bind(o.ServiceIdentifiers.ISourceCode).toDynamicValue(()=>new M.SourceCode(e,t)).inSingletonScope(),this.container.bind(o.ServiceIdentifiers.TInputOptions).toDynamicValue(()=>n).inSingletonScope(),this.container.bind(o.ServiceIdentifiers.ILogger).to(I.Logger).inSingletonScope(),this.container.bind(o.ServiceIdentifiers.IJavaScriptObfuscator).to(T.JavaScriptObfuscator).inSingletonScope(),this.container.bind(o.ServiceIdentifiers.ICodeTransformersRunner).to(v.CodeTransformersRunner).inSingletonScope(),this.container.bind(o.ServiceIdentifiers.INodeTransformersRunner).to(D.NodeTransformersRunner).inSingletonScope(),this.container.bind(o.ServiceIdentifiers.IObfuscatedCode).to(R.ObfuscatedCode),this.container.bind(o.ServiceIdentifiers.Factory__IObfuscatedCode).toFactory(e=>(t,n)=>{const r=e.container.get(o.ServiceIdentifiers.IObfuscatedCode);return r.initialize(t,n),r}),this.container.bind(o.ServiceIdentifiers.IObfuscationEventEmitter).to(O.ObfuscationEventEmitter).inSingletonScope(),this.container.load(i.analyzersModule),this.container.load(a.codeTransformersModule),this.container.load(s.controlFlowTransformersModule),this.container.load(u.convertingTransformersModule),this.container.load(l.customCodeHelpersModule),this.container.load(d.customNodesModule),this.container.load(c.deadCodeInjectionTransformersModule),this.container.load(p.finalizingTransformersModule),this.container.load(f.generatorsModule),this.container.load(g.initializingTransformersModule),this.container.load(h.nodeModule),this.container.load(m.nodeTransformersModule),this.container.load(b.optionsModule),this.container.load(y.preparingTransformersModule),this.container.load(S.renameIdentifiersTransformersModule),this.container.load(_.renamePropertiesTransformersModule),this.container.load(C.simplifyingTransformersModule),this.container.load(E.storagesModule),this.container.load(N.stringArrayTransformersModule),this.container.load(A.utilsModule)}unload(){this.container.unbindAll()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.BindingScopeEnum={Request:"Request",Singleton:"Singleton",Transient:"Transient"};t.BindingTypeEnum={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"};t.TargetTypeEnum={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeMetadata=void 0;class r{static set(e,t){var n;e.metadata=Object.assign(null!==(n=e.metadata)&&void 0!==n?n:{},t)}static get(e,t){return void 0!==e.metadata?e.metadata[t]:void 0}static isForceTransformNode(e){return!0===r.get(e,"forceTransformNode")}static isIgnoredNode(e){return!0===r.get(e,"ignoredNode")}static isReplacedLiteral(e){return!0===r.get(e,"replacedLiteral")}}t.NodeMetadata=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeAppender=void 0;const r=n(4);class o{static append(e,t){t=o.parentizeScopeStatementsBeforeAppend(e,t),o.setScopeStatements(e,[...o.getScopeStatements(e),...t])}static appendToOptimalBlockScope(e,t,n,r=0){const i=e.length?o.getOptimalBlockScope(e,r):t;o.prepend(i,n)}static getOptimalBlockScope(e,t,n=1/0){const r=e[t];if(n<=0)throw new Error("Invalid `deep` argument value. Value should be bigger then 0.");return n>1&&r.callsGraph.length?o.getOptimalBlockScope(r.callsGraph,0,--n):r.callee}static insertBefore(e,t,n){const r=o.getScopeStatements(e).indexOf(n);o.insertAtIndex(e,t,r)}static insertAfter(e,t,n){const r=o.getScopeStatements(e).indexOf(n);o.insertAtIndex(e,t,r+1)}static insertAtIndex(e,t,n){t=o.parentizeScopeStatementsBeforeAppend(e,t),o.setScopeStatements(e,[...o.getScopeStatements(e).slice(0,n),...t,...o.getScopeStatements(e).slice(n)])}static prepend(e,t){t=o.parentizeScopeStatementsBeforeAppend(e,t),o.setScopeStatements(e,[...t,...o.getScopeStatements(e)])}static getScopeStatements(e){return r.NodeGuards.isSwitchCaseNode(e)?e.consequent:e.body}static parentizeScopeStatementsBeforeAppend(e,t){return t.forEach(t=>{t.parentNode=e}),t}static setScopeStatements(e,t){r.NodeGuards.isSwitchCaseNode(e)?e.consequent=t:e.body=t}}t.NodeAppender=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeLexicalScopeUtils=void 0;const r=n(4);class o{static getLexicalScope(e){return o.getLexicalScopesRecursive(e,1)[0]}static getLexicalScopes(e){return o.getLexicalScopesRecursive(e)}static getLexicalScopesRecursive(e,t=1/0,n=[],i=0){if(n.length>=t)return n;const a=e.parentNode;if(!a)throw new ReferenceError("`parentNode` property of given node is `undefined`");return r.NodeGuards.isNodeWithLexicalScope(e)&&n.push(e),e!==a?o.getLexicalScopesRecursive(a,t,n,++i):n}}t.NodeLexicalScopeUtils=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15),o=n(13);function i(e,t,n,o,i){var a={},s="number"==typeof i,u=void 0!==i&&s?i.toString():n;if(s&&void 0!==n)throw new Error(r.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(e,t)&&(a=Reflect.getMetadata(e,t));var l=a[u];if(Array.isArray(l))for(var d=0,c=l;d0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NumberUtils=void 0;const r=n(33);t.NumberUtils=class{static toHex(e){const t="number"==typeof e?e.toString(16):`${e.toString(16)}n`;return`${r.Utils.hexadecimalPrefix}${t}`}static isCeil(e){return"number"!=typeof e||e%1==0}static isPositive(e){if(isNaN(e))throw new Error("Given value is NaN");return e>0||!(e<0)&&1/e===Number.POSITIVE_INFINITY}static isUnsafeNumber(e){if(isNaN(e))throw new Error("Given value is NaN");return eNumber.MAX_SAFE_INTEGER}static getFactors(e){if(0===e)throw new Error("Invalid number. Allowed only non-zero number");if(1===(e=Math.abs(e)))return[-e,e];const t=[],n=Math.sqrt(e),r=e%2==0?1:2;for(let o=1;o<=n;o+=r){if(e%o!=0)continue;t.push(-o,o);const n=e/o;n!==o&&t.push(-n,n)}return t.sort((e,t)=>e-t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Utils=void 0;class r{static buildVersionMessage(e,t){if(!e||!t)return"unknown";return`${e}_${new Date(parseInt(t,10)).toISOString()}`}static extractDomainFrom(e){let t;return t=e.includes("://")||0===e.indexOf("//")?e.split("/")[2]:e.split("/")[0],t=t.split(":")[0],t}static getIdentifiersPrefixForMultipleSources(e,t){return`${e||r.baseMultipleSourcesIdentifiersPrefix}${t}`}}t.Utils=r,r.baseMultipleSourcesIdentifiersPrefix="a",r.hexadecimalPrefix="0x"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomCodeHelper=void 0,function(e){e.CallsControllerFunction="CallsControllerFunction",e.ConsoleOutputDisable="ConsoleOutputDisable",e.DebugProtectionFunctionCall="DebugProtectionFunctionCall",e.DebugProtectionFunctionInterval="DebugProtectionFunctionInterval",e.DebugProtectionFunction="DebugProtectionFunction",e.DomainLock="DomainLock",e.SelfDefendingUnicode="SelfDefendingUnicode",e.StringArray="StringArray",e.StringArrayCallsWrapper="StringArrayCallsWrapper",e.StringArrayCallsWrapperBase64="StringArrayCallsWrapperBase64",e.StringArrayCallsWrapperRc4="StringArrayCallsWrapperRc4",e.StringArrayRotateFunction="StringArrayRotateFunction"}(t.CustomCodeHelper||(t.CustomCodeHelper={}))},function(e,t,n){var r,o,i;!function(a){if("object"==typeof e.exports){var s=a(n(228),t);void 0!==s&&(e.exports=s)}else o=[n,t],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return Object.freeze.apply(Object,arguments)};"function"!=typeof Object.freeze&&(n=function(e){return e}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MapStorage=void 0;const a=n(0),s=n(1),u=n(9);let l=class{constructor(e,t){this.randomGenerator=e,this.options=t}initialize(){this.storage=new Map,this.storageId=this.randomGenerator.getRandomString(6)}get(e){return this.storage.get(e)}getOrThrow(e){const t=this.get(e);if(!t)throw new Error(`No value found in map storage with key \`${e}\``);return t}getKeyOf(e){for(const[t,n]of this.storage)if(e===n)return t;return null}getLength(){return this.storage.size}getStorage(){return this.storage}getStorageId(){return this.storageId}has(e){return this.storage.has(e)}mergeWith(e,t=!1){this.storage=new Map([...this.storage,...e.getStorage()]),t&&(this.storageId=e.getStorageId())}set(e,t){this.storage.set(e,t)}};r([u.initializable(),o("design:type",String)],l.prototype,"storageId",void 0),r([u.initializable(),o("design:type",Map)],l.prototype,"storage",void 0),r([a.postConstruct(),o("design:type",Function),o("design:paramtypes",[]),o("design:returntype",void 0)],l.prototype,"initialize",null),l=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.IRandomGenerator)),i(1,a.inject(s.ServiceIdentifiers.IOptions)),o("design:paramtypes",[Object,Object])],l),t.MapStorage=l},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15);function o(e){return"function"==typeof e?e.name:"symbol"==typeof e?e.toString():e}function i(e){if(e.name)return e.name;var t=e.toString(),n=t.match(/^function\s*([^\s(]+)/);return n?n[1]:"Anonymous function: "+t}t.getServiceIdentifierAsString=o,t.listRegisteredBindingsForServiceIdentifier=function(e,t,n){var r="",o=n(e,t);return 0!==o.length&&(r="\nRegistered bindings:",o.forEach((function(e){var t="Object";null!==e.implementationType&&(t=i(e.implementationType)),r=r+"\n "+t,e.constraint.metaData&&(r=r+" - "+e.constraint.metaData)}))),r},t.circularDependencyToException=function e(t){t.childRequests.forEach((function(t){if(function e(t,n){return null!==t.parentRequest&&(t.parentRequest.serviceIdentifier===n||e(t.parentRequest,n))}(t,t.serviceIdentifier)){var n=function(e){return function e(t,n){void 0===n&&(n=[]);var r=o(t.serviceIdentifier);return n.push(r),null!==t.parentRequest?e(t.parentRequest,n):n}(e).reverse().join(" --\x3e ")}(t);throw new Error(r.CIRCULAR_DEPENDENCY+" "+n)}e(t)}))},t.listMetadataForTarget=function(e,t){if(t.isTagged()||t.isNamed()){var n="",r=t.getNamedTag(),o=t.getCustomTags();return null!==r&&(n+=r.toString()+"\n"),null!==o&&o.forEach((function(e){n+=e.toString()+"\n"}))," "+e+"\n "+e+" - "+n}return" "+e},t.getFunctionName=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeLiteralUtils=void 0;const r=n(4);t.NodeLiteralUtils=class{static isStringLiteralNode(e){return"string"==typeof e.value}static isProhibitedLiteralNode(e,t){return!(!r.NodeGuards.isPropertyNode(t)||t.computed||t.key!==e)||(!!r.NodeGuards.isImportDeclarationNode(t)||!(!r.NodeGuards.isExportAllDeclarationNode(t)&&!r.NodeGuards.isExportNamedDeclarationNode(t)))}}},function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var n=e,r=o(e);if(r){if(!r.path)return e;n=r.path}for(var a,s=t.isAbsolute(n),u=n.split(/\/+/),l=0,d=u.length-1;d>=0;d--)"."===(a=u[d])?u.splice(d,1):".."===a?l++:l>0&&(""===a?(u.splice(d+1,l),l=0):(u.splice(d,2),l--));return""===(n=u.join("/"))&&(n=s?"/":"."),r?(r.path=n,i(r)):n}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),s=o(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),i(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,i(s);var u="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=u,i(s)):u}t.urlParse=o,t.urlGenerate=i,t.normalize=a,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var u=!("__proto__"in Object.create(null));function l(e){return e}function d(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function c(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=u?l:function(e){return d(e)?"$"+e:e},t.fromSetString=u?l:function(e){return d(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=c(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:c(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=c(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:c(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=c(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:c(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=o(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var u=r.path.lastIndexOf("/");u>=0&&(r.path=r.path.substring(0,u+1))}t=s(i(r),t)}return a(t)}},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractCustomCodeHelperGroup=void 0;const a=n(0),s=n(1);let u=class{constructor(e,t,n){this.identifierNamesGenerator=e(n),this.randomGenerator=t,this.options=n}getAppendEvent(){return this.appendEvent}getCustomCodeHelpers(){return this.customCodeHelpers}appendCustomNodeIfExist(e,t){const n=this.customCodeHelpers.get(e);n&&t(n)}getRandomCallsGraphIndex(e){return this.randomGenerator.getRandomInteger(0,Math.max(0,Math.round(e-1)))}};u=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.Factory__IIdentifierNamesGenerator)),i(1,a.inject(s.ServiceIdentifiers.IRandomGenerator)),i(2,a.inject(s.ServiceIdentifiers.IOptions)),o("design:paramtypes",[Function,Object,Object])],u),t.AbstractCustomCodeHelperGroup=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.alphabetStringUppercase=void 0;const r=n(37);t.alphabetStringUppercase=r.alphabetString.toUpperCase()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObfuscatingGuardResult=void 0,function(e){e.ForceTransform="ForceTransform",e.Ignore="Ignore",e.Transform="Transform"}(t.ObfuscatingGuardResult||(t.ObfuscatingGuardResult={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsPreset=void 0;const r=n(35);t.OptionsPreset=r.MakeEnum({Default:"default",LowObfuscation:"low-obfuscation",MediumObfuscation:"medium-obfuscation",HighObfuscation:"high-obfuscation"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeType=void 0,function(e){e.ArrayExpression="ArrayExpression",e.ArrayPattern="ArrayPattern",e.ArrowFunctionExpression="ArrowFunctionExpression",e.AssignmentExpression="AssignmentExpression",e.AssignmentPattern="AssignmentPattern",e.AwaitExpression="AwaitExpression",e.BinaryExpression="BinaryExpression",e.BlockStatement="BlockStatement",e.BreakStatement="BreakStatement",e.CallExpression="CallExpression",e.CatchClause="CatchClause",e.ChainExpression="ChainExpression",e.ClassDeclaration="ClassDeclaration",e.ConditionalExpression="ConditionalExpression",e.ContinueStatement="ContinueStatement",e.ExportAllDeclaration="ExportAllDeclaration",e.ExportNamedDeclaration="ExportNamedDeclaration",e.ExpressionStatement="ExpressionStatement",e.ForStatement="ForStatement",e.ForInStatement="ForInStatement",e.ForOfStatement="ForOfStatement",e.FunctionDeclaration="FunctionDeclaration",e.FunctionExpression="FunctionExpression",e.Identifier="Identifier",e.IfStatement="IfStatement",e.ImportDeclaration="ImportDeclaration",e.ImportDefaultSpecifier="ImportDefaultSpecifier",e.ImportNamespaceSpecifier="ImportNamespaceSpecifier",e.ImportSpecifier="ImportSpecifier",e.LabeledStatement="LabeledStatement",e.Literal="Literal",e.LogicalExpression="LogicalExpression",e.MemberExpression="MemberExpression",e.MethodDefinition="MethodDefinition",e.ObjectExpression="ObjectExpression",e.ObjectPattern="ObjectPattern",e.Program="Program",e.Property="Property",e.RestElement="RestElement",e.ReturnStatement="ReturnStatement",e.SequenceExpression="SequenceExpression",e.Super="Super",e.SwitchCase="SwitchCase",e.SwitchStatement="SwitchStatement",e.TaggedTemplateExpression="TaggedTemplateExpression",e.TemplateElement="TemplateElement",e.TemplateLiteral="TemplateLiteral",e.ThrowStatement="ThrowStatement",e.TryStatement="TryStatement",e.UnaryExpression="UnaryExpression",e.UpdateExpression="UpdateExpression",e.VariableDeclaration="VariableDeclaration",e.VariableDeclarator="VariableDeclarator",e.WhileStatement="WhileStatement",e.YieldExpression="YieldExpression"}(t.NodeType||(t.NodeType={}))},function(e,t,n){"use strict";(function(t){var r=n(165); /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */function o(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o=0;l--)if(d[l]!==c[l])return!1;for(l=d.length-1;l>=0;l--)if(s=d[l],!S(e[s],t[s],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function _(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function C(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function E(e,t,n,r){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&b(o,n,"Missing expected exception"+r);var i="string"==typeof r,s=!e&&o&&!n;if((!e&&a.isError(o)&&i&&C(o,n)||s)&&b(o,n,"Got unwanted exception"+r),e&&o&&n&&!C(o,n)||!e&&o)throw o}p.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return h(m(e.actual),128)+" "+e.operator+" "+h(m(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,o=g(t),i=r.indexOf("\n"+o);if(i>=0){var a=r.indexOf("\n",i+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(p.AssertionError,Error),p.fail=b,p.ok=y,p.equal=function(e,t,n){e!=t&&b(e,t,n,"==",p.equal)},p.notEqual=function(e,t,n){e==t&&b(e,t,n,"!=",p.notEqual)},p.deepEqual=function(e,t,n){S(e,t,!1)||b(e,t,n,"deepEqual",p.deepEqual)},p.deepStrictEqual=function(e,t,n){S(e,t,!0)||b(e,t,n,"deepStrictEqual",p.deepStrictEqual)},p.notDeepEqual=function(e,t,n){S(e,t,!1)&&b(e,t,n,"notDeepEqual",p.notDeepEqual)},p.notDeepStrictEqual=function e(t,n,r){S(t,n,!0)&&b(t,n,r,"notDeepStrictEqual",e)},p.strictEqual=function(e,t,n){e!==t&&b(e,t,n,"===",p.strictEqual)},p.notStrictEqual=function(e,t,n){e===t&&b(e,t,n,"!==",p.notStrictEqual)},p.throws=function(e,t,n){E(!0,e,t,n)},p.doesNotThrow=function(e,t,n){E(!1,e,t,n)},p.ifError=function(e){if(e)throw e},p.strict=r((function e(t,n){t||b(t,!0,n,"==",e)}),p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var N=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}}).call(this,n(39))},function(e,t,n){"use strict";class r{constructor(e,t){this.name=e,this.identifiers=[],this.references=[],this.defs=[],this.tainted=!1,this.stack=!0,this.scope=t}}r.CatchClause="CatchClause",r.Parameter="Parameter",r.FunctionName="FunctionName",r.ClassName="ClassName",r.Variable="Variable",r.ImportBinding="ImportBinding",r.ImplicitGlobalVariable="ImplicitGlobalVariable",e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IdentifierNamesGenerator=void 0;const r=n(35);t.IdentifierNamesGenerator=r.MakeEnum({DictionaryIdentifierNamesGenerator:"dictionary",HexadecimalIdentifierNamesGenerator:"hexadecimal",MangledIdentifierNamesGenerator:"mangled",MangledShuffledIdentifierNamesGenerator:"mangled-shuffled"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceMapMode=void 0;const r=n(35);t.SourceMapMode=r.MakeEnum({Inline:"inline",Separate:"separate"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numbersString=void 0,t.numbersString="0123456789"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringSeparator=void 0,function(e){e.Comma=",",e.Dot=".",e.VerticalLine="|"}(t.StringSeparator||(t.StringSeparator={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var r={"en-US":/^[A-Z]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,"fa-IR":/^['آابپتثجچهخدذرزژسشصضطظعغفقکگلمنوهی']+$/i};t.alpha=r;var o={"en-US":/^[0-9A-Z]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,"fa-IR":/^['0-9آابپتثجچهخدذرزژسشصضطظعغفقکگلمنوهی۱۲۳۴۵۶۷۸۹۰']+$/i};t.alphanumeric=o;var i={"en-US":".",ar:"٫"};t.decimal=i;var a=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=a;for(var s,u=0;u1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(n=String(n)))return e(t,4)||e(t,6);if("4"===n){if(!i.test(t))return!1;var r=t.split(".").sort((function(e,t){return e-t}));return r[3]<=255}if("6"===n){var s=[t];if(t.includes("%")){if(2!==(s=t.split("%")).length)return!1;if(!s[0].includes(":"))return!1;if(""===s[1])return!1}var u=s[0].split(":"),l=!1,d=e(u[u.length-1],4),c=d?7:8;if(u.length>c)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(u.shift(),u.shift(),l=!0):"::"===t.substr(t.length-2)&&(u.pop(),u.pop(),l=!0);for(var p=0;p0&&p=1:u.length===c}return!1};var r,o=(r=n(3))&&r.__esModule?r:{default:r};var i=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,a=/^[0-9A-F]{1,4}$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_PRESET=void 0;const r=n(50),o=n(30),i=n(46),a=n(51),s=n(19),u=n(36);t.DEFAULT_PRESET=Object.freeze({compact:!0,config:"",controlFlowFlattening:!1,controlFlowFlatteningThreshold:.75,deadCodeInjection:!1,deadCodeInjectionThreshold:.4,debugProtection:!1,debugProtectionInterval:!1,disableConsoleOutput:!1,domainLock:[],exclude:[],forceTransformStrings:[],identifierNamesGenerator:r.IdentifierNamesGenerator.HexadecimalIdentifierNamesGenerator,identifiersPrefix:"",identifiersDictionary:[],inputFileName:"",log:!1,numbersToExpressions:!1,optionsPreset:i.OptionsPreset.Default,renameGlobals:!1,renameProperties:!1,reservedNames:[],reservedStrings:[],rotateStringArray:!0,seed:0,selfDefending:!1,shuffleStringArray:!0,simplify:!0,sourceMap:!1,sourceMapBaseUrl:"",sourceMapFileName:"",sourceMapMode:a.SourceMapMode.Separate,splitStrings:!1,splitStringsChunkLength:10,stringArray:!0,stringArrayEncoding:[s.StringArrayEncoding.None],stringArrayWrappersChainedCalls:!0,stringArrayWrappersCount:1,stringArrayWrappersType:u.StringArrayWrappersType.Variable,stringArrayThreshold:.75,target:o.ObfuscationTarget.Browser,transformObjectKeys:!1,unicodeEscapeSequence:!1})},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,l=[],d=!1,c=-1;function p(){d&&u&&(d=!1,u.length?l=u.concat(l):c=-1,l.length&&f())}function f(){if(!d){var e=s(p);d=!0;for(var t=l.length;t;){for(u=l,l=[];++c1)for(var n=1;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractCalleeDataExtractor=void 0;let o=class{};o=r([n(0).injectable()],o),t.AbstractCalleeDataExtractor=o},function(e,t,n){!function e(t){"use strict";var r,o,i,a,s,u;function l(e){var t,n,r={};for(t in e)e.hasOwnProperty(t)&&(n=e[t],r[t]="object"==typeof n&&null!==n?l(n):n);return r}function d(e,t){this.parent=e,this.key=t}function c(e,t,n,r){this.node=e,this.path=t,this.wrap=n,this.ref=r}function p(){}function f(e){return null!=e&&("object"==typeof e&&"string"==typeof e.type)}function g(e,t){return(e===r.ObjectExpression||e===r.ObjectPattern)&&"properties"===t}function h(e,t){return(new p).traverse(e,t)}function m(e,t){var n;return n=function(e,t){var n,r,o,i;for(r=e.length,o=0;r;)t(e[i=o+(n=r>>>1)])?r=n:(o=i+1,r-=n+1);return o}(t,(function(t){return t.range[0]>e.range[0]})),e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),(n-=1)>=0&&(e.extendedRange[0]=t[n].range[1]),e}return r={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},o={Break:a={},Skip:s={},Remove:u={}},d.prototype.replace=function(e){this.parent[this.key]=e},d.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},p.prototype.path=function(){var e,t,n,r,o;function i(e,t){if(Array.isArray(t))for(n=0,r=t.length;n=0;)if(b=i[d=m[p]])if(Array.isArray(b)){for(h=b.length;(h-=1)>=0;)if(b[h]){if(g(u,m[p]))o=new c(b[h],[d,h],"Property",null);else{if(!f(b[h]))continue;o=new c(b[h],[d,h],null,null)}n.push(o)}}else f(b)&&n.push(new c(b,d,null,null))}}else if(o=r.pop(),l=this.__execute(t.leave,o),this.__state===a||l===a)return},p.prototype.replace=function(e,t){var n,r,o,i,l,p,h,m,b,y,S,_,C;function E(e){var t,r,o,i;if(e.ref.remove())for(r=e.ref.key,i=e.ref.parent,t=n.length;t--;)if((o=n[t]).ref&&o.ref.parent===i){if(o.ref.key=0;)if(y=o[C=b[h]])if(Array.isArray(y)){for(m=y.length;(m-=1)>=0;)if(y[m]){if(g(i,b[h]))p=new c(y[m],[C,m],"Property",new d(y,m));else{if(!f(y[m]))continue;p=new c(y[m],[C,m],null,new d(y,m))}n.push(p)}}else f(y)&&n.push(new c(y,C,null,new d(o,C)))}}else if(p=r.pop(),void 0!==(l=this.__execute(t.leave,p))&&l!==a&&l!==s&&l!==u&&p.ref.replace(l),this.__state!==u&&l!==u||E(p),this.__state===a||l===a)return _.root;return _.root},t.version=n(170).version,t.Syntax=r,t.traverse=h,t.replace=function(e,t){return(new p).replace(e,t)},t.attachComments=function(e,t,n){var r,i,a,s,u=[];if(!e.range)throw new Error("attachComments needs range information");if(!n.length){if(t.length){for(a=0,i=t.length;ae.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),u.splice(s,1)):s+=1;return s===u.length?o.Break:u[s].extendedRange[0]>e.range[1]?o.Skip:void 0}}),s=0,h(e,{leave:function(e){for(var t;se.range[1]?o.Skip:void 0}}),e},t.VisitorKeys=i,t.VisitorOption=o,t.Controller=p,t.cloneEnvironment=function(){return e({})},t}(t)},function(e,t,n){"use strict";class r{constructor(e,t,n,r,o,i,a){this.identifier=e,this.from=t,this.tainted=!1,this.resolved=null,this.flag=n,this.isWrite()&&(this.writeExpr=r,this.partial=i,this.init=a),this.__maybeImplicitGlobal=o}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&r.WRITE)}isRead(){return!!(this.flag&r.READ)}isReadOnly(){return this.flag===r.READ}isWriteOnly(){return this.flag===r.WRITE}isReadWrite(){return this.flag===r.RW}}r.READ=1,r.WRITE=2,r.RW=3,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ecmaVersion=void 0,t.ecmaVersion=11},function(e,t,n){"use strict";var r,o=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractControlFlowReplacer=void 0;const s=n(0),u=n(1);let l=r=class{constructor(e,t,n){this.replacerDataByControlFlowStorageId=new Map,this.controlFlowCustomNodeFactory=e,this.randomGenerator=t,this.options=n}static getStorageKeysByIdForCurrentStorage(e,t){let n;return n=e.has(t)?e.get(t):new Map,n}insertCustomNodeToControlFlowStorage(e,t,n,o){const i=t.getStorageId(),a=r.getStorageKeysByIdForCurrentStorage(this.replacerDataByControlFlowStorageId,i),s=a.get(n);if(this.randomGenerator.getMathRandom(){const n=this.randomGenerator.getRandomString(e);return t.getStorage().has(n)?u(e):n},l=u(5);return a.set(n,[l]),this.replacerDataByControlFlowStorageId.set(i,a),t.set(l,e),l}};l=r=o([s.injectable(),a(0,s.inject(u.ServiceIdentifiers.Factory__IControlFlowCustomNode)),a(1,s.inject(u.ServiceIdentifiers.IRandomGenerator)),a(2,s.inject(u.ServiceIdentifiers.IOptions)),i("design:paramtypes",[Function,Object,Object])],l),t.AbstractControlFlowReplacer=l},function(e,t,n){(function(e){!function(){"use strict";var r,o,i,a,s,u,l,d,c,p,f,g,h,m,b,y,S,_,C,E,N,A,v,T,I,D;function O(e){return z.Statement.hasOwnProperty(e.type)}s=n(11),u=n(183),r=s.Syntax,i={"||":(o={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Exponentiation:13,Await:14,Unary:14,Postfix:15,OptionalChaining:16,Call:17,New:18,TaggedTemplate:19,Member:20,Primary:21}).LogicalOR,"&&":o.LogicalAND,"|":o.BitwiseOR,"^":o.BitwiseXOR,"&":o.BitwiseAND,"==":o.Equality,"!=":o.Equality,"===":o.Equality,"!==":o.Equality,is:o.Equality,isnt:o.Equality,"<":o.Relational,">":o.Relational,"<=":o.Relational,">=":o.Relational,in:o.Relational,instanceof:o.Relational,"<<":o.BitwiseSHIFT,">>":o.BitwiseSHIFT,">>>":o.BitwiseSHIFT,"+":o.Additive,"-":o.Additive,"*":o.Multiplicative,"%":o.Multiplicative,"/":o.Multiplicative,"**":o.Exponentiation};function R(e,t){var n="";for(t|=0;t>0;t>>>=1,e+=e)1&t&&(n+=e);return n}function M(e){var t=e.length;return t&&u.code.isLineTerminator(e.charCodeAt(t-1))}function P(e,t){var n;for(n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function F(e,t){var n,r;function o(e){return"object"==typeof e&&e instanceof Object&&!(e instanceof RegExp)}for(n in t)t.hasOwnProperty(n)&&(o(r=t[n])?o(e[n])?F(e[n],r):e[n]=F({},r):e[n]=r);return e}function x(e,t){return 8232==(-2&e)?(t?"u":"\\u")+(8232===e?"2028":"2029"):10===e||13===e?(t?"":"\\")+(10===e?"n":"r"):String.fromCharCode(e)}function L(e,t){var n;return 8===e?"\\b":12===e?"\\f":9===e?"\\t":(n=e.toString(16).toUpperCase(),c||e>255?"\\u"+"0000".slice(n.length)+n:0!==e||u.code.isDecimalDigit(t)?11===e?"\\x0B":"\\x"+"00".slice(n.length)+n:"\\0")}function $(e){if(92===e)return"\\\\";if(10===e)return"\\n";if(13===e)return"\\r";if(8232===e)return"\\u2028";if(8233===e)return"\\u2029";throw new Error("Incorrectly classified character")}function w(e,t){if(!A)return Array.isArray(e)?function e(t){var n,r,o,i="";for(n=0,r=t.length;na&&(s=a)}for(void 0!==t?(d=l,"*"===n[1][s]&&(t+=" "),l=t):(1&s&&--s,d=l),r=1,o=n.length;r0){if(a=t,T){for(t=[],f=(i=e.leadingComments[0]).extendedRange,g=i.range,(b=((m=v.substring(f[0],g[0])).match(/\n/g)||[]).length)>0?(t.push(R("\n",b)),t.push(U(k(i)))):(t.push(m),t.push(k(i))),h=g,n=1,o=e.leadingComments.length;n0?(t.push(R("\n",b)),t.push(U(k(i)))):(t.push(m),t.push(k(i)));else for(s=!M(w(t).toString()),c=R(" ",function(e){var t;for(t=e.length-1;t>=0&&!u.code.isLineTerminator(e.charCodeAt(t));--t);return e.length-1-t}(w([l,t,d]).toString())),n=0,o=e.trailingComments.length;n")),e.expression?(t.push(b),"{"===(n=this.generateExpression(e.body,o.Assignment,7)).toString().charAt(0)&&(n=["(",n,")"]),t.push(n)):t.push(this.maybeBlock(e.body,9)),t},z.prototype.generateIterationForStatement=function(e,t,n){var i=["for"+(t.await?B()+"await":"")+b+"("],a=this;return j((function(){t.left.type===r.VariableDeclaration?j((function(){i.push(t.left.kind+B()),i.push(a.generateStatement(t.left.declarations[0],0))})):i.push(a.generateExpression(t.left,o.Call,7)),i=G(i,e),i=[G(i,a.generateExpression(t.right,o.Assignment,7)),")"]})),i.push(this.maybeBlock(t.body,n)),i},z.prototype.generatePropertyKey=function(e,t){var n=[];return t&&n.push("["),n.push(this.generateExpression(e,o.Assignment,7)),t&&n.push("]"),n},z.prototype.generateAssignment=function(e,t,n,r,i){return o.Assignment2&&("\n"===(r=v.substring(n[0]+1,n[1]-1))[0]&&(o=["{"]),o.push(r)),l=1,8&t&&(l|=16),a=0,s=e.body.length;a0&&(e.body[a-1].trailingComments||e.body[a].leadingComments||H(e.body[a-1].range[1],e.body[a].range[0],o))),a===s-1&&(l|=32),u=e.body[a].leadingComments&&T?i.generateStatement(e.body[a],l):U(i.generateStatement(e.body[a],l)),o.push(u),M(w(u).toString())||T&&a1?j(u):u(),n.push(this.semicolon(t)),n},ThrowStatement:function(e,t){return[G("throw",this.generateExpression(e.argument,o.Sequence,7)),this.semicolon(t)]},TryStatement:function(e,t){var n,r,o,i;if(n=["try",this.maybeBlock(e.block,1)],n=this.maybeBlockSuffix(e.block,n),e.handlers)for(r=0,o=e.handlers.length;r0?"\n":""],a=17,o=0;o0&&(e.body[o-1].trailingComments||e.body[o].leadingComments||H(e.body[o-1].range[1],e.body[o].range[0],n))),r=U(this.generateStatement(e.body[o],a)),n.push(r),o+10){for(r.push("("),a=0,s=i;a=2&&48===a.charCodeAt(0))&&i.push(" "),i.push(e.optional?"?.":"."),i.push(Y(e.property))),K(i,o.Member,t)},MetaProperty:function(e,t,n){var r;return(r=[]).push("string"==typeof e.meta?e.meta:Y(e.meta)),r.push("."),r.push("string"==typeof e.property?e.property:Y(e.property)),K(r,o.Member,t)},UnaryExpression:function(e,t,n){var r,i,a,s,l;return i=this.generateExpression(e.argument,o.Unary,7),""===b?r=G(e.operator,i):(r=[e.operator],e.operator.length>2?r=G(r,i):(l=(s=w(r).toString()).charCodeAt(s.length-1),a=i.toString().charCodeAt(0),(43===l||45===l)&&l===a||u.code.isIdentifierPartES5(l)&&u.code.isIdentifierPartES5(a)?(r.push(B()),r.push(i)):r.push(i))),K(r,o.Unary,t)},YieldExpression:function(e,t,n){var r;return r=e.delegate?"yield*":"yield",e.argument&&(r=G(r,this.generateExpression(e.argument,o.Yield,7))),K(r,o.Yield,t)},AwaitExpression:function(e,t,n){return K(G(e.all?"await*":"await",this.generateExpression(e.argument,o.Await,7)),o.Await,t)},UpdateExpression:function(e,t,n){return e.prefix?K([e.operator,this.generateExpression(e.argument,o.Unary,7)],o.Unary,t):K([this.generateExpression(e.argument,o.Postfix,7),e.operator],o.Postfix,t)},FunctionExpression:function(e,t,n){var r=[X(e,!0),"function"];return e.id?(r.push(q(e)||B()),r.push(Y(e.id))):r.push(q(e)||b),r.push(this.generateFunctionBody(e)),r},ArrayPattern:function(e,t,n){return this.ArrayExpression(e,t,n,!0)},ArrayExpression:function(e,t,n,r){var i,a,s=this;return e.elements.length?(a=!r&&e.elements.length>1,i=["[",a?m:""],j((function(t){var n,r;for(n=0,r=e.elements.length;n1,j((function(){a=u.generateExpression(e.properties[0],o.Sequence,7)})),r||(s=w(a).toString(),/[\r\n]/g.test(s))?(j((function(t){var n,s;if(i=["{",m,t,a],r)for(i.push(","+m),n=1,s=e.properties.length;n126))){a+=L(r,e.charCodeAt(t+1));continue}}a+=String.fromCharCode(r)}if(i=(o=!("double"===g||"auto"===g&&l0&&(o=+r.slice(i+1),r=r.slice(0,i)),n>=0&&(o-=r.length-n-1,r=+(r.slice(0,n)+r.slice(n+1))+""),i=0;48===r.charCodeAt(r.length+i-1);)--i;return 0!==i&&(o-=i,r=r.slice(0,i)),0!==o&&(r+="e"+o),(r.length1e12&&Math.floor(e)===e&&(r="0x"+e.toString(16)).length0||E.moz.comprehensionExpressionStartsWithAssignment?i=G(i,u):i.push(u)})),e.filter&&(i=G(i,"if"+b),u=this.generateExpression(e.filter,o.Sequence,7),i=G(i,["(",u,")"])),E.moz.comprehensionExpressionStartsWithAssignment||(u=this.generateExpression(e.body,o.Assignment,7),i=G(i,u)),i.push(e.type===r.GeneratorExpression?")":"]"),i},ComprehensionBlock:function(e,t,n){var i;return i=G(i=e.left.type===r.VariableDeclaration?[e.left.kind,B(),this.generateStatement(e.left.declarations[0],0)]:this.generateExpression(e.left,o.Call,7),e.of?"of":"in"),i=G(i,this.generateExpression(e.right,o.Sequence,7)),["for"+b+"(",i,")"]},SpreadElement:function(e,t,n){return["...",this.generateExpression(e.argument,o.Assignment,7)]},TaggedTemplateExpression:function(e,t,n){var r=3;return 2&n||(r=1),K([this.generateExpression(e.tag,o.Call,r),this.generateExpression(e.quasi,o.Primary,4)],o.TaggedTemplate,t)},TemplateElement:function(e,t,n){return e.value.raw},TemplateLiteral:function(e,t,n){var r,i,a;for(r=["`"],i=0,a=e.quasis.length;i=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.StringArrayCallsWrapperCodeHelper=void 0;const a=n(0),s=n(1),u=n(9),l=n(252),d=n(253),c=n(20),p=n(5);let f=class extends c.AbstractCustomCodeHelper{constructor(e,t,n,r,o,i){super(e,t,n,r,o),this.escapeSequenceEncoder=i}initialize(e,t){this.stringArrayName=e,this.stringArrayCallsWrapperName=t}getNodeStructure(e){return p.NodeUtils.convertCodeToStructure(e)}getCodeHelperTemplate(){const e=this.getDecodeStringArrayTemplate(),t=[`^${this.stringArrayName}$`];return this.customCodeHelperObfuscator.obfuscateTemplate(this.customCodeHelperFormatter.formatTemplate(d.StringArrayCallsWrapperTemplate(),{decodeCodeHelperTemplate:e,stringArrayCallsWrapperName:this.stringArrayCallsWrapperName,stringArrayName:this.stringArrayName}),{reservedNames:t})}getDecodeStringArrayTemplate(){return""}getSelfDefendingTemplate(){return this.options.selfDefending?this.customCodeHelperFormatter.formatTemplate(l.SelfDefendingTemplate(this.randomGenerator,this.escapeSequenceEncoder),{stringArrayCallsWrapperName:this.stringArrayCallsWrapperName,stringArrayName:this.stringArrayName}):""}};r([u.initializable(),o("design:type",String)],f.prototype,"stringArrayName",void 0),r([u.initializable(),o("design:type",String)],f.prototype,"stringArrayCallsWrapperName",void 0),f=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.Factory__IIdentifierNamesGenerator)),i(1,a.inject(s.ServiceIdentifiers.ICustomCodeHelperFormatter)),i(2,a.inject(s.ServiceIdentifiers.ICustomCodeHelperObfuscator)),i(3,a.inject(s.ServiceIdentifiers.IRandomGenerator)),i(4,a.inject(s.ServiceIdentifiers.IOptions)),i(5,a.inject(s.ServiceIdentifiers.IEscapeSequenceEncoder)),o("design:paramtypes",[Function,Object,Object,Object,Object,Object])],f),t.StringArrayCallsWrapperCodeHelper=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringArrayCustomNode=void 0,function(e){e.StringArrayCallNode="StringArrayCallNode",e.StringArrayScopeCallsWrapperFunctionNode="StringArrayScopeCallsWrapperFunctionNode",e.StringArrayScopeCallsWrapperVariableNode="StringArrayScopeCallsWrapperVariableNode"}(t.StringArrayCustomNode||(t.StringArrayCustomNode={}))},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractStringArrayCallNode=void 0;const a=n(0),s=n(1),u=n(16),l=n(6),d=n(23),c=n(5),p=n(32);let f=class extends u.AbstractCustomNode{constructor(e,t,n,r){super(e,t,n,r)}getHexadecimalNode(e){const t=e>=0,n=Math.abs(e),r=p.NumberUtils.toHex(n),o=l.NodeFactory.literalNode(r);d.NodeMetadata.set(o,{replacedLiteral:!0});const i=t?o:l.NodeFactory.unaryExpressionNode("-",o);return c.NodeUtils.parentizeAst(i),i}getRc4KeyLiteralNode(e){const t=l.NodeFactory.literalNode(e);return d.NodeMetadata.set(t,{replacedLiteral:!0}),t}};f=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.Factory__IIdentifierNamesGenerator)),i(1,a.inject(s.ServiceIdentifiers.ICustomCodeHelperFormatter)),i(2,a.inject(s.ServiceIdentifiers.IRandomGenerator)),i(3,a.inject(s.ServiceIdentifiers.IOptions)),o("design:paramtypes",[Function,Object,Object,Object])],f),t.AbstractStringArrayCallNode=f},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractIdentifierNamesGenerator=void 0;const a=n(0),s=n(1),u=n(4);let l=class{constructor(e,t){this.preservedNamesSet=new Set,this.lexicalScopesPreservedNamesMap=new Map,this.randomGenerator=e,this.options=t}generate(e,t){return u.NodeGuards.isProgramNode(e)?this.generateForGlobalScope():this.generateForLexicalScope(e)}preserveName(e){this.preservedNamesSet.add(e)}preserveNameForLexicalScope(e,t){var n;const r=null!==(n=this.lexicalScopesPreservedNamesMap.get(t))&&void 0!==n?n:new Set;r.add(e),this.lexicalScopesPreservedNamesMap.set(t,r)}isValidIdentifierName(e){return this.notReservedName(e)&&!this.preservedNamesSet.has(e)}isValidIdentifierNameInLexicalScopes(e,t){var n;if(!this.isValidIdentifierName(e))return!1;for(const r of t){const t=null!==(n=this.lexicalScopesPreservedNamesMap.get(r))&&void 0!==n?n:null;if(t&&t.has(e))return!1}return!0}notReservedName(e){return!this.options.reservedNames.length||!this.options.reservedNames.some(t=>null!==new RegExp(t,"g").exec(e))}};l=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.IRandomGenerator)),i(1,a.inject(s.ServiceIdentifiers.IOptions)),o("design:paramtypes",[Object,Object])],l),t.AbstractIdentifierNamesGenerator=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var r,o=(r=n(3))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,o.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));for(var n=e.split("."),i=0;i63)return!1;if(t.require_tld){var s=n.pop();if(!n.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(s))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(s))return!1}for(var u,l=0;l{const i=a.Utils.getIdentifiersPrefixForMultipleSources(t.identifiersPrefix,o),u=e[r],l=Object.assign(Object.assign({},t),{identifiersPrefix:i});return Object.assign(Object.assign({},n),{[r]:s.obfuscate(u,l)})},{})}static getOptionsByPreset(e){return i.Options.getOptionsByPreset(e)}}t.JavaScriptObfuscator=s,s.version=null!=="2.4.2"?"2.4.2":"unknown"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),o=function(){function e(){}return e.prototype.getConstructorMetadata=function(e){return{compilerGeneratedMetadata:Reflect.getMetadata(r.PARAM_TYPES,e),userGeneratedMetadata:Reflect.getMetadata(r.TAGGED,e)||{}}},e.prototype.getPropertiesMetadata=function(e){return Reflect.getMetadata(r.TAGGED_PROP,e)||[]},e}();t.MetadataReader=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15);t.isStackOverflowExeption=function(e){return e instanceof RangeError||e.message===r.STACK_OVERFLOW}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15),o=n(13),i=n(17),a=n(26),s=function(){function e(e){this._cb=e}return e.prototype.unwrap=function(){return this._cb()},e}();t.LazyServiceIdentifer=s,t.inject=function(e){return function(t,n,s){if(void 0===e)throw new Error(r.UNDEFINED_INJECT_ANNOTATION(t.name));var u=new i.Metadata(o.INJECT_TAG,e);"number"==typeof s?a.tagParameter(t,n,s,u):a.tagProperty(t,n,u)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),o=n(28),i=n(17),a=n(137),s=function(){function e(e,t,n,s){this.id=o.id(),this.type=e,this.serviceIdentifier=n,this.name=new a.QueryableString(t||""),this.metadata=new Array;var u=null;"string"==typeof s?u=new i.Metadata(r.NAMED_TAG,s):s instanceof i.Metadata&&(u=s),null!==u&&this.metadata.push(u)}return e.prototype.hasTag=function(e){for(var t=0,n=this.metadata;t0&&n.every(u)}__staticCloseRef(e){this.__resolve(e)||this.__delegateToUpperScope(e)}__dynamicCloseRef(e){let t=this;do{t.through.push(e),t=t.upper}while(t)}__globalCloseRef(e){this.__shouldStaticallyCloseForGlobal(e)?this.__staticCloseRef(e):this.__dynamicCloseRef(e)}__close(e){let t;t=this.__shouldStaticallyClose(e)?this.__staticCloseRef:"global"!==this.type?this.__dynamicCloseRef:this.__globalCloseRef;for(let e=0,n=this.__left.length;ee.name.range[0]>=n))}},ForScope:class extends l{constructor(e,t,n){super(e,"for",t,n,!1)}},ClassScope:class extends l{constructor(e,t,n){super(e,"class",t,n,!1)}}}},function(e,t,n){"use strict";const r=n(49);class o{constructor(e,t,n,r,o,i){this.type=e,this.name=t,this.node=n,this.parent=r,this.index=o,this.kind=i}}e.exports={ParameterDefinition:class extends o{constructor(e,t,n,o){super(r.Parameter,e,t,null,n,null),this.rest=o}},Definition:o}},function(e,t,n){!function(){"use strict";var e=n(11);function r(e){return null!=e&&("object"==typeof e&&"string"==typeof e.type)}function o(t,n){n=n||{},this.__visitor=t||this,this.__childVisitorKeys=n.childVisitorKeys?Object.assign({},e.VisitorKeys,n.childVisitorKeys):e.VisitorKeys,"iteration"===n.fallback?this.__fallback=Object.keys:"function"==typeof n.fallback&&(this.__fallback=n.fallback)}o.prototype.visitChildren=function(t){var n,o,i,a,s,u,l;if(null!=t){if(n=t.type||e.Syntax.Property,!(o=this.__childVisitorKeys[n])){if(!this.__fallback)throw new Error("Unknown node type "+n+".");o=this.__fallback(t)}for(i=0,a=o.length;i=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractTransformerNamesGroupsBuilder=void 0;const a=n(0),s=n(1);let u=class{constructor(e){this.levelledTopologicalSorter=e}build(e){const t=Object.keys(e),n=this.buildTransformersRelationEdges(t,e);for(const[e,t]of n)this.levelledTopologicalSorter.add(e,t);return this.levelledTopologicalSorter.sortByGroups()}buildTransformersRelationEdges(e,t){const n=[];for(const r of e){const e=t[r].runAfter;if(e&&e.length)for(const o of e){void 0===t[o]?n.push([r,null]):n.push([o,r])}else n.push([r,null])}return n}};u=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.ILevelledTopologicalSorter)),o("design:paramtypes",[Object])],u),t.AbstractTransformerNamesGroupsBuilder=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeTransformationStage=void 0,function(e){e.PreparingTransformers="PreparingTransformers",e.FinalizingTransformers="FinalizingTransformers"}(t.CodeTransformationStage||(t.CodeTransformationStage={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ControlFlowReplacer=void 0,function(e){e.BinaryExpressionControlFlowReplacer="BinaryExpressionControlFlowReplacer",e.CallExpressionControlFlowReplacer="CallExpressionControlFlowReplacer",e.LogicalExpressionControlFlowReplacer="LogicalExpressionControlFlowReplacer",e.StringLiteralControlFlowReplacer="StringLiteralControlFlowReplacer"}(t.ControlFlowReplacer||(t.ControlFlowReplacer={}))},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionWithOperatorControlFlowReplacer=void 0;const a=n(0),s=n(1),u=n(27),l=n(64),d=n(4);let c=class extends l.AbstractControlFlowReplacer{constructor(e,t,n){super(e,t,n)}getControlFlowStorageCallNode(e,t,n,r){const o=this.controlFlowCustomNodeFactory(u.ControlFlowCustomNode.ExpressionWithOperatorControlFlowStorageCallNode);o.initialize(e,t,n,r);const i=o.getNode()[0];if(!i||!d.NodeGuards.isExpressionStatementNode(i))throw new Error("`controlFlowStorageCallCustomNode.getNode()[0]` should returns array with `ExpressionStatement` node");return i.expression}};c=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.Factory__IControlFlowCustomNode)),i(1,a.inject(s.ServiceIdentifiers.IRandomGenerator)),i(2,a.inject(s.ServiceIdentifiers.IOptions)),o("design:paramtypes",[Function,Object,Object])],c),t.ExpressionWithOperatorControlFlowReplacer=c},function(e,t){!function(){"use strict";var t,n,r,o,i,a;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\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-\u08B4\u08B6-\u08BD\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\u0AF9\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-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\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-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\uAB70-\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\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-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\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-\u08B4\u08B6-\u08BD\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\u0AF9\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-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\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\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\uAB70-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],o=new Array(128),a=0;a<128;++a)o[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(i=new Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()},function(e,t,n){var r=n(92),o=n(42),i=n(93).ArraySet,a=n(188).MappingList;function s(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new a,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var i=r;null!==t&&(i=o.relative(t,r)),n._sources.has(i)||n._sources.add(i);var a=e.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},s.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},s.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var a=this._sourceRoot;null!=a&&(r=o.relative(a,r));var s=new i,u=new i;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=n&&(t.source=o.join(n,t.source)),null!=a&&(t.source=o.relative(a,t.source)),t.originalLine=i.line,t.originalColumn=i.column,null!=i.name&&(t.name=i.name))}var l=t.source;null==l||s.has(l)||s.add(l);var d=t.name;null==d||u.has(d)||u.add(d)}),this),this._sources=s,this._names=u,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=a&&(t=o.relative(a,t)),this.setSourceContent(t,r))}),this)},s.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.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&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,i,a=0,s=1,u=0,l=0,d=0,c=0,p="",f=this._mappings.toArray(),g=0,h=f.length;g0){if(!o.compareByGeneratedPositionsInflated(t,f[g-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=r.encode(i-c),c=i,e+=r.encode(t.originalLine-1-l),l=t.originalLine-1,e+=r.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-d),d=n)),p+=e}return p},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},function(e,t,n){var r=n(187);t.encode=function(e){var t,n="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var o,i,a,s,u=e.length,l=0,d=0;do{if(t>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&i),l+=(i&=31)<>1,1==(1&a)?-s:s),n.rest=t}},function(e,t,n){var r=n(42),o=Object.prototype.hasOwnProperty,i="undefined"!=typeof Map;function a(){this._array=[],this._set=i?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,o=e.length;r=0)return t}else{var n=r.toSetString(e);if(o.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e"),s=`...${r.substring(o,i).replace(/^\s+/,"")}...`;throw new Error(`ERROR at line ${n.line}: ${t}\n${a} ${s}`)}}t.ASTParserFacade=l,l.colorError=u.default.red,l.nearestSymbolsCount=15,l.sourceTypes=["script","module"]},function(e,t,n){"use strict";const r=n(195),{stdout:o,stderr:i}=n(200),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:s}=n(201),{isArray:u}=Array,l=["ansi","ansi","ansi256","ansi16m"],d=Object.create(null);class c{constructor(e){return p(e)}}const p=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=o?o.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>_(t.template,...e),Object.setPrototypeOf(t,f.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=c,t.template};function f(e){return p(e)}for(const[e,t]of Object.entries(r))d[e]={get(){const n=b(this,m(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};d.visible={get(){const e=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const g=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of g)d[e]={get(){const{level:t}=this;return function(...n){const o=m(r.color[l[t]][e](...n),r.color.close,this._styler);return b(this,o,this._isEmpty)}}};for(const e of g){d["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const o=m(r.bgColor[l[t]][e](...n),r.bgColor.close,this._styler);return b(this,o,this._isEmpty)}}}}const h=Object.defineProperties(()=>{},{...d,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),m=(e,t,n)=>{let r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},b=(e,t,n)=>{const r=(...e)=>u(e[0])&&u(e[0].raw)?y(r,_(r,...e)):y(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,h),r._generator=e,r._styler=t,r._isEmpty=n,r},y=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:o}=n;if(-1!==t.indexOf(""))for(;void 0!==n;)t=a(t,n.close,n.open),n=n.parent;const i=t.indexOf("\n");return-1!==i&&(t=s(t,o,r,i)),r+t+o};let S;const _=(e,...t)=>{const[r]=t;if(!u(r)||!u(r.raw))return t.join(" ");const o=t.slice(1),i=[r.raw[0]];for(let e=1;e1&&(o-=1)),[360*o,100*i,100*l]},i.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=i.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*a,100*r]},i.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},i.rgb.keyword=function(e){const t=o[e];if(t)return t;let n,i=1/0;for(const t of Object.keys(r)){const o=r[t],u=(s=o,((a=e)[0]-s[0])**2+(a[1]-s[1])**2+(a[2]-s[2])**2);u.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},i.rgb.lab=function(e){const t=i.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];return n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,[116*r-16,500*(n-r),200*(r-o)]},i.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,i,a;if(0===n)return a=255*r,[a,a,a];o=r<.5?r*(1+n):r+n-r*n;const s=2*r-o,u=[0,0,0];for(let e=0;e<3;e++)i=t+1/3*-(e-1),i<0&&i++,i>1&&i--,a=6*i<1?s+6*(o-s)*i:2*i<1?o:3*i<2?s+(o-s)*(2/3-i)*6:s,u[e]=255*a;return u},i.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const i=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},i.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*i),u=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},i.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let i,a;a=(2-n)*r;const s=(2-n)*o;return i=n*o,i/=s<=1?s:2-s,i=i||0,a/=2,[t,100*i,100*a]},i.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let i;o>1&&(n/=o,r/=o);const a=Math.floor(6*t),s=1-r;i=6*t-a,0!=(1&a)&&(i=1-i);const u=n+i*(s-n);let l,d,c;switch(a){default:case 6:case 0:l=s,d=u,c=n;break;case 1:l=u,d=s,c=n;break;case 2:l=n,d=s,c=u;break;case 3:l=n,d=u,c=s;break;case 4:l=u,d=n,c=s;break;case 5:l=s,d=n,c=u}return[255*l,255*d,255*c]},i.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},i.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,i,a;return o=3.2406*t+-1.5372*n+-.4986*r,i=-.9689*t+1.8758*n+.0415*r,a=.0557*t+-.204*n+1.057*r,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),[255*o,255*i,255*a]},i.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},i.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const o=n**3,i=t**3,a=r**3;return n=o>.008856?o:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},i.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;return o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360),[t,Math.sqrt(n*n+r*r),o]},i.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},i.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=null===t?i.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),0===a)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===a&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},i.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},i.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),a=o-i;let s,u;return s=a<1?i/(1-a):0,u=a<=0?0:o===t?(n-r)/a%6:o===n?2+(r-t)/a:4+(t-n)/a,u/=6,u%=1,[360*u,100*a,100*s]},i.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},i.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const o=[0,0,0],i=t%1*6,a=i%1,s=1-a;let u=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return u=(1-n)*r,[255*(n*o[0]+u),255*(n*o[1]+u),255*(n*o[2]+u)]},i.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},i.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},i.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},i.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectExpressionExtractor=void 0,function(e){e.BasePropertiesExtractor="BasePropertiesExtractor",e.ObjectExpressionToVariableDeclarationExtractor="ObjectExpressionToVariableDeclarationExtractor"}(t.ObjectExpressionExtractor||(t.ObjectExpressionExtractor={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectExpressionKeysTransformerCustomNode=void 0,function(e){e.ObjectExpressionVariableDeclarationHostNode="ObjectExpressionVariableDeclarationHostNode"}(t.ObjectExpressionKeysTransformerCustomNode||(t.ObjectExpressionKeysTransformerCustomNode={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomCodeHelperGroup=void 0,function(e){e.ConsoleOutput="ConsoleOutput",e.DebugProtection="DebugProtection",e.DomainLock="DomainLock",e.SelfDefending="SelfDefending",e.StringArray="StringArray"}(t.CustomCodeHelperGroup||(t.CustomCodeHelperGroup={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AtobTemplate=void 0;const r=n(101);t.AtobTemplate=function(){return`\n var {atobFunctionName} = function (input) {\n const chars = '${r.base64alphabetSwapped}';\n\n const str = String(input).replace(/=+$/, '');\n let output = '';\n for (\n let bc = 0, bs, buffer, idx = 0;\n buffer = str.charAt(idx++);\n ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,\n bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0\n ) {\n buffer = chars.indexOf(buffer);\n }\n return output;\n };\n `}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64alphabetSwapped=void 0;const r=n(44),o=n(37),i=n(52);t.base64alphabetSwapped=`${o.alphabetString}${r.alphabetStringUppercase}${i.numbersString}+/=`},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtils=void 0;const o=r(n(261));t.StringUtils=class{static escapeJsString(e){return o.default(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeadCodeInjectionCustomNode=void 0,function(e){e.BlockStatementDeadCodeInjectionNode="BlockStatementDeadCodeInjectionNode"}(t.DeadCodeInjectionCustomNode||(t.DeadCodeInjectionCustomNode={}))},function(e,t,n){"use strict";var r,o=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MangledIdentifierNamesGenerator=void 0;const s=n(0),u=n(1),l=n(52),d=n(37),c=n(44),p=n(70),f=n(25);let g=r=class extends p.AbstractIdentifierNamesGenerator{constructor(e,t){super(e,t),this.previousMangledName=r.initMangledNameCharacter}static isIncrementedMangledName(e,t){if(e===t)return!1;const n=e.length,o=t.length;if(n!==o)return n>o;let i=!1;for(let o=0;oa,nt}static isUpperCaseCharacter(e){return/^[A-Z]*$/.test(e)}static isDigitCharacter(e){return/^[0-9]*$/.test(e)}generateNext(e){const t=this.generateNewMangledName(this.previousMangledName);return this.updatePreviousMangledName(t),this.preserveName(t),t}generateForGlobalScope(e){const t=this.options.identifiersPrefix?`${this.options.identifiersPrefix}`:"",n=this.generateNewMangledName(this.previousMangledName),r=`${t}${n}`;return this.updatePreviousMangledName(n),this.isValidIdentifierName(r)?(this.preserveName(r),r):this.generateForGlobalScope(e)}generateForLexicalScope(e,t){const n=[e,...f.NodeLexicalScopeUtils.getLexicalScopes(e)];let o=this.getLastMangledNameForScopes(n);do{o=this.generateNewMangledName(o)}while(!this.isValidIdentifierNameInLexicalScopes(o,n));return r.lastMangledNameInScopeMap.set(e,o),this.updatePreviousMangledName(o),this.preserveNameForLexicalScope(o,e),o}isValidIdentifierName(e){return super.isValidIdentifierName(e)&&!r.reservedNamesSet.has(e)}getNameSequence(){return r.nameSequence}updatePreviousMangledName(e){r.isIncrementedMangledName(e,this.previousMangledName)&&(this.previousMangledName=e)}generateNewMangledName(e){let t=(e=>{const t=this.getNameSequence(),n=t.length,r=e.length,o=e=>"0".repeat(e);let i=r-1;do{const a=e[i],s=t.indexOf(a);if(s!==n-1){return e.substring(0,i)+t[s+1]+o(r-(i+1))}--i}while(i>=0);return`${t[l.numbersString.length]}${o(r)}`})(e);return this.isValidIdentifierName(t)||(t=this.generateNewMangledName(t)),t}getLastMangledNameForScopes(e){var t;for(const n of e){const e=null!==(t=r.lastMangledNameInScopeMap.get(n))&&void 0!==t?t:null;if(e)return e}return r.initMangledNameCharacter}};g.initMangledNameCharacter="9",g.lastMangledNameInScopeMap=new WeakMap,g.nameSequence=[...`${l.numbersString}${d.alphabetString}${c.alphabetStringUppercase}`],g.reservedNamesSet=new Set(["byte","case","char","do","else","enum","eval","for","goto","if","in","int","let","long","new","null","this","true","try","var","void","with"]),g=r=o([s.injectable(),a(0,s.inject(u.ServiceIdentifiers.IRandomGenerator)),a(1,s.inject(u.ServiceIdentifiers.IOptions)),i("design:paramtypes",[Object,Object])],g),t.MangledIdentifierNamesGenerator=g},function(e,t,n){"use strict";var r,o=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionalCommentObfuscatingGuard=void 0;const i=n(0),a=n(45),s=n(4);let u=r=class{constructor(){this.obfuscationAllowed=!0}static isConditionalComment(e){return r.obfuscationEnableCommentRegExp.test(e.value)||r.obfuscationDisableCommentRegExp.test(e.value)}check(e){if(s.NodeGuards.isNodeWithComments(e)){const t=e.leadingComments;t&&(this.obfuscationAllowed=this.checkComments(t))}return this.obfuscationAllowed?a.ObfuscatingGuardResult.Transform:a.ObfuscatingGuardResult.Ignore}checkComments(e){const t=e.length;let n=this.obfuscationAllowed;for(let o=0;o=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Options=void 0;const s=n(0),u=n(1),l=n(125),d=n(50),c=n(30),p=n(46),f=n(51),g=n(19),h=n(36),m=n(56),b=n(118),y=n(119),S=n(368),_=n(369),C=n(370);let E=r=class{constructor(e,t){var n;const o=r.getOptionsByPreset(null!==(n=e.optionsPreset)&&void 0!==n?n:p.OptionsPreset.Default);Object.assign(this,o,e);const i=l.validateSync(this,r.validatorOptions);if(i.length)throw new ReferenceError(`Validation failed. errors:\n${_.ValidationErrorsFormatter.format(i)}`);Object.assign(this,t.normalize(this))}static getOptionsByPreset(e){var t;const n=null!==(t=r.optionPresetsMap.get(e))&&void 0!==t?t:null;if(!n)throw new Error(`Options for preset name \`${e}\` are not found`);return n}};E.optionPresetsMap=new Map([[p.OptionsPreset.Default,m.DEFAULT_PRESET],[p.OptionsPreset.LowObfuscation,b.LOW_OBFUSCATION_PRESET],[p.OptionsPreset.MediumObfuscation,y.MEDIUM_OBFUSCATION_PRESET],[p.OptionsPreset.HighObfuscation,S.HIGH_OBFUSCATION_PRESET]]),E.validatorOptions={validationError:{target:!1}},o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"compact",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"controlFlowFlattening",void 0),o([l.IsNumber(),l.Min(0),l.Max(1),i("design:type",Number)],E.prototype,"controlFlowFlatteningThreshold",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"deadCodeInjection",void 0),o([l.IsNumber(),i("design:type",Number)],E.prototype,"deadCodeInjectionThreshold",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"debugProtection",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"debugProtectionInterval",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"disableConsoleOutput",void 0),o([l.IsArray(),l.ArrayUnique(),l.IsString({each:!0}),C.IsAllowedForObfuscationTargets([c.ObfuscationTarget.Browser,c.ObfuscationTarget.BrowserNoEval]),i("design:type",Array)],E.prototype,"domainLock",void 0),o([l.IsArray(),l.ArrayUnique(),l.IsString({each:!0}),i("design:type",Array)],E.prototype,"forceTransformStrings",void 0),o([l.IsIn([d.IdentifierNamesGenerator.DictionaryIdentifierNamesGenerator,d.IdentifierNamesGenerator.HexadecimalIdentifierNamesGenerator,d.IdentifierNamesGenerator.MangledIdentifierNamesGenerator,d.IdentifierNamesGenerator.MangledShuffledIdentifierNamesGenerator]),i("design:type",Object)],E.prototype,"identifierNamesGenerator",void 0),o([l.IsString(),i("design:type",String)],E.prototype,"identifiersPrefix",void 0),o([l.IsArray(),l.ArrayUnique(),l.IsString({each:!0}),l.ValidateIf(e=>e.identifierNamesGenerator===d.IdentifierNamesGenerator.DictionaryIdentifierNamesGenerator),l.ArrayNotEmpty(),i("design:type",Array)],E.prototype,"identifiersDictionary",void 0),o([l.IsString(),i("design:type",String)],E.prototype,"inputFileName",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"log",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"numbersToExpressions",void 0),o([l.IsIn([p.OptionsPreset.Default,p.OptionsPreset.LowObfuscation,p.OptionsPreset.MediumObfuscation,p.OptionsPreset.HighObfuscation]),i("design:type",String)],E.prototype,"optionsPreset",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"renameGlobals",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"renameProperties",void 0),o([l.IsArray(),l.ArrayUnique(),l.IsString({each:!0}),i("design:type",Array)],E.prototype,"reservedNames",void 0),o([l.IsArray(),l.ArrayUnique(),l.IsString({each:!0}),i("design:type",Array)],E.prototype,"reservedStrings",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"rotateStringArray",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"selfDefending",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"shuffleStringArray",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"simplify",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"sourceMap",void 0),o([l.IsString(),l.ValidateIf(e=>Boolean(e.sourceMapBaseUrl)),l.IsUrl({require_protocol:!0,require_tld:!1,require_valid_protocol:!0}),i("design:type",String)],E.prototype,"sourceMapBaseUrl",void 0),o([l.IsString(),i("design:type",String)],E.prototype,"sourceMapFileName",void 0),o([l.IsIn([f.SourceMapMode.Inline,f.SourceMapMode.Separate]),i("design:type",Object)],E.prototype,"sourceMapMode",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"splitStrings",void 0),o([l.IsNumber(),l.ValidateIf(e=>Boolean(e.splitStrings)),l.Min(1),i("design:type",Number)],E.prototype,"splitStringsChunkLength",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"stringArray",void 0),o([l.IsArray(),l.ArrayUnique(),l.IsIn([g.StringArrayEncoding.None,g.StringArrayEncoding.Base64,g.StringArrayEncoding.Rc4],{each:!0}),i("design:type",Array)],E.prototype,"stringArrayEncoding",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"stringArrayWrappersChainedCalls",void 0),o([l.IsNumber(),l.Min(0),i("design:type",Number)],E.prototype,"stringArrayWrappersCount",void 0),o([l.IsIn([h.StringArrayWrappersType.Variable,h.StringArrayWrappersType.Function]),i("design:type",String)],E.prototype,"stringArrayWrappersType",void 0),o([l.IsNumber(),l.Min(0),l.Max(1),i("design:type",Number)],E.prototype,"stringArrayThreshold",void 0),o([l.IsIn([c.ObfuscationTarget.Browser,c.ObfuscationTarget.BrowserNoEval,c.ObfuscationTarget.Node]),i("design:type",Object)],E.prototype,"target",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"transformObjectKeys",void 0),o([l.IsBoolean(),i("design:type",Boolean)],E.prototype,"unicodeEscapeSequence",void 0),E=r=o([s.injectable(),a(0,s.inject(u.ServiceIdentifiers.TInputOptions)),a(1,s.inject(u.ServiceIdentifiers.IOptionsNormalizer)),i("design:paramtypes",[Object,Object])],E),t.Options=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e)?parseFloat(e):NaN};var r,o=(r=n(108))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var n=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var r=parseFloat(e.replace(",","."));return n.test(e)&&(!t.hasOwnProperty("min")||r>=t.min)&&(!t.hasOwnProperty("max")||r<=t.max)&&(!t.hasOwnProperty("lt")||rt.gt)},t.locales=void 0;var r,o=(r=n(3))&&r.__esModule?r:{default:r},i=n(54);var a=Object.keys(i.decimal);t.locales=a},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"object"===r(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e="");return String(e)},e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,o.default)(e),"object"===i(t)?(n=t.min||0,r=t.max):(n=arguments[1],r=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=n&&(void 0===r||a<=r)};var r,o=(r=n(3))&&r.__esModule?r:{default:r};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:a,r=!t.hasOwnProperty("min")||e>=t.min,s=!t.hasOwnProperty("max")||e<=t.max,u=!t.hasOwnProperty("lt")||et.gt;return n.test(e)&&r&&s&&u&&l};var r,o=(r=n(3))&&r.__esModule?r:{default:r};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.fullWidth=void 0;var r,o=(r=n(3))&&r.__esModule?r:{default:r};var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.halfWidth=void 0;var r,o=(r=n(3))&&r.__esModule?r:{default:r};var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(3))&&r.__esModule?r:{default:r};var i=/^(0x|0h)?[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(n,"")};var r,o=(r=n(3))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=t?new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g"):/\s+$/g;return e.replace(n,"")};var r,o=(r=n(3))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var r,o=(r=n(3))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOW_OBFUSCATION_PRESET=void 0;const r=n(46),o=n(56);t.LOW_OBFUSCATION_PRESET=Object.freeze(Object.assign(Object.assign({},o.DEFAULT_PRESET),{disableConsoleOutput:!0,optionsPreset:r.OptionsPreset.LowObfuscation,rotateStringArray:!0,selfDefending:!0,shuffleStringArray:!0,simplify:!0}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MEDIUM_OBFUSCATION_PRESET=void 0;const r=n(46),o=n(19),i=n(118);t.MEDIUM_OBFUSCATION_PRESET=Object.freeze(Object.assign(Object.assign({},i.LOW_OBFUSCATION_PRESET),{controlFlowFlattening:!0,deadCodeInjection:!0,numbersToExpressions:!0,optionsPreset:r.OptionsPreset.MediumObfuscation,splitStrings:!0,splitStringsChunkLength:10,stringArrayEncoding:[o.StringArrayEncoding.Base64],stringArrayWrappersCount:2,transformObjectKeys:!0}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObfuscatingGuard=void 0,function(e){e.BlackListObfuscatingGuard="BlackListObfuscatingGuard",e.ConditionalCommentObfuscatingGuard="ConditionalCommentObfuscatingGuard",e.ForceTransformStringObfuscatingGuard="ForceTransformStringObfuscatingGuard",e.ReservedStringObfuscatingGuard="ReservedStringObfuscatingGuard"}(t.ObfuscatingGuard||(t.ObfuscatingGuard={}))},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractStatementSimplifyTransformer=void 0;const a=n(0),s=n(1),u=n(12),l=n(8),d=n(4),c=n(6);let p=class extends l.AbstractNodeTransformer{constructor(e,t){super(e,t),this.runAfter=[u.NodeTransformer.ExpressionStatementsMergeTransformer,u.NodeTransformer.VariableDeclarationsMergeTransformer]}getStatementSimplifyData(e){if(!e)return null;if(!d.NodeGuards.isBlockStatementNode(e))return{leadingStatements:[e],trailingStatement:null,hasReturnStatement:!1,hasSingleExpression:!1};const{startIndex:t,unwrappedExpressions:n,hasReturnStatement:r}=this.collectIteratedStatementsSimplifyData(e),o=this.getLeadingStatements(e,t);if(!n.length)return{leadingStatements:o,trailingStatement:null,hasReturnStatement:r,hasSingleExpression:!1};const i=1===n.length,a=i?n[0]:c.NodeFactory.sequenceExpressionNode(n);return{leadingStatements:o,trailingStatement:{statement:r?c.NodeFactory.returnStatementNode(a):c.NodeFactory.expressionStatementNode(a),expression:a},hasReturnStatement:r,hasSingleExpression:i}}collectIteratedStatementsSimplifyData(e){const t=[];let n=!1,r=null;for(let o=e.body.length-1;o>=0;o--){const i=e.body[o];if(d.NodeGuards.isExpressionStatementNode(i))d.NodeGuards.isSequenceExpressionNode(i.expression)?t.unshift(...i.expression.expressions):t.unshift(i.expression),r=o;else{if(!d.NodeGuards.isReturnStatementNode(i)||!i.argument)break;t.unshift(i.argument),n=!0,r=o}}return{startIndex:r,unwrappedExpressions:t,hasReturnStatement:n}}getLeadingStatements(e,t){return null===t?e.body:0===t?[]:e.body.slice(0,t)}getPartialStatement(e){return!e.leadingStatements.length&&e.trailingStatement?e.trailingStatement.statement:c.NodeFactory.blockStatementNode([...e.leadingStatements.length?e.leadingStatements:[],...e.trailingStatement?[e.trailingStatement.statement]:[]])}};p=r([a.injectable(),i(0,a.inject(s.ServiceIdentifiers.IRandomGenerator)),i(1,a.inject(s.ServiceIdentifiers.IOptions)),o("design:paramtypes",[Object,Object])],p),t.AbstractStatementSimplifyTransformer=p},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CryptUtils=void 0;const a=n(0),s=n(1),u=n(424),l=n(123),d=n(33);let c=class{constructor(e){this.base64Alphabet=u.base64alphabet,this.randomGenerator=e}btoa(e){const t=this.base64Alphabet;let n="";e=encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(e,t)=>String.fromCharCode(parseInt(`${d.Utils.hexadecimalPrefix}${t}`,16)));for(let r,o,i=0,a=t;e.charAt(0|i)||(a="=",i%1);n+=a.charAt(63&r>>8-i%1*8)){if(o=e.charCodeAt(i+=3/4),o>255)throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");r=r<<8|o}return n}hideString(e,t){let n=this.randomGenerator.getRandomGenerator().string({length:t,pool:l.RandomGenerator.randomGeneratorPool}).replace(new RegExp(`[${r=e,r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}]`,"g"),"");var r;const o=n.split("");return this.randomGenerator.getRandomGenerator().shuffle(o),n=o.join(""),[((e,t)=>{let n=-1,r=-1,o="";for(;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RandomGenerator=void 0;const u=n(0),l=n(1),d=s(n(425)),c=n(428),p=n(9),f=n(37),g=n(44);let h=r=class{constructor(e,t){this.sourceCode=e,this.options=t}initialize(){this.randomGenerator=new c.Chance(this.getRawSeed())}getMathRandom(){return this.getRandomInteger(0,99999)/1e5}getRandomGenerator(){return this.randomGenerator}getRandomInteger(e,t){return this.getRandomGenerator().integer({min:e,max:t})}getRandomString(e,t=r.randomGeneratorPool){return this.getRandomGenerator().string({length:e,pool:t})}getInputSeed(){return this.options.seed.toString()}getRawSeed(){const e=this.getInputSeed();return`${e}`.split("|").length>1?e:`${e}|${d.default(this.sourceCode.getSourceCode())}`}};h.randomGeneratorPool=`${f.alphabetString}${g.alphabetStringUppercase}`,o([p.initializable(),i("design:type",Object)],h.prototype,"randomGenerator",void 0),o([u.postConstruct(),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],h.prototype,"initialize",null),h=r=o([u.injectable(),a(0,u.inject(l.ServiceIdentifiers.ISourceCode)),a(1,u.inject(l.ServiceIdentifiers.IOptions)),i("design:paramtypes",[Object,Object])],h),t.RandomGenerator=h},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&(this.validatorOptions&&this.validatorOptions.forbidNonWhitelisted?o.forEach((function(t){var o,i=r.generateValidationError(e,e[t],t);i.constraints=((o={})[u.WHITELIST]="property "+t+" should not exist",o),i.children=void 0,n.push(i)})):o.forEach((function(t){return delete e[t]})))},e.prototype.stripEmptyErrors=function(e){var t=this;return e.filter((function(e){if(e.children&&(e.children=t.stripEmptyErrors(e.children)),0===Object.keys(e.constraints).length){if(0===e.children.length)return!1;delete e.constraints}return!0}))},e.prototype.performValidations=function(e,t,n,r,o,i){var a=o.filter((function(e){return e.type===u.CUSTOM_VALIDATION})),s=o.filter((function(e){return e.type===u.NESTED_VALIDATION})),l=o.filter((function(e){return e.type===u.CONDITIONAL_VALIDATION})),d=this.generateValidationError(e,t,n);i.push(d),this.conditionalValidations(e,t,l)&&(this.customValidations(e,t,r,d),this.mapContexts(e,t,r,d),void 0===t&&this.validatorOptions&&!0===this.validatorOptions.skipUndefinedProperties||null===t&&this.validatorOptions&&!0===this.validatorOptions.skipNullProperties||null==t&&this.validatorOptions&&!0===this.validatorOptions.skipMissingProperties||(this.customValidations(e,t,a,d),this.nestedValidations(t,s,d.children),this.mapContexts(e,t,o,d),this.mapContexts(e,t,a,d)))},e.prototype.generateValidationError=function(e,t,n){var r=new s;return this.validatorOptions&&this.validatorOptions.validationError&&void 0!==this.validatorOptions.validationError.target&&!0!==this.validatorOptions.validationError.target||(r.target=e),this.validatorOptions&&this.validatorOptions.validationError&&void 0!==this.validatorOptions.validationError.value&&!0!==this.validatorOptions.validationError.value||(r.value=t),r.property=n,r.children=[],r.constraints={},r},e.prototype.conditionalValidations=function(e,t,n){return n.map((function(n){return n.constraints[0](e,t)})).reduce((function(e,t){return e&&t}),!0)},e.prototype.customValidations=function(e,t,n,r){var o=this;n.forEach((function(n){o.metadataStorage.getTargetValidatorConstraints(n.constraintCls).forEach((function(i){if(!i.async||!o.ignoreAsyncValidations){var a={targetName:e.constructor?e.constructor.name:void 0,property:n.propertyName,object:e,value:t,constraints:n.constraints};if(n.each&&(t instanceof Array||t instanceof Set||t instanceof Map)){var s,u=((s=t)instanceof Map?Array.from(s.values()):Array.isArray(s)?s:Array.from(s)).map((function(e){return i.instance.validate(e,a)}));if(u.some((function(e){return d(e)}))){var l=u.map((function(e){return d(e)?e:Promise.resolve(e)})),c=Promise.all(l).then((function(a){if(!a.every((function(e){return e}))){var s=o.createValidationError(e,t,n,i),u=s[0],l=s[1];r.constraints[u]=l,n.context&&(r.contexts||(r.contexts={}),r.contexts[u]=Object.assign(r.contexts[u]||{},n.context))}}));o.awaitingPromises.push(c)}else{if(!u.every((function(e){return e}))){var p=o.createValidationError(e,t,n,i);m=p[0],b=p[1];r.constraints[m]=b}}}else{var f=i.instance.validate(t,a);if(d(f)){var g=f.then((function(a){if(!a){var s=o.createValidationError(e,t,n,i),u=s[0],l=s[1];r.constraints[u]=l,n.context&&(r.contexts||(r.contexts={}),r.contexts[u]=Object.assign(r.contexts[u]||{},n.context))}}));o.awaitingPromises.push(g)}else if(!f){var h=o.createValidationError(e,t,n,i),m=h[0],b=h[1];r.constraints[m]=b}}}}))}))},e.prototype.nestedValidations=function(e,t,n){var r=this;void 0!==e&&t.forEach((function(o){var i;if(o.type===u.NESTED_VALIDATION||o.type===u.PROMISE_VALIDATION)if(e instanceof Array||e instanceof Set||e instanceof Map)(e instanceof Set?Array.from(e):e).forEach((function(o,i){r.performValidations(e,o,i.toString(),[],t,n)}));else if(e instanceof Object){var a="string"==typeof o.target?o.target:o.target.name;r.execute(e,a,n)}else{var l=new s;l.value=e,l.property=o.propertyName,l.target=o.target;var d=r.createValidationError(o.target,e,o),c=d[0],p=d[1];l.constraints=((i={})[c]=p,i),n.push(l)}}))},e.prototype.mapContexts=function(e,t,n,r){var o=this;return n.forEach((function(e){if(e.context){var t=void 0;if(e.type===u.CUSTOM_VALIDATION)t=o.metadataStorage.getTargetValidatorConstraints(e.constraintCls)[0];var n=o.getConstraintType(e,t);r.constraints[n]&&(r.contexts||(r.contexts={}),r.contexts[n]=Object.assign(r.contexts[n]||{},e.context))}}))},e.prototype.createValidationError=function(e,t,n,r){var o=e.constructor?e.constructor.name:void 0,i=this.getConstraintType(n,r),a={targetName:o,property:n.propertyName,object:e,value:t,constraints:n.constraints},s=n.message||"";return n.message||this.validatorOptions&&(!this.validatorOptions||this.validatorOptions.dismissDefaultMessages)||r&&r.instance.defaultMessage instanceof Function&&(s=r.instance.defaultMessage(a)),[i,l.replaceMessageSpecialTokens(s,a)]},e.prototype.getConstraintType=function(e,t){return t&&t.name?t.name:e.type},e}(),g=function(){function e(){}return e.prototype.coreValidate=function(e,t,n){var r="string"==typeof e?t:e,o="string"==typeof e?e:void 0,i=new f(this,"string"==typeof e?n:t),a=[];return i.execute(r,o,a),Promise.all(i.awaitingPromises).then((function(){return i.stripEmptyErrors(a)}))},e.prototype.validate=function(e,t,n){return this.coreValidate(e,t,n)},e.prototype.validateOrReject=function(e,t,n){return i(this,void 0,void 0,(function(){var r;return a(this,(function(o){switch(o.label){case 0:return[4,this.coreValidate(e,t,n)];case 1:return(r=o.sent()).length?[2,Promise.reject(r)]:[2]}}))}))},e.prototype.validateSync=function(e,t,n){var r="string"==typeof e?t:e,o="string"==typeof e?e:void 0,i=new f(this,"string"==typeof e?n:t);i.ignoreAsyncValidations=!0;var a=[];return i.execute(r,o,a),i.stripEmptyErrors(a)},e}(),h=new(function(){function e(){this.instances=[]}return e.prototype.get=function(e){var t=this.instances.find((function(t){return t.type===e}));return t||(t={type:e,object:new e},this.instances.push(t)),t.object},e}());function m(e,t){c=e,p=t}function b(e){if(c)try{var t=c.get(e);if(t)return t;if(!p||!p.fallback)return t}catch(e){if(!p||!p.fallbackOnErrors)throw e}return h.get(e)}var y=n(14);function S(e){return function(t,n){var o={type:u.WHITELIST,target:t.constructor,propertyName:n,validationOptions:e};Object(r.b)().addValidationMetadata(new y.a(o))}}var _=function(){function e(e,t,n){void 0===n&&(n=!1),this.target=e,this.name=t,this.async=n}return Object.defineProperty(e.prototype,"instance",{get:function(){return b(this.target)},enumerable:!0,configurable:!0}),e}();function C(e){var t;if(e.validator instanceof Function){if(t=e.validator,b(r.a).getTargetValidatorConstraints(e.validator).length>1)throw"More than one implementation of ValidatorConstraintInterface found for validator on: "+e.target+":"+e.propertyName}else{var n=e.validator;t=function(){function e(){}return e.prototype.validate=function(e,t){return n.validate(e,t)},e.prototype.defaultMessage=function(e){return n.defaultMessage?n.defaultMessage(e):""},e}(),Object(r.b)().addConstraintMetadata(new _(t,e.name,e.async))}var o={type:e.name&&u.isValid(e.name)?e.name:u.CUSTOM_VALIDATION,target:e.target,propertyName:e.propertyName,validationOptions:e.options,constraintCls:t,constraints:e.constraints};Object(r.b)().addValidationMetadata(new y.a(o))}function E(e,t){return function(n){var r=t&&t.each?"each value in ":"";return e(r,n)}}function N(e,t){return function(n,r){C({name:e.name,target:n.constructor,propertyName:r,options:t,constraints:e.constraints,validator:e.validator})}}var A=u.IS_DEFINED;function v(e){return null!=e}function T(e){return N({name:A,validator:{validate:function(e){return v(e)},defaultMessage:E((function(e){return e+"$property should not be null or undefined"}),e)}},e)}function I(e){return function(t,n){var o={type:u.CONDITIONAL_VALIDATION,target:t.constructor,propertyName:n,constraints:[function(e,t){return null!==e[n]&&void 0!==e[n]}],validationOptions:e};Object(r.b)().addValidationMetadata(new y.a(o))}}function D(e){return function(t){var n=!(!e||!e.async),o=e&&e.name?e.name:"";o||(o=t.name)||(o=o.replace(/\.?([A-Z]+)/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,""));var i=new _(t,o,n);Object(r.b)().addConstraintMetadata(i)}}function O(e,t,n){return function(o,i){var a={type:u.CUSTOM_VALIDATION,target:o.constructor,propertyName:i,constraintCls:e,constraints:t instanceof Array?t:void 0,validationOptions:t instanceof Array?n:t};Object(r.b)().addValidationMetadata(new y.a(a))}}function R(e,t){return function(n,o){var i={type:u.CONDITIONAL_VALIDATION,target:n.constructor,propertyName:o,constraints:[e],validationOptions:t};Object(r.b)().addValidationMetadata(new y.a(i))}}function M(e){var t=o({},e),n=t.each?"each value in ":"";return t.message=t.message||n+"nested property $property must be either object or array",function(e,n){var o={type:u.NESTED_VALIDATION,target:e.constructor,propertyName:n,validationOptions:t};Object(r.b)().addValidationMetadata(new y.a(o))}}function P(e){return function(t,n){var o={type:u.PROMISE_VALIDATION,target:t.constructor,propertyName:n,validationOptions:e};Object(r.b)().addValidationMetadata(new y.a(o))}}var F=n(2),x=n.n(F),L="isLatLong";function $(e){return"string"==typeof e&&x.a.isLatLong(e)}function w(e){return N({name:L,validator:{validate:function(e,t){return $(e)},defaultMessage:E((function(e){return e+"$property must be a latitude,longitude string"}),e)}},e)}var B="isLatitude";function G(e){return("number"==typeof e||"string"==typeof e)&&$(e+",0")}function U(e){return N({name:B,validator:{validate:function(e,t){return G(e)},defaultMessage:E((function(e){return e+"$property must be a latitude string or number"}),e)}},e)}var j="isLongitude";function k(e){return("number"==typeof e||"string"==typeof e)&&$("0,"+e)}function V(e){return N({name:j,validator:{validate:function(e,t){return k(e)},defaultMessage:E((function(e){return e+"$property must be a longitude string or number"}),e)}},e)}var H="equals";function K(e,t){return e===t}function W(e,t){return N({name:H,constraints:[e],validator:{validate:function(e,t){return K(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be equal to $constraint1"}),t)}},t)}var z="notEquals";function Y(e,t){return e!==t}function X(e,t){return N({name:z,constraints:[e],validator:{validate:function(e,t){return Y(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property should not be equal to $constraint1"}),t)}},t)}var q="isEmpty";function Z(e){return""===e||null==e}function J(e){return N({name:q,validator:{validate:function(e,t){return Z(e)},defaultMessage:E((function(e){return e+"$property must be empty"}),e)}},e)}var Q="isNotEmpty";function ee(e){return""!==e&&null!=e}function te(e){return N({name:Q,validator:{validate:function(e,t){return ee(e)},defaultMessage:E((function(e){return e+"$property should not be empty"}),e)}},e)}var ne="isIn";function re(e,t){return!(t instanceof Array)||t.some((function(t){return t===e}))}function oe(e,t){return N({name:ne,constraints:[e],validator:{validate:function(e,t){return re(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be one of the following values: $constraint1"}),t)}},t)}var ie="isNotIn";function ae(e,t){return!(t instanceof Array&&t.some((function(t){return t===e})))}function se(e,t){return N({name:ie,constraints:[e],validator:{validate:function(e,t){return ae(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property should not be one of the following values: $constraint1"}),t)}},t)}var ue="isDivisibleBy";function le(e,t){return"number"==typeof e&&"number"==typeof t&&x.a.isDivisibleBy(String(e),t)}function de(e,t){return N({name:ue,constraints:[e],validator:{validate:function(e,t){return le(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be divisible by $constraint1"}),t)}},t)}var ce="isPositive";function pe(e){return"number"==typeof e&&e>0}function fe(e){return N({name:ce,validator:{validate:function(e,t){return pe(e)},defaultMessage:E((function(e){return e+"$property must be a positive number"}),e)}},e)}var ge="isNegative";function he(e){return"number"==typeof e&&e<0}function me(e){return N({name:ge,validator:{validate:function(e,t){return he(e)},defaultMessage:E((function(e){return e+"$property must be a negative number"}),e)}},e)}var be="max";function ye(e,t){return"number"==typeof e&&"number"==typeof t&&e<=t}function Se(e,t){return N({name:be,constraints:[e],validator:{validate:function(e,t){return ye(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must not be greater than $constraint1"}),t)}},t)}var _e="min";function Ce(e,t){return"number"==typeof e&&"number"==typeof t&&e>=t}function Ee(e,t){return N({name:_e,constraints:[e],validator:{validate:function(e,t){return Ce(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must not be less than $constraint1"}),t)}},t)}var Ne="minDate";function Ae(e,t){return e instanceof Date&&e.getTime()>=t.getTime()}function ve(e,t){return N({name:Ne,constraints:[e],validator:{validate:function(e,t){return Ae(e,t.constraints[0])},defaultMessage:E((function(e){return"minimal allowed date for "+e+"$property is $constraint1"}),t)}},t)}var Te="maxDate";function Ie(e,t){return e instanceof Date&&e.getTime()<=t.getTime()}function De(e,t){return N({name:Te,constraints:[e],validator:{validate:function(e,t){return Ie(e,t.constraints[0])},defaultMessage:E((function(e){return"maximal allowed date for "+e+"$property is $constraint1"}),t)}},t)}var Oe="contains";function Re(e,t){return"string"==typeof e&&x.a.contains(e,t)}function Me(e,t){return N({name:Oe,constraints:[e],validator:{validate:function(e,t){return Re(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must contain a $constraint1 string"}),t)}},t)}var Pe="notContains";function Fe(e,t){return"string"==typeof e&&!x.a.contains(e,t)}function xe(e,t){return N({name:Pe,constraints:[e],validator:{validate:function(e,t){return Fe(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property should not contain a $constraint1 string"}),t)}},t)}var Le="isAlpha";function $e(e,t){return"string"==typeof e&&x.a.isAlpha(e,t)}function we(e,t){return N({name:Le,constraints:[e],validator:{validate:function(e,t){return $e(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must contain only letters (a-zA-Z)"}),t)}},t)}var Be="isAlphanumeric";function Ge(e,t){return"string"==typeof e&&x.a.isAlphanumeric(e,t)}function Ue(e,t){return N({name:Be,constraints:[e],validator:{validate:function(e,t){return Ge(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must contain only letters and numbers"}),t)}},t)}var je="isDecimal";function ke(e,t){return"string"==typeof e&&x.a.isDecimal(e,t)}function Ve(e,t){return N({name:je,constraints:[e],validator:{validate:function(e,t){return ke(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property is not a valid decimal number."}),t)}},t)}var He="isAscii";function Ke(e){return"string"==typeof e&&x.a.isAscii(e)}function We(e){return N({name:He,validator:{validate:function(e,t){return Ke(e)},defaultMessage:E((function(e){return e+"$property must contain only ASCII characters"}),e)}},e)}var ze="isBase64";function Ye(e){return"string"==typeof e&&x.a.isBase64(e)}function Xe(e){return N({name:ze,validator:{validate:function(e,t){return Ye(e)},defaultMessage:E((function(e){return e+"$property must be base64 encoded"}),e)}},e)}var qe="isByteLength";function Ze(e,t,n){return"string"==typeof e&&x.a.isByteLength(e,{min:t,max:n})}function Je(e,t,n){return N({name:qe,constraints:[e,t],validator:{validate:function(e,t){return Ze(e,t.constraints[0],t.constraints[1])},defaultMessage:E((function(e){return e+"$property's byte length must fall into ($constraint1, $constraint2) range"}),n)}},n)}var Qe="isCreditCard";function et(e){return"string"==typeof e&&x.a.isCreditCard(e)}function tt(e){return N({name:Qe,validator:{validate:function(e,t){return et(e)},defaultMessage:E((function(e){return e+"$property must be a credit card"}),e)}},e)}var nt="isCurrency";function rt(e,t){return"string"==typeof e&&x.a.isCurrency(e,t)}function ot(e,t){return N({name:nt,constraints:[e],validator:{validate:function(e,t){return rt(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a currency"}),t)}},t)}var it="isEmail";function at(e,t){return"string"==typeof e&&x.a.isEmail(e,t)}function st(e,t){return N({name:it,constraints:[e],validator:{validate:function(e,t){return at(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be an email"}),t)}},t)}var ut="isFqdn";function lt(e,t){return"string"==typeof e&&x.a.isFQDN(e,t)}function dt(e,t){return N({name:ut,constraints:[e],validator:{validate:function(e,t){return lt(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a valid domain name"}),t)}},t)}var ct="isFullWidth";function pt(e){return"string"==typeof e&&x.a.isFullWidth(e)}function ft(e){return N({name:ct,validator:{validate:function(e,t){return pt(e)},defaultMessage:E((function(e){return e+"$property must contain a full-width characters"}),e)}},e)}var gt="isHalfWidth";function ht(e){return"string"==typeof e&&x.a.isHalfWidth(e)}function mt(e){return N({name:gt,validator:{validate:function(e,t){return ht(e)},defaultMessage:E((function(e){return e+"$property must contain a half-width characters"}),e)}},e)}var bt="isVariableWidth";function yt(e){return"string"==typeof e&&x.a.isVariableWidth(e)}function St(e){return N({name:bt,validator:{validate:function(e,t){return yt(e)},defaultMessage:E((function(e){return e+"$property must contain a full-width and half-width characters"}),e)}},e)}var _t="isHexColor";function Ct(e){return"string"==typeof e&&x.a.isHexColor(e)}function Et(e){return N({name:_t,validator:{validate:function(e,t){return Ct(e)},defaultMessage:E((function(e){return e+"$property must be a hexadecimal color"}),e)}},e)}var Nt="isHexadecimal";function At(e){return"string"==typeof e&&x.a.isHexadecimal(e)}function vt(e){return N({name:Nt,validator:{validate:function(e,t){return At(e)},defaultMessage:E((function(e){return e+"$property must be a hexadecimal number"}),e)}},e)}function Tt(e){return!!e&&("each"in e||"message"in e||"groups"in e||"always"in e||"context"in e)}var It="isMacAddress";function Dt(e,t){return"string"==typeof e&&x.a.isMACAddress(e,t)}function Ot(e,t){var n=Tt(e)?void 0:e,r=Tt(e)?e:t;return N({name:It,constraints:[n],validator:{validate:function(e,t){return Dt(e,n)},defaultMessage:E((function(e){return e+"$property must be a MAC Address"}),r)}},r)}var Rt="isIp";function Mt(e,t){var n=t?""+t:void 0;return"string"==typeof e&&x.a.isIP(e,n)}function Pt(e,t){return N({name:Rt,constraints:[e],validator:{validate:function(e,t){return Mt(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be an ip address"}),t)}},t)}var Ft="isPort";function xt(e){return"string"==typeof e&&x.a.isPort(e)}function Lt(e){return N({name:Ft,validator:{validate:function(e,t){return xt(e)},defaultMessage:E((function(e){return e+"$property must be a port"}),e)}},e)}var $t="isIsbn";function wt(e,t){var n=t?""+t:void 0;return"string"==typeof e&&x.a.isISBN(e,n)}function Bt(e,t){return N({name:$t,constraints:[e],validator:{validate:function(e,t){return wt(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be an ISBN"}),t)}},t)}var Gt="isIsin";function Ut(e){return"string"==typeof e&&x.a.isISIN(e)}function jt(e){return N({name:Gt,validator:{validate:function(e,t){return Ut(e)},defaultMessage:E((function(e){return e+"$property must be an ISIN (stock/security identifier)"}),e)}},e)}var kt="isIso8601";function Vt(e,t){return"string"==typeof e&&x.a.isISO8601(e,t)}function Ht(e,t){return N({name:kt,constraints:[e],validator:{validate:function(e,t){return Vt(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a valid ISO 8601 date string"}),t)}},t)}var Kt="isJson";function Wt(e){return"string"==typeof e&&x.a.isJSON(e)}function zt(e){return N({name:Kt,validator:{validate:function(e,t){return Wt(e)},defaultMessage:E((function(e){return e+"$property must be a json string"}),e)}},e)}var Yt="isJwt";function Xt(e){return"string"==typeof e&&x.a.isJWT(e)}function qt(e){return N({name:Yt,validator:{validate:function(e,t){return Xt(e)},defaultMessage:E((function(e){return e+"$property must be a jwt string"}),e)}},e)}var Zt="isLowercase";function Jt(e){return"string"==typeof e&&x.a.isLowercase(e)}function Qt(e){return N({name:Zt,validator:{validate:function(e,t){return Jt(e)},defaultMessage:E((function(e){return e+"$property must be a lowercase string"}),e)}},e)}var en="isMobilePhone";function tn(e,t,n){return"string"==typeof e&&x.a.isMobilePhone(e,t,n)}function nn(e,t,n){return N({name:en,constraints:[e,t],validator:{validate:function(e,t){return tn(e,t.constraints[0],t.constraints[1])},defaultMessage:E((function(e){return e+"$property must be a phone number"}),n)}},n)}var rn="isISO31661Alpha2";function on(e){return"string"==typeof e&&x.a.isISO31661Alpha2(e)}function an(e){return N({name:rn,validator:{validate:function(e,t){return on(e)},defaultMessage:E((function(e){return e+"$property must be a valid ISO31661 Alpha2 code"}),e)}},e)}var sn="isISO31661Alpha3";function un(e){return"string"==typeof e&&x.a.isISO31661Alpha3(e)}function ln(e){return N({name:sn,validator:{validate:function(e,t){return un(e)},defaultMessage:E((function(e){return e+"$property must be a valid ISO31661 Alpha3 code"}),e)}},e)}var dn="isMongoId";function cn(e){return"string"==typeof e&&x.a.isMongoId(e)}function pn(e){return N({name:dn,validator:{validate:function(e,t){return cn(e)},defaultMessage:E((function(e){return e+"$property must be a mongodb id"}),e)}},e)}var fn="isMultibyte";function gn(e){return"string"==typeof e&&x.a.isMultibyte(e)}function hn(e){return N({name:fn,validator:{validate:function(e,t){return gn(e)},defaultMessage:E((function(e){return e+"$property must contain one or more multibyte chars"}),e)}},e)}var mn="isSurrogatePair";function bn(e){return"string"==typeof e&&x.a.isSurrogatePair(e)}function yn(e){return N({name:mn,validator:{validate:function(e,t){return bn(e)},defaultMessage:E((function(e){return e+"$property must contain any surrogate pairs chars"}),e)}},e)}var Sn="isUrl";function _n(e,t){return"string"==typeof e&&x.a.isURL(e,t)}function Cn(e,t){return N({name:Sn,constraints:[e],validator:{validate:function(e,t){return _n(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be an URL address"}),t)}},t)}var En="isUuid";function Nn(e,t){return"string"==typeof e&&x.a.isUUID(e,t)}function An(e,t){return N({name:En,constraints:[e],validator:{validate:function(e,t){return Nn(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be an UUID"}),t)}},t)}var vn="IsFirebasePushId";function Tn(e){return"string"==typeof e&&20===e.length&&/^[a-zA-Z0-9_-]*$/.test(e)}function In(e){return N({name:vn,validator:{validate:function(e,t){return Tn(e)},defaultMessage:E((function(e){return e+"$property must be a Firebase Push Id"}),e)}},e)}var Dn="isUppercase";function On(e){return"string"==typeof e&&x.a.isUppercase(e)}function Rn(e){return N({name:Dn,validator:{validate:function(e,t){return On(e)},defaultMessage:E((function(e){return e+"$property must be uppercase"}),e)}},e)}var Mn="length";function Pn(e,t,n){return"string"==typeof e&&x.a.isLength(e,{min:t,max:n})}function Fn(e,t,n){return N({name:Mn,constraints:[e,t],validator:{validate:function(e,t){return Pn(e,t.constraints[0],t.constraints[1])},defaultMessage:E((function(e,t){var n=null!==t.constraints[0]&&void 0!==t.constraints[0],r=null!==t.constraints[1]&&void 0!==t.constraints[1];return n&&(!t.value||t.value.lengtht.constraints[1]?e+"$property must be shorter than or equal to $constraint2 characters":e+"$property must be longer than or equal to $constraint1 and shorter than or equal to $constraint2 characters"}),n)}},n)}var xn="maxLength";function Ln(e,t){return"string"==typeof e&&x.a.isLength(e,{min:0,max:t})}function $n(e,t){return N({name:xn,constraints:[e],validator:{validate:function(e,t){return Ln(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be shorter than or equal to $constraint1 characters"}),t)}},t)}var wn="minLength";function Bn(e,t){return"string"==typeof e&&x.a.isLength(e,{min:t})}function Gn(e,t){return N({name:wn,constraints:[e],validator:{validate:function(e,t){return Bn(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be longer than or equal to $constraint1 characters"}),t)}},t)}var Un="matches";function jn(e,t,n){return"string"==typeof e&&x.a.matches(e,t,n)}function kn(e,t,n){var r;return t&&t instanceof Object&&!n?n=t:r=t,N({name:Un,constraints:[e,r],validator:{validate:function(e,t){return jn(e,t.constraints[0],t.constraints[0])},defaultMessage:E((function(e,t){return e+"$property must match $constraint1 regular expression"}),n)}},n)}var Vn=n(127),Hn="isPhoneNumber";function Kn(e,t){var n=Vn.PhoneNumberUtil.getInstance();try{var r=n.parseAndKeepRawInput(e,t);return n.isValidNumber(r)}catch(e){return!1}}function Wn(e,t){return N({name:Hn,constraints:[e],validator:{validate:function(e,t){return Kn(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a valid phone number"}),t)}},t)}var zn="isMilitaryTime";function Yn(e){return"string"==typeof e&&x.a.matches(e,/^([01]\d|2[0-3]):?([0-5]\d)$/)}function Xn(e){return N({name:zn,validator:{validate:function(e,t){return Yn(e)},defaultMessage:E((function(e){return e+"$property must be a valid representation of military time in the format HH:MM"}),e)}},e)}var qn="isHash";function Zn(e,t){return"string"==typeof e&&x.a.isHash(e,t)}function Jn(e,t){return N({name:qn,constraints:[e],validator:{validate:function(e,t){return Zn(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a hash of type $constraint1"}),t)}},t)}var Qn="isISSN";function er(e,t){return"string"==typeof e&&x.a.isISSN(e,t)}function tr(e,t){return N({name:Qn,constraints:[e],validator:{validate:function(e,t){return er(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a ISSN"}),t)}},t)}var nr="isDateString";function rr(e){return"string"==typeof e&&/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[\+\-][0-2]\d(?:\:[0-5]\d)?)?$/g.test(e)}function or(e){return N({name:nr,validator:{validate:function(e,t){return rr(e)},defaultMessage:E((function(e){return e+"$property must be a ISOString"}),e)}},e)}var ir="isBooleanString";function ar(e){return"string"==typeof e&&x.a.isBoolean(e)}function sr(e){return N({name:ir,validator:{validate:function(e,t){return ar(e)},defaultMessage:E((function(e){return e+"$property must be a boolean string"}),e)}},e)}var ur="isNumberString";function lr(e,t){return"string"==typeof e&&x.a.isNumeric(e,t)}function dr(e,t){return N({name:ur,constraints:[e],validator:{validate:function(e,t){return lr(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a number string"}),t)}},t)}var cr="isBase32";function pr(e){return"string"==typeof e&&x.a.isBase32(e)}function fr(e){return N({name:cr,validator:{validate:function(e,t){return pr(e)},defaultMessage:E((function(e){return e+"$property must be base32 encoded"}),e)}},e)}var gr="isBIC";function hr(e){return"string"==typeof e&&x.a.isBIC(e)}function mr(e){return N({name:gr,validator:{validate:function(e,t){return hr(e)},defaultMessage:E((function(e){return e+"$property must be a BIC or SWIFT code"}),e)}},e)}var br="isBtcAddress";function yr(e){return"string"==typeof e&&x.a.isBtcAddress(e)}function Sr(e){return N({name:br,validator:{validate:function(e,t){return yr(e)},defaultMessage:E((function(e){return e+"$property must be a BTC address"}),e)}},e)}var _r="isDataURI";function Cr(e){return"string"==typeof e&&x.a.isDataURI(e)}function Er(e){return N({name:_r,validator:{validate:function(e,t){return Cr(e)},defaultMessage:E((function(e){return e+"$property must be a data uri format"}),e)}},e)}var Nr="isEAN";function Ar(e){return"string"==typeof e&&x.a.isEAN(e)}function vr(e){return N({name:Nr,validator:{validate:function(e,t){return Ar(e)},defaultMessage:E((function(e){return e+"$property must be an EAN (European Article Number)"}),e)}},e)}var Tr="isEthereumAddress";function Ir(e){return"string"==typeof e&&x.a.isEthereumAddress(e)}function Dr(e){return N({name:Tr,validator:{validate:function(e,t){return Ir(e)},defaultMessage:E((function(e){return e+"$property must be an Ethereum address"}),e)}},e)}var Or="isHSL";function Rr(e){return"string"==typeof e&&x.a.isHSL(e)}function Mr(e){return N({name:Or,validator:{validate:function(e,t){return Rr(e)},defaultMessage:E((function(e){return e+"$property must be a HSL color"}),e)}},e)}var Pr="isIBAN";function Fr(e){return"string"==typeof e&&x.a.isIBAN(e)}function xr(e){return N({name:Pr,validator:{validate:function(e,t){return Fr(e)},defaultMessage:E((function(e){return e+"$property must be an IBAN"}),e)}},e)}var Lr="isIdentityCard";function $r(e,t){return"string"==typeof e&&x.a.isIdentityCard(e,t)}function wr(e,t){return N({name:Lr,constraints:[e],validator:{validate:function(e,t){return $r(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a identity card number"}),t)}},t)}var Br="isISRC";function Gr(e){return"string"==typeof e&&x.a.isISRC(e)}function Ur(e){return N({name:Br,validator:{validate:function(e,t){return Gr(e)},defaultMessage:E((function(e){return e+"$property must be an ISRC"}),e)}},e)}var jr="isLocale";function kr(e){return"string"==typeof e&&x.a.isLocale(e)}function Vr(e){return N({name:jr,validator:{validate:function(e,t){return kr(e)},defaultMessage:E((function(e){return e+"$property must be locale"}),e)}},e)}var Hr="isMagnetURI";function Kr(e){return"string"==typeof e&&x.a.isMagnetURI(e)}function Wr(e){return N({name:Hr,validator:{validate:function(e,t){return Kr(e)},defaultMessage:E((function(e){return e+"$property must be magnet uri format"}),e)}},e)}var zr="isMimeType";function Yr(e){return"string"==typeof e&&x.a.isMimeType(e)}function Xr(e){return N({name:zr,validator:{validate:function(e,t){return Yr(e)},defaultMessage:E((function(e){return e+"$property must be MIME type format"}),e)}},e)}var qr="isOctal";function Zr(e){return"string"==typeof e&&x.a.isOctal(e)}function Jr(e){return N({name:qr,validator:{validate:function(e,t){return Zr(e)},defaultMessage:E((function(e){return e+"$property must be valid octal number"}),e)}},e)}var Qr="isPassportNumber";function eo(e,t){return"string"==typeof e&&x.a.isPassportNumber(e,t)}function to(e,t){return N({name:Qr,constraints:[e],validator:{validate:function(e,t){return eo(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be valid passport number"}),t)}},t)}var no="isPostalCode";function ro(e,t){return"string"==typeof e&&x.a.isPostalCode(e,t)}function oo(e,t){return N({name:no,constraints:[e],validator:{validate:function(e,t){return ro(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a postal code"}),t)}},t)}var io="isRFC3339";function ao(e){return"string"==typeof e&&x.a.isRFC3339(e)}function so(e){return N({name:io,validator:{validate:function(e,t){return ao(e)},defaultMessage:E((function(e){return e+"$property must be RFC 3339 date"}),e)}},e)}var uo="isRgbColor";function lo(e,t){return"string"==typeof e&&x.a.isRgbColor(e,t)}function co(e,t){return N({name:uo,constraints:[e],validator:{validate:function(e,t){return lo(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be RGB color"}),t)}},t)}var po="isSemVer";function fo(e){return"string"==typeof e&&x.a.isSemVer(e)}function go(e){return N({name:po,validator:{validate:function(e,t){return fo(e)},defaultMessage:E((function(e){return e+"$property must be a Semantic Versioning Specification"}),e)}},e)}var ho="isBoolean";function mo(e){return e instanceof Boolean||"boolean"==typeof e}function bo(e){return N({name:ho,validator:{validate:function(e,t){return mo(e)},defaultMessage:E((function(e){return e+"$property must be a boolean value"}),e)}},e)}var yo="isDate";function So(e){return e instanceof Date&&!isNaN(e.getTime())}function _o(e){return N({name:yo,validator:{validate:function(e,t){return So(e)},defaultMessage:E((function(e){return e+"$property must be a Date instance"}),e)}},e)}var Co="isNumber";function Eo(e,t){if(void 0===t&&(t={}),"number"!=typeof e)return!1;if(e===1/0||e===-1/0)return t.allowInfinity;if(Number.isNaN(e))return t.allowNaN;if(void 0!==t.maxDecimalPlaces){var n=0;if(e%1!=0&&(n=e.toString().split(".")[1].length),n>t.maxDecimalPlaces)return!1}return Number.isFinite(e)}function No(e,t){return void 0===e&&(e={}),N({name:Co,constraints:[e],validator:{validate:function(e,t){return Eo(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a number conforming to the specified constraints"}),t)}},t)}var Ao="isEnum";function vo(e,t){return Object.keys(t).map((function(e){return t[e]})).indexOf(e)>=0}function To(e,t){return N({name:Ao,constraints:[e],validator:{validate:function(e,t){return vo(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must be a valid enum value"}),t)}},t)}var Io="isInt";function Do(e){return"number"==typeof e&&Number.isInteger(e)}function Oo(e){return N({name:Io,validator:{validate:function(e,t){return Do(e)},defaultMessage:E((function(e){return e+"$property must be an integer number"}),e)}},e)}var Ro="isString";function Mo(e){return e instanceof String||"string"==typeof e}function Po(e){return N({name:Ro,validator:{validate:function(e,t){return Mo(e)},defaultMessage:E((function(e){return e+"$property must be a string"}),e)}},e)}var Fo="isArray";function xo(e){return e instanceof Array}function Lo(e){return N({name:Fo,validator:{validate:function(e,t){return xo(e)},defaultMessage:E((function(e){return e+"$property must be an array"}),e)}},e)}var $o="isObject";function wo(e){return null!=e&&("object"==typeof e||"function"==typeof e)&&!Array.isArray(e)}function Bo(e){return N({name:$o,validator:{validate:function(e,t){return wo(e)},defaultMessage:E((function(e){return e+"$property must be an object"}),e)}},e)}var Go="arrayContains";function Uo(e,t){return e instanceof Array&&t.every((function(t){return-1!==e.indexOf(t)}))}function jo(e,t){return N({name:Go,constraints:[e],validator:{validate:function(e,t){return Uo(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must contain $constraint1 values"}),t)}},t)}var ko="arrayNotContains";function Vo(e,t){return e instanceof Array&&t.every((function(t){return-1===e.indexOf(t)}))}function Ho(e,t){return N({name:ko,constraints:[e],validator:{validate:function(e,t){return Vo(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property should not contain $constraint1 values"}),t)}},t)}var Ko="arrayNotEmpty";function Wo(e){return e instanceof Array&&e.length>0}function zo(e){return N({name:Ko,validator:{validate:function(e,t){return Wo(e)},defaultMessage:E((function(e){return e+"$property should not be empty"}),e)}},e)}var Yo="arrayMinSize";function Xo(e,t){return e instanceof Array&&e.length>=t}function qo(e,t){return N({name:Yo,constraints:[e],validator:{validate:function(e,t){return Xo(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must contain at least $constraint1 elements"}),t)}},t)}var Zo="arrayMaxSize";function Jo(e,t){return e instanceof Array&&e.length<=t}function Qo(e,t){return N({name:Zo,constraints:[e],validator:{validate:function(e,t){return Jo(e,t.constraints[0])},defaultMessage:E((function(e){return e+"$property must contain not more than $constraint1 elements"}),t)}},t)}var ei="arrayUnique";function ti(e){if(!(e instanceof Array))return!1;var t=e.filter((function(e,t,n){return n.indexOf(e)===t}));return e.length===t.length}function ni(e){return N({name:ei,validator:{validate:function(e,t){return ti(e)},defaultMessage:E((function(e){return e+"All $property's elements must be unique"}),e)}},e)}var ri="isNotEmptyObject";function oi(e){if(!wo(e))return!1;for(var t in e)if(e.hasOwnProperty(t))return!0;return!1}function ii(e){return N({name:ri,validator:{validate:function(e,t){return oi(e)},defaultMessage:E((function(e){return e+"$property must be a non-empty object"}),e)}},e)}var ai="isInstance";function si(e,t){return t&&"function"==typeof t&&e instanceof t}function ui(e,t){return N({name:ai,constraints:[e],validator:{validate:function(e,t){return si(e,t.constraints[0])},defaultMessage:E((function(e,t){return t.constraints[0]?e+"$property must be an instance of "+t.constraints[0].name:e+(ai+" decorator expects and object as value, but got falsy value.")}),t)}},t)}function li(e,t,n){return"string"==typeof e?b(g).validate(e,t,n):b(g).validate(e,t)}function di(e,t,n){return"string"==typeof e?b(g).validateOrReject(e,t,n):b(g).validateOrReject(e,t)}function ci(e,t,n){return"string"==typeof e?b(g).validateSync(e,t,n):b(g).validateSync(e,t)}function pi(e){Object(r.b)().addValidationSchema(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14),o=function(){function e(){}return e.prototype.transform=function(e){var t=[];return Object.keys(e.properties).forEach((function(n){e.properties[n].forEach((function(o){var i={message:o.message,groups:o.groups,always:o.always,each:o.each},a={type:o.type,target:e.name,propertyName:n,constraints:o.constraints,validationTypeOptions:o.options,validationOptions:i};t.push(new r.a(a))}))})),t},e}()},function(module,exports,__webpack_require__){var require,require,f;f=function(){var define,module,exports;return function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){if(!s&&"function"==typeof require&&require)return require(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){return o(t[a][1][e]||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"==typeof e.clone)return e.clone();for(var n in t="array"==t?[]:{},e)t[n]=goog.cloneObject(e[n]);return t}return e},goog.bindNative_=function(e,t,n){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,n){if(!e)throw Error();if(2{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')})),a("es7",(function(){return b("2 ** 2 == 4")})),a("es8",(function(){return b("async () => 1, true")})),a("es9",(function(){return b("({...rest} = {}), true")})),a("es_next",(function(){return!1})),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(e,t){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var n=this.createRequiresTranspilation_();this.requiresTranspilation_=n.map,this.transpilationTarget_=this.transpilationTarget_||n.target}if(e in this.requiresTranspilation_)return!!this.requiresTranspilation_[e]||!(!goog.inHtmlDocument_()||"es6"!=t||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+e)},goog.Transpiler.prototype.transpile=function(e,t){return goog.transpile_(e,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(e){return e.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(e,t){function n(){r&&(goog.global.setTimeout(r,0),r=null)}var r=t;if(e.length){for(var o=[],i=0;i<\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}else{var o=t.createElement("script");o.defer=goog.Dependency.defer_,o.async=!1,o.type="text/javascript",(r=goog.getScriptNonce())&&o.setAttribute("nonce",r),goog.DebugLoader_.IS_OLD_IE_?(e.pause(),o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(e.loaded(),e.resume())}):o.onload=function(){o.onload=null,e.loaded()},o.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(o)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),e.loaded()):e.pause()},goog.Es6ModuleDependency=function(e,t,n,r,o){goog.Dependency.call(this,e,t,n,r,o)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document,n=this;if(goog.isDocumentLoading_()){var r=function(e,n){var r=n?'