@umijs/bundler-webpack 4.0.42 → 4.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/utils/formatWebpackMessages.js +27 -8
- package/compiled/babel-loader/index.js +8 -2
- package/compiled/babel-loader/package.json +1 -1
- package/compiled/less-loader/index.js +1 -1
- package/compiled/less-loader/package.json +1 -1
- package/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js +22 -60
- package/compiled/mini-css-extract-plugin/hmr/normalize-url.js +2 -10
- package/compiled/mini-css-extract-plugin/index.js +492 -696
- package/compiled/mini-css-extract-plugin/loader.js +54 -120
- package/compiled/mini-css-extract-plugin/package.json +1 -1
- package/compiled/mini-css-extract-plugin/utils.js +27 -44
- package/compiled/postcss-loader/index.js +1 -1
- package/compiled/postcss-loader/package.json +1 -1
- package/compiled/sass-loader/index.js +1 -1
- package/compiled/sass-loader/package.json +1 -1
- package/compiled/sass-loader/sass.default.dart.js +4 -0
- package/compiled/terser/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +90 -0
- package/compiled/terser/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
- package/compiled/terser/@jridgewell/gen-mapping/dist/types/types.d.ts +35 -0
- package/compiled/terser/@jridgewell/source-map/dist/types/source-map.d.ts +25 -0
- package/compiled/terser/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
- package/compiled/terser/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +74 -0
- package/compiled/terser/@jridgewell/trace-mapping/dist/types/types.d.ts +92 -0
- package/compiled/terser/index.js +1 -1
- package/compiled/terser/package.json +1 -1
- package/compiled/terser/tools/terser.d.ts +6 -3
- package/compiled/terser-webpack-plugin/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
- package/compiled/terser-webpack-plugin/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +74 -0
- package/compiled/terser-webpack-plugin/@jridgewell/trace-mapping/dist/types/types.d.ts +92 -0
- package/compiled/terser-webpack-plugin/index.js +1211 -3390
- package/compiled/terser-webpack-plugin/package.json +1 -1
- package/compiled/terser-webpack-plugin/types/index.d.ts +10 -10
- package/compiled/terser-webpack-plugin/types/utils.d.ts +10 -9
- package/compiled/terser-webpack-plugin/utils.js +36 -10
- package/compiled/webpack/package.json +1 -1
- package/compiled/webpack/types.d.ts +137 -126
- package/compiled/webpack-5-chain/index.js +1 -1
- package/compiled/webpack-5-chain/package.json +1 -1
- package/compiled/webpack-5-chain/types/index.d.ts +76 -20
- package/compiled/webpack-bundle-analyzer/index.js +7 -6
- package/compiled/webpack-bundle-analyzer/package.json +1 -1
- package/compiled/webpack-bundle-analyzer/public/viewer.js +2 -2
- package/compiled/webpack-bundle-analyzer/public/viewer.js.map +1 -1
- package/compiled/webpack-dev-middleware/index.js +5 -5
- package/compiled/webpack-dev-middleware/package.json +1 -1
- package/compiled/ws/LICENSE +13 -12
- package/compiled/ws/index.d.ts +73 -33
- package/compiled/ws/index.js +1 -1
- package/compiled/ws/package.json +1 -1
- package/dist/build.js +8 -2
- package/dist/cli.js +4 -1
- package/dist/config/compressPlugin.js +4 -1
- package/dist/config/config.js +41 -11
- package/dist/config/cssRules.js +17 -5
- package/dist/config/detectDeadCode.js +38 -8
- package/dist/config/detectDeadCodePlugin.js +8 -2
- package/dist/config/fastRefreshPlugin.js +4 -1
- package/dist/config/forkTSCheckerPlugin.js +4 -1
- package/dist/config/harmonyLinkingErrorPlugin.js +14 -11
- package/dist/config/javaScriptRules.js +10 -5
- package/dist/config/miniCSSExtractPlugin.js +4 -1
- package/dist/config/progressPlugin.js +9 -2
- package/dist/config/speedMeasureWebpackPlugin.js +7 -2
- package/dist/config/ssrPlugin.js +20 -6
- package/dist/config/svgRules.js +4 -1
- package/dist/dev.js +29 -10
- package/dist/loader/svgr.js +16 -11
- package/dist/loader/swc.js +26 -8
- package/dist/parcelCSS.js +4 -1
- package/dist/plugins/ProgressPlugin.js +6 -2
- package/dist/plugins/RuntimePublicPathPlugin.js +9 -6
- package/dist/plugins/_SamplePlugin.d.ts +1 -1
- package/dist/plugins/_SamplePlugin.js +1 -1
- package/dist/requireHook.js +4 -1
- package/dist/schema.js +58 -23
- package/dist/server/server.d.ts +1 -4
- package/dist/server/server.js +37 -23
- package/dist/server/ws.js +8 -3
- package/dist/swcPlugins/autoCSSModules.js +4 -1
- package/dist/swcPlugins/lockCoreJS.js +8 -2
- package/dist/types.d.ts +2 -1
- package/dist/utils/formatWebpackMessages.js +31 -9
- package/dist/utils/getEsBuildTarget.js +7 -1
- package/package.json +25 -24
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
(function(){var e={4133:function(e,r,t){"use strict";var a=t(5507);e.exports=defineKeywords;function defineKeywords(e,r){if(Array.isArray(r)){for(var t=0;t<r.length;t++)get(r[t])(e);return e}if(r){get(r)(e);return e}for(r in a)get(r)(e);return e}defineKeywords.get=get;function get(e){var r=a[e];if(!r)throw new Error("Unknown keyword "+e);return r}},7921:function(e,r,t){"use strict";var a=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var s=/t|\s/i;var i={date:compareDate,time:compareTime,"date-time":compareDateTime};var n={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};e.exports=function(e){var r="format"+e;return function defFunc(a){defFunc.definition={type:"string",inline:t(6516),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},n]}};a.addKeyword(r,defFunc.definition);a.addKeyword("formatExclusive"+e,{dependencies:["format"+e],metaSchema:{anyOf:[{type:"boolean"},n]}});extendFormats(a);return a}};function extendFormats(e){var r=e._formats;for(var t in i){var a=r[t];if(typeof a!="object"||a instanceof RegExp||!a.validate)a=r[t]={validate:a};if(!a.compare)a.compare=i[t]}}function compareDate(e,r){if(!(e&&r))return;if(e>r)return 1;if(e<r)return-1;if(e===r)return 0}function compareTime(e,r){if(!(e&&r))return;e=e.match(a);r=r.match(a);if(!(e&&r))return;e=e[1]+e[2]+e[3]+(e[4]||"");r=r[1]+r[2]+r[3]+(r[4]||"");if(e>r)return 1;if(e<r)return-1;if(e===r)return 0}function compareDateTime(e,r){if(!(e&&r))return;e=e.split(s);r=r.split(s);var t=compareDate(e[0],r[0]);if(t===undefined)return;return t||compareTime(e[1],r[1])}},2298:function(e){"use strict";e.exports={metaSchemaRef:metaSchemaRef};var r="http://json-schema.org/draft-07/schema";function metaSchemaRef(e){var t=e._opts.defaultMeta;if(typeof t=="string")return{$ref:t};if(e.getSchema(r))return{$ref:r};console.warn("meta schema not defined");return{}}},3672:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e,r){if(!e)return true;var t=Object.keys(r.properties);if(t.length==0)return true;return{required:t}},metaSchema:{type:"boolean"},dependencies:["properties"]};e.addKeyword("allRequired",defFunc.definition);return e}},2390:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{required:e};var r=e.map((function(e){return{required:[e]}}));return{anyOf:r}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("anyRequired",defFunc.definition);return e}},9357:function(e,r,t){"use strict";var a=t(2298);e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){var r=[];for(var t in e)r.push(getSchema(t,e[t]));return{allOf:r}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:a.metaSchemaRef(e)}};e.addKeyword("deepProperties",defFunc.definition);return e};function getSchema(e,r){var t=e.split("/");var a={};var s=a;for(var i=1;i<t.length;i++){var n=t[i];var u=i==t.length-1;n=unescapeJsonPointer(n);var o=s.properties={};var c=undefined;if(/[0-9]+/.test(n)){var l=+n;c=s.items=[];while(l--)c.push({})}s=u?r:{};o[n]=s;if(c)c.push(s)}return a}function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},5568:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",inline:function(e,r,t){var a="";for(var s=0;s<t.length;s++){if(s)a+=" && ";a+="("+getData(t[s],e.dataLevel)+" !== undefined)"}return a},metaSchema:{type:"array",items:{type:"string",format:"json-pointer"}}};e.addKeyword("deepRequired",defFunc.definition);return e};function getData(e,r){var t="data"+(r||"");if(!e)return t;var a=t;var s=e.split("/");for(var i=1;i<s.length;i++){var n=s[i];t+=getProperty(unescapeJsonPointer(n));a+=" && "+t}return a}var r=/^[a-z$_][a-z$_0-9]*$/i;var t=/^[0-9]+$/;var a=/'|\\/g;function getProperty(e){return t.test(e)?"["+e+"]":r.test(e)?"."+e:"['"+e.replace(a,"\\$&")+"']"}function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},6516:function(e){"use strict";e.exports=function generate__formatLimit(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l;var f="data"+(i||"");var p="valid"+s;a+="var "+p+" = undefined;";if(e.opts.format===false){a+=" "+p+" = true; ";return a}var h=e.schema.format,d=e.opts.$data&&h.$data,m="";if(d){var D=e.util.getData(h.$data,i,e.dataPathArr),g="format"+s,E="compare"+s;a+=" var "+g+" = formats["+D+"] , "+E+" = "+g+" && "+g+".compare;"}else{var g=e.formats[h];if(!(g&&g.compare)){a+=" "+p+" = true; ";return a}var E="formats"+e.util.getProperty(h)+".compare"}var y=r=="formatMaximum",A="formatExclusive"+(y?"Maximum":"Minimum"),C=e.schema[A],F=e.opts.$data&&C&&C.$data,b=y?"<":">",P="result"+s;var w=e.opts.$data&&n&&n.$data,S;if(w){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";S="schema"+s}else{S=n}if(F){var I=e.util.getData(C.$data,i,e.dataPathArr),x="exclusive"+s,R="op"+s,B="' + "+R+" + '";a+=" var schemaExcl"+s+" = "+I+"; ";I="schemaExcl"+s;a+=" if (typeof "+I+" != 'boolean' && "+I+" !== undefined) { "+p+" = false; ";var l=A;var $=$||[];$.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(l||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: '"+A+" should be boolean' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var O=a;a=$.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+O+"]); "}else{a+=" validate.errors = ["+O+"]; return false; "}}else{a+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";if(c){m+="}";a+=" else { "}if(w){a+=" if ("+S+" === undefined) "+p+" = true; else if (typeof "+S+" != 'string') "+p+" = false; else { ";m+="}"}if(d){a+=" if (!"+E+") "+p+" = true; else { ";m+="}"}a+=" var "+P+" = "+E+"("+f+", ";if(w){a+=""+S}else{a+=""+e.util.toQuotedString(n)}a+=" ); if ("+P+" === undefined) "+p+" = false; var "+x+" = "+I+" === true; if ("+p+" === undefined) { "+p+" = "+x+" ? "+P+" "+b+" 0 : "+P+" "+b+"= 0; } if (!"+p+") var op"+s+" = "+x+" ? '"+b+"' : '"+b+"=';"}else{var x=C===true,B=b;if(!x)B+="=";var R="'"+B+"'";if(w){a+=" if ("+S+" === undefined) "+p+" = true; else if (typeof "+S+" != 'string') "+p+" = false; else { ";m+="}"}if(d){a+=" if (!"+E+") "+p+" = true; else { ";m+="}"}a+=" var "+P+" = "+E+"("+f+", ";if(w){a+=""+S}else{a+=""+e.util.toQuotedString(n)}a+=" ); if ("+P+" === undefined) "+p+" = false; if ("+p+" === undefined) "+p+" = "+P+" "+b;if(!x){a+="="}a+=" 0;"}a+=""+m+"if (!"+p+") { ";var l=r;var $=$||[];$.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(l||"_formatLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { comparison: "+R+", limit: ";if(w){a+=""+S}else{a+=""+e.util.toQuotedString(n)}a+=" , exclusive: "+x+" } ";if(e.opts.messages!==false){a+=" , message: 'should be "+B+' "';if(w){a+="' + "+S+" + '"}else{a+=""+e.util.escapeQuotes(n)}a+="\"' "}if(e.opts.verbose){a+=" , schema: ";if(w){a+="validate.schema"+u}else{a+=""+e.util.toQuotedString(n)}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var O=a;a=$.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+O+"]); "}else{a+=" validate.errors = ["+O+"]; return false; "}}else{a+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="}";return a}},2558:function(e){"use strict";e.exports=function generate_patternRequired(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p="key"+s,h="idx"+s,d="patternMatched"+s,m="dataProperties"+s,D="",g=e.opts.ownProperties;a+="var "+f+" = true;";if(g){a+=" var "+m+" = undefined;"}var E=n;if(E){var y,A=-1,C=E.length-1;while(A<C){y=E[A+=1];a+=" var "+d+" = false; ";if(g){a+=" "+m+" = "+m+" || Object.keys("+l+"); for (var "+h+"=0; "+h+"<"+m+".length; "+h+"++) { var "+p+" = "+m+"["+h+"]; "}else{a+=" for (var "+p+" in "+l+") { "}a+=" "+d+" = "+e.usePattern(y)+".test("+p+"); if ("+d+") break; } ";var F=e.util.escapeQuotes(y);a+=" if (!"+d+") { "+f+" = false; var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"patternRequired"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { missingPattern: '"+F+"' } ";if(e.opts.messages!==false){a+=" , message: 'should have property matching pattern \\'"+F+"\\'' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ";if(c){D+="}";a+=" else { "}}}a+=""+D;return a}},5244:function(e){"use strict";e.exports=function generate_switch(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p="errs__"+s;var h=e.util.copy(e);var d="";h.level++;var m="valid"+h.level;var D="ifPassed"+e.level,g=h.baseId,E;a+="var "+D+";";var y=n;if(y){var A,C=-1,F=y.length-1;while(C<F){A=y[C+=1];if(C&&!E){a+=" if (!"+D+") { ";d+="}"}if(A.if&&(e.opts.strictKeywords?typeof A.if=="object"&&Object.keys(A.if).length>0:e.util.schemaHasRules(A.if,e.RULES.all))){a+=" var "+p+" = errors; ";var b=e.compositeRule;e.compositeRule=h.compositeRule=true;h.createErrors=false;h.schema=A.if;h.schemaPath=u+"["+C+"].if";h.errSchemaPath=o+"/"+C+"/if";a+=" "+e.validate(h)+" ";h.baseId=g;h.createErrors=true;e.compositeRule=h.compositeRule=b;a+=" "+D+" = "+m+"; if ("+D+") { ";if(typeof A.then=="boolean"){if(A.then===false){var P=P||[];P.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { caseIndex: "+C+" } ";if(e.opts.messages!==false){a+=" , message: 'should pass \"switch\" keyword validation' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var w=a;a=P.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+w+"]); "}else{a+=" validate.errors = ["+w+"]; return false; "}}else{a+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}a+=" var "+m+" = "+A.then+"; "}else{h.schema=A.then;h.schemaPath=u+"["+C+"].then";h.errSchemaPath=o+"/"+C+"/then";a+=" "+e.validate(h)+" ";h.baseId=g}a+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } } "}else{a+=" "+D+" = true; ";if(typeof A.then=="boolean"){if(A.then===false){var P=P||[];P.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { caseIndex: "+C+" } ";if(e.opts.messages!==false){a+=" , message: 'should pass \"switch\" keyword validation' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var w=a;a=P.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+w+"]); "}else{a+=" validate.errors = ["+w+"]; return false; "}}else{a+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}a+=" var "+m+" = "+A.then+"; "}else{h.schema=A.then;h.schemaPath=u+"["+C+"].then";h.errSchemaPath=o+"/"+C+"/then";a+=" "+e.validate(h)+" ";h.baseId=g}}E=A.continue}}a+=""+d+"var "+f+" = "+m+";";return a}},8882:function(e){"use strict";var r={};var t={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(e){var r=e&&e.max||2;return function(){return Math.floor(Math.random()*r)}},seq:function(e){var t=e&&e.name||"";r[t]=r[t]||0;return function(){return r[t]++}}};e.exports=function defFunc(e){defFunc.definition={compile:function(e,r,t){var a={};for(var s in e){var i=e[s];var n=getDefault(typeof i=="string"?i:i.func);a[s]=n.length?n(i.args):n}return t.opts.useDefaults&&!t.compositeRule?assignDefaults:noop;function assignDefaults(r){for(var s in e){if(r[s]===undefined||t.opts.useDefaults=="empty"&&(r[s]===null||r[s]===""))r[s]=a[s]()}return true}function noop(){return true}},DEFAULTS:t,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};e.addKeyword("dynamicDefaults",defFunc.definition);return e;function getDefault(e){var r=t[e];if(r)return r;throw new Error('invalid "dynamicDefaults" keyword property value: '+e)}}},442:function(e,r,t){"use strict";e.exports=t(7921)("Maximum")},4422:function(e,r,t){"use strict";e.exports=t(7921)("Minimum")},5507:function(e,r,t){"use strict";e.exports={instanceof:t(3300),range:t(6962),regexp:t(4840),typeof:t(1147),dynamicDefaults:t(8882),allRequired:t(3672),anyRequired:t(2390),oneRequired:t(9425),prohibited:t(8460),uniqueItemProperties:t(7705),deepProperties:t(9357),deepRequired:t(5568),formatMinimum:t(4422),formatMaximum:t(442),patternRequired:t(1780),switch:t(593),select:t(9128),transform:t(2615)}},3300:function(e){"use strict";var r={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};e.exports=function defFunc(e){if(typeof Buffer!="undefined")r.Buffer=Buffer;if(typeof Promise!="undefined")r.Promise=Promise;defFunc.definition={compile:function(e){if(typeof e=="string"){var r=getConstructor(e);return function(e){return e instanceof r}}var t=e.map(getConstructor);return function(e){for(var r=0;r<t.length;r++)if(e instanceof t[r])return true;return false}},CONSTRUCTORS:r,metaSchema:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}};e.addKeyword("instanceof",defFunc.definition);return e;function getConstructor(e){var t=r[e];if(t)return t;throw new Error('invalid "instanceof" keyword value '+e)}}},9425:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{required:e};var r=e.map((function(e){return{required:[e]}}));return{oneOf:r}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("oneRequired",defFunc.definition);return e}},1780:function(e,r,t){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",inline:t(2558),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};e.addKeyword("patternRequired",defFunc.definition);return e}},8460:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"object",macro:function(e){if(e.length==0)return true;if(e.length==1)return{not:{required:e}};var r=e.map((function(e){return{required:[e]}}));return{not:{anyOf:r}}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("prohibited",defFunc.definition);return e}},6962:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"number",macro:function(e,r){var t=e[0],a=e[1],s=r.exclusiveRange;validateRangeSchema(t,a,s);return s===true?{exclusiveMinimum:t,exclusiveMaximum:a}:{minimum:t,maximum:a}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};e.addKeyword("range",defFunc.definition);e.addKeyword("exclusiveRange");return e;function validateRangeSchema(e,r,t){if(t!==undefined&&typeof t!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(e>r||t&&e==r)throw new Error("There are no numbers in range")}}},4840:function(e){"use strict";e.exports=function defFunc(e){defFunc.definition={type:"string",inline:function(e,r,t){return getRegExp()+".test(data"+(e.dataLevel||"")+")";function getRegExp(){try{if(typeof t=="object")return new RegExp(t.pattern,t.flags);var e=t.match(/^\/(.*)\/([gimuy]*)$/);if(e)return new RegExp(e[1],e[2]);throw new Error("cannot parse string into RegExp")}catch(e){console.error("regular expression",t,"is invalid");throw e}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};e.addKeyword("regexp",defFunc.definition);return e}},9128:function(e,r,t){"use strict";var a=t(2298);e.exports=function defFunc(e){if(!e._opts.$data){console.warn("keyword select requires $data option");return e}var r=a.metaSchemaRef(e);var t=[];defFunc.definition={validate:function v(e,r,t){if(t.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var a=getCompiledSchemas(t,false);var s=a.cases[e];if(s===undefined)s=a.default;if(typeof s=="boolean")return s;var i=s(r);if(!i)v.errors=s.errors;return i},$data:true,metaSchema:{type:["string","number","boolean","null"]}};e.addKeyword("select",defFunc.definition);e.addKeyword("selectCases",{compile:function(e,r){var t=getCompiledSchemas(r);for(var a in e)t.cases[a]=compileOrBoolean(e[a]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:r}});e.addKeyword("selectDefault",{compile:function(e,r){var t=getCompiledSchemas(r);t.default=compileOrBoolean(e);return function(){return true}},valid:true,metaSchema:r});return e;function getCompiledSchemas(e,r){var a;t.some((function(r){if(r.parentSchema===e){a=r;return true}}));if(!a&&r!==false){a={parentSchema:e,cases:{},default:true};t.push(a)}return a}function compileOrBoolean(r){return typeof r=="boolean"?r:e.compile(r)}}},593:function(e,r,t){"use strict";var a=t(2298);e.exports=function defFunc(e){if(e.RULES.keywords.switch&&e.RULES.keywords.if)return;var r=a.metaSchemaRef(e);defFunc.definition={inline:t(5244),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:r,then:{anyOf:[{type:"boolean"},r]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};e.addKeyword("switch",defFunc.definition);return e}},2615:function(e){"use strict";e.exports=function defFunc(e){var r={trimLeft:function(e){return e.replace(/^[\s]+/,"")},trimRight:function(e){return e.replace(/[\s]+$/,"")},trim:function(e){return e.trim()},toLowerCase:function(e){return e.toLowerCase()},toUpperCase:function(e){return e.toUpperCase()},toEnumCase:function(e,r){return r.hash[makeHashTableKey(e)]||e}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(e,t){var a;if(e.indexOf("toEnumCase")!==-1){a={hash:{}};if(!t.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var s=t.enum.length;s--;s){var i=t.enum[s];if(typeof i!=="string")continue;var n=makeHashTableKey(i);if(a.hash[n])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');a.hash[n]=i}}return function(t,s,i,n){if(!i)return;for(var u=0,o=e.length;u<o;u++)t=r[e[u]](t,a);i[n]=t}},metaSchema:{type:"array",items:{type:"string",enum:["trimLeft","trimRight","trim","toLowerCase","toUpperCase","toEnumCase"]}}};e.addKeyword("transform",defFunc.definition);return e;function makeHashTableKey(e){return e.toLowerCase()}}},1147:function(e){"use strict";var r=["undefined","string","number","object","function","boolean","symbol"];e.exports=function defFunc(e){defFunc.definition={inline:function(e,r,t){var a="data"+(e.dataLevel||"");if(typeof t=="string")return"typeof "+a+' == "'+t+'"';t="validate.schema"+e.schemaPath+"."+r;return t+".indexOf(typeof "+a+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:r},{type:"array",items:{type:"string",enum:r}}]}};e.addKeyword("typeof",defFunc.definition);return e}},7705:function(e){"use strict";var r=["number","integer","string","boolean","null"];e.exports=function defFunc(e){defFunc.definition={type:"array",compile:function(e,r,t){var a=t.util.equal;var s=getScalarKeys(e,r);return function(r){if(r.length>1){for(var t=0;t<e.length;t++){var i,n=e[t];if(s[t]){var u={};for(i=r.length;i--;){if(!r[i]||typeof r[i]!="object")continue;var o=r[i][n];if(o&&typeof o=="object")continue;if(typeof o=="string")o='"'+o;if(u[o])return false;u[o]=true}}else{for(i=r.length;i--;){if(!r[i]||typeof r[i]!="object")continue;for(var c=i;c--;){if(r[c]&&typeof r[c]=="object"&&a(r[i][n],r[c][n]))return false}}}}}return true}},metaSchema:{type:"array",items:{type:"string"}}};e.addKeyword("uniqueItemProperties",defFunc.definition);return e};function getScalarKeys(e,t){return e.map((function(e){var a=t.items&&t.items.properties;var s=a&&a[e]&&a[e].type;return Array.isArray(s)?s.indexOf("object")<0&&s.indexOf("array")<0:r.indexOf(s)>=0}))}},8601:function(e,r,t){"use strict";var a=t(6905),s=t(8708),i=t(4578),n=t(4841),u=t(7351),o=t(3978),c=t(8404),l=t(9341),f=t(7224);e.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=t(6211);var p=t(398);Ajv.prototype.addKeyword=p.add;Ajv.prototype.getKeyword=p.get;Ajv.prototype.removeKeyword=p.remove;Ajv.prototype.validateKeyword=p.validate;var h=t(8373);Ajv.ValidationError=h.Validation;Ajv.MissingRefError=h.MissingRef;Ajv.$dataMetaSchema=l;var d="http://json-schema.org/draft-07/schema";var m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var D=["/properties"];function Ajv(e){if(!(this instanceof Ajv))return new Ajv(e);e=this._opts=f.copy(e)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=o(e.format);this._cache=e.cache||new i;this._loadingSchemas={};this._compilations=[];this.RULES=c();this._getId=chooseGetId(e);e.loopRequired=e.loopRequired||Infinity;if(e.errorDataPath=="property")e._errorDataPathProperty=true;if(e.serialize===undefined)e.serialize=u;this._metaOpts=getMetaSchemaOptions(this);if(e.formats)addInitialFormats(this);if(e.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof e.meta=="object")this.addMetaSchema(e.meta);if(e.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(e,r){var t;if(typeof e=="string"){t=this.getSchema(e);if(!t)throw new Error('no schema with key or ref "'+e+'"')}else{var a=this._addSchema(e);t=a.validate||this._compile(a)}var s=t(r);if(t.$async!==true)this.errors=t.errors;return s}function compile(e,r){var t=this._addSchema(e,undefined,r);return t.validate||this._compile(t)}function addSchema(e,r,t,a){if(Array.isArray(e)){for(var i=0;i<e.length;i++)this.addSchema(e[i],undefined,t,a);return this}var n=this._getId(e);if(n!==undefined&&typeof n!="string")throw new Error("schema id must be string");r=s.normalizeId(r||n);checkUnique(this,r);this._schemas[r]=this._addSchema(e,t,a,true);return this}function addMetaSchema(e,r,t){this.addSchema(e,r,t,true);return this}function validateSchema(e,r){var t=e.$schema;if(t!==undefined&&typeof t!="string")throw new Error("$schema must be a string");t=t||this._opts.defaultMeta||defaultMeta(this);if(!t){this.logger.warn("meta-schema not available");this.errors=null;return true}var a=this.validate(t,e);if(!a&&r){var s="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(s);else throw new Error(s)}return a}function defaultMeta(e){var r=e._opts.meta;e._opts.defaultMeta=typeof r=="object"?e._getId(r)||r:e.getSchema(d)?d:undefined;return e._opts.defaultMeta}function getSchema(e){var r=_getSchemaObj(this,e);switch(typeof r){case"object":return r.validate||this._compile(r);case"string":return this.getSchema(r);case"undefined":return _getSchemaFragment(this,e)}}function _getSchemaFragment(e,r){var t=s.schema.call(e,{schema:{}},r);if(t){var i=t.schema,u=t.root,o=t.baseId;var c=a.call(e,i,u,undefined,o);e._fragments[r]=new n({ref:r,fragment:true,schema:i,root:u,baseId:o,validate:c});return c}}function _getSchemaObj(e,r){r=s.normalizeId(r);return e._schemas[r]||e._refs[r]||e._fragments[r]}function removeSchema(e){if(e instanceof RegExp){_removeAllSchemas(this,this._schemas,e);_removeAllSchemas(this,this._refs,e);return this}switch(typeof e){case"undefined":_removeAllSchemas(this,this._schemas);_removeAllSchemas(this,this._refs);this._cache.clear();return this;case"string":var r=_getSchemaObj(this,e);if(r)this._cache.del(r.cacheKey);delete this._schemas[e];delete this._refs[e];return this;case"object":var t=this._opts.serialize;var a=t?t(e):e;this._cache.del(a);var i=this._getId(e);if(i){i=s.normalizeId(i);delete this._schemas[i];delete this._refs[i]}}return this}function _removeAllSchemas(e,r,t){for(var a in r){var s=r[a];if(!s.meta&&(!t||t.test(a))){e._cache.del(s.cacheKey);delete r[a]}}}function _addSchema(e,r,t,a){if(typeof e!="object"&&typeof e!="boolean")throw new Error("schema should be object or boolean");var i=this._opts.serialize;var u=i?i(e):e;var o=this._cache.get(u);if(o)return o;a=a||this._opts.addUsedSchema!==false;var c=s.normalizeId(this._getId(e));if(c&&a)checkUnique(this,c);var l=this._opts.validateSchema!==false&&!r;var f;if(l&&!(f=c&&c==s.normalizeId(e.$schema)))this.validateSchema(e,true);var p=s.ids.call(this,e);var h=new n({id:c,schema:e,localRefs:p,cacheKey:u,meta:t});if(c[0]!="#"&&a)this._refs[c]=h;this._cache.put(u,h);if(l&&f)this.validateSchema(e,true);return h}function _compile(e,r){if(e.compiling){e.validate=callValidate;callValidate.schema=e.schema;callValidate.errors=null;callValidate.root=r?r:callValidate;if(e.schema.$async===true)callValidate.$async=true;return callValidate}e.compiling=true;var t;if(e.meta){t=this._opts;this._opts=this._metaOpts}var s;try{s=a.call(this,e.schema,r,e.localRefs)}catch(r){delete e.validate;throw r}finally{e.compiling=false;if(e.meta)this._opts=t}e.validate=s;e.refs=s.refs;e.refVal=s.refVal;e.root=s.root;return s;function callValidate(){var r=e.validate;var t=r.apply(this,arguments);callValidate.errors=r.errors;return t}}function chooseGetId(e){switch(e.schemaId){case"auto":return _get$IdOrId;case"id":return _getId;default:return _get$Id}}function _getId(e){if(e.$id)this.logger.warn("schema $id ignored",e.$id);return e.id}function _get$Id(e){if(e.id)this.logger.warn("schema id ignored",e.id);return e.$id}function _get$IdOrId(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function errorsText(e,r){e=e||this.errors;if(!e)return"No errors";r=r||{};var t=r.separator===undefined?", ":r.separator;var a=r.dataVar===undefined?"data":r.dataVar;var s="";for(var i=0;i<e.length;i++){var n=e[i];if(n)s+=a+n.dataPath+" "+n.message+t}return s.slice(0,-t.length)}function addFormat(e,r){if(typeof r=="string")r=new RegExp(r);this._formats[e]=r;return this}function addDefaultMetaSchema(e){var r;if(e._opts.$data){r=t(7664);e.addMetaSchema(r,r.$id,true)}if(e._opts.meta===false)return;var a=t(7136);if(e._opts.$data)a=l(a,D);e.addMetaSchema(a,d,true);e._refs["http://json-schema.org/schema"]=d}function addInitialSchemas(e){var r=e._opts.schemas;if(!r)return;if(Array.isArray(r))e.addSchema(r);else for(var t in r)e.addSchema(r[t],t)}function addInitialFormats(e){for(var r in e._opts.formats){var t=e._opts.formats[r];e.addFormat(r,t)}}function addInitialKeywords(e){for(var r in e._opts.keywords){var t=e._opts.keywords[r];e.addKeyword(r,t)}}function checkUnique(e,r){if(e._schemas[r]||e._refs[r])throw new Error('schema with key or id "'+r+'" already exists')}function getMetaSchemaOptions(e){var r=f.copy(e._opts);for(var t=0;t<m.length;t++)delete r[m[t]];return r}function setLogger(e){var r=e._opts.logger;if(r===false){e.logger={log:noop,warn:noop,error:noop}}else{if(r===undefined)r=console;if(!(typeof r=="object"&&r.log&&r.warn&&r.error))throw new Error("logger must implement log, warn and error methods");e.logger=r}}function noop(){}},4578:function(e){"use strict";var r=e.exports=function Cache(){this._cache={}};r.prototype.put=function Cache_put(e,r){this._cache[e]=r};r.prototype.get=function Cache_get(e){return this._cache[e]};r.prototype.del=function Cache_del(e){delete this._cache[e]};r.prototype.clear=function Cache_clear(){this._cache={}}},6211:function(e,r,t){"use strict";var a=t(8373).MissingRef;e.exports=compileAsync;function compileAsync(e,r,t){var s=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof r=="function"){t=r;r=undefined}var i=loadMetaSchemaOf(e).then((function(){var t=s._addSchema(e,undefined,r);return t.validate||_compileAsync(t)}));if(t){i.then((function(e){t(null,e)}),t)}return i;function loadMetaSchemaOf(e){var r=e.$schema;return r&&!s.getSchema(r)?compileAsync.call(s,{$ref:r},true):Promise.resolve()}function _compileAsync(e){try{return s._compile(e)}catch(e){if(e instanceof a)return loadMissingSchema(e);throw e}function loadMissingSchema(t){var a=t.missingSchema;if(added(a))throw new Error("Schema "+a+" is loaded but "+t.missingRef+" cannot be resolved");var i=s._loadingSchemas[a];if(!i){i=s._loadingSchemas[a]=s._opts.loadSchema(a);i.then(removePromise,removePromise)}return i.then((function(e){if(!added(a)){return loadMetaSchemaOf(e).then((function(){if(!added(a))s.addSchema(e,a,undefined,r)}))}})).then((function(){return _compileAsync(e)}));function removePromise(){delete s._loadingSchemas[a]}function added(e){return s._refs[e]||s._schemas[e]}}}}},8373:function(e,r,t){"use strict";var a=t(8708);e.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(e){this.message="validation failed";this.errors=e;this.ajv=this.validation=true}MissingRefError.message=function(e,r){return"can't resolve reference "+r+" from id "+e};function MissingRefError(e,r,t){this.message=t||MissingRefError.message(e,r);this.missingRef=a.url(e,r);this.missingSchema=a.normalizeId(a.fullPath(this.missingRef))}function errorSubclass(e){e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}},3978:function(e,r,t){"use strict";var a=t(7224);var s=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var i=[0,31,28,31,30,31,30,31,31,30,31,30,31];var n=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var u=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var o=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var c=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var l=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var f=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var p=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var h=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var d=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var m=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;e.exports=formats;function formats(e){e=e=="full"?"full":"fast";return a.copy(formats[e])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":l,url:f,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:u,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:p,"json-pointer":h,"json-pointer-uri-fragment":d,"relative-json-pointer":m};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":c,"uri-template":l,url:f,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:u,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:p,"json-pointer":h,"json-pointer-uri-fragment":d,"relative-json-pointer":m};function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function date(e){var r=e.match(s);if(!r)return false;var t=+r[1];var a=+r[2];var n=+r[3];return a>=1&&a<=12&&n>=1&&n<=(a==2&&isLeapYear(t)?29:i[a])}function time(e,r){var t=e.match(n);if(!t)return false;var a=t[1];var s=t[2];var i=t[3];var u=t[5];return(a<=23&&s<=59&&i<=59||a==23&&s==59&&i==60)&&(!r||u)}var D=/t|\s/i;function date_time(e){var r=e.split(D);return r.length==2&&date(r[0])&&time(r[1],true)}var g=/\/|:/;function uri(e){return g.test(e)&&o.test(e)}var E=/[^\\]\\Z/;function regex(e){if(E.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},6905:function(e,r,t){"use strict";var a=t(8708),s=t(7224),i=t(8373),n=t(7351);var u=t(2801);var o=s.ucs2length;var c=t(7447);var l=i.Validation;e.exports=compile;function compile(e,r,t,f){var p=this,h=this._opts,d=[undefined],m={},D=[],g={},E=[],y={},A=[];r=r||{schema:e,refVal:d,refs:m};var C=checkCompiling.call(this,e,r,f);var F=this._compilations[C.index];if(C.compiling)return F.callValidate=callValidate;var b=this._formats;var P=this.RULES;try{var w=localCompile(e,r,t,f);F.validate=w;var S=F.callValidate;if(S){S.schema=w.schema;S.errors=null;S.refs=w.refs;S.refVal=w.refVal;S.root=w.root;S.$async=w.$async;if(h.sourceCode)S.source=w.source}return w}finally{endCompiling.call(this,e,r,f)}function callValidate(){var e=F.validate;var r=e.apply(this,arguments);callValidate.errors=e.errors;return r}function localCompile(e,t,n,f){var g=!t||t&&t.schema==e;if(t.schema!=r.schema)return compile.call(p,e,t,n,f);var y=e.$async===true;var C=u({isTop:true,schema:e,isRoot:g,baseId:f,root:t,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:P,validate:u,util:s,resolve:a,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:h,formats:b,logger:p.logger,self:p});C=vars(d,refValCode)+vars(D,patternCode)+vars(E,defaultCode)+vars(A,customRuleCode)+C;if(h.processCode)C=h.processCode(C,e);var F;try{var w=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",C);F=w(p,P,b,r,d,E,A,c,o,l);d[0]=F}catch(e){p.logger.error("Error compiling schema, function code:",C);throw e}F.schema=e;F.errors=null;F.refs=m;F.refVal=d;F.root=g?F:t;if(y)F.$async=true;if(h.sourceCode===true){F.source={code:C,patterns:D,defaults:E}}return F}function resolveRef(e,s,i){s=a.url(e,s);var n=m[s];var u,o;if(n!==undefined){u=d[n];o="refVal["+n+"]";return resolvedRef(u,o)}if(!i&&r.refs){var c=r.refs[s];if(c!==undefined){u=r.refVal[c];o=addLocalRef(s,u);return resolvedRef(u,o)}}o=addLocalRef(s);var l=a.call(p,localCompile,r,s);if(l===undefined){var f=t&&t[s];if(f){l=a.inlineRef(f,h.inlineRefs)?f:compile.call(p,f,r,t,e)}}if(l===undefined){removeLocalRef(s)}else{replaceLocalRef(s,l);return resolvedRef(l,o)}}function addLocalRef(e,r){var t=d.length;d[t]=r;m[e]=t;return"refVal"+t}function removeLocalRef(e){delete m[e]}function replaceLocalRef(e,r){var t=m[e];d[t]=r}function resolvedRef(e,r){return typeof e=="object"||typeof e=="boolean"?{code:r,schema:e,inline:true}:{code:r,$async:e&&!!e.$async}}function usePattern(e){var r=g[e];if(r===undefined){r=g[e]=D.length;D[r]=e}return"pattern"+r}function useDefault(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return s.toQuotedString(e);case"object":if(e===null)return"null";var r=n(e);var t=y[r];if(t===undefined){t=y[r]=E.length;E[t]=e}return"default"+t}}function useCustomRule(e,r,t,a){if(p._opts.validateSchema!==false){var s=e.definition.dependencies;if(s&&!s.every((function(e){return Object.prototype.hasOwnProperty.call(t,e)})))throw new Error("parent schema must have all required keywords: "+s.join(","));var i=e.definition.validateSchema;if(i){var n=i(r);if(!n){var u="keyword schema is invalid: "+p.errorsText(i.errors);if(p._opts.validateSchema=="log")p.logger.error(u);else throw new Error(u)}}}var o=e.definition.compile,c=e.definition.inline,l=e.definition.macro;var f;if(o){f=o.call(p,r,t,a)}else if(l){f=l.call(p,r,t,a);if(h.validateSchema!==false)p.validateSchema(f,true)}else if(c){f=c.call(p,a,e.keyword,r,t)}else{f=e.definition.validate;if(!f)return}if(f===undefined)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var d=A.length;A[d]=f;return{code:"customRule"+d,validate:f}}}function checkCompiling(e,r,t){var a=compIndex.call(this,e,r,t);if(a>=0)return{index:a,compiling:true};a=this._compilations.length;this._compilations[a]={schema:e,root:r,baseId:t};return{index:a,compiling:false}}function endCompiling(e,r,t){var a=compIndex.call(this,e,r,t);if(a>=0)this._compilations.splice(a,1)}function compIndex(e,r,t){for(var a=0;a<this._compilations.length;a++){var s=this._compilations[a];if(s.schema==e&&s.root==r&&s.baseId==t)return a}return-1}function patternCode(e,r){return"var pattern"+e+" = new RegExp("+s.toQuotedString(r[e])+");"}function defaultCode(e){return"var default"+e+" = defaults["+e+"];"}function refValCode(e,r){return r[e]===undefined?"":"var refVal"+e+" = refVal["+e+"];"}function customRuleCode(e){return"var customRule"+e+" = customRules["+e+"];"}function vars(e,r){if(!e.length)return"";var t="";for(var a=0;a<e.length;a++)t+=r(a,e);return t}},8708:function(e,r,t){"use strict";var a=t(199),s=t(7447),i=t(7224),n=t(4841),u=t(4432);e.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(e,r,t){var a=this._refs[t];if(typeof a=="string"){if(this._refs[a])a=this._refs[a];else return resolve.call(this,e,r,a)}a=a||this._schemas[t];if(a instanceof n){return inlineRef(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a)}var s=resolveSchema.call(this,r,t);var i,u,o;if(s){i=s.schema;r=s.root;o=s.baseId}if(i instanceof n){u=i.validate||e.call(this,i.schema,r,undefined,o)}else if(i!==undefined){u=inlineRef(i,this._opts.inlineRefs)?i:e.call(this,i,r,undefined,o)}return u}function resolveSchema(e,r){var t=a.parse(r),s=_getFullPath(t),i=getFullPath(this._getId(e.schema));if(Object.keys(e.schema).length===0||s!==i){var u=normalizeId(s);var o=this._refs[u];if(typeof o=="string"){return resolveRecursive.call(this,e,o,t)}else if(o instanceof n){if(!o.validate)this._compile(o);e=o}else{o=this._schemas[u];if(o instanceof n){if(!o.validate)this._compile(o);if(u==normalizeId(r))return{schema:o,root:e,baseId:i};e=o}else{return}}if(!e.schema)return;i=getFullPath(this._getId(e.schema))}return getJsonPointer.call(this,t,i,e.schema,e)}function resolveRecursive(e,r,t){var a=resolveSchema.call(this,e,r);if(a){var s=a.schema;var i=a.baseId;e=a.root;var n=this._getId(s);if(n)i=resolveUrl(i,n);return getJsonPointer.call(this,t,i,s,e)}}var o=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,r,t,a){e.fragment=e.fragment||"";if(e.fragment.slice(0,1)!="/")return;var s=e.fragment.split("/");for(var n=1;n<s.length;n++){var u=s[n];if(u){u=i.unescapeFragment(u);t=t[u];if(t===undefined)break;var c;if(!o[u]){c=this._getId(t);if(c)r=resolveUrl(r,c);if(t.$ref){var l=resolveUrl(r,t.$ref);var f=resolveSchema.call(this,a,l);if(f){t=f.schema;a=f.root;r=f.baseId}}}}}if(t!==undefined&&t!==a.schema)return{schema:t,root:a,baseId:r}}var c=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function inlineRef(e,r){if(r===false)return false;if(r===undefined||r===true)return checkNoRef(e);else if(r)return countKeys(e)<=r}function checkNoRef(e){var r;if(Array.isArray(e)){for(var t=0;t<e.length;t++){r=e[t];if(typeof r=="object"&&!checkNoRef(r))return false}}else{for(var a in e){if(a=="$ref")return false;r=e[a];if(typeof r=="object"&&!checkNoRef(r))return false}}return true}function countKeys(e){var r=0,t;if(Array.isArray(e)){for(var a=0;a<e.length;a++){t=e[a];if(typeof t=="object")r+=countKeys(t);if(r==Infinity)return Infinity}}else{for(var s in e){if(s=="$ref")return Infinity;if(c[s]){r++}else{t=e[s];if(typeof t=="object")r+=countKeys(t)+1;if(r==Infinity)return Infinity}}}return r}function getFullPath(e,r){if(r!==false)e=normalizeId(e);var t=a.parse(e);return _getFullPath(t)}function _getFullPath(e){return a.serialize(e).split("#")[0]+"#"}var l=/#\/?$/;function normalizeId(e){return e?e.replace(l,""):""}function resolveUrl(e,r){r=normalizeId(r);return a.resolve(e,r)}function resolveIds(e){var r=normalizeId(this._getId(e));var t={"":r};var n={"":getFullPath(r,false)};var o={};var c=this;u(e,{allKeys:true},(function(e,r,u,l,f,p,h){if(r==="")return;var d=c._getId(e);var m=t[l];var D=n[l]+"/"+f;if(h!==undefined)D+="/"+(typeof h=="number"?h:i.escapeFragment(h));if(typeof d=="string"){d=m=normalizeId(m?a.resolve(m,d):d);var g=c._refs[d];if(typeof g=="string")g=c._refs[g];if(g&&g.schema){if(!s(e,g.schema))throw new Error('id "'+d+'" resolves to more than one schema')}else if(d!=normalizeId(D)){if(d[0]=="#"){if(o[d]&&!s(e,o[d]))throw new Error('id "'+d+'" resolves to more than one schema');o[d]=e}else{c._refs[d]=D}}}t[r]=m;n[r]=D}));return o}},8404:function(e,r,t){"use strict";var a=t(734),s=t(7224).toHash;e.exports=function rules(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var r=["type","$comment"];var t=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var i=["number","integer","string","array","object","boolean","null"];e.all=s(r);e.types=s(i);e.forEach((function(t){t.rules=t.rules.map((function(t){var s;if(typeof t=="object"){var i=Object.keys(t)[0];s=t[i];t=i;s.forEach((function(t){r.push(t);e.all[t]=true}))}r.push(t);var n=e.all[t]={keyword:t,code:a[t],implements:s};return n}));e.all.$comment={keyword:"$comment",code:a.$comment};if(t.type)e.types[t.type]=t}));e.keywords=s(r.concat(t));e.custom={};return e}},4841:function(e,r,t){"use strict";var a=t(7224);e.exports=SchemaObject;function SchemaObject(e){a.copy(e,this)}},7980:function(e){"use strict";e.exports=function ucs2length(e){var r=0,t=e.length,a=0,s;while(a<t){r++;s=e.charCodeAt(a++);if(s>=55296&&s<=56319&&a<t){s=e.charCodeAt(a);if((s&64512)==56320)a++}}return r}},7224:function(e,r,t){"use strict";e.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:t(7447),ucs2length:t(7980),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(e,r){r=r||{};for(var t in e)r[t]=e[t];return r}function checkDataType(e,r,t,a){var s=a?" !== ":" === ",i=a?" || ":" && ",n=a?"!":"",u=a?"":"!";switch(e){case"null":return r+s+"null";case"array":return n+"Array.isArray("+r+")";case"object":return"("+n+r+i+"typeof "+r+s+'"object"'+i+u+"Array.isArray("+r+"))";case"integer":return"(typeof "+r+s+'"number"'+i+u+"("+r+" % 1)"+i+r+s+r+(t?i+n+"isFinite("+r+")":"")+")";case"number":return"(typeof "+r+s+'"'+e+'"'+(t?i+n+"isFinite("+r+")":"")+")";default:return"typeof "+r+s+'"'+e+'"'}}function checkDataTypes(e,r,t){switch(e.length){case 1:return checkDataType(e[0],r,t,true);default:var a="";var s=toHash(e);if(s.array&&s.object){a=s.null?"(":"(!"+r+" || ";a+="typeof "+r+' !== "object")';delete s.null;delete s.array;delete s.object}if(s.number)delete s.integer;for(var i in s)a+=(a?" && ":"")+checkDataType(i,r,t,true);return a}}var a=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(e,r){if(Array.isArray(r)){var t=[];for(var s=0;s<r.length;s++){var i=r[s];if(a[i])t[t.length]=i;else if(e==="array"&&i==="array")t[t.length]=i}if(t.length)return t}else if(a[r]){return[r]}else if(e==="array"&&r==="array"){return["array"]}}function toHash(e){var r={};for(var t=0;t<e.length;t++)r[e[t]]=true;return r}var s=/^[a-z$_][a-z$_0-9]*$/i;var i=/'|\\/g;function getProperty(e){return typeof e=="number"?"["+e+"]":s.test(e)?"."+e:"['"+escapeQuotes(e)+"']"}function escapeQuotes(e){return e.replace(i,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function varOccurences(e,r){r+="[^0-9]";var t=e.match(new RegExp(r,"g"));return t?t.length:0}function varReplace(e,r,t){r+="([^0-9])";t=t.replace(/\$/g,"$$$$");return e.replace(new RegExp(r,"g"),t+"$1")}function schemaHasRules(e,r){if(typeof e=="boolean")return!e;for(var t in e)if(r[t])return true}function schemaHasRulesExcept(e,r,t){if(typeof e=="boolean")return!e&&t!="not";for(var a in e)if(a!=t&&r[a])return true}function schemaUnknownRules(e,r){if(typeof e=="boolean")return;for(var t in e)if(!r[t])return t}function toQuotedString(e){return"'"+escapeQuotes(e)+"'"}function getPathExpr(e,r,t,a){var s=t?"'/' + "+r+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+r+" + ']'":"'[\\'' + "+r+" + '\\']'";return joinPaths(e,s)}function getPath(e,r,t){var a=t?toQuotedString("/"+escapeJsonPointer(r)):toQuotedString(getProperty(r));return joinPaths(e,a)}var n=/^\/(?:[^~]|~0|~1)*$/;var u=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(e,r,t){var a,s,i,o;if(e==="")return"rootData";if(e[0]=="/"){if(!n.test(e))throw new Error("Invalid JSON-pointer: "+e);s=e;i="rootData"}else{o=e.match(u);if(!o)throw new Error("Invalid JSON-pointer: "+e);a=+o[1];s=o[2];if(s=="#"){if(a>=r)throw new Error("Cannot access property/index "+a+" levels up, current level is "+r);return t[r-a]}if(a>r)throw new Error("Cannot access data "+a+" levels up, current level is "+r);i="data"+(r-a||"");if(!s)return i}var c=i;var l=s.split("/");for(var f=0;f<l.length;f++){var p=l[f];if(p){i+=getProperty(unescapeJsonPointer(p));c+=" && "+i}}return c}function joinPaths(e,r){if(e=='""')return r;return(e+" + "+r).replace(/([^\\])' \+ '/g,"$1")}function unescapeFragment(e){return unescapeJsonPointer(decodeURIComponent(e))}function escapeFragment(e){return encodeURIComponent(escapeJsonPointer(e))}function escapeJsonPointer(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},9341:function(e){"use strict";var r=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,t){for(var a=0;a<t.length;a++){e=JSON.parse(JSON.stringify(e));var s=t[a].split("/");var i=e;var n;for(n=1;n<s.length;n++)i=i[s[n]];for(n=0;n<r.length;n++){var u=r[n];var o=i[u];if(o){i[u]={anyOf:[o,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}}}return e}},7125:function(e,r,t){"use strict";var a=t(7136);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:a.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:a.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},9510:function(e){"use strict";e.exports=function generate__limit(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l;var f="data"+(i||"");var p=e.opts.$data&&n&&n.$data,h;if(p){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";h="schema"+s}else{h=n}var d=r=="maximum",m=d?"exclusiveMaximum":"exclusiveMinimum",D=e.schema[m],g=e.opts.$data&&D&&D.$data,E=d?"<":">",y=d?">":"<",l=undefined;if(!(p||typeof n=="number"||n===undefined)){throw new Error(r+" must be number")}if(!(g||D===undefined||typeof D=="number"||typeof D=="boolean")){throw new Error(m+" must be number or boolean")}if(g){var A=e.util.getData(D.$data,i,e.dataPathArr),C="exclusive"+s,F="exclType"+s,b="exclIsNumber"+s,P="op"+s,w="' + "+P+" + '";a+=" var schemaExcl"+s+" = "+A+"; ";A="schemaExcl"+s;a+=" var "+C+"; var "+F+" = typeof "+A+"; if ("+F+" != 'boolean' && "+F+" != 'undefined' && "+F+" != 'number') { ";var l=m;var S=S||[];S.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(l||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: '"+m+" should be boolean' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var I=a;a=S.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+I+"]); "}else{a+=" validate.errors = ["+I+"]; return false; "}}else{a+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else if ( ";if(p){a+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "}a+=" "+F+" == 'number' ? ( ("+C+" = "+h+" === undefined || "+A+" "+E+"= "+h+") ? "+f+" "+y+"= "+A+" : "+f+" "+y+" "+h+" ) : ( ("+C+" = "+A+" === true) ? "+f+" "+y+"= "+h+" : "+f+" "+y+" "+h+" ) || "+f+" !== "+f+") { var op"+s+" = "+C+" ? '"+E+"' : '"+E+"='; ";if(n===undefined){l=m;o=e.errSchemaPath+"/"+m;h=A;p=g}}else{var b=typeof D=="number",w=E;if(b&&p){var P="'"+w+"'";a+=" if ( ";if(p){a+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "}a+=" ( "+h+" === undefined || "+D+" "+E+"= "+h+" ? "+f+" "+y+"= "+D+" : "+f+" "+y+" "+h+" ) || "+f+" !== "+f+") { "}else{if(b&&n===undefined){C=true;l=m;o=e.errSchemaPath+"/"+m;h=D;y+="="}else{if(b)h=Math[d?"min":"max"](D,n);if(D===(b?h:true)){C=true;l=m;o=e.errSchemaPath+"/"+m;y+="="}else{C=false;w+="="}}var P="'"+w+"'";a+=" if ( ";if(p){a+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "}a+=" "+f+" "+y+" "+h+" || "+f+" !== "+f+") { "}}l=l||r;var S=S||[];S.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(l||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { comparison: "+P+", limit: "+h+", exclusive: "+C+" } ";if(e.opts.messages!==false){a+=" , message: 'should be "+w+" ";if(p){a+="' + "+h}else{a+=""+h+"'"}}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+u}else{a+=""+n}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var I=a;a=S.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+I+"]); "}else{a+=" validate.errors = ["+I+"]; return false; "}}else{a+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";if(c){a+=" else { "}return a}},2982:function(e){"use strict";e.exports=function generate__limitItems(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l;var f="data"+(i||"");var p=e.opts.$data&&n&&n.$data,h;if(p){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";h="schema"+s}else{h=n}if(!(p||typeof n=="number")){throw new Error(r+" must be number")}var d=r=="maxItems"?">":"<";a+="if ( ";if(p){a+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "}a+=" "+f+".length "+d+" "+h+") { ";var l=r;var m=m||[];m.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(l||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { limit: "+h+" } ";if(e.opts.messages!==false){a+=" , message: 'should NOT have ";if(r=="maxItems"){a+="more"}else{a+="fewer"}a+=" than ";if(p){a+="' + "+h+" + '"}else{a+=""+n}a+=" items' "}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+u}else{a+=""+n}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var D=a;a=m.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+D+"]); "}else{a+=" validate.errors = ["+D+"]; return false; "}}else{a+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(c){a+=" else { "}return a}},8598:function(e){"use strict";e.exports=function generate__limitLength(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l;var f="data"+(i||"");var p=e.opts.$data&&n&&n.$data,h;if(p){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";h="schema"+s}else{h=n}if(!(p||typeof n=="number")){throw new Error(r+" must be number")}var d=r=="maxLength"?">":"<";a+="if ( ";if(p){a+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "}if(e.opts.unicode===false){a+=" "+f+".length "}else{a+=" ucs2length("+f+") "}a+=" "+d+" "+h+") { ";var l=r;var m=m||[];m.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(l||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { limit: "+h+" } ";if(e.opts.messages!==false){a+=" , message: 'should NOT be ";if(r=="maxLength"){a+="longer"}else{a+="shorter"}a+=" than ";if(p){a+="' + "+h+" + '"}else{a+=""+n}a+=" characters' "}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+u}else{a+=""+n}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var D=a;a=m.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+D+"]); "}else{a+=" validate.errors = ["+D+"]; return false; "}}else{a+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(c){a+=" else { "}return a}},1667:function(e){"use strict";e.exports=function generate__limitProperties(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l;var f="data"+(i||"");var p=e.opts.$data&&n&&n.$data,h;if(p){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";h="schema"+s}else{h=n}if(!(p||typeof n=="number")){throw new Error(r+" must be number")}var d=r=="maxProperties"?">":"<";a+="if ( ";if(p){a+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "}a+=" Object.keys("+f+").length "+d+" "+h+") { ";var l=r;var m=m||[];m.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(l||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { limit: "+h+" } ";if(e.opts.messages!==false){a+=" , message: 'should NOT have ";if(r=="maxProperties"){a+="more"}else{a+="fewer"}a+=" than ";if(p){a+="' + "+h+" + '"}else{a+=""+n}a+=" properties' "}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+u}else{a+=""+n}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var D=a;a=m.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+D+"]); "}else{a+=" validate.errors = ["+D+"]; return false; "}}else{a+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(c){a+=" else { "}return a}},1308:function(e){"use strict";e.exports=function generate_allOf(e,r,t){var a=" ";var s=e.schema[r];var i=e.schemaPath+e.util.getProperty(r);var n=e.errSchemaPath+"/"+r;var u=!e.opts.allErrors;var o=e.util.copy(e);var c="";o.level++;var l="valid"+o.level;var f=o.baseId,p=true;var h=s;if(h){var d,m=-1,D=h.length-1;while(m<D){d=h[m+=1];if(e.opts.strictKeywords?typeof d=="object"&&Object.keys(d).length>0||d===false:e.util.schemaHasRules(d,e.RULES.all)){p=false;o.schema=d;o.schemaPath=i+"["+m+"]";o.errSchemaPath=n+"/"+m;a+=" "+e.validate(o)+" ";o.baseId=f;if(u){a+=" if ("+l+") { ";c+="}"}}}}if(u){if(p){a+=" if (true) { "}else{a+=" "+c.slice(0,-1)+" "}}return a}},7128:function(e){"use strict";e.exports=function generate_anyOf(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p="errs__"+s;var h=e.util.copy(e);var d="";h.level++;var m="valid"+h.level;var D=n.every((function(r){return e.opts.strictKeywords?typeof r=="object"&&Object.keys(r).length>0||r===false:e.util.schemaHasRules(r,e.RULES.all)}));if(D){var g=h.baseId;a+=" var "+p+" = errors; var "+f+" = false; ";var E=e.compositeRule;e.compositeRule=h.compositeRule=true;var y=n;if(y){var A,C=-1,F=y.length-1;while(C<F){A=y[C+=1];h.schema=A;h.schemaPath=u+"["+C+"]";h.errSchemaPath=o+"/"+C;a+=" "+e.validate(h)+" ";h.baseId=g;a+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ";d+="}"}}e.compositeRule=h.compositeRule=E;a+=" "+d+" if (!"+f+") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"anyOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'should match some schema in anyOf' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}a+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";if(e.opts.allErrors){a+=" } "}}else{if(c){a+=" if (true) { "}}return a}},3365:function(e){"use strict";e.exports=function generate_comment(e,r,t){var a=" ";var s=e.schema[r];var i=e.errSchemaPath+"/"+r;var n=!e.opts.allErrors;var u=e.util.toQuotedString(s);if(e.opts.$comment===true){a+=" console.log("+u+");"}else if(typeof e.opts.$comment=="function"){a+=" self._opts.$comment("+u+", "+e.util.toQuotedString(i)+", validate.root.schema);"}return a}},3507:function(e){"use strict";e.exports=function generate_const(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p=e.opts.$data&&n&&n.$data,h;if(p){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";h="schema"+s}else{h=n}if(!p){a+=" var schema"+s+" = validate.schema"+u+";"}a+="var "+f+" = equal("+l+", schema"+s+"); if (!"+f+") { ";var d=d||[];d.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { allowedValue: schema"+s+" } ";if(e.opts.messages!==false){a+=" , message: 'should be equal to constant' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var m=a;a=d.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+m+"]); "}else{a+=" validate.errors = ["+m+"]; return false; "}}else{a+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" }";if(c){a+=" else { "}return a}},3348:function(e){"use strict";e.exports=function generate_contains(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p="errs__"+s;var h=e.util.copy(e);var d="";h.level++;var m="valid"+h.level;var D="i"+s,g=h.dataLevel=e.dataLevel+1,E="data"+g,y=e.baseId,A=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===false:e.util.schemaHasRules(n,e.RULES.all);a+="var "+p+" = errors;var "+f+";";if(A){var C=e.compositeRule;e.compositeRule=h.compositeRule=true;h.schema=n;h.schemaPath=u;h.errSchemaPath=o;a+=" var "+m+" = false; for (var "+D+" = 0; "+D+" < "+l+".length; "+D+"++) { ";h.errorPath=e.util.getPathExpr(e.errorPath,D,e.opts.jsonPointers,true);var F=l+"["+D+"]";h.dataPathArr[g]=D;var b=e.validate(h);h.baseId=y;if(e.util.varOccurences(b,E)<2){a+=" "+e.util.varReplace(b,E,F)+" "}else{a+=" var "+E+" = "+F+"; "+b+" "}a+=" if ("+m+") break; } ";e.compositeRule=h.compositeRule=C;a+=" "+d+" if (!"+m+") {"}else{a+=" if ("+l+".length == 0) {"}var P=P||[];P.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'should contain a valid item' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var w=a;a=P.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+w+"]); "}else{a+=" validate.errors = ["+w+"]; return false; "}}else{a+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else { ";if(A){a+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "}if(e.opts.allErrors){a+=" } "}return a}},9481:function(e){"use strict";e.exports=function generate_custom(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l;var f="data"+(i||"");var p="valid"+s;var h="errs__"+s;var d=e.opts.$data&&n&&n.$data,m;if(d){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";m="schema"+s}else{m=n}var D=this,g="definition"+s,E=D.definition,y="";var A,C,F,b,P;if(d&&E.$data){P="keywordValidate"+s;var w=E.validateSchema;a+=" var "+g+" = RULES.custom['"+r+"'].definition; var "+P+" = "+g+".validate;"}else{b=e.useCustomRule(D,n,e.schema,e);if(!b)return;m="validate.schema"+u;P=b.code;A=E.compile;C=E.inline;F=E.macro}var S=P+".errors",I="i"+s,x="ruleErr"+s,R=E.async;if(R&&!e.async)throw new Error("async keyword in sync schema");if(!(C||F)){a+=""+S+" = null;"}a+="var "+h+" = errors;var "+p+";";if(d&&E.$data){y+="}";a+=" if ("+m+" === undefined) { "+p+" = true; } else { ";if(w){y+="}";a+=" "+p+" = "+g+".validateSchema("+m+"); if ("+p+") { "}}if(C){if(E.statements){a+=" "+b.validate+" "}else{a+=" "+p+" = "+b.validate+"; "}}else if(F){var B=e.util.copy(e);var y="";B.level++;var $="valid"+B.level;B.schema=b.validate;B.schemaPath="";var O=e.compositeRule;e.compositeRule=B.compositeRule=true;var _=e.validate(B).replace(/validate\.schema/g,P);e.compositeRule=B.compositeRule=O;a+=" "+_}else{var N=N||[];N.push(a);a="";a+=" "+P+".call( ";if(e.opts.passContext){a+="this"}else{a+="self"}if(A||E.schema===false){a+=" , "+f+" "}else{a+=" , "+m+" , "+f+" , validate.schema"+e.schemaPath+" "}a+=" , (dataPath || '')";if(e.errorPath!='""'){a+=" + "+e.errorPath}var k=i?"data"+(i-1||""):"parentData",j=i?e.dataPathArr[i]:"parentDataProperty";a+=" , "+k+" , "+j+" , rootData ) ";var T=a;a=N.pop();if(E.errors===false){a+=" "+p+" = ";if(R){a+="await "}a+=""+T+"; "}else{if(R){S="customErrors"+s;a+=" var "+S+" = null; try { "+p+" = await "+T+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+S+" = e.errors; else throw e; } "}else{a+=" "+S+" = null; "+p+" = "+T+"; "}}}if(E.modifying){a+=" if ("+k+") "+f+" = "+k+"["+j+"];"}a+=""+y;if(E.valid){if(c){a+=" if (true) { "}}else{a+=" if ( ";if(E.valid===undefined){a+=" !";if(F){a+=""+$}else{a+=""+p}}else{a+=" "+!E.valid+" "}a+=") { ";l=D.keyword;var N=N||[];N.push(a);a="";var N=N||[];N.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(l||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { keyword: '"+D.keyword+"' } ";if(e.opts.messages!==false){a+=" , message: 'should pass \""+D.keyword+"\" keyword validation' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}var L=a;a=N.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+L+"]); "}else{a+=" validate.errors = ["+L+"]; return false; "}}else{a+=" var err = "+L+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var M=a;a=N.pop();if(C){if(E.errors){if(E.errors!="full"){a+=" for (var "+I+"="+h+"; "+I+"<errors; "+I+"++) { var "+x+" = vErrors["+I+"]; if ("+x+".dataPath === undefined) "+x+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+x+".schemaPath === undefined) { "+x+'.schemaPath = "'+o+'"; } ';if(e.opts.verbose){a+=" "+x+".schema = "+m+"; "+x+".data = "+f+"; "}a+=" } "}}else{if(E.errors===false){a+=" "+M+" "}else{a+=" if ("+h+" == errors) { "+M+" } else { for (var "+I+"="+h+"; "+I+"<errors; "+I+"++) { var "+x+" = vErrors["+I+"]; if ("+x+".dataPath === undefined) "+x+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+x+".schemaPath === undefined) { "+x+'.schemaPath = "'+o+'"; } ';if(e.opts.verbose){a+=" "+x+".schema = "+m+"; "+x+".data = "+f+"; "}a+=" } } "}}}else if(F){a+=" var err = ";if(e.createErrors!==false){a+=" { keyword: '"+(l||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { keyword: '"+D.keyword+"' } ";if(e.opts.messages!==false){a+=" , message: 'should pass \""+D.keyword+"\" keyword validation' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}}else{if(E.errors===false){a+=" "+M+" "}else{a+=" if (Array.isArray("+S+")) { if (vErrors === null) vErrors = "+S+"; else vErrors = vErrors.concat("+S+"); errors = vErrors.length; for (var "+I+"="+h+"; "+I+"<errors; "+I+"++) { var "+x+" = vErrors["+I+"]; if ("+x+".dataPath === undefined) "+x+".dataPath = (dataPath || '') + "+e.errorPath+"; "+x+'.schemaPath = "'+o+'"; ';if(e.opts.verbose){a+=" "+x+".schema = "+m+"; "+x+".data = "+f+"; "}a+=" } } else { "+M+" } "}}a+=" } ";if(c){a+=" else { "}}return a}},7862:function(e){"use strict";e.exports=function generate_dependencies(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="errs__"+s;var p=e.util.copy(e);var h="";p.level++;var d="valid"+p.level;var m={},D={},g=e.opts.ownProperties;for(C in n){if(C=="__proto__")continue;var E=n[C];var y=Array.isArray(E)?D:m;y[C]=E}a+="var "+f+" = errors;";var A=e.errorPath;a+="var missing"+s+";";for(var C in D){y=D[C];if(y.length){a+=" if ( "+l+e.util.getProperty(C)+" !== undefined ";if(g){a+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(C)+"') "}if(c){a+=" && ( ";var F=y;if(F){var b,P=-1,w=F.length-1;while(P<w){b=F[P+=1];if(P){a+=" || "}var S=e.util.getProperty(b),I=l+S;a+=" ( ( "+I+" === undefined ";if(g){a+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(b)+"') "}a+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?b:S)+") ) "}}a+=")) { ";var x="missing"+s,R="' + "+x+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(A,x,true):A+" + "+x}var B=B||[];B.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { property: '"+e.util.escapeQuotes(C)+"', missingProperty: '"+R+"', depsCount: "+y.length+", deps: '"+e.util.escapeQuotes(y.length==1?y[0]:y.join(", "))+"' } ";if(e.opts.messages!==false){a+=" , message: 'should have ";if(y.length==1){a+="property "+e.util.escapeQuotes(y[0])}else{a+="properties "+e.util.escapeQuotes(y.join(", "))}a+=" when property "+e.util.escapeQuotes(C)+" is present' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var $=a;a=B.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+$+"]); "}else{a+=" validate.errors = ["+$+"]; return false; "}}else{a+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{a+=" ) { ";var O=y;if(O){var b,_=-1,N=O.length-1;while(_<N){b=O[_+=1];var S=e.util.getProperty(b),R=e.util.escapeQuotes(b),I=l+S;if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(A,b,e.opts.jsonPointers)}a+=" if ( "+I+" === undefined ";if(g){a+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(b)+"') "}a+=") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { property: '"+e.util.escapeQuotes(C)+"', missingProperty: '"+R+"', depsCount: "+y.length+", deps: '"+e.util.escapeQuotes(y.length==1?y[0]:y.join(", "))+"' } ";if(e.opts.messages!==false){a+=" , message: 'should have ";if(y.length==1){a+="property "+e.util.escapeQuotes(y[0])}else{a+="properties "+e.util.escapeQuotes(y.join(", "))}a+=" when property "+e.util.escapeQuotes(C)+" is present' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}a+=" } ";if(c){h+="}";a+=" else { "}}}e.errorPath=A;var k=p.baseId;for(var C in m){var E=m[C];if(e.opts.strictKeywords?typeof E=="object"&&Object.keys(E).length>0||E===false:e.util.schemaHasRules(E,e.RULES.all)){a+=" "+d+" = true; if ( "+l+e.util.getProperty(C)+" !== undefined ";if(g){a+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(C)+"') "}a+=") { ";p.schema=E;p.schemaPath=u+e.util.getProperty(C);p.errSchemaPath=o+"/"+e.util.escapeFragment(C);a+=" "+e.validate(p)+" ";p.baseId=k;a+=" } ";if(c){a+=" if ("+d+") { ";h+="}"}}}if(c){a+=" "+h+" if ("+f+" == errors) {"}return a}},3691:function(e){"use strict";e.exports=function generate_enum(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p=e.opts.$data&&n&&n.$data,h;if(p){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";h="schema"+s}else{h=n}var d="i"+s,m="schema"+s;if(!p){a+=" var "+m+" = validate.schema"+u+";"}a+="var "+f+";";if(p){a+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"}a+=""+f+" = false;for (var "+d+"=0; "+d+"<"+m+".length; "+d+"++) if (equal("+l+", "+m+"["+d+"])) { "+f+" = true; break; }";if(p){a+=" } "}a+=" if (!"+f+") { ";var D=D||[];D.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { allowedValues: schema"+s+" } ";if(e.opts.messages!==false){a+=" , message: 'should be equal to one of the allowed values' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var g=a;a=D.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+g+"]); "}else{a+=" validate.errors = ["+g+"]; return false; "}}else{a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" }";if(c){a+=" else { "}return a}},1811:function(e){"use strict";e.exports=function generate_format(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");if(e.opts.format===false){if(c){a+=" if (true) { "}return a}var f=e.opts.$data&&n&&n.$data,p;if(f){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";p="schema"+s}else{p=n}var h=e.opts.unknownFormats,d=Array.isArray(h);if(f){var m="format"+s,D="isObject"+s,g="formatType"+s;a+=" var "+m+" = formats["+p+"]; var "+D+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+g+" = "+D+" && "+m+".type || 'string'; if ("+D+") { ";if(e.async){a+=" var async"+s+" = "+m+".async; "}a+=" "+m+" = "+m+".validate; } if ( ";if(f){a+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "}a+=" (";if(h!="ignore"){a+=" ("+p+" && !"+m+" ";if(d){a+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "}a+=") || "}a+=" ("+m+" && "+g+" == '"+t+"' && !(typeof "+m+" == 'function' ? ";if(e.async){a+=" (async"+s+" ? await "+m+"("+l+") : "+m+"("+l+")) "}else{a+=" "+m+"("+l+") "}a+=" : "+m+".test("+l+"))))) {"}else{var m=e.formats[n];if(!m){if(h=="ignore"){e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"');if(c){a+=" if (true) { "}return a}else if(d&&h.indexOf(n)>=0){if(c){a+=" if (true) { "}return a}else{throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}}var D=typeof m=="object"&&!(m instanceof RegExp)&&m.validate;var g=D&&m.type||"string";if(D){var E=m.async===true;m=m.validate}if(g!=t){if(c){a+=" if (true) { "}return a}if(E){if(!e.async)throw new Error("async format in sync schema");var y="formats"+e.util.getProperty(n)+".validate";a+=" if (!(await "+y+"("+l+"))) { "}else{a+=" if (! ";var y="formats"+e.util.getProperty(n);if(D)y+=".validate";if(typeof m=="function"){a+=" "+y+"("+l+") "}else{a+=" "+y+".test("+l+") "}a+=") { "}}var A=A||[];A.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { format: ";if(f){a+=""+p}else{a+=""+e.util.toQuotedString(n)}a+=" } ";if(e.opts.messages!==false){a+=" , message: 'should match format \"";if(f){a+="' + "+p+" + '"}else{a+=""+e.util.escapeQuotes(n)}a+="\"' "}if(e.opts.verbose){a+=" , schema: ";if(f){a+="validate.schema"+u}else{a+=""+e.util.toQuotedString(n)}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var C=a;a=A.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+C+"]); "}else{a+=" validate.errors = ["+C+"]; return false; "}}else{a+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";if(c){a+=" else { "}return a}},2678:function(e){"use strict";e.exports=function generate_if(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p="errs__"+s;var h=e.util.copy(e);h.level++;var d="valid"+h.level;var m=e.schema["then"],D=e.schema["else"],g=m!==undefined&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===false:e.util.schemaHasRules(m,e.RULES.all)),E=D!==undefined&&(e.opts.strictKeywords?typeof D=="object"&&Object.keys(D).length>0||D===false:e.util.schemaHasRules(D,e.RULES.all)),y=h.baseId;if(g||E){var A;h.createErrors=false;h.schema=n;h.schemaPath=u;h.errSchemaPath=o;a+=" var "+p+" = errors; var "+f+" = true; ";var C=e.compositeRule;e.compositeRule=h.compositeRule=true;a+=" "+e.validate(h)+" ";h.baseId=y;h.createErrors=true;a+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";e.compositeRule=h.compositeRule=C;if(g){a+=" if ("+d+") { ";h.schema=e.schema["then"];h.schemaPath=e.schemaPath+".then";h.errSchemaPath=e.errSchemaPath+"/then";a+=" "+e.validate(h)+" ";h.baseId=y;a+=" "+f+" = "+d+"; ";if(g&&E){A="ifClause"+s;a+=" var "+A+" = 'then'; "}else{A="'then'"}a+=" } ";if(E){a+=" else { "}}else{a+=" if (!"+d+") { "}if(E){h.schema=e.schema["else"];h.schemaPath=e.schemaPath+".else";h.errSchemaPath=e.errSchemaPath+"/else";a+=" "+e.validate(h)+" ";h.baseId=y;a+=" "+f+" = "+d+"; ";if(g&&E){A="ifClause"+s;a+=" var "+A+" = 'else'; "}else{A="'else'"}a+=" } "}a+=" if (!"+f+") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { failingKeyword: "+A+" } ";if(e.opts.messages!==false){a+=" , message: 'should match \"' + "+A+" + '\" schema' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}a+=" } ";if(c){a+=" else { "}}else{if(c){a+=" if (true) { "}}return a}},734:function(e,r,t){"use strict";e.exports={$ref:t(6915),allOf:t(1308),anyOf:t(7128),$comment:t(3365),const:t(3507),contains:t(3348),dependencies:t(7862),enum:t(3691),format:t(1811),if:t(2678),items:t(7540),maximum:t(9510),minimum:t(9510),maxItems:t(2982),minItems:t(2982),maxLength:t(8598),minLength:t(8598),maxProperties:t(1667),minProperties:t(1667),multipleOf:t(2958),not:t(4453),oneOf:t(8899),pattern:t(5476),properties:t(6435),propertyNames:t(3862),required:t(3478),uniqueItems:t(6266),validate:t(2801)}},7540:function(e){"use strict";e.exports=function generate_items(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p="errs__"+s;var h=e.util.copy(e);var d="";h.level++;var m="valid"+h.level;var D="i"+s,g=h.dataLevel=e.dataLevel+1,E="data"+g,y=e.baseId;a+="var "+p+" = errors;var "+f+";";if(Array.isArray(n)){var A=e.schema.additionalItems;if(A===false){a+=" "+f+" = "+l+".length <= "+n.length+"; ";var C=o;o=e.errSchemaPath+"/additionalItems";a+=" if (!"+f+") { ";var F=F||[];F.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { limit: "+n.length+" } ";if(e.opts.messages!==false){a+=" , message: 'should NOT have more than "+n.length+" items' "}if(e.opts.verbose){a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var b=a;a=F.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+b+"]); "}else{a+=" validate.errors = ["+b+"]; return false; "}}else{a+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";o=C;if(c){d+="}";a+=" else { "}}var P=n;if(P){var w,S=-1,I=P.length-1;while(S<I){w=P[S+=1];if(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===false:e.util.schemaHasRules(w,e.RULES.all)){a+=" "+m+" = true; if ("+l+".length > "+S+") { ";var x=l+"["+S+"]";h.schema=w;h.schemaPath=u+"["+S+"]";h.errSchemaPath=o+"/"+S;h.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,true);h.dataPathArr[g]=S;var R=e.validate(h);h.baseId=y;if(e.util.varOccurences(R,E)<2){a+=" "+e.util.varReplace(R,E,x)+" "}else{a+=" var "+E+" = "+x+"; "+R+" "}a+=" } ";if(c){a+=" if ("+m+") { ";d+="}"}}}}if(typeof A=="object"&&(e.opts.strictKeywords?typeof A=="object"&&Object.keys(A).length>0||A===false:e.util.schemaHasRules(A,e.RULES.all))){h.schema=A;h.schemaPath=e.schemaPath+".additionalItems";h.errSchemaPath=e.errSchemaPath+"/additionalItems";a+=" "+m+" = true; if ("+l+".length > "+n.length+") { for (var "+D+" = "+n.length+"; "+D+" < "+l+".length; "+D+"++) { ";h.errorPath=e.util.getPathExpr(e.errorPath,D,e.opts.jsonPointers,true);var x=l+"["+D+"]";h.dataPathArr[g]=D;var R=e.validate(h);h.baseId=y;if(e.util.varOccurences(R,E)<2){a+=" "+e.util.varReplace(R,E,x)+" "}else{a+=" var "+E+" = "+x+"; "+R+" "}if(c){a+=" if (!"+m+") break; "}a+=" } } ";if(c){a+=" if ("+m+") { ";d+="}"}}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===false:e.util.schemaHasRules(n,e.RULES.all)){h.schema=n;h.schemaPath=u;h.errSchemaPath=o;a+=" for (var "+D+" = "+0+"; "+D+" < "+l+".length; "+D+"++) { ";h.errorPath=e.util.getPathExpr(e.errorPath,D,e.opts.jsonPointers,true);var x=l+"["+D+"]";h.dataPathArr[g]=D;var R=e.validate(h);h.baseId=y;if(e.util.varOccurences(R,E)<2){a+=" "+e.util.varReplace(R,E,x)+" "}else{a+=" var "+E+" = "+x+"; "+R+" "}if(c){a+=" if (!"+m+") break; "}a+=" }"}if(c){a+=" "+d+" if ("+p+" == errors) {"}return a}},2958:function(e){"use strict";e.exports=function generate_multipleOf(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f=e.opts.$data&&n&&n.$data,p;if(f){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";p="schema"+s}else{p=n}if(!(f||typeof n=="number")){throw new Error(r+" must be number")}a+="var division"+s+";if (";if(f){a+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "}a+=" (division"+s+" = "+l+" / "+p+", ";if(e.opts.multipleOfPrecision){a+=" Math.abs(Math.round(division"+s+") - division"+s+") > 1e-"+e.opts.multipleOfPrecision+" "}else{a+=" division"+s+" !== parseInt(division"+s+") "}a+=" ) ";if(f){a+=" ) "}a+=" ) { ";var h=h||[];h.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { multipleOf: "+p+" } ";if(e.opts.messages!==false){a+=" , message: 'should be multiple of ";if(f){a+="' + "+p}else{a+=""+p+"'"}}if(e.opts.verbose){a+=" , schema: ";if(f){a+="validate.schema"+u}else{a+=""+n}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var d=a;a=h.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+d+"]); "}else{a+=" validate.errors = ["+d+"]; return false; "}}else{a+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(c){a+=" else { "}return a}},4453:function(e){"use strict";e.exports=function generate_not(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="errs__"+s;var p=e.util.copy(e);p.level++;var h="valid"+p.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===false:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n;p.schemaPath=u;p.errSchemaPath=o;a+=" var "+f+" = errors; ";var d=e.compositeRule;e.compositeRule=p.compositeRule=true;p.createErrors=false;var m;if(p.opts.allErrors){m=p.opts.allErrors;p.opts.allErrors=false}a+=" "+e.validate(p)+" ";p.createErrors=true;if(m)p.opts.allErrors=m;e.compositeRule=p.compositeRule=d;a+=" if ("+h+") { ";var D=D||[];D.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'should NOT be valid' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var g=a;a=D.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+g+"]); "}else{a+=" validate.errors = ["+g+"]; return false; "}}else{a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ";if(e.opts.allErrors){a+=" } "}}else{a+=" var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'should NOT be valid' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(c){a+=" if (false) { "}}return a}},8899:function(e){"use strict";e.exports=function generate_oneOf(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p="errs__"+s;var h=e.util.copy(e);var d="";h.level++;var m="valid"+h.level;var D=h.baseId,g="prevValid"+s,E="passingSchemas"+s;a+="var "+p+" = errors , "+g+" = false , "+f+" = false , "+E+" = null; ";var y=e.compositeRule;e.compositeRule=h.compositeRule=true;var A=n;if(A){var C,F=-1,b=A.length-1;while(F<b){C=A[F+=1];if(e.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===false:e.util.schemaHasRules(C,e.RULES.all)){h.schema=C;h.schemaPath=u+"["+F+"]";h.errSchemaPath=o+"/"+F;a+=" "+e.validate(h)+" ";h.baseId=D}else{a+=" var "+m+" = true; "}if(F){a+=" if ("+m+" && "+g+") { "+f+" = false; "+E+" = ["+E+", "+F+"]; } else { ";d+="}"}a+=" if ("+m+") { "+f+" = "+g+" = true; "+E+" = "+F+"; }"}}e.compositeRule=h.compositeRule=y;a+=""+d+"if (!"+f+") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { passingSchemas: "+E+" } ";if(e.opts.messages!==false){a+=" , message: 'should match exactly one schema in oneOf' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}a+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }";if(e.opts.allErrors){a+=" } "}return a}},5476:function(e){"use strict";e.exports=function generate_pattern(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f=e.opts.$data&&n&&n.$data,p;if(f){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";p="schema"+s}else{p=n}var h=f?"(new RegExp("+p+"))":e.usePattern(n);a+="if ( ";if(f){a+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "}a+=" !"+h+".test("+l+") ) { ";var d=d||[];d.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { pattern: ";if(f){a+=""+p}else{a+=""+e.util.toQuotedString(n)}a+=" } ";if(e.opts.messages!==false){a+=" , message: 'should match pattern \"";if(f){a+="' + "+p+" + '"}else{a+=""+e.util.escapeQuotes(n)}a+="\"' "}if(e.opts.verbose){a+=" , schema: ";if(f){a+="validate.schema"+u}else{a+=""+e.util.toQuotedString(n)}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var m=a;a=d.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+m+"]); "}else{a+=" validate.errors = ["+m+"]; return false; "}}else{a+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+="} ";if(c){a+=" else { "}return a}},6435:function(e){"use strict";e.exports=function generate_properties(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="errs__"+s;var p=e.util.copy(e);var h="";p.level++;var d="valid"+p.level;var m="key"+s,D="idx"+s,g=p.dataLevel=e.dataLevel+1,E="data"+g,y="dataProperties"+s;var A=Object.keys(n||{}).filter(notProto),C=e.schema.patternProperties||{},F=Object.keys(C).filter(notProto),b=e.schema.additionalProperties,P=A.length||F.length,w=b===false,S=typeof b=="object"&&Object.keys(b).length,I=e.opts.removeAdditional,x=w||S||I,R=e.opts.ownProperties,B=e.baseId;var $=e.schema.required;if($&&!(e.opts.$data&&$.$data)&&$.length<e.opts.loopRequired){var O=e.util.toHash($)}function notProto(e){return e!=="__proto__"}a+="var "+f+" = errors;var "+d+" = true;";if(R){a+=" var "+y+" = undefined;"}if(x){if(R){a+=" "+y+" = "+y+" || Object.keys("+l+"); for (var "+D+"=0; "+D+"<"+y+".length; "+D+"++) { var "+m+" = "+y+"["+D+"]; "}else{a+=" for (var "+m+" in "+l+") { "}if(P){a+=" var isAdditional"+s+" = !(false ";if(A.length){if(A.length>8){a+=" || validate.schema"+u+".hasOwnProperty("+m+") "}else{var _=A;if(_){var N,k=-1,j=_.length-1;while(k<j){N=_[k+=1];a+=" || "+m+" == "+e.util.toQuotedString(N)+" "}}}}if(F.length){var T=F;if(T){var L,M=-1,q=T.length-1;while(M<q){L=T[M+=1];a+=" || "+e.usePattern(L)+".test("+m+") "}}}a+=" ); if (isAdditional"+s+") { "}if(I=="all"){a+=" delete "+l+"["+m+"]; "}else{var Q=e.errorPath;var z="' + "+m+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)}if(w){if(I){a+=" delete "+l+"["+m+"]; "}else{a+=" "+d+" = false; ";var V=o;o=e.errSchemaPath+"/additionalProperties";var U=U||[];U.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"additionalProperties"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { additionalProperty: '"+z+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is an invalid additional property"}else{a+="should NOT have additional properties"}a+="' "}if(e.opts.verbose){a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var H=a;a=U.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+H+"]); "}else{a+=" validate.errors = ["+H+"]; return false; "}}else{a+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}o=V;if(c){a+=" break; "}}}else if(S){if(I=="failing"){a+=" var "+f+" = errors; ";var J=e.compositeRule;e.compositeRule=p.compositeRule=true;p.schema=b;p.schemaPath=e.schemaPath+".additionalProperties";p.errSchemaPath=e.errSchemaPath+"/additionalProperties";p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var G=l+"["+m+"]";p.dataPathArr[g]=m;var K=e.validate(p);p.baseId=B;if(e.util.varOccurences(K,E)<2){a+=" "+e.util.varReplace(K,E,G)+" "}else{a+=" var "+E+" = "+G+"; "+K+" "}a+=" if (!"+d+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+l+"["+m+"]; } ";e.compositeRule=p.compositeRule=J}else{p.schema=b;p.schemaPath=e.schemaPath+".additionalProperties";p.errSchemaPath=e.errSchemaPath+"/additionalProperties";p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var G=l+"["+m+"]";p.dataPathArr[g]=m;var K=e.validate(p);p.baseId=B;if(e.util.varOccurences(K,E)<2){a+=" "+e.util.varReplace(K,E,G)+" "}else{a+=" var "+E+" = "+G+"; "+K+" "}if(c){a+=" if (!"+d+") break; "}}}e.errorPath=Q}if(P){a+=" } "}a+=" } ";if(c){a+=" if ("+d+") { ";h+="}"}}var X=e.opts.useDefaults&&!e.compositeRule;if(A.length){var Z=A;if(Z){var N,Y=-1,W=Z.length-1;while(Y<W){N=Z[Y+=1];var ee=n[N];if(e.opts.strictKeywords?typeof ee=="object"&&Object.keys(ee).length>0||ee===false:e.util.schemaHasRules(ee,e.RULES.all)){var re=e.util.getProperty(N),G=l+re,te=X&&ee.default!==undefined;p.schema=ee;p.schemaPath=u+re;p.errSchemaPath=o+"/"+e.util.escapeFragment(N);p.errorPath=e.util.getPath(e.errorPath,N,e.opts.jsonPointers);p.dataPathArr[g]=e.util.toQuotedString(N);var K=e.validate(p);p.baseId=B;if(e.util.varOccurences(K,E)<2){K=e.util.varReplace(K,E,G);var ae=G}else{var ae=E;a+=" var "+E+" = "+G+"; "}if(te){a+=" "+K+" "}else{if(O&&O[N]){a+=" if ( "+ae+" === undefined ";if(R){a+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(N)+"') "}a+=") { "+d+" = false; ";var Q=e.errorPath,V=o,se=e.util.escapeQuotes(N);if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(Q,N,e.opts.jsonPointers)}o=e.errSchemaPath+"/required";var U=U||[];U.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { missingProperty: '"+se+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+se+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var H=a;a=U.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+H+"]); "}else{a+=" validate.errors = ["+H+"]; return false; "}}else{a+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}o=V;e.errorPath=Q;a+=" } else { "}else{if(c){a+=" if ( "+ae+" === undefined ";if(R){a+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(N)+"') "}a+=") { "+d+" = true; } else { "}else{a+=" if ("+ae+" !== undefined ";if(R){a+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(N)+"') "}a+=" ) { "}}a+=" "+K+" } "}}if(c){a+=" if ("+d+") { ";h+="}"}}}}if(F.length){var ie=F;if(ie){var L,ne=-1,ue=ie.length-1;while(ne<ue){L=ie[ne+=1];var ee=C[L];if(e.opts.strictKeywords?typeof ee=="object"&&Object.keys(ee).length>0||ee===false:e.util.schemaHasRules(ee,e.RULES.all)){p.schema=ee;p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(L);p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(L);if(R){a+=" "+y+" = "+y+" || Object.keys("+l+"); for (var "+D+"=0; "+D+"<"+y+".length; "+D+"++) { var "+m+" = "+y+"["+D+"]; "}else{a+=" for (var "+m+" in "+l+") { "}a+=" if ("+e.usePattern(L)+".test("+m+")) { ";p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var G=l+"["+m+"]";p.dataPathArr[g]=m;var K=e.validate(p);p.baseId=B;if(e.util.varOccurences(K,E)<2){a+=" "+e.util.varReplace(K,E,G)+" "}else{a+=" var "+E+" = "+G+"; "+K+" "}if(c){a+=" if (!"+d+") break; "}a+=" } ";if(c){a+=" else "+d+" = true; "}a+=" } ";if(c){a+=" if ("+d+") { ";h+="}"}}}}}if(c){a+=" "+h+" if ("+f+" == errors) {"}return a}},3862:function(e){"use strict";e.exports=function generate_propertyNames(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="errs__"+s;var p=e.util.copy(e);var h="";p.level++;var d="valid"+p.level;a+="var "+f+" = errors;";if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===false:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n;p.schemaPath=u;p.errSchemaPath=o;var m="key"+s,D="idx"+s,g="i"+s,E="' + "+m+" + '",y=p.dataLevel=e.dataLevel+1,A="data"+y,C="dataProperties"+s,F=e.opts.ownProperties,b=e.baseId;if(F){a+=" var "+C+" = undefined; "}if(F){a+=" "+C+" = "+C+" || Object.keys("+l+"); for (var "+D+"=0; "+D+"<"+C+".length; "+D+"++) { var "+m+" = "+C+"["+D+"]; "}else{a+=" for (var "+m+" in "+l+") { "}a+=" var startErrs"+s+" = errors; ";var P=m;var w=e.compositeRule;e.compositeRule=p.compositeRule=true;var S=e.validate(p);p.baseId=b;if(e.util.varOccurences(S,A)<2){a+=" "+e.util.varReplace(S,A,P)+" "}else{a+=" var "+A+" = "+P+"; "+S+" "}e.compositeRule=p.compositeRule=w;a+=" if (!"+d+") { for (var "+g+"=startErrs"+s+"; "+g+"<errors; "+g+"++) { vErrors["+g+"].propertyName = "+m+"; } var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"propertyNames"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { propertyName: '"+E+"' } ";if(e.opts.messages!==false){a+=" , message: 'property name \\'"+E+"\\' is invalid' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; return false; "}}if(c){a+=" break; "}a+=" } }"}if(c){a+=" "+h+" if ("+f+" == errors) {"}return a}},6915:function(e){"use strict";e.exports=function generate_ref(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.errSchemaPath+"/"+r;var o=!e.opts.allErrors;var c="data"+(i||"");var l="valid"+s;var f,p;if(n=="#"||n=="#/"){if(e.isRoot){f=e.async;p="validate"}else{f=e.root.schema.$async===true;p="root.refVal[0]"}}else{var h=e.resolveRef(e.baseId,n,e.isRoot);if(h===undefined){var d=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(d);var m=m||[];m.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ";if(e.opts.messages!==false){a+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "}if(e.opts.verbose){a+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}a+=" } "}else{a+=" {} "}var D=a;a=m.pop();if(!e.compositeRule&&o){if(e.async){a+=" throw new ValidationError(["+D+"]); "}else{a+=" validate.errors = ["+D+"]; return false; "}}else{a+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(o){a+=" if (false) { "}}else if(e.opts.missingRefs=="ignore"){e.logger.warn(d);if(o){a+=" if (true) { "}}else{throw new e.MissingRefError(e.baseId,n,d)}}else if(h.inline){var g=e.util.copy(e);g.level++;var E="valid"+g.level;g.schema=h.schema;g.schemaPath="";g.errSchemaPath=n;var y=e.validate(g).replace(/validate\.schema/g,h.code);a+=" "+y+" ";if(o){a+=" if ("+E+") { "}}else{f=h.$async===true||e.async&&h.$async!==false;p=h.code}}if(p){var m=m||[];m.push(a);a="";if(e.opts.passContext){a+=" "+p+".call(this, "}else{a+=" "+p+"( "}a+=" "+c+", (dataPath || '')";if(e.errorPath!='""'){a+=" + "+e.errorPath}var A=i?"data"+(i-1||""):"parentData",C=i?e.dataPathArr[i]:"parentDataProperty";a+=" , "+A+" , "+C+", rootData) ";var F=a;a=m.pop();if(f){if(!e.async)throw new Error("async schema referenced by sync schema");if(o){a+=" var "+l+"; "}a+=" try { await "+F+"; ";if(o){a+=" "+l+" = true; "}a+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(o){a+=" "+l+" = false; "}a+=" } ";if(o){a+=" if ("+l+") { "}}else{a+=" if (!"+F+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ";if(o){a+=" else { "}}}return a}},3478:function(e){"use strict";e.exports=function generate_required(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p=e.opts.$data&&n&&n.$data,h;if(p){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";h="schema"+s}else{h=n}var d="schema"+s;if(!p){if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var m=[];var D=n;if(D){var g,E=-1,y=D.length-1;while(E<y){g=D[E+=1];var A=e.schema.properties[g];if(!(A&&(e.opts.strictKeywords?typeof A=="object"&&Object.keys(A).length>0||A===false:e.util.schemaHasRules(A,e.RULES.all)))){m[m.length]=g}}}}else{var m=n}}if(p||m.length){var C=e.errorPath,F=p||m.length>=e.opts.loopRequired,b=e.opts.ownProperties;if(c){a+=" var missing"+s+"; ";if(F){if(!p){a+=" var "+d+" = validate.schema"+u+"; "}var P="i"+s,w="schema"+s+"["+P+"]",S="' + "+w+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(C,w,e.opts.jsonPointers)}a+=" var "+f+" = true; ";if(p){a+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"}a+=" for (var "+P+" = 0; "+P+" < "+d+".length; "+P+"++) { "+f+" = "+l+"["+d+"["+P+"]] !== undefined ";if(b){a+=" && Object.prototype.hasOwnProperty.call("+l+", "+d+"["+P+"]) "}a+="; if (!"+f+") break; } ";if(p){a+=" } "}a+=" if (!"+f+") { ";var I=I||[];I.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { missingProperty: '"+S+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+S+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var x=a;a=I.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+x+"]); "}else{a+=" validate.errors = ["+x+"]; return false; "}}else{a+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else { "}else{a+=" if ( ";var R=m;if(R){var B,P=-1,$=R.length-1;while(P<$){B=R[P+=1];if(P){a+=" || "}var O=e.util.getProperty(B),_=l+O;a+=" ( ( "+_+" === undefined ";if(b){a+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(B)+"') "}a+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:O)+") ) "}}a+=") { ";var w="missing"+s,S="' + "+w+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(C,w,true):C+" + "+w}var I=I||[];I.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { missingProperty: '"+S+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+S+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var x=a;a=I.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+x+"]); "}else{a+=" validate.errors = ["+x+"]; return false; "}}else{a+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } else { "}}else{if(F){if(!p){a+=" var "+d+" = validate.schema"+u+"; "}var P="i"+s,w="schema"+s+"["+P+"]",S="' + "+w+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(C,w,e.opts.jsonPointers)}if(p){a+=" if ("+d+" && !Array.isArray("+d+")) { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { missingProperty: '"+S+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+S+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+d+" !== undefined) { "}a+=" for (var "+P+" = 0; "+P+" < "+d+".length; "+P+"++) { if ("+l+"["+d+"["+P+"]] === undefined ";if(b){a+=" || ! Object.prototype.hasOwnProperty.call("+l+", "+d+"["+P+"]) "}a+=") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { missingProperty: '"+S+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+S+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ";if(p){a+=" } "}}else{var N=m;if(N){var B,k=-1,j=N.length-1;while(k<j){B=N[k+=1];var O=e.util.getProperty(B),S=e.util.escapeQuotes(B),_=l+O;if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(C,B,e.opts.jsonPointers)}a+=" if ( "+_+" === undefined ";if(b){a+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(B)+"') "}a+=") { var err = ";if(e.createErrors!==false){a+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { missingProperty: '"+S+"' } ";if(e.opts.messages!==false){a+=" , message: '";if(e.opts._errorDataPathProperty){a+="is a required property"}else{a+="should have required property \\'"+S+"\\'"}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}}e.errorPath=C}else if(c){a+=" if (true) {"}return a}},6266:function(e){"use strict";e.exports=function generate_uniqueItems(e,r,t){var a=" ";var s=e.level;var i=e.dataLevel;var n=e.schema[r];var u=e.schemaPath+e.util.getProperty(r);var o=e.errSchemaPath+"/"+r;var c=!e.opts.allErrors;var l="data"+(i||"");var f="valid"+s;var p=e.opts.$data&&n&&n.$data,h;if(p){a+=" var schema"+s+" = "+e.util.getData(n.$data,i,e.dataPathArr)+"; ";h="schema"+s}else{h=n}if((n||p)&&e.opts.uniqueItems!==false){if(p){a+=" var "+f+"; if ("+h+" === false || "+h+" === undefined) "+f+" = true; else if (typeof "+h+" != 'boolean') "+f+" = false; else { "}a+=" var i = "+l+".length , "+f+" = true , j; if (i > 1) { ";var d=e.schema.items&&e.schema.items.type,m=Array.isArray(d);if(!d||d=="object"||d=="array"||m&&(d.indexOf("object")>=0||d.indexOf("array")>=0)){a+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+l+"[i], "+l+"[j])) { "+f+" = false; break outer; } } } "}else{a+=" var itemIndices = {}, item; for (;i--;) { var item = "+l+"[i]; ";var D="checkDataType"+(m?"s":"");a+=" if ("+e.util[D](d,"item",e.opts.strictNumbers,true)+") continue; ";if(m){a+=" if (typeof item == 'string') item = '\"' + item; "}a+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}a+=" } ";if(p){a+=" } "}a+=" if (!"+f+") { ";var g=g||[];g.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { i: i, j: j } ";if(e.opts.messages!==false){a+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(e.opts.verbose){a+=" , schema: ";if(p){a+="validate.schema"+u}else{a+=""+n}a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}a+=" } "}else{a+=" {} "}var E=a;a=g.pop();if(!e.compositeRule&&c){if(e.async){a+=" throw new ValidationError(["+E+"]); "}else{a+=" validate.errors = ["+E+"]; return false; "}}else{a+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } ";if(c){a+=" else { "}}else{if(c){a+=" if (true) { "}}return a}},2801:function(e){"use strict";e.exports=function generate_validate(e,r,t){var a="";var s=e.schema.$async===true,i=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),n=e.self._getId(e.schema);if(e.opts.strictKeywords){var u=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(u){var o="unknown keyword: "+u;if(e.opts.strictKeywords==="log")e.logger.warn(o);else throw new Error(o)}}if(e.isTop){a+=" var validate = ";if(s){e.async=true;a+="async "}a+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(n&&(e.opts.sourceCode||e.opts.processCode)){a+=" "+("/*# sourceURL="+n+" */")+" "}}if(typeof e.schema=="boolean"||!(i||e.schema.$ref)){var r="false schema";var c=e.level;var l=e.dataLevel;var f=e.schema[r];var p=e.schemaPath+e.util.getProperty(r);var h=e.errSchemaPath+"/"+r;var d=!e.opts.allErrors;var m;var D="data"+(l||"");var g="valid"+c;if(e.schema===false){if(e.isTop){d=true}else{a+=" var "+g+" = false; "}var E=E||[];E.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(m||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: {} ";if(e.opts.messages!==false){a+=" , message: 'boolean schema is false' "}if(e.opts.verbose){a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+D+" "}a+=" } "}else{a+=" {} "}var y=a;a=E.pop();if(!e.compositeRule&&d){if(e.async){a+=" throw new ValidationError(["+y+"]); "}else{a+=" validate.errors = ["+y+"]; return false; "}}else{a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(e.isTop){if(s){a+=" return data; "}else{a+=" validate.errors = null; return true; "}}else{a+=" var "+g+" = true; "}}if(e.isTop){a+=" }; return validate; "}return a}if(e.isTop){var A=e.isTop,c=e.level=0,l=e.dataLevel=0,D="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema));e.baseId=e.baseId||e.rootId;delete e.isTop;e.dataPathArr=[""];if(e.schema.default!==undefined&&e.opts.useDefaults&&e.opts.strictDefaults){var C="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}a+=" var vErrors = null; ";a+=" var errors = 0; ";a+=" if (rootData === undefined) rootData = data; "}else{var c=e.level,l=e.dataLevel,D="data"+(l||"");if(n)e.baseId=e.resolve.url(e.baseId,n);if(s&&!e.async)throw new Error("async schema in sync schema");a+=" var errs_"+c+" = errors;"}var g="valid"+c,d=!e.opts.allErrors,F="",b="";var m;var P=e.schema.type,w=Array.isArray(P);if(P&&e.opts.nullable&&e.schema.nullable===true){if(w){if(P.indexOf("null")==-1)P=P.concat("null")}else if(P!="null"){P=[P,"null"];w=true}}if(w&&P.length==1){P=P[0];w=false}if(e.schema.$ref&&i){if(e.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)')}else if(e.opts.extendRefs!==true){i=false;e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"')}}if(e.schema.$comment&&e.opts.$comment){a+=" "+e.RULES.all.$comment.code(e,"$comment")}if(P){if(e.opts.coerceTypes){var S=e.util.coerceToTypes(e.opts.coerceTypes,P)}var I=e.RULES.types[P];if(S||w||I===true||I&&!$shouldUseGroup(I)){var p=e.schemaPath+".type",h=e.errSchemaPath+"/type";var p=e.schemaPath+".type",h=e.errSchemaPath+"/type",x=w?"checkDataTypes":"checkDataType";a+=" if ("+e.util[x](P,D,e.opts.strictNumbers,true)+") { ";if(S){var R="dataType"+c,B="coerced"+c;a+=" var "+R+" = typeof "+D+"; var "+B+" = undefined; ";if(e.opts.coerceTypes=="array"){a+=" if ("+R+" == 'object' && Array.isArray("+D+") && "+D+".length == 1) { "+D+" = "+D+"[0]; "+R+" = typeof "+D+"; if ("+e.util.checkDataType(e.schema.type,D,e.opts.strictNumbers)+") "+B+" = "+D+"; } "}a+=" if ("+B+" !== undefined) ; ";var $=S;if($){var O,_=-1,N=$.length-1;while(_<N){O=$[_+=1];if(O=="string"){a+=" else if ("+R+" == 'number' || "+R+" == 'boolean') "+B+" = '' + "+D+"; else if ("+D+" === null) "+B+" = ''; "}else if(O=="number"||O=="integer"){a+=" else if ("+R+" == 'boolean' || "+D+" === null || ("+R+" == 'string' && "+D+" && "+D+" == +"+D+" ";if(O=="integer"){a+=" && !("+D+" % 1)"}a+=")) "+B+" = +"+D+"; "}else if(O=="boolean"){a+=" else if ("+D+" === 'false' || "+D+" === 0 || "+D+" === null) "+B+" = false; else if ("+D+" === 'true' || "+D+" === 1) "+B+" = true; "}else if(O=="null"){a+=" else if ("+D+" === '' || "+D+" === 0 || "+D+" === false) "+B+" = null; "}else if(e.opts.coerceTypes=="array"&&O=="array"){a+=" else if ("+R+" == 'string' || "+R+" == 'number' || "+R+" == 'boolean' || "+D+" == null) "+B+" = ["+D+"]; "}}}a+=" else { ";var E=E||[];E.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { type: '";if(w){a+=""+P.join(",")}else{a+=""+P}a+="' } ";if(e.opts.messages!==false){a+=" , message: 'should be ";if(w){a+=""+P.join(",")}else{a+=""+P}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+D+" "}a+=" } "}else{a+=" {} "}var y=a;a=E.pop();if(!e.compositeRule&&d){if(e.async){a+=" throw new ValidationError(["+y+"]); "}else{a+=" validate.errors = ["+y+"]; return false; "}}else{a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } if ("+B+" !== undefined) { ";var k=l?"data"+(l-1||""):"parentData",j=l?e.dataPathArr[l]:"parentDataProperty";a+=" "+D+" = "+B+"; ";if(!l){a+="if ("+k+" !== undefined)"}a+=" "+k+"["+j+"] = "+B+"; } "}else{var E=E||[];E.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { type: '";if(w){a+=""+P.join(",")}else{a+=""+P}a+="' } ";if(e.opts.messages!==false){a+=" , message: 'should be ";if(w){a+=""+P.join(",")}else{a+=""+P}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+D+" "}a+=" } "}else{a+=" {} "}var y=a;a=E.pop();if(!e.compositeRule&&d){if(e.async){a+=" throw new ValidationError(["+y+"]); "}else{a+=" validate.errors = ["+y+"]; return false; "}}else{a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}a+=" } "}}if(e.schema.$ref&&!i){a+=" "+e.RULES.all.$ref.code(e,"$ref")+" ";if(d){a+=" } if (errors === ";if(A){a+="0"}else{a+="errs_"+c}a+=") { ";b+="}"}}else{var T=e.RULES;if(T){var I,L=-1,M=T.length-1;while(L<M){I=T[L+=1];if($shouldUseGroup(I)){if(I.type){a+=" if ("+e.util.checkDataType(I.type,D,e.opts.strictNumbers)+") { "}if(e.opts.useDefaults){if(I.type=="object"&&e.schema.properties){var f=e.schema.properties,q=Object.keys(f);var Q=q;if(Q){var z,V=-1,U=Q.length-1;while(V<U){z=Q[V+=1];var H=f[z];if(H.default!==undefined){var J=D+e.util.getProperty(z);if(e.compositeRule){if(e.opts.strictDefaults){var C="default is ignored for: "+J;if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}}else{a+=" if ("+J+" === undefined ";if(e.opts.useDefaults=="empty"){a+=" || "+J+" === null || "+J+" === '' "}a+=" ) "+J+" = ";if(e.opts.useDefaults=="shared"){a+=" "+e.useDefault(H.default)+" "}else{a+=" "+JSON.stringify(H.default)+" "}a+="; "}}}}}else if(I.type=="array"&&Array.isArray(e.schema.items)){var G=e.schema.items;if(G){var H,_=-1,K=G.length-1;while(_<K){H=G[_+=1];if(H.default!==undefined){var J=D+"["+_+"]";if(e.compositeRule){if(e.opts.strictDefaults){var C="default is ignored for: "+J;if(e.opts.strictDefaults==="log")e.logger.warn(C);else throw new Error(C)}}else{a+=" if ("+J+" === undefined ";if(e.opts.useDefaults=="empty"){a+=" || "+J+" === null || "+J+" === '' "}a+=" ) "+J+" = ";if(e.opts.useDefaults=="shared"){a+=" "+e.useDefault(H.default)+" "}else{a+=" "+JSON.stringify(H.default)+" "}a+="; "}}}}}}var X=I.rules;if(X){var Z,Y=-1,W=X.length-1;while(Y<W){Z=X[Y+=1];if($shouldUseRule(Z)){var ee=Z.code(e,Z.keyword,I.type);if(ee){a+=" "+ee+" ";if(d){F+="}"}}}}}if(d){a+=" "+F+" ";F=""}if(I.type){a+=" } ";if(P&&P===I.type&&!S){a+=" else { ";var p=e.schemaPath+".type",h=e.errSchemaPath+"/type";var E=E||[];E.push(a);a="";if(e.createErrors!==false){a+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { type: '";if(w){a+=""+P.join(",")}else{a+=""+P}a+="' } ";if(e.opts.messages!==false){a+=" , message: 'should be ";if(w){a+=""+P.join(",")}else{a+=""+P}a+="' "}if(e.opts.verbose){a+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+D+" "}a+=" } "}else{a+=" {} "}var y=a;a=E.pop();if(!e.compositeRule&&d){if(e.async){a+=" throw new ValidationError(["+y+"]); "}else{a+=" validate.errors = ["+y+"]; return false; "}}else{a+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } "}}if(d){a+=" if (errors === ";if(A){a+="0"}else{a+="errs_"+c}a+=") { ";b+="}"}}}}}if(d){a+=" "+b+" "}if(A){if(s){a+=" if (errors === 0) return data; ";a+=" else throw new ValidationError(vErrors); "}else{a+=" validate.errors = vErrors; ";a+=" return errors === 0; "}a+=" }; return validate;"}else{a+=" var "+g+" = errors === errs_"+c+";"}function $shouldUseGroup(e){var r=e.rules;for(var t=0;t<r.length;t++)if($shouldUseRule(r[t]))return true}function $shouldUseRule(r){return e.schema[r.keyword]!==undefined||r.implements&&$ruleImplementsSomeKeyword(r)}function $ruleImplementsSomeKeyword(r){var t=r.implements;for(var a=0;a<t.length;a++)if(e.schema[t[a]]!==undefined)return true}return a}},398:function(e,r,t){"use strict";var a=/^[a-z_$][a-z0-9_$-]*$/i;var s=t(9481);var i=t(7125);e.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(e,r){var t=this.RULES;if(t.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!a.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(r){this.validateKeyword(r,true);var i=r.type;if(Array.isArray(i)){for(var n=0;n<i.length;n++)_addRule(e,i[n],r)}else{_addRule(e,i,r)}var u=r.metaSchema;if(u){if(r.$data&&this._opts.$data){u={anyOf:[u,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}r.validateSchema=this.compile(u,true)}}t.keywords[e]=t.all[e]=true;function _addRule(e,r,a){var i;for(var n=0;n<t.length;n++){var u=t[n];if(u.type==r){i=u;break}}if(!i){i={type:r,rules:[]};t.push(i)}var o={keyword:e,definition:a,custom:true,code:s,implements:a.implements};i.rules.push(o);t.custom[e]=o}return this}function getKeyword(e){var r=this.RULES.custom[e];return r?r.definition:this.RULES.keywords[e]||false}function removeKeyword(e){var r=this.RULES;delete r.keywords[e];delete r.all[e];delete r.custom[e];for(var t=0;t<r.length;t++){var a=r[t].rules;for(var s=0;s<a.length;s++){if(a[s].keyword==e){a.splice(s,1);break}}}return this}function validateKeyword(e,r){validateKeyword.errors=null;var t=this._validateKeyword=this._validateKeyword||this.compile(i,true);if(t(e))return true;validateKeyword.errors=t.errors;if(r)throw new Error("custom keyword definition is invalid: "+this.errorsText(t.errors));else return false}},5769:function(e){"use strict";const r=/^[^:]+: /;const format=e=>{if(e instanceof SyntaxError){e.name="SyntaxError";e.message=e.message.replace(r,"");e.hideStack=true}else if(e instanceof TypeError){e.name=null;e.message=e.message.replace(r,"");e.hideStack=true}return e};class LoaderError extends Error{constructor(e){super();const{name:r,message:t,codeFrame:a,hideStack:s}=format(e);this.name="BabelLoaderError";this.message=`${r?`${r}: `:""}${t}\n\n${a}\n`;this.hideStack=s;Error.captureStackTrace(this,this.constructor)}}e.exports=LoaderError},7097:function(e,r,t){"use strict";function asyncGeneratorStep(e,r,t,a,s,i,n){try{var u=e[i](n);var o=u.value}catch(e){t(e);return}if(u.done){r(o)}else{Promise.resolve(o).then(a,s)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise((function(a,s){var i=e.apply(r,t);function _next(e){asyncGeneratorStep(i,a,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,a,s,_next,_throw,"throw",e)}_next(undefined)}))}}const a=t(7147);const s=t(2037);const i=t(1017);const n=t(9796);const u=t(6113);const o=t(4954);const{promisify:c}=t(3837);const l=t(8650);let f=null;let p="md4";try{u.createHash(p)}catch(e){p="md5"}const h=c(a.readFile);const d=c(a.writeFile);const m=c(n.gunzip);const D=c(n.gzip);const g=t(8465);const E=function(){var e=_asyncToGenerator((function*(e,r){const t=yield h(e+(r?".gz":""));const a=r?yield m(t):t;return JSON.parse(a.toString())}));return function read(r,t){return e.apply(this,arguments)}}();const y=function(){var e=_asyncToGenerator((function*(e,r,t){const a=JSON.stringify(t);const s=r?yield D(a):a;return yield d(e+(r?".gz":""),s)}));return function write(r,t,a){return e.apply(this,arguments)}}();const filename=function(e,r,t){const a=u.createHash(p);const s=JSON.stringify({source:e,options:t,identifier:r});a.update(s);return a.digest("hex")+".json"};const A=function(){var e=_asyncToGenerator((function*(e,r){const{source:t,options:a={},cacheIdentifier:n,cacheDirectory:u,cacheCompression:o}=r;const c=i.join(e,filename(t,n,a));try{return yield E(c,o)}catch(e){}const f=typeof u!=="string"&&e!==s.tmpdir();try{yield g(e)}catch(e){if(f){return A(s.tmpdir(),r)}throw e}const p=yield l(t,a);try{yield y(c,o,p)}catch(e){if(f){return A(s.tmpdir(),r)}throw e}return p}));return function handleCache(r,t){return e.apply(this,arguments)}}();e.exports=function(){var e=_asyncToGenerator((function*(e){let r;if(typeof e.cacheDirectory==="string"){r=e.cacheDirectory}else{if(f===null){f=o({name:"babel-loader"})||s.tmpdir()}r=f}return yield A(r,e)}));return function(r){return e.apply(this,arguments)}}()},6050:function(e,r,t){"use strict";function asyncGeneratorStep(e,r,t,a,s,i,n){try{var u=e[i](n);var o=u.value}catch(e){t(e);return}if(u.done){r(o)}else{Promise.resolve(o).then(a,s)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise((function(a,s){var i=e.apply(r,t);function _next(e){asyncGeneratorStep(i,a,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,a,s,_next,_throw,"throw",e)}_next(undefined)}))}}let a;try{a=t(7117)}catch(e){if(e.code==="MODULE_NOT_FOUND"){e.message+="\n babel-loader@8 requires Babel 7.x (the package '@babel/core'). "+"If you'd like to use Babel 6.x ('babel-core'), you should install 'babel-loader@7'."}throw e}if(/^6\./.test(a.version)){throw new Error("\n babel-loader@8 will not work with the '@babel/core@6' bridge package. "+"If you want to use Babel 6.x, install 'babel-loader@7'.")}const{version:s}=t(9325);const i=t(7097);const n=t(8650);const u=t(4034);const o=t(5286);const{isAbsolute:c}=t(1017);const l=t(4727);const f=t(7189);function subscribe(e,r,t){if(t[e]){t[e](r)}}e.exports=makeLoader();e.exports.custom=makeLoader;function makeLoader(e){const r=e?e(a):undefined;return function(e,t){const a=this.async();loader.call(this,e,t,r).then((e=>a(null,...e)),(e=>a(e)))}}function loader(e,r,t){return _loader.apply(this,arguments)}function _loader(){_loader=_asyncToGenerator((function*(e,r,t){const p=this.resourcePath;let h=l.getOptions(this);f(o,h,{name:"Babel loader"});if(h.customize!=null){if(typeof h.customize!=="string"){throw new Error("Customized loaders must be implemented as standalone modules.")}if(!c(h.customize)){throw new Error("Customized loaders must be passed as absolute paths, since "+"babel-loader has no way to know what they would be relative to.")}if(t){throw new Error("babel-loader's 'customize' option is not available when already "+"using a customized babel-loader wrapper.")}let e=require(h.customize);if(e.__esModule)e=e.default;if(typeof e!=="function"){throw new Error("Custom overrides must be functions.")}t=e(a)}let d;if(t&&t.customOptions){const a=yield t.customOptions.call(this,h,{source:e,map:r});d=a.custom;h=a.loader}if("forceEnv"in h){console.warn("The option `forceEnv` has been removed in favor of `envName` in Babel 7.")}if(typeof h.babelrc==="string"){console.warn("The option `babelrc` should not be set to a string anymore in the babel-loader config. "+"Please update your configuration and set `babelrc` to true or false.\n"+"If you want to specify a specific babel config file to inherit config from "+"please use the `extends` option.\nFor more information about this options see "+"https://babeljs.io/docs/core-packages/#options")}if(Object.prototype.hasOwnProperty.call(h,"sourceMap")&&!Object.prototype.hasOwnProperty.call(h,"sourceMaps")){h=Object.assign({},h,{sourceMaps:h.sourceMap});delete h.sourceMap}const m=Object.assign({},h,{filename:p,inputSourceMap:r||undefined,sourceMaps:h.sourceMaps===undefined?this.sourceMap:h.sourceMaps,sourceFileName:p});delete m.customize;delete m.cacheDirectory;delete m.cacheIdentifier;delete m.cacheCompression;delete m.metadataSubscribers;if(!a.loadPartialConfig){throw new Error(`babel-loader ^8.0.0-beta.3 requires @babel/core@7.0.0-beta.41, but `+`you appear to be using "${a.version}". Either update your `+`@babel/core version, or pin you babel-loader version to 8.0.0-beta.2`)}const{loadPartialConfigAsync:D=a.loadPartialConfig}=a;const g=yield D(u(m,this.target));if(g){let a=g.options;if(t&&t.config){a=yield t.config.call(this,g,{source:e,map:r,customOptions:d})}if(a.sourceMaps==="inline"){a.sourceMaps=true}const{cacheDirectory:u=null,cacheIdentifier:o=JSON.stringify({options:a,"@babel/core":n.version,"@babel/loader":s}),cacheCompression:c=true,metadataSubscribers:l=[]}=h;let f;if(u){f=yield i({source:e,options:a,transform:n,cacheDirectory:u,cacheIdentifier:o,cacheCompression:c})}else{f=yield n(e,a)}if(g.files){g.files.forEach((e=>this.addDependency(e)))}else{if(typeof g.babelrc==="string"){this.addDependency(g.babelrc)}if(g.config){this.addDependency(g.config)}}if(f){if(t&&t.result){f=yield t.result.call(this,f,{source:e,map:r,customOptions:d,config:g,options:a})}const{code:s,map:i,metadata:n}=f;l.forEach((e=>{subscribe(e,n,this)}));return[s,i]}}return[e,r]}));return _loader.apply(this,arguments)}},4034:function(e,r,t){"use strict";const a=t(7117);e.exports=function injectCaller(e,r){if(!supportsCallerOption())return e;return Object.assign({},e,{caller:Object.assign({name:"babel-loader",target:r,supportsStaticESM:true,supportsDynamicImport:true,supportsTopLevelAwait:true},e.caller)})};let s=undefined;function supportsCallerOption(){if(s===undefined){try{a.loadPartialConfig({caller:undefined,babelrc:false,configFile:false});s=true}catch(e){s=false}}return s}},8650:function(e,r,t){"use strict";function asyncGeneratorStep(e,r,t,a,s,i,n){try{var u=e[i](n);var o=u.value}catch(e){t(e);return}if(u.done){r(o)}else{Promise.resolve(o).then(a,s)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise((function(a,s){var i=e.apply(r,t);function _next(e){asyncGeneratorStep(i,a,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,a,s,_next,_throw,"throw",e)}_next(undefined)}))}}const a=t(7117);const{promisify:s}=t(3837);const i=t(5769);const n=s(a.transform);e.exports=function(){var e=_asyncToGenerator((function*(e,r){let t;try{t=yield n(e,r)}catch(e){throw e.message&&e.codeFrame?new i(e):e}if(!t)return null;const{ast:a,code:s,map:u,metadata:o,sourceType:c}=t;if(u&&(!u.sourcesContent||!u.sourcesContent.length)){u.sourcesContent=[e]}return{ast:a,code:s,map:u,metadata:o,sourceType:c}}));return function(r,t){return e.apply(this,arguments)}}();e.exports.version=a.version},8134:function(e){(function(r){"use strict";var t,a=20,s=1,i=1e6,n=1e6,u=-7,o=21,c="[big.js] ",l=c+"Invalid ",f=l+"decimal places",p=l+"rounding mode",h=c+"Division by zero",d={},m=void 0,D=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big(e){var r=this;if(!(r instanceof Big))return e===m?_Big_():new Big(e);if(e instanceof Big){r.s=e.s;r.e=e.e;r.c=e.c.slice()}else{parse(r,e)}r.constructor=Big}Big.prototype=d;Big.DP=a;Big.RM=s;Big.NE=u;Big.PE=o;Big.version="5.2.2";return Big}function parse(e,r){var t,a,s;if(r===0&&1/r<0)r="-0";else if(!D.test(r+=""))throw Error(l+"number");e.s=r.charAt(0)=="-"?(r=r.slice(1),-1):1;if((t=r.indexOf("."))>-1)r=r.replace(".","");if((a=r.search(/e/i))>0){if(t<0)t=a;t+=+r.slice(a+1);r=r.substring(0,a)}else if(t<0){t=r.length}s=r.length;for(a=0;a<s&&r.charAt(a)=="0";)++a;if(a==s){e.c=[e.e=0]}else{for(;s>0&&r.charAt(--s)=="0";);e.e=t-a-1;e.c=[];for(t=0;a<=s;)e.c[t++]=+r.charAt(a++)}return e}function round(e,r,t,a){var s=e.c,i=e.e+r+1;if(i<s.length){if(t===1){a=s[i]>=5}else if(t===2){a=s[i]>5||s[i]==5&&(a||i<0||s[i+1]!==m||s[i-1]&1)}else if(t===3){a=a||!!s[0]}else{a=false;if(t!==0)throw Error(p)}if(i<1){s.length=1;if(a){e.e=-r;s[0]=1}else{s[0]=e.e=0}}else{s.length=i--;if(a){for(;++s[i]>9;){s[i]=0;if(!i--){++e.e;s.unshift(1)}}}for(i=s.length;!s[--i];)s.pop()}}else if(t<0||t>3||t!==~~t){throw Error(p)}return e}function stringify(e,r,t,a){var s,n,u=e.constructor,o=!e.c[0];if(t!==m){if(t!==~~t||t<(r==3)||t>i){throw Error(r==3?l+"precision":f)}e=new u(e);t=a-e.e;if(e.c.length>++a)round(e,t,u.RM);if(r==2)a=e.e+t+1;for(;e.c.length<a;)e.c.push(0)}s=e.e;n=e.c.join("");t=n.length;if(r!=2&&(r==1||r==3&&a<=s||s<=u.NE||s>=u.PE)){n=n.charAt(0)+(t>1?"."+n.slice(1):"")+(s<0?"e":"e+")+s}else if(s<0){for(;++s;)n="0"+n;n="0."+n}else if(s>0){if(++s>t)for(s-=t;s--;)n+="0";else if(s<t)n=n.slice(0,s)+"."+n.slice(s)}else if(t>1){n=n.charAt(0)+"."+n.slice(1)}return e.s<0&&(!o||r==4)?"-"+n:n}d.abs=function(){var e=new this.constructor(this);e.s=1;return e};d.cmp=function(e){var r,t=this,a=t.c,s=(e=new t.constructor(e)).c,i=t.s,n=e.s,u=t.e,o=e.e;if(!a[0]||!s[0])return!a[0]?!s[0]?0:-n:i;if(i!=n)return i;r=i<0;if(u!=o)return u>o^r?1:-1;n=(u=a.length)<(o=s.length)?u:o;for(i=-1;++i<n;){if(a[i]!=s[i])return a[i]>s[i]^r?1:-1}return u==o?0:u>o^r?1:-1};d.div=function(e){var r=this,t=r.constructor,a=r.c,s=(e=new t(e)).c,n=r.s==e.s?1:-1,u=t.DP;if(u!==~~u||u<0||u>i)throw Error(f);if(!s[0])throw Error(h);if(!a[0])return new t(n*0);var o,c,l,p,d,D=s.slice(),g=o=s.length,E=a.length,y=a.slice(0,o),A=y.length,C=e,F=C.c=[],b=0,P=u+(C.e=r.e-e.e)+1;C.s=n;n=P<0?0:P;D.unshift(0);for(;A++<o;)y.push(0);do{for(l=0;l<10;l++){if(o!=(A=y.length)){p=o>A?1:-1}else{for(d=-1,p=0;++d<o;){if(s[d]!=y[d]){p=s[d]>y[d]?1:-1;break}}}if(p<0){for(c=A==o?s:D;A;){if(y[--A]<c[A]){d=A;for(;d&&!y[--d];)y[d]=9;--y[d];y[A]+=10}y[A]-=c[A]}for(;!y[0];)y.shift()}else{break}}F[b++]=p?l:++l;if(y[0]&&p)y[A]=a[g]||0;else y=[a[g]]}while((g++<E||y[0]!==m)&&n--);if(!F[0]&&b!=1){F.shift();C.e--}if(b>P)round(C,u,t.RM,y[0]!==m);return C};d.eq=function(e){return!this.cmp(e)};d.gt=function(e){return this.cmp(e)>0};d.gte=function(e){return this.cmp(e)>-1};d.lt=function(e){return this.cmp(e)<0};d.lte=function(e){return this.cmp(e)<1};d.minus=d.sub=function(e){var r,t,a,s,i=this,n=i.constructor,u=i.s,o=(e=new n(e)).s;if(u!=o){e.s=-o;return i.plus(e)}var c=i.c.slice(),l=i.e,f=e.c,p=e.e;if(!c[0]||!f[0]){return f[0]?(e.s=-o,e):new n(c[0]?i:0)}if(u=l-p){if(s=u<0){u=-u;a=c}else{p=l;a=f}a.reverse();for(o=u;o--;)a.push(0);a.reverse()}else{t=((s=c.length<f.length)?c:f).length;for(u=o=0;o<t;o++){if(c[o]!=f[o]){s=c[o]<f[o];break}}}if(s){a=c;c=f;f=a;e.s=-e.s}if((o=(t=f.length)-(r=c.length))>0)for(;o--;)c[r++]=0;for(o=r;t>u;){if(c[--t]<f[t]){for(r=t;r&&!c[--r];)c[r]=9;--c[r];c[t]+=10}c[t]-=f[t]}for(;c[--o]===0;)c.pop();for(;c[0]===0;){c.shift();--p}if(!c[0]){e.s=1;c=[p=0]}e.c=c;e.e=p;return e};d.mod=function(e){var r,t=this,a=t.constructor,s=t.s,i=(e=new a(e)).s;if(!e.c[0])throw Error(h);t.s=e.s=1;r=e.cmp(t)==1;t.s=s;e.s=i;if(r)return new a(t);s=a.DP;i=a.RM;a.DP=a.RM=0;t=t.div(e);a.DP=s;a.RM=i;return this.minus(t.times(e))};d.plus=d.add=function(e){var r,t=this,a=t.constructor,s=t.s,i=(e=new a(e)).s;if(s!=i){e.s=-i;return t.minus(e)}var n=t.e,u=t.c,o=e.e,c=e.c;if(!u[0]||!c[0])return c[0]?e:new a(u[0]?t:s*0);u=u.slice();if(s=n-o){if(s>0){o=n;r=c}else{s=-s;r=u}r.reverse();for(;s--;)r.push(0);r.reverse()}if(u.length-c.length<0){r=c;c=u;u=r}s=c.length;for(i=0;s;u[s]%=10)i=(u[--s]=u[s]+c[s]+i)/10|0;if(i){u.unshift(i);++o}for(s=u.length;u[--s]===0;)u.pop();e.c=u;e.e=o;return e};d.pow=function(e){var r=this,t=new r.constructor(1),a=t,s=e<0;if(e!==~~e||e<-n||e>n)throw Error(l+"exponent");if(s)e=-e;for(;;){if(e&1)a=a.times(r);e>>=1;if(!e)break;r=r.times(r)}return s?t.div(a):a};d.round=function(e,r){var t=this.constructor;if(e===m)e=0;else if(e!==~~e||e<-i||e>i)throw Error(f);return round(new t(this),e,r===m?t.RM:r)};d.sqrt=function(){var e,r,t,a=this,s=a.constructor,i=a.s,n=a.e,u=new s(.5);if(!a.c[0])return new s(a);if(i<0)throw Error(c+"No square root");i=Math.sqrt(a+"");if(i===0||i===1/0){r=a.c.join("");if(!(r.length+n&1))r+="0";i=Math.sqrt(r);n=((n+1)/2|0)-(n<0||n&1);e=new s((i==1/0?"1e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+n)}else{e=new s(i)}n=e.e+(s.DP+=4);do{t=e;e=u.times(t.plus(a.div(t)))}while(t.c.slice(0,n).join("")!==e.c.slice(0,n).join(""));return round(e,s.DP-=4,s.RM)};d.times=d.mul=function(e){var r,t=this,a=t.constructor,s=t.c,i=(e=new a(e)).c,n=s.length,u=i.length,o=t.e,c=e.e;e.s=t.s==e.s?1:-1;if(!s[0]||!i[0])return new a(e.s*0);e.e=o+c;if(n<u){r=s;s=i;i=r;c=n;n=u;u=c}for(r=new Array(c=n+u);c--;)r[c]=0;for(o=u;o--;){u=0;for(c=n+o;c>o;){u=r[c]+i[o]*s[c-o-1]+u;r[c--]=u%10;u=u/10|0}r[c]=(r[c]+u)%10}if(u)++e.e;else r.shift();for(o=r.length;!r[--o];)r.pop();e.c=r;return e};d.toExponential=function(e){return stringify(this,1,e,e)};d.toFixed=function(e){return stringify(this,2,e,this.e+e)};d.toPrecision=function(e){return stringify(this,3,e,e-1)};d.toString=function(){return stringify(this)};d.valueOf=d.toJSON=function(){return stringify(this,4)};t=_Big_();t["default"]=t.Big=t;if(typeof define==="function"&&define.amd){define((function(){return t}))}else if(true&&e.exports){e.exports=t}else{r.Big=t}})(this)},3849:function(e,r,t){var a=t(1017);e.exports=function(e,r){if(r){var t=r.map((function(r){return a.resolve(e,r)}))}else{var t=e}var s=t.slice(1).reduce((function(e,r){if(!r.match(/^([A-Za-z]:)?\/|\\/)){throw new Error("relative path without a basedir")}var t=r.split(/\/+|\\+/);for(var a=0;e[a]===t[a]&&a<Math.min(e.length,t.length);a++);return e.slice(0,a)}),t[0].split(/\/+|\\+/));return s.length>1?s.join("/"):"/"}},9876:function(e){e.exports=["🀄️","🃏","🅰️","🅱️","🅾️","🅿️","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂️","🈚️","🈯️","🈲","🈳","🈴","🈵","🈶","🈷️","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶️","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽️","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖️","🎗️","🎙️","🎚️","🎛️","🎞️","🎟️","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻♀️","🏃🏻♂️","🏃🏻","🏃🏼♀️","🏃🏼♂️","🏃🏼","🏃🏽♀️","🏃🏽♂️","🏃🏽","🏃🏾♀️","🏃🏾♂️","🏃🏾","🏃🏿♀️","🏃🏿♂️","🏃🏿","🏃♀️","🏃♂️","🏃","🏄🏻♀️","🏄🏻♂️","🏄🏻","🏄🏼♀️","🏄🏼♂️","🏄🏼","🏄🏽♀️","🏄🏽♂️","🏄🏽","🏄🏾♀️","🏄🏾♂️","🏄🏾","🏄🏿♀️","🏄🏿♂️","🏄🏿","🏄♀️","🏄♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻♀️","🏊🏻♂️","🏊🏻","🏊🏼♀️","🏊🏼♂️","🏊🏼","🏊🏽♀️","🏊🏽♂️","🏊🏽","🏊🏾♀️","🏊🏾♂️","🏊🏾","🏊🏿♀️","🏊🏿♂️","🏊🏿","🏊♀️","🏊♂️","🏊","🏋🏻♀️","🏋🏻♂️","🏋🏻","🏋🏼♀️","🏋🏼♂️","🏋🏼","🏋🏽♀️","🏋🏽♂️","🏋🏽","🏋🏾♀️","🏋🏾♂️","🏋🏾","🏋🏿♀️","🏋🏿♂️","🏋🏿","🏋️♀️","🏋️♂️","🏋️","🏌🏻♀️","🏌🏻♂️","🏌🏻","🏌🏼♀️","🏌🏼♂️","🏌🏼","🏌🏽♀️","🏌🏽♂️","🏌🏽","🏌🏾♀️","🏌🏾♂️","🏌🏾","🏌🏿♀️","🏌🏿♂️","🏌🏿","🏌️♀️","🏌️♂️","🏌️","🏍️","🏎️","🏏","🏐","🏑","🏒","🏓","🏔️","🏕️","🏖️","🏗️","🏘️","🏙️","🏚️","🏛️","🏜️","🏝️","🏞️","🏟️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️🌈","🏳️","🏴☠️","🏴","🏴","🏴","🏴","🏵️","🏷️","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕🦺","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿️","👀","👁🗨","👁️","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻🌾","👨🏻🍳","👨🏻🎓","👨🏻🎤","👨🏻🎨","👨🏻🏫","👨🏻🏭","👨🏻💻","👨🏻💼","👨🏻🔧","👨🏻🔬","👨🏻🚀","👨🏻🚒","👨🏻🦯","👨🏻🦰","👨🏻🦱","👨🏻🦲","👨🏻🦳","👨🏻🦼","👨🏻🦽","👨🏻⚕️","👨🏻⚖️","👨🏻✈️","👨🏻","👨🏼🌾","👨🏼🍳","👨🏼🎓","👨🏼🎤","👨🏼🎨","👨🏼🏫","👨🏼🏭","👨🏼💻","👨🏼💼","👨🏼🔧","👨🏼🔬","👨🏼🚀","👨🏼🚒","👨🏼🤝👨🏻","👨🏼🦯","👨🏼🦰","👨🏼🦱","👨🏼🦲","👨🏼🦳","👨🏼🦼","👨🏼🦽","👨🏼⚕️","👨🏼⚖️","👨🏼✈️","👨🏼","👨🏽🌾","👨🏽🍳","👨🏽🎓","👨🏽🎤","👨🏽🎨","👨🏽🏫","👨🏽🏭","👨🏽💻","👨🏽💼","👨🏽🔧","👨🏽🔬","👨🏽🚀","👨🏽🚒","👨🏽🤝👨🏻","👨🏽🤝👨🏼","👨🏽🦯","👨🏽🦰","👨🏽🦱","👨🏽🦲","👨🏽🦳","👨🏽🦼","👨🏽🦽","👨🏽⚕️","👨🏽⚖️","👨🏽✈️","👨🏽","👨🏾🌾","👨🏾🍳","👨🏾🎓","👨🏾🎤","👨🏾🎨","👨🏾🏫","👨🏾🏭","👨🏾💻","👨🏾💼","👨🏾🔧","👨🏾🔬","👨🏾🚀","👨🏾🚒","👨🏾🤝👨🏻","👨🏾🤝👨🏼","👨🏾🤝👨🏽","👨🏾🦯","👨🏾🦰","👨🏾🦱","👨🏾🦲","👨🏾🦳","👨🏾🦼","👨🏾🦽","👨🏾⚕️","👨🏾⚖️","👨🏾✈️","👨🏾","👨🏿🌾","👨🏿🍳","👨🏿🎓","👨🏿🎤","👨🏿🎨","👨🏿🏫","👨🏿🏭","👨🏿💻","👨🏿💼","👨🏿🔧","👨🏿🔬","👨🏿🚀","👨🏿🚒","👨🏿🤝👨🏻","👨🏿🤝👨🏼","👨🏿🤝👨🏽","👨🏿🤝👨🏾","👨🏿🦯","👨🏿🦰","👨🏿🦱","👨🏿🦲","👨🏿🦳","👨🏿🦼","👨🏿🦽","👨🏿⚕️","👨🏿⚖️","👨🏿✈️","👨🏿","👨🌾","👨🍳","👨🎓","👨🎤","👨🎨","👨🏫","👨🏭","👨👦👦","👨👦","👨👧👦","👨👧👧","👨👧","👨👨👦👦","👨👨👦","👨👨👧👦","👨👨👧👧","👨👨👧","👨👩👦👦","👨👩👦","👨👩👧👦","👨👩👧👧","👨👩👧","👨💻","👨💼","👨🔧","👨🔬","👨🚀","👨🚒","👨🦯","👨🦰","👨🦱","👨🦲","👨🦳","👨🦼","👨🦽","👨⚕️","👨⚖️","👨✈️","👨❤️👨","👨❤️💋👨","👨","👩🏻🌾","👩🏻🍳","👩🏻🎓","👩🏻🎤","👩🏻🎨","👩🏻🏫","👩🏻🏭","👩🏻💻","👩🏻💼","👩🏻🔧","👩🏻🔬","👩🏻🚀","👩🏻🚒","👩🏻🤝👨🏼","👩🏻🤝👨🏽","👩🏻🤝👨🏾","👩🏻🤝👨🏿","👩🏻🦯","👩🏻🦰","👩🏻🦱","👩🏻🦲","👩🏻🦳","👩🏻🦼","👩🏻🦽","👩🏻⚕️","👩🏻⚖️","👩🏻✈️","👩🏻","👩🏼🌾","👩🏼🍳","👩🏼🎓","👩🏼🎤","👩🏼🎨","👩🏼🏫","👩🏼🏭","👩🏼💻","👩🏼💼","👩🏼🔧","👩🏼🔬","👩🏼🚀","👩🏼🚒","👩🏼🤝👨🏻","👩🏼🤝👨🏽","👩🏼🤝👨🏾","👩🏼🤝👨🏿","👩🏼🤝👩🏻","👩🏼🦯","👩🏼🦰","👩🏼🦱","👩🏼🦲","👩🏼🦳","👩🏼🦼","👩🏼🦽","👩🏼⚕️","👩🏼⚖️","👩🏼✈️","👩🏼","👩🏽🌾","👩🏽🍳","👩🏽🎓","👩🏽🎤","👩🏽🎨","👩🏽🏫","👩🏽🏭","👩🏽💻","👩🏽💼","👩🏽🔧","👩🏽🔬","👩🏽🚀","👩🏽🚒","👩🏽🤝👨🏻","👩🏽🤝👨🏼","👩🏽🤝👨🏾","👩🏽🤝👨🏿","👩🏽🤝👩🏻","👩🏽🤝👩🏼","👩🏽🦯","👩🏽🦰","👩🏽🦱","👩🏽🦲","👩🏽🦳","👩🏽🦼","👩🏽🦽","👩🏽⚕️","👩🏽⚖️","👩🏽✈️","👩🏽","👩🏾🌾","👩🏾🍳","👩🏾🎓","👩🏾🎤","👩🏾🎨","👩🏾🏫","👩🏾🏭","👩🏾💻","👩🏾💼","👩🏾🔧","👩🏾🔬","👩🏾🚀","👩🏾🚒","👩🏾🤝👨🏻","👩🏾🤝👨🏼","👩🏾🤝👨🏽","👩🏾🤝👨🏿","👩🏾🤝👩🏻","👩🏾🤝👩🏼","👩🏾🤝👩🏽","👩🏾🦯","👩🏾🦰","👩🏾🦱","👩🏾🦲","👩🏾🦳","👩🏾🦼","👩🏾🦽","👩🏾⚕️","👩🏾⚖️","👩🏾✈️","👩🏾","👩🏿🌾","👩🏿🍳","👩🏿🎓","👩🏿🎤","👩🏿🎨","👩🏿🏫","👩🏿🏭","👩🏿💻","👩🏿💼","👩🏿🔧","👩🏿🔬","👩🏿🚀","👩🏿🚒","👩🏿🤝👨🏻","👩🏿🤝👨🏼","👩🏿🤝👨🏽","👩🏿🤝👨🏾","👩🏿🤝👩🏻","👩🏿🤝👩🏼","👩🏿🤝👩🏽","👩🏿🤝👩🏾","👩🏿🦯","👩🏿🦰","👩🏿🦱","👩🏿🦲","👩🏿🦳","👩🏿🦼","👩🏿🦽","👩🏿⚕️","👩🏿⚖️","👩🏿✈️","👩🏿","👩🌾","👩🍳","👩🎓","👩🎤","👩🎨","👩🏫","👩🏭","👩👦👦","👩👦","👩👧👦","👩👧👧","👩👧","👩👩👦👦","👩👩👦","👩👩👧👦","👩👩👧👧","👩👩👧","👩💻","👩💼","👩🔧","👩🔬","👩🚀","👩🚒","👩🦯","👩🦰","👩🦱","👩🦲","👩🦳","👩🦼","👩🦽","👩⚕️","👩⚖️","👩✈️","👩❤️👨","👩❤️👩","👩❤️💋👨","👩❤️💋👩","👩","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻♀️","👮🏻♂️","👮🏻","👮🏼♀️","👮🏼♂️","👮🏼","👮🏽♀️","👮🏽♂️","👮🏽","👮🏾♀️","👮🏾♂️","👮🏾","👮🏿♀️","👮🏿♂️","👮🏿","👮♀️","👮♂️","👮","👯♀️","👯♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻♀️","👱🏻♂️","👱🏻","👱🏼♀️","👱🏼♂️","👱🏼","👱🏽♀️","👱🏽♂️","👱🏽","👱🏾♀️","👱🏾♂️","👱🏾","👱🏿♀️","👱🏿♂️","👱🏿","👱♀️","👱♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻♀️","👳🏻♂️","👳🏻","👳🏼♀️","👳🏼♂️","👳🏼","👳🏽♀️","👳🏽♂️","👳🏽","👳🏾♀️","👳🏾♂️","👳🏾","👳🏿♀️","👳🏿♂️","👳🏿","👳♀️","👳♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻♀️","👷🏻♂️","👷🏻","👷🏼♀️","👷🏼♂️","👷🏼","👷🏽♀️","👷🏽♂️","👷🏽","👷🏾♀️","👷🏾♂️","👷🏾","👷🏿♀️","👷🏿♂️","👷🏿","👷♀️","👷♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻♀️","💁🏻♂️","💁🏻","💁🏼♀️","💁🏼♂️","💁🏼","💁🏽♀️","💁🏽♂️","💁🏽","💁🏾♀️","💁🏾♂️","💁🏾","💁🏿♀️","💁🏿♂️","💁🏿","💁♀️","💁♂️","💁","💂🏻♀️","💂🏻♂️","💂🏻","💂🏼♀️","💂🏼♂️","💂🏼","💂🏽♀️","💂🏽♂️","💂🏽","💂🏾♀️","💂🏾♂️","💂🏾","💂🏿♀️","💂🏿♂️","💂🏿","💂♀️","💂♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻♀️","💆🏻♂️","💆🏻","💆🏼♀️","💆🏼♂️","💆🏼","💆🏽♀️","💆🏽♂️","💆🏽","💆🏾♀️","💆🏾♂️","💆🏾","💆🏿♀️","💆🏿♂️","💆🏿","💆♀️","💆♂️","💆","💇🏻♀️","💇🏻♂️","💇🏻","💇🏼♀️","💇🏼♂️","💇🏼","💇🏽♀️","💇🏽♂️","💇🏽","💇🏾♀️","💇🏾♂️","💇🏾","💇🏿♀️","💇🏿♂️","💇🏿","💇♀️","💇♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽️","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉️","🕊️","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯️","🕰️","🕳️","🕴🏻♀️","🕴🏻♂️","🕴🏻","🕴🏼♀️","🕴🏼♂️","🕴🏼","🕴🏽♀️","🕴🏽♂️","🕴🏽","🕴🏾♀️","🕴🏾♂️","🕴🏾","🕴🏿♀️","🕴🏿♂️","🕴🏿","🕴️♀️","🕴️♂️","🕴️","🕵🏻♀️","🕵🏻♂️","🕵🏻","🕵🏼♀️","🕵🏼♂️","🕵🏼","🕵🏽♀️","🕵🏽♂️","🕵🏽","🕵🏾♀️","🕵🏾♂️","🕵🏾","🕵🏿♀️","🕵🏿♂️","🕵🏿","🕵️♀️","🕵️♂️","🕵️","🕶️","🕷️","🕸️","🕹️","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇️","🖊️","🖋️","🖌️","🖍️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐️","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥️","🖨️","🖱️","🖲️","🖼️","🗂️","🗃️","🗄️","🗑️","🗒️","🗓️","🗜️","🗝️","🗞️","🗡️","🗣️","🗨️","🗯️","🗳️","🗺️","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻♀️","🙅🏻♂️","🙅🏻","🙅🏼♀️","🙅🏼♂️","🙅🏼","🙅🏽♀️","🙅🏽♂️","🙅🏽","🙅🏾♀️","🙅🏾♂️","🙅🏾","🙅🏿♀️","🙅🏿♂️","🙅🏿","🙅♀️","🙅♂️","🙅","🙆🏻♀️","🙆🏻♂️","🙆🏻","🙆🏼♀️","🙆🏼♂️","🙆🏼","🙆🏽♀️","🙆🏽♂️","🙆🏽","🙆🏾♀️","🙆🏾♂️","🙆🏾","🙆🏿♀️","🙆🏿♂️","🙆🏿","🙆♀️","🙆♂️","🙆","🙇🏻♀️","🙇🏻♂️","🙇🏻","🙇🏼♀️","🙇🏼♂️","🙇🏼","🙇🏽♀️","🙇🏽♂️","🙇🏽","🙇🏾♀️","🙇🏾♂️","🙇🏾","🙇🏿♀️","🙇🏿♂️","🙇🏿","🙇♀️","🙇♂️","🙇","🙈","🙉","🙊","🙋🏻♀️","🙋🏻♂️","🙋🏻","🙋🏼♀️","🙋🏼♂️","🙋🏼","🙋🏽♀️","🙋🏽♂️","🙋🏽","🙋🏾♀️","🙋🏾♂️","🙋🏾","🙋🏿♀️","🙋🏿♂️","🙋🏿","🙋♀️","🙋♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻♀️","🙍🏻♂️","🙍🏻","🙍🏼♀️","🙍🏼♂️","🙍🏼","🙍🏽♀️","🙍🏽♂️","🙍🏽","🙍🏾♀️","🙍🏾♂️","🙍🏾","🙍🏿♀️","🙍🏿♂️","🙍🏿","🙍♀️","🙍♂️","🙍","🙎🏻♀️","🙎🏻♂️","🙎🏻","🙎🏼♀️","🙎🏼♂️","🙎🏼","🙎🏽♀️","🙎🏽♂️","🙎🏽","🙎🏾♀️","🙎🏾♂️","🙎🏾","🙎🏿♀️","🙎🏿♂️","🙎🏿","🙎♀️","🙎♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻♀️","🚣🏻♂️","🚣🏻","🚣🏼♀️","🚣🏼♂️","🚣🏼","🚣🏽♀️","🚣🏽♂️","🚣🏽","🚣🏾♀️","🚣🏾♂️","🚣🏾","🚣🏿♀️","🚣🏿♂️","🚣🏿","🚣♀️","🚣♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻♀️","🚴🏻♂️","🚴🏻","🚴🏼♀️","🚴🏼♂️","🚴🏼","🚴🏽♀️","🚴🏽♂️","🚴🏽","🚴🏾♀️","🚴🏾♂️","🚴🏾","🚴🏿♀️","🚴🏿♂️","🚴🏿","🚴♀️","🚴♂️","🚴","🚵🏻♀️","🚵🏻♂️","🚵🏻","🚵🏼♀️","🚵🏼♂️","🚵🏼","🚵🏽♀️","🚵🏽♂️","🚵🏽","🚵🏾♀️","🚵🏾♂️","🚵🏾","🚵🏿♀️","🚵🏿♂️","🚵🏿","🚵♀️","🚵♂️","🚵","🚶🏻♀️","🚶🏻♂️","🚶🏻","🚶🏼♀️","🚶🏼♂️","🚶🏼","🚶🏽♀️","🚶🏽♂️","🚶🏽","🚶🏾♀️","🚶🏾♂️","🚶🏾","🚶🏿♀️","🚶🏿♂️","🚶🏿","🚶♀️","🚶♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋️","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍️","🛎️","🛏️","🛐","🛑","🛒","🛕","🛠️","🛡️","🛢️","🛣️","🛤️","🛥️","🛩️","🛫","🛬","🛰️","🛳️","🛴","🛵","🛶","🛷","🛸","🛹","🛺","🟠","🟡","🟢","🟣","🟤","🟥","🟦","🟧","🟨","🟩","🟪","🟫","🤍","🤎","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","🤏","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤟","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻♀️","🤦🏻♂️","🤦🏻","🤦🏼♀️","🤦🏼♂️","🤦🏼","🤦🏽♀️","🤦🏽♂️","🤦🏽","🤦🏾♀️","🤦🏾♂️","🤦🏾","🤦🏿♀️","🤦🏿♂️","🤦🏿","🤦♀️","🤦♂️","🤦","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","🤱","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤲","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻♀️","🤵🏻♂️","🤵🏻","🤵🏼♀️","🤵🏼♂️","🤵🏼","🤵🏽♀️","🤵🏽♂️","🤵🏽","🤵🏾♀️","🤵🏾♂️","🤵🏾","🤵🏿♀️","🤵🏿♂️","🤵🏿","🤵♀️","🤵♂️","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻♀️","🤷🏻♂️","🤷🏻","🤷🏼♀️","🤷🏼♂️","🤷🏼","🤷🏽♀️","🤷🏽♂️","🤷🏽","🤷🏾♀️","🤷🏾♂️","🤷🏾","🤷🏿♀️","🤷🏿♂️","🤷🏿","🤷♀️","🤷♂️","🤷","🤸🏻♀️","🤸🏻♂️","🤸🏻","🤸🏼♀️","🤸🏼♂️","🤸🏼","🤸🏽♀️","🤸🏽♂️","🤸🏽","🤸🏾♀️","🤸🏾♂️","🤸🏾","🤸🏿♀️","🤸🏿♂️","🤸🏿","🤸♀️","🤸♂️","🤸","🤹🏻♀️","🤹🏻♂️","🤹🏻","🤹🏼♀️","🤹🏼♂️","🤹🏼","🤹🏽♀️","🤹🏽♂️","🤹🏽","🤹🏾♀️","🤹🏾♂️","🤹🏾","🤹🏿♀️","🤹🏿♂️","🤹🏿","🤹♀️","🤹♂️","🤹","🤺","🤼♀️","🤼♂️","🤼","🤽🏻♀️","🤽🏻♂️","🤽🏻","🤽🏼♀️","🤽🏼♂️","🤽🏼","🤽🏽♀️","🤽🏽♂️","🤽🏽","🤽🏾♀️","🤽🏾♂️","🤽🏾","🤽🏿♀️","🤽🏿♂️","🤽🏿","🤽♀️","🤽♂️","🤽","🤾🏻♀️","🤾🏻♂️","🤾🏻","🤾🏼♀️","🤾🏼♂️","🤾🏼","🤾🏽♀️","🤾🏽♂️","🤾🏽","🤾🏾♀️","🤾🏾♂️","🤾🏾","🤾🏿♀️","🤾🏿♂️","🤾🏿","🤾♀️","🤾♂️","🤾","🤿","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥌","🥍","🥎","🥏","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🥟","🥠","🥡","🥢","🥣","🥤","🥥","🥦","🥧","🥨","🥩","🥪","🥫","🥬","🥭","🥮","🥯","🥰","🥱","🥳","🥴","🥵","🥶","🥺","🥻","🥼","🥽","🥾","🥿","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🦒","🦓","🦔","🦕","🦖","🦗","🦘","🦙","🦚","🦛","🦜","🦝","🦞","🦟","🦠","🦡","🦢","🦥","🦦","🦧","🦨","🦩","🦪","🦮","🦯","🦰","🦱","🦲","🦳","🦴","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦵","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","🦶","🦷","🦸🏻♀️","🦸🏻♂️","🦸🏻","🦸🏼♀️","🦸🏼♂️","🦸🏼","🦸🏽♀️","🦸🏽♂️","🦸🏽","🦸🏾♀️","🦸🏾♂️","🦸🏾","🦸🏿♀️","🦸🏿♂️","🦸🏿","🦸♀️","🦸♂️","🦸","🦹🏻♀️","🦹🏻♂️","🦹🏻","🦹🏼♀️","🦹🏼♂️","🦹🏼","🦹🏽♀️","🦹🏽♂️","🦹🏽","🦹🏾♀️","🦹🏾♂️","🦹🏾","🦹🏿♀️","🦹🏿♂️","🦹🏿","🦹♀️","🦹♂️","🦹","🦺","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","🦻","🦼","🦽","🦾","🦿","🧀","🧁","🧂","🧃","🧄","🧅","🧆","🧇","🧈","🧉","🧊","🧍🏻♀️","🧍🏻♂️","🧍🏻","🧍🏼♀️","🧍🏼♂️","🧍🏼","🧍🏽♀️","🧍🏽♂️","🧍🏽","🧍🏾♀️","🧍🏾♂️","🧍🏾","🧍🏿♀️","🧍🏿♂️","🧍🏿","🧍♀️","🧍♂️","🧍","🧎🏻♀️","🧎🏻♂️","🧎🏻","🧎🏼♀️","🧎🏼♂️","🧎🏼","🧎🏽♀️","🧎🏽♂️","🧎🏽","🧎🏾♀️","🧎🏾♂️","🧎🏾","🧎🏿♀️","🧎🏿♂️","🧎🏿","🧎♀️","🧎♂️","🧎","🧏🏻♀️","🧏🏻♂️","🧏🏻","🧏🏼♀️","🧏🏼♂️","🧏🏼","🧏🏽♀️","🧏🏽♂️","🧏🏽","🧏🏾♀️","🧏🏾♂️","🧏🏾","🧏🏿♀️","🧏🏿♂️","🧏🏿","🧏♀️","🧏♂️","🧏","🧐","🧑🏻🤝🧑🏻","🧑🏻","🧑🏼🤝🧑🏻","🧑🏼🤝🧑🏼","🧑🏼","🧑🏽🤝🧑🏻","🧑🏽🤝🧑🏼","🧑🏽🤝🧑🏽","🧑🏽","🧑🏾🤝🧑🏻","🧑🏾🤝🧑🏼","🧑🏾🤝🧑🏽","🧑🏾🤝🧑🏾","🧑🏾","🧑🏿🤝🧑🏻","🧑🏿🤝🧑🏼","🧑🏿🤝🧑🏽","🧑🏿🤝🧑🏾","🧑🏿🤝🧑🏿","🧑🏿","🧑🤝🧑","🧑","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","🧒","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","🧓","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🧕","🧖🏻♀️","🧖🏻♂️","🧖🏻","🧖🏼♀️","🧖🏼♂️","🧖🏼","🧖🏽♀️","🧖🏽♂️","🧖🏽","🧖🏾♀️","🧖🏾♂️","🧖🏾","🧖🏿♀️","🧖🏿♂️","🧖🏿","🧖♀️","🧖♂️","🧖","🧗🏻♀️","🧗🏻♂️","🧗🏻","🧗🏼♀️","🧗🏼♂️","🧗🏼","🧗🏽♀️","🧗🏽♂️","🧗🏽","🧗🏾♀️","🧗🏾♂️","🧗🏾","🧗🏿♀️","🧗🏿♂️","🧗🏿","🧗♀️","🧗♂️","🧗","🧘🏻♀️","🧘🏻♂️","🧘🏻","🧘🏼♀️","🧘🏼♂️","🧘🏼","🧘🏽♀️","🧘🏽♂️","🧘🏽","🧘🏾♀️","🧘🏾♂️","🧘🏾","🧘🏿♀️","🧘🏿♂️","🧘🏿","🧘♀️","🧘♂️","🧘","🧙🏻♀️","🧙🏻♂️","🧙🏻","🧙🏼♀️","🧙🏼♂️","🧙🏼","🧙🏽♀️","🧙🏽♂️","🧙🏽","🧙🏾♀️","🧙🏾♂️","🧙🏾","🧙🏿♀️","🧙🏿♂️","🧙🏿","🧙♀️","🧙♂️","🧙","🧚🏻♀️","🧚🏻♂️","🧚🏻","🧚🏼♀️","🧚🏼♂️","🧚🏼","🧚🏽♀️","🧚🏽♂️","🧚🏽","🧚🏾♀️","🧚🏾♂️","🧚🏾","🧚🏿♀️","🧚🏿♂️","🧚🏿","🧚♀️","🧚♂️","🧚","🧛🏻♀️","🧛🏻♂️","🧛🏻","🧛🏼♀️","🧛🏼♂️","🧛🏼","🧛🏽♀️","🧛🏽♂️","🧛🏽","🧛🏾♀️","🧛🏾♂️","🧛🏾","🧛🏿♀️","🧛🏿♂️","🧛🏿","🧛♀️","🧛♂️","🧛","🧜🏻♀️","🧜🏻♂️","🧜🏻","🧜🏼♀️","🧜🏼♂️","🧜🏼","🧜🏽♀️","🧜🏽♂️","🧜🏽","🧜🏾♀️","🧜🏾♂️","🧜🏾","🧜🏿♀️","🧜🏿♂️","🧜🏿","🧜♀️","🧜♂️","🧜","🧝🏻♀️","🧝🏻♂️","🧝🏻","🧝🏼♀️","🧝🏼♂️","🧝🏼","🧝🏽♀️","🧝🏽♂️","🧝🏽","🧝🏾♀️","🧝🏾♂️","🧝🏾","🧝🏿♀️","🧝🏿♂️","🧝🏿","🧝♀️","🧝♂️","🧝","🧞♀️","🧞♂️","🧞","🧟♀️","🧟♂️","🧟","🧠","🧡","🧢","🧣","🧤","🧥","🧦","🧧","🧨","🧩","🧪","🧫","🧬","🧭","🧮","🧯","🧰","🧱","🧲","🧳","🧴","🧵","🧶","🧷","🧸","🧹","🧺","🧻","🧼","🧽","🧾","🧿","🩰","🩱","🩲","🩳","🩸","🩹","🩺","🪀","🪁","🪂","🪐","🪑","🪒","🪓","🪔","🪕","‼️","⁉️","™️","ℹ️","↔️","↕️","↖️","↗️","↘️","↙️","↩️","↪️","#⃣","⌚️","⌛️","⌨️","⏏️","⏩","⏪","⏫","⏬","⏭️","⏮️","⏯️","⏰","⏱️","⏲️","⏳","⏸️","⏹️","⏺️","Ⓜ️","▪️","▫️","▶️","◀️","◻️","◼️","◽️","◾️","☀️","☁️","☂️","☃️","☄️","☎️","☑️","☔️","☕️","☘️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝️","☠️","☢️","☣️","☦️","☪️","☮️","☯️","☸️","☹️","☺️","♀️","♂️","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","♟️","♠️","♣️","♥️","♦️","♨️","♻️","♾","♿️","⚒️","⚓️","⚔️","⚕️","⚖️","⚗️","⚙️","⚛️","⚜️","⚠️","⚡️","⚪️","⚫️","⚰️","⚱️","⚽️","⚾️","⛄️","⛅️","⛈️","⛎","⛏️","⛑️","⛓️","⛔️","⛩️","⛪️","⛰️","⛱️","⛲️","⛳️","⛴️","⛵️","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷️","⛸️","⛹🏻♀️","⛹🏻♂️","⛹🏻","⛹🏼♀️","⛹🏼♂️","⛹🏼","⛹🏽♀️","⛹🏽♂️","⛹🏽","⛹🏾♀️","⛹🏾♂️","⛹🏾","⛹🏿♀️","⛹🏿♂️","⛹🏿","⛹️♀️","⛹️♂️","⛹️","⛺️","⛽️","✂️","✅","✈️","✉️","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍️","✏️","✒️","✔️","✖️","✝️","✡️","✨","✳️","✴️","❄️","❇️","❌","❎","❓","❔","❕","❗️","❣️","❤️","➕","➖","➗","➡️","➰","➿","⤴️","⤵️","*⃣","⬅️","⬆️","⬇️","⬛️","⬜️","⭐️","⭕️","0⃣","〰️","〽️","1⃣","2⃣","㊗️","㊙️","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©️","®️",""]},7447:function(e){"use strict";e.exports=function equal(e,r){if(e===r)return true;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return false;var t,a,s;if(Array.isArray(e)){t=e.length;if(t!=r.length)return false;for(a=t;a--!==0;)if(!equal(e[a],r[a]))return false;return true}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();s=Object.keys(e);t=s.length;if(t!==Object.keys(r).length)return false;for(a=t;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,s[a]))return false;for(a=t;a--!==0;){var i=s[a];if(!equal(e[i],r[i]))return false}return true}return e!==e&&r!==r}},7351:function(e){"use strict";e.exports=function(e,r){if(!r)r={};if(typeof r==="function")r={cmp:r};var t=typeof r.cycles==="boolean"?r.cycles:false;var a=r.cmp&&function(e){return function(r){return function(t,a){var s={key:t,value:r[t]};var i={key:a,value:r[a]};return e(s,i)}}}(r.cmp);var s=[];return function stringify(e){if(e&&e.toJSON&&typeof e.toJSON==="function"){e=e.toJSON()}if(e===undefined)return;if(typeof e=="number")return isFinite(e)?""+e:"null";if(typeof e!=="object")return JSON.stringify(e);var r,i;if(Array.isArray(e)){i="[";for(r=0;r<e.length;r++){if(r)i+=",";i+=stringify(e[r])||"null"}return i+"]"}if(e===null)return"null";if(s.indexOf(e)!==-1){if(t)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var n=s.push(e)-1;var u=Object.keys(e).sort(a&&a(e));i="";for(r=0;r<u.length;r++){var o=u[r];var c=stringify(e[o]);if(!c)continue;if(i)i+=",";i+=JSON.stringify(o)+":"+c}s.splice(n,1);return"{"+i+"}"}(e)}},4954:function(e,r,t){"use strict";const a=t(1017);const s=t(7147);const i=t(3849);const n=t(369);const u=t(8465);const{env:o,cwd:c}=process;const isWritable=e=>{try{s.accessSync(e,s.constants.W_OK);return true}catch(e){return false}};function useDirectory(e,r){if(r.create){u.sync(e)}if(r.thunk){return(...r)=>a.join(e,...r)}return e}function getNodeModuleDirectory(e){const r=a.join(e,"node_modules");if(!isWritable(r)&&(s.existsSync(r)||!isWritable(a.join(e)))){return}return r}e.exports=(e={})=>{if(o.CACHE_DIR&&!["true","false","1","0"].includes(o.CACHE_DIR)){return useDirectory(a.join(o.CACHE_DIR,e.name),e)}let{cwd:r=c()}=e;if(e.files){r=i(r,e.files)}r=n.sync(r);if(!r){return}const t=getNodeModuleDirectory(r);if(!t){return undefined}return useDirectory(a.join(r,"node_modules",".cache",e.name),e)}},4320:function(e,r,t){"use strict";const a=t(1017);const s=t(3627);const i=t(3896);const n=Symbol("findUp.stop");e.exports=async(e,r={})=>{let t=a.resolve(r.cwd||"");const{root:i}=a.parse(t);const u=[].concat(e);const runMatcher=async r=>{if(typeof e!=="function"){return s(u,r)}const t=await e(r.cwd);if(typeof t==="string"){return s([t],r)}return t};while(true){const e=await runMatcher({...r,cwd:t});if(e===n){return}if(e){return a.resolve(t,e)}if(t===i){return}t=a.dirname(t)}};e.exports.sync=(e,r={})=>{let t=a.resolve(r.cwd||"");const{root:i}=a.parse(t);const u=[].concat(e);const runMatcher=r=>{if(typeof e!=="function"){return s.sync(u,r)}const t=e(r.cwd);if(typeof t==="string"){return s.sync([t],r)}return t};while(true){const e=runMatcher({...r,cwd:t});if(e===n){return}if(e){return a.resolve(t,e)}if(t===i){return}t=a.dirname(t)}};e.exports.exists=i;e.exports.sync.exists=i.sync;e.exports.stop=n},4432:function(e){"use strict";var r=e.exports=function(e,r,t){if(typeof r=="function"){t=r;r={}}t=r.cb||t;var a=typeof t=="function"?t:t.pre||function(){};var s=t.post||function(){};_traverse(r,a,s,e,"",e)};r.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};r.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};r.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};r.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,t,a,s,i,n,u,o,c,l){if(s&&typeof s=="object"&&!Array.isArray(s)){t(s,i,n,u,o,c,l);for(var f in s){var p=s[f];if(Array.isArray(p)){if(f in r.arrayKeywords){for(var h=0;h<p.length;h++)_traverse(e,t,a,p[h],i+"/"+f+"/"+h,n,i,f,s,h)}}else if(f in r.propsKeywords){if(p&&typeof p=="object"){for(var d in p)_traverse(e,t,a,p[d],i+"/"+f+"/"+escapeJsonPtr(d),n,i,f,s,d)}}else if(f in r.keywords||e.allKeys&&!(f in r.skipKeywords)){_traverse(e,t,a,p,i+"/"+f,n,i,f,s)}}a(s,i,n,u,o,c,l)}}function escapeJsonPtr(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}},4687:function(e,r,t){const a=t(9731);const s=t(8224);const i={parse:a,stringify:s};e.exports=i},9731:function(e,r,t){const a=t(3796);let s;let i;let n;let u;let o;let c;let l;let f;let p;e.exports=function parse(e,r){s=String(e);i="start";n=[];u=0;o=1;c=0;l=undefined;f=undefined;p=undefined;do{l=lex();y[i]()}while(l.type!=="eof");if(typeof r==="function"){return internalize({"":p},"",r)}return p};function internalize(e,r,t){const a=e[r];if(a!=null&&typeof a==="object"){for(const e in a){const r=internalize(a,e,t);if(r===undefined){delete a[e]}else{a[e]=r}}}return t.call(e,r,a)}let h;let d;let m;let D;let g;function lex(){h="default";d="";m=false;D=1;for(;;){g=peek();const e=E[h]();if(e){return e}}}function peek(){if(s[u]){return String.fromCodePoint(s.codePointAt(u))}}function read(){const e=peek();if(e==="\n"){o++;c=0}else if(e){c+=e.length}else{c++}if(e){u+=e.length}return e}const E={default(){switch(g){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();h="comment";return;case undefined:read();return newToken("eof")}if(a.isSpaceSeparator(g)){read();return}return E[i]()},comment(){switch(g){case"*":read();h="multiLineComment";return;case"/":read();h="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(g){case"*":read();h="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(g){case"*":read();return;case"/":read();h="default";return;case undefined:throw invalidChar(read())}read();h="multiLineComment"},singleLineComment(){switch(g){case"\n":case"\r":case"\u2028":case"\u2029":read();h="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(g){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){D=-1}h="sign";return;case".":d=read();h="decimalPointLeading";return;case"0":d=read();h="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":d=read();h="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":m=read()==='"';d="";h="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(g!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!a.isIdStartChar(e)){throw invalidIdentifier()}break}d+=e;h="identifierName"},identifierName(){switch(g){case"$":case"_":case"":case"":d+=read();return;case"\\":read();h="identifierNameEscape";return}if(a.isIdContinueChar(g)){d+=read();return}return newToken("identifier",d)},identifierNameEscape(){if(g!=="u"){throw invalidChar(read())}read();const e=unicodeEscape();switch(e){case"$":case"_":case"":case"":break;default:if(!a.isIdContinueChar(e)){throw invalidIdentifier()}break}d+=e;h="identifierName"},sign(){switch(g){case".":d=read();h="decimalPointLeading";return;case"0":d=read();h="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":d=read();h="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",D*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(g){case".":d+=read();h="decimalPoint";return;case"e":case"E":d+=read();h="decimalExponent";return;case"x":case"X":d+=read();h="hexadecimal";return}return newToken("numeric",D*0)},decimalInteger(){switch(g){case".":d+=read();h="decimalPoint";return;case"e":case"E":d+=read();h="decimalExponent";return}if(a.isDigit(g)){d+=read();return}return newToken("numeric",D*Number(d))},decimalPointLeading(){if(a.isDigit(g)){d+=read();h="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(g){case"e":case"E":d+=read();h="decimalExponent";return}if(a.isDigit(g)){d+=read();h="decimalFraction";return}return newToken("numeric",D*Number(d))},decimalFraction(){switch(g){case"e":case"E":d+=read();h="decimalExponent";return}if(a.isDigit(g)){d+=read();return}return newToken("numeric",D*Number(d))},decimalExponent(){switch(g){case"+":case"-":d+=read();h="decimalExponentSign";return}if(a.isDigit(g)){d+=read();h="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(a.isDigit(g)){d+=read();h="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(a.isDigit(g)){d+=read();return}return newToken("numeric",D*Number(d))},hexadecimal(){if(a.isHexDigit(g)){d+=read();h="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(a.isHexDigit(g)){d+=read();return}return newToken("numeric",D*Number(d))},string(){switch(g){case"\\":read();d+=escape();return;case'"':if(m){read();return newToken("string",d)}d+=read();return;case"'":if(!m){read();return newToken("string",d)}d+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(g);break;case undefined:throw invalidChar(read())}d+=read()},start(){switch(g){case"{":case"[":return newToken("punctuator",read())}h="value"},beforePropertyName(){switch(g){case"$":case"_":d=read();h="identifierName";return;case"\\":read();h="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":m=read()==='"';h="string";return}if(a.isIdStartChar(g)){d+=read();h="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(g===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){h="value"},afterPropertyValue(){switch(g){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(g==="]"){return newToken("punctuator",read())}h="value"},afterArrayValue(){switch(g){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(e,r){return{type:e,value:r,line:o,column:c}}function literal(e){for(const r of e){const e=peek();if(e!==r){throw invalidChar(read())}read()}}function escape(){const e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(a.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let e="";let r=peek();if(!a.isHexDigit(r)){throw invalidChar(read())}e+=read();r=peek();if(!a.isHexDigit(r)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){let e="";let r=4;while(r-- >0){const r=peek();if(!a.isHexDigit(r)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}const y={start(){if(l.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(l.type){case"identifier":case"string":f=l.value;i="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(l.type==="eof"){throw invalidEOF()}i="beforePropertyValue"},beforePropertyValue(){if(l.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(l.type==="eof"){throw invalidEOF()}if(l.type==="punctuator"&&l.value==="]"){pop();return}push()},afterPropertyValue(){if(l.type==="eof"){throw invalidEOF()}switch(l.value){case",":i="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(l.type==="eof"){throw invalidEOF()}switch(l.value){case",":i="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let e;switch(l.type){case"punctuator":switch(l.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=l.value;break}if(p===undefined){p=e}else{const r=n[n.length-1];if(Array.isArray(r)){r.push(e)}else{r[f]=e}}if(e!==null&&typeof e==="object"){n.push(e);if(Array.isArray(e)){i="beforeArrayValue"}else{i="beforePropertyName"}}else{const e=n[n.length-1];if(e==null){i="end"}else if(Array.isArray(e)){i="afterArrayValue"}else{i="afterPropertyValue"}}}function pop(){n.pop();const e=n[n.length-1];if(e==null){i="end"}else if(Array.isArray(e)){i="afterArrayValue"}else{i="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError(`JSON5: invalid end of input at ${o}:${c}`)}return syntaxError(`JSON5: invalid character '${formatChar(e)}' at ${o}:${c}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${o}:${c}`)}function invalidIdentifier(){c-=5;return syntaxError(`JSON5: invalid identifier character at ${o}:${c}`)}function separatorChar(e){console.warn(`JSON5: '${formatChar(e)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(e){const r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(r[e]){return r[e]}if(e<" "){const r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function syntaxError(e){const r=new SyntaxError(e);r.lineNumber=o;r.columnNumber=c;return r}},8224:function(e,r,t){const a=t(3796);e.exports=function stringify(e,r,t){const s=[];let i="";let n;let u;let o="";let c;if(r!=null&&typeof r==="object"&&!Array.isArray(r)){t=r.space;c=r.quote;r=r.replacer}if(typeof r==="function"){u=r}else if(Array.isArray(r)){n=[];for(const e of r){let r;if(typeof e==="string"){r=e}else if(typeof e==="number"||e instanceof String||e instanceof Number){r=String(e)}if(r!==undefined&&n.indexOf(r)<0){n.push(r)}}}if(t instanceof Number){t=Number(t)}else if(t instanceof String){t=String(t)}if(typeof t==="number"){if(t>0){t=Math.min(10,Math.floor(t));o=" ".substr(0,t)}}else if(typeof t==="string"){o=t.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,r){let t=r[e];if(t!=null){if(typeof t.toJSON5==="function"){t=t.toJSON5(e)}else if(typeof t.toJSON==="function"){t=t.toJSON(e)}}if(u){t=u.call(r,e,t)}if(t instanceof Number){t=Number(t)}else if(t instanceof String){t=String(t)}else if(t instanceof Boolean){t=t.valueOf()}switch(t){case null:return"null";case true:return"true";case false:return"false"}if(typeof t==="string"){return quoteString(t,false)}if(typeof t==="number"){return String(t)}if(typeof t==="object"){return Array.isArray(t)?serializeArray(t):serializeObject(t)}return undefined}function quoteString(e){const r={"'":.1,'"':.2};const t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let s="";for(let i=0;i<e.length;i++){const n=e[i];switch(n){case"'":case'"':r[n]++;s+=n;continue;case"\0":if(a.isDigit(e[i+1])){s+="\\x00";continue}}if(t[n]){s+=t[n];continue}if(n<" "){let e=n.charCodeAt(0).toString(16);s+="\\x"+("00"+e).substring(e.length);continue}s+=n}const i=c||Object.keys(r).reduce(((e,t)=>r[e]<r[t]?e:t));s=s.replace(new RegExp(i,"g"),t[i]);return i+s+i}function serializeObject(e){if(s.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}s.push(e);let r=i;i=i+o;let t=n||Object.keys(e);let a=[];for(const r of t){const t=serializeProperty(r,e);if(t!==undefined){let e=serializeKey(r)+":";if(o!==""){e+=" "}e+=t;a.push(e)}}let u;if(a.length===0){u="{}"}else{let e;if(o===""){e=a.join(",");u="{"+e+"}"}else{let t=",\n"+i;e=a.join(t);u="{\n"+i+e+",\n"+r+"}"}}s.pop();i=r;return u}function serializeKey(e){if(e.length===0){return quoteString(e,true)}const r=String.fromCodePoint(e.codePointAt(0));if(!a.isIdStartChar(r)){return quoteString(e,true)}for(let t=r.length;t<e.length;t++){if(!a.isIdContinueChar(String.fromCodePoint(e.codePointAt(t)))){return quoteString(e,true)}}return e}function serializeArray(e){if(s.indexOf(e)>=0){throw TypeError("Converting circular structure to JSON5")}s.push(e);let r=i;i=i+o;let t=[];for(let r=0;r<e.length;r++){const a=serializeProperty(String(r),e);t.push(a!==undefined?a:"null")}let a;if(t.length===0){a="[]"}else{if(o===""){let e=t.join(",");a="["+e+"]"}else{let e=",\n"+i;let s=t.join(e);a="[\n"+i+s+",\n"+r+"]"}}s.pop();i=r;return a}}},4988:function(e){e.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;e.exports.ID_Start=/[\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\u0860-\u086A\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\u09FC\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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\uDF2D-\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\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;e.exports.ID_Continue=/[\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\u0860-\u086A\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\u09FC\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-\u0AFF\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\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\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-\u1CF9\u1D00-\u1DF9\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\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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\uDF2D-\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\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},3796:function(e,r,t){const a=t(4988);e.exports={isSpaceSeparator(e){return typeof e==="string"&&a.Space_Separator.test(e)},isIdStartChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||a.ID_Start.test(e))},isIdContinueChar(e){return typeof e==="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e===""||e===""||a.ID_Continue.test(e))},isDigit(e){return typeof e==="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e==="string"&&/[0-9A-Fa-f]/.test(e)}}},5209:function(e){"use strict";function getCurrentRequest(e){if(e.currentRequest){return e.currentRequest}const r=e.loaders.slice(e.loaderIndex).map((e=>e.request)).concat([e.resource]);return r.join("!")}e.exports=getCurrentRequest},5170:function(e,r,t){"use strict";const a={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(e,r){const s=a[r];if(!s){throw new Error("Unknown encoding base"+r)}const i=e.length;const n=t(8134);n.RM=n.DP=0;let u=new n(0);for(let r=i-1;r>=0;r--){u=u.times(256).plus(e[r])}let o="";while(u.gt(0)){o=s[u.mod(r)]+o;u=u.div(r)}n.DP=20;n.RM=1;return o}let s=undefined;let i=undefined;function getHashDigest(e,r,a,n){r=r||"md4";n=n||9999;let u;try{u=t(6113).createHash(r)}catch(e){if(e.code==="ERR_OSSL_EVP_UNSUPPORTED"&&r==="md4"){if(s===undefined){s=t(7611);if(i===undefined){i=t(8372)}}u=new i(s())}if(!u){throw e}}u.update(e);if(a==="base26"||a==="base32"||a==="base36"||a==="base49"||a==="base52"||a==="base58"||a==="base62"){return encodeBufferToBase(u.digest(),a.substr(4)).substr(0,n)}else{return u.digest(a||"hex").substr(0,n)}}e.exports=getHashDigest},755:function(e,r,t){"use strict";const a=t(3483);function getOptions(e){const r=e.query;if(typeof r==="string"&&r!==""){return a(e.query)}if(!r||typeof r!=="object"){return{}}return r}e.exports=getOptions},6370:function(e){"use strict";function getRemainingRequest(e){if(e.remainingRequest){return e.remainingRequest}const r=e.loaders.slice(e.loaderIndex+1).map((e=>e.request)).concat([e.resource]);return r.join("!")}e.exports=getRemainingRequest},8372:function(e,r,t){const a=t(7408).MAX_SHORT_STRING;class BatchedHash{constructor(e){this.string=undefined;this.encoding=undefined;this.hash=e}update(e,r){if(this.string!==undefined){if(typeof e==="string"&&r===this.encoding&&this.string.length+e.length<a){this.string+=e;return this}this.hash.update(this.string,this.encoding);this.string=undefined}if(typeof e==="string"){if(e.length<a&&(!r||!r.startsWith("ba"))){this.string=e;this.encoding=r}else{this.hash.update(e,r)}}else{this.hash.update(e)}return this}digest(e){if(this.string!==undefined){this.hash.update(this.string,this.encoding)}return this.hash.digest(e)}}e.exports=BatchedHash},7611:function(e,r,t){"use strict";const a=t(7408);const s=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=","base64"));e.exports=a.bind(null,s,[],64,32)},7408:function(e){"use strict";const r=Math.floor((65536-64)/4)&~3;class WasmHash{constructor(e,r,t,a){const s=e.exports;s.init();this.exports=s;this.mem=Buffer.from(s.memory.buffer,0,65536);this.buffered=0;this.instancesPool=r;this.chunkSize=t;this.digestSize=a}reset(){this.buffered=0;this.exports.init()}update(e,t){if(typeof e==="string"){while(e.length>r){this._updateWithShortString(e.slice(0,r),t);e=e.slice(r)}this._updateWithShortString(e,t);return this}this._updateWithBuffer(e);return this}_updateWithShortString(e,r){const{exports:t,buffered:a,mem:s,chunkSize:i}=this;let n;if(e.length<70){if(!r||r==="utf-8"||r==="utf8"){n=a;for(let t=0;t<e.length;t++){const a=e.charCodeAt(t);if(a<128){s[n++]=a}else if(a<2048){s[n]=a>>6|192;s[n+1]=a&63|128;n+=2}else{n+=s.write(e.slice(t),n,r);break}}}else if(r==="latin1"){n=a;for(let r=0;r<e.length;r++){const t=e.charCodeAt(r);s[n++]=t}}else{n=a+s.write(e,a,r)}}else{n=a+s.write(e,a,r)}if(n<i){this.buffered=n}else{const e=n&~(this.chunkSize-1);t.update(e);const r=n-e;this.buffered=r;if(r>0){s.copyWithin(0,e,n)}}}_updateWithBuffer(e){const{exports:r,buffered:t,mem:a}=this;const s=e.length;if(t+s<this.chunkSize){e.copy(a,t,0,s);this.buffered+=s}else{const i=t+s&~(this.chunkSize-1);if(i>65536){let s=65536-t;e.copy(a,t,0,s);r.update(65536);const n=i-t-65536;while(s<n){e.copy(a,0,s,s+65536);r.update(65536);s+=65536}e.copy(a,0,s,i-t);r.update(i-t-s)}else{e.copy(a,t,0,i-t);r.update(i)}const n=s+t-i;this.buffered=n;if(n>0){e.copy(a,0,s-n,s)}}}digest(e){const{exports:r,buffered:t,mem:a,digestSize:s}=this;r.final(t);this.instancesPool.push(this);const i=a.toString("latin1",0,s);if(e==="hex"){return i}if(e==="binary"||!e){return Buffer.from(i,"hex")}return Buffer.from(i,"hex").toString(e)}}const create=(e,r,t,a)=>{if(r.length>0){const e=r.pop();e.reset();return e}else{return new WasmHash(new WebAssembly.Instance(e),r,t,a)}};e.exports=create;e.exports.MAX_SHORT_STRING=r},4727:function(e,r,t){"use strict";const a=t(755);const s=t(3483);const i=t(9438);const n=t(6370);const u=t(5209);const o=t(5056);const c=t(1579);const l=t(4291);const f=t(5170);const p=t(7461);r.getOptions=a;r.parseQuery=s;r.stringifyRequest=i;r.getRemainingRequest=n;r.getCurrentRequest=u;r.isUrlRequest=o;r.urlToRequest=c;r.parseString=l;r.getHashDigest=f;r.interpolateName=p},7461:function(e,r,t){"use strict";const a=t(1017);const s=t(9876);const i=t(5170);const n=/[\uD800-\uDFFF]./;const u=s.filter((e=>n.test(e)));const o={};function encodeStringToEmoji(e,r){if(o[e]){return o[e]}r=r||1;const t=[];do{if(!u.length){throw new Error("Ran out of emoji")}const e=Math.floor(Math.random()*u.length);t.push(u[e]);u.splice(e,1)}while(--r>0);const a=t.join("");o[e]=a;return a}function interpolateName(e,r,t){let s;const n=e.resourceQuery&&e.resourceQuery.length>1;if(typeof r==="function"){s=r(e.resourcePath,n?e.resourceQuery:undefined)}else{s=r||"[hash].[ext]"}const u=t.context;const o=t.content;const c=t.regExp;let l="bin";let f="file";let p="";let h="";let d="";if(e.resourcePath){const r=a.parse(e.resourcePath);let t=e.resourcePath;if(r.ext){l=r.ext.substr(1)}if(r.dir){f=r.name;t=r.dir+a.sep}if(typeof u!=="undefined"){p=a.relative(u,t+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");p=p.substr(0,p.length-1)}else{p=t.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(p.length===1){p=""}else if(p.length>1){h=a.basename(p)}}if(e.resourceQuery&&e.resourceQuery.length>1){d=e.resourceQuery;const r=d.indexOf("#");if(r>=0){d=d.substr(0,r)}}let m=s;if(o){m=m.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((e,r,t,a)=>i(o,r,t,parseInt(a,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((e,r)=>encodeStringToEmoji(o,parseInt(r,10))))}m=m.replace(/\[ext\]/gi,(()=>l)).replace(/\[name\]/gi,(()=>f)).replace(/\[path\]/gi,(()=>p)).replace(/\[folder\]/gi,(()=>h)).replace(/\[query\]/gi,(()=>d));if(c&&e.resourcePath){const r=e.resourcePath.match(new RegExp(c));r&&r.forEach(((e,r)=>{m=m.replace(new RegExp("\\["+r+"\\]","ig"),e)}))}if(typeof e.options==="object"&&typeof e.options.customInterpolateName==="function"){m=e.options.customInterpolateName.call(e,m,r,t)}return m}e.exports=interpolateName},5056:function(e,r,t){"use strict";const a=t(1017);function isUrlRequest(e,r){if(/^[a-z][a-z0-9+.-]*:/i.test(e)&&!a.win32.isAbsolute(e)){return false}if(/^\/\//.test(e)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(e)){return false}if((r===undefined||r===false)&&/^\//.test(e)){return false}return true}e.exports=isUrlRequest},3483:function(e,r,t){"use strict";const a=t(4687);const s={null:null,true:true,false:false};function parseQuery(e){if(e.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}e=e.substr(1);if(!e){return{}}if(e.substr(0,1)==="{"&&e.substr(-1)==="}"){return a.parse(e)}const r=e.split(/[,&]/g);const t={};r.forEach((e=>{const r=e.indexOf("=");if(r>=0){let a=e.substr(0,r);let i=decodeURIComponent(e.substr(r+1));if(s.hasOwnProperty(i)){i=s[i]}if(a.substr(-2)==="[]"){a=decodeURIComponent(a.substr(0,a.length-2));if(!Array.isArray(t[a])){t[a]=[]}t[a].push(i)}else{a=decodeURIComponent(a);t[a]=i}}else{if(e.substr(0,1)==="-"){t[decodeURIComponent(e.substr(1))]=false}else if(e.substr(0,1)==="+"){t[decodeURIComponent(e.substr(1))]=true}else{t[decodeURIComponent(e)]=true}}}));return t}e.exports=parseQuery},4291:function(e){"use strict";function parseString(e){try{if(e[0]==='"'){return JSON.parse(e)}if(e[0]==="'"&&e.substr(e.length-1)==="'"){return parseString(e.replace(/\\.|"/g,(e=>e==='"'?'\\"':e)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+e+'"')}catch(r){return e}}e.exports=parseString},9438:function(e,r,t){"use strict";const a=t(1017);const s=/^\.\.?[/\\]/;function isAbsolutePath(e){return a.posix.isAbsolute(e)||a.win32.isAbsolute(e)}function isRelativePath(e){return s.test(e)}function stringifyRequest(e,r){const t=r.split("!");const s=e.context||e.options&&e.options.context;return JSON.stringify(t.map((e=>{const r=e.match(/^(.*?)(\?.*)/);const t=r?r[2]:"";let i=r?r[1]:e;if(isAbsolutePath(i)&&s){i=a.relative(s,i);if(isAbsolutePath(i)){return i+t}if(isRelativePath(i)===false){i="./"+i}}return i.replace(/\\/g,"/")+t})).join("!"))}e.exports=stringifyRequest},1579:function(e){"use strict";const r=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(e,t){if(e===""){return""}const a=/^[^?]*~/;let s;if(r.test(e)){s=e}else if(t!==undefined&&t!==false&&/^\//.test(e)){switch(typeof t){case"string":if(a.test(t)){s=t.replace(/([^~/])$/,"$1/")+e.slice(1)}else{s=t+e}break;case"boolean":s=e;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+e+", root = "+t+".")}}else if(/^\.\.?\//.test(e)){s=e}else{s="./"+e}if(a.test(s)){s=s.replace(a,"")}return s}e.exports=urlToRequest},3627:function(e,r,t){"use strict";const a=t(1017);const s=t(7147);const{promisify:i}=t(3837);const n=t(5696);const u=i(s.stat);const o=i(s.lstat);const c={directory:"isDirectory",file:"isFile"};function checkType({type:e}){if(e in c){return}throw new Error(`Invalid type specified: ${e}`)}const matchType=(e,r)=>e===undefined||r[c[e]]();e.exports=async(e,r)=>{r={cwd:process.cwd(),type:"file",allowSymlinks:true,...r};checkType(r);const t=r.allowSymlinks?u:o;return n(e,(async e=>{try{const s=await t(a.resolve(r.cwd,e));return matchType(r.type,s)}catch(e){return false}}),r)};e.exports.sync=(e,r)=>{r={cwd:process.cwd(),allowSymlinks:true,type:"file",...r};checkType(r);const t=r.allowSymlinks?s.statSync:s.lstatSync;for(const s of e){try{const e=t(a.resolve(r.cwd,s));if(matchType(r.type,e)){return s}}catch(e){}}}},8465:function(e,r,t){"use strict";const a=t(7147);const s=t(1017);const{promisify:i}=t(3837);const n=t(8999);const u=n.satisfies(process.version,">=10.12.0");const checkPath=e=>{if(process.platform==="win32"){const r=/[<>:"|?*]/.test(e.replace(s.parse(e).root,""));if(r){const r=new Error(`Path contains invalid characters: ${e}`);r.code="EINVAL";throw r}}};const processOptions=e=>{const r={mode:511,fs:a};return{...r,...e}};const permissionError=e=>{const r=new Error(`operation not permitted, mkdir '${e}'`);r.code="EPERM";r.errno=-4048;r.path=e;r.syscall="mkdir";return r};const makeDir=async(e,r)=>{checkPath(e);r=processOptions(r);const t=i(r.fs.mkdir);const n=i(r.fs.stat);if(u&&r.fs.mkdir===a.mkdir){const a=s.resolve(e);await t(a,{mode:r.mode,recursive:true});return a}const make=async e=>{try{await t(e,r.mode);return e}catch(r){if(r.code==="EPERM"){throw r}if(r.code==="ENOENT"){if(s.dirname(e)===e){throw permissionError(e)}if(r.message.includes("null bytes")){throw r}await make(s.dirname(e));return make(e)}try{const r=await n(e);if(!r.isDirectory()){throw new Error("The path is not a directory")}}catch(e){throw r}return e}};return make(s.resolve(e))};e.exports=makeDir;e.exports.sync=(e,r)=>{checkPath(e);r=processOptions(r);if(u&&r.fs.mkdirSync===a.mkdirSync){const t=s.resolve(e);a.mkdirSync(t,{mode:r.mode,recursive:true});return t}const make=e=>{try{r.fs.mkdirSync(e,r.mode)}catch(t){if(t.code==="EPERM"){throw t}if(t.code==="ENOENT"){if(s.dirname(e)===e){throw permissionError(e)}if(t.message.includes("null bytes")){throw t}make(s.dirname(e));return make(e)}try{if(!r.fs.statSync(e).isDirectory()){throw new Error("The path is not a directory")}}catch(e){throw t}}return e};return make(s.resolve(e))}},6848:function(e,r,t){"use strict";const a=t(7242);const pLimit=e=>{if(!((Number.isInteger(e)||e===Infinity)&&e>0)){return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"))}const r=[];let t=0;const next=()=>{t--;if(r.length>0){r.shift()()}};const run=(e,r,...s)=>{t++;const i=a(e,...s);r(i);i.then(next,next)};const enqueue=(a,s,...i)=>{if(t<e){run(a,s,...i)}else{r.push(run.bind(null,a,s,...i))}};const generator=(e,...r)=>new Promise((t=>enqueue(e,t,...r)));Object.defineProperties(generator,{activeCount:{get:()=>t},pendingCount:{get:()=>r.length},clearQueue:{value:()=>{r.length=0}}});return generator};e.exports=pLimit;e.exports["default"]=pLimit},5696:function(e,r,t){"use strict";const a=t(6848);class EndError extends Error{constructor(e){super();this.value=e}}const testElement=async(e,r)=>r(await e);const finder=async e=>{const r=await Promise.all(e);if(r[1]===true){throw new EndError(r[0])}return false};const pLocate=async(e,r,t)=>{t={concurrency:Infinity,preserveOrder:true,...t};const s=a(t.concurrency);const i=[...e].map((e=>[e,s(testElement,e,r)]));const n=a(t.preserveOrder?1:Infinity);try{await Promise.all(i.map((e=>n(finder,e))))}catch(e){if(e instanceof EndError){return e.value}throw e}};e.exports=pLocate;e.exports["default"]=pLocate},7242:function(e){"use strict";const pTry=(e,...r)=>new Promise((t=>{t(e(...r))}));e.exports=pTry;e.exports["default"]=pTry},3896:function(e,r,t){"use strict";const a=t(7147);const{promisify:s}=t(3837);const i=s(a.access);e.exports=async e=>{try{await i(e);return true}catch(e){return false}};e.exports.sync=e=>{try{a.accessSync(e);return true}catch(e){return false}}},369:function(e,r,t){"use strict";const a=t(1017);const s=t(4320);const pkgDir=async e=>{const r=await s("package.json",{cwd:e});return r&&a.dirname(r)};e.exports=pkgDir;e.exports["default"]=pkgDir;e.exports.sync=e=>{const r=s.sync("package.json",{cwd:e});return r&&a.dirname(r)}},6583:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;const{stringHints:a,numberHints:s}=t(1794);const i={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(e,r){const t=e.reduce(((e,t)=>Math.max(e,r(t))),0);return e.filter((e=>r(e)===t))}function filterChildren(e){let r=e;r=filterMax(r,(e=>e.dataPath?e.dataPath.length:0));r=filterMax(r,(e=>i[e.keyword]||2));return r}function findAllChildren(e,r){let t=e.length-1;const predicate=r=>e[t].schemaPath.indexOf(r)!==0;while(t>-1&&!r.every(predicate)){if(e[t].keyword==="anyOf"||e[t].keyword==="oneOf"){const r=extractRefs(e[t]);const a=findAllChildren(e.slice(0,t),r.concat(e[t].schemaPath));t=a-1}else{t-=1}}return t+1}function extractRefs(e){const{schema:r}=e;if(!Array.isArray(r)){return[]}return r.map((({$ref:e})=>e)).filter((e=>e))}function groupChildrenByFirstChild(e){const r=[];let t=e.length-1;while(t>0){const a=e[t];if(a.keyword==="anyOf"||a.keyword==="oneOf"){const s=extractRefs(a);const i=findAllChildren(e.slice(0,t),s.concat(a.schemaPath));if(i!==t){r.push(Object.assign({},a,{children:e.slice(i,t)}));t=i}else{r.push(a)}}else{r.push(a)}t-=1}if(t===0){r.push(e[t])}return r.reverse()}function indent(e,r){return e.replace(/\n(?!$)/g,`\n${r}`)}function hasNotInSchema(e){return!!e.not}function findFirstTypedSchema(e){if(hasNotInSchema(e)){return findFirstTypedSchema(e.not)}return e}function canApplyNot(e){const r=findFirstTypedSchema(e);return likeNumber(r)||likeInteger(r)||likeString(r)||likeNull(r)||likeBoolean(r)}function isObject(e){return typeof e==="object"&&e!==null}function likeNumber(e){return e.type==="number"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeInteger(e){return e.type==="integer"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeString(e){return e.type==="string"||typeof e.minLength!=="undefined"||typeof e.maxLength!=="undefined"||typeof e.pattern!=="undefined"||typeof e.format!=="undefined"||typeof e.formatMinimum!=="undefined"||typeof e.formatMaximum!=="undefined"}function likeBoolean(e){return e.type==="boolean"}function likeArray(e){return e.type==="array"||typeof e.minItems==="number"||typeof e.maxItems==="number"||typeof e.uniqueItems!=="undefined"||typeof e.items!=="undefined"||typeof e.additionalItems!=="undefined"||typeof e.contains!=="undefined"}function likeObject(e){return e.type==="object"||typeof e.minProperties!=="undefined"||typeof e.maxProperties!=="undefined"||typeof e.required!=="undefined"||typeof e.properties!=="undefined"||typeof e.patternProperties!=="undefined"||typeof e.additionalProperties!=="undefined"||typeof e.dependencies!=="undefined"||typeof e.propertyNames!=="undefined"||typeof e.patternRequired!=="undefined"}function likeNull(e){return e.type==="null"}function getArticle(e){if(/^[aeiou]/i.test(e)){return"an"}return"a"}function getSchemaNonTypes(e){if(!e){return""}if(!e.type){if(likeNumber(e)||likeInteger(e)){return" | should be any non-number"}if(likeString(e)){return" | should be any non-string"}if(likeArray(e)){return" | should be any non-array"}if(likeObject(e)){return" | should be any non-object"}}return""}function formatHints(e){return e.length>0?`(${e.join(", ")})`:""}function getHints(e,r){if(likeNumber(e)||likeInteger(e)){return s(e,r)}else if(likeString(e)){return a(e,r)}return[]}class ValidationError extends Error{constructor(e,r,t={}){super();this.name="ValidationError";this.errors=e;this.schema=r;let a;let s;if(r.title&&(!t.name||!t.baseDataPath)){const e=r.title.match(/^(.+) (.+)$/);if(e){if(!t.name){[,a]=e}if(!t.baseDataPath){[,,s]=e}}}this.headerName=t.name||a||"Object";this.baseDataPath=t.baseDataPath||s||"configuration";this.postFormatter=t.postFormatter||null;const i=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${i}${this.formatValidationErrors(e)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(e){const r=e.split("/");let t=this.schema;for(let e=1;e<r.length;e++){const a=t[r[e]];if(!a){break}t=a}return t}formatSchema(e,r=true,t=[]){let a=r;const formatInnerSchema=(r,s)=>{if(!s){return this.formatSchema(r,a,t)}if(t.includes(r)){return"(recursive)"}return this.formatSchema(r,a,t.concat(e))};if(hasNotInSchema(e)&&!likeObject(e)){if(canApplyNot(e.not)){a=!r;return formatInnerSchema(e.not)}const t=!e.not.not;const s=r?"":"non ";a=!r;return t?s+formatInnerSchema(e.not):formatInnerSchema(e.not)}if(e.instanceof){const{instanceof:r}=e;const t=!Array.isArray(r)?[r]:r;return t.map((e=>e==="Function"?"function":e)).join(" | ")}if(e.enum){return e.enum.map((e=>JSON.stringify(e))).join(" | ")}if(typeof e.const!=="undefined"){return JSON.stringify(e.const)}if(e.oneOf){return e.oneOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.anyOf){return e.anyOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.allOf){return e.allOf.map((e=>formatInnerSchema(e,true))).join(" & ")}if(e.if){const{if:r,then:t,else:a}=e;return`${r?`if ${formatInnerSchema(r)}`:""}${t?` then ${formatInnerSchema(t)}`:""}${a?` else ${formatInnerSchema(a)}`:""}`}if(e.$ref){return formatInnerSchema(this.getSchemaPart(e.$ref),true)}if(likeNumber(e)||likeInteger(e)){const[t,...a]=getHints(e,r);const s=`${t}${a.length>0?` ${formatHints(a)}`:""}`;return r?s:a.length>0?`non-${t} | ${s}`:`non-${t}`}if(likeString(e)){const[t,...a]=getHints(e,r);const s=`${t}${a.length>0?` ${formatHints(a)}`:""}`;return r?s:s==="string"?"non-string":`non-string | ${s}`}if(likeBoolean(e)){return`${r?"":"non-"}boolean`}if(likeArray(e)){a=true;const r=[];if(typeof e.minItems==="number"){r.push(`should not have fewer than ${e.minItems} item${e.minItems>1?"s":""}`)}if(typeof e.maxItems==="number"){r.push(`should not have more than ${e.maxItems} item${e.maxItems>1?"s":""}`)}if(e.uniqueItems){r.push("should not have duplicate items")}const t=typeof e.additionalItems==="undefined"||Boolean(e.additionalItems);let s="";if(e.items){if(Array.isArray(e.items)&&e.items.length>0){s=`${e.items.map((e=>formatInnerSchema(e))).join(", ")}`;if(t){if(e.additionalItems&&isObject(e.additionalItems)&&Object.keys(e.additionalItems).length>0){r.push(`additional items should be ${formatInnerSchema(e.additionalItems)}`)}}}else if(e.items&&Object.keys(e.items).length>0){s=`${formatInnerSchema(e.items)}`}else{s="any"}}else{s="any"}if(e.contains&&Object.keys(e.contains).length>0){r.push(`should contains at least one ${this.formatSchema(e.contains)} item`)}return`[${s}${t?", ...":""}]${r.length>0?` (${r.join(", ")})`:""}`}if(likeObject(e)){a=true;const r=[];if(typeof e.minProperties==="number"){r.push(`should not have fewer than ${e.minProperties} ${e.minProperties>1?"properties":"property"}`)}if(typeof e.maxProperties==="number"){r.push(`should not have more than ${e.maxProperties} ${e.minProperties&&e.minProperties>1?"properties":"property"}`)}if(e.patternProperties&&Object.keys(e.patternProperties).length>0){const t=Object.keys(e.patternProperties);r.push(`additional property names should match pattern${t.length>1?"s":""} ${t.map((e=>JSON.stringify(e))).join(" | ")}`)}const t=e.properties?Object.keys(e.properties):[];const s=e.required?e.required:[];const i=[...new Set([].concat(s).concat(t))];const n=i.map((e=>{const r=s.includes(e);return`${e}${r?"":"?"}`})).concat(typeof e.additionalProperties==="undefined"||Boolean(e.additionalProperties)?e.additionalProperties&&isObject(e.additionalProperties)?[`<key>: ${formatInnerSchema(e.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:u,propertyNames:o,patternRequired:c}=e;if(u){Object.keys(u).forEach((e=>{const t=u[e];if(Array.isArray(t)){r.push(`should have ${t.length>1?"properties":"property"} ${t.map((e=>`'${e}'`)).join(", ")} when property '${e}' is present`)}else{r.push(`should be valid according to the schema ${formatInnerSchema(t)} when property '${e}' is present`)}}))}if(o&&Object.keys(o).length>0){r.push(`each property name should match format ${JSON.stringify(e.propertyNames.format)}`)}if(c&&c.length>0){r.push(`should have property matching pattern ${c.map((e=>JSON.stringify(e)))}`)}return`object {${n?` ${n} `:""}}${r.length>0?` (${r.join(", ")})`:""}`}if(likeNull(e)){return`${r?"":"non-"}null`}if(Array.isArray(e.type)){return`${e.type.join(" | ")}`}return JSON.stringify(e,null,2)}getSchemaPartText(e,r,t=false,a=true){if(!e){return""}if(Array.isArray(r)){for(let t=0;t<r.length;t++){const a=e[r[t]];if(a){e=a}else{break}}}while(e.$ref){e=this.getSchemaPart(e.$ref)}let s=`${this.formatSchema(e,a)}${t?".":""}`;if(e.description){s+=`\n-> ${e.description}`}return s}getSchemaPartDescription(e){if(!e){return""}while(e.$ref){e=this.getSchemaPart(e.$ref)}if(e.description){return`\n-> ${e.description}`}return""}formatValidationError(e){const{keyword:r,dataPath:t}=e;const a=`${this.baseDataPath}${t}`;switch(r){case"type":{const{parentSchema:r,params:t}=e;switch(t.type){case"number":return`${a} should be a ${this.getSchemaPartText(r,false,true)}`;case"integer":return`${a} should be a ${this.getSchemaPartText(r,false,true)}`;case"string":return`${a} should be a ${this.getSchemaPartText(r,false,true)}`;case"boolean":return`${a} should be a ${this.getSchemaPartText(r,false,true)}`;case"array":return`${a} should be an array:\n${this.getSchemaPartText(r)}`;case"object":return`${a} should be an object:\n${this.getSchemaPartText(r)}`;case"null":return`${a} should be a ${this.getSchemaPartText(r,false,true)}`;default:return`${a} should be:\n${this.getSchemaPartText(r)}`}}case"instanceof":{const{parentSchema:r}=e;return`${a} should be an instance of ${this.getSchemaPartText(r,false,true)}`}case"pattern":{const{params:r,parentSchema:t}=e;const{pattern:s}=r;return`${a} should match pattern ${JSON.stringify(s)}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"format":{const{params:r,parentSchema:t}=e;const{format:s}=r;return`${a} should match format ${JSON.stringify(s)}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"formatMinimum":case"formatMaximum":{const{params:r,parentSchema:t}=e;const{comparison:s,limit:i}=r;return`${a} should be ${s} ${JSON.stringify(i)}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:r,params:t}=e;const{comparison:s,limit:i}=t;const[,...n]=getHints(r,true);if(n.length===0){n.push(`should be ${s} ${i}`)}return`${a} ${n.join(" ")}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"multipleOf":{const{params:r,parentSchema:t}=e;const{multipleOf:s}=r;return`${a} should be multiple of ${s}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"patternRequired":{const{params:r,parentSchema:t}=e;const{missingPattern:s}=r;return`${a} should have property matching pattern ${JSON.stringify(s)}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"minLength":{const{params:r,parentSchema:t}=e;const{limit:s}=r;if(s===1){return`${a} should be an non-empty string${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}const i=s-1;return`${a} should be longer than ${i} character${i>1?"s":""}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"minItems":{const{params:r,parentSchema:t}=e;const{limit:s}=r;if(s===1){return`${a} should be an non-empty array${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}return`${a} should not have fewer than ${s} items${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"minProperties":{const{params:r,parentSchema:t}=e;const{limit:s}=r;if(s===1){return`${a} should be an non-empty object${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}return`${a} should not have fewer than ${s} properties${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"maxLength":{const{params:r,parentSchema:t}=e;const{limit:s}=r;const i=s+1;return`${a} should be shorter than ${i} character${i>1?"s":""}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"maxItems":{const{params:r,parentSchema:t}=e;const{limit:s}=r;return`${a} should not have more than ${s} items${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"maxProperties":{const{params:r,parentSchema:t}=e;const{limit:s}=r;return`${a} should not have more than ${s} properties${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"uniqueItems":{const{params:r,parentSchema:t}=e;const{i:s}=r;return`${a} should not contain the item '${e.data[s]}' twice${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"additionalItems":{const{params:r,parentSchema:t}=e;const{limit:s}=r;return`${a} should not have more than ${s} items${getSchemaNonTypes(t)}. These items are valid:\n${this.getSchemaPartText(t)}`}case"contains":{const{parentSchema:r}=e;return`${a} should contains at least one ${this.getSchemaPartText(r,["contains"])} item${getSchemaNonTypes(r)}.`}case"required":{const{parentSchema:r,params:t}=e;const s=t.missingProperty.replace(/^\./,"");const i=r&&Boolean(r.properties&&r.properties[s]);return`${a} misses the property '${s}'${getSchemaNonTypes(r)}.${i?` Should be:\n${this.getSchemaPartText(r,["properties",s])}`:this.getSchemaPartDescription(r)}`}case"additionalProperties":{const{params:r,parentSchema:t}=e;const{additionalProperty:s}=r;return`${a} has an unknown property '${s}'${getSchemaNonTypes(t)}. These properties are valid:\n${this.getSchemaPartText(t)}`}case"dependencies":{const{params:r,parentSchema:t}=e;const{property:s,deps:i}=r;const n=i.split(",").map((e=>`'${e.trim()}'`)).join(", ");return`${a} should have properties ${n} when property '${s}' is present${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"propertyNames":{const{params:r,parentSchema:t,schema:s}=e;const{propertyName:i}=r;return`${a} property name '${i}' is invalid${getSchemaNonTypes(t)}. Property names should be match format ${JSON.stringify(s.format)}.${this.getSchemaPartDescription(t)}`}case"enum":{const{parentSchema:r}=e;if(r&&r.enum&&r.enum.length===1){return`${a} should be ${this.getSchemaPartText(r,false,true)}`}return`${a} should be one of these:\n${this.getSchemaPartText(r)}`}case"const":{const{parentSchema:r}=e;return`${a} should be equal to constant ${this.getSchemaPartText(r,false,true)}`}case"not":{const r=likeObject(e.parentSchema)?`\n${this.getSchemaPartText(e.parentSchema)}`:"";const t=this.getSchemaPartText(e.schema,false,false,false);if(canApplyNot(e.schema)){return`${a} should be any ${t}${r}.`}const{schema:s,parentSchema:i}=e;return`${a} should not be ${this.getSchemaPartText(s,false,true)}${i&&likeObject(i)?`\n${this.getSchemaPartText(i)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:r,children:t}=e;if(t&&t.length>0){if(e.schema.length===1){const e=t[t.length-1];const a=t.slice(0,t.length-1);return this.formatValidationError(Object.assign({},e,{children:a,parentSchema:Object.assign({},r,e.parentSchema)}))}let s=filterChildren(t);if(s.length===1){return this.formatValidationError(s[0])}s=groupChildrenByFirstChild(s);return`${a} should be one of these:\n${this.getSchemaPartText(r)}\nDetails:\n${s.map((e=>` * ${indent(this.formatValidationError(e)," ")}`)).join("\n")}`}return`${a} should be one of these:\n${this.getSchemaPartText(r)}`}case"if":{const{params:r,parentSchema:t}=e;const{failingKeyword:s}=r;return`${a} should match "${s}" schema:\n${this.getSchemaPartText(t,[s])}`}case"absolutePath":{const{message:r,parentSchema:t}=e;return`${a}: ${r}${this.getSchemaPartDescription(t)}`}default:{const{message:r,parentSchema:t}=e;const s=JSON.stringify(e,null,2);return`${a} ${r} (${s}).\n${this.getSchemaPartText(t,false)}`}}}formatValidationErrors(e){return e.map((e=>{let r=this.formatValidationError(e);if(this.postFormatter){r=this.postFormatter(r,e)}return` - ${indent(r," ")}`})).join("\n")}}var n=ValidationError;r["default"]=n},7189:function(e,r,t){"use strict";const a=t(9626);e.exports=a.default},8548:function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;function errorMessage(e,r,t){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:t},message:e,parentSchema:r}}function getErrorFor(e,r,t){const a=e?`The provided value ${JSON.stringify(t)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(t)} is an absolute path!`;return errorMessage(a,r,t)}function addAbsolutePathKeyword(e){e.addKeyword("absolutePath",{errors:true,type:"string",compile(e,r){const callback=t=>{let a=true;const s=t.includes("!");if(s){callback.errors=[errorMessage(`The provided value ${JSON.stringify(t)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,r,t)];a=false}const i=e===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(t);if(!i){callback.errors=[getErrorFor(e,r,t)];a=false}return a};callback.errors=[];return callback}});return e}var t=addAbsolutePathKeyword;r["default"]=t},638:function(e){"use strict";class Range{static getOperator(e,r){if(e==="left"){return r?">":">="}return r?"<":"<="}static formatRight(e,r,t){if(r===false){return Range.formatLeft(e,!r,!t)}return`should be ${Range.getOperator("right",t)} ${e}`}static formatLeft(e,r,t){if(r===false){return Range.formatRight(e,!r,!t)}return`should be ${Range.getOperator("left",t)} ${e}`}static formatRange(e,r,t,a,s){let i="should be";i+=` ${Range.getOperator(s?"left":"right",s?t:!t)} ${e} `;i+=s?"and":"or";i+=` ${Range.getOperator(s?"right":"left",s?a:!a)} ${r}`;return i}static getRangeValue(e,r){let t=r?Infinity:-Infinity;let a=-1;const s=r?([e])=>e<=t:([e])=>e>=t;for(let r=0;r<e.length;r++){if(s(e[r])){[t]=e[r];a=r}}if(a>-1){return e[a]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(e,r=false){this._left.push([e,r])}right(e,r=false){this._right.push([e,r])}format(e=true){const[r,t]=Range.getRangeValue(this._left,e);const[a,s]=Range.getRangeValue(this._right,!e);if(!Number.isFinite(r)&&!Number.isFinite(a)){return""}const i=t?r+1:r;const n=s?a-1:a;if(i===n){return`should be ${e?"":"!"}= ${i}`}if(Number.isFinite(r)&&!Number.isFinite(a)){return Range.formatLeft(r,e,t)}if(!Number.isFinite(r)&&Number.isFinite(a)){return Range.formatRight(a,e,s)}return Range.formatRange(r,a,t,s,e)}}e.exports=Range},1794:function(e,r,t){"use strict";const a=t(638);e.exports.stringHints=function stringHints(e,r){const t=[];let a="string";const s={...e};if(!r){const e=s.minLength;const r=s.formatMinimum;const t=s.formatExclusiveMaximum;s.minLength=s.maxLength;s.maxLength=e;s.formatMinimum=s.formatMaximum;s.formatMaximum=r;s.formatExclusiveMaximum=!s.formatExclusiveMinimum;s.formatExclusiveMinimum=!t}if(typeof s.minLength==="number"){if(s.minLength===1){a="non-empty string"}else{const e=Math.max(s.minLength-1,0);t.push(`should be longer than ${e} character${e>1?"s":""}`)}}if(typeof s.maxLength==="number"){if(s.maxLength===0){a="empty string"}else{const e=s.maxLength+1;t.push(`should be shorter than ${e} character${e>1?"s":""}`)}}if(s.pattern){t.push(`should${r?"":" not"} match pattern ${JSON.stringify(s.pattern)}`)}if(s.format){t.push(`should${r?"":" not"} match format ${JSON.stringify(s.format)}`)}if(s.formatMinimum){t.push(`should be ${s.formatExclusiveMinimum?">":">="} ${JSON.stringify(s.formatMinimum)}`)}if(s.formatMaximum){t.push(`should be ${s.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(s.formatMaximum)}`)}return[a].concat(t)};e.exports.numberHints=function numberHints(e,r){const t=[e.type==="integer"?"integer":"number"];const s=new a;if(typeof e.minimum==="number"){s.left(e.minimum)}if(typeof e.exclusiveMinimum==="number"){s.left(e.exclusiveMinimum,true)}if(typeof e.maximum==="number"){s.right(e.maximum)}if(typeof e.exclusiveMaximum==="number"){s.right(e.exclusiveMaximum,true)}const i=s.format(r);if(i){t.push(i)}if(typeof e.multipleOf==="number"){t.push(`should${r?"":" not"} be multiple of ${e.multipleOf}`)}return t}},9626:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var a=_interopRequireDefault(t(8548));var s=_interopRequireDefault(t(6583));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=t(8601);const n=t(4133);const u=new i({allErrors:true,verbose:true,$data:true});n(u,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,a.default)(u);function validate(e,r,t){let a=[];if(Array.isArray(r)){a=Array.from(r,(r=>validateObject(e,r)));a.forEach(((e,r)=>{const applyPrefix=e=>{e.dataPath=`[${r}]${e.dataPath}`;if(e.children){e.children.forEach(applyPrefix)}};e.forEach(applyPrefix)}));a=a.reduce(((e,r)=>{e.push(...r);return e}),[])}else{a=validateObject(e,r)}if(a.length>0){throw new s.default(a,e,t)}}function validateObject(e,r){const t=u.compile(e);const a=t(r);if(a)return[];return t.errors?filterErrors(t.errors):[]}function filterErrors(e){let r=[];for(const t of e){const{dataPath:e}=t;let a=[];r=r.filter((r=>{if(r.dataPath.includes(e)){if(r.children){a=a.concat(r.children.slice(0))}r.children=undefined;a.push(r);return false}return true}));if(a.length){t.children=a}r.push(t)}return r}validate.ValidationError=s.default;validate.ValidateError=s.default;var o=validate;r["default"]=o},8999:function(e,r){r=e.exports=SemVer;var t;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){t=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{t=function(){}}r.SEMVER_SPEC_VERSION="2.0.0";var a=256;var s=Number.MAX_SAFE_INTEGER||9007199254740991;var i=16;var n=r.re=[];var u=r.src=[];var o=r.tokens={};var c=0;function tok(e){o[e]=c++}tok("NUMERICIDENTIFIER");u[o.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");u[o.NUMERICIDENTIFIERLOOSE]="[0-9]+";tok("NONNUMERICIDENTIFIER");u[o.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";tok("MAINVERSION");u[o.MAINVERSION]="("+u[o.NUMERICIDENTIFIER]+")\\."+"("+u[o.NUMERICIDENTIFIER]+")\\."+"("+u[o.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");u[o.MAINVERSIONLOOSE]="("+u[o.NUMERICIDENTIFIERLOOSE]+")\\."+"("+u[o.NUMERICIDENTIFIERLOOSE]+")\\."+"("+u[o.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");u[o.PRERELEASEIDENTIFIER]="(?:"+u[o.NUMERICIDENTIFIER]+"|"+u[o.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");u[o.PRERELEASEIDENTIFIERLOOSE]="(?:"+u[o.NUMERICIDENTIFIERLOOSE]+"|"+u[o.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");u[o.PRERELEASE]="(?:-("+u[o.PRERELEASEIDENTIFIER]+"(?:\\."+u[o.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");u[o.PRERELEASELOOSE]="(?:-?("+u[o.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+u[o.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");u[o.BUILDIDENTIFIER]="[0-9A-Za-z-]+";tok("BUILD");u[o.BUILD]="(?:\\+("+u[o.BUILDIDENTIFIER]+"(?:\\."+u[o.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");u[o.FULLPLAIN]="v?"+u[o.MAINVERSION]+u[o.PRERELEASE]+"?"+u[o.BUILD]+"?";u[o.FULL]="^"+u[o.FULLPLAIN]+"$";tok("LOOSEPLAIN");u[o.LOOSEPLAIN]="[v=\\s]*"+u[o.MAINVERSIONLOOSE]+u[o.PRERELEASELOOSE]+"?"+u[o.BUILD]+"?";tok("LOOSE");u[o.LOOSE]="^"+u[o.LOOSEPLAIN]+"$";tok("GTLT");u[o.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");u[o.XRANGEIDENTIFIERLOOSE]=u[o.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");u[o.XRANGEIDENTIFIER]=u[o.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");u[o.XRANGEPLAIN]="[v=\\s]*("+u[o.XRANGEIDENTIFIER]+")"+"(?:\\.("+u[o.XRANGEIDENTIFIER]+")"+"(?:\\.("+u[o.XRANGEIDENTIFIER]+")"+"(?:"+u[o.PRERELEASE]+")?"+u[o.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");u[o.XRANGEPLAINLOOSE]="[v=\\s]*("+u[o.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+u[o.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+u[o.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+u[o.PRERELEASELOOSE]+")?"+u[o.BUILD]+"?"+")?)?";tok("XRANGE");u[o.XRANGE]="^"+u[o.GTLT]+"\\s*"+u[o.XRANGEPLAIN]+"$";tok("XRANGELOOSE");u[o.XRANGELOOSE]="^"+u[o.GTLT]+"\\s*"+u[o.XRANGEPLAINLOOSE]+"$";tok("COERCE");u[o.COERCE]="(^|[^\\d])"+"(\\d{1,"+i+"})"+"(?:\\.(\\d{1,"+i+"}))?"+"(?:\\.(\\d{1,"+i+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");n[o.COERCERTL]=new RegExp(u[o.COERCE],"g");tok("LONETILDE");u[o.LONETILDE]="(?:~>?)";tok("TILDETRIM");u[o.TILDETRIM]="(\\s*)"+u[o.LONETILDE]+"\\s+";n[o.TILDETRIM]=new RegExp(u[o.TILDETRIM],"g");var l="$1~";tok("TILDE");u[o.TILDE]="^"+u[o.LONETILDE]+u[o.XRANGEPLAIN]+"$";tok("TILDELOOSE");u[o.TILDELOOSE]="^"+u[o.LONETILDE]+u[o.XRANGEPLAINLOOSE]+"$";tok("LONECARET");u[o.LONECARET]="(?:\\^)";tok("CARETTRIM");u[o.CARETTRIM]="(\\s*)"+u[o.LONECARET]+"\\s+";n[o.CARETTRIM]=new RegExp(u[o.CARETTRIM],"g");var f="$1^";tok("CARET");u[o.CARET]="^"+u[o.LONECARET]+u[o.XRANGEPLAIN]+"$";tok("CARETLOOSE");u[o.CARETLOOSE]="^"+u[o.LONECARET]+u[o.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");u[o.COMPARATORLOOSE]="^"+u[o.GTLT]+"\\s*("+u[o.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");u[o.COMPARATOR]="^"+u[o.GTLT]+"\\s*("+u[o.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");u[o.COMPARATORTRIM]="(\\s*)"+u[o.GTLT]+"\\s*("+u[o.LOOSEPLAIN]+"|"+u[o.XRANGEPLAIN]+")";n[o.COMPARATORTRIM]=new RegExp(u[o.COMPARATORTRIM],"g");var p="$1$2$3";tok("HYPHENRANGE");u[o.HYPHENRANGE]="^\\s*("+u[o.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+u[o.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");u[o.HYPHENRANGELOOSE]="^\\s*("+u[o.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+u[o.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");u[o.STAR]="(<|>)?=?\\s*\\*";for(var h=0;h<c;h++){t(h,u[h]);if(!n[h]){n[h]=new RegExp(u[h])}}r.parse=parse;function parse(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}if(e.length>a){return null}var t=r.loose?n[o.LOOSE]:n[o.FULL];if(!t.test(e)){return null}try{return new SemVer(e,r)}catch(e){return null}}r.valid=valid;function valid(e,r){var t=parse(e,r);return t?t.version:null}r.clean=clean;function clean(e,r){var t=parse(e.trim().replace(/^[=v]+/,""),r);return t?t.version:null}r.SemVer=SemVer;function SemVer(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===r.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>a){throw new TypeError("version is longer than "+a+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,r)}t("SemVer",e,r);this.options=r;this.loose=!!r.loose;var i=e.trim().match(r.loose?n[o.LOOSE]:n[o.FULL]);if(!i){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+i[1];this.minor=+i[2];this.patch=+i[3];if(this.major>s||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>s||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>s||this.patch<0){throw new TypeError("Invalid patch version")}if(!i[4]){this.prerelease=[]}else{this.prerelease=i[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var r=+e;if(r>=0&&r<s){return r}}return e}))}this.build=i[5]?i[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(e){t("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return this.compareMain(e)||this.comparePre(e)};SemVer.prototype.compareMain=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return compareIdentifiers(this.major,e.major)||compareIdentifiers(this.minor,e.minor)||compareIdentifiers(this.patch,e.patch)};SemVer.prototype.comparePre=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}var r=0;do{var a=this.prerelease[r];var s=e.prerelease[r];t("prerelease compare",r,a,s);if(a===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(a===undefined){return-1}else if(a===s){continue}else{return compareIdentifiers(a,s)}}while(++r)};SemVer.prototype.compareBuild=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}var r=0;do{var a=this.build[r];var s=e.build[r];t("prerelease compare",r,a,s);if(a===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(a===undefined){return-1}else if(a===s){continue}else{return compareIdentifiers(a,s)}}while(++r)};SemVer.prototype.inc=function(e,r){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",r);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",r);break;case"prepatch":this.prerelease.length=0;this.inc("patch",r);this.inc("pre",r);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",r)}this.inc("pre",r);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var t=this.prerelease.length;while(--t>=0){if(typeof this.prerelease[t]==="number"){this.prerelease[t]++;t=-2}}if(t===-1){this.prerelease.push(0)}}if(r){if(this.prerelease[0]===r){if(isNaN(this.prerelease[1])){this.prerelease=[r,0]}}else{this.prerelease=[r,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};r.inc=inc;function inc(e,r,t,a){if(typeof t==="string"){a=t;t=undefined}try{return new SemVer(e,t).inc(r,a).version}catch(e){return null}}r.diff=diff;function diff(e,r){if(eq(e,r)){return null}else{var t=parse(e);var a=parse(r);var s="";if(t.prerelease.length||a.prerelease.length){s="pre";var i="prerelease"}for(var n in t){if(n==="major"||n==="minor"||n==="patch"){if(t[n]!==a[n]){return s+n}}}return i}}r.compareIdentifiers=compareIdentifiers;var d=/^[0-9]+$/;function compareIdentifiers(e,r){var t=d.test(e);var a=d.test(r);if(t&&a){e=+e;r=+r}return e===r?0:t&&!a?-1:a&&!t?1:e<r?-1:1}r.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(e,r){return compareIdentifiers(r,e)}r.major=major;function major(e,r){return new SemVer(e,r).major}r.minor=minor;function minor(e,r){return new SemVer(e,r).minor}r.patch=patch;function patch(e,r){return new SemVer(e,r).patch}r.compare=compare;function compare(e,r,t){return new SemVer(e,t).compare(new SemVer(r,t))}r.compareLoose=compareLoose;function compareLoose(e,r){return compare(e,r,true)}r.compareBuild=compareBuild;function compareBuild(e,r,t){var a=new SemVer(e,t);var s=new SemVer(r,t);return a.compare(s)||a.compareBuild(s)}r.rcompare=rcompare;function rcompare(e,r,t){return compare(r,e,t)}r.sort=sort;function sort(e,t){return e.sort((function(e,a){return r.compareBuild(e,a,t)}))}r.rsort=rsort;function rsort(e,t){return e.sort((function(e,a){return r.compareBuild(a,e,t)}))}r.gt=gt;function gt(e,r,t){return compare(e,r,t)>0}r.lt=lt;function lt(e,r,t){return compare(e,r,t)<0}r.eq=eq;function eq(e,r,t){return compare(e,r,t)===0}r.neq=neq;function neq(e,r,t){return compare(e,r,t)!==0}r.gte=gte;function gte(e,r,t){return compare(e,r,t)>=0}r.lte=lte;function lte(e,r,t){return compare(e,r,t)<=0}r.cmp=cmp;function cmp(e,r,t,a){switch(r){case"===":if(typeof e==="object")e=e.version;if(typeof t==="object")t=t.version;return e===t;case"!==":if(typeof e==="object")e=e.version;if(typeof t==="object")t=t.version;return e!==t;case"":case"=":case"==":return eq(e,t,a);case"!=":return neq(e,t,a);case">":return gt(e,t,a);case">=":return gte(e,t,a);case"<":return lt(e,t,a);case"<=":return lte(e,t,a);default:throw new TypeError("Invalid operator: "+r)}}r.Comparator=Comparator;function Comparator(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!r.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,r)}t("comparator",e,r);this.options=r;this.loose=!!r.loose;this.parse(e);if(this.semver===m){this.value=""}else{this.value=this.operator+this.semver.version}t("comp",this)}var m={};Comparator.prototype.parse=function(e){var r=this.options.loose?n[o.COMPARATORLOOSE]:n[o.COMPARATOR];var t=e.match(r);if(!t){throw new TypeError("Invalid comparator: "+e)}this.operator=t[1]!==undefined?t[1]:"";if(this.operator==="="){this.operator=""}if(!t[2]){this.semver=m}else{this.semver=new SemVer(t[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){t("Comparator.test",e,this.options.loose);if(this.semver===m||e===m){return true}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,r){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}var t;if(this.operator===""){if(this.value===""){return true}t=new Range(e.value,r);return satisfies(this.value,t,r)}else if(e.operator===""){if(e.value===""){return true}t=new Range(this.value,r);return satisfies(e.semver,t,r)}var a=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var i=this.semver.version===e.semver.version;var n=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var u=cmp(this.semver,"<",e.semver,r)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var o=cmp(this.semver,">",e.semver,r)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return a||s||i&&n||u||o};r.Range=Range;function Range(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease){return e}else{return new Range(e.raw,r)}}if(e instanceof Comparator){return new Range(e.value,r)}if(!(this instanceof Range)){return new Range(e,r)}this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var r=this.options.loose;e=e.trim();var a=r?n[o.HYPHENRANGELOOSE]:n[o.HYPHENRANGE];e=e.replace(a,hyphenReplace);t("hyphen replace",e);e=e.replace(n[o.COMPARATORTRIM],p);t("comparator trim",e,n[o.COMPARATORTRIM]);e=e.replace(n[o.TILDETRIM],l);e=e.replace(n[o.CARETTRIM],f);e=e.split(/\s+/).join(" ");var s=r?n[o.COMPARATORLOOSE]:n[o.COMPARATOR];var i=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){i=i.filter((function(e){return!!e.match(s)}))}i=i.map((function(e){return new Comparator(e,this.options)}),this);return i};Range.prototype.intersects=function(e,r){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(t){return isSatisfiable(t,r)&&e.set.some((function(e){return isSatisfiable(e,r)&&t.every((function(t){return e.every((function(e){return t.intersects(e,r)}))}))}))}))};function isSatisfiable(e,r){var t=true;var a=e.slice();var s=a.pop();while(t&&a.length){t=a.every((function(e){return s.intersects(e,r)}));s=a.pop()}return t}r.toComparators=toComparators;function toComparators(e,r){return new Range(e,r).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,r){t("comp",e,r);e=replaceCarets(e,r);t("caret",e);e=replaceTildes(e,r);t("tildes",e);e=replaceXRanges(e,r);t("xrange",e);e=replaceStars(e,r);t("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,r){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,r)})).join(" ")}function replaceTilde(e,r){var a=r.loose?n[o.TILDELOOSE]:n[o.TILDE];return e.replace(a,(function(r,a,s,i,n){t("tilde",e,r,a,s,i,n);var u;if(isX(a)){u=""}else if(isX(s)){u=">="+a+".0.0 <"+(+a+1)+".0.0"}else if(isX(i)){u=">="+a+"."+s+".0 <"+a+"."+(+s+1)+".0"}else if(n){t("replaceTilde pr",n);u=">="+a+"."+s+"."+i+"-"+n+" <"+a+"."+(+s+1)+".0"}else{u=">="+a+"."+s+"."+i+" <"+a+"."+(+s+1)+".0"}t("tilde return",u);return u}))}function replaceCarets(e,r){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,r)})).join(" ")}function replaceCaret(e,r){t("caret",e,r);var a=r.loose?n[o.CARETLOOSE]:n[o.CARET];return e.replace(a,(function(r,a,s,i,n){t("caret",e,r,a,s,i,n);var u;if(isX(a)){u=""}else if(isX(s)){u=">="+a+".0.0 <"+(+a+1)+".0.0"}else if(isX(i)){if(a==="0"){u=">="+a+"."+s+".0 <"+a+"."+(+s+1)+".0"}else{u=">="+a+"."+s+".0 <"+(+a+1)+".0.0"}}else if(n){t("replaceCaret pr",n);if(a==="0"){if(s==="0"){u=">="+a+"."+s+"."+i+"-"+n+" <"+a+"."+s+"."+(+i+1)}else{u=">="+a+"."+s+"."+i+"-"+n+" <"+a+"."+(+s+1)+".0"}}else{u=">="+a+"."+s+"."+i+"-"+n+" <"+(+a+1)+".0.0"}}else{t("no pr");if(a==="0"){if(s==="0"){u=">="+a+"."+s+"."+i+" <"+a+"."+s+"."+(+i+1)}else{u=">="+a+"."+s+"."+i+" <"+a+"."+(+s+1)+".0"}}else{u=">="+a+"."+s+"."+i+" <"+(+a+1)+".0.0"}}t("caret return",u);return u}))}function replaceXRanges(e,r){t("replaceXRanges",e,r);return e.split(/\s+/).map((function(e){return replaceXRange(e,r)})).join(" ")}function replaceXRange(e,r){e=e.trim();var a=r.loose?n[o.XRANGELOOSE]:n[o.XRANGE];return e.replace(a,(function(a,s,i,n,u,o){t("xRange",e,a,s,i,n,u,o);var c=isX(i);var l=c||isX(n);var f=l||isX(u);var p=f;if(s==="="&&p){s=""}o=r.includePrerelease?"-0":"";if(c){if(s===">"||s==="<"){a="<0.0.0-0"}else{a="*"}}else if(s&&p){if(l){n=0}u=0;if(s===">"){s=">=";if(l){i=+i+1;n=0;u=0}else{n=+n+1;u=0}}else if(s==="<="){s="<";if(l){i=+i+1}else{n=+n+1}}a=s+i+"."+n+"."+u+o}else if(l){a=">="+i+".0.0"+o+" <"+(+i+1)+".0.0"+o}else if(f){a=">="+i+"."+n+".0"+o+" <"+i+"."+(+n+1)+".0"+o}t("xRange return",a);return a}))}function replaceStars(e,r){t("replaceStars",e,r);return e.trim().replace(n[o.STAR],"")}function hyphenReplace(e,r,t,a,s,i,n,u,o,c,l,f,p){if(isX(t)){r=""}else if(isX(a)){r=">="+t+".0.0"}else if(isX(s)){r=">="+t+"."+a+".0"}else{r=">="+r}if(isX(o)){u=""}else if(isX(c)){u="<"+(+o+1)+".0.0"}else if(isX(l)){u="<"+o+"."+(+c+1)+".0"}else if(f){u="<="+o+"."+c+"."+l+"-"+f}else{u="<="+u}return(r+" "+u).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}for(var r=0;r<this.set.length;r++){if(testSet(this.set[r],e,this.options)){return true}}return false};function testSet(e,r,a){for(var s=0;s<e.length;s++){if(!e[s].test(r)){return false}}if(r.prerelease.length&&!a.includePrerelease){for(s=0;s<e.length;s++){t(e[s].semver);if(e[s].semver===m){continue}if(e[s].semver.prerelease.length>0){var i=e[s].semver;if(i.major===r.major&&i.minor===r.minor&&i.patch===r.patch){return true}}}return false}return true}r.satisfies=satisfies;function satisfies(e,r,t){try{r=new Range(r,t)}catch(e){return false}return r.test(e)}r.maxSatisfying=maxSatisfying;function maxSatisfying(e,r,t){var a=null;var s=null;try{var i=new Range(r,t)}catch(e){return null}e.forEach((function(e){if(i.test(e)){if(!a||s.compare(e)===-1){a=e;s=new SemVer(a,t)}}}));return a}r.minSatisfying=minSatisfying;function minSatisfying(e,r,t){var a=null;var s=null;try{var i=new Range(r,t)}catch(e){return null}e.forEach((function(e){if(i.test(e)){if(!a||s.compare(e)===1){a=e;s=new SemVer(a,t)}}}));return a}r.minVersion=minVersion;function minVersion(e,r){e=new Range(e,r);var t=new SemVer("0.0.0");if(e.test(t)){return t}t=new SemVer("0.0.0-0");if(e.test(t)){return t}t=null;for(var a=0;a<e.set.length;++a){var s=e.set[a];s.forEach((function(e){var r=new SemVer(e.semver.version);switch(e.operator){case">":if(r.prerelease.length===0){r.patch++}else{r.prerelease.push(0)}r.raw=r.format();case"":case">=":if(!t||gt(t,r)){t=r}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(t&&e.test(t)){return t}return null}r.validRange=validRange;function validRange(e,r){try{return new Range(e,r).range||"*"}catch(e){return null}}r.ltr=ltr;function ltr(e,r,t){return outside(e,r,"<",t)}r.gtr=gtr;function gtr(e,r,t){return outside(e,r,">",t)}r.outside=outside;function outside(e,r,t,a){e=new SemVer(e,a);r=new Range(r,a);var s,i,n,u,o;switch(t){case">":s=gt;i=lte;n=lt;u=">";o=">=";break;case"<":s=lt;i=gte;n=gt;u="<";o="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,r,a)){return false}for(var c=0;c<r.set.length;++c){var l=r.set[c];var f=null;var p=null;l.forEach((function(e){if(e.semver===m){e=new Comparator(">=0.0.0")}f=f||e;p=p||e;if(s(e.semver,f.semver,a)){f=e}else if(n(e.semver,p.semver,a)){p=e}}));if(f.operator===u||f.operator===o){return false}if((!p.operator||p.operator===u)&&i(e,p.semver)){return false}else if(p.operator===o&&n(e,p.semver)){return false}}return true}r.prerelease=prerelease;function prerelease(e,r){var t=parse(e,r);return t&&t.prerelease.length?t.prerelease:null}r.intersects=intersects;function intersects(e,r,t){e=new Range(e,t);r=new Range(r,t);return e.intersects(r)}r.coerce=coerce;function coerce(e,r){if(e instanceof SemVer){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}r=r||{};var t=null;if(!r.rtl){t=e.match(n[o.COERCE])}else{var a;while((a=n[o.COERCERTL].exec(e))&&(!t||t.index+t[0].length!==e.length)){if(!t||a.index+a[0].length!==t.index+t[0].length){t=a}n[o.COERCERTL].lastIndex=a.index+a[1].length+a[2].length}n[o.COERCERTL].lastIndex=-1}if(t===null){return null}return parse(t[2]+"."+(t[3]||"0")+"."+(t[4]||"0"),r)}},199:function(e,r){
|
|
1
|
+
(function(){var e={3471:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.formatNames=t.fastFormats=t.fullFormats=void 0;function fmtDef(e,t){return{validate:e,compare:t}}t.fullFormats={date:fmtDef(date,compareDate),time:fmtDef(time,compareTime),"date-time":fmtDef(date_time,compareDateTime),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:uri,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:regex,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:byte,int32:{type:"number",validate:validateInt32},int64:{type:"number",validate:validateInt64},float:{type:"number",validate:validateNumber},double:{type:"number",validate:validateNumber},password:true,binary:true};t.fastFormats={...t.fullFormats,date:fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,compareDate),time:fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareTime),"date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareDateTime),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};t.formatNames=Object.keys(t.fullFormats);function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}const r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;const n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function date(e){const t=r.exec(e);if(!t)return false;const s=+t[1];const a=+t[2];const o=+t[3];return a>=1&&a<=12&&o>=1&&o<=(a===2&&isLeapYear(s)?29:n[a])}function compareDate(e,t){if(!(e&&t))return undefined;if(e>t)return 1;if(e<t)return-1;return 0}const s=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function time(e,t){const r=s.exec(e);if(!r)return false;const n=+r[1];const a=+r[2];const o=+r[3];const i=r[5];return(n<=23&&a<=59&&o<=59||n===23&&a===59&&o===60)&&(!t||i!=="")}function compareTime(e,t){if(!(e&&t))return undefined;const r=s.exec(e);const n=s.exec(t);if(!(r&&n))return undefined;e=r[1]+r[2]+r[3]+(r[4]||"");t=n[1]+n[2]+n[3]+(n[4]||"");if(e>t)return 1;if(e<t)return-1;return 0}const a=/t|\s/i;function date_time(e){const t=e.split(a);return t.length===2&&date(t[0])&&time(t[1],true)}function compareDateTime(e,t){if(!(e&&t))return undefined;const[r,n]=e.split(a);const[s,o]=t.split(a);const i=compareDate(r,s);if(i===undefined)return undefined;return i||compareTime(n,o)}const o=/\/|:/;const i=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function uri(e){return o.test(e)&&i.test(e)}const c=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function byte(e){c.lastIndex=0;return c.test(e)}const u=-(2**31);const l=2**31-1;function validateInt32(e){return Number.isInteger(e)&&e<=l&&e>=u}function validateInt64(e){return Number.isInteger(e)}function validateNumber(){return true}const f=/[^\\]\\Z/;function regex(e){if(f.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},5679:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3471);const s=r(6541);const a=r(4109);const o=new a.Name("fullFormats");const i=new a.Name("fastFormats");const formatsPlugin=(e,t={keywords:true})=>{if(Array.isArray(t)){addFormats(e,t,n.fullFormats,o);return e}const[r,a]=t.mode==="fast"?[n.fastFormats,i]:[n.fullFormats,o];const c=t.formats||n.formatNames;addFormats(e,c,r,a);if(t.keywords)s.default(e);return e};formatsPlugin.get=(e,t="full")=>{const r=t==="fast"?n.fastFormats:n.fullFormats;const s=r[e];if(!s)throw new Error(`Unknown format "${e}"`);return s};function addFormats(e,t,r,n){var s;var o;(s=(o=e.opts.code).formats)!==null&&s!==void 0?s:o.formats=a._`require("ajv-formats/dist/formats").${n}`;for(const n of t)e.addFormat(n,r[n])}e.exports=t=formatsPlugin;Object.defineProperty(t,"__esModule",{value:true});t["default"]=formatsPlugin},6541:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.formatLimitDefinition=void 0;const n=r(4711);const s=r(4109);const a=s.operators;const o={formatMaximum:{okStr:"<=",ok:a.LTE,fail:a.GT},formatMinimum:{okStr:">=",ok:a.GTE,fail:a.LT},formatExclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},formatExclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}};const i={message:({keyword:e,schemaCode:t})=>s.str`should be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>s._`{comparison: ${o[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:true,error:i,code(e){const{gen:t,data:r,schemaCode:a,keyword:i,it:c}=e;const{opts:u,self:l}=c;if(!u.validateFormats)return;const f=new n.KeywordCxt(c,l.RULES.all.format.definition,"format");if(f.$data)validate$DataFormat();else validateFormat();function validate$DataFormat(){const r=t.scopeValue("formats",{ref:l.formats,code:u.code.formats});const n=t.const("fmt",s._`${r}[${f.schemaCode}]`);e.fail$data(s.or(s._`typeof ${n} != "object"`,s._`${n} instanceof RegExp`,s._`typeof ${n}.compare != "function"`,compareCode(n)))}function validateFormat(){const r=f.schema;const n=l.formats[r];if(!n||n===true)return;if(typeof n!="object"||n instanceof RegExp||typeof n.compare!="function"){throw new Error(`"${i}": format "${r}" does not define "compare" function`)}const a=t.scopeValue("formats",{key:r,ref:n,code:u.code.formats?s._`${u.code.formats}${s.getProperty(r)}`:undefined});e.fail$data(compareCode(a))}function compareCode(e){return s._`${e}.compare(${r}, ${a}) ${o[i].fail} 0`}},dependencies:["format"]};const formatLimitPlugin=e=>{e.addKeyword(t.formatLimitDefinition);return e};t["default"]=formatLimitPlugin},408:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});function getRangeDef(e){return()=>({keyword:e,type:"number",schemaType:"array",macro:function([t,r]){validateRangeSchema(t,r);return e==="range"?{minimum:t,maximum:r}:{exclusiveMinimum:t,exclusiveMaximum:r}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}});function validateRangeSchema(t,r){if(t>r||e==="exclusiveRange"&&t===r){throw new Error("There are no numbers in range")}}}t["default"]=getRangeDef},1085:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});function getRequiredDef(e){return()=>({keyword:e,type:"object",schemaType:"array",macro(t){if(t.length===0)return true;if(t.length===1)return{required:t};const r=e==="anyRequired"?"anyOf":"oneOf";return{[r]:t.map((e=>({required:[e]})))}},metaSchema:{type:"array",items:{type:"string"}}})}t["default"]=getRequiredDef},9503:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.usePattern=t.metaSchemaRef=void 0;const n=r(4109);const s="http://json-schema.org/schema";function metaSchemaRef({defaultMeta:e}={}){return e===false?{}:{$ref:e||s}}t.metaSchemaRef=metaSchemaRef;function usePattern({gen:e,it:{opts:t}},r,s=(t.unicodeRegExp?"u":"")){const a=new RegExp(r,s);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:(0,n._)`new RegExp(${r}, ${s})`})}t.usePattern=usePattern},9160:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});function getDef(){return{keyword:"allRequired",type:"object",schemaType:"boolean",macro(e,t){if(!e)return true;const r=Object.keys(t.properties);if(r.length===0)return true;return{required:r}},dependencies:["properties"]}}t["default"]=getDef;e.exports=getDef},5817:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(1085));const a=(0,s.default)("anyRequired");t["default"]=a;e.exports=a},6165:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9503);function getDef(e){return{keyword:"deepProperties",type:"object",schemaType:"object",macro:function(e){const t=[];for(const r in e)t.push(getSchema(r,e[r]));return{allOf:t}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:(0,n.metaSchemaRef)(e)}}}t["default"]=getDef;function getSchema(e,t){const r=e.split("/");const n={};let s=n;for(let e=1;e<r.length;e++){let n=r[e];const a=e===r.length-1;n=unescapeJsonPointer(n);const o=s.properties={};let i;if(/[0-9]+/.test(n)){let e=+n;i=s.items=[];s.type=["object","array"];while(e--)i.push({})}else{s.type="object"}s=a?t:{};o[n]=s;if(i)i.push(s)}return n}function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports=getDef},2592:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);function getDef(){return{keyword:"deepRequired",type:"object",schemaType:"array",code(e){const{schema:t,data:r}=e;const s=t.map((e=>(0,n._)`(${getData(e)}) === undefined`));e.fail((0,n.or)(...s));function getData(e){if(e==="")throw new Error("empty JSON pointer not allowed");const t=e.split("/");let s=r;const a=t.map(((e,t)=>t?s=(0,n._)`${s}${(0,n.getProperty)(unescapeJPSegment(e))}`:s));return(0,n.and)(...a)}},metaSchema:{type:"array",items:{type:"string",format:"json-pointer"}}}}t["default"]=getDef;function unescapeJPSegment(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports=getDef},3220:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});const r={};const n={timestamp:()=>()=>Date.now(),datetime:()=>()=>(new Date).toISOString(),date:()=>()=>(new Date).toISOString().slice(0,10),time:()=>()=>(new Date).toISOString().slice(11),random:()=>()=>Math.random(),randomint:e=>{var t;const r=(t=e===null||e===void 0?void 0:e.max)!==null&&t!==void 0?t:2;return()=>Math.floor(Math.random()*r)},seq:e=>{var t;const n=(t=e===null||e===void 0?void 0:e.name)!==null&&t!==void 0?t:"";r[n]||(r[n]=0);return()=>r[n]++}};const s=Object.assign(_getDef,{DEFAULTS:n});function _getDef(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:true,valid:true,compile(e,t,r){if(!r.opts.useDefaults||r.compositeRule)return()=>true;const n={};for(const t in e)n[t]=getDefault(e[t]);const s=r.opts.useDefaults==="empty";return t=>{for(const r in e){if(t[r]===undefined||s&&(t[r]===null||t[r]==="")){t[r]=n[r]()}}return true}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}}function getDefault(e){return typeof e=="object"?getObjDefault(e):getStrDefault(e)}function getObjDefault({func:e,args:t}){const r=n[e];assertDefined(e,r);return r(t)}function getStrDefault(e=""){const t=n[e];assertDefined(e,t);return t()}function assertDefined(e,t){if(!t)throw new Error(`invalid "dynamicDefaults" keyword property value: ${e}`)}t["default"]=s;e.exports=s},541:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(408));const a=(0,s.default)("exclusiveRange");t["default"]=a;e.exports=a},4785:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});const r={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};if(typeof Buffer!="undefined")r.Buffer=Buffer;if(typeof Promise!="undefined")r.Promise=Promise;const n=Object.assign(_getDef,{CONSTRUCTORS:r});function _getDef(){return{keyword:"instanceof",schemaType:["string","array"],compile(e){if(typeof e=="string"){const t=getConstructor(e);return e=>e instanceof t}if(Array.isArray(e)){const t=e.map(getConstructor);return e=>{for(const r of t){if(e instanceof r)return true}return false}}throw new Error("ajv implementation error")},metaSchema:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}}}function getConstructor(e){const t=r[e];if(t)return t;throw new Error(`invalid "instanceof" keyword value ${e}`)}t["default"]=n;e.exports=n},4656:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(1085));const a=(0,s.default)("oneRequired");t["default"]=a;e.exports=a},1818:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(9503);const a={message:({params:{missingPattern:e}})=>(0,n.str)`should have property matching pattern '${e}'`,params:({params:{missingPattern:e}})=>(0,n._)`{missingPattern: ${e}}`};function getDef(){return{keyword:"patternRequired",type:"object",schemaType:"array",error:a,code(e){const{gen:t,schema:r,data:a}=e;if(r.length===0)return;const o=t.let("valid",true);for(const e of r)validateProperties(e);function validateProperties(r){const i=t.let("matched",false);t.forIn("key",a,(a=>{t.assign(i,(0,n._)`${(0,s.usePattern)(e,r)}.test(${a})`);t.if(i,(()=>t.break()))}));e.setParams({missingPattern:r});t.assign(o,(0,n.and)(o,i));e.pass(o)}},metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}}}t["default"]=getDef;e.exports=getDef},7506:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});function getDef(){return{keyword:"prohibited",type:"object",schemaType:"array",macro:function(e){if(e.length===0)return true;if(e.length===1)return{not:{required:e}};return{not:{anyOf:e.map((e=>({required:[e]})))}}},metaSchema:{type:"array",items:{type:"string"}}}}t["default"]=getDef;e.exports=getDef},2669:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(408));const a=(0,s.default)("range");t["default"]=a;e.exports=a},3163:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(9503);const a={type:"object",properties:{pattern:{type:"string"},flags:{type:"string",nullable:true}},required:["pattern"],additionalProperties:false};const o=/^\/(.*)\/([gimuy]*)$/;function getDef(){return{keyword:"regexp",type:"string",schemaType:["string","object"],code(e){const{data:t,schema:r}=e;const a=getRegExp(r);e.pass((0,n._)`${a}.test(${t})`);function getRegExp(t){if(typeof t=="object")return(0,s.usePattern)(e,t.pattern,t.flags);const r=o.exec(t);if(r)return(0,s.usePattern)(e,r[1],r[2]);throw new Error("cannot parse string into RegExp")}},metaSchema:{anyOf:[{type:"string"},a]}}}t["default"]=getDef;e.exports=getDef},2730:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(9503);const a={message:({params:{schemaProp:e}})=>e?(0,n.str)`should match case "${e}" schema`:(0,n.str)`should match default case schema`,params:({params:{schemaProp:e}})=>e?(0,n._)`{failingCase: ${e}}`:(0,n._)`{failingDefault: true}`};function getDef(e){const t=(0,s.metaSchemaRef)(e);return[{keyword:"select",schemaType:["string","number","boolean","null"],$data:true,error:a,dependencies:["selectCases"],code(e){const{gen:t,schemaCode:r,parentSchema:s}=e;e.block$data(n.nil,(()=>{const a=t.let("valid",true);const o=t.name("_valid");const i=t.const("value",(0,n._)`${r} === null ? "null" : ${r}`);t.if(false);for(const r in s.selectCases){e.setParams({schemaProp:r});t.elseIf((0,n._)`"" + ${i} == ${r}`);const s=e.subschema({keyword:"selectCases",schemaProp:r},o);e.mergeEvaluated(s,n.Name);t.assign(a,o)}t.else();if(s.selectDefault!==undefined){e.setParams({schemaProp:undefined});const r=e.subschema({keyword:"selectDefault"},o);e.mergeEvaluated(r,n.Name);t.assign(a,o)}t.endIf();e.pass(a)}))}},{keyword:"selectCases",dependencies:["select"],metaSchema:{type:"object",additionalProperties:t}},{keyword:"selectDefault",dependencies:["select","selectCases"],metaSchema:t}]}t["default"]=getDef;e.exports=getDef},6678:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s={trimStart:e=>e.trimStart(),trimEnd:e=>e.trimEnd(),trimLeft:e=>e.trimStart(),trimRight:e=>e.trimEnd(),trim:e=>e.trim(),toLowerCase:e=>e.toLowerCase(),toUpperCase:e=>e.toUpperCase(),toEnumCase:(e,t)=>(t===null||t===void 0?void 0:t.hash[configKey(e)])||e};const a=Object.assign(_getDef,{transform:s});function _getDef(){return{keyword:"transform",schemaType:"array",before:"enum",code(e){const{gen:t,data:r,schema:a,parentSchema:o,it:i}=e;const{parentData:c,parentDataProperty:u}=i;const l=a;if(!l.length)return;let f;if(l.includes("toEnumCase")){const e=getEnumCaseCfg(o);f=t.scopeValue("obj",{ref:e,code:(0,n.stringify)(e)})}t.if((0,n._)`typeof ${r} == "string" && ${c} !== undefined`,(()=>{t.assign(r,transformExpr(l.slice()));t.assign((0,n._)`${c}[${u}]`,r)}));function transformExpr(e){if(!e.length)return r;const a=e.pop();if(!(a in s))throw new Error(`transform: unknown transformation ${a}`);const o=t.scopeValue("func",{ref:s[a],code:(0,n._)`require("ajv-keywords/dist/definitions/transform").transform${(0,n.getProperty)(a)}`});const i=transformExpr(e);return f&&a==="toEnumCase"?(0,n._)`${o}(${i}, ${f})`:(0,n._)`${o}(${i})`}},metaSchema:{type:"array",items:{type:"string",enum:Object.keys(s)}}}}function getEnumCaseCfg(e){const t={hash:{}};if(!e.enum)throw new Error('transform: "toEnumCase" requires "enum"');for(const r of e.enum){if(typeof r!=="string")continue;const e=configKey(r);if(t.hash[e]){throw new Error('transform: "toEnumCase" requires all lowercased "enum" values to be unique')}t.hash[e]=r}return t}function configKey(e){return e.toLowerCase()}t["default"]=a;e.exports=a},2518:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=["undefined","string","number","object","function","boolean","symbol"];function getDef(){return{keyword:"typeof",schemaType:["string","array"],code(e){const{data:t,schema:r,schemaValue:s}=e;e.fail(typeof r=="string"?(0,n._)`typeof ${t} != ${r}`:(0,n._)`${s}.indexOf(typeof ${t}) < 0`)},metaSchema:{anyOf:[{type:"string",enum:s},{type:"array",items:{type:"string",enum:s}}]}}}t["default"]=getDef;e.exports=getDef},3530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7447);const s=["number","integer","string","boolean","null"];function getDef(){return{keyword:"uniqueItemProperties",type:"array",schemaType:"array",compile(e,t){const r=getScalarKeys(e,t);return t=>{if(t.length<=1)return true;for(let s=0;s<e.length;s++){const a=e[s];if(r[s]){const e={};for(const r of t){if(!r||typeof r!="object")continue;let t=r[a];if(t&&typeof t=="object")continue;if(typeof t=="string")t='"'+t;if(e[t])return false;e[t]=true}}else{for(let e=t.length;e--;){const r=t[e];if(!r||typeof r!="object")continue;for(let s=e;s--;){const e=t[s];if(e&&typeof e=="object"&&n(r[a],e[a]))return false}}}}return true}},metaSchema:{type:"array",items:{type:"string"}}}}t["default"]=getDef;function getScalarKeys(e,t){return e.map((e=>{var r,n,a;const o=(a=(n=(r=t.items)===null||r===void 0?void 0:r.properties)===null||n===void 0?void 0:n[e])===null||a===void 0?void 0:a.type;return Array.isArray(o)?!o.includes("object")&&!o.includes("array"):s.includes(o)}))}e.exports=getDef},4563:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(4959));const ajvKeywords=(e,t)=>{if(Array.isArray(t)){for(const r of t)get(r)(e);return e}if(t){get(t)(e);return e}for(t in s.default)get(t)(e);return e};ajvKeywords.get=get;function get(e){const t=s.default[e];if(!t)throw new Error("Unknown keyword "+e);return t}t["default"]=ajvKeywords;e.exports=ajvKeywords;e.exports["default"]=ajvKeywords},237:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(9160));const allRequired=e=>e.addKeyword((0,s.default)());t["default"]=allRequired;e.exports=allRequired},484:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(5817));const anyRequired=e=>e.addKeyword((0,s.default)());t["default"]=anyRequired;e.exports=anyRequired},4739:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(6165));const deepProperties=(e,t)=>e.addKeyword((0,s.default)(t));t["default"]=deepProperties;e.exports=deepProperties},8360:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(2592));const deepRequired=e=>e.addKeyword((0,s.default)());t["default"]=deepRequired;e.exports=deepRequired},4515:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(3220));const dynamicDefaults=e=>e.addKeyword((0,s.default)());t["default"]=dynamicDefaults;e.exports=dynamicDefaults},5304:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(541));const exclusiveRange=e=>e.addKeyword((0,s.default)());t["default"]=exclusiveRange;e.exports=exclusiveRange},4959:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(6401));const a=n(r(7499));const o=n(r(7119));const i=n(r(5304));const c=n(r(9033));const u=n(r(4573));const l=n(r(2857));const f=n(r(237));const d=n(r(484));const p=n(r(3207));const m=n(r(9417));const h=n(r(9832));const y=n(r(4739));const g=n(r(8360));const v=n(r(4515));const $=n(r(2520));const b={typeof:s.default,instanceof:a.default,range:o.default,exclusiveRange:i.default,regexp:c.default,transform:u.default,uniqueItemProperties:l.default,allRequired:f.default,anyRequired:d.default,oneRequired:p.default,patternRequired:m.default,prohibited:h.default,deepProperties:y.default,deepRequired:g.default,dynamicDefaults:v.default,select:$.default};t["default"]=b;e.exports=b},7499:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(4785));const instanceofPlugin=e=>e.addKeyword((0,s.default)());t["default"]=instanceofPlugin;e.exports=instanceofPlugin},3207:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(4656));const oneRequired=e=>e.addKeyword((0,s.default)());t["default"]=oneRequired;e.exports=oneRequired},9417:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(1818));const patternRequired=e=>e.addKeyword((0,s.default)());t["default"]=patternRequired;e.exports=patternRequired},9832:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(7506));const prohibited=e=>e.addKeyword((0,s.default)());t["default"]=prohibited;e.exports=prohibited},7119:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(2669));const range=e=>e.addKeyword((0,s.default)());t["default"]=range;e.exports=range},9033:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(3163));const regexp=e=>e.addKeyword((0,s.default)());t["default"]=regexp;e.exports=regexp},2520:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(2730));const select=(e,t)=>{(0,s.default)(t).forEach((t=>e.addKeyword(t)));return e};t["default"]=select;e.exports=select},4573:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(6678));const transform=e=>e.addKeyword((0,s.default)());t["default"]=transform;e.exports=transform},6401:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(2518));const typeofPlugin=e=>e.addKeyword((0,s.default)());t["default"]=typeofPlugin;e.exports=typeofPlugin},2857:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const s=n(r(3530));const uniqueItemProperties=e=>e.addKeyword((0,s.default)());t["default"]=uniqueItemProperties;e.exports=uniqueItemProperties},4711:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=r(3834);const s=r(8056);const a=r(8222);const o=r(9520);const i=["/properties"];const c="http://json-schema.org/draft-07/schema";class Ajv extends n.default{_addVocabularies(){super._addVocabularies();s.default.forEach((e=>this.addVocabulary(e)));if(this.opts.discriminator)this.addKeyword(a.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();if(!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(o,i):o;this.addMetaSchema(e,c,false);this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:undefined)}}e.exports=t=Ajv;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv;var u=r(7357);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return u.KeywordCxt}});var l=r(4109);Object.defineProperty(t,"_",{enumerable:true,get:function(){return l._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return l.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return l.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return l.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return l.CodeGen}})},3456:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class _CodeOrName{}t._CodeOrName=_CodeOrName;t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class Name extends _CodeOrName{constructor(e){super();if(!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return false}get names(){return{[this.str]:1}}}t.Name=Name;class _Code extends _CodeOrName{constructor(e){super();this._items=typeof e==="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return false;const e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce(((e,t)=>{if(t instanceof Name)e[t.str]=(e[t.str]||0)+1;return e}),{})}}t._Code=_Code;t.nil=new _Code("");function _(e,...t){const r=[e[0]];let n=0;while(n<t.length){addCodeArg(r,t[n]);r.push(e[++n])}return new _Code(r)}t._=_;const r=new _Code("+");function str(e,...t){const n=[safeStringify(e[0])];let s=0;while(s<t.length){n.push(r);addCodeArg(n,t[s]);n.push(r,safeStringify(e[++s]))}optimize(n);return new _Code(n)}t.str=str;function addCodeArg(e,t){if(t instanceof _Code)e.push(...t._items);else if(t instanceof Name)e.push(t);else e.push(interpolate(t))}t.addCodeArg=addCodeArg;function optimize(e){let t=1;while(t<e.length-1){if(e[t]===r){const r=mergeExprItems(e[t-1],e[t+1]);if(r!==undefined){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}function mergeExprItems(e,t){if(t==='""')return e;if(e==='""')return t;if(typeof e=="string"){if(t instanceof Name||e[e.length-1]!=='"')return;if(typeof t!="string")return`${e.slice(0,-1)}${t}"`;if(t[0]==='"')return e.slice(0,-1)+t.slice(1);return}if(typeof t=="string"&&t[0]==='"'&&!(e instanceof Name))return`"${e}${t.slice(1)}`;return}function strConcat(e,t){return t.emptyStr()?e:e.emptyStr()?t:str`${e}${t}`}t.strConcat=strConcat;function interpolate(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:safeStringify(Array.isArray(e)?e.join(","):e)}function stringify(e){return new _Code(safeStringify(e))}t.stringify=stringify;function safeStringify(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.safeStringify=safeStringify;function getProperty(e){return typeof e=="string"&&t.IDENTIFIER.test(e)?new _Code(`.${e}`):_`[${e}]`}t.getProperty=getProperty;function getEsmExportName(e){if(typeof e=="string"&&t.IDENTIFIER.test(e)){return new _Code(`${e}`)}throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}t.getEsmExportName=getEsmExportName;function regexpCode(e){return new _Code(e.toString())}t.regexpCode=regexpCode},4109:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=r(3456);const s=r(3078);var a=r(3456);Object.defineProperty(t,"_",{enumerable:true,get:function(){return a._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return a.str}});Object.defineProperty(t,"strConcat",{enumerable:true,get:function(){return a.strConcat}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return a.nil}});Object.defineProperty(t,"getProperty",{enumerable:true,get:function(){return a.getProperty}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return a.stringify}});Object.defineProperty(t,"regexpCode",{enumerable:true,get:function(){return a.regexpCode}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return a.Name}});var o=r(3078);Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return o.Scope}});Object.defineProperty(t,"ValueScope",{enumerable:true,get:function(){return o.ValueScope}});Object.defineProperty(t,"ValueScopeName",{enumerable:true,get:function(){return o.ValueScopeName}});Object.defineProperty(t,"varKinds",{enumerable:true,get:function(){return o.varKinds}});t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class Node{optimizeNodes(){return this}optimizeNames(e,t){return this}}class Def extends Node{constructor(e,t,r){super();this.varKind=e;this.name=t;this.rhs=r}render({es5:e,_n:t}){const r=e?s.varKinds.var:this.varKind;const n=this.rhs===undefined?"":` = ${this.rhs}`;return`${r} ${this.name}${n};`+t}optimizeNames(e,t){if(!e[this.name.str])return;if(this.rhs)this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class Assign extends Node{constructor(e,t,r){super();this.lhs=e;this.rhs=t;this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(this.lhs instanceof n.Name&&!e[this.lhs.str]&&!this.sideEffects)return;this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){const e=this.lhs instanceof n.Name?{}:{...this.lhs.names};return addExprNames(e,this.rhs)}}class AssignOp extends Assign{constructor(e,t,r,n){super(e,r,n);this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class Label extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){return`${this.label}:`+e}}class Break extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){const t=this.label?` ${this.label}`:"";return`break${t};`+e}}class Throw extends Node{constructor(e){super();this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class AnyCode extends Node{constructor(e){super();this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:undefined}optimizeNames(e,t){this.code=optimizeExpr(this.code,e,t);return this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class ParentNode extends Node{constructor(e=[]){super();this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;while(t--){const r=e[t].optimizeNodes();if(Array.isArray(r))e.splice(t,1,...r);else if(r)e[t]=r;else e.splice(t,1)}return e.length>0?this:undefined}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;while(n--){const s=r[n];if(s.optimizeNames(e,t))continue;subtractNames(e,s.names);r.splice(n,1)}return r.length>0?this:undefined}get names(){return this.nodes.reduce(((e,t)=>addNames(e,t.names)),{})}}class BlockNode extends ParentNode{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class Root extends ParentNode{}class Else extends BlockNode{}Else.kind="else";class If extends BlockNode{constructor(e,t){super(t);this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);if(this.else)t+="else "+this.else.render(e);return t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(e===true)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new Else(e):e}if(t){if(e===false)return t instanceof If?t:t.nodes;if(this.nodes.length)return this;return new If(not(e),t instanceof If?[t]:t.nodes)}if(e===false||!this.nodes.length)return undefined;return this}optimizeNames(e,t){var r;this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(e,t);if(!(super.optimizeNames(e,t)||this.else))return;this.condition=optimizeExpr(this.condition,e,t);return this}get names(){const e=super.names;addExprNames(e,this.condition);if(this.else)addNames(e,this.else.names);return e}}If.kind="if";class For extends BlockNode{}For.kind="for";class ForLoop extends For{constructor(e){super();this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iteration=optimizeExpr(this.iteration,e,t);return this}get names(){return addNames(super.names,this.iteration.names)}}class ForRange extends For{constructor(e,t,r,n){super();this.varKind=e;this.name=t;this.from=r;this.to=n}render(e){const t=e.es5?s.varKinds.var:this.varKind;const{name:r,from:n,to:a}=this;return`for(${t} ${r}=${n}; ${r}<${a}; ${r}++)`+super.render(e)}get names(){const e=addExprNames(super.names,this.from);return addExprNames(e,this.to)}}class ForIter extends For{constructor(e,t,r,n){super();this.loop=e;this.varKind=t;this.name=r;this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iterable=optimizeExpr(this.iterable,e,t);return this}get names(){return addNames(super.names,this.iterable.names)}}class Func extends BlockNode{constructor(e,t,r){super();this.name=e;this.args=t;this.async=r}render(e){const t=this.async?"async ":"";return`${t}function ${this.name}(${this.args})`+super.render(e)}}Func.kind="func";class Return extends ParentNode{render(e){return"return "+super.render(e)}}Return.kind="return";class Try extends BlockNode{render(e){let t="try"+super.render(e);if(this.catch)t+=this.catch.render(e);if(this.finally)t+=this.finally.render(e);return t}optimizeNodes(){var e,t;super.optimizeNodes();(e=this.catch)===null||e===void 0?void 0:e.optimizeNodes();(t=this.finally)===null||t===void 0?void 0:t.optimizeNodes();return this}optimizeNames(e,t){var r,n;super.optimizeNames(e,t);(r=this.catch)===null||r===void 0?void 0:r.optimizeNames(e,t);(n=this.finally)===null||n===void 0?void 0:n.optimizeNames(e,t);return this}get names(){const e=super.names;if(this.catch)addNames(e,this.catch.names);if(this.finally)addNames(e,this.finally.names);return e}}class Catch extends BlockNode{constructor(e){super();this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}Catch.kind="catch";class Finally extends BlockNode{render(e){return"finally"+super.render(e)}}Finally.kind="finally";class CodeGen{constructor(e,t={}){this._values={};this._blockStarts=[];this._constants={};this.opts={...t,_n:t.lines?"\n":""};this._extScope=e;this._scope=new s.Scope({parent:e});this._nodes=[new Root]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);const n=this._values[r.prefix]||(this._values[r.prefix]=new Set);n.add(r);return r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const s=this._scope.toName(t);if(r!==undefined&&n)this._constants[s.str]=r;this._leafNode(new Def(e,s,r));return s}const(e,t,r){return this._def(s.varKinds.const,e,t,r)}let(e,t,r){return this._def(s.varKinds.let,e,t,r)}var(e,t,r){return this._def(s.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new Assign(e,t,r))}add(e,r){return this._leafNode(new AssignOp(e,t.operators.ADD,r))}code(e){if(typeof e=="function")e();else if(e!==n.nil)this._leafNode(new AnyCode(e));return this}object(...e){const t=["{"];for(const[r,s]of e){if(t.length>1)t.push(",");t.push(r);if(r!==s||this.opts.es5){t.push(":");(0,n.addCodeArg)(t,s)}}t.push("}");return new n._Code(t)}if(e,t,r){this._blockNode(new If(e));if(t&&r){this.code(t).else().code(r).endIf()}else if(t){this.code(t).endIf()}else if(r){throw new Error('CodeGen: "else" body without "then" body')}return this}elseIf(e){return this._elseNode(new If(e))}else(){return this._elseNode(new Else)}endIf(){return this._endBlockNode(If,Else)}_for(e,t){this._blockNode(e);if(t)this.code(t).endFor();return this}for(e,t){return this._for(new ForLoop(e),t)}forRange(e,t,r,n,a=(this.opts.es5?s.varKinds.var:s.varKinds.let)){const o=this._scope.toName(e);return this._for(new ForRange(a,o,t,r),(()=>n(o)))}forOf(e,t,r,a=s.varKinds.const){const o=this._scope.toName(e);if(this.opts.es5){const e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,n._)`${e}.length`,(t=>{this.var(o,(0,n._)`${e}[${t}]`);r(o)}))}return this._for(new ForIter("of",a,o,t),(()=>r(o)))}forIn(e,t,r,a=(this.opts.es5?s.varKinds.var:s.varKinds.const)){if(this.opts.ownProperties){return this.forOf(e,(0,n._)`Object.keys(${t})`,r)}const o=this._scope.toName(e);return this._for(new ForIter("in",a,o,t),(()=>r(o)))}endFor(){return this._endBlockNode(For)}label(e){return this._leafNode(new Label(e))}break(e){return this._leafNode(new Break(e))}return(e){const t=new Return;this._blockNode(t);this.code(e);if(t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Return)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new Try;this._blockNode(n);this.code(e);if(t){const e=this.name("e");this._currNode=n.catch=new Catch(e);t(e)}if(r){this._currNode=n.finally=new Finally;this.code(r)}return this._endBlockNode(Catch,Finally)}throw(e){return this._leafNode(new Throw(e))}block(e,t){this._blockStarts.push(this._nodes.length);if(e)this.code(e).endBlock(t);return this}endBlock(e){const t=this._blockStarts.pop();if(t===undefined)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||e!==undefined&&r!==e){throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`)}this._nodes.length=t;return this}func(e,t=n.nil,r,s){this._blockNode(new Func(e,t,r));if(s)this.code(s).endFunc();return this}endFunc(){return this._endBlockNode(Func)}optimize(e=1){while(e-- >0){this._root.optimizeNodes();this._root.optimizeNames(this._root.names,this._constants)}}_leafNode(e){this._currNode.nodes.push(e);return this}_blockNode(e){this._currNode.nodes.push(e);this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t){this._nodes.pop();return this}throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof If)){throw new Error('CodeGen: "else" without "if"')}this._currNode=t.else=e;return this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}}t.CodeGen=CodeGen;function addNames(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function addExprNames(e,t){return t instanceof n._CodeOrName?addNames(e,t.names):e}function optimizeExpr(e,t,r){if(e instanceof n.Name)return replaceName(e);if(!canOptimize(e))return e;return new n._Code(e._items.reduce(((e,t)=>{if(t instanceof n.Name)t=replaceName(t);if(t instanceof n._Code)e.push(...t._items);else e.push(t);return e}),[]));function replaceName(e){const n=r[e.str];if(n===undefined||t[e.str]!==1)return e;delete t[e.str];return n}function canOptimize(e){return e instanceof n._Code&&e._items.some((e=>e instanceof n.Name&&t[e.str]===1&&r[e.str]!==undefined))}}function subtractNames(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function not(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,n._)`!${par(e)}`}t.not=not;const i=mappend(t.operators.AND);function and(...e){return e.reduce(i)}t.and=and;const c=mappend(t.operators.OR);function or(...e){return e.reduce(c)}t.or=or;function mappend(e){return(t,r)=>t===n.nil?r:r===n.nil?t:(0,n._)`${par(t)} ${e} ${par(r)}`}function par(e){return e instanceof n.Name?e:(0,n._)`(${e})`}},3078:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=r(3456);class ValueError extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`);this.value=e.value}}var s;(function(e){e[e["Started"]=0]="Started";e[e["Completed"]=1]="Completed"})(s=t.UsedValueState||(t.UsedValueState={}));t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class Scope{constructor({prefixes:e,parent:t}={}){this._names={};this._prefixes=e;this._parent=t}toName(e){return e instanceof n.Name?e:this.name(e)}name(e){return new n.Name(this._newName(e))}_newName(e){const t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,r;if(((r=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||r===void 0?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e)){throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`)}return this._names[e]={prefix:e,index:0}}}t.Scope=Scope;class ValueScopeName extends n.Name{constructor(e,t){super(t);this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e;this.scopePath=(0,n._)`.${new n.Name(t)}[${r}]`}}t.ValueScopeName=ValueScopeName;const a=(0,n._)`\n`;class ValueScope extends Scope{constructor(e){super(e);this._values={};this._scope=e.scope;this.opts={...e,_n:e.lines?a:n.nil}}get(){return this._scope}name(e){return new ValueScopeName(e,this._newName(e))}value(e,t){var r;if(t.ref===undefined)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e);const{prefix:s}=n;const a=(r=t.key)!==null&&r!==void 0?r:t.ref;let o=this._values[s];if(o){const e=o.get(a);if(e)return e}else{o=this._values[s]=new Map}o.set(a,n);const i=this._scope[s]||(this._scope[s]=[]);const c=i.length;i[c]=t.ref;n.setValue(t,{property:s,itemIndex:c});return n}getValue(e,t){const r=this._values[e];if(!r)return;return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(t.scopePath===undefined)throw new Error(`CodeGen: name "${t}" has no value`);return(0,n._)`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(e.value===undefined)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(e,r,a={},o){let i=n.nil;for(const c in e){const u=e[c];if(!u)continue;const l=a[c]=a[c]||new Map;u.forEach((e=>{if(l.has(e))return;l.set(e,s.Started);let a=r(e);if(a){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;i=(0,n._)`${i}${r} ${e} = ${a};${this.opts._n}`}else if(a=o===null||o===void 0?void 0:o(e)){i=(0,n._)`${i}${a}${this.opts._n}`}else{throw new ValueError(e)}l.set(e,s.Completed)}))}return i}}t.ValueScope=ValueScope},1069:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=r(4109);const s=r(7545);const a=r(4492);t.keywordError={message:({keyword:e})=>(0,n.str)`must pass "${e}" keyword validation`};t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?(0,n.str)`"${e}" keyword must be ${t} ($data)`:(0,n.str)`"${e}" keyword is invalid ($data)`};function reportError(e,r=t.keywordError,s,a){const{it:o}=e;const{gen:i,compositeRule:c,allErrors:u}=o;const l=errorObjectCode(e,r,s);if(a!==null&&a!==void 0?a:c||u){addError(i,l)}else{returnErrors(o,(0,n._)`[${l}]`)}}t.reportError=reportError;function reportExtraError(e,r=t.keywordError,n){const{it:s}=e;const{gen:o,compositeRule:i,allErrors:c}=s;const u=errorObjectCode(e,r,n);addError(o,u);if(!(i||c)){returnErrors(s,a.default.vErrors)}}t.reportExtraError=reportExtraError;function resetErrorsCount(e,t){e.assign(a.default.errors,t);e.if((0,n._)`${a.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign((0,n._)`${a.default.vErrors}.length`,t)),(()=>e.assign(a.default.vErrors,null)))))}t.resetErrorsCount=resetErrorsCount;function extendErrors({gen:e,keyword:t,schemaValue:r,data:s,errsCount:o,it:i}){if(o===undefined)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",o,a.default.errors,(o=>{e.const(c,(0,n._)`${a.default.vErrors}[${o}]`);e.if((0,n._)`${c}.instancePath === undefined`,(()=>e.assign((0,n._)`${c}.instancePath`,(0,n.strConcat)(a.default.instancePath,i.errorPath))));e.assign((0,n._)`${c}.schemaPath`,(0,n.str)`${i.errSchemaPath}/${t}`);if(i.opts.verbose){e.assign((0,n._)`${c}.schema`,r);e.assign((0,n._)`${c}.data`,s)}}))}t.extendErrors=extendErrors;function addError(e,t){const r=e.const("err",t);e.if((0,n._)`${a.default.vErrors} === null`,(()=>e.assign(a.default.vErrors,(0,n._)`[${r}]`)),(0,n._)`${a.default.vErrors}.push(${r})`);e.code((0,n._)`${a.default.errors}++`)}function returnErrors(e,t){const{gen:r,validateName:s,schemaEnv:a}=e;if(a.$async){r.throw((0,n._)`new ${e.ValidationError}(${t})`)}else{r.assign((0,n._)`${s}.errors`,t);r.return(false)}}const o={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function errorObjectCode(e,t,r){const{createErrors:s}=e.it;if(s===false)return(0,n._)`{}`;return errorObject(e,t,r)}function errorObject(e,t,r={}){const{gen:n,it:s}=e;const a=[errorInstancePath(s,r),errorSchemaPath(e,r)];extraErrorProps(e,t,a);return n.object(...a)}function errorInstancePath({errorPath:e},{instancePath:t}){const r=t?(0,n.str)`${e}${(0,s.getErrorPath)(t,s.Type.Str)}`:e;return[a.default.instancePath,(0,n.strConcat)(a.default.instancePath,r)]}function errorSchemaPath({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:a}){let i=a?t:(0,n.str)`${t}/${e}`;if(r){i=(0,n.str)`${i}${(0,s.getErrorPath)(r,s.Type.Str)}`}return[o.schemaPath,i]}function extraErrorProps(e,{params:t,message:r},s){const{keyword:i,data:c,schemaValue:u,it:l}=e;const{opts:f,propertyName:d,topSchemaRef:p,schemaPath:m}=l;s.push([o.keyword,i],[o.params,typeof t=="function"?t(e):t||(0,n._)`{}`]);if(f.messages){s.push([o.message,typeof r=="function"?r(e):r])}if(f.verbose){s.push([o.schema,u],[o.parentSchema,(0,n._)`${p}${m}`],[a.default.data,c])}if(d)s.push([o.propertyName,d])}},960:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const n=r(4109);const s=r(5919);const a=r(4492);const o=r(3877);const i=r(7545);const c=r(7357);class SchemaEnv{constructor(e){var t;this.refs={};this.dynamicAnchors={};let r;if(typeof e.schema=="object")r=e.schema;this.schema=e.schema;this.schemaId=e.schemaId;this.root=e.root||this;this.baseId=(t=e.baseId)!==null&&t!==void 0?t:(0,o.normalizeId)(r===null||r===void 0?void 0:r[e.schemaId||"$id"]);this.schemaPath=e.schemaPath;this.localRefs=e.localRefs;this.meta=e.meta;this.$async=r===null||r===void 0?void 0:r.$async;this.refs={}}}t.SchemaEnv=SchemaEnv;function compileSchema(e){const t=getCompilingSchema.call(this,e);if(t)return t;const r=(0,o.getFullPath)(this.opts.uriResolver,e.root.baseId);const{es5:i,lines:u}=this.opts.code;const{ownProperties:l}=this.opts;const f=new n.CodeGen(this.scope,{es5:i,lines:u,ownProperties:l});let d;if(e.$async){d=f.scopeValue("Error",{ref:s.default,code:(0,n._)`require("ajv/dist/runtime/validation_error").default`})}const p=f.scopeName("validate");e.validateName=p;const m={gen:f,allErrors:this.opts.allErrors,data:a.default.data,parentData:a.default.parentData,parentDataProperty:a.default.parentDataProperty,dataNames:[a.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue("schema",this.opts.code.source===true?{ref:e.schema,code:(0,n.stringify)(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:d,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:n.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,n._)`""`,opts:this.opts,self:this};let h;try{this._compilations.add(e);(0,c.validateFunctionCode)(m);f.optimize(this.opts.code.optimize);const t=f.toString();h=`${f.scopeRefs(a.default.scope)}return ${t}`;if(this.opts.code.process)h=this.opts.code.process(h,e);const r=new Function(`${a.default.self}`,`${a.default.scope}`,h);const s=r(this,this.scope.get());this.scope.value(p,{ref:s});s.errors=null;s.schema=e.schema;s.schemaEnv=e;if(e.$async)s.$async=true;if(this.opts.code.source===true){s.source={validateName:p,validateCode:t,scopeValues:f._values}}if(this.opts.unevaluated){const{props:e,items:t}=m;s.evaluated={props:e instanceof n.Name?undefined:e,items:t instanceof n.Name?undefined:t,dynamicProps:e instanceof n.Name,dynamicItems:t instanceof n.Name};if(s.source)s.source.evaluated=(0,n.stringify)(s.evaluated)}e.validate=s;return e}catch(t){delete e.validate;delete e.validateName;if(h)this.logger.error("Error compiling schema, function code:",h);throw t}finally{this._compilations.delete(e)}}t.compileSchema=compileSchema;function resolveRef(e,t,r){var n;r=(0,o.resolveUrl)(this.opts.uriResolver,t,r);const s=e.refs[r];if(s)return s;let a=resolve.call(this,e,r);if(a===undefined){const s=(n=e.localRefs)===null||n===void 0?void 0:n[r];const{schemaId:o}=this.opts;if(s)a=new SchemaEnv({schema:s,schemaId:o,root:e,baseId:t})}if(a===undefined)return;return e.refs[r]=inlineOrCompile.call(this,a)}t.resolveRef=resolveRef;function inlineOrCompile(e){if((0,o.inlineRef)(e.schema,this.opts.inlineRefs))return e.schema;return e.validate?e:compileSchema.call(this,e)}function getCompilingSchema(e){for(const t of this._compilations){if(sameSchemaEnv(t,e))return t}}t.getCompilingSchema=getCompilingSchema;function sameSchemaEnv(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function resolve(e,t){let r;while(typeof(r=this.refs[t])=="string")t=r;return r||this.schemas[t]||resolveSchema.call(this,e,t)}function resolveSchema(e,t){const r=this.opts.uriResolver.parse(t);const n=(0,o._getFullPath)(this.opts.uriResolver,r);let s=(0,o.getFullPath)(this.opts.uriResolver,e.baseId,undefined);if(Object.keys(e.schema).length>0&&n===s){return getJsonPointer.call(this,r,e)}const a=(0,o.normalizeId)(n);const i=this.refs[a]||this.schemas[a];if(typeof i=="string"){const t=resolveSchema.call(this,e,i);if(typeof(t===null||t===void 0?void 0:t.schema)!=="object")return;return getJsonPointer.call(this,r,t)}if(typeof(i===null||i===void 0?void 0:i.schema)!=="object")return;if(!i.validate)compileSchema.call(this,i);if(a===(0,o.normalizeId)(t)){const{schema:t}=i;const{schemaId:r}=this.opts;const n=t[r];if(n)s=(0,o.resolveUrl)(this.opts.uriResolver,s,n);return new SchemaEnv({schema:t,schemaId:r,root:e,baseId:s})}return getJsonPointer.call(this,r,i)}t.resolveSchema=resolveSchema;const u=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,{baseId:t,schema:r,root:n}){var s;if(((s=e.fragment)===null||s===void 0?void 0:s[0])!=="/")return;for(const n of e.fragment.slice(1).split("/")){if(typeof r==="boolean")return;const e=r[(0,i.unescapeFragment)(n)];if(e===undefined)return;r=e;const s=typeof r==="object"&&r[this.opts.schemaId];if(!u.has(n)&&s){t=(0,o.resolveUrl)(this.opts.uriResolver,t,s)}}let a;if(typeof r!="boolean"&&r.$ref&&!(0,i.schemaHasRulesButRef)(r,this.RULES)){const e=(0,o.resolveUrl)(this.opts.uriResolver,t,r.$ref);a=resolveSchema.call(this,n,e)}const{schemaId:c}=this.opts;a=a||new SchemaEnv({schema:r,schemaId:c,root:n,baseId:t});if(a.schema!==a.root.schema)return a;return undefined}},4492:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t["default"]=s},9984:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3877);class MissingRefError extends Error{constructor(e,t,r,s){super(s||`can't resolve reference ${r} from id ${t}`);this.missingRef=(0,n.resolveUrl)(e,t,r);this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t["default"]=MissingRefError},3877:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=r(7545);const s=r(7447);const a=r(7243);const o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function inlineRef(e,t=true){if(typeof e=="boolean")return true;if(t===true)return!hasRef(e);if(!t)return false;return countKeys(e)<=t}t.inlineRef=inlineRef;const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function hasRef(e){for(const t in e){if(i.has(t))return true;const r=e[t];if(Array.isArray(r)&&r.some(hasRef))return true;if(typeof r=="object"&&hasRef(r))return true}return false}function countKeys(e){let t=0;for(const r in e){if(r==="$ref")return Infinity;t++;if(o.has(r))continue;if(typeof e[r]=="object"){(0,n.eachItem)(e[r],(e=>t+=countKeys(e)))}if(t===Infinity)return Infinity}return t}function getFullPath(e,t="",r){if(r!==false)t=normalizeId(t);const n=e.parse(t);return _getFullPath(e,n)}t.getFullPath=getFullPath;function _getFullPath(e,t){const r=e.serialize(t);return r.split("#")[0]+"#"}t._getFullPath=_getFullPath;const c=/#\/?$/;function normalizeId(e){return e?e.replace(c,""):""}t.normalizeId=normalizeId;function resolveUrl(e,t,r){r=normalizeId(r);return e.resolve(t,r)}t.resolveUrl=resolveUrl;const u=/^[a-z_][-a-z0-9._]*$/i;function getSchemaRefs(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:n}=this.opts;const o=normalizeId(e[r]||t);const i={"":o};const c=getFullPath(n,o,false);const l={};const f=new Set;a(e,{allKeys:true},((e,t,n,s)=>{if(s===undefined)return;const a=c+t;let o=i[s];if(typeof e[r]=="string")o=addRef.call(this,e[r]);addAnchor.call(this,e.$anchor);addAnchor.call(this,e.$dynamicAnchor);i[t]=o;function addRef(t){const r=this.opts.uriResolver.resolve;t=normalizeId(o?r(o,t):t);if(f.has(t))throw ambiguos(t);f.add(t);let n=this.refs[t];if(typeof n=="string")n=this.refs[n];if(typeof n=="object"){checkAmbiguosRef(e,n.schema,t)}else if(t!==normalizeId(a)){if(t[0]==="#"){checkAmbiguosRef(e,l[t],t);l[t]=e}else{this.refs[t]=a}}return t}function addAnchor(e){if(typeof e=="string"){if(!u.test(e))throw new Error(`invalid anchor "${e}"`);addRef.call(this,`#${e}`)}}}));return l;function checkAmbiguosRef(e,t,r){if(t!==undefined&&!s(e,t))throw ambiguos(r)}function ambiguos(e){return new Error(`reference "${e}" resolves to more than one schema`)}}t.getSchemaRefs=getSchemaRefs},521:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRules=t.isJSONType=void 0;const r=["string","number","integer","boolean","null","object","array"];const n=new Set(r);function isJSONType(e){return typeof e=="string"&&n.has(e)}t.isJSONType=isJSONType;function getRules(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:true,boolean:true,null:true},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}t.getRules=getRules},7545:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const n=r(4109);const s=r(3456);function toHash(e){const t={};for(const r of e)t[r]=true;return t}t.toHash=toHash;function alwaysValidSchema(e,t){if(typeof t=="boolean")return t;if(Object.keys(t).length===0)return true;checkUnknownRules(e,t);return!schemaHasRules(t,e.self.RULES.all)}t.alwaysValidSchema=alwaysValidSchema;function checkUnknownRules(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema)return;if(typeof t==="boolean")return;const s=n.RULES.keywords;for(const r in t){if(!s[r])checkStrictMode(e,`unknown keyword: "${r}"`)}}t.checkUnknownRules=checkUnknownRules;function schemaHasRules(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return true;return false}t.schemaHasRules=schemaHasRules;function schemaHasRulesButRef(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return true;return false}t.schemaHasRulesButRef=schemaHasRulesButRef;function schemaRefOrVal({topSchemaRef:e,schemaPath:t},r,s,a){if(!a){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,n._)`${r}`}return(0,n._)`${e}${t}${(0,n.getProperty)(s)}`}t.schemaRefOrVal=schemaRefOrVal;function unescapeFragment(e){return unescapeJsonPointer(decodeURIComponent(e))}t.unescapeFragment=unescapeFragment;function escapeFragment(e){return encodeURIComponent(escapeJsonPointer(e))}t.escapeFragment=escapeFragment;function escapeJsonPointer(e){if(typeof e=="number")return`${e}`;return e.replace(/~/g,"~0").replace(/\//g,"~1")}t.escapeJsonPointer=escapeJsonPointer;function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}t.unescapeJsonPointer=unescapeJsonPointer;function eachItem(e,t){if(Array.isArray(e)){for(const r of e)t(r)}else{t(e)}}t.eachItem=eachItem;function makeMergeEvaluated({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:s}){return(a,o,i,c)=>{const u=i===undefined?o:i instanceof n.Name?(o instanceof n.Name?e(a,o,i):t(a,o,i),i):o instanceof n.Name?(t(a,i,o),o):r(o,i);return c===n.Name&&!(u instanceof n.Name)?s(a,u):u}}t.mergeEvaluated={props:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,n._)`${r} !== true && ${t} !== undefined`,(()=>{e.if((0,n._)`${t} === true`,(()=>e.assign(r,true)),(()=>e.assign(r,(0,n._)`${r} || {}`).code((0,n._)`Object.assign(${r}, ${t})`)))})),mergeToName:(e,t,r)=>e.if((0,n._)`${r} !== true`,(()=>{if(t===true){e.assign(r,true)}else{e.assign(r,(0,n._)`${r} || {}`);setEvaluated(e,r,t)}})),mergeValues:(e,t)=>e===true?true:{...e,...t},resultToName:evaluatedPropsToName}),items:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,n._)`${r} !== true && ${t} !== undefined`,(()=>e.assign(r,(0,n._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`))),mergeToName:(e,t,r)=>e.if((0,n._)`${r} !== true`,(()=>e.assign(r,t===true?true:(0,n._)`${r} > ${t} ? ${r} : ${t}`))),mergeValues:(e,t)=>e===true?true:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function evaluatedPropsToName(e,t){if(t===true)return e.var("props",true);const r=e.var("props",(0,n._)`{}`);if(t!==undefined)setEvaluated(e,r,t);return r}t.evaluatedPropsToName=evaluatedPropsToName;function setEvaluated(e,t,r){Object.keys(r).forEach((r=>e.assign((0,n._)`${t}${(0,n.getProperty)(r)}`,true)))}t.setEvaluated=setEvaluated;const a={};function useFunc(e,t){return e.scopeValue("func",{ref:t,code:a[t.code]||(a[t.code]=new s._Code(t.code))})}t.useFunc=useFunc;var o;(function(e){e[e["Num"]=0]="Num";e[e["Str"]=1]="Str"})(o=t.Type||(t.Type={}));function getErrorPath(e,t,r){if(e instanceof n.Name){const s=t===o.Num;return r?s?(0,n._)`"[" + ${e} + "]"`:(0,n._)`"['" + ${e} + "']"`:s?(0,n._)`"/" + ${e}`:(0,n._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,n.getProperty)(e).toString():"/"+escapeJsonPointer(e)}t.getErrorPath=getErrorPath;function checkStrictMode(e,t,r=e.opts.strictSchema){if(!r)return;t=`strict mode: ${t}`;if(r===true)throw new Error(t);e.self.logger.warn(t)}t.checkStrictMode=checkStrictMode},2175:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0;function schemaHasRulesForType({schema:e,self:t},r){const n=t.RULES.types[r];return n&&n!==true&&shouldUseGroup(e,n)}t.schemaHasRulesForType=schemaHasRulesForType;function shouldUseGroup(e,t){return t.rules.some((t=>shouldUseRule(e,t)))}t.shouldUseGroup=shouldUseGroup;function shouldUseRule(e,t){var r;return e[t.keyword]!==undefined||((r=t.definition.implements)===null||r===void 0?void 0:r.some((t=>e[t]!==undefined)))}t.shouldUseRule=shouldUseRule},4152:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n=r(1069);const s=r(4109);const a=r(4492);const o={message:"boolean schema is false"};function topBoolOrEmptySchema(e){const{gen:t,schema:r,validateName:n}=e;if(r===false){falseSchemaError(e,false)}else if(typeof r=="object"&&r.$async===true){t.return(a.default.data)}else{t.assign((0,s._)`${n}.errors`,null);t.return(true)}}t.topBoolOrEmptySchema=topBoolOrEmptySchema;function boolOrEmptySchema(e,t){const{gen:r,schema:n}=e;if(n===false){r.var(t,false);falseSchemaError(e)}else{r.var(t,true)}}t.boolOrEmptySchema=boolOrEmptySchema;function falseSchemaError(e,t){const{gen:r,data:s}=e;const a={gen:r,keyword:"false schema",data:s,schema:false,schemaCode:false,schemaValue:false,params:{},it:e};(0,n.reportError)(a,o,undefined,t)}},3967:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const n=r(521);const s=r(2175);const a=r(1069);const o=r(4109);const i=r(7545);var c;(function(e){e[e["Correct"]=0]="Correct";e[e["Wrong"]=1]="Wrong"})(c=t.DataType||(t.DataType={}));function getSchemaTypes(e){const t=getJSONTypes(e.type);const r=t.includes("null");if(r){if(e.nullable===false)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==undefined){throw new Error('"nullable" cannot be used without "type"')}if(e.nullable===true)t.push("null")}return t}t.getSchemaTypes=getSchemaTypes;function getJSONTypes(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(n.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}t.getJSONTypes=getJSONTypes;function coerceAndCheckDataType(e,t){const{gen:r,data:n,opts:a}=e;const o=coerceToTypes(t,a.coerceTypes);const i=t.length>0&&!(o.length===0&&t.length===1&&(0,s.schemaHasRulesForType)(e,t[0]));if(i){const s=checkDataTypes(t,n,a.strictNumbers,c.Wrong);r.if(s,(()=>{if(o.length)coerceData(e,t,o);else reportTypeError(e)}))}return i}t.coerceAndCheckDataType=coerceAndCheckDataType;const u=new Set(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){return t?e.filter((e=>u.has(e)||t==="array"&&e==="array")):[]}function coerceData(e,t,r){const{gen:n,data:s,opts:a}=e;const i=n.let("dataType",(0,o._)`typeof ${s}`);const c=n.let("coerced",(0,o._)`undefined`);if(a.coerceTypes==="array"){n.if((0,o._)`${i} == 'object' && Array.isArray(${s}) && ${s}.length == 1`,(()=>n.assign(s,(0,o._)`${s}[0]`).assign(i,(0,o._)`typeof ${s}`).if(checkDataTypes(t,s,a.strictNumbers),(()=>n.assign(c,s)))))}n.if((0,o._)`${c} !== undefined`);for(const e of r){if(u.has(e)||e==="array"&&a.coerceTypes==="array"){coerceSpecificType(e)}}n.else();reportTypeError(e);n.endIf();n.if((0,o._)`${c} !== undefined`,(()=>{n.assign(s,c);assignParentData(e,c)}));function coerceSpecificType(e){switch(e){case"string":n.elseIf((0,o._)`${i} == "number" || ${i} == "boolean"`).assign(c,(0,o._)`"" + ${s}`).elseIf((0,o._)`${s} === null`).assign(c,(0,o._)`""`);return;case"number":n.elseIf((0,o._)`${i} == "boolean" || ${s} === null
|
|
2
|
+
|| (${i} == "string" && ${s} && ${s} == +${s})`).assign(c,(0,o._)`+${s}`);return;case"integer":n.elseIf((0,o._)`${i} === "boolean" || ${s} === null
|
|
3
|
+
|| (${i} === "string" && ${s} && ${s} == +${s} && !(${s} % 1))`).assign(c,(0,o._)`+${s}`);return;case"boolean":n.elseIf((0,o._)`${s} === "false" || ${s} === 0 || ${s} === null`).assign(c,false).elseIf((0,o._)`${s} === "true" || ${s} === 1`).assign(c,true);return;case"null":n.elseIf((0,o._)`${s} === "" || ${s} === 0 || ${s} === false`);n.assign(c,null);return;case"array":n.elseIf((0,o._)`${i} === "string" || ${i} === "number"
|
|
4
|
+
|| ${i} === "boolean" || ${s} === null`).assign(c,(0,o._)`[${s}]`)}}}function assignParentData({gen:e,parentData:t,parentDataProperty:r},n){e.if((0,o._)`${t} !== undefined`,(()=>e.assign((0,o._)`${t}[${r}]`,n)))}function checkDataType(e,t,r,n=c.Correct){const s=n===c.Correct?o.operators.EQ:o.operators.NEQ;let a;switch(e){case"null":return(0,o._)`${t} ${s} null`;case"array":a=(0,o._)`Array.isArray(${t})`;break;case"object":a=(0,o._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":a=numCond((0,o._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":a=numCond();break;default:return(0,o._)`typeof ${t} ${s} ${e}`}return n===c.Correct?a:(0,o.not)(a);function numCond(e=o.nil){return(0,o.and)((0,o._)`typeof ${t} == "number"`,e,r?(0,o._)`isFinite(${t})`:o.nil)}}t.checkDataType=checkDataType;function checkDataTypes(e,t,r,n){if(e.length===1){return checkDataType(e[0],t,r,n)}let s;const a=(0,i.toHash)(e);if(a.array&&a.object){const e=(0,o._)`typeof ${t} != "object"`;s=a.null?e:(0,o._)`!${t} || ${e}`;delete a.null;delete a.array;delete a.object}else{s=o.nil}if(a.number)delete a.integer;for(const e in a)s=(0,o.and)(s,checkDataType(e,t,r,n));return s}t.checkDataTypes=checkDataTypes;const l={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,o._)`{type: ${e}}`:(0,o._)`{type: ${t}}`};function reportTypeError(e){const t=getTypeErrorContext(e);(0,a.reportError)(t,l)}t.reportTypeError=reportTypeError;function getTypeErrorContext(e){const{gen:t,data:r,schema:n}=e;const s=(0,i.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:s,schemaValue:s,parentSchema:n,params:{},it:e}}},4017:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assignDefaults=void 0;const n=r(4109);const s=r(7545);function assignDefaults(e,t){const{properties:r,items:n}=e.schema;if(t==="object"&&r){for(const t in r){assignDefault(e,t,r[t].default)}}else if(t==="array"&&Array.isArray(n)){n.forEach(((t,r)=>assignDefault(e,r,t.default)))}}t.assignDefaults=assignDefaults;function assignDefault(e,t,r){const{gen:a,compositeRule:o,data:i,opts:c}=e;if(r===undefined)return;const u=(0,n._)`${i}${(0,n.getProperty)(t)}`;if(o){(0,s.checkStrictMode)(e,`default is ignored for: ${u}`);return}let l=(0,n._)`${u} === undefined`;if(c.useDefaults==="empty"){l=(0,n._)`${l} || ${u} === null || ${u} === ""`}a.if(l,(0,n._)`${u} = ${(0,n.stringify)(r)}`)}},7357:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const n=r(4152);const s=r(3967);const a=r(2175);const o=r(3967);const i=r(4017);const c=r(272);const u=r(7390);const l=r(4109);const f=r(4492);const d=r(3877);const p=r(7545);const m=r(1069);function validateFunctionCode(e){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){topSchemaObjCode(e);return}}validateFunction(e,(()=>(0,n.topBoolOrEmptySchema)(e)))}t.validateFunctionCode=validateFunctionCode;function validateFunction({gen:e,validateName:t,schema:r,schemaEnv:n,opts:s},a){if(s.code.es5){e.func(t,(0,l._)`${f.default.data}, ${f.default.valCxt}`,n.$async,(()=>{e.code((0,l._)`"use strict"; ${funcSourceUrl(r,s)}`);destructureValCxtES5(e,s);e.code(a)}))}else{e.func(t,(0,l._)`${f.default.data}, ${destructureValCxt(s)}`,n.$async,(()=>e.code(funcSourceUrl(r,s)).code(a)))}}function destructureValCxt(e){return(0,l._)`{${f.default.instancePath}="", ${f.default.parentData}, ${f.default.parentDataProperty}, ${f.default.rootData}=${f.default.data}${e.dynamicRef?(0,l._)`, ${f.default.dynamicAnchors}={}`:l.nil}}={}`}function destructureValCxtES5(e,t){e.if(f.default.valCxt,(()=>{e.var(f.default.instancePath,(0,l._)`${f.default.valCxt}.${f.default.instancePath}`);e.var(f.default.parentData,(0,l._)`${f.default.valCxt}.${f.default.parentData}`);e.var(f.default.parentDataProperty,(0,l._)`${f.default.valCxt}.${f.default.parentDataProperty}`);e.var(f.default.rootData,(0,l._)`${f.default.valCxt}.${f.default.rootData}`);if(t.dynamicRef)e.var(f.default.dynamicAnchors,(0,l._)`${f.default.valCxt}.${f.default.dynamicAnchors}`)}),(()=>{e.var(f.default.instancePath,(0,l._)`""`);e.var(f.default.parentData,(0,l._)`undefined`);e.var(f.default.parentDataProperty,(0,l._)`undefined`);e.var(f.default.rootData,f.default.data);if(t.dynamicRef)e.var(f.default.dynamicAnchors,(0,l._)`{}`)}))}function topSchemaObjCode(e){const{schema:t,opts:r,gen:n}=e;validateFunction(e,(()=>{if(r.$comment&&t.$comment)commentKeyword(e);checkNoDefault(e);n.let(f.default.vErrors,null);n.let(f.default.errors,0);if(r.unevaluated)resetEvaluated(e);typeAndKeywords(e);returnResults(e)}));return}function resetEvaluated(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,l._)`${r}.evaluated`);t.if((0,l._)`${e.evaluated}.dynamicProps`,(()=>t.assign((0,l._)`${e.evaluated}.props`,(0,l._)`undefined`)));t.if((0,l._)`${e.evaluated}.dynamicItems`,(()=>t.assign((0,l._)`${e.evaluated}.items`,(0,l._)`undefined`)))}function funcSourceUrl(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,l._)`/*# sourceURL=${r} */`:l.nil}function subschemaCode(e,t){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){subSchemaObjCode(e,t);return}}(0,n.boolOrEmptySchema)(e,t)}function schemaCxtHasRules({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const r in e)if(t.RULES.all[r])return true;return false}function isSchemaObj(e){return typeof e.schema!="boolean"}function subSchemaObjCode(e,t){const{schema:r,gen:n,opts:s}=e;if(s.$comment&&r.$comment)commentKeyword(e);updateContext(e);checkAsyncSchema(e);const a=n.const("_errs",f.default.errors);typeAndKeywords(e,a);n.var(t,(0,l._)`${a} === ${f.default.errors}`)}function checkKeywords(e){(0,p.checkUnknownRules)(e);checkRefsAndKeywords(e)}function typeAndKeywords(e,t){if(e.opts.jtd)return schemaKeywords(e,[],false,t);const r=(0,s.getSchemaTypes)(e.schema);const n=(0,s.coerceAndCheckDataType)(e,r);schemaKeywords(e,r,!n,t)}function checkRefsAndKeywords(e){const{schema:t,errSchemaPath:r,opts:n,self:s}=e;if(t.$ref&&n.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(t,s.RULES)){s.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}}function checkNoDefault(e){const{schema:t,opts:r}=e;if(t.default!==undefined&&r.useDefaults&&r.strictSchema){(0,p.checkStrictMode)(e,"default is ignored in the schema root")}}function updateContext(e){const t=e.schema[e.opts.schemaId];if(t)e.baseId=(0,d.resolveUrl)(e.opts.uriResolver,e.baseId,t)}function checkAsyncSchema(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function commentKeyword({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:s}){const a=r.$comment;if(s.$comment===true){e.code((0,l._)`${f.default.self}.logger.log(${a})`)}else if(typeof s.$comment=="function"){const r=(0,l.str)`${n}/$comment`;const s=e.scopeValue("root",{ref:t.root});e.code((0,l._)`${f.default.self}.opts.$comment(${a}, ${r}, ${s}.schema)`)}}function returnResults(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:s,opts:a}=e;if(r.$async){t.if((0,l._)`${f.default.errors} === 0`,(()=>t.return(f.default.data)),(()=>t.throw((0,l._)`new ${s}(${f.default.vErrors})`)))}else{t.assign((0,l._)`${n}.errors`,f.default.vErrors);if(a.unevaluated)assignEvaluated(e);t.return((0,l._)`${f.default.errors} === 0`)}}function assignEvaluated({gen:e,evaluated:t,props:r,items:n}){if(r instanceof l.Name)e.assign((0,l._)`${t}.props`,r);if(n instanceof l.Name)e.assign((0,l._)`${t}.items`,n)}function schemaKeywords(e,t,r,n){const{gen:s,schema:i,data:c,allErrors:u,opts:d,self:m}=e;const{RULES:h}=m;if(i.$ref&&(d.ignoreKeywordsWithRef||!(0,p.schemaHasRulesButRef)(i,h))){s.block((()=>keywordCode(e,"$ref",h.all.$ref.definition)));return}if(!d.jtd)checkStrictTypes(e,t);s.block((()=>{for(const e of h.rules)groupKeywords(e);groupKeywords(h.post)}));function groupKeywords(p){if(!(0,a.shouldUseGroup)(i,p))return;if(p.type){s.if((0,o.checkDataType)(p.type,c,d.strictNumbers));iterateKeywords(e,p);if(t.length===1&&t[0]===p.type&&r){s.else();(0,o.reportTypeError)(e)}s.endIf()}else{iterateKeywords(e,p)}if(!u)s.if((0,l._)`${f.default.errors} === ${n||0}`)}}function iterateKeywords(e,t){const{gen:r,schema:n,opts:{useDefaults:s}}=e;if(s)(0,i.assignDefaults)(e,t.type);r.block((()=>{for(const r of t.rules){if((0,a.shouldUseRule)(n,r)){keywordCode(e,r.keyword,r.definition,t.type)}}}))}function checkStrictTypes(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;checkContextTypes(e,t);if(!e.opts.allowUnionTypes)checkMultipleTypes(e,t);checkKeywordTypes(e,e.dataTypes)}function checkContextTypes(e,t){if(!t.length)return;if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach((t=>{if(!includesType(e.dataTypes,t)){strictTypesError(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}}));e.dataTypes=e.dataTypes.filter((e=>includesType(t,e)))}function checkMultipleTypes(e,t){if(t.length>1&&!(t.length===2&&t.includes("null"))){strictTypesError(e,"use allowUnionTypes to allow union type keyword")}}function checkKeywordTypes(e,t){const r=e.self.RULES.all;for(const n in r){const s=r[n];if(typeof s=="object"&&(0,a.shouldUseRule)(e.schema,s)){const{type:r}=s.definition;if(r.length&&!r.some((e=>hasApplicableType(t,e)))){strictTypesError(e,`missing type "${r.join(",")}" for keyword "${n}"`)}}}}function hasApplicableType(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function includesType(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function strictTypesError(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`;(0,p.checkStrictMode)(e,t,e.opts.strictTypes)}class KeywordCxt{constructor(e,t,r){(0,c.validateKeywordUsage)(e,t,r);this.gen=e.gen;this.allErrors=e.allErrors;this.keyword=r;this.data=e.data;this.schema=e.schema[r];this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data;this.schemaValue=(0,p.schemaRefOrVal)(e,this.schema,r,this.$data);this.schemaType=t.schemaType;this.parentSchema=e.schema;this.params={};this.it=e;this.def=t;if(this.$data){this.schemaCode=e.gen.const("vSchema",getData(this.$data,e))}else{this.schemaCode=this.schemaValue;if(!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined)){throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`)}}if("code"in t?t.trackErrors:t.errors!==false){this.errsCount=e.gen.const("_errs",f.default.errors)}}result(e,t,r){this.failResult((0,l.not)(e),t,r)}failResult(e,t,r){this.gen.if(e);if(r)r();else this.error();if(t){this.gen.else();t();if(this.allErrors)this.gen.endIf()}else{if(this.allErrors)this.gen.endIf();else this.gen.else()}}pass(e,t){this.failResult((0,l.not)(e),undefined,t)}fail(e){if(e===undefined){this.error();if(!this.allErrors)this.gen.if(false);return}this.gen.if(e);this.error();if(this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail((0,l._)`${t} !== undefined && (${(0,l.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t){this.setParams(t);this._error(e,r);this.setParams({});return}this._error(e,r)}_error(e,t){(e?m.reportExtraError:m.reportError)(this,this.def.error,t)}$dataError(){(0,m.reportError)(this,this.def.$dataError||m.keyword$DataError)}reset(){if(this.errsCount===undefined)throw new Error('add "trackErrors" to keyword definition');(0,m.resetErrorsCount)(this.gen,this.errsCount)}ok(e){if(!this.allErrors)this.gen.if(e)}setParams(e,t){if(t)Object.assign(this.params,e);else this.params=e}block$data(e,t,r=l.nil){this.gen.block((()=>{this.check$data(e,r);t()}))}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:r,schemaCode:n,schemaType:s,def:a}=this;r.if((0,l.or)((0,l._)`${n} === undefined`,t));if(e!==l.nil)r.assign(e,true);if(s.length||a.validateSchema){r.elseIf(this.invalid$data());this.$dataError();if(e!==l.nil)r.assign(e,false)}r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:n,it:s}=this;return(0,l.or)(wrong$DataType(),invalid$DataSchema());function wrong$DataType(){if(r.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return(0,l._)`${(0,o.checkDataTypes)(e,t,s.opts.strictNumbers,o.DataType.Wrong)}`}return l.nil}function invalid$DataSchema(){if(n.validateSchema){const r=e.scopeValue("validate$data",{ref:n.validateSchema});return(0,l._)`!${r}(${t})`}return l.nil}}subschema(e,t){const r=(0,u.getSubschema)(this.it,e);(0,u.extendSubschemaData)(r,this.it,e);(0,u.extendSubschemaMode)(r,e);const n={...this.it,...r,items:undefined,props:undefined};subschemaCode(n,t);return n}mergeEvaluated(e,t){const{it:r,gen:n}=this;if(!r.opts.unevaluated)return;if(r.props!==true&&e.props!==undefined){r.props=p.mergeEvaluated.props(n,e.props,r.props,t)}if(r.items!==true&&e.items!==undefined){r.items=p.mergeEvaluated.items(n,e.items,r.items,t)}}mergeValidEvaluated(e,t){const{it:r,gen:n}=this;if(r.opts.unevaluated&&(r.props!==true||r.items!==true)){n.if(t,(()=>this.mergeEvaluated(e,l.Name)));return true}}}t.KeywordCxt=KeywordCxt;function keywordCode(e,t,r,n){const s=new KeywordCxt(e,r,t);if("code"in r){r.code(s,n)}else if(s.$data&&r.validate){(0,c.funcKeywordCode)(s,r)}else if("macro"in r){(0,c.macroKeywordCode)(s,r)}else if(r.compile||r.validate){(0,c.funcKeywordCode)(s,r)}}const h=/^\/(?:[^~]|~0|~1)*$/;const y=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let s;let a;if(e==="")return f.default.rootData;if(e[0]==="/"){if(!h.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);s=e;a=f.default.rootData}else{const o=y.exec(e);if(!o)throw new Error(`Invalid JSON-pointer: ${e}`);const i=+o[1];s=o[2];if(s==="#"){if(i>=t)throw new Error(errorMsg("property/index",i));return n[t-i]}if(i>t)throw new Error(errorMsg("data",i));a=r[t-i];if(!s)return a}let o=a;const i=s.split("/");for(const e of i){if(e){a=(0,l._)`${a}${(0,l.getProperty)((0,p.unescapeJsonPointer)(e))}`;o=(0,l._)`${o} && ${a}`}}return o;function errorMsg(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=getData},272:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const n=r(4109);const s=r(4492);const a=r(6086);const o=r(1069);function macroKeywordCode(e,t){const{gen:r,keyword:s,schema:a,parentSchema:o,it:i}=e;const c=t.macro.call(i.self,a,o,i);const u=useKeyword(r,s,c);if(i.opts.validateSchema!==false)i.self.validateSchema(c,true);const l=r.name("valid");e.subschema({schema:c,schemaPath:n.nil,errSchemaPath:`${i.errSchemaPath}/${s}`,topSchemaRef:u,compositeRule:true},l);e.pass(l,(()=>e.error(true)))}t.macroKeywordCode=macroKeywordCode;function funcKeywordCode(e,t){var r;const{gen:o,keyword:i,schema:c,parentSchema:u,$data:l,it:f}=e;checkAsyncKeyword(f,t);const d=!l&&t.compile?t.compile.call(f.self,c,u,f):t.validate;const p=useKeyword(o,i,d);const m=o.let("valid");e.block$data(m,validateKeyword);e.ok((r=t.valid)!==null&&r!==void 0?r:m);function validateKeyword(){if(t.errors===false){assignValid();if(t.modifying)modifyData(e);reportErrs((()=>e.error()))}else{const r=t.async?validateAsync():validateSync();if(t.modifying)modifyData(e);reportErrs((()=>addErrs(e,r)))}}function validateAsync(){const e=o.let("ruleErrs",null);o.try((()=>assignValid((0,n._)`await `)),(t=>o.assign(m,false).if((0,n._)`${t} instanceof ${f.ValidationError}`,(()=>o.assign(e,(0,n._)`${t}.errors`)),(()=>o.throw(t)))));return e}function validateSync(){const e=(0,n._)`${p}.errors`;o.assign(e,null);assignValid(n.nil);return e}function assignValid(r=(t.async?(0,n._)`await `:n.nil)){const i=f.opts.passContext?s.default.this:s.default.self;const c=!("compile"in t&&!l||t.schema===false);o.assign(m,(0,n._)`${r}${(0,a.callValidateCode)(e,p,i,c)}`,t.modifying)}function reportErrs(e){var r;o.if((0,n.not)((r=t.valid)!==null&&r!==void 0?r:m),e)}}t.funcKeywordCode=funcKeywordCode;function modifyData(e){const{gen:t,data:r,it:s}=e;t.if(s.parentData,(()=>t.assign(r,(0,n._)`${s.parentData}[${s.parentDataProperty}]`)))}function addErrs(e,t){const{gen:r}=e;r.if((0,n._)`Array.isArray(${t})`,(()=>{r.assign(s.default.vErrors,(0,n._)`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`).assign(s.default.errors,(0,n._)`${s.default.vErrors}.length`);(0,o.extendErrors)(e)}),(()=>e.error()))}function checkAsyncKeyword({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function useKeyword(e,t,r){if(r===undefined)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,n.stringify)(r)})}function validSchemaType(e,t,r=false){return!t.length||t.some((t=>t==="array"?Array.isArray(e):t==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==t||r&&typeof e=="undefined"))}t.validSchemaType=validSchemaType;function validateKeywordUsage({schema:e,opts:t,self:r,errSchemaPath:n},s,a){if(Array.isArray(s.keyword)?!s.keyword.includes(a):s.keyword!==a){throw new Error("ajv implementation error")}const o=s.dependencies;if(o===null||o===void 0?void 0:o.some((t=>!Object.prototype.hasOwnProperty.call(e,t)))){throw new Error(`parent schema must have dependencies of ${a}: ${o.join(",")}`)}if(s.validateSchema){const o=s.validateSchema(e[a]);if(!o){const e=`keyword "${a}" value is invalid at path "${n}": `+r.errorsText(s.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(e);else throw new Error(e)}}}t.validateKeywordUsage=validateKeywordUsage},7390:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const n=r(4109);const s=r(7545);function getSubschema(e,{keyword:t,schemaProp:r,schema:a,schemaPath:o,errSchemaPath:i,topSchemaRef:c}){if(t!==undefined&&a!==undefined){throw new Error('both "keyword" and "schema" passed, only one allowed')}if(t!==undefined){const a=e.schema[t];return r===undefined?{schema:a,schemaPath:(0,n._)`${e.schemaPath}${(0,n.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:a[r],schemaPath:(0,n._)`${e.schemaPath}${(0,n.getProperty)(t)}${(0,n.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,s.escapeFragment)(r)}`}}if(a!==undefined){if(o===undefined||i===undefined||c===undefined){throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"')}return{schema:a,schemaPath:o,topSchemaRef:c,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')}t.getSubschema=getSubschema;function extendSubschemaData(e,t,{dataProp:r,dataPropType:a,data:o,dataTypes:i,propertyName:c}){if(o!==undefined&&r!==undefined){throw new Error('both "data" and "dataProp" passed, only one allowed')}const{gen:u}=t;if(r!==undefined){const{errorPath:o,dataPathArr:i,opts:c}=t;const l=u.let("data",(0,n._)`${t.data}${(0,n.getProperty)(r)}`,true);dataContextProps(l);e.errorPath=(0,n.str)`${o}${(0,s.getErrorPath)(r,a,c.jsPropertySyntax)}`;e.parentDataProperty=(0,n._)`${r}`;e.dataPathArr=[...i,e.parentDataProperty]}if(o!==undefined){const t=o instanceof n.Name?o:u.let("data",o,true);dataContextProps(t);if(c!==undefined)e.propertyName=c}if(i)e.dataTypes=i;function dataContextProps(r){e.data=r;e.dataLevel=t.dataLevel+1;e.dataTypes=[];t.definedProperties=new Set;e.parentData=t.data;e.dataNames=[...t.dataNames,r]}}t.extendSubschemaData=extendSubschemaData;function extendSubschemaMode(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:s,allErrors:a}){if(n!==undefined)e.compositeRule=n;if(s!==undefined)e.createErrors=s;if(a!==undefined)e.allErrors=a;e.jtdDiscriminator=t;e.jtdMetadata=r}t.extendSubschemaMode=extendSubschemaMode},3834:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=r(7357);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return n.KeywordCxt}});var s=r(4109);Object.defineProperty(t,"_",{enumerable:true,get:function(){return s._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return s.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return s.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return s.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return s.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return s.CodeGen}});const a=r(5919);const o=r(9984);const i=r(521);const c=r(960);const u=r(4109);const l=r(3877);const f=r(3967);const d=r(7545);const p=r(7918);const m=r(4095);const defaultRegExp=(e,t)=>new RegExp(e,t);defaultRegExp.code="new RegExp";const h=["removeAdditional","useDefaults","coerceTypes"];const y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]);const g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."};const v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};const $=200;function requiredOptions(e){var t,r,n,s,a,o,i,c,u,l,f,d,p,h,y,g,v,b,E,w,S,P,x,O,N;const R=e.strict;const I=(t=e.code)===null||t===void 0?void 0:t.optimize;const k=I===true||I===undefined?1:I||0;const C=(n=(r=e.code)===null||r===void 0?void 0:r.regExp)!==null&&n!==void 0?n:defaultRegExp;const T=(s=e.uriResolver)!==null&&s!==void 0?s:m.default;return{strictSchema:(o=(a=e.strictSchema)!==null&&a!==void 0?a:R)!==null&&o!==void 0?o:true,strictNumbers:(c=(i=e.strictNumbers)!==null&&i!==void 0?i:R)!==null&&c!==void 0?c:true,strictTypes:(l=(u=e.strictTypes)!==null&&u!==void 0?u:R)!==null&&l!==void 0?l:"log",strictTuples:(d=(f=e.strictTuples)!==null&&f!==void 0?f:R)!==null&&d!==void 0?d:"log",strictRequired:(h=(p=e.strictRequired)!==null&&p!==void 0?p:R)!==null&&h!==void 0?h:false,code:e.code?{...e.code,optimize:k,regExp:C}:{optimize:k,regExp:C},loopRequired:(y=e.loopRequired)!==null&&y!==void 0?y:$,loopEnum:(g=e.loopEnum)!==null&&g!==void 0?g:$,meta:(v=e.meta)!==null&&v!==void 0?v:true,messages:(b=e.messages)!==null&&b!==void 0?b:true,inlineRefs:(E=e.inlineRefs)!==null&&E!==void 0?E:true,schemaId:(w=e.schemaId)!==null&&w!==void 0?w:"$id",addUsedSchema:(S=e.addUsedSchema)!==null&&S!==void 0?S:true,validateSchema:(P=e.validateSchema)!==null&&P!==void 0?P:true,validateFormats:(x=e.validateFormats)!==null&&x!==void 0?x:true,unicodeRegExp:(O=e.unicodeRegExp)!==null&&O!==void 0?O:true,int32range:(N=e.int32range)!==null&&N!==void 0?N:true,uriResolver:T}}class Ajv{constructor(e={}){this.schemas={};this.refs={};this.formats={};this._compilations=new Set;this._loading={};this._cache=new Map;e=this.opts={...e,...requiredOptions(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new u.ValueScope({scope:{},prefixes:y,es5:t,lines:r});this.logger=getLogger(e.logger);const n=e.validateFormats;e.validateFormats=false;this.RULES=(0,i.getRules)();checkOptions.call(this,g,e,"NOT SUPPORTED");checkOptions.call(this,v,e,"DEPRECATED","warn");this._metaOpts=getMetaSchemaOptions.call(this);if(e.formats)addInitialFormats.call(this);this._addVocabularies();this._addDefaultMetaSchema();if(e.keywords)addInitialKeywords.call(this,e.keywords);if(typeof e.meta=="object")this.addMetaSchema(e.meta);addInitialSchemas.call(this);e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let n=p;if(r==="id"){n={...p};n.id=n.$id;delete n.$id}if(t&&e)this.addMetaSchema(n,n[r],false)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[t]||e:undefined}validate(e,t){let r;if(typeof e=="string"){r=this.getSchema(e);if(!r)throw new Error(`no schema with key or ref "${e}"`)}else{r=this.compile(e)}const n=r(t);if(!("$async"in r))this.errors=r.errors;return n}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if(typeof this.opts.loadSchema!="function"){throw new Error("options.loadSchema should be a function")}const{loadSchema:r}=this.opts;return runCompileAsync.call(this,e,t);async function runCompileAsync(e,t){await loadMetaSchema.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||_compileAsync.call(this,r)}async function loadMetaSchema(e){if(e&&!this.getSchema(e)){await runCompileAsync.call(this,{$ref:e},true)}}async function _compileAsync(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof o.default))throw t;checkLoaded.call(this,t);await loadMissingSchema.call(this,t.missingSchema);return _compileAsync.call(this,e)}}function checkLoaded({missingSchema:e,missingRef:t}){if(this.refs[e]){throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}}async function loadMissingSchema(e){const r=await _loadSchema.call(this,e);if(!this.refs[e])await loadMetaSchema.call(this,r.$schema);if(!this.refs[e])this.addSchema(r,e,t)}async function _loadSchema(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,n=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,undefined,r,n);return this}let s;if(typeof e==="object"){const{schemaId:t}=this.opts;s=e[t];if(s!==undefined&&typeof s!="string"){throw new Error(`schema ${t} must be string`)}}t=(0,l.normalizeId)(t||s);this._checkUnique(t);this.schemas[t]=this._addSchema(e,r,t,n,true);return this}addMetaSchema(e,t,r=this.opts.validateSchema){this.addSchema(e,t,true,r);return this}validateSchema(e,t){if(typeof e=="boolean")return true;let r;r=e.$schema;if(r!==undefined&&typeof r!="string"){throw new Error("$schema must be a string")}r=r||this.opts.defaultMeta||this.defaultMeta();if(!r){this.logger.warn("meta-schema not available");this.errors=null;return true}const n=this.validate(r,e);if(!n&&t){const e="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(e);else throw new Error(e)}return n}getSchema(e){let t;while(typeof(t=getSchEnv.call(this,e))=="string")e=t;if(t===undefined){const{schemaId:r}=this.opts;const n=new c.SchemaEnv({schema:{},schemaId:r});t=c.resolveSchema.call(this,n,e);if(!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp){this._removeAllSchemas(this.schemas,e);this._removeAllSchemas(this.refs,e);return this}switch(typeof e){case"undefined":this._removeAllSchemas(this.schemas);this._removeAllSchemas(this.refs);this._cache.clear();return this;case"string":{const t=getSchEnv.call(this,e);if(typeof t=="object")this._cache.delete(t.schema);delete this.schemas[e];delete this.refs[e];return this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];if(r){r=(0,l.normalizeId)(r);delete this.schemas[r];delete this.refs[r]}return this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if(typeof e=="string"){r=e;if(typeof t=="object"){this.logger.warn("these parameters are deprecated, see docs for addKeyword");t.keyword=r}}else if(typeof e=="object"&&t===undefined){t=e;r=t.keyword;if(Array.isArray(r)&&!r.length){throw new Error("addKeywords: keyword must be string or non-empty array")}}else{throw new Error("invalid addKeywords parameters")}checkKeyword.call(this,r,t);if(!t){(0,d.eachItem)(r,(e=>addRule.call(this,e)));return this}keywordMetaschema.call(this,t);const n={...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)};(0,d.eachItem)(r,n.type.length===0?e=>addRule.call(this,e,n):e=>n.type.forEach((t=>addRule.call(this,e,n,t))));return this}getKeyword(e){const t=this.RULES.all[e];return typeof t=="object"?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e];delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex((t=>t.keyword===e));if(t>=0)r.rules.splice(t,1)}return this}addFormat(e,t){if(typeof t=="string")t=new RegExp(t);this.formats[e]=t;return this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){if(!e||e.length===0)return"No errors";return e.map((e=>`${r}${e.instancePath} ${e.message}`)).reduce(((e,r)=>e+t+r))}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let s=e;for(const e of t)s=s[e];for(const e in r){const t=r[e];if(typeof t!="object")continue;const{$data:n}=t.definition;const a=s[e];if(n&&a)s[e]=schemaOrData(a)}}return e}_removeAllSchemas(e,t){for(const r in e){const n=e[r];if(!t||t.test(r)){if(typeof n=="string"){delete e[r]}else if(n&&!n.meta){this._cache.delete(n.schema);delete e[r]}}}}_addSchema(e,t,r,n=this.opts.validateSchema,s=this.opts.addUsedSchema){let a;const{schemaId:o}=this.opts;if(typeof e=="object"){a=e[o]}else{if(this.opts.jtd)throw new Error("schema must be object");else if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let i=this._cache.get(e);if(i!==undefined)return i;r=(0,l.normalizeId)(a||r);const u=l.getSchemaRefs.call(this,e,r);i=new c.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:r,localRefs:u});this._cache.set(i.schema,i);if(s&&!r.startsWith("#")){if(r)this._checkUnique(r);this.refs[r]=i}if(n)this.validateSchema(e,true);return i}_checkUnique(e){if(this.schemas[e]||this.refs[e]){throw new Error(`schema with key or id "${e}" already exists`)}}_compileSchemaEnv(e){if(e.meta)this._compileMetaSchema(e);else c.compileSchema.call(this,e);if(!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{c.compileSchema.call(this,e)}finally{this.opts=t}}}t["default"]=Ajv;Ajv.ValidationError=a.default;Ajv.MissingRefError=o.default;function checkOptions(e,t,r,n="error"){for(const s in e){const a=s;if(a in t)this.logger[n](`${r}: option ${s}. ${e[a]}`)}}function getSchEnv(e){e=(0,l.normalizeId)(e);return this.schemas[e]||this.refs[e]}function addInitialSchemas(){const e=this.opts.schemas;if(!e)return;if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function addInitialFormats(){for(const e in this.opts.formats){const t=this.opts.formats[e];if(t)this.addFormat(e,t)}}function addInitialKeywords(e){if(Array.isArray(e)){this.addVocabulary(e);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];if(!r.keyword)r.keyword=t;this.addKeyword(r)}}function getMetaSchemaOptions(){const e={...this.opts};for(const t of h)delete e[t];return e}const b={log(){},warn(){},error(){}};function getLogger(e){if(e===false)return b;if(e===undefined)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}const E=/^[a-z_$][a-z0-9_$:-]*$/i;function checkKeyword(e,t){const{RULES:r}=this;(0,d.eachItem)(e,(e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!E.test(e))throw new Error(`Keyword ${e} has invalid name`)}));if(!t)return;if(t.$data&&!("code"in t||"validate"in t)){throw new Error('$data keyword must have "code" or "validate" function')}}function addRule(e,t,r){var n;const s=t===null||t===void 0?void 0:t.post;if(r&&s)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:a}=this;let o=s?a.post:a.rules.find((({type:e})=>e===r));if(!o){o={type:r,rules:[]};a.rules.push(o)}a.keywords[e]=true;if(!t)return;const i={keyword:e,definition:{...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)}};if(t.before)addBeforeRule.call(this,o,i,t.before);else o.rules.push(i);a.all[e]=i;(n=t.implements)===null||n===void 0?void 0:n.forEach((e=>this.addKeyword(e)))}function addBeforeRule(e,t,r){const n=e.rules.findIndex((e=>e.keyword===r));if(n>=0){e.rules.splice(n,0,t)}else{e.rules.push(t);this.logger.warn(`rule ${r} is not defined`)}}function keywordMetaschema(e){let{metaSchema:t}=e;if(t===undefined)return;if(e.$data&&this.opts.$data)t=schemaOrData(t);e.validateSchema=this.compile(t,true)}const w={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function schemaOrData(e){return{anyOf:[e,w]}}},9987:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7447);n.code='require("ajv/dist/runtime/equal").default';t["default"]=n},4624:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});function ucs2length(e){const t=e.length;let r=0;let n=0;let s;while(n<t){r++;s=e.charCodeAt(n++);if(s>=55296&&s<=56319&&n<t){s=e.charCodeAt(n);if((s&64512)===56320)n++}}return r}t["default"]=ucs2length;ucs2length.code='require("ajv/dist/runtime/ucs2length").default'},4095:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(199);n.code='require("ajv/dist/runtime/uri").default';t["default"]=n},5919:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});class ValidationError extends Error{constructor(e){super("validation failed");this.errors=e;this.ajv=this.validation=true}}t["default"]=ValidationError},8268:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateAdditionalItems=void 0;const n=r(4109);const s=r(7545);const a={message:({params:{len:e}})=>(0,n.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,n._)`{limit: ${e}}`};const o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:a,code(e){const{parentSchema:t,it:r}=e;const{items:n}=t;if(!Array.isArray(n)){(0,s.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}validateAdditionalItems(e,n)}};function validateAdditionalItems(e,t){const{gen:r,schema:a,data:o,keyword:i,it:c}=e;c.items=true;const u=r.const("len",(0,n._)`${o}.length`);if(a===false){e.setParams({len:t.length});e.pass((0,n._)`${u} <= ${t.length}`)}else if(typeof a=="object"&&!(0,s.alwaysValidSchema)(c,a)){const s=r.var("valid",(0,n._)`${u} <= ${t.length}`);r.if((0,n.not)(s),(()=>validateItems(s)));e.ok(s)}function validateItems(a){r.forRange("i",t.length,u,(t=>{e.subschema({keyword:i,dataProp:t,dataPropType:s.Type.Num},a);if(!c.allErrors)r.if((0,n.not)(a),(()=>r.break()))}))}}t.validateAdditionalItems=validateAdditionalItems;t["default"]=o},5506:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const s=r(4109);const a=r(4492);const o=r(7545);const i={message:"must NOT have additional properties",params:({params:e})=>(0,s._)`{additionalProperty: ${e.additionalProperty}}`};const c={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:true,trackErrors:true,error:i,code(e){const{gen:t,schema:r,parentSchema:i,data:c,errsCount:u,it:l}=e;if(!u)throw new Error("ajv implementation error");const{allErrors:f,opts:d}=l;l.props=true;if(d.removeAdditional!=="all"&&(0,o.alwaysValidSchema)(l,r))return;const p=(0,n.allSchemaProperties)(i.properties);const m=(0,n.allSchemaProperties)(i.patternProperties);checkAdditionalProperties();e.ok((0,s._)`${u} === ${a.default.errors}`);function checkAdditionalProperties(){t.forIn("key",c,(e=>{if(!p.length&&!m.length)additionalPropertyCode(e);else t.if(isAdditional(e),(()=>additionalPropertyCode(e)))}))}function isAdditional(r){let a;if(p.length>8){const e=(0,o.schemaRefOrVal)(l,i.properties,"properties");a=(0,n.isOwnProperty)(t,e,r)}else if(p.length){a=(0,s.or)(...p.map((e=>(0,s._)`${r} === ${e}`)))}else{a=s.nil}if(m.length){a=(0,s.or)(a,...m.map((t=>(0,s._)`${(0,n.usePattern)(e,t)}.test(${r})`)))}return(0,s.not)(a)}function deleteAdditional(e){t.code((0,s._)`delete ${c}[${e}]`)}function additionalPropertyCode(n){if(d.removeAdditional==="all"||d.removeAdditional&&r===false){deleteAdditional(n);return}if(r===false){e.setParams({additionalProperty:n});e.error();if(!f)t.break();return}if(typeof r=="object"&&!(0,o.alwaysValidSchema)(l,r)){const r=t.name("valid");if(d.removeAdditional==="failing"){applyAdditionalSchema(n,r,false);t.if((0,s.not)(r),(()=>{e.reset();deleteAdditional(n)}))}else{applyAdditionalSchema(n,r);if(!f)t.if((0,s.not)(r),(()=>t.break()))}}}function applyAdditionalSchema(t,r,n){const s={keyword:"additionalProperties",dataProp:t,dataPropType:o.Type.Str};if(n===false){Object.assign(s,{compositeRule:true,createErrors:false,allErrors:false})}e.subschema(s,r)}}};t["default"]=c},2962:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7545);const s={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:s}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const a=t.name("valid");r.forEach(((t,r)=>{if((0,n.alwaysValidSchema)(s,t))return;const o=e.subschema({keyword:"allOf",schemaProp:r},a);e.ok(a);e.mergeEvaluated(o)}))}};t["default"]=s},1549:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const s={keyword:"anyOf",schemaType:"array",trackErrors:true,code:n.validateUnion,error:{message:"must match a schema in anyOf"}};t["default"]=s},9251:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(7545);const a={message:({params:{min:e,max:t}})=>t===undefined?(0,n.str)`must contain at least ${e} valid item(s)`:(0,n.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===undefined?(0,n._)`{minContains: ${e}}`:(0,n._)`{minContains: ${e}, maxContains: ${t}}`};const o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:true,error:a,code(e){const{gen:t,schema:r,parentSchema:a,data:o,it:i}=e;let c;let u;const{minContains:l,maxContains:f}=a;if(i.opts.next){c=l===undefined?1:l;u=f}else{c=1}const d=t.const("len",(0,n._)`${o}.length`);e.setParams({min:c,max:u});if(u===undefined&&c===0){(0,s.checkStrictMode)(i,`"minContains" == 0 without "maxContains": "contains" keyword ignored`);return}if(u!==undefined&&c>u){(0,s.checkStrictMode)(i,`"minContains" > "maxContains" is always invalid`);e.fail();return}if((0,s.alwaysValidSchema)(i,r)){let t=(0,n._)`${d} >= ${c}`;if(u!==undefined)t=(0,n._)`${t} && ${d} <= ${u}`;e.pass(t);return}i.items=true;const p=t.name("valid");if(u===undefined&&c===1){validateItems(p,(()=>t.if(p,(()=>t.break()))))}else if(c===0){t.let(p,true);if(u!==undefined)t.if((0,n._)`${o}.length > 0`,validateItemsWithCount)}else{t.let(p,false);validateItemsWithCount()}e.result(p,(()=>e.reset()));function validateItemsWithCount(){const e=t.name("_valid");const r=t.let("count",0);validateItems(e,(()=>t.if(e,(()=>checkLimits(r)))))}function validateItems(r,n){t.forRange("i",0,d,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:s.Type.Num,compositeRule:true},r);n()}))}function checkLimits(e){t.code((0,n._)`${e}++`);if(u===undefined){t.if((0,n._)`${e} >= ${c}`,(()=>t.assign(p,true).break()))}else{t.if((0,n._)`${e} > ${u}`,(()=>t.assign(p,false).break()));if(c===1)t.assign(p,true);else t.if((0,n._)`${e} >= ${c}`,(()=>t.assign(p,true)))}}}};t["default"]=o},8243:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=r(4109);const s=r(7545);const a=r(6086);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>{const s=t===1?"property":"properties";return(0,n.str)`must have ${s} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:s}})=>(0,n._)`{property: ${e},
|
|
5
|
+
missingProperty: ${s},
|
|
6
|
+
depsCount: ${t},
|
|
7
|
+
deps: ${r}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,r]=splitDependencies(e);validatePropertyDeps(e,t);validateSchemaDeps(e,r)}};function splitDependencies({schema:e}){const t={};const r={};for(const n in e){if(n==="__proto__")continue;const s=Array.isArray(e[n])?t:r;s[n]=e[n]}return[t,r]}function validatePropertyDeps(e,t=e.schema){const{gen:r,data:s,it:o}=e;if(Object.keys(t).length===0)return;const i=r.let("missing");for(const c in t){const u=t[c];if(u.length===0)continue;const l=(0,a.propertyInData)(r,s,c,o.opts.ownProperties);e.setParams({property:c,depsCount:u.length,deps:u.join(", ")});if(o.allErrors){r.if(l,(()=>{for(const t of u){(0,a.checkReportMissingProp)(e,t)}}))}else{r.if((0,n._)`${l} && (${(0,a.checkMissingProp)(e,u,i)})`);(0,a.reportMissingProp)(e,i);r.else()}}}t.validatePropertyDeps=validatePropertyDeps;function validateSchemaDeps(e,t=e.schema){const{gen:r,data:n,keyword:o,it:i}=e;const c=r.name("valid");for(const u in t){if((0,s.alwaysValidSchema)(i,t[u]))continue;r.if((0,a.propertyInData)(r,n,u,i.opts.ownProperties),(()=>{const t=e.subschema({keyword:o,schemaProp:u},c);e.mergeValidEvaluated(t,c)}),(()=>r.var(c,true)));e.ok(c)}}t.validateSchemaDeps=validateSchemaDeps;t["default"]=o},2062:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(7545);const a={message:({params:e})=>(0,n.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,n._)`{failingKeyword: ${e.ifClause}}`};const o={keyword:"if",schemaType:["object","boolean"],trackErrors:true,error:a,code(e){const{gen:t,parentSchema:r,it:a}=e;if(r.then===undefined&&r.else===undefined){(0,s.checkStrictMode)(a,'"if" without "then" and "else" is ignored')}const o=hasSchema(a,"then");const i=hasSchema(a,"else");if(!o&&!i)return;const c=t.let("valid",true);const u=t.name("_valid");validateIf();e.reset();if(o&&i){const r=t.let("ifClause");e.setParams({ifClause:r});t.if(u,validateClause("then",r),validateClause("else",r))}else if(o){t.if(u,validateClause("then"))}else{t.if((0,n.not)(u),validateClause("else"))}e.pass(c,(()=>e.error(true)));function validateIf(){const t=e.subschema({keyword:"if",compositeRule:true,createErrors:false,allErrors:false},u);e.mergeEvaluated(t)}function validateClause(r,s){return()=>{const a=e.subschema({keyword:r},u);t.assign(c,u);e.mergeValidEvaluated(a,c);if(s)t.assign(s,(0,n._)`${r}`);else e.setParams({ifClause:r})}}}};function hasSchema(e,t){const r=e.schema[t];return r!==undefined&&!(0,s.alwaysValidSchema)(e,r)}t["default"]=o},4576:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(8268);const s=r(6282);const a=r(1198);const o=r(4437);const i=r(9251);const c=r(8243);const u=r(7558);const l=r(5506);const f=r(6096);const d=r(4496);const p=r(7676);const m=r(1549);const h=r(4201);const y=r(2962);const g=r(2062);const v=r(6918);function getApplicator(e=false){const t=[p.default,m.default,h.default,y.default,g.default,v.default,u.default,l.default,c.default,f.default,d.default];if(e)t.push(s.default,o.default);else t.push(n.default,a.default);t.push(i.default);return t}t["default"]=getApplicator},1198:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateTuple=void 0;const n=r(4109);const s=r(7545);const a=r(6086);const o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return validateTuple(e,"additionalItems",t);r.items=true;if((0,s.alwaysValidSchema)(r,t))return;e.ok((0,a.validateArray)(e))}};function validateTuple(e,t,r=e.schema){const{gen:a,parentSchema:o,data:i,keyword:c,it:u}=e;checkStrictTuple(o);if(u.opts.unevaluated&&r.length&&u.items!==true){u.items=s.mergeEvaluated.items(a,r.length,u.items)}const l=a.name("valid");const f=a.const("len",(0,n._)`${i}.length`);r.forEach(((t,r)=>{if((0,s.alwaysValidSchema)(u,t))return;a.if((0,n._)`${f} > ${r}`,(()=>e.subschema({keyword:c,schemaProp:r,dataProp:r},l)));e.ok(l)}));function checkStrictTuple(e){const{opts:n,errSchemaPath:a}=u;const o=r.length;const i=o===e.minItems&&(o===e.maxItems||e[t]===false);if(n.strictTuples&&!i){const e=`"${c}" is ${o}-tuple, but minItems or maxItems/${t} are not specified or different at path "${a}"`;(0,s.checkStrictMode)(u,e,n.strictTuples)}}}t.validateTuple=validateTuple;t["default"]=o},4437:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(7545);const a=r(6086);const o=r(8268);const i={message:({params:{len:e}})=>(0,n.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,n._)`{limit: ${e}}`};const c={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:i,code(e){const{schema:t,parentSchema:r,it:n}=e;const{prefixItems:i}=r;n.items=true;if((0,s.alwaysValidSchema)(n,t))return;if(i)(0,o.validateAdditionalItems)(e,i);else e.ok((0,a.validateArray)(e))}};t["default"]=c},7676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7545);const s={keyword:"not",schemaType:["object","boolean"],trackErrors:true,code(e){const{gen:t,schema:r,it:s}=e;if((0,n.alwaysValidSchema)(s,r)){e.fail();return}const a=t.name("valid");e.subschema({keyword:"not",compositeRule:true,createErrors:false,allErrors:false},a);e.failResult(a,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t["default"]=s},4201:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(7545);const a={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,n._)`{passingSchemas: ${e.passing}}`};const o={keyword:"oneOf",schemaType:"array",trackErrors:true,error:a,code(e){const{gen:t,schema:r,parentSchema:a,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(o.opts.discriminator&&a.discriminator)return;const i=r;const c=t.let("valid",false);const u=t.let("passing",null);const l=t.name("_valid");e.setParams({passing:u});t.block(validateOneOf);e.result(c,(()=>e.reset()),(()=>e.error(true)));function validateOneOf(){i.forEach(((r,a)=>{let i;if((0,s.alwaysValidSchema)(o,r)){t.var(l,true)}else{i=e.subschema({keyword:"oneOf",schemaProp:a,compositeRule:true},l)}if(a>0){t.if((0,n._)`${l} && ${c}`).assign(c,false).assign(u,(0,n._)`[${u}, ${a}]`).else()}t.if(l,(()=>{t.assign(c,true);t.assign(u,a);if(i)e.mergeEvaluated(i,n.Name)}))}))}}};t["default"]=o},4496:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const s=r(4109);const a=r(7545);const o=r(7545);const i={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:c,it:u}=e;const{opts:l}=u;const f=(0,n.allSchemaProperties)(r);const d=f.filter((e=>(0,a.alwaysValidSchema)(u,r[e])));if(f.length===0||d.length===f.length&&(!u.opts.unevaluated||u.props===true)){return}const p=l.strictSchema&&!l.allowMatchingProperties&&c.properties;const m=t.name("valid");if(u.props!==true&&!(u.props instanceof s.Name)){u.props=(0,o.evaluatedPropsToName)(t,u.props)}const{props:h}=u;validatePatternProperties();function validatePatternProperties(){for(const e of f){if(p)checkMatchingProperties(e);if(u.allErrors){validateProperties(e)}else{t.var(m,true);validateProperties(e);t.if(m)}}}function checkMatchingProperties(e){for(const t in p){if(new RegExp(e).test(t)){(0,a.checkStrictMode)(u,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}}}function validateProperties(r){t.forIn("key",i,(a=>{t.if((0,s._)`${(0,n.usePattern)(e,r)}.test(${a})`,(()=>{const n=d.includes(r);if(!n){e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:a,dataPropType:o.Type.Str},m)}if(u.opts.unevaluated&&h!==true){t.assign((0,s._)`${h}[${a}]`,true)}else if(!n&&!u.allErrors){t.if((0,s.not)(m),(()=>t.break()))}}))}))}}};t["default"]=i},6282:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1198);const s={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,n.validateTuple)(e,"items")};t["default"]=s},6096:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7357);const s=r(6086);const a=r(7545);const o=r(5506);const i={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:i,data:c,it:u}=e;if(u.opts.removeAdditional==="all"&&i.additionalProperties===undefined){o.default.code(new n.KeywordCxt(u,o.default,"additionalProperties"))}const l=(0,s.allSchemaProperties)(r);for(const e of l){u.definedProperties.add(e)}if(u.opts.unevaluated&&l.length&&u.props!==true){u.props=a.mergeEvaluated.props(t,(0,a.toHash)(l),u.props)}const f=l.filter((e=>!(0,a.alwaysValidSchema)(u,r[e])));if(f.length===0)return;const d=t.name("valid");for(const r of f){if(hasDefault(r)){applyPropertySchema(r)}else{t.if((0,s.propertyInData)(t,c,r,u.opts.ownProperties));applyPropertySchema(r);if(!u.allErrors)t.else().var(d,true);t.endIf()}e.it.definedProperties.add(r);e.ok(d)}function hasDefault(e){return u.opts.useDefaults&&!u.compositeRule&&r[e].default!==undefined}function applyPropertySchema(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},d)}}};t["default"]=i},7558:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(7545);const a={message:"property name must be valid",params:({params:e})=>(0,n._)`{propertyName: ${e.propertyName}}`};const o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:a,code(e){const{gen:t,schema:r,data:a,it:o}=e;if((0,s.alwaysValidSchema)(o,r))return;const i=t.name("valid");t.forIn("key",a,(r=>{e.setParams({propertyName:r});e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:true},i);t.if((0,n.not)(i),(()=>{e.error(true);if(!o.allErrors)t.break()}))}));e.ok(i)}};t["default"]=o},6918:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(7545);const s={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){if(t.if===undefined)(0,n.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};t["default"]=s},6086:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const n=r(4109);const s=r(7545);const a=r(4492);const o=r(7545);function checkReportMissingProp(e,t){const{gen:r,data:s,it:a}=e;r.if(noPropertyInData(r,s,t,a.opts.ownProperties),(()=>{e.setParams({missingProperty:(0,n._)`${t}`},true);e.error()}))}t.checkReportMissingProp=checkReportMissingProp;function checkMissingProp({gen:e,data:t,it:{opts:r}},s,a){return(0,n.or)(...s.map((s=>(0,n.and)(noPropertyInData(e,t,s,r.ownProperties),(0,n._)`${a} = ${s}`))))}t.checkMissingProp=checkMissingProp;function reportMissingProp(e,t){e.setParams({missingProperty:t},true);e.error()}t.reportMissingProp=reportMissingProp;function hasPropFunc(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,n._)`Object.prototype.hasOwnProperty`})}t.hasPropFunc=hasPropFunc;function isOwnProperty(e,t,r){return(0,n._)`${hasPropFunc(e)}.call(${t}, ${r})`}t.isOwnProperty=isOwnProperty;function propertyInData(e,t,r,s){const a=(0,n._)`${t}${(0,n.getProperty)(r)} !== undefined`;return s?(0,n._)`${a} && ${isOwnProperty(e,t,r)}`:a}t.propertyInData=propertyInData;function noPropertyInData(e,t,r,s){const a=(0,n._)`${t}${(0,n.getProperty)(r)} === undefined`;return s?(0,n.or)(a,(0,n.not)(isOwnProperty(e,t,r))):a}t.noPropertyInData=noPropertyInData;function allSchemaProperties(e){return e?Object.keys(e).filter((e=>e!=="__proto__")):[]}t.allSchemaProperties=allSchemaProperties;function schemaProperties(e,t){return allSchemaProperties(t).filter((r=>!(0,s.alwaysValidSchema)(e,t[r])))}t.schemaProperties=schemaProperties;function callValidateCode({schemaCode:e,data:t,it:{gen:r,topSchemaRef:s,schemaPath:o,errorPath:i},it:c},u,l,f){const d=f?(0,n._)`${e}, ${t}, ${s}${o}`:t;const p=[[a.default.instancePath,(0,n.strConcat)(a.default.instancePath,i)],[a.default.parentData,c.parentData],[a.default.parentDataProperty,c.parentDataProperty],[a.default.rootData,a.default.rootData]];if(c.opts.dynamicRef)p.push([a.default.dynamicAnchors,a.default.dynamicAnchors]);const m=(0,n._)`${d}, ${r.object(...p)}`;return l!==n.nil?(0,n._)`${u}.call(${l}, ${m})`:(0,n._)`${u}(${m})`}t.callValidateCode=callValidateCode;const i=(0,n._)`new RegExp`;function usePattern({gen:e,it:{opts:t}},r){const s=t.unicodeRegExp?"u":"";const{regExp:a}=t.code;const c=a(r,s);return e.scopeValue("pattern",{key:c.toString(),ref:c,code:(0,n._)`${a.code==="new RegExp"?i:(0,o.useFunc)(e,a)}(${r}, ${s})`})}t.usePattern=usePattern;function validateArray(e){const{gen:t,data:r,keyword:a,it:o}=e;const i=t.name("valid");if(o.allErrors){const e=t.let("valid",true);validateItems((()=>t.assign(e,false)));return e}t.var(i,true);validateItems((()=>t.break()));return i;function validateItems(o){const c=t.const("len",(0,n._)`${r}.length`);t.forRange("i",0,c,(r=>{e.subschema({keyword:a,dataProp:r,dataPropType:s.Type.Num},i);t.if((0,n.not)(i),o)}))}}t.validateArray=validateArray;function validateUnion(e){const{gen:t,schema:r,keyword:a,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const i=r.some((e=>(0,s.alwaysValidSchema)(o,e)));if(i&&!o.opts.unevaluated)return;const c=t.let("valid",false);const u=t.name("_valid");t.block((()=>r.forEach(((r,s)=>{const o=e.subschema({keyword:a,schemaProp:s,compositeRule:true},u);t.assign(c,(0,n._)`${c} || ${u}`);const i=e.mergeValidEvaluated(o,u);if(!i)t.if((0,n.not)(c))}))));e.result(c,(()=>e.reset()),(()=>e.error(true)))}t.validateUnion=validateUnion},8795:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});const r={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t["default"]=r},9827:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(8795);const s=r(9873);const a=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",n.default,s.default];t["default"]=a},9873:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.callRef=t.getValidate=void 0;const n=r(9984);const s=r(6086);const a=r(4109);const o=r(4492);const i=r(960);const c=r(7545);const u={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:s}=e;const{baseId:o,schemaEnv:c,validateName:u,opts:l,self:f}=s;const{root:d}=c;if((r==="#"||r==="#/")&&o===d.baseId)return callRootRef();const p=i.resolveRef.call(f,d,o,r);if(p===undefined)throw new n.default(s.opts.uriResolver,o,r);if(p instanceof i.SchemaEnv)return callValidate(p);return inlineRefSchema(p);function callRootRef(){if(c===d)return callRef(e,u,c,c.$async);const r=t.scopeValue("root",{ref:d});return callRef(e,(0,a._)`${r}.validate`,d,d.$async)}function callValidate(t){const r=getValidate(e,t);callRef(e,r,t,t.$async)}function inlineRefSchema(n){const s=t.scopeValue("schema",l.code.source===true?{ref:n,code:(0,a.stringify)(n)}:{ref:n});const o=t.name("valid");const i=e.subschema({schema:n,dataTypes:[],schemaPath:a.nil,topSchemaRef:s,errSchemaPath:r},o);e.mergeEvaluated(i);e.ok(o)}}};function getValidate(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,a._)`${r.scopeValue("wrapper",{ref:t})}.validate`}t.getValidate=getValidate;function callRef(e,t,r,n){const{gen:i,it:u}=e;const{allErrors:l,schemaEnv:f,opts:d}=u;const p=d.passContext?o.default.this:a.nil;if(n)callAsyncRef();else callSyncRef();function callAsyncRef(){if(!f.$async)throw new Error("async schema referenced by sync schema");const r=i.let("valid");i.try((()=>{i.code((0,a._)`await ${(0,s.callValidateCode)(e,t,p)}`);addEvaluatedFrom(t);if(!l)i.assign(r,true)}),(e=>{i.if((0,a._)`!(${e} instanceof ${u.ValidationError})`,(()=>i.throw(e)));addErrorsFrom(e);if(!l)i.assign(r,false)}));e.ok(r)}function callSyncRef(){e.result((0,s.callValidateCode)(e,t,p),(()=>addEvaluatedFrom(t)),(()=>addErrorsFrom(t)))}function addErrorsFrom(e){const t=(0,a._)`${e}.errors`;i.assign(o.default.vErrors,(0,a._)`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`);i.assign(o.default.errors,(0,a._)`${o.default.vErrors}.length`)}function addEvaluatedFrom(e){var t;if(!u.opts.unevaluated)return;const n=(t=r===null||r===void 0?void 0:r.validate)===null||t===void 0?void 0:t.evaluated;if(u.props!==true){if(n&&!n.dynamicProps){if(n.props!==undefined){u.props=c.mergeEvaluated.props(i,n.props,u.props)}}else{const t=i.var("props",(0,a._)`${e}.evaluated.props`);u.props=c.mergeEvaluated.props(i,t,u.props,a.Name)}}if(u.items!==true){if(n&&!n.dynamicItems){if(n.items!==undefined){u.items=c.mergeEvaluated.items(i,n.items,u.items)}}else{const t=i.var("items",(0,a._)`${e}.evaluated.items`);u.items=c.mergeEvaluated.items(i,t,u.items,a.Name)}}}}t.callRef=callRef;t["default"]=u},8222:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(3547);const a=r(960);const o=r(7545);const i={message:({params:{discrError:e,tagName:t}})=>e===s.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,n._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`};const c={keyword:"discriminator",type:"object",schemaType:"object",error:i,code(e){const{gen:t,data:r,schema:i,parentSchema:c,it:u}=e;const{oneOf:l}=c;if(!u.opts.discriminator){throw new Error("discriminator: requires discriminator option")}const f=i.propertyName;if(typeof f!="string")throw new Error("discriminator: requires propertyName");if(i.mapping)throw new Error("discriminator: mapping is not supported");if(!l)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",false);const p=t.const("tag",(0,n._)`${r}${(0,n.getProperty)(f)}`);t.if((0,n._)`typeof ${p} == "string"`,(()=>validateMapping()),(()=>e.error(false,{discrError:s.DiscrError.Tag,tag:p,tagName:f})));e.ok(d);function validateMapping(){const r=getMapping();t.if(false);for(const e in r){t.elseIf((0,n._)`${p} === ${e}`);t.assign(d,applyTagSchema(r[e]))}t.else();e.error(false,{discrError:s.DiscrError.Mapping,tag:p,tagName:f});t.endIf()}function applyTagSchema(r){const s=t.name("valid");const a=e.subschema({keyword:"oneOf",schemaProp:r},s);e.mergeEvaluated(a,n.Name);return s}function getMapping(){var e;const t={};const r=hasRequired(c);let n=true;for(let t=0;t<l.length;t++){let s=l[t];if((s===null||s===void 0?void 0:s.$ref)&&!(0,o.schemaHasRulesButRef)(s,u.self.RULES)){s=a.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,s===null||s===void 0?void 0:s.$ref);if(s instanceof a.SchemaEnv)s=s.schema}const i=(e=s===null||s===void 0?void 0:s.properties)===null||e===void 0?void 0:e[f];if(typeof i!="object"){throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`)}n=n&&(r||hasRequired(s));addMappings(i,t)}if(!n)throw new Error(`discriminator: "${f}" must be required`);return t;function hasRequired({required:e}){return Array.isArray(e)&&e.includes(f)}function addMappings(e,t){if(e.const){addMapping(e.const,t)}else if(e.enum){for(const r of e.enum){addMapping(r,t)}}else{throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`)}}function addMapping(e,r){if(typeof e!="string"||e in t){throw new Error(`discriminator: "${f}" values must be unique strings`)}t[e]=r}}}};t["default"]=c},3547:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DiscrError=void 0;var r;(function(e){e["Tag"]="tag";e["Mapping"]="mapping"})(r=t.DiscrError||(t.DiscrError={}))},8056:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9827);const s=r(4463);const a=r(4576);const o=r(7596);const i=r(1654);const c=[n.default,s.default,(0,a.default)(),o.default,i.metadataVocabulary,i.contentVocabulary];t["default"]=c},3875:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s={message:({schemaCode:e})=>(0,n.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,n._)`{format: ${e}}`};const a={keyword:"format",type:["number","string"],schemaType:"string",$data:true,error:s,code(e,t){const{gen:r,data:s,$data:a,schema:o,schemaCode:i,it:c}=e;const{opts:u,errSchemaPath:l,schemaEnv:f,self:d}=c;if(!u.validateFormats)return;if(a)validate$DataFormat();else validateFormat();function validate$DataFormat(){const a=r.scopeValue("formats",{ref:d.formats,code:u.code.formats});const o=r.const("fDef",(0,n._)`${a}[${i}]`);const c=r.let("fType");const l=r.let("format");r.if((0,n._)`typeof ${o} == "object" && !(${o} instanceof RegExp)`,(()=>r.assign(c,(0,n._)`${o}.type || "string"`).assign(l,(0,n._)`${o}.validate`)),(()=>r.assign(c,(0,n._)`"string"`).assign(l,o)));e.fail$data((0,n.or)(unknownFmt(),invalidFmt()));function unknownFmt(){if(u.strictSchema===false)return n.nil;return(0,n._)`${i} && !${l}`}function invalidFmt(){const e=f.$async?(0,n._)`(${o}.async ? await ${l}(${s}) : ${l}(${s}))`:(0,n._)`${l}(${s})`;const r=(0,n._)`(typeof ${l} == "function" ? ${e} : ${l}.test(${s}))`;return(0,n._)`${l} && ${l} !== true && ${c} === ${t} && !${r}`}}function validateFormat(){const a=d.formats[o];if(!a){unknownFormat();return}if(a===true)return;const[i,c,p]=getFormat(a);if(i===t)e.pass(validCondition());function unknownFormat(){if(u.strictSchema===false){d.logger.warn(unknownMsg());return}throw new Error(unknownMsg());function unknownMsg(){return`unknown format "${o}" ignored in schema at path "${l}"`}}function getFormat(e){const t=e instanceof RegExp?(0,n.regexpCode)(e):u.code.formats?(0,n._)`${u.code.formats}${(0,n.getProperty)(o)}`:undefined;const s=r.scopeValue("formats",{key:o,ref:e,code:t});if(typeof e=="object"&&!(e instanceof RegExp)){return[e.type||"string",e.validate,(0,n._)`${s}.validate`]}return["string",e,s]}function validCondition(){if(typeof a=="object"&&!(a instanceof RegExp)&&a.async){if(!f.$async)throw new Error("async format in sync schema");return(0,n._)`await ${p}(${s})`}return typeof c=="function"?(0,n._)`${p}(${s})`:(0,n._)`${p}.test(${s})`}}}};t["default"]=a},7596:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3875);const s=[n.default];t["default"]=s},1654:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.contentVocabulary=t.metadataVocabulary=void 0;t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},3838:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(7545);const a=r(9987);const o={message:"must be equal to constant",params:({schemaCode:e})=>(0,n._)`{allowedValue: ${e}}`};const i={keyword:"const",$data:true,error:o,code(e){const{gen:t,data:r,$data:o,schemaCode:i,schema:c}=e;if(o||c&&typeof c=="object"){e.fail$data((0,n._)`!${(0,s.useFunc)(t,a.default)}(${r}, ${i})`)}else{e.fail((0,n._)`${c} !== ${r}`)}}};t["default"]=i},6923:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(7545);const a=r(9987);const o={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,n._)`{allowedValues: ${e}}`};const i={keyword:"enum",schemaType:"array",$data:true,error:o,code(e){const{gen:t,data:r,$data:o,schema:i,schemaCode:c,it:u}=e;if(!o&&i.length===0)throw new Error("enum must have non-empty array");const l=i.length>=u.opts.loopEnum;let f;const getEql=()=>f!==null&&f!==void 0?f:f=(0,s.useFunc)(t,a.default);let d;if(l||o){d=t.let("valid");e.block$data(d,loopEnum)}else{if(!Array.isArray(i))throw new Error("ajv implementation error");const e=t.const("vSchema",c);d=(0,n.or)(...i.map(((t,r)=>equalCode(e,r))))}e.pass(d);function loopEnum(){t.assign(d,false);t.forOf("v",c,(e=>t.if((0,n._)`${getEql()}(${r}, ${e})`,(()=>t.assign(d,true).break()))))}function equalCode(e,t){const s=i[t];return typeof s==="object"&&s!==null?(0,n._)`${getEql()}(${r}, ${e}[${t}])`:(0,n._)`${r} === ${s}`}}};t["default"]=i},4463:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6974);const s=r(873);const a=r(5534);const o=r(6880);const i=r(490);const c=r(1022);const u=r(3480);const l=r(4214);const f=r(3838);const d=r(6923);const p=[n.default,s.default,a.default,o.default,i.default,c.default,u.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},f.default,d.default];t["default"]=p},3480:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,n.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,n._)`{limit: ${e}}`};const a={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:true,error:s,code(e){const{keyword:t,data:r,schemaCode:s}=e;const a=t==="maxItems"?n.operators.GT:n.operators.LT;e.fail$data((0,n._)`${r}.length ${a} ${s}`)}};t["default"]=a},5534:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=r(7545);const a=r(4624);const o={message({keyword:e,schemaCode:t}){const r=e==="maxLength"?"more":"fewer";return(0,n.str)`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>(0,n._)`{limit: ${e}}`};const i={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:true,error:o,code(e){const{keyword:t,data:r,schemaCode:o,it:i}=e;const c=t==="maxLength"?n.operators.GT:n.operators.LT;const u=i.opts.unicode===false?(0,n._)`${r}.length`:(0,n._)`${(0,s.useFunc)(e.gen,a.default)}(${r})`;e.fail$data((0,n._)`${u} ${c} ${o}`)}};t["default"]=i},6974:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s=n.operators;const a={maximum:{okStr:"<=",ok:s.LTE,fail:s.GT},minimum:{okStr:">=",ok:s.GTE,fail:s.LT},exclusiveMaximum:{okStr:"<",ok:s.LT,fail:s.GTE},exclusiveMinimum:{okStr:">",ok:s.GT,fail:s.LTE}};const o={message:({keyword:e,schemaCode:t})=>(0,n.str)`must be ${a[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,n._)`{comparison: ${a[e].okStr}, limit: ${t}}`};const i={keyword:Object.keys(a),type:"number",schemaType:"number",$data:true,error:o,code(e){const{keyword:t,data:r,schemaCode:s}=e;e.fail$data((0,n._)`${r} ${a[t].fail} ${s} || isNaN(${r})`)}};t["default"]=i},490:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,n.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,n._)`{limit: ${e}}`};const a={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:true,error:s,code(e){const{keyword:t,data:r,schemaCode:s}=e;const a=t==="maxProperties"?n.operators.GT:n.operators.LT;e.fail$data((0,n._)`Object.keys(${r}).length ${a} ${s}`)}};t["default"]=a},873:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(4109);const s={message:({schemaCode:e})=>(0,n.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,n._)`{multipleOf: ${e}}`};const a={keyword:"multipleOf",type:"number",schemaType:"number",$data:true,error:s,code(e){const{gen:t,data:r,schemaCode:s,it:a}=e;const o=a.opts.multipleOfPrecision;const i=t.let("res");const c=o?(0,n._)`Math.abs(Math.round(${i}) - ${i}) > 1e-${o}`:(0,n._)`${i} !== parseInt(${i})`;e.fail$data((0,n._)`(${s} === 0 || (${i} = ${r}/${s}, ${c}))`)}};t["default"]=a},6880:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const s=r(4109);const a={message:({schemaCode:e})=>(0,s.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,s._)`{pattern: ${e}}`};const o={keyword:"pattern",type:"string",schemaType:"string",$data:true,error:a,code(e){const{data:t,$data:r,schema:a,schemaCode:o,it:i}=e;const c=i.opts.unicodeRegExp?"u":"";const u=r?(0,s._)`(new RegExp(${o}, ${c}))`:(0,n.usePattern)(e,a);e.fail$data((0,s._)`!${u}.test(${t})`)}};t["default"]=o},1022:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(6086);const s=r(4109);const a=r(7545);const o={message:({params:{missingProperty:e}})=>(0,s.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,s._)`{missingProperty: ${e}}`};const i={keyword:"required",type:"object",schemaType:"array",$data:true,error:o,code(e){const{gen:t,schema:r,schemaCode:o,data:i,$data:c,it:u}=e;const{opts:l}=u;if(!c&&r.length===0)return;const f=r.length>=l.loopRequired;if(u.allErrors)allErrorsMode();else exitOnErrorMode();if(l.strictRequired){const t=e.parentSchema.properties;const{definedProperties:n}=e.it;for(const e of r){if((t===null||t===void 0?void 0:t[e])===undefined&&!n.has(e)){const t=u.schemaEnv.baseId+u.errSchemaPath;const r=`required property "${e}" is not defined at "${t}" (strictRequired)`;(0,a.checkStrictMode)(u,r,u.opts.strictRequired)}}}function allErrorsMode(){if(f||c){e.block$data(s.nil,loopAllRequired)}else{for(const t of r){(0,n.checkReportMissingProp)(e,t)}}}function exitOnErrorMode(){const s=t.let("missing");if(f||c){const r=t.let("valid",true);e.block$data(r,(()=>loopUntilMissing(s,r)));e.ok(r)}else{t.if((0,n.checkMissingProp)(e,r,s));(0,n.reportMissingProp)(e,s);t.else()}}function loopAllRequired(){t.forOf("prop",o,(r=>{e.setParams({missingProperty:r});t.if((0,n.noPropertyInData)(t,i,r,l.ownProperties),(()=>e.error()))}))}function loopUntilMissing(r,a){e.setParams({missingProperty:r});t.forOf(r,o,(()=>{t.assign(a,(0,n.propertyInData)(t,i,r,l.ownProperties));t.if((0,s.not)(a),(()=>{e.error();t.break()}))}),s.nil)}}};t["default"]=i},4214:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3967);const s=r(4109);const a=r(7545);const o=r(9987);const i={message:({params:{i:e,j:t}})=>(0,s.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,s._)`{i: ${e}, j: ${t}}`};const c={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:true,error:i,code(e){const{gen:t,data:r,$data:i,schema:c,parentSchema:u,schemaCode:l,it:f}=e;if(!i&&!c)return;const d=t.let("valid");const p=u.items?(0,n.getSchemaTypes)(u.items):[];e.block$data(d,validateUniqueItems,(0,s._)`${l} === false`);e.ok(d);function validateUniqueItems(){const n=t.let("i",(0,s._)`${r}.length`);const a=t.let("j");e.setParams({i:n,j:a});t.assign(d,true);t.if((0,s._)`${n} > 1`,(()=>(canOptimize()?loopN:loopN2)(n,a)))}function canOptimize(){return p.length>0&&!p.some((e=>e==="object"||e==="array"))}function loopN(a,o){const i=t.name("item");const c=(0,n.checkDataTypes)(p,i,f.opts.strictNumbers,n.DataType.Wrong);const u=t.const("indices",(0,s._)`{}`);t.for((0,s._)`;${a}--;`,(()=>{t.let(i,(0,s._)`${r}[${a}]`);t.if(c,(0,s._)`continue`);if(p.length>1)t.if((0,s._)`typeof ${i} == "string"`,(0,s._)`${i} += "_"`);t.if((0,s._)`typeof ${u}[${i}] == "number"`,(()=>{t.assign(o,(0,s._)`${u}[${i}]`);e.error();t.assign(d,false).break()})).code((0,s._)`${u}[${i}] = ${a}`)}))}function loopN2(n,i){const c=(0,a.useFunc)(t,o.default);const u=t.name("outer");t.label(u).for((0,s._)`;${n}--;`,(()=>t.for((0,s._)`${i} = ${n}; ${i}--;`,(()=>t.if((0,s._)`${c}(${r}[${n}], ${r}[${i}])`,(()=>{e.error();t.assign(d,false).break(u)}))))))}}};t["default"]=c},6125:function(e){"use strict";const t=/^[^:]+: /;const format=e=>{if(e instanceof SyntaxError){e.name="SyntaxError";e.message=e.message.replace(t,"");e.hideStack=true}else if(e instanceof TypeError){e.name=null;e.message=e.message.replace(t,"");e.hideStack=true}return e};class LoaderError extends Error{constructor(e){super();const{name:t,message:r,codeFrame:n,hideStack:s}=format(e);this.name="BabelLoaderError";this.message=`${t?`${t}: `:""}${r}\n\n${n}\n`;this.hideStack=s;Error.captureStackTrace(this,this.constructor)}}e.exports=LoaderError},2897:function(e,t,r){"use strict";const n=r(2037);const s=r(1017);const a=r(9796);const o=r(6113);const i=r(4954);const{promisify:c}=r(3837);const{readFile:u,writeFile:l,mkdir:f}=r(3292);const d=r(8524);let p=null;let m="sha256";try{o.createHash(m)}catch(e){m="md5"}const h=c(a.gunzip);const y=c(a.gzip);const read=async function(e,t){const r=await u(e+(t?".gz":""));const n=t?await h(r):r;return JSON.parse(n.toString())};const write=async function(e,t,r){const n=JSON.stringify(r);const s=t?await y(n):n;return await l(e+(t?".gz":""),s)};const filename=function(e,t,r){const n=o.createHash(m);const s=JSON.stringify({source:e,options:r,identifier:t});n.update(s);return n.digest("hex")+".json"};const handleCache=async function(e,t){const{source:r,options:a={},cacheIdentifier:o,cacheDirectory:i,cacheCompression:c}=t;const u=s.join(e,filename(r,o,a));try{return await read(u,c)}catch(e){}const l=typeof i!=="string"&&e!==n.tmpdir();try{await f(e,{recursive:true})}catch(e){if(l){return handleCache(n.tmpdir(),t)}throw e}const p=await d(r,a);if(!p.externalDependencies.length){try{await write(u,c,p)}catch(e){if(l){return handleCache(n.tmpdir(),t)}throw e}}return p};e.exports=async function(e){let t;if(typeof e.cacheDirectory==="string"){t=e.cacheDirectory}else{if(p===null){p=i({name:"babel-loader"})||n.tmpdir()}t=p}return await handleCache(t,e)}},9344:function(e,t,r){"use strict";let n;try{n=r(7117)}catch(e){if(e.code==="MODULE_NOT_FOUND"){e.message+="\n babel-loader@9 requires Babel 7.12+ (the package '@babel/core'). "+"If you'd like to use Babel 6.x ('babel-core'), you should install 'babel-loader@7'."}throw e}if(/^6\./.test(n.version)){throw new Error("\n babel-loader@9 will not work with the '@babel/core@6' bridge package. "+"If you want to use Babel 6.x, install 'babel-loader@7'.")}const{version:s}=r(2096);const a=r(2897);const o=r(8524);const i=r(9654);const c=r(5751);const{isAbsolute:u}=r(1017);const l=r(9048).validate;function subscribe(e,t,r){if(r[e]){r[e](t)}}e.exports=makeLoader();e.exports.custom=makeLoader;function makeLoader(e){const t=e?e(n):undefined;return function(e,r){const n=this.async();loader.call(this,e,r,t).then((e=>n(null,...e)),(e=>n(e)))}}async function loader(e,t,r){const f=this.resourcePath;let d=this.getOptions();l(c,d,{name:"Babel loader"});if(d.customize!=null){if(typeof d.customize!=="string"){throw new Error("Customized loaders must be implemented as standalone modules.")}if(!u(d.customize)){throw new Error("Customized loaders must be passed as absolute paths, since "+"babel-loader has no way to know what they would be relative to.")}if(r){throw new Error("babel-loader's 'customize' option is not available when already "+"using a customized babel-loader wrapper.")}let e=require(d.customize);if(e.__esModule)e=e.default;if(typeof e!=="function"){throw new Error("Custom overrides must be functions.")}r=e(n)}let p;if(r&&r.customOptions){const n=await r.customOptions.call(this,d,{source:e,map:t});p=n.custom;d=n.loader}if("forceEnv"in d){console.warn("The option `forceEnv` has been removed in favor of `envName` in Babel 7.")}if(typeof d.babelrc==="string"){console.warn("The option `babelrc` should not be set to a string anymore in the babel-loader config. "+"Please update your configuration and set `babelrc` to true or false.\n"+"If you want to specify a specific babel config file to inherit config from "+"please use the `extends` option.\nFor more information about this options see "+"https://babeljs.io/docs/core-packages/#options")}if(Object.prototype.hasOwnProperty.call(d,"sourceMap")&&!Object.prototype.hasOwnProperty.call(d,"sourceMaps")){d=Object.assign({},d,{sourceMaps:d.sourceMap});delete d.sourceMap}const m=Object.assign({},d,{filename:f,inputSourceMap:t||d.inputSourceMap,sourceMaps:d.sourceMaps===undefined?this.sourceMap:d.sourceMaps,sourceFileName:f});delete m.customize;delete m.cacheDirectory;delete m.cacheIdentifier;delete m.cacheCompression;delete m.metadataSubscribers;const h=await n.loadPartialConfigAsync(i(m,this.target));if(h){let n=h.options;if(r&&r.config){n=await r.config.call(this,h,{source:e,map:t,customOptions:p})}if(n.sourceMaps==="inline"){n.sourceMaps=true}const{cacheDirectory:i=null,cacheIdentifier:c=JSON.stringify({options:n,"@babel/core":o.version,"@babel/loader":s}),cacheCompression:u=true,metadataSubscribers:l=[]}=d;let f;if(i){f=await a({source:e,options:n,transform:o,cacheDirectory:i,cacheIdentifier:c,cacheCompression:u})}else{f=await o(e,n)}h.files.forEach((e=>this.addDependency(e)));if(f){if(r&&r.result){f=await r.result.call(this,f,{source:e,map:t,customOptions:p,config:h,options:n})}const{code:s,map:a,metadata:o,externalDependencies:i}=f;i==null?void 0:i.forEach((e=>this.addDependency(e)));l.forEach((e=>{subscribe(e,o,this)}));return[s,a]}}return[e,t]}},9654:function(e,t,r){"use strict";const n=r(7117);e.exports=function injectCaller(e,t){if(!supportsCallerOption())return e;return Object.assign({},e,{caller:Object.assign({name:"babel-loader",target:t,supportsStaticESM:true,supportsDynamicImport:true,supportsTopLevelAwait:true},e.caller)})};let s=undefined;function supportsCallerOption(){if(s===undefined){try{n.loadPartialConfig({caller:undefined,babelrc:false,configFile:false});s=true}catch(e){s=false}}return s}},8524:function(e,t,r){"use strict";const n=r(7117);const{promisify:s}=r(3837);const a=r(6125);const o=s(n.transform);e.exports=async function(e,t){let r;try{r=await o(e,t)}catch(e){throw e.message&&e.codeFrame?new a(e):e}if(!r)return null;const{ast:n,code:s,map:i,metadata:c,sourceType:u,externalDependencies:l}=r;if(i&&(!i.sourcesContent||!i.sourcesContent.length)){i.sourcesContent=[e]}return{ast:n,code:s,map:i,metadata:c,sourceType:u,externalDependencies:Array.from(l||[])}};e.exports.version=n.version},3849:function(e,t,r){var n=r(1017);e.exports=function(e,t){if(t){var r=t.map((function(t){return n.resolve(e,t)}))}else{var r=e}var s=r.slice(1).reduce((function(e,t){if(!t.match(/^([A-Za-z]:)?\/|\\/)){throw new Error("relative path without a basedir")}var r=t.split(/\/+|\\+/);for(var n=0;e[n]===r[n]&&n<Math.min(e.length,r.length);n++);return e.slice(0,n)}),r[0].split(/\/+|\\+/));return s.length>1?s.join("/"):"/"}},7447:function(e){"use strict";e.exports=function equal(e,t){if(e===t)return true;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return false;var r,n,s;if(Array.isArray(e)){r=e.length;if(r!=t.length)return false;for(n=r;n--!==0;)if(!equal(e[n],t[n]))return false;return true}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();s=Object.keys(e);r=s.length;if(r!==Object.keys(t).length)return false;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[n]))return false;for(n=r;n--!==0;){var a=s[n];if(!equal(e[a],t[a]))return false}return true}return e!==e&&t!==t}},4954:function(e,t,r){"use strict";const n=r(1017);const s=r(7147);const a=r(3849);const o=r(369);const i=r(8465);const{env:c,cwd:u}=process;const isWritable=e=>{try{s.accessSync(e,s.constants.W_OK);return true}catch(e){return false}};function useDirectory(e,t){if(t.create){i.sync(e)}if(t.thunk){return(...t)=>n.join(e,...t)}return e}function getNodeModuleDirectory(e){const t=n.join(e,"node_modules");if(!isWritable(t)&&(s.existsSync(t)||!isWritable(n.join(e)))){return}return t}e.exports=(e={})=>{if(c.CACHE_DIR&&!["true","false","1","0"].includes(c.CACHE_DIR)){return useDirectory(n.join(c.CACHE_DIR,e.name),e)}let{cwd:t=u()}=e;if(e.files){t=a(t,e.files)}t=o.sync(t);if(!t){return}const r=getNodeModuleDirectory(t);if(!r){return undefined}return useDirectory(n.join(t,"node_modules",".cache",e.name),e)}},4320:function(e,t,r){"use strict";const n=r(1017);const s=r(3627);const a=r(3896);const o=Symbol("findUp.stop");e.exports=async(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:a}=n.parse(r);const i=[].concat(e);const runMatcher=async t=>{if(typeof e!=="function"){return s(i,t)}const r=await e(t.cwd);if(typeof r==="string"){return s([r],t)}return r};while(true){const e=await runMatcher({...t,cwd:r});if(e===o){return}if(e){return n.resolve(r,e)}if(r===a){return}r=n.dirname(r)}};e.exports.sync=(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:a}=n.parse(r);const i=[].concat(e);const runMatcher=t=>{if(typeof e!=="function"){return s.sync(i,t)}const r=e(t.cwd);if(typeof r==="string"){return s.sync([r],t)}return r};while(true){const e=runMatcher({...t,cwd:r});if(e===o){return}if(e){return n.resolve(r,e)}if(r===a){return}r=n.dirname(r)}};e.exports.exists=a;e.exports.sync.exists=a.sync;e.exports.stop=o},7243:function(e){"use strict";var t=e.exports=function(e,t,r){if(typeof t=="function"){r=t;t={}}r=t.cb||r;var n=typeof r=="function"?r:r.pre||function(){};var s=r.post||function(){};_traverse(t,n,s,e,"",e)};t.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true,if:true,then:true,else:true};t.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};t.propsKeywords={$defs:true,definitions:true,properties:true,patternProperties:true,dependencies:true};t.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,r,n,s,a,o,i,c,u,l){if(s&&typeof s=="object"&&!Array.isArray(s)){r(s,a,o,i,c,u,l);for(var f in s){var d=s[f];if(Array.isArray(d)){if(f in t.arrayKeywords){for(var p=0;p<d.length;p++)_traverse(e,r,n,d[p],a+"/"+f+"/"+p,o,a,f,s,p)}}else if(f in t.propsKeywords){if(d&&typeof d=="object"){for(var m in d)_traverse(e,r,n,d[m],a+"/"+f+"/"+escapeJsonPtr(m),o,a,f,s,m)}}else if(f in t.keywords||e.allKeys&&!(f in t.skipKeywords)){_traverse(e,r,n,d,a+"/"+f,o,a,f,s)}}n(s,a,o,i,c,u,l)}}function escapeJsonPtr(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}},3627:function(e,t,r){"use strict";const n=r(1017);const s=r(7147);const{promisify:a}=r(3837);const o=r(5696);const i=a(s.stat);const c=a(s.lstat);const u={directory:"isDirectory",file:"isFile"};function checkType({type:e}){if(e in u){return}throw new Error(`Invalid type specified: ${e}`)}const matchType=(e,t)=>e===undefined||t[u[e]]();e.exports=async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:true,...t};checkType(t);const r=t.allowSymlinks?i:c;return o(e,(async e=>{try{const s=await r(n.resolve(t.cwd,e));return matchType(t.type,s)}catch(e){return false}}),t)};e.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:true,type:"file",...t};checkType(t);const r=t.allowSymlinks?s.statSync:s.lstatSync;for(const s of e){try{const e=r(n.resolve(t.cwd,s));if(matchType(t.type,e)){return s}}catch(e){}}}},8465:function(e,t,r){"use strict";const n=r(7147);const s=r(1017);const{promisify:a}=r(3837);const o=r(8999);const i=o.satisfies(process.version,">=10.12.0");const checkPath=e=>{if(process.platform==="win32"){const t=/[<>:"|?*]/.test(e.replace(s.parse(e).root,""));if(t){const t=new Error(`Path contains invalid characters: ${e}`);t.code="EINVAL";throw t}}};const processOptions=e=>{const t={mode:511,fs:n};return{...t,...e}};const permissionError=e=>{const t=new Error(`operation not permitted, mkdir '${e}'`);t.code="EPERM";t.errno=-4048;t.path=e;t.syscall="mkdir";return t};const makeDir=async(e,t)=>{checkPath(e);t=processOptions(t);const r=a(t.fs.mkdir);const o=a(t.fs.stat);if(i&&t.fs.mkdir===n.mkdir){const n=s.resolve(e);await r(n,{mode:t.mode,recursive:true});return n}const make=async e=>{try{await r(e,t.mode);return e}catch(t){if(t.code==="EPERM"){throw t}if(t.code==="ENOENT"){if(s.dirname(e)===e){throw permissionError(e)}if(t.message.includes("null bytes")){throw t}await make(s.dirname(e));return make(e)}try{const t=await o(e);if(!t.isDirectory()){throw new Error("The path is not a directory")}}catch(e){throw t}return e}};return make(s.resolve(e))};e.exports=makeDir;e.exports.sync=(e,t)=>{checkPath(e);t=processOptions(t);if(i&&t.fs.mkdirSync===n.mkdirSync){const r=s.resolve(e);n.mkdirSync(r,{mode:t.mode,recursive:true});return r}const make=e=>{try{t.fs.mkdirSync(e,t.mode)}catch(r){if(r.code==="EPERM"){throw r}if(r.code==="ENOENT"){if(s.dirname(e)===e){throw permissionError(e)}if(r.message.includes("null bytes")){throw r}make(s.dirname(e));return make(e)}try{if(!t.fs.statSync(e).isDirectory()){throw new Error("The path is not a directory")}}catch(e){throw r}}return e};return make(s.resolve(e))}},6848:function(e,t,r){"use strict";const n=r(7242);const pLimit=e=>{if(!((Number.isInteger(e)||e===Infinity)&&e>0)){return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"))}const t=[];let r=0;const next=()=>{r--;if(t.length>0){t.shift()()}};const run=(e,t,...s)=>{r++;const a=n(e,...s);t(a);a.then(next,next)};const enqueue=(n,s,...a)=>{if(r<e){run(n,s,...a)}else{t.push(run.bind(null,n,s,...a))}};const generator=(e,...t)=>new Promise((r=>enqueue(e,r,...t)));Object.defineProperties(generator,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}});return generator};e.exports=pLimit;e.exports["default"]=pLimit},5696:function(e,t,r){"use strict";const n=r(6848);class EndError extends Error{constructor(e){super();this.value=e}}const testElement=async(e,t)=>t(await e);const finder=async e=>{const t=await Promise.all(e);if(t[1]===true){throw new EndError(t[0])}return false};const pLocate=async(e,t,r)=>{r={concurrency:Infinity,preserveOrder:true,...r};const s=n(r.concurrency);const a=[...e].map((e=>[e,s(testElement,e,t)]));const o=n(r.preserveOrder?1:Infinity);try{await Promise.all(a.map((e=>o(finder,e))))}catch(e){if(e instanceof EndError){return e.value}throw e}};e.exports=pLocate;e.exports["default"]=pLocate},7242:function(e){"use strict";const pTry=(e,...t)=>new Promise((r=>{r(e(...t))}));e.exports=pTry;e.exports["default"]=pTry},3896:function(e,t,r){"use strict";const n=r(7147);const{promisify:s}=r(3837);const a=s(n.access);e.exports=async e=>{try{await a(e);return true}catch(e){return false}};e.exports.sync=e=>{try{n.accessSync(e);return true}catch(e){return false}}},369:function(e,t,r){"use strict";const n=r(1017);const s=r(4320);const pkgDir=async e=>{const t=await s("package.json",{cwd:e});return t&&n.dirname(t)};e.exports=pkgDir;e.exports["default"]=pkgDir;e.exports.sync=e=>{const t=s.sync("package.json",{cwd:e});return t&&n.dirname(t)}},1983:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;const{stringHints:n,numberHints:s}=r(1605);const a={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function isNumeric(e){return/^-?\d+$/.test(e)}function filterMax(e,t){const r=e.reduce(((e,r)=>Math.max(e,t(r))),0);return e.filter((e=>t(e)===r))}function filterChildren(e){let t=e;t=filterMax(t,(e=>e.instancePath?e.instancePath.length:0));t=filterMax(t,(e=>a[e.keyword]||2));return t}function findAllChildren(e,t){let r=e.length-1;const predicate=t=>e[r].schemaPath.indexOf(t)!==0;while(r>-1&&!t.every(predicate)){if(e[r].keyword==="anyOf"||e[r].keyword==="oneOf"){const t=extractRefs(e[r]);const n=findAllChildren(e.slice(0,r),t.concat(e[r].schemaPath));r=n-1}else{r-=1}}return r+1}function extractRefs(e){const{schema:t}=e;if(!Array.isArray(t)){return[]}return t.map((({$ref:e})=>e)).filter((e=>e))}function groupChildrenByFirstChild(e){const t=[];let r=e.length-1;while(r>0){const n=e[r];if(n.keyword==="anyOf"||n.keyword==="oneOf"){const s=extractRefs(n);const a=findAllChildren(e.slice(0,r),s.concat(n.schemaPath));if(a!==r){t.push(Object.assign({},n,{children:e.slice(a,r)}));r=a}else{t.push(n)}}else{t.push(n)}r-=1}if(r===0){t.push(e[r])}return t.reverse()}function indent(e,t){return e.replace(/\n(?!$)/g,`\n${t}`)}function hasNotInSchema(e){return!!e.not}function findFirstTypedSchema(e){if(hasNotInSchema(e)){return findFirstTypedSchema(e.not)}return e}function canApplyNot(e){const t=findFirstTypedSchema(e);return likeNumber(t)||likeInteger(t)||likeString(t)||likeNull(t)||likeBoolean(t)}function isObject(e){return typeof e==="object"&&e!==null}function likeNumber(e){return e.type==="number"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeInteger(e){return e.type==="integer"||typeof e.minimum!=="undefined"||typeof e.exclusiveMinimum!=="undefined"||typeof e.maximum!=="undefined"||typeof e.exclusiveMaximum!=="undefined"||typeof e.multipleOf!=="undefined"}function likeString(e){return e.type==="string"||typeof e.minLength!=="undefined"||typeof e.maxLength!=="undefined"||typeof e.pattern!=="undefined"||typeof e.format!=="undefined"||typeof e.formatMinimum!=="undefined"||typeof e.formatMaximum!=="undefined"}function likeBoolean(e){return e.type==="boolean"}function likeArray(e){return e.type==="array"||typeof e.minItems==="number"||typeof e.maxItems==="number"||typeof e.uniqueItems!=="undefined"||typeof e.items!=="undefined"||typeof e.additionalItems!=="undefined"||typeof e.contains!=="undefined"}function likeObject(e){return e.type==="object"||typeof e.minProperties!=="undefined"||typeof e.maxProperties!=="undefined"||typeof e.required!=="undefined"||typeof e.properties!=="undefined"||typeof e.patternProperties!=="undefined"||typeof e.additionalProperties!=="undefined"||typeof e.dependencies!=="undefined"||typeof e.propertyNames!=="undefined"||typeof e.patternRequired!=="undefined"}function likeNull(e){return e.type==="null"}function getArticle(e){if(/^[aeiou]/i.test(e)){return"an"}return"a"}function getSchemaNonTypes(e){if(!e){return""}if(!e.type){if(likeNumber(e)||likeInteger(e)){return" | should be any non-number"}if(likeString(e)){return" | should be any non-string"}if(likeArray(e)){return" | should be any non-array"}if(likeObject(e)){return" | should be any non-object"}}return""}function formatHints(e){return e.length>0?`(${e.join(", ")})`:""}function getHints(e,t){if(likeNumber(e)||likeInteger(e)){return s(e,t)}else if(likeString(e)){return n(e,t)}return[]}class ValidationError extends Error{constructor(e,t,r={}){super();this.name="ValidationError";this.errors=e;this.schema=t;let n;let s;if(t.title&&(!r.name||!r.baseDataPath)){const e=t.title.match(/^(.+) (.+)$/);if(e){if(!r.name){[,n]=e}if(!r.baseDataPath){[,,s]=e}}}this.headerName=r.name||n||"Object";this.baseDataPath=r.baseDataPath||s||"configuration";this.postFormatter=r.postFormatter||null;const a=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${a}${this.formatValidationErrors(e)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(e){const t=e.split("/");let r=this.schema;for(let e=1;e<t.length;e++){const n=r[t[e]];if(!n){break}r=n}return r}formatSchema(e,t=true,r=[]){let n=t;const formatInnerSchema=(t,s)=>{if(!s){return this.formatSchema(t,n,r)}if(r.includes(t)){return"(recursive)"}return this.formatSchema(t,n,r.concat(e))};if(hasNotInSchema(e)&&!likeObject(e)){if(canApplyNot(e.not)){n=!t;return formatInnerSchema(e.not)}const r=!e.not.not;const s=t?"":"non ";n=!t;return r?s+formatInnerSchema(e.not):formatInnerSchema(e.not)}if(e.instanceof){const{instanceof:t}=e;const r=!Array.isArray(t)?[t]:t;return r.map((e=>e==="Function"?"function":e)).join(" | ")}if(e.enum){return e.enum.map((e=>JSON.stringify(e))).join(" | ")}if(typeof e.const!=="undefined"){return JSON.stringify(e.const)}if(e.oneOf){return e.oneOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.anyOf){return e.anyOf.map((e=>formatInnerSchema(e,true))).join(" | ")}if(e.allOf){return e.allOf.map((e=>formatInnerSchema(e,true))).join(" & ")}if(e.if){const{if:t,then:r,else:n}=e;return`${t?`if ${formatInnerSchema(t)}`:""}${r?` then ${formatInnerSchema(r)}`:""}${n?` else ${formatInnerSchema(n)}`:""}`}if(e.$ref){return formatInnerSchema(this.getSchemaPart(e.$ref),true)}if(likeNumber(e)||likeInteger(e)){const[r,...n]=getHints(e,t);const s=`${r}${n.length>0?` ${formatHints(n)}`:""}`;return t?s:n.length>0?`non-${r} | ${s}`:`non-${r}`}if(likeString(e)){const[r,...n]=getHints(e,t);const s=`${r}${n.length>0?` ${formatHints(n)}`:""}`;return t?s:s==="string"?"non-string":`non-string | ${s}`}if(likeBoolean(e)){return`${t?"":"non-"}boolean`}if(likeArray(e)){n=true;const t=[];if(typeof e.minItems==="number"){t.push(`should not have fewer than ${e.minItems} item${e.minItems>1?"s":""}`)}if(typeof e.maxItems==="number"){t.push(`should not have more than ${e.maxItems} item${e.maxItems>1?"s":""}`)}if(e.uniqueItems){t.push("should not have duplicate items")}const r=typeof e.additionalItems==="undefined"||Boolean(e.additionalItems);let s="";if(e.items){if(Array.isArray(e.items)&&e.items.length>0){s=`${e.items.map((e=>formatInnerSchema(e))).join(", ")}`;if(r){if(e.additionalItems&&isObject(e.additionalItems)&&Object.keys(e.additionalItems).length>0){t.push(`additional items should be ${formatInnerSchema(e.additionalItems)}`)}}}else if(e.items&&Object.keys(e.items).length>0){s=`${formatInnerSchema(e.items)}`}else{s="any"}}else{s="any"}if(e.contains&&Object.keys(e.contains).length>0){t.push(`should contains at least one ${this.formatSchema(e.contains)} item`)}return`[${s}${r?", ...":""}]${t.length>0?` (${t.join(", ")})`:""}`}if(likeObject(e)){n=true;const t=[];if(typeof e.minProperties==="number"){t.push(`should not have fewer than ${e.minProperties} ${e.minProperties>1?"properties":"property"}`)}if(typeof e.maxProperties==="number"){t.push(`should not have more than ${e.maxProperties} ${e.minProperties&&e.minProperties>1?"properties":"property"}`)}if(e.patternProperties&&Object.keys(e.patternProperties).length>0){const r=Object.keys(e.patternProperties);t.push(`additional property names should match pattern${r.length>1?"s":""} ${r.map((e=>JSON.stringify(e))).join(" | ")}`)}const r=e.properties?Object.keys(e.properties):[];const s=e.required?e.required:[];const a=[...new Set([].concat(s).concat(r))];const o=a.map((e=>{const t=s.includes(e);return`${e}${t?"":"?"}`})).concat(typeof e.additionalProperties==="undefined"||Boolean(e.additionalProperties)?e.additionalProperties&&isObject(e.additionalProperties)?[`<key>: ${formatInnerSchema(e.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:i,propertyNames:c,patternRequired:u}=e;if(i){Object.keys(i).forEach((e=>{const r=i[e];if(Array.isArray(r)){t.push(`should have ${r.length>1?"properties":"property"} ${r.map((e=>`'${e}'`)).join(", ")} when property '${e}' is present`)}else{t.push(`should be valid according to the schema ${formatInnerSchema(r)} when property '${e}' is present`)}}))}if(c&&Object.keys(c).length>0){t.push(`each property name should match format ${JSON.stringify(e.propertyNames.format)}`)}if(u&&u.length>0){t.push(`should have property matching pattern ${u.map((e=>JSON.stringify(e)))}`)}return`object {${o?` ${o} `:""}}${t.length>0?` (${t.join(", ")})`:""}`}if(likeNull(e)){return`${t?"":"non-"}null`}if(Array.isArray(e.type)){return`${e.type.join(" | ")}`}return JSON.stringify(e,null,2)}getSchemaPartText(e,t,r=false,n=true){if(!e){return""}if(Array.isArray(t)){for(let r=0;r<t.length;r++){const n=e[t[r]];if(n){e=n}else{break}}}while(e.$ref){e=this.getSchemaPart(e.$ref)}let s=`${this.formatSchema(e,n)}${r?".":""}`;if(e.description){s+=`\n-> ${e.description}`}if(e.link){s+=`\n-> Read more at ${e.link}`}return s}getSchemaPartDescription(e){if(!e){return""}while(e.$ref){e=this.getSchemaPart(e.$ref)}let t="";if(e.description){t+=`\n-> ${e.description}`}if(e.link){t+=`\n-> Read more at ${e.link}`}return t}formatValidationError(e){const{keyword:t,instancePath:r}=e;const n=r.split("/");const s=[];const a=n.reduce(((e,t)=>{if(t.length>0){if(isNumeric(t)){e.push(`[${t}]`)}else if(/^\[/.test(t)){e.push(t)}else{e.push(`.${t}`)}}return e}),s).join("");const o=`${this.baseDataPath}${a}`;switch(t){case"type":{const{parentSchema:t,params:r}=e;switch(r.type){case"number":return`${o} should be a ${this.getSchemaPartText(t,false,true)}`;case"integer":return`${o} should be an ${this.getSchemaPartText(t,false,true)}`;case"string":return`${o} should be a ${this.getSchemaPartText(t,false,true)}`;case"boolean":return`${o} should be a ${this.getSchemaPartText(t,false,true)}`;case"array":return`${o} should be an array:\n${this.getSchemaPartText(t)}`;case"object":return`${o} should be an object:\n${this.getSchemaPartText(t)}`;case"null":return`${o} should be a ${this.getSchemaPartText(t,false,true)}`;default:return`${o} should be:\n${this.getSchemaPartText(t)}`}}case"instanceof":{const{parentSchema:t}=e;return`${o} should be an instance of ${this.getSchemaPartText(t,false,true)}`}case"pattern":{const{params:t,parentSchema:r}=e;const{pattern:n}=t;return`${o} should match pattern ${JSON.stringify(n)}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"format":{const{params:t,parentSchema:r}=e;const{format:n}=t;return`${o} should match format ${JSON.stringify(n)}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"formatMinimum":case"formatExclusiveMinimum":case"formatMaximum":case"formatExclusiveMaximum":{const{params:t,parentSchema:r}=e;const{comparison:n,limit:s}=t;return`${o} should be ${n} ${JSON.stringify(s)}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:t,params:r}=e;const{comparison:n,limit:s}=r;const[,...a]=getHints(t,true);if(a.length===0){a.push(`should be ${n} ${s}`)}return`${o} ${a.join(" ")}${getSchemaNonTypes(t)}.${this.getSchemaPartDescription(t)}`}case"multipleOf":{const{params:t,parentSchema:r}=e;const{multipleOf:n}=t;return`${o} should be multiple of ${n}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"patternRequired":{const{params:t,parentSchema:r}=e;const{missingPattern:n}=t;return`${o} should have property matching pattern ${JSON.stringify(n)}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"minLength":{const{params:t,parentSchema:r}=e;const{limit:n}=t;if(n===1){return`${o} should be a non-empty string${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}const s=n-1;return`${o} should be longer than ${s} character${s>1?"s":""}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"minItems":{const{params:t,parentSchema:r}=e;const{limit:n}=t;if(n===1){return`${o} should be a non-empty array${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}return`${o} should not have fewer than ${n} items${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"minProperties":{const{params:t,parentSchema:r}=e;const{limit:n}=t;if(n===1){return`${o} should be a non-empty object${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}return`${o} should not have fewer than ${n} properties${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"maxLength":{const{params:t,parentSchema:r}=e;const{limit:n}=t;const s=n+1;return`${o} should be shorter than ${s} character${s>1?"s":""}${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"maxItems":{const{params:t,parentSchema:r}=e;const{limit:n}=t;return`${o} should not have more than ${n} items${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"maxProperties":{const{params:t,parentSchema:r}=e;const{limit:n}=t;return`${o} should not have more than ${n} properties${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"uniqueItems":{const{params:t,parentSchema:r}=e;const{i:n}=t;return`${o} should not contain the item '${e.data[n]}' twice${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"additionalItems":{const{params:t,parentSchema:r}=e;const{limit:n}=t;return`${o} should not have more than ${n} items${getSchemaNonTypes(r)}. These items are valid:\n${this.getSchemaPartText(r)}`}case"contains":{const{parentSchema:t}=e;return`${o} should contains at least one ${this.getSchemaPartText(t,["contains"])} item${getSchemaNonTypes(t)}.`}case"required":{const{parentSchema:t,params:r}=e;const n=r.missingProperty.replace(/^\./,"");const s=t&&Boolean(t.properties&&t.properties[n]);return`${o} misses the property '${n}'${getSchemaNonTypes(t)}.${s?` Should be:\n${this.getSchemaPartText(t,["properties",n])}`:this.getSchemaPartDescription(t)}`}case"additionalProperties":{const{params:t,parentSchema:r}=e;const{additionalProperty:n}=t;return`${o} has an unknown property '${n}'${getSchemaNonTypes(r)}. These properties are valid:\n${this.getSchemaPartText(r)}`}case"dependencies":{const{params:t,parentSchema:r}=e;const{property:n,deps:s}=t;const a=s.split(",").map((e=>`'${e.trim()}'`)).join(", ");return`${o} should have properties ${a} when property '${n}' is present${getSchemaNonTypes(r)}.${this.getSchemaPartDescription(r)}`}case"propertyNames":{const{params:t,parentSchema:r,schema:n}=e;const{propertyName:s}=t;return`${o} property name '${s}' is invalid${getSchemaNonTypes(r)}. Property names should be match format ${JSON.stringify(n.format)}.${this.getSchemaPartDescription(r)}`}case"enum":{const{parentSchema:t}=e;if(t&&t.enum&&t.enum.length===1){return`${o} should be ${this.getSchemaPartText(t,false,true)}`}return`${o} should be one of these:\n${this.getSchemaPartText(t)}`}case"const":{const{parentSchema:t}=e;return`${o} should be equal to constant ${this.getSchemaPartText(t,false,true)}`}case"not":{const t=likeObject(e.parentSchema)?`\n${this.getSchemaPartText(e.parentSchema)}`:"";const r=this.getSchemaPartText(e.schema,false,false,false);if(canApplyNot(e.schema)){return`${o} should be any ${r}${t}.`}const{schema:n,parentSchema:s}=e;return`${o} should not be ${this.getSchemaPartText(n,false,true)}${s&&likeObject(s)?`\n${this.getSchemaPartText(s)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:t,children:r}=e;if(r&&r.length>0){if(e.schema.length===1){const e=r[r.length-1];const n=r.slice(0,r.length-1);return this.formatValidationError(Object.assign({},e,{children:n,parentSchema:Object.assign({},t,e.parentSchema)}))}let n=filterChildren(r);if(n.length===1){return this.formatValidationError(n[0])}n=groupChildrenByFirstChild(n);return`${o} should be one of these:\n${this.getSchemaPartText(t)}\nDetails:\n${n.map((e=>` * ${indent(this.formatValidationError(e)," ")}`)).join("\n")}`}return`${o} should be one of these:\n${this.getSchemaPartText(t)}`}case"if":{const{params:t,parentSchema:r}=e;const{failingKeyword:n}=t;return`${o} should match "${n}" schema:\n${this.getSchemaPartText(r,[n])}`}case"absolutePath":{const{message:t,parentSchema:r}=e;return`${o}: ${t}${this.getSchemaPartDescription(r)}`}default:{const{message:t,parentSchema:r}=e;const n=JSON.stringify(e,null,2);return`${o} ${t} (${n}).\n${this.getSchemaPartText(r,false)}`}}}formatValidationErrors(e){return e.map((e=>{let t=this.formatValidationError(e);if(this.postFormatter){t=this.postFormatter(t,e)}return` - ${indent(t," ")}`})).join("\n")}}var o=ValidationError;t["default"]=o},9048:function(e,t,r){"use strict";const{validate:n,ValidationError:s}=r(8711);e.exports={validate:n,ValidationError:s}},706:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function errorMessage(e,t,r){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:r},message:e,parentSchema:t}}function getErrorFor(e,t,r){const n=e?`The provided value ${JSON.stringify(r)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(r)} is an absolute path!`;return errorMessage(n,t,r)}function addAbsolutePathKeyword(e){e.addKeyword({keyword:"absolutePath",type:"string",errors:true,compile(e,t){const callback=r=>{let n=true;const s=r.includes("!");if(s){callback.errors=[errorMessage(`The provided value ${JSON.stringify(r)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,t,r)];n=false}const a=e===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(r);if(!a){callback.errors=[getErrorFor(e,t,r)];n=false}return n};callback.errors=[];return callback}});return e}var r=addAbsolutePathKeyword;t["default"]=r},3249:function(e){"use strict";class Range{static getOperator(e,t){if(e==="left"){return t?">":">="}return t?"<":"<="}static formatRight(e,t,r){if(t===false){return Range.formatLeft(e,!t,!r)}return`should be ${Range.getOperator("right",r)} ${e}`}static formatLeft(e,t,r){if(t===false){return Range.formatRight(e,!t,!r)}return`should be ${Range.getOperator("left",r)} ${e}`}static formatRange(e,t,r,n,s){let a="should be";a+=` ${Range.getOperator(s?"left":"right",s?r:!r)} ${e} `;a+=s?"and":"or";a+=` ${Range.getOperator(s?"right":"left",s?n:!n)} ${t}`;return a}static getRangeValue(e,t){let r=t?Infinity:-Infinity;let n=-1;const s=t?([e])=>e<=r:([e])=>e>=r;for(let t=0;t<e.length;t++){if(s(e[t])){[r]=e[t];n=t}}if(n>-1){return e[n]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(e,t=false){this._left.push([e,t])}right(e,t=false){this._right.push([e,t])}format(e=true){const[t,r]=Range.getRangeValue(this._left,e);const[n,s]=Range.getRangeValue(this._right,!e);if(!Number.isFinite(t)&&!Number.isFinite(n)){return""}const a=r?t+1:t;const o=s?n-1:n;if(a===o){return`should be ${e?"":"!"}= ${a}`}if(Number.isFinite(t)&&!Number.isFinite(n)){return Range.formatLeft(t,e,r)}if(!Number.isFinite(t)&&Number.isFinite(n)){return Range.formatRight(n,e,s)}return Range.formatRange(t,n,r,s,e)}}e.exports=Range},1605:function(e,t,r){"use strict";const n=r(3249);e.exports.stringHints=function stringHints(e,t){const r=[];let n="string";const s={...e};if(!t){const e=s.minLength;const t=s.formatMinimum;s.minLength=s.maxLength;s.maxLength=e;s.formatMinimum=s.formatMaximum;s.formatMaximum=t}if(typeof s.minLength==="number"){if(s.minLength===1){n="non-empty string"}else{const e=Math.max(s.minLength-1,0);r.push(`should be longer than ${e} character${e>1?"s":""}`)}}if(typeof s.maxLength==="number"){if(s.maxLength===0){n="empty string"}else{const e=s.maxLength+1;r.push(`should be shorter than ${e} character${e>1?"s":""}`)}}if(s.pattern){r.push(`should${t?"":" not"} match pattern ${JSON.stringify(s.pattern)}`)}if(s.format){r.push(`should${t?"":" not"} match format ${JSON.stringify(s.format)}`)}if(s.formatMinimum){r.push(`should be ${s.formatExclusiveMinimum?">":">="} ${JSON.stringify(s.formatMinimum)}`)}if(s.formatMaximum){r.push(`should be ${s.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(s.formatMaximum)}`)}return[n].concat(r)};e.exports.numberHints=function numberHints(e,t){const r=[e.type==="integer"?"integer":"number"];const s=new n;if(typeof e.minimum==="number"){s.left(e.minimum)}if(typeof e.exclusiveMinimum==="number"){s.left(e.exclusiveMinimum,true)}if(typeof e.maximum==="number"){s.right(e.maximum)}if(typeof e.exclusiveMaximum==="number"){s.right(e.exclusiveMaximum,true)}const a=s.format(t);if(a){r.push(a)}if(typeof e.multipleOf==="number"){r.push(`should${t?"":" not"} be multiple of ${e.multipleOf}`)}return r}},8711:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return s.default}});t.validate=validate;var n=_interopRequireDefault(r(706));var s=_interopRequireDefault(r(1983));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=r(4711)["default"];const o=r(4563)["default"];const i=r(5679)["default"];const c=new a({strict:false,allErrors:true,verbose:true,$data:true});o(c,["instanceof","patternRequired"]);i(c,{keywords:true});(0,n.default)(c);function validate(e,t,r){let n=[];if(Array.isArray(t)){n=Array.from(t,(t=>validateObject(e,t)));n.forEach(((e,t)=>{const applyPrefix=e=>{e.instancePath=`[${t}]${e.instancePath}`;if(e.children){e.children.forEach(applyPrefix)}};e.forEach(applyPrefix)}));n=n.reduce(((e,t)=>{e.push(...t);return e}),[])}else{n=validateObject(e,t)}if(n.length>0){throw new s.default(n,e,r)}}function validateObject(e,t){const r=c.compile(e);const n=r(t);if(n)return[];return r.errors?filterErrors(r.errors):[]}function filterErrors(e){let t=[];for(const r of e){const{instancePath:e}=r;let n=[];t=t.filter((t=>{if(t.instancePath.includes(e)){if(t.children){n=n.concat(t.children.slice(0))}t.children=undefined;n.push(t);return false}return true}));if(n.length){r.children=n}t.push(r)}return t}},8999:function(e,t){t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var n=256;var s=Number.MAX_SAFE_INTEGER||9007199254740991;var a=16;var o=t.re=[];var i=t.src=[];var c=t.tokens={};var u=0;function tok(e){c[e]=u++}tok("NUMERICIDENTIFIER");i[c.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");i[c.NUMERICIDENTIFIERLOOSE]="[0-9]+";tok("NONNUMERICIDENTIFIER");i[c.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";tok("MAINVERSION");i[c.MAINVERSION]="("+i[c.NUMERICIDENTIFIER]+")\\."+"("+i[c.NUMERICIDENTIFIER]+")\\."+"("+i[c.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");i[c.MAINVERSIONLOOSE]="("+i[c.NUMERICIDENTIFIERLOOSE]+")\\."+"("+i[c.NUMERICIDENTIFIERLOOSE]+")\\."+"("+i[c.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");i[c.PRERELEASEIDENTIFIER]="(?:"+i[c.NUMERICIDENTIFIER]+"|"+i[c.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");i[c.PRERELEASEIDENTIFIERLOOSE]="(?:"+i[c.NUMERICIDENTIFIERLOOSE]+"|"+i[c.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");i[c.PRERELEASE]="(?:-("+i[c.PRERELEASEIDENTIFIER]+"(?:\\."+i[c.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");i[c.PRERELEASELOOSE]="(?:-?("+i[c.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+i[c.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");i[c.BUILDIDENTIFIER]="[0-9A-Za-z-]+";tok("BUILD");i[c.BUILD]="(?:\\+("+i[c.BUILDIDENTIFIER]+"(?:\\."+i[c.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");i[c.FULLPLAIN]="v?"+i[c.MAINVERSION]+i[c.PRERELEASE]+"?"+i[c.BUILD]+"?";i[c.FULL]="^"+i[c.FULLPLAIN]+"$";tok("LOOSEPLAIN");i[c.LOOSEPLAIN]="[v=\\s]*"+i[c.MAINVERSIONLOOSE]+i[c.PRERELEASELOOSE]+"?"+i[c.BUILD]+"?";tok("LOOSE");i[c.LOOSE]="^"+i[c.LOOSEPLAIN]+"$";tok("GTLT");i[c.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");i[c.XRANGEIDENTIFIERLOOSE]=i[c.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");i[c.XRANGEIDENTIFIER]=i[c.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");i[c.XRANGEPLAIN]="[v=\\s]*("+i[c.XRANGEIDENTIFIER]+")"+"(?:\\.("+i[c.XRANGEIDENTIFIER]+")"+"(?:\\.("+i[c.XRANGEIDENTIFIER]+")"+"(?:"+i[c.PRERELEASE]+")?"+i[c.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");i[c.XRANGEPLAINLOOSE]="[v=\\s]*("+i[c.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+i[c.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+i[c.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+i[c.PRERELEASELOOSE]+")?"+i[c.BUILD]+"?"+")?)?";tok("XRANGE");i[c.XRANGE]="^"+i[c.GTLT]+"\\s*"+i[c.XRANGEPLAIN]+"$";tok("XRANGELOOSE");i[c.XRANGELOOSE]="^"+i[c.GTLT]+"\\s*"+i[c.XRANGEPLAINLOOSE]+"$";tok("COERCE");i[c.COERCE]="(^|[^\\d])"+"(\\d{1,"+a+"})"+"(?:\\.(\\d{1,"+a+"}))?"+"(?:\\.(\\d{1,"+a+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");o[c.COERCERTL]=new RegExp(i[c.COERCE],"g");tok("LONETILDE");i[c.LONETILDE]="(?:~>?)";tok("TILDETRIM");i[c.TILDETRIM]="(\\s*)"+i[c.LONETILDE]+"\\s+";o[c.TILDETRIM]=new RegExp(i[c.TILDETRIM],"g");var l="$1~";tok("TILDE");i[c.TILDE]="^"+i[c.LONETILDE]+i[c.XRANGEPLAIN]+"$";tok("TILDELOOSE");i[c.TILDELOOSE]="^"+i[c.LONETILDE]+i[c.XRANGEPLAINLOOSE]+"$";tok("LONECARET");i[c.LONECARET]="(?:\\^)";tok("CARETTRIM");i[c.CARETTRIM]="(\\s*)"+i[c.LONECARET]+"\\s+";o[c.CARETTRIM]=new RegExp(i[c.CARETTRIM],"g");var f="$1^";tok("CARET");i[c.CARET]="^"+i[c.LONECARET]+i[c.XRANGEPLAIN]+"$";tok("CARETLOOSE");i[c.CARETLOOSE]="^"+i[c.LONECARET]+i[c.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");i[c.COMPARATORLOOSE]="^"+i[c.GTLT]+"\\s*("+i[c.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");i[c.COMPARATOR]="^"+i[c.GTLT]+"\\s*("+i[c.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");i[c.COMPARATORTRIM]="(\\s*)"+i[c.GTLT]+"\\s*("+i[c.LOOSEPLAIN]+"|"+i[c.XRANGEPLAIN]+")";o[c.COMPARATORTRIM]=new RegExp(i[c.COMPARATORTRIM],"g");var d="$1$2$3";tok("HYPHENRANGE");i[c.HYPHENRANGE]="^\\s*("+i[c.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+i[c.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");i[c.HYPHENRANGELOOSE]="^\\s*("+i[c.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+i[c.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");i[c.STAR]="(<|>)?=?\\s*\\*";for(var p=0;p<u;p++){r(p,i[p]);if(!o[p]){o[p]=new RegExp(i[p])}}t.parse=parse;function parse(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}if(e.length>n){return null}var r=t.loose?o[c.LOOSE]:o[c.FULL];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>n){throw new TypeError("version is longer than "+n+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var a=e.trim().match(t.loose?o[c.LOOSE]:o[c.FULL]);if(!a){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+a[1];this.minor=+a[2];this.patch=+a[3];if(this.major>s||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>s||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>s||this.patch<0){throw new TypeError("Invalid patch version")}if(!a[4]){this.prerelease=[]}else{this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<s){return t}}return e}))}this.build=a[5]?a[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(e){r("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return this.compareMain(e)||this.comparePre(e)};SemVer.prototype.compareMain=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return compareIdentifiers(this.major,e.major)||compareIdentifiers(this.minor,e.minor)||compareIdentifiers(this.patch,e.patch)};SemVer.prototype.comparePre=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}var t=0;do{var n=this.prerelease[t];var s=e.prerelease[t];r("prerelease compare",t,n,s);if(n===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(n===undefined){return-1}else if(n===s){continue}else{return compareIdentifiers(n,s)}}while(++t)};SemVer.prototype.compareBuild=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}var t=0;do{var n=this.build[t];var s=e.build[t];r("prerelease compare",t,n,s);if(n===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(n===undefined){return-1}else if(n===s){continue}else{return compareIdentifiers(n,s)}}while(++t)};SemVer.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var r=this.prerelease.length;while(--r>=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,r,n){if(typeof r==="string"){n=r;r=undefined}try{return new SemVer(e,r).inc(t,n).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var n=parse(t);var s="";if(r.prerelease.length||n.prerelease.length){s="pre";var a="prerelease"}for(var o in r){if(o==="major"||o==="minor"||o==="patch"){if(r[o]!==n[o]){return s+o}}}return a}}t.compareIdentifiers=compareIdentifiers;var m=/^[0-9]+$/;function compareIdentifiers(e,t){var r=m.test(e);var n=m.test(t);if(r&&n){e=+e;t=+t}return e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}t.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(e,t){return compareIdentifiers(t,e)}t.major=major;function major(e,t){return new SemVer(e,t).major}t.minor=minor;function minor(e,t){return new SemVer(e,t).minor}t.patch=patch;function patch(e,t){return new SemVer(e,t).patch}t.compare=compare;function compare(e,t,r){return new SemVer(e,r).compare(new SemVer(t,r))}t.compareLoose=compareLoose;function compareLoose(e,t){return compare(e,t,true)}t.compareBuild=compareBuild;function compareBuild(e,t,r){var n=new SemVer(e,r);var s=new SemVer(t,r);return n.compare(s)||n.compareBuild(s)}t.rcompare=rcompare;function rcompare(e,t,r){return compare(t,e,r)}t.sort=sort;function sort(e,r){return e.sort((function(e,n){return t.compareBuild(e,n,r)}))}t.rsort=rsort;function rsort(e,r){return e.sort((function(e,n){return t.compareBuild(n,e,r)}))}t.gt=gt;function gt(e,t,r){return compare(e,t,r)>0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,n){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,n);case"!=":return neq(e,r,n);case">":return gt(e,r,n);case">=":return gte(e,r,n);case"<":return lt(e,r,n);case"<=":return lte(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===h){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var h={};Comparator.prototype.parse=function(e){var t=this.options.loose?o[c.COMPARATORLOOSE]:o[c.COMPARATOR];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=h}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===h||e===h){return true}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var r;if(this.operator===""){if(this.value===""){return true}r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){if(e.value===""){return true}r=new Range(this.value,t);return satisfies(e.semver,r,t)}var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var a=this.semver.version===e.semver.version;var o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var i=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var c=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return n||s||a&&o||i||c};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?o[c.HYPHENRANGELOOSE]:o[c.HYPHENRANGE];e=e.replace(n,hyphenReplace);r("hyphen replace",e);e=e.replace(o[c.COMPARATORTRIM],d);r("comparator trim",e,o[c.COMPARATORTRIM]);e=e.replace(o[c.TILDETRIM],l);e=e.replace(o[c.CARETTRIM],f);e=e.split(/\s+/).join(" ");var s=t?o[c.COMPARATORLOOSE]:o[c.COMPARATOR];var a=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){a=a.filter((function(e){return!!e.match(s)}))}a=a.map((function(e){return new Comparator(e,this.options)}),this);return a};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(r){return isSatisfiable(r,t)&&e.set.some((function(e){return isSatisfiable(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))};function isSatisfiable(e,t){var r=true;var n=e.slice();var s=n.pop();while(r&&n.length){r=n.every((function(e){return s.intersects(e,t)}));s=n.pop()}return r}t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var n=t.loose?o[c.TILDELOOSE]:o[c.TILDE];return e.replace(n,(function(t,n,s,a,o){r("tilde",e,t,n,s,a,o);var i;if(isX(n)){i=""}else if(isX(s)){i=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(a)){i=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0"}else if(o){r("replaceTilde pr",o);i=">="+n+"."+s+"."+a+"-"+o+" <"+n+"."+(+s+1)+".0"}else{i=">="+n+"."+s+"."+a+" <"+n+"."+(+s+1)+".0"}r("tilde return",i);return i}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){r("caret",e,t);var n=t.loose?o[c.CARETLOOSE]:o[c.CARET];return e.replace(n,(function(t,n,s,a,o){r("caret",e,t,n,s,a,o);var i;if(isX(n)){i=""}else if(isX(s)){i=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(a)){if(n==="0"){i=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0"}else{i=">="+n+"."+s+".0 <"+(+n+1)+".0.0"}}else if(o){r("replaceCaret pr",o);if(n==="0"){if(s==="0"){i=">="+n+"."+s+"."+a+"-"+o+" <"+n+"."+s+"."+(+a+1)}else{i=">="+n+"."+s+"."+a+"-"+o+" <"+n+"."+(+s+1)+".0"}}else{i=">="+n+"."+s+"."+a+"-"+o+" <"+(+n+1)+".0.0"}}else{r("no pr");if(n==="0"){if(s==="0"){i=">="+n+"."+s+"."+a+" <"+n+"."+s+"."+(+a+1)}else{i=">="+n+"."+s+"."+a+" <"+n+"."+(+s+1)+".0"}}else{i=">="+n+"."+s+"."+a+" <"+(+n+1)+".0.0"}}r("caret return",i);return i}))}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var n=t.loose?o[c.XRANGELOOSE]:o[c.XRANGE];return e.replace(n,(function(n,s,a,o,i,c){r("xRange",e,n,s,a,o,i,c);var u=isX(a);var l=u||isX(o);var f=l||isX(i);var d=f;if(s==="="&&d){s=""}c=t.includePrerelease?"-0":"";if(u){if(s===">"||s==="<"){n="<0.0.0-0"}else{n="*"}}else if(s&&d){if(l){o=0}i=0;if(s===">"){s=">=";if(l){a=+a+1;o=0;i=0}else{o=+o+1;i=0}}else if(s==="<="){s="<";if(l){a=+a+1}else{o=+o+1}}n=s+a+"."+o+"."+i+c}else if(l){n=">="+a+".0.0"+c+" <"+(+a+1)+".0.0"+c}else if(f){n=">="+a+"."+o+".0"+c+" <"+a+"."+(+o+1)+".0"+c}r("xRange return",n);return n}))}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(o[c.STAR],"")}function hyphenReplace(e,t,r,n,s,a,o,i,c,u,l,f,d){if(isX(r)){t=""}else if(isX(n)){t=">="+r+".0.0"}else if(isX(s)){t=">="+r+"."+n+".0"}else{t=">="+t}if(isX(c)){i=""}else if(isX(u)){i="<"+(+c+1)+".0.0"}else if(isX(l)){i="<"+c+"."+(+u+1)+".0"}else if(f){i="<="+c+"."+u+"."+l+"-"+f}else{i="<="+i}return(t+" "+i).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}for(var t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false};function testSet(e,t,n){for(var s=0;s<e.length;s++){if(!e[s].test(t)){return false}}if(t.prerelease.length&&!n.includePrerelease){for(s=0;s<e.length;s++){r(e[s].semver);if(e[s].semver===h){continue}if(e[s].semver.prerelease.length>0){var a=e[s].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var n=null;var s=null;try{var a=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(a.test(e)){if(!n||s.compare(e)===-1){n=e;s=new SemVer(n,r)}}}));return n}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var n=null;var s=null;try{var a=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(a.test(e)){if(!n||s.compare(e)===1){n=e;s=new SemVer(n,r)}}}));return n}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var n=0;n<e.set.length;++n){var s=e.set[n];s.forEach((function(e){var t=new SemVer(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r)){return r}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,n){e=new SemVer(e,n);t=new Range(t,n);var s,a,o,i,c;switch(r){case">":s=gt;a=lte;o=lt;i=">";c=">=";break;case"<":s=lt;a=gte;o=gt;i="<";c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,n)){return false}for(var u=0;u<t.set.length;++u){var l=t.set[u];var f=null;var d=null;l.forEach((function(e){if(e.semver===h){e=new Comparator(">=0.0.0")}f=f||e;d=d||e;if(s(e.semver,f.semver,n)){f=e}else if(o(e.semver,d.semver,n)){d=e}}));if(f.operator===i||f.operator===c){return false}if((!d.operator||d.operator===i)&&a(e,d.semver)){return false}else if(d.operator===c&&o(e,d.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);return e.intersects(t)}t.coerce=coerce;function coerce(e,t){if(e instanceof SemVer){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};var r=null;if(!t.rtl){r=e.match(o[c.COERCE])}else{var n;while((n=o[c.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||n.index+n[0].length!==r.index+r[0].length){r=n}o[c.COERCERTL].lastIndex=n.index+n[1].length+n[2].length}o[c.COERCERTL].lastIndex=-1}if(r===null){return null}return parse(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}},199:function(e,t){
|
|
2
8
|
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
3
|
-
(function(e,t){true?t(r):0})(this,(function(e){"use strict";function merge(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++){r[t]=arguments[t]}if(r.length>1){r[0]=r[0].slice(0,-1);var a=r.length-1;for(var s=1;s<a;++s){r[s]=r[s].slice(1,-1)}r[a]=r[a].slice(1);return r.join("")}else{return r[0]}}function subexp(e){return"(?:"+e+")"}function typeOf(e){return e===undefined?"undefined":e===null?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(e){return e.toUpperCase()}function toArray(e){return e!==undefined&&e!==null?e instanceof Array?e:typeof e.length!=="number"||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function assign(e,r){var t=e;if(r){for(var a in r){t[a]=r[a]}}return t}function buildExps(e){var r="[A-Za-z]",t="[\\x0D]",a="[0-9]",s="[\\x22]",i=merge(a,"[A-Fa-f]"),n="[\\x0A]",u="[\\x20]",o=subexp(subexp("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+subexp("%[89A-Fa-f]"+i+"%"+i+i)+"|"+subexp("%"+i+i)),c="[\\:\\/\\?\\#\\[\\]\\@]",l="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",f=merge(c,l),p=e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",h=e?"[\\uE000-\\uF8FF]":"[]",d=merge(r,a,"[\\-\\.\\_\\~]",p),m=subexp(r+merge(r,a,"[\\+\\-\\.]")+"*"),D=subexp(subexp(o+"|"+merge(d,l,"[\\:]"))+"*"),g=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+a)+"|"+subexp("1"+a+a)+"|"+subexp("[1-9]"+a)+"|"+a),E=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+a)+"|"+subexp("1"+a+a)+"|"+subexp("0?[1-9]"+a)+"|0?0?"+a),y=subexp(E+"\\."+E+"\\."+E+"\\."+E),A=subexp(i+"{1,4}"),C=subexp(subexp(A+"\\:"+A)+"|"+y),F=subexp(subexp(A+"\\:")+"{6}"+C),b=subexp("\\:\\:"+subexp(A+"\\:")+"{5}"+C),P=subexp(subexp(A)+"?\\:\\:"+subexp(A+"\\:")+"{4}"+C),w=subexp(subexp(subexp(A+"\\:")+"{0,1}"+A)+"?\\:\\:"+subexp(A+"\\:")+"{3}"+C),S=subexp(subexp(subexp(A+"\\:")+"{0,2}"+A)+"?\\:\\:"+subexp(A+"\\:")+"{2}"+C),I=subexp(subexp(subexp(A+"\\:")+"{0,3}"+A)+"?\\:\\:"+A+"\\:"+C),x=subexp(subexp(subexp(A+"\\:")+"{0,4}"+A)+"?\\:\\:"+C),R=subexp(subexp(subexp(A+"\\:")+"{0,5}"+A)+"?\\:\\:"+A),B=subexp(subexp(subexp(A+"\\:")+"{0,6}"+A)+"?\\:\\:"),$=subexp([F,b,P,w,S,I,x,R,B].join("|")),O=subexp(subexp(d+"|"+o)+"+"),_=subexp($+"\\%25"+O),N=subexp($+subexp("\\%25|\\%(?!"+i+"{2})")+O),k=subexp("[vV]"+i+"+\\."+merge(d,l,"[\\:]")+"+"),j=subexp("\\["+subexp(N+"|"+$+"|"+k)+"\\]"),T=subexp(subexp(o+"|"+merge(d,l))+"*"),L=subexp(j+"|"+y+"(?!"+T+")"+"|"+T),M=subexp(a+"*"),q=subexp(subexp(D+"@")+"?"+L+subexp("\\:"+M)+"?"),Q=subexp(o+"|"+merge(d,l,"[\\:\\@]")),z=subexp(Q+"*"),V=subexp(Q+"+"),U=subexp(subexp(o+"|"+merge(d,l,"[\\@]"))+"+"),H=subexp(subexp("\\/"+z)+"*"),J=subexp("\\/"+subexp(V+H)+"?"),G=subexp(U+H),K=subexp(V+H),X="(?!"+Q+")",Z=subexp(H+"|"+J+"|"+G+"|"+K+"|"+X),Y=subexp(subexp(Q+"|"+merge("[\\/\\?]",h))+"*"),W=subexp(subexp(Q+"|[\\/\\?]")+"*"),ee=subexp(subexp("\\/\\/"+q+H)+"|"+J+"|"+K+"|"+X),re=subexp(m+"\\:"+ee+subexp("\\?"+Y)+"?"+subexp("\\#"+W)+"?"),te=subexp(subexp("\\/\\/"+q+H)+"|"+J+"|"+G+"|"+X),ae=subexp(te+subexp("\\?"+Y)+"?"+subexp("\\#"+W)+"?"),se=subexp(re+"|"+ae),ie=subexp(m+"\\:"+ee+subexp("\\?"+Y)+"?"),ne="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+D+")@")+"?("+L+")"+subexp("\\:("+M+")")+"?)")+"?("+H+"|"+J+"|"+K+"|"+X+")")+subexp("\\?("+Y+")")+"?"+subexp("\\#("+W+")")+"?$",ue="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+D+")@")+"?("+L+")"+subexp("\\:("+M+")")+"?)")+"?("+H+"|"+J+"|"+G+"|"+X+")")+subexp("\\?("+Y+")")+"?"+subexp("\\#("+W+")")+"?$",oe="^("+m+")\\:"+subexp(subexp("\\/\\/("+subexp("("+D+")@")+"?("+L+")"+subexp("\\:("+M+")")+"?)")+"?("+H+"|"+J+"|"+K+"|"+X+")")+subexp("\\?("+Y+")")+"?$",ce="^"+subexp("\\#("+W+")")+"?$",le="^"+subexp("("+D+")@")+"?("+L+")"+subexp("\\:("+M+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",r,a,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",d,l),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",d,l),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",d,l),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",d,l),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",d,l,"[\\:\\@\\/\\?]",h),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",d,l,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",d,l),"g"),UNRESERVED:new RegExp(d,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",d,f),"g"),PCT_ENCODED:new RegExp(o,"g"),IPV4ADDRESS:new RegExp("^("+y+")$"),IPV6ADDRESS:new RegExp("^\\[?("+$+")"+subexp(subexp("\\%25|\\%(?!"+i+"{2})")+"("+O+")")+"?\\]?$")}}var r=buildExps(false);var t=buildExps(true);var a=function(){function sliceIterator(e,r){var t=[];var a=true;var s=false;var i=undefined;try{for(var n=e[Symbol.iterator](),u;!(a=(u=n.next()).done);a=true){t.push(u.value);if(r&&t.length===r)break}}catch(e){s=true;i=e}finally{try{if(!a&&n["return"])n["return"]()}finally{if(s)throw i}}return t}return function(e,r){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,r)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}else{return Array.from(e)}};var s=2147483647;var i=36;var n=1;var u=26;var o=38;var c=700;var l=72;var f=128;var p="-";var h=/^xn--/;var d=/[^\0-\x7E]/;var m=/[\x2E\u3002\uFF0E\uFF61]/g;var D={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var g=i-n;var E=Math.floor;var y=String.fromCharCode;function error$1(e){throw new RangeError(D[e])}function map(e,r){var t=[];var a=e.length;while(a--){t[a]=r(e[a])}return t}function mapDomain(e,r){var t=e.split("@");var a="";if(t.length>1){a=t[0]+"@";e=t[1]}e=e.replace(m,".");var s=e.split(".");var i=map(s,r).join(".");return a+i}function ucs2decode(e){var r=[];var t=0;var a=e.length;while(t<a){var s=e.charCodeAt(t++);if(s>=55296&&s<=56319&&t<a){var i=e.charCodeAt(t++);if((i&64512)==56320){r.push(((s&1023)<<10)+(i&1023)+65536)}else{r.push(s);t--}}else{r.push(s)}}return r}var A=function ucs2encode(e){return String.fromCodePoint.apply(String,toConsumableArray(e))};var C=function basicToDigit(e){if(e-48<10){return e-22}if(e-65<26){return e-65}if(e-97<26){return e-97}return i};var F=function digitToBasic(e,r){return e+22+75*(e<26)-((r!=0)<<5)};var b=function adapt(e,r,t){var a=0;e=t?E(e/c):e>>1;e+=E(e/r);for(;e>g*u>>1;a+=i){e=E(e/g)}return E(a+(g+1)*e/(e+o))};var P=function decode(e){var r=[];var t=e.length;var a=0;var o=f;var c=l;var h=e.lastIndexOf(p);if(h<0){h=0}for(var d=0;d<h;++d){if(e.charCodeAt(d)>=128){error$1("not-basic")}r.push(e.charCodeAt(d))}for(var m=h>0?h+1:0;m<t;){var D=a;for(var g=1,y=i;;y+=i){if(m>=t){error$1("invalid-input")}var A=C(e.charCodeAt(m++));if(A>=i||A>E((s-a)/g)){error$1("overflow")}a+=A*g;var F=y<=c?n:y>=c+u?u:y-c;if(A<F){break}var P=i-F;if(g>E(s/P)){error$1("overflow")}g*=P}var w=r.length+1;c=b(a-D,w,D==0);if(E(a/w)>s-o){error$1("overflow")}o+=E(a/w);a%=w;r.splice(a++,0,o)}return String.fromCodePoint.apply(String,r)};var w=function encode(e){var r=[];e=ucs2decode(e);var t=e.length;var a=f;var o=0;var c=l;var h=true;var d=false;var m=undefined;try{for(var D=e[Symbol.iterator](),g;!(h=(g=D.next()).done);h=true){var A=g.value;if(A<128){r.push(y(A))}}}catch(e){d=true;m=e}finally{try{if(!h&&D.return){D.return()}}finally{if(d){throw m}}}var C=r.length;var P=C;if(C){r.push(p)}while(P<t){var w=s;var S=true;var I=false;var x=undefined;try{for(var R=e[Symbol.iterator](),B;!(S=(B=R.next()).done);S=true){var $=B.value;if($>=a&&$<w){w=$}}}catch(e){I=true;x=e}finally{try{if(!S&&R.return){R.return()}}finally{if(I){throw x}}}var O=P+1;if(w-a>E((s-o)/O)){error$1("overflow")}o+=(w-a)*O;a=w;var _=true;var N=false;var k=undefined;try{for(var j=e[Symbol.iterator](),T;!(_=(T=j.next()).done);_=true){var L=T.value;if(L<a&&++o>s){error$1("overflow")}if(L==a){var M=o;for(var q=i;;q+=i){var Q=q<=c?n:q>=c+u?u:q-c;if(M<Q){break}var z=M-Q;var V=i-Q;r.push(y(F(Q+z%V,0)));M=E(z/V)}r.push(y(F(M,0)));c=b(o,O,P==C);o=0;++P}}}catch(e){N=true;k=e}finally{try{if(!_&&j.return){j.return()}}finally{if(N){throw k}}}++o;++a}return r.join("")};var S=function toUnicode(e){return mapDomain(e,(function(e){return h.test(e)?P(e.slice(4).toLowerCase()):e}))};var I=function toASCII(e){return mapDomain(e,(function(e){return d.test(e)?"xn--"+w(e):e}))};var x={version:"2.1.0",ucs2:{decode:ucs2decode,encode:A},decode:P,encode:w,toASCII:I,toUnicode:S};var R={};function pctEncChar(e){var r=e.charCodeAt(0);var t=void 0;if(r<16)t="%0"+r.toString(16).toUpperCase();else if(r<128)t="%"+r.toString(16).toUpperCase();else if(r<2048)t="%"+(r>>6|192).toString(16).toUpperCase()+"%"+(r&63|128).toString(16).toUpperCase();else t="%"+(r>>12|224).toString(16).toUpperCase()+"%"+(r>>6&63|128).toString(16).toUpperCase()+"%"+(r&63|128).toString(16).toUpperCase();return t}function pctDecChars(e){var r="";var t=0;var a=e.length;while(t<a){var s=parseInt(e.substr(t+1,2),16);if(s<128){r+=String.fromCharCode(s);t+=3}else if(s>=194&&s<224){if(a-t>=6){var i=parseInt(e.substr(t+4,2),16);r+=String.fromCharCode((s&31)<<6|i&63)}else{r+=e.substr(t,6)}t+=6}else if(s>=224){if(a-t>=9){var n=parseInt(e.substr(t+4,2),16);var u=parseInt(e.substr(t+7,2),16);r+=String.fromCharCode((s&15)<<12|(n&63)<<6|u&63)}else{r+=e.substr(t,9)}t+=9}else{r+=e.substr(t,3);t+=3}}return r}function _normalizeComponentEncoding(e,r){function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(r.UNRESERVED)?e:t}if(e.scheme)e.scheme=String(e.scheme).replace(r.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(r.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(r.PCT_ENCODED,decodeUnreserved).replace(r.NOT_USERINFO,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(r.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(r.NOT_HOST,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(r.PCT_ENCODED,decodeUnreserved).replace(e.scheme?r.NOT_PATH:r.NOT_PATH_NOSCHEME,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(r.PCT_ENCODED,decodeUnreserved).replace(r.NOT_QUERY,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(r.PCT_ENCODED,decodeUnreserved).replace(r.NOT_FRAGMENT,pctEncChar).replace(r.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,r){var t=e.match(r.IPV4ADDRESS)||[];var s=a(t,2),i=s[1];if(i){return i.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,r){var t=e.match(r.IPV6ADDRESS)||[];var s=a(t,3),i=s[1],n=s[2];if(i){var u=i.toLowerCase().split("::").reverse(),o=a(u,2),c=o[0],l=o[1];var f=l?l.split(":").map(_stripLeadingZeros):[];var p=c.split(":").map(_stripLeadingZeros);var h=r.IPV4ADDRESS.test(p[p.length-1]);var d=h?7:8;var m=p.length-d;var D=Array(d);for(var g=0;g<d;++g){D[g]=f[g]||p[m+g]||""}if(h){D[d-1]=_normalizeIPv4(D[d-1],r)}var E=D.reduce((function(e,r,t){if(!r||r==="0"){var a=e[e.length-1];if(a&&a.index+a.length===t){a.length++}else{e.push({index:t,length:1})}}return e}),[]);var y=E.sort((function(e,r){return r.length-e.length}))[0];var A=void 0;if(y&&y.length>1){var C=D.slice(0,y.index);var F=D.slice(y.index+y.length);A=C.join(":")+"::"+F.join(":")}else{A=D.join(":")}if(n){A+="%"+n}return A}else{return e}}var B=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var $="".match(/(){0}/)[1]===undefined;function parse(e){var a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s={};var i=a.iri!==false?t:r;if(a.reference==="suffix")e=(a.scheme?a.scheme+":":"")+"//"+e;var n=e.match(B);if(n){if($){s.scheme=n[1];s.userinfo=n[3];s.host=n[4];s.port=parseInt(n[5],10);s.path=n[6]||"";s.query=n[7];s.fragment=n[8];if(isNaN(s.port)){s.port=n[5]}}else{s.scheme=n[1]||undefined;s.userinfo=e.indexOf("@")!==-1?n[3]:undefined;s.host=e.indexOf("//")!==-1?n[4]:undefined;s.port=parseInt(n[5],10);s.path=n[6]||"";s.query=e.indexOf("?")!==-1?n[7]:undefined;s.fragment=e.indexOf("#")!==-1?n[8]:undefined;if(isNaN(s.port)){s.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?n[4]:undefined}}if(s.host){s.host=_normalizeIPv6(_normalizeIPv4(s.host,i),i)}if(s.scheme===undefined&&s.userinfo===undefined&&s.host===undefined&&s.port===undefined&&!s.path&&s.query===undefined){s.reference="same-document"}else if(s.scheme===undefined){s.reference="relative"}else if(s.fragment===undefined){s.reference="absolute"}else{s.reference="uri"}if(a.reference&&a.reference!=="suffix"&&a.reference!==s.reference){s.error=s.error||"URI is not a "+a.reference+" reference."}var u=R[(a.scheme||s.scheme||"").toLowerCase()];if(!a.unicodeSupport&&(!u||!u.unicodeSupport)){if(s.host&&(a.domainHost||u&&u.domainHost)){try{s.host=x.toASCII(s.host.replace(i.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){s.error=s.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(s,r)}else{_normalizeComponentEncoding(s,i)}if(u&&u.parse){u.parse(s,a)}}else{s.error=s.error||"URI can not be parsed."}return s}function _recomposeAuthority(e,a){var s=a.iri!==false?t:r;var i=[];if(e.userinfo!==undefined){i.push(e.userinfo);i.push("@")}if(e.host!==undefined){i.push(_normalizeIPv6(_normalizeIPv4(String(e.host),s),s).replace(s.IPV6ADDRESS,(function(e,r,t){return"["+r+(t?"%25"+t:"")+"]"})))}if(typeof e.port==="number"||typeof e.port==="string"){i.push(":");i.push(String(e.port))}return i.length?i.join(""):undefined}var O=/^\.\.?\//;var _=/^\/\.(\/|$)/;var N=/^\/\.\.(\/|$)/;var k=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var r=[];while(e.length){if(e.match(O)){e=e.replace(O,"")}else if(e.match(_)){e=e.replace(_,"/")}else if(e.match(N)){e=e.replace(N,"/");r.pop()}else if(e==="."||e===".."){e=""}else{var t=e.match(k);if(t){var a=t[0];e=e.slice(a.length);r.push(a)}else{throw new Error("Unexpected dot segment condition")}}}return r.join("")}function serialize(e){var a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s=a.iri?t:r;var i=[];var n=R[(a.scheme||e.scheme||"").toLowerCase()];if(n&&n.serialize)n.serialize(e,a);if(e.host){if(s.IPV6ADDRESS.test(e.host)){}else if(a.domainHost||n&&n.domainHost){try{e.host=!a.iri?x.toASCII(e.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase()):x.toUnicode(e.host)}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(!a.iri?"ASCII":"Unicode")+" via punycode: "+r}}}_normalizeComponentEncoding(e,s);if(a.reference!=="suffix"&&e.scheme){i.push(e.scheme);i.push(":")}var u=_recomposeAuthority(e,a);if(u!==undefined){if(a.reference!=="suffix"){i.push("//")}i.push(u);if(e.path&&e.path.charAt(0)!=="/"){i.push("/")}}if(e.path!==undefined){var o=e.path;if(!a.absolutePath&&(!n||!n.absolutePath)){o=removeDotSegments(o)}if(u===undefined){o=o.replace(/^\/\//,"/%2F")}i.push(o)}if(e.query!==undefined){i.push("?");i.push(e.query)}if(e.fragment!==undefined){i.push("#");i.push(e.fragment)}return i.join("")}function resolveComponents(e,r){var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var a=arguments[3];var s={};if(!a){e=parse(serialize(e,t),t);r=parse(serialize(r,t),t)}t=t||{};if(!t.tolerant&&r.scheme){s.scheme=r.scheme;s.userinfo=r.userinfo;s.host=r.host;s.port=r.port;s.path=removeDotSegments(r.path||"");s.query=r.query}else{if(r.userinfo!==undefined||r.host!==undefined||r.port!==undefined){s.userinfo=r.userinfo;s.host=r.host;s.port=r.port;s.path=removeDotSegments(r.path||"");s.query=r.query}else{if(!r.path){s.path=e.path;if(r.query!==undefined){s.query=r.query}else{s.query=e.query}}else{if(r.path.charAt(0)==="/"){s.path=removeDotSegments(r.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){s.path="/"+r.path}else if(!e.path){s.path=r.path}else{s.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+r.path}s.path=removeDotSegments(s.path)}s.query=r.query}s.userinfo=e.userinfo;s.host=e.host;s.port=e.port}s.scheme=e.scheme}s.fragment=r.fragment;return s}function resolve(e,r,t){var a=assign({scheme:"null"},t);return serialize(resolveComponents(parse(e,a),parse(r,a),a,true),a)}function normalize(e,r){if(typeof e==="string"){e=serialize(parse(e,r),r)}else if(typeOf(e)==="object"){e=parse(serialize(e,r),r)}return e}function equal(e,r,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=serialize(e,t)}if(typeof r==="string"){r=serialize(parse(r,t),t)}else if(typeOf(r)==="object"){r=serialize(r,t)}return e===r}function escapeComponent(e,a){return e&&e.toString().replace(!a||!a.iri?r.ESCAPE:t.ESCAPE,pctEncChar)}function unescapeComponent(e,a){return e&&e.toString().replace(!a||!a.iri?r.PCT_ENCODED:t.PCT_ENCODED,pctDecChars)}var j={scheme:"http",domainHost:true,parse:function parse(e,r){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,r){var t=String(e.scheme).toLowerCase()==="https";if(e.port===(t?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var T={scheme:"https",domainHost:j.domainHost,parse:j.parse,serialize:j.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var L={scheme:"ws",domainHost:true,parse:function parse(e,r){var t=e;t.secure=isSecure(t);t.resourceName=(t.path||"/")+(t.query?"?"+t.query:"");t.path=undefined;t.query=undefined;return t},serialize:function serialize(e,r){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var t=e.resourceName.split("?"),s=a(t,2),i=s[0],n=s[1];e.path=i&&i!=="/"?i:undefined;e.query=n;e.resourceName=undefined}e.fragment=undefined;return e}};var M={scheme:"wss",domainHost:L.domainHost,parse:L.parse,serialize:L.serialize};var q={};var Q=true;var z="[A-Za-z0-9\\-\\.\\_\\~"+(Q?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var V="[0-9A-Fa-f]";var U=subexp(subexp("%[EFef]"+V+"%"+V+V+"%"+V+V)+"|"+subexp("%[89A-Fa-f]"+V+"%"+V+V)+"|"+subexp("%"+V+V));var H="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var J="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var G=merge(J,'[\\"\\\\]');var K="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var X=new RegExp(z,"g");var Z=new RegExp(U,"g");var Y=new RegExp(merge("[^]",H,"[\\.]",'[\\"]',G),"g");var W=new RegExp(merge("[^]",z,K),"g");var ee=W;function decodeUnreserved(e){var r=pctDecChars(e);return!r.match(X)?e:r}var re={scheme:"mailto",parse:function parse$$1(e,r){var t=e;var a=t.to=t.path?t.path.split(","):[];t.path=undefined;if(t.query){var s=false;var i={};var n=t.query.split("&");for(var u=0,o=n.length;u<o;++u){var c=n[u].split("=");switch(c[0]){case"to":var l=c[1].split(",");for(var f=0,p=l.length;f<p;++f){a.push(l[f])}break;case"subject":t.subject=unescapeComponent(c[1],r);break;case"body":t.body=unescapeComponent(c[1],r);break;default:s=true;i[unescapeComponent(c[0],r)]=unescapeComponent(c[1],r);break}}if(s)t.headers=i}t.query=undefined;for(var h=0,d=a.length;h<d;++h){var m=a[h].split("@");m[0]=unescapeComponent(m[0]);if(!r.unicodeSupport){try{m[1]=x.toASCII(unescapeComponent(m[1],r).toLowerCase())}catch(e){t.error=t.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}}else{m[1]=unescapeComponent(m[1],r).toLowerCase()}a[h]=m.join("@")}return t},serialize:function serialize$$1(e,r){var t=e;var a=toArray(e.to);if(a){for(var s=0,i=a.length;s<i;++s){var n=String(a[s]);var u=n.lastIndexOf("@");var o=n.slice(0,u).replace(Z,decodeUnreserved).replace(Z,toUpperCase).replace(Y,pctEncChar);var c=n.slice(u+1);try{c=!r.iri?x.toASCII(unescapeComponent(c,r).toLowerCase()):x.toUnicode(c)}catch(e){t.error=t.error||"Email address's domain name can not be converted to "+(!r.iri?"ASCII":"Unicode")+" via punycode: "+e}a[s]=o+"@"+c}t.path=a.join(",")}var l=e.headers=e.headers||{};if(e.subject)l["subject"]=e.subject;if(e.body)l["body"]=e.body;var f=[];for(var p in l){if(l[p]!==q[p]){f.push(p.replace(Z,decodeUnreserved).replace(Z,toUpperCase).replace(W,pctEncChar)+"="+l[p].replace(Z,decodeUnreserved).replace(Z,toUpperCase).replace(ee,pctEncChar))}}if(f.length){t.query=f.join("&")}return t}};var te=/^([^\:]+)\:(.*)/;var ae={scheme:"urn",parse:function parse$$1(e,r){var t=e.path&&e.path.match(te);var a=e;if(t){var s=r.scheme||a.scheme||"urn";var i=t[1].toLowerCase();var n=t[2];var u=s+":"+(r.nid||i);var o=R[u];a.nid=i;a.nss=n;a.path=undefined;if(o){a=o.parse(a,r)}}else{a.error=a.error||"URN can not be parsed."}return a},serialize:function serialize$$1(e,r){var t=r.scheme||e.scheme||"urn";var a=e.nid;var s=t+":"+(r.nid||a);var i=R[s];if(i){e=i.serialize(e,r)}var n=e;var u=e.nss;n.path=(a||r.nid)+":"+u;return n}};var se=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;var ie={scheme:"urn:uuid",parse:function parse(e,r){var t=e;t.uuid=t.nss;t.nss=undefined;if(!r.tolerant&&(!t.uuid||!t.uuid.match(se))){t.error=t.error||"UUID is not valid."}return t},serialize:function serialize(e,r){var t=e;t.nss=(e.uuid||"").toLowerCase();return t}};R[j.scheme]=j;R[T.scheme]=T;R[L.scheme]=L;R[M.scheme]=M;R[re.scheme]=re;R[ae.scheme]=ae;R[ie.scheme]=ie;e.SCHEMES=R;e.pctEncChar=pctEncChar;e.pctDecChars=pctDecChars;e.parse=parse;e.removeDotSegments=removeDotSegments;e.serialize=serialize;e.resolveComponents=resolveComponents;e.resolve=resolve;e.normalize=normalize;e.equal=equal;e.escapeComponent=escapeComponent;e.unescapeComponent=unescapeComponent;Object.defineProperty(e,"__esModule",{value:true})}))},7117:function(e){"use strict";e.exports=require("@umijs/bundler-utils/compiled/babel/core")},6113:function(e){"use strict";e.exports=require("crypto")},7147:function(e){"use strict";e.exports=require("fs")},2037:function(e){"use strict";e.exports=require("os")},1017:function(e){"use strict";e.exports=require("path")},3837:function(e){"use strict";e.exports=require("util")},9796:function(e){"use strict";e.exports=require("zlib")},7664:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},7136:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},5286:function(e){"use strict";e.exports=JSON.parse('{"type":"object","properties":{"cacheDirectory":{"oneOf":[{"type":"boolean"},{"type":"string"}],"default":false},"cacheIdentifier":{"type":"string"},"cacheCompression":{"type":"boolean","default":true},"customize":{"type":"string","default":null}},"additionalProperties":true}')},9325:function(e){"use strict";e.exports=JSON.parse('{"name":"babel-loader","version":"8.2.4","description":"babel module loader for webpack","files":["lib"],"main":"lib/index.js","engines":{"node":">= 8.9"},"dependencies":{"find-cache-dir":"^3.3.1","loader-utils":"^2.0.0","make-dir":"^3.1.0","schema-utils":"^2.6.5"},"peerDependencies":{"@babel/core":"^7.0.0","webpack":">=2"},"devDependencies":{"@ava/babel":"^1.0.1","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","@babel/preset-env":"^7.12.1","ava":"^3.13.0","babel-eslint":"^10.0.1","babel-plugin-istanbul":"^6.0.0","babel-plugin-react-intl":"^8.2.15","cross-env":"^7.0.2","eslint":"^7.13.0","eslint-config-babel":"^9.0.0","eslint-config-prettier":"^6.3.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-prettier":"^3.0.0","husky":"^4.3.0","lint-staged":"^10.5.1","nyc":"^15.1.0","pnp-webpack-plugin":"^1.6.4","prettier":"^2.1.2","react":"^17.0.1","react-intl":"^5.9.4","react-intl-webpack-plugin":"^0.3.0","rimraf":"^3.0.0","semver":"7.3.2","webpack":"^5.34.0"},"scripts":{"clean":"rimraf lib/","build":"babel src/ --out-dir lib/ --copy-files","format":"prettier --write --trailing-comma all \'src/**/*.js\' \'test/**/*.test.js\' \'test/helpers/*.js\' && prettier --write --trailing-comma es5 \'scripts/*.js\'","lint":"eslint src test","precommit":"lint-staged","prepublish":"yarn run clean && yarn run build","preversion":"yarn run test","test":"yarn run lint && cross-env BABEL_ENV=test yarn run build && yarn run test-only","test-only":"nyc ava"},"repository":{"type":"git","url":"https://github.com/babel/babel-loader.git"},"keywords":["webpack","loader","babel","es6","transpiler","module"],"author":"Luis Couto <hello@luiscouto.pt>","license":"MIT","bugs":{"url":"https://github.com/babel/babel-loader/issues"},"homepage":"https://github.com/babel/babel-loader","nyc":{"all":true,"include":["src/**/*.js"],"reporter":["text","json"],"sourceMap":false,"instrument":false},"ava":{"files":["test/**/*.test.js","!test/fixtures/**/*","!test/helpers/**/*"],"babel":{"compileAsTests":["test/helpers/**/*"]}},"lint-staged":{"scripts/*.js":["prettier --trailing-comma es5 --write","git add"],"src/**/*.js":["prettier --trailing-comma all --write","git add"],"test/**/*.test.js":["prettier --trailing-comma all --write","git add"],"test/helpers/*.js":["prettier --trailing-comma all --write","git add"],"package.json":["node ./scripts/yarn-install.js","git add yarn.lock"]}}')}};var r={};function __nccwpck_require__(t){var a=r[t];if(a!==undefined){return a.exports}var s=r[t]={exports:{}};var i=true;try{e[t].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete r[t]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(6050);module.exports=t})();
|
|
9
|
+
(function(e,r){true?r(t):0})(this,(function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++){t[r]=arguments[r]}if(t.length>1){t[0]=t[0].slice(0,-1);var n=t.length-1;for(var s=1;s<n;++s){t[s]=t[s].slice(1,-1)}t[n]=t[n].slice(1);return t.join("")}else{return t[0]}}function subexp(e){return"(?:"+e+")"}function typeOf(e){return e===undefined?"undefined":e===null?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(e){return e.toUpperCase()}function toArray(e){return e!==undefined&&e!==null?e instanceof Array?e:typeof e.length!=="number"||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function assign(e,t){var r=e;if(t){for(var n in t){r[n]=t[n]}}return r}function buildExps(e){var t="[A-Za-z]",r="[\\x0D]",n="[0-9]",s="[\\x22]",a=merge(n,"[A-Fa-f]"),o="[\\x0A]",i="[\\x20]",c=subexp(subexp("%[EFef]"+a+"%"+a+a+"%"+a+a)+"|"+subexp("%[89A-Fa-f]"+a+"%"+a+a)+"|"+subexp("%"+a+a)),u="[\\:\\/\\?\\#\\[\\]\\@]",l="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",f=merge(u,l),d=e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",p=e?"[\\uE000-\\uF8FF]":"[]",m=merge(t,n,"[\\-\\.\\_\\~]",d),h=subexp(t+merge(t,n,"[\\+\\-\\.]")+"*"),y=subexp(subexp(c+"|"+merge(m,l,"[\\:]"))+"*"),g=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+n)+"|"+subexp("1"+n+n)+"|"+subexp("[1-9]"+n)+"|"+n),v=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+n)+"|"+subexp("1"+n+n)+"|"+subexp("0?[1-9]"+n)+"|0?0?"+n),$=subexp(v+"\\."+v+"\\."+v+"\\."+v),b=subexp(a+"{1,4}"),E=subexp(subexp(b+"\\:"+b)+"|"+$),w=subexp(subexp(b+"\\:")+"{6}"+E),S=subexp("\\:\\:"+subexp(b+"\\:")+"{5}"+E),P=subexp(subexp(b)+"?\\:\\:"+subexp(b+"\\:")+"{4}"+E),x=subexp(subexp(subexp(b+"\\:")+"{0,1}"+b)+"?\\:\\:"+subexp(b+"\\:")+"{3}"+E),O=subexp(subexp(subexp(b+"\\:")+"{0,2}"+b)+"?\\:\\:"+subexp(b+"\\:")+"{2}"+E),N=subexp(subexp(subexp(b+"\\:")+"{0,3}"+b)+"?\\:\\:"+b+"\\:"+E),R=subexp(subexp(subexp(b+"\\:")+"{0,4}"+b)+"?\\:\\:"+E),I=subexp(subexp(subexp(b+"\\:")+"{0,5}"+b)+"?\\:\\:"+b),k=subexp(subexp(subexp(b+"\\:")+"{0,6}"+b)+"?\\:\\:"),C=subexp([w,S,P,x,O,N,R,I,k].join("|")),T=subexp(subexp(m+"|"+c)+"+"),j=subexp(C+"\\%25"+T),D=subexp(C+subexp("\\%25|\\%(?!"+a+"{2})")+T),A=subexp("[vV]"+a+"+\\."+merge(m,l,"[\\:]")+"+"),M=subexp("\\["+subexp(D+"|"+C+"|"+A)+"\\]"),L=subexp(subexp(c+"|"+merge(m,l))+"*"),F=subexp(M+"|"+$+"(?!"+L+")"+"|"+L),V=subexp(n+"*"),z=subexp(subexp(y+"@")+"?"+F+subexp("\\:"+V)+"?"),U=subexp(c+"|"+merge(m,l,"[\\:\\@]")),q=subexp(U+"*"),K=subexp(U+"+"),G=subexp(subexp(c+"|"+merge(m,l,"[\\@]"))+"+"),H=subexp(subexp("\\/"+q)+"*"),J=subexp("\\/"+subexp(K+H)+"?"),B=subexp(G+H),X=subexp(K+H),Z="(?!"+U+")",W=subexp(H+"|"+J+"|"+B+"|"+X+"|"+Z),Y=subexp(subexp(U+"|"+merge("[\\/\\?]",p))+"*"),Q=subexp(subexp(U+"|[\\/\\?]")+"*"),ee=subexp(subexp("\\/\\/"+z+H)+"|"+J+"|"+X+"|"+Z),te=subexp(h+"\\:"+ee+subexp("\\?"+Y)+"?"+subexp("\\#"+Q)+"?"),re=subexp(subexp("\\/\\/"+z+H)+"|"+J+"|"+B+"|"+Z),ne=subexp(re+subexp("\\?"+Y)+"?"+subexp("\\#"+Q)+"?"),se=subexp(te+"|"+ne),ae=subexp(h+"\\:"+ee+subexp("\\?"+Y)+"?"),oe="^("+h+")\\:"+subexp(subexp("\\/\\/("+subexp("("+y+")@")+"?("+F+")"+subexp("\\:("+V+")")+"?)")+"?("+H+"|"+J+"|"+X+"|"+Z+")")+subexp("\\?("+Y+")")+"?"+subexp("\\#("+Q+")")+"?$",ie="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+y+")@")+"?("+F+")"+subexp("\\:("+V+")")+"?)")+"?("+H+"|"+J+"|"+B+"|"+Z+")")+subexp("\\?("+Y+")")+"?"+subexp("\\#("+Q+")")+"?$",ce="^("+h+")\\:"+subexp(subexp("\\/\\/("+subexp("("+y+")@")+"?("+F+")"+subexp("\\:("+V+")")+"?)")+"?("+H+"|"+J+"|"+X+"|"+Z+")")+subexp("\\?("+Y+")")+"?$",ue="^"+subexp("\\#("+Q+")")+"?$",le="^"+subexp("("+y+")@")+"?("+F+")"+subexp("\\:("+V+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",t,n,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",m,l),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",m,l),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",m,l),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",m,l),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",m,l,"[\\:\\@\\/\\?]",p),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",m,l,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",m,l),"g"),UNRESERVED:new RegExp(m,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",m,f),"g"),PCT_ENCODED:new RegExp(c,"g"),IPV4ADDRESS:new RegExp("^("+$+")$"),IPV6ADDRESS:new RegExp("^\\[?("+C+")"+subexp(subexp("\\%25|\\%(?!"+a+"{2})")+"("+T+")")+"?\\]?$")}}var t=buildExps(false);var r=buildExps(true);var n=function(){function sliceIterator(e,t){var r=[];var n=true;var s=false;var a=undefined;try{for(var o=e[Symbol.iterator](),i;!(n=(i=o.next()).done);n=true){r.push(i.value);if(t&&r.length===t)break}}catch(e){s=true;a=e}finally{try{if(!n&&o["return"])o["return"]()}finally{if(s)throw a}}return r}return function(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else{return Array.from(e)}};var s=2147483647;var a=36;var o=1;var i=26;var c=38;var u=700;var l=72;var f=128;var d="-";var p=/^xn--/;var m=/[^\0-\x7E]/;var h=/[\x2E\u3002\uFF0E\uFF61]/g;var y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var g=a-o;var v=Math.floor;var $=String.fromCharCode;function error$1(e){throw new RangeError(y[e])}function map(e,t){var r=[];var n=e.length;while(n--){r[n]=t(e[n])}return r}function mapDomain(e,t){var r=e.split("@");var n="";if(r.length>1){n=r[0]+"@";e=r[1]}e=e.replace(h,".");var s=e.split(".");var a=map(s,t).join(".");return n+a}function ucs2decode(e){var t=[];var r=0;var n=e.length;while(r<n){var s=e.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){var a=e.charCodeAt(r++);if((a&64512)==56320){t.push(((s&1023)<<10)+(a&1023)+65536)}else{t.push(s);r--}}else{t.push(s)}}return t}var b=function ucs2encode(e){return String.fromCodePoint.apply(String,toConsumableArray(e))};var E=function basicToDigit(e){if(e-48<10){return e-22}if(e-65<26){return e-65}if(e-97<26){return e-97}return a};var w=function digitToBasic(e,t){return e+22+75*(e<26)-((t!=0)<<5)};var S=function adapt(e,t,r){var n=0;e=r?v(e/u):e>>1;e+=v(e/t);for(;e>g*i>>1;n+=a){e=v(e/g)}return v(n+(g+1)*e/(e+c))};var P=function decode(e){var t=[];var r=e.length;var n=0;var c=f;var u=l;var p=e.lastIndexOf(d);if(p<0){p=0}for(var m=0;m<p;++m){if(e.charCodeAt(m)>=128){error$1("not-basic")}t.push(e.charCodeAt(m))}for(var h=p>0?p+1:0;h<r;){var y=n;for(var g=1,$=a;;$+=a){if(h>=r){error$1("invalid-input")}var b=E(e.charCodeAt(h++));if(b>=a||b>v((s-n)/g)){error$1("overflow")}n+=b*g;var w=$<=u?o:$>=u+i?i:$-u;if(b<w){break}var P=a-w;if(g>v(s/P)){error$1("overflow")}g*=P}var x=t.length+1;u=S(n-y,x,y==0);if(v(n/x)>s-c){error$1("overflow")}c+=v(n/x);n%=x;t.splice(n++,0,c)}return String.fromCodePoint.apply(String,t)};var x=function encode(e){var t=[];e=ucs2decode(e);var r=e.length;var n=f;var c=0;var u=l;var p=true;var m=false;var h=undefined;try{for(var y=e[Symbol.iterator](),g;!(p=(g=y.next()).done);p=true){var b=g.value;if(b<128){t.push($(b))}}}catch(e){m=true;h=e}finally{try{if(!p&&y.return){y.return()}}finally{if(m){throw h}}}var E=t.length;var P=E;if(E){t.push(d)}while(P<r){var x=s;var O=true;var N=false;var R=undefined;try{for(var I=e[Symbol.iterator](),k;!(O=(k=I.next()).done);O=true){var C=k.value;if(C>=n&&C<x){x=C}}}catch(e){N=true;R=e}finally{try{if(!O&&I.return){I.return()}}finally{if(N){throw R}}}var T=P+1;if(x-n>v((s-c)/T)){error$1("overflow")}c+=(x-n)*T;n=x;var j=true;var D=false;var A=undefined;try{for(var M=e[Symbol.iterator](),L;!(j=(L=M.next()).done);j=true){var F=L.value;if(F<n&&++c>s){error$1("overflow")}if(F==n){var V=c;for(var z=a;;z+=a){var U=z<=u?o:z>=u+i?i:z-u;if(V<U){break}var q=V-U;var K=a-U;t.push($(w(U+q%K,0)));V=v(q/K)}t.push($(w(V,0)));u=S(c,T,P==E);c=0;++P}}}catch(e){D=true;A=e}finally{try{if(!j&&M.return){M.return()}}finally{if(D){throw A}}}++c;++n}return t.join("")};var O=function toUnicode(e){return mapDomain(e,(function(e){return p.test(e)?P(e.slice(4).toLowerCase()):e}))};var N=function toASCII(e){return mapDomain(e,(function(e){return m.test(e)?"xn--"+x(e):e}))};var R={version:"2.1.0",ucs2:{decode:ucs2decode,encode:b},decode:P,encode:x,toASCII:N,toUnicode:O};var I={};function pctEncChar(e){var t=e.charCodeAt(0);var r=void 0;if(t<16)r="%0"+t.toString(16).toUpperCase();else if(t<128)r="%"+t.toString(16).toUpperCase();else if(t<2048)r="%"+(t>>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else r="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return r}function pctDecChars(e){var t="";var r=0;var n=e.length;while(r<n){var s=parseInt(e.substr(r+1,2),16);if(s<128){t+=String.fromCharCode(s);r+=3}else if(s>=194&&s<224){if(n-r>=6){var a=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((s&31)<<6|a&63)}else{t+=e.substr(r,6)}r+=6}else if(s>=224){if(n-r>=9){var o=parseInt(e.substr(r+4,2),16);var i=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((s&15)<<12|(o&63)<<6|i&63)}else{t+=e.substr(r,9)}r+=9}else{t+=e.substr(r,3);r+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var r=pctDecChars(e);return!r.match(t.UNRESERVED)?e:r}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var r=e.match(t.IPV4ADDRESS)||[];var s=n(r,2),a=s[1];if(a){return a.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var r=e.match(t.IPV6ADDRESS)||[];var s=n(r,3),a=s[1],o=s[2];if(a){var i=a.toLowerCase().split("::").reverse(),c=n(i,2),u=c[0],l=c[1];var f=l?l.split(":").map(_stripLeadingZeros):[];var d=u.split(":").map(_stripLeadingZeros);var p=t.IPV4ADDRESS.test(d[d.length-1]);var m=p?7:8;var h=d.length-m;var y=Array(m);for(var g=0;g<m;++g){y[g]=f[g]||d[h+g]||""}if(p){y[m-1]=_normalizeIPv4(y[m-1],t)}var v=y.reduce((function(e,t,r){if(!t||t==="0"){var n=e[e.length-1];if(n&&n.index+n.length===r){n.length++}else{e.push({index:r,length:1})}}return e}),[]);var $=v.sort((function(e,t){return t.length-e.length}))[0];var b=void 0;if($&&$.length>1){var E=y.slice(0,$.index);var w=y.slice($.index+$.length);b=E.join(":")+"::"+w.join(":")}else{b=y.join(":")}if(o){b+="%"+o}return b}else{return e}}var k=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var C="".match(/(){0}/)[1]===undefined;function parse(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s={};var a=n.iri!==false?r:t;if(n.reference==="suffix")e=(n.scheme?n.scheme+":":"")+"//"+e;var o=e.match(k);if(o){if(C){s.scheme=o[1];s.userinfo=o[3];s.host=o[4];s.port=parseInt(o[5],10);s.path=o[6]||"";s.query=o[7];s.fragment=o[8];if(isNaN(s.port)){s.port=o[5]}}else{s.scheme=o[1]||undefined;s.userinfo=e.indexOf("@")!==-1?o[3]:undefined;s.host=e.indexOf("//")!==-1?o[4]:undefined;s.port=parseInt(o[5],10);s.path=o[6]||"";s.query=e.indexOf("?")!==-1?o[7]:undefined;s.fragment=e.indexOf("#")!==-1?o[8]:undefined;if(isNaN(s.port)){s.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:undefined}}if(s.host){s.host=_normalizeIPv6(_normalizeIPv4(s.host,a),a)}if(s.scheme===undefined&&s.userinfo===undefined&&s.host===undefined&&s.port===undefined&&!s.path&&s.query===undefined){s.reference="same-document"}else if(s.scheme===undefined){s.reference="relative"}else if(s.fragment===undefined){s.reference="absolute"}else{s.reference="uri"}if(n.reference&&n.reference!=="suffix"&&n.reference!==s.reference){s.error=s.error||"URI is not a "+n.reference+" reference."}var i=I[(n.scheme||s.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!i||!i.unicodeSupport)){if(s.host&&(n.domainHost||i&&i.domainHost)){try{s.host=R.toASCII(s.host.replace(a.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){s.error=s.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(s,t)}else{_normalizeComponentEncoding(s,a)}if(i&&i.parse){i.parse(s,n)}}else{s.error=s.error||"URI can not be parsed."}return s}function _recomposeAuthority(e,n){var s=n.iri!==false?r:t;var a=[];if(e.userinfo!==undefined){a.push(e.userinfo);a.push("@")}if(e.host!==undefined){a.push(_normalizeIPv6(_normalizeIPv4(String(e.host),s),s).replace(s.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"})))}if(typeof e.port==="number"||typeof e.port==="string"){a.push(":");a.push(String(e.port))}return a.length?a.join(""):undefined}var T=/^\.\.?\//;var j=/^\/\.(\/|$)/;var D=/^\/\.\.(\/|$)/;var A=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(T)){e=e.replace(T,"")}else if(e.match(j)){e=e.replace(j,"/")}else if(e.match(D)){e=e.replace(D,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var r=e.match(A);if(r){var n=r[0];e=e.slice(n.length);t.push(n)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var s=n.iri?r:t;var a=[];var o=I[(n.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize)o.serialize(e,n);if(e.host){if(s.IPV6ADDRESS.test(e.host)){}else if(n.domainHost||o&&o.domainHost){try{e.host=!n.iri?R.toASCII(e.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase()):R.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!n.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,s);if(n.reference!=="suffix"&&e.scheme){a.push(e.scheme);a.push(":")}var i=_recomposeAuthority(e,n);if(i!==undefined){if(n.reference!=="suffix"){a.push("//")}a.push(i);if(e.path&&e.path.charAt(0)!=="/"){a.push("/")}}if(e.path!==undefined){var c=e.path;if(!n.absolutePath&&(!o||!o.absolutePath)){c=removeDotSegments(c)}if(i===undefined){c=c.replace(/^\/\//,"/%2F")}a.push(c)}if(e.query!==undefined){a.push("?");a.push(e.query)}if(e.fragment!==undefined){a.push("#");a.push(e.fragment)}return a.join("")}function resolveComponents(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var s={};if(!n){e=parse(serialize(e,r),r);t=parse(serialize(t,r),r)}r=r||{};if(!r.tolerant&&t.scheme){s.scheme=t.scheme;s.userinfo=t.userinfo;s.host=t.host;s.port=t.port;s.path=removeDotSegments(t.path||"");s.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){s.userinfo=t.userinfo;s.host=t.host;s.port=t.port;s.path=removeDotSegments(t.path||"");s.query=t.query}else{if(!t.path){s.path=e.path;if(t.query!==undefined){s.query=t.query}else{s.query=e.query}}else{if(t.path.charAt(0)==="/"){s.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){s.path="/"+t.path}else if(!e.path){s.path=t.path}else{s.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}s.path=removeDotSegments(s.path)}s.query=t.query}s.userinfo=e.userinfo;s.host=e.host;s.port=e.port}s.scheme=e.scheme}s.fragment=t.fragment;return s}function resolve(e,t,r){var n=assign({scheme:"null"},r);return serialize(resolveComponents(parse(e,n),parse(t,n),n,true),n)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,r){if(typeof e==="string"){e=serialize(parse(e,r),r)}else if(typeOf(e)==="object"){e=serialize(e,r)}if(typeof t==="string"){t=serialize(parse(t,r),r)}else if(typeOf(t)==="object"){t=serialize(t,r)}return e===t}function escapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.ESCAPE:r.ESCAPE,pctEncChar)}function unescapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.PCT_ENCODED:r.PCT_ENCODED,pctDecChars)}var M={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){var r=String(e.scheme).toLowerCase()==="https";if(e.port===(r?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var L={scheme:"https",domainHost:M.domainHost,parse:M.parse,serialize:M.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var F={scheme:"ws",domainHost:true,parse:function parse(e,t){var r=e;r.secure=isSecure(r);r.resourceName=(r.path||"/")+(r.query?"?"+r.query:"");r.path=undefined;r.query=undefined;return r},serialize:function serialize(e,t){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var r=e.resourceName.split("?"),s=n(r,2),a=s[0],o=s[1];e.path=a&&a!=="/"?a:undefined;e.query=o;e.resourceName=undefined}e.fragment=undefined;return e}};var V={scheme:"wss",domainHost:F.domainHost,parse:F.parse,serialize:F.serialize};var z={};var U=true;var q="[A-Za-z0-9\\-\\.\\_\\~"+(U?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var K="[0-9A-Fa-f]";var G=subexp(subexp("%[EFef]"+K+"%"+K+K+"%"+K+K)+"|"+subexp("%[89A-Fa-f]"+K+"%"+K+K)+"|"+subexp("%"+K+K));var H="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var J="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var B=merge(J,'[\\"\\\\]');var X="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var Z=new RegExp(q,"g");var W=new RegExp(G,"g");var Y=new RegExp(merge("[^]",H,"[\\.]",'[\\"]',B),"g");var Q=new RegExp(merge("[^]",q,X),"g");var ee=Q;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(Z)?e:t}var te={scheme:"mailto",parse:function parse$$1(e,t){var r=e;var n=r.to=r.path?r.path.split(","):[];r.path=undefined;if(r.query){var s=false;var a={};var o=r.query.split("&");for(var i=0,c=o.length;i<c;++i){var u=o[i].split("=");switch(u[0]){case"to":var l=u[1].split(",");for(var f=0,d=l.length;f<d;++f){n.push(l[f])}break;case"subject":r.subject=unescapeComponent(u[1],t);break;case"body":r.body=unescapeComponent(u[1],t);break;default:s=true;a[unescapeComponent(u[0],t)]=unescapeComponent(u[1],t);break}}if(s)r.headers=a}r.query=undefined;for(var p=0,m=n.length;p<m;++p){var h=n[p].split("@");h[0]=unescapeComponent(h[0]);if(!t.unicodeSupport){try{h[1]=R.toASCII(unescapeComponent(h[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}}else{h[1]=unescapeComponent(h[1],t).toLowerCase()}n[p]=h.join("@")}return r},serialize:function serialize$$1(e,t){var r=e;var n=toArray(e.to);if(n){for(var s=0,a=n.length;s<a;++s){var o=String(n[s]);var i=o.lastIndexOf("@");var c=o.slice(0,i).replace(W,decodeUnreserved).replace(W,toUpperCase).replace(Y,pctEncChar);var u=o.slice(i+1);try{u=!t.iri?R.toASCII(unescapeComponent(u,t).toLowerCase()):R.toUnicode(u)}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(!t.iri?"ASCII":"Unicode")+" via punycode: "+e}n[s]=c+"@"+u}r.path=n.join(",")}var l=e.headers=e.headers||{};if(e.subject)l["subject"]=e.subject;if(e.body)l["body"]=e.body;var f=[];for(var d in l){if(l[d]!==z[d]){f.push(d.replace(W,decodeUnreserved).replace(W,toUpperCase).replace(Q,pctEncChar)+"="+l[d].replace(W,decodeUnreserved).replace(W,toUpperCase).replace(ee,pctEncChar))}}if(f.length){r.query=f.join("&")}return r}};var re=/^([^\:]+)\:(.*)/;var ne={scheme:"urn",parse:function parse$$1(e,t){var r=e.path&&e.path.match(re);var n=e;if(r){var s=t.scheme||n.scheme||"urn";var a=r[1].toLowerCase();var o=r[2];var i=s+":"+(t.nid||a);var c=I[i];n.nid=a;n.nss=o;n.path=undefined;if(c){n=c.parse(n,t)}}else{n.error=n.error||"URN can not be parsed."}return n},serialize:function serialize$$1(e,t){var r=t.scheme||e.scheme||"urn";var n=e.nid;var s=r+":"+(t.nid||n);var a=I[s];if(a){e=a.serialize(e,t)}var o=e;var i=e.nss;o.path=(n||t.nid)+":"+i;return o}};var se=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;var ae={scheme:"urn:uuid",parse:function parse(e,t){var r=e;r.uuid=r.nss;r.nss=undefined;if(!t.tolerant&&(!r.uuid||!r.uuid.match(se))){r.error=r.error||"UUID is not valid."}return r},serialize:function serialize(e,t){var r=e;r.nss=(e.uuid||"").toLowerCase();return r}};I[M.scheme]=M;I[L.scheme]=L;I[F.scheme]=F;I[V.scheme]=V;I[te.scheme]=te;I[ne.scheme]=ne;I[ae.scheme]=ae;e.SCHEMES=I;e.pctEncChar=pctEncChar;e.pctDecChars=pctDecChars;e.parse=parse;e.removeDotSegments=removeDotSegments;e.serialize=serialize;e.resolveComponents=resolveComponents;e.resolve=resolve;e.normalize=normalize;e.equal=equal;e.escapeComponent=escapeComponent;e.unescapeComponent=unescapeComponent;Object.defineProperty(e,"__esModule",{value:true})}))},7117:function(e){"use strict";e.exports=require("@umijs/bundler-utils/compiled/babel/core")},6113:function(e){"use strict";e.exports=require("crypto")},7147:function(e){"use strict";e.exports=require("fs")},3292:function(e){"use strict";e.exports=require("fs/promises")},2037:function(e){"use strict";e.exports=require("os")},1017:function(e){"use strict";e.exports=require("path")},3837:function(e){"use strict";e.exports=require("util")},9796:function(e){"use strict";e.exports=require("zlib")},7918:function(e){"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},9520:function(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},5751:function(e){"use strict";e.exports=JSON.parse('{"type":"object","properties":{"cacheDirectory":{"oneOf":[{"type":"boolean"},{"type":"string"}],"default":false},"cacheIdentifier":{"type":"string"},"cacheCompression":{"type":"boolean","default":true},"customize":{"type":"string","default":null}},"additionalProperties":true}')},2096:function(e){"use strict";e.exports=JSON.parse('{"name":"babel-loader","version":"9.1.2","description":"babel module loader for webpack","files":["lib"],"main":"lib/index.js","engines":{"node":">= 14.15.0"},"dependencies":{"find-cache-dir":"^3.3.2","schema-utils":"^4.0.0"},"peerDependencies":{"@babel/core":"^7.12.0","webpack":">=5"},"devDependencies":{"@ava/babel":"^1.0.1","@babel/cli":"^7.19.3","@babel/core":"^7.19.6","@babel/preset-env":"^7.19.4","ava":"^3.13.0","babel-eslint":"^10.1.0","babel-plugin-istanbul":"^6.1.1","babel-plugin-react-intl":"^8.2.25","cross-env":"^7.0.2","eslint":"^7.13.0","eslint-config-babel":"^9.0.0","eslint-config-prettier":"^6.3.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-prettier":"^3.0.0","husky":"^4.3.0","lint-staged":"^10.5.1","nyc":"^15.1.0","pnp-webpack-plugin":"^1.6.4","prettier":"^2.1.2","react":"^17.0.1","react-intl":"^5.9.4","react-intl-webpack-plugin":"^0.3.0","rimraf":"^3.0.0","semver":"7.3.2","webpack":"^5.74.0"},"scripts":{"clean":"rimraf lib/","build":"babel src/ --out-dir lib/ --copy-files","format":"prettier --write --trailing-comma all \'src/**/*.js\' \'test/**/*.test.js\' \'test/helpers/*.js\' && prettier --write --trailing-comma es5 \'scripts/*.js\'","lint":"eslint src test","precommit":"lint-staged","prepublish":"yarn run clean && yarn run build","preversion":"yarn run test","test":"yarn run lint && cross-env BABEL_ENV=test yarn run build && yarn run test-only","test-only":"nyc ava"},"repository":{"type":"git","url":"https://github.com/babel/babel-loader.git"},"keywords":["webpack","loader","babel","es6","transpiler","module"],"author":"Luis Couto <hello@luiscouto.pt>","license":"MIT","bugs":{"url":"https://github.com/babel/babel-loader/issues"},"homepage":"https://github.com/babel/babel-loader","nyc":{"all":true,"include":["src/**/*.js"],"reporter":["text","json"],"sourceMap":false,"instrument":false},"ava":{"files":["test/**/*.test.js","!test/fixtures/**/*","!test/helpers/**/*"],"babel":{"compileAsTests":["test/helpers/**/*"]}},"lint-staged":{"scripts/*.js":["prettier --trailing-comma es5 --write","git add"],"src/**/*.js":["prettier --trailing-comma all --write","git add"],"test/**/*.test.js":["prettier --trailing-comma all --write","git add"],"test/helpers/*.js":["prettier --trailing-comma all --write","git add"],"package.json":["node ./scripts/yarn-install.js","git add yarn.lock"]},"resolutions":{"nyc/node-preload":"0.2.0"}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={exports:{}};var a=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);a=false}finally{if(a)delete t[r]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(9344);module.exports=r})();
|