@atxp/client 0.2.22 → 0.4.0
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/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/ajv.js +8 -0
- package/dist/_virtual/ajv.js.map +1 -0
- package/dist/_virtual/cache.js +4 -0
- package/dist/_virtual/cache.js.map +1 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/uri.all.js +4 -0
- package/dist/_virtual/uri.all.js.map +1 -0
- package/dist/atxpAccount.js +4 -2
- package/dist/atxpAccount.js.map +1 -1
- package/dist/atxpClient.js +12 -10
- package/dist/atxpClient.js.map +1 -1
- package/dist/atxpFetcher.js +10 -8
- package/dist/atxpFetcher.js.map +1 -1
- package/dist/baseAccount.js +5 -3
- package/dist/baseAccount.js.map +1 -1
- package/dist/baseConstants.js +4 -0
- package/dist/baseConstants.js.map +1 -0
- package/dist/basePaymentMaker.js +15 -12
- package/dist/basePaymentMaker.js.map +1 -1
- package/dist/index.cjs +16198 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +250 -10
- package/dist/index.js +16161 -10
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js +668 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js +273 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js +378 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js +162 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js +46 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js +192 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +418 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +1 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +1313 -0
- package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +1 -0
- package/dist/node_modules/ajv/lib/ajv.js +531 -0
- package/dist/node_modules/ajv/lib/ajv.js.map +1 -0
- package/dist/node_modules/ajv/lib/cache.js +37 -0
- package/dist/node_modules/ajv/lib/cache.js.map +1 -0
- package/dist/node_modules/ajv/lib/compile/async.js +102 -0
- package/dist/node_modules/ajv/lib/compile/async.js.map +1 -0
- package/dist/node_modules/ajv/lib/compile/error_classes.js +46 -0
- package/dist/node_modules/ajv/lib/compile/error_classes.js.map +1 -0
- package/dist/node_modules/ajv/lib/compile/formats.js +154 -0
- package/dist/node_modules/ajv/lib/compile/formats.js.map +1 -0
- package/dist/node_modules/ajv/lib/compile/index.js +404 -0
- package/dist/node_modules/ajv/lib/compile/index.js.map +1 -0
- package/dist/node_modules/ajv/lib/compile/resolve.js +286 -0
- package/dist/node_modules/ajv/lib/compile/resolve.js.map +1 -0
- package/dist/node_modules/ajv/lib/compile/rules.js +79 -0
- package/dist/node_modules/ajv/lib/compile/rules.js.map +1 -0
- package/dist/node_modules/ajv/lib/compile/schema_obj.js +21 -0
- package/dist/node_modules/ajv/lib/compile/schema_obj.js.map +1 -0
- package/dist/node_modules/ajv/lib/compile/ucs2length.js +30 -0
- package/dist/node_modules/ajv/lib/compile/ucs2length.js.map +1 -0
- package/dist/node_modules/ajv/lib/compile/util.js +252 -0
- package/dist/node_modules/ajv/lib/compile/util.js.map +1 -0
- package/dist/node_modules/ajv/lib/data.js +59 -0
- package/dist/node_modules/ajv/lib/data.js.map +1 -0
- package/dist/node_modules/ajv/lib/definition_schema.js +49 -0
- package/dist/node_modules/ajv/lib/definition_schema.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/_limit.js +173 -0
- package/dist/node_modules/ajv/lib/dotjs/_limit.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/_limitItems.js +90 -0
- package/dist/node_modules/ajv/lib/dotjs/_limitItems.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/_limitLength.js +95 -0
- package/dist/node_modules/ajv/lib/dotjs/_limitLength.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/_limitProperties.js +90 -0
- package/dist/node_modules/ajv/lib/dotjs/_limitProperties.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/allOf.js +52 -0
- package/dist/node_modules/ajv/lib/dotjs/allOf.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/anyOf.js +83 -0
- package/dist/node_modules/ajv/lib/dotjs/anyOf.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/comment.js +24 -0
- package/dist/node_modules/ajv/lib/dotjs/comment.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/const.js +62 -0
- package/dist/node_modules/ajv/lib/dotjs/const.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/contains.js +91 -0
- package/dist/node_modules/ajv/lib/dotjs/contains.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/custom.js +238 -0
- package/dist/node_modules/ajv/lib/dotjs/custom.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/dependencies.js +178 -0
- package/dist/node_modules/ajv/lib/dotjs/dependencies.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/enum.js +72 -0
- package/dist/node_modules/ajv/lib/dotjs/enum.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/format.js +160 -0
- package/dist/node_modules/ajv/lib/dotjs/format.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/if.js +113 -0
- package/dist/node_modules/ajv/lib/dotjs/if.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/index.js +68 -0
- package/dist/node_modules/ajv/lib/dotjs/index.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/items.js +150 -0
- package/dist/node_modules/ajv/lib/dotjs/items.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/multipleOf.js +90 -0
- package/dist/node_modules/ajv/lib/dotjs/multipleOf.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/not.js +94 -0
- package/dist/node_modules/ajv/lib/dotjs/not.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/oneOf.js +83 -0
- package/dist/node_modules/ajv/lib/dotjs/oneOf.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/pattern.js +85 -0
- package/dist/node_modules/ajv/lib/dotjs/pattern.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/properties.js +345 -0
- package/dist/node_modules/ajv/lib/dotjs/properties.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/propertyNames.js +91 -0
- package/dist/node_modules/ajv/lib/dotjs/propertyNames.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/ref.js +134 -0
- package/dist/node_modules/ajv/lib/dotjs/ref.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/required.js +276 -0
- package/dist/node_modules/ajv/lib/dotjs/required.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/uniqueItems.js +96 -0
- package/dist/node_modules/ajv/lib/dotjs/uniqueItems.js.map +1 -0
- package/dist/node_modules/ajv/lib/dotjs/validate.js +492 -0
- package/dist/node_modules/ajv/lib/dotjs/validate.js.map +1 -0
- package/dist/node_modules/ajv/lib/keyword.js +159 -0
- package/dist/node_modules/ajv/lib/keyword.js.map +1 -0
- package/dist/node_modules/ajv/lib/refs/data.json.js +33 -0
- package/dist/node_modules/ajv/lib/refs/data.json.js.map +1 -0
- package/dist/node_modules/ajv/lib/refs/json-schema-draft-07.json.js +254 -0
- package/dist/node_modules/ajv/lib/refs/json-schema-draft-07.json.js.map +1 -0
- package/dist/node_modules/eventsource-parser/dist/index.js +104 -0
- package/dist/node_modules/eventsource-parser/dist/index.js.map +1 -0
- package/dist/node_modules/eventsource-parser/dist/stream.js +28 -0
- package/dist/node_modules/eventsource-parser/dist/stream.js.map +1 -0
- package/dist/node_modules/fast-deep-equal/index.js +56 -0
- package/dist/node_modules/fast-deep-equal/index.js.map +1 -0
- package/dist/node_modules/fast-json-stable-stringify/index.js +69 -0
- package/dist/node_modules/fast-json-stable-stringify/index.js.map +1 -0
- package/dist/node_modules/json-schema-traverse/index.js +100 -0
- package/dist/node_modules/json-schema-traverse/index.js.map +1 -0
- package/dist/node_modules/pkce-challenge/dist/index.browser.js +66 -0
- package/dist/node_modules/pkce-challenge/dist/index.browser.js.map +1 -0
- package/dist/node_modules/uri-js/dist/es5/uri.all.js +1418 -0
- package/dist/node_modules/uri-js/dist/es5/uri.all.js.map +1 -0
- package/dist/node_modules/zod/v3/ZodError.js +133 -0
- package/dist/node_modules/zod/v3/ZodError.js.map +1 -0
- package/dist/node_modules/zod/v3/errors.js +9 -0
- package/dist/node_modules/zod/v3/errors.js.map +1 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js.map +1 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +112 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js.map +1 -0
- package/dist/node_modules/zod/v3/helpers/util.js +136 -0
- package/dist/node_modules/zod/v3/helpers/util.js.map +1 -0
- package/dist/node_modules/zod/v3/locales/en.js +112 -0
- package/dist/node_modules/zod/v3/locales/en.js.map +1 -0
- package/dist/node_modules/zod/v3/types.js +3491 -0
- package/dist/node_modules/zod/v3/types.js.map +1 -0
- package/dist/oAuth.js +7 -6
- package/dist/oAuth.js.map +1 -1
- package/dist/solanaAccount.js +7 -4
- package/dist/solanaAccount.js.map +1 -1
- package/dist/solanaPaymentMaker.js +13 -11
- package/dist/solanaPaymentMaker.js.map +1 -1
- package/dist/types.js +5 -3
- package/dist/types.js.map +1 -1
- package/package.json +26 -10
- package/dist/atxpAccount.d.ts +0 -13
- package/dist/atxpAccount.d.ts.map +0 -1
- package/dist/atxpClient.d.ts +0 -14
- package/dist/atxpClient.d.ts.map +0 -1
- package/dist/atxpFetcher.d.ts +0 -72
- package/dist/atxpFetcher.d.ts.map +0 -1
- package/dist/baseAccount.d.ts +0 -10
- package/dist/baseAccount.d.ts.map +0 -1
- package/dist/basePaymentMaker.d.ts +0 -16
- package/dist/basePaymentMaker.d.ts.map +0 -1
- package/dist/clientTestHelpers.d.ts +0 -6
- package/dist/clientTestHelpers.d.ts.map +0 -1
- package/dist/clientTestHelpers.js +0 -94
- package/dist/clientTestHelpers.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/oAuth.d.ts +0 -44
- package/dist/oAuth.d.ts.map +0 -1
- package/dist/setup.expo.d.ts +0 -2
- package/dist/setup.expo.d.ts.map +0 -1
- package/dist/setup.expo.js +0 -30
- package/dist/setup.expo.js.map +0 -1
- package/dist/solanaAccount.d.ts +0 -9
- package/dist/solanaAccount.d.ts.map +0 -1
- package/dist/solanaPaymentMaker.d.ts +0 -18
- package/dist/solanaPaymentMaker.d.ts.map +0 -1
- package/dist/types.d.ts +0 -70
- package/dist/types.d.ts.map +0 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
var _limitItems;
|
|
2
|
+
var hasRequired_limitItems;
|
|
3
|
+
|
|
4
|
+
function require_limitItems () {
|
|
5
|
+
if (hasRequired_limitItems) return _limitItems;
|
|
6
|
+
hasRequired_limitItems = 1;
|
|
7
|
+
_limitItems = function generate__limitItems(it, $keyword, $ruleType) {
|
|
8
|
+
var out = ' ';
|
|
9
|
+
var $lvl = it.level;
|
|
10
|
+
var $dataLvl = it.dataLevel;
|
|
11
|
+
var $schema = it.schema[$keyword];
|
|
12
|
+
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
+
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
+
var $breakOnError = !it.opts.allErrors;
|
|
15
|
+
var $errorKeyword;
|
|
16
|
+
var $data = 'data' + ($dataLvl || '');
|
|
17
|
+
var $isData = it.opts.$data && $schema && $schema.$data,
|
|
18
|
+
$schemaValue;
|
|
19
|
+
if ($isData) {
|
|
20
|
+
out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';
|
|
21
|
+
$schemaValue = 'schema' + $lvl;
|
|
22
|
+
} else {
|
|
23
|
+
$schemaValue = $schema;
|
|
24
|
+
}
|
|
25
|
+
if (!($isData || typeof $schema == 'number')) {
|
|
26
|
+
throw new Error($keyword + ' must be number');
|
|
27
|
+
}
|
|
28
|
+
var $op = $keyword == 'maxItems' ? '>' : '<';
|
|
29
|
+
out += 'if ( ';
|
|
30
|
+
if ($isData) {
|
|
31
|
+
out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || ';
|
|
32
|
+
}
|
|
33
|
+
out += ' ' + ($data) + '.length ' + ($op) + ' ' + ($schemaValue) + ') { ';
|
|
34
|
+
var $errorKeyword = $keyword;
|
|
35
|
+
var $$outStack = $$outStack || [];
|
|
36
|
+
$$outStack.push(out);
|
|
37
|
+
out = ''; /* istanbul ignore else */
|
|
38
|
+
if (it.createErrors !== false) {
|
|
39
|
+
out += ' { keyword: \'' + ($errorKeyword || '_limitItems') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';
|
|
40
|
+
if (it.opts.messages !== false) {
|
|
41
|
+
out += ' , message: \'should NOT have ';
|
|
42
|
+
if ($keyword == 'maxItems') {
|
|
43
|
+
out += 'more';
|
|
44
|
+
} else {
|
|
45
|
+
out += 'fewer';
|
|
46
|
+
}
|
|
47
|
+
out += ' than ';
|
|
48
|
+
if ($isData) {
|
|
49
|
+
out += '\' + ' + ($schemaValue) + ' + \'';
|
|
50
|
+
} else {
|
|
51
|
+
out += '' + ($schema);
|
|
52
|
+
}
|
|
53
|
+
out += ' items\' ';
|
|
54
|
+
}
|
|
55
|
+
if (it.opts.verbose) {
|
|
56
|
+
out += ' , schema: ';
|
|
57
|
+
if ($isData) {
|
|
58
|
+
out += 'validate.schema' + ($schemaPath);
|
|
59
|
+
} else {
|
|
60
|
+
out += '' + ($schema);
|
|
61
|
+
}
|
|
62
|
+
out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
63
|
+
}
|
|
64
|
+
out += ' } ';
|
|
65
|
+
} else {
|
|
66
|
+
out += ' {} ';
|
|
67
|
+
}
|
|
68
|
+
var __err = out;
|
|
69
|
+
out = $$outStack.pop();
|
|
70
|
+
if (!it.compositeRule && $breakOnError) {
|
|
71
|
+
/* istanbul ignore if */
|
|
72
|
+
if (it.async) {
|
|
73
|
+
out += ' throw new ValidationError([' + (__err) + ']); ';
|
|
74
|
+
} else {
|
|
75
|
+
out += ' validate.errors = [' + (__err) + ']; return false; ';
|
|
76
|
+
}
|
|
77
|
+
} else {
|
|
78
|
+
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
79
|
+
}
|
|
80
|
+
out += '} ';
|
|
81
|
+
if ($breakOnError) {
|
|
82
|
+
out += ' else { ';
|
|
83
|
+
}
|
|
84
|
+
return out;
|
|
85
|
+
};
|
|
86
|
+
return _limitItems;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export { require_limitItems as __require };
|
|
90
|
+
//# sourceMappingURL=_limitItems.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_limitItems.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/_limitItems.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate__limitItems(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!($isData || typeof $schema == 'number')) {\n throw new Error($keyword + ' must be number');\n }\n var $op = $keyword == 'maxItems' ? '>' : '<';\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' ' + ($data) + '.length ' + ($op) + ' ' + ($schemaValue) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limitItems') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have ';\n if ($keyword == 'maxItems') {\n out += 'more';\n } else {\n out += 'fewer';\n }\n out += ' than ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + ($schema);\n }\n out += ' items\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,WAAc,GAAG,SAAS,oBAAoB,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GACtE,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS;AACxC,GAAE,IAAI,aAAa;GACjB,IAAI,KAAK,GAAG,MAAM,IAAI,QAAQ,IAAI,EAAE,CAAC;AACvC,GAAE,IAAI,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,OAAO,CAAC,KAAK;AACzD,KAAI,YAAY;GACd,IAAI,OAAO,EAAE;KACX,GAAG,IAAI,aAAa,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,EAAE,C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GAAG,IAAI,IAAI;GACX,IAAI,aAAa,EAAE;KACjB,GAAG,IAAI,UAAU;AACrB,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
var _limitLength;
|
|
2
|
+
var hasRequired_limitLength;
|
|
3
|
+
|
|
4
|
+
function require_limitLength () {
|
|
5
|
+
if (hasRequired_limitLength) return _limitLength;
|
|
6
|
+
hasRequired_limitLength = 1;
|
|
7
|
+
_limitLength = function generate__limitLength(it, $keyword, $ruleType) {
|
|
8
|
+
var out = ' ';
|
|
9
|
+
var $lvl = it.level;
|
|
10
|
+
var $dataLvl = it.dataLevel;
|
|
11
|
+
var $schema = it.schema[$keyword];
|
|
12
|
+
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
+
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
+
var $breakOnError = !it.opts.allErrors;
|
|
15
|
+
var $errorKeyword;
|
|
16
|
+
var $data = 'data' + ($dataLvl || '');
|
|
17
|
+
var $isData = it.opts.$data && $schema && $schema.$data,
|
|
18
|
+
$schemaValue;
|
|
19
|
+
if ($isData) {
|
|
20
|
+
out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';
|
|
21
|
+
$schemaValue = 'schema' + $lvl;
|
|
22
|
+
} else {
|
|
23
|
+
$schemaValue = $schema;
|
|
24
|
+
}
|
|
25
|
+
if (!($isData || typeof $schema == 'number')) {
|
|
26
|
+
throw new Error($keyword + ' must be number');
|
|
27
|
+
}
|
|
28
|
+
var $op = $keyword == 'maxLength' ? '>' : '<';
|
|
29
|
+
out += 'if ( ';
|
|
30
|
+
if ($isData) {
|
|
31
|
+
out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || ';
|
|
32
|
+
}
|
|
33
|
+
if (it.opts.unicode === false) {
|
|
34
|
+
out += ' ' + ($data) + '.length ';
|
|
35
|
+
} else {
|
|
36
|
+
out += ' ucs2length(' + ($data) + ') ';
|
|
37
|
+
}
|
|
38
|
+
out += ' ' + ($op) + ' ' + ($schemaValue) + ') { ';
|
|
39
|
+
var $errorKeyword = $keyword;
|
|
40
|
+
var $$outStack = $$outStack || [];
|
|
41
|
+
$$outStack.push(out);
|
|
42
|
+
out = ''; /* istanbul ignore else */
|
|
43
|
+
if (it.createErrors !== false) {
|
|
44
|
+
out += ' { keyword: \'' + ($errorKeyword || '_limitLength') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';
|
|
45
|
+
if (it.opts.messages !== false) {
|
|
46
|
+
out += ' , message: \'should NOT be ';
|
|
47
|
+
if ($keyword == 'maxLength') {
|
|
48
|
+
out += 'longer';
|
|
49
|
+
} else {
|
|
50
|
+
out += 'shorter';
|
|
51
|
+
}
|
|
52
|
+
out += ' than ';
|
|
53
|
+
if ($isData) {
|
|
54
|
+
out += '\' + ' + ($schemaValue) + ' + \'';
|
|
55
|
+
} else {
|
|
56
|
+
out += '' + ($schema);
|
|
57
|
+
}
|
|
58
|
+
out += ' characters\' ';
|
|
59
|
+
}
|
|
60
|
+
if (it.opts.verbose) {
|
|
61
|
+
out += ' , schema: ';
|
|
62
|
+
if ($isData) {
|
|
63
|
+
out += 'validate.schema' + ($schemaPath);
|
|
64
|
+
} else {
|
|
65
|
+
out += '' + ($schema);
|
|
66
|
+
}
|
|
67
|
+
out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
68
|
+
}
|
|
69
|
+
out += ' } ';
|
|
70
|
+
} else {
|
|
71
|
+
out += ' {} ';
|
|
72
|
+
}
|
|
73
|
+
var __err = out;
|
|
74
|
+
out = $$outStack.pop();
|
|
75
|
+
if (!it.compositeRule && $breakOnError) {
|
|
76
|
+
/* istanbul ignore if */
|
|
77
|
+
if (it.async) {
|
|
78
|
+
out += ' throw new ValidationError([' + (__err) + ']); ';
|
|
79
|
+
} else {
|
|
80
|
+
out += ' validate.errors = [' + (__err) + ']; return false; ';
|
|
81
|
+
}
|
|
82
|
+
} else {
|
|
83
|
+
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
84
|
+
}
|
|
85
|
+
out += '} ';
|
|
86
|
+
if ($breakOnError) {
|
|
87
|
+
out += ' else { ';
|
|
88
|
+
}
|
|
89
|
+
return out;
|
|
90
|
+
};
|
|
91
|
+
return _limitLength;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export { require_limitLength as __require };
|
|
95
|
+
//# sourceMappingURL=_limitLength.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_limitLength.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/_limitLength.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate__limitLength(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!($isData || typeof $schema == 'number')) {\n throw new Error($keyword + ' must be number');\n }\n var $op = $keyword == 'maxLength' ? '>' : '<';\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n if (it.opts.unicode === false) {\n out += ' ' + ($data) + '.length ';\n } else {\n out += ' ucs2length(' + ($data) + ') ';\n }\n out += ' ' + ($op) + ' ' + ($schemaValue) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limitLength') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT be ';\n if ($keyword == 'maxLength') {\n out += 'longer';\n } else {\n out += 'shorter';\n }\n out += ' than ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + ($schema);\n }\n out += ' characters\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,YAAc,GAAG,SAAS,qBAAqB,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GACvE,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,G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B,IAAI,WAAW,CAAC;AAChD,OAAA,CAAO,MAAM;AACb,SAAQ,GAAG,IAAI,EAAE,IAAI,OAAO,CAAC;AAC7B,OAAA;AACA,OAAM,GAAG,IAAI,0CAA0C,IAAI,EAAE,CAAC,UAAU,CAAC,GAAG,WAAW,IAAI,KAAK,CAAC,GAAG,GAAG;AACvG,KAAA;KACI,GAAG,IAAI,KAAK;AAChB,GAAA,CAAG,MAAM;KACL,GAAG,IAAI,MAAM;AACjB,GAAA;GACE,IAAI,KAAK,GAAG,GAAG;AACjB,GAAE,GAAG,GAAG,UAAU,CAAC,GAAG,EAAE;AACxB,GAAE,IAAI,CAAC,EAAE,CAAC,aAAa,IAAI,aAAa,EAAE;AAC1C;AACA,KAAI,IAAI,EAAE,CAAC,KAAK,EAAE;AAClB,OAAM,GAAG,IAAI,8BAA8B,IAAI,KAAK,CAAC,GAAG,MAAM;AAC9D,KAAA,CAAK,MAAM;AACX,OAAM,GAAG,IAAI,sBAAsB,IAAI,KAAK,CAAC,GAAG,mBAAmB;AACnE,KAAA;AACA,GAAA,CAAG,MAAM;AACT,KAAI,GAAG,IAAI,aAAa,IAAI,KAAK,CAAC,GAAG,8EAA8E;AACnH,GAAA;GACE,GAAG,IAAI,IAAI;GACX,IAAI,aAAa,EAAE;KACjB,GAAG,IAAI,UAAU;AACrB,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
var _limitProperties;
|
|
2
|
+
var hasRequired_limitProperties;
|
|
3
|
+
|
|
4
|
+
function require_limitProperties () {
|
|
5
|
+
if (hasRequired_limitProperties) return _limitProperties;
|
|
6
|
+
hasRequired_limitProperties = 1;
|
|
7
|
+
_limitProperties = function generate__limitProperties(it, $keyword, $ruleType) {
|
|
8
|
+
var out = ' ';
|
|
9
|
+
var $lvl = it.level;
|
|
10
|
+
var $dataLvl = it.dataLevel;
|
|
11
|
+
var $schema = it.schema[$keyword];
|
|
12
|
+
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
+
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
+
var $breakOnError = !it.opts.allErrors;
|
|
15
|
+
var $errorKeyword;
|
|
16
|
+
var $data = 'data' + ($dataLvl || '');
|
|
17
|
+
var $isData = it.opts.$data && $schema && $schema.$data,
|
|
18
|
+
$schemaValue;
|
|
19
|
+
if ($isData) {
|
|
20
|
+
out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';
|
|
21
|
+
$schemaValue = 'schema' + $lvl;
|
|
22
|
+
} else {
|
|
23
|
+
$schemaValue = $schema;
|
|
24
|
+
}
|
|
25
|
+
if (!($isData || typeof $schema == 'number')) {
|
|
26
|
+
throw new Error($keyword + ' must be number');
|
|
27
|
+
}
|
|
28
|
+
var $op = $keyword == 'maxProperties' ? '>' : '<';
|
|
29
|
+
out += 'if ( ';
|
|
30
|
+
if ($isData) {
|
|
31
|
+
out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'number\') || ';
|
|
32
|
+
}
|
|
33
|
+
out += ' Object.keys(' + ($data) + ').length ' + ($op) + ' ' + ($schemaValue) + ') { ';
|
|
34
|
+
var $errorKeyword = $keyword;
|
|
35
|
+
var $$outStack = $$outStack || [];
|
|
36
|
+
$$outStack.push(out);
|
|
37
|
+
out = ''; /* istanbul ignore else */
|
|
38
|
+
if (it.createErrors !== false) {
|
|
39
|
+
out += ' { keyword: \'' + ($errorKeyword || '_limitProperties') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';
|
|
40
|
+
if (it.opts.messages !== false) {
|
|
41
|
+
out += ' , message: \'should NOT have ';
|
|
42
|
+
if ($keyword == 'maxProperties') {
|
|
43
|
+
out += 'more';
|
|
44
|
+
} else {
|
|
45
|
+
out += 'fewer';
|
|
46
|
+
}
|
|
47
|
+
out += ' than ';
|
|
48
|
+
if ($isData) {
|
|
49
|
+
out += '\' + ' + ($schemaValue) + ' + \'';
|
|
50
|
+
} else {
|
|
51
|
+
out += '' + ($schema);
|
|
52
|
+
}
|
|
53
|
+
out += ' properties\' ';
|
|
54
|
+
}
|
|
55
|
+
if (it.opts.verbose) {
|
|
56
|
+
out += ' , schema: ';
|
|
57
|
+
if ($isData) {
|
|
58
|
+
out += 'validate.schema' + ($schemaPath);
|
|
59
|
+
} else {
|
|
60
|
+
out += '' + ($schema);
|
|
61
|
+
}
|
|
62
|
+
out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
63
|
+
}
|
|
64
|
+
out += ' } ';
|
|
65
|
+
} else {
|
|
66
|
+
out += ' {} ';
|
|
67
|
+
}
|
|
68
|
+
var __err = out;
|
|
69
|
+
out = $$outStack.pop();
|
|
70
|
+
if (!it.compositeRule && $breakOnError) {
|
|
71
|
+
/* istanbul ignore if */
|
|
72
|
+
if (it.async) {
|
|
73
|
+
out += ' throw new ValidationError([' + (__err) + ']); ';
|
|
74
|
+
} else {
|
|
75
|
+
out += ' validate.errors = [' + (__err) + ']; return false; ';
|
|
76
|
+
}
|
|
77
|
+
} else {
|
|
78
|
+
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
79
|
+
}
|
|
80
|
+
out += '} ';
|
|
81
|
+
if ($breakOnError) {
|
|
82
|
+
out += ' else { ';
|
|
83
|
+
}
|
|
84
|
+
return out;
|
|
85
|
+
};
|
|
86
|
+
return _limitProperties;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export { require_limitProperties as __require };
|
|
90
|
+
//# sourceMappingURL=_limitProperties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_limitProperties.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/_limitProperties.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate__limitProperties(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!($isData || typeof $schema == 'number')) {\n throw new Error($keyword + ' must be number');\n }\n var $op = $keyword == 'maxProperties' ? '>' : '<';\n out += 'if ( ';\n if ($isData) {\n out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \\'number\\') || ';\n }\n out += ' Object.keys(' + ($data) + ').length ' + ($op) + ' ' + ($schemaValue) + ') { ';\n var $errorKeyword = $keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || '_limitProperties') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { limit: ' + ($schemaValue) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should NOT have ';\n if ($keyword == 'maxProperties') {\n out += 'more';\n } else {\n out += 'fewer';\n }\n out += ' than ';\n if ($isData) {\n out += '\\' + ' + ($schemaValue) + ' + \\'';\n } else {\n out += '' + ($schema);\n }\n out += ' properties\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: ';\n if ($isData) {\n out += 'validate.schema' + ($schemaPath);\n } else {\n out += '' + ($schema);\n }\n out += ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += '} ';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,gBAAc,GAAG,SAAS,yBAAyB,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GAC3E,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS;AACxC,GAAE,IAAI,aAAa;GACjB,IAAI,KAAK,GAAG,MAAM,IAAI,QAAQ,IAAI,EAAE,CAAC;AACvC,GAAE,IAAI,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,OAAO,CAAC,KAAK;AACzD,KAAI,YAAY;GACd,IAAI,OAAO,EAAE;KACX,GAAG,IAAI,aAAa,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,EAAE,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AAU;AACrB,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
var allOf;
|
|
2
|
+
var hasRequiredAllOf;
|
|
3
|
+
|
|
4
|
+
function requireAllOf () {
|
|
5
|
+
if (hasRequiredAllOf) return allOf;
|
|
6
|
+
hasRequiredAllOf = 1;
|
|
7
|
+
allOf = function generate_allOf(it, $keyword, $ruleType) {
|
|
8
|
+
var out = ' ';
|
|
9
|
+
var $schema = it.schema[$keyword];
|
|
10
|
+
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
11
|
+
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
12
|
+
var $breakOnError = !it.opts.allErrors;
|
|
13
|
+
var $it = it.util.copy(it);
|
|
14
|
+
var $closingBraces = '';
|
|
15
|
+
$it.level++;
|
|
16
|
+
var $nextValid = 'valid' + $it.level;
|
|
17
|
+
var $currentBaseId = $it.baseId,
|
|
18
|
+
$allSchemasEmpty = true;
|
|
19
|
+
var arr1 = $schema;
|
|
20
|
+
if (arr1) {
|
|
21
|
+
var $sch, $i = -1,
|
|
22
|
+
l1 = arr1.length - 1;
|
|
23
|
+
while ($i < l1) {
|
|
24
|
+
$sch = arr1[$i += 1];
|
|
25
|
+
if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {
|
|
26
|
+
$allSchemasEmpty = false;
|
|
27
|
+
$it.schema = $sch;
|
|
28
|
+
$it.schemaPath = $schemaPath + '[' + $i + ']';
|
|
29
|
+
$it.errSchemaPath = $errSchemaPath + '/' + $i;
|
|
30
|
+
out += ' ' + (it.validate($it)) + ' ';
|
|
31
|
+
$it.baseId = $currentBaseId;
|
|
32
|
+
if ($breakOnError) {
|
|
33
|
+
out += ' if (' + ($nextValid) + ') { ';
|
|
34
|
+
$closingBraces += '}';
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
if ($breakOnError) {
|
|
40
|
+
if ($allSchemasEmpty) {
|
|
41
|
+
out += ' if (true) { ';
|
|
42
|
+
} else {
|
|
43
|
+
out += ' ' + ($closingBraces.slice(0, -1)) + ' ';
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return out;
|
|
47
|
+
};
|
|
48
|
+
return allOf;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { requireAllOf as __require };
|
|
52
|
+
//# sourceMappingURL=allOf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allOf.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/allOf.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_allOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $currentBaseId = $it.baseId,\n $allSchemasEmpty = true;\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n $allSchemasEmpty = false;\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n if ($breakOnError) {\n if ($allSchemasEmpty) {\n out += ' if (true) { ';\n } else {\n out += ' ' + ($closingBraces.slice(0, -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C,GAAG,CAAC,GAAG;SACvJ,gBAAgB,GAAG,KAAK;AAChC,SAAQ,GAAG,CAAC,MAAM,GAAG,IAAI;SACjB,GAAG,CAAC,UAAU,GAAG,WAAW,GAAG,GAAG,GAAG,EAAE,GAAG,GAAG;SAC7C,GAAG,CAAC,aAAa,GAAG,cAAc,GAAG,GAAG,GAAG,EAAE;AACrD,SAAQ,GAAG,IAAI,IAAI,IAAI,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG;AAC9C,SAAQ,GAAG,CAAC,MAAM,GAAG,cAAc;SAC3B,IAAI,aAAa,EAAE;AAC3B,WAAU,GAAG,IAAI,OAAO,IAAI,UAAU,CAAC,GAAG,MAAM;WACtC,cAAc,IAAI,GAAG;AAC/B,SAAA;AACA,OAAA;AACA,KAAA;AACA,GAAA;GACE,IAAI,aAAa,EAAE;KACjB,IAAI,gBAAgB,EAAE;OACpB,GAAG,IAAI,eAAe;AAC5B,KAAA,CAAK,MAAM;AACX,OAAM,GAAG,IAAI,GAAG,IAAI,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,GAAG;AACtD,KAAA;AACA,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
var anyOf;
|
|
2
|
+
var hasRequiredAnyOf;
|
|
3
|
+
|
|
4
|
+
function requireAnyOf () {
|
|
5
|
+
if (hasRequiredAnyOf) return anyOf;
|
|
6
|
+
hasRequiredAnyOf = 1;
|
|
7
|
+
anyOf = function generate_anyOf(it, $keyword, $ruleType) {
|
|
8
|
+
var out = ' ';
|
|
9
|
+
var $lvl = it.level;
|
|
10
|
+
var $dataLvl = it.dataLevel;
|
|
11
|
+
var $schema = it.schema[$keyword];
|
|
12
|
+
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
+
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
+
var $breakOnError = !it.opts.allErrors;
|
|
15
|
+
var $data = 'data' + ($dataLvl || '');
|
|
16
|
+
var $valid = 'valid' + $lvl;
|
|
17
|
+
var $errs = 'errs__' + $lvl;
|
|
18
|
+
var $it = it.util.copy(it);
|
|
19
|
+
var $closingBraces = '';
|
|
20
|
+
$it.level++;
|
|
21
|
+
var $nextValid = 'valid' + $it.level;
|
|
22
|
+
var $noEmptySchema = $schema.every(function($sch) {
|
|
23
|
+
return (it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all));
|
|
24
|
+
});
|
|
25
|
+
if ($noEmptySchema) {
|
|
26
|
+
var $currentBaseId = $it.baseId;
|
|
27
|
+
out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = false; ';
|
|
28
|
+
var $wasComposite = it.compositeRule;
|
|
29
|
+
it.compositeRule = $it.compositeRule = true;
|
|
30
|
+
var arr1 = $schema;
|
|
31
|
+
if (arr1) {
|
|
32
|
+
var $sch, $i = -1,
|
|
33
|
+
l1 = arr1.length - 1;
|
|
34
|
+
while ($i < l1) {
|
|
35
|
+
$sch = arr1[$i += 1];
|
|
36
|
+
$it.schema = $sch;
|
|
37
|
+
$it.schemaPath = $schemaPath + '[' + $i + ']';
|
|
38
|
+
$it.errSchemaPath = $errSchemaPath + '/' + $i;
|
|
39
|
+
out += ' ' + (it.validate($it)) + ' ';
|
|
40
|
+
$it.baseId = $currentBaseId;
|
|
41
|
+
out += ' ' + ($valid) + ' = ' + ($valid) + ' || ' + ($nextValid) + '; if (!' + ($valid) + ') { ';
|
|
42
|
+
$closingBraces += '}';
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
it.compositeRule = $it.compositeRule = $wasComposite;
|
|
46
|
+
out += ' ' + ($closingBraces) + ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */
|
|
47
|
+
if (it.createErrors !== false) {
|
|
48
|
+
out += ' { keyword: \'' + ('anyOf') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';
|
|
49
|
+
if (it.opts.messages !== false) {
|
|
50
|
+
out += ' , message: \'should match some schema in anyOf\' ';
|
|
51
|
+
}
|
|
52
|
+
if (it.opts.verbose) {
|
|
53
|
+
out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
54
|
+
}
|
|
55
|
+
out += ' } ';
|
|
56
|
+
} else {
|
|
57
|
+
out += ' {} ';
|
|
58
|
+
}
|
|
59
|
+
out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
60
|
+
if (!it.compositeRule && $breakOnError) {
|
|
61
|
+
/* istanbul ignore if */
|
|
62
|
+
if (it.async) {
|
|
63
|
+
out += ' throw new ValidationError(vErrors); ';
|
|
64
|
+
} else {
|
|
65
|
+
out += ' validate.errors = vErrors; return false; ';
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';
|
|
69
|
+
if (it.opts.allErrors) {
|
|
70
|
+
out += ' } ';
|
|
71
|
+
}
|
|
72
|
+
} else {
|
|
73
|
+
if ($breakOnError) {
|
|
74
|
+
out += ' if (true) { ';
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return out;
|
|
78
|
+
};
|
|
79
|
+
return anyOf;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export { requireAnyOf as __require };
|
|
83
|
+
//# sourceMappingURL=anyOf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anyOf.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/anyOf.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_anyOf(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $noEmptySchema = $schema.every(function($sch) {\n return (it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all));\n });\n if ($noEmptySchema) {\n var $currentBaseId = $it.baseId;\n out += ' var ' + ($errs) + ' = errors; var ' + ($valid) + ' = false; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var arr1 = $schema;\n if (arr1) {\n var $sch, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $sch = arr1[$i += 1];\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + '[' + $i + ']';\n $it.errSchemaPath = $errSchemaPath + '/' + $i;\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' ' + ($valid) + ' = ' + ($valid) + ' || ' + ($nextValid) + '; if (!' + ($valid) + ') { ';\n $closingBraces += '}';\n }\n }\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($closingBraces) + ' if (!' + ($valid) + ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('anyOf') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should match some schema in anyOf\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n out += ' } else { errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n if (it.opts.allErrors) {\n out += ' } ';\n }\n } else {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,KAAc,GAAG,SAAS,cAAc,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GAChE,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS;GACtC,IAAI,KAAK,GAAG,MAAM,IAAI,QAAQ,IAAI,EAAE,CAAC;AACvC,GAAE,IAAI,MAAM,GAAG,OAAO,GAAG,IAAI;AAC7B,GAAE,IAAI,KAAK,GAAG,QAAQ,GAAG,IAAI;GAC3B,IAAI,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;GAC1B,IAAI,cAAc,GAAG,EAAE;GACvB,GAAG,CAAC,KAAK,EAAE;AACb,GAA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KAAA;AACA,KAAI,GAAG,IAAI,sBAAsB,IAAI,KAAK,CAAC,GAAG,gCAAgC,IAAI,KAAK,CAAC,GAAG,qBAAqB,IAAI,KAAK,CAAC,GAAG,2BAA2B;AACxJ,KAAI,IAAI,EAAE,CAAC,IAAI,CAAC,SAAS,EAAE;OACrB,GAAG,IAAI,KAAK;AAClB,KAAA;AACA,GAAA,CAAG,MAAM;KACL,IAAI,aAAa,EAAE;OACjB,GAAG,IAAI,eAAe;AAC5B,KAAA;AACA,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var comment;
|
|
2
|
+
var hasRequiredComment;
|
|
3
|
+
|
|
4
|
+
function requireComment () {
|
|
5
|
+
if (hasRequiredComment) return comment;
|
|
6
|
+
hasRequiredComment = 1;
|
|
7
|
+
comment = function generate_comment(it, $keyword, $ruleType) {
|
|
8
|
+
var out = ' ';
|
|
9
|
+
var $schema = it.schema[$keyword];
|
|
10
|
+
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
11
|
+
!it.opts.allErrors;
|
|
12
|
+
var $comment = it.util.toQuotedString($schema);
|
|
13
|
+
if (it.opts.$comment === true) {
|
|
14
|
+
out += ' console.log(' + ($comment) + ');';
|
|
15
|
+
} else if (typeof it.opts.$comment == 'function') {
|
|
16
|
+
out += ' self._opts.$comment(' + ($comment) + ', ' + (it.util.toQuotedString($errSchemaPath)) + ', validate.root.schema);';
|
|
17
|
+
}
|
|
18
|
+
return out;
|
|
19
|
+
};
|
|
20
|
+
return comment;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { requireComment as __require };
|
|
24
|
+
//# sourceMappingURL=comment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/comment.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_comment(it, $keyword, $ruleType) {\n var out = ' ';\n var $schema = it.schema[$keyword];\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $comment = it.util.toQuotedString($schema);\n if (it.opts.$comment === true) {\n out += ' console.log(' + ($comment) + ');';\n } else if (typeof it.opts.$comment == 'function') {\n out += ' self._opts.$comment(' + ($comment) + ', ' + (it.util.toQuotedString($errSchemaPath)) + ', validate.root.schema);';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,OAAc,GAAG,SAAS,gBAAgB,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GAClE,IAAI,GAAG,GAAG,GAAG;GACb,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;GACjC,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GAClC,CAAC,EAAE,CAAC,IAAI,CAAC;GAC7B,IAAI,QAAQ,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;GAC9C,IAAI,EAAE,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE;AACjC,KAAI,GAAG,IAAI,eAAe,IAAI,QAAQ,CAAC,GAAG,IAAI;GAC9C,CAAG,MAAM,IAAI,OAAO,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,UAAU,EAAE;AACpD,KAAI,GAAG,IAAI,uBAAuB,IAAI,QAAQ,CAAC,GAAG,IAAI,IAAI,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,GAAG,0BAA0B;AAC9H,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
var _const;
|
|
2
|
+
var hasRequired_const;
|
|
3
|
+
|
|
4
|
+
function require_const () {
|
|
5
|
+
if (hasRequired_const) return _const;
|
|
6
|
+
hasRequired_const = 1;
|
|
7
|
+
_const = function generate_const(it, $keyword, $ruleType) {
|
|
8
|
+
var out = ' ';
|
|
9
|
+
var $lvl = it.level;
|
|
10
|
+
var $dataLvl = it.dataLevel;
|
|
11
|
+
var $schema = it.schema[$keyword];
|
|
12
|
+
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
+
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
+
var $breakOnError = !it.opts.allErrors;
|
|
15
|
+
var $data = 'data' + ($dataLvl || '');
|
|
16
|
+
var $valid = 'valid' + $lvl;
|
|
17
|
+
var $isData = it.opts.$data && $schema && $schema.$data;
|
|
18
|
+
if ($isData) {
|
|
19
|
+
out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';
|
|
20
|
+
}
|
|
21
|
+
if (!$isData) {
|
|
22
|
+
out += ' var schema' + ($lvl) + ' = validate.schema' + ($schemaPath) + ';';
|
|
23
|
+
}
|
|
24
|
+
out += 'var ' + ($valid) + ' = equal(' + ($data) + ', schema' + ($lvl) + '); if (!' + ($valid) + ') { ';
|
|
25
|
+
var $$outStack = $$outStack || [];
|
|
26
|
+
$$outStack.push(out);
|
|
27
|
+
out = ''; /* istanbul ignore else */
|
|
28
|
+
if (it.createErrors !== false) {
|
|
29
|
+
out += ' { keyword: \'' + ('const') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { allowedValue: schema' + ($lvl) + ' } ';
|
|
30
|
+
if (it.opts.messages !== false) {
|
|
31
|
+
out += ' , message: \'should be equal to constant\' ';
|
|
32
|
+
}
|
|
33
|
+
if (it.opts.verbose) {
|
|
34
|
+
out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
35
|
+
}
|
|
36
|
+
out += ' } ';
|
|
37
|
+
} else {
|
|
38
|
+
out += ' {} ';
|
|
39
|
+
}
|
|
40
|
+
var __err = out;
|
|
41
|
+
out = $$outStack.pop();
|
|
42
|
+
if (!it.compositeRule && $breakOnError) {
|
|
43
|
+
/* istanbul ignore if */
|
|
44
|
+
if (it.async) {
|
|
45
|
+
out += ' throw new ValidationError([' + (__err) + ']); ';
|
|
46
|
+
} else {
|
|
47
|
+
out += ' validate.errors = [' + (__err) + ']; return false; ';
|
|
48
|
+
}
|
|
49
|
+
} else {
|
|
50
|
+
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
51
|
+
}
|
|
52
|
+
out += ' }';
|
|
53
|
+
if ($breakOnError) {
|
|
54
|
+
out += ' else { ';
|
|
55
|
+
}
|
|
56
|
+
return out;
|
|
57
|
+
};
|
|
58
|
+
return _const;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { require_const as __require };
|
|
62
|
+
//# sourceMappingURL=const.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"const.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/const.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_const(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n if (!$isData) {\n out += ' var schema' + ($lvl) + ' = validate.schema' + ($schemaPath) + ';';\n }\n out += 'var ' + ($valid) + ' = equal(' + ($data) + ', schema' + ($lvl) + '); if (!' + ($valid) + ') { ';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('const') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { allowedValue: schema' + ($lvl) + ' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should be equal to constant\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' }';\n if ($breakOnError) {\n out += ' else { ';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,MAAc,GAAG,SAAS,cAAc,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GAChE,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS;GACtC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